@esri/solutions-components 0.7.34 → 0.7.35
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-da591f01.js +118 -0
- package/dist/cjs/FloatingArrow-a27ad9b2.js +50 -0
- package/dist/cjs/Heading-bd401e0a.js +25 -0
- package/dist/cjs/Validation-b02c6710.js +20 -0
- package/dist/cjs/app-globals-056e11bb.js +69 -0
- package/dist/cjs/ar-bec1adeb.js +105 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/array-6ea3edb8.js +17 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/bg-e1afda53.js +83 -0
- package/dist/cjs/browser-d08a5f99.js +23 -0
- package/dist/cjs/bs-d14ff0d3.js +52 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +12 -12
- package/dist/cjs/ca-10ee7960.js +72 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +25 -25
- package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-bar.cjs.entry.js +21 -20
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +112 -114
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +20 -19
- package/dist/cjs/calcite-action_2.cjs.entry.js +28 -28
- package/dist/cjs/calcite-alert_4.cjs.entry.js +64 -50
- package/dist/cjs/calcite-avatar.cjs.entry.js +40 -40
- package/dist/cjs/calcite-block-section.cjs.entry.js +29 -29
- package/dist/cjs/calcite-block_2.cjs.entry.js +51 -50
- package/dist/cjs/calcite-button.cjs.entry.js +42 -38
- package/dist/cjs/calcite-card.cjs.entry.js +22 -22
- package/dist/cjs/calcite-checkbox.cjs.entry.js +14 -14
- package/dist/cjs/calcite-chip-group.cjs.entry.js +11 -10
- package/dist/cjs/calcite-chip_2.cjs.entry.js +388 -0
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +19 -19
- package/dist/cjs/calcite-color-picker.cjs.entry.js +21 -17
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-combobox_5.cjs.entry.js +2120 -0
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +25 -28
- package/dist/cjs/calcite-fab.cjs.entry.js +13 -13
- package/dist/cjs/calcite-filter_5.cjs.entry.js +257 -204
- package/dist/cjs/calcite-flow_5.cjs.entry.js +37 -36
- package/dist/cjs/calcite-graph_2.cjs.entry.js +233 -277
- package/dist/cjs/calcite-icon.cjs.entry.js +49 -49
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +24 -24
- package/dist/cjs/calcite-input-date-picker_3.cjs.entry.js +90 -65
- package/dist/cjs/calcite-input-number.cjs.entry.js +73 -52
- package/dist/cjs/calcite-input-text.cjs.entry.js +36 -39
- package/dist/cjs/calcite-input-time-picker-bb2db82c.js +1850 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -19
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +118 -116
- package/dist/cjs/calcite-input_2.cjs.entry.js +80 -59
- package/dist/cjs/calcite-label.cjs.entry.js +9 -9
- package/dist/cjs/calcite-link.cjs.entry.js +13 -13
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +11 -10
- package/dist/cjs/calcite-menu-item.cjs.entry.js +51 -52
- package/dist/cjs/calcite-menu.cjs.entry.js +24 -17
- package/dist/cjs/calcite-meter.cjs.entry.js +24 -24
- package/dist/cjs/calcite-modal.cjs.entry.js +57 -55
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +10 -10
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +7 -7
- package/dist/cjs/calcite-navigation.cjs.entry.js +24 -24
- package/dist/cjs/calcite-notice.cjs.entry.js +23 -23
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +23 -18
- package/dist/cjs/calcite-pagination.cjs.entry.js +30 -30
- package/dist/cjs/calcite-panel_2.cjs.entry.js +58 -40
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +17 -17
- package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +27 -10
- package/dist/cjs/calcite-radio-button.cjs.entry.js +27 -23
- package/dist/cjs/calcite-rating.cjs.entry.js +20 -20
- package/dist/cjs/calcite-scrim.cjs.entry.js +14 -14
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +29 -16
- package/dist/cjs/calcite-sheet.cjs.entry.js +15 -15
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +126 -114
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +23 -21
- package/dist/cjs/calcite-split-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +24 -24
- package/dist/cjs/calcite-stepper.cjs.entry.js +34 -34
- package/dist/cjs/calcite-switch.cjs.entry.js +14 -14
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +41 -32
- package/dist/cjs/calcite-table-row.cjs.entry.js +23 -12
- package/dist/cjs/calcite-table.cjs.entry.js +29 -25
- package/dist/cjs/calcite-text-area.cjs.entry.js +39 -40
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile-select.cjs.entry.js +39 -28
- package/dist/cjs/calcite-tile.cjs.entry.js +16 -21
- package/dist/cjs/calcite-time-picker.cjs.entry.js +44 -44
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +24 -24
- package/dist/cjs/calcite-tip.cjs.entry.js +20 -20
- package/dist/cjs/calcite-tooltip.cjs.entry.js +212 -213
- package/dist/cjs/calcite-tree_2.cjs.entry.js +45 -46
- package/dist/cjs/card-manager_3.cjs.entry.js +5 -5
- package/dist/cjs/component-ac7c3bd8.js +33 -0
- package/dist/cjs/conditionalSlot-9d7b60d1.js +63 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +9 -9
- package/dist/cjs/cs-5d5113c9.js +148 -0
- package/dist/cjs/da-b9b48fb6.js +67 -0
- package/dist/cjs/date-9de4dd6f.js +261 -0
- package/dist/cjs/de-2e3205ac.js +92 -0
- package/dist/cjs/de-at-28bea0b1.js +91 -0
- package/dist/cjs/de-ch-376dd4c7.js +91 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/dom-c9c2c835.js +1087 -0
- package/dist/cjs/downloadUtils-8ca56dfa.js +3136 -0
- package/dist/cjs/el-98aab056.js +67 -0
- package/dist/cjs/en-au-e3c99f1e.js +67 -0
- package/dist/cjs/en-ca-32f77575.js +66 -0
- package/dist/cjs/en-gb-7f5e80a9.js +70 -0
- package/dist/cjs/es-9899072a.js +67 -0
- package/dist/cjs/es-mx-e33cab75.js +66 -0
- package/dist/cjs/et-b55f74e1.js +93 -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/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-aa10ef36.js +116 -0
- package/dist/cjs/filter-b524f88d.js +765 -0
- package/dist/cjs/floating-ui-984cc970.js +1966 -0
- package/dist/cjs/focusTrapComponent-faae7d7e.js +1028 -0
- package/dist/cjs/form-fed676d6.js +316 -0
- package/dist/cjs/fr-52b860d8.js +69 -0
- package/dist/cjs/fr-ch-665d488a.js +67 -0
- package/dist/cjs/guid-ae73cd27.js +26 -0
- package/dist/cjs/he-e572f72c.js +106 -0
- package/dist/cjs/helpers-981dd775.js +903 -0
- package/dist/cjs/hi-d1bf5a03.js +66 -0
- package/dist/cjs/hr-7dbc9a12.js +81 -0
- package/dist/cjs/hu-dcb326c9.js +89 -0
- package/dist/cjs/id-9ac473e6.js +67 -0
- package/dist/cjs/index-105cf2b9.js +2553 -0
- package/dist/cjs/index-ae65e42f.js +201 -0
- package/dist/cjs/index.es-3c36cde7.js +10811 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-export.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-popover.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
- package/dist/cjs/interactive-3ab7044d.js +144 -0
- package/dist/cjs/it-5ee42edc.js +67 -0
- package/dist/cjs/it-ch-54981090.js +67 -0
- package/dist/cjs/ja-f090b8db.js +73 -0
- package/dist/cjs/key-c5504030.js +19 -0
- package/dist/cjs/ko-14650b28.js +73 -0
- package/dist/cjs/label-32573e1d.js +186 -0
- package/dist/cjs/layout-manager.cjs.entry.js +2 -2
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadable-5a794992.js +94 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-8c42ba7a.js +161 -0
- package/dist/cjs/locale-d237c9d5.js +584 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/lt-7d826627.js +98 -0
- package/dist/cjs/lv-397bf143.js +67 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +6 -6
- package/dist/cjs/math-318a1646.js +60 -0
- package/dist/cjs/mk-112e247a.js +67 -0
- package/dist/cjs/nb-0a4d7d1f.js +68 -0
- package/dist/cjs/nl-cfcabe91.js +68 -0
- package/dist/cjs/observers-db4527e4.js +53 -0
- package/dist/cjs/openCloseComponent-19a769d0.js +92 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-c3e61022.js +115 -0
- package/dist/cjs/popupUtils-824d2f7c.js +96 -0
- package/dist/cjs/pt-6733c97d.js +68 -0
- package/dist/cjs/pt-br-6e06cf69.js +66 -0
- package/dist/cjs/public-notification.cjs.entry.js +6 -6
- package/dist/cjs/publicNotificationStore-ef379d11.js +47 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/resources-1d88e9d6.js +39 -0
- package/dist/cjs/resources-3e593312.js +52 -0
- package/dist/cjs/resources-555dae0e.js +29 -0
- package/dist/cjs/resources-7e540eac.js +26 -0
- package/dist/cjs/resources-9447c777.js +32 -0
- package/dist/cjs/resources-adfcb1ec.js +2062 -0
- package/dist/cjs/resources-baef554d.js +27 -0
- package/dist/cjs/resources-c4fe74a9.js +23 -0
- package/dist/cjs/resources-dd8ff1b4.js +20 -0
- package/dist/cjs/ro-60cdf606.js +67 -0
- package/dist/cjs/ru-bf392182.js +127 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-410f421e.js +365 -0
- package/dist/cjs/sk-cf9539a5.js +149 -0
- package/dist/cjs/sl-1d297b4f.js +169 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +4 -4
- package/dist/cjs/solution-contents_3.cjs.entry.js +4 -4
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solution-store-2f7fbcc5.js +1344 -0
- package/dist/cjs/solutions-components.cjs.js +5 -5
- package/dist/cjs/sortableComponent-c111c036.js +2742 -0
- package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
- package/dist/cjs/sr-f0c4f00a.js +102 -0
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/sv-620bebec.js +72 -0
- package/dist/cjs/t9n-993a84de.js +100 -0
- package/dist/cjs/th-07dd0e43.js +66 -0
- package/dist/cjs/time-ff8d50c7.js +289 -0
- package/dist/cjs/tr-42e14ef4.js +67 -0
- package/dist/cjs/uk-398a1806.js +105 -0
- package/dist/cjs/utils-3940c852.js +105 -0
- package/dist/cjs/utils-65d812ea.js +62 -0
- package/dist/cjs/utils-7bc7f595.js +64 -0
- package/dist/cjs/utils-a137dc1a.js +130 -0
- package/dist/cjs/utils-cca83dd0.js +221 -0
- package/dist/cjs/vi-860b42fc.js +71 -0
- package/dist/cjs/zh-cn-a89ecb38.js +95 -0
- package/dist/cjs/zh-hk-affe0bef.js +72 -0
- package/dist/cjs/zh-tw-ca333ffb.js +93 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js +3 -2
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +7 -7
- package/dist/collection/components/delete-button/delete-button.js +1 -1
- package/dist/collection/components/feature-list/feature-list.js +1 -1
- package/dist/collection/components/json-editor/json-editor.js +3 -5
- package/dist/collection/components/layer-list/layer-list.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +2 -2
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +3 -2
- package/dist/collection/components/pdf-download/pdf-download.js +27 -45
- package/dist/collection/components/public-notification/public-notification.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +6 -10
- package/dist/collection/utils/downloadUtils.js +13 -8
- package/dist/collection/utils/downloadUtils.ts +16 -8
- package/dist/collection/utils/interfaces.ts +5 -0
- package/dist/components/ExpandToggle.js +65 -65
- package/dist/components/FloatingArrow.js +17 -17
- package/dist/components/Heading.js +5 -5
- package/dist/components/Validation.js +18 -0
- package/dist/components/action-bar.js +9 -7
- package/dist/components/action-group.js +5 -5
- package/dist/components/action-menu.js +18 -19
- package/dist/components/action-pad.js +8 -6
- package/dist/components/action.js +17 -17
- package/dist/components/alert.js +53 -37
- package/dist/components/array.js +2 -2
- package/dist/components/avatar.js +35 -35
- package/dist/components/block.js +35 -33
- package/dist/components/button.js +31 -27
- package/dist/components/calcite-accordion-item.js +18 -18
- package/dist/components/calcite-block-section.js +20 -20
- package/dist/components/calcite-card.js +13 -13
- package/dist/components/calcite-chip-group.js +4 -3
- package/dist/components/calcite-color-picker.js +8 -4
- package/dist/components/calcite-combobox-item-group.js +4 -4
- package/dist/components/calcite-fab.js +7 -7
- package/dist/components/calcite-inline-editable.js +12 -12
- package/dist/components/calcite-input-time-picker.js +15 -12
- package/dist/components/calcite-input-time-zone.js +107 -103
- package/dist/components/calcite-list-item-group.js +10 -8
- package/dist/components/calcite-menu-item.js +42 -43
- package/dist/components/calcite-meter.js +15 -15
- package/dist/components/calcite-navigation-logo.js +8 -8
- package/dist/components/calcite-navigation-user.js +5 -5
- package/dist/components/calcite-navigation.js +19 -19
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-radio-button-group.js +28 -9
- package/dist/components/calcite-radio-button.js +1 -340
- package/dist/components/calcite-rating.js +7 -7
- package/dist/components/calcite-sheet.js +7 -7
- package/dist/components/calcite-shell-center-row.js +4 -4
- package/dist/components/calcite-sortable-list.js +16 -14
- package/dist/components/calcite-split-button.js +10 -10
- package/dist/components/calcite-stepper-item.js +14 -14
- package/dist/components/calcite-stepper.js +26 -26
- package/dist/components/calcite-table-row.js +17 -5
- package/dist/components/calcite-table.js +20 -15
- package/dist/components/calcite-text-area.js +28 -28
- package/dist/components/calcite-tile-select-group.js +3 -3
- package/dist/components/calcite-tile-select.js +42 -32
- package/dist/components/calcite-tile.js +103 -1
- package/dist/components/calcite-tip-manager.js +15 -15
- package/dist/components/calcite-tip.js +10 -10
- package/dist/components/checkbox.js +4 -4
- package/dist/components/chip.js +28 -27
- package/dist/components/color-picker-hex-input.js +79 -79
- package/dist/components/color-picker-swatch.js +8 -8
- package/dist/components/combobox-item.js +18 -17
- package/dist/components/combobox.js +29 -13
- package/dist/components/component.js +6 -6
- package/dist/components/conditionalSlot.js +17 -17
- package/dist/components/crowdsource-reporter.js +7 -7
- package/dist/components/date-picker-day.js +4 -7
- package/dist/components/date-picker-month-header.js +10 -10
- package/dist/components/date-picker.js +19 -19
- package/dist/components/date.js +110 -110
- package/dist/components/delete-button2.js +1 -1
- package/dist/components/dom.js +165 -165
- package/dist/components/downloadUtils.js +13 -8
- package/dist/components/dropdown-item.js +14 -7
- package/dist/components/dropdown.js +20 -20
- package/dist/components/feature-list2.js +1 -1
- package/dist/components/filter.js +27 -27
- package/dist/components/filter2.js +13 -11
- package/dist/components/floating-ui.js +227 -167
- package/dist/components/flow-item.js +19 -17
- package/dist/components/flow.js +4 -4
- package/dist/components/focusTrapComponent.js +27 -27
- package/dist/components/form.js +192 -137
- package/dist/components/graph.js +60 -60
- package/dist/components/guid.js +10 -10
- package/dist/components/handle.js +45 -24
- package/dist/components/icon.js +44 -44
- package/dist/components/index.js +22 -22
- package/dist/components/input-date-picker.js +75 -48
- package/dist/components/input-message.js +5 -5
- package/dist/components/input-number.js +64 -42
- package/dist/components/input-text.js +26 -28
- package/dist/components/input.js +71 -49
- package/dist/components/interactive.js +83 -88
- package/dist/components/key.js +2 -2
- package/dist/components/label.js +109 -109
- package/dist/components/label2.js +3 -3
- package/dist/components/layer-list2.js +1 -1
- package/dist/components/layer-table2.js +2 -2
- package/dist/components/link.js +7 -7
- package/dist/components/list-item.js +98 -62
- package/dist/components/list.js +88 -90
- package/dist/components/loadable.js +10 -10
- package/dist/components/locale2.js +409 -409
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/math.js +16 -16
- package/dist/components/menu.js +17 -10
- package/dist/components/modal.js +45 -43
- package/dist/components/notice.js +10 -10
- package/dist/components/observers.js +31 -31
- package/dist/components/openCloseComponent.js +50 -50
- package/dist/components/pagination.js +20 -20
- package/dist/components/panel.js +39 -37
- package/dist/components/pick-list-item.js +23 -23
- package/dist/components/popover.js +84 -85
- package/dist/components/public-notification.js +1 -1
- package/dist/components/radio-button.js +350 -0
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/resources.js +12 -12
- package/dist/components/resources2.js +6 -6
- package/dist/components/resources3.js +11 -11
- package/dist/components/resources4.js +6 -6
- package/dist/components/resources5.js +5 -5
- package/dist/components/scrim.js +6 -6
- package/dist/components/segmented-control-item.js +3 -3
- package/dist/components/segmented-control.js +19 -3
- package/dist/components/select.js +16 -9
- package/dist/components/shared-list-render.js +242 -241
- package/dist/components/shell-panel.js +16 -12
- package/dist/components/shell.js +41 -23
- package/dist/components/slider.js +160 -204
- package/dist/components/sortableComponent.js +548 -914
- package/dist/components/stack.js +11 -11
- package/dist/components/switch.js +4 -4
- package/dist/components/t9n.js +32 -32
- package/dist/components/tab-nav.js +7 -2
- package/dist/components/tab-title.js +38 -36
- package/dist/components/tab.js +4 -4
- package/dist/components/table-cell.js +14 -10
- package/dist/components/table-header.js +19 -11
- package/dist/components/tabs.js +2 -2
- package/dist/components/time-picker.js +246 -246
- package/dist/components/tooltip.js +205 -206
- package/dist/components/tree-item.js +23 -24
- package/dist/components/tree.js +14 -14
- package/dist/components/utils.js +142 -142
- package/dist/components/utils2.js +19 -19
- package/dist/components/utils3.js +64 -59
- package/dist/components/value-list-item.js +9 -9
- package/dist/components/value-list.js +32 -30
- package/dist/esm/ExpandToggle-b6eb575e.js +110 -0
- package/dist/esm/FloatingArrow-93d6d18b.js +48 -0
- package/dist/esm/Heading-94780f62.js +22 -0
- package/dist/esm/Validation-ea480265.js +18 -0
- package/dist/esm/app-globals-c4e206db.js +67 -0
- package/dist/esm/ar-7633f382.js +103 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/array-396bdf3c.js +15 -0
- package/dist/esm/basemap-gallery_7.entry.js +2 -2
- package/dist/esm/bg-5ccf3b3b.js +81 -0
- package/dist/esm/browser-d60104bd.js +21 -0
- package/dist/esm/bs-59e59ad4.js +50 -0
- package/dist/esm/buffer-tools_3.entry.js +12 -12
- package/dist/esm/ca-d8d2bc89.js +70 -0
- package/dist/esm/calcite-accordion-item.entry.js +25 -25
- package/dist/esm/calcite-accordion.entry.js +2 -2
- package/dist/esm/calcite-action-bar.entry.js +21 -20
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu_2.entry.js +112 -114
- package/dist/esm/calcite-action-pad_2.entry.js +20 -19
- package/dist/esm/calcite-action_2.entry.js +28 -28
- package/dist/esm/calcite-alert_4.entry.js +64 -50
- package/dist/esm/calcite-avatar.entry.js +40 -40
- package/dist/esm/calcite-block-section.entry.js +29 -29
- package/dist/esm/calcite-block_2.entry.js +51 -50
- package/dist/esm/calcite-button.entry.js +42 -38
- package/dist/esm/calcite-card.entry.js +22 -22
- package/dist/esm/calcite-checkbox.entry.js +14 -14
- package/dist/esm/calcite-chip-group.entry.js +11 -10
- package/dist/esm/calcite-chip_2.entry.js +383 -0
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +19 -19
- package/dist/esm/calcite-color-picker.entry.js +21 -17
- package/dist/esm/calcite-combobox-item-group.entry.js +9 -9
- package/dist/esm/calcite-combobox_5.entry.js +2112 -0
- package/dist/esm/calcite-date-picker-day_3.entry.js +25 -28
- package/dist/esm/calcite-fab.entry.js +13 -13
- package/dist/esm/calcite-filter_5.entry.js +257 -204
- package/dist/esm/calcite-flow_5.entry.js +37 -36
- package/dist/esm/calcite-graph_2.entry.js +233 -277
- package/dist/esm/calcite-icon.entry.js +49 -49
- package/dist/esm/calcite-inline-editable.entry.js +24 -24
- package/dist/esm/calcite-input-date-picker_3.entry.js +90 -65
- package/dist/esm/calcite-input-number.entry.js +73 -52
- package/dist/esm/calcite-input-text.entry.js +36 -39
- package/dist/esm/calcite-input-time-picker-dbf2079e.js +1847 -0
- package/dist/esm/calcite-input-time-picker.entry.js +20 -19
- package/dist/esm/calcite-input-time-zone.entry.js +118 -116
- package/dist/esm/calcite-input_2.entry.js +80 -59
- package/dist/esm/calcite-label.entry.js +9 -9
- package/dist/esm/calcite-link.entry.js +13 -13
- package/dist/esm/calcite-list-item-group.entry.js +11 -10
- package/dist/esm/calcite-menu-item.entry.js +51 -52
- package/dist/esm/calcite-menu.entry.js +24 -17
- package/dist/esm/calcite-meter.entry.js +24 -24
- package/dist/esm/calcite-modal.entry.js +57 -55
- package/dist/esm/calcite-navigation-logo.entry.js +10 -10
- package/dist/esm/calcite-navigation-user.entry.js +7 -7
- package/dist/esm/calcite-navigation.entry.js +24 -24
- package/dist/esm/calcite-notice.entry.js +23 -23
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +23 -18
- package/dist/esm/calcite-pagination.entry.js +30 -30
- package/dist/esm/calcite-panel_2.entry.js +58 -40
- package/dist/esm/calcite-pick-list-group.entry.js +8 -8
- package/dist/esm/calcite-pick-list-item.entry.js +17 -17
- package/dist/esm/calcite-pick-list.entry.js +13 -13
- package/dist/esm/calcite-radio-button-group.entry.js +27 -10
- package/dist/esm/calcite-radio-button.entry.js +27 -23
- package/dist/esm/calcite-rating.entry.js +20 -20
- package/dist/esm/calcite-scrim.entry.js +14 -14
- package/dist/esm/calcite-segmented-control_2.entry.js +29 -16
- package/dist/esm/calcite-sheet.entry.js +15 -15
- package/dist/esm/calcite-shell-center-row.entry.js +10 -10
- package/dist/esm/calcite-shell-panel_14.entry.js +126 -114
- package/dist/esm/calcite-sortable-list.entry.js +23 -21
- package/dist/esm/calcite-split-button.entry.js +13 -13
- package/dist/esm/calcite-stepper-item.entry.js +24 -24
- package/dist/esm/calcite-stepper.entry.js +34 -34
- package/dist/esm/calcite-switch.entry.js +14 -14
- package/dist/esm/calcite-table-cell_2.entry.js +41 -32
- package/dist/esm/calcite-table-row.entry.js +23 -12
- package/dist/esm/calcite-table.entry.js +29 -25
- package/dist/esm/calcite-text-area.entry.js +39 -40
- package/dist/esm/calcite-tile-select-group.entry.js +5 -5
- package/dist/esm/calcite-tile-select.entry.js +39 -28
- package/dist/esm/calcite-tile.entry.js +16 -21
- package/dist/esm/calcite-time-picker.entry.js +44 -44
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +24 -24
- package/dist/esm/calcite-tip.entry.js +20 -20
- package/dist/esm/calcite-tooltip.entry.js +212 -213
- package/dist/esm/calcite-tree_2.entry.js +45 -46
- package/dist/esm/card-manager_3.entry.js +5 -5
- package/dist/esm/component-edd2c3cd.js +30 -0
- package/dist/esm/conditionalSlot-12c4fcfb.js +60 -0
- package/dist/esm/crowdsource-manager.entry.js +2 -2
- package/dist/esm/crowdsource-reporter.entry.js +9 -9
- package/dist/esm/cs-3d744598.js +146 -0
- package/dist/esm/da-ad0f6f82.js +65 -0
- package/dist/esm/date-5630530d.js +245 -0
- package/dist/esm/de-at-8de8843c.js +89 -0
- package/dist/esm/de-ch-03a1c027.js +89 -0
- package/dist/esm/de-d6966c3f.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/dom-38c6f027.js +1056 -0
- package/dist/esm/downloadUtils-8b83a40c.js +3130 -0
- package/dist/esm/el-7130c722.js +65 -0
- package/dist/esm/en-au-005d4093.js +65 -0
- package/dist/esm/en-ca-1b54d10b.js +64 -0
- package/dist/esm/en-gb-ac1ad784.js +68 -0
- package/dist/esm/es-d6f91b06.js +65 -0
- package/dist/esm/es-mx-26a8411a.js +64 -0
- package/dist/esm/et-1f7ea62f.js +91 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-df7f8ad0.js +114 -0
- package/dist/esm/filter-ce763acf.js +763 -0
- package/dist/esm/floating-ui-41dfe3f1.js +1958 -0
- package/dist/esm/focusTrapComponent-47ddce58.js +1023 -0
- package/dist/esm/form-50dcd52e.js +307 -0
- package/dist/esm/fr-14ad3cd0.js +67 -0
- package/dist/esm/fr-ch-328d9a38.js +65 -0
- package/dist/esm/guid-b75a5f7b.js +24 -0
- package/dist/esm/he-a30ddc93.js +104 -0
- package/dist/esm/helpers-e8852b4a.js +877 -0
- package/dist/esm/hi-5d914f70.js +64 -0
- package/dist/esm/hr-232bce19.js +79 -0
- package/dist/esm/hu-cb9fa8dc.js +87 -0
- package/dist/esm/id-28662048.js +65 -0
- package/dist/esm/index-164d485a.js +2519 -0
- package/dist/esm/index-477ea182.js +199 -0
- package/dist/esm/index.es-33e2ee2d.js +10725 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +3 -3
- package/dist/esm/instant-apps-control-panel.entry.js +1 -1
- package/dist/esm/instant-apps-export.entry.js +1 -1
- package/dist/esm/instant-apps-header.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +3 -3
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +1 -1
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +3 -3
- package/dist/esm/instant-apps-language-translator.entry.js +3 -3
- package/dist/esm/instant-apps-measurement.entry.js +1 -1
- package/dist/esm/instant-apps-popover.entry.js +1 -1
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
- package/dist/esm/instant-apps-splash.entry.js +1 -1
- package/dist/esm/interactive-39bf5602.js +139 -0
- package/dist/esm/it-7fd85aa4.js +65 -0
- package/dist/esm/it-ch-ab98adcc.js +65 -0
- package/dist/esm/ja-eaf04e42.js +71 -0
- package/dist/esm/key-c83d835f.js +16 -0
- package/dist/esm/ko-d029100b.js +71 -0
- package/dist/esm/label-b4cea72e.js +179 -0
- package/dist/esm/layout-manager.entry.js +2 -2
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadable-37e7fbd6.js +89 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-25a5ae3e.js +156 -0
- package/dist/esm/locale-904407bf.js +571 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/lt-4c10b6c4.js +96 -0
- package/dist/esm/lv-d2afd652.js +65 -0
- package/dist/esm/map-select-tools_3.entry.js +6 -6
- package/dist/esm/math-efada7a9.js +54 -0
- package/dist/esm/mk-ee9a3d11.js +65 -0
- package/dist/esm/nb-b9ec8eb4.js +66 -0
- package/dist/esm/nl-8e5bf9af.js +66 -0
- package/dist/esm/observers-d04d1da9.js +51 -0
- package/dist/esm/openCloseComponent-9f90f493.js +90 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-1379aa6d.js +113 -0
- package/dist/esm/popupUtils-23fe3c9f.js +94 -0
- package/dist/esm/pt-8494ce08.js +66 -0
- package/dist/esm/pt-br-54686d6b.js +64 -0
- package/dist/esm/public-notification.entry.js +6 -6
- package/dist/esm/publicNotificationStore-3bf4de75.js +45 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/resources-00983bd3.js +48 -0
- package/dist/esm/resources-20074cb1.js +24 -0
- package/dist/esm/resources-3709252d.js +35 -0
- package/dist/esm/resources-79914606.js +2051 -0
- package/dist/esm/resources-8834f920.js +28 -0
- package/dist/esm/resources-88a48c5c.js +20 -0
- package/dist/esm/resources-9b7e72d5.js +20 -0
- package/dist/esm/resources-abd87b42.js +24 -0
- package/dist/esm/resources-b0e2b809.js +22 -0
- package/dist/esm/ro-63586962.js +65 -0
- package/dist/esm/ru-ec1f486a.js +125 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-ede061c1.js +343 -0
- package/dist/esm/sk-d7d87eb9.js +147 -0
- package/dist/esm/sl-2a7d999b.js +167 -0
- package/dist/esm/solution-configuration.entry.js +4 -4
- package/dist/esm/solution-contents_3.entry.js +4 -4
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solution-store-01769bbf.js +1342 -0
- package/dist/esm/solutions-components.js +6 -6
- package/dist/esm/sortableComponent-d7cd11a3.js +2738 -0
- package/dist/esm/spatial-ref.entry.js +2 -2
- package/dist/esm/sr-a3be308c.js +100 -0
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/sv-890688fe.js +70 -0
- package/dist/esm/t9n-436fb2b1.js +95 -0
- package/dist/esm/th-ae3d67ae.js +64 -0
- package/dist/esm/time-29001694.js +274 -0
- package/dist/esm/tr-260f6f88.js +65 -0
- package/dist/esm/uk-d84b6056.js +103 -0
- package/dist/esm/utils-9fb4104a.js +61 -0
- package/dist/esm/utils-a15078af.js +203 -0
- package/dist/esm/utils-b46c535b.js +121 -0
- package/dist/esm/utils-d2b2562a.js +95 -0
- package/dist/esm/utils-ef0ff036.js +51 -0
- package/dist/esm/vi-f3eb25b9.js +69 -0
- package/dist/esm/zh-cn-d6fc0582.js +93 -0
- package/dist/esm/zh-hk-285977d0.js +70 -0
- package/dist/esm/zh-tw-d83c5c9d.js +91 -0
- package/dist/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 +13 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +6 -6
- 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 +6 -6
- 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 +9 -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 +9 -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/checkbox/checkbox.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +9 -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 +25 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +9 -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 +9 -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/dropdown/dropdown.css +9 -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 +37 -43
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +9 -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 +9 -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 +10 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +25 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +27 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +10 -27
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +29 -9
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +29 -9
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +25 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +55 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +13 -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 +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +20 -16
- 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 +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +9 -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 +9 -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 +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +54 -18
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +9 -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 +35 -10
- 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 +40 -9
- 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 +14 -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 +17 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +9 -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 +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +42 -30
- 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 +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +12 -20
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +35 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +13 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +13 -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 +25 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +57 -29
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +90 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +9 -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 +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +9 -5
- package/dist/solutions-components/assets/combobox/t9n/messages_ar.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_bg.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_bs.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ca.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_cs.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_da.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_de.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_el.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_es.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_et.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_fi.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_fr.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_he.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_hr.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_hu.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_id.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_it.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ja.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ko.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_lt.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_lv.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_nl.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_no.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_pl.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_pt-BR.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_pt-PT.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ro.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ru.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_sk.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_sl.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_sr.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_sv.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_th.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_tr.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_uk.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_vi.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_zh-CN.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_zh-HK.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_zh-TW.json +4 -1
- package/dist/solutions-components/assets/handle/t9n/index.d.ts +1 -0
- package/dist/solutions-components/assets/handle/t9n/messages.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_en.json +2 -1
- package/dist/solutions-components/assets/icon/absoluteDirection16.json +1 -0
- package/dist/solutions-components/assets/icon/absoluteDirection24.json +1 -0
- package/dist/solutions-components/assets/icon/absoluteDirection32.json +1 -0
- package/dist/solutions-components/assets/icon/absoluteElevation16.json +1 -0
- package/dist/solutions-components/assets/icon/absoluteElevation24.json +1 -0
- package/dist/solutions-components/assets/icon/absoluteElevation32.json +1 -0
- package/dist/solutions-components/assets/icon/columnSettings16.json +1 -0
- package/dist/solutions-components/assets/icon/columnSettings24.json +1 -0
- package/dist/solutions-components/assets/icon/columnSettings32.json +1 -0
- package/dist/solutions-components/assets/icon/folderVideo16.json +1 -0
- package/dist/solutions-components/assets/icon/folderVideo24.json +1 -0
- package/dist/solutions-components/assets/icon/folderVideo32.json +1 -0
- package/dist/solutions-components/assets/icon/full1Column16.json +1 -0
- package/dist/solutions-components/assets/icon/full1Column24.json +1 -0
- package/dist/solutions-components/assets/icon/full1Column32.json +1 -0
- package/dist/solutions-components/assets/icon/fullMedium1Column16.json +1 -0
- package/dist/solutions-components/assets/icon/fullMedium1Column24.json +1 -0
- package/dist/solutions-components/assets/icon/fullMedium1Column32.json +1 -0
- package/dist/solutions-components/assets/icon/fullSmall1Column16.json +1 -0
- package/dist/solutions-components/assets/icon/fullSmall1Column24.json +1 -0
- package/dist/solutions-components/assets/icon/fullSmall1Column32.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon16.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon24.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon32.json +1 -0
- package/dist/solutions-components/assets/icon/large2Column16.json +1 -0
- package/dist/solutions-components/assets/icon/large2Column24.json +1 -0
- package/dist/solutions-components/assets/icon/large2Column32.json +1 -0
- package/dist/solutions-components/assets/icon/medium2Column16.json +1 -0
- package/dist/solutions-components/assets/icon/medium2Column24.json +1 -0
- package/dist/solutions-components/assets/icon/medium2Column32.json +1 -0
- package/dist/solutions-components/assets/icon/octagon16.json +1 -0
- package/dist/solutions-components/assets/icon/octagon24.json +1 -0
- package/dist/solutions-components/assets/icon/octagon32.json +1 -0
- package/dist/solutions-components/assets/icon/onTheGroundElevation16.json +1 -0
- package/dist/solutions-components/assets/icon/onTheGroundElevation24.json +1 -0
- package/dist/solutions-components/assets/icon/onTheGroundElevation32.json +1 -0
- package/dist/solutions-components/assets/icon/rasterFunctionTemplatePlay16.json +1 -0
- package/dist/solutions-components/assets/icon/rasterFunctionTemplatePlay24.json +1 -0
- package/dist/solutions-components/assets/icon/rasterFunctionTemplatePlay32.json +1 -0
- package/dist/solutions-components/assets/icon/relativeDirection16.json +1 -0
- package/dist/solutions-components/assets/icon/relativeDirection24.json +1 -0
- package/dist/solutions-components/assets/icon/relativeDirection32.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToGroundElevation16.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToGroundElevation24.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToGroundElevation32.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToSceneElevation16.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToSceneElevation24.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToSceneElevation32.json +1 -0
- package/dist/solutions-components/assets/icon/small2Column16.json +1 -0
- package/dist/solutions-components/assets/icon/small2Column24.json +1 -0
- package/dist/solutions-components/assets/icon/small2Column32.json +1 -0
- package/dist/solutions-components/assets/icon/surface16.json +1 -0
- package/dist/solutions-components/assets/icon/surface24.json +1 -0
- package/dist/solutions-components/assets/icon/surface32.json +1 -0
- package/dist/solutions-components/assets/icon/timeFilter16.json +1 -0
- package/dist/solutions-components/assets/icon/timeFilter24.json +1 -0
- package/dist/solutions-components/assets/icon/timeFilter32.json +1 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_fr.json +1 -1
- package/dist/solutions-components/assets/list/t9n/messages_ar.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_bg.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_bs.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_ca.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_cs.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_da.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_de.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_el.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_es.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_et.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_fi.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_fr.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_he.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_hr.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_hu.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_id.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_it.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_ja.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_ko.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_lt.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_lv.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_nl.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_no.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_pl.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_pt-BR.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_pt-PT.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_ro.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_ru.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_sk.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_sl.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_sr.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_sv.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_th.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_tr.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_uk.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_vi.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_zh-CN.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_zh-HK.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_zh-TW.json +4 -0
- package/dist/solutions-components/assets/list-item/t9n/index.d.ts +2 -0
- package/dist/solutions-components/assets/list-item/t9n/messages.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_en.json +3 -1
- package/dist/solutions-components/assets/pagination/t9n/messages_ar.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_bg.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_bs.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_ca.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_cs.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_da.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_de.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_el.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_es.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_et.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_fi.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_fr.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_he.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_hr.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_hu.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_id.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_it.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_ja.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_ko.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_lt.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_lv.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_nl.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_no.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_pl.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_pt-BR.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_pt-PT.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_ro.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_ru.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_sk.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_sl.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_sr.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_sv.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_th.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_tr.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_uk.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_vi.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_zh-CN.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_zh-HK.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_zh-TW.json +2 -2
- package/dist/solutions-components/p-01f7f1a2.js +6 -0
- package/dist/solutions-components/p-028fba9d.js +6 -0
- package/dist/solutions-components/p-02fa1945.entry.js +11 -0
- package/dist/solutions-components/p-033522a7.entry.js +11 -0
- package/dist/solutions-components/p-038fcd93.entry.js +12 -0
- package/dist/solutions-components/p-04923112.entry.js +17 -0
- package/dist/solutions-components/p-04c37d69.entry.js +17 -0
- package/dist/solutions-components/p-05cb50f9.js +11 -0
- package/dist/solutions-components/p-070d486d.entry.js +17 -0
- package/dist/solutions-components/p-076673a8.js +6 -0
- package/dist/solutions-components/p-08651773.entry.js +11 -0
- package/dist/solutions-components/p-0883bc7b.js +6 -0
- package/dist/solutions-components/p-08cca1ba.entry.js +6 -0
- package/dist/solutions-components/p-0b92e4b1.entry.js +11 -0
- package/dist/solutions-components/p-0c6d2898.entry.js +6 -0
- package/dist/solutions-components/p-0cb5f2ee.js +6 -0
- package/dist/solutions-components/p-0d641d14.entry.js +11 -0
- package/dist/solutions-components/p-0f66fd89.js +145 -0
- package/dist/solutions-components/p-1065f4fa.js +11 -0
- package/dist/solutions-components/p-11c85508.entry.js +6 -0
- package/dist/solutions-components/p-13a02132.js +6 -0
- package/dist/solutions-components/p-13f2d901.js +16 -0
- package/dist/solutions-components/p-16a82c20.js +11 -0
- package/dist/solutions-components/p-18f1e8b5.js +6 -0
- package/dist/solutions-components/p-1b627c37.js +6 -0
- package/dist/solutions-components/p-1c19b946.js +6 -0
- package/dist/solutions-components/p-1c8cdfeb.entry.js +11 -0
- package/dist/solutions-components/p-1ee6220e.entry.js +17 -0
- package/dist/solutions-components/p-1f33a29d.js +11 -0
- package/dist/solutions-components/p-1f65ab1e.js +11 -0
- package/dist/solutions-components/p-1fbac542.js +6 -0
- package/dist/solutions-components/p-201a6ea3.js +11 -0
- package/dist/solutions-components/p-20320bf6.entry.js +11 -0
- package/dist/solutions-components/p-212c00e9.entry.js +6 -0
- package/dist/solutions-components/p-23d88af7.entry.js +17 -0
- package/dist/solutions-components/p-23de1b01.entry.js +11 -0
- package/dist/solutions-components/p-25894d7a.entry.js +6 -0
- package/dist/solutions-components/p-26461392.entry.js +11 -0
- package/dist/solutions-components/p-2917dae0.entry.js +6 -0
- package/dist/solutions-components/p-2a0f52c5.entry.js +6 -0
- package/dist/solutions-components/p-2a546c56.js +6 -0
- package/dist/solutions-components/p-2b0454a0.js +11 -0
- package/dist/solutions-components/p-2b6679d2.entry.js +6 -0
- package/dist/solutions-components/p-2ba240b9.entry.js +6 -0
- package/dist/solutions-components/p-2c6b8811.js +18 -0
- package/dist/solutions-components/p-2eeff59b.js +6 -0
- package/dist/solutions-components/p-30480847.entry.js +11 -0
- package/dist/solutions-components/p-30e7ecfa.js +6 -0
- package/dist/solutions-components/p-312c045a.entry.js +11 -0
- package/dist/solutions-components/p-32dc5007.entry.js +23 -0
- package/dist/solutions-components/p-32fed23c.entry.js +17 -0
- package/dist/solutions-components/p-36375749.js +6 -0
- package/dist/solutions-components/p-399d795d.js +6 -0
- package/dist/solutions-components/p-3bb79204.js +6 -0
- package/dist/solutions-components/p-3cb1de38.entry.js +6 -0
- package/dist/solutions-components/p-3cf84035.entry.js +6 -0
- package/dist/solutions-components/p-3d324690.entry.js +11 -0
- package/dist/solutions-components/p-3d7d78f3.entry.js +6 -0
- package/dist/solutions-components/p-3dd92f0d.js +17 -0
- package/dist/solutions-components/p-3e79d77b.entry.js +11 -0
- package/dist/solutions-components/p-3fbfe26a.entry.js +11 -0
- package/dist/solutions-components/p-4000a88a.js +6 -0
- package/dist/solutions-components/p-431d8154.entry.js +6 -0
- package/dist/solutions-components/p-449db954.entry.js +6 -0
- package/dist/solutions-components/p-45263007.entry.js +17 -0
- package/dist/solutions-components/p-463712ef.entry.js +36 -0
- package/dist/solutions-components/p-479d1e95.js +6 -0
- package/dist/solutions-components/p-47a97db7.entry.js +11 -0
- package/dist/solutions-components/p-48bef730.js +11 -0
- package/dist/solutions-components/p-495e7b9d.js +11 -0
- package/dist/solutions-components/p-4a030771.entry.js +11 -0
- package/dist/solutions-components/p-4b530f7b.entry.js +6 -0
- package/dist/solutions-components/p-4c5d243f.js +11 -0
- package/dist/solutions-components/p-4ce1ffd8.entry.js +11 -0
- package/dist/solutions-components/p-4d09aa4c.entry.js +6 -0
- package/dist/solutions-components/p-4f489e61.js +6 -0
- package/dist/solutions-components/p-52a6d2dc.entry.js +11 -0
- package/dist/solutions-components/p-531ccf84.entry.js +6 -0
- package/dist/solutions-components/p-547b4dba.entry.js +21 -0
- package/dist/solutions-components/p-563a0b20.js +11 -0
- package/dist/solutions-components/p-565e0f0d.entry.js +6 -0
- package/dist/solutions-components/p-5a9a971a.js +11 -0
- package/dist/solutions-components/p-5b228ed7.entry.js +11 -0
- package/dist/solutions-components/p-5f5de955.js +11 -0
- package/dist/solutions-components/p-5f814990.entry.js +6 -0
- package/dist/solutions-components/p-5fbfa5e4.entry.js +12 -0
- package/dist/solutions-components/p-5fd1ae46.entry.js +6 -0
- package/dist/solutions-components/p-602f3e72.js +16 -0
- package/dist/solutions-components/p-6068c1cf.entry.js +22 -0
- package/dist/solutions-components/p-62f2cea7.entry.js +6 -0
- package/dist/solutions-components/p-6332fd4e.entry.js +6 -0
- package/dist/solutions-components/p-63572270.entry.js +6 -0
- package/dist/solutions-components/p-66ff2c3f.js +11 -0
- package/dist/solutions-components/p-680b89db.js +16 -0
- package/dist/solutions-components/p-6a61c742.entry.js +6 -0
- package/dist/solutions-components/p-6aa16b3c.js +6 -0
- package/dist/solutions-components/p-6ce37201.js +11 -0
- package/dist/solutions-components/p-6d0203ed.entry.js +6 -0
- package/dist/solutions-components/p-6d520a58.js +12 -0
- package/dist/solutions-components/p-6d93bdfd.entry.js +11 -0
- package/dist/solutions-components/p-6f6deff1.js +6 -0
- package/dist/solutions-components/p-701568c2.entry.js +16 -0
- package/dist/solutions-components/p-701ed205.js +6 -0
- package/dist/solutions-components/p-7169fadf.js +6 -0
- package/dist/solutions-components/p-71964176.entry.js +11 -0
- package/dist/solutions-components/p-71b65d8a.entry.js +11 -0
- package/dist/solutions-components/p-72849648.js +6 -0
- package/dist/solutions-components/p-732ae6e8.entry.js +6 -0
- package/dist/solutions-components/p-75099601.js +6 -0
- package/dist/solutions-components/p-75a758c8.js +6 -0
- package/dist/solutions-components/p-76bd5032.js +11 -0
- package/dist/solutions-components/p-7878534f.entry.js +11 -0
- package/dist/solutions-components/p-792907e2.entry.js +11 -0
- package/dist/solutions-components/p-7b257e2e.js +6 -0
- package/dist/solutions-components/p-7c0fe27e.entry.js +11 -0
- package/dist/solutions-components/p-7c2be8cc.js +11 -0
- package/dist/solutions-components/p-7c2ef952.js +6 -0
- package/dist/solutions-components/p-7cfce9ee.entry.js +11 -0
- package/dist/solutions-components/p-7d04ff20.js +11 -0
- package/dist/solutions-components/p-7d280d8a.js +7 -0
- package/dist/solutions-components/p-8007ac36.js +11 -0
- package/dist/solutions-components/p-807900ac.js +6 -0
- package/dist/solutions-components/p-80fd6b2e.js +6 -0
- package/dist/solutions-components/p-84546f35.entry.js +6 -0
- package/dist/solutions-components/p-8571c89f.entry.js +6 -0
- package/dist/solutions-components/p-88cd4a24.entry.js +6 -0
- package/dist/solutions-components/p-8942f6fa.js +6 -0
- package/dist/solutions-components/p-8dbf3319.entry.js +6 -0
- package/dist/solutions-components/p-8dc26294.js +11 -0
- package/dist/solutions-components/p-905f7e81.entry.js +6 -0
- package/dist/solutions-components/p-906ad47a.entry.js +11 -0
- package/dist/solutions-components/p-91c49d95.entry.js +6 -0
- package/dist/solutions-components/p-928c0b29.entry.js +6 -0
- package/dist/solutions-components/p-93369c9f.entry.js +6 -0
- package/dist/solutions-components/p-94de9279.js +11 -0
- package/dist/solutions-components/p-96104375.entry.js +6 -0
- package/dist/solutions-components/p-97425481.entry.js +6 -0
- package/dist/solutions-components/p-9ae4f911.entry.js +6 -0
- package/dist/solutions-components/p-9d3b46e2.js +11 -0
- package/dist/solutions-components/p-9d53e0f2.js +11 -0
- package/dist/solutions-components/p-9dfe1301.entry.js +6 -0
- package/dist/solutions-components/p-9f895288.entry.js +6 -0
- package/dist/solutions-components/p-a17d0d80.entry.js +6 -0
- package/dist/solutions-components/p-a4149333.js +11 -0
- package/dist/solutions-components/p-a5088b70.js +6 -0
- package/dist/solutions-components/p-a55b766f.entry.js +6 -0
- package/dist/solutions-components/p-acb9b78e.js +6 -0
- package/dist/solutions-components/p-ae4c8b8c.entry.js +6 -0
- package/dist/solutions-components/p-aec06ce4.entry.js +18 -0
- package/dist/solutions-components/p-b04c9dc3.js +36 -0
- package/dist/solutions-components/p-b15fda15.js +6 -0
- package/dist/solutions-components/p-b3ad3ac1.entry.js +6 -0
- package/dist/solutions-components/p-b3eb3302.js +17 -0
- package/dist/solutions-components/p-b4103233.js +6 -0
- package/dist/solutions-components/p-b4d85b2c.js +6 -0
- package/dist/solutions-components/p-b7337228.entry.js +11 -0
- package/dist/solutions-components/p-ba7d55ea.js +11 -0
- package/dist/solutions-components/p-bb94c414.entry.js +6 -0
- package/dist/solutions-components/p-bc665a3a.js +6 -0
- package/dist/solutions-components/p-bd06bae0.entry.js +11 -0
- package/dist/solutions-components/p-bdbfe9f1.js +6 -0
- package/dist/solutions-components/p-bdea5320.js +11 -0
- package/dist/solutions-components/p-beba1804.entry.js +11 -0
- package/dist/solutions-components/p-bfdf89c2.js +11 -0
- package/dist/solutions-components/p-c51f2880.entry.js +11 -0
- package/dist/solutions-components/p-c85ce035.entry.js +11 -0
- package/dist/solutions-components/p-c8ca9b8c.entry.js +17 -0
- package/dist/solutions-components/p-c94d2cec.js +11 -0
- package/dist/solutions-components/p-c97eebe2.js +6 -0
- package/dist/solutions-components/p-caa7580c.js +6 -0
- package/dist/solutions-components/p-cc280aa1.js +21 -0
- package/dist/solutions-components/p-cc859d2b.entry.js +16 -0
- package/dist/solutions-components/p-ced067bd.entry.js +17 -0
- package/dist/solutions-components/p-cf24dd35.entry.js +23 -0
- package/dist/solutions-components/p-d36f2db6.entry.js +11 -0
- package/dist/solutions-components/p-d3ba36ce.entry.js +11 -0
- package/dist/solutions-components/p-d3da7497.entry.js +6 -0
- package/dist/solutions-components/p-d5ce0c2b.js +11 -0
- package/dist/solutions-components/p-d67f3b6e.entry.js +11 -0
- package/dist/solutions-components/p-d6c662dc.js +6 -0
- package/dist/solutions-components/p-d7b02d3a.js +22 -0
- package/dist/solutions-components/p-d9826b1d.entry.js +11 -0
- package/dist/solutions-components/p-db53bde3.js +11 -0
- package/dist/solutions-components/p-dc58d9ec.js +6 -0
- package/dist/solutions-components/p-dd45738e.entry.js +6 -0
- package/dist/solutions-components/p-dd67e38a.entry.js +6 -0
- package/dist/solutions-components/p-ddd1cc66.js +6 -0
- package/dist/solutions-components/p-de9522e9.js +11 -0
- package/dist/solutions-components/p-df468e80.entry.js +12 -0
- package/dist/solutions-components/p-e05b02c5.entry.js +47 -0
- package/dist/solutions-components/p-e10ca475.entry.js +11 -0
- package/dist/solutions-components/p-e14e6c12.entry.js +6 -0
- package/dist/solutions-components/p-e29a378e.entry.js +6 -0
- package/dist/solutions-components/p-e2eb93d3.js +6 -0
- package/dist/solutions-components/p-e46910c5.js +6 -0
- package/dist/solutions-components/p-e4e59f16.js +489 -0
- package/dist/solutions-components/p-e61c56fa.entry.js +11 -0
- package/dist/solutions-components/p-e7afc0a8.js +11 -0
- package/dist/solutions-components/p-e813faf8.entry.js +11 -0
- package/dist/solutions-components/p-e822a96b.js +6 -0
- package/dist/solutions-components/p-e9700988.entry.js +6 -0
- package/dist/solutions-components/p-e9788173.entry.js +11 -0
- package/dist/solutions-components/p-e9828fd0.js +6 -0
- package/dist/solutions-components/p-eb0f4ede.entry.js +6 -0
- package/dist/solutions-components/p-ebd6afea.entry.js +11 -0
- package/dist/solutions-components/p-ebdd6c63.js +6 -0
- package/dist/solutions-components/p-ede2a93f.js +6 -0
- package/dist/solutions-components/p-ee1e4df3.js +61 -0
- package/dist/solutions-components/p-ef1cf76c.entry.js +6 -0
- package/dist/solutions-components/p-efec6ba5.entry.js +11 -0
- package/dist/solutions-components/p-f0c7d964.js +11 -0
- package/dist/solutions-components/p-f232f765.js +6 -0
- package/dist/solutions-components/p-f23e6499.js +21 -0
- package/dist/solutions-components/p-f8015a1b.js +6 -0
- package/dist/solutions-components/p-f8a6785d.entry.js +6 -0
- package/dist/solutions-components/p-fc4df904.entry.js +6 -0
- package/dist/solutions-components/p-fc9fe5fb.js +11 -0
- package/dist/solutions-components/p-fdedce1c.entry.js +11 -0
- package/dist/solutions-components/p-fe74de01.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +16 -8
- package/dist/solutions-components/utils/interfaces.ts +5 -0
- package/dist/types/components/layer-table/layer-table.d.ts +2 -2
- package/dist/types/preact.d.ts +13 -5
- package/dist/types/utils/downloadUtils.d.ts +4 -4
- package/dist/types/utils/interfaces.d.ts +1 -0
- package/package.json +4 -4
- package/dist/cjs/ExpandToggle-f83d93f8.js +0 -118
- package/dist/cjs/FloatingArrow-7e1624ea.js +0 -50
- package/dist/cjs/Heading-fe70b3e6.js +0 -25
- package/dist/cjs/app-globals-b3f43c6b.js +0 -69
- package/dist/cjs/ar-5f98cd4b.js +0 -104
- package/dist/cjs/array-1d19377b.js +0 -17
- package/dist/cjs/bg-a55b554b.js +0 -82
- package/dist/cjs/browser-9a43b900.js +0 -23
- package/dist/cjs/bs-00e4d31b.js +0 -51
- package/dist/cjs/ca-cdd10d29.js +0 -71
- package/dist/cjs/calcite-chip.cjs.entry.js +0 -261
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +0 -2232
- package/dist/cjs/calcite-input-time-picker-4f7e55b6.js +0 -1849
- package/dist/cjs/component-c270a500.js +0 -33
- package/dist/cjs/conditionalSlot-63e11cba.js +0 -63
- package/dist/cjs/cs-d08a7e91.js +0 -147
- package/dist/cjs/da-2fb40e38.js +0 -66
- package/dist/cjs/date-a0b274b2.js +0 -261
- package/dist/cjs/de-at-8cb4fc8d.js +0 -90
- package/dist/cjs/de-ch-98281a16.js +0 -90
- package/dist/cjs/de-f88ab56a.js +0 -91
- package/dist/cjs/dom-e111eaa6.js +0 -1087
- package/dist/cjs/downloadUtils-6b451886.js +0 -3131
- package/dist/cjs/el-42222f37.js +0 -66
- package/dist/cjs/en-au-ce99afe4.js +0 -66
- package/dist/cjs/en-ca-44a0c79e.js +0 -65
- package/dist/cjs/en-gb-9bd18cc2.js +0 -69
- package/dist/cjs/es-a630678a.js +0 -66
- package/dist/cjs/es-mx-cb026d16.js +0 -65
- package/dist/cjs/et-9801d7bf.js +0 -92
- package/dist/cjs/fi-99bb68b2.js +0 -115
- package/dist/cjs/filter-8f1bbfe6.js +0 -765
- package/dist/cjs/floating-ui-290f99dd.js +0 -1906
- package/dist/cjs/focusTrapComponent-3add574e.js +0 -1028
- package/dist/cjs/form-0291a707.js +0 -260
- package/dist/cjs/fr-047990d9.js +0 -68
- package/dist/cjs/fr-ch-eefff196.js +0 -66
- package/dist/cjs/globalAttributes-c973ec3a.js +0 -77
- package/dist/cjs/guid-1a466ca6.js +0 -26
- package/dist/cjs/he-3f50b1de.js +0 -105
- package/dist/cjs/helpers-a0719076.js +0 -903
- package/dist/cjs/hi-8fad23c8.js +0 -65
- package/dist/cjs/hr-85523ea5.js +0 -80
- package/dist/cjs/hu-133d6509.js +0 -88
- package/dist/cjs/id-cf31387c.js +0 -66
- package/dist/cjs/index-22bb61da.js +0 -201
- package/dist/cjs/index-b8a649fc.js +0 -2530
- package/dist/cjs/index.es-3eaba9ef.js +0 -10811
- package/dist/cjs/interactive-8aff886e.js +0 -147
- package/dist/cjs/it-87a2a88e.js +0 -66
- package/dist/cjs/it-ch-6197d836.js +0 -66
- package/dist/cjs/ja-1be83730.js +0 -72
- package/dist/cjs/key-b8c05387.js +0 -19
- package/dist/cjs/ko-ea4b0148.js +0 -72
- package/dist/cjs/label-bcad2894.js +0 -186
- package/dist/cjs/loadable-07a214c7.js +0 -94
- package/dist/cjs/locale-6a627639.js +0 -584
- package/dist/cjs/locale-a476e15d.js +0 -161
- package/dist/cjs/lt-4acaf0a6.js +0 -97
- package/dist/cjs/lv-251e08f1.js +0 -66
- package/dist/cjs/math-6c9027e3.js +0 -60
- package/dist/cjs/mk-8b1ae7dd.js +0 -66
- package/dist/cjs/nb-fa98c484.js +0 -67
- package/dist/cjs/nl-e71e8890.js +0 -67
- package/dist/cjs/observers-281a8c99.js +0 -53
- package/dist/cjs/openCloseComponent-8c9a1749.js +0 -92
- package/dist/cjs/pl-8527f540.js +0 -114
- package/dist/cjs/popupUtils-7755782a.js +0 -96
- package/dist/cjs/pt-a1c7a6ea.js +0 -67
- package/dist/cjs/pt-br-c5319e0c.js +0 -65
- package/dist/cjs/publicNotificationStore-3a17c2f4.js +0 -47
- package/dist/cjs/resources-0986c5c2.js +0 -2062
- package/dist/cjs/resources-222ad22c.js +0 -20
- package/dist/cjs/resources-228f9286.js +0 -39
- package/dist/cjs/resources-6c60363a.js +0 -32
- package/dist/cjs/resources-8e3763a4.js +0 -52
- package/dist/cjs/resources-9400a252.js +0 -23
- package/dist/cjs/resources-a825d7ae.js +0 -29
- package/dist/cjs/resources-d2d7b7c7.js +0 -27
- package/dist/cjs/resources-f3e0e822.js +0 -26
- package/dist/cjs/ro-df6f795a.js +0 -66
- package/dist/cjs/ru-7516a3ba.js +0 -126
- package/dist/cjs/shared-list-render-25bedff5.js +0 -364
- package/dist/cjs/sk-9d31fa10.js +0 -148
- package/dist/cjs/sl-abecca0d.js +0 -168
- package/dist/cjs/solution-store-ab6c980f.js +0 -1344
- package/dist/cjs/sortableComponent-188f3290.js +0 -3108
- package/dist/cjs/sr-334c5c73.js +0 -101
- package/dist/cjs/sv-832dd153.js +0 -71
- package/dist/cjs/t9n-0556abcb.js +0 -100
- package/dist/cjs/th-cca86754.js +0 -65
- package/dist/cjs/time-06aad495.js +0 -289
- package/dist/cjs/tr-fcef3dae.js +0 -66
- package/dist/cjs/uk-69eceeec.js +0 -104
- package/dist/cjs/utils-234879c7.js +0 -99
- package/dist/cjs/utils-3df24da4.js +0 -62
- package/dist/cjs/utils-6587cc34.js +0 -64
- package/dist/cjs/utils-6c713ba8.js +0 -130
- package/dist/cjs/utils-c735a41d.js +0 -221
- package/dist/cjs/vi-6afa69a0.js +0 -70
- package/dist/cjs/zh-cn-0513bc09.js +0 -94
- package/dist/cjs/zh-hk-73971e1d.js +0 -71
- package/dist/cjs/zh-tw-af0db947.js +0 -92
- package/dist/components/globalAttributes.js +0 -74
- package/dist/components/tile.js +0 -115
- package/dist/esm/ExpandToggle-96688cda.js +0 -110
- package/dist/esm/FloatingArrow-245804f3.js +0 -48
- package/dist/esm/Heading-c45d3f45.js +0 -22
- package/dist/esm/app-globals-e4f88f7e.js +0 -67
- package/dist/esm/ar-29711364.js +0 -102
- package/dist/esm/array-51c31356.js +0 -15
- package/dist/esm/bg-c0f5033b.js +0 -80
- package/dist/esm/browser-b4c16201.js +0 -21
- package/dist/esm/bs-60479ce5.js +0 -49
- package/dist/esm/ca-4317b986.js +0 -69
- package/dist/esm/calcite-chip.entry.js +0 -257
- package/dist/esm/calcite-combobox_6.entry.js +0 -2223
- package/dist/esm/calcite-input-time-picker-2e1b2157.js +0 -1846
- package/dist/esm/component-98bae46b.js +0 -30
- package/dist/esm/conditionalSlot-1149b5cb.js +0 -60
- package/dist/esm/cs-da404a04.js +0 -145
- package/dist/esm/da-1afac3fa.js +0 -64
- package/dist/esm/date-8b4a8f33.js +0 -245
- package/dist/esm/de-98f3129e.js +0 -89
- package/dist/esm/de-at-ed4817af.js +0 -88
- package/dist/esm/de-ch-556c82c8.js +0 -88
- package/dist/esm/dom-8f926f33.js +0 -1056
- package/dist/esm/downloadUtils-4577cf8b.js +0 -3125
- package/dist/esm/el-394dfd74.js +0 -64
- package/dist/esm/en-au-6dde1e7e.js +0 -64
- package/dist/esm/en-ca-420be416.js +0 -63
- package/dist/esm/en-gb-0a7caa85.js +0 -67
- package/dist/esm/es-2e1beb99.js +0 -64
- package/dist/esm/es-mx-ef132a24.js +0 -63
- package/dist/esm/et-83d139c1.js +0 -90
- package/dist/esm/fi-8b81ed94.js +0 -113
- package/dist/esm/filter-8b806ae6.js +0 -763
- package/dist/esm/floating-ui-c397f653.js +0 -1898
- package/dist/esm/focusTrapComponent-14368766.js +0 -1023
- package/dist/esm/form-133b00c7.js +0 -252
- package/dist/esm/fr-c47c114a.js +0 -66
- package/dist/esm/fr-ch-97635343.js +0 -64
- package/dist/esm/globalAttributes-03c9e433.js +0 -74
- package/dist/esm/guid-36c6c6a5.js +0 -24
- package/dist/esm/he-ed2a12b9.js +0 -103
- package/dist/esm/helpers-078591d2.js +0 -877
- package/dist/esm/hi-a05727ac.js +0 -63
- package/dist/esm/hr-d01671ca.js +0 -78
- package/dist/esm/hu-16506ca7.js +0 -86
- package/dist/esm/id-e9367e87.js +0 -64
- package/dist/esm/index-7183ce4a.js +0 -2496
- package/dist/esm/index-857df22e.js +0 -199
- package/dist/esm/index.es-a28dad8e.js +0 -10725
- package/dist/esm/interactive-20bb1dc4.js +0 -143
- package/dist/esm/it-14246b4a.js +0 -64
- package/dist/esm/it-ch-a877e111.js +0 -64
- package/dist/esm/ja-67a0cfa0.js +0 -70
- package/dist/esm/key-af303047.js +0 -16
- package/dist/esm/ko-35b0b83a.js +0 -70
- package/dist/esm/label-cd393c81.js +0 -179
- package/dist/esm/loadable-c3685e51.js +0 -89
- package/dist/esm/locale-6107ef11.js +0 -571
- package/dist/esm/locale-731e75a8.js +0 -156
- package/dist/esm/lt-71014faf.js +0 -95
- package/dist/esm/lv-def9df38.js +0 -64
- package/dist/esm/math-cdaf4dc0.js +0 -54
- package/dist/esm/mk-bfeac49e.js +0 -64
- package/dist/esm/nb-0723b461.js +0 -65
- package/dist/esm/nl-89663165.js +0 -65
- package/dist/esm/observers-8ce200f2.js +0 -51
- package/dist/esm/openCloseComponent-982c6b9e.js +0 -90
- package/dist/esm/pl-0157c37c.js +0 -112
- package/dist/esm/popupUtils-d75edf93.js +0 -94
- package/dist/esm/pt-80d1520c.js +0 -65
- package/dist/esm/pt-br-ee5003c7.js +0 -63
- package/dist/esm/publicNotificationStore-9362d7ae.js +0 -45
- package/dist/esm/resources-13098091.js +0 -35
- package/dist/esm/resources-1a8d4d77.js +0 -24
- package/dist/esm/resources-242fdf8d.js +0 -2051
- package/dist/esm/resources-4bcfc016.js +0 -22
- package/dist/esm/resources-649a0f91.js +0 -48
- package/dist/esm/resources-6772a50d.js +0 -24
- package/dist/esm/resources-6e00e0d1.js +0 -20
- package/dist/esm/resources-a0420cda.js +0 -20
- package/dist/esm/resources-cdc36705.js +0 -28
- package/dist/esm/ro-eff987f8.js +0 -64
- package/dist/esm/ru-62839398.js +0 -124
- package/dist/esm/shared-list-render-a2ab63e8.js +0 -342
- package/dist/esm/sk-c2f4bd58.js +0 -146
- package/dist/esm/sl-328ff1db.js +0 -166
- package/dist/esm/solution-store-19f7825b.js +0 -1342
- package/dist/esm/sortableComponent-65956286.js +0 -3104
- package/dist/esm/sr-75a3ad46.js +0 -99
- package/dist/esm/sv-10da5ef2.js +0 -69
- package/dist/esm/t9n-f16911e7.js +0 -95
- package/dist/esm/th-aa112042.js +0 -63
- package/dist/esm/time-855b3426.js +0 -274
- package/dist/esm/tr-5925a2f5.js +0 -64
- package/dist/esm/uk-c40eeb9f.js +0 -102
- package/dist/esm/utils-5ec65194.js +0 -121
- package/dist/esm/utils-86d242a6.js +0 -90
- package/dist/esm/utils-93fd55c4.js +0 -61
- package/dist/esm/utils-abdd879e.js +0 -203
- package/dist/esm/utils-c3509713.js +0 -51
- package/dist/esm/vi-27922b93.js +0 -68
- package/dist/esm/zh-cn-38a2e1d3.js +0 -92
- package/dist/esm/zh-hk-e0217bd1.js +0 -69
- package/dist/esm/zh-tw-31f0447c.js +0 -90
- package/dist/solutions-components/p-0392679d.js +0 -6
- package/dist/solutions-components/p-05f702ae.js +0 -6
- package/dist/solutions-components/p-0637dbc2.entry.js +0 -6
- package/dist/solutions-components/p-068f5a8c.entry.js +0 -11
- package/dist/solutions-components/p-08bde7db.entry.js +0 -6
- package/dist/solutions-components/p-0a0d0d3a.entry.js +0 -6
- package/dist/solutions-components/p-0b4f4b0e.entry.js +0 -6
- package/dist/solutions-components/p-0b65130f.entry.js +0 -6
- package/dist/solutions-components/p-0c07ad8a.js +0 -11
- package/dist/solutions-components/p-0c97de08.js +0 -12
- package/dist/solutions-components/p-0d774e41.js +0 -6
- package/dist/solutions-components/p-0f156577.entry.js +0 -6
- package/dist/solutions-components/p-0f6b58b2.js +0 -6
- package/dist/solutions-components/p-10410f92.entry.js +0 -6
- package/dist/solutions-components/p-10f2d6b0.entry.js +0 -11
- package/dist/solutions-components/p-13be5cf5.entry.js +0 -11
- package/dist/solutions-components/p-14548a83.js +0 -6
- package/dist/solutions-components/p-17668cb7.js +0 -16
- package/dist/solutions-components/p-1b9fb070.entry.js +0 -6
- package/dist/solutions-components/p-1be63b50.js +0 -11
- package/dist/solutions-components/p-1c75bb3d.js +0 -6
- package/dist/solutions-components/p-1e2ffee3.js +0 -11
- package/dist/solutions-components/p-1f7046e9.entry.js +0 -6
- package/dist/solutions-components/p-21c2d29c.entry.js +0 -6
- package/dist/solutions-components/p-21ccd955.entry.js +0 -6
- package/dist/solutions-components/p-225c4ca4.js +0 -6
- package/dist/solutions-components/p-234a8293.entry.js +0 -11
- package/dist/solutions-components/p-2447b332.js +0 -6
- package/dist/solutions-components/p-24c699b0.entry.js +0 -16
- package/dist/solutions-components/p-259f6f81.js +0 -11
- package/dist/solutions-components/p-25dd768d.js +0 -11
- package/dist/solutions-components/p-2656c6e4.entry.js +0 -47
- package/dist/solutions-components/p-284cc5cd.entry.js +0 -6
- package/dist/solutions-components/p-28b33708.js +0 -6
- package/dist/solutions-components/p-29d68474.js +0 -11
- package/dist/solutions-components/p-2d68a6fd.js +0 -6
- package/dist/solutions-components/p-2e2d01de.entry.js +0 -11
- package/dist/solutions-components/p-2f425700.entry.js +0 -11
- package/dist/solutions-components/p-324d71f4.entry.js +0 -11
- package/dist/solutions-components/p-32b6b6c9.js +0 -11
- package/dist/solutions-components/p-35c58364.js +0 -11
- package/dist/solutions-components/p-364486d1.entry.js +0 -6
- package/dist/solutions-components/p-368cbb2c.entry.js +0 -11
- package/dist/solutions-components/p-36f247db.entry.js +0 -6
- package/dist/solutions-components/p-38544b17.js +0 -6
- package/dist/solutions-components/p-3a73ee38.entry.js +0 -11
- package/dist/solutions-components/p-3ad4426b.entry.js +0 -11
- package/dist/solutions-components/p-3c10901a.entry.js +0 -11
- package/dist/solutions-components/p-3c7d0eb9.js +0 -6
- package/dist/solutions-components/p-3ca39d08.entry.js +0 -6
- package/dist/solutions-components/p-3d17ee9f.entry.js +0 -6
- package/dist/solutions-components/p-3f279568.js +0 -18
- package/dist/solutions-components/p-411b73a7.js +0 -6
- package/dist/solutions-components/p-428554b4.js +0 -11
- package/dist/solutions-components/p-429e1284.entry.js +0 -6
- package/dist/solutions-components/p-42f0e1fa.entry.js +0 -11
- package/dist/solutions-components/p-4416d288.js +0 -11
- package/dist/solutions-components/p-451b16b3.entry.js +0 -11
- package/dist/solutions-components/p-4647b2a6.js +0 -6
- package/dist/solutions-components/p-475ad635.js +0 -11
- package/dist/solutions-components/p-480d0789.js +0 -6
- package/dist/solutions-components/p-49b02dda.entry.js +0 -6
- package/dist/solutions-components/p-49fb1bfa.js +0 -11
- package/dist/solutions-components/p-4abf1c34.js +0 -6
- package/dist/solutions-components/p-4ae36626.js +0 -6
- package/dist/solutions-components/p-4bff69aa.entry.js +0 -11
- package/dist/solutions-components/p-4ccdac24.entry.js +0 -12
- package/dist/solutions-components/p-4d402bcf.entry.js +0 -11
- package/dist/solutions-components/p-4d8fc031.js +0 -6
- package/dist/solutions-components/p-4d99cb49.entry.js +0 -6
- package/dist/solutions-components/p-4fbadb84.entry.js +0 -6
- package/dist/solutions-components/p-515a319e.js +0 -21
- package/dist/solutions-components/p-5268d845.entry.js +0 -11
- package/dist/solutions-components/p-568822d4.js +0 -11
- package/dist/solutions-components/p-5a885617.entry.js +0 -6
- package/dist/solutions-components/p-5b566d55.js +0 -11
- package/dist/solutions-components/p-5e12026e.js +0 -6
- package/dist/solutions-components/p-5fe99315.entry.js +0 -11
- package/dist/solutions-components/p-60d212df.entry.js +0 -6
- package/dist/solutions-components/p-6105d57c.js +0 -6
- package/dist/solutions-components/p-613315a7.entry.js +0 -12
- package/dist/solutions-components/p-61a523a6.entry.js +0 -6
- package/dist/solutions-components/p-6268020e.entry.js +0 -6
- package/dist/solutions-components/p-627c19b5.entry.js +0 -6
- package/dist/solutions-components/p-62eba559.entry.js +0 -17
- package/dist/solutions-components/p-63fa7791.entry.js +0 -11
- package/dist/solutions-components/p-653af7e0.js +0 -11
- package/dist/solutions-components/p-6604ac77.js +0 -11
- package/dist/solutions-components/p-668c9fd9.entry.js +0 -6
- package/dist/solutions-components/p-674be06c.entry.js +0 -6
- package/dist/solutions-components/p-67b9b58f.entry.js +0 -6
- package/dist/solutions-components/p-67ff8e9a.entry.js +0 -17
- package/dist/solutions-components/p-68434a63.js +0 -6
- package/dist/solutions-components/p-68e0adcf.js +0 -6
- package/dist/solutions-components/p-68e84199.entry.js +0 -6
- package/dist/solutions-components/p-69763854.js +0 -6
- package/dist/solutions-components/p-6ae45648.js +0 -6
- package/dist/solutions-components/p-6b2b8b41.entry.js +0 -29
- package/dist/solutions-components/p-6c85b276.js +0 -489
- package/dist/solutions-components/p-6cce7009.entry.js +0 -11
- package/dist/solutions-components/p-6d511162.js +0 -6
- package/dist/solutions-components/p-708294ca.entry.js +0 -11
- package/dist/solutions-components/p-7116f96d.entry.js +0 -36
- package/dist/solutions-components/p-727596e6.js +0 -11
- package/dist/solutions-components/p-73100e79.js +0 -11
- package/dist/solutions-components/p-734bc1b0.entry.js +0 -11
- package/dist/solutions-components/p-752ece4a.entry.js +0 -11
- package/dist/solutions-components/p-758d94ea.entry.js +0 -6
- package/dist/solutions-components/p-75e2a322.entry.js +0 -17
- package/dist/solutions-components/p-775ad144.js +0 -11
- package/dist/solutions-components/p-77b43a94.js +0 -11
- package/dist/solutions-components/p-787203af.entry.js +0 -11
- package/dist/solutions-components/p-78780f63.js +0 -7
- package/dist/solutions-components/p-79110824.js +0 -6
- package/dist/solutions-components/p-793cad54.js +0 -6
- package/dist/solutions-components/p-797aa505.js +0 -6
- package/dist/solutions-components/p-7c13406e.entry.js +0 -6
- package/dist/solutions-components/p-7dbccc10.entry.js +0 -21
- package/dist/solutions-components/p-7ebd34df.entry.js +0 -11
- package/dist/solutions-components/p-802acc51.entry.js +0 -6
- package/dist/solutions-components/p-809b7e47.entry.js +0 -11
- package/dist/solutions-components/p-83fd31d5.js +0 -17
- package/dist/solutions-components/p-84378c8d.entry.js +0 -11
- package/dist/solutions-components/p-864b1d72.entry.js +0 -6
- package/dist/solutions-components/p-8684a905.js +0 -21
- package/dist/solutions-components/p-891682da.entry.js +0 -12
- package/dist/solutions-components/p-8953a9cc.entry.js +0 -6
- package/dist/solutions-components/p-8b47b607.entry.js +0 -11
- package/dist/solutions-components/p-8d49a084.js +0 -6
- package/dist/solutions-components/p-8fabb8a4.entry.js +0 -22
- package/dist/solutions-components/p-95aba86b.entry.js +0 -6
- package/dist/solutions-components/p-96c2ed64.entry.js +0 -11
- package/dist/solutions-components/p-978d936a.entry.js +0 -11
- package/dist/solutions-components/p-980cd015.entry.js +0 -11
- package/dist/solutions-components/p-981e9549.js +0 -11
- package/dist/solutions-components/p-98308b13.entry.js +0 -11
- package/dist/solutions-components/p-98fe7b5d.entry.js +0 -6
- package/dist/solutions-components/p-993e8bd0.js +0 -11
- package/dist/solutions-components/p-99c5701d.entry.js +0 -6
- package/dist/solutions-components/p-9cbfd8cd.js +0 -6
- package/dist/solutions-components/p-a09c8edf.entry.js +0 -6
- package/dist/solutions-components/p-a4755ea8.entry.js +0 -6
- package/dist/solutions-components/p-a5272d7e.js +0 -6
- package/dist/solutions-components/p-a5c5b24d.js +0 -6
- package/dist/solutions-components/p-a5e93c7e.entry.js +0 -18
- package/dist/solutions-components/p-a6bb4148.js +0 -6
- package/dist/solutions-components/p-a84acc82.entry.js +0 -6
- package/dist/solutions-components/p-a8c9ac0b.entry.js +0 -16
- package/dist/solutions-components/p-a9bd945b.entry.js +0 -11
- package/dist/solutions-components/p-a9c30842.entry.js +0 -11
- package/dist/solutions-components/p-abdd289e.js +0 -6
- package/dist/solutions-components/p-aca29f67.entry.js +0 -11
- package/dist/solutions-components/p-ad96cd8b.entry.js +0 -11
- package/dist/solutions-components/p-ada368a5.entry.js +0 -6
- package/dist/solutions-components/p-af1bb992.js +0 -6
- package/dist/solutions-components/p-b1a5f341.js +0 -61
- package/dist/solutions-components/p-b1b768f7.js +0 -145
- package/dist/solutions-components/p-b21a9b47.js +0 -11
- package/dist/solutions-components/p-b29677ca.js +0 -6
- package/dist/solutions-components/p-b2c5e62b.js +0 -6
- package/dist/solutions-components/p-b326b592.entry.js +0 -11
- package/dist/solutions-components/p-b3ebaa79.js +0 -11
- package/dist/solutions-components/p-b699637f.entry.js +0 -11
- package/dist/solutions-components/p-b6efec9a.entry.js +0 -6
- package/dist/solutions-components/p-b7285bd5.js +0 -6
- package/dist/solutions-components/p-b8959537.js +0 -6
- package/dist/solutions-components/p-baf4cb37.js +0 -6
- package/dist/solutions-components/p-baf82bab.entry.js +0 -6
- package/dist/solutions-components/p-bfebff0e.js +0 -6
- package/dist/solutions-components/p-c0f97ed2.entry.js +0 -6
- package/dist/solutions-components/p-c3190f85.js +0 -6
- package/dist/solutions-components/p-c4ebb5d1.js +0 -11
- package/dist/solutions-components/p-c504529e.entry.js +0 -6
- package/dist/solutions-components/p-c56fd16c.entry.js +0 -11
- package/dist/solutions-components/p-c6b9a129.js +0 -11
- package/dist/solutions-components/p-c77ff1b4.entry.js +0 -6
- package/dist/solutions-components/p-c7e7da9a.entry.js +0 -17
- package/dist/solutions-components/p-c8cf222b.entry.js +0 -6
- package/dist/solutions-components/p-c92fff33.js +0 -11
- package/dist/solutions-components/p-c9bd3666.js +0 -6
- package/dist/solutions-components/p-cb1d29d4.entry.js +0 -17
- package/dist/solutions-components/p-cbe7a79a.entry.js +0 -6
- package/dist/solutions-components/p-cdee3846.js +0 -6
- package/dist/solutions-components/p-cfb3d66a.js +0 -6
- package/dist/solutions-components/p-d2d7d6b4.entry.js +0 -11
- package/dist/solutions-components/p-d32e6900.js +0 -11
- package/dist/solutions-components/p-d44e2fd7.js +0 -6
- package/dist/solutions-components/p-d5263cb9.entry.js +0 -17
- package/dist/solutions-components/p-d9a59fcc.js +0 -22
- package/dist/solutions-components/p-db44593d.js +0 -16
- package/dist/solutions-components/p-dbacb910.js +0 -11
- package/dist/solutions-components/p-dd48cc25.entry.js +0 -6
- package/dist/solutions-components/p-de281b08.js +0 -16
- package/dist/solutions-components/p-df118036.js +0 -6
- package/dist/solutions-components/p-e01f576a.entry.js +0 -6
- package/dist/solutions-components/p-e22bce70.entry.js +0 -6
- package/dist/solutions-components/p-e274f3b0.entry.js +0 -23
- package/dist/solutions-components/p-e377cfb3.entry.js +0 -6
- package/dist/solutions-components/p-e6d4bdce.js +0 -6
- package/dist/solutions-components/p-e6dfc80f.js +0 -6
- package/dist/solutions-components/p-e834d132.js +0 -6
- package/dist/solutions-components/p-e83b1772.entry.js +0 -11
- package/dist/solutions-components/p-e902ba19.js +0 -36
- package/dist/solutions-components/p-ea17cefb.entry.js +0 -6
- package/dist/solutions-components/p-ea83d12d.js +0 -11
- package/dist/solutions-components/p-ee4e5212.js +0 -17
- package/dist/solutions-components/p-ef05dea5.js +0 -6
- package/dist/solutions-components/p-f0d68a3f.js +0 -11
- package/dist/solutions-components/p-f10944e6.js +0 -11
- package/dist/solutions-components/p-f17941f1.entry.js +0 -6
- package/dist/solutions-components/p-f1e6ce96.entry.js +0 -11
- package/dist/solutions-components/p-f6253a08.entry.js +0 -6
- package/dist/solutions-components/p-f9e3a93d.js +0 -11
- package/dist/solutions-components/p-f9ff6c29.entry.js +0 -6
- package/dist/solutions-components/p-fcefdfff.js +0 -11
- package/dist/solutions-components/p-ff460d05.entry.js +0 -17
- package/dist/solutions-components/p-ff7c9bc3.entry.js +0 -11
- package/dist/solutions-components/p-ffa2c430.js +0 -6
- package/dist/solutions-components/p-ffbed9b2.entry.js +0 -12
@@ -0,0 +1,23 @@
|
|
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{h as t,r as i,c as e,H as s,g as n}from"./p-7d280d8a.js";import{f as o}from"./p-bdea5320.js";import{z as a,A as l,i as r,t as c,d as h,e as d}from"./p-3dd92f0d.js";import{d as p,f as m,c as u,r as b,a as g,F as v}from"./p-db53bde3.js";import{s as f,c as w,a as x,d as y,H as k}from"./p-1f33a29d.js";import{g as C}from"./p-5a9a971a.js";import{c as I,u as z,d as D,I as E}from"./p-6d520a58.js";import{c as H,d as $,g as S}from"./p-9d53e0f2.js";import{b as j,c as A,s as O,a as P}from"./p-a4149333.js";import{c as L,d as _}from"./p-13f2d901.js";import{c as F}from"./p-1f65ab1e.js";import{o as M}from"./p-2b0454a0.js";import{c as B,s as T,d as R,u as W}from"./p-05cb50f9.js";import{i as V,h as G,C as q,b as N,c as U,d as K,e as X,f as Y}from"./p-b3eb3302.js";import{g as J}from"./p-495e7b9d.js";import{V as Q}from"./p-c94d2cec.js";import{d as Z}from"./p-a82f35c9.js";import{i as tt}from"./p-e7afc0a8.js";import{g as it}from"./p-b04c9dc3.js";import{d as et,o as st}from"./p-2c382841.js";import{s as nt}from"./p-cc280aa1.js";import"./p-7c2be8cc.js";import"./p-ba7d55ea.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-c1cf3ebc.js";import"./p-18f1e8b5.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v2.4.0
|
11
|
+
*/const ot="x-button";function at({disabled:i,key:e,label:s,onClick:n,ref:o,scale:a}){return t("button",{"aria-label":s,class:ot,disabled:i,key:e,onClick:n,tabIndex:-1,type:"button",ref:o},t("calcite-icon",{icon:"x",scale:J(a)}))}const lt="combobox-item-",rt="combobox-chip-",ct="combobox-label-",ht="combobox-listbox-",dt="combobox-input-",pt=class{constructor(t){i(this,t),this.calciteComboboxChange=e(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=e(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipClose=e(this,"calciteComboboxChipClose",6),this.calciteComboboxBeforeClose=e(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=e(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=e(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=e(this,"calciteComboboxOpen",6),this.placement=p,this.internalValueChangeFlag=!1,this.textInput=null,this.mutationObserver=F("mutation",(()=>this.updateItems())),this.resizeObserver=F("resize",(()=>{this.setMaxScrollerHeight(),this.refreshSelectionDisplay()})),this.guid=C(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?m(i,t):null},this.getValue=()=>{const t=this.selectedItems.map((t=>{var i;return null===(i=null==t?void 0:t.value)||void 0===i?void 0:i.toString()}));return(null==t?void 0:t.length)?t.length>1?t:t[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keyDownHandler=t=>{const{key:i}=t;switch(i){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):this.open?(this.open=!1,t.preventDefault()):!this.allowCustomValues&&this.text&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1));break;case"ArrowLeft":this.previousChip(),t.preventDefault();break;case"ArrowRight":this.nextChip(),t.preventDefault();break;case"ArrowUp":t.preventDefault(),this.open&&this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":t.preventDefault(),this.open?this.shiftActiveItemIndex(1):(this.open=!0,this.ensureRecentSelectedItemIsActive()),this.comboboxInViewport()||this.el.scrollIntoView();break;case" ":this.textInput.value||(this.open||(this.open=!0,this.shiftActiveItemIndex(1)),t.preventDefault());break;case"Home":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(this.filteredItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.clearDisabled||this.open||this.clearValue(),this.open=!1,t.preventDefault();break;case"Enter":this.activeItemIndex>-1?(this.toggleSelection(this.filteredItems[this.activeItemIndex]),t.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),t.preventDefault()):this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):t.defaultPrevented||f(this)&&t.preventDefault();break;case"Delete":case"Backspace":if("single"===this.selectionDisplay||"fit"===this.selectionDisplay&&this.selectedHiddenChipsCount>0)return;this.activeChipIndex>-1?(t.preventDefault(),this.removeActiveChip()):!this.text&&this.isMulti()&&(t.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:t,open:i,referenceEl:e}=this;if(!t||!i)return;await this.reposition(!0);const s=this.getMaxScrollerHeight();t.style.maxHeight=s>0?`${s}px`:"",t.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipCloseHandler=t=>{this.open=!1;const i=this.items.find((i=>i===t));i&&this.toggleSelection(i,!1),this.calciteComboboxChipClose.emit()},this.clickHandler=t=>{const i=t.composedPath();return i.some((t=>"CALCITE-CHIP"===t.tagName))?(this.open=!1,void t.preventDefault()):i.some((t=>{var i;return null===(i=t.classList)||void 0===i?void 0:i.contains(ot)}))?(this.clearValue(),void t.preventDefault()):(this.open=!this.open,void this.ensureRecentSelectedItemIsActive())},this.refreshSelectionDisplay=async()=>{if(await j(this),V(this.selectionMode))return;if(!this.textInput)return;const{allSelectedIndicatorChipEl:t,chipContainerEl:i,selectionDisplay:e,placeholder:s,selectedIndicatorChipEl:n,textInput:o}=this,r=parseInt(getComputedStyle(i).gap.replace("px","")),c=a(i),{fontSize:h,fontFamily:d}=getComputedStyle(o),p=(l(s,`${h} ${d}`)||parseInt("48px"))+r,m=a(t),u=a(n),b=Math.max(m,u);if(this.setCompactSelectionDisplay({chipContainerElGap:r,chipContainerElWidth:c,inputWidth:p,largestSelectedIndicatorChipWidth:b}),"fit"===e){const t=Array.from(this.el.shadowRoot.querySelectorAll("calcite-chip")).filter((t=>t.closable)),i=Math.round(c-((this.selectedHiddenChipsCount>0?u:0)+r+p+r));this.refreshChipDisplay({availableHorizontalChipElSpace:i,chipContainerElGap:r,chipEls:t}),this.setVisibleAndHiddenChips(t)}},this.setFloatingEl=t=>{this.floatingEl=t,u(this,this.referenceEl,this.floatingEl)},this.setContainerEl=t=>{this.resizeObserver.observe(t),this.listContainerEl=t,this.transitionEl=t},this.setChipContainerEl=t=>{this.resizeObserver.observe(t),this.chipContainerEl=t},this.setReferenceEl=t=>{this.referenceEl=t,u(this,this.referenceEl,this.floatingEl)},this.setAllSelectedIndicatorChipEl=t=>{this.allSelectedIndicatorChipEl=t},this.setSelectedIndicatorChipEl=t=>{this.selectedIndicatorChipEl=t},this.inputHandler=t=>{const i=t.target.value;this.text=i,this.filterItems(i),i&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const t=(t,i)=>t&&i.some((({label:i,value:e})=>t.tagName===Y?i===t.label:e===t.value&&i===t.textLabel));return Z((i=>{const e=o(this.data,i);this.getItemsAndGroups().forEach((i=>{const s=!t(i,e);i.hidden=s;const[n,o]=i.ancestors;(t(n,e)||t(o,e))&&(i.hidden=!1),s||i.ancestors.forEach((t=>t.hidden=!1))})),this.filteredItems=this.getFilteredItems(),this.calciteComboboxFilterChange.emit()}),100)})(),this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()},this.emitComboboxChange=Z(this.internalComboboxChangeEvent,0),this.getSelectedItems=()=>{if(!this.isMulti()){const t=this.items.find((({selected:t})=>t));return t?[t]:[]}return this.items.filter((t=>t.selected&&("ancestors"!==this.selectionMode||!G(t)))).sort(((t,i)=>{const e=this.selectedItems.indexOf(t),s=this.selectedItems.indexOf(i);return e>-1&&s>-1?e-s:s-e}))},this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.filteredItems=this.getFilteredItems(),this.needsIcon=this.getNeedsIcon(),this.items.forEach((t=>{t.selectionMode=this.selectionMode,t.scale=this.scale})),this.allowCustomValues||this.setMaxScrollerHeight(),this.groupItems.forEach(((t,i,e)=>{0===i&&(t.afterEmptyGroup=!1);const s=e[i+1];s&&(s.afterEmptyGroup=0===t.children.length)}))},this.scrollToActiveItem=()=>{const t=this.filteredItems[this.activeItemIndex];if(!t)return;const i=this.calculateSingleItemHeight(t),{offsetHeight:e,scrollTop:s}=this.listContainerEl;e+s<t.offsetTop+i?this.listContainerEl.scrollTop=t.offsetTop-e+i:t.offsetTop<s&&(this.listContainerEl.scrollTop=t.offsetTop)},this.comboboxFocusHandler=()=>{var t;this.disabled||null===(t=this.textInput)||void 0===t||t.focus()},this.clearDisabled=!1,this.selectionDisplay="all",this.open=!1,this.disabled=!1,this.form=void 0,this.label=void 0,this.placeholder=void 0,this.placeholderIcon=void 0,this.placeholderIconFlipRtl=!1,this.maxItems=0,this.validationMessage=void 0,this.validationIcon=void 0,this.name=void 0,this.allowCustomValues=void 0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multiple",this.scale="m",this.status="idle",this.value=null,this.flipPlacements=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedItems=[],this.filteredItems=[],this.items=[],this.groupItems=[],this.needsIcon=void 0,this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.compactSelectionDisplay=!1,this.selectedHiddenChipsCount=0,this.selectedVisibleChipsCount=0,this.text="",this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){M(this),this.disabled?this.open=!1:this.setMaxScrollerHeight()}handleDisabledChange(t){t||(this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems()}valueHandler(t){if(!this.internalValueChangeFlag){const i=this.getItems();Array.isArray(t)?i.forEach((i=>i.selected=t.includes(i.value))):i.forEach(t?i=>i.selected=t===i.value:t=>t.selected=!1),this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}documentClickHandler(t){if(this.disabled||!r(t))return;const i=t.composedPath();i.includes(this.el)||i.includes(this.referenceEl)||(!this.allowCustomValues&&this.textInput.value&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1)),this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),this.open=!1)}calciteComboboxItemChangeHandler(t){if(this.ignoreSelectedEventsFlag)return;const i=t.target,e=this.filteredItems.indexOf(i);this.updateActiveItemIndex(e),this.toggleSelection(i,i.selected)}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:n,filteredFlipPlacements:o}=this;return b(this,{floatingEl:i,referenceEl:e,overlayPositioning:n,placement:s,flipPlacements:o,type:"menu"},t)}async setFocus(){var t;await A(this),null===(t=this.textInput)||void 0===t||t.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var t;I(this),L(this),B(this),H(this),w(this),this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.updateItems(),this.setFilteredPlacements(),this.reposition(!0),this.open&&(this.openHandler(),M(this)),u(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){O(this),this.updateItems(),await T(this)}componentDidLoad(){x(this,this.getValue()),this.reposition(!0),P(this)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),z(this)}componentDidUpdate(){this.refreshSelectionDisplay()}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),D(this),$(this),y(this),g(this,this.referenceEl,this.floatingEl),_(this),R(this)}textHandler(){this.updateActiveItemIndex(-1)}effectiveLocaleChange(){W(this,this.effectiveLocale)}clearValue(){this.ignoreSelectedEventsFlag=!0,this.items.forEach((t=>t.selected=!1)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=[],this.emitComboboxChange(),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems(""),this.setFocus()}clearInputValue(){this.textInput.value="",this.text=""}comboboxInViewport(){const t=this.el.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.scrollToActiveItem(),this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}ensureRecentSelectedItemIsActive(){const{selectedItems:t}=this,i=0===t.length?0:this.items.indexOf(t[t.length-1]);this.updateActiveItemIndex(i)}hideChip(t){t.classList.add(q.chipInvisible)}showChip(t){t.classList.remove(q.chipInvisible)}refreshChipDisplay({chipEls:t,availableHorizontalChipElSpace:i,chipContainerElGap:e}){t.forEach((t=>{if(t.selected){const s=a(t);if(s&&s<i)return i-=s+e,void this.showChip(t)}else this.hideChip(t);this.hideChip(t)}))}setCompactSelectionDisplay({chipContainerElGap:t,chipContainerElWidth:i,inputWidth:e,largestSelectedIndicatorChipWidth:s}){const n=Math.round(s+t+e);(!this.maxCompactBreakpoint||this.maxCompactBreakpoint<n)&&(this.maxCompactBreakpoint=n),this.compactSelectionDisplay=i<this.maxCompactBreakpoint}setVisibleAndHiddenChips(t){let i=0;t.forEach((t=>{t.selected&&!t.classList.contains(q.chipInvisible)&&i++})),i!==this.selectedVisibleChipsCount&&(this.selectedVisibleChipsCount=i);const e=this.getSelectedItems().length-i;e!==this.selectedHiddenChipsCount&&(this.selectedHiddenChipsCount=e)}getMaxScrollerHeight(){const t=this.getItemsAndGroups().filter((t=>!t.hidden)),{maxItems:i}=this;let e=0,s=0;return t.length>i&&t.forEach((t=>{if(e<i&&i>0){const i=this.calculateSingleItemHeight(t);i>0&&(s+=i,e++)}})),s}calculateSingleItemHeight(t){if(!t)return;let i=t.offsetHeight;return Array.from(t.querySelectorAll(N)).map((t=>null==t?void 0:t.offsetHeight)).forEach((t=>{i-=t})),i}getItemsAndGroups(){return[...this.groupItems,...this.items]}toggleSelection(t,i=!t.selected){!t||"single-persist"===this.selectionMode&&t.selected&&t.value===this.value||(this.isMulti()?(t.selected=i,this.updateAncestors(t),this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===t&&i)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=t.textLabel),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(t){if("ancestors"!==this.selectionMode)return;const i=U(t),e=K(t);t.selected?i.forEach((t=>{t.selected=!0})):(e.forEach((t=>t.selected=!1)),[...i].forEach((t=>{G(t)||(t.selected=!1)})))}getFilteredItems(){return this.items.filter((t=>!t.hidden))}getData(){return this.items.map((t=>({filterDisabled:t.filterDisabled,value:t.value,label:t.textLabel})))}getNeedsIcon(){return V(this.selectionMode)&&this.items.some((t=>t.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll(X)).filter((t=>!t.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(Y))}addCustomChip(t,i){const e=this.items.find((i=>i.textLabel===t));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement("calcite-combobox-item");e.value=t,e.textLabel=t,e.selected=!0,this.el.appendChild(e),this.resetText(),i&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const t=this.activeChipIndex;this.activeChipIndex=-1===t?this.selectedItems.length-1:Math.max(t-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const t=this.activeChipIndex+1;t>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=t,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var t;const i=null===(t=this.selectedItems[this.activeChipIndex])||void 0===t?void 0:t.guid,e=i?this.referenceEl.querySelector(`#${rt}${i}`):null;null==e||e.setFocus()}shiftActiveItemIndex(t){const{length:i}=this.filteredItems;this.updateActiveItemIndex((this.activeItemIndex+i+t)%i),this.scrollToActiveItem()}updateActiveItemIndex(t){this.activeItemIndex=t;let i=null;this.filteredItems.forEach(((e,s)=>{s===t?(e.active=!0,i=`${lt}${e.guid}`):e.active=!1})),this.activeDescendant=i,this.activeItemIndex>-1&&(this.activeChipIndex=-1)}isAllSelected(){return this.getItems().length===this.getSelectedItems().length}isMulti(){return!V(this.selectionMode)}renderChips(){const{activeChipIndex:i,scale:e,selectionMode:s,messages:n}=this;return this.selectedItems.map(((o,a)=>{const l={chip:!0,"chip--active":i===a},r=[...[...U(o)].reverse(),o].map((t=>t.textLabel)),c="ancestors"!==s?o.textLabel:r.join(" / ");return t("calcite-chip",{class:l,closable:!0,icon:o.icon,iconFlipRtl:o.iconFlipRtl,id:o.guid?`${rt}${o.guid}`:null,key:o.textLabel,messageOverrides:{dismissLabel:n.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(o),scale:e,selected:o.selected,title:c,value:o.value},c)}))}renderAllSelectedIndicatorChip(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s,setAllSelectedIndicatorChipEl:n}=this,o=this.messages.allSelected;return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:!(this.isAllSelected()&&!s&&!i)},scale:e,title:o,value:"",ref:n},o)}renderAllSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s}=this,n=this.messages.all||"All";return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:!(this.isAllSelected()&&!s&&i)},scale:e,title:n,value:""},n)}renderSelectedIndicatorChip(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:n,selectedHiddenChipsCount:o,selectedVisibleChipsCount:a,setSelectedIndicatorChipEl:l}=this;let r,c;if(i)r=!0;else if("single"===e){const t=s().length;r=!(!this.isAllSelected()&&t>0),c=`${t} ${this.messages.selected}`}else"fit"===e&&(r=!!(this.isAllSelected()&&0===a||0===o),c=a>0?`+${o}`:`${o} ${this.messages.selected}`);return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:r},scale:n,title:c,value:"",ref:l},c)}renderSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:n,selectedHiddenChipsCount:o}=this;let a,l;if(i){const t=s().length;this.isAllSelected()?a=!0:"fit"===e?(a=!(o>0),l=`${o||0}`):"single"===e&&(a=!(t>0),l=`${t}`)}else a=!0;return t("calcite-chip",{class:{chip:!0,[q.chipInvisible]:a},scale:n,title:l,value:""},l)}renderInput(){const{guid:i,disabled:e,placeholder:s,selectionMode:n,selectedItems:o,open:a}=this,l=V(n),r=o[0],c=!a&&l&&!!r;return t("span",{class:{"input-wrap":!0,"input-wrap--single":l}},c&&t("span",{class:{label:!0,"label--icon":!!(null==r?void 0:r.icon)},key:"label"},r.textLabel),t("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${ht}${i}`,"aria-label":S(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":c,"input--icon":!!this.placeholderIcon},disabled:e,id:`${dt}${i}`,key:"input",onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:s,type:"text",ref:t=>this.textInput=t}))}renderListBoxOptions(){return this.filteredItems.map((i=>t("li",{"aria-selected":c(i.selected),id:i.guid?`${lt}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:i,setContainerEl:e,open:s}=this;return t("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":s},ref:i},t("div",{class:{[q.listContainer]:!0,[v.animation]:!0,[v.animationActive]:s},ref:e},t("ul",{class:{list:!0,"list--hide":!s}},t("slot",null))))}renderIconStart(){const{selectedItems:i,placeholderIcon:e,selectionMode:s,placeholderIconFlipRtl:n}=this,o=i[0],a=null==o?void 0:o.icon,l=V(s);return(!this.open&&o?!!a&&l:!!this.placeholderIcon&&(!o||l))&&t("span",{class:"icon-start"},t("calcite-icon",{class:"selected-icon",flipRtl:this.open&&o?o.iconFlipRtl:n,icon:!this.open&&o?a:e,scale:J(this.scale)}))}renderIconEnd(){const{open:i}=this;return t("span",{class:"icon-end"},t("calcite-icon",{icon:i?"chevron-up":"chevron-down",scale:J(this.scale)}))}render(){var i;const{selectionDisplay:e,guid:n,label:o,open:a}=this,l=V(this.selectionMode),r="all"===e,h="single"===e,d=!l&&"fit"===e,p=!this.clearDisabled&&(null===(i=this.value)||void 0===i?void 0:i.length)>0;return t(s,{onClick:this.comboboxFocusHandler},t(E,{disabled:this.disabled},t("div",{"aria-autocomplete":"list","aria-controls":`${ht}${n}`,"aria-expanded":c(a),"aria-haspopup":"listbox","aria-label":S(this),"aria-live":"polite","aria-owns":`${ht}${n}`,class:{wrapper:!0,"wrapper--single":l||!this.selectedItems.length,"wrapper--active":a},onClick:this.clickHandler,onKeyDown:this.keyDownHandler,role:"combobox",ref:this.setReferenceEl},t("div",{class:{"grid-input":!0,[q.selectionDisplayFit]:d,[q.selectionDisplaySingle]:h},ref:this.setChipContainerEl},this.renderIconStart(),!l&&!h&&this.renderChips(),!l&&!r&&[this.renderSelectedIndicatorChip(),this.renderSelectedIndicatorChipCompact(),this.renderAllSelectedIndicatorChip(),this.renderAllSelectedIndicatorChipCompact()],t("label",{class:"screen-readers-only",htmlFor:`${dt}${n}`,id:`${ct}${n}`},o),this.renderInput()),p?t(at,{disabled:this.disabled,key:"close-button",label:this.messages.clear,scale:this.scale}):null,this.renderIconEnd()),t("ul",{"aria-labelledby":`${ct}${n}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${ht}${n}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),t(k,{component:this}),this.validationMessage?t(Q,{icon:this.validationIcon,message:this.validationMessage,scale:this.scale,status:this.status}):null))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],selectionMode:["handlePropsChange"],scale:["handlePropsChange"],value:["valueHandler"],messageOverrides:["onMessagesChange"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"],effectiveLocale:["effectiveLocaleChange"]}}};pt.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:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-color-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-color-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}:host([scale=s]) .x-button{margin-inline:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}:host([scale=m]) .x-button{margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}:host([scale=l]) .x-button{margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([status=invalid]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{outline:2px solid var(--calcite-color-status-danger);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 )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;gap:var(--calcite-combobox-item-spacing-unit-s)}.grid-input.selection-display-fit,.grid-input.selection-display-single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-combobox-item-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:-moz-placeholder-shown{text-overflow:ellipsis}.input:placeholder-shown{text-overflow:ellipsis}.input--transparent{opacity:0}.input--single{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-s)}:host([scale=m]) .input--icon,:host([scale=l]) .input--icon{padding-inline:0.25rem}.input-wrap{display:flex;flex-grow:1;align-items:center}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-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}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{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}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}calcite-chip{--calcite-animation-timing:0}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);max-inline-size:100%}.chip--active{background-color:var(--calcite-color-foreground-3)}.chip--invisible{visibility:hidden;position:absolute}.item{display:block}.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}:host([hidden]){display:none}[hidden]{display:none}::slotted(calcite-combobox-item-group:not(:first-child)){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
15
|
+
* v2.4.0
|
16
|
+
*/
|
17
|
+
const mt=class{constructor(t){i(this,t),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=F("mutation",(()=>this.updateItems())),this.resizeObserver=F("resize",(t=>this.resizeObserverCallback(t))),this.openTransitionProp="opacity",this.guid=`calcite-dropdown-${C()}`,this.defaultAssignedElements=[],this.slotChangeHandler=t=>{this.defaultAssignedElements=t.target.assignedElements({flatten:!0}),this.updateItems()},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?m(i,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(null==t?void 0:t.querySelectorAll("calcite-dropdown-item")))).reduce(((t,i)=>[...t,...i]),[]),this.updateSelectedItems(),this.reposition(!0),this.items.forEach((t=>t.scale=this.scale))},this.updateGroups=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-dropdown-group")));this.groups=i,this.updateItems()},this.resizeObserverCallback=t=>{t.forEach((t=>{const{target:i}=t;i===this.referenceEl?this.setDropdownWidth():i===this.scrollerEl&&this.setMaxScrollerHeight()}))},this.setDropdownWidth=()=>{const{referenceEl:t,scrollerEl:i}=this,e=null==t?void 0:t.clientWidth;e&&i&&(i.style.minWidth=`${e}px`)},this.setMaxScrollerHeight=()=>{const{scrollerEl:t}=this;if(!t)return;this.reposition(!0);const i=this.getMaxScrollerHeight();t.style.maxHeight=i>0?`${i}px`:"",this.reposition(!0)},this.setScrollerAndTransitionEl=t=>{this.resizeObserver.observe(t),this.scrollerEl=t,this.transitionEl=t},this.setReferenceEl=t=>{this.referenceEl=t,u(this,this.referenceEl,this.floatingEl),this.resizeObserver.observe(t)},this.setFloatingEl=t=>{this.floatingEl=t,u(this,this.referenceEl,this.floatingEl)},this.keyDownHandler=t=>{if(!t.composedPath().includes(this.referenceEl))return;const{defaultPrevented:i,key:e}=t;if(!i){if(this.open){if("Escape"===e)return this.closeCalciteDropdown(),void t.preventDefault();if(t.shiftKey&&"Tab"===e)return this.closeCalciteDropdown(),void t.preventDefault()}tt(e)?(this.openCalciteDropdown(),t.preventDefault()):"Escape"===e&&(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=p,this.selectedItems=[],this.type="click",this.widthScale=void 0,this.scale="m"}openHandler(){M(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()}async setFocus(){await A(this),this.el.focus()}connectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.reposition(!0),this.open&&(this.openHandler(),M(this)),I(this),this.updateItems(),u(this,this.referenceEl,this.floatingEl)}componentWillLoad(){O(this)}componentDidLoad(){P(this),this.reposition(!0)}componentDidRender(){z(this)}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),D(this),g(this,this.referenceEl,this.floatingEl)}render(){const{open:i,guid:e}=this;return t(s,null,t(E,{disabled:this.disabled},t("div",{class:"calcite-trigger-container",id:`${e}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},t("slot",{"aria-controls":`${e}-menu`,"aria-expanded":c(i),"aria-haspopup":"menu",name:"trigger",onSlotchange:this.updateTriggers})),t("div",{"aria-hidden":c(!i),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},t("div",{"aria-labelledby":`${e}-menubutton`,class:{"calcite-dropdown-content":!0,[v.animation]:!0,[v.animationActive]:i},id:`${e}-menu`,role:"menu",ref:this.setScrollerAndTransitionEl},t("slot",{onSlotchange:this.updateGroups})))))}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:n,filteredFlipPlacements:o}=this;return b(this,{floatingEl:i,referenceEl:e,overlayPositioning:n,placement:s,flipPlacements:o,type:"menu"},t)}closeCalciteDropdownOnClick(t){!this.disabled&&r(t)&&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:i}=t.detail,e=i.target,s=this.getTraversableItems();switch(i.key){case"Tab":this.open=!1,this.updateTabIndexOfItems(e);break;case"ArrowDown":h(s,e,"next");break;case"ArrowUp":h(s,e,"previous");break;case"Home":h(s,e,"first");break;case"End":h(s,e,"last")}t.stopPropagation()}handleItemSelect(t){this.updateSelectedItems(),t.stopPropagation(),this.calciteDropdownSelect.emit(),this.closeOnSelectDisabled&&"none"!==t.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown(),t.stopPropagation()}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:i}=this;let e,s=0,n=0;return this.groups.forEach((i=>{t>0&&s<t&&Array.from(i.children).forEach(((i,o)=>{0===o&&(isNaN(e)&&(e=i.offsetTop),n+=e),s<t&&(n+=i.offsetHeight,s+=1)}))})),i.length>t?n:0}closeCalciteDropdown(t=!0){this.open=!1,t&&d(this.triggers[0])}getFocusableElement(t){t&&d(t)}updateTabIndexOfItems(t){this.items.forEach((i=>{i.tabIndex=t!==i?-1:0}))}static get delegatesFocus(){return!0}get el(){return n(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],scale:["handlePropsChange"]}}};mt.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:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(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}";
|
18
|
+
/*!
|
19
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
20
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
21
|
+
* v2.4.0
|
22
|
+
*/
|
23
|
+
const ut="container",bt=class{constructor(t){i(this,t),this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6),this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((t=>t.selectionMode=this.selectionMode))},this.mutationObserver=F("mutation",(()=>this.updateItems())),this.groupTitle=void 0,this.scale="m",this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){var t;this.updateItems(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0})}componentWillLoad(){this.groupPosition=this.getGroupPosition()}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){const i=this.groupTitle?t("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,e=this.groupPosition>0?t("div",{class:"dropdown-separator",role:"separator"}):null;return t(s,{"aria-label":this.groupTitle,role:"group"},t("div",{class:{[ut]:!0,[`${ut}--${this.scale}`]:!0}},e,i,t("slot",null)))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return!0}get el(){return n(this)}static get watchers(){return{selectionMode:["handlePropsChange"]}}};bt.style=":host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const gt=class{constructor(t){i(this,t),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(){var t;await A(this),null===(t=this.el)||void 0===t||t.focus()}componentWillLoad(){O(this),this.initialize()}componentDidLoad(){P(this)}connectedCallback(){this.initialize()}componentDidRender(){z(this)}render(){const{href:i,selectionMode:e,label:n,iconFlipRtl:o,scale:a}=this,l=t("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:"start"===o||"both"===o,icon:this.iconStart,scale:J(this.scale)}),r=t("span",{class:"dropdown-item-content"},t("slot",null)),h=t("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:"end"===o||"both"===o,icon:this.iconEnd,scale:J(this.scale)}),d=this.iconStart&&this.iconEnd?[l,r,h]:this.iconStart?[l,r]:this.iconEnd?[r,h]:r,p=i?t("a",{"aria-label":n,class:"dropdown-link",href:i,rel:this.rel,tabIndex:-1,target:this.target,ref:t=>this.childLink=t},d):d,m=i?null:"single"===e?"menuitemradio":"multiple"===e?"menuitemcheckbox":"menuitem",u="none"!==e?c(this.selected):null,{disabled:b}=this;return t(s,{"aria-checked":u,"aria-label":i?"":n,role:m,tabIndex:b?-1:0},t(E,{disabled:b},t("div",{class:{[ut]:!0,"container--link":!!i,[`${ut}--${a}`]:!0,"container--multi-selection":"multiple"===e,"container--single-selection":"single"===e,"container--none-selection":"none"===e}},"none"!==e?t("calcite-icon",{class:"dropdown-item-icon",icon:"multiple"===e?"check":"bullet-point",scale:J(this.scale)}):null,p)))}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 n(this)}};gt.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}.container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}.container--s.container--none-selection{padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{padding-inline-start:0px}.container--m.container--none-selection{padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{padding-inline-start:0px}.container--l.container--none-selection{padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}:host(:hover:not([disabled])) .container,:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover:not([disabled])) .container--link .dropdown-link,:host(:active:not([disabled])) .container--link .dropdown-link{color:var(--calcite-color-text-1)}:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-3)}:host(:focus) .container{color:var(--calcite-color-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .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]) .container--link .dropdown-link calcite-icon{color:var(--calcite-color-brand)}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}: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}.container--s .dropdown-item-icon-start{margin-inline-end:0.5rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{margin-inline-end:0.75rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{margin-inline-end:1rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}";const vt=class{constructor(t){i(this,t),this.idsFound=e(this,"idsFound",7),this.noLayersFound=e(this,"noLayersFound",7),this.layerSelectionChange=e(this,"layerSelectionChange",7),this.defaultLayerHonored=!1,this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.isMobile=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=void 0,this.ids=[],this.selectedName="",this._translations=void 0}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async componentWillLoad(){await this._getTranslations(),await this._setLayers(),(this.ids.length>0||1===this.selectedIds.length)&&this.layerSelectionChange.emit(1===this.selectedIds.length?[this.selectedIds[0]]:[this.ids[0]])}render(){const i="map-layer-picker";let e=this.height>0?{height:`${this.height.toString()}px`}:{};return e=Object.assign(Object.assign({},e),{display:this.display}),t(s,null,t("div",{class:"map-layer-picker-container",style:e},t("div",{class:"map-layer-picker",style:e},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(i):"select"===this.type?this._getSelect(i):this._getDropdown(i):this._getInvalidPlaceholder())))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return t("div",null,t("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},t("div",{slot:"message"},this._translations.noLayersFound)),t("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},t("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){return t("div",{class:"layer-picker-label-container cursor-default"},t("calcite-icon",{icon:"layers",scale:"s"}),t("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(i){return t("calcite-select",{id:i,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(i){return t("calcite-combobox",{clearDisabled:!0,id:i,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(i){return t("calcite-dropdown",{class:"layer-picker-dropdown",onCalciteDropdownBeforeClose:()=>this._isDropdownOpen=!1,onCalciteDropdownBeforeOpen:()=>this._isDropdownOpen=!0},this.isMobile?this._getDropdownButton():this._getActionDropdownButton(i),t("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getActionDropdownButton(i){return t("calcite-action",{id:i,slot:"trigger",text:""},this._getDropdownButton())}_getDropdownButton(){return t("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:this.isMobile?"":"max-width-350",iconEnd:this._isDropdownOpen?"chevron-up":"chevron-down",iconStart:"layers",kind:"neutral",slot:this.isMobile?"trigger":"",width:"full"},t("div",null,this.selectedName))}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(i,e){const s="layer"===e?this._layerNameHash[i]:this._tableNameHash[i],n=!!this.onlyShowUpdatableLayers&&!s.supportsUpdate,o=s.name,a=this.selectedIds.indexOf(i)>-1;return"combobox"===this.type?t("calcite-combobox-item",{disabled:n,selected:a,textLabel:o,value:i}):"select"===this.type?t("calcite-option",{disabled:n,label:o,selected:a,value:i}):t("calcite-dropdown-group",{class:n?"disabled":"",selectionMode:n?"none":"single"},t("calcite-dropdown-item",{onClick:n?void 0:()=>{this._setSelectedLayer(i)},selected:a},o))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),this.selectedName=null==i?void 0:i.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds)}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>{var i;return!((null===(i=this.enabledLayerIds)||void 0===i?void 0:i.length)>0)||this.enabledLayerIds.reverse().indexOf(t)>-1})),...i.reverse().filter((t=>{var i;return!((null===(i=this.enabledTableIds)||void 0===i?void 0:i.length)>0)||this.enabledTableIds.reverse().indexOf(t)>-1}))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await et(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await st(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){var i;const e=null===(i=this._layerNameHash[t])||void 0===i?void 0:i.name;return e&&nt.managedLayers.indexOf(e)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){var i;const e=null===(i=this._tableNameHash[t])||void 0===i?void 0:i.name,s=e&&this.showTables;return s?nt.managedTables.indexOf(e)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):s}_layerSelectionChange(){const t=Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value];JSON.stringify(t)!==JSON.stringify([""])&&(this.selectedIds=t,this.layerSelectionChange.emit(this.selectedIds))}async _getTranslations(){const t=await it(this.el);this._translations=t[0]}get el(){return n(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};vt.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{pt as calcite_combobox,mt as calcite_dropdown,bt as calcite_dropdown_group,gt as calcite_dropdown_item,vt as map_layer_picker}
|
@@ -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 i,c as t,h as e,H as s,g as l}from"./p-7d280d8a.js";import{s as a,a as n}from"./p-a4149333.js";import{u as o,s as c,c as r,d as h}from"./p-05cb50f9.js";import{n as d,c as v,d as u}from"./p-13f2d901.js";import{g as p}from"./p-ba7d55ea.js";import"./p-3dd92f0d.js";import"./p-5a9a971a.js";import"./p-7c2be8cc.js";import"./p-e7afc0a8.js";import"./p-1f65ab1e.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v2.4.0
|
11
|
+
*/const b=class{constructor(e){i(this,e),this.calciteTableSelect=t(this,"calciteTableSelect",6),this.calciteTablePageChange=t(this,"calciteTablePageChange",6),this.calciteInternalTableRowFocusChange=t(this,"calciteInternalTableRowFocusChange",6),this.getSlottedRows=i=>{var t;return null===(t=null==i?void 0:i.assignedElements({flatten:!0}))||void 0===t?void 0:t.filter((i=>null==i?void 0:i.matches("calcite-table-row")))},this.updateRows=()=>{var i,t,e;const s=this.getSlottedRows(this.tableHeadSlotEl)||[],l=this.getSlottedRows(this.tableBodySlotEl)||[],a=this.getSlottedRows(this.tableFootSlotEl)||[],n=[...s,...l,...a];null==s||s.forEach((i=>{const t=null==s?void 0:s.indexOf(i);i.rowType="head",i.positionSection=t,i.positionSectionLocalized=this.localizeNumber((t+1).toString())})),null==l||l.forEach((i=>{const t=null==l?void 0:l.indexOf(i);i.rowType="body",i.positionSection=t,i.positionSectionLocalized=this.localizeNumber((t+1).toString())})),null==a||a.forEach((i=>{const t=null==a?void 0:a.indexOf(i);i.rowType="foot",i.positionSection=t,i.positionSectionLocalized=this.localizeNumber((t+1).toString())})),null==n||n.forEach((i=>{i.selectionMode=this.selectionMode,i.bodyRowCount=null==l?void 0:l.length,i.positionAll=null==n?void 0:n.indexOf(i),i.numbered=this.numbered,i.scale=this.scale,i.readCellContentsToAT=this.readCellContentsToAT,i.lastVisibleRow=(null==n?void 0:n.indexOf(i))===n.length-1}));const o=(null===(i=s[0])||void 0===i?void 0:i.cellCount)||(null===(e=null===(t=s[0])||void 0===t?void 0:t.querySelectorAll("calcite-table-header"))||void 0===e?void 0:e.length);this.colCount=o,this.headRows=s,this.bodyRows=l,this.footRows=a,this.allRows=n,this.updateSelectedItems(),this.paginateRows()},this.handlePaginationChange=()=>{var i;const t=null===(i=this.paginationEl)||void 0===i?void 0:i.startItem;this.pageStartRow=t||1,this.calciteTablePageChange.emit(),this.updateRows()},this.paginateRows=()=>{var i;null===(i=this.bodyRows)||void 0===i||i.forEach((i=>{const t=i.positionSection+1;i.hidden=this.pageSize>0&&!(t>=this.pageStartRow&&t<this.pageStartRow+this.pageSize)&&!this.footRows.includes(i),i.lastVisibleRow=t===this.pageStartRow+this.pageSize-1||t===this.bodyRows.length}))},this.updateSelectedItems=i=>{var t,e;const s=null===(t=this.bodyRows)||void 0===t?void 0:t.filter((i=>i.selected));this.selectedItems=s,this.selectedCount=null==s?void 0:s.length,null===(e=this.allRows)||void 0===e||e.forEach((i=>{i.selectedRowCount=this.selectedCount,i.selectedRowCountLocalized=this.localizeNumber(this.selectedCount)})),i&&this.calciteTableSelect.emit()},this.handleDeselectAllRows=()=>{var i;null===(i=this.bodyRows)||void 0===i||i.forEach((i=>{i.selected=!1})),this.updateSelectedItems(!0)},this.setSelectedItems=i=>{var t;null===(t=this.bodyRows)||void 0===t||t.forEach((t=>{var e;t.selected="head"===(null==i?void 0:i.rowType)?this.selectedCount!==(null===(e=this.bodyRows)||void 0===e?void 0:e.length):i===t?!t.selected:"multiple"===this.selectionMode&&t.selected})),this.updateSelectedItems(!0)},this.localizeNumber=i=>(d.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},d.localize(i.toString())),this.bordered=!1,this.caption=void 0,this.groupSeparator=!1,this.layout="auto",this.numbered=!1,this.numberingSystem=void 0,this.pageSize=0,this.scale="m",this.selectionMode="none",this.zebra=!1,this.striped=!1,this.selectedItems=[],this.messages=void 0,this.messageOverrides=void 0,this.colCount=0,this.pageStartRow=1,this.selectedCount=0,this.readCellContentsToAT=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}handleNumberedChange(){this.updateRows()}onMessagesChange(){}effectiveLocaleChange(){o(this,this.effectiveLocale)}async componentWillLoad(){a(this),await c(this),this.readCellContentsToAT=/safari/i.test(p()),this.updateRows()}componentDidLoad(){n(this)}connectedCallback(){v(this),r(this)}disconnectedCallback(){u(this),h(this)}calciteChipSelectListener(i){i.composedPath().includes(this.el)&&this.setSelectedItems(i.target)}calciteInternalTableRowFocusEvent(i){var t,e,s,l,a,n,o,c,r;const h=i.detail.cellPosition,d=i.detail.rowPosition,v=i.detail.destination,u=i.detail.lastCell,p=null===(t=this.bodyRows)||void 0===t?void 0:t.filter((i=>!i.hidden)),b=null===(e=this.allRows)||void 0===e?void 0:e.filter((i=>!i.hidden)),f=null===(s=this.headRows[this.headRows.length-1])||void 0===s?void 0:s.positionAll,g=null===(l=p[0])||void 0===l?void 0:l.positionAll,m=null===(a=p[p.length-1])||void 0===a?void 0:a.positionAll,x=null===(n=this.footRows[0])||void 0===n?void 0:n.positionAll,y=null===(o=b[b.length-1])||void 0===o?void 0:o.positionAll,w="next"===v&&d===f,z="previous"===v&&d===x,C="previous"===v&&d===g,k="next"===v&&d===m;let S;switch(v){case"first":S=0;break;case"last":S=y;break;case"next":S=w?g:k?x:d+1;break;case"previous":S=z?m:C?f:d-1}const j=null===(r=null===(c=this.allRows)||void 0===c?void 0:c.find((i=>i.positionAll===S)))||void 0===r?void 0:r.cellCount;void 0!==S&&this.calciteInternalTableRowFocusChange.emit({cellPosition:h>j?j:h,rowPosition:S,destination:v,lastCell:u})}renderSelectionArea(){var i,t,s;const l=null===(t=null===(i=this.selectedItems)||void 0===i?void 0:i.filter((i=>i.hidden)))||void 0===t?void 0:t.length,a=this.localizeNumber(null==l?void 0:l.toString()),n=`${this.localizeNumber(null===(s=this.selectedCount)||void 0===s?void 0:s.toString())} ${this.messages.selected}`,o=`${a} ${this.messages.hiddenSelected}`;return e("div",{class:"selection-area"},e("calcite-chip",{kind:this.selectedCount>0?"brand":"neutral",scale:this.scale,value:n},n),l>0&&e("calcite-chip",{icon:"hide-empty",scale:this.scale,title:o,value:o},a),this.selectedCount>0&&e("calcite-button",{"icon-start":"x",kind:"neutral",onClick:this.handleDeselectAllRows,round:!0,scale:this.scale,title:`${this.messages.clear} ${n} ${this.messages.row}`},this.messages.clear),e("div",{class:"selection-actions"},e("slot",{name:"selection-actions"})))}renderPaginationArea(){var i;return e("div",{class:"pagination-area"},e("calcite-pagination",{groupSeparator:this.groupSeparator,numberingSystem:this.numberingSystem,onCalcitePaginationChange:this.handlePaginationChange,pageSize:this.pageSize,scale:this.scale,startItem:1,totalItems:null===(i=this.bodyRows)||void 0===i?void 0:i.length,ref:i=>this.paginationEl=i}))}renderTHead(){return e("thead",null,e("slot",{name:"table-header",onSlotchange:this.updateRows,ref:i=>this.tableHeadSlotEl=i}))}renderTBody(){return e("tbody",null,e("slot",{onSlotchange:this.updateRows,ref:i=>this.tableBodySlotEl=i}))}renderTFoot(){return e("tfoot",null,e("slot",{name:"table-footer",onSlotchange:this.updateRows,ref:i=>this.tableFootSlotEl=i}))}render(){var i;return e(s,null,e("div",{class:"container"},"none"!==this.selectionMode&&this.renderSelectionArea(),e("div",{class:{bordered:this.bordered,striped:this.striped||this.zebra,"table-container":!0}},e("table",{"aria-colcount":this.colCount,"aria-multiselectable":"multiple"===this.selectionMode,"aria-readonly":!0,"aria-rowcount":null===(i=this.allRows)||void 0===i?void 0:i.length,class:{"table--fixed":"fixed"===this.layout},role:"grid"},e("caption",{class:"assistive-text"},this.caption),this.renderTHead(),this.renderTBody(),this.renderTFoot())),this.pageSize>0&&this.renderPaginationArea()))}static get assetsDirs(){return["assets"]}get el(){return l(this)}static get watchers(){return{groupSeparator:["handleNumberedChange"],numbered:["handleNumberedChange"],numberingSystem:["handleNumberedChange"],pageSize:["handleNumberedChange"],scale:["handleNumberedChange"],selectionMode:["handleNumberedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};b.style=":host([scale=s]){--calcite-internal-table-cell-padding:0.25rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding:0.5rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-table-cell-padding:1rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--1)}:host{display:flex}.container{display:flex;block-size:100%;inline-size:100%;flex-direction:column}.table-container{overflow:auto;white-space:nowrap;border:1px solid var(--calcite-color-border-3)}.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}table{inline-size:100%;border-collapse:collapse;overflow-x:scroll}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color:var(--calcite-color-border-3)}.striped ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background:var(--calcite-color-foreground-2)}.selection-actions{display:flex;flex-direction:row;margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:0.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:0.5rem}.selection-area calcite-button{margin-inline-end:1rem}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}calcite-pagination{flex:1;justify-content:center}:host([hidden]){display:none}[hidden]{display:none}";export{b as calcite_table}
|
@@ -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 t,h as i,H as o,g as r}from"./p-7d280d8a.js";import{c as s,u as a,d as n,I as c}from"./p-6d520a58.js";import{n as l,c as d,d as p}from"./p-13f2d901.js";import{s as h,a as m,c as u}from"./p-a4149333.js";import{u as b,c as v,s as g,d as f}from"./p-05cb50f9.js";import"./p-ba7d55ea.js";import"./p-3dd92f0d.js";import"./p-5a9a971a.js";import"./p-7c2be8cc.js";import"./p-e7afc0a8.js";import"./p-1f65ab1e.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v2.4.0
|
11
|
+
*/const y=class{constructor(i){e(this,i),this.calciteInternalStepperItemKeyEvent=t(this,"calciteInternalStepperItemKeyEvent",6),this.calciteInternalStepperItemSelect=t(this,"calciteInternalStepperItemSelect",6),this.calciteInternalUserRequestedStepperItemSelect=t(this,"calciteInternalUserRequestedStepperItemSelect",6),this.calciteInternalStepperItemRegister=t(this,"calciteInternalStepperItemRegister",6),this.keyDownHandler=e=>{if(!this.disabled&&e.target===this.el)switch(e.key){case" ":case"Enter":this.emitUserRequestedItem(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e}),e.preventDefault()}},this.handleItemClick=e=>{this.disabled||"horizontal"===this.layout&&e.composedPath().some((e=>{var t;return null===(t=e.classList)||void 0===t?void 0:t.contains("stepper-item-content")}))||this.emitUserRequestedItem()},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition})},this.selected=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.heading=void 0,this.description=void 0,this.iconFlipRtl=!1,this.numberingSystem=void 0,this.icon=!1,this.layout=void 0,this.messages=void 0,this.numbered=!1,this.scale="m",this.multipleViewMode=!1,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}selectedHandler(){this.selected&&this.emitRequestedItem()}disabledWatcher(){this.registerStepperItem()}onMessagesChange(){}effectiveLocaleWatcher(e){l.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:!1},b(this,this.effectiveLocale)}connectedCallback(){s(this),d(this),v(this)}async componentWillLoad(){h(this),this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem(),await g(this)}componentDidLoad(){m(this)}componentDidRender(){a(this)}disconnectedCallback(){n(this),p(this),f(this)}render(){return i(o,{"aria-current":this.selected?"step":"false",onClick:this.handleItemClick,onKeyDown:this.keyDownHandler,tabIndex:this.disabled?-1:0},i(c,{disabled:this.disabled},i("div",{class:"container"},this.complete&&i("span",{"aria-live":"polite",class:"visually-hidden"},this.messages.complete),i("div",{class:"stepper-item-header",tabIndex:"horizontal"===this.layout&&!this.disabled&&this.multipleViewMode?0:null,ref:e=>this.headerEl=e},this.icon?this.renderIcon():null,this.numbered?i("div",{class:"stepper-item-number"},this.renderNumbers(),"."):null,i("div",{class:"stepper-item-header-text"},i("span",{class:"stepper-item-heading"},this.heading),i("span",{class:"stepper-item-description"},this.description))),i("div",{class:"stepper-item-content"},i("slot",null)))))}updateActiveItemOnChange(e){(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=e.detail.position,this.determineSelectedItem())}async setFocus(){var e;await u(this),null===(e="vertical"===this.layout?this.el:this.headerEl)||void 0===e||e.focus()}renderIcon(){let e="circle";return this.selected&&(this.multipleViewMode||!this.error&&!this.complete)?e="circleF":this.error?e="exclamationMarkCircleF":this.complete&&(e="checkCircleF"),i("calcite-icon",{class:"stepper-item-icon",flipRtl:this.iconFlipRtl,icon:e,scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){var e;return Array.from(null===(e=this.parentStepperEl)||void 0===e?void 0:e.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}renderNumbers(){return l.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:!1},l.numberFormatter.format(this.itemPosition+1)}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{selected:["selectedHandler"],disabled:["disabledWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleWatcher"]}}};y.style=":host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;--calcite-internal-stepper-action-inline-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;--calcite-internal-stepper-action-inline-size:2.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;--calcite-internal-stepper-action-inline-size:3rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-color-text-3);opacity:var(--calcite-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}:host .stepper-item-description{color:var(--calcite-color-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-color-brand)}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-color-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-color-status-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-status-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);outline-color:transparent;grid-row:items}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([layout=horizontal]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-color-status-danger)}:host([layout=horizontal][selected][multiple-view-mode]) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-status-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal]:not([multiple-view-mode])) .stepper-item-header{margin-inline-end:0px;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + 0.5rem)}:host([layout=horizontal][error]:not([multiple-view-mode])) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([layout=horizontal][error]:not([multiple-view-mode])) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host([layout=horizontal][error][selected]:not([multiple-view-mode])),:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal][error][selected]:not([multiple-view-mode])) .stepper-item-heading,:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container .stepper-item-heading{color:var(--calcite-color-text-2)}:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container .stepper-item-number{color:var(--calcite-color-text-3)}.visually-hidden{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}";export{y as calcite_stepper_item}
|
@@ -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 i,c as t,h as s,H as e,g as a}from"./p-7d280d8a.js";import{a as l,l as h,g as n}from"./p-b04c9dc3.js";import{b as o,h as r,j as d,k as c,c as p,l as g,m as b,n as u}from"./p-2c382841.js";import{a as v,e as y,f as m}from"./p-c1cf3ebc.js";import{s as w}from"./p-cc280aa1.js";import{d as f,a as S}from"./p-e4e59f16.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-18f1e8b5.js";import"./p-d89fff3a.js";import"./p-a230b270.js";import"./p-220ec0d1.js";const _=class{constructor(s){i(this,s),this.selectionSetChange=t(this,"selectionSetChange",7),this._selectedIds=[],this._selectionLabel="",this._graphics=[],this._featuresCollection={},this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.enabledLayerIds=[],this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionSet=void 0,this.selectionLayerIds=[],this.selectLayerView=void 0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._numSelected=0,this._searchDistanceEnabled=!1,this._searchTerm=void 0,this._selectionLoading=!1,this._translations=void 0,this._useLayerFeaturesEnabled=!1}async watchGeometriesHandler(i,t){if(i!==t){const t=0===i.length;if(await this._clearResults(t,t),i.length>0)return this._highlightWithOIDsOrGeoms()}}async watchSearchConfigurationHandler(i,t){JSON.stringify(i)!==JSON.stringify(t)&&this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||await this._updateLabel(),{id:this.isUpdate?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools.distance,download:!0,unit:this._bufferTools.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this._searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this._useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}searchConfigurationChangeChanged(i){this.searchConfiguration=i.detail}async distanceChanged(i){await this._distanceChanged(i.detail)}async unitChanged(i){i.detail.newValue!==i.detail.oldValue&&(this._unit=i.detail.newValue,await this._updateLabel())}async componentWillLoad(){await this._getTranslations(),await this._initModules()}async componentDidLoad(){await this._init(),await this._searchWidget.when((()=>{var i;this._searchWidget.allPlaceholder=(null===(i=this.searchConfiguration)||void 0===i?void 0:i.allPlaceholder)&&"find address or place"!==this.searchConfiguration.allPlaceholder.toLowerCase()?this.searchConfiguration.allPlaceholder:this._translations.placeholder}))}render(){return s(e,null,this._getMapLayerPicker(),s("div",{class:"border-bottom"}),s("div",{class:"padding-top-sides-1"},s("div",{class:"search-widget",ref:i=>{this._searchElement=i}}),s("div",{class:"padding-top-1"},s("map-draw-tools",{active:!0,editGraphicsEnabled:!this._useLayerFeaturesEnabled,graphics:this._graphics,mapView:this.mapView,onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,ref:i=>{this._drawTools=i}})),this._getBufferOptions(),this._getUseLayerFeaturesOptions(),this._getNumSelected()),s("div",{class:"border-bottom"}),this._getNameInput())}_getBufferOptions(){var i,t;const e=this._searchDistanceEnabled?"search-distance":"div-not-visible",a="number"==typeof(null===(i=this.selectionSet)||void 0===i?void 0:i.distance)?this.selectionSet.distance:this.defaultBufferDistance;return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.searchDistance,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"search-distance-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"search-distance-icon"},s("span",{class:"tooltip-message"},this._translations.useSearchDistanceTootip)),s("calcite-switch",{checked:this._searchDistanceEnabled,onCalciteSwitchChange:()=>this._searchDistanceEnabled=!this._searchDistanceEnabled})),s("div",{class:e},s("buffer-tools",{disabled:!this._searchDistanceEnabled,distance:a,geometries:this.geometries,onBufferComplete:i=>this._bufferComplete(i),ref:i=>this._bufferTools=i,unit:(null===(t=this.selectionSet)||void 0===t?void 0:t.unit)||this.defaultBufferUnit})))}_getUseLayerFeaturesOptions(){const i=this._useLayerFeaturesEnabled?"div-visible":"div-not-visible";return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.useLayerFeatures,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"use-layer-features-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"use-layer-features-icon"},s("span",{class:"tooltip-message"},this._translations.useLayerFeaturesTooltip)),s("calcite-switch",{checked:this._useLayerFeaturesEnabled,onCalciteSwitchChange:()=>{this._useLayerFeaturesEnabledChanged()}})),s("div",{class:i+" padding-top-1"},s("map-layer-picker",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},selectedIds:this.layerViews.map((i=>i.layer.id)),showTables:!1})))}_getNumSelected(){const i=l(this.el),t=i&&"en"===i?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return s("div",{class:"padding-top-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},this._selectionLoading?s("div",null,s("calcite-loader",{class:"info-blue",inline:!0,label:t,scale:"m",type:"indeterminate"})):s("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),s("calcite-input-message",{class:"info-blue",scale:"m"},this._selectionLoading?t:this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())))}_getNameInput(){return s("div",{class:"padding-sides-1 padding-top-1 "+(this.customLabelEnabled?"":"display-none")},s("calcite-label",{class:"font-bold"},this._translations.listName,s("calcite-input",{onInput:()=>{this._selectionLabel=this._labelName.value},placeholder:this._translations.listNamePlaceholder,ref:i=>{this._labelName=i},value:this._selectionLabel||""})))}_getMapLayerPicker(){return s("div",{class:"display-flex padding-sides-1 padding-bottom-1"},s("calcite-label",{class:"font-bold width-full label-margin-0"},this._translations.inputLayer,s("map-layer-picker",{enabledLayerIds:this.enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>this._inputLayerSelectionChange(i),selectedIds:this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet?[this.selectionSet.layerView.layer.id]:[],showTables:!1})))}async _initModules(){const[i,t,s,e,a]=await h(["esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this.GraphicsLayer=i,this.Graphic=t,this.Search=s,this._geometryEngine=e,this.FeatureLayer=a}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),this._initSearchWidget()}async _initSelectionSet(){var i,t,s,e;this.selectionSet&&(this._searchTerm=null===(i=this.selectionSet.searchResult)||void 0===i?void 0:i.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs,this._searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this._useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...(null===(t=this.selectionSet)||void 0===t?void 0:t.geometries)||[]],this._graphics=this.geometries.map((i=>new this.Graphic({geometry:i,symbol:"point"===i.type?this.sketchPointSymbol:"polyline"===i.type?this.sketchLineSymbol:this.sketchPolygonSymbol}))),this._selectionLabel=null===(s=this.selectionSet)||void 0===s?void 0:s.label,this._useLayerFeaturesEnabled||null===(e=this._drawTools)||void 0===e||e.updateGraphics(),await o(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}_initSearchWidget(){if(this.mapView&&this._searchElement){const i=this._getSearchConfig(this.searchConfiguration,this.mapView),t=Object.assign({view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm},i);this._searchWidget=new this.Search(t),this._searchWidget.popupEnabled=!1,this._searchWidget.resultGraphicEnabled=!1,this._searchWidget.on("search-clear",(()=>{const i=this._searchClearLabel();this._clearResults(!1,i)})),this._searchWidget.on("select-result",(i=>{var t,s;if(i.result){this._searchResult=i.result;const e=(null===(s=null===(t=i.source)||void 0===t?void 0:t.layer)||void 0===s?void 0:s.id)&&i.source.layer.id===this.selectLayerView.layer.id,a=e?[i.result.feature.getObjectId()]:void 0;this._workflowType=v.SEARCH,this._updateLabel();const l=[i.result.feature];this._updateSelection(l,e,a),this._drawTools.graphics=l,this._searchWidget.resultGraphic.visible=!1}else{const i=this._searchClearLabel();this._clearResults(!1,i)}}))}}_searchClearLabel(){var i;return(null===(i=this._searchResult)||void 0===i?void 0:i.name)&&this._labelName.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(i,t){const s=null==i?void 0:i.sources;return(null==s?void 0:s.length)>0?(i.includeDefaultSources=!1,s.forEach((i=>{var s,e;if(i.hasOwnProperty("layer")){const a=i,l=null===(s=a.layer)||void 0===s?void 0:s.id,h=l?t.map.findLayerById(l):null,n=null===(e=null==a?void 0:a.layer)||void 0===e?void 0:e.url;h?a.layer=h:n&&(a.layer=new this.FeatureLayer(n))}})),null==s||s.forEach((i=>{if(i.hasOwnProperty("locator")){const t=i;"ArcGIS World Geocoding Service"===(null==t?void 0:t.name)&&(t.outFields=t.outFields||["Addr_type","Match_addr","StAddr","City"],t.singleLineFieldName="SingleLine"),t.url=t.url,delete t.url}}))):i=Object.assign(Object.assign({},i),{includeDefaultSources:!0}),i}_initGraphicsLayer(){const i=this._translations.bufferLayer,t=this.mapView.map.layers.findIndex((t=>t.title===i));if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else{this._bufferGraphicsLayer=new this.GraphicsLayer({title:i,listMode:"hide"}),w.managedLayers.push(i);const t=this.mapView.map.layers.findIndex((i=>i.title===this._translations.sketchLayer));t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}async _sketchGraphicsChanged(i,t=!1){const s=i.detail.graphics;if(s.length>0&&s[0])if(t||(this._sketchGraphic=s[0]),this._workflowType=this._useLayerFeaturesEnabled?v.SELECT:v.SKETCH,this._workflowType===v.SKETCH&&this._drawTools.updateGraphics(),await this._updateLabel(),this._clearSearchWidget(),this._useLayerFeaturesEnabled&&!t){const i=Array.isArray(s)?s.map((i=>i.geometry)):this.geometries;await this._selectLayerFeatures(i[0])}else{const t=s.reduce(((i,t)=>{var s;return(null===(s=null==t?void 0:t.layer)||void 0===s?void 0:s.objectIdField)?i.push(t.attributes[t.layer.objectIdField]):t.getObjectId&&i.push(t.getObjectId()),i}),[]),e=i.detail.useOIDs&&t.length>0;this._updateSelection(s,e,t),e&&await this._highlightFeatures(t)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){var i;return(null===(i=this._skipGeomOIDs)||void 0===i?void 0:i.length)>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(i){w.removeHandles(),i.length>0&&w.highlightHandles.push(await r(i,this.selectLayerView,this.mapView)),this._numSelected=i.length,this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectionLoading=!0,this._selectedIds=await d(i,this.selectLayerView.layer),this._selectionLoading=!1,this._drawTools.graphics=this._graphics,await this._highlightFeatures(this._selectedIds)}async _bufferComplete(i){this._bufferGeometry=Array.isArray(i.detail)?i.detail[0]:i.detail;let t=this._bufferTools.distance,s=0;if(this._bufferGeometry){const i=new this.Graphic({geometry:this._bufferGeometry,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(i.geometry.extent),s=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();await this._distanceChanged({oldValue:t,newValue:s})}_geomQuery(i){const t=c(i,this._geometryEngine);return this._selectFeatures(t)}async _clearResults(i=!0,t=!1){var s;this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName.value=""),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),i&&this._searchWidget&&this._clearSearchWidget(),w.removeHandles(),(null===(s=this._drawTools)||void 0===s?void 0:s.clear)&&(this._graphics=[],await this._drawTools.clear()),this.selectionSetChange.emit(this._selectedIds.length)}_clearSearchWidget(){this._searchWidget.clear(),this._searchResult=void 0}_updateSelection(i,t,s){this._selectedIds=t&&s?s:this._selectedIds,this._skipGeomOIDs=t?s:void 0,this.geometries=Array.isArray(i)?i.map((i=>i.geometry)):this.geometries,this._graphics=i}async _updateLabel(){var i,t;const s=this._selectionLabel.indexOf(this._translations.sketch)>-1,e=this._selectionLabel.indexOf(this._translations.select)>-1,a=this._selectionLabel.indexOf(null===(i=this._searchResult)||void 0===i?void 0:i.name)>-1,l=this._workflowType===v.SEARCH?null===(t=this._searchResult)||void 0===t?void 0:t.name:this._workflowType===v.SELECT?this._translations.select:this._translations.sketch,h=this._unit?this._unit:this._bufferTools.unit,n=await this._bufferTools.getTranslatedUnit(h),o=isNaN(this._distance)?this._bufferTools.distance:this._distance;this._selectionLabel=s||e||a||!this._selectionLabel?`${l} ${o} ${n}`:this._selectionLabel,this._labelName.value=this._selectionLabel}async _layerSelectionChange(i){if(Array.isArray(i.detail)&&i.detail.length>0){const t=i.detail.map((i=>p(this.mapView,i)));return Promise.all(t).then((i=>{this.layerViews=i,this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}))}}async _inputLayerSelectionChange(i){var t;const s=(null===(t=null==i?void 0:i.detail)||void 0===t?void 0:t.length)>0?i.detail[0]:"";this.selectLayerView&&s===this.selectLayerView.layer.id||(this.selectLayerView=await p(this.mapView,s),await this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}async _distanceChanged(i){i.newValue!==i.oldValue&&(this._distance=i.newValue,await this._updateLabel())}async _selectLayerFeatures(i){this._selectionLoading=!0;const t=this.layerViews.map((t=>(this._featuresCollection[t.layer.id]=[],g(0,t.layer,i,this._featuresCollection))));return Promise.all(t).then((async i=>{this._selectionLoading=!1;let t=[];i.forEach((i=>{Object.keys(i).forEach((s=>{t=t.concat(i[s])}))}));let s=!1;t.forEach((i=>{var t;const e=i.geometry;i.symbol="point"===e.type?this.sketchPointSymbol:"polyline"===e.type?this.sketchLineSymbol:"polygon"===e.type?this.sketchPolygonSymbol:void 0,s=(null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.hasOwnProperty("objectIdField"))||i.hasOwnProperty("getObjectId")}));const e=this.layerViews[0].layer.title===this.selectLayerView.layer.title&&s;await this._sketchGraphicsChanged({detail:{graphics:t,useOIDs:e}},!0)}))}_useLayerFeaturesEnabledChanged(){this._useLayerFeaturesEnabled=!this._useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}get el(){return a(this)}static get watchers(){return{geometries:["watchGeometriesHandler"],searchConfiguration:["watchSearchConfigurationHandler"]}}};_.style=':host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem" !important}.end-border{border-inline-end:1px solid var(--calcite-color-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.tooltip-container{display:flex}.padding-start-1-2{padding-inline-start:0.5rem}.icon{--calcite-color-icon-color:var(--calcite-color-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}';const L=Object.freeze({__proto__:null,default:[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}]}),P=class{constructor(t){i(this,t),this.defaultNumLabelsPerPage=void 0,this.disabled=!1,this._translations=void 0}async downloadCSV(i,t,s,e=!0){return f(i,t,!0,s,e)}async downloadPDF(i,t,s=!1,e="",a=""){var l;return S(i,t,null===(l=this._labelInfoElement.selectedOption)||void 0===l?void 0:l.value,s,e,a)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return s(e,null,s("calcite-select",{disabled:this.disabled,label:"",ref:i=>{this._labelInfoElement=i}}))}componentDidLoad(){this._renderOptions()}async _initModules(){const[i]=await h(["esri/intl"]);this._intl=i}_getLabelSizeText(i){const t="‎"+i.descriptionPDF.labelWidthDisplay+" x "+i.descriptionPDF.labelHeightDisplay+"‏";return this._translations.pdfLabel.replace("{{n}}",i.descriptionPDF.labelsPerPageDisplay).replace("{{labelSize}}",t)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}_renderOptions(){(L.default||L).sort(((i,t)=>{const s=parseInt(i.descriptionPDF.labelsPerPageDisplay,10),e=parseInt(t.descriptionPDF.labelsPerPageDisplay,10);return s<e?-1:s>e?1:0})).forEach(((i,t)=>{const s=document.createElement("calcite-option");s.value=i,s.innerHTML=this._getLabelSizeText(i),this._labelInfoElement.appendChild(s),(this.defaultNumLabelsPerPage?parseInt(i.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:0===t)&&(s.selected=!0,this._labelInfoElement.selectedOption=s)}))}get el(){return a(this)}};P.style=":host{display:block}";const x=class{constructor(s){i(this,s),this.selectionLoadingChange=t(this,"selectionLoadingChange",7),this.selectionSetsChanged=t(this,"selectionSetsChanged",7),this._addEnabled=!0,this._refineSets=[],this._enabledLayerIds=[],this._featuresCollection={},this.addresseeLayer=void 0,this.enabledLayerIds=[],this.mapView=void 0,this.selectionSets=[],this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._translations=void 0,this._selectionMode=y.ADD,this._refineLayer=void 0}async componentWillLoad(){await this._getTranslations(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){var i,t;return s(e,null,s("div",{class:(this._enabledLayerIds.length>1?"display-block":"display-none")+" padding-top-sides-1"},s("div",{class:"display-flex"},s("calcite-label",{class:"font-bold width-full label-margin-0"},s("div",{class:"display-flex"},this._translations.inputLayer,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"refine-input-layer",scale:"s"})),s("map-layer-picker",{enabledLayerIds:this._enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},ref:i=>{this._layerPicker=i},selectedIds:[this._refineLayer.layer.id],showTables:!1})),s("calcite-popover",{closable:!0,label:"",referenceElement:"refine-input-layer"},s("span",{class:"tooltip-message"},this._translations.inputLayerTip)))),s("div",{class:"padding-1"},s("div",{class:"padding-bottom-1"},s("calcite-segmented-control",{class:"w-100",width:"full"},s("calcite-segmented-control-item",{checked:this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(y.ADD),value:y.ADD},s("span",{class:"font-weight-500"},this._translations.add)),s("calcite-segmented-control-item",{checked:!this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(y.REMOVE),value:y.REMOVE},s("span",{class:"font-weight-500"},this._translations.remove)))),s("div",null,s("map-draw-tools",{active:!0,drawMode:m.REFINE,mapView:this.mapView,onDrawRedo:()=>this._redo(),onDrawUndo:()=>this._undo(),onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,redoEnabled:(null===(i=this._refineSelectionSet)||void 0===i?void 0:i.redoStack.length)>0,ref:i=>{this._drawTools=i},undoEnabled:(null===(t=this._refineSelectionSet)||void 0===t?void 0:t.undoStack.length)>0})),s("br",null),s("calcite-list",{class:"list-border"},this._getRefineSelectionSetList())))}_layerSelectionChange(i){this._setRefineSet(i.detail[0])}_setSelectionMode(i){this._selectionMode=i}_sketchGraphicsChanged(i){var t;const s=null===(t=i.detail)||void 0===t?void 0:t.graphics[0].geometry;this._selectFeatures(s)}_getEnabledLayerIds(){return this.selectionSets.reduce(((i,t)=>{var s;const e=null===(s=null==t?void 0:t.layerView)||void 0===s?void 0:s.layer.id;return e&&i.indexOf(e)<0?i.push(e):t.workflowType===v.REFINE&&Object.keys(t.refineInfos).forEach((t=>{i.indexOf(t)<0&&i.push(t)})),i}),[])}async _setRefineSet(i){this.selectionSets.some((t=>{if(t.workflowType===v.REFINE)return this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(i)>-1}))||await this._initRefineSet(i,this._refineSelectionSet),this._refineLayer=this._refineSelectionSet.refineInfos[i].layerView}async _initRefineSet(i,t){const s={};s[i]={addIds:[],removeIds:[],layerView:await p(this.mapView,i)},t?t.refineInfos=Object.assign(Object.assign({},t.refineInfos),s):(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:v.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:s,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){const i=this._refineSelectionSet.undoStack.pop();this._updateIds(i.ids,i.mode===y.ADD?y.REMOVE:y.ADD,this._refineSelectionSet.redoStack,i.layerView)}_redo(){const i=this._refineSelectionSet.redoStack.pop();this._updateIds(i.ids,i.mode===y.ADD?y.REMOVE:y.ADD,this._refineSelectionSet.undoStack,i.layerView)}_getRefineSelectionSetList(){const i=this._getTotal(this.selectionSets);let t;this.selectionSets.some((i=>{if(i.workflowType===v.REFINE)return t=i,!0}));let e=0,a=0;return Object.keys(t.refineInfos).forEach((i=>{e+=t.refineInfos[i].addIds.length,a+=t.refineInfos[i].removeIds.length})),[s("calcite-list-item",{label:this._translations.featuresAdded.replace("{{n}}",e.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.featuresRemoved.replace("{{n}}",a.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.totalSelected.replace("{{n}}",i.toString()),"non-interactive":!0})]}_getTotal(i){const t=b(i);return Object.keys(t).reduce(((i,s)=>i+t[s].ids.length),0)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}async _selectFeatures(i){var t,s;this.selectionLoadingChange.emit(!0),this._featuresCollection[null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id]=[];const e=await g(0,null===(s=this._refineLayer)||void 0===s?void 0:s.layer,i,this._featuresCollection);this.selectionLoadingChange.emit(!1);let a=[];Object.keys(e).forEach((i=>{var t;i===(null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id)&&(a=a.concat(e[i]))}));const l=Array.isArray(a)?a.map((i=>{var t;return i.attributes[null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.objectIdField]})):[];await this._updateIds(l,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.clear()}async _highlightFeatures(){this._clearHighlight(),w.highlightHandles=await u(this.selectionSets)}_clearHighlight(){w.removeHandles()}async _updateIds(i,t,s,e){let a=!1;const l=this._refineSelectionSet.refineInfos,h=e.layer.id,n={};n[h]={addIds:[],removeIds:[],layerView:e};const o=Object.keys(l).indexOf(h)>-1?l[h]:n[h];if(t===y.ADD)o.addIds=[...new Set([...i,...o.addIds])],o.addIds.length>0&&s.push({ids:i,mode:t,layerView:e}),o.removeIds.length>0&&(o.removeIds=o.removeIds.filter((t=>i.indexOf(t)<0)));else{const l=this.selectionSets.reduce(((t,s)=>(i.forEach((i=>{s.workflowType!==v.REFINE?s.selectedIds.indexOf(i)>-1&&t.push(i):Object.keys(s.refineInfos).some((a=>{const l=s.refineInfos[a];if(l.layerView.layer.id===e.layer.id&&l.addIds.indexOf(i)>-1)return t.push(i),!0}))})),t)),[]);o.removeIds=[...new Set([...l,...o.removeIds])],o.addIds=o.addIds.filter((i=>l.indexOf(i)<0)),o.removeIds.length>0&&s.push({ids:l,mode:t,layerView:e}),this.selectionSets=this.selectionSets.reduce(((i,t)=>(t.workflowType!==v.REFINE&&t.layerView.layer.id===e.layer.id?(t.selectedIds=t.selectedIds.filter((i=>o.removeIds.indexOf(i)<0)),t.selectedIds.length>0?i.push(t):a=!0):i.push(t),i)),[])}this._refineSelectionSet.refineInfos[h]=o,this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}get el(){return a(this)}};x.style=':host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-color-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-color-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{padding-inline-start:0.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}';export{_ as map_select_tools,P as pdf_download,x as refine_selection}
|
@@ -0,0 +1,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/main/LICENSE.md for details.
|
9
|
+
* v2.4.0
|
10
|
+
*/
|
11
|
+
const n={heading:"heading",container:"container",indented:"container--indented"},e={parentItem:"parent-item"};export{n as C,e as S}
|
@@ -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 t,h as i,H as s,g as o}from"./p-7d280d8a.js";import{f as a,a as n,t as c}from"./p-3dd92f0d.js";import{i as l}from"./p-e7afc0a8.js";import{c as r,d}from"./p-13f2d901.js";import{u as h,c as g,s as p,d as u}from"./p-05cb50f9.js";import{c as m,s as f,a as v}from"./p-a4149333.js";import"./p-5a9a971a.js";import"./p-7c2be8cc.js";import"./p-1f65ab1e.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v2.4.0
|
11
|
+
*/const b="content",w="toggle",x="toggle",k={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"},y=class{constructor(i){e(this,i),this.calciteBlockSectionToggle=t(this,"calciteBlockSectionToggle",6),this.handleHeaderKeyDown=e=>{l(e.key)&&(this.toggleSection(),e.preventDefault(),e.stopPropagation())},this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()},this.open=!1,this.status=void 0,this.text=void 0,this.toggleDisplay="button",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}async setFocus(){await m(this),a(this.el)}effectiveLocaleChange(){h(this,this.effectiveLocale)}connectedCallback(){r(this),g(this)}async componentWillLoad(){await p(this),f(this)}componentDidLoad(){v(this)}disconnectedCallback(){d(this),u(this)}renderStatusIcon(){var e;const{status:t}=this,s=null!==(e=k[t])&&void 0!==e&&e;return s?i("calcite-icon",{class:{"status-icon":!0,valid:"valid"==t,invalid:"invalid"==t},icon:s,scale:"s"}):null}render(){const{el:e,messages:t,open:o,text:a,toggleDisplay:l}=this,r=n(e),d=o?k.menuOpen:"rtl"===r?k.menuClosedLeft:k.menuClosedRight,h=o?t.collapse:t.expand,g="switch"===l?i("div",{class:{"toggle--switch-container":!0}},i("div",{"aria-controls":b,"aria-expanded":c(o),class:{[x]:!0,"toggle--switch":!0},id:w,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,role:"button",tabIndex:0,title:h},i("div",{class:"toggle--switch__content"},i("span",{class:"toggle--switch__text"},a)),this.renderStatusIcon()),i("calcite-label",{class:"focus-guard",layout:"inline",tabIndex:-1},i("calcite-switch",{checked:o,label:h,scale:"s"}))):i("button",{"aria-controls":b,"aria-expanded":c(o),class:{"section-header":!0,[x]:!0},id:w,onClick:this.toggleSection},i("calcite-icon",{icon:d,scale:"s"}),i("span",{class:"section-header__text"},a),this.renderStatusIcon());return i(s,null,g,i("section",{"aria-labelledby":w,class:"content",hidden:!o,id:b},i("slot",null)))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};y.style=":host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}:host([open]){border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-color-border-3)}:host(:last-child){border-block-end-width:0px}.toggle{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}.toggle--switch,.section-header{margin-inline:0px;margin-block:0.25rem;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.toggle--switch:hover,.section-header:hover{color:var(--calcite-color-text-1)}.section-header .status-icon{align-self:flex-end}.section-header__text{margin-inline:0.75rem;margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch-container{position:relative;display:flex;inline-size:100%;align-items:center;background-color:transparent;word-break:break-word}.toggle--switch-container .focus-guard{--calcite-label-margin-bottom:0;pointer-events:none;position:absolute;inset-inline-end:0;margin-inline-start:0.25rem}.toggle--switch .status-icon{margin-inline-start:0.5rem}.toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}:host([toggle-display=switch]) .toggle .toggle--switch__content{margin-inline-end:1.75rem}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_block_section}
|
@@ -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 a}from"./p-1065f4fa.js";import"./p-7d280d8a.js";import"./p-1f33a29d.js";import"./p-3dd92f0d.js";import"./p-5a9a971a.js";import"./p-7c2be8cc.js";import"./p-6d520a58.js";import"./p-ba7d55ea.js";import"./p-e7afc0a8.js";import"./p-9d53e0f2.js";import"./p-495e7b9d.js";import"./p-a4149333.js";import"./p-13f2d901.js";import"./p-1f65ab1e.js";import"./p-d7b02d3a.js";import"./p-8007ac36.js";import"./p-f0c7d964.js";import"./p-05cb50f9.js";import"./p-2b0454a0.js";import"./p-c94d2cec.js";var o={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(a){return a+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};a.locale(o,null,!0);export default o;
|
@@ -0,0 +1,22 @@
|
|
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{j as n,k as t,l as e,m as r,o,e as i,p as u}from"./p-3dd92f0d.js";
|
7
|
+
/*!
|
8
|
+
* focus-trap 7.5.4
|
9
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
10
|
+
*/function a(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function c(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?a(Object(e),!0).forEach((function(t){var r,o,i;r=n,i=e[t],(o=function(n){var t=function(n){if("object"!=typeof n||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var e=t.call(n,"string");if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"==typeof t?t:String(t)}(o=t))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):a(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}var s=function(n){return"Tab"===(null==n?void 0:n.key)||9===(null==n?void 0:n.keyCode)},f=function(n){return s(n)&&!n.shiftKey},l=function(n){return s(n)&&n.shiftKey},v=function(n){return setTimeout(n,0)},d=function(n,t){var e=-1;return n.every((function(n,r){return!t(n)||(e=r,!1)})),e},b=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return"function"==typeof n?n.apply(void 0,e):n},p=function(n){return n.target.shadowRoot&&"function"==typeof n.composedPath?n.composedPath()[0]:n.target},w=[];
|
11
|
+
/*!
|
12
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
13
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
14
|
+
* v2.4.0
|
15
|
+
*/
|
16
|
+
const h=globalThis.calciteConfig,m=h?.focusTrapStack||[];
|
17
|
+
/*!
|
18
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
19
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
20
|
+
* v2.4.0
|
21
|
+
*/
|
22
|
+
function y(a,h){const{el:y}=a,F=h?.focusTrapEl||y;if(!F)return;const k={clickOutsideDeactivates:!0,escapeDeactivates:!1,fallbackFocus:F,setReturnFocus:n=>(i(n),!1),...h?.focusTrapOptions,document:y.ownerDocument,tabbableOptions:u,trapStack:m};var O,j,T,D,g,E,N,P,A,x,B,R,S,C,I,G,K,M,U,Y,L,q,z,H;a.focusTrap=(O=F,D=(null==(j=k)?void 0:j.document)||document,g=(null==j?void 0:j.trapStack)||w,E=c({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:f,isKeyBackward:l},j),N={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},P=function(n,t,e){return n&&void 0!==n[t]?n[t]:E[e||t]},A=function(n,t){var e="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return N.containerGroups.findIndex((function(t){var r=t.container,o=t.tabbableNodes;return r.contains(n)||(null==e?void 0:e.includes(r))||o.find((function(t){return t===n}))}))},x=function(n){var t=E[n];if("function"==typeof t){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(n,"` was specified but was not a node, or did not return a node"))}var i=t;if("string"==typeof t&&!(i=D.querySelector(t)))throw new Error("`".concat(n,"` as selector refers to no known node"));return i},B=function(){var n=x("initialFocus");if(!1===n)return!1;if(void 0===n||!o(n,E.tabbableOptions))if(A(D.activeElement)>=0)n=D.activeElement;else{var t=N.tabbableGroups[0];n=t&&t.firstTabbableNode||x("fallbackFocus")}if(!n)throw new Error("Your focus-trap needs to have at least one focusable element");return n},R=function(){if(N.containerGroups=N.containers.map((function(o){var i=n(o,E.tabbableOptions),u=t(o,E.tabbableOptions),a=i.length>0?i[0]:void 0,c=i.length>0?i[i.length-1]:void 0,s=u.find((function(n){return e(n)})),f=u.slice().reverse().find((function(n){return e(n)})),l=!!i.find((function(n){return r(n)>0}));return{container:o,tabbableNodes:i,focusableNodes:u,posTabIndexesFound:l,firstTabbableNode:a,lastTabbableNode:c,firstDomTabbableNode:s,lastDomTabbableNode:f,nextTabbableNode:function(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=i.indexOf(n);return r<0?t?u.slice(u.indexOf(n)+1).find((function(n){return e(n)})):u.slice(0,u.indexOf(n)).reverse().find((function(n){return e(n)})):i[r+(t?1:-1)]}}})),N.tabbableGroups=N.containerGroups.filter((function(n){return n.tabbableNodes.length>0})),N.tabbableGroups.length<=0&&!x("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(N.containerGroups.find((function(n){return n.posTabIndexesFound}))&&N.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},S=function n(t){var e=t.activeElement;if(e)return e.shadowRoot&&null!==e.shadowRoot.activeElement?n(e.shadowRoot):e},C=function n(t){!1!==t&&t!==S(document)&&(t&&t.focus?(t.focus({preventScroll:!!E.preventScroll}),N.mostRecentlyFocusedNode=t,function(n){return n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select}(t)&&t.select()):n(B()))},I=function(n){var t=x("setReturnFocus",n);return t||!1!==t&&n},G=function(n){var t=n.target,i=n.event,u=n.isBackward,a=void 0!==u&&u;t=t||p(i),R();var c=null;if(N.tabbableGroups.length>0){var f=A(t,i),l=f>=0?N.containerGroups[f]:void 0;if(f<0)c=a?N.tabbableGroups[N.tabbableGroups.length-1].lastTabbableNode:N.tabbableGroups[0].firstTabbableNode;else if(a){var v=d(N.tabbableGroups,(function(n){return t===n.firstTabbableNode}));if(v<0&&(l.container===t||o(t,E.tabbableOptions)&&!e(t,E.tabbableOptions)&&!l.nextTabbableNode(t,!1))&&(v=f),v>=0){var b=N.tabbableGroups[0===v?N.tabbableGroups.length-1:v-1];c=r(t)>=0?b.lastTabbableNode:b.lastDomTabbableNode}else s(i)||(c=l.nextTabbableNode(t,!1))}else{var w=d(N.tabbableGroups,(function(n){return t===n.lastTabbableNode}));if(w<0&&(l.container===t||o(t,E.tabbableOptions)&&!e(t,E.tabbableOptions)&&!l.nextTabbableNode(t))&&(w=f),w>=0){var h=N.tabbableGroups[w===N.tabbableGroups.length-1?0:w+1];c=r(t)>=0?h.firstTabbableNode:h.firstDomTabbableNode}else s(i)||(c=l.nextTabbableNode(t))}}else c=x("fallbackFocus");return c},K=function(n){var t=p(n);A(t,n)>=0||(b(E.clickOutsideDeactivates,n)?T.deactivate({returnFocus:E.returnFocusOnDeactivate}):b(E.allowOutsideClick,n)||n.preventDefault())},M=function(n){var t=p(n),e=A(t,n)>=0;if(e||t instanceof Document)e&&(N.mostRecentlyFocusedNode=t);else{var o;n.stopImmediatePropagation();var i=!0;if(N.mostRecentlyFocusedNode)if(r(N.mostRecentlyFocusedNode)>0){var u=A(N.mostRecentlyFocusedNode),a=N.containerGroups[u].tabbableNodes;if(a.length>0){var c=a.findIndex((function(n){return n===N.mostRecentlyFocusedNode}));c>=0&&(E.isKeyForward(N.recentNavEvent)?c+1<a.length&&(o=a[c+1],i=!1):c-1>=0&&(o=a[c-1],i=!1))}}else N.containerGroups.some((function(n){return n.tabbableNodes.some((function(n){return r(n)>0}))}))||(i=!1);else i=!1;i&&(o=G({target:N.mostRecentlyFocusedNode,isBackward:E.isKeyBackward(N.recentNavEvent)})),C(o||N.mostRecentlyFocusedNode||B())}N.recentNavEvent=void 0},U=function(n){if(("Escape"===(null==(t=n)?void 0:t.key)||"Esc"===(null==t?void 0:t.key)||27===(null==t?void 0:t.keyCode))&&!1!==b(E.escapeDeactivates,n))return n.preventDefault(),void T.deactivate();var t;(E.isKeyForward(n)||E.isKeyBackward(n))&&function(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];N.recentNavEvent=n;var e=G({event:n,isBackward:t});e&&(s(n)&&n.preventDefault(),C(e))}(n,E.isKeyBackward(n))},Y=function(n){var t=p(n);A(t,n)>=0||b(E.clickOutsideDeactivates,n)||b(E.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())},L=function(){if(N.active)return function(n,t){if(n.length>0){var e=n[n.length-1];e!==t&&e.pause()}var r=n.indexOf(t);-1===r||n.splice(r,1),n.push(t)}(g,T),N.delayInitialFocusTimer=E.delayInitialFocus?v((function(){C(B())})):C(B()),D.addEventListener("focusin",M,!0),D.addEventListener("mousedown",K,{capture:!0,passive:!1}),D.addEventListener("touchstart",K,{capture:!0,passive:!1}),D.addEventListener("click",Y,{capture:!0,passive:!1}),D.addEventListener("keydown",U,{capture:!0,passive:!1}),T},q=function(){if(N.active)return D.removeEventListener("focusin",M,!0),D.removeEventListener("mousedown",K,!0),D.removeEventListener("touchstart",K,!0),D.removeEventListener("click",Y,!0),D.removeEventListener("keydown",U,!0),T},z="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(n){n.some((function(n){return Array.from(n.removedNodes).some((function(n){return n===N.mostRecentlyFocusedNode}))}))&&C(B())})):void 0,H=function(){z&&(z.disconnect(),N.active&&!N.paused&&N.containers.map((function(n){z.observe(n,{subtree:!0,childList:!0})})))},(T={get active(){return N.active},get paused(){return N.paused},activate:function(n){if(N.active)return this;var t=P(n,"onActivate"),e=P(n,"onPostActivate"),r=P(n,"checkCanFocusTrap");r||R(),N.active=!0,N.paused=!1,N.nodeFocusedBeforeActivation=D.activeElement,null==t||t();var o=function(){r&&R(),L(),H(),null==e||e()};return r?(r(N.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(n){if(!N.active)return this;var t=c({onDeactivate:E.onDeactivate,onPostDeactivate:E.onPostDeactivate,checkCanReturnFocus:E.checkCanReturnFocus},n);clearTimeout(N.delayInitialFocusTimer),N.delayInitialFocusTimer=void 0,q(),N.active=!1,N.paused=!1,H(),function(n,t){var e=n.indexOf(t);-1!==e&&n.splice(e,1),n.length>0&&n[n.length-1].unpause()}(g,T);var e=P(t,"onDeactivate"),r=P(t,"onPostDeactivate"),o=P(t,"checkCanReturnFocus"),i=P(t,"returnFocus","returnFocusOnDeactivate");null==e||e();var u=function(){v((function(){i&&C(I(N.nodeFocusedBeforeActivation)),null==r||r()}))};return i&&o?(o(I(N.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(n){if(N.paused||!N.active)return this;var t=P(n,"onPause"),e=P(n,"onPostPause");return N.paused=!0,null==t||t(),q(),H(),null==e||e(),this},unpause:function(n){if(!N.paused||!N.active)return this;var t=P(n,"onUnpause"),e=P(n,"onPostUnpause");return N.paused=!1,null==t||t(),R(),L(),H(),null==e||e(),this},updateContainerElements:function(n){var t=[].concat(n).filter(Boolean);return N.containers=t.map((function(n){return"string"==typeof n?D.querySelector(n):n})),N.active&&R(),H(),this}}).updateContainerElements(O),T)}function F(n,t){n.focusTrapDisabled||n.focusTrap?.activate(t)}function k(n,t){n.focusTrap?.deactivate(t)}function O(n){n.focusTrap?.updateContainerElements(n.el)}export{F as a,y as c,k as d,O as u}
|
@@ -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 i,c as t,h as e,H as o,g as a}from"./p-7d280d8a.js";import{c as n,d as s}from"./p-de9522e9.js";import{g as l,u as r,f as c,v as d}from"./p-3dd92f0d.js";import{d as h,a as m,c as p,u as b}from"./p-d7b02d3a.js";import{s as u,a as v,c as g}from"./p-a4149333.js";import{c as x}from"./p-1f65ab1e.js";import{o as f}from"./p-2b0454a0.js";import{c as k,d as z}from"./p-13f2d901.js";import{s as w,c as y,d as C,u as j}from"./p-05cb50f9.js";import{g as $,c as M}from"./p-495e7b9d.js";import"./p-5a9a971a.js";import"./p-7c2be8cc.js";import"./p-e7afc0a8.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v2.4.0
|
11
|
+
*/const O="modal",D="header",F="container",B="modal--opening-idle",L="modal--opening-active",S="modal--closing-idle",T="modal--closing-active",E="content",H="back",q="secondary",A="primary";let W=0,_="";const G=class{constructor(e){i(this,e),this.calciteModalBeforeClose=t(this,"calciteModalBeforeClose",6),this.calciteModalClose=t(this,"calciteModalClose",6),this.calciteModalBeforeOpen=t(this,"calciteModalBeforeOpen",6),this.calciteModalOpen=t(this,"calciteModalOpen",6),this.ignoreOpenChange=!1,this.mutationObserver=x("mutation",(()=>this.handleMutationObserver())),this.cssVarObserver=x("mutation",(()=>{this.updateSizeCssVars()})),this.openTransitionProp="opacity",this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleCloseClick=()=>{this.open=!1},this.handleOutsideClose=()=>{this.outsideCloseDisabled||(this.open=!1)},this.closeModal=async()=>{if(this.beforeClose)try{await this.beforeClose(this.el)}catch(i){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}W--,this.opened=!1,this.removeOverflowHiddenClass()},this.handleMutationObserver=()=>{this.updateFooterVisibility(),this.updateFocusTrapElements()},this.updateFooterVisibility=()=>{this.hasFooter=!!l(this.el,[H,A,q])},this.updateSizeCssVars=()=>{this.cssWidth=getComputedStyle(this.el).getPropertyValue("--calcite-modal-width"),this.cssHeight=getComputedStyle(this.el).getPropertyValue("--calcite-modal-height")},this.contentTopSlotChangeHandler=i=>{this.hasContentTop=r(i)},this.contentBottomSlotChangeHandler=i=>{this.hasContentBottom=r(i)},this.open=!1,this.opened=!1,this.beforeClose=void 0,this.closeButtonDisabled=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.docked=void 0,this.escapeDisabled=!1,this.scale="m",this.widthScale="m",this.fullscreen=void 0,this.kind=void 0,this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.cssWidth=void 0,this.cssHeight=void 0,this.hasFooter=!0,this.hasContentTop=!1,this.hasContentBottom=!1,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(i){this.open&&(i?h(this):m(this))}onMessagesChange(){}async componentWillLoad(){await w(this),u(this),this.open&&this.openModal()}componentDidLoad(){v(this)}connectedCallback(){var i,t;null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0}),null===(t=this.cssVarObserver)||void 0===t||t.observe(this.el,{attributeFilter:["style"]}),this.updateSizeCssVars(),this.updateFooterVisibility(),n(this),k(this),y(this),p(this)}disconnectedCallback(){var i,t;this.removeOverflowHiddenClass(),null===(i=this.mutationObserver)||void 0===i||i.disconnect(),null===(t=this.cssVarObserver)||void 0===t||t.disconnect(),s(this),h(this),z(this),C(this),this.slottedInShell=!1}render(){return e(o,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},e("div",{class:{[F]:!0,"container--open":this.opened,"slotted-in-shell":this.slottedInShell}},e("calcite-scrim",{class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),e("div",{class:{[O]:!0},ref:this.setTransitionEl},e("div",{class:D},this.renderCloseButton(),e("header",{class:"title"},e("slot",{name:D}))),this.renderContentTop(),e("div",{class:{content:!0,"content--no-footer":!this.hasFooter},ref:i=>this.modalContent=i},e("slot",{name:E})),this.renderContentBottom(),this.renderFooter())))}renderFooter(){return this.hasFooter?e("div",{class:"footer",key:"footer"},e("span",{class:"back"},e("slot",{name:H})),e("span",{class:"secondary"},e("slot",{name:q})),e("span",{class:"primary"},e("slot",{name:A}))):null}renderContentTop(){return e("div",{class:"content-top",hidden:!this.hasContentTop},e("slot",{name:"content-top",onSlotchange:this.contentTopSlotChangeHandler}))}renderContentBottom(){return e("div",{class:"content-bottom",hidden:!this.hasContentBottom},e("slot",{name:"content-bottom",onSlotchange:this.contentBottomSlotChangeHandler}))}renderCloseButton(){return this.closeButtonDisabled?null:e("button",{"aria-label":this.messages.close,class:"close",key:"button",onClick:this.handleCloseClick,title:this.messages.close,ref:i=>this.closeButtonEl=i},e("calcite-icon",{icon:"x",scale:$(this.scale)}))}renderStyle(){if(!this.fullscreen&&(this.cssWidth||this.cssHeight))return e("style",null,`.${F} {\n ${this.docked&&this.cssWidth?"align-items: center !important;":""}\n }\n .${O} {\n block-size: ${this.cssHeight?this.cssHeight:"auto"} !important;\n ${this.cssWidth?`inline-size: ${this.cssWidth} !important;`:""}\n ${this.cssWidth?`max-inline-size: ${this.cssWidth} !important;`:""}\n ${this.docked?"border-radius: var(--calcite-border-radius) !important;":""}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${F} {\n ${this.docked?"align-items: flex-end !important;":""}\n }\n .${O} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${this.docked?"":"block-size: 100% !important;"}\n ${this.docked?"":"border-radius: 0 !important;"}\n ${this.docked?"border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;":""}\n }\n }\n `)}effectiveLocaleChange(){j(this,this.effectiveLocale)}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.open=!1,i.preventDefault())}async setFocus(){await g(this),c(this.el)}async updateFocusTrapElements(){b(this)}async scrollContent(i=0,t=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:i,left:t,behavior:"smooth"}):(this.modalContent.scrollTop=i,this.modalContent.scrollLeft=t))}onBeforeOpen(){this.transitionEl.classList.add(L),this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove(B,L),this.calciteModalOpen.emit(),m(this)}onBeforeClose(){this.transitionEl.classList.add(T),this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl.classList.remove(S,T),this.calciteModalClose.emit(),h(this)}toggleModal(i){this.ignoreOpenChange||(i?this.openModal():this.closeModal())}handleOpenedChange(i){this.transitionEl.classList.add(i?B:S),f(this)}async openModal(){await M(this.el),this.el.addEventListener("calciteModalOpen",this.openEnd),this.opened=!0;const i=l(this.el,"header"),t=l(this.el,E);this.titleId=d(i),this.contentId=d(t),this.slottedInShell||(0===W&&(_=document.documentElement.style.overflow),W++,document.documentElement.style.setProperty("overflow","hidden"))}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",_)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],open:["toggleModal"],opened:["handleOpenedChange"]}}};G.style=":host{--calcite-modal-scrim-background:rgba(0, 0, 0, 0.85);position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-color-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-color-transparent-scrim));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([opened]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.close:hover,.close:focus,.close:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-color-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width-scale=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width-scale=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=s][docked]) .container{align-items:flex-end}}:host([width-scale=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width-scale=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=m][docked]) .container{align-items:flex-end}}:host([width-scale=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width-scale=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([opened][fullscreen]) .header,:host([opened][fullscreen]) .footer,:host([opened][fullscreen]) .content-top,:host([opened][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-color-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-color-status-danger)}:host([kind=info]) .modal{border-color:var(--calcite-color-status-info)}:host([kind=success]) .modal{border-color:var(--calcite-color-status-success)}:host([kind=warning]) .modal{border-color:var(--calcite-color-status-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container.slotted-in-shell{position:absolute;pointer-events:auto}.container.slotted-in-shell calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";export{G as calcite_modal}
|
@@ -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{a as t}from"./p-3dd92f0d.js";import{d as n}from"./p-a82f35c9.js";const e=["top","right","bottom","left"],o=["start","end"],r=e.reduce(((t,n)=>t.concat(n,n+"-"+o[0],n+"-"+o[1])),[]),i=Math.min,a=Math.max,l=Math.round,c=Math.floor,s=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(t,n,e){return a(t,i(n,e))}function m(t,n){return"function"==typeof t?t(n):t}function p(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function g(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function w(t){return["top","bottom"].includes(p(t))?"y":"x"}function x(t){return g(w(t))}function v(t,n,e){void 0===e&&(e=!1);const o=y(t),r=x(t),i=h(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=A(a)),[a,A(a)]}function b(t){return t.replace(/start|end/g,(t=>u[t]))}function A(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function S(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function k(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function D(t,n,e){let{reference:o,floating:r}=t;const i=w(n),a=x(n),l=h(a),c=p(n),s="y"===i,f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,d=o[l]/2-r[l]/2;let m;switch(c){case"top":m={x:f,y:o.y-r.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-r.width,y:u};break;default:m={x:o.x,y:o.y}}switch(y(n)){case"start":m[a]-=d*(e&&s?-1:1);break;case"end":m[a]+=d*(e&&s?-1:1)}return m}async function P(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=m(n,t),y=S(p),g=l[d?"floating"===u?"reference":"floating":u],h=k(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(g)))||e?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),w="floating"===u?{...a.floating,x:o,y:r}:a.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),v=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},b=k(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:x,strategy:c}):w);return{top:(h.top-b.top+y.top)/v.y,bottom:(b.bottom-h.bottom+y.bottom)/v.y,left:(h.left-b.left+y.left)/v.x,right:(b.right-h.right+y.right)/v.x}}function O(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function R(t){return e.some((n=>t[n]>=0))}const E=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:i,placement:a,middlewareData:l}=n,c=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=p(e),l=y(e),c="y"===w(e),s=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,u=m(n,t);let{mainAxis:d,crossAxis:g,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&"number"==typeof h&&(g="end"===l?-1*h:h),c?{x:g*f,y:d*s}:{x:d*s,y:g*f}}(n,t);return a===(null==(e=l.offset)?void 0:e.placement)&&null!=(o=l.arrow)&&o.alignmentOffset?{}:{x:r+c.x,y:i+c.y,data:{...c,placement:a}}}}};function F(t){return C(t)?(t.nodeName||"").toLowerCase():"#document"}function M(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function T(t){var n;return null==(n=(C(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function C(t){return t instanceof Node||t instanceof M(t).Node}function $(t){return t instanceof Element||t instanceof M(t).Element}function z(t){return t instanceof HTMLElement||t instanceof M(t).HTMLElement}function B(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof M(t).ShadowRoot)}function L(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=N(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function j(t){return["table","td","th"].includes(F(t))}function H(t){const n=I(),e=N(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function I(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function W(t){return["html","body","#document"].includes(F(t))}function N(t){return M(t).getComputedStyle(t)}function q(t){return $(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Y(t){if("html"===F(t))return t;const n=t.assignedSlot||t.parentNode||B(t)&&t.host||T(t);return B(n)?n.host:n}function V(t){const n=Y(t);return W(n)?t.ownerDocument?t.ownerDocument.body:t.body:z(n)&&L(n)?n:V(n)}function X(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const r=V(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),a=M(r);return i?n.concat(a,a.visualViewport||[],L(r)?r:[],a.frameElement&&e?X(a.frameElement):[]):n.concat(r,X(r,[],e))}function _(t){const n=N(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=z(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,c=l(e)!==i||l(o)!==a;return c&&(e=i,o=a),{width:e,height:o,$:c}}function G(t){return $(t)?t:t.contextElement}function J(t){const n=G(t);if(!z(n))return s(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=_(n);let a=(i?l(e.width):e.width)/o,c=(i?l(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const K=s(0);function Q(t){const n=M(t);return I()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:K}function U(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=G(t);let a=s(1);n&&(o?$(o)&&(a=J(o)):a=J(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==M(t))&&n}(i,e,o)?Q(i):s(0);let c=(r.left+l.x)/a.x,f=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const t=M(i),n=o&&$(o)?M(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=J(e),n=e.getBoundingClientRect(),o=N(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,f*=t.y,u*=t.x,d*=t.y,c+=r,f+=i,e=M(e).frameElement}}return k({width:u,height:d,x:c,y:f})}function Z(t){return U(T(t)).left+q(t).scrollLeft}function tt(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=M(t),o=T(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){i=r.width,a=r.height;const t=I();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===n)o=function(t){const n=T(t),e=q(t),o=t.ownerDocument.body,r=a(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=a(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+Z(t);const c=-e.scrollTop;return"rtl"===N(o).direction&&(l+=a(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:c}}(T(t));else if($(n))o=function(t,n){const e=U(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=z(t)?J(t):s(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=Q(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return k(o)}function nt(t,n){const e=Y(t);return!(e===n||!$(e)||W(e))&&("fixed"===N(e).position||nt(e,n))}function et(t,n,e){const o=z(n),r=T(n),i="fixed"===e,a=U(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=s(0);if(o||!o&&!i)if(("body"!==F(n)||L(r))&&(l=q(n)),o){const t=U(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=Z(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function ot(t,n){return z(t)&&"fixed"!==N(t).position?n?n(t):t.offsetParent:null}function rt(t,n){const e=M(t);if(!z(t))return e;let o=ot(t,n);for(;o&&j(o)&&"static"===N(o).position;)o=ot(o,n);return o&&("html"===F(o)||"body"===F(o)&&"static"===N(o).position&&!H(o))?e:o||function(t){let n=Y(t);for(;z(n)&&!W(n);){if(H(n))return n;n=Y(n)}return null}(t)||e}const it={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=z(e),i=T(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=s(1);const c=s(0);if((r||!r&&"fixed"!==o)&&(("body"!==F(e)||L(i))&&(a=q(e)),z(e))){const t=U(e);l=J(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+c.x,y:n.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:T,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=X(t,[],!1).filter((t=>$(t)&&"body"!==F(t))),r=null;const i="fixed"===N(t).position;let a=i?Y(t):t;for(;$(a)&&!W(a);){const n=N(a),e=H(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||L(a)&&!e&&nt(t,a))?o=o.filter((t=>t!==a)):r=n,a=Y(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],c=l.reduce(((t,e)=>{const o=tt(n,e,r);return t.top=a(o.top,t.top),t.right=i(o.right,t.right),t.bottom=i(o.bottom,t.bottom),t.left=a(o.left,t.left),t}),tt(n,l[0],r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:rt,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||rt,i=this.getDimensions;return{reference:et(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:n,height:e}=_(t);return{width:n,height:e}},getScale:J,isElement:$,isRTL:function(t){return"rtl"===N(t).direction}};const at=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:l,platform:c,elements:s}=n,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:w=!0,...x}=m(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const S=p(r),k=p(l)===l,D=await(null==c.isRTL?void 0:c.isRTL(s.floating)),O=d||(k||!w?[A(l)]:function(t){const n=A(t);return[b(t),n,b(n)]}(l));d||"none"===h||O.push(...function(t,n,e,o){const r=y(t);let i=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(p(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(b)))),i}(l,w,h,D));const R=[l,...O],E=await P(n,x),F=[];let M=(null==(o=i.flip)?void 0:o.overflows)||[];if(f&&F.push(E[S]),u){const t=v(r,a,D);F.push(E[t[0]],E[t[1]])}if(M=[...M,{placement:r,overflows:F}],!F.every((t=>t<=0))){var T,C;const t=((null==(T=i.flip)?void 0:T.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:M},reset:{placement:n}};let e=null==(C=M.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:C.placement;if(!e)switch(g){case"bestFit":{var $;const t=null==($=M.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:$[0];t&&(e=t);break}case"initialPlacement":e=l}if(r!==e)return{reset:{placement:e}}}return{}}}},lt=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=m(t,n);switch(o){case"referenceHidden":{const t=O(await P(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:R(t)}}}case"escaped":{const t=O(await P(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:R(t)}}}default:return{}}}}};function ct(t){return function(t){for(let n=t;n;n=st(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=st(t);n;n=st(n)){if(!(n instanceof Element))continue;const t=getComputedStyle(n);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return n;if("BODY"===n.tagName)return n}}return null}
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v2.4.0
|
11
|
+
*/(t)}function st(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function ft(t){const n=window.devicePixelRatio||1;return Math.round(t*n)/n}!function(){{const t=it.getOffsetParent;it.getOffsetParent=n=>t(n,ct)}}();const ut=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})=>{if(!n||!e)return null;const{x:u,y:d,placement:m,strategy:p,middlewareData:y}=await((t,n,e)=>{const o=new Map,r={platform:it,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:f,y:u}=D(s,o,c),d=o,m={},p=0;for(let e=0;e<l.length;e++){const{name:i,fn:y}=l[e],{x:g,y:h,data:w,reset:x}=await y({x:f,y:u,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:s,platform:a,elements:{reference:t,floating:n}});f=null!=g?g:f,u=null!=h?h:u,m={...m,[i]:{...m[i],...w}},x&&p<=50&&(p++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):x.rects),({x:f,y:u}=D(s,d,c))),e=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:m}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:wt(e,r),middleware:gt({placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})});if(s&&y.arrow){const{x:n,y:e}=y.arrow,o=m.split("-")[0],r=null!=n?"left":"top",i=vt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(s.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const g=y.hide?.referenceHidden,h=g?"hidden":null,w=h?"none":null;e.setAttribute(dt,m);const{open:x}=t;Object.assign(e.style,{visibility:h,pointerEvents:w,position:p,transform:x?`translate(${ft(u)}px,${ft(d)}px)`:"",top:0,left:0})},dt="data-placement",mt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],pt="bottom-start",yt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function gt({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:o,offsetSkidding:a,arrowEl:l,type:c}){const s=[(void 0===f&&(f={}),{name:"shift",options:f,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:a={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...l}=m(f,t),c={x:n,y:e},s=await P(t,l),u=w(p(o)),y=g(u);let h=c[y],x=c[u];r&&(h=d(h+s["y"===y?"top":"left"],h,h-s["y"===y?"bottom":"right"])),i&&(x=d(x+s["y"===u?"top":"left"],x,x-s["y"===u?"bottom":"right"]));const v=a.fn({...t,[y]:h,[u]:x});return{...v,data:{x:v.x-n,y:v.y-e}}}}),lt()];var f;if("menu"===c)return[...s,at({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===c||"tooltip"===c){const c=[...s,E({mainAxis:"number"==typeof o?o:0,crossAxis:"number"==typeof a?a:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?c.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,o,i;const{rects:a,middlewareData:l,placement:c,platform:s,elements:f}=n,{crossAxis:u=!1,alignment:d,allowedPlacements:g=r,autoAlignment:h=!0,...w}=m(t,n),x=void 0!==d||g===r?function(t,n,e){return(t?[...e.filter((n=>y(n)===t)),...e.filter((n=>y(n)!==t))]:e.filter((t=>p(t)===t))).filter((e=>!t||y(e)===t||!!n&&b(e)!==e))}(d||null,h,g):g,A=await P(n,w),S=(null==(e=l.autoPlacement)?void 0:e.index)||0,k=x[S];if(null==k)return{};const D=v(k,a,await(null==s.isRTL?void 0:s.isRTL(f.floating)));if(c!==k)return{reset:{placement:x[0]}};const O=[A[p(k)],A[D[0]],A[D[1]]],R=[...(null==(o=l.autoPlacement)?void 0:o.overflows)||[],{placement:k,overflows:O}],E=x[S+1];if(E)return{data:{index:S+1,overflows:R},reset:{placement:E}};const F=R.map((t=>{const n=y(t.placement);return[t.placement,n&&u?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),M=(null==(i=F.filter((t=>t[2].slice(0,y(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||F[0][0];return M!==c?{data:{index:S+1,overflows:R},reset:{placement:M}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||c.push(at(e?{fallbackPlacements:e}:{})),l&&c.push((t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:r,rects:a,platform:l,elements:c,middlewareData:s}=n,{element:f,padding:u=0}=m(t,n)||{};if(null==f)return{};const p=S(u),g={x:e,y:o},w=x(r),v=h(w),b=await l.getDimensions(f),A="y"===w,k=A?"top":"left",D=A?"bottom":"right",P=A?"clientHeight":"clientWidth",O=a.reference[v]+a.reference[w]-g[w]-a.floating[v],R=g[w]-a.reference[w],E=await(null==l.getOffsetParent?void 0:l.getOffsetParent(f));let F=E?E[P]:0;F&&await(null==l.isElement?void 0:l.isElement(E))||(F=c.floating[P]||a.floating[v]);const M=O/2-R/2,T=F/2-b[v]/2-1,C=i(p[k],T),$=i(p[D],T),z=C,B=F-b[v]-$,L=F/2-b[v]/2+M,j=d(z,L,B),H=!s.arrow&&null!=y(r)&&L!==j&&a.reference[v]/2-(L<z?C:$)-b[v]/2<0,I=H?L<z?L-z:L-B:0;return{[w]:g[w]+I,data:{[w]:j,centerOffset:L-j-I,...H&&{alignmentOffset:I}},reset:H}}}))({element:l})),c}return[]}function ht(t,n){const e=t.filter((t=>mt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${mt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function wt(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function xt(t,e,o=!1){if(!t.open)return;const r=o?function(t){let e=At.get(t);return e||(e=n(ut,100,{leading:!0,maxWait:100}),At.set(t,e),e)}(t):ut;return r(t,e)}const vt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},bt=new WeakMap,At=new WeakMap;function St(t,n,e){e&&n&&(kt(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning}),bt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,d=G(t),m=r||l?[...d?X(d):[],...X(n)]:[];m.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),l&&t.addEventListener("resize",e)}));const p=d&&f?function(t,n){let e,o=null;const r=T(t);function l(){clearTimeout(e),o&&o.disconnect(),o=null}return function s(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),l();const{left:d,top:m,width:p,height:y}=t.getBoundingClientRect();if(f||n(),!p||!y)return;const g={rootMargin:-c(m)+"px "+-c(r.clientWidth-(d+p))+"px "+-c(r.clientHeight-(m+y))+"px "+-c(d)+"px",threshold:a(0,i(1,u))||1};let h=!0;function w(t){const n=t[0].intersectionRatio;if(n!==u){if(!h)return s();n?s(!1,n):e=setTimeout((()=>{s(!1,1e-7)}),100)}h=!1}try{o=new IntersectionObserver(w,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(w,g)}o.observe(t)}(!0),l}(d,e):null;let y,g=-1,h=null;s&&(h=new ResizeObserver((t=>{let[o]=t;o&&o.target===d&&h&&(h.unobserve(n),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{h&&h.observe(n)}))),e()})),d&&!u&&h.observe(d),h.observe(n));let w=u?U(t):null;return u&&function n(){const o=U(t);!w||o.x===w.x&&o.y===w.y&&o.width===w.width&&o.height===w.height||e(),w=o,y=requestAnimationFrame(n)}(),e(),()=>{m.forEach((t=>{r&&t.removeEventListener("scroll",e),l&&t.removeEventListener("resize",e)})),p&&p(),h&&h.disconnect(),h=null,u&&cancelAnimationFrame(y)}}(n,e,(()=>t.reposition()))))}function kt(t,n,e){e&&n&&(bt.get(t)?.(),bt.delete(t),At.get(t)?.cancel(),At.delete(t))}const Dt=Math.ceil(Math.hypot(4,4));export{yt as F,kt as a,Dt as b,St as c,pt as d,ht as f,xt as r}
|
@@ -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 r}from"./p-1065f4fa.js";import"./p-7d280d8a.js";import"./p-1f33a29d.js";import"./p-3dd92f0d.js";import"./p-5a9a971a.js";import"./p-7c2be8cc.js";import"./p-6d520a58.js";import"./p-ba7d55ea.js";import"./p-e7afc0a8.js";import"./p-9d53e0f2.js";import"./p-495e7b9d.js";import"./p-a4149333.js";import"./p-13f2d901.js";import"./p-1f65ab1e.js";import"./p-d7b02d3a.js";import"./p-8007ac36.js";import"./p-f0c7d964.js";import"./p-05cb50f9.js";import"./p-2b0454a0.js";import"./p-c94d2cec.js";var m={name:"da",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn._man._tirs._ons._tors._fre._lør.".split("_"),weekdaysMin:"sø._ma._ti._on._to._fr._lø.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,ordinal:function(r){return 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.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"}};r.locale(m,null,!0);export default m;
|