@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
@@ -1,2992 +0,0 @@
|
|
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
|
-
'use strict';
|
7
|
-
|
8
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
9
|
-
|
10
|
-
const index = require('./index-696e53e6.js');
|
11
|
-
const conditionalSlot = require('./conditionalSlot-99fb1621.js');
|
12
|
-
const dom = require('./dom-1c78fa73.js');
|
13
|
-
const interactive = require('./interactive-34bc91a0.js');
|
14
|
-
const locale = require('./locale-73a540a5.js');
|
15
|
-
const t9n = require('./t9n-d347df79.js');
|
16
|
-
const Heading = require('./Heading-15954ee0.js');
|
17
|
-
const loadable = require('./loadable-53f1d561.js');
|
18
|
-
const openCloseComponent = require('./openCloseComponent-b85eabb5.js');
|
19
|
-
const date = require('./date-00fc3e5c.js');
|
20
|
-
const floatingUi = require('./floating-ui-d90077fa.js');
|
21
|
-
const form = require('./form-eea3b222.js');
|
22
|
-
const key = require('./key-7ed07912.js');
|
23
|
-
const label = require('./label-85cf6821.js');
|
24
|
-
const focusTrapComponent = require('./focusTrapComponent-0c672330.js');
|
25
|
-
const guid = require('./guid-a7528dfa.js');
|
26
|
-
const component = require('./component-d48747c9.js');
|
27
|
-
const Validation = require('./Validation-0ed2f4a3.js');
|
28
|
-
const loadModules = require('./loadModules-8567855e.js');
|
29
|
-
const locale$1 = require('./locale-1d07e942.js');
|
30
|
-
const mode = require('./mode-3478ba36.js');
|
31
|
-
require('./observers-a2648fc8.js');
|
32
|
-
require('./resources-1c0e54c1.js');
|
33
|
-
require('./browser-6137dfdf.js');
|
34
|
-
require('./debounce-7f1e04d6.js');
|
35
|
-
require('./esri-loader-08dc41bd.js');
|
36
|
-
require('./_commonjsHelpers-baf43783.js');
|
37
|
-
require('./languageUtil-a3e1eafd.js');
|
38
|
-
|
39
|
-
/*!
|
40
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
41
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
42
|
-
* v2.8.2
|
43
|
-
*/
|
44
|
-
const IDS = {
|
45
|
-
content: "content",
|
46
|
-
toggle: "toggle",
|
47
|
-
header: "header",
|
48
|
-
};
|
49
|
-
const CSS$3 = {
|
50
|
-
button: "button",
|
51
|
-
container: "container",
|
52
|
-
content: "content",
|
53
|
-
controlContainer: "control-container",
|
54
|
-
description: "description",
|
55
|
-
header: "header",
|
56
|
-
headerContainer: "header-container",
|
57
|
-
heading: "heading",
|
58
|
-
icon: "icon",
|
59
|
-
invalid: "invalid",
|
60
|
-
statusIcon: "status-icon",
|
61
|
-
summary: "summary",
|
62
|
-
title: "title",
|
63
|
-
toggle: "toggle",
|
64
|
-
toggleIcon: "toggle-icon",
|
65
|
-
valid: "valid",
|
66
|
-
};
|
67
|
-
const SLOTS = {
|
68
|
-
icon: "icon",
|
69
|
-
control: "control",
|
70
|
-
headerMenuActions: "header-menu-actions",
|
71
|
-
};
|
72
|
-
const ICONS = {
|
73
|
-
opened: "chevron-up",
|
74
|
-
closed: "chevron-down",
|
75
|
-
valid: "check-circle",
|
76
|
-
invalid: "exclamation-mark-triangle",
|
77
|
-
};
|
78
|
-
|
79
|
-
const blockCss = ":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}: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{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:\"handle header control menu\";grid-column:header-start/menu-end;grid-row:1/2}.toggle{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:var(--calcite-font-family);outline-color:transparent;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-color-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px;padding:0.75rem}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-color-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.description{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text-3);word-wrap:break-word;word-break:break-word}.icon{display:flex;margin-inline-start:0.75rem;margin-inline-end:0px}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}.toggle-icon{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-color-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:0.75rem;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-color-text-1)}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;min-block-size:0px;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}.control-container{margin:0px;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-block:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-color-text-1)}:host([hidden]){display:none}[hidden]{display:none}";
|
80
|
-
const CalciteBlockStyle0 = blockCss;
|
81
|
-
|
82
|
-
const Block = class {
|
83
|
-
constructor(hostRef) {
|
84
|
-
index.registerInstance(this, hostRef);
|
85
|
-
this.calciteBlockBeforeClose = index.createEvent(this, "calciteBlockBeforeClose", 6);
|
86
|
-
this.calciteBlockBeforeOpen = index.createEvent(this, "calciteBlockBeforeOpen", 6);
|
87
|
-
this.calciteBlockClose = index.createEvent(this, "calciteBlockClose", 6);
|
88
|
-
this.calciteBlockOpen = index.createEvent(this, "calciteBlockOpen", 6);
|
89
|
-
this.calciteBlockToggle = index.createEvent(this, "calciteBlockToggle", 6);
|
90
|
-
this.openTransitionProp = "opacity";
|
91
|
-
// --------------------------------------------------------------------------
|
92
|
-
//
|
93
|
-
// Private Methods
|
94
|
-
//
|
95
|
-
// --------------------------------------------------------------------------
|
96
|
-
this.onHeaderClick = () => {
|
97
|
-
this.open = !this.open;
|
98
|
-
this.calciteBlockToggle.emit();
|
99
|
-
};
|
100
|
-
this.setTransitionEl = (el) => {
|
101
|
-
this.transitionEl = el;
|
102
|
-
};
|
103
|
-
this.collapsible = false;
|
104
|
-
this.disabled = false;
|
105
|
-
this.dragHandle = false;
|
106
|
-
this.heading = undefined;
|
107
|
-
this.headingLevel = undefined;
|
108
|
-
this.loading = false;
|
109
|
-
this.open = false;
|
110
|
-
this.status = undefined;
|
111
|
-
this.description = undefined;
|
112
|
-
this.messages = undefined;
|
113
|
-
this.messageOverrides = undefined;
|
114
|
-
this.overlayPositioning = "absolute";
|
115
|
-
this.effectiveLocale = undefined;
|
116
|
-
this.defaultMessages = undefined;
|
117
|
-
}
|
118
|
-
openHandler() {
|
119
|
-
openCloseComponent.onToggleOpenCloseComponent(this);
|
120
|
-
}
|
121
|
-
onMessagesChange() {
|
122
|
-
/* wired up by t9n util */
|
123
|
-
}
|
124
|
-
//--------------------------------------------------------------------------
|
125
|
-
//
|
126
|
-
// Public Methods
|
127
|
-
//
|
128
|
-
//--------------------------------------------------------------------------
|
129
|
-
/**
|
130
|
-
* Sets focus on the component's first tabbable element.
|
131
|
-
*
|
132
|
-
*/
|
133
|
-
async setFocus() {
|
134
|
-
await loadable.componentFocusable(this);
|
135
|
-
dom.focusFirstTabbable(this.el);
|
136
|
-
}
|
137
|
-
onBeforeOpen() {
|
138
|
-
this.calciteBlockBeforeOpen.emit();
|
139
|
-
}
|
140
|
-
onOpen() {
|
141
|
-
this.calciteBlockOpen.emit();
|
142
|
-
}
|
143
|
-
onBeforeClose() {
|
144
|
-
this.calciteBlockBeforeClose.emit();
|
145
|
-
}
|
146
|
-
onClose() {
|
147
|
-
this.calciteBlockClose.emit();
|
148
|
-
}
|
149
|
-
effectiveLocaleChange() {
|
150
|
-
t9n.updateMessages(this, this.effectiveLocale);
|
151
|
-
}
|
152
|
-
// --------------------------------------------------------------------------
|
153
|
-
//
|
154
|
-
// Lifecycle
|
155
|
-
//
|
156
|
-
// --------------------------------------------------------------------------
|
157
|
-
connectedCallback() {
|
158
|
-
conditionalSlot.connectConditionalSlotComponent(this);
|
159
|
-
interactive.connectInteractive(this);
|
160
|
-
locale.connectLocalized(this);
|
161
|
-
t9n.connectMessages(this);
|
162
|
-
}
|
163
|
-
disconnectedCallback() {
|
164
|
-
interactive.disconnectInteractive(this);
|
165
|
-
locale.disconnectLocalized(this);
|
166
|
-
t9n.disconnectMessages(this);
|
167
|
-
conditionalSlot.disconnectConditionalSlotComponent(this);
|
168
|
-
}
|
169
|
-
async componentWillLoad() {
|
170
|
-
await t9n.setUpMessages(this);
|
171
|
-
loadable.setUpLoadableComponent(this);
|
172
|
-
if (this.open) {
|
173
|
-
openCloseComponent.onToggleOpenCloseComponent(this);
|
174
|
-
}
|
175
|
-
}
|
176
|
-
componentDidLoad() {
|
177
|
-
loadable.setComponentLoaded(this);
|
178
|
-
}
|
179
|
-
componentDidRender() {
|
180
|
-
interactive.updateHostInteraction(this);
|
181
|
-
}
|
182
|
-
// --------------------------------------------------------------------------
|
183
|
-
//
|
184
|
-
// Render Methods
|
185
|
-
//
|
186
|
-
// --------------------------------------------------------------------------
|
187
|
-
renderScrim() {
|
188
|
-
const { loading } = this;
|
189
|
-
const defaultSlot = index.h("slot", null);
|
190
|
-
return [loading ? index.h("calcite-scrim", { loading: loading }) : null, defaultSlot];
|
191
|
-
}
|
192
|
-
renderIcon() {
|
193
|
-
const { loading, messages, status } = this;
|
194
|
-
const hasSlottedIcon = !!dom.getSlotted(this.el, SLOTS.icon);
|
195
|
-
return loading ? (index.h("div", { class: CSS$3.icon, key: "loader" }, index.h("calcite-loader", { inline: true, label: messages.loading }))) : !!status ? (index.h("div", { class: CSS$3.icon, key: "status-icon" }, index.h("calcite-icon", { class: {
|
196
|
-
[CSS$3.statusIcon]: true,
|
197
|
-
[CSS$3.valid]: status == "valid",
|
198
|
-
[CSS$3.invalid]: status == "invalid",
|
199
|
-
}, icon: ICONS[status], scale: "s" }))) : hasSlottedIcon ? (index.h("div", { class: CSS$3.icon, key: "icon-slot" }, index.h("slot", { key: "icon-slot", name: SLOTS.icon }))) : null;
|
200
|
-
}
|
201
|
-
renderTitle() {
|
202
|
-
const { heading, headingLevel, description } = this;
|
203
|
-
return heading || description ? (index.h("div", { class: CSS$3.title }, index.h(Heading.Heading, { class: CSS$3.heading, level: headingLevel }, heading), description ? index.h("div", { class: CSS$3.description }, description) : null)) : null;
|
204
|
-
}
|
205
|
-
render() {
|
206
|
-
const { collapsible, el, loading, open, heading, messages } = this;
|
207
|
-
const toggleLabel = open ? messages.collapse : messages.expand;
|
208
|
-
const headerContent = (index.h("header", { key: 'aefae50b975f87b21c9b37f7eae2df49062ee5f8', class: CSS$3.header, id: IDS.header }, this.renderIcon(), this.renderTitle()));
|
209
|
-
const hasControl = !!dom.getSlotted(el, SLOTS.control);
|
210
|
-
const hasMenuActions = !!dom.getSlotted(el, SLOTS.headerMenuActions);
|
211
|
-
const collapseIcon = open ? ICONS.opened : ICONS.closed;
|
212
|
-
const headerNode = (index.h("div", { key: 'f8c5ce075f5d83e483ee3d2d62fd187fd0987b30', class: CSS$3.headerContainer }, this.dragHandle ? index.h("calcite-handle", { label: heading }) : null, collapsible ? (index.h("button", { "aria-controls": IDS.content, "aria-describedby": IDS.header, "aria-expanded": collapsible ? dom.toAriaBoolean(open) : null, class: CSS$3.toggle, id: IDS.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, index.h("calcite-icon", { "aria-hidden": "true", class: CSS$3.toggleIcon, icon: collapseIcon, scale: "s" }))) : (headerContent), hasControl ? (index.h("div", { class: CSS$3.controlContainer }, index.h("slot", { name: SLOTS.control }))) : null, hasMenuActions ? (index.h("calcite-action-menu", { label: messages.options, overlayPositioning: this.overlayPositioning }, index.h("slot", { name: SLOTS.headerMenuActions }))) : null));
|
213
|
-
return (index.h(index.Host, { key: '8e984813d8283475171ad0b58bb77c6671da394c' }, index.h(interactive.InteractiveContainer, { key: '9757aa3d3d51eeca2eece6b7fcf1ed2bdbc9d4eb', disabled: this.disabled }, index.h("article", { key: '6722572eb61cf147e473bd237bff74bafde0af56', "aria-busy": dom.toAriaBoolean(loading), class: {
|
214
|
-
[CSS$3.container]: true,
|
215
|
-
} }, headerNode, index.h("section", { key: '14a1118f4b8a7d3f8ddc063cbcd2ba062090973a', "aria-labelledby": IDS.toggle, class: CSS$3.content, hidden: !open, id: IDS.content,
|
216
|
-
// 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)
|
217
|
-
ref: this.setTransitionEl }, this.renderScrim())))));
|
218
|
-
}
|
219
|
-
static get assetsDirs() { return ["assets"]; }
|
220
|
-
get el() { return index.getElement(this); }
|
221
|
-
static get watchers() { return {
|
222
|
-
"open": ["openHandler"],
|
223
|
-
"messageOverrides": ["onMessagesChange"],
|
224
|
-
"effectiveLocale": ["effectiveLocaleChange"]
|
225
|
-
}; }
|
226
|
-
};
|
227
|
-
Block.style = CalciteBlockStyle0;
|
228
|
-
|
229
|
-
/*!
|
230
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
231
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
232
|
-
* v2.8.2
|
233
|
-
*/
|
234
|
-
const HEADING_LEVEL = 2;
|
235
|
-
const DATE_PICKER_FORMAT_OPTIONS = { dateStyle: "full" };
|
236
|
-
|
237
|
-
/*!
|
238
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
239
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
240
|
-
* v2.8.2
|
241
|
-
*/
|
242
|
-
/**
|
243
|
-
* CLDR cache.
|
244
|
-
* Exported for testing purposes.
|
245
|
-
*
|
246
|
-
* @private
|
247
|
-
*/
|
248
|
-
const translationCache = {};
|
249
|
-
/**
|
250
|
-
* CLDR request cache.
|
251
|
-
* Exported for testing purposes.
|
252
|
-
*
|
253
|
-
* @private
|
254
|
-
*/
|
255
|
-
const requestCache = {};
|
256
|
-
/**
|
257
|
-
* Fetch calendar data for a given locale from list of supported languages
|
258
|
-
*
|
259
|
-
* @param lang
|
260
|
-
* @public
|
261
|
-
*/
|
262
|
-
async function getLocaleData(lang) {
|
263
|
-
const locale$1 = locale.getSupportedLocale(lang);
|
264
|
-
if (translationCache[locale$1]) {
|
265
|
-
return translationCache[locale$1];
|
266
|
-
}
|
267
|
-
if (!requestCache[locale$1]) {
|
268
|
-
requestCache[locale$1] = fetch(index.getAssetPath(`./assets/date-picker/nls/${locale$1}.json`))
|
269
|
-
.then((resp) => resp.json())
|
270
|
-
.catch(() => {
|
271
|
-
console.error(`Translations for "${locale$1}" not found or invalid, falling back to english`);
|
272
|
-
return getLocaleData("en");
|
273
|
-
});
|
274
|
-
}
|
275
|
-
const data = await requestCache[locale$1];
|
276
|
-
translationCache[locale$1] = data;
|
277
|
-
return data;
|
278
|
-
}
|
279
|
-
/**
|
280
|
-
* Maps value to valueAsDate
|
281
|
-
*
|
282
|
-
* @param value
|
283
|
-
*/
|
284
|
-
function getValueAsDateRange(value) {
|
285
|
-
return value.map((v, index) => date.dateFromISO(v, index === 1));
|
286
|
-
}
|
287
|
-
|
288
|
-
const datePickerCss = ":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:inline-block;inline-size:auto;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1);vertical-align:top}:host([scale=s]){inline-size:234px;min-inline-size:216px;max-inline-size:380px}:host([scale=m]){inline-size:304px;min-inline-size:272px;max-inline-size:480px}:host([scale=l]){inline-size:370px;min-inline-size:320px;max-inline-size:600px}:host([hidden]){display:none}[hidden]{display:none}";
|
289
|
-
const CalciteDatePickerStyle0 = datePickerCss;
|
290
|
-
|
291
|
-
const DatePicker = class {
|
292
|
-
constructor(hostRef) {
|
293
|
-
index.registerInstance(this, hostRef);
|
294
|
-
this.calciteDatePickerChange = index.createEvent(this, "calciteDatePickerChange", 6);
|
295
|
-
this.calciteDatePickerRangeChange = index.createEvent(this, "calciteDatePickerRangeChange", 6);
|
296
|
-
//--------------------------------------------------------------------------
|
297
|
-
//
|
298
|
-
// Private Methods
|
299
|
-
//
|
300
|
-
//--------------------------------------------------------------------------
|
301
|
-
this.keyDownHandler = (event) => {
|
302
|
-
if (event.key === "Escape") {
|
303
|
-
this.resetActiveDates();
|
304
|
-
}
|
305
|
-
};
|
306
|
-
this.monthHeaderSelectChange = (event) => {
|
307
|
-
const date = new Date(event.detail);
|
308
|
-
if (!this.range) {
|
309
|
-
this.activeDate = date;
|
310
|
-
}
|
311
|
-
else {
|
312
|
-
if (this.activeRange === "end") {
|
313
|
-
this.activeEndDate = date;
|
314
|
-
}
|
315
|
-
else {
|
316
|
-
this.activeStartDate = date;
|
317
|
-
}
|
318
|
-
this.mostRecentRangeValue = date;
|
319
|
-
}
|
320
|
-
};
|
321
|
-
this.monthActiveDateChange = (event) => {
|
322
|
-
const date = new Date(event.detail);
|
323
|
-
if (!this.range) {
|
324
|
-
this.activeDate = date;
|
325
|
-
}
|
326
|
-
else {
|
327
|
-
if (this.activeRange === "end") {
|
328
|
-
this.activeEndDate = date;
|
329
|
-
}
|
330
|
-
else {
|
331
|
-
this.activeStartDate = date;
|
332
|
-
}
|
333
|
-
this.mostRecentRangeValue = date;
|
334
|
-
}
|
335
|
-
};
|
336
|
-
this.monthHoverChange = (event) => {
|
337
|
-
if (!this.range) {
|
338
|
-
this.hoverRange = undefined;
|
339
|
-
return;
|
340
|
-
}
|
341
|
-
const { valueAsDate } = this;
|
342
|
-
const start = Array.isArray(valueAsDate) && valueAsDate[0];
|
343
|
-
const end = Array.isArray(valueAsDate) && valueAsDate[1];
|
344
|
-
const date$1 = new Date(event.detail);
|
345
|
-
this.hoverRange = {
|
346
|
-
focused: this.activeRange || "start",
|
347
|
-
start,
|
348
|
-
end,
|
349
|
-
};
|
350
|
-
if (this.proximitySelectionDisabled) {
|
351
|
-
if ((end && start) || (!end && date$1 >= start)) {
|
352
|
-
this.hoverRange.focused = "end";
|
353
|
-
this.hoverRange.end = date$1;
|
354
|
-
}
|
355
|
-
else if (!end && date$1 < start) {
|
356
|
-
this.hoverRange = {
|
357
|
-
focused: "start",
|
358
|
-
start: date$1,
|
359
|
-
end: start,
|
360
|
-
};
|
361
|
-
}
|
362
|
-
else {
|
363
|
-
this.hoverRange = undefined;
|
364
|
-
}
|
365
|
-
}
|
366
|
-
else {
|
367
|
-
if (start && end) {
|
368
|
-
const startDiff = date.getDaysDiff(date$1, start);
|
369
|
-
const endDiff = date.getDaysDiff(date$1, end);
|
370
|
-
if (endDiff > 0) {
|
371
|
-
this.hoverRange.end = date$1;
|
372
|
-
this.hoverRange.focused = "end";
|
373
|
-
}
|
374
|
-
else if (startDiff < 0) {
|
375
|
-
this.hoverRange.start = date$1;
|
376
|
-
this.hoverRange.focused = "start";
|
377
|
-
}
|
378
|
-
else if (startDiff > endDiff) {
|
379
|
-
this.hoverRange.start = date$1;
|
380
|
-
this.hoverRange.focused = "start";
|
381
|
-
}
|
382
|
-
else {
|
383
|
-
this.hoverRange.end = date$1;
|
384
|
-
this.hoverRange.focused = "end";
|
385
|
-
}
|
386
|
-
}
|
387
|
-
else {
|
388
|
-
if (start) {
|
389
|
-
if (date$1 < start) {
|
390
|
-
this.hoverRange = {
|
391
|
-
focused: "start",
|
392
|
-
start: date$1,
|
393
|
-
end: start,
|
394
|
-
};
|
395
|
-
}
|
396
|
-
else {
|
397
|
-
this.hoverRange.end = date$1;
|
398
|
-
this.hoverRange.focused = "end";
|
399
|
-
}
|
400
|
-
}
|
401
|
-
}
|
402
|
-
}
|
403
|
-
event.stopPropagation();
|
404
|
-
};
|
405
|
-
this.monthMouseOutChange = () => {
|
406
|
-
if (this.hoverRange) {
|
407
|
-
this.hoverRange = undefined;
|
408
|
-
}
|
409
|
-
};
|
410
|
-
this.resetActiveDates = () => {
|
411
|
-
const { valueAsDate } = this;
|
412
|
-
if (!Array.isArray(valueAsDate) && valueAsDate && valueAsDate !== this.activeDate) {
|
413
|
-
this.activeDate = new Date(valueAsDate);
|
414
|
-
}
|
415
|
-
if (Array.isArray(valueAsDate)) {
|
416
|
-
if (valueAsDate[0] && valueAsDate[0] !== this.activeStartDate) {
|
417
|
-
this.activeStartDate = new Date(valueAsDate[0]);
|
418
|
-
}
|
419
|
-
if (valueAsDate[1] && valueAsDate[1] !== this.activeEndDate) {
|
420
|
-
this.activeEndDate = new Date(valueAsDate[1]);
|
421
|
-
}
|
422
|
-
}
|
423
|
-
};
|
424
|
-
/**
|
425
|
-
* Event handler for when the selected date changes
|
426
|
-
*
|
427
|
-
* @param event
|
428
|
-
*/
|
429
|
-
this.monthDateChange = (event) => {
|
430
|
-
const date$1 = new Date(event.detail);
|
431
|
-
const isoDate = date.dateToISO(date$1);
|
432
|
-
if (!this.range && isoDate === date.dateToISO(this.valueAsDate)) {
|
433
|
-
return;
|
434
|
-
}
|
435
|
-
if (!this.range) {
|
436
|
-
this.value = isoDate || "";
|
437
|
-
this.valueAsDate = date$1 || null;
|
438
|
-
this.activeDate = date$1 || null;
|
439
|
-
this.calciteDatePickerChange.emit();
|
440
|
-
return;
|
441
|
-
}
|
442
|
-
const start = this.getStartDate();
|
443
|
-
const end = this.getEndDate();
|
444
|
-
if (!start || (!end && date$1 < start)) {
|
445
|
-
if (start) {
|
446
|
-
this.setEndDate(new Date(start));
|
447
|
-
}
|
448
|
-
if (this.activeRange == "end") {
|
449
|
-
this.setEndDate(date$1);
|
450
|
-
}
|
451
|
-
else {
|
452
|
-
this.setStartDate(date$1);
|
453
|
-
}
|
454
|
-
}
|
455
|
-
else if (!end) {
|
456
|
-
this.setEndDate(date$1);
|
457
|
-
}
|
458
|
-
else {
|
459
|
-
if (this.proximitySelectionDisabled) {
|
460
|
-
this.setStartDate(date$1);
|
461
|
-
this.setEndDate(null);
|
462
|
-
}
|
463
|
-
else {
|
464
|
-
if (this.activeRange) {
|
465
|
-
if (this.activeRange == "end") {
|
466
|
-
this.setEndDate(date$1);
|
467
|
-
}
|
468
|
-
else {
|
469
|
-
this.setStartDate(date$1);
|
470
|
-
}
|
471
|
-
}
|
472
|
-
else {
|
473
|
-
const startDiff = date.getDaysDiff(date$1, start);
|
474
|
-
const endDiff = date.getDaysDiff(date$1, end);
|
475
|
-
if (endDiff === 0 || startDiff < 0) {
|
476
|
-
this.setStartDate(date$1);
|
477
|
-
}
|
478
|
-
else if (startDiff === 0 || endDiff < 0) {
|
479
|
-
this.setEndDate(date$1);
|
480
|
-
}
|
481
|
-
else if (startDiff < endDiff) {
|
482
|
-
this.setStartDate(date$1);
|
483
|
-
}
|
484
|
-
else {
|
485
|
-
this.setEndDate(date$1);
|
486
|
-
}
|
487
|
-
}
|
488
|
-
}
|
489
|
-
}
|
490
|
-
this.calciteDatePickerChange.emit();
|
491
|
-
};
|
492
|
-
this.activeDate = undefined;
|
493
|
-
this.activeRange = undefined;
|
494
|
-
this.value = undefined;
|
495
|
-
this.headingLevel = undefined;
|
496
|
-
this.valueAsDate = undefined;
|
497
|
-
this.minAsDate = undefined;
|
498
|
-
this.maxAsDate = undefined;
|
499
|
-
this.min = undefined;
|
500
|
-
this.max = undefined;
|
501
|
-
this.numberingSystem = undefined;
|
502
|
-
this.scale = "m";
|
503
|
-
this.range = false;
|
504
|
-
this.proximitySelectionDisabled = false;
|
505
|
-
this.messageOverrides = undefined;
|
506
|
-
this.messages = undefined;
|
507
|
-
this.activeEndDate = undefined;
|
508
|
-
this.activeStartDate = undefined;
|
509
|
-
this.dateTimeFormat = undefined;
|
510
|
-
this.defaultMessages = undefined;
|
511
|
-
this.effectiveLocale = "";
|
512
|
-
this.endAsDate = undefined;
|
513
|
-
this.hoverRange = undefined;
|
514
|
-
this.localeData = undefined;
|
515
|
-
this.mostRecentRangeValue = undefined;
|
516
|
-
this.startAsDate = undefined;
|
517
|
-
}
|
518
|
-
activeDateWatcher(newActiveDate) {
|
519
|
-
if (this.activeRange === "end") {
|
520
|
-
this.activeEndDate = newActiveDate;
|
521
|
-
}
|
522
|
-
}
|
523
|
-
valueAsDateWatcher(newValueAsDate) {
|
524
|
-
if (this.range && Array.isArray(newValueAsDate)) {
|
525
|
-
const { activeStartDate, activeEndDate } = this;
|
526
|
-
const newActiveStartDate = newValueAsDate[0];
|
527
|
-
const newActiveEndDate = newValueAsDate[1];
|
528
|
-
this.activeStartDate = activeStartDate !== newActiveStartDate && newActiveStartDate;
|
529
|
-
this.activeEndDate = activeEndDate !== newActiveEndDate && newActiveEndDate;
|
530
|
-
}
|
531
|
-
else if (newValueAsDate && newValueAsDate !== this.activeDate) {
|
532
|
-
this.activeDate = newValueAsDate;
|
533
|
-
}
|
534
|
-
}
|
535
|
-
onMinChanged(min) {
|
536
|
-
if (min) {
|
537
|
-
this.minAsDate = date.dateFromISO(min);
|
538
|
-
}
|
539
|
-
}
|
540
|
-
onMaxChanged(max) {
|
541
|
-
if (max) {
|
542
|
-
this.maxAsDate = date.dateFromISO(max);
|
543
|
-
}
|
544
|
-
}
|
545
|
-
onMessagesChange() {
|
546
|
-
/* wired up by t9n util */
|
547
|
-
}
|
548
|
-
//--------------------------------------------------------------------------
|
549
|
-
//
|
550
|
-
// Public Methods
|
551
|
-
//
|
552
|
-
//--------------------------------------------------------------------------
|
553
|
-
/** Sets focus on the component's first focusable element. */
|
554
|
-
async setFocus() {
|
555
|
-
await loadable.componentFocusable(this);
|
556
|
-
this.el.focus();
|
557
|
-
}
|
558
|
-
/**
|
559
|
-
* Resets active date state.
|
560
|
-
* @internal
|
561
|
-
*/
|
562
|
-
async reset() {
|
563
|
-
this.resetActiveDates();
|
564
|
-
this.mostRecentRangeValue = undefined;
|
565
|
-
}
|
566
|
-
// --------------------------------------------------------------------------
|
567
|
-
//
|
568
|
-
// Lifecycle
|
569
|
-
//
|
570
|
-
// --------------------------------------------------------------------------
|
571
|
-
connectedCallback() {
|
572
|
-
locale.connectLocalized(this);
|
573
|
-
t9n.connectMessages(this);
|
574
|
-
if (Array.isArray(this.value)) {
|
575
|
-
this.valueAsDate = getValueAsDateRange(this.value);
|
576
|
-
}
|
577
|
-
else if (this.value) {
|
578
|
-
this.valueAsDate = date.dateFromISO(this.value);
|
579
|
-
}
|
580
|
-
if (this.min) {
|
581
|
-
this.minAsDate = date.dateFromISO(this.min);
|
582
|
-
}
|
583
|
-
if (this.max) {
|
584
|
-
this.maxAsDate = date.dateFromISO(this.max);
|
585
|
-
}
|
586
|
-
}
|
587
|
-
disconnectedCallback() {
|
588
|
-
locale.disconnectLocalized(this);
|
589
|
-
t9n.disconnectMessages(this);
|
590
|
-
}
|
591
|
-
async componentWillLoad() {
|
592
|
-
loadable.setUpLoadableComponent(this);
|
593
|
-
await this.loadLocaleData();
|
594
|
-
this.onMinChanged(this.min);
|
595
|
-
this.onMaxChanged(this.max);
|
596
|
-
await t9n.setUpMessages(this);
|
597
|
-
}
|
598
|
-
componentDidLoad() {
|
599
|
-
loadable.setComponentLoaded(this);
|
600
|
-
}
|
601
|
-
render() {
|
602
|
-
var _a;
|
603
|
-
const date$1 = date.dateFromRange(this.range && Array.isArray(this.valueAsDate) ? this.valueAsDate[0] : this.valueAsDate, this.minAsDate, this.maxAsDate);
|
604
|
-
let activeDate = this.getActiveDate(date$1, this.minAsDate, this.maxAsDate);
|
605
|
-
const endDate = this.range && Array.isArray(this.valueAsDate)
|
606
|
-
? date.dateFromRange(this.valueAsDate[1], this.minAsDate, this.maxAsDate)
|
607
|
-
: null;
|
608
|
-
const activeEndDate = this.getActiveEndDate(endDate, this.minAsDate, this.maxAsDate);
|
609
|
-
if ((this.activeRange === "end" ||
|
610
|
-
(((_a = this.hoverRange) === null || _a === void 0 ? void 0 : _a.focused) === "end" && (!this.proximitySelectionDisabled || endDate))) &&
|
611
|
-
activeEndDate) {
|
612
|
-
activeDate = activeEndDate;
|
613
|
-
}
|
614
|
-
if (this.range && this.mostRecentRangeValue) {
|
615
|
-
activeDate = this.mostRecentRangeValue;
|
616
|
-
}
|
617
|
-
const minDate = this.range && this.activeRange
|
618
|
-
? this.activeRange === "start"
|
619
|
-
? this.minAsDate
|
620
|
-
: date$1 || this.minAsDate
|
621
|
-
: this.minAsDate;
|
622
|
-
const maxDate = this.range && this.activeRange
|
623
|
-
? this.activeRange === "start"
|
624
|
-
? endDate || this.maxAsDate
|
625
|
-
: this.maxAsDate
|
626
|
-
: this.maxAsDate;
|
627
|
-
return (index.h(index.Host, { key: 'af94b669a3045e53c100cb5850381e9f77423133', onBlur: this.resetActiveDates, onKeyDown: this.keyDownHandler }, this.renderCalendar(activeDate, maxDate, minDate, date$1, endDate)));
|
628
|
-
}
|
629
|
-
effectiveLocaleChange() {
|
630
|
-
t9n.updateMessages(this, this.effectiveLocale);
|
631
|
-
}
|
632
|
-
valueHandler(value) {
|
633
|
-
if (Array.isArray(value)) {
|
634
|
-
this.valueAsDate = getValueAsDateRange(value);
|
635
|
-
}
|
636
|
-
else if (value) {
|
637
|
-
this.valueAsDate = date.dateFromISO(value);
|
638
|
-
}
|
639
|
-
}
|
640
|
-
async loadLocaleData() {
|
641
|
-
locale.numberStringFormatter.numberFormatOptions = {
|
642
|
-
numberingSystem: this.numberingSystem,
|
643
|
-
locale: this.effectiveLocale,
|
644
|
-
useGrouping: false,
|
645
|
-
};
|
646
|
-
this.localeData = await getLocaleData(this.effectiveLocale);
|
647
|
-
this.dateTimeFormat = locale.getDateTimeFormat(this.effectiveLocale, DATE_PICKER_FORMAT_OPTIONS);
|
648
|
-
}
|
649
|
-
/**
|
650
|
-
* Render calcite-date-picker-month-header and calcite-date-picker-month
|
651
|
-
*
|
652
|
-
* @param activeDate
|
653
|
-
* @param maxDate
|
654
|
-
* @param minDate
|
655
|
-
* @param date
|
656
|
-
* @param endDate
|
657
|
-
*/
|
658
|
-
renderCalendar(activeDate, maxDate, minDate, date, endDate) {
|
659
|
-
return (this.localeData && [
|
660
|
-
index.h("calcite-date-picker-month-header", { activeDate: activeDate, headingLevel: this.headingLevel || HEADING_LEVEL, localeData: this.localeData, max: maxDate, messages: this.messages, min: minDate, onCalciteInternalDatePickerSelect: this.monthHeaderSelectChange, scale: this.scale, selectedDate: this.activeRange === "end" ? endDate : date || new Date() }),
|
661
|
-
index.h("calcite-date-picker-month", { activeDate: activeDate, dateTimeFormat: this.dateTimeFormat, endDate: this.range ? endDate : undefined, hoverRange: this.hoverRange, localeData: this.localeData, max: maxDate, min: minDate, onCalciteInternalDatePickerActiveDateChange: this.monthActiveDateChange, onCalciteInternalDatePickerHover: this.monthHoverChange, onCalciteInternalDatePickerMouseOut: this.monthMouseOutChange, onCalciteInternalDatePickerSelect: this.monthDateChange, scale: this.scale, selectedDate: this.activeRange === "end" ? endDate : date, startDate: this.range ? date : undefined }),
|
662
|
-
]);
|
663
|
-
}
|
664
|
-
getEndDate() {
|
665
|
-
return (Array.isArray(this.valueAsDate) && this.valueAsDate[1]) || undefined;
|
666
|
-
}
|
667
|
-
setEndDate(date$1) {
|
668
|
-
const startDate = this.getStartDate();
|
669
|
-
const newEndDate = date$1 ? date.setEndOfDay(date$1) : date$1;
|
670
|
-
this.value = [date.dateToISO(startDate), date.dateToISO(date$1)];
|
671
|
-
this.valueAsDate = [startDate, date$1];
|
672
|
-
this.mostRecentRangeValue = newEndDate;
|
673
|
-
this.calciteDatePickerRangeChange.emit();
|
674
|
-
this.activeEndDate = date$1 || null;
|
675
|
-
}
|
676
|
-
getStartDate() {
|
677
|
-
return Array.isArray(this.valueAsDate) && this.valueAsDate[0];
|
678
|
-
}
|
679
|
-
setStartDate(date$1) {
|
680
|
-
const endDate = this.getEndDate();
|
681
|
-
this.value = [date.dateToISO(date$1), date.dateToISO(endDate)];
|
682
|
-
this.valueAsDate = [date$1, endDate];
|
683
|
-
this.mostRecentRangeValue = date$1;
|
684
|
-
this.calciteDatePickerRangeChange.emit();
|
685
|
-
this.activeStartDate = date$1 || null;
|
686
|
-
}
|
687
|
-
/**
|
688
|
-
* Get an active date using the value, or current date as default
|
689
|
-
*
|
690
|
-
* @param value
|
691
|
-
* @param min
|
692
|
-
* @param max
|
693
|
-
*/
|
694
|
-
getActiveDate(value, min, max) {
|
695
|
-
return date.dateFromRange(this.activeDate, min, max) || value || date.dateFromRange(new Date(), min, max);
|
696
|
-
}
|
697
|
-
getActiveEndDate(value, min, max) {
|
698
|
-
return (date.dateFromRange(this.activeEndDate, min, max) || value || date.dateFromRange(new Date(), min, max));
|
699
|
-
}
|
700
|
-
static get delegatesFocus() { return true; }
|
701
|
-
static get assetsDirs() { return ["assets"]; }
|
702
|
-
get el() { return index.getElement(this); }
|
703
|
-
static get watchers() { return {
|
704
|
-
"activeDate": ["activeDateWatcher"],
|
705
|
-
"valueAsDate": ["valueAsDateWatcher"],
|
706
|
-
"min": ["onMinChanged"],
|
707
|
-
"max": ["onMaxChanged"],
|
708
|
-
"messageOverrides": ["onMessagesChange"],
|
709
|
-
"effectiveLocale": ["effectiveLocaleChange", "loadLocaleData"],
|
710
|
-
"value": ["valueHandler"]
|
711
|
-
}; }
|
712
|
-
};
|
713
|
-
DatePicker.style = CalciteDatePickerStyle0;
|
714
|
-
|
715
|
-
/*!
|
716
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
717
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
718
|
-
* v2.8.2
|
719
|
-
*/
|
720
|
-
/**
|
721
|
-
* Specifies if an ISO string date (YYYY-MM-DD) has two digit year.
|
722
|
-
*
|
723
|
-
* @param {string} value
|
724
|
-
* @returns {boolean}
|
725
|
-
*/
|
726
|
-
function isTwoDigitYear(value) {
|
727
|
-
if (!value) {
|
728
|
-
return false;
|
729
|
-
}
|
730
|
-
const { year } = date.datePartsFromISO(value);
|
731
|
-
return Number(year) < 100;
|
732
|
-
}
|
733
|
-
/**
|
734
|
-
* Returns a normalized year to current century from a given two digit year number.
|
735
|
-
*
|
736
|
-
* @param {number} twoDigitYear
|
737
|
-
* @returns {string}
|
738
|
-
*/
|
739
|
-
function normalizeToCurrentCentury(twoDigitYear) {
|
740
|
-
const currentYear = new Date().getFullYear();
|
741
|
-
const normalizedYear = Math.floor(currentYear / 100) * 100 + twoDigitYear;
|
742
|
-
return normalizedYear;
|
743
|
-
}
|
744
|
-
|
745
|
-
/*!
|
746
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
747
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
748
|
-
* v2.8.2
|
749
|
-
*/
|
750
|
-
const CSS$2 = {
|
751
|
-
assistiveText: "assistive-text",
|
752
|
-
calendarWrapper: "calendar-wrapper",
|
753
|
-
calendarWrapperEnd: "calendar-wrapper--end",
|
754
|
-
horizontalArrowContainer: "horizontal-arrow-container",
|
755
|
-
inputBorderTopColorOne: "border-top-color-one",
|
756
|
-
inputContainer: "input-container",
|
757
|
-
inputNoBottomBorder: "no-bottom-border",
|
758
|
-
inputWrapper: "input-wrapper",
|
759
|
-
input: "input",
|
760
|
-
menu: "menu-container",
|
761
|
-
menuActive: "menu-container--active",
|
762
|
-
toggleIcon: "toggle-icon",
|
763
|
-
verticalArrowContainer: "vertical-arrow-container",
|
764
|
-
chevronIcon: "chevron-icon",
|
765
|
-
};
|
766
|
-
|
767
|
-
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}.input-wrapper .chevron-icon{color:var(--calcite-color-text-3)}.input-wrapper:focus-within .chevron-icon,.input-wrapper:active .chevron-icon,.input-wrapper:hover .chevron-icon{color:var(--calcite-color-text-1)}.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}";
|
768
|
-
const CalciteInputDatePickerStyle0 = inputDatePickerCss;
|
769
|
-
|
770
|
-
const InputDatePicker = class {
|
771
|
-
constructor(hostRef) {
|
772
|
-
index.registerInstance(this, hostRef);
|
773
|
-
this.calciteInputDatePickerChange = index.createEvent(this, "calciteInputDatePickerChange", 6);
|
774
|
-
this.calciteInputDatePickerBeforeClose = index.createEvent(this, "calciteInputDatePickerBeforeClose", 6);
|
775
|
-
this.calciteInputDatePickerClose = index.createEvent(this, "calciteInputDatePickerClose", 6);
|
776
|
-
this.calciteInputDatePickerBeforeOpen = index.createEvent(this, "calciteInputDatePickerBeforeOpen", 6);
|
777
|
-
this.calciteInputDatePickerOpen = index.createEvent(this, "calciteInputDatePickerOpen", 6);
|
778
|
-
this.calciteInternalInputInputHandler = (event) => {
|
779
|
-
const target = event.target;
|
780
|
-
const value = target.value;
|
781
|
-
const parsedValue = this.parseNumerals(value);
|
782
|
-
const formattedValue = this.formatNumerals(parsedValue);
|
783
|
-
target.value = formattedValue;
|
784
|
-
const { year } = date.datePartsFromLocalizedString(value, this.localeData);
|
785
|
-
if (year && year.length < 4) {
|
786
|
-
return;
|
787
|
-
}
|
788
|
-
const date$1 = date.dateFromLocalizedString(value, this.localeData);
|
789
|
-
if (date.inRange(date$1, this.min, this.max)) {
|
790
|
-
this.datePickerActiveDate = date$1;
|
791
|
-
}
|
792
|
-
};
|
793
|
-
this.calciteInternalInputBlurHandler = () => {
|
794
|
-
this.commitValue();
|
795
|
-
};
|
796
|
-
this.dialogId = `date-picker-dialog--${guid.guid()}`;
|
797
|
-
this.focusOnOpen = false;
|
798
|
-
this.userChangedValue = false;
|
799
|
-
this.openTransitionProp = "opacity";
|
800
|
-
this.valueAsDateChangedExternally = false;
|
801
|
-
this.placeholderTextId = `calcite-input-date-picker-placeholder-${guid.guid()}`;
|
802
|
-
//--------------------------------------------------------------------------
|
803
|
-
//
|
804
|
-
// Private Methods
|
805
|
-
//
|
806
|
-
//--------------------------------------------------------------------------
|
807
|
-
this.onInputWrapperPointerDown = () => {
|
808
|
-
this.currentOpenInput = this.focusedInput;
|
809
|
-
};
|
810
|
-
this.onInputWrapperClick = (event) => {
|
811
|
-
const { range, endInput, startInput, currentOpenInput } = this;
|
812
|
-
const currentTarget = event.currentTarget;
|
813
|
-
const position = currentTarget.getAttribute("data-position");
|
814
|
-
const path = event.composedPath();
|
815
|
-
const wasToggleClicked = path.find((el) => { var _a; return (_a = el.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$2.toggleIcon); });
|
816
|
-
if (wasToggleClicked) {
|
817
|
-
const targetInput = position === "start" ? startInput : endInput;
|
818
|
-
targetInput.setFocus();
|
819
|
-
}
|
820
|
-
if (!range || !this.open || currentOpenInput === position) {
|
821
|
-
this.open = !this.open;
|
822
|
-
}
|
823
|
-
};
|
824
|
-
this.setFilteredPlacements = () => {
|
825
|
-
const { el, flipPlacements } = this;
|
826
|
-
this.filteredFlipPlacements = flipPlacements
|
827
|
-
? floatingUi.filterComputedPlacements(flipPlacements, el)
|
828
|
-
: null;
|
829
|
-
};
|
830
|
-
this.setTransitionEl = (el) => {
|
831
|
-
this.transitionEl = el;
|
832
|
-
};
|
833
|
-
this.setStartInput = (el) => {
|
834
|
-
this.startInput = el;
|
835
|
-
};
|
836
|
-
this.setEndInput = (el) => {
|
837
|
-
this.endInput = el;
|
838
|
-
};
|
839
|
-
this.blurHandler = () => {
|
840
|
-
this.open = false;
|
841
|
-
};
|
842
|
-
this.keyDownHandler = (event) => {
|
843
|
-
var _a, _b;
|
844
|
-
const { defaultPrevented, key } = event;
|
845
|
-
if (defaultPrevented) {
|
846
|
-
return;
|
847
|
-
}
|
848
|
-
if (key === "Enter") {
|
849
|
-
event.preventDefault();
|
850
|
-
this.commitValue();
|
851
|
-
if (this.shouldFocusRangeEnd()) {
|
852
|
-
(_a = this.endInput) === null || _a === void 0 ? void 0 : _a.setFocus();
|
853
|
-
}
|
854
|
-
else if (this.shouldFocusRangeStart()) {
|
855
|
-
(_b = this.startInput) === null || _b === void 0 ? void 0 : _b.setFocus();
|
856
|
-
}
|
857
|
-
if (form.submitForm(this)) {
|
858
|
-
this.restoreInputFocus();
|
859
|
-
}
|
860
|
-
}
|
861
|
-
else if (key === "ArrowDown") {
|
862
|
-
this.open = true;
|
863
|
-
this.focusOnOpen = true;
|
864
|
-
event.preventDefault();
|
865
|
-
}
|
866
|
-
else if (key === "Escape") {
|
867
|
-
this.open = false;
|
868
|
-
event.preventDefault();
|
869
|
-
this.restoreInputFocus();
|
870
|
-
}
|
871
|
-
};
|
872
|
-
this.startInputFocus = () => {
|
873
|
-
this.focusedInput = "start";
|
874
|
-
};
|
875
|
-
this.endInputFocus = () => {
|
876
|
-
this.focusedInput = "end";
|
877
|
-
};
|
878
|
-
this.setFloatingEl = (el) => {
|
879
|
-
this.floatingEl = el;
|
880
|
-
floatingUi.connectFloatingUI(this, this.referenceEl, this.floatingEl);
|
881
|
-
};
|
882
|
-
this.setStartWrapper = (el) => {
|
883
|
-
this.startWrapper = el;
|
884
|
-
this.setReferenceEl();
|
885
|
-
};
|
886
|
-
this.setEndWrapper = (el) => {
|
887
|
-
this.endWrapper = el;
|
888
|
-
this.setReferenceEl();
|
889
|
-
};
|
890
|
-
this.setDatePickerRef = (el) => {
|
891
|
-
this.datePickerEl = el;
|
892
|
-
focusTrapComponent.connectFocusTrap(this, {
|
893
|
-
focusTrapEl: el,
|
894
|
-
focusTrapOptions: {
|
895
|
-
initialFocus: false,
|
896
|
-
setReturnFocus: false,
|
897
|
-
},
|
898
|
-
});
|
899
|
-
};
|
900
|
-
/**
|
901
|
-
* Event handler for when the selected date changes
|
902
|
-
*
|
903
|
-
* @param event CalciteDatePicker custom change event
|
904
|
-
*/
|
905
|
-
this.handleDateChange = (event) => {
|
906
|
-
if (this.range) {
|
907
|
-
return;
|
908
|
-
}
|
909
|
-
event.stopPropagation();
|
910
|
-
this.setValue(event.target.valueAsDate);
|
911
|
-
this.localizeInputValues();
|
912
|
-
this.restoreInputFocus();
|
913
|
-
};
|
914
|
-
this.handleDateRangeChange = (event) => {
|
915
|
-
if (!this.range) {
|
916
|
-
return;
|
917
|
-
}
|
918
|
-
event.stopPropagation();
|
919
|
-
const value = event.target.valueAsDate;
|
920
|
-
this.setRangeValue(value);
|
921
|
-
this.localizeInputValues();
|
922
|
-
this.restoreInputFocus();
|
923
|
-
};
|
924
|
-
this.setInputValue = (newValue, input = "start") => {
|
925
|
-
const inputEl = this[`${input}Input`];
|
926
|
-
if (!inputEl) {
|
927
|
-
return;
|
928
|
-
}
|
929
|
-
inputEl.value = newValue;
|
930
|
-
};
|
931
|
-
this.setRangeValue = (valueAsDate) => {
|
932
|
-
if (!this.range) {
|
933
|
-
return;
|
934
|
-
}
|
935
|
-
const { value: oldValue } = this;
|
936
|
-
const oldValueIsArray = Array.isArray(oldValue);
|
937
|
-
const valueIsArray = Array.isArray(valueAsDate);
|
938
|
-
const newStartDate = valueIsArray ? valueAsDate[0] : null;
|
939
|
-
let newStartDateISO = valueIsArray ? date.dateToISO(newStartDate) : "";
|
940
|
-
if (newStartDateISO) {
|
941
|
-
newStartDateISO = this.getNormalizedDate(newStartDateISO);
|
942
|
-
}
|
943
|
-
const newEndDate = valueIsArray ? valueAsDate[1] : null;
|
944
|
-
let newEndDateISO = valueIsArray ? date.dateToISO(newEndDate) : "";
|
945
|
-
if (newEndDateISO) {
|
946
|
-
newEndDateISO = this.getNormalizedDate(newEndDateISO);
|
947
|
-
}
|
948
|
-
const newValue = newStartDateISO || newEndDateISO ? [newStartDateISO, newEndDateISO] : "";
|
949
|
-
if (newValue === oldValue) {
|
950
|
-
return;
|
951
|
-
}
|
952
|
-
this.userChangedValue = true;
|
953
|
-
this.value = newValue;
|
954
|
-
this.valueAsDate = newValue ? getValueAsDateRange(newValue) : undefined;
|
955
|
-
const changeEvent = this.calciteInputDatePickerChange.emit();
|
956
|
-
if (changeEvent && changeEvent.defaultPrevented) {
|
957
|
-
this.value = oldValue;
|
958
|
-
if (oldValueIsArray) {
|
959
|
-
this.setInputValue(oldValue[0], "start");
|
960
|
-
this.setInputValue(oldValue[1], "end");
|
961
|
-
}
|
962
|
-
else {
|
963
|
-
this.value = oldValue;
|
964
|
-
this.setInputValue(oldValue);
|
965
|
-
}
|
966
|
-
}
|
967
|
-
};
|
968
|
-
this.setValue = (value) => {
|
969
|
-
if (this.range) {
|
970
|
-
return;
|
971
|
-
}
|
972
|
-
const oldValue = this.value;
|
973
|
-
let newValue = date.dateToISO(value);
|
974
|
-
newValue = this.getNormalizedDate(newValue);
|
975
|
-
if (newValue === oldValue) {
|
976
|
-
return;
|
977
|
-
}
|
978
|
-
this.userChangedValue = true;
|
979
|
-
this.valueAsDate = newValue ? date.dateFromISO(newValue) : undefined;
|
980
|
-
this.value = newValue || "";
|
981
|
-
const changeEvent = this.calciteInputDatePickerChange.emit();
|
982
|
-
if (changeEvent.defaultPrevented) {
|
983
|
-
this.value = oldValue;
|
984
|
-
this.setInputValue(oldValue);
|
985
|
-
}
|
986
|
-
};
|
987
|
-
this.commonDateSeparators = [".", "-", "/"];
|
988
|
-
this.formatNumerals = (value) => value
|
989
|
-
? value
|
990
|
-
.split("")
|
991
|
-
.map((char) => {
|
992
|
-
var _a, _b, _c;
|
993
|
-
return ((_a = this.commonDateSeparators) === null || _a === void 0 ? void 0 : _a.includes(char))
|
994
|
-
? (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.separator
|
995
|
-
: (key.numberKeys === null || key.numberKeys === void 0 ? void 0 : key.numberKeys.includes(char))
|
996
|
-
? (_c = locale.numberStringFormatter === null || locale.numberStringFormatter === void 0 ? void 0 : locale.numberStringFormatter.numberFormatter) === null || _c === void 0 ? void 0 : _c.format(Number(char))
|
997
|
-
: char;
|
998
|
-
})
|
999
|
-
.join("")
|
1000
|
-
: "";
|
1001
|
-
this.parseNumerals = (value) => value
|
1002
|
-
? value
|
1003
|
-
.split("")
|
1004
|
-
.map((char) => key.numberKeys.includes(char) ? locale.numberStringFormatter.delocalize(char) : char)
|
1005
|
-
.join("")
|
1006
|
-
: "";
|
1007
|
-
this.disabled = false;
|
1008
|
-
this.focusTrapDisabled = false;
|
1009
|
-
this.form = undefined;
|
1010
|
-
this.readOnly = false;
|
1011
|
-
this.value = "";
|
1012
|
-
this.flipPlacements = undefined;
|
1013
|
-
this.headingLevel = undefined;
|
1014
|
-
this.valueAsDate = undefined;
|
1015
|
-
this.messageOverrides = undefined;
|
1016
|
-
this.messages = undefined;
|
1017
|
-
this.minAsDate = undefined;
|
1018
|
-
this.maxAsDate = undefined;
|
1019
|
-
this.min = undefined;
|
1020
|
-
this.max = undefined;
|
1021
|
-
this.open = false;
|
1022
|
-
this.validationMessage = undefined;
|
1023
|
-
this.validationIcon = undefined;
|
1024
|
-
this.validity = {
|
1025
|
-
valid: false,
|
1026
|
-
badInput: false,
|
1027
|
-
customError: false,
|
1028
|
-
patternMismatch: false,
|
1029
|
-
rangeOverflow: false,
|
1030
|
-
rangeUnderflow: false,
|
1031
|
-
stepMismatch: false,
|
1032
|
-
tooLong: false,
|
1033
|
-
tooShort: false,
|
1034
|
-
typeMismatch: false,
|
1035
|
-
valueMissing: false,
|
1036
|
-
};
|
1037
|
-
this.name = undefined;
|
1038
|
-
this.numberingSystem = undefined;
|
1039
|
-
this.scale = "m";
|
1040
|
-
this.status = "idle";
|
1041
|
-
this.placement = floatingUi.defaultMenuPlacement;
|
1042
|
-
this.range = false;
|
1043
|
-
this.required = false;
|
1044
|
-
this.overlayPositioning = "absolute";
|
1045
|
-
this.proximitySelectionDisabled = false;
|
1046
|
-
this.layout = "horizontal";
|
1047
|
-
this.datePickerActiveDate = undefined;
|
1048
|
-
this.defaultMessages = undefined;
|
1049
|
-
this.effectiveLocale = "";
|
1050
|
-
this.focusedInput = "start";
|
1051
|
-
this.localeData = undefined;
|
1052
|
-
}
|
1053
|
-
handleFocusTrapDisabled(focusTrapDisabled) {
|
1054
|
-
if (!this.open) {
|
1055
|
-
return;
|
1056
|
-
}
|
1057
|
-
focusTrapDisabled ? focusTrapComponent.deactivateFocusTrap(this) : focusTrapComponent.activateFocusTrap(this);
|
1058
|
-
}
|
1059
|
-
handleDisabledAndReadOnlyChange(value) {
|
1060
|
-
if (!value) {
|
1061
|
-
this.open = false;
|
1062
|
-
}
|
1063
|
-
}
|
1064
|
-
valueWatcher(newValue) {
|
1065
|
-
if (!this.userChangedValue) {
|
1066
|
-
let newValueAsDate;
|
1067
|
-
if (Array.isArray(newValue)) {
|
1068
|
-
newValueAsDate = getValueAsDateRange(newValue);
|
1069
|
-
}
|
1070
|
-
else if (newValue) {
|
1071
|
-
newValueAsDate = date.dateFromISO(newValue);
|
1072
|
-
}
|
1073
|
-
else {
|
1074
|
-
newValueAsDate = undefined;
|
1075
|
-
}
|
1076
|
-
if (!this.valueAsDateChangedExternally && newValueAsDate !== this.valueAsDate) {
|
1077
|
-
this.valueAsDate = newValueAsDate;
|
1078
|
-
}
|
1079
|
-
this.localizeInputValues();
|
1080
|
-
}
|
1081
|
-
this.userChangedValue = false;
|
1082
|
-
}
|
1083
|
-
valueAsDateWatcher(valueAsDate) {
|
1084
|
-
this.datePickerActiveDate = valueAsDate;
|
1085
|
-
const newValue = this.range && Array.isArray(valueAsDate)
|
1086
|
-
? [date.dateToISO(valueAsDate[0]), date.dateToISO(valueAsDate[1])]
|
1087
|
-
: date.dateToISO(valueAsDate);
|
1088
|
-
if (this.value !== newValue) {
|
1089
|
-
this.valueAsDateChangedExternally = true;
|
1090
|
-
this.value = newValue;
|
1091
|
-
this.valueAsDateChangedExternally = false;
|
1092
|
-
}
|
1093
|
-
}
|
1094
|
-
flipPlacementsHandler() {
|
1095
|
-
this.setFilteredPlacements();
|
1096
|
-
this.reposition(true);
|
1097
|
-
}
|
1098
|
-
onMessagesChange() {
|
1099
|
-
/* wired up by t9n util */
|
1100
|
-
}
|
1101
|
-
onMinChanged(min) {
|
1102
|
-
if (min) {
|
1103
|
-
this.minAsDate = date.dateFromISO(min);
|
1104
|
-
}
|
1105
|
-
}
|
1106
|
-
onMaxChanged(max) {
|
1107
|
-
if (max) {
|
1108
|
-
this.maxAsDate = date.dateFromISO(max);
|
1109
|
-
}
|
1110
|
-
}
|
1111
|
-
openHandler() {
|
1112
|
-
openCloseComponent.onToggleOpenCloseComponent(this);
|
1113
|
-
if (this.disabled || this.readOnly) {
|
1114
|
-
this.open = false;
|
1115
|
-
return;
|
1116
|
-
}
|
1117
|
-
this.reposition(true);
|
1118
|
-
}
|
1119
|
-
overlayPositioningHandler() {
|
1120
|
-
this.reposition(true);
|
1121
|
-
}
|
1122
|
-
//--------------------------------------------------------------------------
|
1123
|
-
//
|
1124
|
-
// Event Listeners
|
1125
|
-
//
|
1126
|
-
//--------------------------------------------------------------------------
|
1127
|
-
calciteDaySelectHandler() {
|
1128
|
-
if (this.shouldFocusRangeStart() || this.shouldFocusRangeEnd()) {
|
1129
|
-
return;
|
1130
|
-
}
|
1131
|
-
this.open = false;
|
1132
|
-
}
|
1133
|
-
// --------------------------------------------------------------------------
|
1134
|
-
//
|
1135
|
-
// Public Methods
|
1136
|
-
//
|
1137
|
-
// --------------------------------------------------------------------------
|
1138
|
-
/** Sets focus on the component. */
|
1139
|
-
async setFocus() {
|
1140
|
-
await loadable.componentFocusable(this);
|
1141
|
-
this.el.focus();
|
1142
|
-
}
|
1143
|
-
/**
|
1144
|
-
* Updates the position of the component.
|
1145
|
-
*
|
1146
|
-
* @param delayed
|
1147
|
-
*/
|
1148
|
-
async reposition(delayed = false) {
|
1149
|
-
const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;
|
1150
|
-
return floatingUi.reposition(this, {
|
1151
|
-
floatingEl,
|
1152
|
-
referenceEl,
|
1153
|
-
overlayPositioning,
|
1154
|
-
placement,
|
1155
|
-
flipPlacements: filteredFlipPlacements,
|
1156
|
-
type: "menu",
|
1157
|
-
}, delayed);
|
1158
|
-
}
|
1159
|
-
// --------------------------------------------------------------------------
|
1160
|
-
//
|
1161
|
-
// Lifecycle
|
1162
|
-
//
|
1163
|
-
// --------------------------------------------------------------------------
|
1164
|
-
connectedCallback() {
|
1165
|
-
interactive.connectInteractive(this);
|
1166
|
-
locale.connectLocalized(this);
|
1167
|
-
const { open } = this;
|
1168
|
-
open && this.openHandler();
|
1169
|
-
if (Array.isArray(this.value)) {
|
1170
|
-
this.valueAsDate = getValueAsDateRange(this.value);
|
1171
|
-
}
|
1172
|
-
else if (this.value) {
|
1173
|
-
try {
|
1174
|
-
this.valueAsDate = date.dateFromISO(this.value);
|
1175
|
-
}
|
1176
|
-
catch (error) {
|
1177
|
-
this.warnAboutInvalidValue(this.value);
|
1178
|
-
this.value = "";
|
1179
|
-
}
|
1180
|
-
}
|
1181
|
-
else if (this.valueAsDate) {
|
1182
|
-
if (this.range) {
|
1183
|
-
this.setRangeValue(this.valueAsDate);
|
1184
|
-
}
|
1185
|
-
else if (!Array.isArray(this.valueAsDate)) {
|
1186
|
-
this.value = date.dateToISO(this.valueAsDate);
|
1187
|
-
}
|
1188
|
-
}
|
1189
|
-
if (this.min) {
|
1190
|
-
this.minAsDate = date.dateFromISO(this.min);
|
1191
|
-
}
|
1192
|
-
if (this.max) {
|
1193
|
-
this.maxAsDate = date.dateFromISO(this.max);
|
1194
|
-
}
|
1195
|
-
label.connectLabel(this);
|
1196
|
-
form.connectForm(this);
|
1197
|
-
t9n.connectMessages(this);
|
1198
|
-
this.setFilteredPlacements();
|
1199
|
-
locale.numberStringFormatter.numberFormatOptions = {
|
1200
|
-
numberingSystem: this.numberingSystem,
|
1201
|
-
locale: this.effectiveLocale,
|
1202
|
-
useGrouping: false,
|
1203
|
-
};
|
1204
|
-
if (this.open) {
|
1205
|
-
openCloseComponent.onToggleOpenCloseComponent(this);
|
1206
|
-
}
|
1207
|
-
floatingUi.connectFloatingUI(this, this.referenceEl, this.floatingEl);
|
1208
|
-
}
|
1209
|
-
async componentWillLoad() {
|
1210
|
-
loadable.setUpLoadableComponent(this);
|
1211
|
-
await Promise.all([this.loadLocaleData(), t9n.setUpMessages(this)]);
|
1212
|
-
this.onMinChanged(this.min);
|
1213
|
-
this.onMaxChanged(this.max);
|
1214
|
-
}
|
1215
|
-
componentDidLoad() {
|
1216
|
-
loadable.setComponentLoaded(this);
|
1217
|
-
this.localizeInputValues();
|
1218
|
-
floatingUi.connectFloatingUI(this, this.referenceEl, this.floatingEl);
|
1219
|
-
}
|
1220
|
-
disconnectedCallback() {
|
1221
|
-
focusTrapComponent.deactivateFocusTrap(this);
|
1222
|
-
interactive.disconnectInteractive(this);
|
1223
|
-
label.disconnectLabel(this);
|
1224
|
-
form.disconnectForm(this);
|
1225
|
-
floatingUi.disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
1226
|
-
locale.disconnectLocalized(this);
|
1227
|
-
t9n.disconnectMessages(this);
|
1228
|
-
}
|
1229
|
-
componentDidRender() {
|
1230
|
-
interactive.updateHostInteraction(this);
|
1231
|
-
}
|
1232
|
-
render() {
|
1233
|
-
var _a, _b, _c;
|
1234
|
-
const { disabled, effectiveLocale, messages, numberingSystem, readOnly } = this;
|
1235
|
-
locale.numberStringFormatter.numberFormatOptions = {
|
1236
|
-
numberingSystem,
|
1237
|
-
locale: effectiveLocale,
|
1238
|
-
useGrouping: false,
|
1239
|
-
};
|
1240
|
-
return (index.h(index.Host, { key: 'fd558a11028d7d967811f2a1236d46e82d45161b', onBlur: this.blurHandler, onKeyDown: this.keyDownHandler }, index.h(interactive.InteractiveContainer, { key: 'ebf90902c5f3056147f91ee4690e6e69ab452042', disabled: this.disabled }, this.localeData && (index.h("div", { key: '5e5cfbb9688e08aaf1e12b3527882ee3911d8e84', class: CSS$2.inputContainer }, index.h("div", { key: '63014b5695465c3a1b4fe54be6f036a1aa8393e8', class: CSS$2.inputWrapper, "data-position": "start", onClick: this.onInputWrapperClick, onPointerDown: this.onInputWrapperPointerDown,
|
1241
|
-
// 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)
|
1242
|
-
ref: this.setStartWrapper }, index.h("calcite-input-text", { key: '5cfeff37fb1998954f4e17296f15fcf6b9ea10cd', "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-describedby": this.placeholderTextId, "aria-expanded": dom.toAriaBoolean(this.open), "aria-haspopup": "dialog", class: {
|
1243
|
-
[CSS$2.input]: true,
|
1244
|
-
[CSS$2.inputNoBottomBorder]: this.layout === "vertical" && this.range,
|
1245
|
-
}, 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,
|
1246
|
-
// 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)
|
1247
|
-
ref: this.setStartInput }), !this.readOnly &&
|
1248
|
-
this.renderToggleIcon(this.open && this.focusedInput === "start"), index.h("span", { key: 'f3a99326b0ee83dded0efcce2bacc2acca82741a', "aria-hidden": "true", class: CSS$2.assistiveText, id: this.placeholderTextId }, "Date Format: ", (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder)), index.h("div", { key: '87d96dd359485c1c192f63f694365f6767346207', "aria-hidden": dom.toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
|
1249
|
-
[CSS$2.menu]: true,
|
1250
|
-
[CSS$2.menuActive]: this.open,
|
1251
|
-
}, id: this.dialogId, role: "dialog",
|
1252
|
-
// 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)
|
1253
|
-
ref: this.setFloatingEl }, index.h("div", { key: '7bb0daff0e3017152b69a7bec09de23d96539749', class: {
|
1254
|
-
[CSS$2.calendarWrapper]: true,
|
1255
|
-
[CSS$2.calendarWrapperEnd]: this.focusedInput === "end",
|
1256
|
-
[floatingUi.FloatingCSS.animation]: true,
|
1257
|
-
[floatingUi.FloatingCSS.animationActive]: this.open,
|
1258
|
-
},
|
1259
|
-
// 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)
|
1260
|
-
ref: this.setTransitionEl }, index.h("calcite-date-picker", { key: 'e9a771765f104b79391396ead9d7e359aa0325cb', 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,
|
1261
|
-
// 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)
|
1262
|
-
ref: this.setDatePickerRef }))), this.range && this.layout === "horizontal" && (index.h("div", { key: '61b5787f2990d8143bf62da9e33e1253ab196a47', class: CSS$2.horizontalArrowContainer }, index.h("calcite-icon", { key: 'c665d2196d7cc71535ae1e352729ad7c3eb606e6', flipRtl: true, icon: "arrow-right", scale: component.getIconScale(this.scale) }))), this.range && this.layout === "vertical" && this.scale !== "s" && (index.h("div", { key: '3b5b05e60ad4dc6e866f2a2e3b8da8427e0d8769', class: CSS$2.verticalArrowContainer }, index.h("calcite-icon", { key: '395db3f34af565b7403ce50a1455833a43a86463', icon: "arrow-down", scale: component.getIconScale(this.scale) }))), this.range && (index.h("div", { key: '596548166a4798cbd04ee76938a5a5e8ae2a9081', class: CSS$2.inputWrapper, "data-position": "end", onClick: this.onInputWrapperClick, onPointerDown: this.onInputWrapperPointerDown,
|
1263
|
-
// 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)
|
1264
|
-
ref: this.setEndWrapper }, index.h("calcite-input-text", { key: '1d56b70f902730c20cd0d501d5ece75635bd503b', "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-expanded": dom.toAriaBoolean(this.open), "aria-haspopup": "dialog", class: {
|
1265
|
-
[CSS$2.input]: true,
|
1266
|
-
[CSS$2.inputBorderTopColorOne]: this.layout === "vertical" && this.range,
|
1267
|
-
}, 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,
|
1268
|
-
// 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)
|
1269
|
-
ref: this.setEndInput }), !this.readOnly &&
|
1270
|
-
this.renderToggleIcon(this.open && this.focusedInput === "end"))))), index.h(form.HiddenFormInputSlot, { key: '7f09766af52aaa2db452431301dfa55cd8af3a2e', component: this }), this.validationMessage && this.status === "invalid" ? (index.h(Validation.Validation, { icon: this.validationIcon, message: this.validationMessage, scale: this.scale, status: this.status })) : null)));
|
1271
|
-
}
|
1272
|
-
renderToggleIcon(open) {
|
1273
|
-
return (
|
1274
|
-
// we set tab index to -1 to prevent delegatesFocus from stealing focus before we can set it
|
1275
|
-
index.h("span", { class: CSS$2.toggleIcon, tabIndex: -1 }, index.h("calcite-icon", { class: CSS$2.chevronIcon, icon: open ? "chevron-up" : "chevron-down", scale: component.getIconScale(this.scale) })));
|
1276
|
-
}
|
1277
|
-
setReferenceEl() {
|
1278
|
-
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
1279
|
-
this.referenceEl =
|
1280
|
-
focusedInput === "end" || layout === "vertical"
|
1281
|
-
? endWrapper || startWrapper
|
1282
|
-
: startWrapper || endWrapper;
|
1283
|
-
requestAnimationFrame(() => floatingUi.connectFloatingUI(this, this.referenceEl, this.floatingEl));
|
1284
|
-
}
|
1285
|
-
onLabelClick() {
|
1286
|
-
this.setFocus();
|
1287
|
-
}
|
1288
|
-
onBeforeOpen() {
|
1289
|
-
this.calciteInputDatePickerBeforeOpen.emit();
|
1290
|
-
}
|
1291
|
-
onOpen() {
|
1292
|
-
focusTrapComponent.activateFocusTrap(this, {
|
1293
|
-
onActivate: () => {
|
1294
|
-
if (this.focusOnOpen) {
|
1295
|
-
this.datePickerEl.setFocus();
|
1296
|
-
this.focusOnOpen = false;
|
1297
|
-
}
|
1298
|
-
},
|
1299
|
-
});
|
1300
|
-
this.calciteInputDatePickerOpen.emit();
|
1301
|
-
}
|
1302
|
-
onBeforeClose() {
|
1303
|
-
this.calciteInputDatePickerBeforeClose.emit();
|
1304
|
-
}
|
1305
|
-
onClose() {
|
1306
|
-
this.calciteInputDatePickerClose.emit();
|
1307
|
-
focusTrapComponent.deactivateFocusTrap(this);
|
1308
|
-
this.restoreInputFocus();
|
1309
|
-
this.focusOnOpen = false;
|
1310
|
-
this.datePickerEl.reset();
|
1311
|
-
}
|
1312
|
-
commitValue() {
|
1313
|
-
const { focusedInput, value } = this;
|
1314
|
-
const focusedInputName = `${focusedInput}Input`;
|
1315
|
-
const focusedInputValue = this[focusedInputName].value;
|
1316
|
-
const date$1 = date.dateFromLocalizedString(focusedInputValue, this.localeData);
|
1317
|
-
const dateAsISO = date.dateToISO(date$1);
|
1318
|
-
const valueIsArray = Array.isArray(value);
|
1319
|
-
if (this.range) {
|
1320
|
-
const focusedInputValueIndex = focusedInput === "start" ? 0 : 1;
|
1321
|
-
if (valueIsArray) {
|
1322
|
-
if (dateAsISO === value[focusedInputValueIndex]) {
|
1323
|
-
return;
|
1324
|
-
}
|
1325
|
-
if (date$1) {
|
1326
|
-
this.setRangeValue([
|
1327
|
-
focusedInput === "start" ? date$1 : date.dateFromISO(value[0]),
|
1328
|
-
focusedInput === "end" ? date$1 : date.dateFromISO(value[1]),
|
1329
|
-
]);
|
1330
|
-
this.localizeInputValues();
|
1331
|
-
}
|
1332
|
-
else {
|
1333
|
-
this.setRangeValue([
|
1334
|
-
focusedInput === "end" && date.dateFromISO(value[0]),
|
1335
|
-
focusedInput === "start" && date.dateFromISO(value[1]),
|
1336
|
-
]);
|
1337
|
-
}
|
1338
|
-
}
|
1339
|
-
else {
|
1340
|
-
if (date$1) {
|
1341
|
-
this.setRangeValue([
|
1342
|
-
focusedInput === "start" ? date$1 : date.dateFromISO(value[0]),
|
1343
|
-
focusedInput === "end" ? date$1 : date.dateFromISO(value[1]),
|
1344
|
-
]);
|
1345
|
-
this.localizeInputValues();
|
1346
|
-
}
|
1347
|
-
}
|
1348
|
-
}
|
1349
|
-
else {
|
1350
|
-
if (dateAsISO === value) {
|
1351
|
-
return;
|
1352
|
-
}
|
1353
|
-
this.setValue(date$1);
|
1354
|
-
this.localizeInputValues();
|
1355
|
-
}
|
1356
|
-
}
|
1357
|
-
async loadLocaleData() {
|
1358
|
-
locale.numberStringFormatter.numberFormatOptions = {
|
1359
|
-
numberingSystem: this.numberingSystem,
|
1360
|
-
locale: this.effectiveLocale,
|
1361
|
-
useGrouping: false,
|
1362
|
-
};
|
1363
|
-
this.localeData = await getLocaleData(this.effectiveLocale);
|
1364
|
-
this.localizeInputValues();
|
1365
|
-
}
|
1366
|
-
shouldFocusRangeStart() {
|
1367
|
-
const startValue = this.value[0];
|
1368
|
-
const endValue = this.value[1];
|
1369
|
-
return !!(endValue && !startValue && this.focusedInput === "end" && this.startInput);
|
1370
|
-
}
|
1371
|
-
shouldFocusRangeEnd() {
|
1372
|
-
const startValue = this.value[0];
|
1373
|
-
const endValue = this.value[1];
|
1374
|
-
return !!(startValue && !endValue && this.focusedInput === "start" && this.endInput);
|
1375
|
-
}
|
1376
|
-
restoreInputFocus() {
|
1377
|
-
if (!this.range) {
|
1378
|
-
this.startInput.setFocus();
|
1379
|
-
return;
|
1380
|
-
}
|
1381
|
-
const focusedInput = this.focusedInput === "start" ? this.startInput : this.endInput;
|
1382
|
-
focusedInput.setFocus();
|
1383
|
-
}
|
1384
|
-
localizeInputValues() {
|
1385
|
-
var _a;
|
1386
|
-
const date$1 = date.dateFromRange((this.range
|
1387
|
-
? (Array.isArray(this.valueAsDate) && this.valueAsDate[0]) || undefined
|
1388
|
-
: this.valueAsDate), this.minAsDate, this.maxAsDate);
|
1389
|
-
const endDate = this.range
|
1390
|
-
? date.dateFromRange((Array.isArray(this.valueAsDate) && this.valueAsDate[1]) || undefined, this.minAsDate, this.maxAsDate)
|
1391
|
-
: null;
|
1392
|
-
const formattingOptions = {
|
1393
|
-
// we explicitly set numberingSystem to prevent the browser-inferred value
|
1394
|
-
// see https://github.com/Esri/calcite-design-system/issues/3079#issuecomment-1168964195 for more info
|
1395
|
-
numberingSystem: locale.getSupportedNumberingSystem(this.numberingSystem),
|
1396
|
-
};
|
1397
|
-
const localizedDate = date$1 && date$1.toLocaleDateString(this.effectiveLocale, formattingOptions);
|
1398
|
-
const localizedEndDate = endDate && endDate.toLocaleDateString(this.effectiveLocale, formattingOptions);
|
1399
|
-
this.setInputValue(localizedDate !== null && localizedDate !== void 0 ? localizedDate : "", "start");
|
1400
|
-
this.setInputValue((_a = (this.range && localizedEndDate)) !== null && _a !== void 0 ? _a : "", "end");
|
1401
|
-
}
|
1402
|
-
warnAboutInvalidValue(value) {
|
1403
|
-
console.warn(`The specified value "${value}" does not conform to the required format, "YYYY-MM-DD".`);
|
1404
|
-
}
|
1405
|
-
getNormalizedDate(value) {
|
1406
|
-
if (!value) {
|
1407
|
-
return "";
|
1408
|
-
}
|
1409
|
-
if (!isTwoDigitYear(value)) {
|
1410
|
-
return value;
|
1411
|
-
}
|
1412
|
-
const { day, month, year } = date.datePartsFromISO(value);
|
1413
|
-
const normalizedYear = normalizeToCurrentCentury(Number(year));
|
1414
|
-
return `${normalizedYear}-${month}-${day}`;
|
1415
|
-
}
|
1416
|
-
static get delegatesFocus() { return true; }
|
1417
|
-
static get assetsDirs() { return ["assets"]; }
|
1418
|
-
get el() { return index.getElement(this); }
|
1419
|
-
static get watchers() { return {
|
1420
|
-
"focusTrapDisabled": ["handleFocusTrapDisabled"],
|
1421
|
-
"disabled": ["handleDisabledAndReadOnlyChange"],
|
1422
|
-
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
1423
|
-
"value": ["valueWatcher"],
|
1424
|
-
"valueAsDate": ["valueAsDateWatcher"],
|
1425
|
-
"flipPlacements": ["flipPlacementsHandler"],
|
1426
|
-
"messageOverrides": ["onMessagesChange"],
|
1427
|
-
"min": ["onMinChanged"],
|
1428
|
-
"max": ["onMaxChanged"],
|
1429
|
-
"open": ["openHandler"],
|
1430
|
-
"overlayPositioning": ["overlayPositioningHandler"],
|
1431
|
-
"layout": ["setReferenceEl"],
|
1432
|
-
"focusedInput": ["setReferenceEl"],
|
1433
|
-
"effectiveLocale": ["loadLocaleData"]
|
1434
|
-
}; }
|
1435
|
-
};
|
1436
|
-
InputDatePicker.style = CalciteInputDatePickerStyle0;
|
1437
|
-
|
1438
|
-
const baseClassLight = 'instant-apps-filter-list calcite-mode-light';
|
1439
|
-
const baseClassDark = 'instant-apps-filter-list calcite-mode-dark';
|
1440
|
-
const supportedTypes = ['feature', 'geojson', 'wfs', 'csv', 'scene', 'subtype-group', 'point-cloud', 'map-image', 'sublayer'];
|
1441
|
-
|
1442
|
-
function handleSingleQuote(value) {
|
1443
|
-
return value.replaceAll("'", "''");
|
1444
|
-
}
|
1445
|
-
function convertToDate(date, includeTime = false) {
|
1446
|
-
if (date) {
|
1447
|
-
const tmpDate = new Date(date);
|
1448
|
-
const formattedDate = `${tmpDate.getFullYear()}-${tmpDate.getMonth() + 1}-${tmpDate.getDate()}`;
|
1449
|
-
if (includeTime) {
|
1450
|
-
const time = `${tmpDate.getHours()}:${tmpDate.getMinutes()}:${tmpDate.getSeconds()}`;
|
1451
|
-
return `${formattedDate} ${time}`;
|
1452
|
-
}
|
1453
|
-
else {
|
1454
|
-
return formattedDate;
|
1455
|
-
}
|
1456
|
-
}
|
1457
|
-
return;
|
1458
|
-
}
|
1459
|
-
function resetDatePicker(datePicker) {
|
1460
|
-
var _a;
|
1461
|
-
if (datePicker != null) {
|
1462
|
-
datePicker.value = ['', ''];
|
1463
|
-
const inputs = (_a = datePicker.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('calcite-input');
|
1464
|
-
if (inputs != null) {
|
1465
|
-
for (const input of inputs) {
|
1466
|
-
input.value = '';
|
1467
|
-
}
|
1468
|
-
}
|
1469
|
-
}
|
1470
|
-
}
|
1471
|
-
|
1472
|
-
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}";
|
1473
|
-
const InstantAppsFilterListStyle0 = instantAppsFilterListCss;
|
1474
|
-
|
1475
|
-
const CSS$1 = {
|
1476
|
-
base: 'instant-apps-filter-list',
|
1477
|
-
filterContainer: 'instant-apps-filter-list__container',
|
1478
|
-
footer: 'instant-apps-filter-list__footer',
|
1479
|
-
filterItemTitle: 'instant-apps-filter-list__title',
|
1480
|
-
filterItemContainer: 'instant-apps-filter-list__item-container',
|
1481
|
-
filterUIItemContainer: 'instant-apps-filter-list__item-container--user-input',
|
1482
|
-
checkboxContainer: 'instant-apps-filter-list__checkbox-container',
|
1483
|
-
numberInputContainer: 'instant-apps-filter-list__number-input-container',
|
1484
|
-
dateInputContainer: 'instant-apps-filter-list__date-picker-input-container',
|
1485
|
-
operatorDesc: 'instant-apps-filter-list__operator-description',
|
1486
|
-
zoomTo: 'instant-apps-filter-list__zoom-to',
|
1487
|
-
};
|
1488
|
-
const InstantAppsFilterList = class {
|
1489
|
-
constructor(hostRef) {
|
1490
|
-
index.registerInstance(this, hostRef);
|
1491
|
-
this.filterListReset = index.createEvent(this, "filterListReset", 7);
|
1492
|
-
this.filterUpdate = index.createEvent(this, "filterUpdate", 7);
|
1493
|
-
this.layerExpressions = undefined;
|
1494
|
-
this.autoUpdateUrl = false;
|
1495
|
-
this.closeBtn = false;
|
1496
|
-
this.closeBtnOnClick = undefined;
|
1497
|
-
this.comboboxOverlayPositioning = 'absolute';
|
1498
|
-
this.closeBtnText = undefined;
|
1499
|
-
this.openFilters = false;
|
1500
|
-
this.extentSelector = false;
|
1501
|
-
this.extentSelectorConfig = undefined;
|
1502
|
-
this.urlParams = undefined;
|
1503
|
-
this.filterCount = 0;
|
1504
|
-
this.view = undefined;
|
1505
|
-
this.zoomBtn = true;
|
1506
|
-
this.loading = undefined;
|
1507
|
-
this.filterLayerExpressions = undefined;
|
1508
|
-
this.messages = undefined;
|
1509
|
-
this.baseClass = baseClassLight;
|
1510
|
-
this.disabled = true;
|
1511
|
-
this.hasLayerExpression = false;
|
1512
|
-
this.initDefExpressions = undefined;
|
1513
|
-
this.initMapImageExpressions = undefined;
|
1514
|
-
this.initPointCloudFilters = undefined;
|
1515
|
-
}
|
1516
|
-
watchViewHandler() {
|
1517
|
-
this.handleWhenView();
|
1518
|
-
}
|
1519
|
-
watchLayerExpressions() {
|
1520
|
-
if (!this.hasLayerExpression) {
|
1521
|
-
this.filterLayerExpressions = JSON.parse(JSON.stringify(this.layerExpressions));
|
1522
|
-
this.handleLayerExpressionsUpdate();
|
1523
|
-
this.hasLayerExpression = true;
|
1524
|
-
}
|
1525
|
-
}
|
1526
|
-
async componentWillLoad() {
|
1527
|
-
var _a;
|
1528
|
-
this.baseClass = mode.getMode(this.el) === 'dark' ? baseClassDark : baseClassLight;
|
1529
|
-
await this.initializeModules();
|
1530
|
-
locale$1.getMessages(this);
|
1531
|
-
this.hasLayerExpression = this.layerExpressions != null;
|
1532
|
-
this.filterLayerExpressions = this.layerExpressions != null ? JSON.parse(JSON.stringify(this.layerExpressions)) : undefined;
|
1533
|
-
this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) ? undefined : true;
|
1534
|
-
this.reactiveUtils.whenOnce(() => this.view).then(() => this.handleLayerExpressionsUpdate());
|
1535
|
-
}
|
1536
|
-
componentShouldUpdate(newValue, _oldValue, name) {
|
1537
|
-
if (name === 'view' && newValue != null) {
|
1538
|
-
this.handleWhenView();
|
1539
|
-
}
|
1540
|
-
else if (name === 'layerExpressions') {
|
1541
|
-
if (this.hasLayerExpression) {
|
1542
|
-
this.resetAllFilters();
|
1543
|
-
}
|
1544
|
-
this.filterLayerExpressions = JSON.parse(JSON.stringify(this.layerExpressions));
|
1545
|
-
this.handleLayerExpressionsUpdate();
|
1546
|
-
this.hasLayerExpression = true;
|
1547
|
-
}
|
1548
|
-
}
|
1549
|
-
componentWillRender() {
|
1550
|
-
var _a;
|
1551
|
-
this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) > 0 ? undefined : true;
|
1552
|
-
}
|
1553
|
-
disconnectedCallback() {
|
1554
|
-
this.filterLayerExpressions = JSON.parse(JSON.stringify(this.layerExpressions));
|
1555
|
-
this.resetAllFilters();
|
1556
|
-
}
|
1557
|
-
async initializeModules() {
|
1558
|
-
const [intl, geometryJsonUtils, reactiveUtils] = await loadModules.loadModules(['esri/intl', 'esri/geometry/support/jsonUtils', 'esri/core/reactiveUtils']);
|
1559
|
-
this.geometryJsonUtils = geometryJsonUtils;
|
1560
|
-
this.reactiveUtils = reactiveUtils;
|
1561
|
-
this.locale = intl.getLocale();
|
1562
|
-
this.intl = intl;
|
1563
|
-
return Promise.resolve();
|
1564
|
-
}
|
1565
|
-
render() {
|
1566
|
-
const filterConfig = this.loading ? this.renderLoading() : this.initFilterConfig();
|
1567
|
-
const footer = this.closeBtn ? this.renderFullFooter() : this.renderFooter();
|
1568
|
-
return (index.h(index.Host, { key: '5548c6406452810de75b821ef07cd394fbf1dd06' }, index.h("calcite-panel", { key: '54b4a9bb11b500ae56f71ecbc9928b0e51337d50', class: this.baseClass, ref: el => (this.panelEl = el) }, index.h("slot", { key: '69ae0bcf9f347dc3b4813611c9edbb38eba8ee72', slot: "header-content", name: "filter-header-content" }), index.h("slot", { key: '5122cfc894077bd7dcffe8ec973e9d67293da43a', slot: "header-actions-end", name: "filter-header-actions-end" }), index.h("div", { key: "filter-container", class: CSS$1.filterContainer }, filterConfig, footer))));
|
1569
|
-
}
|
1570
|
-
renderLoading() {
|
1571
|
-
return index.h("calcite-loader", { label: "Loading filters..." });
|
1572
|
-
}
|
1573
|
-
renderFilter(layerExpression) {
|
1574
|
-
const { id } = layerExpression;
|
1575
|
-
return layerExpression.expressions.map((expression, index$1) => {
|
1576
|
-
return expression.type == 'checkbox' || expression.type == null ? (index.h("div", { key: `${id}-${index$1}`, class: CSS$1.filterItemContainer }, index.h("div", { class: CSS$1.filterItemTitle }, index.h("p", null, expression.name)), index.h("div", { class: CSS$1.checkboxContainer }, index.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));
|
1577
|
-
});
|
1578
|
-
}
|
1579
|
-
renderLayerBlock() {
|
1580
|
-
return this.filterLayerExpressions.map(layerExpression => {
|
1581
|
-
return this.renderFilterBlocks(layerExpression);
|
1582
|
-
});
|
1583
|
-
}
|
1584
|
-
renderFilterBlocks(layerExpression) {
|
1585
|
-
var _a;
|
1586
|
-
const filter = this.renderFilter(layerExpression);
|
1587
|
-
const { operator } = layerExpression;
|
1588
|
-
const operatorTranslation = (operator === null || operator === void 0 ? void 0 : operator.trim()) === 'OR' ? 'orOperator' : 'andOperator';
|
1589
|
-
const zoomTo = this.renderZoomTo(layerExpression);
|
1590
|
-
return (index.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));
|
1591
|
-
}
|
1592
|
-
renderCombobox(layerExpression, expression) {
|
1593
|
-
var _a;
|
1594
|
-
return (index.h("label", { key: "combo-select", class: CSS$1.filterUIItemContainer }, index.h("span", null, expression.name), index.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)))));
|
1595
|
-
}
|
1596
|
-
renderComboboxItem(expression, value, index$1) {
|
1597
|
-
var _a;
|
1598
|
-
const label = this.createLabel(expression, value);
|
1599
|
-
const selectedFields = expression === null || expression === void 0 ? void 0 : expression.selectedFields;
|
1600
|
-
const selected = (_a = selectedFields === null || selectedFields === void 0 ? void 0 : selectedFields.includes(value)) !== null && _a !== void 0 ? _a : false;
|
1601
|
-
return index.h("calcite-combobox-item", { key: `${label}-${index$1}`, value: value, textLabel: `${label}`, selected: selected });
|
1602
|
-
}
|
1603
|
-
initFilterConfig() {
|
1604
|
-
var _a, _b;
|
1605
|
-
if (((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
1606
|
-
if (this.filterLayerExpressions.length === 1) {
|
1607
|
-
const { operator } = this.filterLayerExpressions[0];
|
1608
|
-
const operatorTranslation = (operator === null || operator === void 0 ? void 0 : operator.trim()) === 'OR' ? 'orOperator' : 'andOperator';
|
1609
|
-
const zoomTo = this.renderZoomTo(this.filterLayerExpressions[0]);
|
1610
|
-
return (index.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])));
|
1611
|
-
}
|
1612
|
-
else if (this.filterLayerExpressions.length > 1) {
|
1613
|
-
return this.renderLayerBlock();
|
1614
|
-
}
|
1615
|
-
}
|
1616
|
-
return;
|
1617
|
-
}
|
1618
|
-
renderNumberSlider(layerExpression, expression) {
|
1619
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
1620
|
-
const min = expression === null || expression === void 0 ? void 0 : expression.min;
|
1621
|
-
const max = expression === null || expression === void 0 ? void 0 : expression.max;
|
1622
|
-
const step = (expression === null || expression === void 0 ? void 0 : expression.step) ? expression.step : 1;
|
1623
|
-
const check = min != null && max != null;
|
1624
|
-
const field = (_a = expression === null || expression === void 0 ? void 0 : expression.field) !== null && _a !== void 0 ? _a : '';
|
1625
|
-
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;
|
1626
|
-
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;
|
1627
|
-
const value = [minValue, maxValue];
|
1628
|
-
return check ? (index.h("label", { key: expression === null || expression === void 0 ? void 0 : expression.id.toString(), class: CSS$1.filterUIItemContainer }, index.h("span", null, expression === null || expression === void 0 ? void 0 : expression.name), index.h("div", { class: CSS$1.numberInputContainer }, index.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;
|
1629
|
-
}
|
1630
|
-
renderDatePicker(layerExpression, expression) {
|
1631
|
-
var _a, _b, _c, _d;
|
1632
|
-
const { min, max } = expression;
|
1633
|
-
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];
|
1634
|
-
const check = min != null && max != null;
|
1635
|
-
return check ? (index.h("label", { class: CSS$1.filterUIItemContainer }, index.h("span", null, expression === null || expression === void 0 ? void 0 : expression.name), index.h("div", { class: CSS$1.dateInputContainer }, index.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 }), index.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;
|
1636
|
-
}
|
1637
|
-
renderFooter() {
|
1638
|
-
var _a;
|
1639
|
-
return (index.h("div", { class: CSS$1.footer, slot: "footer" }, index.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)));
|
1640
|
-
}
|
1641
|
-
renderFullFooter() {
|
1642
|
-
var _a, _b, _c;
|
1643
|
-
const closeText = this.closeBtnText != null ? this.closeBtnText : (_a = this.messages) === null || _a === void 0 ? void 0 : _a.close;
|
1644
|
-
return (index.h("div", { class: CSS$1.footer, slot: "footer" }, index.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), index.h("calcite-button", { appearance: "solid", width: "half", kind: "brand", onClick: (_c = this.closeBtnOnClick) === null || _c === void 0 ? void 0 : _c.bind(this) }, closeText)));
|
1645
|
-
}
|
1646
|
-
renderZoomTo(layerExpression) {
|
1647
|
-
var _a;
|
1648
|
-
const id = (layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId) ? `zoom-to-${layerExpression.id}-${layerExpression.sublayerId}` : `zoom-to-${layerExpression.id}`;
|
1649
|
-
return this.zoomBtn ? (index.h("div", { class: CSS$1.zoomTo }, index.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;
|
1650
|
-
}
|
1651
|
-
handleResetDatePicker(expression, layerExpression) {
|
1652
|
-
const datePicker = this.panelEl.querySelector(`[id='${expression.id}']`);
|
1653
|
-
resetDatePicker(datePicker);
|
1654
|
-
expression.active = false;
|
1655
|
-
expression.definitionExpression = undefined;
|
1656
|
-
expression.range = undefined;
|
1657
|
-
this.generateOutput(layerExpression);
|
1658
|
-
}
|
1659
|
-
initInput(layerExpression, expression) {
|
1660
|
-
const { type } = expression;
|
1661
|
-
if (type === 'string' || type == 'coded-value') {
|
1662
|
-
return this.renderCombobox(layerExpression, expression);
|
1663
|
-
}
|
1664
|
-
else if (type === 'number' || type == 'range') {
|
1665
|
-
if ((expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
|
1666
|
-
return this.renderCombobox(layerExpression, expression);
|
1667
|
-
}
|
1668
|
-
return this.renderNumberSlider(layerExpression, expression);
|
1669
|
-
}
|
1670
|
-
else if (type === 'date') {
|
1671
|
-
if ((expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
|
1672
|
-
return this.renderCombobox(layerExpression, expression);
|
1673
|
-
}
|
1674
|
-
return this.renderDatePicker(layerExpression, expression);
|
1675
|
-
}
|
1676
|
-
return;
|
1677
|
-
}
|
1678
|
-
async initExpressions() {
|
1679
|
-
this.loading = true;
|
1680
|
-
if (this.filterLayerExpressions == null)
|
1681
|
-
return;
|
1682
|
-
const tmpLE = this.filterLayerExpressions;
|
1683
|
-
for (let i = 0; i < (tmpLE === null || tmpLE === void 0 ? void 0 : tmpLE.length); i++) {
|
1684
|
-
const expressions = tmpLE[i].expressions;
|
1685
|
-
for (let j = 0; j < (expressions === null || expressions === void 0 ? void 0 : expressions.length); j++) {
|
1686
|
-
if (expressions[j].active == null && expressions[j].definitionExpression != null) {
|
1687
|
-
expressions[j].active = false;
|
1688
|
-
}
|
1689
|
-
await this.setInitExpression(tmpLE[i], expressions[j]);
|
1690
|
-
}
|
1691
|
-
}
|
1692
|
-
this.loading = false;
|
1693
|
-
this.filterLayerExpressions = [...tmpLE];
|
1694
|
-
}
|
1695
|
-
handleResetFilter() {
|
1696
|
-
var _a;
|
1697
|
-
(_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.forEach(layerExpression => {
|
1698
|
-
var _a;
|
1699
|
-
(_a = layerExpression.expressions) === null || _a === void 0 ? void 0 : _a.forEach(expression => {
|
1700
|
-
const { type } = expression;
|
1701
|
-
if (type === 'string' || type === 'coded-value') {
|
1702
|
-
this.resetCombobox(expression);
|
1703
|
-
}
|
1704
|
-
else if (type === 'date') {
|
1705
|
-
if ((expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
|
1706
|
-
this.resetCombobox(expression);
|
1707
|
-
}
|
1708
|
-
else {
|
1709
|
-
this.resetDatePicker(expression);
|
1710
|
-
}
|
1711
|
-
}
|
1712
|
-
else if (type === 'number' || type === 'range') {
|
1713
|
-
if ((expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
|
1714
|
-
this.resetCombobox(expression);
|
1715
|
-
}
|
1716
|
-
else {
|
1717
|
-
this.resetNumberRange(expression);
|
1718
|
-
}
|
1719
|
-
}
|
1720
|
-
else {
|
1721
|
-
this.resetCheckbox(expression);
|
1722
|
-
}
|
1723
|
-
expression.active = false;
|
1724
|
-
});
|
1725
|
-
});
|
1726
|
-
this.resetAllFilters();
|
1727
|
-
this.generateURLParams();
|
1728
|
-
this.filterListReset.emit();
|
1729
|
-
}
|
1730
|
-
resetCombobox(expression) {
|
1731
|
-
const { id } = expression;
|
1732
|
-
expression.selectedFields = undefined;
|
1733
|
-
const combobox = this.panelEl.querySelector(`[id='${id}']`);
|
1734
|
-
if (combobox != null) {
|
1735
|
-
for (let i = 0; i < combobox.children.length; i++) {
|
1736
|
-
const comboboxItem = combobox.children[i];
|
1737
|
-
comboboxItem.selected = false;
|
1738
|
-
}
|
1739
|
-
}
|
1740
|
-
}
|
1741
|
-
resetDatePicker(expression) {
|
1742
|
-
const { id } = expression;
|
1743
|
-
expression.range = undefined;
|
1744
|
-
const datePicker = this.panelEl.querySelector(`[id='${id}']`);
|
1745
|
-
resetDatePicker(datePicker);
|
1746
|
-
}
|
1747
|
-
resetNumberRange(expression) {
|
1748
|
-
expression.range = undefined;
|
1749
|
-
const { id, max, min } = expression;
|
1750
|
-
const slider = this.panelEl.querySelector(`[id='${id}']`);
|
1751
|
-
if (slider != null) {
|
1752
|
-
slider.minValue = min;
|
1753
|
-
slider.maxValue = max;
|
1754
|
-
}
|
1755
|
-
}
|
1756
|
-
resetCheckbox(expression) {
|
1757
|
-
const { id } = expression;
|
1758
|
-
const checkbox = this.panelEl.querySelector(`[id='${id}']`);
|
1759
|
-
if (checkbox != null) {
|
1760
|
-
checkbox.checked = false;
|
1761
|
-
}
|
1762
|
-
}
|
1763
|
-
resetAllFilters() {
|
1764
|
-
var _a, _b, _c, _d, _e;
|
1765
|
-
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);
|
1766
|
-
allLayersAndTables === null || allLayersAndTables === void 0 ? void 0 : allLayersAndTables.forEach(layer => {
|
1767
|
-
var _a, _b;
|
1768
|
-
if (supportedTypes.includes(layer.type)) {
|
1769
|
-
const fl = layer;
|
1770
|
-
if (fl.type === 'point-cloud') {
|
1771
|
-
fl.filters = (_a = this.initPointCloudFilters) === null || _a === void 0 ? void 0 : _a[fl.id];
|
1772
|
-
}
|
1773
|
-
else if (fl.type === 'map-image') {
|
1774
|
-
fl.allSublayers.forEach(sublayer => {
|
1775
|
-
var _a, _b;
|
1776
|
-
sublayer.definitionExpression = (_b = (_a = this.initMapImageExpressions) === null || _a === void 0 ? void 0 : _a[fl.id]) === null || _b === void 0 ? void 0 : _b[sublayer.id];
|
1777
|
-
});
|
1778
|
-
}
|
1779
|
-
else {
|
1780
|
-
fl.definitionExpression = (_b = this.initDefExpressions) === null || _b === void 0 ? void 0 : _b[fl.id];
|
1781
|
-
}
|
1782
|
-
}
|
1783
|
-
});
|
1784
|
-
}
|
1785
|
-
async updateStringExpression(layerExpression, expression) {
|
1786
|
-
const { field, type } = expression;
|
1787
|
-
const layer = this.findFilterLayer(layerExpression);
|
1788
|
-
expression.fields = await this.getFeatureAttributes(layer, field);
|
1789
|
-
if (type === 'date') {
|
1790
|
-
const layerField = layer.fields.find(({ name }) => name === field);
|
1791
|
-
if ((layerField === null || layerField === void 0 ? void 0 : layerField.type) === 'date-only') {
|
1792
|
-
expression.dateOnly = true;
|
1793
|
-
}
|
1794
|
-
}
|
1795
|
-
if (expression === null || expression === void 0 ? void 0 : expression.selectedFields) {
|
1796
|
-
const selectedFields = expression.selectedFields.map((field) => (typeof field === 'number' ? field : `'${handleSingleQuote(field)}'`));
|
1797
|
-
expression.definitionExpression = `${field} IN (${selectedFields.join(',')})`;
|
1798
|
-
return Promise.resolve(true);
|
1799
|
-
}
|
1800
|
-
return Promise.resolve(false);
|
1801
|
-
}
|
1802
|
-
async updateNumberExpression(layerExpression, expression) {
|
1803
|
-
var _a, _b;
|
1804
|
-
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)) {
|
1805
|
-
const layer = this.findFilterLayer(layerExpression);
|
1806
|
-
const { field } = expression;
|
1807
|
-
if (field != null) {
|
1808
|
-
this.setExpressionFormat(layer, expression, field);
|
1809
|
-
if ((expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
|
1810
|
-
const fields = (await this.getFeatureAttributes(layer, field));
|
1811
|
-
fields.sort((a, b) => a - b);
|
1812
|
-
expression.fields = fields;
|
1813
|
-
}
|
1814
|
-
else {
|
1815
|
-
const graphic = await this.calculateMinMaxStatistics(layer, field);
|
1816
|
-
const attributes = (_a = graphic === null || graphic === void 0 ? void 0 : graphic[0]) === null || _a === void 0 ? void 0 : _a.attributes;
|
1817
|
-
if (((_b = expression.format) === null || _b === void 0 ? void 0 : _b.places) != null) {
|
1818
|
-
expression.min = this.roundMinNumberDown(attributes[`min${field}`], expression.format.places);
|
1819
|
-
expression.max = this.roundMaxNumberUp(attributes[`max${field}`], expression.format.places);
|
1820
|
-
}
|
1821
|
-
else {
|
1822
|
-
expression.min = attributes[`min${field}`];
|
1823
|
-
expression.max = attributes[`max${field}`];
|
1824
|
-
}
|
1825
|
-
if ((expression === null || expression === void 0 ? void 0 : expression.range) && Object.keys(expression.range).length) {
|
1826
|
-
const { min, max } = expression.range;
|
1827
|
-
expression.definitionExpression = `${expression.field} BETWEEN ${min} AND ${max}`;
|
1828
|
-
return true;
|
1829
|
-
}
|
1830
|
-
}
|
1831
|
-
}
|
1832
|
-
}
|
1833
|
-
return false;
|
1834
|
-
}
|
1835
|
-
async updateDateExpression(layerExpression, expression) {
|
1836
|
-
var _a;
|
1837
|
-
const { field, range } = expression;
|
1838
|
-
const layer = this.findFilterLayer(layerExpression);
|
1839
|
-
const graphic = await this.calculateMinMaxStatistics(layer, field);
|
1840
|
-
const attributes = (_a = graphic === null || graphic === void 0 ? void 0 : graphic[0]) === null || _a === void 0 ? void 0 : _a.attributes;
|
1841
|
-
expression.min = convertToDate(attributes[`min${field}`]);
|
1842
|
-
expression.max = convertToDate(attributes[`max${field}`]);
|
1843
|
-
if (range != null && ((range === null || range === void 0 ? void 0 : range.max) != null || (range === null || range === void 0 ? void 0 : range.min) != null)) {
|
1844
|
-
let { min, max } = range;
|
1845
|
-
min = min === null || min === void 0 ? void 0 : min.replace('+', ' ');
|
1846
|
-
max = max === null || max === void 0 ? void 0 : max.replace('+', ' ');
|
1847
|
-
if (min || max) {
|
1848
|
-
const chevron = max && !min ? '<' : !max && min ? '>' : null;
|
1849
|
-
if (chevron) {
|
1850
|
-
expression.definitionExpression = `${field} ${chevron} '${min !== null && min !== void 0 ? min : max}'`;
|
1851
|
-
}
|
1852
|
-
else {
|
1853
|
-
expression.definitionExpression = `${field} BETWEEN '${min}' AND '${max}'`;
|
1854
|
-
}
|
1855
|
-
return true;
|
1856
|
-
}
|
1857
|
-
}
|
1858
|
-
return false;
|
1859
|
-
}
|
1860
|
-
updateCodedValueExpression(expression, layerField) {
|
1861
|
-
var _a;
|
1862
|
-
const { field } = expression;
|
1863
|
-
const fields = [];
|
1864
|
-
expression.codedValues = {};
|
1865
|
-
const domain = layerField === null || layerField === void 0 ? void 0 : layerField.domain;
|
1866
|
-
(_a = domain === null || domain === void 0 ? void 0 : domain.codedValues) === null || _a === void 0 ? void 0 : _a.forEach(cv => {
|
1867
|
-
const { code, name } = cv;
|
1868
|
-
fields.push(code);
|
1869
|
-
if (expression.codedValues != null) {
|
1870
|
-
expression.codedValues[code] = name;
|
1871
|
-
}
|
1872
|
-
});
|
1873
|
-
expression.fields = fields;
|
1874
|
-
if (expression === null || expression === void 0 ? void 0 : expression.selectedFields) {
|
1875
|
-
const selectedFields = expression.selectedFields.map((field) => (typeof field === 'number' ? field : `'${handleSingleQuote(field)}'`));
|
1876
|
-
const definitionExpression = `${field} IN (${selectedFields.join(',')})`;
|
1877
|
-
expression.definitionExpression = definitionExpression;
|
1878
|
-
return true;
|
1879
|
-
}
|
1880
|
-
return false;
|
1881
|
-
}
|
1882
|
-
updateRangeExpression(expression, layerField) {
|
1883
|
-
const { field, range } = expression;
|
1884
|
-
const domain = layerField === null || layerField === void 0 ? void 0 : layerField.domain;
|
1885
|
-
expression.min = domain === null || domain === void 0 ? void 0 : domain.minValue;
|
1886
|
-
expression.max = domain === null || domain === void 0 ? void 0 : domain.maxValue;
|
1887
|
-
if (range && Object.keys(range).length) {
|
1888
|
-
const { min, max } = range;
|
1889
|
-
const definitionExpression = `${field} BETWEEN ${min} AND ${max}`;
|
1890
|
-
expression.definitionExpression = definitionExpression;
|
1891
|
-
return true;
|
1892
|
-
}
|
1893
|
-
return false;
|
1894
|
-
}
|
1895
|
-
async getFeatureAttributes(layer, field) {
|
1896
|
-
var _a, _b, _c;
|
1897
|
-
if (layer && supportedTypes.includes(layer.type)) {
|
1898
|
-
const query = layer.createQuery();
|
1899
|
-
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']) {
|
1900
|
-
query.cacheHint = true;
|
1901
|
-
}
|
1902
|
-
if (field) {
|
1903
|
-
const initDefExpr = this.getInitDefExprFromLayer(layer);
|
1904
|
-
query.where = initDefExpr || '1=1';
|
1905
|
-
query.outFields = [field];
|
1906
|
-
query.orderByFields = [`${field} DESC`];
|
1907
|
-
query.returnDistinctValues = true;
|
1908
|
-
query.returnGeometry = false;
|
1909
|
-
query.maxRecordCountFactor = 3;
|
1910
|
-
if (this.extentSelector && this.extentSelectorConfig) {
|
1911
|
-
const geo = this.getExtent(this.extentSelector, this.extentSelectorConfig);
|
1912
|
-
if (geo != null)
|
1913
|
-
query.geometry = geo;
|
1914
|
-
query.spatialRelationship = 'intersects';
|
1915
|
-
}
|
1916
|
-
return (_c = (await this.queryForFeatures(layer, query, field))) === null || _c === void 0 ? void 0 : _c.sort();
|
1917
|
-
}
|
1918
|
-
}
|
1919
|
-
return [];
|
1920
|
-
}
|
1921
|
-
async queryForFeatures(layer, query, field) {
|
1922
|
-
const results = await layer.queryFeatures(query);
|
1923
|
-
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]; });
|
1924
|
-
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]; });
|
1925
|
-
}
|
1926
|
-
async calculateMinMaxStatistics(layer, field) {
|
1927
|
-
var _a, _b;
|
1928
|
-
if (layer && supportedTypes.includes(layer.type)) {
|
1929
|
-
const query = layer.createQuery();
|
1930
|
-
let initDefExpr = this.getInitDefExprFromLayer(layer);
|
1931
|
-
query.where = initDefExpr || '1=1';
|
1932
|
-
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) {
|
1933
|
-
query.cacheHint = true;
|
1934
|
-
}
|
1935
|
-
if (field) {
|
1936
|
-
const tmp = [
|
1937
|
-
{
|
1938
|
-
onStatisticField: field,
|
1939
|
-
outStatisticFieldName: `max${field}`,
|
1940
|
-
statisticType: 'max',
|
1941
|
-
},
|
1942
|
-
{
|
1943
|
-
onStatisticField: field,
|
1944
|
-
outStatisticFieldName: `min${field}`,
|
1945
|
-
statisticType: 'min',
|
1946
|
-
},
|
1947
|
-
];
|
1948
|
-
query.outStatistics = tmp;
|
1949
|
-
if (this.extentSelector && this.extentSelectorConfig) {
|
1950
|
-
const geo = this.getExtent(this.extentSelector, this.extentSelectorConfig);
|
1951
|
-
if (geo != null) {
|
1952
|
-
query.geometry = geo;
|
1953
|
-
}
|
1954
|
-
query.spatialRelationship = 'intersects';
|
1955
|
-
}
|
1956
|
-
const results = await layer.queryFeatures(query);
|
1957
|
-
return results === null || results === void 0 ? void 0 : results.features;
|
1958
|
-
}
|
1959
|
-
}
|
1960
|
-
return [];
|
1961
|
-
}
|
1962
|
-
getExtent(extentSelector, extentSelectorConfig) {
|
1963
|
-
if (extentSelector && extentSelectorConfig) {
|
1964
|
-
const { constraints } = extentSelectorConfig;
|
1965
|
-
let newConstraints = Object.assign({}, constraints);
|
1966
|
-
const geometry = newConstraints === null || newConstraints === void 0 ? void 0 : newConstraints.geometry;
|
1967
|
-
if (geometry) {
|
1968
|
-
const tmpExtent = 'extent' in geometry ? geometry : this.geometryJsonUtils.fromJSON(geometry);
|
1969
|
-
if ((tmpExtent === null || tmpExtent === void 0 ? void 0 : tmpExtent.type) === 'extent' || (tmpExtent === null || tmpExtent === void 0 ? void 0 : tmpExtent.type) === 'polygon') {
|
1970
|
-
return tmpExtent;
|
1971
|
-
}
|
1972
|
-
}
|
1973
|
-
}
|
1974
|
-
return;
|
1975
|
-
}
|
1976
|
-
setInitExpression(layerExpression, expression) {
|
1977
|
-
if (expression.field && expression.type) {
|
1978
|
-
const filterLayer = this.findFilterLayer(layerExpression);
|
1979
|
-
if (filterLayer == null) {
|
1980
|
-
return Promise.resolve();
|
1981
|
-
}
|
1982
|
-
if (filterLayer.loadStatus === 'not-loaded' || filterLayer.loadStatus === 'failed') {
|
1983
|
-
filterLayer.load();
|
1984
|
-
}
|
1985
|
-
return filterLayer.when(async () => {
|
1986
|
-
var _a, _b;
|
1987
|
-
const layerField = (_a = filterLayer.fields) === null || _a === void 0 ? void 0 : _a.find(({ name }) => name === expression.field);
|
1988
|
-
const domainType = (_b = layerField === null || layerField === void 0 ? void 0 : layerField.domain) === null || _b === void 0 ? void 0 : _b.type;
|
1989
|
-
expression.type = domainType === 'coded-value' || domainType === 'range' ? domainType : expression.type;
|
1990
|
-
await this.updateExpression(layerExpression, expression, layerField);
|
1991
|
-
});
|
1992
|
-
}
|
1993
|
-
else {
|
1994
|
-
this.updateExpression(layerExpression, expression, undefined);
|
1995
|
-
return Promise.resolve();
|
1996
|
-
}
|
1997
|
-
}
|
1998
|
-
async updateExpression(layerExpression, expression, layerField) {
|
1999
|
-
let update = false;
|
2000
|
-
const { type } = expression;
|
2001
|
-
if (type === 'string') {
|
2002
|
-
update = await this.updateStringExpression(layerExpression, expression);
|
2003
|
-
}
|
2004
|
-
else if (type === 'number') {
|
2005
|
-
update = await this.updateNumberExpression(layerExpression, expression);
|
2006
|
-
}
|
2007
|
-
else if (type === 'date') {
|
2008
|
-
if (expression.displayOption === 'drop-down') {
|
2009
|
-
update = await this.updateStringExpression(layerExpression, expression);
|
2010
|
-
}
|
2011
|
-
else {
|
2012
|
-
update = await this.updateDateExpression(layerExpression, expression);
|
2013
|
-
}
|
2014
|
-
}
|
2015
|
-
else if (type === 'coded-value') {
|
2016
|
-
update = this.updateCodedValueExpression(expression, layerField);
|
2017
|
-
}
|
2018
|
-
else if (type === 'range') {
|
2019
|
-
if (expression.displayOption === 'drop-down') {
|
2020
|
-
update = await this.updateStringExpression(layerExpression, expression);
|
2021
|
-
}
|
2022
|
-
else {
|
2023
|
-
update = this.updateRangeExpression(expression, layerField);
|
2024
|
-
}
|
2025
|
-
}
|
2026
|
-
else if (expression.active && (type === 'checkbox' || type == null)) {
|
2027
|
-
update = true;
|
2028
|
-
}
|
2029
|
-
if (update) {
|
2030
|
-
this.generateOutput(layerExpression);
|
2031
|
-
}
|
2032
|
-
}
|
2033
|
-
updateRangeExpressions(expression, layerExpression, max, min) {
|
2034
|
-
const initExp = this.getInitDefExprFromLayerExpression(layerExpression);
|
2035
|
-
if ((min || min === 0) && (max || max === 0)) {
|
2036
|
-
if (min === (expression === null || expression === void 0 ? void 0 : expression.min) && max === (expression === null || expression === void 0 ? void 0 : expression.max)) {
|
2037
|
-
expression.definitionExpression = undefined;
|
2038
|
-
expression.active = false;
|
2039
|
-
}
|
2040
|
-
else {
|
2041
|
-
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}`;
|
2042
|
-
expression.active = true;
|
2043
|
-
}
|
2044
|
-
}
|
2045
|
-
expression.range = { min, max };
|
2046
|
-
}
|
2047
|
-
handleCheckboxChange(layerExpression, expression, event) {
|
2048
|
-
const node = event.target;
|
2049
|
-
expression.active = node.checked;
|
2050
|
-
this.generateOutput(layerExpression);
|
2051
|
-
}
|
2052
|
-
handleSliderChange(expression, layerExpression, event) {
|
2053
|
-
const { maxValue, minValue } = event.target;
|
2054
|
-
this.updateRangeExpressions(expression, layerExpression, maxValue, minValue);
|
2055
|
-
this.generateOutput(layerExpression);
|
2056
|
-
}
|
2057
|
-
handleComboSelect(expression, layerExpression, event) {
|
2058
|
-
const combobox = event.target;
|
2059
|
-
const items = combobox.selectedItems;
|
2060
|
-
const { field, type } = expression;
|
2061
|
-
if (items && items.length) {
|
2062
|
-
const values = items.map(({ value }) => (typeof value === 'number' ? value : `'${handleSingleQuote(value)}'`));
|
2063
|
-
if (type === 'date') {
|
2064
|
-
expression.selectedFields = items.map(({ value }) => value);
|
2065
|
-
expression.definitionExpression = values.map(value => this.buildDateExpression(value, field)).join(' OR ');
|
2066
|
-
}
|
2067
|
-
else {
|
2068
|
-
expression.selectedFields = items.map(({ value }) => value);
|
2069
|
-
const definitionExpression = `${field} IN (${values.join(',')})`;
|
2070
|
-
expression.definitionExpression = definitionExpression;
|
2071
|
-
}
|
2072
|
-
expression.active = true;
|
2073
|
-
}
|
2074
|
-
else {
|
2075
|
-
expression.definitionExpression = undefined;
|
2076
|
-
expression.active = false;
|
2077
|
-
}
|
2078
|
-
this.generateOutput(layerExpression);
|
2079
|
-
}
|
2080
|
-
handleDatePickerRangeChange(expression, layerExpression, event) {
|
2081
|
-
const datePicker = event.target;
|
2082
|
-
const [startDate, endDate] = datePicker.valueAsDate;
|
2083
|
-
const start = startDate != null ? convertToDate(Math.floor(startDate.getTime()), true) : undefined;
|
2084
|
-
const end = endDate != null ? convertToDate(Math.floor(endDate.getTime()), true) : undefined;
|
2085
|
-
if (start != null || end != null) {
|
2086
|
-
const chevron = end && start == null ? '<' : end == null && start ? '>' : null;
|
2087
|
-
if (chevron) {
|
2088
|
-
expression.definitionExpression = `${expression.field} ${chevron} '${start !== null && start !== void 0 ? start : end}'`;
|
2089
|
-
}
|
2090
|
-
else {
|
2091
|
-
expression.definitionExpression = `${expression.field} BETWEEN '${start}' AND '${end}'`;
|
2092
|
-
}
|
2093
|
-
expression.range = { min: start, max: end };
|
2094
|
-
expression.active = true;
|
2095
|
-
this.generateOutput(layerExpression);
|
2096
|
-
}
|
2097
|
-
}
|
2098
|
-
handleURLParams() {
|
2099
|
-
var _a;
|
2100
|
-
if ('URLSearchParams' in window) {
|
2101
|
-
const params = new URLSearchParams(document.location.search);
|
2102
|
-
const filters = (_a = params.get('filter')) === null || _a === void 0 ? void 0 : _a.split(';');
|
2103
|
-
let filterCount = 0;
|
2104
|
-
filters === null || filters === void 0 ? void 0 : filters.forEach(filter => {
|
2105
|
-
var _a;
|
2106
|
-
const tmpFilter = JSON.parse(filter);
|
2107
|
-
(_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.forEach(layerExpression => {
|
2108
|
-
var _a;
|
2109
|
-
if ((tmpFilter === null || tmpFilter === void 0 ? void 0 : tmpFilter.layerId) === layerExpression.id) {
|
2110
|
-
(_a = layerExpression.expressions) === null || _a === void 0 ? void 0 : _a.forEach(expression => {
|
2111
|
-
var _a, _b;
|
2112
|
-
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())) {
|
2113
|
-
expression.active = true;
|
2114
|
-
filterCount++;
|
2115
|
-
if (tmpFilter.type === 'range') {
|
2116
|
-
expression.range = tmpFilter.range;
|
2117
|
-
}
|
2118
|
-
else if (tmpFilter.type === 'select') {
|
2119
|
-
expression.selectedFields = tmpFilter.selectedFields;
|
2120
|
-
}
|
2121
|
-
}
|
2122
|
-
});
|
2123
|
-
}
|
2124
|
-
});
|
2125
|
-
});
|
2126
|
-
this.filterCount = filterCount;
|
2127
|
-
}
|
2128
|
-
}
|
2129
|
-
createURLParamExpression(layerExpression, expression) {
|
2130
|
-
const { id, range, selectedFields, type } = expression;
|
2131
|
-
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') {
|
2132
|
-
return {
|
2133
|
-
type: 'select',
|
2134
|
-
layerId: layerExpression.id,
|
2135
|
-
expressionId: id.toString(),
|
2136
|
-
selectedFields,
|
2137
|
-
};
|
2138
|
-
}
|
2139
|
-
else if (type === 'number' || type === 'range' || type === 'date') {
|
2140
|
-
return {
|
2141
|
-
type: 'range',
|
2142
|
-
layerId: layerExpression.id,
|
2143
|
-
expressionId: id.toString(),
|
2144
|
-
range,
|
2145
|
-
};
|
2146
|
-
}
|
2147
|
-
else {
|
2148
|
-
return {
|
2149
|
-
layerId: layerExpression.id,
|
2150
|
-
expressionId: id.toString(),
|
2151
|
-
};
|
2152
|
-
}
|
2153
|
-
}
|
2154
|
-
autoUpdateURLCheck(params) {
|
2155
|
-
if (this.autoUpdateUrl) {
|
2156
|
-
if (params.toString()) {
|
2157
|
-
window.history.replaceState({}, '', `${window.location.pathname}?${params} `);
|
2158
|
-
}
|
2159
|
-
else {
|
2160
|
-
window.history.replaceState({}, '', window.location.pathname);
|
2161
|
-
}
|
2162
|
-
}
|
2163
|
-
}
|
2164
|
-
generateURLParams() {
|
2165
|
-
var _a;
|
2166
|
-
if ('URLSearchParams' in window) {
|
2167
|
-
const params = new URLSearchParams(window.location.search);
|
2168
|
-
const expressions = [];
|
2169
|
-
let filterCount = 0;
|
2170
|
-
(_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.forEach(layerExpr => {
|
2171
|
-
var _a;
|
2172
|
-
(_a = layerExpr === null || layerExpr === void 0 ? void 0 : layerExpr.expressions) === null || _a === void 0 ? void 0 : _a.forEach(expression => {
|
2173
|
-
if (expression.active) {
|
2174
|
-
filterCount++;
|
2175
|
-
const paramExpression = this.createURLParamExpression(layerExpr, expression);
|
2176
|
-
expressions.push(JSON.stringify(paramExpression));
|
2177
|
-
}
|
2178
|
-
});
|
2179
|
-
});
|
2180
|
-
this.filterCount = filterCount;
|
2181
|
-
if (expressions.length > 0) {
|
2182
|
-
params.set('filter', expressions.join(';'));
|
2183
|
-
}
|
2184
|
-
else {
|
2185
|
-
params.delete('filter');
|
2186
|
-
}
|
2187
|
-
this.autoUpdateURLCheck(params);
|
2188
|
-
this.urlParams = params;
|
2189
|
-
}
|
2190
|
-
}
|
2191
|
-
updateFilter(layerExpression, defExpressions, filters) {
|
2192
|
-
const { id } = layerExpression;
|
2193
|
-
const fl = (this.view.map.findLayerById(id) || this.view.map.findTableById(id));
|
2194
|
-
if (fl != null) {
|
2195
|
-
if (fl.type === 'point-cloud') {
|
2196
|
-
this.updateFilterLayerPCLFilter(fl, filters);
|
2197
|
-
}
|
2198
|
-
else if (fl.type === 'map-image') {
|
2199
|
-
const sublayer = fl.findSublayerById(layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId);
|
2200
|
-
if (sublayer != null) {
|
2201
|
-
this.updateFilterLayerDefExpression(sublayer, defExpressions, layerExpression);
|
2202
|
-
}
|
2203
|
-
}
|
2204
|
-
else {
|
2205
|
-
this.updateFilterLayerDefExpression(fl, defExpressions, layerExpression);
|
2206
|
-
}
|
2207
|
-
}
|
2208
|
-
}
|
2209
|
-
updateFilterLayerDefExpression(layer, defExpressions, layerExpression) {
|
2210
|
-
const { operator } = layerExpression;
|
2211
|
-
let initDefExpressions = this.getInitDefExprFromLayer(layer);
|
2212
|
-
const combinedExpressions = (defExpressions === null || defExpressions === void 0 ? void 0 : defExpressions.length) > 0 && initDefExpressions != null
|
2213
|
-
? `(${defExpressions.join(operator)}) AND (${initDefExpressions})`
|
2214
|
-
: defExpressions.length > 0
|
2215
|
-
? defExpressions.join(operator)
|
2216
|
-
: initDefExpressions;
|
2217
|
-
layer.definitionExpression = combinedExpressions;
|
2218
|
-
}
|
2219
|
-
updateFilterLayerPCLFilter(layer, filters) {
|
2220
|
-
layer.filters = filters;
|
2221
|
-
}
|
2222
|
-
async handleWhenView() {
|
2223
|
-
if (this.view == null)
|
2224
|
-
return;
|
2225
|
-
const map = this.view.map;
|
2226
|
-
await map.loadAll();
|
2227
|
-
this.handleLayerExpressionsUpdate();
|
2228
|
-
}
|
2229
|
-
async handleLayerExpressionsUpdate() {
|
2230
|
-
if (this.view == null)
|
2231
|
-
return;
|
2232
|
-
const map = this.view.map;
|
2233
|
-
this.initDefExpressions = {};
|
2234
|
-
this.initPointCloudFilters = {};
|
2235
|
-
this.initMapImageExpressions = {};
|
2236
|
-
const layersAndTables = map.allLayers.concat(map.allTables);
|
2237
|
-
for (let i = 0; i < layersAndTables.length; i++) {
|
2238
|
-
const layer = layersAndTables.getItemAt(i);
|
2239
|
-
if (supportedTypes.includes(layer.type)) {
|
2240
|
-
const fl = layer;
|
2241
|
-
if (fl.type === 'point-cloud') {
|
2242
|
-
this.initPointCloudFilters[fl.id] = fl.filters;
|
2243
|
-
}
|
2244
|
-
else if (fl.type === 'map-image') {
|
2245
|
-
this.initMapImageExpressions[fl.id] = {};
|
2246
|
-
fl.allSublayers.forEach(sublayer => {
|
2247
|
-
this.initMapImageExpressions[fl.id][sublayer.id] = sublayer.definitionExpression;
|
2248
|
-
});
|
2249
|
-
}
|
2250
|
-
else {
|
2251
|
-
this.initDefExpressions[fl.id] = fl.definitionExpression;
|
2252
|
-
}
|
2253
|
-
}
|
2254
|
-
}
|
2255
|
-
this.initExpressions();
|
2256
|
-
this.handleURLParams();
|
2257
|
-
}
|
2258
|
-
async handleZoomTo(layerExpression) {
|
2259
|
-
const zoomId = (layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId) ? `#zoom-to-${layerExpression.id}-${layerExpression.sublayerId}` : `#zoom-to-${layerExpression.id}`;
|
2260
|
-
const zoomToBtn = this.panelEl.querySelector(zoomId);
|
2261
|
-
if (zoomToBtn != null) {
|
2262
|
-
zoomToBtn.loading = true;
|
2263
|
-
zoomToBtn.disabled = true;
|
2264
|
-
}
|
2265
|
-
this.zoomToGraphics = [];
|
2266
|
-
let loadingTime = 0;
|
2267
|
-
let startGoTo = false;
|
2268
|
-
const zoomToInterval = setInterval(() => {
|
2269
|
-
if (loadingTime >= 1000 && startGoTo) {
|
2270
|
-
this.view.goTo(this.zoomToGraphics);
|
2271
|
-
if (zoomToBtn != null) {
|
2272
|
-
zoomToBtn.loading = false;
|
2273
|
-
zoomToBtn.disabled = false;
|
2274
|
-
}
|
2275
|
-
clearInterval(zoomToInterval);
|
2276
|
-
}
|
2277
|
-
loadingTime += 500;
|
2278
|
-
}, 500);
|
2279
|
-
await this.getZoomToGraphics(layerExpression);
|
2280
|
-
startGoTo = true;
|
2281
|
-
}
|
2282
|
-
async getZoomToGraphics(layerExpression) {
|
2283
|
-
var _a, _b, _c, _d, _e;
|
2284
|
-
const lv = this.view.allLayerViews.find(({ layer }) => layer.id === layerExpression.id);
|
2285
|
-
const layer = lv.layer;
|
2286
|
-
const queryLayer = layer.type === 'map-image' ? layer.findSublayerById(layerExpression.sublayerId) : layer;
|
2287
|
-
if (queryLayer.type !== 'point-cloud' && supportedTypes.includes(queryLayer === null || queryLayer === void 0 ? void 0 : queryLayer.type)) {
|
2288
|
-
const query = queryLayer.createQuery();
|
2289
|
-
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']) {
|
2290
|
-
query.cacheHint = true;
|
2291
|
-
}
|
2292
|
-
query.where = (_c = queryLayer.definitionExpression) !== null && _c !== void 0 ? _c : '1=1';
|
2293
|
-
query.returnGeometry = true;
|
2294
|
-
query.returnDistinctValues = true;
|
2295
|
-
query.maxRecordCountFactor = 3;
|
2296
|
-
query.returnExceededLimitFeatures = true;
|
2297
|
-
query.outFields = [];
|
2298
|
-
if (this.extentSelector && this.extentSelectorConfig) {
|
2299
|
-
const geo = this.getExtent(this.extentSelector, this.extentSelectorConfig);
|
2300
|
-
if (geo != null)
|
2301
|
-
query.geometry = geo;
|
2302
|
-
query.spatialRelationship = 'intersects';
|
2303
|
-
}
|
2304
|
-
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;
|
2305
|
-
if (filter != null) {
|
2306
|
-
if (filter.objectIds != null) {
|
2307
|
-
query.objectIds = filter.objectIds;
|
2308
|
-
}
|
2309
|
-
if (filter.distance != null) {
|
2310
|
-
query.distance = filter.distance;
|
2311
|
-
}
|
2312
|
-
if (filter.geometry != null) {
|
2313
|
-
query.geometry = filter.geometry;
|
2314
|
-
}
|
2315
|
-
if (filter.distance != null) {
|
2316
|
-
query.distance = filter.distance;
|
2317
|
-
}
|
2318
|
-
if (filter.spatialRelationship != null) {
|
2319
|
-
query.spatialRelationship = filter.spatialRelationship;
|
2320
|
-
}
|
2321
|
-
if (filter.units != null) {
|
2322
|
-
query.units = filter.units;
|
2323
|
-
}
|
2324
|
-
if (filter.where != null) {
|
2325
|
-
query.where = filter.where;
|
2326
|
-
}
|
2327
|
-
if (filter.timeExtent != null) {
|
2328
|
-
query.timeExtent = filter.timeExtent;
|
2329
|
-
}
|
2330
|
-
}
|
2331
|
-
try {
|
2332
|
-
const results = await queryLayer.queryFeatures(query);
|
2333
|
-
this.zoomToGraphics.push(...results.features);
|
2334
|
-
}
|
2335
|
-
catch (error) {
|
2336
|
-
if ((_e = error === null || error === void 0 ? void 0 : error.message) === null || _e === void 0 ? void 0 : _e.toLowerCase().includes('distinct')) {
|
2337
|
-
try {
|
2338
|
-
query.returnDistinctValues = false;
|
2339
|
-
const results = await queryLayer.queryFeatures(query);
|
2340
|
-
this.zoomToGraphics.push(...results.features);
|
2341
|
-
}
|
2342
|
-
catch (_f) { }
|
2343
|
-
}
|
2344
|
-
}
|
2345
|
-
}
|
2346
|
-
return Promise.resolve();
|
2347
|
-
}
|
2348
|
-
generateOutput(layerExpression) {
|
2349
|
-
if (this.view == null)
|
2350
|
-
return;
|
2351
|
-
const defExpressions = [];
|
2352
|
-
let filters = [];
|
2353
|
-
if (layerExpression) {
|
2354
|
-
for (const expression of layerExpression.expressions) {
|
2355
|
-
const { active, definitionExpression, pointCloudFilters } = expression;
|
2356
|
-
if (active && definitionExpression) {
|
2357
|
-
defExpressions.push(`(${definitionExpression})`);
|
2358
|
-
}
|
2359
|
-
if (active && pointCloudFilters != null && pointCloudFilters.length > 0) {
|
2360
|
-
filters = filters.concat(pointCloudFilters);
|
2361
|
-
}
|
2362
|
-
}
|
2363
|
-
this.updateFilter(layerExpression, defExpressions, filters);
|
2364
|
-
this.generateURLParams();
|
2365
|
-
this.filterUpdate.emit();
|
2366
|
-
}
|
2367
|
-
}
|
2368
|
-
numberWithCommas(num) {
|
2369
|
-
return num.toLocaleString('en-US', { maximumFractionDigits: 20 });
|
2370
|
-
}
|
2371
|
-
// If fieldInfo.format.places limits decimal digits then use this for min value to make sure the min is actually included in slider.
|
2372
|
-
// 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.
|
2373
|
-
// Inverse of this reasoning for roundMaxNumberUp().
|
2374
|
-
roundMinNumberDown(num, decimalPlaces) {
|
2375
|
-
if (num == null)
|
2376
|
-
return;
|
2377
|
-
if (!('' + num).includes('e')) {
|
2378
|
-
return +(Math.floor((num + 'e+' + decimalPlaces)) + 'e-' + decimalPlaces);
|
2379
|
-
}
|
2380
|
-
else {
|
2381
|
-
var arr = ('' + num).split('e');
|
2382
|
-
var sig = '';
|
2383
|
-
if (+arr[1] + decimalPlaces > 0) {
|
2384
|
-
sig = '+';
|
2385
|
-
}
|
2386
|
-
return +(Math.floor((+arr[0] + 'e' + sig + (+arr[1] + decimalPlaces))) + 'e-' + decimalPlaces);
|
2387
|
-
}
|
2388
|
-
}
|
2389
|
-
roundMaxNumberUp(num, decimalPlaces) {
|
2390
|
-
if (num == null)
|
2391
|
-
return;
|
2392
|
-
if (!('' + num).includes('e')) {
|
2393
|
-
return +(Math.ceil((num + 'e+' + decimalPlaces)) + 'e-' + decimalPlaces);
|
2394
|
-
}
|
2395
|
-
else {
|
2396
|
-
var arr = ('' + num).split('e');
|
2397
|
-
var sig = '';
|
2398
|
-
if (+arr[1] + decimalPlaces > 0) {
|
2399
|
-
sig = '+';
|
2400
|
-
}
|
2401
|
-
return +(Math.ceil((+arr[0] + 'e' + sig + (+arr[1] + decimalPlaces))) + 'e-' + decimalPlaces);
|
2402
|
-
}
|
2403
|
-
}
|
2404
|
-
roundNumber(num, decimalPlaces) {
|
2405
|
-
if (num == null)
|
2406
|
-
return;
|
2407
|
-
if (!('' + num).includes('e')) {
|
2408
|
-
return +(Math.round((num + 'e+' + decimalPlaces)) + 'e-' + decimalPlaces);
|
2409
|
-
}
|
2410
|
-
else {
|
2411
|
-
var arr = ('' + num).split('e');
|
2412
|
-
var sig = '';
|
2413
|
-
if (+arr[1] + decimalPlaces > 0) {
|
2414
|
-
sig = '+';
|
2415
|
-
}
|
2416
|
-
return +(Math.round((+arr[0] + 'e' + sig + (+arr[1] + decimalPlaces))) + 'e-' + decimalPlaces);
|
2417
|
-
}
|
2418
|
-
}
|
2419
|
-
setExpressionFormat(layer, expression, field) {
|
2420
|
-
if ((layer === null || layer === void 0 ? void 0 : layer.popupTemplate) != null) {
|
2421
|
-
const fieldInfo = layer.popupTemplate.fieldInfos.find(({ fieldName }) => fieldName === field);
|
2422
|
-
expression.format = fieldInfo === null || fieldInfo === void 0 ? void 0 : fieldInfo.format;
|
2423
|
-
}
|
2424
|
-
}
|
2425
|
-
getInitDefExprFromLayer(layer) {
|
2426
|
-
var _a, _b, _c;
|
2427
|
-
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];
|
2428
|
-
}
|
2429
|
-
getInitDefExprFromLayerExpression(layerExpression) {
|
2430
|
-
var _a, _b, _c;
|
2431
|
-
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];
|
2432
|
-
}
|
2433
|
-
findFilterLayer(layerExpression) {
|
2434
|
-
const allLayersAndTables = this.view.map.allLayers.concat(this.view.map.allTables);
|
2435
|
-
const layer = allLayersAndTables.find(({ id }) => id === layerExpression.id);
|
2436
|
-
if (layer.type === 'map-image') {
|
2437
|
-
return layer === null || layer === void 0 ? void 0 : layer.findSublayerById(layerExpression.sublayerId);
|
2438
|
-
}
|
2439
|
-
else {
|
2440
|
-
return layer;
|
2441
|
-
}
|
2442
|
-
}
|
2443
|
-
createLabel(expression, value) {
|
2444
|
-
var _a;
|
2445
|
-
let label = value;
|
2446
|
-
if (expression.type === 'coded-value') {
|
2447
|
-
label = (_a = expression.codedValues) === null || _a === void 0 ? void 0 : _a[value];
|
2448
|
-
}
|
2449
|
-
else if (expression.type === 'number' && typeof value === 'number' && expression.format != null) {
|
2450
|
-
if (expression.format.places != null) {
|
2451
|
-
label = this.roundNumber(value, expression.format.places);
|
2452
|
-
}
|
2453
|
-
if (expression.format.digitSeparator) {
|
2454
|
-
label = this.numberWithCommas(label);
|
2455
|
-
}
|
2456
|
-
}
|
2457
|
-
else if (expression.type === 'date' && !expression.dateOnly) {
|
2458
|
-
const format = expression.dateOnly ? this.intl.convertDateFormatToIntlOptions('short-date-long-time') : undefined;
|
2459
|
-
label = this.intl.formatDate(value, format);
|
2460
|
-
}
|
2461
|
-
return label;
|
2462
|
-
}
|
2463
|
-
buildDateExpression(date, field) {
|
2464
|
-
if (date) {
|
2465
|
-
const tmpDate = new Date(date);
|
2466
|
-
const tmpCompareDate = new Date(date);
|
2467
|
-
const tmpCompareDate1 = new Date(tmpCompareDate.setDate(tmpDate.getDate() + 1));
|
2468
|
-
const formattedDate = `${tmpDate.getFullYear()}-${tmpDate.getMonth() + 1}-${tmpDate.getDate()}`;
|
2469
|
-
const time = `${tmpDate.getHours()}:${tmpDate.getMinutes()}:${tmpDate.getSeconds()}`;
|
2470
|
-
const compareTime = `${tmpCompareDate1.getHours()}:${tmpCompareDate1.getMinutes()}:${tmpCompareDate1.getSeconds()}`;
|
2471
|
-
const compareFormattedDate = `${tmpCompareDate1.getFullYear()}-${tmpCompareDate1.getMonth() + 1}-${tmpCompareDate1.getDate()}`;
|
2472
|
-
return `${field} BETWEEN '${formattedDate} ${time}' AND '${compareFormattedDate} ${compareTime}'`;
|
2473
|
-
}
|
2474
|
-
return;
|
2475
|
-
}
|
2476
|
-
get el() { return index.getElement(this); }
|
2477
|
-
static get watchers() { return {
|
2478
|
-
"view": ["watchViewHandler"],
|
2479
|
-
"layerExpressions": ["watchLayerExpressions"]
|
2480
|
-
}; }
|
2481
|
-
};
|
2482
|
-
InstantAppsFilterList.style = InstantAppsFilterListStyle0;
|
2483
|
-
|
2484
|
-
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)}";
|
2485
|
-
const InstantAppsSocialShareStyle0 = instantAppsSocialShareCss;
|
2486
|
-
|
2487
|
-
const base = 'instant-apps-social-share';
|
2488
|
-
const CALCITE_MODE_DARK = '.calcite-mode-dark';
|
2489
|
-
const CSS = {
|
2490
|
-
base,
|
2491
|
-
dialog: `${base}__dialog`,
|
2492
|
-
dialogEmbed: `${base}__dialog-embed`,
|
2493
|
-
dialogContent: `${base}__dialog-content`,
|
2494
|
-
options: `${base}__options`,
|
2495
|
-
tipContainer: `${base}__tip`,
|
2496
|
-
tipHeader: `${base}__tip-header`,
|
2497
|
-
tipContent: `${base}__tip-content`,
|
2498
|
-
icon: `${base}__icon`,
|
2499
|
-
iconContainer: `${base}__icon-container`,
|
2500
|
-
optionText: `${base}__option-text`,
|
2501
|
-
popoverButton: `${base}__popover-button`,
|
2502
|
-
layout: {
|
2503
|
-
vertical: `${base}__layout--vertical`,
|
2504
|
-
horizontal: `${base}__layout--horizontal`,
|
2505
|
-
},
|
2506
|
-
xLogo: {
|
2507
|
-
light: `${base}__x-logo--light`,
|
2508
|
-
dark: `${base}__x-logo--dark`,
|
2509
|
-
},
|
2510
|
-
success: {
|
2511
|
-
container: `${base}__success`,
|
2512
|
-
header: `${base}__success-header`,
|
2513
|
-
message: `${base}__success-message`,
|
2514
|
-
icon: `${base}__success-icon`,
|
2515
|
-
},
|
2516
|
-
embed: {
|
2517
|
-
container: `${base}__embed`,
|
2518
|
-
header: `${base}__embed-header`,
|
2519
|
-
embedCode: {
|
2520
|
-
container: `${base}__embed-code`,
|
2521
|
-
textArea: `${base}__embed-code-text-area`,
|
2522
|
-
copyButton: `${base}__embed-code-copy-button`,
|
2523
|
-
},
|
2524
|
-
textAreaText: `${base}__embed-text-area-text`,
|
2525
|
-
dimensions: {
|
2526
|
-
container: `${base}__embed-dimensions`,
|
2527
|
-
input: `${base}__embed-dimensions-input`,
|
2528
|
-
},
|
2529
|
-
},
|
2530
|
-
rtl: {
|
2531
|
-
optionText: `${base}__option-text--rtl`,
|
2532
|
-
textArea: `${base}__text-area--rtl`,
|
2533
|
-
},
|
2534
|
-
};
|
2535
|
-
const SOCIAL_URL_TEMPLATES = {
|
2536
|
-
facebook: 'https://www.facebook.com/sharer/sharer.php?u={url}',
|
2537
|
-
x: 'https://x.com/intent/post?url={url}',
|
2538
|
-
linkedIn: 'https://www.linkedin.com/sharing/share-offsite/?url={url}',
|
2539
|
-
};
|
2540
|
-
const SHORTEN_API = 'https://arcg.is/prod/shorten';
|
2541
|
-
const MIN_WIDTH_HEIGHT_VALUE = '1';
|
2542
|
-
const InstantAppsSocialShare = class {
|
2543
|
-
constructor(hostRef) {
|
2544
|
-
index.registerInstance(this, hostRef);
|
2545
|
-
this.mode = 'popover';
|
2546
|
-
this.shareUrl = window.location.href;
|
2547
|
-
this.autoUpdateShareUrl = true;
|
2548
|
-
this.shareText = '';
|
2549
|
-
this.embed = false;
|
2550
|
-
this.shareButtonColor = 'neutral';
|
2551
|
-
this.shareButtonType = 'button';
|
2552
|
-
this.shareButtonScale = undefined;
|
2553
|
-
this.iframeInnerText = '';
|
2554
|
-
this.popoverButtonIconScale = 'm';
|
2555
|
-
this.view = undefined;
|
2556
|
-
this.displayTipText = true;
|
2557
|
-
this.shortenShareUrl = true;
|
2558
|
-
this.socialMedia = true;
|
2559
|
-
this.shareIconsLayout = 'vertical';
|
2560
|
-
this.scale = 'm';
|
2561
|
-
this.successMessage = '';
|
2562
|
-
this.defaultUrlParams = null;
|
2563
|
-
this.inlineSuccessPopoverPlacement = 'trailing';
|
2564
|
-
this.popoverPositioning = 'absolute';
|
2565
|
-
this.removePopoverOffset = false;
|
2566
|
-
this.messages = undefined;
|
2567
|
-
this.opened = false;
|
2568
|
-
this.copied = false;
|
2569
|
-
this.inlineCopyLinkOpened = false;
|
2570
|
-
this.inlineCopyEmbedOpened = false;
|
2571
|
-
this.embedWidth = 400;
|
2572
|
-
this.embedHeight = 600;
|
2573
|
-
}
|
2574
|
-
componentDidLoad() {
|
2575
|
-
var _a, _b;
|
2576
|
-
locale$1.getMessages(this);
|
2577
|
-
this.setupAutoCloseListeners();
|
2578
|
-
if (this.mode === 'popover') {
|
2579
|
-
if (this.opened)
|
2580
|
-
this.popoverRef.open = true;
|
2581
|
-
this.popoverRef.addEventListener('calcitePopoverOpen', () => {
|
2582
|
-
if (!this.shareListRef)
|
2583
|
-
return;
|
2584
|
-
const firstNode = this.shareListRef.children[0];
|
2585
|
-
firstNode.focus();
|
2586
|
-
});
|
2587
|
-
this.popoverRef.addEventListener('keydown', this.handlePopoverRefKeyDown.bind(this));
|
2588
|
-
}
|
2589
|
-
if (this.embed) {
|
2590
|
-
(_a = this.embedWidthRef) === null || _a === void 0 ? void 0 : _a.addEventListener('change', this.updateDimensions.bind(this, 'width'));
|
2591
|
-
(_b = this.embedHeightRef) === null || _b === void 0 ? void 0 : _b.addEventListener('change', this.updateDimensions.bind(this, 'height'));
|
2592
|
-
}
|
2593
|
-
}
|
2594
|
-
disconnectedCallback() {
|
2595
|
-
var _a, _b, _c;
|
2596
|
-
document.documentElement.removeEventListener('click', this.autoCloseCallback.bind(this));
|
2597
|
-
if (this.mode === 'popover') {
|
2598
|
-
if (this.popoverRef != null) {
|
2599
|
-
this.popoverRef.removeEventListener('click', this.stopPropagationCallback.bind(this));
|
2600
|
-
this.popoverRef.removeEventListener('calcitePopoverClose', this.resetPopoverCopyState.bind(this));
|
2601
|
-
this.popoverRef.removeEventListener('keydown', this.handlePopoverRefKeyDown.bind(this));
|
2602
|
-
}
|
2603
|
-
}
|
2604
|
-
else {
|
2605
|
-
(_a = this.embedWidthRef) === null || _a === void 0 ? void 0 : _a.removeEventListener('change', this.updateDimensions.bind(this));
|
2606
|
-
(_b = this.embedHeightRef) === null || _b === void 0 ? void 0 : _b.removeEventListener('change', this.updateDimensions.bind(this));
|
2607
|
-
(_c = this.dialogContentRef) === null || _c === void 0 ? void 0 : _c.removeEventListener('click', this.stopPropagationCallback.bind(this));
|
2608
|
-
}
|
2609
|
-
}
|
2610
|
-
setupAutoCloseListeners() {
|
2611
|
-
var _a, _b, _c;
|
2612
|
-
document.documentElement.addEventListener('click', this.autoCloseCallback.bind(this));
|
2613
|
-
if (this.mode === 'popover') {
|
2614
|
-
(_a = this.popoverRef) === null || _a === void 0 ? void 0 : _a.addEventListener('click', this.stopPropagationCallback.bind(this));
|
2615
|
-
(_b = this.popoverRef) === null || _b === void 0 ? void 0 : _b.addEventListener('calcitePopoverClose', this.resetPopoverCopyState.bind(this));
|
2616
|
-
}
|
2617
|
-
else {
|
2618
|
-
(_c = this.dialogContentRef) === null || _c === void 0 ? void 0 : _c.addEventListener('click', this.stopPropagationCallback.bind(this));
|
2619
|
-
}
|
2620
|
-
}
|
2621
|
-
handlePopoverRefKeyDown(e) {
|
2622
|
-
var _a, _b;
|
2623
|
-
if (e.code === 'Tab') {
|
2624
|
-
if (!this.shareListRef)
|
2625
|
-
return;
|
2626
|
-
const node = e.target;
|
2627
|
-
const firstFocusableEl = this.shareListRef.children[0];
|
2628
|
-
const lastFocusableEl = this.shareListRef.children[((_a = this.shareListRef) === null || _a === void 0 ? void 0 : _a.children.length) - 1];
|
2629
|
-
if (e.shiftKey && node === firstFocusableEl) {
|
2630
|
-
e.preventDefault();
|
2631
|
-
lastFocusableEl.focus();
|
2632
|
-
}
|
2633
|
-
else if (!e.shiftKey && node === lastFocusableEl) {
|
2634
|
-
e.preventDefault();
|
2635
|
-
firstFocusableEl.focus();
|
2636
|
-
}
|
2637
|
-
}
|
2638
|
-
else if (e.code === 'Escape') {
|
2639
|
-
this.closePopover();
|
2640
|
-
(_b = this.popoverButtonRef) === null || _b === void 0 ? void 0 : _b.setFocus();
|
2641
|
-
}
|
2642
|
-
}
|
2643
|
-
autoCloseCallback() {
|
2644
|
-
if (this.mode === 'popover') {
|
2645
|
-
this.opened = false;
|
2646
|
-
this.popoverRef.open = this.opened;
|
2647
|
-
}
|
2648
|
-
else {
|
2649
|
-
if (this.copyLinkPopoverRef)
|
2650
|
-
this.copyLinkPopoverRef.open = false;
|
2651
|
-
this.inlineCopyLinkOpened = false;
|
2652
|
-
if (this.copyEmbedPopoverRef)
|
2653
|
-
this.copyEmbedPopoverRef.open = false;
|
2654
|
-
this.inlineCopyEmbedOpened = false;
|
2655
|
-
}
|
2656
|
-
}
|
2657
|
-
stopPropagationCallback(event) {
|
2658
|
-
event.stopPropagation();
|
2659
|
-
}
|
2660
|
-
resetPopoverCopyState() {
|
2661
|
-
var _a;
|
2662
|
-
(_a = this.popoverButtonRef) === null || _a === void 0 ? void 0 : _a.setFocus();
|
2663
|
-
setTimeout(() => {
|
2664
|
-
this.copied = false;
|
2665
|
-
}, 200);
|
2666
|
-
}
|
2667
|
-
updateDimensions(type) {
|
2668
|
-
var _a, _b;
|
2669
|
-
if (type === 'width') {
|
2670
|
-
const value = (_a = this.embedWidthRef) === null || _a === void 0 ? void 0 : _a.value;
|
2671
|
-
this.embedWidth = parseInt(value);
|
2672
|
-
}
|
2673
|
-
else {
|
2674
|
-
const value = (_b = this.embedHeightRef) === null || _b === void 0 ? void 0 : _b.value;
|
2675
|
-
this.embedHeight = parseInt(value);
|
2676
|
-
}
|
2677
|
-
}
|
2678
|
-
render() {
|
2679
|
-
var _a, _b, _c, _d, _e, _f;
|
2680
|
-
const content = this.copied && this.mode === 'popover' ? (this.renderSuccess()) : (index.h("div", { class: CSS.dialogContent }, this.renderOptions(), this.displayTipText ? this.renderTip() : null, this.embed ? this.renderEmbed() : null));
|
2681
|
-
const layoutClass = this.shareIconsLayout === 'vertical' ? ` ${CSS.layout.vertical}` : ` ${CSS.layout.horizontal}`;
|
2682
|
-
const dialogContent = (index.h("div", { key: 'e3ae70f01dba11ef4bc9e293e13b922a38eab5a3', ref: el => (this.dialogContentRef = el), class: `${CSS.dialog}${layoutClass}` }, content));
|
2683
|
-
const defaultOffset = 6;
|
2684
|
-
const offsetDistance = this.removePopoverOffset ? 0 : defaultOffset;
|
2685
|
-
return (index.h(index.Host, { key: '84a7ab996010b4263040db789d4d726a874af30a' }, this.mode === 'popover'
|
2686
|
-
? [
|
2687
|
-
index.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, "overlay-positioning": this.popoverPositioning, "offset-distance": offsetDistance, "pointer-disabled": this.removePopoverOffset }, dialogContent),
|
2688
|
-
this.renderButton(),
|
2689
|
-
]
|
2690
|
-
: [
|
2691
|
-
dialogContent,
|
2692
|
-
index.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()),
|
2693
|
-
index.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()),
|
2694
|
-
]));
|
2695
|
-
}
|
2696
|
-
renderButton() {
|
2697
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
2698
|
-
const scale = this.shareButtonScale != null ? this.shareButtonScale : this.scale;
|
2699
|
-
return this.shareButtonType === 'button' ? (index.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 }, index.h("div", { class: CSS.iconContainer }, index.h("calcite-icon", { icon: "share", scale: this.popoverButtonIconScale })))) : (index.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" }, index.h("div", { class: CSS.iconContainer }, index.h("calcite-icon", { icon: "share", scale: this.popoverButtonIconScale }))));
|
2700
|
-
}
|
2701
|
-
renderSuccess() {
|
2702
|
-
var _a;
|
2703
|
-
const success = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.success;
|
2704
|
-
return (index.h("div", { class: CSS.success.container }, index.h("span", { class: CSS.success.header }, index.h("span", { class: CSS.success.icon }, index.h("calcite-icon", { icon: "check-circle-f", scale: this.scale })), success === null || success === void 0 ? void 0 :
|
2705
|
-
success.label), index.h("span", { class: CSS.success.message }, this.successMessage || (success === null || success === void 0 ? void 0 : success.url))));
|
2706
|
-
}
|
2707
|
-
renderEmbedSuccess() {
|
2708
|
-
var _a;
|
2709
|
-
const success = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.success;
|
2710
|
-
return (index.h("div", { class: CSS.success.container }, index.h("span", { class: CSS.success.header }, index.h("span", { class: CSS.success.icon }, index.h("calcite-icon", { icon: "check-circle-f", scale: this.scale })), success === null || success === void 0 ? void 0 :
|
2711
|
-
success.label), index.h("span", { class: CSS.success.message }, success === null || success === void 0 ? void 0 : success.embed)));
|
2712
|
-
}
|
2713
|
-
renderOptions() {
|
2714
|
-
var _a, _b, _c, _d;
|
2715
|
-
const options = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.options;
|
2716
|
-
const optionText_RTL = document.dir === 'rtl' ? ` ${CSS.rtl.optionText}` : '';
|
2717
|
-
return (index.h("ul", { ref: el => (this.shareListRef = el), class: CSS.options, role: "menu" }, index.h("li", { id: "copyToClipboard", onClick: this.handleShareItem.bind(this, 'link'), onKeyDown: this.handleOptionKeyDown('link'), role: "menuitem", tabindex: "0" }, index.h("span", { class: CSS.icon }, index.h("calcite-icon", { icon: "link", scale: this.scale })), index.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
|
2718
|
-
? [
|
2719
|
-
index.h("li", { onClick: this.handleShareItem.bind(this, 'facebook'), onKeyDown: this.handleOptionKeyDown('facebook'), role: "menuitem", tabindex: "0" }, index.h("span", { class: CSS.icon }, this.renderFacebookIcon()), index.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)),
|
2720
|
-
index.h("li", { onClick: this.handleShareItem.bind(this, 'x'), onKeyDown: this.handleOptionKeyDown('x'), role: "menuitem", tabindex: "0" }, index.h("span", { class: CSS.icon }, this.renderXIcon()), index.h("span", { class: `${CSS.optionText}${optionText_RTL}` }, "X")),
|
2721
|
-
index.h("li", { onClick: this.handleShareItem.bind(this, 'linkedIn'), onKeyDown: this.handleOptionKeyDown('linkedIn'), role: "menuitem", tabindex: "0" }, index.h("span", { class: CSS.icon }, this.renderLinkedInIcon()), index.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)),
|
2722
|
-
]
|
2723
|
-
: null));
|
2724
|
-
}
|
2725
|
-
handleOptionKeyDown(type) {
|
2726
|
-
return (e) => {
|
2727
|
-
const keyCode = e.code;
|
2728
|
-
const canActivate = keyCode === 'Space' || keyCode === 'Enter';
|
2729
|
-
if (!canActivate)
|
2730
|
-
return;
|
2731
|
-
this.handleShareItem(type);
|
2732
|
-
};
|
2733
|
-
}
|
2734
|
-
renderFacebookIcon() {
|
2735
|
-
return (index.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" }, index.h("g", null, index.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' } }), index.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' } }))));
|
2736
|
-
}
|
2737
|
-
renderXIcon() {
|
2738
|
-
const isCalciteModeDark = !!this.el.closest(CALCITE_MODE_DARK);
|
2739
|
-
return (index.h("svg", { class: isCalciteModeDark ? CSS.xLogo.dark : CSS.xLogo.light, viewBox: "0 0 1200 1227", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("rect", { height: "400", style: { fill: 'none' }, width: "400", x: "56", y: "56" }), index.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' })));
|
2740
|
-
}
|
2741
|
-
renderLinkedInIcon() {
|
2742
|
-
return (index.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" }, index.h("g", { id: "g5891" }, index.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' } }), index.h("g", { id: "shapes" }, index.h("rect", { height: "257.962", id: "rect11", style: { fill: '#fff' }, width: "85.76", x: "61.053", y: "178.667" }), index.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' } }), index.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' } })))));
|
2743
|
-
}
|
2744
|
-
renderTip() {
|
2745
|
-
var _a;
|
2746
|
-
const info = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.info;
|
2747
|
-
return (index.h("div", { class: CSS.tipContainer }, index.h("span", { class: CSS.tipHeader }, index.h("calcite-icon", { icon: "lightbulb", scale: this.scale }), index.h("span", null, info === null || info === void 0 ? void 0 : info.label)), index.h("p", { class: CSS.tipContent }, info === null || info === void 0 ? void 0 : info.tooltip)));
|
2748
|
-
}
|
2749
|
-
renderEmbed() {
|
2750
|
-
var _a, _b, _c;
|
2751
|
-
const embedMessages = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.embed;
|
2752
|
-
const textarea_RTL = document.dir === 'rtl' ? ` ${CSS.rtl.textArea}` : '';
|
2753
|
-
return (index.h("div", { class: CSS.embed.container }, index.h("span", { class: CSS.embed.header }, index.h("calcite-icon", { icon: "code", scale: this.scale }), index.h("span", null, (_c = (_b = this.messages) === null || _b === void 0 ? void 0 : _b.embed) === null || _c === void 0 ? void 0 : _c.label)), index.h("div", { class: CSS.embed.embedCode.container }, index.h("div", { class: CSS.embed.embedCode.textArea }, index.h("textarea", { ref: el => (this.embedCodeRef = el), cols: 30, rows: 5, readonly: true, class: textarea_RTL, value: this.getEmbedCode() }), index.h("button", { id: "copyEmbedToClipboard", onClick: this.copyEmbedCode.bind(this), class: CSS.embed.embedCode.copyButton }, index.h("calcite-icon", { icon: "copy", scale: this.scale }), index.h("span", null, embedMessages === null || embedMessages === void 0 ? void 0 : embedMessages.copy))), index.h("span", { class: CSS.embed.textAreaText }, index.h("slot", { name: "text-area-text" })), index.h("div", { class: CSS.embed.dimensions.container }, index.h("label", { class: CSS.embed.dimensions.input }, index.h("span", null, embedMessages === null || embedMessages === void 0 ? void 0 : embedMessages.width), index.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" })), index.h("label", { class: CSS.embed.dimensions.input }, index.h("span", null, embedMessages === null || embedMessages === void 0 ? void 0 : embedMessages.height), index.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" }))))));
|
2754
|
-
}
|
2755
|
-
handleNumberInputOnChange(type) {
|
2756
|
-
const ref = (type === 'width' ? this.embedWidthRef : this.embedHeightRef);
|
2757
|
-
const valType = type === 'width' ? 'embedWidth' : 'embedHeight';
|
2758
|
-
return () => {
|
2759
|
-
if (ref) {
|
2760
|
-
const value = parseFloat(ref.value);
|
2761
|
-
if (value <= 0) {
|
2762
|
-
this[valType] = parseInt(MIN_WIDTH_HEIGHT_VALUE);
|
2763
|
-
ref.value = MIN_WIDTH_HEIGHT_VALUE;
|
2764
|
-
}
|
2765
|
-
}
|
2766
|
-
};
|
2767
|
-
}
|
2768
|
-
togglePopover(event) {
|
2769
|
-
event.stopPropagation();
|
2770
|
-
this.opened = !this.opened;
|
2771
|
-
this.popoverRef.open = this.opened;
|
2772
|
-
}
|
2773
|
-
closePopover() {
|
2774
|
-
this.opened = false;
|
2775
|
-
this.popoverRef.open = this.opened;
|
2776
|
-
}
|
2777
|
-
async handleShareItem(type) {
|
2778
|
-
var _a, _b, _c, _d;
|
2779
|
-
this.shareUrl = await this.generateShareUrl();
|
2780
|
-
let shortenedUrl = null;
|
2781
|
-
// Detects Safari - If Safari, do not shorten URL due to Safari not allowing clipboard copy after network requests
|
2782
|
-
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;
|
2783
|
-
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;
|
2784
|
-
if (!isSafari && this.shortenShareUrl) {
|
2785
|
-
shortenedUrl = await this.shortenUrl(this.shareUrl);
|
2786
|
-
}
|
2787
|
-
let urlToUse = shortenedUrl ? shortenedUrl : this.shareUrl;
|
2788
|
-
switch (type) {
|
2789
|
-
case 'link':
|
2790
|
-
navigator.clipboard.writeText(urlToUse);
|
2791
|
-
if (this.embed) {
|
2792
|
-
this.copyEmbedPopoverRef.open = false;
|
2793
|
-
this.inlineCopyEmbedOpened = false;
|
2794
|
-
}
|
2795
|
-
if (this.mode === 'inline') {
|
2796
|
-
this.copyLinkPopoverRef.open = true;
|
2797
|
-
setTimeout(() => (this.copyLinkPopoverRef.open = false), 3000);
|
2798
|
-
}
|
2799
|
-
this.inlineCopyLinkOpened = true;
|
2800
|
-
this.copied = true;
|
2801
|
-
if (this.mode === 'popover')
|
2802
|
-
setTimeout(() => this.closePopover(), 2000);
|
2803
|
-
return;
|
2804
|
-
case 'facebook':
|
2805
|
-
case 'x':
|
2806
|
-
case 'linkedIn':
|
2807
|
-
let socialWin;
|
2808
|
-
if (isSafari) {
|
2809
|
-
socialWin = window.open('', '_blank');
|
2810
|
-
if (this.shortenShareUrl) {
|
2811
|
-
urlToUse = (await this.shortenUrl(this.shareUrl)) || urlToUse;
|
2812
|
-
}
|
2813
|
-
}
|
2814
|
-
const urlData = {
|
2815
|
-
url: encodeURI(urlToUse),
|
2816
|
-
};
|
2817
|
-
const data = type === 'x' ? Object.assign(Object.assign({}, urlData), { text: this.shareText }) : urlData;
|
2818
|
-
const [intl] = await loadModules.loadModules(['esri/intl']);
|
2819
|
-
const url = intl.substitute(SOCIAL_URL_TEMPLATES[type], data);
|
2820
|
-
if (this.mode === 'popover') {
|
2821
|
-
this.closePopover();
|
2822
|
-
}
|
2823
|
-
// With Safari, need to open new tab using the triggering event, so add shortened URL after opening.
|
2824
|
-
// Safari truncates URL without this approach.
|
2825
|
-
if (isSafari && socialWin) {
|
2826
|
-
socialWin.location = url;
|
2827
|
-
socialWin.focus();
|
2828
|
-
}
|
2829
|
-
else {
|
2830
|
-
window.open(encodeURI(url), '_blank');
|
2831
|
-
}
|
2832
|
-
return;
|
2833
|
-
}
|
2834
|
-
}
|
2835
|
-
async shortenUrl(url) {
|
2836
|
-
var _a, _b;
|
2837
|
-
const [esriRequest] = await loadModules.loadModules(['esri/request']);
|
2838
|
-
const request = await esriRequest(SHORTEN_API, {
|
2839
|
-
query: {
|
2840
|
-
longUrl: url,
|
2841
|
-
f: 'json',
|
2842
|
-
},
|
2843
|
-
});
|
2844
|
-
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;
|
2845
|
-
if (shortUrl) {
|
2846
|
-
return shortUrl.replace('http://', 'https://');
|
2847
|
-
}
|
2848
|
-
}
|
2849
|
-
getEmbedCode() {
|
2850
|
-
return `<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`;
|
2851
|
-
}
|
2852
|
-
copyEmbedCode() {
|
2853
|
-
navigator.clipboard.writeText(this.getEmbedCode());
|
2854
|
-
this.copyLinkPopoverRef.open = false;
|
2855
|
-
this.inlineCopyLinkOpened = false;
|
2856
|
-
this.copyEmbedPopoverRef.open = true;
|
2857
|
-
setTimeout(() => (this.copyEmbedPopoverRef.open = false), 3000);
|
2858
|
-
this.inlineCopyEmbedOpened = true;
|
2859
|
-
}
|
2860
|
-
// VIEW LOGIC
|
2861
|
-
async generateShareUrl() {
|
2862
|
-
var _a;
|
2863
|
-
if (this.autoUpdateShareUrl) {
|
2864
|
-
// Update shareUrl--it may have changes since the component was loaded
|
2865
|
-
this.shareUrl = window.location.href;
|
2866
|
-
}
|
2867
|
-
// If view is not ready
|
2868
|
-
if (!this.view || !((_a = this.view) === null || _a === void 0 ? void 0 : _a.ready)) {
|
2869
|
-
return this.shareUrl;
|
2870
|
-
}
|
2871
|
-
// Use x/y values and the spatial reference of the view to instantiate a geometry point
|
2872
|
-
const { x, y } = this.view.center;
|
2873
|
-
const { spatialReference } = this.view;
|
2874
|
-
const [Point, SpatialReference] = await loadModules.loadModules(['esri/geometry/Point', 'esri/geometry/SpatialReference']);
|
2875
|
-
const updatedSpatialReference = new SpatialReference(Object.assign({}, spatialReference.toJSON()));
|
2876
|
-
const centerPoint = new Point({
|
2877
|
-
x,
|
2878
|
-
y,
|
2879
|
-
spatialReference: updatedSpatialReference,
|
2880
|
-
});
|
2881
|
-
// Use pointToConvert to project point. Once projected, pass point to generate the share URL parameters
|
2882
|
-
const point = await this.processPoint(centerPoint);
|
2883
|
-
const { isWGS84, isWebMercator } = point.spatialReference;
|
2884
|
-
const isNotProjected = isWGS84 || isWebMercator;
|
2885
|
-
return this.generateShareUrlParams(point, isNotProjected);
|
2886
|
-
}
|
2887
|
-
async processPoint(point) {
|
2888
|
-
const { isWGS84, isWebMercator } = point.spatialReference;
|
2889
|
-
// If spatial reference is WGS84 or Web Mercator, use longitude/latitude values to generate the share URL parameters
|
2890
|
-
if (isWGS84 || isWebMercator) {
|
2891
|
-
return point;
|
2892
|
-
}
|
2893
|
-
const [SpatialReference, projection] = await loadModules.loadModules(['esri/geometry/SpatialReference', 'esri/geometry/projection']);
|
2894
|
-
const outputSpatialReference = new SpatialReference({ wkid: 4326 });
|
2895
|
-
try {
|
2896
|
-
await projection.load();
|
2897
|
-
const projectedPoint = projection.project(point, outputSpatialReference);
|
2898
|
-
return Promise.resolve(projectedPoint);
|
2899
|
-
}
|
2900
|
-
catch (err) {
|
2901
|
-
console.error('Failed to project point', err);
|
2902
|
-
return Promise.reject(null);
|
2903
|
-
}
|
2904
|
-
}
|
2905
|
-
generateShareUrlParams(point, isNotProjected) {
|
2906
|
-
var _a, _b, _c, _d, _e;
|
2907
|
-
const { longitude, latitude, x, y } = point;
|
2908
|
-
if (longitude === undefined || latitude === undefined) {
|
2909
|
-
return this.shareUrl;
|
2910
|
-
}
|
2911
|
-
const roundedLon = this.roundValue(isNotProjected ? longitude : x);
|
2912
|
-
const roundedLat = this.roundValue(isNotProjected ? latitude : y);
|
2913
|
-
const { zoom } = this.view;
|
2914
|
-
const roundedZoom = this.roundValue(zoom);
|
2915
|
-
const graphic = (_b = (_a = this.view) === null || _a === void 0 ? void 0 : _a.popup) === null || _b === void 0 ? void 0 : _b.selectedFeature;
|
2916
|
-
const visible = (_d = (_c = this.view) === null || _c === void 0 ? void 0 : _c.popup) === null || _d === void 0 ? void 0 : _d.visible;
|
2917
|
-
let layerId;
|
2918
|
-
let oid;
|
2919
|
-
let hiddenLayers;
|
2920
|
-
if (graphic && visible && ((_e = graphic === null || graphic === void 0 ? void 0 : graphic.layer) === null || _e === void 0 ? void 0 : _e.type) === 'feature') {
|
2921
|
-
const featureLayer = graphic === null || graphic === void 0 ? void 0 : graphic.layer;
|
2922
|
-
layerId = featureLayer === null || featureLayer === void 0 ? void 0 : featureLayer.id;
|
2923
|
-
oid = graphic.attributes[featureLayer.objectIdField];
|
2924
|
-
hiddenLayers = this.view.map.allLayers
|
2925
|
-
.filter(layer => !layer.visible)
|
2926
|
-
.toArray()
|
2927
|
-
.map(featureLayer => featureLayer.id)
|
2928
|
-
.toString()
|
2929
|
-
.replaceAll(',', ';');
|
2930
|
-
}
|
2931
|
-
const { type } = this.view;
|
2932
|
-
const { defaultUrlParams } = this;
|
2933
|
-
const url = new URL(this.shareUrl);
|
2934
|
-
const { searchParams } = url;
|
2935
|
-
// Resets existing URL params
|
2936
|
-
if (searchParams.get('center'))
|
2937
|
-
searchParams.delete('center');
|
2938
|
-
if (searchParams.get('level'))
|
2939
|
-
searchParams.delete('level');
|
2940
|
-
if (searchParams.get('selectedFeature'))
|
2941
|
-
searchParams.delete('selectedFeature');
|
2942
|
-
if (searchParams.get('hiddenLayers'))
|
2943
|
-
searchParams.delete('hiddenLayers');
|
2944
|
-
if (searchParams.get('viewpoint'))
|
2945
|
-
searchParams.delete('viewpoint');
|
2946
|
-
// Checks if view.type is 3D, if so, set 3D url parameters
|
2947
|
-
if (type === '3d') {
|
2948
|
-
// viewpoint=cam:{camera.position.longitude},{camera.position.latitude},{camera.position.z};{camera.heading},{camera.tilt}
|
2949
|
-
const { camera } = this.view;
|
2950
|
-
const { heading, position, tilt } = camera;
|
2951
|
-
const { longitude, latitude, z } = position;
|
2952
|
-
const viewpoint_Values = {
|
2953
|
-
longitude: this.roundValue(longitude, 8),
|
2954
|
-
latitude: this.roundValue(latitude, 8),
|
2955
|
-
z: this.roundValue(z, 3),
|
2956
|
-
heading: this.roundValue(heading, 3),
|
2957
|
-
tilt: this.roundValue(tilt, 3),
|
2958
|
-
};
|
2959
|
-
const viewpointVal = `cam:${viewpoint_Values.longitude},${viewpoint_Values.latitude},${viewpoint_Values.z};${viewpoint_Values.heading},${viewpoint_Values.tilt}`;
|
2960
|
-
if ((defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.viewpoint) !== false)
|
2961
|
-
url.searchParams.set('viewpoint', viewpointVal);
|
2962
|
-
if (layerId && oid && (defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.selectedFeature) !== false)
|
2963
|
-
url.searchParams.set('selectedFeature', `${layerId};${oid}`);
|
2964
|
-
if (hiddenLayers && (defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.hiddenLayers) !== false)
|
2965
|
-
url.searchParams.set('hiddenLayers', hiddenLayers);
|
2966
|
-
url.search = decodeURIComponent(url.search);
|
2967
|
-
return url.href;
|
2968
|
-
}
|
2969
|
-
// Otherwise, just return original url for 2D
|
2970
|
-
if ((defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.center) !== false)
|
2971
|
-
url.searchParams.set('center', `${roundedLon};${roundedLat}`);
|
2972
|
-
if ((defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.level) !== false)
|
2973
|
-
url.searchParams.set('level', `${roundedZoom}`);
|
2974
|
-
if (layerId && oid && (defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.selectedFeature) !== false)
|
2975
|
-
url.searchParams.set('selectedFeature', `${layerId};${oid}`);
|
2976
|
-
if (hiddenLayers && (defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.hiddenLayers) !== false)
|
2977
|
-
url.searchParams.set('hiddenLayers', hiddenLayers);
|
2978
|
-
url.search = decodeURIComponent(url.search);
|
2979
|
-
return url.href;
|
2980
|
-
}
|
2981
|
-
roundValue(val, decimalPoints = 4) {
|
2982
|
-
return parseFloat(val.toFixed(decimalPoints));
|
2983
|
-
}
|
2984
|
-
get el() { return index.getElement(this); }
|
2985
|
-
};
|
2986
|
-
InstantAppsSocialShare.style = InstantAppsSocialShareStyle0;
|
2987
|
-
|
2988
|
-
exports.calcite_block = Block;
|
2989
|
-
exports.calcite_date_picker = DatePicker;
|
2990
|
-
exports.calcite_input_date_picker = InputDatePicker;
|
2991
|
-
exports.instant_apps_filter_list = InstantAppsFilterList;
|
2992
|
-
exports.instant_apps_social_share = InstantAppsSocialShare;
|