@esri/solutions-components 0.7.29 → 0.7.30
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/assets/t9n/card-manager/resources_ar.json +1 -4
- package/dist/assets/t9n/card-manager/resources_bg.json +1 -4
- package/dist/assets/t9n/card-manager/resources_bs.json +1 -4
- package/dist/assets/t9n/card-manager/resources_ca.json +1 -4
- package/dist/assets/t9n/card-manager/resources_cs.json +1 -4
- package/dist/assets/t9n/card-manager/resources_da.json +1 -4
- package/dist/assets/t9n/card-manager/resources_de.json +1 -4
- package/dist/assets/t9n/card-manager/resources_el.json +1 -4
- package/dist/assets/t9n/card-manager/resources_es.json +1 -4
- package/dist/assets/t9n/card-manager/resources_et.json +1 -4
- package/dist/assets/t9n/card-manager/resources_fi.json +1 -4
- package/dist/assets/t9n/card-manager/resources_fr.json +1 -4
- package/dist/assets/t9n/card-manager/resources_he.json +1 -4
- package/dist/assets/t9n/card-manager/resources_hr.json +1 -4
- package/dist/assets/t9n/card-manager/resources_hu.json +1 -4
- package/dist/assets/t9n/card-manager/resources_id.json +1 -4
- package/dist/assets/t9n/card-manager/resources_it.json +1 -4
- package/dist/assets/t9n/card-manager/resources_ja.json +1 -4
- package/dist/assets/t9n/card-manager/resources_ko.json +1 -4
- package/dist/assets/t9n/card-manager/resources_lt.json +1 -4
- package/dist/assets/t9n/card-manager/resources_lv.json +1 -4
- package/dist/assets/t9n/card-manager/resources_nb.json +1 -4
- package/dist/assets/t9n/card-manager/resources_nl.json +1 -4
- package/dist/assets/t9n/card-manager/resources_pl.json +1 -4
- package/dist/assets/t9n/card-manager/resources_pt-BR.json +1 -4
- package/dist/assets/t9n/card-manager/resources_pt-PT.json +1 -4
- package/dist/assets/t9n/card-manager/resources_ro.json +1 -4
- package/dist/assets/t9n/card-manager/resources_ru.json +1 -4
- package/dist/assets/t9n/card-manager/resources_sk.json +1 -4
- package/dist/assets/t9n/card-manager/resources_sl.json +1 -4
- package/dist/assets/t9n/card-manager/resources_sr.json +1 -4
- package/dist/assets/t9n/card-manager/resources_sv.json +1 -4
- package/dist/assets/t9n/card-manager/resources_th.json +1 -4
- package/dist/assets/t9n/card-manager/resources_tr.json +1 -4
- package/dist/assets/t9n/card-manager/resources_uk.json +1 -4
- package/dist/assets/t9n/card-manager/resources_vi.json +1 -4
- package/dist/assets/t9n/card-manager/resources_zh-CN.json +1 -4
- package/dist/assets/t9n/card-manager/resources_zh-HK.json +1 -4
- package/dist/assets/t9n/card-manager/resources_zh-TW.json +1 -4
- package/dist/assets/t9n/crowdsource-manager/resources_ar.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_bg.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_bs.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_ca.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_cs.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_da.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_de.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_el.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_es.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_et.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_fi.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_fr.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_he.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_hr.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_hu.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_id.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_it.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_ja.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_ko.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_lt.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_lv.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_nb.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_nl.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_pl.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_pt-BR.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_pt-PT.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_ro.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_ru.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_sk.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_sl.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_sr.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_sv.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_th.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_tr.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_uk.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_vi.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_zh-CN.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_zh-HK.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_zh-TW.json +2 -2
- package/dist/assets/t9n/crowdsource-reporter/resources_ar.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_bg.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_bs.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_ca.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_cs.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_da.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_de.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_el.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_es.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_et.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_fi.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_fr.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_he.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_hr.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_hu.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_id.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_it.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_ja.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_ko.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_lt.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_lv.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_nb.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_nl.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_pl.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_pt-BR.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_pt-PT.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_ro.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_ru.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_sk.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_sl.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_sr.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_sv.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_th.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_tr.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_uk.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_vi.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_zh-CN.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_zh-HK.json +20 -0
- package/dist/assets/t9n/crowdsource-reporter/resources_zh-TW.json +20 -0
- package/dist/assets/t9n/delete-button/resources_ar.json +8 -0
- package/dist/assets/t9n/delete-button/resources_bg.json +8 -0
- package/dist/assets/t9n/delete-button/resources_bs.json +8 -0
- package/dist/assets/t9n/delete-button/resources_ca.json +8 -0
- package/dist/assets/t9n/delete-button/resources_cs.json +8 -0
- package/dist/assets/t9n/delete-button/resources_da.json +8 -0
- package/dist/assets/t9n/delete-button/resources_de.json +8 -0
- package/dist/assets/t9n/delete-button/resources_el.json +8 -0
- package/dist/assets/t9n/delete-button/resources_es.json +8 -0
- package/dist/assets/t9n/delete-button/resources_et.json +8 -0
- package/dist/assets/t9n/delete-button/resources_fi.json +8 -0
- package/dist/assets/t9n/delete-button/resources_fr.json +8 -0
- package/dist/assets/t9n/delete-button/resources_he.json +8 -0
- package/dist/assets/t9n/delete-button/resources_hr.json +8 -0
- package/dist/assets/t9n/delete-button/resources_hu.json +8 -0
- package/dist/assets/t9n/delete-button/resources_id.json +8 -0
- package/dist/assets/t9n/delete-button/resources_it.json +8 -0
- package/dist/assets/t9n/delete-button/resources_ja.json +8 -0
- package/dist/assets/t9n/delete-button/resources_ko.json +8 -0
- package/dist/assets/t9n/delete-button/resources_lt.json +8 -0
- package/dist/assets/t9n/delete-button/resources_lv.json +8 -0
- package/dist/assets/t9n/delete-button/resources_nb.json +8 -0
- package/dist/assets/t9n/delete-button/resources_nl.json +8 -0
- package/dist/assets/t9n/delete-button/resources_pl.json +8 -0
- package/dist/assets/t9n/delete-button/resources_pt-BR.json +8 -0
- package/dist/assets/t9n/delete-button/resources_pt-PT.json +8 -0
- package/dist/assets/t9n/delete-button/resources_ro.json +8 -0
- package/dist/assets/t9n/delete-button/resources_ru.json +8 -0
- package/dist/assets/t9n/delete-button/resources_sk.json +8 -0
- package/dist/assets/t9n/delete-button/resources_sl.json +8 -0
- package/dist/assets/t9n/delete-button/resources_sr.json +8 -0
- package/dist/assets/t9n/delete-button/resources_sv.json +8 -0
- package/dist/assets/t9n/delete-button/resources_th.json +8 -0
- package/dist/assets/t9n/delete-button/resources_tr.json +8 -0
- package/dist/assets/t9n/delete-button/resources_uk.json +8 -0
- package/dist/assets/t9n/delete-button/resources_vi.json +8 -0
- package/dist/assets/t9n/delete-button/resources_zh-CN.json +8 -0
- package/dist/assets/t9n/delete-button/resources_zh-HK.json +8 -0
- package/dist/assets/t9n/delete-button/resources_zh-TW.json +8 -0
- package/dist/assets/t9n/feature-list/resources_ar.json +4 -0
- package/dist/assets/t9n/feature-list/resources_bg.json +4 -0
- package/dist/assets/t9n/feature-list/resources_bs.json +4 -0
- package/dist/assets/t9n/feature-list/resources_ca.json +4 -0
- package/dist/assets/t9n/feature-list/resources_cs.json +4 -0
- package/dist/assets/t9n/feature-list/resources_da.json +4 -0
- package/dist/assets/t9n/feature-list/resources_de.json +4 -0
- package/dist/assets/t9n/feature-list/resources_el.json +4 -0
- package/dist/assets/t9n/feature-list/resources_es.json +4 -0
- package/dist/assets/t9n/feature-list/resources_et.json +4 -0
- package/dist/assets/t9n/feature-list/resources_fi.json +4 -0
- package/dist/assets/t9n/feature-list/resources_fr.json +4 -0
- package/dist/assets/t9n/feature-list/resources_he.json +4 -0
- package/dist/assets/t9n/feature-list/resources_hr.json +4 -0
- package/dist/assets/t9n/feature-list/resources_hu.json +4 -0
- package/dist/assets/t9n/feature-list/resources_id.json +4 -0
- package/dist/assets/t9n/feature-list/resources_it.json +4 -0
- package/dist/assets/t9n/feature-list/resources_ja.json +4 -0
- package/dist/assets/t9n/feature-list/resources_ko.json +4 -0
- package/dist/assets/t9n/feature-list/resources_lt.json +4 -0
- package/dist/assets/t9n/feature-list/resources_lv.json +4 -0
- package/dist/assets/t9n/feature-list/resources_nb.json +4 -0
- package/dist/assets/t9n/feature-list/resources_nl.json +4 -0
- package/dist/assets/t9n/feature-list/resources_pl.json +4 -0
- package/dist/assets/t9n/feature-list/resources_pt-BR.json +4 -0
- package/dist/assets/t9n/feature-list/resources_pt-PT.json +4 -0
- package/dist/assets/t9n/feature-list/resources_ro.json +4 -0
- package/dist/assets/t9n/feature-list/resources_ru.json +4 -0
- package/dist/assets/t9n/feature-list/resources_sk.json +4 -0
- package/dist/assets/t9n/feature-list/resources_sl.json +4 -0
- package/dist/assets/t9n/feature-list/resources_sr.json +4 -0
- package/dist/assets/t9n/feature-list/resources_sv.json +4 -0
- package/dist/assets/t9n/feature-list/resources_th.json +4 -0
- package/dist/assets/t9n/feature-list/resources_tr.json +4 -0
- package/dist/assets/t9n/feature-list/resources_uk.json +4 -0
- package/dist/assets/t9n/feature-list/resources_vi.json +4 -0
- package/dist/assets/t9n/feature-list/resources_zh-CN.json +4 -0
- package/dist/assets/t9n/feature-list/resources_zh-HK.json +4 -0
- package/dist/assets/t9n/feature-list/resources_zh-TW.json +4 -0
- package/dist/assets/t9n/info-card/resources_ar.json +2 -1
- package/dist/assets/t9n/info-card/resources_bg.json +2 -1
- package/dist/assets/t9n/info-card/resources_bs.json +2 -1
- package/dist/assets/t9n/info-card/resources_ca.json +2 -1
- package/dist/assets/t9n/info-card/resources_cs.json +2 -1
- package/dist/assets/t9n/info-card/resources_da.json +2 -1
- package/dist/assets/t9n/info-card/resources_de.json +2 -1
- package/dist/assets/t9n/info-card/resources_el.json +2 -1
- package/dist/assets/t9n/info-card/resources_es.json +2 -1
- package/dist/assets/t9n/info-card/resources_et.json +2 -1
- package/dist/assets/t9n/info-card/resources_fi.json +2 -1
- package/dist/assets/t9n/info-card/resources_fr.json +2 -1
- package/dist/assets/t9n/info-card/resources_he.json +2 -1
- package/dist/assets/t9n/info-card/resources_hr.json +2 -1
- package/dist/assets/t9n/info-card/resources_hu.json +2 -1
- package/dist/assets/t9n/info-card/resources_id.json +2 -1
- package/dist/assets/t9n/info-card/resources_it.json +2 -1
- package/dist/assets/t9n/info-card/resources_ja.json +2 -1
- package/dist/assets/t9n/info-card/resources_ko.json +2 -1
- package/dist/assets/t9n/info-card/resources_lt.json +2 -1
- package/dist/assets/t9n/info-card/resources_lv.json +2 -1
- package/dist/assets/t9n/info-card/resources_nb.json +2 -1
- package/dist/assets/t9n/info-card/resources_nl.json +2 -1
- package/dist/assets/t9n/info-card/resources_pl.json +2 -1
- package/dist/assets/t9n/info-card/resources_pt-BR.json +2 -1
- package/dist/assets/t9n/info-card/resources_pt-PT.json +2 -1
- package/dist/assets/t9n/info-card/resources_ro.json +2 -1
- package/dist/assets/t9n/info-card/resources_ru.json +2 -1
- package/dist/assets/t9n/info-card/resources_sk.json +2 -1
- package/dist/assets/t9n/info-card/resources_sl.json +2 -1
- package/dist/assets/t9n/info-card/resources_sr.json +2 -1
- package/dist/assets/t9n/info-card/resources_sv.json +2 -1
- package/dist/assets/t9n/info-card/resources_th.json +2 -1
- package/dist/assets/t9n/info-card/resources_tr.json +2 -1
- package/dist/assets/t9n/info-card/resources_uk.json +2 -1
- package/dist/assets/t9n/info-card/resources_vi.json +2 -1
- package/dist/assets/t9n/info-card/resources_zh-CN.json +2 -1
- package/dist/assets/t9n/info-card/resources_zh-HK.json +2 -1
- package/dist/assets/t9n/info-card/resources_zh-TW.json +2 -1
- package/dist/assets/t9n/layer-list/resources_ar.json +4 -0
- package/dist/assets/t9n/layer-list/resources_bg.json +4 -0
- package/dist/assets/t9n/layer-list/resources_bs.json +4 -0
- package/dist/assets/t9n/layer-list/resources_ca.json +4 -0
- package/dist/assets/t9n/layer-list/resources_cs.json +4 -0
- package/dist/assets/t9n/layer-list/resources_da.json +4 -0
- package/dist/assets/t9n/layer-list/resources_de.json +4 -0
- package/dist/assets/t9n/layer-list/resources_el.json +4 -0
- package/dist/assets/t9n/layer-list/resources_es.json +4 -0
- package/dist/assets/t9n/layer-list/resources_et.json +4 -0
- package/dist/assets/t9n/layer-list/resources_fi.json +4 -0
- package/dist/assets/t9n/layer-list/resources_fr.json +4 -0
- package/dist/assets/t9n/layer-list/resources_he.json +4 -0
- package/dist/assets/t9n/layer-list/resources_hr.json +4 -0
- package/dist/assets/t9n/layer-list/resources_hu.json +4 -0
- package/dist/assets/t9n/layer-list/resources_id.json +4 -0
- package/dist/assets/t9n/layer-list/resources_it.json +4 -0
- package/dist/assets/t9n/layer-list/resources_ja.json +4 -0
- package/dist/assets/t9n/layer-list/resources_ko.json +4 -0
- package/dist/assets/t9n/layer-list/resources_lt.json +4 -0
- package/dist/assets/t9n/layer-list/resources_lv.json +4 -0
- package/dist/assets/t9n/layer-list/resources_nb.json +4 -0
- package/dist/assets/t9n/layer-list/resources_nl.json +4 -0
- package/dist/assets/t9n/layer-list/resources_pl.json +4 -0
- package/dist/assets/t9n/layer-list/resources_pt-BR.json +4 -0
- package/dist/assets/t9n/layer-list/resources_pt-PT.json +4 -0
- package/dist/assets/t9n/layer-list/resources_ro.json +4 -0
- package/dist/assets/t9n/layer-list/resources_ru.json +4 -0
- package/dist/assets/t9n/layer-list/resources_sk.json +4 -0
- package/dist/assets/t9n/layer-list/resources_sl.json +4 -0
- package/dist/assets/t9n/layer-list/resources_sr.json +4 -0
- package/dist/assets/t9n/layer-list/resources_sv.json +4 -0
- package/dist/assets/t9n/layer-list/resources_th.json +4 -0
- package/dist/assets/t9n/layer-list/resources_tr.json +4 -0
- package/dist/assets/t9n/layer-list/resources_uk.json +4 -0
- package/dist/assets/t9n/layer-list/resources_vi.json +4 -0
- package/dist/assets/t9n/layer-list/resources_zh-CN.json +4 -0
- package/dist/assets/t9n/layer-list/resources_zh-HK.json +4 -0
- package/dist/assets/t9n/layer-list/resources_zh-TW.json +4 -0
- package/dist/assets/t9n/layer-table/resources_ar.json +5 -9
- package/dist/assets/t9n/layer-table/resources_bg.json +5 -9
- package/dist/assets/t9n/layer-table/resources_bs.json +5 -9
- package/dist/assets/t9n/layer-table/resources_ca.json +5 -9
- package/dist/assets/t9n/layer-table/resources_cs.json +5 -9
- package/dist/assets/t9n/layer-table/resources_da.json +5 -9
- package/dist/assets/t9n/layer-table/resources_de.json +5 -9
- package/dist/assets/t9n/layer-table/resources_el.json +5 -9
- package/dist/assets/t9n/layer-table/resources_es.json +5 -9
- package/dist/assets/t9n/layer-table/resources_et.json +5 -9
- package/dist/assets/t9n/layer-table/resources_fi.json +5 -9
- package/dist/assets/t9n/layer-table/resources_fr.json +5 -9
- package/dist/assets/t9n/layer-table/resources_he.json +5 -9
- package/dist/assets/t9n/layer-table/resources_hr.json +5 -9
- package/dist/assets/t9n/layer-table/resources_hu.json +5 -9
- package/dist/assets/t9n/layer-table/resources_id.json +5 -9
- package/dist/assets/t9n/layer-table/resources_it.json +5 -9
- package/dist/assets/t9n/layer-table/resources_ja.json +5 -9
- package/dist/assets/t9n/layer-table/resources_ko.json +5 -9
- package/dist/assets/t9n/layer-table/resources_lt.json +5 -9
- package/dist/assets/t9n/layer-table/resources_lv.json +5 -9
- package/dist/assets/t9n/layer-table/resources_nb.json +5 -9
- package/dist/assets/t9n/layer-table/resources_nl.json +5 -9
- package/dist/assets/t9n/layer-table/resources_pl.json +5 -9
- package/dist/assets/t9n/layer-table/resources_pt-BR.json +5 -9
- package/dist/assets/t9n/layer-table/resources_pt-PT.json +5 -9
- package/dist/assets/t9n/layer-table/resources_ro.json +5 -9
- package/dist/assets/t9n/layer-table/resources_ru.json +5 -9
- package/dist/assets/t9n/layer-table/resources_sk.json +5 -9
- package/dist/assets/t9n/layer-table/resources_sl.json +5 -9
- package/dist/assets/t9n/layer-table/resources_sr.json +5 -9
- package/dist/assets/t9n/layer-table/resources_sv.json +5 -9
- package/dist/assets/t9n/layer-table/resources_th.json +5 -9
- package/dist/assets/t9n/layer-table/resources_tr.json +5 -9
- package/dist/assets/t9n/layer-table/resources_uk.json +5 -9
- package/dist/assets/t9n/layer-table/resources_vi.json +5 -9
- package/dist/assets/t9n/layer-table/resources_zh-CN.json +5 -9
- package/dist/assets/t9n/layer-table/resources_zh-HK.json +5 -9
- package/dist/assets/t9n/layer-table/resources_zh-TW.json +5 -9
- package/dist/assets/t9n/map-tools/resources_ar.json +2 -2
- package/dist/assets/t9n/map-tools/resources_bg.json +2 -2
- package/dist/assets/t9n/map-tools/resources_bs.json +2 -2
- package/dist/assets/t9n/map-tools/resources_ca.json +2 -2
- package/dist/assets/t9n/map-tools/resources_cs.json +2 -2
- package/dist/assets/t9n/map-tools/resources_da.json +2 -2
- package/dist/assets/t9n/map-tools/resources_de.json +2 -2
- package/dist/assets/t9n/map-tools/resources_el.json +2 -2
- package/dist/assets/t9n/map-tools/resources_es.json +2 -2
- package/dist/assets/t9n/map-tools/resources_et.json +2 -2
- package/dist/assets/t9n/map-tools/resources_fi.json +2 -2
- package/dist/assets/t9n/map-tools/resources_fr.json +2 -2
- package/dist/assets/t9n/map-tools/resources_he.json +2 -2
- package/dist/assets/t9n/map-tools/resources_hr.json +2 -2
- package/dist/assets/t9n/map-tools/resources_hu.json +2 -2
- package/dist/assets/t9n/map-tools/resources_id.json +2 -2
- package/dist/assets/t9n/map-tools/resources_it.json +2 -2
- package/dist/assets/t9n/map-tools/resources_ja.json +2 -2
- package/dist/assets/t9n/map-tools/resources_ko.json +2 -2
- package/dist/assets/t9n/map-tools/resources_lt.json +2 -2
- package/dist/assets/t9n/map-tools/resources_lv.json +2 -2
- package/dist/assets/t9n/map-tools/resources_nb.json +2 -2
- package/dist/assets/t9n/map-tools/resources_nl.json +2 -2
- package/dist/assets/t9n/map-tools/resources_pl.json +2 -2
- package/dist/assets/t9n/map-tools/resources_pt-BR.json +2 -2
- package/dist/assets/t9n/map-tools/resources_pt-PT.json +2 -2
- package/dist/assets/t9n/map-tools/resources_ro.json +2 -2
- package/dist/assets/t9n/map-tools/resources_ru.json +2 -2
- package/dist/assets/t9n/map-tools/resources_sk.json +2 -2
- package/dist/assets/t9n/map-tools/resources_sl.json +2 -2
- package/dist/assets/t9n/map-tools/resources_sr.json +2 -2
- package/dist/assets/t9n/map-tools/resources_sv.json +2 -2
- package/dist/assets/t9n/map-tools/resources_th.json +2 -2
- package/dist/assets/t9n/map-tools/resources_tr.json +2 -2
- package/dist/assets/t9n/map-tools/resources_uk.json +2 -2
- package/dist/assets/t9n/map-tools/resources_vi.json +2 -2
- package/dist/assets/t9n/map-tools/resources_zh-CN.json +2 -2
- package/dist/assets/t9n/map-tools/resources_zh-HK.json +2 -2
- package/dist/assets/t9n/map-tools/resources_zh-TW.json +2 -2
- package/dist/assets/t9n/public-notification/resources_ar.json +2 -2
- package/dist/assets/t9n/public-notification/resources_bg.json +2 -2
- package/dist/assets/t9n/public-notification/resources_bs.json +2 -2
- package/dist/assets/t9n/public-notification/resources_ca.json +2 -2
- package/dist/assets/t9n/public-notification/resources_cs.json +2 -2
- package/dist/assets/t9n/public-notification/resources_da.json +2 -2
- package/dist/assets/t9n/public-notification/resources_de.json +2 -2
- package/dist/assets/t9n/public-notification/resources_el.json +2 -2
- package/dist/assets/t9n/public-notification/resources_es.json +2 -2
- package/dist/assets/t9n/public-notification/resources_et.json +2 -2
- package/dist/assets/t9n/public-notification/resources_fi.json +2 -2
- package/dist/assets/t9n/public-notification/resources_fr.json +2 -2
- package/dist/assets/t9n/public-notification/resources_he.json +2 -2
- package/dist/assets/t9n/public-notification/resources_hr.json +2 -2
- package/dist/assets/t9n/public-notification/resources_hu.json +2 -2
- package/dist/assets/t9n/public-notification/resources_id.json +2 -2
- package/dist/assets/t9n/public-notification/resources_it.json +2 -2
- package/dist/assets/t9n/public-notification/resources_ja.json +2 -2
- package/dist/assets/t9n/public-notification/resources_ko.json +2 -2
- package/dist/assets/t9n/public-notification/resources_lt.json +2 -2
- package/dist/assets/t9n/public-notification/resources_lv.json +2 -2
- package/dist/assets/t9n/public-notification/resources_nb.json +2 -2
- package/dist/assets/t9n/public-notification/resources_nl.json +2 -2
- package/dist/assets/t9n/public-notification/resources_pl.json +2 -2
- package/dist/assets/t9n/public-notification/resources_pt-BR.json +2 -2
- package/dist/assets/t9n/public-notification/resources_pt-PT.json +2 -2
- package/dist/assets/t9n/public-notification/resources_ro.json +2 -2
- package/dist/assets/t9n/public-notification/resources_ru.json +2 -2
- package/dist/assets/t9n/public-notification/resources_sk.json +2 -2
- package/dist/assets/t9n/public-notification/resources_sl.json +2 -2
- package/dist/assets/t9n/public-notification/resources_sr.json +2 -2
- package/dist/assets/t9n/public-notification/resources_sv.json +2 -2
- package/dist/assets/t9n/public-notification/resources_th.json +2 -2
- package/dist/assets/t9n/public-notification/resources_tr.json +2 -2
- package/dist/assets/t9n/public-notification/resources_uk.json +2 -2
- package/dist/assets/t9n/public-notification/resources_vi.json +2 -2
- package/dist/assets/t9n/public-notification/resources_zh-CN.json +2 -2
- package/dist/assets/t9n/public-notification/resources_zh-HK.json +2 -2
- package/dist/assets/t9n/public-notification/resources_zh-TW.json +2 -2
- package/dist/cjs/calcite-flow_4.cjs.entry.js +9 -6
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +86 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +88 -3
- package/dist/collection/components/feature-list/feature-list.js +1 -0
- package/dist/collection/components/layer-list/layer-list.css +4 -0
- package/dist/collection/components/layer-list/layer-list.js +43 -5
- package/dist/collection/demos/crowdsource-reporter.html +4 -4
- package/dist/collection/demos/feature-list.html +1 -1
- package/dist/components/crowdsource-reporter.js +88 -3
- package/dist/components/feature-list2.js +1 -0
- package/dist/components/layer-list2.js +10 -6
- package/dist/esm/calcite-alert_4.entry.js +1 -1
- package/dist/esm/calcite-combobox_6.entry.js +1 -1
- package/dist/esm/calcite-flow_4.entry.js +10 -7
- package/dist/esm/card-manager_3.entry.js +2 -2
- package/dist/esm/crowdsource-manager.entry.js +1 -1
- package/dist/esm/crowdsource-reporter.entry.js +87 -3
- package/dist/esm/{downloadUtils-a301c193.js → downloadUtils-d070a467.js} +2 -2
- package/dist/esm/{index.es-37a9907e.js → index.es-d48535a2.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +2 -2
- package/dist/esm/{mapViewUtils-6daedef8.js → mapViewUtils-cf05e880.js} +1 -1
- package/dist/esm/public-notification.entry.js +2 -2
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/demos/crowdsource-reporter.html +4 -4
- package/dist/solutions-components/demos/feature-list.html +1 -1
- package/dist/solutions-components/{p-4566438a.js → p-2c382841.js} +1 -1
- package/dist/solutions-components/p-2f162664.entry.js +6 -0
- package/dist/solutions-components/{p-fe295e9d.entry.js → p-309cdea1.entry.js} +1 -1
- package/dist/solutions-components/{p-a603e673.js → p-55b835a1.js} +2 -2
- package/dist/solutions-components/{p-12de822a.entry.js → p-6b2b8b41.entry.js} +1 -1
- package/dist/solutions-components/{p-dbe62aaf.entry.js → p-802acc51.entry.js} +1 -1
- package/dist/solutions-components/{p-6a452a84.entry.js → p-94ee3ef7.entry.js} +3 -3
- package/dist/solutions-components/{p-643e7ee1.entry.js → p-b699637f.entry.js} +1 -1
- package/dist/solutions-components/{p-0587972d.js → p-b913a4fd.js} +1 -1
- package/dist/solutions-components/{p-78e720cc.entry.js → p-f120ff40.entry.js} +1 -1
- package/dist/solutions-components/{p-b37ec1f3.entry.js → p-f22ff57e.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +41 -4
- package/dist/types/components/feature-list/feature-list.d.ts +1 -0
- package/dist/types/components/layer-list/layer-list.d.ts +10 -2
- package/dist/types/components.d.ts +16 -0
- package/package.json +1 -1
- package/dist/solutions-components/p-8756eebb.entry.js +0 -6
@@ -29,9 +29,9 @@
|
|
29
29
|
"export": "Export",
|
30
30
|
"exportTip": "Vyberte zoznamy, ktoré chcete zahrnúť do exportovaného súboru. Exportujte zoznamy ako CSV a PDF.",
|
31
31
|
"title": "Názov",
|
32
|
-
"
|
32
|
+
"addResults": "ĺ_Results_______________ľ",
|
33
33
|
"titlePlaceholder": "Tu zadajte názov",
|
34
|
-
"includeMap": "
|
34
|
+
"includeMap": "ĺ_Map_______ľ",
|
35
35
|
"pdfOptions": "Možnosti PDF",
|
36
36
|
"csvOptions": "Možnosti CSV",
|
37
37
|
"refineSelection": "Spresniť výber",
|
@@ -29,9 +29,9 @@
|
|
29
29
|
"export": "Izvozi",
|
30
30
|
"exportTip": "Izberite sloje, ki bodo vključeni v izvoženo datoteko. Izvozite sezname kot CSV in PDF.",
|
31
31
|
"title": "Naslov",
|
32
|
-
"
|
32
|
+
"addResults": "Š_Results_______________č",
|
33
33
|
"titlePlaceholder": "Tukaj vnesi naslov",
|
34
|
-
"includeMap": "
|
34
|
+
"includeMap": "Š_Map_______č",
|
35
35
|
"pdfOptions": "Možnosti PDF",
|
36
36
|
"csvOptions": "Možnosti CSV",
|
37
37
|
"refineSelection": "Natančno določi izbiro",
|
@@ -29,9 +29,9 @@
|
|
29
29
|
"export": "Izvezi",
|
30
30
|
"exportTip": "Odaberite liste da uključite u izvezenu datoteku. Izvezite liste kao CSV i PDF.",
|
31
31
|
"title": "Naslov",
|
32
|
-
"
|
32
|
+
"addResults": "Č_Results_______________ž",
|
33
33
|
"titlePlaceholder": "Unesite naslov ovde",
|
34
|
-
"includeMap": "
|
34
|
+
"includeMap": "Č_Map_______ž",
|
35
35
|
"pdfOptions": "Opcije PDF datoteke",
|
36
36
|
"csvOptions": "Opcije CSV datoteke",
|
37
37
|
"refineSelection": "Precizirajte selekciju",
|
@@ -29,9 +29,9 @@
|
|
29
29
|
"export": "Exportera",
|
30
30
|
"exportTip": "Välj listor att inkludera i den exporterade filen. Exportera listor som CSV och PDF.",
|
31
31
|
"title": "Titel",
|
32
|
-
"
|
32
|
+
"addResults": "Å_Results_______________ö",
|
33
33
|
"titlePlaceholder": "Ange titel här",
|
34
|
-
"includeMap": "
|
34
|
+
"includeMap": "Å_Map_______ö",
|
35
35
|
"pdfOptions": "PDF-alternativ",
|
36
36
|
"csvOptions": "CSV-alternativ",
|
37
37
|
"refineSelection": "Förfina urval",
|
@@ -29,9 +29,9 @@
|
|
29
29
|
"export": "ส่งออก",
|
30
30
|
"exportTip": "เลือกรายการที่จะรวมไว้ในไฟล์ที่ส่งออก ส่งออกรายการในรูปแบบ CSV และ PDF",
|
31
31
|
"title": "คำนำหน้า",
|
32
|
-
"
|
32
|
+
"addResults": "ก้_Results_______________ษฺ",
|
33
33
|
"titlePlaceholder": "ป้อนชื่อที่นี่",
|
34
|
-
"includeMap": "
|
34
|
+
"includeMap": "ก้_Map_______ษฺ",
|
35
35
|
"pdfOptions": "ตัวเลือก PDF",
|
36
36
|
"csvOptions": "ตัวเลือก CSV",
|
37
37
|
"refineSelection": "ปรับแต่งการเลือก",
|
@@ -29,9 +29,9 @@
|
|
29
29
|
"export": "Dışa Aktar",
|
30
30
|
"exportTip": "Dışa aktarılan dosyaya dahil etmek için listeleri seçin. CSV ve PDF olarak listeleri dışa aktarın.",
|
31
31
|
"title": "Başlık",
|
32
|
-
"
|
32
|
+
"addResults": "ı_Results_______________İ",
|
33
33
|
"titlePlaceholder": "Başlığı buraya girin",
|
34
|
-
"includeMap": "
|
34
|
+
"includeMap": "ı_Map_______İ",
|
35
35
|
"pdfOptions": "PDF Seçenekleri",
|
36
36
|
"csvOptions": "CSV Seçenekleri",
|
37
37
|
"refineSelection": "Seçimi iyileştir",
|
@@ -29,9 +29,9 @@
|
|
29
29
|
"export": "Експорт",
|
30
30
|
"exportTip": "Виберіть списки для включення в файл експорту. Експортуйте списки як CSV і PDF.",
|
31
31
|
"title": "Заголовок",
|
32
|
-
"
|
32
|
+
"addResults": "ґ_Results_______________Ї",
|
33
33
|
"titlePlaceholder": "Ввести заголовок тут",
|
34
|
-
"includeMap": "
|
34
|
+
"includeMap": "ґ_Map_______Ї",
|
35
35
|
"pdfOptions": "Опції PDF",
|
36
36
|
"csvOptions": "Опції CSV",
|
37
37
|
"refineSelection": "Уточнити вибірку",
|
@@ -29,9 +29,9 @@
|
|
29
29
|
"export": "Xuất",
|
30
30
|
"exportTip": "Lựa chọn các danh sách để đưa vào tệp đã xuất. Xuất danh sách dưới dạng CSV và PDF.",
|
31
31
|
"title": "Tiêu đề",
|
32
|
-
"
|
32
|
+
"addResults": "Đ_Results_______________ớ",
|
33
33
|
"titlePlaceholder": "Nhập tiêu đề ở đây",
|
34
|
-
"includeMap": "
|
34
|
+
"includeMap": "Đ_Map_______ớ",
|
35
35
|
"pdfOptions": "Tùy chọn PDF",
|
36
36
|
"csvOptions": "Tùy chọn CSV",
|
37
37
|
"refineSelection": "Lựa chọn tinh chỉnh",
|
@@ -29,9 +29,9 @@
|
|
29
29
|
"export": "导出",
|
30
30
|
"exportTip": "选择要包含在导出的文件中的列表。 将列表导出为 CSV 和 PDF。",
|
31
31
|
"title": "标题",
|
32
|
-
"
|
32
|
+
"addResults": "试_Results_______________验",
|
33
33
|
"titlePlaceholder": "在此处输入标题",
|
34
|
-
"includeMap": "
|
34
|
+
"includeMap": "试_Map_______验",
|
35
35
|
"pdfOptions": "PDF 选项",
|
36
36
|
"csvOptions": "CSV 选项",
|
37
37
|
"refineSelection": "优化选择",
|
@@ -29,9 +29,9 @@
|
|
29
29
|
"export": "匯出",
|
30
30
|
"exportTip": "選擇要包含在匯出檔案中的清單。 將清單匯出為 CSV 和 PDF。",
|
31
31
|
"title": "標題",
|
32
|
-
"
|
32
|
+
"addResults": "試_Results_______________驗",
|
33
33
|
"titlePlaceholder": "在這裡輸入標題",
|
34
|
-
"includeMap": "
|
34
|
+
"includeMap": "試_Map_______驗",
|
35
35
|
"pdfOptions": "PDF 選項",
|
36
36
|
"csvOptions": "CSV 選項",
|
37
37
|
"refineSelection": "精細化選擇",
|
@@ -29,9 +29,9 @@
|
|
29
29
|
"export": "匯出",
|
30
30
|
"exportTip": "選擇要包含在匯出檔案中的清單。 將清單匯出為 CSV 和 PDF。",
|
31
31
|
"title": "標題",
|
32
|
-
"
|
32
|
+
"addResults": "試_Results_______________驗",
|
33
33
|
"titlePlaceholder": "在這裡輸入標題",
|
34
|
-
"includeMap": "
|
34
|
+
"includeMap": "試_Map_______驗",
|
35
35
|
"pdfOptions": "PDF 選項",
|
36
36
|
"csvOptions": "CSV 選項",
|
37
37
|
"refineSelection": "精細化選擇",
|
@@ -432,6 +432,7 @@ const FeatureList = class {
|
|
432
432
|
/**
|
433
433
|
* On feature click in feature list highlight the feature on the map
|
434
434
|
* @param event feature clicked event
|
435
|
+
* @param selectedFeature selected feature graphic
|
435
436
|
* @protected
|
436
437
|
*/
|
437
438
|
async featureClicked(event, selectedFeature) {
|
@@ -518,7 +519,7 @@ const FeatureList = class {
|
|
518
519
|
};
|
519
520
|
FeatureList.style = featureListCss;
|
520
521
|
|
521
|
-
const layerListCss = ":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}";
|
522
|
+
const layerListCss = ":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";
|
522
523
|
|
523
524
|
const LayerList = class {
|
524
525
|
constructor(hostRef) {
|
@@ -528,6 +529,8 @@ const LayerList = class {
|
|
528
529
|
this.mapView = undefined;
|
529
530
|
this.layers = undefined;
|
530
531
|
this.noLayerErrorMsg = undefined;
|
532
|
+
this.showFeatureCount = true;
|
533
|
+
this.showNextIcon = false;
|
531
534
|
this._noLayersToDisplay = false;
|
532
535
|
this._mapLayerIds = [];
|
533
536
|
this._isLoading = false;
|
@@ -559,7 +562,7 @@ const LayerList = class {
|
|
559
562
|
render() {
|
560
563
|
return (index.h(index.Fragment, null, this._isLoading && index.h("calcite-loader", { scale: "m" }), !this._isLoading && this.mapView && this._noLayersToDisplay &&
|
561
564
|
index.h("calcite-notice", { class: "error-msg", icon: "layers-reference", kind: "danger", open: true }, index.h("div", { slot: "title" }, this._translations.error), index.h("div", { slot: "message" }, this.noLayerErrorMsg ? this.noLayerErrorMsg : this._translations.noLayerToDisplayErrorMsg)), !this._isLoading && this.mapView &&
|
562
|
-
index.h("calcite-list",
|
565
|
+
index.h("calcite-list", { "selection-appearance": "border", "selection-mode": this.showNextIcon ? "none" : "single" }, this.renderLayerList())));
|
563
566
|
}
|
564
567
|
//--------------------------------------------------------------------------
|
565
568
|
//
|
@@ -586,7 +589,7 @@ const LayerList = class {
|
|
586
589
|
this._layerItemsHash = await mapViewUtils.getMapLayerHash(this.mapView, true);
|
587
590
|
const allMapLayers = await mapViewUtils.getAllLayers(this.mapView);
|
588
591
|
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
589
|
-
allMapLayers.forEach(async (eachLayer) => {
|
592
|
+
this.showFeatureCount && allMapLayers.forEach(async (eachLayer) => {
|
590
593
|
var _a, _b;
|
591
594
|
//TODO: checking editable condition could be configurable
|
592
595
|
if ((eachLayer === null || eachLayer === void 0 ? void 0 : eachLayer.type) === "feature" && (eachLayer === null || eachLayer === void 0 ? void 0 : eachLayer.editingEnabled) && ((_b = (_a = eachLayer === null || eachLayer === void 0 ? void 0 : eachLayer.capabilities) === null || _a === void 0 ? void 0 : _a.operations) === null || _b === void 0 ? void 0 : _b.supportsUpdate)) {
|
@@ -660,13 +663,13 @@ const LayerList = class {
|
|
660
663
|
getLayerListItem(layerId) {
|
661
664
|
const layerName = this._layerItemsHash[layerId].name;
|
662
665
|
const featureCount = this._layerItemsHash[layerId].formattedFeatureCount;
|
663
|
-
return (index.h("calcite-list-item", { onCalciteListItemSelect: () => { this.
|
666
|
+
return (index.h("calcite-list-item", { onCalciteListItemSelect: () => { this.onLayerItemSelected(layerId); } }, index.h("div", { class: "layer-name", slot: "content-start" }, layerName), this.showFeatureCount && featureCount !== undefined && featureCount !== "" && index.h("div", { class: !this.showNextIcon ? "feature-count" : "", slot: "content-end" }, "(" + featureCount + ")"), this.showNextIcon && index.h("calcite-icon", { icon: "chevron-right", scale: "s", slot: "content-end" })));
|
664
667
|
}
|
665
|
-
/**On click of layer list item
|
668
|
+
/**On click of layer list item emit the event along with the selected layerId and layerName
|
666
669
|
* @param layerId Layer id
|
667
670
|
* @protected
|
668
671
|
*/
|
669
|
-
|
672
|
+
onLayerItemSelected(layerId) {
|
670
673
|
this.layerSelect.emit({ layerId, layerName: this._layerItemsHash[layerId].name });
|
671
674
|
}
|
672
675
|
/**
|
@@ -9,8 +9,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
10
10
|
const index = require('./index-b8a649fc.js');
|
11
11
|
const locale = require('./locale-a476e15d.js');
|
12
|
+
const mapViewUtils = require('./mapViewUtils-8aa325de.js');
|
12
13
|
require('./esri-loader-a91c0ec1.js');
|
13
14
|
require('./_commonjsHelpers-384729db.js');
|
15
|
+
require('./interfaces-7cd0a48a.js');
|
14
16
|
|
15
17
|
const crowdsourceReporterCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.error-msg{padding:10px}";
|
16
18
|
|
@@ -44,6 +46,7 @@ const CrowdsourceReporter = class {
|
|
44
46
|
this._sidePanelCollapsed = false;
|
45
47
|
this._translations = undefined;
|
46
48
|
this._hasValidLayers = false;
|
49
|
+
this._selectedLayerName = undefined;
|
47
50
|
}
|
48
51
|
//--------------------------------------------------------------------------
|
49
52
|
//
|
@@ -75,6 +78,7 @@ const CrowdsourceReporter = class {
|
|
75
78
|
* @returns Promise when complete
|
76
79
|
*/
|
77
80
|
async componentWillLoad() {
|
81
|
+
await this._initModules();
|
78
82
|
await this._getTranslations();
|
79
83
|
}
|
80
84
|
/**
|
@@ -88,6 +92,19 @@ const CrowdsourceReporter = class {
|
|
88
92
|
// Functions (protected)
|
89
93
|
//
|
90
94
|
//--------------------------------------------------------------------------
|
95
|
+
/**
|
96
|
+
* Load esri javascript api modules
|
97
|
+
*
|
98
|
+
* @returns Promise resolving when function is done
|
99
|
+
*
|
100
|
+
* @protected
|
101
|
+
*/
|
102
|
+
async _initModules() {
|
103
|
+
const [reactiveUtils] = await locale.loadModules([
|
104
|
+
"esri/core/reactiveUtils"
|
105
|
+
]);
|
106
|
+
this.reactiveUtils = reactiveUtils;
|
107
|
+
}
|
91
108
|
/**
|
92
109
|
* Get the reporter app functionality
|
93
110
|
* @protected
|
@@ -121,7 +138,7 @@ const CrowdsourceReporter = class {
|
|
121
138
|
return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportsHeader }, this._hasValidLayers &&
|
122
139
|
index.h("calcite-action", { icon: "sort-ascending-arrow", slot: this.isMobile ? "header-menu-actions" : "header-actions-end", text: this._translations.sort, "text-enabled": this.isMobile }), this._hasValidLayers &&
|
123
140
|
index.h("calcite-action", { icon: "filter", slot: this.isMobile ? "header-menu-actions" : "header-actions-end", text: this._translations.filter, "text-enabled": this.isMobile }), this.isMobile && this.getActionToExpandCollapsePanel(), this._hasValidLayers && this.enableNewReports &&
|
124
|
-
index.h("calcite-button", { appearance: "secondary", slot: "footer", width: "full" }, this.reportButtonText), index.h("calcite-panel", { "full-height": true, "full-width": true }, index.h("layer-list", { class: "height-full", layers: this.layers, mapView: this.mapView, noLayerErrorMsg: this._translations.noLayerToDisplayErrorMsg, onLayerSelect: this.displayFeaturesList.bind(this), onLayersListLoaded: this.layerListLoaded.bind(this) }))));
|
141
|
+
index.h("calcite-button", { appearance: "secondary", slot: "footer", width: "full" }, this.reportButtonText), index.h("calcite-panel", { "full-height": true, "full-width": true }, index.h("layer-list", { class: "height-full", layers: this.layers, mapView: this.mapView, noLayerErrorMsg: this._translations.noLayerToDisplayErrorMsg, onLayerSelect: this.displayFeaturesList.bind(this), onLayersListLoaded: this.layerListLoaded.bind(this), showFeatureCount: true, showNextIcon: true }))));
|
125
142
|
}
|
126
143
|
/**
|
127
144
|
* When layer list is loaded, we will receive the list of layers, if its means we don't have any valid layer to be listed
|
@@ -130,6 +147,7 @@ const CrowdsourceReporter = class {
|
|
130
147
|
*/
|
131
148
|
layerListLoaded(evt) {
|
132
149
|
const layersListed = evt.detail;
|
150
|
+
this.handleMapClick(layersListed);
|
133
151
|
this._hasValidLayers = layersListed.length > 0;
|
134
152
|
}
|
135
153
|
/**On click of layer list item show feature list
|
@@ -169,6 +187,7 @@ const CrowdsourceReporter = class {
|
|
169
187
|
/**
|
170
188
|
* Get feature list of the selected feature layer
|
171
189
|
* @param layerId Layer id
|
190
|
+
* @param layerName Layer name
|
172
191
|
* @returns feature list node
|
173
192
|
* @protected
|
174
193
|
*/
|
@@ -181,7 +200,15 @@ const CrowdsourceReporter = class {
|
|
181
200
|
* @returns Node
|
182
201
|
*/
|
183
202
|
getFeatureDetailsFlowItem() {
|
184
|
-
return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromFeatureList.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("calcite-action", { icon: "share", slot: "header-actions-end", text: this._translations.share }), index.h("calcite-panel", { "full-height": true }, index.h("info-card", { allowEditing: false, graphics: this._selectedFeature, isLoading: false, isMobile: false, mapView: this.mapView, zoomAndScrollToSelected: true }))));
|
203
|
+
return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromFeatureList.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("calcite-action", { icon: "share", slot: "header-actions-end", text: this._translations.share }), index.h("calcite-panel", { "full-height": true }, index.h("info-card", { allowEditing: false, graphics: this._selectedFeature, isLoading: false, isMobile: false, mapView: this.mapView, onSelectionChanged: this.featureDetailsChanged.bind(this), zoomAndScrollToSelected: true }))));
|
204
|
+
}
|
205
|
+
/**
|
206
|
+
* On Feature details change update the Layer title and the current selected layer id
|
207
|
+
* @param evt Event hold the details of current feature graphic in the info-card
|
208
|
+
*/
|
209
|
+
featureDetailsChanged(evt) {
|
210
|
+
this._selectedLayerId = evt.detail[0].layer.id;
|
211
|
+
this._selectedLayerName = evt.detail[0].layer.title;
|
185
212
|
}
|
186
213
|
/**
|
187
214
|
* Returns the action button to Expand/Collapse side panel in mobile mode
|
@@ -204,6 +231,63 @@ const CrowdsourceReporter = class {
|
|
204
231
|
this._defaultLevel = undefined;
|
205
232
|
}
|
206
233
|
}
|
234
|
+
/**
|
235
|
+
* Handle map click event
|
236
|
+
* @param layers Array of layerIds
|
237
|
+
*
|
238
|
+
* @protected
|
239
|
+
*/
|
240
|
+
handleMapClick(layers) {
|
241
|
+
if (this._mapClickHandle) {
|
242
|
+
this._mapClickHandle.remove();
|
243
|
+
}
|
244
|
+
this._mapClickHandle = this.reactiveUtils.on(() => this.mapView, "click", (event) => {
|
245
|
+
void this.onMapClick(event, layers);
|
246
|
+
});
|
247
|
+
}
|
248
|
+
/**
|
249
|
+
* On map click do hitTest and get the clicked graphics of valid layers and show feature details
|
250
|
+
* @param event
|
251
|
+
* @param layers
|
252
|
+
*
|
253
|
+
* @protected
|
254
|
+
*/
|
255
|
+
async onMapClick(event, layers) {
|
256
|
+
//disable map popup
|
257
|
+
this.mapView.popupEnabled = false;
|
258
|
+
// only include graphics from valid layers listed in the layer list widget
|
259
|
+
const allMapLayers = await mapViewUtils.getAllLayers(this.mapView);
|
260
|
+
const validLayers = [];
|
261
|
+
allMapLayers.forEach((eachLayer) => {
|
262
|
+
if (layers.includes(eachLayer.id)) {
|
263
|
+
validLayers.push(eachLayer);
|
264
|
+
}
|
265
|
+
});
|
266
|
+
const opts = {
|
267
|
+
include: validLayers
|
268
|
+
};
|
269
|
+
// Perform a hitTest on the View
|
270
|
+
const hitTest = await this.mapView.hitTest(event, opts);
|
271
|
+
if (hitTest.results.length > 0) {
|
272
|
+
const clickedGraphics = [];
|
273
|
+
hitTest.results.forEach(function (result) {
|
274
|
+
// check if the result type is graphic
|
275
|
+
if (result.type === 'graphic') {
|
276
|
+
clickedGraphics.push(result.graphic);
|
277
|
+
}
|
278
|
+
});
|
279
|
+
//update the selectedFeature
|
280
|
+
this._selectedFeature = clickedGraphics;
|
281
|
+
//if featureDetails not open then add it to the list else just reInit flowItems which will update details with newly selected features
|
282
|
+
// eslint-disable-next-line unicorn/prefer-ternary
|
283
|
+
if (this._flowItems.length && this._flowItems[this._flowItems.length - 1] !== "feature-details") {
|
284
|
+
this._flowItems = [...this._flowItems, "feature-details"];
|
285
|
+
}
|
286
|
+
else {
|
287
|
+
this._flowItems = [...this._flowItems];
|
288
|
+
}
|
289
|
+
}
|
290
|
+
}
|
207
291
|
/**
|
208
292
|
* Fetches the component's translations
|
209
293
|
* @returns Promise when complete
|