@ccrpc/webmapgl 0.18.6 → 0.18.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/app-globals-62694daf.js.map +1 -1
- package/dist/cjs/gl-address-search_52.cjs.entry.js +31 -30
- package/dist/cjs/gl-address-search_52.cjs.entry.js.map +1 -1
- package/dist/cjs/gl-draw-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/gl-draw-toolbar.cjs.entry.js.map +1 -1
- package/dist/cjs/gl-facet_5.cjs.entry.js +1 -1
- package/dist/cjs/gl-facet_5.cjs.entry.js.map +1 -1
- package/dist/cjs/gl-like-button.cjs.entry.js +5 -5
- package/dist/cjs/gl-like-button.cjs.entry.js.map +1 -1
- package/dist/cjs/index.cjs.js +11 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/collection/components/address-search/address-search.js +4 -4
- package/dist/collection/components/address-search/address-search.js.map +1 -1
- package/dist/collection/components/app/app.js +1 -1
- package/dist/collection/components/app/app.js.map +1 -1
- package/dist/collection/components/attribute-values/attribute-values.js +1 -1
- package/dist/collection/components/basemaps/basemaps.js +2 -2
- package/dist/collection/components/basemaps/basemaps.js.map +1 -1
- package/dist/collection/components/download-button/download-button.js +3 -3
- package/dist/collection/components/download-button/download-button.js.map +1 -1
- package/dist/collection/components/download-list/download-list.js +2 -1
- package/dist/collection/components/download-list/download-list.js.map +1 -1
- package/dist/collection/components/draw-toolbar/draw-toolbar.js +4 -4
- package/dist/collection/components/draw-toolbar/draw-toolbar.js.map +1 -1
- package/dist/collection/components/drawer/drawer.js +4 -4
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/drawer-toggle/drawer-toggle.js +1 -1
- package/dist/collection/components/drawer-toggle/drawer-toggle.js.map +1 -1
- package/dist/collection/components/feature-list/feature-list.js +1 -1
- package/dist/collection/components/form-page/form-page.js +2 -2
- package/dist/collection/components/form-page/form-page.js.map +1 -1
- package/dist/collection/components/fullscreen/fullscreen.js +1 -1
- package/dist/collection/components/fullscreen/fullscreen.js.map +1 -1
- package/dist/collection/components/legend-item/legend-item.js +2 -2
- package/dist/collection/components/legend-item/legend-item.js.map +1 -1
- package/dist/collection/components/like-button/like-button.js +6 -6
- package/dist/collection/components/like-button/like-button.js.map +1 -1
- package/dist/collection/components/share/share.js +3 -3
- package/dist/collection/components/share/share.js.map +1 -1
- package/dist/collection/components/share-button/share-button.js +2 -2
- package/dist/collection/components/share-button/share-button.js.map +1 -1
- package/dist/collection/components/story-button/story-button.js +4 -4
- package/dist/collection/components/story-button/story-button.js.map +1 -1
- package/dist/collection/components/style/style.js +3 -3
- package/dist/collection/components/table-column-visibility/table-column-visibility.js +1 -1
- package/dist/collection/components/table-column-visibility/table-column-visibility.js.map +1 -1
- package/dist/collection/components/table-column-visibility-button/table-column-visibility-button.js +3 -3
- package/dist/collection/components/table-column-visibility-button/table-column-visibility-button.js.map +1 -1
- package/dist/collection/components/table-export-button/table-export-button.js +1 -1
- package/dist/collection/components/table-export-button/table-export-button.js.map +1 -1
- package/dist/collection/global/webmapgl.js +1 -0
- package/dist/collection/global/webmapgl.js.map +1 -1
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/esm/app-globals-755c21e9.js.map +1 -1
- package/dist/esm/gl-address-search_52.entry.js +32 -31
- package/dist/esm/gl-address-search_52.entry.js.map +1 -1
- package/dist/esm/gl-draw-controller.entry.js +1 -1
- package/dist/esm/gl-draw-toolbar.entry.js +3 -3
- package/dist/esm/gl-draw-toolbar.entry.js.map +1 -1
- package/dist/esm/gl-facet_5.entry.js +2 -2
- package/dist/esm/gl-facet_5.entry.js.map +1 -1
- package/dist/esm/gl-feature-list.entry.js +1 -1
- package/dist/esm/gl-like-button.entry.js +6 -6
- package/dist/esm/gl-like-button.entry.js.map +1 -1
- package/dist/esm/gl-table-export-controller.entry.js +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/{utils-0af5fee1.js → utils-e86257fd.js} +2 -2
- package/dist/esm/{utils-0af5fee1.js.map → utils-e86257fd.js.map} +1 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.ios.css +83 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.md.css +80 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.ios.css +17 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.md.css +64 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.ios.css +319 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.md.css +259 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.ios.css +503 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.md.css +531 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/app/app.css +17 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.ios.css +22 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.md.css +22 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.ios.css +246 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.md.css +269 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.ios.css +26 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.md.css +26 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.ios.css +50 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.md.css +54 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.ios.css +205 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.md.css +200 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +26 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.md.css +25 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/button/button.ios.css +431 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/button/button.md.css +408 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.ios.css +114 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.md.css +134 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card/card.ios.css +93 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card/card.md.css +88 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.ios.css +53 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.md.css +55 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.ios.css +31 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.md.css +28 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.ios.css +28 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.md.css +26 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.ios.css +27 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.md.css +27 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.ios.css +310 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.md.css +326 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.css +149 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/col/col.css +68 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +227 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +589 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +561 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +44 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab/fab.css +98 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.ios.css +312 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.md.css +283 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.css +123 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.ios.css +36 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.md.css +19 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/grid/grid.css +103 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/header/header.ios.css +106 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/header/header.md.css +23 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/img/img.css +12 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.css +8 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +46 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +46 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/input/input.ios.css +635 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/input/input.md.css +1077 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +646 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +908 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.ios.css +166 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.md.css +232 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.ios.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.md.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +142 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +136 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css +121 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css +118 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-sliding/item-sliding.css +66 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +164 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.md.css +251 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list/list.ios.css +63 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list/list.md.css +104 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.ios.css +107 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.md.css +88 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +95 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +86 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +167 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +163 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.ios.css +167 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.md.css +170 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-toggle/menu-toggle.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +247 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +162 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/nav/nav.css +10 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/note/note.ios.css +16 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/note/note.md.css +17 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.ios.css +257 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.md.css +244 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.ios.css +145 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.md.css +136 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +75 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +78 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +152 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +148 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.ios.css +250 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.md.css +157 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.ios.css +206 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.md.css +206 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.ios.css +331 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.md.css +354 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +469 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +614 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.ios.css +211 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.md.css +206 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.ios.css +15 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.md.css +15 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder-group/reorder-group.css +34 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/ripple-effect/ripple-effect.css +58 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/router-link/router-link.css +29 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/router-outlet/route-outlet.css +10 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/row/row.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.ios.css +354 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.md.css +339 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css +59 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.md.css +49 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.ios.css +410 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.md.css +396 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select/select.ios.css +552 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select/select.md.css +1025 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select-option/select-option.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.ios.css +14 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.md.css +37 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/skeleton-text/skeleton-text.css +53 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +177 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.ios.css +92 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.md.css +92 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab/tab.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.ios.css +87 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.md.css +74 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.ios.css +367 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.md.css +391 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tabs/tabs.css +19 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/text/text.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +693 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +1142 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/thumbnail/thumbnail.css +21 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/title/title.ios.css +119 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/title/title.md.css +47 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.ios.css +284 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.md.css +305 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +455 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +400 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.ios.css +161 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.md.css +136 -0
- package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +101 -0
- package/dist/types/global/webmapgl.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/webmapgl/index.esm.js +1 -1
- package/dist/webmapgl/{p-29a0ba94.entry.js → p-10ecfbc1.entry.js} +3 -3
- package/dist/webmapgl/p-10ecfbc1.entry.js.map +1 -0
- package/dist/webmapgl/{p-d8674de4.js → p-1109414b.js} +2 -2
- package/dist/webmapgl/p-41aed25d.entry.js +8 -0
- package/dist/webmapgl/p-41aed25d.entry.js.map +1 -0
- package/dist/webmapgl/{p-9a52a393.entry.js → p-4bdbedef.entry.js} +2 -2
- package/dist/webmapgl/{p-43063806.entry.js → p-60c4d25c.entry.js} +2 -2
- package/dist/webmapgl/{p-47516d22.entry.js → p-725281ca.entry.js} +2 -2
- package/dist/webmapgl/{p-8d22e12f.entry.js → p-8e93527b.entry.js} +2 -2
- package/dist/webmapgl/p-8e93527b.entry.js.map +1 -0
- package/dist/webmapgl/p-b3dc2acc.js.map +1 -1
- package/dist/webmapgl/{p-96e77bf2.entry.js → p-c61eaf23.entry.js} +2 -2
- package/dist/webmapgl/p-c61eaf23.entry.js.map +1 -0
- package/dist/webmapgl/webmapgl.css +1 -1
- package/dist/webmapgl/webmapgl.esm.js +1 -1
- package/package.json +4 -3
- package/CHANGELOG.md +0 -234
- package/dist/webmapgl/p-29a0ba94.entry.js.map +0 -1
- package/dist/webmapgl/p-8d22e12f.entry.js.map +0 -1
- package/dist/webmapgl/p-96e77bf2.entry.js.map +0 -1
- package/dist/webmapgl/p-99a83939.entry.js +0 -8
- package/dist/webmapgl/p-99a83939.entry.js.map +0 -1
- /package/dist/webmapgl/{p-d8674de4.js.map → p-1109414b.js.map} +0 -0
- /package/dist/webmapgl/{p-9a52a393.entry.js.map → p-4bdbedef.entry.js.map} +0 -0
- /package/dist/webmapgl/{p-43063806.entry.js.map → p-60c4d25c.entry.js.map} +0 -0
- /package/dist/webmapgl/{p-47516d22.entry.js.map → p-725281ca.entry.js.map} +0 -0
|
@@ -42,12 +42,12 @@ const DrawToolbar = class {
|
|
|
42
42
|
}
|
|
43
43
|
cancel() {
|
|
44
44
|
this.glDrawCancel.emit({
|
|
45
|
-
mapId: this.mapId
|
|
45
|
+
mapId: this.mapId
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
confirm() {
|
|
49
49
|
this.glDrawConfirm.emit({
|
|
50
|
-
mapId: this.mapId
|
|
50
|
+
mapId: this.mapId
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
@@ -56,7 +56,7 @@ const DrawToolbar = class {
|
|
|
56
56
|
let small = screen.width <= 640;
|
|
57
57
|
let canConfirm = this.featureCount >= this.minFeatures &&
|
|
58
58
|
this.featureCount <= this.maxFeatures;
|
|
59
|
-
return (h("ion-toolbar", { color: this.color }, h("ion-title", null, this.label), h("ion-buttons", { slot: "end" }, h("ion-button", { onClick: this.callCancel }, h("ion-icon", { slot: small ? "icon-only" : "start", name: "close" }), small ? null : this.cancelText), h("ion-button", { onClick: canConfirm ? this.callConfirm : undefined, disabled: !canConfirm }, h("ion-icon", { slot: small ? "icon-only" : "start", name: "checkmark" }), small ? null : this.confirmText))));
|
|
59
|
+
return (h("ion-toolbar", { color: this.color }, h("ion-title", null, this.label), h("ion-buttons", { slot: "end" }, h("ion-button", { onClick: this.callCancel, "aria-label": this.cancelText }, h("ion-icon", { slot: small ? "icon-only" : "start", name: "close", "aria-hidden": "true" }), small ? null : this.cancelText), h("ion-button", { onClick: canConfirm ? this.callConfirm : undefined, disabled: !canConfirm, "aria-label": this.confirmText }, h("ion-icon", { slot: small ? "icon-only" : "start", name: "checkmark", "aria-hidden": "true" }), small ? null : this.confirmText))));
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"gl-draw-toolbar.entry.js","mappings":";;;;MAea,WAAW;;;;;IAwFd,eAAU,GAAG,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC;IACjC,gBAAW,GAAG,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC;mBA9Ef,KAAK;wBACT,CAAC;sBAKa,EAAE,CAAC,8BAA8B,CAAC;iBAKxC,SAAS;uBAKF,EAAE,CAAC,+BAA+B,CAAC;iBAKzC,EAAE,CAAC,6BAA6B,CAAC;iBAOjC,EAAE;uBAKI,CAAC;uBAKD,CAAC;;EAGxC,eAAe,CAAC,CAAc;IAC5B,IAAI,CAAC,CAAC,MAAM,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK;MAAE,OAAO;IAC1C,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC;IACtB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;GACrB;EAGD,cAAc,CAAC,CAAc;IAC3B,IAAI,CAAC,CAAC,MAAM,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK;MAAE,OAAO;IAC1C,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;GACtB;EAGD,gBAAgB,CAAC,CAAc;IAC7B,IAAI,CAAC,CAAC,MAAM,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK;MAAE,OAAO;IAC1C,IAAI,CAAC,YAAY,IAAI,CAAC,CAAC;GACxB;EAGD,gBAAgB,CAAC,CAAc;IAC7B,IAAI,C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GAAG,OAAO,EACnC,IAAI,EAAC,OAAO,iBACA,MAAM,GACR,EACX,KAAK,GAAG,IAAI,GAAG,IAAI,CAAC,UAAU,CACpB,EACb,kBACE,OAAO,EAAE,UAAU,GAAG,IAAI,CAAC,WAAW,GAAG,SAAS,EAClD,QAAQ,EAAE,CAAC,UAAU,gBACT,IAAI,CAAC,WAAW,IAE5B,gBACE,IAAI,EAAE,KAAK,GAAG,WAAW,GAAG,OAAO,EACnC,IAAI,EAAC,WAAW,iBACJ,MAAM,GACR,EACX,KAAK,GAAG,IAAI,GAAG,IAAI,CAAC,WAAW,CACrB,CACD,CACF,EACd;GACH;;;;;","names":[],"sources":["src/components/draw-toolbar/draw-toolbar.tsx"],"sourcesContent":["import {\n h,\n Component,\n Event,\n EventEmitter,\n Listen,\n Prop,\n State\n} from \"@stencil/core\";\nimport { Color } from \"@ionic/core\";\nimport { _t } from \"../i18n/i18n\";\n\n@Component({\n tag: \"gl-draw-toolbar\"\n})\nexport class DrawToolbar {\n /**\n * Emitted when the user cancels the draw session.\n */\n @Event() glDrawCancel: EventEmitter;\n\n /**\n * Emitted when the user confirms the drawn features.\n */\n @Event() glDrawConfirm: EventEmitter;\n\n @State() visible: boolean = false;\n @State() featureCount = 0;\n\n /**\n * Text for the cancel button.\n */\n @Prop() readonly cancelText: string = _t(\"webmapgl.draw-toolbar.cancel\");\n\n /**\n * Background color for the toolbar.\n */\n @Prop() readonly color: Color = \"primary\";\n\n /**\n * Text for the confirm button.\n */\n @Prop() readonly confirmText: string = _t(\"webmapgl.draw-toolbar.confirm\");\n\n /**\n * Label for the toolbar.\n */\n @Prop() readonly label: string = _t(\"webmapgl.draw-toolbar.label\");\n\n /**\n * ID of the map with the drawing session.\n *\n * This defaults to the empty string as when a gl-map element is created without an id, the mapId passed along the glDraw events defaults to the empty string.\n */\n @Prop() readonly mapId: string = \"\";\n\n /**\n * Maximum number of features the user can draw.\n */\n @Prop() readonly maxFeatures: number = 1;\n\n /**\n * Minimum number of features the user must draw before confirming.\n */\n @Prop() readonly minFeatures: number = 1;\n\n @Listen(\"glDrawEnter\", { target: \"body\" })\n handleDrawEnter(e: CustomEvent) {\n if (e.detail.mapId !== this.mapId) return;\n this.featureCount = 0;\n this.visible = true;\n }\n\n @Listen(\"glDrawExit\", { target: \"body\" })\n handleDrawExit(e: CustomEvent) {\n if (e.detail.mapId !== this.mapId) return;\n this.visible = false;\n }\n\n @Listen(\"glDrawCreate\", { target: \"body\" })\n handleDrawCreate(e: CustomEvent) {\n if (e.detail.mapId !== this.mapId) return;\n this.featureCount += 1;\n }\n\n @Listen(\"glDrawDelete\", { target: \"body\" })\n handleDrawDelete(e: CustomEvent) {\n if (e.detail.mapId !== this.mapId) return;\n this.featureCount -= 1;\n }\n\n private cancel() {\n this.glDrawCancel.emit({\n mapId: this.mapId\n });\n }\n\n private confirm() {\n this.glDrawConfirm.emit({\n mapId: this.mapId\n });\n }\n\n private callCancel = () => this.cancel();\n private callConfirm = () => this.confirm();\n\n render() {\n if (!this.visible) return;\n\n let small = screen.width <= 640;\n let canConfirm =\n this.featureCount >= this.minFeatures &&\n this.featureCount <= this.maxFeatures;\n return (\n <ion-toolbar color={this.color}>\n <ion-title>{this.label}</ion-title>\n <ion-buttons slot=\"end\">\n <ion-button onClick={this.callCancel} aria-label={this.cancelText}>\n <ion-icon\n slot={small ? \"icon-only\" : \"start\"}\n name=\"close\"\n aria-hidden=\"true\"\n ></ion-icon>\n {small ? null : this.cancelText}\n </ion-button>\n <ion-button\n onClick={canConfirm ? this.callConfirm : undefined}\n disabled={!canConfirm}\n aria-label={this.confirmText}\n >\n <ion-icon\n slot={small ? \"icon-only\" : \"start\"}\n name=\"checkmark\"\n aria-hidden=\"true\"\n ></ion-icon>\n {small ? null : this.confirmText}\n </ion-button>\n </ion-buttons>\n </ion-toolbar>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, f as createEvent, h, d as getElement, H as Host } from './index-cb74209c.js';
|
|
2
|
-
import { c as getThumbnail } from './utils-
|
|
2
|
+
import { c as getThumbnail } from './utils-e86257fd.js';
|
|
3
3
|
import { _ as _t } from './i18n-c66f020d.js';
|
|
4
4
|
import { g as getTimeGivenProgression } from './cubic-bezier-67bf1f69.js';
|
|
5
5
|
import { e as assert, s as shallowEqualStringMap } from './helpers-c8e73cb5.js';
|
|
@@ -187,7 +187,7 @@ const FormPage = class {
|
|
|
187
187
|
}
|
|
188
188
|
render() {
|
|
189
189
|
let small = screen.width <= 640;
|
|
190
|
-
return (h(Host, { class: `gl-form-page-facet-${this.formFacet || "none"}` }, h("ion-header", null, h("ion-toolbar", { color: "primary" }, !this.root ? (h("ion-buttons", { slot: "start" }, h("ion-nav-pop", null, h("ion-button",
|
|
190
|
+
return (h(Host, { class: `gl-form-page-facet-${this.formFacet || "none"}` }, h("ion-header", null, h("ion-toolbar", { color: "primary" }, !this.root ? (h("ion-buttons", { slot: "start" }, h("ion-nav-pop", null, h("ion-button", { "aria-label": "Back" }, h("ion-icon", { slot: small ? "icon-only" : "start", name: "arrow-back", "aria-hidden": "true" }), small ? null : this.backText)))) : null, h("ion-title", null, this.label), h("ion-buttons", { slot: "end" }, h("ion-button", { onClick: this.clickCancel }, h("ion-icon", { slot: small ? "icon-only" : "start", name: "close", "aria-hidden": "true" }), small ? null : this.cancelText), h("ion-button", { onClick: this.clickSubmit, disabled: !this.canSubmit, "aria-label": "Submit" }, h("ion-icon", { slot: small ? "icon-only" : "start", name: "checkmark", "aria-hidden": "true" }), small ? null : this.submitText)))), h("ion-content", null, h("ion-list", null, this.renderFacets(), this.renderFields()))));
|
|
191
191
|
}
|
|
192
192
|
get el() { return getElement(this); }
|
|
193
193
|
};
|