@esri/solutions-components 0.11.20 → 0.11.22
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/card-manager_3.cjs.entry.js +11 -13
- package/dist/cjs/create-feature_4.cjs.entry.js +6 -3
- package/dist/cjs/create-related-feature_3.cjs.entry.js +55 -6
- package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +121 -48
- package/dist/cjs/feature-list.cjs.entry.js +49 -11
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-layer-picker.cjs.entry.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +5 -5
- package/dist/cjs/public-notification.cjs.entry.js +3 -3
- package/dist/cjs/solutions-components.cjs.js +1 -1
- 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_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_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/card-manager/card-manager.js +2 -2
- package/dist/collection/components/create-feature/create-feature.js +2 -1
- package/dist/collection/components/create-related-feature/create-related-feature.js +1 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +3 -1
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +165 -49
- package/dist/collection/components/edit-card/edit-card.js +1 -0
- package/dist/collection/components/feature-list/feature-list.js +70 -10
- package/dist/collection/components/info-card/info-card.js +3 -2
- package/dist/collection/components/layer-list/layer-list.js +74 -3
- package/dist/collection/components/layer-table/layer-table.js +9 -11
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.css +1 -0
- package/dist/collection/components/map-select-tools/map-select-tools.js +2 -2
- package/dist/collection/components/public-notification/public-notification.css +7 -0
- package/dist/collection/components/public-notification/public-notification.js +2 -2
- package/dist/collection/components/refine-selection/refine-selection.css +7 -0
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/demos/crowdsource-manager.html +6 -2
- package/dist/collection/demos/crowdsource-reporter.html +2 -0
- package/dist/collection/vendor/calcite-components/24XPU7PW.js +4 -0
- package/dist/collection/vendor/calcite-components/26HZKUXD.js +4 -0
- package/dist/collection/vendor/calcite-components/2DZDH5PW.js +4 -0
- package/dist/collection/vendor/calcite-components/2E4H4XCR.js +5 -0
- package/dist/collection/vendor/calcite-components/2FEK4CRN.js +4 -0
- package/dist/collection/vendor/calcite-components/2JG564MO.js +4 -0
- package/dist/collection/vendor/calcite-components/2Q4UEB7G.js +4 -0
- package/dist/collection/vendor/calcite-components/2RPVHRRK.js +4 -0
- package/dist/collection/vendor/calcite-components/2UCHSNWA.js +4 -0
- package/dist/collection/vendor/calcite-components/36XNABTH.js +5 -0
- package/dist/collection/vendor/calcite-components/3AQ2GZOJ.js +4 -0
- package/dist/collection/vendor/calcite-components/3BLAL4BM.js +4 -0
- package/dist/collection/vendor/calcite-components/3FMVZYYJ.js +4 -0
- package/dist/collection/vendor/calcite-components/3H4RHBLC.js +4 -0
- package/dist/collection/vendor/calcite-components/3HPRXYKG.js +4 -0
- package/dist/collection/vendor/calcite-components/3NQ3MF4Y.js +4 -0
- package/dist/collection/vendor/calcite-components/3QYPPYKC.js +4 -0
- package/dist/collection/vendor/calcite-components/3SN4BPNU.js +4 -0
- package/dist/collection/vendor/calcite-components/3TSDVYMK.js +4 -0
- package/dist/collection/vendor/calcite-components/44IELQRN.js +4 -0
- package/dist/collection/vendor/calcite-components/4EXGV2JM.js +4 -0
- package/dist/collection/vendor/calcite-components/4FFNZW2T.js +4 -0
- package/dist/collection/vendor/calcite-components/4IAN6EPQ.js +4 -0
- package/dist/collection/vendor/calcite-components/4LP6XZGU.js +4 -0
- package/dist/collection/vendor/calcite-components/5F57XCO4.js +4 -0
- package/dist/collection/vendor/calcite-components/5GKGAQME.js +4 -0
- package/dist/collection/vendor/calcite-components/5IDYJYNO.js +4 -0
- package/dist/collection/vendor/calcite-components/5NCQFUYM.js +4 -0
- package/dist/collection/vendor/calcite-components/5URVZAO7.js +4 -0
- package/dist/collection/vendor/calcite-components/5VK4UUOT.js +4 -0
- package/dist/collection/vendor/calcite-components/675BA2OJ.js +4 -0
- package/dist/collection/vendor/calcite-components/6BYBFB5X.js +4 -0
- package/dist/collection/vendor/calcite-components/6GYLT3HR.js +4 -0
- package/dist/collection/vendor/calcite-components/6HR6FZG5.js +4 -0
- package/dist/collection/vendor/calcite-components/6MXVP647.js +4 -0
- package/dist/collection/vendor/calcite-components/6ZVC3UDX.js +4 -0
- package/dist/collection/vendor/calcite-components/7DCX244D.js +4 -0
- package/dist/collection/vendor/calcite-components/7IVGC34Z.js +4 -0
- package/dist/collection/vendor/calcite-components/7MWKFHAB.js +4 -0
- package/dist/collection/vendor/calcite-components/7XHO3OGL.js +4 -0
- package/dist/collection/vendor/calcite-components/7ZKEYSIK.js +4 -0
- package/dist/collection/vendor/calcite-components/A55GXE4D.js +4 -0
- package/dist/collection/vendor/calcite-components/ANPPDEZT.js +4 -0
- package/dist/collection/vendor/calcite-components/AQU64FML.js +4 -0
- package/dist/collection/vendor/calcite-components/BWIN7F7V.js +4 -0
- package/dist/collection/vendor/calcite-components/CMPWL5OR.js +4 -0
- package/dist/collection/vendor/calcite-components/D2RJ2NDD.js +4 -0
- package/dist/collection/vendor/calcite-components/D7XRLD6B.js +4 -0
- package/dist/collection/vendor/calcite-components/DARUTTL6.js +4 -0
- package/dist/collection/vendor/calcite-components/DQUWVHQ4.js +4 -0
- package/dist/collection/vendor/calcite-components/DS66T4UB.js +4 -0
- package/dist/collection/vendor/calcite-components/DTEXOHOC.js +4 -0
- package/dist/collection/vendor/calcite-components/DWP35FP5.js +4 -0
- package/dist/collection/vendor/calcite-components/E4V4WLG3.js +4 -0
- package/dist/collection/vendor/calcite-components/E7BZN4HI.js +4 -0
- package/dist/collection/vendor/calcite-components/E7L45EZX.js +4 -0
- package/dist/collection/vendor/calcite-components/EAA5CDC7.js +4 -0
- package/dist/collection/vendor/calcite-components/EBQYZOJE.js +4 -0
- package/dist/collection/vendor/calcite-components/EEY7KS7V.js +4 -0
- package/dist/collection/vendor/calcite-components/EF4LF7JA.js +4 -0
- package/dist/collection/vendor/calcite-components/EG3KFCKT.js +4 -0
- package/dist/collection/vendor/calcite-components/EIKWAET5.js +4 -0
- package/dist/collection/vendor/calcite-components/ELQHGUUQ.js +4 -0
- package/dist/collection/vendor/calcite-components/ERSOIATK.js +4 -0
- package/dist/collection/vendor/calcite-components/EV222TOH.js +4 -0
- package/dist/collection/vendor/calcite-components/FBYOJ4XP.js +4 -0
- package/dist/collection/vendor/calcite-components/FD23ZJ5M.js +4 -0
- package/dist/collection/vendor/calcite-components/FKRFYIK4.js +4 -0
- package/dist/collection/vendor/calcite-components/FMQW5CPG.js +4 -0
- package/dist/collection/vendor/calcite-components/FO5IP7GC.js +4 -0
- package/dist/collection/vendor/calcite-components/FT75A5FT.js +4 -0
- package/dist/collection/vendor/calcite-components/FXQZQREX.js +4 -0
- package/dist/collection/vendor/calcite-components/FYRRB4YU.js +4 -0
- package/dist/collection/vendor/calcite-components/G4WSCO7F.js +4 -0
- package/dist/collection/vendor/calcite-components/G5LIFWLC.js +4 -0
- package/dist/collection/vendor/calcite-components/GCYW34DH.js +4 -0
- package/dist/collection/vendor/calcite-components/GD4KAPIS.js +4 -0
- package/dist/collection/vendor/calcite-components/GM2DDQTV.js +4 -0
- package/dist/collection/vendor/calcite-components/GO2WSYWK.js +4 -0
- package/dist/collection/vendor/calcite-components/GPCQIKHB.js +4 -0
- package/dist/collection/vendor/calcite-components/GWFN65PG.js +4 -0
- package/dist/collection/vendor/calcite-components/GYIYX666.js +4 -0
- package/dist/collection/vendor/calcite-components/H373LLT7.js +4 -0
- package/dist/collection/vendor/calcite-components/HANIGQEU.js +4 -0
- package/dist/collection/vendor/calcite-components/HBWBBKTZ.js +4 -0
- package/dist/collection/vendor/calcite-components/HPQH2IQI.js +4 -0
- package/dist/collection/vendor/calcite-components/HVFHWDZS.js +4 -0
- package/dist/collection/vendor/calcite-components/HZ2CJF4H.js +4 -0
- package/dist/collection/vendor/calcite-components/ICQDC5MP.js +4 -0
- package/dist/collection/vendor/calcite-components/IUPHPQ5W.js +4 -0
- package/dist/collection/vendor/calcite-components/JDC4CCNQ.js +4 -0
- package/dist/collection/vendor/calcite-components/JG5U4L3H.js +4 -0
- package/dist/collection/vendor/calcite-components/JIZ3ZUNT.js +4 -0
- package/dist/collection/vendor/calcite-components/JLOMSYFQ.js +4 -0
- package/dist/collection/vendor/calcite-components/JLTNOBGF.js +4 -0
- package/dist/collection/vendor/calcite-components/JN54BWVD.js +4 -0
- package/dist/collection/vendor/calcite-components/JN6GQD32.js +4 -0
- package/dist/collection/vendor/calcite-components/JPISN7UU.js +4 -0
- package/dist/collection/vendor/calcite-components/JUAKRLPE.js +4 -0
- package/dist/collection/vendor/calcite-components/JWG3XWKS.js +4 -0
- package/dist/collection/vendor/calcite-components/JXO6Q6PC.js +4 -0
- package/dist/collection/vendor/calcite-components/JZGJVQKB.js +4 -0
- package/dist/collection/vendor/calcite-components/K6ALYIOD.js +4 -0
- package/dist/collection/vendor/calcite-components/KDJM5H4R.js +4 -0
- package/dist/collection/vendor/calcite-components/KHJ3WR7G.js +4 -0
- package/dist/collection/vendor/calcite-components/KKIWAHJ5.js +4 -0
- package/dist/collection/vendor/calcite-components/KTBWW64D.js +4 -0
- package/dist/collection/vendor/calcite-components/KU2O6B36.js +4 -0
- package/dist/collection/vendor/calcite-components/KVUPM4TA.js +4 -0
- package/dist/collection/vendor/calcite-components/KX7ZCSRX.js +4 -0
- package/dist/collection/vendor/calcite-components/L23DZQI6.js +4 -0
- package/dist/collection/vendor/calcite-components/L2A3CRIP.js +4 -0
- package/dist/collection/vendor/calcite-components/L37A2ISQ.js +4 -0
- package/dist/collection/vendor/calcite-components/LAVRP2RO.js +4 -0
- package/dist/collection/vendor/calcite-components/LKSA6W5F.js +4 -0
- package/dist/collection/vendor/calcite-components/LL7Q6H5L.js +4 -0
- package/dist/collection/vendor/calcite-components/LM2XVEJC.js +4 -0
- package/dist/collection/vendor/calcite-components/LRGSGD6G.js +4 -0
- package/dist/collection/vendor/calcite-components/LSIQC7QO.js +4 -0
- package/dist/collection/vendor/calcite-components/LX3BNN2R.js +4 -0
- package/dist/collection/vendor/calcite-components/M25GARCS.js +4 -0
- package/dist/collection/vendor/calcite-components/M4GN65AZ.js +4 -0
- package/dist/collection/vendor/calcite-components/MDFZXOFP.js +5 -0
- package/dist/collection/vendor/calcite-components/MIBXI2CI.js +4 -0
- package/dist/collection/vendor/calcite-components/MRFLH6RW.js +4 -0
- package/dist/collection/vendor/calcite-components/MUSZ6RWB.js +4 -0
- package/dist/collection/vendor/calcite-components/MX5EJ4DJ.js +4 -0
- package/dist/collection/vendor/calcite-components/MX7YVZ2Z.js +4 -0
- package/dist/collection/vendor/calcite-components/MYZF2YXM.js +4 -0
- package/dist/collection/vendor/calcite-components/N65J4BH6.js +4 -0
- package/dist/collection/vendor/calcite-components/N7POKTYM.js +4 -0
- package/dist/collection/vendor/calcite-components/NGWZQ4DF.js +4 -0
- package/dist/collection/vendor/calcite-components/NH5KER32.js +4 -0
- package/dist/collection/vendor/calcite-components/NIUCAKLC.js +4 -0
- package/dist/collection/vendor/calcite-components/NJILTUYU.js +4 -0
- package/dist/collection/vendor/calcite-components/NNB7RMSP.js +4 -0
- package/dist/collection/vendor/calcite-components/NP5LTTOS.js +4 -0
- package/dist/collection/vendor/calcite-components/NU3PWREF.js +4 -0
- package/dist/collection/vendor/calcite-components/NZDSRTUF.js +4 -0
- package/dist/collection/vendor/calcite-components/O4LXC5MV.js +4 -0
- package/dist/collection/vendor/calcite-components/OJGLTFDQ.js +4 -0
- package/dist/collection/vendor/calcite-components/OM2SDJA4.js +4 -0
- package/dist/collection/vendor/calcite-components/OY3RU7OI.js +4 -0
- package/dist/collection/vendor/calcite-components/P7LZIGH7.js +4 -0
- package/dist/collection/vendor/calcite-components/PF4XEEY5.js +4 -0
- package/dist/collection/vendor/calcite-components/PODUJS2H.js +4 -0
- package/dist/collection/vendor/calcite-components/PTGDUPKQ.js +4 -0
- package/dist/collection/vendor/calcite-components/PULE4IG4.js +4 -0
- package/dist/collection/vendor/calcite-components/PYAEZBTT.js +4 -0
- package/dist/collection/vendor/calcite-components/Q4DBJLCB.js +4 -0
- package/dist/collection/vendor/calcite-components/Q5CP47UX.js +4 -0
- package/dist/collection/vendor/calcite-components/QBKTBLGQ.js +4 -0
- package/dist/collection/vendor/calcite-components/QBQA4E7G.js +4 -0
- package/dist/collection/vendor/calcite-components/QETLRCQW.js +4 -0
- package/dist/collection/vendor/calcite-components/QQDFER4A.js +4 -0
- package/dist/collection/vendor/calcite-components/QUUN5YJ3.js +4 -0
- package/dist/collection/vendor/calcite-components/RAGSXTXM.js +4 -0
- package/dist/collection/vendor/calcite-components/RCSWE64T.js +4 -0
- package/dist/collection/vendor/calcite-components/REFBGNGF.js +4 -0
- package/dist/collection/vendor/calcite-components/RJMOC4XG.js +4 -0
- package/dist/collection/vendor/calcite-components/RLL47KJQ.js +4 -0
- package/dist/collection/vendor/calcite-components/RNT7J5MG.js +4 -0
- package/dist/collection/vendor/calcite-components/RPYN5IF2.js +4 -0
- package/dist/collection/vendor/calcite-components/RRML3L24.js +4 -0
- package/dist/collection/vendor/calcite-components/RRVJ5QUL.js +4 -0
- package/dist/collection/vendor/calcite-components/RZO7PXBY.js +4 -0
- package/dist/collection/vendor/calcite-components/SHIRLQTM.js +4 -0
- package/dist/collection/vendor/calcite-components/SKNFNI3G.js +4 -0
- package/dist/collection/vendor/calcite-components/SYRJFWC5.js +4 -0
- package/dist/collection/vendor/calcite-components/T3GBBB3W.js +4 -0
- package/dist/collection/vendor/calcite-components/TQ427GJX.js +6 -0
- package/dist/collection/vendor/calcite-components/TRWHGTOM.js +4 -0
- package/dist/collection/vendor/calcite-components/TTYJV2AA.js +4 -0
- package/dist/collection/vendor/calcite-components/TWJJYAQX.js +4 -0
- package/dist/collection/vendor/calcite-components/U34FMDPO.js +4 -0
- package/dist/collection/vendor/calcite-components/UEMF24J4.js +4 -0
- package/dist/collection/vendor/calcite-components/UIX5KJAH.js +4 -0
- package/dist/collection/vendor/calcite-components/UK4MHTX3.js +4 -0
- package/dist/collection/vendor/calcite-components/UMC66FPD.js +4 -0
- package/dist/collection/vendor/calcite-components/UOWQEKZ5.js +4 -0
- package/dist/collection/vendor/calcite-components/UTQXVQSW.js +4 -0
- package/dist/collection/vendor/calcite-components/UZXKQDX5.js +4 -0
- package/dist/collection/vendor/calcite-components/VB5TESRK.js +4 -0
- package/dist/collection/vendor/calcite-components/VHJ3N6C3.js +4 -0
- package/dist/collection/vendor/calcite-components/VY7WVWHH.js +4 -0
- package/dist/collection/vendor/calcite-components/W34LH35I.js +4 -0
- package/dist/collection/vendor/calcite-components/W5SJYIG6.js +4 -0
- package/dist/collection/vendor/calcite-components/W7LKQZLC.js +4 -0
- package/dist/collection/vendor/calcite-components/WA5XUN7A.js +4 -0
- package/dist/collection/vendor/calcite-components/WEMPP7QH.js +4 -0
- package/dist/collection/vendor/calcite-components/WK57IMVA.js +4 -0
- package/dist/collection/vendor/calcite-components/WUO5GRAC.js +5 -0
- package/dist/collection/vendor/calcite-components/WVYNOISK.js +4 -0
- package/dist/collection/vendor/calcite-components/X3DSV2RP.js +4 -0
- package/dist/collection/vendor/calcite-components/X533PSPQ.js +4 -0
- package/dist/collection/vendor/calcite-components/XCP7OFYG.js +4 -0
- package/dist/collection/vendor/calcite-components/XHSJC65M.js +22 -0
- package/dist/collection/vendor/calcite-components/XNYI7YNV.js +4 -0
- package/dist/collection/vendor/calcite-components/XOXXCOFR.js +4 -0
- package/dist/collection/vendor/calcite-components/XWL453TD.js +4 -0
- package/dist/collection/vendor/calcite-components/XZCNA3MO.js +4 -0
- package/dist/collection/vendor/calcite-components/XZIEBVH3.js +4 -0
- package/dist/collection/vendor/calcite-components/Y2RMF5RD.js +4 -0
- package/dist/collection/vendor/calcite-components/Y5K6MWVI.js +4 -0
- package/dist/collection/vendor/calcite-components/Y73JSF6U.js +4 -0
- package/dist/collection/vendor/calcite-components/YDHV53C4.js +4 -0
- package/dist/collection/vendor/calcite-components/YFD73VVO.js +4 -0
- package/dist/collection/vendor/calcite-components/YGSOHLPD.js +4 -0
- package/dist/collection/vendor/calcite-components/YLRKAY6P.js +4 -0
- package/dist/collection/vendor/calcite-components/YMGAVFBF.js +4 -0
- package/dist/collection/vendor/calcite-components/YORUNTUJ.js +4 -0
- package/dist/collection/vendor/calcite-components/YQW2HZIZ.js +4 -0
- package/dist/collection/vendor/calcite-components/YU4QMLUK.js +4 -0
- package/dist/collection/vendor/calcite-components/Z5W27AI4.js +4 -0
- package/dist/collection/vendor/calcite-components/ZB7BTUGE.js +4 -0
- package/dist/collection/vendor/calcite-components/ZBMTRW4F.js +4 -0
- package/dist/collection/vendor/calcite-components/ZGKKQBVA.js +4 -0
- package/dist/collection/vendor/calcite-components/ZH3CXIUL.js +4 -0
- package/dist/collection/vendor/calcite-components/ZIFGJROL.js +4 -0
- package/dist/collection/vendor/calcite-components/ZL7RFBBU.js +28 -0
- package/dist/collection/vendor/calcite-components/ZLP5NNFX.js +4 -0
- package/dist/collection/vendor/calcite-components/ZQRVWYDH.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/card-manager2.js +2 -2
- package/dist/components/create-feature2.js +2 -1
- package/dist/components/create-related-feature2.js +1 -0
- package/dist/components/crowdsource-manager.js +3 -1
- package/dist/components/crowdsource-reporter.js +125 -48
- package/dist/components/edit-card2.js +1 -0
- package/dist/components/feature-list2.js +52 -12
- package/dist/components/info-card2.js +3 -2
- package/dist/components/layer-list2.js +56 -5
- package/dist/components/layer-table2.js +9 -11
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-select-tools2.js +3 -3
- package/dist/components/public-notification.js +3 -3
- package/dist/components/refine-selection2.js +2 -2
- package/dist/esm/card-manager_3.entry.js +11 -13
- package/dist/esm/create-feature_4.entry.js +6 -3
- package/dist/esm/create-related-feature_3.entry.js +55 -6
- package/dist/esm/crowdsource-manager.entry.js +3 -1
- package/dist/esm/crowdsource-reporter.entry.js +121 -48
- package/dist/esm/feature-list.entry.js +49 -11
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-layer-picker.entry.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +5 -5
- package/dist/esm/public-notification.entry.js +3 -3
- package/dist/esm/solutions-components.js +1 -1
- 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_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_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/demos/crowdsource-manager.html +6 -2
- package/dist/solutions-components/demos/crowdsource-reporter.html +2 -0
- package/dist/solutions-components/p-09041307.entry.js +6 -0
- package/dist/solutions-components/p-1ac20964.entry.js +6 -0
- package/dist/solutions-components/p-541eb93a.entry.js +6 -0
- package/dist/solutions-components/p-6d20da19.entry.js +6 -0
- package/dist/solutions-components/p-7e233b70.entry.js +6 -0
- package/dist/solutions-components/p-892b42be.entry.js +6 -0
- package/dist/solutions-components/p-9161beb0.entry.js +6 -0
- package/dist/solutions-components/p-decfd5fc.entry.js +6 -0
- package/dist/solutions-components/p-eba271dd.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/vendor/calcite-components/24XPU7PW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/26HZKUXD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2DZDH5PW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2E4H4XCR.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/2FEK4CRN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2JG564MO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2Q4UEB7G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2RPVHRRK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2UCHSNWA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36XNABTH.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/3AQ2GZOJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3BLAL4BM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3FMVZYYJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3H4RHBLC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3HPRXYKG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3NQ3MF4Y.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3QYPPYKC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3SN4BPNU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3TSDVYMK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/44IELQRN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4EXGV2JM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4FFNZW2T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4IAN6EPQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4LP6XZGU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5F57XCO4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5GKGAQME.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5IDYJYNO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5NCQFUYM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5URVZAO7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5VK4UUOT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/675BA2OJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6BYBFB5X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6GYLT3HR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6HR6FZG5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6MXVP647.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6ZVC3UDX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7DCX244D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7IVGC34Z.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7MWKFHAB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7XHO3OGL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7ZKEYSIK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A55GXE4D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ANPPDEZT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AQU64FML.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BWIN7F7V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CMPWL5OR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D2RJ2NDD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D7XRLD6B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DARUTTL6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DQUWVHQ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DS66T4UB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DTEXOHOC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DWP35FP5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E4V4WLG3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E7BZN4HI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E7L45EZX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EAA5CDC7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EBQYZOJE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EEY7KS7V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EF4LF7JA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EG3KFCKT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EIKWAET5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ELQHGUUQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ERSOIATK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EV222TOH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FBYOJ4XP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FD23ZJ5M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FKRFYIK4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FMQW5CPG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FO5IP7GC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FT75A5FT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FXQZQREX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FYRRB4YU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G4WSCO7F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G5LIFWLC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GCYW34DH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GD4KAPIS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GM2DDQTV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GO2WSYWK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GPCQIKHB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GWFN65PG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GYIYX666.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H373LLT7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HANIGQEU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HBWBBKTZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HPQH2IQI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HVFHWDZS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZ2CJF4H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ICQDC5MP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IUPHPQ5W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JDC4CCNQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JG5U4L3H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JIZ3ZUNT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JLOMSYFQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JLTNOBGF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JN54BWVD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JN6GQD32.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JPISN7UU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JUAKRLPE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JWG3XWKS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JXO6Q6PC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JZGJVQKB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/K6ALYIOD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KDJM5H4R.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KHJ3WR7G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KKIWAHJ5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KTBWW64D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KU2O6B36.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KVUPM4TA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KX7ZCSRX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L23DZQI6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L2A3CRIP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L37A2ISQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LAVRP2RO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LKSA6W5F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LL7Q6H5L.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LM2XVEJC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LRGSGD6G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LSIQC7QO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LX3BNN2R.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/M25GARCS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/M4GN65AZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MDFZXOFP.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/MIBXI2CI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MRFLH6RW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MUSZ6RWB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MX5EJ4DJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MX7YVZ2Z.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MYZF2YXM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N65J4BH6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N7POKTYM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NGWZQ4DF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NH5KER32.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NIUCAKLC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NJILTUYU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NNB7RMSP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NP5LTTOS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NU3PWREF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NZDSRTUF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/O4LXC5MV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OJGLTFDQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OM2SDJA4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OY3RU7OI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/P7LZIGH7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PF4XEEY5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PODUJS2H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PTGDUPKQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PULE4IG4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PYAEZBTT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Q4DBJLCB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Q5CP47UX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QBKTBLGQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QBQA4E7G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QETLRCQW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QQDFER4A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QUUN5YJ3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RAGSXTXM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RCSWE64T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/REFBGNGF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RJMOC4XG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RLL47KJQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RNT7J5MG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RPYN5IF2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RRML3L24.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RRVJ5QUL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RZO7PXBY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SHIRLQTM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SKNFNI3G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SYRJFWC5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/T3GBBB3W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TQ427GJX.js +6 -0
- package/dist/solutions-components/vendor/calcite-components/TRWHGTOM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TTYJV2AA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TWJJYAQX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/U34FMDPO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UEMF24J4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UIX5KJAH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UK4MHTX3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UMC66FPD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UOWQEKZ5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UTQXVQSW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UZXKQDX5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VB5TESRK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VHJ3N6C3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VY7WVWHH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/W34LH35I.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/W5SJYIG6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/W7LKQZLC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WA5XUN7A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WEMPP7QH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WK57IMVA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WUO5GRAC.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/WVYNOISK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X3DSV2RP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X533PSPQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XCP7OFYG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XHSJC65M.js +22 -0
- package/dist/solutions-components/vendor/calcite-components/XNYI7YNV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XOXXCOFR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XWL453TD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XZCNA3MO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XZIEBVH3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Y2RMF5RD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Y5K6MWVI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Y73JSF6U.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YDHV53C4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YFD73VVO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YGSOHLPD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YLRKAY6P.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YMGAVFBF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YORUNTUJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YQW2HZIZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YU4QMLUK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z5W27AI4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZB7BTUGE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZBMTRW4F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZGKKQBVA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZH3CXIUL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZIFGJROL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZL7RFBBU.js +28 -0
- package/dist/solutions-components/vendor/calcite-components/ZLP5NNFX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZQRVWYDH.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/crowdsource-reporter/crowdsource-reporter.d.ts +42 -1
- package/dist/types/components/feature-list/feature-list.d.ts +20 -0
- package/dist/types/components/layer-list/layer-list.d.ts +27 -0
- package/dist/types/components.d.ts +32 -0
- package/package.json +3 -3
- 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/solutions-components/p-00ec642f.entry.js +0 -6
- package/dist/solutions-components/p-02c4e6fc.entry.js +0 -6
- package/dist/solutions-components/p-2460cf10.entry.js +0 -6
- package/dist/solutions-components/p-5a202f3f.entry.js +0 -6
- package/dist/solutions-components/p-7251848d.entry.js +0 -6
- package/dist/solutions-components/p-8859b622.entry.js +0 -6
- package/dist/solutions-components/p-de42e8b2.entry.js +0 -6
- package/dist/solutions-components/p-ea566af0.entry.js +0 -6
- package/dist/solutions-components/p-eb3c867f.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
@@ -93,7 +93,9 @@
|
|
93
93
|
...custom,
|
94
94
|
...[{
|
95
95
|
id: "3715f4899bea4b2a948347c5c2357e58",
|
96
|
-
name: "PN Map"
|
96
|
+
name: "PN Map",
|
97
|
+
enableCreateFeatures: true,
|
98
|
+
enableEditGeometry: true
|
97
99
|
}, {
|
98
100
|
id: "4fa949c89bb04ecb8a9f5ad119448333",
|
99
101
|
name: "CS TIL DATA"
|
@@ -170,7 +172,9 @@
|
|
170
172
|
]
|
171
173
|
}],
|
172
174
|
mapId: "fbe7bb1907f34d5aa8771ad6475a1dfe"
|
173
|
-
}
|
175
|
+
},
|
176
|
+
enableCreateFeatures: true,
|
177
|
+
enableEditGeometry: true
|
174
178
|
}]
|
175
179
|
];
|
176
180
|
demo.appLayout = "splitView";
|
@@ -0,0 +1,6 @@
|
|
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-404cbf48.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-db3391b9.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-8717729a.js";import"./p-4fe489cf.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:"",overlayPositioning:"fixed",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:"",overlayPositioning:"fixed",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}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}';export{u as public_notification}
|
@@ -0,0 +1,6 @@
|
|
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-404cbf48.js";import{g as l,q as n,e as c,f as d,c as r}from"./p-dcd2f00b.js";import{d as p}from"./p-db3391b9.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const b=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:"fe3e33e8c733266ac97d85a656aec4cb75d7fa1d",selected:!0},e("calcite-panel",{key:"e8de18fa82d9a8ba377f02855080ac1e35ce181a",heading:o},e("calcite-action",{key:"063ed2e572c64056d20601085012b86980c5d304",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:"add0dbef4bca18905717b92ff584d006ebd81ca8",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,showGuidingMsg:!1,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"]}}};b.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 f=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:"5141283322c3492f26768af0b712df01ebb734ad"},e("div",{key:"3a1742f91134a896a5cf8298e2359d2370a95b51"},e("calcite-scrim",{key:"e50e99752b35ad923bfa2adb005cc004d655c6fb",class:s,loading:this._queryingData}),e("calcite-shell",{key:"51c5b8cd436c352144f5072ea07f26518b3602f4"},this._getTableControlRow("header"),e("div",{key:"74ac951ac1a460ed555b70db37d6502585fd702d",class:`width-full ${l}`},e("calcite-panel",{key:"0afcdaa113b15a7c4a95fb2615f7b8e19bffc5f3",class:"height-full width-full"},n&&e("div",{key:"eae1850675897ebf1f2f34a2c13f9b7e19a5b962",class:"search-container"},e("calcite-input",{key:"cde8ce3a6bf1d9da95825fc543c7e3d72643a1f6",class:"search",clearable:!0,icon:"search",onCalciteInputChange:t=>{this._searchTextChanged(t)},placeholder:this._searchPlaceHolder,title:this._searchPlaceHolder,type:"search"})),e("calcite-loader",{key:"78beeb6521f065fd4dbbf233f6807acefcc7fa66",class:i,label:this._translations.fetchingData,scale:"l"}),e("div",{key:"bc258046891b9d8ca3e6e67fb16b9b7c909f2bbc",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 d(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 r(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}f.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 r(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{b as card_manager,f as layer_table,m as map_card}
|
@@ -0,0 +1,6 @@
|
|
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}from"./p-e996c38f.js";import{l as a,g as h}from"./p-404cbf48.js";import{P as l}from"./p-bf04c6f4.js";import{g as n,c,h as o}from"./p-dcd2f00b.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-db3391b9.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";import"./p-80cb7c73.js";const r=class{constructor(s){t(this,s),this.featureSelect=i(this,"featureSelect",7),this.selectedLayerId=void 0,this.mapView=void 0,this.noFeaturesFoundMsg=void 0,this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.locale=void 0,this.sortingInfo=void 0,this.whereClause=void 0,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!0,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.reportingOptions=void 0,this.showFullTitle=!0,this.filterByMapExtent=!1,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._searchPlaceHolder="",this._fullTextSearchInfo=void 0,this._translations=void 0}get el(){return s(this)}Color;esriConfig;symbolUtils;reactiveUtils;_popupUtils;_selectedLayer;_highlightHandle;_filterByMapExtentHandle;_highlights;_pagination;_calciteList;_validFieldTypes=["small-integer","integer","big-integer","single","long"];_abbreviatedLikeCount;_likeFieldAvailable=!1;_searchExpression;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async selectedLayerWatchHandler(){this._selectedLayer=await n(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async filterByMapExtentHandler(t){t?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(t){if(t&&this._pagination){const t={target:{startItem:this._pagination.startItem}};await this.pageChanged(t)}else this._searchExpression?await this._searchFullText():await this.initializeFeatureItems()}featureSelect;async componentWillLoad(){await this.initModules(),await this._getTranslations(),this._isLoading=this.showInitialLoading,this._popupUtils=new l,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await n(this.mapView,this.selectedLayerId),this._getFullTextSearchInfo()),this.filterByMapExtent&&this.initializeMapExtentFilter()}async componentDidLoad(){await this.initializeFeatureItems()}render(){const t=this._canShowFullTextSearch();return e("calcite-panel",{key:"465989fd2befec544d5a49a355a70dc13b6962dc","full-height":!0,"full-width":!0},t&&e("calcite-input",{key:"b09776016a6d854336b44bbfcb98eabbd50d1e95",class:"search",clearable:!0,icon:"search",onCalciteInputChange:this._searchTextChanged.bind(this),placeholder:this._searchPlaceHolder,title:"",type:"search"}),this._isLoading&&e("calcite-loader",{key:"ac945c628e55c6dff43701c39d33c6a3a9ff8874",label:"",scale:"m"}),this.showErrorWhenNoFeatures&&0===this._featureItems.length&&!this._isLoading&&e("calcite-notice",{key:"00cb64af86c8cd8600cdf435f918131cc3e66a38",class:"error-msg",icon:"feature-details",kind:"info",open:!0},e("div",{key:"29b8bd85b3cb55c6bfb6adc282f8e69a7f9ea2ce",slot:"message"},this.filterByMapExtent?this._translations.featureErrorMsgInCurrentMapView:this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg)),e("calcite-list",{key:"002f3171e10af68d189c71dbd9fa86d3106f13a2",class:"small"!==this.textSize||this.showFullTitle?"":"overflow-hidden",label:"",ref:t=>this._calciteList=t,"selection-appearance":"border","selection-mode":"none"},!this._isLoading&&this._featureItems.length>0&&this._featureItems),this._featuresCount>this.pageSize&&e("div",{key:"3df744fa6f86db8c092e10dee631907516985fc5",class:"width-full",slot:"footer"},e("calcite-pagination",{key:"0221928e0266e4b57c7ce5a34aa8ec758864312f",class:"pagination","full-width":!0,onCalcitePaginationChange:this.pageChanged.bind(this),"page-size":this.pageSize,ref:t=>this._pagination=t,"start-item":"1","total-items":this._featuresCount})))}async initModules(){const[t,i,s,e]=await a(["esri/Color","esri/config","esri/symbols/support/symbolUtils","esri/core/reactiveUtils"]);this.Color=t,this.esriConfig=i,this.symbolUtils=s,this.reactiveUtils=e}async getWhereCondition(){let t="1=1";if(this.whereClause&&(t=this.whereClause),this._selectedLayer?.definitionExpression&&(t=t+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){const i=await c(this.mapView,this.selectedLayerId);i?.filter?.where&&(t=t+" AND "+i.filter.where)}return t}async initializeFeatureItems(){if(this._selectedLayer){this._pagination?.goTo("start"),this._isLoading=this.showInitialLoading,this._featureItems=await this.queryPage(0);const t={where:await this.getWhereCondition(),geometry:this.filterByMapExtent?this.mapView.extent:null};this._featuresCount=await this._selectedLayer.queryFeatureCount(t),this._isLoading=!1}}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(()=>{this.initializeFeatureItems()}),{initial:!0})}async pageChanged(t){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=null);const i=t.target.startItem-1;this._featureItems=await this.queryPage(i),this._isLoading=!1}_canShowFullTextSearch(){return((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch&&this._selectedLayer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._selectedLayer.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._selectedLayer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),await this._searchFullText()}async _searchFullText(){this._searchExpression&&this._clearSearchDefinitionExpression();let t=[];if(this._fullTextSearchInfo&&this._fullTextSearchInfo[0].searchTerm){const i=this._selectedLayer.createQuery();i.fullText=this._fullTextSearchInfo,t=await this._selectedLayer.queryObjectIds(i),await this._updateSearchDefinitionExpression(t?.length?t:[-1])}await this.initializeFeatureItems()}async _updateSearchDefinitionExpression(t){const i=this._selectedLayer.definitionExpression;if(t?.length){const s=`objectId in(${t})`;this._selectedLayer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}_clearSearchDefinitionExpression(){const t=this._selectedLayer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._selectedLayer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async featureClicked(t,i){if(this.clearHighlights(),this.highlightOnMap){const i=Number(t.target.value),s=await c(this.mapView,this.selectedLayerId);this._highlightHandle=await o([i],s,this.mapView,!0)}await this.emitSelectedFeature(i)}async emitSelectedFeature(t){const i=t.layer,s=i.createQuery();s.returnGeometry=!0,s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this.featureSelect.emit(e.features[0])}async onFeatureHover(t){if(this.clearHighlights(),this.highlightOnHover){const i=t.getObjectId(),s=await c(this.mapView,this.selectedLayerId);this._highlights&&(s.highlights=JSON.parse(this._highlights)),s.highlightOptions={color:new this.Color("#FFFF00")},this._highlights=JSON.stringify(s.highlights),this._highlightHandle=s.highlight([i])}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(t){const i=this._selectedLayer,s=this.sortingInfo?.field?this.sortingInfo.field:i.objectIdField,e=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),h={start:t,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView.spatialReference.toJSON(),geometry:this.filterByMapExtent?this.mapView.extent:null};s&&e&&(h.orderByFields=[s.toString()+" "+e]);const l=await i.queryFeatures(h);return await this.createFeatureItem(l)}async createFeatureItem(t){const i=t?.features,s=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,e=i.map((async t=>{const i=await this._popupUtils.getPopupTitle(t,this.mapView.map);let e,a;if(this.showUserImageInList){const i=this._selectedLayer.editFieldsInfo?.creatorField;i&&(e=await this.getUserInformation(t))}return this.showFeatureSymbol&&(a=await this.getFeatureSymbol(t)),s&&this.getAbbreviatedLikeCount(t),this.getFeatureItem(t,i,a,e)}));return Promise.all(e)}getAbbreviatedLikeCount(t){const i=this._selectedLayer,s=this.reportingOptions[i.id].likeField;i.fields.forEach((e=>{if(this._validFieldTypes.indexOf(e.type)>-1&&e.name===s&&this.reportingOptions[i.id].like){this._likeFieldAvailable=!0;let i=t.attributes[s]||0;i>999&&(i=i>999999?this._translations.millionsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e6).toString()):this._translations.thousandsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e3).toString())),this._abbreviatedLikeCount=i}}))}getFeatureItem(t,i,s,a){const h=t.attributes[this._selectedLayer.objectIdField].toString();i=i??h;const l=Number(t.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField]).toLocaleString(),n="small"!==this.textSize||this.showFullTitle?"small"===this.textSize?"feature-list-popup-title-small":"feature-list-popup-title":"feature-list-popup-title-small-ellipsis",c=this._calciteList.offsetWidth-(this.showUserImageInList?115:65);return e("calcite-list-item",{onCalciteListItemSelect:i=>{this.featureClicked(i,t)},onMouseLeave:()=>{this.clearHighlights()},onMouseOver:()=>{this.onFeatureHover(t)},value:h},this.showUserImageInList&&e("calcite-avatar",{class:"profile-img","full-name":a?.fullName,scale:"m",slot:"content-start",thumbnail:a?.userProfileUrl,userId:a?.id,username:a?.fullName?a.username:void 0}),this.showFeatureSymbol&&e("div",{class:"feature-symbol",ref:t=>t&&t.replaceChildren(s),slot:"content-start"}),e("div",{class:`popup-title ${n}`,slot:"content-start",style:{maxWidth:"large"===this.textSize?"none":`${c}px`}},i),this._likeFieldAvailable&&e("div",{class:"like-container",id:h.concat("like"),slot:"content-end"},e("span",null,this._abbreviatedLikeCount),e("calcite-icon",{icon:"thumbs-up",scale:"s"}),e("calcite-tooltip",{overlayPositioning:"fixed",placement:"top","reference-element":h.concat("like")},l)),e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}async getUserInformation(t){let i=this._selectedLayer.editFieldsInfo?.creatorField;t.attributes.hasOwnProperty(i.toLowerCase())?i=i.toLowerCase():t.attributes.hasOwnProperty(i.toUpperCase())&&(i=i.toUpperCase());let s=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${t.attributes[i]}?f=json&returnUserLicensedItems=true`;const e=this.mapView.map.portalItem.portal?.credential?.token;e&&(s+=`&token=${e}`);const a=await fetch(s),h=await a.json();let l=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${h?.username??t.attributes[i]}/info/blob.png`;return h?.access&&e&&(l+=`?token=${e}`),h.userProfileUrl=l,h}async getFeatureSymbol(t){const i=document.createElement("div");return await this.symbolUtils.getDisplayedSymbol(t).then((async t=>{if(t&&await(this.symbolUtils?.renderPreviewHTML(t,{node:i})),i.children?.length){const t=i.children[0];if(t){const i=Number(t.getAttribute("height")),s=Number(t.getAttribute("width"));s>30&&t.setAttribute("width","30"),i>30&&t.setAttribute("height","30"),t.setAttribute("viewBox",`0 0 ${s} ${i}`)}}})),i}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],selectedLayerId:["selectedLayerWatchHandler"],sortingInfo:["sortingInfoWatchHandler"],whereClause:["whereClauseHandler"],filterByMapExtent:["filterByMapExtentHandler"]}}};r.style=":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;white-space:pre-line}.feature-list-popup-title-small{font-size:small;white-space:pre-line}.feature-list-popup-title-small-ellipsis{font-size:small;white-space:nowrap !important;text-overflow:ellipsis;overflow:hidden}.popup-title{padding:0 5px;word-break:break-word}.profile-img{padding:0 5px;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray !important;font-style:italic}.feature-symbol{padding:0 3px;min-width:30px;display:flex;justify-content:center}.search{padding:10px;background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3)}";export{r as feature_list}
|
@@ -0,0 +1,6 @@
|
|
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 a}from"./p-e996c38f.js";import{g as h}from"./p-404cbf48.js";import{g as n,d as o,n as l}from"./p-dcd2f00b.js";import{s as r}from"./p-e6859850.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-8717729a.js";const c=class{constructor(e){t(this,e),this.beforeLayerSelectionChange=i(this,"beforeLayerSelectionChange",7),this.idsFound=i(this,"idsFound",7),this.noLayersFound=i(this,"noLayersFound",7),this.layerSelectionChange=i(this,"layerSelectionChange",7),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.isMobile=void 0,this.locale=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showTablesDisabled=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=void 0,this.ids=[],this.selectedName="",this._translations=void 0}get el(){return e(this)}defaultLayerHonored=!1;_layerElement;_layerNameHash;_skipEditCheck=!1;_tableNameHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async setLayerById(t,i=!1){this._skipEditCheck=i,this._setSelectedLayer(t),this._skipEditCheck=!1}async setLayerByIds(t,i=!1){this._skipEditCheck=i,this._layerSelectionChange(t),this._skipEditCheck=!1}async updateLayer(){this._setSelectedLayer(this.ids[0])}beforeLayerSelectionChange;idsFound;noLayersFound;layerSelectionChange;async componentWillLoad(){await this._getTranslations(),await this._setLayers()}async componentWillRender(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];if(t!==this.selectedIds[0])this._setSelectedLayer(t);else{const t=await n(this.mapView,this.selectedIds[0]);this.selectedName=t?.title}}}render(){const t="map-layer-picker";let i=this.height>0?{height:`${this.height.toString()}px`}:{};return i={...i,display:this.display},s(a,{key:"a4d7a923fcf0b6ec488fafa3af8b3c3a9599d61a"},s("div",{key:"54d5cde231707391537fbd649647a5b9e86a1ab3",class:"map-layer-picker-container",style:i},s("div",{key:"1d1329f393778e561bfed22a1c1542cd75d4b55b",class:"map-layer-picker",style:i},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(t):"select"===this.type?this._getSelect(t):this._getDropdown(t):this._getInvalidPlaceholder())))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return s("div",null,s("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},s("div",{slot:"message"},this._translations.noLayersFound)),s("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},s("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){const t=this._getItemTypeIcon();return s("div",{class:"layer-picker-label-container cursor-default"},s("calcite-icon",{icon:t,scale:"s"}),s("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(t){return s("calcite-select",{id:t,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(t){return s("calcite-combobox",{clearDisabled:!0,id:t,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(t){return s("calcite-dropdown",{class:"layer-picker-dropdown",onCalciteDropdownBeforeClose:()=>this._isDropdownOpen=!1,onCalciteDropdownBeforeOpen:()=>this._isDropdownOpen=!0},this.isMobile?this._getDropdownButton():this._getActionDropdownButton(t),s("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getActionDropdownButton(t){return s("calcite-action",{id:t,slot:"trigger",text:""},this._getDropdownButton())}_getDropdownButton(){const t=this._getItemTypeIcon();return s("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:this.isMobile?"":"max-width-350",iconEnd:this._isDropdownOpen?"chevron-up":"chevron-down",iconStart:t,kind:"neutral",slot:this.isMobile?"trigger":"",width:"full"},s("div",null,this.selectedName))}_getItemTypeIcon(){let t="layers";if(this.selectedIds.length>0&&this._layerNameHash){const i=this.selectedIds[0];t=Object.keys(this._layerNameHash).indexOf(i)>-1?"layers":"table"}return t}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(t,i){const e="layer"===i?this._layerNameHash[t]:this._tableNameHash[t],a=!!this.onlyShowUpdatableLayers&&!e.supportsUpdate,h=e.name,n=this.selectedIds.indexOf(t)>-1;return"combobox"===this.type?s("calcite-combobox-item",{disabled:a,selected:n,textLabel:h,value:t}):"select"===this.type?s("calcite-option",{disabled:a,label:h,selected:n,value:t}):s("calcite-dropdown-group",{class:a?"disabled":"",selectionMode:a?"none":"single"},s("calcite-dropdown-item",{disabled:"table"===i&&this.showTablesDisabled,"icon-start":i,onClick:a?void 0:()=>{this._setSelectedLayer(t)},selected:n},h))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),(this._skipEditCheck||!this.beforeLayerSelectionChange.emit({currentId:this.selectedIds[0],newId:t,ref:this.el}).defaultPrevented)&&(this.selectedName=i?.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds))}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>!(this.enabledLayerIds?.length>0)||this.enabledLayerIds.reverse().indexOf(t)>-1)),...i.reverse().filter((t=>!(this.enabledTableIds?.length>0)||this.enabledTableIds.reverse().indexOf(t)>-1))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await o(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await l(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){const i=this._layerNameHash[t]?.name;return i&&Object.keys(r.managedLayers).indexOf(i)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){const i=this._tableNameHash[t]?.name,e=i&&this.showTables;return e?r.managedTables.indexOf(i)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):e}_layerSelectionChange(t){const i=t||(Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value]);if(JSON.stringify(i)!==JSON.stringify([""])){if(!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentIds:this.selectedIds,newIds:i,ref:this.el}).defaultPrevented)return;this.selectedIds=i,this.layerSelectionChange.emit(this.selectedIds)}}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};c.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{c as map_layer_picker}
|
@@ -0,0 +1,6 @@
|
|
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,c as t,g as e,h as s,H as a}from"./p-e996c38f.js";import{a as h,l,g as n}from"./p-404cbf48.js";import{e as o,h as r,i as c,j as d,c as p,k as b,l as g,m as f}from"./p-dcd2f00b.js";import{a as y,e as m,f as u}from"./p-80cb7c73.js";import{s as w}from"./p-e6859850.js";import{d as v,a as _}from"./p-db3391b9.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-8717729a.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const S=class{constructor(e){i(this,e),this.selectionSetChange=t(this,"selectionSetChange",7),this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.enabledLayerIds=[],this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.locale=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionSet=void 0,this.selectionLayerIds=[],this.selectLayerView=void 0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this.searchDistanceEnabled=!1,this.useLayerFeaturesEnabled=!1,this._numSelected=0,this._searchTerm=void 0,this._selectionLoading=!1,this._translations=void 0}get el(){return e(this)}_esriRequest;FeatureLayer;Graphic;GraphicsLayer;Search;_geometryEngine;_bufferGeometry;_bufferGraphicsLayer;_bufferTools;_distance;_drawTools;_labelName;_selectLayers;_searchElement;_searchResult;_searchWidget;_selectedIds=[];_selectionLabel="";_skipGeomOIDs;_sketchGraphic;_graphics=[];_unit;_workflowType;_featuresCollection={};async watchGeometriesHandler(i,t){if(i!==t){const t=0===i.length;if(await this._clearResults(t,t),i.length>0)return this._highlightWithOIDsOrGeoms()}}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(i,t){i&&i!==t&&await this._init()}async watchSearchConfigurationHandler(i,t){JSON.stringify(i)!==JSON.stringify(t)&&await this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||await this._updateLabel(),{id:this.isUpdate?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools?.distance,download:!0,unit:this._bufferTools?.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this.searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this.useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}selectionSetChange;searchConfigurationChangeChanged(i){this.searchConfiguration=i.detail}async distanceChanged(i){await this._distanceChanged(i.detail)}async unitChanged(i){i.detail.newValue!==i.detail.oldValue&&(this._unit=i.detail.newValue,await this._updateLabel())}async componentWillLoad(){await this._getTranslations(),await this._initModules()}async componentDidLoad(){await this._init()}render(){const i=this.enableSketchTools?"":"display-none",t=this.enableSketchTools?"padding-top-1":"";return s(a,{key:"a5001c196db1464bffa746310638b2853ff5fdf9"},this._getMapLayerPicker(),s("div",{key:"3e023a81f76bdd371c84d9ecb42e97a9160c6f89",class:"border-bottom"}),s("div",{key:"c6be571bee2d2c1fe82407aee9a1cf9f1f27280d",class:"padding-top-sides-1"},s("div",{key:"aaf5992f616728f6be5be034700ac09b9b5b733f",class:"search-widget",ref:i=>{this._searchElement=i}}),s("div",{key:"a86b4e147b7baf4b93272bed7f189a47faf65ab8",class:t},s("map-draw-tools",{key:"9b3c2faaa8f612d055189206e2baeb868d55dceb",active:!0,class:i,editGraphicsEnabled:!this.useLayerFeaturesEnabled,graphics:this._graphics,locale:this.locale,mapView:this.mapView,onSketchGraphicsChange:i=>{this._sketchGraphicsChanged(i)},pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,ref:i=>{this._drawTools=i}})),this.enableSearchDistance?this._getBufferOptions():void 0,this.enableLayerFeatures?this._getUseLayerFeaturesOptions():void 0,this._getNumSelected()),s("div",{key:"73b3039f0861046a3f955872180b64c15bd5c5d9",class:"border-bottom"}),this._getNameInput())}_getBufferOptions(){this.enableSearchDistanceOnLoad&&(this.searchDistanceEnabled=!0,this.enableSearchDistanceOnLoad=!1);const i=this.searchDistanceEnabled?"search-distance":"div-not-visible",t="number"==typeof this.selectionSet?.distance?this.selectionSet.distance:this.defaultBufferDistance;return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.searchDistance,s("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"search-distance-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",overlayPositioning:"fixed",referenceElement:"search-distance-icon"},s("span",{class:"tooltip-message"},this._translations.useSearchDistanceTootip)),s("calcite-switch",{checked:this.searchDistanceEnabled,onCalciteSwitchChange:()=>this.searchDistanceEnabled=!this.searchDistanceEnabled})),s("div",{class:i},s("buffer-tools",{disabled:!this.searchDistanceEnabled,distance:t,geometries:this.geometries,locale:this.locale,onBufferComplete:i=>{this._bufferComplete(i)},ref:i=>this._bufferTools=i,unit:this.selectionSet?.unit||this.defaultBufferUnit})))}_getUseLayerFeaturesOptions(){this.enableLayerFeaturesOnLoad&&(this.useLayerFeaturesEnabled=!0,this.enableLayerFeaturesOnLoad=!1);const i=this.useLayerFeaturesEnabled?"div-visible":"div-not-visible";return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.useLayerFeatures,s("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"use-layer-features-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",overlayPositioning:"fixed",referenceElement:"use-layer-features-icon"},s("span",{class:"tooltip-message"},this._translations.useLayerFeaturesTooltip)),s("calcite-switch",{checked:this.useLayerFeaturesEnabled,onCalciteSwitchChange:()=>{this._useLayerFeaturesEnabledChanged()}})),s("div",{class:i+" padding-top-1"},s("map-layer-picker",{enabledLayerIds:this.selectionLayerIds,locale:this.locale,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},selectedIds:this.layerViews.map((i=>i.layer.id)),showTables:!1})))}_getNumSelected(){const i=h(this.el),t=i&&"en"===i?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return s("div",{class:"padding-top-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},this._selectionLoading?s("div",null,s("calcite-loader",{class:"info-blue",inline:!0,label:t,scale:"m",type:"indeterminate"})):s("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),s("calcite-input-message",{class:"info-blue",scale:"m"},this._selectionLoading?t:this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())))}_getNameInput(){return s("div",{class:"padding-sides-1 padding-top-1 "+(this.customLabelEnabled?"":"display-none")},s("calcite-label",{class:"font-bold"},this._translations.listName,s("calcite-input",{onInput:()=>{this._selectionLabel=this._labelName.value},placeholder:this._translations.listNamePlaceholder,ref:i=>{this._labelName=i},value:this._selectionLabel||""})))}_getMapLayerPicker(){return s("div",{class:"display-flex padding-sides-1 padding-bottom-1"},s("calcite-label",{class:"font-bold width-full label-margin-0"},this._translations.inputLayer,s("map-layer-picker",{enabledLayerIds:this.enabledLayerIds,locale:this.locale,mapView:this.mapView,onLayerSelectionChange:i=>{this._inputLayerSelectionChange(i)},selectedIds:this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet?[this.selectionSet.layerView.layer.id]:[],showTables:!1})))}async _initModules(){const[i,t,e,s,a,h]=await l(["esri/request","esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this._esriRequest=i,this.GraphicsLayer=t,this.Graphic=e,this.Search=s,this._geometryEngine=a,this.FeatureLayer=h}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),await this._initSearchWidget()}async _initSelectionSet(){this.selectionSet&&(this._searchTerm=this.selectionSet.searchResult?.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs,this.searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this.useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...this.selectionSet?.geometries||[]],this._graphics=this.geometries.map((i=>new this.Graphic({geometry:i,symbol:"point"===i.type?this.sketchPointSymbol:"polyline"===i.type?this.sketchLineSymbol:this.sketchPolygonSymbol}))),this._selectionLabel=this.selectionSet?.label,this.useLayerFeaturesEnabled||await(this._drawTools?.updateGraphics()),await o(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}async _initSearchWidget(){if(this.mapView&&this._searchElement){const i=this._getSearchConfig(this.searchConfiguration,this.mapView),t={view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm,...i};this._searchWidget=new this.Search(t),this._searchWidget.popupEnabled=!1,this._searchWidget.resultGraphicEnabled=!1,this._searchWidget.on("search-clear",(()=>{const i=this._searchClearLabel();this._clearResults(!1,i)})),this._searchWidget.on("select-result",(i=>{this._selectResult(i.result)})),await this._searchWidget.when((()=>{this._searchWidget.allPlaceholder=this.searchConfiguration?.allPlaceholder&&"find address or place"!==this.searchConfiguration.allPlaceholder.toLowerCase()?this.searchConfiguration.allPlaceholder:this._translations.placeholder}))}}async _selectResult(i){if(i){this._searchResult=i;const t=i.feature,e=t?.layer,s=this.selectLayerView.layer,a=t?.getObjectId();let h,l;e?.sourceJSON?.isView&&(h=await this._getViewSourceUrl(e.url)),s?.sourceJSON?.isView&&(l=await this._getViewSourceUrl(s.url));const n=e?.url?.toLowerCase(),o=h?.toLowerCase(),r=s?.url?.toLowerCase(),c=l?.toLowerCase(),d=n&&r&&(n===r||n===c||o===r||o===c)&&!isNaN(a),p=d?[a]:void 0;this._workflowType=y.SEARCH,this._updateLabel();const b=[i.feature];this._updateSelection(b,d,p),this._drawTools.graphics=b,this._searchWidget.resultGraphic.visible=!1}else{const i=this._searchClearLabel();this._clearResults(!1,i)}}async _getViewSourceUrl(i){let t="";const e=`${i}/sources?f=json`;try{const i=await this._esriRequest(e,{query:{f:"json"}});1===i?.data?.services?.length&&(t=i.data.services[0].url)}catch(i){console.log(i)}return t}_searchClearLabel(){return this._searchResult?.name&&this._labelName.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(i,t){const e=i?.sources;return e?.length>0?(i={...i,includeDefaultSources:!1},e.forEach((i=>{if(i.hasOwnProperty("layer")){const e=i,s=e.layer?.id,a=s?t.map.findLayerById(s):null,h=e?.layer?.url;a?e.layer=a:h&&(e.layer=new this.FeatureLayer(h))}})),e?.forEach((i=>{if(i.hasOwnProperty("locator")){const t=i;"ArcGIS World Geocoding Service"===t?.name&&(t.outFields=t.outFields||["Addr_type","Match_addr","StAddr","City"],t.singleLineFieldName="SingleLine"),t.url=t.url,delete t.url}}))):i={...i,includeDefaultSources:!0},i}_initGraphicsLayer(){const i=this._translations.bufferLayer;if(this.mapView){const t=this.mapView.map.layers.findIndex((t=>t.title===i));if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else{this._bufferGraphicsLayer=new this.GraphicsLayer({title:i,listMode:"hide"}),w.managedLayers[i]="buffer";const t=this.mapView.map.layers.findIndex((i=>i.title===this._translations.sketchLayer));t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}}async _sketchGraphicsChanged(i,t=!1){const e=i.detail.graphics;if(e.length>0&&e[0])if(t||(this._sketchGraphic=e[0]),this._workflowType=this.useLayerFeaturesEnabled?y.SELECT:y.SKETCH,this._workflowType===y.SKETCH&&await this._drawTools.updateGraphics(),await this._updateLabel(),this._clearSearchWidget(),this.useLayerFeaturesEnabled&&!t){const i=Array.isArray(e)?e.map((i=>i.geometry)):this.geometries;await this._selectLayerFeatures(i[0])}else{const t=e.reduce(((i,t)=>(t?.layer?.objectIdField?i.push(t.attributes[t.layer.objectIdField]):t.getObjectId&&i.push(t.getObjectId()),i)),[]),s=i.detail.useOIDs&&t.length>0;this._updateSelection(e,s,t),s&&await this._highlightFeatures(t)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){return this._skipGeomOIDs?.length>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(i){w.removeHandles(),i.length>0&&w.highlightHandles.push(await r(i,this.selectLayerView,this.mapView)),this._numSelected=i.length,this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectionLoading=!0,this._selectedIds=await c(i,this.selectLayerView.layer),this._selectionLoading=!1,this._drawTools.graphics=this._graphics,await this._highlightFeatures(this._selectedIds)}async _bufferComplete(i){this._bufferGeometry=Array.isArray(i.detail)?i.detail[0]:i.detail;let t=this._bufferTools.distance,e=0;if(this._bufferGeometry){const i=new this.Graphic({geometry:this._bufferGeometry,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(i.geometry.extent),e=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();await this._distanceChanged({oldValue:t,newValue:e})}_geomQuery(i){const t=d(i,this._geometryEngine);return this._selectFeatures(t)}async _clearResults(i=!0,t=!1){this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName&&(this._labelName.value="")),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),i&&this._searchWidget&&this._clearSearchWidget(),w.removeHandles(),this._drawTools?.clear&&(this._graphics=[],await this._drawTools.clear()),this._numSelected=this._selectedIds.length,this.selectionSetChange.emit(this._numSelected)}_clearSearchWidget(){this._searchWidget.clear(),this._searchResult=void 0}_updateSelection(i,t,e){this._selectedIds=t&&e?e:this._selectedIds,this._skipGeomOIDs=t?e:void 0,this.geometries=Array.isArray(i)?i.map((i=>i.geometry)):this.geometries,this._graphics=i}async _updateLabel(){if(this.enableSearchDistance){const i=this._selectionLabel.indexOf(this._translations.sketch)>-1,t=this._selectionLabel.indexOf(this._translations.select)>-1,e=this._selectionLabel.indexOf(this._searchResult?.name)>-1,s=this._workflowType===y.SEARCH?this._searchResult?.name:this._workflowType===y.SELECT?this._translations.select:this._translations.sketch,a=this._unit?this._unit:this._bufferTools.unit,h=await this._bufferTools.getTranslatedUnit(a),l=isNaN(this._distance)?this._bufferTools.distance:this._distance;this._selectionLabel=i||t||e||!this._selectionLabel?`${s} ${l} ${h}`:this._selectionLabel,this._labelName.value=this._selectionLabel}}async _layerSelectionChange(i){if(Array.isArray(i.detail)&&i.detail.length>0){const t=i.detail.map((i=>p(this.mapView,i)));return Promise.all(t).then((i=>{this.layerViews=i,this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}))}}async _inputLayerSelectionChange(i){const t=i?.detail?.length>0?i.detail[0]:"";this.selectLayerView&&t===this.selectLayerView.layer.id||(this.selectLayerView=await p(this.mapView,t),await this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}async _distanceChanged(i){i.newValue!==i.oldValue&&(this._distance=i.newValue,await this._updateLabel())}async _selectLayerFeatures(i){this._selectionLoading=!0;const t=this.layerViews.map((t=>(this._featuresCollection[t.layer.id]=[],b(0,t.layer,i,this._featuresCollection))));return Promise.all(t).then((async i=>{this._selectionLoading=!1;let t=[];i.forEach((i=>{Object.keys(i).forEach((e=>{t=t.concat(i[e])}))}));let e=!1;t.forEach((i=>{const t=i.geometry;i.symbol="point"===t.type?this.sketchPointSymbol:"polyline"===t.type?this.sketchLineSymbol:"polygon"===t.type?this.sketchPolygonSymbol:void 0,e=i?.layer?.hasOwnProperty("objectIdField")||i.hasOwnProperty("getObjectId")}));const s=this.layerViews[0].layer,a=this.selectLayerView.layer,h=e&&s.url===a.url&&a.layerId===s.layerId;await this._sketchGraphicsChanged({detail:{graphics:t,useOIDs:h}},!0)}))}_useLayerFeaturesEnabledChanged(){this.useLayerFeaturesEnabled=!this.useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}static get watchers(){return{geometries:["watchGeometriesHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"]}}};S.style=':host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem" !important}.end-border{border-inline-end:1px solid var(--calcite-color-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.tooltip-container{display:flex}.padding-start-1-2{padding-inline-start:0.5rem}.icon{--calcite-color-icon-color:var(--calcite-color-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}';const L=Object.freeze({__proto__:null,default:[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}]}),k=class{constructor(t){i(this,t),this.defaultNumLabelsPerPage=void 0,this.disabled=!1,this.locale=void 0,this._translations=void 0}get el(){return e(this)}_labelInfoElement;_intl;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async downloadCSV(i,t,e,s=!0){return v(i,t,!0,e,s)}async downloadPDF(i,t,e=!1,s="",a=""){return _(i,t,this._labelInfoElement.selectedOption?.value,e,s,a)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return s(a,{key:"2fd2ec44e8962468e3698b81e98746ddf6b7a3ca"},s("calcite-select",{key:"d24fca5c39aa358116ee8557249f7a4b09727b3f",disabled:this.disabled,label:"",ref:i=>{this._labelInfoElement=i}}))}componentDidLoad(){this._renderOptions()}async _initModules(){const[i]=await l(["esri/intl"]);this._intl=i}_getLabelSizeText(i){const t="‎"+i.descriptionPDF.labelWidthDisplay+" x "+i.descriptionPDF.labelHeightDisplay+"‏";return this._translations.pdfLabel.replace("{{n}}",i.descriptionPDF.labelsPerPageDisplay).replace("{{labelSize}}",t)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}_renderOptions(){(L.default||L).sort(((i,t)=>{const e=parseInt(i.descriptionPDF.labelsPerPageDisplay,10),s=parseInt(t.descriptionPDF.labelsPerPageDisplay,10);return e<s?-1:e>s?1:0})).forEach(((i,t)=>{const e=document.createElement("calcite-option");e.value=i,e.innerHTML=this._getLabelSizeText(i),this._labelInfoElement.appendChild(e),(this.defaultNumLabelsPerPage?parseInt(i.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:0===t)&&(e.selected=!0)}))}static get watchers(){return{locale:["localeWatchHandler"]}}};k.style=":host{display:block}";const x=class{constructor(e){i(this,e),this.selectionLoadingChange=t(this,"selectionLoadingChange",7),this.selectionSetsChanged=t(this,"selectionSetsChanged",7),this.addresseeLayer=void 0,this.enabledLayerIds=[],this.locale=void 0,this.mapView=void 0,this.selectionSets=[],this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._translations=void 0,this._selectionMode=m.ADD,this._refineLayer=void 0}get el(){return e(this)}_addEnabled=!0;_drawTools;_refineSets=[];_enabledLayerIds=[];_layerPicker;_featuresCollection={};_refineSelectionSet;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}selectionLoadingChange;selectionSetsChanged;async componentWillLoad(){await this._getTranslations(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){return s(a,{key:"8220100e14abd8339947a74df2d8072d06fb2a25"},s("div",{key:"1d7426778d638f347b563bfd29478fae7598e2dd",class:(this._enabledLayerIds.length>1?"display-block":"display-none")+" padding-top-sides-1"},s("div",{key:"cfb649989c24c403bde7d358794933f8f7959bb8",class:"display-flex"},s("calcite-label",{key:"dce85bbfa526941a0fb46c1aeba57f4b028948ef",class:"font-bold width-full label-margin-0"},s("div",{key:"86c19198643381fd99681c53bf0b2b5e66ecf7dc",class:"display-flex"},this._translations.inputLayer,s("calcite-icon",{key:"392022947cd9f53b4b83895992c5b0b32e56fb06",class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"refine-input-layer",scale:"s"})),s("map-layer-picker",{key:"d0946a46e7a79fc613b9eb9aa3e6f896c12bef92",enabledLayerIds:this._enabledLayerIds,locale:this.locale,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},ref:i=>{this._layerPicker=i},selectedIds:[this._refineLayer.layer.id],showTables:!1})),s("calcite-popover",{key:"9963f5ca97481ca45f35b90045cd864f2feb6d42",closable:!0,label:"",overlayPositioning:"fixed",referenceElement:"refine-input-layer"},s("span",{key:"e67b1770261fc0f147acc79c805eeb73932bf595",class:"tooltip-message"},this._translations.inputLayerTip)))),s("div",{key:"22e2aae1be025a115cf9f1d898888b78d90e3662",class:"padding-1"},s("div",{key:"d1930131978f7edc53db10baaa44f1e105a98e68",class:"padding-bottom-1"},s("calcite-segmented-control",{key:"03a307eeaf42312eab41488443676407955089ab",class:"w-100",width:"full"},s("calcite-segmented-control-item",{key:"7ff52920fa3da0f19215cb77d633beab1fae1148",checked:this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(m.ADD),value:m.ADD},s("span",{key:"38875379650fe63cf1b24f1e7999f41457dc3156",class:"font-weight-500"},this._translations.add)),s("calcite-segmented-control-item",{key:"13e689528e58f405074b5144f96c90c558c09672",checked:!this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(m.REMOVE),value:m.REMOVE},s("span",{key:"f4ebb951dd08a430fd4dd528dd3d4a69c3a3e41a",class:"font-weight-500"},this._translations.remove)))),s("div",{key:"346c1e1e022fa21beb692b3770703243de74a5e1"},s("map-draw-tools",{key:"5b9334556aef8ac57ce6593eb290fb0c3d1169f1",active:!0,drawMode:u.REFINE,locale:this.locale,mapView:this.mapView,onDrawRedo:()=>this._redo(),onDrawUndo:()=>this._undo(),onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,redoEnabled:this._refineSelectionSet?.redoStack.length>0,ref:i=>{this._drawTools=i},undoEnabled:this._refineSelectionSet?.undoStack.length>0})),s("br",{key:"9263c5740e0d5e8145336f8001688d420e43a325"}),s("calcite-list",{key:"f29edcd01d9f48b27181eda806fe492e917dadc3",class:"list-border",label:""},this._getRefineSelectionSetList())))}_layerSelectionChange(i){this._setRefineSet(i.detail[0])}_setSelectionMode(i){this._selectionMode=i}_sketchGraphicsChanged(i){const t=i.detail?.graphics[0].geometry;this._selectFeatures(t)}_getEnabledLayerIds(){return this.selectionSets.reduce(((i,t)=>{const e=t?.layerView?.layer.id;return e&&i.indexOf(e)<0?i.push(e):t.workflowType===y.REFINE&&Object.keys(t.refineInfos).forEach((t=>{i.indexOf(t)<0&&i.push(t)})),i}),[])}async _setRefineSet(i){this.selectionSets.some((t=>{if(t.workflowType===y.REFINE)return this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(i)>-1}))||await this._initRefineSet(i,this._refineSelectionSet),this._refineLayer=this._refineSelectionSet.refineInfos[i].layerView}async _initRefineSet(i,t){const e={};e[i]={addIds:[],removeIds:[],layerView:await p(this.mapView,i)},t?t.refineInfos={...t.refineInfos,...e}:(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:y.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:e,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){const i=this._refineSelectionSet.undoStack.pop();this._updateIds(i.ids,i.mode===m.ADD?m.REMOVE:m.ADD,this._refineSelectionSet.redoStack,i.layerView)}_redo(){const i=this._refineSelectionSet.redoStack.pop();this._updateIds(i.ids,i.mode===m.ADD?m.REMOVE:m.ADD,this._refineSelectionSet.undoStack,i.layerView)}_getRefineSelectionSetList(){const i=this._getTotal(this.selectionSets);let t;this.selectionSets.some((i=>{if(i.workflowType===y.REFINE)return t=i,!0}));let e=0,a=0;return Object.keys(t.refineInfos).forEach((i=>{e+=t.refineInfos[i].addIds.length,a+=t.refineInfos[i].removeIds.length})),[s("calcite-list-item",{label:this._translations.featuresAdded.replace("{{n}}",e.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.featuresRemoved.replace("{{n}}",a.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.totalSelected.replace("{{n}}",i.toString()),"non-interactive":!0})]}_getTotal(i){const t=g(i);return Object.keys(t).reduce(((i,e)=>i+t[e].ids.length),0)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}async _selectFeatures(i){this.selectionLoadingChange.emit(!0),this._featuresCollection[this._refineLayer?.layer.id]=[];const t=await b(0,this._refineLayer?.layer,i,this._featuresCollection);this.selectionLoadingChange.emit(!1);let e=[];Object.keys(t).forEach((i=>{i===this._refineLayer?.layer.id&&(e=e.concat(t[i]))}));const s=Array.isArray(e)?e.map((i=>i.attributes[i?.layer?.objectIdField])):[];await this._updateIds(s,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.clear()}async _highlightFeatures(){this._clearHighlight(),w.highlightHandles=await f(this.selectionSets)}_clearHighlight(){w.removeHandles()}async _updateIds(i,t,e,s){let a=!1;const h=this._refineSelectionSet.refineInfos,l=s.layer.id,n={};n[l]={addIds:[],removeIds:[],layerView:s};const o=Object.keys(h).indexOf(l)>-1?h[l]:n[l];if(t===m.ADD)o.addIds=[...new Set([...i,...o.addIds])],o.addIds.length>0&&e.push({ids:i,mode:t,layerView:s}),o.removeIds.length>0&&(o.removeIds=o.removeIds.filter((t=>i.indexOf(t)<0)));else{const h=this.selectionSets.reduce(((t,e)=>(i.forEach((i=>{e.workflowType!==y.REFINE?e.selectedIds.indexOf(i)>-1&&t.push(i):Object.keys(e.refineInfos).some((a=>{const h=e.refineInfos[a];if(h.layerView.layer.id===s.layer.id&&h.addIds.indexOf(i)>-1)return t.push(i),!0}))})),t)),[]);o.removeIds=[...new Set([...h,...o.removeIds])],o.addIds=o.addIds.filter((i=>h.indexOf(i)<0)),o.removeIds.length>0&&e.push({ids:h,mode:t,layerView:s}),this.selectionSets=this.selectionSets.reduce(((i,t)=>(t.workflowType!==y.REFINE&&t.layerView.layer.id===s.layer.id?(t.selectedIds=t.selectedIds.filter((i=>o.removeIds.indexOf(i)<0)),t.selectedIds.length>0?i.push(t):a=!0):i.push(t),i)),[])}this._refineSelectionSet.refineInfos[l]=o,this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}static get watchers(){return{locale:["localeWatchHandler"]}}};x.style=':host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-color-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;line-height:1.3em;background-color:var(--calcite-color-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110, 110, 110, .3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110, 110, 110, .3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{padding-inline-start:0.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}';export{S as map_select_tools,k as pdf_download,x as refine_selection}
|