@esri/solutions-components 0.8.6-6.3 → 0.8.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/crowdsource-reporter/resources.json +3 -11
- package/dist/assets/t9n/crowdsource-reporter/resources_ar.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_bg.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_bs.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_ca.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_cs.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_da.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_de.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_el.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_en.json +3 -11
- package/dist/assets/t9n/crowdsource-reporter/resources_es.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_et.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_fi.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_fr.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_he.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_hr.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_hu.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_id.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_it.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_ja.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_ko.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_lt.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_lv.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_nb.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_nl.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_pl.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_pt-BR.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_pt-PT.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_ro.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_ru.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_sk.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_sl.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_sr.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_sv.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_th.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_tr.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_uk.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_vi.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_zh-CN.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_zh-HK.json +8 -15
- package/dist/assets/t9n/crowdsource-reporter/resources_zh-TW.json +8 -15
- package/dist/assets/t9n/feature-list/resources_ar.json +1 -1
- package/dist/assets/t9n/feature-list/resources_bg.json +1 -1
- package/dist/assets/t9n/feature-list/resources_bs.json +1 -1
- package/dist/assets/t9n/feature-list/resources_ca.json +1 -1
- package/dist/assets/t9n/feature-list/resources_cs.json +1 -1
- package/dist/assets/t9n/feature-list/resources_da.json +1 -1
- package/dist/assets/t9n/feature-list/resources_de.json +1 -1
- package/dist/assets/t9n/feature-list/resources_el.json +1 -1
- package/dist/assets/t9n/feature-list/resources_es.json +1 -1
- package/dist/assets/t9n/feature-list/resources_et.json +1 -1
- package/dist/assets/t9n/feature-list/resources_fi.json +1 -1
- package/dist/assets/t9n/feature-list/resources_fr.json +1 -1
- package/dist/assets/t9n/feature-list/resources_he.json +1 -1
- package/dist/assets/t9n/feature-list/resources_hr.json +1 -1
- package/dist/assets/t9n/feature-list/resources_hu.json +1 -1
- package/dist/assets/t9n/feature-list/resources_id.json +1 -1
- package/dist/assets/t9n/feature-list/resources_it.json +1 -1
- package/dist/assets/t9n/feature-list/resources_ja.json +1 -1
- package/dist/assets/t9n/feature-list/resources_ko.json +1 -1
- package/dist/assets/t9n/feature-list/resources_lt.json +1 -1
- package/dist/assets/t9n/feature-list/resources_lv.json +1 -1
- package/dist/assets/t9n/feature-list/resources_nb.json +1 -1
- package/dist/assets/t9n/feature-list/resources_nl.json +1 -1
- package/dist/assets/t9n/feature-list/resources_pl.json +1 -1
- package/dist/assets/t9n/feature-list/resources_pt-BR.json +1 -1
- package/dist/assets/t9n/feature-list/resources_pt-PT.json +1 -1
- package/dist/assets/t9n/feature-list/resources_ro.json +1 -1
- package/dist/assets/t9n/feature-list/resources_ru.json +1 -1
- package/dist/assets/t9n/feature-list/resources_sk.json +1 -1
- package/dist/assets/t9n/feature-list/resources_sl.json +1 -1
- package/dist/assets/t9n/feature-list/resources_sr.json +1 -1
- package/dist/assets/t9n/feature-list/resources_sv.json +1 -1
- package/dist/assets/t9n/feature-list/resources_th.json +1 -1
- package/dist/assets/t9n/feature-list/resources_tr.json +1 -1
- package/dist/assets/t9n/feature-list/resources_uk.json +1 -1
- package/dist/assets/t9n/feature-list/resources_vi.json +1 -1
- package/dist/assets/t9n/feature-list/resources_zh-CN.json +1 -1
- package/dist/assets/t9n/feature-list/resources_zh-HK.json +1 -1
- package/dist/assets/t9n/feature-list/resources_zh-TW.json +1 -1
- package/dist/assets/t9n/layer-list/resources.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ar.json +1 -1
- package/dist/assets/t9n/layer-list/resources_bg.json +1 -1
- package/dist/assets/t9n/layer-list/resources_bs.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ca.json +1 -1
- package/dist/assets/t9n/layer-list/resources_cs.json +1 -1
- package/dist/assets/t9n/layer-list/resources_da.json +1 -1
- package/dist/assets/t9n/layer-list/resources_de.json +1 -1
- package/dist/assets/t9n/layer-list/resources_el.json +1 -1
- package/dist/assets/t9n/layer-list/resources_en.json +1 -1
- package/dist/assets/t9n/layer-list/resources_es.json +1 -1
- package/dist/assets/t9n/layer-list/resources_et.json +1 -1
- package/dist/assets/t9n/layer-list/resources_fi.json +1 -1
- package/dist/assets/t9n/layer-list/resources_fr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_he.json +1 -1
- package/dist/assets/t9n/layer-list/resources_hr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_hu.json +1 -1
- package/dist/assets/t9n/layer-list/resources_id.json +1 -1
- package/dist/assets/t9n/layer-list/resources_it.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ja.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ko.json +1 -1
- package/dist/assets/t9n/layer-list/resources_lt.json +1 -1
- package/dist/assets/t9n/layer-list/resources_lv.json +1 -1
- package/dist/assets/t9n/layer-list/resources_nb.json +1 -1
- package/dist/assets/t9n/layer-list/resources_nl.json +1 -1
- package/dist/assets/t9n/layer-list/resources_pl.json +1 -1
- package/dist/assets/t9n/layer-list/resources_pt-BR.json +1 -1
- package/dist/assets/t9n/layer-list/resources_pt-PT.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ro.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ru.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sk.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sl.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sv.json +1 -1
- package/dist/assets/t9n/layer-list/resources_th.json +1 -1
- package/dist/assets/t9n/layer-list/resources_tr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_uk.json +1 -1
- package/dist/assets/t9n/layer-list/resources_vi.json +1 -1
- package/dist/assets/t9n/layer-list/resources_zh-CN.json +1 -1
- package/dist/assets/t9n/layer-list/resources_zh-HK.json +1 -1
- package/dist/assets/t9n/layer-list/resources_zh-TW.json +1 -1
- package/dist/assets/t9n/media-card/resources.json +3 -1
- package/dist/assets/t9n/media-card/resources_en.json +3 -1
- package/dist/assets/t9n/public-notification/resources_ar.json +1 -3
- package/dist/assets/t9n/public-notification/resources_bg.json +1 -3
- package/dist/assets/t9n/public-notification/resources_bs.json +1 -3
- package/dist/assets/t9n/public-notification/resources_ca.json +1 -3
- package/dist/assets/t9n/public-notification/resources_cs.json +1 -3
- package/dist/assets/t9n/public-notification/resources_da.json +1 -3
- package/dist/assets/t9n/public-notification/resources_de.json +1 -3
- package/dist/assets/t9n/public-notification/resources_el.json +1 -3
- package/dist/assets/t9n/public-notification/resources_es.json +1 -3
- package/dist/assets/t9n/public-notification/resources_et.json +1 -3
- package/dist/assets/t9n/public-notification/resources_fi.json +1 -3
- package/dist/assets/t9n/public-notification/resources_fr.json +1 -3
- package/dist/assets/t9n/public-notification/resources_he.json +1 -3
- package/dist/assets/t9n/public-notification/resources_hr.json +1 -3
- package/dist/assets/t9n/public-notification/resources_hu.json +1 -3
- package/dist/assets/t9n/public-notification/resources_id.json +1 -3
- package/dist/assets/t9n/public-notification/resources_it.json +1 -3
- package/dist/assets/t9n/public-notification/resources_ja.json +1 -3
- package/dist/assets/t9n/public-notification/resources_ko.json +1 -3
- package/dist/assets/t9n/public-notification/resources_lt.json +1 -3
- package/dist/assets/t9n/public-notification/resources_lv.json +1 -3
- package/dist/assets/t9n/public-notification/resources_nb.json +1 -3
- package/dist/assets/t9n/public-notification/resources_nl.json +1 -3
- package/dist/assets/t9n/public-notification/resources_pl.json +1 -3
- package/dist/assets/t9n/public-notification/resources_pt-BR.json +1 -3
- package/dist/assets/t9n/public-notification/resources_pt-PT.json +1 -3
- package/dist/assets/t9n/public-notification/resources_ro.json +1 -3
- package/dist/assets/t9n/public-notification/resources_ru.json +1 -3
- package/dist/assets/t9n/public-notification/resources_sk.json +1 -3
- package/dist/assets/t9n/public-notification/resources_sl.json +1 -3
- package/dist/assets/t9n/public-notification/resources_sr.json +1 -3
- package/dist/assets/t9n/public-notification/resources_sv.json +1 -3
- package/dist/assets/t9n/public-notification/resources_th.json +1 -3
- package/dist/assets/t9n/public-notification/resources_tr.json +1 -3
- package/dist/assets/t9n/public-notification/resources_uk.json +1 -3
- package/dist/assets/t9n/public-notification/resources_vi.json +1 -3
- package/dist/assets/t9n/public-notification/resources_zh-CN.json +1 -3
- package/dist/assets/t9n/public-notification/resources_zh-HK.json +1 -3
- package/dist/assets/t9n/public-notification/resources_zh-TW.json +1 -3
- package/dist/assets/t9n/solution-spatial-ref/resources.json +3 -3
- package/dist/assets/t9n/solution-spatial-ref/resources_en.json +2 -2
- package/dist/assets/t9n/solution-spatial-ref/resources_fr.json +2 -2
- package/dist/assets/t9n/solution-spatial-ref/resources_he.json +2 -2
- package/dist/cjs/ExpandToggle-da591f01.js +118 -0
- package/dist/cjs/FloatingArrow-a27ad9b2.js +50 -0
- package/dist/cjs/Heading-bd401e0a.js +25 -0
- package/dist/cjs/Validation-b02c6710.js +20 -0
- package/dist/cjs/_commonjsHelpers-480c2e77.js +47 -0
- package/dist/cjs/app-globals-056e11bb.js +69 -0
- package/dist/cjs/ar-bec1adeb.js +105 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +3 -4
- package/dist/cjs/array-6ea3edb8.js +17 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +51 -100
- package/dist/cjs/bg-e1afda53.js +83 -0
- package/dist/cjs/breakpoints-fcd0f2a0.js +17 -0
- package/dist/cjs/browser-d08a5f99.js +23 -0
- package/dist/cjs/bs-d14ff0d3.js +52 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +23 -25
- package/dist/cjs/ca-10ee7960.js +72 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +13 -14
- package/dist/cjs/calcite-accordion.cjs.entry.js +5 -6
- package/dist/cjs/calcite-action-bar.cjs.entry.js +17 -18
- package/dist/cjs/calcite-action-group.cjs.entry.js +14 -15
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +697 -0
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +22 -24
- package/dist/cjs/calcite-action_2.cjs.entry.js +21 -26
- package/dist/cjs/calcite-alert_4.cjs.entry.js +41 -92
- package/dist/cjs/calcite-avatar.cjs.entry.js +150 -0
- package/dist/cjs/calcite-block-section.cjs.entry.js +13 -14
- package/dist/cjs/calcite-block_2.cjs.entry.js +652 -0
- package/dist/cjs/calcite-button.cjs.entry.js +22 -26
- package/dist/cjs/calcite-card.cjs.entry.js +37 -133
- package/dist/cjs/calcite-checkbox.cjs.entry.js +15 -29
- package/dist/cjs/calcite-chip-group.cjs.entry.js +23 -46
- package/dist/cjs/calcite-chip_2.cjs.entry.js +30 -53
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +18 -19
- package/dist/cjs/calcite-color-picker.cjs.entry.js +47 -64
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +8 -9
- package/dist/cjs/calcite-combobox_5.cjs.entry.js +2120 -0
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +30 -45
- package/dist/cjs/calcite-fab.cjs.entry.js +10 -11
- package/dist/cjs/calcite-filter_5.cjs.entry.js +136 -175
- package/dist/cjs/calcite-flow_5.cjs.entry.js +1106 -0
- package/dist/cjs/calcite-graph_2.cjs.entry.js +1055 -0
- package/dist/cjs/calcite-icon.cjs.entry.js +9 -10
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +19 -20
- package/dist/cjs/calcite-input-date-picker_3.cjs.entry.js +2287 -0
- package/dist/cjs/calcite-input-number.cjs.entry.js +55 -78
- package/dist/cjs/calcite-input-text.cjs.entry.js +40 -61
- package/dist/cjs/calcite-input-time-picker-bb2db82c.js +1850 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +29 -71
- package/dist/cjs/calcite-input_2.cjs.entry.js +72 -88
- package/dist/cjs/calcite-label.cjs.entry.js +9 -10
- package/dist/cjs/calcite-link.cjs.entry.js +13 -14
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +12 -10
- package/dist/cjs/calcite-menu-item.cjs.entry.js +14 -18
- package/dist/cjs/calcite-menu.cjs.entry.js +11 -12
- package/dist/cjs/calcite-meter.cjs.entry.js +12 -13
- package/dist/cjs/calcite-modal.cjs.entry.js +20 -21
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +9 -18
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +72 -0
- package/dist/cjs/calcite-navigation.cjs.entry.js +9 -10
- package/dist/cjs/calcite-notice.cjs.entry.js +20 -21
- package/dist/cjs/calcite-option-group.cjs.entry.js +3 -4
- package/dist/cjs/calcite-option_2.cjs.entry.js +19 -34
- package/dist/cjs/calcite-pagination.cjs.entry.js +34 -61
- package/dist/cjs/calcite-panel_2.cjs.entry.js +22 -24
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +10 -11
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +18 -19
- package/dist/cjs/calcite-pick-list.cjs.entry.js +15 -16
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +7 -8
- package/dist/cjs/calcite-radio-button.cjs.entry.js +16 -17
- package/dist/cjs/calcite-rating.cjs.entry.js +19 -20
- package/dist/cjs/calcite-scrim.cjs.entry.js +125 -0
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +20 -35
- package/dist/cjs/calcite-sheet.cjs.entry.js +13 -14
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +10 -11
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +123 -340
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +12 -13
- package/dist/cjs/calcite-split-button.cjs.entry.js +8 -9
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +19 -19
- package/dist/cjs/calcite-stepper.cjs.entry.js +98 -58
- package/dist/cjs/calcite-switch.cjs.entry.js +15 -16
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +27 -53
- package/dist/cjs/calcite-table-row.cjs.entry.js +77 -93
- package/dist/cjs/calcite-table.cjs.entry.js +17 -27
- package/dist/cjs/calcite-text-area.cjs.entry.js +30 -57
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +5 -6
- package/dist/cjs/calcite-tile-select.cjs.entry.js +10 -11
- package/dist/cjs/calcite-tile.cjs.entry.js +19 -142
- package/dist/cjs/calcite-time-picker.cjs.entry.js +32 -33
- package/dist/cjs/calcite-tip-group.cjs.entry.js +3 -4
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +12 -13
- package/dist/cjs/calcite-tip.cjs.entry.js +14 -15
- package/dist/cjs/calcite-tooltip.cjs.entry.js +22 -20
- package/dist/cjs/calcite-tree_2.cjs.entry.js +20 -24
- package/dist/cjs/card-manager_3.cjs.entry.js +47 -125
- package/dist/cjs/common-e6e9f7d6.js +38 -0
- package/dist/cjs/component-ac7c3bd8.js +33 -0
- package/dist/cjs/conditionalSlot-9d7b60d1.js +63 -0
- package/dist/cjs/consent-manager.cjs.entry.js +1032 -13
- package/dist/cjs/crowdsource-manager.cjs.entry.js +32 -77
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +78 -353
- package/dist/cjs/cs-5d5113c9.js +148 -0
- package/dist/cjs/da-b9b48fb6.js +67 -0
- package/dist/cjs/date-9de4dd6f.js +261 -0
- package/dist/cjs/de-2e3205ac.js +92 -0
- package/dist/cjs/de-at-28bea0b1.js +91 -0
- package/dist/cjs/de-ch-376dd4c7.js +91 -0
- package/dist/cjs/debounce-30afab47.js +496 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +4 -5
- package/dist/cjs/dom-c9c2c835.js +1087 -0
- package/dist/cjs/downloadUtils-8b05d7cc.js +3166 -0
- package/dist/cjs/el-98aab056.js +67 -0
- package/dist/cjs/en-au-e3c99f1e.js +67 -0
- package/dist/cjs/en-ca-32f77575.js +66 -0
- package/dist/cjs/en-gb-7f5e80a9.js +70 -0
- package/dist/cjs/es-9899072a.js +67 -0
- package/dist/cjs/es-mx-e33cab75.js +66 -0
- package/dist/cjs/esri-loader-ce6c3d3d.js +303 -0
- package/dist/cjs/et-b55f74e1.js +93 -0
- package/dist/cjs/feature-comments.cjs.entry.js +3 -4
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +3 -4
- package/dist/cjs/features-flow-item.cjs.entry.js +3 -4
- package/dist/cjs/fi-aa10ef36.js +116 -0
- package/dist/cjs/filter-b524f88d.js +765 -0
- package/dist/cjs/floating-ui-984cc970.js +1966 -0
- package/dist/cjs/focusTrapComponent-faae7d7e.js +1028 -0
- package/dist/cjs/form-fed676d6.js +316 -0
- package/dist/cjs/fr-52b860d8.js +69 -0
- package/dist/cjs/fr-ch-665d488a.js +67 -0
- package/dist/cjs/guid-ae73cd27.js +26 -0
- package/dist/cjs/he-e572f72c.js +106 -0
- package/dist/cjs/helpers-b014d9a9.js +906 -0
- package/dist/cjs/hi-d1bf5a03.js +66 -0
- package/dist/cjs/hr-7dbc9a12.js +81 -0
- package/dist/cjs/html2canvas-27a2547c.js +7842 -0
- package/dist/cjs/hu-dcb326c9.js +89 -0
- package/dist/cjs/id-9ac473e6.js +67 -0
- package/dist/cjs/index-105cf2b9.js +2553 -0
- package/dist/cjs/index-ae65e42f.js +201 -0
- package/dist/cjs/index.es-e7587227.js +10811 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +13 -16
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +6 -7
- package/dist/cjs/instant-apps-export.cjs.entry.js +23 -39
- package/dist/cjs/instant-apps-header.cjs.entry.js +9 -11
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +150 -161
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +10 -12
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +10 -11
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +19 -24
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +9 -10
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +8 -9
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +21 -58
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +11 -12
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +11 -12
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +8 -9
- package/dist/cjs/instant-apps-popover.cjs.entry.js +8 -9
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +3 -4
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +9 -10
- package/dist/cjs/instant-apps-splash.cjs.entry.js +14 -15
- package/dist/cjs/interactive-3ab7044d.js +144 -0
- package/dist/cjs/it-5ee42edc.js +67 -0
- package/dist/cjs/it-ch-54981090.js +67 -0
- package/dist/cjs/ja-f090b8db.js +73 -0
- package/dist/cjs/key-c5504030.js +19 -0
- package/dist/cjs/ko-14650b28.js +73 -0
- package/dist/cjs/label-32573e1d.js +186 -0
- package/dist/cjs/languageSwitcher-3870c772.js +58 -0
- package/dist/cjs/languageUtil-0df39c0c.js +69 -0
- package/dist/cjs/layout-manager.cjs.entry.js +6 -7
- package/dist/cjs/list-flow-item.cjs.entry.js +3 -4
- package/dist/cjs/loadModules-01306709.js +23 -0
- package/dist/cjs/loadable-5a794992.js +94 -0
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/locale-3d0a4bc2.js +161 -0
- package/dist/cjs/locale-4cef466e.js +91 -0
- package/dist/cjs/locale-d237c9d5.js +584 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +3 -4
- package/dist/cjs/lt-7d826627.js +98 -0
- package/dist/cjs/lv-397bf143.js +67 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +24 -28
- package/dist/cjs/mapViewUtils-3e0fa457.js +472 -0
- package/dist/cjs/math-318a1646.js +60 -0
- package/dist/cjs/mk-112e247a.js +67 -0
- package/dist/cjs/mode-d6c12b38.js +19 -0
- package/dist/cjs/nb-0a4d7d1f.js +68 -0
- package/dist/cjs/nl-cfcabe91.js +68 -0
- package/dist/cjs/observers-db4527e4.js +53 -0
- package/dist/cjs/openCloseComponent-19a769d0.js +92 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +4 -5
- package/dist/cjs/pciUtils-a238f3a1.js +847 -0
- package/dist/cjs/pl-c3e61022.js +115 -0
- package/dist/cjs/popupUtils-6be3588c.js +96 -0
- package/dist/cjs/pt-6733c97d.js +68 -0
- package/dist/cjs/pt-br-6e06cf69.js +66 -0
- package/dist/cjs/public-notification.cjs.entry.js +24 -38
- package/dist/cjs/publicNotificationStore-e790601d.js +47 -0
- package/dist/cjs/purify-4791ecca.js +1712 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +3 -4
- package/dist/cjs/resources-02142b99.js +2062 -0
- package/dist/cjs/resources-1d88e9d6.js +39 -0
- package/dist/cjs/resources-3e593312.js +52 -0
- package/dist/cjs/resources-555dae0e.js +29 -0
- package/dist/cjs/resources-7e540eac.js +26 -0
- package/dist/cjs/resources-9447c777.js +32 -0
- package/dist/cjs/resources-baef554d.js +27 -0
- package/dist/cjs/resources-c4fe74a9.js +23 -0
- package/dist/cjs/resources-dd8ff1b4.js +20 -0
- package/dist/cjs/restHelpersGet-2ed729ab.js +972 -0
- package/dist/cjs/ro-60cdf606.js +67 -0
- package/dist/cjs/ru-bf392182.js +127 -0
- package/dist/cjs/share-item.cjs.entry.js +3 -4
- package/dist/cjs/shared-list-render-410f421e.js +365 -0
- package/dist/cjs/sk-cf9539a5.js +149 -0
- package/dist/cjs/sl-1d297b4f.js +169 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +357 -17
- package/dist/cjs/solution-contents_3.cjs.entry.js +55 -67
- package/dist/cjs/solution-item-icon.cjs.entry.js +3 -4
- package/dist/cjs/solution-resource-97186521.js +141 -0
- package/dist/cjs/solution-store-67bcf552.js +1344 -0
- package/dist/cjs/solutions-components.cjs.js +14 -14
- package/dist/cjs/sortableComponent-c111c036.js +2742 -0
- package/dist/cjs/spatial-ref.cjs.entry.js +8 -9
- package/dist/cjs/sr-f0c4f00a.js +102 -0
- package/dist/cjs/store-manager.cjs.entry.js +14 -18
- package/dist/cjs/styles-c9e1375a.js +13 -0
- package/dist/cjs/sv-620bebec.js +72 -0
- package/dist/cjs/t9n-993a84de.js +100 -0
- package/dist/cjs/th-07dd0e43.js +66 -0
- package/dist/cjs/throttle-aeeb1b4d.js +75 -0
- package/dist/cjs/time-ff8d50c7.js +289 -0
- package/dist/cjs/tr-42e14ef4.js +67 -0
- package/dist/cjs/uk-398a1806.js +105 -0
- package/dist/cjs/utils-3940c852.js +105 -0
- package/dist/cjs/utils-65d812ea.js +62 -0
- package/dist/cjs/utils-7bc7f595.js +64 -0
- package/dist/cjs/utils-ac836e7a.js +130 -0
- package/dist/cjs/utils-cca83dd0.js +221 -0
- package/dist/cjs/vi-860b42fc.js +71 -0
- package/dist/cjs/zh-cn-a89ecb38.js +95 -0
- package/dist/cjs/zh-hk-affe0bef.js +72 -0
- package/dist/cjs/zh-tw-ca333ffb.js +93 -0
- package/dist/collection/collection-manifest.json +3 -11
- package/dist/collection/components/arcgis-login/arcgis-login.js +1 -1
- package/dist/collection/components/arcgis-login/test/arcgis-login.e2e.js +29 -0
- package/dist/collection/components/arcgis-login/test/arcgis-login.spec.js +37 -0
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +1 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js +1 -1
- package/dist/collection/components/card-manager/card-manager.js +1 -1
- package/dist/collection/components/consent-manager/consent-manager.js +0 -1
- package/dist/collection/components/consent-manager/test/consent-manager.e2e.js +29 -0
- package/dist/collection/components/consent-manager/test/consent-manager.spec.js +37 -0
- package/dist/collection/components/create-feature/create-feature.js +57 -120
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +0 -15
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +76 -297
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.css +0 -22
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +200 -528
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.css +0 -4
- package/dist/collection/components/delete-button/delete-button.js +2 -2
- package/dist/collection/components/delete-button/test/delete-button.e2e.js +29 -0
- package/dist/collection/components/delete-button/test/delete-button.spec.js +37 -0
- package/dist/collection/components/edit-card/edit-card.js +1 -1
- package/dist/collection/components/feature-comments/feature-comments.js +1 -1
- package/dist/collection/components/feature-comments/test/feature-comments.e2e.js +29 -0
- package/dist/collection/components/feature-comments/test/feature-comments.spec.js +37 -0
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
- package/dist/collection/components/feature-form-flow-item/test/feature-form-flow-item.e2e.js +29 -0
- package/dist/collection/components/feature-form-flow-item/test/feature-form-flow-item.spec.js +37 -0
- package/dist/collection/components/feature-list/feature-list.css +1 -8
- package/dist/collection/components/feature-list/feature-list.js +14 -168
- package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
- package/dist/collection/components/features-flow-item/test/features-flow-item.e2e.js +29 -0
- package/dist/collection/components/features-flow-item/test/features-flow-item.spec.js +37 -0
- package/dist/collection/components/floor-filter/floor-filter.js +33 -77
- package/dist/collection/components/info-card/info-card.css +5 -16
- package/dist/collection/components/info-card/info-card.js +24 -182
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-list/layer-list.js +34 -7
- package/dist/collection/components/layer-table/layer-table.css +0 -4
- package/dist/collection/components/layer-table/layer-table.js +34 -145
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
- package/dist/collection/components/list-flow-item/test/list-flow-item.e2e.js +29 -0
- package/dist/collection/components/list-flow-item/test/list-flow-item.spec.js +37 -0
- package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
- package/dist/collection/components/location-flow-item/test/location-flow-item.e2e.js +29 -0
- package/dist/collection/components/location-flow-item/test/location-flow-item.spec.js +37 -0
- package/dist/collection/components/map-card/map-card.js +2 -2
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +8 -25
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +13 -43
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
- package/dist/collection/components/refine-results-flow-item/test/refine-results-flow-item.e2e.js +29 -0
- package/dist/collection/components/refine-results-flow-item/test/refine-results-flow-item.spec.js +37 -0
- package/dist/collection/components/refine-selection/refine-selection.js +2 -20
- package/dist/collection/components/share-item/share-item.js +1 -1
- package/dist/collection/components/share-item/test/share-item.e2e.js +29 -0
- package/dist/collection/components/share-item/test/share-item.spec.js +37 -0
- package/dist/collection/components/solution-configuration/solution-configuration.js +4 -4
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +2 -2
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +2 -2
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.css +1 -11
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +47 -83
- package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.e2e.js +45 -0
- package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.spec.js +79 -0
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/components/spatial-ref/test/spatial-ref.e2e.js +71 -0
- package/dist/collection/components/spatial-ref/test/spatial-ref.spec.js +158 -0
- package/dist/collection/components/store-manager/store-manager.js +14 -12
- package/dist/collection/demos/crowdsource-manager.html +6 -20
- package/dist/collection/demos/crowdsource-reporter.html +10 -155
- package/dist/collection/demos/data/election-outreach.json +0 -2981
- package/dist/collection/demos/solution-item.html +6 -7
- package/dist/collection/demos/solution-spatial-ref.html +4 -10
- package/dist/collection/demos/solution-template-data.html +5 -5
- package/dist/collection/utils/downloadUtils.js +2 -3
- package/dist/collection/utils/downloadUtils.ts +1 -3
- package/dist/collection/utils/interfaces.ts +2 -24
- package/dist/collection/utils/mapViewUtils.js +6 -29
- package/dist/collection/utils/mapViewUtils.ts +6 -34
- package/dist/collection/utils/pciUtils.js +1 -1
- package/dist/collection/utils/pciUtils.ts +2 -2
- package/dist/collection/utils/pdfUtils.js +34 -29
- package/dist/collection/utils/pdfUtils.ts +47 -40
- package/dist/collection/utils/popupUtils.js +2 -17
- package/dist/collection/utils/popupUtils.ts +3 -23
- package/dist/collection/utils/queryUtils.js +0 -30
- package/dist/collection/utils/queryUtils.ts +0 -41
- package/dist/collection/utils/solution-store.js +8 -6
- package/dist/collection/utils/solution-store.ts +13 -12
- package/dist/collection/utils/templates.js +26 -113
- package/dist/collection/utils/templates.ts +30 -125
- package/dist/collection/utils/test/csvUtils.spec.js +51 -0
- package/dist/collection/utils/test/downloadUtils.spec.js +1003 -0
- package/dist/collection/utils/test/pciUtils.spec.js +302 -0
- package/dist/collection/utils/test/solution-store.spec.js +444 -0
- package/dist/collection/utils/test/templates.e2e.js +30 -0
- package/dist/collection/utils/test/templates.e2e.ts +2 -2
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/_commonjsHelpers.js +28 -3
- package/dist/components/action-bar.js +3 -4
- package/dist/components/action-group.js +4 -5
- package/dist/components/action-menu.js +10 -8
- package/dist/components/action-pad.js +3 -4
- package/dist/components/action.js +6 -10
- package/dist/components/alert.js +5 -6
- package/dist/components/ar.js +1 -1
- package/dist/components/arcgis-login.js +2 -3
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +3 -4
- package/dist/components/basemap-gallery2.js +2 -3
- package/dist/components/bg.js +1 -1
- package/dist/components/block.js +7 -8
- package/dist/components/breakpoints.js +5 -5
- package/dist/components/bs.js +1 -1
- package/dist/components/buffer-tools2.js +2 -3
- package/dist/components/button.js +8 -13
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +6 -7
- package/dist/components/calcite-accordion.js +3 -4
- package/dist/components/calcite-block-section.js +4 -5
- package/dist/components/calcite-card.js +36 -143
- package/dist/components/calcite-chip-group.js +18 -41
- package/dist/components/calcite-color-picker.js +36 -57
- package/dist/components/calcite-combobox-item-group.js +3 -4
- package/dist/components/calcite-fab.js +3 -4
- package/dist/components/calcite-inline-editable.js +6 -7
- package/dist/components/calcite-input-time-picker.js +18 -33
- package/dist/components/calcite-input-time-zone.js +15 -60
- package/dist/components/calcite-list-item-group.js +11 -8
- package/dist/components/calcite-menu-item.js +5 -9
- package/dist/components/calcite-meter.js +3 -4
- package/dist/components/calcite-navigation-logo.js +7 -17
- package/dist/components/calcite-navigation-user.js +98 -1
- package/dist/components/calcite-navigation.js +4 -5
- package/dist/components/calcite-option-group.js +2 -3
- package/dist/components/calcite-pick-list-group.js +3 -4
- package/dist/components/calcite-pick-list.js +3 -4
- package/dist/components/calcite-radio-button-group.js +3 -4
- package/dist/components/calcite-rating.js +5 -6
- package/dist/components/calcite-sheet.js +6 -7
- package/dist/components/calcite-shell-center-row.js +4 -5
- package/dist/components/calcite-sortable-list.js +4 -5
- package/dist/components/calcite-split-button.js +4 -5
- package/dist/components/calcite-stepper-item.js +9 -8
- package/dist/components/calcite-stepper.js +94 -52
- package/dist/components/calcite-table-row.js +70 -89
- package/dist/components/calcite-table.js +7 -19
- package/dist/components/calcite-text-area.js +12 -41
- package/dist/components/calcite-tile-select-group.js +2 -3
- package/dist/components/calcite-tile-select.js +5 -6
- package/dist/components/calcite-tile.js +17 -148
- package/dist/components/calcite-tip-group.js +2 -3
- package/dist/components/calcite-tip-manager.js +3 -4
- package/dist/components/calcite-tip.js +4 -5
- package/dist/components/card-manager2.js +2 -3
- package/dist/components/checkbox.js +4 -19
- package/dist/components/chip.js +14 -36
- package/dist/components/color-picker-hex-input.js +12 -13
- package/dist/components/color-picker-swatch.js +7 -8
- package/dist/components/combobox-item.js +4 -5
- package/dist/components/combobox.js +38 -62
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +11 -2
- package/dist/components/consent-manager.js +1029 -9
- package/dist/components/create-feature2.js +61 -116
- package/dist/components/crowdsource-manager.js +34 -88
- package/dist/components/crowdsource-reporter.js +148 -524
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +5 -22
- package/dist/components/date-picker-month-header.js +4 -5
- package/dist/components/date-picker-month.js +10 -8
- package/dist/components/date-picker.js +27 -27
- package/dist/components/date.js +2 -2
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +9 -17
- package/dist/components/deduct-calculator2.js +3 -4
- package/dist/components/delete-button2.js +4 -5
- package/dist/components/dom.js +2 -60
- package/dist/components/downloadUtils.js +40 -40
- package/dist/components/dropdown-group.js +3 -4
- package/dist/components/dropdown-item.js +7 -8
- package/dist/components/dropdown.js +14 -11
- package/dist/components/edit-card2.js +2 -3
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/esri-loader.js +4 -6
- package/dist/components/et.js +1 -1
- package/dist/components/feature-comments.js +2 -3
- package/dist/components/feature-form-flow-item.js +2 -3
- package/dist/components/feature-list2.js +19 -85
- package/dist/components/features-flow-item.js +2 -3
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +8 -20
- package/dist/components/filter2.js +3 -7
- package/dist/components/floating-ui.js +31 -359
- package/dist/components/floor-filter2.js +36 -80
- package/dist/components/flow-item.js +6 -7
- package/dist/components/flow.js +3 -4
- package/dist/components/focusTrapComponent.js +3 -3
- package/dist/components/form.js +24 -89
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +2 -3
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +5 -8
- package/dist/components/he.js +1 -1
- package/dist/components/helpers.js +690 -723
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/html2canvas.js +5 -10
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +4 -5
- package/dist/components/id.js +1 -1
- package/dist/components/index.es.js +775 -1281
- package/dist/components/index.js +2 -2
- package/dist/components/index2.js +114 -123
- package/dist/components/info-card2.js +15 -65
- package/dist/components/input-date-picker.js +37 -52
- package/dist/components/input-message.js +10 -10
- package/dist/components/input-number.js +43 -70
- package/dist/components/input-text.js +28 -53
- package/dist/components/input.js +58 -77
- package/dist/components/instant-apps-ckeditor-wrapper2.js +3 -4
- package/dist/components/instant-apps-control-panel.js +2 -3
- package/dist/components/instant-apps-export.js +18 -35
- package/dist/components/instant-apps-filter-list2.js +26 -32
- package/dist/components/instant-apps-header2.js +3 -5
- package/dist/components/instant-apps-interactive-legend-classic2.js +147 -158
- package/dist/components/instant-apps-interactive-legend-count2.js +2 -3
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +4 -5
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +3 -4
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +3 -4
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +3 -4
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +3 -4
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +3 -4
- package/dist/components/instant-apps-interactive-legend-relationship2.js +3 -4
- package/dist/components/instant-apps-interactive-legend.js +1 -2
- package/dist/components/instant-apps-keyboard-shortcuts.js +2 -3
- package/dist/components/instant-apps-landing-page.js +26 -102
- package/dist/components/instant-apps-language-switcher.js +3 -4
- package/dist/components/instant-apps-language-translator-item2.js +1 -2
- package/dist/components/instant-apps-language-translator-search2.js +2 -3
- package/dist/components/instant-apps-language-translator2.js +43 -46
- package/dist/components/instant-apps-measurement-tool2.js +3 -4
- package/dist/components/instant-apps-measurement.js +2 -3
- package/dist/components/instant-apps-popover.js +2 -3
- package/dist/components/instant-apps-popovers.js +2 -3
- package/dist/components/instant-apps-scoreboard.js +2 -3
- package/dist/components/instant-apps-social-share2.js +14 -22
- package/dist/components/instant-apps-splash.js +8 -9
- package/dist/components/interactive.js +18 -28
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/json-editor2.js +2 -3
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +3 -4
- package/dist/components/languageUtil.js +43 -43
- package/dist/components/layer-list2.js +20 -10
- package/dist/components/layer-table2.js +36 -115
- package/dist/components/layout-manager.js +2 -3
- package/dist/components/link.js +6 -7
- package/dist/components/list-flow-item.js +2 -3
- package/dist/components/list-item.js +14 -17
- package/dist/components/list.js +44 -38
- package/dist/components/loadModules.js +1 -1
- package/dist/components/loadModules2.js +3 -3
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +3 -4
- package/dist/components/locale2.js +2 -2
- package/dist/components/locale3.js +58 -58
- package/dist/components/location-flow-item.js +2 -3
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/map-card2.js +3 -4
- package/dist/components/map-draw-tools2.js +2 -3
- package/dist/components/map-fullscreen2.js +2 -3
- package/dist/components/map-layer-picker2.js +3 -4
- package/dist/components/map-legend2.js +2 -3
- package/dist/components/map-picker2.js +2 -3
- package/dist/components/map-search2.js +2 -3
- package/dist/components/map-select-tools2.js +10 -12
- package/dist/components/map-tools2.js +2 -3
- package/dist/components/mapViewUtils.js +7 -30
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +3 -4
- package/dist/components/mk.js +1 -1
- package/dist/components/modal.js +8 -9
- package/dist/components/mode.js +6 -6
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/notice.js +7 -8
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/option.js +2 -3
- package/dist/components/pagination.js +25 -53
- package/dist/components/panel.js +7 -8
- package/dist/components/pci-calculator.js +3 -4
- package/dist/components/pdf-download2.js +2 -3
- package/dist/components/pick-list-item.js +6 -7
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +35 -37
- package/dist/components/popupUtils.js +2 -17
- package/dist/components/progress.js +2 -3
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/public-notification.js +14 -29
- package/dist/components/purify.js +5 -9
- package/dist/components/queryUtils.js +17 -31
- package/dist/components/radio-button.js +5 -6
- package/dist/components/refine-results-flow-item.js +2 -3
- package/dist/components/refine-selection2.js +4 -7
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +9 -8
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +10 -48
- package/dist/components/resources5.js +6 -9
- package/dist/components/restHelpersGet.js +382 -344
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +6 -7
- package/dist/components/segmented-control-item.js +5 -6
- package/dist/components/segmented-control.js +3 -18
- package/dist/components/select.js +5 -20
- package/dist/components/share-item.js +2 -3
- package/dist/components/shared-list-render.js +4 -4
- package/dist/components/shell-panel.js +3 -4
- package/dist/components/shell.js +3 -4
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/slider.js +88 -123
- package/dist/components/solution-configuration.js +346 -6
- package/dist/components/solution-contents2.js +2 -3
- package/dist/components/solution-item-details2.js +2 -3
- package/dist/components/solution-item-icon2.js +2 -3
- package/dist/components/solution-item-sharing2.js +2 -3
- package/dist/components/solution-item2.js +2 -3
- package/dist/components/solution-organization-variables2.js +2 -3
- package/dist/components/solution-resource-item2.js +2 -3
- package/dist/components/solution-resource.js +111 -115
- package/dist/components/solution-spatial-ref2.js +46 -55
- package/dist/components/solution-store.js +491 -499
- package/dist/components/solution-template-data2.js +2 -3
- package/dist/components/solution-variables2.js +2 -3
- package/dist/components/sortableComponent.js +2 -3
- package/dist/components/spatial-ref2.js +2 -3
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +4 -5
- package/dist/components/store-manager.js +13 -11
- package/dist/components/store.js +66 -66
- package/dist/components/styles.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +4 -5
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +56 -290
- package/dist/components/tab-title.js +8 -9
- package/dist/components/tab.js +5 -6
- package/dist/components/table-cell.js +7 -20
- package/dist/components/table-header.js +9 -26
- package/dist/components/tabs.js +4 -5
- package/dist/components/th.js +1 -1
- package/dist/components/time-picker.js +21 -22
- package/dist/components/tooltip.js +15 -13
- package/dist/components/tr.js +1 -1
- package/dist/components/tree-item.js +8 -11
- package/dist/components/tree.js +5 -6
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +2 -2
- package/dist/components/utils2.js +3 -5
- package/dist/components/utils3.js +55 -2
- package/dist/components/utils4.js +80 -80
- package/dist/components/value-list-item.js +6 -7
- package/dist/components/value-list.js +8 -8
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-b6eb575e.js +110 -0
- package/dist/esm/FloatingArrow-93d6d18b.js +48 -0
- package/dist/esm/Heading-94780f62.js +22 -0
- package/dist/esm/Validation-ea480265.js +18 -0
- package/dist/esm/_commonjsHelpers-0f74c230.js +41 -0
- package/dist/esm/app-globals-c4e206db.js +67 -0
- package/dist/esm/ar-7633f382.js +103 -0
- package/dist/esm/arcgis-login.entry.js +3 -4
- package/dist/esm/array-396bdf3c.js +15 -0
- package/dist/esm/basemap-gallery_7.entry.js +51 -100
- package/dist/esm/bg-5ccf3b3b.js +81 -0
- package/dist/esm/breakpoints-f0f1417d.js +15 -0
- package/dist/esm/browser-d60104bd.js +21 -0
- package/dist/esm/bs-59e59ad4.js +50 -0
- package/dist/esm/buffer-tools_3.entry.js +23 -25
- package/dist/esm/ca-d8d2bc89.js +70 -0
- package/dist/esm/calcite-accordion-item.entry.js +13 -14
- package/dist/esm/calcite-accordion.entry.js +5 -6
- package/dist/esm/calcite-action-bar.entry.js +17 -18
- package/dist/esm/calcite-action-group.entry.js +14 -15
- package/dist/esm/calcite-action-menu_2.entry.js +692 -0
- package/dist/esm/calcite-action-pad_2.entry.js +22 -24
- package/dist/esm/calcite-action_2.entry.js +21 -26
- package/dist/esm/calcite-alert_4.entry.js +41 -92
- package/dist/esm/calcite-avatar.entry.js +146 -0
- package/dist/esm/calcite-block-section.entry.js +13 -14
- package/dist/esm/calcite-block_2.entry.js +647 -0
- package/dist/esm/calcite-button.entry.js +22 -26
- package/dist/esm/calcite-card.entry.js +37 -133
- package/dist/esm/calcite-checkbox.entry.js +15 -29
- package/dist/esm/calcite-chip-group.entry.js +23 -46
- package/dist/esm/calcite-chip_2.entry.js +30 -53
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +22 -23
- package/dist/esm/calcite-color-picker.entry.js +50 -67
- package/dist/esm/calcite-combobox-item-group.entry.js +8 -9
- package/dist/esm/calcite-combobox_5.entry.js +2112 -0
- package/dist/esm/calcite-date-picker-day_3.entry.js +30 -45
- package/dist/esm/calcite-fab.entry.js +10 -11
- package/dist/esm/calcite-filter_5.entry.js +102 -141
- package/dist/esm/calcite-flow_5.entry.js +1098 -0
- package/dist/esm/calcite-graph_2.entry.js +1050 -0
- package/dist/esm/calcite-icon.entry.js +9 -10
- package/dist/esm/calcite-inline-editable.entry.js +19 -20
- package/dist/esm/calcite-input-date-picker_3.entry.js +2281 -0
- package/dist/esm/calcite-input-number.entry.js +54 -77
- package/dist/esm/calcite-input-text.entry.js +39 -60
- package/dist/esm/calcite-input-time-picker-dbf2079e.js +1847 -0
- package/dist/esm/calcite-input-time-picker.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +29 -71
- package/dist/esm/calcite-input_2.entry.js +71 -87
- package/dist/esm/calcite-label.entry.js +9 -10
- package/dist/esm/calcite-link.entry.js +13 -14
- package/dist/esm/calcite-list-item-group.entry.js +12 -10
- package/dist/esm/calcite-menu-item.entry.js +14 -18
- package/dist/esm/calcite-menu.entry.js +11 -12
- package/dist/esm/calcite-meter.entry.js +12 -13
- package/dist/esm/calcite-modal.entry.js +20 -21
- package/dist/esm/calcite-navigation-logo.entry.js +9 -18
- package/dist/esm/calcite-navigation-user.entry.js +68 -0
- package/dist/esm/calcite-navigation.entry.js +9 -10
- package/dist/esm/calcite-notice.entry.js +20 -21
- package/dist/esm/calcite-option-group.entry.js +3 -4
- package/dist/esm/calcite-option_2.entry.js +19 -34
- package/dist/esm/calcite-pagination.entry.js +34 -61
- package/dist/esm/calcite-panel_2.entry.js +22 -24
- package/dist/esm/calcite-pick-list-group.entry.js +10 -11
- package/dist/esm/calcite-pick-list-item.entry.js +18 -19
- package/dist/esm/calcite-pick-list.entry.js +15 -16
- package/dist/esm/calcite-radio-button-group.entry.js +7 -8
- package/dist/esm/calcite-radio-button.entry.js +16 -17
- package/dist/esm/calcite-rating.entry.js +19 -20
- package/dist/esm/calcite-scrim.entry.js +121 -0
- package/dist/esm/calcite-segmented-control_2.entry.js +20 -35
- package/dist/esm/calcite-sheet.entry.js +13 -14
- package/dist/esm/calcite-shell-center-row.entry.js +10 -11
- package/dist/esm/calcite-shell-panel_14.entry.js +123 -340
- package/dist/esm/calcite-sortable-list.entry.js +12 -13
- package/dist/esm/calcite-split-button.entry.js +8 -9
- package/dist/esm/calcite-stepper-item.entry.js +19 -19
- package/dist/esm/calcite-stepper.entry.js +98 -58
- package/dist/esm/calcite-switch.entry.js +15 -16
- package/dist/esm/calcite-table-cell_2.entry.js +27 -53
- package/dist/esm/calcite-table-row.entry.js +77 -93
- package/dist/esm/calcite-table.entry.js +17 -27
- package/dist/esm/calcite-text-area.entry.js +27 -54
- package/dist/esm/calcite-tile-select-group.entry.js +5 -6
- package/dist/esm/calcite-tile-select.entry.js +10 -11
- package/dist/esm/calcite-tile.entry.js +19 -142
- package/dist/esm/calcite-time-picker.entry.js +32 -33
- package/dist/esm/calcite-tip-group.entry.js +3 -4
- package/dist/esm/calcite-tip-manager.entry.js +12 -13
- package/dist/esm/calcite-tip.entry.js +14 -15
- package/dist/esm/calcite-tooltip.entry.js +22 -20
- package/dist/esm/calcite-tree_2.entry.js +20 -24
- package/dist/esm/card-manager_3.entry.js +47 -125
- package/dist/esm/common-06bcfe81.js +36 -0
- package/dist/esm/component-edd2c3cd.js +30 -0
- package/dist/esm/conditionalSlot-12c4fcfb.js +60 -0
- package/dist/esm/consent-manager.entry.js +1032 -13
- package/dist/esm/crowdsource-manager.entry.js +32 -77
- package/dist/esm/crowdsource-reporter.entry.js +78 -353
- package/dist/esm/cs-3d744598.js +146 -0
- package/dist/esm/da-ad0f6f82.js +65 -0
- package/dist/esm/date-5630530d.js +245 -0
- package/dist/esm/de-at-8de8843c.js +89 -0
- package/dist/esm/de-ch-03a1c027.js +89 -0
- package/dist/esm/de-d6966c3f.js +90 -0
- package/dist/esm/debounce-229b1a22.js +487 -0
- package/dist/esm/deduct-calculator.entry.js +4 -5
- package/dist/esm/dom-38c6f027.js +1056 -0
- package/dist/esm/downloadUtils-0c1e4d7b.js +3160 -0
- package/dist/esm/el-7130c722.js +65 -0
- package/dist/esm/en-au-005d4093.js +65 -0
- package/dist/esm/en-ca-1b54d10b.js +64 -0
- package/dist/esm/en-gb-ac1ad784.js +68 -0
- package/dist/esm/es-d6f91b06.js +65 -0
- package/dist/esm/es-mx-26a8411a.js +64 -0
- package/dist/esm/esri-loader-1b324844.js +301 -0
- package/dist/esm/et-1f7ea62f.js +91 -0
- package/dist/esm/feature-comments.entry.js +3 -4
- package/dist/esm/feature-form-flow-item.entry.js +3 -4
- package/dist/esm/features-flow-item.entry.js +3 -4
- package/dist/esm/fi-df7f8ad0.js +114 -0
- package/dist/esm/filter-ce763acf.js +763 -0
- package/dist/esm/floating-ui-41dfe3f1.js +1958 -0
- package/dist/esm/focusTrapComponent-47ddce58.js +1023 -0
- package/dist/esm/form-50dcd52e.js +307 -0
- package/dist/esm/fr-14ad3cd0.js +67 -0
- package/dist/esm/fr-ch-328d9a38.js +65 -0
- package/dist/esm/guid-b75a5f7b.js +24 -0
- package/dist/esm/he-a30ddc93.js +104 -0
- package/dist/esm/helpers-f9256189.js +880 -0
- package/dist/esm/hi-5d914f70.js +64 -0
- package/dist/esm/hr-232bce19.js +79 -0
- package/dist/esm/html2canvas-7f5bb1cc.js +7840 -0
- package/dist/esm/hu-cb9fa8dc.js +87 -0
- package/dist/esm/id-28662048.js +65 -0
- package/dist/esm/index-164d485a.js +2519 -0
- package/dist/esm/index-477ea182.js +199 -0
- package/dist/esm/index.es-286e3cfa.js +10725 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +13 -16
- package/dist/esm/instant-apps-control-panel.entry.js +6 -7
- package/dist/esm/instant-apps-export.entry.js +23 -39
- package/dist/esm/instant-apps-header.entry.js +9 -11
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +150 -161
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +10 -12
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +10 -11
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +19 -24
- package/dist/esm/instant-apps-interactive-legend.entry.js +9 -10
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +8 -9
- package/dist/esm/instant-apps-landing-page.entry.js +21 -58
- package/dist/esm/instant-apps-language-switcher.entry.js +11 -12
- package/dist/esm/instant-apps-language-translator.entry.js +11 -12
- package/dist/esm/instant-apps-measurement.entry.js +8 -9
- package/dist/esm/instant-apps-popover.entry.js +8 -9
- package/dist/esm/instant-apps-popovers.entry.js +3 -4
- package/dist/esm/instant-apps-scoreboard.entry.js +9 -10
- package/dist/esm/instant-apps-splash.entry.js +14 -15
- package/dist/esm/interactive-39bf5602.js +139 -0
- package/dist/esm/it-7fd85aa4.js +65 -0
- package/dist/esm/it-ch-ab98adcc.js +65 -0
- package/dist/esm/ja-eaf04e42.js +71 -0
- package/dist/esm/key-c83d835f.js +16 -0
- package/dist/esm/ko-d029100b.js +71 -0
- package/dist/esm/label-b4cea72e.js +179 -0
- package/dist/esm/languageSwitcher-068998b1.js +55 -0
- package/dist/esm/languageUtil-035e7728.js +66 -0
- package/dist/esm/layout-manager.entry.js +6 -7
- package/dist/esm/list-flow-item.entry.js +3 -4
- package/dist/esm/loadModules-7a5f1022.js +21 -0
- package/dist/esm/loadable-37e7fbd6.js +89 -0
- package/dist/esm/loader.js +7 -7
- package/dist/esm/locale-4cab280d.js +86 -0
- package/dist/esm/locale-904407bf.js +571 -0
- package/dist/esm/locale-bcbea4ef.js +156 -0
- package/dist/esm/location-flow-item.entry.js +3 -4
- package/dist/esm/lt-4c10b6c4.js +96 -0
- package/dist/esm/lv-d2afd652.js +65 -0
- package/dist/esm/map-select-tools_3.entry.js +24 -28
- package/dist/esm/mapViewUtils-253178f1.js +455 -0
- package/dist/esm/math-efada7a9.js +54 -0
- package/dist/esm/mk-ee9a3d11.js +65 -0
- package/dist/esm/mode-66911cb5.js +17 -0
- package/dist/esm/nb-b9ec8eb4.js +66 -0
- package/dist/esm/nl-8e5bf9af.js +66 -0
- package/dist/esm/observers-d04d1da9.js +51 -0
- package/dist/esm/openCloseComponent-9f90f493.js +90 -0
- package/dist/esm/pci-calculator.entry.js +4 -5
- package/dist/esm/pciUtils-73d4b6b4.js +844 -0
- package/dist/esm/pl-1379aa6d.js +113 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/popupUtils-af124b47.js +94 -0
- package/dist/esm/pt-8494ce08.js +66 -0
- package/dist/esm/pt-br-54686d6b.js +64 -0
- package/dist/esm/public-notification.entry.js +24 -38
- package/dist/esm/publicNotificationStore-223faed2.js +45 -0
- package/dist/esm/purify-dce4d86b.js +1710 -0
- package/dist/esm/refine-results-flow-item.entry.js +3 -4
- package/dist/esm/resources-00983bd3.js +48 -0
- package/dist/esm/resources-20074cb1.js +24 -0
- package/dist/esm/resources-3709252d.js +35 -0
- package/dist/esm/resources-61b0cdad.js +2051 -0
- package/dist/esm/resources-8834f920.js +28 -0
- package/dist/esm/resources-88a48c5c.js +20 -0
- package/dist/esm/resources-9b7e72d5.js +20 -0
- package/dist/esm/resources-abd87b42.js +24 -0
- package/dist/esm/resources-b0e2b809.js +22 -0
- package/dist/esm/restHelpersGet-2a85d395.js +959 -0
- package/dist/esm/ro-63586962.js +65 -0
- package/dist/esm/ru-ec1f486a.js +125 -0
- package/dist/esm/share-item.entry.js +3 -4
- package/dist/esm/shared-list-render-ede061c1.js +343 -0
- package/dist/esm/sk-d7d87eb9.js +147 -0
- package/dist/esm/sl-2a7d999b.js +167 -0
- package/dist/esm/solution-configuration.entry.js +354 -14
- package/dist/esm/solution-contents_3.entry.js +55 -67
- package/dist/esm/solution-item-icon.entry.js +3 -4
- package/dist/esm/solution-resource-77aa99c8.js +138 -0
- package/dist/esm/solution-store-13ddaf1c.js +1342 -0
- package/dist/esm/solutions-components.js +15 -15
- package/dist/esm/sortableComponent-d7cd11a3.js +2738 -0
- package/dist/esm/spatial-ref.entry.js +8 -9
- package/dist/esm/sr-a3be308c.js +100 -0
- package/dist/esm/store-manager.entry.js +14 -18
- package/dist/esm/styles-367380b5.js +11 -0
- package/dist/esm/sv-890688fe.js +70 -0
- package/dist/esm/t9n-436fb2b1.js +95 -0
- package/dist/esm/th-ae3d67ae.js +64 -0
- package/dist/esm/throttle-9ab70933.js +73 -0
- package/dist/esm/time-29001694.js +274 -0
- package/dist/esm/tr-260f6f88.js +65 -0
- package/dist/esm/uk-d84b6056.js +103 -0
- package/dist/esm/utils-78fe6e5b.js +121 -0
- package/dist/esm/utils-9fb4104a.js +61 -0
- package/dist/esm/utils-a15078af.js +203 -0
- package/dist/esm/utils-d2b2562a.js +95 -0
- package/dist/esm/utils-ef0ff036.js +51 -0
- package/dist/esm/vi-f3eb25b9.js +69 -0
- package/dist/esm/zh-cn-d6fc0582.js +93 -0
- package/dist/esm/zh-hk-285977d0.js +70 -0
- package/dist/esm/zh-tw-d83c5c9d.js +91 -0
- package/dist/loader/cdn.js +2 -1
- package/dist/loader/index.cjs.js +2 -1
- package/dist/loader/index.d.ts +0 -3
- package/dist/loader/index.es2017.js +2 -1
- package/dist/loader/index.js +2 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +8 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +20 -16
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +11 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +10 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +41 -197
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +8 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +14 -23
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +10 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +20 -21
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +8 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +14 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +5 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +7 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +14 -14
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +5 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +14 -14
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +11 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +5 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +9 -9
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +25 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +29 -50
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +24 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +16 -15
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +8 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +9 -9
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +16 -16
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +10 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +5 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +8 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +9 -12
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +12 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +8 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +32 -59
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +5 -23
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +19 -103
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +98 -81
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +11 -24
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +12 -28
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +12 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +10 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +80 -159
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +17 -21
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +6 -6
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +9 -21
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +0 -19
- package/dist/solutions-components/assets/card/t9n/messages.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_ar.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_bg.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_bs.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_ca.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_cs.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_da.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_de.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_el.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_en.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_es.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_et.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_fi.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_fr.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_he.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_hr.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_hu.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_id.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_it.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_ja.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_ko.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_lt.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_lv.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_nl.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_no.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_pl.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_pt-BR.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_pt-PT.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_ro.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_ru.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_sk.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_sl.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_sr.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_sv.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_th.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_tr.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_uk.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_vi.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_zh-CN.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_zh-HK.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_zh-TW.json +1 -1
- package/dist/solutions-components/assets/handle/t9n/messages_ar.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_bg.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_bs.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_ca.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_cs.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_da.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_de.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_el.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_es.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_et.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_fi.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_fr.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_he.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_hr.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_hu.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_id.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_it.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_ja.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_ko.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_lt.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_lv.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_nl.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_no.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_pl.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_pt-BR.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_pt-PT.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_ro.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_ru.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_sk.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_sl.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_sr.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_sv.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_th.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_tr.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_uk.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_vi.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_zh-CN.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_zh-HK.json +1 -2
- package/dist/solutions-components/assets/handle/t9n/messages_zh-TW.json +1 -2
- package/dist/solutions-components/assets/icon/changeFontSize16.json +1 -1
- package/dist/solutions-components/assets/icon/changeFontSize24.json +1 -1
- package/dist/solutions-components/assets/icon/changeFontSize32.json +1 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/index.d.ts +0 -2
- package/dist/solutions-components/assets/input-time-zone/t9n/messages.json +0 -2
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_en.json +0 -2
- package/dist/solutions-components/assets/list-item/t9n/messages_ar.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_bg.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_bs.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_ca.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_cs.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_da.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_de.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_el.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_es.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_et.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_fi.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_fr.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_he.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_hr.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_hu.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_id.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_it.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_ja.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_ko.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_lt.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_lv.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_nl.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_no.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_pl.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_pt-BR.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_pt-PT.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_ro.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_ru.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_sk.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_sl.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_sr.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_sv.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_th.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_tr.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_uk.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_vi.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_zh-CN.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_zh-HK.json +1 -3
- package/dist/solutions-components/assets/list-item/t9n/messages_zh-TW.json +1 -3
- package/dist/solutions-components/demos/crowdsource-manager.html +6 -20
- package/dist/solutions-components/demos/crowdsource-reporter.html +10 -155
- package/dist/solutions-components/demos/data/election-outreach.json +0 -2981
- package/dist/solutions-components/demos/solution-item.html +6 -7
- package/dist/solutions-components/demos/solution-spatial-ref.html +4 -10
- package/dist/solutions-components/demos/solution-template-data.html +5 -5
- package/dist/solutions-components/p-00524417.entry.js +6 -0
- package/dist/solutions-components/p-01f7f1a2.js +6 -0
- package/dist/solutions-components/p-028fba9d.js +6 -0
- package/dist/solutions-components/p-02fa1945.entry.js +11 -0
- package/dist/solutions-components/p-033522a7.entry.js +11 -0
- package/dist/solutions-components/p-038fcd93.entry.js +12 -0
- package/dist/solutions-components/p-04923112.entry.js +17 -0
- package/dist/solutions-components/p-04c37d69.entry.js +17 -0
- package/dist/solutions-components/p-05cb50f9.js +11 -0
- package/dist/solutions-components/p-070d486d.entry.js +17 -0
- package/dist/solutions-components/p-076673a8.js +6 -0
- package/dist/solutions-components/p-08651773.entry.js +11 -0
- package/dist/solutions-components/p-0883bc7b.js +6 -0
- package/dist/solutions-components/p-08cca1ba.entry.js +6 -0
- package/dist/solutions-components/p-09312a7a.entry.js +6 -0
- package/dist/solutions-components/p-0b92e4b1.entry.js +11 -0
- package/dist/solutions-components/p-0c6d2898.entry.js +6 -0
- package/dist/solutions-components/p-0cb5f2ee.js +6 -0
- package/dist/solutions-components/p-0d641d14.entry.js +11 -0
- package/dist/solutions-components/p-1065f4fa.js +11 -0
- package/dist/solutions-components/p-12a7d0d1.js +6 -0
- package/dist/solutions-components/p-131bcc7f.entry.js +6 -0
- package/dist/solutions-components/p-13a02132.js +6 -0
- package/dist/solutions-components/p-13f2d901.js +16 -0
- package/dist/solutions-components/p-15a0e7fb.js +6 -0
- package/dist/solutions-components/p-15f9624a.entry.js +6 -0
- package/dist/solutions-components/p-188ed8b6.js +21 -0
- package/dist/solutions-components/p-18f1e8b5.js +6 -0
- package/dist/solutions-components/p-192b6455.js +11 -0
- package/dist/solutions-components/p-1a7cef7b.entry.js +6 -0
- package/dist/solutions-components/p-1ac2125a.entry.js +36 -0
- package/dist/solutions-components/p-1b627c37.js +6 -0
- package/dist/solutions-components/p-1c8cdfeb.entry.js +11 -0
- package/dist/solutions-components/p-1ea5e061.entry.js +12 -0
- package/dist/solutions-components/p-1ee6220e.entry.js +17 -0
- package/dist/solutions-components/p-1f33a29d.js +11 -0
- package/dist/solutions-components/p-1f65ab1e.js +11 -0
- package/dist/solutions-components/p-1fbac542.js +6 -0
- package/dist/solutions-components/p-201a6ea3.js +11 -0
- package/dist/solutions-components/p-20320bf6.entry.js +11 -0
- package/dist/solutions-components/p-212b02e7.js +61 -0
- package/dist/solutions-components/p-212c00e9.entry.js +6 -0
- package/dist/solutions-components/p-238d3b5f.entry.js +6 -0
- package/dist/solutions-components/p-23de1b01.entry.js +11 -0
- package/dist/solutions-components/p-26461392.entry.js +11 -0
- package/dist/solutions-components/p-273d833b.entry.js +6 -0
- package/dist/solutions-components/p-299d1eaf.entry.js +17 -0
- package/dist/solutions-components/p-2a0f52c5.entry.js +6 -0
- package/dist/solutions-components/p-2a546c56.js +6 -0
- package/dist/solutions-components/p-2b0454a0.js +11 -0
- package/dist/solutions-components/p-2b6679d2.entry.js +6 -0
- package/dist/solutions-components/p-2c6b8811.js +18 -0
- package/dist/solutions-components/p-2d72eac3.entry.js +6 -0
- package/dist/solutions-components/p-2eeff59b.js +6 -0
- package/dist/solutions-components/p-30480847.entry.js +11 -0
- package/dist/solutions-components/p-30e7ecfa.js +6 -0
- package/dist/solutions-components/p-30edeb79.entry.js +6 -0
- package/dist/solutions-components/p-312c045a.entry.js +11 -0
- package/dist/solutions-components/p-322868ec.js +21 -0
- package/dist/solutions-components/p-32dc5007.entry.js +23 -0
- package/dist/solutions-components/p-331b5d1e.js +489 -0
- package/dist/solutions-components/p-36375749.js +6 -0
- package/dist/solutions-components/p-399d795d.js +6 -0
- package/dist/solutions-components/p-3a6a1ce9.entry.js +6 -0
- package/dist/solutions-components/p-3af79063.js +36 -0
- package/dist/solutions-components/p-3b9e4882.entry.js +6 -0
- package/dist/solutions-components/p-3bb79204.js +6 -0
- package/dist/solutions-components/p-3d324690.entry.js +11 -0
- package/dist/solutions-components/p-3d7d78f3.entry.js +6 -0
- package/dist/solutions-components/p-3dd92f0d.js +17 -0
- package/dist/solutions-components/p-3e79d77b.entry.js +11 -0
- package/dist/solutions-components/p-3fbfe26a.entry.js +11 -0
- package/dist/solutions-components/p-4000a88a.js +6 -0
- package/dist/solutions-components/p-431d8154.entry.js +6 -0
- package/dist/solutions-components/p-449db954.entry.js +6 -0
- package/dist/solutions-components/p-45263007.entry.js +17 -0
- package/dist/solutions-components/p-45ed16d5.entry.js +6 -0
- package/dist/solutions-components/p-465aa7d9.entry.js +6 -0
- package/dist/solutions-components/p-479d1e95.js +6 -0
- package/dist/solutions-components/p-47a97db7.entry.js +11 -0
- package/dist/solutions-components/p-48bef730.js +11 -0
- package/dist/solutions-components/p-495e7b9d.js +11 -0
- package/dist/solutions-components/p-4a030771.entry.js +11 -0
- package/dist/solutions-components/p-4b530f7b.entry.js +6 -0
- package/dist/solutions-components/p-4c5d243f.js +11 -0
- package/dist/solutions-components/p-4ce1ffd8.entry.js +11 -0
- package/dist/solutions-components/p-4d09aa4c.entry.js +6 -0
- package/dist/solutions-components/p-4dcc150d.entry.js +6 -0
- package/dist/solutions-components/p-4efd2af6.entry.js +6 -0
- package/dist/solutions-components/p-4f489e61.js +6 -0
- package/dist/solutions-components/p-52a6d2dc.entry.js +11 -0
- package/dist/solutions-components/p-5320dc25.entry.js +6 -0
- package/dist/solutions-components/p-563a0b20.js +11 -0
- package/dist/solutions-components/p-565e0f0d.entry.js +6 -0
- package/dist/solutions-components/p-5a9a971a.js +11 -0
- package/dist/solutions-components/p-5b228ed7.entry.js +11 -0
- package/dist/solutions-components/p-5f5de955.js +11 -0
- package/dist/solutions-components/p-5f6e7429.entry.js +6 -0
- package/dist/solutions-components/p-5fbfa5e4.entry.js +12 -0
- package/dist/solutions-components/p-602f3e72.js +16 -0
- package/dist/solutions-components/p-6068c1cf.entry.js +22 -0
- package/dist/solutions-components/p-6332fd4e.entry.js +6 -0
- package/dist/solutions-components/p-63466518.entry.js +6 -0
- package/dist/solutions-components/p-63572270.entry.js +6 -0
- package/dist/solutions-components/p-6665fa1f.js +6 -0
- package/dist/solutions-components/p-66bca043.js +145 -0
- package/dist/solutions-components/p-66ff2c3f.js +11 -0
- package/dist/solutions-components/p-680b89db.js +16 -0
- package/dist/solutions-components/p-6aa16b3c.js +6 -0
- package/dist/solutions-components/p-6ce37201.js +11 -0
- package/dist/solutions-components/p-6d520a58.js +12 -0
- package/dist/solutions-components/p-6d93bdfd.entry.js +11 -0
- package/dist/solutions-components/p-6f6deff1.js +6 -0
- package/dist/solutions-components/p-701568c2.entry.js +16 -0
- package/dist/solutions-components/p-7169fadf.js +6 -0
- package/dist/solutions-components/p-71964176.entry.js +11 -0
- package/dist/solutions-components/p-71b65d8a.entry.js +11 -0
- package/dist/solutions-components/p-72849648.js +6 -0
- package/dist/solutions-components/p-75099601.js +6 -0
- package/dist/solutions-components/p-75a758c8.js +6 -0
- package/dist/solutions-components/p-76bd5032.js +11 -0
- package/dist/solutions-components/p-7878534f.entry.js +11 -0
- package/dist/solutions-components/p-792907e2.entry.js +11 -0
- package/dist/solutions-components/p-7b257e2e.js +6 -0
- package/dist/solutions-components/p-7c0fe27e.entry.js +11 -0
- package/dist/solutions-components/p-7c2be8cc.js +11 -0
- package/dist/solutions-components/p-7c2ef952.js +6 -0
- package/dist/solutions-components/p-7d04ff20.js +11 -0
- package/dist/solutions-components/p-7d280d8a.js +7 -0
- package/dist/solutions-components/p-8007ac36.js +11 -0
- package/dist/solutions-components/p-807900ac.js +6 -0
- package/dist/solutions-components/p-80b11ec1.entry.js +17 -0
- package/dist/solutions-components/p-80fd6b2e.js +6 -0
- package/dist/solutions-components/p-813fd8a4.entry.js +11 -0
- package/dist/solutions-components/p-8294d644.js +21 -0
- package/dist/solutions-components/p-84546f35.entry.js +6 -0
- package/dist/solutions-components/p-88932d2f.entry.js +11 -0
- package/dist/solutions-components/p-89218b6e.js +6 -0
- package/dist/solutions-components/p-8942f6fa.js +6 -0
- package/dist/solutions-components/p-8dc26294.js +11 -0
- package/dist/solutions-components/p-8ddc7786.js +6 -0
- package/dist/solutions-components/p-905f7e81.entry.js +6 -0
- package/dist/solutions-components/p-906ad47a.entry.js +11 -0
- package/dist/solutions-components/p-91c49d95.entry.js +6 -0
- package/dist/solutions-components/p-928c0b29.entry.js +6 -0
- package/dist/solutions-components/p-94c634ba.js +66 -0
- package/dist/solutions-components/p-94de9279.js +11 -0
- package/dist/solutions-components/p-954dc86f.entry.js +6 -0
- package/dist/solutions-components/p-9ae4f911.entry.js +6 -0
- package/dist/solutions-components/p-9d3b46e2.js +11 -0
- package/dist/solutions-components/p-9d53e0f2.js +11 -0
- package/dist/solutions-components/p-9f895288.entry.js +6 -0
- package/dist/solutions-components/p-a17d0d80.entry.js +6 -0
- package/dist/solutions-components/p-a3132356.entry.js +6 -0
- package/dist/solutions-components/p-a4149333.js +11 -0
- package/dist/solutions-components/p-a5088b70.js +6 -0
- package/dist/solutions-components/p-a55b766f.entry.js +6 -0
- package/dist/solutions-components/p-a82f35c9.js +6 -0
- package/dist/solutions-components/p-a886ab7f.entry.js +6 -0
- package/dist/solutions-components/p-acb9b78e.js +6 -0
- package/dist/solutions-components/p-ad98c346.js +6 -0
- package/dist/solutions-components/p-aec06ce4.entry.js +18 -0
- package/dist/solutions-components/p-b15fda15.js +6 -0
- package/dist/solutions-components/p-b3ad3ac1.entry.js +6 -0
- package/dist/solutions-components/p-b3eb3302.js +17 -0
- package/dist/solutions-components/p-b4103233.js +6 -0
- package/dist/solutions-components/p-b4d85b2c.js +6 -0
- package/dist/solutions-components/p-b503d01d.js +49 -0
- package/dist/solutions-components/p-b7337228.entry.js +11 -0
- package/dist/solutions-components/p-ba7d55ea.js +11 -0
- package/dist/solutions-components/p-bc665a3a.js +6 -0
- package/dist/solutions-components/p-bd06bae0.entry.js +11 -0
- package/dist/solutions-components/p-bdbfe9f1.js +6 -0
- package/dist/solutions-components/p-bdea5320.js +11 -0
- package/dist/solutions-components/p-be8ef276.js +36 -0
- package/dist/solutions-components/p-beba1804.entry.js +11 -0
- package/dist/solutions-components/p-bf6b4eb7.entry.js +6 -0
- package/dist/solutions-components/p-bfdf89c2.js +11 -0
- package/dist/solutions-components/p-c375881a.entry.js +21 -0
- package/dist/solutions-components/p-c4ff3b52.entry.js +17 -0
- package/dist/solutions-components/p-c51f2880.entry.js +11 -0
- package/dist/solutions-components/p-c94d2cec.js +11 -0
- package/dist/solutions-components/p-c97eebe2.js +6 -0
- package/dist/solutions-components/p-caa7580c.js +6 -0
- package/dist/solutions-components/p-cc859d2b.entry.js +16 -0
- package/dist/solutions-components/p-cd1ca3a6.entry.js +47 -0
- package/dist/solutions-components/p-cde1d741.js +27 -0
- package/dist/solutions-components/p-ced067bd.entry.js +17 -0
- package/dist/solutions-components/p-d136eab0.entry.js +23 -0
- package/dist/solutions-components/p-d36f2db6.entry.js +11 -0
- package/dist/solutions-components/p-d3ba36ce.entry.js +11 -0
- package/dist/solutions-components/p-d599cfa8.entry.js +6 -0
- package/dist/solutions-components/p-d5ce0c2b.js +11 -0
- package/dist/solutions-components/p-d67f3b6e.entry.js +11 -0
- package/dist/solutions-components/p-d6c662dc.js +6 -0
- package/dist/solutions-components/p-d7b02d3a.js +22 -0
- package/dist/solutions-components/p-d9826b1d.entry.js +11 -0
- package/dist/solutions-components/p-db53bde3.js +11 -0
- package/dist/solutions-components/p-dc58d9ec.js +6 -0
- package/dist/solutions-components/p-dd67e38a.entry.js +6 -0
- package/dist/solutions-components/p-ddd1cc66.js +6 -0
- package/dist/solutions-components/p-de9522e9.js +11 -0
- package/dist/solutions-components/p-e0446d5b.entry.js +6 -0
- package/dist/solutions-components/p-e10ca475.entry.js +11 -0
- package/dist/solutions-components/p-e14e6c12.entry.js +6 -0
- package/dist/solutions-components/p-e29a378e.entry.js +6 -0
- package/dist/solutions-components/p-e2d0ad1b.js +6 -0
- package/dist/solutions-components/p-e2eb93d3.js +6 -0
- package/dist/solutions-components/p-e46910c5.js +6 -0
- package/dist/solutions-components/p-e61c56fa.entry.js +11 -0
- package/dist/solutions-components/p-e7afc0a8.js +11 -0
- package/dist/solutions-components/p-e813faf8.entry.js +11 -0
- package/dist/solutions-components/p-e822a96b.js +6 -0
- package/dist/solutions-components/p-e85ba21c.js +6 -0
- package/dist/solutions-components/p-e9700988.entry.js +6 -0
- package/dist/solutions-components/p-e9788173.entry.js +11 -0
- package/dist/solutions-components/p-e9828fd0.js +6 -0
- package/dist/solutions-components/p-eab00813.js +8 -0
- package/dist/solutions-components/p-ebd6afea.entry.js +11 -0
- package/dist/solutions-components/p-ebdd6c63.js +6 -0
- package/dist/solutions-components/p-ede2a93f.js +6 -0
- package/dist/solutions-components/p-ef1cf76c.entry.js +6 -0
- package/dist/solutions-components/p-efec6ba5.entry.js +11 -0
- package/dist/solutions-components/p-f0c7d964.js +11 -0
- package/dist/solutions-components/p-f232f765.js +6 -0
- package/dist/solutions-components/p-f313b45b.entry.js +6 -0
- package/dist/solutions-components/p-f6be44e6.entry.js +6 -0
- package/dist/solutions-components/p-f8015a1b.js +6 -0
- package/dist/solutions-components/p-f8a6785d.entry.js +6 -0
- package/dist/solutions-components/p-fb7a5f6e.js +21 -0
- package/dist/solutions-components/p-fc1367d9.entry.js +6 -0
- package/dist/solutions-components/p-fc2fb61b.js +6 -0
- package/dist/solutions-components/p-fc9fe5fb.js +11 -0
- package/dist/solutions-components/p-fdedce1c.entry.js +11 -0
- package/dist/solutions-components/p-fe74de01.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +1 -3
- package/dist/solutions-components/utils/interfaces.ts +2 -24
- package/dist/solutions-components/utils/mapViewUtils.ts +6 -34
- package/dist/solutions-components/utils/pciUtils.ts +2 -2
- package/dist/solutions-components/utils/pdfUtils.ts +47 -40
- package/dist/solutions-components/utils/popupUtils.ts +3 -23
- package/dist/solutions-components/utils/queryUtils.ts +0 -41
- package/dist/solutions-components/utils/solution-store.ts +13 -12
- package/dist/solutions-components/utils/templates.ts +30 -125
- package/dist/solutions-components/utils/test/templates.e2e.ts +2 -2
- package/dist/types/components/create-feature/create-feature.d.ts +6 -28
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +15 -79
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +78 -284
- package/dist/types/components/feature-list/feature-list.d.ts +2 -45
- package/dist/types/components/floor-filter/floor-filter.d.ts +1 -27
- package/dist/types/components/info-card/info-card.d.ts +5 -37
- package/dist/types/components/layer-list/layer-list.d.ts +6 -1
- package/dist/types/components/layer-table/layer-table.d.ts +2 -26
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +0 -4
- package/dist/types/components/public-notification/public-notification.d.ts +0 -4
- package/dist/types/components/refine-selection/refine-selection.d.ts +0 -4
- package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +25 -21
- package/dist/types/components/store-manager/store-manager.d.ts +3 -3
- package/dist/types/components.d.ts +28 -428
- package/dist/types/preact.d.ts +5 -50
- package/dist/types/stencil-public-runtime.d.ts +10 -3
- package/dist/types/utils/interfaces.d.ts +0 -21
- package/dist/types/utils/mapViewUtils.d.ts +3 -12
- package/dist/types/utils/popupUtils.d.ts +0 -4
- package/dist/types/utils/queryUtils.d.ts +0 -16
- package/dist/types/utils/templates.d.ts +5 -35
- package/package.json +49 -49
- package/dist/assets/arcgis-pdf-creator/PDFLabels.d.ts +0 -218
- package/dist/assets/t9n/media-card/resources_ar.json +0 -3
- package/dist/assets/t9n/media-card/resources_bg.json +0 -3
- package/dist/assets/t9n/media-card/resources_bs.json +0 -3
- package/dist/assets/t9n/media-card/resources_ca.json +0 -3
- package/dist/assets/t9n/media-card/resources_cs.json +0 -3
- package/dist/assets/t9n/media-card/resources_da.json +0 -3
- package/dist/assets/t9n/media-card/resources_de.json +0 -3
- package/dist/assets/t9n/media-card/resources_el.json +0 -3
- package/dist/assets/t9n/media-card/resources_es.json +0 -3
- package/dist/assets/t9n/media-card/resources_et.json +0 -3
- package/dist/assets/t9n/media-card/resources_fi.json +0 -3
- package/dist/assets/t9n/media-card/resources_fr.json +0 -3
- package/dist/assets/t9n/media-card/resources_he.json +0 -3
- package/dist/assets/t9n/media-card/resources_hr.json +0 -3
- package/dist/assets/t9n/media-card/resources_hu.json +0 -3
- package/dist/assets/t9n/media-card/resources_id.json +0 -3
- package/dist/assets/t9n/media-card/resources_it.json +0 -3
- package/dist/assets/t9n/media-card/resources_ja.json +0 -3
- package/dist/assets/t9n/media-card/resources_ko.json +0 -3
- package/dist/assets/t9n/media-card/resources_lt.json +0 -3
- package/dist/assets/t9n/media-card/resources_lv.json +0 -3
- package/dist/assets/t9n/media-card/resources_nb.json +0 -3
- package/dist/assets/t9n/media-card/resources_nl.json +0 -3
- package/dist/assets/t9n/media-card/resources_pl.json +0 -3
- package/dist/assets/t9n/media-card/resources_pt-BR.json +0 -3
- package/dist/assets/t9n/media-card/resources_pt-PT.json +0 -3
- package/dist/assets/t9n/media-card/resources_ro.json +0 -3
- package/dist/assets/t9n/media-card/resources_ru.json +0 -3
- package/dist/assets/t9n/media-card/resources_sk.json +0 -3
- package/dist/assets/t9n/media-card/resources_sl.json +0 -3
- package/dist/assets/t9n/media-card/resources_sr.json +0 -3
- package/dist/assets/t9n/media-card/resources_sv.json +0 -3
- package/dist/assets/t9n/media-card/resources_th.json +0 -3
- package/dist/assets/t9n/media-card/resources_tr.json +0 -3
- package/dist/assets/t9n/media-card/resources_uk.json +0 -3
- package/dist/assets/t9n/media-card/resources_vi.json +0 -3
- package/dist/assets/t9n/media-card/resources_zh-CN.json +0 -3
- package/dist/assets/t9n/media-card/resources_zh-HK.json +0 -3
- package/dist/assets/t9n/media-card/resources_zh-TW.json +0 -3
- package/dist/cjs/ExpandToggle-08ea7a69.js +0 -118
- package/dist/cjs/FloatingArrow-e430eec3.js +0 -50
- package/dist/cjs/Heading-15954ee0.js +0 -25
- package/dist/cjs/Validation-0ed2f4a3.js +0 -20
- package/dist/cjs/_commonjsHelpers-baf43783.js +0 -20
- package/dist/cjs/app-globals-6acebf3e.js +0 -69
- package/dist/cjs/ar-10894ca2.js +0 -105
- package/dist/cjs/array-550d54b1.js +0 -17
- package/dist/cjs/bg-0e9f4e64.js +0 -83
- package/dist/cjs/breakpoints-7d21666f.js +0 -17
- package/dist/cjs/browser-6137dfdf.js +0 -25
- package/dist/cjs/bs-c3be214f.js +0 -52
- package/dist/cjs/ca-b9c955ff.js +0 -72
- package/dist/cjs/calcite-action-menu_3.cjs.entry.js +0 -805
- package/dist/cjs/calcite-avatar_2.cjs.entry.js +0 -213
- package/dist/cjs/calcite-block_5.cjs.entry.js +0 -2992
- package/dist/cjs/calcite-card-group.cjs.entry.js +0 -169
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +0 -46
- package/dist/cjs/calcite-carousel.cjs.entry.js +0 -467
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +0 -2208
- package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +0 -420
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +0 -599
- package/dist/cjs/calcite-flow_6.cjs.entry.js +0 -1574
- package/dist/cjs/calcite-input-time-picker-99b4a577.js +0 -1864
- package/dist/cjs/calcite-tile-group.cjs.entry.js +0 -175
- package/dist/cjs/common-7ee7ad73.js +0 -38
- package/dist/cjs/component-d48747c9.js +0 -33
- package/dist/cjs/conditionalSlot-99fb1621.js +0 -54
- package/dist/cjs/core-7f0bcc12.js +0 -20
- package/dist/cjs/cs-3aaff343.js +0 -148
- package/dist/cjs/da-258fbd9d.js +0 -67
- package/dist/cjs/date-00fc3e5c.js +0 -261
- package/dist/cjs/de-2aebcdd2.js +0 -92
- package/dist/cjs/de-at-49139550.js +0 -91
- package/dist/cjs/de-ch-cfb5727e.js +0 -91
- package/dist/cjs/debounce-7f1e04d6.js +0 -504
- package/dist/cjs/dom-1c78fa73.js +0 -1147
- package/dist/cjs/downloadUtils-0d728477.js +0 -3167
- package/dist/cjs/el-b393b949.js +0 -67
- package/dist/cjs/en-au-0bce695e.js +0 -67
- package/dist/cjs/en-ca-da691553.js +0 -66
- package/dist/cjs/en-gb-1fcd6d59.js +0 -70
- package/dist/cjs/es-2509530d.js +0 -67
- package/dist/cjs/es-mx-634125ce.js +0 -66
- package/dist/cjs/esri-loader-08dc41bd.js +0 -305
- package/dist/cjs/et-73fb1be6.js +0 -93
- package/dist/cjs/feature-list.cjs.entry.js +0 -305
- package/dist/cjs/fi-882d0bd9.js +0 -116
- package/dist/cjs/filter-f363c8fb.js +0 -777
- package/dist/cjs/floating-ui-d90077fa.js +0 -2295
- package/dist/cjs/focusTrapComponent-0c672330.js +0 -1028
- package/dist/cjs/form-eea3b222.js +0 -381
- package/dist/cjs/fr-ch-8dfbc6b7.js +0 -67
- package/dist/cjs/fr-f71b2679.js +0 -69
- package/dist/cjs/guid-a7528dfa.js +0 -26
- package/dist/cjs/he-b04d3082.js +0 -106
- package/dist/cjs/helpers-3cad996e.js +0 -940
- package/dist/cjs/hi-eeb6d951.js +0 -66
- package/dist/cjs/hr-4cbb9ab9.js +0 -81
- package/dist/cjs/html2canvas-29c6b9cc.js +0 -7847
- package/dist/cjs/hu-2f0ecbc7.js +0 -89
- package/dist/cjs/id-4ed2d454.js +0 -67
- package/dist/cjs/index-696e53e6.js +0 -1756
- package/dist/cjs/index-a0cca96e.js +0 -201
- package/dist/cjs/index.es-5402d486.js +0 -11318
- package/dist/cjs/input-fb5fbd7d.js +0 -60
- package/dist/cjs/instant-apps-create.cjs.entry.js +0 -269
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +0 -169
- package/dist/cjs/interactive-34bc91a0.js +0 -154
- package/dist/cjs/it-ch-82d7d9c4.js +0 -67
- package/dist/cjs/it-fc446914.js +0 -67
- package/dist/cjs/ja-d4a86ac4.js +0 -73
- package/dist/cjs/key-7ed07912.js +0 -19
- package/dist/cjs/ko-78c281da.js +0 -73
- package/dist/cjs/label-85cf6821.js +0 -186
- package/dist/cjs/languageSwitcher-dc2dd354.js +0 -60
- package/dist/cjs/languageUtil-a3e1eafd.js +0 -69
- package/dist/cjs/loadModules-8567855e.js +0 -23
- package/dist/cjs/loadable-53f1d561.js +0 -94
- package/dist/cjs/locale-0998a9f9.js +0 -161
- package/dist/cjs/locale-1d07e942.js +0 -91
- package/dist/cjs/locale-73a540a5.js +0 -584
- package/dist/cjs/lt-81d0a34a.js +0 -98
- package/dist/cjs/lv-07db6759.js +0 -67
- package/dist/cjs/mapViewUtils-78b14528.js +0 -510
- package/dist/cjs/math-11993213.js +0 -60
- package/dist/cjs/mk-cbbc8b51.js +0 -67
- package/dist/cjs/mode-3478ba36.js +0 -19
- package/dist/cjs/nb-7ed8a253.js +0 -68
- package/dist/cjs/nl-e4e2b298.js +0 -68
- package/dist/cjs/observers-a2648fc8.js +0 -55
- package/dist/cjs/openCloseComponent-b85eabb5.js +0 -92
- package/dist/cjs/pciUtils-f1adcf64.js +0 -847
- package/dist/cjs/pl-770f8f68.js +0 -115
- package/dist/cjs/popupUtils-79328fc3.js +0 -111
- package/dist/cjs/pt-35056b6f.js +0 -68
- package/dist/cjs/pt-br-a9159df1.js +0 -66
- package/dist/cjs/publicNotificationStore-42c4caaa.js +0 -47
- package/dist/cjs/purify-17c0fc4a.js +0 -1716
- package/dist/cjs/resources-144a98da.js +0 -29
- package/dist/cjs/resources-1c0e54c1.js +0 -32
- package/dist/cjs/resources-34f7b918.js +0 -68
- package/dist/cjs/resources-35c28ff1.js +0 -23
- package/dist/cjs/resources-38a9fa02.js +0 -2071
- package/dist/cjs/resources-5ba856a7.js +0 -27
- package/dist/cjs/resources-6146eb17.js +0 -21
- package/dist/cjs/resources-c35bef76.js +0 -39
- package/dist/cjs/resources-cb14bafc.js +0 -52
- package/dist/cjs/resources-f9c93f5a.js +0 -26
- package/dist/cjs/resources-fa37e40f.js +0 -26
- package/dist/cjs/restHelpersGet-d99cf121.js +0 -934
- package/dist/cjs/ro-6a07a288.js +0 -67
- package/dist/cjs/ru-2d8f6f5f.js +0 -127
- package/dist/cjs/shared-list-render-e0486f17.js +0 -365
- package/dist/cjs/sk-2bdec5ac.js +0 -149
- package/dist/cjs/sl-4aebcd29.js +0 -169
- package/dist/cjs/solution-resource-a09a6fe0.js +0 -145
- package/dist/cjs/solution-store-3edab9b1.js +0 -1352
- package/dist/cjs/sortableComponent-b1b229bf.js +0 -2743
- package/dist/cjs/sr-9b46b071.js +0 -102
- package/dist/cjs/styles-ef2b1e04.js +0 -13
- package/dist/cjs/sv-6d8df3c4.js +0 -72
- package/dist/cjs/t9n-d347df79.js +0 -100
- package/dist/cjs/templates-ff543f5f.js +0 -401
- package/dist/cjs/th-bc1b390c.js +0 -66
- package/dist/cjs/throttle-fe6b54a3.js +0 -75
- package/dist/cjs/time-882a0f77.js +0 -289
- package/dist/cjs/tr-cae9cd45.js +0 -67
- package/dist/cjs/uk-b66bf799.js +0 -105
- package/dist/cjs/utils-44b3a80e.js +0 -65
- package/dist/cjs/utils-518745e7.js +0 -221
- package/dist/cjs/utils-8d9c798c.js +0 -130
- package/dist/cjs/vi-c4217d0b.js +0 -71
- package/dist/cjs/zh-cn-8641645c.js +0 -95
- package/dist/cjs/zh-hk-7d2fa590.js +0 -72
- package/dist/cjs/zh-tw-2660bf33.js +0 -93
- package/dist/collection/components/create-related-feature/create-related-feature.css +0 -12
- package/dist/collection/components/create-related-feature/create-related-feature.js +0 -504
- package/dist/collection/components/feature-details/feature-details.css +0 -21
- package/dist/collection/components/feature-details/feature-details.js +0 -637
- package/dist/components/calcite-card-group.js +0 -189
- package/dist/components/calcite-carousel-item.js +0 -64
- package/dist/components/calcite-carousel.js +0 -523
- package/dist/components/calcite-tile-group.js +0 -199
- package/dist/components/core.js +0 -15
- package/dist/components/create-related-feature.d.ts +0 -11
- package/dist/components/create-related-feature.js +0 -11
- package/dist/components/create-related-feature2.js +0 -324
- package/dist/components/feature-details.d.ts +0 -11
- package/dist/components/feature-details.js +0 -11
- package/dist/components/feature-details2.js +0 -570
- package/dist/components/input2.js +0 -58
- package/dist/components/instant-apps-create.js +0 -319
- package/dist/components/instant-apps-sign-in.js +0 -11
- package/dist/components/instant-apps-sign-in2.js +0 -243
- package/dist/components/navigation-user.js +0 -106
- package/dist/components/resources6.js +0 -20
- package/dist/components/templates.js +0 -395
- package/dist/esm/ExpandToggle-0efa470f.js +0 -110
- package/dist/esm/FloatingArrow-c549da32.js +0 -48
- package/dist/esm/Heading-2104570d.js +0 -22
- package/dist/esm/Validation-cc8dc911.js +0 -18
- package/dist/esm/_commonjsHelpers-089957fe.js +0 -16
- package/dist/esm/app-globals-c4c8d6c1.js +0 -67
- package/dist/esm/ar-c705a441.js +0 -103
- package/dist/esm/array-2604a55d.js +0 -15
- package/dist/esm/bg-48ed25da.js +0 -81
- package/dist/esm/breakpoints-3afa0fd9.js +0 -15
- package/dist/esm/browser-7fe78178.js +0 -23
- package/dist/esm/bs-67c8cc20.js +0 -50
- package/dist/esm/ca-26cc0a78.js +0 -70
- package/dist/esm/calcite-action-menu_3.entry.js +0 -799
- package/dist/esm/calcite-avatar_2.entry.js +0 -208
- package/dist/esm/calcite-block_5.entry.js +0 -2984
- package/dist/esm/calcite-card-group.entry.js +0 -165
- package/dist/esm/calcite-carousel-item.entry.js +0 -42
- package/dist/esm/calcite-carousel.entry.js +0 -463
- package/dist/esm/calcite-combobox_3.entry.js +0 -2202
- package/dist/esm/calcite-dropdown-group_2.entry.js +0 -415
- package/dist/esm/calcite-dropdown_2.entry.js +0 -594
- package/dist/esm/calcite-flow_6.entry.js +0 -1565
- package/dist/esm/calcite-input-time-picker-338cf509.js +0 -1861
- package/dist/esm/calcite-tile-group.entry.js +0 -171
- package/dist/esm/common-96e3ddb0.js +0 -36
- package/dist/esm/component-960ddabf.js +0 -30
- package/dist/esm/conditionalSlot-850652b1.js +0 -51
- package/dist/esm/core-6a3c13ac.js +0 -15
- package/dist/esm/cs-3904d9c5.js +0 -146
- package/dist/esm/da-6631bc66.js +0 -65
- package/dist/esm/date-118148f9.js +0 -245
- package/dist/esm/de-68e0ccb3.js +0 -90
- package/dist/esm/de-at-d05edf69.js +0 -89
- package/dist/esm/de-ch-d7d9f8b9.js +0 -89
- package/dist/esm/debounce-6e9ade8c.js +0 -495
- package/dist/esm/dom-d675fe65.js +0 -1114
- package/dist/esm/downloadUtils-de5ccf30.js +0 -3160
- package/dist/esm/el-fed50b65.js +0 -65
- package/dist/esm/en-au-5a92bd2f.js +0 -65
- package/dist/esm/en-ca-4cb5380c.js +0 -64
- package/dist/esm/en-gb-95bbea85.js +0 -68
- package/dist/esm/es-88df3c8f.js +0 -65
- package/dist/esm/es-mx-55caef32.js +0 -64
- package/dist/esm/esri-loader-c6842c6b.js +0 -303
- package/dist/esm/et-57bffe46.js +0 -91
- package/dist/esm/feature-list.entry.js +0 -301
- package/dist/esm/fi-d8584bb7.js +0 -114
- package/dist/esm/filter-d09ea2a2.js +0 -775
- package/dist/esm/floating-ui-3e149d85.js +0 -2287
- package/dist/esm/focusTrapComponent-63bf0d9f.js +0 -1023
- package/dist/esm/form-8b2f6210.js +0 -372
- package/dist/esm/fr-8e4f3326.js +0 -67
- package/dist/esm/fr-ch-6f2764a9.js +0 -65
- package/dist/esm/guid-f05d01d5.js +0 -24
- package/dist/esm/he-1e8dacc2.js +0 -104
- package/dist/esm/helpers-ca6fa5a6.js +0 -913
- package/dist/esm/hi-c786d0be.js +0 -64
- package/dist/esm/hr-6c59640e.js +0 -79
- package/dist/esm/html2canvas-6443b68e.js +0 -7845
- package/dist/esm/hu-bc712f59.js +0 -87
- package/dist/esm/id-e11a4447.js +0 -65
- package/dist/esm/index-1dc14abf.js +0 -199
- package/dist/esm/index-e3f04fa1.js +0 -1722
- package/dist/esm/index.es-c1c29b61.js +0 -11231
- package/dist/esm/input-96cf61a2.js +0 -58
- package/dist/esm/instant-apps-create.entry.js +0 -265
- package/dist/esm/instant-apps-sign-in.entry.js +0 -165
- package/dist/esm/interactive-2e2d102f.js +0 -149
- package/dist/esm/it-4e97c5c6.js +0 -65
- package/dist/esm/it-ch-e80d2f46.js +0 -65
- package/dist/esm/ja-e3822be4.js +0 -71
- package/dist/esm/key-092b6260.js +0 -16
- package/dist/esm/ko-d6df4c1f.js +0 -71
- package/dist/esm/label-5692de01.js +0 -179
- package/dist/esm/languageSwitcher-9db90f1e.js +0 -57
- package/dist/esm/languageUtil-2b6e191a.js +0 -66
- package/dist/esm/loadModules-03ba7abe.js +0 -21
- package/dist/esm/loadable-01033497.js +0 -89
- package/dist/esm/locale-0f1cdb1f.js +0 -156
- package/dist/esm/locale-60861d67.js +0 -571
- package/dist/esm/locale-d66155ee.js +0 -86
- package/dist/esm/lt-9d03bfa7.js +0 -96
- package/dist/esm/lv-fff7ca43.js +0 -65
- package/dist/esm/mapViewUtils-e3de60cc.js +0 -492
- package/dist/esm/math-81650811.js +0 -54
- package/dist/esm/mk-3d27ae0d.js +0 -65
- package/dist/esm/mode-8c5f5dc9.js +0 -17
- package/dist/esm/nb-3e1284dc.js +0 -66
- package/dist/esm/nl-45346a3c.js +0 -66
- package/dist/esm/observers-fdb7a374.js +0 -53
- package/dist/esm/openCloseComponent-1fbfcd2f.js +0 -90
- package/dist/esm/pciUtils-986ddad9.js +0 -844
- package/dist/esm/pl-851e041f.js +0 -113
- package/dist/esm/popupUtils-2c4baa5d.js +0 -109
- package/dist/esm/pt-8899042f.js +0 -66
- package/dist/esm/pt-br-a43d0201.js +0 -64
- package/dist/esm/publicNotificationStore-c17ad008.js +0 -45
- package/dist/esm/purify-72515357.js +0 -1714
- package/dist/esm/resources-16800cce.js +0 -24
- package/dist/esm/resources-1febf4c6.js +0 -28
- package/dist/esm/resources-3587e9a5.js +0 -20
- package/dist/esm/resources-7c4efc5e.js +0 -22
- package/dist/esm/resources-7c61fbec.js +0 -62
- package/dist/esm/resources-7d202c09.js +0 -24
- package/dist/esm/resources-810e7513.js +0 -48
- package/dist/esm/resources-ae36eaff.js +0 -19
- package/dist/esm/resources-da3b53f5.js +0 -2060
- package/dist/esm/resources-dd68a4aa.js +0 -35
- package/dist/esm/resources-e4b779b0.js +0 -23
- package/dist/esm/restHelpersGet-eb33e6e1.js +0 -921
- package/dist/esm/ro-58f14d8f.js +0 -65
- package/dist/esm/ru-4688c237.js +0 -125
- package/dist/esm/shared-list-render-b7b0f245.js +0 -343
- package/dist/esm/sk-cc16b6af.js +0 -147
- package/dist/esm/sl-809eaa2e.js +0 -167
- package/dist/esm/solution-resource-3108caf7.js +0 -142
- package/dist/esm/solution-store-010d2027.js +0 -1350
- package/dist/esm/sortableComponent-e4ebf0bf.js +0 -2739
- package/dist/esm/sr-48ddceba.js +0 -100
- package/dist/esm/styles-b3492d9f.js +0 -11
- package/dist/esm/sv-2f138f0f.js +0 -70
- package/dist/esm/t9n-5800da82.js +0 -95
- package/dist/esm/templates-3bc0b4de.js +0 -395
- package/dist/esm/th-b3474642.js +0 -64
- package/dist/esm/throttle-aed86bf3.js +0 -73
- package/dist/esm/time-7837ffad.js +0 -274
- package/dist/esm/tr-52b937e8.js +0 -65
- package/dist/esm/uk-e0460e9b.js +0 -103
- package/dist/esm/utils-251cb6de.js +0 -203
- package/dist/esm/utils-8519a5f7.js +0 -121
- package/dist/esm/utils-e4ed10d3.js +0 -54
- package/dist/esm/vi-1b5fccc2.js +0 -69
- package/dist/esm/zh-cn-559b2148.js +0 -93
- package/dist/esm/zh-hk-beb2d45d.js +0 -70
- package/dist/esm/zh-tw-a9743012.js +0 -91
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +0 -73
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +0 -330
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +0 -45
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +0 -86
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-create/instant-apps-create.css +0 -150
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +0 -93
- package/dist/solutions-components/assets/carousel/t9n/index.d.ts +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_ar.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_bg.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_bs.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_ca.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_cs.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_da.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_de.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_el.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_en.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_es.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_et.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_fi.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_fr.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_he.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_hr.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_hu.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_id.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_it.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_ja.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_ko.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_lt.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_lv.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_nl.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_no.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_pl.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_pt-BR.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_pt-PT.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_ro.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_ru.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_sk.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_sl.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_sr.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_sv.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_th.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_tr.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_uk.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_vi.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_zh-CN.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_zh-HK.json +0 -8
- package/dist/solutions-components/assets/carousel/t9n/messages_zh-TW.json +0 -8
- package/dist/solutions-components/assets/icon/addToModel16.json +0 -1
- package/dist/solutions-components/assets/icon/addToModel24.json +0 -1
- package/dist/solutions-components/assets/icon/addToModel32.json +0 -1
- package/dist/solutions-components/assets/icon/ai16.json +0 -1
- package/dist/solutions-components/assets/icon/ai24.json +0 -1
- package/dist/solutions-components/assets/icon/ai32.json +0 -1
- package/dist/solutions-components/assets/icon/applyChanges16.json +0 -1
- package/dist/solutions-components/assets/icon/applyChanges24.json +0 -1
- package/dist/solutions-components/assets/icon/applyChanges32.json +0 -1
- package/dist/solutions-components/assets/icon/binary16.json +0 -1
- package/dist/solutions-components/assets/icon/binary24.json +0 -1
- package/dist/solutions-components/assets/icon/binary32.json +0 -1
- package/dist/solutions-components/assets/icon/brackets16.json +0 -1
- package/dist/solutions-components/assets/icon/brackets24.json +0 -1
- package/dist/solutions-components/assets/icon/brackets32.json +0 -1
- package/dist/solutions-components/assets/icon/clipboardBrackets16.json +0 -1
- package/dist/solutions-components/assets/icon/clipboardBrackets24.json +0 -1
- package/dist/solutions-components/assets/icon/clipboardBrackets32.json +0 -1
- package/dist/solutions-components/assets/icon/codeBranch16.json +0 -1
- package/dist/solutions-components/assets/icon/codeBranch24.json +0 -1
- package/dist/solutions-components/assets/icon/codeBranch32.json +0 -1
- package/dist/solutions-components/assets/icon/codeBranchEdit16.json +0 -1
- package/dist/solutions-components/assets/icon/codeBranchEdit24.json +0 -1
- package/dist/solutions-components/assets/icon/codeBranchEdit32.json +0 -1
- package/dist/solutions-components/assets/icon/codeBrand16.json +0 -1
- package/dist/solutions-components/assets/icon/codeBrand24.json +0 -1
- package/dist/solutions-components/assets/icon/codeBrand32.json +0 -1
- package/dist/solutions-components/assets/icon/codeBrandEdit16.json +0 -1
- package/dist/solutions-components/assets/icon/codeBrandEdit24.json +0 -1
- package/dist/solutions-components/assets/icon/codeBrandEdit32.json +0 -1
- package/dist/solutions-components/assets/icon/configureEditing16.json +0 -1
- package/dist/solutions-components/assets/icon/configureEditing24.json +0 -1
- package/dist/solutions-components/assets/icon/configureEditing32.json +0 -1
- package/dist/solutions-components/assets/icon/doubleFloat16.json +0 -1
- package/dist/solutions-components/assets/icon/doubleFloat24.json +0 -1
- package/dist/solutions-components/assets/icon/doubleFloat32.json +0 -1
- package/dist/solutions-components/assets/icon/fileReportGeneric16.json +0 -1
- package/dist/solutions-components/assets/icon/fileReportGeneric24.json +0 -1
- package/dist/solutions-components/assets/icon/fileReportGeneric32.json +0 -1
- package/dist/solutions-components/assets/icon/fileXml16.json +0 -1
- package/dist/solutions-components/assets/icon/fileXml24.json +0 -1
- package/dist/solutions-components/assets/icon/fileXml32.json +0 -1
- package/dist/solutions-components/assets/icon/filterExpand16.json +0 -1
- package/dist/solutions-components/assets/icon/filterExpand24.json +0 -1
- package/dist/solutions-components/assets/icon/filterExpand32.json +0 -1
- package/dist/solutions-components/assets/icon/folder16F.json +0 -1
- package/dist/solutions-components/assets/icon/folder24F.json +0 -1
- package/dist/solutions-components/assets/icon/folder32F.json +0 -1
- package/dist/solutions-components/assets/icon/folderFill16F.json +0 -1
- package/dist/solutions-components/assets/icon/folderFill24F.json +0 -1
- package/dist/solutions-components/assets/icon/folderFill32F.json +0 -1
- package/dist/solutions-components/assets/icon/folderMagnifyingGlass16.json +0 -1
- package/dist/solutions-components/assets/icon/folderMagnifyingGlass24.json +0 -1
- package/dist/solutions-components/assets/icon/folderMagnifyingGlass32.json +0 -1
- package/dist/solutions-components/assets/icon/folderOpen16F.json +0 -1
- package/dist/solutions-components/assets/icon/folderOpen24F.json +0 -1
- package/dist/solutions-components/assets/icon/folderOpen32F.json +0 -1
- package/dist/solutions-components/assets/icon/fourByOneGrid16.json +0 -1
- package/dist/solutions-components/assets/icon/fourByOneGrid24.json +0 -1
- package/dist/solutions-components/assets/icon/fourByOneGrid32.json +0 -1
- package/dist/solutions-components/assets/icon/fourByThreeGrid16.json +0 -1
- package/dist/solutions-components/assets/icon/fourByThreeGrid24.json +0 -1
- package/dist/solutions-components/assets/icon/fourByThreeGrid32.json +0 -1
- package/dist/solutions-components/assets/icon/fourByTwoGrid16.json +0 -1
- package/dist/solutions-components/assets/icon/fourByTwoGrid24.json +0 -1
- package/dist/solutions-components/assets/icon/fourByTwoGrid32.json +0 -1
- package/dist/solutions-components/assets/icon/frameExport16.json +0 -1
- package/dist/solutions-components/assets/icon/frameExport24.json +0 -1
- package/dist/solutions-components/assets/icon/frameExport32.json +0 -1
- package/dist/solutions-components/assets/icon/graphBoxMeanLines16.json +0 -1
- package/dist/solutions-components/assets/icon/graphBoxMeanLines24.json +0 -1
- package/dist/solutions-components/assets/icon/graphBoxMeanLines32.json +0 -1
- package/dist/solutions-components/assets/icon/graphBoxSideBySide16.json +0 -1
- package/dist/solutions-components/assets/icon/graphBoxSideBySide24.json +0 -1
- package/dist/solutions-components/assets/icon/graphBoxSideBySide32.json +0 -1
- package/dist/solutions-components/assets/icon/groupLayers16.json +0 -1
- package/dist/solutions-components/assets/icon/groupLayers24.json +0 -1
- package/dist/solutions-components/assets/icon/groupLayers32.json +0 -1
- package/dist/solutions-components/assets/icon/layersF16.json +0 -1
- package/dist/solutions-components/assets/icon/layersF24.json +0 -1
- package/dist/solutions-components/assets/icon/layersF32.json +0 -1
- package/dist/solutions-components/assets/icon/linkChartFromTemplate16.json +0 -1
- package/dist/solutions-components/assets/icon/linkChartFromTemplate24.json +0 -1
- package/dist/solutions-components/assets/icon/linkChartFromTemplate32.json +0 -1
- package/dist/solutions-components/assets/icon/livestreamVideoLayer16.json +0 -1
- package/dist/solutions-components/assets/icon/livestreamVideoLayer24.json +0 -1
- package/dist/solutions-components/assets/icon/livestreamVideoLayer32.json +0 -1
- package/dist/solutions-components/assets/icon/mapFromTemplate16.json +0 -1
- package/dist/solutions-components/assets/icon/mapFromTemplate24.json +0 -1
- package/dist/solutions-components/assets/icon/mapFromTemplate32.json +0 -1
- package/dist/solutions-components/assets/icon/membersBrackets16.json +0 -1
- package/dist/solutions-components/assets/icon/membersBrackets24.json +0 -1
- package/dist/solutions-components/assets/icon/membersBrackets32.json +0 -1
- package/dist/solutions-components/assets/icon/modelEdit16.json +0 -1
- package/dist/solutions-components/assets/icon/modelEdit24.json +0 -1
- package/dist/solutions-components/assets/icon/modelEdit32.json +0 -1
- package/dist/solutions-components/assets/icon/modifyAssociations16.json +0 -1
- package/dist/solutions-components/assets/icon/modifyAssociations24.json +0 -1
- package/dist/solutions-components/assets/icon/modifyAssociations32.json +0 -1
- package/dist/solutions-components/assets/icon/moveFromBasemap16.json +0 -1
- package/dist/solutions-components/assets/icon/moveFromBasemap24.json +0 -1
- package/dist/solutions-components/assets/icon/moveFromBasemap32.json +0 -1
- package/dist/solutions-components/assets/icon/moveToBasemap16.json +0 -1
- package/dist/solutions-components/assets/icon/moveToBasemap24.json +0 -1
- package/dist/solutions-components/assets/icon/moveToBasemap32.json +0 -1
- package/dist/solutions-components/assets/icon/notepad16.json +0 -1
- package/dist/solutions-components/assets/icon/notepad24.json +0 -1
- package/dist/solutions-components/assets/icon/notepad32.json +0 -1
- package/dist/solutions-components/assets/icon/notepadAdd16.json +0 -1
- package/dist/solutions-components/assets/icon/notepadAdd24.json +0 -1
- package/dist/solutions-components/assets/icon/notepadAdd32.json +0 -1
- package/dist/solutions-components/assets/icon/notepadEdit16.json +0 -1
- package/dist/solutions-components/assets/icon/notepadEdit24.json +0 -1
- package/dist/solutions-components/assets/icon/notepadEdit32.json +0 -1
- package/dist/solutions-components/assets/icon/pasteWithAttribute16.json +0 -1
- package/dist/solutions-components/assets/icon/pasteWithAttribute24.json +0 -1
- package/dist/solutions-components/assets/icon/pasteWithAttribute32.json +0 -1
- package/dist/solutions-components/assets/icon/pasteWithoutAttribute16.json +0 -1
- package/dist/solutions-components/assets/icon/pasteWithoutAttribute24.json +0 -1
- package/dist/solutions-components/assets/icon/pasteWithoutAttribute32.json +0 -1
- package/dist/solutions-components/assets/icon/query16.json +0 -1
- package/dist/solutions-components/assets/icon/query24.json +0 -1
- package/dist/solutions-components/assets/icon/query32.json +0 -1
- package/dist/solutions-components/assets/icon/radialTreeLinkChartLayout16.json +0 -1
- package/dist/solutions-components/assets/icon/radialTreeLinkChartLayout24.json +0 -1
- package/dist/solutions-components/assets/icon/radialTreeLinkChartLayout32.json +0 -1
- package/dist/solutions-components/assets/icon/removeFromList16.json +0 -1
- package/dist/solutions-components/assets/icon/removeFromList24.json +0 -1
- package/dist/solutions-components/assets/icon/removeFromList32.json +0 -1
- package/dist/solutions-components/assets/icon/reshapeAddGeometry16.json +0 -1
- package/dist/solutions-components/assets/icon/reshapeAddGeometry24.json +0 -1
- package/dist/solutions-components/assets/icon/reshapeAddGeometry32.json +0 -1
- package/dist/solutions-components/assets/icon/reshapeSubtractGeometry16.json +0 -1
- package/dist/solutions-components/assets/icon/reshapeSubtractGeometry24.json +0 -1
- package/dist/solutions-components/assets/icon/reshapeSubtractGeometry32.json +0 -1
- package/dist/solutions-components/assets/icon/reshapeTool16.json +0 -1
- package/dist/solutions-components/assets/icon/reshapeTool24.json +0 -1
- package/dist/solutions-components/assets/icon/reshapeTool32.json +0 -1
- package/dist/solutions-components/assets/icon/rss16.json +0 -1
- package/dist/solutions-components/assets/icon/rss24.json +0 -1
- package/dist/solutions-components/assets/icon/rss32.json +0 -1
- package/dist/solutions-components/assets/icon/rssF16.json +0 -1
- package/dist/solutions-components/assets/icon/rssF24.json +0 -1
- package/dist/solutions-components/assets/icon/rssF32.json +0 -1
- package/dist/solutions-components/assets/icon/schema16.json +0 -1
- package/dist/solutions-components/assets/icon/schema24.json +0 -1
- package/dist/solutions-components/assets/icon/schema32.json +0 -1
- package/dist/solutions-components/assets/icon/selectByAttributes16.json +0 -1
- package/dist/solutions-components/assets/icon/selectByAttributes24.json +0 -1
- package/dist/solutions-components/assets/icon/selectByAttributes32.json +0 -1
- package/dist/solutions-components/assets/icon/selectColumn16.json +0 -1
- package/dist/solutions-components/assets/icon/selectColumn24.json +0 -1
- package/dist/solutions-components/assets/icon/selectColumn32.json +0 -1
- package/dist/solutions-components/assets/icon/selectionManager16.json +0 -1
- package/dist/solutions-components/assets/icon/selectionManager24.json +0 -1
- package/dist/solutions-components/assets/icon/selectionManager32.json +0 -1
- package/dist/solutions-components/assets/icon/storedAsNewQuery16.json +0 -1
- package/dist/solutions-components/assets/icon/storedAsNewQuery24.json +0 -1
- package/dist/solutions-components/assets/icon/storedAsNewQuery32.json +0 -1
- package/dist/solutions-components/assets/icon/storedQuery16.json +0 -1
- package/dist/solutions-components/assets/icon/storedQuery24.json +0 -1
- package/dist/solutions-components/assets/icon/storedQuery32.json +0 -1
- package/dist/solutions-components/assets/icon/styling16.json +0 -1
- package/dist/solutions-components/assets/icon/styling24.json +0 -1
- package/dist/solutions-components/assets/icon/styling32.json +0 -1
- package/dist/solutions-components/assets/icon/subFields16.json +0 -1
- package/dist/solutions-components/assets/icon/subFields24.json +0 -1
- package/dist/solutions-components/assets/icon/subFields32.json +0 -1
- package/dist/solutions-components/assets/icon/subtype16.json +0 -1
- package/dist/solutions-components/assets/icon/subtype24.json +0 -1
- package/dist/solutions-components/assets/icon/subtype32.json +0 -1
- package/dist/solutions-components/assets/icon/templates16.json +0 -1
- package/dist/solutions-components/assets/icon/templates24.json +0 -1
- package/dist/solutions-components/assets/icon/templates32.json +0 -1
- package/dist/solutions-components/assets/icon/textBold16.json +0 -1
- package/dist/solutions-components/assets/icon/textBold24.json +0 -1
- package/dist/solutions-components/assets/icon/textBold32.json +0 -1
- package/dist/solutions-components/assets/icon/threeByOneGrid16.json +0 -1
- package/dist/solutions-components/assets/icon/threeByOneGrid24.json +0 -1
- package/dist/solutions-components/assets/icon/threeByOneGrid32.json +0 -1
- package/dist/solutions-components/assets/icon/threeByThreeGrid16.json +0 -1
- package/dist/solutions-components/assets/icon/threeByThreeGrid24.json +0 -1
- package/dist/solutions-components/assets/icon/threeByThreeGrid32.json +0 -1
- package/dist/solutions-components/assets/icon/threeByTwoGrid16.json +0 -1
- package/dist/solutions-components/assets/icon/threeByTwoGrid24.json +0 -1
- package/dist/solutions-components/assets/icon/threeByTwoGrid32.json +0 -1
- package/dist/solutions-components/assets/icon/ungroupLayers16.json +0 -1
- package/dist/solutions-components/assets/icon/ungroupLayers24.json +0 -1
- package/dist/solutions-components/assets/icon/ungroupLayers32.json +0 -1
- package/dist/solutions-components/assets/icon/utilityNetwork16.json +0 -1
- package/dist/solutions-components/assets/icon/utilityNetwork24.json +0 -1
- package/dist/solutions-components/assets/icon/utilityNetwork32.json +0 -1
- package/dist/solutions-components/assets/icon/validateUtilityNetworkTopology16.json +0 -1
- package/dist/solutions-components/assets/icon/validateUtilityNetworkTopology24.json +0 -1
- package/dist/solutions-components/assets/icon/validateUtilityNetworkTopology32.json +0 -1
- package/dist/solutions-components/assets/icon/videoLayer16.json +0 -1
- package/dist/solutions-components/assets/icon/videoLayer24.json +0 -1
- package/dist/solutions-components/assets/icon/videoLayer32.json +0 -1
- package/dist/solutions-components/assets/tab-nav/t9n/index.d.ts +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_ar.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_bg.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_bs.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_ca.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_cs.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_da.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_de.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_el.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_en.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_es.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_et.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_fi.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_fr.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_he.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_hr.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_hu.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_id.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_it.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_ja.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_ko.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_lt.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_lv.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_nl.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_no.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_pl.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_pt-BR.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_pt-PT.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_ro.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_ru.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_sk.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_sl.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_sr.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_sv.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_th.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_tr.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_uk.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_vi.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_zh-CN.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_zh-HK.json +0 -4
- package/dist/solutions-components/assets/tab-nav/t9n/messages_zh-TW.json +0 -4
- package/dist/solutions-components/p-0029318e.js +0 -6
- package/dist/solutions-components/p-01ee5ad6.js +0 -11
- package/dist/solutions-components/p-05c1fa62.js +0 -6
- package/dist/solutions-components/p-065a0712.entry.js +0 -29
- package/dist/solutions-components/p-065b269e.entry.js +0 -16
- package/dist/solutions-components/p-07aae6af.entry.js +0 -11
- package/dist/solutions-components/p-07ffc0dc.js +0 -12
- package/dist/solutions-components/p-08ea3025.js +0 -6
- package/dist/solutions-components/p-0973f502.entry.js +0 -11
- package/dist/solutions-components/p-098ae31a.entry.js +0 -11
- package/dist/solutions-components/p-0a136490.entry.js +0 -6
- package/dist/solutions-components/p-0a24ad5f.js +0 -6
- package/dist/solutions-components/p-0abfcd37.entry.js +0 -11
- package/dist/solutions-components/p-0b592d22.entry.js +0 -11
- package/dist/solutions-components/p-0c9b771a.js +0 -6
- package/dist/solutions-components/p-0d9d1e08.entry.js +0 -12
- package/dist/solutions-components/p-0f02c25c.entry.js +0 -12
- package/dist/solutions-components/p-103bb44d.js +0 -6
- package/dist/solutions-components/p-14ca9076.entry.js +0 -6
- package/dist/solutions-components/p-15a81116.entry.js +0 -6
- package/dist/solutions-components/p-16aa396b.entry.js +0 -6
- package/dist/solutions-components/p-16f0f2b8.js +0 -6
- package/dist/solutions-components/p-1901d180.entry.js +0 -11
- package/dist/solutions-components/p-1996cf43.entry.js +0 -6
- package/dist/solutions-components/p-1aa72bda.js +0 -16
- package/dist/solutions-components/p-1abdcee8.entry.js +0 -17
- package/dist/solutions-components/p-1c429493.entry.js +0 -6
- package/dist/solutions-components/p-1c64264d.js +0 -6
- package/dist/solutions-components/p-1c7fa861.js +0 -11
- package/dist/solutions-components/p-1cf65b78.js +0 -6
- package/dist/solutions-components/p-1dbc5234.js +0 -11
- package/dist/solutions-components/p-1f4d9fc9.entry.js +0 -17
- package/dist/solutions-components/p-1f58427a.js +0 -6
- package/dist/solutions-components/p-21fd2b18.js +0 -11
- package/dist/solutions-components/p-2222c738.entry.js +0 -6
- package/dist/solutions-components/p-23059533.js +0 -11
- package/dist/solutions-components/p-259e6f21.entry.js +0 -6
- package/dist/solutions-components/p-260d655c.js +0 -11
- package/dist/solutions-components/p-2670fe22.entry.js +0 -11
- package/dist/solutions-components/p-2733d390.js +0 -6
- package/dist/solutions-components/p-277e0b1d.js +0 -6
- package/dist/solutions-components/p-27ef34f6.js +0 -6
- package/dist/solutions-components/p-29edb87c.js +0 -6
- package/dist/solutions-components/p-2db55da4.js +0 -11
- package/dist/solutions-components/p-2e4d5103.entry.js +0 -11
- package/dist/solutions-components/p-2fc602fd.entry.js +0 -6
- package/dist/solutions-components/p-2fc63144.js +0 -6
- package/dist/solutions-components/p-301feae7.entry.js +0 -12
- package/dist/solutions-components/p-30b43168.entry.js +0 -17
- package/dist/solutions-components/p-32ddd33b.js +0 -11
- package/dist/solutions-components/p-3309fa6c.js +0 -6
- package/dist/solutions-components/p-335308e3.entry.js +0 -16
- package/dist/solutions-components/p-338f1f04.js +0 -6
- package/dist/solutions-components/p-33ec544d.js +0 -16
- package/dist/solutions-components/p-342187a4.js +0 -6
- package/dist/solutions-components/p-34d813e1.entry.js +0 -6
- package/dist/solutions-components/p-367fb486.entry.js +0 -6
- package/dist/solutions-components/p-37e40c37.js +0 -11
- package/dist/solutions-components/p-3a862208.js +0 -18
- package/dist/solutions-components/p-3d7cff5e.js +0 -37
- package/dist/solutions-components/p-3f81c301.entry.js +0 -11
- package/dist/solutions-components/p-3fae55fd.entry.js +0 -6
- package/dist/solutions-components/p-40d2e45b.entry.js +0 -6
- package/dist/solutions-components/p-41c7d2fa.entry.js +0 -11
- package/dist/solutions-components/p-429ed200.entry.js +0 -11
- package/dist/solutions-components/p-437e64c0.entry.js +0 -21
- package/dist/solutions-components/p-4541ad8e.js +0 -11
- package/dist/solutions-components/p-4845071a.js +0 -11
- package/dist/solutions-components/p-4a398b55.entry.js +0 -11
- package/dist/solutions-components/p-4b6c957d.entry.js +0 -11
- package/dist/solutions-components/p-4cd4cb85.js +0 -6
- package/dist/solutions-components/p-4f01d375.entry.js +0 -6
- package/dist/solutions-components/p-501c2126.js +0 -6
- package/dist/solutions-components/p-508686ba.js +0 -6
- package/dist/solutions-components/p-51ed7835.js +0 -11
- package/dist/solutions-components/p-54ec7548.js +0 -11
- package/dist/solutions-components/p-550cf063.js +0 -6
- package/dist/solutions-components/p-57d81d7d.entry.js +0 -6
- package/dist/solutions-components/p-5b72f4eb.entry.js +0 -11
- package/dist/solutions-components/p-5bfbb6cf.entry.js +0 -17
- package/dist/solutions-components/p-5e6de74b.entry.js +0 -11
- package/dist/solutions-components/p-5f0b29d4.js +0 -11
- package/dist/solutions-components/p-5f6807ca.entry.js +0 -6
- package/dist/solutions-components/p-5fb0f8a0.entry.js +0 -11
- package/dist/solutions-components/p-602b034e.js +0 -6
- package/dist/solutions-components/p-6127f49e.js +0 -11
- package/dist/solutions-components/p-628537e6.js +0 -50
- package/dist/solutions-components/p-658ffb44.js +0 -61
- package/dist/solutions-components/p-67b26725.js +0 -17
- package/dist/solutions-components/p-682354e6.js +0 -6
- package/dist/solutions-components/p-6a425011.js +0 -11
- package/dist/solutions-components/p-6aec5175.entry.js +0 -6
- package/dist/solutions-components/p-6e814f44.entry.js +0 -6
- package/dist/solutions-components/p-6fde2784.js +0 -11
- package/dist/solutions-components/p-7011f9fd.entry.js +0 -11
- package/dist/solutions-components/p-72192d9e.entry.js +0 -11
- package/dist/solutions-components/p-7253126e.entry.js +0 -6
- package/dist/solutions-components/p-729b22fb.entry.js +0 -6
- package/dist/solutions-components/p-72af5235.entry.js +0 -24
- package/dist/solutions-components/p-747d4b59.js +0 -21
- package/dist/solutions-components/p-7683f32f.js +0 -6
- package/dist/solutions-components/p-76dd1422.entry.js +0 -6
- package/dist/solutions-components/p-76ffa42b.entry.js +0 -11
- package/dist/solutions-components/p-7c057019.js +0 -11
- package/dist/solutions-components/p-7c4acfd9.js +0 -6
- package/dist/solutions-components/p-7ceba956.entry.js +0 -21
- package/dist/solutions-components/p-7d1af07b.js +0 -26
- package/dist/solutions-components/p-7d6c1a52.entry.js +0 -6
- package/dist/solutions-components/p-7ed8ce64.entry.js +0 -6
- package/dist/solutions-components/p-81e5a65e.entry.js +0 -6
- package/dist/solutions-components/p-82855118.entry.js +0 -6
- package/dist/solutions-components/p-832a3fc3.js +0 -6
- package/dist/solutions-components/p-83a13261.js +0 -6
- package/dist/solutions-components/p-83d0b202.entry.js +0 -22
- package/dist/solutions-components/p-86694085.entry.js +0 -6
- package/dist/solutions-components/p-8810ef92.js +0 -11
- package/dist/solutions-components/p-8891e4a1.entry.js +0 -17
- package/dist/solutions-components/p-8c34de9a.entry.js +0 -11
- package/dist/solutions-components/p-8db761a9.js +0 -6
- package/dist/solutions-components/p-8dcf7aa5.entry.js +0 -11
- package/dist/solutions-components/p-8e5cfdef.entry.js +0 -6
- package/dist/solutions-components/p-91866b70.js +0 -6
- package/dist/solutions-components/p-91e22963.entry.js +0 -6
- package/dist/solutions-components/p-920af5d4.entry.js +0 -29
- package/dist/solutions-components/p-92980001.js +0 -6
- package/dist/solutions-components/p-93e4bac5.js +0 -6
- package/dist/solutions-components/p-97014acc.entry.js +0 -47
- package/dist/solutions-components/p-977cece9.entry.js +0 -6
- package/dist/solutions-components/p-97bebac7.entry.js +0 -17
- package/dist/solutions-components/p-97f0e1b6.js +0 -22
- package/dist/solutions-components/p-98e135f6.js +0 -6
- package/dist/solutions-components/p-9902916a.entry.js +0 -6
- package/dist/solutions-components/p-9946999d.js +0 -6
- package/dist/solutions-components/p-996c1ac5.js +0 -36
- package/dist/solutions-components/p-9a46618c.entry.js +0 -6
- package/dist/solutions-components/p-9b96afaf.js +0 -6
- package/dist/solutions-components/p-9c55d3a2.js +0 -6
- package/dist/solutions-components/p-9dbf1881.entry.js +0 -11
- package/dist/solutions-components/p-9f2a0621.js +0 -6
- package/dist/solutions-components/p-9f56c02c.js +0 -11
- package/dist/solutions-components/p-9fac2e9d.entry.js +0 -11
- package/dist/solutions-components/p-a14f24f2.entry.js +0 -6
- package/dist/solutions-components/p-a1f034be.js +0 -11
- package/dist/solutions-components/p-a24530e2.entry.js +0 -6
- package/dist/solutions-components/p-a26763d2.entry.js +0 -6
- package/dist/solutions-components/p-a3ca129b.entry.js +0 -11
- package/dist/solutions-components/p-a3f8159e.entry.js +0 -6
- package/dist/solutions-components/p-a4193e0c.entry.js +0 -23
- package/dist/solutions-components/p-a5b218ef.entry.js +0 -17
- package/dist/solutions-components/p-a60f5c84.js +0 -6
- package/dist/solutions-components/p-a7ba825a.js +0 -21
- package/dist/solutions-components/p-a800dcb5.entry.js +0 -6
- package/dist/solutions-components/p-a80c076e.entry.js +0 -6
- package/dist/solutions-components/p-a8b37ac8.js +0 -145
- package/dist/solutions-components/p-a8f981c6.js +0 -6
- package/dist/solutions-components/p-ab148739.entry.js +0 -11
- package/dist/solutions-components/p-ac122d9e.js +0 -6
- package/dist/solutions-components/p-ac124ef3.js +0 -6
- package/dist/solutions-components/p-ac8990dd.js +0 -6
- package/dist/solutions-components/p-ac94e77f.js +0 -16
- package/dist/solutions-components/p-ad3b05c5.entry.js +0 -6
- package/dist/solutions-components/p-ae801fd5.entry.js +0 -11
- package/dist/solutions-components/p-af4bccdf.entry.js +0 -6
- package/dist/solutions-components/p-b0fbdbe8.entry.js +0 -11
- package/dist/solutions-components/p-b35a040e.js +0 -6
- package/dist/solutions-components/p-b4de6baf.js +0 -6
- package/dist/solutions-components/p-b6aed9ca.js +0 -6
- package/dist/solutions-components/p-b6dffb89.entry.js +0 -6
- package/dist/solutions-components/p-b789b4dc.entry.js +0 -6
- package/dist/solutions-components/p-b85be429.js +0 -11
- package/dist/solutions-components/p-ba846354.entry.js +0 -11
- package/dist/solutions-components/p-bb036a86.entry.js +0 -6
- package/dist/solutions-components/p-bec3dd2e.entry.js +0 -11
- package/dist/solutions-components/p-c1651f9c.js +0 -17
- package/dist/solutions-components/p-c324cac8.entry.js +0 -11
- package/dist/solutions-components/p-c3896efd.entry.js +0 -6
- package/dist/solutions-components/p-c41997d5.js +0 -11
- package/dist/solutions-components/p-c52d4a45.entry.js +0 -6
- package/dist/solutions-components/p-c6e13140.entry.js +0 -6
- package/dist/solutions-components/p-c8d3207e.js +0 -6
- package/dist/solutions-components/p-ca98f99a.js +0 -11
- package/dist/solutions-components/p-cc4f574b.js +0 -6
- package/dist/solutions-components/p-cc69b971.js +0 -36
- package/dist/solutions-components/p-cf3e20c5.entry.js +0 -11
- package/dist/solutions-components/p-d0d1c59e.entry.js +0 -11
- package/dist/solutions-components/p-d242a8a5.js +0 -11
- package/dist/solutions-components/p-d2b66bd2.js +0 -11
- package/dist/solutions-components/p-d36d12b2.js +0 -6
- package/dist/solutions-components/p-d36fae45.js +0 -6
- package/dist/solutions-components/p-d4056c1c.js +0 -6
- package/dist/solutions-components/p-d67f3c47.js +0 -6
- package/dist/solutions-components/p-d7a6aa4e.entry.js +0 -11
- package/dist/solutions-components/p-d85d49cf.entry.js +0 -6
- package/dist/solutions-components/p-d8c3d175.entry.js +0 -11
- package/dist/solutions-components/p-d8e74adf.js +0 -6
- package/dist/solutions-components/p-d8f02b2b.entry.js +0 -6
- package/dist/solutions-components/p-db50226e.js +0 -11
- package/dist/solutions-components/p-dbf6c7d5.entry.js +0 -11
- package/dist/solutions-components/p-dcc35070.js +0 -6
- package/dist/solutions-components/p-de1548dd.entry.js +0 -6
- package/dist/solutions-components/p-dea4bc23.js +0 -6
- package/dist/solutions-components/p-dfe42b3e.js +0 -6
- package/dist/solutions-components/p-e042889e.entry.js +0 -11
- package/dist/solutions-components/p-e13a02f1.entry.js +0 -6
- package/dist/solutions-components/p-e1a972b3.entry.js +0 -11
- package/dist/solutions-components/p-e3196917.js +0 -6
- package/dist/solutions-components/p-e3db2eda.entry.js +0 -11
- package/dist/solutions-components/p-e468b193.entry.js +0 -11
- package/dist/solutions-components/p-e6587ec3.js +0 -11
- package/dist/solutions-components/p-e6e50975.js +0 -11
- package/dist/solutions-components/p-e7268b06.entry.js +0 -6
- package/dist/solutions-components/p-e8308ed8.entry.js +0 -11
- package/dist/solutions-components/p-e86aeefa.entry.js +0 -11
- package/dist/solutions-components/p-ea665c43.js +0 -22
- package/dist/solutions-components/p-eb08c260.entry.js +0 -11
- package/dist/solutions-components/p-ebf59857.js +0 -11
- package/dist/solutions-components/p-ed1c4c06.entry.js +0 -6
- package/dist/solutions-components/p-edd08170.entry.js +0 -6
- package/dist/solutions-components/p-edead891.entry.js +0 -6
- package/dist/solutions-components/p-eed41e1a.js +0 -21
- package/dist/solutions-components/p-ef375216.js +0 -489
- package/dist/solutions-components/p-f0324500.js +0 -6
- package/dist/solutions-components/p-f0981633.entry.js +0 -6
- package/dist/solutions-components/p-f0c7d4ee.js +0 -6
- package/dist/solutions-components/p-f0eb1595.js +0 -6
- package/dist/solutions-components/p-f36bd937.entry.js +0 -6
- package/dist/solutions-components/p-f3f7638d.js +0 -11
- package/dist/solutions-components/p-f480323e.js +0 -6
- package/dist/solutions-components/p-f4c4a2b7.js +0 -7
- package/dist/solutions-components/p-f50a294b.js +0 -11
- package/dist/solutions-components/p-f54e4700.entry.js +0 -6
- package/dist/solutions-components/p-f6e10506.js +0 -11
- package/dist/solutions-components/p-f9423c07.entry.js +0 -11
- package/dist/solutions-components/p-f9b71d4f.entry.js +0 -6
- package/dist/solutions-components/p-fa214d6f.js +0 -11
- package/dist/solutions-components/p-fa6dfea8.js +0 -21
- package/dist/solutions-components/p-fc0d199c.js +0 -6
- package/dist/solutions-components/p-fc3a9a40.js +0 -6
- package/dist/solutions-components/p-fc719dff.entry.js +0 -6
- package/dist/solutions-components/p-fe794766.entry.js +0 -6
- package/dist/solutions-components/p-feaaf637.entry.js +0 -6
- package/dist/solutions-components/p-ff34397d.entry.js +0 -11
- package/dist/solutions-components/p-ff87b9de.js +0 -7
- package/dist/types/assets/arcgis-pdf-creator/PDFLabels.d.ts +0 -218
- package/dist/types/components/create-related-feature/create-related-feature.d.ts +0 -155
- package/dist/types/components/feature-details/feature-details.d.ts +0 -213
- /package/dist/solutions-components/{p-04674a1e.js → p-abea8ef5.js} +0 -0
- /package/dist/solutions-components/{p-a9a72626.js → p-c96eb2db.js} +0 -0
- /package/dist/solutions-components/{p-a42ff7fe.js → p-eeee7c7a.js} +0 -0
@@ -0,0 +1,2281 @@
|
|
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 registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-164d485a.js';
|
7
|
+
import { d as datePartsFromISO, a as datePartsFromLocalizedString, b as dateFromLocalizedString, i as inRange, c as dateToISO, e as dateFromISO, f as dateFromRange } from './date-5630530d.js';
|
8
|
+
import { t as toAriaBoolean } from './dom-38c6f027.js';
|
9
|
+
import { f as filterComputedPlacements, c as connectFloatingUI, d as defaultMenuPlacement, r as reposition, a as disconnectFloatingUI, F as FloatingCSS } from './floating-ui-41dfe3f1.js';
|
10
|
+
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-50dcd52e.js';
|
11
|
+
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction, I as InteractiveContainer } from './interactive-39bf5602.js';
|
12
|
+
import { n as numberKeys } from './key-c83d835f.js';
|
13
|
+
import { c as connectLabel, d as disconnectLabel } from './label-b4cea72e.js';
|
14
|
+
import { c as componentFocusable, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-37e7fbd6.js';
|
15
|
+
import { n as numberStringFormatter, c as connectLocalized, d as disconnectLocalized, b as getSupportedNumberingSystem } from './locale-904407bf.js';
|
16
|
+
import { o as onToggleOpenCloseComponent } from './openCloseComponent-9f90f493.js';
|
17
|
+
import { g as getValueAsDateRange, a as getLocaleData } from './utils-9fb4104a.js';
|
18
|
+
import { c as connectMessages, s as setUpMessages, d as disconnectMessages } from './t9n-436fb2b1.js';
|
19
|
+
import { c as connectFocusTrap, d as deactivateFocusTrap, a as activateFocusTrap } from './focusTrapComponent-47ddce58.js';
|
20
|
+
import { g as guid } from './guid-b75a5f7b.js';
|
21
|
+
import { g as getIconScale } from './component-edd2c3cd.js';
|
22
|
+
import { V as Validation } from './Validation-ea480265.js';
|
23
|
+
import { l as loadModules } from './loadModules-7a5f1022.js';
|
24
|
+
import { g as getMessages } from './locale-4cab280d.js';
|
25
|
+
import { g as getMode } from './mode-66911cb5.js';
|
26
|
+
import './resources-8834f920.js';
|
27
|
+
import './debounce-229b1a22.js';
|
28
|
+
import './browser-d60104bd.js';
|
29
|
+
import './observers-d04d1da9.js';
|
30
|
+
import './esri-loader-1b324844.js';
|
31
|
+
import './_commonjsHelpers-0f74c230.js';
|
32
|
+
import './languageUtil-035e7728.js';
|
33
|
+
|
34
|
+
/*!
|
35
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
36
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
37
|
+
* v2.4.0
|
38
|
+
*/
|
39
|
+
const CSS$2 = {
|
40
|
+
assistiveText: "assistive-text",
|
41
|
+
calendarWrapper: "calendar-wrapper",
|
42
|
+
calendarWrapperEnd: "calendar-wrapper--end",
|
43
|
+
horizontalArrowContainer: "horizontal-arrow-container",
|
44
|
+
inputBorderTopColorOne: "border-top-color-one",
|
45
|
+
inputContainer: "input-container",
|
46
|
+
inputNoBottomBorder: "no-bottom-border",
|
47
|
+
inputWrapper: "input-wrapper",
|
48
|
+
input: "input",
|
49
|
+
menu: "menu-container",
|
50
|
+
menuActive: "menu-container--active",
|
51
|
+
toggleIcon: "toggle-icon",
|
52
|
+
verticalArrowContainer: "vertical-arrow-container",
|
53
|
+
};
|
54
|
+
|
55
|
+
/*!
|
56
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
57
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
58
|
+
* v2.4.0
|
59
|
+
*/
|
60
|
+
/**
|
61
|
+
* Specifies if an ISO string date (YYYY-MM-DD) has two digit year.
|
62
|
+
*
|
63
|
+
* @param {string} value
|
64
|
+
* @returns {boolean}
|
65
|
+
*/
|
66
|
+
function isTwoDigitYear(value) {
|
67
|
+
if (!value) {
|
68
|
+
return false;
|
69
|
+
}
|
70
|
+
const { year } = datePartsFromISO(value);
|
71
|
+
return Number(year) < 100;
|
72
|
+
}
|
73
|
+
/**
|
74
|
+
* Returns a normalized year to current century from a given two digit year number.
|
75
|
+
*
|
76
|
+
* @param {number} twoDigitYear
|
77
|
+
* @returns {string}
|
78
|
+
*/
|
79
|
+
function normalizeToCurrentCentury(twoDigitYear) {
|
80
|
+
const currentYear = new Date().getFullYear();
|
81
|
+
const normalizedYear = Math.floor(currentYear / 100) * 100 + twoDigitYear;
|
82
|
+
return normalizedYear;
|
83
|
+
}
|
84
|
+
|
85
|
+
const inputDatePickerCss = ":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host .menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}:host .menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}:host .menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}:host .menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([scale=s]){--calcite-toggle-spacing:0.5rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1rem)}:host([scale=m]){--calcite-toggle-spacing:0.75rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1.5rem)}:host([scale=l]){--calcite-toggle-spacing:1rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 2rem)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.calendar-wrapper{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}:host([range]) .input-container{display:flex}:host([range]) .input-wrapper{flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);padding-block:0px;padding-inline:0.25rem}:host([range][layout=vertical]) .input-wrapper{inline-size:100%}:host([range][layout=vertical]) .input-container{flex-direction:column;align-items:flex-start}:host([range][layout=vertical]) .calendar-wrapper--end{transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{inset-block-start:1.5rem;position:absolute;z-index:var(--calcite-z-index);margin-inline:1px;background-color:var(--calcite-color-foreground-1);padding-inline:0.625rem;inset-inline-start:0}.menu-container{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .menu-container{visibility:visible}.menu-container--active{visibility:visible}.input .calcite-input__wrapper{margin-block-start:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{inset-block-start:1.5rem;padding-inline-start:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{inset-block-start:2.25rem;padding-inline:0.875rem}:host([range][layout=vertical][open]) .vertical-arrow-container{display:none}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";
|
86
|
+
|
87
|
+
const InputDatePicker = class {
|
88
|
+
constructor(hostRef) {
|
89
|
+
registerInstance(this, hostRef);
|
90
|
+
this.calciteInputDatePickerChange = createEvent(this, "calciteInputDatePickerChange", 6);
|
91
|
+
this.calciteInputDatePickerBeforeClose = createEvent(this, "calciteInputDatePickerBeforeClose", 6);
|
92
|
+
this.calciteInputDatePickerClose = createEvent(this, "calciteInputDatePickerClose", 6);
|
93
|
+
this.calciteInputDatePickerBeforeOpen = createEvent(this, "calciteInputDatePickerBeforeOpen", 6);
|
94
|
+
this.calciteInputDatePickerOpen = createEvent(this, "calciteInputDatePickerOpen", 6);
|
95
|
+
this.calciteInternalInputInputHandler = (event) => {
|
96
|
+
const target = event.target;
|
97
|
+
const value = target.value;
|
98
|
+
const parsedValue = this.parseNumerals(value);
|
99
|
+
const formattedValue = this.formatNumerals(parsedValue);
|
100
|
+
target.value = formattedValue;
|
101
|
+
const { year } = datePartsFromLocalizedString(value, this.localeData);
|
102
|
+
if (year && year.length < 4) {
|
103
|
+
return;
|
104
|
+
}
|
105
|
+
const date = dateFromLocalizedString(value, this.localeData);
|
106
|
+
if (inRange(date, this.min, this.max)) {
|
107
|
+
this.datePickerActiveDate = date;
|
108
|
+
}
|
109
|
+
};
|
110
|
+
this.calciteInternalInputBlurHandler = () => {
|
111
|
+
this.commitValue();
|
112
|
+
};
|
113
|
+
this.dialogId = `date-picker-dialog--${guid()}`;
|
114
|
+
this.focusOnOpen = false;
|
115
|
+
this.userChangedValue = false;
|
116
|
+
this.openTransitionProp = "opacity";
|
117
|
+
this.valueAsDateChangedExternally = false;
|
118
|
+
this.placeholderTextId = `calcite-input-date-picker-placeholder-${guid()}`;
|
119
|
+
//--------------------------------------------------------------------------
|
120
|
+
//
|
121
|
+
// Private Methods
|
122
|
+
//
|
123
|
+
//--------------------------------------------------------------------------
|
124
|
+
this.onInputWrapperPointerDown = () => {
|
125
|
+
this.currentOpenInput = this.focusedInput;
|
126
|
+
};
|
127
|
+
this.onInputWrapperClick = (event) => {
|
128
|
+
const { range, endInput, startInput, currentOpenInput } = this;
|
129
|
+
const currentTarget = event.currentTarget;
|
130
|
+
const position = currentTarget.getAttribute("data-position");
|
131
|
+
const path = event.composedPath();
|
132
|
+
const wasToggleClicked = path.find((el) => { var _a; return (_a = el.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$2.toggleIcon); });
|
133
|
+
if (wasToggleClicked) {
|
134
|
+
const targetInput = position === "start" ? startInput : endInput;
|
135
|
+
targetInput.setFocus();
|
136
|
+
}
|
137
|
+
if (!range || !this.open || currentOpenInput === position) {
|
138
|
+
this.open = !this.open;
|
139
|
+
}
|
140
|
+
};
|
141
|
+
this.setFilteredPlacements = () => {
|
142
|
+
const { el, flipPlacements } = this;
|
143
|
+
this.filteredFlipPlacements = flipPlacements
|
144
|
+
? filterComputedPlacements(flipPlacements, el)
|
145
|
+
: null;
|
146
|
+
};
|
147
|
+
this.setTransitionEl = (el) => {
|
148
|
+
this.transitionEl = el;
|
149
|
+
};
|
150
|
+
this.setStartInput = (el) => {
|
151
|
+
this.startInput = el;
|
152
|
+
};
|
153
|
+
this.setEndInput = (el) => {
|
154
|
+
this.endInput = el;
|
155
|
+
};
|
156
|
+
this.blurHandler = () => {
|
157
|
+
this.open = false;
|
158
|
+
};
|
159
|
+
this.keyDownHandler = (event) => {
|
160
|
+
var _a, _b;
|
161
|
+
const { defaultPrevented, key } = event;
|
162
|
+
if (defaultPrevented) {
|
163
|
+
return;
|
164
|
+
}
|
165
|
+
if (key === "Enter") {
|
166
|
+
this.commitValue();
|
167
|
+
if (this.shouldFocusRangeEnd()) {
|
168
|
+
(_a = this.endInput) === null || _a === void 0 ? void 0 : _a.setFocus();
|
169
|
+
}
|
170
|
+
else if (this.shouldFocusRangeStart()) {
|
171
|
+
(_b = this.startInput) === null || _b === void 0 ? void 0 : _b.setFocus();
|
172
|
+
}
|
173
|
+
if (submitForm(this)) {
|
174
|
+
event.preventDefault();
|
175
|
+
this.restoreInputFocus();
|
176
|
+
}
|
177
|
+
}
|
178
|
+
else if (key === "ArrowDown") {
|
179
|
+
this.open = true;
|
180
|
+
this.focusOnOpen = true;
|
181
|
+
event.preventDefault();
|
182
|
+
}
|
183
|
+
else if (key === "Escape") {
|
184
|
+
this.open = false;
|
185
|
+
event.preventDefault();
|
186
|
+
this.restoreInputFocus();
|
187
|
+
}
|
188
|
+
};
|
189
|
+
this.startInputFocus = () => {
|
190
|
+
this.focusedInput = "start";
|
191
|
+
};
|
192
|
+
this.endInputFocus = () => {
|
193
|
+
this.focusedInput = "end";
|
194
|
+
};
|
195
|
+
this.setFloatingEl = (el) => {
|
196
|
+
this.floatingEl = el;
|
197
|
+
connectFloatingUI(this, this.referenceEl, this.floatingEl);
|
198
|
+
};
|
199
|
+
this.setStartWrapper = (el) => {
|
200
|
+
this.startWrapper = el;
|
201
|
+
this.setReferenceEl();
|
202
|
+
};
|
203
|
+
this.setEndWrapper = (el) => {
|
204
|
+
this.endWrapper = el;
|
205
|
+
this.setReferenceEl();
|
206
|
+
};
|
207
|
+
this.setDatePickerRef = (el) => {
|
208
|
+
this.datePickerEl = el;
|
209
|
+
connectFocusTrap(this, {
|
210
|
+
focusTrapEl: el,
|
211
|
+
focusTrapOptions: {
|
212
|
+
initialFocus: false,
|
213
|
+
setReturnFocus: false,
|
214
|
+
},
|
215
|
+
});
|
216
|
+
};
|
217
|
+
/**
|
218
|
+
* Event handler for when the selected date changes
|
219
|
+
*
|
220
|
+
* @param event CalciteDatePicker custom change event
|
221
|
+
*/
|
222
|
+
this.handleDateChange = (event) => {
|
223
|
+
if (this.range) {
|
224
|
+
return;
|
225
|
+
}
|
226
|
+
event.stopPropagation();
|
227
|
+
this.setValue(event.target.valueAsDate);
|
228
|
+
this.localizeInputValues();
|
229
|
+
this.restoreInputFocus();
|
230
|
+
};
|
231
|
+
this.handleDateRangeChange = (event) => {
|
232
|
+
if (!this.range) {
|
233
|
+
return;
|
234
|
+
}
|
235
|
+
event.stopPropagation();
|
236
|
+
const value = event.target.valueAsDate;
|
237
|
+
this.setRangeValue(value);
|
238
|
+
this.localizeInputValues();
|
239
|
+
this.restoreInputFocus();
|
240
|
+
};
|
241
|
+
this.setInputValue = (newValue, input = "start") => {
|
242
|
+
const inputEl = this[`${input}Input`];
|
243
|
+
if (!inputEl) {
|
244
|
+
return;
|
245
|
+
}
|
246
|
+
inputEl.value = newValue;
|
247
|
+
};
|
248
|
+
this.setRangeValue = (valueAsDate) => {
|
249
|
+
if (!this.range) {
|
250
|
+
return;
|
251
|
+
}
|
252
|
+
const { value: oldValue } = this;
|
253
|
+
const oldValueIsArray = Array.isArray(oldValue);
|
254
|
+
const valueIsArray = Array.isArray(valueAsDate);
|
255
|
+
const newStartDate = valueIsArray ? valueAsDate[0] : null;
|
256
|
+
let newStartDateISO = valueIsArray ? dateToISO(newStartDate) : "";
|
257
|
+
if (newStartDateISO) {
|
258
|
+
newStartDateISO = this.getNormalizedDate(newStartDateISO);
|
259
|
+
}
|
260
|
+
const newEndDate = valueIsArray ? valueAsDate[1] : null;
|
261
|
+
let newEndDateISO = valueIsArray ? dateToISO(newEndDate) : "";
|
262
|
+
if (newEndDateISO) {
|
263
|
+
newEndDateISO = this.getNormalizedDate(newEndDateISO);
|
264
|
+
}
|
265
|
+
const newValue = newStartDateISO || newEndDateISO ? [newStartDateISO, newEndDateISO] : "";
|
266
|
+
if (newValue === oldValue) {
|
267
|
+
return;
|
268
|
+
}
|
269
|
+
this.userChangedValue = true;
|
270
|
+
this.value = newValue;
|
271
|
+
this.valueAsDate = newValue ? getValueAsDateRange(newValue) : undefined;
|
272
|
+
const changeEvent = this.calciteInputDatePickerChange.emit();
|
273
|
+
if (changeEvent && changeEvent.defaultPrevented) {
|
274
|
+
this.value = oldValue;
|
275
|
+
if (oldValueIsArray) {
|
276
|
+
this.setInputValue(oldValue[0], "start");
|
277
|
+
this.setInputValue(oldValue[1], "end");
|
278
|
+
}
|
279
|
+
else {
|
280
|
+
this.value = oldValue;
|
281
|
+
this.setInputValue(oldValue);
|
282
|
+
}
|
283
|
+
}
|
284
|
+
};
|
285
|
+
this.setValue = (value) => {
|
286
|
+
if (this.range) {
|
287
|
+
return;
|
288
|
+
}
|
289
|
+
const oldValue = this.value;
|
290
|
+
let newValue = dateToISO(value);
|
291
|
+
newValue = this.getNormalizedDate(newValue);
|
292
|
+
if (newValue === oldValue) {
|
293
|
+
return;
|
294
|
+
}
|
295
|
+
this.userChangedValue = true;
|
296
|
+
this.valueAsDate = newValue ? dateFromISO(newValue) : undefined;
|
297
|
+
this.value = newValue || "";
|
298
|
+
const changeEvent = this.calciteInputDatePickerChange.emit();
|
299
|
+
if (changeEvent.defaultPrevented) {
|
300
|
+
this.value = oldValue;
|
301
|
+
this.setInputValue(oldValue);
|
302
|
+
}
|
303
|
+
};
|
304
|
+
this.commonDateSeparators = [".", "-", "/"];
|
305
|
+
this.formatNumerals = (value) => value
|
306
|
+
? value
|
307
|
+
.split("")
|
308
|
+
.map((char) => {
|
309
|
+
var _a, _b, _c;
|
310
|
+
return ((_a = this.commonDateSeparators) === null || _a === void 0 ? void 0 : _a.includes(char))
|
311
|
+
? (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.separator
|
312
|
+
: (numberKeys === null || numberKeys === void 0 ? void 0 : numberKeys.includes(char))
|
313
|
+
? (_c = numberStringFormatter === null || numberStringFormatter === void 0 ? void 0 : numberStringFormatter.numberFormatter) === null || _c === void 0 ? void 0 : _c.format(Number(char))
|
314
|
+
: char;
|
315
|
+
})
|
316
|
+
.join("")
|
317
|
+
: "";
|
318
|
+
this.parseNumerals = (value) => value
|
319
|
+
? value
|
320
|
+
.split("")
|
321
|
+
.map((char) => numberKeys.includes(char) ? numberStringFormatter.delocalize(char) : char)
|
322
|
+
.join("")
|
323
|
+
: "";
|
324
|
+
this.disabled = false;
|
325
|
+
this.focusTrapDisabled = false;
|
326
|
+
this.form = undefined;
|
327
|
+
this.readOnly = false;
|
328
|
+
this.value = "";
|
329
|
+
this.flipPlacements = undefined;
|
330
|
+
this.headingLevel = undefined;
|
331
|
+
this.valueAsDate = undefined;
|
332
|
+
this.messageOverrides = undefined;
|
333
|
+
this.messages = undefined;
|
334
|
+
this.minAsDate = undefined;
|
335
|
+
this.maxAsDate = undefined;
|
336
|
+
this.min = undefined;
|
337
|
+
this.max = undefined;
|
338
|
+
this.open = false;
|
339
|
+
this.validationMessage = undefined;
|
340
|
+
this.validationIcon = undefined;
|
341
|
+
this.name = undefined;
|
342
|
+
this.numberingSystem = undefined;
|
343
|
+
this.scale = "m";
|
344
|
+
this.status = "idle";
|
345
|
+
this.placement = defaultMenuPlacement;
|
346
|
+
this.range = false;
|
347
|
+
this.required = false;
|
348
|
+
this.overlayPositioning = "absolute";
|
349
|
+
this.proximitySelectionDisabled = false;
|
350
|
+
this.layout = "horizontal";
|
351
|
+
this.datePickerActiveDate = undefined;
|
352
|
+
this.defaultMessages = undefined;
|
353
|
+
this.effectiveLocale = "";
|
354
|
+
this.focusedInput = "start";
|
355
|
+
this.localeData = undefined;
|
356
|
+
}
|
357
|
+
handleFocusTrapDisabled(focusTrapDisabled) {
|
358
|
+
if (!this.open) {
|
359
|
+
return;
|
360
|
+
}
|
361
|
+
focusTrapDisabled ? deactivateFocusTrap(this) : activateFocusTrap(this);
|
362
|
+
}
|
363
|
+
handleDisabledAndReadOnlyChange(value) {
|
364
|
+
if (!value) {
|
365
|
+
this.open = false;
|
366
|
+
}
|
367
|
+
}
|
368
|
+
valueWatcher(newValue) {
|
369
|
+
if (!this.userChangedValue) {
|
370
|
+
let newValueAsDate;
|
371
|
+
if (Array.isArray(newValue)) {
|
372
|
+
newValueAsDate = getValueAsDateRange(newValue);
|
373
|
+
}
|
374
|
+
else if (newValue) {
|
375
|
+
newValueAsDate = dateFromISO(newValue);
|
376
|
+
}
|
377
|
+
else {
|
378
|
+
newValueAsDate = undefined;
|
379
|
+
}
|
380
|
+
if (!this.valueAsDateChangedExternally && newValueAsDate !== this.valueAsDate) {
|
381
|
+
this.valueAsDate = newValueAsDate;
|
382
|
+
}
|
383
|
+
this.localizeInputValues();
|
384
|
+
}
|
385
|
+
this.userChangedValue = false;
|
386
|
+
}
|
387
|
+
valueAsDateWatcher(valueAsDate) {
|
388
|
+
this.datePickerActiveDate = valueAsDate;
|
389
|
+
const newValue = this.range && Array.isArray(valueAsDate)
|
390
|
+
? [dateToISO(valueAsDate[0]), dateToISO(valueAsDate[1])]
|
391
|
+
: dateToISO(valueAsDate);
|
392
|
+
if (this.value !== newValue) {
|
393
|
+
this.valueAsDateChangedExternally = true;
|
394
|
+
this.value = newValue;
|
395
|
+
this.valueAsDateChangedExternally = false;
|
396
|
+
}
|
397
|
+
}
|
398
|
+
flipPlacementsHandler() {
|
399
|
+
this.setFilteredPlacements();
|
400
|
+
this.reposition(true);
|
401
|
+
}
|
402
|
+
onMessagesChange() {
|
403
|
+
/* wired up by t9n util */
|
404
|
+
}
|
405
|
+
onMinChanged(min) {
|
406
|
+
if (min) {
|
407
|
+
this.minAsDate = dateFromISO(min);
|
408
|
+
}
|
409
|
+
}
|
410
|
+
onMaxChanged(max) {
|
411
|
+
if (max) {
|
412
|
+
this.maxAsDate = dateFromISO(max);
|
413
|
+
}
|
414
|
+
}
|
415
|
+
openHandler() {
|
416
|
+
onToggleOpenCloseComponent(this);
|
417
|
+
if (this.disabled || this.readOnly) {
|
418
|
+
this.open = false;
|
419
|
+
return;
|
420
|
+
}
|
421
|
+
this.reposition(true);
|
422
|
+
}
|
423
|
+
overlayPositioningHandler() {
|
424
|
+
this.reposition(true);
|
425
|
+
}
|
426
|
+
//--------------------------------------------------------------------------
|
427
|
+
//
|
428
|
+
// Event Listeners
|
429
|
+
//
|
430
|
+
//--------------------------------------------------------------------------
|
431
|
+
calciteDaySelectHandler() {
|
432
|
+
if (this.shouldFocusRangeStart() || this.shouldFocusRangeEnd()) {
|
433
|
+
return;
|
434
|
+
}
|
435
|
+
this.open = false;
|
436
|
+
}
|
437
|
+
// --------------------------------------------------------------------------
|
438
|
+
//
|
439
|
+
// Public Methods
|
440
|
+
//
|
441
|
+
// --------------------------------------------------------------------------
|
442
|
+
/** Sets focus on the component. */
|
443
|
+
async setFocus() {
|
444
|
+
await componentFocusable(this);
|
445
|
+
this.el.focus();
|
446
|
+
}
|
447
|
+
/**
|
448
|
+
* Updates the position of the component.
|
449
|
+
*
|
450
|
+
* @param delayed
|
451
|
+
*/
|
452
|
+
async reposition(delayed = false) {
|
453
|
+
const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;
|
454
|
+
return reposition(this, {
|
455
|
+
floatingEl,
|
456
|
+
referenceEl,
|
457
|
+
overlayPositioning,
|
458
|
+
placement,
|
459
|
+
flipPlacements: filteredFlipPlacements,
|
460
|
+
type: "menu",
|
461
|
+
}, delayed);
|
462
|
+
}
|
463
|
+
// --------------------------------------------------------------------------
|
464
|
+
//
|
465
|
+
// Lifecycle
|
466
|
+
//
|
467
|
+
// --------------------------------------------------------------------------
|
468
|
+
connectedCallback() {
|
469
|
+
connectInteractive(this);
|
470
|
+
connectLocalized(this);
|
471
|
+
const { open } = this;
|
472
|
+
open && this.openHandler();
|
473
|
+
if (Array.isArray(this.value)) {
|
474
|
+
this.valueAsDate = getValueAsDateRange(this.value);
|
475
|
+
}
|
476
|
+
else if (this.value) {
|
477
|
+
try {
|
478
|
+
this.valueAsDate = dateFromISO(this.value);
|
479
|
+
}
|
480
|
+
catch (error) {
|
481
|
+
this.warnAboutInvalidValue(this.value);
|
482
|
+
this.value = "";
|
483
|
+
}
|
484
|
+
}
|
485
|
+
else if (this.valueAsDate) {
|
486
|
+
if (this.range) {
|
487
|
+
this.setRangeValue(this.valueAsDate);
|
488
|
+
}
|
489
|
+
else if (!Array.isArray(this.valueAsDate)) {
|
490
|
+
this.value = dateToISO(this.valueAsDate);
|
491
|
+
}
|
492
|
+
}
|
493
|
+
if (this.min) {
|
494
|
+
this.minAsDate = dateFromISO(this.min);
|
495
|
+
}
|
496
|
+
if (this.max) {
|
497
|
+
this.maxAsDate = dateFromISO(this.max);
|
498
|
+
}
|
499
|
+
connectLabel(this);
|
500
|
+
connectForm(this);
|
501
|
+
connectMessages(this);
|
502
|
+
this.setFilteredPlacements();
|
503
|
+
this.reposition(true);
|
504
|
+
numberStringFormatter.numberFormatOptions = {
|
505
|
+
numberingSystem: this.numberingSystem,
|
506
|
+
locale: this.effectiveLocale,
|
507
|
+
useGrouping: false,
|
508
|
+
};
|
509
|
+
if (this.open) {
|
510
|
+
onToggleOpenCloseComponent(this);
|
511
|
+
}
|
512
|
+
connectFloatingUI(this, this.referenceEl, this.floatingEl);
|
513
|
+
}
|
514
|
+
async componentWillLoad() {
|
515
|
+
setUpLoadableComponent(this);
|
516
|
+
await Promise.all([this.loadLocaleData(), setUpMessages(this)]);
|
517
|
+
this.onMinChanged(this.min);
|
518
|
+
this.onMaxChanged(this.max);
|
519
|
+
}
|
520
|
+
componentDidLoad() {
|
521
|
+
setComponentLoaded(this);
|
522
|
+
this.localizeInputValues();
|
523
|
+
this.reposition(true);
|
524
|
+
}
|
525
|
+
disconnectedCallback() {
|
526
|
+
deactivateFocusTrap(this);
|
527
|
+
disconnectInteractive(this);
|
528
|
+
disconnectLabel(this);
|
529
|
+
disconnectForm(this);
|
530
|
+
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
531
|
+
disconnectLocalized(this);
|
532
|
+
disconnectMessages(this);
|
533
|
+
}
|
534
|
+
componentDidRender() {
|
535
|
+
updateHostInteraction(this);
|
536
|
+
}
|
537
|
+
render() {
|
538
|
+
var _a, _b, _c;
|
539
|
+
const { disabled, effectiveLocale, messages, numberingSystem, readOnly } = this;
|
540
|
+
numberStringFormatter.numberFormatOptions = {
|
541
|
+
numberingSystem,
|
542
|
+
locale: effectiveLocale,
|
543
|
+
useGrouping: false,
|
544
|
+
};
|
545
|
+
return (h(Host, { onBlur: this.blurHandler, onKeyDown: this.keyDownHandler }, h(InteractiveContainer, { disabled: this.disabled }, this.localeData && (h("div", { class: CSS$2.inputContainer }, h("div", { class: CSS$2.inputWrapper, "data-position": "start", onClick: this.onInputWrapperClick, onPointerDown: this.onInputWrapperPointerDown,
|
546
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
547
|
+
ref: this.setStartWrapper }, h("calcite-input-text", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-describedby": this.placeholderTextId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: {
|
548
|
+
[CSS$2.input]: true,
|
549
|
+
[CSS$2.inputNoBottomBorder]: this.layout === "vertical" && this.range,
|
550
|
+
}, disabled: disabled, icon: "calendar", onCalciteInputTextInput: this.calciteInternalInputInputHandler, onCalciteInternalInputTextBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputTextFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, status: this.status,
|
551
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
552
|
+
ref: this.setStartInput }), !this.readOnly &&
|
553
|
+
this.renderToggleIcon(this.open && this.focusedInput === "start"), h("span", { "aria-hidden": "true", class: CSS$2.assistiveText, id: this.placeholderTextId }, "Date Format: ", (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder)), h("div", { "aria-hidden": toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
|
554
|
+
[CSS$2.menu]: true,
|
555
|
+
[CSS$2.menuActive]: this.open,
|
556
|
+
}, id: this.dialogId, role: "dialog",
|
557
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
558
|
+
ref: this.setFloatingEl }, h("div", { class: {
|
559
|
+
[CSS$2.calendarWrapper]: true,
|
560
|
+
[CSS$2.calendarWrapperEnd]: this.focusedInput === "end",
|
561
|
+
[FloatingCSS.animation]: true,
|
562
|
+
[FloatingCSS.animationActive]: this.open,
|
563
|
+
},
|
564
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
565
|
+
ref: this.setTransitionEl }, h("calcite-date-picker", { activeDate: this.datePickerActiveDate, activeRange: this.focusedInput, headingLevel: this.headingLevel, max: this.max, maxAsDate: this.maxAsDate, messageOverrides: this.messageOverrides, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, tabIndex: this.open ? undefined : -1, valueAsDate: this.valueAsDate,
|
566
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
567
|
+
ref: this.setDatePickerRef }))), this.range && this.layout === "horizontal" && (h("div", { class: CSS$2.horizontalArrowContainer }, h("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: getIconScale(this.scale) }))), this.range && this.layout === "vertical" && this.scale !== "s" && (h("div", { class: CSS$2.verticalArrowContainer }, h("calcite-icon", { icon: "arrow-down", scale: getIconScale(this.scale) }))), this.range && (h("div", { class: CSS$2.inputWrapper, "data-position": "end", onClick: this.onInputWrapperClick, onPointerDown: this.onInputWrapperPointerDown,
|
568
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
569
|
+
ref: this.setEndWrapper }, h("calcite-input-text", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: {
|
570
|
+
[CSS$2.input]: true,
|
571
|
+
[CSS$2.inputBorderTopColorOne]: this.layout === "vertical" && this.range,
|
572
|
+
}, disabled: disabled, icon: "calendar", onCalciteInputTextInput: this.calciteInternalInputInputHandler, onCalciteInternalInputTextBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputTextFocus: this.endInputFocus, placeholder: (_c = this.localeData) === null || _c === void 0 ? void 0 : _c.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, status: this.status,
|
573
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
574
|
+
ref: this.setEndInput }), !this.readOnly &&
|
575
|
+
this.renderToggleIcon(this.open && this.focusedInput === "end"))))), h(HiddenFormInputSlot, { component: this }), this.validationMessage ? (h(Validation, { icon: this.validationIcon, message: this.validationMessage, scale: this.scale, status: this.status })) : null)));
|
576
|
+
}
|
577
|
+
renderToggleIcon(open) {
|
578
|
+
return (
|
579
|
+
// we set tab index to -1 to prevent delegatesFocus from stealing focus before we can set it
|
580
|
+
h("span", { class: CSS$2.toggleIcon, tabIndex: -1 }, h("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: getIconScale(this.scale) })));
|
581
|
+
}
|
582
|
+
setReferenceEl() {
|
583
|
+
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
584
|
+
this.referenceEl =
|
585
|
+
focusedInput === "end" || layout === "vertical"
|
586
|
+
? endWrapper || startWrapper
|
587
|
+
: startWrapper || endWrapper;
|
588
|
+
requestAnimationFrame(() => connectFloatingUI(this, this.referenceEl, this.floatingEl));
|
589
|
+
}
|
590
|
+
onLabelClick() {
|
591
|
+
this.setFocus();
|
592
|
+
}
|
593
|
+
onBeforeOpen() {
|
594
|
+
this.calciteInputDatePickerBeforeOpen.emit();
|
595
|
+
}
|
596
|
+
onOpen() {
|
597
|
+
activateFocusTrap(this, {
|
598
|
+
onActivate: () => {
|
599
|
+
if (this.focusOnOpen) {
|
600
|
+
this.datePickerEl.setFocus();
|
601
|
+
this.focusOnOpen = false;
|
602
|
+
}
|
603
|
+
},
|
604
|
+
});
|
605
|
+
this.calciteInputDatePickerOpen.emit();
|
606
|
+
}
|
607
|
+
onBeforeClose() {
|
608
|
+
this.calciteInputDatePickerBeforeClose.emit();
|
609
|
+
}
|
610
|
+
onClose() {
|
611
|
+
this.calciteInputDatePickerClose.emit();
|
612
|
+
deactivateFocusTrap(this);
|
613
|
+
this.restoreInputFocus();
|
614
|
+
this.focusOnOpen = false;
|
615
|
+
this.datePickerEl.reset();
|
616
|
+
}
|
617
|
+
commitValue() {
|
618
|
+
const { focusedInput, value } = this;
|
619
|
+
const focusedInputName = `${focusedInput}Input`;
|
620
|
+
const focusedInputValue = this[focusedInputName].value;
|
621
|
+
const date = dateFromLocalizedString(focusedInputValue, this.localeData);
|
622
|
+
const dateAsISO = dateToISO(date);
|
623
|
+
const valueIsArray = Array.isArray(value);
|
624
|
+
if (this.range) {
|
625
|
+
const focusedInputValueIndex = focusedInput === "start" ? 0 : 1;
|
626
|
+
if (valueIsArray) {
|
627
|
+
if (dateAsISO === value[focusedInputValueIndex]) {
|
628
|
+
return;
|
629
|
+
}
|
630
|
+
if (date) {
|
631
|
+
this.setRangeValue([
|
632
|
+
focusedInput === "start" ? date : dateFromISO(value[0]),
|
633
|
+
focusedInput === "end" ? date : dateFromISO(value[1]),
|
634
|
+
]);
|
635
|
+
this.localizeInputValues();
|
636
|
+
}
|
637
|
+
else {
|
638
|
+
this.setRangeValue([
|
639
|
+
focusedInput === "end" && dateFromISO(value[0]),
|
640
|
+
focusedInput === "start" && dateFromISO(value[1]),
|
641
|
+
]);
|
642
|
+
}
|
643
|
+
}
|
644
|
+
else {
|
645
|
+
if (date) {
|
646
|
+
this.setRangeValue([
|
647
|
+
focusedInput === "start" ? date : dateFromISO(value[0]),
|
648
|
+
focusedInput === "end" ? date : dateFromISO(value[1]),
|
649
|
+
]);
|
650
|
+
this.localizeInputValues();
|
651
|
+
}
|
652
|
+
}
|
653
|
+
}
|
654
|
+
else {
|
655
|
+
if (dateAsISO === value) {
|
656
|
+
return;
|
657
|
+
}
|
658
|
+
this.setValue(date);
|
659
|
+
this.localizeInputValues();
|
660
|
+
}
|
661
|
+
}
|
662
|
+
async loadLocaleData() {
|
663
|
+
numberStringFormatter.numberFormatOptions = {
|
664
|
+
numberingSystem: this.numberingSystem,
|
665
|
+
locale: this.effectiveLocale,
|
666
|
+
useGrouping: false,
|
667
|
+
};
|
668
|
+
this.localeData = await getLocaleData(this.effectiveLocale);
|
669
|
+
this.localizeInputValues();
|
670
|
+
}
|
671
|
+
shouldFocusRangeStart() {
|
672
|
+
const startValue = this.value[0];
|
673
|
+
const endValue = this.value[1];
|
674
|
+
return !!(endValue && !startValue && this.focusedInput === "end" && this.startInput);
|
675
|
+
}
|
676
|
+
shouldFocusRangeEnd() {
|
677
|
+
const startValue = this.value[0];
|
678
|
+
const endValue = this.value[1];
|
679
|
+
return !!(startValue && !endValue && this.focusedInput === "start" && this.endInput);
|
680
|
+
}
|
681
|
+
restoreInputFocus() {
|
682
|
+
if (!this.range) {
|
683
|
+
this.startInput.setFocus();
|
684
|
+
return;
|
685
|
+
}
|
686
|
+
const focusedInput = this.focusedInput === "start" ? this.startInput : this.endInput;
|
687
|
+
focusedInput.setFocus();
|
688
|
+
}
|
689
|
+
localizeInputValues() {
|
690
|
+
var _a;
|
691
|
+
const date = dateFromRange((this.range
|
692
|
+
? (Array.isArray(this.valueAsDate) && this.valueAsDate[0]) || undefined
|
693
|
+
: this.valueAsDate), this.minAsDate, this.maxAsDate);
|
694
|
+
const endDate = this.range
|
695
|
+
? dateFromRange((Array.isArray(this.valueAsDate) && this.valueAsDate[1]) || undefined, this.minAsDate, this.maxAsDate)
|
696
|
+
: null;
|
697
|
+
const formattingOptions = {
|
698
|
+
// we explicitly set numberingSystem to prevent the browser-inferred value
|
699
|
+
// see https://github.com/Esri/calcite-design-system/issues/3079#issuecomment-1168964195 for more info
|
700
|
+
numberingSystem: getSupportedNumberingSystem(this.numberingSystem),
|
701
|
+
};
|
702
|
+
const localizedDate = date && date.toLocaleDateString(this.effectiveLocale, formattingOptions);
|
703
|
+
const localizedEndDate = endDate && endDate.toLocaleDateString(this.effectiveLocale, formattingOptions);
|
704
|
+
this.setInputValue(localizedDate !== null && localizedDate !== void 0 ? localizedDate : "", "start");
|
705
|
+
this.setInputValue((_a = (this.range && localizedEndDate)) !== null && _a !== void 0 ? _a : "", "end");
|
706
|
+
}
|
707
|
+
warnAboutInvalidValue(value) {
|
708
|
+
console.warn(`The specified value "${value}" does not conform to the required format, "YYYY-MM-DD".`);
|
709
|
+
}
|
710
|
+
getNormalizedDate(value) {
|
711
|
+
if (!value) {
|
712
|
+
return "";
|
713
|
+
}
|
714
|
+
if (!isTwoDigitYear(value)) {
|
715
|
+
return value;
|
716
|
+
}
|
717
|
+
const { day, month, year } = datePartsFromISO(value);
|
718
|
+
const normalizedYear = normalizeToCurrentCentury(Number(year));
|
719
|
+
return `${normalizedYear}-${month}-${day}`;
|
720
|
+
}
|
721
|
+
static get delegatesFocus() { return true; }
|
722
|
+
static get assetsDirs() { return ["assets"]; }
|
723
|
+
get el() { return getElement(this); }
|
724
|
+
static get watchers() { return {
|
725
|
+
"focusTrapDisabled": ["handleFocusTrapDisabled"],
|
726
|
+
"disabled": ["handleDisabledAndReadOnlyChange"],
|
727
|
+
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
728
|
+
"value": ["valueWatcher"],
|
729
|
+
"valueAsDate": ["valueAsDateWatcher"],
|
730
|
+
"flipPlacements": ["flipPlacementsHandler"],
|
731
|
+
"messageOverrides": ["onMessagesChange"],
|
732
|
+
"min": ["onMinChanged"],
|
733
|
+
"max": ["onMaxChanged"],
|
734
|
+
"open": ["openHandler"],
|
735
|
+
"overlayPositioning": ["overlayPositioningHandler"],
|
736
|
+
"layout": ["setReferenceEl"],
|
737
|
+
"focusedInput": ["setReferenceEl"],
|
738
|
+
"effectiveLocale": ["loadLocaleData"]
|
739
|
+
}; }
|
740
|
+
};
|
741
|
+
InputDatePicker.style = inputDatePickerCss;
|
742
|
+
|
743
|
+
const baseClassLight = 'instant-apps-filter-list calcite-mode-light';
|
744
|
+
const baseClassDark = 'instant-apps-filter-list calcite-mode-dark';
|
745
|
+
const supportedTypes = ['feature', 'geojson', 'wfs', 'csv', 'scene', 'subtype-group', 'point-cloud', 'map-image', 'sublayer'];
|
746
|
+
|
747
|
+
function handleSingleQuote(value) {
|
748
|
+
return value.replaceAll("'", "''");
|
749
|
+
}
|
750
|
+
function convertToDate(date, includeTime = false) {
|
751
|
+
if (date) {
|
752
|
+
const tmpDate = new Date(date);
|
753
|
+
const formattedDate = `${tmpDate.getFullYear()}-${tmpDate.getMonth() + 1}-${tmpDate.getDate()}`;
|
754
|
+
if (includeTime) {
|
755
|
+
const time = `${tmpDate.getHours()}:${tmpDate.getMinutes()}:${tmpDate.getSeconds()}`;
|
756
|
+
return `${formattedDate} ${time}`;
|
757
|
+
}
|
758
|
+
else {
|
759
|
+
return formattedDate;
|
760
|
+
}
|
761
|
+
}
|
762
|
+
return;
|
763
|
+
}
|
764
|
+
function resetDatePicker(datePicker) {
|
765
|
+
var _a;
|
766
|
+
if (datePicker != null) {
|
767
|
+
datePicker.value = ['', ''];
|
768
|
+
const inputs = (_a = datePicker.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('calcite-input');
|
769
|
+
if (inputs != null) {
|
770
|
+
for (const input of inputs) {
|
771
|
+
input.value = '';
|
772
|
+
}
|
773
|
+
}
|
774
|
+
}
|
775
|
+
}
|
776
|
+
|
777
|
+
const instantAppsFilterListCss = ":host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:normal}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height:24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:64px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:normal;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1:12px}.instant-apps-filter-list__zoom-to{display:flex;justify-content:flex-end;margin:8px 0 20px}.instant-apps-filter-list__zoom-to calcite-action{width:-moz-min-content;width:min-content}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1:16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor:2;--calcite-internal-animation-timing-slow:calc(300ms * 2)}}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}";
|
778
|
+
|
779
|
+
const CSS$1 = {
|
780
|
+
base: 'instant-apps-filter-list',
|
781
|
+
filterContainer: 'instant-apps-filter-list__container',
|
782
|
+
footer: 'instant-apps-filter-list__footer',
|
783
|
+
filterItemTitle: 'instant-apps-filter-list__title',
|
784
|
+
filterItemContainer: 'instant-apps-filter-list__item-container',
|
785
|
+
filterUIItemContainer: 'instant-apps-filter-list__item-container--user-input',
|
786
|
+
checkboxContainer: 'instant-apps-filter-list__checkbox-container',
|
787
|
+
numberInputContainer: 'instant-apps-filter-list__number-input-container',
|
788
|
+
dateInputContainer: 'instant-apps-filter-list__date-picker-input-container',
|
789
|
+
operatorDesc: 'instant-apps-filter-list__operator-description',
|
790
|
+
zoomTo: 'instant-apps-filter-list__zoom-to',
|
791
|
+
};
|
792
|
+
const InstantAppsFilterList = class {
|
793
|
+
constructor(hostRef) {
|
794
|
+
registerInstance(this, hostRef);
|
795
|
+
this.filterListReset = createEvent(this, "filterListReset", 7);
|
796
|
+
this.filterUpdate = createEvent(this, "filterUpdate", 7);
|
797
|
+
this.layerExpressions = undefined;
|
798
|
+
this.autoUpdateUrl = false;
|
799
|
+
this.closeBtn = false;
|
800
|
+
this.closeBtnOnClick = undefined;
|
801
|
+
this.comboboxOverlayPositioning = 'absolute';
|
802
|
+
this.closeBtnText = undefined;
|
803
|
+
this.openFilters = false;
|
804
|
+
this.extentSelector = false;
|
805
|
+
this.extentSelectorConfig = undefined;
|
806
|
+
this.urlParams = undefined;
|
807
|
+
this.filterCount = 0;
|
808
|
+
this.view = undefined;
|
809
|
+
this.zoomBtn = true;
|
810
|
+
this.loading = undefined;
|
811
|
+
this.filterLayerExpressions = undefined;
|
812
|
+
this.messages = undefined;
|
813
|
+
this.baseClass = baseClassLight;
|
814
|
+
this.disabled = true;
|
815
|
+
this.hasLayerExpression = false;
|
816
|
+
this.initDefExpressions = undefined;
|
817
|
+
this.initMapImageExpressions = undefined;
|
818
|
+
this.initPointCloudFilters = undefined;
|
819
|
+
}
|
820
|
+
watchViewHandler() {
|
821
|
+
this.handleWhenView();
|
822
|
+
}
|
823
|
+
watchLayerExpressions() {
|
824
|
+
if (!this.hasLayerExpression) {
|
825
|
+
this.filterLayerExpressions = JSON.parse(JSON.stringify(this.layerExpressions));
|
826
|
+
this.handleLayerExpressionsUpdate();
|
827
|
+
this.hasLayerExpression = true;
|
828
|
+
}
|
829
|
+
}
|
830
|
+
async componentWillLoad() {
|
831
|
+
var _a;
|
832
|
+
this.baseClass = getMode(this.el) === 'dark' ? baseClassDark : baseClassLight;
|
833
|
+
await this.initializeModules();
|
834
|
+
getMessages(this);
|
835
|
+
this.hasLayerExpression = this.layerExpressions != null;
|
836
|
+
this.filterLayerExpressions = this.layerExpressions != null ? JSON.parse(JSON.stringify(this.layerExpressions)) : undefined;
|
837
|
+
this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) ? undefined : true;
|
838
|
+
this.reactiveUtils.whenOnce(() => this.view).then(() => this.handleLayerExpressionsUpdate());
|
839
|
+
}
|
840
|
+
componentShouldUpdate(newValue, _oldValue, name) {
|
841
|
+
if (name === 'view' && newValue != null) {
|
842
|
+
this.handleWhenView();
|
843
|
+
}
|
844
|
+
else if (name === 'layerExpressions') {
|
845
|
+
if (this.hasLayerExpression) {
|
846
|
+
this.resetAllFilters();
|
847
|
+
}
|
848
|
+
this.filterLayerExpressions = JSON.parse(JSON.stringify(this.layerExpressions));
|
849
|
+
this.handleLayerExpressionsUpdate();
|
850
|
+
this.hasLayerExpression = true;
|
851
|
+
}
|
852
|
+
}
|
853
|
+
componentWillRender() {
|
854
|
+
var _a;
|
855
|
+
this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) > 0 ? undefined : true;
|
856
|
+
}
|
857
|
+
disconnectedCallback() {
|
858
|
+
this.filterLayerExpressions = JSON.parse(JSON.stringify(this.layerExpressions));
|
859
|
+
this.resetAllFilters();
|
860
|
+
}
|
861
|
+
async initializeModules() {
|
862
|
+
const [intl, geometryJsonUtils, reactiveUtils] = await loadModules(['esri/intl', 'esri/geometry/support/jsonUtils', 'esri/core/reactiveUtils']);
|
863
|
+
this.geometryJsonUtils = geometryJsonUtils;
|
864
|
+
this.reactiveUtils = reactiveUtils;
|
865
|
+
this.locale = intl.getLocale();
|
866
|
+
this.intl = intl;
|
867
|
+
return Promise.resolve();
|
868
|
+
}
|
869
|
+
render() {
|
870
|
+
const filterConfig = this.loading ? this.renderLoading() : this.initFilterConfig();
|
871
|
+
const footer = this.closeBtn ? this.renderFullFooter() : this.renderFooter();
|
872
|
+
return (h(Host, null, h("calcite-panel", { class: this.baseClass, ref: el => (this.panelEl = el) }, h("slot", { slot: "header-content", name: "filter-header-content" }), h("slot", { slot: "header-actions-end", name: "filter-header-actions-end" }), h("div", { key: "filter-container", class: CSS$1.filterContainer }, filterConfig, footer))));
|
873
|
+
}
|
874
|
+
renderLoading() {
|
875
|
+
return h("calcite-loader", { label: "Loading filters..." });
|
876
|
+
}
|
877
|
+
renderFilter(layerExpression) {
|
878
|
+
const { id } = layerExpression;
|
879
|
+
return layerExpression.expressions.map((expression, index) => {
|
880
|
+
return expression.type == 'checkbox' || expression.type == null ? (h("div", { key: `${id}-${index}`, class: CSS$1.filterItemContainer }, h("div", { class: CSS$1.filterItemTitle }, h("p", null, expression.name)), h("div", { class: CSS$1.checkboxContainer }, h("calcite-checkbox", { id: expression.id.toString(), scale: "l", checked: expression === null || expression === void 0 ? void 0 : expression.active, onCalciteCheckboxChange: this.handleCheckboxChange.bind(this, layerExpression, expression) })))) : (this.initInput(layerExpression, expression));
|
881
|
+
});
|
882
|
+
}
|
883
|
+
renderLayerBlock() {
|
884
|
+
return this.filterLayerExpressions.map(layerExpression => {
|
885
|
+
return this.renderFilterBlocks(layerExpression);
|
886
|
+
});
|
887
|
+
}
|
888
|
+
renderFilterBlocks(layerExpression) {
|
889
|
+
var _a;
|
890
|
+
const filter = this.renderFilter(layerExpression);
|
891
|
+
const { operator } = layerExpression;
|
892
|
+
const operatorTranslation = (operator === null || operator === void 0 ? void 0 : operator.trim()) === 'OR' ? 'orOperator' : 'andOperator';
|
893
|
+
const zoomTo = this.renderZoomTo(layerExpression);
|
894
|
+
return (h("calcite-block", { key: layerExpression.id, heading: layerExpression.title, description: (_a = this.messages) === null || _a === void 0 ? void 0 : _a[operatorTranslation], open: this.openFilters ? true : undefined, collapsible: true }, zoomTo, filter));
|
895
|
+
}
|
896
|
+
renderCombobox(layerExpression, expression) {
|
897
|
+
var _a;
|
898
|
+
return (h("label", { key: "combo-select", class: CSS$1.filterUIItemContainer }, h("span", null, expression.name), h("calcite-combobox", { id: expression.id.toString(), onCalciteComboboxChange: this.handleComboSelect.bind(this, expression, layerExpression), label: expression.name, placeholder: expression.placeholder, selectionMode: "multiple", "max-items": "6", scale: "s", overlayPositioning: this.comboboxOverlayPositioning }, (_a = expression.fields) === null || _a === void 0 ? void 0 : _a.map((value, index) => this.renderComboboxItem(expression, value, index)))));
|
899
|
+
}
|
900
|
+
renderComboboxItem(expression, value, index) {
|
901
|
+
var _a;
|
902
|
+
const label = this.createLabel(expression, value);
|
903
|
+
const selectedFields = expression === null || expression === void 0 ? void 0 : expression.selectedFields;
|
904
|
+
const selected = (_a = selectedFields === null || selectedFields === void 0 ? void 0 : selectedFields.includes(value)) !== null && _a !== void 0 ? _a : false;
|
905
|
+
return h("calcite-combobox-item", { key: `${label}-${index}`, value: value, textLabel: `${label}`, selected: selected });
|
906
|
+
}
|
907
|
+
initFilterConfig() {
|
908
|
+
var _a, _b;
|
909
|
+
if (((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
910
|
+
if (this.filterLayerExpressions.length === 1) {
|
911
|
+
const { operator } = this.filterLayerExpressions[0];
|
912
|
+
const operatorTranslation = (operator === null || operator === void 0 ? void 0 : operator.trim()) === 'OR' ? 'orOperator' : 'andOperator';
|
913
|
+
const zoomTo = this.renderZoomTo(this.filterLayerExpressions[0]);
|
914
|
+
return (h("calcite-block", { class: CSS$1.operatorDesc, heading: (_b = this.messages) === null || _b === void 0 ? void 0 : _b[operatorTranslation], open: true }, zoomTo, this.renderFilter(this.filterLayerExpressions[0])));
|
915
|
+
}
|
916
|
+
else if (this.filterLayerExpressions.length > 1) {
|
917
|
+
return this.renderLayerBlock();
|
918
|
+
}
|
919
|
+
}
|
920
|
+
return;
|
921
|
+
}
|
922
|
+
renderNumberSlider(layerExpression, expression) {
|
923
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
924
|
+
const min = expression === null || expression === void 0 ? void 0 : expression.min;
|
925
|
+
const max = expression === null || expression === void 0 ? void 0 : expression.max;
|
926
|
+
const step = (expression === null || expression === void 0 ? void 0 : expression.step) ? expression.step : 1;
|
927
|
+
const check = min != null && max != null;
|
928
|
+
const field = (_a = expression === null || expression === void 0 ? void 0 : expression.field) !== null && _a !== void 0 ? _a : '';
|
929
|
+
const minValue = ((_b = expression === null || expression === void 0 ? void 0 : expression.range) === null || _b === void 0 ? void 0 : _b.min) != null ? expression.range.min : min;
|
930
|
+
const maxValue = ((_c = expression === null || expression === void 0 ? void 0 : expression.range) === null || _c === void 0 ? void 0 : _c.max) != null ? expression.range.max : max;
|
931
|
+
const value = [minValue, maxValue];
|
932
|
+
return check ? (h("label", { key: expression === null || expression === void 0 ? void 0 : expression.id.toString(), class: CSS$1.filterUIItemContainer }, h("span", null, expression === null || expression === void 0 ? void 0 : expression.name), h("div", { class: CSS$1.numberInputContainer }, h("calcite-slider", { id: expression === null || expression === void 0 ? void 0 : expression.id.toString(), onCalciteSliderChange: this.handleSliderChange.bind(this, expression, layerExpression), min: min, max: max, minValue: min, maxValue: max, "min-label": (_e = (_d = this.messages) === null || _d === void 0 ? void 0 : _d.minSlider) === null || _e === void 0 ? void 0 : _e.replace('{field}', field), "max-label": (_g = (_f = this.messages) === null || _f === void 0 ? void 0 : _f.maxSlider) === null || _g === void 0 ? void 0 : _g.replace('{field}', field), step: step, labelHandles: true, snap: true, value: value, "group-separator": (_h = expression === null || expression === void 0 ? void 0 : expression.format) === null || _h === void 0 ? void 0 : _h.digitSeparator })))) : undefined;
|
933
|
+
}
|
934
|
+
renderDatePicker(layerExpression, expression) {
|
935
|
+
var _a, _b, _c, _d;
|
936
|
+
const { min, max } = expression;
|
937
|
+
const value = [(_a = expression === null || expression === void 0 ? void 0 : expression.range) === null || _a === void 0 ? void 0 : _a.min, (_b = expression === null || expression === void 0 ? void 0 : expression.range) === null || _b === void 0 ? void 0 : _b.max];
|
938
|
+
const check = min != null && max != null;
|
939
|
+
return check ? (h("label", { class: CSS$1.filterUIItemContainer }, h("span", null, expression === null || expression === void 0 ? void 0 : expression.name), h("div", { class: CSS$1.dateInputContainer }, h("calcite-input-date-picker", { id: expression === null || expression === void 0 ? void 0 : expression.id.toString(), onCalciteInputDatePickerChange: this.handleDatePickerRangeChange.bind(this, expression, layerExpression), min: min, max: max, "overlay-positioning": "fixed", lang: (_c = this.locale) !== null && _c !== void 0 ? _c : 'en', layout: "vertical", value: value, range: true }), h("calcite-action", { onClick: this.handleResetDatePicker.bind(this, expression, layerExpression), icon: "reset", text: (_d = this.messages) === null || _d === void 0 ? void 0 : _d.resetDatePicker, scale: "s" })))) : null;
|
940
|
+
}
|
941
|
+
renderFooter() {
|
942
|
+
var _a;
|
943
|
+
return (h("div", { class: CSS$1.footer, slot: "footer" }, h("calcite-button", { appearance: "outline", width: "full", disabled: this.disabled, onClick: this.handleResetFilter.bind(this) }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.resetFilter)));
|
944
|
+
}
|
945
|
+
renderFullFooter() {
|
946
|
+
var _a, _b, _c;
|
947
|
+
const closeText = this.closeBtnText != null ? this.closeBtnText : (_a = this.messages) === null || _a === void 0 ? void 0 : _a.close;
|
948
|
+
return (h("div", { class: CSS$1.footer, slot: "footer" }, h("calcite-button", { appearance: "outline", width: "half", disabled: this.disabled, onClick: this.handleResetFilter.bind(this) }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.resetFilter), h("calcite-button", { appearance: "solid", width: "half", kind: "brand", onClick: (_c = this.closeBtnOnClick) === null || _c === void 0 ? void 0 : _c.bind(this) }, closeText)));
|
949
|
+
}
|
950
|
+
renderZoomTo(layerExpression) {
|
951
|
+
var _a;
|
952
|
+
const id = (layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId) ? `zoom-to-${layerExpression.id}-${layerExpression.sublayerId}` : `zoom-to-${layerExpression.id}`;
|
953
|
+
return this.zoomBtn ? (h("div", { class: CSS$1.zoomTo }, h("calcite-button", { id: id, appearance: "transparent", kind: "neutral", scale: "s", iconStart: "magnifying-glass-plus", onClick: this.handleZoomTo.bind(this, layerExpression) }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.zoomTo))) : undefined;
|
954
|
+
}
|
955
|
+
handleResetDatePicker(expression, layerExpression) {
|
956
|
+
const datePicker = this.panelEl.querySelector(`[id='${expression.id}']`);
|
957
|
+
resetDatePicker(datePicker);
|
958
|
+
expression.active = false;
|
959
|
+
expression.definitionExpression = undefined;
|
960
|
+
expression.range = undefined;
|
961
|
+
this.generateOutput(layerExpression);
|
962
|
+
}
|
963
|
+
initInput(layerExpression, expression) {
|
964
|
+
const { type } = expression;
|
965
|
+
if (type === 'string' || type == 'coded-value') {
|
966
|
+
return this.renderCombobox(layerExpression, expression);
|
967
|
+
}
|
968
|
+
else if (type === 'number' || type == 'range') {
|
969
|
+
if ((expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
|
970
|
+
return this.renderCombobox(layerExpression, expression);
|
971
|
+
}
|
972
|
+
return this.renderNumberSlider(layerExpression, expression);
|
973
|
+
}
|
974
|
+
else if (type === 'date') {
|
975
|
+
if ((expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
|
976
|
+
return this.renderCombobox(layerExpression, expression);
|
977
|
+
}
|
978
|
+
return this.renderDatePicker(layerExpression, expression);
|
979
|
+
}
|
980
|
+
return;
|
981
|
+
}
|
982
|
+
async initExpressions() {
|
983
|
+
this.loading = true;
|
984
|
+
if (this.filterLayerExpressions == null)
|
985
|
+
return;
|
986
|
+
const tmpLE = this.filterLayerExpressions;
|
987
|
+
for (let i = 0; i < (tmpLE === null || tmpLE === void 0 ? void 0 : tmpLE.length); i++) {
|
988
|
+
const expressions = tmpLE[i].expressions;
|
989
|
+
for (let j = 0; j < (expressions === null || expressions === void 0 ? void 0 : expressions.length); j++) {
|
990
|
+
if (expressions[j].active == null && expressions[j].definitionExpression != null) {
|
991
|
+
expressions[j].active = false;
|
992
|
+
}
|
993
|
+
await this.setInitExpression(tmpLE[i], expressions[j]);
|
994
|
+
}
|
995
|
+
}
|
996
|
+
this.loading = false;
|
997
|
+
this.filterLayerExpressions = [...tmpLE];
|
998
|
+
}
|
999
|
+
handleResetFilter() {
|
1000
|
+
var _a;
|
1001
|
+
(_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.forEach(layerExpression => {
|
1002
|
+
var _a;
|
1003
|
+
(_a = layerExpression.expressions) === null || _a === void 0 ? void 0 : _a.forEach(expression => {
|
1004
|
+
const { type } = expression;
|
1005
|
+
if (type === 'string' || type === 'coded-value') {
|
1006
|
+
this.resetCombobox(expression);
|
1007
|
+
}
|
1008
|
+
else if (type === 'date') {
|
1009
|
+
if ((expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
|
1010
|
+
this.resetCombobox(expression);
|
1011
|
+
}
|
1012
|
+
else {
|
1013
|
+
this.resetDatePicker(expression);
|
1014
|
+
}
|
1015
|
+
}
|
1016
|
+
else if (type === 'number' || type === 'range') {
|
1017
|
+
if ((expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
|
1018
|
+
this.resetCombobox(expression);
|
1019
|
+
}
|
1020
|
+
else {
|
1021
|
+
this.resetNumberRange(expression);
|
1022
|
+
}
|
1023
|
+
}
|
1024
|
+
else {
|
1025
|
+
this.resetCheckbox(expression);
|
1026
|
+
}
|
1027
|
+
expression.active = false;
|
1028
|
+
});
|
1029
|
+
});
|
1030
|
+
this.resetAllFilters();
|
1031
|
+
this.generateURLParams();
|
1032
|
+
this.filterListReset.emit();
|
1033
|
+
}
|
1034
|
+
resetCombobox(expression) {
|
1035
|
+
const { id } = expression;
|
1036
|
+
expression.selectedFields = undefined;
|
1037
|
+
const combobox = this.panelEl.querySelector(`[id='${id}']`);
|
1038
|
+
if (combobox != null) {
|
1039
|
+
for (let i = 0; i < combobox.children.length; i++) {
|
1040
|
+
const comboboxItem = combobox.children[i];
|
1041
|
+
comboboxItem.selected = false;
|
1042
|
+
}
|
1043
|
+
}
|
1044
|
+
}
|
1045
|
+
resetDatePicker(expression) {
|
1046
|
+
const { id } = expression;
|
1047
|
+
expression.range = undefined;
|
1048
|
+
const datePicker = this.panelEl.querySelector(`[id='${id}']`);
|
1049
|
+
resetDatePicker(datePicker);
|
1050
|
+
}
|
1051
|
+
resetNumberRange(expression) {
|
1052
|
+
expression.range = undefined;
|
1053
|
+
const { id, max, min } = expression;
|
1054
|
+
const slider = this.panelEl.querySelector(`[id='${id}']`);
|
1055
|
+
if (slider != null) {
|
1056
|
+
slider.minValue = min;
|
1057
|
+
slider.maxValue = max;
|
1058
|
+
}
|
1059
|
+
}
|
1060
|
+
resetCheckbox(expression) {
|
1061
|
+
const { id } = expression;
|
1062
|
+
const checkbox = this.panelEl.querySelector(`[id='${id}']`);
|
1063
|
+
if (checkbox != null) {
|
1064
|
+
checkbox.checked = false;
|
1065
|
+
}
|
1066
|
+
}
|
1067
|
+
resetAllFilters() {
|
1068
|
+
var _a, _b, _c, _d, _e;
|
1069
|
+
const allLayersAndTables = (_c = (_b = (_a = this.view) === null || _a === void 0 ? void 0 : _a.map) === null || _b === void 0 ? void 0 : _b.allLayers) === null || _c === void 0 ? void 0 : _c.concat((_e = (_d = this.view) === null || _d === void 0 ? void 0 : _d.map) === null || _e === void 0 ? void 0 : _e.allTables);
|
1070
|
+
allLayersAndTables === null || allLayersAndTables === void 0 ? void 0 : allLayersAndTables.forEach(layer => {
|
1071
|
+
var _a, _b;
|
1072
|
+
if (supportedTypes.includes(layer.type)) {
|
1073
|
+
const fl = layer;
|
1074
|
+
if (fl.type === 'point-cloud') {
|
1075
|
+
fl.filters = (_a = this.initPointCloudFilters) === null || _a === void 0 ? void 0 : _a[fl.id];
|
1076
|
+
}
|
1077
|
+
else if (fl.type === 'map-image') {
|
1078
|
+
fl.allSublayers.forEach(sublayer => {
|
1079
|
+
var _a, _b;
|
1080
|
+
sublayer.definitionExpression = (_b = (_a = this.initMapImageExpressions) === null || _a === void 0 ? void 0 : _a[fl.id]) === null || _b === void 0 ? void 0 : _b[sublayer.id];
|
1081
|
+
});
|
1082
|
+
}
|
1083
|
+
else {
|
1084
|
+
fl.definitionExpression = (_b = this.initDefExpressions) === null || _b === void 0 ? void 0 : _b[fl.id];
|
1085
|
+
}
|
1086
|
+
}
|
1087
|
+
});
|
1088
|
+
}
|
1089
|
+
async updateStringExpression(layerExpression, expression) {
|
1090
|
+
const { field, type } = expression;
|
1091
|
+
const layer = this.findFilterLayer(layerExpression);
|
1092
|
+
expression.fields = await this.getFeatureAttributes(layer, field);
|
1093
|
+
if (type === 'date') {
|
1094
|
+
const layerField = layer.fields.find(({ name }) => name === field);
|
1095
|
+
if ((layerField === null || layerField === void 0 ? void 0 : layerField.type) === 'date-only') {
|
1096
|
+
expression.dateOnly = true;
|
1097
|
+
}
|
1098
|
+
}
|
1099
|
+
if (expression === null || expression === void 0 ? void 0 : expression.selectedFields) {
|
1100
|
+
const selectedFields = expression.selectedFields.map((field) => (typeof field === 'number' ? field : `'${handleSingleQuote(field)}'`));
|
1101
|
+
expression.definitionExpression = `${field} IN (${selectedFields.join(',')})`;
|
1102
|
+
return Promise.resolve(true);
|
1103
|
+
}
|
1104
|
+
return Promise.resolve(false);
|
1105
|
+
}
|
1106
|
+
async updateNumberExpression(layerExpression, expression) {
|
1107
|
+
var _a, _b;
|
1108
|
+
if ((!(expression === null || expression === void 0 ? void 0 : expression.min) && (expression === null || expression === void 0 ? void 0 : expression.min) !== 0) || (!(expression === null || expression === void 0 ? void 0 : expression.max) && (expression === null || expression === void 0 ? void 0 : expression.max) !== 0)) {
|
1109
|
+
const layer = this.findFilterLayer(layerExpression);
|
1110
|
+
const { field } = expression;
|
1111
|
+
if (field != null) {
|
1112
|
+
this.setExpressionFormat(layer, expression, field);
|
1113
|
+
if ((expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
|
1114
|
+
const fields = (await this.getFeatureAttributes(layer, field));
|
1115
|
+
fields.sort((a, b) => a - b);
|
1116
|
+
expression.fields = fields;
|
1117
|
+
}
|
1118
|
+
else {
|
1119
|
+
const graphic = await this.calculateMinMaxStatistics(layer, field);
|
1120
|
+
const attributes = (_a = graphic === null || graphic === void 0 ? void 0 : graphic[0]) === null || _a === void 0 ? void 0 : _a.attributes;
|
1121
|
+
if (((_b = expression.format) === null || _b === void 0 ? void 0 : _b.places) != null) {
|
1122
|
+
expression.min = this.roundMinNumberDown(attributes[`min${field}`], expression.format.places);
|
1123
|
+
expression.max = this.roundMaxNumberUp(attributes[`max${field}`], expression.format.places);
|
1124
|
+
}
|
1125
|
+
else {
|
1126
|
+
expression.min = attributes[`min${field}`];
|
1127
|
+
expression.max = attributes[`max${field}`];
|
1128
|
+
}
|
1129
|
+
if ((expression === null || expression === void 0 ? void 0 : expression.range) && Object.keys(expression.range).length) {
|
1130
|
+
const { min, max } = expression.range;
|
1131
|
+
expression.definitionExpression = `${expression.field} BETWEEN ${min} AND ${max}`;
|
1132
|
+
return true;
|
1133
|
+
}
|
1134
|
+
}
|
1135
|
+
}
|
1136
|
+
}
|
1137
|
+
return false;
|
1138
|
+
}
|
1139
|
+
async updateDateExpression(layerExpression, expression) {
|
1140
|
+
var _a;
|
1141
|
+
const { field, range } = expression;
|
1142
|
+
const layer = this.findFilterLayer(layerExpression);
|
1143
|
+
const graphic = await this.calculateMinMaxStatistics(layer, field);
|
1144
|
+
const attributes = (_a = graphic === null || graphic === void 0 ? void 0 : graphic[0]) === null || _a === void 0 ? void 0 : _a.attributes;
|
1145
|
+
expression.min = convertToDate(attributes[`min${field}`]);
|
1146
|
+
expression.max = convertToDate(attributes[`max${field}`]);
|
1147
|
+
if (range != null && ((range === null || range === void 0 ? void 0 : range.max) != null || (range === null || range === void 0 ? void 0 : range.min) != null)) {
|
1148
|
+
let { min, max } = range;
|
1149
|
+
min = min === null || min === void 0 ? void 0 : min.replace('+', ' ');
|
1150
|
+
max = max === null || max === void 0 ? void 0 : max.replace('+', ' ');
|
1151
|
+
if (min || max) {
|
1152
|
+
const chevron = max && !min ? '<' : !max && min ? '>' : null;
|
1153
|
+
if (chevron) {
|
1154
|
+
expression.definitionExpression = `${field} ${chevron} '${min !== null && min !== void 0 ? min : max}'`;
|
1155
|
+
}
|
1156
|
+
else {
|
1157
|
+
expression.definitionExpression = `${field} BETWEEN '${min}' AND '${max}'`;
|
1158
|
+
}
|
1159
|
+
return true;
|
1160
|
+
}
|
1161
|
+
}
|
1162
|
+
return false;
|
1163
|
+
}
|
1164
|
+
updateCodedValueExpression(expression, layerField) {
|
1165
|
+
var _a;
|
1166
|
+
const { field } = expression;
|
1167
|
+
const fields = [];
|
1168
|
+
expression.codedValues = {};
|
1169
|
+
const domain = layerField === null || layerField === void 0 ? void 0 : layerField.domain;
|
1170
|
+
(_a = domain === null || domain === void 0 ? void 0 : domain.codedValues) === null || _a === void 0 ? void 0 : _a.forEach(cv => {
|
1171
|
+
const { code, name } = cv;
|
1172
|
+
fields.push(code);
|
1173
|
+
if (expression.codedValues != null) {
|
1174
|
+
expression.codedValues[code] = name;
|
1175
|
+
}
|
1176
|
+
});
|
1177
|
+
expression.fields = fields;
|
1178
|
+
if (expression === null || expression === void 0 ? void 0 : expression.selectedFields) {
|
1179
|
+
const selectedFields = expression.selectedFields.map((field) => (typeof field === 'number' ? field : `'${handleSingleQuote(field)}'`));
|
1180
|
+
const definitionExpression = `${field} IN (${selectedFields.join(',')})`;
|
1181
|
+
expression.definitionExpression = definitionExpression;
|
1182
|
+
return true;
|
1183
|
+
}
|
1184
|
+
return false;
|
1185
|
+
}
|
1186
|
+
updateRangeExpression(expression, layerField) {
|
1187
|
+
const { field, range } = expression;
|
1188
|
+
const domain = layerField === null || layerField === void 0 ? void 0 : layerField.domain;
|
1189
|
+
expression.min = domain === null || domain === void 0 ? void 0 : domain.minValue;
|
1190
|
+
expression.max = domain === null || domain === void 0 ? void 0 : domain.maxValue;
|
1191
|
+
if (range && Object.keys(range).length) {
|
1192
|
+
const { min, max } = range;
|
1193
|
+
const definitionExpression = `${field} BETWEEN ${min} AND ${max}`;
|
1194
|
+
expression.definitionExpression = definitionExpression;
|
1195
|
+
return true;
|
1196
|
+
}
|
1197
|
+
return false;
|
1198
|
+
}
|
1199
|
+
async getFeatureAttributes(layer, field) {
|
1200
|
+
var _a, _b, _c;
|
1201
|
+
if (layer && supportedTypes.includes(layer.type)) {
|
1202
|
+
const query = layer.createQuery();
|
1203
|
+
if ((_b = (_a = layer === null || layer === void 0 ? void 0 : layer.capabilities) === null || _a === void 0 ? void 0 : _a.query) === null || _b === void 0 ? void 0 : _b['supportsCacheHint']) {
|
1204
|
+
query.cacheHint = true;
|
1205
|
+
}
|
1206
|
+
if (field) {
|
1207
|
+
const initDefExpr = this.getInitDefExprFromLayer(layer);
|
1208
|
+
query.where = initDefExpr || '1=1';
|
1209
|
+
query.outFields = [field];
|
1210
|
+
query.orderByFields = [`${field} DESC`];
|
1211
|
+
query.returnDistinctValues = true;
|
1212
|
+
query.returnGeometry = false;
|
1213
|
+
query.maxRecordCountFactor = 3;
|
1214
|
+
if (this.extentSelector && this.extentSelectorConfig) {
|
1215
|
+
const geo = this.getExtent(this.extentSelector, this.extentSelectorConfig);
|
1216
|
+
if (geo != null)
|
1217
|
+
query.geometry = geo;
|
1218
|
+
query.spatialRelationship = 'intersects';
|
1219
|
+
}
|
1220
|
+
return (_c = (await this.queryForFeatures(layer, query, field))) === null || _c === void 0 ? void 0 : _c.sort();
|
1221
|
+
}
|
1222
|
+
}
|
1223
|
+
return [];
|
1224
|
+
}
|
1225
|
+
async queryForFeatures(layer, query, field) {
|
1226
|
+
const results = await layer.queryFeatures(query);
|
1227
|
+
const features = results === null || results === void 0 ? void 0 : results.features.filter(feature => { var _a; return (_a = feature.attributes) === null || _a === void 0 ? void 0 : _a[field]; });
|
1228
|
+
return features === null || features === void 0 ? void 0 : features.map(feature => { var _a; return (_a = feature.attributes) === null || _a === void 0 ? void 0 : _a[field]; });
|
1229
|
+
}
|
1230
|
+
async calculateMinMaxStatistics(layer, field) {
|
1231
|
+
var _a, _b;
|
1232
|
+
if (layer && supportedTypes.includes(layer.type)) {
|
1233
|
+
const query = layer.createQuery();
|
1234
|
+
let initDefExpr = this.getInitDefExprFromLayer(layer);
|
1235
|
+
query.where = initDefExpr || '1=1';
|
1236
|
+
if ((_b = (_a = layer === null || layer === void 0 ? void 0 : layer.capabilities) === null || _a === void 0 ? void 0 : _a.query) === null || _b === void 0 ? void 0 : _b.supportsCacheHint) {
|
1237
|
+
query.cacheHint = true;
|
1238
|
+
}
|
1239
|
+
if (field) {
|
1240
|
+
const tmp = [
|
1241
|
+
{
|
1242
|
+
onStatisticField: field,
|
1243
|
+
outStatisticFieldName: `max${field}`,
|
1244
|
+
statisticType: 'max',
|
1245
|
+
},
|
1246
|
+
{
|
1247
|
+
onStatisticField: field,
|
1248
|
+
outStatisticFieldName: `min${field}`,
|
1249
|
+
statisticType: 'min',
|
1250
|
+
},
|
1251
|
+
];
|
1252
|
+
query.outStatistics = tmp;
|
1253
|
+
if (this.extentSelector && this.extentSelectorConfig) {
|
1254
|
+
const geo = this.getExtent(this.extentSelector, this.extentSelectorConfig);
|
1255
|
+
if (geo != null) {
|
1256
|
+
query.geometry = geo;
|
1257
|
+
}
|
1258
|
+
query.spatialRelationship = 'intersects';
|
1259
|
+
}
|
1260
|
+
const results = await layer.queryFeatures(query);
|
1261
|
+
return results === null || results === void 0 ? void 0 : results.features;
|
1262
|
+
}
|
1263
|
+
}
|
1264
|
+
return [];
|
1265
|
+
}
|
1266
|
+
getExtent(extentSelector, extentSelectorConfig) {
|
1267
|
+
if (extentSelector && extentSelectorConfig) {
|
1268
|
+
const { constraints } = extentSelectorConfig;
|
1269
|
+
let newConstraints = Object.assign({}, constraints);
|
1270
|
+
const geometry = newConstraints === null || newConstraints === void 0 ? void 0 : newConstraints.geometry;
|
1271
|
+
if (geometry) {
|
1272
|
+
const tmpExtent = 'extent' in geometry ? geometry : this.geometryJsonUtils.fromJSON(geometry);
|
1273
|
+
if ((tmpExtent === null || tmpExtent === void 0 ? void 0 : tmpExtent.type) === 'extent' || (tmpExtent === null || tmpExtent === void 0 ? void 0 : tmpExtent.type) === 'polygon') {
|
1274
|
+
return tmpExtent;
|
1275
|
+
}
|
1276
|
+
}
|
1277
|
+
}
|
1278
|
+
return;
|
1279
|
+
}
|
1280
|
+
setInitExpression(layerExpression, expression) {
|
1281
|
+
if (expression.field && expression.type) {
|
1282
|
+
const filterLayer = this.findFilterLayer(layerExpression);
|
1283
|
+
if (filterLayer == null) {
|
1284
|
+
return Promise.resolve();
|
1285
|
+
}
|
1286
|
+
if (filterLayer.loadStatus === 'not-loaded' || filterLayer.loadStatus === 'failed') {
|
1287
|
+
filterLayer.load();
|
1288
|
+
}
|
1289
|
+
return filterLayer.when(async () => {
|
1290
|
+
var _a, _b;
|
1291
|
+
const layerField = (_a = filterLayer.fields) === null || _a === void 0 ? void 0 : _a.find(({ name }) => name === expression.field);
|
1292
|
+
const domainType = (_b = layerField === null || layerField === void 0 ? void 0 : layerField.domain) === null || _b === void 0 ? void 0 : _b.type;
|
1293
|
+
expression.type = domainType === 'coded-value' || domainType === 'range' ? domainType : expression.type;
|
1294
|
+
await this.updateExpression(layerExpression, expression, layerField);
|
1295
|
+
});
|
1296
|
+
}
|
1297
|
+
else {
|
1298
|
+
this.updateExpression(layerExpression, expression, undefined);
|
1299
|
+
return Promise.resolve();
|
1300
|
+
}
|
1301
|
+
}
|
1302
|
+
async updateExpression(layerExpression, expression, layerField) {
|
1303
|
+
let update = false;
|
1304
|
+
const { type } = expression;
|
1305
|
+
if (type === 'string') {
|
1306
|
+
update = await this.updateStringExpression(layerExpression, expression);
|
1307
|
+
}
|
1308
|
+
else if (type === 'number') {
|
1309
|
+
update = await this.updateNumberExpression(layerExpression, expression);
|
1310
|
+
}
|
1311
|
+
else if (type === 'date') {
|
1312
|
+
if (expression.displayOption === 'drop-down') {
|
1313
|
+
update = await this.updateStringExpression(layerExpression, expression);
|
1314
|
+
}
|
1315
|
+
else {
|
1316
|
+
update = await this.updateDateExpression(layerExpression, expression);
|
1317
|
+
}
|
1318
|
+
}
|
1319
|
+
else if (type === 'coded-value') {
|
1320
|
+
update = this.updateCodedValueExpression(expression, layerField);
|
1321
|
+
}
|
1322
|
+
else if (type === 'range') {
|
1323
|
+
update = this.updateRangeExpression(expression, layerField);
|
1324
|
+
}
|
1325
|
+
else if (expression.active && (type === 'checkbox' || type == null)) {
|
1326
|
+
update = true;
|
1327
|
+
}
|
1328
|
+
if (update) {
|
1329
|
+
this.generateOutput(layerExpression);
|
1330
|
+
}
|
1331
|
+
}
|
1332
|
+
updateRangeExpressions(expression, layerExpression, max, min) {
|
1333
|
+
const initExp = this.getInitDefExprFromLayerExpression(layerExpression);
|
1334
|
+
if ((min || min === 0) && (max || max === 0)) {
|
1335
|
+
if (min === (expression === null || expression === void 0 ? void 0 : expression.min) && max === (expression === null || expression === void 0 ? void 0 : expression.max)) {
|
1336
|
+
expression.definitionExpression = undefined;
|
1337
|
+
expression.active = false;
|
1338
|
+
}
|
1339
|
+
else {
|
1340
|
+
expression.definitionExpression = initExp ? `(${initExp}) AND ${expression === null || expression === void 0 ? void 0 : expression.field} BETWEEN ${min} AND ${max}` : `${expression === null || expression === void 0 ? void 0 : expression.field} BETWEEN ${min} AND ${max}`;
|
1341
|
+
expression.active = true;
|
1342
|
+
}
|
1343
|
+
}
|
1344
|
+
expression.range = { min, max };
|
1345
|
+
}
|
1346
|
+
handleCheckboxChange(layerExpression, expression, event) {
|
1347
|
+
const node = event.target;
|
1348
|
+
expression.active = node.checked;
|
1349
|
+
this.generateOutput(layerExpression);
|
1350
|
+
}
|
1351
|
+
handleSliderChange(expression, layerExpression, event) {
|
1352
|
+
const { maxValue, minValue } = event.target;
|
1353
|
+
this.updateRangeExpressions(expression, layerExpression, maxValue, minValue);
|
1354
|
+
this.generateOutput(layerExpression);
|
1355
|
+
}
|
1356
|
+
handleComboSelect(expression, layerExpression, event) {
|
1357
|
+
const combobox = event.target;
|
1358
|
+
const items = combobox.selectedItems;
|
1359
|
+
const { field, type } = expression;
|
1360
|
+
if (items && items.length) {
|
1361
|
+
const values = items.map(({ value }) => (typeof value === 'number' ? value : `'${handleSingleQuote(value)}'`));
|
1362
|
+
if (type === 'date') {
|
1363
|
+
expression.selectedFields = items.map(({ value }) => value);
|
1364
|
+
expression.definitionExpression = values.map(value => this.buildDateExpression(value, field)).join(' OR ');
|
1365
|
+
}
|
1366
|
+
else {
|
1367
|
+
expression.selectedFields = items.map(({ value }) => value);
|
1368
|
+
const definitionExpression = `${field} IN (${values.join(',')})`;
|
1369
|
+
expression.definitionExpression = definitionExpression;
|
1370
|
+
}
|
1371
|
+
expression.active = true;
|
1372
|
+
}
|
1373
|
+
else {
|
1374
|
+
expression.definitionExpression = undefined;
|
1375
|
+
expression.active = false;
|
1376
|
+
}
|
1377
|
+
this.generateOutput(layerExpression);
|
1378
|
+
}
|
1379
|
+
handleDatePickerRangeChange(expression, layerExpression, event) {
|
1380
|
+
const datePicker = event.target;
|
1381
|
+
const [startDate, endDate] = datePicker.valueAsDate;
|
1382
|
+
const start = startDate != null ? convertToDate(Math.floor(startDate.getTime()), true) : undefined;
|
1383
|
+
const end = endDate != null ? convertToDate(Math.floor(endDate.getTime()), true) : undefined;
|
1384
|
+
if (start != null || end != null) {
|
1385
|
+
const chevron = end && start == null ? '<' : end == null && start ? '>' : null;
|
1386
|
+
if (chevron) {
|
1387
|
+
expression.definitionExpression = `${expression.field} ${chevron} '${start !== null && start !== void 0 ? start : end}'`;
|
1388
|
+
}
|
1389
|
+
else {
|
1390
|
+
expression.definitionExpression = `${expression.field} BETWEEN '${start}' AND '${end}'`;
|
1391
|
+
}
|
1392
|
+
expression.range = { min: start, max: end };
|
1393
|
+
expression.active = true;
|
1394
|
+
this.generateOutput(layerExpression);
|
1395
|
+
}
|
1396
|
+
}
|
1397
|
+
handleURLParams() {
|
1398
|
+
var _a;
|
1399
|
+
if ('URLSearchParams' in window) {
|
1400
|
+
const params = new URLSearchParams(document.location.search);
|
1401
|
+
const filters = (_a = params.get('filter')) === null || _a === void 0 ? void 0 : _a.split(';');
|
1402
|
+
let filterCount = 0;
|
1403
|
+
filters === null || filters === void 0 ? void 0 : filters.forEach(filter => {
|
1404
|
+
var _a;
|
1405
|
+
const tmpFilter = JSON.parse(filter);
|
1406
|
+
(_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.forEach(layerExpression => {
|
1407
|
+
var _a;
|
1408
|
+
if ((tmpFilter === null || tmpFilter === void 0 ? void 0 : tmpFilter.layerId) === layerExpression.id) {
|
1409
|
+
(_a = layerExpression.expressions) === null || _a === void 0 ? void 0 : _a.forEach(expression => {
|
1410
|
+
var _a, _b;
|
1411
|
+
if (((_a = expression.id) === null || _a === void 0 ? void 0 : _a.toString()) === ((_b = tmpFilter === null || tmpFilter === void 0 ? void 0 : tmpFilter.expressionId) === null || _b === void 0 ? void 0 : _b.toString())) {
|
1412
|
+
expression.active = true;
|
1413
|
+
filterCount++;
|
1414
|
+
if (tmpFilter.type === 'range') {
|
1415
|
+
expression.range = tmpFilter.range;
|
1416
|
+
}
|
1417
|
+
else if (tmpFilter.type === 'select') {
|
1418
|
+
expression.selectedFields = tmpFilter.selectedFields;
|
1419
|
+
}
|
1420
|
+
}
|
1421
|
+
});
|
1422
|
+
}
|
1423
|
+
});
|
1424
|
+
});
|
1425
|
+
this.filterCount = filterCount;
|
1426
|
+
}
|
1427
|
+
}
|
1428
|
+
createURLParamExpression(layerExpression, expression) {
|
1429
|
+
const { id, range, selectedFields, type } = expression;
|
1430
|
+
if (type === 'string' || type === 'coded-value' || (expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
|
1431
|
+
return {
|
1432
|
+
type: 'select',
|
1433
|
+
layerId: layerExpression.id,
|
1434
|
+
expressionId: id.toString(),
|
1435
|
+
selectedFields,
|
1436
|
+
};
|
1437
|
+
}
|
1438
|
+
else if (type === 'number' || type === 'range' || type === 'date') {
|
1439
|
+
return {
|
1440
|
+
type: 'range',
|
1441
|
+
layerId: layerExpression.id,
|
1442
|
+
expressionId: id.toString(),
|
1443
|
+
range,
|
1444
|
+
};
|
1445
|
+
}
|
1446
|
+
else {
|
1447
|
+
return {
|
1448
|
+
layerId: layerExpression.id,
|
1449
|
+
expressionId: id.toString(),
|
1450
|
+
};
|
1451
|
+
}
|
1452
|
+
}
|
1453
|
+
autoUpdateURLCheck(params) {
|
1454
|
+
if (this.autoUpdateUrl) {
|
1455
|
+
if (params.toString()) {
|
1456
|
+
window.history.replaceState({}, '', `${window.location.pathname}?${params} `);
|
1457
|
+
}
|
1458
|
+
else {
|
1459
|
+
window.history.replaceState({}, '', window.location.pathname);
|
1460
|
+
}
|
1461
|
+
}
|
1462
|
+
}
|
1463
|
+
generateURLParams() {
|
1464
|
+
var _a;
|
1465
|
+
if ('URLSearchParams' in window) {
|
1466
|
+
const params = new URLSearchParams(window.location.search);
|
1467
|
+
const expressions = [];
|
1468
|
+
let filterCount = 0;
|
1469
|
+
(_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.forEach(layerExpr => {
|
1470
|
+
var _a;
|
1471
|
+
(_a = layerExpr === null || layerExpr === void 0 ? void 0 : layerExpr.expressions) === null || _a === void 0 ? void 0 : _a.forEach(expression => {
|
1472
|
+
if (expression.active) {
|
1473
|
+
filterCount++;
|
1474
|
+
const paramExpression = this.createURLParamExpression(layerExpr, expression);
|
1475
|
+
expressions.push(JSON.stringify(paramExpression));
|
1476
|
+
}
|
1477
|
+
});
|
1478
|
+
});
|
1479
|
+
this.filterCount = filterCount;
|
1480
|
+
if (expressions.length > 0) {
|
1481
|
+
params.set('filter', expressions.join(';'));
|
1482
|
+
}
|
1483
|
+
else {
|
1484
|
+
params.delete('filter');
|
1485
|
+
}
|
1486
|
+
this.autoUpdateURLCheck(params);
|
1487
|
+
this.urlParams = params;
|
1488
|
+
}
|
1489
|
+
}
|
1490
|
+
updateFilter(layerExpression, defExpressions, filters) {
|
1491
|
+
const { id } = layerExpression;
|
1492
|
+
const fl = (this.view.map.findLayerById(id) || this.view.map.findTableById(id));
|
1493
|
+
if (fl != null) {
|
1494
|
+
if (fl.type === 'point-cloud') {
|
1495
|
+
this.updateFilterLayerPCLFilter(fl, filters);
|
1496
|
+
}
|
1497
|
+
else if (fl.type === 'map-image') {
|
1498
|
+
const sublayer = fl.findSublayerById(layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId);
|
1499
|
+
if (sublayer != null) {
|
1500
|
+
this.updateFilterLayerDefExpression(sublayer, defExpressions, layerExpression);
|
1501
|
+
}
|
1502
|
+
}
|
1503
|
+
else {
|
1504
|
+
this.updateFilterLayerDefExpression(fl, defExpressions, layerExpression);
|
1505
|
+
}
|
1506
|
+
}
|
1507
|
+
}
|
1508
|
+
updateFilterLayerDefExpression(layer, defExpressions, layerExpression) {
|
1509
|
+
const { operator } = layerExpression;
|
1510
|
+
let initDefExpressions = this.getInitDefExprFromLayer(layer);
|
1511
|
+
const combinedExpressions = (defExpressions === null || defExpressions === void 0 ? void 0 : defExpressions.length) > 0 && initDefExpressions != null
|
1512
|
+
? `(${defExpressions.join(operator)}) AND (${initDefExpressions})`
|
1513
|
+
: defExpressions.length > 0
|
1514
|
+
? defExpressions.join(operator)
|
1515
|
+
: initDefExpressions;
|
1516
|
+
layer.definitionExpression = combinedExpressions;
|
1517
|
+
}
|
1518
|
+
updateFilterLayerPCLFilter(layer, filters) {
|
1519
|
+
layer.filters = filters;
|
1520
|
+
}
|
1521
|
+
async handleWhenView() {
|
1522
|
+
if (this.view == null)
|
1523
|
+
return;
|
1524
|
+
const map = this.view.map;
|
1525
|
+
await map.loadAll();
|
1526
|
+
this.handleLayerExpressionsUpdate();
|
1527
|
+
}
|
1528
|
+
async handleLayerExpressionsUpdate() {
|
1529
|
+
if (this.view == null)
|
1530
|
+
return;
|
1531
|
+
const map = this.view.map;
|
1532
|
+
this.initDefExpressions = {};
|
1533
|
+
this.initPointCloudFilters = {};
|
1534
|
+
this.initMapImageExpressions = {};
|
1535
|
+
const layersAndTables = map.allLayers.concat(map.allTables);
|
1536
|
+
for (let i = 0; i < layersAndTables.length; i++) {
|
1537
|
+
const layer = layersAndTables.getItemAt(i);
|
1538
|
+
if (supportedTypes.includes(layer.type)) {
|
1539
|
+
const fl = layer;
|
1540
|
+
if (fl.type === 'point-cloud') {
|
1541
|
+
this.initPointCloudFilters[fl.id] = fl.filters;
|
1542
|
+
}
|
1543
|
+
else if (fl.type === 'map-image') {
|
1544
|
+
this.initMapImageExpressions[fl.id] = {};
|
1545
|
+
fl.allSublayers.forEach(sublayer => {
|
1546
|
+
this.initMapImageExpressions[fl.id][sublayer.id] = sublayer.definitionExpression;
|
1547
|
+
});
|
1548
|
+
}
|
1549
|
+
else {
|
1550
|
+
this.initDefExpressions[fl.id] = fl.definitionExpression;
|
1551
|
+
}
|
1552
|
+
}
|
1553
|
+
}
|
1554
|
+
this.initExpressions();
|
1555
|
+
this.handleURLParams();
|
1556
|
+
}
|
1557
|
+
async handleZoomTo(layerExpression) {
|
1558
|
+
const zoomId = (layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId) ? `#zoom-to-${layerExpression.id}-${layerExpression.sublayerId}` : `#zoom-to-${layerExpression.id}`;
|
1559
|
+
const zoomToBtn = this.panelEl.querySelector(zoomId);
|
1560
|
+
if (zoomToBtn != null) {
|
1561
|
+
zoomToBtn.loading = true;
|
1562
|
+
zoomToBtn.disabled = true;
|
1563
|
+
}
|
1564
|
+
this.zoomToGraphics = [];
|
1565
|
+
let loadingTime = 0;
|
1566
|
+
let startGoTo = false;
|
1567
|
+
const zoomToInterval = setInterval(() => {
|
1568
|
+
if (loadingTime >= 1000 && startGoTo) {
|
1569
|
+
this.view.goTo(this.zoomToGraphics);
|
1570
|
+
if (zoomToBtn != null) {
|
1571
|
+
zoomToBtn.loading = false;
|
1572
|
+
zoomToBtn.disabled = false;
|
1573
|
+
}
|
1574
|
+
clearInterval(zoomToInterval);
|
1575
|
+
}
|
1576
|
+
loadingTime += 500;
|
1577
|
+
}, 500);
|
1578
|
+
await this.getZoomToGraphics(layerExpression);
|
1579
|
+
startGoTo = true;
|
1580
|
+
}
|
1581
|
+
async getZoomToGraphics(layerExpression) {
|
1582
|
+
var _a, _b, _c, _d, _e;
|
1583
|
+
const lv = this.view.allLayerViews.find(({ layer }) => layer.id === layerExpression.id);
|
1584
|
+
const layer = lv.layer;
|
1585
|
+
const queryLayer = layer.type === 'map-image' ? layer.findSublayerById(layerExpression.sublayerId) : layer;
|
1586
|
+
if (queryLayer.type !== 'point-cloud' && supportedTypes.includes(queryLayer === null || queryLayer === void 0 ? void 0 : queryLayer.type)) {
|
1587
|
+
const query = queryLayer.createQuery();
|
1588
|
+
if ((_b = (_a = layer === null || layer === void 0 ? void 0 : layer.capabilities) === null || _a === void 0 ? void 0 : _a.query) === null || _b === void 0 ? void 0 : _b['supportsCacheHint']) {
|
1589
|
+
query.cacheHint = true;
|
1590
|
+
}
|
1591
|
+
query.where = (_c = queryLayer.definitionExpression) !== null && _c !== void 0 ? _c : '1=1';
|
1592
|
+
query.returnGeometry = true;
|
1593
|
+
query.returnDistinctValues = true;
|
1594
|
+
query.maxRecordCountFactor = 3;
|
1595
|
+
query.returnExceededLimitFeatures = true;
|
1596
|
+
query.outFields = [];
|
1597
|
+
if (this.extentSelector && this.extentSelectorConfig) {
|
1598
|
+
const geo = this.getExtent(this.extentSelector, this.extentSelectorConfig);
|
1599
|
+
if (geo != null)
|
1600
|
+
query.geometry = geo;
|
1601
|
+
query.spatialRelationship = 'intersects';
|
1602
|
+
}
|
1603
|
+
const filter = ((_d = lv === null || lv === void 0 ? void 0 : lv.featureEffect) === null || _d === void 0 ? void 0 : _d.filter) != null ? lv.featureEffect.filter : lv.filter;
|
1604
|
+
if (filter != null) {
|
1605
|
+
if (filter.objectIds != null) {
|
1606
|
+
query.objectIds = filter.objectIds;
|
1607
|
+
}
|
1608
|
+
if (filter.distance != null) {
|
1609
|
+
query.distance = filter.distance;
|
1610
|
+
}
|
1611
|
+
if (filter.geometry != null) {
|
1612
|
+
query.geometry = filter.geometry;
|
1613
|
+
}
|
1614
|
+
if (filter.distance != null) {
|
1615
|
+
query.distance = filter.distance;
|
1616
|
+
}
|
1617
|
+
if (filter.spatialRelationship != null) {
|
1618
|
+
query.spatialRelationship = filter.spatialRelationship;
|
1619
|
+
}
|
1620
|
+
if (filter.units != null) {
|
1621
|
+
query.units = filter.units;
|
1622
|
+
}
|
1623
|
+
if (filter.where != null) {
|
1624
|
+
query.where = filter.where;
|
1625
|
+
}
|
1626
|
+
if (filter.timeExtent != null) {
|
1627
|
+
query.timeExtent = filter.timeExtent;
|
1628
|
+
}
|
1629
|
+
}
|
1630
|
+
try {
|
1631
|
+
const results = await queryLayer.queryFeatures(query);
|
1632
|
+
this.zoomToGraphics.push(...results.features);
|
1633
|
+
}
|
1634
|
+
catch (error) {
|
1635
|
+
if ((_e = error === null || error === void 0 ? void 0 : error.message) === null || _e === void 0 ? void 0 : _e.toLowerCase().includes('distinct')) {
|
1636
|
+
try {
|
1637
|
+
query.returnDistinctValues = false;
|
1638
|
+
const results = await queryLayer.queryFeatures(query);
|
1639
|
+
this.zoomToGraphics.push(...results.features);
|
1640
|
+
}
|
1641
|
+
catch (_f) { }
|
1642
|
+
}
|
1643
|
+
}
|
1644
|
+
}
|
1645
|
+
return Promise.resolve();
|
1646
|
+
}
|
1647
|
+
generateOutput(layerExpression) {
|
1648
|
+
if (this.view == null)
|
1649
|
+
return;
|
1650
|
+
const defExpressions = [];
|
1651
|
+
let filters = [];
|
1652
|
+
if (layerExpression) {
|
1653
|
+
for (const expression of layerExpression.expressions) {
|
1654
|
+
const { active, definitionExpression, pointCloudFilters } = expression;
|
1655
|
+
if (active && definitionExpression) {
|
1656
|
+
defExpressions.push(`(${definitionExpression})`);
|
1657
|
+
}
|
1658
|
+
if (active && pointCloudFilters != null && pointCloudFilters.length > 0) {
|
1659
|
+
filters = filters.concat(pointCloudFilters);
|
1660
|
+
}
|
1661
|
+
}
|
1662
|
+
this.updateFilter(layerExpression, defExpressions, filters);
|
1663
|
+
this.generateURLParams();
|
1664
|
+
this.filterUpdate.emit();
|
1665
|
+
}
|
1666
|
+
}
|
1667
|
+
numberWithCommas(num) {
|
1668
|
+
return num.toLocaleString('en-US', { maximumFractionDigits: 20 });
|
1669
|
+
}
|
1670
|
+
// If fieldInfo.format.places limits decimal digits then use this for min value to make sure the min is actually included in slider.
|
1671
|
+
// e.g. when using Math.round() with a min of 1.058 with only 2 decimal places would be 1.06 so the slider wouldn't contain the min. Math.floor() ensures it does.
|
1672
|
+
// Inverse of this reasoning for roundMaxNumberUp().
|
1673
|
+
roundMinNumberDown(num, decimalPlaces) {
|
1674
|
+
if (num == null)
|
1675
|
+
return;
|
1676
|
+
if (!('' + num).includes('e')) {
|
1677
|
+
return +(Math.floor((num + 'e+' + decimalPlaces)) + 'e-' + decimalPlaces);
|
1678
|
+
}
|
1679
|
+
else {
|
1680
|
+
var arr = ('' + num).split('e');
|
1681
|
+
var sig = '';
|
1682
|
+
if (+arr[1] + decimalPlaces > 0) {
|
1683
|
+
sig = '+';
|
1684
|
+
}
|
1685
|
+
return +(Math.floor((+arr[0] + 'e' + sig + (+arr[1] + decimalPlaces))) + 'e-' + decimalPlaces);
|
1686
|
+
}
|
1687
|
+
}
|
1688
|
+
roundMaxNumberUp(num, decimalPlaces) {
|
1689
|
+
if (num == null)
|
1690
|
+
return;
|
1691
|
+
if (!('' + num).includes('e')) {
|
1692
|
+
return +(Math.ceil((num + 'e+' + decimalPlaces)) + 'e-' + decimalPlaces);
|
1693
|
+
}
|
1694
|
+
else {
|
1695
|
+
var arr = ('' + num).split('e');
|
1696
|
+
var sig = '';
|
1697
|
+
if (+arr[1] + decimalPlaces > 0) {
|
1698
|
+
sig = '+';
|
1699
|
+
}
|
1700
|
+
return +(Math.ceil((+arr[0] + 'e' + sig + (+arr[1] + decimalPlaces))) + 'e-' + decimalPlaces);
|
1701
|
+
}
|
1702
|
+
}
|
1703
|
+
roundNumber(num, decimalPlaces) {
|
1704
|
+
if (num == null)
|
1705
|
+
return;
|
1706
|
+
if (!('' + num).includes('e')) {
|
1707
|
+
return +(Math.round((num + 'e+' + decimalPlaces)) + 'e-' + decimalPlaces);
|
1708
|
+
}
|
1709
|
+
else {
|
1710
|
+
var arr = ('' + num).split('e');
|
1711
|
+
var sig = '';
|
1712
|
+
if (+arr[1] + decimalPlaces > 0) {
|
1713
|
+
sig = '+';
|
1714
|
+
}
|
1715
|
+
return +(Math.round((+arr[0] + 'e' + sig + (+arr[1] + decimalPlaces))) + 'e-' + decimalPlaces);
|
1716
|
+
}
|
1717
|
+
}
|
1718
|
+
setExpressionFormat(layer, expression, field) {
|
1719
|
+
if ((layer === null || layer === void 0 ? void 0 : layer.popupTemplate) != null) {
|
1720
|
+
const fieldInfo = layer.popupTemplate.fieldInfos.find(({ fieldName }) => fieldName === field);
|
1721
|
+
expression.format = fieldInfo === null || fieldInfo === void 0 ? void 0 : fieldInfo.format;
|
1722
|
+
}
|
1723
|
+
}
|
1724
|
+
getInitDefExprFromLayer(layer) {
|
1725
|
+
var _a, _b, _c;
|
1726
|
+
return layer.type === 'sublayer' ? (_b = (_a = this.initMapImageExpressions) === null || _a === void 0 ? void 0 : _a[layer.layer.id]) === null || _b === void 0 ? void 0 : _b[layer.id] : (_c = this.initDefExpressions) === null || _c === void 0 ? void 0 : _c[layer.id];
|
1727
|
+
}
|
1728
|
+
getInitDefExprFromLayerExpression(layerExpression) {
|
1729
|
+
var _a, _b, _c;
|
1730
|
+
return (layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId) != null ? (_b = (_a = this.initMapImageExpressions) === null || _a === void 0 ? void 0 : _a[layerExpression.id]) === null || _b === void 0 ? void 0 : _b[layerExpression.sublayerId] : (_c = this.initDefExpressions) === null || _c === void 0 ? void 0 : _c[layerExpression.id];
|
1731
|
+
}
|
1732
|
+
findFilterLayer(layerExpression) {
|
1733
|
+
const allLayersAndTables = this.view.map.allLayers.concat(this.view.map.allTables);
|
1734
|
+
const layer = allLayersAndTables.find(({ id }) => id === layerExpression.id);
|
1735
|
+
if (layer.type === 'map-image') {
|
1736
|
+
return layer === null || layer === void 0 ? void 0 : layer.findSublayerById(layerExpression.sublayerId);
|
1737
|
+
}
|
1738
|
+
else {
|
1739
|
+
return layer;
|
1740
|
+
}
|
1741
|
+
}
|
1742
|
+
createLabel(expression, value) {
|
1743
|
+
var _a;
|
1744
|
+
let label = value;
|
1745
|
+
if (expression.type === 'coded-value') {
|
1746
|
+
label = (_a = expression.codedValues) === null || _a === void 0 ? void 0 : _a[value];
|
1747
|
+
}
|
1748
|
+
else if (expression.type === 'number' && typeof value === 'number' && expression.format != null) {
|
1749
|
+
if (expression.format.places != null) {
|
1750
|
+
label = this.roundNumber(value, expression.format.places);
|
1751
|
+
}
|
1752
|
+
if (expression.format.digitSeparator) {
|
1753
|
+
label = this.numberWithCommas(label);
|
1754
|
+
}
|
1755
|
+
}
|
1756
|
+
else if (expression.type === 'date' && !expression.dateOnly) {
|
1757
|
+
const format = expression.dateOnly ? this.intl.convertDateFormatToIntlOptions('short-date-long-time') : undefined;
|
1758
|
+
label = this.intl.formatDate(value, format);
|
1759
|
+
}
|
1760
|
+
return label;
|
1761
|
+
}
|
1762
|
+
buildDateExpression(date, field) {
|
1763
|
+
if (date) {
|
1764
|
+
const tmpDate = new Date(date);
|
1765
|
+
const tmpCompareDate = new Date(date);
|
1766
|
+
const tmpCompareDate1 = new Date(tmpCompareDate.setDate(tmpDate.getDate() + 1));
|
1767
|
+
const formattedDate = `${tmpDate.getFullYear()}-${tmpDate.getMonth() + 1}-${tmpDate.getDate()}`;
|
1768
|
+
const time = `${tmpDate.getHours()}:${tmpDate.getMinutes()}:${tmpDate.getSeconds()}`;
|
1769
|
+
const compareTime = `${tmpCompareDate1.getHours()}:${tmpCompareDate1.getMinutes()}:${tmpCompareDate1.getSeconds()}`;
|
1770
|
+
const compareFormattedDate = `${tmpCompareDate1.getFullYear()}-${tmpCompareDate1.getMonth() + 1}-${tmpCompareDate1.getDate()}`;
|
1771
|
+
return `${field} BETWEEN '${formattedDate} ${time}' AND '${compareFormattedDate} ${compareTime}'`;
|
1772
|
+
}
|
1773
|
+
return;
|
1774
|
+
}
|
1775
|
+
get el() { return getElement(this); }
|
1776
|
+
static get watchers() { return {
|
1777
|
+
"view": ["watchViewHandler"],
|
1778
|
+
"layerExpressions": ["watchLayerExpressions"]
|
1779
|
+
}; }
|
1780
|
+
};
|
1781
|
+
InstantAppsFilterList.style = instantAppsFilterListCss;
|
1782
|
+
|
1783
|
+
const instantAppsSocialShareCss = ":host{display:block;--instant-apps-social-share-action-width:initial;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}";
|
1784
|
+
|
1785
|
+
const base = 'instant-apps-social-share';
|
1786
|
+
const CALCITE_MODE_DARK = '.calcite-mode-dark';
|
1787
|
+
const CSS = {
|
1788
|
+
base,
|
1789
|
+
dialog: `${base}__dialog`,
|
1790
|
+
dialogEmbed: `${base}__dialog-embed`,
|
1791
|
+
dialogContent: `${base}__dialog-content`,
|
1792
|
+
options: `${base}__options`,
|
1793
|
+
tipContainer: `${base}__tip`,
|
1794
|
+
tipHeader: `${base}__tip-header`,
|
1795
|
+
tipContent: `${base}__tip-content`,
|
1796
|
+
icon: `${base}__icon`,
|
1797
|
+
iconContainer: `${base}__icon-container`,
|
1798
|
+
optionText: `${base}__option-text`,
|
1799
|
+
popoverButton: `${base}__popover-button`,
|
1800
|
+
layout: {
|
1801
|
+
vertical: `${base}__layout--vertical`,
|
1802
|
+
horizontal: `${base}__layout--horizontal`,
|
1803
|
+
},
|
1804
|
+
xLogo: {
|
1805
|
+
light: `${base}__x-logo--light`,
|
1806
|
+
dark: `${base}__x-logo--dark`,
|
1807
|
+
},
|
1808
|
+
success: {
|
1809
|
+
container: `${base}__success`,
|
1810
|
+
header: `${base}__success-header`,
|
1811
|
+
message: `${base}__success-message`,
|
1812
|
+
icon: `${base}__success-icon`,
|
1813
|
+
},
|
1814
|
+
embed: {
|
1815
|
+
container: `${base}__embed`,
|
1816
|
+
header: `${base}__embed-header`,
|
1817
|
+
embedCode: {
|
1818
|
+
container: `${base}__embed-code`,
|
1819
|
+
textArea: `${base}__embed-code-text-area`,
|
1820
|
+
copyButton: `${base}__embed-code-copy-button`,
|
1821
|
+
},
|
1822
|
+
textAreaText: `${base}__embed-text-area-text`,
|
1823
|
+
dimensions: {
|
1824
|
+
container: `${base}__embed-dimensions`,
|
1825
|
+
input: `${base}__embed-dimensions-input`,
|
1826
|
+
},
|
1827
|
+
},
|
1828
|
+
rtl: {
|
1829
|
+
optionText: `${base}__option-text--rtl`,
|
1830
|
+
textArea: `${base}__text-area--rtl`,
|
1831
|
+
},
|
1832
|
+
};
|
1833
|
+
const SOCIAL_URL_TEMPLATES = {
|
1834
|
+
facebook: 'https://www.facebook.com/sharer/sharer.php?u={url}',
|
1835
|
+
x: 'https://x.com/intent/post?url={url}',
|
1836
|
+
linkedIn: 'https://www.linkedin.com/sharing/share-offsite/?url={url}',
|
1837
|
+
};
|
1838
|
+
const SHORTEN_API = 'https://arcg.is/prod/shorten';
|
1839
|
+
const MIN_WIDTH_HEIGHT_VALUE = '1';
|
1840
|
+
const InstantAppsSocialShare = class {
|
1841
|
+
constructor(hostRef) {
|
1842
|
+
registerInstance(this, hostRef);
|
1843
|
+
this.mode = 'popover';
|
1844
|
+
this.shareUrl = window.location.href;
|
1845
|
+
this.autoUpdateShareUrl = true;
|
1846
|
+
this.shareText = '';
|
1847
|
+
this.embed = false;
|
1848
|
+
this.shareButtonColor = 'neutral';
|
1849
|
+
this.shareButtonType = 'button';
|
1850
|
+
this.shareButtonScale = undefined;
|
1851
|
+
this.iframeInnerText = '';
|
1852
|
+
this.popoverButtonIconScale = 'm';
|
1853
|
+
this.view = undefined;
|
1854
|
+
this.displayTipText = true;
|
1855
|
+
this.shortenShareUrl = true;
|
1856
|
+
this.socialMedia = true;
|
1857
|
+
this.shareIconsLayout = 'vertical';
|
1858
|
+
this.scale = 'm';
|
1859
|
+
this.successMessage = '';
|
1860
|
+
this.defaultUrlParams = null;
|
1861
|
+
this.inlineSuccessPopoverPlacement = 'trailing';
|
1862
|
+
this.messages = undefined;
|
1863
|
+
this.opened = false;
|
1864
|
+
this.copied = false;
|
1865
|
+
this.inlineCopyLinkOpened = false;
|
1866
|
+
this.inlineCopyEmbedOpened = false;
|
1867
|
+
this.embedWidth = 400;
|
1868
|
+
this.embedHeight = 600;
|
1869
|
+
}
|
1870
|
+
componentDidLoad() {
|
1871
|
+
var _a, _b;
|
1872
|
+
getMessages(this);
|
1873
|
+
this.setupAutoCloseListeners();
|
1874
|
+
if (this.mode === 'popover') {
|
1875
|
+
if (this.opened)
|
1876
|
+
this.popoverRef.open = true;
|
1877
|
+
this.popoverRef.addEventListener('calcitePopoverOpen', () => {
|
1878
|
+
if (!this.shareListRef)
|
1879
|
+
return;
|
1880
|
+
const firstNode = this.shareListRef.children[0];
|
1881
|
+
firstNode.focus();
|
1882
|
+
});
|
1883
|
+
this.popoverRef.addEventListener('keydown', this.handlePopoverRefKeyDown.bind(this));
|
1884
|
+
}
|
1885
|
+
if (this.embed) {
|
1886
|
+
(_a = this.embedWidthRef) === null || _a === void 0 ? void 0 : _a.addEventListener('change', this.updateDimensions.bind(this, 'width'));
|
1887
|
+
(_b = this.embedHeightRef) === null || _b === void 0 ? void 0 : _b.addEventListener('change', this.updateDimensions.bind(this, 'height'));
|
1888
|
+
}
|
1889
|
+
}
|
1890
|
+
disconnectedCallback() {
|
1891
|
+
var _a, _b, _c;
|
1892
|
+
document.documentElement.removeEventListener('click', this.autoCloseCallback.bind(this));
|
1893
|
+
if (this.mode === 'popover') {
|
1894
|
+
if (this.popoverRef != null) {
|
1895
|
+
this.popoverRef.removeEventListener('click', this.stopPropagationCallback.bind(this));
|
1896
|
+
this.popoverRef.removeEventListener('calcitePopoverClose', this.resetPopoverCopyState.bind(this));
|
1897
|
+
this.popoverRef.removeEventListener('keydown', this.handlePopoverRefKeyDown.bind(this));
|
1898
|
+
}
|
1899
|
+
}
|
1900
|
+
else {
|
1901
|
+
(_a = this.embedWidthRef) === null || _a === void 0 ? void 0 : _a.removeEventListener('change', this.updateDimensions.bind(this));
|
1902
|
+
(_b = this.embedHeightRef) === null || _b === void 0 ? void 0 : _b.removeEventListener('change', this.updateDimensions.bind(this));
|
1903
|
+
(_c = this.dialogContentRef) === null || _c === void 0 ? void 0 : _c.removeEventListener('click', this.stopPropagationCallback.bind(this));
|
1904
|
+
}
|
1905
|
+
}
|
1906
|
+
setupAutoCloseListeners() {
|
1907
|
+
var _a, _b, _c;
|
1908
|
+
document.documentElement.addEventListener('click', this.autoCloseCallback.bind(this));
|
1909
|
+
if (this.mode === 'popover') {
|
1910
|
+
(_a = this.popoverRef) === null || _a === void 0 ? void 0 : _a.addEventListener('click', this.stopPropagationCallback.bind(this));
|
1911
|
+
(_b = this.popoverRef) === null || _b === void 0 ? void 0 : _b.addEventListener('calcitePopoverClose', this.resetPopoverCopyState.bind(this));
|
1912
|
+
}
|
1913
|
+
else {
|
1914
|
+
(_c = this.dialogContentRef) === null || _c === void 0 ? void 0 : _c.addEventListener('click', this.stopPropagationCallback.bind(this));
|
1915
|
+
}
|
1916
|
+
}
|
1917
|
+
handlePopoverRefKeyDown(e) {
|
1918
|
+
var _a, _b;
|
1919
|
+
if (e.code === 'Tab') {
|
1920
|
+
if (!this.shareListRef)
|
1921
|
+
return;
|
1922
|
+
const node = e.target;
|
1923
|
+
const firstFocusableEl = this.shareListRef.children[0];
|
1924
|
+
const lastFocusableEl = this.shareListRef.children[((_a = this.shareListRef) === null || _a === void 0 ? void 0 : _a.children.length) - 1];
|
1925
|
+
if (e.shiftKey && node === firstFocusableEl) {
|
1926
|
+
e.preventDefault();
|
1927
|
+
lastFocusableEl.focus();
|
1928
|
+
}
|
1929
|
+
else if (!e.shiftKey && node === lastFocusableEl) {
|
1930
|
+
e.preventDefault();
|
1931
|
+
firstFocusableEl.focus();
|
1932
|
+
}
|
1933
|
+
}
|
1934
|
+
else if (e.code === 'Escape') {
|
1935
|
+
this.closePopover();
|
1936
|
+
(_b = this.popoverButtonRef) === null || _b === void 0 ? void 0 : _b.setFocus();
|
1937
|
+
}
|
1938
|
+
}
|
1939
|
+
autoCloseCallback() {
|
1940
|
+
if (this.mode === 'popover') {
|
1941
|
+
this.opened = false;
|
1942
|
+
this.popoverRef.open = this.opened;
|
1943
|
+
}
|
1944
|
+
else {
|
1945
|
+
if (this.copyLinkPopoverRef)
|
1946
|
+
this.copyLinkPopoverRef.open = false;
|
1947
|
+
this.inlineCopyLinkOpened = false;
|
1948
|
+
if (this.copyEmbedPopoverRef)
|
1949
|
+
this.copyEmbedPopoverRef.open = false;
|
1950
|
+
this.inlineCopyEmbedOpened = false;
|
1951
|
+
}
|
1952
|
+
}
|
1953
|
+
stopPropagationCallback(event) {
|
1954
|
+
event.stopPropagation();
|
1955
|
+
}
|
1956
|
+
resetPopoverCopyState() {
|
1957
|
+
var _a;
|
1958
|
+
(_a = this.popoverButtonRef) === null || _a === void 0 ? void 0 : _a.setFocus();
|
1959
|
+
setTimeout(() => {
|
1960
|
+
this.copied = false;
|
1961
|
+
}, 200);
|
1962
|
+
}
|
1963
|
+
updateDimensions(type) {
|
1964
|
+
var _a, _b;
|
1965
|
+
if (type === 'width') {
|
1966
|
+
const value = (_a = this.embedWidthRef) === null || _a === void 0 ? void 0 : _a.value;
|
1967
|
+
this.embedWidth = parseInt(value);
|
1968
|
+
}
|
1969
|
+
else {
|
1970
|
+
const value = (_b = this.embedHeightRef) === null || _b === void 0 ? void 0 : _b.value;
|
1971
|
+
this.embedHeight = parseInt(value);
|
1972
|
+
}
|
1973
|
+
}
|
1974
|
+
render() {
|
1975
|
+
var _a, _b, _c, _d, _e, _f;
|
1976
|
+
const content = this.copied && this.mode === 'popover' ? (this.renderSuccess()) : (h("div", { class: CSS.dialogContent }, this.renderOptions(), this.displayTipText ? this.renderTip() : null, this.embed ? this.renderEmbed() : null));
|
1977
|
+
const layoutClass = this.shareIconsLayout === 'vertical' ? ` ${CSS.layout.vertical}` : ` ${CSS.layout.horizontal}`;
|
1978
|
+
const dialogContent = (h("div", { ref: el => (this.dialogContentRef = el), class: `${CSS.dialog}${layoutClass}` }, content));
|
1979
|
+
return (h(Host, null, this.mode === 'popover'
|
1980
|
+
? [
|
1981
|
+
h("calcite-popover", { ref: (el) => (this.popoverRef = el), label: (_b = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.share) === null || _b === void 0 ? void 0 : _b.label, referenceElement: "shareButton", placement: "bottom-start", scale: this.scale }, dialogContent),
|
1982
|
+
this.renderButton(),
|
1983
|
+
]
|
1984
|
+
: [
|
1985
|
+
dialogContent,
|
1986
|
+
h("calcite-popover", { ref: (el) => (this.copyLinkPopoverRef = el), label: (_d = (_c = this.messages) === null || _c === void 0 ? void 0 : _c.share) === null || _d === void 0 ? void 0 : _d.label, referenceElement: "copyToClipboard", placement: this.inlineSuccessPopoverPlacement, scale: this.scale }, this.renderSuccess()),
|
1987
|
+
h("calcite-popover", { ref: (el) => (this.copyEmbedPopoverRef = el), label: (_f = (_e = this.messages) === null || _e === void 0 ? void 0 : _e.share) === null || _f === void 0 ? void 0 : _f.label, referenceElement: "copyEmbedToClipboard", placement: this.inlineSuccessPopoverPlacement, scale: this.scale }, this.renderEmbedSuccess()),
|
1988
|
+
]));
|
1989
|
+
}
|
1990
|
+
renderButton() {
|
1991
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
1992
|
+
const scale = this.shareButtonScale != null ? this.shareButtonScale : this.scale;
|
1993
|
+
return this.shareButtonType === 'button' ? (h("calcite-button", { ref: el => (this.popoverButtonRef = el), onClick: this.togglePopover.bind(this), id: "shareButton", class: CSS.popoverButton, kind: this.shareButtonColor, appearance: "transparent", label: (_b = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.share) === null || _b === void 0 ? void 0 : _b.label, title: (_d = (_c = this.messages) === null || _c === void 0 ? void 0 : _c.share) === null || _d === void 0 ? void 0 : _d.label, scale: scale }, h("div", { class: CSS.iconContainer }, h("calcite-icon", { icon: "share", scale: this.popoverButtonIconScale })))) : (h("calcite-action", { ref: el => (this.popoverButtonRef = el), onClick: this.togglePopover.bind(this), id: "shareButton", class: CSS.popoverButton, appearance: "transparent", label: (_f = (_e = this.messages) === null || _e === void 0 ? void 0 : _e.share) === null || _f === void 0 ? void 0 : _f.label, title: (_h = (_g = this.messages) === null || _g === void 0 ? void 0 : _g.share) === null || _h === void 0 ? void 0 : _h.label, scale: scale, text: "", alignment: "center" }, h("div", { class: CSS.iconContainer }, h("calcite-icon", { icon: "share", scale: this.popoverButtonIconScale }))));
|
1994
|
+
}
|
1995
|
+
renderSuccess() {
|
1996
|
+
var _a;
|
1997
|
+
const success = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.success;
|
1998
|
+
return (h("div", { class: CSS.success.container }, h("span", { class: CSS.success.header }, h("span", { class: CSS.success.icon }, h("calcite-icon", { icon: "check-circle-f", scale: this.scale })), success === null || success === void 0 ? void 0 :
|
1999
|
+
success.label), h("span", { class: CSS.success.message }, this.successMessage || (success === null || success === void 0 ? void 0 : success.url))));
|
2000
|
+
}
|
2001
|
+
renderEmbedSuccess() {
|
2002
|
+
var _a;
|
2003
|
+
const success = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.success;
|
2004
|
+
return (h("div", { class: CSS.success.container }, h("span", { class: CSS.success.header }, h("span", { class: CSS.success.icon }, h("calcite-icon", { icon: "check-circle-f", scale: this.scale })), success === null || success === void 0 ? void 0 :
|
2005
|
+
success.label), h("span", { class: CSS.success.message }, success === null || success === void 0 ? void 0 : success.embed)));
|
2006
|
+
}
|
2007
|
+
renderOptions() {
|
2008
|
+
var _a, _b, _c, _d;
|
2009
|
+
const options = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.options;
|
2010
|
+
const optionText_RTL = document.dir === 'rtl' ? ` ${CSS.rtl.optionText}` : '';
|
2011
|
+
return (h("ul", { ref: el => (this.shareListRef = el), class: CSS.options, role: "menu" }, h("li", { id: "copyToClipboard", onClick: this.handleShareItem.bind(this, 'link'), onKeyDown: this.handleOptionKeyDown('link'), role: "menuitem", tabindex: "0" }, h("span", { class: CSS.icon }, h("calcite-icon", { icon: "link", scale: this.scale })), h("span", { class: `${CSS.optionText}${optionText_RTL}` }, (_b = options === null || options === void 0 ? void 0 : options.link) === null || _b === void 0 ? void 0 : _b.label)), this.socialMedia
|
2012
|
+
? [
|
2013
|
+
h("li", { onClick: this.handleShareItem.bind(this, 'facebook'), onKeyDown: this.handleOptionKeyDown('facebook'), role: "menuitem", tabindex: "0" }, h("span", { class: CSS.icon }, this.renderFacebookIcon()), h("span", { class: `${CSS.optionText}${optionText_RTL}` }, (_c = options === null || options === void 0 ? void 0 : options.facebook) === null || _c === void 0 ? void 0 : _c.label)),
|
2014
|
+
h("li", { onClick: this.handleShareItem.bind(this, 'x'), onKeyDown: this.handleOptionKeyDown('x'), role: "menuitem", tabindex: "0" }, h("span", { class: CSS.icon }, this.renderXIcon()), h("span", { class: `${CSS.optionText}${optionText_RTL}` }, "X")),
|
2015
|
+
h("li", { onClick: this.handleShareItem.bind(this, 'linkedIn'), onKeyDown: this.handleOptionKeyDown('linkedIn'), role: "menuitem", tabindex: "0" }, h("span", { class: CSS.icon }, this.renderLinkedInIcon()), h("span", { class: `${CSS.optionText}${optionText_RTL}` }, (_d = options === null || options === void 0 ? void 0 : options.linkedIn) === null || _d === void 0 ? void 0 : _d.label)),
|
2016
|
+
]
|
2017
|
+
: null));
|
2018
|
+
}
|
2019
|
+
handleOptionKeyDown(type) {
|
2020
|
+
return (e) => {
|
2021
|
+
const keyCode = e.code;
|
2022
|
+
const canActivate = keyCode === 'Space' || keyCode === 'Enter';
|
2023
|
+
if (!canActivate)
|
2024
|
+
return;
|
2025
|
+
this.handleShareItem(type);
|
2026
|
+
};
|
2027
|
+
}
|
2028
|
+
renderFacebookIcon() {
|
2029
|
+
return (h("svg", { height: "100%", style: { fillRule: 'evenodd', clipRule: 'evenodd', strokeLinejoin: 'round', strokeMiterlimit: '2' }, version: "1.1", viewBox: "0 0 512 512", width: "100%", xmlns: "http://www.w3.org/2000/svg" }, h("g", null, h("path", { d: "M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z", style: { fill: '#1877f2', fillRule: 'nonzero' } }), h("path", { d: "M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z", style: { fill: '#fff', fillRule: 'nonzero' } }))));
|
2030
|
+
}
|
2031
|
+
renderXIcon() {
|
2032
|
+
const isCalciteModeDark = !!this.el.closest(CALCITE_MODE_DARK);
|
2033
|
+
return (h("svg", { class: isCalciteModeDark ? CSS.xLogo.dark : CSS.xLogo.light, width: "1200", height: "1227", viewBox: "0 0 1200 1227", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("rect", { height: "400", style: { fill: 'none' }, width: "400", x: "56", y: "56" }), h("path", { d: "M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z", fill: isCalciteModeDark ? 'white' : 'black' })));
|
2034
|
+
}
|
2035
|
+
renderLinkedInIcon() {
|
2036
|
+
return (h("svg", { height: "100%", style: { fillRule: 'evenodd', clipRule: 'evenodd', strokeLinejoin: 'round', strokeMiterlimit: '2' }, version: "1.1", viewBox: "0 0 512 512", width: "100%", xmlns: "http://www.w3.org/2000/svg" }, h("g", { id: "g5891" }, h("path", { d: "M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z", id: "background", style: { fill: '#2867b2' } }), h("g", { id: "shapes" }, h("rect", { height: "257.962", id: "rect11", style: { fill: '#fff' }, width: "85.76", x: "61.053", y: "178.667" }), h("path", { d: "M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z", id: "path13-0", style: { fill: '#fff', fillRule: 'nonzero' } }), h("path", { d: "M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z", id: "path15", style: { fill: '#fff', fillRule: 'nonzero' } })))));
|
2037
|
+
}
|
2038
|
+
renderTip() {
|
2039
|
+
var _a;
|
2040
|
+
const info = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.info;
|
2041
|
+
return (h("div", { class: CSS.tipContainer }, h("span", { class: CSS.tipHeader }, h("calcite-icon", { icon: "lightbulb", scale: this.scale }), h("span", null, info === null || info === void 0 ? void 0 : info.label)), h("p", { class: CSS.tipContent }, info === null || info === void 0 ? void 0 : info.tooltip)));
|
2042
|
+
}
|
2043
|
+
renderEmbed() {
|
2044
|
+
var _a, _b, _c;
|
2045
|
+
const embedMessages = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.embed;
|
2046
|
+
const textarea_RTL = document.dir === 'rtl' ? ` ${CSS.rtl.textArea}` : '';
|
2047
|
+
return (h("div", { class: CSS.embed.container }, h("span", { class: CSS.embed.header }, h("calcite-icon", { icon: "code", scale: this.scale }), h("span", null, (_c = (_b = this.messages) === null || _b === void 0 ? void 0 : _b.embed) === null || _c === void 0 ? void 0 : _c.label)), h("div", { class: CSS.embed.embedCode.container }, h("div", { class: CSS.embed.embedCode.textArea }, h("textarea", { ref: el => (this.embedCodeRef = el), cols: 30, rows: 5, readonly: true, class: textarea_RTL, value: this.getEmbedCode() }), h("button", { id: "copyEmbedToClipboard", onClick: this.copyEmbedCode.bind(this), class: CSS.embed.embedCode.copyButton }, h("calcite-icon", { icon: "copy", scale: this.scale }), h("span", null, embedMessages === null || embedMessages === void 0 ? void 0 : embedMessages.copy))), h("span", { class: CSS.embed.textAreaText }, h("slot", { name: "text-area-text" })), h("div", { class: CSS.embed.dimensions.container }, h("label", { class: CSS.embed.dimensions.input }, h("span", null, embedMessages === null || embedMessages === void 0 ? void 0 : embedMessages.width), h("input", { ref: el => (this.embedWidthRef = el), type: "number", onKeyDown: e => ['e', 'E', '+', '-'].includes(e.key) && e.preventDefault(), onChange: this.handleNumberInputOnChange('width'), value: this.embedWidth, min: "1" })), h("label", { class: CSS.embed.dimensions.input }, h("span", null, embedMessages === null || embedMessages === void 0 ? void 0 : embedMessages.height), h("input", { ref: el => (this.embedHeightRef = el), type: "number", onKeyDown: e => ['e', 'E', '+', '-'].includes(e.key) && e.preventDefault(), onChange: this.handleNumberInputOnChange('height'), value: this.embedHeight, min: "1" }))))));
|
2048
|
+
}
|
2049
|
+
handleNumberInputOnChange(type) {
|
2050
|
+
const ref = (type === 'width' ? this.embedWidthRef : this.embedHeightRef);
|
2051
|
+
const valType = type === 'width' ? 'embedWidth' : 'embedHeight';
|
2052
|
+
return () => {
|
2053
|
+
if (ref) {
|
2054
|
+
const value = parseFloat(ref.value);
|
2055
|
+
if (value <= 0) {
|
2056
|
+
this[valType] = parseInt(MIN_WIDTH_HEIGHT_VALUE);
|
2057
|
+
ref.value = MIN_WIDTH_HEIGHT_VALUE;
|
2058
|
+
}
|
2059
|
+
}
|
2060
|
+
};
|
2061
|
+
}
|
2062
|
+
togglePopover(event) {
|
2063
|
+
event.stopPropagation();
|
2064
|
+
this.opened = !this.opened;
|
2065
|
+
this.popoverRef.open = this.opened;
|
2066
|
+
}
|
2067
|
+
closePopover() {
|
2068
|
+
this.opened = false;
|
2069
|
+
this.popoverRef.open = this.opened;
|
2070
|
+
}
|
2071
|
+
async handleShareItem(type) {
|
2072
|
+
var _a, _b, _c, _d;
|
2073
|
+
this.shareUrl = await this.generateShareUrl();
|
2074
|
+
let shortenedUrl = null;
|
2075
|
+
// Detects Safari - If Safari, do not shorten URL due to Safari not allowing clipboard copy after network requests
|
2076
|
+
const isChrome = (_b = (_a = navigator === null || navigator === void 0 ? void 0 : navigator.userAgent) === null || _a === void 0 ? void 0 : _a.includes('Chrome')) !== null && _b !== void 0 ? _b : false;
|
2077
|
+
const isSafari = ((_d = (_c = navigator === null || navigator === void 0 ? void 0 : navigator.userAgent) === null || _c === void 0 ? void 0 : _c.includes('Safari')) !== null && _d !== void 0 ? _d : false) && !isChrome;
|
2078
|
+
if (!isSafari && this.shortenShareUrl) {
|
2079
|
+
shortenedUrl = await this.shortenUrl(this.shareUrl);
|
2080
|
+
}
|
2081
|
+
let urlToUse = shortenedUrl ? shortenedUrl : this.shareUrl;
|
2082
|
+
switch (type) {
|
2083
|
+
case 'link':
|
2084
|
+
navigator.clipboard.writeText(urlToUse);
|
2085
|
+
if (this.embed) {
|
2086
|
+
this.copyEmbedPopoverRef.open = false;
|
2087
|
+
this.inlineCopyEmbedOpened = false;
|
2088
|
+
}
|
2089
|
+
if (this.mode === 'inline') {
|
2090
|
+
this.copyLinkPopoverRef.open = true;
|
2091
|
+
setTimeout(() => (this.copyLinkPopoverRef.open = false), 3000);
|
2092
|
+
}
|
2093
|
+
this.inlineCopyLinkOpened = true;
|
2094
|
+
this.copied = true;
|
2095
|
+
if (this.mode === 'popover')
|
2096
|
+
setTimeout(() => this.closePopover(), 2000);
|
2097
|
+
return;
|
2098
|
+
case 'facebook':
|
2099
|
+
case 'x':
|
2100
|
+
case 'linkedIn':
|
2101
|
+
let socialWin;
|
2102
|
+
if (isSafari) {
|
2103
|
+
socialWin = window.open('', '_blank');
|
2104
|
+
if (this.shortenShareUrl) {
|
2105
|
+
urlToUse = (await this.shortenUrl(this.shareUrl)) || urlToUse;
|
2106
|
+
}
|
2107
|
+
}
|
2108
|
+
const urlData = {
|
2109
|
+
url: encodeURI(urlToUse),
|
2110
|
+
};
|
2111
|
+
const data = type === 'x' ? Object.assign(Object.assign({}, urlData), { text: this.shareText }) : urlData;
|
2112
|
+
const [intl] = await loadModules(['esri/intl']);
|
2113
|
+
const url = intl.substitute(SOCIAL_URL_TEMPLATES[type], data);
|
2114
|
+
if (this.mode === 'popover') {
|
2115
|
+
this.closePopover();
|
2116
|
+
}
|
2117
|
+
// With Safari, need to open new tab using the triggering event, so add shortened URL after opening.
|
2118
|
+
// Safari truncates URL without this approach.
|
2119
|
+
if (isSafari && socialWin) {
|
2120
|
+
socialWin.location = url;
|
2121
|
+
socialWin.focus();
|
2122
|
+
}
|
2123
|
+
else {
|
2124
|
+
window.open(encodeURI(url), '_blank');
|
2125
|
+
}
|
2126
|
+
return;
|
2127
|
+
}
|
2128
|
+
}
|
2129
|
+
async shortenUrl(url) {
|
2130
|
+
var _a, _b;
|
2131
|
+
const [esriRequest] = await loadModules(['esri/request']);
|
2132
|
+
const request = await esriRequest(SHORTEN_API, {
|
2133
|
+
query: {
|
2134
|
+
longUrl: url,
|
2135
|
+
f: 'json',
|
2136
|
+
},
|
2137
|
+
});
|
2138
|
+
const shortUrl = (_b = (_a = request === null || request === void 0 ? void 0 : request.data) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.url;
|
2139
|
+
if (shortUrl) {
|
2140
|
+
return shortUrl.replace('http://', 'https://');
|
2141
|
+
}
|
2142
|
+
}
|
2143
|
+
getEmbedCode() {
|
2144
|
+
return `<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`;
|
2145
|
+
}
|
2146
|
+
copyEmbedCode() {
|
2147
|
+
navigator.clipboard.writeText(this.getEmbedCode());
|
2148
|
+
this.copyLinkPopoverRef.open = false;
|
2149
|
+
this.inlineCopyLinkOpened = false;
|
2150
|
+
this.copyEmbedPopoverRef.open = true;
|
2151
|
+
setTimeout(() => (this.copyEmbedPopoverRef.open = false), 3000);
|
2152
|
+
this.inlineCopyEmbedOpened = true;
|
2153
|
+
}
|
2154
|
+
// VIEW LOGIC
|
2155
|
+
async generateShareUrl() {
|
2156
|
+
var _a;
|
2157
|
+
if (this.autoUpdateShareUrl) {
|
2158
|
+
// Update shareUrl--it may have changes since the component was loaded
|
2159
|
+
this.shareUrl = window.location.href;
|
2160
|
+
}
|
2161
|
+
// If view is not ready
|
2162
|
+
if (!this.view || !((_a = this.view) === null || _a === void 0 ? void 0 : _a.ready)) {
|
2163
|
+
return this.shareUrl;
|
2164
|
+
}
|
2165
|
+
// Use x/y values and the spatial reference of the view to instantiate a geometry point
|
2166
|
+
const { x, y } = this.view.center;
|
2167
|
+
const { spatialReference } = this.view;
|
2168
|
+
const [Point, SpatialReference] = await loadModules(['esri/geometry/Point', 'esri/geometry/SpatialReference']);
|
2169
|
+
const updatedSpatialReference = new SpatialReference(Object.assign({}, spatialReference.toJSON()));
|
2170
|
+
const centerPoint = new Point({
|
2171
|
+
x,
|
2172
|
+
y,
|
2173
|
+
spatialReference: updatedSpatialReference,
|
2174
|
+
});
|
2175
|
+
// Use pointToConvert to project point. Once projected, pass point to generate the share URL parameters
|
2176
|
+
const point = await this.processPoint(centerPoint);
|
2177
|
+
const { isWGS84, isWebMercator } = point.spatialReference;
|
2178
|
+
const isNotProjected = isWGS84 || isWebMercator;
|
2179
|
+
return this.generateShareUrlParams(point, isNotProjected);
|
2180
|
+
}
|
2181
|
+
async processPoint(point) {
|
2182
|
+
const { isWGS84, isWebMercator } = point.spatialReference;
|
2183
|
+
// If spatial reference is WGS84 or Web Mercator, use longitude/latitude values to generate the share URL parameters
|
2184
|
+
if (isWGS84 || isWebMercator) {
|
2185
|
+
return point;
|
2186
|
+
}
|
2187
|
+
const [SpatialReference, projection] = await loadModules(['esri/geometry/SpatialReference', 'esri/geometry/projection']);
|
2188
|
+
const outputSpatialReference = new SpatialReference({ wkid: 4326 });
|
2189
|
+
try {
|
2190
|
+
await projection.load();
|
2191
|
+
const projectedPoint = projection.project(point, outputSpatialReference);
|
2192
|
+
return Promise.resolve(projectedPoint);
|
2193
|
+
}
|
2194
|
+
catch (err) {
|
2195
|
+
console.error('Failed to project point', err);
|
2196
|
+
return Promise.reject(null);
|
2197
|
+
}
|
2198
|
+
}
|
2199
|
+
generateShareUrlParams(point, isNotProjected) {
|
2200
|
+
var _a, _b, _c, _d;
|
2201
|
+
const { longitude, latitude, x, y } = point;
|
2202
|
+
if (longitude === undefined || latitude === undefined) {
|
2203
|
+
return this.shareUrl;
|
2204
|
+
}
|
2205
|
+
const roundedLon = this.roundValue(isNotProjected ? longitude : x);
|
2206
|
+
const roundedLat = this.roundValue(isNotProjected ? latitude : y);
|
2207
|
+
const { zoom } = this.view;
|
2208
|
+
const roundedZoom = this.roundValue(zoom);
|
2209
|
+
const graphic = (_b = (_a = this.view) === null || _a === void 0 ? void 0 : _a.popup) === null || _b === void 0 ? void 0 : _b.selectedFeature;
|
2210
|
+
const visible = (_d = (_c = this.view) === null || _c === void 0 ? void 0 : _c.popup) === null || _d === void 0 ? void 0 : _d.visible;
|
2211
|
+
let layerId;
|
2212
|
+
let oid;
|
2213
|
+
if (graphic && visible) {
|
2214
|
+
const featureLayer = graphic === null || graphic === void 0 ? void 0 : graphic.layer;
|
2215
|
+
layerId = featureLayer.id;
|
2216
|
+
oid = graphic.attributes[featureLayer.objectIdField];
|
2217
|
+
}
|
2218
|
+
const hiddenLayers = this.view.map.allLayers
|
2219
|
+
.filter(layer => !layer.visible)
|
2220
|
+
.toArray()
|
2221
|
+
.map(featureLayer => featureLayer.id)
|
2222
|
+
.toString()
|
2223
|
+
.replaceAll(',', ';');
|
2224
|
+
const { type } = this.view;
|
2225
|
+
const { defaultUrlParams } = this;
|
2226
|
+
const url = new URL(this.shareUrl);
|
2227
|
+
const { searchParams } = url;
|
2228
|
+
// Resets existing URL params
|
2229
|
+
if (searchParams.get('center'))
|
2230
|
+
searchParams.delete('center');
|
2231
|
+
if (searchParams.get('level'))
|
2232
|
+
searchParams.delete('level');
|
2233
|
+
if (searchParams.get('selectedFeature'))
|
2234
|
+
searchParams.delete('selectedFeature');
|
2235
|
+
if (searchParams.get('hiddenLayers'))
|
2236
|
+
searchParams.delete('hiddenLayers');
|
2237
|
+
if (searchParams.get('viewpoint'))
|
2238
|
+
searchParams.delete('viewpoint');
|
2239
|
+
// Checks if view.type is 3D, if so, set 3D url parameters
|
2240
|
+
if (type === '3d') {
|
2241
|
+
// viewpoint=cam:{camera.position.longitude},{camera.position.latitude},{camera.position.z};{camera.heading},{camera.tilt}
|
2242
|
+
const { camera } = this.view;
|
2243
|
+
const { heading, position, tilt } = camera;
|
2244
|
+
const { longitude, latitude, z } = position;
|
2245
|
+
const viewpoint_Values = {
|
2246
|
+
longitude: this.roundValue(longitude, 8),
|
2247
|
+
latitude: this.roundValue(latitude, 8),
|
2248
|
+
z: this.roundValue(z, 3),
|
2249
|
+
heading: this.roundValue(heading, 3),
|
2250
|
+
tilt: this.roundValue(tilt, 3),
|
2251
|
+
};
|
2252
|
+
const viewpointVal = `cam:${viewpoint_Values.longitude},${viewpoint_Values.latitude},${viewpoint_Values.z};${viewpoint_Values.heading},${viewpoint_Values.tilt}`;
|
2253
|
+
if ((defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.viewpoint) !== false)
|
2254
|
+
url.searchParams.set('viewpoint', viewpointVal);
|
2255
|
+
if (layerId && oid && (defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.selectedFeature) !== false)
|
2256
|
+
url.searchParams.set('selectedFeature', `${layerId};${oid}`);
|
2257
|
+
if (hiddenLayers && (defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.hiddenLayers) !== false)
|
2258
|
+
url.searchParams.set('hiddenLayers', hiddenLayers);
|
2259
|
+
url.search = decodeURIComponent(url.search);
|
2260
|
+
return url.href;
|
2261
|
+
}
|
2262
|
+
// Otherwise, just return original url for 2D
|
2263
|
+
if ((defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.center) !== false)
|
2264
|
+
url.searchParams.set('center', `${roundedLon};${roundedLat}`);
|
2265
|
+
if ((defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.level) !== false)
|
2266
|
+
url.searchParams.set('level', `${roundedZoom}`);
|
2267
|
+
if (layerId && oid && (defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.selectedFeature) !== false)
|
2268
|
+
url.searchParams.set('selectedFeature', `${layerId};${oid}`);
|
2269
|
+
if (hiddenLayers && (defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.hiddenLayers) !== false)
|
2270
|
+
url.searchParams.set('hiddenLayers', hiddenLayers);
|
2271
|
+
url.search = decodeURIComponent(url.search);
|
2272
|
+
return url.href;
|
2273
|
+
}
|
2274
|
+
roundValue(val, decimalPoints = 4) {
|
2275
|
+
return parseFloat(val.toFixed(decimalPoints));
|
2276
|
+
}
|
2277
|
+
get el() { return getElement(this); }
|
2278
|
+
};
|
2279
|
+
InstantAppsSocialShare.style = instantAppsSocialShareCss;
|
2280
|
+
|
2281
|
+
export { InputDatePicker as calcite_input_date_picker, InstantAppsFilterList as instant_apps_filter_list, InstantAppsSocialShare as instant_apps_social_share };
|