@esri/solutions-components 0.10.25 → 0.10.26
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +9 -9
- package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-alert_5.cjs.entry.js +20 -21
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +15 -3
- package/dist/cjs/calcite-flow_4.cjs.entry.js +6 -6
- package/dist/cjs/calcite-modal_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +7 -7
- package/dist/cjs/card-manager_3.cjs.entry.js +473 -53
- package/dist/cjs/crowdsource-manager.cjs.entry.js +55 -21
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +3 -3
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +1 -1
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +1 -1
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
- package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
- package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -1
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/collection/assets/t9n/card-manager/resources.json +1 -0
- package/dist/collection/assets/t9n/card-manager/resources_en.json +2 -1
- package/dist/collection/assets/t9n/create-feature/resources_ar.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_bg.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_bs.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_ca.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_cs.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_da.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_de.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_el.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_es.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_et.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_fi.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_fr.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_he.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_hr.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_hu.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_id.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_it.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_ja.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_ko.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_lt.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_lv.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_nb.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_nl.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_pl.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_pt-BR.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_pt-PT.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_ro.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_ru.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_sk.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_sl.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_sr.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_sv.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_th.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_tr.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_uk.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_vi.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_zh-CN.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_zh-HK.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_zh-TW.json +5 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_ar.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_bg.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_bs.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_ca.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_cs.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_da.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_de.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_el.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_es.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_et.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_fi.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_fr.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_he.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_hr.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_hu.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_id.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_it.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_ja.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_ko.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_lt.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_lv.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_nb.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_nl.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_pl.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_pt-BR.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_pt-PT.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_ro.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_ru.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_sk.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_sl.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_sr.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_sv.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_th.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_tr.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_uk.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_vi.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_zh-CN.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_zh-HK.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_zh-TW.json +3 -0
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ar.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_bg.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_bs.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ca.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_cs.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_da.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_de.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_el.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_es.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_et.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_fi.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_fr.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_he.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_hr.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_hu.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_id.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_it.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ja.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ko.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_lt.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_lv.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_nb.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_nl.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pl.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-BR.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-PT.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ro.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ru.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sk.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sl.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sr.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sv.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_th.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_tr.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_uk.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_vi.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-CN.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-HK.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-TW.json +0 -1
- package/dist/collection/assets/t9n/delete-button/resources_ar.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_bg.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_bs.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_ca.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_cs.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_da.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_de.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_el.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_es.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_et.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_fi.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_fr.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_he.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_hr.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_hu.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_id.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_it.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_ja.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_ko.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_lt.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_lv.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_nb.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_nl.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_pl.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_pt-BR.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_pt-PT.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_ro.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_ru.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_sk.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_sl.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_sr.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_sv.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_th.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_tr.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_uk.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_vi.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_zh-CN.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_zh-HK.json +6 -6
- package/dist/collection/assets/t9n/delete-button/resources_zh-TW.json +6 -6
- package/dist/collection/assets/t9n/edit-card/resources_ar.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_bg.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_bs.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_ca.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_cs.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_da.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_de.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_el.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_es.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_et.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_fi.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_fr.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_he.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_hr.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_hu.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_id.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_it.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_ja.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_ko.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_lt.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_lv.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_nb.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_nl.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_pl.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_pt-BR.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_pt-PT.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_ro.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_ru.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_sk.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_sl.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_sr.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_sv.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_th.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_tr.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_uk.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_vi.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_zh-CN.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_zh-HK.json +1 -1
- package/dist/collection/assets/t9n/edit-card/resources_zh-TW.json +1 -1
- package/dist/collection/assets/t9n/info-card/resources_ar.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_bg.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_bs.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_ca.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_cs.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_da.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_de.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_el.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_es.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_et.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_fi.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_fr.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_he.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_hr.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_hu.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_id.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_it.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_ja.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_ko.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_lt.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_lv.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_nb.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_nl.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_pl.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_pt-BR.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_pt-PT.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_ro.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_ru.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_sk.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_sl.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_sr.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_sv.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_th.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_tr.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_uk.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_vi.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_zh-CN.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_zh-HK.json +8 -8
- package/dist/collection/assets/t9n/info-card/resources_zh-TW.json +8 -8
- package/dist/collection/assets/t9n/layer-table/resources.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_en.json +1 -0
- package/dist/collection/assets/t9n/map-card/resources.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_en.json +2 -1
- package/dist/collection/components/card-manager/card-manager.js +22 -3
- package/dist/collection/components/create-feature/create-feature.js +36 -19
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +8 -4
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +64 -21
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
- package/dist/collection/components/delete-button/delete-button.js +1 -1
- package/dist/collection/components/edit-card/edit-card.js +1 -1
- package/dist/collection/components/feature-comments/feature-comments.js +1 -1
- package/dist/collection/components/feature-details/feature-details.js +6 -6
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
- package/dist/collection/components/feature-list/feature-list.js +3 -3
- package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-table/layer-table.css +4 -0
- package/dist/collection/components/layer-table/layer-table.js +49 -22
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
- package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
- package/dist/collection/components/map-card/map-card.css +10 -2
- package/dist/collection/components/map-card/map-card.js +471 -30
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +55 -5
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.css +7 -3
- package/dist/collection/components/map-picker/map-picker.js +3 -3
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +1 -1
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/share-item/share-item.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/components/card-manager2.js +6 -3
- package/dist/components/create-feature2.js +19 -19
- package/dist/components/crowdsource-manager.js +60 -23
- package/dist/components/crowdsource-reporter.js +1 -1
- package/dist/components/delete-button2.js +19 -13
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-details2.js +6 -6
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/feature-list2.js +3 -3
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/info-card2.js +2 -2
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/layer-table2.js +44 -23
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/map-card2.js +436 -33
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +19 -5
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +4 -4
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +1 -1
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/public-notification.js +1 -1
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/share-item.js +1 -1
- package/dist/components/solution-configuration.js +3 -3
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-accordion.js +1 -1
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +9 -9
- package/dist/esm/buffer-tools_3.entry.js +1 -1
- package/dist/esm/calcite-alert_5.entry.js +20 -21
- package/dist/esm/calcite-combobox_3.entry.js +16 -4
- package/dist/esm/calcite-flow_4.entry.js +6 -6
- package/dist/esm/calcite-modal_3.entry.js +1 -1
- package/dist/esm/calcite-shell-panel_14.entry.js +7 -7
- package/dist/esm/card-manager_3.entry.js +474 -54
- package/dist/esm/crowdsource-manager.entry.js +55 -21
- package/dist/esm/crowdsource-reporter.entry.js +1 -1
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +3 -3
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/layout-manager.entry.js +1 -1
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +3 -3
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/public-notification.entry.js +1 -1
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/solution-configuration.entry.js +3 -3
- package/dist/esm/solution-contents_3.entry.js +3 -3
- package/dist/esm/solution-item-accordion.entry.js +1 -1
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources.json +1 -0
- package/dist/solutions-components/assets/t9n/card-manager/resources_en.json +2 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ar.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_bg.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_bs.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_ca.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_cs.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_da.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_de.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_el.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_es.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_et.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_fi.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_fr.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_he.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_hr.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_hu.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_id.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_it.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_ja.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_ko.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_lt.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_lv.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_nb.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_nl.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_pl.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_pt-BR.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_pt-PT.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_ro.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_ru.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_sk.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_sl.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_sr.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_sv.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_th.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_tr.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_uk.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_vi.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_zh-CN.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_zh-HK.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_zh-TW.json +5 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_ar.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_bg.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_bs.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_ca.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_cs.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_da.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_de.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_el.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_es.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_et.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_fi.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_fr.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_he.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_hr.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_hu.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_id.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_it.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_ja.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_ko.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_lt.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_lv.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_nb.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_nl.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_pl.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_pt-BR.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_pt-PT.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_ro.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_ru.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_sk.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_sl.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_sr.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_sv.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_th.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_tr.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_uk.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_vi.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_zh-CN.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_zh-HK.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_zh-TW.json +3 -0
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ar.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bg.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bs.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ca.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_cs.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_da.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_de.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_el.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_es.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_et.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fi.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fr.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_he.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hr.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hu.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_id.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_it.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ja.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ko.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lt.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lv.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nb.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nl.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pl.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-BR.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-PT.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ro.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ru.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sk.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sl.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sr.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sv.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_th.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_tr.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_uk.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_vi.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-CN.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-HK.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-TW.json +0 -1
- package/dist/solutions-components/assets/t9n/delete-button/resources_ar.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_bg.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_bs.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_ca.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_cs.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_da.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_de.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_el.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_es.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_et.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_fi.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_fr.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_he.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_hr.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_hu.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_id.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_it.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_ja.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_ko.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_lt.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_lv.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_nb.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_nl.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_pl.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_pt-BR.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_pt-PT.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_ro.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_ru.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_sk.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_sl.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_sr.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_sv.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_th.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_tr.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_uk.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_vi.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_zh-CN.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_zh-HK.json +6 -6
- package/dist/solutions-components/assets/t9n/delete-button/resources_zh-TW.json +6 -6
- package/dist/solutions-components/assets/t9n/edit-card/resources_ar.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_bg.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_bs.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_ca.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_cs.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_da.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_de.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_el.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_es.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_et.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_fi.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_fr.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_he.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_hr.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_hu.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_id.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_it.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_ja.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_ko.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_lt.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_lv.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_nb.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_nl.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_pl.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_pt-BR.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_pt-PT.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_ro.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_ru.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_sk.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_sl.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_sr.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_sv.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_th.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_tr.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_uk.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_vi.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_zh-CN.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_zh-HK.json +1 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_zh-TW.json +1 -1
- package/dist/solutions-components/assets/t9n/info-card/resources_ar.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_bg.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_bs.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_ca.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_cs.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_da.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_de.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_el.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_es.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_et.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_fi.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_fr.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_he.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_hr.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_hu.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_id.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_it.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_ja.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_ko.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_lt.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_lv.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_nb.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_nl.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_pl.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_pt-BR.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_pt-PT.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_ro.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_ru.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_sk.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_sl.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_sr.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_sv.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_th.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_tr.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_uk.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_vi.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_zh-CN.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_zh-HK.json +8 -8
- package/dist/solutions-components/assets/t9n/info-card/resources_zh-TW.json +8 -8
- package/dist/solutions-components/assets/t9n/layer-table/resources.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_en.json +1 -0
- package/dist/solutions-components/assets/t9n/map-card/resources.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_en.json +2 -1
- package/dist/solutions-components/{p-af3e49d8.entry.js → p-0a311862.entry.js} +1 -1
- package/dist/solutions-components/{p-f88c3477.entry.js → p-100bf9eb.entry.js} +1 -1
- package/dist/solutions-components/{p-ac7868a6.entry.js → p-2cc624c3.entry.js} +1 -1
- package/dist/solutions-components/p-31524836.entry.js +6 -0
- package/dist/solutions-components/p-3305a61f.entry.js +6 -0
- package/dist/solutions-components/{p-030e5077.entry.js → p-3e3b7172.entry.js} +1 -1
- package/dist/solutions-components/p-52dad11d.entry.js +6 -0
- package/dist/solutions-components/{p-5d58d70c.entry.js → p-565bc712.entry.js} +1 -1
- package/dist/solutions-components/{p-1b0fe5b1.entry.js → p-77052872.entry.js} +1 -1
- package/dist/solutions-components/{p-1c5f17cb.entry.js → p-776995b1.entry.js} +1 -1
- package/dist/solutions-components/{p-e8aa44e2.entry.js → p-81512d73.entry.js} +1 -1
- package/dist/solutions-components/{p-9384cc65.entry.js → p-8267d344.entry.js} +1 -1
- package/dist/solutions-components/{p-16a3f7ca.entry.js → p-8be24ce9.entry.js} +1 -1
- package/dist/solutions-components/p-8d0f6824.entry.js +6 -0
- package/dist/solutions-components/p-9850998d.entry.js +6 -0
- package/dist/solutions-components/{p-5a997dc9.entry.js → p-a095dadb.entry.js} +3 -3
- package/dist/solutions-components/{p-42cd083f.entry.js → p-a0a77f45.entry.js} +2 -2
- package/dist/solutions-components/p-abd68931.entry.js +6 -0
- package/dist/solutions-components/p-ad1c27ef.entry.js +6 -0
- package/dist/solutions-components/{p-39e9ae5c.entry.js → p-c13774d5.entry.js} +1 -1
- package/dist/solutions-components/{p-57025491.entry.js → p-c346ca43.entry.js} +1 -1
- package/dist/solutions-components/{p-18307307.entry.js → p-c976ac3b.entry.js} +1 -1
- package/dist/solutions-components/{p-5cef36d6.entry.js → p-d9b8b4e2.entry.js} +1 -1
- package/dist/solutions-components/p-e0f10596.entry.js +6 -0
- package/dist/solutions-components/{p-3e9a487b.entry.js → p-f359c162.entry.js} +2 -2
- package/dist/solutions-components/p-f3e3a4d5.entry.js +6 -0
- package/dist/solutions-components/p-f6eeac1b.entry.js +17 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/card-manager/card-manager.d.ts +5 -1
- package/dist/types/components/create-feature/create-feature.d.ts +8 -6
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +20 -0
- package/dist/types/components/layer-table/layer-table.d.ts +10 -2
- package/dist/types/components/map-card/map-card.d.ts +180 -14
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +9 -1
- package/dist/types/components.d.ts +43 -6
- package/dist/types/preact.d.ts +2 -1
- package/package.json +1 -1
- package/dist/solutions-components/p-062e5705.entry.js +0 -6
- package/dist/solutions-components/p-374d0fdc.entry.js +0 -6
- package/dist/solutions-components/p-3c89bfe5.entry.js +0 -6
- package/dist/solutions-components/p-671fd156.entry.js +0 -6
- package/dist/solutions-components/p-6b1d1546.entry.js +0 -17
- package/dist/solutions-components/p-a8b42e35.entry.js +0 -6
- package/dist/solutions-components/p-aa85b136.entry.js +0 -6
- package/dist/solutions-components/p-b75c4db2.entry.js +0 -6
- package/dist/solutions-components/p-f3166d51.entry.js +0 -6
- package/dist/solutions-components/p-f6dc7347.entry.js +0 -6
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host
|
6
|
+
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-b793d9aa.js';
|
7
7
|
import { g as getLocaleComponentStrings, l as loadModules } from './locale-b1d53fb1.js';
|
8
8
|
import { g as getLayerOrTable, q as queryFeaturesByID, e as goToSelection, f as queryAllIds, i as queryAllOidsWithQueryFeatures, j as queryFeaturesByGlobalID, c as getFeatureLayerView } from './mapViewUtils-f54edae3.js';
|
9
9
|
import { d as downloadCSV } from './downloadUtils-4a34c86a.js';
|
@@ -31,6 +31,7 @@ const CardManager = class {
|
|
31
31
|
this.zoomAndScrollToSelected = undefined;
|
32
32
|
this.selectedFeaturesIds = undefined;
|
33
33
|
this.enableCreateFeatures = true;
|
34
|
+
this.selectingFeatureFromMap = undefined;
|
34
35
|
this._cardLoading = false;
|
35
36
|
this._graphics = undefined;
|
36
37
|
this._showCreateFeatureComponent = false;
|
@@ -123,8 +124,9 @@ const CardManager = class {
|
|
123
124
|
const messageClass = this._graphics?.length > 0 || this._showCreateFeatureComponent ? "display-none" : "";
|
124
125
|
const isTable = this.layer?.isTable;
|
125
126
|
const heading = isTable ? this._translations.createRecord : this._translations.createFeature;
|
127
|
+
const guideMsg = this.customInfoText || this.selectingFeatureFromMap ? this._translations.selectFeaturesFromMapToStart : this._translations.selectFeaturesToStart;
|
126
128
|
const showCreateFeatureOrRecordBtn = this.enableCreateFeatures && this.layer?.capabilities?.operations?.supportsAdd;
|
127
|
-
return (h(Host, { key: '
|
129
|
+
return (h(Host, { key: '7bcc2cfc05bfb95ef444b2036c0fd709f816bfe8' }, h("div", { key: '088e91d3084a43cab7da6e2985784a9675f30bfb', class: "overflow-auto height-full" }, h("calcite-shell", { key: '4ce541bdadc42cc2625756af104e144e61ca0593', class: "position-relative " + featuresClass }, h("div", { key: 'f3fd57ce5a0122df70d36a72e7d8c7ace4ffed0c', class: "position-static z-index-500" }, h("info-card", { key: 'ed1f8e88937d905928e97f1149acdc42fc557d7c', enableEditGeometry: this.enableEditGeometry, graphics: this._graphics, isLoading: this._cardLoading, isMobile: this.isMobile, mapView: this.mapView }))), h("calcite-shell", { key: '21cd22e9d40954324ab68ae0f44305541a78faa4', class: "position-relative " + messageClass }, h("calcite-flow-item", { key: '2206f7bf57133e6249e84eed06363485dc540e89' }, h("calcite-panel", { key: 'a6a43c3eefcc1b03006dc14f39c9ba692620cf51' }, h("div", { key: 'f58c54e68a59e09ce8d51b010876e6f0261d920a', class: "padding-1" }, h("calcite-notice", { key: '5e57dcae6e804c3954a693d972a47171e07419a5', icon: this.selectingFeatureFromMap ? "map" : "table", iconFlipRtl: true, open: true }, h("div", { key: '9391598f800576d7f8dd2ca5778d8a9d493df5cc', slot: "message" }, guideMsg))), !this.isMobile && showCreateFeatureOrRecordBtn && h("calcite-button", { key: 'f30040df430858472437acef88f216040e4f3a4f', disabled: !this.layer, onClick: () => this._createFeatureBtnClicked(), slot: "footer", width: "full" }, isTable ? this._translations.createRecord : this._translations.createFeature)))), h("calcite-shell", { key: '6d14a7483427aa478f53e4ee54664ef2aae999fb', class: "position-relative " + createFeatureClass }, h("calcite-flow-item", { key: 'cace557395071006fcf0fc723f1808cad19f1099' }, h("calcite-panel", { key: '3eaa505ebf1d552775970c4f5b7dfc8f321c3f93', heading: heading }, h("calcite-action", { key: '68a09bb37ea2b6d827de48b13e1a41c74f5c34c6', class: "back-button hydrated", icon: "chevron-left", onClick: this._backFromCreateFeature.bind(this), scale: "s", slot: "header-actions-start", text: "" }), this.getEditorComponent(), this._showSubmitBtn && h("calcite-button", { key: '3e326f1e523fe3245365a4dad69372b52a969ae3', appearance: "solid", class: "footer-top-button footer-button", onClick: () => void this._createFeature.submit(), slot: "footer", width: "full" }, this._translations.create)))))));
|
128
130
|
}
|
129
131
|
/**
|
130
132
|
* Returns the editor component for adding feature
|
@@ -135,7 +137,7 @@ const CardManager = class {
|
|
135
137
|
setTimeout(() => {
|
136
138
|
this._isFeatureCreated = false;
|
137
139
|
}, 2000);
|
138
|
-
}, onSuccess: this._featureCreated.bind(this), ref: el => this._createFeature = el, selectedLayerId: this.layer?.id })));
|
140
|
+
}, onSuccess: this._featureCreated.bind(this), ref: el => this._createFeature = el, selectedLayerId: this.layer?.id, showGuidingMsgWhileDrawing: false })));
|
139
141
|
}
|
140
142
|
//--------------------------------------------------------------------------
|
141
143
|
//
|
@@ -144,7 +146,7 @@ const CardManager = class {
|
|
144
146
|
//--------------------------------------------------------------------------
|
145
147
|
/**
|
146
148
|
* Gets the Feature using its ids
|
147
|
-
*
|
149
|
+
* @param ids list of ids that are currently selected
|
148
150
|
* @returns Promise when complete
|
149
151
|
* @protected
|
150
152
|
*/
|
@@ -201,7 +203,7 @@ const CardManager = class {
|
|
201
203
|
};
|
202
204
|
CardManager.style = CardManagerStyle0;
|
203
205
|
|
204
|
-
const layerTableCss = ":host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=\"rtl\"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir=\"rtl\"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}";
|
206
|
+
const layerTableCss = ":host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=\"rtl\"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir=\"rtl\"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}.search{--calcite-color-border-input:var(--calcite-color-border-3)}";
|
205
207
|
const LayerTableStyle0 = layerTableCss;
|
206
208
|
|
207
209
|
const LayerTable = class {
|
@@ -243,6 +245,7 @@ const LayerTable = class {
|
|
243
245
|
this._translations = undefined;
|
244
246
|
this._fullTextSearchInfo = undefined;
|
245
247
|
this._searchPlaceHolder = '';
|
248
|
+
this._size = 0;
|
246
249
|
}
|
247
250
|
get el() { return getElement(this); }
|
248
251
|
//--------------------------------------------------------------------------
|
@@ -662,6 +665,12 @@ const LayerTable = class {
|
|
662
665
|
this._allIds = [];
|
663
666
|
this._clearSelection();
|
664
667
|
}
|
668
|
+
/**
|
669
|
+
* Clears the selection from table
|
670
|
+
*/
|
671
|
+
clearSelection() {
|
672
|
+
this._clearSelection();
|
673
|
+
}
|
665
674
|
//--------------------------------------------------------------------------
|
666
675
|
//
|
667
676
|
// Functions (lifecycle)
|
@@ -686,13 +695,13 @@ const LayerTable = class {
|
|
686
695
|
render() {
|
687
696
|
const tableNodeClass = this._fetchingData ? "display-none" : "";
|
688
697
|
const loadingClass = this._fetchingData ? "" : "display-none";
|
689
|
-
const total = this.
|
698
|
+
const total = this._size.toString();
|
690
699
|
const selected = this.selectedIds.length.toString();
|
691
700
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
692
701
|
const showSearch = this._canShowFullTextSearch();
|
693
702
|
this._validateActiveActions();
|
694
|
-
return (h(Host, { key: '
|
695
|
-
h("calcite-input", { key: '
|
703
|
+
return (h(Host, { key: '46394d7e108068600980efd766fbf5d91243f3c9' }, h("calcite-shell", { key: 'd831121a56070552139386033b02ddc2531c29e9' }, this._getTableControlRow("header"), h("div", { key: '591e0b0bba19f1dbe99049a470b5d3c04253a2c2', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: 'd70244a3c989a5bea8bbbaf33c4ebe9c04fc4515', class: "height-full width-full" }, showSearch &&
|
704
|
+
h("calcite-input", { key: 'b8418eca07a07956f702a09aa642255d05742b14', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" }), h("calcite-loader", { key: '4478be9175933c1b076f7011bd39aaf9adf7faad', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '2a77b11f65188931041d781cde17143c90962931', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
696
705
|
.replace("{{total}}", total)
|
697
706
|
.replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal()));
|
698
707
|
}
|
@@ -704,14 +713,15 @@ const LayerTable = class {
|
|
704
713
|
this._resizeObserver.observe(this._toolbar);
|
705
714
|
this._observerSet = true;
|
706
715
|
}
|
707
|
-
document.onclick = (e) => this._handleDocumentClick(e);
|
708
|
-
document.onkeydown = (e) => this._handleKeyDown(e);
|
709
|
-
document.onkeyup = (e) => this._handleKeyUp(e);
|
710
716
|
}
|
711
717
|
/**
|
712
718
|
* Called after the component is rendered
|
713
719
|
*/
|
714
720
|
componentDidRender() {
|
721
|
+
// need to be called after each render to get the clicked mouseEvent
|
722
|
+
document.onclick = (e) => this._handleDocumentClick(e);
|
723
|
+
document.onkeydown = (e) => this._handleKeyDown(e);
|
724
|
+
document.onkeyup = (e) => this._handleKeyUp(e);
|
715
725
|
this._updateToolbar();
|
716
726
|
}
|
717
727
|
//--------------------------------------------------------------------------
|
@@ -761,9 +771,12 @@ const LayerTable = class {
|
|
761
771
|
const searchQueryParams = this._layer.createQuery();
|
762
772
|
searchQueryParams.fullText = this._fullTextSearchInfo;
|
763
773
|
const searchedIds = await this._layer.queryObjectIds(searchQueryParams);
|
764
|
-
this._updateSearchDefinitionExpression(searchedIds?.length ? searchedIds : [-1]);
|
774
|
+
await this._updateSearchDefinitionExpression(searchedIds?.length ? searchedIds : [-1]);
|
765
775
|
}
|
766
776
|
}
|
777
|
+
//Added timeout and table.refresh() to avoid the issue in which we see empty table records after searching in combination to filter/reset filter
|
778
|
+
await new Promise(resolve => setTimeout(resolve, 800));
|
779
|
+
await this._updateAllIds();
|
767
780
|
}
|
768
781
|
/**
|
769
782
|
* Clears the applied search expression on the layer
|
@@ -787,7 +800,7 @@ const LayerTable = class {
|
|
787
800
|
* Update the search expression in layer
|
788
801
|
* @param searchedIds Array of objectIds satisfying the full search text
|
789
802
|
*/
|
790
|
-
_updateSearchDefinitionExpression(searchedIds) {
|
803
|
+
async _updateSearchDefinitionExpression(searchedIds) {
|
791
804
|
const defExp = this._layer.definitionExpression;
|
792
805
|
if (searchedIds?.length) {
|
793
806
|
const searchExp = `objectId in(${searchedIds})`;
|
@@ -828,7 +841,7 @@ const LayerTable = class {
|
|
828
841
|
const fieldInfo = this._layer.getField(fieldName.trim());
|
829
842
|
fieldAlias.push(fieldInfo.alias);
|
830
843
|
});
|
831
|
-
this._searchPlaceHolder = this._translations.searchPlaceholder.replace("{{fields}}", fieldAlias.join('
|
844
|
+
this._searchPlaceHolder = this._translations.searchPlaceholder.replace("{{fields}}", fieldAlias.join(', '));
|
832
845
|
this._fullTextSearchInfo.push({
|
833
846
|
'onFields': ['*'],
|
834
847
|
'searchTerm': '',
|
@@ -892,14 +905,14 @@ const LayerTable = class {
|
|
892
905
|
_getFieldlist() {
|
893
906
|
return this._columnsInfo ? (h("calcite-dropdown-group", { "selection-mode": "multiple" }, Object.keys(this._columnsInfo).map(k => {
|
894
907
|
const selected = this._columnsInfo[k];
|
895
|
-
return (h("calcite-dropdown-item", { id: `layer-table-${k.toLowerCase().replaceAll(" ", "")}`, onClick: (e) => {
|
908
|
+
return (h("calcite-dropdown-item", { id: `layer-table-${k.toLowerCase().replaceAll(" ", "")}`, label: k, onClick: (e) => {
|
896
909
|
const target = e.target;
|
897
|
-
this._columnsInfo[target.
|
910
|
+
this._columnsInfo[target.label] = target.selected;
|
898
911
|
if (!target.selected) {
|
899
|
-
this._table.hideColumn(target.
|
912
|
+
this._table.hideColumn(target.label);
|
900
913
|
}
|
901
914
|
else {
|
902
|
-
this._table.showColumn(target.
|
915
|
+
this._table.showColumn(target.label);
|
903
916
|
}
|
904
917
|
}, selected: selected }, k));
|
905
918
|
}))) : undefined;
|
@@ -955,7 +968,8 @@ const LayerTable = class {
|
|
955
968
|
*/
|
956
969
|
_initToolInfos() {
|
957
970
|
const featuresSelected = this._featuresSelected();
|
958
|
-
|
971
|
+
// hide multiple edits for R03
|
972
|
+
const showMultipleEdits = this.selectedIds.length > 1 && this._layer?.capabilities?.operations?.supportsUpdate && false;
|
959
973
|
const featuresEmpty = this._featuresEmpty();
|
960
974
|
const hasFilterExpressions = this._hasFilterExpressions();
|
961
975
|
if (this._translations) {
|
@@ -978,7 +992,7 @@ const LayerTable = class {
|
|
978
992
|
disabled: false,
|
979
993
|
isOverflow: false
|
980
994
|
} : undefined,
|
981
|
-
|
995
|
+
showMultipleEdits ? {
|
982
996
|
active: false,
|
983
997
|
icon: "pencil",
|
984
998
|
indicator: false,
|
@@ -991,8 +1005,8 @@ const LayerTable = class {
|
|
991
1005
|
active: undefined,
|
992
1006
|
icon: "trash",
|
993
1007
|
indicator: undefined,
|
994
|
-
label:
|
995
|
-
func: undefined,
|
1008
|
+
label: this._translations.delete,
|
1009
|
+
func: () => undefined,
|
996
1010
|
disabled: !featuresSelected,
|
997
1011
|
isDanger: true,
|
998
1012
|
isOverflow: false
|
@@ -1232,7 +1246,7 @@ const LayerTable = class {
|
|
1232
1246
|
_getDropdown(id) {
|
1233
1247
|
const dropdownItems = this._getDropdownItems();
|
1234
1248
|
return dropdownItems.length > 0 ? (h("calcite-dropdown", { closeOnSelectDisabled: true, disabled: this._layer === undefined, id: "solutions-more", onCalciteDropdownBeforeClose: () => this._forceShowHide(), ref: (el) => this._moreDropdown = el }, h("calcite-action", { appearance: "solid", id: id, label: "", onClick: () => this._closeShowHide(), slot: "trigger", text: "" }, h("calcite-button", { appearance: "transparent", iconEnd: "chevron-down", kind: "neutral" }, this._translations.more)), h("calcite-dropdown-group", { "selection-mode": "none" }, dropdownItems.map(item => {
|
1235
|
-
return (h("calcite-dropdown-group", { class: item.disabled ? "disabled" : "", selectionMode:
|
1249
|
+
return (h("calcite-dropdown-group", { class: item.disabled ? "disabled" : "", selectionMode: "none" }, h("calcite-dropdown-item", { disabled: item.loading, iconStart: item.isSublist && this._showHideOpen ? "chevron-down" : item.loading ? "" : item.icon, id: `layer-table-${item.icon}`, onClick: item.func }, item.loading ? (h("div", { class: "display-flex" }, h("calcite-loader", { inline: true, label: item.label, scale: "m" }), item.label)) : item.label)));
|
1236
1250
|
})), this._showHideOpen ? this._getFieldlist() : undefined)) : undefined;
|
1237
1251
|
}
|
1238
1252
|
/**
|
@@ -1332,7 +1346,7 @@ const LayerTable = class {
|
|
1332
1346
|
*/
|
1333
1347
|
_getDangerAction(icon, label, func, disabled) {
|
1334
1348
|
const _disabled = this._layer === undefined ? true : disabled;
|
1335
|
-
return (h("div", { class: "display-flex", id: this._getId(icon) }, icon === "trash" ? (h("delete-button", { buttonType: "action", class: "display-flex", disabled: _disabled, icon: icon, ids: this._getIds(), layer: this._layer })) : (h("calcite-action", { appearance: "solid", disabled: _disabled, id: icon, onClick: func, text:
|
1349
|
+
return (h("div", { class: "display-flex", id: this._getId(icon) }, icon === "trash" ? (h("delete-button", { buttonType: "action", class: "display-flex", disabled: _disabled, icon: icon, ids: this._getIds(), layer: this._layer })) : (h("calcite-action", { appearance: "solid", disabled: _disabled, id: icon, onClick: func, text: label }, h("calcite-button", { appearance: "transparent", iconStart: icon, kind: "danger" }, label))), this._getToolTip("bottom", icon, label)));
|
1336
1350
|
}
|
1337
1351
|
/**
|
1338
1352
|
* Return all currently selected IDs from the table
|
@@ -1381,6 +1395,11 @@ const LayerTable = class {
|
|
1381
1395
|
this._table.highlightIds.on("change", (evt) => {
|
1382
1396
|
void this._handleOnChange(evt);
|
1383
1397
|
});
|
1398
|
+
//Add handle to watch size of the table and update the state to reflect the total count
|
1399
|
+
const handle = this.reactiveUtils.watch(() => this._table.size, (size) => {
|
1400
|
+
this._size = size;
|
1401
|
+
});
|
1402
|
+
this._table.viewModel.addHandles(handle);
|
1384
1403
|
});
|
1385
1404
|
}
|
1386
1405
|
}
|
@@ -1683,7 +1702,10 @@ const LayerTable = class {
|
|
1683
1702
|
*/
|
1684
1703
|
_handleDocumentClick(e) {
|
1685
1704
|
const id = e.target?.id;
|
1686
|
-
if (
|
1705
|
+
if (id.startsWith('layer-table-')) {
|
1706
|
+
this._moreDropdown.open = true;
|
1707
|
+
}
|
1708
|
+
else if (this._showHideOpen && Object.keys(this._columnsInfo).indexOf(id) < 0 && id !== "chevron-right") {
|
1687
1709
|
this._closeShowHide();
|
1688
1710
|
if (this._moreDropdown) {
|
1689
1711
|
this._moreDropdown.open = false;
|
@@ -1899,7 +1921,7 @@ const LayerTable = class {
|
|
1899
1921
|
});
|
1900
1922
|
}
|
1901
1923
|
/**
|
1902
|
-
* Refreshes the table and maintains the
|
1924
|
+
* Refreshes the table and maintains the current scroll position
|
1903
1925
|
* @protected
|
1904
1926
|
*/
|
1905
1927
|
async _refresh() {
|
@@ -2086,7 +2108,7 @@ function joinAppProxies(map, config, appProxies) {
|
|
2086
2108
|
return map;
|
2087
2109
|
}
|
2088
2110
|
|
2089
|
-
const mapCardCss = ":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% -
|
2111
|
+
const mapCardCss = ":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.border-bottom-3px{border-bottom:3px solid var(--calcite-color-border-3)}.height-50-px{height:50px}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}.display-block{display:block}";
|
2090
2112
|
const MapCardStyle0 = mapCardCss;
|
2091
2113
|
|
2092
2114
|
const MapCard = class {
|
@@ -2095,6 +2117,7 @@ const MapCard = class {
|
|
2095
2117
|
this.mapChanged = createEvent(this, "mapChanged", 7);
|
2096
2118
|
this.beforeMapChanged = createEvent(this, "beforeMapChanged", 7);
|
2097
2119
|
this.toggleFilter = createEvent(this, "toggleFilter", 7);
|
2120
|
+
this.clearSelection = createEvent(this, "clearSelection", 7);
|
2098
2121
|
this.appProxies = undefined;
|
2099
2122
|
this.defaultWebmapId = "";
|
2100
2123
|
this.defaultLayerId = undefined;
|
@@ -2129,6 +2152,8 @@ const MapCard = class {
|
|
2129
2152
|
this._searchConfiguration = undefined;
|
2130
2153
|
this._webMapInfo = undefined;
|
2131
2154
|
this._showHideOpen = false;
|
2155
|
+
this._toolInfos = undefined;
|
2156
|
+
this._controlsThatFit = undefined;
|
2132
2157
|
}
|
2133
2158
|
get el() { return getElement(this); }
|
2134
2159
|
//--------------------------------------------------------------------------
|
@@ -2192,6 +2217,38 @@ const MapCard = class {
|
|
2192
2217
|
* string: The current layers definition expression
|
2193
2218
|
*/
|
2194
2219
|
_definitionExpression;
|
2220
|
+
/**
|
2221
|
+
* HTMLMapLayerPickerElement: The Map layer picker refrence element
|
2222
|
+
*/
|
2223
|
+
_mapLayerPicker;
|
2224
|
+
/**
|
2225
|
+
* ResizeObserver: The observer that watches for toolbar size changes
|
2226
|
+
*/
|
2227
|
+
_resizeObserver;
|
2228
|
+
/**
|
2229
|
+
* HTMLCalciteDropdownElement: Dropdown the will support show/hide of table columns
|
2230
|
+
*/
|
2231
|
+
_showHideDropdown;
|
2232
|
+
/**
|
2233
|
+
* HTMLDivElement: The toolbars containing node
|
2234
|
+
*/
|
2235
|
+
_toolbar;
|
2236
|
+
/**
|
2237
|
+
* any: Timeout used to limit redundancy for toolbar resizing
|
2238
|
+
*/
|
2239
|
+
_timeout;
|
2240
|
+
/**
|
2241
|
+
* IToolSizeInfo[]: Id and Width for the current tools
|
2242
|
+
*/
|
2243
|
+
_toolbarSizeInfos;
|
2244
|
+
/**
|
2245
|
+
* IToolSizeInfo[]: The default list of tool size info for tools that should display outside of the dropdown
|
2246
|
+
*/
|
2247
|
+
_defaultVisibleToolSizeInfos;
|
2248
|
+
/**
|
2249
|
+
* boolean: When true the observer has been set and we don't need to set it again
|
2250
|
+
*/
|
2251
|
+
_observerSet = false;
|
2195
2252
|
//--------------------------------------------------------------------------
|
2196
2253
|
//
|
2197
2254
|
// Watch handlers
|
@@ -2211,6 +2268,28 @@ const MapCard = class {
|
|
2211
2268
|
this._definitionExpression = this.selectedLayer.definitionExpression;
|
2212
2269
|
});
|
2213
2270
|
}
|
2271
|
+
/**
|
2272
|
+
* watch for features ids changes
|
2273
|
+
*/
|
2274
|
+
async selectedFeaturesIdsWatchHandler() {
|
2275
|
+
this._validateEnabledActions();
|
2276
|
+
}
|
2277
|
+
/**
|
2278
|
+
* watch for changes to the list of controls that will currently fit in the display
|
2279
|
+
*/
|
2280
|
+
_controlsThatFitWatchHandler() {
|
2281
|
+
const ids = this._controlsThatFit ? this._controlsThatFit.reduce((prev, cur) => {
|
2282
|
+
prev.push(cur.id);
|
2283
|
+
return prev;
|
2284
|
+
}, []) : [];
|
2285
|
+
this._toolInfos = this._toolInfos?.map(ti => {
|
2286
|
+
if (ti && this._controlsThatFit) {
|
2287
|
+
const id = this._getId(ti.icon);
|
2288
|
+
ti.isOverflow = ids.indexOf(id) < 0;
|
2289
|
+
return ti;
|
2290
|
+
}
|
2291
|
+
});
|
2292
|
+
}
|
2214
2293
|
//--------------------------------------------------------------------------
|
2215
2294
|
//
|
2216
2295
|
// Methods (public)
|
@@ -2219,15 +2298,21 @@ const MapCard = class {
|
|
2219
2298
|
/**
|
2220
2299
|
* Reset the filter
|
2221
2300
|
*/
|
2222
|
-
async
|
2301
|
+
async resetFilter() {
|
2223
2302
|
this._filterActive = false;
|
2224
2303
|
}
|
2225
2304
|
/**
|
2226
2305
|
* updates the filter
|
2227
2306
|
*/
|
2228
|
-
async
|
2307
|
+
async updateFilterState() {
|
2229
2308
|
this._filterActive = this._definitionExpression !== this.selectedLayer.definitionExpression;
|
2230
2309
|
}
|
2310
|
+
/**
|
2311
|
+
* updates the layer in map layer picker
|
2312
|
+
*/
|
2313
|
+
async updateLayer() {
|
2314
|
+
void this._mapLayerPicker.updateLayer();
|
2315
|
+
}
|
2231
2316
|
//--------------------------------------------------------------------------
|
2232
2317
|
//
|
2233
2318
|
// Events (public)
|
@@ -2245,6 +2330,10 @@ const MapCard = class {
|
|
2245
2330
|
* Emitted on demand when filter action is clicked
|
2246
2331
|
*/
|
2247
2332
|
toggleFilter;
|
2333
|
+
/**
|
2334
|
+
* Emitted on demand when clear selection button is clicked
|
2335
|
+
*/
|
2336
|
+
clearSelection;
|
2248
2337
|
/**
|
2249
2338
|
* Listen for changes to map info and load the appropriate map
|
2250
2339
|
*/
|
@@ -2258,6 +2347,14 @@ const MapCard = class {
|
|
2258
2347
|
this.selectedLayer = undefined;
|
2259
2348
|
this.selectedFeaturesIds = [];
|
2260
2349
|
}
|
2350
|
+
/**
|
2351
|
+
* Handles layer selection change to show new table
|
2352
|
+
*/
|
2353
|
+
layerSelectionChange() {
|
2354
|
+
setTimeout(() => {
|
2355
|
+
this._initToolInfos();
|
2356
|
+
}, 50);
|
2357
|
+
}
|
2261
2358
|
//--------------------------------------------------------------------------
|
2262
2359
|
//
|
2263
2360
|
// Functions (lifecycle)
|
@@ -2269,27 +2366,40 @@ const MapCard = class {
|
|
2269
2366
|
async componentWillLoad() {
|
2270
2367
|
await this._getTranslations();
|
2271
2368
|
await this._initModules();
|
2369
|
+
this._initToolInfos();
|
2370
|
+
if (!this._resizeObserver) {
|
2371
|
+
this._resizeObserver = new ResizeObserver(() => this._updateToolbar());
|
2372
|
+
}
|
2272
2373
|
}
|
2273
2374
|
/**
|
2274
2375
|
* Renders the component.
|
2275
2376
|
*/
|
2276
2377
|
render() {
|
2277
|
-
const mapContainerClass = this.isMapLayout ? "display-flex height-50-px" : "";
|
2378
|
+
const mapContainerClass = this.isMapLayout ? "display-flex height-50-px border-bottom-3px" : "";
|
2278
2379
|
const mapClass = this.hidden ? "visibility-hidden-1" : "";
|
2279
2380
|
const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
|
2280
|
-
const
|
2281
|
-
|
2282
|
-
|
2283
|
-
const mobileClass = this.isMobile ? "border-top" : "";
|
2284
|
-
const headerElements = this.isMapLayout ? "" : "display-none";
|
2285
|
-
return (h(Host, { key: '6f827d045d920101c70f55e80a422383f94bae56' }, h("div", { key: '50215e8f899cf6321b228b0ee5b8a0ba9e1911c4', class: `${mapContainerClass}` }, h("map-picker", { key: '46dd475d52684cc239963160ab79019970fa13d2', class: mapPickerClass, isMapLayout: this.isMapLayout, mapInfos: this.mapInfos, ref: (el) => this._mapPicker = el }), h("div", { key: '8a8f260bb3a22b5bc2b933f94ab940e8750a9757', class: `mapView-header display-flex ${headerElements}` }, h("div", { key: 'a8ceb2a88432fbc052f00961a03d43cbf61dc076', class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, this.mapView && h("map-layer-picker", { key: '0c0c3e24b05491044d5bb42f460152eeb003dec2', appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, mapView: this.mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", scale: "l", selectedIds: this.selectedLayer ? [this.selectedLayer.id] : [], showSingleLayerAsLabel: true, showTables: true, type: "dropdown" })), this._getDropDownItem())), h("div", { key: '6091fdd6540a8eda0df227251a581347c734369c', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), h("map-tools", { key: 'eb0823b1b1babd12822e0d8ee91bc76169a51476', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
|
2381
|
+
const mapHeightClass = this.mapInfos?.length > 1 || this.isMapLayout ? "map-height" : "height-full";
|
2382
|
+
this._validateActiveActions();
|
2383
|
+
return (h(Host, { key: '197d79614a8d45037c034d3a61eda793d3ad3365' }, h("div", { key: 'ff428e43fb74c71fabd3af86677223c460bb4fb8', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options")), h("div", { key: '0cf63d7623c194bcb0a8636e89bd150450c385a0', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), h("map-tools", { key: '0982cb82f916bfff2c25e3b276b8f7708fe19842', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
|
2286
2384
|
}
|
2287
2385
|
/**
|
2288
2386
|
* Called each time after the component is loaded
|
2289
2387
|
*/
|
2290
2388
|
async componentDidRender() {
|
2389
|
+
if (this.isMapLayout) {
|
2390
|
+
this._updateToolbar();
|
2391
|
+
}
|
2291
2392
|
document.onclick = (e) => this._handleDocumentClick(e);
|
2292
2393
|
}
|
2394
|
+
/**
|
2395
|
+
* Called once after the component is loaded
|
2396
|
+
*/
|
2397
|
+
async componentDidLoad() {
|
2398
|
+
if (!this.isMobile && !this._observerSet) {
|
2399
|
+
this._resizeObserver.observe(this._toolbar);
|
2400
|
+
this._observerSet = true;
|
2401
|
+
}
|
2402
|
+
}
|
2293
2403
|
//--------------------------------------------------------------------------
|
2294
2404
|
//
|
2295
2405
|
// Functions (protected)
|
@@ -2368,6 +2478,263 @@ const MapCard = class {
|
|
2368
2478
|
});
|
2369
2479
|
}
|
2370
2480
|
}
|
2481
|
+
/**
|
2482
|
+
* Add/Remove tools from the action bar and dropdown based on available size
|
2483
|
+
* @protected
|
2484
|
+
*/
|
2485
|
+
_updateToolbar() {
|
2486
|
+
if (this._timeout) {
|
2487
|
+
clearTimeout(this._timeout);
|
2488
|
+
}
|
2489
|
+
if (!this.isMobile && this._toolbar && this._toolInfos) {
|
2490
|
+
this._timeout = setTimeout(() => {
|
2491
|
+
clearTimeout(this._timeout);
|
2492
|
+
this._setToolbarSizeInfos();
|
2493
|
+
const toolbarWidth = this._toolbar.offsetWidth;
|
2494
|
+
let controlsWidth = this._toolbarSizeInfos.reduce((prev, cur) => {
|
2495
|
+
prev += cur.width;
|
2496
|
+
return prev;
|
2497
|
+
}, 0);
|
2498
|
+
const skipControls = ["solutions-more", "solutions-map-layer-picker-container", "map-picker"];
|
2499
|
+
if (controlsWidth > toolbarWidth) {
|
2500
|
+
if (this._toolbarSizeInfos.length > 0) {
|
2501
|
+
const controlsThatFit = [...this._toolbarSizeInfos].reverse().reduce((prev, cur) => {
|
2502
|
+
if (skipControls.indexOf(cur.id) < 0) {
|
2503
|
+
if (controlsWidth > toolbarWidth) {
|
2504
|
+
controlsWidth -= cur.width;
|
2505
|
+
}
|
2506
|
+
else {
|
2507
|
+
prev.push(cur);
|
2508
|
+
}
|
2509
|
+
}
|
2510
|
+
return prev;
|
2511
|
+
}, []).reverse();
|
2512
|
+
this._setControlsThatFit(controlsThatFit, skipControls);
|
2513
|
+
}
|
2514
|
+
}
|
2515
|
+
else {
|
2516
|
+
if (this._defaultVisibleToolSizeInfos) {
|
2517
|
+
const currentTools = this._toolbarSizeInfos.reduce((prev, cur) => {
|
2518
|
+
prev.push(cur.id);
|
2519
|
+
return prev;
|
2520
|
+
}, []);
|
2521
|
+
let forceFinish = false;
|
2522
|
+
const controlsThatFit = [...this._defaultVisibleToolSizeInfos].reduce((prev, cur) => {
|
2523
|
+
if (!forceFinish && skipControls.indexOf(cur.id) < 0 &&
|
2524
|
+
(currentTools.indexOf(cur.id) > -1 || (controlsWidth + cur.width) <= toolbarWidth)) {
|
2525
|
+
if (currentTools.indexOf(cur.id) < 0) {
|
2526
|
+
controlsWidth += cur.width;
|
2527
|
+
}
|
2528
|
+
prev.push(cur);
|
2529
|
+
}
|
2530
|
+
else if (skipControls.indexOf(cur.id) < 0 && (controlsWidth + cur.width) > toolbarWidth) {
|
2531
|
+
// exit the first time we evalute this as true...otherwise it will add the next control that will fit
|
2532
|
+
// and not preserve the overall order of controls
|
2533
|
+
forceFinish = true;
|
2534
|
+
}
|
2535
|
+
return prev;
|
2536
|
+
}, []);
|
2537
|
+
this._setControlsThatFit(controlsThatFit, skipControls);
|
2538
|
+
}
|
2539
|
+
}
|
2540
|
+
}, 250);
|
2541
|
+
}
|
2542
|
+
}
|
2543
|
+
/**
|
2544
|
+
* Validate if controls that fit the current display has changed or
|
2545
|
+
* is different from what is currently displayed
|
2546
|
+
* @param _setControlsThatFit
|
2547
|
+
* @param skipControls
|
2548
|
+
* @protected
|
2549
|
+
*/
|
2550
|
+
_setControlsThatFit(controlsThatFit, skipControls) {
|
2551
|
+
let update = JSON.stringify(controlsThatFit) !== JSON.stringify(this._controlsThatFit);
|
2552
|
+
const actionbar = document.getElementById("solutions-action-bar");
|
2553
|
+
actionbar?.childNodes?.forEach((n) => {
|
2554
|
+
if (skipControls.indexOf(n.id) < 0 && !update) {
|
2555
|
+
update = this._controlsThatFit.map(c => c.id).indexOf(n.id) < 0;
|
2556
|
+
}
|
2557
|
+
});
|
2558
|
+
if (update) {
|
2559
|
+
this._controlsThatFit = [...controlsThatFit];
|
2560
|
+
}
|
2561
|
+
}
|
2562
|
+
/**
|
2563
|
+
* Get the id and size for the toolbars current items
|
2564
|
+
* @protected
|
2565
|
+
*/
|
2566
|
+
_setToolbarSizeInfos() {
|
2567
|
+
let hasWidth = false;
|
2568
|
+
this._toolbarSizeInfos = [];
|
2569
|
+
this._toolbar.childNodes.forEach((c, i) => {
|
2570
|
+
// handle the action bar
|
2571
|
+
if (i === 0) {
|
2572
|
+
c.childNodes.forEach((actionbarChild) => {
|
2573
|
+
this._toolbarSizeInfos.push({
|
2574
|
+
id: actionbarChild.id,
|
2575
|
+
width: actionbarChild.offsetWidth
|
2576
|
+
});
|
2577
|
+
if (!hasWidth) {
|
2578
|
+
hasWidth = actionbarChild.offsetWidth > 0;
|
2579
|
+
}
|
2580
|
+
});
|
2581
|
+
}
|
2582
|
+
else if (!c.referenceElement) {
|
2583
|
+
// skip tooltips
|
2584
|
+
this._toolbarSizeInfos.push({
|
2585
|
+
id: c.id,
|
2586
|
+
width: c.offsetWidth
|
2587
|
+
});
|
2588
|
+
if (!hasWidth) {
|
2589
|
+
hasWidth = c.offsetWidth > 0;
|
2590
|
+
}
|
2591
|
+
}
|
2592
|
+
});
|
2593
|
+
if (hasWidth && !this._defaultVisibleToolSizeInfos) {
|
2594
|
+
this._defaultVisibleToolSizeInfos = [...this._toolbarSizeInfos];
|
2595
|
+
}
|
2596
|
+
}
|
2597
|
+
/**
|
2598
|
+
* Gets a row of controls that can be used for various interactions with the table
|
2599
|
+
*
|
2600
|
+
* @returns The dom node that contains the controls
|
2601
|
+
* @protected
|
2602
|
+
*/
|
2603
|
+
_getActionBar() {
|
2604
|
+
const mapPickerClass = this.mapInfos?.length > 1 ? "" : "display-none";
|
2605
|
+
const containerClass = this.isMapLayout ? "display-flex" : "display-block";
|
2606
|
+
const mobileClass = this.isMobile ? "border-top" : "";
|
2607
|
+
const headerElements = this.isMapLayout ? "" : "display-none";
|
2608
|
+
return (h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, h("map-picker", { class: mapPickerClass, isMapLayout: this.isMapLayout, mapInfos: this.mapInfos, ref: (el) => this._mapPicker = el }), h("div", { class: `mapView-header display-flex ${headerElements}` }, h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, this.mapView && h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, mapView: this.mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", ref: (el) => this._mapLayerPicker = el, scale: "l", selectedIds: this.selectedLayer ? [this.selectedLayer.id] : [], showSingleLayerAsLabel: true, showTables: true, showTablesDisabled: true, type: "dropdown" }))), !this.isMobile && this.isMapLayout ? this._getActions() : undefined));
|
2609
|
+
}
|
2610
|
+
/**
|
2611
|
+
* Get a list of toolInfos that should display in the dropdown
|
2612
|
+
*
|
2613
|
+
* @param id string the id for the dropdown and its tooltip
|
2614
|
+
*
|
2615
|
+
* @returns VNode the dropdown node
|
2616
|
+
* @protected
|
2617
|
+
*/
|
2618
|
+
_getDropdown(id) {
|
2619
|
+
const dropdownItems = this._getDropdownItems();
|
2620
|
+
return dropdownItems.length > 0 ? (h("calcite-dropdown", { closeOnSelectDisabled: true, disabled: this.selectedLayer === undefined, id: "solutions-more", onCalciteDropdownBeforeClose: () => this._forceShowHide(), ref: (el) => this._moreDropdown = el }, h("calcite-action", { appearance: "solid", id: id, label: "", onClick: () => this._closeShowHide(), slot: "trigger", text: "" }, h("calcite-button", { appearance: "transparent", iconEnd: "chevron-down", kind: "neutral" }, this._translations.more)), h("calcite-dropdown-group", { "selection-mode": "none" }, dropdownItems.map(item => {
|
2621
|
+
return (h("calcite-dropdown-group", { class: item.disabled ? "disabled" : "", selectionMode: "none" }, h("calcite-dropdown-item", { disabled: item.loading, iconStart: item.icon, id: "solutions-subset-list", onClick: item.func }, item.loading ? (h("div", { class: "display-flex" }, h("calcite-loader", { inline: true, label: item.label, scale: "m" }), item.label)) : item.label)));
|
2622
|
+
})))) : undefined;
|
2623
|
+
}
|
2624
|
+
/**
|
2625
|
+
* Open show/hide dropdown
|
2626
|
+
* @protected
|
2627
|
+
*/
|
2628
|
+
_closeShowHide() {
|
2629
|
+
this._showHideOpen = false;
|
2630
|
+
}
|
2631
|
+
/**
|
2632
|
+
* Get a list of toolInfos that should display in the dropdown
|
2633
|
+
*
|
2634
|
+
* @returns IToolInfo[] the list of toolInfos that should display in the dropdown
|
2635
|
+
* @protected
|
2636
|
+
*/
|
2637
|
+
_getDropdownItems() {
|
2638
|
+
return this._toolInfos?.filter(toolInfo => toolInfo && toolInfo.isOverflow);
|
2639
|
+
}
|
2640
|
+
/**
|
2641
|
+
* Get the full list of toolInfos.
|
2642
|
+
* Order is important. They should be listed in the order they should display in the UI from
|
2643
|
+
* Left to Right for the action bar and Top to Bottom for the dropdown.
|
2644
|
+
* @protected
|
2645
|
+
*/
|
2646
|
+
_initToolInfos() {
|
2647
|
+
const featuresSelected = this.selectedFeaturesIds?.length > 0;
|
2648
|
+
const hasFilterExpressions = this._hasFilterExpressions();
|
2649
|
+
// hide multiple edits for R03
|
2650
|
+
const showMultipleEdits = this.selectedFeaturesIds?.length > 1 && false;
|
2651
|
+
if (this._translations) {
|
2652
|
+
this._toolInfos = [
|
2653
|
+
{
|
2654
|
+
active: false,
|
2655
|
+
icon: "zoom-to-object",
|
2656
|
+
indicator: false,
|
2657
|
+
label: this._translations.zoom,
|
2658
|
+
func: () => this._zoom(),
|
2659
|
+
disabled: !featuresSelected,
|
2660
|
+
isOverflow: false
|
2661
|
+
},
|
2662
|
+
hasFilterExpressions ? {
|
2663
|
+
active: false,
|
2664
|
+
icon: "filter",
|
2665
|
+
indicator: false,
|
2666
|
+
label: this._translations.filters,
|
2667
|
+
func: () => this._toggleFilter(),
|
2668
|
+
disabled: false,
|
2669
|
+
isOverflow: false
|
2670
|
+
} : undefined,
|
2671
|
+
showMultipleEdits ? {
|
2672
|
+
active: false,
|
2673
|
+
icon: "pencil",
|
2674
|
+
indicator: false,
|
2675
|
+
label: this._translations.editMultiple,
|
2676
|
+
func: () => alert(this._translations.editMultiple),
|
2677
|
+
disabled: !showMultipleEdits,
|
2678
|
+
isOverflow: false,
|
2679
|
+
} : undefined,
|
2680
|
+
{
|
2681
|
+
active: false,
|
2682
|
+
icon: "refresh",
|
2683
|
+
indicator: false,
|
2684
|
+
label: this._translations.refresh,
|
2685
|
+
func: () => this.selectedLayer.refresh(),
|
2686
|
+
disabled: false,
|
2687
|
+
isOverflow: false
|
2688
|
+
},
|
2689
|
+
{
|
2690
|
+
active: false,
|
2691
|
+
icon: "erase",
|
2692
|
+
indicator: false,
|
2693
|
+
label: this._translations.clearSelection,
|
2694
|
+
func: () => this.clearSelection.emit(),
|
2695
|
+
disabled: !featuresSelected,
|
2696
|
+
isOverflow: false
|
2697
|
+
}
|
2698
|
+
];
|
2699
|
+
this._defaultVisibleToolSizeInfos = undefined;
|
2700
|
+
}
|
2701
|
+
}
|
2702
|
+
/**
|
2703
|
+
* Update actions active prop based on a stored value
|
2704
|
+
* @protected
|
2705
|
+
*/
|
2706
|
+
_validateActiveActions() {
|
2707
|
+
const activeDependant = [
|
2708
|
+
"filter"
|
2709
|
+
];
|
2710
|
+
this._toolInfos?.forEach(ti => {
|
2711
|
+
if (ti && activeDependant.indexOf(ti.icon) > -1) {
|
2712
|
+
if (ti.icon === "filter") {
|
2713
|
+
ti.indicator = this._filterActive;
|
2714
|
+
}
|
2715
|
+
}
|
2716
|
+
});
|
2717
|
+
}
|
2718
|
+
/**
|
2719
|
+
* Update actions enabled prop based on number of selected indexes
|
2720
|
+
* @protected
|
2721
|
+
*/
|
2722
|
+
_validateEnabledActions() {
|
2723
|
+
const featuresSelected = this.selectedFeaturesIds?.length > 0;
|
2724
|
+
const showMultipleEdits = this.selectedFeaturesIds?.length > 1 && this.selectedLayer?.capabilities?.operations?.supportsUpdate;
|
2725
|
+
const selectionDependant = [
|
2726
|
+
"zoom-to-object",
|
2727
|
+
"pencil",
|
2728
|
+
"erase"
|
2729
|
+
];
|
2730
|
+
this._toolInfos?.forEach(ti => {
|
2731
|
+
if (ti && selectionDependant.indexOf(ti.icon) > -1) {
|
2732
|
+
// disable the pencil icon if multiple features are not selected
|
2733
|
+
// For other icons disable them if any feature is not selected
|
2734
|
+
ti.disabled = ti.icon === "pencil" ? !showMultipleEdits : !featuresSelected;
|
2735
|
+
}
|
2736
|
+
});
|
2737
|
+
}
|
2371
2738
|
/**
|
2372
2739
|
* Add/remove the home widget base on enableHome prop
|
2373
2740
|
*
|
@@ -2406,7 +2773,10 @@ const MapCard = class {
|
|
2406
2773
|
*/
|
2407
2774
|
_handleDocumentClick(e) {
|
2408
2775
|
const id = e.target?.id;
|
2409
|
-
if (
|
2776
|
+
if (id === "solutions-subset-list") {
|
2777
|
+
this._moreDropdown.open = true;
|
2778
|
+
}
|
2779
|
+
else if (this._showHideOpen && id !== "solutions-subset-list" && id !== "solutions-more" && id !== "chevron-down") {
|
2410
2780
|
if (this._moreDropdown) {
|
2411
2781
|
this._showHideOpen = false;
|
2412
2782
|
this._moreDropdown.open = false;
|
@@ -2424,16 +2794,20 @@ const MapCard = class {
|
|
2424
2794
|
}
|
2425
2795
|
}
|
2426
2796
|
/**
|
2427
|
-
|
2428
|
-
|
2429
|
-
|
2430
|
-
|
2797
|
+
* Zoom to all selected features
|
2798
|
+
*
|
2799
|
+
* @returns a promise that will resolve when the operation is complete
|
2800
|
+
*/
|
2431
2801
|
async _zoom() {
|
2432
2802
|
if (this.selectedLayer) {
|
2433
2803
|
const selectedLayerView = await getFeatureLayerView(this.mapView, this.selectedLayer.id);
|
2434
2804
|
await goToSelection(this.selectedFeaturesIds, selectedLayerView, this.mapView, true, undefined, this.zoomToScale);
|
2435
2805
|
}
|
2436
2806
|
}
|
2807
|
+
/**
|
2808
|
+
* toggle the filter
|
2809
|
+
* @protected
|
2810
|
+
*/
|
2437
2811
|
async _toggleFilter() {
|
2438
2812
|
this.toggleFilter.emit();
|
2439
2813
|
}
|
@@ -2450,22 +2824,66 @@ const MapCard = class {
|
|
2450
2824
|
return layerExpressions?.length > 0;
|
2451
2825
|
}
|
2452
2826
|
/**
|
2453
|
-
* Get
|
2454
|
-
*
|
2827
|
+
* Get the actions that are used for various interactions with the table
|
2828
|
+
*
|
2829
|
+
* @returns VNode[] the action nodes
|
2455
2830
|
*/
|
2456
|
-
|
2457
|
-
|
2831
|
+
_getActions() {
|
2832
|
+
const actions = this._getActionItems();
|
2833
|
+
return actions?.reduce((prev, cur) => {
|
2834
|
+
if (cur && !cur.isOverflow) {
|
2835
|
+
prev.push(this._getAction(cur.active, cur.icon, cur.indicator, cur.label, cur.func, cur.disabled, cur.loading));
|
2836
|
+
}
|
2837
|
+
return prev;
|
2838
|
+
}, []);
|
2458
2839
|
}
|
2459
2840
|
/**
|
2460
|
-
*
|
2461
|
-
*
|
2841
|
+
* Get a tooltip
|
2842
|
+
*
|
2843
|
+
* @param placement string where the tooltip should display
|
2844
|
+
* @param referenceElement string the element the tooltip will be associated with
|
2845
|
+
* @param text string the text to display in the tooltip
|
2846
|
+
*
|
2847
|
+
* @returns VNode The tooltip node
|
2462
2848
|
*/
|
2463
|
-
|
2464
|
-
|
2465
|
-
|
2466
|
-
|
2467
|
-
|
2468
|
-
|
2849
|
+
_getToolTip(placement, referenceElement, text) {
|
2850
|
+
return document.getElementById(referenceElement) ? (h("calcite-tooltip", { placement: placement, "reference-element": "map-" + referenceElement }, h("span", null, text))) : undefined;
|
2851
|
+
}
|
2852
|
+
/**
|
2853
|
+
* Get a list of toolInfos that should display outside of the dropdown
|
2854
|
+
*
|
2855
|
+
* @returns IToolInfo[] the list of toolInfos that should not display in the overflow dropdown
|
2856
|
+
*/
|
2857
|
+
_getActionItems() {
|
2858
|
+
return this._toolInfos?.filter(toolInfo => toolInfo && !toolInfo.isOverflow);
|
2859
|
+
}
|
2860
|
+
/**
|
2861
|
+
* Get an action and tooltip
|
2862
|
+
*
|
2863
|
+
* @param active boolean if true the icon is in use
|
2864
|
+
* @param icon string the name of the icon to display, will also be used as the id
|
2865
|
+
* @param indicator if true the icon will shown using indicator
|
2866
|
+
* @param label string the text to display and label the action
|
2867
|
+
* @param func any the function to execute
|
2868
|
+
* @param disabled boolean when true the user will not be able to interact with the action
|
2869
|
+
* @param loading if true loading indicator will shown
|
2870
|
+
* @param slot slot for the action
|
2871
|
+
*
|
2872
|
+
* @returns VNode The node representing the DOM element that will contain the action
|
2873
|
+
*/
|
2874
|
+
_getAction(active, icon, indicator, label, func, disabled, loading, slot) {
|
2875
|
+
const _disabled = this.selectedLayer === undefined ? true : disabled;
|
2876
|
+
return (h("div", { class: "display-flex", id: this._getId(icon), slot: slot }, h("calcite-action", { active: active, appearance: "solid", disabled: _disabled, icon: icon, id: "map-" + icon, indicator: indicator, label: label, loading: loading, onClick: func, text: label, textEnabled: true }), this._getToolTip("bottom", icon, label)));
|
2877
|
+
}
|
2878
|
+
/**
|
2879
|
+
* Get an id with a prefix to the user supplied value
|
2880
|
+
*
|
2881
|
+
* @param id the unique value for the id
|
2882
|
+
*
|
2883
|
+
* @returns the new id with the prefix value
|
2884
|
+
*/
|
2885
|
+
_getId(id) {
|
2886
|
+
return `solutions-action-${id}`;
|
2469
2887
|
}
|
2470
2888
|
/**
|
2471
2889
|
* Fetches the component's translations
|
@@ -2479,7 +2897,9 @@ const MapCard = class {
|
|
2479
2897
|
}
|
2480
2898
|
static get watchers() { return {
|
2481
2899
|
"enableHome": ["enableHomeWatchHandler"],
|
2482
|
-
"selectedLayer": ["selectedLayerWatchHandler"]
|
2900
|
+
"selectedLayer": ["selectedLayerWatchHandler"],
|
2901
|
+
"selectedFeaturesIds": ["selectedFeaturesIdsWatchHandler"],
|
2902
|
+
"_controlsThatFit": ["_controlsThatFitWatchHandler"]
|
2483
2903
|
}; }
|
2484
2904
|
};
|
2485
2905
|
MapCard.style = MapCardStyle0;
|