@esri/solutions-components 0.10.18 → 0.10.20
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-54ca6b91.js +115 -0
- package/dist/cjs/FloatingArrow-28f6bb91.js +48 -0
- package/dist/cjs/Heading-63b5c82c.js +25 -0
- package/dist/cjs/Validation-9bab9a69.js +20 -0
- package/dist/cjs/app-globals-d2085e28.js +67 -0
- package/dist/cjs/ar-ce94723b.js +106 -0
- package/dist/cjs/array-708fd433.js +17 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +15 -7
- package/dist/cjs/bg-8ab5661c.js +84 -0
- package/dist/cjs/browser-2893460e.js +35 -0
- package/dist/cjs/bs-f15b7a3d.js +53 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +5 -5
- package/dist/cjs/ca-321e7e4f.js +73 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +9 -9
- package/dist/cjs/calcite-accordion.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-alert_5.cjs.entry.js +55 -27
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block-section.cjs.entry.js +10 -10
- package/dist/cjs/calcite-block_5.cjs.entry.js +27 -27
- package/dist/cjs/calcite-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-card-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-card.cjs.entry.js +11 -11
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +2 -2
- package/dist/cjs/calcite-carousel.cjs.entry.js +12 -12
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-chip_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker.cjs.entry.js +12 -12
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +21 -21
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dialog.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter_5.cjs.entry.js +18 -18
- package/dist/cjs/calcite-flow_4.cjs.entry.js +49 -17
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-icon_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-number.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-time-picker-d63d914b.js +1861 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +23 -17
- package/dist/cjs/calcite-input_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu-item.cjs.entry.js +10 -10
- package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal_3.cjs.entry.js +19 -19
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
- package/dist/cjs/calcite-navigation.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-sheet.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +40 -39
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +11 -11
- package/dist/cjs/calcite-stepper.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +8 -8
- package/dist/cjs/calcite-table.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-time-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tree_3.cjs.entry.js +11 -11
- package/dist/cjs/card-manager_3.cjs.entry.js +8 -7
- package/dist/cjs/common-eee0c33f.js +38 -0
- package/dist/cjs/component-7f2bd646.js +33 -0
- package/dist/cjs/conditionalSlot-2d2541f4.js +54 -0
- package/dist/cjs/config-7c16c710.js +40 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +71 -32
- package/dist/cjs/cs-66742e3a.js +149 -0
- package/dist/cjs/da-933e7031.js +69 -0
- package/dist/cjs/date-e01a99aa.js +264 -0
- package/dist/cjs/de-87706bda.js +93 -0
- package/dist/cjs/de-at-752f7be1.js +92 -0
- package/dist/cjs/de-ch-41dc3fef.js +92 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/dom-3d3a8f25.js +1215 -0
- package/dist/cjs/downloadUtils-470f6a27.js +3164 -0
- package/dist/cjs/el-23b7e02b.js +68 -0
- package/dist/cjs/en-au-4f9fe083.js +68 -0
- package/dist/cjs/en-ca-afba9508.js +67 -0
- package/dist/cjs/en-gb-78a49c6a.js +71 -0
- package/dist/cjs/es-ea5faae0.js +68 -0
- package/dist/cjs/es-mx-47a5667a.js +67 -0
- package/dist/cjs/et-72505ea1.js +94 -0
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +25 -12
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-7b4ac88c.js +117 -0
- package/dist/cjs/filter-a9429bde.js +778 -0
- package/dist/cjs/floating-ui-9ff03df8.js +2373 -0
- package/dist/cjs/focusTrapComponent-86ebd41d.js +1018 -0
- package/dist/cjs/form-8132060d.js +381 -0
- package/dist/cjs/fr-8077e2e8.js +70 -0
- package/dist/cjs/fr-ch-04f427a0.js +68 -0
- package/dist/cjs/guid-42cda8c9.js +26 -0
- package/dist/cjs/he-93b37a58.js +107 -0
- package/dist/cjs/hi-cb320ba3.js +67 -0
- package/dist/cjs/hr-15e455d9.js +82 -0
- package/dist/cjs/hu-10c42dd5.js +90 -0
- package/dist/cjs/id-813844ef.js +68 -0
- package/dist/cjs/index.es-6387d8fb.js +11318 -0
- package/dist/cjs/input-3efc5a5e.js +60 -0
- package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +9 -9
- package/dist/cjs/interactive-3b85d8df.js +167 -0
- package/dist/cjs/it-090375c5.js +68 -0
- package/dist/cjs/it-ch-6cc91215.js +68 -0
- package/dist/cjs/ja-e6697420.js +74 -0
- package/dist/cjs/key-82084ef6.js +19 -0
- package/dist/cjs/ko-522250be.js +74 -0
- package/dist/cjs/label-e7d3c371.js +186 -0
- package/dist/cjs/layout-manager.cjs.entry.js +1 -1
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadable-0e357195.js +98 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-351282c5.js +605 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/logger-309df5d9.js +61 -0
- package/dist/cjs/lt-c2f9fd21.js +99 -0
- package/dist/cjs/lv-a1930986.js +68 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +7 -6
- package/dist/cjs/math-14740338.js +60 -0
- package/dist/cjs/mk-deb11706.js +68 -0
- package/dist/cjs/nb-3859b631.js +69 -0
- package/dist/cjs/nl-6c2c838d.js +69 -0
- package/dist/cjs/observers-5f9f67ee.js +58 -0
- package/dist/cjs/openCloseComponent-b66f10f5.js +65 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-fcb7899e.js +116 -0
- package/dist/cjs/popupUtils-c38f840d.js +121 -0
- package/dist/cjs/pt-416d2cf8.js +69 -0
- package/dist/cjs/pt-br-bae3d576.js +67 -0
- package/dist/cjs/public-notification.cjs.entry.js +6 -5
- package/dist/cjs/purify-0805e9f8.js +1562 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/resources-4446499e.js +39 -0
- package/dist/cjs/resources-4c3e1c50.js +68 -0
- package/dist/cjs/resources-6f65a67f.js +29 -0
- package/dist/cjs/resources-87ed79dd.js +23 -0
- package/dist/cjs/resources-9b04cd8c.js +23 -0
- package/dist/cjs/resources-a1ca0958.js +27 -0
- package/dist/cjs/resources-c5f09989.js +68 -0
- package/dist/cjs/resources-dbc687b5.js +26 -0
- package/dist/cjs/resources-f11e9bd6.js +39 -0
- package/dist/cjs/resources-f8785f51.js +21 -0
- package/dist/cjs/restHelpersGet-5c2245a3.js +991 -0
- package/dist/cjs/ro-bda94f37.js +68 -0
- package/dist/cjs/ru-7258ce51.js +128 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-d4b7311f.js +361 -0
- package/dist/cjs/sk-3a398547.js +150 -0
- package/dist/cjs/sl-bfb5a728.js +170 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +31 -30
- package/dist/cjs/solution-contents_3.cjs.entry.js +8 -7
- package/dist/cjs/solution-resource-40e70253.js +145 -0
- package/dist/cjs/solution-store-2cd6a8c3.js +1354 -0
- package/dist/cjs/solutions-components.cjs.js +5 -5
- package/dist/cjs/sortableComponent-8684e273.js +2748 -0
- package/dist/cjs/spatial-ref.cjs.entry.js +4 -3
- package/dist/cjs/sr-58554054.js +103 -0
- package/dist/cjs/store-manager.cjs.entry.js +5 -4
- package/dist/cjs/sv-335a4402.js +73 -0
- package/dist/cjs/t9n-e41672d2.js +108 -0
- package/dist/cjs/templates-0b7f886f.js +408 -0
- package/dist/cjs/th-14ebad2e.js +67 -0
- package/dist/cjs/time-9a5e2f2d.js +301 -0
- package/dist/cjs/tr-36bcc20f.js +68 -0
- package/dist/cjs/uk-dcff92bd.js +106 -0
- package/dist/cjs/utils-29c97686.js +2304 -0
- package/dist/cjs/utils-edb4e372.js +78 -0
- package/dist/cjs/vi-284fec96.js +72 -0
- package/dist/cjs/zh-cn-1f4ab46b.js +96 -0
- package/dist/cjs/zh-hk-39cf1fdd.js +94 -0
- package/dist/cjs/zh-tw-e0b3117d.js +94 -0
- package/dist/collection/assets/t9n/card-manager/resources_ar.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_bg.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_bs.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ca.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_cs.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_da.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_de.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_el.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_es.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_et.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_fi.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_fr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_he.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_hr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_hu.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_id.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_it.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ja.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ko.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_lt.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_lv.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_nb.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_nl.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_pl.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_pt-BR.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_pt-PT.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ro.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ru.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sk.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sl.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sv.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_th.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_tr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_uk.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_vi.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-CN.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-HK.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-TW.json +4 -1
- package/dist/collection/assets/t9n/create-feature/resources.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_en.json +5 -0
- package/dist/collection/assets/t9n/create-related-feature/resources.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_en.json +3 -0
- package/dist/collection/assets/t9n/crowdsource-reporter/resources.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_en.json +0 -1
- package/dist/collection/assets/t9n/layer-table/resources_ar.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_bg.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_bs.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ca.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_cs.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_da.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_de.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_el.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_es.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_et.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_fi.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_fr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_he.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_hr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_hu.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_id.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_it.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ja.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ko.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_lt.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_lv.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_nb.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_nl.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_pl.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_pt-BR.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_pt-PT.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ro.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ru.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sk.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sl.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sv.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_th.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_tr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_uk.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_vi.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-CN.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-HK.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-TW.json +2 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +11 -1
- package/dist/collection/components/create-feature/create-feature.css +6 -1
- package/dist/collection/components/create-feature/create-feature.js +50 -3
- package/dist/collection/components/create-related-feature/create-related-feature.css +10 -0
- package/dist/collection/components/create-related-feature/create-related-feature.js +35 -3
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +72 -31
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.js +1 -1
- 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-details/feature-details.css +0 -8
- package/dist/collection/components/feature-details/feature-details.js +58 -10
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
- package/dist/collection/components/feature-list/feature-list.js +29 -10
- package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +3 -3
- 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/location-flow-item/location-flow-item.js +1 -1
- package/dist/collection/components/map-card/map-card.js +1 -1
- 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 +1 -1
- 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 +2 -2
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/share-item/share-item.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- 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 +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- 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/demos/crowdsource-reporter.html +24 -25
- package/dist/collection/utils/pdfUtils.js +1 -1
- package/dist/collection/utils/pdfUtils.ts +1 -1
- 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/action-bar.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action-pad.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/alert.js +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/basemap-gallery2.js +10 -1
- package/dist/components/block.js +1 -1
- package/dist/components/browser.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-carousel-item.js +1 -1
- package/dist/components/calcite-carousel.js +1 -1
- package/dist/components/calcite-dialog.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +11 -4
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +2 -2
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item-group.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/common.js +1 -0
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/config.js +1 -1
- package/dist/components/create-feature2.js +47 -5
- package/dist/components/create-related-feature2.js +32 -5
- package/dist/components/crowdsource-manager.js +1 -1
- package/dist/components/crowdsource-reporter.js +73 -33
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/downloadUtils.js +28 -27
- package/dist/components/dropdown.js +1 -1
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-details2.js +31 -11
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/feature-list2.js +20 -8
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/flow-item.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/index2.js +2117 -162
- package/dist/components/index3.js +162 -2117
- package/dist/components/info-card2.js +2 -2
- package/dist/components/input-date-picker.js +2 -2
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +1 -1
- package/dist/components/instant-apps-header2.js +1 -1
- package/dist/components/instant-apps-splash.js +1 -1
- package/dist/components/instant-apps-time-filter.js +10 -10
- package/dist/components/interactive.js +1 -1
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/layer-table2.js +3 -3
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/list.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale2.js +2 -2
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/logger.js +1 -1
- package/dist/components/map-card2.js +1 -1
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +1 -1
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/navigation-user.js +1 -1
- package/dist/components/notice.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/panel.js +2 -2
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/public-notification.js +2 -2
- package/dist/components/publicNotificationStore.js +1 -1
- package/dist/components/purify.js +275 -429
- package/dist/components/radio-button.js +1 -1
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.js +1 -1
- package/dist/components/restHelpersGet.js +16 -0
- package/dist/components/scrim.js +1 -1
- package/dist/components/segmented-control-item.js +1 -1
- package/dist/components/segmented-control.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/share-item.js +1 -1
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/shell-panel.js +1 -1
- package/dist/components/shell.js +2 -2
- package/dist/components/slider.js +1 -1
- package/dist/components/solution-configuration.js +27 -26
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +2 -1
- package/dist/components/solution-resource.js +1 -1699
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-store.js +2 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/store.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/templates.js +1 -0
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +3 -3
- package/dist/components/tree-item.js +1 -1
- package/dist/components/tree.js +1 -1
- package/dist/components/utils.js +2 -2
- package/dist/components/utils2.js +2 -2
- package/dist/components/utils3.js +1 -1
- package/dist/components/utils4.js +1 -1
- package/dist/components/value-list-item.js +1 -1
- package/dist/components/value-list.js +2 -2
- package/dist/esm/ExpandToggle-b5147279.js +108 -0
- package/dist/esm/FloatingArrow-9a505e89.js +46 -0
- package/dist/esm/Heading-cae0b34c.js +22 -0
- package/dist/esm/Validation-bd0a53ec.js +18 -0
- package/dist/esm/app-globals-530c75ff.js +65 -0
- package/dist/esm/ar-e0e64e78.js +104 -0
- package/dist/esm/array-ddb2593b.js +15 -0
- package/dist/esm/basemap-gallery_7.entry.js +15 -7
- package/dist/esm/bg-d2d8dbe0.js +82 -0
- package/dist/esm/browser-a791205e.js +32 -0
- package/dist/esm/bs-d883901d.js +51 -0
- package/dist/esm/buffer-tools_3.entry.js +5 -5
- package/dist/esm/ca-064729ad.js +71 -0
- package/dist/esm/calcite-accordion-item.entry.js +9 -9
- package/dist/esm/calcite-accordion.entry.js +3 -3
- package/dist/esm/calcite-action-bar.entry.js +14 -14
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu_2.entry.js +15 -15
- package/dist/esm/calcite-action-pad_2.entry.js +14 -14
- package/dist/esm/calcite-action_2.entry.js +20 -20
- package/dist/esm/calcite-alert_5.entry.js +55 -27
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block-section.entry.js +10 -10
- package/dist/esm/calcite-block_5.entry.js +27 -27
- package/dist/esm/calcite-button.entry.js +14 -14
- package/dist/esm/calcite-card-group.entry.js +6 -6
- package/dist/esm/calcite-card.entry.js +11 -11
- package/dist/esm/calcite-carousel-item.entry.js +2 -2
- package/dist/esm/calcite-carousel.entry.js +12 -12
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +6 -6
- package/dist/esm/calcite-chip_2.entry.js +15 -15
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
- package/dist/esm/calcite-color-picker.entry.js +12 -12
- package/dist/esm/calcite-combobox-item-group.entry.js +6 -6
- package/dist/esm/calcite-combobox_3.entry.js +21 -21
- package/dist/esm/calcite-date-picker-day_3.entry.js +13 -13
- package/dist/esm/calcite-dialog.entry.js +15 -15
- package/dist/esm/calcite-dropdown_2.entry.js +13 -13
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter_5.entry.js +18 -18
- package/dist/esm/calcite-flow_4.entry.js +50 -18
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-icon_2.entry.js +10 -10
- package/dist/esm/calcite-inline-editable.entry.js +13 -13
- package/dist/esm/calcite-input-number.entry.js +16 -16
- package/dist/esm/calcite-input-text.entry.js +16 -16
- package/dist/esm/calcite-input-time-picker-66e7a9f3.js +1858 -0
- package/dist/esm/calcite-input-time-picker.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +23 -17
- package/dist/esm/calcite-input_2.entry.js +16 -16
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list-item-group.entry.js +4 -4
- package/dist/esm/calcite-menu-item.entry.js +10 -10
- package/dist/esm/calcite-menu.entry.js +9 -9
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal_3.entry.js +19 -19
- package/dist/esm/calcite-navigation-logo.entry.js +4 -4
- package/dist/esm/calcite-navigation-user.entry.js +3 -3
- package/dist/esm/calcite-navigation.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_2.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pick-list-group.entry.js +10 -10
- package/dist/esm/calcite-pick-list-item.entry.js +15 -15
- package/dist/esm/calcite-pick-list.entry.js +13 -13
- package/dist/esm/calcite-radio-button-group.entry.js +8 -8
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +13 -13
- package/dist/esm/calcite-sheet.entry.js +10 -10
- package/dist/esm/calcite-shell-center-row.entry.js +7 -7
- package/dist/esm/calcite-shell-panel_14.entry.js +40 -39
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +11 -11
- package/dist/esm/calcite-stepper.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +8 -8
- package/dist/esm/calcite-table.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +16 -16
- package/dist/esm/calcite-tile-group.entry.js +7 -7
- package/dist/esm/calcite-tile-select-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select.entry.js +7 -7
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-time-picker.entry.js +13 -13
- package/dist/esm/calcite-tip-group.entry.js +2 -2
- package/dist/esm/calcite-tip-manager.entry.js +12 -12
- package/dist/esm/calcite-tip.entry.js +13 -13
- package/dist/esm/calcite-tooltip.entry.js +10 -10
- package/dist/esm/calcite-tree_3.entry.js +11 -11
- package/dist/esm/card-manager_3.entry.js +8 -7
- package/dist/esm/common-c3bbba83.js +36 -0
- package/dist/esm/component-d35983a4.js +30 -0
- package/dist/esm/conditionalSlot-0cbc7172.js +51 -0
- package/dist/esm/config-8d1c3431.js +36 -0
- package/dist/esm/crowdsource-manager.entry.js +1 -1
- package/dist/esm/crowdsource-reporter.entry.js +71 -32
- package/dist/esm/cs-3751e560.js +147 -0
- package/dist/esm/da-227f8ad5.js +67 -0
- package/dist/esm/date-87a67cb4.js +248 -0
- package/dist/esm/de-a5d2b25b.js +91 -0
- package/dist/esm/de-at-66232b80.js +90 -0
- package/dist/esm/de-ch-1264ed4c.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/dom-63d2d41c.js +1180 -0
- package/dist/esm/downloadUtils-d1f791c5.js +3157 -0
- package/dist/esm/el-f5bf7ca3.js +66 -0
- package/dist/esm/en-au-2ac8f62e.js +66 -0
- package/dist/esm/en-ca-a1602b49.js +65 -0
- package/dist/esm/en-gb-28354b2e.js +69 -0
- package/dist/esm/es-feb7aad2.js +66 -0
- package/dist/esm/es-mx-5d64f899.js +65 -0
- package/dist/esm/et-173d2f49.js +92 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +25 -12
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-ff9bb719.js +115 -0
- package/dist/esm/filter-6ee02739.js +775 -0
- package/dist/esm/floating-ui-c7ae81d9.js +2365 -0
- package/dist/esm/focusTrapComponent-833b1234.js +1013 -0
- package/dist/esm/form-08e1bcb7.js +372 -0
- package/dist/esm/fr-ch-491f1abe.js +66 -0
- package/dist/esm/fr-e3af6835.js +68 -0
- package/dist/esm/guid-42656051.js +24 -0
- package/dist/esm/he-47aa8dde.js +105 -0
- package/dist/esm/hi-1700df3e.js +65 -0
- package/dist/esm/hr-68b828f5.js +80 -0
- package/dist/esm/hu-df6a8f29.js +88 -0
- package/dist/esm/id-8091582d.js +66 -0
- package/dist/esm/index.es-decad494.js +11231 -0
- package/dist/esm/input-7f3fc18b.js +58 -0
- package/dist/esm/instant-apps-header.entry.js +1 -1
- package/dist/esm/instant-apps-splash.entry.js +1 -1
- package/dist/esm/instant-apps-time-filter.entry.js +9 -9
- package/dist/esm/interactive-b2a41b8b.js +162 -0
- package/dist/esm/it-1f5e149d.js +66 -0
- package/dist/esm/it-ch-bf7fcac6.js +66 -0
- package/dist/esm/ja-a5117166.js +72 -0
- package/dist/esm/key-d6dfb50e.js +16 -0
- package/dist/esm/ko-9d7a9e79.js +72 -0
- package/dist/esm/label-4c4e06d6.js +179 -0
- package/dist/esm/layout-manager.entry.js +1 -1
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadable-1a9b14b8.js +93 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-4441c976.js +591 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/logger-3188b9c3.js +59 -0
- package/dist/esm/lt-2e1c53de.js +97 -0
- package/dist/esm/lv-ca1ba866.js +66 -0
- package/dist/esm/map-select-tools_3.entry.js +7 -6
- package/dist/esm/math-9afe1f6d.js +54 -0
- package/dist/esm/mk-421d0d41.js +66 -0
- package/dist/esm/nb-5b103e32.js +67 -0
- package/dist/esm/nl-eac33461.js +67 -0
- package/dist/esm/observers-6cac5525.js +56 -0
- package/dist/esm/openCloseComponent-c8c8645b.js +63 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-03531ccb.js +114 -0
- package/dist/esm/popupUtils-4e0a103f.js +119 -0
- package/dist/esm/pt-b5d8bffc.js +67 -0
- package/dist/esm/pt-br-dee45728.js +65 -0
- package/dist/esm/public-notification.entry.js +6 -5
- package/dist/esm/purify-cb56797a.js +1560 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/resources-119ae117.js +23 -0
- package/dist/esm/resources-244d70ca.js +22 -0
- package/dist/esm/resources-3f56d4e7.js +19 -0
- package/dist/esm/resources-57625076.js +63 -0
- package/dist/esm/resources-5b213c89.js +35 -0
- package/dist/esm/resources-61eab899.js +20 -0
- package/dist/esm/resources-745dec87.js +34 -0
- package/dist/esm/resources-9494c015.js +21 -0
- package/dist/esm/resources-d6566b8a.js +62 -0
- package/dist/esm/resources-d7e0fbbf.js +24 -0
- package/dist/esm/restHelpersGet-48113381.js +976 -0
- package/dist/esm/ro-df6cb584.js +66 -0
- package/dist/esm/ru-e7c02faa.js +126 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-cadae2eb.js +339 -0
- package/dist/esm/sk-cae387d2.js +148 -0
- package/dist/esm/sl-2892ad87.js +168 -0
- package/dist/esm/solution-configuration.entry.js +31 -30
- package/dist/esm/solution-contents_3.entry.js +8 -7
- package/dist/esm/solution-resource-f5809979.js +142 -0
- package/dist/esm/solution-store-ca4d55de.js +1352 -0
- package/dist/esm/solutions-components.js +5 -5
- package/dist/esm/sortableComponent-52b99f0f.js +2745 -0
- package/dist/esm/spatial-ref.entry.js +4 -3
- package/dist/esm/sr-11e6839f.js +101 -0
- package/dist/esm/store-manager.entry.js +5 -4
- package/dist/esm/sv-fd5c6ca5.js +71 -0
- package/dist/esm/t9n-b7ea1a61.js +103 -0
- package/dist/esm/templates-0b442208.js +402 -0
- package/dist/esm/th-170cf6b1.js +65 -0
- package/dist/esm/time-a7f1020b.js +286 -0
- package/dist/esm/tr-1d6ca382.js +66 -0
- package/dist/esm/uk-35eec84e.js +104 -0
- package/dist/esm/utils-62514064.js +65 -0
- package/dist/esm/utils-d2524a35.js +2274 -0
- package/dist/esm/vi-2713ee26.js +70 -0
- package/dist/esm/zh-cn-ed066014.js +94 -0
- package/dist/esm/zh-hk-a118dced.js +92 -0
- package/dist/esm/zh-tw-c9bbf220.js +92 -0
- 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 +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +5 -5
- 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 +5 -5
- 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 +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +5 -5
- 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 +5 -5
- 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 +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +5 -5
- 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 +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +5 -5
- 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 +5 -5
- 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 -5
- 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 +5 -5
- 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 +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- 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 +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +5 -5
- 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 +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +6 -22
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +5 -5
- 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 +6 -6
- 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 +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +5 -5
- 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 +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +5 -5
- 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 +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +5 -5
- 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 +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- package/dist/solutions-components/assets/t9n/card-manager/resources_ar.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_bg.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_bs.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ca.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_cs.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_da.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_de.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_el.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_es.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_et.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_fi.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_fr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_he.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_hr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_hu.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_id.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_it.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ja.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ko.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_lt.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_lv.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_nb.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_nl.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pl.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pt-BR.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pt-PT.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ro.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ru.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sk.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sl.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sv.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_th.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_tr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_uk.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_vi.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-CN.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-HK.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-TW.json +4 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_en.json +5 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_en.json +3 -0
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_en.json +0 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ar.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_bg.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_bs.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ca.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_cs.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_da.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_de.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_el.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_es.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_et.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_fi.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_fr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_he.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_hr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_hu.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_id.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_it.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ja.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ko.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_lt.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_lv.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_nb.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_nl.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pl.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-BR.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-PT.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ro.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ru.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sk.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sl.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sv.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_th.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_tr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_uk.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_vi.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-CN.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-HK.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-TW.json +2 -1
- package/dist/solutions-components/demos/crowdsource-reporter.html +24 -25
- package/dist/solutions-components/p-01dae909.js +6 -0
- package/dist/solutions-components/p-02ea30d1.entry.js +11 -0
- package/dist/solutions-components/p-040b6e44.entry.js +6 -0
- package/dist/solutions-components/p-04294b8e.js +6 -0
- package/dist/solutions-components/p-062e5705.entry.js +6 -0
- package/dist/solutions-components/p-062f4457.js +6 -0
- package/dist/solutions-components/p-07d30a6b.entry.js +11 -0
- package/dist/solutions-components/p-08d1cc1f.js +11 -0
- package/dist/solutions-components/p-0a165419.js +18 -0
- package/dist/solutions-components/p-0b6e5486.js +6 -0
- package/dist/solutions-components/p-0d6b3f44.js +6 -0
- package/dist/solutions-components/p-0dc73313.js +6 -0
- package/dist/solutions-components/p-0e851a4b.js +6 -0
- package/dist/solutions-components/p-0ef9d36b.js +11 -0
- package/dist/solutions-components/p-1017609e.js +11 -0
- package/dist/solutions-components/p-1490c752.js +61 -0
- package/dist/solutions-components/p-14f027b5.js +11 -0
- package/dist/solutions-components/p-150394be.js +11 -0
- package/dist/solutions-components/p-16a3f7ca.entry.js +6 -0
- package/dist/solutions-components/p-16b24981.entry.js +11 -0
- package/dist/solutions-components/p-19b466d0.js +6 -0
- package/dist/solutions-components/p-1a06bf01.js +6 -0
- package/dist/solutions-components/p-1b0fe5b1.entry.js +6 -0
- package/dist/solutions-components/p-1b229454.js +11 -0
- package/dist/solutions-components/p-1c249530.js +11 -0
- package/dist/solutions-components/p-1ce2608d.js +12 -0
- package/dist/solutions-components/p-1ef6a1c2.entry.js +6 -0
- package/dist/solutions-components/p-2007eaa4.entry.js +6 -0
- package/dist/solutions-components/p-222e0445.entry.js +11 -0
- package/dist/solutions-components/p-2230d4cc.js +11 -0
- package/dist/solutions-components/p-2264e8d5.entry.js +11 -0
- package/dist/solutions-components/p-23ce9afa.entry.js +11 -0
- package/dist/solutions-components/p-23dd68de.entry.js +17 -0
- package/dist/solutions-components/p-245c35ce.js +6 -0
- package/dist/solutions-components/p-24a813a4.entry.js +6 -0
- package/dist/solutions-components/p-25b5ffea.js +6 -0
- package/dist/solutions-components/p-267ef1b8.entry.js +11 -0
- package/dist/solutions-components/p-270ead49.js +16 -0
- package/dist/solutions-components/p-27d462c0.js +11 -0
- package/dist/solutions-components/p-2868a42b.js +11 -0
- package/dist/solutions-components/p-29a09798.js +17 -0
- package/dist/solutions-components/p-2aa44a02.entry.js +11 -0
- package/dist/solutions-components/p-2d17790c.js +6 -0
- package/dist/solutions-components/p-2e06ec97.js +6 -0
- package/dist/solutions-components/p-304cef31.js +16 -0
- package/dist/solutions-components/p-33db098c.js +6 -0
- package/dist/solutions-components/p-347d9ce0.js +6 -0
- package/dist/solutions-components/p-36e59391.js +143 -0
- package/dist/solutions-components/p-3792492a.js +11 -0
- package/dist/solutions-components/p-38a87c63.js +11 -0
- package/dist/solutions-components/p-3a47fde6.entry.js +11 -0
- package/dist/solutions-components/p-3c1ecf85.entry.js +29 -0
- package/dist/solutions-components/p-3c89bfe5.entry.js +6 -0
- package/dist/solutions-components/p-3e828614.js +11 -0
- package/dist/solutions-components/p-40175313.entry.js +11 -0
- package/dist/solutions-components/p-40f5df15.entry.js +11 -0
- package/dist/solutions-components/p-42cd083f.entry.js +20 -0
- package/dist/solutions-components/p-47a0be20.js +11 -0
- package/dist/solutions-components/p-4920ee12.js +11 -0
- package/dist/solutions-components/p-49bbe45e.js +6 -0
- package/dist/solutions-components/p-4b9b7778.js +11 -0
- package/dist/solutions-components/p-4c179300.entry.js +11 -0
- package/dist/solutions-components/p-4c88578a.entry.js +6 -0
- package/dist/solutions-components/p-4e7aa926.js +6 -0
- package/dist/solutions-components/p-4fe5e9c3.entry.js +22 -0
- package/dist/solutions-components/p-508b2b7b.js +6 -0
- package/dist/solutions-components/p-52f19286.entry.js +11 -0
- package/dist/solutions-components/p-53b5a39e.js +6 -0
- package/dist/solutions-components/p-5440c8dd.js +6 -0
- package/dist/solutions-components/p-54a9017c.entry.js +11 -0
- package/dist/solutions-components/p-54b7e680.js +6 -0
- package/dist/solutions-components/p-550da58b.js +6 -0
- package/dist/solutions-components/p-5612aa0c.entry.js +6 -0
- package/dist/solutions-components/p-57025491.entry.js +6 -0
- package/dist/solutions-components/p-5a3cab12.entry.js +17 -0
- package/dist/solutions-components/p-5de67b86.js +11 -0
- package/dist/solutions-components/p-5e71e72a.js +21 -0
- package/dist/solutions-components/p-5f705984.js +6 -0
- package/dist/solutions-components/p-5f7c1e49.js +6 -0
- package/dist/solutions-components/p-6147cfb4.entry.js +6 -0
- package/dist/solutions-components/p-6319ca20.js +6 -0
- package/dist/solutions-components/p-64a34d92.js +11 -0
- package/dist/solutions-components/p-64bf4d2e.entry.js +11 -0
- package/dist/solutions-components/p-66afdfdd.entry.js +17 -0
- package/dist/solutions-components/p-66b01781.js +11 -0
- package/dist/solutions-components/p-67c34d05.entry.js +16 -0
- package/dist/solutions-components/p-691cb5f4.js +21 -0
- package/dist/solutions-components/p-6b0fa1eb.entry.js +17 -0
- package/dist/solutions-components/p-6c080ac7.entry.js +11 -0
- package/dist/solutions-components/p-707ee1d1.entry.js +11 -0
- package/dist/solutions-components/p-712873f0.js +6 -0
- package/dist/solutions-components/p-732bb88c.entry.js +6 -0
- package/dist/solutions-components/p-744d9575.js +11 -0
- package/dist/solutions-components/p-74fbad1c.js +489 -0
- package/dist/solutions-components/p-7586e1de.entry.js +6 -0
- package/dist/solutions-components/p-770a0e12.js +6 -0
- package/dist/solutions-components/p-793f1b14.entry.js +11 -0
- package/dist/solutions-components/p-798b9928.entry.js +11 -0
- package/dist/solutions-components/p-79f5a8be.js +11 -0
- package/dist/solutions-components/p-79f78acc.entry.js +11 -0
- package/dist/solutions-components/p-7ae41cd8.js +6 -0
- package/dist/solutions-components/p-7b2ef872.entry.js +11 -0
- package/dist/solutions-components/p-7c854814.js +11 -0
- package/dist/solutions-components/p-7fce703f.entry.js +12 -0
- package/dist/solutions-components/p-80f49acc.js +6 -0
- package/dist/solutions-components/p-8537518d.entry.js +11 -0
- package/dist/solutions-components/p-8614d1a0.entry.js +11 -0
- package/dist/solutions-components/p-87f928a5.entry.js +17 -0
- package/dist/solutions-components/p-8bb2c169.js +11 -0
- package/dist/solutions-components/p-8bce991a.js +11 -0
- package/dist/solutions-components/p-8bfa18b7.js +11 -0
- package/dist/solutions-components/p-8c6a301f.entry.js +47 -0
- package/dist/solutions-components/p-8da5aeea.entry.js +11 -0
- package/dist/solutions-components/p-8fb06a85.entry.js +11 -0
- package/dist/solutions-components/p-919e9de7.entry.js +11 -0
- package/dist/solutions-components/p-91b7a7dc.entry.js +11 -0
- package/dist/solutions-components/p-924ec704.js +6 -0
- package/dist/solutions-components/p-9277a339.entry.js +22 -0
- package/dist/solutions-components/p-92ba99ff.js +6 -0
- package/dist/solutions-components/p-936037e4.js +6 -0
- package/dist/solutions-components/p-9384cc65.entry.js +11 -0
- package/dist/solutions-components/p-94ae78d6.js +6 -0
- package/dist/solutions-components/p-9524e5e4.js +6 -0
- package/dist/solutions-components/p-9560a1fd.entry.js +6 -0
- package/dist/solutions-components/p-95c3b305.entry.js +12 -0
- package/dist/solutions-components/p-986ff43b.entry.js +17 -0
- package/dist/solutions-components/p-990d8b4b.js +6 -0
- package/dist/solutions-components/p-996daf05.entry.js +6 -0
- package/dist/solutions-components/p-9bb44f57.js +65 -0
- package/dist/solutions-components/p-9bc84681.js +6 -0
- package/dist/solutions-components/p-9c5f4347.js +6 -0
- package/dist/solutions-components/p-9db30b19.entry.js +6 -0
- package/dist/solutions-components/p-9fa7a7ad.entry.js +6 -0
- package/dist/solutions-components/p-9fed495d.entry.js +17 -0
- package/dist/solutions-components/p-a37d1b17.entry.js +6 -0
- package/dist/solutions-components/p-a471ceb6.js +11 -0
- package/dist/solutions-components/p-a4e35c2d.entry.js +6 -0
- package/dist/solutions-components/p-a5e64f6b.entry.js +6 -0
- package/dist/solutions-components/p-a79f4c52.entry.js +12 -0
- package/dist/solutions-components/p-a8b42e35.entry.js +6 -0
- package/dist/solutions-components/p-aa341d46.entry.js +11 -0
- package/dist/solutions-components/p-aa68a36e.entry.js +11 -0
- package/dist/solutions-components/p-aa85b136.entry.js +6 -0
- package/dist/solutions-components/p-aaa56cbf.js +11 -0
- package/dist/solutions-components/p-ac11cf8f.entry.js +11 -0
- package/dist/solutions-components/p-aef41a6d.entry.js +11 -0
- package/dist/solutions-components/p-b3e8da19.entry.js +11 -0
- package/dist/solutions-components/p-b5575639.js +11 -0
- package/dist/solutions-components/p-b5b66530.js +11 -0
- package/dist/solutions-components/p-b75c4db2.entry.js +6 -0
- package/dist/solutions-components/p-b76ed1c7.entry.js +11 -0
- package/dist/solutions-components/p-b8b78283.entry.js +29 -0
- package/dist/solutions-components/p-b8ce880d.js +6 -0
- package/dist/solutions-components/p-b8f33145.js +6 -0
- package/dist/solutions-components/p-b96233e3.entry.js +6 -0
- package/dist/solutions-components/p-bae65813.entry.js +6 -0
- package/dist/solutions-components/p-bb0f549a.js +6 -0
- package/dist/solutions-components/p-bc6cf10f.entry.js +11 -0
- package/dist/solutions-components/p-bde2619f.entry.js +6 -0
- package/dist/solutions-components/p-c0d25be5.entry.js +21 -0
- package/dist/solutions-components/p-c151da98.entry.js +11 -0
- package/dist/solutions-components/p-c163b67f.js +6 -0
- package/dist/solutions-components/p-c1fa5dae.entry.js +11 -0
- package/dist/solutions-components/p-c25e8c35.js +17 -0
- package/dist/solutions-components/p-c40b0ec5.js +16 -0
- package/dist/solutions-components/p-c4953b5e.entry.js +11 -0
- package/dist/solutions-components/p-c5facecd.entry.js +6 -0
- package/dist/solutions-components/p-c6255e3c.entry.js +6 -0
- package/dist/solutions-components/p-c7eaade6.entry.js +11 -0
- package/dist/solutions-components/p-ca6055a3.js +6 -0
- package/dist/solutions-components/p-cadbe907.entry.js +11 -0
- package/dist/solutions-components/p-cb07016a.entry.js +11 -0
- package/dist/solutions-components/p-cd6eee11.js +6 -0
- package/dist/solutions-components/p-cf9e6515.entry.js +11 -0
- package/dist/solutions-components/p-d0d020a5.js +37 -0
- package/dist/solutions-components/p-d1cc620f.entry.js +11 -0
- package/dist/solutions-components/p-d36878db.js +11 -0
- package/dist/solutions-components/p-d47abf9b.entry.js +16 -0
- package/dist/solutions-components/p-d75ef009.entry.js +11 -0
- package/dist/solutions-components/p-d784f756.entry.js +23 -0
- package/dist/solutions-components/p-d9e930c8.js +11 -0
- package/dist/solutions-components/p-da80cfbc.entry.js +11 -0
- package/dist/solutions-components/p-de3ee7a6.entry.js +17 -0
- package/dist/solutions-components/p-de8121a4.js +6 -0
- package/dist/solutions-components/p-dfeb6a2e.entry.js +11 -0
- package/dist/solutions-components/p-e0ee0556.entry.js +11 -0
- package/dist/solutions-components/p-e378184f.entry.js +6 -0
- package/dist/solutions-components/p-e3fe81ae.js +7 -0
- package/dist/solutions-components/p-e4ef6f49.js +6 -0
- package/dist/solutions-components/p-e74bc7b3.js +6 -0
- package/dist/solutions-components/p-e9d3365f.js +22 -0
- package/dist/solutions-components/p-eb2859d6.js +6 -0
- package/dist/solutions-components/p-ee9b7fab.js +6 -0
- package/dist/solutions-components/p-ef67c743.js +11 -0
- package/dist/solutions-components/p-f3166d51.entry.js +6 -0
- package/dist/solutions-components/p-f550ebc1.entry.js +6 -0
- package/dist/solutions-components/p-f6c3501c.js +16 -0
- package/dist/solutions-components/p-f6f2018a.js +11 -0
- package/dist/solutions-components/p-f7bc99fb.entry.js +17 -0
- package/dist/solutions-components/p-f88c3477.entry.js +6 -0
- package/dist/solutions-components/p-f8d23498.js +11 -0
- package/dist/solutions-components/p-fa56b7c2.js +11 -0
- package/dist/solutions-components/p-fa68f43a.entry.js +6 -0
- package/dist/solutions-components/p-fb3e0eae.js +6 -0
- package/dist/solutions-components/p-fcd33b4f.js +6 -0
- package/dist/solutions-components/p-fd79adec.entry.js +6 -0
- package/dist/solutions-components/p-fedbf657.entry.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/pdfUtils.ts +1 -1
- package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +1 -0
- package/dist/types/components/create-feature/create-feature.d.ts +20 -0
- package/dist/types/components/create-related-feature/create-related-feature.d.ts +16 -0
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +19 -3
- package/dist/types/components/feature-details/feature-details.d.ts +8 -0
- package/dist/types/components/feature-list/feature-list.d.ts +3 -1
- package/dist/types/components/layer-table/layer-table.d.ts +1 -1
- package/dist/types/components.d.ts +28 -1
- package/dist/types/preact.d.ts +3 -1
- package/package.json +8 -7
- package/dist/cjs/ExpandToggle-63855ea7.js +0 -115
- package/dist/cjs/FloatingArrow-4afc0a27.js +0 -48
- package/dist/cjs/Heading-f01dc40c.js +0 -25
- package/dist/cjs/Validation-c52e0b30.js +0 -20
- package/dist/cjs/app-globals-587d5fc5.js +0 -67
- package/dist/cjs/ar-406e323c.js +0 -106
- package/dist/cjs/array-7ee883b3.js +0 -17
- package/dist/cjs/bg-56abe1a2.js +0 -84
- package/dist/cjs/browser-e9eb8b2e.js +0 -35
- package/dist/cjs/bs-43ed4dcb.js +0 -53
- package/dist/cjs/ca-ad58f302.js +0 -73
- package/dist/cjs/calcite-input-time-picker-83bcd60f.js +0 -1861
- package/dist/cjs/common-4d4cf291.js +0 -37
- package/dist/cjs/component-ab59efe0.js +0 -33
- package/dist/cjs/conditionalSlot-e7b1e80b.js +0 -54
- package/dist/cjs/config-90915d7e.js +0 -40
- package/dist/cjs/cs-eef992e9.js +0 -149
- package/dist/cjs/da-4957191f.js +0 -69
- package/dist/cjs/date-09eabd7c.js +0 -264
- package/dist/cjs/de-64947d33.js +0 -93
- package/dist/cjs/de-at-976bd625.js +0 -92
- package/dist/cjs/de-ch-9c2f85be.js +0 -92
- package/dist/cjs/dom-5fd0c11a.js +0 -1215
- package/dist/cjs/downloadUtils-b1bc6031.js +0 -3163
- package/dist/cjs/el-17064e96.js +0 -68
- package/dist/cjs/en-au-bf34aa99.js +0 -68
- package/dist/cjs/en-ca-20b7aeab.js +0 -67
- package/dist/cjs/en-gb-72ebc333.js +0 -71
- package/dist/cjs/es-996df974.js +0 -68
- package/dist/cjs/es-mx-cf34d408.js +0 -67
- package/dist/cjs/et-fe1aba97.js +0 -94
- package/dist/cjs/fi-154d8730.js +0 -117
- package/dist/cjs/filter-1906ce7b.js +0 -778
- package/dist/cjs/floating-ui-b477f602.js +0 -2373
- package/dist/cjs/focusTrapComponent-01de8e72.js +0 -1018
- package/dist/cjs/form-fba99326.js +0 -381
- package/dist/cjs/fr-21a56733.js +0 -70
- package/dist/cjs/fr-ch-66f7a5c9.js +0 -68
- package/dist/cjs/guid-81a8c49f.js +0 -26
- package/dist/cjs/he-249d58b9.js +0 -107
- package/dist/cjs/hi-7015dbc4.js +0 -67
- package/dist/cjs/hr-e57553fd.js +0 -82
- package/dist/cjs/hu-e0a32fbd.js +0 -90
- package/dist/cjs/id-6eeb6f33.js +0 -68
- package/dist/cjs/index.es-5ad1b7be.js +0 -11317
- package/dist/cjs/input-cb7565cc.js +0 -60
- package/dist/cjs/interactive-d349d0f0.js +0 -167
- package/dist/cjs/it-21b9179c.js +0 -68
- package/dist/cjs/it-ch-ed862b1c.js +0 -68
- package/dist/cjs/ja-a5d93dac.js +0 -74
- package/dist/cjs/key-a0f7c4f3.js +0 -19
- package/dist/cjs/ko-1913cf25.js +0 -74
- package/dist/cjs/label-dc906a73.js +0 -186
- package/dist/cjs/loadable-d9a2a731.js +0 -98
- package/dist/cjs/locale-4d172288.js +0 -605
- package/dist/cjs/logger-dc99f85b.js +0 -61
- package/dist/cjs/lt-aeec2286.js +0 -99
- package/dist/cjs/lv-9055202a.js +0 -68
- package/dist/cjs/math-8d9588b6.js +0 -60
- package/dist/cjs/mk-98948b48.js +0 -68
- package/dist/cjs/nb-d88ea8dc.js +0 -69
- package/dist/cjs/nl-a8df29cd.js +0 -69
- package/dist/cjs/observers-b83abbfc.js +0 -58
- package/dist/cjs/openCloseComponent-a2a2a773.js +0 -65
- package/dist/cjs/pl-0c9cc2cf.js +0 -116
- package/dist/cjs/popupUtils-948e8990.js +0 -121
- package/dist/cjs/pt-5d70043e.js +0 -69
- package/dist/cjs/pt-br-fed6323a.js +0 -67
- package/dist/cjs/purify-17c0fc4a.js +0 -1716
- package/dist/cjs/resources-03698411.js +0 -39
- package/dist/cjs/resources-085b5a9c.js +0 -23
- package/dist/cjs/resources-08ceff44.js +0 -21
- package/dist/cjs/resources-32b7c652.js +0 -23
- package/dist/cjs/resources-3e7e7fb7.js +0 -26
- package/dist/cjs/resources-44438f5c.js +0 -68
- package/dist/cjs/resources-b4193681.js +0 -27
- package/dist/cjs/resources-bcc3f2b2.js +0 -68
- package/dist/cjs/resources-e3a7e2f5.js +0 -29
- package/dist/cjs/resources-e5bab826.js +0 -39
- package/dist/cjs/restHelpersGet-88ba0e25.js +0 -975
- package/dist/cjs/ro-021065c9.js +0 -68
- package/dist/cjs/ru-9ec3c8de.js +0 -128
- package/dist/cjs/shared-list-render-79567fc0.js +0 -361
- package/dist/cjs/sk-09cbe5ba.js +0 -150
- package/dist/cjs/sl-3a4381a4.js +0 -170
- package/dist/cjs/solution-resource-16c7510c.js +0 -1843
- package/dist/cjs/solution-store-1218246d.js +0 -1353
- package/dist/cjs/sortableComponent-abdb9e28.js +0 -2748
- package/dist/cjs/sr-c18bc63a.js +0 -103
- package/dist/cjs/sv-e721be29.js +0 -73
- package/dist/cjs/t9n-c8d7a2ec.js +0 -108
- package/dist/cjs/templates-2f44c01b.js +0 -407
- package/dist/cjs/th-baa740bc.js +0 -67
- package/dist/cjs/time-087f0346.js +0 -301
- package/dist/cjs/tr-c0b17a53.js +0 -68
- package/dist/cjs/uk-68a75a5a.js +0 -106
- package/dist/cjs/utils-8f400dfd.js +0 -78
- package/dist/cjs/utils-9a063f23.js +0 -2304
- package/dist/cjs/vi-bf3bf360.js +0 -72
- package/dist/cjs/zh-cn-f36908e8.js +0 -96
- package/dist/cjs/zh-hk-79863fdd.js +0 -94
- package/dist/cjs/zh-tw-eb1f3b17.js +0 -94
- package/dist/esm/ExpandToggle-f909e195.js +0 -108
- package/dist/esm/FloatingArrow-4dbed45e.js +0 -46
- package/dist/esm/Heading-19e46a14.js +0 -22
- package/dist/esm/Validation-0b8675a8.js +0 -18
- package/dist/esm/app-globals-0fc0d343.js +0 -65
- package/dist/esm/ar-2b7701c9.js +0 -104
- package/dist/esm/array-0d5d845c.js +0 -15
- package/dist/esm/bg-cfd918d6.js +0 -82
- package/dist/esm/browser-d0009bfe.js +0 -32
- package/dist/esm/bs-6e26541f.js +0 -51
- package/dist/esm/ca-3edf7b06.js +0 -71
- package/dist/esm/calcite-input-time-picker-c5ee10a4.js +0 -1858
- package/dist/esm/common-3b99e350.js +0 -35
- package/dist/esm/component-0f26d27a.js +0 -30
- package/dist/esm/conditionalSlot-56fa9723.js +0 -51
- package/dist/esm/config-e0237f7c.js +0 -36
- package/dist/esm/cs-93a3355b.js +0 -147
- package/dist/esm/da-f4d05bf2.js +0 -67
- package/dist/esm/date-dd3d9d2f.js +0 -248
- package/dist/esm/de-04f477b6.js +0 -91
- package/dist/esm/de-at-1b4e56b9.js +0 -90
- package/dist/esm/de-ch-59c96703.js +0 -90
- package/dist/esm/dom-9e8610a2.js +0 -1180
- package/dist/esm/downloadUtils-ee2d6a99.js +0 -3156
- package/dist/esm/el-134dd039.js +0 -66
- package/dist/esm/en-au-ec33ef70.js +0 -66
- package/dist/esm/en-ca-ab1fbea4.js +0 -65
- package/dist/esm/en-gb-ceb65f79.js +0 -69
- package/dist/esm/es-e023cfc8.js +0 -66
- package/dist/esm/es-mx-e0a5ee8c.js +0 -65
- package/dist/esm/et-572b1e56.js +0 -92
- package/dist/esm/fi-f13fae4c.js +0 -115
- package/dist/esm/filter-3c649b00.js +0 -775
- package/dist/esm/floating-ui-9d9558a6.js +0 -2365
- package/dist/esm/focusTrapComponent-a9be9a5f.js +0 -1013
- package/dist/esm/form-a992bc7e.js +0 -372
- package/dist/esm/fr-ch-a1f8ebbf.js +0 -66
- package/dist/esm/fr-e9b456c3.js +0 -68
- package/dist/esm/guid-52aae62c.js +0 -24
- package/dist/esm/he-dfaa7ea1.js +0 -105
- package/dist/esm/hi-efa0d8e7.js +0 -65
- package/dist/esm/hr-7c04c969.js +0 -80
- package/dist/esm/hu-fc6efaba.js +0 -88
- package/dist/esm/id-2d884294.js +0 -66
- package/dist/esm/index.es-6d52a4cf.js +0 -11230
- package/dist/esm/input-b18c3393.js +0 -58
- package/dist/esm/interactive-353bf495.js +0 -162
- package/dist/esm/it-913dabbb.js +0 -66
- package/dist/esm/it-ch-d4c2b23e.js +0 -66
- package/dist/esm/ja-b6c332b1.js +0 -72
- package/dist/esm/key-a9ffa61d.js +0 -16
- package/dist/esm/ko-b220c903.js +0 -72
- package/dist/esm/label-026b99b7.js +0 -179
- package/dist/esm/loadable-4841127f.js +0 -93
- package/dist/esm/locale-8a2aae09.js +0 -591
- package/dist/esm/logger-29d1dc0e.js +0 -59
- package/dist/esm/lt-e97a19a7.js +0 -97
- package/dist/esm/lv-c4e1d066.js +0 -66
- package/dist/esm/math-dd484f87.js +0 -54
- package/dist/esm/mk-fec9b21d.js +0 -66
- package/dist/esm/nb-28189f31.js +0 -67
- package/dist/esm/nl-194a064e.js +0 -67
- package/dist/esm/observers-3af27a40.js +0 -56
- package/dist/esm/openCloseComponent-00e6186d.js +0 -63
- package/dist/esm/pl-c0a7eacf.js +0 -114
- package/dist/esm/popupUtils-75294be5.js +0 -119
- package/dist/esm/pt-48180eaa.js +0 -67
- package/dist/esm/pt-br-e378640f.js +0 -65
- package/dist/esm/purify-72515357.js +0 -1714
- package/dist/esm/resources-0b9430f0.js +0 -21
- package/dist/esm/resources-2117aee0.js +0 -63
- package/dist/esm/resources-29504413.js +0 -34
- package/dist/esm/resources-37d6b520.js +0 -35
- package/dist/esm/resources-75518fcf.js +0 -23
- package/dist/esm/resources-8e7f2865.js +0 -22
- package/dist/esm/resources-8fe9ef4a.js +0 -20
- package/dist/esm/resources-966e32ad.js +0 -62
- package/dist/esm/resources-a1cc283e.js +0 -24
- package/dist/esm/resources-f4406546.js +0 -19
- package/dist/esm/restHelpersGet-788d7f7b.js +0 -960
- package/dist/esm/ro-a116f43c.js +0 -66
- package/dist/esm/ru-53b48473.js +0 -126
- package/dist/esm/shared-list-render-7df95a79.js +0 -339
- package/dist/esm/sk-6e16e781.js +0 -148
- package/dist/esm/sl-0b5a108a.js +0 -168
- package/dist/esm/solution-resource-966f8511.js +0 -1840
- package/dist/esm/solution-store-61fd39ea.js +0 -1351
- package/dist/esm/sortableComponent-fc3d2fcf.js +0 -2745
- package/dist/esm/sr-c91ad375.js +0 -101
- package/dist/esm/sv-99a8436f.js +0 -71
- package/dist/esm/t9n-d5539b3a.js +0 -103
- package/dist/esm/templates-9330d7b8.js +0 -401
- package/dist/esm/th-f448c101.js +0 -65
- package/dist/esm/time-8f4af53a.js +0 -286
- package/dist/esm/tr-1c4d126e.js +0 -66
- package/dist/esm/uk-afcd7307.js +0 -104
- package/dist/esm/utils-057404c5.js +0 -2274
- package/dist/esm/utils-6391b35c.js +0 -65
- package/dist/esm/vi-13e0626d.js +0 -70
- package/dist/esm/zh-cn-80512388.js +0 -94
- package/dist/esm/zh-hk-220c6f50.js +0 -92
- package/dist/esm/zh-tw-f9a73c0d.js +0 -92
- package/dist/solutions-components/p-0129abe8.entry.js +0 -11
- package/dist/solutions-components/p-0238f68c.js +0 -6
- package/dist/solutions-components/p-034291c9.entry.js +0 -11
- package/dist/solutions-components/p-042c0134.entry.js +0 -11
- package/dist/solutions-components/p-052d1165.js +0 -11
- package/dist/solutions-components/p-0558fbc7.js +0 -143
- package/dist/solutions-components/p-06c581b3.js +0 -6
- package/dist/solutions-components/p-071a80fb.js +0 -11
- package/dist/solutions-components/p-0ac3d6fb.js +0 -6
- package/dist/solutions-components/p-0afbf455.js +0 -11
- package/dist/solutions-components/p-0b0d30a9.entry.js +0 -11
- package/dist/solutions-components/p-0c8cf779.js +0 -6
- package/dist/solutions-components/p-0cdda3a9.js +0 -6
- package/dist/solutions-components/p-10a4512a.entry.js +0 -6
- package/dist/solutions-components/p-11149179.js +0 -6
- package/dist/solutions-components/p-111ff298.entry.js +0 -29
- package/dist/solutions-components/p-131ca2b1.js +0 -11
- package/dist/solutions-components/p-13ac2814.js +0 -6
- package/dist/solutions-components/p-14ac7f32.js +0 -17
- package/dist/solutions-components/p-15105f4c.js +0 -6
- package/dist/solutions-components/p-15cbdc2c.entry.js +0 -6
- package/dist/solutions-components/p-16af273f.entry.js +0 -6
- package/dist/solutions-components/p-17f35552.entry.js +0 -6
- package/dist/solutions-components/p-1803e66b.entry.js +0 -21
- package/dist/solutions-components/p-18103eee.entry.js +0 -11
- package/dist/solutions-components/p-190de825.js +0 -6
- package/dist/solutions-components/p-19879c48.entry.js +0 -6
- package/dist/solutions-components/p-1b147794.js +0 -11
- package/dist/solutions-components/p-1c45b737.entry.js +0 -6
- package/dist/solutions-components/p-1fcd444d.entry.js +0 -6
- package/dist/solutions-components/p-23c70a46.entry.js +0 -17
- package/dist/solutions-components/p-2483d087.entry.js +0 -11
- package/dist/solutions-components/p-26ccfcc6.entry.js +0 -6
- package/dist/solutions-components/p-27bc7520.js +0 -6
- package/dist/solutions-components/p-27eca753.js +0 -6
- package/dist/solutions-components/p-2866ef30.js +0 -11
- package/dist/solutions-components/p-288599db.entry.js +0 -16
- package/dist/solutions-components/p-28b4de12.js +0 -6
- package/dist/solutions-components/p-29a24832.entry.js +0 -6
- package/dist/solutions-components/p-2c7a600b.js +0 -6
- package/dist/solutions-components/p-2cff27c5.js +0 -22
- package/dist/solutions-components/p-2df01fbd.js +0 -6
- package/dist/solutions-components/p-30448906.entry.js +0 -6
- package/dist/solutions-components/p-32539121.js +0 -16
- package/dist/solutions-components/p-32b1bb0a.entry.js +0 -11
- package/dist/solutions-components/p-33601437.js +0 -6
- package/dist/solutions-components/p-351b4ea6.js +0 -61
- package/dist/solutions-components/p-363c89e1.js +0 -6
- package/dist/solutions-components/p-3795ce25.js +0 -18
- package/dist/solutions-components/p-3832f6b0.js +0 -11
- package/dist/solutions-components/p-38346d75.js +0 -6
- package/dist/solutions-components/p-39bc5b60.js +0 -6
- package/dist/solutions-components/p-3a4f0ef6.js +0 -6
- package/dist/solutions-components/p-3a839252.entry.js +0 -6
- package/dist/solutions-components/p-3ab1d999.js +0 -6
- package/dist/solutions-components/p-3ae3fb2d.entry.js +0 -6
- package/dist/solutions-components/p-3edf491f.js +0 -11
- package/dist/solutions-components/p-3f23fa58.js +0 -6
- package/dist/solutions-components/p-4115fcd2.entry.js +0 -6
- package/dist/solutions-components/p-416c0818.js +0 -11
- package/dist/solutions-components/p-42903dc4.entry.js +0 -11
- package/dist/solutions-components/p-432d7aac.entry.js +0 -11
- package/dist/solutions-components/p-443bb48a.js +0 -6
- package/dist/solutions-components/p-44b455ac.js +0 -21
- package/dist/solutions-components/p-461d72a9.entry.js +0 -11
- package/dist/solutions-components/p-4a5f4c12.js +0 -6
- package/dist/solutions-components/p-4a8da1a3.entry.js +0 -6
- package/dist/solutions-components/p-4dd4e1f5.js +0 -11
- package/dist/solutions-components/p-4e44d681.entry.js +0 -6
- package/dist/solutions-components/p-4ebde78c.entry.js +0 -6
- package/dist/solutions-components/p-517bc39b.entry.js +0 -6
- package/dist/solutions-components/p-51b004f6.js +0 -11
- package/dist/solutions-components/p-51eb6427.entry.js +0 -11
- package/dist/solutions-components/p-51f2cd4b.entry.js +0 -6
- package/dist/solutions-components/p-53e0faf4.js +0 -12
- package/dist/solutions-components/p-54713c54.js +0 -11
- package/dist/solutions-components/p-5501cb25.entry.js +0 -17
- package/dist/solutions-components/p-57729067.entry.js +0 -11
- package/dist/solutions-components/p-58d0a9e8.js +0 -11
- package/dist/solutions-components/p-5ae7ca10.js +0 -6
- package/dist/solutions-components/p-5cd51ba9.js +0 -6
- package/dist/solutions-components/p-5e901f4d.js +0 -6
- package/dist/solutions-components/p-5ea0c09b.js +0 -6
- package/dist/solutions-components/p-5fcdc5af.entry.js +0 -12
- package/dist/solutions-components/p-632a3328.js +0 -6
- package/dist/solutions-components/p-64e8c883.js +0 -11
- package/dist/solutions-components/p-659678f1.js +0 -43
- package/dist/solutions-components/p-667f4b68.js +0 -6
- package/dist/solutions-components/p-6b2ea220.entry.js +0 -11
- package/dist/solutions-components/p-6c44ba5f.js +0 -16
- package/dist/solutions-components/p-6d369f32.entry.js +0 -22
- package/dist/solutions-components/p-6d4f59df.js +0 -6
- package/dist/solutions-components/p-6def4549.js +0 -11
- package/dist/solutions-components/p-6df7b770.js +0 -11
- package/dist/solutions-components/p-6eaba85e.js +0 -11
- package/dist/solutions-components/p-6eba7557.entry.js +0 -11
- package/dist/solutions-components/p-6ef00d3c.js +0 -6
- package/dist/solutions-components/p-6f98db75.entry.js +0 -11
- package/dist/solutions-components/p-7090b8bc.entry.js +0 -11
- package/dist/solutions-components/p-72b4bf7a.entry.js +0 -23
- package/dist/solutions-components/p-74bd8ced.entry.js +0 -11
- package/dist/solutions-components/p-76c08334.js +0 -16
- package/dist/solutions-components/p-792a8e91.entry.js +0 -17
- package/dist/solutions-components/p-7b0448b1.js +0 -6
- package/dist/solutions-components/p-7c19f274.js +0 -6
- package/dist/solutions-components/p-7c583516.js +0 -50
- package/dist/solutions-components/p-7fa53f88.entry.js +0 -6
- package/dist/solutions-components/p-81012aaa.entry.js +0 -6
- package/dist/solutions-components/p-8145011e.entry.js +0 -11
- package/dist/solutions-components/p-8343f841.entry.js +0 -17
- package/dist/solutions-components/p-85002390.js +0 -11
- package/dist/solutions-components/p-860452b5.entry.js +0 -11
- package/dist/solutions-components/p-8704c6df.entry.js +0 -11
- package/dist/solutions-components/p-871b9b39.entry.js +0 -6
- package/dist/solutions-components/p-873a5fd1.entry.js +0 -29
- package/dist/solutions-components/p-8817162f.js +0 -17
- package/dist/solutions-components/p-88934d2b.js +0 -11
- package/dist/solutions-components/p-88e391ab.entry.js +0 -6
- package/dist/solutions-components/p-89bd8016.entry.js +0 -22
- package/dist/solutions-components/p-8ad16e95.js +0 -16
- package/dist/solutions-components/p-8b54465a.js +0 -11
- package/dist/solutions-components/p-8e85d818.js +0 -6
- package/dist/solutions-components/p-8feb21be.entry.js +0 -17
- package/dist/solutions-components/p-9099acb6.js +0 -6
- package/dist/solutions-components/p-93c9be09.entry.js +0 -17
- package/dist/solutions-components/p-941ec574.entry.js +0 -6
- package/dist/solutions-components/p-949a8cb7.entry.js +0 -11
- package/dist/solutions-components/p-952a4ed2.js +0 -6
- package/dist/solutions-components/p-960baebc.entry.js +0 -6
- package/dist/solutions-components/p-96a7e73d.js +0 -11
- package/dist/solutions-components/p-9905a2cd.js +0 -6
- package/dist/solutions-components/p-9a4f0ae3.entry.js +0 -11
- package/dist/solutions-components/p-9ab5fbed.entry.js +0 -17
- package/dist/solutions-components/p-9bfb0a88.entry.js +0 -17
- package/dist/solutions-components/p-9edd6de9.entry.js +0 -16
- package/dist/solutions-components/p-9f943f1a.js +0 -6
- package/dist/solutions-components/p-a2613102.entry.js +0 -11
- package/dist/solutions-components/p-a2c467d7.js +0 -6
- package/dist/solutions-components/p-a6aba7d4.entry.js +0 -6
- package/dist/solutions-components/p-a704be29.js +0 -6
- package/dist/solutions-components/p-a7ca67b9.js +0 -11
- package/dist/solutions-components/p-a8638d44.entry.js +0 -11
- package/dist/solutions-components/p-abafd987.entry.js +0 -47
- package/dist/solutions-components/p-abd443e4.entry.js +0 -11
- package/dist/solutions-components/p-abd99f2b.entry.js +0 -11
- package/dist/solutions-components/p-ac40d2a6.entry.js +0 -11
- package/dist/solutions-components/p-ade4a0c0.entry.js +0 -6
- package/dist/solutions-components/p-ae53daf0.js +0 -11
- package/dist/solutions-components/p-b134cc53.entry.js +0 -11
- package/dist/solutions-components/p-b1a053c7.entry.js +0 -6
- package/dist/solutions-components/p-b1b88bb9.entry.js +0 -11
- package/dist/solutions-components/p-b24985b0.entry.js +0 -11
- package/dist/solutions-components/p-b4f15b86.entry.js +0 -11
- package/dist/solutions-components/p-b51111e1.js +0 -11
- package/dist/solutions-components/p-b6ac459a.entry.js +0 -11
- package/dist/solutions-components/p-b715fe7e.entry.js +0 -11
- package/dist/solutions-components/p-bd989e41.js +0 -11
- package/dist/solutions-components/p-c58a3ade.entry.js +0 -11
- package/dist/solutions-components/p-c6296ee6.js +0 -11
- package/dist/solutions-components/p-c62bd2a0.entry.js +0 -17
- package/dist/solutions-components/p-c6fe3b6c.js +0 -6
- package/dist/solutions-components/p-c897ea6a.entry.js +0 -11
- package/dist/solutions-components/p-c9193d36.entry.js +0 -6
- package/dist/solutions-components/p-caa665a4.js +0 -11
- package/dist/solutions-components/p-cb860e39.js +0 -11
- package/dist/solutions-components/p-cc5e8fec.entry.js +0 -11
- package/dist/solutions-components/p-ccc3f0c4.entry.js +0 -6
- package/dist/solutions-components/p-cde4f891.entry.js +0 -11
- package/dist/solutions-components/p-cefb0487.js +0 -489
- package/dist/solutions-components/p-d29843c1.js +0 -6
- package/dist/solutions-components/p-d34db378.entry.js +0 -21
- package/dist/solutions-components/p-d3b61974.entry.js +0 -11
- package/dist/solutions-components/p-d7f00451.entry.js +0 -11
- package/dist/solutions-components/p-d81f19b5.js +0 -6
- package/dist/solutions-components/p-d9110df1.entry.js +0 -11
- package/dist/solutions-components/p-e060bbf4.entry.js +0 -6
- package/dist/solutions-components/p-e191b864.entry.js +0 -11
- package/dist/solutions-components/p-e2263afa.entry.js +0 -11
- package/dist/solutions-components/p-e2d9c1e4.entry.js +0 -12
- package/dist/solutions-components/p-e46f6b68.js +0 -11
- package/dist/solutions-components/p-e683e142.js +0 -6
- package/dist/solutions-components/p-e6ac93e5.entry.js +0 -11
- package/dist/solutions-components/p-e7ce7ab5.entry.js +0 -11
- package/dist/solutions-components/p-e85ca9f5.entry.js +0 -11
- package/dist/solutions-components/p-e9488a2a.js +0 -6
- package/dist/solutions-components/p-eacb5b05.js +0 -11
- package/dist/solutions-components/p-ed000576.js +0 -6
- package/dist/solutions-components/p-eec49294.entry.js +0 -11
- package/dist/solutions-components/p-f067a46c.js +0 -21
- package/dist/solutions-components/p-f123e913.entry.js +0 -6
- package/dist/solutions-components/p-f2139e1f.js +0 -11
- package/dist/solutions-components/p-f2e30760.entry.js +0 -11
- package/dist/solutions-components/p-f3cd6339.entry.js +0 -11
- package/dist/solutions-components/p-f42cdeb6.entry.js +0 -6
- package/dist/solutions-components/p-f44c8764.js +0 -6
- package/dist/solutions-components/p-f6a94b55.js +0 -11
- package/dist/solutions-components/p-f6c2f78c.js +0 -6
- package/dist/solutions-components/p-f97b2291.js +0 -6
- package/dist/solutions-components/p-fbd8a250.entry.js +0 -12
- package/dist/solutions-components/p-fc62c04b.entry.js +0 -6
- package/dist/solutions-components/p-fc68aaf4.js +0 -6
- package/dist/solutions-components/p-fc8d6dcf.js +0 -11
- package/dist/solutions-components/p-fc9301a3.entry.js +0 -6
- package/dist/solutions-components/p-fde2ea30.entry.js +0 -6
- package/dist/solutions-components/p-fe82bd8a.js +0 -11
- package/dist/solutions-components/p-ff87b9de.js +0 -7
- package/dist/solutions-components/p-ffbe2075.js +0 -11
- /package/dist/cjs/{index-5f864f65.js → index-f052f656.js} +0 -0
- /package/dist/esm/{index-dc62418d.js → index-e14fade9.js} +0 -0
- /package/dist/solutions-components/{p-36c1c370.js → p-7530a02f.js} +0 -0
@@ -0,0 +1,11 @@
|
|
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
|
+
/*!
|
7
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
9
|
+
* v2.12.2
|
10
|
+
*/
|
11
|
+
const n={container:"container",containerNone:"container--none-selection",icon:"dropdown-item-icon",iconEnd:"dropdown-item-icon--end",iconStart:"dropdown-item-icon--start",itemContent:"dropdown-item-content",link:"dropdown-link"};export{n as C}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{l as e}from"./p-0ef9d36b.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.2
|
11
|
+
*/const n=new Set,r={trace:0,debug:1,info:2,warn:4,error:8,off:10};function o(n,...o){(function(n){return r[n]>=r[e]})(n)&&console[n].call(this,"%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...o)}let t;const a={debug:e=>o("debug",e),info:e=>o("info",e),warn:e=>o("warn",e),error:e=>o("error",e),trace:e=>o("trace",e),deprecated:function(e,{component:r,name:a,suggested:c,removalVersion:i}){const s=`${e}:${"component"===e?"":r}${a}`;if(n.has(s))return;n.add(s);const d=Array.isArray(c);d&&!t&&(t=new Intl.ListFormat("en",{style:"long",type:"disjunction"})),o("warn",`[${a}] ${e} is deprecated and will be removed in ${"future"===i?"a future version":`v${i}`}.${c?` Use ${d?t.format(c.map((e=>`"${e}"`))):`"${c}"`} instead.`:""}`)}};export{a as l}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as e,g as s,h as c,H as r}from"./p-6eb37ed2.js";const t=class{constructor(s){e(this,s)}get el(){return s(this)}render(){return c(r,{key:"556490bcef9d17e1677da73100cbb13bb564d32c"},c("slot",{key:"04a54cdc534d8bc12b3321ae6a5ed89131cc5c71"}))}};t.style=":host{display:block}";export{t as refine_results_flow_item}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as e,c as o,h as t,H as i,g as s}from"./p-6eb37ed2.js";import{e as a,t as r}from"./p-c25e8c35.js";import{c,d as n,H as l}from"./p-66b01781.js";import{c as d,d as h,u as b,I as p}from"./p-1ce2608d.js";import{i as m}from"./p-64a34d92.js";import{c as k,d as u,g as v}from"./p-7c854814.js";import{c as f,s as y,a as x}from"./p-3e828614.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-4b9b7778.js";import"./p-27d462c0.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.2
|
11
|
+
*/const z=class{constructor(t){e(this,t),this.calciteSwitchChange=o(this,"calciteSwitchChange",6),this.keyDownHandler=e=>{!this.disabled&&m(e.key)&&(this.toggle(),e.preventDefault())},this.clickHandler=()=>{this.disabled||this.toggle()},this.setSwitchEl=e=>{this.switchEl=e},this.disabled=!1,this.form=void 0,this.label=void 0,this.name=void 0,this.scale="m",this.checked=!1,this.value=void 0}async setFocus(){await f(this),a(this.switchEl)}syncHiddenFormInput(e){e.type="checkbox"}onLabelClick(){this.disabled||(this.toggle(),this.setFocus())}toggle(){this.checked=!this.checked,this.calciteSwitchChange.emit()}connectedCallback(){d(this),k(this),c(this)}componentWillLoad(){y(this)}componentDidLoad(){x(this)}disconnectedCallback(){h(this),u(this),n(this)}componentDidRender(){b(this)}render(){return t(i,{key:"2e5e3a9e0dcc88431502cd2bbea8323a1898ef9a",onClick:this.clickHandler,onKeyDown:this.keyDownHandler},t(p,{key:"73c50c102fe522422e08835b653dc8651eca6bae",disabled:this.disabled},t("div",{key:"f0020b33ecee02265dcd4d712f729638ccabb14e","aria-checked":r(this.checked),"aria-label":v(this),class:"container",ref:this.setSwitchEl,role:"switch",tabIndex:0},t("div",{key:"03b2f583e888ea429025b74ca43b22a4dd957ee5",class:"track"},t("div",{key:"3045c61b33731f692ecf201cb6ffea2a164f6297",class:"handle"})),t(l,{key:"f1a1c1bda4e85b357936c962175e0942dc0b0001",component:this}))))}get el(){return s(this)}};z.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]) .container{block-size:0.75rem}:host([scale=s]) .track{block-size:0.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:0.5rem;inline-size:0.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:0.75rem;inline-size:0.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{outline-width:0px}.track{pointer-events:none;position:relative;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-2);background-color:var(--calcite-color-foreground-2);vertical-align:top;outline-color:transparent}:host(:focus) .track{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 )}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-block-start:-1px;inset-inline:-1px auto}.container:hover .handle,:host(:focus) .handle{border-color:var(--calcite-color-brand);box-shadow:inset 0 0 0 1px var(--calcite-color-brand)}:host([checked]) .track{border-color:var(--calcite-color-brand-hover);background-color:var(--calcite-color-brand)}:host([checked]) .handle{border-color:var(--calcite-color-brand);inset-inline:auto -1px}:host([checked]) .container:hover .handle{border-color:var(--calcite-color-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{z as calcite_switch}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,h as e,H as s,g as a,a as n}from"./p-6eb37ed2.js";import{c as o,d as l}from"./p-f8d23498.js";import{s as r,f as c,g as h,t as d}from"./p-c25e8c35.js";import{c as p,d as u,u as v,I as m}from"./p-1ce2608d.js";import{c as f,d as g,g as b,n as x,a as y,f as w,b as _}from"./p-304cef31.js";import{u as k,c as $,d as C,s as D}from"./p-1017609e.js";import{H as z}from"./p-1b229454.js";import{c as E,s as I,a as L}from"./p-3e828614.js";import{o as F}from"./p-79f5a8be.js";import{d as P,g as S,a as R,b as A,s as j,c as O,e as M,f as T,i as B}from"./p-d36878db.js";import{i as N}from"./p-4b9b7778.js";import{f as H,c as W,d as U,r as V,a as q,F as K}from"./p-8bb2c169.js";import{s as Z,c as G,d as Q,H as Y}from"./p-66b01781.js";import{n as J}from"./p-64a34d92.js";import{c as X,d as tt}from"./p-7c854814.js";import{c as it,d as et,a as st}from"./p-c40b0ec5.js";import{g as at}from"./p-aaa56cbf.js";import{g as nt}from"./p-27d462c0.js";import{V as ot}from"./p-ef67c743.js";import{s as lt}from"./p-14f027b5.js";import{l as rt}from"./p-4cd4cb85.js";import{g as ct}from"./p-3d0e9be4.js";import{g as ht}from"./p-a9a72626.js";import"./p-1c249530.js";import"./p-8bfa18b7.js";import"./p-c8d3207e.js";import"./p-0ef9d36b.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.2
|
11
|
+
*/const dt="content",pt="toggle",ut="header",vt="container",mt="header",ft="header--has-text",gt="icon",bt="icon-end-container",xt="invalid",yt="status-icon",wt="valid",_t="control",kt="header-menu-actions",$t="icon",Ct={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},Dt=class{constructor(e){t(this,e),this.calciteBlockBeforeClose=i(this,"calciteBlockBeforeClose",6),this.calciteBlockBeforeOpen=i(this,"calciteBlockBeforeOpen",6),this.calciteBlockClose=i(this,"calciteBlockClose",6),this.calciteBlockOpen=i(this,"calciteBlockOpen",6),this.calciteBlockToggle=i(this,"calciteBlockToggle",6),this.openTransitionProp="margin-top",this.onHeaderClick=()=>{this.open=!this.open,this.calciteBlockToggle.emit()},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=r(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=r(t)},this.collapsible=!1,this.disabled=!1,this.dragHandle=!1,this.heading=void 0,this.headingLevel=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.loading=!1,this.open=!1,this.status=void 0,this.description=void 0,this.messages=void 0,this.messageOverrides=void 0,this.overlayPositioning="absolute",this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasContentStart=!1,this.hasEndActions=!1}openHandler(){F(this)}onMessagesChange(){}async setFocus(){await E(this),c(this.el)}onBeforeOpen(){this.calciteBlockBeforeOpen.emit()}onOpen(){this.calciteBlockOpen.emit()}onBeforeClose(){this.calciteBlockBeforeClose.emit()}onClose(){this.calciteBlockClose.emit()}effectiveLocaleChange(){k(this,this.effectiveLocale)}connectedCallback(){o(this),p(this),f(this),$(this),this.transitionEl=this.el}disconnectedCallback(){u(this),g(this),C(this),l(this)}async componentWillLoad(){await D(this),I(this),this.open&&F(this)}componentDidLoad(){L(this)}componentDidRender(){v(this)}renderScrim(){const{loading:t}=this,i=e("slot",null);return[t?e("calcite-scrim",{loading:t}):null,i]}renderLoaderStatusIcon(){const{loading:t,messages:i,status:s}=this,a=!!h(this.el,$t);return t?e("div",{class:gt,key:"loader"},e("calcite-loader",{inline:!0,label:i.loading})):s?e("div",{class:gt,key:"status-icon"},e("calcite-icon",{class:{[yt]:!0,[wt]:"valid"==s,[xt]:"invalid"==s},icon:Ct[s],scale:"s"})):a?e("div",{class:gt,key:"icon-slot"},e("slot",{key:"icon-slot",name:$t})):null}renderActionsEnd(){return e("div",{class:"actions-end"},e("slot",{name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}))}renderContentStart(){const{hasContentStart:t}=this;return e("div",{class:"content-start",hidden:!t},e("slot",{name:"content-start",onSlotchange:this.handleContentStartSlotChange}))}renderTitle(){const{heading:t,headingLevel:i,description:s}=this;return t||s?e("div",{class:"title"},e(z,{class:"heading",level:i},t),s?e("div",{class:"description"},s):null):null}renderIcon(t){const{iconFlipRtl:i}=this,s="start"===t?this.iconStart:this.iconEnd;if(s)return e("calcite-icon",{class:"start"===t?"icon--start":"icon--end",flipRtl:"both"===i||"start"===t?"start"===i:"end"===i,icon:s,key:s,scale:"s"})}render(){const{collapsible:t,el:i,loading:a,open:n,heading:o,messages:l,description:r}=this,c=n?l.collapse:l.expand,p=e("header",{key:"91deb640f5a591cd70dbb6328cdc588a40b600d5",class:{[mt]:!0,[ft]:!(!o&&!r)},id:ut},this.renderIcon("start"),this.renderContentStart(),this.renderLoaderStatusIcon(),this.renderTitle()),u=!!h(i,_t),v=!!h(i,kt),f=n?Ct.opened:Ct.closed,g=e("div",{key:"ebba82b4e065978eaa9ed1e59f05ad80843cc9ab",class:"header-container"},this.dragHandle?e("calcite-handle",{label:o}):null,t?e("button",{"aria-controls":dt,"aria-describedby":ut,"aria-expanded":t?d(n):null,class:"toggle",id:pt,onClick:this.onHeaderClick,title:c},p,e("div",{class:bt},this.renderIcon("end"),e("calcite-icon",{class:"toggle-icon",icon:f,scale:"s"}))):this.iconEnd?e("div",null,p,e("div",{class:bt},this.renderIcon("end"))):p,u?e("div",{"aria-labelledby":ut,class:"control-container"},e("slot",{name:_t})):null,v?e("calcite-action-menu",{label:l.options,overlayPositioning:this.overlayPositioning},e("slot",{name:kt})):null,this.renderActionsEnd());return e(s,{key:"b5c12059b36785bf45ce61e7309a35278b928088"},e(m,{key:"90a5013ca2e30dadbd76c146700a53391f3aea62",disabled:this.disabled},e("article",{key:"825f15336afb992c7ea8c718b5ffad7c4bf2507e","aria-busy":d(a),class:{[vt]:!0}},g,e("section",{key:"4f690563d78615b68a225456aaae593af6adb826","aria-labelledby":pt,class:"content",hidden:!n,id:dt},this.renderScrim()))))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};Dt.style=':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;transition-duration:var(--calcite-animation-timing)}: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}.header--has-text{padding:var(--calcite-spacing-md)}.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 actions-end";grid-column:header-start/actions-end;grid-row:1/2}.content-start,.icon,.icon--start,.icon--end{margin-inline-end:var(--calcite-spacing-md)}.icon calcite-loader{margin-inline-end:var(--calcite-spacing-xxxs)}.icon--start,.icon--end{color:var(--calcite-color-text-3)}.actions-end{grid-area:actions-end}.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}.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}.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)}}.icon-end-container{display:flex;align-items:center;margin-inline-start:auto}.toggle-icon{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:var(--calcite-spacing-md)}.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, var(--calcite-spacing-sm));padding-inline:var(--calcite-block-padding, var(--calcite-spacing-md))}.content-start{display:flex;align-items:center;color:var(--calcite-color-text-3)}.control-container{margin:0px;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}.actions-end{display:flex;align-items:stretch}:host([open]){margin-block:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-color-text-1)}:host([hidden]){display:none}[hidden]{display:none}';
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
15
|
+
* v2.12.2
|
16
|
+
*/
|
17
|
+
const zt={dateStyle:"full"},Et={},It={};async function Lt(t){const i=b(t);if(Et[i])return Et[i];It[i]||(It[i]=fetch(n(`./assets/date-picker/nls/${i}.json`)).then((t=>t.json())).catch((()=>(console.error(`Translations for "${i}" not found or invalid, falling back to english`),Lt("en")))));const e=await It[i];return Et[i]=e,e}function Ft(t){return t.map(((t,i)=>P(t,1===i)))}const Pt=class{constructor(e){t(this,e),this.calciteDatePickerChange=i(this,"calciteDatePickerChange",6),this.calciteDatePickerRangeChange=i(this,"calciteDatePickerRangeChange",6),this.keyDownHandler=t=>{"Escape"===t.key&&this.resetActiveDates()},this.monthHeaderSelectChange=t=>{const i=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=i:this.activeStartDate=i,this.mostRecentRangeValue=i):this.activeDate=i},this.monthActiveDateChange=t=>{const i=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=i:this.activeStartDate=i,this.mostRecentRangeValue=i):this.activeDate=i},this.monthHoverChange=t=>{if(!this.range)return void(this.hoverRange=void 0);const{valueAsDate:i}=this,e=Array.isArray(i)&&i[0],s=Array.isArray(i)&&i[1],a=new Date(t.detail);if(this.hoverRange={focused:this.activeRange||"start",start:e,end:s},this.proximitySelectionDisabled)s&&e||!s&&a>=e?(this.hoverRange.focused="end",this.hoverRange.end=a):this.hoverRange=!s&&a<e?{focused:"start",start:a,end:e}:void 0;else if(e&&s){const t=S(a,e),i=S(a,s);i>0?(this.hoverRange.end=a,this.hoverRange.focused="end"):t<0||t>i?(this.hoverRange.start=a,this.hoverRange.focused="start"):(this.hoverRange.end=a,this.hoverRange.focused="end")}else e&&(a<e?this.hoverRange={focused:"start",start:a,end:e}:(this.hoverRange.end=a,this.hoverRange.focused="end"));t.stopPropagation()},this.monthMouseOutChange=()=>{this.hoverRange&&(this.hoverRange=void 0)},this.resetActiveDates=()=>{const{valueAsDate:t}=this;!Array.isArray(t)&&t&&t!==this.activeDate&&(this.activeDate=new Date(t)),Array.isArray(t)&&(t[0]&&t[0]!==this.activeStartDate&&(this.activeStartDate=new Date(t[0])),t[1]&&t[1]!==this.activeEndDate&&(this.activeEndDate=new Date(t[1])))},this.monthDateChange=t=>{const i=new Date(t.detail),e=R(i);if(!this.range&&e===R(this.valueAsDate))return;if(!this.range)return this.value=e||"",this.valueAsDate=i||null,this.activeDate=i||null,void this.calciteDatePickerChange.emit();const s=this.getStartDate(),a=this.getEndDate();if(!s||!a&&i<s)s&&this.setEndDate(new Date(s)),"end"==this.activeRange?this.setEndDate(i):this.setStartDate(i);else if(a)if(this.proximitySelectionDisabled)this.setStartDate(i),this.setEndDate(null);else if(this.activeRange)"end"==this.activeRange?this.setEndDate(i):this.setStartDate(i);else{const t=S(i,s),e=S(i,a);0===e||t<0?this.setStartDate(i):0===t||e<0?this.setEndDate(i):t<e?this.setStartDate(i):this.setEndDate(i)}else this.setEndDate(i);this.calciteDatePickerChange.emit()},this.activeDate=void 0,this.activeRange=void 0,this.value=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.numberingSystem=void 0,this.scale="m",this.range=!1,this.proximitySelectionDisabled=!1,this.messageOverrides=void 0,this.messages=void 0,this.activeEndDate=void 0,this.activeStartDate=void 0,this.dateTimeFormat=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.endAsDate=void 0,this.hoverRange=void 0,this.localeData=void 0,this.mostRecentRangeValue=void 0,this.startAsDate=void 0}activeDateWatcher(t){"end"===this.activeRange&&(this.activeEndDate=t)}valueAsDateWatcher(t){if(this.range&&Array.isArray(t)){const{activeStartDate:i,activeEndDate:e}=this,s=t[0],a=t[1];this.activeStartDate=i!==s&&s,this.activeEndDate=e!==a&&a}else t&&t!==this.activeDate&&(this.activeDate=t)}onMinChanged(t){this.minAsDate=P(t)}onMaxChanged(t){this.maxAsDate=P(t)}onMessagesChange(){}async setFocus(){await E(this),this.el.focus()}async reset(){this.resetActiveDates(),this.mostRecentRangeValue=void 0}connectedCallback(){f(this),$(this),Array.isArray(this.value)?this.valueAsDate=Ft(this.value):this.value&&(this.valueAsDate=P(this.value)),this.min&&(this.minAsDate=P(this.min)),this.max&&(this.maxAsDate=P(this.max))}disconnectedCallback(){g(this),C(this)}async componentWillLoad(){I(this),await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max),await D(this)}componentDidLoad(){L(this)}render(){const t=A(this.range&&Array.isArray(this.valueAsDate)?this.valueAsDate[0]:this.valueAsDate,this.minAsDate,this.maxAsDate);let i=this.getActiveDate(t,this.minAsDate,this.maxAsDate);const a=this.range&&Array.isArray(this.valueAsDate)?A(this.valueAsDate[1],this.minAsDate,this.maxAsDate):null,n=this.getActiveEndDate(a,this.minAsDate,this.maxAsDate);return"end"!==this.activeRange&&("end"!==this.hoverRange?.focused||this.proximitySelectionDisabled&&!a)||!n||(i=n),this.range&&this.mostRecentRangeValue&&(i=this.mostRecentRangeValue),e(s,{key:"52087d405fc20cd885910944004caef0e4b4e33b",onBlur:this.resetActiveDates,onKeyDown:this.keyDownHandler},this.renderCalendar(i,this.range&&this.activeRange&&"start"===this.activeRange&&a||this.maxAsDate,this.range&&this.activeRange?"start"===this.activeRange?this.minAsDate:t||this.minAsDate:this.minAsDate,t,a))}effectiveLocaleChange(){k(this,this.effectiveLocale)}valueHandler(t){Array.isArray(t)?this.valueAsDate=Ft(t):t&&(this.valueAsDate=P(t))}async loadLocaleData(){N()&&(x.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await Lt(this.effectiveLocale),this.dateTimeFormat=y(this.effectiveLocale,zt))}renderCalendar(t,i,s,a,n){return this.localeData&&[e("calcite-date-picker-month-header",{activeDate:t,headingLevel:this.headingLevel||2,localeData:this.localeData,max:i,messages:this.messages,min:s,onCalciteInternalDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:"end"===this.activeRange?n:a||new Date}),e("calcite-date-picker-month",{activeDate:t,dateTimeFormat:this.dateTimeFormat,endDate:this.range?n:void 0,hoverRange:this.hoverRange,localeData:this.localeData,max:i,min:s,onCalciteInternalDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,onCalciteInternalDatePickerSelect:this.monthDateChange,scale:this.scale,selectedDate:"end"===this.activeRange?n:a,startDate:this.range?a:void 0})]}getEndDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0}setEndDate(t){const i=this.getStartDate(),e=t?j(t):t;this.value=[R(i),R(t)],this.valueAsDate=[i,t],this.mostRecentRangeValue=e,this.calciteDatePickerRangeChange.emit(),this.activeEndDate=t||null}getStartDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[0]}setStartDate(t){const i=this.getEndDate();this.value=[R(t),R(i)],this.valueAsDate=[t,i],this.mostRecentRangeValue=t,this.calciteDatePickerRangeChange.emit(),this.activeStartDate=t||null}getActiveDate(t,i,e){return A(this.activeDate,i,e)||t||A(new Date,i,e)}getActiveEndDate(t,i,e){return A(this.activeEndDate,i,e)||t||A(new Date,i,e)}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{activeDate:["activeDateWatcher"],valueAsDate:["valueAsDateWatcher"],min:["onMinChanged"],max:["onMaxChanged"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange","loadLocaleData"],value:["valueHandler"]}}};Pt.style=":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}";
|
18
|
+
/*!
|
19
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
20
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
21
|
+
* v2.12.2
|
22
|
+
*/
|
23
|
+
const St="calendar-wrapper",Rt="calendar-wrapper--end",At="border-top-color-one",jt="no-bottom-border",Ot="input-wrapper",Mt="input",Tt="menu-container",Bt="menu-container--active",Nt="toggle-icon",Ht="inputDatePickerValidationMessage",Wt=class{constructor(e){t(this,e),this.calciteInputDatePickerChange=i(this,"calciteInputDatePickerChange",6),this.calciteInputDatePickerBeforeClose=i(this,"calciteInputDatePickerBeforeClose",6),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",6),this.calciteInputDatePickerBeforeOpen=i(this,"calciteInputDatePickerBeforeOpen",6),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",6),this.calciteInternalInputInputHandler=t=>{const i=t.target,e=i.value,s=this.parseNumerals(e),a=this.formatNumerals(s);i.value=a;const{year:n}=M(e,this.localeData);if(n&&n.length<4)return;const o=T(e,this.localeData);B(o,this.min,this.max)&&(this.datePickerActiveDate=o)},this.calciteInternalInputBlurHandler=()=>{this.commitValue()},this.dialogId=`date-picker-dialog--${at()}`,this.focusOnOpen=!1,this.userChangedValue=!1,this.openTransitionProp="opacity",this.valueAsDateChangedExternally=!1,this.placeholderTextId=`calcite-input-date-picker-placeholder-${at()}`,this.onInputWrapperPointerDown=()=>{this.currentOpenInput=this.focusedInput},this.onInputWrapperClick=t=>{const{range:i,endInput:e,startInput:s,currentOpenInput:a}=this,n=t.currentTarget.getAttribute("data-position");t.composedPath().find((t=>t.classList?.contains(Nt)))&&("start"===n?s:e).setFocus(),i&&this.open&&a!==n||(this.open=!this.open)},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?H(i,t):null},this.setTransitionEl=t=>{this.transitionEl=t},this.setStartInput=t=>{this.startInput=t},this.setEndInput=t=>{this.endInput=t},this.blurHandler=()=>{this.open=!1},this.keyDownHandler=t=>{const{defaultPrevented:i,key:e}=t;i||("Enter"===e?(t.preventDefault(),this.commitValue(),this.shouldFocusRangeEnd()?this.endInput?.setFocus():this.shouldFocusRangeStart()&&this.startInput?.setFocus(),Z(this)&&this.restoreInputFocus()):"ArrowDown"===e?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===e&&(this.open=!1,t.preventDefault(),this.restoreInputFocus()))},this.startInputFocus=()=>{this.focusedInput="start"},this.endInputFocus=()=>{this.focusedInput="end"},this.setFloatingEl=t=>{this.floatingEl=t,W(this,this.referenceEl,this.floatingEl)},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.setDatePickerRef=t=>{this.datePickerEl=t,it(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.handleDateChange=t=>{this.range||(t.stopPropagation(),this.setValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.handleDateRangeChange=t=>{this.range&&(t.stopPropagation(),this.setRangeValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.setInputValue=(t,i="start")=>{const e=this[`${i}Input`];e&&(e.value=t)},this.setRangeValue=t=>{if(!this.range)return;const{value:i}=this,e=Array.isArray(i),s=Array.isArray(t);let a=s?R(s?t[0]:null):"";a&&(a=this.getNormalizedDate(a));let n=s?R(s?t[1]:null):"";n&&(n=this.getNormalizedDate(n));const o=a||n?[a,n]:"";if(o===i)return;this.userChangedValue=!0,this.value=o,this.valueAsDate=o?Ft(o):void 0;const l=this.calciteInputDatePickerChange.emit();l&&l.defaultPrevented&&(this.value=i,e?(this.setInputValue(i[0],"start"),this.setInputValue(i[1],"end")):(this.value=i,this.setInputValue(i)))},this.setValue=t=>{if(this.range)return;const i=this.value;let e=R(t);e=this.getNormalizedDate(e),e!==i&&(this.userChangedValue=!0,this.valueAsDate=e?P(e):void 0,this.value=e||"",this.calciteInputDatePickerChange.emit().defaultPrevented&&(this.value=i,this.setInputValue(i)))},this.commonDateSeparators=[".","-","/"],this.formatNumerals=t=>t?t.split("").map((t=>this.commonDateSeparators?.includes(t)?this.localeData?.separator:J?.includes(t)?x?.numberFormatter?.format(Number(t)):t)).join(""):"",this.parseNumerals=t=>t?t.split("").map((t=>J.includes(t)?x.delocalize(t):t)).join(""):"",this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.value="",this.flipPlacements=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.messageOverrides=void 0,this.messages=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.open=!1,this.validationMessage=void 0,this.validationIcon=void 0,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.name=void 0,this.numberingSystem=void 0,this.scale="m",this.status="idle",this.placement=U,this.range=!1,this.required=!1,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.datePickerActiveDate=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.focusedInput="start",this.localeData=void 0}handleFocusTrapDisabled(t){this.open&&(t?et(this):st(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}valueWatcher(t){if(!this.userChangedValue){let i;i=Array.isArray(t)?Ft(t):t?P(t):void 0,this.valueAsDateChangedExternally||i===this.valueAsDate||(this.valueAsDate=i),this.localizeInputValues()}this.userChangedValue=!1}valueAsDateWatcher(t){this.datePickerActiveDate=t;const i=this.range&&Array.isArray(t)?[R(t[0]),R(t[1])]:R(t);this.value!==i&&(this.valueAsDateChangedExternally=!0,this.value=i,this.valueAsDateChangedExternally=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}onMinChanged(t){this.minAsDate=P(t)}onMaxChanged(t){this.maxAsDate=P(t)}openHandler(){F(this),this.disabled||this.readOnly?this.open=!1:this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}calciteDaySelectHandler(){this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()||(this.open=!1)}async setFocus(){await E(this),c(this.el)}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:a,filteredFlipPlacements:n}=this;return V(this,{floatingEl:i,referenceEl:e,overlayPositioning:a,placement:s,flipPlacements:n,type:"menu"},t)}connectedCallback(){p(this),f(this),this.handleDateTimeFormatChange();const{open:t}=this;if(t&&this.openHandler(),this.min&&(this.minAsDate=P(this.min)),this.max&&(this.maxAsDate=P(this.max)),Array.isArray(this.value))this.valueAsDate=Ft(this.value);else if(this.value)try{const t=P(this.value),i=A(t,this.minAsDate,this.maxAsDate);this.valueAsDate=i}catch(t){this.warnAboutInvalidValue(this.value),this.value=""}else this.valueAsDate&&(this.range?this.setRangeValue(this.valueAsDate):Array.isArray(this.valueAsDate)||(this.value=R(this.valueAsDate)));X(this),G(this),$(this),this.setFilteredPlacements(),x.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.open&&F(this),W(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){I(this),await Promise.all([this.loadLocaleData(),D(this)]),this.onMinChanged(this.min),this.onMaxChanged(this.max)}componentDidLoad(){L(this),this.localizeInputValues(),W(this,this.referenceEl,this.floatingEl)}disconnectedCallback(){et(this),u(this),tt(this),Q(this),q(this,this.referenceEl,this.floatingEl),g(this),C(this)}componentDidRender(){v(this)}render(){const{disabled:t,effectiveLocale:i,messages:a,numberingSystem:n,readOnly:o}=this;return x.numberFormatOptions={numberingSystem:n,locale:i,useGrouping:!1},e(s,{key:"38f3ea7b3206b0b5d404c6691d54811ce9e09753",onBlur:this.blurHandler,onKeyDown:this.keyDownHandler},e(m,{key:"64296d7cf55e492e041eee729d969733f0aeeede",disabled:this.disabled},this.localeData&&e("div",{key:"bb1244e8a1ac6e32bc71f08a98d8007b17a3332d",class:"input-container"},e("div",{key:"fcb3e2430616bae57d9e09ea1f631bdb6c9810f0",class:Ot,"data-position":"start",onClick:this.onInputWrapperClick,onPointerDown:this.onInputWrapperPointerDown,ref:this.setStartWrapper},e("calcite-input-text",{key:"4c1e9dea4f553f206251bafefd05993b5c897b41","aria-autocomplete":"none","aria-controls":this.dialogId,"aria-describedby":this.placeholderTextId,"aria-errormessage":Ht,"aria-expanded":d(this.open),"aria-haspopup":"dialog","aria-invalid":d("invalid"===this.status),class:{[Mt]:!0,[jt]:"vertical"===this.layout&&this.range},disabled:t,icon:"calendar",onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputTextFocus:this.startInputFocus,placeholder:this.localeData?.placeholder,readOnly:o,ref:this.setStartInput,role:"combobox",scale:this.scale,status:this.status}),!this.readOnly&&this.renderToggleIcon(this.open&&"start"===this.focusedInput),e("span",{key:"705abe452a2f49cc167f1051ca193b397d6cef9f","aria-hidden":"true",class:"assistive-text",id:this.placeholderTextId},"Date Format: ",this.localeData?.placeholder)),e("div",{key:"bf71124065fdfefa0a6024e245aee31eee3a5b5e","aria-hidden":d(!this.open),"aria-label":a.chooseDate,"aria-live":"polite","aria-modal":"true",class:{[Tt]:!0,[Bt]:this.open},id:this.dialogId,ref:this.setFloatingEl,role:"dialog"},e("div",{key:"9803f72d5454230914a2604cceb3b1d30fd32083",class:{[St]:!0,[Rt]:"end"===this.focusedInput,[K.animation]:!0,[K.animationActive]:this.open},ref:this.setTransitionEl},e("calcite-date-picker",{key:"667c3488db40269e60d79f28f374a6cf9ff610da",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:n,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,ref:this.setDatePickerRef,scale:this.scale,tabIndex:this.open?void 0:-1,valueAsDate:this.valueAsDate}))),this.range&&"horizontal"===this.layout&&e("div",{key:"1c657ea9c4b667035d58a13bffb784489586bbdd",class:"horizontal-arrow-container"},e("calcite-icon",{key:"970d61e19c5372d503ef070fcbd30817b2231c86",flipRtl:!0,icon:"arrow-right",scale:nt(this.scale)})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&e("div",{key:"b5c83aafbddb396900c44b97d642b0c1c7b2a27b",class:"vertical-arrow-container"},e("calcite-icon",{key:"b00438be61ed6f73b1c0b074ff1a8b26ce32e7e2",icon:"arrow-down",scale:nt(this.scale)})),this.range&&e("div",{key:"38a7533192d085470cef7e59d091cebe8088980d",class:Ot,"data-position":"end",onClick:this.onInputWrapperClick,onPointerDown:this.onInputWrapperPointerDown,ref:this.setEndWrapper},e("calcite-input-text",{key:"03fbeddd6785ce5e6abb29d9c40ee34842376e31","aria-autocomplete":"none","aria-controls":this.dialogId,"aria-errormessage":Ht,"aria-expanded":d(this.open),"aria-haspopup":"dialog","aria-invalid":d("invalid"===this.status),class:{[Mt]:!0,[At]:"vertical"===this.layout&&this.range},disabled:t,icon:"calendar",onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputTextFocus:this.endInputFocus,placeholder:this.localeData?.placeholder,readOnly:o,ref:this.setEndInput,role:"combobox",scale:this.scale,status:this.status}),!this.readOnly&&this.renderToggleIcon(this.open&&"end"===this.focusedInput))),e(Y,{key:"9086e6f1f425cb7c583bf8f195b877e42c6a6aa6",component:this}),this.validationMessage&&"invalid"===this.status?e(ot,{icon:this.validationIcon,id:Ht,message:this.validationMessage,scale:this.scale,status:this.status}):null))}renderToggleIcon(t){return e("span",{class:Nt,tabIndex:-1},e("calcite-icon",{class:"chevron-icon",icon:t?"chevron-up":"chevron-down",scale:nt(this.scale)}))}effectiveLocaleChange(){k(this,this.effectiveLocale),this.loadLocaleData()}handleDateTimeFormatChange(){const t={numberingSystem:_(this.numberingSystem)};this.dateTimeFormat=new Intl.DateTimeFormat(w(this.effectiveLocale),t)}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:e,startWrapper:s}=this;this.referenceEl="end"===t||"vertical"===i?e||s:s||e,requestAnimationFrame((()=>W(this,this.referenceEl,this.floatingEl)))}onLabelClick(){this.setFocus()}onBeforeOpen(){this.calciteInputDatePickerBeforeOpen.emit()}onOpen(){st(this,{onActivate:()=>{this.focusOnOpen&&(this.datePickerEl.setFocus(),this.focusOnOpen=!1)}}),this.calciteInputDatePickerOpen.emit()}onBeforeClose(){this.calciteInputDatePickerBeforeClose.emit()}onClose(){this.calciteInputDatePickerClose.emit(),et(this),this.restoreInputFocus(),this.focusOnOpen=!1,this.datePickerEl.reset()}syncHiddenFormInput(t){lt("date",this,t)}commitValue(){const{focusedInput:t,value:i}=this,e=T(this[`${t}Input`].value,this.localeData),s=R(e),a=Array.isArray(i);if(this.range)if(a){if(s===i["start"===t?0:1])return;e?(this.setRangeValue(["start"===t?e:P(i[0]),"end"===t?e:P(i[1])]),this.localizeInputValues()):this.setRangeValue(["end"===t&&P(i[0]),"start"===t&&P(i[1])])}else e&&(this.setRangeValue(["start"===t?e:P(i[0]),"end"===t?e:P(i[1])]),this.localizeInputValues());else{if(s===i)return;this.setValue(e),this.localizeInputValues()}}async loadLocaleData(){N()&&(x.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await Lt(this.effectiveLocale),this.localizeInputValues())}shouldFocusRangeStart(){return!(!this.value[1]||this.value[0]||"end"!==this.focusedInput||!this.startInput)}shouldFocusRangeEnd(){return!(!this.value[0]||this.value[1]||"start"!==this.focusedInput||!this.endInput)}restoreInputFocus(){this.range?("start"===this.focusedInput?this.startInput:this.endInput).setFocus():this.startInput.setFocus()}localizeInputValues(){const t=A(this.range?Array.isArray(this.valueAsDate)&&this.valueAsDate[0]||void 0:this.valueAsDate,this.minAsDate,this.maxAsDate),i=this.range?A(Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0,this.minAsDate,this.maxAsDate):null;this.setInputValue((t&&this.dateTimeFormat.format(t))??"","start"),this.setInputValue((this.range&&i&&this.dateTimeFormat.format(i))??"","end")}warnAboutInvalidValue(t){console.warn(`The specified value "${t}" does not conform to the required format, "YYYY-MM-DD".`)}getNormalizedDate(t){if(!t)return"";if(!
|
24
|
+
/*!
|
25
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
26
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
27
|
+
* v2.12.2
|
28
|
+
*/
|
29
|
+
function(t){if(!t)return!1;const{year:i}=O(t);return Number(i)<100}(t))return t;const{day:i,month:e,year:s}=O(t);return`${function(t){const i=(new Date).getFullYear();return 100*Math.floor(i/100)+t}(Number(s))}-${e}-${i}`}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],value:["valueWatcher"],valueAsDate:["valueAsDateWatcher"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],min:["onMinChanged"],max:["onMaxChanged"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],effectiveLocale:["effectiveLocaleChange","handleDateTimeFormatChange"],numberingSystem:["handleDateTimeFormatChange"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"]}}};Wt.style=":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:inset, left, 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{inset-block-start:-5px}:host .menu-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}:host .menu-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}:host .menu-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block:0;left: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:inset, left, 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{inset-block-start:-5px}.menu-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.menu-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.menu-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block:0;left: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}";const Ut="instant-apps-filter-list calcite-mode-light",Vt=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function qt(t){return t.replaceAll("'","''")}function Kt(t,i=!1){if(t){const e=new Date(t),s=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`;return i?`${s} ${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`:s}}function Zt(t){var i;if(null!=t){t.value=["",""];const e=null===(i=t.shadowRoot)||void 0===i?void 0:i.querySelectorAll("calcite-input");if(null!=e)for(const t of e)t.value=""}}const Gt="instant-apps-filter-list__item-container--user-input",Qt=class{constructor(e){t(this,e),this.filterListReset=i(this,"filterListReset",7),this.filterUpdate=i(this,"filterUpdate",7),this.layerExpressions=void 0,this.autoUpdateUrl=!1,this.closeBtn=!1,this.closeBtnOnClick=void 0,this.comboboxOverlayPositioning="absolute",this.closeBtnText=void 0,this.openFilters=!1,this.extentSelector=!1,this.extentSelectorConfig=void 0,this.urlParams=void 0,this.filterCount=0,this.view=void 0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.loading=void 0,this.filterLayerExpressions=void 0,this.messages=void 0,this.baseClass=Ut,this.disabled=!0,this.hasLayerExpression=!1,this.initDefExpressions=void 0,this.initMapImageExpressions=void 0,this.initPointCloudFilters=void 0}watchViewHandler(){this.handleWhenView()}watchLayerExpressions(){this.hasLayerExpression||(this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate(),this.hasLayerExpression=!0)}getFilterInitState(){return Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}forceReset(){return this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit(),Promise.resolve()}restoreFilters(t,i){this.filterLayerExpressions=structuredClone(this.layerExpressions),this.initDefExpressions=i.initDefExpressions,this.initMapImageExpressions=i.initMapImageExpressions,this.initPointCloudFilters=i.initPointCloudFilters;const e=null==t?void 0:t.split(";").map((t=>JSON.parse(t)));return e&&(this.filterCount=this.applyFilters(e)),this.initExpressions()}async componentWillLoad(){var t;this.baseClass="dark"===ht(this.el)?"instant-apps-filter-list calcite-mode-dark":Ut,await this.initializeModules(),ct(this),this.hasLayerExpression=null!=this.layerExpressions,this.filterLayerExpressions=null!=this.layerExpressions?structuredClone(this.layerExpressions):[],this.disabled=!(null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)||void 0,this.reactiveUtils.whenOnce((()=>this.view)).then((()=>this.handleLayerExpressionsUpdate()))}componentShouldUpdate(t,i,e){"view"===e&&null!=t?this.handleWhenView():"layerExpressions"===e&&(this.hasLayerExpression&&this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate(),this.hasLayerExpression=!0)}componentWillRender(){var t;this.disabled=!((null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)>0)||void 0}disconnectedCallback(){this.resetFiltersOnDisconnect&&(this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){const[t,i,e]=await rt(["esri/intl","esri/geometry/support/jsonUtils","esri/core/reactiveUtils"]);this.geometryJsonUtils=i,this.reactiveUtils=e,this.locale=t.getLocale(),this.intl=t}render(){const t=this.loading?this.renderLoading():this.initFilterConfig(),i=this.renderFooter(this.closeBtn,this.resetBtn);return e(s,{key:"1cc3609c3ba5760b5e4e83fe9d86e391b7126fa2"},e("calcite-panel",{key:"a88f98d7650a53faf227e8cb0aeabfb59981932e",class:this.baseClass,ref:t=>this.panelEl=t},e("slot",{key:"094a5c5eb771ee7cdb140c505eb9ca825607ddc7",slot:"header-content",name:"filter-header-content"}),e("slot",{key:"5850fabcfe9826db945b2f8e8d43d9aa9d6b9aed",slot:"header-actions-end",name:"filter-header-actions-end"}),e("div",{key:"filter-container",class:"instant-apps-filter-list__container"},t,i)))}renderLoading(){return e("calcite-loader",{label:"Loading filters..."})}renderFilter(t){const{id:i}=t;return t.expressions.map(((s,a)=>"checkbox"==s.type||null==s.type?e("div",{key:`${i}-${a}`,class:"instant-apps-filter-list__item-container"},e("div",{class:"instant-apps-filter-list__title"},e("p",null,s.name)),e("div",{class:"instant-apps-filter-list__checkbox-container"},e("calcite-checkbox",{id:s.id.toString(),scale:"l",checked:null==s?void 0:s.active,onCalciteCheckboxChange:this.handleCheckboxChange.bind(this,t,s)}))):this.initInput(t,s)))}renderLayerBlock(){return this.filterLayerExpressions.map((t=>this.renderFilterBlocks(t)))}renderFilterBlocks(t){var i;const s=this.renderFilter(t),{operator:a}=t,n="OR"===(null==a?void 0:a.trim())?"orOperator":"andOperator",o=this.renderZoomTo(t);return e("calcite-block",{key:t.id,heading:t.title,description:null===(i=this.messages)||void 0===i?void 0:i[n],open:!!this.openFilters||void 0,collapsible:!0},o,s)}renderCombobox(t,i){var s;return e("label",{key:"combo-select",class:Gt},e("span",null,i.name),e("calcite-combobox",{id:i.id.toString(),onCalciteComboboxChange:this.handleComboSelect.bind(this,i,t),label:i.name,placeholder:i.placeholder,selectionMode:"multiple","max-items":"6",scale:"s",overlayPositioning:this.comboboxOverlayPositioning},null===(s=i.fields)||void 0===s?void 0:s.map(((t,e)=>this.renderComboboxItem(i,t,e)))))}renderComboboxItem(t,i,s){var a;const n=this.createLabel(t,i),o=null==t?void 0:t.selectedFields,l=null!==(a=null==o?void 0:o.includes(i))&&void 0!==a&&a;return e("calcite-combobox-item",{key:`${n}-${s}`,value:i,textLabel:`${n}`,selected:l})}initFilterConfig(){var t,i;if((null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)>0){if(1===this.filterLayerExpressions.length){const{operator:t}=this.filterLayerExpressions[0],s="OR"===(null==t?void 0:t.trim())?"orOperator":"andOperator",a=this.renderZoomTo(this.filterLayerExpressions[0]);return e("calcite-block",{class:"instant-apps-filter-list__operator-description",heading:null===(i=this.messages)||void 0===i?void 0:i[s],open:!0},a,this.renderFilter(this.filterLayerExpressions[0]))}if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}renderNumberSlider(t,i){var s,a,n,o,l,r,c,h;const d=null==i?void 0:i.min,p=null==i?void 0:i.max,u=(null==i?void 0:i.step)?i.step:1,v=null!==(s=null==i?void 0:i.field)&&void 0!==s?s:"",m=[null!=(null===(a=null==i?void 0:i.range)||void 0===a?void 0:a.min)?i.range.min:d,null!=(null===(n=null==i?void 0:i.range)||void 0===n?void 0:n.max)?i.range.max:p];return null!=d&&null!=p?e("label",{key:null==i?void 0:i.id.toString(),class:Gt},e("span",null,null==i?void 0:i.name),e("div",{class:"instant-apps-filter-list__number-input-container"},e("calcite-slider",{id:null==i?void 0:i.id.toString(),onCalciteSliderChange:this.handleSliderChange.bind(this,i,t),min:d,max:p,minValue:d,maxValue:p,"min-label":null===(l=null===(o=this.messages)||void 0===o?void 0:o.minSlider)||void 0===l?void 0:l.replace("{field}",v),"max-label":null===(c=null===(r=this.messages)||void 0===r?void 0:r.maxSlider)||void 0===c?void 0:c.replace("{field}",v),step:u,labelHandles:!0,snap:!0,value:m,"group-separator":null===(h=null==i?void 0:i.format)||void 0===h?void 0:h.digitSeparator}))):void 0}renderDatePicker(t,i){var s,a,n,o;const{min:l,max:r}=i,c=[null===(s=null==i?void 0:i.range)||void 0===s?void 0:s.min,null===(a=null==i?void 0:i.range)||void 0===a?void 0:a.max];return null!=l&&null!=r?e("label",{class:Gt},e("span",null,null==i?void 0:i.name),e("div",{class:"instant-apps-filter-list__date-picker-input-container"},e("calcite-input-date-picker",{id:null==i?void 0:i.id.toString(),onCalciteInputDatePickerChange:this.handleDatePickerRangeChange.bind(this,i,t),min:l,max:r,"overlay-positioning":"fixed",lang:null!==(n=this.locale)&&void 0!==n?n:"en",layout:"vertical",value:c,range:!0}),e("calcite-action",{onClick:this.handleResetDatePicker.bind(this,i,t),icon:"reset",text:null===(o=this.messages)||void 0===o?void 0:o.resetDatePicker,scale:"s"}))):null}renderFooter(t,i){var s,a,n;const o=null!=this.closeBtnText?this.closeBtnText:null===(s=this.messages)||void 0===s?void 0:s.close;return e("div",{class:"instant-apps-filter-list__footer",slot:"footer"},i?e("calcite-button",{appearance:"outline",width:"half",disabled:this.disabled,onClick:this.handleResetFilter.bind(this)},null===(a=this.messages)||void 0===a?void 0:a.resetFilter):void 0,t?e("calcite-button",{appearance:"solid",width:"half",kind:"brand",onClick:null===(n=this.closeBtnOnClick)||void 0===n?void 0:n.bind(this)},o):void 0)}renderZoomTo(t){var i;return this.zoomBtn?e("div",{class:"instant-apps-filter-list__zoom-to"},e("calcite-button",{id:(null==t?void 0:t.sublayerId)?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`,appearance:"transparent",kind:"neutral",scale:"s",iconStart:"magnifying-glass-plus",onClick:this.handleZoomTo.bind(this,t)},null===(i=this.messages)||void 0===i?void 0:i.zoomTo)):void 0}handleResetDatePicker(t,i){Zt(this.panelEl.querySelector(`[id='${t.id}']`)),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(i)}initInput(t,i){const{type:e,numDisplayOption:s,displayOption:a}=i;return"string"!==e&&"coded-value"!==e&&("number"!==e&&"range"!==e&&"date"!==e||"drop-down"!==s&&"drop-down"!==a)?"number"===e||"range"===e?this.renderNumberSlider(t,i):"date"===e?this.renderDatePicker(t,i):void 0:this.renderCombobox(t,i)}async initExpressions(){if(this.loading=!0,null==this.filterLayerExpressions)return;const t=await this.processExpressions();this.loading=!1,this.filterLayerExpressions=[...t]}async processExpressions(){var t;if(!this.filterLayerExpressions)return[];for(const i of this.filterLayerExpressions)for(const e of i.expressions||[])e.active=null!==(t=e.active)&&void 0!==t?t:null!=e.definitionExpression,await this.setInitExpression(i,e);return this.filterLayerExpressions}handleResetFilter(){var t;null===(t=this.filterLayerExpressions)||void 0===t||t.forEach((t=>{var i;null===(i=t.expressions)||void 0===i||i.forEach((t=>{const{type:i,numDisplayOption:e,displayOption:s}=t;let a="";"string"!==i&&"coded-value"!==i&&("date"!==i||"drop-down"!==e&&"drop-down"!==s)&&("number"!==i&&"range"!==i||"drop-down"!==e&&"drop-down"!==s)?"date"===i?a="datePicker":"number"!==i&&"range"!==i||(a="numberRange"):a="combobox",a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1}))})),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressionUI(t,i){const{id:e}=i;switch(t){case"combobox":i.selectedFields=void 0;const t=this.panelEl.querySelector(`[id='${e}']`);t&&Array.from(t.children).forEach((t=>{t.selected=!1}));break;case"datePicker":i.range=void 0,Zt(this.panelEl.querySelector(`[id='${e}']`));break;case"numberRange":i.range=void 0;const s=this.panelEl.querySelector(`[id='${e}']`);s&&(s.minValue=i.min,s.maxValue=i.max)}}resetCheckbox(t){const{id:i}=t,e=this.panelEl.querySelector(`[id='${i}']`);null!=e&&(e.checked=!1)}resetAllFilters(){var t,i,e,s,a;const n=null===(e=null===(i=null===(t=this.view)||void 0===t?void 0:t.map)||void 0===i?void 0:i.allLayers)||void 0===e?void 0:e.concat(null===(a=null===(s=this.view)||void 0===s?void 0:s.map)||void 0===a?void 0:a.allTables);null==n||n.forEach((t=>{var i,e;if(!Vt.includes(t.type))return;const s=t;"point-cloud"===s.type?s.filters=null===(i=this.initPointCloudFilters)||void 0===i?void 0:i[s.id]:"map-image"===s.type?s.allSublayers.forEach((t=>{var i,e;t.definitionExpression=null===(e=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[s.id])||void 0===e?void 0:e[t.id]})):s.definitionExpression=null===(e=this.initDefExpressions)||void 0===e?void 0:e[s.id]}))}async updateStringExpression(t,i){const e=this.findFilterLayer(t);return await this.getFeatureAttributes(e,i),this.handleDateField(e,i),!!(null==i?void 0:i.selectedFields)&&(i.definitionExpression=this.createDefinitionExpression(i),!0)}handleDateField(t,i){if("date"===i.type){const e=t.fields.find((({name:t})=>t===i.field));"date-only"===(null==e?void 0:e.type)&&(i.dateOnly=!0)}}createDefinitionExpression(t){var i;if(!(null===(i=t.selectedFields)||void 0===i?void 0:i.length))return"";const e=t.selectedFields.map((t=>"number"==typeof t?t:`'${qt(t)}'`));return`${t.field} IN (${e.join(",")})`}async updateNumberExpression(t,i){var e,s;if(!(null==i?void 0:i.min)&&0!==(null==i?void 0:i.min)||!(null==i?void 0:i.max)&&0!==(null==i?void 0:i.max)){const a=this.findFilterLayer(t),{field:n}=i;if(null!=n)if(this.setExpressionFormat(a,i,n),"drop-down"===(null==i?void 0:i.numDisplayOption)||"drop-down"===(null==i?void 0:i.displayOption))await this.getFeatureAttributes(a,i);else{const t=await this.calculateMinMaxStatistics(a,n),o=null===(e=null==t?void 0:t[0])||void 0===e?void 0:e.attributes;if(null!=(null===(s=i.format)||void 0===s?void 0:s.places)?(i.min=this.roundMinNumberDown(o[`min${n}`],i.format.places),i.max=this.roundMaxNumberUp(o[`max${n}`],i.format.places)):(i.min=o[`min${n}`],i.max=o[`max${n}`]),(null==i?void 0:i.range)&&Object.keys(i.range).length){const{min:t,max:e}=i.range;return i.definitionExpression=`${i.field} BETWEEN ${t} AND ${e}`,!0}}}return!1}async updateDateExpression(t,i){var e;const{field:s,range:a}=i,n=this.findFilterLayer(t),o=await this.calculateMinMaxStatistics(n,s),l=null===(e=null==o?void 0:o[0])||void 0===e?void 0:e.attributes;if(i.min=Kt(l[`min${s}`]),i.max=Kt(l[`max${s}`]),null!=a&&(null!=(null==a?void 0:a.max)||null!=(null==a?void 0:a.min))){let{min:t,max:e}=a;if(t=null==t?void 0:t.replace("+"," "),e=null==e?void 0:e.replace("+"," "),t||e){const a=e&&!t?"<":!e&&t?">":null;return i.definitionExpression=a?`${s} ${a} '${null!=t?t:e}'`:`${s} BETWEEN '${t}' AND '${e}'`,!0}}return!1}updateCodedValueExpression(t,i){var e,s;if(!(null==i?void 0:i.domain)||"coded-value"!==(null===(e=null==i?void 0:i.domain)||void 0===e?void 0:e.type))return!1;const a=i.domain.codedValues.reduce(((t,{code:i,name:e})=>(t[i]=e,t)),{});if(t.codedValues=a,t.fields=Object.keys(a),null===(s=t.selectedFields)||void 0===s?void 0:s.length){const i=t.selectedFields.map((t=>"number"==typeof t?t:`'${qt(t)}'`)).join(",");return t.definitionExpression=`${t.field} IN (${i})`,!0}return!1}updateRangeExpression(t,i){var e;if(!(null==i?void 0:i.domain)||"range"!==(null===(e=null==i?void 0:i.domain)||void 0===e?void 0:e.type))return!1;const{field:s,range:a}=t;return t.min=i.domain.minValue,t.max=i.domain.maxValue,!(!a||!Object.keys(a).length||(t.definitionExpression=`${s} BETWEEN ${a.min} AND ${a.max}`,0))}async getFeatureAttributes(t,i){if(!this.isLayerSupported(t))return void(i.fields=[]);const e=await this.getQueryLayer(t),{maxRecordCount:s,supportsMaxRecordCountFactor:a}=this.extractQueryCapabilities(t),n=await e.queryFeatureCount(),o=this.createQuery(e,i);await this.queryDistinctFeatures(e,o,i),this.shouldPaginate(s,n,a)&&this.handlePagination(e,o,s,a,n,i)}isLayerSupported(t){return t&&Vt.includes(t.type)}extractQueryCapabilities(t){var i,e,s,a,n,o;return{maxRecordCount:null!==(s=null===(e=null===(i=t.capabilities)||void 0===i?void 0:i.query)||void 0===e?void 0:e.maxRecordCount)&&void 0!==s?s:null===(a=t.sourceJSON)||void 0===a?void 0:a.maxRecordCount,supportsMaxRecordCountFactor:null===(o=null===(n=t.capabilities)||void 0===n?void 0:n.query)||void 0===o?void 0:o.supportsMaxRecordCountFactor}}createQuery(t,i){const e=t.createQuery();this.applyCacheHint(t,e);const s=null==i?void 0:i.field;if(s){const i=this.getInitDefExprFromLayer(t);e.where=i||"1=1",e.outFields=[s],e.orderByFields=[`${s} ASC`],e.returnDistinctValues=!0,e.returnGeometry=!1,e.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(e)}return e}async queryDistinctFeatures(t,i,e){if(!i.outFields)return;const s=await this.queryForFeatures(t,i,i.outFields[0]);(null==s?void 0:s.length)&&(e.fields=[...new Set(s)],"string"===e.type?e.fields=e.fields.sort():"number"===e.type&&(e.fields=e.fields.sort(((t,i)=>t-i))))}getQueryCount(t,i){return i?5*t:t}shouldPaginate(t,i,e){const s=this.getQueryCount(t,e);return null!=t&&i>s}async handlePagination(t,i,e,s,a,n){const o=this.getQueryCount(e,s),l=[];for(let s=o;s<a;s+=o){const a=i.clone();a.num=e,a.start=s,l.push(this.queryForFeatures(t,a,i.outFields[0]))}Promise.all(l).then((t=>{t.forEach((t=>{(null==t?void 0:t.length)&&n.fields&&n.fields.push(...t)})),n.fields=[...new Set(n.fields)].sort(),this.filterLayerExpressions=[...this.filterLayerExpressions]}))}async queryForFeatures(t,i,e){const s=await t.queryFeatures(i),a=null==s?void 0:s.features.filter((t=>{var i;return null===(i=t.attributes)||void 0===i?void 0:i[e]}));return null==a?void 0:a.map((t=>{var i;return null===(i=t.attributes)||void 0===i?void 0:i[e]}))}async calculateMinMaxStatistics(t,i){if(!t||!Vt.includes(t.type)||!i)return[];const e=this.createStatisticsQuery(t,i),s=await t.queryFeatures(e);return(null==s?void 0:s.features)||[]}createStatisticsQuery(t,i){const e=t.createQuery();return e.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,e),e.outStatistics=[{onStatisticField:i,outStatisticFieldName:`max${i}`,statisticType:"max"},{onStatisticField:i,outStatisticFieldName:`min${i}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(e),e}getExtent(t,i){if(t&&i){const{constraints:t}=i;let e=Object.assign({},t);const s=null==e?void 0:e.geometry;if(s){const t="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if("extent"===(null==t?void 0:t.type)||"polygon"===(null==t?void 0:t.type))return t}}}async setInitExpression(t,i){if(!i.field||!i.type)return void await this.updateExpression(t,i,void 0);const e=this.findFilterLayer(t);e&&("not-loaded"!==e.loadStatus&&"failed"!==e.loadStatus||await e.load(),await e.when((async()=>{var s,a;const n=null===(s=e.fields)||void 0===s?void 0:s.find((({name:t})=>t===i.field)),o=null===(a=null==n?void 0:n.domain)||void 0===a?void 0:a.type;i.type="coded-value"===o||"range"===o?o:i.type,await this.updateExpression(t,i,n)})))}async updateExpression(t,i,e){await this.handleExpressionType(t,i,e)&&this.generateOutput(t)}async handleExpressionType(t,i,e){var s;switch(i.type){case"string":return await this.updateStringExpression(t,i);case"number":return await this.updateNumberExpression(t,i);case"date":return this.updateDateExpressionBasedOnDisplayOption(t,i);case"coded-value":return this.updateCodedValueExpression(i,e);case"range":return this.updateRangeExpressionBasedOnDisplayOption(t,i,e);case"checkbox":case null:return null!==(s=i.active)&&void 0!==s&&s;default:return!1}}async updateDateExpressionBasedOnDisplayOption(t,i){return"drop-down"===i.displayOption?await this.updateStringExpression(t,i):await this.updateDateExpression(t,i)}async updateRangeExpressionBasedOnDisplayOption(t,i,e){return"drop-down"===i.displayOption?await this.updateStringExpression(t,i):this.updateRangeExpression(i,e)}updateRangeExpressions(t,i,e,s){const a=this.getInitDefExprFromLayerExpression(i);!s&&0!==s||!e&&0!==e||(s===(null==t?void 0:t.min)&&e===(null==t?void 0:t.max)?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=a?`(${a}) AND ${null==t?void 0:t.field} BETWEEN ${s} AND ${e}`:`${null==t?void 0:t.field} BETWEEN ${s} AND ${e}`,t.active=!0)),t.range={min:s,max:e}}handleCheckboxChange(t,i,e){i.active=e.target.checked,this.generateOutput(t)}handleSliderChange(t,i,e){const{maxValue:s,minValue:a}=e.target;this.updateRangeExpressions(t,i,s,a),this.generateOutput(i)}handleComboSelect(t,i,e){const s=e.target.selectedItems,{field:a,type:n}=t;if(t.selectedFields=s.map((({value:t})=>t)),s.length){const i=s.map((({value:t})=>"number"==typeof t?t:`'${qt(t)}'`));t.definitionExpression="date"===n?i.map((t=>this.buildDateExpression(t,a))).join(" OR "):`${a} IN (${i.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(i)}handleDatePickerRangeChange(t,i,e){const s=e.target,[a,n]=s.valueAsDate,o=a?Kt(Math.floor(a.getTime()),!0):void 0,l=n?Kt(Math.floor(n.getTime()),!0):void 0;(o||l)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,o,l),t.range={min:o,max:l},t.active=!0,this.generateOutput(i))}constructDefinitionExpression(t,i,e){return i?e?`${t} BETWEEN '${i}' AND '${e}'`:`${t} > '${i}'`:`${t} < '${e}'`}handleURLParams(){if(!("URLSearchParams"in window))return;const t=new URLSearchParams(document.location.search).get("filter");if(!t)return void(this.filterCount=0);const i=t.split(";").map((t=>JSON.parse(t)));this.filterCount=this.applyFilters(i)}applyFilters(t){let i=0;return t.forEach((t=>{var e,s;const a=null===(e=this.filterLayerExpressions)||void 0===e?void 0:e.find((i=>i.id===t.layerId));a&&(null===(s=a.expressions)||void 0===s||s.forEach((e=>{var s,a;(null===(s=e.id)||void 0===s?void 0:s.toString())===(null===(a=t.expressionId)||void 0===a?void 0:a.toString())&&(this.activateExpression(e,t),i++)})))})),i}activateExpression(t,i){t.active=!0,"range"===i.type?t.range=i.range:"select"===i.type&&(t.selectedFields=i.selectedFields)}createURLParamExpression(t,i){const{id:e,range:s,selectedFields:a,type:n}=i;return"string"===n||"coded-value"===n||"drop-down"===(null==i?void 0:i.numDisplayOption)||"drop-down"===(null==i?void 0:i.displayOption)?{type:"select",layerId:t.id,expressionId:e.toString(),selectedFields:a}:"number"===n||"range"===n||"date"===n?{type:"range",layerId:t.id,expressionId:e.toString(),range:s}:{layerId:t.id,expressionId:e.toString()}}autoUpdateURLCheck(t){if(this.autoUpdateUrl){const i=t.toString()?`${window.location.pathname}?${t}`.trim():window.location.pathname;window.history.replaceState({},"",i)}}generateURLParams(){var t;if(!("URLSearchParams"in window))return;const i=new URLSearchParams(window.location.search),e=(null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.flatMap((t=>{var i;return(null===(i=null==t?void 0:t.expressions)||void 0===i?void 0:i.filter((t=>t.active)).map((i=>JSON.stringify(this.createURLParamExpression(t,i)))))||[]})))||[];this.filterCount=e.length,e.length>0?i.set("filter",e.join(";")):i.delete("filter"),this.autoUpdateURLCheck(i),this.urlParams=i}updateFilter(t,i,e){const{id:s}=t,a=this.view.map.findLayerById(s)||this.view.map.findTableById(s);if(null!=a)if("point-cloud"===a.type)this.updateFilterLayerPCLFilter(a,e);else if("map-image"===a.type){const e=a.findSublayerById(null==t?void 0:t.sublayerId);null!=e&&this.updateFilterLayerDefExpression(e,i,t)}else this.updateFilterLayerDefExpression(a,i,t)}updateFilterLayerDefExpression(t,i,e){const{operator:s}=e;let a=this.getInitDefExprFromLayer(t);const n=(null==i?void 0:i.length)>0&&null!=a?`(${i.join(s)}) AND (${a})`:i.length>0?i.join(s):a;t.definitionExpression=n}updateFilterLayerPCLFilter(t,i){t.filters=i}async handleWhenView(){if(null==this.view)return;const t=this.view.map;await t.loadAll(),this.handleLayerExpressionsUpdate()}async handleLayerExpressionsUpdate(){if(null==this.view)return;const t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables).forEach((t=>{if(!Vt.includes(t.type))return;const i=t;"point-cloud"===i.type?this.initPointCloudFilters[i.id]=i.filters:"map-image"===i.type?this.initMapImageExpressions[i.id]=i.allSublayers.reduce(((t,i)=>(t[i.id]=i.definitionExpression,t)),{}):this.initDefExpressions[i.id]=i.definitionExpression})),this.initExpressions(),this.handleURLParams()}async handleZoomTo(t){const i=this.panelEl.querySelector((null==t?void 0:t.sublayerId)?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`),e=(t,e)=>{i&&(i.loading=t,i.disabled=e)};e(!0,!0),await this.getZoomToExtent(t);const s="point"===this.zoomToExtent.type&&1===this.zoomToExtent.count?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(s),e(!1,!1)}async getZoomToExtent(t){var i;const e=this.view.allLayerViews.find((({layer:i})=>i.id===t.id)),s=e.layer,a="map-image"===s.type?s.findSublayerById(t.sublayerId):s;if("point-cloud"!==a.type&&Vt.includes(null==a?void 0:a.type)){const t=await this.getQueryLayer(a),e=t.createQuery();e.where=null!==(i=t.definitionExpression)&&void 0!==i?i:"1=1";const s=await t.queryExtent(e);this.zoomToExtent=Object.assign(Object.assign({},s),{type:t.geometryType})}}applyFilterToQuery(t,i){var e,s;const a=this.view.allLayerViews.find((({layer:t})=>t.id===i.id)),n=null!==(s=null===(e=null==a?void 0:a.featureEffect)||void 0===e?void 0:e.filter)&&void 0!==s?s:a.filter;n&&["objectIds","distance","geometry","spatialRelationship","units","where","timeExtent"].forEach((i=>{null!=n[i]&&(t[i]=n[i])}))}generateOutput(t){if(null==this.view)return;const i=[];let e=[];if(t){for(const s of t.expressions){const{active:t,definitionExpression:a,pointCloudFilters:n}=s;t&&a&&i.push(`(${a})`),t&&null!=n&&n.length>0&&(e=e.concat(n))}this.updateFilter(t,i,e),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,i,e){if(null==t)return;let s;if(String(t).includes("e")){const[a,n]=String(t).split("e").map((t=>Number(t)));s=Math[e](+`${a}e${n+i}`)*Math.pow(10,-i)}else s=Math[e](t*Math.pow(10,i))/Math.pow(10,i);return+s.toFixed(i)}roundMinNumberDown(t,i){return this.scientificRounding(t,i,"floor")}roundMaxNumberUp(t,i){return this.scientificRounding(t,i,"ceil")}roundNumber(t,i){var e;return null!==(e=this.scientificRounding(t,i,"round"))&&void 0!==e?e:t}setExpressionFormat(t,i,e){if(null!=(null==t?void 0:t.popupTemplate)){const s=t.popupTemplate.fieldInfos.find((({fieldName:t})=>t===e));i.format=null==s?void 0:s.format}}getInitDefExprFromLayer(t){var i,e,s;return"sublayer"===t.type?null===(e=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[t.layer.id])||void 0===e?void 0:e[t.id]:null===(s=this.initDefExpressions)||void 0===s?void 0:s[t.id]}getInitDefExprFromLayerExpression(t){var i,e,s;return null!=(null==t?void 0:t.sublayerId)?null===(e=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[t.id])||void 0===e?void 0:e[t.sublayerId]:null===(s=this.initDefExpressions)||void 0===s?void 0:s[t.id]}findFilterLayer(t){const i=this.view.map.allLayers.concat(this.view.map.allTables).find((({id:i})=>i===t.id));return"map-image"===i.type?null==i?void 0:i.findSublayerById(t.sublayerId):i}createLabel(t,i){var e,s,a;if("coded-value"===t.type)return null===(e=t.codedValues)||void 0===e?void 0:e[i];if("number"===t.type&&"number"==typeof i){let e=i;return null!=(null===(s=t.format)||void 0===s?void 0:s.places)&&(e=this.roundNumber(i,t.format.places)),(null===(a=t.format)||void 0===a?void 0:a.digitSeparator)?this.numberWithCommas(e):e}if("date"===t.type&&!t.dateOnly){const t=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(i,t)}return i}buildDateExpression(t,i){if(t){const e=new Date(t),s=new Date(t),a=new Date(s.setDate(e.getDate()+1)),n=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`,o=`${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`,l=`${a.getHours()}:${a.getMinutes()}:${a.getSeconds()}`;return`${i} BETWEEN '${n} ${o}' AND '${a.getFullYear()}-${a.getMonth()+1}-${a.getDate()} ${l}'`}}async getQueryLayer(t){return"sublayer"===t.type?await t.createFeatureLayer():t}applyCacheHint(t,i){var e,s;(null===(s=null===(e=null==t?void 0:t.capabilities)||void 0===e?void 0:e.query)||void 0===s?void 0:s.supportsCacheHint)&&(i.cacheHint=!0)}applyQueryGeometryFromExtentSelector(t){if(!this.extentSelector||!this.extentSelectorConfig)return;const i=this.getExtent(this.extentSelector,this.extentSelectorConfig);i&&(t.geometry=i,t.spatialRelationship="intersects")}get el(){return a(this)}static get watchers(){return{view:["watchViewHandler"],layerExpressions:["watchLayerExpressions"]}}};Qt.style=":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}";const Yt="instant-apps-social-share",Jt=".calcite-mode-dark",Xt={base:Yt,dialog:`${Yt}__dialog`,dialogEmbed:`${Yt}__dialog-embed`,dialogContent:`${Yt}__dialog-content`,options:`${Yt}__options`,tipContainer:`${Yt}__tip`,tipHeader:`${Yt}__tip-header`,tipContent:`${Yt}__tip-content`,icon:`${Yt}__icon`,iconContainer:`${Yt}__icon-container`,optionText:`${Yt}__option-text`,popoverButton:`${Yt}__popover-button`,layout:{vertical:`${Yt}__layout--vertical`,horizontal:`${Yt}__layout--horizontal`},xLogo:{light:`${Yt}__x-logo--light`,dark:`${Yt}__x-logo--dark`},success:{container:`${Yt}__success`,header:`${Yt}__success-header`,message:`${Yt}__success-message`,icon:`${Yt}__success-icon`},embed:{container:`${Yt}__embed`,header:`${Yt}__embed-header`,embedCode:{container:`${Yt}__embed-code`,textArea:`${Yt}__embed-code-text-area`,copyButton:`${Yt}__embed-code-copy-button`},textAreaText:`${Yt}__embed-text-area-text`,dimensions:{container:`${Yt}__embed-dimensions`,input:`${Yt}__embed-dimensions-input`}},rtl:{optionText:`${Yt}__option-text--rtl`,textArea:`${Yt}__text-area--rtl`}},ti={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?url={url}"},ii=class{constructor(i){t(this,i),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale=void 0,this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){var t,i;ct(this),this.setupAutoCloseListeners(),"popover"===this.mode&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",(()=>{this.shareListRef&&this.shareListRef.children[0].focus()})),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&(null===(t=this.embedWidthRef)||void 0===t||t.addEventListener("change",this.updateDimensions.bind(this,"width")),null===(i=this.embedHeightRef)||void 0===i||i.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){var t,i,e;document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),"popover"===this.mode?null!=this.popoverRef&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(null===(t=this.embedWidthRef)||void 0===t||t.removeEventListener("change",this.updateDimensions.bind(this)),null===(i=this.embedHeightRef)||void 0===i||i.removeEventListener("change",this.updateDimensions.bind(this)),null===(e=this.dialogContentRef)||void 0===e||e.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){var t,i,e;document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),"popover"===this.mode?(null===(t=this.popoverRef)||void 0===t||t.addEventListener("click",this.stopPropagationCallback.bind(this)),null===(i=this.popoverRef)||void 0===i||i.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):null===(e=this.dialogContentRef)||void 0===e||e.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){var i,e;if("Tab"===t.code){if(!this.shareListRef)return;const e=t.target,s=this.shareListRef.children[0],a=this.shareListRef.children[(null===(i=this.shareListRef)||void 0===i?void 0:i.children.length)-1];t.shiftKey&&e===s?(t.preventDefault(),a.focus()):t.shiftKey||e!==a||(t.preventDefault(),s.focus())}else"Escape"===t.code&&(this.closePopover(),null===(e=this.popoverButtonRef)||void 0===e||e.setFocus())}autoCloseCallback(){"popover"===this.mode?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){var t;null===(t=this.popoverButtonRef)||void 0===t||t.setFocus(),setTimeout((()=>{this.copied=!1}),200)}updateDimensions(t){var i,e;if("width"===t){const t=null===(i=this.embedWidthRef)||void 0===i?void 0:i.value;this.embedWidth=parseInt(t)}else{const t=null===(e=this.embedHeightRef)||void 0===e?void 0:e.value;this.embedHeight=parseInt(t)}}render(){var t,i,a,n,o,l;const r=this.copied&&"popover"===this.mode?this.renderSuccess():e("div",{class:Xt.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),c="vertical"===this.shareIconsLayout?` ${Xt.layout.vertical}`:` ${Xt.layout.horizontal}`,h=" calcite-mode-"+(this.el.closest(Jt)?"dark":"light"),d=e("div",{key:"1d10b5a2fb75584357c9c0f4fbd75e4904ad20ef",ref:t=>this.dialogContentRef=t,class:`${Xt.dialog}${c}${h}`},r);return e(s,{key:"75f577c38604ff752062434134a04d6d85263c16"},"popover"===this.mode?[e("calcite-popover",{ref:t=>this.popoverRef=t,label:null===(i=null===(t=this.messages)||void 0===t?void 0:t.share)||void 0===i?void 0:i.label,referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":this.removePopoverOffset?0:6,"pointer-disabled":this.removePopoverOffset},d),this.renderButton()]:[d,e("calcite-popover",{ref:t=>this.copyLinkPopoverRef=t,label:null===(n=null===(a=this.messages)||void 0===a?void 0:a.share)||void 0===n?void 0:n.label,referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale},this.renderSuccess()),e("calcite-popover",{ref:t=>this.copyEmbedPopoverRef=t,label:null===(l=null===(o=this.messages)||void 0===o?void 0:o.share)||void 0===l?void 0:l.label,referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale},this.renderEmbedSuccess())])}renderButton(){var t,i,s,a,n,o,l,r;const c=null!=this.shareButtonScale?this.shareButtonScale:this.scale;return"button"===this.shareButtonType?e("calcite-button",{ref:t=>this.popoverButtonRef=t,onClick:this.togglePopover.bind(this),id:"shareButton",class:Xt.popoverButton,kind:this.shareButtonColor,appearance:"transparent",label:null===(i=null===(t=this.messages)||void 0===t?void 0:t.share)||void 0===i?void 0:i.label,title:null===(a=null===(s=this.messages)||void 0===s?void 0:s.share)||void 0===a?void 0:a.label,scale:c},e("div",{class:Xt.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}))):e("calcite-action",{ref:t=>this.popoverButtonRef=t,onClick:this.togglePopover.bind(this),id:"shareButton",class:Xt.popoverButton,appearance:"transparent",label:null===(o=null===(n=this.messages)||void 0===n?void 0:n.share)||void 0===o?void 0:o.label,title:null===(r=null===(l=this.messages)||void 0===l?void 0:l.share)||void 0===r?void 0:r.label,scale:c,text:"",alignment:"center"},e("div",{class:Xt.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale})))}renderSuccess(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.success;return e("div",{class:Xt.success.container},e("span",{class:Xt.success.header},e("span",{class:Xt.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),null==i?void 0:i.label),e("span",{class:Xt.success.message},this.successMessage||(null==i?void 0:i.url)))}renderEmbedSuccess(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.success;return e("div",{class:Xt.success.container},e("span",{class:Xt.success.header},e("span",{class:Xt.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),null==i?void 0:i.label),e("span",{class:Xt.success.message},null==i?void 0:i.embed))}renderOptions(){var t,i,s,a;const n=null===(t=this.messages)||void 0===t?void 0:t.options,o="rtl"===document.dir?` ${Xt.rtl.optionText}`:"";return e("ul",{ref:t=>this.shareListRef=t,class:Xt.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:Xt.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${Xt.optionText}${o}`},null===(i=null==n?void 0:n.link)||void 0===i?void 0:i.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:Xt.icon},this.renderFacebookIcon()),e("span",{class:`${Xt.optionText}${o}`},null===(s=null==n?void 0:n.facebook)||void 0===s?void 0:s.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:Xt.icon},this.renderXIcon()),e("span",{class:`${Xt.optionText}${o}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:Xt.icon},this.renderLinkedInIcon()),e("span",{class:`${Xt.optionText}${o}`},null===(a=null==n?void 0:n.linkedIn)||void 0===a?void 0:a.label))]:null)}handleOptionKeyDown(t){return i=>{const e=i.code;("Space"===e||"Enter"===e)&&this.handleShareItem(t)}}renderFacebookIcon(){return e("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"},e("g",null,e("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"}}),e("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"}})))}renderXIcon(){const t=!!this.el.closest(Jt);return e("svg",{class:t?Xt.xLogo.dark:Xt.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("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:t?"white":"black"}))}renderLinkedInIcon(){return e("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"},e("g",{id:"g5891"},e("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"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("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"}}),e("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"}}))))}renderTip(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.info;return e("div",{class:Xt.tipContainer},e("span",{class:Xt.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,null==i?void 0:i.label)),e("p",{class:Xt.tipContent},null==i?void 0:i.tooltip))}renderEmbed(){var t,i,s;const a=null===(t=this.messages)||void 0===t?void 0:t.embed,n="rtl"===document.dir?` ${Xt.rtl.textArea}`:"";return e("div",{class:Xt.embed.container},e("span",{class:Xt.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,null===(s=null===(i=this.messages)||void 0===i?void 0:i.embed)||void 0===s?void 0:s.label)),e("div",{class:Xt.embed.embedCode.container},e("div",{class:Xt.embed.embedCode.textArea},e("textarea",{ref:t=>this.embedCodeRef=t,cols:30,rows:5,readonly:!0,class:n,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:Xt.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,null==a?void 0:a.copy))),e("span",{class:Xt.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:Xt.embed.dimensions.container},e("label",{class:Xt.embed.dimensions.input},e("span",null,null==a?void 0:a.width),e("input",{ref:t=>this.embedWidthRef=t,type:"number",onKeyDown:t=>["e","E","+","-"].includes(t.key)&&t.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:Xt.embed.dimensions.input},e("span",null,null==a?void 0:a.height),e("input",{ref:t=>this.embedHeightRef=t,type:"number",onKeyDown:t=>["e","E","+","-"].includes(t.key)&&t.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){const i="width"===t?this.embedWidthRef:this.embedHeightRef,e="width"===t?"embedWidth":"embedHeight";return()=>{i&&parseFloat(i.value)<=0&&(this[e]=parseInt("1"),i.value="1")}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){var i,e,s,a;this.shareUrl=await this.generateShareUrl();let n=null;const o=null!==(e=null===(i=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===i?void 0:i.includes("Chrome"))&&void 0!==e&&e,l=null!==(a=null===(s=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===s?void 0:s.includes("Safari"))&&void 0!==a&&a&&!o;!l&&this.shortenShareUrl&&(n=await this.shortenUrl(this.shareUrl));let r=n||this.shareUrl;switch(t){case"link":return navigator.clipboard.writeText(r),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),"inline"===this.mode&&(this.copyLinkPopoverRef.open=!0,setTimeout((()=>this.copyLinkPopoverRef.open=!1),3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,void("popover"===this.mode&&setTimeout((()=>this.closePopover()),2e3));case"facebook":case"x":case"linkedIn":let i;l&&(i=window.open("","_blank"),this.shortenShareUrl&&(r=await this.shortenUrl(this.shareUrl)||r));const e={url:encodeURI(r)},s="x"===t?Object.assign(Object.assign({},e),{text:this.shareText}):e,[a]=await rt(["esri/intl"]),n=a.substitute(ti[t],s);return"popover"===this.mode&&this.closePopover(),void(l&&i?(i.location=n,i.focus()):window.open(encodeURI(n),"_blank"))}}async shortenUrl(t){var i,e;const[s]=await rt(["esri/request"]),a=await s("https://arcg.is/prod/shorten",{query:{longUrl:t,f:"json"}}),n=null===(e=null===(i=null==a?void 0:a.data)||void 0===i?void 0:i.data)||void 0===e?void 0:e.url;if(n)return n.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout((()=>this.copyEmbedPopoverRef.open=!1),3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){var t;if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view||!(null===(t=this.view)||void 0===t?void 0:t.ready))return this.shareUrl;const{x:i,y:e}=this.view.center,{spatialReference:s}=this.view,[a,n]=await rt(["esri/geometry/Point","esri/geometry/SpatialReference"]),o=new a({x:i,y:e,spatialReference:new n(Object.assign({},s.toJSON()))}),l=await this.processPoint(o),{isWGS84:r,isWebMercator:c}=l.spatialReference;return this.generateShareUrlParams(l,r||c)}async processPoint(t){const{isWGS84:i,isWebMercator:e}=t.spatialReference;if(i||e)return t;const[s,a]=await rt(["esri/geometry/SpatialReference","esri/geometry/projection"]),n=new s({wkid:4326});try{await a.load();const i=a.project(t,n);return Promise.resolve(i)}catch(t){return console.error("Failed to project point",t),Promise.reject(null)}}generateShareUrlParams(t,i){var e,s,a,n,o;const{longitude:l,latitude:r,x:c,y:h}=t;if(void 0===l||void 0===r)return this.shareUrl;const d=this.roundValue(i?l:c),p=this.roundValue(i?r:h),{zoom:u}=this.view,v=this.roundValue(u),m=null===(s=null===(e=this.view)||void 0===e?void 0:e.popup)||void 0===s?void 0:s.selectedFeature,f=null===(n=null===(a=this.view)||void 0===a?void 0:a.popup)||void 0===n?void 0:n.visible;let g,b,x;if(m&&f&&"feature"===(null===(o=null==m?void 0:m.layer)||void 0===o?void 0:o.type)){const t=null==m?void 0:m.layer;g=null==t?void 0:t.id,b=m.attributes[t.objectIdField]}x=this.view.map.allLayers.filter((t=>!t.visible)).toArray().map((t=>t.id)).toString().replaceAll(",",";");const{type:y}=this.view,{defaultUrlParams:w}=this,_=new URL(this.shareUrl),{searchParams:k}=_;if(k.get("center")&&k.delete("center"),k.get("level")&&k.delete("level"),k.get("selectedFeature")&&k.delete("selectedFeature"),k.get("hiddenLayers")&&k.delete("hiddenLayers"),k.get("viewpoint")&&k.delete("viewpoint"),"3d"===y){const{camera:t}=this.view,{heading:i,position:e,tilt:s}=t,{longitude:a,latitude:n,z:o}=e,l={longitude:this.roundValue(a,8),latitude:this.roundValue(n,8),z:this.roundValue(o,3),heading:this.roundValue(i,3),tilt:this.roundValue(s,3)};return!1!==(null==w?void 0:w.viewpoint)&&_.searchParams.set("viewpoint",`cam:${l.longitude},${l.latitude},${l.z};${l.heading},${l.tilt}`),g&&b&&!1!==(null==w?void 0:w.selectedFeature)&&_.searchParams.set("selectedFeature",`${g};${b}`),x&&!1!==(null==w?void 0:w.hiddenLayers)&&_.searchParams.set("hiddenLayers",x),_.search=decodeURIComponent(_.search),_.href}return!1!==(null==w?void 0:w.center)&&_.searchParams.set("center",`${d};${p}`),!1!==(null==w?void 0:w.level)&&_.searchParams.set("level",`${v}`),g&&b&&!1!==(null==w?void 0:w.selectedFeature)&&_.searchParams.set("selectedFeature",`${g};${b}`),x&&!1!==(null==w?void 0:w.hiddenLayers)&&_.searchParams.set("hiddenLayers",x),_.search=decodeURIComponent(_.search),_.href}roundValue(t,i=4){return parseFloat(t.toFixed(i))}get el(){return a(this)}};ii.style=":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;color:var(--calcite-color-text-1)}: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)}";export{Dt as calcite_block,Pt as calcite_date_picker,Wt as calcite_input_date_picker,Qt as instant_apps_filter_list,ii as instant_apps_social_share}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as p}from"./p-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var r={name:"bs",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(p){return p},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};p.locale(r,null,!0);export{r as default}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as i}from"./p-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";function e(i){return i%10<5&&i%10>1&&~~(i/10)%10!=1}function r(i,r,t){var a=i+" ";switch(t){case"m":return r?"minuta":"minutę";case"mm":return a+(e(i)?"minuty":"minut");case"h":return r?"godzina":"godzinę";case"hh":return a+(e(i)?"godziny":"godzin");case"MM":return a+(e(i)?"miesiące":"miesięcy");case"yy":return a+(e(i)?"lata":"lat")}}var t="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),a="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),p=/D MMMM/,s=function(i,e){return p.test(e)?t[i.month()]:a[i.month()]};s.s=a,s.f=t;var _={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:s,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(i){return i+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:r,y:"rok",yy:r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};i.locale(_,null,!0);export{_ as default}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,g as s,h as e}from"./p-6eb37ed2.js";import{l as a,g as h}from"./p-2058b5d9.js";import{P as n}from"./p-691cb5f4.js";import{g as l,c as o,h as r}from"./p-d572627c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-74fbad1c.js";import"./p-d0d020a5.js";import"./p-7530a02f.js";import"./p-9bb44f57.js";import"./p-80cb7c73.js";const c=class{constructor(s){t(this,s),this.featureSelect=i(this,"featureSelect",7),this.selectedLayerId=void 0,this.mapView=void 0,this.noFeaturesFoundMsg=void 0,this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.sortingInfo=void 0,this.whereClause=void 0,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!0,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.reportingOptions=void 0,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._translations=void 0}get el(){return s(this)}Color;esriConfig;symbolUtils;_popupUtils;_selectedLayer;_highlightHandle;_pagination;_validFieldTypes=["small-integer","integer","big-integer","single","long"];_abbreviatedLikeCount;_likeFieldAvailable=!1;async selectedLayerWatchHandler(){this._selectedLayer=await l(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async refresh(t){if(t){const t={target:{startItem:this._pagination.startItem}};await this.pageChanged(t)}else await this.initializeFeatureItems()}featureSelect;async componentWillLoad(){await this.initModules(),await this._getTranslations(),this._isLoading=this.showInitialLoading,this._popupUtils=new n,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await l(this.mapView,this.selectedLayerId))}async componentDidLoad(){await this.initializeFeatureItems()}render(){return e("calcite-panel",{key:"39a9380a3de0bfc4389a460af4f57b26b6273660","full-height":!0,"full-width":!0},this._isLoading&&e("calcite-loader",{key:"389914a90d25a49e9f79e3a71add9ab402e1f8f1",label:"",scale:"m"}),this.showErrorWhenNoFeatures&&0===this._featureItems.length&&!this._isLoading&&e("calcite-notice",{key:"4b7b277c94ec26d8b12596f4a0cee3b7de6e4505",class:"error-msg",icon:"feature-details",kind:"info",open:!0},e("div",{key:"ec9dbc1b3ea28b339dc3448632dcbe3c36e088fb",slot:"message"},this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg)),e("calcite-list",{key:"ae8a3cdbb4cf0122a18156bbfdf8339ce0336bf6","selection-appearance":"border","selection-mode":"none"},!this._isLoading&&this._featureItems.length>0&&this._featureItems),this._featuresCount>this.pageSize&&e("div",{key:"5dd9fbc5aa5abb9af06569128424d4da19e7dd76",class:"width-full",slot:"footer"},e("calcite-pagination",{key:"c63a09112957d6391702176bfc640d2a17a4f086",class:"pagination","full-width":!0,onCalcitePaginationChange:this.pageChanged.bind(this),"page-size":this.pageSize,ref:t=>this._pagination=t,"start-item":"1","total-items":this._featuresCount})))}async initModules(){const[t,i,s]=await a(["esri/Color","esri/config","esri/symbols/support/symbolUtils"]);this.Color=t,this.esriConfig=i,this.symbolUtils=s}async getWhereCondition(){let t="1=1";if(this.whereClause&&(t=this.whereClause),this._selectedLayer?.definitionExpression&&(t=t+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){const i=await o(this.mapView,this.selectedLayerId);i?.filter?.where&&(t=t+" AND "+i.filter.where)}return t}async initializeFeatureItems(){if(this._selectedLayer){this._pagination?.goTo("start"),this._isLoading=this.showInitialLoading,this._featureItems=await this.queryPage(0);const t={where:await this.getWhereCondition()};this._featuresCount=await this._selectedLayer.queryFeatureCount(t),this._isLoading=!1}}async pageChanged(t){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=null);const i=t.target.startItem-1;this._featureItems=await this.queryPage(i),this._isLoading=!1}async featureClicked(t,i){if(this.clearHighlights(),this.highlightOnMap){const i=Number(t.target.value),s=await o(this.mapView,this.selectedLayerId);this._highlightHandle=await r([i],s,this.mapView,!0)}await this.emitSelectedFeature(i)}async emitSelectedFeature(t){const i=t.layer,s=i.createQuery();s.returnGeometry=!0,s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this.featureSelect.emit(e.features[0])}async onFeatureHover(t){if(this.clearHighlights(),this.highlightOnHover){const i=t.getObjectId(),s=await o(this.mapView,this.selectedLayerId);s.highlightOptions={color:new this.Color("#FFFF00")},this._highlightHandle=s.highlight([i])}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(t){const i=this._selectedLayer,s=this.sortingInfo?.field?this.sortingInfo.field:i.objectIdField,e=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),h={start:t,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView.spatialReference.toJSON()};s&&e&&(h.orderByFields=[s.toString()+" "+e]);const n=await i.queryFeatures(h);return await this.createFeatureItem(n)}async createFeatureItem(t){const i=t?.features,s=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,e=i.map((async t=>{const i=await this._popupUtils.getPopupTitle(t,this.mapView.map);let e,a;if(this.showUserImageInList){const i=this._selectedLayer.editFieldsInfo?.creatorField.toLowerCase();i&&(e=await this.getUserInformation(t,i))}return this.showFeatureSymbol&&(a=await this.getFeatureSymbol(t)),s&&this.getAbbreviatedLikeCount(t),this.getFeatureItem(t,i,a,e)}));return Promise.all(e)}getAbbreviatedLikeCount(t){const i=this._selectedLayer,s=this.reportingOptions[i.id].likeField;i.fields.forEach((e=>{if(this._validFieldTypes.indexOf(e.type)>-1&&e.name===s&&this.reportingOptions[i.id].like){this._likeFieldAvailable=!0;let i=t.attributes[s]||0;i>999&&(i=i>999999?this._translations.millionsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e6).toString()):this._translations.thousandsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e3).toString())),this._abbreviatedLikeCount=i}}))}getFeatureItem(t,i,s,a){const h=t.attributes[this._selectedLayer.objectIdField].toString();i=i??h;const n=Number(t.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField]).toLocaleString(),l="small"===this.textSize?"feature-list-popup-title-small":"feature-list-popup-title",o=this.showUserImageInList||this.showFeatureSymbol?"feature-list-popup-title-padding-reduced":"feature-list-popup-title-padding";return e("calcite-list-item",{onCalciteListItemSelect:i=>{this.featureClicked(i,t)},onMouseLeave:()=>{this.clearHighlights()},onMouseOver:()=>{this.onFeatureHover(t)},value:h},this.showUserImageInList&&e("calcite-avatar",{class:"profile-img","full-name":a?.fullName,id:a?.id,scale:"m",slot:"content-start",thumbnail:a?.userProfileUrl}),this.showFeatureSymbol&&e("div",{class:"feature-symbol",ref:t=>t&&t.appendChild(s),slot:"content-start"}),e("div",{class:`${l} ${o}`,slot:"content-start"},i),this._likeFieldAvailable&&e("div",{class:"like-container",id:h.concat("like"),slot:"content-end"},e("span",null,this._abbreviatedLikeCount),e("calcite-icon",{icon:"thumbs-up",scale:"s"}),e("calcite-tooltip",{overlayPositioning:"fixed",placement:"top","reference-element":h.concat("like")},n)),e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}async getUserInformation(t,i){const s=this.mapView.map.portalItem.portal?.credential?.token;let e=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${t.attributes[i]}?f=json&returnUserLicensedItems=true`;s&&(e+=`&token=${s}`);const a=await fetch(e),h=await a.json();let n=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${h?.username??t.attributes[i]}/info/blob.png`;return h?.access&&s&&(n+=`?token=${s}`),h.userProfileUrl=n,h}async getFeatureSymbol(t){const i=document.createElement("div");return await this.symbolUtils.getDisplayedSymbol(t).then((async t=>{if(t&&await(this.symbolUtils?.renderPreviewHTML(t,{node:i})),i.children?.length){const t=i.children[0];if(t){const i=Number(t.getAttribute("height")),s=Number(t.getAttribute("width"));s>30?t.setAttribute("width","30"):s<19&&t.setAttribute("width","20"),t.setAttribute("viewBox",`0 0 ${s} ${i}`)}}})),i}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{selectedLayerId:["selectedLayerWatchHandler"],sortingInfo:["sortingInfoWatchHandler"],whereClause:["whereClauseHandler"]}}};c.style=":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;white-space:pre-line}.feature-list-popup-title-small{font-size:small;white-space:pre-line}.feature-list-popup-title-padding{padding:10px 12px}.feature-list-popup-title-padding-reduced{padding:10px 0}.profile-img{margin:0 0.75rem;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray !important;font-style:italic}.feature-symbol{padding:3px 10px;min-width:30px;display:flex;justify-content:center}";export{c as feature_list}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as s,h as i,g as e}from"./p-6eb37ed2.js";import{C as a,n,h as o,a as l,o as h,b as r,c,D as d,d as p,e as u,g as f,p as b,f as m,i as g,R as v,H as w,O as C,t as x,j as y,k,S as A,l as S,m as D}from"./p-3792492a.js";import{i as j,a as $,f as z}from"./p-c25e8c35.js";import{c as F,d as O,u as I,I as L}from"./p-1ce2608d.js";import{i as N}from"./p-64a34d92.js";import{c as M,s as P,a as K}from"./p-3e828614.js";import{c as U,d as E}from"./p-304cef31.js";import{r as H,c as R,a as T}from"./p-d9e930c8.js";import{u as q,s as B,c as V,d as J}from"./p-1017609e.js";import{t as W}from"./p-29edb87c.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-4b9b7778.js";import"./p-1c249530.js";import"./p-c8d3207e.js";const X=class{constructor(e){t(this,e),this.calciteColorPickerChange=s(this,"calciteColorPickerChange",6),this.calciteColorPickerInput=s(this,"calciteColorPickerInput",6),this.internalColorUpdateContext=null,this.isActiveChannelInputEmpty=!1,this.mode=a.HEX,this.shiftKeyChannelAdjustment=0,this.upOrDownArrowKeyTracker=null,this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)},this.handleColorFieldScopeKeyDown=t=>{const{key:s}=t,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[s]&&(t.preventDefault(),this.scopeOrientation="ArrowDown"===s||"ArrowUp"===s?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[s].x||0,this.colorFieldScopeTop+i[s].y||0,!1))},this.handleHueScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(e[i]){t.preventDefault();const a=e[i]*s,n=this.baseColorFieldColor.hue(),o=this.baseColorFieldColor.hue(n+a);this.internalColorSet(o,!1)}},this.handleHexInputChange=t=>{t.stopPropagation();const{isClearable:s,color:i}=this,e=t.target.value;!s||e?e!==(i&&n(o(i,u(this.mode))))&&this.internalColorSet(l(e)):this.internalColorSet(null)},this.handleSavedColorSelect=t=>{this.internalColorSet(l(t.currentTarget.color))},this.handleChannelInput=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=3===i?C.max:"rgb"===this.channelMode?v[Object.keys(v)[i]]:w[Object.keys(w)[i]];let a;if(s.value){const t=Number(s.value);a=R(t+this.shiftKeyChannelAdjustment,0,e).toString()}else a="",this.isActiveChannelInputEmpty=!0,this.upOrDownArrowKeyTracker=null;s.value=a,(""!==a&&0!==this.shiftKeyChannelAdjustment||""!==a)&&this.handleChannelChange(t)},this.handleChannelBlur=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=[...this.channels];!s.value&&!this.isClearable&&(s.value=e[i]?.toString())},this.handleChannelFocus=t=>{t.currentTarget.selectText()},this.handleChannelChange=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=[...this.channels];if(this.isClearable&&!s.value)return this.channels=[null,null,null,null],void this.internalColorSet(null);const a=3===i;this.isActiveChannelInputEmpty&&this.upOrDownArrowKeyTracker&&(s.value="up"===this.upOrDownArrowKeyTracker?(e[i]+1<=this.getChannelInputLimit(i)?e[i]+1:this.getChannelInputLimit(i)).toString():(e[i]-1>=0?e[i]-1:0).toString(),this.isActiveChannelInputEmpty=!1,this.upOrDownArrowKeyTracker=null);const n=s.value?Number(s.value):e[i];e[i]=a?h(n):n,this.updateColorFromChannels(e)},this.handleSavedColorKeyDown=t=>{N(t.key)&&(t.preventDefault(),this.handleSavedColorSelect(t))},this.handleColorFieldPointerDown=t=>{this.handleCanvasControlPointerDown(t,this.colorFieldRenderingContext,this.captureColorFieldColor,this.colorFieldScopeNode)},this.handleHueSliderPointerDown=t=>{this.handleCanvasControlPointerDown(t,this.hueSliderRenderingContext,this.captureHueSliderColor,this.hueScopeNode)},this.handleOpacitySliderPointerDown=t=>{this.handleCanvasControlPointerDown(t,this.opacitySliderRenderingContext,this.captureOpacitySliderValue,this.opacityScopeNode)},this.globalPointerUpHandler=t=>{if(!j(t))return;const s=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),s&&this.calciteColorPickerChange.emit()},this.globalPointerMoveHandler=t=>{const{activeCanvasInfo:s,el:i}=this;if(!i.isConnected||!s)return;const{context:e,bounds:a}=s;let n,o;const{clientX:l,clientY:h}=t;e.canvas.matches(":hover")?(n=l-a.x,o=h-a.y):(n=l<a.x+a.width&&l>a.x?l-a.x:l<a.x?0:a.width,o=h<a.y+a.height&&h>a.y?h-a.y:h<a.y?0:a.height),e===this.colorFieldRenderingContext?this.captureColorFieldColor(n,o,!1):e===this.hueSliderRenderingContext?this.captureHueSliderColor(n):e===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(n)},this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t},this.storeHueScope=t=>{this.hueScopeNode=t},this.renderChannelsTabTitle=t=>{const{channelMode:s,messages:e}=this;return i("calcite-tab-title",{class:r.colorMode,"data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate,selected:t===s},"rgb"===t?e.rgb:e.hsv)},this.renderChannelsTab=t=>{const{isClearable:s,channelMode:e,channels:a,messages:n,alphaChannel:o}=this,l=t===e,h="rgb"===t?[n.red,n.green,n.blue]:[n.hue,n.saturation,n.value],d=$(this.el),p=o?a:a.slice(0,3);return i("calcite-tab",{class:r.control,key:t,selected:l},i("div",{class:r.channels,dir:"ltr"},p.map(((t,i)=>{const e=3===i;return e&&(t=s&&!t?t:c(t)),this.renderChannel(t,i,h[i],d,e?"%":"")}))))},this.renderChannel=(t,s,e,a,n)=>i("calcite-input-number",{class:r.channel,"data-channel-index":s,dir:a,key:s,label:e,lang:this.effectiveLocale,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.handleChannelChange,onCalciteInputNumberInput:this.handleChannelInput,onCalciteInternalInputNumberBlur:this.handleChannelBlur,onCalciteInternalInputNumberFocus:this.handleChannelFocus,onKeyDown:this.handleKeyDown,scale:"l"===this.scale?"m":"s",style:{marginLeft:s>0&&("s"!==this.scale||!this.alphaChannel||3!==s)?"-1px":""},suffixText:n,value:t?.toString()}),this.deleteColor=()=>{const t=o(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(t)>-1))return;const s=this.savedColors.filter((s=>s!==t));this.savedColors=s,this.storageId&&localStorage.setItem(`${S}${this.storageId}`,JSON.stringify(s))},this.saveColor=()=>{const t=o(this.color,this.alphaChannel);if(this.savedColors.indexOf(t)>-1)return;const s=[...this.savedColors,t];this.savedColors=s,this.storageId&&localStorage.setItem(`${S}${this.storageId}`,JSON.stringify(s))},this.drawColorControls=W(((t="all")=>{"all"!==t&&"color-field"!==t||!this.colorFieldRenderingContext||this.drawColorField(),"all"!==t&&"hue-slider"!==t||!this.hueSliderRenderingContext||this.drawHueSlider(),this.alphaChannel&&("all"===t||"opacity-slider"===t)&&this.opacitySliderRenderingContext&&this.drawOpacitySlider()}),16),this.captureColorFieldColor=(t,s,i=!0)=>{const{dimensions:{colorField:{height:e,width:a}}}=this,n=Math.round(w.s/a*t),o=Math.round(w.v/e*(e-s));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(n).value(o),i)},this.initColorField=t=>{this.colorFieldRenderingContext=t.getContext("2d"),this.updateCanvasSize("color-field"),this.drawColorControls()},this.initHueSlider=t=>{this.hueSliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("hue-slider"),this.drawHueSlider()},this.initOpacitySlider=t=>{t&&(this.opacitySliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("opacity-slider"),this.drawOpacitySlider())},this.storeOpacityScope=t=>{this.opacityScopeNode=t},this.handleOpacityScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(e[i]){t.preventDefault();const a=e[i]*s,n=this.baseColorFieldColor.alpha(),o=this.baseColorFieldColor.alpha(n+a);this.internalColorSet(o,!1)}},this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.clearable=!1,this.color=d,this.disabled=!1,this.format="auto",this.hideChannels=!1,this.hexDisabled=!1,this.hideHex=!1,this.hideSaved=!1,this.savedDisabled=!1,this.scale="m",this.storageId=void 0,this.messageOverrides=void 0,this.numberingSystem=void 0,this.value=n(o(d,this.alphaChannel)),this.channelMode="rgb",this.channels=this.toChannels(d),this.defaultMessages=void 0,this.dimensions=p.m,this.effectiveLocale="",this.messages=void 0,this.savedColors=[],this.colorFieldScopeTop=void 0,this.colorFieldScopeLeft=void 0,this.hueScopeLeft=void 0,this.opacityScopeLeft=void 0,this.scopeOrientation=void 0}handleAllowEmptyOrClearableChange(){this.isClearable=this.clearable||this.allowEmpty}handleAlphaChannelChange(t){const{format:s}=this;t&&"auto"!==s&&!u(s)&&(console.warn(`ignoring alphaChannel as the current format (${s}) does not support alpha`),this.alphaChannel=!1)}handleAlphaChannelDimensionsChange(){this.effectiveSliderWidth=f(this.dimensions,this.alphaChannel),this.drawColorControls()}handleColorChange(t,s){this.drawColorControls(),this.updateChannelsFromColor(t),this.previousColor=s}handleFormatOrAlphaChannelChange(){this.setMode(this.format),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(t="m"){this.updateDimensions(t),this.updateCanvasSize("all"),this.drawColorControls()}onMessagesChange(){}handleValueChange(t,s){const{isClearable:i,format:e}=this;let a=!1;if(!i||t){const i=b(t);if(!i||"auto"!==e&&i!==e)return this.showIncompatibleColorWarning(t,e),void(this.value=s);a=this.mode!==i,this.setMode(i,null===this.internalColorUpdateContext)}const n=this.activeCanvasInfo;if("initial"===this.internalColorUpdateContext)return;if("user-interaction"===this.internalColorUpdateContext)return this.calciteColorPickerInput.emit(),void(n||this.calciteColorPickerChange.emit());const o=i&&!t?null:l(null!=t&&"object"==typeof t&&u(this.mode)?m(t):t),h=!g(o,this.color);(a||h)&&this.internalColorSet(o,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}get baseColorFieldColor(){return this.color||this.previousColor||d}effectiveLocaleChange(){q(this,this.effectiveLocale)}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:s}=t;if("ArrowUp"!==s&&"ArrowDown"!==s||!t.composedPath().some((t=>t.classList?.contains(r.channel))))return;const{shiftKey:i}=t;if(t.preventDefault(),!this.color)return this.internalColorSet(this.previousColor),void t.stopPropagation();this.shiftKeyChannelAdjustment="ArrowUp"===s&&i?9:"ArrowDown"===s&&i?-9:0,"ArrowUp"===s&&(this.upOrDownArrowKeyTracker="up"),"ArrowDown"===s&&(this.upOrDownArrowKeyTracker="down")}getChannelInputLimit(t){return"rgb"===this.channelMode?v[Object.keys(v)[t]]:w[Object.keys(w)[t]]}focusScope(t){requestAnimationFrame((()=>{t.focus()}))}handleCanvasControlPointerDown(t,s,i,e){j(t)&&(window.addEventListener("pointermove",this.globalPointerMoveHandler),window.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:s,bounds:s.canvas.getBoundingClientRect()},i.call(this,t.offsetX,t.offsetY),this.focusScope(e))}async setFocus(){await M(this),z(this.el)}async componentWillLoad(){P(this),this.handleAllowEmptyOrClearableChange(),this.handleAlphaChannelDimensionsChange();const{isClearable:t,color:s,format:i,value:e}=this,a=t&&!e,n=b(e),o=a||"auto"===i&&n||i===n,h=a?null:o?l(e):s;o||this.showIncompatibleColorWarning(e,i),this.setMode(i,!1),this.internalColorSet(h,!1,"initial"),this.updateDimensions(this.scale);const r=`${S}${this.storageId}`;this.storageId&&localStorage.getItem(r)&&(this.savedColors=JSON.parse(localStorage.getItem(r))),await B(this)}connectedCallback(){F(this),U(this),V(this)}componentDidLoad(){K(this)}disconnectedCallback(){window.removeEventListener("pointermove",this.globalPointerMoveHandler),window.removeEventListener("pointerup",this.globalPointerUpHandler),O(this),E(this),J(this)}componentDidRender(){I(this)}render(){const{channelsDisabled:t,color:s,colorFieldScopeLeft:e,colorFieldScopeTop:a,dimensions:{thumb:{radius:n}},hexDisabled:l,hideChannels:h,hideHex:p,hideSaved:u,hueScopeLeft:f,messages:b,alphaChannel:m,opacityScopeLeft:g,savedColors:v,savedDisabled:x,scale:y,scopeOrientation:k}=this,A=this.effectiveSliderWidth,S=s?o(s,m):null,D=n,j=f??A*d.hue()/w.h,$=n,z=g??A*c(d.alpha())/C.max,F=null===s,O="vertical"===k,I=l||p,N=t||h,M=x||u,[P,K]=this.getAdjustedScopePosition(e,a),[U,E]=this.getAdjustedScopePosition(j,D),[H,R]=this.getAdjustedScopePosition(z,$);return i(L,{key:"cd7c2469429382b1adee89c87c4774160795203c",disabled:this.disabled},i("div",{key:"dd6809c82d3ffe64b8eaebd0669e7f61c0ea87d1",class:r.container},i("div",{key:"888c08c46fec112861b076c3cf24b9be7b4a66cd",class:r.controlAndScope},i("canvas",{key:"23631c824c61abb2a3ca74e35bffc8be0364a052",class:r.colorField,onPointerDown:this.handleColorFieldPointerDown,ref:this.initColorField}),i("div",{key:"a5271bbe3c4f45e3cf7736dd8f4201f54420bfb7","aria-label":O?b.value:b.saturation,"aria-valuemax":O?w.v:w.s,"aria-valuemin":"0","aria-valuenow":(O?s?.saturationv():s?.value())||"0",class:{[r.scope]:!0,[r.colorFieldScope]:!0},onKeyDown:this.handleColorFieldScopeKeyDown,ref:this.storeColorFieldScope,role:"slider",style:{top:`${K||0}px`,left:`${P||0}px`},tabindex:"0"})),i("div",{key:"eee6c10107513fd46316d2ba7510977b72771cd2",class:r.previewAndSliders},i("calcite-color-picker-swatch",{key:"964481e1c6c6c050df076e8cdc9d7e5b2cbeec79",class:r.preview,color:S,scale:this.alphaChannel?"l":this.scale}),i("div",{key:"f915032fe532e140005b0ff1253b0a971a17b079",class:r.sliders},i("div",{key:"2bcb609ce36df2d0f75abb767ee6dc88c0c9ea3b",class:r.controlAndScope},i("canvas",{key:"99e268a194b785a8ec97fed67a523c602def2a94",class:{[r.slider]:!0,[r.hueSlider]:!0},onPointerDown:this.handleHueSliderPointerDown,ref:this.initHueSlider}),i("div",{key:"4cdc0f98048a48e070430bf4f1f817571534f31b","aria-label":b.hue,"aria-valuemax":w.h,"aria-valuemin":"0","aria-valuenow":s?.round().hue()||d.round().hue(),class:{[r.scope]:!0,[r.hueScope]:!0},onKeyDown:this.handleHueScopeKeyDown,ref:this.storeHueScope,role:"slider",style:{top:`${E}px`,left:`${U}px`},tabindex:"0"})),m?i("div",{class:r.controlAndScope},i("canvas",{class:{[r.slider]:!0,[r.opacitySlider]:!0},onPointerDown:this.handleOpacitySliderPointerDown,ref:this.initOpacitySlider}),i("div",{"aria-label":b.opacity,"aria-valuemax":C.max,"aria-valuemin":C.min,"aria-valuenow":(s||d).round().alpha(),class:{[r.scope]:!0,[r.opacityScope]:!0},onKeyDown:this.handleOpacityScopeKeyDown,ref:this.storeOpacityScope,role:"slider",style:{top:`${R}px`,left:`${H}px`},tabindex:"0"})):null)),I&&N?null:i("div",{class:{[r.controlSection]:!0,[r.section]:!0}},i("div",{class:r.hexAndChannelsGroup},I?null:i("div",{class:r.hexOptions},i("calcite-color-picker-hex-input",{allowEmpty:this.isClearable,alphaChannel:m,class:r.control,messages:b,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:y,value:S})),N?null:i("calcite-tabs",{class:{[r.colorModeContainer]:!0,[r.splitSection]:!0},scale:"l"===y?"m":"s"},i("calcite-tab-nav",{slot:"title-group"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv")))),M?null:i("div",{class:{[r.savedColorsSection]:!0,[r.section]:!0}},i("div",{class:r.header},i("label",null,b.saved),i("div",{class:r.savedColorsButtons},i("calcite-button",{appearance:"transparent",class:r.deleteColor,disabled:F,iconStart:"minus",kind:"neutral",label:b.deleteColor,onClick:this.deleteColor,scale:y,type:"button"}),i("calcite-button",{appearance:"transparent",class:r.saveColor,disabled:F,iconStart:"plus",kind:"neutral",label:b.saveColor,onClick:this.saveColor,scale:y,type:"button"}))),v.length>0?i("div",{class:r.savedColors},[...v.map((t=>i("calcite-color-picker-swatch",{class:r.savedColor,color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:y,tabIndex:0})))]):null)))}handleKeyDown(t){"Enter"===t.key&&t.preventDefault()}showIncompatibleColorWarning(t,s){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${s})`)}setMode(t,s=!0){this.mode=this.ensureCompatibleMode("auto"===t?this.mode:t,s)}ensureCompatibleMode(t,s){const{alphaChannel:i}=this,e=u(t);if(i&&!e){const i=D(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}if(!i&&e){const i=x(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}return t}captureHueSliderColor(t){this.internalColorSet(this.baseColorFieldColor.hue(k/this.effectiveSliderWidth*t),!1)}captureOpacitySliderValue(t){const s=h(C.max/this.effectiveSliderWidth*t);this.internalColorSet(this.baseColorFieldColor.alpha(s),!1)}internalColorSet(t,s=!0,i="user-interaction"){s&&g(t,this.color)||(this.internalColorUpdateContext=i,this.color=t,this.value=this.toValue(t),this.internalColorUpdateContext=null)}toValue(t,s=this.mode){if(!t)return null;if(s.includes("hex")){const i=s===a.HEXA;return n(o(t.round(),i),i)}if(s.includes("-css")){const i=t[s.replace("-css","").replace("a","")]().round().string();return(s.endsWith("a")||s.endsWith("a-css"))&&1===t.alpha()?`${i.slice(0,3)}a(${i.slice(4,-1)}, ${t.alpha()})`:i}const i=t[x(s)]().round().object();return s.endsWith("a")?y(i):i}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:s}}}=this;return 2*s-t}updateDimensions(t="m"){this.dimensions=p[t]}drawColorField(){const t=this.colorFieldRenderingContext,{dimensions:{colorField:{height:s,width:i}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),t.fillRect(0,0,i,s);const e=t.createLinearGradient(0,0,i,0);e.addColorStop(0,"rgba(255,255,255,1)"),e.addColorStop(1,"rgba(255,255,255,0)"),t.fillStyle=e,t.fillRect(0,0,i,s);const a=t.createLinearGradient(0,0,0,s);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),t.fillStyle=a,t.fillRect(0,0,i,s),this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:s,width:i}){if(!t)return;const e=window.devicePixelRatio||1;t.width=i*e,t.height=s*e,t.style.height=`${s}px`,t.style.width=`${i}px`,t.getContext("2d").scale(e,e)}updateCanvasSize(t="all"){const{dimensions:s}=this;"all"!==t&&"color-field"!==t||this.setCanvasContextSize(this.colorFieldRenderingContext?.canvas,s.colorField);const i={width:this.effectiveSliderWidth,height:s.slider.height+2*(s.thumb.radius-s.slider.height/2)};"all"!==t&&"hue-slider"!==t||this.setCanvasContextSize(this.hueSliderRenderingContext?.canvas,i),"all"!==t&&"opacity-slider"!==t||this.setCanvasContextSize(this.opacitySliderRenderingContext?.canvas,i)}drawActiveColorFieldColor(){const{color:t}=this;if(!t)return;const s=t.hsv(),{dimensions:{colorField:{height:i,width:e},thumb:{radius:a}}}=this,n=s.saturationv()/(w.s/e),o=i-s.value()/(w.v/i);requestAnimationFrame((()=>{this.colorFieldScopeLeft=n,this.colorFieldScopeTop=o})),this.drawThumb(this.colorFieldRenderingContext,a,n,o,s,!1)}drawThumb(t,s,i,e,a,n){const o=2*Math.PI;if(t.beginPath(),t.arc(i,e,s,0,o),t.fillStyle="#fff",t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),n&&a.alpha()<1){const a=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.beginPath(),t.arc(i,e,s-3,0,o),t.fillStyle=a,t.fill()}t.globalCompositeOperation="source-atop",t.beginPath(),t.arc(i,e,s-3,0,o);const l=n?a.alpha():1;t.fillStyle=a.rgb().alpha(l).string(),t.fill(),t.globalCompositeOperation="source-over"}drawActiveHueSliderColor(){const{color:t}=this;if(!t)return;const s=t.hsv().saturationv(100).value(100),{dimensions:{thumb:{radius:i}}}=this,e=this.effectiveSliderWidth,a=s.hue()/(k/e),n=i,o=this.getSliderBoundX(a,e,i);requestAnimationFrame((()=>{this.hueScopeLeft=o})),this.drawThumb(this.hueSliderRenderingContext,i,o,n,s,!1)}drawHueSlider(){const t=this.hueSliderRenderingContext,{dimensions:{slider:{height:s},thumb:{radius:i}}}=this,e=i-s/2,a=this.effectiveSliderWidth,n=t.createLinearGradient(0,0,a,0),o=["red","yellow","lime","cyan","blue","magenta","#ff0004"],h=1/(o.length-1);let r=0;o.forEach((t=>{n.addColorStop(r,l(t).string()),r+=h})),t.clearRect(0,0,a,s+2*this.getSliderCapSpacing()),this.drawSliderPath(t,s,a,0,e),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){const t=this.opacitySliderRenderingContext,{baseColorFieldColor:s,dimensions:{slider:{height:i},thumb:{radius:e}}}=this,a=e-i/2,n=this.effectiveSliderWidth;t.clearRect(0,0,n,i+2*this.getSliderCapSpacing());const o=t.createLinearGradient(0,a,n,0),l=s.rgb().alpha(0),h=s.rgb().alpha(.5),r=s.rgb().alpha(1);o.addColorStop(0,l.string()),o.addColorStop(.5,h.string()),o.addColorStop(1,r.string()),this.drawSliderPath(t,i,n,0,a);const c=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.fillStyle=c,t.fill(),t.fillStyle=o,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(t,s,i,e,a){const n=s/2+1;t.beginPath(),t.moveTo(e+n,a),t.lineTo(e+i-n,a),t.quadraticCurveTo(e+i,a,e+i,a+n),t.lineTo(e+i,a+s-n),t.quadraticCurveTo(e+i,a+s,e+i-n,a+s),t.lineTo(e+n,a+s),t.quadraticCurveTo(e,a+s,e,a+s-n),t.lineTo(e,a+n),t.quadraticCurveTo(e,a,e+n,a),t.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;const t=document.createElement("canvas");t.width=10,t.height=10;const s=t.getContext("2d");return s.fillStyle="#ccc",s.fillRect(0,0,10,10),s.fillStyle="#fff",s.fillRect(0,0,5,5),s.fillRect(5,5,5,5),this.checkerPattern=t,t}drawActiveOpacitySliderColor(){const{color:t}=this;if(!t)return;const s=t,{dimensions:{thumb:{radius:i}}}=this,e=this.effectiveSliderWidth,a=c(s.alpha())/(C.max/e),n=i,o=this.getSliderBoundX(a,e,i);requestAnimationFrame((()=>{this.opacityScopeLeft=o})),this.drawThumb(this.opacitySliderRenderingContext,i,o,n,s,!0)}getSliderBoundX(t,s,i){const e=T(t,s,i);return 0===e?t:-1===e?H(t,0,s,i,2*i):H(t,0,s,s-2*i,s-i)}updateColorFromChannels(t){this.internalColorSet(l(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null,null]}toChannels(t){const{channelMode:s}=this,i=t[s]().array().map(((t,s)=>3===s?t:Math.floor(t)));return 3===i.length&&i.push(1),i}getAdjustedScopePosition(t,s){return[t-A/2,s-A/2]}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{allowEmpty:["handleAllowEmptyOrClearableChange"],clearable:["handleAllowEmptyOrClearableChange"],alphaChannel:["handleAlphaChannelChange","handleAlphaChannelDimensionsChange","handleFormatOrAlphaChannelChange"],dimensions:["handleAlphaChannelDimensionsChange"],color:["handleColorChange"],format:["handleFormatOrAlphaChannelChange"],scale:["handleScaleChange"],messageOverrides:["onMessagesChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleChange"]}}};X.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-color-picker-spacing:8px}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}:host([scale=m]){--calcite-color-picker-spacing:12px}:host([scale=m]) .container{inline-size:272px}:host([scale=l]){--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, 32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-color-foreground-1);display:inline-block;border:1px solid var(--calcite-color-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.color-field,.control-and-scope{-webkit-user-select:none;-moz-user-select:none;user-select:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope: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 );outline-offset:6px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing);gap:var(--calcite-spacing-xxs)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-color-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex;row-gap:0.125rem}.channel[data-channel-index="3"]{inline-size:159px}:host([scale=s]) .channels{flex-wrap:wrap}:host([scale=s]) .channel{flex-basis:30%;flex-grow:1}:host([scale=s]) .channel[data-channel-index="3"]{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .channel[data-channel-index="3"]{inline-size:131px}.saved-colors{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}';export{X as calcite_color_picker}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as _}from"./p-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var p="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),m="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),r=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function t(_,p,m){var r,t;return"m"===m?p?"хвилина":"хвилину":"h"===m?p?"година":"годину":_+" "+(r=+_,t={ss:p?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:p?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:p?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[m].split("_"),r%10==1&&r%100!=11?t[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?t[1]:t[2])}var s=function(_,t){return r.test(t)?p[_.month()]:m[_.month()]};s.s=m,s.f=p;var o={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:s,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:t,mm:t,h:t,hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}};_.locale(o,null,!0);export{o as default}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as e,h as i,H as s,g as o}from"./p-6eb37ed2.js";import{f as a,t as n,d as c,e as r}from"./p-c25e8c35.js";import{f as l,c as d,d as h,a as p,F as m,r as f}from"./p-8bb2c169.js";import{g as b}from"./p-aaa56cbf.js";import{c as u,u as w,d as g,I as v}from"./p-1ce2608d.js";import{i as y}from"./p-64a34d92.js";import{c as k,s as x,a as D}from"./p-3e828614.js";import{c as I}from"./p-1c249530.js";import{o as z}from"./p-79f5a8be.js";import{g as E}from"./p-27d462c0.js";import{C}from"./p-b5575639.js";import"./p-8bfa18b7.js";import"./p-4b9b7778.js";import"./p-c8d3207e.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.2
|
11
|
+
*/const H=class{constructor(i){t(this,i),this.calciteDropdownSelect=e(this,"calciteDropdownSelect",6),this.calciteDropdownBeforeClose=e(this,"calciteDropdownBeforeClose",6),this.calciteDropdownClose=e(this,"calciteDropdownClose",6),this.calciteDropdownBeforeOpen=e(this,"calciteDropdownBeforeOpen",6),this.calciteDropdownOpen=e(this,"calciteDropdownOpen",6),this.items=[],this.groups=[],this.mutationObserver=I("mutation",(()=>this.updateItems())),this.resizeObserver=I("resize",(t=>this.resizeObserverCallback(t))),this.openTransitionProp="opacity",this.guid=`calcite-dropdown-${b()}`,this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?l(e,t):null},this.updateTriggers=t=>{this.triggers=t.target.assignedElements({flatten:!0}),this.reposition(!0)},this.updateItems=()=>{this.items=this.groups.map((t=>Array.from(t?.querySelectorAll("calcite-dropdown-item")))).reduce(((t,e)=>[...t,...e]),[]),this.updateSelectedItems(),this.reposition(!0),this.items.forEach((t=>t.scale=this.scale))},this.updateGroups=t=>{const e=t.target.assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-dropdown-group")));this.groups=e,this.updateItems(),this.updateGroupScale()},this.resizeObserverCallback=t=>{t.forEach((t=>{const{target:e}=t;e===this.referenceEl?this.setDropdownWidth():e===this.scrollerEl&&this.setMaxScrollerHeight()}))},this.setDropdownWidth=()=>{const{referenceEl:t,scrollerEl:e}=this,i=t?.clientWidth;i&&e&&(e.style.minWidth=`${i}px`)},this.setMaxScrollerHeight=()=>{const{scrollerEl:t}=this;if(!t)return;this.reposition(!0);const e=this.getMaxScrollerHeight();t.style.maxHeight=e>0?`${e}px`:"",this.reposition(!0)},this.setScrollerAndTransitionEl=t=>{this.resizeObserver.observe(t),this.scrollerEl=t,this.transitionEl=t},this.setReferenceEl=t=>{this.referenceEl=t,d(this,this.referenceEl,this.floatingEl),this.resizeObserver.observe(t)},this.setFloatingEl=t=>{this.floatingEl=t,d(this,this.referenceEl,this.floatingEl)},this.keyDownHandler=t=>{if(!t.composedPath().includes(this.referenceEl))return;const{defaultPrevented:e,key:i}=t;if(!e){if(this.open){if("Escape"===i)return this.closeCalciteDropdown(),void t.preventDefault();if(t.shiftKey&&"Tab"===i)return this.closeCalciteDropdown(),void t.preventDefault()}y(i)?(this.openCalciteDropdown(),t.preventDefault()):"Escape"===i&&(this.closeCalciteDropdown(),t.preventDefault())}},this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.getTraversableItems().find((t=>t.selected))||this.items[0])},this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem(),this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.openCalciteDropdown=()=>{this.open=!this.open,this.open&&this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.open=!1,this.closeOnSelectDisabled=!1,this.disabled=!1,this.flipPlacements=void 0,this.maxItems=0,this.overlayPositioning="absolute",this.placement=h,this.selectedItems=[],this.type="click",this.widthScale=void 0,this.scale="m"}openHandler(){z(this),this.disabled?this.open=!1:this.reposition(!0)}handleDisabledChange(t){t||(this.open=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems(),this.updateGroupScale()}async setFocus(){await k(this),a(this.referenceEl)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.open&&(this.openHandler(),z(this)),u(this),this.updateItems(),d(this,this.referenceEl,this.floatingEl)}componentWillLoad(){x(this)}componentDidLoad(){D(this),d(this,this.referenceEl,this.floatingEl)}componentDidRender(){w(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),g(this),p(this,this.referenceEl,this.floatingEl)}render(){const{open:t,guid:e}=this;return i(s,{key:"4b3349c1645b7d39263a20b688f7645d92148f23"},i(v,{key:"db1d56073b9f9db2fbf6eaef824e3f12411dd174",disabled:this.disabled},i("div",{key:"05de1bb5f3641147441f18eaeae104acb06e47c6",class:"calcite-trigger-container",id:`${e}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},i("slot",{key:"39b976c808c4f44983f2d6a056bb128537cf1aae","aria-controls":`${e}-menu`,"aria-expanded":n(t),"aria-haspopup":"menu",name:"trigger",onSlotchange:this.updateTriggers})),i("div",{key:"57ba0f8d3632febcab69b706a73a910f54f09b62","aria-hidden":n(!t),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},i("div",{key:"ae7505fa472d323ad6aed6ea0dd2ab7fdf8e7e59","aria-labelledby":`${e}-menubutton`,class:{"calcite-dropdown-content":!0,[m.animation]:!0,[m.animationActive]:t},id:`${e}-menu`,ref:this.setScrollerAndTransitionEl,role:"menu"},i("slot",{key:"ae94137311b106fbed88dfde346002d87e4efcbb",onSlotchange:this.updateGroups})))))}async reposition(t=!1){const{floatingEl:e,referenceEl:i,placement:s,overlayPositioning:o,filteredFlipPlacements:a}=this;return f(this,{floatingEl:e,referenceEl:i,overlayPositioning:o,placement:s,flipPlacements:a,type:"menu"},t)}closeCalciteDropdownOnClick(t){this.disabled||!this.open||t.composedPath().includes(this.el)||this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(t){this.closeCalciteDropdown(),t.stopPropagation()}closeCalciteDropdownOnOpenEvent(t){t.composedPath().includes(this.el)||(this.open=!1)}pointerEnterHandler(){this.disabled||"hover"!==this.type||this.openCalciteDropdown()}pointerLeaveHandler(){this.disabled||"hover"!==this.type||this.closeCalciteDropdown()}getTraversableItems(){return this.items.filter((t=>!t.disabled&&!t.hidden))}calciteInternalDropdownItemKeyEvent(t){const{keyboardEvent:e}=t.detail,i=e.target,s=this.getTraversableItems();switch(e.key){case"Tab":this.open=!1,this.updateTabIndexOfItems(i);break;case"ArrowDown":c(s,i,"next");break;case"ArrowUp":c(s,i,"previous");break;case"Home":c(s,i,"first");break;case"End":c(s,i,"last")}t.stopPropagation()}handleItemSelect(t){this.updateSelectedItems(),t.stopPropagation(),this.calciteDropdownSelect.emit(),this.closeOnSelectDisabled&&"none"!==t.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown(),t.stopPropagation()}updateGroupScale(){this.groups?.forEach((t=>t.scale=this.scale))}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit()}updateSelectedItems(){this.selectedItems=this.items.filter((t=>t.selected))}getMaxScrollerHeight(){const{maxItems:t,items:e}=this;let i,s=0,o=0;return this.groups.forEach((e=>{t>0&&s<t&&Array.from(e.children).forEach(((e,a)=>{0===a&&(isNaN(i)&&(i=e.offsetTop),o+=i),s<t&&(o+=e.offsetHeight,s+=1)}))})),e.length>t?o:0}closeCalciteDropdown(t=!0){this.open=!1,t&&r(this.triggers[0])}getFocusableElement(t){t&&r(t)}updateTabIndexOfItems(t){this.items.forEach((e=>{e.tabIndex=t!==e?-1:0}))}static get delegatesFocus(){return!0}get el(){return o(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],scale:["handlePropsChange"]}}};H.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:inset, left, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{left:5px}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block:0;left:0}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;block-size:100%;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width-scale=s]){--calcite-dropdown-width:12rem}:host([width-scale=m]){--calcite-dropdown-width:14rem}:host([width-scale=l]){--calcite-dropdown-width:16rem}:host([hidden]){display:none}[hidden]{display:none}";const j=class{constructor(i){t(this,i),this.calciteDropdownItemSelect=e(this,"calciteDropdownItemSelect",6),this.calciteInternalDropdownItemSelect=e(this,"calciteInternalDropdownItemSelect",6),this.calciteInternalDropdownItemKeyEvent=e(this,"calciteInternalDropdownItemKeyEvent",6),this.calciteInternalDropdownCloseRequest=e(this,"calciteInternalDropdownCloseRequest",6),this.disabled=!1,this.href=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.label=void 0,this.rel=void 0,this.selected=!1,this.target=void 0,this.selectionMode="single",this.scale="m"}async setFocus(){await k(this),this.el?.focus()}componentWillLoad(){x(this),this.initialize()}componentDidLoad(){D(this)}connectedCallback(){this.initialize()}componentDidRender(){w(this)}render(){const{href:t,selectionMode:e,label:o,iconFlipRtl:a}=this,c=i("calcite-icon",{key:"46fd6784a80e78a149e6796018f495f33c9fe172",class:C.iconStart,flipRtl:"start"===a||"both"===a,icon:this.iconStart,scale:E(this.scale)}),r=i("span",{key:"feee494a9e26fad963b71e5aacf3abf9084ec463",class:C.itemContent},i("slot",{key:"33e49b095819a250f469d457279f6a340ff31fd4"})),l=i("calcite-icon",{key:"ea58bc58292cf76bcda6826e3c402079b0d3ad69",class:C.iconEnd,flipRtl:"end"===a||"both"===a,icon:this.iconEnd,scale:E(this.scale)}),d=this.iconStart&&this.iconEnd?[c,r,l]:this.iconStart?[c,r]:this.iconEnd?[r,l]:r,h=t?i("a",{"aria-label":o,class:C.link,href:t,ref:t=>this.childLink=t,rel:this.rel,tabIndex:-1,target:this.target},d):d,p=t?null:"single"===e?"menuitemradio":"multiple"===e?"menuitemcheckbox":"menuitem",m="none"!==e?n(this.selected):null,{disabled:f}=this;return i(s,{key:"269693a7a036a7e39f4f8d529695df44f34df22a","aria-checked":m,"aria-label":t?"":o,role:p,tabIndex:f?-1:0},i(v,{key:"0c644e048c9e30b8062cd60f7574c3e8fb631b4c",disabled:f},i("div",{key:"d5c9098d6c3007d5f05b28770074f6833a43d53f",class:{[C.container]:!0,[C.containerNone]:"none"===e}},"none"!==e?i("calcite-icon",{class:C.icon,icon:"multiple"===e?"check":"bullet-point",scale:E(this.scale)}):null,h)))}onClick(){this.emitRequestedItem()}keyDownHandler(t){switch(t.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),t.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),t.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":t.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t})}}updateActiveItemOnChange(t){t.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.determineActiveItem()),t.stopPropagation()}initialize(){this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return o(this)}};j.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;flex-grow:1;align-items:center;outline-color:transparent}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.container a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem}.dropdown-item-icon{position:relative;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}:host([scale=s]) .container{padding-block:0.25rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .dropdown-item-icon,:host([scale=s]) .dropdown-item-icon--start{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .dropdown-item-icon--end{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .dropdown-item-icon,:host([scale=m]) .dropdown-item-icon--start{padding-inline-end:var(--calcite-spacing-md)}:host([scale=m]) .dropdown-item-icon--end{padding-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .container{padding-block:0.625rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .dropdown-item-icon,:host([scale=l]) .dropdown-item-icon--start{padding-inline-end:var(--calcite-spacing-xl)}:host([scale=l]) .dropdown-item-icon--end{padding-inline-start:var(--calcite-spacing-xl)}:host(:focus){outline:2px solid transparent;outline-offset:2px;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 )}:host(:focus) .container{color:var(--calcite-color-text-1);text-decoration-line:none}:host(:hover:not([disabled])) .container,:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none}:host(:hover:not([disabled])) .dropdown-link,:host(:active:not([disabled])) .dropdown-link{color:var(--calcite-color-text-1)}:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-3)}:host([selected]) .container:not(.container--none-selection),:host([selected]) .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .dropdown-link calcite-icon{color:var(--calcite-color-brand)}:host(:hover:not([disabled])) .dropdown-item-icon{color:var(--calcite-color-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-color-brand);opacity:1}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}";export{H as calcite_dropdown,j as calcite_dropdown_item}
|