@esri/solutions-components 0.7.17 → 0.7.19
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/crowdsource-manager/resources.json +3 -1
- package/dist/assets/t9n/crowdsource-manager/resources_en.json +3 -1
- package/dist/assets/t9n/info-card/resources.json +2 -1
- package/dist/assets/t9n/info-card/resources_en.json +2 -1
- package/dist/assets/t9n/instant-apps-export/resources.json +12 -12
- package/dist/assets/t9n/instant-apps-export/resources_ar.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_bg.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_bs.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_ca.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_cs.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_da.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_de.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_el.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_en.json +12 -12
- package/dist/assets/t9n/instant-apps-export/resources_es.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_et.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_fi.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_fr.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_he.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_hr.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_hu.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_id.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_it.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_ja.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_ko.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_lt.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_lv.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_nb.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_nl.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_pl.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_pt-BR.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_pt-PT.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_ro.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_ru.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_sk.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_sl.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_sr.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_sv.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_th.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_tr.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_uk.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_vi.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_zh-CN.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_zh-HK.json +11 -11
- package/dist/assets/t9n/instant-apps-export/resources_zh-TW.json +11 -11
- package/dist/assets/t9n/instant-apps-filter-list/resources.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_ar.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_bg.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_bs.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_ca.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_cs.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_da.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_de.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_el.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_en.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_es.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_et.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_fi.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_fr.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_he.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_hr.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_hu.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_id.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_it.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_ja.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_ko.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_lt.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_lv.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_nb.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_nl.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_pl.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_pt-BR.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_pt-PT.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_ro.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_ru.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_sk.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_sl.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_sr.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_sv.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_th.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_tr.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_uk.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_vi.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_zh-CN.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_zh-HK.json +16 -16
- package/dist/assets/t9n/instant-apps-filter-list/resources_zh-TW.json +16 -16
- package/dist/assets/t9n/instant-apps-interactive-legend/resources.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_ar.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_bg.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_bs.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_ca.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_cs.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_da.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_de.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_el.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_en.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_es.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_et.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_fi.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_fr.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_he.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_hr.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_hu.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_id.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_it.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_ja.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_ko.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_lt.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_lv.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_nb.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_nl.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_pl.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_pt-BR.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_pt-PT.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_ro.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_ru.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_sk.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_sl.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_sr.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_sv.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_th.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_tr.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_uk.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_vi.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_zh-CN.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_zh-HK.json +15 -15
- package/dist/assets/t9n/instant-apps-interactive-legend/resources_zh-TW.json +15 -15
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ar.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_bg.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_bs.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ca.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_cs.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_da.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_de.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_el.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_en.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_es.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_et.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_fi.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_fr.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_he.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_hr.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_hu.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_id.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_it.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ja.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ko.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_lt.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_lv.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_nb.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_nl.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_pl.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-BR.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-PT.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ro.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_ru.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_sk.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_sl.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_sr.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_sv.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_th.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_tr.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_uk.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_vi.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-CN.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-HK.json +30 -30
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-TW.json +30 -30
- package/dist/assets/t9n/instant-apps-language-translator/resources.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_ar.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_bg.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_bs.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_ca.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_cs.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_da.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_de.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_el.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_en.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_es.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_et.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_fi.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_fr.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_he.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_hr.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_hu.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_id.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_it.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_ja.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_ko.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_lt.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_lv.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_nb.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_nl.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_pl.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_pt-BR.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_pt-PT.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_ro.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_ru.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_sk.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_sl.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_sr.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_sv.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_th.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_tr.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_uk.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_vi.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_zh-CN.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_zh-HK.json +102 -102
- package/dist/assets/t9n/instant-apps-language-translator/resources_zh-TW.json +102 -102
- package/dist/assets/t9n/instant-apps-measurement/resources.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_ar.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_bg.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_bs.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_ca.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_cs.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_da.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_de.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_el.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_en.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_es.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_et.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_fi.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_fr.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_he.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_hr.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_hu.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_id.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_it.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_ja.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_ko.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_lt.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_lv.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_nb.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_nl.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_pl.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_pt-BR.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_pt-PT.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_ro.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_ru.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_sk.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_sl.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_sr.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_sv.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_th.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_tr.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_uk.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_vi.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_zh-CN.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_zh-HK.json +6 -6
- package/dist/assets/t9n/instant-apps-measurement/resources_zh-TW.json +6 -6
- package/dist/assets/t9n/instant-apps-popover/resources.json +7 -7
- package/dist/assets/t9n/instant-apps-popover/resources_ar.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_bg.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_bs.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_ca.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_cs.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_da.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_de.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_el.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_en.json +7 -7
- package/dist/assets/t9n/instant-apps-popover/resources_es.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_et.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_fi.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_fr.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_he.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_hr.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_hu.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_id.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_it.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_ja.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_ko.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_lt.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_lv.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_nb.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_nl.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_pl.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_pt-BR.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_pt-PT.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_ro.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_ru.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_sk.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_sl.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_sr.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_sv.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_th.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_tr.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_uk.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_vi.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_zh-CN.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_zh-HK.json +5 -5
- package/dist/assets/t9n/instant-apps-popover/resources_zh-TW.json +5 -5
- package/dist/assets/t9n/instant-apps-scoreboard/resources.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_ar.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_bg.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_bs.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_ca.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_cs.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_da.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_de.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_el.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_en.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_es.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_et.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_fi.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_fr.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_he.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_hr.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_hu.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_id.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_it.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_ja.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_ko.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_lt.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_lv.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_nb.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_nl.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_pl.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_pt-BR.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_pt-PT.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_ro.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_ru.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_sk.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_sl.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_sr.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_sv.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_th.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_tr.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_uk.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_vi.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_zh-CN.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_zh-HK.json +6 -6
- package/dist/assets/t9n/instant-apps-scoreboard/resources_zh-TW.json +6 -6
- package/dist/assets/t9n/instant-apps-social-share/resources.json +38 -38
- package/dist/assets/t9n/instant-apps-social-share/resources_ar.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_bg.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_bs.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_ca.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_cs.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_da.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_de.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_el.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_en.json +38 -38
- package/dist/assets/t9n/instant-apps-social-share/resources_es.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_et.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_fi.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_fr.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_he.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_hr.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_hu.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_id.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_it.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_ja.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_ko.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_lt.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_lv.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_nb.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_nl.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_pl.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_pt-BR.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_pt-PT.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_ro.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_ru.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_sk.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_sl.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_sr.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_sv.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_th.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_tr.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_uk.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_vi.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_zh-CN.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_zh-HK.json +37 -37
- package/dist/assets/t9n/instant-apps-social-share/resources_zh-TW.json +37 -37
- package/dist/assets/t9n/instant-apps-splash/resources.json +2 -2
- package/dist/assets/t9n/instant-apps-splash/resources_en.json +2 -2
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +0 -30
- package/dist/cjs/buffer-tools_3.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action-group.cjs.entry.js +116 -0
- package/dist/cjs/{calcite-popover.cjs.entry.js → calcite-action-menu_2.cjs.entry.js} +285 -5
- package/dist/cjs/calcite-alert_3.cjs.entry.js +124 -32
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +23 -2
- package/dist/cjs/{calcite-panel.cjs.entry.js → calcite-panel_2.cjs.entry.js} +142 -0
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +1 -1
- package/dist/cjs/card-manager_3.cjs.entry.js +182 -145
- package/dist/cjs/crowdsource-manager.cjs.entry.js +85 -22
- package/dist/cjs/{downloadUtils-8f50633d.js → downloadUtils-9a13c6ac.js} +19 -14
- package/dist/cjs/{index.es-140aa937.js → index.es-284a020c.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +2 -2
- package/dist/cjs/{mapViewUtils-569e9644.js → mapViewUtils-8aa325de.js} +4 -1
- package/dist/cjs/public-notification.cjs.entry.js +2 -2
- package/dist/cjs/solution-contents_3.cjs.entry.js +4 -4
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.css +19 -19
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +0 -2
- package/dist/collection/components/card-manager/card-manager.js +19 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +9 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +101 -20
- package/dist/collection/components/edit-card/edit-card.js +1 -8
- package/dist/collection/components/floor-filter/floor-filter.js +0 -4
- package/dist/collection/components/info-card/info-card.css +29 -0
- package/dist/collection/components/info-card/info-card.js +69 -24
- package/dist/collection/components/layer-table/layer-table.css +8 -0
- package/dist/collection/components/layer-table/layer-table.js +208 -142
- package/dist/collection/components/map-card/map-card.js +0 -4
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +0 -2
- package/dist/collection/components/map-fullscreen/map-fullscreen.css +19 -19
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +40 -1
- package/dist/collection/components/map-legend/map-legend.css +3 -3
- package/dist/collection/components/map-legend/map-legend.js +0 -4
- package/dist/collection/components/map-picker/map-picker.js +0 -4
- package/dist/collection/components/map-tools/map-tools.js +0 -16
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +4 -4
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources.json +12 -12
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ar.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_bg.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_bs.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ca.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_cs.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_da.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_de.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_el.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_en.json +12 -12
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_es.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_et.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_fi.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_fr.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_he.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_hr.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_hu.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_id.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_it.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ja.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ko.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_lt.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_lv.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_nb.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_nl.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_pl.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_pt-BR.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_pt-PT.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ro.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_ru.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_sk.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_sl.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_sr.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_sv.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_th.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_tr.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_uk.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_vi.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_zh-CN.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_zh-HK.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-export/resources_zh-TW.json +11 -11
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ar.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_bg.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_bs.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ca.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_cs.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_da.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_de.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_el.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_en.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_es.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_et.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_fi.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_fr.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_he.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_hr.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_hu.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_id.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_it.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ja.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ko.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_lt.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_lv.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_nb.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_nl.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_pl.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_pt-BR.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_pt-PT.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ro.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_ru.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_sk.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_sl.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_sr.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_sv.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_th.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_tr.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_uk.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_vi.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_zh-CN.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_zh-HK.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-filter-list/resources_zh-TW.json +16 -16
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ar.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_bg.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_bs.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ca.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_cs.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_da.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_de.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_el.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_en.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_es.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_et.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_fi.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_fr.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_he.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_hr.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_hu.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_id.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_it.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ja.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ko.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_lt.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_lv.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_nb.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_nl.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_pl.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_pt-BR.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_pt-PT.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ro.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_ru.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_sk.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_sl.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_sr.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_sv.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_th.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_tr.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_uk.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_vi.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-CN.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-HK.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-TW.json +15 -15
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ar.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_bg.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_bs.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ca.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_cs.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_da.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_de.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_el.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_en.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_es.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_et.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_fi.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_fr.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_he.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_hr.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_hu.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_id.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_it.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ja.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ko.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_lt.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_lv.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_nb.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_nl.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pl.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-BR.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-PT.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ro.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ru.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sk.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sl.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sr.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sv.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_th.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_tr.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_uk.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_vi.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-CN.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-HK.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-TW.json +30 -30
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ar.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_bg.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_bs.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ca.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_cs.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_da.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_de.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_el.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_en.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_es.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_et.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_fi.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_fr.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_he.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_hr.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_hu.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_id.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_it.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ja.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ko.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_lt.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_lv.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_nb.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_nl.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_pl.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_pt-BR.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_pt-PT.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ro.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_ru.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_sk.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_sl.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_sr.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_sv.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_th.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_tr.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_uk.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_vi.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_zh-CN.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_zh-HK.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-language-translator/resources_zh-TW.json +102 -102
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ar.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_bg.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_bs.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ca.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_cs.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_da.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_de.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_el.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_en.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_es.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_et.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_fi.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_fr.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_he.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_hr.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_hu.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_id.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_it.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ja.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ko.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_lt.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_lv.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_nb.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_nl.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_pl.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_pt-BR.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_pt-PT.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ro.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_ru.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_sk.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_sl.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_sr.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_sv.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_th.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_tr.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_uk.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_vi.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_zh-CN.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_zh-HK.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-measurement/resources_zh-TW.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources.json +7 -7
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ar.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_bg.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_bs.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ca.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_cs.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_da.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_de.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_el.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_en.json +7 -7
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_es.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_et.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_fi.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_fr.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_he.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_hr.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_hu.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_id.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_it.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ja.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ko.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_lt.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_lv.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_nb.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_nl.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_pl.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_pt-BR.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_pt-PT.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ro.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_ru.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_sk.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_sl.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_sr.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_sv.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_th.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_tr.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_uk.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_vi.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_zh-CN.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_zh-HK.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-popover/resources_zh-TW.json +5 -5
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ar.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_bg.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_bs.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ca.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_cs.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_da.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_de.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_el.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_en.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_es.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_et.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_fi.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_fr.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_he.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_hr.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_hu.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_id.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_it.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ja.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ko.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_lt.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_lv.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_nb.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_nl.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_pl.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_pt-BR.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_pt-PT.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ro.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_ru.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_sk.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_sl.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_sr.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_sv.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_th.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_tr.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_uk.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_vi.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_zh-CN.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_zh-HK.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-scoreboard/resources_zh-TW.json +6 -6
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources.json +38 -38
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ar.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_bg.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_bs.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ca.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_cs.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_da.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_de.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_el.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_en.json +38 -38
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_es.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_et.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_fi.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_fr.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_he.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_hr.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_hu.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_id.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_it.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ja.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ko.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_lt.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_lv.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_nb.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_nl.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_pl.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_pt-BR.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_pt-PT.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ro.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_ru.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_sk.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_sl.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_sr.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_sv.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_th.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_tr.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_uk.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_vi.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_zh-CN.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_zh-HK.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-social-share/resources_zh-TW.json +37 -37
- package/dist/collection/demos/assets/t9n/instant-apps-splash/resources.json +2 -2
- package/dist/collection/demos/assets/t9n/instant-apps-splash/resources_en.json +2 -2
- package/dist/collection/demos/crowdsource-manager.html +1 -1
- package/dist/collection/utils/downloadUtils.js +17 -12
- package/dist/collection/utils/downloadUtils.ts +20 -12
- package/dist/collection/utils/interfaces.ts +7 -0
- package/dist/collection/utils/popupUtils.js +94 -0
- package/dist/collection/utils/popupUtils.ts +104 -0
- package/dist/collection/utils/queryUtils.js +4 -1
- package/dist/collection/utils/queryUtils.ts +5 -1
- package/dist/components/basemap-gallery2.js +0 -2
- package/dist/components/card-manager2.js +41 -15
- package/dist/components/crowdsource-manager.js +92 -24
- package/dist/components/downloadUtils.js +17 -12
- package/dist/components/edit-card2.js +1 -8
- package/dist/components/floor-filter2.js +0 -4
- package/dist/components/info-card2.js +163 -37
- package/dist/components/layer-table2.js +184 -141
- package/dist/components/map-card2.js +0 -4
- package/dist/components/map-draw-tools2.js +0 -2
- package/dist/components/map-layer-picker2.js +24 -1
- package/dist/components/map-legend2.js +0 -4
- package/dist/components/map-picker2.js +0 -4
- package/dist/components/map-tools2.js +0 -16
- package/dist/components/queryUtils.js +4 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-spatial-ref2.js +4 -4
- package/dist/esm/basemap-gallery_7.entry.js +0 -30
- package/dist/esm/buffer-tools_3.entry.js +0 -2
- package/dist/esm/calcite-action-group.entry.js +112 -0
- package/dist/esm/{calcite-popover.entry.js → calcite-action-menu_2.entry.js} +286 -7
- package/dist/esm/calcite-alert_3.entry.js +124 -32
- package/dist/esm/calcite-combobox_6.entry.js +23 -2
- package/dist/esm/{calcite-panel.entry.js → calcite-panel_2.entry.js} +158 -17
- package/dist/esm/calcite-shell-panel_14.entry.js +1 -1
- package/dist/esm/card-manager_3.entry.js +182 -145
- package/dist/esm/crowdsource-manager.entry.js +85 -22
- package/dist/esm/{downloadUtils-9dee8bc0.js → downloadUtils-a4bbdb1d.js} +19 -14
- package/dist/esm/{index.es-54e86c8e.js → index.es-48fdb288.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +2 -2
- package/dist/esm/{mapViewUtils-066602d5.js → mapViewUtils-8fe70944.js} +4 -1
- package/dist/esm/public-notification.entry.js +2 -2
- package/dist/esm/solution-contents_3.entry.js +4 -4
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources.json +12 -12
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ar.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_bg.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_bs.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ca.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_cs.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_da.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_de.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_el.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_en.json +12 -12
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_es.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_et.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_fi.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_fr.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_he.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_hr.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_hu.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_id.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_it.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ja.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ko.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_lt.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_lv.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_nb.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_nl.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_pl.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_pt-BR.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_pt-PT.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ro.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_ru.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_sk.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_sl.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_sr.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_sv.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_th.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_tr.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_uk.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_vi.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_zh-CN.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_zh-HK.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-export/resources_zh-TW.json +11 -11
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ar.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_bg.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_bs.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ca.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_cs.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_da.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_de.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_el.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_en.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_es.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_et.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_fi.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_fr.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_he.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_hr.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_hu.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_id.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_it.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ja.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ko.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_lt.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_lv.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_nb.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_nl.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_pl.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_pt-BR.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_pt-PT.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ro.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_ru.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_sk.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_sl.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_sr.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_sv.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_th.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_tr.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_uk.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_vi.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_zh-CN.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_zh-HK.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-filter-list/resources_zh-TW.json +16 -16
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ar.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_bg.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_bs.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ca.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_cs.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_da.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_de.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_el.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_en.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_es.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_et.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_fi.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_fr.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_he.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_hr.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_hu.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_id.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_it.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ja.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ko.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_lt.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_lv.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_nb.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_nl.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_pl.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_pt-BR.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_pt-PT.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ro.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_ru.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_sk.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_sl.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_sr.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_sv.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_th.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_tr.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_uk.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_vi.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-CN.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-HK.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-interactive-legend/resources_zh-TW.json +15 -15
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ar.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_bg.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_bs.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ca.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_cs.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_da.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_de.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_el.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_en.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_es.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_et.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_fi.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_fr.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_he.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_hr.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_hu.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_id.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_it.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ja.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ko.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_lt.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_lv.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_nb.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_nl.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pl.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-BR.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_pt-PT.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ro.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_ru.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sk.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sl.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sr.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_sv.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_th.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_tr.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_uk.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_vi.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-CN.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-HK.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-keyboard-shortcuts/resources_zh-TW.json +30 -30
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ar.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_bg.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_bs.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ca.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_cs.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_da.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_de.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_el.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_en.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_es.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_et.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_fi.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_fr.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_he.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_hr.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_hu.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_id.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_it.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ja.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ko.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_lt.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_lv.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_nb.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_nl.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_pl.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_pt-BR.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_pt-PT.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ro.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_ru.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_sk.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_sl.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_sr.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_sv.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_th.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_tr.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_uk.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_vi.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_zh-CN.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_zh-HK.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-language-translator/resources_zh-TW.json +102 -102
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ar.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_bg.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_bs.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ca.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_cs.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_da.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_de.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_el.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_en.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_es.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_et.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_fi.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_fr.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_he.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_hr.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_hu.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_id.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_it.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ja.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ko.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_lt.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_lv.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_nb.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_nl.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_pl.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_pt-BR.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_pt-PT.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ro.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_ru.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_sk.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_sl.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_sr.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_sv.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_th.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_tr.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_uk.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_vi.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_zh-CN.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_zh-HK.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-measurement/resources_zh-TW.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources.json +7 -7
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ar.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_bg.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_bs.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ca.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_cs.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_da.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_de.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_el.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_en.json +7 -7
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_es.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_et.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_fi.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_fr.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_he.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_hr.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_hu.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_id.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_it.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ja.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ko.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_lt.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_lv.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_nb.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_nl.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_pl.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_pt-BR.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_pt-PT.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ro.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_ru.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_sk.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_sl.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_sr.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_sv.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_th.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_tr.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_uk.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_vi.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_zh-CN.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_zh-HK.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-popover/resources_zh-TW.json +5 -5
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ar.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_bg.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_bs.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ca.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_cs.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_da.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_de.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_el.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_en.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_es.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_et.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_fi.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_fr.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_he.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_hr.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_hu.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_id.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_it.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ja.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ko.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_lt.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_lv.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_nb.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_nl.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_pl.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_pt-BR.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_pt-PT.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ro.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_ru.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_sk.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_sl.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_sr.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_sv.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_th.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_tr.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_uk.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_vi.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_zh-CN.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_zh-HK.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-scoreboard/resources_zh-TW.json +6 -6
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources.json +38 -38
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ar.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_bg.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_bs.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ca.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_cs.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_da.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_de.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_el.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_en.json +38 -38
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_es.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_et.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_fi.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_fr.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_he.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_hr.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_hu.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_id.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_it.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ja.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ko.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_lt.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_lv.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_nb.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_nl.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_pl.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_pt-BR.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_pt-PT.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ro.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_ru.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_sk.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_sl.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_sr.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_sv.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_th.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_tr.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_uk.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_vi.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_zh-CN.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_zh-HK.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-social-share/resources_zh-TW.json +37 -37
- package/dist/solutions-components/demos/assets/t9n/instant-apps-splash/resources.json +2 -2
- package/dist/solutions-components/demos/assets/t9n/instant-apps-splash/resources_en.json +2 -2
- package/dist/solutions-components/demos/crowdsource-manager.html +1 -1
- package/dist/solutions-components/{p-c2b20b85.entry.js → p-1d56804c.entry.js} +18 -2
- package/dist/solutions-components/p-24b3ad7d.entry.js +6 -0
- package/dist/solutions-components/{p-6656c53e.entry.js → p-2abc02a1.entry.js} +1 -1
- package/dist/solutions-components/{p-825c045a.entry.js → p-2ddd9cf8.entry.js} +1 -1
- package/dist/solutions-components/{p-e8011829.entry.js → p-48a5ae32.entry.js} +1 -1
- package/dist/solutions-components/p-5d9ad152.entry.js +18 -0
- package/dist/solutions-components/{p-dfdb8411.js → p-72dbfa77.js} +1 -1
- package/dist/solutions-components/p-89520d31.entry.js +12 -0
- package/dist/solutions-components/p-9b1766ef.entry.js +6 -0
- package/dist/solutions-components/{p-683cded6.entry.js → p-b1422b00.entry.js} +1 -1
- package/dist/solutions-components/p-b5d1b979.js +36 -0
- package/dist/solutions-components/p-cf24ce53.entry.js +6 -0
- package/dist/solutions-components/{p-1bdd64a0.js → p-d4afcf86.js} +4 -4
- package/dist/solutions-components/{p-13bfc206.entry.js → p-fdb1ace8.entry.js} +5 -5
- package/dist/solutions-components/solutions-components.css +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +20 -12
- package/dist/solutions-components/utils/interfaces.ts +7 -0
- package/dist/solutions-components/utils/popupUtils.ts +104 -0
- package/dist/solutions-components/utils/queryUtils.ts +5 -1
- package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +0 -2
- package/dist/types/components/card-manager/card-manager.d.ts +4 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +61 -10
- package/dist/types/components/edit-card/edit-card.d.ts +0 -6
- package/dist/types/components/floor-filter/floor-filter.d.ts +0 -4
- package/dist/types/components/info-card/info-card.d.ts +29 -15
- package/dist/types/components/layer-table/layer-table.d.ts +41 -67
- package/dist/types/components/map-card/map-card.d.ts +0 -4
- package/dist/types/components/map-draw-tools/map-draw-tools.d.ts +0 -2
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +20 -0
- package/dist/types/components/map-legend/map-legend.d.ts +0 -4
- package/dist/types/components/map-picker/map-picker.d.ts +0 -4
- package/dist/types/components/map-tools/map-tools.d.ts +0 -16
- package/dist/types/components.d.ts +40 -6
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/utils/downloadUtils.d.ts +3 -3
- package/dist/types/utils/interfaces.d.ts +6 -0
- package/dist/types/utils/popupUtils.d.ts +46 -0
- package/dist/types/utils/queryUtils.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +0 -395
- package/dist/cjs/calcite-shell.cjs.entry.js +0 -157
- package/dist/esm/calcite-action-group_2.entry.js +0 -390
- package/dist/esm/calcite-shell.entry.js +0 -153
- package/dist/solutions-components/p-105bf4aa.entry.js +0 -6
- package/dist/solutions-components/p-531d91d6.js +0 -36
- package/dist/solutions-components/p-7440c114.entry.js +0 -11
- package/dist/solutions-components/p-7c5191ff.entry.js +0 -6
- package/dist/solutions-components/p-c147117f.entry.js +0 -17
- package/dist/solutions-components/p-d9d213d4.entry.js +0 -6
- package/dist/solutions-components/p-db1f5bd5.entry.js +0 -6
- package/dist/solutions-components_commit.txt +0 -7
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{c as t,g as n}from"./p-e1a4994d.js";import{a as i}from"./p-78780f63.js";import{l as r}from"./p-48ff9cea.js";import{q as e}from"./p-
|
6
|
+
import{c as t,g as n}from"./p-e1a4994d.js";import{a as i}from"./p-78780f63.js";import{l as r}from"./p-48ff9cea.js";import{q as e}from"./p-b5d1b979.js";import"./p-d89fff3a.js";import"./p-a230b270.js";import{_ as s,r as o,c as a,g as u}from"./p-220ec0d1.js";
|
7
7
|
/* @preserve
|
8
8
|
* arcgis-pdf-creator v0.0.1
|
9
9
|
* Thu Apr 27 2023 17:20:32 GMT-0700 (Pacific Daylight Time)
|
@@ -310,7 +310,7 @@ function(t){var n=function(t){for(var n=t.length,i=new Uint8Array(n),r=0;r<n;r++
|
|
310
310
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
311
311
|
* ====================================================================
|
312
312
|
*/
|
313
|
-
function(){function t(){return(Z.canvg?Promise.resolve(Z.canvg):import("./p-
|
313
|
+
function(){function t(){return(Z.canvg?Promise.resolve(Z.canvg):import("./p-72dbfa77.js")).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}Pt.API.addSvgAsImage=function(n,i,r,e,s,o,a,u){if(isNaN(i)||isNaN(r))throw tt.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(e)||isNaN(s))throw tt.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var f=document.createElement("canvas");f.width=e,f.height=s;var c=f.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,f.width,f.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},l=this;return t().then((function(t){return t.fromString(c,n,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(h)})).then((function(){l.addImage(f.toDataURL("image/jpeg",1),i,r,e,s,a,u)}))}}(),Pt.API.putTotalPages=function(t){var n,i=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(n=new RegExp(t,"g"),i=this.internal.getNumberOfPages()):(n=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),i=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var e=0;e<this.internal.pages[r].length;e++)this.internal.pages[r][e]=this.internal.pages[r][e].replace(n,i);return this},Pt.API.viewerPreferences=function(t,n){var i;t=t||{},n=n||!1;var r,e,s,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},a=Object.keys(o),u=[],f=0,c=0,h=0;function v(t,n){var i,r=!1;for(i=0;i<t.length;i+=1)t[i]===n&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),i=this.internal.viewerpreferences.configuration,"reset"===t||!0===n){var d=a.length;for(h=0;h<d;h+=1)i[a[h]].value=i[a[h]].defaultValue,i[a[h]].explicitSet=!1}if("object"===l(t))for(e in t)if(s=t[e],v(a,e)&&void 0!==s){if("boolean"===i[e].type&&"boolean"==typeof s)i[e].value=s;else if("name"===i[e].type&&v(i[e].valueSet,s))i[e].value=s;else if("integer"===i[e].type&&Number.isInteger(s))i[e].value=s;else if("array"===i[e].type){for(f=0;f<s.length;f+=1)if(r=!0,1===s[f].length&&"number"==typeof s[f][0])u.push(String(s[f]-1));else if(s[f].length>1){for(c=0;c<s[f].length;c+=1)"number"!=typeof s[f][c]&&(r=!1);!0===r&&u.push([s[f][0]-1,s[f][1]-1].join(" "))}i[e].value="["+u.join(" ")+"]"}else i[e].value=i[e].defaultValue;i[e].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,n=[];for(t in i)!0===i[t].explicitSet&&n.push("name"===i[t].type?"/"+t+" /"+i[t].value:"/"+t+" "+i[t].value);0!==n.length&&this.internal.write("/ViewerPreferences\n<<\n"+n.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=i,this
|
314
314
|
/** ====================================================================
|
315
315
|
* @license
|
316
316
|
* jsPDF XMP metadata plugin
|
@@ -454,7 +454,7 @@ var Ni=function(){return Ni=Object.assign||function(t){for(var n,i=1,r=arguments
|
|
454
454
|
* See the License for the specific language governing permissions and
|
455
455
|
* limitations under the License.
|
456
456
|
*/
|
457
|
-
const Li="|";async function gi(t,n,i=!0,s=!1,o=!1){const
|
457
|
+
const Li="|";async function gi(t,n,i=!0,s=!1,o=!1,a=[]){const u=[];return Object.keys(n).forEach((f=>{var c;const h=n[f];u.push(async function(t,n,i,s=!0,o=!1,a=[]){const u=await Mi(t,n,s),f=u.layer;let c=[];if(void 0!==u.relationshipId){const t=await function(t,n,i,r){const e=t.substring(t.lastIndexOf("/")+1);return isNaN(parseInt(e))&&(t+="/"+n.toString()),ji({definitionExpression:"1=1",httpMethod:"POST",objectIds:r,outFields:"*",relationshipId:i,url:t})}(n.url,n.layerId,u.relationshipId,i),r=[];t.forEach((t=>{t.relatedRecords.forEach((t=>{r.push(t.attributes)}))}));const e=n.objectIdField;if(r.sort(((t,n)=>t[e]<n[e]?-1:t[e]>n[e]?1:0)),c=r.filter(((t,n)=>0===n||t[e]!==r[n-1][e])),0===c.length)return Promise.resolve([])}else{const t=a.length>0?a:void 0;c=await e(i,f,[],!1,void 0,t)}const h={},l={},v={};f.fields?f.fields.forEach((t=>{if(a.indexOf(t.name.toLowerCase())>-1){const n=t.name.toLowerCase();h[n]=t.name,v[n]=t.domain,l[n]=t.type}})):Object.keys(c[0]).forEach((t=>{if(a.indexOf(t.toLowerCase())>-1){const n=t.toLowerCase();h[n]=t}}));const d="pattern"===u.labelFormat.type?await async function(t,n,i,e,s,o,a,u=!1){var f;const[c]=await r(["esri/intl"]),h=function(t){const n=[];let i=0;for(;i<t.length;){const r=t.indexOf("{",i);if(r<0)break;const e=t.indexOf("}",r);if(e<0)break;const s=t.substring(r,e+1);n.push(s),i=e+1}const r=function(t){var n;return null!==(n=t.match(/\{expression\/\w+\}/g))&&void 0!==n?n:[]}(t);return n.filter((t=>r.indexOf(t)<0))}(a),l=h.map((t=>t.substring(1,t.length-1))),v=await async function(t,n){const i={};if(!Array.isArray(n.popupTemplate.expressionInfos)||0===n.popupTemplate.expressionInfos.length)return Promise.resolve(i);const e=t.match(/\{expression\/\w+\}/g);if(!e)return Promise.resolve(i);const[s]=await r(["esri/arcade"]),o={variables:[{name:"$feature",type:"feature"},{name:"$layer",type:"featureSet"},{name:"$datastore",type:"featureSetCollection"},{name:"$map",type:"featureSetCollection"}]},a={};e.forEach((t=>{const i=t.substring(t.indexOf("/")+1,t.length-1);(n.popupTemplate.expressionInfos||[]).forEach((t=>{t.name===i&&(a[i]=s.createArcadeExecutor(t.expression,o))}))}));const u=Object.values(a);return Promise.all(u).then((t=>{const n=Object.keys(a);for(let r=0;r<n.length;++r)i[n[r]]=t[r].valueOf();return i}))}(a,t),d=null!==(f=a.match(/\{expression\/\w+\}/g))&&void 0!==f?f:[],w=await Promise.all(n.map((async n=>{var r;let u=a;for(let i=0;i<d.length;i++){const r=d[i],e=r.substring(r.indexOf("/")+1,r.length-1),s=await v[e].executeAsync({$feature:n,$layer:t});u=u.replace(r,s)}const f=null!==(r=n.attributes)&&void 0!==r?r:n;l.forEach(((t,n)=>{const r=t.toLowerCase(),a=Pi(f[i[r]],e[r],s[r],o[r],c);u=u.replace(h[n],a)}));let w=u.split(Li);return w=w.map((t=>Si(t))),w})));return u&&w.unshift(l),Promise.resolve(w)}(n,c,h,l,v,u.attributeFormats,u.labelFormat.format,o):"executor"===u.labelFormat.type?await async function(t,n){const i=(await Promise.all(t.map((async t=>n.executeAsync({$feature:t}))))).filter((t=>t.text)).map((t=>Si(t.text).split(Li)));return Promise.resolve(i)}(c,u.labelFormat.format):await async function(t,n,i,e=!1){const[s]=await r(["esri/intl"]),o=t.map((t=>Object.keys(t.attributes).map((r=>{const e=r.toLowerCase();return Pi(t.attributes[r],n[e],i[e],null,s)}))));if(e){const n=[];Object.keys(t[0].attributes).forEach((t=>{n.push(t)})),o.unshift(n)}return Promise.resolve(o)}(c,l,v,o);return Promise.resolve(d)}(t,(null===(c=h.layerView)||void 0===c?void 0:c.layer)||h.layer,h.ids,i,s,a)),o&&u.push(Promise.resolve([[f]]))})),(await Promise.all(u)).reduce(((t,n)=>t.concat(n)),[])}async function Ai(t,n,i,r=!1,e=!1,s=[]){let o=await gi(t,n,i,e,!0,s);o=r?ki(o):o;const a=Object.keys(n);let u=[];return o.forEach((t=>{const i=t[0];a.indexOf(i)<0?u.push(t):(
|
458
458
|
/** @license
|
459
459
|
* Copyright 2022 Esri
|
460
460
|
*
|
@@ -486,4 +486,4 @@ function(t,n){const i=n.map((t=>Object.values(t).map((t=>`"${t}"`)).join(",")+"\
|
|
486
486
|
* See the License for the specific language governing permissions and
|
487
487
|
* limitations under the License.
|
488
488
|
*/
|
489
|
-
function(t,n){const i=document.createElement("a");void 0!==i.download&&(i.href=URL.createObjectURL(new Blob(n,{type:"text/csv;charset=utf-8;"})),i.download=`${t}.csv`||"export.csv",i.style.visibility="hidden",document.body.appendChild(i),i.click(),document.body.removeChild(i))}(t,i)}(qi(Ei(n,new RegExp(`\\b${i}\\b`))),
|
489
|
+
function(t,n){const i=document.createElement("a");void 0!==i.download&&(i.href=URL.createObjectURL(new Blob(n,{type:"text/csv;charset=utf-8;"})),i.download=`${t}.csv`||"export.csv",i.style.visibility="hidden",document.body.appendChild(i),i.click(),document.body.removeChild(i))}(t,i)}(qi(Ei(n,new RegExp(`\\b${i}\\b`))),u),u=[])})),Promise.resolve()}async function yi(t,n,r,e=!1,s="",o=""){let a=await gi(t,n);const u=Ei(n);return a=a.map((t=>t.filter((t=>t.length>0)))).filter((t=>t.length>0)),a=e?ki(a):a,function(t,n,r,e="",s=""){!function(t,n,r,e="",s=""){const o=new bi;o.initialize({pageType:"ANSI_A"},i("../assets/arcgis-pdf-creator/"),"en",t).then((()=>{const t=new pi;t.initialize(o).then((async()=>{const i=r.labelSpec;let a=1;if(s){const n=i.pageProperties,r=c.getPageSize(n.pageType);o.drawImage(s,{x:n.leftMargin,y:n.topMargin,width:r.width-n.leftMargin-n.rightMargin,height:r.height-n.topMargin-n.bottomMargin}),e&&t.drawSupplementalText(e,0,-.1),o.addPage(),++a}await t.addLabelsToDoc(n,i,a,e),o.save()}))}))}(t,n,r,e,s)}(s||qi(u),a,r,s,o),Promise.resolve()}function ki(t){const n=t.map((t=>JSON.stringify(t))),i=new Set(n);return Array.from(i,(t=>JSON.parse(t)))}function Si(t){for(t=(t=(t=(t=(t=(t=t.replace(/<br\s*\/?>/gi,Li)).replace(/<p[^>]*>/gi,Li).trim().replace(/^\|/,"")).replace(/<\/p>/gi,"")).replace(/\n/gi,"|")).replace(/<[\s.]*[^<>]*\/?>/gi,"").replace(/\xA0/gi," ").replace(/</gi,"<").replace(/>/gi,">").replace(/ /gi," ")).replace(/\s*\|\s*/g,"|");t.match(/\|\|/);)t=t.replace(/\|\|/,"|");return(t=t.replace(/^\|/,"")).replace(/\|$/,"")}function xi(t,n=!1){const i=[];return t.forEach((t=>{(t.visible||n)&&i.push(`{${t.fieldName}}`)})),{type:"pattern",format:i.join(Li)}}function qi(t){return t.length>0?t.join(", "):"download"}function ji(t,n=[],i=0){return function(t){var n=function(t,n,i){var r=s(s({params:{}},i),t);return r.params=["objectIds","relationshipId","definitionExpression","outFields"].reduce((function(n,i){return(t[i]||"boolean"==typeof t[i])&&(n[i]=t[i]),n}),r.params),["params","httpMethod","rawResponse","authentication","portal","fetch","maxUrlLength","headers"].reduce((function(t,n){return r[n]&&(t[n]=r[n]),t}),{})}(t,0,{httpMethod:"GET",params:Ni({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return o(a(t.url)+"/queryRelatedRecords",n)}(Object.assign(Object.assign({},t),{params:{resultOffset:i}})).then((r=>(n.push(...r.relatedRecordGroups),r.exceededTransferLimit?ji(t,n,i+r.relatedRecordGroups.length):Promise.resolve(n))))}async function Mi(t,n,i){var e,s;let o={layer:n,attributeFormats:{},relationshipId:void 0,labelFormat:{type:"unsupported",format:void 0}};if(n.popupEnabled&&(n.popupTemplate.fieldInfos.forEach((t=>{t.format&&(o.attributeFormats[t.fieldName.toLowerCase()]=t.format)})),i)){const a=null===(s=null===(e=n.popupTemplate)||void 0===e?void 0:e.content[0])||void 0===s?void 0:s.type;if("relationship"===a){const r=n.popupTemplate.content[0].relationshipId,e=n.relationships.find((t=>t.id===r));let s=t.layers.toArray().concat(t.tables.toArray());if(s=s.filter((t=>"feature"===t.type&&t.layerId===e.relatedTableId)),s.length>0)o=await Mi(t,s[0],i),o.relationshipId=r;else{s=t.layers.toArray().concat(t.tables.toArray());const e=[];let a;s=s.filter((t=>{if("feature"===t.type&&t.layerId!=n.layerId&&t.url){const n=t.url+"/"+t.layerId.toString();return e.push(u(n)),!0}return!1})),(await Promise.all(e)).some(((n,e)=>!(!n.relationships||!n.relationships.some((t=>t.id===r))||(a=Mi(t,s[e],i),0))))?(o=await a,o.relationshipId=r):o.labelFormat=xi(n.popupTemplate.fieldInfos)}}else"fields"===a?(o.labelFormat=xi(n.popupTemplate.fieldInfos),0===o.labelFormat.format.length&&(o.labelFormat=n.popupTemplate.title&&"string"==typeof n.popupTemplate.title?{type:"pattern",format:n.popupTemplate.title}:xi(n.popupTemplate.fieldInfos,!0))):o.labelFormat="text"===a?{type:"pattern",format:Si(n.popupTemplate.content[0].text)}:"expression"===a?await async function(t){const[n]=await r(["esri/arcade"]),i=await n.createArcadeExecutor(t.expression,{variables:[{name:"$feature",type:"feature"},{name:"$layer",type:"featureSet"},{name:"$datastore",type:"featureSetCollection"},{name:"$map",type:"featureSetCollection"}]});return Promise.resolve({type:"executor",format:i})}(n.popupTemplate.content[0].expressionInfo):xi(n.popupTemplate.fieldInfos)}return Promise.resolve(o)}function Ei(t,n=/.+/){let i=[];return Object.keys(t).forEach((r=>{const e=t[r];n.test(r)&&(i=i.concat(e.selectionSetNames))})),i}function Pi(t,n,i,r,e){if(null==t)return"";if(i&&"coded-value"===i.type)return i.getName(t).toString();{let i=t;switch(n){case"date":if(null==r?void 0:r.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatDate(i,t)}else i=e.formatDate(i);i=i.replace(/\xe2\x80\xaf/g,"");break;case"date-only":if(null==r?void 0:r.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatDateOnly(i,t)}else i=e.formatDateOnly(i);break;case"time-only":if(null==r?void 0:r.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatTimeOnly(i,t)}else i=e.formatTimeOnly(i);break;case"double":case"integer":case"long":case"small-integer":if(r){const t=e.convertNumberFormatToIntlOptions(r);i=e.formatNumber(i,t)}else i=e.formatNumber(i)}return i}}export{h as _,yi as a,gi as c,Ai as d,ki as r}
|
@@ -3,27 +3,27 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{h as t,r as i,c as e,H as s,g as n}from"./p-78780f63.js";import{f as o}from"./p-25dd768d.js";import{A as a,B as l,i as c,t as r,g as h,d,e as p}from"./p-ca97465b.js";import{d as m,f as u,c as b,r as g,a as f,F as v}from"./p-0511c98c.js";import{s as
|
6
|
+
import{h as t,r as i,c as e,H as s,g as n}from"./p-78780f63.js";import{f as o}from"./p-25dd768d.js";import{A as a,B as l,i as c,t as r,g as h,d,e as p}from"./p-ca97465b.js";import{d as m,f as u,c as b,r as g,a as f,F as v}from"./p-0511c98c.js";import{s as w,c as x,a as y,d as k,H as C}from"./p-cfccae7c.js";import{g as z}from"./p-fcefdfff.js";import{c as I,u as D,d as E}from"./p-0c97de08.js";import{c as H,d as $,g as S}from"./p-722ae773.js";import{b as j,c as A,s as O,a as P}from"./p-f10944e6.js";import{c as L,d as _}from"./p-ede84883.js";import{c as F}from"./p-5b566d55.js";import{o as M}from"./p-653af7e0.js";import{c as B,s as R,d as W,u as T}from"./p-79ba73cb.js";import{i as V,h as G,C as q,b as U,c as N,d as K,e as X,f as Y,g as J,a as Q}from"./p-f9eb2f2d.js";import{g as Z}from"./p-0c07ad8a.js";import{d as tt}from"./p-a82f35c9.js";import{c as it,d as et}from"./p-1be63b50.js";import{i as st}from"./p-1e2ffee3.js";import{g as nt}from"./p-6b943f52.js";import{n as ot,o as at}from"./p-b5d1b979.js";import{s as lt}from"./p-8684a905.js";import"./p-29d68474.js";import"./p-c92fff33.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-4af32c75.js";import"./p-225c4ca4.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
10
|
* v2.0.0
|
11
|
-
*/const ct="x-button";function rt({disabled:i,key:e,label:s,onClick:n,ref:o,scale:a}){return t("button",{"aria-label":s,class:ct,disabled:i,key:e,onClick:n,tabIndex:-1,type:"button",ref:o},t("calcite-icon",{icon:"x",scale:Z(a)}))}const ht="combobox-item-",dt="combobox-chip-",pt="combobox-label-",mt="combobox-listbox-",ut="combobox-input-",bt=class{constructor(t){i(this,t),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=m,this.internalValueChangeFlag=!1,this.textInput=null,this.mutationObserver=F("mutation",(()=>this.updateItems())),this.resizeObserver=F("resize",(()=>{this.setMaxScrollerHeight(),this.refreshSelectionDisplay()})),this.guid=z(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?u(i,t):null},this.getValue=()=>{const t=this.selectedItems.map((t=>{var i;return null===(i=null==t?void 0:t.value)||void 0===i?void 0:i.toString()}));return(null==t?void 0:t.length)?t.length>1?t:t[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keyDownHandler=t=>{const{key:i}=t;switch(i){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):this.open?(this.open=!1,t.preventDefault()):!this.allowCustomValues&&this.text&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1));break;case"ArrowLeft":this.previousChip(),t.preventDefault();break;case"ArrowRight":this.nextChip(),t.preventDefault();break;case"ArrowUp":t.preventDefault(),this.open&&this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":t.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)),t.preventDefault());break;case"Home":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;t.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,t.preventDefault();break;case"Enter":this.activeItemIndex>-1?(this.toggleSelection(this.filteredItems[this.activeItemIndex]),t.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),t.preventDefault()):this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):t.defaultPrevented||x(this)&&t.preventDefault();break;case"Delete":case"Backspace":this.activeChipIndex>-1?(t.preventDefault(),this.removeActiveChip()):!this.text&&this.isMulti()&&(t.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:t,open:i,referenceEl:e}=this;if(!t||!i)return;await this.reposition(!0);const s=this.getMaxScrollerHeight();t.style.maxHeight=s>0?`${s}px`:"",t.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipCloseHandler=t=>{this.open=!1;const i=this.items.find((i=>i===t));i&&this.toggleSelection(i,!1),this.calciteComboboxChipClose.emit()},this.clickHandler=t=>{const i=t.composedPath();return i.some((t=>"CALCITE-CHIP"===t.tagName))?(this.open=!1,void t.preventDefault()):i.some((t=>{var i;return null===(i=t.classList)||void 0===i?void 0:i.contains(ct)}))?(this.clearValue(),void t.preventDefault()):(this.open=!this.open,void this.ensureRecentSelectedItemIsActive())},this.refreshSelectionDisplay=async()=>{if(await j(this),V(this.selectionMode))return;if(!this.textInput)return;const{allSelectedIndicatorChipEl:t,chipContainerEl:i,selectionDisplay:e,placeholder:s,selectedIndicatorChipEl:n,textInput:o}=this,c=parseInt(getComputedStyle(i).gap.replace("px","")),r=a(i),{fontSize:h,fontFamily:d}=getComputedStyle(o),p=(l(s,`${h} ${d}`)||parseInt("48px"))+c,m=a(t),u=a(n),b=Math.max(m,u);if(this.setCompactSelectionDisplay({chipContainerElGap:c,chipContainerElWidth:r,inputWidth:p,largestSelectedIndicatorChipWidth:b}),"fit"===e){const t=Array.from(this.el.shadowRoot.querySelectorAll("calcite-chip")).filter((t=>t.closable)),i=Math.round(r-((this.selectedHiddenChipsCount>0?u:0)+c+p+c));this.refreshChipDisplay({availableHorizontalChipElSpace:i,chipContainerElGap:c,chipEls:t}),this.setVisibleAndHiddenChips(t)}},this.setFloatingEl=t=>{this.floatingEl=t,b(this,this.referenceEl,this.floatingEl)},this.setContainerEl=t=>{this.resizeObserver.observe(t),this.listContainerEl=t,this.transitionEl=t},this.setChipContainerEl=t=>{this.resizeObserver.observe(t),this.chipContainerEl=t},this.setReferenceEl=t=>{this.referenceEl=t,b(this,this.referenceEl,this.floatingEl)},this.setAllSelectedIndicatorChipEl=t=>{this.allSelectedIndicatorChipEl=t},this.setSelectedIndicatorChipEl=t=>{this.selectedIndicatorChipEl=t},this.inputHandler=t=>{const i=t.target.value;this.text=i,this.filterItems(i),i&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const t=(t,i)=>t&&i.some((({label:i,value:e})=>t.tagName===Y?i===t.label:e===t.value&&i===t.textLabel));return tt((i=>{const e=o(this.data,i);this.getItemsAndGroups().forEach((i=>{const s=!t(i,e);i.hidden=s;const[n,o]=i.ancestors;(t(n,e)||t(o,e))&&(i.hidden=!1),s||i.ancestors.forEach((t=>t.hidden=!1))})),this.filteredItems=this.getFilteredItems(),this.calciteComboboxFilterChange.emit()}),100)})(),this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()},this.emitComboboxChange=tt(this.internalComboboxChangeEvent,0),this.getSelectedItems=()=>{if(!this.isMulti()){const t=this.items.find((({selected:t})=>t));return t?[t]:[]}return this.items.filter((t=>t.selected&&("ancestors"!==this.selectionMode||!G(t)))).sort(((t,i)=>{const e=this.selectedItems.indexOf(t),s=this.selectedItems.indexOf(i);return e>-1&&s>-1?e-s:s-e}))},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((t=>{t.selectionMode=this.selectionMode,t.scale=this.scale})),this.allowCustomValues||this.setMaxScrollerHeight(),this.groupItems.forEach(((t,i,e)=>{0===i&&(t.afterEmptyGroup=!1);const s=e[i+1];s&&(s.afterEmptyGroup=0===t.children.length)}))},this.scrollToActiveItem=()=>{const t=this.filteredItems[this.activeItemIndex];if(!t)return;const i=this.calculateSingleItemHeight(t),{offsetHeight:e,scrollTop:s}=this.listContainerEl;e+s<t.offsetTop+i?this.listContainerEl.scrollTop=t.offsetTop-e+i:t.offsetTop<s&&(this.listContainerEl.scrollTop=t.offsetTop)},this.comboboxFocusHandler=()=>{var t;this.disabled||null===(t=this.textInput)||void 0===t||t.focus()},this.clearDisabled=!1,this.selectionDisplay="all",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.status="idle",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.compactSelectionDisplay=!1,this.selectedHiddenChipsCount=0,this.selectedVisibleChipsCount=0,this.text="",this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){M(this),this.disabled?this.open=!1:this.setMaxScrollerHeight()}handleDisabledChange(t){t||(this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems()}valueHandler(t){if(!this.internalValueChangeFlag){const i=this.getItems();Array.isArray(t)?i.forEach((i=>i.selected=t.includes(i.value))):i.forEach(t?i=>i.selected=t===i.value:t=>t.selected=!1),this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}documentClickHandler(t){if(this.disabled||!c(t))return;const i=t.composedPath();i.includes(this.el)||i.includes(this.referenceEl)||(!this.allowCustomValues&&this.textInput.value&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1)),this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),this.open=!1)}calciteComboboxItemChangeHandler(t){if(this.ignoreSelectedEventsFlag)return;const i=t.target,e=this.filteredItems.indexOf(i);this.updateActiveItemIndex(e),this.toggleSelection(i,i.selected)}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:n,filteredFlipPlacements:o}=this;return g(this,{floatingEl:i,referenceEl:e,overlayPositioning:n,placement:s,flipPlacements:o,type:"menu"},t)}async setFocus(){var t;await A(this),null===(t=this.textInput)||void 0===t||t.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var t;I(this),L(this),R(this),H(this),w(this),this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.updateItems(),this.setFilteredPlacements(),this.reposition(!0),this.open&&(this.openHandler(),M(this)),b(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){P(this),this.updateItems(),await W(this)}componentDidLoad(){y(this,this.getValue()),this.reposition(!0),O(this)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),D(this)}componentDidUpdate(){this.refreshSelectionDisplay()}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),E(this),$(this),k(this),f(this,this.referenceEl,this.floatingEl),_(this),T(this)}textHandler(){this.updateActiveItemIndex(-1)}effectiveLocaleChange(){B(this,this.effectiveLocale)}clearValue(){this.ignoreSelectedEventsFlag=!0,this.items.forEach((t=>t.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 t=this.el.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.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:t}=this,i=0===t.length?0:this.items.indexOf(t[t.length-1]);this.updateActiveItemIndex(i)}hideChip(t){t.classList.add(q.chipInvisible)}showChip(t){t.classList.remove(q.chipInvisible)}refreshChipDisplay({chipEls:t,availableHorizontalChipElSpace:i,chipContainerElGap:e}){t.forEach((t=>{if(t.selected){const s=a(t);if(s&&s<i)return i-=s+e,void this.showChip(t)}else this.hideChip(t);this.hideChip(t)}))}setCompactSelectionDisplay({chipContainerElGap:t,chipContainerElWidth:i,inputWidth:e,largestSelectedIndicatorChipWidth:s}){const n=Math.round(s+t+e);(!this.maxCompactBreakpoint||this.maxCompactBreakpoint<n)&&(this.maxCompactBreakpoint=n),this.compactSelectionDisplay=i<this.maxCompactBreakpoint}setVisibleAndHiddenChips(t){let i=0;t.forEach((t=>{t.selected&&!t.classList.contains(q.chipInvisible)&&i++})),i!==this.selectedVisibleChipsCount&&(this.selectedVisibleChipsCount=i);const e=this.getSelectedItems().length-i;e!==this.selectedHiddenChipsCount&&(this.selectedHiddenChipsCount=e)}getMaxScrollerHeight(){const t=this.getItemsAndGroups().filter((t=>!t.hidden)),{maxItems:i}=this;let e=0,s=0;return t.length>i&&t.forEach((t=>{if(e<i&&i>0){const i=this.calculateSingleItemHeight(t);i>0&&(s+=i,e++)}})),s}calculateSingleItemHeight(t){if(!t)return;let i=t.offsetHeight;return Array.from(t.querySelectorAll(U)).map((t=>null==t?void 0:t.offsetHeight)).forEach((t=>{i-=t})),i}getItemsAndGroups(){return[...this.groupItems,...this.items]}toggleSelection(t,i=!t.selected){!t||"single-persist"===this.selectionMode&&t.selected&&t.value===this.value||(this.isMulti()?(t.selected=i,this.updateAncestors(t),this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===t&&i)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=t.textLabel),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(t){if("ancestors"!==this.selectionMode)return;const i=N(t),e=K(t);t.selected?i.forEach((t=>{t.selected=!0})):(e.forEach((t=>t.selected=!1)),[...i].forEach((t=>{G(t)||(t.selected=!1)})))}getFilteredItems(){return this.items.filter((t=>!t.hidden))}getData(){return this.items.map((t=>({filterDisabled:t.filterDisabled,value:t.value,label:t.textLabel})))}getNeedsIcon(){return V(this.selectionMode)&&this.items.some((t=>t.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll(X)).filter((t=>!t.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(Y))}addCustomChip(t,i){const e=this.items.find((i=>i.textLabel===t));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement(X);e.value=t,e.textLabel=t,e.selected=!0,this.el.appendChild(e),this.resetText(),i&&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 t=this.activeChipIndex;this.activeChipIndex=-1===t?this.selectedItems.length-1:Math.max(t-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const t=this.activeChipIndex+1;t>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=t,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var t;const i=null===(t=this.selectedItems[this.activeChipIndex])||void 0===t?void 0:t.guid,e=i?this.referenceEl.querySelector(`#${dt}${i}`):null;null==e||e.setFocus()}shiftActiveItemIndex(t){const{length:i}=this.filteredItems;this.updateActiveItemIndex((this.activeItemIndex+i+t)%i),this.scrollToActiveItem()}updateActiveItemIndex(t){this.activeItemIndex=t;let i=null;this.filteredItems.forEach(((e,s)=>{s===t?(e.active=!0,i=`${ht}${e.guid}`):e.active=!1})),this.activeDescendant=i,this.activeItemIndex>-1&&(this.activeChipIndex=-1)}isAllSelected(){return this.getItems().length===this.getSelectedItems().length}isMulti(){return!V(this.selectionMode)}renderChips(){const{activeChipIndex:i,scale:e,selectionMode:s,messages:n}=this;return this.selectedItems.map(((o,a)=>{const l={chip:!0,"chip--active":i===a},c=[...[...N(o)].reverse(),o].map((t=>t.textLabel)),r="ancestors"!==s?o.textLabel:c.join(" / ");return t("calcite-chip",{class:l,closable:!0,icon:o.icon,iconFlipRtl:o.iconFlipRtl,id:o.guid?`${dt}${o.guid}`:null,key:o.textLabel,messageOverrides:{dismissLabel:n.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(o),scale:e,selected:o.selected,title:r,value:o.value},r)}))}renderAllSelectedIndicatorChip(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s,setAllSelectedIndicatorChipEl:n}=this,o=this.messages.allSelected;return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:!(this.isAllSelected()&&!s&&!i)},scale:e,title:o,value:"",ref:n},o)}renderAllSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s}=this,n=this.messages.all||"All";return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:!(this.isAllSelected()&&!s&&i)},scale:e,title:n,value:""},n)}renderSelectedIndicatorChip(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:n,selectedHiddenChipsCount:o,selectedVisibleChipsCount:a,setSelectedIndicatorChipEl:l}=this;let c,r;if(i)c=!0;else if("single"===e){const t=s().length;c=!(!this.isAllSelected()&&t>0),r=`${t} ${this.messages.selected}`}else"fit"===e&&(c=!!(this.isAllSelected()&&0===a||0===o),r=a>0?`+${o}`:`${o} ${this.messages.selected}`);return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:c},scale:n,title:r,value:"",ref:l},r)}renderSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:n,selectedHiddenChipsCount:o}=this;let a,l;if(i){const t=s().length;this.isAllSelected()?a=!0:"fit"===e?(a=!(o>0),l=`${o||0}`):"single"===e&&(a=!(t>0),l=`${t}`)}else a=!0;return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:a},scale:n,title:l,value:""},l)}renderInput(){const{guid:i,disabled:e,placeholder:s,selectionMode:n,selectedItems:o,open:a}=this,l=V(n),c=o[0],r=!a&&l&&!!c;return t("span",{class:{"input-wrap":!0,"input-wrap--single":l}},r&&t("span",{class:{label:!0,"label--icon":!!(null==c?void 0:c.icon)},key:"label"},c.textLabel),t("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${mt}${i}`,"aria-label":S(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":r,"input--icon":!!this.placeholderIcon},disabled:e,id:`${ut}${i}`,key:"input",onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:s,type:"text",ref:t=>this.textInput=t}))}renderListBoxOptions(){return this.filteredItems.map((i=>t("li",{"aria-selected":r(i.selected),id:i.guid?`${ht}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:i,setContainerEl:e,open:s}=this;return t("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":s},ref:i},t("div",{class:{[q.listContainer]:!0,[v.animation]:!0,[v.animationActive]:s},ref:e},t("ul",{class:{list:!0,"list--hide":!s}},t("slot",null))))}renderIconStart(){const{selectedItems:i,placeholderIcon:e,selectionMode:s,placeholderIconFlipRtl:n}=this,o=i[0],a=null==o?void 0:o.icon,l=V(s);return(!this.open&&o?!!a&&l:!!this.placeholderIcon&&(!o||l))&&t("span",{class:"icon-start"},t("calcite-icon",{class:"selected-icon",flipRtl:this.open&&o?o.iconFlipRtl:n,icon:!this.open&&o?a:e,scale:Z(this.scale)}))}renderIconEnd(){const{open:i}=this;return t("span",{class:"icon-end"},t("calcite-icon",{icon:i?"chevron-up":"chevron-down",scale:Z(this.scale)}))}render(){var i;const{selectionDisplay:e,guid:n,label:o,open:a}=this,l=V(this.selectionMode),c="all"===e,h="single"===e,d=!l&&"fit"===e,p=!this.clearDisabled&&(null===(i=this.value)||void 0===i?void 0:i.length)>0;return t(s,{onClick:this.comboboxFocusHandler},t("div",{"aria-autocomplete":"list","aria-controls":`${mt}${n}`,"aria-expanded":r(a),"aria-haspopup":"listbox","aria-label":S(this),"aria-live":"polite","aria-owns":`${mt}${n}`,class:{wrapper:!0,"wrapper--single":l||!this.selectedItems.length,"wrapper--active":a},onClick:this.clickHandler,onKeyDown:this.keyDownHandler,role:"combobox",ref:this.setReferenceEl},t("div",{class:{"grid-input":!0,[q.selectionDisplayFit]:d,[q.selectionDisplaySingle]:h},ref:this.setChipContainerEl},this.renderIconStart(),!l&&!h&&this.renderChips(),!l&&!c&&[this.renderSelectedIndicatorChip(),this.renderSelectedIndicatorChipCompact(),this.renderAllSelectedIndicatorChip(),this.renderAllSelectedIndicatorChipCompact()],t("label",{class:"screen-readers-only",htmlFor:`${ut}${n}`,id:`${pt}${n}`},o),this.renderInput()),p?t(rt,{disabled:this.disabled,key:"close-button",label:this.messages.clear,scale:this.scale}):null,this.renderIconEnd()),t("ul",{"aria-labelledby":`${pt}${n}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${mt}${n}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),t(C,{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"]}}};bt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display: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-color-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-color-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-color-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: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-color-border-input);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-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-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([status=invalid]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\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{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;gap:var(--calcite-combobox-item-spacing-unit-s)}.grid-input.selection-display-fit,.grid-input.selection-display-single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-combobox-item-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:-moz-placeholder-shown{text-overflow:ellipsis}.input:placeholder-shown{text-overflow:ellipsis}.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-s)}:host([scale=m]) .input--icon,:host([scale=l]) .input--icon{padding-inline:0.25rem}.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;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-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-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-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}calcite-chip{--calcite-animation-timing:0}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);max-inline-size:100%}.chip--active{background-color:var(--calcite-color-foreground-3)}.chip--invisible{visibility:hidden;position:absolute}.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)}";
|
11
|
+
*/const ct="x-button";function rt({disabled:i,key:e,label:s,onClick:n,ref:o,scale:a}){return t("button",{"aria-label":s,class:ct,disabled:i,key:e,onClick:n,tabIndex:-1,type:"button",ref:o},t("calcite-icon",{icon:"x",scale:Z(a)}))}const ht="combobox-item-",dt="combobox-chip-",pt="combobox-label-",mt="combobox-listbox-",ut="combobox-input-",bt=class{constructor(t){i(this,t),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=m,this.internalValueChangeFlag=!1,this.textInput=null,this.mutationObserver=F("mutation",(()=>this.updateItems())),this.resizeObserver=F("resize",(()=>{this.setMaxScrollerHeight(),this.refreshSelectionDisplay()})),this.guid=z(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?u(i,t):null},this.getValue=()=>{const t=this.selectedItems.map((t=>{var i;return null===(i=null==t?void 0:t.value)||void 0===i?void 0:i.toString()}));return(null==t?void 0:t.length)?t.length>1?t:t[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keyDownHandler=t=>{const{key:i}=t;switch(i){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):this.open?(this.open=!1,t.preventDefault()):!this.allowCustomValues&&this.text&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1));break;case"ArrowLeft":this.previousChip(),t.preventDefault();break;case"ArrowRight":this.nextChip(),t.preventDefault();break;case"ArrowUp":t.preventDefault(),this.open&&this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":t.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)),t.preventDefault());break;case"Home":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;t.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,t.preventDefault();break;case"Enter":this.activeItemIndex>-1?(this.toggleSelection(this.filteredItems[this.activeItemIndex]),t.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),t.preventDefault()):this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):t.defaultPrevented||w(this)&&t.preventDefault();break;case"Delete":case"Backspace":this.activeChipIndex>-1?(t.preventDefault(),this.removeActiveChip()):!this.text&&this.isMulti()&&(t.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:t,open:i,referenceEl:e}=this;if(!t||!i)return;await this.reposition(!0);const s=this.getMaxScrollerHeight();t.style.maxHeight=s>0?`${s}px`:"",t.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipCloseHandler=t=>{this.open=!1;const i=this.items.find((i=>i===t));i&&this.toggleSelection(i,!1),this.calciteComboboxChipClose.emit()},this.clickHandler=t=>{const i=t.composedPath();return i.some((t=>"CALCITE-CHIP"===t.tagName))?(this.open=!1,void t.preventDefault()):i.some((t=>{var i;return null===(i=t.classList)||void 0===i?void 0:i.contains(ct)}))?(this.clearValue(),void t.preventDefault()):(this.open=!this.open,void this.ensureRecentSelectedItemIsActive())},this.refreshSelectionDisplay=async()=>{if(await j(this),V(this.selectionMode))return;if(!this.textInput)return;const{allSelectedIndicatorChipEl:t,chipContainerEl:i,selectionDisplay:e,placeholder:s,selectedIndicatorChipEl:n,textInput:o}=this,c=parseInt(getComputedStyle(i).gap.replace("px","")),r=a(i),{fontSize:h,fontFamily:d}=getComputedStyle(o),p=(l(s,`${h} ${d}`)||parseInt("48px"))+c,m=a(t),u=a(n),b=Math.max(m,u);if(this.setCompactSelectionDisplay({chipContainerElGap:c,chipContainerElWidth:r,inputWidth:p,largestSelectedIndicatorChipWidth:b}),"fit"===e){const t=Array.from(this.el.shadowRoot.querySelectorAll("calcite-chip")).filter((t=>t.closable)),i=Math.round(r-((this.selectedHiddenChipsCount>0?u:0)+c+p+c));this.refreshChipDisplay({availableHorizontalChipElSpace:i,chipContainerElGap:c,chipEls:t}),this.setVisibleAndHiddenChips(t)}},this.setFloatingEl=t=>{this.floatingEl=t,b(this,this.referenceEl,this.floatingEl)},this.setContainerEl=t=>{this.resizeObserver.observe(t),this.listContainerEl=t,this.transitionEl=t},this.setChipContainerEl=t=>{this.resizeObserver.observe(t),this.chipContainerEl=t},this.setReferenceEl=t=>{this.referenceEl=t,b(this,this.referenceEl,this.floatingEl)},this.setAllSelectedIndicatorChipEl=t=>{this.allSelectedIndicatorChipEl=t},this.setSelectedIndicatorChipEl=t=>{this.selectedIndicatorChipEl=t},this.inputHandler=t=>{const i=t.target.value;this.text=i,this.filterItems(i),i&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const t=(t,i)=>t&&i.some((({label:i,value:e})=>t.tagName===Y?i===t.label:e===t.value&&i===t.textLabel));return tt((i=>{const e=o(this.data,i);this.getItemsAndGroups().forEach((i=>{const s=!t(i,e);i.hidden=s;const[n,o]=i.ancestors;(t(n,e)||t(o,e))&&(i.hidden=!1),s||i.ancestors.forEach((t=>t.hidden=!1))})),this.filteredItems=this.getFilteredItems(),this.calciteComboboxFilterChange.emit()}),100)})(),this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()},this.emitComboboxChange=tt(this.internalComboboxChangeEvent,0),this.getSelectedItems=()=>{if(!this.isMulti()){const t=this.items.find((({selected:t})=>t));return t?[t]:[]}return this.items.filter((t=>t.selected&&("ancestors"!==this.selectionMode||!G(t)))).sort(((t,i)=>{const e=this.selectedItems.indexOf(t),s=this.selectedItems.indexOf(i);return e>-1&&s>-1?e-s:s-e}))},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((t=>{t.selectionMode=this.selectionMode,t.scale=this.scale})),this.allowCustomValues||this.setMaxScrollerHeight(),this.groupItems.forEach(((t,i,e)=>{0===i&&(t.afterEmptyGroup=!1);const s=e[i+1];s&&(s.afterEmptyGroup=0===t.children.length)}))},this.scrollToActiveItem=()=>{const t=this.filteredItems[this.activeItemIndex];if(!t)return;const i=this.calculateSingleItemHeight(t),{offsetHeight:e,scrollTop:s}=this.listContainerEl;e+s<t.offsetTop+i?this.listContainerEl.scrollTop=t.offsetTop-e+i:t.offsetTop<s&&(this.listContainerEl.scrollTop=t.offsetTop)},this.comboboxFocusHandler=()=>{var t;this.disabled||null===(t=this.textInput)||void 0===t||t.focus()},this.clearDisabled=!1,this.selectionDisplay="all",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.status="idle",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.compactSelectionDisplay=!1,this.selectedHiddenChipsCount=0,this.selectedVisibleChipsCount=0,this.text="",this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){M(this),this.disabled?this.open=!1:this.setMaxScrollerHeight()}handleDisabledChange(t){t||(this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems()}valueHandler(t){if(!this.internalValueChangeFlag){const i=this.getItems();Array.isArray(t)?i.forEach((i=>i.selected=t.includes(i.value))):i.forEach(t?i=>i.selected=t===i.value:t=>t.selected=!1),this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}documentClickHandler(t){if(this.disabled||!c(t))return;const i=t.composedPath();i.includes(this.el)||i.includes(this.referenceEl)||(!this.allowCustomValues&&this.textInput.value&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1)),this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),this.open=!1)}calciteComboboxItemChangeHandler(t){if(this.ignoreSelectedEventsFlag)return;const i=t.target,e=this.filteredItems.indexOf(i);this.updateActiveItemIndex(e),this.toggleSelection(i,i.selected)}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:n,filteredFlipPlacements:o}=this;return g(this,{floatingEl:i,referenceEl:e,overlayPositioning:n,placement:s,flipPlacements:o,type:"menu"},t)}async setFocus(){var t;await A(this),null===(t=this.textInput)||void 0===t||t.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var t;I(this),L(this),B(this),H(this),x(this),this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.updateItems(),this.setFilteredPlacements(),this.reposition(!0),this.open&&(this.openHandler(),M(this)),b(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){O(this),this.updateItems(),await R(this)}componentDidLoad(){y(this,this.getValue()),this.reposition(!0),P(this)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),D(this)}componentDidUpdate(){this.refreshSelectionDisplay()}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),E(this),$(this),k(this),f(this,this.referenceEl,this.floatingEl),_(this),W(this)}textHandler(){this.updateActiveItemIndex(-1)}effectiveLocaleChange(){T(this,this.effectiveLocale)}clearValue(){this.ignoreSelectedEventsFlag=!0,this.items.forEach((t=>t.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 t=this.el.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.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:t}=this,i=0===t.length?0:this.items.indexOf(t[t.length-1]);this.updateActiveItemIndex(i)}hideChip(t){t.classList.add(q.chipInvisible)}showChip(t){t.classList.remove(q.chipInvisible)}refreshChipDisplay({chipEls:t,availableHorizontalChipElSpace:i,chipContainerElGap:e}){t.forEach((t=>{if(t.selected){const s=a(t);if(s&&s<i)return i-=s+e,void this.showChip(t)}else this.hideChip(t);this.hideChip(t)}))}setCompactSelectionDisplay({chipContainerElGap:t,chipContainerElWidth:i,inputWidth:e,largestSelectedIndicatorChipWidth:s}){const n=Math.round(s+t+e);(!this.maxCompactBreakpoint||this.maxCompactBreakpoint<n)&&(this.maxCompactBreakpoint=n),this.compactSelectionDisplay=i<this.maxCompactBreakpoint}setVisibleAndHiddenChips(t){let i=0;t.forEach((t=>{t.selected&&!t.classList.contains(q.chipInvisible)&&i++})),i!==this.selectedVisibleChipsCount&&(this.selectedVisibleChipsCount=i);const e=this.getSelectedItems().length-i;e!==this.selectedHiddenChipsCount&&(this.selectedHiddenChipsCount=e)}getMaxScrollerHeight(){const t=this.getItemsAndGroups().filter((t=>!t.hidden)),{maxItems:i}=this;let e=0,s=0;return t.length>i&&t.forEach((t=>{if(e<i&&i>0){const i=this.calculateSingleItemHeight(t);i>0&&(s+=i,e++)}})),s}calculateSingleItemHeight(t){if(!t)return;let i=t.offsetHeight;return Array.from(t.querySelectorAll(U)).map((t=>null==t?void 0:t.offsetHeight)).forEach((t=>{i-=t})),i}getItemsAndGroups(){return[...this.groupItems,...this.items]}toggleSelection(t,i=!t.selected){!t||"single-persist"===this.selectionMode&&t.selected&&t.value===this.value||(this.isMulti()?(t.selected=i,this.updateAncestors(t),this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===t&&i)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=t.textLabel),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(t){if("ancestors"!==this.selectionMode)return;const i=N(t),e=K(t);t.selected?i.forEach((t=>{t.selected=!0})):(e.forEach((t=>t.selected=!1)),[...i].forEach((t=>{G(t)||(t.selected=!1)})))}getFilteredItems(){return this.items.filter((t=>!t.hidden))}getData(){return this.items.map((t=>({filterDisabled:t.filterDisabled,value:t.value,label:t.textLabel})))}getNeedsIcon(){return V(this.selectionMode)&&this.items.some((t=>t.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll(X)).filter((t=>!t.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(Y))}addCustomChip(t,i){const e=this.items.find((i=>i.textLabel===t));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement(X);e.value=t,e.textLabel=t,e.selected=!0,this.el.appendChild(e),this.resetText(),i&&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 t=this.activeChipIndex;this.activeChipIndex=-1===t?this.selectedItems.length-1:Math.max(t-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const t=this.activeChipIndex+1;t>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=t,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var t;const i=null===(t=this.selectedItems[this.activeChipIndex])||void 0===t?void 0:t.guid,e=i?this.referenceEl.querySelector(`#${dt}${i}`):null;null==e||e.setFocus()}shiftActiveItemIndex(t){const{length:i}=this.filteredItems;this.updateActiveItemIndex((this.activeItemIndex+i+t)%i),this.scrollToActiveItem()}updateActiveItemIndex(t){this.activeItemIndex=t;let i=null;this.filteredItems.forEach(((e,s)=>{s===t?(e.active=!0,i=`${ht}${e.guid}`):e.active=!1})),this.activeDescendant=i,this.activeItemIndex>-1&&(this.activeChipIndex=-1)}isAllSelected(){return this.getItems().length===this.getSelectedItems().length}isMulti(){return!V(this.selectionMode)}renderChips(){const{activeChipIndex:i,scale:e,selectionMode:s,messages:n}=this;return this.selectedItems.map(((o,a)=>{const l={chip:!0,"chip--active":i===a},c=[...[...N(o)].reverse(),o].map((t=>t.textLabel)),r="ancestors"!==s?o.textLabel:c.join(" / ");return t("calcite-chip",{class:l,closable:!0,icon:o.icon,iconFlipRtl:o.iconFlipRtl,id:o.guid?`${dt}${o.guid}`:null,key:o.textLabel,messageOverrides:{dismissLabel:n.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(o),scale:e,selected:o.selected,title:r,value:o.value},r)}))}renderAllSelectedIndicatorChip(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s,setAllSelectedIndicatorChipEl:n}=this,o=this.messages.allSelected;return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:!(this.isAllSelected()&&!s&&!i)},scale:e,title:o,value:"",ref:n},o)}renderAllSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s}=this,n=this.messages.all||"All";return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:!(this.isAllSelected()&&!s&&i)},scale:e,title:n,value:""},n)}renderSelectedIndicatorChip(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:n,selectedHiddenChipsCount:o,selectedVisibleChipsCount:a,setSelectedIndicatorChipEl:l}=this;let c,r;if(i)c=!0;else if("single"===e){const t=s().length;c=!(!this.isAllSelected()&&t>0),r=`${t} ${this.messages.selected}`}else"fit"===e&&(c=!!(this.isAllSelected()&&0===a||0===o),r=a>0?`+${o}`:`${o} ${this.messages.selected}`);return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:c},scale:n,title:r,value:"",ref:l},r)}renderSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:n,selectedHiddenChipsCount:o}=this;let a,l;if(i){const t=s().length;this.isAllSelected()?a=!0:"fit"===e?(a=!(o>0),l=`${o||0}`):"single"===e&&(a=!(t>0),l=`${t}`)}else a=!0;return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:a},scale:n,title:l,value:""},l)}renderInput(){const{guid:i,disabled:e,placeholder:s,selectionMode:n,selectedItems:o,open:a}=this,l=V(n),c=o[0],r=!a&&l&&!!c;return t("span",{class:{"input-wrap":!0,"input-wrap--single":l}},r&&t("span",{class:{label:!0,"label--icon":!!(null==c?void 0:c.icon)},key:"label"},c.textLabel),t("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${mt}${i}`,"aria-label":S(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":r,"input--icon":!!this.placeholderIcon},disabled:e,id:`${ut}${i}`,key:"input",onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:s,type:"text",ref:t=>this.textInput=t}))}renderListBoxOptions(){return this.filteredItems.map((i=>t("li",{"aria-selected":r(i.selected),id:i.guid?`${ht}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:i,setContainerEl:e,open:s}=this;return t("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":s},ref:i},t("div",{class:{[q.listContainer]:!0,[v.animation]:!0,[v.animationActive]:s},ref:e},t("ul",{class:{list:!0,"list--hide":!s}},t("slot",null))))}renderIconStart(){const{selectedItems:i,placeholderIcon:e,selectionMode:s,placeholderIconFlipRtl:n}=this,o=i[0],a=null==o?void 0:o.icon,l=V(s);return(!this.open&&o?!!a&&l:!!this.placeholderIcon&&(!o||l))&&t("span",{class:"icon-start"},t("calcite-icon",{class:"selected-icon",flipRtl:this.open&&o?o.iconFlipRtl:n,icon:!this.open&&o?a:e,scale:Z(this.scale)}))}renderIconEnd(){const{open:i}=this;return t("span",{class:"icon-end"},t("calcite-icon",{icon:i?"chevron-up":"chevron-down",scale:Z(this.scale)}))}render(){var i;const{selectionDisplay:e,guid:n,label:o,open:a}=this,l=V(this.selectionMode),c="all"===e,h="single"===e,d=!l&&"fit"===e,p=!this.clearDisabled&&(null===(i=this.value)||void 0===i?void 0:i.length)>0;return t(s,{onClick:this.comboboxFocusHandler},t("div",{"aria-autocomplete":"list","aria-controls":`${mt}${n}`,"aria-expanded":r(a),"aria-haspopup":"listbox","aria-label":S(this),"aria-live":"polite","aria-owns":`${mt}${n}`,class:{wrapper:!0,"wrapper--single":l||!this.selectedItems.length,"wrapper--active":a},onClick:this.clickHandler,onKeyDown:this.keyDownHandler,role:"combobox",ref:this.setReferenceEl},t("div",{class:{"grid-input":!0,[q.selectionDisplayFit]:d,[q.selectionDisplaySingle]:h},ref:this.setChipContainerEl},this.renderIconStart(),!l&&!h&&this.renderChips(),!l&&!c&&[this.renderSelectedIndicatorChip(),this.renderSelectedIndicatorChipCompact(),this.renderAllSelectedIndicatorChip(),this.renderAllSelectedIndicatorChipCompact()],t("label",{class:"screen-readers-only",htmlFor:`${ut}${n}`,id:`${pt}${n}`},o),this.renderInput()),p?t(rt,{disabled:this.disabled,key:"close-button",label:this.messages.clear,scale:this.scale}):null,this.renderIconEnd()),t("ul",{"aria-labelledby":`${pt}${n}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${mt}${n}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),t(C,{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"]}}};bt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display: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-color-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-color-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-color-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: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-color-border-input);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-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-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([status=invalid]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\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{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;gap:var(--calcite-combobox-item-spacing-unit-s)}.grid-input.selection-display-fit,.grid-input.selection-display-single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-combobox-item-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:-moz-placeholder-shown{text-overflow:ellipsis}.input:placeholder-shown{text-overflow:ellipsis}.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-s)}:host([scale=m]) .input--icon,:host([scale=l]) .input--icon{padding-inline:0.25rem}.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;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-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-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-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}calcite-chip{--calcite-animation-timing:0}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);max-inline-size:100%}.chip--active{background-color:var(--calcite-color-foreground-3)}.chip--invisible{visibility:hidden;position:absolute}.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
12
|
/*!
|
13
13
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
14
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
15
15
|
* v2.0.0
|
16
16
|
*/
|
17
|
-
const gt="icon",ft="icon--active",vt="icon--indent",
|
17
|
+
const gt="icon",ft="icon--active",vt="icon--indent",wt=class{constructor(t){i(this,t),this.calciteComboboxItemChange=e(this,"calciteComboboxItemChange",6),this.itemClickHandler=()=>{this.toggleSelected()},this.disabled=!1,this.selected=!1,this.active=!1,this.ancestors=void 0,this.guid=z(),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=J(this.el),it(this),I(this)}disconnectedCallback(){et(this),E(this)}componentDidRender(){D(this)}toggleSelected(){this.disabled||"single-persist"===this.selectionMode&&this.selected||(this.selected=!this.selected)}renderIcon(i){return this.icon?t("calcite-icon",{class:{"icon--custom":!!this.icon,[ft]:this.icon&&this.selected,[vt]:!0},flipRtl:this.iconFlipRtl,icon:this.icon||i,key:"icon",scale:Z(this.scale)}):null}renderSelectIndicator(i,e){return i?t("span",{class:{[gt]:!0,"icon--dot":!0,[vt]:!0}}):t("calcite-icon",{class:{[gt]:!0,[ft]:this.selected,[vt]:!0},flipRtl:this.iconFlipRtl,icon:e,key:"indicator",scale:Z(this.scale)})}renderChildren(){return h(this.el)?t("ul",{key:"default-slot-container"},t("slot",null)):null}render(){const i=V(this.selectionMode),e=i&&!this.disabled,n=this.disabled?"":i?"dot":"check",o={label:!0,"label--selected":this.selected,"label--active":this.active,"label--single":i},a=Q(this.el);return t(s,{"aria-hidden":"true"},t("div",{class:`container scale--${this.scale}`,style:{"--calcite-combobox-item-spacing-indent-multiplier":`${a}`}},t("li",{class:o,id:this.guid,onClick:this.itemClickHandler},this.renderSelectIndicator(e,n),this.renderIcon(n),t("span",{class:"title"},this.textLabel)),this.renderChildren()))}get el(){return n(this)}static get watchers(){return{selected:["selectedWatchHandler"]}}};wt.style='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([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-color-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-color-text-1)}.label--active{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.label:hover,.label:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-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-color-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-color-text-3)}.icon--active{color:var(--calcite-color-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-color-brand)}:host(:hover[disabled]) .icon{opacity:1}';
|
18
18
|
/*!
|
19
19
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
20
20
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
21
21
|
* v2.0.0
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const xt=class{constructor(t){i(this,t),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=F("mutation",(()=>this.updateItems())),this.resizeObserver=F("resize",(t=>this.resizeObserverCallback(t))),this.openTransitionProp="opacity",this.guid=`calcite-dropdown-${z()}`,this.defaultAssignedElements=[],this.slotChangeHandler=t=>{this.defaultAssignedElements=t.target.assignedElements({flatten:!0}),this.updateItems()},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?u(i,t):null},this.updateTriggers=t=>{this.triggers=t.target.assignedElements({flatten:!0}),this.reposition(!0)},this.updateItems=()=>{this.items=this.groups.map((t=>Array.from(null==t?void 0:t.querySelectorAll("calcite-dropdown-item")))).reduce(((t,i)=>[...t,...i]),[]),this.updateSelectedItems(),this.reposition(!0),this.items.forEach((t=>t.scale=this.scale))},this.updateGroups=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-dropdown-group")));this.groups=i,this.updateItems()},this.resizeObserverCallback=t=>{t.forEach((t=>{const{target:i}=t;i===this.referenceEl?this.setDropdownWidth():i===this.scrollerEl&&this.setMaxScrollerHeight()}))},this.setDropdownWidth=()=>{const{referenceEl:t,scrollerEl:i}=this,e=null==t?void 0:t.clientWidth;e&&i&&(i.style.minWidth=`${e}px`)},this.setMaxScrollerHeight=()=>{const{scrollerEl:t}=this;if(!t)return;this.reposition(!0);const i=this.getMaxScrollerHeight();t.style.maxHeight=i>0?`${i}px`:"",this.reposition(!0)},this.setScrollerAndTransitionEl=t=>{this.resizeObserver.observe(t),this.scrollerEl=t,this.transitionEl=t},this.setReferenceEl=t=>{this.referenceEl=t,b(this,this.referenceEl,this.floatingEl),this.resizeObserver.observe(t)},this.setFloatingEl=t=>{this.floatingEl=t,b(this,this.referenceEl,this.floatingEl)},this.keyDownHandler=t=>{if(!t.composedPath().includes(this.referenceEl))return;const{defaultPrevented:i,key:e}=t;if(!i){if(this.open){if("Escape"===e)return this.closeCalciteDropdown(),void t.preventDefault();if(t.shiftKey&&"Tab"===e)return this.closeCalciteDropdown(),void t.preventDefault()}st(e)?(this.openCalciteDropdown(),t.preventDefault()):"Escape"===e&&(this.closeCalciteDropdown(),t.preventDefault())}},this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.items.find((t=>t.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=m,this.selectedItems=[],this.type="click",this.widthScale=void 0,this.scale="m"}openHandler(){this.disabled?this.open=!1:M(this)}handleDisabledChange(t){t||(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 A(this),this.el.focus()}connectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.reposition(!0),this.open&&(this.openHandler(),M(this)),I(this),this.updateItems(),b(this,this.referenceEl,this.floatingEl)}componentWillLoad(){O(this)}componentDidLoad(){P(this),this.reposition(!0)}componentDidRender(){D(this)}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),E(this),f(this,this.referenceEl,this.floatingEl)}render(){const{open:i,guid:e}=this;return t(s,null,t("div",{class:"calcite-trigger-container",id:`${e}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},t("slot",{"aria-controls":`${e}-menu`,"aria-expanded":r(i),"aria-haspopup":"menu",name:"trigger",onSlotchange:this.updateTriggers})),t("div",{"aria-hidden":r(!i),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},t("div",{"aria-labelledby":`${e}-menubutton`,class:{"calcite-dropdown-content":!0,[v.animation]:!0,[v.animationActive]:i},id:`${e}-menu`,role:"menu",ref:this.setScrollerAndTransitionEl},t("slot",{onSlotchange:this.updateGroups}))))}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:n,filteredFlipPlacements:o}=this;return g(this,{floatingEl:i,referenceEl:e,overlayPositioning:n,placement:s,flipPlacements:o,type:"menu"},t)}closeCalciteDropdownOnClick(t){!this.disabled&&c(t)&&this.open&&!t.composedPath().includes(this.el)&&this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(t){this.closeCalciteDropdown(),t.stopPropagation()}closeCalciteDropdownOnOpenEvent(t){t.composedPath().includes(this.el)||(this.open=!1)}pointerEnterHandler(){this.disabled||"hover"!==this.type||this.openCalciteDropdown()}pointerLeaveHandler(){this.disabled||"hover"!==this.type||this.closeCalciteDropdown()}calciteInternalDropdownItemKeyEvent(t){const{keyboardEvent:i}=t.detail,e=i.target;switch(i.key){case"Tab":this.open=!1,this.updateTabIndexOfItems(e);break;case"ArrowDown":d(this.items,e,"next");break;case"ArrowUp":d(this.items,e,"previous");break;case"Home":d(this.items,e,"first");break;case"End":d(this.items,e,"last")}t.stopPropagation()}handleItemSelect(t){this.updateSelectedItems(),t.stopPropagation(),this.calciteDropdownSelect.emit(),this.closeOnSelectDisabled&&"none"!==t.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown(),t.stopPropagation()}onBeforeOpen(){this.reposition(!0),this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit(),this.reposition(!0)}updateSelectedItems(){this.selectedItems=this.items.filter((t=>t.selected))}getMaxScrollerHeight(){const{maxItems:t,items:i}=this;let e,s=0,n=0;return this.groups.forEach((i=>{t>0&&s<t&&Array.from(i.children).forEach(((i,o)=>{0===o&&(isNaN(e)&&(e=i.offsetTop),n+=e),s<t&&(n+=i.offsetHeight,s+=1)}))})),i.length>t?n:0}closeCalciteDropdown(t=!0){this.open=!1,t&&p(this.triggers[0])}getFocusableElement(t){if(!t)return;const i=t.attributes.isLink?t.shadowRoot.querySelector("a"):t;p(i)}updateTabIndexOfItems(t){this.items.forEach((i=>{i.tabIndex=t!==i?-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"]}}};xt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-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-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-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;block-size:100%;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-scale=s]){--calcite-dropdown-width:12rem}:host([width-scale=m]){--calcite-dropdown-width:14rem}:host([width-scale=l]){--calcite-dropdown-width:16rem}:host([hidden]){display:none}[hidden]{display:none}";
|
24
24
|
/*!
|
25
25
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
26
26
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
27
27
|
* v2.0.0
|
28
28
|
*/
|
29
|
-
const yt="container",kt=class{constructor(t){i(this,t),this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6),this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((t=>t.selectionMode=this.selectionMode))},this.mutationObserver=F("mutation",(()=>this.updateItems())),this.groupTitle=void 0,this.scale="m",this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){var t;this.updateItems(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0})}componentWillLoad(){this.groupPosition=this.getGroupPosition()}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){const i=this.groupTitle?t("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,e=this.groupPosition>0?t("div",{class:"dropdown-separator",role:"separator"}):null;return t(s,{"aria-label":this.groupTitle,role:"group"},t("div",{class:{[yt]:!0,[`${yt}--${this.scale}`]:!0}},e,i,t("slot",null)))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.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"]}}};kt.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-color-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const Ct=class{constructor(t){i(this,t),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 t;await A(this),null===(t=this.el)||void 0===t||t.focus()}componentWillLoad(){P(this),this.initialize()}componentDidLoad(){O(this)}connectedCallback(){this.initialize()}render(){const{href:i,selectionMode:e,label:n,iconFlipRtl:o,scale:a}=this,l=t("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:"start"===o||"both"===o,icon:this.iconStart,scale:Z(this.scale)}),c=t("span",{class:"dropdown-item-content"},t("slot",null)),h=t("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:"end"===o||"both"===o,icon:this.iconEnd,scale:Z(this.scale)}),d=this.iconStart&&this.iconEnd?[l,c,h]:this.iconStart?[l,c]:this.iconEnd?[c,h]:c,p=i?t("a",{"aria-label":n,class:"dropdown-link",href:i,rel:this.rel,tabIndex:-1,target:this.target,ref:t=>this.childLink=t},d):d,m=i?null:"single"===e?"menuitemradio":"multiple"===e?"menuitemcheckbox":"menuitem",u="none"!==e?r(this.selected):null;return t(s,{"aria-checked":u,"aria-label":i?"":n,role:m,tabindex:"0"},t("div",{class:{[yt]:!0,"container--link":!!i,[`${yt}--${a}`]:!0,"container--multi-selection":"multiple"===e,"container--single-selection":"single"===e,"container--none-selection":"none"===e}},"none"!==e?t("calcite-icon",{class:"dropdown-item-icon",icon:"multiple"===e?"check":"bullet-point",scale:Z(this.scale)}):null,p))}onClick(){this.emitRequestedItem()}keyDownHandler(t){switch(t.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),t.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),t.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":t.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t})}}updateActiveItemOnChange(t){t.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.determineActiveItem()),t.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)}};Ct.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-color-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-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\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-color-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-color-foreground-2);color:var(--calcite-color-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-color-text-1)}:host(:focus) .container{color:var(--calcite-color-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-color-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-color-text-1)}:host([selected]) .container:not(.container--none-selection):before,:host([selected]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-color-brand)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-color-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-color-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-color-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 zt=class{constructor(t){i(this,t),this.idsFound=e(this,"idsFound",7),this.noLayersFound=e(this,"noLayersFound",7),this.layerSelectionChange=e(this,"layerSelectionChange",7),this.defaultLayerHonored=!1,this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this.ids=[],this.selectedName="",this._translations=void 0}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,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 i="map-layer-picker";let e=this.height>0?{height:`${this.height.toString()}px`}:{};return e=Object.assign(Object.assign({},e),{display:this.display}),t(s,null,t("div",{class:"map-layer-picker-container",style:e},t("div",{class:"map-layer-picker",style:e},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(i):"select"===this.type?this._getSelect(i):this._getDropdown(i):this._getInvalidPlaceholder(),t("calcite-tooltip",{label:"",placement:"bottom","reference-element":i},t("span",null,this._translations.switchLayer)))))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return t("div",null,t("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},t("div",{slot:"message"},this._translations.noLayersFound)),t("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},t("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){return t("div",{class:"layer-picker-label-container cursor-default"},t("calcite-icon",{icon:"layers",scale:"s"}),t("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(i){return t("calcite-select",{id:i,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(i){return t("calcite-combobox",{clearDisabled:!0,id:i,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(i){return t("calcite-dropdown",{class:"layer-picker-dropdown"},t("calcite-action",{id:i,slot:"trigger",text:""},t("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:"max-width-350",iconEnd:"chevron-down",iconStart:"layers",kind:"neutral",width:"full"},t("div",null,this.selectedName))),t("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(i,e){const s="layer"===e?this._layerNameHash[i]:this._tableNameHash[i],n=!!this.onlyShowUpdatableLayers&&!s.supportsUpdate,o=s.name,a=this.selectedIds.indexOf(i)>-1;return"combobox"===this.type?t("calcite-combobox-item",{disabled:n,selected:a,textLabel:o,value:i}):"select"===this.type?t("calcite-option",{disabled:n,label:o,selected:a,value:i}):t("calcite-dropdown-group",{class:n?"disabled":"",selectionMode:n?"none":"single"},t("calcite-dropdown-item",{onClick:n?void 0:()=>{this._setSelectedLayer(i)},selected:a},o))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),this.selectedName=null==i?void 0:i.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds)}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>{var i;return!((null===(i=this.enabledLayerIds)||void 0===i?void 0:i.length)>0)||this.enabledLayerIds.reverse().indexOf(t)>-1})),...i.reverse().filter((t=>{var i;return!((null===(i=this.enabledTableIds)||void 0===i?void 0:i.length)>0)||this.enabledTableIds.reverse().indexOf(t)>-1}))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await ot(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await at(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){var i;const e=null===(i=this._layerNameHash[t])||void 0===i?void 0:i.name;return e&<.managedLayers.indexOf(e)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){var i;const e=null===(i=this._tableNameHash[t])||void 0===i?void 0:i.name,s=e&&this.showTables;return s?lt.managedTables.indexOf(e)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):s}_layerSelectionChange(){const t=Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value];JSON.stringify(t)!==JSON.stringify([""])&&(this.selectedIds=t,this.layerSelectionChange.emit(this.selectedIds))}async _getTranslations(){const t=await nt(this.el);this._translations=t[0]}get el(){return n(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};zt.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{bt as calcite_combobox,xt as calcite_combobox_item,wt as calcite_dropdown,kt as calcite_dropdown_group,Ct as calcite_dropdown_item,zt as map_layer_picker}
|
29
|
+
const yt="container",kt=class{constructor(t){i(this,t),this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6),this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((t=>t.selectionMode=this.selectionMode))},this.mutationObserver=F("mutation",(()=>this.updateItems())),this.groupTitle=void 0,this.scale="m",this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){var t;this.updateItems(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0})}componentWillLoad(){this.groupPosition=this.getGroupPosition()}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){const i=this.groupTitle?t("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,e=this.groupPosition>0?t("div",{class:"dropdown-separator",role:"separator"}):null;return t(s,{"aria-label":this.groupTitle,role:"group"},t("div",{class:{[yt]:!0,[`${yt}--${this.scale}`]:!0}},e,i,t("slot",null)))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.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"]}}};kt.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-color-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const Ct=class{constructor(t){i(this,t),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 t;await A(this),null===(t=this.el)||void 0===t||t.focus()}componentWillLoad(){O(this),this.initialize()}componentDidLoad(){P(this)}connectedCallback(){this.initialize()}render(){const{href:i,selectionMode:e,label:n,iconFlipRtl:o,scale:a}=this,l=t("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:"start"===o||"both"===o,icon:this.iconStart,scale:Z(this.scale)}),c=t("span",{class:"dropdown-item-content"},t("slot",null)),h=t("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:"end"===o||"both"===o,icon:this.iconEnd,scale:Z(this.scale)}),d=this.iconStart&&this.iconEnd?[l,c,h]:this.iconStart?[l,c]:this.iconEnd?[c,h]:c,p=i?t("a",{"aria-label":n,class:"dropdown-link",href:i,rel:this.rel,tabIndex:-1,target:this.target,ref:t=>this.childLink=t},d):d,m=i?null:"single"===e?"menuitemradio":"multiple"===e?"menuitemcheckbox":"menuitem",u="none"!==e?r(this.selected):null;return t(s,{"aria-checked":u,"aria-label":i?"":n,role:m,tabindex:"0"},t("div",{class:{[yt]:!0,"container--link":!!i,[`${yt}--${a}`]:!0,"container--multi-selection":"multiple"===e,"container--single-selection":"single"===e,"container--none-selection":"none"===e}},"none"!==e?t("calcite-icon",{class:"dropdown-item-icon",icon:"multiple"===e?"check":"bullet-point",scale:Z(this.scale)}):null,p))}onClick(){this.emitRequestedItem()}keyDownHandler(t){switch(t.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),t.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),t.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":t.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t})}}updateActiveItemOnChange(t){t.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.determineActiveItem()),t.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)}};Ct.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-color-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-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\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-color-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-color-foreground-2);color:var(--calcite-color-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-color-text-1)}:host(:focus) .container{color:var(--calcite-color-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-color-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-color-text-1)}:host([selected]) .container:not(.container--none-selection):before,:host([selected]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-color-brand)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-color-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-color-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-color-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 zt=class{constructor(t){i(this,t),this.idsFound=e(this,"idsFound",7),this.noLayersFound=e(this,"noLayersFound",7),this.layerSelectionChange=e(this,"layerSelectionChange",7),this.defaultLayerHonored=!1,this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.isMobile=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=void 0,this.ids=[],this.selectedName="",this._translations=void 0}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,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 i="map-layer-picker";let e=this.height>0?{height:`${this.height.toString()}px`}:{};return e=Object.assign(Object.assign({},e),{display:this.display}),t(s,null,t("div",{class:"map-layer-picker-container",style:e},t("div",{class:"map-layer-picker",style:e},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(i):"select"===this.type?this._getSelect(i):this._getDropdown(i):this._getInvalidPlaceholder(),t("calcite-tooltip",{label:"",placement:"bottom","reference-element":i},t("span",null,this._translations.switchLayer)))))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return t("div",null,t("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},t("div",{slot:"message"},this._translations.noLayersFound)),t("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},t("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){return t("div",{class:"layer-picker-label-container cursor-default"},t("calcite-icon",{icon:"layers",scale:"s"}),t("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(i){return t("calcite-select",{id:i,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(i){return t("calcite-combobox",{clearDisabled:!0,id:i,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(i){return t("calcite-dropdown",{calciteDropdownOpen:()=>alert("open"),class:"layer-picker-dropdown",onCalciteDropdownBeforeClose:()=>this._isDropdownOpen=!1,onCalciteDropdownBeforeOpen:()=>this._isDropdownOpen=!0},this.isMobile?this._getDropdownButton():this._getActionDropdownButton(i),t("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getActionDropdownButton(i){return t("calcite-action",{id:i,slot:"trigger",text:""},this._getDropdownButton())}_getDropdownButton(){return t("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:this.isMobile?"":"max-width-350",iconEnd:this._isDropdownOpen?"chevron-up":"chevron-down",iconStart:"layers",kind:"neutral",slot:this.isMobile?"trigger":"",width:"full"},t("div",null,this.selectedName))}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(i,e){const s="layer"===e?this._layerNameHash[i]:this._tableNameHash[i],n=!!this.onlyShowUpdatableLayers&&!s.supportsUpdate,o=s.name,a=this.selectedIds.indexOf(i)>-1;return"combobox"===this.type?t("calcite-combobox-item",{disabled:n,selected:a,textLabel:o,value:i}):"select"===this.type?t("calcite-option",{disabled:n,label:o,selected:a,value:i}):t("calcite-dropdown-group",{class:n?"disabled":"",selectionMode:n?"none":"single"},t("calcite-dropdown-item",{onClick:n?void 0:()=>{this._setSelectedLayer(i)},selected:a},o))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),this.selectedName=null==i?void 0:i.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds)}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>{var i;return!((null===(i=this.enabledLayerIds)||void 0===i?void 0:i.length)>0)||this.enabledLayerIds.reverse().indexOf(t)>-1})),...i.reverse().filter((t=>{var i;return!((null===(i=this.enabledTableIds)||void 0===i?void 0:i.length)>0)||this.enabledTableIds.reverse().indexOf(t)>-1}))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await ot(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await at(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){var i;const e=null===(i=this._layerNameHash[t])||void 0===i?void 0:i.name;return e&<.managedLayers.indexOf(e)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){var i;const e=null===(i=this._tableNameHash[t])||void 0===i?void 0:i.name,s=e&&this.showTables;return s?lt.managedTables.indexOf(e)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):s}_layerSelectionChange(){const t=Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value];JSON.stringify(t)!==JSON.stringify([""])&&(this.selectedIds=t,this.layerSelectionChange.emit(this.selectedIds))}async _getTranslations(){const t=await nt(this.el);this._translations=t[0]}get el(){return n(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};zt.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{bt as calcite_combobox,wt as calcite_combobox_item,xt as calcite_dropdown,kt as calcite_dropdown_group,Ct as calcite_dropdown_item,zt as map_layer_picker}
|
@@ -1 +1 @@
|
|
1
|
-
html,body{
|
1
|
+
html,body{height:100%;width:100%;overflow-y:hidden;background-color:#F4F4F4;margin:0px}h1{line-height:unset;margin:unset;font-size:2rem;padding-left:0.5rem}#appContainer{height:100%;opacity:0;transition:1s}.block-group{margin-inline-start:0.625rem;margin-inline-end:0.625rem}calcite-tree-item[highlight]>div{font-weight:700}calcite-tree-item[childselected]>div{font-weight:700}calcite-tree-item>a:hover{text-decoration:none}calcite-switch>input{display:none}calcite-switch{position:static}calcite-tree a{color:black}input.input-group-input,.input-group-input{width:unset;display:flex;flex:auto}.display-none{display:none}.empty-box{width:200px;aspect-ratio:auto 200/133;border:1px dotted gray}
|