@esri/solutions-components 0.10.33 → 0.10.35
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +6 -6
- package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-alert_5.cjs.entry.js +7 -5
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-flow_4.cjs.entry.js +18 -16
- package/dist/cjs/{calcite-modal_3.cjs.entry.js → calcite-modal.cjs.entry.js} +27 -368
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell_3.cjs.entry.js +440 -0
- package/dist/cjs/card-manager_3.cjs.entry.js +114 -10
- package/dist/cjs/crowdsource-manager.cjs.entry.js +16 -6
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +24 -21
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +4 -4
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +2 -2
- package/dist/cjs/layout-manager.cjs.entry.js +1 -1
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +1 -1
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
- package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
- package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -1
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/collection/assets/t9n/delete-dialog/resources.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_ar.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_bg.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_bs.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_ca.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_cs.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_da.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_de.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_el.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_en.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_es.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_et.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_fi.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_fr.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_he.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_hr.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_hu.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_id.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_it.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_ja.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_ko.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_lt.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_lv.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_nb.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_nl.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_pl.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_pt-BR.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_pt-PT.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_ro.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_ru.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_sk.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_sl.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_sr.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_sv.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_th.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_tr.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_uk.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_vi.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_zh-CN.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_zh-HK.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_zh-TW.json +8 -0
- package/dist/collection/assets/t9n/map-card/resources.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_en.json +2 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/create-feature/create-feature.css +2 -1
- package/dist/collection/components/create-feature/create-feature.js +3 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +38 -5
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +24 -21
- package/dist/collection/components/delete-button/delete-button.js +20 -27
- package/dist/collection/components/delete-dialog/delete-dialog.css +23 -0
- package/dist/collection/components/delete-dialog/delete-dialog.js +239 -0
- package/dist/collection/components/edit-card/edit-card.js +1 -1
- package/dist/collection/components/feature-comments/feature-comments.js +1 -1
- package/dist/collection/components/feature-details/feature-details.js +13 -11
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
- package/dist/collection/components/feature-list/feature-list.js +4 -4
- package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-list/layer-list.js +5 -5
- package/dist/collection/components/layer-table/layer-table.css +6 -0
- package/dist/collection/components/layer-table/layer-table.js +53 -7
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
- package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
- package/dist/collection/components/map-card/map-card.js +168 -2
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +1 -1
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/share-item/share-item.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/components/card-manager2.js +40 -34
- package/dist/components/create-feature2.js +4 -2
- package/dist/components/crowdsource-manager.js +115 -98
- package/dist/components/crowdsource-reporter.js +110 -101
- package/dist/components/delete-button2.js +24 -41
- package/dist/components/delete-dialog.d.ts +11 -0
- package/dist/components/delete-dialog.js +11 -0
- package/dist/components/delete-dialog2.js +165 -0
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-details2.js +67 -59
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/feature-list2.js +4 -4
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/info-card2.js +38 -32
- package/dist/components/instant-apps-time-filter.js +2 -2
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/layer-list2.js +5 -5
- package/dist/components/layer-table2.js +111 -82
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/map-card2.js +157 -60
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +1 -1
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/public-notification.js +1 -1
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/share-item.js +1 -1
- package/dist/components/solution-configuration.js +3 -3
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-accordion.js +1 -1
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +6 -6
- package/dist/esm/buffer-tools_3.entry.js +1 -1
- package/dist/esm/calcite-alert_5.entry.js +7 -5
- package/dist/esm/calcite-combobox_3.entry.js +1 -1
- package/dist/esm/calcite-flow_4.entry.js +18 -16
- package/dist/esm/{calcite-modal_3.entry.js → calcite-modal.entry.js} +30 -369
- package/dist/esm/calcite-shell-panel_14.entry.js +7 -7
- package/dist/esm/calcite-shell_3.entry.js +434 -0
- package/dist/esm/card-manager_3.entry.js +114 -10
- package/dist/esm/crowdsource-manager.entry.js +16 -6
- package/dist/esm/crowdsource-reporter.entry.js +24 -21
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +4 -4
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/instant-apps-time-filter.entry.js +2 -2
- package/dist/esm/layout-manager.entry.js +1 -1
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +3 -3
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/public-notification.entry.js +1 -1
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/solution-configuration.entry.js +3 -3
- package/dist/esm/solution-contents_3.entry.js +3 -3
- package/dist/esm/solution-item-accordion.entry.js +1 -1
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/solutions-components/assets/t9n/delete-dialog/resources.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_ar.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_bg.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_bs.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_ca.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_cs.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_da.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_de.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_el.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_en.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_es.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_et.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_fi.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_fr.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_he.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_hr.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_hu.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_id.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_it.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_ja.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_ko.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_lt.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_lv.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_nb.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_nl.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_pl.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_pt-BR.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_pt-PT.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_ro.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_ru.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_sk.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_sl.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_sr.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_sv.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_th.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_tr.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_uk.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_vi.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_zh-CN.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_zh-HK.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_zh-TW.json +8 -0
- package/dist/solutions-components/assets/t9n/map-card/resources.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_en.json +2 -1
- package/dist/solutions-components/{p-6c3261d7.entry.js → p-06364211.entry.js} +1 -1
- package/dist/solutions-components/{p-d119872d.entry.js → p-18089a0b.entry.js} +1 -1
- package/dist/solutions-components/p-1f07e21a.entry.js +6 -0
- package/dist/solutions-components/p-2a6ecaa9.entry.js +11 -0
- package/dist/solutions-components/p-3a513c67.entry.js +6 -0
- package/dist/solutions-components/p-46416e11.entry.js +6 -0
- package/dist/solutions-components/{p-a8525233.entry.js → p-588adf13.entry.js} +1 -1
- package/dist/solutions-components/{p-5fc0e134.entry.js → p-59ccd27c.entry.js} +1 -1
- package/dist/solutions-components/p-5eb9a413.entry.js +6 -0
- package/dist/solutions-components/{p-42f75c8f.entry.js → p-6502d0f8.entry.js} +1 -1
- package/dist/solutions-components/p-70c0050c.entry.js +6 -0
- package/dist/solutions-components/p-74bcef23.entry.js +11 -0
- package/dist/solutions-components/{p-4cb12506.entry.js → p-76154700.entry.js} +1 -1
- package/dist/solutions-components/p-82ddf716.entry.js +6 -0
- package/dist/solutions-components/{p-d08ece15.entry.js → p-841816a1.entry.js} +1 -1
- package/dist/solutions-components/{p-4f5913f3.entry.js → p-89046451.entry.js} +1 -1
- package/dist/solutions-components/p-938bc915.entry.js +6 -0
- package/dist/solutions-components/{p-fa7672c7.entry.js → p-9d56f4b5.entry.js} +1 -1
- package/dist/solutions-components/p-9da8a590.entry.js +6 -0
- package/dist/solutions-components/{p-5fdb8f83.entry.js → p-a5d79c86.entry.js} +1 -1
- package/dist/solutions-components/{p-dd0bd439.entry.js → p-b4c49411.entry.js} +2 -2
- package/dist/solutions-components/p-b86b2664.entry.js +6 -0
- package/dist/solutions-components/{p-ddc1218d.entry.js → p-be4c7ffd.entry.js} +1 -1
- package/dist/solutions-components/{p-ffa9a117.entry.js → p-cb3199f9.entry.js} +1 -1
- package/dist/solutions-components/{p-a07322cc.entry.js → p-df7de4b7.entry.js} +1 -1
- package/dist/solutions-components/{p-1f072e2c.entry.js → p-eadff42b.entry.js} +1 -1
- package/dist/solutions-components/{p-8a411917.entry.js → p-ecf642c2.entry.js} +1 -1
- package/dist/solutions-components/{p-06db1bfd.entry.js → p-efb4cb43.entry.js} +1 -1
- package/dist/solutions-components/{p-e4a42efa.entry.js → p-fa1c368c.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +8 -0
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +6 -1
- package/dist/types/components/delete-button/delete-button.d.ts +4 -12
- package/dist/types/components/delete-dialog/delete-dialog.d.ts +75 -0
- package/dist/types/components/layer-table/layer-table.d.ts +21 -1
- package/dist/types/components/map-card/map-card.d.ts +46 -1
- package/dist/types/components.d.ts +117 -0
- package/dist/types/preact.d.ts +5 -0
- package/package.json +2 -2
- package/dist/solutions-components/p-084719d6.entry.js +0 -6
- package/dist/solutions-components/p-3bcdf332.entry.js +0 -6
- package/dist/solutions-components/p-51e2500f.entry.js +0 -6
- package/dist/solutions-components/p-52280e10.entry.js +0 -17
- package/dist/solutions-components/p-67ca4a64.entry.js +0 -6
- package/dist/solutions-components/p-710bd9ec.entry.js +0 -6
- package/dist/solutions-components/p-7e6a8c06.entry.js +0 -6
- package/dist/solutions-components/p-8e6081e0.entry.js +0 -6
- package/dist/solutions-components/p-b9b77b87.entry.js +0 -6
- package/dist/solutions-components/p-edd88d2d.entry.js +0 -6
@@ -7,21 +7,22 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
7
7
|
import { g as getLocaleComponentStrings } from './locale.js';
|
8
8
|
import { l as loadModules } from './loadModules.js';
|
9
9
|
import { P as PopupUtils } from './popupUtils.js';
|
10
|
-
import { d as defineCustomElement$
|
11
|
-
import { d as defineCustomElement$
|
12
|
-
import { d as defineCustomElement$
|
13
|
-
import { d as defineCustomElement$
|
14
|
-
import { d as defineCustomElement$
|
15
|
-
import { d as defineCustomElement$
|
16
|
-
import { d as defineCustomElement$
|
17
|
-
import { d as defineCustomElement$
|
18
|
-
import { d as defineCustomElement$
|
19
|
-
import { d as defineCustomElement$
|
20
|
-
import { d as defineCustomElement$
|
21
|
-
import { d as defineCustomElement$
|
22
|
-
import { d as defineCustomElement$
|
23
|
-
import { d as defineCustomElement$
|
24
|
-
import { d as defineCustomElement$
|
10
|
+
import { d as defineCustomElement$h } from './action.js';
|
11
|
+
import { d as defineCustomElement$g } from './action-menu.js';
|
12
|
+
import { d as defineCustomElement$f } from './alert.js';
|
13
|
+
import { d as defineCustomElement$e } from './button.js';
|
14
|
+
import { d as defineCustomElement$d } from './chip.js';
|
15
|
+
import { d as defineCustomElement$c } from './icon.js';
|
16
|
+
import { d as defineCustomElement$b } from './loader.js';
|
17
|
+
import { d as defineCustomElement$a } from './modal.js';
|
18
|
+
import { d as defineCustomElement$9 } from './notice.js';
|
19
|
+
import { d as defineCustomElement$8 } from './panel.js';
|
20
|
+
import { d as defineCustomElement$7 } from './popover.js';
|
21
|
+
import { d as defineCustomElement$6 } from './scrim.js';
|
22
|
+
import { d as defineCustomElement$5 } from './shell.js';
|
23
|
+
import { d as defineCustomElement$4 } from './tooltip.js';
|
24
|
+
import { d as defineCustomElement$3 } from './delete-button2.js';
|
25
|
+
import { d as defineCustomElement$2 } from './delete-dialog2.js';
|
25
26
|
import { d as defineCustomElement$1 } from './edit-card2.js';
|
26
27
|
|
27
28
|
const infoCardCss = ":host{display:block;--calcite-label-margin-bottom:0}.padding-1-2{padding:0.5rem}.display-none{display:none !important}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.feature-node{position:relative !important}.feature-node .esri-features__footer{display:none !important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-color-foreground-1) !important;height:100% !important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:bold}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}";
|
@@ -236,8 +237,8 @@ const InfoCard = /*@__PURE__*/ proxyCustomElement(class InfoCard extends HTMLEle
|
|
236
237
|
const id = this._features?.selectedFeature?.getObjectId();
|
237
238
|
const ids = parseInt(id?.toString(), 10) > -1 ? [id] : [];
|
238
239
|
const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
|
239
|
-
return (h(Host, { key: '
|
240
|
-
h("div", { key: '
|
240
|
+
return (h(Host, { key: 'e200fd8d903d1c3295247a45f352ae62394501d5' }, h("calcite-shell", { key: '0b467ed0b480944660ef2194b302070d56cb70e4', style: { position: this.position } }, this._getHeader(), h("calcite-loader", { key: 'cf6172f533f67274b04ac61af75f44ffe62cbc9e', class: loadingClass, label: this._translations.fetchingData }), h("div", { key: '06f3e0c61e14fe73c0fadd58c3cf2c7c03efff6d', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), h("div", { key: '0f964afa075abbd27db827f90d189b9bc2a7c9d4', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
|
241
|
+
h("div", { key: 'd518934d172425ecb46e6b28ea683427d8982382', class: "display-flex top-border padding-1-2" }, h("calcite-button", { key: '4d4f3583b6448e33e3d3ad1aba8c9178f71d75b8', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (h("delete-button", { class: "padding-inline-start-1 width-100", id: "solutions-delete", ids: ids, layer: this._layer, onEditsComplete: () => this._closePopup() })) : undefined, h("calcite-tooltip", { key: '5358ba4079f1906d23b6df5b1facb84eec9692d3', placement: "bottom", "reference-element": "solutions-edit" }, h("span", { key: '8466cfb97ce12e46a06ed665afe974377911e101' }, this._translations.edit)), this.isMobile ? (h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && h("div", { key: '61c551cc2b0c0a2981daa9bf67c7e13318508ca6', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, h("div", { key: '379dc6697743caedf8fdbea16423b83e9e823a5b' }, h("calcite-button", { key: '616a52367d2f56db0104ce279951a81fcf60a376', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), h("calcite-tooltip", { key: 'f7f83e145c25591de025650fd358ca6200c4b6c5', placement: "top", "reference-element": "solutions-back" }, h("span", { key: '8afbde57b91ee8597de237db87efda7eabc10d69' }, this._translations.back))), h("calcite-action", { key: '23344d4abac515d089b8770d63181a989971aa33', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, h("span", { key: 'a4c784c5a2c7dfeb9442a58f86961a3242f55055', class: "pagination-count" }, this._count)), h("div", { key: '75e33452a93e9a77f30505957e87b8758ab8d2dd' }, h("calcite-button", { key: '0283a96c401e1929588e28d6ec014eb28b93d1f1', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), h("calcite-tooltip", { key: '658a26b1bca471b96799cb81ee941f0556619dc9', placement: "top", "reference-element": "solutions-next" }, h("span", { key: '9892d4ee61a1b5656711bb0a188282d9b46bd3f9' }, this._translations.next))))), h("edit-card", { key: '541268c24631ab526bf1b65313d39f3ca606cb6d', class: editClass, enableEditGeometry: this.enableEditGeometry, graphicIndex: this._features?.selectedFeatureIndex, graphics: this.graphics, mapView: this.mapView, open: this._editRecordOpen }), h("calcite-alert", { key: '1cdff00f5d7e72b5db220750d290593a1baf68c4', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, h("div", { key: 'bb250c5906f0e998a794b5c02c22f9643fab16a9', slot: "title" }, this._translations.editDisabled), h("div", { key: 'd330d1ce74473fc76630d2607ab3ca2584aabbd7', slot: "message" }, this._translations.enableEditing)))));
|
241
242
|
}
|
242
243
|
//--------------------------------------------------------------------------
|
243
244
|
//
|
@@ -440,7 +441,7 @@ function defineCustomElement() {
|
|
440
441
|
if (typeof customElements === "undefined") {
|
441
442
|
return;
|
442
443
|
}
|
443
|
-
const components = ["info-card", "calcite-action", "calcite-action-menu", "calcite-alert", "calcite-button", "calcite-chip", "calcite-icon", "calcite-loader", "calcite-modal", "calcite-notice", "calcite-panel", "calcite-popover", "calcite-scrim", "calcite-shell", "calcite-tooltip", "delete-button", "edit-card"];
|
444
|
+
const components = ["info-card", "calcite-action", "calcite-action-menu", "calcite-alert", "calcite-button", "calcite-chip", "calcite-icon", "calcite-loader", "calcite-modal", "calcite-notice", "calcite-panel", "calcite-popover", "calcite-scrim", "calcite-shell", "calcite-tooltip", "delete-button", "delete-dialog", "edit-card"];
|
444
445
|
components.forEach(tagName => { switch (tagName) {
|
445
446
|
case "info-card":
|
446
447
|
if (!customElements.get(tagName)) {
|
@@ -449,75 +450,80 @@ function defineCustomElement() {
|
|
449
450
|
break;
|
450
451
|
case "calcite-action":
|
451
452
|
if (!customElements.get(tagName)) {
|
452
|
-
defineCustomElement$
|
453
|
+
defineCustomElement$h();
|
453
454
|
}
|
454
455
|
break;
|
455
456
|
case "calcite-action-menu":
|
456
457
|
if (!customElements.get(tagName)) {
|
457
|
-
defineCustomElement$
|
458
|
+
defineCustomElement$g();
|
458
459
|
}
|
459
460
|
break;
|
460
461
|
case "calcite-alert":
|
461
462
|
if (!customElements.get(tagName)) {
|
462
|
-
defineCustomElement$
|
463
|
+
defineCustomElement$f();
|
463
464
|
}
|
464
465
|
break;
|
465
466
|
case "calcite-button":
|
466
467
|
if (!customElements.get(tagName)) {
|
467
|
-
defineCustomElement$
|
468
|
+
defineCustomElement$e();
|
468
469
|
}
|
469
470
|
break;
|
470
471
|
case "calcite-chip":
|
471
472
|
if (!customElements.get(tagName)) {
|
472
|
-
defineCustomElement$
|
473
|
+
defineCustomElement$d();
|
473
474
|
}
|
474
475
|
break;
|
475
476
|
case "calcite-icon":
|
476
477
|
if (!customElements.get(tagName)) {
|
477
|
-
defineCustomElement$
|
478
|
+
defineCustomElement$c();
|
478
479
|
}
|
479
480
|
break;
|
480
481
|
case "calcite-loader":
|
481
482
|
if (!customElements.get(tagName)) {
|
482
|
-
defineCustomElement$
|
483
|
+
defineCustomElement$b();
|
483
484
|
}
|
484
485
|
break;
|
485
486
|
case "calcite-modal":
|
486
487
|
if (!customElements.get(tagName)) {
|
487
|
-
defineCustomElement$
|
488
|
+
defineCustomElement$a();
|
488
489
|
}
|
489
490
|
break;
|
490
491
|
case "calcite-notice":
|
491
492
|
if (!customElements.get(tagName)) {
|
492
|
-
defineCustomElement$
|
493
|
+
defineCustomElement$9();
|
493
494
|
}
|
494
495
|
break;
|
495
496
|
case "calcite-panel":
|
496
497
|
if (!customElements.get(tagName)) {
|
497
|
-
defineCustomElement$
|
498
|
+
defineCustomElement$8();
|
498
499
|
}
|
499
500
|
break;
|
500
501
|
case "calcite-popover":
|
501
502
|
if (!customElements.get(tagName)) {
|
502
|
-
defineCustomElement$
|
503
|
+
defineCustomElement$7();
|
503
504
|
}
|
504
505
|
break;
|
505
506
|
case "calcite-scrim":
|
506
507
|
if (!customElements.get(tagName)) {
|
507
|
-
defineCustomElement$
|
508
|
+
defineCustomElement$6();
|
508
509
|
}
|
509
510
|
break;
|
510
511
|
case "calcite-shell":
|
511
512
|
if (!customElements.get(tagName)) {
|
512
|
-
defineCustomElement$
|
513
|
+
defineCustomElement$5();
|
513
514
|
}
|
514
515
|
break;
|
515
516
|
case "calcite-tooltip":
|
516
517
|
if (!customElements.get(tagName)) {
|
517
|
-
defineCustomElement$
|
518
|
+
defineCustomElement$4();
|
518
519
|
}
|
519
520
|
break;
|
520
521
|
case "delete-button":
|
522
|
+
if (!customElements.get(tagName)) {
|
523
|
+
defineCustomElement$3();
|
524
|
+
}
|
525
|
+
break;
|
526
|
+
case "delete-dialog":
|
521
527
|
if (!customElements.get(tagName)) {
|
522
528
|
defineCustomElement$2();
|
523
529
|
}
|
@@ -29,7 +29,7 @@ const { state, onChange } = createStore({
|
|
29
29
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
30
30
|
See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
31
31
|
*/
|
32
|
-
let e$a;function has(a){return "function"==typeof e$a[a]?e$a[a]=e$a[a](globalThis):e$a[a]}e$a=globalThis.dojoConfig?.has||globalThis.esriConfig?.has?{...globalThis.dojoConfig?.has,...globalThis.esriConfig?.has}:{},has.add=(a,d,o,i)=>{(i||void 0===e$a[a])&&(e$a[a]=d),o&&has(a);},has.cache=e$a,has.add("big-integer-warning-enabled",!0),has.add("esri-deprecation-warnings",!0),has.add("esri-tests-disable-screenshots",!1),has.add("esri-tests-use-full-window",!1),has.add("esri-tests-post-to-influx",!0),has.add("esri-cim-animations-enable-status","enabled"),has.add("esri-cim-animations-spotlight",!1),has.add("esri-cim-animations-freeze-time",!1),(()=>{has.add("host-webworker",void 0!==globalThis.WorkerGlobalScope&&self instanceof globalThis.WorkerGlobalScope);const e="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document;if(has.add("host-browser",e),has.add("host-node","object"==typeof globalThis.process&&globalThis.process.versions?.node&&globalThis.process.versions.v8),has.add("dom",e),has("host-browser")){const e=navigator,a=e.userAgent,d=e.appVersion,o=parseFloat(d);if(has.add("wp",parseFloat(a.split("Windows Phone")[1])||void 0),has.add("msapp",parseFloat(a.split("MSAppHost/")[1])||void 0),has.add("khtml",d.includes("Konqueror")?o:void 0),has.add("edge",parseFloat(a.split("Edge/")[1])||void 0),has.add("opr",parseFloat(a.split("OPR/")[1])||void 0),has.add("webkit",!has("wp")&&!has("edge")&&parseFloat(a.split("WebKit/")[1])||void 0),has.add("chrome",!has("edge")&&!has("opr")&&parseFloat(a.split("Chrome/")[1])||void 0),has.add("android",!has("wp")&&parseFloat(a.split("Android ")[1])||void 0),has.add("safari",!d.includes("Safari")||has("wp")||has("chrome")||has("android")||has("edge")||has("opr")?void 0:parseFloat(d.split("Version/")[1])),has.add("mac",d.includes("Macintosh")),!has("wp")&&/(iPhone|iPod|iPad)/.test(a)){const e=RegExp.$1.replace(/P/,"p"),d=/OS ([\d_]+)/.test(a)?RegExp.$1:"1",o=parseFloat(d.replace(/_/,".").replaceAll("_",""));has.add(e,o),has.add("ios",o);}has("webkit")||(!a.includes("Gecko")||has("wp")||has("khtml")||has("edge")||has.add("mozilla",o),has("mozilla")&&has.add("ff",parseFloat(a.split("Firefox/")[1]||a.split("Minefield/")[1])||void 0));}})(),(()=>{if(globalThis.navigator){const e=navigator.userAgent,a=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(e),d=/iPhone/i.test(e);a&&has.add("esri-mobile",a),d&&has.add("esri-iPhone",d),has.add("esri-geolocation",!!navigator.geolocation);}has.add("esri-wasm","WebAssembly"in globalThis),has.add("esri-performance-mode-frames-between-render",20),has.add("esri-force-performance-mode",!1),has.add("esri-shared-array-buffer",(()=>{const e="SharedArrayBuffer"in globalThis,a=!1===globalThis.crossOriginIsolated;return e&&!a})),has.add("wasm-simd",(()=>{const e=[0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11];return WebAssembly.validate(new Uint8Array(e))})),has.add("esri-atomics","Atomics"in globalThis),has.add("esri-workers","Worker"in globalThis),has.add("web-feat:cache","caches"in globalThis),has.add("esri-workers-arraybuffer-transfer",!has("safari")||Number(has("safari"))>=12),has.add("workers-pool-size",8),has.add("featurelayer-simplify-thresholds",[.5,.5,.5,.5]),has.add("featurelayer-simplify-payload-size-factors",[1,1,4]),has.add("featurelayer-fast-triangulation-enabled",!0),has.add("featurelayer-animation-enabled",!0),has.add("featurelayer-snapshot-enabled",!0),has.add("featurelayer-snapshot-point-min-threshold",8e4),has.add("featurelayer-snapshot-point-max-threshold",4e5),has.add("featurelayer-snapshot-point-coverage",.1),has.add("featurelayer-query-max-depth",4),has.add("featurelayer-query-pausing-enabled",!1),has.add("featurelayer-advanced-symbols",!1),has.add("featurelayer-pbf",!0),has.add("featurelayer-pbf-statistics",!1),has.add("feature-layers-workers",!0),has.add("feature-polyline-generalization-factor",1),has.add("mapview-transitions-duration",200),has.add("mapview-essential-goto-duration",200),has.add("mapview-srswitch-adjust-rotation-scale-threshold",24e6),has.add("mapserver-pbf-version-support",10.81),has.add("mapservice-popup-identify-max-tolerance",20),has("host-webworker")||has("host-browser")&&(has.add("esri-csp-restrictions",(()=>{try{new Function;}catch{return !0}return !1})),has.add("esri-image-decode",(()=>{if("decode"in new Image){const e=new Image;return e.src='data:image/svg+xml;charset=UTF-8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg"></svg>',void e.decode().then((()=>{has.add("esri-image-decode",!0,!0,!0);})).catch((()=>{has.add("esri-image-decode",!1,!0,!0);}))}return !1})),has.add("esri-url-encodes-apostrophe",(()=>{const e=window.document.createElement("a");return e.href="?'",e.href.includes("?%27")})));})();
|
32
|
+
let e$a;function has(a){return "function"==typeof e$a[a]?e$a[a]=e$a[a](globalThis):e$a[a]}e$a=globalThis.dojoConfig?.has||globalThis.esriConfig?.has?{...globalThis.dojoConfig?.has,...globalThis.esriConfig?.has}:{},has.add=(a,d,o,i)=>{(i||void 0===e$a[a])&&(e$a[a]=d),o&&has(a);},has.cache=e$a,has.add("big-integer-warning-enabled",!0),has.add("esri-deprecation-warnings",!0),has.add("esri-tests-disable-screenshots",!1),has.add("esri-tests-use-full-window",!1),has.add("esri-tests-post-to-influx",!0),has.add("esri-cim-animations-enable-status","enabled"),has.add("esri-cim-animations-spotlight",!1),has.add("esri-cim-animations-freeze-time",!1),has.add("enable-feature:multiple-highlights",!1),(()=>{has.add("host-webworker",void 0!==globalThis.WorkerGlobalScope&&self instanceof globalThis.WorkerGlobalScope);const e="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document;if(has.add("host-browser",e),has.add("host-node","object"==typeof globalThis.process&&globalThis.process.versions?.node&&globalThis.process.versions.v8),has.add("dom",e),has("host-browser")){const e=navigator,a=e.userAgent,d=e.appVersion,o=parseFloat(d);if(has.add("wp",parseFloat(a.split("Windows Phone")[1])||void 0),has.add("msapp",parseFloat(a.split("MSAppHost/")[1])||void 0),has.add("khtml",d.includes("Konqueror")?o:void 0),has.add("edge",parseFloat(a.split("Edge/")[1])||void 0),has.add("opr",parseFloat(a.split("OPR/")[1])||void 0),has.add("webkit",!has("wp")&&!has("edge")&&parseFloat(a.split("WebKit/")[1])||void 0),has.add("chrome",!has("edge")&&!has("opr")&&parseFloat(a.split("Chrome/")[1])||void 0),has.add("android",!has("wp")&&parseFloat(a.split("Android ")[1])||void 0),has.add("safari",!d.includes("Safari")||has("wp")||has("chrome")||has("android")||has("edge")||has("opr")?void 0:parseFloat(d.split("Version/")[1])),has.add("mac",d.includes("Macintosh")),!has("wp")&&/(iPhone|iPod|iPad)/.test(a)){const e=RegExp.$1.replace(/P/,"p"),d=/OS ([\d_]+)/.test(a)?RegExp.$1:"1",o=parseFloat(d.replace(/_/,".").replaceAll("_",""));has.add(e,o),has.add("ios",o);}has("webkit")||(!a.includes("Gecko")||has("wp")||has("khtml")||has("edge")||has.add("mozilla",o),has("mozilla")&&has.add("ff",parseFloat(a.split("Firefox/")[1]||a.split("Minefield/")[1])||void 0));}})(),(()=>{if(globalThis.navigator){const e=navigator.userAgent,a=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(e),d=/iPhone/i.test(e);a&&has.add("esri-mobile",a),d&&has.add("esri-iPhone",d),has.add("esri-geolocation",!!navigator.geolocation);}has.add("esri-wasm","WebAssembly"in globalThis),has.add("esri-performance-mode-frames-between-render",20),has.add("esri-force-performance-mode",!1),has.add("esri-shared-array-buffer",(()=>{const e="SharedArrayBuffer"in globalThis,a=!1===globalThis.crossOriginIsolated;return e&&!a})),has.add("wasm-simd",(()=>{const e=[0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11];return WebAssembly.validate(new Uint8Array(e))})),has.add("esri-atomics","Atomics"in globalThis),has.add("esri-workers","Worker"in globalThis),has.add("web-feat:cache","caches"in globalThis),has.add("esri-workers-arraybuffer-transfer",!has("safari")||Number(has("safari"))>=12),has.add("workers-pool-size",8),has.add("featurelayer-simplify-thresholds",[.5,.5,.5,.5]),has.add("featurelayer-simplify-payload-size-factors",[1,1,4]),has.add("featurelayer-fast-triangulation-enabled",!0),has.add("featurelayer-animation-enabled",!0),has.add("featurelayer-snapshot-enabled",!0),has.add("featurelayer-snapshot-point-min-threshold",8e4),has.add("featurelayer-snapshot-point-max-threshold",4e5),has.add("featurelayer-snapshot-point-coverage",.1),has.add("featurelayer-query-max-depth",4),has.add("featurelayer-query-pausing-enabled",!1),has.add("featurelayer-advanced-symbols",!1),has.add("featurelayer-pbf",!0),has.add("featurelayer-pbf-statistics",!1),has.add("feature-layers-workers",!0),has.add("feature-polyline-generalization-factor",1),has.add("mapview-transitions-duration",200),has.add("mapview-essential-goto-duration",200),has.add("mapview-srswitch-adjust-rotation-scale-threshold",24e6),has.add("mapserver-pbf-version-support",10.81),has.add("mapservice-popup-identify-max-tolerance",20),has("host-webworker")||has("host-browser")&&(has.add("esri-csp-restrictions",(()=>{try{new Function;}catch{return !0}return !1})),has.add("esri-image-decode",(()=>{if("decode"in new Image){const e=new Image;return e.src='data:image/svg+xml;charset=UTF-8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg"></svg>',void e.decode().then((()=>{has.add("esri-image-decode",!0,!0,!0);})).catch((()=>{has.add("esri-image-decode",!1,!0,!0);}))}return !1})),has.add("esri-url-encodes-apostrophe",(()=>{const e=window.document.createElement("a");return e.href="?'",e.href.includes("?%27")})));})();
|
33
33
|
|
34
34
|
/*
|
35
35
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
@@ -53,7 +53,7 @@ function n$7(r,n,t=!1){return f$4(r,n,t)}function t$4(r,n){if(null!=n)return n[r
|
|
53
53
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
54
54
|
See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
55
55
|
*/
|
56
|
-
const c$6="
|
56
|
+
const c$6="20241016";
|
57
57
|
|
58
58
|
/*
|
59
59
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
@@ -90,7 +90,7 @@ const JsonEditor = /*@__PURE__*/ proxyCustomElement(class JsonEditor extends HTM
|
|
90
90
|
* Renders the component.
|
91
91
|
*/
|
92
92
|
render() {
|
93
|
-
return (h(Host, { key: '
|
93
|
+
return (h(Host, { key: '0c7531c8c816eb9be80d357b19b568ccdb22c407' }, h("div", { key: '866f82b68c2a750edfc80d801e4ea95a3f655100', id: `${this.instanceid}-editor-container`, class: "editor-container padding-right" }, h("div", { key: '5b9f15641f6a26daeb3847d8ef75c76b8be44fc5', class: "editor-controls" }, h("div", { key: 'd1e91eaa242ccd23d5dc1386b6a58d2fafeb4083', class: "editor-buttons" }, h("calcite-icon", { key: 'd9364f7dfdbc22a414b4711c8a22e145b533998e', id: `${this.instanceid}-errorFlag`, icon: "exclamation-mark-triangle", title: this._translations.errorFlag, scale: "s", class: "edit-error-flag" }), h("calcite-button", { key: '29750fc7cedf1f9caf556df3ff84dc45d6b922b9', id: `${this.instanceid}-undo`, color: "blue", appearance: "solid", title: this._translations.undo, onClick: () => this._undo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: 'c95008b3fccb8bc33f01eb1bd204c84141850981', icon: "undo", scale: "s" })), h("calcite-button", { key: '49ac9ee70c58954f6dee34524f4c7ab6fa0d7a49', id: `${this.instanceid}-redo`, color: "blue", appearance: "solid", title: this._translations.redo, onClick: () => this._redo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '2170c36d0fd236c989222991353324d50afa8ac0', icon: "redo", scale: "s" })), h("calcite-button", { key: 'c6e1a0f84fac6fb02d2590cc7b32aefffbc06d25', id: `${this.instanceid}-diff`, color: "blue", appearance: "solid", title: this._translations.diff, onClick: () => this._toggleEditor(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '88443cfd2a8888447acc75588ecff7938ade5273', icon: "compare", scale: "s" })), h("calcite-button", { key: '42dcd8f63600d4ddb77eaedd529321999cf537b3', id: `${this.instanceid}-search`, appearance: "outline", color: "blue", title: this._translations.search, onClick: () => this._search(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '31e8ced3f14f1475c62133fbd7730e34b2bc4028', icon: "search", scale: "s" })), h("calcite-button", { key: '769b268d7476f3fe1a8623e9432cfae56602db0c', id: `${this.instanceid}-reset`, color: "blue", appearance: "solid", disabled: true, title: this._translations.cancelEdits, onClick: () => this._reset(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '4a8ead1dbf8fefe8b4106a0f6f9c42fb5b875cd2', icon: "reset", scale: "s" })))), h("div", { key: '98f29030a0fa0ecbce0d165840a30edd655ba249', class: "edit-parent" }, h("div", { key: '1441e32a184bc24f2a0a25fcb855c41b40bd0cec', id: `${this.instanceid}-container`, class: "json-edit-container" }), h("div", { key: 'f0cf0a3bd11d3f8102c4cc8695ac1743bac36bbb', id: `${this.instanceid}-diff-container`, class: "json-edit-container display-none" })))));
|
94
94
|
}
|
95
95
|
//--------------------------------------------------------------------------
|
96
96
|
//
|
@@ -90,22 +90,20 @@ const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLE
|
|
90
90
|
*/
|
91
91
|
async componentWillLoad() {
|
92
92
|
await this._getTranslations();
|
93
|
-
this._isLoading = true;
|
94
93
|
}
|
95
94
|
/**
|
96
95
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
97
96
|
*/
|
98
97
|
async componentDidLoad() {
|
99
98
|
await this.setLayers();
|
100
|
-
this._isLoading = false;
|
101
99
|
}
|
102
100
|
/**
|
103
101
|
* Renders the component.
|
104
102
|
*/
|
105
103
|
render() {
|
106
|
-
return (h(Fragment, { key: '
|
107
|
-
h("calcite-notice", { key: '
|
108
|
-
h("calcite-list", { key: '
|
104
|
+
return (h(Fragment, { key: 'f8e0c21d4ff87d663a1e0f00f1d9ef1123091db9' }, this._isLoading && h("calcite-loader", { key: '42058be6b41126e58d33895bc237b174e55a16ed', label: "", scale: "m" }), !this._isLoading && this.mapView && this._noLayersToDisplay &&
|
105
|
+
h("calcite-notice", { key: '89d9073a156f07379699cc5b67bf9ba54654cc68', class: "error-msg", icon: "layers-reference", kind: "danger", open: true }, h("div", { key: '730b8dcca79bd45a7a6eecb5030626d1dcd01238', slot: "title" }, this._translations.error), h("div", { key: '656e8276ffab75734909348f49f11492de1d5a8b', slot: "message" }, this._translations.noLayerToDisplayErrorMsg)), !this._isLoading && this.mapView &&
|
106
|
+
h("calcite-list", { key: '1d2206d3163b6c5ed8511e32ab296f0025889824', "selection-appearance": "border", "selection-mode": "none" }, this.renderLayerList())));
|
109
107
|
}
|
110
108
|
//--------------------------------------------------------------------------
|
111
109
|
//
|
@@ -119,7 +117,9 @@ const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLE
|
|
119
117
|
*/
|
120
118
|
async setLayers() {
|
121
119
|
if (this.mapView) {
|
120
|
+
this._isLoading = true;
|
122
121
|
await this.initLayerHash();
|
122
|
+
this._isLoading = false;
|
123
123
|
}
|
124
124
|
}
|
125
125
|
/**
|