@esri/solutions-components 0.7.29 → 0.7.31
Sign up to get free protection for your applications and to get access to all the features.
- 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.json +7 -5
- 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_en.json +7 -5
- 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.json +1 -1
- 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_en.json +1 -1
- 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.json +1 -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_en.json +1 -1
- 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 → calcite-flow_5.cjs.entry.js} +241 -22
- package/dist/cjs/card-manager_3.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +285 -12
- package/dist/cjs/{downloadUtils-83c6d3c3.js → downloadUtils-10e0de31.js} +2 -2
- package/dist/cjs/{index.es-bd1a93b2.js → index.es-72dc7ab9.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/create-feature/create-feature.css +23 -0
- package/dist/collection/components/create-feature/create-feature.js +361 -0
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.css +10 -1
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +324 -12
- package/dist/collection/components/feature-list/feature-list.js +2 -0
- package/dist/collection/components/layer-list/layer-list.css +4 -0
- package/dist/collection/components/layer-list/layer-list.js +100 -18
- package/dist/collection/demos/crowdsource-reporter.html +30 -15
- package/dist/collection/demos/feature-list.html +1 -1
- package/dist/collection/utils/downloadUtils.js +1 -1
- package/dist/collection/utils/downloadUtils.ts +1 -1
- package/dist/components/create-feature.d.ts +11 -0
- package/dist/components/create-feature.js +11 -0
- package/dist/components/create-feature2.js +226 -0
- package/dist/components/crowdsource-reporter.js +361 -69
- package/dist/components/downloadUtils.js +1 -1
- package/dist/components/feature-list2.js +2 -0
- package/dist/components/layer-list2.js +45 -20
- 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 → calcite-flow_5.entry.js} +241 -23
- 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 +286 -13
- package/dist/esm/{downloadUtils-a301c193.js → downloadUtils-d297078f.js} +3 -3
- package/dist/esm/{index.es-37a9907e.js → index.es-3b4fa9d0.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 +30 -15
- package/dist/solutions-components/demos/feature-list.html +1 -1
- package/dist/solutions-components/{p-78e720cc.entry.js → p-09ec8c8f.entry.js} +1 -1
- package/dist/solutions-components/{p-a603e673.js → p-103c5318.js} +3 -3
- package/dist/solutions-components/{p-4566438a.js → p-2c382841.js} +1 -1
- package/dist/solutions-components/{p-fe295e9d.entry.js → p-57d49d15.entry.js} +1 -1
- 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-0587972d.js → p-8ec25bf4.js} +1 -1
- package/dist/solutions-components/{p-b37ec1f3.entry.js → p-921f21d5.entry.js} +1 -1
- package/dist/solutions-components/p-b4e2cac4.entry.js +17 -0
- package/dist/solutions-components/{p-643e7ee1.entry.js → p-b699637f.entry.js} +1 -1
- package/dist/solutions-components/p-bb6562ab.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +1 -1
- package/dist/types/components/create-feature/create-feature.d.ts +107 -0
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +165 -8
- package/dist/types/components/feature-list/feature-list.d.ts +2 -0
- package/dist/types/components/layer-list/layer-list.d.ts +16 -2
- package/dist/types/components.d.ts +105 -0
- package/dist/types/preact.d.ts +6 -0
- package/package.json +1 -1
- package/dist/solutions-components/p-6a452a84.entry.js +0 -17
- package/dist/solutions-components/p-8756eebb.entry.js +0 -6
@@ -2859,7 +2859,7 @@ function _prepareAttributeValue(attributeValue, attributeType, attributeDomain,
|
|
2859
2859
|
if (attributeDomain && attributeDomain.type === "coded-value") {
|
2860
2860
|
// "coded-value" domain field
|
2861
2861
|
const value = attributeDomain.getName(attributeValue);
|
2862
|
-
return value.toString();
|
2862
|
+
return value === null || value === void 0 ? void 0 : value.toString();
|
2863
2863
|
}
|
2864
2864
|
else {
|
2865
2865
|
// Non-domain field or unsupported domain type
|
@@ -91,6 +91,7 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
|
|
91
91
|
//--------------------------------------------------------------------------
|
92
92
|
/**
|
93
93
|
* Initialize the features list using the selected layer
|
94
|
+
* @protected
|
94
95
|
*/
|
95
96
|
async initializeFeatureItems() {
|
96
97
|
if (this._selectedLayer) {
|
@@ -118,6 +119,7 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
|
|
118
119
|
/**
|
119
120
|
* On feature click in feature list highlight the feature on the map
|
120
121
|
* @param event feature clicked event
|
122
|
+
* @param selectedFeature selected feature graphic
|
121
123
|
* @protected
|
122
124
|
*/
|
123
125
|
async featureClicked(event, selectedFeature) {
|
@@ -19,7 +19,7 @@ import { d as defineCustomElement$3 } from './progress.js';
|
|
19
19
|
import { d as defineCustomElement$2 } from './scrim.js';
|
20
20
|
import { d as defineCustomElement$1 } from './stack.js';
|
21
21
|
|
22
|
-
const layerListCss = ":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}";
|
22
|
+
const layerListCss = ":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";
|
23
23
|
|
24
24
|
const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLElement {
|
25
25
|
constructor() {
|
@@ -30,6 +30,8 @@ const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLE
|
|
30
30
|
this.mapView = undefined;
|
31
31
|
this.layers = undefined;
|
32
32
|
this.noLayerErrorMsg = undefined;
|
33
|
+
this.showFeatureCount = true;
|
34
|
+
this.showNextIcon = false;
|
33
35
|
this._noLayersToDisplay = false;
|
34
36
|
this._mapLayerIds = [];
|
35
37
|
this._isLoading = false;
|
@@ -37,6 +39,23 @@ const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLE
|
|
37
39
|
}
|
38
40
|
//--------------------------------------------------------------------------
|
39
41
|
//
|
42
|
+
// Watch handlers
|
43
|
+
//
|
44
|
+
//--------------------------------------------------------------------------
|
45
|
+
//--------------------------------------------------------------------------
|
46
|
+
//
|
47
|
+
// Methods (public)
|
48
|
+
//
|
49
|
+
//--------------------------------------------------------------------------
|
50
|
+
/**
|
51
|
+
* Refresh the layer list which will fetch the latest layer count and update the list
|
52
|
+
* @returns Promise that resolves when the operation is complete
|
53
|
+
*/
|
54
|
+
async refresh() {
|
55
|
+
await this.setLayers();
|
56
|
+
}
|
57
|
+
//--------------------------------------------------------------------------
|
58
|
+
//
|
40
59
|
// Functions (lifecycle)
|
41
60
|
//
|
42
61
|
//--------------------------------------------------------------------------
|
@@ -61,7 +80,7 @@ const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLE
|
|
61
80
|
render() {
|
62
81
|
return (h(Fragment, null, this._isLoading && h("calcite-loader", { scale: "m" }), !this._isLoading && this.mapView && this._noLayersToDisplay &&
|
63
82
|
h("calcite-notice", { class: "error-msg", icon: "layers-reference", kind: "danger", open: true }, h("div", { slot: "title" }, this._translations.error), h("div", { slot: "message" }, this.noLayerErrorMsg ? this.noLayerErrorMsg : this._translations.noLayerToDisplayErrorMsg)), !this._isLoading && this.mapView &&
|
64
|
-
h("calcite-list",
|
83
|
+
h("calcite-list", { "selection-appearance": "border", "selection-mode": this.showNextIcon ? "none" : "single-persist" }, this.renderLayerList())));
|
65
84
|
}
|
66
85
|
//--------------------------------------------------------------------------
|
67
86
|
//
|
@@ -91,18 +110,21 @@ const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLE
|
|
91
110
|
allMapLayers.forEach(async (eachLayer) => {
|
92
111
|
var _a, _b;
|
93
112
|
//TODO: checking editable condition could be configurable
|
94
|
-
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.
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
113
|
+
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.supportsAdd)) {
|
114
|
+
this._layerItemsHash[eachLayer.id].supportsAdd = true;
|
115
|
+
if (this.showFeatureCount) {
|
116
|
+
const q = eachLayer.createQuery();
|
117
|
+
const result = eachLayer.queryFeatureCount(q);
|
118
|
+
def.push(result);
|
119
|
+
void result.then(async (resCount) => {
|
120
|
+
const formattedCount = !isNaN(resCount) ? await formatNumber(resCount, {
|
121
|
+
places: 0,
|
122
|
+
api: 4,
|
123
|
+
type: "decimal"
|
124
|
+
}) : "";
|
125
|
+
this._layerItemsHash[eachLayer.id].formattedFeatureCount = formattedCount;
|
126
|
+
});
|
127
|
+
}
|
106
128
|
}
|
107
129
|
});
|
108
130
|
await Promise.all(def).then(() => {
|
@@ -130,9 +152,9 @@ const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLE
|
|
130
152
|
var _a;
|
131
153
|
const configuredLayers = ((_a = this.layers) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.layers : [];
|
132
154
|
return Object.keys(hash).reduce((prev, cur) => {
|
133
|
-
let showLayer = hash[cur].
|
155
|
+
let showLayer = hash[cur].supportsAdd;
|
134
156
|
if ((configuredLayers === null || configuredLayers === void 0 ? void 0 : configuredLayers.length) > 0) {
|
135
|
-
showLayer = configuredLayers.indexOf(cur) > -1 ? hash[cur].
|
157
|
+
showLayer = configuredLayers.indexOf(cur) > -1 ? hash[cur].supportsAdd : false;
|
136
158
|
}
|
137
159
|
if (showLayer) {
|
138
160
|
prev.push(cur);
|
@@ -162,13 +184,13 @@ const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLE
|
|
162
184
|
getLayerListItem(layerId) {
|
163
185
|
const layerName = this._layerItemsHash[layerId].name;
|
164
186
|
const featureCount = this._layerItemsHash[layerId].formattedFeatureCount;
|
165
|
-
return (h("calcite-list-item", { onCalciteListItemSelect: () => { this.
|
187
|
+
return (h("calcite-list-item", { onCalciteListItemSelect: () => { this.onLayerItemSelected(layerId); } }, h("div", { class: "layer-name", slot: "content-start" }, layerName), this.showFeatureCount && featureCount !== undefined && featureCount !== "" && h("div", { class: !this.showNextIcon ? "feature-count" : "", slot: "content-end" }, "(" + featureCount + ")"), this.showNextIcon && h("calcite-icon", { icon: "chevron-right", scale: "s", slot: "content-end" })));
|
166
188
|
}
|
167
|
-
/**On click of layer list item
|
189
|
+
/**On click of layer list item emit the event along with the selected layerId and layerName
|
168
190
|
* @param layerId Layer id
|
169
191
|
* @protected
|
170
192
|
*/
|
171
|
-
|
193
|
+
onLayerItemSelected(layerId) {
|
172
194
|
this.layerSelect.emit({ layerId, layerName: this._layerItemsHash[layerId].name });
|
173
195
|
}
|
174
196
|
/**
|
@@ -186,10 +208,13 @@ const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLE
|
|
186
208
|
"mapView": [16],
|
187
209
|
"layers": [16],
|
188
210
|
"noLayerErrorMsg": [1, "no-layer-error-msg"],
|
211
|
+
"showFeatureCount": [4, "show-feature-count"],
|
212
|
+
"showNextIcon": [4, "show-next-icon"],
|
189
213
|
"_noLayersToDisplay": [32],
|
190
214
|
"_mapLayerIds": [32],
|
191
215
|
"_isLoading": [32],
|
192
|
-
"_translations": [32]
|
216
|
+
"_translations": [32],
|
217
|
+
"refresh": [64]
|
193
218
|
}]);
|
194
219
|
function defineCustomElement() {
|
195
220
|
if (typeof customElements === "undefined") {
|
@@ -12,7 +12,7 @@ import { o as onToggleOpenCloseComponent } from './openCloseComponent-982c6b9e.j
|
|
12
12
|
import { c as connectMessages, s as setUpMessages, d as disconnectMessages, u as updateMessages } from './t9n-f16911e7.js';
|
13
13
|
import { K as KindIcons } from './resources-6e00e0d1.js';
|
14
14
|
import { g as getLocaleComponentStrings, l as loadModules } from './locale-731e75a8.js';
|
15
|
-
import {
|
15
|
+
import { a as getAllLayers } from './mapViewUtils-cf05e880.js';
|
16
16
|
import { P as PopupUtils } from './popupUtils-d75edf93.js';
|
17
17
|
import './guid-36c6c6a5.js';
|
18
18
|
import './resources-cdc36705.js';
|
@@ -22,7 +22,7 @@ import { d as debounce } from './debounce-229b1a22.js';
|
|
22
22
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-1149b5cb.js';
|
23
23
|
import { i as isActivationKey } from './key-af303047.js';
|
24
24
|
import { g as getLocaleComponentStrings } from './locale-731e75a8.js';
|
25
|
-
import {
|
25
|
+
import { d as getMapLayerHash, o as getMapTableHash } from './mapViewUtils-cf05e880.js';
|
26
26
|
import { s as state } from './publicNotificationStore-9362d7ae.js';
|
27
27
|
import './resources-cdc36705.js';
|
28
28
|
import './browser-b4c16201.js';
|
@@ -11,16 +11,16 @@ import { c as connectInteractive, u as updateHostInteraction, d as disconnectInt
|
|
11
11
|
import { c as connectLocalized, d as disconnectLocalized } from './locale-6107ef11.js';
|
12
12
|
import { c as connectMessages, s as setUpMessages, d as disconnectMessages, u as updateMessages } from './t9n-f16911e7.js';
|
13
13
|
import { S as SLOTS$1 } from './resources-649a0f91.js';
|
14
|
+
import { l as loadModules, g as getLocaleComponentStrings, f as formatNumber } from './locale-731e75a8.js';
|
15
|
+
import { g as getLayerOrTable, c as getFeatureLayerView, h as highlightFeatures, d as getMapLayerHash, a as getAllLayers } from './mapViewUtils-cf05e880.js';
|
14
16
|
import { P as PopupUtils } from './popupUtils-d75edf93.js';
|
15
|
-
import { g as getLayerOrTable, b as getFeatureLayerView, h as highlightFeatures, c as getMapLayerHash, d as getAllLayers } from './mapViewUtils-6daedef8.js';
|
16
|
-
import { g as getLocaleComponentStrings, f as formatNumber } from './locale-731e75a8.js';
|
17
17
|
import './guid-36c6c6a5.js';
|
18
18
|
import './resources-cdc36705.js';
|
19
19
|
import './browser-b4c16201.js';
|
20
20
|
import './key-af303047.js';
|
21
|
-
import './interfaces-586e863c.js';
|
22
21
|
import './esri-loader-eda07632.js';
|
23
22
|
import './_commonjsHelpers-d5f9d613.js';
|
23
|
+
import './interfaces-586e863c.js';
|
24
24
|
|
25
25
|
/*!
|
26
26
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
@@ -335,6 +335,200 @@ const FlowItem = class {
|
|
335
335
|
};
|
336
336
|
FlowItem.style = flowItemCss;
|
337
337
|
|
338
|
+
const createFeatureCss = ":host{display:block}.esri-editor__panel-toolbar{display:none !important}";
|
339
|
+
|
340
|
+
const CreateFeature = class {
|
341
|
+
constructor(hostRef) {
|
342
|
+
registerInstance(this, hostRef);
|
343
|
+
this.success = createEvent(this, "success", 7);
|
344
|
+
this.fail = createEvent(this, "fail", 7);
|
345
|
+
this.drawComplete = createEvent(this, "drawComplete", 7);
|
346
|
+
this.mapView = undefined;
|
347
|
+
this.selectedLayerId = undefined;
|
348
|
+
}
|
349
|
+
//--------------------------------------------------------------------------
|
350
|
+
//
|
351
|
+
// Watch handlers
|
352
|
+
//
|
353
|
+
//--------------------------------------------------------------------------
|
354
|
+
/**
|
355
|
+
* Called each time the mapView prop is changed.
|
356
|
+
*/
|
357
|
+
async mapViewWatchHandler() {
|
358
|
+
await this.mapView.when(async () => {
|
359
|
+
await this.init();
|
360
|
+
});
|
361
|
+
}
|
362
|
+
//--------------------------------------------------------------------------
|
363
|
+
//
|
364
|
+
// Methods (public)
|
365
|
+
//
|
366
|
+
//--------------------------------------------------------------------------
|
367
|
+
/**
|
368
|
+
* Destroy the Editor widget instance
|
369
|
+
* @returns Promise that resolves when the operation is complete
|
370
|
+
*/
|
371
|
+
async close() {
|
372
|
+
if (this._editor) {
|
373
|
+
this._editor.destroy();
|
374
|
+
}
|
375
|
+
}
|
376
|
+
/**
|
377
|
+
* Submit the created feature
|
378
|
+
* @returns Promise that resolves when the operation is complete
|
379
|
+
*/
|
380
|
+
async submit() {
|
381
|
+
if (this._editor) {
|
382
|
+
this._editor.viewModel.featureFormViewModel.submit();
|
383
|
+
}
|
384
|
+
}
|
385
|
+
//--------------------------------------------------------------------------
|
386
|
+
//
|
387
|
+
// Functions (lifecycle)
|
388
|
+
//
|
389
|
+
//--------------------------------------------------------------------------
|
390
|
+
/**
|
391
|
+
* StencilJS: Called once just after the component is first connected to the DOM.
|
392
|
+
* @returns Promise when complete
|
393
|
+
*/
|
394
|
+
async componentWillLoad() {
|
395
|
+
await this.initModules();
|
396
|
+
}
|
397
|
+
/**
|
398
|
+
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
399
|
+
*/
|
400
|
+
async componentDidLoad() {
|
401
|
+
await this.init();
|
402
|
+
}
|
403
|
+
/**
|
404
|
+
* Renders the component.
|
405
|
+
*/
|
406
|
+
render() {
|
407
|
+
return (h(Host, { id: "feature-form" }));
|
408
|
+
}
|
409
|
+
//--------------------------------------------------------------------------
|
410
|
+
//
|
411
|
+
// Functions (protected)
|
412
|
+
//
|
413
|
+
//--------------------------------------------------------------------------
|
414
|
+
/**
|
415
|
+
* Init Editor widget and starts the create workflow
|
416
|
+
*/
|
417
|
+
async init() {
|
418
|
+
if (this.mapView) {
|
419
|
+
if (this.mapView && this.selectedLayerId) {
|
420
|
+
await getLayerOrTable(this.mapView, this.selectedLayerId);
|
421
|
+
await this.createEditorWidget();
|
422
|
+
await this.startCreate();
|
423
|
+
this._editor.viewModel.featureFormViewModel.on('submit', this.submitted.bind(this));
|
424
|
+
setTimeout(() => {
|
425
|
+
var _a, _b;
|
426
|
+
this.el.querySelector('.esri-editor').querySelectorAll('calcite-flow-item')[1].shadowRoot.querySelector('calcite-panel').shadowRoot.querySelector('article').querySelector('header').setAttribute('style', 'display: none');
|
427
|
+
(_b = (_a = this.el.querySelector('.esri-editor').querySelectorAll('calcite-flow-item')[1].shadowRoot.querySelector('calcite-panel').shadowRoot.querySelector('article')) === null || _a === void 0 ? void 0 : _a.querySelector('footer')) === null || _b === void 0 ? void 0 : _b.setAttribute('style', 'display: none');
|
428
|
+
}, 700);
|
429
|
+
}
|
430
|
+
}
|
431
|
+
}
|
432
|
+
/**
|
433
|
+
* Load esri javascript api modules
|
434
|
+
* @returns Promise resolving when function is done
|
435
|
+
* @protected
|
436
|
+
*/
|
437
|
+
async initModules() {
|
438
|
+
const [Editor] = await loadModules([
|
439
|
+
"esri/widgets/Editor"
|
440
|
+
]);
|
441
|
+
this.Editor = Editor;
|
442
|
+
}
|
443
|
+
/**
|
444
|
+
* Display editor widget to create the new feature
|
445
|
+
* @protected
|
446
|
+
*/
|
447
|
+
async createEditorWidget() {
|
448
|
+
if (this._editor) {
|
449
|
+
this._editor.destroy();
|
450
|
+
}
|
451
|
+
const container = document.createElement("div");
|
452
|
+
const layer = await getLayerOrTable(this.mapView, this.selectedLayerId);
|
453
|
+
const selectedLayer = {
|
454
|
+
layer: layer
|
455
|
+
};
|
456
|
+
this._editor = new this.Editor({
|
457
|
+
allowedWorkflows: "create-features",
|
458
|
+
view: this.mapView,
|
459
|
+
layerInfos: [selectedLayer],
|
460
|
+
visibleElements: {
|
461
|
+
snappingControls: false,
|
462
|
+
snappingControlsElements: {
|
463
|
+
featureEnabledToggle: false,
|
464
|
+
layerList: false,
|
465
|
+
enabledToggle: false
|
466
|
+
}
|
467
|
+
},
|
468
|
+
container,
|
469
|
+
});
|
470
|
+
this.el.appendChild(container);
|
471
|
+
}
|
472
|
+
/**
|
473
|
+
* Start creating the feature
|
474
|
+
* @protected
|
475
|
+
*/
|
476
|
+
async startCreate() {
|
477
|
+
var _a, _b;
|
478
|
+
const layer = await getLayerOrTable(this.mapView, this.selectedLayerId);
|
479
|
+
if (layer) {
|
480
|
+
let template = layer.templates && layer.templates.length ? layer.templates[0] : {};
|
481
|
+
if (((_a = layer.sourceJSON) === null || _a === void 0 ? void 0 : _a.types.length) && ((_b = layer.sourceJSON.types[0].templates) === null || _b === void 0 ? void 0 : _b.length)) {
|
482
|
+
template = layer.sourceJSON.types[0].templates[0];
|
483
|
+
}
|
484
|
+
const creationInfo = {
|
485
|
+
layer: layer,
|
486
|
+
template: template
|
487
|
+
};
|
488
|
+
await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(creationInfo);
|
489
|
+
this._editor.viewModel.sketchViewModel.on("create", (evt) => {
|
490
|
+
if (evt.state === "complete") {
|
491
|
+
this.drawComplete.emit();
|
492
|
+
}
|
493
|
+
});
|
494
|
+
}
|
495
|
+
}
|
496
|
+
/**
|
497
|
+
* On creation of feature emit the event that the feature is created
|
498
|
+
* @param evt feature submit event
|
499
|
+
* @protected
|
500
|
+
*/
|
501
|
+
async submitted(evt) {
|
502
|
+
var _a;
|
503
|
+
if (evt.invalid.length) {
|
504
|
+
return;
|
505
|
+
}
|
506
|
+
if (evt.valid.length) {
|
507
|
+
try {
|
508
|
+
await this._editor.activeWorkflow.commit();
|
509
|
+
//throw errors if any failures
|
510
|
+
if ((_a = this._editor.viewModel.failures) === null || _a === void 0 ? void 0 : _a.length) {
|
511
|
+
this._editor.viewModel.failures.some((failure) => {
|
512
|
+
if (failure.error) {
|
513
|
+
throw (failure.error);
|
514
|
+
}
|
515
|
+
});
|
516
|
+
}
|
517
|
+
}
|
518
|
+
catch (e) {
|
519
|
+
this.fail.emit(e);
|
520
|
+
return;
|
521
|
+
}
|
522
|
+
this.success.emit();
|
523
|
+
}
|
524
|
+
}
|
525
|
+
get el() { return getElement(this); }
|
526
|
+
static get watchers() { return {
|
527
|
+
"mapView": ["mapViewWatchHandler"]
|
528
|
+
}; }
|
529
|
+
};
|
530
|
+
CreateFeature.style = createFeatureCss;
|
531
|
+
|
338
532
|
const featureListCss = ":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.popup-title{font-weight:500;padding:10px 12px}";
|
339
533
|
|
340
534
|
const FeatureList = class {
|
@@ -401,6 +595,7 @@ const FeatureList = class {
|
|
401
595
|
//--------------------------------------------------------------------------
|
402
596
|
/**
|
403
597
|
* Initialize the features list using the selected layer
|
598
|
+
* @protected
|
404
599
|
*/
|
405
600
|
async initializeFeatureItems() {
|
406
601
|
if (this._selectedLayer) {
|
@@ -428,6 +623,7 @@ const FeatureList = class {
|
|
428
623
|
/**
|
429
624
|
* On feature click in feature list highlight the feature on the map
|
430
625
|
* @param event feature clicked event
|
626
|
+
* @param selectedFeature selected feature graphic
|
431
627
|
* @protected
|
432
628
|
*/
|
433
629
|
async featureClicked(event, selectedFeature) {
|
@@ -514,7 +710,7 @@ const FeatureList = class {
|
|
514
710
|
};
|
515
711
|
FeatureList.style = featureListCss;
|
516
712
|
|
517
|
-
const layerListCss = ":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}";
|
713
|
+
const layerListCss = ":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";
|
518
714
|
|
519
715
|
const LayerList = class {
|
520
716
|
constructor(hostRef) {
|
@@ -524,6 +720,8 @@ const LayerList = class {
|
|
524
720
|
this.mapView = undefined;
|
525
721
|
this.layers = undefined;
|
526
722
|
this.noLayerErrorMsg = undefined;
|
723
|
+
this.showFeatureCount = true;
|
724
|
+
this.showNextIcon = false;
|
527
725
|
this._noLayersToDisplay = false;
|
528
726
|
this._mapLayerIds = [];
|
529
727
|
this._isLoading = false;
|
@@ -531,6 +729,23 @@ const LayerList = class {
|
|
531
729
|
}
|
532
730
|
//--------------------------------------------------------------------------
|
533
731
|
//
|
732
|
+
// Watch handlers
|
733
|
+
//
|
734
|
+
//--------------------------------------------------------------------------
|
735
|
+
//--------------------------------------------------------------------------
|
736
|
+
//
|
737
|
+
// Methods (public)
|
738
|
+
//
|
739
|
+
//--------------------------------------------------------------------------
|
740
|
+
/**
|
741
|
+
* Refresh the layer list which will fetch the latest layer count and update the list
|
742
|
+
* @returns Promise that resolves when the operation is complete
|
743
|
+
*/
|
744
|
+
async refresh() {
|
745
|
+
await this.setLayers();
|
746
|
+
}
|
747
|
+
//--------------------------------------------------------------------------
|
748
|
+
//
|
534
749
|
// Functions (lifecycle)
|
535
750
|
//
|
536
751
|
//--------------------------------------------------------------------------
|
@@ -555,7 +770,7 @@ const LayerList = class {
|
|
555
770
|
render() {
|
556
771
|
return (h(Fragment, null, this._isLoading && h("calcite-loader", { scale: "m" }), !this._isLoading && this.mapView && this._noLayersToDisplay &&
|
557
772
|
h("calcite-notice", { class: "error-msg", icon: "layers-reference", kind: "danger", open: true }, h("div", { slot: "title" }, this._translations.error), h("div", { slot: "message" }, this.noLayerErrorMsg ? this.noLayerErrorMsg : this._translations.noLayerToDisplayErrorMsg)), !this._isLoading && this.mapView &&
|
558
|
-
h("calcite-list",
|
773
|
+
h("calcite-list", { "selection-appearance": "border", "selection-mode": this.showNextIcon ? "none" : "single-persist" }, this.renderLayerList())));
|
559
774
|
}
|
560
775
|
//--------------------------------------------------------------------------
|
561
776
|
//
|
@@ -585,18 +800,21 @@ const LayerList = class {
|
|
585
800
|
allMapLayers.forEach(async (eachLayer) => {
|
586
801
|
var _a, _b;
|
587
802
|
//TODO: checking editable condition could be configurable
|
588
|
-
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.
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
803
|
+
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.supportsAdd)) {
|
804
|
+
this._layerItemsHash[eachLayer.id].supportsAdd = true;
|
805
|
+
if (this.showFeatureCount) {
|
806
|
+
const q = eachLayer.createQuery();
|
807
|
+
const result = eachLayer.queryFeatureCount(q);
|
808
|
+
def.push(result);
|
809
|
+
void result.then(async (resCount) => {
|
810
|
+
const formattedCount = !isNaN(resCount) ? await formatNumber(resCount, {
|
811
|
+
places: 0,
|
812
|
+
api: 4,
|
813
|
+
type: "decimal"
|
814
|
+
}) : "";
|
815
|
+
this._layerItemsHash[eachLayer.id].formattedFeatureCount = formattedCount;
|
816
|
+
});
|
817
|
+
}
|
600
818
|
}
|
601
819
|
});
|
602
820
|
await Promise.all(def).then(() => {
|
@@ -624,9 +842,9 @@ const LayerList = class {
|
|
624
842
|
var _a;
|
625
843
|
const configuredLayers = ((_a = this.layers) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.layers : [];
|
626
844
|
return Object.keys(hash).reduce((prev, cur) => {
|
627
|
-
let showLayer = hash[cur].
|
845
|
+
let showLayer = hash[cur].supportsAdd;
|
628
846
|
if ((configuredLayers === null || configuredLayers === void 0 ? void 0 : configuredLayers.length) > 0) {
|
629
|
-
showLayer = configuredLayers.indexOf(cur) > -1 ? hash[cur].
|
847
|
+
showLayer = configuredLayers.indexOf(cur) > -1 ? hash[cur].supportsAdd : false;
|
630
848
|
}
|
631
849
|
if (showLayer) {
|
632
850
|
prev.push(cur);
|
@@ -656,13 +874,13 @@ const LayerList = class {
|
|
656
874
|
getLayerListItem(layerId) {
|
657
875
|
const layerName = this._layerItemsHash[layerId].name;
|
658
876
|
const featureCount = this._layerItemsHash[layerId].formattedFeatureCount;
|
659
|
-
return (h("calcite-list-item", { onCalciteListItemSelect: () => { this.
|
877
|
+
return (h("calcite-list-item", { onCalciteListItemSelect: () => { this.onLayerItemSelected(layerId); } }, h("div", { class: "layer-name", slot: "content-start" }, layerName), this.showFeatureCount && featureCount !== undefined && featureCount !== "" && h("div", { class: !this.showNextIcon ? "feature-count" : "", slot: "content-end" }, "(" + featureCount + ")"), this.showNextIcon && h("calcite-icon", { icon: "chevron-right", scale: "s", slot: "content-end" })));
|
660
878
|
}
|
661
|
-
/**On click of layer list item
|
879
|
+
/**On click of layer list item emit the event along with the selected layerId and layerName
|
662
880
|
* @param layerId Layer id
|
663
881
|
* @protected
|
664
882
|
*/
|
665
|
-
|
883
|
+
onLayerItemSelected(layerId) {
|
666
884
|
this.layerSelect.emit({ layerId, layerName: this._layerItemsHash[layerId].name });
|
667
885
|
}
|
668
886
|
/**
|
@@ -678,4 +896,4 @@ const LayerList = class {
|
|
678
896
|
};
|
679
897
|
LayerList.style = layerListCss;
|
680
898
|
|
681
|
-
export { Flow as calcite_flow, FlowItem as calcite_flow_item, FeatureList as feature_list, LayerList as layer_list };
|
899
|
+
export { Flow as calcite_flow, FlowItem as calcite_flow_item, CreateFeature as create_feature, FeatureList as feature_list, LayerList as layer_list };
|
@@ -5,8 +5,8 @@
|
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-7183ce4a.js';
|
7
7
|
import { g as getLocaleComponentStrings, l as loadModules } from './locale-731e75a8.js';
|
8
|
-
import { q as queryFeaturesByID, g as getLayerOrTable,
|
9
|
-
import { d as downloadCSV } from './downloadUtils-
|
8
|
+
import { q as queryFeaturesByID, g as getLayerOrTable, b as goToSelection, e as queryAllIds, f as queryFeatureIds, i as queryFeaturesByGlobalID } from './mapViewUtils-cf05e880.js';
|
9
|
+
import { d as downloadCSV } from './downloadUtils-d297078f.js';
|
10
10
|
import './esri-loader-eda07632.js';
|
11
11
|
import './_commonjsHelpers-d5f9d613.js';
|
12
12
|
import './interfaces-586e863c.js';
|
@@ -6,7 +6,7 @@
|
|
6
6
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-7183ce4a.js';
|
7
7
|
import { g as getLocaleComponentStrings } from './locale-731e75a8.js';
|
8
8
|
import { E as ELayoutMode } from './interfaces-586e863c.js';
|
9
|
-
import { g as getLayerOrTable } from './mapViewUtils-
|
9
|
+
import { g as getLayerOrTable } from './mapViewUtils-cf05e880.js';
|
10
10
|
import './esri-loader-eda07632.js';
|
11
11
|
import './_commonjsHelpers-d5f9d613.js';
|
12
12
|
|