@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
@@ -28,6 +28,7 @@ export class DeleteButton {
|
|
28
28
|
this.icon = undefined;
|
29
29
|
this.ids = [];
|
30
30
|
this.layer = undefined;
|
31
|
+
this.locale = undefined;
|
31
32
|
this._confirmDelete = false;
|
32
33
|
this._deleteEndabled = false;
|
33
34
|
this._supportsDelete = undefined;
|
@@ -61,6 +62,14 @@ export class DeleteButton {
|
|
61
62
|
async layerWatchHandler() {
|
62
63
|
this._setDeleteEnabled();
|
63
64
|
}
|
65
|
+
/**
|
66
|
+
* Fetch translations when the locale is updated
|
67
|
+
*/
|
68
|
+
async localeWatchHandler() {
|
69
|
+
// to support url param and language switcher
|
70
|
+
this.el.lang = this.locale;
|
71
|
+
await this._getTranslations();
|
72
|
+
}
|
64
73
|
//--------------------------------------------------------------------------
|
65
74
|
//
|
66
75
|
// Methods (public)
|
@@ -92,7 +101,7 @@ export class DeleteButton {
|
|
92
101
|
* Renders the component.
|
93
102
|
*/
|
94
103
|
render() {
|
95
|
-
return (h(Host, { key: '
|
104
|
+
return (h(Host, { key: '1816da3d5cd7903b4e699dffa4ac4836dca722bb' }, this.buttonType === "button" ? (h("calcite-button", { appearance: "outline", disabled: !this._deleteEndabled, id: "solutions-delete", kind: "danger", onClick: () => this._delete(), width: "full" }, this._translations.deleteCount.replace("{{n}}", this.ids.length.toString()))) : (h("calcite-action", { appearance: "solid", compact: true, disabled: !this._deleteEndabled, id: this.icon, onClick: () => this._delete(), scale: "s", text: this._translations.delete }, h("calcite-button", { appearance: "transparent", iconStart: this.icon, kind: "danger" }, this._translations.delete))), this._deleteMessage(), h("calcite-tooltip", { key: '26fc4d4b4ea02b7a6c5e3f87abe2c5b8f96a3654', placement: "bottom", "reference-element": this.buttonType === "button" ? "solutions-delete" : this.icon }, h("span", { key: 'c2f7b101bb3a99274fe7f364ad29365c212d856e' }, this._translations.delete))));
|
96
105
|
}
|
97
106
|
/**
|
98
107
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
@@ -126,7 +135,7 @@ export class DeleteButton {
|
|
126
135
|
* @returns node to confirm or deny the delete operation
|
127
136
|
*/
|
128
137
|
_deleteMessage() {
|
129
|
-
return this.deleteDialog ? this.deleteDialog : (h("delete-dialog", { id: "solution-delete-dialog", ids: this.ids, layer: this.layer, onDeleteDialogClose: () => this._confirmDelete = false, open: this._confirmDelete }));
|
138
|
+
return this.deleteDialog ? this.deleteDialog : (h("delete-dialog", { id: "solution-delete-dialog", ids: this.ids, layer: this.layer, locale: this.locale, onDeleteDialogClose: () => this._confirmDelete = false, open: this._confirmDelete }));
|
130
139
|
}
|
131
140
|
/**
|
132
141
|
* Fetches the component's translations
|
@@ -263,6 +272,23 @@ export class DeleteButton {
|
|
263
272
|
"tags": [],
|
264
273
|
"text": "esri/views/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html"
|
265
274
|
}
|
275
|
+
},
|
276
|
+
"locale": {
|
277
|
+
"type": "string",
|
278
|
+
"mutable": false,
|
279
|
+
"complexType": {
|
280
|
+
"original": "string",
|
281
|
+
"resolved": "string",
|
282
|
+
"references": {}
|
283
|
+
},
|
284
|
+
"required": false,
|
285
|
+
"optional": false,
|
286
|
+
"docs": {
|
287
|
+
"tags": [],
|
288
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
289
|
+
},
|
290
|
+
"attribute": "locale",
|
291
|
+
"reflect": false
|
266
292
|
}
|
267
293
|
};
|
268
294
|
}
|
@@ -306,6 +332,9 @@ export class DeleteButton {
|
|
306
332
|
}, {
|
307
333
|
"propName": "layer",
|
308
334
|
"methodName": "layerWatchHandler"
|
335
|
+
}, {
|
336
|
+
"propName": "locale",
|
337
|
+
"methodName": "localeWatchHandler"
|
309
338
|
}];
|
310
339
|
}
|
311
340
|
}
|
@@ -24,6 +24,7 @@ export class DeleteDialog {
|
|
24
24
|
constructor() {
|
25
25
|
this.ids = [];
|
26
26
|
this.layer = undefined;
|
27
|
+
this.locale = undefined;
|
27
28
|
this.open = false;
|
28
29
|
this._isDeleting = false;
|
29
30
|
this._translations = undefined;
|
@@ -44,6 +45,14 @@ export class DeleteDialog {
|
|
44
45
|
// Watch handlers
|
45
46
|
//
|
46
47
|
//--------------------------------------------------------------------------
|
48
|
+
/**
|
49
|
+
* Fetch translations when the locale is updated
|
50
|
+
*/
|
51
|
+
async localeWatchHandler() {
|
52
|
+
// to support url param and language switcher
|
53
|
+
this.el.lang = this.locale;
|
54
|
+
await this._getTranslations();
|
55
|
+
}
|
47
56
|
//--------------------------------------------------------------------------
|
48
57
|
//
|
49
58
|
// Methods (public)
|
@@ -81,7 +90,7 @@ export class DeleteDialog {
|
|
81
90
|
render() {
|
82
91
|
const confirmMessage = this.ids.length === 1 ? this._translations?.confirmSingle :
|
83
92
|
this._translations?.confirmMultiple;
|
84
|
-
return (h(Host, { key: '
|
93
|
+
return (h(Host, { key: 'eafca7d4325c65ff21fbfeaa24ea14e95bc25a34' }, h("calcite-modal", { key: '745e52d7b23318492914662cc769a1206baefd28', "aria-labelledby": "modal-title", class: "delete-modal", kind: "danger", onCalciteModalClose: () => this._close(), open: this.open, widthScale: "s" }, h("div", { key: '363614f6eaf30c30c6c2ccde3875dfff5cd94088', class: "display-flex align-center", id: "modal-title", slot: "header" }, this._translations?.deleteFeature), h("div", { key: 'b3b6f74495894589b7fd8be54265c4a69ffaa62e', slot: "content" }, confirmMessage), h("calcite-button", { key: 'd325fcf12624bac39f56ec690f7e4e9660789891', appearance: "outline", kind: "danger", onClick: () => this._close(), slot: "secondary", width: "full" }, this._translations?.cancel), h("calcite-button", { key: '73a10546ad92065c949bfacca3eb3d508685030e', kind: "danger", loading: this._isDeleting, onClick: () => void this._deleteFeatures(), slot: "primary", width: "full" }, this._translations?.delete))));
|
85
94
|
}
|
86
95
|
//--------------------------------------------------------------------------
|
87
96
|
//
|
@@ -170,6 +179,23 @@ export class DeleteDialog {
|
|
170
179
|
"text": "esri/views/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html"
|
171
180
|
}
|
172
181
|
},
|
182
|
+
"locale": {
|
183
|
+
"type": "string",
|
184
|
+
"mutable": false,
|
185
|
+
"complexType": {
|
186
|
+
"original": "string",
|
187
|
+
"resolved": "string",
|
188
|
+
"references": {}
|
189
|
+
},
|
190
|
+
"required": false,
|
191
|
+
"optional": false,
|
192
|
+
"docs": {
|
193
|
+
"tags": [],
|
194
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
195
|
+
},
|
196
|
+
"attribute": "locale",
|
197
|
+
"reflect": false
|
198
|
+
},
|
173
199
|
"open": {
|
174
200
|
"type": "boolean",
|
175
201
|
"mutable": false,
|
@@ -236,4 +262,10 @@ export class DeleteDialog {
|
|
236
262
|
}];
|
237
263
|
}
|
238
264
|
static get elementRef() { return "el"; }
|
265
|
+
static get watchers() {
|
266
|
+
return [{
|
267
|
+
"propName": "locale",
|
268
|
+
"methodName": "localeWatchHandler"
|
269
|
+
}];
|
270
|
+
}
|
239
271
|
}
|
@@ -26,6 +26,7 @@ export class EditCard {
|
|
26
26
|
constructor() {
|
27
27
|
this.enableEditGeometry = false;
|
28
28
|
this.graphics = undefined;
|
29
|
+
this.locale = undefined;
|
29
30
|
this.mapView = undefined;
|
30
31
|
this.open = false;
|
31
32
|
this.graphicIndex = 0;
|
@@ -114,6 +115,14 @@ export class EditCard {
|
|
114
115
|
await this._closeEdit(true);
|
115
116
|
}
|
116
117
|
}
|
118
|
+
/**
|
119
|
+
* Fetch translations when the locale is updated
|
120
|
+
*/
|
121
|
+
async localeWatchHandler() {
|
122
|
+
// to support url param and language switcher
|
123
|
+
this.el.lang = this.locale;
|
124
|
+
await this._getTranslations();
|
125
|
+
}
|
117
126
|
async openWatchHandler(v) {
|
118
127
|
if (v && this.graphics?.length > 0 && this.graphicIndex > -1) {
|
119
128
|
this._editorLoading = true;
|
@@ -198,7 +207,7 @@ export class EditCard {
|
|
198
207
|
!this.graphics[0].layer.editingEnabled : true;
|
199
208
|
const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
|
200
209
|
const loadingClass = this._editorLoading ? "" : "display-none";
|
201
|
-
return (h(Host, { key: '
|
210
|
+
return (h(Host, { key: '15ae3de9c8ab0a66a0185ffaafc27f03e19c77b7' }, h("div", { key: 'bbaa7dbc405259b64dfceca89e45abf6372c76c3', class: "position-absolute" }, editDisabled ? (h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, h("div", { key: 'eb8b08fa0b08cf93581fb8e76d59bd8b5446770f', class: "position-absolute" }, h("div", { key: '03e525373c09fbcd4dad213738d97b99f1549975', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), h("calcite-loader", { key: '1cc46d8f6499a90736e05c2eed9bff71aff35d12', class: loadingClass, label: "", scale: "s" })))));
|
202
211
|
}
|
203
212
|
//--------------------------------------------------------------------------
|
204
213
|
//
|
@@ -353,6 +362,23 @@ export class EditCard {
|
|
353
362
|
"text": "esri/Graphic[]: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html"
|
354
363
|
}
|
355
364
|
},
|
365
|
+
"locale": {
|
366
|
+
"type": "string",
|
367
|
+
"mutable": false,
|
368
|
+
"complexType": {
|
369
|
+
"original": "string",
|
370
|
+
"resolved": "string",
|
371
|
+
"references": {}
|
372
|
+
},
|
373
|
+
"required": false,
|
374
|
+
"optional": false,
|
375
|
+
"docs": {
|
376
|
+
"tags": [],
|
377
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
378
|
+
},
|
379
|
+
"attribute": "locale",
|
380
|
+
"reflect": false
|
381
|
+
},
|
356
382
|
"mapView": {
|
357
383
|
"type": "unknown",
|
358
384
|
"mutable": false,
|
@@ -475,6 +501,9 @@ export class EditCard {
|
|
475
501
|
return [{
|
476
502
|
"propName": "graphics",
|
477
503
|
"methodName": "graphicsWatchHandler"
|
504
|
+
}, {
|
505
|
+
"propName": "locale",
|
506
|
+
"methodName": "localeWatchHandler"
|
478
507
|
}, {
|
479
508
|
"propName": "open",
|
480
509
|
"methodName": "openWatchHandler"
|
@@ -27,6 +27,7 @@ export class FeatureDetails {
|
|
27
27
|
this.graphics = undefined;
|
28
28
|
this.reportingOptions = undefined;
|
29
29
|
this.layerItemsHash = undefined;
|
30
|
+
this.locale = undefined;
|
30
31
|
this.showUserImageInCommentsList = false;
|
31
32
|
this._likeFieldAvailable = false;
|
32
33
|
this._likeCount = 0;
|
@@ -180,12 +181,12 @@ export class FeatureDetails {
|
|
180
181
|
render() {
|
181
182
|
//When related features found show comments list of only those features else comments list will be empty
|
182
183
|
const commentsListWhereClause = this._relatedFeaturesOIDs?.length > 0 ? `objectId in(${this._relatedFeaturesOIDs})` : '1=0';
|
183
|
-
return (h("calcite-panel", { key: '
|
184
|
-
h("div", { key: '
|
185
|
-
h("calcite-button", { key: '
|
186
|
-
h("calcite-button", { key: '
|
187
|
-
h("calcite-button", { key: '
|
188
|
-
h("feature-list", { key: '
|
184
|
+
return (h("calcite-panel", { key: 'be7bebe9da698d963a2602fcacb95ac7206ac1e9', "full-height": true }, h("info-card", { key: '1e069f52d59d42f3e2b88463ea7c536c65a0a6b5', allowEditing: false, graphics: this.graphics, highlightEnabled: false, isLoading: false, isMobile: false, locale: this.locale, mapView: this.mapView, onSelectionChanged: (e) => { this.featureSelectionChange.emit(e.detail); }, paginationEnabled: false, position: "relative", ref: el => this._infoCard = el }), (this._likeFieldAvailable || this._dislikeFieldAvailable || this._commentsAvailable) &&
|
185
|
+
h("div", { key: 'd53f5a1726e4c6299ffd04e266d84005181645f6', class: "buttons-container" }, this._commentsAvailable &&
|
186
|
+
h("calcite-button", { key: '4c2616cc9e0107258f5313b66ae96fa31fe582c5', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
|
187
|
+
h("calcite-button", { key: '7c87aa085df04a8b58625097c2ce70e5853b82f9', appearance: "transparent", iconEnd: "thumbs-up", kind: this._isLikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onLikeButtonClick.bind(this), scale: 'm' }, this._likeCount ?? this._selectedGraphic.attributes[this._likeField] ?? 0), this._dislikeFieldAvailable &&
|
188
|
+
h("calcite-button", { key: '59eb48b91fc2a394cafdcbeeebf5baafae9a8c9b', appearance: "transparent", iconEnd: "thumbs-down", kind: this._isDislikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onDislikeButtonClick.bind(this), scale: 'm' }, this._disLikeCount ?? this._selectedGraphic.attributes[this._dislikeField] ?? 0)), this.relatedTableId && this._commentsAvailable &&
|
189
|
+
h("feature-list", { key: 'f34ee203202944666c40e14bdfdc59265414fbe1', class: "height-full", locale: this.locale, mapView: this.mapView, onFeatureSelect: (e) => { this.commentSelect.emit(e.detail); }, pageSize: 5, ref: el => this._commentsList = el, selectedLayerId: this.relatedTableId, showErrorWhenNoFeatures: false, showInitialLoading: false, showUserImageInList: this.showUserImageInCommentsList, textSize: "small", whereClause: commentsListWhereClause })));
|
189
190
|
}
|
190
191
|
/**
|
191
192
|
* Load esri javascript api modules
|
@@ -549,6 +550,23 @@ export class FeatureDetails {
|
|
549
550
|
"text": "ILayerItemsHash: LayerDetailsHash for each layer in the map"
|
550
551
|
}
|
551
552
|
},
|
553
|
+
"locale": {
|
554
|
+
"type": "string",
|
555
|
+
"mutable": false,
|
556
|
+
"complexType": {
|
557
|
+
"original": "string",
|
558
|
+
"resolved": "string",
|
559
|
+
"references": {}
|
560
|
+
},
|
561
|
+
"required": false,
|
562
|
+
"optional": false,
|
563
|
+
"docs": {
|
564
|
+
"tags": [],
|
565
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
566
|
+
},
|
567
|
+
"attribute": "locale",
|
568
|
+
"reflect": false
|
569
|
+
},
|
552
570
|
"showUserImageInCommentsList": {
|
553
571
|
"type": "boolean",
|
554
572
|
"mutable": false,
|
@@ -31,6 +31,7 @@ export class FeatureList {
|
|
31
31
|
this.pageSize = 100;
|
32
32
|
this.highlightOnMap = false;
|
33
33
|
this.highlightOnHover = false;
|
34
|
+
this.locale = undefined;
|
34
35
|
this.sortingInfo = undefined;
|
35
36
|
this.whereClause = undefined;
|
36
37
|
this.textSize = "large";
|
@@ -108,6 +109,14 @@ export class FeatureList {
|
|
108
109
|
// Watch handlers
|
109
110
|
//
|
110
111
|
//--------------------------------------------------------------------------
|
112
|
+
/**
|
113
|
+
* Fetch translations when the locale is updated
|
114
|
+
*/
|
115
|
+
async localeWatchHandler() {
|
116
|
+
// to support url param and language switcher
|
117
|
+
this.el.lang = this.locale;
|
118
|
+
await this._getTranslations();
|
119
|
+
}
|
111
120
|
/**
|
112
121
|
* Watch for selectedLayerId change and update layer instance and features list for new layerId
|
113
122
|
*/
|
@@ -187,9 +196,9 @@ export class FeatureList {
|
|
187
196
|
* Renders the component.
|
188
197
|
*/
|
189
198
|
render() {
|
190
|
-
return (h("calcite-panel", { key: '
|
191
|
-
h("calcite-notice", { key: '
|
192
|
-
h("div", { key: '
|
199
|
+
return (h("calcite-panel", { key: '6b6214a3dba7df7c2035203750d547945407ecde', "full-height": true, "full-width": true }, this._isLoading && h("calcite-loader", { key: '1b05d96de0b4d396b13f448311db76315e28b81b', label: "", scale: "m" }), this.showErrorWhenNoFeatures && this._featureItems.length === 0 && !this._isLoading &&
|
200
|
+
h("calcite-notice", { key: 'abe755f0bc5c7ff064249159c3154c9ca1c27594', class: "error-msg", icon: "feature-details", kind: "info", open: true }, h("div", { key: '5a8ead1d47151cf088ae9e359052cf35129b09d3', slot: "message" }, this.noFeaturesFoundMsg ? this.noFeaturesFoundMsg : this._translations.featureErrorMsg)), h("calcite-list", { key: 'feb2f2fff276ad49d38ed35dbca41d1878f5e7a3', "selection-appearance": "border", "selection-mode": "none" }, !this._isLoading && this._featureItems.length > 0 && this._featureItems), this._featuresCount > this.pageSize &&
|
201
|
+
h("div", { key: 'e396ddcc3d43ae025d9bdb2cd021a2031606211d', class: "width-full", slot: "footer" }, h("calcite-pagination", { key: '0c3c5bddc7ad418ab15136f0267a429cc0f4ef21', class: "pagination", "full-width": true, onCalcitePaginationChange: this.pageChanged.bind(this), "page-size": this.pageSize, ref: el => this._pagination = el, "start-item": "1", "total-items": this._featuresCount }))));
|
193
202
|
}
|
194
203
|
//--------------------------------------------------------------------------
|
195
204
|
//
|
@@ -617,6 +626,23 @@ export class FeatureList {
|
|
617
626
|
"reflect": false,
|
618
627
|
"defaultValue": "false"
|
619
628
|
},
|
629
|
+
"locale": {
|
630
|
+
"type": "string",
|
631
|
+
"mutable": false,
|
632
|
+
"complexType": {
|
633
|
+
"original": "string",
|
634
|
+
"resolved": "string",
|
635
|
+
"references": {}
|
636
|
+
},
|
637
|
+
"required": false,
|
638
|
+
"optional": false,
|
639
|
+
"docs": {
|
640
|
+
"tags": [],
|
641
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
642
|
+
},
|
643
|
+
"attribute": "locale",
|
644
|
+
"reflect": false
|
645
|
+
},
|
620
646
|
"sortingInfo": {
|
621
647
|
"type": "unknown",
|
622
648
|
"mutable": false,
|
@@ -851,6 +877,9 @@ export class FeatureList {
|
|
851
877
|
static get elementRef() { return "el"; }
|
852
878
|
static get watchers() {
|
853
879
|
return [{
|
880
|
+
"propName": "locale",
|
881
|
+
"methodName": "localeWatchHandler"
|
882
|
+
}, {
|
854
883
|
"propName": "selectedLayerId",
|
855
884
|
"methodName": "selectedLayerWatchHandler"
|
856
885
|
}, {
|
@@ -127,7 +127,7 @@ export class FloorFilter {
|
|
127
127
|
* Renders the component.
|
128
128
|
*/
|
129
129
|
render() {
|
130
|
-
return (h(Host, { key: '
|
130
|
+
return (h(Host, { key: '51da7a656e7f56ecc8cc4093d3dab856f77b5c7a' }, h("div", { key: 'd2fda7047f09a673216484f5c202f039fca20108', ref: (el) => { this._floorFilterElement = el; } })));
|
131
131
|
}
|
132
132
|
/**
|
133
133
|
* StencilJS: Called once just after the component is first loaded.
|
@@ -31,6 +31,7 @@ export class InfoCard {
|
|
31
31
|
this.mapView = undefined;
|
32
32
|
this.allowEditing = true;
|
33
33
|
this.highlightEnabled = true;
|
34
|
+
this.locale = undefined;
|
34
35
|
this.paginationEnabled = true;
|
35
36
|
this.position = 'absolute';
|
36
37
|
this._alertOpen = false;
|
@@ -100,6 +101,19 @@ export class InfoCard {
|
|
100
101
|
async isMobileWatchHandler() {
|
101
102
|
await this._initFeaturesWidget();
|
102
103
|
}
|
104
|
+
/**
|
105
|
+
* Fetch translations when the locale is updated
|
106
|
+
*/
|
107
|
+
async localeWatchHandler() {
|
108
|
+
// to support url param and language switcher
|
109
|
+
this.el.lang = this.locale;
|
110
|
+
await this._getTranslations();
|
111
|
+
if (this._features) {
|
112
|
+
const graphics = [...this.graphics];
|
113
|
+
this.graphics = [];
|
114
|
+
this.graphics = graphics;
|
115
|
+
}
|
116
|
+
}
|
103
117
|
/**
|
104
118
|
* Watch for changes to the mapView and re-init the Feature widget
|
105
119
|
*/
|
@@ -232,8 +246,8 @@ export class InfoCard {
|
|
232
246
|
const id = this._features?.selectedFeature?.getObjectId();
|
233
247
|
const ids = parseInt(id?.toString(), 10) > -1 ? [id] : [];
|
234
248
|
const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
|
235
|
-
return (h(Host, { key: '
|
236
|
-
h("div", { key: '
|
249
|
+
return (h(Host, { key: '54e47d0ec2be9149c3e667c9e940842804d96964' }, h("calcite-shell", { key: '14bb280d394ceaa74463979886ab09cdf393b26e', style: { position: this.position } }, this._getHeader(), h("calcite-loader", { key: '3226709e73de16c795c348513183b26b88b7a726', class: loadingClass, label: this._translations.fetchingData }), h("div", { key: 'ba4b0c34620c60e849bdf0ada785b9976156dd1c', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), h("div", { key: '440a4d3c0530f97031df2e2ab9511ef6035fb5da', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
|
250
|
+
h("div", { key: '172b2e2cc10bdfb104057376ceba5d7f5f19ad61', class: "display-flex top-border padding-1-2" }, h("calcite-button", { key: '242daf0ec6c3fe4fcc11be4bbc19f810836714ec', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (h("delete-button", { class: "padding-inline-start-1 width-100", id: "solutions-delete", ids: ids, layer: this._layer, locale: this.locale, onEditsComplete: () => this._closePopup() })) : undefined, h("calcite-tooltip", { key: '760f8fcd1bcff2060e0a98e84a222107e55fef22', placement: "bottom", "reference-element": "solutions-edit" }, h("span", { key: '30656b92e9bdbf3a9548586d91fc23bce2da9db3' }, this._translations.edit)), this.isMobile ? (h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && h("div", { key: '161902561c9686d74a511338dfc02efce0095af7', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, h("div", { key: 'afd1459e3f69f60d96103854fe3dae71f18fc41e' }, h("calcite-button", { key: '59063d7fa2cf886afca66857cb1f74e42789e59f', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), h("calcite-tooltip", { key: '412e00bc323494bb1e3a7dbeef59ab9bcd6ff8e0', placement: "top", "reference-element": "solutions-back" }, h("span", { key: '7c1512be35f16b4441c2a364e1b7a87e3c7caf97' }, this._translations.back))), h("calcite-action", { key: 'd4790efec0d13e6726ffe9d438683db6887d00b8', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, h("span", { key: '98663d5c3b2f445db4e38cba98b8149c53cbc474', class: "pagination-count" }, this._count)), h("div", { key: '6ca88610950cf2852e2dc67588c77fd464ece3c5' }, h("calcite-button", { key: '577739ef819676dfd9cdee560a8cd22edcd9c6b7', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), h("calcite-tooltip", { key: '73a4f907d1a2f46a980c451572f1ba1e1b0b0596', placement: "top", "reference-element": "solutions-next" }, h("span", { key: 'd5f67497df866592b30d6c328f9f45716eb16153' }, this._translations.next))))), h("edit-card", { key: 'c8094993be5203f464cea4f632c14dbefa263a73', class: editClass, enableEditGeometry: this.enableEditGeometry, graphicIndex: this._features?.selectedFeatureIndex, graphics: this.graphics, locale: this.locale, mapView: this.mapView, open: this._editRecordOpen }), h("calcite-alert", { key: '0b9fd2109d7c6b51b91088ecbec50956a2d8d3d8', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, h("div", { key: 'c8b7b452430d6fedda5288fd58efae5526adeda7', slot: "title" }, this._translations.editDisabled), h("div", { key: 'b2dc954d43bb08908723f70796df5c77108d92d8', slot: "message" }, this._translations.enableEditing)))));
|
237
251
|
}
|
238
252
|
//--------------------------------------------------------------------------
|
239
253
|
//
|
@@ -541,6 +555,23 @@ export class InfoCard {
|
|
541
555
|
"reflect": false,
|
542
556
|
"defaultValue": "true"
|
543
557
|
},
|
558
|
+
"locale": {
|
559
|
+
"type": "string",
|
560
|
+
"mutable": false,
|
561
|
+
"complexType": {
|
562
|
+
"original": "string",
|
563
|
+
"resolved": "string",
|
564
|
+
"references": {}
|
565
|
+
},
|
566
|
+
"required": false,
|
567
|
+
"optional": false,
|
568
|
+
"docs": {
|
569
|
+
"tags": [],
|
570
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
571
|
+
},
|
572
|
+
"attribute": "locale",
|
573
|
+
"reflect": false
|
574
|
+
},
|
544
575
|
"paginationEnabled": {
|
545
576
|
"type": "boolean",
|
546
577
|
"mutable": false,
|
@@ -755,6 +786,9 @@ export class InfoCard {
|
|
755
786
|
}, {
|
756
787
|
"propName": "isMobile",
|
757
788
|
"methodName": "isMobileWatchHandler"
|
789
|
+
}, {
|
790
|
+
"propName": "locale",
|
791
|
+
"methodName": "localeWatchHandler"
|
758
792
|
}, {
|
759
793
|
"propName": "mapView",
|
760
794
|
"methodName": "mapViewWatchHandler"
|
@@ -59,6 +59,7 @@ export class JsonEditor {
|
|
59
59
|
this.hasChanges = false;
|
60
60
|
this.hasErrors = false;
|
61
61
|
this.instanceid = "";
|
62
|
+
this.locale = undefined;
|
62
63
|
this.value = "";
|
63
64
|
}
|
64
65
|
//--------------------------------------------------------------------------
|
@@ -69,6 +70,19 @@ export class JsonEditor {
|
|
69
70
|
el;
|
70
71
|
//--------------------------------------------------------------------------
|
71
72
|
//
|
73
|
+
// Watch handlers
|
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
|
+
}
|
84
|
+
//--------------------------------------------------------------------------
|
85
|
+
//
|
72
86
|
// Lifecycle
|
73
87
|
//
|
74
88
|
//--------------------------------------------------------------------------
|
@@ -135,7 +149,7 @@ export class JsonEditor {
|
|
135
149
|
* Renders the component.
|
136
150
|
*/
|
137
151
|
render() {
|
138
|
-
return (h(Host, { key: '
|
152
|
+
return (h(Host, { key: 'ba7c8a397da913d86f5d294cdfbb5ec1b84d89de' }, h("div", { key: 'bc5c6d1ee443b2096cc44d0b66850d4ebe8462da', id: `${this.instanceid}-editor-container`, class: "editor-container padding-right" }, h("div", { key: 'dbaf682cba354ce7eef21b03a71832fd39911332', class: "editor-controls" }, h("div", { key: 'e454e1dd36aa620abf2ffb7877bebb9adc70ff15', class: "editor-buttons" }, h("calcite-icon", { key: '1de67e151c6e65b004a431d89dc785ca286a8e11', id: `${this.instanceid}-errorFlag`, icon: "exclamation-mark-triangle", title: this._translations.errorFlag, scale: "s", class: "edit-error-flag" }), h("calcite-button", { key: '33de20955d29287a3ec981e7650562a036343e3a', id: `${this.instanceid}-undo`, color: "blue", appearance: "solid", title: this._translations.undo, onClick: () => this._undo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '9bed02f1e8a367ad2ed764747f044a4ce27de52b', icon: "undo", scale: "s" })), h("calcite-button", { key: '07562443286c4eeec28577a7cff0401e8cea0ba8', id: `${this.instanceid}-redo`, color: "blue", appearance: "solid", title: this._translations.redo, onClick: () => this._redo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '5f24902a66eae644d0d358a4826a98d45e905493', icon: "redo", scale: "s" })), h("calcite-button", { key: '02f4f3f8ab93e5f1146176ec3699e2a6d25ecbeb', id: `${this.instanceid}-diff`, color: "blue", appearance: "solid", title: this._translations.diff, onClick: () => this._toggleEditor(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '0bcd20d28e9ec34f1736a2888d78bfcd9cb82a4d', icon: "compare", scale: "s" })), h("calcite-button", { key: 'cf3a7672ebd3ebef00123096ec304456b8f102fc', id: `${this.instanceid}-search`, appearance: "outline", color: "blue", title: this._translations.search, onClick: () => this._search(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '36aac5e89ebf593d8d1981d7b8f6267fbbadfd24', icon: "search", scale: "s" })), h("calcite-button", { key: 'cc981ff7580acfa3a3395c4ce7a96b3022bbbb4b', id: `${this.instanceid}-reset`, color: "blue", appearance: "solid", disabled: true, title: this._translations.cancelEdits, onClick: () => this._reset(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '3c4fc1da749f4b4f64d814fcd58dc035634f6b1b', icon: "reset", scale: "s" })))), h("div", { key: '6c33ec4851d804dac7fd9762e3c8c7e416a27cf4', class: "edit-parent" }, h("div", { key: 'a6e9721127bbd43f9974af65e0899489370e1868', id: `${this.instanceid}-container`, class: "json-edit-container" }), h("div", { key: 'c1d1ea305c0e451c24beddb8ac3f8e85a3fca088', id: `${this.instanceid}-diff-container`, class: "json-edit-container display-none" })))));
|
139
153
|
}
|
140
154
|
//--------------------------------------------------------------------------
|
141
155
|
//
|
@@ -516,6 +530,23 @@ export class JsonEditor {
|
|
516
530
|
"reflect": true,
|
517
531
|
"defaultValue": "\"\""
|
518
532
|
},
|
533
|
+
"locale": {
|
534
|
+
"type": "string",
|
535
|
+
"mutable": false,
|
536
|
+
"complexType": {
|
537
|
+
"original": "string",
|
538
|
+
"resolved": "string",
|
539
|
+
"references": {}
|
540
|
+
},
|
541
|
+
"required": false,
|
542
|
+
"optional": false,
|
543
|
+
"docs": {
|
544
|
+
"tags": [],
|
545
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
546
|
+
},
|
547
|
+
"attribute": "locale",
|
548
|
+
"reflect": false
|
549
|
+
},
|
519
550
|
"value": {
|
520
551
|
"type": "any",
|
521
552
|
"mutable": true,
|
@@ -625,4 +656,10 @@ export class JsonEditor {
|
|
625
656
|
};
|
626
657
|
}
|
627
658
|
static get elementRef() { return "el"; }
|
659
|
+
static get watchers() {
|
660
|
+
return [{
|
661
|
+
"propName": "locale",
|
662
|
+
"methodName": "localeWatchHandler"
|
663
|
+
}];
|
664
|
+
}
|
628
665
|
}
|
@@ -26,6 +26,7 @@ export class LayerList {
|
|
26
26
|
constructor() {
|
27
27
|
this.mapView = undefined;
|
28
28
|
this.layers = undefined;
|
29
|
+
this.locale = undefined;
|
29
30
|
this.showFeatureCount = true;
|
30
31
|
this.showNextIcon = false;
|
31
32
|
this.applyLayerViewFilter = false;
|
@@ -54,6 +55,14 @@ export class LayerList {
|
|
54
55
|
// Watch handlers
|
55
56
|
//
|
56
57
|
//--------------------------------------------------------------------------
|
58
|
+
/**
|
59
|
+
* Fetch translations when the locale is updated
|
60
|
+
*/
|
61
|
+
async localeWatchHandler() {
|
62
|
+
// to support url param and language switcher
|
63
|
+
this.el.lang = this.locale;
|
64
|
+
await this._getTranslations();
|
65
|
+
}
|
57
66
|
//--------------------------------------------------------------------------
|
58
67
|
//
|
59
68
|
// Methods (public)
|
@@ -102,9 +111,9 @@ export class LayerList {
|
|
102
111
|
* Renders the component.
|
103
112
|
*/
|
104
113
|
render() {
|
105
|
-
return (h(Fragment, { key: '
|
106
|
-
h("calcite-notice", { key: '
|
107
|
-
h("calcite-list", { key: '
|
114
|
+
return (h(Fragment, { key: 'a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e' }, this._isLoading && h("calcite-loader", { key: '544a134bccc29048ca80b996844cc944bcd97a24', label: "", scale: "m" }), !this._isLoading && this.mapView && this._noLayersToDisplay &&
|
115
|
+
h("calcite-notice", { key: '7557f91c8c3349c120c043ea59458b4c834dce2e', class: "error-msg", icon: "layers-reference", kind: "danger", open: true }, h("div", { key: 'ea8b20f8c7da5053641cfad56e3395ae3c6286f5', slot: "title" }, this._translations.error), h("div", { key: '38aaed7b456aba0b1dd70183be03e9133834dfb4', slot: "message" }, this._translations.noLayerToDisplayErrorMsg)), !this._isLoading && this.mapView &&
|
116
|
+
h("calcite-list", { key: '817de422b8387cafb7f9a17515cf9b3c13998522', "selection-appearance": "border", "selection-mode": "none" }, this.renderLayerList())));
|
108
117
|
}
|
109
118
|
//--------------------------------------------------------------------------
|
110
119
|
//
|
@@ -278,6 +287,23 @@ export class LayerList {
|
|
278
287
|
"text": "string[]: If passed will show only these layers in the list if they are present in map and are editable"
|
279
288
|
}
|
280
289
|
},
|
290
|
+
"locale": {
|
291
|
+
"type": "string",
|
292
|
+
"mutable": false,
|
293
|
+
"complexType": {
|
294
|
+
"original": "string",
|
295
|
+
"resolved": "string",
|
296
|
+
"references": {}
|
297
|
+
},
|
298
|
+
"required": false,
|
299
|
+
"optional": false,
|
300
|
+
"docs": {
|
301
|
+
"tags": [],
|
302
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
303
|
+
},
|
304
|
+
"attribute": "locale",
|
305
|
+
"reflect": false
|
306
|
+
},
|
281
307
|
"showFeatureCount": {
|
282
308
|
"type": "boolean",
|
283
309
|
"mutable": false,
|
@@ -400,4 +426,10 @@ export class LayerList {
|
|
400
426
|
};
|
401
427
|
}
|
402
428
|
static get elementRef() { return "el"; }
|
429
|
+
static get watchers() {
|
430
|
+
return [{
|
431
|
+
"propName": "locale",
|
432
|
+
"methodName": "localeWatchHandler"
|
433
|
+
}];
|
434
|
+
}
|
403
435
|
}
|