@esri/solutions-components 0.10.38 → 0.10.40
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 +26 -6
- package/dist/cjs/buffer-tools_3.cjs.entry.js +23 -3
- package/dist/cjs/calcite-alert_5.cjs.entry.js +40 -5
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +11 -1
- package/dist/cjs/calcite-flow_4.cjs.entry.js +33 -10
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +119 -10
- package/dist/cjs/calcite-shell_3.cjs.entry.js +26 -4
- package/dist/cjs/card-manager_3.cjs.entry.js +41 -9
- package/dist/cjs/consent-manager.cjs.entry.js +12 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +13 -14
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +19 -9
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +13 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +38 -6
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +11 -2
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +20 -5
- package/dist/cjs/solution-contents_3.cjs.entry.js +37 -7
- package/dist/cjs/solution-item-accordion.cjs.entry.js +11 -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 +16 -1
- package/dist/collection/assets/t9n/card-manager/resources_ar.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_bg.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_bs.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_ca.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_cs.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_da.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_de.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_el.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_es.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_et.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_fi.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_fr.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_he.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_hr.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_hu.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_id.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_it.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_ja.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_ko.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_lt.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_lv.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_nb.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_nl.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_pl.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_pt-BR.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_pt-PT.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_ro.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_ru.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_sk.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_sl.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_sr.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_sv.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_th.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_tr.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_uk.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_vi.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-CN.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-HK.json +1 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-TW.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ar.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_bg.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_bs.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ca.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_cs.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_da.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_de.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_el.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_es.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_et.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_fi.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_fr.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_he.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_hr.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_hu.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_id.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_it.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ja.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ko.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_lt.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_lv.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_nb.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_nl.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_pl.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_pt-BR.json +2 -2
- package/dist/collection/assets/t9n/create-feature/resources_pt-PT.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ro.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ru.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_sk.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_sl.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_sr.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_sv.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_th.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_tr.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_uk.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_vi.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_zh-CN.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_zh-HK.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_zh-TW.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ar.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_bg.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_bs.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ca.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_cs.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_da.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_de.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_el.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_es.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_et.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_fi.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_fr.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_he.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_hr.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_hu.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_id.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_it.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ja.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ko.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_lt.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_lv.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_nb.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_nl.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pl.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-BR.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-PT.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ro.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ru.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sk.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sl.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sr.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sv.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_th.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_tr.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_uk.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_vi.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-CN.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-HK.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-TW.json +1 -1
- package/dist/collection/assets/t9n/feature-list/resources_ar.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_bg.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_bs.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_ca.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_cs.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_da.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_de.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_el.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_es.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_et.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_fi.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_fr.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_he.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_hr.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_hu.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_id.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_it.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_ja.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_ko.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_lt.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_lv.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_nb.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_nl.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_pl.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_pt-BR.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_pt-PT.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_ro.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_ru.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_sk.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_sl.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_sr.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_sv.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_th.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_tr.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_uk.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_vi.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_zh-CN.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_zh-HK.json +2 -2
- package/dist/collection/assets/t9n/feature-list/resources_zh-TW.json +2 -2
- package/dist/collection/assets/t9n/layer-table/resources_ar.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_bg.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_bs.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_ca.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_cs.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_da.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_de.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_el.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_es.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_et.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_fi.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_fr.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_he.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_hr.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_hu.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_id.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_it.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_ja.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_ko.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_lt.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_lv.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_nb.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_nl.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_pl.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_pt-BR.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_pt-PT.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_ro.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_ru.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_sk.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_sl.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_sr.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_sv.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_th.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_tr.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_uk.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_vi.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-CN.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-HK.json +1 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-TW.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ar.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_bg.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_bs.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_ca.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_cs.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_da.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_de.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_el.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_es.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_et.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_fi.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_fr.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_he.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_hr.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_hu.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_id.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_it.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_ja.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_ko.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_lt.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_lv.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_nb.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_nl.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_pl.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_pt-BR.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_pt-PT.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_ro.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_ru.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_sk.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_sl.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_sr.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_sv.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_th.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_tr.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_uk.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_vi.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-CN.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-HK.json +2 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-TW.json +2 -1
- package/dist/collection/collection-manifest.json +0 -7
- package/dist/collection/components/buffer-tools/buffer-tools.js +30 -1
- package/dist/collection/components/card-manager/card-manager.js +34 -2
- package/dist/collection/components/consent-manager/consent-manager.js +32 -0
- package/dist/collection/components/create-feature/create-feature.js +31 -2
- package/dist/collection/components/create-related-feature/create-related-feature.js +30 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +21 -23
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +38 -9
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.js +31 -2
- package/dist/collection/components/delete-dialog/delete-dialog.js +33 -1
- package/dist/collection/components/edit-card/edit-card.js +30 -1
- package/dist/collection/components/feature-details/feature-details.js +24 -6
- package/dist/collection/components/feature-list/feature-list.js +32 -3
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +36 -2
- package/dist/collection/components/json-editor/json-editor.js +38 -1
- package/dist/collection/components/layer-list/layer-list.js +35 -3
- package/dist/collection/components/layer-table/layer-table.js +34 -5
- package/dist/collection/components/map-card/map-card.js +31 -2
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +30 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +30 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +30 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +15 -4
- package/dist/collection/components/map-tools/map-tools.js +30 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +33 -1
- package/dist/collection/components/public-notification/public-notification.js +13 -2
- package/dist/collection/components/refine-selection/refine-selection.js +15 -1
- package/dist/collection/components/share-item/share-item.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +38 -4
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +37 -3
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +30 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +38 -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 +35 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +35 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +35 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +35 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +35 -1
- package/dist/collection/components/solution-variables/solution-variables.js +35 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +35 -1
- package/dist/collection/demos/crowdsource-manager.html +0 -1
- package/dist/collection/demos/crowdsource-reporter.html +2 -2
- package/dist/components/buffer-tools2.js +15 -3
- package/dist/components/card-manager2.js +18 -3
- package/dist/components/consent-manager.js +15 -0
- package/dist/components/create-feature2.js +14 -2
- package/dist/components/create-related-feature2.js +13 -1
- package/dist/components/crowdsource-manager.js +15 -16
- package/dist/components/crowdsource-reporter.js +21 -9
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +16 -4
- package/dist/components/delete-dialog2.js +16 -1
- package/dist/components/edit-card2.js +13 -1
- package/dist/components/feature-details2.js +8 -6
- package/dist/components/feature-list2.js +15 -3
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/info-card2.js +19 -2
- package/dist/components/json-editor2.js +21 -1
- package/dist/components/layer-list2.js +18 -3
- package/dist/components/layer-table2.js +17 -5
- package/dist/components/map-card2.js +14 -2
- package/dist/components/map-draw-tools2.js +13 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +13 -1
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +13 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +14 -4
- package/dist/components/map-tools2.js +13 -1
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +16 -1
- package/dist/components/public-notification.js +12 -2
- package/dist/components/refine-selection2.js +14 -1
- package/dist/components/share-item.js +1 -1
- package/dist/components/solution-configuration.js +23 -6
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-accordion.js +13 -1
- package/dist/components/solution-item-details2.js +22 -2
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +20 -3
- package/dist/components/solution-item2.js +22 -5
- package/dist/components/solution-organization-variables2.js +18 -1
- package/dist/components/solution-resource-item2.js +20 -3
- package/dist/components/solution-spatial-ref2.js +20 -3
- package/dist/components/solution-template-data2.js +20 -3
- package/dist/components/solution-variables2.js +18 -1
- package/dist/components/spatial-ref.js +18 -1
- package/dist/esm/basemap-gallery_7.entry.js +26 -6
- package/dist/esm/buffer-tools_3.entry.js +23 -3
- package/dist/esm/calcite-alert_5.entry.js +40 -5
- package/dist/esm/calcite-combobox_3.entry.js +11 -1
- package/dist/esm/calcite-flow_4.entry.js +33 -10
- package/dist/esm/calcite-shell-panel_14.entry.js +119 -10
- package/dist/esm/calcite-shell_3.entry.js +26 -4
- package/dist/esm/card-manager_3.entry.js +41 -9
- package/dist/esm/consent-manager.entry.js +12 -0
- package/dist/esm/crowdsource-manager.entry.js +13 -14
- package/dist/esm/crowdsource-reporter.entry.js +19 -9
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +13 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +38 -6
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/public-notification.entry.js +11 -2
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/solution-configuration.entry.js +20 -5
- package/dist/esm/solution-contents_3.entry.js +37 -7
- package/dist/esm/solution-item-accordion.entry.js +11 -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 +16 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ar.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_bg.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_bs.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ca.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_cs.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_da.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_de.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_el.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_es.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_et.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_fi.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_fr.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_he.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_hr.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_hu.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_id.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_it.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ja.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ko.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_lt.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_lv.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_nb.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_nl.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pl.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pt-BR.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pt-PT.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ro.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ru.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sk.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sl.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sr.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sv.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_th.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_tr.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_uk.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_vi.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-CN.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-HK.json +1 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-TW.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ar.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_bg.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_bs.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ca.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_cs.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_da.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_de.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_el.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_es.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_et.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_fi.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_fr.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_he.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_hr.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_hu.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_id.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_it.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ja.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ko.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_lt.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_lv.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_nb.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_nl.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_pl.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_pt-BR.json +2 -2
- package/dist/solutions-components/assets/t9n/create-feature/resources_pt-PT.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ro.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ru.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_sk.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_sl.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_sr.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_sv.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_th.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_tr.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_uk.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_vi.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_zh-CN.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_zh-HK.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_zh-TW.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ar.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bg.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bs.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ca.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_cs.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_da.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_de.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_el.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_es.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_et.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fi.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fr.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_he.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hr.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hu.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_id.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_it.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ja.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ko.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lt.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lv.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nb.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nl.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pl.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-BR.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-PT.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ro.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ru.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sk.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sl.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sr.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sv.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_th.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_tr.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_uk.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_vi.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-CN.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-HK.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-TW.json +1 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ar.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_bg.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_bs.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_ca.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_cs.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_da.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_de.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_el.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_es.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_et.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_fi.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_fr.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_he.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_hr.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_hu.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_id.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_it.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_ja.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_ko.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_lt.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_lv.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_nb.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_nl.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_pl.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_pt-BR.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_pt-PT.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_ro.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_ru.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_sk.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_sl.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_sr.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_sv.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_th.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_tr.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_uk.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_vi.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-CN.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-HK.json +2 -2
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-TW.json +2 -2
- package/dist/solutions-components/assets/t9n/layer-table/resources_ar.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_bg.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_bs.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ca.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_cs.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_da.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_de.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_el.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_es.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_et.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_fi.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_fr.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_he.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_hr.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_hu.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_id.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_it.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ja.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ko.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_lt.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_lv.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_nb.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_nl.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pl.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-BR.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-PT.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ro.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ru.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sk.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sl.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sr.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sv.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_th.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_tr.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_uk.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_vi.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-CN.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-HK.json +1 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-TW.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ar.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_bg.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_bs.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ca.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_cs.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_da.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_de.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_el.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_es.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_et.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_fi.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_fr.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_he.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_hr.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_hu.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_id.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_it.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ja.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ko.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_lt.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_lv.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_nb.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_nl.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pl.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pt-BR.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pt-PT.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ro.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ru.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sk.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sl.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sr.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sv.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_th.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_tr.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_uk.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_vi.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-CN.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-HK.json +2 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-TW.json +2 -1
- package/dist/solutions-components/demos/crowdsource-manager.html +0 -1
- package/dist/solutions-components/demos/crowdsource-reporter.html +2 -2
- package/dist/solutions-components/p-0a2e5861.entry.js +6 -0
- package/dist/solutions-components/{p-739ce6f3.entry.js → p-2f784608.entry.js} +1 -1
- package/dist/solutions-components/{p-1c2d0e90.entry.js → p-3e44cfab.entry.js} +1 -1
- package/dist/solutions-components/{p-841816a1.entry.js → p-41314f33.entry.js} +7 -7
- package/dist/solutions-components/{p-18089a0b.entry.js → p-471d5c7f.entry.js} +2 -2
- package/dist/solutions-components/p-5001cc41.entry.js +6 -0
- package/dist/solutions-components/p-561c0e02.entry.js +6 -0
- package/dist/solutions-components/p-56beff4c.entry.js +6 -0
- package/dist/solutions-components/p-592f2000.entry.js +6 -0
- package/dist/solutions-components/p-5cbf3eed.entry.js +6 -0
- package/dist/solutions-components/p-62d8796c.entry.js +17 -0
- package/dist/solutions-components/p-6d1922cc.entry.js +6 -0
- package/dist/solutions-components/p-80e81af7.entry.js +6 -0
- package/dist/solutions-components/{p-82ddf716.entry.js → p-8e2f4995.entry.js} +1 -1
- package/dist/solutions-components/{p-6502d0f8.entry.js → p-b7fbaeb7.entry.js} +1 -1
- package/dist/solutions-components/p-cced387c.entry.js +6 -0
- package/dist/solutions-components/{p-a5d79c86.entry.js → p-ce53e33d.entry.js} +2 -2
- package/dist/solutions-components/{p-59ccd27c.entry.js → p-d51c07d2.entry.js} +1 -1
- package/dist/solutions-components/p-d75cf651.entry.js +11 -0
- package/dist/solutions-components/p-d7afbe8d.entry.js +11 -0
- package/dist/solutions-components/p-e1e21798.entry.js +12 -0
- package/dist/solutions-components/p-e9026f9a.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/buffer-tools/buffer-tools.d.ts +8 -0
- package/dist/types/components/card-manager/card-manager.d.ts +8 -0
- package/dist/types/components/consent-manager/consent-manager.d.ts +8 -0
- package/dist/types/components/create-feature/create-feature.d.ts +8 -0
- package/dist/types/components/create-related-feature/create-related-feature.d.ts +8 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -4
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +8 -0
- package/dist/types/components/deduct-calculator/deduct-calculator.d.ts +1 -1
- package/dist/types/components/delete-button/delete-button.d.ts +9 -1
- package/dist/types/components/delete-dialog/delete-dialog.d.ts +8 -0
- package/dist/types/components/edit-card/edit-card.d.ts +8 -0
- package/dist/types/components/feature-details/feature-details.d.ts +4 -0
- package/dist/types/components/feature-list/feature-list.d.ts +8 -0
- package/dist/types/components/info-card/info-card.d.ts +8 -0
- package/dist/types/components/json-editor/json-editor.d.ts +8 -0
- package/dist/types/components/layer-list/layer-list.d.ts +8 -0
- package/dist/types/components/layer-table/layer-table.d.ts +9 -1
- package/dist/types/components/map-card/map-card.d.ts +8 -0
- package/dist/types/components/map-draw-tools/map-draw-tools.d.ts +8 -0
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +8 -0
- package/dist/types/components/map-picker/map-picker.d.ts +8 -0
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +4 -0
- package/dist/types/components/map-tools/map-tools.d.ts +8 -0
- package/dist/types/components/pdf-download/pdf-download.d.ts +8 -0
- package/dist/types/components/public-notification/public-notification.d.ts +4 -0
- package/dist/types/components/refine-selection/refine-selection.d.ts +4 -0
- package/dist/types/components/solution-configuration/solution-configuration.d.ts +8 -0
- package/dist/types/components/solution-item/solution-item.d.ts +8 -0
- package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +8 -0
- package/dist/types/components/solution-item-details/solution-item-details.d.ts +8 -0
- package/dist/types/components/solution-item-sharing/solution-item-sharing.d.ts +8 -0
- package/dist/types/components/solution-organization-variables/solution-organization-variables.d.ts +8 -0
- package/dist/types/components/solution-resource-item/solution-resource-item.d.ts +8 -0
- package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +8 -0
- package/dist/types/components/solution-template-data/solution-template-data.d.ts +8 -0
- package/dist/types/components/solution-variables/solution-variables.d.ts +8 -0
- package/dist/types/components/spatial-ref/spatial-ref.d.ts +8 -0
- package/dist/types/components.d.ts +266 -120
- package/dist/types/preact.d.ts +0 -16
- package/package.json +5 -5
- package/dist/cjs/feature-comments.cjs.entry.js +0 -61
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +0 -61
- package/dist/cjs/features-flow-item.cjs.entry.js +0 -61
- package/dist/cjs/layout-manager.cjs.entry.js +0 -114
- package/dist/cjs/list-flow-item.cjs.entry.js +0 -61
- package/dist/cjs/location-flow-item.cjs.entry.js +0 -61
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +0 -61
- package/dist/collection/assets/t9n/feature-comments/resources.json +0 -3
- package/dist/collection/assets/t9n/feature-comments/resources_en.json +0 -3
- package/dist/collection/assets/t9n/feature-form-flow-item/resources.json +0 -3
- package/dist/collection/assets/t9n/feature-form-flow-item/resources_en.json +0 -3
- package/dist/collection/assets/t9n/layout-manager/resources.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_ar.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_bg.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_bs.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_ca.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_cs.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_da.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_de.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_el.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_en.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_es.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_et.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_fi.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_fr.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_he.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_hr.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_hu.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_id.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_it.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_ja.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_ko.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_lt.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_lv.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_nb.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_nl.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_pl.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_pt-BR.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_pt-PT.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_ro.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_ru.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_sk.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_sl.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_sr.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_sv.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_th.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_tr.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_uk.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_vi.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_zh-CN.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_zh-HK.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_zh-TW.json +0 -7
- package/dist/collection/assets/t9n/list-flow-item/resources.json +0 -3
- package/dist/collection/assets/t9n/list-flow-item/resources_en.json +0 -3
- package/dist/collection/assets/t9n/location-flow-item/resources.json +0 -3
- package/dist/collection/assets/t9n/location-flow-item/resources_en.json +0 -3
- package/dist/collection/components/feature-comments/feature-comments.css +0 -19
- package/dist/collection/components/feature-comments/feature-comments.js +0 -80
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.css +0 -19
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +0 -80
- package/dist/collection/components/features-flow-item/features-flow-item.css +0 -19
- package/dist/collection/components/features-flow-item/features-flow-item.js +0 -80
- package/dist/collection/components/layout-manager/layout-manager.css +0 -73
- package/dist/collection/components/layout-manager/layout-manager.js +0 -161
- package/dist/collection/components/list-flow-item/list-flow-item.css +0 -19
- package/dist/collection/components/list-flow-item/list-flow-item.js +0 -80
- package/dist/collection/components/location-flow-item/location-flow-item.css +0 -19
- package/dist/collection/components/location-flow-item/location-flow-item.js +0 -80
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.css +0 -19
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +0 -80
- package/dist/components/feature-comments.d.ts +0 -11
- package/dist/components/feature-comments.js +0 -76
- package/dist/components/feature-form-flow-item.d.ts +0 -11
- package/dist/components/feature-form-flow-item.js +0 -76
- package/dist/components/features-flow-item.d.ts +0 -11
- package/dist/components/features-flow-item.js +0 -76
- package/dist/components/layout-manager.d.ts +0 -11
- package/dist/components/layout-manager.js +0 -159
- package/dist/components/list-flow-item.d.ts +0 -11
- package/dist/components/list-flow-item.js +0 -76
- package/dist/components/location-flow-item.d.ts +0 -11
- package/dist/components/location-flow-item.js +0 -76
- package/dist/components/refine-results-flow-item.d.ts +0 -11
- package/dist/components/refine-results-flow-item.js +0 -76
- package/dist/esm/feature-comments.entry.js +0 -57
- package/dist/esm/feature-form-flow-item.entry.js +0 -57
- package/dist/esm/features-flow-item.entry.js +0 -57
- package/dist/esm/layout-manager.entry.js +0 -110
- package/dist/esm/list-flow-item.entry.js +0 -57
- package/dist/esm/location-flow-item.entry.js +0 -57
- package/dist/esm/refine-results-flow-item.entry.js +0 -57
- package/dist/solutions-components/assets/t9n/feature-comments/resources.json +0 -3
- package/dist/solutions-components/assets/t9n/feature-comments/resources_en.json +0 -3
- package/dist/solutions-components/assets/t9n/feature-form-flow-item/resources.json +0 -3
- package/dist/solutions-components/assets/t9n/feature-form-flow-item/resources_en.json +0 -3
- package/dist/solutions-components/assets/t9n/layout-manager/resources.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_ar.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_bg.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_bs.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_ca.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_cs.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_da.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_de.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_el.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_en.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_es.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_et.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_fi.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_fr.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_he.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_hr.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_hu.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_id.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_it.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_ja.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_ko.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_lt.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_lv.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_nb.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_nl.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_pl.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_pt-BR.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_pt-PT.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_ro.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_ru.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_sk.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_sl.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_sr.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_sv.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_th.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_tr.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_uk.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_vi.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-CN.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-HK.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-TW.json +0 -7
- package/dist/solutions-components/assets/t9n/list-flow-item/resources.json +0 -3
- package/dist/solutions-components/assets/t9n/list-flow-item/resources_en.json +0 -3
- package/dist/solutions-components/assets/t9n/location-flow-item/resources.json +0 -3
- package/dist/solutions-components/assets/t9n/location-flow-item/resources_en.json +0 -3
- package/dist/solutions-components/p-04ab956c.entry.js +0 -6
- package/dist/solutions-components/p-06364211.entry.js +0 -6
- package/dist/solutions-components/p-1f07e21a.entry.js +0 -6
- package/dist/solutions-components/p-46416e11.entry.js +0 -6
- package/dist/solutions-components/p-70c0050c.entry.js +0 -6
- package/dist/solutions-components/p-720de4db.entry.js +0 -6
- package/dist/solutions-components/p-74bcef23.entry.js +0 -11
- package/dist/solutions-components/p-76154700.entry.js +0 -6
- package/dist/solutions-components/p-938bc915.entry.js +0 -6
- package/dist/solutions-components/p-97fe6ec5.entry.js +0 -6
- package/dist/solutions-components/p-9c4fef09.entry.js +0 -17
- package/dist/solutions-components/p-9d56f4b5.entry.js +0 -6
- package/dist/solutions-components/p-9da8a590.entry.js +0 -6
- package/dist/solutions-components/p-aac0c89c.entry.js +0 -6
- package/dist/solutions-components/p-be4c7ffd.entry.js +0 -6
- package/dist/solutions-components/p-d2612c30.entry.js +0 -6
- package/dist/solutions-components/p-df7de4b7.entry.js +0 -12
- package/dist/solutions-components/p-e345f9c4.entry.js +0 -6
- package/dist/solutions-components/p-eadff42b.entry.js +0 -11
- package/dist/solutions-components/p-fa1c368c.entry.js +0 -6
- package/dist/solutions-components/p-ff3858c6.entry.js +0 -6
- package/dist/types/components/feature-comments/feature-comments.d.ts +0 -19
- package/dist/types/components/feature-form-flow-item/feature-form-flow-item.d.ts +0 -19
- package/dist/types/components/features-flow-item/features-flow-item.d.ts +0 -19
- package/dist/types/components/layout-manager/layout-manager.d.ts +0 -69
- package/dist/types/components/list-flow-item/list-flow-item.d.ts +0 -19
- package/dist/types/components/location-flow-item/location-flow-item.d.ts +0 -19
- package/dist/types/components/refine-results-flow-item/refine-results-flow-item.d.ts +0 -19
@@ -21,6 +21,7 @@ const CreateRelatedFeature = /*@__PURE__*/ proxyCustomElement(class CreateRelate
|
|
21
21
|
this.fail = createEvent(this, "fail", 7);
|
22
22
|
this.isActionPending = createEvent(this, "isActionPending", 7);
|
23
23
|
this.formReady = createEvent(this, "formReady", 7);
|
24
|
+
this.locale = undefined;
|
24
25
|
this.mapView = undefined;
|
25
26
|
this.table = undefined;
|
26
27
|
this.selectedFeature = undefined;
|
@@ -66,6 +67,14 @@ const CreateRelatedFeature = /*@__PURE__*/ proxyCustomElement(class CreateRelate
|
|
66
67
|
// Watch handlers
|
67
68
|
//
|
68
69
|
//--------------------------------------------------------------------------
|
70
|
+
/**
|
71
|
+
* Fetch translations when the locale is updated
|
72
|
+
*/
|
73
|
+
async localeWatchHandler() {
|
74
|
+
// to support url param and language switcher
|
75
|
+
this.el.lang = this.locale;
|
76
|
+
await this._getTranslations();
|
77
|
+
}
|
69
78
|
/**
|
70
79
|
* Called each time the mapView prop is changed.
|
71
80
|
*/
|
@@ -156,7 +165,7 @@ const CreateRelatedFeature = /*@__PURE__*/ proxyCustomElement(class CreateRelate
|
|
156
165
|
}
|
157
166
|
render() {
|
158
167
|
const loaderClass = this._editorLoading ? "" : "display-none";
|
159
|
-
return (h(Fragment, { key: '
|
168
|
+
return (h(Fragment, { key: '48fffd1e9dd429d339d9a72e35f5c31561fc076f' }, this.showGuidingMsg && h("calcite-notice", { key: '9a6f700c135bb7593e4338981a30531e3d9fba8a', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { key: '7044e923a9fab833a7a6fe0bb97fa688d7e6eecc', slot: "message" }, this._translations.provideDetailsMsg)), h("calcite-loader", { key: '15599ae77e451d220689c13098a31c5788714306', class: loaderClass, label: "", scale: "s" })));
|
160
169
|
}
|
161
170
|
/**
|
162
171
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
@@ -343,11 +352,13 @@ const CreateRelatedFeature = /*@__PURE__*/ proxyCustomElement(class CreateRelate
|
|
343
352
|
this._translations = messages[0];
|
344
353
|
}
|
345
354
|
static get watchers() { return {
|
355
|
+
"locale": ["localeWatchHandler"],
|
346
356
|
"mapView": ["mapViewWatchHandler"],
|
347
357
|
"_editorLoading": ["_editorLoadingWatchHandler"]
|
348
358
|
}; }
|
349
359
|
static get style() { return CreateRelatedFeatureStyle0; }
|
350
360
|
}, [0, "create-related-feature", {
|
361
|
+
"locale": [1],
|
351
362
|
"mapView": [16],
|
352
363
|
"table": [16],
|
353
364
|
"selectedFeature": [16],
|
@@ -357,6 +368,7 @@ const CreateRelatedFeature = /*@__PURE__*/ proxyCustomElement(class CreateRelate
|
|
357
368
|
"_translations": [32],
|
358
369
|
"submit": [64]
|
359
370
|
}, undefined, {
|
371
|
+
"locale": ["localeWatchHandler"],
|
360
372
|
"mapView": ["mapViewWatchHandler"],
|
361
373
|
"_editorLoading": ["_editorLoadingWatchHandler"]
|
362
374
|
}]);
|
@@ -101,7 +101,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
101
101
|
this.enableSearch = true;
|
102
102
|
this.enableShare = false;
|
103
103
|
this.enableZoom = true;
|
104
|
-
this.
|
104
|
+
this.locale = undefined;
|
105
105
|
this.mapInfos = [];
|
106
106
|
this.onlyShowUpdatableLayers = true;
|
107
107
|
this.popupHeaderColor = undefined;
|
@@ -197,7 +197,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
197
197
|
if (newAppLayout !== oldAppLayout) {
|
198
198
|
this._setActiveLayout(newAppLayout);
|
199
199
|
// update the layer if table selected while switching to map view
|
200
|
-
if (this.appLayout === "mapView" && this._layer
|
200
|
+
if (this.appLayout === "mapView" && this._layer?.isTable) {
|
201
201
|
void this._mapCard.updateLayer();
|
202
202
|
}
|
203
203
|
if (this._isMapViewOnLoad) {
|
@@ -213,10 +213,12 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
213
213
|
this._initMapZoom();
|
214
214
|
}
|
215
215
|
/**
|
216
|
-
*
|
216
|
+
* Fetch translations when the locale is updated
|
217
217
|
*/
|
218
|
-
|
219
|
-
|
218
|
+
async localeWatchHandler() {
|
219
|
+
// to support url param and language switcher
|
220
|
+
this.el.lang = this.locale;
|
221
|
+
await this._getTranslations();
|
220
222
|
}
|
221
223
|
//--------------------------------------------------------------------------
|
222
224
|
//
|
@@ -307,7 +309,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
307
309
|
render() {
|
308
310
|
// only avoid border when we have a header color that is not white
|
309
311
|
const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
|
310
|
-
return (h(Host, { key: '
|
312
|
+
return (h(Host, { key: '8fd887051b4437477f1413843dfc6d938304364a' }, h("calcite-shell", { key: 'a9989a1698b268db75cdbcadcd3956d944daa25c', class: "position-relative" }, h("calcite-panel", { key: '88c5631e21b5ccb6a958e016c274e3aa746a6af1', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal()));
|
311
313
|
}
|
312
314
|
/**
|
313
315
|
* Called after each render
|
@@ -330,9 +332,6 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
330
332
|
this._defaultAppLayoutHonored = true;
|
331
333
|
this.appLayout = this.defaultAppLayout;
|
332
334
|
}
|
333
|
-
else if (this.hideMapOnLoad && !this.appLayout) {
|
334
|
-
this.appLayout = 'tableView';
|
335
|
-
}
|
336
335
|
else if (!this.appLayout) {
|
337
336
|
this.appLayout = 'splitView';
|
338
337
|
}
|
@@ -353,7 +352,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
353
352
|
_getFooter() {
|
354
353
|
const hasSelectedFeatures = this._numSelected > 0;
|
355
354
|
const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
|
356
|
-
return this._isPortraitMobile && hasSelectedFeatures && !this._hideFooter ? (h("div", { class: `width-100`, slot: "footer" }, h("div", { class: "display-flex padding-1-2" }, h("calcite-button", { appearance: "solid", id: "solutions-show", onClick: () => this.showHideMapPopupAndTable(true), width: "full" }, this._translations.view.replace("{{n}}", this._numSelected.toString())), deleteEnabled ? (h("delete-button", { class: "padding-inline-start-1 width-full", id: "solutions-delete", ids: this._layerTable.selectedIds, layer: this._layer })) : undefined))) : undefined;
|
355
|
+
return this._isPortraitMobile && hasSelectedFeatures && !this._hideFooter ? (h("div", { class: `width-100`, slot: "footer" }, h("div", { class: "display-flex padding-1-2" }, h("calcite-button", { appearance: "solid", id: "solutions-show", onClick: () => this.showHideMapPopupAndTable(true), width: "full" }, this._translations.view.replace("{{n}}", this._numSelected.toString())), deleteEnabled ? (h("delete-button", { class: "padding-inline-start-1 width-full", id: "solutions-delete", ids: this._layerTable.selectedIds, layer: this._layer, locale: this.locale })) : undefined))) : undefined;
|
357
356
|
}
|
358
357
|
/**
|
359
358
|
* sets the active layout to render
|
@@ -506,7 +505,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
506
505
|
const isTableLayout = this.appLayout === 'tableView';
|
507
506
|
const mapContainerClass = (isMapLayout || isTableLayout) ? "position-absolute-0" : this._layoutMode === ELayoutMode.HORIZONTAL && (!this._isPortraitMobile || panelOpen) ? "" : "adjusted-height-50";
|
508
507
|
const hasMapAndLayer = this.defaultWebmap && this.defaultLayer;
|
509
|
-
return (h("div", { class: `${mapContainerClass} overflow-hidden`, id: "card-mapView" }, h("map-card", { appLayout: this.appLayout, appProxies: this.appProxies, basemapConfig: this.basemapConfig, class: "width-full", defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultWebmapId: this.defaultWebmap, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableShare: this.enableShare, enableSingleExpand: true, hidden: !this._isPortraitMobile && isTableLayout, homeZoomIndex: 3, homeZoomPosition: "top-left", homeZoomToolsSize: "s", isMapLayout: isMapLayout, isMobile: this._isMobile, mapInfo: this._mapInfo, mapInfos: this.mapInfos?.filter(mapInfo => mapInfo.visible !== false), mapWidgetsIndex: 0, mapWidgetsPosition: "top-right", mapWidgetsSize: "m", onToggleFilter: this._toggleFilter.bind(this), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._mapCard = el, selectedFeaturesIds: this._layerTable?.selectedIds, selectedLayer: this._layer, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, stackTools: true, theme: this.theme, toolOrder: ["legend", "search", "fullscreen", "basemap", "floorfilter"], zoomToScale: this.zoomToScale })));
|
508
|
+
return (h("div", { class: `${mapContainerClass} overflow-hidden`, id: "card-mapView" }, h("map-card", { appLayout: this.appLayout, appProxies: this.appProxies, basemapConfig: this.basemapConfig, class: "width-full", defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultWebmapId: this.defaultWebmap, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableShare: this.enableShare, enableSingleExpand: true, hidden: !this._isPortraitMobile && isTableLayout, homeZoomIndex: 3, homeZoomPosition: "top-left", homeZoomToolsSize: "s", isMapLayout: isMapLayout, isMobile: this._isMobile, locale: this.locale, mapInfo: this._mapInfo, mapInfos: this.mapInfos?.filter(mapInfo => mapInfo.visible !== false), mapWidgetsIndex: 0, mapWidgetsPosition: "top-right", mapWidgetsSize: "m", onToggleFilter: this._toggleFilter.bind(this), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._mapCard = el, selectedFeaturesIds: this._layerTable?.selectedIds, selectedLayer: this._layer, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, stackTools: true, theme: this.theme, toolOrder: ["legend", "search", "fullscreen", "basemap", "floorfilter"], zoomToScale: this.zoomToScale })));
|
510
509
|
}
|
511
510
|
/**
|
512
511
|
* Get the expand node for the popup information
|
@@ -539,7 +538,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
539
538
|
const isTableLayout = this.appLayout === 'tableView';
|
540
539
|
const cardManagerHeight = isTableLayout && this.mapInfos?.length > 1 ? "adjusted-height-100-51" : isMapLayout || isTableLayout ? "height-full" : (this._numSelected > 0 && !this._isMobile) ? "height-50" : !this._showInformationHeader ? "adjusted-height-50_25" : !this._isPortraitMobile ? "height-50" : "height-full";
|
541
540
|
const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
|
542
|
-
return (h("div", { class: `width-50 height-full ${themeClass}` }, h("card-manager", { class: `${cardManagerHeight} width-full`, customInfoText: this.customInfoText, enableCreateFeatures: this._enableCreateFeatures && !this._isMobile, enableEditGeometry: this?._mapInfo?.enableEditGeometry, isMobile: this._isPortraitMobile, layer: this._layer, mapView: this?._mapView, onBackFromCreateWorkFlow: () => {
|
541
|
+
return (h("div", { class: `width-50 height-full ${themeClass}` }, h("card-manager", { class: `${cardManagerHeight} width-full`, customInfoText: this.customInfoText, enableCreateFeatures: this._enableCreateFeatures && !this._isMobile, enableEditGeometry: this?._mapInfo?.enableEditGeometry, isMobile: this._isPortraitMobile, layer: this._layer, locale: this.locale, mapView: this?._mapView, onBackFromCreateWorkFlow: () => {
|
543
542
|
this._showInformationHeader = true;
|
544
543
|
}, onCreateWorkFlowStarted: () => {
|
545
544
|
this.appLayout = this._layer.isTable ? "tableView" : "mapView";
|
@@ -568,7 +567,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
568
567
|
this.defaultGlobalId?.indexOf(",") > -1 ? this.defaultGlobalId.split(",") : [this.defaultGlobalId];
|
569
568
|
const defaultOid = !this.defaultOid ? undefined :
|
570
569
|
this.defaultOid?.indexOf(",") > -1 ? this.defaultOid.split(",").map(o => parseInt(o, 10)) : [parseInt(this.defaultOid, 10)];
|
571
|
-
return (h("calcite-shell", { class: `${tableSizeClass} border-bottom` }, !this._isMobile ? (h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, this.getActions(layoutMode, panelOpen))) : undefined, h("div", { class: `width-full height-full position-relative z-index-0 ${tableClass}` }, h("layer-table", { appLayout: this.appLayout, createFilterModal: false, defaultGlobalId: hasMapAndLayer ? globalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !globalId ? defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this?._mapInfo?.enableInlineEdit, enableShare: this.enableShare, isMobile: this._isPortraitMobile, mapHidden: isTableLayout, mapInfo: this._mapInfo, mapView: this?._mapView, onToggleFilter: this._toggleFilter.bind(this), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._layerTable = el, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected, zoomToScale: this.zoomToScale })), h("div", { class: mapClass, id: "full-map-view" })));
|
570
|
+
return (h("calcite-shell", { class: `${tableSizeClass} border-bottom` }, !this._isMobile ? (h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, this.getActions(layoutMode, panelOpen))) : undefined, h("div", { class: `width-full height-full position-relative z-index-0 ${tableClass}` }, h("layer-table", { appLayout: this.appLayout, createFilterModal: false, defaultGlobalId: hasMapAndLayer ? globalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !globalId ? defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this?._mapInfo?.enableInlineEdit, enableShare: this.enableShare, isMobile: this._isPortraitMobile, locale: this.locale, mapHidden: isTableLayout, mapInfo: this._mapInfo, mapView: this?._mapView, onToggleFilter: this._toggleFilter.bind(this), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._layerTable = el, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected, zoomToScale: this.zoomToScale })), h("div", { class: mapClass, id: "full-map-view" })));
|
572
571
|
}
|
573
572
|
/**
|
574
573
|
* Returns the Actions for table's node
|
@@ -776,7 +775,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
776
775
|
static get watchers() { return {
|
777
776
|
"appLayout": ["appLayoutWatchHandler"],
|
778
777
|
"enableZoom": ["enableZoomWatchHandler"],
|
779
|
-
"
|
778
|
+
"locale": ["localeWatchHandler"]
|
780
779
|
}; }
|
781
780
|
static get style() { return CrowdsourceManagerStyle0; }
|
782
781
|
}, [0, "crowdsource-manager", {
|
@@ -804,7 +803,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
804
803
|
"enableSearch": [4, "enable-search"],
|
805
804
|
"enableShare": [4, "enable-share"],
|
806
805
|
"enableZoom": [4, "enable-zoom"],
|
807
|
-
"
|
806
|
+
"locale": [1],
|
808
807
|
"mapInfos": [16],
|
809
808
|
"onlyShowUpdatableLayers": [4, "only-show-updatable-layers"],
|
810
809
|
"popupHeaderColor": [1, "popup-header-color"],
|
@@ -837,7 +836,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
837
836
|
}, [[8, "featureSelectionChange", "featureSelectionChange"], [8, "popupClosed", "popupClosed"], [8, "layoutChanged", "layoutChanged"], [8, "mapChanged", "mapChanged"], [8, "layerSelectionChange", "layerSelectionChange"], [8, "idsFound", "idsFound"]], {
|
838
837
|
"appLayout": ["appLayoutWatchHandler"],
|
839
838
|
"enableZoom": ["enableZoomWatchHandler"],
|
840
|
-
"
|
839
|
+
"locale": ["localeWatchHandler"]
|
841
840
|
}]);
|
842
841
|
function defineCustomElement$1() {
|
843
842
|
if (typeof customElements === "undefined") {
|
@@ -82,6 +82,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
82
82
|
this.layerExpressions = [];
|
83
83
|
this.layerId = undefined;
|
84
84
|
this.level = undefined;
|
85
|
+
this.locale = undefined;
|
85
86
|
this.loginTitle = undefined;
|
86
87
|
this.mapInfos = [];
|
87
88
|
this.mapView = undefined;
|
@@ -269,6 +270,14 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
269
270
|
async isMobileWatchHandler() {
|
270
271
|
this.updatePanelState(false, this._showFullPanel);
|
271
272
|
}
|
273
|
+
/**
|
274
|
+
* Fetch translations when the locale is updated
|
275
|
+
*/
|
276
|
+
async localeWatchHandler() {
|
277
|
+
// to support url param and language switcher
|
278
|
+
this.el.lang = this.locale;
|
279
|
+
await this._getTranslations();
|
280
|
+
}
|
272
281
|
/**
|
273
282
|
* Called each time the mapView prop is changed.
|
274
283
|
*/
|
@@ -309,7 +318,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
309
318
|
if (this._editableLayerIds) {
|
310
319
|
await this._updateFeatures();
|
311
320
|
setTimeout(() => {
|
312
|
-
// refresh layer list when user is on layer list panel
|
321
|
+
// refresh layer list when user is on layer list panel
|
313
322
|
if (this._flowItems[this._flowItems.length - 1] === "layer-list" && this._layerList) {
|
314
323
|
void this._layerList.refresh();
|
315
324
|
}
|
@@ -360,7 +369,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
360
369
|
*/
|
361
370
|
render() {
|
362
371
|
const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
|
363
|
-
return (h(Host, { key: '
|
372
|
+
return (h(Host, { key: 'fbe7fdc13c462e0fe155107ac784f03b3922d624' }, this._reportSubmitted && h("calcite-alert", { key: '9bcf7856ad01e7bc59142a862c50b9d84c443268', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '7b81a7c8b3d66159a790ab3d13be9f1b65a6202e', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { key: 'ee2f17e3326ef7c60fb2ee06ed313fd28cf7084a', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { key: 'b356832ee6d4d16a84cdea0abb6b1c677f9ca1f6', slot: "title" }, this._translations.error), h("div", { key: '8aa16df1114b75b6a3e2a76de7fb5c7cbc5d3632', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && h("calcite-alert", { key: 'e99693c23ef18b62daf892fccaacbbfe2486702d', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '58ccda0d3782dbe70d346b973b7648f8ae4c8c8f', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && h("calcite-alert", { key: 'e49e9e3b33df17dd90b3263bec6c17566f6f7b1b', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, h("div", { key: 'cfb88dd323ead1398cd73849f68a9c2846ef9d14', slot: "title" }, this._translations.error), h("div", { key: 'b27e8983a74c8613e569400b7c7ad0b14d43f323', slot: "message" }, this._translations.addingCommentFailedMsg)), h("div", { key: '7ac3d49d6383d2a88e54d91fa00e2c81aa91a890' }, h("calcite-shell", { key: '709e673f4e9261b4283c7593926d605c8a049abd', "content-behind": true }, this._getReporter()))));
|
364
373
|
}
|
365
374
|
//--------------------------------------------------------------------------
|
366
375
|
//
|
@@ -515,7 +524,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
515
524
|
*/
|
516
525
|
getLayerListFlowItem() {
|
517
526
|
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportsHeader }, this.isMobile && this.getActionToExpandCollapsePanel(), this._hasValidLayers && this.enableNewReports &&
|
518
|
-
h("calcite-button", { appearance: "solid", onClick: this.navigateToChooseCategory.bind(this), slot: "footer", width: "full" }, this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText), h("calcite-panel", { "full-height": true, "full-width": true }, h("layer-list", { applyLayerViewFilter: this.showMyReportsOnly, class: "height-full", layers: this._editableLayerIds?.length > 0 ? this._editableLayerIds : this._layers, mapView: this.mapView, onLayerSelect: this.displayFeaturesList.bind(this), onLayersListLoaded: this.layerListLoaded.bind(this), ref: el => this._layerList = el, showFeatureCount: true, showNextIcon: true }))));
|
527
|
+
h("calcite-button", { appearance: "solid", onClick: this.navigateToChooseCategory.bind(this), slot: "footer", width: "full" }, this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText), h("calcite-panel", { "full-height": true, "full-width": true }, h("layer-list", { applyLayerViewFilter: this.showMyReportsOnly, class: "height-full", layers: this._editableLayerIds?.length > 0 ? this._editableLayerIds : this._layers, locale: this.locale, mapView: this.mapView, onLayerSelect: this.displayFeaturesList.bind(this), onLayersListLoaded: this.layerListLoaded.bind(this), ref: el => this._layerList = el, showFeatureCount: true, showNextIcon: true }))));
|
519
528
|
}
|
520
529
|
/**
|
521
530
|
* Get the layer list for creating a report
|
@@ -526,7 +535,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
526
535
|
const onlyReportingLayers = this.reportingOptions ? Object.keys(this.reportingOptions).filter((layerId) => {
|
527
536
|
return this.reportingOptions[layerId].visible && this.reportingOptions[layerId].reporting && this._layerItemsHash[layerId] && this._layerItemsHash[layerId].supportsAdd;
|
528
537
|
}) : [];
|
529
|
-
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, h("calcite-panel", { "full-height": true, "full-width": true }, h("div", { class: "progress-bar" }, h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), h("calcite-notice", { class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { slot: "message" }, this._translations.chooseCategoryMsg)), h("layer-list", { class: "height-full", layers: onlyReportingLayers, mapView: this.mapView, onLayerSelect: this.navigateToCreateFeature.bind(this), showFeatureCount: false, showNextIcon: false }))));
|
538
|
+
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, h("calcite-panel", { "full-height": true, "full-width": true }, h("div", { class: "progress-bar" }, h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), h("calcite-notice", { class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { slot: "message" }, this._translations.chooseCategoryMsg)), h("layer-list", { class: "height-full", layers: onlyReportingLayers, locale: this.locale, mapView: this.mapView, onLayerSelect: this.navigateToCreateFeature.bind(this), showFeatureCount: false, showNextIcon: false }))));
|
530
539
|
}
|
531
540
|
/**
|
532
541
|
* Get Feature create form of the selected feature layer
|
@@ -534,7 +543,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
534
543
|
* @protected
|
535
544
|
*/
|
536
545
|
getFeatureCreateFlowItem() {
|
537
|
-
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromCreateFeaturePanel.bind(this) }, this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateFeaturePanel.bind(this), width: "full" }, this._translations.cancel)), h("calcite-panel", { "full-height": true, "full-width": true }, h("div", { class: "progress-bar" }, h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), h("create-feature", { customizeSubmit: true, enableSearch: true, floorLevel: this.floorLevel, formElements: this._formElements.find(elm => elm.id === this._selectedLayerId), isMobile: this.isMobile, mapView: this.mapView, onDrawComplete: this.onFormReady.bind(this), onEditingAttachment: this.showSubmitCancelButton.bind(this), onFail: this.createFeatureFailed.bind(this), onModeChanged: this.backFromCreateFeaturePanel.bind(this), onProgressStatus: this.updatedProgressStatus.bind(this), onSuccess: this.onReportSubmitted.bind(this), ref: el => this._createFeature = el, searchConfiguration: this.searchConfiguration, selectedLayerId: this._selectedLayerId }))));
|
546
|
+
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromCreateFeaturePanel.bind(this) }, this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateFeaturePanel.bind(this), width: "full" }, this._translations.cancel)), h("calcite-panel", { "full-height": true, "full-width": true }, h("div", { class: "progress-bar" }, h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), h("create-feature", { customizeSubmit: true, enableSearch: true, floorLevel: this.floorLevel, formElements: this._formElements.find(elm => elm.id === this._selectedLayerId), isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, onDrawComplete: this.onFormReady.bind(this), onEditingAttachment: this.showSubmitCancelButton.bind(this), onFail: this.createFeatureFailed.bind(this), onModeChanged: this.backFromCreateFeaturePanel.bind(this), onProgressStatus: this.updatedProgressStatus.bind(this), onSuccess: this.onReportSubmitted.bind(this), ref: el => this._createFeature = el, searchConfiguration: this.searchConfiguration, selectedLayerId: this._selectedLayerId }))));
|
538
547
|
}
|
539
548
|
/**
|
540
549
|
* Update the progress bar status when editor panel changes
|
@@ -886,7 +895,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
886
895
|
const canCreateReports = this._getLayersConfig(this._selectedLayerId)?.reporting && this._layerItemsHash[this._selectedLayerId].supportsAdd;
|
887
896
|
const showFilterIcon = layerExpressions?.length > 0;
|
888
897
|
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: layerName, loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this._toggleSort(), h("calcite-action", { icon: "sort-ascending-arrow", id: "sort-popover", slot: "header-actions-end", text: this._translations.sort, title: this._translations.sort }), showFilterIcon && h("calcite-action", { icon: "filter", indicator: this._filterActive, onClick: () => { this._flowItems = [...this._flowItems, "filter-panel"]; }, slot: "header-actions-end", text: this._translations.filter, title: this._translations.filter }), this.isMobile && this.getActionToExpandCollapsePanel(), this.enableNewReports && canCreateReports &&
|
889
|
-
h("calcite-button", { appearance: "solid", onClick: this.navigateToCreateFeature.bind(this), slot: "footer", width: "full" }, this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText), h("calcite-panel", { "full-height": true }, h("feature-list", { applyLayerViewFilter: this.showMyReportsOnly, class: "height-full", highlightOnHover: true, mapView: this.mapView, noFeaturesFoundMsg: this._translations.featureErrorMsg, onFeatureSelect: this.onFeatureSelectFromList.bind(this), pageSize: 30, ref: el => this._featureList = el, reportingOptions: this.reportingOptions, selectedLayerId: layerId, showFeatureSymbol: this.showFeatureSymbol, sortingInfo: this._updatedSorting }))));
|
898
|
+
h("calcite-button", { appearance: "solid", onClick: this.navigateToCreateFeature.bind(this), slot: "footer", width: "full" }, this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText), h("calcite-panel", { "full-height": true }, h("feature-list", { applyLayerViewFilter: this.showMyReportsOnly, class: "height-full", highlightOnHover: true, locale: this.locale, mapView: this.mapView, noFeaturesFoundMsg: this._translations.featureErrorMsg, onFeatureSelect: this.onFeatureSelectFromList.bind(this), pageSize: 30, ref: el => this._featureList = el, reportingOptions: this.reportingOptions, selectedLayerId: layerId, showFeatureSymbol: this.showFeatureSymbol, sortingInfo: this._updatedSorting }))));
|
890
899
|
}
|
891
900
|
/**
|
892
901
|
* Returns the calcite-flow item for filter
|
@@ -903,7 +912,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
903
912
|
*/
|
904
913
|
getFeatureDetailsFlowItem() {
|
905
914
|
const showCommentBtn = this._getLayersConfig(this._selectedLayerId)?.comment && this._selectedLayer.relationships.length > 0 && this._relatedTable;
|
906
|
-
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("instant-apps-social-share", { autoUpdateShareUrl: false, class: "share-node", embed: false, popoverButtonIconScale: "s", ref: el => this._shareNode = el, removePopoverOffset: true, scale: "m", shareButtonColor: "neutral", shareButtonType: "action", slot: "header-actions-end", socialMedia: true, view: this.mapView }), this._selectedFeature.length > 1 && this.getFeaturesPagination(), h("calcite-panel", null, h("feature-details", { class: 'full-height', graphics: this._selectedFeature, layerItemsHash: this._layerItemsHash, mapView: this.mapView, onAddComment: this.showAddCommentsPanel.bind(this), onCommentSelect: this.onCommentSelectFromList.bind(this), onFeatureSelectionChange: this.selectionChanged.bind(this), onLikeOrDislikeClicked: () => { void this._featureList.refresh(true); }, onLoadingStatus: (evt) => void this.updatingFeatureDetails(evt.detail), ref: el => this._featureDetails = el, reportingOptions: this.reportingOptions, showUserImageInCommentsList: this.showUserImageInCommentsList }), showCommentBtn &&
|
915
|
+
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("instant-apps-social-share", { autoUpdateShareUrl: false, class: "share-node", embed: false, popoverButtonIconScale: "s", ref: el => this._shareNode = el, removePopoverOffset: true, scale: "m", shareButtonColor: "neutral", shareButtonType: "action", slot: "header-actions-end", socialMedia: true, view: this.mapView }), this._selectedFeature.length > 1 && this.getFeaturesPagination(), h("calcite-panel", null, h("feature-details", { class: 'full-height', graphics: this._selectedFeature, layerItemsHash: this._layerItemsHash, locale: this.locale, mapView: this.mapView, onAddComment: this.showAddCommentsPanel.bind(this), onCommentSelect: this.onCommentSelectFromList.bind(this), onFeatureSelectionChange: this.selectionChanged.bind(this), onLikeOrDislikeClicked: () => { void this._featureList.refresh(true); }, onLoadingStatus: (evt) => void this.updatingFeatureDetails(evt.detail), ref: el => this._featureDetails = el, reportingOptions: this.reportingOptions, showUserImageInCommentsList: this.showUserImageInCommentsList }), showCommentBtn &&
|
907
916
|
h("calcite-button", { appearance: "solid", onClick: this.showAddCommentsPanel.bind(this), slot: "footer", width: "full" }, this.commentButtonText || this._translations.comment))));
|
908
917
|
}
|
909
918
|
/**
|
@@ -919,14 +928,14 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
919
928
|
* @returns Node
|
920
929
|
*/
|
921
930
|
getCommentDetailsFlowItem() {
|
922
|
-
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._relatedTable.title, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("calcite-panel", { "full-height": true }, h("info-card", { allowEditing: false, graphics: this._selectedRelatedFeature, highlightEnabled: false, isLoading: false, isMobile: false, mapView: this.mapView, paginationEnabled: false }))));
|
931
|
+
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._relatedTable.title, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("calcite-panel", { "full-height": true }, h("info-card", { allowEditing: false, graphics: this._selectedRelatedFeature, highlightEnabled: false, isLoading: false, isMobile: false, locale: this.locale, mapView: this.mapView, paginationEnabled: false }))));
|
923
932
|
}
|
924
933
|
/**
|
925
934
|
* Returns the calcite-flow item for add comment
|
926
935
|
* @returns Node
|
927
936
|
*/
|
928
937
|
getAddCommentFlowItem() {
|
929
|
-
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._relatedTable.title, onCalciteFlowItemBack: this.backFromCreateRelatedFeaturePanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("div", { class: "width-full", slot: "footer" }, this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateRelatedFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateRelatedFeaturePanel.bind(this), width: "full" }, this._translations.cancel))), h("calcite-panel", null, h("create-related-feature", { customizeSubmit: true, mapView: this.mapView, onFail: this.addCommentFailed.bind(this), onFormReady: this.onFormReady.bind(this), onIsActionPending: this.showSubmitCancelButton.bind(this), onSuccess: this.onCommentSubmitted.bind(this), ref: el => this._createRelatedFeature = el, selectedFeature: this._currentFeature, table: this._relatedTable }))));
|
938
|
+
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._relatedTable.title, onCalciteFlowItemBack: this.backFromCreateRelatedFeaturePanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("div", { class: "width-full", slot: "footer" }, this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateRelatedFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateRelatedFeaturePanel.bind(this), width: "full" }, this._translations.cancel))), h("calcite-panel", null, h("create-related-feature", { customizeSubmit: true, locale: this.locale, mapView: this.mapView, onFail: this.addCommentFailed.bind(this), onFormReady: this.onFormReady.bind(this), onIsActionPending: this.showSubmitCancelButton.bind(this), onSuccess: this.onCommentSubmitted.bind(this), ref: el => this._createRelatedFeature = el, selectedFeature: this._currentFeature, table: this._relatedTable }))));
|
930
939
|
}
|
931
940
|
/**
|
932
941
|
* Sets the selected features and updates the first feature as the current selected feature
|
@@ -1273,6 +1282,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
1273
1282
|
}
|
1274
1283
|
static get watchers() { return {
|
1275
1284
|
"isMobile": ["isMobileWatchHandler"],
|
1285
|
+
"locale": ["localeWatchHandler"],
|
1276
1286
|
"mapView": ["mapViewWatchHandler"],
|
1277
1287
|
"floorLevel": ["floorLevelWatchHandler"],
|
1278
1288
|
"showMyReportsOnly": ["showMyReportsOnlyWatchHandler"]
|
@@ -1296,6 +1306,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
1296
1306
|
"layerExpressions": [16],
|
1297
1307
|
"layerId": [1, "layer-id"],
|
1298
1308
|
"level": [1],
|
1309
|
+
"locale": [1],
|
1299
1310
|
"loginTitle": [1, "login-title"],
|
1300
1311
|
"mapInfos": [16],
|
1301
1312
|
"mapView": [16],
|
@@ -1330,6 +1341,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
1330
1341
|
"_addingCommentFailed": [32]
|
1331
1342
|
}, undefined, {
|
1332
1343
|
"isMobile": ["isMobileWatchHandler"],
|
1344
|
+
"locale": ["localeWatchHandler"],
|
1333
1345
|
"mapView": ["mapViewWatchHandler"],
|
1334
1346
|
"floorLevel": ["floorLevelWatchHandler"],
|
1335
1347
|
"showMyReportsOnly": ["showMyReportsOnlyWatchHandler"]
|
@@ -923,7 +923,7 @@ const DeductCalculator = /*@__PURE__*/ proxyCustomElement(class DeductCalculator
|
|
923
923
|
* Renders the component.
|
924
924
|
*/
|
925
925
|
render() {
|
926
|
-
return (h(Host, { key: '
|
926
|
+
return (h(Host, { key: '021786cd4ccb8c826df0822983ba6e0e7fb3c890' }, h("div", { key: '6a55996f013e74b3f761c9fd4b141d60d9b0239f', class: "label-display" }, h("calcite-label", { key: '54108b452ef18af979148f069f56503db220cc60', class: "label-display" }, "Density %", this._getDensityInput()), h("calcite-label", { key: '011af5ed63f169b32905abd809ad0b8c6c21900c', class: "label-display" }, "Type", this._getTypeInput()), h("calcite-label", { key: '9f5f04799c26f1911f17bb046abd0b27c8d3ce01', class: "label-display" }, "Severity", this._getSeverityInput())), h("div", { key: '8cd00c331e1f1541c43a02b7e6d991ee41d864e6' }, this._getCalculateInput())));
|
927
927
|
}
|
928
928
|
//--------------------------------------------------------------------------
|
929
929
|
//
|
@@ -29,6 +29,7 @@ const DeleteButton = /*@__PURE__*/ proxyCustomElement(class DeleteButton extends
|
|
29
29
|
this.icon = undefined;
|
30
30
|
this.ids = [];
|
31
31
|
this.layer = undefined;
|
32
|
+
this.locale = undefined;
|
32
33
|
this._confirmDelete = false;
|
33
34
|
this._deleteEndabled = false;
|
34
35
|
this._supportsDelete = undefined;
|
@@ -57,6 +58,14 @@ const DeleteButton = /*@__PURE__*/ proxyCustomElement(class DeleteButton extends
|
|
57
58
|
async layerWatchHandler() {
|
58
59
|
this._setDeleteEnabled();
|
59
60
|
}
|
61
|
+
/**
|
62
|
+
* Fetch translations when the locale is updated
|
63
|
+
*/
|
64
|
+
async localeWatchHandler() {
|
65
|
+
// to support url param and language switcher
|
66
|
+
this.el.lang = this.locale;
|
67
|
+
await this._getTranslations();
|
68
|
+
}
|
60
69
|
//--------------------------------------------------------------------------
|
61
70
|
//
|
62
71
|
// Methods (public)
|
@@ -88,7 +97,7 @@ const DeleteButton = /*@__PURE__*/ proxyCustomElement(class DeleteButton extends
|
|
88
97
|
* Renders the component.
|
89
98
|
*/
|
90
99
|
render() {
|
91
|
-
return (h(Host, { key: '
|
100
|
+
return (h(Host, { key: '1816da3d5cd7903b4e699dffa4ac4836dca722bb' }, this.buttonType === "button" ? (h("calcite-button", { appearance: "outline", disabled: !this._deleteEndabled, id: "solutions-delete", kind: "danger", onClick: () => this._delete(), width: "full" }, this._translations.deleteCount.replace("{{n}}", this.ids.length.toString()))) : (h("calcite-action", { appearance: "solid", compact: true, disabled: !this._deleteEndabled, id: this.icon, onClick: () => this._delete(), scale: "s", text: this._translations.delete }, h("calcite-button", { appearance: "transparent", iconStart: this.icon, kind: "danger" }, this._translations.delete))), this._deleteMessage(), h("calcite-tooltip", { key: '26fc4d4b4ea02b7a6c5e3f87abe2c5b8f96a3654', placement: "bottom", "reference-element": this.buttonType === "button" ? "solutions-delete" : this.icon }, h("span", { key: 'c2f7b101bb3a99274fe7f364ad29365c212d856e' }, this._translations.delete))));
|
92
101
|
}
|
93
102
|
/**
|
94
103
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
@@ -122,7 +131,7 @@ const DeleteButton = /*@__PURE__*/ proxyCustomElement(class DeleteButton extends
|
|
122
131
|
* @returns node to confirm or deny the delete operation
|
123
132
|
*/
|
124
133
|
_deleteMessage() {
|
125
|
-
return this.deleteDialog ? this.deleteDialog : (h("delete-dialog", { id: "solution-delete-dialog", ids: this.ids, layer: this.layer, onDeleteDialogClose: () => this._confirmDelete = false, open: this._confirmDelete }));
|
134
|
+
return this.deleteDialog ? this.deleteDialog : (h("delete-dialog", { id: "solution-delete-dialog", ids: this.ids, layer: this.layer, locale: this.locale, onDeleteDialogClose: () => this._confirmDelete = false, open: this._confirmDelete }));
|
126
135
|
}
|
127
136
|
/**
|
128
137
|
* Fetches the component's translations
|
@@ -136,7 +145,8 @@ const DeleteButton = /*@__PURE__*/ proxyCustomElement(class DeleteButton extends
|
|
136
145
|
}
|
137
146
|
static get watchers() { return {
|
138
147
|
"ids": ["idsWatchHandler"],
|
139
|
-
"layer": ["layerWatchHandler"]
|
148
|
+
"layer": ["layerWatchHandler"],
|
149
|
+
"locale": ["localeWatchHandler"]
|
140
150
|
}; }
|
141
151
|
static get style() { return DeleteButtonStyle0; }
|
142
152
|
}, [1, "delete-button", {
|
@@ -146,13 +156,15 @@ const DeleteButton = /*@__PURE__*/ proxyCustomElement(class DeleteButton extends
|
|
146
156
|
"icon": [1],
|
147
157
|
"ids": [16],
|
148
158
|
"layer": [16],
|
159
|
+
"locale": [1],
|
149
160
|
"_confirmDelete": [32],
|
150
161
|
"_deleteEndabled": [32],
|
151
162
|
"_supportsDelete": [32],
|
152
163
|
"_translations": [32]
|
153
164
|
}, undefined, {
|
154
165
|
"ids": ["idsWatchHandler"],
|
155
|
-
"layer": ["layerWatchHandler"]
|
166
|
+
"layer": ["layerWatchHandler"],
|
167
|
+
"locale": ["localeWatchHandler"]
|
156
168
|
}]);
|
157
169
|
function defineCustomElement() {
|
158
170
|
if (typeof customElements === "undefined") {
|
@@ -23,6 +23,7 @@ const DeleteDialog = /*@__PURE__*/ proxyCustomElement(class DeleteDialog extends
|
|
23
23
|
this.deleteDialogClose = createEvent(this, "deleteDialogClose", 7);
|
24
24
|
this.ids = [];
|
25
25
|
this.layer = undefined;
|
26
|
+
this.locale = undefined;
|
26
27
|
this.open = false;
|
27
28
|
this._isDeleting = false;
|
28
29
|
this._translations = undefined;
|
@@ -38,6 +39,14 @@ const DeleteDialog = /*@__PURE__*/ proxyCustomElement(class DeleteDialog extends
|
|
38
39
|
// Watch handlers
|
39
40
|
//
|
40
41
|
//--------------------------------------------------------------------------
|
42
|
+
/**
|
43
|
+
* Fetch translations when the locale is updated
|
44
|
+
*/
|
45
|
+
async localeWatchHandler() {
|
46
|
+
// to support url param and language switcher
|
47
|
+
this.el.lang = this.locale;
|
48
|
+
await this._getTranslations();
|
49
|
+
}
|
41
50
|
//--------------------------------------------------------------------------
|
42
51
|
//
|
43
52
|
// Methods (public)
|
@@ -75,7 +84,7 @@ const DeleteDialog = /*@__PURE__*/ proxyCustomElement(class DeleteDialog extends
|
|
75
84
|
render() {
|
76
85
|
const confirmMessage = this.ids.length === 1 ? this._translations?.confirmSingle :
|
77
86
|
this._translations?.confirmMultiple;
|
78
|
-
return (h(Host, { key: '
|
87
|
+
return (h(Host, { key: 'eafca7d4325c65ff21fbfeaa24ea14e95bc25a34' }, h("calcite-modal", { key: '745e52d7b23318492914662cc769a1206baefd28', "aria-labelledby": "modal-title", class: "delete-modal", kind: "danger", onCalciteModalClose: () => this._close(), open: this.open, widthScale: "s" }, h("div", { key: '363614f6eaf30c30c6c2ccde3875dfff5cd94088', class: "display-flex align-center", id: "modal-title", slot: "header" }, this._translations?.deleteFeature), h("div", { key: 'b3b6f74495894589b7fd8be54265c4a69ffaa62e', slot: "content" }, confirmMessage), h("calcite-button", { key: 'd325fcf12624bac39f56ec690f7e4e9660789891', appearance: "outline", kind: "danger", onClick: () => this._close(), slot: "secondary", width: "full" }, this._translations?.cancel), h("calcite-button", { key: '73a10546ad92065c949bfacca3eb3d508685030e', kind: "danger", loading: this._isDeleting, onClick: () => void this._deleteFeatures(), slot: "primary", width: "full" }, this._translations?.delete))));
|
79
88
|
}
|
80
89
|
//--------------------------------------------------------------------------
|
81
90
|
//
|
@@ -114,13 +123,19 @@ const DeleteDialog = /*@__PURE__*/ proxyCustomElement(class DeleteDialog extends
|
|
114
123
|
const messages = await getLocaleComponentStrings(this.el);
|
115
124
|
this._translations = messages[0];
|
116
125
|
}
|
126
|
+
static get watchers() { return {
|
127
|
+
"locale": ["localeWatchHandler"]
|
128
|
+
}; }
|
117
129
|
static get style() { return DeleteDialogStyle0; }
|
118
130
|
}, [1, "delete-dialog", {
|
119
131
|
"ids": [16],
|
120
132
|
"layer": [16],
|
133
|
+
"locale": [1],
|
121
134
|
"open": [4],
|
122
135
|
"_isDeleting": [32],
|
123
136
|
"_translations": [32]
|
137
|
+
}, undefined, {
|
138
|
+
"locale": ["localeWatchHandler"]
|
124
139
|
}]);
|
125
140
|
function defineCustomElement() {
|
126
141
|
if (typeof customElements === "undefined") {
|
@@ -23,6 +23,7 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
|
|
23
23
|
this.refreshGraphics = createEvent(this, "refreshGraphics", 7);
|
24
24
|
this.enableEditGeometry = false;
|
25
25
|
this.graphics = undefined;
|
26
|
+
this.locale = undefined;
|
26
27
|
this.mapView = undefined;
|
27
28
|
this.open = false;
|
28
29
|
this.graphicIndex = 0;
|
@@ -106,6 +107,14 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
|
|
106
107
|
await this._closeEdit(true);
|
107
108
|
}
|
108
109
|
}
|
110
|
+
/**
|
111
|
+
* Fetch translations when the locale is updated
|
112
|
+
*/
|
113
|
+
async localeWatchHandler() {
|
114
|
+
// to support url param and language switcher
|
115
|
+
this.el.lang = this.locale;
|
116
|
+
await this._getTranslations();
|
117
|
+
}
|
109
118
|
async openWatchHandler(v) {
|
110
119
|
if (v && this.graphics?.length > 0 && this.graphicIndex > -1) {
|
111
120
|
this._editorLoading = true;
|
@@ -190,7 +199,7 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
|
|
190
199
|
!this.graphics[0].layer.editingEnabled : true;
|
191
200
|
const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
|
192
201
|
const loadingClass = this._editorLoading ? "" : "display-none";
|
193
|
-
return (h(Host, { key: '
|
202
|
+
return (h(Host, { key: '15ae3de9c8ab0a66a0185ffaafc27f03e19c77b7' }, h("div", { key: 'bbaa7dbc405259b64dfceca89e45abf6372c76c3', class: "position-absolute" }, editDisabled ? (h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, h("div", { key: 'eb8b08fa0b08cf93581fb8e76d59bd8b5446770f', class: "position-absolute" }, h("div", { key: '03e525373c09fbcd4dad213738d97b99f1549975', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), h("calcite-loader", { key: '1cc46d8f6499a90736e05c2eed9bff71aff35d12', class: loadingClass, label: "", scale: "s" })))));
|
194
203
|
}
|
195
204
|
//--------------------------------------------------------------------------
|
196
205
|
//
|
@@ -296,12 +305,14 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
|
|
296
305
|
}
|
297
306
|
static get watchers() { return {
|
298
307
|
"graphics": ["graphicsWatchHandler"],
|
308
|
+
"locale": ["localeWatchHandler"],
|
299
309
|
"open": ["openWatchHandler"]
|
300
310
|
}; }
|
301
311
|
static get style() { return EditCardStyle0; }
|
302
312
|
}, [0, "edit-card", {
|
303
313
|
"enableEditGeometry": [4, "enable-edit-geometry"],
|
304
314
|
"graphics": [1040],
|
315
|
+
"locale": [1],
|
305
316
|
"mapView": [16],
|
306
317
|
"open": [1028],
|
307
318
|
"graphicIndex": [2, "graphic-index"],
|
@@ -309,6 +320,7 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
|
|
309
320
|
"_translations": [32]
|
310
321
|
}, [[8, "featureSelectionChange", "featureSelectionChange"]], {
|
311
322
|
"graphics": ["graphicsWatchHandler"],
|
323
|
+
"locale": ["localeWatchHandler"],
|
312
324
|
"open": ["openWatchHandler"]
|
313
325
|
}]);
|
314
326
|
function defineCustomElement() {
|
@@ -51,6 +51,7 @@ const FeatureDetails = /*@__PURE__*/ proxyCustomElement(class FeatureDetails ext
|
|
51
51
|
this.graphics = undefined;
|
52
52
|
this.reportingOptions = undefined;
|
53
53
|
this.layerItemsHash = undefined;
|
54
|
+
this.locale = undefined;
|
54
55
|
this.showUserImageInCommentsList = false;
|
55
56
|
this._likeFieldAvailable = false;
|
56
57
|
this._likeCount = 0;
|
@@ -199,12 +200,12 @@ const FeatureDetails = /*@__PURE__*/ proxyCustomElement(class FeatureDetails ext
|
|
199
200
|
render() {
|
200
201
|
//When related features found show comments list of only those features else comments list will be empty
|
201
202
|
const commentsListWhereClause = this._relatedFeaturesOIDs?.length > 0 ? `objectId in(${this._relatedFeaturesOIDs})` : '1=0';
|
202
|
-
return (h("calcite-panel", { key: '
|
203
|
-
h("div", { key: '
|
204
|
-
h("calcite-button", { key: '
|
205
|
-
h("calcite-button", { key: '
|
206
|
-
h("calcite-button", { key: '
|
207
|
-
h("feature-list", { key: '
|
203
|
+
return (h("calcite-panel", { key: 'be7bebe9da698d963a2602fcacb95ac7206ac1e9', "full-height": true }, h("info-card", { key: '1e069f52d59d42f3e2b88463ea7c536c65a0a6b5', allowEditing: false, graphics: this.graphics, highlightEnabled: false, isLoading: false, isMobile: false, locale: this.locale, mapView: this.mapView, onSelectionChanged: (e) => { this.featureSelectionChange.emit(e.detail); }, paginationEnabled: false, position: "relative", ref: el => this._infoCard = el }), (this._likeFieldAvailable || this._dislikeFieldAvailable || this._commentsAvailable) &&
|
204
|
+
h("div", { key: 'd53f5a1726e4c6299ffd04e266d84005181645f6', class: "buttons-container" }, this._commentsAvailable &&
|
205
|
+
h("calcite-button", { key: '4c2616cc9e0107258f5313b66ae96fa31fe582c5', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
|
206
|
+
h("calcite-button", { key: '7c87aa085df04a8b58625097c2ce70e5853b82f9', appearance: "transparent", iconEnd: "thumbs-up", kind: this._isLikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onLikeButtonClick.bind(this), scale: 'm' }, this._likeCount ?? this._selectedGraphic.attributes[this._likeField] ?? 0), this._dislikeFieldAvailable &&
|
207
|
+
h("calcite-button", { key: '59eb48b91fc2a394cafdcbeeebf5baafae9a8c9b', appearance: "transparent", iconEnd: "thumbs-down", kind: this._isDislikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onDislikeButtonClick.bind(this), scale: 'm' }, this._disLikeCount ?? this._selectedGraphic.attributes[this._dislikeField] ?? 0)), this.relatedTableId && this._commentsAvailable &&
|
208
|
+
h("feature-list", { key: 'f34ee203202944666c40e14bdfdc59265414fbe1', class: "height-full", locale: this.locale, mapView: this.mapView, onFeatureSelect: (e) => { this.commentSelect.emit(e.detail); }, pageSize: 5, ref: el => this._commentsList = el, selectedLayerId: this.relatedTableId, showErrorWhenNoFeatures: false, showInitialLoading: false, showUserImageInList: this.showUserImageInCommentsList, textSize: "small", whereClause: commentsListWhereClause })));
|
208
209
|
}
|
209
210
|
/**
|
210
211
|
* Load esri javascript api modules
|
@@ -482,6 +483,7 @@ const FeatureDetails = /*@__PURE__*/ proxyCustomElement(class FeatureDetails ext
|
|
482
483
|
"graphics": [16],
|
483
484
|
"reportingOptions": [16],
|
484
485
|
"layerItemsHash": [16],
|
486
|
+
"locale": [1],
|
485
487
|
"showUserImageInCommentsList": [4, "show-user-image-in-comments-list"],
|
486
488
|
"_likeFieldAvailable": [32],
|
487
489
|
"_likeCount": [32],
|