@esri/solutions-components 0.7.42 → 0.7.43
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 +7 -31
- package/dist/cjs/{helpers-981dd775.js → helpers-e328869d.js} +22 -19
- 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/solutions-components.cjs.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +6 -33
- 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 +8 -34
- package/dist/esm/calcite-input-date-picker_3.entry.js +11 -3
- package/dist/esm/card-manager_3.entry.js +7 -31
- package/dist/esm/{helpers-e8852b4a.js → helpers-633917fe.js} +22 -19
- 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/solutions-components.js +1 -1
- package/dist/solutions-components/{p-732ae6e8.entry.js → p-23fed594.entry.js} +1 -1
- package/dist/solutions-components/p-45698f2a.entry.js +6 -0
- 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-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-f5b259f3.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/layer-table/layer-table.d.ts +0 -12
- 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
@@ -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
|
//--------------------------------------------------------------------------
|
@@ -226,14 +221,6 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
226
221
|
this._selectAllActive = false;
|
227
222
|
}
|
228
223
|
}
|
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
224
|
/**
|
238
225
|
* Scroll and zoom to the selected feature from the Features widget.
|
239
226
|
*
|
@@ -894,11 +881,6 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
894
881
|
this._table.highlightIds.on("change", (evt) => {
|
895
882
|
void this._handleOnChange(evt);
|
896
883
|
});
|
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
884
|
});
|
903
885
|
}
|
904
886
|
}
|
@@ -1048,7 +1030,6 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1048
1030
|
this._defaultFilterHonored = true;
|
1049
1031
|
}
|
1050
1032
|
this._showOnlySelected = false;
|
1051
|
-
this._sortActive = false;
|
1052
1033
|
await this._sortTable();
|
1053
1034
|
this._updateToolbar();
|
1054
1035
|
});
|
@@ -1101,15 +1082,11 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1101
1082
|
* Sort the objectid field in descending order
|
1102
1083
|
*/
|
1103
1084
|
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
|
-
}
|
1085
|
+
if (this._table && this._layer && this.showNewestFirst) {
|
1086
|
+
await this._table.when();
|
1087
|
+
await this._layer.when(() => {
|
1088
|
+
this._table.sortColumn(this._layer.objectIdField, "desc");
|
1089
|
+
});
|
1113
1090
|
}
|
1114
1091
|
}
|
1115
1092
|
/**
|
@@ -1172,7 +1149,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1172
1149
|
*/
|
1173
1150
|
_filterModal() {
|
1174
1151
|
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 }))));
|
1152
|
+
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
1153
|
}
|
1177
1154
|
/**
|
1178
1155
|
* Reset the filter active prop
|
@@ -1464,8 +1441,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1464
1441
|
"isMobile": ["isMobileWatchHandler"],
|
1465
1442
|
"mapView": ["mapViewWatchHandler"],
|
1466
1443
|
"_layer": ["_layerWatchHandler"],
|
1467
|
-
"selectedIds": ["selectedIdsWatchHandler"]
|
1468
|
-
"_sortActive": ["_sortActiveWatchHandler"]
|
1444
|
+
"selectedIds": ["selectedIdsWatchHandler"]
|
1469
1445
|
}; }
|
1470
1446
|
static get style() { return layerTableCss; }
|
1471
1447
|
}, [0, "layer-table", {
|
@@ -1496,7 +1472,6 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1496
1472
|
"_selectAllActive": [32],
|
1497
1473
|
"_showHideOpen": [32],
|
1498
1474
|
"_showOnlySelected": [32],
|
1499
|
-
"_sortActive": [32],
|
1500
1475
|
"_translations": [32]
|
1501
1476
|
}, [[8, "selectionChanged", "selectionChanged"], [8, "editsComplete", "editsComplete"], [8, "levelChanged", "levelChanged"], [8, "noLayersFound", "noLayersFound"]], {
|
1502
1477
|
"enableCSV": ["enableCSVWatchHandler"],
|
@@ -1506,8 +1481,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1506
1481
|
"isMobile": ["isMobileWatchHandler"],
|
1507
1482
|
"mapView": ["mapViewWatchHandler"],
|
1508
1483
|
"_layer": ["_layerWatchHandler"],
|
1509
|
-
"selectedIds": ["selectedIdsWatchHandler"]
|
1510
|
-
"_sortActive": ["_sortActiveWatchHandler"]
|
1484
|
+
"selectedIds": ["selectedIdsWatchHandler"]
|
1511
1485
|
}]);
|
1512
1486
|
function defineCustomElement() {
|
1513
1487
|
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
|
}
|
@@ -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
|
//--------------------------------------------------------------------------
|
@@ -278,14 +273,6 @@ const LayerTable = class {
|
|
278
273
|
this._selectAllActive = false;
|
279
274
|
}
|
280
275
|
}
|
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
276
|
/**
|
290
277
|
* Scroll and zoom to the selected feature from the Features widget.
|
291
278
|
*
|
@@ -946,11 +933,6 @@ const LayerTable = class {
|
|
946
933
|
this._table.highlightIds.on("change", (evt) => {
|
947
934
|
void this._handleOnChange(evt);
|
948
935
|
});
|
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
936
|
});
|
955
937
|
}
|
956
938
|
}
|
@@ -1100,7 +1082,6 @@ const LayerTable = class {
|
|
1100
1082
|
this._defaultFilterHonored = true;
|
1101
1083
|
}
|
1102
1084
|
this._showOnlySelected = false;
|
1103
|
-
this._sortActive = false;
|
1104
1085
|
await this._sortTable();
|
1105
1086
|
this._updateToolbar();
|
1106
1087
|
});
|
@@ -1153,15 +1134,11 @@ const LayerTable = class {
|
|
1153
1134
|
* Sort the objectid field in descending order
|
1154
1135
|
*/
|
1155
1136
|
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
|
-
}
|
1137
|
+
if (this._table && this._layer && this.showNewestFirst) {
|
1138
|
+
await this._table.when();
|
1139
|
+
await this._layer.when(() => {
|
1140
|
+
this._table.sortColumn(this._layer.objectIdField, "desc");
|
1141
|
+
});
|
1165
1142
|
}
|
1166
1143
|
}
|
1167
1144
|
/**
|
@@ -1224,7 +1201,7 @@ const LayerTable = class {
|
|
1224
1201
|
*/
|
1225
1202
|
_filterModal() {
|
1226
1203
|
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 }))));
|
1204
|
+
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
1205
|
}
|
1229
1206
|
/**
|
1230
1207
|
* Reset the filter active prop
|
@@ -1516,8 +1493,7 @@ const LayerTable = class {
|
|
1516
1493
|
"isMobile": ["isMobileWatchHandler"],
|
1517
1494
|
"mapView": ["mapViewWatchHandler"],
|
1518
1495
|
"_layer": ["_layerWatchHandler"],
|
1519
|
-
"selectedIds": ["selectedIdsWatchHandler"]
|
1520
|
-
"_sortActive": ["_sortActiveWatchHandler"]
|
1496
|
+
"selectedIds": ["selectedIdsWatchHandler"]
|
1521
1497
|
}; }
|
1522
1498
|
};
|
1523
1499
|
LayerTable.style = layerTableCss;
|
@@ -147,7 +147,7 @@ async function createInteractiveLegendDataForLayer(legendViewModel, activeLayerI
|
|
147
147
|
// Get Feature Layer View to query
|
148
148
|
const fLayerView = await legendViewModel.view.whenLayerView(fLayer);
|
149
149
|
await reactiveUtils.whenOnce(() => (fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.updating) === false);
|
150
|
-
const field = (_g = fLayer.renderer) === null || _g === void 0 ? void 0 : _g.
|
150
|
+
const field = (_g = fLayer.renderer) === null || _g === void 0 ? void 0 : _g.field;
|
151
151
|
if (legendElement !== undefined) {
|
152
152
|
(_h = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _h === void 0 ? void 0 : _h.forEach(legendElementInfo => {
|
153
153
|
var _a;
|
@@ -349,9 +349,11 @@ function generateQueryExpressions(data, info, infoIndex, parentLegendElementInfo
|
|
349
349
|
let queryExpression = isPredominance
|
350
350
|
? handlePredominanceExpression(info, fLayerView)
|
351
351
|
: generateQueryExpression(info, field, infoIndex, legendElement, legendElementInfos, '');
|
352
|
-
const category =
|
353
|
-
?
|
354
|
-
|
352
|
+
const category = categories
|
353
|
+
? parentLegendElementInfo
|
354
|
+
? (_b = (_a = categories.get(parentLegendElementInfo.title)) === null || _a === void 0 ? void 0 : _a.nestedInfos) === null || _b === void 0 ? void 0 : _b[infoIndex]
|
355
|
+
: categories.get((_c = info.label) !== null && _c !== void 0 ? _c : (_d = fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.layer) === null || _d === void 0 ? void 0 : _d.id)
|
356
|
+
: null;
|
355
357
|
if (category)
|
356
358
|
category.selected = !(category === null || category === void 0 ? void 0 : category.selected);
|
357
359
|
const hasOneValue = legendElementInfos && legendElementInfos.length === 1;
|
@@ -425,7 +427,7 @@ function generateQueryExpressions(data, info, infoIndex, parentLegendElementInfo
|
|
425
427
|
}
|
426
428
|
function generateQueryExpression(info, field, infoIndex, legendElement, legendElementInfos, normalizationField) {
|
427
429
|
const { value } = info;
|
428
|
-
if (legendElement.type === 'symbol-table') {
|
430
|
+
if ((legendElement === null || legendElement === void 0 ? void 0 : legendElement.type) === 'symbol-table') {
|
429
431
|
// Classify data size/color ramp
|
430
432
|
if (!info.hasOwnProperty('value') || (Array.isArray(info.value) && (legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos.length) === 1)) {
|
431
433
|
// Classify data size/color ramp - 'Other' category
|
@@ -500,7 +502,8 @@ function checkNoneSelected(data) {
|
|
500
502
|
}
|
501
503
|
}
|
502
504
|
function checkPredominance(fLayerView) {
|
503
|
-
|
505
|
+
var _a, _b, _c;
|
506
|
+
const authoringInfoType = (_c = (_b = (_a = fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.layer) === null || _a === void 0 ? void 0 : _a.renderer) === null || _b === void 0 ? void 0 : _b.authoringInfo) === null || _c === void 0 ? void 0 : _c.type;
|
504
507
|
return authoringInfoType === 'predominance';
|
505
508
|
}
|
506
509
|
function checkRelationshipRamp(activeLayerInfo) {
|
@@ -508,24 +511,24 @@ function checkRelationshipRamp(activeLayerInfo) {
|
|
508
511
|
return ((_a = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements[1]) === null || _a === void 0 ? void 0 : _a.type) === 'relationship-ramp';
|
509
512
|
}
|
510
513
|
function validateInteractivity(activeLayerInfo, legendElement, legendElementIndex) {
|
511
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
514
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
512
515
|
const fLayer = activeLayerInfo.layer;
|
513
516
|
const field = (_a = fLayer === null || fLayer === void 0 ? void 0 : fLayer.renderer) === null || _a === void 0 ? void 0 : _a.field;
|
514
517
|
const type = legendElement === null || legendElement === void 0 ? void 0 : legendElement.type;
|
515
|
-
const layerView = activeLayerInfo.
|
516
|
-
const classBreakInfos = layerView === null || layerView === void 0 ? void 0 : layerView.
|
517
|
-
const uniqueValueInfos = (layerView === null || layerView === void 0 ? void 0 : layerView.
|
518
|
+
const layerView = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layerView;
|
519
|
+
const classBreakInfos = (_c = (_b = layerView === null || layerView === void 0 ? void 0 : layerView.layer) === null || _b === void 0 ? void 0 : _b.renderer) === null || _c === void 0 ? void 0 : _c.classBreakInfos;
|
520
|
+
const uniqueValueInfos = ((_e = (_d = layerView === null || layerView === void 0 ? void 0 : layerView.layer) === null || _d === void 0 ? void 0 : _d.renderer) === null || _e === void 0 ? void 0 : _e.uniqueValueInfos) && field;
|
518
521
|
const isSizeRamp = type === 'size-ramp';
|
519
522
|
const isColorRamp = type === 'color-ramp';
|
520
523
|
const opacityRamp = type === 'opacity-ramp';
|
521
524
|
const heatmapRamp = type === 'heatmap-ramp';
|
522
525
|
const hasMoreThanOneClassBreak = layerView && classBreakInfos && classBreakInfos.length > 1;
|
523
|
-
const authoringInfoType = layerView === null || layerView === void 0 ? void 0 : layerView.
|
526
|
+
const authoringInfoType = (_h = (_g = (_f = layerView === null || layerView === void 0 ? void 0 : layerView.layer) === null || _f === void 0 ? void 0 : _f.renderer) === null || _g === void 0 ? void 0 : _g.authoringInfo) === null || _h === void 0 ? void 0 : _h.type;
|
524
527
|
const classifyDataCheckedColorRamp = authoringInfoType === 'class-breaks-color';
|
525
528
|
const classifyDataCheckedSizeRamp = authoringInfoType === 'class-breaks-size';
|
526
|
-
const singleSymbol = ((
|
529
|
+
const singleSymbol = ((_j = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _j === void 0 ? void 0 : _j.length) === 1 && !field;
|
527
530
|
const isRelationshipRamp = authoringInfoType === 'relationship' && (legendElement === null || legendElement === void 0 ? void 0 : legendElement.type) !== 'size-ramp' && (legendElement === null || legendElement === void 0 ? void 0 : legendElement.type) !== 'symbol-table';
|
528
|
-
const isFeatureLayer = (activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.
|
531
|
+
const isFeatureLayer = ((_k = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layer) === null || _k === void 0 ? void 0 : _k.type) === 'feature';
|
529
532
|
const moreThanOneClassBreak = isFeatureLayer && field && !isColorRamp && !isSizeRamp && hasMoreThanOneClassBreak;
|
530
533
|
const oneClassBreak = isFeatureLayer && field && !isColorRamp && !isSizeRamp && !hasMoreThanOneClassBreak ? true : false;
|
531
534
|
const validate = oneClassBreak ||
|
@@ -537,14 +540,14 @@ function validateInteractivity(activeLayerInfo, legendElement, legendElementInde
|
|
537
540
|
uniqueValueInfos
|
538
541
|
? true
|
539
542
|
: false;
|
540
|
-
const hasClustering = (activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.
|
541
|
-
const isSingleSymbol = (legendElement === null || legendElement === void 0 ? void 0 : legendElement.type) === 'symbol-table' && ((
|
543
|
+
const hasClustering = ((_l = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layer) === null || _l === void 0 ? void 0 : _l.featureReduction) && ((_o = (_m = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements) === null || _m === void 0 ? void 0 : _m[legendElementIndex]) === null || _o === void 0 ? void 0 : _o.type) === 'size-ramp';
|
544
|
+
const isSingleSymbol = (legendElement === null || legendElement === void 0 ? void 0 : legendElement.type) === 'symbol-table' && ((_p = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _p === void 0 ? void 0 : _p.length) === 1;
|
542
545
|
const hasColorRamp = !(activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements.every(legendElement => legendElement.type !== 'color-ramp'));
|
543
546
|
const hasSizeRamp = !(activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements.every(legendElement => legendElement.type !== 'size-ramp'));
|
544
547
|
const singleSymbolColor = isSingleSymbol && hasColorRamp;
|
545
548
|
const singleSymbolSize = isSingleSymbol && hasSizeRamp;
|
546
|
-
const isUnclassifiedSizeRamp = (
|
547
|
-
const isBinning = ((
|
549
|
+
const isUnclassifiedSizeRamp = (_q = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _q === void 0 ? void 0 : _q.every(info => typeof info.value === 'number');
|
550
|
+
const isBinning = ((_s = (_r = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements) === null || _r === void 0 ? void 0 : _r[0]) === null || _s === void 0 ? void 0 : _s.type) === 'symbol-table' && ((_u = (_t = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements) === null || _t === void 0 ? void 0 : _t[1]) === null || _u === void 0 ? void 0 : _u.type) === 'color-ramp';
|
548
551
|
const isDotDensity = authoringInfoType === 'dot-density';
|
549
552
|
const isValidated = isFeatureLayer && !hasClustering && !opacityRamp && !heatmapRamp && !singleSymbolColor && !singleSymbolSize && !isUnclassifiedSizeRamp && !isBinning && !isDotDensity
|
550
553
|
? classBreakInfos
|
@@ -680,7 +683,7 @@ async function handleFeatureCount(legendViewModel, data) {
|
|
680
683
|
const legendElement = activeLayerInfo.legendElements[0];
|
681
684
|
const fLayer = activeLayerInfo.layer;
|
682
685
|
const fLayerView = (_b = data[(_a = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layer) === null || _a === void 0 ? void 0 : _a.id]) === null || _b === void 0 ? void 0 : _b.fLayerView;
|
683
|
-
const field = (_c = fLayer.renderer) === null || _c === void 0 ? void 0 : _c.
|
686
|
+
const field = (_c = fLayer.renderer) === null || _c === void 0 ? void 0 : _c.field;
|
684
687
|
const counts = [];
|
685
688
|
countPromises[activeLayerInfo.layer.id] = [];
|
686
689
|
(_d = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _d === void 0 ? void 0 : _d.forEach((info, infoIndex) => {
|
@@ -705,7 +708,7 @@ async function handleFeatureCount(legendViewModel, data) {
|
|
705
708
|
const legendElement = aliChild.legendElements[0];
|
706
709
|
const fLayer = aliChild.layer;
|
707
710
|
const fLayerView = (_b = data[(_a = aliChild === null || aliChild === void 0 ? void 0 : aliChild.layer) === null || _a === void 0 ? void 0 : _a.id]) === null || _b === void 0 ? void 0 : _b.fLayerView;
|
708
|
-
const field = (_c = fLayer.renderer) === null || _c === void 0 ? void 0 : _c.
|
711
|
+
const field = (_c = fLayer.renderer) === null || _c === void 0 ? void 0 : _c.field;
|
709
712
|
(_d = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _d === void 0 ? void 0 : _d.forEach((info, infoIndex) => childCounts.push(getInfoCount(legendViewModel.view.extent, fLayerView, field, info, infoIndex, legendElement)));
|
710
713
|
countPromises[aliChild.layer.id] = childCounts;
|
711
714
|
};
|
@@ -190,17 +190,29 @@ const printStyling = `
|
|
190
190
|
width: 100%;
|
191
191
|
position: absolute;
|
192
192
|
bottom: 15px;
|
193
|
-
|
193
|
+
margin: 0 15px;
|
194
194
|
}
|
195
195
|
|
196
196
|
.instant-apps-export-print__scale-bar-container .esri-scale-bar__label {
|
197
|
+
color: #323232;
|
197
198
|
font-size: 10px;
|
199
|
+
padding: 0 4px;
|
200
|
+
}
|
201
|
+
|
202
|
+
.instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {
|
203
|
+
height: 10px;
|
204
|
+
padding: 0 2px;
|
205
|
+
line-height: 11px;
|
198
206
|
}
|
199
207
|
|
200
208
|
.instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {
|
201
209
|
display: none;
|
202
210
|
}
|
203
211
|
|
212
|
+
.instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {
|
213
|
+
align-items: center;
|
214
|
+
}
|
215
|
+
|
204
216
|
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line {
|
205
217
|
background-color: rgba(255, 255, 255, 0.66);
|
206
218
|
}
|
@@ -212,10 +224,16 @@ const printStyling = `
|
|
212
224
|
|
213
225
|
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {
|
214
226
|
width: var(--instant-apps-scale-bar-bottom) !important;
|
227
|
+
border-top: 2px solid #323232;
|
215
228
|
}
|
216
229
|
|
217
|
-
.instant-apps-export-print__scale-bar-container .esri-scale-bar__label {
|
218
|
-
|
230
|
+
.instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {
|
231
|
+
position: unset;
|
232
|
+
margin: 0 2px;
|
233
|
+
background-color: rgba(255, 255, 255, 0.66);
|
234
|
+
height: 10px;
|
235
|
+
display: flex;
|
236
|
+
align-items: center;
|
219
237
|
}
|
220
238
|
|
221
239
|
.instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,
|
@@ -302,8 +320,7 @@ const screenshotStyling = `
|
|
302
320
|
|
303
321
|
.screenshot-img-container calcite-button {
|
304
322
|
margin: 5px;
|
305
|
-
}
|
306
|
-
`;
|
323
|
+
}`;
|
307
324
|
|
308
325
|
const instantAppsExportCss = ":host{display:block;--instant-apps-export-action-background:var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-export-action-background-press:var(--calcite-color-foreground-3);--instant-apps-export-action-height:100%;--instant-apps-export-action-width:fit-content;--instant-apps-export-action-icon-color:var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-export-background:var(--calcite-color-foreground-1);--instant-apps-export-text-color:var(--calcite-color-text-1);--instant-apps-export-popover-width:250px}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1:var(--instant-apps-export-action-background);--calcite-color-foreground-2:var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3:var(--instant-apps-export-action-background-press);--calcite-color-text-3:var(--instant-apps-export-action-icon-color);--calcite-color-text-1:var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1:var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1:#fff;--calcite-color-foreground-2:#f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-export .calcite-mode-dark calcite-switch{--calcite-color-foreground-1:#2b2b2b;--calcite-color-foreground-2:#202020}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}";
|
309
326
|
|
@@ -352,7 +369,7 @@ const InstantAppsExport = class {
|
|
352
369
|
this.showIncludeLegend = true;
|
353
370
|
this.showIncludeMap = false;
|
354
371
|
this.showIncludePopup = true;
|
355
|
-
this.showScaleBar =
|
372
|
+
this.showScaleBar = false;
|
356
373
|
this.view = undefined;
|
357
374
|
this.maskBackground = 'rgba(255, 51, 0, 0.1)';
|
358
375
|
this.maskBorder = '2px dashed rgb(255, 51, 0)';
|
@@ -360,8 +377,8 @@ const InstantAppsExport = class {
|
|
360
377
|
this.exportIsLoading = undefined;
|
361
378
|
this.messages = undefined;
|
362
379
|
}
|
363
|
-
watchIncludeMap(
|
364
|
-
if (
|
380
|
+
watchIncludeMap(includeMap) {
|
381
|
+
if (includeMap) {
|
365
382
|
this.updateLegend();
|
366
383
|
}
|
367
384
|
}
|
@@ -431,7 +448,7 @@ const InstantAppsExport = class {
|
|
431
448
|
return (h("div", { ref: (el) => (this.printContainerEl = el) }, h("div", { class: CSS.print.base, ref: (el) => (this.printEl = el) }, printMap, legend, h("div", { class: CSS.print.contentContainer }, popup, extraContent))));
|
432
449
|
}
|
433
450
|
renderPrintMap() {
|
434
|
-
return (h("div", { class: CSS.print.viewContainer, ref: (el) => (this.viewContainerEl = el) }, h("div", { class: CSS.print.viewWrapper, ref: (el) => (this.viewWrapperEl = el) }, this.headerTitle ? h("instant-apps-header", { titleText: this.headerTitle, backgroundColor: "#fff", textColor: "#323232" }) : null, h("img", { class: CSS.print.view, ref: (el) => (this.viewEl = el) }), h("div", { class: CSS.print.scaleBarContainer, ref: this.
|
451
|
+
return (h("div", { class: CSS.print.viewContainer, ref: (el) => (this.viewContainerEl = el) }, h("div", { class: CSS.print.viewWrapper, ref: (el) => (this.viewWrapperEl = el) }, this.headerTitle ? h("instant-apps-header", { titleText: this.headerTitle, backgroundColor: "#fff", textColor: "#323232" }) : null, h("img", { class: CSS.print.view, ref: (el) => (this.viewEl = el) }), h("div", { class: CSS.print.scaleBarContainer, ref: (el) => (this.scaleBarContainerEl = el) }))));
|
435
452
|
}
|
436
453
|
renderLegend() {
|
437
454
|
return h("div", { class: CSS.print.legendContainer, ref: (el) => (this.legendContainerEl = el) });
|
@@ -471,6 +488,7 @@ const InstantAppsExport = class {
|
|
471
488
|
document.body.prepend(this.printEl);
|
472
489
|
this.handleExtraContent();
|
473
490
|
if (this.includeMap) {
|
491
|
+
this.updateScaleBar();
|
474
492
|
this.updatePopupToPrint();
|
475
493
|
this.viewScreenshot();
|
476
494
|
this.handleImgLoaded();
|
@@ -584,11 +602,11 @@ const InstantAppsExport = class {
|
|
584
602
|
this.handleCompassCreation();
|
585
603
|
}
|
586
604
|
handleLegendCreation() {
|
587
|
-
var _a, _b;
|
605
|
+
var _a, _b, _c, _d;
|
588
606
|
if (this.includeMap && this.view != null && this.showIncludeLegend && this.legendContainerEl != null) {
|
589
607
|
const map = this.view.map;
|
590
608
|
const legendMap = (_b = (_a = this.legend) === null || _a === void 0 ? void 0 : _a.view) === null || _b === void 0 ? void 0 : _b.map;
|
591
|
-
const checkId = (map === null || map === void 0 ? void 0 : map.portalItem.id) === (legendMap === null || legendMap === void 0 ? void 0 : legendMap.portalItem.id);
|
609
|
+
const checkId = ((_c = map === null || map === void 0 ? void 0 : map.portalItem) === null || _c === void 0 ? void 0 : _c.id) === ((_d = legendMap === null || legendMap === void 0 ? void 0 : legendMap.portalItem) === null || _d === void 0 ? void 0 : _d.id);
|
592
610
|
if (!checkId) {
|
593
611
|
this.updateLegend();
|
594
612
|
}
|
@@ -614,11 +632,11 @@ const InstantAppsExport = class {
|
|
614
632
|
});
|
615
633
|
}
|
616
634
|
handleCompassCreation() {
|
617
|
-
var _a, _b;
|
635
|
+
var _a, _b, _c, _d;
|
618
636
|
if (this.includeMap && this.view != null && this.compassContainerEl != null) {
|
619
637
|
const map = this.view.map;
|
620
638
|
const compassMap = (_b = (_a = this.compass) === null || _a === void 0 ? void 0 : _a.view) === null || _b === void 0 ? void 0 : _b.map;
|
621
|
-
const checkId = (map === null || map === void 0 ? void 0 : map.portalItem.id) === (compassMap === null || compassMap === void 0 ? void 0 : compassMap.portalItem.id);
|
639
|
+
const checkId = ((_c = map === null || map === void 0 ? void 0 : map.portalItem) === null || _c === void 0 ? void 0 : _c.id) === ((_d = compassMap === null || compassMap === void 0 ? void 0 : compassMap.portalItem) === null || _d === void 0 ? void 0 : _d.id);
|
622
640
|
if (!checkId) {
|
623
641
|
this.updateCompass();
|
624
642
|
}
|
@@ -637,18 +655,22 @@ const InstantAppsExport = class {
|
|
637
655
|
});
|
638
656
|
}
|
639
657
|
updateScaleBar() {
|
640
|
-
var _a;
|
641
|
-
(
|
642
|
-
|
643
|
-
(
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
658
|
+
var _a, _b, _c;
|
659
|
+
if (this.scaleBarContainerEl) {
|
660
|
+
this.scaleBarContainerEl.innerHTML = '';
|
661
|
+
if (this.showScaleBar) {
|
662
|
+
const scaleBar = (_c = (_b = (_a = this.view) === null || _a === void 0 ? void 0 : _a.container) === null || _b === void 0 ? void 0 : _b.querySelector('.esri-scale-bar.esri-widget')) === null || _c === void 0 ? void 0 : _c.cloneNode(true);
|
663
|
+
if (scaleBar != null) {
|
664
|
+
this.scaleBarContainerEl.append(scaleBar);
|
665
|
+
}
|
666
|
+
}
|
667
|
+
}
|
648
668
|
}
|
649
669
|
async viewScreenshot() {
|
670
|
+
var _a;
|
650
671
|
if (this.view != null && this.includeMap) {
|
651
672
|
if (this.screenshot == null) {
|
673
|
+
(_a = this.scaleBarContainerEl) === null || _a === void 0 ? void 0 : _a.classList.toggle('instant-apps-export-print__scale-bar-container--position', this.view.width > 1000);
|
652
674
|
this.screenshot = await this.view.takeScreenshot({
|
653
675
|
width: this.view.width * 2,
|
654
676
|
height: this.view.height * 2,
|
@@ -786,10 +808,15 @@ const InstantAppsExport = class {
|
|
786
808
|
}
|
787
809
|
}
|
788
810
|
maskScreenshot() {
|
811
|
+
var _a;
|
789
812
|
if (this.view != null && this.area != null) {
|
790
813
|
this.view.removeHandles(dragHandlerName);
|
791
814
|
const height = this.area.height;
|
792
815
|
const width = this.area.width;
|
816
|
+
if (this.showScaleBar) {
|
817
|
+
const moveSBUnit = this.view.width > 1000 && this.view.width * 0.75 < width;
|
818
|
+
(_a = this.scaleBarContainerEl) === null || _a === void 0 ? void 0 : _a.classList.toggle('instant-apps-export-print__scale-bar-container--position', moveSBUnit);
|
819
|
+
}
|
793
820
|
this.view.takeScreenshot({ area: this.area, width: width * 2, height: height * 2, format: 'jpg' }).then(screenshot => {
|
794
821
|
var _a;
|
795
822
|
this.screenshot = screenshot;
|
@@ -832,11 +859,12 @@ const InstantAppsExport = class {
|
|
832
859
|
}
|
833
860
|
}
|
834
861
|
setScalebarWidth(bar, position) {
|
862
|
+
var _a;
|
835
863
|
if (bar != null && this.screenshot != null) {
|
836
864
|
const width = this.screenshot.data.width / 2;
|
837
865
|
const barWidth = Number(bar.style.width.replace('px', ''));
|
838
866
|
const widthPercentage = (barWidth / width) * 100;
|
839
|
-
|
867
|
+
(_a = this.scaleBarContainerEl) === null || _a === void 0 ? void 0 : _a.style.setProperty(`--instant-apps-scale-bar-${position}`, `${widthPercentage}%`);
|
840
868
|
}
|
841
869
|
}
|
842
870
|
removeScreenshotElements() {
|
@@ -844,18 +872,6 @@ const InstantAppsExport = class {
|
|
844
872
|
(_a = this.screenshotPreview) === null || _a === void 0 ? void 0 : _a.remove();
|
845
873
|
(_b = this.screenshotStyle) === null || _b === void 0 ? void 0 : _b.remove();
|
846
874
|
}
|
847
|
-
handleScaleBarContainerEl(el) {
|
848
|
-
var _a, _b, _c;
|
849
|
-
if (this.showScaleBar && ((_a = this.view) === null || _a === void 0 ? void 0 : _a.type) === '2d') {
|
850
|
-
const map = this.view.map;
|
851
|
-
const scaleBarMap = (_c = (_b = this.scaleBar) === null || _b === void 0 ? void 0 : _b.view) === null || _c === void 0 ? void 0 : _c.map;
|
852
|
-
this.scaleBarContainerEl = el;
|
853
|
-
const checkId = (map === null || map === void 0 ? void 0 : map.portalItem.id) === (scaleBarMap === null || scaleBarMap === void 0 ? void 0 : scaleBarMap.portalItem.id);
|
854
|
-
if (!checkId) {
|
855
|
-
this.updateScaleBar();
|
856
|
-
}
|
857
|
-
}
|
858
|
-
}
|
859
875
|
get el() { return getElement(this); }
|
860
876
|
static get watchers() { return {
|
861
877
|
"includeMap": ["watchIncludeMap"]
|