m-gis-ui
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -310,3 +310,3 @@ 'use strict'; | ||
{ id: 'areaMeasurement', type: 'measureArea', name: '面积量算', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_areaMeasurement.png' }, | ||
{ id: 'isochron', type: 'marker', name: '等时圈', customEvent: 'handleShowIsochronous', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
{ id: 'isochron', type: 'marker', name: '等时圈', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
{ id: 'clear', name: '清空', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
@@ -313,0 +313,0 @@ ]; |
@@ -14,3 +14,3 @@ 'use strict'; | ||
this.cancel = index.createEvent(this, "cancel", 7); | ||
this.name = '生成等时圈'; | ||
this.name = undefined; | ||
} | ||
@@ -32,3 +32,3 @@ confirmHandler(event) { | ||
render() { | ||
return (index.h("div", { class: "chron-page", id: "isochron" }, index.h("h3", { class: "page-title" }, this.name), index.h("div", { class: "page-body" }, index.h("slot", null)), index.h("div", { class: "page-footer" }, index.h("button", { type: "button", class: "primary", onClick: (event) => this.confirmHandler(event) }, "\u786E\u5B9A"), index.h("button", { type: "button", class: "side", onClick: (event) => this.cancelHandler(event) }, "\u53D6\u6D88")), index.h("div", { class: "info-sharp" }))); | ||
return (index.h("div", { class: "chron-page", id: "isochron" }, index.h("h3", { class: "page-title" }, this.name), index.h("div", { class: "page-body" }, index.h("slot", null)), index.h("div", { class: "info-sharp" }))); | ||
} | ||
@@ -35,0 +35,0 @@ }; |
import { h } from '@stencil/core'; | ||
export class MapIsochron { | ||
constructor() { | ||
this.name = '生成等时圈'; | ||
this.name = undefined; | ||
} | ||
@@ -21,3 +21,3 @@ confirmHandler(event) { | ||
render() { | ||
return (h("div", { class: "chron-page", id: "isochron" }, h("h3", { class: "page-title" }, this.name), h("div", { class: "page-body" }, h("slot", null)), h("div", { class: "page-footer" }, h("button", { type: "button", class: "primary", onClick: (event) => this.confirmHandler(event) }, "\u786E\u5B9A"), h("button", { type: "button", class: "side", onClick: (event) => this.cancelHandler(event) }, "\u53D6\u6D88")), h("div", { class: "info-sharp" }))); | ||
return (h("div", { class: "chron-page", id: "isochron" }, h("h3", { class: "page-title" }, this.name), h("div", { class: "page-body" }, h("slot", null)), h("div", { class: "info-sharp" }))); | ||
} | ||
@@ -50,7 +50,6 @@ static get is() { return "map-isochron"; } | ||
"tags": [], | ||
"text": "title" | ||
"text": "name" | ||
}, | ||
"attribute": "name", | ||
"reflect": false, | ||
"defaultValue": "'\u751F\u6210\u7B49\u65F6\u5708'" | ||
"reflect": false | ||
} | ||
@@ -57,0 +56,0 @@ }; |
@@ -175,3 +175,3 @@ import { h } from '@stencil/core'; | ||
{ id: 'areaMeasurement', type: 'measureArea', name: '面积量算', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_areaMeasurement.png' }, | ||
{ id: 'isochron', type: 'marker', name: '等时圈', customEvent: 'handleShowIsochronous', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
{ id: 'isochron', type: 'marker', name: '等时圈', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
{ id: 'clear', name: '清空', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
@@ -178,0 +178,0 @@ ]; |
@@ -11,3 +11,3 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client'; | ||
this.cancel = createEvent(this, "cancel", 7); | ||
this.name = '生成等时圈'; | ||
this.name = undefined; | ||
} | ||
@@ -29,3 +29,3 @@ confirmHandler(event) { | ||
render() { | ||
return (h("div", { class: "chron-page", id: "isochron" }, h("h3", { class: "page-title" }, this.name), h("div", { class: "page-body" }, h("slot", null)), h("div", { class: "page-footer" }, h("button", { type: "button", class: "primary", onClick: (event) => this.confirmHandler(event) }, "\u786E\u5B9A"), h("button", { type: "button", class: "side", onClick: (event) => this.cancelHandler(event) }, "\u53D6\u6D88")), h("div", { class: "info-sharp" }))); | ||
return (h("div", { class: "chron-page", id: "isochron" }, h("h3", { class: "page-title" }, this.name), h("div", { class: "page-body" }, h("slot", null)), h("div", { class: "info-sharp" }))); | ||
} | ||
@@ -32,0 +32,0 @@ static get style() { return mapIsochronCss; } |
@@ -184,3 +184,3 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client'; | ||
{ id: 'areaMeasurement', type: 'measureArea', name: '面积量算', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_areaMeasurement.png' }, | ||
{ id: 'isochron', type: 'marker', name: '等时圈', customEvent: 'handleShowIsochronous', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
{ id: 'isochron', type: 'marker', name: '等时圈', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
{ id: 'clear', name: '清空', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
@@ -187,0 +187,0 @@ ]; |
@@ -306,3 +306,3 @@ import { r as registerInstance, c as createEvent, h } from './index-e304c267.js'; | ||
{ id: 'areaMeasurement', type: 'measureArea', name: '面积量算', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_areaMeasurement.png' }, | ||
{ id: 'isochron', type: 'marker', name: '等时圈', customEvent: 'handleShowIsochronous', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
{ id: 'isochron', type: 'marker', name: '等时圈', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
{ id: 'clear', name: '清空', icon: 'https://fe-1301391939.cos.ap-shanghai.myqcloud.com/yum/icon_marker.png' }, | ||
@@ -309,0 +309,0 @@ ]; |
@@ -10,3 +10,3 @@ import { r as registerInstance, c as createEvent, h } from './index-e304c267.js'; | ||
this.cancel = createEvent(this, "cancel", 7); | ||
this.name = '生成等时圈'; | ||
this.name = undefined; | ||
} | ||
@@ -28,3 +28,3 @@ confirmHandler(event) { | ||
render() { | ||
return (h("div", { class: "chron-page", id: "isochron" }, h("h3", { class: "page-title" }, this.name), h("div", { class: "page-body" }, h("slot", null)), h("div", { class: "page-footer" }, h("button", { type: "button", class: "primary", onClick: (event) => this.confirmHandler(event) }, "\u786E\u5B9A"), h("button", { type: "button", class: "side", onClick: (event) => this.cancelHandler(event) }, "\u53D6\u6D88")), h("div", { class: "info-sharp" }))); | ||
return (h("div", { class: "chron-page", id: "isochron" }, h("h3", { class: "page-title" }, this.name), h("div", { class: "page-body" }, h("slot", null)), h("div", { class: "info-sharp" }))); | ||
} | ||
@@ -31,0 +31,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
import{p as e,b as i}from"./p-b292496b.js";export{s as setNonce}from"./p-b292496b.js";const a=()=>{const i=import.meta.url;const a={};if(i!==""){a.resourcesUrl=new URL(".",i).href}return e(a)};a().then((e=>i([["p-bfb15b8c",[[1,"map-district",{visible:[4],source:[16],nameAlias:[1,"name-alias"],codeAlias:[1,"code-alias"],childrenAlias:[1,"children-alias"],districtType:[32],keyword:[32],list:[32],districtSelected:[32]}],[1,"map-toolbar",{gis:[8],mapInstance:[8,"map-instance"],visible:[4],offset:[8],operations:[16],placement:[1],mode:[1],color:[1],actions:[16],isClear:[4,"is-clear"],markerIconOptions:[16],overlayOptions:[16],infoWindowContent:[16]}]]],["p-679c7c0e",[[6,"map-isochron",{name:[1]}]]],["p-b61b9535",[[0,"map-legend",{visible:[4],dataMap:[16],left:[2],bottom:[2]}]]],["p-7f864b99",[[1,"map-toolbar-edit-panel",{visible:[4],actionType:[1,"action-type"],name:[32],description:[32]}]]]],e))); | ||
import{p as e,b as i}from"./p-b292496b.js";export{s as setNonce}from"./p-b292496b.js";const a=()=>{const i=import.meta.url;const a={};if(i!==""){a.resourcesUrl=new URL(".",i).href}return e(a)};a().then((e=>i([["p-bcd6c928",[[1,"map-district",{visible:[4],source:[16],nameAlias:[1,"name-alias"],codeAlias:[1,"code-alias"],childrenAlias:[1,"children-alias"],districtType:[32],keyword:[32],list:[32],districtSelected:[32]}],[1,"map-toolbar",{gis:[8],mapInstance:[8,"map-instance"],visible:[4],offset:[8],operations:[16],placement:[1],mode:[1],color:[1],actions:[16],isClear:[4,"is-clear"],markerIconOptions:[16],overlayOptions:[16],infoWindowContent:[16]}]]],["p-b9178d34",[[6,"map-isochron",{name:[1]}]]],["p-b61b9535",[[0,"map-legend",{visible:[4],dataMap:[16],left:[2],bottom:[2]}]]],["p-7f864b99",[[1,"map-toolbar-edit-panel",{visible:[4],actionType:[1,"action-type"],name:[32],description:[32]}]]]],e))); | ||
//# sourceMappingURL=gis-ui.esm.js.map |
@@ -33,3 +33,3 @@ /* eslint-disable */ | ||
/** | ||
* title | ||
* name | ||
*/ | ||
@@ -197,3 +197,3 @@ "name": string; | ||
/** | ||
* title | ||
* name | ||
*/ | ||
@@ -200,0 +200,0 @@ "name"?: string; |
@@ -8,3 +8,3 @@ import { EventEmitter } from '../../stencil-public-runtime'; | ||
/** | ||
* title | ||
* name | ||
*/ | ||
@@ -11,0 +11,0 @@ name: string; |
{ | ||
"name": "m-gis-ui", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "A component library based on Gaode Map API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
@@ -131,11 +131,4 @@ #### 地图组件库的使用 | ||
| ------------------- | ------------ | ----------- | -------- | ----------- | | ||
| `name` | `name` | title | `string` | `'生成等时圈'` | | ||
| `title` | `title` | title | `string` | | | ||
* 组件事件通信 | ||
| Event | Description | Type | | ||
| --------- | ------------ | ------------------ | | ||
| `cancel` | 点击取消时触发的通信事件 | `CustomEvent<any>` | | ||
| `confirm` | 点击确定时触发的通信事件 | `CustomEvent<any>` | | ||
#### 地图图例 | ||
@@ -142,0 +135,0 @@ * 组件使用 |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1447843
10068
146