@esri/solutions-components 0.7.18 → 0.7.20
Sign up to get free protection for your applications and to get access to all the features.
- 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 +74 -24
- package/dist/cjs/calcite-alert_3.cjs.entry.js +103 -7
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-date-picker_3.cjs.entry.js +7 -4
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +1 -1
- package/dist/cjs/card-manager_3.cjs.entry.js +20 -8
- package/dist/cjs/crowdsource-manager.cjs.entry.js +22 -41
- 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/instant-apps-ckeditor-wrapper_3.cjs.entry.js +149 -66
- package/dist/cjs/instant-apps-export.cjs.entry.js +254 -35
- package/dist/cjs/instant-apps-header.cjs.entry.js +2 -1
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +21 -7
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -3
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-splash.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{locale-9b9d0e94.js → locale-dab3f46a.js} +17 -8
- 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/cjs/spatial-ref.cjs.entry.js +8 -4
- package/dist/cjs/styles-c9e1375a.js +13 -0
- package/dist/cjs/{utils-35b31785.js → utils-6c713ba8.js} +14 -4
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +21 -76
- package/dist/collection/components/edit-card/edit-card.js +1 -2
- package/dist/collection/components/info-card/info-card.js +19 -4
- package/dist/collection/components/layer-table/layer-table.css +4 -0
- package/dist/collection/components/layer-table/layer-table.js +15 -3
- package/dist/collection/components/map-card/map-card.js +5 -5
- package/dist/collection/components/map-tools/map-tools.js +118 -27
- 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/components/solution-spatial-ref/test/solution-spatial-ref.e2e.js +0 -3
- package/dist/collection/components/spatial-ref/spatial-ref.js +9 -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 -7
- package/dist/collection/utils/downloadUtils.js +17 -12
- package/dist/collection/utils/downloadUtils.ts +20 -12
- package/dist/collection/utils/interfaces.ts +5 -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/crowdsource-manager.js +22 -43
- package/dist/components/downloadUtils.js +17 -12
- package/dist/components/edit-card2.js +1 -2
- package/dist/components/info-card2.js +102 -5
- package/dist/components/instant-apps-export.js +254 -33
- package/dist/components/instant-apps-filter-list2.js +3 -1
- package/dist/components/instant-apps-header2.js +2 -1
- package/dist/components/instant-apps-landing-page.js +26 -9
- package/dist/components/instant-apps-language-translator-item2.js +151 -68
- package/dist/components/instant-apps-language-translator2.js +3 -3
- package/dist/components/instant-apps-popover.js +1 -2
- package/dist/components/instant-apps-social-share2.js +5 -2
- package/dist/components/instant-apps-splash.js +1 -1
- package/dist/components/layer-table2.js +16 -4
- package/dist/components/locale3.js +17 -8
- package/dist/components/map-card2.js +3 -3
- package/dist/components/map-tools2.js +78 -25
- 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/components/spatial-ref2.js +9 -4
- package/dist/components/styles.js +11 -0
- package/dist/components/utils4.js +13 -3
- package/dist/esm/basemap-gallery_7.entry.js +74 -24
- package/dist/esm/calcite-alert_3.entry.js +103 -7
- package/dist/esm/calcite-combobox_6.entry.js +1 -1
- package/dist/esm/calcite-input-date-picker_3.entry.js +7 -4
- package/dist/esm/calcite-shell-panel_14.entry.js +1 -1
- package/dist/esm/card-manager_3.entry.js +20 -8
- package/dist/esm/crowdsource-manager.entry.js +22 -41
- 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/instant-apps-ckeditor-wrapper_3.entry.js +150 -67
- package/dist/esm/instant-apps-export.entry.js +254 -35
- package/dist/esm/instant-apps-header.entry.js +2 -1
- package/dist/esm/instant-apps-interactive-legend.entry.js +1 -1
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +1 -1
- package/dist/esm/instant-apps-landing-page.entry.js +22 -8
- package/dist/esm/instant-apps-language-switcher.entry.js +2 -2
- package/dist/esm/instant-apps-language-translator.entry.js +5 -5
- package/dist/esm/instant-apps-measurement.entry.js +1 -1
- package/dist/esm/instant-apps-popover.entry.js +2 -3
- package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
- package/dist/esm/instant-apps-splash.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-89b49505.js → locale-c7d9e9aa.js} +17 -8
- 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/esm/spatial-ref.entry.js +8 -4
- package/dist/esm/styles-367380b5.js +11 -0
- package/dist/esm/{utils-b1bd777e.js → utils-5ec65194.js} +14 -4
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +11 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-item/instant-apps-language-translator-item.css +7 -0
- 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 -7
- package/dist/solutions-components/{p-14097810.entry.js → p-08bde7db.entry.js} +1 -1
- package/dist/solutions-components/p-0f156577.entry.js +6 -0
- package/dist/solutions-components/p-107b7816.entry.js +6 -0
- package/dist/solutions-components/{p-4ee789e1.entry.js → p-16df3a9e.entry.js} +1 -1
- 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-3ca39d08.entry.js +6 -0
- package/dist/solutions-components/p-3cf20613.entry.js +17 -0
- package/dist/solutions-components/{p-e8011829.entry.js → p-48a5ae32.entry.js} +1 -1
- package/dist/solutions-components/{p-3ea18af7.entry.js → p-668c9fd9.entry.js} +1 -1
- package/dist/solutions-components/{p-789f606f.entry.js → p-67b9b58f.entry.js} +1 -1
- package/dist/solutions-components/p-6b4e621b.entry.js +6 -0
- package/dist/solutions-components/{p-33f07da5.entry.js → p-704da348.entry.js} +1 -1
- package/dist/solutions-components/{p-dfdb8411.js → p-72dbfa77.js} +1 -1
- package/dist/solutions-components/{p-75f7bfe3.entry.js → p-758d94ea.entry.js} +1 -1
- package/dist/solutions-components/p-86b21da1.js +6 -0
- package/dist/solutions-components/{p-cc774829.entry.js → p-8953a9cc.entry.js} +1 -1
- package/dist/solutions-components/p-95aba86b.entry.js +6 -0
- package/dist/solutions-components/{p-d0c4572d.entry.js → p-a40a1eab.entry.js} +18 -2
- package/dist/solutions-components/p-ad9fbb2a.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-c5db42ad.entry.js +6 -0
- package/dist/solutions-components/{p-3bf0115f.entry.js → p-c77ff1b4.entry.js} +1 -1
- package/dist/solutions-components/p-c9bd3666.js +6 -0
- package/dist/solutions-components/{p-1bdd64a0.js → p-d4afcf86.js} +4 -4
- package/dist/solutions-components/p-eeee7c7a.js +6 -0
- package/dist/solutions-components/p-f6253a08.entry.js +6 -0
- package/dist/solutions-components/{p-f486c86d.entry.js → p-fdb1ace8.entry.js} +1 -1
- 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 +5 -0
- package/dist/solutions-components/utils/popupUtils.ts +104 -0
- package/dist/solutions-components/utils/queryUtils.ts +5 -1
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -14
- package/dist/types/components/info-card/info-card.d.ts +9 -0
- package/dist/types/components/map-card/map-card.d.ts +3 -2
- package/dist/types/components/map-tools/map-tools.d.ts +45 -2
- package/dist/types/components/spatial-ref/spatial-ref.d.ts +4 -0
- package/dist/types/components.d.ts +32 -32
- package/dist/types/preact.d.ts +4 -1
- package/dist/types/utils/downloadUtils.d.ts +3 -3
- package/dist/types/utils/interfaces.d.ts +4 -0
- package/dist/types/utils/popupUtils.d.ts +46 -0
- package/dist/types/utils/queryUtils.d.ts +1 -1
- package/package.json +2 -2
- package/dist/solutions-components/p-531d91d6.js +0 -36
- package/dist/solutions-components/p-62e92138.js +0 -6
- package/dist/solutions-components/p-83225907.js +0 -6
- package/dist/solutions-components/p-8ca5d651.entry.js +0 -6
- package/dist/solutions-components/p-99ca7674.entry.js +0 -6
- package/dist/solutions-components/p-a0b8cecf.entry.js +0 -6
- package/dist/solutions-components/p-a9f21aaf.entry.js +0 -6
- package/dist/solutions-components/p-c99843aa.entry.js +0 -6
- package/dist/solutions-components/p-ced4e208.entry.js +0 -6
- package/dist/solutions-components/p-d78f13cb.entry.js +0 -6
- package/dist/solutions-components/p-db3ca38d.entry.js +0 -17
- package/dist/solutions-components/p-e405f393.entry.js +0 -6
@@ -3,9 +3,25 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,c as i,h as e,H as s,g as o}from"./p-78780f63.js";import{u as a,t as n,g as l,x as r}from"./p-ca97465b.js";import{g as c}from"./p-0c07ad8a.js";import{s as h,a as d,c as p}from"./p-f10944e6.js";import{c as u,d as m,n as g}from"./p-ede84883.js";import{o as v}from"./p-653af7e0.js";import{c as f,s as b,d as w,u as y}from"./p-79ba73cb.js";import{K as k}from"./p-568822d4.js";import{l as x}from"./p-48ff9cea.js";import{g as z}from"./p-6b943f52.js";import{m as C}from"./p-
|
6
|
+
import{r as t,c as i,h as e,H as s,g as o}from"./p-78780f63.js";import{u as a,t as n,g as l,x as r}from"./p-ca97465b.js";import{g as c}from"./p-0c07ad8a.js";import{s as h,a as d,c as p}from"./p-f10944e6.js";import{c as u,d as m,n as g}from"./p-ede84883.js";import{o as v}from"./p-653af7e0.js";import{c as f,s as b,d as w,u as y}from"./p-79ba73cb.js";import{K as k}from"./p-568822d4.js";import{l as x}from"./p-48ff9cea.js";import{g as z}from"./p-6b943f52.js";import{m as C}from"./p-b5d1b979.js";import"./p-fcefdfff.js";import"./p-29d68474.js";import"./p-1e2ffee3.js";import"./p-5b566d55.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-4af32c75.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 _={slow:14e3,medium:1e4,fast:6e3},j="container",q=class{constructor(e){t(this,e),this.calciteAlertBeforeClose=i(this,"calciteAlertBeforeClose",6),this.calciteAlertClose=i(this,"calciteAlertClose",6),this.calciteAlertBeforeOpen=i(this,"calciteAlertBeforeOpen",6),this.calciteAlertOpen=i(this,"calciteAlertOpen",6),this.calciteInternalAlertSync=i(this,"calciteInternalAlertSync",6),this.calciteInternalAlertRegister=i(this,"calciteInternalAlertRegister",6),this.autoCloseTimeoutId=null,this.totalOpenTime=0,this.totalHoverTime=0,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.closeAlert=()=>{this.autoCloseTimeoutId=null,this.queued=!1,this.open=!1,this.queue=this.queue.filter((t=>t!==this.el)),this.determineActiveAlert(),this.calciteInternalAlertSync.emit({queue:this.queue})},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=a(t)},this.handleMouseOver=()=>{window.clearTimeout(this.autoCloseTimeoutId),this.totalOpenTime=Date.now()-this.initialOpenTime,this.lastMouseOverBegin=Date.now()},this.handleMouseLeave=()=>{const t=Date.now()-this.lastMouseOverBegin,i=_[this.autoCloseDuration]-this.totalOpenTime+this.totalHoverTime;this.totalHoverTime=this.totalHoverTime?t+this.totalHoverTime:t,this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),i)},this.open=!1,this.autoClose=!1,this.autoCloseDuration="medium",this.kind="brand",this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.numberingSystem=void 0,this.placement="bottom",this.scale="m",this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasEndActions=!1,this.queue=[],this.queueLength=0,this.queued=!1}openHandler(){v(this),this.open&&!this.queued&&this.calciteInternalAlertRegister.emit(),this.open||(this.queue=this.queue.filter((t=>t!==this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}))}onMessagesChange(){}updateDuration(){this.autoClose&&this.autoCloseTimeoutId&&(window.clearTimeout(this.autoCloseTimeoutId),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),_[this.autoCloseDuration]))}connectedCallback(){u(this),f(this),this.open&&!this.queued&&this.calciteInternalAlertRegister.emit()}async componentWillLoad(){h(this),await b(this),this.open&&v(this)}componentDidLoad(){d(this)}disconnectedCallback(){window.dispatchEvent(new CustomEvent("calciteInternalAlertUnregister",{detail:{alert:this.el}})),window.clearTimeout(this.autoCloseTimeoutId),window.clearTimeout(this.queueTimeout),m(this),w(this),this.slottedInShell=!1}render(){g.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"};const{open:t,autoClose:i,label:o,placement:a,queued:l}=this,c=i?"alert":"alertdialog",h=!t,d=r(k,this.icon,this.kind),p=this.queueLength>1;return e(s,{"aria-hidden":n(h),"aria-label":o,"calcite-hydrated-hidden":h,role:c},e("div",{class:{[j]:!0,"container--queued":l,[`${j}--${a}`]:!0,"container--slotted-in-shell":this.slottedInShell},onPointerEnter:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseOver:null,onPointerLeave:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseLeave:null,ref:this.setTransitionEl},d&&this.renderIcon(d),e("div",{class:"text-container"},e("slot",{name:"title"}),e("slot",{name:"message"}),e("slot",{name:"link"})),this.renderActionsEnd(),p?this.renderQueueCount():null,this.renderCloseButton(),t&&!l&&i?e("div",{class:"dismiss-progress"}):null))}renderCloseButton(){return e("button",{"aria-label":this.messages.close,class:"close",key:"close",onClick:this.closeAlert,type:"button",ref:t=>this.closeButton=t},e("calcite-icon",{icon:"x",scale:c(this.scale)}))}renderQueueCount(){const t=g.numberFormatter.format(this.queueLength>2?this.queueLength-1:1);return e("div",{class:{"queue-count":!0,"queue-count--active":this.queueLength>1},key:"queue-count"},e("calcite-chip",{scale:this.scale,value:t},t))}renderActionsEnd(){return e("div",{class:"actions-end"},e("slot",{name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}))}renderIcon(t){return e("div",{class:"icon"},e("calcite-icon",{flipRtl:this.iconFlipRtl,icon:t,scale:c(this.scale)}))}alertSync(t){this.queue!==t.detail.queue&&(this.queue=t.detail.queue),this.queueLength=this.queue.length,this.determineActiveAlert(),t.stopPropagation()}alertRegister(){this.open&&!this.queue.includes(this.el)&&(this.queued=!0,this.queue.push(this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.determineActiveAlert()}alertUnregister(t){const i=this.queue.filter((i=>i!==t.detail.alert));this.queue=i,window.dispatchEvent(new CustomEvent("calciteInternalAlertSync",{detail:{queue:i}}))}async setFocus(){await p(this);const t=l(this.el,{selector:"calcite-link"});if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){y(this,this.effectiveLocale)}determineActiveAlert(){var t;(null===(t=this.queue)||void 0===t?void 0:t[0])===this.el&&(this.openAlert(),this.autoClose&&!this.autoCloseTimeoutId&&(this.initialOpenTime=Date.now(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),_[this.autoCloseDuration])))}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}openAlert(){window.clearTimeout(this.queueTimeout),this.queueTimeout=window.setTimeout((()=>this.queued=!1),300)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],autoCloseDuration:["updateDuration"],effectiveLocale:["effectiveLocaleChange"]}}};q.style=':host{--calcite-alert-edge-distance:2rem;--calcite-alert-dismiss-progress-background:var(--calcite-color-transparent-tint);display:block}.container{pointer-events:none;position:fixed;z-index:var(--calcite-z-index-toast);margin-inline:auto;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:-moz-min-content;min-inline-size:min-content;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);text-align:start;opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0 solid transparent;border-inline:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - var(--calcite-alert-edge-distance) * 2);transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.container--bottom,.container--top{inset-inline-end:0;inset-inline-start:0}.container[class*=bottom]{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}.container[class*=top]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}.container[class*=start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}.container[class*=end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}.icon{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0px;margin-block:auto;margin-inline-end:auto;padding-inline-start:var(--calcite-alert-spacing-token-large)}.close{display:flex;cursor:pointer;align-items:center;justify-content:flex-end;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-appearance:none;padding:var(--calcite-alert-spacing-token-large);outline-color:transparent}.close:focus{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 )}.close:hover,.close:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.close:active{background-color:var(--calcite-color-foreground-3)}.queue-count{visibility:hidden;display:flex;min-inline-size:-moz-min-content;min-inline-size:min-content;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;background-color:var(--calcite-color-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0 solid transparent;border-start-end-radius:0}.queue-count--active{visibility:visible;opacity:1}.dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}.text-container{box-sizing:border-box;display:flex;min-inline-size:0px;flex:1 1 auto;flex-direction:column;overflow-wrap:break-word;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large) var(--calcite-alert-spacing-token-small)}.footer{position:relative;display:flex;inline-size:auto;justify-content:flex-end;align-self:stretch;padding-block-start:1px;block-size:inherit}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem;--calcite-alert-footer-height:2rem;--calcite-alert-footer-divider-gap:0.125rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem;--calcite-alert-footer-height:3rem;--calcite-alert-footer-divider-gap:0.25rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem;--calcite-alert-footer-height:4rem;--calcite-alert-footer-divider-gap:0.5rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host([open]) .container:not(.container--queued){border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container:not(.container--queued)[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container:not(.container--queued)[class*=top]{transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}:host([auto-close])>.queue-count{border-inline-end:0 solid transparent}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-color-text-link)}:host([kind=brand]) .container{border-block-start-color:var(--calcite-color-brand)}:host([kind=brand]) .container .icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-block-start-color:var(--calcite-color-status-info)}:host([kind=info]) .container .icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-block-start-color:var(--calcite-color-status-success)}:host([kind=success]) .container .icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-block-start-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .icon{color:var(--calcite-color-status-warning)}:host([auto-close-duration=fast]) .dismiss-progress:after{animation:dismissProgress 6000ms ease-out}:host(:hover[auto-close-duration=fast]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=medium]) .dismiss-progress:after{animation:dismissProgress 10000ms ease-out}:host(:hover[auto-close-duration=medium]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=slow]) .dismiss-progress:after{animation:dismissProgress 14000ms ease-out}:host(:hover[auto-close-duration=slow]) .dismiss-progress:after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}.container--slotted-in-shell{position:absolute}:host([hidden]){display:none}[hidden]{display:none}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}';const W=class{constructor(e){t(this,e),this.closeEdit=i(this,"closeEdit",7),this.editsComplete=i(this,"editsComplete",7),this.refreshGraphics=i(this,"refreshGraphics",7),this._shouldClose=!1,this.graphics=void 0,this.mapView=void 0,this.open=!1,this.graphicIndex=0,this._editorLoading=!1,this._translations=void 0}async graphicsWatchHandler(){0===this.graphics.length&&await this._closeEdit()}async openWatchHandler(t){var i;t&&(null===(i=this.graphics)||void 0===i?void 0:i.length)>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit()}async featureSelectionChange(){await this._closeEdit()}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){var t,i;(null===(t=this.graphics)||void 0===t?void 0:t.length)>0&&(null===(i=this.graphics[0])||void 0===i?void 0:i.layer)&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove(),this._layerEditHandle=this._layer.on("edits",(()=>{this.editsComplete.emit(),this.open=!1})))}render(){var t;const i=!((null===(t=this.graphics)||void 0===t?void 0:t.length)>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled),o=this._editorLoading?"display-none":"position-absolute",a=this._editorLoading?"":"display-none";return e(s,null,e("div",{class:"position-absolute"},i?e("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},e("div",{slot:"message"},this._translations.enableEditing)):void 0,e("div",{class:"position-absolute",slot:"content"},e("div",{class:o,id:"feature-form",ref:t=>this._editContainer=t}),e("calcite-loader",{class:a,label:"",scale:"s"}))))}async _initModules(){const[t,i]=await x(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div"),i=(await C(this.mapView)).map((t=>({layer:t,geometryUpdatesEnabled:!1})));this._editor=new this.Editor({allowedWorkflows:"update",view:this.mapView,layerInfos:i,visibleElements:{snappingControls:!1,sketchTooltipControls:!1},container:t}),this._attachmentHandle&&this._activeWorkflowHandle&&(this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils.when((()=>"adding-attachment"===this._editor.viewModel.state||"editing-attachment"===this._editor.viewModel.state||"creating-features"===this._editor.viewModel.state),(()=>{this._shouldClose=!1})),this._activeWorkflowHandle=this.reactiveUtils.watch((()=>{var t;return null===(t=this._editor.viewModel.activeWorkflow)||void 0===t?void 0:t.activeWorkflow}),(t=>{"update-table-record"!==(null==t?void 0:t.type)&&"create-features"!==(null==t?void 0:t.type)||(this._shouldClose=!1),(null==t?void 0:t.type)||(null==t?void 0:t.hasPendingEdits)||(this.open=!1)})),this._editContainer.appendChild(t)}}async _closeEdit(){var t,i,e,s;this._shouldClose=!0,(null===(t=this._editor)||void 0===t?void 0:t.activeWorkflow)&&await(null===(i=this._editor)||void 0===i?void 0:i.cancelWorkflow()),this.graphicIndex>-1&&(null===(e=this.graphics)||void 0===e?void 0:e.length)>0&&this.refreshGraphics.emit(this.graphics),null===(s=this._editor)||void 0===s||s.destroy(),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}async _getTranslations(){const t=await z(this.el);this._translations=t[0]}get el(){return o(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],open:["openWatchHandler"]}}};W.style=":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{--calcite-color-background:none;padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-color-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1) !important}.esri-editor__panel-toolbar{display:none !important}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}";const E=class{constructor(e){t(this,e),this.popupClosed=i(this,"popupClosed",7),this.selectionChanged=i(this,"selectionChanged",7),this.graphics=void 0,this.isLoading=!1,this.isMobile=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._mobileTitle="",this._showListView=!1,this._translations=void 0}async graphicsWatchHandler(){var t;if(this._features||await this._initFeaturesWidget(),this.graphics.length>0){const i=null===(t=this.graphics[0])||void 0===t?void 0:t.layer;this._editEnabled=i.editingEnabled&&i.capabilities.operations.supportsUpdate,this._features.open({features:this.graphics})}else this._features.clear(),this._features.close()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async closeEdit(){this._editRecordOpen=!1}async refreshGraphics(t){this.graphics=[...t.detail]}async componentWillLoad(){await this._initModules(),await this._getTranslations()}render(){var t,i,o;const a=this.isLoading?"":"display-none",n=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",l=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",r=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",c=(null===(i=null===(t=this._features)||void 0===t?void 0:t.features)||void 0===i?void 0:i.length)<2,h=this.isMobile?"display-none":"",d=this.isMobile&&!this._editRecordOpen?"padding-top-46":"";return e(s,null,this.isMobile&&!this._editRecordOpen?e("calcite-panel",null,e("calcite-action",{class:"end-border",icon:"chevron-left",iconFlipRtl:!0,onClick:()=>this._closePopup(),scale:"s",slot:"header-actions-start",text:""}),e("span",{class:"font-bold",slot:"header-content"},this._mobileTitle)):void 0,e("calcite-shell",{class:d},e("calcite-loader",{class:a,label:this._translations.fetchingData}),e("div",{class:"esri-widget "+n,id:"features-node"}),e("div",{class:`${r} width-100`,slot:"footer"},e("div",{class:"display-flex top-border padding-1-2"},e("calcite-button",{appearance:"solid",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),this.isMobile?e("calcite-button",{appearance:"outline",class:"padding-inline-start-1",id:"solutions-cancel",onClick:()=>this._closePopup(),width:"full"},this._translations.cancel):void 0,e("calcite-tooltip",{label:"",placement:"bottom","reference-element":"solutions-edit"},e("span",null,this._translations.edit)),this.isMobile?e("calcite-tooltip",{label:"",placement:"bottom","reference-element":"solutions-cancel"},e("span",null,this._translations.cancel)):void 0),e("div",{class:`display-flex padding-1-2 button-container top-border ${h}`},e("div",{class:"min-width-100"},e("calcite-button",{appearance:"outline",disabled:c,id:"solutions-back",onClick:()=>this._back(),width:"full"},this._translations.back),e("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},e("span",null,this._translations.back))),e("div",null,e("calcite-action",{icon:"list",onClick:()=>this._toggleListView(),scale:"s",text:this._getCount(),textEnabled:!0})),e("div",{class:"min-width-100"},e("calcite-button",{appearance:"outline",disabled:c,id:"solutions-next",onClick:()=>this._next(),width:"full"},this._translations.next),e("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-next"},e("span",null,this._translations.next))))),e("edit-card",{class:l,graphicIndex:null===(o=this._features)||void 0===o?void 0:o.selectedFeatureIndex,graphics:this.graphics,mapView:this.mapView,open:this._editRecordOpen}),e("calcite-alert",{icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},e("div",{slot:"title"},this._translations.editDisabled),e("div",{slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,i]=await x(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=i}async _initFeaturesWidget(){var t;return void 0!==this.isMobile?await(null===(t=this.mapView)||void 0===t?void 0:t.when((()=>{this._features?(this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=!1,this._features.visibleElements.heading=!this.isMobile):(this._features=new this.Features({view:this.mapView,container:"features-node",visibleElements:{actionBar:!1,closeButton:!1,heading:!this.isMobile}}),this.reactiveUtils.watch((()=>this._features.viewModel.featureMenuOpen),(t=>{t||(this._showListView=t)})),this.reactiveUtils.watch((()=>this._features.viewModel.title),(t=>{this._mobileTitle=t})),this.zoomAndScrollToSelected&&this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit([this._features.selectedFeature])})))}))):Promise.resolve()}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features.previous(),this._count=this._getCount()}_next(){this._features.next(),this._count=this._getCount()}_getCount(){var t,i,e;const s=((null===(t=this._features)||void 0===t?void 0:t.viewModel.selectedFeatureIndex)+1).toString(),o=null===(e=null===(i=this._features)||void 0===i?void 0:i.features)||void 0===e?void 0:e.length.toString();return this._translations.indexOfTotal.replace("{{index}}",s).replace("{{total}}",o)}_toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async _getTranslations(){const t=await z(this.el);this._translations=t[0]}get el(){return o(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],isMobile:["isMobileWatchHandler"],mapView:["mapViewWatchHandler"]}}};E.style=":host{display:block;--calcite-label-margin-bottom:0}.padding-1-2{padding:0.5rem}.display-none{display:none !important}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-features__footer{display:none !important}.button-container{justify-content:space-between;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.min-width-100{min-width:100px}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-color-foreground-1) !important;height:100% !important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.padding-top-46{padding-top:46px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:bold}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}";export{q as calcite_alert,W as edit_card,E as info_card}
|
11
|
+
*/const _={slow:14e3,medium:1e4,fast:6e3},j="container",q=class{constructor(e){t(this,e),this.calciteAlertBeforeClose=i(this,"calciteAlertBeforeClose",6),this.calciteAlertClose=i(this,"calciteAlertClose",6),this.calciteAlertBeforeOpen=i(this,"calciteAlertBeforeOpen",6),this.calciteAlertOpen=i(this,"calciteAlertOpen",6),this.calciteInternalAlertSync=i(this,"calciteInternalAlertSync",6),this.calciteInternalAlertRegister=i(this,"calciteInternalAlertRegister",6),this.autoCloseTimeoutId=null,this.totalOpenTime=0,this.totalHoverTime=0,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.closeAlert=()=>{this.autoCloseTimeoutId=null,this.queued=!1,this.open=!1,this.queue=this.queue.filter((t=>t!==this.el)),this.determineActiveAlert(),this.calciteInternalAlertSync.emit({queue:this.queue})},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=a(t)},this.handleMouseOver=()=>{window.clearTimeout(this.autoCloseTimeoutId),this.totalOpenTime=Date.now()-this.initialOpenTime,this.lastMouseOverBegin=Date.now()},this.handleMouseLeave=()=>{const t=Date.now()-this.lastMouseOverBegin,i=_[this.autoCloseDuration]-this.totalOpenTime+this.totalHoverTime;this.totalHoverTime=this.totalHoverTime?t+this.totalHoverTime:t,this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),i)},this.open=!1,this.autoClose=!1,this.autoCloseDuration="medium",this.kind="brand",this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.numberingSystem=void 0,this.placement="bottom",this.scale="m",this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasEndActions=!1,this.queue=[],this.queueLength=0,this.queued=!1}openHandler(){v(this),this.open&&!this.queued&&this.calciteInternalAlertRegister.emit(),this.open||(this.queue=this.queue.filter((t=>t!==this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}))}onMessagesChange(){}updateDuration(){this.autoClose&&this.autoCloseTimeoutId&&(window.clearTimeout(this.autoCloseTimeoutId),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),_[this.autoCloseDuration]))}connectedCallback(){u(this),f(this),this.open&&!this.queued&&this.calciteInternalAlertRegister.emit()}async componentWillLoad(){h(this),await b(this),this.open&&v(this)}componentDidLoad(){d(this)}disconnectedCallback(){window.dispatchEvent(new CustomEvent("calciteInternalAlertUnregister",{detail:{alert:this.el}})),window.clearTimeout(this.autoCloseTimeoutId),window.clearTimeout(this.queueTimeout),m(this),w(this),this.slottedInShell=!1}render(){g.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"};const{open:t,autoClose:i,label:o,placement:a,queued:l}=this,c=i?"alert":"alertdialog",h=!t,d=r(k,this.icon,this.kind),p=this.queueLength>1;return e(s,{"aria-hidden":n(h),"aria-label":o,"calcite-hydrated-hidden":h,role:c},e("div",{class:{[j]:!0,"container--queued":l,[`${j}--${a}`]:!0,"container--slotted-in-shell":this.slottedInShell},onPointerEnter:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseOver:null,onPointerLeave:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseLeave:null,ref:this.setTransitionEl},d&&this.renderIcon(d),e("div",{class:"text-container"},e("slot",{name:"title"}),e("slot",{name:"message"}),e("slot",{name:"link"})),this.renderActionsEnd(),p?this.renderQueueCount():null,this.renderCloseButton(),t&&!l&&i?e("div",{class:"dismiss-progress"}):null))}renderCloseButton(){return e("button",{"aria-label":this.messages.close,class:"close",key:"close",onClick:this.closeAlert,type:"button",ref:t=>this.closeButton=t},e("calcite-icon",{icon:"x",scale:c(this.scale)}))}renderQueueCount(){const t=g.numberFormatter.format(this.queueLength>2?this.queueLength-1:1);return e("div",{class:{"queue-count":!0,"queue-count--active":this.queueLength>1},key:"queue-count"},e("calcite-chip",{scale:this.scale,value:t},t))}renderActionsEnd(){return e("div",{class:"actions-end"},e("slot",{name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}))}renderIcon(t){return e("div",{class:"icon"},e("calcite-icon",{flipRtl:this.iconFlipRtl,icon:t,scale:c(this.scale)}))}alertSync(t){this.queue!==t.detail.queue&&(this.queue=t.detail.queue),this.queueLength=this.queue.length,this.determineActiveAlert(),t.stopPropagation()}alertRegister(){this.open&&!this.queue.includes(this.el)&&(this.queued=!0,this.queue.push(this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.determineActiveAlert()}alertUnregister(t){const i=this.queue.filter((i=>i!==t.detail.alert));this.queue=i,window.dispatchEvent(new CustomEvent("calciteInternalAlertSync",{detail:{queue:i}}))}async setFocus(){await p(this);const t=l(this.el,{selector:"calcite-link"});if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){y(this,this.effectiveLocale)}determineActiveAlert(){var t;(null===(t=this.queue)||void 0===t?void 0:t[0])===this.el&&(this.openAlert(),this.autoClose&&!this.autoCloseTimeoutId&&(this.initialOpenTime=Date.now(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),_[this.autoCloseDuration])))}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}openAlert(){window.clearTimeout(this.queueTimeout),this.queueTimeout=window.setTimeout((()=>this.queued=!1),300)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],autoCloseDuration:["updateDuration"],effectiveLocale:["effectiveLocaleChange"]}}};q.style=':host{--calcite-alert-edge-distance:2rem;--calcite-alert-dismiss-progress-background:var(--calcite-color-transparent-tint);display:block}.container{pointer-events:none;position:fixed;z-index:var(--calcite-z-index-toast);margin-inline:auto;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:-moz-min-content;min-inline-size:min-content;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);text-align:start;opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0 solid transparent;border-inline:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - var(--calcite-alert-edge-distance) * 2);transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.container--bottom,.container--top{inset-inline-end:0;inset-inline-start:0}.container[class*=bottom]{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}.container[class*=top]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}.container[class*=start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}.container[class*=end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}.icon{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0px;margin-block:auto;margin-inline-end:auto;padding-inline-start:var(--calcite-alert-spacing-token-large)}.close{display:flex;cursor:pointer;align-items:center;justify-content:flex-end;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-appearance:none;padding:var(--calcite-alert-spacing-token-large);outline-color:transparent}.close:focus{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 )}.close:hover,.close:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.close:active{background-color:var(--calcite-color-foreground-3)}.queue-count{visibility:hidden;display:flex;min-inline-size:-moz-min-content;min-inline-size:min-content;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;background-color:var(--calcite-color-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0 solid transparent;border-start-end-radius:0}.queue-count--active{visibility:visible;opacity:1}.dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}.text-container{box-sizing:border-box;display:flex;min-inline-size:0px;flex:1 1 auto;flex-direction:column;overflow-wrap:break-word;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large) var(--calcite-alert-spacing-token-small)}.footer{position:relative;display:flex;inline-size:auto;justify-content:flex-end;align-self:stretch;padding-block-start:1px;block-size:inherit}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem;--calcite-alert-footer-height:2rem;--calcite-alert-footer-divider-gap:0.125rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem;--calcite-alert-footer-height:3rem;--calcite-alert-footer-divider-gap:0.25rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem;--calcite-alert-footer-height:4rem;--calcite-alert-footer-divider-gap:0.5rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host([open]) .container:not(.container--queued){border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container:not(.container--queued)[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container:not(.container--queued)[class*=top]{transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}:host([auto-close])>.queue-count{border-inline-end:0 solid transparent}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-color-text-link)}:host([kind=brand]) .container{border-block-start-color:var(--calcite-color-brand)}:host([kind=brand]) .container .icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-block-start-color:var(--calcite-color-status-info)}:host([kind=info]) .container .icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-block-start-color:var(--calcite-color-status-success)}:host([kind=success]) .container .icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-block-start-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .icon{color:var(--calcite-color-status-warning)}:host([auto-close-duration=fast]) .dismiss-progress:after{animation:dismissProgress 6000ms ease-out}:host(:hover[auto-close-duration=fast]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=medium]) .dismiss-progress:after{animation:dismissProgress 10000ms ease-out}:host(:hover[auto-close-duration=medium]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=slow]) .dismiss-progress:after{animation:dismissProgress 14000ms ease-out}:host(:hover[auto-close-duration=slow]) .dismiss-progress:after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}.container--slotted-in-shell{position:absolute}:host([hidden]){display:none}[hidden]{display:none}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}';const W=class{constructor(e){t(this,e),this.closeEdit=i(this,"closeEdit",7),this.editsComplete=i(this,"editsComplete",7),this.refreshGraphics=i(this,"refreshGraphics",7),this._shouldClose=!1,this.graphics=void 0,this.mapView=void 0,this.open=!1,this.graphicIndex=0,this._editorLoading=!1,this._translations=void 0}async graphicsWatchHandler(){0===this.graphics.length&&await this._closeEdit()}async openWatchHandler(t){var i;t&&(null===(i=this.graphics)||void 0===i?void 0:i.length)>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit()}async featureSelectionChange(){await this._closeEdit()}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){var t,i;(null===(t=this.graphics)||void 0===t?void 0:t.length)>0&&(null===(i=this.graphics[0])||void 0===i?void 0:i.layer)&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove(),this._layerEditHandle=this._layer.on("edits",(()=>{this.editsComplete.emit(),this.open=!1})))}render(){var t;const i=!((null===(t=this.graphics)||void 0===t?void 0:t.length)>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled),o=this._editorLoading?"display-none":"position-absolute",a=this._editorLoading?"":"display-none";return e(s,null,e("div",{class:"position-absolute"},i?e("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},e("div",{slot:"message"},this._translations.enableEditing)):void 0,e("div",{class:"position-absolute",slot:"content"},e("div",{class:o,id:"feature-form",ref:t=>this._editContainer=t}),e("calcite-loader",{class:a,label:"",scale:"s"}))))}async _initModules(){const[t,i]=await x(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div"),i=(await C(this.mapView)).map((t=>({layer:t,geometryUpdatesEnabled:!1})));this._editor=new this.Editor({allowedWorkflows:"update",view:this.mapView,layerInfos:i,visibleElements:{snappingControls:!1},container:t}),this._attachmentHandle&&this._activeWorkflowHandle&&(this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils.when((()=>"adding-attachment"===this._editor.viewModel.state||"editing-attachment"===this._editor.viewModel.state||"creating-features"===this._editor.viewModel.state),(()=>{this._shouldClose=!1})),this._activeWorkflowHandle=this.reactiveUtils.watch((()=>{var t;return null===(t=this._editor.viewModel.activeWorkflow)||void 0===t?void 0:t.activeWorkflow}),(t=>{"update-table-record"!==(null==t?void 0:t.type)&&"create-features"!==(null==t?void 0:t.type)||(this._shouldClose=!1),(null==t?void 0:t.type)||(null==t?void 0:t.hasPendingEdits)||(this.open=!1)})),this._editContainer.appendChild(t)}}async _closeEdit(){var t,i,e,s;this._shouldClose=!0,(null===(t=this._editor)||void 0===t?void 0:t.activeWorkflow)&&await(null===(i=this._editor)||void 0===i?void 0:i.cancelWorkflow()),this.graphicIndex>-1&&(null===(e=this.graphics)||void 0===e?void 0:e.length)>0&&this.refreshGraphics.emit(this.graphics),null===(s=this._editor)||void 0===s||s.destroy(),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}async _getTranslations(){const t=await z(this.el);this._translations=t[0]}get el(){return o(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],open:["openWatchHandler"]}}};W.style=":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{--calcite-color-background:none;padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-color-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1) !important}.esri-editor__panel-toolbar{display:none !important}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}";
|
12
|
+
/** @license
|
13
|
+
* Copyright 2022 Esri
|
14
|
+
*
|
15
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
16
|
+
* you may not use this file except in compliance with the License.
|
17
|
+
* You may obtain a copy of the License at
|
18
|
+
*
|
19
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
20
|
+
*
|
21
|
+
* Unless required by applicable law or agreed to in writing, software
|
22
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
23
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
24
|
+
* See the License for the specific language governing permissions and
|
25
|
+
* limitations under the License.
|
26
|
+
*/
|
27
|
+
class E{async getPopupTitle(t){var i,e,s;this.arcade||await this._initModules();let o={};for(const[i,e]of Object.entries(t.attributes))o=Object.assign(Object.assign({},o),{[`{${i.toUpperCase()}}`]:e});const a=t.layer,n=this._removeTags(null===(i=null==a?void 0:a.popupTemplate)||void 0===i?void 0:i.title);if(n.includes("{expression/expr")&&null!=(null===(e=null==a?void 0:a.popupTemplate)||void 0===e?void 0:e.expressionInfos))for(let i=0;i<(null===(s=a.popupTemplate)||void 0===s?void 0:s.expressionInfos.length);i++){const e=a.popupTemplate.expressionInfos[i],s={variables:[{name:"$feature",type:"feature"}]};try{const i=(await this.arcade.createArcadeExecutor(e.expression,s)).execute({$feature:t});null==i&&""===i||(o[`{expression/${e.name}}`.toUpperCase()]=i)}catch(t){continue}}return null==n?void 0:n.replace(/{.*?}/g,(t=>null!=o[t.toUpperCase()]?o[t.toUpperCase()]:""))}_removeTags(t){return null==t||""===t?"":t.toString().replace(/(<([^>]+)>)/gi,"")}async _initModules(){const[t]=await x(["esri/arcade"]);this.arcade=t}}const A=class{constructor(e){t(this,e),this.popupClosed=i(this,"popupClosed",7),this.selectionChanged=i(this,"selectionChanged",7),this.graphics=void 0,this.isLoading=!1,this.isMobile=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._mobileTitle="",this._showListView=!1,this._translations=void 0}async graphicsWatchHandler(){var t;if(this._features||await this._initFeaturesWidget(),this.graphics.length>0){const i=null===(t=this.graphics[0])||void 0===t?void 0:t.layer;this._editEnabled=i.editingEnabled&&i.capabilities.operations.supportsUpdate,this._mobileTitle=await this._popupUtils.getPopupTitle(this.graphics[0]),this._features.open({features:this.graphics})}else this._features.clear(),this._features.close();this._count=this._getCount()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async closeEdit(){this._editRecordOpen=!1}async layerSelectionChange(){this._showListView=!1,this._features.viewModel.featureMenuOpen=!1,this._features.close()}async refreshGraphics(t){this.graphics=[...t.detail]}async componentWillLoad(){await this._initModules(),await this._getTranslations(),this._popupUtils=new E}render(){var t,i,o;const a=this.isLoading?"":"display-none",n=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",l=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",r=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",c=(null===(i=null===(t=this._features)||void 0===t?void 0:t.features)||void 0===i?void 0:i.length)<2,h=this.isMobile?"display-none":"",d=this.isMobile&&!this._editRecordOpen?"padding-top-46":"";return e(s,null,this.isMobile&&!this._editRecordOpen?e("calcite-panel",null,e("calcite-action",{class:"end-border",icon:"chevron-left",iconFlipRtl:!0,onClick:()=>this._closePopup(),scale:"s",slot:"header-actions-start",text:""}),e("span",{class:"font-bold",slot:"header-content"},this._mobileTitle)):void 0,e("calcite-shell",{class:d},e("calcite-loader",{class:a,label:this._translations.fetchingData}),e("div",{class:"esri-widget "+n,id:"features-node"}),e("div",{class:`${r} width-100`,slot:"footer"},e("div",{class:"display-flex top-border padding-1-2"},e("calcite-button",{appearance:"solid",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),this.isMobile?e("calcite-button",{appearance:"outline",class:"padding-inline-start-1",id:"solutions-cancel",onClick:()=>this._closePopup(),width:"full"},this._translations.cancel):void 0,e("calcite-tooltip",{label:"",placement:"bottom","reference-element":"solutions-edit"},e("span",null,this._translations.edit)),this.isMobile?e("calcite-tooltip",{label:"",placement:"bottom","reference-element":"solutions-cancel"},e("span",null,this._translations.cancel)):void 0),e("div",{class:`display-flex padding-1-2 button-container top-border ${h}`},e("div",{class:"min-width-100"},e("calcite-button",{appearance:"outline",disabled:c,id:"solutions-back",onClick:()=>this._back(),width:"full"},this._translations.back),e("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},e("span",null,this._translations.back))),e("div",null,e("calcite-action",{icon:"list",onClick:()=>this._toggleListView(),scale:"s",text:this._count,textEnabled:!0})),e("div",{class:"min-width-100"},e("calcite-button",{appearance:"outline",disabled:c,id:"solutions-next",onClick:()=>this._next(),width:"full"},this._translations.next),e("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-next"},e("span",null,this._translations.next))))),e("edit-card",{class:l,graphicIndex:null===(o=this._features)||void 0===o?void 0:o.selectedFeatureIndex,graphics:this.graphics,mapView:this.mapView,open:this._editRecordOpen}),e("calcite-alert",{icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},e("div",{slot:"title"},this._translations.editDisabled),e("div",{slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,i]=await x(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=i}async _initFeaturesWidget(){var t;return void 0!==this.isMobile?await(null===(t=this.mapView)||void 0===t?void 0:t.when((()=>{this._features?(this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=!1,this._features.visibleElements.heading=!this.isMobile):(this._features=new this.Features({view:this.mapView,container:"features-node",visibleElements:{actionBar:!1,closeButton:!1,heading:!this.isMobile}}),this.reactiveUtils.watch((()=>this._features.viewModel.featureMenuOpen),(t=>{t||(this._showListView=t)})),this.zoomAndScrollToSelected&&this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit([this._features.selectedFeature])})))}))):Promise.resolve()}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features.previous(),this._count=this._getCount()}_next(){this._features.next(),this._count=this._getCount()}_getCount(){var t,i,e;const s=((null===(t=this._features)||void 0===t?void 0:t.viewModel.selectedFeatureIndex)+1).toString(),o=null===(e=null===(i=this._features)||void 0===i?void 0:i.features)||void 0===e?void 0:e.length.toString();return this._translations.indexOfTotal.replace("{{index}}",s).replace("{{total}}",o)}_toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async _getTranslations(){const t=await z(this.el);this._translations=t[0]}get el(){return o(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],isMobile:["isMobileWatchHandler"],mapView:["mapViewWatchHandler"]}}};A.style=":host{display:block;--calcite-label-margin-bottom:0}.padding-1-2{padding:0.5rem}.display-none{display:none !important}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-features__footer{display:none !important}.button-container{justify-content:space-between;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.min-width-100{min-width:100px}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-color-foreground-1) !important;height:100% !important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.padding-top-46{padding-top:46px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:bold}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}";export{q as calcite_alert,W as edit_card,A as info_card}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as a,c as t,h as n,H as s,g as e}from"./p-78780f63.js";import{g as i,a as r,s as l,E as o,b as c,l as p,c as g}from"./p-c9bd3666.js";import{l as d}from"./p-a8a0187d.js";import{c as u}from"./p-86b21da1.js";import{g as h,f as v}from"./p-00f9774c.js";import"./p-225c4ca4.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-14a48b14.js";const m="instant-apps-language-translator",_={BASE:m,header:`${m}__header`,headerText:`${m}__header-text`,savingIndicator:`${m}__saving-indicator`,closeButton:`${m}__close-button`,headerTip:`${m}__header-tip`,topBar:`${m}__top-bar`,topBarSection:`${m}__top-bar-section`,collapseSearchContainer:`${m}__collapse-search-container`,userLangText:`${m}__user-lang-text`,lastItem:`${m}--last-item`,writingIcon:`${m}__writing-icon`},b=class{constructor(n){a(this,n),this.translatorDataUpdated=t(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}async componentDidLoad(){this.initialize()}async initialize(){const[a,t]=await d(["esri/intl","esri/request"]);this.intl=a,this.request=t,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{const{el:a}=this,t=await i(a);return this.messages=t,Promise.resolve()}catch(a){return Promise.reject()}}initUIData(){const{appSettings:a,locales:t}=this,n=r(a,t);l.set("uiData",n)}initSelectLanguage(){var a,t;if(!this.intl)return;const{locales:n}=this,s=null!==(t=null===(a=null==n?void 0:n[0])||void 0===a?void 0:a.locale)&&void 0!==t?t:this.intl.getLocale(),e=l.get("currentLanguage");0===this.locales.filter((a=>a.locale===e)).length&&l.set("currentLanguage",s)}async initPortalItemResourceT9nData(){try{const a=await h(this.portalItem);l.set("portalItemResource",a);const t=await v(this.request,a);l.set("portalItemResourceT9n",null!=t?t:{})}catch(a){}}render(){return n(s,null,this.renderModal(),this.renderPopoverTip())}renderModal(){return n("calcite-modal",{open:this.open,scale:"l",fullscreen:!0,onCalciteModalClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryButton())}renderPopoverTip(){var a;return n("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},n("div",{class:_.headerTip},null===(a=this.messages)||void 0===a?void 0:a.headerTip))}renderHeader(){const a=l.get("saving");return n("header",{class:_.header,slot:"header"},this.renderHeaderText(),a?this.renderSavingIndicator():null)}renderHeaderText(){const{messages:a}=this;return n("div",{class:_.headerText},n("span",null,null==a?void 0:a.header),n("calcite-button",{id:"headerTip",appearance:"transparent"},n("calcite-icon",{icon:o.Popover,scale:"s"})))}renderSavingIndicator(){var a;const t=l.get("saving"),s=null===(a=this.messages)||void 0===a?void 0:a.saving;return n("div",{class:_.savingIndicator},t?n("calcite-loader",{label:s,inline:!0}):null,n("span",null,s))}renderContent(){const a=c(this.locales);return n("div",{slot:"content"},this.renderTopBar(),(null==a?void 0:a.length)>0?this.renderUIData():this.renderNotice())}renderTopBar(){return n("div",{class:_.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return n("div",{class:_.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.languages,s=u(this.el);return n("div",{class:_.userLangText},null==t?void 0:t[s])}renderCollapseSearchContainer(){return n("div",{class:_.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){const{isCollapse:a,messages:t}=this,s=a?null==t?void 0:t.collapseAll:null==t?void 0:t.expandAll;return n("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":o.ExpandCollapse},s)}renderSearch(){var a;return n("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:null===(a=this.messages)||void 0===a?void 0:a.searchPlaceholder})}renderTrailingTopBarSection(){return n("div",{class:_.topBarSection},this.renderLanguageSelection())}renderLanguageSelection(){var a;return n("calcite-label",{layout:"inline"},null===(a=this.messages)||void 0===a?void 0:a.translatedLanguage,n("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){const a=l.get("uiData"),t=null==a?void 0:a.get("locales"),s=c(t);return null==s?void 0:s.map((a=>{const{messages:t}=this,s=null==t?void 0:t.translatedLanguageNames,e=null==t?void 0:t.languages;return n("calcite-option",{key:`translated-lang-option-${a}`,value:a},`${null==s?void 0:s[a]} - ${null==e?void 0:e[a]}`)}))}renderUIData(){if(!(null==p?void 0:p.uiData))return;const a=g();return n("div",null,null==a?void 0:a.map(((t,n)=>this.renderUIDataItem(t,n,a.length))))}renderNotice(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.noLanguage;return n("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},n("div",{slot:"title"},null==t?void 0:t.title),n("div",{slot:"message"},null==t?void 0:t.message))}renderUIDataItem(a,t,s){var e,i;const r=null===(i=null===(e=this.appSettings)||void 0===e?void 0:e.translatedLanguageLabels)||void 0===i?void 0:i[p.currentLanguage],l=`${t===s-1?_.lastItem:""}`,o=this.appSettings.content.filter((t=>t.id===a))[0];return n("instant-apps-language-translator-item",{key:`${a}-${t}`,class:l,fieldName:a,translatedLanguageLabels:r,setting:o,userLocaleInputOnChangeCallback:this.userLocaleInputOnChangeCallback,translatedLocaleInputOnChangeCallback:this.translatedLocaleInputOnChangeCallback})}renderPrimaryButton(){var a;return n("calcite-button",{onClick:()=>this.open=!1,slot:"primary",class:_.closeButton},null===(a=this.messages)||void 0===a?void 0:a.close)}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;const a=new Map(p.uiData);g().forEach((t=>a.get(t).expanded=this.isCollapse)),l.set("uiData",a)}onSuggestionSelect(a){const t=a.detail,n=new Map(p.uiData);g().forEach((a=>{n.get(a).selected=a===t})),l.set("uiData",n)}close(){this.open=!1}handleLanguageSelection(a){l.set("currentLanguage",a.target.value)}get el(){return e(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};b.style=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:0;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}";export{b as instant_apps_language_translator}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as i,c as t,h as s,H as e,g as a}from"./p-78780f63.js";import{l}from"./p-48ff9cea.js";import{g as h,h as n,e as o,f as r,i as d,j as c,k as p,l as g}from"./p-531d91d6.js";import{c as b,e as u,f as v}from"./p-4af32c75.js";import{s as y}from"./p-8684a905.js";import{a as m,g as w}from"./p-6b943f52.js";import{d as f,a as S}from"./p-1bdd64a0.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-225c4ca4.js";import"./p-d89fff3a.js";import"./p-a230b270.js";import"./p-220ec0d1.js";const _=class{constructor(s){i(this,s),this.selectionSetChange=t(this,"selectionSetChange",7),this._selectedIds=[],this._selectionLabel="",this._graphics=[],this._featuresCollection={},this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.enabledLayerIds=[],this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionSet=void 0,this.selectionLayerIds=[],this.selectLayerView=void 0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._numSelected=0,this._searchDistanceEnabled=!1,this._searchTerm=void 0,this._selectionLoading=!1,this._translations=void 0,this._useLayerFeaturesEnabled=!1}async watchGeometriesHandler(i,t){if(i!==t){const t=0===i.length;if(await this._clearResults(t,t),i.length>0)return this._highlightWithOIDsOrGeoms()}}async watchSearchConfigurationHandler(i,t){JSON.stringify(i)!==JSON.stringify(t)&&this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||await this._updateLabel(),{id:this.isUpdate?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools.distance,download:!0,unit:this._bufferTools.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this._searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this._useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}searchConfigurationChangeChanged(i){this.searchConfiguration=i.detail}async distanceChanged(i){await this._distanceChanged(i.detail)}async unitChanged(i){i.detail.newValue!==i.detail.oldValue&&(this._unit=i.detail.newValue,await this._updateLabel())}async componentWillLoad(){await this._getTranslations(),await this._initModules()}async componentDidLoad(){await this._init(),await this._searchWidget.when((()=>{var i;this._searchWidget.allPlaceholder=(null===(i=this.searchConfiguration)||void 0===i?void 0:i.allPlaceholder)&&"find address or place"!==this.searchConfiguration.allPlaceholder.toLowerCase()?this.searchConfiguration.allPlaceholder:this._translations.placeholder}))}render(){return s(e,null,this._getMapLayerPicker(),s("div",{class:"border-bottom"}),s("div",{class:"padding-top-sides-1"},s("div",{class:"search-widget",ref:i=>{this._searchElement=i}}),s("div",{class:"padding-top-1"},s("map-draw-tools",{active:!0,editGraphicsEnabled:!this._useLayerFeaturesEnabled,graphics:this._graphics,mapView:this.mapView,onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,ref:i=>{this._drawTools=i}})),this._getBufferOptions(),this._getUseLayerFeaturesOptions(),this._getNumSelected()),s("div",{class:"border-bottom"}),this._getNameInput())}_getBufferOptions(){var i,t;const e=this._searchDistanceEnabled?"search-distance":"div-not-visible",a="number"==typeof(null===(i=this.selectionSet)||void 0===i?void 0:i.distance)?this.selectionSet.distance:this.defaultBufferDistance;return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.searchDistance,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"search-distance-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"search-distance-icon"},s("span",{class:"tooltip-message"},this._translations.useSearchDistanceTootip)),s("calcite-switch",{checked:this._searchDistanceEnabled,onCalciteSwitchChange:()=>this._searchDistanceEnabled=!this._searchDistanceEnabled})),s("div",{class:e},s("buffer-tools",{disabled:!this._searchDistanceEnabled,distance:a,geometries:this.geometries,onBufferComplete:i=>this._bufferComplete(i),ref:i=>this._bufferTools=i,unit:(null===(t=this.selectionSet)||void 0===t?void 0:t.unit)||this.defaultBufferUnit})))}_getUseLayerFeaturesOptions(){const i=this._useLayerFeaturesEnabled?"div-visible":"div-not-visible";return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.useLayerFeatures,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"use-layer-features-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"use-layer-features-icon"},s("span",{class:"tooltip-message"},this._translations.useLayerFeaturesTooltip)),s("calcite-switch",{checked:this._useLayerFeaturesEnabled,onCalciteSwitchChange:()=>{this._useLayerFeaturesEnabledChanged()}})),s("div",{class:i+" padding-top-1"},s("map-layer-picker",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},selectedIds:this.layerViews.map((i=>i.layer.id)),showTables:!1})))}_getNumSelected(){const i=m(this.el),t=i&&"en"===i?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return s("div",{class:"padding-top-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},this._selectionLoading?s("div",null,s("calcite-loader",{class:"info-blue",inline:!0,label:t,scale:"m",type:"indeterminate"})):s("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),s("calcite-input-message",{class:"info-blue",scale:"m"},this._selectionLoading?t:this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())))}_getNameInput(){return s("div",{class:"padding-sides-1 padding-top-1 "+(this.customLabelEnabled?"":"display-none")},s("calcite-label",{class:"font-bold"},this._translations.listName,s("calcite-input",{onInput:()=>{this._selectionLabel=this._labelName.value},placeholder:this._translations.listNamePlaceholder,ref:i=>{this._labelName=i},value:this._selectionLabel||""})))}_getMapLayerPicker(){return s("div",{class:"display-flex padding-sides-1 padding-bottom-1"},s("calcite-label",{class:"font-bold width-full label-margin-0"},this._translations.inputLayer,s("map-layer-picker",{enabledLayerIds:this.enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>this._inputLayerSelectionChange(i),selectedIds:this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet?[this.selectionSet.layerView.layer.id]:[],showTables:!1})))}async _initModules(){const[i,t,s,e,a]=await l(["esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this.GraphicsLayer=i,this.Graphic=t,this.Search=s,this._geometryEngine=e,this.FeatureLayer=a}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),this._initSearchWidget()}async _initSelectionSet(){var i,t,s,e;this.selectionSet&&(this._searchTerm=null===(i=this.selectionSet.searchResult)||void 0===i?void 0:i.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs,this._searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this._useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...(null===(t=this.selectionSet)||void 0===t?void 0:t.geometries)||[]],this._graphics=this.geometries.map((i=>new this.Graphic({geometry:i,symbol:"point"===i.type?this.sketchPointSymbol:"polyline"===i.type?this.sketchLineSymbol:this.sketchPolygonSymbol}))),this._selectionLabel=null===(s=this.selectionSet)||void 0===s?void 0:s.label,this._useLayerFeaturesEnabled||null===(e=this._drawTools)||void 0===e||e.updateGraphics(),await h(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}_initSearchWidget(){if(this.mapView&&this._searchElement){const i=this._getSearchConfig(this.searchConfiguration,this.mapView),t=Object.assign({view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm},i);this._searchWidget=new this.Search(t),this._searchWidget.popupEnabled=!1,this._searchWidget.resultGraphicEnabled=!1,this._searchWidget.on("search-clear",(()=>{const i=this._searchClearLabel();this._clearResults(!1,i)})),this._searchWidget.on("select-result",(i=>{var t,s;if(i.result){this._searchResult=i.result;const e=(null===(s=null===(t=i.source)||void 0===t?void 0:t.layer)||void 0===s?void 0:s.id)&&i.source.layer.id===this.selectLayerView.layer.id,a=e?[i.result.feature.getObjectId()]:void 0;this._workflowType=b.SEARCH,this._updateLabel();const l=[i.result.feature];this._updateSelection(l,e,a),this._drawTools.graphics=l,this._searchWidget.resultGraphic.visible=!1}else{const i=this._searchClearLabel();this._clearResults(!1,i)}}))}}_searchClearLabel(){var i;return(null===(i=this._searchResult)||void 0===i?void 0:i.name)&&this._labelName.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(i,t){const s=null==i?void 0:i.sources;return(null==s?void 0:s.length)>0?(i.includeDefaultSources=!1,s.forEach((i=>{var s,e;if(i.hasOwnProperty("layer")){const a=i,l=null===(s=a.layer)||void 0===s?void 0:s.id,h=l?t.map.findLayerById(l):null,n=null===(e=null==a?void 0:a.layer)||void 0===e?void 0:e.url;h?a.layer=h:n&&(a.layer=new this.FeatureLayer(n))}})),null==s||s.forEach((i=>{if(i.hasOwnProperty("locator")){const t=i;"ArcGIS World Geocoding Service"===(null==t?void 0:t.name)&&(t.outFields=t.outFields||["Addr_type","Match_addr","StAddr","City"],t.singleLineFieldName="SingleLine"),t.url=t.url,delete t.url}}))):i=Object.assign(Object.assign({},i),{includeDefaultSources:!0}),i}_initGraphicsLayer(){const i=this._translations.bufferLayer,t=this.mapView.map.layers.findIndex((t=>t.title===i));if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else{this._bufferGraphicsLayer=new this.GraphicsLayer({title:i,listMode:"hide"}),y.managedLayers.push(i);const t=this.mapView.map.layers.findIndex((i=>i.title===this._translations.sketchLayer));t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}async _sketchGraphicsChanged(i,t=!1){const s=i.detail.graphics;if(s.length>0&&s[0])if(t||(this._sketchGraphic=s[0]),this._workflowType=this._useLayerFeaturesEnabled?b.SELECT:b.SKETCH,this._workflowType===b.SKETCH&&this._drawTools.updateGraphics(),await this._updateLabel(),this._clearSearchWidget(),this._useLayerFeaturesEnabled&&!t){const i=Array.isArray(s)?s.map((i=>i.geometry)):this.geometries;await this._selectLayerFeatures(i[0])}else{const t=s.reduce(((i,t)=>{var s;return(null===(s=null==t?void 0:t.layer)||void 0===s?void 0:s.objectIdField)?i.push(t.attributes[t.layer.objectIdField]):t.getObjectId&&i.push(t.getObjectId()),i}),[]),e=i.detail.useOIDs&&t.length>0;this._updateSelection(s,e,t),e&&await this._highlightFeatures(t)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){var i;return(null===(i=this._skipGeomOIDs)||void 0===i?void 0:i.length)>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(i){y.removeHandles(),i.length>0&&y.highlightHandles.push(await n(i,this.selectLayerView,this.mapView)),this._numSelected=i.length,this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectionLoading=!0,this._selectedIds=await o(i,this.selectLayerView.layer),this._selectionLoading=!1,this._drawTools.graphics=this._graphics,await this._highlightFeatures(this._selectedIds)}async _bufferComplete(i){this._bufferGeometry=Array.isArray(i.detail)?i.detail[0]:i.detail;let t=this._bufferTools.distance,s=0;if(this._bufferGeometry){const i=new this.Graphic({geometry:this._bufferGeometry,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(i.geometry.extent),s=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();await this._distanceChanged({oldValue:t,newValue:s})}_geomQuery(i){const t=r(i,this._geometryEngine);return this._selectFeatures(t)}async _clearResults(i=!0,t=!1){var s;this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName.value=""),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),i&&this._searchWidget&&this._clearSearchWidget(),y.removeHandles(),(null===(s=this._drawTools)||void 0===s?void 0:s.clear)&&(this._graphics=[],await this._drawTools.clear()),this.selectionSetChange.emit(this._selectedIds.length)}_clearSearchWidget(){this._searchWidget.clear(),this._searchResult=void 0}_updateSelection(i,t,s){this._selectedIds=t&&s?s:this._selectedIds,this._skipGeomOIDs=t?s:void 0,this.geometries=Array.isArray(i)?i.map((i=>i.geometry)):this.geometries,this._graphics=i}async _updateLabel(){var i,t;const s=this._selectionLabel.indexOf(this._translations.sketch)>-1,e=this._selectionLabel.indexOf(this._translations.select)>-1,a=this._selectionLabel.indexOf(null===(i=this._searchResult)||void 0===i?void 0:i.name)>-1,l=this._workflowType===b.SEARCH?null===(t=this._searchResult)||void 0===t?void 0:t.name:this._workflowType===b.SELECT?this._translations.select:this._translations.sketch,h=this._unit?this._unit:this._bufferTools.unit,n=await this._bufferTools.getTranslatedUnit(h),o=isNaN(this._distance)?this._bufferTools.distance:this._distance;this._selectionLabel=s||e||a||!this._selectionLabel?`${l} ${o} ${n}`:this._selectionLabel,this._labelName.value=this._selectionLabel}async _layerSelectionChange(i){if(Array.isArray(i.detail)&&i.detail.length>0){const t=i.detail.map((i=>d(this.mapView,i)));return Promise.all(t).then((i=>{this.layerViews=i,this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}))}}async _inputLayerSelectionChange(i){var t;const s=(null===(t=null==i?void 0:i.detail)||void 0===t?void 0:t.length)>0?i.detail[0]:"";this.selectLayerView&&s===this.selectLayerView.layer.id||(this.selectLayerView=await d(this.mapView,s),await this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}async _distanceChanged(i){i.newValue!==i.oldValue&&(this._distance=i.newValue,await this._updateLabel())}async _selectLayerFeatures(i){this._selectionLoading=!0;const t=this.layerViews.map((t=>(this._featuresCollection[t.layer.id]=[],c(0,t.layer,i,this._featuresCollection))));return Promise.all(t).then((async i=>{this._selectionLoading=!1;let t=[];i.forEach((i=>{Object.keys(i).forEach((s=>{t=t.concat(i[s])}))}));let s=!1;t.forEach((i=>{var t;const e=i.geometry;i.symbol="point"===e.type?this.sketchPointSymbol:"polyline"===e.type?this.sketchLineSymbol:"polygon"===e.type?this.sketchPolygonSymbol:void 0,s=(null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.hasOwnProperty("objectIdField"))||i.hasOwnProperty("getObjectId")}));const e=this.layerViews[0].layer.title===this.selectLayerView.layer.title&&s;await this._sketchGraphicsChanged({detail:{graphics:t,useOIDs:e}},!0)}))}_useLayerFeaturesEnabledChanged(){this._useLayerFeaturesEnabled=!this._useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}async _getTranslations(){const i=await w(this.el);this._translations=i[0]}get el(){return a(this)}static get watchers(){return{geometries:["watchGeometriesHandler"],searchConfiguration:["watchSearchConfigurationHandler"]}}};_.style=':host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem" !important}.end-border{border-inline-end:1px solid var(--calcite-color-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.tooltip-container{display:flex}.padding-start-1-2{padding-inline-start:0.5rem}.icon{--calcite-color-icon-color:var(--calcite-color-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}';const L=Object.freeze({__proto__:null,default:[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}]}),P=class{constructor(t){i(this,t),this.defaultNumLabelsPerPage=void 0,this.disabled=!1,this._translations=void 0}async downloadCSV(i,t,s,e=!0){return f(i,t,!0,s,e)}async downloadPDF(i,t,s=!1,e="",a=""){var l;return S(i,t,null===(l=this._labelInfoElement.selectedOption)||void 0===l?void 0:l.value,s,e,a)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return s(e,null,s("calcite-select",{disabled:this.disabled,label:"",ref:i=>{this._labelInfoElement=i}}))}componentDidLoad(){this._renderOptions()}async _initModules(){const[i]=await l(["esri/intl"]);this._intl=i}_getLabelSizeText(i){const t="‎"+i.descriptionPDF.labelWidthDisplay+" x "+i.descriptionPDF.labelHeightDisplay+"‏";return this._translations.pdfLabel.replace("{{n}}",i.descriptionPDF.labelsPerPageDisplay).replace("{{labelSize}}",t)}async _getTranslations(){const i=await w(this.el);this._translations=i[0]}_renderOptions(){(L.default||L).sort(((i,t)=>{const s=parseInt(i.descriptionPDF.labelsPerPageDisplay,10),e=parseInt(t.descriptionPDF.labelsPerPageDisplay,10);return s<e?-1:s>e?1:0})).forEach(((i,t)=>{const s=document.createElement("calcite-option");s.value=i,s.innerHTML=this._getLabelSizeText(i),this._labelInfoElement.appendChild(s),(this.defaultNumLabelsPerPage?parseInt(i.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:0===t)&&(s.selected=!0,this._labelInfoElement.selectedOption=s)}))}get el(){return a(this)}};P.style=":host{display:block}";const x=class{constructor(s){i(this,s),this.selectionLoadingChange=t(this,"selectionLoadingChange",7),this.selectionSetsChanged=t(this,"selectionSetsChanged",7),this._addEnabled=!0,this._refineSets=[],this._enabledLayerIds=[],this._featuresCollection={},this.addresseeLayer=void 0,this.enabledLayerIds=[],this.mapView=void 0,this.selectionSets=[],this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._translations=void 0,this._selectionMode=u.ADD,this._refineLayer=void 0}async componentWillLoad(){await this._getTranslations(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){var i,t;return s(e,null,s("div",{class:(this._enabledLayerIds.length>1?"display-block":"display-none")+" padding-top-sides-1"},s("div",{class:"display-flex"},s("calcite-label",{class:"font-bold width-full label-margin-0"},s("div",{class:"display-flex"},this._translations.inputLayer,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"refine-input-layer",scale:"s"})),s("map-layer-picker",{enabledLayerIds:this._enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},ref:i=>{this._layerPicker=i},selectedIds:[this._refineLayer.layer.id],showTables:!1})),s("calcite-popover",{closable:!0,label:"",referenceElement:"refine-input-layer"},s("span",{class:"tooltip-message"},this._translations.inputLayerTip)))),s("div",{class:"padding-1"},s("div",{class:"padding-bottom-1"},s("calcite-segmented-control",{class:"w-100"},s("calcite-segmented-control-item",{checked:this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(u.ADD),value:u.ADD},s("span",{class:"font-weight-500"},this._translations.add)),s("calcite-segmented-control-item",{checked:!this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(u.REMOVE),value:u.REMOVE},s("span",{class:"font-weight-500"},this._translations.remove)))),s("div",null,s("map-draw-tools",{active:!0,drawMode:v.REFINE,mapView:this.mapView,onDrawRedo:()=>this._redo(),onDrawUndo:()=>this._undo(),onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,redoEnabled:(null===(i=this._refineSelectionSet)||void 0===i?void 0:i.redoStack.length)>0,ref:i=>{this._drawTools=i},undoEnabled:(null===(t=this._refineSelectionSet)||void 0===t?void 0:t.undoStack.length)>0})),s("br",null),s("calcite-list",{class:"list-border"},this._getRefineSelectionSetList())))}_layerSelectionChange(i){this._setRefineSet(i.detail[0])}_setSelectionMode(i){this._selectionMode=i}_sketchGraphicsChanged(i){var t;const s=null===(t=i.detail)||void 0===t?void 0:t.graphics[0].geometry;this._selectFeatures(s)}_getEnabledLayerIds(){return this.selectionSets.reduce(((i,t)=>{var s;const e=null===(s=null==t?void 0:t.layerView)||void 0===s?void 0:s.layer.id;return e&&i.indexOf(e)<0?i.push(e):t.workflowType===b.REFINE&&Object.keys(t.refineInfos).forEach((t=>{i.indexOf(t)<0&&i.push(t)})),i}),[])}async _setRefineSet(i){this.selectionSets.some((t=>{if(t.workflowType===b.REFINE)return this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(i)>-1}))||await this._initRefineSet(i,this._refineSelectionSet),this._refineLayer=this._refineSelectionSet.refineInfos[i].layerView}async _initRefineSet(i,t){const s={};s[i]={addIds:[],removeIds:[],layerView:await d(this.mapView,i)},t?t.refineInfos=Object.assign(Object.assign({},t.refineInfos),s):(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:b.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:s,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){const i=this._refineSelectionSet.undoStack.pop();this._updateIds(i.ids,i.mode===u.ADD?u.REMOVE:u.ADD,this._refineSelectionSet.redoStack,i.layerView)}_redo(){const i=this._refineSelectionSet.redoStack.pop();this._updateIds(i.ids,i.mode===u.ADD?u.REMOVE:u.ADD,this._refineSelectionSet.undoStack,i.layerView)}_getRefineSelectionSetList(){const i=this._getTotal(this.selectionSets);let t;this.selectionSets.some((i=>{if(i.workflowType===b.REFINE)return t=i,!0}));let e=0,a=0;return Object.keys(t.refineInfos).forEach((i=>{e+=t.refineInfos[i].addIds.length,a+=t.refineInfos[i].removeIds.length})),[s("calcite-list-item",{label:this._translations.featuresAdded.replace("{{n}}",e.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.featuresRemoved.replace("{{n}}",a.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.totalSelected.replace("{{n}}",i.toString()),"non-interactive":!0})]}_getTotal(i){const t=p(i);return Object.keys(t).reduce(((i,s)=>i+t[s].ids.length),0)}async _getTranslations(){const i=await w(this.el);this._translations=i[0]}async _selectFeatures(i){var t,s;this.selectionLoadingChange.emit(!0),this._featuresCollection[null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id]=[];const e=await c(0,null===(s=this._refineLayer)||void 0===s?void 0:s.layer,i,this._featuresCollection);this.selectionLoadingChange.emit(!1);let a=[];Object.keys(e).forEach((i=>{var t;i===(null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id)&&(a=a.concat(e[i]))}));const l=Array.isArray(a)?a.map((i=>{var t;return i.attributes[null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.objectIdField]})):[];await this._updateIds(l,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.clear()}async _highlightFeatures(){this._clearHighlight(),y.highlightHandles=await g(this.selectionSets)}_clearHighlight(){y.removeHandles()}async _updateIds(i,t,s,e){let a=!1;const l=this._refineSelectionSet.refineInfos,h=e.layer.id,n={};n[h]={addIds:[],removeIds:[],layerView:e};const o=Object.keys(l).indexOf(h)>-1?l[h]:n[h];if(t===u.ADD)o.addIds=[...new Set([...i,...o.addIds])],o.addIds.length>0&&s.push({ids:i,mode:t,layerView:e}),o.removeIds.length>0&&(o.removeIds=o.removeIds.filter((t=>i.indexOf(t)<0)));else{const l=this.selectionSets.reduce(((t,s)=>(i.forEach((i=>{s.workflowType!==b.REFINE?s.selectedIds.indexOf(i)>-1&&t.push(i):Object.keys(s.refineInfos).some((a=>{const l=s.refineInfos[a];if(l.layerView.layer.id===e.layer.id&&l.addIds.indexOf(i)>-1)return t.push(i),!0}))})),t)),[]);o.removeIds=[...new Set([...l,...o.removeIds])],o.addIds=o.addIds.filter((i=>l.indexOf(i)<0)),o.removeIds.length>0&&s.push({ids:l,mode:t,layerView:e}),this.selectionSets=this.selectionSets.reduce(((i,t)=>(t.workflowType!==b.REFINE&&t.layerView.layer.id===e.layer.id?(t.selectedIds=t.selectedIds.filter((i=>o.removeIds.indexOf(i)<0)),t.selectedIds.length>0?i.push(t):a=!0):i.push(t),i)),[])}this._refineSelectionSet.refineInfos[h]=o,this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}get el(){return a(this)}};x.style=':host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-color-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-color-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{padding-inline-start:0.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}';export{_ as map_select_tools,P as pdf_download,x as refine_selection}
|
6
|
+
import{r as i,c as t,h as s,H as e,g as a}from"./p-78780f63.js";import{l}from"./p-48ff9cea.js";import{g as h,h as n,e as o,f as r,i as d,j as c,k as p,l as g}from"./p-b5d1b979.js";import{c as b,e as u,f as v}from"./p-4af32c75.js";import{s as y}from"./p-8684a905.js";import{a as m,g as f}from"./p-6b943f52.js";import{d as w,a as S}from"./p-d4afcf86.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-225c4ca4.js";import"./p-d89fff3a.js";import"./p-a230b270.js";import"./p-220ec0d1.js";const _=class{constructor(s){i(this,s),this.selectionSetChange=t(this,"selectionSetChange",7),this._selectedIds=[],this._selectionLabel="",this._graphics=[],this._featuresCollection={},this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.enabledLayerIds=[],this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionSet=void 0,this.selectionLayerIds=[],this.selectLayerView=void 0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._numSelected=0,this._searchDistanceEnabled=!1,this._searchTerm=void 0,this._selectionLoading=!1,this._translations=void 0,this._useLayerFeaturesEnabled=!1}async watchGeometriesHandler(i,t){if(i!==t){const t=0===i.length;if(await this._clearResults(t,t),i.length>0)return this._highlightWithOIDsOrGeoms()}}async watchSearchConfigurationHandler(i,t){JSON.stringify(i)!==JSON.stringify(t)&&this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||await this._updateLabel(),{id:this.isUpdate?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools.distance,download:!0,unit:this._bufferTools.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this._searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this._useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}searchConfigurationChangeChanged(i){this.searchConfiguration=i.detail}async distanceChanged(i){await this._distanceChanged(i.detail)}async unitChanged(i){i.detail.newValue!==i.detail.oldValue&&(this._unit=i.detail.newValue,await this._updateLabel())}async componentWillLoad(){await this._getTranslations(),await this._initModules()}async componentDidLoad(){await this._init(),await this._searchWidget.when((()=>{var i;this._searchWidget.allPlaceholder=(null===(i=this.searchConfiguration)||void 0===i?void 0:i.allPlaceholder)&&"find address or place"!==this.searchConfiguration.allPlaceholder.toLowerCase()?this.searchConfiguration.allPlaceholder:this._translations.placeholder}))}render(){return s(e,null,this._getMapLayerPicker(),s("div",{class:"border-bottom"}),s("div",{class:"padding-top-sides-1"},s("div",{class:"search-widget",ref:i=>{this._searchElement=i}}),s("div",{class:"padding-top-1"},s("map-draw-tools",{active:!0,editGraphicsEnabled:!this._useLayerFeaturesEnabled,graphics:this._graphics,mapView:this.mapView,onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,ref:i=>{this._drawTools=i}})),this._getBufferOptions(),this._getUseLayerFeaturesOptions(),this._getNumSelected()),s("div",{class:"border-bottom"}),this._getNameInput())}_getBufferOptions(){var i,t;const e=this._searchDistanceEnabled?"search-distance":"div-not-visible",a="number"==typeof(null===(i=this.selectionSet)||void 0===i?void 0:i.distance)?this.selectionSet.distance:this.defaultBufferDistance;return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.searchDistance,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"search-distance-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"search-distance-icon"},s("span",{class:"tooltip-message"},this._translations.useSearchDistanceTootip)),s("calcite-switch",{checked:this._searchDistanceEnabled,onCalciteSwitchChange:()=>this._searchDistanceEnabled=!this._searchDistanceEnabled})),s("div",{class:e},s("buffer-tools",{disabled:!this._searchDistanceEnabled,distance:a,geometries:this.geometries,onBufferComplete:i=>this._bufferComplete(i),ref:i=>this._bufferTools=i,unit:(null===(t=this.selectionSet)||void 0===t?void 0:t.unit)||this.defaultBufferUnit})))}_getUseLayerFeaturesOptions(){const i=this._useLayerFeaturesEnabled?"div-visible":"div-not-visible";return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.useLayerFeatures,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"use-layer-features-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"use-layer-features-icon"},s("span",{class:"tooltip-message"},this._translations.useLayerFeaturesTooltip)),s("calcite-switch",{checked:this._useLayerFeaturesEnabled,onCalciteSwitchChange:()=>{this._useLayerFeaturesEnabledChanged()}})),s("div",{class:i+" padding-top-1"},s("map-layer-picker",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},selectedIds:this.layerViews.map((i=>i.layer.id)),showTables:!1})))}_getNumSelected(){const i=m(this.el),t=i&&"en"===i?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return s("div",{class:"padding-top-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},this._selectionLoading?s("div",null,s("calcite-loader",{class:"info-blue",inline:!0,label:t,scale:"m",type:"indeterminate"})):s("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),s("calcite-input-message",{class:"info-blue",scale:"m"},this._selectionLoading?t:this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())))}_getNameInput(){return s("div",{class:"padding-sides-1 padding-top-1 "+(this.customLabelEnabled?"":"display-none")},s("calcite-label",{class:"font-bold"},this._translations.listName,s("calcite-input",{onInput:()=>{this._selectionLabel=this._labelName.value},placeholder:this._translations.listNamePlaceholder,ref:i=>{this._labelName=i},value:this._selectionLabel||""})))}_getMapLayerPicker(){return s("div",{class:"display-flex padding-sides-1 padding-bottom-1"},s("calcite-label",{class:"font-bold width-full label-margin-0"},this._translations.inputLayer,s("map-layer-picker",{enabledLayerIds:this.enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>this._inputLayerSelectionChange(i),selectedIds:this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet?[this.selectionSet.layerView.layer.id]:[],showTables:!1})))}async _initModules(){const[i,t,s,e,a]=await l(["esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this.GraphicsLayer=i,this.Graphic=t,this.Search=s,this._geometryEngine=e,this.FeatureLayer=a}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),this._initSearchWidget()}async _initSelectionSet(){var i,t,s,e;this.selectionSet&&(this._searchTerm=null===(i=this.selectionSet.searchResult)||void 0===i?void 0:i.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs,this._searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this._useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...(null===(t=this.selectionSet)||void 0===t?void 0:t.geometries)||[]],this._graphics=this.geometries.map((i=>new this.Graphic({geometry:i,symbol:"point"===i.type?this.sketchPointSymbol:"polyline"===i.type?this.sketchLineSymbol:this.sketchPolygonSymbol}))),this._selectionLabel=null===(s=this.selectionSet)||void 0===s?void 0:s.label,this._useLayerFeaturesEnabled||null===(e=this._drawTools)||void 0===e||e.updateGraphics(),await h(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}_initSearchWidget(){if(this.mapView&&this._searchElement){const i=this._getSearchConfig(this.searchConfiguration,this.mapView),t=Object.assign({view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm},i);this._searchWidget=new this.Search(t),this._searchWidget.popupEnabled=!1,this._searchWidget.resultGraphicEnabled=!1,this._searchWidget.on("search-clear",(()=>{const i=this._searchClearLabel();this._clearResults(!1,i)})),this._searchWidget.on("select-result",(i=>{var t,s;if(i.result){this._searchResult=i.result;const e=(null===(s=null===(t=i.source)||void 0===t?void 0:t.layer)||void 0===s?void 0:s.id)&&i.source.layer.id===this.selectLayerView.layer.id,a=e?[i.result.feature.getObjectId()]:void 0;this._workflowType=b.SEARCH,this._updateLabel();const l=[i.result.feature];this._updateSelection(l,e,a),this._drawTools.graphics=l,this._searchWidget.resultGraphic.visible=!1}else{const i=this._searchClearLabel();this._clearResults(!1,i)}}))}}_searchClearLabel(){var i;return(null===(i=this._searchResult)||void 0===i?void 0:i.name)&&this._labelName.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(i,t){const s=null==i?void 0:i.sources;return(null==s?void 0:s.length)>0?(i.includeDefaultSources=!1,s.forEach((i=>{var s,e;if(i.hasOwnProperty("layer")){const a=i,l=null===(s=a.layer)||void 0===s?void 0:s.id,h=l?t.map.findLayerById(l):null,n=null===(e=null==a?void 0:a.layer)||void 0===e?void 0:e.url;h?a.layer=h:n&&(a.layer=new this.FeatureLayer(n))}})),null==s||s.forEach((i=>{if(i.hasOwnProperty("locator")){const t=i;"ArcGIS World Geocoding Service"===(null==t?void 0:t.name)&&(t.outFields=t.outFields||["Addr_type","Match_addr","StAddr","City"],t.singleLineFieldName="SingleLine"),t.url=t.url,delete t.url}}))):i=Object.assign(Object.assign({},i),{includeDefaultSources:!0}),i}_initGraphicsLayer(){const i=this._translations.bufferLayer,t=this.mapView.map.layers.findIndex((t=>t.title===i));if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else{this._bufferGraphicsLayer=new this.GraphicsLayer({title:i,listMode:"hide"}),y.managedLayers.push(i);const t=this.mapView.map.layers.findIndex((i=>i.title===this._translations.sketchLayer));t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}async _sketchGraphicsChanged(i,t=!1){const s=i.detail.graphics;if(s.length>0&&s[0])if(t||(this._sketchGraphic=s[0]),this._workflowType=this._useLayerFeaturesEnabled?b.SELECT:b.SKETCH,this._workflowType===b.SKETCH&&this._drawTools.updateGraphics(),await this._updateLabel(),this._clearSearchWidget(),this._useLayerFeaturesEnabled&&!t){const i=Array.isArray(s)?s.map((i=>i.geometry)):this.geometries;await this._selectLayerFeatures(i[0])}else{const t=s.reduce(((i,t)=>{var s;return(null===(s=null==t?void 0:t.layer)||void 0===s?void 0:s.objectIdField)?i.push(t.attributes[t.layer.objectIdField]):t.getObjectId&&i.push(t.getObjectId()),i}),[]),e=i.detail.useOIDs&&t.length>0;this._updateSelection(s,e,t),e&&await this._highlightFeatures(t)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){var i;return(null===(i=this._skipGeomOIDs)||void 0===i?void 0:i.length)>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(i){y.removeHandles(),i.length>0&&y.highlightHandles.push(await n(i,this.selectLayerView,this.mapView)),this._numSelected=i.length,this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectionLoading=!0,this._selectedIds=await o(i,this.selectLayerView.layer),this._selectionLoading=!1,this._drawTools.graphics=this._graphics,await this._highlightFeatures(this._selectedIds)}async _bufferComplete(i){this._bufferGeometry=Array.isArray(i.detail)?i.detail[0]:i.detail;let t=this._bufferTools.distance,s=0;if(this._bufferGeometry){const i=new this.Graphic({geometry:this._bufferGeometry,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(i.geometry.extent),s=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();await this._distanceChanged({oldValue:t,newValue:s})}_geomQuery(i){const t=r(i,this._geometryEngine);return this._selectFeatures(t)}async _clearResults(i=!0,t=!1){var s;this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName.value=""),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),i&&this._searchWidget&&this._clearSearchWidget(),y.removeHandles(),(null===(s=this._drawTools)||void 0===s?void 0:s.clear)&&(this._graphics=[],await this._drawTools.clear()),this.selectionSetChange.emit(this._selectedIds.length)}_clearSearchWidget(){this._searchWidget.clear(),this._searchResult=void 0}_updateSelection(i,t,s){this._selectedIds=t&&s?s:this._selectedIds,this._skipGeomOIDs=t?s:void 0,this.geometries=Array.isArray(i)?i.map((i=>i.geometry)):this.geometries,this._graphics=i}async _updateLabel(){var i,t;const s=this._selectionLabel.indexOf(this._translations.sketch)>-1,e=this._selectionLabel.indexOf(this._translations.select)>-1,a=this._selectionLabel.indexOf(null===(i=this._searchResult)||void 0===i?void 0:i.name)>-1,l=this._workflowType===b.SEARCH?null===(t=this._searchResult)||void 0===t?void 0:t.name:this._workflowType===b.SELECT?this._translations.select:this._translations.sketch,h=this._unit?this._unit:this._bufferTools.unit,n=await this._bufferTools.getTranslatedUnit(h),o=isNaN(this._distance)?this._bufferTools.distance:this._distance;this._selectionLabel=s||e||a||!this._selectionLabel?`${l} ${o} ${n}`:this._selectionLabel,this._labelName.value=this._selectionLabel}async _layerSelectionChange(i){if(Array.isArray(i.detail)&&i.detail.length>0){const t=i.detail.map((i=>d(this.mapView,i)));return Promise.all(t).then((i=>{this.layerViews=i,this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}))}}async _inputLayerSelectionChange(i){var t;const s=(null===(t=null==i?void 0:i.detail)||void 0===t?void 0:t.length)>0?i.detail[0]:"";this.selectLayerView&&s===this.selectLayerView.layer.id||(this.selectLayerView=await d(this.mapView,s),await this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}async _distanceChanged(i){i.newValue!==i.oldValue&&(this._distance=i.newValue,await this._updateLabel())}async _selectLayerFeatures(i){this._selectionLoading=!0;const t=this.layerViews.map((t=>(this._featuresCollection[t.layer.id]=[],c(0,t.layer,i,this._featuresCollection))));return Promise.all(t).then((async i=>{this._selectionLoading=!1;let t=[];i.forEach((i=>{Object.keys(i).forEach((s=>{t=t.concat(i[s])}))}));let s=!1;t.forEach((i=>{var t;const e=i.geometry;i.symbol="point"===e.type?this.sketchPointSymbol:"polyline"===e.type?this.sketchLineSymbol:"polygon"===e.type?this.sketchPolygonSymbol:void 0,s=(null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.hasOwnProperty("objectIdField"))||i.hasOwnProperty("getObjectId")}));const e=this.layerViews[0].layer.title===this.selectLayerView.layer.title&&s;await this._sketchGraphicsChanged({detail:{graphics:t,useOIDs:e}},!0)}))}_useLayerFeaturesEnabledChanged(){this._useLayerFeaturesEnabled=!this._useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}async _getTranslations(){const i=await f(this.el);this._translations=i[0]}get el(){return a(this)}static get watchers(){return{geometries:["watchGeometriesHandler"],searchConfiguration:["watchSearchConfigurationHandler"]}}};_.style=':host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem" !important}.end-border{border-inline-end:1px solid var(--calcite-color-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.tooltip-container{display:flex}.padding-start-1-2{padding-inline-start:0.5rem}.icon{--calcite-color-icon-color:var(--calcite-color-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}';const L=Object.freeze({__proto__:null,default:[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}]}),P=class{constructor(t){i(this,t),this.defaultNumLabelsPerPage=void 0,this.disabled=!1,this._translations=void 0}async downloadCSV(i,t,s,e=!0){return w(i,t,!0,s,e)}async downloadPDF(i,t,s=!1,e="",a=""){var l;return S(i,t,null===(l=this._labelInfoElement.selectedOption)||void 0===l?void 0:l.value,s,e,a)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return s(e,null,s("calcite-select",{disabled:this.disabled,label:"",ref:i=>{this._labelInfoElement=i}}))}componentDidLoad(){this._renderOptions()}async _initModules(){const[i]=await l(["esri/intl"]);this._intl=i}_getLabelSizeText(i){const t="‎"+i.descriptionPDF.labelWidthDisplay+" x "+i.descriptionPDF.labelHeightDisplay+"‏";return this._translations.pdfLabel.replace("{{n}}",i.descriptionPDF.labelsPerPageDisplay).replace("{{labelSize}}",t)}async _getTranslations(){const i=await f(this.el);this._translations=i[0]}_renderOptions(){(L.default||L).sort(((i,t)=>{const s=parseInt(i.descriptionPDF.labelsPerPageDisplay,10),e=parseInt(t.descriptionPDF.labelsPerPageDisplay,10);return s<e?-1:s>e?1:0})).forEach(((i,t)=>{const s=document.createElement("calcite-option");s.value=i,s.innerHTML=this._getLabelSizeText(i),this._labelInfoElement.appendChild(s),(this.defaultNumLabelsPerPage?parseInt(i.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:0===t)&&(s.selected=!0,this._labelInfoElement.selectedOption=s)}))}get el(){return a(this)}};P.style=":host{display:block}";const x=class{constructor(s){i(this,s),this.selectionLoadingChange=t(this,"selectionLoadingChange",7),this.selectionSetsChanged=t(this,"selectionSetsChanged",7),this._addEnabled=!0,this._refineSets=[],this._enabledLayerIds=[],this._featuresCollection={},this.addresseeLayer=void 0,this.enabledLayerIds=[],this.mapView=void 0,this.selectionSets=[],this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._translations=void 0,this._selectionMode=u.ADD,this._refineLayer=void 0}async componentWillLoad(){await this._getTranslations(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){var i,t;return s(e,null,s("div",{class:(this._enabledLayerIds.length>1?"display-block":"display-none")+" padding-top-sides-1"},s("div",{class:"display-flex"},s("calcite-label",{class:"font-bold width-full label-margin-0"},s("div",{class:"display-flex"},this._translations.inputLayer,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"refine-input-layer",scale:"s"})),s("map-layer-picker",{enabledLayerIds:this._enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},ref:i=>{this._layerPicker=i},selectedIds:[this._refineLayer.layer.id],showTables:!1})),s("calcite-popover",{closable:!0,label:"",referenceElement:"refine-input-layer"},s("span",{class:"tooltip-message"},this._translations.inputLayerTip)))),s("div",{class:"padding-1"},s("div",{class:"padding-bottom-1"},s("calcite-segmented-control",{class:"w-100"},s("calcite-segmented-control-item",{checked:this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(u.ADD),value:u.ADD},s("span",{class:"font-weight-500"},this._translations.add)),s("calcite-segmented-control-item",{checked:!this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(u.REMOVE),value:u.REMOVE},s("span",{class:"font-weight-500"},this._translations.remove)))),s("div",null,s("map-draw-tools",{active:!0,drawMode:v.REFINE,mapView:this.mapView,onDrawRedo:()=>this._redo(),onDrawUndo:()=>this._undo(),onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,redoEnabled:(null===(i=this._refineSelectionSet)||void 0===i?void 0:i.redoStack.length)>0,ref:i=>{this._drawTools=i},undoEnabled:(null===(t=this._refineSelectionSet)||void 0===t?void 0:t.undoStack.length)>0})),s("br",null),s("calcite-list",{class:"list-border"},this._getRefineSelectionSetList())))}_layerSelectionChange(i){this._setRefineSet(i.detail[0])}_setSelectionMode(i){this._selectionMode=i}_sketchGraphicsChanged(i){var t;const s=null===(t=i.detail)||void 0===t?void 0:t.graphics[0].geometry;this._selectFeatures(s)}_getEnabledLayerIds(){return this.selectionSets.reduce(((i,t)=>{var s;const e=null===(s=null==t?void 0:t.layerView)||void 0===s?void 0:s.layer.id;return e&&i.indexOf(e)<0?i.push(e):t.workflowType===b.REFINE&&Object.keys(t.refineInfos).forEach((t=>{i.indexOf(t)<0&&i.push(t)})),i}),[])}async _setRefineSet(i){this.selectionSets.some((t=>{if(t.workflowType===b.REFINE)return this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(i)>-1}))||await this._initRefineSet(i,this._refineSelectionSet),this._refineLayer=this._refineSelectionSet.refineInfos[i].layerView}async _initRefineSet(i,t){const s={};s[i]={addIds:[],removeIds:[],layerView:await d(this.mapView,i)},t?t.refineInfos=Object.assign(Object.assign({},t.refineInfos),s):(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:b.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:s,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){const i=this._refineSelectionSet.undoStack.pop();this._updateIds(i.ids,i.mode===u.ADD?u.REMOVE:u.ADD,this._refineSelectionSet.redoStack,i.layerView)}_redo(){const i=this._refineSelectionSet.redoStack.pop();this._updateIds(i.ids,i.mode===u.ADD?u.REMOVE:u.ADD,this._refineSelectionSet.undoStack,i.layerView)}_getRefineSelectionSetList(){const i=this._getTotal(this.selectionSets);let t;this.selectionSets.some((i=>{if(i.workflowType===b.REFINE)return t=i,!0}));let e=0,a=0;return Object.keys(t.refineInfos).forEach((i=>{e+=t.refineInfos[i].addIds.length,a+=t.refineInfos[i].removeIds.length})),[s("calcite-list-item",{label:this._translations.featuresAdded.replace("{{n}}",e.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.featuresRemoved.replace("{{n}}",a.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.totalSelected.replace("{{n}}",i.toString()),"non-interactive":!0})]}_getTotal(i){const t=p(i);return Object.keys(t).reduce(((i,s)=>i+t[s].ids.length),0)}async _getTranslations(){const i=await f(this.el);this._translations=i[0]}async _selectFeatures(i){var t,s;this.selectionLoadingChange.emit(!0),this._featuresCollection[null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id]=[];const e=await c(0,null===(s=this._refineLayer)||void 0===s?void 0:s.layer,i,this._featuresCollection);this.selectionLoadingChange.emit(!1);let a=[];Object.keys(e).forEach((i=>{var t;i===(null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id)&&(a=a.concat(e[i]))}));const l=Array.isArray(a)?a.map((i=>{var t;return i.attributes[null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.objectIdField]})):[];await this._updateIds(l,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.clear()}async _highlightFeatures(){this._clearHighlight(),y.highlightHandles=await g(this.selectionSets)}_clearHighlight(){y.removeHandles()}async _updateIds(i,t,s,e){let a=!1;const l=this._refineSelectionSet.refineInfos,h=e.layer.id,n={};n[h]={addIds:[],removeIds:[],layerView:e};const o=Object.keys(l).indexOf(h)>-1?l[h]:n[h];if(t===u.ADD)o.addIds=[...new Set([...i,...o.addIds])],o.addIds.length>0&&s.push({ids:i,mode:t,layerView:e}),o.removeIds.length>0&&(o.removeIds=o.removeIds.filter((t=>i.indexOf(t)<0)));else{const l=this.selectionSets.reduce(((t,s)=>(i.forEach((i=>{s.workflowType!==b.REFINE?s.selectedIds.indexOf(i)>-1&&t.push(i):Object.keys(s.refineInfos).some((a=>{const l=s.refineInfos[a];if(l.layerView.layer.id===e.layer.id&&l.addIds.indexOf(i)>-1)return t.push(i),!0}))})),t)),[]);o.removeIds=[...new Set([...l,...o.removeIds])],o.addIds=o.addIds.filter((i=>l.indexOf(i)<0)),o.removeIds.length>0&&s.push({ids:l,mode:t,layerView:e}),this.selectionSets=this.selectionSets.reduce(((i,t)=>(t.workflowType!==b.REFINE&&t.layerView.layer.id===e.layer.id?(t.selectedIds=t.selectedIds.filter((i=>o.removeIds.indexOf(i)<0)),t.selectedIds.length>0?i.push(t):a=!0):i.push(t),i)),[])}this._refineSelectionSet.refineInfos[h]=o,this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}get el(){return a(this)}};x.style=':host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-color-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-color-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{padding-inline-start:0.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}';export{_ as map_select_tools,P as pdf_download,x as refine_selection}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{c as n}from"./p-4af32c75.js";
|
7
|
+
/** @license
|
8
|
+
* Copyright 2022 Esri
|
9
|
+
*
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
+
* you may not use this file except in compliance with the License.
|
12
|
+
* You may obtain a copy of the License at
|
13
|
+
*
|
14
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
15
|
+
*
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
+
* See the License for the specific language governing permissions and
|
20
|
+
* limitations under the License.
|
21
|
+
*/async function t(n){const t=n.createQuery();return t.where=n.definitionExpression||"1=1",await n.queryObjectIds(t)}async function a(n,t){let a=[];const s=n?n.map((n=>async function(n,t){const a=t.createQuery();return a.spatialRelationship="intersects",a.geometry=n,t.queryObjectIds(a)}
|
22
|
+
/** @license
|
23
|
+
* Copyright 2022 Esri
|
24
|
+
*
|
25
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
26
|
+
* you may not use this file except in compliance with the License.
|
27
|
+
* You may obtain a copy of the License at
|
28
|
+
*
|
29
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
30
|
+
*
|
31
|
+
* Unless required by applicable law or agreed to in writing, software
|
32
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
33
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
34
|
+
* See the License for the specific language governing permissions and
|
35
|
+
* limitations under the License.
|
36
|
+
*/(n,t))):[Promise.resolve()];return(await Promise.all(s)).forEach((n=>{a=[...a,...n||[]]})),a}async function s(n,t,a,c,o,i){var e;const r=null===(e=t.capabilities)||void 0===e?void 0:e.query.maxRecordCount,u=t.createQuery();u.start=0,u.returnGeometry=c,u.objectIds=n.slice(0,r),r&&(u.num=r),o&&(u.outSpatialReference=o),i&&(u.outFields=i);const f=await t.queryFeatures(u);a=a.concat(f.features);const w=n.slice(r,n.length);return w.length>0?s(w,t,a,c,o):Promise.resolve(a)}async function c(n,t){const a=t.globalIdField;if(!a)return[];const s=t.createQuery();return s.returnGeometry=!1,s.outFields=[t.objectIdField],s.where=n.map((n=>`${a} = '${n}'`)).join(" or "),(await t.queryFeatures(s)).features}async function o(n,t,a,s){const c=t.capabilities.query.maxRecordCount,i=t.createQuery();i.start=n,i.num=c,i.geometry=a;const e=await t.queryFeatures(i);return s[t.id]=s[t.id].concat(e.features),e.exceededTransferLimit?o(n+=c,t,a,s):Promise.resolve(s)}async function i(n,t,a){const s=n.createQuery();return s.where=t||"1=1",s.orderByFields=a,await n.queryObjectIds(s)}function e(n,t){return[...r(n,"polygon",t),...r(n,"polyline",t),...r(n,"point",t)]}function r(n,t,a){const s=(null==n?void 0:n.filter((n=>n.type===t)))||[];return s.length<=1?s:[a.union(s)]}async function u(n,t){let a;return await n.when((()=>{a=n.map.allLayers.toArray().reduce(((n,t)=>("feature"===t.type&&(n[t.id]={name:t.title,supportsUpdate:void 0}),n)),{})})),w(t,a,n)}async function f(n,t){let a;return await n.when((()=>{a=n.map.allTables.toArray().reduce(((n,t)=>(n[t.id]={name:t.title,supportsUpdate:void 0},n)),{})})),w(t,a,n)}async function w(n,t,a){if(n){const n={},s=Object.keys(t);for(let c=0;c<s.length;c++){const o=s[c],i=await l(a,o);await i.load(),await i.when(),n[o]={name:t[o].name,supportsUpdate:i.editingEnabled&&i.capabilities.operations.supportsUpdate}}return n}return t}async function y(n,t){const a=await l(n,t);return a?await n.whenLayerView(a):void 0}async function l(n,t){let a=[];return await n.when((()=>{a=[...n.map.allLayers.toArray(),...n.map.allTables.toArray()].filter((n=>n.id===t))})),a.length>0?a[0]:void 0}async function d(n){const t=n.map.allLayers.toArray();let a;return await n.when((()=>{a=t.map((t=>n.whenLayerView(t)))})),await Promise.allSettled(a),t}async function p(n,t,a,s=!1){return s&&await v(n,t,a,!1),t.highlight(n)}async function m(n){const t=j(n);return Object.keys(t).reduce(((n,a)=>{const s=t[a];return n.push(s.layerView.highlight(s.ids)),n}),[])}function j(t){return t.reduce(((t,a)=>{const s=a.layerView,c=null==s?void 0:s.layer.id;return c&&Object.keys(t).indexOf(c)>-1?t[c].ids=[...new Set([...a.selectedIds,...t[c].ids])]:c&&(t[c]={layerView:s,ids:a.selectedIds}),a.workflowType===n.REFINE&&Object.keys(a.refineInfos).forEach((n=>{const s=a.refineInfos[n];Object.keys(t).indexOf(n)>-1&&(t[n].ids=[...new Set([...s.addIds,...t[n].ids])],t[n].ids=t[n].ids.filter((n=>s.removeIds.indexOf(n)<0)))})),t}),{})}async function v(n,t,a,s=!0,c){const o=await async function(n,t){const a=t.createQuery();return a.objectIds=n,t.queryExtent(a)}(n,t.layer);await a.goTo(o.extent),s&&await async function(n,t,a){const s={objectIds:n};t.featureEffect=Object.assign(Object.assign({},a),{filter:s}),setTimeout((()=>{t.featureEffect=void 0}),1300)}(n,t,c)}export{l as a,i as b,t as c,c as d,a as e,e as f,v as g,p as h,y as i,o as j,j as k,m as l,d as m,u as n,f as o,s as q}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as n,h as i,H as s,g as e}from"./p-78780f63.js";import{g as o}from"./p-86b21da1.js";import{l as a}from"./p-a8a0187d.js";import{g as r}from"./p-c96eb2db.js";import"./p-14a48b14.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";const p="instant-apps-export calcite-mode-light",l="instant-apps-export-print",h="instant-apps-export-print__content-container",c="instant-apps-export-print__extra-container",d="instant-apps-export-print__legend-container",u="instant-apps-export-print__compass-container",v="instant-apps-export-print__scale-bar-container",x="instant-apps-export-print__popup-container",b="instant-apps-export-print__popup-content",_="instant-apps-export-print__popup-title",g="instant-apps-export-print__view",m="instant-apps-export-print__view-container",f="instant-apps-export-print__view-wrapper",w="instant-app-export-drag",k=class{constructor(i){t(this,i),this.exportOutputUpdated=n(this,"exportOutputUpdated",7),this.output=void 0,this.beforeExport=()=>Promise.resolve(),this.popoverIcon="export",this.extraContent=void 0,this.extraContentLabel=void 0,this.headerTitle="",this.includeExtraContent=!0,this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showHeaderTitle=!0,this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showScaleBar=!0,this.view=void 0,this.maskBackground="rgba(255, 51, 0, 0.1)",this.maskBorder="2px dashed rgb(255, 51, 0)",this.baseClass=p,this.exportIsLoading=void 0,this.messages=void 0}watchIncludeMap(t){t&&this.updateLegend()}componentWillLoad(){this.baseClass="dark"===r(this.el)?"instant-apps-export calcite-mode-dark":p,o(this),this.initializeModules()}componentDidLoad(){this.printContainerEl.prepend(this.printEl)}disconnectedCallback(){var t,n;null===(t=this.handles)||void 0===t||t.removeAll(),null===(n=this.handles)||void 0===n||n.destroy(),this.handles=null}async initializeModules(){const[t]=await a(["esri/core/Handles"]);return this.handles=new t,Promise.resolve()}render(){const t="popover"===this.mode?this.renderPopover():this.renderPanel(),n=this.renderCompass();return i(s,null,i("div",{class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},t,i("div",{class:"instant-apps-export__visually-hidden"},n)))}renderPopover(){var t,n,s;const e=this.renderPanel();return[i("calcite-popover",{referenceElement:"export-popover-btn",label:null===(t=this.messages)||void 0===t?void 0:t.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:t=>this.popoverEl=t},e),i("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:null===(n=this.messages)||void 0===n?void 0:n.exportBtn,text:null===(s=this.messages)||void 0===s?void 0:s.exportBtn})]}renderPanel(){var t,n;const s=this.showHeaderTitle?this.renderTitle():null,e=null!=this.extraContent?this.renderSwitch("includeExtraContent",this.extraContentLabel):null,o=this.showIncludeMap?this.renderSwitch("includeMap"):null,a=this.includeMap?this.renderMapOptions():null,r=this.renderPrint();return i("div",{class:"inline"===this.mode?"instant-apps-export__inline-container":"instant-apps-export__popover-container"},s,e,o,a,this.includeMap?i("calcite-button",{appearance:"transparent",width:"full",onClick:this.setMapAreaOnClick.bind(this),disabled:this.exportIsLoading},null===(t=this.messages)||void 0===t?void 0:t.setMapArea):null,i("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),loading:this.exportIsLoading,disabled:this.exportIsLoading},null===(n=this.messages)||void 0===n?void 0:n.export),r)}renderTitle(){var t;return i("calcite-label",null,null===(t=this.messages)||void 0===t?void 0:t.title,i("calcite-input",{value:this.headerTitle,onCalciteInputInput:this.updateHeaderTitle.bind(this)}))}renderSwitch(t,n){var s;const e=null!=n?n:null===(s=this.messages)||void 0===s?void 0:s[t];return i("calcite-label",{layout:"inline-space-between"},e,i("calcite-switch",{checked:this[t],value:t,onCalciteSwitchChange:this.optionOnChange.bind(this)}))}renderMapOptions(){const t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,n=this.showIncludePopup?this.renderSwitch("includePopup"):null;return i("div",null,t,n)}renderPrint(){const t=this.includeMap?this.renderPrintMap():null,n=this.renderExtraContent(),s=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,e=this.includeMap&&this.showIncludePopup?this.renderPopup():null;return i("div",{ref:t=>this.printContainerEl=t},i("div",{class:l,ref:t=>this.printEl=t},t,s,i("div",{class:h},e,n)))}renderPrintMap(){const t=this.renderScaleBar();return i("div",{class:m,ref:t=>this.viewContainerEl=t},i("div",{class:f,ref:t=>this.viewWrapperEl=t},this.headerTitle?i("instant-apps-header",{titleText:this.headerTitle,backgroundColor:"#fff",textColor:"#323232"}):null,i("img",{class:g,ref:t=>this.viewEl=t}),t))}renderLegend(){return i("div",{class:d,ref:t=>this.legendContainerEl=t})}renderCompass(){return i("div",{class:u,ref:t=>this.compassContainerEl=t})}renderScaleBar(){return i("div",{class:v,ref:t=>this.scaleBarContainerEl=t})}renderPopup(){return i("div",{class:x,ref:t=>this.popupContainerEl=t},i("div",{ref:t=>this.popupTitleEl=t,class:_}),i("div",{ref:t=>this.popupContentEl=t,class:b}))}renderExtraContent(){return i("div",{class:c,id:"export-content",ref:t=>this.extraContainerEl=t})}optionOnChange(t){const{checked:n,value:i}=t.target;this[i]=n,this.updateExportOutput()}updateHeaderTitle(t){this.headerTitle=t.target.value,this.updateExportOutput()}async exportOnClick(){this.removeScreenshotElements(),await this.beforeExport(),null==this.viewWrapperEl||this.viewWrapperEl.contains(this.compassContainerEl)||this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),null!=this.popoverEl&&(this.popoverEl.open=!1)}async handleViewExportOnClick(){null!=this.view?(this.addPrintStyling(),document.body.prepend(this.printEl),this.handleExtraContent(),this.includeMap?(this.updatePopupToPrint(),this.viewScreenshot(),this.handleImgLoaded()):this.handleImgLoaded()):null!=this.popoverEl&&(this.popoverEl.open=!1)}addPrintStyling(){null==this.printStyleEl&&(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML='\n @media print {\n @page {\n size: Portrait;\n margin: .25in;\n }\n\n html, body {\n padding: 0;\n margin: 0;\n height: 100%;\n width: 100%;\n }\n\n body > *:not(.instant-apps-export-print) { display: none; }\n }\n\n * {\n -webkit-print-color-adjust: exact;\n color-adjust: exact;\n }\n\n\n .instant-apps-export-print {\n height: 100%;\n width: 100%;\n position: absolute;\n z-index: -999;\n color: #323232 !important;\n display: grid;\n gap: 24px;\n grid-auto-flow: row;\n --esri-calcite-mode-name: "light";\n }\n\n .instant-apps-export-print, .instant-apps-export-print * {\n box-sizing: border-box;\n }\n\n .instant-apps-export-print__view-section {\n height: 100%;\n }\n\n .instant-apps-export-print__view-container {\n height: 100%;\n width: 100%;\n display: flex;\n justify-content: center;\n }\n\n .instant-apps-export-print__view-wrapper {\n height: fit-content;\n width: fit-content;\n position: relative;\n display: flex;\n flex-direction: column;\n border: 2pt solid #323232;\n overflow: hidden;\n }\n\n .instant-apps-export-print__view {\n object-fit: contain;\n }\n\n .instant-apps-export-print__popup-container {\n height: min-content;\n max-width: 350px;\n display: none;\n color: #323232;\n background: #fff;\n border: 1pt solid #323232;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__popup-title {\n border-bottom: 1pt solid #323232;\n }\n\n .instant-apps-export-print__popup-content {\n background: #fff;\n padding-top: 8pt;\n }\n\n .instant-apps-export-print__popup-content .esri-feature-media__chart {\n background: #fff;\n }\n\n .instant-apps-export-print__legend-container {\n height: min-content;\n background: #fff;\n overflow: unset;\n }\n\n .esri-legend--card, .esri-legend--card__service-content {\n flex-flow: row wrap;\n }\n\n .instant-apps-export-print .esri-widget > *:not(.instant-apps-export-print__scale-bar-container > *) {\n background: #fff;\n color: #323232;\n }\n\n .instant-apps-export-print__popup-content * {\n color: #323232;\n }\n\n .instant-apps-export-print .esri-widget__heading {\n margin: 2pt 7pt;\n padding: 0;\n color: #323232;\n }\n\n .instant-apps-export-print .esri-legend__ramp-label:before {\n border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);\n }\n\n .instant-apps-export-print .esri-legend--card__section {\n padding: 4pt 0 4pt;\n min-width: unset;\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__section:first-child {\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service {\n border: none;\n flex: 0 1 auto;\n break-inside: avoid;\n }\n\n .instant-apps-export-print .esri-legend--card {\n border: none;\n gap: 6pt 12pt;\n }\n\n .instant-apps-export-print .esri-legend--card:not(:first-child),\n .instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {\n display: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-container {\n height: unset;\n padding: 0;\n border-bottom: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-text {\n padding-bottom: 0;\n }\n\n .instant-apps-export-print__compass-container {\n position: absolute;\n top: 65px;\n left: 15px;\n background: #fff;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n --calcite-ui-icon-color: #000;\n border-radius: 50%;\n height: fit-content;\n }\n\n .instant-apps-export-print__compass-container .esri-compass {\n background: #fff;\n }\n\n .instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {\n color: #000;\n }\n\n .instant-apps-export-print__compass-container.esri-compass.esri-widget--button {\n background: #fff;\n }\n\n .instant-apps-export-print__scale-bar-container {\n width: 100%;\n position: absolute;\n bottom: 15px;\n left: 15px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {\n display: none;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line {\n background-color: rgba(255, 255, 255, 0.66);\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {\n width: var(--instant-apps-scale-bar-top) !important;\n border-bottom: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {\n width: var(--instant-apps-scale-bar-bottom) !important;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label {\n color: #323232;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {\n background-color: #323232;\n border-right: 2px solid #323232;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__item-navigation {\n display: none;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {\n width: 100%!important;\n }\n\n .instant-apps-export-print__popup-content .esri-popup__content {\n margin: 0;\n }\n\n .instant-apps-export-print__content-container {\n display: flex;\n gap: 24px;\n break-inside: avoid;\n break-before: auto;\n }',document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout((()=>{this.exportIsLoading=void 0,this.setupViewPrintElements()}),1500)}handleExtraContent(){const t=this.printEl.querySelector("#export-content");null!=t&&(t.innerHTML="",null!=this.extraContent&&this.includeExtraContent?(t.style.display="block",t.append(this.extraContent.cloneNode(!0))):t.style.display="none")}resetPrintContent(){var t,n;if(null!=this.view){this.screenshot=null,null===(t=this.printContainerEl)||void 0===t||t.prepend(this.printEl),null===(n=this.printStyleEl)||void 0===n||n.remove(),this.printStyleEl=void 0;const i=this.printEl.querySelector("#export-content");i&&(i.innerHTML="")}}async updatePopupToPrint(){var t,n;if(null!=this.view&&(null!=this.popupContainerEl&&(this.popupContainerEl.style.display=this.includePopup&&this.view.popup.visible?"block":"none",this.checkPopupOpen()),this.view.popup.visible&&null!=this.view.popup.selectedFeature)){const i=document.createElement(`h${null!==(t=this.view.popup.headingLevel)&&void 0!==t?t:2}`);i.innerHTML=null!==(n=this.view.popup.title)&&void 0!==n?n:"",i.className="esri-widget__heading esri-popup__header-title",null!=this.popupTitleEl&&(this.popupTitleEl.style.display=this.view.popup.title?"block":"none",this.popupTitleEl.innerHTML="",this.popupTitleEl.prepend(i))}}updateExportOutput(){this.output={},this.showHeaderTitle&&(this.output.headerTitle=this.headerTitle),this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.exportOutputUpdated.emit()}setupViewPrintElements(){if(null!=this.view){this.handleLegendSetup();const t=document.title;this.showHeaderTitle&&this.headerTitle&&(document.title=this.headerTitle),window.print(),document.title=t,setTimeout((()=>{this.resetPrintContent()}),1e3)}}handleLegendSetup(){this.showIncludeLegend&&null!=this.view&&this.includeMap&&null!=this.legendContainerEl&&(this.legendContainerEl.style.display=this.includeLegend?"block":"none")}handleWidgetCreation(){this.handleLegendCreation(),this.handleCompassCreation(),this.handleScaleBarCreation()}handleLegendCreation(){var t,n;if(this.includeMap&&null!=this.view&&this.showIncludeLegend&&null!=this.legendContainerEl){const i=this.view.map,s=null===(n=null===(t=this.legend)||void 0===t?void 0:t.view)||void 0===n?void 0:n.map;(null==i?void 0:i.portalItem.id)===(null==s?void 0:s.portalItem.id)||this.updateLegend()}}updateLegend(){var t;null===(t=this.view)||void 0===t||t.when((async t=>{var n;if(null===(n=this.legend)||void 0===n||n.destroy(),null!=this.legendContainerEl){this.legendContainerEl.innerHTML="";const[n]=await a(["esri/widgets/Legend"]);this.legend=new n({container:this.legendContainerEl,view:t,style:{type:"card",layout:"side-by-side"}})}}))}handleCompassCreation(){var t,n;if(this.includeMap&&null!=this.view&&null!=this.compassContainerEl){const i=this.view.map,s=null===(n=null===(t=this.compass)||void 0===t?void 0:t.view)||void 0===n?void 0:n.map;(null==i?void 0:i.portalItem.id)===(null==s?void 0:s.portalItem.id)||this.updateCompass()}}updateCompass(){var t;null===(t=this.view)||void 0===t||t.when((async t=>{var n;null===(n=this.compass)||void 0===n||n.destroy(),this.compass=null;const i=document.createElement("div");this.compassContainerEl.append(i);const[s]=await a(["esri/widgets/Compass"]);this.compass=new s({container:i,view:t})}))}handleScaleBarCreation(){var t,n;if(this.showScaleBar&&this.includeMap&&null!=this.view&&"2d"===this.view.type&&null!=this.scaleBarContainerEl){const i=this.view.map,s=null===(n=null===(t=this.scaleBar)||void 0===t?void 0:t.view)||void 0===n?void 0:n.map;(null==i?void 0:i.portalItem.id)===(null==s?void 0:s.portalItem.id)&&this.scaleBarContainerEl.innerHTML||this.updateScaleBar()}}updateScaleBar(){var t;null===(t=this.view)||void 0===t||t.when((async t=>{var n;null===(n=this.scaleBar)||void 0===n||n.destroy(),this.scaleBar=null,this.scaleBarContainerEl.innerHTML="";const[i]=await a(["esri/widgets/ScaleBar"]);this.scaleBar=new i({container:this.scaleBarContainerEl,unit:"dual",view:t})}))}async viewScreenshot(){if(null!=this.view&&this.includeMap&&(null==this.screenshot&&(this.screenshot=await this.view.takeScreenshot({width:2*this.view.width,height:2*this.view.height})),this.handleScaleBarSize(),null!=this.viewEl&&null!=this.viewWrapperEl)){const{height:t,width:n}=this.screenshot.data;t>n?this.setMaxRowHeightOnViewContainer():this.setMaxWidthOnViewContainer(),this.viewEl.src=this.screenshot.dataUrl}}setMaxRowHeightOnViewContainer(){this.printEl.style.gridTemplateRows="minmax(auto, 70%)",this.viewEl.style.height="100%",this.viewEl.style.width="",this.viewWrapperEl.style.height="100%",this.viewWrapperEl.style.width="fit-content"}setMaxWidthOnViewContainer(){this.printEl.style.gridTemplateRows="",this.viewEl.style.width="100%",this.viewEl.style.height="",this.viewWrapperEl.style.height="fit-content",this.viewWrapperEl.style.width="100%"}checkPopupOpen(){if(null!=this.view){const t=this.view.popup.container,n=null==t?void 0:t.querySelector(".esri-popup .esri-feature__main-container");if(null!=n){const t=n.querySelectorAll("canvas");this.popupContentEl.innerHTML="",this.popupContentEl.append(n.cloneNode(!0));const i=this.popupContentEl.querySelectorAll("canvas");t.forEach(((t,n)=>{var s;const e=t.toDataURL(),o=document.createElement("img");o.src=e;const a=t.getAttribute("style");a&&o.setAttribute("style",a);const r=i[n];null!=r&&(r.replaceWith(o),document.querySelector("link[href*='esri/themes/dark/main.css']")&&null!=(null===(s=o.parentElement)||void 0===s?void 0:s.parentElement)&&(o.parentElement.style.background="#242424",o.parentElement.parentElement.style.background="#242424"))}))}}}createScreenshot(){var t,n;if(null!=this.view){this.screenshotPreview=document.createElement("div"),this.screenshotPreview.className="screenshot-preview hide",this.screenshotImgContainer=document.createElement("div"),this.screenshotImgContainer.className="screenshot-img-container",this.screenshotImg=document.createElement("img");const i=document.createElement("div"),s=document.createElement("calcite-button"),e=document.createElement("calcite-button");s.innerHTML=null===(t=this.messages)||void 0===t?void 0:t.export,e.innerHTML=null===(n=this.messages)||void 0===n?void 0:n.returnToMap,e.appearance="outline-fill",s.onclick=this.exportOnClick.bind(this),e.onclick=this.screenshotReturn.bind(this),i.append(e,s),this.screenshotImgContainer.append(this.screenshotImg,i),this.screenshotPreview.append(this.screenshotImgContainer),this.view.container.append(this.screenshotPreview)}}createMaskDiv(){null!=this.view&&(this.maskDivEl=document.createElement("div"),this.maskDivEl.id="screenshot-mask",this.maskDivEl.className="hide screenshot-cursor",this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-background",this.maskBackground),this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-border",this.maskBorder),this.screenshotStyle=document.createElement("style"),this.screenshotStyle.innerHTML="\n.screenshot-preview.hide, .hide {\n display: none;\n}\n\n.screenshot-cursor {\n cursor: crosshair;\n}\n\n.relative {\n position: relative;\n}\n\n#screenshot-mask {\n position: absolute;\n background: var(--instant-apps-screenshot-mask-background);\n border: var(--instant-apps-screenshot-mask-border);\n}\n\n.screenshot-preview {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n text-align: center;\n background-color: rgba(0, 0, 0, 0.75);\n}\n\n.screenshot-preview * {\n box-sizing: border-box;\n}\n\n.screenshot-img-container img {\n max-height: 75%;\n max-width: 75%;\n object-fit: contain;\n border: 10px solid white;\n box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.5);\n margin-bottom: 0.5em;\n}\n\n.screenshot-img-container {\n height: 100%;\n width: 100%;\n overflow-y: auto;\n margin-bottom: 8px;\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n}\n\n.screenshot-img-container calcite-button {\n margin: 5px;\n}\n",this.view.container.append(this.screenshotStyle),this.view.container.append(this.maskDivEl))}screenshotReturn(){this.removeScreenshotElements(),this.exportIsLoading=!1,this.screenshot=null}setMapAreaOnClick(){null!=this.view&&(this.exportIsLoading=!0,this.createMaskDiv(),this.createScreenshot(),this.view.container.classList.add("screenshot-cursor","relative"),this.view.addHandles(this.view.on("drag",(async t=>{null!=this.view&&(t.stopPropagation(),"end"!==t.action?this.updateMaskSize(t):this.maskScreenshot())})),w))}updateMaskSize(t){if(null!=this.view){const n=this.clamp(Math.min(t.origin.x,t.x),0,this.view.width),i=this.clamp(Math.max(t.origin.x,t.x),0,this.view.width),s=this.clamp(Math.min(t.origin.y,t.y),0,this.view.height),e=this.clamp(Math.max(t.origin.y,t.y),0,this.view.height);this.area={x:n,y:s,width:i-n,height:e-s},this.setMaskPosition(this.area)}}maskScreenshot(){null!=this.view&&null!=this.area&&(this.view.removeHandles(w),this.view.takeScreenshot({area:this.area,width:2*this.area.width,height:2*this.area.height,format:"jpg"}).then((t=>{var n;this.screenshot=t,this.showPreview(),null===(n=this.view)||void 0===n||n.container.classList.remove("screenshot-cursor"),this.setMaskPosition(null)})))}setMaskPosition(t){null!=t?(this.maskDivEl.classList.remove("hide"),this.maskDivEl.style.left=`${t.x}px`,this.maskDivEl.style.top=`${t.y}px`,this.maskDivEl.style.width=`${t.width}px`,this.maskDivEl.style.height=`${t.height}px`):this.maskDivEl.remove()}clamp(t,n,i){return t<n?n:t>i?i:t}showPreview(){this.screenshotPreview.classList.remove("hide"),null!=this.screenshotImg&&null!=this.screenshot&&(this.screenshotImg.src=this.screenshot.dataUrl)}handleScaleBarSize(){var t;if("2d"===(null===(t=this.view)||void 0===t?void 0:t.type)&&null!=this.scaleBarContainerEl){const t=this.scaleBarContainerEl.querySelector(".esri-scale-bar__line--top"),n=this.scaleBarContainerEl.querySelector(".esri-scale-bar__line--bottom");this.setScalebarWidth(t,"top"),this.setScalebarWidth(n,"bottom")}}setScalebarWidth(t,n){if(null!=this.view&&null!=t&&null!=this.screenshot){const i=this.screenshot.data.width/2,s=Number(t.style.width.replace("px",""));t.style.setProperty(`--instant-apps-scale-bar-${n}`,s/i*100+"%")}}removeScreenshotElements(){var t,n;null===(t=this.screenshotPreview)||void 0===t||t.remove(),null===(n=this.screenshotStyle)||void 0===n||n.remove()}get el(){return e(this)}static get watchers(){return{includeMap:["watchIncludeMap"]}}};k.style=":host{display:block;--instant-apps-export-action-background:var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-export-action-background-press:var(--calcite-color-foreground-3);--instant-apps-export-action-height:100%;--instant-apps-export-action-width:fit-content;--instant-apps-export-action-icon-color:var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-export-background:var(--calcite-color-foreground-1);--instant-apps-export-text-color:var(--calcite-color-text-1);--instant-apps-export-popover-width:250px}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1:var(--instant-apps-export-action-background);--calcite-color-foreground-2:var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3:var(--instant-apps-export-action-background-press);--calcite-color-text-3:var(--instant-apps-export-action-icon-color);--calcite-color-text-1:var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1:var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1:#fff;--calcite-color-foreground-2:#f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-export .calcite-mode-dark calcite-switch{--calcite-color-foreground-1:#2b2b2b;--calcite-color-foreground-2:#202020}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}";export{k as instant_apps_export}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,c as o,h as i,H as
|
6
|
+
import{r as t,c as o,h as i,H as a,g as e}from"./p-78780f63.js";import{g as l}from"./p-86b21da1.js";import"./p-a8a0187d.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-14a48b14.js";const s=class{constructor(i){t(this,i),this.measureActive=o(this,"measureActive",7),this.messages=void 0,this.view=void 0,this.areaUnit=void 0,this.linearUnit=void 0,this.coordinateFormat=void 0,this.activeToolType=void 0,this.closable=!1}async componentWillLoad(){l(this)}componentDidLoad(){}render(){var t;return i(a,null,i("calcite-panel",{heading:null===(t=null==this?void 0:this.messages)||void 0===t?void 0:t.label,closable:this.closable},i("div",null,this.renderActionPad()),this.renderMeasureToolPanel()))}renderMeasureToolPanel(){const{view:t,coordinateFormat:o,areaUnit:a,linearUnit:e,activeToolType:l}=this;return i("calcite-panel",{class:"instant-apps-measurement__content"},i("instant-apps-measurement-tool",{ref:t=>{this.measureTool=t},view:t,measureConfiguration:{coordinateFormat:o,areaUnit:a,linearUnit:e,activeToolType:l}}))}renderActionPad(){const{messages:t,activeToolType:o}=this;return i("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal",position:"end"},i("calcite-action",{class:"distance"===o?"active-tool":"",text:null==t?void 0:t.line,icon:"measure",scale:"m","data-value":"distance",onClick:this._handleToolClick.bind(this)},i("calcite-tooltip",{"close-on-click":!0,placement:"bottom",slot:"tooltip"},null==t?void 0:t.line)),i("calcite-action",{class:"area"===o?"active-tool":"",text:null==t?void 0:t.area,scale:"m",icon:"measure-area","data-value":"area",onClick:this._handleToolClick.bind(this)},i("calcite-tooltip",{"close-on-click":!0,placement:"bottom",slot:"tooltip"},null==t?void 0:t.area)),i("calcite-action",{class:"point"===o?"active-tool":"",text:null==t?void 0:t.point,scale:"m",icon:"pin-plus","data-value":"point",onClick:this._handleToolClick.bind(this)},i("calcite-tooltip",{"close-on-click":!0,placement:"bottom",slot:"tooltip"},null==t?void 0:t.point)),i("calcite-action",{text:null==t?void 0:t.clear,scale:"m",icon:"trash","data-value":"clear",onClick:this._handleToolClick.bind(this)},i("calcite-tooltip",{"close-on-click":!0,placement:"bottom",slot:"tooltip"},null==t?void 0:t.clear)))}_handleToolClick(t){var o,i,a,e;if(!(null==this?void 0:this.measureTool))return;const l=null===(o=null==t?void 0:t.target)||void 0===o?void 0:o.dataset.value;this.measureTool.activeTool=l;const s=document.getElementsByClassName("active-tool");for(let t=0;t<(null==s?void 0:s.length);t++)null===(a=null===(i=s[t])||void 0===i?void 0:i.classList)||void 0===a||a.remove("active-tool");null===(e=null==t?void 0:t.target)||void 0===e||e.classList.add("active-tool"),this.measureActive.emit(void 0!==l&&"clear"!==l)}get el(){return e(this)}};s.style=".sc-instant-apps-measurement-h .sc-instant-apps-measurement.sc-instant-apps-measurement{background:var(--calcite-color-foreground-1)}.sc-instant-apps-measurement-h .active-tool.sc-instant-apps-measurement{--calcite-color-foreground-1:#c7eaff}";export{s as instant_apps_measurement}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{b as n}from"./p-86b21da1.js";import{c as t}from"./p-225c4ca4.js";var l,a,e,o;!function(n){n.User="user",n.Translation="translation"}(l||(l={})),function(n){n.String="string",n.TextEditor="textEditor"}(a||(a={})),function(n){n.ExpandCollapse="list-merge",n.SettingIndicator="list-button",n.Popover="information",n.Expanded="chevron-down",n.Collapsed="chevron-right",n.Copy="copy-to-clipboard",n.Breadcrumb="chevron-right",n.DefaultIcon="language",n.Title="title",n.Subtitle="subheading",n.Text="text",n.Description="description",n.Button="button",n.String="string"}(e||(e={})),function(n){n.Light="calcite-mode-light",n.Dark="calcite-mode-dark"}(o||(o={}));const u=t({uiData:null,currentLanguage:null,lastSave:null,saving:!1,currentLocaleSettingItem:null,portalItemResource:null,portalItemResourceT9n:null}),i=u.state,r=u;function c(n,t){var l;if(!n)return;const a=r.get("uiData"),e=new Map;e.set("locales",t),e.set("translatedLanguageLabels",Object.assign({},n.translatedLanguageLabels)),n.content.forEach((n=>{var t,l;const{type:o,label:u,value:i,uiLocation:r}=n,c=null==a?void 0:a.get(n.id);e.set(n.id,{userLocaleData:{type:null!=o?o:null,label:null!=u?u:null,value:null!=i?i:null},expanded:!0,selected:null!==(t=null==c?void 0:c.selected)&&void 0!==t&&t,uiLocation:r,tip:null!==(l=null==n?void 0:n.tip)&&void 0!==l?l:null})}));const o=n.content.map((n=>n.id)),u=o.every((n=>!e.get(n).selected)),i=e.get(o[0]);if(u&&i){const n=null==a?void 0:a.get(o[0]);i.selected=null===(l=null==n?void 0:n.selected)||void 0===l||l}return e}async function s(t){return(await n(t))[0]}function d(){var n;const t=[];return null===(n=i.uiData)||void 0===n||n.forEach(((n,l)=>{"locales"!==l&&"translatedLanguageLabels"!==l&&t.push(l)})),t}function v(n,t){const l=r.get("portalItemResourceT9n");let a;return(null==l?void 0:l[n])||(l[n]={}),a=Object.assign(Object.assign({},l),{[n]:Object.assign(Object.assign({},l[n]),t)}),a}function g(n){var t;return null!==(t=null==n?void 0:n.map((n=>n.locale)))&&void 0!==t?t:[]}function b(){return document.body.classList.contains(o.Dark)}export{e as E,c as a,g as b,d as c,a as d,o as e,l as f,s as g,v as h,b as i,i as l,r as s}
|