@esri/solutions-components 0.11.32 → 0.11.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{asyncToGenerator-c7fc3ee4.js → asyncToGenerator-ccb3278b.js} +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +14 -9
- package/dist/cjs/buffer-tools_2.cjs.entry.js +1 -1
- package/dist/cjs/card-manager_3.cjs.entry.js +90 -13
- package/dist/cjs/consent-manager.cjs.entry.js +3 -3
- package/dist/cjs/create-feature_4.cjs.entry.js +7 -7
- package/dist/cjs/create-related-feature_3.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
- package/dist/cjs/delete-dialog.cjs.entry.js +1 -1
- package/dist/cjs/{downloadUtils-c7dac47d.js → downloadUtils-fefa863b.js} +3 -3
- package/dist/cjs/feature-list.cjs.entry.js +4 -4
- package/dist/cjs/{index.es-3c2404c3.js → index.es-0441a948.js} +2 -2
- package/dist/cjs/json-editor_7.cjs.entry.js +1 -1
- package/dist/cjs/map-layer-picker.cjs.entry.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
- package/dist/cjs/{popupUtils-27f6cf2a.js → popupUtils-a68a20db.js} +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +3 -3
- package/dist/cjs/solution-configuration.cjs.entry.js +1 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js +1 -1
- package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/collection/assets/t9n/consent-manager/resources_ar.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_bg.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_bs.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_ca.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_cs.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_da.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_de.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_el.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_es.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_et.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_fi.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_fr.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_he.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_hr.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_hu.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_id.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_it.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_ja.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_ko.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_lt.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_lv.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_nb.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_nl.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_no.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_pl.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_pt-BR.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_pt-PT.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_ro.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_ru.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_sk.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_sl.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_sr.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_sv.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_th.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_tr.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_uk.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_vi.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_zh-CN.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_zh-HK.json +3 -3
- package/dist/collection/assets/t9n/consent-manager/resources_zh-TW.json +3 -3
- 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 +1 -1
- 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/crowdsource-manager/resources_ar.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_bg.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_bs.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ca.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_cs.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_da.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_de.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_el.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_es.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_et.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_fi.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_fr.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_he.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_hr.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_hu.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_id.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_it.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ja.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ko.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_lt.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_lv.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_nb.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_nl.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_no.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_pl.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-BR.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-PT.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ro.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ru.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sk.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sl.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sr.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sv.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_th.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_tr.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_uk.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_vi.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-CN.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-HK.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-TW.json +3 -3
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ar.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_bg.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_bs.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ca.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_cs.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_da.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_de.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_el.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_es.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_et.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_fi.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_fr.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_he.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_hr.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_hu.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_id.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_it.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ja.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ko.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_lt.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_lv.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_nb.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_nl.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_no.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pl.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-BR.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-PT.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ro.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ru.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sk.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sl.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sr.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sv.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_th.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_tr.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_uk.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_vi.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-CN.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-HK.json +2 -2
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-TW.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_ar.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_bg.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_bs.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_ca.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_cs.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_da.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_de.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_el.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_es.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_et.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_fi.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_fr.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_he.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_hr.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_hu.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_id.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_it.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_ja.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_ko.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_lt.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_lv.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_nb.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_nl.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_no.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_pl.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_pt-BR.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_pt-PT.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_ro.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_ru.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_sk.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_sl.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_sr.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_sv.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_th.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_tr.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_uk.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_vi.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_zh-CN.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_zh-HK.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_zh-TW.json +2 -2
- package/dist/collection/assets/t9n/layer-table/resources_ar.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_bg.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_bs.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_ca.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_cs.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_da.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_de.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_el.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_es.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_et.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_fi.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_fr.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_he.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_hr.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_hu.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_id.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_it.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_ja.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_ko.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_lt.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_lv.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_nb.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_nl.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_no.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_pl.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_pt-BR.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_pt-PT.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_ro.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_ru.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_sk.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_sl.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_sr.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_sv.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_th.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_tr.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_uk.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_vi.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_zh-CN.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_zh-HK.json +3 -3
- package/dist/collection/assets/t9n/layer-table/resources_zh-TW.json +3 -3
- package/dist/collection/assets/t9n/map-card/resources_ar.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_bg.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_bs.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ca.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_cs.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_da.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_de.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_el.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_es.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_et.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_fi.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_fr.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_he.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_hr.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_hu.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_id.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_it.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ja.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ko.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_lt.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_lv.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_nb.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_nl.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_no.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_pl.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_pt-BR.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_pt-PT.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ro.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ru.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_sk.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_sl.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_sr.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_sv.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_th.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_tr.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_uk.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_vi.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-CN.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-HK.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-TW.json +1 -1
- 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 +1 -1
- 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/basemap-gallery/basemap-gallery.js +13 -8
- package/dist/collection/components/card-manager/card-manager.js +1 -1
- package/dist/collection/components/edit-card/edit-card.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/layer-table/layer-table.js +86 -9
- package/dist/components/basemap-gallery2.js +13 -8
- package/dist/components/card-manager2.js +1 -1
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/info-card2.js +2 -2
- package/dist/components/layer-table2.js +87 -10
- package/dist/esm/{asyncToGenerator-96b2368d.js → asyncToGenerator-48cd21fe.js} +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +14 -9
- package/dist/esm/buffer-tools_2.entry.js +1 -1
- package/dist/esm/card-manager_3.entry.js +90 -13
- package/dist/esm/consent-manager.entry.js +3 -3
- package/dist/esm/create-feature_4.entry.js +7 -7
- package/dist/esm/create-related-feature_3.entry.js +1 -1
- package/dist/esm/crowdsource-manager.entry.js +1 -1
- package/dist/esm/crowdsource-reporter.entry.js +1 -1
- package/dist/esm/delete-dialog.entry.js +1 -1
- package/dist/esm/{downloadUtils-a9fc6dd2.js → downloadUtils-7ef5420f.js} +3 -3
- package/dist/esm/feature-list.entry.js +4 -4
- package/dist/esm/{index.es-87662946.js → index.es-c379ea10.js} +2 -2
- package/dist/esm/json-editor_7.entry.js +1 -1
- package/dist/esm/map-layer-picker.entry.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +3 -3
- package/dist/esm/{popupUtils-78f2029e.js → popupUtils-ef89df87.js} +2 -2
- package/dist/esm/public-notification.entry.js +3 -3
- package/dist/esm/solution-configuration.entry.js +1 -1
- package/dist/esm/solution-contents_3.entry.js +1 -1
- package/dist/esm/solution-item-accordion.entry.js +1 -1
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ar.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_bg.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_bs.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ca.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_cs.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_da.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_de.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_el.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_es.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_et.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_fi.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_fr.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_he.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_hr.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_hu.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_id.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_it.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ja.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ko.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_lt.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_lv.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_nb.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_nl.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_no.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_pl.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_pt-BR.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_pt-PT.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ro.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ru.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_sk.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_sl.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_sr.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_sv.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_th.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_tr.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_uk.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_vi.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_zh-CN.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_zh-HK.json +3 -3
- package/dist/solutions-components/assets/t9n/consent-manager/resources_zh-TW.json +3 -3
- 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 +1 -1
- 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/crowdsource-manager/resources_ar.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bg.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bs.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ca.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_cs.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_da.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_de.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_el.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_es.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_et.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fi.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fr.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_he.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hr.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hu.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_id.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_it.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ja.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ko.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lt.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lv.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nb.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nl.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_no.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pl.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-BR.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-PT.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ro.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ru.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sk.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sl.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sr.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sv.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_th.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_tr.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_uk.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_vi.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-CN.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-HK.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-TW.json +3 -3
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ar.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bg.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bs.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ca.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_cs.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_da.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_de.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_el.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_es.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_et.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fi.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fr.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_he.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hr.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hu.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_id.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_it.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ja.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ko.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lt.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lv.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nb.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nl.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_no.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pl.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-BR.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-PT.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ro.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ru.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sk.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sl.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sr.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sv.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_th.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_tr.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_uk.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_vi.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-CN.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-HK.json +2 -2
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-TW.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_ar.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_bg.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_bs.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_ca.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_cs.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_da.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_de.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_el.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_es.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_et.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_fi.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_fr.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_he.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_hr.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_hu.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_id.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_it.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_ja.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_ko.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_lt.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_lv.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_nb.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_nl.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_no.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_pl.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_pt-BR.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_pt-PT.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_ro.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_ru.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_sk.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_sl.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_sr.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_sv.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_th.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_tr.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_uk.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_vi.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-CN.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-HK.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-TW.json +2 -2
- package/dist/solutions-components/assets/t9n/layer-table/resources_ar.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_bg.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_bs.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_ca.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_cs.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_da.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_de.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_el.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_es.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_et.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_fi.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_fr.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_he.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_hr.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_hu.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_id.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_it.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_ja.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_ko.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_lt.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_lv.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_nb.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_nl.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_no.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_pl.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-BR.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-PT.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_ro.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_ru.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_sk.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_sl.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_sr.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_sv.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_th.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_tr.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_uk.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_vi.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-CN.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-HK.json +3 -3
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-TW.json +3 -3
- package/dist/solutions-components/assets/t9n/map-card/resources_ar.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_bg.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_bs.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ca.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_cs.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_da.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_de.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_el.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_es.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_et.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_fi.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_fr.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_he.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_hr.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_hu.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_id.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_it.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ja.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ko.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_lt.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_lv.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_nb.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_nl.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_no.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pl.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pt-BR.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pt-PT.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ro.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ru.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sk.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sl.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sr.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sv.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_th.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_tr.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_uk.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_vi.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-CN.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-HK.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-TW.json +1 -1
- 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 +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pl.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-BR.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-PT.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ro.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ru.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sk.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sl.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sr.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sv.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_th.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_tr.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_uk.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_vi.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-CN.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-HK.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-TW.json +1 -1
- package/dist/solutions-components/p-035a1d38.entry.js +6 -0
- package/dist/solutions-components/{p-c83b1a4a.entry.js → p-11ad8edc.entry.js} +1 -1
- package/dist/solutions-components/{p-f6d19f6d.entry.js → p-1325fa9e.entry.js} +1 -1
- package/dist/solutions-components/{p-60b1fe27.entry.js → p-2be59c38.entry.js} +1 -1
- package/dist/solutions-components/{p-455c19fa.js → p-4379cc5f.js} +2 -2
- package/dist/solutions-components/{p-0a60707c.entry.js → p-5096280f.entry.js} +1 -1
- package/dist/solutions-components/p-51033697.entry.js +6 -0
- package/dist/solutions-components/p-51e04c86.js +21 -0
- package/dist/solutions-components/{p-30b5dcaf.entry.js → p-605597cf.entry.js} +1 -1
- package/dist/solutions-components/{p-d65f8b73.js → p-62a0aa8e.js} +1 -1
- package/dist/solutions-components/{p-a38eee28.entry.js → p-681a41f3.entry.js} +1 -1
- package/dist/solutions-components/{p-dc188d13.js → p-6d1ee086.js} +1 -1
- package/dist/solutions-components/{p-50b4945e.entry.js → p-7eec82e3.entry.js} +1 -1
- package/dist/solutions-components/{p-5b481f0d.entry.js → p-8b05b49c.entry.js} +1 -1
- package/dist/solutions-components/{p-6dc629dc.entry.js → p-93ebcb9b.entry.js} +1 -1
- package/dist/solutions-components/{p-b04179db.entry.js → p-b1f11c67.entry.js} +1 -1
- package/dist/solutions-components/{p-1aad0b63.entry.js → p-b3b5dca4.entry.js} +1 -1
- package/dist/solutions-components/{p-b8e4345e.entry.js → p-c45ba7dd.entry.js} +1 -1
- package/dist/solutions-components/{p-4a2870b0.entry.js → p-de3ba7be.entry.js} +1 -1
- package/dist/solutions-components/{p-7f36cfb0.entry.js → p-debeb4dc.entry.js} +1 -1
- package/dist/solutions-components/{p-f8854c5e.entry.js → p-e68f5f54.entry.js} +1 -1
- package/dist/solutions-components/{p-f3ba92d5.entry.js → p-f2cfed3a.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components_commit.txt +7 -7
- package/dist/types/components/layer-table/layer-table.d.ts +34 -0
- package/package.json +1 -1
- package/dist/solutions-components/p-0def29e6.entry.js +0 -6
- package/dist/solutions-components/p-31159fc6.js +0 -21
- package/dist/solutions-components/p-76126e43.entry.js +0 -6
- /package/dist/cjs/{locale-809dbc6e.js → locale-81070bd9.js} +0 -0
- /package/dist/cjs/{typeof-2a7e2dec.js → typeof-920a4426.js} +0 -0
- /package/dist/esm/{locale-fa8258bf.js → locale-4be8e04f.js} +0 -0
- /package/dist/esm/{typeof-ef2a007d.js → typeof-2511410e.js} +0 -0
- /package/dist/solutions-components/{p-57be3b9d.js → p-8a74a780.js} +0 -0
- /package/dist/solutions-components/{p-4fe489cf.js → p-af7e43e0.js} +0 -0
@@ -1,10 +1,10 @@
|
|
1
|
-
Built
|
1
|
+
Built 02/14/2025 13:42:59.58
|
2
2
|
develop
|
3
|
-
commit
|
4
|
-
Merge:
|
5
|
-
Author:
|
6
|
-
Date:
|
3
|
+
commit 76ddfced60248c2ec4163be44e6e9b03906509b8
|
4
|
+
Merge: 897ad7ef5 ed3fb2dcb
|
5
|
+
Author: Mike Tschudi <mtschudi@esri.com>
|
6
|
+
Date: Fri Feb 14 13:37:31 2025 -0800
|
7
7
|
|
8
|
-
Merge pull request #
|
8
|
+
Merge pull request #1196 from Esri/strings-update
|
9
9
|
|
10
|
-
|
10
|
+
update strings
|
@@ -333,6 +333,18 @@ export declare class LayerTable {
|
|
333
333
|
* boolean: When true we will not evaluate if the editor has any pending edits
|
334
334
|
*/
|
335
335
|
protected _skipEditCheck: boolean;
|
336
|
+
/**
|
337
|
+
* __esri.Handle: highlight handle for the current feature
|
338
|
+
*/
|
339
|
+
protected _currentFeatureHighlightHandle: __esri.Handle;
|
340
|
+
/**
|
341
|
+
* __esri.Handle: highlight handle for the default features
|
342
|
+
*/
|
343
|
+
protected _defaultFeaturesHandle: __esri.Handle;
|
344
|
+
/**
|
345
|
+
* __esri.Handle: highlight handle for temporary / hovered feature
|
346
|
+
*/
|
347
|
+
protected _temporaryFeatureHandle: __esri.Handle;
|
336
348
|
/**
|
337
349
|
* __esri.Handle: handle for the filter by extent
|
338
350
|
*/
|
@@ -349,6 +361,10 @@ export declare class LayerTable {
|
|
349
361
|
* boolean: When true allow table to update the records
|
350
362
|
*/
|
351
363
|
protected _shouldUpdateTableOnExtentChange: boolean;
|
364
|
+
/**
|
365
|
+
* any: layer view of the selected layer
|
366
|
+
*/
|
367
|
+
protected _selectedLayerView: any;
|
352
368
|
/**
|
353
369
|
* Update the url params when the appLayout changes
|
354
370
|
*/
|
@@ -754,6 +770,24 @@ export declare class LayerTable {
|
|
754
770
|
* Handle any updates after a selection change has occured and emit the results
|
755
771
|
*/
|
756
772
|
protected _finishOnChange(): void;
|
773
|
+
/**
|
774
|
+
* Highlight feature when hovered over table row
|
775
|
+
* @param e The Feature table pointer over event
|
776
|
+
*/
|
777
|
+
protected tempHighlightOnHover(e: __esri.FeatureTableCellPointeroverEvent): void;
|
778
|
+
/**
|
779
|
+
* Clears the temporary highlight
|
780
|
+
*/
|
781
|
+
protected _removeTempHighlight(): void;
|
782
|
+
/**
|
783
|
+
* Highlights the current and secondary features on map
|
784
|
+
* @param currentFeatureId selected current feature id
|
785
|
+
*/
|
786
|
+
protected _highlightFeatures(currentFeatureId: number): void;
|
787
|
+
/**
|
788
|
+
* Clears the highlights
|
789
|
+
*/
|
790
|
+
protected _clearHighlights(): void;
|
757
791
|
/**
|
758
792
|
* Reset the tables column templates when we get new column config
|
759
793
|
*/
|
package/package.json
CHANGED
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,g as s,h as e,H as a}from"./p-934e8935.js";import{g as h,l as o}from"./p-57be3b9d.js";import{g as l,q as n,e as c,f as d,c as r}from"./p-5693ce7a.js";import{d as p}from"./p-455c19fa.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-4fe489cf.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.enableSnapping=!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:"803f5130e6f4fa0bf97cfdd2776e176786e736cc"},e("div",{key:"7c0a756f5de5f536b52d2e9f6629593eb3c85781",class:"overflow-auto height-full"},e("calcite-shell",{key:"9a6366bba429d5c29a5f1c556d6812f44d28ee2c",class:"position-relative "+t},e("div",{key:"61cb9f7942eb209e5e0bd751ab4b5ca026086882",class:"position-static z-index-500"},e("info-card",{key:"0c3b6f958384dab4bc1db2917a88215bafe330b1",enableEditGeometry:this.enableEditGeometry,enableSnapping:this.enableSnapping,graphics:this._graphics,isLoading:this._cardLoading,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,showCloseBtn:!0}))),e("calcite-shell",{key:"db9233d29cc88ddc6cb023bcf9e9190ecb721214",class:"position-relative "+s},e("calcite-panel",{key:"0d1c22a3ad3d2d2a56054b2e8609697987b45ca7"},e("div",{key:"cc5f7faa934f474ddca2d0ab74fd46dac240cc6f",class:"padding-1"},e("calcite-notice",{key:"2c2771696892455fcb1ec24d895cd321a84a8f49",icon:this.selectingFeatureFromMap?"map":"table",iconFlipRtl:!0,open:!0},e("div",{key:"0bbbd13e4e9a7b2240a85b41dbd00fc2a7e39c75",slot:"message"},l))),!this.isMobile&&n&&e("calcite-button",{key:"67bac627f68fc6bcda2b1a8965ab6d7fb12d2e4c",disabled:!this.layer,onClick:()=>this._createFeatureBtnClicked(),slot:"footer",width:"full"},h?this._translations.createRecord:this._translations.createFeature))),e("calcite-shell",{key:"cd44af48bb05fd6ac41c0d66bdd9e01826ece1a4",class:"position-relative "+i},e("calcite-flow-item",{key:"648dfdc4fb559ecbf64ee43791e3d9799c346f1a",selected:!0},e("calcite-panel",{key:"855df56ed576e52c94dbe3cfa8f6d57427a37ba2",heading:o},e("calcite-action",{key:"156d1b20da3f02de66879531802aa2d2fb99b1ca",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:"9b4556876d579a4f2bd02849737cd55b55f87cbd",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,enableSnapping:this.enableSnapping&&this.enableCreateFeatures,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}))}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 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:"407c23b3b63455e5bab7e6c5fd239faae66a313a"},e("div",{key:"9630101da8fef334861a236101d37f4a2b990dbc"},e("calcite-scrim",{key:"8e7844a1ba4df87ab8d6fbe4ac9265688f5354dd",class:s,loading:this._queryingData}),e("calcite-shell",{key:"d0a5eaa5bdbaf0338125bbdc47c6f1801662b37a"},this._getTableControlRow("header"),e("div",{key:"6747f6638aa3d1f7380c61451cb522d159e7ddb2",class:`width-full ${l}`},e("calcite-panel",{key:"dc5b04234e48d6c466fc514a58eee4ef6c4886ba",class:"height-full width-full"},n&&e("div",{key:"8aebcf99b0a159e3e7ce8c737f0558f9f147ee9b",class:"search-container border-bottom"},e("calcite-input",{key:"7e4c1343755a966c4460506d6b1c205a81261155",class:"search",clearable:!0,icon:"search",onCalciteInputChange:t=>{this._searchTextChanged(t)},placeholder:this._searchPlaceHolder,title:this._searchPlaceHolder,type:"search"})),e("calcite-loader",{key:"2eaa2b221d9e401a0ac1c6b379718b29eb76ea9e",class:i,label:this._translations.fetchingData,scale:"l"}),e("div",{key:"fa05975786b02a18c9c9866f3390c2f549d67961",class:t,ref:this.onTableNodeCreate}))),this.isMobile?void 0:e("div",{class:"bottom-left text-color height-19",id:"solutions-selected-count-div"},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)}}),100))}_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,flipRtl:!0,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(){const t=await this.queryAllIds(),i=this.selectedIds.filter((t=>this._allIds.indexOf(t)>-1));JSON.stringify(t)===JSON.stringify(this._allIds)&&JSON.stringify(this.selectedIds)===JSON.stringify(i)||(this._allIds=t,this.selectedIds=i,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&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),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&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),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)=>{if(!i.hidden){const s=i?.name||i?.fieldName;s&&t.push(s.toLocaleLowerCase())}return t}),[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,await p(this.mapView.map,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._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),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={icon:"information",iconText:i.description,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"],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;left:unset}html[dir="rtl"] .share-action{left:0;right:unset}.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:"0dbff0683a2ba0aa956344c84719990b8316bdee"},e("div",{key:"af68bee85faa0da7189d4d8d831eb858600038d8",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:"5c4d2dacfe7eb4b13d115731981b8e50870a271d",class:o,value:0}),e("div",{key:"357d395aa75ee86fa5060bfc0d48b62a7aad31fc",class:`${h} ${i}`,ref:t=>this._mapDiv=t}),e("map-tools",{key:"ec965773008f144944a04253ca5cea818d38cc69",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,flipRtl:!0,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}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{_ as t}from"./p-455c19fa.js";import{l as s}from"./p-57be3b9d.js";
|
7
|
-
/** @license
|
8
|
-
* Copyright 2022 Esri
|
9
|
-
*
|
10
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
* you may not use this file except in compliance with the License.
|
12
|
-
* You may obtain a copy of the License at
|
13
|
-
*
|
14
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
*
|
16
|
-
* Unless required by applicable law or agreed to in writing, software
|
17
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
* See the License for the specific language governing permissions and
|
20
|
-
* limitations under the License.
|
21
|
-
*/class e{arcade;intl;async getPopupTitle(s,e){this.arcade||await this._initModules();let i={};for(const[t,e]of Object.entries(s.attributes))i={...i,[`{${t.toUpperCase()}}`]:e};const a=s.layer,o=this._removeTags(a?.popupTemplate?.title);if(o.includes("{expression/expr")&&null!=a?.popupTemplate?.expressionInfos)for(let t=0;t<a.popupTemplate?.expressionInfos.length;t++){const o=a.popupTemplate.expressionInfos[t],n=this.arcade.createArcadeProfile("popup");try{const t=await this.arcade.createArcadeExecutor(o.expression,n),r=await t.executeAsync({$feature:s,$layer:a,$map:e});null==r&&""===r||(i[`{expression/${o.name}}`.toUpperCase()]=r)}catch(t){console.error(t);continue}}return a.popupTemplate?.fieldInfos&&a.fields.forEach((e=>{const o=s.attributes[e.name],n=a.popupTemplate.fieldInfos.find((t=>t.fieldName.toLowerCase()===e.name.toLowerCase())),r=t(o,e.type,e.domain,n?.format,this.intl);i[`{${e.name.toUpperCase()}}`]=r??o})),o?.replace(/{.*?}/g,(t=>null!=i[t.toUpperCase()]?i[t.toUpperCase()]:""))}_removeTags(t){return null==t||""===t?"":t.toString().replace(/(<([^>]+)>)/gi,"")}async _initModules(){const[t,e]=await s(["esri/arcade","esri/intl"]);this.arcade=t,this.intl=e}}export{e as P}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,g as i,h as s,H as e,c as a}from"./p-934e8935.js";import{l as h,g as n}from"./p-57be3b9d.js";import"./p-d4056c1c.js";const o=class{constructor(i){t(this,i),this.mapView=void 0,this.basemapConfig=void 0,this.basemapWidget=void 0}get el(){return i(this)}BasemapGallery;PortalBasemapsSource;_basemapElement;async basemapConfigWatchHandler(){if(this.basemapWidget?.source){const t=this.basemapWidget?.source;t.query=this.basemapConfig?.basemapGroupId?`id:${this.basemapConfig.basemapGroupId}`:null,await t.refresh()}}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initBaseMapGallery(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"cc7e423a47742c0f5c3a5023b77157af09e56433"},s("div",{key:"9b41466e49c93e533f1d2a621707c5189c5092b3",ref:t=>{this._basemapElement=t}}))}async componentDidLoad(){this.mapView&&await this.mapViewWatchHandler()}async _initModules(){const[t,i]=await h(["esri/widgets/BasemapGallery","esri/widgets/BasemapGallery/support/PortalBasemapsSource"]);this.BasemapGallery=t,this.PortalBasemapsSource=i}async _initBaseMapGallery(t){if(this.BasemapGallery){this.basemapWidget&&this.basemapWidget.destroy();const i=new this.PortalBasemapsSource({query:this.basemapConfig?.basemapGroupId?`id:${this.basemapConfig.basemapGroupId}`:null,filterFunction:this.basemapConfig?t=>!this.basemapConfig.basemapIdsToFilter.includes(t.portalItem.id):()=>!0});await i.refresh(),this.basemapWidget=new this.BasemapGallery({container:this._basemapElement,view:t,source:i})}}static get watchers(){return{basemapConfig:["basemapConfigWatchHandler"],mapView:["mapViewWatchHandler"]}}};o.style=":host{display:block}";const r=class{constructor(i){t(this,i),this.facilityChanged=a(this,"facilityChanged",7),this.levelChanged=a(this,"levelChanged",7),this.siteChanged=a(this,"siteChanged",7),this.enabled=void 0,this.floorFilterWidget=void 0,this.mapView=void 0}get el(){return i(this)}FloorFilter;_floorFilterElement;reactiveUtils;_facilityHandle;_levelHandle;_siteHandle;async mapViewWatchHandler(){await this._initFloorFilter(this.mapView)}async enabledWatchHandler(){this.enabled?await this._initFloorFilter(this.mapView):this.enabled||this._destroyWidget()}facilityChanged;levelChanged;siteChanged;async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"dd7fa68ddc1e417cb8924549e50e81742f9e891a"},s("div",{key:"294837a32ed7e8f955bce7dc2403895c7dd9984f",ref:t=>{this._floorFilterElement=t}}))}async componentDidLoad(){this.mapView&&!this.floorFilterWidget&&await this._initFloorFilter(this.mapView)}async _initModules(){const[t,i]=await h(["esri/widgets/FloorFilter","esri/core/reactiveUtils"]);this.FloorFilter=t,this.reactiveUtils=i}_destroyWidget(){this.floorFilterWidget&&(this.floorFilterWidget.destroy(),this.floorFilterWidget=void 0),this._floorFilterElement&&this._floorFilterElement.remove()}_initContainer(){this._destroyWidget(),this._floorFilterElement=document.createElement("div")}async _initFloorFilter(t){const i=t?.map;await i.when((()=>{t&&this.enabled&&this.FloorFilter&&i?.floorInfo&&(this._initContainer(),this.floorFilterWidget=new this.FloorFilter({container:this._floorFilterElement,view:t}),this._facilityHandle?.remove(),this._facilityHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.facility),(t=>{this.facilityChanged.emit(t)})),this._levelHandle?.remove(),this._levelHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.level),(t=>{this.levelChanged.emit(t)})),this._siteHandle?.remove(),this._siteHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.site),(t=>{this.siteChanged.emit(t)})))}))}static get watchers(){return{mapView:["mapViewWatchHandler"],enabled:["enabledWatchHandler"]}}};r.style=":host{display:block}";const c=class{constructor(i){t(this,i),this.fullscreenStateChange=a(this,"fullscreenStateChange",7),this.mapView=void 0,this.fullscreenWidget=void 0}Fullscreen;_fullscreenElement;_fullscreenStateChangeHandle;reactiveUtils;async mapViewWatchHandler(){await this.mapView.when((async()=>{await this._initFullscreenWidget()}))}fullscreenStateChange;async componentWillLoad(){await this._initModules()}render(){return s(e,{key:"7eec3dc5ab76a4ad8fdd24d8d18f8e6cf2820dde"},s("div",{key:"2093cc2a6a3678209e61eea63ebde2f69ec00011",class:"fullscreen-widget",ref:t=>{this._fullscreenElement=t}}))}async componentDidUpdate(){await this._initFullscreenWidget()}async componentDidLoad(){await this._initFullscreenWidget()}async _initModules(){const[t,i]=await h(["esri/widgets/Fullscreen","esri/core/reactiveUtils"]);this.Fullscreen=t,this.reactiveUtils=i}async _initFullscreenWidget(){this.mapView&&this._fullscreenElement&&!this.fullscreenWidget?(this.fullscreenWidget=new this.Fullscreen({view:this.mapView}),await this.fullscreenWidget.when((()=>{this._fullscreenStateChangeHandle&&this._fullscreenStateChangeHandle.remove(),this._fullscreenStateChangeHandle=this.reactiveUtils.watch((()=>this.fullscreenWidget.viewModel.state),(t=>this.fullscreenStateChange.emit(t)))}))):this.fullscreenWidget&&(this.fullscreenWidget.view=this.mapView)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};c.style=":host{display:block}";const l=class{constructor(i){t(this,i),this.mapView=void 0,this.legendWidget=void 0}get el(){return i(this)}Legend;_legendElement;async mapViewWatchHandler(){await this.mapView.when((()=>{this._initLegend(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"768d9d69042516c6d4edc55fcb0af23f90d33e6e"},s("div",{key:"e1147cf58240e7a6fcb9a00fce3649a380755e3d",ref:t=>{this._legendElement=t}}))}async componentDidLoad(){this.mapView&&await this.mapViewWatchHandler()}async _initModules(){const[t]=await h(["esri/widgets/Legend"]);this.Legend=t}_initLegend(t){t&&this.Legend&&(this.legendWidget?this.legendWidget.view=t:this.legendWidget=new this.Legend({container:this._legendElement,respectLayerDefinitionExpression:!0,view:t}))}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};l.style=":host{display:block}";const d=class{constructor(i){t(this,i),this.beforeMapInfoChange=a(this,"beforeMapInfoChange",7),this.mapInfoChange=a(this,"mapInfoChange",7),this.locale=void 0,this.mapInfos=[],this.isMapLayout=void 0,this._mapListExpanded=!1,this._translations=void 0,this._webMapInfo=void 0}get el(){return i(this)}_list;_loadedId="";_skipEditCheck=!1;_webMapInfoWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&(this._loadedId=t?.id,this.mapInfoChange.emit(t))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapInfosWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._webMapSelected(t[0])}async setMapByID(t,i=!1){this._skipEditCheck=i;const s=this.mapInfos?.filter((i=>i.id===t));t&&s?.length>0&&this._webMapSelected(s[0]),this._skipEditCheck=!1}async close(){this._mapListExpanded&&(this._mapListExpanded=!1)}async toggle(t){this._mapListExpanded=t}beforeMapInfoChange;mapInfoChange;async componentWillLoad(){await this._getTranslations()}render(){return s(e,{key:"6b4b2bc101fa29a1eaadfdcc772131b7c40cedec"},this._getToolbar(),this._getMapNameList(this._mapListExpanded))}async componentDidLoad(){const t=this.mapInfos&&this.mapInfos.length>0?this.mapInfos[0]:void 0;t&&this._webMapSelected(t)}_getMapPicker(){const t="map-picker-expand-toggle";return s("div",{class:"width-full"},s("calcite-button",{alignment:"icon-end-space-between",appearance:"transparent",class:"width-full height-full",iconEnd:this._mapListExpanded?"chevron-up":"chevron-down",iconStart:"map",id:t,kind:"neutral",onClick:()=>this._chooseMap(),width:"full"},this._webMapInfo?.name),s("calcite-tooltip",{placement:"bottom","reference-element":t},s("span",null,this._translations.switchMap)))}_getToolbar(){return s("div",{class:"display-flex border-right"},s("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:"header"},this._getMapPicker()))}_getMapNameList(t){return s("div",{class:t?"map-list border-bottom-1 adjusted-height "+(this.isMapLayout?"width-26":"width-full"):"display-none"},s("calcite-list",{id:"mapList",label:"",ref:t=>this._list=t,selectionAppearance:"border",selectionMode:"single"},this.mapInfos.map((t=>s("calcite-list-item",{label:t.name,onClick:()=>this._webMapSelected(t),selected:t.id===this._loadedId,value:t.id})))))}_webMapSelected(t){const i=this._loadedId;this._loadedId=t.id,this._skipEditCheck?this._webMapInfo=t:this.beforeMapInfoChange.emit({currentId:i,mapInfo:t,ref:this.el}).defaultPrevented||(this._webMapInfo=t),this._mapListExpanded=!1}_chooseMap(){this._mapListExpanded=!this._mapListExpanded}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{_webMapInfo:["_webMapInfoWatchHandler"],locale:["localeWatchHandler"],mapInfos:["mapInfosWatchHandler"]}}};d.style=":host{display:block;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100%}.width-26{width:26% !important}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.border-right{border-right:1px solid var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.align-center{align-items:center}.adjusted-height{max-height:calc(100% - 52px);overflow-y:auto}";const p=class{constructor(i){t(this,i),this.mapView=void 0,this.popupEnabled=!1,this.resultGraphicEnabled=!1,this.searchConfiguration=void 0,this.searchTerm=void 0,this.searchWidget=void 0}FeatureLayer;Search;_searchElement;_searchResult;async watchSearchConfigurationHandler(){this._initSearchWidget()}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initSearchWidget()}))}async componentWillLoad(){await this._initModules()}async componentDidLoad(){return this._initSearchWidget()}render(){return s(e,{key:"36e0fb49fdedbe9e8789fba37f86a2f2d57b4e45"},s("div",{key:"796ee258723e9277dc98323ba76def22bd7dca3a",class:"search-widget",ref:t=>{this._searchElement=t}}))}async _initModules(){const[t,i]=await h(["esri/widgets/Search","esri/layers/FeatureLayer"]);this.Search=t,this.FeatureLayer=i}_initSearchWidget(){if(this.mapView&&this._searchElement&&!this.searchWidget){let t={view:this.mapView,container:this._searchElement,searchTerm:this.searchTerm};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this.mapView)}),this.searchWidget=new this.Search(t),this.searchWidget.popupEnabled=this.popupEnabled,this.searchWidget.resultGraphicEnabled=this.resultGraphicEnabled}else this.searchWidget&&(this.searchWidget.view=this.mapView)}_getSearchConfig(t,i){const s=t.sources;return s?.length>0?(t.includeDefaultSources=!1,s.forEach((t=>{if(t.hasOwnProperty("layer")){const s=t,e=s.layer?.id,a=e?i.map.findLayerById(e):null,h=s?.layer?.url;a?s.layer=a:h&&(s.layer=new this.FeatureLayer(h))}})),s?.forEach((t=>{if(t.hasOwnProperty("locator")){const i=t;"ArcGIS World Geocoding Service"===i?.name&&(i.outFields=i.outFields||["Addr_type","Match_addr","StAddr","City"],i.singleLineFieldName="SingleLine"),i.url=i.url,delete i.url}}))):t={...t,includeDefaultSources:!0},t}static get watchers(){return{searchConfiguration:["watchSearchConfigurationHandler"],mapView:["mapViewWatchHandler"]}}};p.style=":host{display:block}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}";const m=class{constructor(i){t(this,i),this.basemapConfig=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableSearch=void 0,this.enableBasemap=void 0,this.enableHome=void 0,this.enableSingleExpand=void 0,this.homeZoomToolsSize="m",this.layout="vertical",this.locale=void 0,this.mapView=void 0,this.mapWidgetsSize="m",this.position="top-right",this.searchConfiguration=void 0,this.stackTools=!0,this.toolOrder=void 0,this._hasFloorInfo=!1,this._translations=void 0,this._showTools=!0,this._showBasemapWidget=!1,this._showFloorFilter=!1,this._showFullscreen=!1,this._showLegendWidget=!1,this._showSearchWidget=!1}get el(){return i(this)}Expand;_basemapElement;_floorFilterElement;_fullscreenElement;_legendElement;_searchElement;_widgets=[];async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((()=>{this._hasFloorInfo=this.mapView?.map?.floorInfo}))}async _showBasemapWidgetWatchHandler(t){t?this.mapView.ui.add(this._basemapElement.basemapWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._basemapElement.basemapWidget)}async _showFloorFilterWatchHandler(t){const i=this._floorFilterElement.floorFilterWidget;t?this.mapView.ui.add(i,{position:this.position,index:1}):this.mapView.ui.remove(i)}async _showFullscreenWatchHandler(t){const i=this._fullscreenElement.fullscreenWidget;t?"ready"===i.viewModel.state&&i.viewModel.enter():"active"===i.viewModel.state&&i.viewModel.exit()}async _showLegendWidgetWatchHandler(t){t?this.mapView.ui.add(this._legendElement.legendWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._legendElement.legendWidget)}async _showSearchWidgetWatchHandler(t){t?this.mapView.ui.add(this._searchElement.searchWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._searchElement.searchWidget)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){this._setZoomToolsSize();const t=this._showTools?"":"display-none",i=this._showSearchWidget?"":"display-none",a=this._showBasemapWidget?"":"display-none",h=this._showLegendWidget?"":"display-none",n=this._showFloorFilter?"":"display-none",o=this._showFullscreen?"":"display-none",r=this.enableSingleExpand?"margin-top-1-2":"",c=this.toolOrder?this.toolOrder:["legend","search","fullscreen","floorfilter"],l=this.stackTools?"box-shadow":"";return s(e,{key:"6a707a10b3cbe094548a863b13d0852969c46f94"},s("div",{key:"c1e349ba8577a87f967b31a7a042be30cb933d34",class:this.enableBasemap||this.enableFullscreen||this.enableLegend||this.enableSearch?"":"display-none"},this.enableSingleExpand?s("div",{class:"box-shadow"},this._getActionGroup(this._showTools?"chevrons-up":"chevrons-down",!1,this._showTools?this._translations.collapse:this._translations.expand,(()=>this._toggleTools()))):void 0,s("div",{key:"7120793f9d707fb0d1914f5aeffb3293532ab891",class:`${r} ${l} ${t}`},this._getMapWidgets(c))),s("basemap-gallery",{key:"11e280302f6b1f5287aa83c7eb33542f3a9d87ab",basemapConfig:this.basemapConfig,class:a,mapView:this.mapView,ref:t=>{this._basemapElement=t}}),s("map-search",{key:"c3afd22dc8d652877f48a6def87e486546993d61",class:i,mapView:this.mapView,ref:t=>{this._searchElement=t},resultGraphicEnabled:!0,searchConfiguration:this.searchConfiguration}),s("map-legend",{key:"b8fad3cdbc3b96b4f3441316651ad78b4ed3de65",class:h,mapView:this.mapView,ref:t=>{this._legendElement=t}}),s("map-fullscreen",{key:"e34111225f1ec80fedfd548196e407786d28200b",class:o,mapView:this.mapView,onFullscreenStateChange:t=>this._fullscreenStateChange(t.detail),ref:t=>{this._fullscreenElement=t}}),s("floor-filter",{key:"2db5c7e6182d77786b162692169263495b2752f5",class:n,enabled:this.enableFloorFilter,mapView:this.mapView,ref:t=>{this._floorFilterElement=t}}))}async _initModules(){const[t]=await h(["esri/widgets/Expand"]);this.Expand=t}_setZoomToolsSize(){const t=document.getElementsByClassName("esri-zoom")[0]?.children[0],i=document.getElementsByClassName("esri-zoom")[0]?.children[1];if(t&&i){const s="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";t.style.width=s,t.style.height=s,i.style.width=s,i.style.height=s}}_getMapWidgets(t){const i=this._showFullscreen?"full-screen-exit":"full-screen",s=this._showFullscreen?this._translations.exitFullscreen:this._translations.enterFullscreen;return t.map((t=>{switch(t){case"legend":return this.enableLegend&&this.enableSingleExpand?this._getActionGroup("legend",!1,this._translations.legend,(()=>this._showLegend())):this.enableLegend?this._getWidget(t,this._legendElement?.legendWidget,!0):void 0;case"search":return this.enableSearch&&this.enableSingleExpand?this._getActionGroup("magnifying-glass",!1,this._translations.search,(()=>this._search())):this.enableSearch?this._getWidget(t,this._searchElement?.searchWidget,!0):void 0;case"fullscreen":return this.enableFullscreen&&this.enableSingleExpand?this._getActionGroup(i,!1,s,(()=>this._expand())):this.enableFullscreen?this._getWidget(t,this._fullscreenElement?.fullscreenWidget,!1):void 0;case"basemap":return this.enableBasemap&&this.enableSingleExpand?this._getActionGroup("basemap",!1,this._translations.basemap,(()=>this._toggleBasemapPicker())):this.enableBasemap?this._getWidget(t,this._basemapElement?.basemapWidget,!0):void 0;case"floorfilter":return this.enableFloorFilter&&this._hasFloorInfo&&this.enableSingleExpand?this._getActionGroup("urban-model",!1,this._translations.floorFilter,(()=>this._toggleFloorFilter())):this.enableFloorFilter&&this._hasFloorInfo?this._getWidget(t,this._floorFilterElement?.floorFilterWidget,!0):void 0}}))}_fullscreenStateChange(t){"ready"===t&&this._showFullscreen?this._showFullscreen=!1:"active"!==t||this._showFullscreen||(this._showFullscreen=!0)}_getActionGroup(t,i,e,a){return s("div",null,s("calcite-action",{alignment:"center",class:`${"s"===this.mapWidgetsSize?"square-32":"m"===this.mapWidgetsSize?"square-40":"square-48"} ${this.stackTools?"":"margin-bottom-1-2"} border-bottom ${this.stackTools?"":"box-shadow"}`,disabled:i,icon:t,id:t,onClick:a,scale:"s",text:""},s("calcite-icon",{icon:"cheveron-up",scale:"s",slot:"icon"})),s("calcite-tooltip",{label:"",placement:"trailing","reference-element":t},s("span",null,e)))}_getWidget(t,i,s){if(this._widgets.indexOf(t)<0&&this.mapView&&i){const e=this.toolOrder.indexOf(t),a=new this.Expand({view:this.mapView,content:i});this.mapView.ui.add(s?a:i,{position:this.position,index:e>-1?e+(this.enableHome?2:1):1}),this._widgets.push(t)}}_showLegend(){this._showLegendWidget=!this._showLegendWidget,this._showTools=!1}_search(){this._showSearchWidget=!this._showSearchWidget,this._showTools=!1}_toggleBasemapPicker(){this._showBasemapWidget=!this._showBasemapWidget,this._showTools=!1}_toggleFloorFilter(){this._showFloorFilter=!this._showFloorFilter,this._showTools=!1}_expand(){this._showFullscreen=!this._showFullscreen}_toggleTools(){this._showTools||(this._showBasemapWidget=!1,this._showSearchWidget=!1,this._showLegendWidget=!1,this._showFloorFilter=!1),this._showTools=!this._showTools}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_showBasemapWidget:["_showBasemapWidgetWatchHandler"],_showFloorFilter:["_showFloorFilterWatchHandler"],_showFullscreen:["_showFullscreenWatchHandler"],_showLegendWidget:["_showLegendWidgetWatchHandler"],_showSearchWidget:["_showSearchWidgetWatchHandler"]}}};m.style=":host{display:block}.display-none{display:none}.margin-top-1-2{margin-top:0.5rem}.square-32{width:32px;height:32px}.square-40{width:40px;height:40px}.square-48{width:48px;height:48px}.width-40{width:40px}.square-40-41{width:40px;height:41px}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.box-shadow{box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.margin-bottom-1-2{margin-bottom:0.5rem}";export{o as basemap_gallery,r as floor_filter,c as map_fullscreen,l as map_legend,d as map_picker,p as map_search,m as map_tools}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|