@esri/solutions-components 0.6.21 → 0.6.23
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/card-manager/resources_ar.json +4 -4
- package/dist/assets/t9n/card-manager/resources_bg.json +4 -4
- package/dist/assets/t9n/card-manager/resources_bs.json +4 -4
- package/dist/assets/t9n/card-manager/resources_ca.json +4 -4
- package/dist/assets/t9n/card-manager/resources_cs.json +4 -4
- package/dist/assets/t9n/card-manager/resources_da.json +4 -4
- package/dist/assets/t9n/card-manager/resources_de.json +4 -4
- package/dist/assets/t9n/card-manager/resources_el.json +4 -4
- package/dist/assets/t9n/card-manager/resources_es.json +4 -4
- package/dist/assets/t9n/card-manager/resources_et.json +4 -4
- package/dist/assets/t9n/card-manager/resources_fi.json +4 -4
- package/dist/assets/t9n/card-manager/resources_fr.json +4 -4
- package/dist/assets/t9n/card-manager/resources_he.json +4 -4
- package/dist/assets/t9n/card-manager/resources_hr.json +4 -4
- package/dist/assets/t9n/card-manager/resources_hu.json +4 -4
- package/dist/assets/t9n/card-manager/resources_id.json +4 -4
- package/dist/assets/t9n/card-manager/resources_it.json +4 -4
- package/dist/assets/t9n/card-manager/resources_ja.json +4 -4
- package/dist/assets/t9n/card-manager/resources_ko.json +4 -4
- package/dist/assets/t9n/card-manager/resources_lt.json +4 -4
- package/dist/assets/t9n/card-manager/resources_lv.json +4 -4
- package/dist/assets/t9n/card-manager/resources_nb.json +4 -4
- package/dist/assets/t9n/card-manager/resources_nl.json +4 -4
- package/dist/assets/t9n/card-manager/resources_pl.json +4 -4
- package/dist/assets/t9n/card-manager/resources_pt-BR.json +4 -4
- package/dist/assets/t9n/card-manager/resources_pt-PT.json +4 -4
- package/dist/assets/t9n/card-manager/resources_ro.json +4 -4
- package/dist/assets/t9n/card-manager/resources_ru.json +4 -4
- package/dist/assets/t9n/card-manager/resources_sk.json +4 -4
- package/dist/assets/t9n/card-manager/resources_sl.json +4 -4
- package/dist/assets/t9n/card-manager/resources_sr.json +4 -4
- package/dist/assets/t9n/card-manager/resources_sv.json +4 -4
- package/dist/assets/t9n/card-manager/resources_th.json +4 -4
- package/dist/assets/t9n/card-manager/resources_tr.json +4 -4
- package/dist/assets/t9n/card-manager/resources_uk.json +4 -4
- package/dist/assets/t9n/card-manager/resources_vi.json +4 -4
- package/dist/assets/t9n/card-manager/resources_zh-CN.json +4 -4
- package/dist/assets/t9n/card-manager/resources_zh-HK.json +4 -4
- package/dist/assets/t9n/card-manager/resources_zh-TW.json +4 -4
- package/dist/assets/t9n/comment-card/resources_ar.json +2 -2
- package/dist/assets/t9n/comment-card/resources_bg.json +2 -2
- package/dist/assets/t9n/comment-card/resources_bs.json +2 -2
- package/dist/assets/t9n/comment-card/resources_ca.json +2 -2
- package/dist/assets/t9n/comment-card/resources_cs.json +2 -2
- package/dist/assets/t9n/comment-card/resources_da.json +2 -2
- package/dist/assets/t9n/comment-card/resources_de.json +2 -2
- package/dist/assets/t9n/comment-card/resources_el.json +2 -2
- package/dist/assets/t9n/comment-card/resources_es.json +2 -2
- package/dist/assets/t9n/comment-card/resources_et.json +2 -2
- package/dist/assets/t9n/comment-card/resources_fi.json +2 -2
- package/dist/assets/t9n/comment-card/resources_fr.json +2 -2
- package/dist/assets/t9n/comment-card/resources_he.json +2 -2
- package/dist/assets/t9n/comment-card/resources_hr.json +2 -2
- package/dist/assets/t9n/comment-card/resources_hu.json +2 -2
- package/dist/assets/t9n/comment-card/resources_id.json +2 -2
- package/dist/assets/t9n/comment-card/resources_it.json +2 -2
- package/dist/assets/t9n/comment-card/resources_ja.json +2 -2
- package/dist/assets/t9n/comment-card/resources_ko.json +2 -2
- package/dist/assets/t9n/comment-card/resources_lt.json +2 -2
- package/dist/assets/t9n/comment-card/resources_lv.json +2 -2
- package/dist/assets/t9n/comment-card/resources_nb.json +2 -2
- package/dist/assets/t9n/comment-card/resources_nl.json +2 -2
- package/dist/assets/t9n/comment-card/resources_pl.json +2 -2
- package/dist/assets/t9n/comment-card/resources_pt-BR.json +2 -2
- package/dist/assets/t9n/comment-card/resources_pt-PT.json +2 -2
- package/dist/assets/t9n/comment-card/resources_ro.json +2 -2
- package/dist/assets/t9n/comment-card/resources_ru.json +2 -2
- package/dist/assets/t9n/comment-card/resources_sk.json +2 -2
- package/dist/assets/t9n/comment-card/resources_sl.json +2 -2
- package/dist/assets/t9n/comment-card/resources_sr.json +2 -2
- package/dist/assets/t9n/comment-card/resources_sv.json +2 -2
- package/dist/assets/t9n/comment-card/resources_th.json +2 -2
- package/dist/assets/t9n/comment-card/resources_tr.json +2 -2
- package/dist/assets/t9n/comment-card/resources_uk.json +2 -2
- package/dist/assets/t9n/comment-card/resources_vi.json +2 -2
- package/dist/assets/t9n/comment-card/resources_zh-CN.json +2 -2
- package/dist/assets/t9n/comment-card/resources_zh-HK.json +2 -2
- package/dist/assets/t9n/comment-card/resources_zh-TW.json +2 -2
- package/dist/assets/t9n/crowdsource-manager/resources_ar.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_bg.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_bs.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_ca.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_cs.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_da.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_de.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_el.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_es.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_et.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_fi.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_fr.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_he.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_hr.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_hu.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_id.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_it.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_ja.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_ko.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_lt.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_lv.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_nb.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_nl.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_pl.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_pt-BR.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_pt-PT.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_ro.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_ru.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_sk.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_sl.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_sr.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_sv.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_th.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_tr.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_uk.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_vi.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_zh-CN.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_zh-HK.json +6 -4
- package/dist/assets/t9n/crowdsource-manager/resources_zh-TW.json +6 -4
- package/dist/assets/t9n/info-card/resources_ar.json +7 -7
- package/dist/assets/t9n/info-card/resources_bg.json +7 -7
- package/dist/assets/t9n/info-card/resources_bs.json +7 -7
- package/dist/assets/t9n/info-card/resources_ca.json +7 -7
- package/dist/assets/t9n/info-card/resources_cs.json +7 -7
- package/dist/assets/t9n/info-card/resources_da.json +7 -7
- package/dist/assets/t9n/info-card/resources_de.json +7 -7
- package/dist/assets/t9n/info-card/resources_el.json +7 -7
- package/dist/assets/t9n/info-card/resources_es.json +7 -7
- package/dist/assets/t9n/info-card/resources_et.json +7 -7
- package/dist/assets/t9n/info-card/resources_fi.json +7 -7
- package/dist/assets/t9n/info-card/resources_fr.json +7 -7
- package/dist/assets/t9n/info-card/resources_he.json +7 -7
- package/dist/assets/t9n/info-card/resources_hr.json +7 -7
- package/dist/assets/t9n/info-card/resources_hu.json +7 -7
- package/dist/assets/t9n/info-card/resources_id.json +7 -7
- package/dist/assets/t9n/info-card/resources_it.json +7 -7
- package/dist/assets/t9n/info-card/resources_ja.json +7 -7
- package/dist/assets/t9n/info-card/resources_ko.json +7 -7
- package/dist/assets/t9n/info-card/resources_lt.json +7 -7
- package/dist/assets/t9n/info-card/resources_lv.json +7 -7
- package/dist/assets/t9n/info-card/resources_nb.json +7 -7
- package/dist/assets/t9n/info-card/resources_nl.json +7 -7
- package/dist/assets/t9n/info-card/resources_pl.json +7 -7
- package/dist/assets/t9n/info-card/resources_pt-BR.json +7 -7
- package/dist/assets/t9n/info-card/resources_pt-PT.json +7 -7
- package/dist/assets/t9n/info-card/resources_ro.json +7 -7
- package/dist/assets/t9n/info-card/resources_ru.json +7 -7
- package/dist/assets/t9n/info-card/resources_sk.json +7 -7
- package/dist/assets/t9n/info-card/resources_sl.json +7 -7
- package/dist/assets/t9n/info-card/resources_sr.json +7 -7
- package/dist/assets/t9n/info-card/resources_sv.json +7 -7
- package/dist/assets/t9n/info-card/resources_th.json +7 -7
- package/dist/assets/t9n/info-card/resources_tr.json +7 -7
- package/dist/assets/t9n/info-card/resources_uk.json +7 -7
- package/dist/assets/t9n/info-card/resources_vi.json +7 -7
- package/dist/assets/t9n/info-card/resources_zh-CN.json +7 -7
- package/dist/assets/t9n/info-card/resources_zh-HK.json +7 -7
- package/dist/assets/t9n/info-card/resources_zh-TW.json +7 -7
- package/dist/assets/t9n/layer-table/resources_ar.json +18 -17
- package/dist/assets/t9n/layer-table/resources_bg.json +18 -17
- package/dist/assets/t9n/layer-table/resources_bs.json +18 -17
- package/dist/assets/t9n/layer-table/resources_ca.json +18 -17
- package/dist/assets/t9n/layer-table/resources_cs.json +18 -17
- package/dist/assets/t9n/layer-table/resources_da.json +18 -17
- package/dist/assets/t9n/layer-table/resources_de.json +18 -17
- package/dist/assets/t9n/layer-table/resources_el.json +18 -17
- package/dist/assets/t9n/layer-table/resources_es.json +18 -17
- package/dist/assets/t9n/layer-table/resources_et.json +18 -17
- package/dist/assets/t9n/layer-table/resources_fi.json +18 -17
- package/dist/assets/t9n/layer-table/resources_fr.json +18 -17
- package/dist/assets/t9n/layer-table/resources_he.json +18 -17
- package/dist/assets/t9n/layer-table/resources_hr.json +18 -17
- package/dist/assets/t9n/layer-table/resources_hu.json +18 -17
- package/dist/assets/t9n/layer-table/resources_id.json +18 -17
- package/dist/assets/t9n/layer-table/resources_it.json +18 -17
- package/dist/assets/t9n/layer-table/resources_ja.json +18 -17
- package/dist/assets/t9n/layer-table/resources_ko.json +18 -17
- package/dist/assets/t9n/layer-table/resources_lt.json +18 -17
- package/dist/assets/t9n/layer-table/resources_lv.json +18 -17
- package/dist/assets/t9n/layer-table/resources_nb.json +18 -17
- package/dist/assets/t9n/layer-table/resources_nl.json +18 -17
- package/dist/assets/t9n/layer-table/resources_pl.json +18 -17
- package/dist/assets/t9n/layer-table/resources_pt-BR.json +18 -17
- package/dist/assets/t9n/layer-table/resources_pt-PT.json +18 -17
- package/dist/assets/t9n/layer-table/resources_ro.json +18 -17
- package/dist/assets/t9n/layer-table/resources_ru.json +18 -17
- package/dist/assets/t9n/layer-table/resources_sk.json +18 -17
- package/dist/assets/t9n/layer-table/resources_sl.json +18 -17
- package/dist/assets/t9n/layer-table/resources_sr.json +18 -17
- package/dist/assets/t9n/layer-table/resources_sv.json +18 -17
- package/dist/assets/t9n/layer-table/resources_th.json +18 -17
- package/dist/assets/t9n/layer-table/resources_tr.json +18 -17
- package/dist/assets/t9n/layer-table/resources_uk.json +18 -17
- package/dist/assets/t9n/layer-table/resources_vi.json +18 -17
- package/dist/assets/t9n/layer-table/resources_zh-CN.json +18 -17
- package/dist/assets/t9n/layer-table/resources_zh-HK.json +18 -17
- package/dist/assets/t9n/layer-table/resources_zh-TW.json +18 -17
- package/dist/assets/t9n/layout-manager/resources_ar.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_bg.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_bs.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_ca.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_cs.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_da.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_de.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_el.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_es.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_et.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_fi.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_fr.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_he.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_hr.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_hu.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_id.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_it.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_ja.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_ko.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_lt.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_lv.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_nb.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_nl.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_pl.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_pt-BR.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_pt-PT.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_ro.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_ru.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_sk.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_sl.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_sr.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_sv.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_th.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_tr.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_uk.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_vi.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_zh-CN.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_zh-HK.json +5 -5
- package/dist/assets/t9n/layout-manager/resources_zh-TW.json +5 -5
- package/dist/assets/t9n/map-card/resources_ar.json +1 -1
- package/dist/assets/t9n/map-card/resources_bg.json +1 -1
- package/dist/assets/t9n/map-card/resources_bs.json +1 -1
- package/dist/assets/t9n/map-card/resources_ca.json +1 -1
- package/dist/assets/t9n/map-card/resources_cs.json +1 -1
- package/dist/assets/t9n/map-card/resources_da.json +1 -1
- package/dist/assets/t9n/map-card/resources_de.json +1 -1
- package/dist/assets/t9n/map-card/resources_el.json +1 -1
- package/dist/assets/t9n/map-card/resources_es.json +1 -1
- package/dist/assets/t9n/map-card/resources_et.json +1 -1
- package/dist/assets/t9n/map-card/resources_fi.json +1 -1
- package/dist/assets/t9n/map-card/resources_fr.json +1 -1
- package/dist/assets/t9n/map-card/resources_he.json +1 -1
- package/dist/assets/t9n/map-card/resources_hr.json +1 -1
- package/dist/assets/t9n/map-card/resources_hu.json +1 -1
- package/dist/assets/t9n/map-card/resources_id.json +1 -1
- package/dist/assets/t9n/map-card/resources_it.json +1 -1
- package/dist/assets/t9n/map-card/resources_ja.json +1 -1
- package/dist/assets/t9n/map-card/resources_ko.json +1 -1
- package/dist/assets/t9n/map-card/resources_lt.json +1 -1
- package/dist/assets/t9n/map-card/resources_lv.json +1 -1
- package/dist/assets/t9n/map-card/resources_nb.json +1 -1
- package/dist/assets/t9n/map-card/resources_nl.json +1 -1
- package/dist/assets/t9n/map-card/resources_pl.json +1 -1
- package/dist/assets/t9n/map-card/resources_pt-BR.json +1 -1
- package/dist/assets/t9n/map-card/resources_pt-PT.json +1 -1
- package/dist/assets/t9n/map-card/resources_ro.json +1 -1
- package/dist/assets/t9n/map-card/resources_ru.json +1 -1
- package/dist/assets/t9n/map-card/resources_sk.json +1 -1
- package/dist/assets/t9n/map-card/resources_sl.json +1 -1
- package/dist/assets/t9n/map-card/resources_sr.json +1 -1
- package/dist/assets/t9n/map-card/resources_sv.json +1 -1
- package/dist/assets/t9n/map-card/resources_th.json +1 -1
- package/dist/assets/t9n/map-card/resources_tr.json +1 -1
- package/dist/assets/t9n/map-card/resources_uk.json +1 -1
- package/dist/assets/t9n/map-card/resources_vi.json +1 -1
- package/dist/assets/t9n/map-card/resources_zh-CN.json +1 -1
- package/dist/assets/t9n/map-card/resources_zh-HK.json +1 -1
- package/dist/assets/t9n/map-card/resources_zh-TW.json +1 -1
- package/dist/assets/t9n/map-layer-picker/resources_ar.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_bg.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_bs.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_ca.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_cs.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_da.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_de.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_el.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_es.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_et.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_fi.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_fr.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_he.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_hr.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_hu.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_id.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_it.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_ja.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_ko.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_lt.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_lv.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_nb.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_nl.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_pl.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_pt-BR.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_pt-PT.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_ro.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_ru.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_sk.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_sl.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_sr.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_sv.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_th.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_tr.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_uk.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_vi.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_zh-CN.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_zh-HK.json +3 -2
- package/dist/assets/t9n/map-layer-picker/resources_zh-TW.json +3 -2
- package/dist/assets/t9n/map-picker/resources_ar.json +3 -0
- package/dist/assets/t9n/map-picker/resources_bg.json +3 -0
- package/dist/assets/t9n/map-picker/resources_bs.json +3 -0
- package/dist/assets/t9n/map-picker/resources_ca.json +3 -0
- package/dist/assets/t9n/map-picker/resources_cs.json +3 -0
- package/dist/assets/t9n/map-picker/resources_da.json +3 -0
- package/dist/assets/t9n/map-picker/resources_de.json +3 -0
- package/dist/assets/t9n/map-picker/resources_el.json +3 -0
- package/dist/assets/t9n/map-picker/resources_es.json +3 -0
- package/dist/assets/t9n/map-picker/resources_et.json +3 -0
- package/dist/assets/t9n/map-picker/resources_fi.json +3 -0
- package/dist/assets/t9n/map-picker/resources_fr.json +3 -0
- package/dist/assets/t9n/map-picker/resources_he.json +3 -0
- package/dist/assets/t9n/map-picker/resources_hr.json +3 -0
- package/dist/assets/t9n/map-picker/resources_hu.json +3 -0
- package/dist/assets/t9n/map-picker/resources_id.json +3 -0
- package/dist/assets/t9n/map-picker/resources_it.json +3 -0
- package/dist/assets/t9n/map-picker/resources_ja.json +3 -0
- package/dist/assets/t9n/map-picker/resources_ko.json +3 -0
- package/dist/assets/t9n/map-picker/resources_lt.json +3 -0
- package/dist/assets/t9n/map-picker/resources_lv.json +3 -0
- package/dist/assets/t9n/map-picker/resources_nb.json +3 -0
- package/dist/assets/t9n/map-picker/resources_nl.json +3 -0
- package/dist/assets/t9n/map-picker/resources_pl.json +3 -0
- package/dist/assets/t9n/map-picker/resources_pt-BR.json +3 -0
- package/dist/assets/t9n/map-picker/resources_pt-PT.json +3 -0
- package/dist/assets/t9n/map-picker/resources_ro.json +3 -0
- package/dist/assets/t9n/map-picker/resources_ru.json +3 -0
- package/dist/assets/t9n/map-picker/resources_sk.json +3 -0
- package/dist/assets/t9n/map-picker/resources_sl.json +3 -0
- package/dist/assets/t9n/map-picker/resources_sr.json +3 -0
- package/dist/assets/t9n/map-picker/resources_sv.json +3 -0
- package/dist/assets/t9n/map-picker/resources_th.json +3 -0
- package/dist/assets/t9n/map-picker/resources_tr.json +3 -0
- package/dist/assets/t9n/map-picker/resources_uk.json +3 -0
- package/dist/assets/t9n/map-picker/resources_vi.json +3 -0
- package/dist/assets/t9n/map-picker/resources_zh-CN.json +3 -0
- package/dist/assets/t9n/map-picker/resources_zh-HK.json +3 -0
- package/dist/assets/t9n/map-picker/resources_zh-TW.json +3 -0
- package/dist/assets/t9n/map-search/resources_ar.json +1 -1
- package/dist/assets/t9n/map-search/resources_bg.json +1 -1
- package/dist/assets/t9n/map-search/resources_bs.json +1 -1
- package/dist/assets/t9n/map-search/resources_ca.json +1 -1
- package/dist/assets/t9n/map-search/resources_cs.json +1 -1
- package/dist/assets/t9n/map-search/resources_da.json +1 -1
- package/dist/assets/t9n/map-search/resources_de.json +1 -1
- package/dist/assets/t9n/map-search/resources_el.json +1 -1
- package/dist/assets/t9n/map-search/resources_es.json +1 -1
- package/dist/assets/t9n/map-search/resources_et.json +1 -1
- package/dist/assets/t9n/map-search/resources_fi.json +1 -1
- package/dist/assets/t9n/map-search/resources_fr.json +1 -1
- package/dist/assets/t9n/map-search/resources_he.json +1 -1
- package/dist/assets/t9n/map-search/resources_hr.json +1 -1
- package/dist/assets/t9n/map-search/resources_hu.json +1 -1
- package/dist/assets/t9n/map-search/resources_id.json +1 -1
- package/dist/assets/t9n/map-search/resources_it.json +1 -1
- package/dist/assets/t9n/map-search/resources_ja.json +1 -1
- package/dist/assets/t9n/map-search/resources_ko.json +1 -1
- package/dist/assets/t9n/map-search/resources_lt.json +1 -1
- package/dist/assets/t9n/map-search/resources_lv.json +1 -1
- package/dist/assets/t9n/map-search/resources_nb.json +1 -1
- package/dist/assets/t9n/map-search/resources_nl.json +1 -1
- package/dist/assets/t9n/map-search/resources_pl.json +1 -1
- package/dist/assets/t9n/map-search/resources_pt-BR.json +1 -1
- package/dist/assets/t9n/map-search/resources_pt-PT.json +1 -1
- package/dist/assets/t9n/map-search/resources_ro.json +1 -1
- package/dist/assets/t9n/map-search/resources_ru.json +1 -1
- package/dist/assets/t9n/map-search/resources_sk.json +1 -1
- package/dist/assets/t9n/map-search/resources_sl.json +1 -1
- package/dist/assets/t9n/map-search/resources_sr.json +1 -1
- package/dist/assets/t9n/map-search/resources_sv.json +1 -1
- package/dist/assets/t9n/map-search/resources_th.json +1 -1
- package/dist/assets/t9n/map-search/resources_tr.json +1 -1
- package/dist/assets/t9n/map-search/resources_uk.json +1 -1
- package/dist/assets/t9n/map-search/resources_vi.json +1 -1
- package/dist/assets/t9n/map-search/resources_zh-CN.json +1 -1
- package/dist/assets/t9n/map-search/resources_zh-HK.json +1 -1
- package/dist/assets/t9n/map-search/resources_zh-TW.json +1 -1
- package/dist/assets/t9n/map-select-tools/resources_ar.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_bg.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_bs.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_ca.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_cs.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_da.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_de.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_el.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_es.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_et.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_fi.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_fr.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_he.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_hr.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_hu.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_id.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_it.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_ja.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_ko.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_lt.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_lv.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_nb.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_nl.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_pl.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_pt-BR.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_pt-PT.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_ro.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_ru.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_sk.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_sl.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_sr.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_sv.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_th.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_tr.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_uk.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_vi.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_zh-CN.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_zh-HK.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_zh-TW.json +2 -1
- package/dist/assets/t9n/map-tools/resources_ar.json +8 -7
- package/dist/assets/t9n/map-tools/resources_bg.json +8 -7
- package/dist/assets/t9n/map-tools/resources_bs.json +8 -7
- package/dist/assets/t9n/map-tools/resources_ca.json +8 -7
- package/dist/assets/t9n/map-tools/resources_cs.json +8 -7
- package/dist/assets/t9n/map-tools/resources_da.json +8 -7
- package/dist/assets/t9n/map-tools/resources_de.json +8 -7
- package/dist/assets/t9n/map-tools/resources_el.json +8 -7
- package/dist/assets/t9n/map-tools/resources_es.json +8 -7
- package/dist/assets/t9n/map-tools/resources_et.json +8 -7
- package/dist/assets/t9n/map-tools/resources_fi.json +8 -7
- package/dist/assets/t9n/map-tools/resources_fr.json +8 -7
- package/dist/assets/t9n/map-tools/resources_he.json +8 -7
- package/dist/assets/t9n/map-tools/resources_hr.json +8 -7
- package/dist/assets/t9n/map-tools/resources_hu.json +8 -7
- package/dist/assets/t9n/map-tools/resources_id.json +8 -7
- package/dist/assets/t9n/map-tools/resources_it.json +8 -7
- package/dist/assets/t9n/map-tools/resources_ja.json +8 -7
- package/dist/assets/t9n/map-tools/resources_ko.json +8 -7
- package/dist/assets/t9n/map-tools/resources_lt.json +8 -7
- package/dist/assets/t9n/map-tools/resources_lv.json +8 -7
- package/dist/assets/t9n/map-tools/resources_nb.json +8 -7
- package/dist/assets/t9n/map-tools/resources_nl.json +8 -7
- package/dist/assets/t9n/map-tools/resources_pl.json +8 -7
- package/dist/assets/t9n/map-tools/resources_pt-BR.json +8 -7
- package/dist/assets/t9n/map-tools/resources_pt-PT.json +8 -7
- package/dist/assets/t9n/map-tools/resources_ro.json +8 -7
- package/dist/assets/t9n/map-tools/resources_ru.json +8 -7
- package/dist/assets/t9n/map-tools/resources_sk.json +8 -7
- package/dist/assets/t9n/map-tools/resources_sl.json +8 -7
- package/dist/assets/t9n/map-tools/resources_sr.json +8 -7
- package/dist/assets/t9n/map-tools/resources_sv.json +8 -7
- package/dist/assets/t9n/map-tools/resources_th.json +8 -7
- package/dist/assets/t9n/map-tools/resources_tr.json +8 -7
- package/dist/assets/t9n/map-tools/resources_uk.json +8 -7
- package/dist/assets/t9n/map-tools/resources_vi.json +8 -7
- package/dist/assets/t9n/map-tools/resources_zh-CN.json +8 -7
- package/dist/assets/t9n/map-tools/resources_zh-HK.json +8 -7
- package/dist/assets/t9n/map-tools/resources_zh-TW.json +8 -7
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +1 -1
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +1 -1
- package/dist/cjs/card-manager_3.cjs.entry.js +3 -3
- package/dist/cjs/{downloadUtils-3e8b45ec.js → downloadUtils-84024878.js} +25 -18
- package/dist/cjs/edit-card_2.cjs.entry.js +9 -2
- package/dist/cjs/{index.es-bf2ee853.js → index.es-eb7cf427.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +4 -4
- package/dist/cjs/public-notification.cjs.entry.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/edit-card/edit-card.js +9 -1
- package/dist/collection/components/info-card/info-card.css +1 -1
- package/dist/collection/components/layer-table/layer-table.css +1 -0
- package/dist/collection/components/layer-table/layer-table.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +2 -3
- package/dist/collection/components/map-select-tools/map-select-tools.js +2 -2
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/demos/new-public-notification.html +4 -2
- package/dist/collection/utils/downloadUtils.js +24 -17
- package/dist/collection/utils/downloadUtils.ts +32 -22
- package/dist/collection/utils/test/downloadUtils.spec.js +43 -0
- package/dist/collection/utils/test/downloadUtils.spec.tsx +48 -0
- package/dist/components/downloadUtils.js +24 -17
- package/dist/components/edit-card2.js +17 -3
- package/dist/components/info-card2.js +1 -1
- package/dist/components/layer-table2.js +2 -2
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-select-tools2.js +2 -2
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/refine-selection2.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +1 -1
- package/dist/esm/calcite-combobox_6.entry.js +1 -1
- package/dist/esm/card-manager_3.entry.js +3 -3
- package/dist/esm/{downloadUtils-13d9188b.js → downloadUtils-fa2b3718.js} +25 -18
- package/dist/esm/edit-card_2.entry.js +9 -2
- package/dist/esm/{index.es-edd974bc.js → index.es-cc671fd2.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +4 -4
- package/dist/esm/public-notification.entry.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/demos/new-public-notification.html +4 -2
- package/dist/solutions-components/{p-ceffb944.entry.js → p-37372a3d.entry.js} +1 -1
- package/dist/solutions-components/{p-58c2de0d.js → p-37a58e04.js} +3 -3
- package/dist/solutions-components/p-54190edb.entry.js +6 -0
- package/dist/solutions-components/{p-fb1a6e2e.entry.js → p-5bd796dd.entry.js} +1 -1
- package/dist/solutions-components/p-64a0e0e7.entry.js +6 -0
- package/dist/solutions-components/{p-22edbea5.entry.js → p-ae221b83.entry.js} +1 -1
- package/dist/solutions-components/p-dc477b27.entry.js +6 -0
- package/dist/solutions-components/{p-63a6c23c.js → p-e94c7cf2.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +32 -22
- package/dist/solutions-components/utils/test/downloadUtils.spec.tsx +48 -0
- package/dist/types/components/edit-card/edit-card.d.ts +4 -0
- package/dist/types/utils/downloadUtils.d.ts +9 -8
- package/package.json +1 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/solutions-components/p-79c55b19.entry.js +0 -6
- package/dist/solutions-components/p-a3ef570f.entry.js +0 -6
- package/dist/solutions-components/p-e03226cf.entry.js +0 -6
@@ -32,7 +32,7 @@ export class MapLayerPicker {
|
|
32
32
|
this.placeholderIcon = "";
|
33
33
|
this.selectedIds = [];
|
34
34
|
this.scale = "m";
|
35
|
-
this.showTables =
|
35
|
+
this.showTables = undefined;
|
36
36
|
this.type = "select";
|
37
37
|
this._hasValidLayers = true;
|
38
38
|
this.ids = [];
|
@@ -435,8 +435,7 @@ export class MapLayerPicker {
|
|
435
435
|
"text": "boolean: when true standalone tables will also be available"
|
436
436
|
},
|
437
437
|
"attribute": "show-tables",
|
438
|
-
"reflect": false
|
439
|
-
"defaultValue": "true"
|
438
|
+
"reflect": false
|
440
439
|
},
|
441
440
|
"type": {
|
442
441
|
"type": "string",
|
@@ -205,7 +205,7 @@ export class MapSelectTools {
|
|
205
205
|
*/
|
206
206
|
_getUseLayerFeaturesOptions() {
|
207
207
|
const useLayerFeaturesClass = this._useLayerFeaturesEnabled ? "div-visible" : "div-not-visible";
|
208
|
-
return (h("div", null, h("div", { class: "padding-top-1 display-flex" }, h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, h("div", { class: "tooltip-container" }, this._translations.useLayerFeatures, h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "use-layer-features-icon", scale: "s" }))), h("calcite-popover", { closable: true, label: "", referenceElement: "use-layer-features-icon" }, h("span", { class: "tooltip-message" }, this._translations.useLayerFeaturesTooltip)), h("calcite-switch", { checked: this._useLayerFeaturesEnabled, onCalciteSwitchChange: () => { this._useLayerFeaturesEnabledChanged(); } })), h("div", { class: useLayerFeaturesClass + " padding-top-1" }, h("map-layer-picker", { enabledLayerIds: this.selectionLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedIds: this.layerViews.map(l => l.layer.id) }))));
|
208
|
+
return (h("div", null, h("div", { class: "padding-top-1 display-flex" }, h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, h("div", { class: "tooltip-container" }, this._translations.useLayerFeatures, h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "use-layer-features-icon", scale: "s" }))), h("calcite-popover", { closable: true, label: "", referenceElement: "use-layer-features-icon" }, h("span", { class: "tooltip-message" }, this._translations.useLayerFeaturesTooltip)), h("calcite-switch", { checked: this._useLayerFeaturesEnabled, onCalciteSwitchChange: () => { this._useLayerFeaturesEnabledChanged(); } })), h("div", { class: useLayerFeaturesClass + " padding-top-1" }, h("map-layer-picker", { enabledLayerIds: this.selectionLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedIds: this.layerViews.map(l => l.layer.id), showTables: false }))));
|
209
209
|
}
|
210
210
|
/**
|
211
211
|
* Renders the number of selected features
|
@@ -234,7 +234,7 @@ export class MapSelectTools {
|
|
234
234
|
* @protected
|
235
235
|
*/
|
236
236
|
_getMapLayerPicker() {
|
237
|
-
return (h("div", { class: "display-flex padding-sides-1 padding-bottom-1" }, h("calcite-label", { class: "font-bold width-full label-margin-0" }, this._translations.inputLayer, h("map-layer-picker", { enabledLayerIds: this.enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => this._inputLayerSelectionChange(evt), selectedIds: this.selectLayerView ? [this.selectLayerView.layer.id] : this.selectionSet ? [this.selectionSet.layerView.layer.id] : [] }))));
|
237
|
+
return (h("div", { class: "display-flex padding-sides-1 padding-bottom-1" }, h("calcite-label", { class: "font-bold width-full label-margin-0" }, this._translations.inputLayer, h("map-layer-picker", { enabledLayerIds: this.enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => this._inputLayerSelectionChange(evt), selectedIds: this.selectLayerView ? [this.selectLayerView.layer.id] : this.selectionSet ? [this.selectionSet.layerView.layer.id] : [], showTables: false }))));
|
238
238
|
}
|
239
239
|
//--------------------------------------------------------------------------
|
240
240
|
//
|
@@ -159,7 +159,7 @@ export class MapTools {
|
|
159
159
|
this._getActionGroup("basemap", false, this._translations.basemap, () => this._toggleBasemapPicker()) :
|
160
160
|
undefined, this.enableFloorFilter ?
|
161
161
|
this._getActionGroup("urban-model", false, this._translations.floorFilter, () => this._toggleFloorFilter()) :
|
162
|
-
undefined)), h("basemap-gallery", { basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, searchConfiguration: this.searchConfiguration }), h("map-legend", { class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { class: fullscreenClass, mapView: this.mapView, ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
|
162
|
+
undefined)), h("basemap-gallery", { basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), h("map-legend", { class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { class: fullscreenClass, mapView: this.mapView, ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
|
163
163
|
}
|
164
164
|
//--------------------------------------------------------------------------
|
165
165
|
//
|
@@ -77,7 +77,7 @@ export class RefineSelection {
|
|
77
77
|
render() {
|
78
78
|
var _a, _b;
|
79
79
|
const layerPickerClass = this._enabledLayerIds.length > 1 ? "display-block" : "display-none";
|
80
|
-
return (h(Host, null, h("div", { class: layerPickerClass + " padding-top-sides-1" }, h("div", { class: "display-flex" }, h("calcite-label", { class: "font-bold width-full label-margin-0" }, h("div", { class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedIds: [this._refineLayer.layer.id] })), h("calcite-popover", { closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { class: "padding-1" }, h("div", { class: "padding-bottom-1" }, h("calcite-segmented-control", { class: "w-100" }, h("calcite-segmented-control-item", { checked: this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, h("span", { class: "font-weight-500" }, this._translations.add)), h("calcite-segmented-control-item", { checked: !this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, h("span", { class: "font-weight-500" }, this._translations.remove)))), h("div", null, h("map-draw-tools", { active: true, drawMode: EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: ((_a = this._refineSelectionSet) === null || _a === void 0 ? void 0 : _a.redoStack.length) > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: ((_b = this._refineSelectionSet) === null || _b === void 0 ? void 0 : _b.undoStack.length) > 0 })), h("br", null), (h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
|
80
|
+
return (h(Host, null, h("div", { class: layerPickerClass + " padding-top-sides-1" }, h("div", { class: "display-flex" }, h("calcite-label", { class: "font-bold width-full label-margin-0" }, h("div", { class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedIds: [this._refineLayer.layer.id], showTables: false })), h("calcite-popover", { closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { class: "padding-1" }, h("div", { class: "padding-bottom-1" }, h("calcite-segmented-control", { class: "w-100" }, h("calcite-segmented-control-item", { checked: this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, h("span", { class: "font-weight-500" }, this._translations.add)), h("calcite-segmented-control-item", { checked: !this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, h("span", { class: "font-weight-500" }, this._translations.remove)))), h("div", null, h("map-draw-tools", { active: true, drawMode: EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: ((_a = this._refineSelectionSet) === null || _a === void 0 ? void 0 : _a.redoStack.length) > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: ((_b = this._refineSelectionSet) === null || _b === void 0 ? void 0 : _b.undoStack.length) > 0 })), h("br", null), (h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
|
81
81
|
}
|
82
82
|
//--------------------------------------------------------------------------
|
83
83
|
//
|
@@ -68,11 +68,13 @@
|
|
68
68
|
<script type="module" src="../solutions-components.esm.js"></script>
|
69
69
|
|
70
70
|
<script>
|
71
|
-
require(["esri/WebMap", "esri/views/MapView", "esri/widgets/Legend"], (
|
71
|
+
require(["esri/WebMap", "esri/views/MapView", "esri/widgets/Legend", "esri/config"], (
|
72
72
|
WebMap,
|
73
73
|
MapView,
|
74
|
-
Legend
|
74
|
+
Legend,
|
75
|
+
esriConfig
|
75
76
|
) => {
|
77
|
+
//esriConfig.portalUrl = "https://solutions.mapsdevext.arcgis.com";
|
76
78
|
var webMap = new WebMap({
|
77
79
|
portalItem: {
|
78
80
|
// solutions
|
@@ -27,21 +27,6 @@ import { queryFeaturesByID } from "./queryUtils";
|
|
27
27
|
export { ILabel } from "./pdfUtils";
|
28
28
|
const lineSeparatorChar = "|";
|
29
29
|
import { queryRelated } from "@esri/arcgis-rest-feature-layer";
|
30
|
-
/**
|
31
|
-
* Get the related records for a feature service.
|
32
|
-
*
|
33
|
-
* @param url Feature service's URL, e.g., layer.url
|
34
|
-
* @param relationshipId Id of relationship
|
35
|
-
* @param objectIds Objects in the feature service whose related records are sought
|
36
|
-
*/
|
37
|
-
export function getFeatureServiceRelatedRecords(url, relationshipId, objectIds) {
|
38
|
-
const options = {
|
39
|
-
url: url + `/${relationshipId}`,
|
40
|
-
relationshipId,
|
41
|
-
objectIds
|
42
|
-
};
|
43
|
-
return queryRelated(options);
|
44
|
-
}
|
45
30
|
//#endregion
|
46
31
|
// ------------------------------------------------------------------------------------------------------------------ //
|
47
32
|
//#region Public functions
|
@@ -120,7 +105,8 @@ export async function downloadPDF(webmap, exportInfos, labelPageDescription, rem
|
|
120
105
|
// Remove empty labels
|
121
106
|
.filter(label => label.length > 0);
|
122
107
|
labels = removeDuplicates ? removeDuplicateLabels(labels) : labels;
|
123
|
-
|
108
|
+
const exportTitle = title ? title : _createFilename(selectionSetNames);
|
109
|
+
exportPDF(exportTitle, labels, labelPageDescription, title, initialImageDataUrl);
|
124
110
|
return Promise.resolve();
|
125
111
|
}
|
126
112
|
/**
|
@@ -348,6 +334,27 @@ export function _getExpressionsFromLabel(labelFormat) {
|
|
348
334
|
const arcadeExpressionRegExp = /\{expression\/\w+\}/g;
|
349
335
|
return (_a = labelFormat.match(arcadeExpressionRegExp)) !== null && _a !== void 0 ? _a : [];
|
350
336
|
}
|
337
|
+
/**
|
338
|
+
* Get the related records for a feature service.
|
339
|
+
*
|
340
|
+
* @param url Feature service's URL, e.g., layer.url
|
341
|
+
* @param layerId Id of layer within a feature service
|
342
|
+
* @param relationshipId Id of relationship
|
343
|
+
* @param objectIds Objects in the feature service whose related records are sought
|
344
|
+
*/
|
345
|
+
export function _getFeatureServiceRelatedRecords(url, layerId, relationshipId, objectIds) {
|
346
|
+
// See if the URL points to a service rather than a layer
|
347
|
+
const endOfUrl = url.substring(url.lastIndexOf("/") + 1);
|
348
|
+
if (isNaN(parseInt(endOfUrl))) {
|
349
|
+
url += "/" + layerId.toString();
|
350
|
+
}
|
351
|
+
const options = {
|
352
|
+
url,
|
353
|
+
relationshipId,
|
354
|
+
objectIds
|
355
|
+
};
|
356
|
+
return queryRelated(options);
|
357
|
+
}
|
351
358
|
/**
|
352
359
|
* Extracts field name expressions from the lines of a label format.
|
353
360
|
*
|
@@ -543,7 +550,7 @@ export async function _prepareLabels(webmap, layer, ids, formatUsingLayerPopup =
|
|
543
550
|
let featureSet = [];
|
544
551
|
if (typeof (labelFormatProps.relationshipId) !== "undefined") {
|
545
552
|
// Get the related items for each id
|
546
|
-
const relatedRecResponse = await
|
553
|
+
const relatedRecResponse = await _getFeatureServiceRelatedRecords(layer.url, layer.layerId, labelFormatProps.relationshipId, ids);
|
547
554
|
const objectIdField = layer.objectIdField;
|
548
555
|
let relatedFeatureIds = [];
|
549
556
|
relatedRecResponse.relatedRecordGroups.forEach((relatedRecGroup) => {
|
@@ -91,26 +91,6 @@ import {
|
|
91
91
|
IRelatedRecordGroup,
|
92
92
|
queryRelated
|
93
93
|
} from "@esri/arcgis-rest-feature-layer";
|
94
|
-
/**
|
95
|
-
* Get the related records for a feature service.
|
96
|
-
*
|
97
|
-
* @param url Feature service's URL, e.g., layer.url
|
98
|
-
* @param relationshipId Id of relationship
|
99
|
-
* @param objectIds Objects in the feature service whose related records are sought
|
100
|
-
*/
|
101
|
-
export function getFeatureServiceRelatedRecords(
|
102
|
-
url: string,
|
103
|
-
relationshipId?: number,
|
104
|
-
objectIds?: number[]
|
105
|
-
): Promise<IQueryRelatedResponse> {
|
106
|
-
const options: IQueryRelatedOptions = {
|
107
|
-
url: url + `/${relationshipId}`,
|
108
|
-
relationshipId,
|
109
|
-
objectIds
|
110
|
-
}
|
111
|
-
|
112
|
-
return queryRelated(options);
|
113
|
-
}
|
114
94
|
|
115
95
|
//#endregion
|
116
96
|
// ------------------------------------------------------------------------------------------------------------------ //
|
@@ -221,7 +201,8 @@ export async function downloadPDF(
|
|
221
201
|
|
222
202
|
labels = removeDuplicates ? removeDuplicateLabels(labels) : labels;
|
223
203
|
|
224
|
-
|
204
|
+
const exportTitle = title ? title : _createFilename(selectionSetNames);
|
205
|
+
exportPDF(exportTitle, labels, labelPageDescription, title, initialImageDataUrl);
|
225
206
|
|
226
207
|
return Promise.resolve();
|
227
208
|
}
|
@@ -486,6 +467,35 @@ export function _getExpressionsFromLabel(
|
|
486
467
|
return labelFormat.match(arcadeExpressionRegExp) ?? [];
|
487
468
|
}
|
488
469
|
|
470
|
+
/**
|
471
|
+
* Get the related records for a feature service.
|
472
|
+
*
|
473
|
+
* @param url Feature service's URL, e.g., layer.url
|
474
|
+
* @param layerId Id of layer within a feature service
|
475
|
+
* @param relationshipId Id of relationship
|
476
|
+
* @param objectIds Objects in the feature service whose related records are sought
|
477
|
+
*/
|
478
|
+
export function _getFeatureServiceRelatedRecords(
|
479
|
+
url: string,
|
480
|
+
layerId: number,
|
481
|
+
relationshipId?: number,
|
482
|
+
objectIds?: number[]
|
483
|
+
): Promise<IQueryRelatedResponse> {
|
484
|
+
// See if the URL points to a service rather than a layer
|
485
|
+
const endOfUrl = url.substring(url.lastIndexOf("/") + 1);
|
486
|
+
if (isNaN(parseInt(endOfUrl))) {
|
487
|
+
url += "/" + layerId.toString();
|
488
|
+
}
|
489
|
+
|
490
|
+
const options: IQueryRelatedOptions = {
|
491
|
+
url,
|
492
|
+
relationshipId,
|
493
|
+
objectIds
|
494
|
+
}
|
495
|
+
|
496
|
+
return queryRelated(options);
|
497
|
+
}
|
498
|
+
|
489
499
|
/**
|
490
500
|
* Extracts field name expressions from the lines of a label format.
|
491
501
|
*
|
@@ -722,7 +732,7 @@ export async function _prepareLabels(
|
|
722
732
|
let featureSet: __esri.Graphic[] = [];
|
723
733
|
if (typeof(labelFormatProps.relationshipId) !== "undefined") {
|
724
734
|
// Get the related items for each id
|
725
|
-
const relatedRecResponse = await
|
735
|
+
const relatedRecResponse = await _getFeatureServiceRelatedRecords(layer.url, layer.layerId, labelFormatProps.relationshipId, ids);
|
726
736
|
|
727
737
|
const objectIdField = layer.objectIdField;
|
728
738
|
let relatedFeatureIds: number[] = [];
|
@@ -20,6 +20,7 @@
|
|
20
20
|
*/
|
21
21
|
import * as downloadUtils from "../downloadUtils";
|
22
22
|
import * as esriLoader from "esri-loader";
|
23
|
+
import * as restFeatureLayer from "@esri/arcgis-rest-feature-layer";
|
23
24
|
describe("downloadUtils", () => {
|
24
25
|
describe('removeDuplicateLabels', () => {
|
25
26
|
it('should remove duplicate labels', () => {
|
@@ -196,6 +197,48 @@ describe("downloadUtils", () => {
|
|
196
197
|
expect(expressions).toEqual(expectedExpressions);
|
197
198
|
});
|
198
199
|
});
|
200
|
+
describe("_getFeatureServiceRelatedRecords", () => {
|
201
|
+
it("handles a feature layer", () => {
|
202
|
+
const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/0";
|
203
|
+
const layerId = 5;
|
204
|
+
const expectedOptions = {
|
205
|
+
url
|
206
|
+
};
|
207
|
+
const queryResponse = { relatedRecordGroups: [] };
|
208
|
+
const queryRelatedSpy = jest.spyOn(restFeatureLayer, "queryRelated").mockResolvedValue(queryResponse);
|
209
|
+
void downloadUtils._getFeatureServiceRelatedRecords(url, layerId);
|
210
|
+
expect(queryRelatedSpy).toHaveBeenCalledWith(expectedOptions);
|
211
|
+
queryRelatedSpy.mockRestore();
|
212
|
+
});
|
213
|
+
it("handles a feature service", () => {
|
214
|
+
const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer";
|
215
|
+
const layerId = 5;
|
216
|
+
const expectedOptions = {
|
217
|
+
url: "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/5"
|
218
|
+
};
|
219
|
+
const queryResponse = { relatedRecordGroups: [] };
|
220
|
+
const queryRelatedSpy = jest.spyOn(restFeatureLayer, "queryRelated").mockResolvedValue(queryResponse);
|
221
|
+
void downloadUtils._getFeatureServiceRelatedRecords(url, layerId);
|
222
|
+
expect(queryRelatedSpy).toHaveBeenCalledWith(expectedOptions);
|
223
|
+
queryRelatedSpy.mockRestore();
|
224
|
+
});
|
225
|
+
it("handles a feature layer with relationship id and object ids supplied", () => {
|
226
|
+
const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/0";
|
227
|
+
const layerId = 5;
|
228
|
+
const relationshipId = 3;
|
229
|
+
const objectIds = [7, 8, 9];
|
230
|
+
const expectedOptions = {
|
231
|
+
url,
|
232
|
+
relationshipId,
|
233
|
+
objectIds
|
234
|
+
};
|
235
|
+
const queryResponse = { relatedRecordGroups: [] };
|
236
|
+
const queryRelatedSpy = jest.spyOn(restFeatureLayer, "queryRelated").mockResolvedValue(queryResponse);
|
237
|
+
void downloadUtils._getFeatureServiceRelatedRecords(url, layerId, relationshipId, objectIds);
|
238
|
+
expect(queryRelatedSpy).toHaveBeenCalledWith(expectedOptions);
|
239
|
+
queryRelatedSpy.mockRestore();
|
240
|
+
});
|
241
|
+
});
|
199
242
|
describe("_getFieldExpressionsFromLabel", () => {
|
200
243
|
it("handles a label with ASCII field names", () => {
|
201
244
|
const labelSpec = "{expression/expr0}\n{OWNERNM1}\n{PSTLADDRESS}\n{PSTLCITY}, {PSTLSTATE} {PSTLZIP5}";
|
@@ -16,6 +16,7 @@
|
|
16
16
|
|
17
17
|
import * as downloadUtils from "../downloadUtils";
|
18
18
|
import * as esriLoader from 'esri-loader';
|
19
|
+
import * as restFeatureLayer from "@esri/arcgis-rest-feature-layer";
|
19
20
|
|
20
21
|
describe("downloadUtils", () => {
|
21
22
|
|
@@ -261,6 +262,53 @@ describe("downloadUtils", () => {
|
|
261
262
|
|
262
263
|
});
|
263
264
|
|
265
|
+
describe("_getFeatureServiceRelatedRecords", () => {
|
266
|
+
|
267
|
+
it("handles a feature layer", () => {
|
268
|
+
const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/0";
|
269
|
+
const layerId = 5;
|
270
|
+
const expectedOptions: restFeatureLayer.IQueryRelatedOptions = {
|
271
|
+
url
|
272
|
+
};
|
273
|
+
const queryResponse: restFeatureLayer.IQueryRelatedResponse = { relatedRecordGroups: [] };
|
274
|
+
const queryRelatedSpy = jest.spyOn(restFeatureLayer, "queryRelated").mockResolvedValue(queryResponse);
|
275
|
+
void downloadUtils._getFeatureServiceRelatedRecords(url, layerId);
|
276
|
+
expect(queryRelatedSpy).toHaveBeenCalledWith(expectedOptions);
|
277
|
+
queryRelatedSpy.mockRestore();
|
278
|
+
});
|
279
|
+
|
280
|
+
it("handles a feature service", () => {
|
281
|
+
const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer";
|
282
|
+
const layerId = 5;
|
283
|
+
const expectedOptions: restFeatureLayer.IQueryRelatedOptions = {
|
284
|
+
url: "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/5"
|
285
|
+
};
|
286
|
+
const queryResponse: restFeatureLayer.IQueryRelatedResponse = { relatedRecordGroups: [] };
|
287
|
+
const queryRelatedSpy = jest.spyOn(restFeatureLayer, "queryRelated").mockResolvedValue(queryResponse);
|
288
|
+
void downloadUtils._getFeatureServiceRelatedRecords(url, layerId);
|
289
|
+
expect(queryRelatedSpy).toHaveBeenCalledWith(expectedOptions);
|
290
|
+
queryRelatedSpy.mockRestore();
|
291
|
+
});
|
292
|
+
|
293
|
+
it("handles a feature layer with relationship id and object ids supplied", () => {
|
294
|
+
const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/0";
|
295
|
+
const layerId = 5;
|
296
|
+
const relationshipId = 3;
|
297
|
+
const objectIds = [7, 8, 9];
|
298
|
+
const expectedOptions: restFeatureLayer.IQueryRelatedOptions = {
|
299
|
+
url,
|
300
|
+
relationshipId,
|
301
|
+
objectIds
|
302
|
+
};
|
303
|
+
const queryResponse: restFeatureLayer.IQueryRelatedResponse = { relatedRecordGroups: [] };
|
304
|
+
const queryRelatedSpy = jest.spyOn(restFeatureLayer, "queryRelated").mockResolvedValue(queryResponse);
|
305
|
+
void downloadUtils._getFeatureServiceRelatedRecords(url, layerId, relationshipId, objectIds);
|
306
|
+
expect(queryRelatedSpy).toHaveBeenCalledWith(expectedOptions);
|
307
|
+
queryRelatedSpy.mockRestore();
|
308
|
+
});
|
309
|
+
|
310
|
+
});
|
311
|
+
|
264
312
|
describe("_getFieldExpressionsFromLabel", () => {
|
265
313
|
|
266
314
|
it("handles a label with ASCII field names", () => {
|
@@ -2345,21 +2345,6 @@ function queryRelated(requestOptions) {
|
|
2345
2345
|
* limitations under the License.
|
2346
2346
|
*/
|
2347
2347
|
const lineSeparatorChar = "|";
|
2348
|
-
/**
|
2349
|
-
* Get the related records for a feature service.
|
2350
|
-
*
|
2351
|
-
* @param url Feature service's URL, e.g., layer.url
|
2352
|
-
* @param relationshipId Id of relationship
|
2353
|
-
* @param objectIds Objects in the feature service whose related records are sought
|
2354
|
-
*/
|
2355
|
-
function getFeatureServiceRelatedRecords(url, relationshipId, objectIds) {
|
2356
|
-
const options = {
|
2357
|
-
url: url + `/${relationshipId}`,
|
2358
|
-
relationshipId,
|
2359
|
-
objectIds
|
2360
|
-
};
|
2361
|
-
return queryRelated(options);
|
2362
|
-
}
|
2363
2348
|
//#endregion
|
2364
2349
|
// ------------------------------------------------------------------------------------------------------------------ //
|
2365
2350
|
//#region Public functions
|
@@ -2438,7 +2423,8 @@ async function downloadPDF(webmap, exportInfos, labelPageDescription, removeDupl
|
|
2438
2423
|
// Remove empty labels
|
2439
2424
|
.filter(label => label.length > 0);
|
2440
2425
|
labels = removeDuplicates ? removeDuplicateLabels(labels) : labels;
|
2441
|
-
|
2426
|
+
const exportTitle = title ? title : _createFilename(selectionSetNames);
|
2427
|
+
exportPDF(exportTitle, labels, labelPageDescription, title, initialImageDataUrl);
|
2442
2428
|
return Promise.resolve();
|
2443
2429
|
}
|
2444
2430
|
/**
|
@@ -2663,6 +2649,27 @@ function _getExpressionsFromLabel(labelFormat) {
|
|
2663
2649
|
const arcadeExpressionRegExp = /\{expression\/\w+\}/g;
|
2664
2650
|
return (_a = labelFormat.match(arcadeExpressionRegExp)) !== null && _a !== void 0 ? _a : [];
|
2665
2651
|
}
|
2652
|
+
/**
|
2653
|
+
* Get the related records for a feature service.
|
2654
|
+
*
|
2655
|
+
* @param url Feature service's URL, e.g., layer.url
|
2656
|
+
* @param layerId Id of layer within a feature service
|
2657
|
+
* @param relationshipId Id of relationship
|
2658
|
+
* @param objectIds Objects in the feature service whose related records are sought
|
2659
|
+
*/
|
2660
|
+
function _getFeatureServiceRelatedRecords(url, layerId, relationshipId, objectIds) {
|
2661
|
+
// See if the URL points to a service rather than a layer
|
2662
|
+
const endOfUrl = url.substring(url.lastIndexOf("/") + 1);
|
2663
|
+
if (isNaN(parseInt(endOfUrl))) {
|
2664
|
+
url += "/" + layerId.toString();
|
2665
|
+
}
|
2666
|
+
const options = {
|
2667
|
+
url,
|
2668
|
+
relationshipId,
|
2669
|
+
objectIds
|
2670
|
+
};
|
2671
|
+
return queryRelated(options);
|
2672
|
+
}
|
2666
2673
|
/**
|
2667
2674
|
* Extracts field name expressions from the lines of a label format.
|
2668
2675
|
*
|
@@ -2858,7 +2865,7 @@ async function _prepareLabels(webmap, layer, ids, formatUsingLayerPopup = true,
|
|
2858
2865
|
let featureSet = [];
|
2859
2866
|
if (typeof (labelFormatProps.relationshipId) !== "undefined") {
|
2860
2867
|
// Get the related items for each id
|
2861
|
-
const relatedRecResponse = await
|
2868
|
+
const relatedRecResponse = await _getFeatureServiceRelatedRecords(layer.url, layer.layerId, labelFormatProps.relationshipId, ids);
|
2862
2869
|
const objectIdField = layer.objectIdField;
|
2863
2870
|
let relatedFeatureIds = [];
|
2864
2871
|
relatedRecResponse.relatedRecordGroups.forEach((relatedRecGroup) => {
|
@@ -6,7 +6,8 @@
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
7
7
|
import { l as loadModules } from './loadModules.js';
|
8
8
|
import { g as getLocaleComponentStrings } from './locale.js';
|
9
|
-
import { d as defineCustomElement$
|
9
|
+
import { d as defineCustomElement$3 } from './icon.js';
|
10
|
+
import { d as defineCustomElement$2 } from './loader.js';
|
10
11
|
import { d as defineCustomElement$1 } from './notice.js';
|
11
12
|
|
12
13
|
const editCardCss = ":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{--calcite-ui-background:none;padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-ui-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-ui-foreground-1) !important}.esri-editor__panel-toolbar{display:none !important}";
|
@@ -25,6 +26,7 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
|
|
25
26
|
this.mapView = undefined;
|
26
27
|
this.open = false;
|
27
28
|
this.graphicIndex = 0;
|
29
|
+
this._editorLoading = false;
|
28
30
|
this._translations = undefined;
|
29
31
|
}
|
30
32
|
//--------------------------------------------------------------------------
|
@@ -44,11 +46,13 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
|
|
44
46
|
async openWatchHandler(v) {
|
45
47
|
var _a;
|
46
48
|
if (v && ((_a = this.graphics) === null || _a === void 0 ? void 0 : _a.length) > 0 && this.graphicIndex > -1) {
|
49
|
+
this._editorLoading = true;
|
47
50
|
this._initEditorWidget();
|
48
51
|
if (this.graphicIndex > -1 && this.graphics.length > 0 && this.open && !this._shouldClose) {
|
49
52
|
await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]);
|
50
53
|
this._shouldClose = true;
|
51
54
|
}
|
55
|
+
this._editorLoading = false;
|
52
56
|
}
|
53
57
|
if (!v) {
|
54
58
|
this._shouldClose = false;
|
@@ -88,11 +92,13 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
|
|
88
92
|
this._layerEditHandle.remove();
|
89
93
|
}
|
90
94
|
this._layerEditHandle = this._layer.on("edits", () => {
|
95
|
+
this._editorLoading = true;
|
91
96
|
this.editsComplete.emit();
|
92
97
|
this._shouldClose = false;
|
93
98
|
this._initEditorWidget();
|
94
99
|
void this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]);
|
95
100
|
this._shouldClose = true;
|
101
|
+
this._editorLoading = false;
|
96
102
|
});
|
97
103
|
}
|
98
104
|
}
|
@@ -105,7 +111,9 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
|
|
105
111
|
// when you use MULTI edit mode...is fine in SINGLE
|
106
112
|
const editDisabled = ((_a = this.graphics) === null || _a === void 0 ? void 0 : _a.length) > 0 && this.graphics[0] ?
|
107
113
|
!this.graphics[0].layer.editingEnabled : true;
|
108
|
-
|
114
|
+
const tableNodeClass = this._editorLoading ? "display-none" : "";
|
115
|
+
const loadingClass = this._editorLoading ? "" : "display-none";
|
116
|
+
return (h(Host, null, h("div", { class: "position-relative" }, editDisabled ? (h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, h("div", { slot: "content" }, h("div", { class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), h("calcite-loader", { class: loadingClass, scale: "s" })))));
|
109
117
|
}
|
110
118
|
//--------------------------------------------------------------------------
|
111
119
|
//
|
@@ -194,6 +202,7 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
|
|
194
202
|
"mapView": [16],
|
195
203
|
"open": [1028],
|
196
204
|
"graphicIndex": [2, "graphic-index"],
|
205
|
+
"_editorLoading": [32],
|
197
206
|
"_translations": [32]
|
198
207
|
}, undefined, {
|
199
208
|
"graphics": ["graphicsWatchHandler"],
|
@@ -203,7 +212,7 @@ function defineCustomElement() {
|
|
203
212
|
if (typeof customElements === "undefined") {
|
204
213
|
return;
|
205
214
|
}
|
206
|
-
const components = ["edit-card", "calcite-icon", "calcite-notice"];
|
215
|
+
const components = ["edit-card", "calcite-icon", "calcite-loader", "calcite-notice"];
|
207
216
|
components.forEach(tagName => { switch (tagName) {
|
208
217
|
case "edit-card":
|
209
218
|
if (!customElements.get(tagName)) {
|
@@ -211,6 +220,11 @@ function defineCustomElement() {
|
|
211
220
|
}
|
212
221
|
break;
|
213
222
|
case "calcite-icon":
|
223
|
+
if (!customElements.get(tagName)) {
|
224
|
+
defineCustomElement$3();
|
225
|
+
}
|
226
|
+
break;
|
227
|
+
case "calcite-loader":
|
214
228
|
if (!customElements.get(tagName)) {
|
215
229
|
defineCustomElement$2();
|
216
230
|
}
|
@@ -16,7 +16,7 @@ import { d as defineCustomElement$3 } from './shell.js';
|
|
16
16
|
import { d as defineCustomElement$2 } from './tooltip.js';
|
17
17
|
import { d as defineCustomElement$1 } from './edit-card2.js';
|
18
18
|
|
19
|
-
const infoCardCss = ":host{display:block;--calcite-label-margin-bottom:0}table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:8px}tr:nth-child(odd){background:var(--calcite-ui-foreground-2)}.bottom-border{padding-bottom:0.5rem;border-bottom:1px solid var(--calcite-ui-border-1)}.padding-1-2{padding:0.5rem}.padding-top-1-2{padding-top:0.5rem}.font-color-3{color:var(--calcite-ui-text-3)}.display-none{display:none}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-features__footer{display:none !important}.button-container{justify-content:space-between;align-items:center}.top-border{border-top:1px solid var(--calcite-ui-border-1)}.min-width-100{min-width:100px}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-ui-foreground-1) !important;height:100% !important}";
|
19
|
+
const infoCardCss = ":host{display:block;--calcite-label-margin-bottom:0}table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:8px}tr:nth-child(odd){background:var(--calcite-ui-foreground-2)}.bottom-border{padding-bottom:0.5rem;border-bottom:1px solid var(--calcite-ui-border-1)}.padding-1-2{padding:0.5rem}.padding-top-1-2{padding-top:0.5rem}.font-color-3{color:var(--calcite-ui-text-3)}.display-none{display:none !important}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-features__footer{display:none !important}.button-container{justify-content:space-between;align-items:center}.top-border{border-top:1px solid var(--calcite-ui-border-1)}.min-width-100{min-width:100px}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-ui-foreground-1) !important;height:100% !important}";
|
20
20
|
|
21
21
|
const InfoCard = /*@__PURE__*/ proxyCustomElement(class InfoCard extends HTMLElement {
|
22
22
|
constructor() {
|
@@ -34,7 +34,7 @@ import { d as defineCustomElement$3 } from './shell.js';
|
|
34
34
|
import { d as defineCustomElement$2 } from './tooltip.js';
|
35
35
|
import { d as defineCustomElement$1 } from './map-layer-picker2.js';
|
36
36
|
|
37
|
-
const layerTableCss = ":host{display:block}.height-full{height:100%}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-ui-border-2)}.border-end{border-inline-end:1px solid var(--calcite-ui-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.bottom-left{position:absolute;left:0;bottom:0}html[dir=\"rtl\"] .bottom-left{position:absolute;right:0;bottom:0}.background{background-color:var(--calcite-ui-background)}.text-color{color:var(--calcite-ui-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-ui-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{padding:var(--lumo-space-xs) var(--lumo-space-m) !important}";
|
37
|
+
const layerTableCss = ":host{display:block}.height-full{height:100%}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-ui-border-2)}.border-end{border-inline-end:1px solid var(--calcite-ui-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.bottom-left{position:absolute;left:0;bottom:0}html[dir=\"rtl\"] .bottom-left{position:absolute;right:0;bottom:0}.background{background-color:var(--calcite-ui-background)}.text-color{color:var(--calcite-ui-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-ui-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{padding:var(--lumo-space-xs) var(--lumo-space-m) !important;font-size:14px !important}";
|
38
38
|
|
39
39
|
const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTMLElement {
|
40
40
|
constructor() {
|
@@ -223,7 +223,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
223
223
|
var _a;
|
224
224
|
const featuresSelected = this._selectedIndexes.length > 0;
|
225
225
|
const id = "more-table-options";
|
226
|
-
return (h("div", { class: "display-flex table-border height-51", slot: slot }, h("calcite-action-bar", { expandDisabled: true, expanded: true, layout: "horizontal" }, h("div", { class: "border-end" }, h("map-layer-picker", { appearance: "transparent", mapView: this.mapView, onLayerSelectionChange: (evt) => this._layerSelectionChanged(evt), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", scale: "l", type: "dropdown" })), this._getAction("zoom-to-object", this._translations.zoom, () => this._zoom(), !featuresSelected), ((_a = this.mapInfo) === null || _a === void 0 ? void 0 : _a.filters) ? this._getAction("filter", this._translations.filters, () => this._filter(), false) : undefined, this._deleteEnabled ? this._getDangerAction("trash", this._translations.delete, () => this._delete(), !featuresSelected) : undefined, this._getAction("erase", this._translations.clearSelection, () => this._clearSelection(), !featuresSelected), this._getAction("selected-items-filter", this._showOnlySelected ? this._translations.showAll : this._translations.showSelected, () => this._toggleShowSelected(), !featuresSelected)), h("calcite-dropdown", { disabled: this._layer === undefined }, h("calcite-action", { appearance: "solid", id: id, label: "", slot: "trigger", text: "" }, h("calcite-button", { appearance: "transparent", iconEnd: "chevron-down", kind: "neutral" }, this._translations.more)), h("calcite-dropdown-group", { "selection-mode": "none" }, h("calcite-dropdown-item", { iconStart: "list-check-all", onClick: () => this._selectAll() }, this._translations.selectAll), h("calcite-dropdown-item", { iconStart: "compare", onClick: () => this._switchSelected() }, this._translations.switchSelected), h("calcite-dropdown-item", { iconStart: "refresh", onClick: () => this._refresh() }, this._translations.refresh), h("calcite-dropdown-item", { iconStart: "export", onClick: () => void this._exportToCSV() }, this._translations.exportCSV))), h("calcite-tooltip", { label: "", placement: "bottom", "reference-element": id }, h("span", null, this._translations.moreOptions))));
|
226
|
+
return (h("div", { class: "display-flex table-border height-51", slot: slot }, h("calcite-action-bar", { expandDisabled: true, expanded: true, layout: "horizontal" }, h("div", { class: "border-end" }, h("map-layer-picker", { appearance: "transparent", mapView: this.mapView, onLayerSelectionChange: (evt) => this._layerSelectionChanged(evt), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", scale: "l", showTables: true, type: "dropdown" })), this._getAction("zoom-to-object", this._translations.zoom, () => this._zoom(), !featuresSelected), ((_a = this.mapInfo) === null || _a === void 0 ? void 0 : _a.filters) ? this._getAction("filter", this._translations.filters, () => this._filter(), false) : undefined, this._deleteEnabled ? this._getDangerAction("trash", this._translations.delete, () => this._delete(), !featuresSelected) : undefined, this._getAction("erase", this._translations.clearSelection, () => this._clearSelection(), !featuresSelected), this._getAction("selected-items-filter", this._showOnlySelected ? this._translations.showAll : this._translations.showSelected, () => this._toggleShowSelected(), !featuresSelected)), h("calcite-dropdown", { disabled: this._layer === undefined }, h("calcite-action", { appearance: "solid", id: id, label: "", slot: "trigger", text: "" }, h("calcite-button", { appearance: "transparent", iconEnd: "chevron-down", kind: "neutral" }, this._translations.more)), h("calcite-dropdown-group", { "selection-mode": "none" }, h("calcite-dropdown-item", { iconStart: "list-check-all", onClick: () => this._selectAll() }, this._translations.selectAll), h("calcite-dropdown-item", { iconStart: "compare", onClick: () => this._switchSelected() }, this._translations.switchSelected), h("calcite-dropdown-item", { iconStart: "refresh", onClick: () => this._refresh() }, this._translations.refresh), h("calcite-dropdown-item", { iconStart: "export", onClick: () => void this._exportToCSV() }, this._translations.exportCSV))), h("calcite-tooltip", { label: "", placement: "bottom", "reference-element": id }, h("span", null, this._translations.moreOptions))));
|
227
227
|
}
|
228
228
|
/**
|
229
229
|
* Get an action and tooltip
|
@@ -38,7 +38,7 @@ const MapLayerPicker = /*@__PURE__*/ proxyCustomElement(class MapLayerPicker ext
|
|
38
38
|
this.placeholderIcon = "";
|
39
39
|
this.selectedIds = [];
|
40
40
|
this.scale = "m";
|
41
|
-
this.showTables =
|
41
|
+
this.showTables = undefined;
|
42
42
|
this.type = "select";
|
43
43
|
this._hasValidLayers = true;
|
44
44
|
this.ids = [];
|
@@ -221,7 +221,7 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
|
|
221
221
|
*/
|
222
222
|
_getUseLayerFeaturesOptions() {
|
223
223
|
const useLayerFeaturesClass = this._useLayerFeaturesEnabled ? "div-visible" : "div-not-visible";
|
224
|
-
return (h("div", null, h("div", { class: "padding-top-1 display-flex" }, h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, h("div", { class: "tooltip-container" }, this._translations.useLayerFeatures, h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "use-layer-features-icon", scale: "s" }))), h("calcite-popover", { closable: true, label: "", referenceElement: "use-layer-features-icon" }, h("span", { class: "tooltip-message" }, this._translations.useLayerFeaturesTooltip)), h("calcite-switch", { checked: this._useLayerFeaturesEnabled, onCalciteSwitchChange: () => { this._useLayerFeaturesEnabledChanged(); } })), h("div", { class: useLayerFeaturesClass + " padding-top-1" }, h("map-layer-picker", { enabledLayerIds: this.selectionLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedIds: this.layerViews.map(l => l.layer.id) }))));
|
224
|
+
return (h("div", null, h("div", { class: "padding-top-1 display-flex" }, h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, h("div", { class: "tooltip-container" }, this._translations.useLayerFeatures, h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "use-layer-features-icon", scale: "s" }))), h("calcite-popover", { closable: true, label: "", referenceElement: "use-layer-features-icon" }, h("span", { class: "tooltip-message" }, this._translations.useLayerFeaturesTooltip)), h("calcite-switch", { checked: this._useLayerFeaturesEnabled, onCalciteSwitchChange: () => { this._useLayerFeaturesEnabledChanged(); } })), h("div", { class: useLayerFeaturesClass + " padding-top-1" }, h("map-layer-picker", { enabledLayerIds: this.selectionLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedIds: this.layerViews.map(l => l.layer.id), showTables: false }))));
|
225
225
|
}
|
226
226
|
/**
|
227
227
|
* Renders the number of selected features
|
@@ -250,7 +250,7 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
|
|
250
250
|
* @protected
|
251
251
|
*/
|
252
252
|
_getMapLayerPicker() {
|
253
|
-
return (h("div", { class: "display-flex padding-sides-1 padding-bottom-1" }, h("calcite-label", { class: "font-bold width-full label-margin-0" }, this._translations.inputLayer, h("map-layer-picker", { enabledLayerIds: this.enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => this._inputLayerSelectionChange(evt), selectedIds: this.selectLayerView ? [this.selectLayerView.layer.id] : this.selectionSet ? [this.selectionSet.layerView.layer.id] : [] }))));
|
253
|
+
return (h("div", { class: "display-flex padding-sides-1 padding-bottom-1" }, h("calcite-label", { class: "font-bold width-full label-margin-0" }, this._translations.inputLayer, h("map-layer-picker", { enabledLayerIds: this.enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => this._inputLayerSelectionChange(evt), selectedIds: this.selectLayerView ? [this.selectLayerView.layer.id] : this.selectionSet ? [this.selectionSet.layerView.layer.id] : [], showTables: false }))));
|
254
254
|
}
|
255
255
|
//--------------------------------------------------------------------------
|
256
256
|
//
|
@@ -159,7 +159,7 @@ const MapTools = /*@__PURE__*/ proxyCustomElement(class MapTools extends HTMLEle
|
|
159
159
|
this._getActionGroup("basemap", false, this._translations.basemap, () => this._toggleBasemapPicker()) :
|
160
160
|
undefined, this.enableFloorFilter ?
|
161
161
|
this._getActionGroup("urban-model", false, this._translations.floorFilter, () => this._toggleFloorFilter()) :
|
162
|
-
undefined)), h("basemap-gallery", { basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, searchConfiguration: this.searchConfiguration }), h("map-legend", { class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { class: fullscreenClass, mapView: this.mapView, ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
|
162
|
+
undefined)), h("basemap-gallery", { basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), h("map-legend", { class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { class: fullscreenClass, mapView: this.mapView, ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
|
163
163
|
}
|
164
164
|
//--------------------------------------------------------------------------
|
165
165
|
//
|
@@ -97,7 +97,7 @@ const RefineSelection = /*@__PURE__*/ proxyCustomElement(class RefineSelection e
|
|
97
97
|
render() {
|
98
98
|
var _a, _b;
|
99
99
|
const layerPickerClass = this._enabledLayerIds.length > 1 ? "display-block" : "display-none";
|
100
|
-
return (h(Host, null, h("div", { class: layerPickerClass + " padding-top-sides-1" }, h("div", { class: "display-flex" }, h("calcite-label", { class: "font-bold width-full label-margin-0" }, h("div", { class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedIds: [this._refineLayer.layer.id] })), h("calcite-popover", { closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { class: "padding-1" }, h("div", { class: "padding-bottom-1" }, h("calcite-segmented-control", { class: "w-100" }, h("calcite-segmented-control-item", { checked: this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, h("span", { class: "font-weight-500" }, this._translations.add)), h("calcite-segmented-control-item", { checked: !this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, h("span", { class: "font-weight-500" }, this._translations.remove)))), h("div", null, h("map-draw-tools", { active: true, drawMode: EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: ((_a = this._refineSelectionSet) === null || _a === void 0 ? void 0 : _a.redoStack.length) > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: ((_b = this._refineSelectionSet) === null || _b === void 0 ? void 0 : _b.undoStack.length) > 0 })), h("br", null), (h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
|
100
|
+
return (h(Host, null, h("div", { class: layerPickerClass + " padding-top-sides-1" }, h("div", { class: "display-flex" }, h("calcite-label", { class: "font-bold width-full label-margin-0" }, h("div", { class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedIds: [this._refineLayer.layer.id], showTables: false })), h("calcite-popover", { closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { class: "padding-1" }, h("div", { class: "padding-bottom-1" }, h("calcite-segmented-control", { class: "w-100" }, h("calcite-segmented-control-item", { checked: this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, h("span", { class: "font-weight-500" }, this._translations.add)), h("calcite-segmented-control-item", { checked: !this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, h("span", { class: "font-weight-500" }, this._translations.remove)))), h("div", null, h("map-draw-tools", { active: true, drawMode: EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: ((_a = this._refineSelectionSet) === null || _a === void 0 ? void 0 : _a.redoStack.length) > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: ((_b = this._refineSelectionSet) === null || _b === void 0 ? void 0 : _b.undoStack.length) > 0 })), h("br", null), (h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
|
101
101
|
}
|
102
102
|
//--------------------------------------------------------------------------
|
103
103
|
//
|
@@ -848,7 +848,7 @@ const MapTools = class {
|
|
848
848
|
this._getActionGroup("basemap", false, this._translations.basemap, () => this._toggleBasemapPicker()) :
|
849
849
|
undefined, this.enableFloorFilter ?
|
850
850
|
this._getActionGroup("urban-model", false, this._translations.floorFilter, () => this._toggleFloorFilter()) :
|
851
|
-
undefined)), h("basemap-gallery", { basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, searchConfiguration: this.searchConfiguration }), h("map-legend", { class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { class: fullscreenClass, mapView: this.mapView, ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
|
851
|
+
undefined)), h("basemap-gallery", { basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), h("map-legend", { class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { class: fullscreenClass, mapView: this.mapView, ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
|
852
852
|
}
|
853
853
|
//--------------------------------------------------------------------------
|
854
854
|
//
|