@esri/solutions-components 0.7.42 → 0.7.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/t9n/card-manager/resources_ar.json +1 -1
- package/dist/assets/t9n/card-manager/resources_bg.json +1 -1
- package/dist/assets/t9n/card-manager/resources_bs.json +1 -1
- package/dist/assets/t9n/card-manager/resources_ca.json +1 -1
- package/dist/assets/t9n/card-manager/resources_cs.json +1 -1
- package/dist/assets/t9n/card-manager/resources_da.json +1 -1
- package/dist/assets/t9n/card-manager/resources_de.json +1 -1
- package/dist/assets/t9n/card-manager/resources_el.json +1 -1
- package/dist/assets/t9n/card-manager/resources_es.json +1 -1
- package/dist/assets/t9n/card-manager/resources_et.json +1 -1
- package/dist/assets/t9n/card-manager/resources_fi.json +1 -1
- package/dist/assets/t9n/card-manager/resources_fr.json +1 -1
- package/dist/assets/t9n/card-manager/resources_he.json +1 -1
- package/dist/assets/t9n/card-manager/resources_hr.json +1 -1
- package/dist/assets/t9n/card-manager/resources_hu.json +1 -1
- package/dist/assets/t9n/card-manager/resources_id.json +1 -1
- package/dist/assets/t9n/card-manager/resources_it.json +1 -1
- package/dist/assets/t9n/card-manager/resources_ja.json +1 -1
- package/dist/assets/t9n/card-manager/resources_ko.json +1 -1
- package/dist/assets/t9n/card-manager/resources_lt.json +1 -1
- package/dist/assets/t9n/card-manager/resources_lv.json +1 -1
- package/dist/assets/t9n/card-manager/resources_nb.json +1 -1
- package/dist/assets/t9n/card-manager/resources_nl.json +1 -1
- package/dist/assets/t9n/card-manager/resources_pl.json +1 -1
- package/dist/assets/t9n/card-manager/resources_pt-BR.json +1 -1
- package/dist/assets/t9n/card-manager/resources_pt-PT.json +1 -1
- package/dist/assets/t9n/card-manager/resources_ro.json +1 -1
- package/dist/assets/t9n/card-manager/resources_ru.json +1 -1
- package/dist/assets/t9n/card-manager/resources_sk.json +1 -1
- package/dist/assets/t9n/card-manager/resources_sl.json +1 -1
- package/dist/assets/t9n/card-manager/resources_sr.json +1 -1
- package/dist/assets/t9n/card-manager/resources_sv.json +1 -1
- package/dist/assets/t9n/card-manager/resources_th.json +1 -1
- package/dist/assets/t9n/card-manager/resources_tr.json +1 -1
- package/dist/assets/t9n/card-manager/resources_uk.json +1 -1
- package/dist/assets/t9n/card-manager/resources_vi.json +1 -1
- package/dist/assets/t9n/card-manager/resources_zh-CN.json +1 -1
- package/dist/assets/t9n/card-manager/resources_zh-HK.json +1 -1
- package/dist/assets/t9n/card-manager/resources_zh-TW.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_ar.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_bg.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_bs.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_ca.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_cs.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_da.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_de.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_el.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_es.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_et.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_fi.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_fr.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_he.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_hr.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_hu.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_id.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_it.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_ja.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_ko.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_lt.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_lv.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_nb.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_nl.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_pl.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_pt-BR.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_pt-PT.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_ro.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_ru.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_sk.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_sl.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_sr.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_sv.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_th.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_tr.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_uk.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_vi.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_zh-CN.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_zh-HK.json +1 -1
- package/dist/assets/t9n/crowdsource-manager/resources_zh-TW.json +1 -1
- package/dist/assets/t9n/crowdsource-reporter/resources_ar.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_bg.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_bs.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_ca.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_cs.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_da.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_de.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_el.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_es.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_et.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_fi.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_fr.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_he.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_hr.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_hu.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_id.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_it.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_ja.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_ko.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_lt.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_lv.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_nb.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_nl.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_pl.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_pt-BR.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_pt-PT.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_ro.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_ru.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_sk.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_sl.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_sr.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_sv.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_th.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_tr.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_uk.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_vi.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_zh-CN.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_zh-HK.json +20 -18
- package/dist/assets/t9n/crowdsource-reporter/resources_zh-TW.json +20 -18
- package/dist/assets/t9n/delete-button/resources_ar.json +6 -6
- package/dist/assets/t9n/delete-button/resources_bg.json +6 -6
- package/dist/assets/t9n/delete-button/resources_bs.json +6 -6
- package/dist/assets/t9n/delete-button/resources_ca.json +6 -6
- package/dist/assets/t9n/delete-button/resources_cs.json +6 -6
- package/dist/assets/t9n/delete-button/resources_da.json +6 -6
- package/dist/assets/t9n/delete-button/resources_de.json +6 -6
- package/dist/assets/t9n/delete-button/resources_el.json +6 -6
- package/dist/assets/t9n/delete-button/resources_es.json +6 -6
- package/dist/assets/t9n/delete-button/resources_et.json +6 -6
- package/dist/assets/t9n/delete-button/resources_fi.json +6 -6
- package/dist/assets/t9n/delete-button/resources_fr.json +6 -6
- package/dist/assets/t9n/delete-button/resources_he.json +6 -6
- package/dist/assets/t9n/delete-button/resources_hr.json +6 -6
- package/dist/assets/t9n/delete-button/resources_hu.json +6 -6
- package/dist/assets/t9n/delete-button/resources_id.json +6 -6
- package/dist/assets/t9n/delete-button/resources_it.json +6 -6
- package/dist/assets/t9n/delete-button/resources_ja.json +6 -6
- package/dist/assets/t9n/delete-button/resources_ko.json +6 -6
- package/dist/assets/t9n/delete-button/resources_lt.json +6 -6
- package/dist/assets/t9n/delete-button/resources_lv.json +6 -6
- package/dist/assets/t9n/delete-button/resources_nb.json +6 -6
- package/dist/assets/t9n/delete-button/resources_nl.json +6 -6
- package/dist/assets/t9n/delete-button/resources_pl.json +6 -6
- package/dist/assets/t9n/delete-button/resources_pt-BR.json +6 -6
- package/dist/assets/t9n/delete-button/resources_pt-PT.json +6 -6
- package/dist/assets/t9n/delete-button/resources_ro.json +6 -6
- package/dist/assets/t9n/delete-button/resources_ru.json +6 -6
- package/dist/assets/t9n/delete-button/resources_sk.json +6 -6
- package/dist/assets/t9n/delete-button/resources_sl.json +6 -6
- package/dist/assets/t9n/delete-button/resources_sr.json +6 -6
- package/dist/assets/t9n/delete-button/resources_sv.json +6 -6
- package/dist/assets/t9n/delete-button/resources_th.json +6 -6
- package/dist/assets/t9n/delete-button/resources_tr.json +6 -6
- package/dist/assets/t9n/delete-button/resources_uk.json +6 -6
- package/dist/assets/t9n/delete-button/resources_vi.json +6 -6
- package/dist/assets/t9n/delete-button/resources_zh-CN.json +6 -6
- package/dist/assets/t9n/delete-button/resources_zh-HK.json +6 -6
- package/dist/assets/t9n/delete-button/resources_zh-TW.json +6 -6
- package/dist/assets/t9n/feature-list/resources_ar.json +2 -2
- package/dist/assets/t9n/feature-list/resources_bg.json +2 -2
- package/dist/assets/t9n/feature-list/resources_bs.json +2 -2
- package/dist/assets/t9n/feature-list/resources_ca.json +2 -2
- package/dist/assets/t9n/feature-list/resources_cs.json +2 -2
- package/dist/assets/t9n/feature-list/resources_da.json +2 -2
- package/dist/assets/t9n/feature-list/resources_de.json +2 -2
- package/dist/assets/t9n/feature-list/resources_el.json +2 -2
- package/dist/assets/t9n/feature-list/resources_es.json +2 -2
- package/dist/assets/t9n/feature-list/resources_et.json +2 -2
- package/dist/assets/t9n/feature-list/resources_fi.json +2 -2
- package/dist/assets/t9n/feature-list/resources_fr.json +2 -2
- package/dist/assets/t9n/feature-list/resources_he.json +2 -2
- package/dist/assets/t9n/feature-list/resources_hr.json +2 -2
- package/dist/assets/t9n/feature-list/resources_hu.json +2 -2
- package/dist/assets/t9n/feature-list/resources_id.json +2 -2
- package/dist/assets/t9n/feature-list/resources_it.json +2 -2
- package/dist/assets/t9n/feature-list/resources_ja.json +2 -2
- package/dist/assets/t9n/feature-list/resources_ko.json +2 -2
- package/dist/assets/t9n/feature-list/resources_lt.json +2 -2
- package/dist/assets/t9n/feature-list/resources_lv.json +2 -2
- package/dist/assets/t9n/feature-list/resources_nb.json +2 -2
- package/dist/assets/t9n/feature-list/resources_nl.json +2 -2
- package/dist/assets/t9n/feature-list/resources_pl.json +2 -2
- package/dist/assets/t9n/feature-list/resources_pt-BR.json +2 -2
- package/dist/assets/t9n/feature-list/resources_pt-PT.json +2 -2
- package/dist/assets/t9n/feature-list/resources_ro.json +2 -2
- package/dist/assets/t9n/feature-list/resources_ru.json +2 -2
- package/dist/assets/t9n/feature-list/resources_sk.json +2 -2
- package/dist/assets/t9n/feature-list/resources_sl.json +2 -2
- package/dist/assets/t9n/feature-list/resources_sr.json +2 -2
- package/dist/assets/t9n/feature-list/resources_sv.json +2 -2
- package/dist/assets/t9n/feature-list/resources_th.json +2 -2
- package/dist/assets/t9n/feature-list/resources_tr.json +2 -2
- package/dist/assets/t9n/feature-list/resources_uk.json +2 -2
- package/dist/assets/t9n/feature-list/resources_vi.json +2 -2
- package/dist/assets/t9n/feature-list/resources_zh-CN.json +2 -2
- package/dist/assets/t9n/feature-list/resources_zh-HK.json +2 -2
- package/dist/assets/t9n/feature-list/resources_zh-TW.json +2 -2
- package/dist/assets/t9n/info-card/resources_ar.json +1 -1
- package/dist/assets/t9n/info-card/resources_bg.json +1 -1
- package/dist/assets/t9n/info-card/resources_bs.json +1 -1
- package/dist/assets/t9n/info-card/resources_ca.json +1 -1
- package/dist/assets/t9n/info-card/resources_cs.json +1 -1
- package/dist/assets/t9n/info-card/resources_da.json +1 -1
- package/dist/assets/t9n/info-card/resources_de.json +1 -1
- package/dist/assets/t9n/info-card/resources_el.json +1 -1
- package/dist/assets/t9n/info-card/resources_es.json +1 -1
- package/dist/assets/t9n/info-card/resources_et.json +1 -1
- package/dist/assets/t9n/info-card/resources_fi.json +1 -1
- package/dist/assets/t9n/info-card/resources_fr.json +1 -1
- package/dist/assets/t9n/info-card/resources_he.json +1 -1
- package/dist/assets/t9n/info-card/resources_hr.json +1 -1
- package/dist/assets/t9n/info-card/resources_hu.json +1 -1
- package/dist/assets/t9n/info-card/resources_id.json +1 -1
- package/dist/assets/t9n/info-card/resources_it.json +1 -1
- package/dist/assets/t9n/info-card/resources_ja.json +1 -1
- package/dist/assets/t9n/info-card/resources_ko.json +1 -1
- package/dist/assets/t9n/info-card/resources_lt.json +1 -1
- package/dist/assets/t9n/info-card/resources_lv.json +1 -1
- package/dist/assets/t9n/info-card/resources_nb.json +1 -1
- package/dist/assets/t9n/info-card/resources_nl.json +1 -1
- package/dist/assets/t9n/info-card/resources_pl.json +1 -1
- package/dist/assets/t9n/info-card/resources_pt-BR.json +1 -1
- package/dist/assets/t9n/info-card/resources_pt-PT.json +1 -1
- package/dist/assets/t9n/info-card/resources_ro.json +1 -1
- package/dist/assets/t9n/info-card/resources_ru.json +1 -1
- package/dist/assets/t9n/info-card/resources_sk.json +1 -1
- package/dist/assets/t9n/info-card/resources_sl.json +1 -1
- package/dist/assets/t9n/info-card/resources_sr.json +1 -1
- package/dist/assets/t9n/info-card/resources_sv.json +1 -1
- package/dist/assets/t9n/info-card/resources_th.json +1 -1
- package/dist/assets/t9n/info-card/resources_tr.json +1 -1
- package/dist/assets/t9n/info-card/resources_uk.json +1 -1
- package/dist/assets/t9n/info-card/resources_vi.json +1 -1
- package/dist/assets/t9n/info-card/resources_zh-CN.json +1 -1
- package/dist/assets/t9n/info-card/resources_zh-HK.json +1 -1
- package/dist/assets/t9n/info-card/resources_zh-TW.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ar.json +2 -2
- package/dist/assets/t9n/layer-list/resources_bg.json +2 -2
- package/dist/assets/t9n/layer-list/resources_bs.json +2 -2
- package/dist/assets/t9n/layer-list/resources_ca.json +2 -2
- package/dist/assets/t9n/layer-list/resources_cs.json +2 -2
- package/dist/assets/t9n/layer-list/resources_da.json +2 -2
- package/dist/assets/t9n/layer-list/resources_de.json +2 -2
- package/dist/assets/t9n/layer-list/resources_el.json +2 -2
- package/dist/assets/t9n/layer-list/resources_es.json +2 -2
- package/dist/assets/t9n/layer-list/resources_et.json +2 -2
- package/dist/assets/t9n/layer-list/resources_fi.json +2 -2
- package/dist/assets/t9n/layer-list/resources_fr.json +2 -2
- package/dist/assets/t9n/layer-list/resources_he.json +2 -2
- package/dist/assets/t9n/layer-list/resources_hr.json +2 -2
- package/dist/assets/t9n/layer-list/resources_hu.json +2 -2
- package/dist/assets/t9n/layer-list/resources_id.json +2 -2
- package/dist/assets/t9n/layer-list/resources_it.json +2 -2
- package/dist/assets/t9n/layer-list/resources_ja.json +2 -2
- package/dist/assets/t9n/layer-list/resources_ko.json +2 -2
- package/dist/assets/t9n/layer-list/resources_lt.json +2 -2
- package/dist/assets/t9n/layer-list/resources_lv.json +2 -2
- package/dist/assets/t9n/layer-list/resources_nb.json +2 -2
- package/dist/assets/t9n/layer-list/resources_nl.json +2 -2
- package/dist/assets/t9n/layer-list/resources_pl.json +2 -2
- package/dist/assets/t9n/layer-list/resources_pt-BR.json +2 -2
- package/dist/assets/t9n/layer-list/resources_pt-PT.json +2 -2
- package/dist/assets/t9n/layer-list/resources_ro.json +2 -2
- package/dist/assets/t9n/layer-list/resources_ru.json +2 -2
- package/dist/assets/t9n/layer-list/resources_sk.json +2 -2
- package/dist/assets/t9n/layer-list/resources_sl.json +2 -2
- package/dist/assets/t9n/layer-list/resources_sr.json +2 -2
- package/dist/assets/t9n/layer-list/resources_sv.json +2 -2
- package/dist/assets/t9n/layer-list/resources_th.json +2 -2
- package/dist/assets/t9n/layer-list/resources_tr.json +2 -2
- package/dist/assets/t9n/layer-list/resources_uk.json +2 -2
- package/dist/assets/t9n/layer-list/resources_vi.json +2 -2
- package/dist/assets/t9n/layer-list/resources_zh-CN.json +2 -2
- package/dist/assets/t9n/layer-list/resources_zh-HK.json +2 -2
- package/dist/assets/t9n/layer-list/resources_zh-TW.json +2 -2
- package/dist/assets/t9n/layer-table/resources_ar.json +4 -4
- package/dist/assets/t9n/layer-table/resources_bg.json +4 -4
- package/dist/assets/t9n/layer-table/resources_bs.json +4 -4
- package/dist/assets/t9n/layer-table/resources_ca.json +4 -4
- package/dist/assets/t9n/layer-table/resources_cs.json +4 -4
- package/dist/assets/t9n/layer-table/resources_da.json +4 -4
- package/dist/assets/t9n/layer-table/resources_de.json +4 -4
- package/dist/assets/t9n/layer-table/resources_el.json +4 -4
- package/dist/assets/t9n/layer-table/resources_es.json +4 -4
- package/dist/assets/t9n/layer-table/resources_et.json +4 -4
- package/dist/assets/t9n/layer-table/resources_fi.json +4 -4
- package/dist/assets/t9n/layer-table/resources_fr.json +4 -4
- package/dist/assets/t9n/layer-table/resources_he.json +4 -4
- package/dist/assets/t9n/layer-table/resources_hr.json +4 -4
- package/dist/assets/t9n/layer-table/resources_hu.json +4 -4
- package/dist/assets/t9n/layer-table/resources_id.json +4 -4
- package/dist/assets/t9n/layer-table/resources_it.json +4 -4
- package/dist/assets/t9n/layer-table/resources_ja.json +4 -4
- package/dist/assets/t9n/layer-table/resources_ko.json +4 -4
- package/dist/assets/t9n/layer-table/resources_lt.json +4 -4
- package/dist/assets/t9n/layer-table/resources_lv.json +4 -4
- package/dist/assets/t9n/layer-table/resources_nb.json +4 -4
- package/dist/assets/t9n/layer-table/resources_nl.json +4 -4
- package/dist/assets/t9n/layer-table/resources_pl.json +4 -4
- package/dist/assets/t9n/layer-table/resources_pt-BR.json +4 -4
- package/dist/assets/t9n/layer-table/resources_pt-PT.json +4 -4
- package/dist/assets/t9n/layer-table/resources_ro.json +4 -4
- package/dist/assets/t9n/layer-table/resources_ru.json +4 -4
- package/dist/assets/t9n/layer-table/resources_sk.json +4 -4
- package/dist/assets/t9n/layer-table/resources_sl.json +4 -4
- package/dist/assets/t9n/layer-table/resources_sr.json +4 -4
- package/dist/assets/t9n/layer-table/resources_sv.json +4 -4
- package/dist/assets/t9n/layer-table/resources_th.json +4 -4
- package/dist/assets/t9n/layer-table/resources_tr.json +4 -4
- package/dist/assets/t9n/layer-table/resources_uk.json +4 -4
- package/dist/assets/t9n/layer-table/resources_vi.json +4 -4
- package/dist/assets/t9n/layer-table/resources_zh-CN.json +4 -4
- package/dist/assets/t9n/layer-table/resources_zh-HK.json +4 -4
- package/dist/assets/t9n/layer-table/resources_zh-TW.json +4 -4
- 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-input-date-picker_3.cjs.entry.js +11 -3
- package/dist/cjs/card-manager_3.cjs.entry.js +17 -33
- package/dist/cjs/{downloadUtils-7d4985c0.js → downloadUtils-abf7decd.js} +8 -11
- package/dist/cjs/{helpers-981dd775.js → helpers-e328869d.js} +22 -19
- package/dist/cjs/{index.es-8cef354a.js → index.es-478ec781.js} +1 -1
- package/dist/cjs/instant-apps-export.cjs.entry.js +50 -34
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +15 -8
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.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/components/layer-table/layer-table.js +17 -34
- package/dist/collection/utils/downloadUtils.js +7 -10
- package/dist/collection/utils/downloadUtils.ts +13 -13
- package/dist/components/downloadUtils.js +7 -10
- package/dist/components/helpers.js +22 -19
- package/dist/components/instant-apps-export.js +50 -34
- package/dist/components/instant-apps-filter-list2.js +13 -3
- package/dist/components/instant-apps-interactive-legend-classic2.js +14 -7
- package/dist/components/layer-table2.js +18 -35
- package/dist/esm/calcite-input-date-picker_3.entry.js +11 -3
- package/dist/esm/card-manager_3.entry.js +17 -33
- package/dist/esm/{downloadUtils-d5928e55.js → downloadUtils-be13a13d.js} +8 -11
- package/dist/esm/{helpers-e8852b4a.js → helpers-633917fe.js} +22 -19
- package/dist/esm/{index.es-a1725c19.js → index.es-623fddee.js} +1 -1
- package/dist/esm/instant-apps-export.entry.js +50 -34
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +15 -8
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +1 -1
- package/dist/esm/public-notification.entry.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/{p-3e88e0bd.entry.js → p-0c427d9a.entry.js} +1 -1
- package/dist/solutions-components/{p-732ae6e8.entry.js → p-23fed594.entry.js} +1 -1
- package/dist/solutions-components/{p-7f374ec7.js → p-2bec3d88.js} +1 -1
- package/dist/solutions-components/{p-62f2cea7.entry.js → p-6ac459d9.entry.js} +1 -1
- package/dist/solutions-components/p-704c9ba1.entry.js +17 -0
- package/dist/solutions-components/{p-2ba240b9.entry.js → p-91710f0e.entry.js} +1 -1
- package/dist/solutions-components/{p-ac9c29da.entry.js → p-9294f273.entry.js} +1 -1
- package/dist/solutions-components/p-ac2799f6.entry.js +6 -0
- package/dist/solutions-components/p-b756d01f.js +6 -0
- package/dist/solutions-components/{p-5fd1ae46.entry.js → p-ccfdd890.entry.js} +1 -1
- package/dist/solutions-components/{p-12fc82a9.js → p-dc4fcddc.js} +3 -3
- package/dist/solutions-components/p-f053c268.entry.js +6 -0
- package/dist/solutions-components/p-f5b259f3.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +13 -13
- package/dist/types/components/layer-table/layer-table.d.ts +4 -12
- package/dist/types/utils/downloadUtils.d.ts +3 -3
- package/package.json +2 -2
- package/dist/solutions-components/p-11c85508.entry.js +0 -6
- package/dist/solutions-components/p-1c19b946.js +0 -6
- package/dist/solutions-components/p-52945707.entry.js +0 -6
- package/dist/solutions-components/p-57087d57.entry.js +0 -17
- package/dist/solutions-components/p-7480ac64.entry.js +0 -6
|
@@ -91,11 +91,13 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
|
|
|
91
91
|
this.autoUpdateUrl = false;
|
|
92
92
|
this.closeBtn = false;
|
|
93
93
|
this.closeBtnOnClick = undefined;
|
|
94
|
+
this.comboboxOverlayPositioning = "absolute";
|
|
94
95
|
this.closeBtnText = undefined;
|
|
95
96
|
this.openFilters = false;
|
|
96
97
|
this.extentSelector = false;
|
|
97
98
|
this.extentSelectorConfig = undefined;
|
|
98
99
|
this.urlParams = undefined;
|
|
100
|
+
this.filterCount = 0;
|
|
99
101
|
this.view = undefined;
|
|
100
102
|
this.zoomBtn = true;
|
|
101
103
|
this.loading = undefined;
|
|
@@ -186,7 +188,7 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
|
|
|
186
188
|
}
|
|
187
189
|
renderCombobox(layerExpression, expression) {
|
|
188
190
|
var _a;
|
|
189
|
-
return (h("label", { key: "combo-select", class: CSS.filterUIItemContainer }, h("span", null, expression.name), h("calcite-combobox", { id: expression.id.toString(), onCalciteComboboxChange: this.handleComboSelect.bind(this, expression, layerExpression), label: expression.name, placeholder: expression.placeholder, selectionMode: "multiple", "max-items": "6" }, (_a = expression.fields) === null || _a === void 0 ? void 0 : _a.map((value, index) => this.renderComboboxItem(expression, value, index)))));
|
|
191
|
+
return (h("label", { key: "combo-select", class: CSS.filterUIItemContainer }, h("span", null, expression.name), h("calcite-combobox", { id: expression.id.toString(), onCalciteComboboxChange: this.handleComboSelect.bind(this, expression, layerExpression), label: expression.name, placeholder: expression.placeholder, selectionMode: "multiple", "max-items": "6", overlayPositioning: this.comboboxOverlayPositioning }, (_a = expression.fields) === null || _a === void 0 ? void 0 : _a.map((value, index) => this.renderComboboxItem(expression, value, index)))));
|
|
190
192
|
}
|
|
191
193
|
renderComboboxItem(expression, value, index) {
|
|
192
194
|
var _a;
|
|
@@ -560,8 +562,8 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
|
|
|
560
562
|
let newConstraints = Object.assign({}, constraints);
|
|
561
563
|
const geometry = newConstraints === null || newConstraints === void 0 ? void 0 : newConstraints.geometry;
|
|
562
564
|
if (geometry) {
|
|
563
|
-
const tmpExtent = this.geometryJsonUtils.fromJSON(geometry);
|
|
564
|
-
if (
|
|
565
|
+
const tmpExtent = 'extent' in geometry ? geometry : this.geometryJsonUtils.fromJSON(geometry);
|
|
566
|
+
if ((tmpExtent === null || tmpExtent === void 0 ? void 0 : tmpExtent.type) === 'extent' || (tmpExtent === null || tmpExtent === void 0 ? void 0 : tmpExtent.type) === 'polygon') {
|
|
565
567
|
return tmpExtent;
|
|
566
568
|
}
|
|
567
569
|
}
|
|
@@ -690,6 +692,7 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
|
|
|
690
692
|
if ('URLSearchParams' in window) {
|
|
691
693
|
const params = new URLSearchParams(document.location.search);
|
|
692
694
|
const filters = (_a = params.get('filter')) === null || _a === void 0 ? void 0 : _a.split(';');
|
|
695
|
+
let filterCount = 0;
|
|
693
696
|
filters === null || filters === void 0 ? void 0 : filters.forEach(filter => {
|
|
694
697
|
var _a;
|
|
695
698
|
const tmpFilter = JSON.parse(filter);
|
|
@@ -700,6 +703,7 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
|
|
|
700
703
|
var _a, _b;
|
|
701
704
|
if (((_a = expression.id) === null || _a === void 0 ? void 0 : _a.toString()) === ((_b = tmpFilter === null || tmpFilter === void 0 ? void 0 : tmpFilter.expressionId) === null || _b === void 0 ? void 0 : _b.toString())) {
|
|
702
705
|
expression.active = true;
|
|
706
|
+
filterCount++;
|
|
703
707
|
if (tmpFilter.type === 'range') {
|
|
704
708
|
expression.range = tmpFilter.range;
|
|
705
709
|
}
|
|
@@ -711,6 +715,7 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
|
|
|
711
715
|
}
|
|
712
716
|
});
|
|
713
717
|
});
|
|
718
|
+
this.filterCount = filterCount;
|
|
714
719
|
}
|
|
715
720
|
}
|
|
716
721
|
createURLParamExpression(layerExpression, expression) {
|
|
@@ -753,15 +758,18 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
|
|
|
753
758
|
if ('URLSearchParams' in window) {
|
|
754
759
|
const params = new URLSearchParams(window.location.search);
|
|
755
760
|
const expressions = [];
|
|
761
|
+
let filterCount = 0;
|
|
756
762
|
(_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.forEach(layerExpr => {
|
|
757
763
|
var _a;
|
|
758
764
|
(_a = layerExpr === null || layerExpr === void 0 ? void 0 : layerExpr.expressions) === null || _a === void 0 ? void 0 : _a.forEach(expression => {
|
|
759
765
|
if (expression.active) {
|
|
766
|
+
filterCount++;
|
|
760
767
|
const paramExpression = this.createURLParamExpression(layerExpr, expression);
|
|
761
768
|
expressions.push(JSON.stringify(paramExpression));
|
|
762
769
|
}
|
|
763
770
|
});
|
|
764
771
|
});
|
|
772
|
+
this.filterCount = filterCount;
|
|
765
773
|
if (expressions.length > 0) {
|
|
766
774
|
params.set('filter', expressions.join(';'));
|
|
767
775
|
}
|
|
@@ -1068,11 +1076,13 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
|
|
|
1068
1076
|
"autoUpdateUrl": [4, "auto-update-url"],
|
|
1069
1077
|
"closeBtn": [4, "close-btn"],
|
|
1070
1078
|
"closeBtnOnClick": [16],
|
|
1079
|
+
"comboboxOverlayPositioning": [1, "combobox-overlay-positioning"],
|
|
1071
1080
|
"closeBtnText": [1, "close-btn-text"],
|
|
1072
1081
|
"openFilters": [4, "open-filters"],
|
|
1073
1082
|
"extentSelector": [4, "extent-selector"],
|
|
1074
1083
|
"extentSelectorConfig": [16],
|
|
1075
1084
|
"urlParams": [1040],
|
|
1085
|
+
"filterCount": [1026, "filter-count"],
|
|
1076
1086
|
"view": [16],
|
|
1077
1087
|
"zoomBtn": [4, "zoom-btn"],
|
|
1078
1088
|
"loading": [32],
|
|
@@ -1191,20 +1191,27 @@ const InstantAppsInteractiveLegendClassic = /*@__PURE__*/ proxyCustomElement(cla
|
|
|
1191
1191
|
this.intl = intl;
|
|
1192
1192
|
}
|
|
1193
1193
|
async componentDidLoad() {
|
|
1194
|
+
this.initLegend();
|
|
1195
|
+
}
|
|
1196
|
+
async initLegend() {
|
|
1194
1197
|
try {
|
|
1195
1198
|
await this.reactiveUtils.whenOnce(() => { var _a; return (_a = this.legendvm) === null || _a === void 0 ? void 0 : _a.view; });
|
|
1196
1199
|
this.legendvm.view.when(async () => {
|
|
1197
|
-
var _a, _b;
|
|
1200
|
+
var _a, _b, _c, _d;
|
|
1198
1201
|
try {
|
|
1199
|
-
await ((_b = (_a = this.legendvm) === null || _a === void 0 ? void 0 : _a.view) === null || _b === void 0 ? void 0 : _b.map).loadAll();
|
|
1200
|
-
await this.reactiveUtils.whenOnce(() => { var _a, _b; return ((_b = (_a = this.legendvm) === null || _a === void 0 ? void 0 : _a.view) === null || _b === void 0 ? void 0 : _b.updating) === false; });
|
|
1201
1202
|
// Initial data setup
|
|
1203
|
+
const map = await ((_c = (_b = (_a = this.legendvm) === null || _a === void 0 ? void 0 : _a.view) === null || _b === void 0 ? void 0 : _b.map) === null || _c === void 0 ? void 0 : _c.load());
|
|
1204
|
+
await ((_d = map === null || map === void 0 ? void 0 : map.basemap) === null || _d === void 0 ? void 0 : _d.load());
|
|
1205
|
+
const allLayers = map === null || map === void 0 ? void 0 : map.allLayers;
|
|
1206
|
+
const promises = allLayers === null || allLayers === void 0 ? void 0 : allLayers.map(layer => layer.load());
|
|
1207
|
+
await Promise.allSettled(promises);
|
|
1202
1208
|
const data = await generateData(this.legendvm, this.reactiveUtils);
|
|
1203
1209
|
store.set('data', Object.assign(Object.assign({}, interactiveLegendState.data), data));
|
|
1204
1210
|
this.isLoading = false;
|
|
1205
1211
|
this.setupWatchersAndListeners();
|
|
1206
1212
|
}
|
|
1207
|
-
catch (
|
|
1213
|
+
catch (err) {
|
|
1214
|
+
console.error(err);
|
|
1208
1215
|
this.isLoading = false;
|
|
1209
1216
|
}
|
|
1210
1217
|
});
|
|
@@ -1457,7 +1464,7 @@ const InstantAppsInteractiveLegendClassic = /*@__PURE__*/ proxyCustomElement(cla
|
|
|
1457
1464
|
}
|
|
1458
1465
|
getTitle(messages, titleInfo, // RendererTitle | DotDensityTitle | RampTitle | StretchMultibandTitle | ClusterTitle | string,
|
|
1459
1466
|
isRamp) {
|
|
1460
|
-
var _a;
|
|
1467
|
+
var _a, _b;
|
|
1461
1468
|
if (!titleInfo) {
|
|
1462
1469
|
return undefined;
|
|
1463
1470
|
}
|
|
@@ -1465,7 +1472,7 @@ const InstantAppsInteractiveLegendClassic = /*@__PURE__*/ proxyCustomElement(cla
|
|
|
1465
1472
|
return titleInfo;
|
|
1466
1473
|
}
|
|
1467
1474
|
if ('value' in titleInfo || 'unit' in titleInfo) {
|
|
1468
|
-
return this.intl.substitute(messages.dotValue, titleInfo);
|
|
1475
|
+
return this.intl.substitute((_a = messages === null || messages === void 0 ? void 0 : messages.dotValue) !== null && _a !== void 0 ? _a : '', titleInfo);
|
|
1469
1476
|
}
|
|
1470
1477
|
if ('colorName' in titleInfo || 'bandName' in titleInfo) {
|
|
1471
1478
|
return messages[titleInfo.colorName] + ': ' + (messages[titleInfo.bandName] || titleInfo.bandName);
|
|
@@ -1492,7 +1499,7 @@ const InstantAppsInteractiveLegendClassic = /*@__PURE__*/ proxyCustomElement(cla
|
|
|
1492
1499
|
bundleKey = titleInfo.normField ? 'showNormField' : titleInfo.normByPct ? 'showNormPct' : titleInfo.field ? 'showField' : null;
|
|
1493
1500
|
}
|
|
1494
1501
|
return bundleKey
|
|
1495
|
-
? (
|
|
1502
|
+
? (_b = this.intl) === null || _b === void 0 ? void 0 : _b.substitute(bundleKey === 'showField' ? '{field}' : messages[bundleKey], {
|
|
1496
1503
|
field: titleInfo.field,
|
|
1497
1504
|
normField: titleInfo.normField,
|
|
1498
1505
|
})
|
|
@@ -88,10 +88,6 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
88
88
|
* boolean: When true any onChange handeling will be skipped
|
|
89
89
|
*/
|
|
90
90
|
this._skipOnChange = false;
|
|
91
|
-
/**
|
|
92
|
-
* bool: When true the table is being sorted
|
|
93
|
-
*/
|
|
94
|
-
this._tableSorting = false;
|
|
95
91
|
/**
|
|
96
92
|
* Store a reference to the table node after it's first created
|
|
97
93
|
* and initializes the FeatureTable
|
|
@@ -128,7 +124,6 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
128
124
|
this._selectAllActive = false;
|
|
129
125
|
this._showHideOpen = false;
|
|
130
126
|
this._showOnlySelected = false;
|
|
131
|
-
this._sortActive = false;
|
|
132
127
|
this._translations = undefined;
|
|
133
128
|
}
|
|
134
129
|
//--------------------------------------------------------------------------
|
|
@@ -188,6 +183,13 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
188
183
|
this._initToolInfos();
|
|
189
184
|
}
|
|
190
185
|
}
|
|
186
|
+
/**
|
|
187
|
+
* watch for changes in map info and update the toolbar
|
|
188
|
+
*/
|
|
189
|
+
async mapInfoWatchHandler() {
|
|
190
|
+
this._initToolInfos();
|
|
191
|
+
this._updateToolbar();
|
|
192
|
+
}
|
|
191
193
|
/**
|
|
192
194
|
* watch for changes in map view and get the first layer
|
|
193
195
|
*/
|
|
@@ -226,14 +228,6 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
226
228
|
this._selectAllActive = false;
|
|
227
229
|
}
|
|
228
230
|
}
|
|
229
|
-
/**
|
|
230
|
-
* When sortActive is false the user has not defined a sort and we should use the default sort
|
|
231
|
-
*/
|
|
232
|
-
async _sortActiveWatchHandler() {
|
|
233
|
-
if (!this._sortActive) {
|
|
234
|
-
await this._sortTable();
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
231
|
/**
|
|
238
232
|
* Scroll and zoom to the selected feature from the Features widget.
|
|
239
233
|
*
|
|
@@ -894,11 +888,6 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
894
888
|
this._table.highlightIds.on("change", (evt) => {
|
|
895
889
|
void this._handleOnChange(evt);
|
|
896
890
|
});
|
|
897
|
-
this.reactiveUtils.watch(() => this._table.activeSortOrders, (sortOrders) => {
|
|
898
|
-
var _a, _b, _c, _d;
|
|
899
|
-
this._sortActive = this._layer ? (sortOrders.length > 0 && ((_a = sortOrders[0]) === null || _a === void 0 ? void 0 : _a.direction) === "asc" || ((_b = sortOrders[0]) === null || _b === void 0 ? void 0 : _b.direction) === "desc") ||
|
|
900
|
-
((_c = sortOrders[0]) === null || _c === void 0 ? void 0 : _c.direction) === null && ((_d = sortOrders[0]) === null || _d === void 0 ? void 0 : _d.fieldName) === this._layer.objectIdField : false;
|
|
901
|
-
});
|
|
902
891
|
});
|
|
903
892
|
}
|
|
904
893
|
}
|
|
@@ -1048,7 +1037,6 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
1048
1037
|
this._defaultFilterHonored = true;
|
|
1049
1038
|
}
|
|
1050
1039
|
this._showOnlySelected = false;
|
|
1051
|
-
this._sortActive = false;
|
|
1052
1040
|
await this._sortTable();
|
|
1053
1041
|
this._updateToolbar();
|
|
1054
1042
|
});
|
|
@@ -1101,15 +1089,11 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
1101
1089
|
* Sort the objectid field in descending order
|
|
1102
1090
|
*/
|
|
1103
1091
|
async _sortTable() {
|
|
1104
|
-
if (this._table && this._layer &&
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
this._table.sortColumn(this._layer.objectIdField, "desc");
|
|
1110
|
-
this._tableSorting = false;
|
|
1111
|
-
});
|
|
1112
|
-
}
|
|
1092
|
+
if (this._table && this._layer && this.showNewestFirst) {
|
|
1093
|
+
await this._table.when();
|
|
1094
|
+
await this._layer.when(() => {
|
|
1095
|
+
this._table.sortColumn(this._layer.objectIdField, "desc");
|
|
1096
|
+
});
|
|
1113
1097
|
}
|
|
1114
1098
|
}
|
|
1115
1099
|
/**
|
|
@@ -1172,7 +1156,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
1172
1156
|
*/
|
|
1173
1157
|
_filterModal() {
|
|
1174
1158
|
var _a, _b, _c;
|
|
1175
|
-
return (h("calcite-modal", { "aria-labelledby": "modal-title", class: "modal", kind: "brand", onCalciteModalClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, (_b = (_a = this._translations) === null || _a === void 0 ? void 0 : _a.filter) === null || _b === void 0 ? void 0 : _b.replace("{{title}}", (_c = this._layer) === null || _c === void 0 ? void 0 : _c.title)), h("div", { slot: "content" }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: async () => this._closeFilter(), layerExpressions: this._layerExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(), ref: (el) => this._filterList = el, view: this.mapView, zoomBtn: false }))));
|
|
1159
|
+
return (h("calcite-modal", { "aria-labelledby": "modal-title", class: "modal", kind: "brand", onCalciteModalClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, (_b = (_a = this._translations) === null || _a === void 0 ? void 0 : _a.filter) === null || _b === void 0 ? void 0 : _b.replace("{{title}}", (_c = this._layer) === null || _c === void 0 ? void 0 : _c.title)), h("div", { slot: "content" }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: async () => this._closeFilter(), comboboxOverlayPositioning: "fixed", layerExpressions: this._layerExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(), ref: (el) => this._filterList = el, view: this.mapView, zoomBtn: false }))));
|
|
1176
1160
|
}
|
|
1177
1161
|
/**
|
|
1178
1162
|
* Reset the filter active prop
|
|
@@ -1317,7 +1301,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
1317
1301
|
exportInfos, false, // formatUsingLayerPopup
|
|
1318
1302
|
false, // removeDuplicates
|
|
1319
1303
|
true, // addColumnTitle
|
|
1320
|
-
fields, true);
|
|
1304
|
+
fields, true, true);
|
|
1321
1305
|
this._updateToolInfoLoading("export", false);
|
|
1322
1306
|
this._csvExporting = false;
|
|
1323
1307
|
}
|
|
@@ -1462,10 +1446,10 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
1462
1446
|
"enableShare": ["enableShareWatchHandler"],
|
|
1463
1447
|
"_controlsThatFit": ["_controlsThatFitWatchHandler"],
|
|
1464
1448
|
"isMobile": ["isMobileWatchHandler"],
|
|
1449
|
+
"mapInfo": ["mapInfoWatchHandler"],
|
|
1465
1450
|
"mapView": ["mapViewWatchHandler"],
|
|
1466
1451
|
"_layer": ["_layerWatchHandler"],
|
|
1467
|
-
"selectedIds": ["selectedIdsWatchHandler"]
|
|
1468
|
-
"_sortActive": ["_sortActiveWatchHandler"]
|
|
1452
|
+
"selectedIds": ["selectedIdsWatchHandler"]
|
|
1469
1453
|
}; }
|
|
1470
1454
|
static get style() { return layerTableCss; }
|
|
1471
1455
|
}, [0, "layer-table", {
|
|
@@ -1496,7 +1480,6 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
1496
1480
|
"_selectAllActive": [32],
|
|
1497
1481
|
"_showHideOpen": [32],
|
|
1498
1482
|
"_showOnlySelected": [32],
|
|
1499
|
-
"_sortActive": [32],
|
|
1500
1483
|
"_translations": [32]
|
|
1501
1484
|
}, [[8, "selectionChanged", "selectionChanged"], [8, "editsComplete", "editsComplete"], [8, "levelChanged", "levelChanged"], [8, "noLayersFound", "noLayersFound"]], {
|
|
1502
1485
|
"enableCSV": ["enableCSVWatchHandler"],
|
|
@@ -1504,10 +1487,10 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
1504
1487
|
"enableShare": ["enableShareWatchHandler"],
|
|
1505
1488
|
"_controlsThatFit": ["_controlsThatFitWatchHandler"],
|
|
1506
1489
|
"isMobile": ["isMobileWatchHandler"],
|
|
1490
|
+
"mapInfo": ["mapInfoWatchHandler"],
|
|
1507
1491
|
"mapView": ["mapViewWatchHandler"],
|
|
1508
1492
|
"_layer": ["_layerWatchHandler"],
|
|
1509
|
-
"selectedIds": ["selectedIdsWatchHandler"]
|
|
1510
|
-
"_sortActive": ["_sortActiveWatchHandler"]
|
|
1493
|
+
"selectedIds": ["selectedIdsWatchHandler"]
|
|
1511
1494
|
}]);
|
|
1512
1495
|
function defineCustomElement() {
|
|
1513
1496
|
if (typeof customElements === "undefined") {
|
|
@@ -798,11 +798,13 @@ const InstantAppsFilterList = class {
|
|
|
798
798
|
this.autoUpdateUrl = false;
|
|
799
799
|
this.closeBtn = false;
|
|
800
800
|
this.closeBtnOnClick = undefined;
|
|
801
|
+
this.comboboxOverlayPositioning = "absolute";
|
|
801
802
|
this.closeBtnText = undefined;
|
|
802
803
|
this.openFilters = false;
|
|
803
804
|
this.extentSelector = false;
|
|
804
805
|
this.extentSelectorConfig = undefined;
|
|
805
806
|
this.urlParams = undefined;
|
|
807
|
+
this.filterCount = 0;
|
|
806
808
|
this.view = undefined;
|
|
807
809
|
this.zoomBtn = true;
|
|
808
810
|
this.loading = undefined;
|
|
@@ -893,7 +895,7 @@ const InstantAppsFilterList = class {
|
|
|
893
895
|
}
|
|
894
896
|
renderCombobox(layerExpression, expression) {
|
|
895
897
|
var _a;
|
|
896
|
-
return (h("label", { key: "combo-select", class: CSS$1.filterUIItemContainer }, h("span", null, expression.name), h("calcite-combobox", { id: expression.id.toString(), onCalciteComboboxChange: this.handleComboSelect.bind(this, expression, layerExpression), label: expression.name, placeholder: expression.placeholder, selectionMode: "multiple", "max-items": "6" }, (_a = expression.fields) === null || _a === void 0 ? void 0 : _a.map((value, index) => this.renderComboboxItem(expression, value, index)))));
|
|
898
|
+
return (h("label", { key: "combo-select", class: CSS$1.filterUIItemContainer }, h("span", null, expression.name), h("calcite-combobox", { id: expression.id.toString(), onCalciteComboboxChange: this.handleComboSelect.bind(this, expression, layerExpression), label: expression.name, placeholder: expression.placeholder, selectionMode: "multiple", "max-items": "6", overlayPositioning: this.comboboxOverlayPositioning }, (_a = expression.fields) === null || _a === void 0 ? void 0 : _a.map((value, index) => this.renderComboboxItem(expression, value, index)))));
|
|
897
899
|
}
|
|
898
900
|
renderComboboxItem(expression, value, index) {
|
|
899
901
|
var _a;
|
|
@@ -1267,8 +1269,8 @@ const InstantAppsFilterList = class {
|
|
|
1267
1269
|
let newConstraints = Object.assign({}, constraints);
|
|
1268
1270
|
const geometry = newConstraints === null || newConstraints === void 0 ? void 0 : newConstraints.geometry;
|
|
1269
1271
|
if (geometry) {
|
|
1270
|
-
const tmpExtent = this.geometryJsonUtils.fromJSON(geometry);
|
|
1271
|
-
if (
|
|
1272
|
+
const tmpExtent = 'extent' in geometry ? geometry : this.geometryJsonUtils.fromJSON(geometry);
|
|
1273
|
+
if ((tmpExtent === null || tmpExtent === void 0 ? void 0 : tmpExtent.type) === 'extent' || (tmpExtent === null || tmpExtent === void 0 ? void 0 : tmpExtent.type) === 'polygon') {
|
|
1272
1274
|
return tmpExtent;
|
|
1273
1275
|
}
|
|
1274
1276
|
}
|
|
@@ -1397,6 +1399,7 @@ const InstantAppsFilterList = class {
|
|
|
1397
1399
|
if ('URLSearchParams' in window) {
|
|
1398
1400
|
const params = new URLSearchParams(document.location.search);
|
|
1399
1401
|
const filters = (_a = params.get('filter')) === null || _a === void 0 ? void 0 : _a.split(';');
|
|
1402
|
+
let filterCount = 0;
|
|
1400
1403
|
filters === null || filters === void 0 ? void 0 : filters.forEach(filter => {
|
|
1401
1404
|
var _a;
|
|
1402
1405
|
const tmpFilter = JSON.parse(filter);
|
|
@@ -1407,6 +1410,7 @@ const InstantAppsFilterList = class {
|
|
|
1407
1410
|
var _a, _b;
|
|
1408
1411
|
if (((_a = expression.id) === null || _a === void 0 ? void 0 : _a.toString()) === ((_b = tmpFilter === null || tmpFilter === void 0 ? void 0 : tmpFilter.expressionId) === null || _b === void 0 ? void 0 : _b.toString())) {
|
|
1409
1412
|
expression.active = true;
|
|
1413
|
+
filterCount++;
|
|
1410
1414
|
if (tmpFilter.type === 'range') {
|
|
1411
1415
|
expression.range = tmpFilter.range;
|
|
1412
1416
|
}
|
|
@@ -1418,6 +1422,7 @@ const InstantAppsFilterList = class {
|
|
|
1418
1422
|
}
|
|
1419
1423
|
});
|
|
1420
1424
|
});
|
|
1425
|
+
this.filterCount = filterCount;
|
|
1421
1426
|
}
|
|
1422
1427
|
}
|
|
1423
1428
|
createURLParamExpression(layerExpression, expression) {
|
|
@@ -1460,15 +1465,18 @@ const InstantAppsFilterList = class {
|
|
|
1460
1465
|
if ('URLSearchParams' in window) {
|
|
1461
1466
|
const params = new URLSearchParams(window.location.search);
|
|
1462
1467
|
const expressions = [];
|
|
1468
|
+
let filterCount = 0;
|
|
1463
1469
|
(_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.forEach(layerExpr => {
|
|
1464
1470
|
var _a;
|
|
1465
1471
|
(_a = layerExpr === null || layerExpr === void 0 ? void 0 : layerExpr.expressions) === null || _a === void 0 ? void 0 : _a.forEach(expression => {
|
|
1466
1472
|
if (expression.active) {
|
|
1473
|
+
filterCount++;
|
|
1467
1474
|
const paramExpression = this.createURLParamExpression(layerExpr, expression);
|
|
1468
1475
|
expressions.push(JSON.stringify(paramExpression));
|
|
1469
1476
|
}
|
|
1470
1477
|
});
|
|
1471
1478
|
});
|
|
1479
|
+
this.filterCount = filterCount;
|
|
1472
1480
|
if (expressions.length > 0) {
|
|
1473
1481
|
params.set('filter', expressions.join(';'));
|
|
1474
1482
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-164d485a.js';
|
|
7
7
|
import { g as getLocaleComponentStrings, l as loadModules } from './locale-25a5ae3e.js';
|
|
8
8
|
import { q as queryFeaturesByID, g as getLayerOrTable, c as goToSelection, e as queryAllIds, f as queryFeatureIds, i as queryFeaturesByGlobalID } from './mapViewUtils-a177d4f9.js';
|
|
9
|
-
import { d as downloadCSV } from './downloadUtils-
|
|
9
|
+
import { d as downloadCSV } from './downloadUtils-be13a13d.js';
|
|
10
10
|
import './esri-loader-eda07632.js';
|
|
11
11
|
import './_commonjsHelpers-d5f9d613.js';
|
|
12
12
|
import './interfaces-586e863c.js';
|
|
@@ -140,10 +140,6 @@ const LayerTable = class {
|
|
|
140
140
|
* boolean: When true any onChange handeling will be skipped
|
|
141
141
|
*/
|
|
142
142
|
this._skipOnChange = false;
|
|
143
|
-
/**
|
|
144
|
-
* bool: When true the table is being sorted
|
|
145
|
-
*/
|
|
146
|
-
this._tableSorting = false;
|
|
147
143
|
/**
|
|
148
144
|
* Store a reference to the table node after it's first created
|
|
149
145
|
* and initializes the FeatureTable
|
|
@@ -180,7 +176,6 @@ const LayerTable = class {
|
|
|
180
176
|
this._selectAllActive = false;
|
|
181
177
|
this._showHideOpen = false;
|
|
182
178
|
this._showOnlySelected = false;
|
|
183
|
-
this._sortActive = false;
|
|
184
179
|
this._translations = undefined;
|
|
185
180
|
}
|
|
186
181
|
//--------------------------------------------------------------------------
|
|
@@ -240,6 +235,13 @@ const LayerTable = class {
|
|
|
240
235
|
this._initToolInfos();
|
|
241
236
|
}
|
|
242
237
|
}
|
|
238
|
+
/**
|
|
239
|
+
* watch for changes in map info and update the toolbar
|
|
240
|
+
*/
|
|
241
|
+
async mapInfoWatchHandler() {
|
|
242
|
+
this._initToolInfos();
|
|
243
|
+
this._updateToolbar();
|
|
244
|
+
}
|
|
243
245
|
/**
|
|
244
246
|
* watch for changes in map view and get the first layer
|
|
245
247
|
*/
|
|
@@ -278,14 +280,6 @@ const LayerTable = class {
|
|
|
278
280
|
this._selectAllActive = false;
|
|
279
281
|
}
|
|
280
282
|
}
|
|
281
|
-
/**
|
|
282
|
-
* When sortActive is false the user has not defined a sort and we should use the default sort
|
|
283
|
-
*/
|
|
284
|
-
async _sortActiveWatchHandler() {
|
|
285
|
-
if (!this._sortActive) {
|
|
286
|
-
await this._sortTable();
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
283
|
/**
|
|
290
284
|
* Scroll and zoom to the selected feature from the Features widget.
|
|
291
285
|
*
|
|
@@ -946,11 +940,6 @@ const LayerTable = class {
|
|
|
946
940
|
this._table.highlightIds.on("change", (evt) => {
|
|
947
941
|
void this._handleOnChange(evt);
|
|
948
942
|
});
|
|
949
|
-
this.reactiveUtils.watch(() => this._table.activeSortOrders, (sortOrders) => {
|
|
950
|
-
var _a, _b, _c, _d;
|
|
951
|
-
this._sortActive = this._layer ? (sortOrders.length > 0 && ((_a = sortOrders[0]) === null || _a === void 0 ? void 0 : _a.direction) === "asc" || ((_b = sortOrders[0]) === null || _b === void 0 ? void 0 : _b.direction) === "desc") ||
|
|
952
|
-
((_c = sortOrders[0]) === null || _c === void 0 ? void 0 : _c.direction) === null && ((_d = sortOrders[0]) === null || _d === void 0 ? void 0 : _d.fieldName) === this._layer.objectIdField : false;
|
|
953
|
-
});
|
|
954
943
|
});
|
|
955
944
|
}
|
|
956
945
|
}
|
|
@@ -1100,7 +1089,6 @@ const LayerTable = class {
|
|
|
1100
1089
|
this._defaultFilterHonored = true;
|
|
1101
1090
|
}
|
|
1102
1091
|
this._showOnlySelected = false;
|
|
1103
|
-
this._sortActive = false;
|
|
1104
1092
|
await this._sortTable();
|
|
1105
1093
|
this._updateToolbar();
|
|
1106
1094
|
});
|
|
@@ -1153,15 +1141,11 @@ const LayerTable = class {
|
|
|
1153
1141
|
* Sort the objectid field in descending order
|
|
1154
1142
|
*/
|
|
1155
1143
|
async _sortTable() {
|
|
1156
|
-
if (this._table && this._layer &&
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
this._table.sortColumn(this._layer.objectIdField, "desc");
|
|
1162
|
-
this._tableSorting = false;
|
|
1163
|
-
});
|
|
1164
|
-
}
|
|
1144
|
+
if (this._table && this._layer && this.showNewestFirst) {
|
|
1145
|
+
await this._table.when();
|
|
1146
|
+
await this._layer.when(() => {
|
|
1147
|
+
this._table.sortColumn(this._layer.objectIdField, "desc");
|
|
1148
|
+
});
|
|
1165
1149
|
}
|
|
1166
1150
|
}
|
|
1167
1151
|
/**
|
|
@@ -1224,7 +1208,7 @@ const LayerTable = class {
|
|
|
1224
1208
|
*/
|
|
1225
1209
|
_filterModal() {
|
|
1226
1210
|
var _a, _b, _c;
|
|
1227
|
-
return (h("calcite-modal", { "aria-labelledby": "modal-title", class: "modal", kind: "brand", onCalciteModalClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, (_b = (_a = this._translations) === null || _a === void 0 ? void 0 : _a.filter) === null || _b === void 0 ? void 0 : _b.replace("{{title}}", (_c = this._layer) === null || _c === void 0 ? void 0 : _c.title)), h("div", { slot: "content" }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: async () => this._closeFilter(), layerExpressions: this._layerExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(), ref: (el) => this._filterList = el, view: this.mapView, zoomBtn: false }))));
|
|
1211
|
+
return (h("calcite-modal", { "aria-labelledby": "modal-title", class: "modal", kind: "brand", onCalciteModalClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, (_b = (_a = this._translations) === null || _a === void 0 ? void 0 : _a.filter) === null || _b === void 0 ? void 0 : _b.replace("{{title}}", (_c = this._layer) === null || _c === void 0 ? void 0 : _c.title)), h("div", { slot: "content" }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: async () => this._closeFilter(), comboboxOverlayPositioning: "fixed", layerExpressions: this._layerExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(), ref: (el) => this._filterList = el, view: this.mapView, zoomBtn: false }))));
|
|
1228
1212
|
}
|
|
1229
1213
|
/**
|
|
1230
1214
|
* Reset the filter active prop
|
|
@@ -1369,7 +1353,7 @@ const LayerTable = class {
|
|
|
1369
1353
|
exportInfos, false, // formatUsingLayerPopup
|
|
1370
1354
|
false, // removeDuplicates
|
|
1371
1355
|
true, // addColumnTitle
|
|
1372
|
-
fields, true);
|
|
1356
|
+
fields, true, true);
|
|
1373
1357
|
this._updateToolInfoLoading("export", false);
|
|
1374
1358
|
this._csvExporting = false;
|
|
1375
1359
|
}
|
|
@@ -1514,10 +1498,10 @@ const LayerTable = class {
|
|
|
1514
1498
|
"enableShare": ["enableShareWatchHandler"],
|
|
1515
1499
|
"_controlsThatFit": ["_controlsThatFitWatchHandler"],
|
|
1516
1500
|
"isMobile": ["isMobileWatchHandler"],
|
|
1501
|
+
"mapInfo": ["mapInfoWatchHandler"],
|
|
1517
1502
|
"mapView": ["mapViewWatchHandler"],
|
|
1518
1503
|
"_layer": ["_layerWatchHandler"],
|
|
1519
|
-
"selectedIds": ["selectedIdsWatchHandler"]
|
|
1520
|
-
"_sortActive": ["_sortActiveWatchHandler"]
|
|
1504
|
+
"selectedIds": ["selectedIdsWatchHandler"]
|
|
1521
1505
|
}; }
|
|
1522
1506
|
};
|
|
1523
1507
|
LayerTable.style = layerTableCss;
|
|
@@ -1508,7 +1508,7 @@ function(t){var e=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++
|
|
|
1508
1508
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1509
1509
|
* ====================================================================
|
|
1510
1510
|
*/
|
|
1511
|
-
function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):import('./index.es-
|
|
1511
|
+
function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):import('./index.es-623fddee.js')).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}E.API.addSvgAsImage=function(t,r,n,i,o,s,c,u){if(isNaN(r)||isNaN(n))throw a.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))throw a.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var h=document.createElement("canvas");h.width=i,h.height=o;var l=h.getContext("2d");l.fillStyle="#fff",l.fillRect(0,0,h.width,h.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return e().then((function(e){return e.fromString(l,t,f)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(f)})).then((function(){d.addImage(h.toDataURL("image/jpeg",1),r,n,i,o,c,u);}))};}(),E.API.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this},E.API.viewerPreferences=function(e,r){var n;e=e||{},r=r||!1;var i,a,o,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},c=Object.keys(s),u=[],h=0,l=0,f=0;function d(t,e){var r,n=!1;for(r=0;r<t.length;r+=1)t[r]===e&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===r){var p=c.length;for(f=0;f<p;f+=1)n[c[f]].value=n[c[f]].defaultValue,n[c[f]].explicitSet=!1;}if("object"===t(e))for(a in e)if(o=e[a],d(c,a)&&void 0!==o){if("boolean"===n[a].type&&"boolean"==typeof o)n[a].value=o;else if("name"===n[a].type&&d(n[a].valueSet,o))n[a].value=o;else if("integer"===n[a].type&&Number.isInteger(o))n[a].value=o;else if("array"===n[a].type){for(h=0;h<o.length;h+=1)if(i=!0,1===o[h].length&&"number"==typeof o[h][0])u.push(String(o[h]-1));else if(o[h].length>1){for(l=0;l<o[h].length;l+=1)"number"!=typeof o[h][l]&&(i=!1);!0===i&&u.push([o[h][0]-1,o[h][1]-1].join(" "));}n[a].value="["+u.join(" ")+"]";}else n[a].value=n[a].defaultValue;n[a].explicitSet=!0;}return !1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,e=[];for(t in n)!0===n[t].explicitSet&&("name"===n[t].type?e.push("/"+t+" /"+n[t].value):e.push("/"+t+" "+n[t].value));0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>");})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},
|
|
1512
1512
|
/** ====================================================================
|
|
1513
1513
|
* @license
|
|
1514
1514
|
* jsPDF XMP metadata plugin
|
|
@@ -2362,12 +2362,12 @@ const lineSeparatorChar = "|";
|
|
|
2362
2362
|
* @param includeHeaderNames Add the label format at the front of the list of generated labels
|
|
2363
2363
|
* @returns selectionSetNames that will be used for export filenames
|
|
2364
2364
|
*/
|
|
2365
|
-
async function consolidateLabels(webmap, exportInfos, formatUsingLayerPopup = true, includeHeaderNames = false, isCSVExport = false, fields =
|
|
2365
|
+
async function consolidateLabels(webmap, exportInfos, formatUsingLayerPopup = true, includeHeaderNames = false, isCSVExport = false, fields = undefined, useFieldAliasNames = false, filterFields = false) {
|
|
2366
2366
|
const labelRequests = [];
|
|
2367
2367
|
Object.keys(exportInfos).forEach(k => {
|
|
2368
2368
|
var _a;
|
|
2369
2369
|
const labelInfo = exportInfos[k];
|
|
2370
|
-
labelRequests.push(_prepareLabels(webmap, ((_a = labelInfo.layerView) === null || _a === void 0 ? void 0 : _a.layer) || labelInfo.layer, labelInfo.ids, formatUsingLayerPopup, includeHeaderNames, fields, useFieldAliasNames));
|
|
2370
|
+
labelRequests.push(_prepareLabels(webmap, ((_a = labelInfo.layerView) === null || _a === void 0 ? void 0 : _a.layer) || labelInfo.layer, labelInfo.ids, formatUsingLayerPopup, includeHeaderNames, fields, useFieldAliasNames, filterFields));
|
|
2371
2371
|
if (isCSVExport) {
|
|
2372
2372
|
// add the layer id as a temp value separator that we can use to split values for CSV export
|
|
2373
2373
|
labelRequests.push(Promise.resolve([[k]]));
|
|
@@ -2387,8 +2387,8 @@ async function consolidateLabels(webmap, exportInfos, formatUsingLayerPopup = tr
|
|
|
2387
2387
|
* @param addColumnTitle Indicates if column headings should be included in output
|
|
2388
2388
|
* @returns Promise resolving when function is done
|
|
2389
2389
|
*/
|
|
2390
|
-
async function downloadCSV(webmap, exportInfos, formatUsingLayerPopup, removeDuplicates = false, addColumnTitle = false, fields =
|
|
2391
|
-
let labels = await consolidateLabels(webmap, exportInfos, formatUsingLayerPopup, addColumnTitle, true, fields, useFieldAliasNames);
|
|
2390
|
+
async function downloadCSV(webmap, exportInfos, formatUsingLayerPopup, removeDuplicates = false, addColumnTitle = false, fields = undefined, useFieldAliasNames = false, filterFields = false) {
|
|
2391
|
+
let labels = await consolidateLabels(webmap, exportInfos, formatUsingLayerPopup, addColumnTitle, true, fields, useFieldAliasNames, filterFields);
|
|
2392
2392
|
labels = removeDuplicates ? removeDuplicateLabels(labels) : labels;
|
|
2393
2393
|
const layerIds = Object.keys(exportInfos);
|
|
2394
2394
|
let layerLabels = [];
|
|
@@ -2924,10 +2924,7 @@ function _prepareAttributeValue(attributeValue, attributeType, attributeDomain,
|
|
|
2924
2924
|
* @param includeHeaderNames Add the label format at the front of the list of generated labels
|
|
2925
2925
|
* @returns Promise resolving when function is done
|
|
2926
2926
|
*/
|
|
2927
|
-
async function _prepareLabels(webmap, layer, ids, formatUsingLayerPopup = true, includeHeaderNames = false, fields =
|
|
2928
|
-
if (fields.length === 0) {
|
|
2929
|
-
fields = layer.fields.map(f => f.name.toLowerCase());
|
|
2930
|
-
}
|
|
2927
|
+
async function _prepareLabels(webmap, layer, ids, formatUsingLayerPopup = true, includeHeaderNames = false, fields = undefined, useFieldAliasNames = false, filterFields = false) {
|
|
2931
2928
|
// Get the label formatting, if any
|
|
2932
2929
|
const labelFormatProps = await _getLabelFormat(webmap, layer, formatUsingLayerPopup);
|
|
2933
2930
|
// Because the label may actually come from a related layer, we'll use the layer that comes back from _getLabelFormat.
|
|
@@ -2994,7 +2991,7 @@ async function _prepareLabels(webmap, layer, ids, formatUsingLayerPopup = true,
|
|
|
2994
2991
|
const attributeDomains = {};
|
|
2995
2992
|
if (featureLayer.fields) {
|
|
2996
2993
|
featureLayer.fields.forEach(field => {
|
|
2997
|
-
if (fields.indexOf(field.name.toLowerCase()) > -1) {
|
|
2994
|
+
if (filterFields ? fields.indexOf(field.name.toLowerCase()) > -1 : true) {
|
|
2998
2995
|
const lowercaseFieldname = field.name.toLowerCase();
|
|
2999
2996
|
attributeOrigNames[lowercaseFieldname] = field.name;
|
|
3000
2997
|
attributeDomains[lowercaseFieldname] = field.domain;
|
|
@@ -3005,7 +3002,7 @@ async function _prepareLabels(webmap, layer, ids, formatUsingLayerPopup = true,
|
|
|
3005
3002
|
else {
|
|
3006
3003
|
// Feature layer is missing fields, so get info from first feature
|
|
3007
3004
|
Object.keys(featureSet[0]).forEach(fieldName => {
|
|
3008
|
-
if (fields.indexOf(fieldName.toLowerCase()) > -1) {
|
|
3005
|
+
if (filterFields ? fields.indexOf(fieldName.toLowerCase()) > -1 : true) {
|
|
3009
3006
|
const lowercaseFieldname = fieldName.toLowerCase();
|
|
3010
3007
|
attributeOrigNames[lowercaseFieldname] = fieldName;
|
|
3011
3008
|
}
|