@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
@@ -1,17 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,h as i,g as s,c as e,H as a,F as o}from"./p-78780f63.js";import{c as n}from"./p-5b566d55.js";import{c as l,s as c,a as r}from"./p-f10944e6.js";import{a as h}from"./p-83fd31d5.js";import{c as d,u as m,d as p}from"./p-0c97de08.js";import{c as u,d as f}from"./p-de281b08.js";import{c as g,s as v,d as b,u as y}from"./p-981e9549.js";import{S as w}from"./p-35c58364.js";import{P as x}from"./p-515a319e.js";import{g as k,b as L,h as C,c as j,d as z}from"./p-4566438a.js";import{g as I,f as F}from"./p-e902ba19.js";import"./p-fcefdfff.js";import"./p-29d68474.js";import"./p-c92fff33.js";import"./p-1e2ffee3.js";import"./p-c1cf3ebc.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v2.0.0
|
11
|
-
*/const D=class{constructor(i){t(this,i),this.itemMutationObserver=n("mutation",(()=>this.updateFlowProps())),this.getFlowDirection=(t,i)=>t&&i>1||t>1?i<t?"retreating":"advancing":null,this.updateFlowProps=()=>{const{customItemSelectors:t,el:i,items:s}=this,e=Array.from(i.querySelectorAll("calcite-flow-item"+(t?`,${t}`:""))).filter((t=>t.closest("calcite-flow")===i)),a=s.length,o=e.length,n=e[o-1],l=e[o-2];if(o&&n&&e.forEach((t=>{t.showBackButton=t===n&&o>1,t.hidden=t!==n})),l&&(l.menuOpen=!1),this.items=e,a!==o){const t=this.getFlowDirection(a,o);this.itemCount=o,this.flowDirection=t}},this.customItemSelectors=void 0,this.flowDirection=null,this.itemCount=0,this.items=[]}async back(){const{items:t}=this,i=t[t.length-1];if(!i)return;const s=i.beforeBack?i.beforeBack:()=>Promise.resolve();try{await s.call(i)}catch(t){return}return i.remove(),i}async setFocus(){await l(this);const{items:t}=this,i=t[t.length-1];return null==i?void 0:i.setFocus()}connectedCallback(){var t;null===(t=this.itemMutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.updateFlowProps()}async componentWillLoad(){c(this)}componentDidLoad(){r(this)}disconnectedCallback(){var t;null===(t=this.itemMutationObserver)||void 0===t||t.disconnect()}async handleItemBackClick(t){if(!t.defaultPrevented)return await this.back(),this.setFocus()}render(){const{flowDirection:t}=this;return i("div",{class:{frame:!0,"frame--advancing":"advancing"===t,"frame--retreating":"retreating"===t}},i("slot",null))}get el(){return s(this)}};D.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0px}:host ::slotted(calcite-flow-item),:host ::slotted(calcite-panel){block-size:100%}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation:calcite-frame-advance var(--calcite-animation-timing)}:host .frame--retreating{animation:calcite-frame-retreat var(--calcite-animation-timing)}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}:host([hidden]){display:none}[hidden]{display:none}";
|
12
|
-
/*!
|
13
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
15
|
-
* v2.0.0
|
16
|
-
*/
|
17
|
-
const S=class{constructor(i){t(this,i),this.calciteFlowItemBack=e(this,"calciteFlowItemBack",7),this.calciteFlowItemScroll=e(this,"calciteFlowItemScroll",6),this.calciteFlowItemClose=e(this,"calciteFlowItemClose",6),this.calciteFlowItemToggle=e(this,"calciteFlowItemToggle",6),this.handlePanelScroll=t=>{t.stopPropagation(),this.calciteFlowItemScroll.emit()},this.handlePanelClose=t=>{t.stopPropagation(),this.calciteFlowItemClose.emit()},this.handlePanelToggle=t=>{t.stopPropagation(),this.collapsed=t.target.collapsed,this.calciteFlowItemToggle.emit()},this.backButtonClick=()=>{this.calciteFlowItemBack.emit()},this.setBackRef=t=>{this.backButtonEl=t},this.setContainerRef=t=>{this.containerEl=t},this.closable=!1,this.closed=!1,this.collapsed=!1,this.collapseDirection="down",this.collapsible=!1,this.beforeBack=void 0,this.description=void 0,this.disabled=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.showBackButton=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){d(this),u(this),g(this)}async componentWillLoad(){await v(this),c(this)}componentDidRender(){m(this)}disconnectedCallback(){p(this),f(this),b(this)}componentDidLoad(){r(this)}effectiveLocaleChange(){y(this,this.effectiveLocale)}async setFocus(){await l(this);const{backButtonEl:t,containerEl:i}=this;return t?t.setFocus():i?i.setFocus():void 0}async scrollContentTo(t){var i;await(null===(i=this.containerEl)||void 0===i?void 0:i.scrollContentTo(t))}renderBackButton(){const{el:t}=this,s="rtl"===h(t),{showBackButton:e,backButtonClick:a,messages:o}=this,n=o.back;return e?i("calcite-action",{"aria-label":n,class:"back-button",icon:s?"chevron-right":"chevron-left",key:"flow-back-button",onClick:a,scale:"s",slot:"header-actions-start",text:n,title:n,ref:this.setBackRef}):null}render(){const{collapsed:t,collapseDirection:s,collapsible:e,closable:o,closed:n,description:l,disabled:c,heading:r,headingLevel:h,loading:d,menuOpen:m,messages:p}=this;return i(a,null,i("calcite-panel",{closable:o,closed:n,collapseDirection:s,collapsed:t,collapsible:e,description:l,disabled:c,heading:r,headingLevel:h,loading:d,menuOpen:m,messageOverrides:p,onCalcitePanelClose:this.handlePanelClose,onCalcitePanelScroll:this.handlePanelScroll,onCalcitePanelToggle:this.handlePanelToggle,ref:this.setContainerRef},this.renderBackButton(),i("slot",{name:"action-bar",slot:w.actionBar}),i("slot",{name:"header-actions-start",slot:w.headerActionsStart}),i("slot",{name:"header-actions-end",slot:w.headerActionsEnd}),i("slot",{name:"header-content",slot:w.headerContent}),i("slot",{name:"header-menu-actions",slot:w.headerMenuActions}),i("slot",{name:"fab",slot:w.fab}),i("slot",{name:"footer-actions",slot:w.footerActions}),i("slot",{name:"footer",slot:w.footer}),i("slot",null)))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};S.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);border-inline-end-width:1px}calcite-panel{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding);--calcite-panel-header-border-block-end:var(--calcite-flow-item-header-border-block-end)}:host([hidden]){display:none}[hidden]{display:none}";const P=class{constructor(i){t(this,i),this.featureSelect=e(this,"featureSelect",7),this.selectedLayerId=void 0,this.mapView=void 0,this.noFeaturesFoundMsg=void 0,this.pageSize=100,this.highlightOnMap=!1,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._translations=void 0}async selectedLayerWatchHandler(){this._selectedLayer=await k(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async componentWillLoad(){await this._getTranslations(),this._isLoading=!0,this._popupUtils=new x,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await k(this.mapView,this.selectedLayerId))}async componentDidLoad(){await this.initializeFeatureItems()}render(){return i("calcite-panel",{"full-height":!0,"full-width":!0},this._isLoading&&i("calcite-loader",{scale:"m"}),0===this._featureItems.length&&!this._isLoading&&i("calcite-notice",{class:"error-msg",icon:"feature-details",kind:"info",open:!0},i("div",{slot:"message"},this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg)),i("calcite-list",{"selection-appearance":"border","selection-mode":"single"},!this._isLoading&&this._featureItems.length>0&&this._featureItems),this._featuresCount>this.pageSize&&i("div",{class:"width-full",slot:"footer"},i("calcite-pagination",{class:"pagination","full-width":!0,onCalcitePaginationChange:this.pageChanged.bind(this),"page-size":this.pageSize,"start-item":"1","total-items":this._featuresCount})))}async initializeFeatureItems(){this._selectedLayer&&(this._isLoading=!0,this._featureItems=await this.queryPage(0),this._featuresCount=await this._selectedLayer.queryFeatureCount(),this._isLoading=!1)}async pageChanged(t){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=null);const i=t.target.startItem-1;this._featureItems=await this.queryPage(i),this._isLoading=!1}async featureClicked(t,i){if(this.highlightOnMap&&this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=null),t.target.selected){if(this.highlightOnMap){const i=Number(t.target.value),s=await L(this.mapView,this.selectedLayerId);this._highlightHandle=await C([i],s,this.mapView,!0)}this.featureSelect.emit(i)}}async queryPage(t){const i=this._selectedLayer,s=i.objectIdField,e={start:t,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:i.definitionExpression,outSpatialReference:this.mapView.spatialReference.toJSON()};s&&(e.orderByFields=[s.toString()+" DESC"]);const a=await i.queryFeatures(e);return await this.createFeatureItem(a)}async createFeatureItem(t){const i=(null==t?void 0:t.features).map((async t=>{const i=await this._popupUtils.getPopupTitle(t,this.mapView.map);return this.getFeatureItem(t,i)}));return Promise.all(i)}getFeatureItem(t,s){const e=t.attributes[this._selectedLayer.objectIdField].toString();return i("calcite-list-item",{onCalciteListItemSelect:i=>{this.featureClicked(i,t)},value:e},i("div",{class:"popup-title",slot:"content-start"},s=null!=s?s:e),i("calcite-icon",{icon:"chevron-right",scale:"s",slot:"content-end"}))}async _getTranslations(){const t=await I(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{selectedLayerId:["selectedLayerWatchHandler"]}}};P.style=":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}";const B=class{constructor(i){t(this,i),this.layerSelect=e(this,"layerSelect",7),this.layersListLoaded=e(this,"layersListLoaded",7),this.mapView=void 0,this.layers=void 0,this.noLayerErrorMsg=void 0,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}async componentWillLoad(){await this._getTranslations(),this._isLoading=!0}async componentDidLoad(){await this.setLayers(),this._isLoading=!1}render(){return i(o,null,this._isLoading&&i("calcite-loader",{scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&i("calcite-notice",{class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},i("div",{slot:"title"},this._translations.error),i("div",{slot:"message"},this.noLayerErrorMsg?this.noLayerErrorMsg:this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&i("calcite-list",null,this.renderLayerList()))}async setLayers(){this.mapView&&await this.initLayerHash()}async initLayerHash(){const t=[];this._layerItemsHash=await j(this.mapView,!0),(await z(this.mapView)).forEach((async i=>{var s,e;if("feature"===(null==i?void 0:i.type)&&(null==i?void 0:i.editingEnabled)&&(null===(e=null===(s=null==i?void 0:i.capabilities)||void 0===s?void 0:s.operations)||void 0===e?void 0:e.supportsUpdate)){const s=i.createQuery(),e=i.queryFeatureCount(s);t.push(e),e.then((async t=>{const s=isNaN(t)?"":await F(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[i.id].formattedFeatureCount=s}))}})),await Promise.all(t).then((()=>{const t=this.getEditableIds(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getEditableIds(t){var i;const s=(null===(i=this.layers)||void 0===i?void 0:i.length)>0?this.layers:[];return Object.keys(t).reduce(((i,e)=>{let a=t[e].supportsUpdate;return(null==s?void 0:s.length)>0&&(a=s.indexOf(e)>-1&&t[e].supportsUpdate),a&&i.push(e),i}),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const s=this._layerItemsHash[t].formattedFeatureCount;return i("calcite-list-item",{onCalciteListItemSelect:()=>{this.showFeaturesList(t)}},i("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),""!==s&&i("div",{slot:"content-end"},"("+s+")"),i("calcite-icon",{icon:"chevron-right",scale:"s",slot:"content-end"}))}showFeaturesList(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await I(this.el);this._translations=t[0]}get el(){return s(this)}};B.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}";export{D as calcite_flow,S as calcite_flow_item,P as feature_list,B as layer_list}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,h as e,H as s,g as a}from"./p-78780f63.js";import{g as h}from"./p-e902ba19.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";const o=class{constructor(e){t(this,e),this.togglePanel=i(this,"togglePanel",7),this.description=void 0,this.isMobile=void 0,this.enableAnonymousAccess=void 0,this.enableAnonymousComments=void 0,this.enableComments=void 0,this.enableLogin=void 0,this.enableNewReports=void 0,this.layers=void 0,this.loginTitle=void 0,this.mapView=void 0,this.reportButtonText=void 0,this.reportsHeader=void 0,this.reportSubmittedMessage=void 0,this.searchConfiguration=void 0,this.showComments=void 0,this.defaultWebmap="",this.enableSearch=!0,this.enableHome=!0,this.mapInfos=[],this.theme="light",this.enableZoom=!0,this._mapInfo=void 0,this._flowItems=["layer-list"],this._sidePanelCollapsed=!1,this._translations=void 0,this._hasValidLayers=!1}async isMobileWatchHandler(){this._sidePanelCollapsed=!1}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.setMapView()}))}async componentWillLoad(){await this._getTranslations()}render(){return e(s,null,e("div",null,e("calcite-shell",{"content-behind":!0},this._getReporter())))}_getReporter(){const t=[];return this._flowItems.forEach((i=>{switch(i){case"layer-list":t.push(this.getLayerListFlowItem());break;case"feature-list":t.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"feature-details":t.push(this.getFeatureDetailsFlowItem())}})),e("calcite-panel",{class:"width-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},this.mapView?e("calcite-flow",null,(null==t?void 0:t.length)>0&&t):e("calcite-loader",{scale:"m"}))}getLayerListFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportsHeader},this._hasValidLayers&&e("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&&e("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&&e("calcite-button",{appearance:"secondary",slot:"footer",width:"full"},this.reportButtonText),e("calcite-panel",{"full-height":!0,"full-width":!0},e("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)})))}layerListLoaded(t){this._hasValidLayers=t.detail.length>0}displayFeaturesList(t){this._selectedLayerId=t.detail.layerId,this._selectedLayerName=t.detail.layerName,this._flowItems=[...this._flowItems,"feature-list"]}backFromFeatureList(){const t=[...this._flowItems];t.pop(),this._flowItems=[...t]}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit(this._sidePanelCollapsed)}async onFeatureSelectFromList(t){this._selectedFeature=[t.detail],this._flowItems=[...this._flowItems,"feature-details"]}getFeatureListFlowItem(t,i){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:i,onCalciteFlowItemBack:this.backFromFeatureList.bind(this)},e("calcite-action",{icon:"sort-ascending-arrow",slot:this.isMobile?"header-menu-actions":"header-actions-end",text:this._translations.sort,"text-enabled":this.isMobile}),e("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.enableNewReports&&e("calcite-button",{appearance:"secondary",slot:"footer",width:"full"},this.reportButtonText),e("calcite-panel",{"full-height":!0},e("feature-list",{class:"height-full",highlightOnMap:!0,mapView:this.mapView,noFeaturesFoundMsg:this._translations.featureErrorMsg,onFeatureSelect:this.onFeatureSelectFromList.bind(this),pageSize:30,selectedLayerId:t})))}getFeatureDetailsFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,onCalciteFlowItemBack:this.backFromFeatureList.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),e("calcite-action",{icon:"share",slot:"header-actions-end",text:this._translations.share}),e("calcite-panel",{"full-height":!0},e("info-card",{allowEditing:!1,graphics:this._selectedFeature,isLoading:!1,isMobile:!1,mapView:this.mapView,zoomAndScrollToSelected:!0})))}getActionToExpandCollapsePanel(){return e("calcite-action",{icon:this._sidePanelCollapsed?"chevrons-up":"chevrons-down",onClick:this.toggleSidePanel.bind(this),slot:"header-actions-end",text:this._sidePanelCollapsed?this._translations.expand:this._translations.collapse})}async setMapView(){this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0)}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}get el(){return a(this)}static get watchers(){return{isMobile:["isMobileWatchHandler"],mapView:["mapViewWatchHandler"]}}};o.style=":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}";export{o as crowdsource_reporter}
|