diff --git a/assets/AMapCircle.stories-aa7f7b4b.js b/assets/AMapCircle.stories-aa7f7b4b.js new file mode 100644 index 0000000..993539c --- /dev/null +++ b/assets/AMapCircle.stories-aa7f7b4b.js @@ -0,0 +1,36 @@ +import{a as M}from"./chunk-WFFRPTHA-2a5dae90.js";import"./index-1b03fe98.js";import{A as q}from"./AMapMouseTool-39d8fedf.js";import{w as T}from"./withAutoFitView-42dc611d.js";import{w}from"./withAMap-afed12e1.js";import{w as H,a as S}from"./withAPIContainer-a3816f75.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";import"./jsx-runtime-86dfebf6.js";const e=M("onShow","onHide","onClick","onDBLClick","onRightClick","onMousedown","onMouseup","onMouseover","onMouseout","onTouchstart","onTouchmove","onTouchend"),s=["#ff0000","#00ff00","#0000ff"],R={title:"组件(Components)/覆盖物(Overlay)/AMapCircle",component:q,decorators:[T,w(),H,S],args:{center:[116.39,39.9],radius:1e4,visible:!0},argTypes:{center:{description:"圆心位置",type:{required:!0,name:"array",value:{name:"number"}},table:{type:{summary:"LngLatLike"}},control:"object"},radius:{description:"圆半径,单位:米",type:{required:!0,name:"number"},table:{type:{summary:"AMap.LngLatLike"}},control:{type:"number",min:0,step:1}},zIndex:{description:"多边形覆盖物的叠加顺序",type:{required:!1,name:"number"},table:{type:{summary:"number"},defaultValue:{summary:10}},control:{type:"number",step:1}},fillColor:{description:"多边形填充颜色",type:{required:!1,name:"string"},table:{type:{summary:"string"},defaultValue:{summary:"#00B2D5"}},control:{type:"color",presetColors:s}},fillOpacity:{description:"多边形填充透明度,取值范围 [0,1]",type:{required:!1,name:"number"},table:{type:{summary:"string"},defaultValue:{summary:.5}},control:{type:"range",min:0,max:1,step:.1}},strokeColor:{description:"轮廓线颜色,使用16进制颜色代码赋值。",type:{required:!1,name:"string"},table:{type:{summary:"string"},defaultValue:{summary:"#00D3FC"}},control:{type:"color",presetColors:s}},strokeStyle:{description:"轮廓线样式",type:{required:!1,name:"enum",value:["solid","dashed"]},table:{type:{summary:["solid","dashed"].join("|")},defaultValue:{summary:"solid"}},options:{"solid(实线)":"solid","dashed(虚线)":"dashed"},control:"select"},strokeOpacity:{description:"轮廓线透明度,取值范围 [0,1]",type:{required:!1,name:"number"},table:{type:{summary:"number"},defaultValue:{summary:.9}},control:{type:"range",min:0,max:1,step:.1}},strokeWeight:{description:"轮廓线宽度",type:{required:!1,name:"number"},table:{type:{summary:"number"},defaultValue:{summary:2}},control:{type:"number",min:0,step:1}},strokeDasharray:{description:"勾勒形状轮廓的虚线和间隙的样式,此属性在strokeStyle 为dashed 时有效",type:{required:!1,name:"array",value:{name:"number"}},table:{type:{summary:"number[]"}},control:"object"},cursor:{description:"指定鼠标悬停时的鼠标样式,自定义cursor,IE仅支持cur/ani/ico格式,Opera不支持自定义cursor",type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},extData:{description:"设置用户自定义属性",type:{required:!1,name:"object",value:{}},table:{type:{summary:"object"}},control:"object"},draggable:{description:"是否可拖动",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!1}},control:"boolean"},visible:{description:"显示或隐藏",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},bubble:{description:"是否将覆盖物的鼠标或touch等事件冒泡到地图上",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!1}},control:"boolean"},onShow:{description:"显示,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onHide:{description:"隐藏,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onClick:{description:"左键单击,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onDBLClick:{description:"左键双击,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onRightClick:{description:"右键单击,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMousedown:{description:"鼠标按下,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMouseup:{description:"鼠标抬起,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMouseover:{description:"鼠标经过,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMouseout:{description:"鼠标移出,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onTouchstart:{description:"触摸开始,回调函数,仅移动设备有效",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onTouchmove:{description:"触摸移动,回调函数,仅移动设备有效",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onTouchend:{description:"触摸结束,回调函数,仅移动设备有效",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1}}},o={name:"基本使用"},r={name:"自定义样式",args:{fillColor:"yellow",fillOpacity:.5,strokeColor:"red",strokeStyle:"dashed",strokeOpacity:.1,strokeWeight:20,strokeDasharray:[10,40]}},n={name:"点击事件(左单/左双/右单)",args:{onClick:e.onClick,onDBLClick:e.onDBLClick,onRightClick:e.onRightClick}},t={name:"鼠标事件(按下/抬起/经过/移出)",args:{onMousedown:e.onMousedown,onMouseup:e.onMouseup,onMouseover:e.onMouseover,onMouseout:e.onMouseout}},a={name:"触摸事件(触摸开始/触摸移动/触摸结束)",args:{onTouchstart:e.onTouchstart,onTouchmove:e.onTouchmove,onTouchend:e.onTouchend}};var l,i,u;o.parameters={...o.parameters,docs:{...(l=o.parameters)==null?void 0:l.docs,source:{originalSource:`{ + name: '基本使用' +}`,...(u=(i=o.parameters)==null?void 0:i.docs)==null?void 0:u.source}}};var c,m,p;r.parameters={...r.parameters,docs:{...(c=r.parameters)==null?void 0:c.docs,source:{originalSource:`{ + name: '自定义样式', + args: { + fillColor: 'yellow', + fillOpacity: 0.5, + strokeColor: 'red', + strokeStyle: 'dashed', + strokeOpacity: 0.1, + strokeWeight: 20, + strokeDasharray: [10, 40] + } +}`,...(p=(m=r.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};var d,y,f;n.parameters={...n.parameters,docs:{...(d=n.parameters)==null?void 0:d.docs,source:{originalSource:`{ + name: '点击事件(左单/左双/右单)', + args: { + onClick: eventHandler.onClick, + onDBLClick: eventHandler.onDBLClick, + onRightClick: eventHandler.onRightClick + } +}`,...(f=(y=n.parameters)==null?void 0:y.docs)==null?void 0:f.source}}};var b,v,g;t.parameters={...t.parameters,docs:{...(b=t.parameters)==null?void 0:b.docs,source:{originalSource:`{ + name: '鼠标事件(按下/抬起/经过/移出)', + args: { + onMousedown: eventHandler.onMousedown, + onMouseup: eventHandler.onMouseup, + onMouseover: eventHandler.onMouseover, + onMouseout: eventHandler.onMouseout + } +}`,...(g=(v=t.parameters)==null?void 0:v.docs)==null?void 0:g.source}}};var h,k,C;a.parameters={...a.parameters,docs:{...(h=a.parameters)==null?void 0:h.docs,source:{originalSource:`{ + name: '触摸事件(触摸开始/触摸移动/触摸结束)', + args: { + onTouchstart: eventHandler.onTouchstart, + onTouchmove: eventHandler.onTouchmove, + onTouchend: eventHandler.onTouchend + } +}`,...(C=(k=a.parameters)==null?void 0:k.docs)==null?void 0:C.source}}};const I=["CommonUse","CustomStyle","ClickEvent","MouseEvent","TouchEvent"];export{n as ClickEvent,o as CommonUse,r as CustomStyle,t as MouseEvent,a as TouchEvent,I as __namedExportsOrder,R as default}; diff --git a/assets/AMapCircle.stories-c4a14b93.js b/assets/AMapCircle.stories-c4a14b93.js deleted file mode 100644 index e65b9ec..0000000 --- a/assets/AMapCircle.stories-c4a14b93.js +++ /dev/null @@ -1,37 +0,0 @@ -import{a as M}from"./chunk-GOSXJPAJ-7233c8d1.js";import"./chunk-AY7I2SME-ea41228b.js";import"./index-4139ccbc.js";import{h as q}from"./AMapMouseTool-6b7a21d0.js";import{w as T}from"./withAutoFitView-0024a494.js";import{w}from"./withAMap-b6bd1959.js";import{w as H,a as S}from"./withAPIContainer-538f5645.js";import"./jsx-runtime-91db03d0.js";const e=M("onShow","onHide","onClick","onDBLClick","onRightClick","onMousedown","onMouseup","onMouseover","onMouseout","onTouchstart","onTouchmove","onTouchend"),s=["#ff0000","#00ff00","#0000ff"],j={title:"组件(Components)/覆盖物(Overlay)/AMapCircle",component:q,decorators:[T,w(),H,S],args:{center:[116.39,39.9],radius:1e4,visible:!0},argTypes:{center:{description:"圆心位置",type:{required:!0,name:"array",value:{name:"number"}},table:{type:{summary:"LngLatLike"}},control:"object"},radius:{description:"圆半径,单位:米",type:{required:!0,name:"number"},table:{type:{summary:"AMap.LngLatLike"}},control:{type:"number",min:0,step:1}},zIndex:{description:"多边形覆盖物的叠加顺序",type:{required:!1,name:"number"},table:{type:{summary:"number"},defaultValue:{summary:10}},control:{type:"number",step:1}},fillColor:{description:"多边形填充颜色",type:{required:!1,name:"string"},table:{type:{summary:"string"},defaultValue:{summary:"#00B2D5"}},control:{type:"color",presetColors:s}},fillOpacity:{description:"多边形填充透明度,取值范围 [0,1]",type:{required:!1,name:"number"},table:{type:{summary:"string"},defaultValue:{summary:.5}},control:{type:"range",min:0,max:1,step:.1}},strokeColor:{description:"轮廓线颜色,使用16进制颜色代码赋值。",type:{required:!1,name:"string"},table:{type:{summary:"string"},defaultValue:{summary:"#00D3FC"}},control:{type:"color",presetColors:s}},strokeStyle:{description:"轮廓线样式",type:{required:!1,name:"enum",value:["solid","dashed"]},table:{type:{summary:["solid","dashed"].join("|")},defaultValue:{summary:"solid"}},options:{"solid(实线)":"solid","dashed(虚线)":"dashed"},control:"select"},strokeOpacity:{description:"轮廓线透明度,取值范围 [0,1]",type:{required:!1,name:"number"},table:{type:{summary:"number"},defaultValue:{summary:.9}},control:{type:"range",min:0,max:1,step:.1}},strokeWeight:{description:"轮廓线宽度",type:{required:!1,name:"number"},table:{type:{summary:"number"},defaultValue:{summary:2}},control:{type:"number",min:0,step:1}},strokeDasharray:{description:"勾勒形状轮廓的虚线和间隙的样式,此属性在strokeStyle 为dashed 时有效",type:{required:!1,name:"array",value:{name:"number"}},table:{type:{summary:"number[]"}},control:"object"},cursor:{description:"指定鼠标悬停时的鼠标样式,自定义cursor,IE仅支持cur/ani/ico格式,Opera不支持自定义cursor",type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},extData:{description:"设置用户自定义属性",type:{required:!1,name:"object",value:{}},table:{type:{summary:"object"}},control:"object"},draggable:{description:"是否可拖动",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!1}},control:"boolean"},visible:{description:"显示或隐藏",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},bubble:{description:"是否将覆盖物的鼠标或touch等事件冒泡到地图上",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!1}},control:"boolean"},onShow:{description:"显示,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onHide:{description:"隐藏,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onClick:{description:"左键单击,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onDBLClick:{description:"左键双击,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onRightClick:{description:"右键单击,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMousedown:{description:"鼠标按下,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMouseup:{description:"鼠标抬起,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMouseover:{description:"鼠标经过,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMouseout:{description:"鼠标移出,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onTouchstart:{description:"触摸开始,回调函数,仅移动设备有效",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onTouchmove:{description:"触摸移动,回调函数,仅移动设备有效",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onTouchend:{description:"触摸结束,回调函数,仅移动设备有效",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1}}},o={name:"基本使用"},r={name:"自定义样式",args:{fillColor:"yellow",fillOpacity:.5,strokeColor:"red",strokeStyle:"dashed",strokeOpacity:.1,strokeWeight:20,strokeDasharray:[10,40]}},n={name:"点击事件(左单/左双/右单)",args:{onClick:e.onClick,onDBLClick:e.onDBLClick,onRightClick:e.onRightClick}},t={name:"鼠标事件(按下/抬起/经过/移出)",args:{onMousedown:e.onMousedown,onMouseup:e.onMouseup,onMouseover:e.onMouseover,onMouseout:e.onMouseout}},a={name:"触摸事件(触摸开始/触摸移动/触摸结束)",args:{onTouchstart:e.onTouchstart,onTouchmove:e.onTouchmove,onTouchend:e.onTouchend}};var l,i,u;o.parameters={...o.parameters,docs:{...(l=o.parameters)==null?void 0:l.docs,source:{originalSource:`{ - name: '基本使用' -}`,...(u=(i=o.parameters)==null?void 0:i.docs)==null?void 0:u.source}}};var c,m,p;r.parameters={...r.parameters,docs:{...(c=r.parameters)==null?void 0:c.docs,source:{originalSource:`{ - name: '自定义样式', - args: { - fillColor: 'yellow', - fillOpacity: 0.5, - strokeColor: 'red', - strokeStyle: 'dashed', - strokeOpacity: 0.1, - strokeWeight: 20, - strokeDasharray: [10, 40] - } -}`,...(p=(m=r.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};var d,y,f;n.parameters={...n.parameters,docs:{...(d=n.parameters)==null?void 0:d.docs,source:{originalSource:`{ - name: '点击事件(左单/左双/右单)', - args: { - onClick: eventHandler.onClick, - onDBLClick: eventHandler.onDBLClick, - onRightClick: eventHandler.onRightClick - } -}`,...(f=(y=n.parameters)==null?void 0:y.docs)==null?void 0:f.source}}};var b,v,g;t.parameters={...t.parameters,docs:{...(b=t.parameters)==null?void 0:b.docs,source:{originalSource:`{ - name: '鼠标事件(按下/抬起/经过/移出)', - args: { - onMousedown: eventHandler.onMousedown, - onMouseup: eventHandler.onMouseup, - onMouseover: eventHandler.onMouseover, - onMouseout: eventHandler.onMouseout - } -}`,...(g=(v=t.parameters)==null?void 0:v.docs)==null?void 0:g.source}}};var h,k,C;a.parameters={...a.parameters,docs:{...(h=a.parameters)==null?void 0:h.docs,source:{originalSource:`{ - name: '触摸事件(触摸开始/触摸移动/触摸结束)', - args: { - onTouchstart: eventHandler.onTouchstart, - onTouchmove: eventHandler.onTouchmove, - onTouchend: eventHandler.onTouchend - } -}`,...(C=(k=a.parameters)==null?void 0:k.docs)==null?void 0:C.source}}};const R=["CommonUse","CustomStyle","ClickEvent","MouseEvent","TouchEvent"];export{n as ClickEvent,o as CommonUse,r as CustomStyle,t as MouseEvent,a as TouchEvent,R as __namedExportsOrder,j as default}; -//# sourceMappingURL=AMapCircle.stories-c4a14b93.js.map diff --git a/assets/AMapCircle.stories-c4a14b93.js.map b/assets/AMapCircle.stories-c4a14b93.js.map deleted file mode 100644 index 3ba786c..0000000 --- a/assets/AMapCircle.stories-c4a14b93.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AMapCircle.stories-c4a14b93.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/assets/AMapControlBar.stories-97c15976.js b/assets/AMapControlBar.stories-97c15976.js deleted file mode 100644 index 566b894..0000000 --- a/assets/AMapControlBar.stories-97c15976.js +++ /dev/null @@ -1,17 +0,0 @@ -import{a as d}from"./chunk-GOSXJPAJ-7233c8d1.js";import"./chunk-AY7I2SME-ea41228b.js";import"./index-4139ccbc.js";import{o as f}from"./AMapMouseTool-6b7a21d0.js";import{w as y}from"./withAMap-b6bd1959.js";import{w as g,a as b}from"./withAPIContainer-538f5645.js";import"./jsx-runtime-91db03d0.js";const a=d("onShow","onHide"),L={title:"组件(Components)/地图控件(Control)/AMapControlBar",component:f,decorators:[y(),g,b],args:{position:"LT",offset:[10,10],showControlButton:!0,visible:!0,onShow:a.onShow,onHide:a.onHide},argTypes:{position:{description:"控件停靠位置",type:{required:!0,name:"union",value:[{name:"enum",value:["LT","RT","LB","RB"]},{name:"object",value:{top:{required:!1,name:"string"},left:{required:!1,name:"string"},right:{required:!1,name:"string"},bottom:{required:!1,name:"string"}}}]},table:{type:{summary:[["LT","RT","LB","RB"].join("|"),"object"].join("|")},defaultValue:{summary:"LB"}},options:{"LT(左上)":"LT","RT(右上)":"RT","LB(左下)":"LB","RB(右下)":"RB"},control:"select"},offset:{description:"相对于地图容器偏移量,正数代表地图中心,复数向地图外侧(实际现象与高德地图官方文档不一致)。",type:{required:!1,name:"array",value:{name:"number"}},table:{type:{summary:"array"}},control:"object"},showControlButton:{description:"是否显示倾斜、旋转按钮。",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},visible:{description:"显示或隐藏",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},onShow:{description:"显示时触发此事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onHide:{description:"隐藏时触发此事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1}}},e={name:"设置偏移量",args:{offset:[200,200]}},o={name:"指定位置",args:{position:"RT"}},r={name:"显示/隐藏控制按钮",args:{showControlButton:!1}};var t,n,s;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{ - name: '设置偏移量', - args: { - offset: [200, 200] - } -}`,...(s=(n=e.parameters)==null?void 0:n.docs)==null?void 0:s.source}}};var i,m,l;o.parameters={...o.parameters,docs:{...(i=o.parameters)==null?void 0:i.docs,source:{originalSource:`{ - name: '指定位置', - args: { - position: 'RT' - } -}`,...(l=(m=o.parameters)==null?void 0:m.docs)==null?void 0:l.source}}};var u,p,c;r.parameters={...r.parameters,docs:{...(u=r.parameters)==null?void 0:u.docs,source:{originalSource:`{ - name: '显示/隐藏控制按钮', - args: { - showControlButton: false - } -}`,...(c=(p=r.parameters)==null?void 0:p.docs)==null?void 0:c.source}}};const R=["ChangeOffset","ChangePosition","HideControlButton"];export{e as ChangeOffset,o as ChangePosition,r as HideControlButton,R as __namedExportsOrder,L as default}; -//# sourceMappingURL=AMapControlBar.stories-97c15976.js.map diff --git a/assets/AMapControlBar.stories-97c15976.js.map b/assets/AMapControlBar.stories-97c15976.js.map deleted file mode 100644 index a12572b..0000000 --- a/assets/AMapControlBar.stories-97c15976.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AMapControlBar.stories-97c15976.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/assets/AMapControlBar.stories-e27bd7f8.js b/assets/AMapControlBar.stories-e27bd7f8.js new file mode 100644 index 0000000..eb21403 --- /dev/null +++ b/assets/AMapControlBar.stories-e27bd7f8.js @@ -0,0 +1,16 @@ +import{a as d}from"./chunk-WFFRPTHA-2a5dae90.js";import"./index-1b03fe98.js";import{a as f}from"./AMapMouseTool-39d8fedf.js";import{w as y}from"./withAMap-afed12e1.js";import{w as g,a as b}from"./withAPIContainer-a3816f75.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";import"./jsx-runtime-86dfebf6.js";const a=d("onShow","onHide"),R={title:"组件(Components)/地图控件(Control)/AMapControlBar",component:f,decorators:[y(),g,b],args:{position:"LT",offset:[10,10],showControlButton:!0,visible:!0,onShow:a.onShow,onHide:a.onHide},argTypes:{position:{description:"控件停靠位置",type:{required:!0,name:"union",value:[{name:"enum",value:["LT","RT","LB","RB"]},{name:"object",value:{top:{required:!1,name:"string"},left:{required:!1,name:"string"},right:{required:!1,name:"string"},bottom:{required:!1,name:"string"}}}]},table:{type:{summary:[["LT","RT","LB","RB"].join("|"),"object"].join("|")},defaultValue:{summary:"LB"}},options:{"LT(左上)":"LT","RT(右上)":"RT","LB(左下)":"LB","RB(右下)":"RB"},control:"select"},offset:{description:"相对于地图容器偏移量,正数代表地图中心,复数向地图外侧(实际现象与高德地图官方文档不一致)。",type:{required:!1,name:"array",value:{name:"number"}},table:{type:{summary:"array"}},control:"object"},showControlButton:{description:"是否显示倾斜、旋转按钮。",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},visible:{description:"显示或隐藏",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},onShow:{description:"显示时触发此事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onHide:{description:"隐藏时触发此事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1}}},e={name:"设置偏移量",args:{offset:[200,200]}},o={name:"指定位置",args:{position:"RT"}},r={name:"显示/隐藏控制按钮",args:{showControlButton:!1}};var t,n,s;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{ + name: '设置偏移量', + args: { + offset: [200, 200] + } +}`,...(s=(n=e.parameters)==null?void 0:n.docs)==null?void 0:s.source}}};var i,m,l;o.parameters={...o.parameters,docs:{...(i=o.parameters)==null?void 0:i.docs,source:{originalSource:`{ + name: '指定位置', + args: { + position: 'RT' + } +}`,...(l=(m=o.parameters)==null?void 0:m.docs)==null?void 0:l.source}}};var u,p,c;r.parameters={...r.parameters,docs:{...(u=r.parameters)==null?void 0:u.docs,source:{originalSource:`{ + name: '显示/隐藏控制按钮', + args: { + showControlButton: false + } +}`,...(c=(p=r.parameters)==null?void 0:p.docs)==null?void 0:c.source}}};const H=["ChangeOffset","ChangePosition","HideControlButton"];export{e as ChangeOffset,o as ChangePosition,r as HideControlButton,H as __namedExportsOrder,R as default}; diff --git a/assets/AMapEllipse.stories-6ac80048.js b/assets/AMapEllipse.stories-6ac80048.js new file mode 100644 index 0000000..c3f3c72 --- /dev/null +++ b/assets/AMapEllipse.stories-6ac80048.js @@ -0,0 +1,36 @@ +import{a as M}from"./chunk-WFFRPTHA-2a5dae90.js";import"./index-1b03fe98.js";import{b as q}from"./AMapMouseTool-39d8fedf.js";import{w}from"./withAutoFitView-42dc611d.js";import{w as T}from"./withAMap-afed12e1.js";import{w as H,a as S}from"./withAPIContainer-a3816f75.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";import"./jsx-runtime-86dfebf6.js";const e=M("onShow","onHide","onClick","onDBLClick","onRightClick","onMousedown","onMouseup","onMouseover","onMouseout","onTouchstart","onTouchmove","onTouchend"),s=["#ff0000","#00ff00","#0000ff"],R={title:"组件(Components)/覆盖物(Overlay)/AMapEllipse",component:q,decorators:[w,T(),H,S],args:{center:[116.39,39.9],radius:[1e4,5e3],visible:!0,onShow:e.onShow,onHide:e.onHide},argTypes:{center:{description:"圆心位置",type:{required:!0,name:"array",value:{name:"number"}},table:{type:{summary:"LngLatLike"}},control:"object"},radius:{description:"圆半径,单位:米",type:{required:!0,name:"array",value:{name:"number"}},table:{type:{summary:"number[]"}},control:"object"},zIndex:{description:"多边形覆盖物的叠加顺序",type:{required:!1,name:"number"},table:{type:{summary:"number"},defaultValue:{summary:10}},control:{type:"number",step:1}},fillColor:{description:"多边形填充颜色",type:{required:!1,name:"string"},table:{type:{summary:"string"},defaultValue:{summary:"#00B2D5"}},control:{type:"color",presetColors:s}},fillOpacity:{description:"多边形填充透明度,取值范围 [0,1]",type:{required:!1,name:"number"},table:{type:{summary:"string"},defaultValue:{summary:.5}},control:{type:"range",min:0,max:1,step:.1}},strokeColor:{description:"轮廓线颜色,使用16进制颜色代码赋值。",type:{required:!1,name:"string"},table:{type:{summary:"string"},defaultValue:{summary:"#00D3FC"}},control:{type:"color",presetColors:s}},strokeStyle:{description:"轮廓线样式",type:{required:!1,name:"enum",value:["solid","dashed"]},table:{type:{summary:["solid","dashed"].join("|")},defaultValue:{summary:"solid"}},options:{"solid(实线)":"solid","dashed(虚线)":"dashed"},control:"select"},strokeOpacity:{description:"轮廓线透明度,取值范围 [0,1]",type:{required:!1,name:"number"},table:{type:{summary:"number"},defaultValue:{summary:.9}},control:{type:"range",min:0,max:1,step:.1}},strokeWeight:{description:"轮廓线宽度",type:{required:!1,name:"number"},table:{type:{summary:"number"},defaultValue:{summary:2}},control:{type:"number",min:0,step:1}},strokeDasharray:{description:"勾勒形状轮廓的虚线和间隙的样式,此属性在strokeStyle 为dashed 时有效",type:{required:!1,name:"array",value:{name:"number"}},table:{type:{summary:"number[]"}},control:"object"},cursor:{description:"指定鼠标悬停时的鼠标样式",type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},extData:{description:"设置用户自定义属性",type:{required:!1,name:"object",value:{}},table:{type:{summary:"object"}},control:"object"},draggable:{description:"是否可拖动",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!1}},control:"boolean"},visible:{description:"显示或隐藏",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},bubble:{description:"是否将覆盖物的鼠标或touch等事件冒泡到地图上",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!1}},control:"boolean"},onShow:{description:"显示,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onHide:{description:"隐藏,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onClick:{description:"左键单击,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onDBLClick:{description:"左键双击,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onRightClick:{description:"右键单击,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMousedown:{description:"鼠标按下,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMouseup:{description:"鼠标抬起,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMouseover:{description:"鼠标经过,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMouseout:{description:"鼠标移出,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onTouchmove:{description:"触摸移动,回调函数,仅移动设备有效",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onTouchend:{description:"触摸结束,回调函数,仅移动设备有效",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1}}},o={name:"基本使用"},n={name:"自定义样式",args:{fillColor:"yellow",fillOpacity:.5,strokeColor:"red",strokeStyle:"dashed",strokeOpacity:.1,strokeWeight:20,strokeDasharray:[10,40]}},r={name:"点击事件(左单/左双/右单)",args:{onClick:e.onClick,onDBLClick:e.onDBLClick,onRightClick:e.onRightClick}},t={name:"鼠标事件(按下/抬起/经过/移出)",args:{onMousedown:e.onMousedown,onMouseup:e.onMouseup,onMouseover:e.onMouseover,onMouseout:e.onMouseout}},a={name:"触摸事件(触摸开始/触摸移动/触摸结束)",args:{onTouchstart:e.onTouchstart,onTouchmove:e.onTouchmove,onTouchend:e.onTouchend}};var l,i,u;o.parameters={...o.parameters,docs:{...(l=o.parameters)==null?void 0:l.docs,source:{originalSource:`{ + name: '基本使用' +}`,...(u=(i=o.parameters)==null?void 0:i.docs)==null?void 0:u.source}}};var m,c,d;n.parameters={...n.parameters,docs:{...(m=n.parameters)==null?void 0:m.docs,source:{originalSource:`{ + name: '自定义样式', + args: { + fillColor: 'yellow', + fillOpacity: 0.5, + strokeColor: 'red', + strokeStyle: 'dashed', + strokeOpacity: 0.1, + strokeWeight: 20, + strokeDasharray: [10, 40] + } +}`,...(d=(c=n.parameters)==null?void 0:c.docs)==null?void 0:d.source}}};var p,y,f;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`{ + name: '点击事件(左单/左双/右单)', + args: { + onClick: eventHandler.onClick, + onDBLClick: eventHandler.onDBLClick, + onRightClick: eventHandler.onRightClick + } +}`,...(f=(y=r.parameters)==null?void 0:y.docs)==null?void 0:f.source}}};var b,v,g;t.parameters={...t.parameters,docs:{...(b=t.parameters)==null?void 0:b.docs,source:{originalSource:`{ + name: '鼠标事件(按下/抬起/经过/移出)', + args: { + onMousedown: eventHandler.onMousedown, + onMouseup: eventHandler.onMouseup, + onMouseover: eventHandler.onMouseover, + onMouseout: eventHandler.onMouseout + } +}`,...(g=(v=t.parameters)==null?void 0:v.docs)==null?void 0:g.source}}};var h,k,C;a.parameters={...a.parameters,docs:{...(h=a.parameters)==null?void 0:h.docs,source:{originalSource:`{ + name: '触摸事件(触摸开始/触摸移动/触摸结束)', + args: { + onTouchstart: eventHandler.onTouchstart, + onTouchmove: eventHandler.onTouchmove, + onTouchend: eventHandler.onTouchend + } +}`,...(C=(k=a.parameters)==null?void 0:k.docs)==null?void 0:C.source}}};const W=["CommonUse","CustomStyle","ClickEvent","MouseEvent","TouchEvent"];export{r as ClickEvent,o as CommonUse,n as CustomStyle,t as MouseEvent,a as TouchEvent,W as __namedExportsOrder,R as default}; diff --git a/assets/AMapEllipse.stories-91b7d185.js b/assets/AMapEllipse.stories-91b7d185.js deleted file mode 100644 index 6e2a30d..0000000 --- a/assets/AMapEllipse.stories-91b7d185.js +++ /dev/null @@ -1,37 +0,0 @@ -import{a as M}from"./chunk-GOSXJPAJ-7233c8d1.js";import"./chunk-AY7I2SME-ea41228b.js";import"./index-4139ccbc.js";import{i as q}from"./AMapMouseTool-6b7a21d0.js";import{w}from"./withAutoFitView-0024a494.js";import{w as T}from"./withAMap-b6bd1959.js";import{w as H,a as S}from"./withAPIContainer-538f5645.js";import"./jsx-runtime-91db03d0.js";const e=M("onShow","onHide","onClick","onDBLClick","onRightClick","onMousedown","onMouseup","onMouseover","onMouseout","onTouchstart","onTouchmove","onTouchend"),s=["#ff0000","#00ff00","#0000ff"],A={title:"组件(Components)/覆盖物(Overlay)/AMapEllipse",component:q,decorators:[w,T(),H,S],args:{center:[116.39,39.9],radius:[1e4,5e3],visible:!0,onShow:e.onShow,onHide:e.onHide},argTypes:{center:{description:"圆心位置",type:{required:!0,name:"array",value:{name:"number"}},table:{type:{summary:"LngLatLike"}},control:"object"},radius:{description:"圆半径,单位:米",type:{required:!0,name:"array",value:{name:"number"}},table:{type:{summary:"number[]"}},control:"object"},zIndex:{description:"多边形覆盖物的叠加顺序",type:{required:!1,name:"number"},table:{type:{summary:"number"},defaultValue:{summary:10}},control:{type:"number",step:1}},fillColor:{description:"多边形填充颜色",type:{required:!1,name:"string"},table:{type:{summary:"string"},defaultValue:{summary:"#00B2D5"}},control:{type:"color",presetColors:s}},fillOpacity:{description:"多边形填充透明度,取值范围 [0,1]",type:{required:!1,name:"number"},table:{type:{summary:"string"},defaultValue:{summary:.5}},control:{type:"range",min:0,max:1,step:.1}},strokeColor:{description:"轮廓线颜色,使用16进制颜色代码赋值。",type:{required:!1,name:"string"},table:{type:{summary:"string"},defaultValue:{summary:"#00D3FC"}},control:{type:"color",presetColors:s}},strokeStyle:{description:"轮廓线样式",type:{required:!1,name:"enum",value:["solid","dashed"]},table:{type:{summary:["solid","dashed"].join("|")},defaultValue:{summary:"solid"}},options:{"solid(实线)":"solid","dashed(虚线)":"dashed"},control:"select"},strokeOpacity:{description:"轮廓线透明度,取值范围 [0,1]",type:{required:!1,name:"number"},table:{type:{summary:"number"},defaultValue:{summary:.9}},control:{type:"range",min:0,max:1,step:.1}},strokeWeight:{description:"轮廓线宽度",type:{required:!1,name:"number"},table:{type:{summary:"number"},defaultValue:{summary:2}},control:{type:"number",min:0,step:1}},strokeDasharray:{description:"勾勒形状轮廓的虚线和间隙的样式,此属性在strokeStyle 为dashed 时有效",type:{required:!1,name:"array",value:{name:"number"}},table:{type:{summary:"number[]"}},control:"object"},cursor:{description:"指定鼠标悬停时的鼠标样式",type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},extData:{description:"设置用户自定义属性",type:{required:!1,name:"object",value:{}},table:{type:{summary:"object"}},control:"object"},draggable:{description:"是否可拖动",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!1}},control:"boolean"},visible:{description:"显示或隐藏",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},bubble:{description:"是否将覆盖物的鼠标或touch等事件冒泡到地图上",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!1}},control:"boolean"},onShow:{description:"显示,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onHide:{description:"隐藏,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onClick:{description:"左键单击,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onDBLClick:{description:"左键双击,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onRightClick:{description:"右键单击,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMousedown:{description:"鼠标按下,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMouseup:{description:"鼠标抬起,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMouseover:{description:"鼠标经过,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMouseout:{description:"鼠标移出,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onTouchmove:{description:"触摸移动,回调函数,仅移动设备有效",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onTouchend:{description:"触摸结束,回调函数,仅移动设备有效",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1}}},o={name:"基本使用"},n={name:"自定义样式",args:{fillColor:"yellow",fillOpacity:.5,strokeColor:"red",strokeStyle:"dashed",strokeOpacity:.1,strokeWeight:20,strokeDasharray:[10,40]}},r={name:"点击事件(左单/左双/右单)",args:{onClick:e.onClick,onDBLClick:e.onDBLClick,onRightClick:e.onRightClick}},t={name:"鼠标事件(按下/抬起/经过/移出)",args:{onMousedown:e.onMousedown,onMouseup:e.onMouseup,onMouseover:e.onMouseover,onMouseout:e.onMouseout}},a={name:"触摸事件(触摸开始/触摸移动/触摸结束)",args:{onTouchstart:e.onTouchstart,onTouchmove:e.onTouchmove,onTouchend:e.onTouchend}};var l,i,u;o.parameters={...o.parameters,docs:{...(l=o.parameters)==null?void 0:l.docs,source:{originalSource:`{ - name: '基本使用' -}`,...(u=(i=o.parameters)==null?void 0:i.docs)==null?void 0:u.source}}};var m,c,d;n.parameters={...n.parameters,docs:{...(m=n.parameters)==null?void 0:m.docs,source:{originalSource:`{ - name: '自定义样式', - args: { - fillColor: 'yellow', - fillOpacity: 0.5, - strokeColor: 'red', - strokeStyle: 'dashed', - strokeOpacity: 0.1, - strokeWeight: 20, - strokeDasharray: [10, 40] - } -}`,...(d=(c=n.parameters)==null?void 0:c.docs)==null?void 0:d.source}}};var p,y,f;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`{ - name: '点击事件(左单/左双/右单)', - args: { - onClick: eventHandler.onClick, - onDBLClick: eventHandler.onDBLClick, - onRightClick: eventHandler.onRightClick - } -}`,...(f=(y=r.parameters)==null?void 0:y.docs)==null?void 0:f.source}}};var b,v,g;t.parameters={...t.parameters,docs:{...(b=t.parameters)==null?void 0:b.docs,source:{originalSource:`{ - name: '鼠标事件(按下/抬起/经过/移出)', - args: { - onMousedown: eventHandler.onMousedown, - onMouseup: eventHandler.onMouseup, - onMouseover: eventHandler.onMouseover, - onMouseout: eventHandler.onMouseout - } -}`,...(g=(v=t.parameters)==null?void 0:v.docs)==null?void 0:g.source}}};var h,k,C;a.parameters={...a.parameters,docs:{...(h=a.parameters)==null?void 0:h.docs,source:{originalSource:`{ - name: '触摸事件(触摸开始/触摸移动/触摸结束)', - args: { - onTouchstart: eventHandler.onTouchstart, - onTouchmove: eventHandler.onTouchmove, - onTouchend: eventHandler.onTouchend - } -}`,...(C=(k=a.parameters)==null?void 0:k.docs)==null?void 0:C.source}}};const R=["CommonUse","CustomStyle","ClickEvent","MouseEvent","TouchEvent"];export{r as ClickEvent,o as CommonUse,n as CustomStyle,t as MouseEvent,a as TouchEvent,R as __namedExportsOrder,A as default}; -//# sourceMappingURL=AMapEllipse.stories-91b7d185.js.map diff --git a/assets/AMapEllipse.stories-91b7d185.js.map b/assets/AMapEllipse.stories-91b7d185.js.map deleted file mode 100644 index 357eed8..0000000 --- a/assets/AMapEllipse.stories-91b7d185.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AMapEllipse.stories-91b7d185.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/assets/AMapGeoJSON.stories-b65d109b.js.map b/assets/AMapGeoJSON.stories-b65d109b.js.map deleted file mode 100644 index 017cfe3..0000000 --- a/assets/AMapGeoJSON.stories-b65d109b.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AMapGeoJSON.stories-b65d109b.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/assets/AMapGeoJSON.stories-b65d109b.js b/assets/AMapGeoJSON.stories-fc0c0da1.js similarity index 89% rename from assets/AMapGeoJSON.stories-b65d109b.js rename to assets/AMapGeoJSON.stories-fc0c0da1.js index 5827ad1..6d2c99d 100644 --- a/assets/AMapGeoJSON.stories-b65d109b.js +++ b/assets/AMapGeoJSON.stories-fc0c0da1.js @@ -1,4 +1,4 @@ -import"./index-4139ccbc.js";import{d as A}from"./AMapMouseTool-6b7a21d0.js";import{c as P}from"./coordsOfGeoJSON2AMapPolygonPath-d0760c1b.js";import{w as S}from"./withAutoFitView-0024a494.js";import{w as f}from"./withAMap-b6bd1959.js";import{w as C,a as J}from"./withAPIContainer-538f5645.js";import"./jsx-runtime-91db03d0.js";const b={type:"Point",coordinates:[116.39,39.9]},k={type:"LineString",coordinates:[[116.388904,39.903423],[116.392122,39.901176]]},N={type:"Polygon",coordinates:[[[116.386069,39.898857],[116.386023,39.897477],[116.387719,39.897539],[116.386069,39.898857]]]},G={type:"Polygon",coordinates:[[[116.384595,39.901321],[116.383526,39.899865],[116.386284,39.900917],[116.384595,39.901321]],[[116.384594,39.901],[116.384,39.9003],[116.3861,39.900917],[116.384594,39.901]]]},h={type:"MultiPolygon",coordinates:[[[[116.388624,39.900055],[116.390452,39.898583],[116.391294,39.900003],[116.388624,39.900055]],[[116.389113,39.899924],[116.390251,39.898962],[116.391055,39.899899],[116.389113,39.899924]]],[[[116.387884,39.899645],[116.38796,39.898347],[116.390175,39.898394],[116.387884,39.899645]]]]},w={type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:{type:"GeometryCollection",geometries:[b,k,N,G,h]}}]},V={title:"组件(Components)/覆盖物(Overlay)/AMapGeoJSON",component:A,decorators:[S,f(),C,J],args:{geoJSON:w,visible:!0},argTypes:{geoJSON:{description:"要加载的标准 GeoJSON 对象",type:{required:!0,name:"object",value:{}},table:{type:{summary:"GeoJSON.FeatureCollection",detail:"AMap 暂时不支持 `Feature`,需要转换成 `FeatureCollection`"}}},visible:{description:"显示或隐藏",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},options:{description:"修改覆盖物属性(包括线样式、样色等等)",type:{required:!1,name:"object",value:{}},table:{type:{summary:"object",detail:"具体字段参考高德 JS API 文档"}},control:"object"},getMarker:{description:"指定点要素的绘制方式,缺省时为 Marker 的默认样式。",type:{required:!1,name:"function"},table:{type:{summary:"(geojson?: GeoJSON.GeoJSON, lnglat?: GeoJSON.Point, map?: AMap.Map | null, AMap?: AMap.AMap) => AMap.Overlay"}}},getPolyline:{description:"指定点要素的绘制方式,缺省时为 Polyline 的默认样式。",type:{required:!1,name:"function"},table:{type:{summary:"(geojson?: GeoJSON.GeoJSON, lnglat?: GeoJSON.Point, map?: AMap.Map | null, AMap?: AMap.AMap) => AMap.Overlay"}}},getPolygon:{description:"指定点要素的绘制方式,缺省时为 Polygon 的默认样式。",type:{required:!1,name:"function"},table:{type:{summary:"(geojson?: GeoJSON.GeoJSON, lnglat?: GeoJSON.Point, map?: AMap.Map | null, AMap?: AMap.AMap) => AMap.Overlay"}}}}},a={name:"基本使用"},v=(p,o,t,r)=>{const e={position:o,map:t,label:{offset:[],direction:"Top",content:"MyMarker"}};return new r.Marker(e)},j=(p,o,t,r)=>{const e={path:o,map:t};return new r.Polyline(e)},q=(p,o,t,r)=>{const e=new r.Polygon,O=P(o);return e.setPath(O),e.setOptions({strokeColor:"yellow"}),e.setMap(t),e},n={name:"自定义样式",args:{options:{strokeColor:"red",strokeWeight:4}}},s={name:"自定义覆盖物",args:{options:{strokeColor:"red",strokeWeight:4},getMarker:v,getPolyline:j,getPolygon:q}};var l,i,m;a.parameters={...a.parameters,docs:{...(l=a.parameters)==null?void 0:l.docs,source:{originalSource:`{ +import"./index-1b03fe98.js";import{d as A}from"./AMapMouseTool-39d8fedf.js";import{c as P}from"./coordsOfGeoJSON2AMapPolygonPath-d0760c1b.js";import{w as S}from"./withAutoFitView-42dc611d.js";import{w as f}from"./withAMap-afed12e1.js";import{w as C,a as J}from"./withAPIContainer-a3816f75.js";import"./jsx-runtime-86dfebf6.js";const b={type:"Point",coordinates:[116.39,39.9]},k={type:"LineString",coordinates:[[116.388904,39.903423],[116.392122,39.901176]]},N={type:"Polygon",coordinates:[[[116.386069,39.898857],[116.386023,39.897477],[116.387719,39.897539],[116.386069,39.898857]]]},G={type:"Polygon",coordinates:[[[116.384595,39.901321],[116.383526,39.899865],[116.386284,39.900917],[116.384595,39.901321]],[[116.384594,39.901],[116.384,39.9003],[116.3861,39.900917],[116.384594,39.901]]]},h={type:"MultiPolygon",coordinates:[[[[116.388624,39.900055],[116.390452,39.898583],[116.391294,39.900003],[116.388624,39.900055]],[[116.389113,39.899924],[116.390251,39.898962],[116.391055,39.899899],[116.389113,39.899924]]],[[[116.387884,39.899645],[116.38796,39.898347],[116.390175,39.898394],[116.387884,39.899645]]]]},w={type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:{type:"GeometryCollection",geometries:[b,k,N,G,h]}}]},V={title:"组件(Components)/覆盖物(Overlay)/AMapGeoJSON",component:A,decorators:[S,f(),C,J],args:{geoJSON:w,visible:!0},argTypes:{geoJSON:{description:"要加载的标准 GeoJSON 对象",type:{required:!0,name:"object",value:{}},table:{type:{summary:"GeoJSON.FeatureCollection",detail:"AMap 暂时不支持 `Feature`,需要转换成 `FeatureCollection`"}}},visible:{description:"显示或隐藏",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},options:{description:"修改覆盖物属性(包括线样式、样色等等)",type:{required:!1,name:"object",value:{}},table:{type:{summary:"object",detail:"具体字段参考高德 JS API 文档"}},control:"object"},getMarker:{description:"指定点要素的绘制方式,缺省时为 Marker 的默认样式。",type:{required:!1,name:"function"},table:{type:{summary:"(geojson?: GeoJSON.GeoJSON, lnglat?: GeoJSON.Point, map?: AMap.Map | null, AMap?: AMap.AMap) => AMap.Overlay"}}},getPolyline:{description:"指定点要素的绘制方式,缺省时为 Polyline 的默认样式。",type:{required:!1,name:"function"},table:{type:{summary:"(geojson?: GeoJSON.GeoJSON, lnglat?: GeoJSON.Point, map?: AMap.Map | null, AMap?: AMap.AMap) => AMap.Overlay"}}},getPolygon:{description:"指定点要素的绘制方式,缺省时为 Polygon 的默认样式。",type:{required:!1,name:"function"},table:{type:{summary:"(geojson?: GeoJSON.GeoJSON, lnglat?: GeoJSON.Point, map?: AMap.Map | null, AMap?: AMap.AMap) => AMap.Overlay"}}}}},a={name:"基本使用"},v=(p,o,t,r)=>{const e={position:o,map:t,label:{offset:[],direction:"Top",content:"MyMarker"}};return new r.Marker(e)},j=(p,o,t,r)=>{const e={path:o,map:t};return new r.Polyline(e)},q=(p,o,t,r)=>{const e=new r.Polygon,O=P(o);return e.setPath(O),e.setOptions({strokeColor:"yellow"}),e.setMap(t),e},n={name:"自定义样式",args:{options:{strokeColor:"red",strokeWeight:4}}},s={name:"自定义覆盖物",args:{options:{strokeColor:"red",strokeWeight:4},getMarker:v,getPolyline:j,getPolygon:q}};var l,i,m;a.parameters={...a.parameters,docs:{...(l=a.parameters)==null?void 0:l.docs,source:{originalSource:`{ name: '基本使用' }`,...(m=(i=a.parameters)==null?void 0:i.docs)==null?void 0:m.source}}};var c,y,u;n.parameters={...n.parameters,docs:{...(c=n.parameters)==null?void 0:c.docs,source:{originalSource:`{ name: '自定义样式', @@ -20,4 +20,3 @@ import"./index-4139ccbc.js";import{d as A}from"./AMapMouseTool-6b7a21d0.js";impo getPolygon } }`,...(M=(d=s.parameters)==null?void 0:d.docs)==null?void 0:M.source}}};const D=["CommonUse","CustomStyle","CustomOverlay"];export{a as CommonUse,s as CustomOverlay,n as CustomStyle,D as __namedExportsOrder,V as default}; -//# sourceMappingURL=AMapGeoJSON.stories-b65d109b.js.map diff --git a/assets/AMapHawkEye.stories-7cde045d.js b/assets/AMapHawkEye.stories-7cde045d.js deleted file mode 100644 index 52ee3aa..0000000 --- a/assets/AMapHawkEye.stories-7cde045d.js +++ /dev/null @@ -1,28 +0,0 @@ -import{a as g}from"./chunk-GOSXJPAJ-7233c8d1.js";import"./chunk-AY7I2SME-ea41228b.js";import"./index-4139ccbc.js";import{n as h}from"./AMapMouseTool-6b7a21d0.js";import{w as S}from"./withAMap-b6bd1959.js";import{w as x,a as C}from"./withAPIContainer-538f5645.js";import"./jsx-runtime-91db03d0.js";const a=g("onShow","onHide","onOpen","onClose"),w=["#ff0000","#00ff00","#0000ff"],R={title:"组件(Components)/地图控件(Control)/AMapHawkEye",component:h,decorators:[S(),x,C],args:{autoMove:!0,showRectangle:!0,showButton:!0,visible:!0,onShow:a.onShow,onHide:a.onHide},argTypes:{offset:{description:"缩略图距离地图右下角的像素距离",type:{required:!1,name:"array",value:{name:"number"}},table:{type:{summary:"number[]"}},control:"object"},autoMove:{description:"是否随主图视口变化移动",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},showRectangle:{description:"是否显示视口矩形",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},showButton:{description:"是否显示打开关闭的按钮",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},isOpen:{description:"默认是否展开",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},mapStyle:{description:'缩略图要显示的地图自定义样式,如 "amap://styles/dark"',type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},width:{description:'缩略图的宽度,同CSS,如 "200px"',type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},height:{description:'缩略图的高度,同CSS,如"200px"',type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},borderStyle:{description:'缩略图的边框样式,同CSS,如 "double solid solid double"',type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},borderColor:{description:'缩略图的边框颜色,同CSS,如 "silver"',type:{required:!1,name:"string"},table:{type:{summary:"string"},defaultValue:{summary:"#00B2D5"}},control:{type:"color",presetColors:w}},borderRadius:{description:'缩略图的圆角半径,同CSS,如 "5px"',type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},borderWidth:{description:'缩略图的边框宽度,同CSS,如 "5px"',type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},buttonSize:{description:'箭头按钮的像素尺寸,同CSS,如 "12px"',type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},visible:{description:"显示或隐藏",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},onShow:{description:"显示时触发此事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onHide:{description:"隐藏时触发此事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1}}},e={name:"设置偏移量",args:{offset:[10,10]}},r={name:"设置样式",args:{height:"200px",width:"100px",borderStyle:"dashed",borderColor:"red",borderRadius:"4px",borderWidth:"5px",buttonSize:"10px"}},t={name:"设置主题",args:{mapStyle:"amap://styles/dark"}},o={name:"不随主视图变化",args:{autoMove:!1}};var n,s,i;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:`{ - name: '设置偏移量', - args: { - offset: [10, 10] - } -}`,...(i=(s=e.parameters)==null?void 0:s.docs)==null?void 0:i.source}}};var l,m,p;r.parameters={...r.parameters,docs:{...(l=r.parameters)==null?void 0:l.docs,source:{originalSource:`{ - name: '设置样式', - args: { - height: '200px', - width: '100px', - borderStyle: 'dashed', - borderColor: 'red', - borderRadius: '4px', - borderWidth: '5px', - buttonSize: '10px' - } -}`,...(p=(m=r.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};var d,u,c;t.parameters={...t.parameters,docs:{...(d=t.parameters)==null?void 0:d.docs,source:{originalSource:`{ - name: '设置主题', - args: { - mapStyle: 'amap://styles/dark' - } -}`,...(c=(u=t.parameters)==null?void 0:u.docs)==null?void 0:c.source}}};var y,b,f;o.parameters={...o.parameters,docs:{...(y=o.parameters)==null?void 0:y.docs,source:{originalSource:`{ - name: '不随主视图变化', - args: { - autoMove: false - } -}`,...(f=(b=o.parameters)==null?void 0:b.docs)==null?void 0:f.source}}};const E=["ChangePosition","ChangeStyle","ChangeTheme","NotAutoMove"];export{e as ChangePosition,r as ChangeStyle,t as ChangeTheme,o as NotAutoMove,E as __namedExportsOrder,R as default}; -//# sourceMappingURL=AMapHawkEye.stories-7cde045d.js.map diff --git a/assets/AMapHawkEye.stories-7cde045d.js.map b/assets/AMapHawkEye.stories-7cde045d.js.map deleted file mode 100644 index 23bca30..0000000 --- a/assets/AMapHawkEye.stories-7cde045d.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AMapHawkEye.stories-7cde045d.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/assets/AMapHawkEye.stories-fbe7ea92.js b/assets/AMapHawkEye.stories-fbe7ea92.js new file mode 100644 index 0000000..8316568 --- /dev/null +++ b/assets/AMapHawkEye.stories-fbe7ea92.js @@ -0,0 +1,27 @@ +import{a as g}from"./chunk-WFFRPTHA-2a5dae90.js";import"./index-1b03fe98.js";import{e as h}from"./AMapMouseTool-39d8fedf.js";import{w as S}from"./withAMap-afed12e1.js";import{w as x,a as C}from"./withAPIContainer-a3816f75.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";import"./jsx-runtime-86dfebf6.js";const a=g("onShow","onHide","onOpen","onClose"),w=["#ff0000","#00ff00","#0000ff"],E={title:"组件(Components)/地图控件(Control)/AMapHawkEye",component:h,decorators:[S(),x,C],args:{autoMove:!0,showRectangle:!0,showButton:!0,visible:!0,onShow:a.onShow,onHide:a.onHide},argTypes:{offset:{description:"缩略图距离地图右下角的像素距离",type:{required:!1,name:"array",value:{name:"number"}},table:{type:{summary:"number[]"}},control:"object"},autoMove:{description:"是否随主图视口变化移动",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},showRectangle:{description:"是否显示视口矩形",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},showButton:{description:"是否显示打开关闭的按钮",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},isOpen:{description:"默认是否展开",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},mapStyle:{description:'缩略图要显示的地图自定义样式,如 "amap://styles/dark"',type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},width:{description:'缩略图的宽度,同CSS,如 "200px"',type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},height:{description:'缩略图的高度,同CSS,如"200px"',type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},borderStyle:{description:'缩略图的边框样式,同CSS,如 "double solid solid double"',type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},borderColor:{description:'缩略图的边框颜色,同CSS,如 "silver"',type:{required:!1,name:"string"},table:{type:{summary:"string"},defaultValue:{summary:"#00B2D5"}},control:{type:"color",presetColors:w}},borderRadius:{description:'缩略图的圆角半径,同CSS,如 "5px"',type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},borderWidth:{description:'缩略图的边框宽度,同CSS,如 "5px"',type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},buttonSize:{description:'箭头按钮的像素尺寸,同CSS,如 "12px"',type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},visible:{description:"显示或隐藏",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},onShow:{description:"显示时触发此事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onHide:{description:"隐藏时触发此事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1}}},e={name:"设置偏移量",args:{offset:[10,10]}},r={name:"设置样式",args:{height:"200px",width:"100px",borderStyle:"dashed",borderColor:"red",borderRadius:"4px",borderWidth:"5px",buttonSize:"10px"}},t={name:"设置主题",args:{mapStyle:"amap://styles/dark"}},o={name:"不随主视图变化",args:{autoMove:!1}};var n,s,i;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:`{ + name: '设置偏移量', + args: { + offset: [10, 10] + } +}`,...(i=(s=e.parameters)==null?void 0:s.docs)==null?void 0:i.source}}};var l,m,p;r.parameters={...r.parameters,docs:{...(l=r.parameters)==null?void 0:l.docs,source:{originalSource:`{ + name: '设置样式', + args: { + height: '200px', + width: '100px', + borderStyle: 'dashed', + borderColor: 'red', + borderRadius: '4px', + borderWidth: '5px', + buttonSize: '10px' + } +}`,...(p=(m=r.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};var d,u,c;t.parameters={...t.parameters,docs:{...(d=t.parameters)==null?void 0:d.docs,source:{originalSource:`{ + name: '设置主题', + args: { + mapStyle: 'amap://styles/dark' + } +}`,...(c=(u=t.parameters)==null?void 0:u.docs)==null?void 0:c.source}}};var y,b,f;o.parameters={...o.parameters,docs:{...(y=o.parameters)==null?void 0:y.docs,source:{originalSource:`{ + name: '不随主视图变化', + args: { + autoMove: false + } +}`,...(f=(b=o.parameters)==null?void 0:b.docs)==null?void 0:f.source}}};const z=["ChangePosition","ChangeStyle","ChangeTheme","NotAutoMove"];export{e as ChangePosition,r as ChangeStyle,t as ChangeTheme,o as NotAutoMove,z as __namedExportsOrder,E as default}; diff --git a/assets/AMapMap.stories-0a098f82.js.map b/assets/AMapMap.stories-0a098f82.js.map deleted file mode 100644 index a82849c..0000000 --- a/assets/AMapMap.stories-0a098f82.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AMapMap.stories-0a098f82.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/assets/AMapMap.stories-0a098f82.js b/assets/AMapMap.stories-9e50268e.js similarity index 94% rename from assets/AMapMap.stories-0a098f82.js rename to assets/AMapMap.stories-9e50268e.js index 9d2ba2f..38d56d6 100644 --- a/assets/AMapMap.stories-0a098f82.js +++ b/assets/AMapMap.stories-9e50268e.js @@ -1,4 +1,4 @@ -import"./index-4139ccbc.js";import{m as C}from"./AMapMouseTool-6b7a21d0.js";import{w as h,a as x}from"./withAPIContainer-538f5645.js";import"./jsx-runtime-91db03d0.js";const I={title:"组件(Components)/基础组件(Basic)/AMapMap",component:C,decorators:[h,x],args:{features:["bg","point","road","building"],viewMode:"2D"},argTypes:{viewMode:{description:"地图视图模式。注意,切换地图模式会创建新的地图实例,同时销毁原有地图实例。",type:{required:!1,name:"enum",value:["2D","3D"]},table:{type:{summary:"string"},defaultValue:{summary:"2D"}},options:["2D","3D"],control:"select"},center:{description:"中心经纬度",type:{required:!1,name:"array",value:{name:"number"}},table:{type:{summary:"number[]"}},control:"object"},cityName:{description:"行政区名称支持中国、省、市、区/县名称,如遇重名的情况,会按城市编码表顺序返回第一个。",type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},zoom:{description:"地图显示的缩放级别,可以设置为浮点数;若 center 与level 未赋值,地图初始化默认显示用户所在城市范围。",type:{required:!1,name:"number"},table:{type:{summary:"number"}},control:{type:"number",min:2,max:20,step:1}},features:{description:"设置地图上显示的元素种类",type:{required:!1,name:"array",value:{name:"enum",value:["bg","point","road","building"]}},table:{type:{summary:"string[]"},defaultValue:{summary:"['bg', 'point', 'road', 'building']"}},options:{"bg(地图背景)":"bg","point(POI)":"point","road(道路)":"road","building(建筑物)":"building"},control:"check"},mapStyle:{description:["设置地图样式:",'官方样式模版,如 "amap://styles/grey"','地图自定义平台定制地图样式,如 "amap://styles/d6bf8c1d69cea9f5c696185ad4ac4c86"'].join("
"),type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},pitch:{description:"俯仰角度,值范围:0-90。2D地图下无效 。",type:{required:!1,name:"number"},table:{type:{summary:"number"},defaultValue:{summary:"0"}},control:{type:"number",min:0,max:90,step:15}}}},e={name:"设置中心点",args:{center:[114.021769,22.530421]}},a={name:"设置城市名称",args:{cityName:"深圳"}},r={name:"设置缩放比例",args:{zoom:12}},t={name:"设置地图上显示的元素种类",args:{features:["bg","point"]}},s={name:"自定义地图样式",args:{mapStyle:"amap://styles/grey"}},n={name:"3D 模式",args:{viewMode:"3D",pitch:75,zoom:18}};var o,m,i;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import"./index-1b03fe98.js";import{f as C}from"./AMapMouseTool-39d8fedf.js";import{w as h,a as x}from"./withAPIContainer-a3816f75.js";import"./jsx-runtime-86dfebf6.js";const I={title:"组件(Components)/基础组件(Basic)/AMapMap",component:C,decorators:[h,x],args:{features:["bg","point","road","building"],viewMode:"2D"},argTypes:{viewMode:{description:"地图视图模式。注意,切换地图模式会创建新的地图实例,同时销毁原有地图实例。",type:{required:!1,name:"enum",value:["2D","3D"]},table:{type:{summary:"string"},defaultValue:{summary:"2D"}},options:["2D","3D"],control:"select"},center:{description:"中心经纬度",type:{required:!1,name:"array",value:{name:"number"}},table:{type:{summary:"number[]"}},control:"object"},cityName:{description:"行政区名称支持中国、省、市、区/县名称,如遇重名的情况,会按城市编码表顺序返回第一个。",type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},zoom:{description:"地图显示的缩放级别,可以设置为浮点数;若 center 与level 未赋值,地图初始化默认显示用户所在城市范围。",type:{required:!1,name:"number"},table:{type:{summary:"number"}},control:{type:"number",min:2,max:20,step:1}},features:{description:"设置地图上显示的元素种类",type:{required:!1,name:"array",value:{name:"enum",value:["bg","point","road","building"]}},table:{type:{summary:"string[]"},defaultValue:{summary:"['bg', 'point', 'road', 'building']"}},options:{"bg(地图背景)":"bg","point(POI)":"point","road(道路)":"road","building(建筑物)":"building"},control:"check"},mapStyle:{description:["设置地图样式:",'官方样式模版,如 "amap://styles/grey"','地图自定义平台定制地图样式,如 "amap://styles/d6bf8c1d69cea9f5c696185ad4ac4c86"'].join("
"),type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},pitch:{description:"俯仰角度,值范围:0-90。2D地图下无效 。",type:{required:!1,name:"number"},table:{type:{summary:"number"},defaultValue:{summary:"0"}},control:{type:"number",min:0,max:90,step:15}}}},e={name:"设置中心点",args:{center:[114.021769,22.530421]}},a={name:"设置城市名称",args:{cityName:"深圳"}},r={name:"设置缩放比例",args:{zoom:12}},t={name:"设置地图上显示的元素种类",args:{features:["bg","point"]}},s={name:"自定义地图样式",args:{mapStyle:"amap://styles/grey"}},n={name:"3D 模式",args:{viewMode:"3D",pitch:75,zoom:18}};var o,m,i;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{ name: '设置中心点', args: { center: [114.021769, 22.530421] @@ -31,4 +31,3 @@ import"./index-4139ccbc.js";import{m as C}from"./AMapMouseTool-6b7a21d0.js";impo zoom: 18 } }`,...(q=(w=n.parameters)==null?void 0:w.docs)==null?void 0:q.source}}};const j=["SetCenter","SetCityName","SetZoom","SetFeatures","SetsMapStyle","ViewModeIs3D"];export{e as SetCenter,a as SetCityName,t as SetFeatures,r as SetZoom,s as SetsMapStyle,n as ViewModeIs3D,j as __namedExportsOrder,I as default}; -//# sourceMappingURL=AMapMap.stories-0a098f82.js.map diff --git a/assets/AMapMapType.stories-858d2006.js b/assets/AMapMapType.stories-858d2006.js deleted file mode 100644 index 04c14d3..0000000 --- a/assets/AMapMapType.stories-858d2006.js +++ /dev/null @@ -1,19 +0,0 @@ -import{a as b}from"./chunk-GOSXJPAJ-7233c8d1.js";import"./chunk-AY7I2SME-ea41228b.js";import"./index-4139ccbc.js";import{l as h}from"./AMapMouseTool-6b7a21d0.js";import{w as g}from"./withAMap-b6bd1959.js";import{w as T,a as S}from"./withAPIContainer-538f5645.js";import"./jsx-runtime-91db03d0.js";const t=b("onShow","onHide"),R={title:"组件(Components)/地图控件(Control)/AMapMapType",component:h,decorators:[g(),T,S],args:{defaultType:0,visible:!0,onShow:t.onShow,onHide:t.onHide},argTypes:{defaultType:{description:"初始化默认图层类型。 默认底图: 0; 卫星图: 1。",type:{required:!1,name:"enum",value:[0,1]},table:{type:{summary:"0|1"},defaultValue:{summary:"0"}},options:{"0(默认底图)":0,"1(卫星图)":1},control:{type:"select"}},showTraffic:{description:"叠加实时交通图层",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!1}},control:"boolean"},showRoad:{description:"叠加路网图层",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!1}},control:"boolean"},visible:{description:"显示或隐藏",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},onShow:{description:"显示时触发此事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onHide:{description:"隐藏时触发此事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1}}},e={name:"一般使用"},a={name:"默认底图",args:{defaultType:1}},o={name:"默认开启路况",args:{showTraffic:!0}},r={name:"默认开启路网",args:{showRoad:!0}};var s,n,m;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:`{ - name: '一般使用' -}`,...(m=(n=e.parameters)==null?void 0:n.docs)==null?void 0:m.source}}};var l,p,i;a.parameters={...a.parameters,docs:{...(l=a.parameters)==null?void 0:l.docs,source:{originalSource:`{ - name: '默认底图', - args: { - defaultType: 1 - } -}`,...(i=(p=a.parameters)==null?void 0:p.docs)==null?void 0:i.source}}};var u,c,d;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`{ - name: '默认开启路况', - args: { - showTraffic: true - } -}`,...(d=(c=o.parameters)==null?void 0:c.docs)==null?void 0:d.source}}};var f,y,w;r.parameters={...r.parameters,docs:{...(f=r.parameters)==null?void 0:f.docs,source:{originalSource:`{ - name: '默认开启路网', - args: { - showRoad: true - } -}`,...(w=(y=r.parameters)==null?void 0:y.docs)==null?void 0:w.source}}};const V=["CommonUse","DefaultType","DefaultShowTraffic","DefaultShowRoad"];export{e as CommonUse,r as DefaultShowRoad,o as DefaultShowTraffic,a as DefaultType,V as __namedExportsOrder,R as default}; -//# sourceMappingURL=AMapMapType.stories-858d2006.js.map diff --git a/assets/AMapMapType.stories-858d2006.js.map b/assets/AMapMapType.stories-858d2006.js.map deleted file mode 100644 index 345e365..0000000 --- a/assets/AMapMapType.stories-858d2006.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AMapMapType.stories-858d2006.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/assets/AMapMapType.stories-8cd54b18.js b/assets/AMapMapType.stories-8cd54b18.js new file mode 100644 index 0000000..bc9b9a1 --- /dev/null +++ b/assets/AMapMapType.stories-8cd54b18.js @@ -0,0 +1,18 @@ +import{a as b}from"./chunk-WFFRPTHA-2a5dae90.js";import"./index-1b03fe98.js";import{g as h}from"./AMapMouseTool-39d8fedf.js";import{w as g}from"./withAMap-afed12e1.js";import{w as T,a as S}from"./withAPIContainer-a3816f75.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";import"./jsx-runtime-86dfebf6.js";const t=b("onShow","onHide"),V={title:"组件(Components)/地图控件(Control)/AMapMapType",component:h,decorators:[g(),T,S],args:{defaultType:0,visible:!0,onShow:t.onShow,onHide:t.onHide},argTypes:{defaultType:{description:"初始化默认图层类型。 默认底图: 0; 卫星图: 1。",type:{required:!1,name:"enum",value:[0,1]},table:{type:{summary:"0|1"},defaultValue:{summary:"0"}},options:{"0(默认底图)":0,"1(卫星图)":1},control:{type:"select"}},showTraffic:{description:"叠加实时交通图层",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!1}},control:"boolean"},showRoad:{description:"叠加路网图层",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!1}},control:"boolean"},visible:{description:"显示或隐藏",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},onShow:{description:"显示时触发此事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onHide:{description:"隐藏时触发此事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1}}},e={name:"一般使用"},a={name:"默认底图",args:{defaultType:1}},o={name:"默认开启路况",args:{showTraffic:!0}},r={name:"默认开启路网",args:{showRoad:!0}};var s,n,m;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:`{ + name: '一般使用' +}`,...(m=(n=e.parameters)==null?void 0:n.docs)==null?void 0:m.source}}};var p,l,i;a.parameters={...a.parameters,docs:{...(p=a.parameters)==null?void 0:p.docs,source:{originalSource:`{ + name: '默认底图', + args: { + defaultType: 1 + } +}`,...(i=(l=a.parameters)==null?void 0:l.docs)==null?void 0:i.source}}};var u,c,d;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`{ + name: '默认开启路况', + args: { + showTraffic: true + } +}`,...(d=(c=o.parameters)==null?void 0:c.docs)==null?void 0:d.source}}};var f,y,w;r.parameters={...r.parameters,docs:{...(f=r.parameters)==null?void 0:f.docs,source:{originalSource:`{ + name: '默认开启路网', + args: { + showRoad: true + } +}`,...(w=(y=r.parameters)==null?void 0:y.docs)==null?void 0:w.source}}};const x=["CommonUse","DefaultType","DefaultShowTraffic","DefaultShowRoad"];export{e as CommonUse,r as DefaultShowRoad,o as DefaultShowTraffic,a as DefaultType,x as __namedExportsOrder,V as default}; diff --git a/assets/AMapMarker.stories-700c36e6.js b/assets/AMapMarker.stories-700c36e6.js deleted file mode 100644 index 3d8f0d6..0000000 --- a/assets/AMapMarker.stories-700c36e6.js +++ /dev/null @@ -1,106 +0,0 @@ -import{j as L,a as ut,F as ct}from"./jsx-runtime-91db03d0.js";import{o as Et,r as Dt}from"./index-4139ccbc.js";import{a as _t}from"./chunk-GOSXJPAJ-7233c8d1.js";import"./chunk-AY7I2SME-ea41228b.js";import{j as re,A as Tt}from"./AMapMouseTool-6b7a21d0.js";import{w as It}from"./withAutoFitView-0024a494.js";import{w as Ft}from"./withAMap-b6bd1959.js";import{w as qt,a as zt}from"./withAPIContainer-538f5645.js";var pt={exports:{}};/** @license React v16.14.0 - * react-dom-server.browser.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var E=Et,_=Dt;function p(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;tW;W++)v[W]=W+1;v[15]=0;var Rt=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,he=Object.prototype.hasOwnProperty,ye={},ve={};function xt(e){return he.call(ve,e)?!0:he.call(ye,e)?!1:Rt.test(e)?ve[e]=!0:(ye[e]=!0,!1)}function jt(e,r,t,n){if(t!==null&&t.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return n?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Ht(e,r,t,n){if(r===null||typeof r>"u"||jt(e,r,t,n))return!0;if(n)return!1;if(t!==null)switch(t.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function x(e,r,t,n,s,a){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=n,this.attributeNamespace=s,this.mustUseProperty=t,this.propertyName=e,this.type=r,this.sanitizeURL=a}var y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){y[e]=new x(e,0,!1,e,null,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var r=e[0];y[r]=new x(r,1,!1,e[1],null,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){y[e]=new x(e,2,!1,e.toLowerCase(),null,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){y[e]=new x(e,2,!1,e,null,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){y[e]=new x(e,3,!1,e.toLowerCase(),null,!1)});["checked","multiple","muted","selected"].forEach(function(e){y[e]=new x(e,3,!0,e,null,!1)});["capture","download"].forEach(function(e){y[e]=new x(e,4,!1,e,null,!1)});["cols","rows","size","span"].forEach(function(e){y[e]=new x(e,6,!1,e,null,!1)});["rowSpan","start"].forEach(function(e){y[e]=new x(e,5,!1,e.toLowerCase(),null,!1)});var fe=/[\-:]([a-z])/g;function de(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var r=e.replace(fe,de);y[r]=new x(r,1,!1,e,null,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var r=e.replace(fe,de);y[r]=new x(r,1,!1,e,"http://www.w3.org/1999/xlink",!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var r=e.replace(fe,de);y[r]=new x(r,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)});["tabIndex","crossOrigin"].forEach(function(e){y[e]=new x(e,1,!1,e.toLowerCase(),null,!1)});y.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0);["src","href","action","formAction"].forEach(function(e){y[e]=new x(e,1,!1,e.toLowerCase(),null,!0)});var Wt=/["'&<>]/;function F(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var r=Wt.exec(e);if(r){var t="",n,s=0;for(n=r.index;nne))throw Error(p(301));if(e===D)if(pe=!0,e={action:t,next:null},I===null&&(I=new Map),t=I.get(r),t===void 0)I.set(r,e);else{for(r=t;r.next!==null;)r=r.next;r.next=e}}function ae(){}var V=0,Jt={readContext:function(e){var r=V;return j(e,r),e[r]},useContext:function(e){q();var r=V;return j(e,r),e[r]},useMemo:function(e,r){if(D=q(),c=me(),r=r===void 0?null:r,c!==null){var t=c.memoizedState;if(t!==null&&r!==null){e:{var n=t[1];if(n===null)n=!1;else{for(var s=0;s=i))throw Error(p(304));var l=new Uint16Array(i);for(l.set(a),v=l,v[0]=s+1,a=s;a=o.children.length){var C=o.footer;if(C!==""&&(this.previousWasTextNode=!1),this.stack.pop(),o.type==="select")this.currentSelectValue=null;else if(o.type!=null&&o.type.type!=null&&o.type.type.$$typeof===ue)this.popProvider(o.type);else if(o.type===ce){this.suspenseDepth--;var d=a.pop();if(i){i=!1;var u=o.fallbackFrame;if(!u)throw Error(p(303));this.stack.push(u),a[this.suspenseDepth]+="";continue}else a[this.suspenseDepth]+=d}a[this.suspenseDepth]+=C}else{var m=o.children[o.childIndex++],g="";try{g+=this.render(m,o.context,o.domNamespace)}catch(h){throw h!=null&&typeof h.then=="function"?Error(p(294)):h}finally{}a.length<=this.suspenseDepth&&a.push(""),a[this.suspenseDepth]+=g}}return a[0]}finally{se.current=s,V=n}},r.render=function(t,n,s){if(typeof t=="string"||typeof t=="number")return s=""+t,s===""?"":this.makeStaticMarkup?F(s):this.previousWasTextNode?""+F(s):(this.previousWasTextNode=!0,F(s));if(n=sr(t,n,this.threadID),t=n.child,n=n.context,t===null||t===!1)return"";if(!_.isValidElement(t)){if(t!=null&&t.$$typeof!=null)throw s=t.$$typeof,Error(s===mt?p(257):p(258,s.toString()));return t=T(t),this.stack.push({type:null,domNamespace:s,children:t,childIndex:0,context:n,footer:""}),""}var a=t.type;if(typeof a=="string")return this.renderDOM(t,n,s);switch(a){case ft:case Ot:case dt:case vt:case le:return t=T(t.props.children),this.stack.push({type:null,domNamespace:s,children:t,childIndex:0,context:n,footer:""}),"";case ce:throw Error(p(294))}if(typeof a=="object"&&a!==null)switch(a.$$typeof){case yt:D={};var i=a.render(t.props,t.ref);return i=kt(a.render,t.props,i,t.ref),i=T(i),this.stack.push({type:null,domNamespace:s,children:i,childIndex:0,context:n,footer:""}),"";case gt:return t=[_.createElement(a.type,E({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:s,children:t,childIndex:0,context:n,footer:""}),"";case ue:return a=T(t.props.children),s={type:t,domNamespace:s,children:a,childIndex:0,context:n,footer:""},this.pushProvider(t),this.stack.push(s),"";case ht:a=t.type,i=t.props;var l=this.threadID;return j(a,l),a=T(i.children(a[l])),this.stack.push({type:t,domNamespace:s,children:a,childIndex:0,context:n,footer:""}),"";case Nt:throw Error(p(338));case wt:switch(a=t.type,Vt(a),a._status){case 1:return t=[_.createElement(a._result,E({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:s,children:t,childIndex:0,context:n,footer:""}),"";case 2:throw a._result;default:throw Error(p(295))}case At:throw Error(p(343))}throw Error(p(130,a==null?a:typeof a,""))},r.renderDOM=function(t,n,s){var a=t.type.toLowerCase();if(!be.hasOwnProperty(a)){if(!rr.test(a))throw Error(p(65,a));be[a]=!0}var i=t.props;if(a==="input")i=E({type:void 0},i,{defaultChecked:void 0,defaultValue:void 0,value:i.value!=null?i.value:i.defaultValue,checked:i.checked!=null?i.checked:i.defaultChecked});else if(a==="textarea"){var l=i.value;if(l==null){l=i.defaultValue;var o=i.children;if(o!=null){if(l!=null)throw Error(p(92));if(Array.isArray(o)){if(!(1>=o.length))throw Error(p(93));o=o[0]}l=""+o}l==null&&(l="")}i=E({},i,{value:void 0,children:""+l})}else if(a==="select")this.currentSelectValue=i.value!=null?i.value:i.defaultValue,i=E({},i,{value:void 0});else if(a==="option"){o=this.currentSelectValue;var C=nr(i.children);if(o!=null){var d=i.value!=null?i.value+"":C;if(l=!1,Array.isArray(o)){for(var u=0;u":(S+=">",l="");e:{if(o=i.dangerouslySetInnerHTML,o!=null){if(o.__html!=null){o=o.__html;break e}}else if(o=i.children,typeof o=="string"||typeof o=="number"){o=F(o);break e}o=null}return o!=null?(i=[],tr.hasOwnProperty(a)&&o.charAt(0)===` -`&&(S+=` -`),S+=o):i=T(i.children),t=t.type,s=s==null||s==="http://www.w3.org/1999/xhtml"?Yt(t):s==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":s,this.stack.push({domNamespace:s,type:a,children:i,childIndex:0,context:n,footer:l}),this.previousWasTextNode=!1,S},e}(),Se={renderToString:function(e){e=new ke(e,!1);try{return e.read(1/0)}finally{e.destroy()}},renderToStaticMarkup:function(e){e=new ke(e,!0);try{return e.read(1/0)}finally{e.destroy()}},renderToNodeStream:function(){throw Error(p(207))},renderToStaticNodeStream:function(){throw Error(p(208))},version:"16.14.0"},ir=Se.default||Se;pt.exports=ir;var Mt=pt.exports;const w=_t("onHide","onShow","onClick","onDBLClick","onRightClick","onMousemove","onMousedown","onMouseup","onMouseover","onMouseout","onTouchstart","onTouchmove","onTouchend","onDragstart","onDragging","onDragend","onMoving","onMoveEnd","onMoveAlong"),yr={title:"组件(Components)/覆盖物(Overlay)/AMapMarker",component:re,decorators:[It,Ft(),qt,zt],args:{position:[116.39,39.9],title:"自定义的 Title",anchor:"center",onShow:w.onShow,onHide:w.onHide},argTypes:{position:{description:"点标记在地图上显示的位置",type:{required:!0,name:"array",value:{name:"number"}},table:{type:{summary:"LngLatLike"}},control:"object"},title:{description:"鼠标滑过点标记时的文字提示。不设置则鼠标滑过点标无文字提示。",type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},content:{description:"点标记显示内容。可以是HTML要素字符串或者HTML DOM对象。content有效时,icon属性将被覆盖。",type:{required:!1,name:"string"},table:{type:{summary:"string | HTMLElement"}},control:"text"},icon:{description:"在点标记中显示的图标。有合法的 content 内容设置时,此属性无效。",type:{required:!1,name:"string"},table:{type:{summary:["AMap.Icon","string"].join("|")}},control:"text"},label:{description:"设置点标记文本标签内容",type:{required:!1,name:"object",value:{content:{name:"string"},direction:{name:"string"},offset:{name:"array",value:{name:"number"}}}},table:{type:{summary:"LabelOptions",detail:"具体字段参考高德 JS API 文档"}},control:!1},zooms:{description:"设置显示级别范围。注意:当前实现变更 zooms 时会触发重新创建实例。",type:{required:!1,name:"array",value:{name:"number"}},table:{type:{summary:"number[]"},defaultValue:{summary:"[2, 20]"}},control:"array"},clickable:{description:"点标记是否可点击",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},draggable:{description:"点标记是否可拖拽",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!1}},control:"boolean"},cursor:{description:"指定鼠标悬停时的鼠标样式",type:{required:!1,name:"string"},table:{type:{summary:"string"}},control:"text"},extData:{description:"设置用户自定义属性",type:{required:!1,name:"object",value:{}},table:{type:{summary:"object"}},control:"object"},anchor:{description:"设置点标记锚点",type:{required:!1,name:"enum",value:["top-left","top-center","top-right","middle-left","center","middle-right","bottom-left","bottom-center","bottom-right"]},table:{type:{summary:["top-left","top-center","top-right","middle-left","center","middle-right","bottom-left","bottom-center","bottom-right"].join("|")},defaultValue:{summary:"center"}},options:["top-left","top-center","top-right","middle-left","center","middle-right","bottom-left","bottom-center","bottom-right"],control:"select"},offset:{description:"覆盖物偏移量",type:{required:!1,name:"union",value:[{name:"array",value:{name:"number"}},{name:"object",value:{x:{name:"number"},y:{name:"number"}}}]},table:{type:{summary:["Vector2","Pixel"].join("|")},defaultValue:{summary:"[0, 0]"}},control:"object"},angle:{description:"点标记的旋转角度",type:{required:!1,name:"number"},table:{type:{summary:"number"},defaultValue:{summary:0}},control:{type:"number",min:0,max:360}},size:{description:"尺寸",type:{required:!1,name:"union",value:[{name:"array",value:{name:"number"}},{name:"object",value:{width:{name:"number"},height:{name:"number"}}}]},table:{type:{summary:["AMap.Size","AMap.Vector2"].join("|")},defaultValue:{summary:"[36, 36]"}},control:"object"},zIndex:{description:"多边形覆盖物的叠加顺序",type:{required:!1,name:"number"},table:{type:{summary:"number"},defaultValue:{summary:12}},control:{type:"number",step:1}},visible:{description:"显示或隐藏",type:{required:!1,name:"boolean"},table:{type:{summary:"boolean"},defaultValue:{summary:!0}},control:"boolean"},onShow:{description:"显示,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onHide:{description:"隐藏,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onClick:{description:"左键单击,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onDBLClick:{description:"左键双击,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onRightClick:{description:"右键单击,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMousemove:{description:"鼠标移动",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMousedown:{description:"鼠标按下,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMouseup:{description:"鼠标抬起,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMouseover:{description:"鼠标经过,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMouseout:{description:"鼠标移出,回调函数",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onTouchstart:{description:"触摸开始,回调函数,仅移动设备有效",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onTouchmove:{description:"触摸移动,回调函数,仅移动设备有效",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onTouchend:{description:"触摸结束,回调函数,仅移动设备有效",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onDragstart:{description:"开始拖拽点标记时触发事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onDragging:{description:"鼠标拖拽移动点标记时触发事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onDragend:{description:"点标记拖拽移动结束触发事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMoving:{description:"点标记在执行 `moveTo`,`moveAlong` 动画时触发事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMoveEnd:{description:"点标记在执行 `moveTo`,`moveAlong` 动画时触发事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1},onMoveAlong:{description:"点标记执行 moveAlong 动画一次后触发事件",type:{required:!1,name:"function"},table:{category:"事件",type:{summary:"(event: any) => void"}},control:!1}}},U={name:"一般使用"},B={name:"自定义标记图标",args:{icon:"//webapi.amap.com/theme/v1.3/markers/b/mark_r.png",size:[38,60]}},$={name:"自定义标记内容",args:{content:Mt.renderToString(L("span",{style:{color:"red"},children:"点"})),icon:"//webapi.amap.com/theme/v1.3/markers/b/mark_r.png",size:[38,60]}},Z={name:"自定义标签内容",args:{label:{content:Mt.renderToString(L("span",{style:{color:"red"},children:"标签内容"})),offset:[0,10],direction:"bottom"}}},J={name:"自定义可显示层级",args:{zooms:[14,18]},render:e=>ut(ct,{children:[L(Tt,{}),L(re,{...e})]})},X={name:"可拖拽",args:{draggable:!0,onDragstart:w.onDragstart,onDragging:w.onDragging,onDragend:w.onDragend}},Y={name:"自定义点标记锚点",args:{anchor:"bottom-center"}},z={name:"自定义偏移量",args:{offset:[300,300]}};z.storyName="自定义偏移量";z.args={offset:[300,300]};const O={name:"自定义旋转角度",args:{angle:45}};O.storyName="自定义旋转角度";O.args={angle:45};const K={name:"自定义 Marker 层级",args:{zIndex:13},render:e=>ut(ct,{children:[L(re,{...e}),L(re,{position:[116.39,39.9],icon:"//webapi.amap.com/theme/v1.3/markers/b/mark_r.png",size:[38,60],label:{content:"后 render 的 Marker",offset:[0,10],direction:"bottom"}})]})},Q={name:"点击事件(左单/左双/右单)",args:{onClick:w.onClick,onDBLClick:w.onDBLClick,onRightClick:w.onRightClick}},G={name:"鼠标事件(按下/抬起/经过/移出)",args:{onMousedown:w.onMousedown,onMouseup:w.onMouseup,onMouseover:w.onMouseover,onMouseout:w.onMouseout}},ee={name:"触摸事件(触摸开始/触摸移动/触摸结束)",args:{onTouchstart:w.onTouchstart,onTouchmove:w.onTouchmove,onTouchend:w.onTouchend}};var Ce,Me,Ee;U.parameters={...U.parameters,docs:{...(Ce=U.parameters)==null?void 0:Ce.docs,source:{originalSource:`{ - name: '一般使用' -}`,...(Ee=(Me=U.parameters)==null?void 0:Me.docs)==null?void 0:Ee.source}}};var De,_e,Te;B.parameters={...B.parameters,docs:{...(De=B.parameters)==null?void 0:De.docs,source:{originalSource:`{ - name: '自定义标记图标', - args: { - icon: '//webapi.amap.com/theme/v1.3/markers/b/mark_r.png', - size: [38, 60] - } -}`,...(Te=(_e=B.parameters)==null?void 0:_e.docs)==null?void 0:Te.source}}};var Ie,Fe,qe;$.parameters={...$.parameters,docs:{...(Ie=$.parameters)==null?void 0:Ie.docs,source:{originalSource:`{ - name: '自定义标记内容', - args: { - content: renderToString(), - icon: '//webapi.amap.com/theme/v1.3/markers/b/mark_r.png', - size: [38, 60] - } -}`,...(qe=(Fe=$.parameters)==null?void 0:Fe.docs)==null?void 0:qe.source}}};var ze,Oe,Le;Z.parameters={...Z.parameters,docs:{...(ze=Z.parameters)==null?void 0:ze.docs,source:{originalSource:`{ - name: '自定义标签内容', - args: { - label: { - content: renderToString(标签内容), - offset: [0, 10], - direction: 'bottom' - } - } -}`,...(Le=(Oe=Z.parameters)==null?void 0:Oe.docs)==null?void 0:Le.source}}};var Ne,Ae,Ve;J.parameters={...J.parameters,docs:{...(Ne=J.parameters)==null?void 0:Ne.docs,source:{originalSource:`{ - name: '自定义可显示层级', - args: { - zooms: [14, 18] - }, - render: args => <> - - - -}`,...(Ve=(Ae=J.parameters)==null?void 0:Ae.docs)==null?void 0:Ve.source}}};var Pe,Re,je;X.parameters={...X.parameters,docs:{...(Pe=X.parameters)==null?void 0:Pe.docs,source:{originalSource:`{ - name: '可拖拽', - args: { - draggable: true, - onDragstart: eventHandler.onDragstart, - onDragging: eventHandler.onDragging, - onDragend: eventHandler.onDragend - } -}`,...(je=(Re=X.parameters)==null?void 0:Re.docs)==null?void 0:je.source}}};var He,We,Ue;Y.parameters={...Y.parameters,docs:{...(He=Y.parameters)==null?void 0:He.docs,source:{originalSource:`{ - name: '自定义点标记锚点', - args: { - anchor: 'bottom-center' - } -}`,...(Ue=(We=Y.parameters)==null?void 0:We.docs)==null?void 0:Ue.source}}};var Be,$e,Ze;z.parameters={...z.parameters,docs:{...(Be=z.parameters)==null?void 0:Be.docs,source:{originalSource:`{ - name: '自定义偏移量', - args: { - offset: [300, 300] - } -}`,...(Ze=($e=z.parameters)==null?void 0:$e.docs)==null?void 0:Ze.source}}};var Je,Xe,Ye;O.parameters={...O.parameters,docs:{...(Je=O.parameters)==null?void 0:Je.docs,source:{originalSource:`{ - name: '自定义旋转角度', - args: { - angle: 45 - } -}`,...(Ye=(Xe=O.parameters)==null?void 0:Xe.docs)==null?void 0:Ye.source}}};var Ke,Qe,Ge;K.parameters={...K.parameters,docs:{...(Ke=K.parameters)==null?void 0:Ke.docs,source:{originalSource:`{ - name: '自定义 Marker 层级', - args: { - zIndex: 13 - }, - render: args => <> - - - -}`,...(Ge=(Qe=K.parameters)==null?void 0:Qe.docs)==null?void 0:Ge.source}}};var et,tt,rt;Q.parameters={...Q.parameters,docs:{...(et=Q.parameters)==null?void 0:et.docs,source:{originalSource:`{ - name: '点击事件(左单/左双/右单)', - args: { - onClick: eventHandler.onClick, - onDBLClick: eventHandler.onDBLClick, - onRightClick: eventHandler.onRightClick - } -}`,...(rt=(tt=Q.parameters)==null?void 0:tt.docs)==null?void 0:rt.source}}};var nt,ot,at;G.parameters={...G.parameters,docs:{...(nt=G.parameters)==null?void 0:nt.docs,source:{originalSource:`{ - name: '鼠标事件(按下/抬起/经过/移出)', - args: { - onMousedown: eventHandler.onMousedown, - onMouseup: eventHandler.onMouseup, - onMouseover: eventHandler.onMouseover, - onMouseout: eventHandler.onMouseout - } -}`,...(at=(ot=G.parameters)==null?void 0:ot.docs)==null?void 0:at.source}}};var st,it,lt;ee.parameters={...ee.parameters,docs:{...(st=ee.parameters)==null?void 0:st.docs,source:{originalSource:`{ - name: '触摸事件(触摸开始/触摸移动/触摸结束)', - args: { - onTouchstart: eventHandler.onTouchstart, - onTouchmove: eventHandler.onTouchmove, - onTouchend: eventHandler.onTouchend - } -}`,...(lt=(it=ee.parameters)==null?void 0:it.docs)==null?void 0:lt.source}}};const vr=["CommonUse","CustomIcon","CustomContent","CustomLabel","CustomZooms","Draggable","CustomAnchor","CustomOffset","CustomAngle","SameZIndex","ClickEvent","MouseEvent","TouchEvent"];export{Q as ClickEvent,U as CommonUse,Y as CustomAnchor,O as CustomAngle,$ as CustomContent,B as CustomIcon,Z as CustomLabel,z as CustomOffset,J as CustomZooms,X as Draggable,G as MouseEvent,K as SameZIndex,ee as TouchEvent,vr as __namedExportsOrder,yr as default}; -//# sourceMappingURL=AMapMarker.stories-700c36e6.js.map diff --git a/assets/AMapMarker.stories-700c36e6.js.map b/assets/AMapMarker.stories-700c36e6.js.map deleted file mode 100644 index 8041ed4..0000000 --- a/assets/AMapMarker.stories-700c36e6.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AMapMarker.stories-700c36e6.js","sources":["../../node_modules/react-dom/cjs/react-dom-server.browser.production.min.js","../../node_modules/react-dom/server.browser.js"],"sourcesContent":["/** @license React v16.14.0\n * react-dom-server.browser.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var k=require(\"object-assign\"),l=require(\"react\");function q(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;cH;H++)F[H]=H+1;F[15]=0;\nvar qa=/^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$/,ra=Object.prototype.hasOwnProperty,sa={},ta={};\nfunction ua(a){if(ra.call(ta,a))return!0;if(ra.call(sa,a))return!1;if(qa.test(a))return ta[a]=!0;sa[a]=!0;return!1}function va(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case \"function\":case \"symbol\":return!0;case \"boolean\":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return\"data-\"!==a&&\"aria-\"!==a;default:return!1}}\nfunction wa(a,b,c,d){if(null===b||\"undefined\"===typeof b||va(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function J(a,b,c,d,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=f;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=g}var K={};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){K[a]=new J(a,0,!1,a,null,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];K[b]=new J(b,1,!1,a[1],null,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){K[a]=new J(a,2,!1,a.toLowerCase(),null,!1)});\n[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){K[a]=new J(a,2,!1,a,null,!1)});\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function(a){K[a]=new J(a,3,!1,a.toLowerCase(),null,!1)});\n[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){K[a]=new J(a,3,!0,a,null,!1)});[\"capture\",\"download\"].forEach(function(a){K[a]=new J(a,4,!1,a,null,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){K[a]=new J(a,6,!1,a,null,!1)});[\"rowSpan\",\"start\"].forEach(function(a){K[a]=new J(a,5,!1,a.toLowerCase(),null,!1)});var L=/[\\-:]([a-z])/g;function M(a){return a[1].toUpperCase()}\n\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=a.replace(L,\nM);K[b]=new J(b,1,!1,a,null,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(L,M);K[b]=new J(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(L,M);K[b]=new J(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){K[a]=new J(a,1,!1,a.toLowerCase(),null,!1)});\nK.xlinkHref=new J(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){K[a]=new J(a,1,!1,a.toLowerCase(),null,!0)});var xa=/[\"'&<>]/;\nfunction N(a){if(\"boolean\"===typeof a||\"number\"===typeof a)return\"\"+a;a=\"\"+a;var b=xa.exec(a);if(b){var c=\"\",d,f=0;for(d=b.index;dV))throw Error(q(301));if(a===O)if(S=!0,a={action:c,next:null},null===U&&(U=new Map),c=U.get(b),void 0===c)U.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function Ha(){}\nvar X=0,Ia={readContext:function(a){var b=X;E(a,b);return a[b]},useContext:function(a){W();var b=X;E(a,b);return a[b]},useMemo:function(a,b){O=W();Q=Ca();b=void 0===b?null:b;if(null!==Q){var c=Q.memoizedState;if(null!==c&&null!==b){a:{var d=c[1];if(null===d)d=!1;else{for(var f=0;f=d))throw Error(q(304));var h=new Uint16Array(d);h.set(g);F=h;F[0]=c+1;for(g=c;g=\ne.children.length){var I=e.footer;\"\"!==I&&(this.previousWasTextNode=!1);this.stack.pop();if(\"select\"===e.type)this.currentSelectValue=null;else if(null!=e.type&&null!=e.type.type&&e.type.type.$$typeof===v)this.popProvider(e.type);else if(e.type===B){this.suspenseDepth--;var G=g.pop();if(x){x=!1;var n=e.fallbackFrame;if(!n)throw Error(q(303));this.stack.push(n);g[this.suspenseDepth]+=\"\\x3c!--$!--\\x3e\";continue}else g[this.suspenseDepth]+=G}g[this.suspenseDepth]+=I}else{var m=e.children[e.childIndex++],\nw=\"\";try{w+=this.render(m,e.context,e.domNamespace)}catch(r){if(null!=r&&\"function\"===typeof r.then)throw Error(q(294));throw r;}finally{}g.length<=this.suspenseDepth&&g.push(\"\");g[this.suspenseDepth]+=w}}return g[0]}finally{Qa.current=c,X=b}};b.render=function(a,b,f){if(\"string\"===typeof a||\"number\"===typeof a){f=\"\"+a;if(\"\"===f)return\"\";if(this.makeStaticMarkup)return N(f);if(this.previousWasTextNode)return\"\\x3c!-- --\\x3e\"+N(f);this.previousWasTextNode=!0;return N(f)}b=Za(a,b,this.threadID);a=b.child;\nb=b.context;if(null===a||!1===a)return\"\";if(!l.isValidElement(a)){if(null!=a&&null!=a.$$typeof){f=a.$$typeof;if(f===aa)throw Error(q(257));throw Error(q(258,f.toString()));}a=Z(a);this.stack.push({type:null,domNamespace:f,children:a,childIndex:0,context:b,footer:\"\"});return\"\"}var c=a.type;if(\"string\"===typeof c)return this.renderDOM(a,b,f);switch(c){case ba:case ea:case ca:case ha:case u:return a=Z(a.props.children),this.stack.push({type:null,domNamespace:f,children:a,childIndex:0,context:b,footer:\"\"}),\n\"\";case B:throw Error(q(294));}if(\"object\"===typeof c&&null!==c)switch(c.$$typeof){case fa:O={};var d=c.render(a.props,a.ref);d=Da(c.render,a.props,d,a.ref);d=Z(d);this.stack.push({type:null,domNamespace:f,children:d,childIndex:0,context:b,footer:\"\"});return\"\";case ia:return a=[l.createElement(c.type,k({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:f,children:a,childIndex:0,context:b,footer:\"\"}),\"\";case v:return c=Z(a.props.children),f={type:a,domNamespace:f,children:c,childIndex:0,\ncontext:b,footer:\"\"},this.pushProvider(a),this.stack.push(f),\"\";case da:c=a.type;d=a.props;var h=this.threadID;E(c,h);c=Z(d.children(c[h]));this.stack.push({type:a,domNamespace:f,children:c,childIndex:0,context:b,footer:\"\"});return\"\";case la:throw Error(q(338));case ja:switch(c=a.type,na(c),c._status){case 1:return a=[l.createElement(c._result,k({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:f,children:a,childIndex:0,context:b,footer:\"\"}),\"\";case 2:throw c._result;default:throw Error(q(295));\n}case ma:throw Error(q(343));}throw Error(q(130,null==c?c:typeof c,\"\"));};b.renderDOM=function(a,b,f){var c=a.type.toLowerCase();f===Ja.html&&Ka(c);if(!Ta.hasOwnProperty(c)){if(!Sa.test(c))throw Error(q(65,c));Ta[c]=!0}var d=a.props;if(\"input\"===c)d=k({type:void 0},d,{defaultChecked:void 0,defaultValue:void 0,value:null!=d.value?d.value:d.defaultValue,checked:null!=d.checked?d.checked:d.defaultChecked});else if(\"textarea\"===c){var h=d.value;if(null==h){h=d.defaultValue;var e=d.children;if(null!=e){if(null!=\nh)throw Error(q(92));if(Array.isArray(e)){if(!(1>=e.length))throw Error(q(93));e=e[0]}h=\"\"+e}null==h&&(h=\"\")}d=k({},d,{value:void 0,children:\"\"+h})}else if(\"select\"===c)this.currentSelectValue=null!=d.value?d.value:d.defaultValue,d=k({},d,{value:void 0});else if(\"option\"===c){e=this.currentSelectValue;var I=Va(d.children);if(null!=e){var G=null!=d.value?d.value+\"\":I;h=!1;if(Array.isArray(e))for(var n=0;n\":(z+=\">\",h=\"\");a:{e=d.dangerouslySetInnerHTML;if(null!=e){if(null!=e.__html){e=e.__html;break a}}else if(e=d.children,\"string\"===typeof e||\"number\"===typeof e){e=N(e);break a}e=null}null!=e?(d=[],Ra.hasOwnProperty(c)&&\"\\n\"===e.charAt(0)&&(z+=\"\\n\"),z+=e):d=Z(d.children);a=a.type;f=null==f||\"http://www.w3.org/1999/xhtml\"===\nf?Ka(a):\"http://www.w3.org/2000/svg\"===f&&\"foreignObject\"===a?\"http://www.w3.org/1999/xhtml\":f;this.stack.push({domNamespace:f,type:c,children:d,childIndex:0,context:b,footer:h});this.previousWasTextNode=!1;return z};return a}(),ab={renderToString:function(a){a=new $a(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new $a(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){throw Error(q(207));},renderToStaticNodeStream:function(){throw Error(q(208));\n},version:\"16.14.0\"};module.exports=ab.default||ab;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-dom-server.browser.production.min.js');\n} else {\n module.exports = require('./cjs/react-dom-server.browser.development.js');\n}\n"],"names":["k","require$$0","l","require$$1","q","a","b","c","t","aa","u","ba","ca","v","da","ea","fa","B","ha","ia","ja","ka","la","ma","na","C","D","oa","E","pa","d","f","F","H","qa","ra","sa","ta","ua","va","wa","J","g","K","L","M","xa","N","ya","za","Aa","O","P","Q","R","S","U","V","W","Ba","Ca","Da","Ea","Fa","Ga","Ha","X","Ia","Ja","Ka","La","Ma","Y","Na","Oa","Pa","Z","Qa","Ra","Sa","Ta","Ua","Va","Wa","Xa","Ya","Za","e","x","h","w","r","y","p","A","T","$a","I","G","n","z","ab","reactDomServer_browser_production_min","server_browserModule"],"mappings":";;;;;;;GASa,IAAIA,EAAEC,GAAyBC,EAAEC,GAAiB,SAASC,EAAEC,EAAE,CAAC,QAAQC,EAAE,yDAAyDD,EAAEE,EAAE,EAAEA,EAAE,UAAU,OAAOA,IAAID,GAAG,WAAW,mBAAmB,UAAUC,CAAC,CAAC,EAAE,MAAM,yBAAyBF,EAAE,WAAWC,EAAE,gHAAgH,CAC1X,IAAIE,EAAe,OAAO,QAApB,YAA4B,OAAO,IAAIC,GAAGD,EAAE,OAAO,IAAI,cAAc,EAAE,MAAME,GAAEF,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAMG,GAAGH,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAMI,GAAGJ,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAMK,GAAEL,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAMM,GAAGN,EAAE,OAAO,IAAI,eAAe,EAAE,MAAMO,GAAGP,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAMQ,GAAGR,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAMS,GAAET,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAMU,GAAGV,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAMW,GAAGX,EAAE,OAAO,IAAI,YAAY,EAAE,MAAMY,GAAGZ,EAAE,OAAO,IAAI,YAAY,EACzgB,MAAMa,GAAGb,EAAE,OAAO,IAAI,aAAa,EAAE,MAAMc,GAAGd,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAMe,GAAGf,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,SAASgB,GAAGnB,EAAE,CAAC,GAAQA,EAAE,UAAP,GAAe,CAACA,EAAE,QAAQ,EA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A,GAAN,MAASzD,EAAE,CAAA,EAAGgD,GAAG,eAAevE,CAAC,GAAUgF,EAAE,OAAO,CAAC,IAAjB;AAAA,IAAqBa,GAAG;AAAA,GAAMA,GAAGb,GAAGzD,EAAE8C,EAAE9C,EAAE,QAAQ,EAAEzB,EAAEA,EAAE,KAAK0B,EAAQA,GAAN,MACpeA,IAD6e,+BAC3esC,GAAGhE,CAAC,EAAiC0B,IAA/B,8BAAoD1B,IAAlB,gBAAoB,+BAA+B0B,EAAE,KAAK,MAAM,KAAK,CAAC,aAAaA,EAAE,KAAKxB,EAAE,SAASuB,EAAE,WAAW,EAAE,QAAQxB,EAAE,OAAOmF,CAAC,CAAC,EAAE,KAAK,oBAAoB,GAAUW,CAAC,EAAS/F,CAAC,EAAG,EAACgG,GAAG,CAAC,eAAe,SAAShG,EAAE,CAACA,EAAE,IAAI2F,GAAG3F,EAAE,EAAE,EAAE,GAAG,CAAC,OAAOA,EAAE,KAAK,GAAQ,CAAC,QAAC,CAAQA,EAAE,SAAS,CAAC,EAAE,qBAAqB,SAASA,EAAE,CAACA,EAAE,IAAI2F,GAAG3F,EAAE,EAAE,EAAE,GAAG,CAAC,OAAOA,EAAE,KAAK,GAAQ,CAAC,QAAC,CAAQA,EAAE,QAAS,CAAA,CAAC,EAAE,mBAAmB,UAAU,CAAC,MAAM,MAAMD,EAAE,GAAG,CAAC,CAAE,EAAE,yBAAyB,UAAU,CAAC,MAAM,MAAMA,EAAE,GAAG,CAAC,CACjhB,EAAE,QAAQ,SAAS,EAAEkG,GAAeD,GAAG,SAASA,GClD9CE,GAAA,QAAiBtG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1]} \ No newline at end of file diff --git a/assets/AMapMarker.stories-a0493129.js b/assets/AMapMarker.stories-a0493129.js new file mode 100644 index 0000000..924b2a8 --- /dev/null +++ b/assets/AMapMarker.stories-a0493129.js @@ -0,0 +1,122 @@ +import{j as le,a as Er,F as Tr}from"./jsx-runtime-86dfebf6.js";import{r as $r}from"./index-1b03fe98.js";import{a as To}from"./chunk-WFFRPTHA-2a5dae90.js";import{j as Ue,p as $o}from"./AMapMouseTool-39d8fedf.js";import{w as bo}from"./withAutoFitView-42dc611d.js";import{w as Fo}from"./withAMap-afed12e1.js";import{w as Mo,a as Ro}from"./withAPIContainer-a3816f75.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";var se={};/** + * @license React + * react-dom-server-legacy.browser.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var br=$r;function h(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n