@esri/solutions-components 0.11.15 → 0.11.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{asyncToGenerator-ccb3278b.js → asyncToGenerator-c7fc3ee4.js} +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +9 -9
- package/dist/cjs/buffer-tools_2.cjs.entry.js +6 -6
- package/dist/cjs/card-manager_3.cjs.entry.js +22 -14
- package/dist/cjs/consent-manager.cjs.entry.js +5 -5
- package/dist/cjs/create-feature_4.cjs.entry.js +14 -15
- package/dist/cjs/create-related-feature_3.cjs.entry.js +16 -12
- package/dist/cjs/crowdsource-manager.cjs.entry.js +16 -10
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +24 -20
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/delete-dialog.cjs.entry.js +3 -3
- package/dist/cjs/{downloadUtils-9de366bc.js → downloadUtils-88ec0e88.js} +5 -5
- package/dist/cjs/{effects-78c31457.js → effects-3607d1ba.js} +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +148 -14
- package/dist/cjs/{helpers-67a2c953.js → helpers-a65cb83a.js} +3 -3
- package/dist/cjs/{index-b936ec03.js → index-2c21082d.js} +24 -17
- package/dist/cjs/{index-b2821254.js → index-90ef3c01.js} +1 -1
- package/dist/cjs/{index.es-0441a948.js → index.es-3c2404c3.js} +2 -2
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-create.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-export.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-header.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-splash.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +7 -7
- package/dist/cjs/json-editor_7.cjs.entry.js +12 -12
- package/dist/cjs/{languageSwitcher-e2118cc6.js → languageSwitcher-19a22439.js} +1 -1
- package/dist/cjs/{languageUtil-f22ce913.js → languageUtil-a3e1eafd.js} +1 -1
- package/dist/cjs/{loadModules-accd5295.js → loadModules-e9d8977c.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-e2a974ae.js → locale-0a273172.js} +3 -3
- package/dist/cjs/{locale-8017d061.js → locale-c09e93fb.js} +2 -2
- package/dist/cjs/map-layer-picker.cjs.entry.js +7 -7
- package/dist/cjs/map-select-tools_3.cjs.entry.js +11 -11
- package/dist/cjs/{mapViewUtils-18c46b84.js → mapViewUtils-319df9ec.js} +1 -1
- package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
- package/dist/cjs/{popupUtils-3b069427.js → popupUtils-ca1127aa.js} +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +9 -9
- package/dist/cjs/{publicNotificationStore-76755c44.js → publicNotificationStore-ee00411f.js} +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +8 -8
- package/dist/cjs/solution-contents_3.cjs.entry.js +8 -8
- package/dist/cjs/solution-item-accordion.cjs.entry.js +37 -5
- package/dist/cjs/solution-item-icon.cjs.entry.js +2 -2
- package/dist/cjs/{solution-store-a2a8422d.js → solution-store-6208ce28.js} +1 -1
- package/dist/cjs/solutions-components.cjs.js +3 -3
- package/dist/cjs/spatial-ref.cjs.entry.js +4 -4
- package/dist/cjs/store-manager.cjs.entry.js +3 -3
- package/dist/cjs/{utils-0f287cfa.js → utils-30344ce0.js} +2 -2
- package/dist/collection/assets/t9n/consent-manager/resources_ar.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_bg.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_bs.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_ca.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_cs.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_da.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_de.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_el.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_es.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_et.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_fi.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_fr.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_he.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_hr.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_hu.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_id.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_it.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_ja.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_ko.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_lt.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_lv.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_nb.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_nl.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_pl.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_pt-BR.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_pt-PT.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_ro.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_ru.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_sk.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_sl.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_sr.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_sv.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_th.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_tr.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_uk.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_vi.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_zh-CN.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_zh-HK.json +5 -0
- package/dist/collection/assets/t9n/consent-manager/resources_zh-TW.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_pt-BR.json +1 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ar.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_bg.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_bs.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ca.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_cs.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_da.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_de.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_el.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_en.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_es.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_et.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_fi.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_fr.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_he.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_hr.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_hu.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_id.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_it.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ja.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ko.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_lt.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_lv.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_nb.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_nl.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pl.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-BR.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-PT.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ro.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ru.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sk.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sl.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sr.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sv.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_th.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_tr.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_uk.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_vi.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-CN.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-HK.json +2 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-TW.json +2 -1
- package/dist/collection/assets/t9n/edit-card/resources_fr.json +1 -1
- package/dist/collection/assets/t9n/feature-list/resources.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ar.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_bg.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_bs.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ca.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_cs.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_da.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_de.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_el.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_en.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_es.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_et.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_fi.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_fr.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_he.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_hr.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_hu.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_id.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_it.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ja.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ko.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_lt.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_lv.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_nb.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_nl.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_pl.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_pt-BR.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_pt-PT.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ro.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ru.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_sk.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_sl.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_sr.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_sv.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_th.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_tr.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_uk.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_vi.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_zh-CN.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_zh-HK.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_zh-TW.json +3 -1
- package/dist/collection/assets/t9n/info-card/resources_et.json +1 -1
- package/dist/collection/assets/t9n/info-card/resources_ko.json +1 -1
- package/dist/collection/assets/t9n/info-card/resources_pt-PT.json +1 -1
- package/dist/collection/assets/t9n/info-card/resources_ru.json +1 -1
- package/dist/collection/assets/t9n/info-card/resources_sk.json +1 -1
- package/dist/collection/assets/t9n/info-card/resources_vi.json +1 -1
- package/dist/collection/assets/t9n/info-card/resources_zh-CN.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ar.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_bg.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_bs.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ca.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_cs.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_da.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_de.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_el.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_es.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_et.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_fi.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_fr.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_he.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_hr.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_hu.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_id.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_it.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ja.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ko.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_lt.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_lv.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_nb.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_nl.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_pl.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_pt-BR.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_pt-PT.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ro.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_ru.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_sk.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_sl.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_sr.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_sv.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_th.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_tr.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_uk.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_vi.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-CN.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-HK.json +1 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-TW.json +1 -1
- package/dist/collection/assets/t9n/map-select-tools/resources_zh-HK.json +1 -1
- package/dist/collection/assets/t9n/map-select-tools/resources_zh-TW.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ar.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_bg.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_bs.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ca.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_cs.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_da.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_de.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_el.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_es.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_et.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_fi.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_fr.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_he.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_hr.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_hu.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_id.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_it.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ja.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ko.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_lt.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_lv.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_nb.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_nl.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_pl.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_pt-BR.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_pt-PT.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ro.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_ru.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_sk.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_sl.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_sr.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_sv.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_th.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_tr.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_uk.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_vi.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-CN.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-HK.json +3 -0
- package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-TW.json +3 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/create-feature/create-feature.js +5 -6
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +12 -6
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +40 -16
- package/dist/collection/components/feature-details/feature-details.js +30 -6
- package/dist/collection/components/feature-list/feature-list.css +16 -6
- package/dist/collection/components/feature-list/feature-list.js +162 -6
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-list/layer-list.css +2 -2
- package/dist/collection/components/layer-list/layer-list.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +15 -7
- package/dist/collection/components/map-card/map-card.js +1 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +83 -2
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/demos/crowdsource-manager.html +1 -0
- package/dist/collection/demos/crowdsource-reporter.html +1 -0
- package/dist/collection/demos/solution-item-accordion.html +12 -1
- package/dist/collection/utils/mapViewUtils.js +1 -1
- package/dist/collection/utils/mapViewUtils.ts +1 -1
- package/dist/components/create-feature2.js +5 -6
- package/dist/components/crowdsource-manager.js +12 -6
- package/dist/components/crowdsource-reporter.js +21 -16
- package/dist/components/feature-details2.js +11 -6
- package/dist/components/feature-list2.js +144 -7
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/info-card2.js +2 -2
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/layer-list2.js +2 -2
- package/dist/components/layer-table2.js +15 -7
- package/dist/components/map-card2.js +1 -1
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +1 -1
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/mapViewUtils.js +1 -1
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/public-notification.js +1 -1
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/solution-configuration.js +3 -3
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-accordion.js +37 -3
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/esm/{asyncToGenerator-48cd21fe.js → asyncToGenerator-96b2368d.js} +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +9 -9
- package/dist/esm/buffer-tools_2.entry.js +6 -6
- package/dist/esm/card-manager_3.entry.js +22 -14
- package/dist/esm/consent-manager.entry.js +5 -5
- package/dist/esm/create-feature_4.entry.js +14 -15
- package/dist/esm/create-related-feature_3.entry.js +16 -12
- package/dist/esm/crowdsource-manager.entry.js +16 -10
- package/dist/esm/crowdsource-reporter.entry.js +24 -20
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/delete-dialog.entry.js +3 -3
- package/dist/esm/{downloadUtils-992b4e25.js → downloadUtils-22a8f2d8.js} +5 -5
- package/dist/esm/{effects-45daffc6.js → effects-38bc1195.js} +1 -1
- package/dist/esm/feature-list.entry.js +148 -14
- package/dist/esm/{helpers-38ea1ae1.js → helpers-77bdd30e.js} +3 -3
- package/dist/esm/{index-000c7a7c.js → index-3702583a.js} +24 -17
- package/dist/esm/{index-f7533fcc.js → index-6de7c296.js} +1 -1
- package/dist/esm/{index.es-c379ea10.js → index.es-87662946.js} +2 -2
- package/dist/esm/instant-apps-app-guide.entry.js +5 -5
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +7 -7
- package/dist/esm/instant-apps-control-panel.entry.js +3 -3
- package/dist/esm/instant-apps-create.entry.js +5 -5
- package/dist/esm/instant-apps-export-views.entry.js +5 -5
- package/dist/esm/instant-apps-export.entry.js +5 -5
- package/dist/esm/instant-apps-filter-list_2.entry.js +5 -5
- package/dist/esm/instant-apps-header.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend.entry.js +8 -8
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +5 -5
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +8 -8
- package/dist/esm/instant-apps-language-translator.entry.js +8 -8
- package/dist/esm/instant-apps-measurement-tool.entry.js +3 -3
- package/dist/esm/instant-apps-measurement.entry.js +5 -5
- package/dist/esm/instant-apps-popover.entry.js +5 -5
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +5 -5
- package/dist/esm/instant-apps-sign-in.entry.js +5 -5
- package/dist/esm/instant-apps-splash.entry.js +5 -5
- package/dist/esm/instant-apps-time-filter.entry.js +7 -7
- package/dist/esm/json-editor_7.entry.js +12 -12
- package/dist/esm/{languageSwitcher-446c6fe7.js → languageSwitcher-49bad3f4.js} +1 -1
- package/dist/esm/{languageUtil-a3e6adf6.js → languageUtil-2b6e191a.js} +1 -1
- package/dist/esm/{loadModules-736e0284.js → loadModules-947ccfd4.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-8a3e6795.js → locale-aa656a2c.js} +2 -2
- package/dist/esm/{locale-5b76949e.js → locale-b0016f8e.js} +3 -3
- package/dist/esm/map-layer-picker.entry.js +7 -7
- package/dist/esm/map-select-tools_3.entry.js +11 -11
- package/dist/esm/{mapViewUtils-f54edae3.js → mapViewUtils-a854e298.js} +1 -1
- package/dist/esm/pci-calculator.entry.js +2 -2
- package/dist/esm/{popupUtils-12e61a9a.js → popupUtils-1314cb13.js} +2 -2
- package/dist/esm/public-notification.entry.js +9 -9
- package/dist/esm/{publicNotificationStore-e5306ea6.js → publicNotificationStore-70219049.js} +1 -1
- package/dist/esm/solution-configuration.entry.js +8 -8
- package/dist/esm/solution-contents_3.entry.js +8 -8
- package/dist/esm/solution-item-accordion.entry.js +37 -5
- package/dist/esm/solution-item-icon.entry.js +2 -2
- package/dist/esm/{solution-store-26e3d8c6.js → solution-store-2493275a.js} +1 -1
- package/dist/esm/solutions-components.js +4 -4
- package/dist/esm/spatial-ref.entry.js +4 -4
- package/dist/esm/store-manager.entry.js +3 -3
- package/dist/esm/{utils-793f7261.js → utils-68015f9d.js} +2 -2
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ar.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_bg.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_bs.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ca.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_cs.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_da.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_de.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_el.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_es.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_et.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_fi.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_fr.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_he.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_hr.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_hu.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_id.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_it.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ja.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ko.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_lt.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_lv.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_nb.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_nl.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_pl.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_pt-BR.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_pt-PT.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ro.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_ru.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_sk.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_sl.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_sr.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_sv.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_th.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_tr.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_uk.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_vi.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_zh-CN.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_zh-HK.json +5 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources_zh-TW.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_pt-BR.json +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ar.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bg.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bs.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ca.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_cs.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_da.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_de.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_el.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_en.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_es.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_et.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fi.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fr.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_he.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hr.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hu.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_id.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_it.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ja.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ko.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lt.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lv.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nb.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nl.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pl.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-BR.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-PT.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ro.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ru.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sk.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sl.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sr.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sv.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_th.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_tr.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_uk.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_vi.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-CN.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-HK.json +2 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-TW.json +2 -1
- package/dist/solutions-components/assets/t9n/edit-card/resources_fr.json +1 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ar.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_bg.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_bs.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ca.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_cs.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_da.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_de.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_el.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_en.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_es.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_et.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_fi.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_fr.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_he.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_hr.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_hu.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_id.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_it.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ja.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ko.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_lt.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_lv.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_nb.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_nl.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_pl.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_pt-BR.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_pt-PT.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ro.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ru.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_sk.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_sl.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_sr.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_sv.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_th.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_tr.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_uk.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_vi.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-CN.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-HK.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-TW.json +3 -1
- package/dist/solutions-components/assets/t9n/info-card/resources_et.json +1 -1
- package/dist/solutions-components/assets/t9n/info-card/resources_ko.json +1 -1
- package/dist/solutions-components/assets/t9n/info-card/resources_pt-PT.json +1 -1
- package/dist/solutions-components/assets/t9n/info-card/resources_ru.json +1 -1
- package/dist/solutions-components/assets/t9n/info-card/resources_sk.json +1 -1
- package/dist/solutions-components/assets/t9n/info-card/resources_vi.json +1 -1
- package/dist/solutions-components/assets/t9n/info-card/resources_zh-CN.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ar.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_bg.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_bs.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ca.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_cs.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_da.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_de.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_el.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_es.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_et.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_fi.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_fr.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_he.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_hr.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_hu.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_id.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_it.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ja.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ko.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_lt.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_lv.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_nb.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_nl.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pl.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pt-BR.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pt-PT.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ro.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ru.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sk.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sl.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sr.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sv.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_th.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_tr.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_uk.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_vi.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-CN.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-HK.json +1 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-TW.json +1 -1
- package/dist/solutions-components/assets/t9n/map-select-tools/resources_zh-HK.json +1 -1
- package/dist/solutions-components/assets/t9n/map-select-tools/resources_zh-TW.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ar.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_bg.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_bs.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ca.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_cs.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_da.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_de.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_el.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_es.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_et.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_fi.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_fr.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_he.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_hr.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_hu.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_id.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_it.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ja.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ko.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_lt.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_lv.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_nb.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_nl.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pl.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-BR.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-PT.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ro.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ru.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sk.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sl.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sr.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sv.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_th.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_tr.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_uk.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_vi.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-CN.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-HK.json +3 -0
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-TW.json +3 -0
- package/dist/solutions-components/demos/crowdsource-manager.html +1 -0
- package/dist/solutions-components/demos/crowdsource-reporter.html +1 -0
- package/dist/solutions-components/demos/solution-item-accordion.html +12 -1
- package/dist/solutions-components/{p-f9b7f97e.entry.js → p-032d4411.entry.js} +1 -1
- package/dist/solutions-components/{p-a4bd7b09.js → p-08ad0b7a.js} +1 -1
- package/dist/solutions-components/{p-1e364924.js → p-173d5fce.js} +1 -1
- package/dist/solutions-components/{p-3e25c5b0.js → p-174fa218.js} +1 -1
- package/dist/solutions-components/{p-0d311ebf.entry.js → p-1890b884.entry.js} +1 -1
- package/dist/solutions-components/p-1b0588d2.js +7 -0
- package/dist/solutions-components/{p-ae7bcbff.entry.js → p-1ddd7128.entry.js} +1 -1
- package/dist/solutions-components/{p-ff3d2df3.entry.js → p-1dffcc22.entry.js} +1 -1
- package/dist/solutions-components/{p-2b9d58dc.entry.js → p-1fe3577a.entry.js} +1 -1
- package/dist/solutions-components/{p-c1a752b9.entry.js → p-265f5dc4.entry.js} +1 -1
- package/dist/solutions-components/{p-056d4371.entry.js → p-2b556610.entry.js} +1 -1
- package/dist/solutions-components/{p-d600ca73.entry.js → p-2c8360b4.entry.js} +1 -1
- package/dist/solutions-components/{p-b2a6916d.entry.js → p-2dcf8f00.entry.js} +1 -1
- package/dist/solutions-components/{p-0d879c77.entry.js → p-300ff31e.entry.js} +1 -1
- package/dist/solutions-components/{p-9e92da5e.entry.js → p-335a630e.entry.js} +1 -1
- package/dist/solutions-components/{p-91bb7fdc.js → p-3c3aecdd.js} +1 -1
- package/dist/solutions-components/{p-ea6440fd.js → p-3d20e307.js} +1 -1
- package/dist/solutions-components/{p-f64eeaad.entry.js → p-43d9bb7d.entry.js} +1 -1
- package/dist/solutions-components/{p-340c71f3.entry.js → p-4426901e.entry.js} +1 -1
- package/dist/solutions-components/{p-bf007c87.js → p-48942eb8.js} +2 -2
- package/dist/solutions-components/{p-79083691.entry.js → p-4bdd4009.entry.js} +1 -1
- package/dist/solutions-components/p-4ebc471b.entry.js +6 -0
- package/dist/solutions-components/{p-20085e58.js → p-4f514c6d.js} +2 -2
- package/dist/solutions-components/{p-8af77823.entry.js → p-579628d9.entry.js} +1 -1
- package/dist/solutions-components/p-5ea1e18b.entry.js +6 -0
- package/dist/solutions-components/{p-256ce5cc.entry.js → p-68d49e1a.entry.js} +2 -2
- package/dist/solutions-components/{p-5474d6f0.entry.js → p-699a9557.entry.js} +1 -1
- package/dist/solutions-components/{p-5c05f28a.entry.js → p-6d62a4fa.entry.js} +1 -1
- package/dist/solutions-components/{p-a1d1dc83.entry.js → p-6da8fe2d.entry.js} +1 -1
- package/dist/solutions-components/{p-a5c51211.entry.js → p-70036eb6.entry.js} +1 -1
- package/dist/solutions-components/{p-c25ebd5a.entry.js → p-70e8be5c.entry.js} +1 -1
- package/dist/solutions-components/{p-e508cfaf.entry.js → p-7f6cbe61.entry.js} +1 -1
- package/dist/solutions-components/{p-0bb54295.entry.js → p-8107be38.entry.js} +1 -1
- package/dist/solutions-components/{p-a7d18a21.entry.js → p-81ae30bd.entry.js} +1 -1
- package/dist/solutions-components/p-87919d6d.entry.js +6 -0
- package/dist/solutions-components/{p-78051ff1.js → p-89fbc318.js} +1 -1
- package/dist/solutions-components/{p-1309ac58.js → p-8b218ba7.js} +1 -1
- package/dist/solutions-components/p-8ea0a36a.entry.js +6 -0
- package/dist/solutions-components/{p-3ea987a7.js → p-8f7957a2.js} +1 -1
- package/dist/solutions-components/{p-d572627c.js → p-952da957.js} +1 -1
- package/dist/solutions-components/{p-60bdf635.entry.js → p-959cb673.entry.js} +1 -1
- package/dist/solutions-components/{p-e8fa98f5.entry.js → p-9d953313.entry.js} +1 -1
- package/dist/solutions-components/{p-7e1c353c.entry.js → p-a003600b.entry.js} +1 -1
- package/dist/solutions-components/{p-af2c8aa9.js → p-ac122d9e.js} +1 -1
- package/dist/solutions-components/{p-0d110867.entry.js → p-acd2699e.entry.js} +1 -1
- package/dist/solutions-components/p-afc3ac6d.entry.js +6 -0
- package/dist/solutions-components/p-b37be371.entry.js +6 -0
- package/dist/solutions-components/{p-74b3e39c.entry.js → p-b40b5be5.entry.js} +1 -1
- package/dist/solutions-components/{p-d995adc3.entry.js → p-b560498c.entry.js} +1 -1
- package/dist/solutions-components/{p-da1ac695.entry.js → p-bc2548ba.entry.js} +1 -1
- package/dist/solutions-components/p-bf2598f8.entry.js +6 -0
- package/dist/solutions-components/{p-ad03f5cf.entry.js → p-ce8377c6.entry.js} +1 -1
- package/dist/solutions-components/{p-62a0aa8e.js → p-d65f8b73.js} +1 -1
- package/dist/solutions-components/{p-6d1ee086.js → p-dc188d13.js} +1 -1
- package/dist/solutions-components/{p-fa639501.js → p-e23b4193.js} +1 -1
- package/dist/solutions-components/{p-8ab5efc1.entry.js → p-e81e2d83.entry.js} +2 -2
- package/dist/solutions-components/{p-c44cbee6.entry.js → p-e85da876.entry.js} +1 -1
- package/dist/solutions-components/{p-ed8f7591.entry.js → p-ea64b72e.entry.js} +1 -1
- package/dist/solutions-components/{p-ffa545ee.entry.js → p-eb97b5ad.entry.js} +1 -1
- package/dist/solutions-components/{p-a23de3b0.js → p-ee2cbba0.js} +1 -1
- package/dist/solutions-components/{p-097bac90.entry.js → p-ee863ffb.entry.js} +1 -1
- package/dist/solutions-components/{p-c421d92d.entry.js → p-f07a02e2.entry.js} +1 -1
- package/dist/solutions-components/{p-c5f701bd.entry.js → p-fa09caf3.entry.js} +1 -1
- package/dist/solutions-components/{p-2010e62e.entry.js → p-ff5db601.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/mapViewUtils.ts +1 -1
- package/dist/solutions-components_commit.txt +7 -6
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +6 -0
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +8 -4
- package/dist/types/components/feature-details/feature-details.d.ts +4 -0
- package/dist/types/components/feature-list/feature-list.d.ts +52 -0
- package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +12 -0
- package/dist/types/components.d.ts +33 -0
- package/package.json +17 -17
- package/dist/solutions-components/p-0e3b3aa8.entry.js +0 -6
- package/dist/solutions-components/p-44105d86.entry.js +0 -6
- package/dist/solutions-components/p-47abefd3.entry.js +0 -6
- package/dist/solutions-components/p-8169d4af.entry.js +0 -6
- package/dist/solutions-components/p-88de10d1.entry.js +0 -6
- package/dist/solutions-components/p-8c40bdec.js +0 -7
- package/dist/solutions-components/p-b0551d23.entry.js +0 -6
- package/dist/solutions-components/p-d32b5127.entry.js +0 -6
- /package/dist/cjs/{esri-loader-a56cbcbe.js → esri-loader-08dc41bd.js} +0 -0
- /package/dist/cjs/{typeof-920a4426.js → typeof-2a7e2dec.js} +0 -0
- /package/dist/esm/{esri-loader-781d738a.js → esri-loader-c6842c6b.js} +0 -0
- /package/dist/esm/{typeof-2511410e.js → typeof-ef2a007d.js} +0 -0
- /package/dist/solutions-components/{p-6a68306c.js → p-0a24ad5f.js} +0 -0
- /package/dist/solutions-components/{p-af7e43e0.js → p-4fe489cf.js} +0 -0
@@ -470,7 +470,7 @@ export class CreateFeature {
|
|
470
470
|
//Add handle to watch featureTemplatesViewModel ready state and then start the creation
|
471
471
|
const handle = this.reactiveUtils.watch(() => this._editor.viewModel.featureTemplatesViewModel.state, (state) => {
|
472
472
|
if (state === 'ready' && this._editor.viewModel?.activeWorkflow?.type !== "create-features") {
|
473
|
-
this.progressStatus.emit(
|
473
|
+
this.progressStatus.emit(50);
|
474
474
|
this._editorLoading = true;
|
475
475
|
}
|
476
476
|
});
|
@@ -484,7 +484,7 @@ export class CreateFeature {
|
|
484
484
|
void this._setFloorLevel(this.floorLevel);
|
485
485
|
}, 50);
|
486
486
|
this._currentPage = 'featureForm';
|
487
|
-
this.progressStatus.emit(
|
487
|
+
this.progressStatus.emit(100);
|
488
488
|
this.drawComplete.emit();
|
489
489
|
}
|
490
490
|
});
|
@@ -511,11 +511,11 @@ export class CreateFeature {
|
|
511
511
|
await this.hideEditorsElements();
|
512
512
|
return new Promise((resolve, reject) => {
|
513
513
|
if (this._editor.viewModel.featureTemplatesViewModel.items?.length) {
|
514
|
-
const items = this._editor.viewModel.featureTemplatesViewModel.items[0].
|
514
|
+
const items = this._editor.viewModel.featureTemplatesViewModel.items[0].items;
|
515
515
|
//once the feature template is selected handle the event for formSubmit and sketch complete
|
516
516
|
//also, hide the headers and footer in the editor as we will be showing our own submit and cancel button
|
517
517
|
this._editor.viewModel.featureTemplatesViewModel.on('select', () => {
|
518
|
-
this.progressStatus.emit(
|
518
|
+
this.progressStatus.emit(75);
|
519
519
|
setTimeout(() => {
|
520
520
|
//hides the header and footer elements in editor widget
|
521
521
|
this.hideEditorsElements().then(() => {
|
@@ -708,9 +708,8 @@ export class CreateFeature {
|
|
708
708
|
this._isSubmitBtnClicked = false;
|
709
709
|
return;
|
710
710
|
}
|
711
|
-
//Submit only when valid attributes
|
712
711
|
//emit success or fail based on the result
|
713
|
-
if (
|
712
|
+
if (this._isSubmitBtnClicked) {
|
714
713
|
this._isSubmitBtnClicked = false;
|
715
714
|
try {
|
716
715
|
await this._editor.activeWorkflow.commit();
|
@@ -749,14 +749,10 @@ export class CrowdsourceManager {
|
|
749
749
|
* @protected
|
750
750
|
*/
|
751
751
|
_filterModal() {
|
752
|
-
return (h("calcite-dialog", { class: "filter-content-space", heading: this._translations?.filter?.replace("{{title}}", this._layer?.title), id: "solutions-filter-dialog", kind: "brand", modal: true, onCalciteDialogClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick:
|
752
|
+
return (h("calcite-dialog", { class: "filter-content-space", heading: this._translations?.filter?.replace("{{title}}", this._layer?.title), id: "solutions-filter-dialog", kind: "brand", modal: true, onCalciteDialogClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: () => void this._closeFilter(), comboboxOverlayPositioning: "fixed", layerExpressions: this._layerExpressions, onFilterListReset: () => {
|
753
753
|
this._handleFilterListReset();
|
754
754
|
void this._mapCard.resetFilter();
|
755
|
-
}, onFilterUpdate:
|
756
|
-
const active = this._filterList.filterCount > 0;
|
757
|
-
await this._layerTable?.filterUpdate(active);
|
758
|
-
await this._mapCard.updateFilterState(active);
|
759
|
-
}, ref: (el) => this._filterList = el, view: this._mapView, zoomBtn: false })));
|
755
|
+
}, onFilterUpdate: () => void this._updateFilter(), ref: (el) => this._filterList = el, view: this._mapView, zoomBtn: false })));
|
760
756
|
}
|
761
757
|
/**
|
762
758
|
* Store any filters for the current layer.
|
@@ -799,6 +795,16 @@ export class CrowdsourceManager {
|
|
799
795
|
void this._layerTable.closeFilter();
|
800
796
|
}
|
801
797
|
}
|
798
|
+
/**
|
799
|
+
* Update the filter state
|
800
|
+
*
|
801
|
+
* @protected
|
802
|
+
*/
|
803
|
+
async _updateFilter() {
|
804
|
+
const active = this._filterList.filterCount > 0;
|
805
|
+
await this._layerTable?.filterUpdate(active);
|
806
|
+
await this._mapCard.updateFilterState(active);
|
807
|
+
}
|
802
808
|
/**
|
803
809
|
* Update the component layout when its size changes
|
804
810
|
*
|
@@ -171,6 +171,10 @@ export class CrowdsourceReporter {
|
|
171
171
|
* string: selected floor level
|
172
172
|
*/
|
173
173
|
floorLevel;
|
174
|
+
/**
|
175
|
+
* boolean: When false comment will shown in single line in the comments list
|
176
|
+
*/
|
177
|
+
showFullCommentTitle = true;
|
174
178
|
//--------------------------------------------------------------------------
|
175
179
|
//
|
176
180
|
// State (internal)
|
@@ -224,7 +228,7 @@ export class CrowdsourceReporter {
|
|
224
228
|
/**
|
225
229
|
* number: Show the updated progress bar status
|
226
230
|
*/
|
227
|
-
_updatedProgressBarStatus =
|
231
|
+
_updatedProgressBarStatus = 25;
|
228
232
|
/**
|
229
233
|
* ISortingInfo: Sort the feature list depending on the sort field and order
|
230
234
|
*/
|
@@ -537,7 +541,7 @@ export class CrowdsourceReporter {
|
|
537
541
|
*/
|
538
542
|
render() {
|
539
543
|
const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
|
540
|
-
return (h(Host, { key: '
|
544
|
+
return (h(Host, { key: '03d613fe8f275852672fb546ceb4449fb82580c0' }, this._reportSubmitted && h("calcite-alert", { key: '969a66978549d6993b1e4fce87bbd2387858cdf8', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '60ae42443e09a97d97a46bba07b1ea010b382348', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { key: 'bf6c346cf976a4b84da3553230239665c712e2b6', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { key: '1f9560e18d802a15bcb3e8ea9f05837a4a6fb8aa', slot: "title" }, this._translations.error), h("div", { key: '1f5ef09cbf94996eeb5783211ed1542a5cf53e93', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && h("calcite-alert", { key: '15538e8faabbec476d7586dcc4152b422404c23f', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '925a9a243a79dfb66554a9a51f24396ca2b71c98', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && h("calcite-alert", { key: '62c63d3b1c51bdc7879e815e2b2f4d3c4d039c4c', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, h("div", { key: '971f07331a8689b859f2cedc96ba3589a3ad3e16', slot: "title" }, this._translations.error), h("div", { key: '1627f1ab5c4a4aceb7bdb70471aed6b8ca6d67b8', slot: "message" }, this._translations.addingCommentFailedMsg)), h("div", { key: 'b3257ba523357b4444ce7da7d13a86f6b71185d9' }, h("calcite-shell", { key: '35fc5a814528bb0acc22919839719bb4349e9ae4', "content-behind": true }, this._getReporter()))));
|
541
545
|
}
|
542
546
|
//--------------------------------------------------------------------------
|
543
547
|
//
|
@@ -671,7 +675,7 @@ export class CrowdsourceReporter {
|
|
671
675
|
* @protected
|
672
676
|
*/
|
673
677
|
getLayerListFlowItem() {
|
674
|
-
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportsHeader }, this.isMobile && this.getActionToExpandCollapsePanel(), this._hasValidLayers && this.enableNewReports &&
|
678
|
+
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportsHeader, selected: this._flowItems[this._flowItems.length - 1] === "layer-list" }, this.isMobile && this.getActionToExpandCollapsePanel(), this._hasValidLayers && this.enableNewReports &&
|
675
679
|
h("calcite-button", { appearance: "solid", onClick: this.navigateToChooseCategory.bind(this), slot: "footer", width: "full" }, this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText), h("calcite-panel", { "full-height": true, "full-width": true }, h("layer-list", { applyLayerViewFilter: this.showMyReportsOnly, class: "height-full", layers: this._editableLayerIds?.length > 0 ? this._editableLayerIds : this._layers, locale: this.locale, mapView: this.mapView, onLayerSelect: this.displayFeaturesList.bind(this), onLayersListLoaded: this.layerListLoaded.bind(this), ref: el => this._layerList = el, showFeatureCount: true, showNextIcon: true }))));
|
676
680
|
}
|
677
681
|
/**
|
@@ -683,7 +687,7 @@ export class CrowdsourceReporter {
|
|
683
687
|
const onlyReportingLayers = this.reportingOptions ? Object.keys(this.reportingOptions).filter((layerId) => {
|
684
688
|
return this.reportingOptions[layerId].visible && this.reportingOptions[layerId].reporting && this._layerItemsHash[layerId] && this._layerItemsHash[layerId].supportsAdd;
|
685
689
|
}) : [];
|
686
|
-
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, h("calcite-panel", { "full-height": true, "full-width": true }, h("div", { class: "progress-bar" }, h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), h("calcite-notice", { class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { slot: "message" }, this._translations.chooseCategoryMsg)), h("layer-list", { class: "height-full", layers: onlyReportingLayers, locale: this.locale, mapView: this.mapView, onLayerSelect: this.navigateToCreateFeature.bind(this), showFeatureCount: false, showNextIcon: false }))));
|
690
|
+
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "reporting-layer-list" }, h("calcite-panel", { "full-height": true, "full-width": true }, h("div", { class: "progress-bar" }, h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), h("calcite-notice", { class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { slot: "message" }, this._translations.chooseCategoryMsg)), h("layer-list", { class: "height-full", layers: onlyReportingLayers, locale: this.locale, mapView: this.mapView, onLayerSelect: this.navigateToCreateFeature.bind(this), showFeatureCount: false, showNextIcon: false }))));
|
687
691
|
}
|
688
692
|
/**
|
689
693
|
* Get Feature create form of the selected feature layer
|
@@ -691,7 +695,7 @@ export class CrowdsourceReporter {
|
|
691
695
|
* @protected
|
692
696
|
*/
|
693
697
|
getFeatureCreateFlowItem() {
|
694
|
-
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromCreateFeaturePanel.bind(this) }, this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateFeaturePanel.bind(this), width: "full" }, this._translations.cancel)), h("calcite-panel", { "full-height": true, "full-width": true }, h("div", { class: "progress-bar" }, h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), h("create-feature", { customizeSubmit: true, enableSearch: true, floorLevel: this.floorLevel, formElements: this._formElements.find(elm => elm.id === this._selectedLayerId), isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, onDrawComplete: this.onFormReady.bind(this), onEditingAttachment: this.showSubmitCancelButton.bind(this), onFail: this.createFeatureFailed.bind(this), onModeChanged: this.backFromCreateFeaturePanel.bind(this), onProgressStatus: this.updatedProgressStatus.bind(this), onSuccess: this.onReportSubmitted.bind(this), ref: el => this._createFeature = el, searchConfiguration: this.searchConfiguration, selectedLayerId: this._selectedLayerId }))));
|
698
|
+
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromCreateFeaturePanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "feature-create" }, this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateFeaturePanel.bind(this), width: "full" }, this._translations.cancel)), h("calcite-panel", { "full-height": true, "full-width": true }, h("div", { class: "progress-bar" }, h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), h("create-feature", { customizeSubmit: true, enableSearch: true, floorLevel: this.floorLevel, formElements: this._formElements.find(elm => elm.id === this._selectedLayerId), isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, onDrawComplete: this.onFormReady.bind(this), onEditingAttachment: this.showSubmitCancelButton.bind(this), onFail: this.createFeatureFailed.bind(this), onModeChanged: this.backFromCreateFeaturePanel.bind(this), onProgressStatus: this.updatedProgressStatus.bind(this), onSuccess: this.onReportSubmitted.bind(this), ref: el => this._createFeature = el, searchConfiguration: this.searchConfiguration, selectedLayerId: this._selectedLayerId }))));
|
695
699
|
}
|
696
700
|
/**
|
697
701
|
* Update the progress bar status when editor panel changes
|
@@ -772,7 +776,7 @@ export class CrowdsourceReporter {
|
|
772
776
|
void this.updateNonVisibleLayersOnMap(false);
|
773
777
|
await this.navigateToHomePage();
|
774
778
|
this._reportSubmitted = true;
|
775
|
-
this._updatedProgressBarStatus =
|
779
|
+
this._updatedProgressBarStatus = 25;
|
776
780
|
//on report submit form will be closed, so update the form state
|
777
781
|
if (this._showFullPanel) {
|
778
782
|
this.updatePanelState(this._sidePanelCollapsed, false);
|
@@ -919,7 +923,7 @@ export class CrowdsourceReporter {
|
|
919
923
|
* @protected
|
920
924
|
*/
|
921
925
|
backFromSelectedPanel() {
|
922
|
-
this._updatedProgressBarStatus =
|
926
|
+
this._updatedProgressBarStatus = 25;
|
923
927
|
const updatedFlowItems = [...this._flowItems];
|
924
928
|
// when back from comment details or add comment page don't clear the highlighted feature of map
|
925
929
|
if (!(updatedFlowItems[updatedFlowItems.length - 1] === 'comment-details' ||
|
@@ -990,10 +994,10 @@ export class CrowdsourceReporter {
|
|
990
994
|
this._showLoadingIndicator = isLoading;
|
991
995
|
}
|
992
996
|
/**
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
+
* On Feature details change update the Layer title and the current selected layer id
|
998
|
+
* @param evt Event hold the details of current feature graphic from the feature-details
|
999
|
+
* @protected
|
1000
|
+
*/
|
997
1001
|
async selectionChanged(evt) {
|
998
1002
|
void this.updatingFeatureDetails(true);
|
999
1003
|
await this.setCurrentFeature(evt.detail.selectedFeature[0]);
|
@@ -1027,7 +1031,7 @@ export class CrowdsourceReporter {
|
|
1027
1031
|
getFeatureListFlowItem(layerId, layerName) {
|
1028
1032
|
const canCreateReports = this._getLayersConfig(this._selectedLayerId)?.reporting && this._layerItemsHash[this._selectedLayerId].supportsAdd;
|
1029
1033
|
const showFilterIcon = this._currentLayerExpressions?.length > 0;
|
1030
|
-
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: layerName, loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this._toggleSort(), h("calcite-action", { icon: "sort-ascending-arrow", id: "sort-popover", slot: "header-actions-end", text: this._translations.sort, title: this._translations.sort }), showFilterIcon && h("calcite-action", { icon: "filter", indicator: this._filterActive, onClick: () => { this._flowItems = [...this._flowItems, "filter-panel"]; }, slot: "header-actions-end", text: this._translations.filter, title: this._translations.filter }), this.isMobile && this.getActionToExpandCollapsePanel(), this.enableNewReports && canCreateReports &&
|
1034
|
+
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: layerName, loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "feature-list" }, this._toggleSort(), h("calcite-action", { icon: "sort-ascending-arrow", id: "sort-popover", slot: "header-actions-end", text: this._translations.sort, title: this._translations.sort }), showFilterIcon && h("calcite-action", { icon: "filter", indicator: this._filterActive, onClick: () => { this._flowItems = [...this._flowItems, "filter-panel"]; }, slot: "header-actions-end", text: this._translations.filter, title: this._translations.filter }), this.isMobile && this.getActionToExpandCollapsePanel(), this.enableNewReports && canCreateReports &&
|
1031
1035
|
h("calcite-button", { appearance: "solid", onClick: this.navigateToCreateFeature.bind(this), slot: "footer", width: "full" }, this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText), h("calcite-panel", { "full-height": true }, h("feature-list", { applyLayerViewFilter: this.showMyReportsOnly, class: "height-full", highlightOnHover: true, locale: this.locale, mapView: this.mapView, noFeaturesFoundMsg: this._translations.featureErrorMsg, onFeatureSelect: this.onFeatureSelectFromList.bind(this), pageSize: 30, ref: el => this._featureList = el, reportingOptions: this.reportingOptions, selectedLayerId: layerId, showFeatureSymbol: this.showFeatureSymbol, sortingInfo: this._updatedSorting }))));
|
1032
1036
|
}
|
1033
1037
|
/**
|
@@ -1036,7 +1040,7 @@ export class CrowdsourceReporter {
|
|
1036
1040
|
* @protected
|
1037
1041
|
*/
|
1038
1042
|
getFilterPanel() {
|
1039
|
-
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._translations?.filterLayerTitle?.replace("{{title}}", this._selectedLayerName), loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromFilterPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("div", { class: "width-full", slot: "footer" }, h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", disabled: !this._filterActive, onClick: this.resetFilterList.bind(this), width: "full" }, this._translations.resetFilter), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromFilterPanel.bind(this), width: "full" }, this._translations.close))), h("calcite-panel", { "full-height": true }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtnOnClick: () => undefined, comboboxOverlayPositioning: "fixed", layerExpressions: this._currentLayerExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(this._filterList.filterCount > 0), ref: (el) => this._filterList = el, resetBtn: false, resetFiltersOnDisconnect: false, view: this.mapView, zoomBtn: false }))));
|
1043
|
+
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._translations?.filterLayerTitle?.replace("{{title}}", this._selectedLayerName), loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromFilterPanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "filter-panel" }, this.isMobile && this.getActionToExpandCollapsePanel(), h("div", { class: "width-full", slot: "footer" }, h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", disabled: !this._filterActive, onClick: this.resetFilterList.bind(this), width: "full" }, this._translations.resetFilter), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromFilterPanel.bind(this), width: "full" }, this._translations.close))), h("calcite-panel", { "full-height": true }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtnOnClick: () => undefined, comboboxOverlayPositioning: "fixed", layerExpressions: this._currentLayerExpressions, onFilterListReset: () => void this._handleFilterListReset(), onFilterUpdate: () => void this._handleFilterUpdate(this._filterList.filterCount > 0), ref: (el) => this._filterList = el, resetBtn: false, resetFiltersOnDisconnect: false, view: this.mapView, zoomBtn: false }))));
|
1040
1044
|
}
|
1041
1045
|
/**
|
1042
1046
|
* Returns the calcite-flow item for feature details
|
@@ -1044,7 +1048,7 @@ export class CrowdsourceReporter {
|
|
1044
1048
|
*/
|
1045
1049
|
getFeatureDetailsFlowItem() {
|
1046
1050
|
const showCommentBtn = this._getLayersConfig(this._selectedLayerId)?.comment && this._selectedLayer.relationships.length > 0 && this._relatedTable;
|
1047
|
-
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("instant-apps-social-share", { autoUpdateShareUrl: false, class: "share-node", embed: false, popoverButtonIconScale: "s", ref: el => this._shareNode = el, removePopoverOffset: true, scale: "m", shareButtonColor: "neutral", shareButtonType: "action", slot: "header-actions-end", socialMedia: true, view: this.mapView }), this._selectedFeature.length > 1 && this.getFeaturesPagination(), h("calcite-panel", null, h("feature-details", { class: 'full-height', graphics: this._selectedFeature, layerItemsHash: this._layerItemsHash, locale: this.locale, mapView: this.mapView, onAddComment: this.showAddCommentsPanel.bind(this), onCommentSelect: this.onCommentSelectFromList.bind(this), onFeatureSelectionChange: this.selectionChanged.bind(this), onLikeOrDislikeClicked: () => { void this._featureList.refresh(true); }, onLoadingStatus: (evt) => void this.updatingFeatureDetails(evt.detail), ref: el => this._featureDetails = el, reportingOptions: this.reportingOptions, showUserImageInCommentsList: this.showUserImageInCommentsList }), showCommentBtn &&
|
1051
|
+
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "feature-details" }, this.isMobile && this.getActionToExpandCollapsePanel(), h("instant-apps-social-share", { autoUpdateShareUrl: false, class: "share-node", embed: false, popoverButtonIconScale: "s", ref: el => this._shareNode = el, removePopoverOffset: true, scale: "m", shareButtonColor: "neutral", shareButtonType: "action", slot: "header-actions-end", socialMedia: true, view: this.mapView }), this._selectedFeature.length > 1 && this.getFeaturesPagination(), h("calcite-panel", null, h("feature-details", { class: 'full-height', graphics: this._selectedFeature, layerItemsHash: this._layerItemsHash, locale: this.locale, mapView: this.mapView, onAddComment: this.showAddCommentsPanel.bind(this), onCommentSelect: this.onCommentSelectFromList.bind(this), onFeatureSelectionChange: this.selectionChanged.bind(this), onLikeOrDislikeClicked: () => { void this._featureList.refresh(true); }, onLoadingStatus: (evt) => void this.updatingFeatureDetails(evt.detail), ref: el => this._featureDetails = el, reportingOptions: this.reportingOptions, showFullCommentTitle: this.showFullCommentTitle, showUserImageInCommentsList: this.showUserImageInCommentsList }), showCommentBtn &&
|
1048
1052
|
h("calcite-button", { appearance: "solid", onClick: this.showAddCommentsPanel.bind(this), slot: "footer", width: "full" }, this.commentButtonText || this._translations.comment))));
|
1049
1053
|
}
|
1050
1054
|
/**
|
@@ -1060,14 +1064,14 @@ export class CrowdsourceReporter {
|
|
1060
1064
|
* @returns Node
|
1061
1065
|
*/
|
1062
1066
|
getCommentDetailsFlowItem() {
|
1063
|
-
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._relatedTable.title, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("calcite-panel", { "full-height": true }, h("info-card", { allowEditing: false, graphics: this._selectedRelatedFeature, highlightEnabled: false, isLoading: false, isMobile: false, locale: this.locale, mapView: this.mapView, paginationEnabled: false }))));
|
1067
|
+
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._relatedTable.title, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "comment-details" }, this.isMobile && this.getActionToExpandCollapsePanel(), h("calcite-panel", { "full-height": true }, h("info-card", { allowEditing: false, graphics: this._selectedRelatedFeature, highlightEnabled: false, isLoading: false, isMobile: false, locale: this.locale, mapView: this.mapView, paginationEnabled: false }))));
|
1064
1068
|
}
|
1065
1069
|
/**
|
1066
1070
|
* Returns the calcite-flow item for add comment
|
1067
1071
|
* @returns Node
|
1068
1072
|
*/
|
1069
1073
|
getAddCommentFlowItem() {
|
1070
|
-
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._relatedTable.title, onCalciteFlowItemBack: this.backFromCreateRelatedFeaturePanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("div", { class: "width-full", slot: "footer" }, this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateRelatedFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateRelatedFeaturePanel.bind(this), width: "full" }, this._translations.cancel))), h("calcite-panel", null, h("create-related-feature", { customizeSubmit: true, locale: this.locale, mapView: this.mapView, onFail: this.addCommentFailed.bind(this), onFormReady: this.onFormReady.bind(this), onIsActionPending: this.showSubmitCancelButton.bind(this), onSuccess: this.onCommentSubmitted.bind(this), ref: el => this._createRelatedFeature = el, selectedFeature: this._currentFeature, table: this._relatedTable }))));
|
1074
|
+
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._relatedTable.title, onCalciteFlowItemBack: this.backFromCreateRelatedFeaturePanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "add-comment" }, this.isMobile && this.getActionToExpandCollapsePanel(), h("div", { class: "width-full", slot: "footer" }, this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateRelatedFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateRelatedFeaturePanel.bind(this), width: "full" }, this._translations.cancel))), h("calcite-panel", null, h("create-related-feature", { customizeSubmit: true, locale: this.locale, mapView: this.mapView, onFail: this.addCommentFailed.bind(this), onFormReady: this.onFormReady.bind(this), onIsActionPending: this.showSubmitCancelButton.bind(this), onSuccess: this.onCommentSubmitted.bind(this), ref: el => this._createRelatedFeature = el, selectedFeature: this._currentFeature, table: this._relatedTable }))));
|
1071
1075
|
}
|
1072
1076
|
/**
|
1073
1077
|
* Sets the selected features and updates the first feature as the current selected feature
|
@@ -2214,6 +2218,26 @@ export class CrowdsourceReporter {
|
|
2214
2218
|
"setter": false,
|
2215
2219
|
"attribute": "floor-level",
|
2216
2220
|
"reflect": false
|
2221
|
+
},
|
2222
|
+
"showFullCommentTitle": {
|
2223
|
+
"type": "boolean",
|
2224
|
+
"mutable": false,
|
2225
|
+
"complexType": {
|
2226
|
+
"original": "boolean",
|
2227
|
+
"resolved": "boolean",
|
2228
|
+
"references": {}
|
2229
|
+
},
|
2230
|
+
"required": false,
|
2231
|
+
"optional": false,
|
2232
|
+
"docs": {
|
2233
|
+
"tags": [],
|
2234
|
+
"text": "boolean: When false comment will shown in single line in the comments list"
|
2235
|
+
},
|
2236
|
+
"getter": false,
|
2237
|
+
"setter": false,
|
2238
|
+
"attribute": "show-full-comment-title",
|
2239
|
+
"reflect": false,
|
2240
|
+
"defaultValue": "true"
|
2217
2241
|
}
|
2218
2242
|
};
|
2219
2243
|
}
|
@@ -57,6 +57,10 @@ export class FeatureDetails {
|
|
57
57
|
* boolean: When true the profile image of the comment creator will be shown in the comments list
|
58
58
|
*/
|
59
59
|
showUserImageInCommentsList = false;
|
60
|
+
/**
|
61
|
+
* boolean: When false comment will shown in single line in the comments list
|
62
|
+
*/
|
63
|
+
showFullCommentTitle = true;
|
60
64
|
//--------------------------------------------------------------------------
|
61
65
|
//
|
62
66
|
// State (internal)
|
@@ -234,12 +238,12 @@ export class FeatureDetails {
|
|
234
238
|
render() {
|
235
239
|
//When related features found show comments list of only those features else comments list will be empty
|
236
240
|
const commentsListWhereClause = this._relatedFeaturesOIDs?.length > 0 ? `objectId in(${this._relatedFeaturesOIDs})` : '1=0';
|
237
|
-
return (h("calcite-panel", { key: '
|
238
|
-
h("div", { key: '
|
239
|
-
h("calcite-button", { key: '
|
240
|
-
h("calcite-button", { key: '
|
241
|
-
h("calcite-button", { key: '
|
242
|
-
h("feature-list", { key: '
|
241
|
+
return (h("calcite-panel", { key: '577f06f7bc41875b38e07a44f3c734ccc839e596', "full-height": true }, h("info-card", { key: 'e815f75d02bcdfe9cc11796c913be2a6c2bfecd2', 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) &&
|
242
|
+
h("div", { key: '16d0af6b0e75b595573bd0816744f03d9d6dec37', class: "buttons-container" }, this._commentsAvailable &&
|
243
|
+
h("calcite-button", { key: '550b3af830911a1437fa3e967492666ec8c5a2e4', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
|
244
|
+
h("calcite-button", { key: '741848445c2083f4c0a3d9464cd810deee4a1218', 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 &&
|
245
|
+
h("calcite-button", { key: '4d5e8ae279559dbf981b1b91238706adbd6ebeef', 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 &&
|
246
|
+
h("feature-list", { key: '0daad9b37b13a05afc4b8a3a6eca70a7356afd8f', 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, showFullTitle: this.showFullCommentTitle, showInitialLoading: false, showUserImageInList: this.showUserImageInCommentsList, textSize: "small", whereClause: commentsListWhereClause })));
|
243
247
|
}
|
244
248
|
/**
|
245
249
|
* Load esri javascript api modules
|
@@ -649,6 +653,26 @@ export class FeatureDetails {
|
|
649
653
|
"attribute": "show-user-image-in-comments-list",
|
650
654
|
"reflect": false,
|
651
655
|
"defaultValue": "false"
|
656
|
+
},
|
657
|
+
"showFullCommentTitle": {
|
658
|
+
"type": "boolean",
|
659
|
+
"mutable": false,
|
660
|
+
"complexType": {
|
661
|
+
"original": "boolean",
|
662
|
+
"resolved": "boolean",
|
663
|
+
"references": {}
|
664
|
+
},
|
665
|
+
"required": false,
|
666
|
+
"optional": false,
|
667
|
+
"docs": {
|
668
|
+
"tags": [],
|
669
|
+
"text": "boolean: When false comment will shown in single line in the comments list"
|
670
|
+
},
|
671
|
+
"getter": false,
|
672
|
+
"setter": false,
|
673
|
+
"attribute": "show-full-comment-title",
|
674
|
+
"reflect": false,
|
675
|
+
"defaultValue": "true"
|
652
676
|
}
|
653
677
|
};
|
654
678
|
}
|
@@ -42,16 +42,20 @@
|
|
42
42
|
white-space: pre-line;
|
43
43
|
}
|
44
44
|
|
45
|
-
.feature-list-popup-title-
|
46
|
-
|
45
|
+
.feature-list-popup-title-small-ellipsis {
|
46
|
+
font-size: small;
|
47
|
+
white-space: nowrap !important;
|
48
|
+
text-overflow: ellipsis;
|
49
|
+
overflow: hidden;
|
47
50
|
}
|
48
51
|
|
49
|
-
.
|
50
|
-
padding:
|
52
|
+
.popup-title {
|
53
|
+
padding: 0 5px;
|
54
|
+
word-break: break-word;
|
51
55
|
}
|
52
56
|
|
53
57
|
.profile-img {
|
54
|
-
|
58
|
+
padding: 0 5px;
|
55
59
|
min-width: 32px;
|
56
60
|
}
|
57
61
|
|
@@ -64,8 +68,14 @@
|
|
64
68
|
}
|
65
69
|
|
66
70
|
.feature-symbol {
|
67
|
-
padding: 3px
|
71
|
+
padding: 0 3px;
|
68
72
|
min-width: 30px;
|
69
73
|
display: flex;
|
70
74
|
justify-content: center;
|
75
|
+
}
|
76
|
+
|
77
|
+
.search {
|
78
|
+
padding: 10px;
|
79
|
+
background-color: var(--calcite-color-foreground-1) !important;
|
80
|
+
border-block-end: 1px solid var(--calcite-color-border-3);
|
71
81
|
}
|
@@ -99,6 +99,10 @@ export class FeatureList {
|
|
99
99
|
* IReportingOptions: Key options for reporting
|
100
100
|
*/
|
101
101
|
reportingOptions;
|
102
|
+
/**
|
103
|
+
* boolean: When false popup title will shown in single line
|
104
|
+
*/
|
105
|
+
showFullTitle = true;
|
102
106
|
//--------------------------------------------------------------------------
|
103
107
|
//
|
104
108
|
// State (internal)
|
@@ -116,6 +120,14 @@ export class FeatureList {
|
|
116
120
|
* boolean: Check if selected layer's features fetching process is completed
|
117
121
|
*/
|
118
122
|
_isLoading = false;
|
123
|
+
/**
|
124
|
+
* string: Placeholder string to show fields included in full text search
|
125
|
+
*/
|
126
|
+
_searchPlaceHolder = '';
|
127
|
+
/**
|
128
|
+
* any[]: Contains full text search info object
|
129
|
+
*/
|
130
|
+
_fullTextSearchInfo;
|
119
131
|
/**
|
120
132
|
* Contains the translations for this component.
|
121
133
|
* All UI strings should be defined here.
|
@@ -161,6 +173,10 @@ export class FeatureList {
|
|
161
173
|
* HTMLCalcitePaginationElement: Calcite pagination element instance
|
162
174
|
*/
|
163
175
|
_pagination;
|
176
|
+
/**
|
177
|
+
* HTMLCalciteListElement: Calcite List element instance
|
178
|
+
*/
|
179
|
+
_calciteList;
|
164
180
|
/**
|
165
181
|
* string[]: Valid field types for like
|
166
182
|
*/
|
@@ -173,6 +189,10 @@ export class FeatureList {
|
|
173
189
|
* boolean: When true configured like field is available in selected layer
|
174
190
|
*/
|
175
191
|
_likeFieldAvailable = false;
|
192
|
+
/**
|
193
|
+
* string: The current search expression
|
194
|
+
*/
|
195
|
+
_searchExpression;
|
176
196
|
//--------------------------------------------------------------------------
|
177
197
|
//
|
178
198
|
// Watch handlers
|
@@ -222,6 +242,9 @@ export class FeatureList {
|
|
222
242
|
};
|
223
243
|
await this.pageChanged(event);
|
224
244
|
}
|
245
|
+
else if (this._searchExpression) {
|
246
|
+
await this._searchFullText();
|
247
|
+
}
|
225
248
|
else {
|
226
249
|
await this.initializeFeatureItems();
|
227
250
|
}
|
@@ -253,6 +276,7 @@ export class FeatureList {
|
|
253
276
|
this._popupUtils = new PopupUtils();
|
254
277
|
if (this.mapView && this.selectedLayerId) {
|
255
278
|
this._selectedLayer = await getLayerOrTable(this.mapView, this.selectedLayerId);
|
279
|
+
this._getFullTextSearchInfo();
|
256
280
|
}
|
257
281
|
}
|
258
282
|
/**
|
@@ -265,9 +289,11 @@ export class FeatureList {
|
|
265
289
|
* Renders the component.
|
266
290
|
*/
|
267
291
|
render() {
|
268
|
-
|
269
|
-
|
270
|
-
h("
|
292
|
+
const showSearch = this._canShowFullTextSearch();
|
293
|
+
return (h("calcite-panel", { key: '56599be334eec65be00681d415db28917133b0c1', "full-height": true, "full-width": true }, showSearch &&
|
294
|
+
h("calcite-input", { key: '6de9873f6b7ab961dffe1334d2fc20b4322d8ea8', class: "search", clearable: true, icon: "search", onCalciteInputChange: this._searchTextChanged.bind(this), placeholder: this._searchPlaceHolder, title: '', type: "search" }), this._isLoading && h("calcite-loader", { key: '4189b0d6c2a85116d529f5b7844c1f2d41657350', label: "", scale: "m" }), this.showErrorWhenNoFeatures && this._featureItems.length === 0 && !this._isLoading &&
|
295
|
+
h("calcite-notice", { key: '7f2e8276ad5345e21667b2dedc7e23f5c34672f5', class: "error-msg", icon: "feature-details", kind: "info", open: true }, h("div", { key: '63d44ac906c8d5584aac2cfbeec4cf0962d61abe', slot: "message" }, this.noFeaturesFoundMsg ? this.noFeaturesFoundMsg : this._translations.featureErrorMsg)), h("calcite-list", { key: '5843f8d7ca994cb799a9be0ab2f43a8f1e407e9a', class: this.textSize === 'small' && !this.showFullTitle ? 'overflow-hidden' : '', label: "", ref: el => this._calciteList = el, "selection-appearance": "border", "selection-mode": "none" }, !this._isLoading && this._featureItems.length > 0 && this._featureItems), this._featuresCount > this.pageSize &&
|
296
|
+
h("div", { key: '288364bc505fe6bce8b1260dce5173163a795330', class: "width-full", slot: "footer" }, h("calcite-pagination", { key: 'e30e2d46a0005dd3e0d289deb4721b9155d4df29', 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 }))));
|
271
297
|
}
|
272
298
|
//--------------------------------------------------------------------------
|
273
299
|
//
|
@@ -345,6 +371,112 @@ export class FeatureList {
|
|
345
371
|
this._featureItems = await this.queryPage(page);
|
346
372
|
this._isLoading = false;
|
347
373
|
}
|
374
|
+
/**
|
375
|
+
* Validates if full text search is enabled and and indexes for fullTextSearch is set as display field on layer
|
376
|
+
* @protected
|
377
|
+
*/
|
378
|
+
_canShowFullTextSearch() {
|
379
|
+
return ((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch &&
|
380
|
+
this._selectedLayer.indexes.items.filter(i => i.indexType == 'FullText').length > 0;
|
381
|
+
}
|
382
|
+
/**
|
383
|
+
* Create list of full text search info
|
384
|
+
*/
|
385
|
+
_getFullTextSearchInfo() {
|
386
|
+
this._fullTextSearchInfo = [];
|
387
|
+
//combine all the fullText index
|
388
|
+
if (((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch) {
|
389
|
+
const fullTextIndexes = this._selectedLayer.indexes?.filter(i => i.indexType == 'FullText');
|
390
|
+
if (fullTextIndexes?.length) {
|
391
|
+
//create the search placeholder text
|
392
|
+
const onFields = [];
|
393
|
+
fullTextIndexes.forEach((index) => {
|
394
|
+
onFields.push(...index.fields.split(','));
|
395
|
+
});
|
396
|
+
//get field alias for fields
|
397
|
+
const fieldAlias = [];
|
398
|
+
onFields.forEach(fieldName => {
|
399
|
+
//We splitting the fields array so we get leading/trailing spaces, hence trim the fieldName
|
400
|
+
const fieldInfo = this._selectedLayer.getField(fieldName.trim());
|
401
|
+
fieldAlias.push(fieldInfo.alias);
|
402
|
+
});
|
403
|
+
this._searchPlaceHolder = this._translations.searchPlaceholder.replace("{{fields}}", fieldAlias.join(', '));
|
404
|
+
this._fullTextSearchInfo.push({
|
405
|
+
'onFields': ['*'],
|
406
|
+
'searchTerm': '',
|
407
|
+
'searchType': 'prefix'
|
408
|
+
});
|
409
|
+
}
|
410
|
+
}
|
411
|
+
}
|
412
|
+
/**
|
413
|
+
* Search using the fullTextSearch on layer and filter the list
|
414
|
+
* @param event The input change event
|
415
|
+
* @protected
|
416
|
+
*/
|
417
|
+
async _searchTextChanged(event) {
|
418
|
+
this._fullTextSearchInfo.forEach(searchInfo => {
|
419
|
+
searchInfo.searchTerm = event.target.value;
|
420
|
+
});
|
421
|
+
await this._searchFullText();
|
422
|
+
}
|
423
|
+
/**
|
424
|
+
* Search using the fullTextSearch on layer
|
425
|
+
* @param event The input change event
|
426
|
+
* @protected
|
427
|
+
*/
|
428
|
+
async _searchFullText() {
|
429
|
+
//always clear previous search definition
|
430
|
+
if (this._searchExpression) {
|
431
|
+
this._clearSearchDefinitionExpression();
|
432
|
+
}
|
433
|
+
let searchedIds = [];
|
434
|
+
if (this._fullTextSearchInfo) {
|
435
|
+
if (this._fullTextSearchInfo[0].searchTerm) {
|
436
|
+
const searchQueryParams = this._selectedLayer.createQuery();
|
437
|
+
searchQueryParams.fullText = this._fullTextSearchInfo;
|
438
|
+
searchedIds = await this._selectedLayer.queryObjectIds(searchQueryParams);
|
439
|
+
await this._updateSearchDefinitionExpression(searchedIds?.length ? searchedIds : [-1]);
|
440
|
+
}
|
441
|
+
}
|
442
|
+
await this.initializeFeatureItems();
|
443
|
+
}
|
444
|
+
/**
|
445
|
+
* Update the search expression in layer
|
446
|
+
* @param searchedIds Array of objectIds satisfying the full search text
|
447
|
+
* @protected
|
448
|
+
*/
|
449
|
+
async _updateSearchDefinitionExpression(searchedIds) {
|
450
|
+
const defExp = this._selectedLayer.definitionExpression;
|
451
|
+
if (searchedIds?.length) {
|
452
|
+
const searchExp = `objectId in(${searchedIds})`;
|
453
|
+
this._selectedLayer.definitionExpression = defExp?.indexOf(this._searchExpression) > -1 ?
|
454
|
+
defExp.replace(this._searchExpression, searchExp) :
|
455
|
+
defExp ? `${defExp} AND (${searchExp})` : searchExp;
|
456
|
+
this._searchExpression = searchExp;
|
457
|
+
}
|
458
|
+
else {
|
459
|
+
this._clearSearchDefinitionExpression();
|
460
|
+
}
|
461
|
+
}
|
462
|
+
/**
|
463
|
+
* Clears the applied search expression on the layer
|
464
|
+
*@protected
|
465
|
+
*/
|
466
|
+
_clearSearchDefinitionExpression() {
|
467
|
+
const defExp = this._selectedLayer.definitionExpression;
|
468
|
+
//remove previous search expression first
|
469
|
+
if (this._searchExpression && defExp?.indexOf(this._searchExpression) > -1) {
|
470
|
+
// eslint-disable-next-line unicorn/prefer-ternary
|
471
|
+
if (defExp?.indexOf(' AND (' + this._searchExpression) > -1) {
|
472
|
+
this._selectedLayer.definitionExpression = defExp.replace(` AND (${this._searchExpression})`, '');
|
473
|
+
}
|
474
|
+
else {
|
475
|
+
this._selectedLayer.definitionExpression = defExp.replace(this._searchExpression, '');
|
476
|
+
}
|
477
|
+
}
|
478
|
+
this._searchExpression = undefined;
|
479
|
+
}
|
348
480
|
/**
|
349
481
|
* On feature click in feature list highlight the feature on the map
|
350
482
|
* @param event feature clicked event
|
@@ -498,11 +630,13 @@ export class FeatureList {
|
|
498
630
|
popupTitle = popupTitle ?? oId;
|
499
631
|
// get the formatted like count
|
500
632
|
const formattedLikeCount = Number(selectedFeature.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField]).toLocaleString();
|
501
|
-
const popupTitleClass = this.textSize === 'small' ? 'feature-list-popup-title-small' : 'feature-list-popup-title';
|
502
|
-
|
633
|
+
const popupTitleClass = (this.textSize === 'small' && !this.showFullTitle) ? 'feature-list-popup-title-small-ellipsis' : this.textSize === 'small' ? 'feature-list-popup-title-small' : 'feature-list-popup-title';
|
634
|
+
// Set the width of the popuptitle class depending on calcite list width to avoid icon's overflow
|
635
|
+
const deductedWidth = this.showUserImageInList ? 115 : 65;
|
636
|
+
const width = this._calciteList.offsetWidth - deductedWidth;
|
503
637
|
return (h("calcite-list-item", { onCalciteListItemSelect: (e) => { void this.featureClicked(e, selectedFeature); }, onMouseLeave: () => { void this.clearHighlights(); }, onMouseOver: () => { void this.onFeatureHover(selectedFeature); }, value: oId }, this.showUserImageInList &&
|
504
638
|
h("calcite-avatar", { class: 'profile-img', "full-name": userInfo?.fullName, scale: "m", slot: "content-start", thumbnail: userInfo?.userProfileUrl, userId: userInfo?.id, username: userInfo?.fullName ? userInfo.username : undefined }), this.showFeatureSymbol &&
|
505
|
-
h("div", { class: 'feature-symbol', ref: (el) => el && el.replaceChildren(featureSymbol), slot: "content-start" }), h("div", { class:
|
639
|
+
h("div", { class: 'feature-symbol', ref: (el) => el && el.replaceChildren(featureSymbol), slot: "content-start" }), h("div", { class: `popup-title ${popupTitleClass}`, slot: "content-start", style: { maxWidth: this.textSize === 'large' ? 'none' : `${width}px` } }, popupTitle), this._likeFieldAvailable &&
|
506
640
|
h("div", { class: "like-container", id: oId.concat("like"), slot: "content-end" }, h("span", null, this._abbreviatedLikeCount), h("calcite-icon", { icon: "thumbs-up", scale: 's' }), h("calcite-tooltip", { overlayPositioning: "fixed", placement: "top", "reference-element": oId.concat("like") }, formattedLikeCount)), h("calcite-icon", { flipRtl: true, icon: "chevron-right", scale: "s", slot: "content-end" })));
|
507
641
|
}
|
508
642
|
/**
|
@@ -910,6 +1044,26 @@ export class FeatureList {
|
|
910
1044
|
},
|
911
1045
|
"getter": false,
|
912
1046
|
"setter": false
|
1047
|
+
},
|
1048
|
+
"showFullTitle": {
|
1049
|
+
"type": "boolean",
|
1050
|
+
"mutable": false,
|
1051
|
+
"complexType": {
|
1052
|
+
"original": "boolean",
|
1053
|
+
"resolved": "boolean",
|
1054
|
+
"references": {}
|
1055
|
+
},
|
1056
|
+
"required": false,
|
1057
|
+
"optional": false,
|
1058
|
+
"docs": {
|
1059
|
+
"tags": [],
|
1060
|
+
"text": "boolean: When false popup title will shown in single line"
|
1061
|
+
},
|
1062
|
+
"getter": false,
|
1063
|
+
"setter": false,
|
1064
|
+
"attribute": "show-full-title",
|
1065
|
+
"reflect": false,
|
1066
|
+
"defaultValue": "true"
|
913
1067
|
}
|
914
1068
|
};
|
915
1069
|
}
|
@@ -918,6 +1072,8 @@ export class FeatureList {
|
|
918
1072
|
"_featureItems": {},
|
919
1073
|
"_featuresCount": {},
|
920
1074
|
"_isLoading": {},
|
1075
|
+
"_searchPlaceHolder": {},
|
1076
|
+
"_fullTextSearchInfo": {},
|
921
1077
|
"_translations": {}
|
922
1078
|
};
|
923
1079
|
}
|