@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
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
/*!
|
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.0.0
|
10
|
-
*/
|
11
|
-
function n(){const n=navigator.userAgentData;return n?.brands?n.brands.map((({brand:n,version:r})=>`${n}/${r}`)).join(" "):navigator.userAgent}export{n as g}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{b as n}from"./p-86b21da1.js";import{c as t}from"./p-225c4ca4.js";var l,a,e,o;!function(n){n.User="user",n.Translation="translation"}(l||(l={})),function(n){n.String="string",n.TextEditor="textEditor"}(a||(a={})),function(n){n.ExpandCollapse="list-merge",n.SettingIndicator="list-button",n.Popover="information",n.Expanded="chevron-down",n.Collapsed="chevron-right",n.Copy="copy-to-clipboard",n.Breadcrumb="chevron-right",n.DefaultIcon="language",n.Title="title",n.Subtitle="subheading",n.Text="text",n.Description="description",n.Button="button",n.String="string"}(e||(e={})),function(n){n.Light="calcite-mode-light",n.Dark="calcite-mode-dark"}(o||(o={}));const u=t({uiData:null,currentLanguage:null,lastSave:null,saving:!1,currentLocaleSettingItem:null,portalItemResource:null,portalItemResourceT9n:null}),i=u.state,r=u;function c(n,t){var l;if(!n)return;const a=r.get("uiData"),e=new Map;e.set("locales",t),e.set("translatedLanguageLabels",Object.assign({},n.translatedLanguageLabels)),n.content.forEach((n=>{var t,l;const{type:o,label:u,value:i,uiLocation:r}=n,c=null==a?void 0:a.get(n.id);e.set(n.id,{userLocaleData:{type:null!=o?o:null,label:null!=u?u:null,value:null!=i?i:null},expanded:!0,selected:null!==(t=null==c?void 0:c.selected)&&void 0!==t&&t,uiLocation:r,tip:null!==(l=null==n?void 0:n.tip)&&void 0!==l?l:null})}));const o=n.content.map((n=>n.id)),u=o.every((n=>!e.get(n).selected)),i=e.get(o[0]);if(u&&i){const n=null==a?void 0:a.get(o[0]);i.selected=null===(l=null==n?void 0:n.selected)||void 0===l||l}return e}async function s(t){return(await n(t))[0]}function d(){var n;const t=[];return null===(n=i.uiData)||void 0===n||n.forEach(((n,l)=>{"locales"!==l&&"translatedLanguageLabels"!==l&&t.push(l)})),t}function v(n,t){const l=r.get("portalItemResourceT9n");let a;return(null==l?void 0:l[n])||(l[n]={}),a=Object.assign(Object.assign({},l),{[n]:Object.assign(Object.assign({},l[n]),t)}),a}function g(n){var t;return null!==(t=null==n?void 0:n.map((n=>n.locale)))&&void 0!==t?t:[]}function b(){return document.body.classList.contains(o.Dark)}export{e as E,c as a,g as b,d as c,a as d,o as e,l as f,s as g,v as h,b as i,i as l,r as s}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,h as s,H as e,g as n}from"./p-78780f63.js";import{d as a,a as o,b as l,i as r,c,e as h,f as d}from"./p-4416d288.js";import{t as p}from"./p-83fd31d5.js";import{f as u,c as v,d as m,r as f,a as g,F as b}from"./p-c4ebb5d1.js";import{s as _,c as x,d as w,H as y}from"./p-6604ac77.js";import{c as k,d as $,u as C}from"./p-0c97de08.js";import{n as z}from"./p-1e2ffee3.js";import{c as E,d as D}from"./p-49fb1bfa.js";import{c as I,s as P,a as F}from"./p-f10944e6.js";import{n as R,c as S,d as j,f as L}from"./p-de281b08.js";import{o as N}from"./p-653af7e0.js";import{g as O,a as T}from"./p-727596e6.js";import{c as A,s as M,d as U}from"./p-981e9549.js";import{c as B,d as W,a as H}from"./p-d9a59fcc.js";import{g as V}from"./p-fcefdfff.js";import{g as J}from"./p-0c07ad8a.js";import{l as K}from"./p-a8a0187d.js";import{g as q}from"./p-86b21da1.js";import{g as Y}from"./p-c96eb2db.js";import"./p-29d68474.js";import"./p-a82f35c9.js";import"./p-c92fff33.js";import"./p-5b566d55.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-14a48b14.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.0.0
|
11
|
-
*/const Z=class{constructor(s){t(this,s),this.calciteInputDatePickerChange=i(this,"calciteInputDatePickerChange",6),this.calciteInputDatePickerBeforeClose=i(this,"calciteInputDatePickerBeforeClose",6),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",6),this.calciteInputDatePickerBeforeOpen=i(this,"calciteInputDatePickerBeforeOpen",6),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",6),this.calciteInternalInputInputHandler=t=>{const i=t.target,s=i.value,e=this.parseNumerals(s),n=this.formatNumerals(e);i.value=n;const{year:a}=o(s,this.localeData);if(a&&a.length<4)return;const c=l(s,this.localeData);r(c,this.min,this.max)&&(this.datePickerActiveDate=c)},this.calciteInternalInputBlurHandler=()=>{this.commitValue()},this.dialogId=`date-picker-dialog--${V()}`,this.focusOnOpen=!1,this.lastBlurredInput="none",this.userChangedValue=!1,this.openTransitionProp="opacity",this.valueAsDateChangedExternally=!1,this.placeholderTextId=`calcite-input-date-picker-placeholder-${V()}`,this.onInputWrapperClick=()=>{this.range&&"none"!==this.lastBlurredInput&&this.open||(this.open=!this.open),this.lastBlurredInput="none"},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?u(i,t):null},this.setTransitionEl=t=>{this.transitionEl=t},this.setStartInput=t=>{this.startInput=t},this.setEndInput=t=>{this.endInput=t},this.deactivate=()=>{this.open=!1,this.lastBlurredInput="none"},this.keyDownHandler=t=>{var i,s;const{defaultPrevented:e,key:n}=t;e||("Enter"===n?(this.commitValue(),this.shouldFocusRangeEnd()?null===(i=this.endInput)||void 0===i||i.setFocus():this.shouldFocusRangeStart()&&(null===(s=this.startInput)||void 0===s||s.setFocus()),_(this)&&(t.preventDefault(),this.restoreInputFocus())):"ArrowDown"===n?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===n&&(this.open=!1,t.preventDefault(),this.restoreInputFocus()))},this.startInputFocus=()=>{this.focusedInput="start"},this.startEndInputFocus=t=>{const i=t.relatedTarget;this.lastBlurredInput=i===this.startInput?"start":i===this.endInput?"end":"none"},this.endInputFocus=()=>{this.focusedInput="end"},this.setFloatingEl=t=>{this.floatingEl=t,v(this,this.referenceEl,this.floatingEl)},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.setDatePickerRef=t=>{this.datePickerEl=t,B(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.handleDateChange=t=>{this.range||(t.stopPropagation(),this.setValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.handleDateRangeChange=t=>{this.range&&(t.stopPropagation(),this.setRangeValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.setInputValue=(t,i="start")=>{const s=this[`${i}Input`];s&&(s.value=t)},this.setRangeValue=t=>{if(!this.range)return;const{value:i}=this,s=Array.isArray(i),e=Array.isArray(t);let n=e?c(e?t[0]:null):"";n&&(n=this.getNormalizedDate(n));let a=e?c(e?t[1]:null):"";a&&(a=this.getNormalizedDate(a));const o=n||a?[n,a]:"";if(o===i)return;this.userChangedValue=!0,this.value=o,this.valueAsDate=o?O(o):void 0;const l=this.calciteInputDatePickerChange.emit();l&&l.defaultPrevented&&(this.value=i,s?(this.setInputValue(i[0],"start"),this.setInputValue(i[1],"end")):(this.value=i,this.setInputValue(i)))},this.setValue=t=>{if(this.range)return;const i=this.value;let s=c(t);s=this.getNormalizedDate(s),s!==i&&(this.userChangedValue=!0,this.valueAsDate=s?h(s):void 0,this.value=s||"",this.calciteInputDatePickerChange.emit().defaultPrevented&&(this.value=i,this.setInputValue(i)))},this.commonDateSeparators=[".","-","/"],this.formatNumerals=t=>t?t.split("").map((t=>{var i,s,e;return(null===(i=this.commonDateSeparators)||void 0===i?void 0:i.includes(t))?null===(s=this.localeData)||void 0===s?void 0:s.separator:(null==z?void 0:z.includes(t))?null===(e=null==R?void 0:R.numberFormatter)||void 0===e?void 0:e.format(Number(t)):t})).join(""):"",this.parseNumerals=t=>t?t.split("").map((t=>z.includes(t)?R.delocalize(t):t)).join(""):"",this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.value="",this.flipPlacements=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.messageOverrides=void 0,this.messages=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.open=!1,this.name=void 0,this.numberingSystem=void 0,this.scale="m",this.status="idle",this.placement=m,this.range=!1,this.required=!1,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.datePickerActiveDate=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.focusedInput="start",this.localeData=void 0}handleFocusTrapDisabled(t){this.open&&(t?W(this):H(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}valueWatcher(t){if(!this.userChangedValue){let i;i=Array.isArray(t)?O(t):t?h(t):void 0,this.valueAsDateChangedExternally||i===this.valueAsDate||(this.valueAsDate=i),this.localizeInputValues()}this.userChangedValue=!1}valueAsDateWatcher(t){this.datePickerActiveDate=t;const i=this.range&&Array.isArray(t)?[c(t[0]),c(t[1])]:c(t);this.value!==i&&(this.valueAsDateChangedExternally=!0,this.value=i,this.valueAsDateChangedExternally=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}onMinChanged(t){t&&(this.minAsDate=h(t))}onMaxChanged(t){t&&(this.maxAsDate=h(t))}openHandler(){N(this),(this.disabled||this.readOnly)&&(this.open=!1)}overlayPositioningHandler(){this.reposition(!0)}calciteDaySelectHandler(){this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()||(this.open=!1)}async setFocus(){await I(this),this.el.focus()}async reposition(t=!1){const{floatingEl:i,referenceEl:s,placement:e,overlayPositioning:n,filteredFlipPlacements:a}=this;return f(this,{floatingEl:i,referenceEl:s,overlayPositioning:n,placement:e,flipPlacements:a,type:"menu"},t)}connectedCallback(){k(this),S(this);const{open:t}=this;if(t&&this.openHandler(),Array.isArray(this.value))this.valueAsDate=O(this.value);else if(this.value)try{this.valueAsDate=h(this.value)}catch(t){this.warnAboutInvalidValue(this.value),this.value=""}else this.range&&this.valueAsDate&&this.setRangeValue(this.valueAsDate);this.min&&(this.minAsDate=h(this.min)),this.max&&(this.maxAsDate=h(this.max)),E(this),x(this),A(this),this.setFilteredPlacements(),this.reposition(!0),R.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.open&&N(this),v(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){P(this),await Promise.all([this.loadLocaleData(),M(this)]),this.onMinChanged(this.min),this.onMaxChanged(this.max)}componentDidLoad(){F(this),this.localizeInputValues(),this.reposition(!0)}disconnectedCallback(){W(this),$(this),D(this),w(this),g(this,this.referenceEl,this.floatingEl),j(this),U(this)}componentDidRender(){C(this)}render(){var t,i,n;const{disabled:a,effectiveLocale:o,messages:l,numberingSystem:r,readOnly:c}=this;return R.numberFormatOptions={numberingSystem:r,locale:o,useGrouping:!1},s(e,{onBlur:this.deactivate,onKeyDown:this.keyDownHandler},this.localeData&&s("div",{class:"input-container"},s("div",{class:"input-wrapper",onClick:this.onInputWrapperClick,ref:this.setStartWrapper},s("calcite-input-text",{"aria-autocomplete":"none","aria-controls":this.dialogId,"aria-describedby":this.placeholderTextId,"aria-expanded":p(this.open),"aria-haspopup":"dialog",class:"input "+("vertical"===this.layout&&this.range?"no-bottom-border":""),disabled:a,icon:"calendar",onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputTextFocus:this.startInputFocus,onFocus:this.startEndInputFocus,placeholder:null===(t=this.localeData)||void 0===t?void 0:t.placeholder,readOnly:c,role:"combobox",scale:this.scale,status:this.status,ref:this.setStartInput}),!this.readOnly&&this.renderToggleIcon(this.open&&"start"===this.focusedInput),s("span",{"aria-hidden":"true",class:"assistive-text",id:this.placeholderTextId},"Date Format: ",null===(i=this.localeData)||void 0===i?void 0:i.placeholder)),s("div",{"aria-hidden":p(!this.open),"aria-label":l.chooseDate,"aria-live":"polite","aria-modal":"true",class:{"menu-container":!0,"menu-container--active":this.open},id:this.dialogId,role:"dialog",ref:this.setFloatingEl},s("div",{class:{"calendar-picker-wrapper":!0,"calendar-picker-wrapper--end":"end"===this.focusedInput,[b.animation]:!0,[b.animationActive]:this.open},ref:this.setTransitionEl},s("calcite-date-picker",{activeDate:this.datePickerActiveDate,activeRange:this.focusedInput,headingLevel:this.headingLevel,max:this.max,maxAsDate:this.maxAsDate,messageOverrides:this.messageOverrides,min:this.min,minAsDate:this.minAsDate,numberingSystem:r,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,tabIndex:this.open?void 0:-1,valueAsDate:this.valueAsDate,ref:this.setDatePickerRef}))),this.range&&"horizontal"===this.layout&&s("div",{class:"horizontal-arrow-container"},s("calcite-icon",{flipRtl:!0,icon:"arrow-right",scale:J(this.scale)})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&s("div",{class:"vertical-arrow-container"},s("calcite-icon",{icon:"arrow-down",scale:J(this.scale)})),this.range&&s("div",{class:"input-wrapper",onClick:this.onInputWrapperClick,ref:this.setEndWrapper},s("calcite-input-text",{"aria-autocomplete":"none","aria-controls":this.dialogId,"aria-expanded":p(this.open),"aria-haspopup":"dialog",class:{input:!0,"border-top-color-one":"vertical"===this.layout&&this.range},disabled:a,icon:"calendar",onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputTextFocus:this.endInputFocus,onFocus:this.startEndInputFocus,placeholder:null===(n=this.localeData)||void 0===n?void 0:n.placeholder,readOnly:c,role:"combobox",scale:this.scale,status:this.status,ref:this.setEndInput}),!this.readOnly&&this.renderToggleIcon(this.open&&"end"===this.focusedInput))),s(y,{component:this}))}renderToggleIcon(t){return s("span",{class:"toggle-icon"},s("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:J(this.scale)}))}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:s,startWrapper:e}=this;this.referenceEl="end"===t||"vertical"===i?s||e:e||s,requestAnimationFrame((()=>v(this,this.referenceEl,this.floatingEl)))}onLabelClick(){this.setFocus()}onBeforeOpen(){this.reposition(!0),this.calciteInputDatePickerBeforeOpen.emit()}onOpen(){H(this,{onActivate:()=>{this.focusOnOpen&&(this.datePickerEl.setFocus(),this.focusOnOpen=!1)}}),this.calciteInputDatePickerOpen.emit()}onBeforeClose(){this.calciteInputDatePickerBeforeClose.emit()}onClose(){this.calciteInputDatePickerClose.emit(),W(this),this.restoreInputFocus(),this.focusOnOpen=!1,this.datePickerEl.reset(),this.reposition(!0)}commitValue(){const{focusedInput:t,value:i}=this,s=l(this[`${t}Input`].value,this.localeData),e=c(s),n=Array.isArray(i);if(this.range)if(n){if(e===i["start"===t?0:1])return;s?(this.setRangeValue(["start"===t?s:h(i[0]),"end"===t?s:h(i[1])]),this.localizeInputValues()):this.setRangeValue(["end"===t&&h(i[0]),"start"===t&&h(i[1])])}else s&&(this.setRangeValue(["start"===t?s:h(i[0]),"end"===t?s:h(i[1])]),this.localizeInputValues());else{if(e===i)return;this.setValue(s),this.localizeInputValues()}}async loadLocaleData(){R.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await T(this.effectiveLocale),this.localizeInputValues()}shouldFocusRangeStart(){return!(!this.value[1]||this.value[0]||"end"!==this.focusedInput||!this.startInput)}shouldFocusRangeEnd(){return!(!this.value[0]||this.value[1]||"start"!==this.focusedInput||!this.endInput)}restoreInputFocus(){this.range?("start"===this.focusedInput?this.startInput:this.endInput).setFocus():this.startInput.setFocus()}localizeInputValues(){var t;const i=d(this.range?Array.isArray(this.valueAsDate)&&this.valueAsDate[0]||void 0:this.valueAsDate,this.minAsDate,this.maxAsDate),s=this.range?d(Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0,this.minAsDate,this.maxAsDate):null,e={numberingSystem:L},n=i&&this.formatNumerals(i.toLocaleDateString(this.effectiveLocale,e)),a=s&&this.formatNumerals(s.toLocaleDateString(this.effectiveLocale,e));this.setInputValue(null!=n?n:"","start"),this.setInputValue(null!==(t=this.range&&a)&&void 0!==t?t:"","end")}warnAboutInvalidValue(t){console.warn(`The specified value "${t}" does not conform to the required format, "YYYY-MM-DD".`)}getNormalizedDate(t){if(!t)return"";if(!
|
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.0.0
|
16
|
-
*/
|
17
|
-
function(t){if(!t)return!1;const{year:i}=a(t);return Number(i)<100}(t))return t;const{day:i,month:s,year:e}=a(t);return`${function(t){const i=(new Date).getFullYear();return 100*Math.floor(i/100)+t}(Number(e))}-${s}-${i}`}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],value:["valueWatcher"],valueAsDate:["valueAsDateWatcher"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],min:["onMinChanged"],max:["onMaxChanged"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],effectiveLocale:["loadLocaleData"]}}};Z.style=":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host .menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}:host .menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}:host .menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}:host .menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([scale=s]){--calcite-toggle-spacing:0.5rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1rem)}:host([scale=m]){--calcite-toggle-spacing:0.75rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1.5rem)}:host([scale=l]){--calcite-toggle-spacing:1rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 2rem)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.calendar-picker-wrapper{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}:host([range]) .input-container{display:flex}:host([range]) .input-wrapper{flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);padding-block:0px;padding-inline:0.25rem}:host([range][layout=vertical]) .input-wrapper{inline-size:100%}:host([range][layout=vertical]) .input-container{flex-direction:column;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{inset-block-start:1.5rem;position:absolute;z-index:var(--calcite-z-index);margin-inline:1px;background-color:var(--calcite-color-foreground-1);padding-inline:0.625rem;inset-inline-start:0}.menu-container{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .menu-container{visibility:visible}.menu-container--active{visibility:visible}.input .calcite-input__wrapper{margin-block-start:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{inset-block-start:1.5rem;padding-inline-start:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{inset-block-start:2.25rem;padding-inline:0.875rem}:host([range][layout=vertical][open]) .vertical-arrow-container{display:none}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";const G="instant-apps-filter-list calcite-mode-light",X=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function Q(t){return t.replaceAll("'","''")}function tt(t,i=!1){if(t){const s=new Date(t),e=`${s.getFullYear()}-${s.getMonth()+1}-${s.getDate()}`;return i?`${e} ${s.getHours()}:${s.getMinutes()}:${s.getSeconds()}`:e}}function it(t){var i;if(null!=t){t.value=["",""];const s=null===(i=t.shadowRoot)||void 0===i?void 0:i.querySelectorAll("calcite-input");if(null!=s)for(const t of s)t.value=""}}const st="instant-apps-filter-list__footer",et="instant-apps-filter-list__item-container--user-input",nt=class{constructor(s){t(this,s),this.filterListReset=i(this,"filterListReset",7),this.filterUpdate=i(this,"filterUpdate",7),this.layerExpressions=void 0,this.autoUpdateUrl=!1,this.closeBtn=!1,this.closeBtnOnClick=void 0,this.closeBtnText=void 0,this.openFilters=!1,this.extentSelector=!1,this.extentSelectorConfig=void 0,this.urlParams=void 0,this.view=void 0,this.zoomBtn=!0,this.loading=void 0,this.filterLayerExpressions=void 0,this.messages=void 0,this.baseClass=G,this.disabled=!0,this.hasLayerExpression=!1,this.initDefExpressions=void 0,this.initMapImageExpressions=void 0,this.initPointCloudFilters=void 0}watchViewHandler(){this.handleWhenView()}watchLayerExpressions(){this.hasLayerExpression||(this.filterLayerExpressions=JSON.parse(JSON.stringify(this.layerExpressions)),this.handleLayerExpressionsUpdate(),this.hasLayerExpression=!0)}async componentWillLoad(){var t;this.baseClass="dark"===Y(this.el)?"instant-apps-filter-list calcite-mode-dark":G,await this.initializeModules(),q(this),this.hasLayerExpression=null!=this.layerExpressions,this.filterLayerExpressions=null!=this.layerExpressions?JSON.parse(JSON.stringify(this.layerExpressions)):void 0,this.disabled=!(null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)||void 0,this.reactiveUtils.whenOnce((()=>this.view)).then((()=>this.handleLayerExpressionsUpdate()))}componentShouldUpdate(t,i,s){"view"===s&&null!=t?this.handleWhenView():"layerExpressions"===s&&(this.hasLayerExpression&&this.resetAllFilters(),this.filterLayerExpressions=JSON.parse(JSON.stringify(this.layerExpressions)),this.handleLayerExpressionsUpdate(),this.hasLayerExpression=!0)}componentWillRender(){var t;this.disabled=!((null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)>0)||void 0}disconnectedCallback(){this.filterLayerExpressions=JSON.parse(JSON.stringify(this.layerExpressions)),this.resetAllFilters()}async initializeModules(){const[t,i,s]=await K(["esri/intl","esri/geometry/support/jsonUtils","esri/core/reactiveUtils"]);return this.geometryJsonUtils=i,this.reactiveUtils=s,this.locale=t.getLocale(),Promise.resolve()}render(){const t=this.loading?this.renderLoading():this.initFilterConfig(),i=this.closeBtn?this.renderFullFooter():this.renderFooter();return s(e,null,s("calcite-panel",{class:this.baseClass,ref:t=>this.panelEl=t},s("slot",{slot:"header-content",name:"filter-header-content"}),s("slot",{slot:"header-actions-end",name:"filter-header-actions-end"}),s("div",{key:"filter-container",class:"instant-apps-filter-list__container"},t,i)))}renderLoading(){return s("calcite-loader",{label:"Loading filters..."})}renderFilter(t){const{id:i}=t;return t.expressions.map(((e,n)=>"checkbox"==e.type||null==e.type?s("div",{key:`${i}-${n}`,class:"instant-apps-filter-list__item-container"},s("div",{class:"instant-apps-filter-list__title"},s("p",null,e.name)),s("div",{class:"instant-apps-filter-list__checkbox-container"},s("calcite-checkbox",{id:e.id.toString(),scale:"l",checked:null==e?void 0:e.active,onCalciteCheckboxChange:this.handleCheckboxChange.bind(this,t,e)}))):this.initInput(t,e)))}renderLayerBlock(){return this.filterLayerExpressions.map((t=>this.renderFilterBlocks(t)))}renderFilterBlocks(t){var i;const e=this.renderFilter(t),{operator:n}=t,a="OR"===(null==n?void 0:n.trim())?"orOperator":"andOperator",o=this.renderZoomTo(t);return s("calcite-block",{key:t.id,heading:t.title,description:null===(i=this.messages)||void 0===i?void 0:i[a],open:!!this.openFilters||void 0,collapsible:!0},o,e)}renderCombobox(t,i){var e;return s("label",{key:"combo-select",class:et},s("span",null,i.name),s("calcite-combobox",{id:i.id.toString(),onCalciteComboboxChange:this.handleComboSelect.bind(this,i,t),label:i.name,placeholder:i.placeholder,overlayPositioning:"fixed",selectionMode:"multiple",scale:"s","max-items":"6"},null===(e=i.fields)||void 0===e?void 0:e.map(((t,s)=>this.renderComboboxItem(i,t,s)))))}renderComboboxItem(t,i,e){var n,a;let o=i;"coded-value"===t.type?o=null===(n=t.codedValues)||void 0===n?void 0:n[i]:"number"===t.type&&"number"==typeof i&&null!=t.format&&(null!=t.format.places&&(o=this.roundNumber(i,t.format.places)),t.format.digitSeparator&&(o=this.numberWithCommas(o)));const l=null==t?void 0:t.selectedFields,r=null!==(a=null==l?void 0:l.includes(i))&&void 0!==a&&a;return s("calcite-combobox-item",{key:`${o}-${e}`,value:i,textLabel:`${o}`,selected:r})}initFilterConfig(){var t,i;if((null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)>0){if(1===this.filterLayerExpressions.length){const{operator:t}=this.filterLayerExpressions[0],e="OR"===(null==t?void 0:t.trim())?"orOperator":"andOperator",n=this.renderZoomTo(this.filterLayerExpressions[0]);return s("calcite-block",{class:"instant-apps-filter-list__operator-description",heading:null===(i=this.messages)||void 0===i?void 0:i[e],open:!0},n,this.renderFilter(this.filterLayerExpressions[0]))}if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}renderNumberSlider(t,i){var e,n,a,o,l,r,c,h;const d=null==i?void 0:i.min,p=null==i?void 0:i.max,u=(null==i?void 0:i.step)?i.step:1,v=null!==(e=null==i?void 0:i.field)&&void 0!==e?e:"",m=[null!=(null===(n=null==i?void 0:i.range)||void 0===n?void 0:n.min)?i.range.min:d,null!=(null===(a=null==i?void 0:i.range)||void 0===a?void 0:a.max)?i.range.max:p];return null!=d&&null!=p?s("label",{key:null==i?void 0:i.id.toString(),class:et},s("span",null,null==i?void 0:i.name),s("div",{class:"instant-apps-filter-list__number-input-container"},s("calcite-slider",{id:null==i?void 0:i.id.toString(),onCalciteSliderChange:this.handleSliderChange.bind(this,i,t),min:d,max:p,minValue:d,maxValue:p,"min-label":null===(l=null===(o=this.messages)||void 0===o?void 0:o.minSlider)||void 0===l?void 0:l.replace("{field}",v),"max-label":null===(c=null===(r=this.messages)||void 0===r?void 0:r.maxSlider)||void 0===c?void 0:c.replace("{field}",v),step:u,labelHandles:!0,snap:!0,value:m,"group-separator":null===(h=null==i?void 0:i.format)||void 0===h?void 0:h.digitSeparator}))):void 0}renderDatePicker(t,i){var e,n,a,o;const l=tt(i.min),r=tt(i.max),c=[null===(e=null==i?void 0:i.range)||void 0===e?void 0:e.min,null===(n=null==i?void 0:i.range)||void 0===n?void 0:n.max];return null!=l&&null!=r?s("label",{class:et},s("span",null,null==i?void 0:i.name),s("div",{class:"instant-apps-filter-list__date-picker-input-container"},s("calcite-input-date-picker",{id:null==i?void 0:i.id.toString(),onCalciteInputDatePickerChange:this.handleDatePickerRangeChange.bind(this,i,t),min:l,max:r,scale:"s",lang:null!==(a=this.locale)&&void 0!==a?a:"en","overlay-positioning":"fixed",layout:"vertical",value:c,range:!0}),s("calcite-action",{onClick:this.handleResetDatePicker.bind(this,i,t),icon:"reset",text:null===(o=this.messages)||void 0===o?void 0:o.resetDatePicker,scale:"s"}))):null}renderFooter(){var t;return s("div",{class:st,slot:"footer"},s("calcite-button",{appearance:"outline",width:"full",disabled:this.disabled,onClick:this.handleResetFilter.bind(this)},null===(t=this.messages)||void 0===t?void 0:t.resetFilter))}renderFullFooter(){var t,i,e;const n=null!=this.closeBtnText?this.closeBtnText:null===(t=this.messages)||void 0===t?void 0:t.close;return s("div",{class:st,slot:"footer"},s("calcite-button",{appearance:"outline",width:"half",disabled:this.disabled,onClick:this.handleResetFilter.bind(this)},null===(i=this.messages)||void 0===i?void 0:i.resetFilter),s("calcite-button",{appearance:"solid",width:"half",kind:"brand",onClick:null===(e=this.closeBtnOnClick)||void 0===e?void 0:e.bind(this)},n))}renderZoomTo(t){var i;return this.zoomBtn?s("div",{class:"instant-apps-filter-list__zoom-to"},s("calcite-button",{id:(null==t?void 0:t.sublayerId)?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`,appearance:"transparent",kind:"neutral",scale:"s",iconStart:"magnifying-glass-plus",onClick:this.handleZoomTo.bind(this,t)},null===(i=this.messages)||void 0===i?void 0:i.zoomTo)):void 0}handleResetDatePicker(t,i){it(this.panelEl.querySelector(`[id='${t.id}']`)),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(i)}initInput(t,i){const{type:s}=i;return"string"===s||"coded-value"==s?this.renderCombobox(t,i):"number"===s||"range"==s?"drop-down"===(null==i?void 0:i.numDisplayOption)||"drop-down"===(null==i?void 0:i.displayOption)?this.renderCombobox(t,i):this.renderNumberSlider(t,i):"date"===s?"drop-down"===(null==i?void 0:i.displayOption)?this.renderCombobox(t,i):this.renderDatePicker(t,i):void 0}async initExpressions(){if(this.loading=!0,null==this.filterLayerExpressions)return;const t=this.filterLayerExpressions;for(let i=0;i<(null==t?void 0:t.length);i++){const s=t[i].expressions;for(let e=0;e<(null==s?void 0:s.length);e++)null==s[e].active&&null!=s[e].definitionExpression&&(s[e].active=!1),await this.setInitExpression(t[i],s[e])}this.loading=!1,this.filterLayerExpressions=[...t]}handleResetFilter(){var t;null===(t=this.filterLayerExpressions)||void 0===t||t.forEach((t=>{var i;null===(i=t.expressions)||void 0===i||i.forEach((t=>{const{type:i}=t;"string"===i||"coded-value"===i?this.resetCombobox(t):"date"===i?this.resetDatePicker(t):"number"===i||"range"===i?"drop-down"===(null==t?void 0:t.numDisplayOption)||"drop-down"===(null==t?void 0:t.displayOption)?this.resetCombobox(t):this.resetNumberRange(t):this.resetCheckbox(t),t.active=!1}))})),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetCombobox(t){const{id:i}=t;t.selectedFields=void 0;const s=this.panelEl.querySelector(`[id='${i}']`);if(null!=s)for(let t=0;t<s.children.length;t++)s.children[t].selected=!1}resetDatePicker(t){const{id:i}=t;t.range=void 0,it(this.panelEl.querySelector(`[id='${i}']`))}resetNumberRange(t){t.range=void 0;const{id:i,max:s,min:e}=t,n=this.panelEl.querySelector(`[id='${i}']`);null!=n&&(n.minValue=e,n.maxValue=s)}resetCheckbox(t){const{id:i}=t,s=this.panelEl.querySelector(`[id='${i}']`);null!=s&&(s.checked=!1)}resetAllFilters(){var t,i,s,e,n;const a=null===(s=null===(i=null===(t=this.view)||void 0===t?void 0:t.map)||void 0===i?void 0:i.allLayers)||void 0===s?void 0:s.concat(null===(n=null===(e=this.view)||void 0===e?void 0:e.map)||void 0===n?void 0:n.allTables);null==a||a.forEach((t=>{var i,s;if(X.includes(t.type)){const e=t;"point-cloud"===e.type?e.filters=null===(i=this.initPointCloudFilters)||void 0===i?void 0:i[e.id]:"map-image"===e.type?e.allSublayers.forEach((t=>{var i,s;t.definitionExpression=null===(s=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[e.id])||void 0===s?void 0:s[t.id]})):e.definitionExpression=null===(s=this.initDefExpressions)||void 0===s?void 0:s[e.id]}}))}async updateStringExpression(t,i){const{field:s}=i,e=this.findFilterLayer(t);if(i.fields=await this.getFeatureAttributes(e,s),null==i?void 0:i.selectedFields){const t=i.selectedFields.map((t=>"number"==typeof t?t:`'${Q(t)}'`));return i.definitionExpression=`${s} IN (${t.join(",")})`,Promise.resolve(!0)}return Promise.resolve(!1)}async updateNumberExpression(t,i){var s,e;if(!(null==i?void 0:i.min)&&0!==(null==i?void 0:i.min)||!(null==i?void 0:i.max)&&0!==(null==i?void 0:i.max)){const n=this.findFilterLayer(t),{field:a}=i;if(null!=a)if(this.setExpressionFormat(n,i,a),"drop-down"===(null==i?void 0:i.numDisplayOption)||"drop-down"===(null==i?void 0:i.displayOption)){const t=await this.getFeatureAttributes(n,a);t.sort(((t,i)=>t-i)),i.fields=t}else{const t=await this.calculateMinMaxStatistics(n,a),o=null===(s=null==t?void 0:t[0])||void 0===s?void 0:s.attributes;if(null!=(null===(e=i.format)||void 0===e?void 0:e.places)?(i.min=this.roundMinNumberDown(o[`min${a}`],i.format.places),i.max=this.roundMaxNumberUp(o[`max${a}`],i.format.places)):(i.min=o[`min${a}`],i.max=o[`max${a}`]),(null==i?void 0:i.range)&&Object.keys(i.range).length){const{min:t,max:s}=i.range;return i.definitionExpression=`${i.field} BETWEEN ${t} AND ${s}`,!0}}}return!1}async updateDateExpression(t,i){var s;const{field:e,range:n}=i,a=this.findFilterLayer(t),o=await this.calculateMinMaxStatistics(a,e),l=null===(s=null==o?void 0:o[0])||void 0===s?void 0:s.attributes;if(i.min=tt(l[`min${e}`]),i.max=tt(l[`max${e}`]),null!=n&&(null!=(null==n?void 0:n.max)||null!=(null==n?void 0:n.min))){let{min:t,max:s}=n;if(t=null==t?void 0:t.replace("+"," "),s=null==s?void 0:s.replace("+"," "),t||s){const n=s&&!t?"<":!s&&t?">":null;return i.definitionExpression=n?`${e} ${n} '${null!=t?t:s}'`:`${e} BETWEEN '${t}' AND '${s}'`,!0}}return!1}updateCodedValueExpression(t,i){var s;const{field:e}=t,n=[];t.codedValues={};const a=null==i?void 0:i.domain;if(null===(s=null==a?void 0:a.codedValues)||void 0===s||s.forEach((i=>{const{code:s,name:e}=i;n.push(s),null!=t.codedValues&&(t.codedValues[s]=e)})),t.fields=n,null==t?void 0:t.selectedFields){const i=t.selectedFields.map((t=>"number"==typeof t?t:`'${Q(t)}'`)),s=`${e} IN (${i.join(",")})`;return t.definitionExpression=s,!0}return!1}updateRangeExpression(t,i){const{field:s,range:e}=t,n=null==i?void 0:i.domain;if(t.min=null==n?void 0:n.minValue,t.max=null==n?void 0:n.maxValue,e&&Object.keys(e).length){const{min:i,max:n}=e;return t.definitionExpression=`${s} BETWEEN ${i} AND ${n}`,!0}return!1}async getFeatureAttributes(t,i){var s,e,n;if(t&&X.includes(t.type)){const a=t.createQuery();if((null===(e=null===(s=null==t?void 0:t.capabilities)||void 0===s?void 0:s.query)||void 0===e?void 0:e.supportsCacheHint)&&(a.cacheHint=!0),i){const s=this.getInitDefExprFromLayer(t);if(a.where=s||"1=1",a.outFields=[i],a.orderByFields=[`${i} DESC`],a.returnDistinctValues=!0,a.returnGeometry=!1,a.maxRecordCountFactor=3,this.extentSelector&&this.extentSelectorConfig){const t=this.getExtent(this.extentSelector,this.extentSelectorConfig);null!=t&&(a.geometry=t),a.spatialRelationship="intersects"}return null===(n=await this.queryForFeatures(t,a,i))||void 0===n?void 0:n.sort()}}return[]}async queryForFeatures(t,i,s){const e=await t.queryFeatures(i),n=null==e?void 0:e.features.filter((t=>{var i;return null===(i=t.attributes)||void 0===i?void 0:i[s]}));return null==n?void 0:n.map((t=>{var i;return null===(i=t.attributes)||void 0===i?void 0:i[s]}))}async calculateMinMaxStatistics(t,i){var s,e;if(t&&X.includes(t.type)){const n=t.createQuery();let a=this.getInitDefExprFromLayer(t);if(n.where=a||"1=1",(null===(e=null===(s=null==t?void 0:t.capabilities)||void 0===s?void 0:s.query)||void 0===e?void 0:e.supportsCacheHint)&&(n.cacheHint=!0),i){if(n.outStatistics=[{onStatisticField:i,outStatisticFieldName:`max${i}`,statisticType:"max"},{onStatisticField:i,outStatisticFieldName:`min${i}`,statisticType:"min"}],this.extentSelector&&this.extentSelectorConfig){const t=this.getExtent(this.extentSelector,this.extentSelectorConfig);null!=t&&(n.geometry=t),n.spatialRelationship="intersects"}const s=await t.queryFeatures(n);return null==s?void 0:s.features}}return[]}getExtent(t,i){if(t&&i){const{constraints:t}=i;let s=Object.assign({},t);const e=null==s?void 0:s.geometry;if(e){const t=this.geometryJsonUtils.fromJSON(e);if(t&&("extent"===(null==t?void 0:t.type)||"polygon"===(null==t?void 0:t.type)))return t}}}setInitExpression(t,i){if(i.field&&i.type){const s=this.findFilterLayer(t);return null==s?Promise.resolve():("not-loaded"!==s.loadStatus&&"failed"!==s.loadStatus||s.load(),s.when((async()=>{var e,n;const a=null===(e=s.fields)||void 0===e?void 0:e.find((({name:t})=>t===i.field)),o=null===(n=null==a?void 0:a.domain)||void 0===n?void 0:n.type;i.type="coded-value"===o||"range"===o?o:i.type,await this.updateExpression(t,i,a)})))}return this.updateExpression(t,i,void 0),Promise.resolve()}async updateExpression(t,i,s){let e=!1;const{type:n}=i;"string"===n?e=await this.updateStringExpression(t,i):"number"===n?e=await this.updateNumberExpression(t,i):"date"===n?e="drop-down"===i.displayOption?await this.updateStringExpression(t,i):await this.updateDateExpression(t,i):"coded-value"===n?e=this.updateCodedValueExpression(i,s):"range"===n?e=this.updateRangeExpression(i,s):!i.active||"checkbox"!==n&&null!=n||(e=!0),e&&this.generateOutput(t)}updateRangeExpressions(t,i,s,e){const n=this.getInitDefExprFromLayerExpression(i);!e&&0!==e||!s&&0!==s||(e===(null==t?void 0:t.min)&&s===(null==t?void 0:t.max)?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=n?`(${n}) AND ${null==t?void 0:t.field} BETWEEN ${e} AND ${s}`:`${null==t?void 0:t.field} BETWEEN ${e} AND ${s}`,t.active=!0)),t.range={min:e,max:s}}handleCheckboxChange(t,i,s){i.active=s.target.checked,this.generateOutput(t)}handleSliderChange(t,i,s){const{maxValue:e,minValue:n}=s.target;this.updateRangeExpressions(t,i,e,n),this.generateOutput(i)}handleComboSelect(t,i,s){const e=s.target.selectedItems,{field:n}=t;if(e&&e.length){const i=e.map((({value:t})=>"number"==typeof t?t:`'${Q(t)}'`));t.selectedFields=e.map((({value:t})=>t));const s=`${n} IN (${i.join(",")})`;t.definitionExpression=s,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(i)}handleDatePickerRangeChange(t,i,s){const e=s.target,[n,a]=e.valueAsDate,o=null!=n?tt(Math.floor(n.getTime()),!0):void 0,l=null!=a?tt(Math.floor(a.getTime()),!0):void 0;if(null!=o||null!=l){const s=l&&null==o?"<":null==l&&o?">":null;t.definitionExpression=s?`${t.field} ${s} '${null!=o?o:l}'`:`${t.field} BETWEEN '${o}' AND '${l}'`,t.range={min:o,max:l},t.active=!0,this.generateOutput(i)}}handleURLParams(){var t;if("URLSearchParams"in window){const i=null===(t=new URLSearchParams(document.location.search).get("filter"))||void 0===t?void 0:t.split(";");null==i||i.forEach((t=>{var i;const s=JSON.parse(t);null===(i=this.filterLayerExpressions)||void 0===i||i.forEach((t=>{var i;(null==s?void 0:s.layerId)===t.id&&(null===(i=t.expressions)||void 0===i||i.forEach((t=>{var i,e;(null===(i=t.id)||void 0===i?void 0:i.toString())===(null===(e=null==s?void 0:s.expressionId)||void 0===e?void 0:e.toString())&&(t.active=!0,"range"===s.type?t.range=s.range:"select"===s.type&&(t.selectedFields=s.selectedFields))})))}))}))}}createURLParamExpression(t,i){const{id:s,range:e,selectedFields:n,type:a}=i;return"number"===a||"range"===a||"date"===a?{type:"range",layerId:t.id,expressionId:s.toString(),range:e}:"string"===a||"coded-value"===a?{type:"select",layerId:t.id,expressionId:s.toString(),selectedFields:n}:{layerId:t.id,expressionId:s.toString()}}autoUpdateURLCheck(t){this.autoUpdateUrl&&(t.toString()?window.history.replaceState({},"",`${window.location.pathname}?${t} `):window.history.replaceState({},"",window.location.pathname))}generateURLParams(){var t;if("URLSearchParams"in window){const i=new URLSearchParams(window.location.search),s=[];null===(t=this.filterLayerExpressions)||void 0===t||t.forEach((t=>{var i;null===(i=null==t?void 0:t.expressions)||void 0===i||i.forEach((i=>{if(i.active){const e=this.createURLParamExpression(t,i);s.push(JSON.stringify(e))}}))})),s.length>0?i.set("filter",s.join(";")):i.delete("filter"),this.autoUpdateURLCheck(i),this.urlParams=i}}updateFilter(t,i,s){const{id:e}=t,n=this.view.map.findLayerById(e)||this.view.map.findTableById(e);if(null!=n)if("point-cloud"===n.type)this.updateFilterLayerPCLFilter(n,s);else if("map-image"===n.type){const s=n.findSublayerById(null==t?void 0:t.sublayerId);null!=s&&this.updateFilterLayerDefExpression(s,i,t)}else this.updateFilterLayerDefExpression(n,i,t)}updateFilterLayerDefExpression(t,i,s){const{operator:e}=s;let n=this.getInitDefExprFromLayer(t);const a=(null==i?void 0:i.length)>0&&null!=n?`(${i.join(e)}) AND (${n})`:i.length>0?i.join(e):n;t.definitionExpression=a}updateFilterLayerPCLFilter(t,i){t.filters=i}async handleWhenView(){if(null==this.view)return;const t=this.view.map;await t.loadAll(),this.handleLayerExpressionsUpdate()}async handleLayerExpressionsUpdate(){if(null==this.view)return;const t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={};const i=t.allLayers.concat(t.allTables);for(let t=0;t<i.length;t++){const s=i.getItemAt(t);if(X.includes(s.type)){const t=s;"point-cloud"===t.type?this.initPointCloudFilters[t.id]=t.filters:"map-image"===t.type?(this.initMapImageExpressions[t.id]={},t.allSublayers.forEach((i=>{this.initMapImageExpressions[t.id][i.id]=i.definitionExpression}))):this.initDefExpressions[t.id]=t.definitionExpression}}this.initExpressions(),this.handleURLParams()}async handleZoomTo(t){const i=this.panelEl.querySelector((null==t?void 0:t.sublayerId)?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`);null!=i&&(i.loading=!0,i.disabled=!0),this.zoomToGraphics=[];let s=0,e=!1;const n=setInterval((()=>{s>=1e3&&e&&(this.view.goTo(this.zoomToGraphics),null!=i&&(i.loading=!1,i.disabled=!1),clearInterval(n)),s+=500}),500);await this.getZoomToGraphics(t),e=!0}async getZoomToGraphics(t){var i,s,e,n,a;const o=this.view.allLayerViews.find((({layer:i})=>i.id===t.id)),l=o.layer,r="map-image"===l.type?l.findSublayerById(t.sublayerId):l;if("point-cloud"!==r.type&&X.includes(null==r?void 0:r.type)){const t=r.createQuery();if((null===(s=null===(i=null==l?void 0:l.capabilities)||void 0===i?void 0:i.query)||void 0===s?void 0:s.supportsCacheHint)&&(t.cacheHint=!0),t.where=null!==(e=r.definitionExpression)&&void 0!==e?e:"1=1",t.returnGeometry=!0,t.returnDistinctValues=!0,t.maxRecordCountFactor=3,t.returnExceededLimitFeatures=!0,t.outFields=[],this.extentSelector&&this.extentSelectorConfig){const i=this.getExtent(this.extentSelector,this.extentSelectorConfig);null!=i&&(t.geometry=i),t.spatialRelationship="intersects"}const c=null!=(null===(n=null==o?void 0:o.featureEffect)||void 0===n?void 0:n.filter)?o.featureEffect.filter:o.filter;null!=c&&(null!=c.objectIds&&(t.objectIds=c.objectIds),null!=c.distance&&(t.distance=c.distance),null!=c.geometry&&(t.geometry=c.geometry),null!=c.distance&&(t.distance=c.distance),null!=c.spatialRelationship&&(t.spatialRelationship=c.spatialRelationship),null!=c.units&&(t.units=c.units),null!=c.where&&(t.where=c.where),null!=c.timeExtent&&(t.timeExtent=c.timeExtent));try{const i=await r.queryFeatures(t);this.zoomToGraphics.push(...i.features)}catch(i){if(null===(a=null==i?void 0:i.message)||void 0===a?void 0:a.toLowerCase().includes("distinct"))try{t.returnDistinctValues=!1;const i=await r.queryFeatures(t);this.zoomToGraphics.push(...i.features)}catch(t){}}}return Promise.resolve()}generateOutput(t){if(null==this.view)return;const i=[];let s=[];if(t){for(const e of t.expressions){const{active:t,definitionExpression:n,pointCloudFilters:a}=e;t&&n&&i.push(`(${n})`),t&&null!=a&&a.length>0&&(s=s.concat(a))}this.updateFilter(t,i,s),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}roundMinNumberDown(t,i){if(null!=t){if((""+t).includes("e")){var s=(""+t).split("e"),e="";return+s[1]+i>0&&(e="+"),+(Math.floor(+s[0]+"e"+e+(+s[1]+i))+"e-"+i)}return+(Math.floor(t+"e+"+i)+"e-"+i)}}roundMaxNumberUp(t,i){if(null!=t){if((""+t).includes("e")){var s=(""+t).split("e"),e="";return+s[1]+i>0&&(e="+"),+(Math.ceil(+s[0]+"e"+e+(+s[1]+i))+"e-"+i)}return+(Math.ceil(t+"e+"+i)+"e-"+i)}}roundNumber(t,i){if(null!=t){if((""+t).includes("e")){var s=(""+t).split("e"),e="";return+s[1]+i>0&&(e="+"),+(Math.round(+s[0]+"e"+e+(+s[1]+i))+"e-"+i)}return+(Math.round(t+"e+"+i)+"e-"+i)}}setExpressionFormat(t,i,s){if(null!=(null==t?void 0:t.popupTemplate)){const e=t.popupTemplate.fieldInfos.find((({fieldName:t})=>t===s));i.format=null==e?void 0:e.format}}getInitDefExprFromLayer(t){var i,s,e;return"sublayer"===t.type?null===(s=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[t.layer.id])||void 0===s?void 0:s[t.id]:null===(e=this.initDefExpressions)||void 0===e?void 0:e[t.id]}getInitDefExprFromLayerExpression(t){var i,s,e;return null!=(null==t?void 0:t.sublayerId)?null===(s=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[t.id])||void 0===s?void 0:s[t.sublayerId]:null===(e=this.initDefExpressions)||void 0===e?void 0:e[t.id]}findFilterLayer(t){const i=this.view.map.allLayers.concat(this.view.map.allTables).find((({id:i})=>i===t.id));return"map-image"===i.type?null==i?void 0:i.findSublayerById(t.sublayerId):i}get el(){return n(this)}static get watchers(){return{view:["watchViewHandler"],layerExpressions:["watchLayerExpressions"]}}};nt.style=":host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:normal}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:48px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:normal;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1:12px}.instant-apps-filter-list__zoom-to{display:flex;justify-content:flex-end;margin:8px 0 20px}.instant-apps-filter-list__zoom-to calcite-action{width:-moz-min-content;width:min-content}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor:2;--calcite-internal-animation-timing-slow:calc(300ms * 2)}}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}";const at="instant-apps-social-share",ot={base:at,dialog:`${at}__dialog`,dialogEmbed:`${at}__dialog-embed`,dialogContent:`${at}__dialog-content`,options:`${at}__options`,tipContainer:`${at}__tip`,tipHeader:`${at}__tip-header`,tipContent:`${at}__tip-content`,icon:`${at}__icon`,iconContainer:`${at}__icon-container`,optionText:`${at}__option-text`,popoverButton:`${at}__popover-button`,layout:{vertical:`${at}__layout--vertical`,horizontal:`${at}__layout--horizontal`},success:{container:`${at}__success`,header:`${at}__success-header`,message:`${at}__success-message`,icon:`${at}__success-icon`},embed:{container:`${at}__embed`,header:`${at}__embed-header`,embedCode:{container:`${at}__embed-code`,textArea:`${at}__embed-code-text-area`,copyButton:`${at}__embed-code-copy-button`},textAreaText:`${at}__embed-text-area-text`,dimensions:{container:`${at}__embed-dimensions`,input:`${at}__embed-dimensions-input`}},rtl:{optionText:`${at}__option-text--rtl`,textArea:`${at}__text-area--rtl`}},lt={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",twitter:"https://twitter.com/intent/tweet?text={text}&url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?url={url}"},rt=class{constructor(i){t(this,i),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale=void 0,this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){var t,i;q(this),this.setupAutoCloseListeners(),"popover"===this.mode&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",(()=>{this.shareListRef&&this.shareListRef.children[0].focus()})),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&(null===(t=this.embedWidthRef)||void 0===t||t.addEventListener("change",this.updateDimensions.bind(this,"width")),null===(i=this.embedHeightRef)||void 0===i||i.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){var t,i,s;document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),"popover"===this.mode?null!=this.popoverRef&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(null===(t=this.embedWidthRef)||void 0===t||t.removeEventListener("change",this.updateDimensions.bind(this)),null===(i=this.embedHeightRef)||void 0===i||i.removeEventListener("change",this.updateDimensions.bind(this)),null===(s=this.dialogContentRef)||void 0===s||s.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){var t,i,s;document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),"popover"===this.mode?(null===(t=this.popoverRef)||void 0===t||t.addEventListener("click",this.stopPropagationCallback.bind(this)),null===(i=this.popoverRef)||void 0===i||i.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):null===(s=this.dialogContentRef)||void 0===s||s.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){var i,s;if("Tab"===t.code){if(!this.shareListRef)return;const s=t.target,e=this.shareListRef.children[0],n=this.shareListRef.children[(null===(i=this.shareListRef)||void 0===i?void 0:i.children.length)-1];t.shiftKey&&s===e?(t.preventDefault(),n.focus()):t.shiftKey||s!==n||(t.preventDefault(),e.focus())}else"Escape"===t.code&&(this.closePopover(),null===(s=this.popoverButtonRef)||void 0===s||s.setFocus())}autoCloseCallback(){"popover"===this.mode?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){var t;null===(t=this.popoverButtonRef)||void 0===t||t.setFocus(),setTimeout((()=>{this.copied=!1}),200)}updateDimensions(t){var i,s;if("width"===t){const t=null===(i=this.embedWidthRef)||void 0===i?void 0:i.value;this.embedWidth=parseInt(t)}else{const t=null===(s=this.embedHeightRef)||void 0===s?void 0:s.value;this.embedHeight=parseInt(t)}}render(){var t,i,n,a,o,l;const r=this.copied&&"popover"===this.mode?this.renderSuccess():s("div",{class:ot.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),c=s("div",{ref:t=>this.dialogContentRef=t,class:`${ot.dialog}${"vertical"===this.shareIconsLayout?` ${ot.layout.vertical}`:` ${ot.layout.horizontal}`}`},r);return s(e,null,"popover"===this.mode?[s("calcite-popover",{ref:t=>this.popoverRef=t,label:null===(i=null===(t=this.messages)||void 0===t?void 0:t.share)||void 0===i?void 0:i.label,referenceElement:"shareButton",placement:"bottom-start",scale:this.scale},c),this.renderButton()]:[c,s("calcite-popover",{ref:t=>this.copyLinkPopoverRef=t,label:null===(a=null===(n=this.messages)||void 0===n?void 0:n.share)||void 0===a?void 0:a.label,referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale},this.renderSuccess()),s("calcite-popover",{ref:t=>this.copyEmbedPopoverRef=t,label:null===(l=null===(o=this.messages)||void 0===o?void 0:o.share)||void 0===l?void 0:l.label,referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale},this.renderEmbedSuccess())])}renderButton(){var t,i,e,n,a,o,l,r;const c=null!=this.shareButtonScale?this.shareButtonScale:this.scale;return"button"===this.shareButtonType?s("calcite-button",{ref:t=>this.popoverButtonRef=t,onClick:this.togglePopover.bind(this),id:"shareButton",class:ot.popoverButton,kind:this.shareButtonColor,appearance:"transparent",label:null===(i=null===(t=this.messages)||void 0===t?void 0:t.share)||void 0===i?void 0:i.label,title:null===(n=null===(e=this.messages)||void 0===e?void 0:e.share)||void 0===n?void 0:n.label,scale:c},s("div",{class:ot.iconContainer},s("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}))):s("calcite-action",{ref:t=>this.popoverButtonRef=t,onClick:this.togglePopover.bind(this),id:"shareButton",class:ot.popoverButton,appearance:"transparent",label:null===(o=null===(a=this.messages)||void 0===a?void 0:a.share)||void 0===o?void 0:o.label,title:null===(r=null===(l=this.messages)||void 0===l?void 0:l.share)||void 0===r?void 0:r.label,scale:c,text:""},s("div",{class:ot.iconContainer},s("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale})))}renderSuccess(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.success;return s("div",{class:ot.success.container},s("span",{class:ot.success.header},s("span",{class:ot.success.icon},s("calcite-icon",{icon:"check-circle-f",scale:this.scale})),null==i?void 0:i.label),s("span",{class:ot.success.message},this.successMessage||(null==i?void 0:i.url)))}renderEmbedSuccess(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.success;return s("div",{class:ot.success.container},s("span",{class:ot.success.header},s("span",{class:ot.success.icon},s("calcite-icon",{icon:"check-circle-f",scale:this.scale})),null==i?void 0:i.label),s("span",{class:ot.success.message},null==i?void 0:i.embed))}renderOptions(){var t,i,e,n;const a=null===(t=this.messages)||void 0===t?void 0:t.options,o="rtl"===document.dir?` ${ot.rtl.optionText}`:"";return s("ul",{ref:t=>this.shareListRef=t,class:ot.options,role:"menu"},s("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},s("span",{class:ot.icon},s("calcite-icon",{icon:"link",scale:this.scale})),s("span",{class:`${ot.optionText}${o}`},null===(i=null==a?void 0:a.link)||void 0===i?void 0:i.label)),this.socialMedia?[s("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},s("span",{class:ot.icon},this.renderFacebookIcon()),s("span",{class:`${ot.optionText}${o}`},null===(e=null==a?void 0:a.facebook)||void 0===e?void 0:e.label)),s("li",{onClick:this.handleShareItem.bind(this,"twitter"),onKeyDown:this.handleOptionKeyDown("twitter"),role:"menuitem",tabindex:"0"},s("span",{class:ot.icon},this.renderTwitterIcon()),s("span",{class:`${ot.optionText}${o}`},"Twitter")),s("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},s("span",{class:ot.icon},this.renderLinkedInIcon()),s("span",{class:`${ot.optionText}${o}`},null===(n=null==a?void 0:a.linkedIn)||void 0===n?void 0:n.label))]:null)}handleOptionKeyDown(t){return i=>{const s=i.code;("Space"===s||"Enter"===s)&&this.handleShareItem(t)}}renderFacebookIcon(){return s("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},s("g",null,s("path",{d:"M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z",style:{fill:"#1877f2",fillRule:"nonzero"}}),s("path",{d:"M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z",style:{fill:"#fff",fillRule:"nonzero"}})))}renderTwitterIcon(){return s("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},s("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),s("path",{d:"M161.014,464.013c193.208,0 298.885,-160.071 298.885,-298.885c0,-4.546 0,-9.072 -0.307,-13.578c20.558,-14.871 38.305,-33.282 52.408,-54.374c-19.171,8.495 -39.51,14.065 -60.334,16.527c21.924,-13.124 38.343,-33.782 46.182,-58.102c-20.619,12.235 -43.18,20.859 -66.703,25.498c-19.862,-21.121 -47.602,-33.112 -76.593,-33.112c-57.682,0 -105.145,47.464 -105.145,105.144c0,8.002 0.914,15.979 2.722,23.773c-84.418,-4.231 -163.18,-44.161 -216.494,-109.752c-27.724,47.726 -13.379,109.576 32.522,140.226c-16.715,-0.495 -33.071,-5.005 -47.677,-13.148l0,1.331c0.014,49.814 35.447,93.111 84.275,102.974c-15.464,4.217 -31.693,4.833 -47.431,1.802c13.727,42.685 53.311,72.108 98.14,72.95c-37.19,29.227 -83.157,45.103 -130.458,45.056c-8.358,-0.016 -16.708,-0.522 -25.006,-1.516c48.034,30.825 103.94,47.18 161.014,47.104",style:{fill:"#1da1f2",fillRule:"nonzero"}}))}renderLinkedInIcon(){return s("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},s("g",{id:"g5891"},s("path",{d:"M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z",id:"background",style:{fill:"#2867b2"}}),s("g",{id:"shapes"},s("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),s("path",{d:"M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z",id:"path13-0",style:{fill:"#fff",fillRule:"nonzero"}}),s("path",{d:"M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z",id:"path15",style:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.info;return s("div",{class:ot.tipContainer},s("span",{class:ot.tipHeader},s("calcite-icon",{icon:"lightbulb",scale:this.scale}),s("span",null,null==i?void 0:i.label)),s("p",{class:ot.tipContent},null==i?void 0:i.tooltip))}renderEmbed(){var t,i,e;const n=null===(t=this.messages)||void 0===t?void 0:t.embed,a="rtl"===document.dir?` ${ot.rtl.textArea}`:"";return s("div",{class:ot.embed.container},s("span",{class:ot.embed.header},s("calcite-icon",{icon:"code",scale:this.scale}),s("span",null,null===(e=null===(i=this.messages)||void 0===i?void 0:i.embed)||void 0===e?void 0:e.label)),s("div",{class:ot.embed.embedCode.container},s("div",{class:ot.embed.embedCode.textArea},s("textarea",{ref:t=>this.embedCodeRef=t,cols:30,rows:5,readonly:!0,class:a,value:this.getEmbedCode()}),s("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:ot.embed.embedCode.copyButton},s("calcite-icon",{icon:"copy",scale:this.scale}),s("span",null,null==n?void 0:n.copy))),s("span",{class:ot.embed.textAreaText},s("slot",{name:"text-area-text"})),s("div",{class:ot.embed.dimensions.container},s("label",{class:ot.embed.dimensions.input},s("span",null,null==n?void 0:n.width),s("input",{ref:t=>this.embedWidthRef=t,type:"number",onKeyDown:t=>["e","E","+","-"].includes(t.key)&&t.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),s("label",{class:ot.embed.dimensions.input},s("span",null,null==n?void 0:n.height),s("input",{ref:t=>this.embedHeightRef=t,type:"number",onKeyDown:t=>["e","E","+","-"].includes(t.key)&&t.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){const i="width"===t?this.embedWidthRef:this.embedHeightRef,s="width"===t?"embedWidth":"embedHeight";return()=>{i&&parseFloat(i.value)<=0&&(this[s]=parseInt("1"),i.value="1")}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){var i,s,e,n;this.shareUrl=await this.generateShareUrl();let a=null;const o=null!==(s=null===(i=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===i?void 0:i.includes("Chrome"))&&void 0!==s&&s,l=null!==(n=null===(e=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===e?void 0:e.includes("Safari"))&&void 0!==n&&n&&!o;!l&&this.shortenShareUrl&&(a=await this.shortenUrl(this.shareUrl));let r=a||this.shareUrl;switch(t){case"link":return navigator.clipboard.writeText(r),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),"inline"===this.mode&&(this.copyLinkPopoverRef.open=!0,setTimeout((()=>this.copyLinkPopoverRef.open=!1),3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,void("popover"===this.mode&&setTimeout((()=>this.closePopover()),2e3));case"facebook":case"twitter":case"linkedIn":let i;l&&(i=window.open("","_blank"),this.shortenShareUrl&&(r=await this.shortenUrl(this.shareUrl)||r));const s={url:encodeURI(r)},e="twitter"===t?Object.assign(Object.assign({},s),{text:this.shareText}):s,[n]=await K(["esri/intl"]),a=n.substitute(lt[t],e);return"popover"===this.mode&&this.closePopover(),void(l&&i?(i.location=a,i.focus()):window.open(encodeURI(a),"_blank"))}}async shortenUrl(t){var i,s;const[e]=await K(["esri/request"]),n=await e("https://arcg.is/prod/shorten",{query:{longUrl:t,f:"json"}}),a=null===(s=null===(i=null==n?void 0:n.data)||void 0===i?void 0:i.data)||void 0===s?void 0:s.url;if(a)return a.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout((()=>this.copyEmbedPopoverRef.open=!1),3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){var t;if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view||!(null===(t=this.view)||void 0===t?void 0:t.ready))return this.shareUrl;const{x:i,y:s}=this.view.center,{spatialReference:e}=this.view,[n,a]=await K(["esri/geometry/Point","esri/geometry/SpatialReference"]),o=new n({x:i,y:s,spatialReference:new a(Object.assign({},e.toJSON()))}),l=await this.processPoint(o),{isWGS84:r,isWebMercator:c}=l.spatialReference;return this.generateShareUrlParams(l,r||c)}async processPoint(t){const{isWGS84:i,isWebMercator:s}=t.spatialReference;if(i||s)return t;const[e,n]=await K(["esri/geometry/SpatialReference","esri/geometry/projection"]),a=new e({wkid:4326});try{await n.load();const i=n.project(t,a);return Promise.resolve(i)}catch(t){return console.error("Failed to project point",t),Promise.reject(null)}}generateShareUrlParams(t,i){var s,e,n,a;const{longitude:o,latitude:l,x:r,y:c}=t;if(void 0===o||void 0===l)return this.shareUrl;const h=this.roundValue(i?o:r),d=this.roundValue(i?l:c),{zoom:p}=this.view,u=this.roundValue(p),v=null===(e=null===(s=this.view)||void 0===s?void 0:s.popup)||void 0===e?void 0:e.selectedFeature,m=null===(a=null===(n=this.view)||void 0===n?void 0:n.popup)||void 0===a?void 0:a.visible;let f,g;if(v&&m){const t=null==v?void 0:v.layer;f=t.id,g=v.attributes[t.objectIdField]}const b=this.view.map.allLayers.filter((t=>!t.visible)).toArray().map((t=>t.id)).toString().replaceAll(",",";"),{type:_}=this.view,{defaultUrlParams:x}=this,w=new URL(this.shareUrl),{searchParams:y}=w;if(y.get("center")&&y.delete("center"),y.get("level")&&y.delete("level"),y.get("selectedFeature")&&y.delete("selectedFeature"),y.get("hiddenLayers")&&y.delete("hiddenLayers"),y.get("viewpoint")&&y.delete("viewpoint"),"3d"===_){const{camera:t}=this.view,{heading:i,position:s,tilt:e}=t,{longitude:n,latitude:a,z:o}=s,l={longitude:this.roundValue(n,8),latitude:this.roundValue(a,8),z:this.roundValue(o,3),heading:this.roundValue(i,3),tilt:this.roundValue(e,3)};return!1!==(null==x?void 0:x.viewpoint)&&w.searchParams.set("viewpoint",`cam:${l.longitude},${l.latitude},${l.z};${l.heading},${l.tilt}`),f&&g&&!1!==(null==x?void 0:x.selectedFeature)&&w.searchParams.set("selectedFeature",`${f};${g}`),b&&!1!==(null==x?void 0:x.hiddenLayers)&&w.searchParams.set("hiddenLayers",b),w.search=decodeURIComponent(w.search),w.href}return!1!==(null==x?void 0:x.center)&&w.searchParams.set("center",`${h};${d}`),!1!==(null==x?void 0:x.level)&&w.searchParams.set("level",`${u}`),f&&g&&!1!==(null==x?void 0:x.selectedFeature)&&w.searchParams.set("selectedFeature",`${f};${g}`),b&&!1!==(null==x?void 0:x.hiddenLayers)&&w.searchParams.set("hiddenLayers",b),w.search=decodeURIComponent(w.search),w.href}roundValue(t,i=4){return parseFloat(t.toFixed(i))}get el(){return n(this)}};rt.style=":host{display:block;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}";export{Z as calcite_input_date_picker,nt as instant_apps_filter_list,rt as instant_apps_social_share}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,h as t,g as s}from"./p-78780f63.js";import{c as i,u as l,d as o}from"./p-0c97de08.js";import"./p-c92fff33.js";const d=class{constructor(t){e(this,t),this.disabled=!1,this.layout="horizontal"}connectedCallback(){i(this)}componentDidRender(){l(this)}disconnectedCallback(){o(this)}render(){return t("slot",null)}get el(){return s(this)}};d.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:flex;flex-wrap:wrap}:host ::slotted(calcite-tile-select){margin-block-end:1px;margin-inline-end:1px}:host([layout=vertical]){flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{d as calcite_tile_select_group}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as p}from"./p-f0d68a3f.js";import"./p-78780f63.js";import"./p-6604ac77.js";import"./p-83fd31d5.js";import"./p-fcefdfff.js";import"./p-29d68474.js";import"./p-0c97de08.js";import"./p-c92fff33.js";import"./p-1e2ffee3.js";import"./p-49fb1bfa.js";import"./p-0c07ad8a.js";import"./p-f10944e6.js";import"./p-de281b08.js";import"./p-5b566d55.js";import"./p-d9a59fcc.js";import"./p-c6b9a129.js";import"./p-475ad635.js";import"./p-981e9549.js";import"./p-653af7e0.js";var r={name:"bs",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(p){return p},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};p.locale(r,null,!0);export default r;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as s}from"./p-f0d68a3f.js";import"./p-78780f63.js";import"./p-6604ac77.js";import"./p-83fd31d5.js";import"./p-fcefdfff.js";import"./p-29d68474.js";import"./p-0c97de08.js";import"./p-c92fff33.js";import"./p-1e2ffee3.js";import"./p-49fb1bfa.js";import"./p-0c07ad8a.js";import"./p-f10944e6.js";import"./p-de281b08.js";import"./p-5b566d55.js";import"./p-d9a59fcc.js";import"./p-c6b9a129.js";import"./p-475ad635.js";import"./p-981e9549.js";import"./p-653af7e0.js";var i="sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),m="sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),a=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,d=function(s,d){return a.test(d)?i[s.month()]:m[s.month()]};d.s=m,d.f=i;var M={name:"lt",weekdays:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),weekdaysShort:"sek_pir_ant_tre_ket_pen_šeš".split("_"),weekdaysMin:"s_p_a_t_k_pn_š".split("_"),months:d,monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"už %s",past:"prieš %s",s:"kelias sekundes",m:"minutę",mm:"%d minutes",h:"valandą",hh:"%d valandas",d:"dieną",dd:"%d dienas",M:"mėnesį",MM:"%d mėnesius",y:"metus",yy:"%d metus"},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"}};s.locale(M,null,!0);export default M;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,c as i,h as t,H as n,g as c}from"./p-78780f63.js";import{u as o,t as a}from"./p-83fd31d5.js";import{c as s,d as r}from"./p-1be63b50.js";import{a as l,s as h,c as d}from"./p-f10944e6.js";import{u as p,c as v,d as m,s as u}from"./p-981e9549.js";import{c as g,u as b,d as f}from"./p-0c97de08.js";import{c as k,d as x}from"./p-de281b08.js";import{c as y}from"./p-5b566d55.js";import{i as z}from"./p-1e2ffee3.js";import{g as w}from"./p-0c07ad8a.js";import"./p-fcefdfff.js";import"./p-29d68474.js";import"./p-c92fff33.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.0.0
|
11
|
-
*/const j=class{constructor(t){e(this,t),this.calciteChipClose=i(this,"calciteChipClose",6),this.calciteChipSelect=i(this,"calciteChipSelect",6),this.calciteInternalChipKeyEvent=i(this,"calciteInternalChipKeyEvent",6),this.mutationObserver=y("mutation",(()=>this.updateHasText())),this.close=()=>{this.calciteChipClose.emit(),this.selected=!1,this.closed=!0},this.closeButtonKeyDownHandler=e=>{z(e.key)&&(e.preventDefault(),this.close())},this.handleSlotImageChange=e=>{this.hasImage=o(e)},this.handleEmittingEvent=()=>{this.interactive&&this.calciteChipSelect.emit()},this.disabled=!1,this.appearance="solid",this.kind="neutral",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.label=void 0,this.value=void 0,this.closed=!1,this.selectionMode="none",this.selected=!1,this.messageOverrides=void 0,this.messages=void 0,this.interactive=!1,this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasText=!1,this.hasImage=!1}onMessagesChange(){}effectiveLocaleChange(){p(this,this.effectiveLocale)}connectedCallback(){var e;s(this),g(this),k(this),v(this),null===(e=this.mutationObserver)||void 0===e||e.observe(this.el,{childList:!0,subtree:!0})}componentDidLoad(){l(this)}componentDidRender(){b(this)}disconnectedCallback(){var e;r(this),f(this),x(this),m(this),null===(e=this.mutationObserver)||void 0===e||e.disconnect()}async componentWillLoad(){h(this),await u(this),this.updateHasText()}keyDownHandler(e){if(e.target===this.el)switch(e.key){case" ":case"Enter":this.handleEmittingEvent(),e.preventDefault();break;case"ArrowRight":case"ArrowLeft":case"Home":case"End":this.calciteInternalChipKeyEvent.emit(e),e.preventDefault()}}clickHandler(){!this.interactive&&this.closable&&this.closeButtonEl.focus()}async setFocus(){var e,i;await d(this),!this.disabled&&this.interactive?null===(e=this.containerEl)||void 0===e||e.focus():!this.disabled&&this.closable&&(null===(i=this.closeButtonEl)||void 0===i||i.focus())}updateHasText(){this.hasText=this.el.textContent.trim().length>0}renderChipImage(){return t("div",{class:"image-container"},t("slot",{name:"image",onSlotchange:this.handleSlotImageChange}))}renderSelectionIcon(){return t("div",{class:{"select-icon":!0,"select-icon--active":"multiple"===this.selectionMode||this.selected}},t("calcite-icon",{icon:"multiple"===this.selectionMode&&this.selected?"check-circle-f":"multiple"===this.selectionMode?"circle":this.selected?"circle-f":void 0,scale:w(this.scale)}))}renderCloseButton(){return t("button",{"aria-label":this.messages.dismissLabel,class:"close",onClick:this.close,onKeyDown:this.closeButtonKeyDownHandler,tabIndex:this.disabled?-1:0,ref:e=>this.closeButtonEl=e},t("calcite-icon",{icon:"x",scale:w(this.scale)}))}renderIcon(){return t("calcite-icon",{class:"chip-icon",flipRtl:this.iconFlipRtl,icon:this.icon,scale:w(this.scale)})}render(){const e=this.disabled||!this.disabled&&!this.interactive,i="multiple"===this.selectionMode&&this.interactive?"checkbox":"none"!==this.selectionMode&&this.interactive?"radio":this.interactive?"button":void 0;return t(n,null,t("div",{"aria-checked":"none"!==this.selectionMode&&this.interactive?a(this.selected):void 0,"aria-disabled":e?a(this.disabled):void 0,"aria-label":this.label,class:{container:!0,"text--slotted":this.hasText,"image--slotted":this.hasImage,selectable:"none"!==this.selectionMode,multiple:"multiple"===this.selectionMode,closable:this.closable,"non-interactive":!this.interactive,"is-circle":!(this.closable||this.hasText||this.icon&&this.hasImage||"none"!==this.selectionMode&&(!this.selectionMode||"multiple"===this.selectionMode||this.selected))},onClick:this.handleEmittingEvent,role:i,tabIndex:e?-1:0,ref:e=>this.containerEl=e},"none"!==this.selectionMode&&this.renderSelectionIcon(),this.renderChipImage(),this.icon&&this.renderIcon(),t("span",{class:"title"},t("slot",null)),this.closable&&this.renderCloseButton()))}static get assetsDirs(){return["assets"]}get el(){return c(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};j.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-s-internal:0.25rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=s]) .close,:host([scale=s]) .select-icon--active{block-size:1rem;inline-size:1rem}:host([scale=s]) .image-container{block-size:1.25rem;inline-size:1.25rem}:host([scale=s]) .container.is-circle{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]){block-size:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-s-internal:0.375rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=m]) .close,:host([scale=m]) .image-container,:host([scale=m]) .select-icon--active{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]) .container.is-circle{block-size:2rem;inline-size:2rem}:host([scale=l]){block-size:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-s-internal:0.5rem;--calcite-chip-spacing-l-internal:0.75rem}:host([scale=l]) .image-container,:host([scale=l]) .close,:host([scale=l]) .select-icon--active{block-size:2rem;inline-size:2rem}:host([scale=l]) .container.is-circle{block-size:2.75rem;inline-size:2.75rem}:host{display:inline-flex;cursor:default;border-radius:9999px}.container{box-sizing:border-box;display:inline-flex;block-size:100%;max-inline-size:100%;align-items:center;justify-content:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1);font-weight:var(--calcite-font-weight-medium);outline-color:transparent}.container:not(.is-circle){padding-inline:var(--calcite-chip-spacing-s-internal)}.container.selectable{cursor:pointer}.container:not(.non-interactive):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([scale=s]) .container.image--slotted{padding-inline-start:calc(0.125rem / 2)}:host([scale=s]) .container.is-circle{padding-inline:0}.container.text--slotted .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:var(--calcite-chip-spacing-s-internal)}.container:not(.text--slotted) .title{display:none}.container:not(.image--slotted) .image-container{display:none}.container.closable{padding-inline-end:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted{padding-inline-start:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).image--slotted .image-container~.chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).selectable:not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.selectable):not(.text--slotted) .chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text-slotted).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container{margin-inline-end:0}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container~.chip-icon{margin-inline-start:calc(var(--calcite-chip-spacing-s-internal) * 2)}.chip-icon{position:relative;margin-block:0px;display:inline-flex;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline:var(--calcite-chip-spacing-s-internal)}.image-container{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;pointer-events:none}.close{margin:0px;cursor:pointer;align-items:center;border-style:none;background-color:transparent;color:var(--calcite-color-text-1);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;display:flex;border-radius:50%;align-content:center;justify-content:center;--calcite-chip-transparent-hover:var(--calcite-color-transparent-hover);--calcite-chip-transparent-press:var(--calcite-color-transparent-press)}.close:hover{background-color:var(--calcite-chip-transparent-hover)}.close:focus{background-color:var(--calcite-chip-transparent-hover);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:active{background-color:var(--calcite-chip-transparent-press)}.close calcite-icon{color:inherit}.select-icon{align-self:center;justify-content:center;align-items:center;display:flex;inset-block-start:-1px;position:relative;visibility:hidden;inline-size:0;opacity:0;transition:opacity 0.15s ease-in-out, inline-size 0.15s ease-in-out}.select-icon.select-icon--active{visibility:visible;opacity:0.5}.container:not(.is-circle).image--slotted .select-icon.select-icon--active{margin-inline-end:var(--calcite-chip-spacing-s-internal)}:host([selected]) .select-icon{opacity:1}.container:hover .select-icon--active{opacity:1}slot[name=image]::slotted(*){display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}:host([kind=neutral]){background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host([kind=neutral]) .container{border-color:transparent}:host([kind=neutral]) .close{color:var(--calcite-color-text-3)}:host([kind=neutral]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-3))}:host([kind=inverse]){background-color:var(--calcite-color-inverse);color:var(--calcite-color-text-inverse)}:host([kind=inverse]) .container{border-color:transparent}:host([kind=inverse]) .close{color:var(--calcite-color-text-inverse)}:host([kind=inverse]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-inverse))}:host([kind=brand]){background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host([kind=brand]) .container{border-color:transparent}:host([kind=brand]) .close{color:var(--calcite-color-text-inverse)}:host([kind=brand]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-inverse))}:host([appearance=outline-fill]),:host([appearance=outline]){background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}:host([appearance=outline-fill]) .close,:host([appearance=outline]) .close{color:var(--calcite-color-text-3)}:host([appearance=outline-fill]) .chip-icon,:host([appearance=outline]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-3))}:host([appearance=outline-fill]){background-color:var(--calcite-color-foreground-1)}:host([appearance=outline]){background-color:transparent}:host([kind=neutral][appearance=outline-fill]) .container,:host([kind=neutral][appearance=outline]) .container{border-color:var(--calcite-color-border-1)}:host([kind=inverse][appearance=outline-fill]) .container,:host([kind=inverse][appearance=outline]) .container{border-color:var(--calcite-color-border-inverse)}:host([kind=brand][appearance=outline-fill]) .container,:host([kind=brand][appearance=outline]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand][appearance=solid]) button,:host([kind=inverse][appearance=solid]) button{outline-color:var(--calcite-color-text-inverse)}:host([closed]){display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{j as calcite_chip}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
/*!
|
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.0.0
|
10
|
-
*/
|
11
|
-
const t={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},n={checked:"check",remove:"x"},a={actionsEnd:"actions-end",actionsStart:"actions-start"};export{t as C,n as I,a as S}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as a}from"./p-f0d68a3f.js";import"./p-78780f63.js";import"./p-6604ac77.js";import"./p-83fd31d5.js";import"./p-fcefdfff.js";import"./p-29d68474.js";import"./p-0c97de08.js";import"./p-c92fff33.js";import"./p-1e2ffee3.js";import"./p-49fb1bfa.js";import"./p-0c07ad8a.js";import"./p-f10944e6.js";import"./p-de281b08.js";import"./p-5b566d55.js";import"./p-d9a59fcc.js";import"./p-c6b9a129.js";import"./p-475ad635.js";import"./p-981e9549.js";import"./p-653af7e0.js";var s="siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),p="siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),_=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,t=function(a,t){return _.test(t)?s[a.month()]:p[a.month()]};t.s=p,t.f=s;var e={name:"hr",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:t,monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"za %s",past:"prije %s",s:"sekunda",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godine"},ordinal:function(a){return a+"."}};a.locale(e,null,!0);export default e;
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,h as i,g as s,c as e,H as a,F as o}from"./p-78780f63.js";import{c as n}from"./p-5b566d55.js";import{c as l,s as c,a as r}from"./p-f10944e6.js";import{a as h}from"./p-83fd31d5.js";import{c as d,u as p,d as m}from"./p-0c97de08.js";import{c as u,d as f}from"./p-de281b08.js";import{c as v,s as g,d as y,u as w}from"./p-981e9549.js";import{S as b}from"./p-35c58364.js";import{l as x,g as k,f as L}from"./p-e902ba19.js";import{a as C,g as _,c as j,h as I,d as z}from"./p-2c382841.js";import{P as D}from"./p-515a319e.js";import"./p-fcefdfff.js";import"./p-29d68474.js";import"./p-c92fff33.js";import"./p-1e2ffee3.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-c1cf3ebc.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.0.0
|
11
|
-
*/const E=class{constructor(i){t(this,i),this.itemMutationObserver=n("mutation",(()=>this.updateFlowProps())),this.getFlowDirection=(t,i)=>t&&i>1||t>1?i<t?"retreating":"advancing":null,this.updateFlowProps=()=>{const{customItemSelectors:t,el:i,items:s}=this,e=Array.from(i.querySelectorAll("calcite-flow-item"+(t?`,${t}`:""))).filter((t=>t.closest("calcite-flow")===i)),a=s.length,o=e.length,n=e[o-1],l=e[o-2];if(o&&n&&e.forEach((t=>{t.showBackButton=t===n&&o>1,t.hidden=t!==n})),l&&(l.menuOpen=!1),this.items=e,a!==o){const t=this.getFlowDirection(a,o);this.itemCount=o,this.flowDirection=t}},this.customItemSelectors=void 0,this.flowDirection=null,this.itemCount=0,this.items=[]}async back(){const{items:t}=this,i=t[t.length-1];if(!i)return;const s=i.beforeBack?i.beforeBack:()=>Promise.resolve();try{await s.call(i)}catch(t){return}return i.remove(),i}async setFocus(){await l(this);const{items:t}=this,i=t[t.length-1];return null==i?void 0:i.setFocus()}connectedCallback(){var t;null===(t=this.itemMutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.updateFlowProps()}async componentWillLoad(){c(this)}componentDidLoad(){r(this)}disconnectedCallback(){var t;null===(t=this.itemMutationObserver)||void 0===t||t.disconnect()}async handleItemBackClick(t){if(!t.defaultPrevented)return await this.back(),this.setFocus()}render(){const{flowDirection:t}=this;return i("div",{class:{frame:!0,"frame--advancing":"advancing"===t,"frame--retreating":"retreating"===t}},i("slot",null))}get el(){return s(this)}};E.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0px}:host ::slotted(calcite-flow-item),:host ::slotted(calcite-panel){block-size:100%}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation:calcite-frame-advance var(--calcite-animation-timing)}:host .frame--retreating{animation:calcite-frame-retreat var(--calcite-animation-timing)}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}:host([hidden]){display:none}[hidden]{display:none}";
|
12
|
-
/*!
|
13
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
15
|
-
* v2.0.0
|
16
|
-
*/
|
17
|
-
const F=class{constructor(i){t(this,i),this.calciteFlowItemBack=e(this,"calciteFlowItemBack",7),this.calciteFlowItemScroll=e(this,"calciteFlowItemScroll",6),this.calciteFlowItemClose=e(this,"calciteFlowItemClose",6),this.calciteFlowItemToggle=e(this,"calciteFlowItemToggle",6),this.handlePanelScroll=t=>{t.stopPropagation(),this.calciteFlowItemScroll.emit()},this.handlePanelClose=t=>{t.stopPropagation(),this.calciteFlowItemClose.emit()},this.handlePanelToggle=t=>{t.stopPropagation(),this.collapsed=t.target.collapsed,this.calciteFlowItemToggle.emit()},this.backButtonClick=()=>{this.calciteFlowItemBack.emit()},this.setBackRef=t=>{this.backButtonEl=t},this.setContainerRef=t=>{this.containerEl=t},this.closable=!1,this.closed=!1,this.collapsed=!1,this.collapseDirection="down",this.collapsible=!1,this.beforeBack=void 0,this.description=void 0,this.disabled=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.showBackButton=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){d(this),u(this),v(this)}async componentWillLoad(){await g(this),c(this)}componentDidRender(){p(this)}disconnectedCallback(){m(this),f(this),y(this)}componentDidLoad(){r(this)}effectiveLocaleChange(){w(this,this.effectiveLocale)}async setFocus(){await l(this);const{backButtonEl:t,containerEl:i}=this;return t?t.setFocus():i?i.setFocus():void 0}async scrollContentTo(t){var i;await(null===(i=this.containerEl)||void 0===i?void 0:i.scrollContentTo(t))}renderBackButton(){const{el:t}=this,s="rtl"===h(t),{showBackButton:e,backButtonClick:a,messages:o}=this,n=o.back;return e?i("calcite-action",{"aria-label":n,class:"back-button",icon:s?"chevron-right":"chevron-left",key:"flow-back-button",onClick:a,scale:"s",slot:"header-actions-start",text:n,title:n,ref:this.setBackRef}):null}render(){const{collapsed:t,collapseDirection:s,collapsible:e,closable:o,closed:n,description:l,disabled:c,heading:r,headingLevel:h,loading:d,menuOpen:p,messages:m}=this;return i(a,null,i("calcite-panel",{closable:o,closed:n,collapseDirection:s,collapsed:t,collapsible:e,description:l,disabled:c,heading:r,headingLevel:h,loading:d,menuOpen:p,messageOverrides:m,onCalcitePanelClose:this.handlePanelClose,onCalcitePanelScroll:this.handlePanelScroll,onCalcitePanelToggle:this.handlePanelToggle,ref:this.setContainerRef},this.renderBackButton(),i("slot",{name:"action-bar",slot:b.actionBar}),i("slot",{name:"header-actions-start",slot:b.headerActionsStart}),i("slot",{name:"header-actions-end",slot:b.headerActionsEnd}),i("slot",{name:"header-content",slot:b.headerContent}),i("slot",{name:"header-menu-actions",slot:b.headerMenuActions}),i("slot",{name:"fab",slot:b.fab}),i("slot",{name:"footer-actions",slot:b.footerActions}),i("slot",{name:"footer",slot:b.footer}),i("slot",null)))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};F.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);border-inline-end-width:1px}calcite-panel{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding);--calcite-panel-header-border-block-end:var(--calcite-flow-item-header-border-block-end)}:host([hidden]){display:none}[hidden]{display:none}";const S=class{constructor(i){t(this,i),this.success=e(this,"success",7),this.fail=e(this,"fail",7),this.drawComplete=e(this,"drawComplete",7),this.editingAttachment=e(this,"editingAttachment",7),this.mapView=void 0,this.selectedLayerId=void 0,this.customizeSubmit=!1}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async close(){this._editor&&this._editor.destroy()}async submit(){this._editor&&this._editor.viewModel.featureFormViewModel.submit()}async componentWillLoad(){await this.initModules()}async componentDidLoad(){await this.init()}render(){return i(a,{id:"feature-form"})}async init(){this.mapView&&this.selectedLayerId&&await this.createEditorWidget()}async initModules(){const[t,i]=await x(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}async createEditorWidget(){this._editor&&this._editor.destroy();const t=[],i=document.createElement("div");(await C(this.mapView)).forEach((async i=>{t.push({layer:i,enabled:"feature"===(null==i?void 0:i.type)&&(null==i?void 0:i.id)===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this._editor=new this.Editor({allowedWorkflows:"create-features",view:this.mapView,layerInfos:t,visibleElements:{snappingControls:!1},container:i}),this.el.appendChild(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(s);const e=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&this.startCreate()}));this._editor.viewModel.addHandles(e)}async startCreate(){var t;if(null===(t=this._editor.viewModel.featureTemplatesViewModel.items)||void 0===t?void 0:t.length){const t=this._editor.viewModel.featureTemplatesViewModel.items[0].get("items");this._editor.viewModel.featureTemplatesViewModel.on("select",(()=>{setTimeout((()=>{this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this)),this._editor.viewModel.sketchViewModel.on("create",(t=>{"complete"===t.state&&this.drawComplete.emit()})),this.hideEditorsElements()}),700),this.hideEditorsElements()})),1===t.length&&this._editor.viewModel.featureTemplatesViewModel.select(t[0]),this.hideEditorsElements()}}hideEditorsElements(){this.customizeSubmit&&setTimeout((()=>{var t;null===(t=this.el.querySelector(".esri-editor").querySelectorAll("calcite-flow-item"))||void 0===t||t.forEach((t=>{var i,s,e,a,o;const n=null===(e=null===(s=null===(i=t.shadowRoot)||void 0===i?void 0:i.querySelector("calcite-panel"))||void 0===s?void 0:s.shadowRoot)||void 0===e?void 0:e.querySelector("article");null===(a=null==n?void 0:n.querySelector("header"))||void 0===a||a.setAttribute("style","display: none"),null===(o=null==n?void 0:n.querySelector("footer"))||void 0===o||o.setAttribute("style","display: none")}))}),700)}async submitted(t){var i;if(!t.invalid.length&&t.valid.length){try{await this._editor.activeWorkflow.commit(),(null===(i=this._editor.viewModel.failures)||void 0===i?void 0:i.length)&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}get el(){return s(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};S.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.esri-editor__update-actions{display:none !important}.esri-editor__panel-content{padding-block:0px !important}.esri-editor .esri-item-list__group__header{display:none !important}.esri-editor__panel-content__section .esri-widget__heading{display:none !important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px !important;padding-inline:10px !important}";const W=class{constructor(i){t(this,i),this.featureSelect=e(this,"featureSelect",7),this.selectedLayerId=void 0,this.mapView=void 0,this.noFeaturesFoundMsg=void 0,this.pageSize=100,this.highlightOnMap=!1,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._translations=void 0}async selectedLayerWatchHandler(){this._selectedLayer=await _(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async componentWillLoad(){await this._getTranslations(),this._isLoading=!0,this._popupUtils=new D,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await _(this.mapView,this.selectedLayerId))}async componentDidLoad(){await this.initializeFeatureItems()}render(){return i("calcite-panel",{"full-height":!0,"full-width":!0},this._isLoading&&i("calcite-loader",{scale:"m"}),0===this._featureItems.length&&!this._isLoading&&i("calcite-notice",{class:"error-msg",icon:"feature-details",kind:"info",open:!0},i("div",{slot:"message"},this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg)),i("calcite-list",{"selection-appearance":"border","selection-mode":"single"},!this._isLoading&&this._featureItems.length>0&&this._featureItems),this._featuresCount>this.pageSize&&i("div",{class:"width-full",slot:"footer"},i("calcite-pagination",{class:"pagination","full-width":!0,onCalcitePaginationChange:this.pageChanged.bind(this),"page-size":this.pageSize,"start-item":"1","total-items":this._featuresCount})))}async initializeFeatureItems(){this._selectedLayer&&(this._isLoading=!0,this._featureItems=await this.queryPage(0),this._featuresCount=await this._selectedLayer.queryFeatureCount(),this._isLoading=!1)}async pageChanged(t){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=null);const i=t.target.startItem-1;this._featureItems=await this.queryPage(i),this._isLoading=!1}async featureClicked(t,i){if(this.highlightOnMap&&this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=null),t.target.selected){if(this.highlightOnMap){const i=Number(t.target.value),s=await j(this.mapView,this.selectedLayerId);this._highlightHandle=await I([i],s,this.mapView,!0)}this.featureSelect.emit(i)}}async queryPage(t){const i=this._selectedLayer,s=i.objectIdField,e={start:t,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:i.definitionExpression,outSpatialReference:this.mapView.spatialReference.toJSON()};s&&(e.orderByFields=[s.toString()+" DESC"]);const a=await i.queryFeatures(e);return await this.createFeatureItem(a)}async createFeatureItem(t){const i=(null==t?void 0:t.features).map((async t=>{const i=await this._popupUtils.getPopupTitle(t,this.mapView.map);return this.getFeatureItem(t,i)}));return Promise.all(i)}getFeatureItem(t,s){const e=t.attributes[this._selectedLayer.objectIdField].toString();return i("calcite-list-item",{onCalciteListItemSelect:i=>{this.featureClicked(i,t)},value:e},i("div",{class:"popup-title",slot:"content-start"},s=null!=s?s:e),i("calcite-icon",{icon:"chevron-right",scale:"s",slot:"content-end"}))}async _getTranslations(){const t=await k(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{selectedLayerId:["selectedLayerWatchHandler"]}}};W.style=":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.popup-title{font-weight:500;padding:10px 12px}";const P=class{constructor(i){t(this,i),this.layerSelect=e(this,"layerSelect",7),this.layersListLoaded=e(this,"layersListLoaded",7),this.mapView=void 0,this.layers=void 0,this.noLayerErrorMsg=void 0,this.showFeatureCount=!0,this.showNextIcon=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}async refresh(){await this.setLayers()}async componentWillLoad(){await this._getTranslations(),this._isLoading=!0}async componentDidLoad(){await this.setLayers(),this._isLoading=!1}render(){return i(o,null,this._isLoading&&i("calcite-loader",{scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&i("calcite-notice",{class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},i("div",{slot:"title"},this._translations.error),i("div",{slot:"message"},this.noLayerErrorMsg?this.noLayerErrorMsg:this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&i("calcite-list",{"selection-appearance":"border","selection-mode":this.showNextIcon?"none":"single-persist"},this.renderLayerList()))}async setLayers(){this.mapView&&await this.initLayerHash()}async initLayerHash(){const t=[];this._layerItemsHash=await z(this.mapView,!0),(await C(this.mapView)).forEach((async i=>{var s,e;if("feature"===(null==i?void 0:i.type)&&(null==i?void 0:i.editingEnabled)&&(null===(e=null===(s=null==i?void 0:i.capabilities)||void 0===s?void 0:s.operations)||void 0===e?void 0:e.supportsAdd)&&(this._layerItemsHash[i.id].supportsAdd=!0,this.showFeatureCount)){const s=i.createQuery(),e=i.queryFeatureCount(s);t.push(e),e.then((async t=>{const s=isNaN(t)?"":await L(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[i.id].formattedFeatureCount=s}))}})),await Promise.all(t).then((()=>{const t=this.getEditableIds(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getEditableIds(t){var i;const s=(null===(i=this.layers)||void 0===i?void 0:i.length)>0?this.layers:[];return Object.keys(t).reduce(((i,e)=>{let a=t[e].supportsAdd;return(null==s?void 0:s.length)>0&&(a=s.indexOf(e)>-1&&t[e].supportsAdd),a&&i.push(e),i}),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const s=this._layerItemsHash[t].formattedFeatureCount;return i("calcite-list-item",{onCalciteListItemSelect:()=>{this.onLayerItemSelected(t)}},i("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),this.showFeatureCount&&void 0!==s&&""!==s&&i("div",{class:this.showNextIcon?"":"feature-count",slot:"content-end"},"("+s+")"),this.showNextIcon&&i("calcite-icon",{icon:"chevron-right",scale:"s",slot:"content-end"}))}onLayerItemSelected(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await k(this.el);this._translations=t[0]}get el(){return s(this)}};P.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";export{E as calcite_flow,F as calcite_flow_item,S as create_feature,W as feature_list,P as layer_list}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{j as n,k as t,l as e,m as r,o,e as i,p as u}from"./p-83fd31d5.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.0.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.0.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}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as e,a as t}from"./p-29d68474.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.0.0
|
11
|
-
*/function o(){const{classList:o}=document.body,n=window.matchMedia("(prefers-color-scheme: dark)").matches,d=()=>o.contains(e)||o.contains(t)&&n?"dark":"light",c=e=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:e}})),i=e=>{a!==e&&c(e),a=e};let a=d();c(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>i(e.matches?"dark":"light"))),new MutationObserver((()=>i(d()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}
|
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.0.0
|
16
|
-
*/const n=function(){"undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document&&("interactive"===document.readyState?o():document.addEventListener("DOMContentLoaded",(()=>o()),{once:!0}))};export{n as g}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
/*!
|
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.0.0
|
10
|
-
*/
|
11
|
-
const t={container:"container",containerBorderSelected:"container--border-selected",containerBorderUnselected:"container--border-unselected",contentContainer:"content-container",contentContainerSelectable:"content-container--selectable",contentContainerHasCenterContent:"content-container--has-center-content",nestedContainer:"nested-container",nestedContainerHidden:"nested-container--hidden",content:"content",customContent:"custom-content",actionsStart:"actions-start",contentStart:"content-start",label:"label",description:"description",contentEnd:"content-end",contentBottom:"content-bottom",actionsEnd:"actions-end",selectionContainer:"selection-container",openContainer:"open-container",dragContainer:"drag-container"},n={actionsStart:"actions-start",contentStart:"content-start",content:"content",contentBottom:"content-bottom",contentEnd:"content-end",actionsEnd:"actions-end"},e=0,c={selectedMultiple:"check-circle-f",selectedSingle:"circle-f",unselected:"blank",closedLTR:"caret-right",closedRTL:"caret-left",open:"caret-down",blank:"blank",close:"x"},o="calcite-list",a="calcite-list-item";function r(t){return Array.from(t.assignedElements({flatten:!0}).filter((t=>t.matches(o))))}function i(t){const n=t.assignedElements({flatten:!0}),e=n.filter((t=>t?.matches("calcite-list-item-group"))).map((t=>Array.from(t.querySelectorAll(a)))).reduce(((t,n)=>[...t,...n]),[]),c=n.filter((t=>t?.matches(a)));return[...n.filter((t=>t?.matches(o))).map((t=>Array.from(t.querySelectorAll(a)))).reduce(((t,n)=>[...t,...n]),[]),...e,...c]}function s(t){t.forEach((n=>{n.setPosition=t.indexOf(n)+1,n.setSize=t.length}))}function l(t,n=!1){return document.evaluate(n?"ancestor::calcite-list-item | ancestor::calcite-list-item-group":"ancestor::calcite-list-item",t,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength}export{t as C,c as I,e as M,n as S,i as a,r as b,l as g,s as u}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{h as e,r as i,f as t,g as n}from"./p-78780f63.js";import{h as a,a as s,s as l,i as r,g as c,v as o,b as d,c as v,d as p,e as u,f as g,u as h,j as f,k as m}from"./p-68434a63.js";import{c as y,a as _}from"./p-e1a4994d.js";import{l as b}from"./p-a8a0187d.js";import"./p-225c4ca4.js";import"./p-d918ec36.js";const w=96;function k(e){return e?e/72*w:0}var x=y((function(e,i){!function(e){var i,t="http://www.w3.org/",n="".concat(t,"2000/svg"),a="".concat(t,"1999/xlink"),s=[],l=function(e,i){var t={};return Object.keys(e).forEach((function(i){t[i]=e[i]})),i&&Object.keys(i).forEach((function(e){t[e]=i[e]})),t},r=function(e,i){return e.vnodeSelector===i.vnodeSelector&&(e.properties&&i.properties?e.properties.key===i.properties.key&&e.properties.bind===i.properties.bind:!e.properties&&!i.properties)},c=function(e){if("string"!=typeof e)throw new Error("Style values must be strings")},o=function(e,i,t){if(""!==i.vnodeSelector)for(var n=t;n<e.length;n++)if(r(e[n],i))return n;return-1},d=function(e,i,t,n){var a=e[i];if(""!==a.vnodeSelector){var s=a.properties;if(!(s?void 0===s.key?s.bind:s.key:void 0))for(var l=0;l<e.length;l++)if(l!==i&&r(e[l],a))throw{error:new Error("".concat(t.vnodeSelector," had a ").concat(a.vnodeSelector," child ").concat("added"===n?n:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:t,childNode:a}}},v=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},p=[],u=!1,g=function(e){(e.children||[]).forEach(g),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},h=function(){u=!1,p.forEach(g),p.length=0},f=function(e){p.push(e),u||(u=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(h,{timeout:16}):setTimeout(h,16))},m=function(e){var i=e.domNode;if(e.properties){var t=e.properties.exitAnimation;if(t){i.style.pointerEvents="none";return void t(i,(function(){i.parentNode&&(i.parentNode.removeChild(i),f(e))}),e.properties)}}i.parentNode&&(i.parentNode.removeChild(i),f(e))},y=function(e,i,t){(function(e,i,t){if(i)for(var n=0,a=i;n<a.length;n++)_(a[n],e,void 0,t)})(e,i.children,t),i.text&&(e.textContent=i.text),function(e,i,t){if(i)for(var s=t.eventHandlerInterceptor,l=Object.keys(i),r=l.length,o=function(r){var o,d=l[r],v=i[d];if("className"===d)throw new Error('Property "className" is not supported, use "class".');if("class"===d)b(e,v,!0);else if("classes"===d)for(var p=Object.keys(v),u=p.length,g=0;g<u;g++){var h=p[g];v[h]&&e.classList.add(h)}else if("styles"===d){var f=Object.keys(v),m=f.length;for(g=0;g<m;g++){var y=f[g],_=v[y];_&&(c(_),t.styleApplyer(e,y,_))}}else if("key"!==d&&null!=v){var w=typeof v;"function"===w?(0===d.lastIndexOf("on",0)&&(s&&(v=s(d,v,e,i)),"oninput"===d&&(o=v,v=function(e){o.apply(this,[e]),e.target["oninput-value"]=e.target.value})),e[d]=v):t.namespace===n?"href"===d?e.setAttributeNS(a,d,v):e.setAttribute(d,v):"string"===w&&"value"!==d&&"innerHTML"!==d?e.setAttribute(d,v):e[d]=v}},d=0;d<r;d++)o(d)}(e,i.properties,t),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,t,i.vnodeSelector,i.properties,i.children])},_=function(e,i,t,a){var s,r,c=0,o=e.vnodeSelector,d=i.ownerDocument;if(""===o)e.domNode?e.domNode.nodeValue=e.text:(r=e.domNode=d.createTextNode(e.text),void 0!==t?i.insertBefore(r,t):i.appendChild(r));else{for(var v=0;v<=o.length;++v){var p=o.charAt(v);if(v===o.length||"."===p||"#"===p){var u=o.charAt(c-1),g=o.slice(c,v);"."===u?r.classList.add(g):"#"===u?r.id=g:("svg"===g&&(a=l(a,{namespace:n})),void 0!==a.namespace?r=e.domNode=d.createElementNS(a.namespace,g):(r=e.domNode=e.domNode||((null===(s=e.properties)||void 0===s?void 0:s.is)?d.createElement(g,{is:e.properties.is}):d.createElement(g)),"input"===g&&e.properties&&void 0!==e.properties.type&&r.setAttribute("type",e.properties.type)),void 0!==t?i.insertBefore(r,t):r.parentNode!==i&&i.appendChild(r)),c=v+1}}y(r,e,a)}},b=function(e,i,t){i&&i.split(" ").forEach((function(i){i&&e.classList.toggle(i,t)}))};i=function(e,t,p){var u=e.domNode,g=!1;if(e===t)return!1;var h=!1;if(""===t.vnodeSelector){if(t.text!==e.text){var f=u.ownerDocument.createTextNode(t.text);return u.parentNode.replaceChild(f,u),t.domNode=f,!0}t.domNode=u}else 0===t.vnodeSelector.lastIndexOf("svg",0)&&(p=l(p,{namespace:n})),e.text!==t.text&&(h=!0,void 0===t.text?u.removeChild(u.firstChild):u.textContent=t.text),t.domNode=u,h=function(e,t,n,a,l){if(n===a)return!1;for(var c,p=(n=n||s).length,u=(a=a||s).length,g=0,h=0,f=!1;h<u;){var y=g<p?n[g]:void 0,b=a[h];if(void 0!==y&&r(y,b))f=i(y,b,l)||f,g++;else{var w=o(n,b,g+1);if(w>=0){for(c=g;c<w;c++)m(n[c]),d(n,c,e,"removed");f=i(n[w],b,l)||f,g=w+1}else _(b,t,g<p?n[g].domNode:void 0,l),v(b),d(a,h,e,"added")}h++}if(p>g)for(c=g;c<p;c++)m(n[c]),d(n,c,e,"removed");return f}(t,u,e.children,t.children,p)||h,h=function(e,i,t,s){if(t){for(var l=!1,r=Object.keys(t),o=r.length,d=0;d<o;d++){var v=r[d],p=t[v],u=i[v];if("class"===v)u!==p&&(b(e,u,!1),b(e,p,!0));else if("classes"===v)for(var g=e.classList,h=Object.keys(p),f=h.length,m=0;m<f;m++){var y=h[m],_=!!p[y];_!==!!u[y]&&(l=!0,_?g.add(y):g.remove(y))}else if("styles"===v){var w=Object.keys(p),k=w.length;for(m=0;m<k;m++){var x=w[m],L=p[x];L!==u[x]&&(l=!0,L?(c(L),s.styleApplyer(e,x,L)):s.styleApplyer(e,x,""))}}else if(p||"string"!=typeof u||(p=""),"value"===v){var $=e[v];$!==p&&(e["oninput-value"]?$===e["oninput-value"]:p!==u)&&(e[v]=p,e["oninput-value"]=void 0),p!==u&&(l=!0)}else if(p!==u){var j=typeof p;"function"===j&&s.eventHandlerInterceptor||(s.namespace===n?"href"===v?e.setAttributeNS(a,v,p):e.setAttribute(v,p):"string"===j&&"innerHTML"!==v?"role"===v&&""===p?e.removeAttribute(v):e.setAttribute(v,p):e[v]!==p&&(e[v]=p),l=!0)}}return l}}(u,e.properties,t.properties,p)||h,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[u,p,t.vnodeSelector,t.properties,t.children]);return h&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(u,t.properties,e.properties),g};var w=function(e,t){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var a=e;e=n,i(a,n,t)},domNode:e.domNode}},k={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,t){"-"===i.charAt(0)?e.style.setProperty(i,t):e.style[i]=t}},x=function(e){return l(k,e)},L={create:function(e,i){return i=x(i),_(e,document.createElement("div"),void 0,i),w(e,i)},append:function(e,i,t){return t=x(t),_(i,e,void 0,t),w(i,t)},insertBefore:function(e,i,t){return t=x(t),_(i,e.parentNode,e,t),w(i,t)},merge:function(e,i,t){return t=x(t),i.domNode=e,y(e,i,t),w(i,t)},replace:function(e,i,t){return t=x(t),_(i,e.parentNode,e,t),e.parentNode.removeChild(e),w(i,t)}},$=function(e,i,t){for(var n=0,a=i.length;n<a;n++){var s=i[n];Array.isArray(s)?$(e,s,t):null!=s&&!1!==s&&("string"==typeof s&&(s={vnodeSelector:"",properties:void 0,children:void 0,text:s.toString(),domNode:null}),t.push(s))}};var j;j=Array.prototype.find?function(e,i){return e.find(i)}:function(e,i){return e.filter(i)[0]};var z=function(e,i,t){return function(){return n};function n(n){t("domEvent",n);var a=i(),s=function(e,i){for(var t=[];e&&e!==i;)t.push(e),e=e.parentNode;return t}(n.currentTarget,a.domNode);s.reverse();var l,r=function(e,i){var t=e;return i.forEach((function(e){t=t&&t.children?j(t.children,(function(i){return i.domNode===e})):void 0})),t}(a.getLastRender(),s);return e.scheduleRender(),r&&(l=r.properties["on".concat(n.type)].apply(r.properties.bind||this,arguments)),t("domEventProcessed",n),l}};e.createCache=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(t,n){if(e)for(var a=0;a<t.length;a++)e[a]!==t[a]&&(i=void 0);return i||(i=n(),e=t),i}}},e.createMapping=function(e,i,t){var n=[],a=[];return{results:a,map:function(s){for(var l=s.map(e),r=a.slice(),c=0,o=0;o<s.length;o++){var d=s[o],v=l[o];if(v===n[c])a[o]=r[c],t(d,r[c],o),c++;else{for(var p=!1,u=1;u<n.length+1;u++){var g=(c+u)%n.length;if(n[g]===v){a[o]=r[g],t(s[o],r[g],o),c=g+1,p=!0;break}}p||(a[o]=i(d,o))}}a.length=s.length,n=l}}},e.createProjector=function(e){var i,t,n=x(e),a=n.performanceLogger,s=!0,l=!1,r=[],c=[],o=function(e,t,s){var l;n.eventHandlerInterceptor=z(i,(function(){return l}),a),l=e(t,s(),n),r.push(l),c.push(s)},d=function(){if(t=void 0,s){s=!1,a("renderStart",void 0);for(var e=0;e<r.length;e++){var i=c[e]();a("rendered",void 0),r[e].update(i),a("patched",void 0)}a("renderDone",void 0),s=!0}};return i={renderNow:d,scheduleRender:function(){t||l||(t=requestAnimationFrame(d))},stop:function(){t&&(cancelAnimationFrame(t),t=void 0),l=!0},resume:function(){l=!1,s=!0,i.scheduleRender()},append:function(e,i){o(L.append,e,i)},insertBefore:function(e,i){o(L.insertBefore,e,i)},merge:function(e,i){o(L.merge,e,i)},replace:function(e,i){o(L.replace,e,i)},detach:function(e){for(var i=0;i<c.length;i++)if(c[i]===e)return c.splice(i,1),r.splice(i,1)[0];throw new Error("renderFunction was not found")}}},e.dom=L,e.h=function(e,i,t){if(Array.isArray(i))t=i,i=void 0;else if(i&&("string"==typeof i||i.vnodeSelector)||t&&("string"==typeof t||t.vnodeSelector))throw new Error("h called with invalid arguments");var n,a;return t&&1===t.length&&"string"==typeof t[0]?n=t[0]:t&&($(e,t,a=[]),0===a.length&&(a=void 0)),{vnodeSelector:e,properties:i,children:a,text:""===n?void 0:n,domNode:null}}}(i)}));const L=x.createProjector(),$=20,j={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function z(i="vertical"){const t="stroke:rgb(200, 200, 200);stroke-width:1";return"vertical"===i?e("svg",{height:"4",width:"10"},e("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:t})):e("svg",{height:"10",width:"10"},e("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:t}))}function O(e,i="vertical"){const t=document.createElement("div");return t.style.height=`${$}px`,t.className=j.univariateAboveAndBelowSymbol,null!=e&&(t.style.opacity=e.toString()),L.append(t,z.bind(null,i)),t}function R(e,i,t="vertical",n){e.infos.forEach(((e,a)=>{if(n&&2===a)e.preview=O(i,t);else{const{size:i}=e,n=k(i)+("horizontal"===t?20:10),a="div"===e.preview.tagName.toLowerCase(),s=a?e.preview:document.createElement("div");s&&(s.className=j.univariateAboveAndBelowSymbol),"horizontal"===t?s&&(s.style.width=`${n}px`):s&&(s.style.height=`${n}px`),a||s&&s.appendChild(e.preview),e.preview=s}}))}function E(e,i="classic"){const t=e.infos,n=t[0].size,a=t[t.length-1].size;return"classic"===i?(k(n)+10)/2:(k(n)-k(a))/2}async function A(e,i){if(!e)return Promise.resolve(null);const t=e.infos.map((e=>e.color)),[n]=await b(["esri/symbols/support/symbolUtils"]),a=n.renderColorRampPreviewHTML("full"===i.type?t:"above"===i.type?t.slice(0,3):t.slice(2,5),{width:i.width,height:i.height,align:i.rampAlignment,effectList:i.effectList});return a.className=j.colorRamp,null!=i.opacity&&(a.style.opacity=i.opacity.toString()),Promise.resolve(a)}function F(e,i,t,n="vertical"){const a=function(e,i,t,n="vertical"){let a=0;const s=e.infos,l=Math.floor(s.length/2),r="full"===i||"below"===i?s.length-1:l;for(let e="full"===i||"above"===i?0:l;e<=r;e++)a+=t&&e===l?"horizontal"===n?10:$:k(s[e].size)+("horizontal"===n?20:10);return Math.round(a)}(e,i,t,n),s=e.infos,l=Math.floor(s.length/2),r="full"===i||"above"===i?0:l,c="full"===i||"below"===i?s.length-1:l,o=t?"vertical"===n?$:10:0,d="vertical"===n?10*("full"===i?2:1):20*("full"===i?2:1);return Math.round(a-(k("full"===i?s[r].size+s[c].size:"above"===i?s[r].size:s[c].size)/2+o/2+d/2))}const M="esri-legend__layer-body",I="esri-legend__layer-row",T="esri-legend__layer-cell esri-legend__layer-cell--info",C="esri-legend__layer-cell esri-legend__layer-cell--symbols",N="esri-legend__symbol",S="esri-legend__ramps",H="esri-legend__size-ramp",P="esri-legend__ramp-labels",D="esri-legend__ramp-label",q="esri-univariate-above-and-below-ramp__label",B={display:"flex",alignItems:"flex-start"},U={marginLeft:"3px"},V={display:"table-cell",verticalAlign:"middle"},W=class{constructor(e){i(this,e),this.calculatingFeatureCount=!1,this.legendvm=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0,this.isLoading=!0,this.intLegendId=void 0}handleFilterModeChange(){a(this.filterMode,this.legendvm.view)}async componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0});const[e,i,n]=await b(["esri/intl","esri/core/reactiveUtils","esri/core/Handles"]);this.reactiveUtils=i,this.handles=new n,this.intl=e}async componentDidLoad(){try{await this.reactiveUtils.whenOnce((()=>{var e;return null===(e=this.legendvm)||void 0===e?void 0:e.view})),this.legendvm.view.when((async()=>{var e,i;try{await(null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.map).loadAll(),await this.reactiveUtils.whenOnce((()=>{var e,i;return!1===(null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.updating)}));const t=await s(this.legendvm,this.reactiveUtils);l.set("data",Object.assign(Object.assign({},r.data),t)),this.isLoading=!1,this.setupWatchersAndListeners()}catch(e){this.isLoading=!1}}))}catch(e){this.isLoading=!1}}disconnectedCallback(){var e,i;null===(e=this.handles)||void 0===e||e.removeAll(),null===(i=this.handles)||void 0===i||i.destroy(),this.handles=null}render(){var i,t,n;const a=this.renderFilteredLayers();return this.isLoading?e("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:null===(i=this.messages)||void 0===i?void 0:i.loading,text:null===(t=this.messages)||void 0===t?void 0:t.loading}):e("div",{key:"interactive-legend-classic-container",class:c(this.el)},(null==a?void 0:a.length)>0?a:e("div",{class:"esri-legend__message"},null===(n=this.messages)||void 0===n?void 0:n.noLegend))}renderFilteredLayers(){var e,i;return(null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.activeLayerInfos)||void 0===i?void 0:i.toArray()).map((e=>this.renderLegendForLayer(e))).filter((e=>!!e))}renderLegendForLayer(i,t){var n,a;if(!i.ready)return null;if(i.children.length){const a=i.children.map((e=>this.renderLegendForLayer(e,!0))).toArray();return e("instant-apps-interactive-legend-group-legend-element",{class:c(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:i,isChild:t},e("div",{style:{paddingLeft:"20px"},id:`${null===(n=null==i?void 0:i.layer)||void 0===n?void 0:n.id}-legend-layer`,slot:"content"},a))}const s=i.legendElements;if(s&&!s.length)return null;const l=s.map(((e,t)=>this.renderLegendForElement(e,i.layer,i.effectList,i,t))).filter((e=>!!e));return l.length?e("instant-apps-interactive-legend-layer-element",{class:c(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:i,messages:this.messages,isChild:t},e("div",{slot:"content",id:`${null===(a=null==i?void 0:i.layer)||void 0===a?void 0:a.id}-legend-layer`,class:"esri-legend__layer"},l)):null}renderLegendForElement(i,t,n,a,s,l,r){const d="color-ramp"===i.type,v="opacity-ramp"===i.type,p="size-ramp"===i.type;let u=null;const g=o(a,i,s),h="relationship-ramp"===(null==i?void 0:i.type);if("symbol-table"===i.type||p){const l=i.infos.map(((e,l)=>this.renderLegendForElementInfo(e,t,n,p,i,a,s,l,g,r||null))).filter((e=>!!e));l.length&&(u=e("div",{class:M},l))}else"color-ramp"===i.type||"opacity-ramp"===i.type||"heatmap-ramp"===i.type||"stretch-ramp"===i.type?u=this.renderLegendForRamp(i,t.opacity):"relationship-ramp"===i.type?u=e("instant-apps-interactive-legend-relationship",{class:c(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:a,legendElement:i,messages:this.messages}):"pie-chart-ramp"===i.type?u=this.renderPieChartRamp(i):"univariate-above-and-below-ramp"===i.type?u=this.renderUnivariateAboveAndBelowRamp(i,t.opacity,n):"univariate-color-size-ramp"===i.type&&(u=this.renderUnivariateColorSizeRamp(i,t.opacity,n));if(!u)return null;const f=i.title;let m=null;if("string"==typeof f)m=f;else if(f){const e=this.getTitle(this.messages,f,d||v);m=this.isRendererTitle(f,d||v)&&f.title?`${f.title} (${e})`:e}return e("instant-apps-interactive-legend-legend-element",{class:c(this.el),activeLayerInfo:a,isSizeRamp:p,isChild:l,isColorRamp:d,isRelationshipRamp:h,isInteractive:g,zoomTo:this.zoomTo,legendElement:i,titleText:m,legendvm:this.legendvm,legendElementIndex:s,messages:this.messages},e("div",{slot:"content"},u))}renderPieChartRamp(i){var t;return e("div",{innerHTML:`${null===(t=i.preview)||void 0===t?void 0:t.outerHTML}`})}async renderUnivariateAboveAndBelowRamp(i,t,n){const{sizeRampElement:a,colorRampElement:s}=function(e,i,t="vertical"){const n=e.infos;let a=n.find((({type:e})=>"size-ramp"===e)),s=n.find((({type:e})=>"color-ramp"===e));return a&&(a=Object.assign({},a),a.infos=[...a.infos],R(a,i,t,!0)),s&&(s=Object.assign({},s),s.infos=[...s.infos]),"horizontal"===t&&(null==a||a.infos.reverse(),null==s||s.infos.reverse()),{sizeRampElement:a,colorRampElement:s}}(i,t);if(!a)return null;const l=F(a,"above",!0),r=F(a,"below",!0),c=await A(s,{width:12,height:l,rampAlignment:"vertical",opacity:t,type:"above",effectList:n}),o=await A(s,{width:12,height:r,rampAlignment:"vertical",opacity:t,type:"below",effectList:n}),d=E(a),v=a.infos.map((e=>e.label)),p=v.map(((i,t)=>{const n=2===t;return 0===t?e("div",{class:i?c?q:D:""},i):n?e("div",null):null})),u=v.length-1,g=Math.floor(v.length/2),h=v.map(((i,t)=>t===g||t===u?e("div",{class:i?c?q:D:""},i):null)),f={display:"table-cell",verticalAlign:"middle"},m={marginTop:`${d}px`},y={height:`${l}px`},_={height:`${r}px`};return e("div",{key:"univariate-above-and-below-ramp-preview",style:B},e("div",{class:M},a.infos.map(((i,t)=>e("div",{class:`${I} ${H}`},e("div",{class:N,style:f,innerHTML:`${i.preview.outerHTML}`}),c||t%2!=0?null:e("div",{class:T},v[t]))))),c?e("div",{style:m,key:"color-ramp-preview"},e("div",{style:U},e("div",{style:V},e("div",{class:S},c)),e("div",{style:V},e("div",{class:P,style:y},p))),e("div",{style:U},e("div",{style:V},e("div",{class:S},o)),e("div",{style:V},e("div",{class:P,style:_},h)))):null)}renderUnivariateColorSizeRamp(i,t,n){const{sizeRampElement:a,colorRampElement:s}=function(e,i="vertical"){const t=e.infos;let n=t.find((({type:e})=>"size-ramp"===e)),a=t.find((({type:e})=>"color-ramp"===e));return n&&(n=Object.assign({},n),n.infos=[...n.infos],R(n,null,i,!1)),a&&(a=Object.assign({},a),a.infos=[...a.infos]),"horizontal"===i&&(null==n||n.infos.reverse(),null==a||a.infos.reverse()),{sizeRampElement:n,colorRampElement:a}}(i);if(!a)return null;const l=E(a),r=F(a,"full",!1),c=A(s,{width:12,height:r,rampAlignment:"vertical",opacity:t,type:"full",effectList:n}),o=a.infos.length-1,d=a.infos.map(((i,t)=>0===t||t===o?e("div",{class:i.label?s?q:D:""},i.label):null)),v={display:"table-cell",verticalAlign:"middle"},p={marginTop:`${l}px`},u={height:`${r}px`};return e("div",{key:"univariate-above-and-below-ramp-preview",style:B},e("div",{class:M},a.infos.map((i=>e("div",{class:`${I} ${H}`},e("div",{class:N,style:v,innerHTML:`${i.preview.outerHTML}`}))))),e("div",{style:p,key:"color-ramp-preview"},e("div",{style:U},e("div",{style:V},e("div",{class:S},c)),e("div",{style:V},e("div",{class:P,style:u},d)))))}renderLegendForRamp(i,t){var n;const a=i.infos,s="heatmap-ramp"===i.type,l="stretch-ramp"===i.type,r=i.preview,c="opacity-ramp"===i.type?"esri-legend__opacity-ramp":"";r&&(r.classList.add("esri-legend__color-ramp"),c&&r.classList.add(c)),null!=t&&r&&(r.style.opacity=t.toString());const o=a.map((i=>e("div",{class:i.label?D:""},s?this.messages[i.label]||i.label:l?this.getStretchStopLabel(i):i.label))),d={height:null===(n=null==r?void 0:r.style)||void 0===n?void 0:n.height};return e("div",{class:I},e("div",{class:C,style:Object.assign({},{width:"24px"})},e("div",{ref:e=>{var i;(null==e?void 0:e.firstChild)&&(null===(i=null==e?void 0:e.firstChild)||void 0===i||i.remove()),null==e||e.appendChild(r)},class:S})),e("div",{class:T},e("div",{class:P,style:Object.assign({},d)},o)))}getStretchStopLabel(e){return e.label?this.messages[e.label]+": "+("string"==typeof e.value?e.value:this.intl.formatNumber(e.value,{style:"decimal",notation:e.value.toString().includes("e")?"scientific":"standard"})):""}renderLegendForElementInfo(i,t,n,a,s,l,o,u,g,h){var f,y;if(i.type)return this.renderLegendForElement(i,t,n,l,o,!0,i);let _;if(i.preview?_=e("div",{class:N,innerHTML:`${i.preview.outerHTML}`}):i.src&&(_=this.renderImage(i,t,!1)),!_)return null;const b=a?` ${H}`:"";let w;const k=m(t),x=d(k,h);if(r.data){const e=v(k,t,i,x,u),n=p(x?null==x?void 0:x.nestedInfos:k);w=1===(null===(f=null==k?void 0:k.categories)||void 0===f?void 0:f.size)?!(null==e?void 0:e.selected):n||(null==e?void 0:e.selected)}return x&&!(null==i?void 0:i.value)||!g?e("div",{class:I},e("div",{class:`${C}${b}`},_),e("div",{class:`${T}`},this.getTitle(this.messages,i.label,!1)||"")):e("button",{onClick:this.applyFilter(i,t,u,h),class:`${I} instant-apps-interactive-legend__layer-row--interactive${w?" instant-apps-interactive-legend-element-info--selected":""}`},e("div",{class:`${C}${b}`},_),e("div",{class:`${T}`},this.getTitle(this.messages,i.label,!1)||""),this.featureCount?e("instant-apps-interactive-legend-count",{class:c(this.el),categoryId:x?s.title:null!==(y=i.label)&&void 0!==y?y:null==t?void 0:t.id,activeLayerInfo:l,legendvm:this.legendvm,messages:this.messages,selected:w,legendElement:s,infoIndex:u}):null)}renderImage(i,t,n){const{label:a,src:s,opacity:l}=i,r=n?" esri-legend__imagery-layer-image--stretched":"",c=n?"":` ${N}`,o={opacity:`${null!=l?l:t.opacity}`};return e("img",{alt:this.getTitle(this.messages,a,!1),src:s,width:i.width,height:i.height,class:`$${r}${c}`,style:o})}getTitle(e,i,t){var n;if(!i)return;if("string"==typeof i||"number"==typeof i)return i;if("value"in i||"unit"in i)return this.intl.substitute(e.dotValue,i);if("colorName"in i||"bandName"in i)return e[i.colorName]+": "+(e[i.bandName]||i.bandName);if("showCount"in i)return i.showCount?e.clusterCountTitle:null;let a=null;return this.isRampTitle(i,t)?a=i.ratioPercentTotal?"showRatioPercentTotal":i.ratioPercent?"showRatioPercent":i.ratio?"showRatio":i.normField?"showNormField":i.field?"showField":null:this.isRendererTitle(i,t)&&(a=i.normField?"showNormField":i.normByPct?"showNormPct":i.field?"showField":null),a?null===(n=this.intl)||void 0===n?void 0:n.substitute("showField"===a?"{field}":e[a],{field:i.field,normField:i.normField}):""}isRampTitle(e,i){return i}isRendererTitle(e,i){return!i}setupWatchersAndListeners(){var e,i,n,a,c,o;const d=null===(a=null===(n=null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.map)||void 0===n?void 0:n.allLayers)||void 0===a?void 0:a.filter((e=>"feature"===(null==e?void 0:e.type)));d.forEach((async e=>{var i,t,n,a;try{const s=await(null===(t=null===(i=this.legendvm)||void 0===i?void 0:i.view)||void 0===t?void 0:t.whenLayerView(e)),l=`fLayerViewScale-${null==e?void 0:e.id}`;(null===(n=this.handles)||void 0===n?void 0:n.has(l))||null===(a=this.handles)||void 0===a||a.add(s.watch("visibleAtCurrentScale",(async()=>this.createDataForLayer(e))),l)}catch(e){}})),null==d||d.forEach((e=>{var i,t,n;const a=`fLayer-${null==e?void 0:e.id}`;(null===(i=this.handles)||void 0===i?void 0:i.has(a))||null===(t=this.handles)||void 0===t||t.add(null===(n=this.reactiveUtils)||void 0===n?void 0:n.watch((()=>null==e?void 0:e.visible),(async()=>this.createDataForLayer(e))),a)})),null===(c=this.handles)||void 0===c||c.add(this.reactiveUtils.when((()=>this.legendvm),(()=>{this.reactiveUtils.watch((()=>{var e,i;return null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.updating}),(()=>{var e,i;this.calculatingFeatureCount||(null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.updating)&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when((()=>{var e,i;return!(null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.updating)}),(async()=>{const e=await u(this.legendvm,r.data);l.set("data",Object.assign(Object.assign({},r.data),e)),this.calculatingFeatureCount=!1}),{once:!0,initial:!0}))}),{initial:!0})}),{initial:!0,once:!0})),null===(o=this.handles)||void 0===o||o.add(this.reactiveUtils.on((()=>{var e;return null===(e=this.legendvm)||void 0===e?void 0:e.activeLayerInfos}),"change",(async e=>{var i;const n=await s(this.legendvm,this.reactiveUtils);l.set("data",Object.assign(Object.assign({},r.data),n)),t(this.el),null===(i=this.handles)||void 0===i||i.add(this.reactiveUtils.on((()=>e.children),"change",(async()=>{const e=await s(this.legendvm,this.reactiveUtils);l.set("data",Object.assign(Object.assign({},r.data),e)),t(this.el)})))})))}async createDataForLayer(e){var i,t;const n=l.get("data"),a=null==n?void 0:n[null==e?void 0:e.id],s=null===(t=null===(i=this.legendvm)||void 0===i?void 0:i.activeLayerInfos)||void 0===t?void 0:t.find((i=>{var t;return(null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.id)===(null==e?void 0:e.id)}));if(!a&&s){const i=await g(this.legendvm,s,this.reactiveUtils);if(h({intLegendLayerData:i,layerId:null==e?void 0:e.id}),this.featureCount){const e=await u(this.legendvm,r.data);l.set("data",Object.assign(Object.assign({},r.data),e))}}}applyFilter(e,i,t,n){return async()=>{var a;const s=Object.assign({},null===(a=r.data)||void 0===a?void 0:a[null==i?void 0:i.id]);n?await f(s,e,t,this.filterMode,n):await f(s,e,t,this.filterMode),h({intLegendLayerData:s,layerId:null==i?void 0:i.id})}}get el(){return n(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};W.style=".sc-instant-apps-interactive-legend-classic-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark:#009af2;--instant-apps-interactive-legend-info-item-background--hover:#e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark:#4a4a4a;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin:20px 15px;--instant-apps-interactive-legend-ui-padding:20px 15px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}@media (min-width: 992px){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}";export{W as instant_apps_interactive_legend_classic}
|