@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
@@ -27,6 +27,7 @@ export class SolutionResourceItem {
|
|
27
27
|
constructor() {
|
28
28
|
this.authentication = undefined;
|
29
29
|
this.itemId = "";
|
30
|
+
this.locale = undefined;
|
30
31
|
this.resourceFilePaths = [];
|
31
32
|
this.resources = [];
|
32
33
|
this._translations = undefined;
|
@@ -37,6 +38,11 @@ export class SolutionResourceItem {
|
|
37
38
|
//
|
38
39
|
//--------------------------------------------------------------------------
|
39
40
|
el;
|
41
|
+
//--------------------------------------------------------------------------
|
42
|
+
//
|
43
|
+
// Watch handlers
|
44
|
+
//
|
45
|
+
//--------------------------------------------------------------------------
|
40
46
|
itemIdWatchHandler() {
|
41
47
|
const item = state.getItemInfo(this.itemId);
|
42
48
|
this.resourceFilePaths = item.resourceFilePaths;
|
@@ -45,6 +51,14 @@ export class SolutionResourceItem {
|
|
45
51
|
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
|
46
52
|
(path) => path.substring(path.lastIndexOf("/") + 1));
|
47
53
|
}
|
54
|
+
/**
|
55
|
+
* Fetch translations when the locale is updated
|
56
|
+
*/
|
57
|
+
async localeWatchHandler() {
|
58
|
+
// to support url param and language switcher
|
59
|
+
this.el.lang = this.locale;
|
60
|
+
await this._getTranslations();
|
61
|
+
}
|
48
62
|
//--------------------------------------------------------------------------
|
49
63
|
//
|
50
64
|
// Lifecycle
|
@@ -61,7 +75,7 @@ export class SolutionResourceItem {
|
|
61
75
|
*/
|
62
76
|
render() {
|
63
77
|
const hasValidResources = this._hasValidResources();
|
64
|
-
return (h(Host, { key: '
|
78
|
+
return (h(Host, { key: '13f2759a882d2eca48bf9dda58e74caade76142b' }, h("div", { key: '498ced2e29b8af9138a8aa9d77ec78e07e3c64de', class: "resource-item" }, h("div", { key: 'd76a967373a990906a67d88ea6466030c41401ff', class: "margin-bottom-1" }, h("calcite-button", { key: '96cd2ee08adadef9e1b29db12c38d4748b0689c0', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), h("calcite-button", { key: '49326139cad065995512d3e3568c7d8e7f5cef4f', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), h("div", { key: '9c056d9ab7242ea10cbcf57eaabce4bd9777541e', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
|
65
79
|
}
|
66
80
|
_removedResources = {};
|
67
81
|
//--------------------------------------------------------------------------
|
@@ -334,6 +348,23 @@ export class SolutionResourceItem {
|
|
334
348
|
"attribute": "item-id",
|
335
349
|
"reflect": true,
|
336
350
|
"defaultValue": "\"\""
|
351
|
+
},
|
352
|
+
"locale": {
|
353
|
+
"type": "string",
|
354
|
+
"mutable": false,
|
355
|
+
"complexType": {
|
356
|
+
"original": "string",
|
357
|
+
"resolved": "string",
|
358
|
+
"references": {}
|
359
|
+
},
|
360
|
+
"required": false,
|
361
|
+
"optional": false,
|
362
|
+
"docs": {
|
363
|
+
"tags": [],
|
364
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
365
|
+
},
|
366
|
+
"attribute": "locale",
|
367
|
+
"reflect": false
|
337
368
|
}
|
338
369
|
};
|
339
370
|
}
|
@@ -349,6 +380,9 @@ export class SolutionResourceItem {
|
|
349
380
|
return [{
|
350
381
|
"propName": "itemId",
|
351
382
|
"methodName": "itemIdWatchHandler"
|
383
|
+
}, {
|
384
|
+
"propName": "locale",
|
385
|
+
"methodName": "localeWatchHandler"
|
352
386
|
}];
|
353
387
|
}
|
354
388
|
}
|
@@ -33,6 +33,7 @@ export class SolutionSpatialRef {
|
|
33
33
|
this.enabled = false;
|
34
34
|
this.enableDefault = false;
|
35
35
|
this.featureServices = [];
|
36
|
+
this.locale = undefined;
|
36
37
|
this._translations = undefined;
|
37
38
|
}
|
38
39
|
//--------------------------------------------------------------------------
|
@@ -49,6 +50,19 @@ export class SolutionSpatialRef {
|
|
49
50
|
}
|
50
51
|
//--------------------------------------------------------------------------
|
51
52
|
//
|
53
|
+
// Watch handlers
|
54
|
+
//
|
55
|
+
//--------------------------------------------------------------------------
|
56
|
+
/**
|
57
|
+
* Fetch translations when the locale is updated
|
58
|
+
*/
|
59
|
+
async localeWatchHandler() {
|
60
|
+
// to support url param and language switcher
|
61
|
+
this.el.lang = this.locale;
|
62
|
+
await this._getTranslations();
|
63
|
+
}
|
64
|
+
//--------------------------------------------------------------------------
|
65
|
+
//
|
52
66
|
// Lifecycle
|
53
67
|
//
|
54
68
|
//--------------------------------------------------------------------------
|
@@ -61,7 +75,7 @@ export class SolutionSpatialRef {
|
|
61
75
|
}
|
62
76
|
render() {
|
63
77
|
this._updateUIFromStore();
|
64
|
-
return (h(Host, { key: '
|
78
|
+
return (h(Host, { key: 'c4d6b7debb3852da999002bd1d9394ba4a4f2da8' }, h("label", { key: 'e16a28157db4c3aece6a00460816c3394f1f9198', class: "switch-label" }, h("calcite-switch", { key: '48d3b1c12aa93c50ccf424ccaf0a810855227b8d', checked: this.enabled, class: "spatial-ref-switch", onCalciteSwitchChange: (event) => this.enabled = event.target.checked, scale: "m" }), this._translations.enableSpatialReference), h("br", { key: '0e7eb35accdccef9f17e0a24b17180d25c4f054a' }), h("div", { key: '257e130fdda5e42a8c40662f21c3d315f91562c7', class: "spatial-ref-component", id: "spatialRefDefn" }, this._renderFeatureServicesList(this.featureServices)), h("label", { key: 'd7581971bb310c6c4b0fb1015db59a359da54b90', class: "switch-label spatial-ref-component" }, h("calcite-switch", { key: '3045b179955101fc5baff8ca09cb10d0077e35ca', checked: this.enableDefault, class: "spatial-ref-switch", disabled: !this.enabled, onCalciteSwitchChange: (event) => this.enableDefault = event.target.checked, scale: "m" }), this._translations.enableDefaultSpatialReference)));
|
65
79
|
}
|
66
80
|
//--------------------------------------------------------------------------
|
67
81
|
//
|
@@ -328,6 +342,23 @@ export class SolutionSpatialRef {
|
|
328
342
|
"text": "List of services the spatial reference should apply to"
|
329
343
|
},
|
330
344
|
"defaultValue": "[]"
|
345
|
+
},
|
346
|
+
"locale": {
|
347
|
+
"type": "string",
|
348
|
+
"mutable": false,
|
349
|
+
"complexType": {
|
350
|
+
"original": "string",
|
351
|
+
"resolved": "string",
|
352
|
+
"references": {}
|
353
|
+
},
|
354
|
+
"required": false,
|
355
|
+
"optional": false,
|
356
|
+
"docs": {
|
357
|
+
"tags": [],
|
358
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
359
|
+
},
|
360
|
+
"attribute": "locale",
|
361
|
+
"reflect": false
|
331
362
|
}
|
332
363
|
};
|
333
364
|
}
|
@@ -450,6 +481,9 @@ export class SolutionSpatialRef {
|
|
450
481
|
}, {
|
451
482
|
"propName": "enableDefault",
|
452
483
|
"methodName": "enableDefaultChanged"
|
484
|
+
}, {
|
485
|
+
"propName": "locale",
|
486
|
+
"methodName": "localeWatchHandler"
|
453
487
|
}];
|
454
488
|
}
|
455
489
|
static get listeners() {
|
@@ -36,12 +36,26 @@ export class SolutionTemplateData {
|
|
36
36
|
}
|
37
37
|
//--------------------------------------------------------------------------
|
38
38
|
//
|
39
|
+
// Watch handlers
|
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
|
+
}
|
50
|
+
//--------------------------------------------------------------------------
|
51
|
+
//
|
39
52
|
// Lifecycle
|
40
53
|
//
|
41
54
|
//--------------------------------------------------------------------------
|
42
55
|
constructor() {
|
43
56
|
this.instanceid = "";
|
44
57
|
this.itemId = "";
|
58
|
+
this.locale = undefined;
|
45
59
|
this.organizationVariables = "";
|
46
60
|
this.solutionVariables = "";
|
47
61
|
this.varsOpen = true;
|
@@ -77,7 +91,7 @@ export class SolutionTemplateData {
|
|
77
91
|
* Renders the component.
|
78
92
|
*/
|
79
93
|
render() {
|
80
|
-
return (h(Host, { key: '
|
94
|
+
return (h(Host, { key: '3f853006c19509c8cf484d4420b3f687aaad5161' }, h("div", { key: 'f524e1ee3c8dc972779be0909372c11c26092dd0', class: "solution-data-container" }, h("calcite-shell", { key: '56797702bc53b08051360975dc529c884eb7d294', class: "light var-container", dir: "ltr" }, h("calcite-panel", { key: '6208ac7b63ab8b69bc29ad88abdb9bcdeaaa707a', class: "json-editor" }, h("div", { key: '66e99550359b5665b4dd04f794d8108e4ee34284', class: "solution-data-child-container calcite-match-height" }, h("json-editor", { key: '7a7f5afa5d424fb6099b7167f274ce211e791a56', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, locale: this.locale, value: this.value }))), h("calcite-shell-panel", { key: '7cc8bac91bfc5be96018d005cc87be457278ed6d', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, h("div", { key: '4ce0c251d30d5735781394f5c213523867205886', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, h("calcite-button", { key: '814c8996b854102b022f7ac482498dd6aac36ec8', appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: '6b872cfc1c60870fb6262808f5d9f61cc35f0f44', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, h("solution-organization-variables", { key: 'e8e9ee594b6dcb5ddaabd05c322fb33d568ac7b5', locale: this.locale, value: this.organizationVariables })), h("div", { key: '109d17a77a54a13818af6aa2a9beb92526100ea7', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, h("solution-variables", { key: '46902ed69897ed01334def99817fedafbda2e8d5', locale: this.locale, value: this.solutionVariables }))))))));
|
81
95
|
}
|
82
96
|
_initializing = false;
|
83
97
|
//--------------------------------------------------------------------------
|
@@ -164,6 +178,23 @@ export class SolutionTemplateData {
|
|
164
178
|
"reflect": true,
|
165
179
|
"defaultValue": "\"\""
|
166
180
|
},
|
181
|
+
"locale": {
|
182
|
+
"type": "string",
|
183
|
+
"mutable": false,
|
184
|
+
"complexType": {
|
185
|
+
"original": "string",
|
186
|
+
"resolved": "string",
|
187
|
+
"references": {}
|
188
|
+
},
|
189
|
+
"required": false,
|
190
|
+
"optional": false,
|
191
|
+
"docs": {
|
192
|
+
"tags": [],
|
193
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
194
|
+
},
|
195
|
+
"attribute": "locale",
|
196
|
+
"reflect": false
|
197
|
+
},
|
167
198
|
"organizationVariables": {
|
168
199
|
"type": "string",
|
169
200
|
"mutable": true,
|
@@ -231,6 +262,9 @@ export class SolutionTemplateData {
|
|
231
262
|
return [{
|
232
263
|
"propName": "itemId",
|
233
264
|
"methodName": "itemIdWatchHandler"
|
265
|
+
}, {
|
266
|
+
"propName": "locale",
|
267
|
+
"methodName": "localeWatchHandler"
|
234
268
|
}];
|
235
269
|
}
|
236
270
|
}
|
@@ -23,6 +23,7 @@ import { getLocaleComponentStrings } from "../../utils/locale";
|
|
23
23
|
export class SolutionVariables {
|
24
24
|
constructor() {
|
25
25
|
this.value = "";
|
26
|
+
this.locale = undefined;
|
26
27
|
this._solutionVariables = [];
|
27
28
|
this._translations = undefined;
|
28
29
|
}
|
@@ -32,6 +33,19 @@ export class SolutionVariables {
|
|
32
33
|
//
|
33
34
|
//--------------------------------------------------------------------------
|
34
35
|
el;
|
36
|
+
//--------------------------------------------------------------------------
|
37
|
+
//
|
38
|
+
// Watch handlers
|
39
|
+
//
|
40
|
+
//--------------------------------------------------------------------------
|
41
|
+
/**
|
42
|
+
* Fetch translations when the locale is updated
|
43
|
+
*/
|
44
|
+
async localeWatchHandler() {
|
45
|
+
// to support url param and language switcher
|
46
|
+
this.el.lang = this.locale;
|
47
|
+
await this._getTranslations();
|
48
|
+
}
|
35
49
|
valueWatchHandler() {
|
36
50
|
this._solutionVariables = JSON.parse(this.value);
|
37
51
|
}
|
@@ -50,7 +64,7 @@ export class SolutionVariables {
|
|
50
64
|
* Renders the component.
|
51
65
|
*/
|
52
66
|
render() {
|
53
|
-
return (h(Host, { key: '
|
67
|
+
return (h(Host, { key: 'a90cdfc9a32279cb07938fc57f9dd7e38d822f6d' }, h("div", { key: '6826e3dd84034368f419ff759962a721a275dc9c' }, h("h4", { key: '5ebdf456e8c4dc006b036dc182fa75218aac0e01', class: "org-var-header" }, this._translations.solVariables)), h("div", { key: '06fc04c1e61dc1897989e3cc11df7b173f1fdb2a', class: "container-border" }, h("calcite-tree", { key: '15500194129af7440ec05dc495b060fc18f22324', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
|
54
68
|
}
|
55
69
|
//--------------------------------------------------------------------------
|
56
70
|
//
|
@@ -147,6 +161,23 @@ export class SolutionVariables {
|
|
147
161
|
"attribute": "value",
|
148
162
|
"reflect": true,
|
149
163
|
"defaultValue": "\"\""
|
164
|
+
},
|
165
|
+
"locale": {
|
166
|
+
"type": "string",
|
167
|
+
"mutable": false,
|
168
|
+
"complexType": {
|
169
|
+
"original": "string",
|
170
|
+
"resolved": "string",
|
171
|
+
"references": {}
|
172
|
+
},
|
173
|
+
"required": false,
|
174
|
+
"optional": false,
|
175
|
+
"docs": {
|
176
|
+
"tags": [],
|
177
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
178
|
+
},
|
179
|
+
"attribute": "locale",
|
180
|
+
"reflect": false
|
150
181
|
}
|
151
182
|
};
|
152
183
|
}
|
@@ -177,6 +208,9 @@ export class SolutionVariables {
|
|
177
208
|
static get elementRef() { return "el"; }
|
178
209
|
static get watchers() {
|
179
210
|
return [{
|
211
|
+
"propName": "locale",
|
212
|
+
"methodName": "localeWatchHandler"
|
213
|
+
}, {
|
180
214
|
"propName": "value",
|
181
215
|
"methodName": "valueWatchHandler"
|
182
216
|
}];
|
@@ -30,6 +30,19 @@ export class SpatialRef {
|
|
30
30
|
//
|
31
31
|
//--------------------------------------------------------------------------
|
32
32
|
el;
|
33
|
+
//--------------------------------------------------------------------------
|
34
|
+
//
|
35
|
+
// Watch handlers
|
36
|
+
//
|
37
|
+
//--------------------------------------------------------------------------
|
38
|
+
/**
|
39
|
+
* Fetch translations when the locale is updated
|
40
|
+
*/
|
41
|
+
async localeWatchHandler() {
|
42
|
+
// to support url param and language switcher
|
43
|
+
this.el.lang = this.locale;
|
44
|
+
await this._getTranslations();
|
45
|
+
}
|
33
46
|
valueChanged(newValue) {
|
34
47
|
this._spatialRef = this._createSpatialRefDisplay(newValue);
|
35
48
|
const searchBox = document.getElementById("calcite-sr-search");
|
@@ -53,6 +66,7 @@ export class SpatialRef {
|
|
53
66
|
constructor() {
|
54
67
|
this.defaultWkid = 102100;
|
55
68
|
this.disabled = false;
|
69
|
+
this.locale = undefined;
|
56
70
|
this.value = this.defaultWkid.toString();
|
57
71
|
this._cachedValue = this.defaultWkid.toString();
|
58
72
|
this._spatialRef = undefined;
|
@@ -70,7 +84,7 @@ export class SpatialRef {
|
|
70
84
|
* Renders the component.
|
71
85
|
*/
|
72
86
|
render() {
|
73
|
-
return (h(Host, { key: '
|
87
|
+
return (h(Host, { key: '348d114f0c8c9571b4beff34a946a09b734083f9' }, h("div", { key: '2f6bb626834a50690fd523744a4c2adeddfb0f9f' }, h("calcite-input", { key: '4b3d9354f1c1983c49360eb9f3a0a921288f50c2', disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), h("calcite-tree", { key: '883819c424636a79957d375f0d613d32827e5ebe', id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
|
74
88
|
}
|
75
89
|
_lastHighlightedSref;
|
76
90
|
//--------------------------------------------------------------------------
|
@@ -316,6 +330,23 @@ export class SpatialRef {
|
|
316
330
|
"reflect": true,
|
317
331
|
"defaultValue": "false"
|
318
332
|
},
|
333
|
+
"locale": {
|
334
|
+
"type": "string",
|
335
|
+
"mutable": false,
|
336
|
+
"complexType": {
|
337
|
+
"original": "string",
|
338
|
+
"resolved": "string",
|
339
|
+
"references": {}
|
340
|
+
},
|
341
|
+
"required": false,
|
342
|
+
"optional": false,
|
343
|
+
"docs": {
|
344
|
+
"tags": [],
|
345
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
346
|
+
},
|
347
|
+
"attribute": "locale",
|
348
|
+
"reflect": false
|
349
|
+
},
|
319
350
|
"value": {
|
320
351
|
"type": "string",
|
321
352
|
"mutable": true,
|
@@ -456,6 +487,9 @@ export class SpatialRef {
|
|
456
487
|
static get elementRef() { return "el"; }
|
457
488
|
static get watchers() {
|
458
489
|
return [{
|
490
|
+
"propName": "locale",
|
491
|
+
"methodName": "localeWatchHandler"
|
492
|
+
}, {
|
459
493
|
"propName": "value",
|
460
494
|
"methodName": "valueChanged"
|
461
495
|
}];
|
@@ -181,10 +181,10 @@
|
|
181
181
|
// demo.mapView.ui.add(legend, "top-left");
|
182
182
|
});
|
183
183
|
demo.reportsHeader = "Reports";
|
184
|
-
demo.reportButtonText = "Report an incident";
|
184
|
+
//demo.reportButtonText = "Report an incident";
|
185
185
|
demo.enableNewReports = true;
|
186
186
|
demo.theme = "light";
|
187
|
-
demo.reportSubmittedMessage = "Thank you! Your request was successfully submitted";
|
187
|
+
//demo.reportSubmittedMessage = "Thank you! Your request was successfully submitted";
|
188
188
|
|
189
189
|
//Set the zoomScale to be used when zooming to single point feature
|
190
190
|
//demo.zoomToScale = 139596221; //World
|
@@ -28,6 +28,7 @@ const BufferTools = /*@__PURE__*/ proxyCustomElement(class BufferTools extends H
|
|
28
28
|
this.appearance = "text";
|
29
29
|
this.distance = 0;
|
30
30
|
this.geometries = [];
|
31
|
+
this.locale = undefined;
|
31
32
|
this.max = undefined;
|
32
33
|
this.min = 0;
|
33
34
|
this.sliderTicks = 10;
|
@@ -74,6 +75,14 @@ const BufferTools = /*@__PURE__*/ proxyCustomElement(class BufferTools extends H
|
|
74
75
|
disabledWatchHandler() {
|
75
76
|
this._buffer();
|
76
77
|
}
|
78
|
+
/**
|
79
|
+
* Fetch translations when the locale is updated
|
80
|
+
*/
|
81
|
+
async localeWatchHandler() {
|
82
|
+
// to support url param and language switcher
|
83
|
+
this.el.lang = this.locale;
|
84
|
+
await this._getTranslations();
|
85
|
+
}
|
77
86
|
//--------------------------------------------------------------------------
|
78
87
|
//
|
79
88
|
// Methods (public)
|
@@ -125,7 +134,7 @@ const BufferTools = /*@__PURE__*/ proxyCustomElement(class BufferTools extends H
|
|
125
134
|
* Renders the component.
|
126
135
|
*/
|
127
136
|
render() {
|
128
|
-
return (h(Host, { key: '
|
137
|
+
return (h(Host, { key: '4fbfb01938d285a2b022834f712013cea10945f9' }, this.appearance === "text" ? this._getTextBoxDisplay() : this._getSliderDisplay()));
|
129
138
|
}
|
130
139
|
//--------------------------------------------------------------------------
|
131
140
|
//
|
@@ -290,13 +299,15 @@ const BufferTools = /*@__PURE__*/ proxyCustomElement(class BufferTools extends H
|
|
290
299
|
}
|
291
300
|
static get watchers() { return {
|
292
301
|
"geometries": ["geometriesWatchHandler"],
|
293
|
-
"disabled": ["disabledWatchHandler"]
|
302
|
+
"disabled": ["disabledWatchHandler"],
|
303
|
+
"locale": ["localeWatchHandler"]
|
294
304
|
}; }
|
295
305
|
static get style() { return BufferToolsStyle0; }
|
296
306
|
}, [1, "buffer-tools", {
|
297
307
|
"appearance": [1025],
|
298
308
|
"distance": [1026],
|
299
309
|
"geometries": [1040],
|
310
|
+
"locale": [1],
|
300
311
|
"max": [1026],
|
301
312
|
"min": [1026],
|
302
313
|
"sliderTicks": [1026, "slider-ticks"],
|
@@ -307,7 +318,8 @@ const BufferTools = /*@__PURE__*/ proxyCustomElement(class BufferTools extends H
|
|
307
318
|
"getTranslatedUnit": [64]
|
308
319
|
}, undefined, {
|
309
320
|
"geometries": ["geometriesWatchHandler"],
|
310
|
-
"disabled": ["disabledWatchHandler"]
|
321
|
+
"disabled": ["disabledWatchHandler"],
|
322
|
+
"locale": ["localeWatchHandler"]
|
311
323
|
}]);
|
312
324
|
function defineCustomElement() {
|
313
325
|
if (typeof customElements === "undefined") {
|
@@ -42,6 +42,7 @@ const CardManager = /*@__PURE__*/ proxyCustomElement(class CardManager extends H
|
|
42
42
|
this.enableEditGeometry = false;
|
43
43
|
this.isMobile = undefined;
|
44
44
|
this.layer = undefined;
|
45
|
+
this.locale = undefined;
|
45
46
|
this.mapView = undefined;
|
46
47
|
this.zoomAndScrollToSelected = undefined;
|
47
48
|
this.selectedFeaturesIds = undefined;
|
@@ -72,6 +73,14 @@ const CardManager = /*@__PURE__*/ proxyCustomElement(class CardManager extends H
|
|
72
73
|
// Watch handlers
|
73
74
|
//
|
74
75
|
//--------------------------------------------------------------------------
|
76
|
+
/**
|
77
|
+
* Fetch translations when the locale is updated
|
78
|
+
*/
|
79
|
+
async localeWatchHandler() {
|
80
|
+
// to support url param and language switcher
|
81
|
+
this.el.lang = this.locale;
|
82
|
+
await this._getTranslations();
|
83
|
+
}
|
75
84
|
//--------------------------------------------------------------------------
|
76
85
|
//
|
77
86
|
// Methods (public)
|
@@ -141,14 +150,14 @@ const CardManager = /*@__PURE__*/ proxyCustomElement(class CardManager extends H
|
|
141
150
|
const heading = isTable ? this._translations.createRecord : this._translations.createFeature;
|
142
151
|
const guideMsg = this.customInfoText ? this.customInfoText : this.selectingFeatureFromMap ? this._translations.selectFeaturesFromMapToStart : this._translations.selectFeaturesToStart;
|
143
152
|
const showCreateFeatureOrRecordBtn = this.enableCreateFeatures && this.layer?.capabilities?.operations?.supportsAdd;
|
144
|
-
return (h(Host, { key: '
|
153
|
+
return (h(Host, { key: '1dc448368b85b83ccc2f76f59cff83559d1d1285' }, h("div", { key: '7c058f7a4ca2db84f0ad35efba90a1485e5c7989', class: "overflow-auto height-full" }, h("calcite-shell", { key: '1388666d3d11efee37efc1524011594237cccc35', class: "position-relative " + featuresClass }, h("div", { key: '3f93c4de344e49eec16e447bc1ca44cb280f84cc', class: "position-static z-index-500" }, h("info-card", { key: 'c5b8cafef2595b8ae85725d583caebf9754ce1fb', enableEditGeometry: this.enableEditGeometry, graphics: this._graphics, isLoading: this._cardLoading, isMobile: this.isMobile, locale: this.locale, mapView: this.mapView }))), h("calcite-shell", { key: 'bfa2f41e657f390335545f46ab744d4d980c3926', class: "position-relative " + messageClass }, h("calcite-flow-item", { key: 'bf19ce4b69b52c5652629f38859e03a0a99f8374' }, h("calcite-panel", { key: '1ea46998a73ad636ad2a956e72181a0570edd5d0' }, h("div", { key: 'd853f429c30daa5abcfe6576b7242fa48251ae53', class: "padding-1" }, h("calcite-notice", { key: 'dffa52ec3fa7a22494b6dadd7b1c6d512e25c192', icon: this.selectingFeatureFromMap ? "map" : "table", iconFlipRtl: true, open: true }, h("div", { key: '728b56c9281dfe09d1604882635a53803c5f4253', slot: "message" }, guideMsg))), !this.isMobile && showCreateFeatureOrRecordBtn && h("calcite-button", { key: '260042d84c529d5508630bca7bdb39db1c2408cb', disabled: !this.layer, onClick: () => this._createFeatureBtnClicked(), slot: "footer", width: "full" }, isTable ? this._translations.createRecord : this._translations.createFeature)))), h("calcite-shell", { key: 'c30cbc2dc6e70319440bf9ed7c3d7f7ede38c3a1', class: "position-relative " + createFeatureClass }, h("calcite-flow-item", { key: '901c5a407a8418c34ee72c4dd4b16443c3766819' }, h("calcite-panel", { key: 'a6faf502cd08060a42582cbd95d7354b1e192a43', heading: heading }, h("calcite-action", { key: '23e9c295f7476f935055c30227774e173315194d', class: "back-button hydrated", icon: "chevron-left", onClick: this._backFromCreateFeature.bind(this), scale: "s", slot: "header-actions-start", text: "" }), this.getEditorComponent(), this._showSubmitBtn && h("calcite-button", { key: '3ee5c310e5fad8aa5d6abd8ae1347c46d3ada1be', appearance: "solid", class: "footer-top-button footer-button", onClick: () => void this._createFeature.submit(), slot: "footer", width: "full" }, this._translations.create)))))));
|
145
154
|
}
|
146
155
|
/**
|
147
156
|
* Returns the editor component for adding feature
|
148
157
|
* @returns Node
|
149
158
|
*/
|
150
159
|
getEditorComponent() {
|
151
|
-
return (h("div", null, this._showCreateFeatureComponent && h("create-feature", { customizeSubmit: true, mapView: this.mapView, onDrawComplete: () => { this._showSubmitBtn = true; }, onEditingAttachment: (evt) => { this._showSubmitBtn = !evt.detail; }, onProgressStatus: () => {
|
160
|
+
return (h("div", null, this._showCreateFeatureComponent && h("create-feature", { customizeSubmit: true, locale: this.locale, mapView: this.mapView, onDrawComplete: () => { this._showSubmitBtn = true; }, onEditingAttachment: (evt) => { this._showSubmitBtn = !evt.detail; }, onProgressStatus: () => {
|
152
161
|
setTimeout(() => {
|
153
162
|
this._isFeatureCreated = false;
|
154
163
|
}, 2000);
|
@@ -213,12 +222,16 @@ const CardManager = /*@__PURE__*/ proxyCustomElement(class CardManager extends H
|
|
213
222
|
const messages = await getLocaleComponentStrings(this.el);
|
214
223
|
this._translations = messages[0];
|
215
224
|
}
|
225
|
+
static get watchers() { return {
|
226
|
+
"locale": ["localeWatchHandler"]
|
227
|
+
}; }
|
216
228
|
static get style() { return CardManagerStyle0; }
|
217
229
|
}, [0, "card-manager", {
|
218
230
|
"customInfoText": [1, "custom-info-text"],
|
219
231
|
"enableEditGeometry": [4, "enable-edit-geometry"],
|
220
232
|
"isMobile": [4, "is-mobile"],
|
221
233
|
"layer": [1040],
|
234
|
+
"locale": [1],
|
222
235
|
"mapView": [16],
|
223
236
|
"zoomAndScrollToSelected": [4, "zoom-and-scroll-to-selected"],
|
224
237
|
"selectedFeaturesIds": [16],
|
@@ -229,7 +242,9 @@ const CardManager = /*@__PURE__*/ proxyCustomElement(class CardManager extends H
|
|
229
242
|
"_showCreateFeatureComponent": [32],
|
230
243
|
"_showSubmitBtn": [32],
|
231
244
|
"_translations": [32]
|
232
|
-
}, [[8, "featureSelectionChange", "featureSelectionChange"], [8, "layerSelectionChange", "layerSelectionChange"]]
|
245
|
+
}, [[8, "featureSelectionChange", "featureSelectionChange"], [8, "layerSelectionChange", "layerSelectionChange"]], {
|
246
|
+
"locale": ["localeWatchHandler"]
|
247
|
+
}]);
|
233
248
|
function defineCustomElement() {
|
234
249
|
if (typeof customElements === "undefined") {
|
235
250
|
return;
|
@@ -622,6 +622,7 @@ const ConsentManager$1 = /*@__PURE__*/ proxyCustomElement(class ConsentManager e
|
|
622
622
|
this.__attachShadow();
|
623
623
|
this.consentGranted = createEvent(this, "consentGranted", 7);
|
624
624
|
this.firstUseVar = undefined;
|
625
|
+
this.locale = undefined;
|
625
626
|
this.measurementIds = undefined;
|
626
627
|
this.portal = undefined;
|
627
628
|
this._shouldRender = undefined;
|
@@ -651,6 +652,14 @@ const ConsentManager$1 = /*@__PURE__*/ proxyCustomElement(class ConsentManager e
|
|
651
652
|
// Watch handlers
|
652
653
|
//
|
653
654
|
//--------------------------------------------------------------------------
|
655
|
+
/**
|
656
|
+
* Fetch translations when the locale is updated
|
657
|
+
*/
|
658
|
+
async localeWatchHandler() {
|
659
|
+
// to support url param and language switcher
|
660
|
+
this.el.lang = this.locale;
|
661
|
+
await this._getTranslations();
|
662
|
+
}
|
654
663
|
//--------------------------------------------------------------------------
|
655
664
|
//
|
656
665
|
// Methods (public)
|
@@ -772,14 +781,20 @@ const ConsentManager$1 = /*@__PURE__*/ proxyCustomElement(class ConsentManager e
|
|
772
781
|
const messages = await getLocaleComponentStrings(this.el);
|
773
782
|
this._translations = messages[0];
|
774
783
|
}
|
784
|
+
static get watchers() { return {
|
785
|
+
"locale": ["localeWatchHandler"]
|
786
|
+
}; }
|
775
787
|
static get style() { return ConsentManagerStyle0; }
|
776
788
|
}, [1, "consent-manager", {
|
777
789
|
"firstUseVar": [1, "first-use-var"],
|
790
|
+
"locale": [1],
|
778
791
|
"measurementIds": [16],
|
779
792
|
"portal": [16],
|
780
793
|
"_shouldRender": [32],
|
781
794
|
"_translations": [32],
|
782
795
|
"getInstance": [64]
|
796
|
+
}, undefined, {
|
797
|
+
"locale": ["localeWatchHandler"]
|
783
798
|
}]);
|
784
799
|
function defineCustomElement$1() {
|
785
800
|
if (typeof customElements === "undefined") {
|
@@ -27,6 +27,7 @@ const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature exten
|
|
27
27
|
this.mapView = undefined;
|
28
28
|
this.selectedLayerId = undefined;
|
29
29
|
this.customizeSubmit = false;
|
30
|
+
this.locale = undefined;
|
30
31
|
this.searchConfiguration = undefined;
|
31
32
|
this.isMobile = undefined;
|
32
33
|
this.floorLevel = undefined;
|
@@ -130,6 +131,14 @@ const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature exten
|
|
130
131
|
// Watch handlers
|
131
132
|
//
|
132
133
|
//--------------------------------------------------------------------------
|
134
|
+
/**
|
135
|
+
* Fetch translations when the locale is updated
|
136
|
+
*/
|
137
|
+
async localeWatchHandler() {
|
138
|
+
// to support url param and language switcher
|
139
|
+
this.el.lang = this.locale;
|
140
|
+
await this._getTranslations();
|
141
|
+
}
|
133
142
|
/**
|
134
143
|
* Called each time the mapView prop is changed.
|
135
144
|
*/
|
@@ -276,8 +285,8 @@ const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature exten
|
|
276
285
|
else if (this._currentPage === 'featureForm') {
|
277
286
|
guidingMsg = this._translations.provideDetailsMsg;
|
278
287
|
}
|
279
|
-
return (h(Fragment, { key: '
|
280
|
-
h("div", { key: '
|
288
|
+
return (h(Fragment, { key: '788b2ebb85b603452d4b4de05711510f7480c895' }, showGuidingMsg && h("calcite-notice", { key: 'cf41e701f5a7605531fa6351acf13ea20e219f7a', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: '1bb493a8e5a962c8a8c75ac37156edbf866c3916', slot: "message" }, guidingMsg)), h("calcite-loader", { key: '5d2e9a465cb7c6dbde8d941497fda87b4fc7c258', class: loaderClass, label: "", scale: "s" }), h("div", { key: '23b8651f4040443ba731173d1818b515b718b754', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
|
289
|
+
h("div", { key: '7f628d09111295d46fbf7b9605999c2ef88c258d', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: '3def9aaab0a2f03076a6c4c645cf5a080bbb9e75', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
|
281
290
|
}
|
282
291
|
//--------------------------------------------------------------------------
|
283
292
|
//
|
@@ -682,6 +691,7 @@ const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature exten
|
|
682
691
|
this._translations = messages[0];
|
683
692
|
}
|
684
693
|
static get watchers() { return {
|
694
|
+
"locale": ["localeWatchHandler"],
|
685
695
|
"mapView": ["mapViewWatchHandler"],
|
686
696
|
"isMobile": ["isMobileHandler"],
|
687
697
|
"_editorLoading": ["_editorLoadingWatchHandler"]
|
@@ -691,6 +701,7 @@ const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature exten
|
|
691
701
|
"mapView": [16],
|
692
702
|
"selectedLayerId": [1, "selected-layer-id"],
|
693
703
|
"customizeSubmit": [4, "customize-submit"],
|
704
|
+
"locale": [1],
|
694
705
|
"searchConfiguration": [16],
|
695
706
|
"isMobile": [4, "is-mobile"],
|
696
707
|
"floorLevel": [1, "floor-level"],
|
@@ -704,6 +715,7 @@ const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature exten
|
|
704
715
|
"submit": [64],
|
705
716
|
"refresh": [64]
|
706
717
|
}, undefined, {
|
718
|
+
"locale": ["localeWatchHandler"],
|
707
719
|
"mapView": ["mapViewWatchHandler"],
|
708
720
|
"isMobile": ["isMobileHandler"],
|
709
721
|
"_editorLoading": ["_editorLoadingWatchHandler"]
|