@esri/solutions-components 0.11.19 → 0.11.21
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/asyncToGenerator-c7fc3ee4.js +92 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/buffer-tools_2.cjs.entry.js +4 -3
- package/dist/cjs/card-manager_3.cjs.entry.js +4 -4
- package/dist/cjs/consent-manager.cjs.entry.js +4 -4
- package/dist/cjs/create-feature_4.cjs.entry.js +51 -47
- package/dist/cjs/create-related-feature_3.cjs.entry.js +3 -2
- package/dist/cjs/crowdsource-manager.cjs.entry.js +4 -5
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +5 -4
- package/dist/cjs/delete-dialog.cjs.entry.js +2 -2
- package/dist/cjs/downloadUtils-fcae8eb1.js +3223 -0
- package/dist/cjs/effects-3607d1ba.js +83 -0
- package/dist/cjs/feature-list.cjs.entry.js +5 -5
- package/dist/cjs/helpers-8d452256.js +867 -0
- package/dist/cjs/index.es-3c2404c3.js +11195 -0
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-create.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-export.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-popover.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-splash.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -5
- package/dist/cjs/json-editor_7.cjs.entry.js +2 -2
- package/dist/cjs/languageSwitcher-19a22439.js +52 -0
- package/dist/cjs/languageUtil-a3e1eafd.js +69 -0
- package/dist/cjs/loadModules-e9d8977c.js +23 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/locale-1c60be9c.js +160 -0
- package/dist/cjs/locale-da41a06f.js +943 -0
- package/dist/cjs/map-layer-picker.cjs.entry.js +2 -2
- package/dist/cjs/map-select-tools_3.cjs.entry.js +4 -4
- package/dist/cjs/popupUtils-87b006a6.js +121 -0
- package/dist/cjs/public-notification.cjs.entry.js +4 -4
- package/dist/cjs/solution-configuration.cjs.entry.js +2 -2
- package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
- package/dist/cjs/solution-item-accordion.cjs.entry.js +2 -2
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
- package/dist/cjs/utils-3e512114.js +153 -0
- package/dist/collection/assets/t9n/buffer-tools/resources_no.json +6 -0
- package/dist/collection/assets/t9n/card-manager/resources_no.json +7 -0
- package/dist/collection/assets/t9n/comment-card/resources_no.json +4 -0
- package/dist/collection/assets/t9n/consent-manager/resources_no.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ar.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_bg.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_bs.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ca.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_cs.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_da.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_de.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_el.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_en.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_es.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_et.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_fi.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_fr.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_he.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_hr.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_hu.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_id.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_it.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ja.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ko.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_lt.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_lv.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_nb.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_nl.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_no.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_pl.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_pt-BR.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_pt-PT.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ro.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ru.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_sk.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_sl.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_sr.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_sv.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_th.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_tr.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_uk.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_vi.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_zh-CN.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_zh-HK.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_zh-TW.json +1 -1
- package/dist/collection/assets/t9n/create-related-feature/resources_no.json +3 -0
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ar.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_bg.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_bs.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ca.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_cs.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_da.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_de.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_el.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_es.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_et.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_fi.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_fr.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_he.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_hr.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_hu.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_id.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_it.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ja.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ko.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_lt.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_lv.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_nb.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_nl.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_no.json +15 -0
- package/dist/collection/assets/t9n/crowdsource-manager/resources_pl.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-BR.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-PT.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ro.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ru.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sk.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sl.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sr.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sv.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_th.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_tr.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_uk.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_vi.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-CN.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-HK.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-TW.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ar.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_bg.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_bs.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ca.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_cs.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_da.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_de.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_el.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_es.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_et.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_fi.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_fr.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_he.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_hr.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_hu.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_id.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_it.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ja.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ko.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_lt.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_lv.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_nb.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_nl.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_no.json +32 -0
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pl.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-BR.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-PT.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ro.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ru.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sk.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sl.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sr.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sv.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_th.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_tr.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_uk.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_vi.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-CN.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-HK.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-TW.json +2 -1
- package/dist/collection/assets/t9n/delete-button/resources_no.json +8 -0
- package/dist/collection/assets/t9n/edit-card/resources_no.json +3 -0
- package/dist/collection/assets/t9n/feature-list/resources_no.json +8 -0
- package/dist/collection/assets/t9n/info-card/resources_no.json +10 -0
- package/dist/collection/assets/t9n/layer-list/resources_no.json +4 -0
- package/dist/collection/assets/t9n/layer-table/resources_no.json +22 -0
- package/dist/collection/assets/t9n/map-card/resources_no.json +10 -0
- package/dist/collection/assets/t9n/map-draw-tools/resources_no.json +5 -0
- package/dist/collection/assets/t9n/map-layer-picker/resources_no.json +5 -0
- package/dist/collection/assets/t9n/map-picker/resources_no.json +3 -0
- package/dist/collection/assets/t9n/map-search/resources_no.json +3 -0
- package/dist/collection/assets/t9n/map-select-tools/resources_no.json +16 -0
- package/dist/collection/assets/t9n/map-tools/resources_no.json +10 -0
- package/dist/collection/assets/t9n/pdf-download/resources_no.json +3 -0
- package/dist/collection/assets/t9n/public-notification/resources_no.json +44 -0
- package/dist/collection/assets/t9n/refine-selection/resources_no.json +9 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ar.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_bg.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_bs.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ca.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_cs.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_da.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_de.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_el.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_es.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_et.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_fi.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_fr.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_he.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_hr.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_hu.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_id.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_it.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ja.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ko.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_lt.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_lv.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_nb.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_nl.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_no.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_pl.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_pt-BR.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_pt-PT.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ro.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ru.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_sk.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_sl.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_sr.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_sv.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_th.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_tr.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_uk.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_vi.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-CN.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-HK.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-TW.json +1 -1
- package/dist/collection/components/create-feature/create-feature.js +132 -111
- package/dist/collection/components/create-related-feature/create-related-feature.js +1 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +2 -3
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +22 -2
- package/dist/collection/components/edit-card/edit-card.js +1 -0
- package/dist/collection/components/info-card/info-card.js +3 -2
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +2 -1
- package/dist/collection/vendor/calcite-components/22LZVO5E.js +4 -0
- package/dist/collection/vendor/calcite-components/2A6QEASM.js +4 -0
- package/dist/collection/vendor/calcite-components/2BGT5TEK.js +4 -0
- package/dist/collection/vendor/calcite-components/2CPYXWOG.js +4 -0
- package/dist/collection/vendor/calcite-components/2GEBE6K3.js +4 -0
- package/dist/collection/vendor/calcite-components/2QA56E26.js +4 -0
- package/dist/collection/vendor/calcite-components/2YRZB4NM.js +4 -0
- package/dist/collection/vendor/calcite-components/36XHP2FJ.js +4 -0
- package/dist/collection/vendor/calcite-components/3COQK7PF.js +4 -0
- package/dist/collection/vendor/calcite-components/3DM4HAHW.js +4 -0
- package/dist/collection/vendor/calcite-components/3PTTJYHL.js +4 -0
- package/dist/collection/vendor/calcite-components/3QHDLMLZ.js +4 -0
- package/dist/collection/vendor/calcite-components/3QTJJQOU.js +4 -0
- package/dist/collection/vendor/calcite-components/42IFRZST.js +4 -0
- package/dist/collection/vendor/calcite-components/43WAE6RK.js +4 -0
- package/dist/collection/vendor/calcite-components/4657LRIL.js +4 -0
- package/dist/collection/vendor/calcite-components/4D34RBQ3.js +4 -0
- package/dist/collection/vendor/calcite-components/4EMDDOBJ.js +4 -0
- package/dist/collection/vendor/calcite-components/4IX3YHER.js +4 -0
- package/dist/collection/vendor/calcite-components/4JFCCMPV.js +4 -0
- package/dist/collection/vendor/calcite-components/4RVJ5ZT4.js +4 -0
- package/dist/collection/vendor/calcite-components/53I6TTJJ.js +4 -0
- package/dist/collection/vendor/calcite-components/54KMPSZ3.js +4 -0
- package/dist/collection/vendor/calcite-components/555IAPRW.js +4 -0
- package/dist/collection/vendor/calcite-components/5BBZL5AE.js +4 -0
- package/dist/collection/vendor/calcite-components/5G52FOTN.js +4 -0
- package/dist/collection/vendor/calcite-components/5GU33MPG.js +4 -0
- package/dist/collection/vendor/calcite-components/5SFTADR5.js +4 -0
- package/dist/collection/vendor/calcite-components/5WCCH3GL.js +4 -0
- package/dist/collection/vendor/calcite-components/662YEAMX.js +4 -0
- package/dist/collection/vendor/calcite-components/6FZUWDUT.js +4 -0
- package/dist/collection/vendor/calcite-components/6PFLQ26Z.js +4 -0
- package/dist/collection/vendor/calcite-components/6PJ43C67.js +4 -0
- package/dist/collection/vendor/calcite-components/6TRPZGJP.js +4 -0
- package/dist/collection/vendor/calcite-components/6TWWOPNX.js +4 -0
- package/dist/collection/vendor/calcite-components/727HQUFD.js +4 -0
- package/dist/collection/vendor/calcite-components/74RWJ4QY.js +4 -0
- package/dist/collection/vendor/calcite-components/7AMBDXFL.js +4 -0
- package/dist/collection/vendor/calcite-components/7BGF2YXV.js +5 -0
- package/dist/collection/vendor/calcite-components/7KCRDGKA.js +4 -0
- package/dist/collection/vendor/calcite-components/7LREBCFI.js +4 -0
- package/dist/collection/vendor/calcite-components/7MTWQHV5.js +4 -0
- package/dist/collection/vendor/calcite-components/7NELI6UD.js +4 -0
- package/dist/collection/vendor/calcite-components/7PXHM6EH.js +4 -0
- package/dist/collection/vendor/calcite-components/7R52MWAP.js +4 -0
- package/dist/collection/vendor/calcite-components/A4XKVBOI.js +4 -0
- package/dist/collection/vendor/calcite-components/A57QY65K.js +4 -0
- package/dist/collection/vendor/calcite-components/A6VQQWXZ.js +4 -0
- package/dist/collection/vendor/calcite-components/AIDMQYMU.js +4 -0
- package/dist/collection/vendor/calcite-components/ASXEEA2B.js +4 -0
- package/dist/collection/vendor/calcite-components/AWSMJMWQ.js +4 -0
- package/dist/collection/vendor/calcite-components/AZ54J6HD.js +4 -0
- package/dist/collection/vendor/calcite-components/B2ETPGYX.js +4 -0
- package/dist/collection/vendor/calcite-components/B2JBOZ4Z.js +4 -0
- package/dist/collection/vendor/calcite-components/B4FD6KD7.js +4 -0
- package/dist/collection/vendor/calcite-components/B7E6VYNK.js +4 -0
- package/dist/collection/vendor/calcite-components/BD6SDCR6.js +4 -0
- package/dist/collection/vendor/calcite-components/BFQ3IRQW.js +4 -0
- package/dist/collection/vendor/calcite-components/BW2NQ5TQ.js +4 -0
- package/dist/collection/vendor/calcite-components/BZOMVSAG.js +4 -0
- package/dist/collection/vendor/calcite-components/C3AZYUGU.js +4 -0
- package/dist/collection/vendor/calcite-components/CBX7R3DS.js +4 -0
- package/dist/collection/vendor/calcite-components/CCXXBM5B.js +4 -0
- package/dist/collection/vendor/calcite-components/CG5B4XKZ.js +4 -0
- package/dist/collection/vendor/calcite-components/CHGJHDWI.js +4 -0
- package/dist/collection/vendor/calcite-components/CNADH63F.js +4 -0
- package/dist/collection/vendor/calcite-components/CV3G4HMQ.js +4 -0
- package/dist/collection/vendor/calcite-components/CWSVXKFX.js +4 -0
- package/dist/collection/vendor/calcite-components/CY5O5AGQ.js +4 -0
- package/dist/collection/vendor/calcite-components/D23ZXMLS.js +4 -0
- package/dist/collection/vendor/calcite-components/D276FT6Z.js +4 -0
- package/dist/collection/vendor/calcite-components/DG2T33QN.js +4 -0
- package/dist/collection/vendor/calcite-components/DJQ34CXE.js +4 -0
- package/dist/collection/vendor/calcite-components/DJREGHLR.js +6 -0
- package/dist/collection/vendor/calcite-components/DMXUBDZW.js +4 -0
- package/dist/collection/vendor/calcite-components/DNQY4EKR.js +4 -0
- package/dist/collection/vendor/calcite-components/DPFVN4EN.js +4 -0
- package/dist/collection/vendor/calcite-components/DRXWIPMI.js +4 -0
- package/dist/collection/vendor/calcite-components/DRYFM2IO.js +4 -0
- package/dist/collection/vendor/calcite-components/DUL66KKH.js +4 -0
- package/dist/collection/vendor/calcite-components/DVC5KGLT.js +4 -0
- package/dist/collection/vendor/calcite-components/E6X3KIZL.js +4 -0
- package/dist/collection/vendor/calcite-components/EG6UCGFB.js +4 -0
- package/dist/collection/vendor/calcite-components/EHAHKKFL.js +4 -0
- package/dist/collection/vendor/calcite-components/EIMDRXSI.js +4 -0
- package/dist/collection/vendor/calcite-components/EM7TVLTF.js +4 -0
- package/dist/collection/vendor/calcite-components/EP7IEI22.js +4 -0
- package/dist/collection/vendor/calcite-components/EWJY2L2V.js +4 -0
- package/dist/collection/vendor/calcite-components/EYQQPU2W.js +4 -0
- package/dist/collection/vendor/calcite-components/FB7CD3CH.js +4 -0
- package/dist/collection/vendor/calcite-components/FDBZMO4P.js +4 -0
- package/dist/collection/vendor/calcite-components/FFPGVFSC.js +4 -0
- package/dist/collection/vendor/calcite-components/FGYULWTE.js +4 -0
- package/dist/collection/vendor/calcite-components/FMKUEBDG.js +4 -0
- package/dist/collection/vendor/calcite-components/FRM3YXTH.js +4 -0
- package/dist/collection/vendor/calcite-components/FW6R63UX.js +4 -0
- package/dist/collection/vendor/calcite-components/FXTXVVOM.js +4 -0
- package/dist/collection/vendor/calcite-components/FXXGJ3RT.js +4 -0
- package/dist/collection/vendor/calcite-components/FYHE5C5Q.js +4 -0
- package/dist/collection/vendor/calcite-components/G33CDSRC.js +4 -0
- package/dist/collection/vendor/calcite-components/G6XUWYVF.js +4 -0
- package/dist/collection/vendor/calcite-components/GCIH5FK5.js +4 -0
- package/dist/collection/vendor/calcite-components/GE5Y3RWM.js +4 -0
- package/dist/collection/vendor/calcite-components/GEZNDNDH.js +4 -0
- package/dist/collection/vendor/calcite-components/GNJWHQYO.js +4 -0
- package/dist/collection/vendor/calcite-components/GZ5TMSIR.js +4 -0
- package/dist/collection/vendor/calcite-components/GZJIMDTR.js +4 -0
- package/dist/collection/vendor/calcite-components/H23GHBD2.js +5 -0
- package/dist/collection/vendor/calcite-components/H2SIT2TB.js +4 -0
- package/dist/collection/vendor/calcite-components/HC7MYCXC.js +4 -0
- package/dist/collection/vendor/calcite-components/HD5QD64Q.js +4 -0
- package/dist/collection/vendor/calcite-components/HDELZP2B.js +4 -0
- package/dist/collection/vendor/calcite-components/HGDJL4SA.js +4 -0
- package/dist/collection/vendor/calcite-components/HHVWJ7MU.js +4 -0
- package/dist/collection/vendor/calcite-components/HJYTX5BK.js +4 -0
- package/dist/collection/vendor/calcite-components/HMFDWMJH.js +4 -0
- package/dist/collection/vendor/calcite-components/HXESYKZM.js +4 -0
- package/dist/collection/vendor/calcite-components/I4BAPULM.js +4 -0
- package/dist/collection/vendor/calcite-components/I6RIFD3V.js +5 -0
- package/dist/collection/vendor/calcite-components/IDZWSTZZ.js +4 -0
- package/dist/collection/vendor/calcite-components/IFAY5ZXB.js +4 -0
- package/dist/collection/vendor/calcite-components/IO5HOHW4.js +4 -0
- package/dist/collection/vendor/calcite-components/ISXEUIFH.js +4 -0
- package/dist/collection/vendor/calcite-components/IXUF77L2.js +4 -0
- package/dist/collection/vendor/calcite-components/J27B5CWI.js +4 -0
- package/dist/collection/vendor/calcite-components/JAKKKROM.js +4 -0
- package/dist/collection/vendor/calcite-components/JNDUGIK6.js +4 -0
- package/dist/collection/vendor/calcite-components/JNNP4QF3.js +4 -0
- package/dist/collection/vendor/calcite-components/JVSUOTAZ.js +4 -0
- package/dist/collection/vendor/calcite-components/JWEMBAET.js +4 -0
- package/dist/collection/vendor/calcite-components/JWKRGDRV.js +4 -0
- package/dist/collection/vendor/calcite-components/JZQ73NRM.js +4 -0
- package/dist/collection/vendor/calcite-components/K7OAUX24.js +4 -0
- package/dist/collection/vendor/calcite-components/KKM7CKQA.js +4 -0
- package/dist/collection/vendor/calcite-components/KMEUFDPK.js +4 -0
- package/dist/collection/vendor/calcite-components/KNH6FSL4.js +4 -0
- package/dist/collection/vendor/calcite-components/KPMQXN4M.js +4 -0
- package/dist/collection/vendor/calcite-components/KWU2E4JE.js +4 -0
- package/dist/collection/vendor/calcite-components/L4WAR5X4.js +4 -0
- package/dist/collection/vendor/calcite-components/LKJAWTVJ.js +4 -0
- package/dist/collection/vendor/calcite-components/LLS4XVIW.js +4 -0
- package/dist/collection/vendor/calcite-components/LNECFRUM.js +4 -0
- package/dist/collection/vendor/calcite-components/LYQ7FJT2.js +4 -0
- package/dist/collection/vendor/calcite-components/M2KTEEUG.js +4 -0
- package/dist/collection/vendor/calcite-components/M5OIZS7N.js +28 -0
- package/dist/collection/vendor/calcite-components/M64PHLHQ.js +4 -0
- package/dist/collection/vendor/calcite-components/MQ3MSMTP.js +4 -0
- package/dist/collection/vendor/calcite-components/MTNJMPLV.js +4 -0
- package/dist/collection/vendor/calcite-components/MXGPGCYC.js +4 -0
- package/dist/collection/vendor/calcite-components/MYNPH67G.js +4 -0
- package/dist/collection/vendor/calcite-components/N5OBZLJZ.js +4 -0
- package/dist/collection/vendor/calcite-components/NJYFPOKV.js +4 -0
- package/dist/collection/vendor/calcite-components/NJZE4A4X.js +4 -0
- package/dist/collection/vendor/calcite-components/NSHK3NTJ.js +4 -0
- package/dist/collection/vendor/calcite-components/NYER6YT7.js +4 -0
- package/dist/collection/vendor/calcite-components/NYZ4ODDA.js +4 -0
- package/dist/collection/vendor/calcite-components/O4AAP54K.js +4 -0
- package/dist/collection/vendor/calcite-components/OETUMACB.js +4 -0
- package/dist/collection/vendor/calcite-components/OFPYZZUF.js +4 -0
- package/dist/collection/vendor/calcite-components/OFXV3CF7.js +4 -0
- package/dist/collection/vendor/calcite-components/PAJGY3XV.js +4 -0
- package/dist/collection/vendor/calcite-components/PENB3O7H.js +4 -0
- package/dist/collection/vendor/calcite-components/PNCVHWAE.js +4 -0
- package/dist/collection/vendor/calcite-components/PYGWJ6OV.js +4 -0
- package/dist/collection/vendor/calcite-components/Q32GNFQO.js +22 -0
- package/dist/collection/vendor/calcite-components/Q6HTE6MQ.js +4 -0
- package/dist/collection/vendor/calcite-components/QAO6BQAD.js +4 -0
- package/dist/collection/vendor/calcite-components/QBMZKO4M.js +4 -0
- package/dist/collection/vendor/calcite-components/QCKKEDB2.js +4 -0
- package/dist/collection/vendor/calcite-components/QQEBBK2A.js +4 -0
- package/dist/collection/vendor/calcite-components/R4J2EZFU.js +4 -0
- package/dist/collection/vendor/calcite-components/R5EHQKMO.js +4 -0
- package/dist/collection/vendor/calcite-components/R7GOP347.js +4 -0
- package/dist/collection/vendor/calcite-components/RBMLFM2L.js +4 -0
- package/dist/collection/vendor/calcite-components/RBQ6BI6C.js +4 -0
- package/dist/collection/vendor/calcite-components/REF7SAQQ.js +4 -0
- package/dist/collection/vendor/calcite-components/REWMVFVL.js +4 -0
- package/dist/collection/vendor/calcite-components/RI3WTZXE.js +4 -0
- package/dist/collection/vendor/calcite-components/RL7IIXTZ.js +4 -0
- package/dist/collection/vendor/calcite-components/RM7LSSHL.js +4 -0
- package/dist/collection/vendor/calcite-components/RREZDRNN.js +4 -0
- package/dist/collection/vendor/calcite-components/SHERIRO4.js +4 -0
- package/dist/collection/vendor/calcite-components/SK7NKNHK.js +4 -0
- package/dist/collection/vendor/calcite-components/SODGHLU2.js +4 -0
- package/dist/collection/vendor/calcite-components/SP6U5EWI.js +4 -0
- package/dist/collection/vendor/calcite-components/SQKZ5EZF.js +4 -0
- package/dist/collection/vendor/calcite-components/SX4MCPF2.js +5 -0
- package/dist/collection/vendor/calcite-components/TIGHTLQD.js +4 -0
- package/dist/collection/vendor/calcite-components/TMKEB7G7.js +4 -0
- package/dist/collection/vendor/calcite-components/TURDT3VB.js +4 -0
- package/dist/collection/vendor/calcite-components/TX7QHHK5.js +4 -0
- package/dist/collection/vendor/calcite-components/TYMOPXYL.js +4 -0
- package/dist/collection/vendor/calcite-components/TZECTLA6.js +4 -0
- package/dist/collection/vendor/calcite-components/U3RO6UCM.js +4 -0
- package/dist/collection/vendor/calcite-components/U5FUMAFV.js +4 -0
- package/dist/collection/vendor/calcite-components/UM5EV3V4.js +4 -0
- package/dist/collection/vendor/calcite-components/UOX45Z7K.js +4 -0
- package/dist/collection/vendor/calcite-components/UXTWTW75.js +4 -0
- package/dist/collection/vendor/calcite-components/V5ZZKGAM.js +4 -0
- package/dist/collection/vendor/calcite-components/VTA2PRG5.js +4 -0
- package/dist/collection/vendor/calcite-components/VY37PIFG.js +4 -0
- package/dist/collection/vendor/calcite-components/W25AOEEB.js +4 -0
- package/dist/collection/vendor/calcite-components/W3TNJWVO.js +4 -0
- package/dist/collection/vendor/calcite-components/WQHOMJR2.js +4 -0
- package/dist/collection/vendor/calcite-components/WW65BUEL.js +4 -0
- package/dist/collection/vendor/calcite-components/WWZTCRUR.js +4 -0
- package/dist/collection/vendor/calcite-components/X6UMFXM3.js +4 -0
- package/dist/collection/vendor/calcite-components/XCTRH7IZ.js +4 -0
- package/dist/collection/vendor/calcite-components/XJTPF3VE.js +4 -0
- package/dist/collection/vendor/calcite-components/XNWWFGXG.js +4 -0
- package/dist/collection/vendor/calcite-components/YG6EDHOT.js +4 -0
- package/dist/collection/vendor/calcite-components/YHRT6LHF.js +4 -0
- package/dist/collection/vendor/calcite-components/YMNIMOT5.js +4 -0
- package/dist/collection/vendor/calcite-components/YQDDGBKI.js +4 -0
- package/dist/collection/vendor/calcite-components/YYWX5ACS.js +4 -0
- package/dist/collection/vendor/calcite-components/Z5J5AV2N.js +4 -0
- package/dist/collection/vendor/calcite-components/Z5POWLIV.js +4 -0
- package/dist/collection/vendor/calcite-components/ZCF5FXJ6.js +4 -0
- package/dist/collection/vendor/calcite-components/ZCPJODER.js +4 -0
- package/dist/collection/vendor/calcite-components/ZIIE4X52.js +4 -0
- package/dist/collection/vendor/calcite-components/ZQ4RAM3U.js +4 -0
- package/dist/collection/vendor/calcite-components/ZXDWFKG4.js +4 -0
- package/dist/collection/vendor/calcite-components/assets/icon/hammerCoin16.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/hammerCoin24.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/hammerCoin32.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/hammerLock16.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/hammerLock24.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/hammerLock32.json +1 -0
- package/dist/collection/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/components/create-feature2.js +50 -47
- package/dist/components/create-related-feature2.js +1 -0
- package/dist/components/crowdsource-manager.js +2 -3
- package/dist/components/crowdsource-reporter.js +4 -2
- package/dist/components/edit-card2.js +1 -0
- package/dist/components/info-card2.js +3 -2
- package/dist/components/map-draw-tools2.js +2 -1
- package/dist/esm/asyncToGenerator-96b2368d.js +88 -0
- package/dist/esm/basemap-gallery_7.entry.js +2 -2
- package/dist/esm/buffer-tools_2.entry.js +4 -3
- package/dist/esm/card-manager_3.entry.js +4 -4
- package/dist/esm/consent-manager.entry.js +4 -4
- package/dist/esm/create-feature_4.entry.js +51 -47
- package/dist/esm/create-related-feature_3.entry.js +3 -2
- package/dist/esm/crowdsource-manager.entry.js +4 -5
- package/dist/esm/crowdsource-reporter.entry.js +5 -4
- package/dist/esm/delete-dialog.entry.js +2 -2
- package/dist/esm/downloadUtils-078cd709.js +3217 -0
- package/dist/esm/effects-38bc1195.js +81 -0
- package/dist/esm/feature-list.entry.js +5 -5
- package/dist/esm/helpers-15d5cd56.js +841 -0
- package/dist/esm/index.es-87662946.js +11108 -0
- package/dist/esm/instant-apps-app-guide.entry.js +4 -4
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
- package/dist/esm/instant-apps-control-panel.entry.js +2 -2
- package/dist/esm/instant-apps-create.entry.js +4 -4
- package/dist/esm/instant-apps-export-views.entry.js +4 -4
- package/dist/esm/instant-apps-export.entry.js +4 -4
- package/dist/esm/instant-apps-filter-list_2.entry.js +4 -4
- package/dist/esm/instant-apps-header.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +4 -4
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +4 -4
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +4 -4
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +4 -4
- package/dist/esm/instant-apps-interactive-legend.entry.js +6 -6
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +4 -4
- package/dist/esm/instant-apps-language-switcher.entry.js +6 -6
- package/dist/esm/instant-apps-language-translator.entry.js +6 -6
- package/dist/esm/instant-apps-measurement-tool.entry.js +2 -2
- package/dist/esm/instant-apps-measurement.entry.js +4 -4
- package/dist/esm/instant-apps-popover.entry.js +4 -4
- package/dist/esm/instant-apps-scoreboard.entry.js +4 -4
- package/dist/esm/instant-apps-sign-in.entry.js +4 -4
- package/dist/esm/instant-apps-splash.entry.js +4 -4
- package/dist/esm/instant-apps-time-filter.entry.js +5 -5
- package/dist/esm/json-editor_7.entry.js +2 -2
- package/dist/esm/languageSwitcher-49bad3f4.js +49 -0
- package/dist/esm/languageUtil-2b6e191a.js +66 -0
- package/dist/esm/loadModules-947ccfd4.js +21 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/locale-7874c756.js +155 -0
- package/dist/esm/locale-e02b0e14.js +938 -0
- package/dist/esm/map-layer-picker.entry.js +2 -2
- package/dist/esm/map-select-tools_3.entry.js +4 -4
- package/dist/esm/popupUtils-6a965512.js +119 -0
- package/dist/esm/public-notification.entry.js +4 -4
- package/dist/esm/solution-configuration.entry.js +2 -2
- package/dist/esm/solution-contents_3.entry.js +2 -2
- package/dist/esm/solution-item-accordion.entry.js +2 -2
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +2 -2
- package/dist/esm/utils-6fe5b5fa.js +142 -0
- package/dist/solutions-components/assets/t9n/buffer-tools/resources_no.json +6 -0
- package/dist/solutions-components/assets/t9n/card-manager/resources_no.json +7 -0
- package/dist/solutions-components/assets/t9n/comment-card/resources_no.json +4 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_no.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ar.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_bg.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_bs.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ca.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_cs.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_da.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_de.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_el.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_en.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_es.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_et.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_fi.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_fr.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_he.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_hr.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_hu.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_id.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_it.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ja.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ko.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_lt.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_lv.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_nb.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_nl.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_no.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_pl.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_pt-BR.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_pt-PT.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ro.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ru.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_sk.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_sl.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_sr.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_sv.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_th.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_tr.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_uk.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_vi.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_zh-CN.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_zh-HK.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_zh-TW.json +1 -1
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_no.json +3 -0
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ar.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bg.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bs.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ca.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_cs.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_da.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_de.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_el.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_es.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_et.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fi.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fr.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_he.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hr.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hu.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_id.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_it.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ja.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ko.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lt.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lv.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nb.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nl.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_no.json +15 -0
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pl.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-BR.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-PT.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ro.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ru.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sk.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sl.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sr.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sv.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_th.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_tr.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_uk.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_vi.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-CN.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-HK.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-TW.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ar.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bg.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bs.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ca.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_cs.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_da.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_de.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_el.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_es.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_et.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fi.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fr.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_he.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hr.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hu.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_id.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_it.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ja.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ko.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lt.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lv.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nb.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nl.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_no.json +32 -0
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pl.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-BR.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-PT.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ro.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ru.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sk.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sl.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sr.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sv.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_th.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_tr.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_uk.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_vi.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-CN.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-HK.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-TW.json +2 -1
- package/dist/solutions-components/assets/t9n/delete-button/resources_no.json +8 -0
- package/dist/solutions-components/assets/t9n/edit-card/resources_no.json +3 -0
- package/dist/solutions-components/assets/t9n/feature-list/resources_no.json +8 -0
- package/dist/solutions-components/assets/t9n/info-card/resources_no.json +10 -0
- package/dist/solutions-components/assets/t9n/layer-list/resources_no.json +4 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_no.json +22 -0
- package/dist/solutions-components/assets/t9n/map-card/resources_no.json +10 -0
- package/dist/solutions-components/assets/t9n/map-draw-tools/resources_no.json +5 -0
- package/dist/solutions-components/assets/t9n/map-layer-picker/resources_no.json +5 -0
- package/dist/solutions-components/assets/t9n/map-picker/resources_no.json +3 -0
- package/dist/solutions-components/assets/t9n/map-search/resources_no.json +3 -0
- package/dist/solutions-components/assets/t9n/map-select-tools/resources_no.json +16 -0
- package/dist/solutions-components/assets/t9n/map-tools/resources_no.json +10 -0
- package/dist/solutions-components/assets/t9n/pdf-download/resources_no.json +3 -0
- package/dist/solutions-components/assets/t9n/public-notification/resources_no.json +44 -0
- package/dist/solutions-components/assets/t9n/refine-selection/resources_no.json +9 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ar.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_bg.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_bs.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ca.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_cs.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_da.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_de.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_el.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_es.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_et.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_fi.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_fr.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_he.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_hr.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_hu.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_id.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_it.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ja.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ko.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_lt.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_lv.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_nb.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_nl.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_no.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pl.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-BR.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-PT.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ro.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ru.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sk.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sl.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sr.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sv.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_th.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_tr.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_uk.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_vi.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-CN.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-HK.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-TW.json +1 -1
- package/dist/solutions-components/p-00ec642f.entry.js +6 -0
- package/dist/solutions-components/p-02c4e6fc.entry.js +6 -0
- package/dist/solutions-components/p-0326f1f4.entry.js +21 -0
- package/dist/solutions-components/p-08ad0b7a.js +6 -0
- package/dist/solutions-components/p-174fa218.js +6 -0
- package/dist/solutions-components/p-1e1dfef6.js +6 -0
- package/dist/solutions-components/p-244316dd.entry.js +6 -0
- package/dist/solutions-components/p-2884ca49.js +6 -0
- package/dist/solutions-components/p-3ce5c7fd.entry.js +6 -0
- package/dist/solutions-components/p-404cbf48.js +36 -0
- package/dist/solutions-components/p-41a3b49a.entry.js +6 -0
- package/dist/solutions-components/p-443168f0.entry.js +6 -0
- package/dist/solutions-components/p-4ced7b11.entry.js +6 -0
- package/dist/solutions-components/p-4d5dd39e.entry.js +6 -0
- package/dist/solutions-components/p-4e7514a3.entry.js +6 -0
- package/dist/solutions-components/p-4f7fb338.entry.js +6 -0
- package/dist/solutions-components/p-5786b9da.entry.js +6 -0
- package/dist/solutions-components/p-5a202f3f.entry.js +6 -0
- package/dist/solutions-components/p-65105504.entry.js +6 -0
- package/dist/solutions-components/p-698656b8.entry.js +6 -0
- package/dist/solutions-components/p-72d04c7a.entry.js +11 -0
- package/dist/solutions-components/p-832707fd.entry.js +6 -0
- package/dist/solutions-components/p-837e0939.entry.js +21 -0
- package/dist/solutions-components/p-84bb6925.js +6 -0
- package/dist/solutions-components/p-8859b622.entry.js +6 -0
- package/dist/solutions-components/p-89fbc318.js +6 -0
- package/dist/solutions-components/p-8a010f9e.entry.js +6 -0
- package/dist/solutions-components/p-8dd677dd.entry.js +6 -0
- package/dist/solutions-components/p-9927342d.entry.js +6 -0
- package/dist/solutions-components/p-a277d08c.entry.js +6 -0
- package/dist/solutions-components/p-a5eaf7fe.entry.js +6 -0
- package/dist/solutions-components/p-a6e763aa.entry.js +6 -0
- package/dist/solutions-components/p-aad84d69.entry.js +6 -0
- package/dist/solutions-components/p-ac122d9e.js +6 -0
- package/dist/solutions-components/p-b394f504.entry.js +6 -0
- package/dist/solutions-components/p-ba4e219a.entry.js +6 -0
- package/dist/solutions-components/p-bf04c6f4.js +21 -0
- package/dist/solutions-components/p-c6c697e5.entry.js +6 -0
- package/dist/solutions-components/p-d324196d.entry.js +6 -0
- package/dist/solutions-components/p-d65f8b73.js +6 -0
- package/dist/solutions-components/p-db3391b9.js +488 -0
- package/dist/solutions-components/p-dc188d13.js +61 -0
- package/dist/solutions-components/p-de42e8b2.entry.js +6 -0
- package/dist/solutions-components/p-ea566af0.entry.js +6 -0
- package/dist/solutions-components/p-eb3c867f.entry.js +6 -0
- package/dist/solutions-components/p-ec867c21.entry.js +6 -0
- package/dist/solutions-components/p-ed1ecb5b.entry.js +6 -0
- package/dist/solutions-components/p-ee3bb943.entry.js +6 -0
- package/dist/solutions-components/p-f165921f.entry.js +6 -0
- package/dist/solutions-components/p-f75786a8.entry.js +6 -0
- package/dist/solutions-components/p-f956c598.entry.js +6 -0
- package/dist/solutions-components/p-fa663804.entry.js +6 -0
- package/dist/solutions-components/p-ff317687.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/vendor/calcite-components/22LZVO5E.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2A6QEASM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2BGT5TEK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2CPYXWOG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2GEBE6K3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2QA56E26.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2YRZB4NM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36XHP2FJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3COQK7PF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3DM4HAHW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3PTTJYHL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3QHDLMLZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3QTJJQOU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/42IFRZST.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/43WAE6RK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4657LRIL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4D34RBQ3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4EMDDOBJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4IX3YHER.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4JFCCMPV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4RVJ5ZT4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/53I6TTJJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/54KMPSZ3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/555IAPRW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5BBZL5AE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5G52FOTN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5GU33MPG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5SFTADR5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5WCCH3GL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/662YEAMX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6FZUWDUT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6PFLQ26Z.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6PJ43C67.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6TRPZGJP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6TWWOPNX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/727HQUFD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/74RWJ4QY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7AMBDXFL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7BGF2YXV.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/7KCRDGKA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7LREBCFI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7MTWQHV5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7NELI6UD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7PXHM6EH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7R52MWAP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A4XKVBOI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A57QY65K.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A6VQQWXZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AIDMQYMU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ASXEEA2B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AWSMJMWQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AZ54J6HD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B2ETPGYX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B2JBOZ4Z.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B4FD6KD7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B7E6VYNK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BD6SDCR6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BFQ3IRQW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BW2NQ5TQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BZOMVSAG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/C3AZYUGU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CBX7R3DS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CCXXBM5B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CG5B4XKZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CHGJHDWI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CNADH63F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CV3G4HMQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CWSVXKFX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CY5O5AGQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D23ZXMLS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D276FT6Z.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DG2T33QN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DJQ34CXE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DJREGHLR.js +6 -0
- package/dist/solutions-components/vendor/calcite-components/DMXUBDZW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DNQY4EKR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DPFVN4EN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DRXWIPMI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DRYFM2IO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DUL66KKH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DVC5KGLT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E6X3KIZL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EG6UCGFB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EHAHKKFL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EIMDRXSI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EM7TVLTF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EP7IEI22.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EWJY2L2V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EYQQPU2W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FB7CD3CH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FDBZMO4P.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FFPGVFSC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FGYULWTE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FMKUEBDG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FRM3YXTH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FW6R63UX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FXTXVVOM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FXXGJ3RT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FYHE5C5Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G33CDSRC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G6XUWYVF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GCIH5FK5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GE5Y3RWM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GEZNDNDH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GNJWHQYO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GZ5TMSIR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GZJIMDTR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H23GHBD2.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/H2SIT2TB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HC7MYCXC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HD5QD64Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HDELZP2B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HGDJL4SA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HHVWJ7MU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HJYTX5BK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HMFDWMJH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HXESYKZM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I4BAPULM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I6RIFD3V.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/IDZWSTZZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IFAY5ZXB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IO5HOHW4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ISXEUIFH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IXUF77L2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/J27B5CWI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JAKKKROM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JNDUGIK6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JNNP4QF3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JVSUOTAZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JWEMBAET.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JWKRGDRV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JZQ73NRM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/K7OAUX24.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KKM7CKQA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KMEUFDPK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KNH6FSL4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KPMQXN4M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KWU2E4JE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L4WAR5X4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LKJAWTVJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LLS4XVIW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LNECFRUM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LYQ7FJT2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/M2KTEEUG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/M5OIZS7N.js +28 -0
- package/dist/solutions-components/vendor/calcite-components/M64PHLHQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MQ3MSMTP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MTNJMPLV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MXGPGCYC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MYNPH67G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N5OBZLJZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NJYFPOKV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NJZE4A4X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NSHK3NTJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NYER6YT7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NYZ4ODDA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/O4AAP54K.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OETUMACB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OFPYZZUF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OFXV3CF7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PAJGY3XV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PENB3O7H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PNCVHWAE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PYGWJ6OV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Q32GNFQO.js +22 -0
- package/dist/solutions-components/vendor/calcite-components/Q6HTE6MQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QAO6BQAD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QBMZKO4M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QCKKEDB2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QQEBBK2A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R4J2EZFU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R5EHQKMO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R7GOP347.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RBMLFM2L.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RBQ6BI6C.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/REF7SAQQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/REWMVFVL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RI3WTZXE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RL7IIXTZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RM7LSSHL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RREZDRNN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SHERIRO4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SK7NKNHK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SODGHLU2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SP6U5EWI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SQKZ5EZF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SX4MCPF2.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/TIGHTLQD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TMKEB7G7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TURDT3VB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TX7QHHK5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TYMOPXYL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TZECTLA6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/U3RO6UCM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/U5FUMAFV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UM5EV3V4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UOX45Z7K.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UXTWTW75.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/V5ZZKGAM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VTA2PRG5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VY37PIFG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/W25AOEEB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/W3TNJWVO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WQHOMJR2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WW65BUEL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WWZTCRUR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X6UMFXM3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XCTRH7IZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XJTPF3VE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XNWWFGXG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YG6EDHOT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YHRT6LHF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YMNIMOT5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YQDDGBKI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YYWX5ACS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z5J5AV2N.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z5POWLIV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZCF5FXJ6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZCPJODER.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZIIE4X52.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZQ4RAM3U.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZXDWFKG4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerCoin16.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerCoin24.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerCoin32.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerLock16.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerLock24.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerLock32.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/solutions-components_commit.txt +6 -6
- package/dist/types/components/create-feature/create-feature.d.ts +54 -50
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +4 -0
- package/dist/types/components.d.ts +16 -0
- package/package.json +2 -2
- package/dist/cjs/asyncToGenerator-f169429a.js +0 -92
- package/dist/cjs/downloadUtils-b269c7a1.js +0 -3223
- package/dist/cjs/effects-2f75069e.js +0 -83
- package/dist/cjs/helpers-69e520bd.js +0 -867
- package/dist/cjs/index.es-644259ff.js +0 -11195
- package/dist/cjs/languageSwitcher-c8e62594.js +0 -52
- package/dist/cjs/languageUtil-bd49af69.js +0 -69
- package/dist/cjs/loadModules-3b29fa24.js +0 -23
- package/dist/cjs/locale-905e6063.js +0 -160
- package/dist/cjs/locale-c923d7b6.js +0 -943
- package/dist/cjs/popupUtils-5378e04a.js +0 -121
- package/dist/cjs/utils-3739960f.js +0 -153
- package/dist/collection/vendor/calcite-components/2BGOXXHV.js +0 -4
- package/dist/collection/vendor/calcite-components/2EBGD5ZQ.js +0 -4
- package/dist/collection/vendor/calcite-components/2HEEVITF.js +0 -4
- package/dist/collection/vendor/calcite-components/2QBRISAS.js +0 -4
- package/dist/collection/vendor/calcite-components/2SKIGCTJ.js +0 -4
- package/dist/collection/vendor/calcite-components/2ZPEMPPG.js +0 -4
- package/dist/collection/vendor/calcite-components/36DTW2EC.js +0 -4
- package/dist/collection/vendor/calcite-components/36E6CTNX.js +0 -4
- package/dist/collection/vendor/calcite-components/36HITQ3A.js +0 -4
- package/dist/collection/vendor/calcite-components/3FJPBCHI.js +0 -4
- package/dist/collection/vendor/calcite-components/3TINKPLC.js +0 -4
- package/dist/collection/vendor/calcite-components/3TXD2SW4.js +0 -4
- package/dist/collection/vendor/calcite-components/43C4CZJO.js +0 -4
- package/dist/collection/vendor/calcite-components/44DZGTF5.js +0 -4
- package/dist/collection/vendor/calcite-components/4IWRJJPT.js +0 -4
- package/dist/collection/vendor/calcite-components/4L6L5YMT.js +0 -4
- package/dist/collection/vendor/calcite-components/4NZHY4FQ.js +0 -4
- package/dist/collection/vendor/calcite-components/4OSJHPNQ.js +0 -4
- package/dist/collection/vendor/calcite-components/4ZNEZOAP.js +0 -4
- package/dist/collection/vendor/calcite-components/4ZTXEQT4.js +0 -4
- package/dist/collection/vendor/calcite-components/57U74PDQ.js +0 -4
- package/dist/collection/vendor/calcite-components/5BEKT6RT.js +0 -4
- package/dist/collection/vendor/calcite-components/5JAMHCQS.js +0 -6
- package/dist/collection/vendor/calcite-components/5UP5TQJN.js +0 -4
- package/dist/collection/vendor/calcite-components/5VK77MGP.js +0 -4
- package/dist/collection/vendor/calcite-components/5ZFIOILW.js +0 -4
- package/dist/collection/vendor/calcite-components/62G23PKY.js +0 -4
- package/dist/collection/vendor/calcite-components/6A464LBG.js +0 -4
- package/dist/collection/vendor/calcite-components/6KXUZBIZ.js +0 -4
- package/dist/collection/vendor/calcite-components/6OCJIDQZ.js +0 -4
- package/dist/collection/vendor/calcite-components/6PBZNCIY.js +0 -4
- package/dist/collection/vendor/calcite-components/6SREDGMN.js +0 -4
- package/dist/collection/vendor/calcite-components/73K4GSAV.js +0 -4
- package/dist/collection/vendor/calcite-components/757M5TSP.js +0 -5
- package/dist/collection/vendor/calcite-components/7F6EUEAO.js +0 -4
- package/dist/collection/vendor/calcite-components/7GOGBJPD.js +0 -4
- package/dist/collection/vendor/calcite-components/7PLD33LH.js +0 -4
- package/dist/collection/vendor/calcite-components/7TNMI44V.js +0 -4
- package/dist/collection/vendor/calcite-components/7VZFYJY5.js +0 -4
- package/dist/collection/vendor/calcite-components/7XZR3QPX.js +0 -4
- package/dist/collection/vendor/calcite-components/A3M4FM7N.js +0 -4
- package/dist/collection/vendor/calcite-components/A5WZ32T6.js +0 -4
- package/dist/collection/vendor/calcite-components/A6H6UTO7.js +0 -4
- package/dist/collection/vendor/calcite-components/AA6WUYLQ.js +0 -4
- package/dist/collection/vendor/calcite-components/ADRZSXZD.js +0 -4
- package/dist/collection/vendor/calcite-components/AKXBPGJ4.js +0 -4
- package/dist/collection/vendor/calcite-components/ALGCYGFE.js +0 -4
- package/dist/collection/vendor/calcite-components/B3YKMJGM.js +0 -4
- package/dist/collection/vendor/calcite-components/B6DZ4O5H.js +0 -4
- package/dist/collection/vendor/calcite-components/B747CT5Q.js +0 -5
- package/dist/collection/vendor/calcite-components/BAHKYVUM.js +0 -4
- package/dist/collection/vendor/calcite-components/BTHSKXWS.js +0 -4
- package/dist/collection/vendor/calcite-components/BWCV737I.js +0 -4
- package/dist/collection/vendor/calcite-components/BZV465ZG.js +0 -4
- package/dist/collection/vendor/calcite-components/C4A2PCZ4.js +0 -4
- package/dist/collection/vendor/calcite-components/C5MKAGNV.js +0 -4
- package/dist/collection/vendor/calcite-components/CK3TASCY.js +0 -4
- package/dist/collection/vendor/calcite-components/D2MINRBA.js +0 -4
- package/dist/collection/vendor/calcite-components/DDOM5RYZ.js +0 -4
- package/dist/collection/vendor/calcite-components/DJ4JGNMM.js +0 -4
- package/dist/collection/vendor/calcite-components/DL75ZJBG.js +0 -4
- package/dist/collection/vendor/calcite-components/DO4RITGJ.js +0 -4
- package/dist/collection/vendor/calcite-components/DSL2FNLA.js +0 -4
- package/dist/collection/vendor/calcite-components/DTEHSI7W.js +0 -4
- package/dist/collection/vendor/calcite-components/DUTPXINY.js +0 -4
- package/dist/collection/vendor/calcite-components/DY22I2GZ.js +0 -4
- package/dist/collection/vendor/calcite-components/DYN74HSB.js +0 -4
- package/dist/collection/vendor/calcite-components/E3CWAGXE.js +0 -4
- package/dist/collection/vendor/calcite-components/E3QBKOQQ.js +0 -4
- package/dist/collection/vendor/calcite-components/EBFZRB3A.js +0 -4
- package/dist/collection/vendor/calcite-components/ECGXAEDQ.js +0 -4
- package/dist/collection/vendor/calcite-components/EGC7NBN5.js +0 -4
- package/dist/collection/vendor/calcite-components/EILXZAAH.js +0 -4
- package/dist/collection/vendor/calcite-components/EISHHIYI.js +0 -4
- package/dist/collection/vendor/calcite-components/EN6Y5YN5.js +0 -4
- package/dist/collection/vendor/calcite-components/ERDL4UCD.js +0 -4
- package/dist/collection/vendor/calcite-components/EYPFBUR7.js +0 -4
- package/dist/collection/vendor/calcite-components/F6DYUGAJ.js +0 -4
- package/dist/collection/vendor/calcite-components/FAQ7B73H.js +0 -4
- package/dist/collection/vendor/calcite-components/FAULLEJY.js +0 -4
- package/dist/collection/vendor/calcite-components/FH7G4JPL.js +0 -28
- package/dist/collection/vendor/calcite-components/FHAH57CK.js +0 -4
- package/dist/collection/vendor/calcite-components/FHGZNYTT.js +0 -4
- package/dist/collection/vendor/calcite-components/FLXOWNYW.js +0 -4
- package/dist/collection/vendor/calcite-components/FVABUFOH.js +0 -4
- package/dist/collection/vendor/calcite-components/G2JF63JV.js +0 -4
- package/dist/collection/vendor/calcite-components/G63OZT6W.js +0 -4
- package/dist/collection/vendor/calcite-components/GESC7PRY.js +0 -4
- package/dist/collection/vendor/calcite-components/GIAH7CPN.js +0 -4
- package/dist/collection/vendor/calcite-components/GNZIY4A2.js +0 -4
- package/dist/collection/vendor/calcite-components/GPNKRGK6.js +0 -4
- package/dist/collection/vendor/calcite-components/GSUR5POR.js +0 -4
- package/dist/collection/vendor/calcite-components/GY22257T.js +0 -4
- package/dist/collection/vendor/calcite-components/H2PEX7CU.js +0 -4
- package/dist/collection/vendor/calcite-components/H2UMFA24.js +0 -4
- package/dist/collection/vendor/calcite-components/H7D6N2ZS.js +0 -4
- package/dist/collection/vendor/calcite-components/HALAA7KD.js +0 -4
- package/dist/collection/vendor/calcite-components/HHC7VSD3.js +0 -4
- package/dist/collection/vendor/calcite-components/HNGJKPNS.js +0 -4
- package/dist/collection/vendor/calcite-components/HQLH54Q4.js +0 -4
- package/dist/collection/vendor/calcite-components/HZLG5SUR.js +0 -4
- package/dist/collection/vendor/calcite-components/HZUKYZNP.js +0 -4
- package/dist/collection/vendor/calcite-components/IHBCPOXF.js +0 -4
- package/dist/collection/vendor/calcite-components/IIERNP6W.js +0 -4
- package/dist/collection/vendor/calcite-components/ILJVRQHM.js +0 -4
- package/dist/collection/vendor/calcite-components/IQTGVLQG.js +0 -4
- package/dist/collection/vendor/calcite-components/IRW4MFB4.js +0 -4
- package/dist/collection/vendor/calcite-components/J4KGM5S7.js +0 -5
- package/dist/collection/vendor/calcite-components/JCQBVDTR.js +0 -4
- package/dist/collection/vendor/calcite-components/JCZIZMKQ.js +0 -4
- package/dist/collection/vendor/calcite-components/JE5DGAJR.js +0 -4
- package/dist/collection/vendor/calcite-components/JL7OLH3T.js +0 -4
- package/dist/collection/vendor/calcite-components/JTWLPIB2.js +0 -4
- package/dist/collection/vendor/calcite-components/K53JENHF.js +0 -4
- package/dist/collection/vendor/calcite-components/K5ODBKLP.js +0 -4
- package/dist/collection/vendor/calcite-components/KC4IYMUL.js +0 -4
- package/dist/collection/vendor/calcite-components/KE7WVOAV.js +0 -4
- package/dist/collection/vendor/calcite-components/KGJ4OJVP.js +0 -4
- package/dist/collection/vendor/calcite-components/KI2CJ7JL.js +0 -4
- package/dist/collection/vendor/calcite-components/KNE7ABCR.js +0 -4
- package/dist/collection/vendor/calcite-components/KOFGYSC5.js +0 -4
- package/dist/collection/vendor/calcite-components/KOH6G4XV.js +0 -4
- package/dist/collection/vendor/calcite-components/KRO7CG2Q.js +0 -4
- package/dist/collection/vendor/calcite-components/KRZW2DWF.js +0 -4
- package/dist/collection/vendor/calcite-components/KSFXKRML.js +0 -4
- package/dist/collection/vendor/calcite-components/KTJZCONU.js +0 -4
- package/dist/collection/vendor/calcite-components/KXJRCIPX.js +0 -4
- package/dist/collection/vendor/calcite-components/L5DK3NJQ.js +0 -4
- package/dist/collection/vendor/calcite-components/LEAJPPH4.js +0 -4
- package/dist/collection/vendor/calcite-components/LKNGKUUT.js +0 -4
- package/dist/collection/vendor/calcite-components/LLYFYC3S.js +0 -4
- package/dist/collection/vendor/calcite-components/LLYVXFI4.js +0 -4
- package/dist/collection/vendor/calcite-components/LMPMNF4U.js +0 -4
- package/dist/collection/vendor/calcite-components/LNUDHR7T.js +0 -4
- package/dist/collection/vendor/calcite-components/LRXQU7WR.js +0 -4
- package/dist/collection/vendor/calcite-components/MDS5OEJ4.js +0 -4
- package/dist/collection/vendor/calcite-components/MEXPAXRW.js +0 -4
- package/dist/collection/vendor/calcite-components/MI3K57KT.js +0 -4
- package/dist/collection/vendor/calcite-components/MIOMFK6B.js +0 -4
- package/dist/collection/vendor/calcite-components/MJII73PP.js +0 -4
- package/dist/collection/vendor/calcite-components/MJIKLRLZ.js +0 -4
- package/dist/collection/vendor/calcite-components/MQSDYLGW.js +0 -4
- package/dist/collection/vendor/calcite-components/MWJLXQ5U.js +0 -4
- package/dist/collection/vendor/calcite-components/N2PDJVSE.js +0 -4
- package/dist/collection/vendor/calcite-components/NERFG233.js +0 -4
- package/dist/collection/vendor/calcite-components/NIUBMFXO.js +0 -4
- package/dist/collection/vendor/calcite-components/NK25FAZ6.js +0 -4
- package/dist/collection/vendor/calcite-components/NK4ED4IH.js +0 -5
- package/dist/collection/vendor/calcite-components/NOJTDKA6.js +0 -4
- package/dist/collection/vendor/calcite-components/NUY7EYNX.js +0 -4
- package/dist/collection/vendor/calcite-components/NWA7UYBI.js +0 -4
- package/dist/collection/vendor/calcite-components/NWNWCSUO.js +0 -4
- package/dist/collection/vendor/calcite-components/NYJ2KJKN.js +0 -4
- package/dist/collection/vendor/calcite-components/O6RKIBH2.js +0 -4
- package/dist/collection/vendor/calcite-components/OP2QHRHR.js +0 -4
- package/dist/collection/vendor/calcite-components/P5ZVYEQW.js +0 -4
- package/dist/collection/vendor/calcite-components/P6BFNJVU.js +0 -4
- package/dist/collection/vendor/calcite-components/P6VB45CQ.js +0 -4
- package/dist/collection/vendor/calcite-components/PNTWJB75.js +0 -4
- package/dist/collection/vendor/calcite-components/PTUZR2XV.js +0 -4
- package/dist/collection/vendor/calcite-components/QBNHVQWS.js +0 -4
- package/dist/collection/vendor/calcite-components/QD6WQCPN.js +0 -4
- package/dist/collection/vendor/calcite-components/QEBXFL3K.js +0 -4
- package/dist/collection/vendor/calcite-components/QNRLRRZZ.js +0 -4
- package/dist/collection/vendor/calcite-components/QTGKBVAW.js +0 -4
- package/dist/collection/vendor/calcite-components/QVLHSABE.js +0 -4
- package/dist/collection/vendor/calcite-components/RATZT6K7.js +0 -4
- package/dist/collection/vendor/calcite-components/RAWIO5CJ.js +0 -4
- package/dist/collection/vendor/calcite-components/RC4M4Q6U.js +0 -4
- package/dist/collection/vendor/calcite-components/ROTKUEC4.js +0 -4
- package/dist/collection/vendor/calcite-components/RRR3UCDP.js +0 -4
- package/dist/collection/vendor/calcite-components/RXJQR5VC.js +0 -4
- package/dist/collection/vendor/calcite-components/RYBJ6HQX.js +0 -4
- package/dist/collection/vendor/calcite-components/S2CHZ5WW.js +0 -4
- package/dist/collection/vendor/calcite-components/S5QILLXK.js +0 -4
- package/dist/collection/vendor/calcite-components/S5WUGWLI.js +0 -4
- package/dist/collection/vendor/calcite-components/SLILJOTA.js +0 -4
- package/dist/collection/vendor/calcite-components/SZIQPAWB.js +0 -4
- package/dist/collection/vendor/calcite-components/T2EFD7MK.js +0 -4
- package/dist/collection/vendor/calcite-components/TJ6U6Y2A.js +0 -4
- package/dist/collection/vendor/calcite-components/TRXE64SN.js +0 -4
- package/dist/collection/vendor/calcite-components/TVXUNVVJ.js +0 -4
- package/dist/collection/vendor/calcite-components/TZPOTIWO.js +0 -4
- package/dist/collection/vendor/calcite-components/UKOMGWYV.js +0 -4
- package/dist/collection/vendor/calcite-components/ULI2WHN6.js +0 -4
- package/dist/collection/vendor/calcite-components/UPO2OA2C.js +0 -4
- package/dist/collection/vendor/calcite-components/V7QQRUYR.js +0 -4
- package/dist/collection/vendor/calcite-components/VA6SEF3H.js +0 -4
- package/dist/collection/vendor/calcite-components/VCGYS6AC.js +0 -4
- package/dist/collection/vendor/calcite-components/VHIVTMYL.js +0 -22
- package/dist/collection/vendor/calcite-components/VIFJTMJE.js +0 -4
- package/dist/collection/vendor/calcite-components/VKUXTBMA.js +0 -4
- package/dist/collection/vendor/calcite-components/VYBRMYZA.js +0 -4
- package/dist/collection/vendor/calcite-components/VYSYUSUT.js +0 -4
- package/dist/collection/vendor/calcite-components/WHQERKO3.js +0 -4
- package/dist/collection/vendor/calcite-components/WLKZ6TCC.js +0 -4
- package/dist/collection/vendor/calcite-components/WRRV2226.js +0 -4
- package/dist/collection/vendor/calcite-components/X5OT5VWP.js +0 -4
- package/dist/collection/vendor/calcite-components/X7WD2RXW.js +0 -4
- package/dist/collection/vendor/calcite-components/XGGCYCLU.js +0 -4
- package/dist/collection/vendor/calcite-components/XJUGTTYP.js +0 -4
- package/dist/collection/vendor/calcite-components/XK6ESUWM.js +0 -4
- package/dist/collection/vendor/calcite-components/XODNGXTR.js +0 -4
- package/dist/collection/vendor/calcite-components/XP22SQKN.js +0 -4
- package/dist/collection/vendor/calcite-components/XUCLKKAR.js +0 -4
- package/dist/collection/vendor/calcite-components/XWO5T62V.js +0 -4
- package/dist/collection/vendor/calcite-components/XY7DR573.js +0 -4
- package/dist/collection/vendor/calcite-components/Y4WWNYQO.js +0 -4
- package/dist/collection/vendor/calcite-components/YF3UCGCR.js +0 -4
- package/dist/collection/vendor/calcite-components/YH3WSHXS.js +0 -4
- package/dist/collection/vendor/calcite-components/YOI4NTGG.js +0 -4
- package/dist/collection/vendor/calcite-components/YP2GEKXK.js +0 -4
- package/dist/collection/vendor/calcite-components/YQDF2N5J.js +0 -4
- package/dist/collection/vendor/calcite-components/YRCGG4BE.js +0 -4
- package/dist/collection/vendor/calcite-components/YTSHEMU3.js +0 -4
- package/dist/collection/vendor/calcite-components/YUQIXR5A.js +0 -4
- package/dist/collection/vendor/calcite-components/ZAY3SU5H.js +0 -4
- package/dist/collection/vendor/calcite-components/ZFGK5MNZ.js +0 -4
- package/dist/collection/vendor/calcite-components/ZITAONDY.js +0 -4
- package/dist/collection/vendor/calcite-components/ZLW5U3G6.js +0 -4
- package/dist/collection/vendor/calcite-components/ZNMXPSOQ.js +0 -4
- package/dist/collection/vendor/calcite-components/ZSLV2NNR.js +0 -4
- package/dist/esm/asyncToGenerator-e51717ed.js +0 -88
- package/dist/esm/downloadUtils-d04d4095.js +0 -3217
- package/dist/esm/effects-602e7b51.js +0 -81
- package/dist/esm/helpers-520f100c.js +0 -841
- package/dist/esm/index.es-ca80d0c5.js +0 -11108
- package/dist/esm/languageSwitcher-ccdf79d4.js +0 -49
- package/dist/esm/languageUtil-2bac3910.js +0 -66
- package/dist/esm/loadModules-1b0b108c.js +0 -21
- package/dist/esm/locale-15e42305.js +0 -155
- package/dist/esm/locale-29d08ded.js +0 -938
- package/dist/esm/popupUtils-b71abb01.js +0 -119
- package/dist/esm/utils-89be1743.js +0 -142
- package/dist/solutions-components/p-0132213f.entry.js +0 -21
- package/dist/solutions-components/p-039ab075.js +0 -61
- package/dist/solutions-components/p-04277d48.entry.js +0 -6
- package/dist/solutions-components/p-04546ef6.js +0 -6
- package/dist/solutions-components/p-0607044f.js +0 -6
- package/dist/solutions-components/p-099379e6.entry.js +0 -6
- package/dist/solutions-components/p-0b1c830a.entry.js +0 -6
- package/dist/solutions-components/p-0ea99464.entry.js +0 -6
- package/dist/solutions-components/p-1054e10a.entry.js +0 -6
- package/dist/solutions-components/p-1adc6874.entry.js +0 -6
- package/dist/solutions-components/p-258aa58e.js +0 -21
- package/dist/solutions-components/p-29baf8a2.entry.js +0 -6
- package/dist/solutions-components/p-2a1ed83a.entry.js +0 -6
- package/dist/solutions-components/p-2a7f23fc.entry.js +0 -6
- package/dist/solutions-components/p-2cb8c175.entry.js +0 -6
- package/dist/solutions-components/p-2d3b8412.entry.js +0 -6
- package/dist/solutions-components/p-2d8300ba.entry.js +0 -6
- package/dist/solutions-components/p-3423b5ef.js +0 -6
- package/dist/solutions-components/p-34338938.entry.js +0 -6
- package/dist/solutions-components/p-36e3b39c.js +0 -488
- package/dist/solutions-components/p-37cc79c6.entry.js +0 -6
- package/dist/solutions-components/p-3f8b1062.entry.js +0 -6
- package/dist/solutions-components/p-436b869c.entry.js +0 -6
- package/dist/solutions-components/p-438fdc33.js +0 -6
- package/dist/solutions-components/p-4454af38.entry.js +0 -6
- package/dist/solutions-components/p-532ed572.entry.js +0 -6
- package/dist/solutions-components/p-59a1c5a9.entry.js +0 -6
- package/dist/solutions-components/p-6ac03d17.entry.js +0 -6
- package/dist/solutions-components/p-6e879de9.entry.js +0 -6
- package/dist/solutions-components/p-7bf7d67b.js +0 -6
- package/dist/solutions-components/p-86b6f918.entry.js +0 -6
- package/dist/solutions-components/p-8db12ee9.entry.js +0 -21
- package/dist/solutions-components/p-8f973b3d.js +0 -6
- package/dist/solutions-components/p-97abbf8f.entry.js +0 -6
- package/dist/solutions-components/p-a397e773.js +0 -36
- package/dist/solutions-components/p-b6a6fdcf.entry.js +0 -11
- package/dist/solutions-components/p-b8f29a99.entry.js +0 -6
- package/dist/solutions-components/p-ba472e45.entry.js +0 -6
- package/dist/solutions-components/p-c3aac15b.entry.js +0 -6
- package/dist/solutions-components/p-cd38fc53.js +0 -6
- package/dist/solutions-components/p-d45b0400.entry.js +0 -6
- package/dist/solutions-components/p-d885880a.entry.js +0 -6
- package/dist/solutions-components/p-da1e4ff1.entry.js +0 -6
- package/dist/solutions-components/p-dbf2c455.entry.js +0 -6
- package/dist/solutions-components/p-dda0aa41.entry.js +0 -6
- package/dist/solutions-components/p-e79b69e6.entry.js +0 -6
- package/dist/solutions-components/p-edfcce2c.entry.js +0 -6
- package/dist/solutions-components/p-f292f56e.entry.js +0 -6
- package/dist/solutions-components/p-f36b4778.entry.js +0 -6
- package/dist/solutions-components/p-f457e8be.entry.js +0 -6
- package/dist/solutions-components/p-f93a9d92.js +0 -6
- package/dist/solutions-components/p-f99a78f1.entry.js +0 -6
- package/dist/solutions-components/p-fdf0d66f.entry.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/2BGOXXHV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2EBGD5ZQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2HEEVITF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2QBRISAS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2SKIGCTJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2ZPEMPPG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/36DTW2EC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/36E6CTNX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/36HITQ3A.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3FJPBCHI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3TINKPLC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3TXD2SW4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/43C4CZJO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/44DZGTF5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4IWRJJPT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4L6L5YMT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4NZHY4FQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4OSJHPNQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4ZNEZOAP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4ZTXEQT4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/57U74PDQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5BEKT6RT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5JAMHCQS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5UP5TQJN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5VK77MGP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5ZFIOILW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/62G23PKY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6A464LBG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6KXUZBIZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6OCJIDQZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6PBZNCIY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6SREDGMN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/73K4GSAV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/757M5TSP.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/7F6EUEAO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7GOGBJPD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7PLD33LH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7TNMI44V.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7VZFYJY5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7XZR3QPX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A3M4FM7N.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A5WZ32T6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A6H6UTO7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AA6WUYLQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ADRZSXZD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AKXBPGJ4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ALGCYGFE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/B3YKMJGM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/B6DZ4O5H.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/B747CT5Q.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/BAHKYVUM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BTHSKXWS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BWCV737I.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BZV465ZG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/C4A2PCZ4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/C5MKAGNV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CK3TASCY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/D2MINRBA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DDOM5RYZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DJ4JGNMM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DL75ZJBG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DO4RITGJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DSL2FNLA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DTEHSI7W.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DUTPXINY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DY22I2GZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DYN74HSB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E3CWAGXE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E3QBKOQQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EBFZRB3A.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ECGXAEDQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EGC7NBN5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EILXZAAH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EISHHIYI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EN6Y5YN5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ERDL4UCD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EYPFBUR7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/F6DYUGAJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FAQ7B73H.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FAULLEJY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FH7G4JPL.js +0 -28
- package/dist/solutions-components/vendor/calcite-components/FHAH57CK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FHGZNYTT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FLXOWNYW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FVABUFOH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G2JF63JV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G63OZT6W.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GESC7PRY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GIAH7CPN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GNZIY4A2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GPNKRGK6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GSUR5POR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GY22257T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/H2PEX7CU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/H2UMFA24.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/H7D6N2ZS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HALAA7KD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HHC7VSD3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HNGJKPNS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HQLH54Q4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HZLG5SUR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HZUKYZNP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IHBCPOXF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IIERNP6W.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ILJVRQHM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IQTGVLQG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IRW4MFB4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/J4KGM5S7.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/JCQBVDTR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JCZIZMKQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JE5DGAJR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JL7OLH3T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JTWLPIB2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/K53JENHF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/K5ODBKLP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KC4IYMUL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KE7WVOAV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KGJ4OJVP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KI2CJ7JL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KNE7ABCR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KOFGYSC5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KOH6G4XV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KRO7CG2Q.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KRZW2DWF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KSFXKRML.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KTJZCONU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KXJRCIPX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/L5DK3NJQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LEAJPPH4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LKNGKUUT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LLYFYC3S.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LLYVXFI4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LMPMNF4U.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LNUDHR7T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LRXQU7WR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MDS5OEJ4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MEXPAXRW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MI3K57KT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MIOMFK6B.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MJII73PP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MJIKLRLZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MQSDYLGW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MWJLXQ5U.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N2PDJVSE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NERFG233.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NIUBMFXO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NK25FAZ6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NK4ED4IH.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/NOJTDKA6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NUY7EYNX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NWA7UYBI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NWNWCSUO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NYJ2KJKN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/O6RKIBH2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OP2QHRHR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/P5ZVYEQW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/P6BFNJVU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/P6VB45CQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PNTWJB75.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PTUZR2XV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QBNHVQWS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QD6WQCPN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QEBXFL3K.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QNRLRRZZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QTGKBVAW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QVLHSABE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RATZT6K7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RAWIO5CJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RC4M4Q6U.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ROTKUEC4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RRR3UCDP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RXJQR5VC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RYBJ6HQX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/S2CHZ5WW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/S5QILLXK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/S5WUGWLI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SLILJOTA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SZIQPAWB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/T2EFD7MK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TJ6U6Y2A.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TRXE64SN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TVXUNVVJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TZPOTIWO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UKOMGWYV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ULI2WHN6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UPO2OA2C.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/V7QQRUYR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VA6SEF3H.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VCGYS6AC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VHIVTMYL.js +0 -22
- package/dist/solutions-components/vendor/calcite-components/VIFJTMJE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VKUXTBMA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VYBRMYZA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VYSYUSUT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WHQERKO3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WLKZ6TCC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WRRV2226.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/X5OT5VWP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/X7WD2RXW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XGGCYCLU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XJUGTTYP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XK6ESUWM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XODNGXTR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XP22SQKN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XUCLKKAR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XWO5T62V.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XY7DR573.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Y4WWNYQO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YF3UCGCR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YH3WSHXS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YOI4NTGG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YP2GEKXK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YQDF2N5J.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YRCGG4BE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YTSHEMU3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YUQIXR5A.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZAY3SU5H.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZFGK5MNZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZITAONDY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZLW5U3G6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZNMXPSOQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZSLV2NNR.js +0 -4
- /package/dist/cjs/{esri-loader-1e8cc247.js → esri-loader-08dc41bd.js} +0 -0
- /package/dist/cjs/{typeof-eba0a941.js → typeof-2a7e2dec.js} +0 -0
- /package/dist/esm/{esri-loader-d10d860d.js → esri-loader-c6842c6b.js} +0 -0
- /package/dist/esm/{typeof-a3e780e1.js → typeof-ef2a007d.js} +0 -0
- /package/dist/solutions-components/{p-3b3f77bc.js → p-0a24ad5f.js} +0 -0
- /package/dist/solutions-components/{p-19bce2cc.js → p-4fe489cf.js} +0 -0
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,g as s,h as e,H as a}from"./p-e996c38f.js";import{g as h,l as o}from"./p-a397e773.js";import{g as l,q as n,e as c,f as r,c as d}from"./p-dcd2f00b.js";import{d as p}from"./p-36e3b39c.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-19bce2cc.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const f=class{constructor(s){t(this,s),this.createWorkFlowStarted=i(this,"createWorkFlowStarted",7),this.backFromCreateWorkFlow=i(this,"backFromCreateWorkFlow",7),this.featureOrRecordSubmitted=i(this,"featureOrRecordSubmitted",7),this.customInfoText=void 0,this.enableEditGeometry=!1,this.isMobile=void 0,this.layer=void 0,this.locale=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this.selectedFeaturesIds=void 0,this.enableCreateFeatures=!0,this.selectingFeatureFromMap=void 0,this._cardLoading=!1,this._graphics=void 0,this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._translations=void 0}get el(){return s(this)}_isFeatureCreated=!1;_createFeature;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}createWorkFlowStarted;backFromCreateWorkFlow;featureOrRecordSubmitted;async featureSelectionChange(t){this._showCreateFeatureComponent&&!this._isFeatureCreated&&this._backFromCreateFeature();const i=t.detail;this._graphics=await this._getFeaturesByIds(i)}async layerSelectionChange(t){this._showCreateFeatureComponent&&this._backFromCreateFeature();const i=t.detail[0];this.layer=await l(this.mapView,i)}async componentWillLoad(){await this._getTranslations(),this.selectedFeaturesIds?.length>0&&(this._graphics=await this._getFeaturesByIds(this.selectedFeaturesIds))}render(){const t=this._graphics?.length>0?"":"display-none",i=0===this._graphics?.length&&this._showCreateFeatureComponent?"":"display-none",s=this._graphics?.length>0||this._showCreateFeatureComponent?"display-none":"",h=this.layer?.isTable,o=h?this._translations.createRecord:this._translations.createFeature,l=this.customInfoText?this.customInfoText:this.selectingFeatureFromMap?this._translations.selectFeaturesFromMapToStart:this._translations.selectFeaturesToStart,n=this.enableCreateFeatures&&this.layer?.capabilities?.operations?.supportsAdd;return e(a,{key:"5557aa4d80b859335e38db3f4255f4a61d00560f"},e("div",{key:"6756e3314fc3444a982010a3cfa702d77f05f316",class:"overflow-auto height-full"},e("calcite-shell",{key:"715eb7ed692a1d00347d44f20df370cf9a91ded5",class:"position-relative "+t},e("div",{key:"baf4e97c1884f477e4077a6dc8e59d98c77593a4",class:"position-static z-index-500"},e("info-card",{key:"0b9b30182fbc3482e9edf49b79f68aec8cf86adc",enableEditGeometry:this.enableEditGeometry,graphics:this._graphics,isLoading:this._cardLoading,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,showCloseBtn:!0}))),e("calcite-shell",{key:"94b646061956a78dec4f96d9d1d9dedc5ad6aee7",class:"position-relative "+s},e("calcite-panel",{key:"00b660d474234f8156f3d4c627626f5891754051"},e("div",{key:"adb0732ff59c4fdedb19367a32ad9e3e060ddb60",class:"padding-1"},e("calcite-notice",{key:"a2c88bd4a0827111b0d1f3056ae571b47e5b380b",icon:this.selectingFeatureFromMap?"map":"table",iconFlipRtl:!0,open:!0},e("div",{key:"bffc2630de3f0376b6ea5827c89f65dc605a5356",slot:"message"},l))),!this.isMobile&&n&&e("calcite-button",{key:"08bef5c20d6b60e17abcfc9fc19d7d1eb5d04b1c",disabled:!this.layer,onClick:()=>this._createFeatureBtnClicked(),slot:"footer",width:"full"},h?this._translations.createRecord:this._translations.createFeature))),e("calcite-shell",{key:"833a8de60b491008006034c1696fcb29f1bb6a08",class:"position-relative "+i},e("calcite-flow-item",{key:"dd2ae4509e4bec5a90f33484f8a28f422c0eeee4"},e("calcite-panel",{key:"8fa68650f1933a88cdaf1fee8391cf433b7b54e9",heading:o},e("calcite-action",{key:"2b205887ff8703e01ef356cae09ce5d15dbec7c6",class:"back-button hydrated",icon:"chevron-left",onClick:this._backFromCreateFeature.bind(this),scale:"s",slot:"header-actions-start",text:""}),this.getEditorComponent(),this._showSubmitBtn&&e("calcite-button",{key:"0977a3974583266f6d90e18c8fbbc3e18f803983",appearance:"solid",class:"footer-top-button footer-button",onClick:()=>{this._createFeature.submit()},slot:"footer",width:"full"},this._translations.create))))))}getEditorComponent(){return e("div",null,this._showCreateFeatureComponent&&e("create-feature",{customizeSubmit:!0,locale:this.locale,mapView:this.mapView,onDrawComplete:()=>{this._showSubmitBtn=!0},onEditingAttachment:t=>{this._showSubmitBtn=!t.detail},onProgressStatus:()=>{setTimeout((()=>{this._isFeatureCreated=!1}),2e3)},onSuccess:this._featureCreated.bind(this),ref:t=>this._createFeature=t,selectedLayerId:this.layer?.id,showGuidingMsgWhileDrawing:!1}))}async _getFeaturesByIds(t){return(t.length>0?await n(t,this.layer,[],!0,this.mapView.spatialReference):[]).sort(((i,s)=>t.indexOf(i.getObjectId())-t.indexOf(s.getObjectId())))}_createFeatureBtnClicked(){this._showCreateFeatureComponent=!0,this.createWorkFlowStarted.emit()}async _backFromCreateFeature(){this._createFeature&&(this._showCreateFeatureComponent=!1,this.backFromCreateWorkFlow.emit()),this._showSubmitBtn=!1}_featureCreated(){this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._isFeatureCreated=!0,this.featureOrRecordSubmitted.emit(),setTimeout((()=>{this._showCreateFeatureComponent=!0}),50)}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};f.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}.position-static{position:static !important}.z-index-500{z-index:500 !important}card-manager{display:block}";const b=class{constructor(s){t(this,s),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.toggleFilter=i(this,"toggleFilter",7),this.showDelete=i(this,"showDelete",7),this.appLayout=void 0,this.defaultGlobalId=void 0,this.defaultLayerId=void 0,this.defaultOid=void 0,this.enableAutoRefresh=void 0,this.enableColumnReorder=!0,this.enableCSV=void 0,this.enableInlineEdit=void 0,this.enableShare=void 0,this.honorMapFieldSettings=void 0,this.isMobile=void 0,this.locale=void 0,this.mapHidden=void 0,this.mapInfo=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.selectedIds=[],this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this.zoomToScale=void 0,this.createFilterModal=!0,this._allIds=[],this._controlsThatFit=void 0,this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._filterOpen=!1,this._layer=void 0,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=void 0,this._translations=void 0,this._fullTextSearchInfo=void 0,this._searchPlaceHolder="",this._size=0,this._queryingData=!1}get el(){return s(this)}FeatureTable;TableTemplate;_columnsInfo;_currentId;_editEnabled;_defaultFilterHonored=!1;_defaultGlobalIdHonored=!1;_defaultOidHonored=!1;_defaultVisibleToolSizeInfos;_definitionExpression;_deleteEnabled;_editor;_filterList;_floorExpression;_floorField;_floorFacility;_floorLevel;_floorSite;_layerExpressions;_loaded=!1;_mapClickHandle;_observerSet=!1;_previousCurrentId;reactiveUtils;_refreshHandle;_resizeObserver;_selectAllElement;_selectionFromMap=!1;_shareNode;_showHideDropdown;_moreDropdown;_table;_tableNode;_timeout;_toolbar;_toolbarSizeInfos;_searchExpression;_skipEditCheck=!1;_filterByExtentHandle;_tempSelectedIds;_outOFExtentOids=[];_shouldUpdateTableOnExtentChange=!0;appLayoutWatchHandler(){this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}enableCSVWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}mapHiddenWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}isMobileWatchHandler(){this._toolInfos||this.isMobile||this._initToolInfos()}async mapInfoWatchHandler(){this._resetColumnTemplates(),this.createFilterModal&&this._initLayerExpressions(),this._initToolInfos(),this._updateToolbar(),await this._sortTable()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression=void 0,this._searchExpression=void 0,this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",(t=>{this._mapClicked(t)})))}async _layerWatchHandler(){this._fetchingData=!0,await(this._layer?.when((async()=>{this._definitionExpression=this._layer.definitionExpression,this._floorField=this._layer.floorInfo?.floorField,this._updateFloorDefinitionExpression(),await this._resetTable(),this.createFilterModal&&this._initLayerExpressions(),this._updateShareUrl(),this._fetchingData=!1})))}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table.filterGeometry=void 0,this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(t,i){await this._handleFilterUpdate(t),i?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):!1===i&&(this._table.filterGeometry=void 0,this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(t){this._shouldUpdateTableOnExtentChange=t}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}featureSelectionChange;toggleFilter;showDelete;async beforeMapInfoChange(t){const i=t.detail.ref,s=t.detail.mapInfo;if(this._hasPendingEdits()){t.preventDefault();const e=await this._validateActiveEdits([],this.selectedIds);await i.setMapByID(e?s.id:t.detail.currentId,!e)}}async editorInitialized(t){this._shouldUpdateTableOnExtentChange=!1,this._editor=t.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(t){const i=t.detail.selectedFeature[0],s=i.getObjectId(),e=this._table;if(e.rowHighlightIds.length&&e.rowHighlightIds.removeAll(),e.rowHighlightIds.add(s),this.zoomAndScrollToSelected){const t=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(t);const e=i.layer;let a;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===e.title&&"feature"===t.layer.type)return a=t,!0})),a&&await c([s],a,this.mapView,!0,void 0,this.zoomToScale)}}async beforeLayerSelectionChange(t){if(this._hasPendingEdits()){t.preventDefault();const i=t.detail.ref,s=await this._validateActiveEdits([],this.selectedIds);return t.detail.selectedIds?await i.setLayerByIds(s?t.detail.newIds:t.detail.currentIds,!0):await i.setLayerById(s?t.detail.newId:t.detail.currentId,!0)}}async layerSelectionChange(t){await this._layerSelectionChanged(t)}async editsComplete(t){const i=t.detail;"delete"!==i&&"add"!==i||(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(t){this._floorFacility=t.detail,this._updateFloorDefinitionExpression()}async levelChanged(t){this._floorLevel=t.detail,this._updateFloorDefinitionExpression()}async siteChanged(t){this._floorSite=t.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._onResize())))}render(){const t=this._fetchingData?"display-none":"",i=this._fetchingData?"":"display-none",s=this._queryingData?"":"display-none",h=this._size.toString(),o=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",n=this._canShowFullTextSearch();return this._validateActiveActions(),e(a,{key:"a0a998de3a1b29c311a9fdfa87f3bd836481ba5a"},e("div",{key:"aafaf9f925ed7321e1ca7f15fc7db369212dc1dc"},e("calcite-scrim",{key:"86459aed994823dbf1d774aad01e8207a7df5f4f",class:s,loading:this._queryingData}),e("calcite-shell",{key:"b29896a197cba444d2ac377779670394e29ecaf6"},this._getTableControlRow("header"),e("div",{key:"0456651ac46f399eb04253387d7aae76995f4683",class:`width-full ${l}`},e("calcite-panel",{key:"9ba484159832fea630bbb653bc2fc4e99e602674",class:"height-full width-full"},n&&e("div",{key:"bd4b72db51f44c2954e893e8ef7ec2a30efc4c45",class:"search-container"},e("calcite-input",{key:"8811ff1dd71408fda37a0d7d2403671df24b5b7b",class:"search",clearable:!0,icon:"search",onCalciteInputChange:t=>{this._searchTextChanged(t)},placeholder:this._searchPlaceHolder,title:this._searchPlaceHolder,type:"search"})),e("calcite-loader",{key:"44a419089cf1e207f52ce19015c2870ce956e261",class:i,label:this._translations.fetchingData,scale:"l"}),e("div",{key:"096f4fc7f5cc9500e7982bbfaceb2fcc4c82a1dd",class:t,ref:this.onTableNodeCreate}))),this.isMobile?void 0:e("div",{class:"bottom-left text-color height-19"},this._translations.recordsSelected.replace("{{total}}",h).replace("{{selected}}",o))),this.createFilterModal&&this._filterModal()))}_deleteDialog;async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0)}componentDidRender(){document.onclick=t=>this._handleDocumentClick(t),this._updateToolbar()}async _initModules(){const[t,i,s]=await o(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate"]);this.FeatureTable=t,this.reactiveUtils=i,this.TableTemplate=s}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),this._searchFullText()}async _searchFullText(){let t=[],i=!1;if(this._showOnlySelected)t=this._tempSelectedIds,i=!0;else{if(!await this._validateActiveEdits([],this.selectedIds))return;this._clearSelection(),this._tempSelectedIds=[]}this._searchExpression&&this._clearSearchDefinitionExpression();let s=[];if(this._fullTextSearchInfo.length&&this._fullTextSearchInfo[0].searchTerm){const e=this._layer.createQuery();e.fullText=this._fullTextSearchInfo,s=await this._layer.queryObjectIds(e),i&&t?.length&&(s=s.filter((i=>t.includes(i)))),await this._updateSearchDefinitionExpression(s?.length?s:[-1])}i&&s?.length&&(this._showOnlySelected=!0,this._table.highlightIds.addMany(s.reverse())),await new Promise((t=>setTimeout(t,800))),await this._updateAllIds()}_clearSearchDefinitionExpression(){const t=this._layer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._layer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async _updateSearchDefinitionExpression(t){const i=this._layer.definitionExpression;if(t?.length){const s=`objectId in(${t})`;this._layer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return((this._layer?.capabilities)?.query)?.supportsFullTextSearch&&this._layer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._layer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._layer.indexes?.filter((t=>"FullText"==t.indexType));if(t?.length){const i=[];t.forEach((t=>{i.push(...t.fields.split(","))}));const s=[];i.forEach((t=>{const i=this._layer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_onResize(){this._updateToolbar()}_getTableControlRow(t){return e("div",{class:"display-flex height-51-px border-bottom",ref:t=>this._toolbar=t,slot:t},this._getActionBar(),this.isMobile?void 0:this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile?this._getShare("share"):void 0)}_getActionBar(){const t=this.isMobile?"width-full":"",i=this.isMobile?"border-top":"";return e("calcite-action-bar",{class:t,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("div",{class:`border-end ${t} ${i}`,id:"solutions-map-layer-picker-container"},e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",scale:"l",selectedIds:this._layer?[this._layer?.id]:[],showSingleLayerAsLabel:!0,showTables:!0,type:"dropdown"})),this.isMobile?void 0:this._getActions())}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(i.isDanger?this._getDangerAction(i.icon,i.label,i.func,i.disabled):i.isSublist&&this._table?.columns?.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,id:this._getId(i.icon),onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._showHideDropdown=t},this._getAction(i.active,this._showHideOpen?"chevron-down":i.icon,i.indicator,i.label,i.func,i.disabled,i.loading,"trigger"),this._showHideOpen?this._getFieldlist():void 0):this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getFieldlist(){return this._columnsInfo?e("calcite-dropdown-group",{"selection-mode":"multiple"},Object.keys(this._columnsInfo).map((t=>{const i=this._columnsInfo[t];return e("calcite-dropdown-item",{id:`layer-table-${t.toLowerCase().replaceAll(" ","")}`,label:t,onClick:t=>{const i=t.target;this._columnsInfo[i.label]=!i.selected,i.selected?this._table.hideColumn(i.label):this._table.showColumn(i.label)},selected:i},t)}))):void 0}_validateEnabledActions(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_validateActiveActions(){const t=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&("filter"===i.icon&&(i.indicator=this._filterActive),"list-check-all"===i.icon&&(i.active=this._selectAllActive),"selected-items-filter"===i.icon&&(i.active=this._showOnlySelected,i.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))}))}_initToolInfos(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate&&!1,s=this._featuresEmpty();this._translations&&(this._toolInfos=[this.mapHidden?void 0:{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.createFilterModal?this._toggleFilter():this.toggleFilter.emit(),disabled:!1,isOverflow:!1},i?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!i,isOverflow:!1}:void 0,this._deleteEnabled?{active:void 0,icon:"trash",indicator:void 0,label:this._translations.delete,func:()=>this._showDelete(),disabled:!t,isDanger:!0,isOverflow:!1}:void 0,{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>{this.clearSelection()},disabled:!t,isOverflow:!1},{active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!t,isOverflow:!1},{active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:s,isOverflow:!1},{active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:s,isOverflow:!1},{active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1,isOverflow:!1},this.enableCSV?{active:!1,icon:"export",indicator:!1,func:()=>{this._exportToCSV()},label:this._translations.exportCSV,loading:this._csvExporting,disabled:s,isOverflow:!1}:void 0,{active:!1,icon:this._showHideOpen?"chevron-down":"chevron-right",indicator:!1,func:()=>this._toggleShowHide(),label:this._translations.showHideColumns,disabled:!1,isOverflow:!1,isSublist:!0}],this._defaultVisibleToolSizeInfos=void 0)}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){const t=`${this._floorField} = '${this._floorLevel}'`,i=this._layer.definitionExpression;this._layer.definitionExpression=i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):i?`${i} AND (${t})`:t,this._floorExpression=t}}_featuresSelected(){return this.selectedIds.length>0}_featuresEmpty(){return 0===this._allIds.length}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this._layer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this._layer.id))),t?.length>0}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,a)=>(s.indexOf(a.id)<0&&(i>t?i-=a.width:e.push(a)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let a=!1;const h=[...this._defaultVisibleToolSizeInfos].reduce(((h,o)=>(!a&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),h.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(a=!0),h)),[]);this._setControlsThatFit(h,s)}}),250))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this._layer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:`${t.disabled?"disabled":""} ${"trash"===t.icon?"delete-red":""}`,selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.isSublist&&this._showHideOpen?"chevron-down":t.loading?"":t.icon,id:`layer-table-${t.icon}`,onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label))))),this._showHideOpen?this._getFieldlist():void 0):void 0}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_getAction(t,i,s,a,h,o,l,n){const c=void 0===this._layer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:`layer-table-${i}`,indicator:s,label:a,loading:l,onClick:h,text:a,textEnabled:!0}),this._getToolTip("bottom",i,a))}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this.mapInfo?.id?i.searchParams.set("webmap",this.mapInfo.id):i.searchParams.delete("webmap"),this._layer?.id?i.searchParams.set("layer",this._layer.id):i.searchParams.delete("layer"),this.selectedIds?.length>0?i.searchParams.set("oid",this.selectedIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":i},e("span",null,s)):void 0}_getId(t){return`solutions-action-${t}`}_getDangerAction(t,i,s,a){const h=void 0===this._layer||a;return e("div",{class:"display-flex",id:this._getId(t)},e("calcite-action",{appearance:"solid",disabled:h,id:t,onClick:s,text:""},e("calcite-button",{appearance:"transparent",iconStart:t,kind:"danger"},i)),this._getToolTip("bottom",t,i))}_getIds(){return this._table?.highlightIds?.map((t=>parseInt(t.toString(),10))).toArray()}onTableNodeCreate=t=>{this._tableNode=t};async _getTable(t,i){this._layer&&(await this._layer.when((()=>{this._table=new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!0,multiSortEnabled:!1,attachmentsEnabled:!0,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:i},container:t})})),await this._table.when((()=>{const t=this._table.highlightIds.on("change",(t=>{this._handleOnChange(t)}));this._table.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._table.size),(t=>{this._size=t}));this._table.viewModel.addHandles(i)})))}async _handleOnChange(t){if(!await this._validateActiveEdits([...t.added],[...t.removed]))return;const i=[...this._getIds()];this.selectedIds=i.reverse(),this._tempSelectedIds=[...this.selectedIds],this._finishOnChange(),this._selectionFromMap=!1}async _validateActiveEdits(t,i){let s=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let e=!1;try{await this._editor.cancelWorkflow({force:!1})}catch(t){e="workflow:cancel-denied"===t.name}e&&(s=!1,this._skipEditCheck=!0,t.length>0?this._table.highlightIds.removeMany(t):i.length>0&&this._table.highlightIds.addMany(i))}}else s=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=s,s}_hasPendingEdits(){const t=this._editor?.viewModel?.hasPendingEdits,i=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return t||i}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected()),this.featureSelectionChange.emit(this.selectedIds)}_resetColumnTemplates(){const t=this._getColumnTemplates(this._layer?.id,this._layer?.fields);0===t?.length?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");const i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some(((t,s)=>JSON.stringify(i[s])!==JSON.stringify(t)));if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=new this.TableTemplate({columnTemplates:t});const i=t.map((t=>t.fieldName));this._initColumnsInfo(i)}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),this._table)this._table.view=this.mapView,this._table.layer=this._layer;else{const t=this._getColumnTemplates(this._layer.id,this._layer?.fields);await this._getTable(this._tableNode,t)}await this._initLayerRefresh(),this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout((()=>{this._loaded||this.finishLoading()}),1e3),await this.reactiveUtils.once((()=>"loaded"===this._table.state)).then((async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),this._initToolInfos(),this._updateToolbar()}catch(t){console.log(t)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._refreshHandle=this._layer.on("refresh",(t=>{t.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){this._allIds=await this.queryAllIds(),this.selectedIds=this.selectedIds.filter((t=>this._allIds.indexOf(t)>-1)),await this._refresh()}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=void 0,this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId?.length>0&&this._table){const t=await r(this.defaultGlobalId,this._layer),i=t?.length>0?t.map((t=>t.getObjectId())):void 0;i&&await this._selectDefaultFeature(i),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=void 0,this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(t){const i=this._table?.columns.reduce(((i,s)=>((!t||t?.indexOf(s.name)>-1)&&(i[s.name]=!s.hidden),i)),{}),s=this._table?.columns.map((t=>t.name));(t?t.filter((t=>s.indexOf(t)<0)):[]).forEach((t=>{i[t]=!0})),this._columnsInfo=t?t.reduce(((t,s)=>(t[s]=i[s],t)),{}):i}async _selectDefaultFeature(t){t.length>0&&this._table.highlightIds.addMany(t)}_checkEditEnabled(){this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._deleteEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsDelete}async _sortTable(){let t,i=this._layer?.objectIdField,s="desc";this.mapInfo?.layerOptions?.layers?.length>0&&this._layer?.id&&(t=this.mapInfo.layerOptions.layers.filter((t=>t.id===this._layer.id)),t&&t.length>0&&(t=t[0],t.sortField&&t.fields?.includes(t.sortField)&&(i=t.sortField),s=t?.sortOrder?t.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when((()=>{this._table.sortColumn(i,s)})))}_forceShowHide(){this._showHideDropdown&&(this._showHideDropdown.open=this._showHideOpen),this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_closeShowHide(){this._showHideOpen=!1}_handleDocumentClick(t){const i=t.target?.id;i.startsWith("layer-table-")?this._moreDropdown.open=!0:this._showHideOpen&&Object.keys(this._columnsInfo).indexOf(i)<0&&"chevron-right"!==i&&(this._closeShowHide(),this._moreDropdown&&(this._moreDropdown.open=!1),this._showHideDropdown&&(this._showHideDropdown.open=!1))}_filterModal(){return alert("_filterModal how does this one get hit??"),e("calcite-dialog",{class:"filter-content-space",heading:this._translations?.filter?.replace("{{title}}",this._layer?.title),id:"solutions-filter-dialog",kind:"brand",modal:!0,onCalciteDialogClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:()=>{this._closeFilter()},comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>{this._handleFilterListReset()},onFilterUpdate:()=>{this._handleFilterUpdate(this._filterList.filterCount>0)},ref:t=>this._filterList=t,view:this.mapView,zoomBtn:!1}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(t){const i=this._layer.definitionExpression;if(this._floorExpression){const t=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=i&&this._floorField&&i.indexOf(`${this._floorField} = '`)>-1?i.replace(t,this._floorExpression):i?`${i} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=t,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(async()=>{if(this._shouldUpdateTableOnExtentChange){await new Promise((t=>setTimeout(t,800))),this._table.filterGeometry=this.mapView.extent;const t={geometry:this.mapView.extent},i=await this._layer.queryObjectIds(t),s=this.selectedIds.filter((t=>!i.includes(t))),e=this._outOFExtentOids.filter((t=>i.includes(t)));s.length>0&&(this._table.highlightIds.removeMany(s),this._outOFExtentOids=[...this._outOFExtentOids,...s]),e.length>0&&(this._table.highlightIds.addMany(e),this._outOFExtentOids=this._outOFExtentOids.filter((t=>!e.includes(t))))}this._allIds=await this.queryAllIds()}),{initial:!0}))}async _closeFilter(){this._filterOpen&&(this._allIds=await this.queryAllIds(),this._filterOpen=!1)}async queryAllIds(){const t=this._layer.createQuery();return t.geometry=this._filterByExtentHandle?this.mapView.extent:null,t.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(t)}async _mapClicked(t){const i={include:this._layer},s=await this.mapView.hitTest(t.screenPoint,i);s.results.length>0?(s.results.forEach((t=>{const i=t.graphic.getObjectId();this._table.highlightIds.indexOf(i)<0&&(this._selectionFromMap=!0,this._table.highlightIds.add(i))})),this._showOnlySelected&&(this._table.filterBySelectionEnabled=!0)):await this.clearSelection()}async _selectAll(){const t=this._allIds,i=t.filter((t=>this.selectedIds.indexOf(t)<0));await this._validateActiveEdits(i,this.selectedIds)?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table.filterBySelectionEnabled=this._showOnlySelected}_clearSelection(){this.selectedIds=[],this._outOFExtentOids=[],this._table?.highlightIds.removeAll(),this._table?.rowHighlightIds.removeAll(),this._finishOnChange()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){const t=this.mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._filterList.layerExpressions=this._layerExpressions,this._filterActive=this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0)).length>0}async _switchSelected(){const t=[...this.selectedIds],i=this._allIds.reduce(((i,s)=>(t.indexOf(s)<0&&i.push(s),i)),[]).sort(((t,i)=>t-i));await this._validateActiveEdits(i,t)?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(i),this.selectedIds=i,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){const t={},i=this._getIds();t[this._layer.id]={selectionSetNames:[this._layer.title],ids:i,layer:this._layer};const s=this._table.columns.toArray().reduce(((t,i)=>(i.hidden||t.push(i.name.toLocaleLowerCase()),t)),[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,await p(null,t,!1,!1,!0,s,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}_updateToolInfoLoading(t,i){this._toolInfos.some((s=>{if(s?.icon===t)return s.loading=i,!0}))}async _refresh(){await this._validateActiveEdits([],this.selectedIds)&&(await(this._table?.refresh()),this._allIds=await this.queryAllIds(),this.featureSelectionChange.emit(this.selectedIds))}async _zoom(){if(this._layer){const t=await d(this.mapView,this._layer.id);await c(this.selectedIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _layerSelectionChanged(t){const i=t.detail[0];if(i!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0;const t=await l(this.mapView,i);t&&await t.when((()=>{this._shouldUpdateTableOnExtentChange=!0,this._layer=t,this._getFullTextSearchInfo()}))}this._fetchingData=!1}_getColumnTemplates(t,i){let s;this.mapInfo?.layerOptions?.layers.some((i=>{if(i.id===t)return s=i,!0}));const e=this._layer?.attributeTableTemplate?.elements;let a=[];e?.length>0&&this.honorMapFieldSettings&&(a=e.map((t=>t.fieldName)));const h=s?.fields&&s?.fieldOrder?s.fieldOrder.filter((t=>s.fields.indexOf(t)>-1)):a.length>0?a:void 0;let o;return i&&(o=i.reduce(((t,i)=>{const e={type:"field",fieldName:i.name,label:i.alias,menuConfig:this._getMenuConfig(i.name)};return s&&s?.fields?s.fields.indexOf(i.name)>-1&&t.push(e):a.length>0?a.indexOf(i.name)>-1&&t.push(e):t.push(e),t}),[])),h?o?.sort(this._sortFields.bind(this,h)):o}_sortFields(t,i,s){return t?.indexOf(i.fieldName)-t.indexOf(s.fieldName)}_getMenuConfig(t){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(t)}}]}}_handleHideClick(t){this._columnsInfo[t]=!1,this._table.hideColumn(t),this._table.tableTemplate.columnTemplates.forEach((i=>{i.fieldName===t&&(i.visible=!1)}))}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],defaultOid:["defaultOidWatchHandler"],defaultGlobalId:["defaultGlobalIdWatchHandler"],enableCSV:["enableCSVWatchHandler"],enableInlineEdit:["enableInlineEditWatchHandler"],enableShare:["enableShareWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"],locale:["localeWatchHandler"],mapHidden:["mapHiddenWatchHandler"],isMobile:["isMobileWatchHandler"],mapInfo:["mapInfoWatchHandler"],mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],selectedIds:["selectedIdsWatchHandler"]}}};function u(t){return function(t){return-1!==t?.indexOf("http://")}(t)?t.replace(/^http:\/\//,"https://"):t}b.style=':host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir="rtl"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1) !important}.search{--calcite-color-border-input:var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color:var(--calcite-color-status-danger);--calcite-color-text-1:var(--calcite-color-status-danger);--calcite-color-text-3:var(--calcite-color-status-danger)}';const m=class{constructor(s){t(this,s),this.mapChanged=i(this,"mapChanged",7),this.beforeMapChanged=i(this,"beforeMapChanged",7),this.toggleFilter=i(this,"toggleFilter",7),this.clearSelection=i(this,"clearSelection",7),this.appLayout=void 0,this.appProxies=void 0,this.defaultWebmapId="",this.defaultLayerId=void 0,this.enableHome=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableShare=!1,this.enableSingleExpand=!0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.hidden=void 0,this.homeZoomIndex=3,this.homeZoomPosition="top-left",this.homeZoomToolsSize="m",this.locale=void 0,this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.mapView=void 0,this.stackTools=!0,this.theme=void 0,this.toolOrder=void 0,this.isMapLayout=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.selectedFeaturesIds=void 0,this.selectedLayer=void 0,this.zoomToScale=void 0,this.onlyShowUpdatableLayers=void 0,this.isMobile=void 0,this.mapInfo=void 0,this._translations=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0,this._showHideOpen=!1,this._toolInfos=void 0,this._controlsThatFit=void 0}get el(){return s(this)}esriConfig;Home;MapView;WebMap;_defaultWebmapHonored=!1;_homeWidget;_loadedId="";_mapDiv;_mapPicker;_mapTools;_moreDropdown;_mapListExpanded=!1;_filterActive=!1;_definitionExpression;_mapLayerPicker;_resizeObserver;_shareNode;_showHideDropdown;_toolbar;_timeout;_toolbarSizeInfos;_defaultVisibleToolSizeInfos;_observerSet=!1;appLayoutWatchHandler(){this._updateShareUrl()}enableHomeWatchHandler(){this._initHome()}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){this.mapView&&this._updateShareUrl()}async selectedLayerWatchHandler(){await(this.selectedLayer?.when((async()=>{this._definitionExpression=this.selectedLayer.definitionExpression})))}async selectedFeaturesIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async resetFilter(){this._filterActive=!1,this._updateShareUrl()}async updateFilterState(t){this._filterActive=t,this._updateShareUrl()}async updateLayer(){this._mapLayerPicker.updateLayer()}mapChanged;beforeMapChanged;toggleFilter;clearSelection;async mapInfoChange(t){await this._loadMap(t.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}layerSelectionChange(){setTimeout((()=>{this._initToolInfos()}),50)}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._updateToolbar())))}render(){const t=this.isMapLayout?"display-flex height-49-px":"",i=this.hidden?"visibility-hidden-1":"",s="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",h=this.mapInfos?.length>1||this.isMapLayout?"map-height":"height-full",o=this.isMapLayout?"":"display-none";return this._validateActiveActions(),e(a,{key:"a47f4ac21db985fb91ff3f5378594f60405f312c"},e("div",{key:"fdf76fd829a8e88725b43f8174a0d95fbf7a3dd1",class:`${t} width-full`,ref:t=>this._toolbar=t},this._getActionBar(),!this.isMobile&&this.isMapLayout&&this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile&&this.isMapLayout?this._getShare("share"):void 0),e("calcite-progress",{key:"b5b672726b4a4c812c386faad2077135a1e1231c",class:o,value:0}),e("div",{key:"f815ef4dba45b53c0ec4a49fe12e741b3331ce51",class:`${h} ${i}`,ref:t=>this._mapDiv=t}),e("map-tools",{key:"8e2ed31f49d349786caa4827a473a8e70e6ae611",basemapConfig:this.basemapConfig,class:`box-shadow ${s}`,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableSingleExpand:this.enableSingleExpand,homeZoomToolsSize:this.homeZoomToolsSize,locale:this.locale,mapView:this.mapView,mapWidgetsSize:this.mapWidgetsSize,position:this.mapWidgetsPosition,ref:t=>this._mapTools=t,searchConfiguration:this._searchConfiguration,stackTools:this.stackTools,toolOrder:this.toolOrder}))}async componentDidRender(){this.isMapLayout&&this._updateToolbar(),document.onclick=t=>this._handleDocumentClick(t)}async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0),this._updateShareUrl()}async _initModules(){const[t,i,s,e]=await o(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=t,this.MapView=i,this.Home=s,this.esriConfig=e}async _loadMap(t){const i=!this._defaultWebmapHonored&&this.defaultWebmapId,s=this.mapInfos?.filter((t=>t.id===this.defaultWebmapId)),e=JSON.stringify(t)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&s?s[0]:!t?.id&&this.mapInfos.length>0?this.mapInfos[0]:t;const a=this._webMapInfo.id,h=i&&t?.id===this.defaultWebmapId;if(this._loadedId!==a&&!i||h){const t=new this.WebMap({portalItem:{id:a}});this.appProxies&&(await t.load(),await(o=t,l=this.esriConfig,n=this.appProxies,n&&n.forEach((t=>{o.allLayers.forEach((i=>{i&&i.url===t.sourceUrl&&(i.url=u(t.proxyUrl),i.portalItem&&i.portalItem.when((()=>{i.portalItem.url=u(t.proxyUrl)})),l.request?.interceptors?.push({urls:t.sourceUrl,before:i=>{i.url&&i.url===t.sourceUrl&&(i.url=u(t.proxyUrl))}}))}))})),o)),this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"center"}),this._loadedId=a,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{this._initHome(),this.mapView.ui.add(this._mapTools,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=!!h||this._defaultWebmapHonored,this.mapChanged.emit({id:a,mapView:this.mapView})}))}else i?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(a)):e&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:a,mapView:this.mapView}));var o,l,n;this._updateShareUrl()}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,a)=>(s.indexOf(a.id)<0&&(i>t?i-=a.width:e.push(a)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let a=!1;const h=[...this._defaultVisibleToolSizeInfos].reduce(((h,o)=>(!a&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),h.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(a=!0),h)),[]);this._setControlsThatFit(h,s)}}),250))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionBar(){const t=this.mapInfos?.length>1?"":"display-none",i=this.isMapLayout?"display-flex":"display-block",s=this.isMobile?"border-top":"",a=this.isMapLayout?"":"display-none";return e("calcite-action-bar",{class:i,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("map-picker",{class:t,id:"map-picker",isMapLayout:this.isMapLayout,locale:this.locale,mapInfos:this.mapInfos,ref:t=>this._mapPicker=t}),e("div",{class:`mapView-header display-flex ${a}`,id:"solutions-map-layer-picker-container"},e("div",{class:`border-end ${i} ${s}`},this.mapView&&e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",ref:t=>this._mapLayerPicker=t,scale:"l",selectedIds:this.selectedLayer?[this.selectedLayer.id]:[],showSingleLayerAsLabel:!0,showTables:!0,showTablesDisabled:!0,type:"dropdown"}))),!this.isMobile&&this.isMapLayout?this._getActions():void 0)}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this.selectedLayer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:t.disabled?"disabled":"",selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.icon,id:"solutions-subset-list",onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label)))))):void 0}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:t=>{this._shareNode=t,this._updateShareUrl()},scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._loadedId?i.searchParams.set("webmap",this._loadedId):i.searchParams.delete("webmap"),this.selectedLayer?.id?i.searchParams.set("layer",this.selectedLayer.id):i.searchParams.delete("layer"),this.selectedFeaturesIds?.length>0?i.searchParams.set("oid",this.selectedFeaturesIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_closeShowHide(){this._showHideOpen=!1}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_initToolInfos(){const t=this.selectedFeaturesIds?.length>0,i=this._hasFilterExpressions(),s=this.selectedFeaturesIds?.length>1&&!1;this._translations&&(this._toolInfos=[{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},i?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1,isOverflow:!1}:void 0,s?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!s,isOverflow:!1}:void 0,{active:!1,icon:"refresh",indicator:!1,label:this._translations.refresh,func:()=>this.selectedLayer.refresh(),disabled:!1,isOverflow:!1},{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this.clearSelection.emit(),disabled:!t,isOverflow:!1}],this._defaultVisibleToolSizeInfos=void 0)}_validateActiveActions(){const t=["filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&"filter"===i.icon&&(i.indicator=this._filterActive)}))}_validateEnabledActions(){const t=this.selectedFeaturesIds?.length>0,i=this.selectedFeaturesIds?.length>1&&this.selectedLayer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_initHome(){if(this.enableHome){this._homeWidget=new this.Home({view:this.mapView}),this.mapView.ui.add(this._homeWidget,{position:this.homeZoomPosition,index:this.homeZoomIndex});const t="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";this._homeWidget.domNode.style.height=t,this._homeWidget.domNode.style.width=t}else this._homeWidget&&this.mapView.ui.remove(this._homeWidget)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_forceShowHide(){this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_handleDocumentClick(t){const i=t.target?.id;"solutions-subset-list"===i?this._moreDropdown.open=!0:this._showHideOpen&&"solutions-subset-list"!==i&&"solutions-more"!==i&&"chevron-down"!==i&&this._moreDropdown&&(this._showHideOpen=!1,this._moreDropdown.open=!1),"MAP-PICKER"===t.target.tagName&&(this._mapListExpanded=!this._mapListExpanded,this._mapPicker.toggle(this._mapListExpanded)),"MAP-PICKER"!==t.target.tagName&&(this._mapListExpanded=!1,this._mapPicker.close())}async _zoom(){if(this.selectedLayer){const t=await d(this.mapView,this.selectedLayer.id);await c(this.selectedFeaturesIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _toggleFilter(){this.toggleFilter.emit()}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this.selectedLayer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this.selectedLayer.id))),t?.length>0}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":"map-"+i},e("span",null,s)):void 0}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getAction(t,i,s,a,h,o,l,n){const c=void 0===this.selectedLayer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:"map-"+i,indicator:s,label:a,loading:l,onClick:h,text:a,textEnabled:!0}),this._getToolTip("bottom",i,a))}_getId(t){return`solutions-action-${t}`}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableHome:["enableHomeWatchHandler"],enableShare:["enableShareWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],selectedLayer:["selectedLayerWatchHandler"],selectedFeaturesIds:["selectedFeaturesIdsWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}.display-block{display:block}";export{f as card_manager,b as layer_table,m as map_card}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,g as e,h as s,H as o,F as h}from"./p-e996c38f.js";import{g as a}from"./p-a397e773.js";import{E as l}from"./p-80cb7c73.js";import{g as n}from"./p-dcd2f00b.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";const r=class{constructor(e){t(this,e),this.showIntroductionWindow=i(this,"showIntroductionWindow",7),this.showCoverPage=i(this,"showCoverPage",7),this.appLayout=void 0,this.appProxies=void 0,this.basemapConfig=void 0,this.coverPageEnabled=void 0,this.customInfoText=void 0,this.defaultAppLayout=void 0,this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.honorMapFieldSettings=!1,this.introductionWindowEnabled=!1,this.enableAutoRefresh=!1,this.enableBasemap=!0,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableHome=!0,this.enableLegend=!0,this.enableSearch=!0,this.enableShare=!1,this.enableZoom=!0,this.locale=void 0,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.popupHeaderColor=void 0,this.popupHeaderHoverColor=void 0,this.popupHeaderHoverTextColor=void 0,this.popupHeaderTextColor=void 0,this.searchConfiguration=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=!0,this.theme="light",this.zoomAndScrollToSelected=!1,this.zoomToScale=void 0,this._deleteDialogOpen=!1,this._enableCreateFeatures=!0,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._isPortraitMobile=!1,this._translations=void 0,this._layer=void 0,this._layoutMode=l.GRID,this._mapInfo=void 0,this._mapView=void 0,this._panelOpen=!0,this._numSelected=0,this._filterOpen=!1,this._showInformationHeader=!0,this._layerIds=void 0,this._isLoading=!0,this._mapExtentFilterChecked=void 0}get el(){return e(this)}_defaultAppLayoutHonored=!1;_defaultCenterHonored=!1;_defaultLevelHonored=!1;_deleteIds;_layerTable;_mapChange;_resizeObserver;_shouldSetMapView=!1;_layerExpressions;_filterList;_mapCard;_isMapViewOnLoad=!1;appLayoutWatchHandler(t,i){t!==i&&(this._layerTable.validateTableUpdate("splitView"===t),this._setActiveLayout(t),"mapView"===this.appLayout&&this._layer?.isTable&&this._mapCard.updateLayer(),this._isMapViewOnLoad&&(this._layerTable.refresh(),this._isMapViewOnLoad=!1))}enableZoomWatchHandler(){this._initMapZoom()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}showIntroductionWindow;showCoverPage;async featureSelectionChange(t){this._numSelected=t.detail?.length}async popupClosed(){this._isPortraitMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(t){this._layoutMode=t.detail}async mapChanged(t){this._mapChange=t.detail,await this._mapChange.mapView.when((async()=>{await this._setMapView()}))}async layerSelectionChange(t){const i=t.detail[0],e=await n(this._mapView,i);e&&await e.when((()=>{0===this._layerIds.length&&"mapView"===this.appLayout&&e.isTable&&(this.appLayout="splitView"),this._layer=e,this._initLayerExpressions(),this._handleFilterListReset(),this._isLoading=!1}))}async showDelete(t){this._deleteIds=t.detail.ids,this._deleteDialogOpen=!0}async idsFound(t){this._layerIds=t.detail.layerIds}async componentWillLoad(){await this._getTranslations(),this._resizeObserver=new ResizeObserver((()=>this._onResize()))}render(){return s(o,{key:"ae34199751802f20ad97e947a54a123e86c6449c"},s("calcite-shell",{key:"cec5041ec6e1683e38a714694a3a6d097f268ec8",class:"position-relative"},s("calcite-panel",{key:"feca859563d97e7b536aff264a64480c769ee1c0",class:"width-full height-full "+(this.popupHeaderColor&&"#FFFFFF"!==this.popupHeaderColor?"border-width-0":""),loading:this._isLoading},this._getBody(this._layoutMode,this._panelOpen,this._hideTable)),this._getFooter()),this._filterModal(),this._deleteModal())}async componentDidRender(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}async componentDidLoad(){this._resizeObserver.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad="mapView"===this.appLayout,this._setActiveLayout(this.appLayout)}_getFooter(){const t=this._numSelected>0,i=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete;return this._isPortraitMobile&&t&&!this._hideFooter?s("div",{class:"width-100",slot:"footer"},s("div",{class:"display-flex padding-1-2"},s("calcite-button",{appearance:"solid",id:"solutions-show",onClick:()=>this.showHideMapPopupAndTable(!0),width:"full"},this._translations.view.replace("{{n}}",this._numSelected.toString())),i?s("delete-button",{class:"padding-inline-start-1 width-full",id:"solutions-delete",ids:this._layerTable.selectedIds,layer:this._layer,locale:this.locale}):void 0)):void 0}_setActiveLayout(t){"splitView"!==t||this._panelOpen||this._toggleLayout(),"mapView"===t?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(t,i){let e="";switch(t){case l.HORIZONTAL:e=i?"chevrons-up":"chevrons-down";break;case l.VERTICAL:case l.GRID:e=i?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(t,i,e){let s="";switch(t){case l.HORIZONTAL:s=(i&&!e?"height-1-2 display-grid":i&&e?"height-full":"height-0")+" width-full position-relative";break;case l.GRID:s="height-full position-relative "+(i?"width-1-3":"width-0");break;case l.VERTICAL:s="height-full position-relative "+(i?"width-1-2":"width-0")}return s}_getTableSizeClass(t,i){let e="";switch(t){case l.HORIZONTAL:e=(i?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case l.GRID:e=(i?"width-2-3":"width-full")+" height-full display-flex";break;case l.VERTICAL:e=(i?"width-1-2":"width-full")+" height-full display-flex"}return e}_getBody(t,i,e){const o="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return s("calcite-panel",{class:"width-full height-full position-absolute"},s("div",{class:"width-full height-full overflow-hidden "+(t===l.HORIZONTAL?"":"display-flex")},this._getMapAndCard(t,i,e),this._getTable(t,i,e)),this.coverPageEnabled&&s("div",{class:"floating-container",onClick:this.coverPageButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"content-minimal",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})),this.introductionWindowEnabled&&s("div",{class:"floating-container",onClick:this.infoButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"information-letter",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})))}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(t,i,e){const o=this._getMapSizeClass(t,i,e);return s("div",{class:`${o} overflow-hidden z-index-1 ${!this._isPortraitMobile&&this._isMobile?"border-right":""}`},this._getMapNode(i),this._getPopupExpandNode())}_getMapNode(t){const i="mapView"===this.appLayout,e="tableView"===this.appLayout;return s("div",{class:(i||e?"position-absolute-0":this._layoutMode!==l.HORIZONTAL||this._isPortraitMobile&&!t?"adjusted-height-50":"")+" overflow-hidden",id:"card-mapView"},s("map-card",{appLayout:this.appLayout,appProxies:this.appProxies,basemapConfig:this.basemapConfig,class:"width-full",defaultLayerId:this.defaultWebmap&&this.defaultLayer?this.defaultLayer:"",defaultWebmapId:this.defaultWebmap,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableShare:this.enableShare,enableSingleExpand:!0,hidden:!this._isPortraitMobile&&e,homeZoomIndex:3,homeZoomPosition:"top-left",homeZoomToolsSize:"s",isMapLayout:i,isMobile:this._isMobile,locale:this.locale,mapInfo:this._mapInfo,mapInfos:this.mapInfos?.filter((t=>!1!==t.visible)),mapWidgetsIndex:0,mapWidgetsPosition:"top-right",mapWidgetsSize:"m",onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._mapCard=t,selectedFeaturesIds:this._layerTable?.selectedIds,selectedLayer:this._layer,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,stackTools:!0,theme:this.theme,toolOrder:["legend","search","fullscreen","basemap","floorfilter"],zoomToScale:this.zoomToScale}))}_getPopupExpandNode(){const t=this._isPortraitMobile&&this._showInformationHeader?"display-none height-0":"";return s("div",{class:`${this.popupHeaderColor?"":this._isPortraitMobile?"calcite-mode-light":"calcite-mode-dark"} ${this._isMobile?"height-full":"height-full position-relative"} ${this._isPortraitMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isPortraitMobile?"display-none height-0":""} ${this.mapInfos?.length>1&&"tableView"===this.appLayout?"position-relative top-51":""} position-sticky`,style:{"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor}},s("calcite-panel",null,!this._isPortraitMobile&&this._showInformationHeader||this._numSelected>0&&!this._isPortraitMobile?s("div",{class:`display-flex align-items-center ${t}`,slot:"header-content"},s("calcite-icon",{icon:"information",scale:"s"}),s("div",{class:"padding-inline-start-75"},this._translations.information)):s("div",null),this._getCardNode()))}_getCardNode(){const t="mapView"===this.appLayout,i="tableView"===this.appLayout;return s("div",{class:"width-50 height-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},s("card-manager",{class:(i&&this.mapInfos?.length>1?"adjusted-height-100-51":t||i?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isPortraitMobile?"height-full":"height-50":"adjusted-height-50_25")+" width-full",customInfoText:this.customInfoText,enableCreateFeatures:this._enableCreateFeatures&&!this._isMobile,enableEditGeometry:this?._mapInfo?.enableEditGeometry,isMobile:this._isPortraitMobile,layer:this._layer,locale:this.locale,mapView:this?._mapView,onBackFromCreateWorkFlow:()=>{this._showInformationHeader=!0},onCreateWorkFlowStarted:()=>{this.appLayout=this._layer.isTable?"tableView":"mapView",this._showInformationHeader=!1},onFeatureOrRecordSubmitted:()=>{this._layerTable.refresh()},selectedFeaturesIds:this._layerTable?.selectedIds,selectingFeatureFromMap:"mapView"===this.appLayout,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))}_getTable(t,i,e){const o="mapView"===this.appLayout,h="tableView"===this.appLayout,a=e&&this._isPortraitMobile?"visibility-hidden":o?"display-none":"",n=o?"height-full width-full z-index-0":"display-none",r=this._getTableSizeClass(t,i),d=t===l.HORIZONTAL?"horizontal":"vertical",c=t===l.HORIZONTAL?"header":"panel-start",p=this.defaultWebmap&&this.defaultLayer,g=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,u=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map((t=>parseInt(t,10))):[parseInt(this.defaultOid,10)]:void 0;return s("calcite-shell",{class:`${r} border-bottom`},this._isMobile?void 0:s("calcite-action-bar",{class:"border-sides",expandDisabled:!0,layout:d,slot:c},this.getActions(t,i)),s("div",{class:`width-full height-full position-relative z-index-0 ${a}`},s("layer-table",{appLayout:this.appLayout,createFilterModal:!1,defaultGlobalId:p?g:void 0,defaultLayerId:p?this.defaultLayer:"",defaultOid:p&&!g?u:void 0,enableAutoRefresh:this.enableAutoRefresh,enableCSV:this.enableCSV,enableColumnReorder:this.enableColumnReorder,enableInlineEdit:this?._mapInfo?.enableInlineEdit,enableShare:this.enableShare,honorMapFieldSettings:this.honorMapFieldSettings,isMobile:this._isPortraitMobile,locale:this.locale,mapHidden:h,mapInfo:this._mapInfo,mapView:this?._mapView,onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._layerTable=t,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,showNewestFirst:this.showNewestFirst,zoomAndScrollToSelected:this.zoomAndScrollToSelected,zoomToScale:this.zoomToScale})),s("div",{class:n,id:"full-map-view"}))}getActions(t,i){const e=this._getDividerIcon(t,i),o=i?this._translations.close:this._translations.open,a="toggle-layout";return s(h,null,s("calcite-action",{active:"splitView"===this.appLayout,class:"toggle-node",icon:"browser",id:"browser-action",onClick:()=>{this.appLayout="splitView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-action"},s("span",null,this._translations.splitView)),s("calcite-action",{active:"tableView"===this.appLayout,class:"toggle-node",icon:"dock-left",id:"dock-left-action",onClick:()=>{this.appLayout="tableView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"dock-left-action"},s("span",null,this._translations.tableView)),s("calcite-action",{active:"mapView"===this.appLayout,class:"toggle-node",disabled:0===this._layerIds?.length,icon:"browser-map",id:"browser-map-action",onClick:()=>{this.appLayout="mapView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-map-action"},s("span",null,this._translations.mapView)),s("calcite-action",{class:"toggle-node",icon:e,id:a,onClick:()=>this._toggleLayout(),slot:"actions-end",text:""}),s("calcite-tooltip",{placement:"bottom","reference-element":a},s("span",null,o)))}_deleteModal(){return s("delete-dialog",{id:"deleteDialogId",ids:this._deleteIds,layer:this._layer,locale:this.locale,onDeleteDialogClose:()=>this._deleteDialogOpen=!1,open:this._deleteDialogOpen})}_mapExtentFilter(){const t=0===this._layerExpressions?.length;return s("calcite-panel",null,s("div",null,s("calcite-block",{class:"dark"===this.theme?"background-dark":"",heading:"","menu-placement":"bottom-end",open:!0},s("div",{class:"filter-extent-container"},s("div",{class:"filter-extent-message"},s("span",null,this._translations.filterByExtentMsg," "),s("calcite-icon",{icon:"information",id:"filter-message-info",scale:"s"}),s("calcite-tooltip",{overlayPositioning:"fixed",placement:"top","reference-element":"filter-message-info"},this._translations.filterByExtentTooltipMsg)),s("calcite-switch",{checked:this._mapExtentFilterChecked,onCalciteSwitchChange:t=>{this._layerTable.filterUpdate(t.target.checked||this._filterList?.filterCount>0,t.target.checked),this._mapExtentFilterChecked=t.target.checked},scale:"m"}))),t&&s("div",{class:"filter-modal-buttons",slot:"footer"},s("calcite-button",{appearance:"outline",onClick:this._handleFilterListReset.bind(this),width:"full"},this._translations.Resetfilter),s("calcite-button",{onClick:this._closeFilter.bind(this),width:"full"},this._translations.close))))}_filterModal(){const t=this._layerExpressions?.length>0;return s("calcite-dialog",{class:"filter-content-space",heading:this._translations?.filter?.replace("{{title}}",this._layer?.title),id:"solutions-filter-dialog",kind:"brand",modal:!0,onCalciteDialogClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},this._mapExtentFilter(),t&&s("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:this._handleFilterListReset.bind(this),onFilterUpdate:async()=>{const t=this._filterList.filterCount>0||this._mapExtentFilterChecked;await(this._layerTable?.filterUpdate(t)),await this._mapCard.updateFilterState(t)},ref:t=>this._filterList=t,view:this._mapView,zoomBtn:!1}))}_initLayerExpressions(){const t=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0))}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._mapExtentFilterChecked=!1,this._mapCard.resetFilter(),this._layerTable.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.closeFilter())}_onResize(){const t=this.el.offsetWidth<1024,i=!this._isMobile&&t;this._isMobile=t,i&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this._isPortraitMobile=!!window.matchMedia("(orientation: portrait)").matches,this.appLayout="splitView"):this._isPortraitMobile=!1,this._layoutMode=this._isPortraitMobile?l.HORIZONTAL:l.GRID}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if("mapView"!==this.appLayout){const t=document.getElementById("full-map-view")?.childNodes[0],i=document.getElementById("card-mapView");t&&i.appendChild(t)}}_showMapInFullView(){const t=document.getElementById("card-mapView")?.childNodes[0],i=document.getElementById("full-map-view");t&&i.appendChild(t)}showHideMapPopupAndTable(t){this._hideTable=t,this._hideFooter=t}_getMapInfo(t){let i;return this.mapInfos.some((e=>{if(e.id===t)return i=e,!0})),{...i}}async _setMapView(){this._mapInfo=this._getMapInfo(this._mapChange.id),this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;const t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map((t=>parseFloat(t))),i=!this.defaultLevel||this._defaultLevelHonored?void 0:parseInt(this.defaultLevel,10);t&&i&&(await this._mapView.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView.ui.remove("zoom")}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableZoom:["enableZoomWatchHandler"],locale:["localeWatchHandler"]}}};r.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none !important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}.z-index-0{z-index:0 !important}.z-index-1{z-index:1 !important}.filter-content-space{--calcite-dialog-content-space:0px}.background-dark{background:var(--calcite-color-background)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}";export{r as crowdsource_manager}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,h as i,g as o}from"./p-e996c38f.js";import{g as n}from"./p-8f973b3d.js";import"./p-438fdc33.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";import"./p-3423b5ef.js";const e=class{constructor(i){t(this,i),this.popoverTitle=void 0,this.subtitle=void 0,this.content=void 0,this.imgSrc=void 0,this.imgAlt=void 0,this.mediaSrc=void 0,this.index=void 0,this.referenceElement=void 0,this.parent=void 0,this.placement="trailing-start",this.refId=void 0,this.pagination=!1,this.disableAction=!1,this.popoverAction=void 0,this.messages=void 0,this.messageOverrides=void 0}async componentDidLoad(){n(this,this.messageOverrides)}componentDidUpdate(){this.popoverEl.referenceElement=this.referenceElement}render(){var t,o,n,e,a;return i("calcite-popover",{key:"3849f154df2469bc69e860169af0eb64c4f77762",ref:t=>this.popoverEl=t,heading:this.popoverTitle,"auto-close":!0,placement:this.placement,messageOverrides:{close:null===(t=this.messages)||void 0===t?void 0:t.close},"trigger-disabled":!0,"ref-id":this.refId,closable:!0,referenceElement:this.referenceElement,label:this.popoverTitle},i("div",{key:"7a718011648474a15322e6857f96b5ffff2a8c0b",class:"instant-apps-popover__content"+(this.disableAction?" instant-apps-popover--action-disabled":"")},this.disableAction?null:i("calcite-action",{key:"popover-action",class:"instant-apps-popover__action",onClick:this.popoverAction,icon:"rtl"===document.dir?"chevron-right":"chevron-left",compact:!0,"text-enabled":!0,text:(null===(o=this.messageOverrides)||void 0===o?void 0:o.popoverAction)?this.messageOverrides.popoverAction:this.messages.back}),i("section",{key:"2455c7714dce23fe24b30564d02cfbe7c1038a6f"},i("span",{key:"f986951bea30dabd88bbafdba5c7bd041999fd4e",id:"subtitle"},this.subtitle),i("p",{key:"f2b632aae0a34a0fbbbec3e003cca6f7cfcd9343"},this.content),this.imgSrc?i("img",{key:`iac-popover-img-${this.refId}`,class:"instant-apps-popover__img",src:this.imgSrc,alt:this.imgAlt?this.imgAlt:""}):null),this.pagination?i("div",{key:`iac-popover-footer-${this.index}`,class:"instant-apps-popover__footer"},i("span",null,this.index+1," ",null===(n=this.messages)||void 0===n?void 0:n.of," ",null===(a=null===(e=this.parent)||void 0===e?void 0:e.instantAppsPopovers)||void 0===a?void 0:a.size),this.renderPagination()):null))}renderPagination(){var t,o;const{index:n,messages:e,parent:a}=this,s=n===(null===(o=null===(t=this.parent)||void 0===t?void 0:t.instantAppsPopovers)||void 0===o?void 0:o.size)-1;return i("div",{key:"pagination-button-container",class:"instant-apps-popover__button-container"},0===n?null:i("calcite-button",{key:"prev",onClick:()=>null==a?void 0:a.previous(),appearance:"outline",kind:"neutral"},null==e?void 0:e.back),i("calcite-button",{key:"next",onClick:()=>{s?null==a||a.done():null==a||a.next()}},s?null==e?void 0:e.done:null==e?void 0:e.next))}get el(){return o(this)}};e.style=":host{display:block}.instant-apps-popover__content{display:flex;flex-direction:column;padding:0 5% 5% 5%;max-width:35vw;font-family:var(--calcite-sans-family);font-size:0.875rem}.instant-apps-popover__content .instant-apps-popover__action{align-self:flex-start;--calcite-color-foreground-2:transparent}.instant-apps-popover__content span{display:inline-block;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);margin:0 0 10px 0;font-family:var(--calcite-sans-family)}.instant-apps-popover__content p{line-height:19.12px;margin:0;margin-bottom:10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.instant-apps-popover__content .instant-apps-popover__footer span{margin-bottom:0;font-weight:normal;font-size:0.875rem;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:first-child{--calcite-color-foreground-3:transparent}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:last-child{margin-left:5px}.instant-apps-popover__content .instant-apps-popover__img{width:100%;margin-bottom:10px}.instant-apps-popover__content.instant-apps-popover--action-disabled{padding:5%}.instant-apps-popover__content.instant-apps-popover--action-disabled #subtitle{margin:0 0 10px 0}";export{e as instant_apps_popover}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{l}from"./p-438fdc33.js";import{g as n}from"./p-04546ef6.js";import{c as o}from"./p-8717729a.js";const i=o({data:{},relationshipRampExpandStates:{},compact:!1}),u=i.state,v=i;async function d(l,n,o){var i,u,v,d,t,e,r,a,s;try{const c="group"===(null===(i=null==n?void 0:n.layer)||void 0===i?void 0:i.type),f=null===(v=null===(u=null==n?void 0:n.layer)||void 0===u?void 0:u.layers)||void 0===v?void 0:v.some((l=>l.visible)),$=null===(t=null===(d=null==n?void 0:n.layer)||void 0===d?void 0:d.layers)||void 0===t?void 0:t.every((l=>!(null==l?void 0:l.legendEnabled)));await o.whenOnce((()=>"ready"===(null==l?void 0:l.state))),!c||c&&f?c&&$?await o.whenOnce((()=>{var l;return null===(l=null==n?void 0:n.layer)||void 0===l?void 0:l.loaded})):await o.whenOnce((()=>null==n?void 0:n.ready)):await o.whenOnce((()=>null==n?void 0:n.legendElements));const y=null===(e=null==n?void 0:n.legendElements)||void 0===e?void 0:e[0],m=new Map,p=n.layer,N=await l.view.whenLayerView(p);await o.whenOnce((()=>!1===(null==N?void 0:N.updating)));const A=null===(r=p.renderer)||void 0===r?void 0:r.field;return void 0!==y&&(null===(a=null==y?void 0:y.infos)||void 0===a||a.forEach((l=>{var n;if("symbol-table"===l.type){const n=[];l.infos.forEach((l=>{n.push({count:null,selected:!1,legendElementInfo:l})})),m.set(l.title,{count:null,selected:!1,legendElementInfo:l,nestedInfos:n})}else m.set(null!==(n=l.label)&&void 0!==n?n:p.id,{count:null,selected:!1,legendElementInfo:l})}))),Promise.resolve({activeLayerInfo:n,title:null===(s=null==N?void 0:N.layer)||void 0===s?void 0:s.title,categories:m,field:A,queryExpressions:[],totalCount:null,fLayerView:N,legendElement:y})}catch(l){return Promise.resolve(null)}}async function t(l,n){const o={},i=[];l.activeLayerInfos.forEach(function(l,n,o){return i=>{var u;const v=null===(u=null==i?void 0:i.layer)||void 0===u?void 0:u.type;if("feature"===v||"group"===v){const u=d(n,i,o).then((l=>l));u&&l.push(u);const v=i=>{const u=d(n,i,o).then((l=>l));u&&l.push(u)};i.children.forEach((l=>{var n;v(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{var n;v(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{v(l)}))}))}))}}}(i,l,n));try{return(await Promise.all(i)).forEach((l=>{var n,i;return o[null===(i=null===(n=null==l?void 0:l.activeLayerInfo)||void 0===n?void 0:n.layer)||void 0===i?void 0:i.id]=l})),Promise.resolve(o)}catch(l){return Promise.reject(null)}}function e(l){return Array.from(l).map((l=>l[1]))}function r(l,n,o,i,u){var v,d,t;return i?null===(v=null==i?void 0:i.nestedInfos)||void 0===v?void 0:v[u]:null===(d=null==l?void 0:l.categories)||void 0===d?void 0:d.get(null!==(t=null==o?void 0:o.label)&&void 0!==t?t:null==n?void 0:n.id)}function a(l){var n;return null===(n=null==u?void 0:u.data)||void 0===n?void 0:n[null==l?void 0:l.id]}async function s(o,i,u,v,d){var t,e,r,a,s;const[$,m]=await l(["esri/layers/support/FeatureFilter","esri/layers/support/FeatureEffect"]),{queryExpressions:p,fLayerView:N}=o;!function(l,n,o,i){var u,v,d,t;const{field:e,legendElement:r,categories:a,fLayerView:s}=l,$=null==l?void 0:l.queryExpressions;i&&Array.from(l.categories).map((l=>l[1])).forEach((l=>{var n,o;(null===(n=l.nestedInfos)||void 0===n?void 0:n.every((l=>!l.selected)))&&(null===(o=l.nestedInfos)||void 0===o||o.forEach((l=>{const n=e?`${e} = '${l.legendElementInfo.value}'`:null,o=n?$.indexOf(n):-1;n&&-1!==o&&$.splice(o,1)})))}));const m=null==r?void 0:r.infos,p=y(s);let N=p?c(n,s):f(n,e,o,r,m,"");const A=a?i?null===(v=null===(u=a.get(i.title))||void 0===u?void 0:u.nestedInfos)||void 0===v?void 0:v[o]:a.get(null!==(d=n.label)&&void 0!==d?d:null===(t=null==s?void 0:s.layer)||void 0===t?void 0:t.id):null;A&&(A.selected=!(null==A?void 0:A.selected));const O=m&&1===m.length,w=$.indexOf(N);if(p){const l=$.indexOf(N);0===$.length||-1===l?($&&"1=0"===$[0]&&$.splice(0,1),$.push(N)):$&&1===$.length&&N===$[0]?$[0]="1=0":$&&1===$.length||$&&1===$.length&&N!==$[0]&&"1=0"===$[0]?$[0]=N:$&&1===$.length&&N===$[0]&&"1=0"===$[0]?$[0]=null:$.splice(l,1),$.join(" OR ")}else 0===$.length||-1===w?($&&"1=0"===$[0]&&$.splice(0,1),$.push(N)):$&&1===$.length&&N===$[0]&&!O?$[0]="1=0":$&&1===$.length&&!O||$&&1===$.length&&N!==$[0]&&"1=0"===$[0]&&!O?$[0]=N:$&&1===$.length&&N===$[0]&&"1=0"===$[0]&&!O?$[0]=null:$.splice(w,1);if(i){const n=[];Array.from(l.categories).map((l=>l[1])).forEach((l=>{var o,i;(null===(o=l.nestedInfos)||void 0===o?void 0:o.every((l=>!l.selected)))&&(null===(i=l.nestedInfos)||void 0===i||i.forEach((l=>{e&&`${e} = '${l.legendElementInfo.value}'`&&n.push(`${e} = '${l.legendElementInfo.value}'`)})))})),n.forEach((l=>{-1===$.indexOf(l)&&$.push(l)}))}}(o,i,u,d);const A=p.every((l=>l&&l.includes("<>")))?" AND ":" OR ",O=p.join(A),w=null!==(s=null!==(e=null===(t=null==N?void 0:N.filter)||void 0===t?void 0:t.timeExtent)&&void 0!==e?e:null===(a=null===(r=null==N?void 0:N.featureEffect)||void 0===r?void 0:r.filter)||void 0===a?void 0:a.timeExtent)&&void 0!==s?s:null,{type:E}=v;if("filter"===E)N.filter=new $({where:O,timeExtent:w});else if(v.effect){const{includedEffect:l,excludedEffect:o}=v.effect,i=await n(o,N,"excludedEffect"),u=await n(l,N,"includedEffect");N.featureEffect=new m({filter:new $({where:O,timeExtent:w}),includedEffect:u,excludedEffect:i})}return Promise.resolve()}function c(l,n){const o=n?n.layer.renderer.authoringInfo:null,i=o?o.fields:null,u=[];if(!i)return"";if(l.hasOwnProperty("value"))return i.forEach((n=>{l.value!==n&&u.push(`(${l.value} > ${n} OR (${n} IS NULL AND ${l.value} IS NOT NULL AND (${l.value} > 0 OR ${l.value} < 0)))`)})),u.join(" AND ");{const l=[];i.forEach((n=>{l.push(`${n} = 0`)}));const n=[];if(i.length>2){i.forEach((l=>{i.forEach((o=>{if(l===o)return;const u=[];i.forEach((n=>{l!==n&&o!==n&&u.push(`${l} = ${o} AND (${l} > ${n} OR ${l} >= ${n})`)})),n.push(`(${u.join(" AND ")})`)}))}));const o=[];return i.forEach((l=>{o.push(`${l} IS NULL`)})),`(${l.join(" AND ")}) OR (${n.join(" OR ")}) OR (${o.join(" AND ")})`}{const n=[];i.forEach((o=>{i.forEach((i=>{o!==i&&(n.push(`${o} = ${i}`),n.push(`(${l.join(" AND ")})`))}))}));const o=[];return i.forEach((l=>{i.forEach((n=>{l!==n&&o.push(`(${l} = 0 AND ${n} IS NULL) OR (${l} IS NULL AND ${n} IS NULL)`)}))})),`(${n.join(" OR ")}) OR (${o.join(" OR ")})`}}}function f(l,n,o,i,u,v){const{value:d}=l;if("symbol-table"===(null==i?void 0:i.type)){if(!l.hasOwnProperty("value")||Array.isArray(l.value)&&1===(null==u?void 0:u.length)){if((null==u?void 0:u[0].hasOwnProperty("value"))&&Array.isArray(null==u?void 0:u[0].value)&&(null==u?void 0:u[(null==u?void 0:u.length)-2])&&(null==u?void 0:u[(null==u?void 0:u.length)-2].hasOwnProperty("value"))&&Array.isArray(null==u?void 0:u[(null==u?void 0:u.length)-2].value))return v?`((${n}/${v}) > ${null==u?void 0:u[0].value[1]}) OR ((${n}/${v}) < ${null==u?void 0:u[(null==u?void 0:u.length)-2].value[0]}) OR ${v} = 0 OR ${v} IS NULL`:`${n} > ${null==u?void 0:u[0].value[1]} OR ${n} < ${null==u?void 0:u[(null==u?void 0:u.length)-2].value[0]} OR ${n} IS NULL`;if(1===(null==u?void 0:u.length))return"1=0";{const l=[];null==u||u.forEach((o=>{if(null==o?void 0:o.value){const{value:i}=o,u=-1!==i.indexOf("'")?i.split("'").join("''"):null,v=u?`${n} <> '${u}'`:isNaN(i)||"string"==typeof i&&!i.trim()?`${n} <> '${i}'`:`${n} <> ${i} AND ${n} <> '${i}'`;l.push(v)}}));const o=l.join(" AND ");return n&&o?`${o} OR ${n} IS NULL`:""}}{const i=-1!==d.indexOf("'")?d.split("'").join("''"):null,t=Array.isArray(l.value),e=(null==u?void 0:u.length)-1===o,r=!(null==u?void 0:u[(null==u?void 0:u.length)-1].hasOwnProperty("value")),a=o===(null==u?void 0:u.length)-2;return t?v?e||r&&a?`(${n}/${v}) >= ${d[0]} AND (${n}/${v}) <= ${l.value[1]}`:`(${n}/${v}) > ${d[0]} AND (${n}/${v}) <= ${l.value[1]}`:e||r&&a?`${n} >= ${d[0]} AND ${n} <= ${d[1]}`:`${n} > ${d[0]} AND ${n} <= ${d[1]}`:1===(null==u?void 0:u.length)&&n?isNaN(d)||!d.trim().length?`${n} <> '${d}'`:`${n} <> ${d} OR ${n} <> '${d}'`:i?`${n} = '${i}'`:isNaN(d)||!d.trim().length?`${n} = '${d}'`:`${n} = ${d} OR ${n} = '${d}'`}}return""}function $(l){return Array.isArray(l)?l.every((l=>!l.selected)):l&&Array.from(l.categories.entries()).every((l=>!l[1].selected))&&"1=0"!==l.queryExpressions[0]}function y(l){var n,o,i;return"predominance"===(null===(i=null===(o=null===(n=null==l?void 0:l.layer)||void 0===n?void 0:n.renderer)||void 0===o?void 0:o.authoringInfo)||void 0===i?void 0:i.type)}function m(l){var n;return"relationship-ramp"===(null===(n=null==l?void 0:l.legendElements[1])||void 0===n?void 0:n.type)}function p(l,n,o){var i,u,v,d,t,e,r,a,s,c,f,$,m,p,N,A,O,w,E;const R=l.layer,b=null===(i=null==R?void 0:R.renderer)||void 0===i?void 0:i.field,L=null==n?void 0:n.type,D=null==l?void 0:l.layerView,I=null===(v=null===(u=null==D?void 0:D.layer)||void 0===u?void 0:u.renderer)||void 0===v?void 0:v.classBreakInfos,g=(null===(t=null===(d=null==D?void 0:D.layer)||void 0===d?void 0:d.renderer)||void 0===t?void 0:t.uniqueValueInfos)&&b,x="size-ramp"===L,h="color-ramp"===L,P="opacity-ramp"===L,j="heatmap-ramp"===L,U=D&&I&&I.length>1,z=null===(a=null===(r=null===(e=null==D?void 0:D.layer)||void 0===e?void 0:e.renderer)||void 0===r?void 0:r.authoringInfo)||void 0===a?void 0:a.type,F="class-breaks-color"===z,k="class-breaks-size"===z,q=1===(null===(s=null==n?void 0:n.infos)||void 0===s?void 0:s.length)&&!b,V="relationship"===z&&"size-ramp"!==(null==n?void 0:n.type)&&"symbol-table"!==(null==n?void 0:n.type),C="feature"===(null===(c=null==l?void 0:l.layer)||void 0===c?void 0:c.type),T=C&&b&&!h&&!x&&U,M=!(!C||!b||h||x||U),B=!!(M||y(D)&&!x||F&&b||k&&b||q&&!b&&null!==b||V||g),G=(null===(f=null==l?void 0:l.layer)||void 0===f?void 0:f.featureReduction)&&"size-ramp"===(null===(m=null===($=null==l?void 0:l.legendElements)||void 0===$?void 0:$[o])||void 0===m?void 0:m.type),H="symbol-table"===(null==n?void 0:n.type)&&1===(null===(p=null==n?void 0:n.infos)||void 0===p?void 0:p.length),J=!(null==l?void 0:l.legendElements.every((l=>"color-ramp"!==l.type))),K=!(null==l?void 0:l.legendElements.every((l=>"size-ramp"!==l.type))),Q=H&&J,W=H&&K,X=null===(N=null==n?void 0:n.infos)||void 0===N?void 0:N.every((l=>"number"==typeof l.value)),Y="symbol-table"===(null===(O=null===(A=null==l?void 0:l.legendElements)||void 0===A?void 0:A[0])||void 0===O?void 0:O.type)&&"color-ramp"===(null===(E=null===(w=null==l?void 0:l.legendElements)||void 0===w?void 0:w[1])||void 0===E?void 0:E.type),Z="dot-density"===z,_=S(null==l?void 0:l.layer,b);return!(!C||G||P||j||Q||W||X||Y||Z||!_)&&(I?T||B:M||B)}function N(l){var n,o,i,u,v;return l.queryExpressions=[],(null===(o=null===(n=null==l?void 0:l.fLayerView)||void 0===n?void 0:n.filter)||void 0===o?void 0:o.where)&&(l.fLayerView.filter.where=""),(null===(v=null===(u=null===(i=null==l?void 0:l.fLayerView)||void 0===i?void 0:i.featureEffect)||void 0===u?void 0:u.filter)||void 0===v?void 0:v.where)&&(l.fLayerView.featureEffect=null),l.categories.forEach((l=>{l.selected=!1})),l}function A(l,n){var o,i,u,v,d,t,e,r,a,s,c;const f=l.categories.get(n);null===(o=null==f?void 0:f.nestedInfos)||void 0===o||o.forEach((n=>{const o=l.queryExpressions.indexOf(`${l.field} = '${n.legendElementInfo.value}'`);-1!==o&&l.queryExpressions.splice(o,1),n.selected=!1}));const $=[],y=Array.from(l.categories).map((l=>l[1]));y.forEach((n=>{var o,i;(null===(o=n.nestedInfos)||void 0===o?void 0:o.every((l=>!l.selected)))&&(null===(i=n.nestedInfos)||void 0===i||i.forEach((n=>{$.push(`${l.field} = '${n.legendElementInfo.value}'`)})))})),$.forEach((n=>{-1===l.queryExpressions.indexOf(n)&&l.queryExpressions.push(n)}));let m=l.queryExpressions.join(" OR ");const p=y.every((l=>{var n;return null===(n=l.nestedInfos)||void 0===n?void 0:n.every((l=>!l.selected))}));return p?((null===(u=null===(i=null==l?void 0:l.fLayerView)||void 0===i?void 0:i.filter)||void 0===u?void 0:u.where)&&(l.fLayerView.filter.where=""),(null===(t=null===(d=null===(v=null==l?void 0:l.fLayerView)||void 0===v?void 0:v.featureEffect)||void 0===d?void 0:d.filter)||void 0===t?void 0:t.where)&&(l.fLayerView.featureEffect=null),l.queryExpressions=[]):((null===(r=null===(e=null==l?void 0:l.fLayerView)||void 0===e?void 0:e.filter)||void 0===r?void 0:r.where)&&(l.fLayerView.filter.where=m),(null===(c=null===(s=null===(a=null==l?void 0:l.fLayerView)||void 0===a?void 0:a.featureEffect)||void 0===s?void 0:s.filter)||void 0===c?void 0:c.where)&&(l.fLayerView.featureEffect.filter.where=m)),l}async function O(l,n,o){var i,u;const v=l.fLayerView.createQuery();if(o)if(o.nestedInfos.every((l=>!l.selected))){const n=o.nestedInfos.map((n=>`${l.field} = '${n.legendElementInfo.value}'`)).join(" OR ");v.where=n}else{const n=o.nestedInfos.filter((l=>l.selected)).map((n=>`${l.field} = '${n.legendElementInfo.value}'`)).join(" OR ");v.where=n}else{const n=l.queryExpressions.join(" OR ");v.where=n}try{const{extent:o}=await(null===(u=null===(i=null==l?void 0:l.fLayerView)||void 0===i?void 0:i.layer)||void 0===u?void 0:u.queryExtent(v));await n.goTo(o)}catch(l){}}function w(l){return l.map((l=>null==l?void 0:l.count)).reduce(((l,n)=>l+n))}function E(l){return l.map((l=>{var n;return null===(n=null==l?void 0:l.nestedInfos)||void 0===n?void 0:n.map((l=>l.count)).reduce(((l,n)=>l+n))})).reduce(((l,n)=>l+n))}async function R(l,n,o,i,u,v,d,t){var e,r,a;if(!n)return;if(!S(null==n?void 0:n.layer,o))return;const s="feature"===(null===(e=null==n?void 0:n.layer)||void 0===e?void 0:e.type)?n.createQuery():null,$=y(n)?c(i,n):i.type?f(d,o,t,i,i.infos):f(i,o,u,v,v.infos);s&&$&&(s.where="1=0"===$?"1=1":$,s.geometry=l);try{const l=s?await n.queryFeatureCount(s):null;return Promise.resolve({[null!==(r=i.label)&&void 0!==r?r:null===(a=null==n?void 0:n.layer)||void 0===a?void 0:a.id]:l})}catch(l){console.error("FAILURE AT 'getInfoCount': ",l)}return Promise.resolve(null)}async function b(l,n){let o=Object.assign({},n);const{activeLayerInfos:i}=l;let u={};const v={};i.forEach((async o=>{var i,u,d,t;const e=o.legendElements[0],r=null===(u=n[null===(i=null==o?void 0:o.layer)||void 0===i?void 0:i.id])||void 0===u?void 0:u.fLayerView,a=null===(d=o.layer.renderer)||void 0===d?void 0:d.field,s=[];v[o.layer.id]=[],null===(t=null==e?void 0:e.infos)||void 0===t||t.forEach(((n,i)=>{var u;const d=null===(u=e.infos)||void 0===u?void 0:u.every((l=>"symbol-table"===l.type));if(d){const u=[];n.infos.forEach(((o,v)=>{const d=R(l.view.extent,r,a,n,i,e,o,v);u.push(d)})),v[o.layer.id].push(u)}else s.push(R(l.view.extent,r,a,n,i,e)),v[o.layer.id]=s}));const c=o=>{var i,u,d,t;const e=[],r=o.legendElements[0],a=null===(u=n[null===(i=null==o?void 0:o.layer)||void 0===i?void 0:i.id])||void 0===u?void 0:u.fLayerView,s=null===(d=o.layer.renderer)||void 0===d?void 0:d.field;null===(t=null==r?void 0:r.infos)||void 0===t||t.forEach(((n,o)=>e.push(R(l.view.extent,a,s,n,o,r)))),v[o.layer.id]=e};o.children.forEach((async l=>{var n;c(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{var n;c(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{c(l)}))}))}))}));for(const l in v){let n=u[l];n||(n=u[l]={});const o=await Promise.all(v[l]);if(o.every((l=>Array.isArray(l)))){const i=await Promise.all(o.map((async l=>(await Promise.all(l)).map((l=>l&&Object.values(l)[0])))));n[l]=i,u[l]=Object.assign({},n[l])}else{const i={};o.forEach((l=>{if(!l)return;const n=Object.keys(l)[0];i[n]=l[n]})),l&&(n[l]=i),u[l]=Object.assign({},n[l])}}return i.forEach((l=>{var o;const i=n[l.layer.id],v=l.layer.id;null===(o=null==i?void 0:i.categories)||void 0===o||o.forEach(((n,o)=>{var d;const t=Array.from(null==i?void 0:i.categories).findIndex((l=>l[0]===o));if(null==n?void 0:n.nestedInfos)null==n||n.nestedInfos.forEach(((n,o)=>{var i,v,d;const e=null===(d=null===(v=null==u?void 0:u[null===(i=null==l?void 0:l.layer)||void 0===i?void 0:i.id])||void 0===v?void 0:v[t])||void 0===d?void 0:d[o];n.count=isNaN(e)?null:e}));else{const l=null===(d=null==u?void 0:u[v])||void 0===d?void 0:d[o];n.count=isNaN(l)?null:l}}));const d=l=>{var o;const i=l.layer.id,v=n[i];null===(o=null==v?void 0:v.categories)||void 0===o||o.forEach(((l,n)=>{var o;const v=null===(o=null==u?void 0:u[i])||void 0===o?void 0:o[n];l.count=v}))};l.children.forEach((l=>{var n;d(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{var n;d(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{d(l)}))}))}))})),Promise.resolve(o)}function L(l,n){var o;return null===(o=null==l?void 0:l.nestedInfos)||void 0===o?void 0:o[n]}function D(l){return Array.from(l).map((l=>l[1])).every((l=>!!(null==l?void 0:l.nestedInfos)))}function I(l){var n,o,i,u;return!!(null===(u=null===(i=null===(o=null===(n=null==l?void 0:l.legendElements)||void 0===n?void 0:n[0])||void 0===o?void 0:o.infos)||void 0===i?void 0:i.every)||void 0===u?void 0:u.call(i,(l=>"symbol-table"===(null==l?void 0:l.type))))}function g(l,n){var o;return null===(o=null==l?void 0:l.categories)||void 0===o?void 0:o.get(null==n?void 0:n.title)}function x(l){const n="calcite-mode-",o=`${n}light`,i=`${n}dark`;return l.classList.contains(i)?i:o}function h(l){if(l.layerId&&l.intLegendLayerData){const n=l.layerId,o=l.intLegendLayerData,i=Object.assign(Object.assign({},u.data),{[n]:o});v.set("data",i)}}function P(o,i){const{type:u}=o;"filter"===u?function(l){var n,o;null===(o=null===(n=null==l?void 0:l.allLayerViews)||void 0===n?void 0:n.filter((l=>{var n;return"feature"===(null===(n=null==l?void 0:l.layer)||void 0===n?void 0:n.type)})))||void 0===o||o.forEach((l=>{const n=j(l);l.filter=n,l.set("featureEffect",null)}))}(i):"effect"===u&&function(o,i){var u;null===(u=null==i?void 0:i.allLayerViews)||void 0===u||u.filter((l=>{var n;return"feature"===(null===(n=null==l?void 0:l.layer)||void 0===n?void 0:n.type)})).forEach((async i=>{if((null==o?void 0:o.effect)&&i){const[u]=await l(["esri/layers/support/FeatureEffect"]),{includedEffect:v,excludedEffect:d}=o.effect,t=await n(d,i,"excludedEffect"),e=await n(v,i,"includedEffect"),r=j(i);i.featureEffect=new u({filter:r,includedEffect:e,excludedEffect:t}),i.set("filter",null)}}))}(o,i)}function j(l){var n;return(null==l?void 0:l.filter)||(null===(n=null==l?void 0:l.featureEffect)||void 0===n?void 0:n.filter)}function S(l,n){const o=null==l?void 0:l.fields,i=o&&o.map((l=>l.name));return!n||i&&i.includes(n)}function U(l){const n=[];return l.forEach((l=>z(l,n))),n}function z(l,n){n.push(l),l.children&&l.children.length>0&&l.children.forEach((l=>{z(l,n)}))}export{g as a,r as b,$ as c,b as d,t as e,U as f,x as g,P as h,u as i,d as j,s as k,a as l,I as m,m as n,A as o,N as p,e as q,D as r,v as s,E as t,h as u,p as v,w,L as x,O as z}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,g as e,h as i,H as a,c as s}from"./p-e996c38f.js";import{g as c}from"./p-a397e773.js";import{s as n}from"./p-da1e098c.js";import{d as o}from"./p-80cb7c73.js";import{E as d}from"./p-4f236b5d.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";import"./p-8717729a.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const l=class{constructor(e){t(this,e),this.hasChanges=!1,this.hasErrors=!1,this.instanceid="",this.locale=void 0,this.value=""}get el(){return e(this)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}componentDidLoad(){const t=document.getElementById(`${this.instanceid}-container`);if(t){this._editor=monaco.editor.create(t,{value:this.value,language:"json",theme:"vs",minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1}),this._currentModel=this._editor.getModel(),this._contentChanged=this._currentModel.onDidChangeContent(this._onEditorChange.bind(this));const e=monaco.editor.setModelMarkers,i=this;monaco.editor.setModelMarkers=function(t,a,s){t.id===i._currentModel.id&&(i._flagEditorHasErrors(s.length>0),i.hasErrors||(i._flagEditorHasChanges(i._currentModel?.canUndo()),i._currentModel?.canUndo()&&i._flagEditorContentChanged()),document.getElementById(`${i.instanceid}-errorFlag`).style.visibility=i.hasErrors?"visible":"hidden"),e.call(monaco.editor,t,a,s)},this._diffEditor=monaco.editor.createDiffEditor(document.getElementById(`${this.instanceid}-diff-container`),{automaticLayout:!0}),this._setDiffModel(),this._loaded=!0,this._toggleUndoRedo()}}async componentWillLoad(){this._initValueObserver(),await this._getTranslations()}render(){return i(a,{key:"e9c806dbfc886daac9be93350e461246339787dd"},i("div",{key:"5f31103bc0392042581d1421530f2ddcdebcc507",id:`${this.instanceid}-editor-container`,class:"editor-container padding-right"},i("div",{key:"560c74b9864cd94f4e689bf65cb8e1fac42b94af",class:"editor-controls"},i("div",{key:"73ca9ac97f3d40fb408e98477641a9d94e1cd32e",class:"editor-buttons"},i("calcite-icon",{key:"2d83934e4493595f66e047c608a87e316279ec1b",id:`${this.instanceid}-errorFlag`,icon:"exclamation-mark-triangle",title:this._translations.errorFlag,scale:"s",class:"edit-error-flag"}),i("calcite-button",{key:"fe95dd90ec0db23c6d6d6766d6d405c32468cec1",id:`${this.instanceid}-undo`,color:"blue",appearance:"solid",title:this._translations.undo,onClick:()=>this._undo(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"d802118d2ac7b8cbf2750f3af11252fd52173dd0",icon:"undo",scale:"s"})),i("calcite-button",{key:"9e9af33be6b712ff83ec70e024776c2429086761",id:`${this.instanceid}-redo`,color:"blue",appearance:"solid",title:this._translations.redo,onClick:()=>this._redo(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"bb5bfd3a99902b03c4ffb704b8fdc963c006e664",icon:"redo",scale:"s"})),i("calcite-button",{key:"a88fcffeb9c82394470717ebc6659b42ad9a1c20",id:`${this.instanceid}-diff`,color:"blue",appearance:"solid",title:this._translations.diff,onClick:()=>this._toggleEditor(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"f902baf72fee24ef3b56da2c4d9337db96ab63b1",icon:"compare",scale:"s"})),i("calcite-button",{key:"841abd705338fb1e43c892c4858bff00591958c3",id:`${this.instanceid}-search`,appearance:"outline",color:"blue",title:this._translations.search,onClick:()=>this._search(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"01c24bdbf30cd22a06064bf26a47b38516508879",icon:"search",scale:"s"})),i("calcite-button",{key:"2d6b9dc60e26e347272c76ff9f8ada529975265b",id:`${this.instanceid}-reset`,color:"blue",appearance:"solid",disabled:!0,title:this._translations.cancelEdits,onClick:()=>this._reset(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"a373dc694d97992dfbd60f49f38536ba34684381",icon:"reset",scale:"s"})))),i("div",{key:"6cdebae478b9d1b61e317155000bf62ad4c5b8a3",class:"edit-parent"},i("div",{key:"e3914618f86335e9538969b5cb7f7797212985c2",id:`${this.instanceid}-container`,class:"json-edit-container"}),i("div",{key:"4a17fd062060ddf2e5dca5c2fb6c9883ed9aadd4",id:`${this.instanceid}-diff-container`,class:"json-edit-container display-none"}))))}_cancelEditsBtnHandler;_contentChanged;_currentModel;_diffEditor;_editor;_loaded=!1;_searchBtnHandler;_translations;_useDiffEditor=!1;_valueObserver;async getEditorContents(){return new Promise(((t,e)=>{try{t(this._currentModel.getValue())}catch(t){e(t)}}))}async prepareForDeletion(){this._searchBtnHandler?.removeEventListener("click",this._search),this._cancelEditsBtnHandler?.removeEventListener("click",this._reset),this._valueObserver?.disconnect(),this._contentChanged?.dispose(),this._editor?.dispose()}async replaceCurrentSelection(t){const e=this._editor.getSelection();this._editor.executeEdits("",[{range:e,text:t}])}async reset(){return new Promise(((t,e)=>{try{this._reset(),t({success:!0})}catch(t){e(t)}}))}_disableButton(t){document.getElementById(t)?.setAttribute("disabled","")}_enableButton(t){document.getElementById(t)?.removeAttribute("disabled")}_flagEditorContentChanged(){window.dispatchEvent(new CustomEvent("solutionEditorContentChanged",{detail:{id:this.instanceid,contents:this._currentModel.getValue()},bubbles:!0,cancelable:!1,composed:!0}))}_flagEditorHasChanges(t){this.hasChanges!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasChanges=t)}_flagEditorHasErrors(t){this.hasErrors!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasErrors",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasErrors=t)}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}_initValueObserver(){this._valueObserver=new MutationObserver((t=>{t.forEach((t=>{"attributes"===t.type&&"value"===t.attributeName&&t.target[t.attributeName]!==t.oldValue&&this._loaded&&this._currentModel.setValue(this.value)}))})),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}_onEditorChange(){this._toggleUndoRedo()}_redo(){this._currentModel?.canRedo()&&(this._currentModel.redo(),this._toggleUndoRedo())}_reset(){this._currentModel.setValue(this.value),this._toggleUndoRedo()}_search(){this._editor.trigger("toggleFind","actions.find")}_setDiffModel(){this._diffEditor&&this._diffEditor.setModel({original:monaco.editor.createModel(this.value,"json"),modified:this._editor.getModel()})}_toggleEditor(){this._useDiffEditor=!this._useDiffEditor;let t=document.getElementById(`${this.instanceid}-diff-container`),e=document.getElementById(`${this.instanceid}-container`);this._useDiffEditor?(this._setDiffModel(),t.classList.remove("display-none"),e.classList.add("display-none")):(t.classList.add("display-none"),e.classList.remove("display-none"))}_toggleUndoRedo(){this._currentModel?.canUndo()?this._enableButton(`${this.instanceid}-undo`):this._disableButton(`${this.instanceid}-undo`),this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-redo`):this._disableButton(`${this.instanceid}-redo`),this._currentModel?.canUndo()||this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-reset`):this._disableButton(`${this.instanceid}-reset`)}_undo(){this._currentModel?.canUndo()&&(this._currentModel.undo(),this._toggleUndoRedo())}static get assetsDirs(){return["assets"]}static get watchers(){return{locale:["localeWatchHandler"]}}};l.style=":host{display:block}.editor-container{position:relative;height:100%}.editor-controls{height:2.75rem;padding-right:0.5rem;background-color:#F4F4F4}.editor-buttons{float:right}html[dir=rtl] .editor-buttons{float:left}.edit-error-flag{padding-top:0.5rem;color:red;visibility:hidden}.edit-button{padding-inline-start:0.5rem}.editor-text{width:100%;overflow-y:auto;background-color:#FFFFFF}.edit-width{width:100%}.edit-parent{box-sizing:border-box;width:100%;height:calc(100% - 46px)}.json-edit-container{height:100%;width:100%;border:1px #808080 solid}.padding-right{padding-inline-end:0.125rem}.btn{margin-bottom:1rem;display:flex;align-content:center;height:25px;width:120px}.select-ctrl{margin-bottom:1rem}.all-edits{margin-top:4rem}.floating-title{font-size:2rem;z-index:100;position:absolute;left:0.5rem;pointer-events:none}.floating-title-button{pointer-events:auto}.json-editor-position1{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:100%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2a{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2b{position:absolute;right:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}";const r=class{constructor(e){t(this,e),this.itemId="",this.locale=void 0,this.itemDetails={accessInformation:"",description:"",licenseInfo:"",snippet:"",tags:[],title:""},this.itemEdit=void 0,this._translations=void 0,this.thumbnail=void 0,this.thumbnailContainer=void 0}get el(){return e(this)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async componentWillLoad(){return this._getTranslations()}async componentWillRender(){return this.itemEdit=n.getItemInfo(this.itemId),this.itemEdit&&(this.itemDetails=this.itemEdit.item,this.itemType=this.itemDetails.type),Promise.resolve()}render(){return i(a,{key:"8ad2bab229a9ee6cd80efde17d269a484288f5ae"},i("div",{key:"a066afedf3e5ea056579e07cac6c38496fe00d79",class:"parent-container"},i("div",{key:"fe7d207e2d28f0e70507ef048d993bc3ddc62297",class:"inputBottomSeparation"},i("calcite-input",{key:"f0714ef845c9b4aa791e3fc6f5ac28fe6572127d",id:"item-title",value:this.itemDetails.title})),i("div",{key:"40b6f0d4d34ff62134f25fdd42887f395407aa45",class:"inputBottomSeparation"},i("input",{key:"216060434e37ff499a47b4cc24d7682ac6e55ba7",accept:".jpg,.gif,.png,image/jpg,image/gif,image/png",class:"display-none",onChange:t=>this._updateThumbnail(t),ref:t=>this.browseForThumbnail=t,type:"file"}),i("button",{key:"a6b71fac06b9231a91b32a0416cb3a723b6ac6dd",class:"font-size--3 btn-link inline-block trailer-quarter",onClick:()=>this._getThumbnail()},i("svg",{key:"395adfcd43d737fe049f765b3700d7358c06e8a0",class:"icon-inline icon-inline--on-left",height:"16",viewBox:"0 0 16 16",width:"16"},i("path",{key:"5e541a3fcb79fe3a306b720a08e745f0dd69d557",d:"M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z"})),this._translations.editThumbnail),i("div",{key:"e6dc45b53a0deac24d29a7be29569c55857a7801",class:"flex"},i("div",{key:"8c81b6db29e4b03a5188e729eb8e27b8dcf22e5f",class:"img-container",ref:t=>this.thumbnailContainer=t},i("img",{key:"cfbfad50a4eb55166cb49be45a20f680b7d482d3",class:"scale-down",height:"133",id:"item-thumbnail",ref:t=>this.thumbnail=t,width:"200"})),i("div",{key:"0cf010a87106c0434ff7d54f7889bc2eb08fd733",class:"snippet-count-container"},i("calcite-input",{key:"85eedc1b801db3afdc2dfb606aa93de489bac491",id:"item-snippet",maxLength:250,type:"textarea",value:this.itemDetails.snippet}),i("label",{key:"783be9f5082085add36a16f1a8bc55ecc11dc7e8",class:"font-size--3",id:"item-snippet-count",ref:t=>this.itemSnippetCount=t})))),i("calcite-label",{key:"63bdfb42b95d1e8086e792efd757919676230354"},this._translations.description,i("label",{key:"aa9056a2807d9fd14c7dcd81775d902a30a2df63",id:"item-description-label"},i("calcite-input",{key:"61d584f29afd305913039e0cf4d6be7d54f1aa2f",id:"item-description",type:"textarea",value:this.itemDetails.description}))),i("calcite-label",{key:"4daf0f44b2b14274fe8992bad5607c8ba82d6fa4"},this._translations.tags,i("label",{key:"142f41ae1667c916e2ef32e7b7eb9aacad80e17d",id:"item-tags-label"},i("calcite-input",{key:"2f576b51a68370ce1112b999c35eef0714595e9f",id:"item-tags",value:(this.itemDetails.tags&&Array.isArray(this.itemDetails.tags)?this.itemDetails.tags:[this.itemDetails.tags]).join(",")}))),"Group"!==this.itemType?i("calcite-label",null,this._translations.credits,i("label",{id:"item-credits-label"},i("calcite-input",{id:"item-credits",value:this.itemDetails.accessInformation}))):null,"Group"!==this.itemType?i("calcite-label",null,i("label",{id:"item-terms-label"},this._translations.termsOfUse,i("calcite-input",{id:"item-terms",type:"textarea",value:this.itemDetails.licenseInfo}))):null))}componentDidRender(){this._loadThumb()}browseForThumbnail;itemType;itemSnippetCount;inputReceivedHandler(t){switch(t.target.id){case"item-title":this.itemDetails.title=t.target.value,this._updateStore();break;case"item-snippet":t.target.value.length>250&&(t.target.value=t.target.value.substring(0,250)),this.itemDetails.snippet=t.target.value,this._updateLengthLabel(this.itemDetails.snippet),this._updateStore();break;case"item-description":this.itemDetails.description=t.target.value,this._updateStore();break;case"item-tags":this.itemDetails.tags=t.target.value,this._updateStore();break;case"item-credits":this.itemDetails.accessInformation=t.target.value,this._updateStore();break;case"item-terms":this.itemDetails.licenseInfo=t.target.value,this._updateStore()}}_getThumbnail(){this.browseForThumbnail.click()}_loadThumb(){this.thumbnail&&this.itemEdit?.thumbnail?(this.thumbnail.src=URL.createObjectURL(this.itemEdit.thumbnail),this.thumbnailContainer.classList.remove("empty-box"),this.thumbnail.classList.remove("display-none")):(this.thumbnailContainer.classList.add("empty-box"),this.thumbnail.classList.add("display-none"))}_updateLengthLabel(t){this.itemSnippetCount.innerText=this._translations.snippetCountPattern.replace("{{n}}",t.length.toString())}_updateStore(){this.itemEdit=n.getItemInfo(this.itemId),this.itemEdit.item=this.itemDetails,n.setItemInfo(this.itemEdit)}_updateThumbnail(t){const e=t.target.files;e&&e[0]&&this.thumbnail&&(this.thumbnail.src=URL.createObjectURL(e[0]),this.itemEdit=n.getItemInfo(this.itemId),this.itemEdit.thumbnail=e[0],n.replaceItemThumbnail(this.itemEdit))}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};r.style=".inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.icon-inline--on-left,.icon-inline--on-right{display:inline;vertical-align:middle;margin-inline-end:0.375rem;fill:#0079c1}.scale-down{-o-object-fit:scale-down;object-fit:scale-down}.img-container{display:inline;margin-inline-end:1rem;max-width:363px}.summary-count-container{display:inline;flex-grow:1;margin-inline-start:0.75rem}.snippet-count-container{width:calc(100vw - 363px)}.parent-container{max-width:100%;padding:1rem}label{position:relative;margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem;display:block;min-width:-moz-min-content;min-width:min-content}";const h=class{constructor(e){t(this,e),this.groupId="",this.locale=void 0,this._translations=void 0,this.sharing=[]}get el(){return e(this)}itemIdWatchHandler(){const t=n.getItemInfo(this.groupId);this.sharing=t.groupDetails}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async componentWillLoad(){return this._getTranslations()}render(){return i(a,{key:"1c7dbee68fbf0eabf736fb783f173ade2f408122"},i("div",{key:"3c3d88ab122d4a8bc69363224a2754c4a4b092ba",class:"container-border"},i("calcite-label",{key:"137bb704b258a3cd1e5e5b7a18c53aca331d7f91"},this._translations.groupInfo),this._renderItems(this.sharing)))}async getShareInfo(){return this.sharing}_renderItems(t){return t&&t.length>0?t.map((t=>i("calcite-label",{layout:"inline"},i("calcite-switch",{checked:t.shareItem,id:t.id,name:"setting",onCalciteSwitchChange:t=>this._updateItem(t),scale:"m",value:"enabled"}),i("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),i("span",{class:"icon-text",title:t.title},t.title)))):null}_updateItem(t){const e=t.target.id;this.sharing=this.sharing.map((i=>{if(i.id===e){i.shareItem=t.target.checked;const a=n.getItemInfo(e);if(i.shareItem)a.groups?a.groups.indexOf(this.groupId)<0&&a.groups.push(this.groupId):a.groups=[this.groupId];else if(a.groups){const t=a.groups.indexOf(this.groupId);t>-1&&a.groups.splice(t,1)}n.setItemInfo(a)}return i}))}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{groupId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};h.style=":host{display:block}.container-border{padding:1rem}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const b=class{constructor(e){t(this,e),this.organizationVariableSelected=s(this,"organizationVariableSelected",7),this.locale=void 0,this.value="",this._organizationVariables=[],this._translations=void 0}get el(){return e(this)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}valueWatchHandler(){this._organizationVariables=JSON.parse(this.value)}async componentWillLoad(){return this._getTranslations()}render(){return i(a,{key:"3f72a5c1b8fb6bcdab858ee061eadb38cb9965d9"},i("div",{key:"118c7cafc8330c44e72a59a76fd81ca0f39696e1"},i("h4",{key:"86934bdf3cbf162a732a53579e324c5fff8beead",class:"org-var-header"},this._translations.orgVariables)),i("div",{key:"ed5c1df397286a7d1c8e61b5ce04623fa13d74cc",class:"container-border"},i("calcite-tree",{key:"47f4f9bf5a81ded9a37a33a94fac6a230263e917",id:"variable-label"},this._renderHierarchy(this._organizationVariables))))}organizationVariableSelected;_renderHierarchy(t){return t.map((t=>i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,e){this.organizationVariableSelected.emit({itemId:t,value:e})}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],value:["valueWatchHandler"]}}};b.style=":host{display:block}.container-border{overflow-y:auto}.org-var-header{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1rem}";const f=class{constructor(e){t(this,e),this.authentication=void 0,this.itemId="",this.locale=void 0,this.resourceFilePaths=[],this.resources=[],this._translations=void 0}get el(){return e(this)}itemIdWatchHandler(){const t=n.getItemInfo(this.itemId);this.resourceFilePaths=t.resourceFilePaths,this.resources=t.resources.map((t=>t.substring(t.lastIndexOf("/")+1)))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}componentWillLoad(){return this._getTranslations()}render(){const t=this._hasValidResources();return i(a,{key:"13f2759a882d2eca48bf9dda58e74caade76142b"},i("div",{key:"498ced2e29b8af9138a8aa9d77ec78e07e3c64de",class:"resource-item"},i("div",{key:"d76a967373a990906a67d88ea6466030c41401ff",class:"margin-bottom-1"},i("calcite-button",{key:"96cd2ee08adadef9e1b29db12c38d4748b0689c0",appearance:"solid",class:"resource-button",color:"blue",onClick:()=>this._addNewResource()},this._translations.addResource),i("calcite-button",{key:"49326139cad065995512d3e3568c7d8e7f5cef4f",appearance:"solid",color:"blue",disabled:!t,onClick:()=>this._downloadAll()},this._translations.downloadAll)),i("div",{key:"9c056d9ab7242ea10cbcf57eaabce4bd9777541e",class:"resources-container",style:{display:t?"inherit":"none"}},this._renderResourceList())))}_removedResources={};_renderResourceList(){return i("calcite-value-list",{multiple:!0},this.resourceFilePaths.reduce(((t,e)=>(e.type!==d.Thumbnail&&t.push(this._renderResource(e)),t)),[]))}_renderResource(t){const e=t.updateType===o.Remove;return i("calcite-value-list-item",{class:e?"disabled":"",label:t.folder?t.folder+"/"+t.filename:t.filename,nonInteractive:!0,value:t.url},i("calcite-action-group",{"expand-disabled":"true",layout:"horizontal",slot:"actions-end"},i("calcite-action",{disabled:e,icon:"download",label:this._translations.download,onClick:()=>this._download(t.url,t.filename),scale:"m",text:this._translations.download,title:this._translations.download}),i("calcite-action",{disabled:e,icon:"upload-to",label:this._translations.update,onClick:()=>this._upload(t),scale:"m",text:this._translations.update,title:this._translations.update}),i("calcite-action",{disabled:e,icon:"trash",label:this._translations.delete,onClick:()=>this._delete(t),scale:"m",text:this._translations.delete,title:this._translations.delete}),e?i("calcite-action",{icon:"reset",label:this._translations.reset,onClick:()=>this._reset(t.filename),scale:"m",text:this._translations.reset,title:this._translations.reset}):i("div",{class:"display-none"})))}_delete(t){t.updateType=o.Remove,this.resourceFilePaths=[...this.resourceFilePaths],this._updateStore()}_reset(t){this.resourceFilePaths=this.resources.some((e=>e===t))?this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=o.None),e))):this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=o.Add),e))),this._updateStore()}_downloadAll(){this.resourceFilePaths.forEach((t=>{this._download(t.url,t.filename)}))}_download(t,e){t.startsWith("blob")?this.downloadFile(t,e):this.fetchAndDownload(`${t}?token=${this.authentication.token}`,e)}downloadFile(t,e){const i=document.createElement("a");i.href=t,i.download=e,i.target="_blank",i.click()}_hasValidResources(){return this.resourceFilePaths.some((t=>t.url.indexOf("_info_thumbnail")<0))}async fetchAndDownload(t,e){const i=await fetch(t),a=await i.blob(),s=URL.createObjectURL(a);this.downloadFile(s,e)}_upload(t){const e=document.createElement("input");e.classList.add("display-none"),e.onchange=this._updateResource.bind(this,t),e.type="file",e.click()}_addNewResource(){const t=document.createElement("input");t.classList.add("display-none"),t.onchange=this._add.bind(this),t.type="file",t.click()}_updateResource(t,e){const i=e.target.files;i&&i[0]&&(t.blob=i[0],t.updateType=o.Update,this._updateStore())}_add(t){const e=t.target.files;if(e&&e[0]){const t=URL.createObjectURL(e[0]),i=e[0].name;this.resourceFilePaths.some((e=>e.filename===i&&e.url===t))||(this.resourceFilePaths=[...this.resourceFilePaths,{url:t,type:d.Data,folder:void 0,filename:i,blob:e[0],updateType:o.Add}],this._updateStore())}}_updateStore(){const t=n.getItemInfo(this.itemId);t.resourceFilePaths=this.resourceFilePaths,n.setItemInfo(t)}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{itemId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};f.style=":host{display:block}.resource-item{padding:1rem}.resource-button{margin-inline-end:1rem}.resource-progress{padding-top:1rem}.resources-container{border:1px #808080 solid}.margin-bottom-1{margin-bottom:1rem}";const p=class{get el(){return e(this)}itemIdWatchHandler(){this._initializing=!0,this.value=JSON.stringify("data"===this.instanceid?n.getItemInfo(this.itemId).data:n.getItemInfo(this.itemId).properties,null,2)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}constructor(e){t(this,e),this.instanceid="",this.itemId="",this.locale=void 0,this.organizationVariables="",this.solutionVariables="",this.varsOpen=!0,this._translations=void 0,this.value="",window.addEventListener("solutionEditorContentChanged",(t=>{if(this.itemId){const{id:e,contents:i}=t.detail,[a,s]=e.split("|");if(a==this.itemId&&s===this.instanceid){if(!this._initializing&&i.length>0){const t=n.getItemInfo(a);"data"===s?t.data=JSON.parse(i):t.properties=JSON.parse(i),n.setItemInfo(t)}this._initializing=!1}}}))}componentWillLoad(){return this._getTranslations()}render(){return i(a,{key:"3f853006c19509c8cf484d4420b3f687aaad5161"},i("div",{key:"f524e1ee3c8dc972779be0909372c11c26092dd0",class:"solution-data-container"},i("calcite-shell",{key:"56797702bc53b08051360975dc529c884eb7d294",class:"light var-container",dir:"ltr"},i("calcite-panel",{key:"6208ac7b63ab8b69bc29ad88abdb9bcdeaaa707a",class:"json-editor"},i("div",{key:"66e99550359b5665b4dd04f794d8108e4ee34284",class:"solution-data-child-container calcite-match-height"},i("json-editor",{key:"7a7f5afa5d424fb6099b7167f274ce211e791a56",class:"solution-data-editor-container",instanceid:this.itemId+"|"+this.instanceid,locale:this.locale,value:this.value}))),i("calcite-shell-panel",{key:"7cc8bac91bfc5be96018d005cc87be457278ed6d","height-scale":"l",position:"end",slot:"contextual-panel","width-scale":"xs"},i("div",{key:"4ce0c251d30d5735781394f5c213523867205886",class:this.varsOpen?"solution-data-child-container":"solution-data-child-container-collapsed"},i("calcite-button",{key:"814c8996b854102b022f7ac482498dd6aac36ec8",appearance:"transparent",class:"collapse-btn","icon-start":this.varsOpen?"chevrons-right":"chevrons-left",id:"collapse-vars",onClick:()=>this._toggleVars(),scale:"s",title:this.varsOpen?this._translations.collapse:this._translations.expand}),i("div",{key:"6b872cfc1c60870fb6262808f5d9f61cc35f0f44",class:this.varsOpen?"org-vars":"org-vars display-none",id:"orgVars"},i("solution-organization-variables",{key:"e8e9ee594b6dcb5ddaabd05c322fb33d568ac7b5",locale:this.locale,value:this.organizationVariables})),i("div",{key:"109d17a77a54a13818af6aa2a9beb92526100ea7",class:this.varsOpen?"sol-vars":"sol-vars display-none",id:"solVars"},i("solution-variables",{key:"46902ed69897ed01334def99817fedafbda2e8d5",locale:this.locale,value:this.solutionVariables})))))))}_initializing=!1;_toggleVars(){this.varsOpen=!this.varsOpen}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{itemId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};p.style=":host{display:flexbox}.solution-data-container{position:absolute;height:-moz-available;height:calc(100% - 48px);height:-webkit-fill-available;height:stretch;width:-moz-available;width:100%;width:-webkit-fill-available;width:stretch}.solution-data-child-container{display:flex;height:100%;width:100%;flex-direction:column;overflow-y:auto}.solution-data-editor-container{height:100%}.solution-data-child-container-collapsed{display:flex;height:100%;flex-direction:column;overflow:auto;width:50px}.inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.json-editor{margin:1rem;width:auto;width:-webkit-fill-available -moz-available}.collapse-btn{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.org-vars{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.sol-vars{padding-top:0px;padding-bottom:0px;padding-left:1rem;padding-right:1rem;min-height:45%}.padding-1{padding:1rem}.light{background-color:#F4F4F4}";const m=class{constructor(e){t(this,e),this.solutionVariableSelected=s(this,"solutionVariableSelected",7),this.value="",this.locale=void 0,this._solutionVariables=[],this._translations=void 0}get el(){return e(this)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}valueWatchHandler(){this._solutionVariables=JSON.parse(this.value)}componentWillLoad(){return this._getTranslations()}render(){return i(a,{key:"a90cdfc9a32279cb07938fc57f9dd7e38d822f6d"},i("div",{key:"6826e3dd84034368f419ff759962a721a275dc9c"},i("h4",{key:"5ebdf456e8c4dc006b036dc182fa75218aac0e01",class:"org-var-header"},this._translations.solVariables)),i("div",{key:"06fc04c1e61dc1897989e3cc11df7b173f1fdb2a",class:"container-border"},i("calcite-tree",{key:"15500194129af7440ec05dc495b060fc18f22324",id:"variable-label"},this._renderHierarchy(this._solutionVariables))))}solutionVariableSelected;_renderHierarchy(t){return t.map((t=>t.dependencies&&t.dependencies.length>0?i("calcite-tree-item",{onClick:t=>this._toggleExpand(t)},i("solution-item-icon",{type:t.type}),i("span",{class:"icon-text",title:t.title},t.title),i("calcite-tree",{slot:"children"},this._renderHierarchy(t.dependencies))):i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,e){this.solutionVariableSelected.emit({itemId:t,value:e})}_toggleExpand(t){const e=t?.target?.closest("calcite-tree-item");e&&(e.expanded=!e.expanded)}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],value:["valueWatchHandler"]}}};m.style=":host{display:block}.container-border{overflow-y:hidden}.org-var-header{margin-top:1rem;margin-bottom:1rem;margin-left:0px;margin-right:0px}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";export{l as json_editor,r as solution_item_details,h as solution_item_sharing,b as solution_organization_variables,f as solution_resource_item,p as solution_template_data,m as solution_variables}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,g as s,a as e,h as a,H as l}from"./p-e996c38f.js";import{b as o,c as n,a as h}from"./p-80cb7c73.js";import{l as c,g as r}from"./p-a397e773.js";import{e as d,h as p}from"./p-dcd2f00b.js";import{s as g}from"./p-e6859850.js";import{c as b,r as m}from"./p-36e3b39c.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";import"./p-8717729a.js";import"./p-19bce2cc.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const u=class{constructor(s){t(this,s),this.searchConfigurationChange=i(this,"searchConfigurationChange",7),this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.defaultExportTitle="",this.defaultNumLabelsPerPage=6,this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.locale=void 0,this.mapView=void 0,this.noResultText=void 0,this.initialNotice="",this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._exportGraphics=!1,this._addMap=!1,this._addResults=!0,this._addTitle=!1,this._downloadActive=!0,this._exportType=o.PDF,this._fetchingData=!1,this._isMobile=void 0,this._numDuplicates=0,this._pageType=n.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=void 0}get el(){return s(this)}_activeSelection;_downloadTools;_geometryEngine;Graphic;_jsonUtils;_onboardingImageUrl="";_popupsEnabled;_removeDuplicates;_searchConfiguration;_selectTools;_mediaQuery;_titleElement;_titleValue=void 0;_numSelected=0;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(t){t?.popup&&(this._popupsEnabled=t?.popupEnabled),this._initSearchConfiguration(this.searchConfiguration)}async watchSearchConfigurationHandler(t,i){const s=JSON.stringify(t);this.mapView&&(s!==JSON.stringify(i)||s&&!this._searchConfiguration)&&(this._searchConfiguration=JSON.parse(s),this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setLineSymbol(t)}async sketchPointSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPointSymbol(t)}async sketchPolygonSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPolygonSymbol(t)}async pageTypeWatchHandler(t,i){if(this._checkPopups(),this.mapView?.popup&&(this.mapView.popupEnabled=t===n.LIST&&this._popupsEnabled),t===n.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._updateExportGraphics(),this._fetchingData=!1),this._clearHighlight(),i!==n.SELECT&&i!==n.REFINE||await this._clearSelection(),i===n.EXPORT&&this._removeExportGraphics(),t!==n.SELECT)return this._highlightFeatures()}searchConfigurationChange;selectionSetsChanged(t){this._selectionSets=[...t.detail]}connectedCallback(){this._mediaQuery=window.matchMedia("(max-width: 600px)"),this._mediaQuery.addEventListener("change",(t=>this._setIsMobile(t)))}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initSymbols(),this._onboardingImageUrl=e("assets/data/images/onboarding.png")}render(){return a(l,{key:"61ed8da1de1c6780188fb7bd4f69c82036ddf705"},a("calcite-shell",{key:"9eb929b7d27d103a207be34681623ca2e0097ef1"},a("calcite-action-bar",{key:"3c7ad5516fdca78819ebdbdc7c41642c816239ec",class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:this._isMobile?"footer":"header"},this._getActionGroup("list-check",n.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",n.REFINE,this._translations.refineSelection):null,this._getActionGroup("export",n.EXPORT,this._translations.export)),this._getPage(this._pageType)))}async componentDidLoad(){this._initSearchConfiguration(this.searchConfiguration)}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i,s]=await c(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils","esri/Graphic"]);this._geometryEngine=t,this._jsonUtils=i,this.Graphic=s}_initSearchConfiguration(t){this.searchConfiguration&&!this._searchConfiguration&&this.mapView&&(this._searchConfiguration=t,this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(t){this.sketchPolygonSymbol="simple-fill"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(t){this._isMobile=t.matches}_getActionGroup(t,i,s){return a("calcite-action-group",{class:this.showRefineSelection?"w-1-3":"w-1-2",layout:"horizontal"},a("div",{class:"background-override"},a("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),a("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},a("span",null,s)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case n.LIST:i=this._getListPage();break;case n.SELECT:i=this._getSelectPage();break;case n.EXPORT:i=this._getExportPage();break;case n.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections(),i=t?this._translations.listHasSetsTip:""!==this.initialNotice?this.initialNotice:this._translations.selectLayerAndAdd;return a("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(i,"padding-sides-1 padding-bottom-1","word-wrap-anywhere"),t?this._getSelectionSetList():this._getOnboardingImage(),a("div",{class:"display-flex padding-1"},a("calcite-button",{onClick:()=>{this._setPageType(n.SELECT)},width:"full"},a("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return a("div",{class:"display-flex padding-sides-1"},a("img",{class:"img-container",role:"presentation",src:this._onboardingImageUrl}))}_getSelectionSetList(){return a("div",{class:"padding-top-1-2 padding-bottom-1-2"},a("calcite-list",{class:"list-border margin-sides-1",label:""},this._selectionSets.reduce(((t,i,s)=>{const e=this._getSelectionSetIds(i);let l=!0;return i.workflowType===h.REFINE&&(l=Object.keys(i.refineInfos).reduce(((t,s)=>{const e=i.refineInfos[s];return t+(e.addIds.length+e.removeIds.length)}),0)>0),l&&t.push(a("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",e.length.toString()))),this._getAction(!0,"pencil","",(t=>this._openSelection(i,t)),!1,"actions-end"),this._getAction(!0,"x","",(t=>this._deleteSelection(s,t)),!1,"actions-end"))),t}),[])))}_getSelectionSetIds(t){return t.workflowType!==h.REFINE?t.selectedIds:Object.keys(t.refineInfos).reduce(((i,s)=>[...i,...t.refineInfos[s].addIds]),[])}_hasSelections(t=!1){let i=[];const s=this._selectionSets.some((t=>{if(t.workflowType===h.REFINE)return i=this._getSelectionSetIds(t),!0}));return t&&s?i.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const t=this._getExportInfos(),i=await b(this.mapView.map,t),s=m(i);return i.length-s.length}_getExportInfos(){return this._selectionSets.reduce(((t,i)=>(i.download&&(i.workflowType!==h.REFINE?this._updateIds(i.layerView.layer.id,i.layerView,i.selectedIds,t):Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds.length>0&&this._updateIds(s,e.layerView,e.addIds,t)}))),t)),{})}_updateIds(t,i,s,e){return e[t]?e[t].ids=e[t].ids.concat(s):e[t]={layerView:i,ids:s},e}_getSelectPage(){const t=this._translations.selectSearchTip;return a("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t,"padding-1","word-wrap-anywhere"),a("div",null,a("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enableLayerFeatures:this.enableLayerFeatures,enableLayerFeaturesOnLoad:this.enableLayerFeaturesOnLoad,enableSearchDistance:this.enableSearchDistance,enableSearchDistanceOnLoad:this.enableSearchDistanceOnLoad,enableSketchTools:this.enableSketchTools,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,locale:this.locale,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,searchDistanceEnabled:this.enableSearchDistanceOnLoad,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol,useLayerFeaturesEnabled:this.enableLayerFeaturesOnLoad})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return a("calcite-panel",null,a("div",null,this._getLabel(this._translations.export,!1),t?a("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),a("div",{class:"padding-sides-1 "+i},a("div",{class:"display-flex"},a("calcite-label",{layout:"inline"},a("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),a("div",{class:"display-flex"},this._translations.removeDuplicate,a("div",{class:"info-message padding-start-1-2"},a("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"remove-duplicates-icon",scale:"s"})),a("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},a("span",{class:"tooltip-message"},this._translations.duplicatesTip))),a("div",{class:"border-bottom"}),a("div",{class:"padding-top-sides-1"},a("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t),width:"full"},a("calcite-segmented-control-item",{checked:this._exportType===o.PDF,class:"w-50 end-border",value:o.PDF},a("span",{class:"font-weight-500"},this._translations.pdf)),a("calcite-segmented-control-item",{checked:this._exportType===o.CSV,class:"w-50",value:o.CSV},a("span",{class:"font-weight-500"},this._translations.csv)))),a("div",{class:"padding-bottom-1"},this._getExportOptions()),a("div",{class:"padding-1 display-flex"},a("calcite-button",{disabled:!this._downloadActive||this._fetchingData||!this._addMap&&!this._addResults,loading:this._fetchingData,onClick:()=>{this._export()},width:"full"},a("span",{class:"font-weight-500"},this._translations.export)))):this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")))}_exportTypeChange(t){this._exportType=t.target.value}_getExportOptions(){const t=this._addTitle?"display-block":"display-none",i=this._addMap?"display-flex":"display-none",s=this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"",e=this._addResults?"":"display-none";return a("div",{class:this._exportType===o.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addResults,onCalciteCheckboxChange:()=>this._addResults=!this._addResults}),this._translations.addResults)),a("div",{class:`padding-top-sides-1 ${e}`},a("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),a("div",{class:`padding-sides-1 ${e}`},a("pdf-download",{defaultNumLabelsPerPage:parseInt(this.defaultNumLabelsPerPage.toString(),10),disabled:!this._downloadActive,locale:this.locale,ref:t=>{this._downloadTools=t}})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.title)),a("div",{class:t},this._getLabel(this._translations.title,!0,""),a("calcite-input-text",{class:"padding-sides-1",onCalciteInputTextInput:()=>this._changeTitle(),placeholder:this._translations.titlePlaceholder,ref:t=>{this._titleElement=t},value:s})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._handleAddMapChange()}),this._translations.includeMap)),a("div",{class:`padding-top-sides-1 ${i}`},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._exportGraphics,onCalciteCheckboxChange:()=>this._handleExportGraphicsChange()}),this._translations.listGraphics),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"list-graphics-icon",scale:"s"}),a("calcite-popover",{closable:!0,label:"",referenceElement:"list-graphics-icon"},a("span",{class:"tooltip-message"},this._translations.listGraphicsTip))))}_handleAddMapChange(){this._addMap=!this._addMap,this._updateExportGraphics()}_handleExportGraphicsChange(){this._exportGraphics=!this._exportGraphics,this._updateExportGraphics()}_getManagedLayer(t){let i;return Object.keys(g.managedLayers).some((s=>{const e=this.mapView.map.layers.findIndex((t=>t.title===s));if(g.managedLayers[s]===t)return i=this.mapView.map.layers.getItemAt(e),!0})),i}_updateExportGraphics(t=!1){!t&&this._exportGraphics&&this._addMap||this._removeExportGraphics(),this._exportGraphics&&this._addMap&&this._addExportGraphics()}_removeExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");t&&t.graphics.removeAll(),i&&i.graphics.removeAll()}_addExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");this._selectionSets.forEach((s=>{if(s.download&&(t&&t.graphics.add(s.sketchGraphic),i)){const t=new this.Graphic({geometry:s.buffer,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});i.graphics.add(t)}}))}_getRefinePage(){const t=this._hasSelections();return a("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?a("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),a("refine-selection",{enabledLayerIds:this.selectionLayerIds,locale:this.locale,mapView:this.mapView,selectionSets:this._selectionSets,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})):this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1"))}_getPageNavButtons(t,i,s,e,l,o){return a("div",{class:"padding-bottom-1"},a("div",{class:"display-flex padding-top-sides-1"},a("calcite-button",{disabled:i,onClick:s,width:"full"},a("span",{class:"font-weight-500"},t))),a("div",{class:"display-flex padding-top-1-2 padding-sides-1"},a("calcite-button",{appearance:"outline",disabled:l,onClick:o,width:"full"},a("span",{class:"font-weight-500"},e))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",s=""){return a("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},a("div",{class:s,slot:"message"},t))}_getLabel(t,i=!1,s="font-bold"){return a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:s+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{const s=this._getSelectionSetIds(i),e=i.workflowType!==h.REFINE||s.length>0;return!this._downloadActive&&i.download&&e&&(this._downloadActive=!0),e&&t.push(a("div",{class:"display-flex padding-sides-1 padding-bottom-1"},a("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),a("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list",label:""},a("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",s.length.toString()))))))),t}),[])||a("div",null)}async _toggleDownload(t){let i=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===t?!s.download:s.download,i=!!s.download||i,s))),this._updateExportGraphics(!0),this._downloadActive=i,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){const t=this._addResults?this._getSelectionIdsAndViews(this._selectionSets,!0):{};if(this._exportType===o.PDF){let i="";if(this._addMap&&this.mapView){const t=await this.mapView.takeScreenshot({width:1500,height:2e3});i=t?.dataUrl}this._fetchingData=!0,await this._downloadTools.downloadPDF(this.mapView.map,t,this._removeDuplicates.checked,this._addTitle?this._titleElement.value:"",i),this._fetchingData=!1}this._exportType===o.CSV&&(this._fetchingData=!0,await this._downloadTools.downloadCSV(this.mapView.map,t,this._removeDuplicates.checked),this._fetchingData=!1)}_getSelectionIdsAndViews(t,i=!1){return(i?t.filter((t=>t.download)):t).reduce(((t,i)=>{if(i.workflowType===h.REFINE)Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds&&(t=this._updateExportInfos(t,e.layerView.layer.id,i.label,e.addIds,e.layerView))}));else{const s=i?.layerView?.layer.id;t=this._updateExportInfos(t,s,i.label,i.selectedIds,i.layerView)}return t}),{})}_updateExportInfos(t,i,s,e,a){return i&&Object.keys(t).indexOf(i)>-1?(t[i].ids=[...new Set([...t[i].ids,...e])],t[i].selectionSetNames.push(s)):i&&(t[i]={ids:e,layerView:a,selectionSetNames:[s]}),t}_getAction(t,i,s,e,l=!1,o=""){return a("calcite-action",{disabled:!t,icon:i,iconFlipRtl:!0,indicator:l,onClick:e,slot:o,text:s})}_updateForSelection(t){this._numSelected=t.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(n.LIST)}async _saveSelection(){const t=await(this._selectTools?.getSelection()),i=this._selectTools?.isUpdate;return this._selectionSets=i?this._selectionSets.map((i=>i.id===t.id?t:i)):[...this._selectionSets,t],this._home()}async _clearSelection(){await(this._selectTools?.clearSelection()),this._numSelected=0,this._activeSelection=void 0}_deleteSelection(t,i){return i.stopPropagation(),this._selectionSets=this._selectionSets.filter(((i,s)=>{if(s!==t)return i})),this._highlightFeatures()}_gotoSelection(t,i){d(t.selectedIds,t.layerView,i,this.featureHighlightEnabled,this.featureEffect)}_openSelection(t,i){i.stopPropagation(),this._activeSelection=t,this._pageType=t.workflowType===h.REFINE?n.REFINE:n.SELECT}async _highlightFeatures(){this._clearHighlight();const t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===n.EXPORT),i=Object.keys(t);if(i.length>0)for(let s=0;s<i.length;s++){const e=t[i[s]];g.highlightHandles.push(await p(e.ids,e.layerView,this.mapView))}}_checkPopups(){"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=this.mapView?.popupEnabled)}_clearHighlight(){g&&g.highlightHandles&&g.removeHandles()}async _getTranslations(){const t=await r(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};u.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3:var(--calcite-color-brand);--calcite-color-foreground-2:var(--calcite-color-brand-hover);--calcite-color-text-1:var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}';export{u as public_notification}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as i,h as n,g as t,H as s}from"./p-e996c38f.js";import{l as a}from"./p-438fdc33.js";import{g as o}from"./p-8f973b3d.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";import"./p-3423b5ef.js";const e="instant-apps-sign-in__entry-button",r=class{constructor(n){i(this,n),this.type="navigation",this.portal=void 0,this.oauthappid=void 0,this.openInPopup=void 0,this.landingPage=void 0,this.isSignedIn=void 0,this.user=void 0,this.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.showIndicator=!0,this.closeLandingPage=void 0,this.signInDropdownItems=void 0,this.ready=!1,this.messages=void 0}async watchPortal(){await this.initSignIn()}async watchOauthappid(){await this.initSignIn()}async componentWillLoad(){o(this),await this.initSignIn()}render(){const i=this.ready?this.renderContent():null;return n(s,{key:"ab1c9e194ed4eed74680dd242e0ea0f314cf1f56"},i)}renderContent(){return"landingPage"===this.type?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return n("div",{class:"instant-apps-sign-in__container"},this.isSignedIn?this.renderSignInDropdown():this.renderSignInButton())}renderSignInDropdown(){var i,t,s,a,o,e,r,l,c,p,d,h,g,u,v,_;const m=this.showIndicator?"instant-apps-sign-in__indicator":"";return n("calcite-dropdown",{placement:"bottom-end",scale:"navigation"===this.type?"m":"s"},"navigation"===this.type?n("calcite-navigation-user",{class:m,slot:"trigger",thumbnail:null===(i=this.user)||void 0===i?void 0:i.thumbnailUrl,"full-name":null===(t=this.user)||void 0===t?void 0:t.fullName,username:null===(s=this.user)||void 0===s?void 0:s.username,"user-id":null!==(o=null===(a=this.user)||void 0===a?void 0:a.id)&&void 0!==o?o:null===(r=null===(e=this.user)||void 0===e?void 0:e.sourceJSON)||void 0===r?void 0:r.id,textDisabled:!0}):n("button",{slot:"trigger"},n("calcite-avatar",{class:m,thumbnail:null===(l=this.user)||void 0===l?void 0:l.thumbnailUrl,"full-name":null===(c=this.user)||void 0===c?void 0:c.fullName,username:null===(p=this.user)||void 0===p?void 0:p.username,"user-id":null!==(h=null===(d=this.user)||void 0===d?void 0:d.id)&&void 0!==h?h:null===(u=null===(g=this.user)||void 0===g?void 0:g.sourceJSON)||void 0===u?void 0:u.id})),n("slot",{name:"sign-in-dropdown-top"}),n("calcite-dropdown-group",{"selection-mode":"none"},null===(v=this.signInDropdownItems)||void 0===v?void 0:v.map((i=>n("calcite-dropdown-item",{onClick:i.onClick},i.label))),n("calcite-dropdown-item",{onClick:this.signOut.bind(this)},null===(_=this.messages)||void 0===_?void 0:_.signOut)))}renderSignInButton(){var i;const t="navigation"===this.type?"transparent":"solid";return n("calcite-button",{class:"navigation"===this.type?"instant-apps-sign-in__sign-in-btn":"",onClick:this.signIn.bind(this),scale:"s","icon-start":"sign-in",appearance:t},null===(i=this.messages)||void 0===i?void 0:i.signIn)}renderLandingPageSignIn(){var i,t;return n("div",{class:"instant-apps-sign-in__entry-button-container"},n("calcite-button",{class:e,scale:"l",onClick:this.landingPageSignIn.bind(this)},null===(i=this.messages)||void 0===i?void 0:i.signIn),n("calcite-button",{class:e,scale:"l",appearance:"outline-fill",onClick:this.guestOnClick.bind(this)},null===(t=this.messages)||void 0===t?void 0:t.continueAsGuest))}async initSignIn(){if(null==this.portal||null==this.oauthappid)return;const[i,n,t]=await a(["esri/identity/OAuthInfo","esri/identity/IdentityManager","esri/core/reactiveUtils"]);this.idManager=n,this.info=new i({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await t.whenOnce((()=>this.portal.user)),this.user=this.portal.user)}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){var i;null===(i=this.portal.credential)||void 0===i||i.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;const n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),null!=this.closeLandingPage&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():null!=this.closeLandingPage&&this.closeLandingPage()}async checkSignInStatus(){try{const i=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=i,!0}catch(i){return this.portal.credential=null,!1}}setSignInLocalStorage(){const i=new Date;localStorage.setItem("signing-in",i.getTime().toString()),setTimeout((()=>{localStorage.removeItem("signing-in")}),2e3)}get el(){return t(this)}static get watchers(){return{portal:["watchPortal"],oauthappid:["watchOauthappid"]}}};r.style=':host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(0.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}';export{r as instant_apps_sign_in}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,g as s,h as e,F as a}from"./p-e996c38f.js";import{l as h,g as c,f as n}from"./p-a397e773.js";import{b as o,d as l,a as r,c as d}from"./p-dcd2f00b.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const p=class{constructor(s){t(this,s),this.success=i(this,"success",7),this.fail=i(this,"fail",7),this.isActionPending=i(this,"isActionPending",7),this.formReady=i(this,"formReady",7),this.locale=void 0,this.mapView=void 0,this.table=void 0,this.selectedFeature=void 0,this.customizeSubmit=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=void 0}get el(){return s(this)}Editor;_editor;reactiveUtils;_container;_addingAttachment;_isSubmitBtnClicked=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}success;fail;isActionPending;formReady;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){const[t,i]=await h(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}render(){const t=this._editorLoading?"":"display-none";return e(a,{key:"261308f81b5bbed3e136efbb2100db9c1e5994a4"},this.showGuidingMsg&&e("calcite-notice",{key:"3aca1d3f48e46208ce07f2ccdd76ac4af752162d",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{key:"f449d7dcde1cc75bf7470a75ae0ce915ef457459",slot:"message"},this._translations.provideDetailsMsg)),e("calcite-loader",{key:"e94e971b96ddba0ab36f27ffd4e37b820bb2432f",class:t,label:"",scale:"s"}))}async componentDidLoad(){await this.init()}disconnectedCallback(){this._editor&&this._editor.destroy()}async createEditorWidget(){this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this._editor=new this.Editor({view:this.mapView,visibleElements:{snappingControls:!1},container:this._container}),this.el.appendChild(this._container);const t=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&(this._editorLoading=!0)}));this._editor.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&this.formReady.emit()}));this._editor.viewModel.addHandles(s)}async startCreate(){const t=this.selectedFeature.layer,i=this.table,s=t.relationships[0],e=i.relationships.find((i=>t.layerId===i.relatedTableId)),a=await t.queryFeatures({objectIds:[this.selectedFeature.getObjectId()],outFields:[t.objectIdField,s.keyField]}),h=i.templates[0],c={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:h};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(c),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}makeAttributesForRelatedFeature(t,i,s){const e=i.keyField;let a;t.attributes.hasOwnProperty(e)?a=t.getAttribute(e):t.attributes.hasOwnProperty(e.toLowerCase())?a=t.getAttribute(e.toLowerCase()):t.attributes.hasOwnProperty(e.toUpperCase())&&(a=t.getAttribute(e.toUpperCase()));let h=s.keyField;const c=this.table.fields.find((t=>t.name.toLocaleLowerCase()===h.toLocaleLowerCase()));return h=c.name,{[h]:a}}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};p.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}.esri-editor__panel-content{padding-block:10px !important}.notice-msg{padding:10px;width:calc(100% - 20px)}";const b=class{constructor(s){t(this,s),this.loadingStatus=i(this,"loadingStatus",7),this.commentSelect=i(this,"commentSelect",7),this.addComment=i(this,"addComment",7),this.likeOrDislikeClicked=i(this,"likeOrDislikeClicked",7),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.mapView=void 0,this.graphics=void 0,this.reportingOptions=void 0,this.layerItemsHash=void 0,this.locale=void 0,this.showUserImageInCommentsList=!1,this.showFullCommentTitle=!0,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=void 0,this._updating=!1}get el(){return s(this)}_infoCard;_commentsList;_selectedGraphic;_likeField;_dislikeField;Graphic;RelationshipQuery;_validFieldTypes=["small-integer","integer","big-integer","single","long"];relatedTableId;async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(t){await this.getCompleteGraphic(t),await this.processComments(),this.isLikeDislikeConfigured(t.layer)?t&&this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.back()}async next(){this._infoCard.next()}async toggleListView(){this._infoCard.toggleListView()}loadingStatus;commentSelect;addComment;likeOrDislikeClicked;featureSelectionChange;async componentWillLoad(){await this._initModules(),await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){const t=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return e("calcite-panel",{key:"577f06f7bc41875b38e07a44f3c734ccc839e596","full-height":!0},e("info-card",{key:"e815f75d02bcdfe9cc11796c913be2a6c2bfecd2",allowEditing:!1,graphics:this.graphics,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,onSelectionChanged:t=>{this.featureSelectionChange.emit(t.detail)},paginationEnabled:!1,position:"relative",ref:t=>this._infoCard=t}),(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&e("div",{key:"16d0af6b0e75b595573bd0816744f03d9d6dec37",class:"buttons-container"},this._commentsAvailable&&e("calcite-button",{key:"550b3af830911a1437fa3e967492666ec8c5a2e4",appearance:"transparent",iconEnd:"speech-bubble",kind:"neutral",onClick:()=>{this.addComment.emit()},scale:"m"},this._relatedFeaturesOIDs.length),this._likeFieldAvailable&&e("calcite-button",{key:"741848445c2083f4c0a3d9464cd810deee4a1218",appearance:"transparent",iconEnd:"thumbs-up",kind:this._isLikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onLikeButtonClick.bind(this),scale:"m"},this._likeCount??this._selectedGraphic.attributes[this._likeField]??0),this._dislikeFieldAvailable&&e("calcite-button",{key:"4d5e8ae279559dbf981b1b91238706adbd6ebeef",appearance:"transparent",iconEnd:"thumbs-down",kind:this._isDislikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onDislikeButtonClick.bind(this),scale:"m"},this._disLikeCount??this._selectedGraphic.attributes[this._dislikeField]??0)),this.relatedTableId&&this._commentsAvailable&&e("feature-list",{key:"0daad9b37b13a05afc4b8a3a6eca70a7356afd8f",class:"height-full",locale:this.locale,mapView:this.mapView,onFeatureSelect:t=>{this.commentSelect.emit(t.detail)},pageSize:5,ref:t=>this._commentsList=t,selectedLayerId:this.relatedTableId,showErrorWhenNoFeatures:!1,showFullTitle:this.showFullCommentTitle,showInitialLoading:!1,showUserImageInList:this.showUserImageInCommentsList,textSize:"small",whereClause:t}))}async _initModules(){const[t,i]=await h(["esri/rest/support/RelationshipQuery","esri/Graphic"]);this.RelationshipQuery=t,this.Graphic=i}async getCompleteGraphic(t){if(t){const i=t.layer,s=i.createQuery();s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this._selectedGraphic=e.features[0]}}async processComments(){const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]&&this.reportingOptions[t.id].comment&&t.relationships?.length>0){const i=await o(this.mapView);let s=null,e=null;if(t.relationships.some((a=>{const h=i.filter((i=>t.url===i.url&&i.layerId===a.relatedTableId));if(h&&h.length>0)return s=h[0],e=a.id,!0})),this.relatedTableId=s?.id??"",this.relatedTableId){const i=this._selectedGraphic.attributes[t.objectIdField],a=new this.RelationshipQuery({objectIds:[i],outFields:["*"],relationshipId:e}),h=await t.queryRelatedFeatures(a).catch((t=>{console.error(t)})),c=[];h[i]&&h[i].features.forEach((t=>{c.push(t.attributes[s.objectIdField])})),this._relatedFeaturesOIDs=c,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(t){let i=!1,s=!1;if(this.reportingOptions&&this.reportingOptions[t.id]){if(!this.reportingOptions[t.id].like&&!this.reportingOptions[t.id].dislike)return!1;const e=this.reportingOptions[t.id].likeField,a=this.reportingOptions[t.id].dislikeField;if(!e&&!a)return!1;t.fields.forEach((h=>{this._validFieldTypes.indexOf(h.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(h.name===e&&this.reportingOptions[t.id].like?i=!0:h.name===a&&this.reportingOptions[t.id].dislike&&(s=!0))}))}return i||s}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]){if(this._likeField=this.reportingOptions[t.id].likeField,this._dislikeField=this.reportingOptions[t.id].dislikeField,!this._likeField&&!this._dislikeField)return;t.fields.forEach((i=>{this._validFieldTypes.indexOf(i.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(i.name===this._likeField&&this.reportingOptions[t.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic.attributes[i.name]):i.name===this._dislikeField&&this.reportingOptions[t.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic.attributes[i.name]))})),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(t,i){const s={},e=this._selectedGraphic.layer;this._updating=!0;const a=this._selectedGraphic;a.attributes[t]=Number(a.attributes[t])+(i?1:-1),s[e.objectIdField]=a.attributes[e.objectIdField],s[t]=a.attributes[t];const h=new this.Graphic;h.attributes=s;const c={updateFeatures:[h]};await e.applyEdits(c).then((()=>{this._selectedGraphic=a,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()}),(t=>{this._updating=!1,console.log(t)}))}getFromLocalStorage(){const t=localStorage[this._selectedGraphic.layer.id];if(t){const i=JSON.parse(t).filter((t=>t.id===this._selectedGraphic.getObjectId()));i.length>0&&(this._isLikeBtnClicked=i[0].like,this._isDislikeBtnClicked=i[0].dislike)}}setInLocalStorage(){const t=this._selectedGraphic.layer.id,i=localStorage[t];let s=[];if(i){s=JSON.parse(i);const t=s.findIndex((t=>t.id===this._selectedGraphic.getObjectId()));t>=0&&s.splice(t,1)}s.push({id:this._selectedGraphic.getObjectId(),like:this._isLikeBtnClicked&&0!==this._likeCount,dislike:this._isDislikeBtnClicked&&0!==this._disLikeCount}),localStorage.setItem(t,JSON.stringify(s))}static get watchers(){return{graphics:["graphicsWatchHandler"]}}};b.style=":host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1) !important;background-color:var(--calcite-color-foreground-1) !important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}";const y=class{constructor(s){t(this,s),this.layerSelect=i(this,"layerSelect",7),this.layersListLoaded=i(this,"layersListLoaded",7),this.mapView=void 0,this.layers=void 0,this.locale=void 0,this.showFeatureCount=!0,this.showNextIcon=!1,this.applyLayerViewFilter=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}get el(){return s(this)}_layerItemsHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this._getTranslations()}async componentDidLoad(){await this.setLayers()}render(){return e(a,{key:"a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e"},this._isLoading&&e("calcite-loader",{key:"544a134bccc29048ca80b996844cc944bcd97a24",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&e("calcite-notice",{key:"7557f91c8c3349c120c043ea59458b4c834dce2e",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},e("div",{key:"ea8b20f8c7da5053641cfad56e3395ae3c6286f5",slot:"title"},this._translations.error),e("div",{key:"38aaed7b456aba0b1dd70183be03e9133834dfb4",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&e("calcite-list",{key:"547b0681145fd8d8663b786472be9e5161cbd693",label:"","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}async setLayers(){this.mapView&&(this._isLoading=!0,await this.initLayerHash(),this._isLoading=!1)}async initLayerHash(){const t=[];this._layerItemsHash=await l(this.mapView,!0);const i=await r(this.mapView);for(const s of i)if("feature"===s?.type&&this.showFeatureCount){const i=s.createQuery();if(s?.definitionExpression&&(i.where=i.where+" AND "+s.definitionExpression),this.applyLayerViewFilter){const t=await d(this.mapView,s.id);t?.filter?.where&&(i.where=i.where?i.where+" AND "+t.filter.where:t.filter.where)}const e=s.queryFeatureCount(i);t.push(e),e.then((async t=>{const i=isNaN(t)?"":await n(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[s.id].formattedFeatureCount=i}))}await Promise.all(t).then((()=>{const t=this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(t){const i=this.layers?.length>0?this.layers:[];return Object.keys(t).reduce(((t,s)=>(i.indexOf(s)>-1&&t.push(s),t)),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const i=this._layerItemsHash[t].formattedFeatureCount;return e("calcite-list-item",{onCalciteListItemSelect:()=>{this.onLayerItemSelected(t)}},e("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),this.showFeatureCount&&void 0!==i&&""!==i&&e("div",{class:"feature-count",slot:"content-end"},"("+i+")"),this.showNextIcon&&e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}onLayerItemSelected(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};y.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;word-break:break-word}.feature-count{padding:0 10px}";export{p as create_related_feature,b as feature_details,y as layer_list}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as e,h as a,H as s,g as i}from"./p-e996c38f.js";import{g as n}from"./p-3423b5ef.js";import{S as h}from"./p-2bc98cb0.js";import{w as o}from"./p-04674a1e.js";import{g as r}from"./p-a42ff7fe.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";const d={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},p=class{constructor(a){t(this,a),this.infoIsOpenChanged=e(this,"infoIsOpenChanged",6),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText=void 0,this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=o.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=n(this.el),this.handleMobileBreakpoints(),this.dir=n(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){var t,e,i,n;const h="undefined"===this.logoImage||"undefined"===(null===(e=null===(t=this.logoImage)||void 0===t?void 0:t.split("?"))||void 0===e?void 0:e[0])||""===(null===(n=null===(i=this.logoImage)||void 0===i?void 0:i.split("?"))||void 0===n?void 0:n[0])||!this.logoImage,o=this.renderLogo(h),p=this.renderTitle(),l="right"===this.headerAlignment||"center"===this.headerAlignment?d.headerContent.concat(" ",d.alignment[this.headerAlignment]):d.headerContent,c=r(this.fontFamily);return a(s,{key:"f2d1760c4a1345ef24c913a24f95691d0de6867d"},this.customHeaderHtml?[a("style",null,this.customHeaderCss),a("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:a("header",{class:`${d.base}${"rtl"===this.dir?` ${d.flipRtl}`:""}${this.logoImage&&!h?` ${d.logoHeight}${this.logoScale}`:` ${d.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:c}},a("div",{class:d.headerContainer},a("span",{class:l},o,p,this.infoButton?a("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),a("div",{class:d.actionsEndContainer},a("slot",{name:"actions-end"})))))}renderLogo(t){return t?"":this.logoImage&&this.logoLink?a("a",{href:`${this.logoLink}`,target:"_blank"},a("img",{class:`${d.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:`${this.logoImageAltText}`})):this.logoImage?a("img",{class:`${d.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?a("a",{style:{color:this.textColor},href:`${this.titleTextLink}`,rel:"noopener noreferrer",target:"_blank"},a("h1",{style:{color:this.textColor}},this.titleText)):a("h1",{style:{color:this.textColor}},this.titleText)}toggleInfo(){return this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen),Promise.resolve()}mqlCallback(){return t=>{const{matches:e}=t;this.logoScale=e?"s":this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;const t=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`);t.matches&&(this.logoScale="s"),t.addEventListener("change",this.mqlCallback())}get el(){return i(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};p.style=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;-webkit-text-decoration:var(--instant-apps-header-title-text-link-decoration);text-decoration:var(--instant-apps-header-title-text-link-decoration)}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}";export{p as instant_apps_header}
|