@esri/solutions-components 0.5.4 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/t9n/buffer-tools/resources_ar.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_bg.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_bs.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_ca.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_cs.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_da.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_de.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_el.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_es.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_et.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_fi.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_fr.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_he.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_hr.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_hu.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_id.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_it.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_ja.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_ko.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_lt.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_lv.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_nb.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_nl.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_pl.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_pt-BR.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_pt-PT.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_ro.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_ru.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_sk.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_sl.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_sr.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_sv.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_th.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_tr.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_uk.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_vi.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_zh-CN.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_zh-HK.json +6 -0
- package/dist/assets/t9n/buffer-tools/resources_zh-TW.json +6 -0
- package/dist/assets/t9n/map-draw-tools/resources_ar.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_bg.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_bs.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_ca.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_cs.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_da.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_de.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_el.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_es.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_et.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_fi.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_fr.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_he.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_hr.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_hu.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_id.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_it.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_ja.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_ko.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_lt.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_lv.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_nb.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_nl.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_pl.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_pt-BR.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_pt-PT.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_ro.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_ru.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_sk.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_sl.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_sr.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_sv.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_th.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_tr.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_uk.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_vi.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_zh-CN.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_zh-HK.json +5 -0
- package/dist/assets/t9n/map-draw-tools/resources_zh-TW.json +5 -0
- package/dist/assets/t9n/map-select-tools/resources.json +3 -1
- package/dist/assets/t9n/map-select-tools/resources_ar.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_bg.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_bs.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_ca.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_cs.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_da.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_de.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_el.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_en.json +3 -1
- package/dist/assets/t9n/map-select-tools/resources_es.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_et.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_fi.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_fr.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_he.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_hr.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_hu.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_id.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_it.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_ja.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_ko.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_lt.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_lv.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_nb.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_nl.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_pl.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_pt-BR.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_pt-PT.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_ro.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_ru.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_sk.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_sl.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_sr.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_sv.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_th.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_tr.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_uk.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_vi.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_zh-CN.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_zh-HK.json +13 -0
- package/dist/assets/t9n/map-select-tools/resources_zh-TW.json +13 -0
- package/dist/assets/t9n/pdf-download/resources_ar.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_bg.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_bs.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_ca.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_cs.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_da.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_de.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_el.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_es.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_et.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_fi.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_fr.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_he.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_hr.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_hu.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_id.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_it.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_ja.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_ko.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_lt.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_lv.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_nb.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_nl.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_pl.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_pt-BR.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_pt-PT.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_ro.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_ru.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_sk.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_sl.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_sr.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_sv.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_th.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_tr.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_uk.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_vi.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_zh-CN.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_zh-HK.json +3 -0
- package/dist/assets/t9n/pdf-download/resources_zh-TW.json +3 -0
- package/dist/assets/t9n/public-notification/resources.json +2 -2
- package/dist/assets/t9n/public-notification/resources_ar.json +40 -0
- package/dist/assets/t9n/public-notification/resources_bg.json +40 -0
- package/dist/assets/t9n/public-notification/resources_bs.json +40 -0
- package/dist/assets/t9n/public-notification/resources_ca.json +40 -0
- package/dist/assets/t9n/public-notification/resources_cs.json +40 -0
- package/dist/assets/t9n/public-notification/resources_da.json +40 -0
- package/dist/assets/t9n/public-notification/resources_de.json +40 -0
- package/dist/assets/t9n/public-notification/resources_el.json +40 -0
- package/dist/assets/t9n/public-notification/resources_en.json +2 -2
- package/dist/assets/t9n/public-notification/resources_es.json +40 -0
- package/dist/assets/t9n/public-notification/resources_et.json +40 -0
- package/dist/assets/t9n/public-notification/resources_fi.json +40 -0
- package/dist/assets/t9n/public-notification/resources_fr.json +40 -0
- package/dist/assets/t9n/public-notification/resources_he.json +40 -0
- package/dist/assets/t9n/public-notification/resources_hr.json +40 -0
- package/dist/assets/t9n/public-notification/resources_hu.json +40 -0
- package/dist/assets/t9n/public-notification/resources_id.json +40 -0
- package/dist/assets/t9n/public-notification/resources_it.json +40 -0
- package/dist/assets/t9n/public-notification/resources_ja.json +40 -0
- package/dist/assets/t9n/public-notification/resources_ko.json +40 -0
- package/dist/assets/t9n/public-notification/resources_lt.json +40 -0
- package/dist/assets/t9n/public-notification/resources_lv.json +40 -0
- package/dist/assets/t9n/public-notification/resources_nb.json +40 -0
- package/dist/assets/t9n/public-notification/resources_nl.json +40 -0
- package/dist/assets/t9n/public-notification/resources_pl.json +40 -0
- package/dist/assets/t9n/public-notification/resources_pt-BR.json +40 -0
- package/dist/assets/t9n/public-notification/resources_pt-PT.json +40 -0
- package/dist/assets/t9n/public-notification/resources_ro.json +40 -0
- package/dist/assets/t9n/public-notification/resources_ru.json +40 -0
- package/dist/assets/t9n/public-notification/resources_sk.json +40 -0
- package/dist/assets/t9n/public-notification/resources_sl.json +40 -0
- package/dist/assets/t9n/public-notification/resources_sr.json +40 -0
- package/dist/assets/t9n/public-notification/resources_sv.json +40 -0
- package/dist/assets/t9n/public-notification/resources_th.json +40 -0
- package/dist/assets/t9n/public-notification/resources_tr.json +40 -0
- package/dist/assets/t9n/public-notification/resources_uk.json +40 -0
- package/dist/assets/t9n/public-notification/resources_vi.json +40 -0
- package/dist/assets/t9n/public-notification/resources_zh-CN.json +40 -0
- package/dist/assets/t9n/public-notification/resources_zh-HK.json +40 -0
- package/dist/assets/t9n/public-notification/resources_zh-TW.json +40 -0
- package/dist/cjs/buffer-tools_4.cjs.entry.js +26 -21
- package/dist/cjs/calcite-input-text_5.cjs.entry.js +19 -11
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +1 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js +1 -1
- package/dist/cjs/{solution-store-ca4639d5.js → solution-store-70002b57.js} +3 -3
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +44 -22
- package/dist/collection/components/map-select-tools/map-select-tools.css +14 -0
- package/dist/collection/components/map-select-tools/map-select-tools.js +18 -10
- package/dist/collection/components/refine-selection/refine-selection.css +85 -85
- package/dist/components/map-draw-tools2.js +27 -21
- package/dist/components/map-select-tools2.js +57 -43
- package/dist/components/solution-store.js +3 -3
- package/dist/esm/buffer-tools_4.entry.js +26 -21
- package/dist/esm/calcite-input-text_5.entry.js +19 -11
- package/dist/esm/calcite-shell-panel_14.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/solution-configuration.entry.js +1 -1
- package/dist/esm/solution-contents_3.entry.js +1 -1
- package/dist/esm/{solution-store-70f874f8.js → solution-store-5d068b07.js} +3 -3
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/{p-16dfb254.entry.js → p-41802f6b.entry.js} +1 -1
- package/dist/solutions-components/{p-5ed755a2.entry.js → p-4769a2a5.entry.js} +1 -1
- package/dist/solutions-components/{p-d5d5942d.entry.js → p-7e409786.entry.js} +3 -3
- package/dist/solutions-components/{p-78719506.js → p-826a814d.js} +2 -2
- package/dist/solutions-components/{p-b4b19fd3.entry.js → p-9f620303.entry.js} +1 -1
- package/dist/solutions-components/{p-96c0edd9.entry.js → p-b4d4b50a.entry.js} +2 -2
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/map-draw-tools/map-draw-tools.d.ts +4 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/dist/collection/components/add-record-modal/test/add-record-modal.e2e.js +0 -24
- package/dist/collection/components/add-record-modal/test/add-record-modal.spec.js +0 -32
- package/dist/collection/components/buffer-tools/test/buffer-tools.e2e.js +0 -24
- package/dist/collection/components/buffer-tools/test/buffer-tools.spec.js +0 -157
- package/dist/collection/components/card-manager/test/card-manager.e2e.js +0 -24
- package/dist/collection/components/card-manager/test/card-manager.spec.js +0 -32
- package/dist/collection/components/comment-card/test/comment-card.e2e.js +0 -24
- package/dist/collection/components/comment-card/test/comment-card.spec.js +0 -32
- package/dist/collection/components/crowdsource-manager/test/crowdsource-manager.e2e.js +0 -24
- package/dist/collection/components/crowdsource-manager/test/crowdsource-manager.spec.js +0 -32
- package/dist/collection/components/crowdsource-reporter/test/crowdsource-reporter.e2e.js +0 -24
- package/dist/collection/components/crowdsource-reporter/test/crowdsource-reporter.spec.js +0 -32
- package/dist/collection/components/deduct-calculator/test/deduct-calculator.e2e.js +0 -24
- package/dist/collection/components/deduct-calculator/test/deduct-calculator.spec.js +0 -32
- package/dist/collection/components/edit-record-modal/test/edit-record-modal.e2e.js +0 -24
- package/dist/collection/components/edit-record-modal/test/edit-record-modal.spec.js +0 -32
- package/dist/collection/components/info-card/test/info-card.e2e.js +0 -24
- package/dist/collection/components/info-card/test/info-card.spec.js +0 -32
- package/dist/collection/components/json-editor/test/json-editor.e2e.js +0 -31
- package/dist/collection/components/json-editor/test/json-editor.spec.js +0 -60
- package/dist/collection/components/layer-table/test/layer-table.e2e.js +0 -24
- package/dist/collection/components/layer-table/test/layer-table.spec.js +0 -32
- package/dist/collection/components/list-item/test/list-item.e2e.js +0 -24
- package/dist/collection/components/list-item/test/list-item.spec.js +0 -32
- package/dist/collection/components/map-card/test/map-card.e2e.js +0 -24
- package/dist/collection/components/map-card/test/map-card.spec.js +0 -32
- package/dist/collection/components/map-draw-tools/test/map-draw-tools.e2e.js +0 -24
- package/dist/collection/components/map-draw-tools/test/map-draw-tools.spec.js +0 -32
- package/dist/collection/components/map-layer-picker/test/map-layer-picker.e2e.js +0 -24
- package/dist/collection/components/map-layer-picker/test/map-layer-picker.spec.js +0 -109
- package/dist/collection/components/map-search/test/map-search.e2e.js +0 -24
- package/dist/collection/components/map-search/test/map-search.spec.js +0 -53
- package/dist/collection/components/map-select-tools/test/map-select-tools.e2e.js +0 -24
- package/dist/collection/components/map-select-tools/test/map-select-tools.spec.js +0 -349
- package/dist/collection/components/media-card/test/media-card.e2e.js +0 -24
- package/dist/collection/components/media-card/test/media-card.spec.js +0 -32
- package/dist/collection/components/pci-calculator/test/pci-calculator.e2e.js +0 -24
- package/dist/collection/components/pci-calculator/test/pci-calculator.spec.js +0 -32
- package/dist/collection/components/pdf-download/test/pdf-download.e2e.js +0 -71
- package/dist/collection/components/pdf-download/test/pdf-download.spec.js +0 -104
- package/dist/collection/components/public-notification/test/public-notification.e2e.js +0 -95
- package/dist/collection/components/public-notification/test/public-notification.spec.js +0 -149
- package/dist/collection/components/solution-configuration/test/solution-configuration.e2e.js +0 -31
- package/dist/collection/components/solution-configuration/test/solution-configuration.spec.js +0 -114
- package/dist/collection/components/solution-contents/test/solution-contents.e2e.js +0 -89
- package/dist/collection/components/solution-contents/test/solution-contents.spec.js +0 -138
- package/dist/collection/components/solution-item/test/solution-item.e2e.js +0 -31
- package/dist/collection/components/solution-item/test/solution-item.spec.js +0 -72
- package/dist/collection/components/solution-item-details/test/solution-item-details.e2e.js +0 -31
- package/dist/collection/components/solution-item-details/test/solution-item-details.spec.js +0 -137
- package/dist/collection/components/solution-item-icon/test/solution-item-icon.e2e.js +0 -24
- package/dist/collection/components/solution-item-icon/test/solution-item-icon.spec.js +0 -34
- package/dist/collection/components/solution-item-sharing/test/solution-item-sharing.e2e.js +0 -31
- package/dist/collection/components/solution-item-sharing/test/solution-item-sharing.spec.js +0 -49
- package/dist/collection/components/solution-organization-variables/test/solution-organization-variables.e2e.js +0 -31
- package/dist/collection/components/solution-organization-variables/test/solution-organization-variables.spec.js +0 -60
- package/dist/collection/components/solution-resource-item/test/solution-resource-item.e2e.js +0 -31
- package/dist/collection/components/solution-resource-item/test/solution-resource-item.spec.js +0 -50
- package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.e2e.js +0 -31
- package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.spec.js +0 -170
- package/dist/collection/components/solution-template-data/test/solution-template-data.e2e.js +0 -31
- package/dist/collection/components/solution-template-data/test/solution-template-data.spec.js +0 -55
- package/dist/collection/components/solution-variables/test/solution-variables.e2e.js +0 -31
- package/dist/collection/components/solution-variables/test/solution-variables.spec.js +0 -126
- package/dist/collection/utils/publicNotificationUtils.js +0 -45
- package/dist/collection/utils/templates.e2e.js +0 -25
- package/dist/collection/utils/test/csvUtils.spec.js +0 -46
- package/dist/collection/utils/test/downloadUtils.spec.js +0 -102
- package/dist/collection/utils/test/pciUtils.spec.js +0 -297
- package/dist/collection/utils/test/solution-store.spec.js +0 -439
- package/dist/solutions-components/utils/common.js +0 -291
- package/dist/solutions-components/utils/csvDownload.js +0 -36
- package/dist/solutions-components/utils/csvUtils.js +0 -32
- package/dist/solutions-components/utils/downloadUtils.js +0 -386
- package/dist/solutions-components/utils/interfaces.js +0 -56
- package/dist/solutions-components/utils/languageUtil.js +0 -85
- package/dist/solutions-components/utils/loadModules.js +0 -20
- package/dist/solutions-components/utils/locale.js +0 -56
- package/dist/solutions-components/utils/mapViewUtils.js +0 -140
- package/dist/solutions-components/utils/pciUtils.js +0 -837
- package/dist/solutions-components/utils/pdfUtils.js +0 -62
- package/dist/solutions-components/utils/publicNotificationStore.js +0 -38
- package/dist/solutions-components/utils/publicNotificationUtils.js +0 -45
- package/dist/solutions-components/utils/queryUtils.js +0 -148
- package/dist/solutions-components/utils/solution-store.js +0 -579
- package/dist/solutions-components/utils/templates.e2e.js +0 -25
- package/dist/solutions-components/utils/templates.js +0 -341
- package/dist/solutions-components/utils/test/csvUtils.spec.js +0 -46
- package/dist/solutions-components/utils/test/downloadUtils.spec.js +0 -102
- package/dist/solutions-components/utils/test/mocks/jsApi.js +0 -74
- package/dist/solutions-components/utils/test/pciUtils.spec.js +0 -297
- package/dist/solutions-components/utils/test/solution-store.spec.js +0 -439
- package/dist/solutions-components/utils/test/testUtils.js +0 -135
- package/dist/solutions-components/utils/types.js +0 -14
- package/dist/solutions-components_commit.txt +0 -7
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { newSpecPage } from '@stencil/core/testing';
|
|
17
|
-
import { AddRecordModal } from '../add-record-modal';
|
|
18
|
-
xdescribe('add-record-modal', () => {
|
|
19
|
-
it('renders', async () => {
|
|
20
|
-
const page = await newSpecPage({
|
|
21
|
-
components: [AddRecordModal],
|
|
22
|
-
html: `<add-record-modal></add-record-modal>`,
|
|
23
|
-
});
|
|
24
|
-
expect(page.root).toEqualHtml(`
|
|
25
|
-
<add-record-modal>
|
|
26
|
-
<mock:shadow-root>
|
|
27
|
-
<slot></slot>
|
|
28
|
-
</mock:shadow-root>
|
|
29
|
-
</add-record-modal>
|
|
30
|
-
`);
|
|
31
|
-
});
|
|
32
|
-
});
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { newE2EPage } from '@stencil/core/testing';
|
|
17
|
-
xdescribe('buffer-tools', () => {
|
|
18
|
-
it('renders', async () => {
|
|
19
|
-
const page = await newE2EPage();
|
|
20
|
-
await page.setContent('<buffer-tools></buffer-tools>');
|
|
21
|
-
const element = await page.find('buffer-tools');
|
|
22
|
-
expect(element).toHaveClass('hydrated');
|
|
23
|
-
});
|
|
24
|
-
});
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { h } from '@stencil/core';
|
|
17
|
-
import { newSpecPage } from '@stencil/core/testing';
|
|
18
|
-
import { BufferTools } from '../buffer-tools';
|
|
19
|
-
import * as locale from "../../../utils/locale";
|
|
20
|
-
import * as translations from "../../../assets/t9n/buffer-tools/resources.json";
|
|
21
|
-
jest.setTimeout(30000);
|
|
22
|
-
afterEach(() => {
|
|
23
|
-
jest.restoreAllMocks();
|
|
24
|
-
});
|
|
25
|
-
beforeEach(() => {
|
|
26
|
-
jest.spyOn(locale, "getLocaleComponentStrings").mockImplementation(() => [
|
|
27
|
-
translations
|
|
28
|
-
]);
|
|
29
|
-
jest.useFakeTimers();
|
|
30
|
-
});
|
|
31
|
-
xdescribe('buffer-tools', () => {
|
|
32
|
-
it('renders as text', async () => {
|
|
33
|
-
const page = await newSpecPage({
|
|
34
|
-
autoApplyChanges: true,
|
|
35
|
-
components: [BufferTools],
|
|
36
|
-
template: () => (h("buffer-tools", null)),
|
|
37
|
-
});
|
|
38
|
-
expect(page.root).toEqualHtml(`
|
|
39
|
-
<buffer-tools>
|
|
40
|
-
<mock:shadow-root>
|
|
41
|
-
<div class="c-container">
|
|
42
|
-
<calcite-input class="padding-end-1" number-button-type="vertical" placeholder="0" type="number"></calcite-input>
|
|
43
|
-
<calcite-select class="flex-1" label="label">
|
|
44
|
-
<calcite-option label="Feet" value="feet"></calcite-option>
|
|
45
|
-
<calcite-option label="Meters" selected="" value="meters"></calcite-option>
|
|
46
|
-
<calcite-option label="Miles" value="miles"></calcite-option>
|
|
47
|
-
<calcite-option label="Kilometers" value="kilometers"></calcite-option>
|
|
48
|
-
</calcite-select>
|
|
49
|
-
</div>
|
|
50
|
-
</mock:shadow-root>
|
|
51
|
-
</buffer-tools>
|
|
52
|
-
`);
|
|
53
|
-
});
|
|
54
|
-
it('renders as slider', async () => {
|
|
55
|
-
const page = await newSpecPage({
|
|
56
|
-
autoApplyChanges: true,
|
|
57
|
-
components: [BufferTools],
|
|
58
|
-
template: () => (h("buffer-tools", { appearance: 'slider' })),
|
|
59
|
-
});
|
|
60
|
-
expect(page.root).toEqualHtml(`
|
|
61
|
-
<buffer-tools>
|
|
62
|
-
<mock:shadow-root>
|
|
63
|
-
<div>
|
|
64
|
-
<calcite-slider labelhandles="" max="100" min="0" ticks="10"></calcite-slider>
|
|
65
|
-
</div>
|
|
66
|
-
</mock:shadow-root>
|
|
67
|
-
</buffer-tools>
|
|
68
|
-
`);
|
|
69
|
-
});
|
|
70
|
-
it('_setDistance', async () => {
|
|
71
|
-
const timeout = jest.spyOn(global, 'setTimeout');
|
|
72
|
-
const cleartimeout = jest.spyOn(global, 'clearTimeout');
|
|
73
|
-
const page = await newSpecPage({
|
|
74
|
-
autoApplyChanges: true,
|
|
75
|
-
components: [BufferTools],
|
|
76
|
-
template: () => (h("buffer-tools", null)),
|
|
77
|
-
});
|
|
78
|
-
expect(page.root).toEqualHtml(`
|
|
79
|
-
<buffer-tools>
|
|
80
|
-
<mock:shadow-root>
|
|
81
|
-
<div class="c-container">
|
|
82
|
-
<calcite-input class="padding-end-1" number-button-type="vertical" placeholder="0" type="number"></calcite-input>
|
|
83
|
-
<calcite-select class="flex-1" label="label">
|
|
84
|
-
<calcite-option label="Feet" value="feet"></calcite-option>
|
|
85
|
-
<calcite-option label="Meters" selected="" value="meters"></calcite-option>
|
|
86
|
-
<calcite-option label="Miles" value="miles"></calcite-option>
|
|
87
|
-
<calcite-option label="Kilometers" value="kilometers"></calcite-option>
|
|
88
|
-
</calcite-select>
|
|
89
|
-
</div>
|
|
90
|
-
</mock:shadow-root>
|
|
91
|
-
</buffer-tools>
|
|
92
|
-
`);
|
|
93
|
-
let matcher = undefined;
|
|
94
|
-
page.root.geometries = [{}];
|
|
95
|
-
jest.runAllTimers();
|
|
96
|
-
page.doc.addEventListener("bufferComplete", (evt) => {
|
|
97
|
-
expect(evt.detail).toEqual(matcher);
|
|
98
|
-
});
|
|
99
|
-
page.rootInstance._testAccess("_setDistance", { detail: { value: 0 } });
|
|
100
|
-
jest.runAllTimers();
|
|
101
|
-
page.rootInstance._testAccess("_setDistance", { detail: { value: 1 } });
|
|
102
|
-
jest.runAllTimers();
|
|
103
|
-
expect(timeout).toBeCalledTimes(3);
|
|
104
|
-
expect(cleartimeout).toBeCalledTimes(2);
|
|
105
|
-
timeout.mockReset();
|
|
106
|
-
timeout.mockRestore();
|
|
107
|
-
cleartimeout.mockReset();
|
|
108
|
-
cleartimeout.mockRestore();
|
|
109
|
-
});
|
|
110
|
-
it('geometries watch', async () => {
|
|
111
|
-
const timeout = jest.spyOn(global, 'setTimeout');
|
|
112
|
-
const cleartimeout = jest.spyOn(global, 'clearTimeout');
|
|
113
|
-
const page = await newSpecPage({
|
|
114
|
-
autoApplyChanges: true,
|
|
115
|
-
components: [BufferTools],
|
|
116
|
-
template: () => (h("buffer-tools", null)),
|
|
117
|
-
});
|
|
118
|
-
expect(page.root).toEqualHtml(`
|
|
119
|
-
<buffer-tools>
|
|
120
|
-
<mock:shadow-root>
|
|
121
|
-
<div class="c-container">
|
|
122
|
-
<calcite-input class="padding-end-1" number-button-type="vertical" placeholder="0" type="number"></calcite-input>
|
|
123
|
-
<calcite-select class="flex-1" label="label">
|
|
124
|
-
<calcite-option label="Feet" value="feet"></calcite-option>
|
|
125
|
-
<calcite-option label="Meters" selected="" value="meters"></calcite-option>
|
|
126
|
-
<calcite-option label="Miles" value="miles"></calcite-option>
|
|
127
|
-
<calcite-option label="Kilometers" value="kilometers"></calcite-option>
|
|
128
|
-
</calcite-select>
|
|
129
|
-
</div>
|
|
130
|
-
</mock:shadow-root>
|
|
131
|
-
</buffer-tools>
|
|
132
|
-
`);
|
|
133
|
-
page.root.geometries = [{}];
|
|
134
|
-
page.root.geometries = [];
|
|
135
|
-
expect(timeout).toBeCalledTimes(3);
|
|
136
|
-
expect(cleartimeout).toBeCalledTimes(2);
|
|
137
|
-
timeout.mockReset();
|
|
138
|
-
timeout.mockRestore();
|
|
139
|
-
cleartimeout.mockReset();
|
|
140
|
-
cleartimeout.mockRestore();
|
|
141
|
-
});
|
|
142
|
-
it('have expected defaults', () => {
|
|
143
|
-
const bufferTools = new BufferTools();
|
|
144
|
-
expect(bufferTools.appearance).toEqual('text');
|
|
145
|
-
expect(bufferTools.distance).toEqual(0);
|
|
146
|
-
expect(bufferTools.geometries).toEqual([]);
|
|
147
|
-
expect(bufferTools.sliderMax).toEqual(100);
|
|
148
|
-
expect(bufferTools.sliderMin).toEqual(0);
|
|
149
|
-
expect(bufferTools.sliderTicks).toEqual(10);
|
|
150
|
-
expect(bufferTools.unionResults).toEqual(true);
|
|
151
|
-
expect(bufferTools.unit).toEqual('meters');
|
|
152
|
-
});
|
|
153
|
-
it('have expected defaults', () => {
|
|
154
|
-
const bufferTools = new BufferTools();
|
|
155
|
-
bufferTools._testAccess("_setUnit", "meters");
|
|
156
|
-
});
|
|
157
|
-
});
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { newE2EPage } from '@stencil/core/testing';
|
|
17
|
-
xdescribe('card-manager', () => {
|
|
18
|
-
it('renders', async () => {
|
|
19
|
-
const page = await newE2EPage();
|
|
20
|
-
await page.setContent('<card-manager></card-manager>');
|
|
21
|
-
const element = await page.find('card-manager');
|
|
22
|
-
expect(element).toHaveClass('hydrated');
|
|
23
|
-
});
|
|
24
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { newSpecPage } from '@stencil/core/testing';
|
|
17
|
-
import { CardManager } from '../card-manager';
|
|
18
|
-
xdescribe('card-manager', () => {
|
|
19
|
-
it('renders', async () => {
|
|
20
|
-
const page = await newSpecPage({
|
|
21
|
-
components: [CardManager],
|
|
22
|
-
html: `<card-manager></card-manager>`,
|
|
23
|
-
});
|
|
24
|
-
expect(page.root).toEqualHtml(`
|
|
25
|
-
<card-manager>
|
|
26
|
-
<mock:shadow-root>
|
|
27
|
-
<slot></slot>
|
|
28
|
-
</mock:shadow-root>
|
|
29
|
-
</card-manager>
|
|
30
|
-
`);
|
|
31
|
-
});
|
|
32
|
-
});
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { newE2EPage } from '@stencil/core/testing';
|
|
17
|
-
xdescribe('comment-card', () => {
|
|
18
|
-
it('renders', async () => {
|
|
19
|
-
const page = await newE2EPage();
|
|
20
|
-
await page.setContent('<comment-card></comment-card>');
|
|
21
|
-
const element = await page.find('comment-card');
|
|
22
|
-
expect(element).toHaveClass('hydrated');
|
|
23
|
-
});
|
|
24
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { newSpecPage } from '@stencil/core/testing';
|
|
17
|
-
import { CommentCard } from '../comment-card';
|
|
18
|
-
xdescribe('comment-card', () => {
|
|
19
|
-
it('renders', async () => {
|
|
20
|
-
const page = await newSpecPage({
|
|
21
|
-
components: [CommentCard],
|
|
22
|
-
html: `<comment-card></comment-card>`,
|
|
23
|
-
});
|
|
24
|
-
expect(page.root).toEqualHtml(`
|
|
25
|
-
<comment-card>
|
|
26
|
-
<mock:shadow-root>
|
|
27
|
-
<slot></slot>
|
|
28
|
-
</mock:shadow-root>
|
|
29
|
-
</comment-card>
|
|
30
|
-
`);
|
|
31
|
-
});
|
|
32
|
-
});
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { newE2EPage } from '@stencil/core/testing';
|
|
17
|
-
xdescribe('crowdsource-manager', () => {
|
|
18
|
-
it('renders', async () => {
|
|
19
|
-
const page = await newE2EPage();
|
|
20
|
-
await page.setContent('<crowdsource-manager></crowdsource-manager>');
|
|
21
|
-
const element = await page.find('crowdsource-manager');
|
|
22
|
-
expect(element).toHaveClass('hydrated');
|
|
23
|
-
});
|
|
24
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { newSpecPage } from '@stencil/core/testing';
|
|
17
|
-
import { CrowdsourceManager } from '../crowdsource-manager';
|
|
18
|
-
xdescribe('crowdsource-manager', () => {
|
|
19
|
-
it('renders', async () => {
|
|
20
|
-
const page = await newSpecPage({
|
|
21
|
-
components: [CrowdsourceManager],
|
|
22
|
-
html: `<crowdsource-manager></crowdsource-manager>`,
|
|
23
|
-
});
|
|
24
|
-
expect(page.root).toEqualHtml(`
|
|
25
|
-
<crowdsource-manager>
|
|
26
|
-
<mock:shadow-root>
|
|
27
|
-
<slot></slot>
|
|
28
|
-
</mock:shadow-root>
|
|
29
|
-
</crowdsource-manager>
|
|
30
|
-
`);
|
|
31
|
-
});
|
|
32
|
-
});
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { newE2EPage } from '@stencil/core/testing';
|
|
17
|
-
xdescribe('crowdsource-reporter', () => {
|
|
18
|
-
it('renders', async () => {
|
|
19
|
-
const page = await newE2EPage();
|
|
20
|
-
await page.setContent('<crowdsource-reporter></crowdsource-reporter>');
|
|
21
|
-
const element = await page.find('crowdsource-reporter');
|
|
22
|
-
expect(element).toHaveClass('hydrated');
|
|
23
|
-
});
|
|
24
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { newSpecPage } from '@stencil/core/testing';
|
|
17
|
-
import { CrowdsourceReporter } from '../crowdsource-reporter';
|
|
18
|
-
xdescribe('crowdsource-reporter', () => {
|
|
19
|
-
it('renders', async () => {
|
|
20
|
-
const page = await newSpecPage({
|
|
21
|
-
components: [CrowdsourceReporter],
|
|
22
|
-
html: `<crowdsource-reporter></crowdsource-reporter>`,
|
|
23
|
-
});
|
|
24
|
-
expect(page.root).toEqualHtml(`
|
|
25
|
-
<crowdsource-reporter>
|
|
26
|
-
<mock:shadow-root>
|
|
27
|
-
<slot></slot>
|
|
28
|
-
</mock:shadow-root>
|
|
29
|
-
</crowdsource-reporter>
|
|
30
|
-
`);
|
|
31
|
-
});
|
|
32
|
-
});
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { newE2EPage } from '@stencil/core/testing';
|
|
17
|
-
xdescribe('deduct-calculator', () => {
|
|
18
|
-
it('renders', async () => {
|
|
19
|
-
const page = await newE2EPage();
|
|
20
|
-
await page.setContent('<deduct-calculator></deduct-calculator>');
|
|
21
|
-
const element = await page.find('deduct-calculator');
|
|
22
|
-
expect(element).toHaveClass('hydrated');
|
|
23
|
-
});
|
|
24
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { newSpecPage } from '@stencil/core/testing';
|
|
17
|
-
import { DeductCalculator } from '../deduct-calculator';
|
|
18
|
-
xdescribe('pci-calculator', () => {
|
|
19
|
-
it('renders', async () => {
|
|
20
|
-
const page = await newSpecPage({
|
|
21
|
-
components: [DeductCalculator],
|
|
22
|
-
html: `<deduct-calculator></deduct-calculator>`,
|
|
23
|
-
});
|
|
24
|
-
expect(page.root).toEqualHtml(`
|
|
25
|
-
<deduct-calculator>
|
|
26
|
-
<mock:shadow-root>
|
|
27
|
-
<slot></slot>
|
|
28
|
-
</mock:shadow-root>
|
|
29
|
-
</deduct-calculator>
|
|
30
|
-
`);
|
|
31
|
-
});
|
|
32
|
-
});
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { newE2EPage } from '@stencil/core/testing';
|
|
17
|
-
xdescribe('edit-record-modal', () => {
|
|
18
|
-
it('renders', async () => {
|
|
19
|
-
const page = await newE2EPage();
|
|
20
|
-
await page.setContent('<edit-record-modal></edit-record-modal>');
|
|
21
|
-
const element = await page.find('edit-record-modal');
|
|
22
|
-
expect(element).toHaveClass('hydrated');
|
|
23
|
-
});
|
|
24
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { newSpecPage } from '@stencil/core/testing';
|
|
17
|
-
import { EditRecordModal } from '../edit-record-modal';
|
|
18
|
-
xdescribe('edit-record-modal', () => {
|
|
19
|
-
it('renders', async () => {
|
|
20
|
-
const page = await newSpecPage({
|
|
21
|
-
components: [EditRecordModal],
|
|
22
|
-
html: `<edit-record-modal></edit-record-modal>`,
|
|
23
|
-
});
|
|
24
|
-
expect(page.root).toEqualHtml(`
|
|
25
|
-
<edit-record-modal>
|
|
26
|
-
<mock:shadow-root>
|
|
27
|
-
<slot></slot>
|
|
28
|
-
</mock:shadow-root>
|
|
29
|
-
</edit-record-modal>
|
|
30
|
-
`);
|
|
31
|
-
});
|
|
32
|
-
});
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { newE2EPage } from '@stencil/core/testing';
|
|
17
|
-
xdescribe('info-card', () => {
|
|
18
|
-
it('renders', async () => {
|
|
19
|
-
const page = await newE2EPage();
|
|
20
|
-
await page.setContent('<info-card></info-card>');
|
|
21
|
-
const element = await page.find('info-card');
|
|
22
|
-
expect(element).toHaveClass('hydrated');
|
|
23
|
-
});
|
|
24
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { newSpecPage } from '@stencil/core/testing';
|
|
17
|
-
import { InfoCard } from '../info-card';
|
|
18
|
-
xdescribe('info-card', () => {
|
|
19
|
-
it('renders', async () => {
|
|
20
|
-
const page = await newSpecPage({
|
|
21
|
-
components: [InfoCard],
|
|
22
|
-
html: `<info-card></info-card>`,
|
|
23
|
-
});
|
|
24
|
-
expect(page.root).toEqualHtml(`
|
|
25
|
-
<info-card>
|
|
26
|
-
<mock:shadow-root>
|
|
27
|
-
<slot></slot>
|
|
28
|
-
</mock:shadow-root>
|
|
29
|
-
</info-card>
|
|
30
|
-
`);
|
|
31
|
-
});
|
|
32
|
-
});
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2022 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
//import { newE2EPage } from '@stencil/core/testing';
|
|
17
|
-
xdescribe('json-editor', () => {
|
|
18
|
-
it('renders', async () => {
|
|
19
|
-
//TEST commented out for now.
|
|
20
|
-
// need to work out how we pass translations
|
|
21
|
-
// e2e tests don't seem to support a similar apporach to the unit tests where we can use template to load JSX
|
|
22
|
-
// could flatten the translations further so it would contain no sub groups
|
|
23
|
-
// could set default translations for each file
|
|
24
|
-
// and could still have a test to compare the default with the actual as a way to verify
|
|
25
|
-
// const page = await newE2EPage();
|
|
26
|
-
// await page.setContent('<json-editor></json-editor>');
|
|
27
|
-
// const element = await page.find('json-editor');
|
|
28
|
-
// expect(element).toHaveClass('hydrated');
|
|
29
|
-
expect("Nothing").toEqual("Nothing");
|
|
30
|
-
});
|
|
31
|
-
});
|