@esri/solutions-components 0.6.22 → 0.6.25
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/ExpandToggle-d2cec8de.js +118 -0
- package/dist/cjs/FloatingArrow-814ce566.js +48 -0
- package/dist/cjs/Heading-2665acd8.js +25 -0
- package/dist/cjs/app-globals-8afc8fa0.js +69 -0
- package/dist/cjs/ar-b68e4248.js +103 -0
- package/dist/cjs/array-d55de2d5.js +17 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +23 -14
- package/dist/cjs/bg-451cb8df.js +81 -0
- package/dist/cjs/browser-09760f9f.js +23 -0
- package/dist/cjs/bs-36760197.js +50 -0
- package/dist/cjs/buffer-tools_4.cjs.entry.js +14 -14
- package/dist/cjs/ca-0159f257.js +70 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +6 -6
- package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-bar_3.cjs.entry.js +42 -34
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +19 -17
- package/dist/cjs/calcite-action-pad.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action_2.cjs.entry.js +18 -18
- package/dist/cjs/calcite-alert_3.cjs.entry.js +734 -0
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block-section.cjs.entry.js +9 -9
- package/dist/cjs/calcite-block.cjs.entry.js +44 -14
- package/dist/cjs/calcite-button.cjs.entry.js +21 -15
- package/dist/cjs/calcite-card.cjs.entry.js +9 -9
- package/dist/cjs/calcite-checkbox_3.cjs.entry.js +62 -85
- package/dist/cjs/calcite-chip-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +42 -44
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +28 -17
- package/dist/cjs/calcite-flow.cjs.entry.js +7 -4
- package/dist/cjs/calcite-graph.cjs.entry.js +3 -3
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +22 -21
- package/dist/cjs/calcite-input-number_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-time-picker-ccb59f65.js +1848 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +17 -16
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +142 -49
- package/dist/cjs/calcite-input_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
- package/dist/cjs/calcite-menu-item.cjs.entry.js +9 -9
- package/dist/cjs/calcite-menu.cjs.entry.js +11 -76
- package/dist/cjs/calcite-meter.cjs.entry.js +9 -9
- package/dist/cjs/calcite-modal.cjs.entry.js +12 -12
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation.cjs.entry.js +5 -5
- package/dist/cjs/calcite-notice_2.cjs.entry.js +45 -19
- package/dist/cjs/calcite-option_2.cjs.entry.js +14 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +132 -63
- package/dist/cjs/calcite-panel_2.cjs.entry.js +39 -35
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pick-list.cjs.entry.js +11 -11
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +8 -8
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-sheet.cjs.entry.js +8 -8
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +25 -24
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +28 -12
- package/dist/cjs/calcite-stepper.cjs.entry.js +13 -13
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +15 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +6 -6
- package/dist/cjs/calcite-table.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tile-select.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-time-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip.cjs.entry.js +10 -10
- package/dist/cjs/card-manager_3.cjs.entry.js +15 -47
- package/dist/cjs/conditionalSlot-b6c29b8c.js +63 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -2
- package/dist/cjs/cs-5f80bd6e.js +146 -0
- package/dist/cjs/da-aca16382.js +65 -0
- package/dist/cjs/date-60e18f3e.js +261 -0
- package/dist/cjs/de-at-0a13e71d.js +89 -0
- package/dist/cjs/de-ch-43d6d352.js +89 -0
- package/dist/cjs/de-ea9b8674.js +90 -0
- package/dist/cjs/dom-c585dfa7.js +1061 -0
- package/dist/cjs/downloadUtils-84024878.js +3012 -0
- package/dist/cjs/el-7ac6dd9a.js +65 -0
- package/dist/cjs/en-au-5de83593.js +65 -0
- package/dist/cjs/en-ca-a61f6ba9.js +64 -0
- package/dist/cjs/en-gb-1338ef98.js +68 -0
- package/dist/cjs/es-64cdf5af.js +65 -0
- package/dist/cjs/es-mx-25166a52.js +64 -0
- package/dist/cjs/et-99cffe63.js +91 -0
- package/dist/cjs/fi-2ed1b695.js +114 -0
- package/dist/cjs/filter-a4465208.js +765 -0
- package/dist/cjs/floating-ui-3625f253.js +1904 -0
- package/dist/cjs/focusTrapComponent-919e5636.js +1009 -0
- package/dist/cjs/form-88dd1a8a.js +288 -0
- package/dist/cjs/fr-1ad89d6e.js +67 -0
- package/dist/cjs/fr-ch-e2b274f9.js +65 -0
- package/dist/cjs/globalAttributes-bb9603f4.js +77 -0
- package/dist/cjs/guid-5ef151a6.js +26 -0
- package/dist/cjs/he-de9f7309.js +104 -0
- package/dist/cjs/hi-972ca162.js +64 -0
- package/dist/cjs/hr-9340950d.js +79 -0
- package/dist/cjs/hu-3fa1a13d.js +87 -0
- package/dist/cjs/id-1de2751e.js +65 -0
- package/dist/cjs/index-22e2d297.js +172 -0
- package/dist/cjs/index-6b21a03f.js +73 -0
- package/dist/cjs/index.es-eb7cf427.js +10809 -0
- package/dist/cjs/interactive-17168f1c.js +147 -0
- package/dist/cjs/it-7c92766b.js +65 -0
- package/dist/cjs/it-ch-291b8188.js +65 -0
- package/dist/cjs/ja-3e145c4f.js +71 -0
- package/dist/cjs/key-29076628.js +19 -0
- package/dist/cjs/ko-1b8f5e87.js +71 -0
- package/dist/cjs/label-a44d17b9.js +154 -0
- package/dist/cjs/loadable-f8b40373.js +94 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/locale-62c20bcc.js +607 -0
- package/dist/cjs/lt-200e08d2.js +96 -0
- package/dist/cjs/lv-6e5561b5.js +65 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/math-1e2752e6.js +60 -0
- package/dist/cjs/mk-530773b7.js +65 -0
- package/dist/cjs/nb-6f6747f3.js +66 -0
- package/dist/cjs/nl-c6b3e47a.js +66 -0
- package/dist/cjs/observers-ee7eadc4.js +53 -0
- package/dist/cjs/openCloseComponent-71c34b2c.js +92 -0
- package/dist/cjs/pl-860110bc.js +113 -0
- package/dist/cjs/pt-6e3d2514.js +66 -0
- package/dist/cjs/pt-br-66b1bb2b.js +64 -0
- package/dist/cjs/public-notification.cjs.entry.js +1 -1
- package/dist/cjs/resources-3a88b7d8.js +2062 -0
- package/dist/cjs/resources-4548c1f4.js +29 -0
- package/dist/cjs/resources-4671a126.js +20 -0
- package/dist/cjs/resources-49866a7a.js +52 -0
- package/dist/cjs/resources-85c1ae6a.js +27 -0
- package/dist/cjs/resources-876c9b89.js +29 -0
- package/dist/cjs/resources-9dcc553a.js +39 -0
- package/dist/cjs/resources-be3c1b4b.js +26 -0
- package/dist/cjs/resources-d8917c46.js +32 -0
- package/dist/cjs/resources-d89b020a.js +23 -0
- package/dist/cjs/responsive-b6e86bcb.js +44 -0
- package/dist/cjs/ro-bd6b21e5.js +65 -0
- package/dist/cjs/ru-fea2a60c.js +125 -0
- package/dist/cjs/shared-list-render-b1b515ba.js +364 -0
- package/dist/cjs/sk-f4693451.js +147 -0
- package/dist/cjs/sl-ba030ced.js +167 -0
- package/dist/cjs/solutions-components.cjs.js +3 -3
- package/dist/cjs/sortableComponent-f9fbabf1.js +3107 -0
- package/dist/cjs/sr-a3aeccbd.js +100 -0
- package/dist/cjs/sv-f96afdb7.js +70 -0
- package/dist/cjs/t9n-47b85291.js +100 -0
- package/dist/cjs/th-7be3c0cf.js +64 -0
- package/dist/cjs/time-5c558990.js +289 -0
- package/dist/cjs/tr-2bf900ba.js +65 -0
- package/dist/cjs/uk-8d7c74d5.js +103 -0
- package/dist/cjs/utils-a3c937c3.js +59 -0
- package/dist/cjs/utils-bbda4ba3.js +93 -0
- package/dist/cjs/utils-e90327b4.js +64 -0
- package/dist/cjs/utils-e99ff998.js +221 -0
- package/dist/cjs/vi-c010010c.js +69 -0
- package/dist/cjs/zh-cn-089aaea3.js +93 -0
- package/dist/cjs/zh-hk-0676f0be.js +70 -0
- package/dist/cjs/zh-tw-acce58bc.js +91 -0
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +22 -13
- package/dist/collection/components/card-manager/card-manager.js +2 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +5 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +20 -1
- package/dist/collection/components/edit-card/edit-card.js +0 -5
- package/dist/collection/components/layer-table/layer-table.css +4 -4
- package/dist/collection/components/layer-table/layer-table.js +30 -74
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/utils/downloadUtils.js +24 -17
- package/dist/collection/utils/downloadUtils.ts +32 -22
- package/dist/collection/utils/interfaces.ts +1 -0
- package/dist/collection/utils/test/downloadUtils.spec.js +43 -0
- package/dist/collection/utils/test/downloadUtils.spec.tsx +48 -0
- package/dist/components/ExpandToggle.js +6 -5
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-bar.js +9 -5
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +9 -5
- package/dist/components/action.js +1 -1
- package/dist/components/alert.js +71 -34
- package/dist/components/ar.js +3 -0
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/basemap-gallery2.js +22 -13
- package/dist/components/button.js +10 -3
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +33 -2
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-flow-item.js +20 -6
- package/dist/components/calcite-flow.js +5 -2
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +6 -4
- package/dist/components/calcite-input-time-picker.js +38 -10
- package/dist/components/calcite-input-time-zone.js +139 -39
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +19 -4
- package/dist/components/calcite-stepper.js +11 -11
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/card-manager2.js +2 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +16 -23
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/crowdsource-manager.js +4 -2
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/downloadUtils.js +24 -17
- package/dist/components/dropdown-group.js +6 -0
- package/dist/components/dropdown.js +2 -3
- package/dist/components/edit-card2.js +0 -5
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +30 -14
- package/dist/components/focusTrapComponent.js +2 -2
- package/dist/components/form.js +1 -1
- package/dist/components/globalAttributes.js +74 -0
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/index4.js +170 -0
- package/dist/components/index5.js +71 -0
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +2 -2
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/layer-table2.js +24 -63
- package/dist/components/list.js +16 -12
- package/dist/components/loadable.js +1 -1
- package/dist/components/locale2.js +2 -2
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -67
- package/dist/components/modal.js +1 -1
- package/dist/components/notice.js +31 -3
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/option.js +4 -3
- package/dist/components/pagination.js +132 -58
- package/dist/components/panel.js +30 -21
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/responsive.js +42 -0
- package/dist/components/scrim.js +1 -1
- package/dist/components/segmented-control-item.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/shell-panel.js +1 -1
- package/dist/components/shell.js +1 -1
- package/dist/components/sl.js +114 -12
- package/dist/components/slider.js +1 -1
- package/dist/components/sortableComponent.js +5 -5
- package/dist/components/stack.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -0
- package/dist/components/tab-title.js +1 -1
- package/dist/components/table-cell.js +6 -2
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +3 -3
- package/dist/components/tree-item.js +3 -13
- package/dist/components/tree.js +48 -61
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- package/dist/components/utils3.js +2 -2
- package/dist/components/value-list-item.js +1 -1
- package/dist/components/value-list.js +2 -2
- package/dist/esm/ExpandToggle-3973cf71.js +110 -0
- package/dist/esm/FloatingArrow-bfb95cb7.js +46 -0
- package/dist/esm/Heading-a3130bc6.js +22 -0
- package/dist/esm/app-globals-d6e155e2.js +67 -0
- package/dist/esm/ar-e66d9603.js +101 -0
- package/dist/esm/array-3a471981.js +15 -0
- package/dist/esm/basemap-gallery_7.entry.js +23 -14
- package/dist/esm/bg-e3cef9f9.js +79 -0
- package/dist/esm/browser-b8a2c2d7.js +21 -0
- package/dist/esm/bs-e5350540.js +48 -0
- package/dist/esm/buffer-tools_4.entry.js +14 -14
- package/dist/esm/ca-2e572adf.js +68 -0
- package/dist/esm/calcite-accordion-item.entry.js +6 -6
- package/dist/esm/calcite-accordion.entry.js +1 -1
- package/dist/esm/calcite-action-bar_3.entry.js +42 -34
- package/dist/esm/calcite-action-group_2.entry.js +19 -17
- package/dist/esm/calcite-action-pad.entry.js +13 -13
- package/dist/esm/calcite-action_2.entry.js +18 -18
- package/dist/esm/calcite-alert_3.entry.js +728 -0
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block-section.entry.js +9 -9
- package/dist/esm/calcite-block.entry.js +44 -14
- package/dist/esm/calcite-button.entry.js +21 -15
- package/dist/esm/calcite-card.entry.js +9 -9
- package/dist/esm/calcite-checkbox_3.entry.js +62 -85
- package/dist/esm/calcite-chip-group.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
- package/dist/esm/calcite-color-picker.entry.js +13 -13
- package/dist/esm/calcite-combobox-item-group.entry.js +6 -6
- package/dist/esm/calcite-combobox_6.entry.js +42 -44
- package/dist/esm/calcite-date-picker-day_3.entry.js +11 -11
- package/dist/esm/calcite-date-picker.entry.js +11 -11
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter_3.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +28 -17
- package/dist/esm/calcite-flow.entry.js +7 -4
- package/dist/esm/calcite-graph.entry.js +3 -3
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +22 -21
- package/dist/esm/calcite-input-number_2.entry.js +14 -14
- package/dist/esm/calcite-input-time-picker-77523075.js +1845 -0
- package/dist/esm/calcite-input-time-picker.entry.js +17 -16
- package/dist/esm/calcite-input-time-zone.entry.js +142 -49
- package/dist/esm/calcite-input_2.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list-item-group.entry.js +4 -4
- package/dist/esm/calcite-loader.entry.js +1 -1
- package/dist/esm/calcite-menu-item.entry.js +9 -9
- package/dist/esm/calcite-menu.entry.js +9 -74
- package/dist/esm/calcite-meter.entry.js +9 -9
- package/dist/esm/calcite-modal.entry.js +12 -12
- package/dist/esm/calcite-navigation-logo.entry.js +2 -2
- package/dist/esm/calcite-navigation-user.entry.js +2 -2
- package/dist/esm/calcite-navigation.entry.js +5 -5
- package/dist/esm/calcite-notice_2.entry.js +45 -19
- package/dist/esm/calcite-option_2.entry.js +14 -13
- package/dist/esm/calcite-pagination.entry.js +132 -63
- package/dist/esm/calcite-panel_2.entry.js +39 -35
- package/dist/esm/calcite-pick-list-group.entry.js +7 -7
- package/dist/esm/calcite-pick-list-item.entry.js +13 -13
- package/dist/esm/calcite-pick-list.entry.js +11 -11
- package/dist/esm/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +8 -8
- package/dist/esm/calcite-segmented-control_2.entry.js +10 -10
- package/dist/esm/calcite-sheet.entry.js +8 -8
- package/dist/esm/calcite-shell-center-row.entry.js +6 -6
- package/dist/esm/calcite-shell-panel_14.entry.js +25 -24
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +28 -12
- package/dist/esm/calcite-stepper.entry.js +14 -14
- package/dist/esm/calcite-switch.entry.js +9 -9
- package/dist/esm/calcite-table-cell_2.entry.js +15 -13
- package/dist/esm/calcite-table-row.entry.js +6 -6
- package/dist/esm/calcite-table.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +13 -13
- package/dist/esm/calcite-tile-select-group.entry.js +2 -2
- package/dist/esm/calcite-tile-select.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-time-picker.entry.js +11 -11
- package/dist/esm/calcite-tip-manager.entry.js +9 -9
- package/dist/esm/calcite-tip.entry.js +10 -10
- package/dist/esm/card-manager_3.entry.js +15 -47
- package/dist/esm/conditionalSlot-94095778.js +60 -0
- package/dist/esm/crowdsource-manager.entry.js +3 -2
- package/dist/esm/cs-4f054159.js +144 -0
- package/dist/esm/da-6c556fce.js +63 -0
- package/dist/esm/date-05688c80.js +245 -0
- package/dist/esm/de-at-d3095241.js +87 -0
- package/dist/esm/de-ca621a89.js +88 -0
- package/dist/esm/de-ch-83fcc045.js +87 -0
- package/dist/esm/dom-923ca11d.js +1032 -0
- package/dist/esm/downloadUtils-fa2b3718.js +3006 -0
- package/dist/esm/el-0caa1e48.js +63 -0
- package/dist/esm/en-au-1a9727f6.js +63 -0
- package/dist/esm/en-ca-9efe6ab1.js +62 -0
- package/dist/esm/en-gb-87813f25.js +66 -0
- package/dist/esm/es-a564ac80.js +63 -0
- package/dist/esm/es-mx-69a7843b.js +62 -0
- package/dist/esm/et-8018f213.js +89 -0
- package/dist/esm/fi-c8023099.js +112 -0
- package/dist/esm/filter-a4d7ecd2.js +763 -0
- package/dist/esm/floating-ui-9c3f29d1.js +1896 -0
- package/dist/esm/focusTrapComponent-d703f459.js +1004 -0
- package/dist/esm/form-43cd1811.js +280 -0
- package/dist/esm/fr-4a6841af.js +65 -0
- package/dist/esm/fr-ch-abed2e2a.js +63 -0
- package/dist/esm/globalAttributes-43f1d649.js +74 -0
- package/dist/esm/guid-99d025c6.js +24 -0
- package/dist/esm/he-0324b963.js +102 -0
- package/dist/esm/hi-f1f4309f.js +62 -0
- package/dist/esm/hr-410e913d.js +77 -0
- package/dist/esm/hu-090901ba.js +85 -0
- package/dist/esm/id-52323c08.js +63 -0
- package/dist/esm/index-7bd8186c.js +71 -0
- package/dist/esm/index-9d64f551.js +170 -0
- package/dist/esm/index.es-cc671fd2.js +10723 -0
- package/dist/esm/interactive-e95bbf6b.js +143 -0
- package/dist/esm/it-3980ce36.js +63 -0
- package/dist/esm/it-ch-aa4b9653.js +63 -0
- package/dist/esm/ja-edbfdf17.js +69 -0
- package/dist/esm/key-5ab69c42.js +16 -0
- package/dist/esm/ko-28dfbdfb.js +69 -0
- package/dist/esm/label-be61f66c.js +148 -0
- package/dist/esm/loadable-0029bf3d.js +89 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-76c0c1d9.js +594 -0
- package/dist/esm/lt-36215874.js +94 -0
- package/dist/esm/lv-5f613cfd.js +63 -0
- package/dist/esm/map-select-tools_3.entry.js +1 -1
- package/dist/esm/math-26607e9b.js +54 -0
- package/dist/esm/mk-a8e8d2f1.js +63 -0
- package/dist/esm/nb-5accd1d3.js +64 -0
- package/dist/esm/nl-aa9a0bb6.js +64 -0
- package/dist/esm/observers-115d1b4b.js +51 -0
- package/dist/esm/openCloseComponent-943c5248.js +90 -0
- package/dist/esm/pl-23465d62.js +111 -0
- package/dist/esm/pt-41864e9d.js +64 -0
- package/dist/esm/pt-br-c6bd3fe5.js +62 -0
- package/dist/esm/public-notification.entry.js +1 -1
- package/dist/esm/resources-0fa1514d.js +22 -0
- package/dist/esm/resources-19e558e7.js +48 -0
- package/dist/esm/resources-27261bc6.js +24 -0
- package/dist/esm/resources-4100c616.js +35 -0
- package/dist/esm/resources-55ef6d44.js +2051 -0
- package/dist/esm/resources-9158321b.js +20 -0
- package/dist/esm/resources-936a5f2d.js +26 -0
- package/dist/esm/resources-bb8600a6.js +28 -0
- package/dist/esm/resources-c8f83593.js +20 -0
- package/dist/esm/resources-ee6e347f.js +24 -0
- package/dist/esm/responsive-4d7ef153.js +42 -0
- package/dist/esm/ro-b554cdb2.js +63 -0
- package/dist/esm/ru-fabf5351.js +123 -0
- package/dist/esm/shared-list-render-eba3dbdf.js +342 -0
- package/dist/esm/sk-6c30f92d.js +145 -0
- package/dist/esm/sl-53339340.js +165 -0
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/sortableComponent-4a933f2e.js +3103 -0
- package/dist/esm/sr-bb55e815.js +98 -0
- package/dist/esm/sv-e7415076.js +68 -0
- package/dist/esm/t9n-976a6630.js +95 -0
- package/dist/esm/th-5035f441.js +62 -0
- package/dist/esm/time-a725be63.js +274 -0
- package/dist/esm/tr-8693739a.js +63 -0
- package/dist/esm/uk-dfe80c4a.js +101 -0
- package/dist/esm/utils-186d9d5e.js +48 -0
- package/dist/esm/utils-3ad366fc.js +85 -0
- package/dist/esm/utils-9f44f942.js +203 -0
- package/dist/esm/utils-f7c0de62.js +61 -0
- package/dist/esm/vi-540a8ddc.js +67 -0
- package/dist/esm/zh-cn-28e77ef2.js +91 -0
- package/dist/esm/zh-hk-15113982.js +68 -0
- package/dist/esm/zh-tw-f33efd8d.js +89 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +10 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +256 -212
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +14 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +12 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +6 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +45 -56
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +7 -4
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +16 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +8 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +4 -9
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +4 -0
- package/dist/solutions-components/assets/icon/addConstant16.json +1 -0
- package/dist/solutions-components/assets/icon/addConstant24.json +1 -0
- package/dist/solutions-components/assets/icon/addConstant32.json +1 -0
- package/dist/solutions-components/assets/icon/addRasterVariable16.json +1 -0
- package/dist/solutions-components/assets/icon/addRasterVariable24.json +1 -0
- package/dist/solutions-components/assets/icon/addRasterVariable32.json +1 -0
- package/dist/solutions-components/assets/icon/addRasters16.json +1 -0
- package/dist/solutions-components/assets/icon/addRasters24.json +1 -0
- package/dist/solutions-components/assets/icon/addRasters32.json +1 -0
- package/dist/solutions-components/assets/icon/alertOffCircle16F.json +1 -0
- package/dist/solutions-components/assets/icon/alertOffCircle24F.json +1 -0
- package/dist/solutions-components/assets/icon/alertOffCircle32F.json +1 -0
- package/dist/solutions-components/assets/icon/bulletPoint16.json +1 -1
- package/dist/solutions-components/assets/icon/bulletPoint24.json +1 -1
- package/dist/solutions-components/assets/icon/bulletPoint32.json +1 -1
- package/dist/solutions-components/assets/icon/bulletPointLarge16.json +1 -0
- package/dist/solutions-components/assets/icon/bulletPointLarge24.json +1 -0
- package/dist/solutions-components/assets/icon/bulletPointLarge32.json +1 -0
- package/dist/solutions-components/assets/icon/launch216.json +1 -0
- package/dist/solutions-components/assets/icon/launch224.json +1 -0
- package/dist/solutions-components/assets/icon/launch232.json +1 -0
- package/dist/solutions-components/assets/icon/minusCircle16F.json +1 -0
- package/dist/solutions-components/assets/icon/minusCircle24F.json +1 -0
- package/dist/solutions-components/assets/icon/minusCircle32F.json +1 -0
- package/dist/solutions-components/assets/icon/projectMission16.json +1 -0
- package/dist/solutions-components/assets/icon/projectMission24.json +1 -0
- package/dist/solutions-components/assets/icon/projectMission32.json +1 -0
- package/dist/solutions-components/assets/icon/projectTemplate16.json +1 -0
- package/dist/solutions-components/assets/icon/projectTemplate24.json +1 -0
- package/dist/solutions-components/assets/icon/projectTemplate32.json +1 -0
- package/dist/solutions-components/assets/icon/properties16.json +1 -0
- package/dist/solutions-components/assets/icon/properties24.json +1 -0
- package/dist/solutions-components/assets/icon/properties32.json +1 -0
- package/dist/solutions-components/assets/icon/saveAs16.json +1 -0
- package/dist/solutions-components/assets/icon/saveAs24.json +1 -0
- package/dist/solutions-components/assets/icon/saveAs32.json +1 -0
- package/dist/solutions-components/assets/panel/t9n/index.d.ts +2 -0
- package/dist/solutions-components/assets/panel/t9n/messages.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_ar.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_bg.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_bs.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_ca.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_cs.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_da.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_de.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_el.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_en.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_es.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_et.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_fi.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_fr.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_he.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_hr.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_hu.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_id.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_it.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_ja.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_ko.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_lt.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_lv.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_nl.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_no.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_pl.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_pt-BR.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_pt-PT.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_ro.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_ru.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_sk.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_sl.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_sr.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_sv.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_th.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_tr.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_uk.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_vi.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_zh-CN.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_zh-HK.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_zh-TW.json +3 -1
- package/dist/solutions-components/assets/table/t9n/messages_ar.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_bg.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_bs.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_ca.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_cs.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_da.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_de.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_el.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_es.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_et.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_fi.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_fr.json +4 -4
- package/dist/solutions-components/assets/table/t9n/messages_he.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_hr.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_hu.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_id.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_it.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_ja.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_ko.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_lt.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_lv.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_nl.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_no.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_pl.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_pt-BR.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_pt-PT.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_ro.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_ru.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_sk.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_sl.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_sr.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_sv.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_th.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_tr.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_uk.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_vi.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_zh-CN.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_zh-HK.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_zh-TW.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_ar.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_bg.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_bs.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_ca.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_cs.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_da.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_de.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_el.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_es.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_et.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_fi.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_fr.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_he.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_hr.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_hu.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_id.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_it.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_ja.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_ko.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_lt.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_lv.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_nl.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_no.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_pl.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_pt-BR.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_pt-PT.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_ro.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_ru.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_sk.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_sl.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_sr.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_sv.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_th.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_tr.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_uk.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_vi.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_zh-CN.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_zh-HK.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_zh-TW.json +5 -5
- package/dist/solutions-components/assets/table-header/t9n/messages_ar.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_bg.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_bs.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_ca.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_cs.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_da.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_de.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_el.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_es.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_et.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_fi.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_fr.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_he.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_hr.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_hu.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_id.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_it.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_ja.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_ko.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_lt.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_lv.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_nl.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_no.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_pl.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_pt-BR.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_pt-PT.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_ro.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_ru.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_sk.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_sl.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_sr.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_sv.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_th.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_tr.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_uk.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_vi.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_zh-CN.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_zh-HK.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_zh-TW.json +6 -6
- package/dist/solutions-components/assets/time-picker/t9n/messages_ar.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_bg.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_bs.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_ca.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_cs.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_da.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_de.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_el.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_es.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_et.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_fi.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_fr.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_he.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_hr.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_hu.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_id.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_it.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_ja.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_ko.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_lt.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_lv.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_nl.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_no.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_pl.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_pt-BR.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_pt-PT.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_ro.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_ru.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_sk.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_sl.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_sr.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_sv.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_th.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_tr.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_uk.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_vi.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_zh-CN.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_zh-HK.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_zh-TW.json +3 -0
- package/dist/solutions-components/p-024c2016.js +11 -0
- package/dist/solutions-components/p-024ff2f9.js +11 -0
- package/dist/solutions-components/p-029d8d56.entry.js +6 -0
- package/dist/solutions-components/p-0335478a.entry.js +12 -0
- package/dist/solutions-components/p-038fa109.entry.js +12 -0
- package/dist/solutions-components/p-0591ccfd.entry.js +6 -0
- package/dist/solutions-components/p-08306638.entry.js +6 -0
- package/dist/solutions-components/p-0a95c999.js +11 -0
- package/dist/solutions-components/p-10375537.js +6 -0
- package/dist/solutions-components/p-1229516f.js +11 -0
- package/dist/solutions-components/p-138a065a.entry.js +11 -0
- package/dist/solutions-components/p-13e96533.js +6 -0
- package/dist/solutions-components/p-1406bcc4.js +18 -0
- package/dist/solutions-components/p-151c5d71.js +11 -0
- package/dist/solutions-components/p-164a80fb.js +6 -0
- package/dist/solutions-components/p-16d07093.js +6 -0
- package/dist/solutions-components/p-16d0f5e7.js +6 -0
- package/dist/solutions-components/p-1da1779e.entry.js +11 -0
- package/dist/solutions-components/p-21a54586.entry.js +11 -0
- package/dist/solutions-components/p-224f47c5.js +6 -0
- package/dist/solutions-components/p-22eb9ead.entry.js +6 -0
- package/dist/solutions-components/p-234d20b1.js +6 -0
- package/dist/solutions-components/p-25729b41.entry.js +6 -0
- package/dist/solutions-components/p-29120ecd.js +11 -0
- package/dist/solutions-components/p-2a0238d4.entry.js +6 -0
- package/dist/solutions-components/p-2a5903e0.js +6 -0
- package/dist/solutions-components/p-2af0a6c7.entry.js +11 -0
- package/dist/solutions-components/p-2b59e4cf.js +6 -0
- package/dist/solutions-components/p-2ba31b8a.entry.js +11 -0
- package/dist/solutions-components/p-2db4adca.entry.js +11 -0
- package/dist/solutions-components/p-2df8b0d2.js +6 -0
- package/dist/solutions-components/p-2ee3afea.js +12 -0
- package/dist/solutions-components/p-2f9bab49.js +11 -0
- package/dist/solutions-components/p-30019a9d.js +6 -0
- package/dist/solutions-components/p-3003e56a.js +11 -0
- package/dist/solutions-components/p-34ae5550.entry.js +28 -0
- package/dist/solutions-components/p-34fb2a6e.js +11 -0
- package/dist/solutions-components/p-353ff6c3.js +17 -0
- package/dist/solutions-components/p-361b44ed.js +11 -0
- package/dist/solutions-components/p-3622ff5a.entry.js +11 -0
- package/dist/solutions-components/p-370cdc1a.js +6 -0
- package/dist/solutions-components/p-3760847f.js +11 -0
- package/dist/solutions-components/p-37a58e04.js +489 -0
- package/dist/solutions-components/p-387657b5.js +6 -0
- package/dist/solutions-components/p-38d04674.entry.js +17 -0
- package/dist/solutions-components/p-3a1ce0b3.entry.js +11 -0
- package/dist/solutions-components/p-3a668467.js +11 -0
- package/dist/solutions-components/p-3b3b8693.entry.js +11 -0
- package/dist/solutions-components/p-3b8d021c.js +6 -0
- package/dist/solutions-components/p-3c4e583c.entry.js +6 -0
- package/dist/solutions-components/p-3db650c2.js +12 -0
- package/dist/solutions-components/p-3fc5f99b.entry.js +17 -0
- package/dist/solutions-components/p-40532d71.entry.js +11 -0
- package/dist/solutions-components/p-40d50491.entry.js +6 -0
- package/dist/solutions-components/p-4228202a.entry.js +6 -0
- package/dist/solutions-components/p-4277bdc8.entry.js +11 -0
- package/dist/solutions-components/p-4879d789.js +11 -0
- package/dist/solutions-components/p-48ce2adc.js +6 -0
- package/dist/solutions-components/p-4b9ba22d.js +17 -0
- package/dist/solutions-components/p-4e58893d.js +11 -0
- package/dist/solutions-components/p-4ec6a622.entry.js +11 -0
- package/dist/solutions-components/p-4f29d862.entry.js +11 -0
- package/dist/solutions-components/p-524dbb02.entry.js +11 -0
- package/dist/solutions-components/p-53368491.js +11 -0
- package/dist/solutions-components/p-5347984d.entry.js +18 -0
- package/dist/solutions-components/p-56ccef9e.entry.js +11 -0
- package/dist/solutions-components/p-59d706b4.js +11 -0
- package/dist/solutions-components/p-5aa04e51.entry.js +23 -0
- package/dist/solutions-components/p-5bd796dd.entry.js +6 -0
- package/dist/solutions-components/p-5e446b18.entry.js +29 -0
- package/dist/solutions-components/p-5f929b73.js +11 -0
- package/dist/solutions-components/p-6190f6b9.entry.js +6 -0
- package/dist/solutions-components/p-61e0440a.entry.js +11 -0
- package/dist/solutions-components/p-646e983f.entry.js +35 -0
- package/dist/solutions-components/p-684a3ab9.entry.js +16 -0
- package/dist/solutions-components/p-6ac73100.js +6 -0
- package/dist/solutions-components/p-6b61a3cd.js +6 -0
- package/dist/solutions-components/p-6c39845d.entry.js +6 -0
- package/dist/solutions-components/p-6d2d7943.js +6 -0
- package/dist/solutions-components/p-6d783ec5.js +6 -0
- package/dist/solutions-components/p-71049433.entry.js +11 -0
- package/dist/solutions-components/p-735cdbaf.js +6 -0
- package/dist/solutions-components/p-73c50d50.js +11 -0
- package/dist/solutions-components/p-74c723d2.entry.js +11 -0
- package/dist/solutions-components/p-7624927c.entry.js +11 -0
- package/dist/solutions-components/p-76c75cac.entry.js +11 -0
- package/dist/solutions-components/p-7af492f8.js +6 -0
- package/dist/solutions-components/p-7cc21aa4.entry.js +11 -0
- package/dist/solutions-components/p-7d7e6744.js +11 -0
- package/dist/solutions-components/p-7ea4f229.entry.js +11 -0
- package/dist/solutions-components/p-80ff1462.entry.js +12 -0
- package/dist/solutions-components/p-82cedafd.js +6 -0
- package/dist/solutions-components/p-8458b57c.entry.js +11 -0
- package/dist/solutions-components/p-851edd3b.entry.js +11 -0
- package/dist/solutions-components/p-852e7d6c.js +6 -0
- package/dist/solutions-components/p-866837f6.js +11 -0
- package/dist/solutions-components/p-86f33d1b.js +6 -0
- package/dist/solutions-components/p-86f482ca.js +11 -0
- package/dist/solutions-components/p-880a0d62.entry.js +11 -0
- package/dist/solutions-components/p-89e4299f.js +6 -0
- package/dist/solutions-components/p-8b912783.js +6 -0
- package/dist/solutions-components/p-8be9c706.entry.js +11 -0
- package/dist/solutions-components/p-8c00bf84.entry.js +11 -0
- package/dist/solutions-components/p-90e780b3.js +6 -0
- package/dist/solutions-components/p-937c2c82.entry.js +17 -0
- package/dist/solutions-components/p-946a0023.js +16 -0
- package/dist/solutions-components/p-94785227.entry.js +11 -0
- package/dist/solutions-components/p-960d5e0d.entry.js +6 -0
- package/dist/solutions-components/p-97b2521a.entry.js +11 -0
- package/dist/solutions-components/p-97effcfe.entry.js +6 -0
- package/dist/solutions-components/p-9894c380.js +6 -0
- package/dist/solutions-components/p-994e84f7.js +6 -0
- package/dist/solutions-components/p-99900c72.entry.js +11 -0
- package/dist/solutions-components/p-9a41ea03.js +6 -0
- package/dist/solutions-components/p-9a66d8c7.js +6 -0
- package/dist/solutions-components/p-9aa4ddb7.js +6 -0
- package/dist/solutions-components/p-9f8cd92d.js +6 -0
- package/dist/solutions-components/p-a3426728.entry.js +6 -0
- package/dist/solutions-components/p-a35a422a.js +6 -0
- package/dist/solutions-components/p-a366c1bd.entry.js +11 -0
- package/dist/solutions-components/p-a47c8ae2.js +22 -0
- package/dist/solutions-components/p-a4e47e1d.entry.js +6 -0
- package/dist/solutions-components/p-a574b12e.entry.js +11 -0
- package/dist/solutions-components/p-a64684d9.js +6 -0
- package/dist/solutions-components/p-a678b2d3.js +6 -0
- package/dist/solutions-components/p-aacbdedb.entry.js +11 -0
- package/dist/solutions-components/p-abc50d38.js +11 -0
- package/dist/solutions-components/p-ae952961.entry.js +11 -0
- package/dist/solutions-components/p-b17541d4.entry.js +11 -0
- package/dist/solutions-components/p-b41915d9.js +16 -0
- package/dist/solutions-components/p-b48e8dd1.js +11 -0
- package/dist/solutions-components/p-b4c0c62e.entry.js +11 -0
- package/dist/solutions-components/p-b6f9d874.js +6 -0
- package/dist/solutions-components/p-b7f5a5c9.js +6 -0
- package/dist/solutions-components/p-b80631c4.js +11 -0
- package/dist/solutions-components/p-b8ce608e.js +11 -0
- package/dist/solutions-components/p-bc4c41ba.js +11 -0
- package/dist/solutions-components/p-bee78404.js +11 -0
- package/dist/solutions-components/p-bf73ccae.js +6 -0
- package/dist/solutions-components/p-bf8fef40.entry.js +17 -0
- package/dist/solutions-components/p-bf9d3381.js +16 -0
- package/dist/solutions-components/p-c24040ec.js +11 -0
- package/dist/solutions-components/p-c29a20f1.entry.js +6 -0
- package/dist/solutions-components/p-c2c000fc.entry.js +11 -0
- package/dist/solutions-components/p-c3417d14.js +6 -0
- package/dist/solutions-components/p-c3bd1676.entry.js +11 -0
- package/dist/solutions-components/p-c9936cc9.js +6 -0
- package/dist/solutions-components/p-ca9bd37c.entry.js +11 -0
- package/dist/solutions-components/p-cfa0c38b.entry.js +17 -0
- package/dist/solutions-components/p-cfe4ec71.entry.js +18 -0
- package/dist/solutions-components/p-d3104ab2.js +6 -0
- package/dist/solutions-components/p-d32a1308.entry.js +11 -0
- package/dist/solutions-components/p-d4278729.js +11 -0
- package/dist/solutions-components/p-d5517d0d.js +6 -0
- package/dist/solutions-components/p-d68f66a3.js +6 -0
- package/dist/solutions-components/p-d6b50da2.js +6 -0
- package/dist/solutions-components/p-d738fea9.js +6 -0
- package/dist/solutions-components/p-d8ac40a5.js +6 -0
- package/dist/solutions-components/p-dc477b27.entry.js +6 -0
- package/dist/solutions-components/p-dd36af4f.js +11 -0
- package/dist/solutions-components/p-dd4e5f64.js +11 -0
- package/dist/solutions-components/p-e52091fa.js +6 -0
- package/dist/solutions-components/p-e8c5f63d.js +6 -0
- package/dist/solutions-components/p-e94c7cf2.js +61 -0
- package/dist/solutions-components/p-ea238bbc.entry.js +6 -0
- package/dist/solutions-components/p-edf861a1.entry.js +17 -0
- package/dist/solutions-components/p-efc041d0.js +11 -0
- package/dist/solutions-components/p-f34f405a.entry.js +6 -0
- package/dist/solutions-components/p-f52ee45d.js +11 -0
- package/dist/solutions-components/p-f5a593f4.entry.js +11 -0
- package/dist/solutions-components/p-f6fa0003.js +6 -0
- package/dist/solutions-components/p-fa06a8f7.entry.js +6 -0
- package/dist/solutions-components/p-fa63c8b1.js +6 -0
- package/dist/solutions-components/p-fc141ca0.js +11 -0
- package/dist/solutions-components/p-fc7de108.entry.js +11 -0
- package/dist/solutions-components/p-fd1da29a.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +32 -22
- package/dist/solutions-components/utils/interfaces.ts +1 -0
- package/dist/solutions-components/utils/test/downloadUtils.spec.tsx +48 -0
- package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +7 -1
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -0
- package/dist/types/components/layer-table/layer-table.d.ts +7 -27
- package/dist/types/components.d.ts +16 -5
- package/dist/types/preact.d.ts +17 -5
- package/dist/types/utils/downloadUtils.d.ts +9 -8
- package/dist/types/utils/interfaces.d.ts +1 -0
- package/package.json +2 -2
- package/dist/cjs/ExpandToggle-39e472da.js +0 -117
- package/dist/cjs/FloatingArrow-8c88459a.js +0 -48
- package/dist/cjs/Heading-8b27f655.js +0 -25
- package/dist/cjs/app-globals-20466254.js +0 -69
- package/dist/cjs/ar-6b662222.js +0 -99
- package/dist/cjs/array-a3f9baa5.js +0 -17
- package/dist/cjs/bg-fa2dc0d8.js +0 -80
- package/dist/cjs/browser-596d8e1e.js +0 -23
- package/dist/cjs/bs-feb3d9c5.js +0 -49
- package/dist/cjs/ca-0277c48d.js +0 -69
- package/dist/cjs/calcite-alert.cjs.entry.js +0 -285
- package/dist/cjs/calcite-input-time-picker-0b068c1f.js +0 -1821
- package/dist/cjs/conditionalSlot-795790b5.js +0 -63
- package/dist/cjs/cs-6f20de14.js +0 -145
- package/dist/cjs/da-d4b3c7de.js +0 -64
- package/dist/cjs/date-c23cfae9.js +0 -261
- package/dist/cjs/de-at-b9df2464.js +0 -88
- package/dist/cjs/de-cd070c4c.js +0 -89
- package/dist/cjs/de-ch-8012e3ac.js +0 -88
- package/dist/cjs/dom-8d00cc3f.js +0 -1061
- package/dist/cjs/downloadUtils-3e8b45ec.js +0 -3005
- package/dist/cjs/edit-card_2.cjs.entry.js +0 -427
- package/dist/cjs/el-3bafc319.js +0 -64
- package/dist/cjs/en-au-69ac6dd5.js +0 -64
- package/dist/cjs/en-ca-e2d69548.js +0 -63
- package/dist/cjs/en-gb-43cbe44d.js +0 -67
- package/dist/cjs/es-f809bdee.js +0 -64
- package/dist/cjs/es-mx-cb6bdcde.js +0 -63
- package/dist/cjs/et-d1fb804f.js +0 -90
- package/dist/cjs/fi-809e575d.js +0 -113
- package/dist/cjs/filter-c4139795.js +0 -765
- package/dist/cjs/floating-ui-2c1a533c.js +0 -1888
- package/dist/cjs/focusTrapComponent-93fc2e12.js +0 -1009
- package/dist/cjs/form-78a3337d.js +0 -288
- package/dist/cjs/fr-ch-ec117c1a.js +0 -64
- package/dist/cjs/fr-e300020c.js +0 -66
- package/dist/cjs/guid-c351776c.js +0 -26
- package/dist/cjs/he-f419115b.js +0 -103
- package/dist/cjs/hi-0837fa9e.js +0 -63
- package/dist/cjs/hr-26c92b0c.js +0 -78
- package/dist/cjs/hu-b4348f61.js +0 -86
- package/dist/cjs/id-39ae2fbb.js +0 -64
- package/dist/cjs/index.es-bf2ee853.js +0 -10809
- package/dist/cjs/interactive-7837b73d.js +0 -147
- package/dist/cjs/it-c0010df5.js +0 -64
- package/dist/cjs/it-ch-1d96ff25.js +0 -64
- package/dist/cjs/ja-d612ffd0.js +0 -70
- package/dist/cjs/key-07312a4b.js +0 -19
- package/dist/cjs/ko-3bacee3c.js +0 -70
- package/dist/cjs/label-39887629.js +0 -154
- package/dist/cjs/loadable-d12ec307.js +0 -94
- package/dist/cjs/locale-6479f239.js +0 -607
- package/dist/cjs/lt-3d9fa497.js +0 -95
- package/dist/cjs/lv-3b7eddb4.js +0 -64
- package/dist/cjs/math-3dc91b82.js +0 -60
- package/dist/cjs/mk-06e25b87.js +0 -64
- package/dist/cjs/nb-631e48ca.js +0 -65
- package/dist/cjs/nl-6db6ac0b.js +0 -65
- package/dist/cjs/observers-62ea89bc.js +0 -53
- package/dist/cjs/openCloseComponent-cfafcccc.js +0 -92
- package/dist/cjs/pl-a139e04e.js +0 -112
- package/dist/cjs/pt-br-11aab00e.js +0 -63
- package/dist/cjs/pt-f3d702ac.js +0 -65
- package/dist/cjs/resources-154adf68.js +0 -20
- package/dist/cjs/resources-2278b321.js +0 -32
- package/dist/cjs/resources-2454960d.js +0 -2062
- package/dist/cjs/resources-29c246e2.js +0 -27
- package/dist/cjs/resources-36b8ab24.js +0 -50
- package/dist/cjs/resources-4a8e43dd.js +0 -29
- package/dist/cjs/resources-56cd0ba8.js +0 -23
- package/dist/cjs/resources-d000455c.js +0 -27
- package/dist/cjs/resources-d0427f75.js +0 -26
- package/dist/cjs/resources-dc8e5f07.js +0 -39
- package/dist/cjs/ro-49c70e64.js +0 -64
- package/dist/cjs/ru-304563d2.js +0 -124
- package/dist/cjs/shared-list-render-e6464688.js +0 -364
- package/dist/cjs/sk-a8fe9263.js +0 -146
- package/dist/cjs/sl-bf82d012.js +0 -64
- package/dist/cjs/sortableComponent-c4833f8d.js +0 -3107
- package/dist/cjs/sr-4f2f9974.js +0 -99
- package/dist/cjs/sv-a2916e2b.js +0 -69
- package/dist/cjs/t9n-c630f16d.js +0 -100
- package/dist/cjs/th-c5f23e8f.js +0 -63
- package/dist/cjs/time-9ffa9ce7.js +0 -289
- package/dist/cjs/tr-0486b336.js +0 -64
- package/dist/cjs/uk-3cf18069.js +0 -102
- package/dist/cjs/utils-0f154174.js +0 -64
- package/dist/cjs/utils-3b883f6e.js +0 -59
- package/dist/cjs/utils-6fa49fde.js +0 -93
- package/dist/cjs/utils-a3380f70.js +0 -221
- package/dist/cjs/vi-813fe8f6.js +0 -68
- package/dist/cjs/zh-cn-e835d4ea.js +0 -92
- package/dist/cjs/zh-hk-cdc4af5b.js +0 -69
- package/dist/cjs/zh-tw-5a93dab8.js +0 -90
- package/dist/esm/ExpandToggle-583be90e.js +0 -109
- package/dist/esm/FloatingArrow-f3c4aaad.js +0 -46
- package/dist/esm/Heading-28b8fc31.js +0 -22
- package/dist/esm/app-globals-bbae8244.js +0 -67
- package/dist/esm/ar-d7509316.js +0 -97
- package/dist/esm/array-3eac6aac.js +0 -15
- package/dist/esm/bg-a6c0d55d.js +0 -78
- package/dist/esm/browser-2ab8d297.js +0 -21
- package/dist/esm/bs-a98cc594.js +0 -47
- package/dist/esm/ca-8d7b9677.js +0 -67
- package/dist/esm/calcite-alert.entry.js +0 -281
- package/dist/esm/calcite-input-time-picker-f5250903.js +0 -1818
- package/dist/esm/conditionalSlot-7a5c509c.js +0 -60
- package/dist/esm/cs-38f3de9d.js +0 -143
- package/dist/esm/da-6ef39f6c.js +0 -62
- package/dist/esm/date-b8718146.js +0 -245
- package/dist/esm/de-6aef04c8.js +0 -87
- package/dist/esm/de-at-6617bb68.js +0 -86
- package/dist/esm/de-ch-552d1170.js +0 -86
- package/dist/esm/dom-ae3d8818.js +0 -1032
- package/dist/esm/downloadUtils-13d9188b.js +0 -2999
- package/dist/esm/edit-card_2.entry.js +0 -422
- package/dist/esm/el-36c2f66f.js +0 -62
- package/dist/esm/en-au-d58f85c1.js +0 -62
- package/dist/esm/en-ca-1693b17f.js +0 -61
- package/dist/esm/en-gb-827d54cc.js +0 -65
- package/dist/esm/es-adb3fd4e.js +0 -62
- package/dist/esm/es-mx-82199d09.js +0 -61
- package/dist/esm/et-af7f407f.js +0 -88
- package/dist/esm/fi-37c08e8e.js +0 -111
- package/dist/esm/filter-dd6ee9fc.js +0 -763
- package/dist/esm/floating-ui-aadc5ee4.js +0 -1880
- package/dist/esm/focusTrapComponent-b7f65d9e.js +0 -1004
- package/dist/esm/form-a6c0a47e.js +0 -280
- package/dist/esm/fr-1dbd68cf.js +0 -64
- package/dist/esm/fr-ch-0da3f9d5.js +0 -62
- package/dist/esm/guid-d34fe102.js +0 -24
- package/dist/esm/he-970bc7e6.js +0 -101
- package/dist/esm/hi-e332f8ea.js +0 -61
- package/dist/esm/hr-e7103f84.js +0 -76
- package/dist/esm/hu-876d56a7.js +0 -84
- package/dist/esm/id-c53da15f.js +0 -62
- package/dist/esm/index.es-edd974bc.js +0 -10723
- package/dist/esm/interactive-22a66feb.js +0 -143
- package/dist/esm/it-ch-c7aeaf03.js +0 -62
- package/dist/esm/it-f98d068c.js +0 -62
- package/dist/esm/ja-596aa74d.js +0 -68
- package/dist/esm/key-554ad3f4.js +0 -16
- package/dist/esm/ko-bdf2643b.js +0 -68
- package/dist/esm/label-7187f15b.js +0 -148
- package/dist/esm/loadable-54096620.js +0 -89
- package/dist/esm/locale-56a910a3.js +0 -594
- package/dist/esm/lt-029144ad.js +0 -93
- package/dist/esm/lv-00292bd8.js +0 -62
- package/dist/esm/math-158e90ac.js +0 -54
- package/dist/esm/mk-ca84aaa7.js +0 -62
- package/dist/esm/nb-3a17d242.js +0 -63
- package/dist/esm/nl-42fe3f2b.js +0 -63
- package/dist/esm/observers-a3cec8e4.js +0 -51
- package/dist/esm/openCloseComponent-fd76e488.js +0 -90
- package/dist/esm/pl-8ccccfb6.js +0 -110
- 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/esm/pt-470ef28a.js +0 -63
- package/dist/esm/pt-br-15c5e95d.js +0 -61
- package/dist/esm/resources-02cd4178.js +0 -22
- package/dist/esm/resources-034c9f77.js +0 -2051
- package/dist/esm/resources-3be85db9.js +0 -23
- package/dist/esm/resources-4d5cdf35.js +0 -28
- package/dist/esm/resources-5f6d1025.js +0 -46
- package/dist/esm/resources-99f5fcbf.js +0 -20
- package/dist/esm/resources-cc801037.js +0 -24
- package/dist/esm/resources-d65f06b7.js +0 -20
- package/dist/esm/resources-fa3b8717.js +0 -35
- package/dist/esm/resources-fdb46a26.js +0 -26
- package/dist/esm/ro-6ccfabcf.js +0 -62
- package/dist/esm/ru-4ca6ea5c.js +0 -122
- package/dist/esm/shared-list-render-0d4accf0.js +0 -342
- package/dist/esm/sk-d2cc438e.js +0 -144
- package/dist/esm/sl-fa960833.js +0 -62
- package/dist/esm/sortableComponent-eda78521.js +0 -3103
- package/dist/esm/sr-e13a01d0.js +0 -97
- package/dist/esm/sv-ce009db9.js +0 -67
- package/dist/esm/t9n-1eaba69b.js +0 -95
- package/dist/esm/th-bd60a4c0.js +0 -61
- package/dist/esm/time-84f496fe.js +0 -274
- package/dist/esm/tr-b117b905.js +0 -62
- package/dist/esm/uk-d75d58c8.js +0 -100
- package/dist/esm/utils-202317eb.js +0 -203
- package/dist/esm/utils-a7af3c1c.js +0 -85
- package/dist/esm/utils-b1dd5a1a.js +0 -48
- package/dist/esm/utils-bc49354a.js +0 -61
- package/dist/esm/vi-d7057f94.js +0 -66
- package/dist/esm/zh-cn-21968b0c.js +0 -90
- package/dist/esm/zh-hk-848e7600.js +0 -67
- package/dist/esm/zh-tw-9930054d.js +0 -88
- package/dist/solutions-components/p-0014f93f.js +0 -12
- package/dist/solutions-components/p-01a8ab25.js +0 -6
- package/dist/solutions-components/p-01f06f9a.entry.js +0 -11
- package/dist/solutions-components/p-02637c3c.entry.js +0 -12
- package/dist/solutions-components/p-0272b972.entry.js +0 -17
- package/dist/solutions-components/p-037f2f52.entry.js +0 -11
- package/dist/solutions-components/p-04735c27.entry.js +0 -11
- package/dist/solutions-components/p-0505d89a.js +0 -11
- package/dist/solutions-components/p-06bc850e.entry.js +0 -12
- package/dist/solutions-components/p-08901512.js +0 -16
- package/dist/solutions-components/p-08b96a9c.entry.js +0 -11
- package/dist/solutions-components/p-09dda965.entry.js +0 -11
- package/dist/solutions-components/p-0aac33f5.entry.js +0 -35
- package/dist/solutions-components/p-0f6fa607.js +0 -18
- package/dist/solutions-components/p-10131b72.entry.js +0 -6
- package/dist/solutions-components/p-10f990d1.js +0 -6
- package/dist/solutions-components/p-112c7f0b.js +0 -6
- package/dist/solutions-components/p-12e15eaa.js +0 -11
- package/dist/solutions-components/p-1468af6d.entry.js +0 -11
- package/dist/solutions-components/p-147d6ef0.js +0 -16
- package/dist/solutions-components/p-15b2c977.entry.js +0 -11
- package/dist/solutions-components/p-1ac699f8.entry.js +0 -11
- package/dist/solutions-components/p-1b5fdc60.entry.js +0 -6
- package/dist/solutions-components/p-1ba1336c.js +0 -17
- package/dist/solutions-components/p-1bdc7107.js +0 -11
- package/dist/solutions-components/p-1ed04a5a.js +0 -11
- package/dist/solutions-components/p-1fcee160.entry.js +0 -12
- package/dist/solutions-components/p-2040681e.js +0 -6
- package/dist/solutions-components/p-22025739.entry.js +0 -23
- package/dist/solutions-components/p-22edbea5.entry.js +0 -6
- package/dist/solutions-components/p-236b2000.entry.js +0 -11
- package/dist/solutions-components/p-2406fda3.js +0 -6
- package/dist/solutions-components/p-272018eb.js +0 -11
- package/dist/solutions-components/p-296909a6.entry.js +0 -6
- package/dist/solutions-components/p-29e42601.js +0 -6
- package/dist/solutions-components/p-2a23b33c.js +0 -6
- package/dist/solutions-components/p-2b749168.js +0 -6
- package/dist/solutions-components/p-2ed7930b.js +0 -6
- package/dist/solutions-components/p-2ffbb0aa.entry.js +0 -6
- package/dist/solutions-components/p-31133802.js +0 -11
- package/dist/solutions-components/p-31fdc998.js +0 -11
- package/dist/solutions-components/p-32d8a04d.entry.js +0 -6
- package/dist/solutions-components/p-33247dbf.entry.js +0 -16
- package/dist/solutions-components/p-345a4781.js +0 -6
- package/dist/solutions-components/p-35a41253.js +0 -12
- package/dist/solutions-components/p-36637fe7.js +0 -11
- package/dist/solutions-components/p-37372a3d.entry.js +0 -29
- package/dist/solutions-components/p-38dcc542.js +0 -6
- package/dist/solutions-components/p-38e79175.js +0 -11
- package/dist/solutions-components/p-3c7af635.js +0 -11
- package/dist/solutions-components/p-41ee9121.entry.js +0 -11
- package/dist/solutions-components/p-44f8ec67.js +0 -6
- package/dist/solutions-components/p-499bc634.entry.js +0 -11
- package/dist/solutions-components/p-4a382f62.js +0 -6
- package/dist/solutions-components/p-4caa1f9d.js +0 -11
- package/dist/solutions-components/p-4dd80a57.entry.js +0 -11
- package/dist/solutions-components/p-4f35e0b8.js +0 -6
- package/dist/solutions-components/p-521e30a8.entry.js +0 -6
- package/dist/solutions-components/p-52f0f3ad.entry.js +0 -6
- package/dist/solutions-components/p-531ab1e1.entry.js +0 -6
- package/dist/solutions-components/p-573d2241.entry.js +0 -18
- package/dist/solutions-components/p-575f731c.entry.js +0 -6
- package/dist/solutions-components/p-579cc100.entry.js +0 -11
- package/dist/solutions-components/p-57f2b4f9.js +0 -6
- package/dist/solutions-components/p-58c2de0d.js +0 -489
- package/dist/solutions-components/p-58da33ce.js +0 -6
- package/dist/solutions-components/p-595b6177.js +0 -6
- package/dist/solutions-components/p-5c83c577.js +0 -6
- package/dist/solutions-components/p-5dc13b6d.js +0 -11
- package/dist/solutions-components/p-5faf659b.js +0 -11
- package/dist/solutions-components/p-61f3b001.js +0 -6
- package/dist/solutions-components/p-63a6c23c.js +0 -61
- package/dist/solutions-components/p-64a0e0e7.entry.js +0 -6
- package/dist/solutions-components/p-6527978c.js +0 -11
- package/dist/solutions-components/p-6610bad4.js +0 -6
- package/dist/solutions-components/p-66380f26.js +0 -6
- package/dist/solutions-components/p-663eb3d4.js +0 -11
- package/dist/solutions-components/p-672d79f2.entry.js +0 -11
- package/dist/solutions-components/p-68b33cb6.js +0 -6
- package/dist/solutions-components/p-6954fc16.entry.js +0 -17
- package/dist/solutions-components/p-6d50909d.entry.js +0 -11
- package/dist/solutions-components/p-6dcf404a.entry.js +0 -6
- package/dist/solutions-components/p-6e5bbdbd.js +0 -6
- package/dist/solutions-components/p-6e89bbec.entry.js +0 -11
- package/dist/solutions-components/p-6eecc279.js +0 -6
- package/dist/solutions-components/p-6f012379.entry.js +0 -11
- package/dist/solutions-components/p-70c370a9.entry.js +0 -11
- package/dist/solutions-components/p-71d0f30c.js +0 -6
- package/dist/solutions-components/p-740ef07f.entry.js +0 -6
- package/dist/solutions-components/p-7758f01f.entry.js +0 -17
- package/dist/solutions-components/p-7814f6db.js +0 -6
- package/dist/solutions-components/p-790dac6b.entry.js +0 -11
- package/dist/solutions-components/p-79396110.entry.js +0 -11
- package/dist/solutions-components/p-79e83176.js +0 -11
- package/dist/solutions-components/p-7b372cc4.js +0 -11
- package/dist/solutions-components/p-7c23c4cd.js +0 -6
- package/dist/solutions-components/p-7d347571.entry.js +0 -11
- package/dist/solutions-components/p-7e2220d7.entry.js +0 -6
- package/dist/solutions-components/p-7e6b953a.entry.js +0 -11
- package/dist/solutions-components/p-7f8be8cd.entry.js +0 -17
- package/dist/solutions-components/p-81a962c3.js +0 -6
- package/dist/solutions-components/p-85287a5e.entry.js +0 -11
- package/dist/solutions-components/p-892075e5.entry.js +0 -11
- package/dist/solutions-components/p-89fc9c87.js +0 -11
- package/dist/solutions-components/p-8cf4fd05.entry.js +0 -28
- package/dist/solutions-components/p-903aa065.js +0 -6
- package/dist/solutions-components/p-910cf04b.js +0 -22
- package/dist/solutions-components/p-943a5ed7.js +0 -11
- package/dist/solutions-components/p-947d032f.entry.js +0 -11
- package/dist/solutions-components/p-965495c7.js +0 -6
- package/dist/solutions-components/p-9654f62f.entry.js +0 -6
- package/dist/solutions-components/p-97082d8d.entry.js +0 -11
- package/dist/solutions-components/p-9b3e8d42.js +0 -6
- package/dist/solutions-components/p-9c5e66fe.js +0 -6
- package/dist/solutions-components/p-9cb360bd.js +0 -11
- package/dist/solutions-components/p-9de59894.entry.js +0 -11
- package/dist/solutions-components/p-9f7d7413.js +0 -6
- package/dist/solutions-components/p-a4328542.entry.js +0 -6
- package/dist/solutions-components/p-a452c2a8.js +0 -6
- package/dist/solutions-components/p-a62ec89b.entry.js +0 -11
- package/dist/solutions-components/p-a653343a.js +0 -11
- package/dist/solutions-components/p-a6cf2623.js +0 -11
- package/dist/solutions-components/p-a7d5752b.js +0 -6
- package/dist/solutions-components/p-ab857e6d.js +0 -6
- package/dist/solutions-components/p-ad16d71b.entry.js +0 -6
- package/dist/solutions-components/p-ae443c91.entry.js +0 -6
- package/dist/solutions-components/p-af25c24c.entry.js +0 -17
- package/dist/solutions-components/p-af68933d.entry.js +0 -11
- package/dist/solutions-components/p-b73319e1.js +0 -6
- package/dist/solutions-components/p-b8b4c32f.js +0 -11
- package/dist/solutions-components/p-bb6f49fb.entry.js +0 -17
- package/dist/solutions-components/p-bf48be66.entry.js +0 -11
- package/dist/solutions-components/p-c1a86a7f.js +0 -6
- package/dist/solutions-components/p-c347875f.js +0 -6
- package/dist/solutions-components/p-c5fd52fa.js +0 -16
- package/dist/solutions-components/p-c69de0fa.entry.js +0 -11
- package/dist/solutions-components/p-c6c4ed96.js +0 -6
- package/dist/solutions-components/p-cfdb15b7.entry.js +0 -11
- package/dist/solutions-components/p-d2fab6cd.entry.js +0 -6
- package/dist/solutions-components/p-d31fe523.entry.js +0 -11
- package/dist/solutions-components/p-d8901897.js +0 -11
- package/dist/solutions-components/p-d9229a22.entry.js +0 -18
- package/dist/solutions-components/p-dac63a50.js +0 -6
- package/dist/solutions-components/p-dc38fe60.entry.js +0 -11
- package/dist/solutions-components/p-dc99214a.js +0 -17
- package/dist/solutions-components/p-dcc50669.js +0 -11
- package/dist/solutions-components/p-dec91018.js +0 -6
- package/dist/solutions-components/p-dfdfc187.js +0 -11
- package/dist/solutions-components/p-e1bc4ef6.js +0 -11
- package/dist/solutions-components/p-e4bd7ed1.entry.js +0 -6
- package/dist/solutions-components/p-e5e60190.js +0 -11
- package/dist/solutions-components/p-e770c412.entry.js +0 -11
- package/dist/solutions-components/p-e7c11602.js +0 -6
- package/dist/solutions-components/p-e851ead7.entry.js +0 -11
- package/dist/solutions-components/p-e85ee6f1.entry.js +0 -11
- package/dist/solutions-components/p-e912299d.js +0 -11
- package/dist/solutions-components/p-e9148c7b.js +0 -11
- package/dist/solutions-components/p-e9ae9ec7.js +0 -6
- package/dist/solutions-components/p-e9f128b3.js +0 -6
- package/dist/solutions-components/p-eb5e6881.js +0 -6
- package/dist/solutions-components/p-ecd5e842.entry.js +0 -6
- package/dist/solutions-components/p-f351978d.js +0 -11
- package/dist/solutions-components/p-f53a8e59.js +0 -6
- package/dist/solutions-components/p-f5523c9d.entry.js +0 -11
- package/dist/solutions-components/p-fa124fdf.entry.js +0 -11
- package/dist/solutions-components/p-fa3732fa.entry.js +0 -11
- package/dist/solutions-components/p-fa98063c.js +0 -11
- package/dist/solutions-components/p-fad93fd0.js +0 -6
- package/dist/solutions-components/p-fb1a6e2e.entry.js +0 -6
- package/dist/solutions-components/p-fc0ca498.entry.js +0 -11
- package/dist/solutions-components/p-ff40cfb2.js +0 -6
- package/dist/solutions-components/p-ff863f16.entry.js +0 -11
- package/dist/solutions-components/p-ffb567ab.entry.js +0 -6
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{a as t}from"./p-4b9ba22d.js";import{d as n}from"./p-a82f35c9.js";const e=["top","right","bottom","left"],o=["start","end"],r=e.reduce(((t,n)=>t.concat(n,n+"-"+o[0],n+"-"+o[1])),[]),i=Math.min,a=Math.max,l=Math.round,c=Math.floor,s=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(t,n,e){return a(t,i(n,e))}function m(t,n){return"function"==typeof t?t(n):t}function p(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function g(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function x(t){return["top","bottom"].includes(p(t))?"y":"x"}function w(t){return g(x(t))}function v(t,n,e){void 0===e&&(e=!1);const o=y(t),r=w(t),i=h(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=A(a)),[a,A(a)]}function b(t){return t.replace(/start|end/g,(t=>u[t]))}function A(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function S(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function k(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function P(t,n,e){let{reference:o,floating:r}=t;const i=x(n),a=w(n),l=h(a),c=p(n),s="y"===i,f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,d=o[l]/2-r[l]/2;let m;switch(c){case"top":m={x:f,y:o.y-r.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-r.width,y:u};break;default:m={x:o.x,y:o.y}}switch(y(n)){case"start":m[a]-=d*(e&&s?-1:1);break;case"end":m[a]+=d*(e&&s?-1:1)}return m}async function D(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=m(n,t),y=S(p),g=l[d?"floating"===u?"reference":"floating":u],h=k(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(g)))||e?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),x="floating"===u?{...a.floating,x:o,y:r}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),v=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},b=k(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:w,strategy:c}):x);return{top:(h.top-b.top+y.top)/v.y,bottom:(b.bottom-h.bottom+y.bottom)/v.y,left:(h.left-b.left+y.left)/v.x,right:(b.right-h.right+y.right)/v.x}}const O=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:l,platform:c,elements:s}=n,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:x=!0,...w}=m(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const S=p(r),k=p(l)===l,P=await(null==c.isRTL?void 0:c.isRTL(s.floating)),O=d||(k||!x?[A(l)]:function(t){const n=A(t);return[b(t),n,b(n)]}(l));d||"none"===h||O.push(...function(t,n,e,o){const r=y(t);let i=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(p(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(b)))),i}(l,x,h,P));const R=[l,...O],E=await D(n,w),M=[];let F=(null==(o=i.flip)?void 0:o.overflows)||[];if(f&&M.push(E[S]),u){const t=v(r,a,P);M.push(E[t[0]],E[t[1]])}if(F=[...F,{placement:r,overflows:M}],!M.every((t=>t<=0))){var T,C;const t=((null==(T=i.flip)?void 0:T.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:F},reset:{placement:n}};let e=null==(C=F.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:C.placement;if(!e)switch(g){case"bestFit":{var $;const t=null==($=F.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:$[0];t&&(e=t);break}case"initialPlacement":e=l}if(r!==e)return{reset:{placement:e}}}return{}}}};function R(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function E(t){return e.some((n=>t[n]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=m(t,n);switch(o){case"referenceHidden":{const t=R(await D(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:E(t)}}}case"escaped":{const t=R(await D(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:E(t)}}}default:return{}}}}},F=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,r=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=p(e),l=y(e),c="y"===x(e),s=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,u=m(n,t);let{mainAxis:d,crossAxis:g,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&"number"==typeof h&&(g="end"===l?-1*h:h),c?{x:g*f,y:d*s}:{x:d*s,y:g*f}}(n,t);return{x:e+r.x,y:o+r.y,data:r}}}};function T(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function $(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return t instanceof Node||t instanceof C(t).Node}function B(t){return t instanceof Element||t instanceof C(t).Element}function L(t){return t instanceof HTMLElement||t instanceof C(t).HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}function H(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function I(t){return["table","td","th"].includes(T(t))}function W(t){const n=N(),e=Y(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function N(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function q(t){return["html","body","#document"].includes(T(t))}function Y(t){return C(t).getComputedStyle(t)}function V(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function X(t){if("html"===T(t))return t;const n=t.assignedSlot||t.parentNode||j(t)&&t.host||$(t);return j(n)?n.host:n}function _(t){const n=X(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:L(n)&&H(n)?n:_(n)}function G(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const r=_(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),a=C(r);return i?n.concat(a,a.visualViewport||[],H(r)?r:[],a.frameElement&&e?G(a.frameElement):[]):n.concat(r,G(r,[],e))}function J(t){const n=Y(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=L(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,c=l(e)!==i||l(o)!==a;return c&&(e=i,o=a),{width:e,height:o,$:c}}function K(t){return B(t)?t:t.contextElement}function Q(t){const n=K(t);if(!L(n))return s(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=J(n);let a=(i?l(e.width):e.width)/o,c=(i?l(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const U=s(0);function Z(t){const n=C(t);return N()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:U}function tt(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=K(t);let a=s(1);n&&(o?B(o)&&(a=Q(o)):a=Q(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==C(t))&&n}(i,e,o)?Z(i):s(0);let c=(r.left+l.x)/a.x,f=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const t=C(i),n=o&&B(o)?C(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=Q(e),n=e.getBoundingClientRect(),o=Y(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,f*=t.y,u*=t.x,d*=t.y,c+=r,f+=i,e=C(e).frameElement}}return k({width:u,height:d,x:c,y:f})}function nt(t){return tt($(t)).left+V(t).scrollLeft}function et(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=C(t),o=$(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){i=r.width,a=r.height;const t=N();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===n)o=function(t){const n=$(t),e=V(t),o=t.ownerDocument.body,r=a(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=a(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+nt(t);const c=-e.scrollTop;return"rtl"===Y(o).direction&&(l+=a(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:c}}($(t));else if(B(n))o=function(t,n){const e=tt(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=L(t)?Q(t):s(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=Z(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return k(o)}function ot(t,n){const e=X(t);return!(e===n||!B(e)||q(e))&&("fixed"===Y(e).position||ot(e,n))}function rt(t,n,e){const o=L(n),r=$(n),i="fixed"===e,a=tt(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=s(0);if(o||!o&&!i)if(("body"!==T(n)||H(r))&&(l=V(n)),o){const t=tt(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=nt(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function it(t,n){return L(t)&&"fixed"!==Y(t).position?n?n(t):t.offsetParent:null}function at(t,n){const e=C(t);if(!L(t))return e;let o=it(t,n);for(;o&&I(o)&&"static"===Y(o).position;)o=it(o,n);return o&&("html"===T(o)||"body"===T(o)&&"static"===Y(o).position&&!W(o))?e:o||function(t){let n=X(t);for(;L(n)&&!q(n);){if(W(n))return n;n=X(n)}return null}(t)||e}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=L(e),i=$(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=s(1);const c=s(0);if((r||!r&&"fixed"!==o)&&(("body"!==T(e)||H(i))&&(a=V(e)),L(e))){const t=tt(e);l=Q(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+c.x,y:n.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:$,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=G(t,[],!1).filter((t=>B(t)&&"body"!==T(t))),r=null;const i="fixed"===Y(t).position;let a=i?X(t):t;for(;B(a)&&!q(a);){const n=Y(a),e=W(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||H(a)&&!e&&ot(t,a))?o=o.filter((t=>t!==a)):r=n,a=X(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],c=l.reduce(((t,e)=>{const o=et(n,e,r);return t.top=a(o.top,t.top),t.right=i(o.right,t.right),t.bottom=i(o.bottom,t.bottom),t.left=a(o.left,t.left),t}),et(n,l[0],r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:at,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||at,i=this.getDimensions;return{reference:rt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return J(t)},getScale:Q,isElement:B,isRTL:function(t){return"rtl"===Y(t).direction}};function ct(t){return function(t){for(let n=t;n;n=st(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=st(t);n;n=st(n)){if(!(n instanceof Element))continue;const t=getComputedStyle(n);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return n;if("BODY"===n.tagName)return n}}return null}
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v1.9.0
|
11
|
+
*/(t)}function st(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}!function(){{const t=lt.getOffsetParent;lt.getOffsetParent=n=>t(n,ct)}}();const ft=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})=>{if(!n||!e)return null;const{x:u,y:d,placement:m,strategy:p,middlewareData:y}=await((t,n,e)=>{const o=new Map,r={platform:lt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:f,y:u}=P(s,o,c),d=o,m={},p=0;for(let e=0;e<l.length;e++){const{name:i,fn:y}=l[e],{x:g,y:h,data:x,reset:w}=await y({x:f,y:u,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:s,platform:a,elements:{reference:t,floating:n}});f=null!=g?g:f,u=null!=h?h:u,m={...m,[i]:{...m[i],...x}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(s=!0===w.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:f,y:u}=P(s,d,c))),e=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:m}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:ht(e,r),middleware:yt({placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})});if(s&&y.arrow){const{x:n,y:e}=y.arrow,o=m.split("-")[0],r=null!=n?"left":"top",i=wt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(s.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const g=y.hide?.referenceHidden,h=g?"hidden":null,x=h?"none":null;e.setAttribute(ut,m);const w=`translate(${Math.round(u)}px,${Math.round(d)}px)`;Object.assign(e.style,{visibility:h,pointerEvents:x,position:p,top:"0",left:"0",transform:w})},ut="data-placement",dt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],mt="bottom-start",pt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function yt({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:o,offsetSkidding:a,arrowEl:l,type:c}){const s=[(void 0===f&&(f={}),{name:"shift",options:f,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:a={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...l}=m(f,t),c={x:n,y:e},s=await D(t,l),u=x(p(o)),y=g(u);let h=c[y],w=c[u];r&&(h=d(h+s["y"===y?"top":"left"],h,h-s["y"===y?"bottom":"right"])),i&&(w=d(w+s["y"===u?"top":"left"],w,w-s["y"===u?"bottom":"right"]));const v=a.fn({...t,[y]:h,[u]:w});return{...v,data:{x:v.x-n,y:v.y-e}}}}),M()];var f;if("menu"===c)return[...s,O({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===c||"tooltip"===c){const c=[...s,F({mainAxis:"number"==typeof o?o:0,crossAxis:"number"==typeof a?a:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?c.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,o,i;const{rects:a,middlewareData:l,placement:c,platform:s,elements:f}=n,{crossAxis:u=!1,alignment:d,allowedPlacements:g=r,autoAlignment:h=!0,...x}=m(t,n),w=void 0!==d||g===r?function(t,n,e){return(t?[...e.filter((n=>y(n)===t)),...e.filter((n=>y(n)!==t))]:e.filter((t=>p(t)===t))).filter((e=>!t||y(e)===t||!!n&&b(e)!==e))}(d||null,h,g):g,A=await D(n,x),S=(null==(e=l.autoPlacement)?void 0:e.index)||0,k=w[S];if(null==k)return{};const P=v(k,a,await(null==s.isRTL?void 0:s.isRTL(f.floating)));if(c!==k)return{reset:{placement:w[0]}};const O=[A[p(k)],A[P[0]],A[P[1]]],R=[...(null==(o=l.autoPlacement)?void 0:o.overflows)||[],{placement:k,overflows:O}],E=w[S+1];if(E)return{data:{index:S+1,overflows:R},reset:{placement:E}};const M=R.map((t=>{const n=y(t.placement);return[t.placement,n&&u?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),F=(null==(i=M.filter((t=>t[2].slice(0,y(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||M[0][0];return F!==c?{data:{index:S+1,overflows:R},reset:{placement:F}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||c.push(O(e?{fallbackPlacements:e}:{})),l&&c.push((t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:r,rects:a,platform:l,elements:c,middlewareData:s}=n,{element:f,padding:u=0}=m(t,n)||{};if(null==f)return{};const p=S(u),g={x:e,y:o},x=w(r),v=h(x),b=await l.getDimensions(f),A="y"===x,k=A?"top":"left",P=A?"bottom":"right",D=A?"clientHeight":"clientWidth",O=a.reference[v]+a.reference[x]-g[x]-a.floating[v],R=g[x]-a.reference[x],E=await(null==l.getOffsetParent?void 0:l.getOffsetParent(f));let M=E?E[D]:0;M&&await(null==l.isElement?void 0:l.isElement(E))||(M=c.floating[D]||a.floating[v]);const F=O/2-R/2,T=M/2-b[v]/2-1,C=i(p[k],T),$=i(p[P],T),z=C,B=M-b[v]-$,L=M/2-b[v]/2+F,j=d(z,L,B),H=!s.arrow&&null!=y(r)&&L!=j&&a.reference[v]/2-(L<z?C:$)-b[v]/2<0,I=H?L<z?L-z:L-B:0;return{[x]:g[x]+I,data:{[x]:j,centerOffset:L-j-I,...H&&{alignmentOffset:I}},reset:H}}}))({element:l})),c}return[]}function gt(t,n){const e=t.filter((t=>dt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${dt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ht(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function xt(t,e,o=!1){if(!t.open)return;const r=o?function(t){let e=bt.get(t);return e||(e=n(ft,100,{leading:!0,maxWait:100}),bt.set(t,e),e)}(t):ft;return r(t,e)}const wt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},vt=new WeakMap,bt=new WeakMap;function At(t,n,e){e&&n&&(St(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),vt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,d=K(t),m=r||l?[...d?G(d):[],...G(n)]:[];m.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),l&&t.addEventListener("resize",e)}));const p=d&&f?function(t,n){let e,o=null;const r=$(t);function l(){clearTimeout(e),o&&o.disconnect(),o=null}return function s(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),l();const{left:d,top:m,width:p,height:y}=t.getBoundingClientRect();if(f||n(),!p||!y)return;const g={rootMargin:-c(m)+"px "+-c(r.clientWidth-(d+p))+"px "+-c(r.clientHeight-(m+y))+"px "+-c(d)+"px",threshold:a(0,i(1,u))||1};let h=!0;function x(t){const n=t[0].intersectionRatio;if(n!==u){if(!h)return s();n?s(!1,n):e=setTimeout((()=>{s(!1,1e-7)}),100)}h=!1}try{o=new IntersectionObserver(x,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,g)}o.observe(t)}(!0),l}(d,e):null;let y,g=-1,h=null;s&&(h=new ResizeObserver((t=>{let[o]=t;o&&o.target===d&&h&&(h.unobserve(n),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{h&&h.observe(n)}))),e()})),d&&!u&&h.observe(d),h.observe(n));let x=u?tt(t):null;return u&&function n(){const o=tt(t);!x||o.x===x.x&&o.y===x.y&&o.width===x.width&&o.height===x.height||e(),x=o,y=requestAnimationFrame(n)}(),e(),()=>{m.forEach((t=>{r&&t.removeEventListener("scroll",e),l&&t.removeEventListener("resize",e)})),p&&p(),h&&h.disconnect(),h=null,u&&cancelAnimationFrame(y)}}(n,e,(()=>t.reposition()))))}function St(t,n,e){e&&n&&(vt.get(t)?.(),vt.delete(t),bt.get(t)?.cancel(),bt.delete(t))}const kt=Math.ceil(Math.hypot(4,4));export{pt as F,St as a,kt as b,At as c,mt as d,gt as f,xt as r}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as e,h as i,H as n,g as o}from"./p-91c78d98.js";import{t as s,e as c,n as a,g as r,u as l,a as h,y as d}from"./p-4b9ba22d.js";import{c as m,d as u,H as p}from"./p-3db650c2.js";import{g as b}from"./p-361b44ed.js";import{c as f,d as v,u as k}from"./p-2ee3afea.js";import{i as g}from"./p-34fb2a6e.js";import{c as x,d as y,g as w}from"./p-f52ee45d.js";import{c as z,s as C,a as A}from"./p-3a668467.js";import{c as I,d as S}from"./p-73c50d50.js";import{C as j}from"./p-3760847f.js";import"./p-86f482ca.js";import"./p-efc041d0.js";const E=class{constructor(i){t(this,i),this.calciteInternalCheckboxBlur=e(this,"calciteInternalCheckboxBlur",6),this.calciteCheckboxChange=e(this,"calciteCheckboxChange",6),this.calciteInternalCheckboxFocus=e(this,"calciteInternalCheckboxFocus",6),this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z",this.indeterminatePath="M13 8v1H3V8z",this.getPath=()=>this.indeterminate?this.indeterminatePath:this.checked?this.checkedPath:"",this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.setFocus(),this.indeterminate=!1,this.calciteCheckboxChange.emit())},this.keyDownHandler=t=>{g(t.key)&&(this.toggle(),t.preventDefault())},this.clickHandler=()=>{this.disabled||this.toggle()},this.onToggleBlur=()=>{this.calciteInternalCheckboxBlur.emit(!1)},this.onToggleFocus=()=>{this.calciteInternalCheckboxFocus.emit(!0)},this.onLabelClick=()=>{this.toggle()},this.checked=!1,this.disabled=!1,this.form=void 0,this.guid=void 0,this.hovered=!1,this.indeterminate=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}async setFocus(){var t;await z(this),null===(t=this.toggleEl)||void 0===t||t.focus()}syncHiddenFormInput(t){t.type="checkbox"}connectedCallback(){this.guid=this.el.id||`calcite-checkbox-${b()}`,f(this),x(this),m(this)}disconnectedCallback(){v(this),y(this),u(this)}componentWillLoad(){C(this)}componentDidLoad(){A(this)}componentDidRender(){k(this)}render(){return i(n,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},i("div",{"aria-checked":s(this.checked),"aria-label":w(this),class:"toggle",onBlur:this.onToggleBlur,onFocus:this.onToggleFocus,role:"checkbox",tabIndex:this.disabled?void 0:0,ref:t=>this.toggleEl=t},i("svg",{"aria-hidden":"true",class:"check-svg",viewBox:"0 0 16 16"},i("path",{d:this.getPath()})),i("slot",null)),i(p,{component:this}))}get el(){return o(this)}};
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v1.9.0
|
11
|
+
*/
|
12
|
+
function T(t){return"CALCITE-TREE-ITEM"===t?.tagName}E.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{position:relative;outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.toggle::after{content:"";inset-block-start:50%;inset-inline-start:50%;min-block-size:1.5rem;min-inline-size:1.5rem;position:absolute;transform:translateX(-50%) translateY(-50%)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}';const D=class{constructor(i){t(this,i),this.calciteTreeSelect=e(this,"calciteTreeSelect",6),this.keyDownHandler=t=>{if(this.child)return;const e=this.el,i=t.target;if(!T(i)||!this.el.contains(i)||!["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End","Tab"].includes(t.key))return;const n=function(t){return Array.from(t.querySelectorAll("calcite-tree-item:not([disabled])")).filter((e=>{let i=e;for(;i!==t&&void 0!==i;){const t=i.parentElement;if(T(t)&&t.hasChildren&&!t.expanded)return!1;i=i.parentElement}return!0}))}(e);if("Tab"!==t.key){if("ArrowDown"===t.key){const e=n.indexOf(i),o=n[e+1];return null==o||o.focus(),void t.preventDefault()}if("ArrowUp"===t.key){const e=n.indexOf(i),o=n[e-1];return null==o||o.focus(),void t.preventDefault()}if("ArrowLeft"===t.key){if(i.hasChildren&&i.expanded)return i.expanded=!1,void t.preventDefault();const e=n.slice(0,n.indexOf(i)).reverse().find((t=>t.depth===i.depth-1));return null==e||e.focus(),void t.preventDefault()}if("ArrowRight"!==t.key)if("Home"!==t.key)if("End"!==t.key);else{const e=n.pop();e&&(e.focus(),t.preventDefault())}else{const e=n.shift();e&&(e.focus(),t.preventDefault())}else if(!i.disabled&&i.hasChildren)if(i.expanded){const e=n.indexOf(i),o=n[e+1];null==o||o.focus(),t.preventDefault()}else i.expanded=!0,t.preventDefault()}else n.forEach((t=>t.tabIndex=-1))},this.lines=!1,this.child=void 0,this.scale="m",this.selectionMode="single",this.selectedItems=[]}componentWillRender(){var t;const e=null===(t=this.el.parentElement)||void 0===t?void 0:t.closest("calcite-tree");this.lines=e?e.lines:this.lines,this.scale=e?e.scale:this.scale,this.selectionMode=e?e.selectionMode:this.selectionMode,this.child=!!e}render(){return i(n,{"aria-multiselectable":this.child?void 0:("multiple"===this.selectionMode||"multichildren"===this.selectionMode).toString(),onKeyDown:this.keyDownHandler,role:this.child?void 0:"tree",tabIndex:this.getRootTabIndex()},i("slot",null))}onFocus(){if(!this.child){const t=this.el.querySelector("calcite-tree-item[selected]:not([disabled])")||this.el.querySelector("calcite-tree-item:not([disabled])");c(t)}}onFocusIn(t){(t.relatedTarget===this.el||!this.el.contains(t.relatedTarget))&&this.el.removeAttribute("tabindex")}onFocusOut(t){!this.el.contains(t.relatedTarget)&&(this.el.tabIndex=this.getRootTabIndex())}onInternalTreeItemSelect(t){if(this.child)return;const e=t.target,i=a(e.querySelectorAll("calcite-tree-item"));if(t.preventDefault(),t.stopPropagation(),"ancestors"===this.selectionMode)return void this.updateAncestorTree(t);const n="none"===this.selectionMode,o=null!==this.selectionMode&&(!e.hasChildren||e.hasChildren&&("children"===this.selectionMode||"multichildren"===this.selectionMode)),s="multichildren"===this.selectionMode&&e.hasChildren,c=!n&&t.detail.modifyCurrentSelection&&("multiple"===this.selectionMode||"multichildren"===this.selectionMode),r=!c&&(("single"===this.selectionMode||"multiple"===this.selectionMode)&&i.length<=0||"children"===this.selectionMode||"multichildren"===this.selectionMode),l=["multiple","none","single","single-persist"].includes(this.selectionMode)&&e.hasChildren,h=[];o&&h.push(e),r&&a(this.el.querySelectorAll("calcite-tree-item[selected]")).forEach((t=>{h.includes(t)||(t.selected=!1)})),l&&["multiple","none","single","single-persist"].includes(this.selectionMode)&&(e.expanded=!e.expanded),s&&i.forEach((t=>{t.selected=!1,t.hasChildren&&(t.expanded=!1)})),c&&window.getSelection().removeAllRanges(),c&&e.selected?h.forEach((t=>{t.disabled||(t.selected=!1)})):n||h.forEach((t=>{t.disabled||(t.selected=!0)})),this.selectedItems=n?[]:a(this.el.querySelectorAll("calcite-tree-item")).filter((t=>t.selected)),this.calciteTreeSelect.emit(),t.stopPropagation()}updateAncestorTree(t){const e=t.target,i=t.detail.updateItem;if(e.disabled||e.indeterminate&&!i)return;const n=[];let o=e.parentElement.closest("calcite-tree-item");for(;o;)n.push(o),o=o.parentElement.closest("calcite-tree-item");const s=Array.from(e.querySelectorAll("calcite-tree-item:not([disabled])")),c=s.filter((t=>!t.hasChildren)),r=s.filter((t=>t.hasChildren));let l;function h(t,e){const i=t.filter((t=>t.selected)),n=t.filter((t=>!t.selected));e.selected=i.length===t.length,e.indeterminate=i.length>0&&n.length>0}l=i?e.hasChildren?!(e.selected||e.indeterminate):!e.selected:e.selected,c.forEach((t=>{t.selected=l,t.indeterminate=!1})),r.reverse().forEach((t=>{h(Array.from(t.querySelectorAll(":scope > calcite-tree > calcite-tree-item")),t)})),i&&(e.hasChildren?h(s,e):(e.selected=l,e.indeterminate=!1)),n.forEach((t=>{const e=a(t.querySelectorAll("calcite-tree-item")),i=e.filter((t=>t.selected));if(0===i.length)return t.selected=!1,void(t.indeterminate=!1);const n=i.length<e.length;t.indeterminate=n,t.selected=!n})),this.selectedItems=a(this.el.querySelectorAll("calcite-tree-item")).filter((t=>t.selected)),i&&this.calciteTreeSelect.emit()}getRootTabIndex(){return this.child?-1:0}get el(){return o(this)}};D.style=":host{display:block}:host(:focus){outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}";
|
13
|
+
/*!
|
14
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
15
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
16
|
+
* v1.9.0
|
17
|
+
*/
|
18
|
+
const H="children",L="bullet-point",R="check",F=class{constructor(i){t(this,i),this.calciteInternalTreeItemSelect=e(this,"calciteInternalTreeItemSelect",6),this.iconClickHandler=t=>{t.stopPropagation(),this.expanded=!this.expanded},this.childrenClickHandler=t=>t.stopPropagation(),this.userChangedValue=!1,this.updateParentIsExpanded=(t,e)=>{r(t,H,{all:!0,selector:"calcite-tree-item"}).forEach((t=>t.parentExpanded=e))},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=l(t)},this.disabled=!1,this.expanded=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.selected=!1,this.parentExpanded=!1,this.depth=-1,this.hasChildren=null,this.lines=void 0,this.scale=void 0,this.indeterminate=!1,this.selectionMode=void 0,this.hasEndActions=!1,this.updateAfterInitialRender=!1}expandedHandler(t){this.updateParentIsExpanded(this.el,t)}handleSelectedChange(t){"ancestors"!==this.selectionMode||this.userChangedValue||(t&&(this.indeterminate=!1),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:!0,updateItem:!1}))}getSelectionMode(){this.isSelectionMultiLike="multiple"===this.selectionMode||"multichildren"===this.selectionMode}connectedCallback(){var t;if(this.parentTreeItem=null===(t=this.el.parentElement)||void 0===t?void 0:t.closest("calcite-tree-item"),this.parentTreeItem){const{expanded:t}=this.parentTreeItem;this.updateParentIsExpanded(this.parentTreeItem,t)}I(this),f(this)}disconnectedCallback(){S(this),v(this)}componentWillRender(){var t;this.hasChildren=!!this.el.querySelector("calcite-tree"),this.depth=0;let e,i=this.el.closest("calcite-tree");if(i)for(this.selectionMode=i.selectionMode,this.scale=i.scale||"m",this.lines=i.lines;i&&(e=null===(t=i.parentElement)||void 0===t?void 0:t.closest("calcite-tree"),e!==i);)i=e,this.depth=this.depth+1}componentWillLoad(){requestAnimationFrame((()=>this.updateAfterInitialRender=!0))}componentDidLoad(){this.updateAncestorTree()}componentDidRender(){k(this,(()=>!1))}render(){const t="rtl"===h(this.el),e="single"===this.selectionMode||"children"===this.selectionMode,o="multiple"===this.selectionMode||"multichildren"===this.selectionMode,c="none"===this.selectionMode&&!this.hasChildren,a=this.hasChildren?i("calcite-icon",{class:{chevron:!0,[j.rtl]:t},"data-test-id":"icon",icon:"chevron-right",onClick:this.iconClickHandler,scale:"l"===this.scale?"m":"s"}):null,r=i("slot",{key:"default-slot"}),l="ancestors"===this.selectionMode?i("label",{class:"checkbox-label",key:"checkbox-label"},i("calcite-checkbox",{checked:this.selected,class:"checkbox","data-test-id":"checkbox",indeterminate:this.hasChildren&&this.indeterminate,scale:this.scale,tabIndex:-1}),r):null,d=e?L:o?R:c?"blank":null,m=d?i("calcite-icon",{class:{"bullet-point":d===L,checkmark:d===R,[j.rtl]:t},icon:d,scale:"l"===this.scale?"m":"s"}):null,u=!(this.parentExpanded||1===this.depth),p=this.updateAfterInitialRender&&this.expanded,{hasEndActions:b}=this,f=i("slot",{key:"actionsEndSlot",name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}),v=i("calcite-icon",{class:"icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"l"===this.scale?"m":"s"});return i(n,{"aria-expanded":this.hasChildren?s(p):void 0,"aria-hidden":s(u),"aria-selected":this.selected?"true":o?"false":void 0,"calcite-hydrated-hidden":u,role:"treeitem"},i("div",{class:{"item--expanded":p}},i("div",{class:"node-actions-container"},i("div",{class:{"node-container":!0,[j.rtl]:t},"data-selection-mode":this.selectionMode,ref:t=>this.defaultSlotWrapper=t},a,m,this.iconStart?v:null,l||r),i("div",{class:"actions-end",hidden:!b,ref:t=>this.actionSlotWrapper=t},f)),i("div",{class:{"children-container":!0,[j.rtl]:t},"data-test-id":"calcite-tree-children",onClick:this.childrenClickHandler,role:this.hasChildren?"group":void 0},i("slot",{name:H}))))}onClick(t){if(this.disabled||this.isActionEndEvent(t))return;const[e]=d(this.el,"a");e&&"a"!==t.composedPath()[0].tagName.toLowerCase()&&window.open(e.href,""===e.target?"_self":e.target),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:"ancestors"===this.selectionMode||this.isSelectionMultiLike,updateItem:!0}),this.userChangedValue=!0}keyDownHandler(t){if(!this.isActionEndEvent(t)&&!t.defaultPrevented)switch(t.key){case" ":this.userChangedValue=!0,this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),t.preventDefault();break;case"Enter":const e=Array.from(this.el.children).find((t=>t.matches("a")));this.userChangedValue=!0,e?(e.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),t.preventDefault()}}isActionEndEvent(t){return t.composedPath().includes(this.actionSlotWrapper)}updateAncestorTree(){const t=this.parentTreeItem;if("ancestors"===this.selectionMode&&t)if(this.selected){const e=this.el.parentElement,i=Array.from(null==e?void 0:e.children),n=i.filter((t=>t.selected));i.length===n.length?(t.selected=!0,t.indeterminate=!1):n.length>0&&(t.indeterminate=!0),Array.from(this.el.querySelectorAll("calcite-tree-item:not([disabled])")).forEach((t=>{t.selected=!0,t.indeterminate=!1}))}else this.indeterminate&&(this.parentTreeItem.indeterminate=!0)}get el(){return o(this)}static get watchers(){return{expanded:["expandedHandler"],selected:["handleSelectedChange"],selectionMode:["getSelectionMode"]}}};F.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}.node-actions-container{display:flex}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .node-actions-container{min-block-size:1.5rem}:host([scale=s]) .node-actions-container .node-container .checkbox,:host([scale=s]) .node-actions-container .node-container .chevron,:host([scale=s]) .node-actions-container .node-container .checkmark,:host([scale=s]) .node-actions-container .node-container .bullet-point{margin-inline:0.25rem}:host([scale=s]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .node-actions-container{min-block-size:2rem}:host([scale=m]) .node-actions-container .node-container .checkbox,:host([scale=m]) .node-actions-container .node-container .chevron,:host([scale=m]) .node-actions-container .node-container .checkmark,:host([scale=m]) .node-actions-container .node-container .bullet-point{margin-inline:0.5rem}:host([scale=m]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .node-actions-container{min-block-size:2.75rem}:host([scale=l]) .node-actions-container .node-container .checkbox,:host([scale=l]) .node-actions-container .node-container .chevron,:host([scale=l]) .node-actions-container .node-container .checkmark,:host([scale=l]) .node-actions-container .node-container .bullet-point{margin-inline:0.75rem}:host([scale=l]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-app-z-index);inline-size:1px;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:"";background-color:var(--calcite-ui-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}::slotted(*):hover{text-decoration:none !important}::slotted(a){inline-size:100%;-webkit-text-decoration-line:none;text-decoration-line:none}:host{outline:2px solid transparent;outline-offset:2px}:host .node-container{outline-color:transparent}:host:focus .node-container,:host:active .node-container{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host(:focus:not([disabled])) .node-container{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.actions-end{display:flex;flex-direction:row;align-items:center;align-self:stretch}.checkbox{line-height:0}.checkbox-label{pointer-events:none;display:flex;align-items:center}.checkbox:focus{outline:2px solid transparent;outline-offset:2px}.children-container{position:relative;block-size:0px;transform-origin:top;overflow:hidden;opacity:0;margin-inline-start:1.25rem;transform:scaleY(0);transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.item--expanded>.children-container{overflow:visible;opacity:1;transform:none;block-size:auto}.node-container{position:relative;display:flex;min-inline-size:0px;flex-grow:1;align-items:center}.node-container .checkmark,.node-container .bullet-point{opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus:not([disabled])) .node-container .checkmark,:host(:focus:not([disabled])) .node-container .bullet-point{opacity:1}:host([selected]) .node-container,:host([selected]) .node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .node-container .bullet-point,:host([selected]) .node-container .checkmark,:host([selected]) .node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark{opacity:1;color:var(--calcite-ui-brand)}:host([selection-mode=none]:not([has-children])):host([scale=s]) .node-container{padding-inline-start:0.5rem}:host([selection-mode=none]:not([has-children])):host([scale=m]) .node-container{padding-inline-start:1rem}:host([selection-mode=none]:not([has-children])):host([scale=l]) .node-container{padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=s]) .node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.25rem}:host(:not([has-children])):host([scale=m]) .node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=l]) .node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.75rem}:host([has-children]) .node-container[data-selection-mode=ancestors] .checkbox{margin-inline-start:0}:host([has-children]) .node-container .bullet-point,:host([has-children]) .node-container .checkmark{display:none}.chevron{position:relative;align-self:center;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;flex:0 0 auto;transform:rotate(0deg)}.calcite--rtl .chevron{transform:rotate(180deg)}.item--expanded .node-container>.chevron{transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-ui-brand)}:host([hidden]){display:none}[hidden]{display:none}';export{E as calcite_checkbox,D as calcite_tree,F as calcite_tree_item}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as n,h as i,F as e,H as s,g as o}from"./p-91c78d98.js";import{u as a}from"./p-4b9ba22d.js";import{c as r,s as l,a as c}from"./p-3a668467.js";import"./p-361b44ed.js";import"./p-3760847f.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v1.9.0
|
11
|
+
*/const h="hide",d="logo",m="user",g="progress",v="navigation-secondary",p="navigation-tertiary",u=class{constructor(i){t(this,i),this.calciteNavigationActionSelect=n(this,"calciteNavigationActionSelect",6),this.actionClickHandler=()=>{this.calciteNavigationActionSelect.emit()},this.handleUserSlotChange=t=>{this.isPrimaryLevel()&&(this.userSlotHasElements=a(t))},this.handleLogoSlotChange=t=>{this.isPrimaryLevel()&&(this.logoSlotHasElements=a(t))},this.handleContentStartSlotChange=t=>{this.isPrimaryLevel()&&(this.primaryContentStartSlotHasElements=a(t))},this.handleContentEndSlotChange=t=>{this.isPrimaryLevel()&&(this.primaryContentEndSlotHasElements=a(t))},this.handleContentCenterSlotChange=t=>{this.isPrimaryLevel()&&(this.primaryContentCenterSlotHasElements=a(t))},this.handleSecondarySlotChange=t=>{this.secondarySlotHasElements=a(t)},this.handleTertiarySlotChange=t=>{this.tertiarySlotHasElements=a(t)},this.handleMenuActionSlotChange=t=>{this.isPrimaryLevel()&&(this.navigationActionSlotHasElements=a(t),this.navigationActionSlotHasElements&&(this.navigationAction=!1))},this.handleProgressSlotChange=t=>{this.isPrimaryLevel()&&(this.progressSlotHasElement=a(t))},this.label=void 0,this.navigationAction=!1,this.logoSlotHasElements=void 0,this.navigationActionSlotHasElements=void 0,this.primaryContentCenterSlotHasElements=void 0,this.primaryContentEndSlotHasElements=void 0,this.primaryContentStartSlotHasElements=void 0,this.progressSlotHasElement=void 0,this.secondarySlotHasElements=void 0,this.tertiarySlotHasElements=void 0,this.userSlotHasElements=void 0}async setFocus(){var t;return await r(this),null===(t=this.navigationActionEl)||void 0===t?void 0:t.setFocus()}componentWillLoad(){l(this)}componentDidLoad(){c(this)}isPrimaryLevel(){return this.el.slot!==v&&this.el.slot!==p}renderMenuAction(){return i("slot",{name:"navigation-action",onSlotchange:this.handleMenuActionSlotChange},this.navigationAction&&i("calcite-action",{icon:"hamburger",onClick:this.actionClickHandler,text:this.label,ref:t=>this.navigationActionEl=t}))}render(){const t=this.el.slot;return i(s,null,i("div",{class:{container:!0,secondary:t===v,tertiary:t===p,primary:this.logoSlotHasElements||this.userSlotHasElements||this.navigationActionSlotHasElements||this.primaryContentCenterSlotHasElements||this.primaryContentEndSlotHasElements||this.primaryContentStartSlotHasElements||this.navigationAction}},i("div",{class:{[h]:!this.progressSlotHasElement,[g]:!0}},i("slot",{name:g,onSlotchange:this.handleProgressSlotChange})),i("div",{class:{"container-content":!0,"progress-bar":this.progressSlotHasElement}},this.renderMenuAction(),i("div",{class:{[h]:!this.logoSlotHasElements,[d]:!0}},i("slot",{name:d,onSlotchange:this.handleLogoSlotChange})),i("slot",{name:"content-start",onSlotchange:this.handleContentStartSlotChange}),i("slot",{name:"content-center",onSlotchange:this.handleContentCenterSlotChange}),i("slot",{name:"content-end",onSlotchange:this.handleContentEndSlotChange}),i("div",{class:{[h]:!this.userSlotHasElements,[m]:!0}},i("slot",{name:m,onSlotchange:this.handleUserSlotChange})))),i(e,null,i("slot",{name:v,onSlotchange:this.handleSecondarySlotChange}),i("slot",{name:p,onSlotchange:this.handleTertiarySlotChange})))}get el(){return o(this)}};u.style=":host([hidden]){display:none}[hidden]{display:none}.container{display:flex;inline-size:100%;flex-direction:column;margin-block:0;margin-inline:auto;background-color:var(--calcite-navigation-background, var(--calcite-ui-foreground-1))}.container.primary,.container.secondary,.container.tertiary{border-block-end:1px solid;border-block-end-color:var(--calcite-navigation-border-color, var(--calcite-ui-border-3))}.user,.logo{display:flex}.hide{display:none}.primary{block-size:4rem}.secondary{block-size:3rem}.tertiary{block-size:3rem}.container-content{margin-inline:auto;display:flex;block-size:100%;inline-size:100%;margin-block:0;inline-size:var(--calcite-navigation-width, 100%);max-inline-size:100%}.container-content.progress-bar{margin-block-start:0.125rem}slot[name]{display:flex;flex-direction:row}slot[name=navigation-secondary]::slotted(calcite-navigation),slot[name=navigation-tertiary]::slotted(calcite-navigation){inline-size:100%}slot[name=content-start]::slotted(*),slot[name=content-center]::slotted(*),slot[name=content-end]::slotted(*){display:flex;flex-direction:row;align-items:center}slot[name=progress],slot[name=progress] calcite-progress{inset-block-start:0;inset-inline:0}slot[name=content-end]{margin-inline-start:auto}slot[name=content-start]{margin-inline-end:auto}slot[name=content-end],slot[name=logo]~slot[name=user],slot[name=user]:only-child{margin-inline-start:auto}slot[name=content-center]{margin-inline-start:auto;margin-inline-end:auto}slot[name=content-start]~slot[name=content-center]{margin-inline-start:0px}slot[name=content-start]~slot[name=content-end],slot[name=content-center]~slot[name=content-end],slot[name=content-center]~slot[name=user],slot[name=content-end]~slot[name=user]{margin:0px}";export{u as calcite_navigation}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
/*!
|
7
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
9
|
+
* v1.9.0
|
10
|
+
*/
|
11
|
+
const n={heading:"heading",container:"container",indented:"container--indented"},e={parentItem:"parent-item"};export{n as C,e as S}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,h as e,H as i,g as o,f as n,c as a}from"./p-91c78d98.js";import{t as s,i as r,f as c,q as l}from"./p-4b9ba22d.js";import{g as d}from"./p-361b44ed.js";import{c as h,d as u,u as p}from"./p-2ee3afea.js";import{s as f,a as b,c as v}from"./p-3a668467.js";import{c as m,d as g}from"./p-bf9d3381.js";import{c as x}from"./p-efc041d0.js";import{u as y,c as w,s as k,d as z}from"./p-29120ecd.js";import{f as E,c as j,b as C,a as H,r as D,F as L}from"./p-53368491.js";import{d as P,a as R,c as F,u as $}from"./p-a47c8ae2.js";import{o as O}from"./p-abc50d38.js";import{H as A}from"./p-bc4c41ba.js";import{i as I}from"./p-34fb2a6e.js";import{F as S}from"./p-bee78404.js";import"./p-3760847f.js";import"./p-86f482ca.js";import"./p-a82f35c9.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v1.9.0
|
11
|
+
*/const T=class{constructor(e){t(this,e),this.mutationObserver=x("mutation",(()=>n(this))),this.guid=`calcite-action-${d()}`,this.indicatorId=`${this.guid}-indicator`,this.buttonId=`${this.guid}-button`,this.handleTooltipSlotChange=t=>{const e=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-tooltip")))[0];e&&(e.referenceElement=this.buttonEl)},this.active=!1,this.alignment=void 0,this.appearance="solid",this.compact=!1,this.disabled=!1,this.icon=void 0,this.iconFlipRtl=!1,this.indicator=!1,this.label=void 0,this.loading=!1,this.scale="m",this.text=void 0,this.textEnabled=!1,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}onMessagesChange(){}effectiveLocaleChange(){y(this,this.effectiveLocale)}connectedCallback(){var t;h(this),m(this),w(this),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}async componentWillLoad(){f(this),await k(this)}componentDidLoad(){b(this)}disconnectedCallback(){var t;u(this),g(this),z(this),null===(t=this.mutationObserver)||void 0===t||t.disconnect()}componentDidRender(){p(this)}async setFocus(){var t;await v(this),null===(t=this.buttonEl)||void 0===t||t.focus()}renderTextContainer(){const{text:t,textEnabled:i}=this;return t?e("div",{class:{"text-container":!0,"text-container--visible":i},key:"text-container"},t):null}renderIndicatorText(){const{indicator:t,messages:i,indicatorId:o,buttonId:n}=this;return e("div",{"aria-labelledby":n,"aria-live":"polite",class:"indicator-text",id:o,role:"region"},t?i.indicator:null)}renderIconContainer(){var t;const{loading:i,icon:o,scale:n,el:a,iconFlipRtl:s}=this,r="l"===n?"m":"s",c=i?e("calcite-loader",{inline:!0,label:this.messages.loading,scale:"l"===n?"l":"m"}):null,l=o?e("calcite-icon",{flipRtl:s,icon:o,scale:r}):null,d=c||l,h=d||(null===(t=a.children)||void 0===t?void 0:t.length),u=e("div",{class:{"slot-container":!0,"slot-container--hidden":i}},e("slot",null));return h?e("div",{"aria-hidden":"true",class:"icon-container",key:"icon-container"},d,u):null}render(){const{active:t,compact:o,disabled:n,loading:a,textEnabled:r,label:c,text:l,indicator:d,indicatorId:h,buttonId:u,messages:p}=this,f=`${c||l}${d?` (${p.indicator})`:""}`,b={button:!0,"button--text-visible":r,"button--compact":o};return e(i,null,e("button",{"aria-busy":s(a),"aria-controls":d?h:null,"aria-disabled":s(n),"aria-label":f,"aria-pressed":s(t),class:b,disabled:n,id:u,ref:t=>this.buttonEl=t},this.renderIconContainer(),this.renderTextContainer()),e("slot",{name:"tooltip",onSlotchange:this.handleTooltipSlotChange}),this.renderIndicatorText())}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};T.style=':host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;background-color:transparent;--calcite-action-indicator-color:var(--calcite-ui-brand)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.button{position:relative;margin:0px;display:flex;inline-size:auto;cursor:pointer;align-items:center;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;flex:1 0 auto}.button:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.button:active{background-color:var(--calcite-ui-foreground-3)}.button .icon-container{pointer-events:none;margin:0px;display:flex;align-items:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}.button .text-container{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;transition-property:opacity;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:margin;transition-property:inline-size}.button .text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1;margin-inline-end:1rem}:host([scale=s]) .button{padding-inline:0.5rem;padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .button--text-visible .icon-container{margin-inline-end:0.5rem}:host([scale=m]) .button{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=m]) .button--text-visible .icon-container{margin-inline-end:0.75rem}:host([scale=l]) .button{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=l]) .button--text-visible .icon-container{margin-inline-end:1rem}:host([alignment=center]) .button{justify-content:center}:host([alignment=end]) .button{justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:flex}.slot-container--hidden{display:none}.button--text-visible{inline-size:100%}:host([active]) .button,:host([active]) .button:hover,:host([active]) .button:focus,:host([active][loading]) .button{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([active]) .button:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=transparent]) .button{background-color:transparent;transition-property:box-shadow;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host([appearance=transparent]) .button:hover,:host([appearance=transparent]) .button:focus{background-color:transparent;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}:host([active][appearance=transparent]) .button,:host([active][appearance=transparent]) .button:hover,:host([active][appearance=transparent]) .button:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([appearance=transparent][loading]) .button,:host([appearance=transparent][disabled]) .button{background-color:transparent}:host([loading]) .button,:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-ui-foreground-1)}:host([loading]) .button .text-container,:host([loading]) .button:hover .text-container,:host([loading]) .button:focus .text-container{opacity:var(--calcite-ui-opacity-disabled)}:host([loading]) calcite-loader[inline]{color:var(--calcite-ui-text-3);margin-inline-end:0px}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}:host([indicator]) .button::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}:host([indicator]) .button--text-visible::after{inset-block-end:auto}:host([indicator]) .button:hover::after,:host([indicator]) .button:focus::after{border-color:var(--calcite-ui-foreground-1)}:host([indicator][scale=s]) .button::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}:host([indicator][scale=s]) .button--text-visible::after{inset-block-end:auto;inset-inline-end:0.5rem}:host([indicator][active]) .button::after{border-color:var(--calcite-ui-foreground-3)}.indicator-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}';
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
15
|
+
* v1.9.0
|
16
|
+
*/
|
17
|
+
const B="close-button-container",M="header",_="aria-controls",W="aria-expanded",X=new
|
18
|
+
/*!
|
19
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
20
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
21
|
+
* v1.9.0
|
22
|
+
*/
|
23
|
+
class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=t=>{const{registeredElements:e}=this,i=t.find((t=>e.has(t)));return e.get(i)},this.togglePopovers=t=>{const e=t.composedPath(),i=this.queryPopover(e);i&&!i.triggerDisabled&&(i.open=!i.open),Array.from(this.registeredElements.values()).filter((t=>t!==i&&t.autoClose&&t.open&&!e.includes(t))).forEach((t=>t.open=!1))},this.keyHandler=t=>{t.defaultPrevented||("Escape"===t.key?this.closeAllPopovers():I(t.key)&&this.togglePopovers(t))},this.clickHandler=t=>{r(t)&&this.togglePopovers(t)}}registerElement(t,e){this.registeredElementCount++,this.registeredElements.set(t,e),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}closeAllPopovers(){Array.from(this.registeredElements.values()).forEach((t=>t.open=!1))}addListeners(){document.addEventListener("pointerdown",this.clickHandler,{capture:!0}),document.addEventListener("keydown",this.keyHandler,{capture:!0})}removeListeners(){document.removeEventListener("pointerdown",this.clickHandler,{capture:!0}),document.removeEventListener("keydown",this.keyHandler,{capture:!0})}},Y=class{constructor(e){t(this,e),this.calcitePopoverBeforeClose=a(this,"calcitePopoverBeforeClose",6),this.calcitePopoverClose=a(this,"calcitePopoverClose",6),this.calcitePopoverBeforeOpen=a(this,"calcitePopoverBeforeOpen",6),this.calcitePopoverOpen=a(this,"calcitePopoverOpen",6),this.mutationObserver=x("mutation",(()=>this.updateFocusTrapElements())),this.guid=`calcite-popover-${d()}`,this.openTransitionProp="opacity",this.hasLoaded=!1,this.setTransitionEl=t=>{this.transitionEl=t},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?E(e,t):null},this.setUpReferenceElement=(t=!0)=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),j(this,this.effectiveReferenceElement,this.el);const{el:e,referenceElement:i,effectiveReferenceElement:o}=this;t&&i&&!o&&console.warn(`${e.tagName}: reference-element id "${i}" was not found.`,{el:e}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:t,open:e}=this;t&&"setAttribute"in t&&t.setAttribute(W,s(e))},this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const e=this.getId();"setAttribute"in t&&t.setAttribute(_,e),X.registerElement(t,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&(t.removeAttribute(_),t.removeAttribute(W)),X.unregisterElement(t))},this.hide=()=>{this.open=!1},this.storeArrowEl=t=>{this.arrowEl=t,this.reposition(!0)},this.autoClose=!1,this.closable=!1,this.flipDisabled=!1,this.focusTrapDisabled=!1,this.pointerDisabled=!1,this.flipPlacements=void 0,this.heading=void 0,this.headingLevel=void 0,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.offsetDistance=C,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.scale="m",this.triggerDisabled=!1,this.effectiveLocale="",this.floatingLayout="vertical",this.effectiveReferenceElement=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(t){this.open&&(t?P(this):R(this))}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(t){O(this),t&&this.reposition(!0),this.setExpandedAttr()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement(),this.reposition(!0)}effectiveLocaleChange(){y(this,this.effectiveLocale)}connectedCallback(){this.setFilteredPlacements(),m(this),w(this),this.setUpReferenceElement(this.hasLoaded),F(this),this.open&&O(this)}async componentWillLoad(){await k(this),f(this)}componentDidLoad(){b(this),this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),g(this),z(this),H(this,this.effectiveReferenceElement,this.el),P(this)}async reposition(t=!1){const{el:e,effectiveReferenceElement:i,placement:o,overlayPositioning:n,flipDisabled:a,filteredFlipPlacements:s,offsetDistance:r,offsetSkidding:c,arrowEl:l}=this;return D(this,{floatingEl:e,referenceEl:i,overlayPositioning:n,placement:o,flipDisabled:a,flipPlacements:s,offsetDistance:r,offsetSkidding:c,arrowEl:l,type:"popover"},t)}async setFocus(){await v(this),n(this.el),c(this.el)}async updateFocusTrapElements(){$(this)}getReferenceElement(){const{referenceElement:t,el:e}=this;return("string"==typeof t?l(e,{id:t}):t)||null}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit(),R(this)}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit(),P(this)}renderCloseButton(){const{messages:t,closable:i}=this;return i?e("div",{class:B,key:B},e("calcite-action",{appearance:"transparent",class:"close-button",onClick:this.hide,scale:this.scale,text:t.close,ref:t=>this.closeButtonEl=t},e("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":this.scale}))):null}renderHeader(){const{heading:t,headingLevel:i}=this,o=t?e(A,{class:"heading",level:i},t):null;return o?e("div",{class:M,key:M},o,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:t,heading:o,label:n,open:a,pointerDisabled:r,floatingLayout:c}=this,l=t&&a,d=!l,h=r?null:e(S,{floatingLayout:c,key:"floating-arrow",ref:this.storeArrowEl});return e(i,{"aria-hidden":s(d),"aria-label":n,"aria-live":"polite","calcite-hydrated-hidden":d,id:this.getId(),role:"dialog"},e("div",{class:{[L.animation]:!0,[L.animationActive]:l},ref:this.setTransitionEl},h,e("div",{class:{"has-header":!!o,container:!0}},this.renderHeader(),e("div",{class:"content"},e("slot",null)),o?null:this.renderCloseButton())))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"],effectiveLocale:["effectiveLocaleChange"]}}};Y.style=":host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, var(--calcite-app-z-index-popup));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-app-z-index) * -1);fill:var(--calcite-ui-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-ui-border-3)}:host([scale=s]) .heading{padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .heading{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .heading{padding-inline:1.25rem;padding-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;color:var(--calcite-ui-text-1)}.container.has-header{flex-direction:column}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}:host([hidden]){display:none}[hidden]{display:none}";export{T as calcite_action,Y as calcite_popover}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,a as s,h as e,H as a,g as l}from"./p-91c78d98.js";import{a as n,b as o,c}from"./p-2a58e378.js";import{l as h}from"./p-05948b48.js";import{g as d,h as r}from"./p-53bc5fc1.js";import{s as p}from"./p-375fd36b.js";import{g}from"./p-99d8a839.js";import{c as b,r as u}from"./p-37a58e04.js";import"./p-482534a7.js";import"./p-e1a4994d.js";import"./p-ecc95259.js";const m=class{constructor(s){t(this,s),this.searchConfigurationChange=i(this,"searchConfigurationChange",7),this._onboardingImageUrl="",this._titleValue=void 0,this._numSelected=0,this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.defaultExportTitle="",this.defaultNumLabelsPerPage=void 0,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._addMap=!1,this._addTitle=!1,this._downloadActive=!0,this._exportType=n.PDF,this._fetchingData=!1,this._isMobile=void 0,this._numDuplicates=0,this._pageType=o.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=void 0}async mapViewWatchHandler(t){(null==t?void 0:t.popup)&&(this._popupsEnabled=null==t?void 0:t.popup.autoOpenEnabled)}async watchSearchConfigurationHandler(t,i){const s=JSON.stringify(t);s!==JSON.stringify(i)&&(this._searchConfiguration=JSON.parse(s),this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setLineSymbol(t)}async sketchPointSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPointSymbol(t)}async sketchPolygonSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPolygonSymbol(t)}async pageTypeWatchHandler(t,i){var s;if(this._checkPopups(),(null===(s=this.mapView)||void 0===s?void 0:s.popup)&&(this.mapView.popupEnabled=t===o.LIST&&this._popupsEnabled),t===o.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1),this._clearHighlight(),i!==o.SELECT&&i!==o.REFINE||await this._clearSelection(),t!==o.SELECT)return this._highlightFeatures()}selectionSetsChanged(t){this._selectionSets=[...t.detail]}connectedCallback(){this._mediaQuery=window.matchMedia("(max-width: 600px)"),this._mediaQuery.addEventListener("change",(t=>this._setIsMobile(t)))}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initSymbols(),this._onboardingImageUrl=s("../assets/data/images/onboarding.png")}render(){return e(a,null,e("calcite-shell",null,e("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:this._isMobile?"footer":"header"},this._getActionGroup("list-check",o.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",o.REFINE,this._translations.refineSelection):null,this._getActionGroup("export",o.EXPORT,this._translations.export)),this._getPage(this._pageType)))}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i]=await h(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils"]);this._geometryEngine=t,this._jsonUtils=i}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(t){this.sketchPolygonSymbol="simple-fill"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(t){this._isMobile=t.matches}_getActionGroup(t,i,s){return e("calcite-action-group",{class:"action-center"+(this.showRefineSelection?" w-1-3":" w-1-2"),layout:"horizontal"},e("div",{class:"background-override"},e("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",compact:!1,icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),e("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},e("span",null,s)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case o.LIST:i=this._getListPage();break;case o.SELECT:i=this._getSelectPage();break;case o.EXPORT:i=this._getExportPage();break;case o.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(t?this._translations.listHasSetsTip:this._translations.selectLayerAndAdd,"padding-sides-1 padding-bottom-1","word-wrap-anywhere"),t?this._getSelectionSetList():this._getOnboardingImage(),e("div",{class:"display-flex padding-1"},e("calcite-button",{onClick:()=>{this._setPageType(o.SELECT)},width:"full"},e("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return e("div",{class:"display-flex padding-sides-1"},e("img",{class:"img-container",src:this._onboardingImageUrl}))}_getSelectionSetList(){return e("div",{class:"padding-top-1-2 padding-bottom-1-2"},e("calcite-list",{class:"list-border margin-sides-1"},this._selectionSets.reduce(((t,i,s)=>{var a;const l=this._getSelectionSetIds(i);let n=!0;return i.workflowType===c.REFINE&&(n=Object.keys(i.refineInfos).reduce(((t,s)=>{const e=i.refineInfos[s];return t+(e.addIds.length+e.removeIds.length)}),0)>0),n&&t.push(e("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(a=null==i?void 0:i.layerView)||void 0===a?void 0:a.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",l.length.toString()))),this._getAction(!0,"pencil","",(t=>this._openSelection(i,t)),!1,"actions-end"),this._getAction(!0,"x","",(t=>this._deleteSelection(s,t)),!1,"actions-end"))),t}),[])))}_getSelectionSetIds(t){return t.workflowType!==c.REFINE?t.selectedIds:Object.keys(t.refineInfos).reduce(((i,s)=>[...i,...t.refineInfos[s].addIds]),[])}_hasSelections(t=!1){let i=[];const s=this._selectionSets.some((t=>{if(t.workflowType===c.REFINE)return i=this._getSelectionSetIds(t),!0}));return t&&s?i.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const t=this._getExportInfos(),i=await b(this.mapView.map,t),s=u(i);return i.length-s.length}_getExportInfos(){return this._selectionSets.reduce(((t,i)=>(i.download&&(i.workflowType!==c.REFINE?this._updateIds(i.layerView.layer.id,i.layerView,i.selectedIds,t):Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds.length>0&&this._updateIds(s,e.layerView,e.addIds,t)}))),t)),{})}_updateIds(t,i,s,e){return e[t]?e[t].ids=e[t].ids.concat(s):e[t]={layerView:i,ids:s},e}_getSelectPage(){const t=this._translations.selectSearchTip;return e("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t,"padding-1","word-wrap-anywhere"),e("div",null,e("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return e("calcite-panel",null,e("div",null,this._getLabel(this._translations.export,!1),t?e("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),e("div",{class:"padding-sides-1 "+i},e("div",{class:"display-flex"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),e("div",{class:"display-flex"},this._translations.removeDuplicate,e("div",{class:"info-message padding-start-1-2"},e("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"remove-duplicates-icon",scale:"s"})),e("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},e("span",{class:"tooltip-message"},this._translations.duplicatesTip))),e("div",{class:"border-bottom"}),e("div",{class:"padding-top-sides-1"},e("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t)},e("calcite-segmented-control-item",{checked:this._exportType===n.PDF,class:"w-50 end-border",value:n.PDF},e("span",{class:"font-weight-500"},this._translations.pdf)),e("calcite-segmented-control-item",{checked:this._exportType===n.CSV,class:"w-50",value:n.CSV},e("span",{class:"font-weight-500"},this._translations.csv)))),e("div",{class:"padding-bottom-1"},this._getExportOptions()),e("div",{class:"padding-1 display-flex"},e("calcite-button",{disabled:!this._downloadActive,loading:this._fetchingData,onClick:()=>{this._export()},width:"full"},e("span",{class:"font-weight-500"},this._translations.export)))):this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")))}_exportTypeChange(t){this._exportType=t.target.value}_getExportOptions(){const t=this._addTitle?"display-block":"display-none",i=void 0!==this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"";return e("div",{class:this._exportType===n.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),e("div",{class:"padding-sides-1"},e("pdf-download",{defaultNumLabelsPerPage:this.defaultNumLabelsPerPage,disabled:!this._downloadActive,ref:t=>{this._downloadTools=t}})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.addTitle)),e("div",{class:t},this._getLabel(this._translations.title,!0,""),e("calcite-input-text",{class:"padding-sides-1",onCalciteInputTextInput:()=>this._changeTitle(),placeholder:this._translations.titlePlaceholder,ref:t=>{this._titleElement=t},value:i})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._addMap=!this._addMap}),this._translations.includeMap)))}_getRefinePage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?e("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),e("refine-selection",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,selectionSets:this._selectionSets,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})):this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1"))}_getPageNavButtons(t,i,s,a,l,n){return e("div",{class:"padding-bottom-1"},e("div",{class:"display-flex padding-top-sides-1"},e("calcite-button",{disabled:i,onClick:s,width:"full"},e("span",{class:"font-weight-500"},t))),e("div",{class:"display-flex padding-top-1-2 padding-sides-1"},e("calcite-button",{appearance:"outline",disabled:l,onClick:n,width:"full"},e("span",{class:"font-weight-500"},a))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",s=""){return e("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},e("div",{class:s,slot:"message"},t))}_getLabel(t,i=!1,s="font-bold"){return e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:s+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{var s;const a=this._getSelectionSetIds(i),l=i.workflowType!==c.REFINE||a.length>0;return!this._downloadActive&&i.download&&l&&(this._downloadActive=!0),l&&t.push(e("div",{class:"display-flex padding-sides-1 padding-bottom-1"},e("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),e("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list"},e("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",a.length.toString()))))))),t}),[])||e("div",null)}async _toggleDownload(t){let i=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===t?!s.download:s.download,i=!!s.download||i,s))),this._downloadActive=i,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){const t=this._getSelectionIdsAndViews(this._selectionSets,!0);if(this._exportType===n.PDF){let i="";if(this._addMap&&this.mapView){const t=await this.mapView.takeScreenshot({width:1500,height:2e3});i=null==t?void 0:t.dataUrl}this._fetchingData=!0,await this._downloadTools.downloadPDF(this.mapView.map,t,this._removeDuplicates.checked,this._addTitle?this._titleElement.value:"",i),this._fetchingData=!1}this._exportType===n.CSV&&(this._fetchingData=!0,await this._downloadTools.downloadCSV(this.mapView.map,t,this._removeDuplicates.checked),this._fetchingData=!1)}_getSelectionIdsAndViews(t,i=!1){return(i?t.filter((t=>t.download)):t).reduce(((t,i)=>{var s;if(i.workflowType===c.REFINE)Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds&&(t=this._updateExportInfos(t,e.layerView.layer.id,i.label,e.addIds,e.layerView))}));else{const e=null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.id;t=this._updateExportInfos(t,e,i.label,i.selectedIds,i.layerView)}return t}),{})}_updateExportInfos(t,i,s,e,a){return i&&Object.keys(t).indexOf(i)>-1?(t[i].ids=[...new Set([...t[i].ids,...e])],t[i].selectionSetNames.push(s)):i&&(t[i]={ids:e,layerView:a,selectionSetNames:[s]}),t}_getAction(t,i,s,a,l=!1,n=""){return e("calcite-action",{disabled:!t,icon:i,indicator:l,onClick:a,slot:n,text:s})}_updateForSelection(t){this._numSelected=t.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(o.LIST)}async _saveSelection(){var t,i;const s=await(null===(t=this._selectTools)||void 0===t?void 0:t.getSelection()),e=null===(i=this._selectTools)||void 0===i?void 0:i.isUpdate;return this._selectionSets=e?this._selectionSets.map((t=>t.id===s.id?s:t)):[...this._selectionSets,s],this._home()}async _clearSelection(){var t;await(null===(t=this._selectTools)||void 0===t?void 0:t.clearSelection()),this._numSelected=0,this._activeSelection=void 0}_deleteSelection(t,i){return i.stopPropagation(),this._selectionSets=this._selectionSets.filter(((i,s)=>{if(s!==t)return i})),this._highlightFeatures()}_gotoSelection(t,i){d(t.selectedIds,t.layerView,i,this.featureHighlightEnabled,this.featureEffect)}_openSelection(t,i){i.stopPropagation(),this._activeSelection=t,this._pageType=t.workflowType===c.REFINE?o.REFINE:o.SELECT}async _highlightFeatures(){this._clearHighlight();const t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===o.EXPORT),i=Object.keys(t);if(i.length>0)for(let s=0;s<i.length;s++){const e=t[i[s]];p.highlightHandles.push(await r(e.ids,e.layerView,this.mapView))}}_checkPopups(){var t;"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=null===(t=this.mapView)||void 0===t?void 0:t.popupEnabled)}_clearHighlight(){p&&p.highlightHandles&&p.removeHandles()}async _getTranslations(){const t=await g(this.el);this._translations=t[0]}get el(){return l(this)}static get watchers(){return{mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};m.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-ui-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-ui-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-ui-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-ui-foreground-3:var(--calcite-ui-brand);--calcite-ui-foreground-2:var(--calcite-ui-brand-hover);--calcite-ui-text-1:var(--calcite-ui-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}';export{m as public_notification}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{h as i,r as t,c as e,H as s,g as n}from"./p-91c78d98.js";import{f as o}from"./p-4879d789.js";import{i as a,t as r,g as c,d as l,e as h}from"./p-4b9ba22d.js";import{d,f as p,c as m,r as u,a as b,F as g}from"./p-53368491.js";import{s as v,c as f,a as x,d as w,H as y}from"./p-3db650c2.js";import{g as k}from"./p-361b44ed.js";import{c as C,u as z,d as I}from"./p-2ee3afea.js";import{c as D,d as H,g as $}from"./p-f52ee45d.js";import{c as E,s as j,a as P}from"./p-3a668467.js";import{c as O,d as L}from"./p-bf9d3381.js";import{c as A}from"./p-efc041d0.js";import{o as S}from"./p-abc50d38.js";import{c as _,s as F,d as R,u as T}from"./p-29120ecd.js";import{C as M,b as B,c as W,h as q,i as V,d as G,e as N,f as U,g as K,a as X}from"./p-353ff6c3.js";import{d as Y}from"./p-a82f35c9.js";import{c as J,d as Q}from"./p-73c50d50.js";import{i as Z}from"./p-34fb2a6e.js";import{g as ii}from"./p-99d8a839.js";import{k as ti,l as ei}from"./p-53bc5fc1.js";import{s as si}from"./p-375fd36b.js";import"./p-3760847f.js";import"./p-86f482ca.js";import"./p-e1a4994d.js";import"./p-2a58e378.js";import"./p-482534a7.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v1.9.0
|
11
|
+
*/const ni="x-button";function oi({disabled:t,key:e,label:s,onClick:n,ref:o,scale:a}){return i("button",{"aria-label":s,class:ni,disabled:t,key:e,onClick:n,tabIndex:-1,type:"button",ref:o},i("calcite-icon",{icon:"x",scale:"l"===a?"m":"s"}))}const ai="combobox-item-",ri="combobox-chip-",ci="combobox-label-",li="combobox-listbox-",hi="combobox-input-",di=class{constructor(i){t(this,i),this.calciteComboboxChange=e(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=e(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipClose=e(this,"calciteComboboxChipClose",6),this.calciteComboboxBeforeClose=e(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=e(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=e(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=e(this,"calciteComboboxOpen",6),this.placement=d,this.internalValueChangeFlag=!1,this.textInput=null,this.mutationObserver=A("mutation",(()=>this.updateItems())),this.resizeObserver=A("resize",(()=>this.setMaxScrollerHeight())),this.guid=k(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?p(t,i):null},this.getValue=()=>{const i=this.selectedItems.map((i=>{var t;return null===(t=null==i?void 0:i.value)||void 0===t?void 0:t.toString()}));return(null==i?void 0:i.length)?i.length>1?i:i[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keyDownHandler=i=>{const{key:t}=i;switch(t){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):this.open&&(this.open=!1,i.preventDefault());break;case"ArrowLeft":this.previousChip(),i.preventDefault();break;case"ArrowRight":this.nextChip(),i.preventDefault();break;case"ArrowUp":i.preventDefault(),this.open&&this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":i.preventDefault(),this.open?this.shiftActiveItemIndex(1):(this.open=!0,this.ensureRecentSelectedItemIsActive()),this.comboboxInViewport()||this.el.scrollIntoView();break;case" ":this.textInput.value||(this.open||(this.open=!0,this.shiftActiveItemIndex(1)),i.preventDefault());break;case"Home":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(this.filteredItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.clearDisabled||this.open||this.clearValue(),this.open=!1,i.preventDefault();break;case"Enter":this.activeItemIndex>-1?(this.toggleSelection(this.filteredItems[this.activeItemIndex]),i.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),i.preventDefault()):this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):i.defaultPrevented||v(this)&&i.preventDefault();break;case"Delete":case"Backspace":this.activeChipIndex>-1?(i.preventDefault(),this.removeActiveChip()):!this.text&&this.isMulti()&&(i.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:i,open:t,referenceEl:e}=this;if(!i||!t)return;await this.reposition(!0);const s=this.getMaxScrollerHeight();i.style.maxHeight=s>0?`${s}px`:"",i.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipCloseHandler=i=>{this.open=!1;const t=this.items.find((t=>t===i));t&&this.toggleSelection(t,!1),this.calciteComboboxChipClose.emit()},this.clickHandler=i=>{const t=i.composedPath();return t.some((i=>"CALCITE-CHIP"===i.tagName))?(this.open=!1,void i.preventDefault()):t.some((i=>{var t;return null===(t=i.classList)||void 0===t?void 0:t.contains(ni)}))?(this.clearValue(),void i.preventDefault()):(this.open=!this.open,void this.ensureRecentSelectedItemIsActive())},this.setInactiveIfNotContained=i=>{const t=i.composedPath();!this.allowCustomValues&&this.textInput.value&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1)),!this.open||t.includes(this.el)||t.includes(this.referenceEl)||(this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),this.open=!1)},this.setFloatingEl=i=>{this.floatingEl=i,m(this,this.referenceEl,this.floatingEl)},this.setContainerEl=i=>{this.resizeObserver.observe(i),this.listContainerEl=i,this.transitionEl=i},this.setReferenceEl=i=>{this.referenceEl=i,m(this,this.referenceEl,this.floatingEl)},this.inputHandler=i=>{const t=i.target.value;this.text=t,this.filterItems(t),t&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const i=(i,t)=>i&&t.some((({label:t,value:e})=>i.tagName===N?t===i.label:e===i.value&&t===i.textLabel));return Y((t=>{const e=o(this.data,t);this.getItemsAndGroups().forEach((t=>{const s=!i(t,e);t.hidden=s;const[n,o]=t.ancestors;(i(n,e)||i(o,e))&&(t.hidden=!1),s||t.ancestors.forEach((i=>i.hidden=!1))})),this.filteredItems=this.getFilteredItems(),this.calciteComboboxFilterChange.emit()}),100)})(),this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()},this.emitComboboxChange=Y(this.internalComboboxChangeEvent,0),this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.filteredItems=this.getFilteredItems(),this.needsIcon=this.getNeedsIcon(),this.items.forEach((i=>{i.selectionMode=this.selectionMode,i.scale=this.scale})),this.allowCustomValues||this.setMaxScrollerHeight(),this.groupItems.forEach(((i,t,e)=>{0===t&&(i.afterEmptyGroup=!1);const s=e[t+1];s&&(s.afterEmptyGroup=0===i.children.length)}))},this.scrollToActiveItem=()=>{const i=this.filteredItems[this.activeItemIndex];if(!i)return;const t=this.calculateSingleItemHeight(i),{offsetHeight:e,scrollTop:s}=this.listContainerEl;e+s<i.offsetTop+t?this.listContainerEl.scrollTop=i.offsetTop-e+t:i.offsetTop<s&&(this.listContainerEl.scrollTop=i.offsetTop)},this.comboboxFocusHandler=()=>{var i;this.disabled||null===(i=this.textInput)||void 0===i||i.focus()},this.comboboxBlurHandler=i=>{this.setInactiveIfNotContained(i)},this.clearDisabled=!1,this.open=!1,this.disabled=!1,this.form=void 0,this.label=void 0,this.placeholder=void 0,this.placeholderIcon=void 0,this.placeholderIconFlipRtl=!1,this.maxItems=0,this.name=void 0,this.allowCustomValues=void 0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multiple",this.scale="m",this.value=null,this.flipPlacements=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedItems=[],this.filteredItems=[],this.items=[],this.groupItems=[],this.needsIcon=void 0,this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.text="",this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){S(this),this.disabled?this.open=!1:this.setMaxScrollerHeight()}handleDisabledChange(i){i||(this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems()}valueHandler(i){if(!this.internalValueChangeFlag){const t=this.getItems();Array.isArray(i)?t.forEach((t=>t.selected=i.includes(t.value))):t.forEach(i?t=>t.selected=i===t.value:i=>i.selected=!1),this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}documentClickHandler(i){!this.disabled&&a(i)&&this.setInactiveIfNotContained(i)}calciteComboboxItemChangeHandler(i){if(this.ignoreSelectedEventsFlag)return;const t=i.target,e=this.filteredItems.indexOf(t);this.updateActiveItemIndex(e),this.toggleSelection(t,t.selected)}async reposition(i=!1){const{floatingEl:t,referenceEl:e,placement:s,overlayPositioning:n,filteredFlipPlacements:o}=this;return u(this,{floatingEl:t,referenceEl:e,overlayPositioning:n,placement:s,flipPlacements:o,type:"menu"},i)}async setFocus(){var i;await E(this),null===(i=this.textInput)||void 0===i||i.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var i;C(this),O(this),_(this),D(this),f(this),this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0}),this.updateItems(),this.setFilteredPlacements(),this.reposition(!0),this.open&&(this.openHandler(),S(this))}async componentWillLoad(){j(this),this.updateItems(),await F(this)}componentDidLoad(){x(this,this.getValue()),this.reposition(!0),P(this)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),z(this)}disconnectedCallback(){var i,t;null===(i=this.mutationObserver)||void 0===i||i.disconnect(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),I(this),H(this),w(this),b(this,this.referenceEl,this.floatingEl),L(this),R(this)}textHandler(){this.updateActiveItemIndex(-1)}effectiveLocaleChange(){T(this,this.effectiveLocale)}clearValue(){this.ignoreSelectedEventsFlag=!0,this.items.forEach((i=>i.selected=!1)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=[],this.emitComboboxChange(),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems(""),this.setFocus()}clearInputValue(){this.textInput.value="",this.text=""}comboboxInViewport(){const i=this.el.getBoundingClientRect();return i.top>=0&&i.left>=0&&i.right<=(window.innerWidth||document.documentElement.clientWidth)&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.scrollToActiveItem(),this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}ensureRecentSelectedItemIsActive(){const{selectedItems:i}=this,t=0===i.length?0:this.items.indexOf(i[i.length-1]);this.updateActiveItemIndex(t)}getMaxScrollerHeight(){const i=this.getItemsAndGroups().filter((i=>!i.hidden)),{maxItems:t}=this;let e=0,s=0;return i.length>t&&i.forEach((i=>{if(e<t&&t>0){const t=this.calculateSingleItemHeight(i);t>0&&(s+=t,e++)}})),s}calculateSingleItemHeight(i){if(!i)return;let t=i.offsetHeight;return Array.from(i.querySelectorAll(M)).map((i=>null==i?void 0:i.offsetHeight)).forEach((i=>{t-=i})),t}getItemsAndGroups(){return[...this.groupItems,...this.items]}toggleSelection(i,t=!i.selected){!i||"single-persist"===this.selectionMode&&i.selected&&i.value===this.value||(this.isMulti()?(i.selected=t,this.updateAncestors(i),this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===i&&t)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=i.textLabel),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(i){if("ancestors"!==this.selectionMode)return;const t=B(i),e=W(i);i.selected?t.forEach((i=>{i.selected=!0})):(e.forEach((i=>i.selected=!1)),[...t].forEach((i=>{q(i)||(i.selected=!1)})))}getFilteredItems(){return this.items.filter((i=>!i.hidden))}getSelectedItems(){if(!this.isMulti()){const i=this.items.find((({selected:i})=>i));return i?[i]:[]}return this.items.filter((i=>i.selected&&("ancestors"!==this.selectionMode||!q(i)))).sort(((i,t)=>{const e=this.selectedItems.indexOf(i),s=this.selectedItems.indexOf(t);return e>-1&&s>-1?e-s:s-e}))}getData(){return this.items.map((i=>({filterDisabled:i.filterDisabled,value:i.value,label:i.textLabel})))}getNeedsIcon(){return V(this.selectionMode)&&this.items.some((i=>i.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll(G)).filter((i=>!i.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(N))}addCustomChip(i,t){const e=this.items.find((t=>t.textLabel===i));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement(G);e.value=i,e.textLabel=i,e.selected=!0,this.el.appendChild(e),this.resetText(),t&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const i=this.activeChipIndex;this.activeChipIndex=-1===i?this.selectedItems.length-1:Math.max(i-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const i=this.activeChipIndex+1;i>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=i,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var i;const t=null===(i=this.selectedItems[this.activeChipIndex])||void 0===i?void 0:i.guid,e=t?this.referenceEl.querySelector(`#${ri}${t}`):null;null==e||e.setFocus()}shiftActiveItemIndex(i){const{length:t}=this.filteredItems;this.updateActiveItemIndex((this.activeItemIndex+t+i)%t),this.scrollToActiveItem()}updateActiveItemIndex(i){this.activeItemIndex=i;let t=null;this.filteredItems.forEach(((e,s)=>{s===i?(e.active=!0,t=`${ai}${e.guid}`):e.active=!1})),this.activeDescendant=t,this.activeItemIndex>-1&&(this.activeChipIndex=-1)}isMulti(){return!V(this.selectionMode)}renderChips(){const{activeChipIndex:t,scale:e,selectionMode:s,messages:n}=this;return this.selectedItems.map(((o,a)=>{const r={chip:!0,"chip--active":t===a},c=[...[...B(o)].reverse(),o].map((i=>i.textLabel)),l="ancestors"!==s?o.textLabel:c.join(" / ");return i("calcite-chip",{class:r,closable:!0,icon:o.icon,iconFlipRtl:o.iconFlipRtl,id:o.guid?`${ri}${o.guid}`:null,key:o.textLabel,messageOverrides:{dismissLabel:n.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(o),scale:e,title:l,value:o.value},l)}))}renderInput(){const{guid:t,disabled:e,placeholder:s,selectionMode:n,selectedItems:o,open:a}=this,r=V(n),c=o[0],l=!a&&r&&!!c;return i("span",{class:{"input-wrap":!0,"input-wrap--single":r}},l&&i("span",{class:{label:!0,"label--icon":!!(null==c?void 0:c.icon)},key:"label"},c.textLabel),i("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${li}${t}`,"aria-label":$(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":l,"input--icon":!!this.placeholderIcon},disabled:e,id:`${hi}${t}`,key:"input",onBlur:this.comboboxBlurHandler,onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:s,type:"text",ref:i=>this.textInput=i}))}renderListBoxOptions(){return this.filteredItems.map((t=>i("li",{"aria-selected":r(t.selected),id:t.guid?`${ai}${t.guid}`:null,role:"option",tabindex:"-1"},t.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:t,setContainerEl:e,open:s}=this;return i("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":s},ref:t},i("div",{class:{[U.listContainer]:!0,[g.animation]:!0,[g.animationActive]:s},ref:e},i("ul",{class:{list:!0,"list--hide":!s}},i("slot",null))))}renderIconStart(){const{selectedItems:t,placeholderIcon:e,selectionMode:s,placeholderIconFlipRtl:n}=this,o=t[0],a=null==o?void 0:o.icon,r=V(s);return(!this.open&&o?!!a&&r:!!this.placeholderIcon&&(!o||r))&&i("span",{class:"icon-start"},i("calcite-icon",{class:"selected-icon",flipRtl:this.open&&o?o.iconFlipRtl:n,icon:!this.open&&o?a:e,scale:"s"}))}renderIconEnd(){const{open:t}=this;return i("span",{class:"icon-end"},i("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))}render(){var t;const{guid:e,label:n,open:o}=this,a=V(this.selectionMode),c=!this.clearDisabled&&(null===(t=this.value)||void 0===t?void 0:t.length)>0;return i(s,{onClick:this.comboboxFocusHandler},i("div",{"aria-autocomplete":"list","aria-controls":`${li}${e}`,"aria-expanded":r(o),"aria-haspopup":"listbox","aria-label":$(this),"aria-live":"polite","aria-owns":`${li}${e}`,class:{wrapper:!0,"wrapper--single":a||!this.selectedItems.length,"wrapper--active":o},onClick:this.clickHandler,onKeyDown:this.keyDownHandler,role:"combobox",ref:this.setReferenceEl},i("div",{class:"grid-input"},this.renderIconStart(),!a&&this.renderChips(),i("label",{class:"screen-readers-only",htmlFor:`${hi}${e}`,id:`${ci}${e}`},n),this.renderInput()),c?i(oi,{disabled:this.disabled,key:"close-button",label:this.messages.clear,scale:this.scale}):null,this.renderIconEnd()),i("ul",{"aria-labelledby":`${ci}${e}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${li}${e}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),i(y,{component:this}))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],selectionMode:["handlePropsChange"],scale:["handlePropsChange"],value:["valueHandler"],messageOverrides:["onMessagesChange"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"],effectiveLocale:["effectiveLocaleChange"]}}};di.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-ui-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-ui-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}:host([scale=s]) .x-button{margin-inline-end:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}:host([scale=m]) .x-button{margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}:host([scale=l]) .x-button{margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1;align-items:center}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;inline-size:1rem;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}::slotted(calcite-combobox-item-group:not(:first-child)){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
15
|
+
* v1.9.0
|
16
|
+
*/
|
17
|
+
const pi="icon",mi="icon--active",ui="icon--indent",bi=class{constructor(i){t(this,i),this.calciteComboboxItemChange=e(this,"calciteComboboxItemChange",6),this.itemClickHandler=i=>{i.preventDefault(),this.toggleSelected()},this.disabled=!1,this.selected=!1,this.active=!1,this.ancestors=void 0,this.guid=k(),this.icon=void 0,this.iconFlipRtl=!1,this.textLabel=void 0,this.value=void 0,this.filterDisabled=void 0,this.selectionMode="multiple",this.scale="m"}selectedWatchHandler(){this.calciteComboboxItemChange.emit()}connectedCallback(){this.ancestors=K(this.el),J(this),C(this)}disconnectedCallback(){Q(this),I(this)}componentDidRender(){z(this)}toggleSelected(){this.disabled||"single-persist"===this.selectionMode&&this.selected||(this.selected=!this.selected)}renderIcon(t){return this.icon?i("calcite-icon",{class:{"icon--custom":!!this.icon,[mi]:this.icon&&this.selected,[ui]:!0},flipRtl:this.iconFlipRtl,icon:this.icon||t,key:"icon",scale:"l"===this.scale?"m":"s"}):null}renderSelectIndicator(t,e){return t?i("span",{class:{[pi]:!0,"icon--dot":!0,[ui]:!0}}):i("calcite-icon",{class:{[pi]:!0,[mi]:this.selected,[ui]:!0},flipRtl:this.iconFlipRtl,icon:e,key:"indicator",scale:"l"===this.scale?"m":"s"})}renderChildren(){return c(this.el)?i("ul",{key:"default-slot-container"},i("slot",null)):null}render(){const t=V(this.selectionMode),e=t&&!this.disabled,n=this.disabled?"circle-disallowed":t?"dot":"check",o={label:!0,"label--selected":this.selected,"label--active":this.active,"label--single":t},a=X(this.el);return i(s,{"aria-hidden":"true"},i("div",{class:`container scale--${this.scale}`,style:{"--calcite-combobox-item-spacing-indent-multiplier":`${a}`}},i("li",{class:o,id:this.guid,onClick:this.itemClickHandler},this.renderSelectIndicator(e,n),this.renderIcon(n),i("span",{class:"title"},this.textLabel)),this.renderChildren()))}get el(){return n(this)}static get watchers(){return{selected:["selectedWatchHandler"]}}};bi.style='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.625rem;--calcite-combobox-item-spacing-indent:1rem;--calcite-combobox-item-selector-icon-size:1.5rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;word-wrap:break-word;word-break:break-word;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-block-start:-1px;padding-inline-start:var(--calcite-combobox-item-spacing-unit-l);color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:flex;justify-content:center;min-inline-size:var(--calcite-combobox-item-selector-icon-size)}.icon--dot:before{text-align:start;content:"•"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}';
|
18
|
+
/*!
|
19
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
20
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
21
|
+
* v1.9.0
|
22
|
+
*/
|
23
|
+
const gi=class{constructor(i){t(this,i),this.calciteDropdownSelect=e(this,"calciteDropdownSelect",6),this.calciteDropdownBeforeClose=e(this,"calciteDropdownBeforeClose",6),this.calciteDropdownClose=e(this,"calciteDropdownClose",6),this.calciteDropdownBeforeOpen=e(this,"calciteDropdownBeforeOpen",6),this.calciteDropdownOpen=e(this,"calciteDropdownOpen",6),this.items=[],this.groups=[],this.mutationObserver=A("mutation",(()=>this.updateItems())),this.resizeObserver=A("resize",(i=>this.resizeObserverCallback(i))),this.openTransitionProp="opacity",this.guid=`calcite-dropdown-${k()}`,this.defaultAssignedElements=[],this.slotChangeHandler=i=>{this.defaultAssignedElements=i.target.assignedElements({flatten:!0}),this.updateItems()},this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?p(t,i):null},this.updateTriggers=i=>{this.triggers=i.target.assignedElements({flatten:!0}),this.reposition(!0)},this.updateItems=()=>{this.items=this.groups.map((i=>Array.from(null==i?void 0:i.querySelectorAll("calcite-dropdown-item")))).reduce(((i,t)=>[...i,...t]),[]),this.updateSelectedItems(),this.reposition(!0),this.items.forEach((i=>i.scale=this.scale))},this.updateGroups=i=>{const t=i.target.assignedElements({flatten:!0}).filter((i=>null==i?void 0:i.matches("calcite-dropdown-group")));this.groups=t,this.updateItems()},this.resizeObserverCallback=i=>{i.forEach((i=>{const{target:t}=i;t===this.referenceEl?this.setDropdownWidth():t===this.scrollerEl&&this.setMaxScrollerHeight()}))},this.setDropdownWidth=()=>{const{referenceEl:i,scrollerEl:t}=this,e=null==i?void 0:i.clientWidth;e&&t&&(t.style.minWidth=`${e}px`)},this.setMaxScrollerHeight=()=>{const{scrollerEl:i}=this;if(!i)return;this.reposition(!0);const t=this.getMaxScrollerHeight();i.style.maxHeight=t>0?`${t}px`:"",this.reposition(!0)},this.setScrollerAndTransitionEl=i=>{this.resizeObserver.observe(i),this.scrollerEl=i,this.transitionEl=i},this.setReferenceEl=i=>{this.referenceEl=i,m(this,this.referenceEl,this.floatingEl),this.resizeObserver.observe(i)},this.setFloatingEl=i=>{this.floatingEl=i,m(this,this.referenceEl,this.floatingEl)},this.keyDownHandler=i=>{if(!i.composedPath().includes(this.referenceEl))return;const{defaultPrevented:t,key:e}=i;if(!t){if(this.open){if("Escape"===e)return this.closeCalciteDropdown(),void i.preventDefault();if(i.shiftKey&&"Tab"===e)return this.closeCalciteDropdown(),void i.preventDefault()}Z(e)?(this.openCalciteDropdown(),i.preventDefault()):"Escape"===e&&(this.closeCalciteDropdown(),i.preventDefault())}},this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.items.find((i=>i.selected))||this.items[0])},this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem(),this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.openCalciteDropdown=()=>{this.open=!this.open,this.open&&this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.open=!1,this.closeOnSelectDisabled=!1,this.disabled=!1,this.flipPlacements=void 0,this.maxItems=0,this.overlayPositioning="absolute",this.placement=d,this.selectedItems=[],this.type="click",this.width=void 0,this.scale="m"}openHandler(i){if(!this.disabled)return i&&this.reposition(!0),void S(this);this.open=!1}handleDisabledChange(i){i||(this.open=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems()}async setFocus(){await E(this),this.el.focus()}connectedCallback(){var i;null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.reposition(!0),this.open&&(this.openHandler(this.open),S(this)),C(this),this.updateItems()}componentWillLoad(){j(this)}componentDidLoad(){P(this),this.reposition(!0)}componentDidRender(){z(this)}disconnectedCallback(){var i,t;null===(i=this.mutationObserver)||void 0===i||i.disconnect(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),I(this),b(this,this.referenceEl,this.floatingEl)}render(){const{open:t,guid:e}=this;return i(s,null,i("div",{class:"calcite-trigger-container",id:`${e}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},i("slot",{"aria-controls":`${e}-menu`,"aria-expanded":r(t),"aria-haspopup":"menu",name:"trigger",onSlotchange:this.updateTriggers})),i("div",{"aria-hidden":r(!t),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},i("div",{"aria-labelledby":`${e}-menubutton`,class:{"calcite-dropdown-content":!0,[g.animation]:!0,[g.animationActive]:t},id:`${e}-menu`,role:"menu",ref:this.setScrollerAndTransitionEl},i("slot",{onSlotchange:this.updateGroups}))))}async reposition(i=!1){const{floatingEl:t,referenceEl:e,placement:s,overlayPositioning:n,filteredFlipPlacements:o}=this;return u(this,{floatingEl:t,referenceEl:e,overlayPositioning:n,placement:s,flipPlacements:o,type:"menu"},i)}closeCalciteDropdownOnClick(i){!this.disabled&&a(i)&&this.open&&!i.composedPath().includes(this.el)&&this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(i){this.closeCalciteDropdown(),i.stopPropagation()}closeCalciteDropdownOnOpenEvent(i){i.composedPath().includes(this.el)||(this.open=!1)}pointerEnterHandler(){this.disabled||"hover"!==this.type||this.openCalciteDropdown()}pointerLeaveHandler(){this.disabled||"hover"!==this.type||this.closeCalciteDropdown()}calciteInternalDropdownItemKeyEvent(i){const{keyboardEvent:t}=i.detail,e=t.target;switch(t.key){case"Tab":this.open=!1,this.updateTabIndexOfItems(e);break;case"ArrowDown":l(this.items,e,"next");break;case"ArrowUp":l(this.items,e,"previous");break;case"Home":l(this.items,e,"first");break;case"End":l(this.items,e,"last")}i.stopPropagation()}handleItemSelect(i){this.updateSelectedItems(),i.stopPropagation(),this.calciteDropdownSelect.emit(),this.closeOnSelectDisabled&&"none"!==i.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown(),i.stopPropagation()}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit()}updateSelectedItems(){this.selectedItems=this.items.filter((i=>i.selected))}getMaxScrollerHeight(){const{maxItems:i,items:t}=this;let e,s=0,n=0;return this.groups.forEach((t=>{i>0&&s<i&&Array.from(t.children).forEach(((t,o)=>{0===o&&(isNaN(e)&&(e=t.offsetTop),n+=e),s<i&&(n+=t.offsetHeight,s+=1)}))})),t.length>i?n:0}closeCalciteDropdown(i=!0){this.open=!1,i&&h(this.triggers[0])}getFocusableElement(i){if(!i)return;const t=i.attributes.isLink?i.shadowRoot.querySelector("a"):i;h(t)}updateTabIndexOfItems(i){this.items.forEach((t=>{t.tabIndex=i!==t?-1:0}))}static get delegatesFocus(){return!0}get el(){return n(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],scale:["handlePropsChange"]}}};gi.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-flex;flex:0 1 auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}:host([hidden]){display:none}[hidden]{display:none}";
|
24
|
+
/*!
|
25
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
26
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
27
|
+
* v1.9.0
|
28
|
+
*/
|
29
|
+
const vi="container",fi=class{constructor(i){t(this,i),this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6),this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((i=>i.selectionMode=this.selectionMode))},this.mutationObserver=A("mutation",(()=>this.updateItems())),this.groupTitle=void 0,this.scale="m",this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){var i;this.updateItems(),null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0})}componentWillLoad(){this.groupPosition=this.getGroupPosition()}disconnectedCallback(){var i;null===(i=this.mutationObserver)||void 0===i||i.disconnect()}render(){const t=this.groupTitle?i("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,e=this.groupPosition>0?i("div",{class:"dropdown-separator",role:"separator"}):null;return i(s,{"aria-label":this.groupTitle,role:"group"},i("div",{class:{[vi]:!0,[`${vi}--${this.scale}`]:!0}},e,t,i("slot",null)))}updateActiveItemOnChange(i){this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return!0}get el(){return n(this)}static get watchers(){return{selectionMode:["handlePropsChange"]}}};fi.style=":host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const xi=class{constructor(i){t(this,i),this.calciteDropdownItemSelect=e(this,"calciteDropdownItemSelect",6),this.calciteInternalDropdownItemSelect=e(this,"calciteInternalDropdownItemSelect",6),this.calciteInternalDropdownItemKeyEvent=e(this,"calciteInternalDropdownItemKeyEvent",6),this.calciteInternalDropdownCloseRequest=e(this,"calciteInternalDropdownCloseRequest",6),this.selected=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.href=void 0,this.label=void 0,this.rel=void 0,this.target=void 0,this.selectionMode="single",this.scale="m"}async setFocus(){var i;await E(this),null===(i=this.el)||void 0===i||i.focus()}componentWillLoad(){j(this),this.initialize()}componentDidLoad(){P(this)}connectedCallback(){this.initialize()}render(){const{href:t,selectionMode:e,label:n,iconFlipRtl:o,scale:a}=this,c=i("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:"start"===o||"both"===o,icon:this.iconStart,scale:"l"===a?"m":"s"}),l=i("span",{class:"dropdown-item-content"},i("slot",null)),h=i("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:"end"===o||"both"===o,icon:this.iconEnd,scale:"l"===a?"m":"s"}),d=this.iconStart&&this.iconEnd?[c,l,h]:this.iconStart?[c,l]:this.iconEnd?[l,h]:l,p=t?i("a",{"aria-label":n,class:"dropdown-link",href:t,rel:this.rel,tabIndex:-1,target:this.target,ref:i=>this.childLink=i},d):d,m=t?null:"single"===e?"menuitemradio":"multiple"===e?"menuitemcheckbox":"menuitem",u="none"!==e?r(this.selected):null;return i(s,{"aria-checked":u,"aria-label":t?"":n,role:m,tabindex:"0"},i("div",{class:{[vi]:!0,"container--link":!!t,[`${vi}--${a}`]:!0,"container--multi-selection":"multiple"===e,"container--single-selection":"single"===e,"container--none-selection":"none"===e}},"none"!==e?i("calcite-icon",{class:"dropdown-item-icon",icon:"multiple"===e?"check":"bullet-point",scale:"l"===a?"m":"s"}):null,p))}onClick(){this.emitRequestedItem()}keyDownHandler(i){switch(i.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),i.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),i.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":i.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i})}}updateActiveItemOnChange(i){i.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.determineActiveItem()),i.stopPropagation()}initialize(){this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return n(this)}};xi.style=".container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}.container--s.container--none-selection{padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{padding-inline-start:0px}.container--m.container--none-selection{padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{padding-inline-start:0px}.container--l.container--none-selection{padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .container:not(.container--none-selection):before,:host([selected]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-inline-end:0.5rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{margin-inline-end:0.75rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{margin-inline-end:1rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}";const wi=class{constructor(i){t(this,i),this.noLayersFound=e(this,"noLayersFound",7),this.layerSelectionChange=e(this,"layerSelectionChange",7),this.appearance="transparent",this.enabledLayerIds=[],this.enabledTableIds=[],this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.type="select",this._hasValidLayers=!0,this.ids=[],this.selectedName="",this._translations=void 0}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async componentWillLoad(){await this._getTranslations(),await this._setLayers(),(this.ids.length>0||1===this.selectedIds.length)&&this.layerSelectionChange.emit(1===this.selectedIds.length?[this.selectedIds[0]]:[this.ids[0]])}render(){const t="map-layer-picker";return i(s,null,i("div",{class:"map-layer-picker-container"},i("div",{class:"map-layer-picker"},this._hasValidLayers?"combobox"===this.type?this._getCombobox(t):"select"===this.type?this._getSelect(t):this._getDropdown(t):this._getInvalidPlaceholder(),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},i("span",null,this._translations.switchLayer)))))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const i=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=i:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(i)>-1?this._layerNameHash[i].name:Object.keys(this._tableNameHash).indexOf(i)>-1?this._tableNameHash[i].name:"")}}_getInvalidPlaceholder(){return i("div",null,i("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},i("div",{slot:"message"},this._translations.noLayersFound)),i("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},i("span",null,this._translations.enableEditUpdate)))}_getSelect(t){return i("calcite-select",{id:t,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:i=>{this._layerElement=i},scale:this.scale},this._getMapLayerOptions())}_getCombobox(t){return i("calcite-combobox",{clearDisabled:!0,id:t,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:i=>{this._layerElement=i},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(t){return i("calcite-dropdown",{class:"layer-picker-dropdown"},i("calcite-action",{id:t,slot:"trigger",text:""},i("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:"max-width-350",iconEnd:"chevron-down",iconStart:"layers",kind:"neutral",width:"full"},i("div",null,this.selectedName))),i("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getMapLayerOptions(){return this.ids.reduce(((i,t)=>(this._validLayer(t)?i.push(this._getItem(t,"layer")):this._validTable(t)&&i.push(this._getItem(t,"table")),i)),[])}_getItem(t,e){const s="layer"===e?this._layerNameHash[t]:this._tableNameHash[t],n=!!this.onlyShowUpdatableLayers&&!s.supportsUpdate,o=s.name;return"combobox"===this.type?i("calcite-combobox-item",{disabled:n,textLabel:o,value:t}):"select"===this.type?i("calcite-option",{disabled:n,label:o,value:t}):i("calcite-dropdown-item",{disabled:n,onClick:n?void 0:()=>{this._setSelectedLayer(t)}},o)}_setSelectedLayer(i){const t=Object.keys(this._layerNameHash).indexOf(i)>-1?this._layerNameHash[i]:Object.keys(this._tableNameHash).indexOf(i)>-1?this._tableNameHash[i]:void 0;this.selectedName=null==t?void 0:t.name,this.selectedIds=[i],this.layerSelectionChange.emit(this.selectedIds)}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const i=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),t=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...i.filter((i=>{var t;return!((null===(t=this.enabledLayerIds)||void 0===t?void 0:t.length)>0)||this.enabledLayerIds.indexOf(i)>-1})),...t.filter((i=>{var t;return!((null===(t=this.enabledTableIds)||void 0===t?void 0:t.length)>0)||this.enabledTableIds.indexOf(i)>-1}))]}}_getEditableIds(i){return Object.keys(i).reduce(((t,e)=>(i[e].supportsUpdate&&t.push(e),t)),[])}async _initLayerTableHash(){this._layerNameHash=await ti(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await ei(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(i){var t;const e=null===(t=this._layerNameHash[i])||void 0===t?void 0:t.name;return e&&si.managedLayers.indexOf(e)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(i)>-1)}_validTable(i){var t;const e=null===(t=this._tableNameHash[i])||void 0===t?void 0:t.name,s=e&&this.showTables;return s?si.managedTables.indexOf(e)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(i)>-1):s}_layerSelectionChange(){const i=Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value];JSON.stringify(i)!==JSON.stringify([""])&&(this.selectedIds=i,this.layerSelectionChange.emit(this.selectedIds))}async _getTranslations(){const i=await ii(this.el);this._translations=i[0]}get el(){return n(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};wi.style=":host{display:block}.map-layer-picker-container{width:100%;height:100%}.map-layer-picker{position:relative;width:100%;display:inline-block;height:100%}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}";export{di as calcite_combobox,bi as calcite_combobox_item,gi as calcite_dropdown,fi as calcite_dropdown_group,xi as calcite_dropdown_item,wi as map_layer_picker}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{a as n}from"./p-91c78d98.js";import{e as o}from"./p-024c2016.js";import{g as s}from"./p-bf9d3381.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v1.9.0
|
11
|
+
*/const t={},a={};async function r(o){const i=s(o);if(t[i])return t[i];a[i]||(a[i]=fetch(n(`./assets/date-picker/nls/${i}.json`)).then((n=>n.json())).catch((()=>(console.error(`Translations for "${i}" not found or invalid, falling back to english`),r("en")))));const c=await a[i];return t[i]=c,c}function i(n){return n.map(((n,s)=>o(n,1===s)))}export{r as a,i as g}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as s,h as i,g as e}from"./p-91c78d98.js";import{c as a,d as o,u as r}from"./p-2ee3afea.js";import{s as h,a as c,c as n}from"./p-3a668467.js";import{c as l}from"./p-efc041d0.js";import{I as d}from"./p-3003e56a.js";import{m as p,d as m,a as b,s as f,h as u,b as g,g as x,k as w,i as v,c as y,e as j,f as k,r as I,j as L,l as z,n as C,o as H,p as F,L as D}from"./p-946a0023.js";import"./p-86f482ca.js";import"./p-7d7e6744.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-59d706b4.js";import"./p-a82f35c9.js";const R=class{constructor(i){t(this,i),this.calciteListChange=s(this,"calciteListChange",6),this.calciteListFilter=s(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=l("mutation",p.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=m.bind(this),this.deselectSiblingItems=b.bind(this),this.selectSiblings=f.bind(this),this.handleFilter=u.bind(this),this.handleFilterEvent=g.bind(this),this.getItemData=x.bind(this),this.keyDownHandler=w.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){v.call(this),y.call(this),a(this)}disconnectedCallback(){j.call(this),o(this)}componentWillLoad(){h(this)}componentDidLoad(){c(this),k.call(this)}componentDidRender(){r(this)}calciteListItemRemoveHandler(t){I.call(this,t)}calciteListItemChangeHandler(t){L.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){z.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){C.call(this,t)}setUpItems(){H.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await n(this),F.call(this,t)}getIconType(){return this.multiple?d.square:d.circle}render(){return i(D,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};R.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";export{R as calcite_pick_list}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as e,c as t,h as i,g as a}from"./p-91c78d98.js";import{c as s,d as n}from"./p-73c50d50.js";import{t as o,g as l}from"./p-4b9ba22d.js";import{c as r,d as c}from"./p-bf9d3381.js";import{c as d,d as h,s as m,u as f}from"./p-29120ecd.js";import"./p-efc041d0.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-34fb2a6e.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v1.9.0
|
11
|
+
*/const p="thumbnail",b="title",u="subtitle",g="footer-start",v="footer-end",w=class{constructor(i){e(this,i),this.calciteCardSelect=t(this,"calciteCardSelect",6),this.cardSelectClick=()=>{this.selectCard()},this.cardSelectKeyDown=e=>{switch(e.key){case" ":case"Enter":this.selectCard(),e.preventDefault()}},this.loading=!1,this.selected=!1,this.selectable=!1,this.thumbnailPosition="block-start",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}connectedCallback(){s(this),r(this),d(this)}disconnectedCallback(){n(this),c(this),h(this)}async componentWillLoad(){await m(this)}render(){const e=this.thumbnailPosition.startsWith("inline"),t=this.thumbnailPosition.endsWith("start");return i("div",{class:{"calcite-card-container":!0,inline:e}},this.loading?i("div",{"aria-live":"polite",class:"calcite-card-loader-container"},i("calcite-loader",{label:this.messages.loading})):null,t&&this.renderThumbnail(),i("section",{"aria-busy":o(this.loading),class:{container:!0}},this.selectable?this.renderCheckbox():null,this.renderHeader(),i("div",{class:"card-content"},i("slot",null)),this.renderFooter()),!t&&this.renderThumbnail())}effectiveLocaleChange(){f(this,this.effectiveLocale)}selectCard(){this.selected=!this.selected,this.calciteCardSelect.emit()}renderThumbnail(){return l(this.el,p)?i("section",{class:"thumbnail-wrapper"},i("slot",{name:p})):null}renderCheckbox(){return i("calcite-label",{class:"checkbox-wrapper",onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},i("calcite-checkbox",{checked:this.selected,label:this.messages.select}))}renderHeader(){const{el:e}=this,t=l(e,b),a=l(e,u);return t||a?i("header",{class:"header"},i("slot",{name:b}),i("slot",{name:u})):null}renderFooter(){const{el:e}=this,t=l(e,g),a=l(e,v);return t||a?i("footer",{class:"footer"},i("slot",{name:g}),i("slot",{name:v})):null}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};w.style=":host{display:block;max-inline-size:100%}:host .calcite-card-container{position:relative;display:flex;block-size:100%;flex-direction:column;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}.container{position:relative;display:flex;flex:1 1 auto;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:flex;align-items:center}.header,.footer{display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}.header{flex-direction:column}.footer{margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selectable]) .header{padding-inline-end:2rem}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-start]::slotted(*),*::slotted([slot=footer-start]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;margin-inline-end:auto}slot[name=footer-end]::slotted(*),*::slotted([slot=footer-end]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:flex}.calcite-card-container.inline{flex-direction:row}.calcite-card-container.inline>.container{inline-size:60%}.calcite-card-container.inline>.thumbnail-wrapper{inline-size:40%;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-start]::slotted(*),slot[name=footer-end]::slotted(*){display:flex;gap:0.25rem}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_card}
|