@esri/solutions-components 0.7.16 → 0.7.17
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +88 -0
- package/dist/assets/t9n/crowdsource-manager/resources_en.json +1 -1
- package/dist/assets/t9n/solution-item-sharing/resources_en.json +1 -1
- package/dist/cjs/ExpandToggle-f83d93f8.js +118 -0
- package/dist/cjs/FloatingArrow-7e1624ea.js +50 -0
- package/dist/cjs/Heading-fe70b3e6.js +25 -0
- package/dist/cjs/app-globals-b3f43c6b.js +69 -0
- package/dist/cjs/ar-5f98cd4b.js +104 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +27 -25
- package/dist/cjs/bg-a55b554b.js +82 -0
- package/dist/cjs/bs-00e4d31b.js +51 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +18 -22
- package/dist/cjs/ca-cdd10d29.js +71 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-accordion.cjs.entry.js +6 -4
- package/dist/cjs/calcite-action-bar_3.cjs.entry.js +52 -42
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +19 -18
- package/dist/cjs/calcite-action_2.cjs.entry.js +22 -18
- package/dist/cjs/calcite-alert_3.cjs.entry.js +40 -32
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block-section.cjs.entry.js +11 -10
- package/dist/cjs/calcite-block_2.cjs.entry.js +18 -17
- package/dist/cjs/calcite-button.cjs.entry.js +31 -26
- package/dist/cjs/calcite-card.cjs.entry.js +9 -9
- package/dist/cjs/calcite-checkbox.cjs.entry.js +13 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +27 -22
- package/dist/cjs/calcite-chip.cjs.entry.js +20 -17
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +14 -13
- package/dist/cjs/calcite-color-picker.cjs.entry.js +26 -26
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +70 -57
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +21 -26
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter_2.cjs.entry.js +17 -16
- package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +8 -6
- package/dist/cjs/calcite-graph_2.cjs.entry.js +21 -18
- package/dist/cjs/calcite-handle.cjs.entry.js +15 -13
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +26 -20
- package/dist/cjs/calcite-input-date-picker_3.cjs.entry.js +43 -37
- package/dist/cjs/calcite-input-number.cjs.entry.js +35 -26
- package/dist/cjs/calcite-input-text.cjs.entry.js +23 -19
- package/dist/cjs/calcite-input-time-picker-4f7e55b6.js +1849 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +19 -19
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +20 -18
- package/dist/cjs/calcite-input_2.cjs.entry.js +39 -29
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu-item.cjs.entry.js +9 -9
- package/dist/cjs/calcite-menu.cjs.entry.js +11 -11
- package/dist/cjs/calcite-meter.cjs.entry.js +13 -11
- package/dist/cjs/calcite-modal.cjs.entry.js +22 -19
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +3 -3
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation.cjs.entry.js +7 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +13 -13
- 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 +15 -13
- package/dist/cjs/calcite-panel.cjs.entry.js +22 -19
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +10 -9
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +16 -15
- package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +11 -7
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +16 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +14 -11
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +18 -15
- package/dist/cjs/calcite-sheet.cjs.entry.js +12 -10
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +92 -71
- package/dist/cjs/calcite-shell.cjs.entry.js +12 -9
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +12 -10
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +17 -15
- package/dist/cjs/calcite-stepper.cjs.entry.js +18 -14
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +21 -19
- package/dist/cjs/calcite-table-row.cjs.entry.js +17 -16
- package/dist/cjs/calcite-table.cjs.entry.js +55 -45
- package/dist/cjs/calcite-text-area.cjs.entry.js +22 -19
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-time-picker.cjs.entry.js +19 -17
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +15 -12
- package/dist/cjs/calcite-tip.cjs.entry.js +12 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +21 -18
- package/dist/cjs/card-manager_3.cjs.entry.js +55 -38
- package/dist/cjs/common-4cd3537b.js +38 -0
- package/dist/cjs/conditionalSlot-63e11cba.js +63 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +10 -8
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
- package/dist/cjs/cs-d08a7e91.js +147 -0
- package/dist/cjs/da-2fb40e38.js +66 -0
- package/dist/cjs/date-a0b274b2.js +261 -0
- package/dist/cjs/de-at-8cb4fc8d.js +90 -0
- package/dist/cjs/de-ch-98281a16.js +90 -0
- package/dist/cjs/de-f88ab56a.js +91 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/dom-e111eaa6.js +1087 -0
- package/dist/cjs/downloadUtils-8f50633d.js +3124 -0
- package/dist/cjs/el-42222f37.js +66 -0
- package/dist/cjs/en-au-ce99afe4.js +66 -0
- package/dist/cjs/en-ca-44a0c79e.js +65 -0
- package/dist/cjs/en-gb-9bd18cc2.js +69 -0
- package/dist/cjs/es-a630678a.js +66 -0
- package/dist/cjs/es-mx-cb026d16.js +65 -0
- package/dist/cjs/et-9801d7bf.js +92 -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-99bb68b2.js +115 -0
- package/dist/cjs/filter-8f1bbfe6.js +765 -0
- package/dist/cjs/floating-ui-290f99dd.js +1906 -0
- package/dist/cjs/focusTrapComponent-3add574e.js +1028 -0
- package/dist/cjs/form-0291a707.js +260 -0
- package/dist/cjs/fr-047990d9.js +68 -0
- package/dist/cjs/fr-ch-eefff196.js +66 -0
- package/dist/cjs/globalAttributes-c973ec3a.js +77 -0
- package/dist/cjs/he-3f50b1de.js +105 -0
- package/dist/cjs/helpers-a0719076.js +903 -0
- package/dist/cjs/hi-8fad23c8.js +65 -0
- package/dist/cjs/hr-85523ea5.js +80 -0
- package/dist/cjs/hu-133d6509.js +88 -0
- package/dist/cjs/id-cf31387c.js +66 -0
- package/dist/cjs/index-22bb61da.js +201 -0
- package/dist/cjs/index-b8a649fc.js +2530 -0
- package/dist/cjs/index.es-140aa937.js +10811 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-export.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-header.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-splash.cjs.entry.js +6 -6
- package/dist/cjs/interactive-8aff886e.js +147 -0
- package/dist/cjs/it-87a2a88e.js +66 -0
- package/dist/cjs/it-ch-6197d836.js +66 -0
- package/dist/cjs/ja-1be83730.js +72 -0
- package/dist/cjs/ko-ea4b0148.js +72 -0
- package/dist/cjs/label-bcad2894.js +186 -0
- package/dist/cjs/languageSwitcher-7de41e17.js +58 -0
- package/dist/cjs/languageUtil-a3b464f8.js +69 -0
- package/dist/cjs/layout-manager.cjs.entry.js +3 -3
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadModules-46d14e81.js +30 -0
- package/dist/cjs/loadModules-51c30ab9.js +23 -0
- package/dist/cjs/loadable-07a214c7.js +94 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/locale-6a627639.js +584 -0
- package/dist/cjs/locale-9b9d0e94.js +82 -0
- package/dist/cjs/locale-9db09b63.js +122 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/lt-4acaf0a6.js +97 -0
- package/dist/cjs/lv-251e08f1.js +66 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +62 -52
- package/dist/cjs/mapViewUtils-569e9644.js +467 -0
- package/dist/cjs/mk-8b1ae7dd.js +66 -0
- package/dist/cjs/nb-fa98c484.js +67 -0
- package/dist/cjs/nl-e71e8890.js +67 -0
- package/dist/cjs/openCloseComponent-8c9a1749.js +92 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-8527f540.js +114 -0
- package/dist/cjs/pt-a1c7a6ea.js +67 -0
- package/dist/cjs/pt-br-c5319e0c.js +65 -0
- package/dist/cjs/public-notification.cjs.entry.js +32 -25
- package/dist/cjs/publicNotificationStore-3a17c2f4.js +47 -0
- package/dist/cjs/purify-f8c3e427.js +1712 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/restHelpersGet-e0737480.js +972 -0
- package/dist/cjs/ro-df6f795a.js +66 -0
- package/dist/cjs/ru-7516a3ba.js +126 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-25bedff5.js +364 -0
- package/dist/cjs/sk-9d31fa10.js +148 -0
- package/dist/cjs/sl-abecca0d.js +168 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +43 -17
- package/dist/cjs/solution-contents_3.cjs.entry.js +12 -11
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solution-resource-abec7452.js +141 -0
- package/dist/cjs/solution-store-ab6c980f.js +1344 -0
- package/dist/cjs/solutions-components.cjs.js +4 -4
- package/dist/cjs/spatial-ref.cjs.entry.js +8 -7
- package/dist/cjs/sr-334c5c73.js +101 -0
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/sv-832dd153.js +71 -0
- package/dist/cjs/t9n-0556abcb.js +100 -0
- package/dist/cjs/th-cca86754.js +65 -0
- package/dist/cjs/throttle-aeeb1b4d.js +75 -0
- package/dist/cjs/time-06aad495.js +289 -0
- package/dist/cjs/tr-fcef3dae.js +66 -0
- package/dist/cjs/uk-69eceeec.js +104 -0
- package/dist/cjs/utils-35b31785.js +120 -0
- package/dist/cjs/utils-3df24da4.js +62 -0
- package/dist/cjs/utils-6587cc34.js +64 -0
- package/dist/cjs/vi-6afa69a0.js +70 -0
- package/dist/cjs/zh-cn-0513bc09.js +94 -0
- package/dist/cjs/zh-hk-73971e1d.js +71 -0
- package/dist/cjs/zh-tw-af0db947.js +92 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +2 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js +2 -1
- package/dist/collection/components/card-manager/card-manager.js +3 -2
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +7 -5
- package/dist/collection/components/edit-card/edit-card.js +14 -10
- package/dist/collection/components/floor-filter/floor-filter.js +2 -1
- package/dist/collection/components/info-card/info-card.js +8 -5
- package/dist/collection/components/json-editor/assets/monaco-editor/package.json +63 -63
- package/dist/collection/components/json-editor/json-editor.js +21 -14
- package/dist/collection/components/layer-table/layer-table.js +36 -22
- package/dist/collection/components/map-card/map-card.js +7 -5
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +7 -12
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +8 -6
- package/dist/collection/components/map-picker/map-picker.js +6 -4
- package/dist/collection/components/map-search/map-search.js +8 -12
- package/dist/collection/components/map-select-tools/map-select-tools.js +36 -32
- package/dist/collection/components/map-tools/map-tools.js +5 -3
- package/dist/collection/components/pdf-download/pdf-download.js +2 -1
- package/dist/collection/components/public-notification/public-notification.js +21 -14
- package/dist/collection/components/refine-selection/refine-selection.js +13 -8
- package/dist/collection/components/solution-configuration/solution-configuration.js +1 -1
- package/dist/collection/components/solution-contents/solution-contents.js +3 -2
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +2 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +2 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +2 -1
- package/dist/collection/components/store-manager/store-manager.js +1 -1
- package/dist/collection/utils/common.js +2 -1
- package/dist/collection/utils/downloadUtils.js +15 -13
- package/dist/collection/utils/locale.js +3 -2
- package/dist/collection/utils/mapViewUtils.js +2 -5
- package/dist/collection/utils/publicNotificationStore.js +1 -1
- package/dist/collection/utils/queryUtils.js +3 -2
- package/dist/collection/utils/solution-store.js +1 -3
- package/dist/collection/utils/test/downloadUtils.spec.js +2 -1
- package/dist/collection/utils/test/solution-store.spec.js +2 -5
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-bar.js +11 -8
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +8 -8
- package/dist/components/action-pad.js +5 -4
- package/dist/components/action.js +10 -6
- package/dist/components/alert.js +3 -2
- package/dist/components/arcgis-login.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/basemap-gallery2.js +3 -2
- package/dist/components/block.js +1 -1
- package/dist/components/buffer-tools2.js +3 -2
- package/dist/components/button.js +17 -12
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion.js +5 -3
- package/dist/components/calcite-block-section.js +3 -2
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-chip-group.js +20 -15
- package/dist/components/calcite-color-picker.js +11 -11
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-flow-item.js +3 -2
- package/dist/components/calcite-flow.js +6 -4
- package/dist/components/calcite-inline-editable.js +14 -8
- package/dist/components/calcite-input-time-picker.js +5 -3
- package/dist/components/calcite-input-time-zone.js +5 -3
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-meter.js +5 -3
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +3 -2
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-pick-list-group.js +3 -2
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-radio-button-group.js +9 -5
- package/dist/components/calcite-radio-button.js +2 -2
- package/dist/components/calcite-rating.js +3 -2
- package/dist/components/calcite-sheet.js +5 -3
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-sortable-list.js +5 -3
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +7 -5
- package/dist/components/calcite-stepper.js +11 -7
- package/dist/components/calcite-table-row.js +10 -9
- package/dist/components/calcite-table.js +46 -36
- package/dist/components/calcite-text-area.js +7 -4
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +3 -2
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +7 -4
- package/dist/components/calcite-tip.js +3 -2
- package/dist/components/card-manager2.js +4 -3
- package/dist/components/checkbox.js +3 -2
- package/dist/components/chip.js +8 -5
- package/dist/components/color-picker-hex-input.js +5 -4
- package/dist/components/color-picker-swatch.js +4 -4
- package/dist/components/combobox-item.js +2 -2
- package/dist/components/combobox.js +22 -16
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/crowdsource-manager.js +8 -6
- package/dist/components/crowdsource-reporter.js +1 -1
- package/dist/components/date-picker-day.js +2 -6
- package/dist/components/date-picker-month-header.js +4 -7
- package/dist/components/date-picker-month.js +6 -4
- package/dist/components/date-picker.js +3 -2
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/downloadUtils.js +51 -23
- package/dist/components/dropdown-group.js +5 -3
- package/dist/components/dropdown-item.js +4 -3
- package/dist/components/dropdown.js +9 -7
- package/dist/components/edit-card2.js +15 -11
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/filter2.js +4 -3
- package/dist/components/floating-ui.js +3 -15
- package/dist/components/floor-filter2.js +3 -2
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +5 -3
- package/dist/components/handle.js +5 -3
- package/dist/components/icon.js +3 -2
- package/dist/components/index.es.js +112 -161
- package/dist/components/index.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/info-card2.js +9 -6
- package/dist/components/input-date-picker.js +19 -13
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +22 -13
- package/dist/components/input-text.js +10 -6
- package/dist/components/input.js +26 -16
- package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
- package/dist/components/instant-apps-control-panel.js +1 -1
- package/dist/components/instant-apps-export.js +1 -1
- package/dist/components/instant-apps-filter-list2.js +1 -1
- package/dist/components/instant-apps-header2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-classic2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-count2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +1 -1
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-relationship2.js +1 -1
- package/dist/components/instant-apps-interactive-legend.js +1 -1
- package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
- package/dist/components/instant-apps-landing-page.js +1 -1
- package/dist/components/instant-apps-language-switcher.js +1 -1
- package/dist/components/instant-apps-language-translator-item2.js +1 -1
- package/dist/components/instant-apps-language-translator-search2.js +1 -1
- package/dist/components/instant-apps-language-translator2.js +1 -1
- package/dist/components/instant-apps-measurement-tool2.js +1 -1
- package/dist/components/instant-apps-measurement.js +1 -1
- package/dist/components/instant-apps-popover.js +1 -1
- package/dist/components/instant-apps-popovers.js +1 -1
- package/dist/components/instant-apps-scoreboard.js +1 -1
- package/dist/components/instant-apps-social-share2.js +1 -1
- package/dist/components/instant-apps-splash.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/json-editor2.js +22 -15
- package/dist/components/label2.js +1 -1
- package/dist/components/layer-table2.js +37 -23
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/list-item.js +5 -5
- package/dist/components/list.js +20 -13
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +4 -3
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/map-card2.js +8 -6
- package/dist/components/map-draw-tools2.js +8 -13
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +9 -7
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +7 -5
- package/dist/components/map-search2.js +9 -13
- package/dist/components/map-select-tools2.js +37 -33
- package/dist/components/map-tools2.js +6 -4
- package/dist/components/mapViewUtils.js +2 -5
- package/dist/components/menu.js +2 -2
- package/dist/components/modal.js +10 -7
- package/dist/components/notice.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/option.js +5 -3
- package/dist/components/pagination.js +6 -4
- package/dist/components/panel.js +9 -6
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +3 -2
- package/dist/components/pick-list-item.js +3 -2
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/public-notification.js +22 -15
- package/dist/components/publicNotificationStore.js +1 -1
- package/dist/components/purify.js +17 -31
- package/dist/components/queryUtils.js +3 -2
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +14 -9
- package/dist/components/restHelpersGet.js +382 -344
- package/dist/components/scrim.js +7 -4
- package/dist/components/segmented-control-item.js +1 -1
- package/dist/components/segmented-control.js +8 -5
- package/dist/components/select.js +9 -6
- package/dist/components/share-item.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/shell-panel.js +11 -8
- package/dist/components/shell.js +7 -4
- package/dist/components/slider.js +4 -3
- package/dist/components/solution-configuration.js +28 -2
- package/dist/components/solution-contents2.js +4 -3
- package/dist/components/solution-item-details2.js +3 -2
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-resource.js +107 -107
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-store.js +510 -496
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +3 -2
- package/dist/components/spatial-ref2.js +3 -2
- package/dist/components/stack.js +1 -1
- package/dist/components/store-manager.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +14 -10
- package/dist/components/tab-title.js +9 -7
- package/dist/components/tab.js +3 -2
- package/dist/components/table-cell.js +4 -3
- package/dist/components/table-header.js +7 -6
- package/dist/components/tabs.js +3 -2
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +8 -6
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tree-item.js +7 -5
- package/dist/components/tree.js +7 -6
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/value-list-item.js +3 -2
- package/dist/components/value-list.js +3 -3
- package/dist/esm/ExpandToggle-540998b5.js +110 -0
- package/dist/esm/FloatingArrow-245804f3.js +48 -0
- package/dist/esm/Heading-c45d3f45.js +22 -0
- package/dist/esm/app-globals-e4f88f7e.js +67 -0
- package/dist/esm/ar-35006b74.js +102 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +27 -25
- package/dist/esm/bg-c289978f.js +80 -0
- package/dist/esm/bs-6f9fb44a.js +49 -0
- package/dist/esm/buffer-tools_3.entry.js +18 -22
- package/dist/esm/ca-7962c8b7.js +69 -0
- package/dist/esm/calcite-accordion-item.entry.js +8 -8
- package/dist/esm/calcite-accordion.entry.js +6 -4
- package/dist/esm/calcite-action-bar_3.entry.js +52 -42
- package/dist/esm/calcite-action-group_2.entry.js +20 -20
- package/dist/esm/calcite-action-pad_2.entry.js +19 -18
- package/dist/esm/calcite-action_2.entry.js +22 -18
- package/dist/esm/calcite-alert_3.entry.js +40 -32
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block-section.entry.js +11 -10
- package/dist/esm/calcite-block_2.entry.js +18 -17
- package/dist/esm/calcite-button.entry.js +31 -26
- package/dist/esm/calcite-card.entry.js +9 -9
- package/dist/esm/calcite-checkbox.entry.js +13 -12
- package/dist/esm/calcite-chip-group.entry.js +27 -22
- package/dist/esm/calcite-chip.entry.js +20 -17
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +14 -13
- package/dist/esm/calcite-color-picker.entry.js +26 -26
- package/dist/esm/calcite-combobox-item-group.entry.js +5 -5
- package/dist/esm/calcite-combobox_6.entry.js +70 -57
- package/dist/esm/calcite-date-picker-day_3.entry.js +21 -26
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter_2.entry.js +17 -16
- package/dist/esm/calcite-flow-item.entry.js +14 -13
- package/dist/esm/calcite-flow.entry.js +8 -6
- package/dist/esm/calcite-graph_2.entry.js +21 -18
- package/dist/esm/calcite-handle.entry.js +15 -13
- package/dist/esm/calcite-icon.entry.js +7 -6
- package/dist/esm/calcite-inline-editable.entry.js +26 -20
- package/dist/esm/calcite-input-date-picker_3.entry.js +43 -37
- package/dist/esm/calcite-input-number.entry.js +35 -26
- package/dist/esm/calcite-input-text.entry.js +23 -19
- package/dist/esm/calcite-input-time-picker-63439178.js +1846 -0
- package/dist/esm/calcite-input-time-picker.entry.js +19 -19
- package/dist/esm/calcite-input-time-zone.entry.js +20 -18
- package/dist/esm/calcite-input_2.entry.js +39 -29
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list-item-group.entry.js +4 -4
- package/dist/esm/calcite-menu-item.entry.js +9 -9
- package/dist/esm/calcite-menu.entry.js +11 -11
- package/dist/esm/calcite-meter.entry.js +13 -11
- package/dist/esm/calcite-modal.entry.js +22 -19
- package/dist/esm/calcite-navigation-logo.entry.js +3 -3
- package/dist/esm/calcite-navigation-user.entry.js +2 -2
- package/dist/esm/calcite-navigation.entry.js +7 -6
- package/dist/esm/calcite-notice.entry.js +13 -13
- 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 +15 -13
- package/dist/esm/calcite-panel.entry.js +22 -19
- package/dist/esm/calcite-pick-list-group.entry.js +10 -9
- package/dist/esm/calcite-pick-list-item.entry.js +16 -15
- package/dist/esm/calcite-pick-list.entry.js +13 -13
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-radio-button-group.entry.js +11 -7
- package/dist/esm/calcite-radio-button.entry.js +12 -12
- package/dist/esm/calcite-rating.entry.js +16 -15
- package/dist/esm/calcite-scrim.entry.js +14 -11
- package/dist/esm/calcite-segmented-control_2.entry.js +18 -15
- package/dist/esm/calcite-sheet.entry.js +12 -10
- package/dist/esm/calcite-shell-center-row.entry.js +7 -7
- package/dist/esm/calcite-shell-panel_14.entry.js +92 -71
- package/dist/esm/calcite-shell.entry.js +12 -9
- package/dist/esm/calcite-sortable-list.entry.js +12 -10
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +17 -15
- package/dist/esm/calcite-stepper.entry.js +18 -14
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-table-cell_2.entry.js +21 -19
- package/dist/esm/calcite-table-row.entry.js +17 -16
- package/dist/esm/calcite-table.entry.js +55 -45
- package/dist/esm/calcite-text-area.entry.js +22 -19
- package/dist/esm/calcite-tile-select-group.entry.js +3 -3
- package/dist/esm/calcite-tile-select.entry.js +7 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-time-picker.entry.js +19 -17
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +15 -12
- package/dist/esm/calcite-tip.entry.js +12 -11
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +21 -18
- package/dist/esm/card-manager_3.entry.js +55 -38
- package/dist/esm/common-2cf42ac2.js +36 -0
- package/dist/esm/conditionalSlot-1149b5cb.js +60 -0
- package/dist/esm/crowdsource-manager.entry.js +10 -8
- package/dist/esm/crowdsource-reporter.entry.js +1 -1
- package/dist/esm/cs-6d13069b.js +145 -0
- package/dist/esm/da-14097e6c.js +64 -0
- package/dist/esm/date-1743b515.js +245 -0
- package/dist/esm/de-at-b733db65.js +88 -0
- package/dist/esm/de-ch-5ad0cb74.js +88 -0
- package/dist/esm/de-dff2571b.js +89 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/dom-492b1b24.js +1056 -0
- package/dist/esm/downloadUtils-9dee8bc0.js +3118 -0
- package/dist/esm/el-688e05ba.js +64 -0
- package/dist/esm/en-au-357e70d8.js +64 -0
- package/dist/esm/en-ca-1e0b6b47.js +63 -0
- package/dist/esm/en-gb-861a17f2.js +67 -0
- package/dist/esm/es-291ab4bd.js +64 -0
- package/dist/esm/es-mx-0a7283a7.js +63 -0
- package/dist/esm/et-addd2617.js +90 -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-469884d5.js +113 -0
- package/dist/esm/filter-8b806ae6.js +763 -0
- package/dist/esm/floating-ui-03eb4c82.js +1898 -0
- package/dist/esm/focusTrapComponent-2e7de651.js +1023 -0
- package/dist/esm/form-9bccaf85.js +252 -0
- package/dist/esm/fr-ch-115d3fda.js +64 -0
- package/dist/esm/fr-f5cb34ca.js +66 -0
- package/dist/esm/globalAttributes-03c9e433.js +74 -0
- package/dist/esm/he-6e5f5c56.js +103 -0
- package/dist/esm/helpers-078591d2.js +877 -0
- package/dist/esm/hi-503240c2.js +63 -0
- package/dist/esm/hr-cc08d6fc.js +78 -0
- package/dist/esm/hu-69ac240d.js +86 -0
- package/dist/esm/id-99547746.js +64 -0
- package/dist/esm/index-7183ce4a.js +2496 -0
- package/dist/esm/index-857df22e.js +199 -0
- package/dist/esm/index.es-54e86c8e.js +10725 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +7 -7
- package/dist/esm/instant-apps-control-panel.entry.js +3 -3
- package/dist/esm/instant-apps-export.entry.js +6 -6
- package/dist/esm/instant-apps-header.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend.entry.js +7 -7
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +5 -5
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +8 -8
- package/dist/esm/instant-apps-language-translator.entry.js +8 -8
- package/dist/esm/instant-apps-measurement.entry.js +5 -5
- package/dist/esm/instant-apps-popover.entry.js +5 -5
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +6 -6
- package/dist/esm/instant-apps-splash.entry.js +6 -6
- package/dist/esm/interactive-20bb1dc4.js +143 -0
- package/dist/esm/it-ch-a83801f6.js +64 -0
- package/dist/esm/it-dbb6ea7d.js +64 -0
- package/dist/esm/ja-79dbb02f.js +70 -0
- package/dist/esm/ko-31ebe067.js +70 -0
- package/dist/esm/label-14301f4d.js +179 -0
- package/dist/esm/languageSwitcher-62232826.js +55 -0
- package/dist/esm/languageUtil-8b54477c.js +66 -0
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadModules-b677d6d7.js +21 -0
- package/dist/esm/loadModules-cea493da.js +28 -0
- package/dist/esm/loadable-c3685e51.js +89 -0
- package/dist/esm/loader.js +4 -4
- package/dist/esm/locale-834c52c6.js +119 -0
- package/dist/esm/locale-89b49505.js +77 -0
- package/dist/esm/locale-8cfa3086.js +571 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/lt-94d3f4b8.js +95 -0
- package/dist/esm/lv-d770ed0d.js +64 -0
- package/dist/esm/map-select-tools_3.entry.js +62 -52
- package/dist/esm/mapViewUtils-066602d5.js +450 -0
- package/dist/esm/mk-1046d60a.js +64 -0
- package/dist/esm/nb-dad0b4b9.js +65 -0
- package/dist/esm/nl-a968c4b7.js +65 -0
- package/dist/esm/openCloseComponent-982c6b9e.js +90 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-a0037bd3.js +112 -0
- package/dist/esm/pt-br-44c11565.js +63 -0
- package/dist/esm/pt-e3d9370c.js +65 -0
- package/dist/esm/public-notification.entry.js +32 -25
- package/dist/esm/publicNotificationStore-9362d7ae.js +45 -0
- package/dist/esm/purify-c99d2ace.js +1710 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/restHelpersGet-af032ab2.js +959 -0
- package/dist/esm/ro-290e025d.js +64 -0
- package/dist/esm/ru-38ff91f1.js +124 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-89e4bcff.js +342 -0
- package/dist/esm/sk-9622a24b.js +146 -0
- package/dist/esm/sl-6bc83a24.js +166 -0
- package/dist/esm/solution-configuration.entry.js +34 -8
- package/dist/esm/solution-contents_3.entry.js +12 -11
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solution-resource-7b8d302d.js +138 -0
- package/dist/esm/solution-store-b08696f7.js +1342 -0
- package/dist/esm/solutions-components.js +5 -5
- package/dist/esm/spatial-ref.entry.js +8 -7
- package/dist/esm/sr-35e575d8.js +99 -0
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/sv-d80fa359.js +69 -0
- package/dist/esm/t9n-3c5e55ab.js +95 -0
- package/dist/esm/th-23e71d40.js +63 -0
- package/dist/esm/throttle-9ab70933.js +73 -0
- package/dist/esm/time-d956a7c8.js +274 -0
- package/dist/esm/tr-961fd2f3.js +64 -0
- package/dist/esm/uk-4e8a425a.js +102 -0
- package/dist/esm/utils-56206ec2.js +61 -0
- package/dist/esm/utils-8287806a.js +51 -0
- package/dist/esm/utils-b1bd777e.js +111 -0
- package/dist/esm/vi-ad983882.js +68 -0
- package/dist/esm/zh-cn-5b6fd039.js +92 -0
- package/dist/esm/zh-hk-7439b11d.js +69 -0
- package/dist/esm/zh-tw-cf384663.js +90 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +77 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +264 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +338 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +105 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +113 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +73 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +113 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +421 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +81 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +298 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +145 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +804 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +183 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +167 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +385 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +74 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +244 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +66 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +74 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +425 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +211 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +101 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +72 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +290 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +95 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +189 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +136 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +84 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +282 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +72 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +136 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +98 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +89 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +51 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +99 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +73 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +89 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +630 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +267 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +109 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +484 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +397 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +99 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +67 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +134 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +148 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +122 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +244 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +88 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +298 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +50 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +281 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +183 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +529 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +142 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +137 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +112 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +289 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +36 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +36 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +138 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +227 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +92 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +83 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +179 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +194 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +110 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +164 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +58 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +178 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +76 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +95 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +172 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +218 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +267 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +184 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +124 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +360 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +388 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +68 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +184 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +118 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +147 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +458 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +189 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +75 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +122 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +349 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +143 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +133 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +130 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +74 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +102 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +288 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +171 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +156 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +64 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +144 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +151 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +47 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +194 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +120 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +41 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +318 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +105 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +121 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-control-panel/instant-apps-control-panel.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +81 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-filter-list/instant-apps-filter-list.css +104 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +165 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-classic/instant-apps-interactive-legend-classic.css +124 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-count/instant-apps-interactive-legend-count.css +18 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element/instant-apps-interactive-legend-group-legend-element.css +10 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element-caption/instant-apps-interactive-legend-group-legend-element-caption.css +65 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element/instant-apps-interactive-legend-layer-element.css +17 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element-caption/instant-apps-interactive-legend-layer-element-caption.css +66 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element/instant-apps-interactive-legend-legend-element.css +10 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element-caption/instant-apps-interactive-legend-legend-element-caption.css +51 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-relationship/instant-apps-interactive-legend-relationship.css +15 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend.css +12 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-keyboard-shortcuts/instant-apps-keyboard-shortcuts.css +33 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +222 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-switcher/instant-apps-language-switcher.css +13 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-ckeditor-wrapper/instant-apps-ckeditor-wrapper.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-item/instant-apps-language-translator-item.css +83 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-search/instant-apps-language-translator-search.css +34 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +86 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement-tool/instant-apps-measurement-tool.css +6 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement.css +6 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popover/instant-apps-popover.css +58 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popovers/instant-apps-popovers.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-scoreboard/instant-apps-scoreboard.css +200 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-social-share/instant-apps-social-share.css +273 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-splash/instant-apps-splash.css +10 -0
- package/dist/solutions-components/assets/monaco-editor/package.json +63 -63
- package/dist/solutions-components/p-00f9774c.js +6 -0
- package/dist/solutions-components/p-0200864c.entry.js +11 -0
- package/dist/solutions-components/p-0250dec5.js +6 -0
- package/dist/solutions-components/p-026b1345.js +16 -0
- package/dist/solutions-components/p-02714171.entry.js +11 -0
- package/dist/solutions-components/p-034d43fb.js +6 -0
- package/dist/solutions-components/p-0511c98c.js +11 -0
- package/dist/solutions-components/p-0637dbc2.entry.js +6 -0
- package/dist/solutions-components/p-07b31dc9.js +6 -0
- package/dist/solutions-components/p-080249de.js +6 -0
- package/dist/solutions-components/p-0a0d0d3a.entry.js +6 -0
- package/dist/solutions-components/p-0b47b407.js +6 -0
- package/dist/solutions-components/p-0c97de08.js +12 -0
- package/dist/solutions-components/p-0d97c2c5.entry.js +17 -0
- package/dist/solutions-components/p-0e723ffc.js +6 -0
- package/dist/solutions-components/p-105bf4aa.entry.js +6 -0
- package/dist/solutions-components/p-11b59592.entry.js +16 -0
- package/dist/solutions-components/p-121a5dac.entry.js +11 -0
- package/dist/solutions-components/p-133de052.entry.js +11 -0
- package/dist/solutions-components/p-13bfc206.entry.js +29 -0
- package/dist/solutions-components/p-14097810.entry.js +6 -0
- package/dist/solutions-components/p-14a48b14.js +6 -0
- package/dist/solutions-components/p-166d5bcc.entry.js +6 -0
- package/dist/solutions-components/p-1711c535.entry.js +6 -0
- package/dist/solutions-components/p-17183100.js +6 -0
- package/dist/solutions-components/p-1b9fb070.entry.js +6 -0
- package/dist/solutions-components/p-1bdd64a0.js +489 -0
- package/dist/solutions-components/p-1be63b50.js +11 -0
- package/dist/solutions-components/p-1c720ed5.entry.js +6 -0
- package/dist/solutions-components/p-1cb4c542.entry.js +17 -0
- package/dist/solutions-components/p-1f88a556.entry.js +6 -0
- package/dist/solutions-components/p-1fc220c7.js +11 -0
- package/dist/solutions-components/p-21c2d29c.entry.js +6 -0
- package/dist/solutions-components/p-21ccd955.entry.js +6 -0
- package/dist/solutions-components/p-220ec0d1.js +66 -0
- package/dist/solutions-components/p-225c4ca4.js +6 -0
- package/dist/solutions-components/p-23662977.entry.js +11 -0
- package/dist/solutions-components/p-259f6f81.js +11 -0
- package/dist/solutions-components/p-25dd768d.js +11 -0
- package/dist/solutions-components/p-29602eff.entry.js +11 -0
- package/dist/solutions-components/p-2d1b8cfa.js +11 -0
- package/dist/solutions-components/p-2e1f7c0e.entry.js +11 -0
- package/dist/solutions-components/p-3022da2d.js +6 -0
- package/dist/solutions-components/p-324d71f4.entry.js +11 -0
- package/dist/solutions-components/p-337acb3c.js +11 -0
- package/dist/solutions-components/p-33f07da5.entry.js +6 -0
- package/dist/solutions-components/p-34cacf32.js +6 -0
- package/dist/solutions-components/p-355249fc.js +6 -0
- package/dist/solutions-components/p-36eb8399.js +145 -0
- package/dist/solutions-components/p-3bf0115f.entry.js +6 -0
- package/dist/solutions-components/p-3c5d3b4a.js +6 -0
- package/dist/solutions-components/p-3d17ee9f.entry.js +6 -0
- package/dist/solutions-components/p-3ea18af7.entry.js +6 -0
- package/dist/solutions-components/p-40235cb7.entry.js +11 -0
- package/dist/solutions-components/p-414240b2.js +22 -0
- package/dist/solutions-components/p-41f7bc94.entry.js +11 -0
- package/dist/solutions-components/p-43546966.entry.js +6 -0
- package/dist/solutions-components/p-43e67b3c.entry.js +11 -0
- package/dist/solutions-components/p-4613e205.js +6 -0
- package/dist/solutions-components/p-4647c429.js +6 -0
- package/dist/solutions-components/p-48828002.entry.js +16 -0
- package/dist/solutions-components/p-48ff9cea.js +21 -0
- package/dist/solutions-components/p-4da72ee8.entry.js +11 -0
- package/dist/solutions-components/p-4ee789e1.entry.js +21 -0
- package/dist/solutions-components/p-4f71a1a0.js +6 -0
- package/dist/solutions-components/p-50764143.entry.js +17 -0
- package/dist/solutions-components/p-50ea26de.entry.js +11 -0
- package/dist/solutions-components/p-52ad6ff9.entry.js +6 -0
- package/dist/solutions-components/p-531d91d6.js +36 -0
- package/dist/solutions-components/p-532b7378.entry.js +11 -0
- package/dist/solutions-components/p-5752785e.entry.js +11 -0
- package/dist/solutions-components/p-58054bc2.js +6 -0
- package/dist/solutions-components/p-5953ebe8.entry.js +36 -0
- package/dist/solutions-components/p-5a885617.entry.js +6 -0
- package/dist/solutions-components/p-5c3fd315.entry.js +11 -0
- package/dist/solutions-components/p-5d2ccc75.entry.js +11 -0
- package/dist/solutions-components/p-5e530f8c.js +6 -0
- package/dist/solutions-components/p-5e9b05c0.entry.js +11 -0
- package/dist/solutions-components/p-5fd1eb64.js +11 -0
- package/dist/solutions-components/p-60d212df.entry.js +6 -0
- package/dist/solutions-components/p-61a523a6.entry.js +6 -0
- package/dist/solutions-components/p-6268020e.entry.js +6 -0
- package/dist/solutions-components/p-627c19b5.entry.js +6 -0
- package/dist/solutions-components/p-62e92138.js +6 -0
- package/dist/solutions-components/p-634835fe.js +6 -0
- package/dist/solutions-components/p-6437fee1.entry.js +11 -0
- package/dist/solutions-components/p-653af7e0.js +11 -0
- package/dist/solutions-components/p-663a433a.entry.js +11 -0
- package/dist/solutions-components/p-6656c53e.entry.js +6 -0
- package/dist/solutions-components/p-6665fa1f.js +6 -0
- package/dist/solutions-components/p-683cded6.entry.js +6 -0
- package/dist/solutions-components/p-68434a63.js +6 -0
- package/dist/solutions-components/p-6a4b1e48.entry.js +11 -0
- package/dist/solutions-components/p-6b943f52.js +21 -0
- package/dist/solutions-components/p-6c3cdd09.entry.js +6 -0
- package/dist/solutions-components/p-6e406a7b.js +6 -0
- package/dist/solutions-components/p-708294ca.entry.js +11 -0
- package/dist/solutions-components/p-722ae773.js +11 -0
- package/dist/solutions-components/p-7440c114.entry.js +11 -0
- package/dist/solutions-components/p-75f7bfe3.entry.js +6 -0
- package/dist/solutions-components/p-75fbe76c.js +6 -0
- package/dist/solutions-components/p-76d60881.entry.js +6 -0
- package/dist/solutions-components/p-78780f63.js +7 -0
- package/dist/solutions-components/p-789f606f.entry.js +6 -0
- package/dist/solutions-components/p-799c3f19.js +6 -0
- package/dist/solutions-components/p-79ba73cb.js +11 -0
- package/dist/solutions-components/p-79f95735.entry.js +11 -0
- package/dist/solutions-components/p-7a06dcdf.js +6 -0
- package/dist/solutions-components/p-7c5191ff.entry.js +6 -0
- package/dist/solutions-components/p-7e82a730.js +6 -0
- package/dist/solutions-components/p-8118146c.entry.js +11 -0
- package/dist/solutions-components/p-825c045a.entry.js +6 -0
- package/dist/solutions-components/p-82b4ab94.js +6 -0
- package/dist/solutions-components/p-83225907.js +6 -0
- package/dist/solutions-components/p-85a89f1d.entry.js +11 -0
- package/dist/solutions-components/p-8684a905.js +21 -0
- package/dist/solutions-components/p-8772a573.js +6 -0
- package/dist/solutions-components/p-8934e858.entry.js +11 -0
- package/dist/solutions-components/p-897037f0.entry.js +6 -0
- package/dist/solutions-components/p-8b5b4662.js +6 -0
- package/dist/solutions-components/p-8c7fc78f.entry.js +11 -0
- package/dist/solutions-components/p-8f8fe5d0.entry.js +6 -0
- package/dist/solutions-components/p-92ea9e81.js +6 -0
- package/dist/solutions-components/p-941ab8c0.js +6 -0
- package/dist/solutions-components/p-96974e5f.js +6 -0
- package/dist/solutions-components/p-98013072.entry.js +11 -0
- package/dist/solutions-components/p-980cd015.entry.js +11 -0
- package/dist/solutions-components/p-98fe7b5d.entry.js +6 -0
- package/dist/solutions-components/p-99ca7674.entry.js +6 -0
- package/dist/solutions-components/p-9bcbc1cc.js +21 -0
- package/dist/solutions-components/p-9e3b8632.entry.js +11 -0
- package/dist/solutions-components/p-a0b8cecf.entry.js +6 -0
- package/dist/solutions-components/p-a0be72b6.entry.js +11 -0
- package/dist/solutions-components/p-a11fca14.js +6 -0
- package/dist/solutions-components/p-a32b61ee.entry.js +6 -0
- package/dist/solutions-components/p-a3a64af2.entry.js +11 -0
- package/dist/solutions-components/p-a4755ea8.entry.js +6 -0
- package/dist/solutions-components/p-a4772574.js +6 -0
- package/dist/solutions-components/p-a4aef40c.entry.js +17 -0
- package/dist/solutions-components/p-a8a0187d.js +6 -0
- package/dist/solutions-components/p-a9c30842.entry.js +11 -0
- package/dist/solutions-components/p-a9f21aaf.entry.js +6 -0
- package/dist/solutions-components/p-a9fc934d.js +6 -0
- package/dist/solutions-components/p-aa3092cf.js +6 -0
- package/dist/solutions-components/p-ac6a3e13.js +6 -0
- package/dist/solutions-components/p-ada368a5.entry.js +6 -0
- package/dist/solutions-components/p-b170916e.js +11 -0
- package/dist/solutions-components/p-b21a9b47.js +11 -0
- package/dist/solutions-components/p-b42bde59.entry.js +11 -0
- package/dist/solutions-components/p-b6efec9a.entry.js +6 -0
- package/dist/solutions-components/p-b78a1c21.js +6 -0
- package/dist/solutions-components/p-b82179c0.js +6 -0
- package/dist/solutions-components/p-baf82bab.entry.js +6 -0
- package/dist/solutions-components/p-bf23173c.js +6 -0
- package/dist/solutions-components/p-bf9e18d4.js +8 -0
- package/dist/solutions-components/p-c147117f.entry.js +17 -0
- package/dist/solutions-components/p-c21f578f.js +6 -0
- package/dist/solutions-components/p-c252997f.entry.js +17 -0
- package/dist/solutions-components/p-c2b20b85.entry.js +11 -0
- package/dist/solutions-components/p-c504529e.entry.js +6 -0
- package/dist/solutions-components/p-c5cb8804.js +6 -0
- package/dist/solutions-components/p-c8cf222b.entry.js +6 -0
- package/dist/solutions-components/p-c99843aa.entry.js +6 -0
- package/dist/solutions-components/p-ca33fa09.entry.js +11 -0
- package/dist/solutions-components/p-ca97465b.js +17 -0
- package/dist/solutions-components/p-cbe7a79a.entry.js +6 -0
- package/dist/solutions-components/p-cc774829.entry.js +6 -0
- package/dist/solutions-components/p-ced4e208.entry.js +6 -0
- package/dist/solutions-components/p-cfb83693.js +6 -0
- package/dist/solutions-components/p-cfccae7c.js +11 -0
- package/dist/solutions-components/p-d1ca57f3.entry.js +11 -0
- package/dist/solutions-components/p-d6208a47.js +6 -0
- package/dist/solutions-components/p-d78f13cb.entry.js +6 -0
- package/dist/solutions-components/p-d89fff3a.js +49 -0
- package/dist/solutions-components/p-d8b3d156.entry.js +12 -0
- package/dist/solutions-components/p-d9d213d4.entry.js +6 -0
- package/dist/solutions-components/p-db1f5bd5.entry.js +6 -0
- package/dist/solutions-components/p-db3ca38d.entry.js +17 -0
- package/dist/solutions-components/p-db436a77.entry.js +11 -0
- package/dist/solutions-components/p-db44593d.js +16 -0
- package/dist/solutions-components/p-dd071507.js +6 -0
- package/dist/solutions-components/p-dd37c504.js +6 -0
- package/dist/solutions-components/p-dd48cc25.entry.js +6 -0
- package/dist/solutions-components/p-dfdb8411.js +61 -0
- package/dist/solutions-components/p-e01f576a.entry.js +6 -0
- package/dist/solutions-components/p-e0276e26.entry.js +11 -0
- package/dist/solutions-components/p-e31754c8.js +6 -0
- package/dist/solutions-components/p-e377cfb3.entry.js +6 -0
- package/dist/solutions-components/p-e7951fcb.js +6 -0
- package/dist/solutions-components/p-e8011829.entry.js +47 -0
- package/dist/solutions-components/p-e83b1772.entry.js +11 -0
- package/dist/solutions-components/p-e89c5860.entry.js +6 -0
- package/dist/solutions-components/p-eb9b003a.entry.js +11 -0
- package/dist/solutions-components/p-ebbeec9f.entry.js +11 -0
- package/dist/solutions-components/p-ec8f042e.entry.js +6 -0
- package/dist/solutions-components/p-ecdd587c.entry.js +17 -0
- package/dist/solutions-components/p-ede84883.js +16 -0
- package/dist/solutions-components/p-efce2e85.js +6 -0
- package/dist/solutions-components/p-f10944e6.js +11 -0
- package/dist/solutions-components/p-f3626331.entry.js +11 -0
- package/dist/solutions-components/p-f3d277c2.entry.js +11 -0
- package/dist/solutions-components/p-f3dfb34f.entry.js +12 -0
- package/dist/solutions-components/p-f3f09834.js +6 -0
- package/dist/solutions-components/p-f4e91113.js +6 -0
- package/dist/solutions-components/p-f84848b0.entry.js +22 -0
- package/dist/solutions-components/p-f8f18a94.entry.js +12 -0
- package/dist/solutions-components/p-f9e3a93d.js +11 -0
- package/dist/solutions-components/p-f9eb2f2d.js +17 -0
- package/dist/solutions-components/p-f9ff6c29.entry.js +6 -0
- package/dist/solutions-components/p-fa6ef970.js +6 -0
- package/dist/solutions-components/p-fc8338c6.entry.js +6 -0
- package/dist/solutions-components/p-fe68d502.js +6 -0
- package/dist/solutions-components/p-ffee4847.entry.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components_commit.txt +5 -6
- package/dist/types/monaco.d.ts +8191 -0
- package/dist/types/preact.d.ts +180 -180
- package/package.json +111 -109
- package/dist/assets/t9n/add-record-modal/index.d.ts +0 -10
- package/dist/assets/t9n/arcgis-login/index.d.ts +0 -1
- package/dist/assets/t9n/buffer-tools/index.d.ts +0 -6
- package/dist/assets/t9n/card-manager/index.d.ts +0 -6
- package/dist/assets/t9n/comment-card/index.d.ts +0 -4
- package/dist/assets/t9n/crowdsource-manager/index.d.ts +0 -8
- package/dist/assets/t9n/crowdsource-reporter/index.d.ts +0 -1
- package/dist/assets/t9n/edit-card/index.d.ts +0 -3
- package/dist/assets/t9n/feature-comments/index.d.ts +0 -1
- package/dist/assets/t9n/feature-form-flow-item/index.d.ts +0 -1
- package/dist/assets/t9n/info-card/index.d.ts +0 -9
- package/dist/assets/t9n/instant-apps-export/index.d.ts +0 -12
- package/dist/assets/t9n/instant-apps-filter-list/index.d.ts +0 -16
- package/dist/assets/t9n/instant-apps-interactive-legend/index.d.ts +0 -17
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/index.d.ts +0 -38
- package/dist/assets/t9n/instant-apps-language-translator/index.d.ts +0 -65
- package/dist/assets/t9n/instant-apps-measurement/index.d.ts +0 -7
- package/dist/assets/t9n/instant-apps-popover/index.d.ts +0 -7
- package/dist/assets/t9n/instant-apps-scoreboard/index.d.ts +0 -7
- package/dist/assets/t9n/instant-apps-social-share/index.d.ts +0 -36
- package/dist/assets/t9n/instant-apps-splash/index.d.ts +0 -3
- package/dist/assets/t9n/json-editor/index.d.ts +0 -8
- package/dist/assets/t9n/layer-table/index.d.ts +0 -28
- package/dist/assets/t9n/layout-manager/index.d.ts +0 -7
- package/dist/assets/t9n/list-flow-item/index.d.ts +0 -1
- package/dist/assets/t9n/location-flow-item/index.d.ts +0 -1
- package/dist/assets/t9n/map-card/index.d.ts +0 -3
- package/dist/assets/t9n/map-draw-tools/index.d.ts +0 -5
- package/dist/assets/t9n/map-layer-picker/index.d.ts +0 -5
- package/dist/assets/t9n/map-picker/index.d.ts +0 -3
- package/dist/assets/t9n/map-search/index.d.ts +0 -3
- package/dist/assets/t9n/map-select-tools/index.d.ts +0 -16
- package/dist/assets/t9n/map-tools/index.d.ts +0 -10
- package/dist/assets/t9n/media-card/index.d.ts +0 -5
- package/dist/assets/t9n/pdf-download/index.d.ts +0 -3
- package/dist/assets/t9n/public-notification/index.d.ts +0 -42
- package/dist/assets/t9n/refine-selection/index.d.ts +0 -9
- package/dist/assets/t9n/share-item/index.d.ts +0 -1
- package/dist/assets/t9n/solution-configuration/index.d.ts +0 -15
- package/dist/assets/t9n/solution-item/index.d.ts +0 -8
- package/dist/assets/t9n/solution-item-details/index.d.ts +0 -8
- package/dist/assets/t9n/solution-item-sharing/index.d.ts +0 -3
- package/dist/assets/t9n/solution-organization-variables/index.d.ts +0 -3
- package/dist/assets/t9n/solution-resource-item/index.d.ts +0 -8
- package/dist/assets/t9n/solution-spatial-ref/index.d.ts +0 -6
- package/dist/assets/t9n/solution-template-data/index.d.ts +0 -5
- package/dist/assets/t9n/solution-variables/index.d.ts +0 -3
- package/dist/assets/t9n/spatial-ref/index.d.ts +0 -3
- package/dist/assets/t9n/store-manager/index.d.ts +0 -1
- package/dist/cjs/ExpandToggle-817ccf38.js +0 -118
- package/dist/cjs/FloatingArrow-9bcb9e39.js +0 -50
- package/dist/cjs/Heading-f0383b92.js +0 -25
- package/dist/cjs/app-globals-127cde88.js +0 -69
- package/dist/cjs/ar-1faa7d7d.js +0 -104
- package/dist/cjs/bg-4d9cf392.js +0 -82
- package/dist/cjs/bs-87311f13.js +0 -51
- package/dist/cjs/ca-c533185f.js +0 -71
- package/dist/cjs/calcite-input-time-picker-fc18d09a.js +0 -1847
- package/dist/cjs/common-7f2082e5.js +0 -38
- package/dist/cjs/conditionalSlot-0be6171f.js +0 -63
- package/dist/cjs/cs-5a59562e.js +0 -147
- package/dist/cjs/da-b30dd248.js +0 -66
- package/dist/cjs/date-36e46ea6.js +0 -261
- package/dist/cjs/de-77484baa.js +0 -91
- package/dist/cjs/de-at-8c79eb0f.js +0 -90
- package/dist/cjs/de-ch-3efd6700.js +0 -90
- package/dist/cjs/dom-3532b4e4.js +0 -1087
- package/dist/cjs/downloadUtils-aedb5bf6.js +0 -3095
- package/dist/cjs/el-6fbc3bc9.js +0 -66
- package/dist/cjs/en-au-743018fb.js +0 -66
- package/dist/cjs/en-ca-3f139cfb.js +0 -65
- package/dist/cjs/en-gb-6271968e.js +0 -69
- package/dist/cjs/es-0b70ae1c.js +0 -66
- package/dist/cjs/es-mx-69ac7c88.js +0 -65
- package/dist/cjs/et-59db03c6.js +0 -92
- package/dist/cjs/fi-6792c787.js +0 -115
- package/dist/cjs/filter-02931d81.js +0 -765
- package/dist/cjs/floating-ui-68d9cf85.js +0 -1918
- package/dist/cjs/focusTrapComponent-37ecfdab.js +0 -1028
- package/dist/cjs/form-b7bc281a.js +0 -260
- package/dist/cjs/fr-95775e8e.js +0 -68
- package/dist/cjs/fr-ch-07b1a3b0.js +0 -66
- package/dist/cjs/globalAttributes-8943d3a3.js +0 -77
- package/dist/cjs/he-40b642ab.js +0 -105
- package/dist/cjs/helpers-b54d3082.js +0 -903
- package/dist/cjs/hi-45503aee.js +0 -65
- package/dist/cjs/hr-2e14d177.js +0 -80
- package/dist/cjs/hu-33594a1a.js +0 -88
- package/dist/cjs/id-e8e8832c.js +0 -66
- package/dist/cjs/index-1dd06c65.js +0 -201
- package/dist/cjs/index-2ed5545a.js +0 -2532
- package/dist/cjs/index.es-f2719df9.js +0 -10852
- package/dist/cjs/interactive-101013d4.js +0 -147
- package/dist/cjs/it-6a19cd26.js +0 -66
- package/dist/cjs/it-ch-d57bf7c3.js +0 -66
- package/dist/cjs/ja-bf600e3d.js +0 -72
- package/dist/cjs/ko-df515d73.js +0 -72
- package/dist/cjs/label-fff46771.js +0 -186
- package/dist/cjs/languageSwitcher-3d3b39dd.js +0 -58
- package/dist/cjs/languageUtil-1e8c411a.js +0 -69
- package/dist/cjs/loadModules-4c86a3ad.js +0 -30
- package/dist/cjs/loadModules-946c1946.js +0 -23
- package/dist/cjs/loadable-ddfda3cb.js +0 -94
- package/dist/cjs/locale-21097ba6.js +0 -82
- package/dist/cjs/locale-b38efacf.js +0 -121
- package/dist/cjs/locale-eb5416f2.js +0 -584
- package/dist/cjs/lt-7a431e7e.js +0 -97
- package/dist/cjs/lv-21feaab4.js +0 -66
- package/dist/cjs/mapViewUtils-3eb6e609.js +0 -469
- package/dist/cjs/mk-d9314e40.js +0 -66
- package/dist/cjs/nb-3002ae87.js +0 -67
- package/dist/cjs/nl-c33a7b29.js +0 -67
- package/dist/cjs/openCloseComponent-6500785c.js +0 -92
- package/dist/cjs/pl-e2f641d8.js +0 -114
- package/dist/cjs/pt-bbbf4991.js +0 -67
- package/dist/cjs/pt-br-590240d8.js +0 -65
- package/dist/cjs/publicNotificationStore-20c11ad3.js +0 -47
- package/dist/cjs/purify-b928c67e.js +0 -1726
- package/dist/cjs/restHelpersGet-20db55a9.js +0 -934
- package/dist/cjs/ro-b50a3568.js +0 -66
- package/dist/cjs/ru-048dc256.js +0 -126
- package/dist/cjs/shared-list-render-cf397ca1.js +0 -364
- package/dist/cjs/sk-8f42e1d7.js +0 -148
- package/dist/cjs/sl-fcb7ca4a.js +0 -168
- package/dist/cjs/solution-resource-93d2edb1.js +0 -141
- package/dist/cjs/solution-store-18a2d74e.js +0 -1330
- package/dist/cjs/sr-adcb5f2c.js +0 -101
- package/dist/cjs/sv-291ad8d8.js +0 -71
- package/dist/cjs/t9n-0700950f.js +0 -100
- package/dist/cjs/th-1f8ae352.js +0 -65
- package/dist/cjs/throttle-4ed3a729.js +0 -75
- package/dist/cjs/time-c558fdba.js +0 -289
- package/dist/cjs/tr-e8bee7f8.js +0 -66
- package/dist/cjs/uk-bac40231.js +0 -104
- package/dist/cjs/utils-3f9f041f.js +0 -120
- package/dist/cjs/utils-9a5c4f89.js +0 -62
- package/dist/cjs/utils-a6c6f23d.js +0 -64
- package/dist/cjs/vi-21081da3.js +0 -70
- package/dist/cjs/zh-cn-c19380cc.js +0 -94
- package/dist/cjs/zh-hk-4dc0c98c.js +0 -71
- package/dist/cjs/zh-tw-02c2a621.js +0 -92
- package/dist/collection/utils/__b302600c5c884ab280e2ff6dc2e1fc78.json +0 -387
- package/dist/esm/ExpandToggle-b9006424.js +0 -110
- package/dist/esm/FloatingArrow-bb212ed0.js +0 -48
- package/dist/esm/Heading-c0ce7e4b.js +0 -22
- package/dist/esm/app-globals-6bdf3cae.js +0 -67
- package/dist/esm/ar-e817c594.js +0 -102
- package/dist/esm/bg-c538d7e4.js +0 -80
- package/dist/esm/bs-213b43f7.js +0 -49
- package/dist/esm/ca-769b2dcf.js +0 -69
- package/dist/esm/calcite-input-time-picker-3b625c9b.js +0 -1844
- package/dist/esm/common-e1460239.js +0 -36
- package/dist/esm/conditionalSlot-c2cdc3cc.js +0 -60
- package/dist/esm/cs-e7ba2567.js +0 -145
- package/dist/esm/da-60dd17c2.js +0 -64
- package/dist/esm/date-26df2cd9.js +0 -245
- package/dist/esm/de-at-5cba014b.js +0 -88
- package/dist/esm/de-ch-7091dedd.js +0 -88
- package/dist/esm/de-de2769c4.js +0 -89
- package/dist/esm/dom-eb5bed1c.js +0 -1056
- package/dist/esm/downloadUtils-14e503d3.js +0 -3090
- package/dist/esm/el-8d04fc83.js +0 -64
- package/dist/esm/en-au-f90d0076.js +0 -64
- package/dist/esm/en-ca-e7dff189.js +0 -63
- package/dist/esm/en-gb-de33a68b.js +0 -67
- package/dist/esm/es-f3c33183.js +0 -64
- package/dist/esm/es-mx-24cabff0.js +0 -63
- package/dist/esm/et-ce3bc99d.js +0 -90
- package/dist/esm/fi-e86b38f9.js +0 -113
- package/dist/esm/filter-38af63e6.js +0 -763
- package/dist/esm/floating-ui-21971993.js +0 -1910
- package/dist/esm/focusTrapComponent-0023638f.js +0 -1023
- package/dist/esm/form-97a3e830.js +0 -252
- package/dist/esm/fr-ch-c87556da.js +0 -64
- package/dist/esm/fr-deebbddc.js +0 -66
- package/dist/esm/globalAttributes-9314dfb3.js +0 -74
- package/dist/esm/he-a6418f1e.js +0 -103
- package/dist/esm/helpers-bf5ecfd6.js +0 -877
- package/dist/esm/hi-4fe025e6.js +0 -63
- package/dist/esm/hr-dbe4130c.js +0 -78
- package/dist/esm/hu-33bae3ab.js +0 -86
- package/dist/esm/id-c6f1843e.js +0 -64
- package/dist/esm/index-6b2dd90f.js +0 -2498
- package/dist/esm/index-aa6b7033.js +0 -199
- package/dist/esm/index.es-14036977.js +0 -10766
- package/dist/esm/interactive-754da4cd.js +0 -143
- package/dist/esm/it-80b1d6c8.js +0 -64
- package/dist/esm/it-ch-8e297e22.js +0 -64
- package/dist/esm/ja-78050c74.js +0 -70
- package/dist/esm/ko-4d44c869.js +0 -70
- package/dist/esm/label-afc422fb.js +0 -179
- package/dist/esm/languageSwitcher-d1766a22.js +0 -55
- package/dist/esm/languageUtil-7ca08515.js +0 -66
- package/dist/esm/loadModules-7bf27f90.js +0 -21
- package/dist/esm/loadModules-fdecaaec.js +0 -28
- package/dist/esm/loadable-9da00331.js +0 -89
- package/dist/esm/locale-1f3572e4.js +0 -77
- package/dist/esm/locale-5d32d5f4.js +0 -118
- package/dist/esm/locale-5e5469ac.js +0 -571
- package/dist/esm/lt-a67abd12.js +0 -95
- package/dist/esm/lv-a86a1a8e.js +0 -64
- package/dist/esm/mapViewUtils-b21ca0ac.js +0 -452
- package/dist/esm/mk-7741130f.js +0 -64
- package/dist/esm/nb-ebb2d499.js +0 -65
- package/dist/esm/nl-3de88217.js +0 -65
- package/dist/esm/openCloseComponent-697374e0.js +0 -90
- package/dist/esm/pl-eac0bd2f.js +0 -112
- package/dist/esm/pt-81a10022.js +0 -65
- package/dist/esm/pt-br-fd5c5c15.js +0 -63
- package/dist/esm/publicNotificationStore-dcb46bde.js +0 -45
- package/dist/esm/purify-24af905b.js +0 -1724
- package/dist/esm/restHelpersGet-57a51bca.js +0 -921
- package/dist/esm/ro-84f1494e.js +0 -64
- package/dist/esm/ru-4207d5ce.js +0 -124
- package/dist/esm/shared-list-render-9822f373.js +0 -342
- package/dist/esm/sk-cee3b9cc.js +0 -146
- package/dist/esm/sl-c4c248af.js +0 -166
- package/dist/esm/solution-resource-342904db.js +0 -138
- package/dist/esm/solution-store-294ba149.js +0 -1328
- package/dist/esm/sr-755dc8e6.js +0 -99
- package/dist/esm/sv-de83ad1a.js +0 -69
- package/dist/esm/t9n-0c5d99c4.js +0 -95
- package/dist/esm/th-353ccceb.js +0 -63
- package/dist/esm/throttle-9530dcf0.js +0 -73
- package/dist/esm/time-b88e70c8.js +0 -274
- package/dist/esm/tr-ac2382ba.js +0 -64
- package/dist/esm/uk-69e01d81.js +0 -102
- package/dist/esm/utils-4dc99bbb.js +0 -61
- package/dist/esm/utils-8ec2a8d5.js +0 -111
- package/dist/esm/utils-c5b069a6.js +0 -51
- package/dist/esm/vi-a2c9fb81.js +0 -68
- package/dist/esm/zh-cn-e0771769.js +0 -92
- package/dist/esm/zh-hk-f125cc0c.js +0 -69
- package/dist/esm/zh-tw-48a85069.js +0 -90
- package/dist/solutions-components/p-011767da.entry.js +0 -6
- package/dist/solutions-components/p-019bf7ce.entry.js +0 -6
- package/dist/solutions-components/p-0283dd2e.js +0 -6
- package/dist/solutions-components/p-028bb9a5.entry.js +0 -11
- package/dist/solutions-components/p-035652d2.entry.js +0 -11
- package/dist/solutions-components/p-04026f1f.js +0 -8
- package/dist/solutions-components/p-0452cb66.entry.js +0 -6
- package/dist/solutions-components/p-049ce6f8.entry.js +0 -16
- package/dist/solutions-components/p-04af5bc4.entry.js +0 -6
- package/dist/solutions-components/p-0512396e.entry.js +0 -11
- package/dist/solutions-components/p-05de45f5.entry.js +0 -6
- package/dist/solutions-components/p-067c5df3.js +0 -6
- package/dist/solutions-components/p-083faade.entry.js +0 -6
- package/dist/solutions-components/p-08988be0.js +0 -6
- package/dist/solutions-components/p-09075cfa.js +0 -6
- package/dist/solutions-components/p-09ada2ae.entry.js +0 -11
- package/dist/solutions-components/p-0a6ee349.js +0 -36
- package/dist/solutions-components/p-0bf6feff.entry.js +0 -6
- package/dist/solutions-components/p-0ce3bfc6.js +0 -11
- package/dist/solutions-components/p-0d76fdc5.entry.js +0 -6
- package/dist/solutions-components/p-0ea70808.js +0 -6
- package/dist/solutions-components/p-10882fb6.js +0 -6
- package/dist/solutions-components/p-1170ba45.entry.js +0 -11
- package/dist/solutions-components/p-1272c7ff.js +0 -6
- package/dist/solutions-components/p-135afb56.entry.js +0 -11
- package/dist/solutions-components/p-14c0367b.js +0 -6
- package/dist/solutions-components/p-1535c276.js +0 -6
- package/dist/solutions-components/p-158f331a.entry.js +0 -6
- package/dist/solutions-components/p-164259d0.entry.js +0 -12
- package/dist/solutions-components/p-1b29d7b1.entry.js +0 -11
- package/dist/solutions-components/p-1d0b8fdc.entry.js +0 -6
- package/dist/solutions-components/p-1edcc028.js +0 -21
- package/dist/solutions-components/p-1fbffc2a.js +0 -6
- package/dist/solutions-components/p-20f93e39.entry.js +0 -11
- package/dist/solutions-components/p-20fdc9b7.entry.js +0 -6
- package/dist/solutions-components/p-2395c425.js +0 -11
- package/dist/solutions-components/p-23d633cf.js +0 -11
- package/dist/solutions-components/p-23dd9d46.entry.js +0 -17
- package/dist/solutions-components/p-244a369a.entry.js +0 -6
- package/dist/solutions-components/p-27c7ec35.entry.js +0 -6
- package/dist/solutions-components/p-28c4dbc7.js +0 -11
- package/dist/solutions-components/p-2952c223.entry.js +0 -11
- package/dist/solutions-components/p-2c86746d.entry.js +0 -6
- package/dist/solutions-components/p-2d14147b.js +0 -6
- package/dist/solutions-components/p-2ee1209d.entry.js +0 -11
- package/dist/solutions-components/p-2f17251a.entry.js +0 -11
- package/dist/solutions-components/p-2f623c6c.entry.js +0 -11
- package/dist/solutions-components/p-3259f627.entry.js +0 -6
- package/dist/solutions-components/p-3318dd6e.entry.js +0 -6
- package/dist/solutions-components/p-3421d548.js +0 -6
- package/dist/solutions-components/p-395ff202.entry.js +0 -11
- package/dist/solutions-components/p-3c262f56.js +0 -11
- package/dist/solutions-components/p-3cc7e0bf.js +0 -6
- package/dist/solutions-components/p-3dcb3ec6.entry.js +0 -11
- package/dist/solutions-components/p-414c0db9.entry.js +0 -6
- package/dist/solutions-components/p-43a69f44.entry.js +0 -6
- package/dist/solutions-components/p-463c7edd.entry.js +0 -6
- package/dist/solutions-components/p-47d5adbf.entry.js +0 -6
- package/dist/solutions-components/p-4b407bca.entry.js +0 -11
- package/dist/solutions-components/p-4d3c4339.entry.js +0 -6
- package/dist/solutions-components/p-4dd6252a.js +0 -6
- package/dist/solutions-components/p-4ffb1666.js +0 -6
- package/dist/solutions-components/p-51f70c0f.js +0 -50
- package/dist/solutions-components/p-52167ca3.entry.js +0 -22
- package/dist/solutions-components/p-54e785c5.js +0 -11
- package/dist/solutions-components/p-561197ae.entry.js +0 -11
- package/dist/solutions-components/p-564cd4d8.entry.js +0 -6
- package/dist/solutions-components/p-57a1815c.entry.js +0 -11
- package/dist/solutions-components/p-58fd70b1.js +0 -6
- package/dist/solutions-components/p-59ee209a.js +0 -61
- package/dist/solutions-components/p-5ccd28a3.js +0 -474
- package/dist/solutions-components/p-5fb865d4.entry.js +0 -6
- package/dist/solutions-components/p-6024576c.entry.js +0 -11
- package/dist/solutions-components/p-607c89c8.js +0 -6
- package/dist/solutions-components/p-609c9d7e.js +0 -6
- package/dist/solutions-components/p-62259927.entry.js +0 -6
- package/dist/solutions-components/p-6244081f.js +0 -130
- package/dist/solutions-components/p-62d0f796.entry.js +0 -11
- package/dist/solutions-components/p-630b79b8.js +0 -6
- package/dist/solutions-components/p-647c4bdb.js +0 -22
- package/dist/solutions-components/p-65c0f748.entry.js +0 -11
- package/dist/solutions-components/p-65ef22d3.entry.js +0 -11
- package/dist/solutions-components/p-67165117.entry.js +0 -6
- package/dist/solutions-components/p-68567e31.entry.js +0 -6
- package/dist/solutions-components/p-6a5bbbe6.js +0 -21
- package/dist/solutions-components/p-6a727977.entry.js +0 -11
- package/dist/solutions-components/p-6b14cc7e.entry.js +0 -6
- package/dist/solutions-components/p-6c224b36.js +0 -6
- package/dist/solutions-components/p-6c932889.js +0 -11
- package/dist/solutions-components/p-6e1fc9fd.js +0 -21
- package/dist/solutions-components/p-6ebb8b36.js +0 -6
- package/dist/solutions-components/p-6f9cff0d.entry.js +0 -6
- package/dist/solutions-components/p-6ff33c47.js +0 -6
- package/dist/solutions-components/p-71b620cf.js +0 -6
- package/dist/solutions-components/p-729dde18.js +0 -21
- package/dist/solutions-components/p-761c16ed.entry.js +0 -6
- package/dist/solutions-components/p-768ad236.js +0 -6
- package/dist/solutions-components/p-790ee30b.entry.js +0 -17
- package/dist/solutions-components/p-792be6b2.entry.js +0 -11
- package/dist/solutions-components/p-7b9dda44.entry.js +0 -6
- package/dist/solutions-components/p-7f9bd076.entry.js +0 -6
- package/dist/solutions-components/p-81920123.entry.js +0 -6
- package/dist/solutions-components/p-82fdf707.entry.js +0 -11
- package/dist/solutions-components/p-830e72b4.js +0 -6
- package/dist/solutions-components/p-8527bf4b.entry.js +0 -6
- package/dist/solutions-components/p-861a83eb.entry.js +0 -11
- package/dist/solutions-components/p-868263d3.js +0 -6
- package/dist/solutions-components/p-874624ea.js +0 -6
- package/dist/solutions-components/p-882e74a1.js +0 -6
- package/dist/solutions-components/p-88cbaf7f.entry.js +0 -17
- package/dist/solutions-components/p-89365894.js +0 -6
- package/dist/solutions-components/p-8ba9eba7.entry.js +0 -11
- package/dist/solutions-components/p-8c4467ee.entry.js +0 -11
- package/dist/solutions-components/p-8dc37394.entry.js +0 -6
- package/dist/solutions-components/p-8e43aba3.entry.js +0 -6
- package/dist/solutions-components/p-8fdbb6f2.js +0 -12
- package/dist/solutions-components/p-90620197.entry.js +0 -6
- package/dist/solutions-components/p-910e4993.js +0 -6
- package/dist/solutions-components/p-92b12ad0.js +0 -6
- package/dist/solutions-components/p-92b563f9.js +0 -6
- package/dist/solutions-components/p-94ba42ec.js +0 -6
- package/dist/solutions-components/p-94df1842.js +0 -6
- package/dist/solutions-components/p-953fda45.entry.js +0 -6
- package/dist/solutions-components/p-9604fada.entry.js +0 -12
- package/dist/solutions-components/p-97ab28b4.entry.js +0 -21
- package/dist/solutions-components/p-97b13b3f.entry.js +0 -11
- package/dist/solutions-components/p-9907889f.js +0 -16
- package/dist/solutions-components/p-9a11a86b.entry.js +0 -11
- package/dist/solutions-components/p-9b46426a.js +0 -17
- package/dist/solutions-components/p-9ca4870b.js +0 -6
- package/dist/solutions-components/p-9ff8cf72.js +0 -6
- package/dist/solutions-components/p-a28057e8.entry.js +0 -6
- package/dist/solutions-components/p-a49efba1.js +0 -17
- package/dist/solutions-components/p-a5190904.entry.js +0 -6
- package/dist/solutions-components/p-a56b22c8.js +0 -6
- package/dist/solutions-components/p-a663c1ab.entry.js +0 -11
- package/dist/solutions-components/p-a7402cd7.js +0 -11
- package/dist/solutions-components/p-a79a92bc.js +0 -6
- package/dist/solutions-components/p-a7eb2d6c.js +0 -16
- package/dist/solutions-components/p-a8669ed9.js +0 -6
- package/dist/solutions-components/p-a8c24d3a.js +0 -16
- package/dist/solutions-components/p-a9ac285a.entry.js +0 -16
- package/dist/solutions-components/p-aacb905c.js +0 -11
- package/dist/solutions-components/p-abc63396.entry.js +0 -11
- package/dist/solutions-components/p-ac9ddc01.entry.js +0 -6
- package/dist/solutions-components/p-acc83f1a.entry.js +0 -11
- package/dist/solutions-components/p-ad243418.entry.js +0 -6
- package/dist/solutions-components/p-af42225b.entry.js +0 -47
- package/dist/solutions-components/p-af71a53f.entry.js +0 -17
- package/dist/solutions-components/p-afea124e.entry.js +0 -11
- package/dist/solutions-components/p-b00ce8db.entry.js +0 -11
- package/dist/solutions-components/p-b1e8596e.js +0 -11
- package/dist/solutions-components/p-b1e970f5.entry.js +0 -11
- package/dist/solutions-components/p-b23de6b9.entry.js +0 -6
- package/dist/solutions-components/p-b2b179ab.entry.js +0 -17
- package/dist/solutions-components/p-b3665ad1.js +0 -6
- package/dist/solutions-components/p-b5427580.js +0 -6
- package/dist/solutions-components/p-b5aba3e5.js +0 -6
- package/dist/solutions-components/p-b63e932f.entry.js +0 -6
- package/dist/solutions-components/p-b9345656.js +0 -6
- package/dist/solutions-components/p-b9d4587a.entry.js +0 -6
- package/dist/solutions-components/p-bb675f49.js +0 -11
- package/dist/solutions-components/p-bb68d649.js +0 -6
- package/dist/solutions-components/p-bbbbd3a7.entry.js +0 -11
- package/dist/solutions-components/p-bd416950.js +0 -6
- package/dist/solutions-components/p-c2865313.js +0 -6
- package/dist/solutions-components/p-c4ba432f.entry.js +0 -6
- package/dist/solutions-components/p-c4de6793.entry.js +0 -6
- package/dist/solutions-components/p-c664ada9.entry.js +0 -6
- package/dist/solutions-components/p-c82d391f.js +0 -6
- package/dist/solutions-components/p-c8ddae0d.entry.js +0 -11
- package/dist/solutions-components/p-c91f487a.entry.js +0 -6
- package/dist/solutions-components/p-c9af7cb8.js +0 -6
- package/dist/solutions-components/p-ca4061c3.js +0 -49
- package/dist/solutions-components/p-ca6ddf46.js +0 -6
- package/dist/solutions-components/p-cdac1223.entry.js +0 -11
- package/dist/solutions-components/p-cec7da74.entry.js +0 -11
- package/dist/solutions-components/p-d0bb6ca3.entry.js +0 -17
- package/dist/solutions-components/p-d22cacef.js +0 -6
- package/dist/solutions-components/p-d395caef.js +0 -11
- package/dist/solutions-components/p-d3a96b97.js +0 -6
- package/dist/solutions-components/p-d4a4ba7e.js +0 -11
- package/dist/solutions-components/p-d82c7328.entry.js +0 -6
- package/dist/solutions-components/p-d85d8528.entry.js +0 -6
- package/dist/solutions-components/p-d8f0d787.entry.js +0 -6
- package/dist/solutions-components/p-da61bede.entry.js +0 -11
- package/dist/solutions-components/p-db4e9400.entry.js +0 -6
- package/dist/solutions-components/p-dca25d3e.js +0 -11
- package/dist/solutions-components/p-dd11873e.entry.js +0 -12
- package/dist/solutions-components/p-deda072b.entry.js +0 -11
- package/dist/solutions-components/p-dfcf30cc.js +0 -7
- package/dist/solutions-components/p-e05880a7.entry.js +0 -6
- package/dist/solutions-components/p-e085289d.entry.js +0 -17
- package/dist/solutions-components/p-e3c5210a.entry.js +0 -21
- package/dist/solutions-components/p-e42db291.js +0 -6
- package/dist/solutions-components/p-e6579db5.js +0 -6
- package/dist/solutions-components/p-e9a7b4c8.entry.js +0 -6
- package/dist/solutions-components/p-eae915c0.entry.js +0 -11
- package/dist/solutions-components/p-ebf5b224.js +0 -6
- package/dist/solutions-components/p-ecfaf4d7.js +0 -11
- package/dist/solutions-components/p-ed116111.js +0 -11
- package/dist/solutions-components/p-ede08016.js +0 -6
- package/dist/solutions-components/p-ee0118e4.js +0 -6
- package/dist/solutions-components/p-ee5c18c2.js +0 -6
- package/dist/solutions-components/p-f1e9b756.entry.js +0 -6
- package/dist/solutions-components/p-f4772dcf.entry.js +0 -17
- package/dist/solutions-components/p-f4aecd64.entry.js +0 -11
- package/dist/solutions-components/p-f7d67177.entry.js +0 -6
- package/dist/solutions-components/p-fa4473b3.entry.js +0 -11
- package/dist/solutions-components/p-fac18708.entry.js +0 -6
- package/dist/solutions-components/p-fc384a88.entry.js +0 -29
- package/dist/solutions-components/p-fdff775f.entry.js +0 -11
- package/dist/solutions-components/p-fe949c1d.entry.js +0 -11
- package/dist/solutions-components/utils/__b302600c5c884ab280e2ff6dc2e1fc78.json +0 -387
- package/dist/types/assets/t9n/add-record-modal/index.d.ts +0 -10
- package/dist/types/assets/t9n/arcgis-login/index.d.ts +0 -1
- package/dist/types/assets/t9n/buffer-tools/index.d.ts +0 -6
- package/dist/types/assets/t9n/card-manager/index.d.ts +0 -6
- package/dist/types/assets/t9n/comment-card/index.d.ts +0 -4
- package/dist/types/assets/t9n/crowdsource-manager/index.d.ts +0 -8
- package/dist/types/assets/t9n/crowdsource-reporter/index.d.ts +0 -1
- package/dist/types/assets/t9n/edit-card/index.d.ts +0 -3
- package/dist/types/assets/t9n/feature-comments/index.d.ts +0 -1
- package/dist/types/assets/t9n/feature-form-flow-item/index.d.ts +0 -1
- package/dist/types/assets/t9n/info-card/index.d.ts +0 -9
- package/dist/types/assets/t9n/instant-apps-export/index.d.ts +0 -12
- package/dist/types/assets/t9n/instant-apps-filter-list/index.d.ts +0 -16
- package/dist/types/assets/t9n/instant-apps-interactive-legend/index.d.ts +0 -17
- package/dist/types/assets/t9n/instant-apps-keyboard-shortcuts/index.d.ts +0 -38
- package/dist/types/assets/t9n/instant-apps-language-translator/index.d.ts +0 -65
- package/dist/types/assets/t9n/instant-apps-measurement/index.d.ts +0 -7
- package/dist/types/assets/t9n/instant-apps-popover/index.d.ts +0 -7
- package/dist/types/assets/t9n/instant-apps-scoreboard/index.d.ts +0 -7
- package/dist/types/assets/t9n/instant-apps-social-share/index.d.ts +0 -36
- package/dist/types/assets/t9n/instant-apps-splash/index.d.ts +0 -3
- package/dist/types/assets/t9n/json-editor/index.d.ts +0 -8
- package/dist/types/assets/t9n/layer-table/index.d.ts +0 -28
- package/dist/types/assets/t9n/layout-manager/index.d.ts +0 -7
- package/dist/types/assets/t9n/list-flow-item/index.d.ts +0 -1
- package/dist/types/assets/t9n/location-flow-item/index.d.ts +0 -1
- package/dist/types/assets/t9n/map-card/index.d.ts +0 -3
- package/dist/types/assets/t9n/map-draw-tools/index.d.ts +0 -5
- package/dist/types/assets/t9n/map-layer-picker/index.d.ts +0 -5
- package/dist/types/assets/t9n/map-picker/index.d.ts +0 -3
- package/dist/types/assets/t9n/map-search/index.d.ts +0 -3
- package/dist/types/assets/t9n/map-select-tools/index.d.ts +0 -16
- package/dist/types/assets/t9n/map-tools/index.d.ts +0 -10
- package/dist/types/assets/t9n/media-card/index.d.ts +0 -5
- package/dist/types/assets/t9n/pdf-download/index.d.ts +0 -3
- package/dist/types/assets/t9n/public-notification/index.d.ts +0 -42
- package/dist/types/assets/t9n/refine-selection/index.d.ts +0 -9
- package/dist/types/assets/t9n/share-item/index.d.ts +0 -1
- package/dist/types/assets/t9n/solution-configuration/index.d.ts +0 -15
- package/dist/types/assets/t9n/solution-item/index.d.ts +0 -8
- package/dist/types/assets/t9n/solution-item-details/index.d.ts +0 -8
- package/dist/types/assets/t9n/solution-item-sharing/index.d.ts +0 -3
- package/dist/types/assets/t9n/solution-organization-variables/index.d.ts +0 -3
- package/dist/types/assets/t9n/solution-resource-item/index.d.ts +0 -8
- package/dist/types/assets/t9n/solution-spatial-ref/index.d.ts +0 -6
- package/dist/types/assets/t9n/solution-template-data/index.d.ts +0 -5
- package/dist/types/assets/t9n/solution-variables/index.d.ts +0 -3
- package/dist/types/assets/t9n/spatial-ref/index.d.ts +0 -3
- package/dist/types/assets/t9n/store-manager/index.d.ts +0 -1
- /package/dist/cjs/{array-e1557681.js → array-1d19377b.js} +0 -0
- /package/dist/cjs/{breakpoints-101f3498.js → breakpoints-fcd0f2a0.js} +0 -0
- /package/dist/cjs/{browser-16e4bcaa.js → browser-9a43b900.js} +0 -0
- /package/dist/cjs/{component-9ae7f98c.js → component-c270a500.js} +0 -0
- /package/dist/cjs/{debounce-dc29e0d7.js → debounce-30afab47.js} +0 -0
- /package/dist/cjs/{esri-loader-f9cc896e.js → esri-loader-a91c0ec1.js} +0 -0
- /package/dist/cjs/{guid-915a25a4.js → guid-1a466ca6.js} +0 -0
- /package/dist/cjs/{html2canvas-f6c29bf8.js → html2canvas-34208bbf.js} +0 -0
- /package/dist/cjs/{index-ef33dd68.js → index-4c1b0d3c.js} +0 -0
- /package/dist/cjs/{index-2ade4bf3.js → index-c0ee2715.js} +0 -0
- /package/dist/cjs/{index-2c4c660f.js → index-f64944ad.js} +0 -0
- /package/dist/cjs/{key-3057c9ae.js → key-b8c05387.js} +0 -0
- /package/dist/cjs/{math-8083815d.js → math-6c9027e3.js} +0 -0
- /package/dist/cjs/{mode-eea7083b.js → mode-d6c12b38.js} +0 -0
- /package/dist/cjs/{observers-0dc2268b.js → observers-281a8c99.js} +0 -0
- /package/dist/cjs/{resources-0cdf5268.js → resources-0986c5c2.js} +0 -0
- /package/dist/cjs/{resources-97624e80.js → resources-222ad22c.js} +0 -0
- /package/dist/cjs/{resources-dab03f25.js → resources-228f9286.js} +0 -0
- /package/dist/cjs/{resources-40bb3b0f.js → resources-55ba2752.js} +0 -0
- /package/dist/cjs/{resources-eeb0b476.js → resources-6c60363a.js} +0 -0
- /package/dist/cjs/{resources-08594e64.js → resources-8e3763a4.js} +0 -0
- /package/dist/cjs/{resources-e6b1ec37.js → resources-9400a252.js} +0 -0
- /package/dist/cjs/{resources-989454ca.js → resources-a825d7ae.js} +0 -0
- /package/dist/cjs/{resources-ca92098e.js → resources-d2d7b7c7.js} +0 -0
- /package/dist/cjs/{resources-346657b2.js → resources-f3e0e822.js} +0 -0
- /package/dist/cjs/{sortableComponent-2df4ffc7.js → sortableComponent-188f3290.js} +0 -0
- /package/dist/cjs/{utils-d185873c.js → utils-234879c7.js} +0 -0
- /package/dist/cjs/{utils-ce788266.js → utils-c735a41d.js} +0 -0
- /package/dist/esm/{array-ee46de18.js → array-51c31356.js} +0 -0
- /package/dist/esm/{breakpoints-88967029.js → breakpoints-f0f1417d.js} +0 -0
- /package/dist/esm/{browser-d9c15d82.js → browser-b4c16201.js} +0 -0
- /package/dist/esm/{component-57d75546.js → component-98bae46b.js} +0 -0
- /package/dist/esm/{debounce-3a2354cd.js → debounce-229b1a22.js} +0 -0
- /package/dist/esm/{esri-loader-bf16520d.js → esri-loader-eda07632.js} +0 -0
- /package/dist/esm/{guid-3cc28ba2.js → guid-36c6c6a5.js} +0 -0
- /package/dist/esm/{html2canvas-2fee68d8.js → html2canvas-a0a4df55.js} +0 -0
- /package/dist/esm/{index-4efda611.js → index-5110a27a.js} +0 -0
- /package/dist/esm/{index-37abc70f.js → index-a1e91462.js} +0 -0
- /package/dist/esm/{index-eb5a4509.js → index-d8ff08ed.js} +0 -0
- /package/dist/esm/{key-adae9343.js → key-af303047.js} +0 -0
- /package/dist/esm/{math-a7230f76.js → math-cdaf4dc0.js} +0 -0
- /package/dist/esm/{mode-328b4c11.js → mode-66911cb5.js} +0 -0
- /package/dist/esm/{observers-0e786b1c.js → observers-8ce200f2.js} +0 -0
- /package/dist/esm/{resources-29d4d05f.js → resources-13098091.js} +0 -0
- /package/dist/esm/{resources-500077b3.js → resources-1a8d4d77.js} +0 -0
- /package/dist/esm/{resources-4bf2674a.js → resources-221791b0.js} +0 -0
- /package/dist/esm/{resources-65472b8b.js → resources-242fdf8d.js} +0 -0
- /package/dist/esm/{resources-44be2909.js → resources-4bcfc016.js} +0 -0
- /package/dist/esm/{resources-011302b8.js → resources-649a0f91.js} +0 -0
- /package/dist/esm/{resources-3ce376de.js → resources-6772a50d.js} +0 -0
- /package/dist/esm/{resources-529ffb0b.js → resources-6e00e0d1.js} +0 -0
- /package/dist/esm/{resources-b7b6b68c.js → resources-a0420cda.js} +0 -0
- /package/dist/esm/{resources-cfbc37a8.js → resources-cdc36705.js} +0 -0
- /package/dist/esm/{sortableComponent-50cfe8da.js → sortableComponent-65956286.js} +0 -0
- /package/dist/esm/{utils-809d6ba5.js → utils-86d242a6.js} +0 -0
- /package/dist/esm/{utils-619bc2ee.js → utils-abdd879e.js} +0 -0
- /package/dist/solutions-components/{p-31b622cd.js → p-0c07ad8a.js} +0 -0
- /package/dist/solutions-components/{p-52445921.js → p-1e2ffee3.js} +0 -0
- /package/dist/solutions-components/{p-16b08122.js → p-29d68474.js} +0 -0
- /package/dist/solutions-components/{p-748597df.js → p-32b6b6c9.js} +0 -0
- /package/dist/solutions-components/{p-f44d9211.js → p-35c58364.js} +0 -0
- /package/dist/solutions-components/{p-0953177a.js → p-3cce003d.js} +0 -0
- /package/dist/solutions-components/{p-950cebf2.js → p-3f279568.js} +0 -0
- /package/dist/solutions-components/{p-f6b96918.js → p-428554b4.js} +0 -0
- /package/dist/solutions-components/{p-a95649f7.js → p-475ad635.js} +0 -0
- /package/dist/solutions-components/{p-6f89a806.js → p-568822d4.js} +0 -0
- /package/dist/solutions-components/{p-2b56ecd9.js → p-5b566d55.js} +0 -0
- /package/dist/solutions-components/{p-b9c4c123.js → p-74062e42.js} +0 -0
- /package/dist/solutions-components/{p-974f5f01.js → p-775ad144.js} +0 -0
- /package/dist/solutions-components/{p-c5af6380.js → p-77b43a94.js} +0 -0
- /package/dist/solutions-components/{p-d68612ec.js → p-7f333e23.js} +0 -0
- /package/dist/solutions-components/{p-64e988e7.js → p-993e8bd0.js} +0 -0
- /package/dist/solutions-components/{p-aa6b47d1.js → p-a230b270.js} +0 -0
- /package/dist/solutions-components/{p-f67a0324.js → p-a82f35c9.js} +0 -0
- /package/dist/solutions-components/{p-f2fda308.js → p-abea8ef5.js} +0 -0
- /package/dist/solutions-components/{p-9fb768a8.js → p-b3ebaa79.js} +0 -0
- /package/dist/solutions-components/{p-a442727d.js → p-c92fff33.js} +0 -0
- /package/dist/solutions-components/{p-dac67a09.js → p-c96eb2db.js} +0 -0
- /package/dist/solutions-components/{p-f5e66598.js → p-c9fc3253.js} +0 -0
- /package/dist/solutions-components/{p-fec9937a.js → p-d32e6900.js} +0 -0
- /package/dist/solutions-components/{p-16ec7030.js → p-d918ec36.js} +0 -0
- /package/dist/solutions-components/{p-252a1f8a.js → p-dbacb910.js} +0 -0
- /package/dist/solutions-components/{p-1f74004b.js → p-ea83d12d.js} +0 -0
- /package/dist/solutions-components/{p-cbfdcfaf.js → p-fcefdfff.js} +0 -0
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as _}from"./p-5fd1eb64.js";import"./p-78780f63.js";import"./p-cfccae7c.js";import"./p-ca97465b.js";import"./p-fcefdfff.js";import"./p-29d68474.js";import"./p-0c97de08.js";import"./p-c92fff33.js";import"./p-1e2ffee3.js";import"./p-722ae773.js";import"./p-0c07ad8a.js";import"./p-f10944e6.js";import"./p-ede84883.js";import"./p-5b566d55.js";import"./p-414240b2.js";import"./p-2d1b8cfa.js";import"./p-475ad635.js";import"./p-79ba73cb.js";import"./p-653af7e0.js";var m={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_,m){return"W"===m?_+"周":_+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(_,m){var p=100*_+m;return p<600?"凌晨":p<900?"早上":p<1100?"上午":p<1300?"中午":p<1800?"下午":"晚上"}};_.locale(m,null,!0);export default m;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,h as e,g as s,F as n}from"./p-78780f63.js";import{j as l,i as a,r,n as h,o,h as c,k as p,a as u}from"./p-32b6b6c9.js";import{c as d,O as m}from"./p-775ad144.js";import{e as f,w as g}from"./p-ca97465b.js";import{s as w,a as x,c as y}from"./p-f10944e6.js";import"./p-e1a4994d.js";import"./p-fcefdfff.js";import"./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
|
+
*/const b=d(),v=class{constructor(e){t(this,e),this.calciteColorPickerHexInputChange=i(this,"calciteColorPickerHexInputChange",6),this.onHexInputBlur=()=>{const t=this.hexInputNode,i=t.value,e=`#${i}`,{allowEmpty:s,internalColor:n}=this,h=s&&!i,o=l(e);this.onHexInputChange(),h||a(e)&&o||(t.value=s&&!n?"":this.formatHexForInternalInput(r(n.object())))},this.onOpacityInputBlur=()=>{const t=this.opacityInputNode,i=t.value,{allowEmpty:e,internalColor:s}=this;e&&!i||(t.value=e&&!s?"":this.formatOpacityForInternalInput(s))},this.onHexInputChange=()=>{let t=this.hexInputNode.value;if(t){const i=h(t,!1);a(i)&&this.alphaChannel&&this.internalColor&&(t=`${i+h(this.internalColor.hexa(),!0).slice(-2)}`)}this.internalSetValue(t,this.value)},this.onOpacityInputChange=()=>{var t;const i=this.opacityInputNode;let e;if(i.value){const s=o(Number(i.value));e=null===(t=this.internalColor)||void 0===t?void 0:t.alpha(s).hexa()}else e=i.value;this.internalSetValue(e,this.value)},this.onInputKeyDown=t=>{const{altKey:i,ctrlKey:e,metaKey:s,shiftKey:n}=t,{alphaChannel:l,hexInputNode:a,internalColor:r,value:h}=this,{key:o}=t,u=t.composedPath();if("Tab"===o||"Enter"===o)return u.includes(a)?this.onHexInputChange():this.onOpacityInputChange(),void("Enter"===o&&t.preventDefault());const d=this.value;if("ArrowDown"===o||"ArrowUp"===o)return h?(this.internalSetValue(c(this.nudgeRGBChannels(r,(n?10:1)*("ArrowUp"===o?1:-1),u.includes(a)?"rgb":"a"),l),d),void t.preventDefault()):(this.internalSetValue(this.previousNonNullValue,d),void t.preventDefault());const m=i||e||s,f=1===o.length,g=p.test(o);!f||m||g||t.preventDefault()},this.onHexInputPaste=t=>{const i=t.clipboardData.getData("text");a(i)&&(t.preventDefault(),this.hexInputNode.value=i.slice(1))},this.previousNonNullValue=this.value,this.storeHexInputRef=t=>{this.hexInputNode=t},this.storeOpacityInputRef=t=>{this.opacityInputNode=t},this.allowEmpty=!1,this.alphaChannel=!1,this.hexLabel="Hex",this.messages=void 0,this.numberingSystem=void 0,this.scale="m",this.value=h(c(b,this.alphaChannel),this.alphaChannel,!0),this.internalColor=b}connectedCallback(){const{allowEmpty:t,alphaChannel:i,value:e}=this;if(e){const t=h(e,i);a(t,i)&&this.internalSetValue(t,t,!1)}else t&&this.internalSetValue(null,null,!1)}componentWillLoad(){w(this)}componentDidLoad(){x(this)}handleValueChange(t,i){this.internalSetValue(t,i,!1)}render(){const{alphaChannel:t,hexLabel:i,internalColor:s,messages:n,scale:l,value:a}=this,r=this.formatHexForInternalInput(a),h=this.formatOpacityForInternalInput(s),o="l"===l?"m":"s";return e("div",{class:"container"},e("calcite-input-text",{class:"hex-input",label:(null==n?void 0:n.hex)||i,maxLength:6,onCalciteInputTextChange:this.onHexInputChange,onCalciteInternalInputTextBlur:this.onHexInputBlur,onKeyDown:this.onInputKeyDown,onPaste:this.onHexInputPaste,prefixText:"#",scale:o,value:r,ref:this.storeHexInputRef}),t?e("calcite-input-number",{class:"opacity-input",key:"opacity-input",label:null==n?void 0:n.opacity,max:m.max,maxLength:3,min:m.min,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.onOpacityInputChange,onCalciteInternalInputNumberBlur:this.onOpacityInputBlur,onKeyDown:this.onInputKeyDown,scale:o,suffixText:"%",value:h,ref:this.storeOpacityInputRef}):null)}async setFocus(){return await y(this),f(this.hexInputNode)}internalSetValue(t,i,e=!0){if(t){const{alphaChannel:i}=this,s=h(t,i,i);if(a(s,i)){const{internalColor:t}=this,n=d(s),l=h(c(n,i),i),a=!t||l!==h(c(t,i),i);return this.internalColor=n,this.previousNonNullValue=l,this.value=l,void(a&&e&&this.calciteColorPickerHexInputChange.emit())}}else if(this.allowEmpty)return this.internalColor=null,this.value=null,void(e&&this.calciteColorPickerHexInputChange.emit());this.value=i}formatHexForInternalInput(t){return t?t.replace("#","").slice(0,6):""}formatOpacityForInternalInput(t){return t?`${u(t.alpha())}`:""}nudgeRGBChannels(t,i,e){let s;const n=t.array(),l=n.slice(0,3);if("rgb"===e)s=[...l.map((t=>t+i)),this.alphaChannel?n[3]:void 0];else{const e=o(u(t.alpha())+i);s=[...l,e]}return d(s)}get el(){return s(this)}static get watchers(){return{value:["handleValueChange"]}}};v.style=":host{display:block}.container{display:flex;inline-size:100%;flex-wrap:nowrap;align-items:center}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:68px;margin-inline-start:-1px}:host([scale=s]) .container{flex-wrap:wrap;row-gap:0.125rem}:host([scale=s]) .opacity-input{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .opacity-input{inline-size:88px}: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 C="checker",k=4,z=8,j=class{constructor(i){t(this,i),this.active=!1,this.color=void 0,this.scale="m"}handleColorChange(t){this.internalColor=t?d(t):null}componentWillLoad(){this.handleColorChange(this.color)}render(){return e("svg",{class:{swatch:!0,"swatch--no-color":!this.internalColor},xmlns:"http://www.w3.org/2000/svg"},this.renderSwatch())}renderSwatch(){const{active:t,el:i,internalColor:s}=this,l=t?"100%":"0",a={height:"100%",rx:l,stroke:"light"===g(i)?"rgba(0, 0, 0, 0.3)":"rgba(255, 255, 255, 0.15)","stroke-width":"2",width:"100%"};if(!s)return e(n,null,e("clipPath",{id:"shape"},e("rect",{height:"100%",rx:l,width:"100%"})),e("rect",Object.assign({"clip-path":`inset(0 round ${l})`,rx:l},a)),e("line",{"clip-path":"url(#shape)","stroke-width":"3",x1:"100%",x2:"0",y1:"0",y2:"100%"}));const r=s.alpha(),h=c(s),o=c(s,r<1);return e(n,null,e("title",null,o),e("defs",null,e("pattern",{height:z,id:"checker",patternUnits:"userSpaceOnUse",width:z,x:"0",y:"0"},e("rect",{class:C,height:k,width:k,x:"0",y:"0"}),e("rect",{class:C,height:k,width:k,x:k,y:k}))),e("rect",{fill:"url(#checker)",height:"100%",rx:l,width:"100%"}),e("rect",Object.assign({fill:h,style:{"clip-path":r<1?"polygon(100% 0, 0 0, 0 100%)":`inset(0 round ${l})`}},a)),r<1?e("rect",Object.assign({fill:o,key:"opacity-fill",style:{"clip-path":"polygon(100% 0, 100% 100%, 0 100%)"}},a)):null)}get el(){return s(this)}static get watchers(){return{color:["handleColorChange"]}}};j.style=":host{position:relative;display:inline-flex}:host([scale=s]){block-size:1.25rem;inline-size:1.25rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem}.swatch{overflow:hidden;block-size:inherit;inline-size:inherit}.swatch rect{transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.swatch--no-color rect{fill:var(--calcite-color-foreground-1)}.swatch--no-color line{stroke:var(--calcite-color-status-danger)}.checker{fill:#cacaca}:host([hidden]){display:none}[hidden]{display:none}";export{v as calcite_color_picker_hex_input,j as calcite_color_picker_swatch}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as e,h as i,g as o}from"./p-78780f63.js";import{c as n,d as s}from"./p-1be63b50.js";import{x as a,g as c}from"./p-ca97465b.js";import{s as l,a as r,c as d}from"./p-f10944e6.js";import{c as h,d as g}from"./p-ede84883.js";import{c as p,d as m,s as f,u as v}from"./p-79ba73cb.js";import{K as u}from"./p-568822d4.js";import{o as b}from"./p-653af7e0.js";import{g as k}from"./p-0c07ad8a.js";import"./p-5b566d55.js";import"./p-fcefdfff.js";import"./p-29d68474.js";import"./p-1e2ffee3.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 x="actions-end",w=class{constructor(i){t(this,i),this.calciteNoticeBeforeClose=e(this,"calciteNoticeBeforeClose",6),this.calciteNoticeBeforeOpen=e(this,"calciteNoticeBeforeOpen",6),this.calciteNoticeClose=e(this,"calciteNoticeClose",6),this.calciteNoticeOpen=e(this,"calciteNoticeOpen",6),this.setTransitionEl=t=>{this.transitionEl=t},this.close=()=>{this.open=!1},this.openTransitionProp="opacity",this.open=!1,this.kind="brand",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.width="auto",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){b(this)}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=a(u,this.icon,this.kind)}connectedCallback(){n(this),h(this),p(this)}disconnectedCallback(){s(this),g(this),m(this)}async componentWillLoad(){l(this),this.requestedIcon=a(u,this.icon,this.kind),await f(this),this.open&&b(this)}componentDidLoad(){r(this)}render(){const{el:t}=this,e=i("button",{"aria-label":this.messages.close,class:"notice-close",onClick:this.close,ref:t=>this.closeButton=t},i("calcite-icon",{icon:"x",scale:k(this.scale)})),o=c(t,x);return i("div",{class:"container",ref:this.setTransitionEl},this.requestedIcon?i("div",{class:"notice-icon"},i("calcite-icon",{flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:k(this.scale)})):null,i("div",{class:"notice-content"},i("slot",{name:"title"}),i("slot",{name:"message"}),i("slot",{name:"link"})),o?i("div",{class:"actions-end"},i("slot",{name:x})):null,this.closable?e:null)}async setFocus(){await d(this);const t=this.el.querySelector("calcite-link");if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}effectiveLocaleChange(){v(this,this.effectiveLocale)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};w.style=":host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-color-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.notice-close:active{background-color:var(--calcite-color-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-color:var(--calcite-color-status-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-color:var(--calcite-color-status-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-color-status-warning)}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_notice}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as i,h as t,H as n,g as e}from"./p-78780f63.js";import{a as s,e as o}from"./p-ca97465b.js";import{c as a,u as l,d as c}from"./p-0c97de08.js";import{s as r,a as d,c as h}from"./p-f10944e6.js";import{C as p}from"./p-29d68474.js";import"./p-fcefdfff.js";import"./p-c92fff33.js";const u=class{constructor(t){i(this,t),this.childElClickHandler=i=>{i.isTrusted||i.stopPropagation()},this.storeTagRef=i=>{this.childEl=i},this.disabled=!1,this.download=!1,this.href=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.rel=void 0,this.target=void 0}connectedCallback(){a(this)}componentWillLoad(){r(this)}componentDidLoad(){d(this)}componentDidRender(){l(this)}disconnectedCallback(){c(this)}render(){const{download:i,el:e}=this,o=s(e),a=this.href?"a":"span",l=t("calcite-icon",{class:"calcite-link--icon icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),c=t("calcite-icon",{class:"calcite-link--icon icon-end",flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"});return t(n,{role:"presentation"},t(a,{class:{[p.rtl]:"rtl"===o},download:"a"!==a||""!==i&&!i?null:i,href:"a"===a&&this.href,onClick:this.childElClickHandler,rel:"a"===a&&this.rel,role:"span"===a?"link":null,tabIndex:"span"===a?0:null,target:"a"===a&&this.target,ref:this.storeTagRef},this.iconStart?l:null,t("slot",null),this.iconEnd?c:null))}clickHandler(i){this.disabled||i.isTrusted||this.childEl.click()}async setFocus(){await h(this),o(this.childEl)}get el(){return e(this)}};u.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline}:host a,:host span{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0px;border-style:none;font-family:inherit;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span: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 )}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:middle;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-block-start:-0.25em}:host .calcite-link--icon.icon-start{margin-inline-end:0.5rem}:host .calcite-link--icon.icon-end{margin-inline-start:0.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0px;color:var(--calcite-color-text-link);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;line-height:inherit;white-space:initial;background-image:linear-gradient(currentColor, currentColor), linear-gradient(var(--calcite-color-brand-underline), var(--calcite-color-brand-underline));background-position-x:0%, 100%;background-position-y:min(1.5em, 100%);background-repeat:no-repeat, no-repeat;background-size:0% 1px, 100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px, 100% 1px}:host span:active,:host a:active{background-size:100% 2px, 100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%, 100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{u as calcite_link}
|
@@ -0,0 +1,36 @@
|
|
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{c as n}from"./p-4af32c75.js";
|
7
|
+
/** @license
|
8
|
+
* Copyright 2022 Esri
|
9
|
+
*
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
+
* you may not use this file except in compliance with the License.
|
12
|
+
* You may obtain a copy of the License at
|
13
|
+
*
|
14
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
15
|
+
*
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
+
* See the License for the specific language governing permissions and
|
20
|
+
* limitations under the License.
|
21
|
+
*/async function t(n){const t=n.createQuery();return t.where=n.definitionExpression||"1=1",await n.queryObjectIds(t)}async function a(n,t){let a=[];const s=n?n.map((n=>async function(n,t){const a=t.createQuery();return a.spatialRelationship="intersects",a.geometry=n,t.queryObjectIds(a)}
|
22
|
+
/** @license
|
23
|
+
* Copyright 2022 Esri
|
24
|
+
*
|
25
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
26
|
+
* you may not use this file except in compliance with the License.
|
27
|
+
* You may obtain a copy of the License at
|
28
|
+
*
|
29
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
30
|
+
*
|
31
|
+
* Unless required by applicable law or agreed to in writing, software
|
32
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
33
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
34
|
+
* See the License for the specific language governing permissions and
|
35
|
+
* limitations under the License.
|
36
|
+
*/(n,t))):[Promise.resolve()];return(await Promise.all(s)).forEach((n=>{a=[...a,...n||[]]})),a}async function s(n,t,a,c,o){var i;const e=null===(i=t.capabilities)||void 0===i?void 0:i.query.maxRecordCount,r=t.createQuery();r.start=0,r.returnGeometry=c,r.objectIds=n.slice(0,e),e&&(r.num=e),o&&(r.outSpatialReference=o);const u=await t.queryFeatures(r);a=a.concat(u.features);const f=n.slice(e,n.length);return f.length>0?s(f,t,a,c,o):Promise.resolve(a)}async function c(n,t){const a=t.globalIdField;if(!a)return[];const s=t.createQuery();return s.returnGeometry=!1,s.outFields=[t.objectIdField],s.where=n.map((n=>`${a} = '${n}'`)).join(" or "),(await t.queryFeatures(s)).features}async function o(n,t,a,s){const c=t.capabilities.query.maxRecordCount,i=t.createQuery();i.start=n,i.num=c,i.geometry=a;const e=await t.queryFeatures(i);return s[t.id]=s[t.id].concat(e.features),e.exceededTransferLimit?o(n+=c,t,a,s):Promise.resolve(s)}async function i(n,t,a){const s=n.createQuery();return s.where=t||"1=1",s.orderByFields=a,await n.queryObjectIds(s)}function e(n,t){return[...r(n,"polygon",t),...r(n,"polyline",t),...r(n,"point",t)]}function r(n,t,a){const s=(null==n?void 0:n.filter((n=>n.type===t)))||[];return s.length<=1?s:[a.union(s)]}async function u(n,t){let a;return await n.when((()=>{a=n.map.allLayers.toArray().reduce(((n,t)=>("feature"===t.type&&(n[t.id]={name:t.title,supportsUpdate:void 0}),n)),{})})),w(t,a,n)}async function f(n,t){let a;return await n.when((()=>{a=n.map.allTables.toArray().reduce(((n,t)=>(n[t.id]={name:t.title,supportsUpdate:void 0},n)),{})})),w(t,a,n)}async function w(n,t,a){if(n){const n={},s=Object.keys(t);for(let c=0;c<s.length;c++){const o=s[c],i=await l(a,o);await i.load(),await i.when(),n[o]={name:t[o].name,supportsUpdate:i.editingEnabled&&i.capabilities.operations.supportsUpdate}}return n}return t}async function y(n,t){const a=await l(n,t);return a?await n.whenLayerView(a):void 0}async function l(n,t){let a=[];return await n.when((()=>{a=[...n.map.allLayers.toArray(),...n.map.allTables.toArray()].filter((n=>n.id===t))})),a.length>0?a[0]:void 0}async function d(n){const t=n.map.allLayers.toArray();let a;return await n.when((()=>{a=t.map((t=>n.whenLayerView(t)))})),await Promise.allSettled(a),t}async function p(n,t,a,s=!1){return s&&await v(n,t,a,!1),t.highlight(n)}async function m(n){const t=j(n);return Object.keys(t).reduce(((n,a)=>{const s=t[a];return n.push(s.layerView.highlight(s.ids)),n}),[])}function j(t){return t.reduce(((t,a)=>{const s=a.layerView,c=null==s?void 0:s.layer.id;return c&&Object.keys(t).indexOf(c)>-1?t[c].ids=[...new Set([...a.selectedIds,...t[c].ids])]:c&&(t[c]={layerView:s,ids:a.selectedIds}),a.workflowType===n.REFINE&&Object.keys(a.refineInfos).forEach((n=>{const s=a.refineInfos[n];Object.keys(t).indexOf(n)>-1&&(t[n].ids=[...new Set([...s.addIds,...t[n].ids])],t[n].ids=t[n].ids.filter((n=>s.removeIds.indexOf(n)<0)))})),t}),{})}async function v(n,t,a,s=!0,c){const o=await async function(n,t){const a=t.createQuery();return a.objectIds=n,t.queryExtent(a)}(n,t.layer);await a.goTo(o.extent),s&&await async function(n,t,a){const s={objectIds:n};t.featureEffect=Object.assign(Object.assign({},a),{filter:s}),setTimeout((()=>{t.featureEffect=void 0}),1300)}(n,t,c)}export{l as a,i as b,t as c,c as d,a as e,e as f,v as g,p as h,y as i,o as j,j as k,m as l,d as m,u as n,f as o,s as q}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as i,h as t,g as e}from"./p-78780f63.js";import{c as s,d as a}from"./p-ede84883.js";import{u as n,c,s as o,d as r}from"./p-79ba73cb.js";import{c as l}from"./p-5b566d55.js";import{D as d}from"./p-ca97465b.js";import"./p-1e2ffee3.js";import"./p-fcefdfff.js";import"./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
|
+
*/const h=class{constructor(t){i(this,t),this.resizeObserver=l("resize",(()=>this.handleResize())),this.handleDefaultSlotChange=i=>{this.hasContent=d(i)},this.storeLoaderEl=i=>{this.loaderEl=i,this.handleResize()},this.loading=!1,this.messages=void 0,this.messageOverrides=void 0,this.loaderScale=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasContent=!1}onMessagesChange(){}effectiveLocaleChange(){n(this,this.effectiveLocale)}connectedCallback(){var i;s(this),c(this),null===(i=this.resizeObserver)||void 0===i||i.observe(this.el)}async componentWillLoad(){await o(this)}disconnectedCallback(){var i;a(this),r(this),null===(i=this.resizeObserver)||void 0===i||i.disconnect()}render(){const{hasContent:i,loading:e,messages:s}=this;return t("div",{class:"scrim"},e?t("calcite-loader",{label:s.loading,scale:this.loaderScale,ref:this.storeLoaderEl}):null,t("div",{class:"content",hidden:!i},t("slot",{onSlotchange:this.handleDefaultSlotChange})))}getScale(i){return i<72?"s":i>=480?"l":"m"}handleResize(){var i;const{loaderEl:t,el:e}=this;t&&(this.loaderScale=this.getScale(null!==(i=Math.min(e.clientHeight,e.clientWidth))&&void 0!==i?i:0))}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};h.style=":host{--calcite-scrim-background:var(--calcite-color-transparent-scrim);position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-color-transparent-scrim))}.content{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}";export{h as calcite_scrim}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as e,h as i,H as t,g as a}from"./p-78780f63.js";import{s as l,a as n}from"./p-f10944e6.js";import{a as s,c as r,d as c}from"./p-cfccae7c.js";import{g as o,n as h,c as d,d as b}from"./p-ede84883.js";import{r as u}from"./p-ca97465b.js";import{c as p}from"./p-5b566d55.js";import"./p-1e2ffee3.js";import"./p-fcefdfff.js";import"./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
|
+
*/const g="label",v="label-range",m="unit-label",f="fill-success",L=class{constructor(i){e(this,i),this.labelFlipMax=.8,this.labelFlipProximity=.15,this.maxPercent=100,this.minPercent=0,this.resizeObserver=p("resize",(()=>this.resizeHandler())),this.formatLabel=(e,i)=>{if("percent"===i){if(!this.percentFormatting){const e=o(this.effectiveLocale),i=new Intl.NumberFormat(e,{useGrouping:this.groupSeparator,style:"percent"});this.percentFormatting={formatter:i,locale:e}}return this.percentFormatting.formatter.format(e)}return h.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},h.localize(e.toString())},this.appearance="outline-fill",this.disabled=!1,this.fillType="range",this.form=void 0,this.groupSeparator=!1,this.high=void 0,this.label=void 0,this.low=void 0,this.max=100,this.min=0,this.name=void 0,this.numberingSystem=void 0,this.rangeLabels=!1,this.rangeLabelType="percent",this.scale="m",this.unitLabel="",this.value=void 0,this.valueLabel=!1,this.valueLabelType="percent",this.currentPercent=void 0,this.effectiveLocale=void 0,this.highActive=void 0,this.highPercent=void 0,this.lowActive=void 0,this.lowPercent=void 0}handleRangeChange(){this.calculateValues(),this.updateLabels()}handleLabelChange(){this.updateLabels()}async componentWillLoad(){l(this),this.calculateValues(),s(this,this.value)}componentDidLoad(){n(this),this.updateLabels()}connectedCallback(){var e;d(this),r(this),null===(e=this.resizeObserver)||void 0===e||e.observe(this.el)}disconnectedCallback(){var e;b(this),c(this),null===(e=this.resizeObserver)||void 0===e||e.disconnect()}resizeHandler(){this.updateLabels()}updateLabels(){this.valueLabelEl&&this.determineValueLabelPosition(),this.rangeLabels&&this.determineVisibleLabels()}calculateValues(){const{min:e,max:i,low:t,high:a,value:l}=this,n=100*(t-e)/(i-e),s=100*(a-e)/(i-e),r=100*(l-e)/(i-e);(!t||t<e||t>a||t>i)&&(this.low=e),(!a||a>i||a<t||a<e)&&(this.high=i),l||(this.value=e),this.lowPercent=n,this.highPercent=s,this.currentPercent=l?r:0,this.lowActive=!!t&&t>e&&(!l||t>l)&&(!a||t<a),this.highActive=!!a&&e<=a&&a<i&&(!l||a>l)&&(!t||a>t)}getMeterKindCssClass(){const{low:e,high:i,min:t,max:a,value:l}=this,n=e||t,s=i||a,r=l<s;return!l||!e&&r||l<n?f:l>=n&&r?"fill-warning":l>=s?"fill-danger":f}intersects(e,i){return e&&i&&u(e.getBoundingClientRect(),i.getBoundingClientRect())}determineVisibleLabels(){const{minLabelEl:e,lowLabelEl:i,highLabelEl:t,maxLabelEl:a}=this,l=this.intersects(t,a),n=this.intersects(i,t),s=this.intersects(i,a),r=this.intersects(e,t),c=this.intersects(e,i),o=this.intersects(e,a),h="label-hidden";i&&(c||s||n?i.classList.add(h):i.classList.remove(h)),t&&(r||s||l?t.classList.add(h):t.classList.remove(h)),e&&a&&(o?a.classList.add(h):a.classList.remove(h))}determineValueLabelPosition(){const{valueLabelEl:e,meterContainerEl:i,currentPercent:t}=this,a=t>100?100:t>0?t:0;a+100*(e.getBoundingClientRect().width-0)/(i.getBoundingClientRect().width-0)>=100?(e.style.insetInlineEnd="0%",e.style.removeProperty("inset-inline-start")):(e.style.insetInlineStart=`${a}% `,e.style.removeProperty("inset-inline-end"))}renderMeterFill(){const{currentPercent:e,fillType:t}=this,a=this.getMeterKindCssClass();return i("div",{class:{fill:!0,[a]:"single"!==t},style:{width:`${e}%`}})}renderRangeLine(e){return i("div",{class:"step-line",style:{insetInlineStart:`${e}%`}})}renderValueLabel(){const{currentPercent:e,valueLabelType:t,unitLabel:a,value:l}=this,n=this.formatLabel("percent"===t?e/100:l||0,t);return i("div",{class:{[g]:!0,"label-value":!0},key:"low-label-line",ref:e=>this.valueLabelEl=e},n,a&&"percent"!==t&&i("span",{class:m}," ",a))}renderMinLabel(){const{rangeLabelType:e,min:t,minPercent:a,unitLabel:l}=this,n={insetInlineStart:`${a}%`},s=this.formatLabel("percent"===e?a:t,e);return i("div",{class:{[g]:!0,[v]:!0},key:"min-label-line",style:n,ref:e=>this.minLabelEl=e},s,l&&"percent"!==e&&i("span",{class:m}," ",l))}renderLowLabel(){const{rangeLabelType:e,low:t,lowPercent:a,highPercent:l,labelFlipProximity:n}=this,s=t?this.formatLabel("percent"===e?a/100:t,e):"";return i("div",{class:{[g]:!0,[v]:!0},key:"low-label-line",style:(l-a)/100<n?{insetInlineEnd:100-a+"%"}:{insetInlineStart:`${a}%`},ref:e=>this.lowLabelEl=e},s)}renderHighLabel(){const{rangeLabelType:e,high:t,highPercent:a,labelFlipMax:l}=this,n=t?this.formatLabel("percent"===e?a/100:t,e):"";return i("div",{class:{[g]:!0,[v]:!0},key:"high-label-line",style:a/100>=l?{insetInlineEnd:100-a+"%"}:{insetInlineStart:`${a}%`},ref:e=>this.highLabelEl=e},n)}renderMaxLabel(){const{rangeLabelType:e,max:t,maxPercent:a}=this,l={insetInlineEnd:100-a+"%"},n=this.formatLabel("percent"===e?a/100:t,e);return i("div",{class:{[g]:!0,[v]:!0},key:"max-label-line",style:l,ref:e=>this.maxLabelEl=e},n)}render(){const{appearance:e,currentPercent:a,highActive:l,highPercent:n,label:s,lowActive:r,lowPercent:c,max:o,maxPercent:h,min:d,minPercent:b,rangeLabels:u,rangeLabelType:p,unitLabel:g,value:v,valueLabel:m,valueLabelType:f}=this,L=this.formatLabel(a/100,"percent");return i(t,null,i("div",{"aria-label":s,"aria-valuemax":"percent"===p?h:o,"aria-valuemin":"percent"===p?b:d,"aria-valuenow":"percent"===f?a:v,"aria-valuetext":"percent"===f?L:g?`${v} ${g}`:void 0,class:{container:!0,"steps-visible":u,"value-visible":m,[e]:"outline-fill"!==e},role:"meter",ref:e=>this.meterContainerEl=e},this.renderMeterFill(),m&&this.renderValueLabel(),r&&this.renderRangeLine(c),l&&this.renderRangeLine(n),u&&this.renderMinLabel(),u&&r&&this.renderLowLabel(),u&&l&&this.renderHighLabel(),u&&this.renderMaxLabel()))}get el(){return a(this)}static get watchers(){return{min:["handleRangeChange"],max:["handleRangeChange"],low:["handleRangeChange"],high:["handleRangeChange"],value:["handleRangeChange"],rangeLabels:["handleLabelChange"],rangeLabelType:["handleLabelChange"],unitLabel:["handleLabelChange"],valueLabel:["handleLabelChange"],valueLabelType:["handleLabelChange"]}}};L.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([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host{display:flex;--calcite-meter-space-internal:0.125rem;--calcite-meter-height-internal:1rem;--calcite-meter-font-size-internal:var(--calcite-font-size--1)}:host([scale=s]){--calcite-meter-height-internal:0.75rem;--calcite-meter-font-size-internal:var(--calcite-font-size--2)}:host([scale=l]){--calcite-meter-height-internal:1.5rem;--calcite-meter-font-size-internal:var(--calcite-font-size-0)}.container{position:relative;margin:0px;display:flex;inline-size:100%;align-items:center;block-size:var(--calcite-meter-height-internal);background-color:var(--calcite-color-foreground-2);border:1px solid var(--calcite-color-border-3);border-radius:var(--calcite-meter-height-internal)}.solid{border:1px solid var(--calcite-color-foreground-3);background-color:var(--calcite-color-foreground-3)}.outline{background-color:transparent}.value-visible{margin-block-start:1.5rem}.steps-visible{margin-block-end:1.5rem}.step-line{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-meter-space-internal);background-color:var(--calcite-color-border-3)}.label{position:absolute;font-size:var(--calcite-meter-font-size-internal)}.label-hidden{visibility:hidden;opacity:0}.label-value{inset-block-end:calc(100% + 0.5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.label-range{color:var(--calcite-color-text-3);inset-block-start:calc(100% + 0.5em)}.unit-label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3)}.label-value .unit-label{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.fill{position:absolute;z-index:var(--calcite-z-index);display:block;background-color:var(--calcite-color-brand);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-inline-start:var(--calcite-meter-space-internal);inset-block:var(--calcite-meter-space-internal);border-radius:var(--calcite-meter-height-internal);max-inline-size:calc(100% - var(--calcite-meter-space-internal) * 2);min-inline-size:calc(var(--calcite-meter-height-internal) - var(--calcite-meter-space-internal) * 2);transition-property:inline-size, background-color, box-shadow}.fill-danger{background-color:var(--calcite-color-status-danger)}.fill-success{background-color:var(--calcite-color-status-success)}.fill-warning{background-color:var(--calcite-color-status-warning)}.solid .fill{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-meter-height-internal));box-shadow:0 0 0 1px var(--calcite-color-brand)}.solid .fill-danger{box-shadow:0 0 0 1px var(--calcite-color-status-danger)}.solid .fill-success{box-shadow:0 0 0 1px var(--calcite-color-status-success)}.solid .fill-warning{box-shadow:0 0 0 1px var(--calcite-color-status-warning)}";export{L as calcite_meter}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as a}from"./p-5fd1eb64.js";import"./p-78780f63.js";import"./p-cfccae7c.js";import"./p-ca97465b.js";import"./p-fcefdfff.js";import"./p-29d68474.js";import"./p-0c97de08.js";import"./p-c92fff33.js";import"./p-1e2ffee3.js";import"./p-722ae773.js";import"./p-0c07ad8a.js";import"./p-f10944e6.js";import"./p-ede84883.js";import"./p-5b566d55.js";import"./p-414240b2.js";import"./p-2d1b8cfa.js";import"./p-475ad635.js";import"./p-79ba73cb.js";import"./p-653af7e0.js";var r={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};a.locale(r,null,!0);export default r;
|
@@ -0,0 +1,36 @@
|
|
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 e,H as i,g as n}from"./p-78780f63.js";import{s as r}from"./p-36eb8399.js";import"./p-d89fff3a.js";import{r as s,N as o,c as a,e as h,A as u,a as c}from"./p-220ec0d1.js";import"./p-a230b270.js";import{g as l}from"./p-6b943f52.js";import"./p-225c4ca4.js";import"./p-4af32c75.js";import"./p-e1a4994d.js";import"./p-d918ec36.js";
|
7
|
+
/*! *****************************************************************************
|
8
|
+
Copyright (c) Microsoft Corporation.
|
9
|
+
|
10
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
11
|
+
purpose with or without fee is hereby granted.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
14
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
15
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
16
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
17
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
18
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
19
|
+
PERFORMANCE OF THIS SOFTWARE.
|
20
|
+
***************************************************************************** */
|
21
|
+
var f=function(){return f=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},f.apply(this,arguments)};function d(t,e){var i=e;return i.rawResponse=!1,s(t,i).then((function(t){var e={token:t.access_token,username:t.username,expires:new Date(Date.now()+(1e3*t.expires_in-1e3)),ssl:!0===t.ssl};return t.refresh_token&&(e.refreshToken=t.refresh_token),e}))}function p(t,e){var i=e;return i.params.referer="undefined"!=typeof window&&window.location&&window.location.host?window.location.host:o,s(t,i)}var w=/^https?:\/\/(\S+)\.arcgis\.com.+/;function v(t){return w.test(t)}function m(t){if(!w.test(t))return null;var e=t.match(w)[1].split(".").pop();return e.includes("dev")?"dev":e.includes("qa")?"qa":"production"}var g=function(){function t(t){if(this.clientId=t.clientId,this._refreshToken=t.refreshToken,this._refreshTokenExpires=t.refreshTokenExpires,this.username=t.username,this.password=t.password,this._token=t.token,this._tokenExpires=t.tokenExpires,this.portal=t.portal?a(t.portal):"https://www.arcgis.com/sharing/rest",this.ssl=t.ssl,this.provider=t.provider||"arcgis",this.tokenDuration=t.tokenDuration||20160,this.redirectUri=t.redirectUri,this.refreshTokenTTL=t.refreshTokenTTL||20160,this.server=t.server,this.federatedServers={},this.trustedDomains=[],t.server){var e=this.getServerRootUrl(t.server);this.federatedServers[e]={token:t.token,expires:t.tokenExpires}}this._pendingTokenRequests={}}return Object.defineProperty(t.prototype,"token",{get:function(){return this._token},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tokenExpires",{get:function(){return this._tokenExpires},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refreshToken",{get:function(){return this._refreshToken},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refreshTokenExpires",{get:function(){return this._refreshTokenExpires},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trustedServers",{get:function(){return console.log("DEPRECATED: use federatedServers instead"),this.federatedServers},enumerable:!1,configurable:!0}),t.beginOAuth2=function(e,i){void 0===i&&(i=window),e.duration&&console.log("DEPRECATED: 'duration' is deprecated - use 'expiration' instead");var n,r=f({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",state:e.clientId,locale:""},e),s=r.portal,o=r.provider,a=r.clientId,c=r.expiration,l=r.redirectUri,d=r.popup,p=r.popupWindowFeatures,w=r.state,v=r.locale,m=r.params;if(n="arcgis"===o?s+"/oauth2/authorize?client_id="+a+"&response_type=token&expiration="+(e.duration||c)+"&redirect_uri="+encodeURIComponent(l)+"&state="+w+"&locale="+v:s+"/oauth2/social/authorize?client_id="+a+"&socialLoginProviderName="+o+"&autoAccountCreateForSocial=true&response_type=token&expiration="+(e.duration||c)+"&redirect_uri="+encodeURIComponent(l)+"&state="+w+"&locale="+v,m&&(n=n+"&"+h(m)),d){var g,b=((g={promise:null,resolve:null,reject:null}).promise=new Promise((function(t,e){g.resolve=t,g.reject=e})),g);return i["__ESRI_REST_AUTH_HANDLER_"+a]=function(e,i){if(e){var n=JSON.parse(e);b.reject(new u(n.errorMessage,n.error))}else if(i){var r=JSON.parse(i);b.resolve(new t({clientId:a,portal:s,ssl:r.ssl,token:r.token,tokenExpires:new Date(r.expires),username:r.username}))}},i.open(n,"oauth-window",p),b.promise}i.location.href=n},t.completeOAuth2=function(e,i){void 0===i&&(i=window);var n=f({portal:"https://www.arcgis.com/sharing/rest",popup:!0},e),r=n.portal,s=n.clientId,o=n.popup;function a(e,n){try{var a=void 0,h="__ESRI_REST_AUTH_HANDLER_"+s;if(o&&(i.opener?i.opener.parent&&i.opener.parent[h]?a=i.opener.parent[h]:i.opener&&i.opener[h]&&(a=i.opener[h]):i!==i.parent&&i.parent&&i.parent[h]&&(a=i.parent[h]),a))return a(e?JSON.stringify(e):void 0,JSON.stringify(n)),void i.close()}catch(t){throw new u('Unable to complete authentication. It\'s possible you specified popup based oAuth2 but no handler from "beginOAuth2()" present. This generally happens because the "popup" option differs between "beginOAuth2()" and "completeOAuth2()".')}if(e)throw new u(e.errorMessage,e.error);return new t({clientId:s,portal:r,ssl:n.ssl,token:n.token,tokenExpires:n.expires,username:n.username})}var h=i.location.hash.replace(/^#/,"").split("&").reduce((function(t,e){var i=function(t){var e=t.split("="),i=e[1];return{key:decodeURIComponent(e[0]),value:decodeURIComponent(i)}}(e);return t[i.key]=i.value,t}),{});if(!h.access_token){var c=void 0,l="Unknown error";return h.error&&(c=h.error,l=h.error_description),a({error:c,errorMessage:l})}return a(void 0,{token:h.access_token,expires:new Date(Date.now()+1e3*parseInt(h.expires_in,10)-6e4),ssl:"true"===h.ssl,username:h.username})},t.fromParent=function(e,i){var n;return!i&&window&&(i=window),new Promise((function(r,s){i.addEventListener("message",n=function(e){if(e.source===i.parent&&e.data)try{return r(t.parentMessageHandler(e))}catch(t){return s(t)}},!1),i.parent.postMessage({type:"arcgis:auth:requestCredential"},e)})).then((function(t){return i.removeEventListener("message",n,!1),t}))},t.authorize=function(t,e){t.duration&&console.log("DEPRECATED: 'duration' is deprecated - use 'expiration' instead");var i=f({portal:"https://arcgis.com/sharing/rest",expiration:20160},t);e.writeHead(301,{Location:i.portal+"/oauth2/authorize?client_id="+i.clientId+"&expiration="+(t.duration||i.expiration)+"&response_type=code&redirect_uri="+encodeURIComponent(i.redirectUri)}),e.end()},t.exchangeAuthorizationCode=function(e,i){var n=f({portal:"https://www.arcgis.com/sharing/rest",refreshTokenTTL:20160},e),r=n.portal,s=n.clientId,o=n.redirectUri,a=n.refreshTokenTTL;return d(r+"/oauth2/token",{params:{grant_type:"authorization_code",client_id:s,redirect_uri:o,code:i}}).then((function(e){return new t({clientId:s,portal:r,ssl:e.ssl,redirectUri:o,refreshToken:e.refreshToken,refreshTokenTTL:a,refreshTokenExpires:new Date(Date.now()+60*(a-1)*1e3),token:e.token,tokenExpires:e.expires,username:e.username})}))},t.deserialize=function(e){var i=JSON.parse(e);return new t({clientId:i.clientId,refreshToken:i.refreshToken,refreshTokenExpires:new Date(i.refreshTokenExpires),username:i.username,password:i.password,token:i.token,tokenExpires:new Date(i.tokenExpires),portal:i.portal,ssl:i.ssl,tokenDuration:i.tokenDuration,redirectUri:i.redirectUri,refreshTokenTTL:i.refreshTokenTTL})},t.fromCredential=function(e){var i=void 0===e.ssl||e.ssl,n=e.expires||Date.now()+72e5;return new t({portal:e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest",ssl:i,token:e.token,username:e.userId,tokenExpires:new Date(n)})},t.parentMessageHandler=function(e){if("arcgis:auth:credential"===e.data.type)return t.fromCredential(e.data.credential);if("arcgis:auth:error"===e.data.type){var i=new Error(e.data.error.message);throw i.name=e.data.error.name,i}throw new Error("Unknown message type.")},t.prototype.toCredential=function(){return{expires:this.tokenExpires.getTime(),server:this.portal,ssl:this.ssl,token:this.token,userId:this.username}},t.prototype.getUser=function(t){var e=this;if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);var i=this.portal+"/community/self",n=f(f({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingUserRequest=s(i,n).then((function(t){return e._user=t,e._pendingUserRequest=null,t})),this._pendingUserRequest},t.prototype.getPortal=function(t){var e=this;if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);var i=this.portal+"/portals/self",n=f(f({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingPortalRequest=s(i,n).then((function(t){return e._portalInfo=t,e._pendingPortalRequest=null,t})),this._pendingPortalRequest},t.prototype.getUsername=function(){return this.username?Promise.resolve(this.username):this._user?Promise.resolve(this._user.username):this.getUser().then((function(t){return t.username}))},t.prototype.getToken=function(t,e){return n=t,r=v(i=this.portal),s=v(n),o=m(i),a=m(n),r&&s&&o===a||new RegExp(this.portal,"i").test(t)?this.getFreshToken(e):this.getTokenForServer(t,e);var i,n,r,s,o,a},t.prototype.validateAppAccess=function(t){return this.getToken(this.portal).then((function(e){return function(t,e,i){return void 0===i&&(i="https://www.arcgis.com/sharing/rest"),s(i+"/oauth2/validateAppAccess",{method:"POST",params:{f:"json",client_id:e,token:t}})}(e,t)}))},t.prototype.toJSON=function(){return{clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,refreshTokenTTL:this.refreshTokenTTL}},t.prototype.serialize=function(){return JSON.stringify(this)},t.prototype.enablePostMessageAuth=function(t,e){!e&&window&&(e=window),this._hostHandler=this.createPostMessageHandler(t),e.addEventListener("message",this._hostHandler,!1)},t.prototype.disablePostMessageAuth=function(t){!t&&window&&(t=window),t.removeEventListener("message",this._hostHandler,!1)},t.prototype.refreshSession=function(t){return this._user=null,this.username&&this.password?this.refreshWithUsernameAndPassword(t):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new u("Unable to refresh token."))},t.prototype.getServerRootUrl=function(t){var e=a(t).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/)[0].match(/(https?:\/\/)(.+)/),i=e[1],n=e[2].split("/"),r=n[0],s=n.slice(1);return""+i+r.toLowerCase()+"/"+s.join("/")},t.prototype.getDomainCredentials=function(t){return this.trustedDomains&&this.trustedDomains.length&&this.trustedDomains.some((function(e){return t.startsWith(e)}))?"include":"same-origin"},t.prototype.createPostMessageHandler=function(t){var e=this;return function(i){var n=t.indexOf(i.origin)>-1,r="arcgis:auth:requestCredential"===i.data.type,s=e.tokenExpires.getTime()>Date.now();if(n&&r){var o={};if(s){var a=e.toCredential();a.server=a.server.replace("/sharing/rest",""),o={type:"arcgis:auth:credential",credential:a}}else o={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Session token was expired, and not returned to the child application"}};i.source.postMessage(o,i.origin)}}},t.prototype.getTokenForServer=function(t,e){var i=this,n=this.getServerRootUrl(t),r=this.federatedServers[n];return r&&r.expires&&r.expires.getTime()>Date.now()?Promise.resolve(r.token):(this._pendingTokenRequests[n]||(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then((function(){return s(n+"/rest/info",{credentials:i.getDomainCredentials(t)}).then((function(r){if(r.owningSystemUrl){if(o=r.owningSystemUrl,h=a(function(t){if(!w.test(t))return t;switch(m(t)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}(i.portal)).replace(/https?:\/\//,""),c=a(o).replace(/https?:\/\//,""),new RegExp(c,"i").test(h))return s(r.owningSystemUrl+"/sharing/rest/info",e);throw new u(t+" is not federated with "+i.portal+".","NOT_FEDERATED")}var o,h,c;if(r.authInfo&&void 0!==i.federatedServers[n])return Promise.resolve({authInfo:r.authInfo});throw new u(t+" is not federated with any portal and is not explicitly trusted.","NOT_FEDERATED")})).then((function(t){return t.authInfo.tokenServicesUrl})).then((function(e){return i.token&&i.tokenExpires.getTime()>Date.now()?p(e,{params:{token:i.token,serverUrl:t,expiration:i.tokenDuration,client:"referer"}}):p(e,{params:{username:i.username,password:i.password,expiration:i.tokenDuration,client:"referer"}}).then((function(t){return i._token=t.token,i._tokenExpires=new Date(t.expires),t}))})).then((function(t){return i.federatedServers[n]={expires:new Date(t.expires),token:t.token},delete i._pendingTokenRequests[n],t.token}))}))),this._pendingTokenRequests[n])},t.prototype.getFreshToken=function(t){var e=this;return this.token&&!this.tokenExpires||this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshSession(t).then((function(t){return e._pendingTokenRequests[e.portal]=null,t.token}))),this._pendingTokenRequests[this.portal])},t.prototype.refreshWithUsernameAndPassword=function(t){var e=this,i=f({params:{username:this.username,password:this.password,expiration:this.tokenDuration}},t);return p(this.portal+"/generateToken",i).then((function(t){return e._token=t.token,e._tokenExpires=new Date(t.expires),e}))},t.prototype.refreshWithRefreshToken=function(t){var e=this;if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()<Date.now())return this.refreshRefreshToken(t);var i=f({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},t);return d(this.portal+"/oauth2/token",i).then((function(t){return e._token=t.token,e._tokenExpires=t.expires,e}))},t.prototype.refreshRefreshToken=function(t){var e=this,i=f({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},t);return d(this.portal+"/oauth2/token",i).then((function(t){return e._token=t.token,e._tokenExpires=t.expires,e._refreshToken=t.refreshToken,e._refreshTokenExpires=new Date(Date.now()+60*(e.refreshTokenTTL-1)*1e3),e}))},t.prototype.fetchAuthorizedDomains=function(){var t=this;return this.server||!this.portal?Promise.resolve(this):this.getPortal().then((function(e){return e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(t.trustedDomains=e.authorizedCrossOriginDomains.filter((function(t){return!t.startsWith("http://")})).map((function(t){return t.startsWith("https://")?t:"https://"+t}))),t}))},t}();
|
22
|
+
/** @license
|
23
|
+
* Copyright 2022 Esri
|
24
|
+
*
|
25
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
26
|
+
* you may not use this file except in compliance with the License.
|
27
|
+
* You may obtain a copy of the License at
|
28
|
+
*
|
29
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
30
|
+
*
|
31
|
+
* Unless required by applicable law or agreed to in writing, software
|
32
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
33
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
34
|
+
* See the License for the specific language governing permissions and
|
35
|
+
* limitations under the License.
|
36
|
+
*/function b(t){const e=function(t){const e=[];function i(e,r,s=[]){const o=function(t,e){const i=t.findIndex((t=>e===t.itemId));return i>=0?t[i]:null}(t,e);if(o){const t={id:e,dependencies:[]};s.indexOf(e)<0&&(s.push(e),o.dependencies.forEach((e=>{const r=n.indexOf(e);r>=0&&n.splice(r,1),i(e,t.dependencies,s)}))),r.push(t)}}let n=function(t){const e=t.map((t=>t.itemId));return t.forEach((t=>{(t.dependencies||[]).forEach((t=>{const i=e.indexOf(t);i>=0&&e.splice(i,1)}))})),e}(t);const r=t.filter((t=>n.indexOf(t.itemId)<0)).sort(((t,e)=>e.dependencies.length-t.dependencies.length));n=n.concat(r.map((t=>t.itemId)));let s=n.shift();for(;void 0!==s;)i(s,e),s=n.shift();return e}(t),i=e.reduce(((t,e)=>(t.push(e.id),t)),[]);return t.reduce(((n,r)=>{if(i.indexOf(r.itemId)>-1){const i=e.filter((t=>t.id===r.itemId));n.push(y(r,t,i[0].dependencies))}return n}),[])}function k(t,e,i,n){t.forEach((t=>{const r=t.name&&t.name.indexOf("||")>-1?t.name.split("||")[1].replace("}}","").trim():t.name;e.dependencies.push({id:i.itemId,title:`${r} (${n.id})`,value:`{{${i.itemId}.layer${t.id}.id}}`}),e.dependencies.push({id:i.itemId,title:`${r} (${n.name})`,value:`{{${i.itemId}.layer${t.id}.name||${r}}}`})}))}function y(t,e,i){return{id:t.itemId||"",title:t.item.title||"",dependencies:x(i,e),type:t.item.type||"",typeKeywords:t.item.typeKeywords||[]}}function x(t,e){const i=[],n=t.reduce(((t,e)=>(t.push(e.id),i.push(e),t)),[]);return e.reduce(((t,r)=>{const s=n.indexOf(r.itemId);return s>-1&&t.push(y(r,e,i[s].dependencies)),t}),[])}const E=class{async serializedAuthenticationWatchHandler(){this.authentication=this.serializedAuthentication?g.deserialize(this.serializedAuthentication):new g({})}async valueWatchHandler(){await this._loadSolution(this.solutionItemId)}constructor(e){t(this,e),this._solutionStoreHasChanges=!1,this._solutionEditorHasChanges=!1,this._solutionEditorHasErrors=!1,this._canSave=!1,this.authentication=new g({}),this.serializedAuthentication="",this.solutionItemId="",this.showLoading=!1,this._currentEditItemId="",this._organizationVariables="",this._solutionContentsComponent=void 0,this._solutionIsLoaded=!1,this._solutionVariables="",this._templateHierarchy=[],this._translations=void 0,this._treeOpen=!0,this.serializedAuthentication&&(this.authentication=g.deserialize(this.serializedAuthentication)),this._loadSolution(this.solutionItemId),window.addEventListener("solutionStoreHasChanges",(t=>{this._updateSaveability(this._solutionStoreHasChanges=t.detail,this._solutionEditorHasChanges,this._solutionEditorHasErrors)})),window.addEventListener("solutionEditorHasChanges",(t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges=t.detail,this._solutionEditorHasErrors)})),window.addEventListener("solutionEditorHasErrors",(t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges,this._solutionEditorHasErrors=t.detail)}))}async componentWillLoad(){return this._getTranslations()}render(){const t=c(r.getStoreInfo("spatialReferenceInfo"),"spatialReference"),n=r.getStoreInfo("featureServices").length>0,s=r.getStoreInfo("solutionData");var o;return this._solutionVariables=JSON.stringify(function(t,e){const i=[];return t.forEach((t=>{const n={id:t.itemId,title:t.item.title||t.item.name,type:t.type,value:void 0,dependencies:[{id:t.itemId,title:e.itemId,value:`{{${t.itemId}.itemId}}`}]};t.item.url&&n.dependencies.push({id:t.itemId,title:e.url,value:`{{${t.itemId}.url}}`}),"Feature Service"===t.type&&(n.dependencies.push({id:t.itemId,title:e.solutionExtent,value:`{{${t.itemId}.solutionExtent}}`}),k(t.properties.layers||[],n,t,e),k(t.properties.tables||[],n,t,e)),i.push(n)})),i}(s.templates,this._translations)),this._organizationVariables=JSON.stringify([{id:"",title:(o=this._translations).geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:o.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:o.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:o.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:o.solutionItemExtent,value:"{{solutionItemExtent}}"}]),e(i,null,this._solutionIsLoaded?null:e("calcite-loader",{label:""}),e("div",{class:"configuration-container"},e("div",{class:"configuration"},e("calcite-tabs",{class:"config-tabs"},e("calcite-tab-nav",{slot:"tab-nav"},e("calcite-tab-title",null,this._translations.definitionTab),n?e("calcite-tab-title",null,this._translations.spatialReferenceTab):null),e("calcite-tab",{class:"config-tab",selected:!0},e("div",{class:"config-solution"},e("div",{class:this._treeOpen?"config-inventory":"config-inventory-hide"},e("solution-contents",{id:"configInventory",key:`${this.solutionItemId}-contents`,ref:t=>this._solutionContentsComponent=t})),e("calcite-button",{appearance:"transparent",class:"collapse-btn","icon-start":this._treeOpen?"chevrons-left":"chevrons-right",id:"collapse-vars",onClick:()=>this._toggleTree(),scale:"s",title:this._treeOpen?this._translations.collapse:this._translations.expand}),e("div",{class:"config-item"},e("solution-item",{authentication:this.authentication,"item-id":this._currentEditItemId,key:`${this.solutionItemId}-item`,"organization-variables":this._organizationVariables,"solution-item-id":this.solutionItemId,"solution-variables":this._solutionVariables})))),n?e("calcite-tab",{class:"config-tab"},e("div",{class:"config-solution"},e("solution-spatial-ref",{defaultWkid:t,id:"configure-solution-spatial-ref",key:`${this.solutionItemId}-spatial-ref`,locked:!t,services:r.getStoreInfo("featureServices").map((t=>t.name))}))):null))))}_solutionItemSelected(t){this._currentEditItemId=t.detail}async getSpatialReferenceInfo(){return Promise.resolve(r.getStoreInfo("spatialReferenceInfo"))}async saveSolution(){this._solutionIsLoaded=!1,await r.saveSolution(),this._solutionIsLoaded=!0,this.solutionItemId=null}async unloadSolution(){this.solutionItemId=null}_initProps(){const t=r.getStoreInfo("solutionData");let e;this._templateHierarchy=[...b(t.templates)],this._solutionContentsComponent&&(this._solutionContentsComponent.templateHierarchy=this._templateHierarchy),this._templateHierarchy.length>0&&(e=r.getItemInfo(this._templateHierarchy[0].id)),this._currentEditItemId=e?e.itemId:""}async _loadSolution(t){return t?(this._solutionIsLoaded=!1,await r.loadSolution(t,this.authentication),this._initProps(),this._solutionIsLoaded=!0):this._reset(),Promise.resolve()}_reset(){this._currentEditItemId="",this._organizationVariables="",this._solutionVariables="",this._templateHierarchy=[]}_toggleTree(){this._treeOpen=!this._treeOpen}_updateSaveability(t,e,i){const n=(t||e)&&!i;this._canSave!==n&&window.dispatchEvent(new CustomEvent("solutionCanSave",{detail:n,bubbles:!0,cancelable:!1,composed:!0})),this._canSave=n}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}get el(){return n(this)}static get watchers(){return{serializedAuthentication:["serializedAuthenticationWatchHandler"],solutionItemId:["valueWatchHandler"]}}};E.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%}.config-solution{position:absolute;top:3.5rem;right:-1px;bottom:-1px;left:-1px;display:flex;padding:0.5rem}.config-inventory{display:inline;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-inventory-hide{display:none;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-item{position:relative;display:inline;flex-grow:1;overflow-y:auto;margin-inline-start:0.5rem}solution-contents{position:relative;height:100%}solution-item{position:relative;height:100%}solution-spatial-ref{position:relative;height:100%;width:100%;overflow-y:auto}";export{E as solution_configuration}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as s,h as r,H as t,g as e}from"./p-78780f63.js";const l=class{constructor(r){s(this,r)}render(){return r(t,null,r("slot",null))}get el(){return e(this)}};l.style=":host{display:block}";export{l as refine_results_flow_item}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as e,h as i,H as s,g as o}from"./p-78780f63.js";import{c as a,d as r,H as n}from"./p-cfccae7c.js";import{c as l,d as c,g as h}from"./p-722ae773.js";import{u as d,t as p}from"./p-ca97465b.js";import{c as f,d as m,n as b}from"./p-ede84883.js";import{c as g}from"./p-5b566d55.js";import{s as v,a as u,c as x,b as z}from"./p-f10944e6.js";import{c as y,s as w,d as k,u as j}from"./p-79ba73cb.js";import{c as H,u as L,d as C}from"./p-0c97de08.js";import{g as A}from"./p-fcefdfff.js";import{t as W}from"./p-6665fa1f.js";import"./p-0c07ad8a.js";import"./p-29d68474.js";import"./p-1e2ffee3.js";import"./p-c92fff33.js";import"./p-a82f35c9.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 D="readonly",I=class{constructor(s){t(this,s),this.calciteTextAreaInput=e(this,"calciteTextAreaInput",7),this.calciteTextAreaChange=e(this,"calciteTextAreaChange",7),this.guid=A(),this.handleInput=t=>{this.value=t.target.value,this.calciteTextAreaInput.emit()},this.handleChange=()=>{this.calciteTextAreaChange.emit()},this.contentSlotChangeHandler=()=>{this.value||this.el.childNodes.forEach((t=>{"#text"===t.nodeName&&(this.value=t.nodeValue.trim())}))},this.renderCharacterLimit=()=>this.maxLength?(this.localizedCharacterLengthObj=this.getLocalizedCharacterLength(),i("span",{class:"character-limit"},i("span",{class:{"character--over-limit":this.isCharacterLimitExceeded()}},this.localizedCharacterLengthObj.currentLength),"/",this.localizedCharacterLengthObj.maxLength)):null,this.resizeObserver=g("resize",(async()=>{await z(this);const{textAreaHeight:t,textAreaWidth:e,elHeight:i,elWidth:s,footerHeight:o,footerWidth:a}=this.getHeightAndWidthOfElements();a>0&&a!==e&&(this.footerEl.style.width=`${e}px`),s===e&&i===t+(o||0)||this.setHeightAndWidthToAuto()})),this.setTextAreaEl=t=>{this.textAreaEl=t,this.resizeObserver.observe(t)},this.setHeightAndWidthToAuto=W((()=>{"vertical"!==this.resize&&"both"!==this.resize||(this.el.style.height="auto"),"horizontal"!==this.resize&&"both"!==this.resize||(this.el.style.width="auto")}),100,{leading:!1}),this.autofocus=!1,this.columns=void 0,this.disabled=!1,this.form=void 0,this.groupSeparator=!1,this.label=void 0,this.maxLength=void 0,this.messages=void 0,this.name=void 0,this.numberingSystem=void 0,this.placeholder=void 0,this.readOnly=!1,this.required=!1,this.resize="both",this.rows=void 0,this.scale="m",this.status="idle",this.value=void 0,this.wrap="soft",this.messageOverrides=void 0,this.defaultMessages=void 0,this.endSlotHasElements=void 0,this.startSlotHasElements=void 0,this.effectiveLocale="",this.localizedCharacterLengthObj=void 0}onMessagesChange(){}connectedCallback(){H(this),l(this),a(this),f(this),y(this)}async componentWillLoad(){v(this),await w(this)}componentDidLoad(){u(this)}componentDidRender(){L(this),this.setTextAreaHeight()}disconnectedCallback(){var t;C(this),c(this),r(this),m(this),k(this),null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){const t=this.startSlotHasElements||this.endSlotHasElements||!!this.maxLength;return i(s,null,i("textarea",{"aria-describedby":this.guid,"aria-invalid":p(this.isCharacterLimitExceeded()),"aria-label":h(this),autofocus:this.autofocus,class:{[D]:this.readOnly,"text-area--invalid":this.isCharacterLimitExceeded(),"footer--slotted":this.endSlotHasElements&&this.startSlotHasElements,"block-size--full":!t,"border--color":!t},cols:this.columns,disabled:this.disabled,name:this.name,onChange:this.handleChange,onInput:this.handleInput,placeholder:this.placeholder,readonly:this.readOnly,required:this.required,rows:this.rows,value:this.value,wrap:this.wrap,ref:this.setTextAreaEl}),i("span",{class:{content:!0}},i("slot",{onSlotchange:this.contentSlotChangeHandler})),i("footer",{class:{footer:!0,[D]:this.readOnly,hide:!t},ref:t=>this.footerEl=t},i("div",{class:{container:!0,"footer--end-only":!this.startSlotHasElements&&this.endSlotHasElements}},i("slot",{name:"footer-start",onSlotchange:t=>this.startSlotHasElements=d(t)}),i("slot",{name:"footer-end",onSlotchange:t=>this.endSlotHasElements=d(t)})),this.renderCharacterLimit()),i(n,{component:this}),this.isCharacterLimitExceeded()&&i("span",{"aria-hidden":!0,"aria-live":"polite",class:"assistive-text",id:this.guid},this.replacePlaceHoldersInMessages()))}async setFocus(){await x(this),this.textAreaEl.focus()}async selectText(){await z(this),this.textAreaEl.select()}effectiveLocaleChange(){j(this,this.effectiveLocale)}onFormReset(){this.value=this.defaultValue}onLabelClick(){this.setFocus()}getLocalizedCharacterLength(){const t=this.value?this.value.length.toString():"0",e=this.maxLength.toString();return"latn"===this.numberingSystem?{currentLength:t,maxLength:e}:(b.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"never",useGrouping:this.groupSeparator},{currentLength:b.localize(t),maxLength:b.localize(e)})}syncHiddenFormInput(t){t.setCustomValidity(""),this.isCharacterLimitExceeded()&&t.setCustomValidity(this.replacePlaceHoldersInMessages())}setTextAreaHeight(){const{textAreaHeight:t,elHeight:e,footerHeight:i}=this.getHeightAndWidthOfElements();i>0&&t+i!=e&&(this.textAreaEl.style.height=e-i+"px")}getHeightAndWidthOfElements(){var t;const{height:e,width:i}=this.textAreaEl.getBoundingClientRect(),{height:s,width:o}=this.el.getBoundingClientRect(),{height:a,width:r}=null===(t=this.footerEl)||void 0===t?void 0:t.getBoundingClientRect();return{textAreaHeight:e,textAreaWidth:i,elHeight:s,elWidth:o,footerHeight:a,footerWidth:r}}replacePlaceHoldersInMessages(){return this.messages.tooLong.replace("{maxLength}",this.localizedCharacterLengthObj.maxLength).replace("{currentLength}",this.localizedCharacterLengthObj.currentLength)}isCharacterLimitExceeded(){var t;return(null===(t=this.value)||void 0===t?void 0:t.length)>this.maxLength}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};I.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:inline-block;block-size:100%;inline-size:100%}textarea{position:relative;margin:0px;box-sizing:border-box;display:block;inline-size:100%;border-width:1px;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1);min-inline-size:12rem;border-block-end:1px solid var(--calcite-color-border-3)}@media screen and (max-width: 480px){textarea{resize:none}}textarea: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 )}textarea.text-area--invalid{border-width:1px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-status-danger)}textarea.text-area--invalid:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}textarea.footer--slotted{min-inline-size:18rem}.footer{box-sizing:border-box;display:flex;align-items:center;border-width:1px;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1)}.character-limit{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-status-danger)}:host([resize=none]) textarea{resize:none}:host([resize=horizontal]) textarea{resize:horizontal}:host([resize=vertical]) textarea{resize:vertical}:host([scale=s]){font-size:var(--calcite-font-size--2)}:host([scale=s]) .footer{padding-block:0.25rem;padding-inline:0.5rem;min-block-size:1.75rem}:host([scale=s]) textarea{padding-block:0.25rem;padding-inline:0.5rem}:host([scale=s]) textarea,:host([scale=s]) .footer,:host([scale=s]) .character-limit{padding-inline-start:0.5rem;font-size:var(--calcite-font-size--2)}:host([scale=m]) textarea{padding-block:0.5rem;padding-inline:0.75rem}:host([scale=m]) .footer{padding-block:0.5rem;padding-inline:0.75rem;min-block-size:2.25rem}:host([scale=m]) textarea,:host([scale=m]) .footer,:host([scale=m]) .character-limit{padding-inline-start:0.75rem;font-size:var(--calcite-font-size--1)}:host([scale=l]){font-size:var(--calcite-font-size-0)}:host([scale=l]) textarea{padding-block:0.75rem;padding-inline:1rem}:host([scale=l]) .footer{padding-block:0.75rem;padding-inline:1rem;min-block-size:2.75rem}:host([scale=l]) textarea,:host([scale=l]) .footer,:host([scale=l]) .character-limit{padding-inline-start:1rem;font-size:var(--calcite-font-size-0)}:host([status=invalid]) textarea{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.readonly{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}:host([disabled]) textarea,:host([disabled]) footer{opacity:0.5}.border--color{border-block-end-width:1px;border-color:var(--calcite-color-border-input)}.border--color:focus{border-block-end-width:2px}textarea.block-size--full{block-size:100%}.content,.hide{display:none}.container{display:flex;inline-size:100%;justify-content:space-between}.footer--end-only{justify-content:flex-end}.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}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{I as calcite_text_area}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,h as e,H as o,g as n}from"./p-78780f63.js";import{g as s,i as r,x as a,a as l}from"./p-ca97465b.js";import{s as c,c as h,d as u,H as d}from"./p-cfccae7c.js";import{c as m,d as b,u as p}from"./p-0c97de08.js";import{n as v}from"./p-1e2ffee3.js";import{c as f,d as g,g as x}from"./p-722ae773.js";import{a as w,s as y,c as z}from"./p-f10944e6.js";import{n as k,i as j,p as I,s as E,e as C,c as D,d as W,B as L}from"./p-ede84883.js";import{c as N}from"./p-5b566d55.js";import{C as F}from"./p-29d68474.js";import{u as P,c as $,d as A,s as H}from"./p-79ba73cb.js";import{g as R}from"./p-0c07ad8a.js";import"./p-fcefdfff.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 V="number-button-item--horizontal",K="number-button-item",M=class{constructor(e){t(this,e),this.calciteInternalInputNumberFocus=i(this,"calciteInternalInputNumberFocus",6),this.calciteInternalInputNumberBlur=i(this,"calciteInternalInputNumberBlur",6),this.calciteInputNumberInput=i(this,"calciteInputNumberInput",7),this.calciteInputNumberChange=i(this,"calciteInputNumberChange",6),this.previousValueOrigin="initial",this.mutationObserver=N("mutation",(()=>this.setDisabledAction())),this.userChangedValue=!1,this.keyDownHandler=t=>{this.readOnly||this.disabled||(this.isClearable&&"Escape"===t.key&&(this.clearInputValue(t),t.preventDefault()),"Enter"!==t.key||t.defaultPrevented||c(this)&&t.preventDefault())},this.clearInputValue=t=>{this.setNumberValue({committing:!0,nativeEvent:t,origin:"user",value:""})},this.emitChangeIfUserModified=()=>{"user"===this.previousValueOrigin&&this.value!==this.previousEmittedNumberValue&&(this.calciteInputNumberChange.emit(),this.setPreviousEmittedNumberValue(this.value))},this.inputNumberBlurHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId),this.calciteInternalInputNumberBlur.emit(),this.emitChangeIfUserModified()},this.clickHandler=t=>{if(this.disabled)return;const i=s(this.el,"action");t.target!==i&&this.setFocus()},this.inputNumberFocusHandler=()=>{this.calciteInternalInputNumberFocus.emit()},this.inputNumberInputHandler=t=>{if(this.disabled||this.readOnly)return;const i=t.target.value;k.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const e=k.delocalize(i);"insertFromPaste"===t.inputType?((!j(e)||this.integer&&(e.includes("e")||e.includes(".")))&&t.preventDefault(),this.setNumberValue({nativeEvent:t,origin:"user",value:I(e)}),this.childNumberEl.value=this.localizedValue):this.setNumberValue({nativeEvent:t,origin:"user",value:e})},this.inputNumberKeyDownHandler=t=>{if(this.disabled||this.readOnly)return;if("ArrowUp"===t.key)return t.preventDefault(),void this.nudgeNumberValue("up",t);if("ArrowDown"===t.key)return void this.nudgeNumberValue("down",t);const i=[...v,"ArrowLeft","ArrowRight","Backspace","Delete","Enter","Escape","Tab"];if(t.altKey||t.ctrlKey||t.metaKey)return;const e=t.shiftKey&&"Tab"===t.key;if(i.includes(t.key)||e)"Enter"===t.key&&this.emitChangeIfUserModified();else{if(k.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},t.key===k.decimal&&!this.integer){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&-1===this.childNumberEl.value.indexOf(k.decimal))return}if(/[eE]/.test(t.key)&&!this.integer){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&!/[eE]/.test(this.childNumberEl.value))return}if("-"===t.key){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&this.childNumberEl.value.split("-").length<=2)return}t.preventDefault()}},this.nudgeNumberValue=(t,i)=>{if(i instanceof KeyboardEvent&&i.repeat)return;const e=this.maxString?parseFloat(this.maxString):null,o=this.minString?parseFloat(this.minString):null;this.incrementOrDecrementNumberValue(t,e,o,i),this.nudgeNumberValueIntervalId&&window.clearInterval(this.nudgeNumberValueIntervalId);let n=!0;this.nudgeNumberValueIntervalId=window.setInterval((()=>{n?n=!1:this.incrementOrDecrementNumberValue(t,e,o,i)}),150)},this.nudgeButtonPointerUpHandler=t=>{r(t)&&window.clearInterval(this.nudgeNumberValueIntervalId)},this.nudgeButtonPointerOutHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)},this.nudgeButtonPointerDownHandler=t=>{r(t)&&(t.preventDefault(),this.disabled||this.nudgeNumberValue(t.target.dataset.adjustment,t))},this.hiddenInputChangeHandler=t=>{t.target.name===this.name&&this.setNumberValue({value:t.target.value,origin:"direct"}),t.stopPropagation()},this.setChildNumberElRef=t=>{this.childNumberEl=t},this.setInputNumberValue=t=>{this.childNumberEl&&(this.childNumberEl.value=t)},this.setPreviousEmittedNumberValue=t=>{this.previousEmittedNumberValue=this.normalizeValue(t)},this.setPreviousNumberValue=t=>{this.previousValue=this.normalizeValue(t)},this.setNumberValue=({committing:t=!1,nativeEvent:i,origin:e,previousValue:o,value:n})=>{var s,r;k.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const a=(null===(s=this.previousValue)||void 0===s?void 0:s.length)>n.length||(null===(r=this.value)||void 0===r?void 0:r.length)>n.length,l=this.integer?n.replace(/[e.]/g,""):n,c="."===l.charAt(l.length-1),h=c&&a?l:E(l),u=n&&!h?j(this.previousValue)?this.previousValue:"":h;let d=k.localize(u);"connected"===e||c||(d=C(d,u,k)),this.localizedValue=c&&a?`${d}${k.decimal}`:d,this.setPreviousNumberValue(null!=o?o:this.value),this.previousValueOrigin=e,this.userChangedValue="user"===e&&this.value!==u,this.value=["-","."].includes(u)?"":u,"direct"===e&&(this.setInputNumberValue(d),this.setPreviousEmittedNumberValue(d)),i&&(this.calciteInputNumberInput.emit().defaultPrevented?(this.value=this.previousValue,this.localizedValue=k.localize(this.previousValue)):t&&this.emitChangeIfUserModified())},this.inputNumberKeyUpHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)},this.alignment="start",this.autofocus=!1,this.clearable=!1,this.disabled=!1,this.form=void 0,this.groupSeparator=!1,this.hidden=!1,this.icon=void 0,this.iconFlipRtl=!1,this.integer=!1,this.label=void 0,this.loading=!1,this.numberingSystem=void 0,this.localeFormat=!1,this.max=void 0,this.min=void 0,this.maxLength=void 0,this.minLength=void 0,this.name=void 0,this.numberButtonType="vertical",this.placeholder=void 0,this.prefixText=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.step=void 0,this.autocomplete=void 0,this.inputMode="decimal",this.enterKeyHint=void 0,this.suffixText=void 0,this.editingEnabled=!1,this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.localizedValue=void 0,this.slottedActionElDisabledInternally=!1}disabledWatcher(){this.setDisabledAction()}maxWatcher(){var t;this.maxString=(null===(t=this.max)||void 0===t?void 0:t.toString())||null}minWatcher(){var t;this.minString=(null===(t=this.min)||void 0===t?void 0:t.toString())||null}onMessagesChange(){}valueWatcher(t,i){this.userChangedValue||(this.setNumberValue({origin:"direct",previousValue:i,value:null==t||""==t?"":j(t)?t:this.previousValue||""}),this.warnAboutInvalidNumberValue(t)),this.userChangedValue=!1}updateRequestedIcon(){this.requestedIcon=a({},this.icon,"number")}get isClearable(){return this.clearable&&this.value.length>0}effectiveLocaleWatcher(t){P(this,this.effectiveLocale),k.numberFormatOptions={locale:t,numberingSystem:this.numberingSystem,useGrouping:!1}}connectedCallback(){var t;m(this),D(this),$(this),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),f(this),h(this),this.setPreviousEmittedNumberValue(this.value),this.setPreviousNumberValue(this.value),this.warnAboutInvalidNumberValue(this.value),this.setNumberValue({origin:"connected",value:j(this.value)?this.value:""}),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0}),this.setDisabledAction(),this.el.addEventListener("calciteInternalHiddenInputChange",this.hiddenInputChangeHandler)}componentDidLoad(){w(this)}disconnectedCallback(){var t;b(this),g(this),u(this),W(this),A(this),null===(t=this.mutationObserver)||void 0===t||t.disconnect(),this.el.removeEventListener("calciteInternalHiddenInputChange",this.hiddenInputChangeHandler)}async componentWillLoad(){var t,i;y(this),this.maxString=null===(t=this.max)||void 0===t?void 0:t.toString(),this.minString=null===(i=this.min)||void 0===i?void 0:i.toString(),this.requestedIcon=a({},this.icon,"number"),await H(this)}componentShouldUpdate(t,i,e){return!("value"===e&&t&&!j(t)&&(this.setNumberValue({origin:"reset",value:i}),1))}componentDidRender(){p(this)}async setFocus(){var t;await z(this),null===(t=this.childNumberEl)||void 0===t||t.focus()}async selectText(){var t;null===(t=this.childNumberEl)||void 0===t||t.select()}onLabelClick(){this.setFocus()}incrementOrDecrementNumberValue(t,i,e,o){const{value:n}=this,s="up"===t?1:-1,r=this.integer&&"any"!==this.step?Math.round(this.step):this.step,a="any"===r?1:Math.abs(r||1),l=new L(""!==n?n:"0").add(""+a*s),c="number"==typeof e&&!isNaN(e)&&l.subtract(`${e}`).isNegative?`${e}`:"number"!=typeof i||isNaN(i)||l.subtract(`${i}`).isNegative?l.toString():`${i}`;this.setNumberValue({committing:!0,nativeEvent:o,origin:"user",value:c})}onFormReset(){this.setNumberValue({origin:"reset",value:this.defaultValue})}syncHiddenFormInput(t){var i,e,o,n;t.type="number",t.min=null!==(e=null===(i=this.min)||void 0===i?void 0:i.toString(10))&&void 0!==e?e:"",t.max=null!==(n=null===(o=this.max)||void 0===o?void 0:o.toString(10))&&void 0!==n?n:""}setDisabledAction(){const t=s(this.el,"action");t&&(this.disabled?(null==t.getAttribute("disabled")&&(this.slottedActionElDisabledInternally=!0),t.setAttribute("disabled","")):this.slottedActionElDisabledInternally&&(t.removeAttribute("disabled"),this.slottedActionElDisabledInternally=!1))}normalizeValue(t){return j(t)?t:""}warnAboutInvalidNumberValue(t){t&&!j(t)&&console.warn(`The specified value "${t}" cannot be parsed, or is out of range.`)}render(){const t=l(this.el),i=e("div",{class:"loader"},e("calcite-progress",{label:this.messages.loading,type:"indeterminate"})),n=e("button",{"aria-label":this.messages.clear,class:"clear-button",disabled:this.disabled||this.readOnly,onClick:this.clearInputValue,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"x",scale:R(this.scale)})),s=e("calcite-icon",{class:"icon",flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:R(this.scale)}),r="horizontal"===this.numberButtonType,a=e("button",{"aria-hidden":"true",class:{[K]:!0,[V]:r},"data-adjustment":"up",disabled:this.disabled||this.readOnly,onPointerDown:this.nudgeButtonPointerDownHandler,onPointerOut:this.nudgeButtonPointerOutHandler,onPointerUp:this.nudgeButtonPointerUpHandler,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"chevron-up",scale:R(this.scale)})),c=e("button",{"aria-hidden":"true",class:{[K]:!0,[V]:r},"data-adjustment":"down",disabled:this.disabled||this.readOnly,onPointerDown:this.nudgeButtonPointerDownHandler,onPointerOut:this.nudgeButtonPointerOutHandler,onPointerUp:this.nudgeButtonPointerUpHandler,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"chevron-down",scale:R(this.scale)})),h=e("div",{class:"number-button-wrapper"},a,c),u=e("div",{class:"prefix"},this.prefixText),m=e("div",{class:"suffix"},this.suffixText),b=e("input",{"aria-label":x(this),autocomplete:this.autocomplete,autofocus:!!this.autofocus||null,defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.enterKeyHint,inputMode:this.inputMode,key:"localized-input",maxLength:this.maxLength,minLength:this.minLength,name:void 0,onBlur:this.inputNumberBlurHandler,onFocus:this.inputNumberFocusHandler,onInput:this.inputNumberInputHandler,onKeyDown:this.inputNumberKeyDownHandler,onKeyUp:this.inputNumberKeyUpHandler,placeholder:this.placeholder||"",readOnly:this.readOnly,type:"text",value:this.localizedValue,ref:this.setChildNumberElRef});return e(o,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},e("div",{class:{wrapper:!0,[F.rtl]:"rtl"===t}},"horizontal"!==this.numberButtonType||this.readOnly?null:c,this.prefixText?u:null,e("div",{class:"element-wrapper"},b,this.isClearable?n:null,this.requestedIcon?s:null,this.loading?i:null),e("div",{class:"action-wrapper"},e("slot",{name:"action"})),"vertical"!==this.numberButtonType||this.readOnly?null:h,this.suffixText?m:null,"horizontal"!==this.numberButtonType||this.readOnly?null:a,e(d,{component:this})))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{disabled:["disabledWatcher"],max:["maxWatcher"],min:["minWatcher"],messageOverrides:["onMessagesChange"],value:["valueWatcher"],icon:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleWatcher"]}}};M.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:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}input{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;text-overflow:ellipsis;border-radius:0px;background-color:var(--calcite-color-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}input:-moz-placeholder-shown{text-overflow:ellipsis}input:placeholder-shown{text-overflow:ellipsis}input{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);color:var(--calcite-color-text-1)}input::placeholder,input:-ms-input-placeholder,input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}input:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1)}input[readonly]{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}input[readonly]:focus{color:var(--calcite-color-text-1)}calcite-icon{color:var(--calcite-color-text-3)}input{outline-color:transparent}input: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([status=invalid]) input{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);display:block;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-color-foreground-2);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-color-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-color-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-color-text-1)}.clear-button: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 )}.clear-button:disabled{opacity:var(--calcite-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-color-text-2)}.prefix{order:2;border-inline-end-width:0px}.suffix{order:5;border-inline-start-width:0px}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.number-button-wrapper{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0px;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);padding-block:0px;padding-inline:0.5rem;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.number-button-item:focus{background-color:var(--calcite-color-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-color-text-1)}.number-button-item:active{background-color:var(--calcite-color-foreground-3)}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}.inline-child{background-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.inline-child .editing-enabled{background-color:inherit}.inline-child:not(.editing-enabled){display:flex;cursor:pointer;border-color:transparent;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{M as calcite_input_number}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as e}from"./p-5fd1eb64.js";import"./p-78780f63.js";import"./p-cfccae7c.js";import"./p-ca97465b.js";import"./p-fcefdfff.js";import"./p-29d68474.js";import"./p-0c97de08.js";import"./p-c92fff33.js";import"./p-1e2ffee3.js";import"./p-722ae773.js";import"./p-0c07ad8a.js";import"./p-f10944e6.js";import"./p-ede84883.js";import"./p-5b566d55.js";import"./p-414240b2.js";import"./p-2d1b8cfa.js";import"./p-475ad635.js";import"./p-79ba73cb.js";import"./p-653af7e0.js";var m={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};e.locale(m,null,!0);export default m;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,h as e,H as s,g as n}from"./p-78780f63.js";import{g as o,x as a,a as l}from"./p-ca97465b.js";import{s as r,c,d as h,H as d}from"./p-cfccae7c.js";import{c as p,d as u,u as m}from"./p-0c97de08.js";import{c as b,d as f,g as v}from"./p-722ae773.js";import{s as g,a as x,c as w}from"./p-f10944e6.js";import{c as k,d as y}from"./p-ede84883.js";import{c as z}from"./p-5b566d55.js";import{C as I}from"./p-29d68474.js";import{u as j,c as C,d as L,s as D}from"./p-79ba73cb.js";import{g as E}from"./p-0c07ad8a.js";import"./p-fcefdfff.js";import"./p-c92fff33.js";import"./p-1e2ffee3.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 H=class{constructor(e){t(this,e),this.calciteInternalInputTextFocus=i(this,"calciteInternalInputTextFocus",7),this.calciteInternalInputTextBlur=i(this,"calciteInternalInputTextBlur",7),this.calciteInputTextInput=i(this,"calciteInputTextInput",7),this.calciteInputTextChange=i(this,"calciteInputTextChange",7),this.previousValueOrigin="initial",this.mutationObserver=z("mutation",(()=>this.setDisabledAction())),this.userChangedValue=!1,this.keyDownHandler=t=>{this.readOnly||this.disabled||(this.isClearable&&"Escape"===t.key&&(this.clearInputTextValue(t),t.preventDefault()),"Enter"!==t.key||t.defaultPrevented||r(this)&&t.preventDefault())},this.clearInputTextValue=t=>{this.setValue({committing:!0,nativeEvent:t,origin:"user",value:""})},this.emitChangeIfUserModified=()=>{"user"===this.previousValueOrigin&&this.value!==this.previousEmittedValue&&(this.calciteInputTextChange.emit(),this.setPreviousEmittedValue(this.value))},this.inputTextBlurHandler=()=>{this.calciteInternalInputTextBlur.emit({element:this.childEl,value:this.value}),this.emitChangeIfUserModified()},this.clickHandler=t=>{if(this.disabled)return;const i=o(this.el,"action");t.target!==i&&this.setFocus()},this.inputTextFocusHandler=()=>{this.calciteInternalInputTextFocus.emit({element:this.childEl,value:this.value})},this.inputTextInputHandler=t=>{this.disabled||this.readOnly||this.setValue({nativeEvent:t,origin:"user",value:t.target.value})},this.inputTextKeyDownHandler=t=>{this.disabled||this.readOnly||"Enter"===t.key&&this.emitChangeIfUserModified()},this.hiddenInputChangeHandler=t=>{t.target.name===this.name&&this.setValue({value:t.target.value,origin:"direct"}),t.stopPropagation()},this.setChildElRef=t=>{this.childEl=t},this.setInputValue=t=>{this.childEl&&(this.childEl.value=t)},this.setPreviousEmittedValue=t=>{this.previousEmittedValue=t},this.setPreviousValue=t=>{this.previousValue=t},this.setValue=({committing:t=!1,nativeEvent:i,origin:e,previousValue:s,value:n})=>{this.setPreviousValue(null!=s?s:this.value),this.previousValueOrigin=e,this.userChangedValue="user"===e&&n!==this.value,this.value=n,"direct"===e&&(this.setInputValue(n),this.setPreviousEmittedValue(n)),i&&(this.calciteInputTextInput.emit().defaultPrevented?this.value=this.previousValue:t&&this.emitChangeIfUserModified())},this.alignment="start",this.autofocus=!1,this.clearable=!1,this.disabled=!1,this.form=void 0,this.hidden=!1,this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.loading=!1,this.maxLength=void 0,this.minLength=void 0,this.name=void 0,this.placeholder=void 0,this.prefixText=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.autocomplete=void 0,this.inputMode="text",this.enterKeyHint=void 0,this.pattern=void 0,this.suffixText=void 0,this.editingEnabled=!1,this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0,this.slottedActionElDisabledInternally=!1}disabledWatcher(){this.setDisabledAction()}onMessagesChange(){}valueWatcher(t,i){this.userChangedValue||this.setValue({origin:"direct",previousValue:i,value:t||""}),this.userChangedValue=!1}updateRequestedIcon(){this.requestedIcon=a({},this.icon,"text")}get isClearable(){return this.clearable&&this.value.length>0}effectiveLocaleChange(){j(this,this.effectiveLocale)}connectedCallback(){var t;p(this),k(this),C(this),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),this.setPreviousEmittedValue(this.value),this.setPreviousValue(this.value),b(this),c(this),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0}),this.setDisabledAction(),this.el.addEventListener("calciteInternalHiddenInputChange",this.hiddenInputChangeHandler)}disconnectedCallback(){var t;u(this),f(this),h(this),y(this),L(this),null===(t=this.mutationObserver)||void 0===t||t.disconnect(),this.el.removeEventListener("calciteInternalHiddenInputChange",this.hiddenInputChangeHandler)}async componentWillLoad(){g(this),this.requestedIcon=a({},this.icon,"text"),await D(this)}componentDidLoad(){x(this)}componentDidRender(){m(this)}async setFocus(){var t;await w(this),null===(t=this.childEl)||void 0===t||t.focus()}async selectText(){var t;null===(t=this.childEl)||void 0===t||t.select()}onLabelClick(){this.setFocus()}onFormReset(){this.setValue({origin:"reset",value:this.defaultValue})}syncHiddenFormInput(t){null!=this.minLength&&(t.minLength=this.minLength),null!=this.maxLength&&(t.maxLength=this.maxLength)}setDisabledAction(){const t=o(this.el,"action");t&&(this.disabled?(null==t.getAttribute("disabled")&&(this.slottedActionElDisabledInternally=!0),t.setAttribute("disabled","")):this.slottedActionElDisabledInternally&&(t.removeAttribute("disabled"),this.slottedActionElDisabledInternally=!1))}render(){const t=l(this.el),i=e("div",{class:"loader"},e("calcite-progress",{label:this.messages.loading,type:"indeterminate"})),n=e("button",{"aria-label":this.messages.clear,class:"clear-button",disabled:this.disabled||this.readOnly,onClick:this.clearInputTextValue,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"x",scale:E(this.scale)})),o=e("calcite-icon",{class:"icon",flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:E(this.scale)}),a=e("div",{class:"prefix"},this.prefixText),r=e("div",{class:"suffix"},this.suffixText),c=e("input",{"aria-label":v(this),autocomplete:this.autocomplete,autofocus:!!this.autofocus||null,class:{"editing-enabled":this.editingEnabled,"inline-child":!!this.inlineEditableEl},defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.enterKeyHint,inputMode:this.inputMode,maxLength:this.maxLength,minLength:this.minLength,name:this.name,onBlur:this.inputTextBlurHandler,onFocus:this.inputTextFocusHandler,onInput:this.inputTextInputHandler,onKeyDown:this.inputTextKeyDownHandler,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readOnly,required:!!this.required||null,tabIndex:this.disabled||this.inlineEditableEl&&!this.editingEnabled?-1:null,type:"text",value:this.value,ref:this.setChildElRef});return e(s,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},e("div",{class:{wrapper:!0,[I.rtl]:"rtl"===t}},this.prefixText?a:null,e("div",{class:"element-wrapper"},c,this.isClearable?n:null,this.requestedIcon?o:null,this.loading?i:null),e("div",{class:"action-wrapper"},e("slot",{name:"action"})),this.suffixText?r:null,e(d,{component:this})))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{disabled:["disabledWatcher"],messageOverrides:["onMessagesChange"],value:["valueWatcher"],icon:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};H.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) input{padding-inline-start:0.5rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, 0.5rem)}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .prefix,:host([scale=s]) .suffix{padding-inline:0.5rem}:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input{padding-inline-start:0.75rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, 0.75rem)}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .prefix,:host([scale=m]) .suffix{padding-inline:0.75rem}:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input{padding-inline-start:1rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, 1rem)}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .prefix,:host([scale=l]) .suffix{padding-inline:1rem}:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}input{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;text-overflow:ellipsis;border-radius:0px;background-color:var(--calcite-color-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}input:-moz-placeholder-shown{text-overflow:ellipsis}input:placeholder-shown{text-overflow:ellipsis}input{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);color:var(--calcite-color-text-1)}input::placeholder,input:-ms-input-placeholder,input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}input:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1)}input[readonly]{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}input[readonly]:focus{color:var(--calcite-color-text-1)}calcite-icon{color:var(--calcite-color-text-3)}input{outline-color:transparent}input: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([status=invalid]) input{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);display:block;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;block-size:0px;inline-size:0px}.clear-button{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-color-foreground-2);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-color-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-color-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-color-text-1)}.clear-button: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 )}.clear-button:disabled{opacity:var(--calcite-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-color-text-2)}.prefix{order:2;border-inline-end-width:0px}.suffix{order:5;border-inline-start-width:0px}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}.inline-child{background-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.inline-child .editing-enabled{background-color:inherit}.inline-child:not(.editing-enabled){display:flex;cursor:pointer;border-color:transparent;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{H as calcite_input_text}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,h as e,H as s,g as n}from"./p-78780f63.js";import{s as r,c as a,d as o,H as h}from"./p-cfccae7c.js";import{g as c}from"./p-fcefdfff.js";import{c as u,d,u as l}from"./p-0c97de08.js";import{n as f}from"./p-1e2ffee3.js";import{c as m,d as p,g as v}from"./p-722ae773.js";import{c as g,s as M,a as b}from"./p-f10944e6.js";import{n as y,g as D,c as S,d as Y}from"./p-ede84883.js";import{d as j,a as w,c as k}from"./p-414240b2.js";import{l as L,t as T,i as H,f as A,a as _}from"./p-2d1b8cfa.js";import{c as C,s as $,d as O}from"./p-79ba73cb.js";import{o as I}from"./p-653af7e0.js";import{d as x}from"./p-475ad635.js";import{g as P}from"./p-0c07ad8a.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
|
+
*/var F=6e4,W=36e5,z="millisecond",Z="second",E="minute",B="hour",N="day",R="week",J="month",U="quarter",X="year",q="date",G="YYYY-MM-DDTHH:mm:ssZ",K="Invalid Date",Q=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,V=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;const tt={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var i=["th","st","nd","rd"],e=t%100;return"["+t+(i[(e-20)%10]||i[e]||i[0])+"]"}},it=Object.freeze({__proto__:null,default:tt});var et=function(t,i,e){var s=String(t);return!s||s.length>=i?t:""+Array(i+1-s.length).join(e)+t};const st={s:et,z:function(t){var i=-t.utcOffset(),e=Math.abs(i),s=Math.floor(e/60),n=e%60;return(i<=0?"+":"-")+et(s,2,"0")+":"+et(n,2,"0")},m:function t(i,e){if(i.date()<e.date())return-t(e,i);var s=12*(e.year()-i.year())+(e.month()-i.month()),n=i.clone().add(s,J),r=e-n<0,a=i.clone().add(s+(r?-1:1),J);return+(-(s+(e-n)/(r?n-a:a-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:J,y:X,w:R,d:N,D:q,h:B,m:E,s:Z,ms:z,Q:U}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};var nt="en",rt={};rt[nt]=tt;var at="$isDayjsObject",ot=function(t){return t instanceof dt||!(!t||!t[at])},ht=function t(i,e,s){var n;if(!i)return nt;if("string"==typeof i){var r=i.toLowerCase();rt[r]&&(n=r),e&&(rt[r]=e,n=r);var a=i.split("-");if(!n&&a.length>1)return t(a[0])}else{var o=i.name;rt[o]=i,n=o}return!s&&n&&(nt=n),n||!s&&nt},ct=function(t,i){if(ot(t))return t.clone();var e="object"==typeof i?i:{};return e.date=t,e.args=arguments,new dt(e)},ut=st;ut.l=ht,ut.i=ot,ut.w=function(t,i){return ct(t,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var dt=function(){function t(t){this.$L=ht(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[at]=!0}var i=t.prototype;return i.parse=function(t){this.$d=function(t){var i=t.date,e=t.utc;if(null===i)return new Date(NaN);if(ut.u(i))return new Date;if(i instanceof Date)return new Date(i);if("string"==typeof i&&!/Z$/i.test(i)){var s=i.match(Q);if(s){var n=s[2]-1||0,r=(s[7]||"0").substring(0,3);return e?new Date(Date.UTC(s[1],n,s[3]||1,s[4]||0,s[5]||0,s[6]||0,r)):new Date(s[1],n,s[3]||1,s[4]||0,s[5]||0,s[6]||0,r)}}return new Date(i)}(t),this.init()},i.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},i.$utils=function(){return ut},i.isValid=function(){return!(this.$d.toString()===K)},i.isSame=function(t,i){var e=ct(t);return this.startOf(i)<=e&&e<=this.endOf(i)},i.isAfter=function(t,i){return ct(t)<this.startOf(i)},i.isBefore=function(t,i){return this.endOf(i)<ct(t)},i.$g=function(t,i,e){return ut.u(t)?this[i]:this.set(e,t)},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this.$d.getTime()},i.startOf=function(t,i){var e=this,s=!!ut.u(i)||i,n=ut.p(t),r=function(t,i){var n=ut.w(e.$u?Date.UTC(e.$y,i,t):new Date(e.$y,i,t),e);return s?n:n.endOf(N)},a=function(t,i){return ut.w(e.toDate()[t].apply(e.toDate("s"),(s?[0,0,0,0]:[23,59,59,999]).slice(i)),e)},o=this.$W,h=this.$M,c=this.$D,u="set"+(this.$u?"UTC":"");switch(n){case X:return s?r(1,0):r(31,11);case J:return s?r(1,h):r(0,h+1);case R:var d=this.$locale().weekStart||0,l=(o<d?o+7:o)-d;return r(s?c-l:c+(6-l),h);case N:case q:return a(u+"Hours",0);case B:return a(u+"Minutes",1);case E:return a(u+"Seconds",2);case Z:return a(u+"Milliseconds",3);default:return this.clone()}},i.endOf=function(t){return this.startOf(t,!1)},i.$set=function(t,i){var e,s=ut.p(t),n="set"+(this.$u?"UTC":""),r=(e={},e[N]=n+"Date",e[q]=n+"Date",e[J]=n+"Month",e[X]=n+"FullYear",e[B]=n+"Hours",e[E]=n+"Minutes",e[Z]=n+"Seconds",e[z]=n+"Milliseconds",e)[s],a=s===N?this.$D+(i-this.$W):i;if(s===J||s===X){var o=this.clone().set(q,1);o.$d[r](a),o.init(),this.$d=o.set(q,Math.min(this.$D,o.daysInMonth())).$d}else r&&this.$d[r](a);return this.init(),this},i.set=function(t,i){return this.clone().$set(t,i)},i.get=function(t){return this[ut.p(t)]()},i.add=function(t,i){var e,s=this;t=Number(t);var n=ut.p(i),r=function(i){var e=ct(s);return ut.w(e.date(e.date()+Math.round(i*t)),s)};if(n===J)return this.set(J,this.$M+t);if(n===X)return this.set(X,this.$y+t);if(n===N)return r(1);if(n===R)return r(7);var a=(e={},e[E]=F,e[B]=W,e[Z]=1e3,e)[n]||1,o=this.$d.getTime()+t*a;return ut.w(o,this)},i.subtract=function(t,i){return this.add(-1*t,i)},i.format=function(t){var i=this,e=this.$locale();if(!this.isValid())return e.invalidDate||K;var s=t||G,n=ut.z(this),r=this.$H,a=this.$m,o=this.$M,h=e.weekdays,c=e.months,u=function(t,e,n,r){return t&&(t[e]||t(i,s))||n[e].slice(0,r)},d=function(t){return ut.s(r%12||12,t,"0")},l=e.meridiem||function(t,i,e){var s=t<12?"AM":"PM";return e?s.toLowerCase():s};return s.replace(V,(function(t,s){return s||function(t){switch(t){case"YY":return String(i.$y).slice(-2);case"YYYY":return ut.s(i.$y,4,"0");case"M":return o+1;case"MM":return ut.s(o+1,2,"0");case"MMM":return u(e.monthsShort,o,c,3);case"MMMM":return u(c,o);case"D":return i.$D;case"DD":return ut.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return u(e.weekdaysMin,i.$W,h,2);case"ddd":return u(e.weekdaysShort,i.$W,h,3);case"dddd":return h[i.$W];case"H":return String(r);case"HH":return ut.s(r,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return l(r,a,!0);case"A":return l(r,a,!1);case"m":return String(a);case"mm":return ut.s(a,2,"0");case"s":return String(i.$s);case"ss":return ut.s(i.$s,2,"0");case"SSS":return ut.s(i.$ms,3,"0");case"Z":return n}return null}(t)||n.replace(":","")}))},i.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},i.diff=function(t,i,e){var s,n=this,r=ut.p(i),a=ct(t),o=(a.utcOffset()-this.utcOffset())*F,h=this-a,c=function(){return ut.m(n,a)};switch(r){case X:s=c()/12;break;case J:s=c();break;case U:s=c()/3;break;case R:s=(h-o)/6048e5;break;case N:s=(h-o)/864e5;break;case B:s=h/W;break;case E:s=h/F;break;case Z:s=h/1e3;break;default:s=h}return e?s:ut.a(s)},i.daysInMonth=function(){return this.endOf(J).$D},i.$locale=function(){return rt[this.$L]},i.locale=function(t,i){if(!t)return this.$L;var e=this.clone(),s=ht(t,i,!0);return s&&(e.$L=s),e},i.clone=function(){return ut.w(this.$d,this)},i.toDate=function(){return new Date(this.valueOf())},i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toISOString=function(){return this.$d.toISOString()},i.toString=function(){return this.$d.toUTCString()},t}(),lt=dt.prototype;ct.prototype=lt,[["$ms",z],["$s",Z],["$m",E],["$H",B],["$W",N],["$M",J],["$y",X],["$D",q]].forEach((function(t){lt[t[1]]=function(i){return this.$g(i,t[0],t[1])}})),ct.extend=function(t,i){return t.$i||(t(i,dt,ct),t.$i=!0),ct},ct.locale=ht,ct.isDayjs=ot,ct.unix=function(t){return ct(1e3*t)},ct.en=rt[nt],ct.Ls=rt,ct.p={};var ft=function(t){return t.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,i,e){return i||e.slice(1)}))},mt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},pt=function(t,i){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,e,s){var n=s&&s.toUpperCase();return e||i[s]||mt[s]||ft(i[n])}))},vt=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,gt=/\d\d/,Mt=/\d\d?/,bt=/\d*[^-_:/,()\s\d]+/,yt={},Dt=function(t){return(t=+t)+(t>68?1900:2e3)},St=function(t){return function(i){this[t]=+i}},Yt=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var i=t.match(/([+-]|\d\d)/g),e=60*i[1]+(+i[2]||0);return 0===e?0:"+"===i[0]?-e:e}(t)}],jt=function(t){var i=yt[t];return i&&(i.indexOf?i:i.s.concat(i.f))},wt=function(t,i){var e,s=yt.meridiem;if(s){for(var n=1;n<=24;n+=1)if(t.indexOf(s(n,0,i))>-1){e=n>12;break}}else e=t===(i?"pm":"PM");return e},kt={A:[bt,function(t){this.afternoon=wt(t,!1)}],a:[bt,function(t){this.afternoon=wt(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[gt,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[Mt,St("seconds")],ss:[Mt,St("seconds")],m:[Mt,St("minutes")],mm:[Mt,St("minutes")],H:[Mt,St("hours")],h:[Mt,St("hours")],HH:[Mt,St("hours")],hh:[Mt,St("hours")],D:[Mt,St("day")],DD:[gt,St("day")],Do:[bt,function(t){var i=yt.ordinal,e=t.match(/\d+/);if(this.day=e[0],i)for(var s=1;s<=31;s+=1)i(s).replace(/\[|\]/g,"")===t&&(this.day=s)}],M:[Mt,St("month")],MM:[gt,St("month")],MMM:[bt,function(t){var i=jt("months"),e=(jt("monthsShort")||i.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],MMMM:[bt,function(t){var i=jt("months").indexOf(t)+1;if(i<1)throw new Error;this.month=i%12||i}],Y:[/[+-]?\d+/,St("year")],YY:[gt,function(t){this.year=Dt(t)}],YYYY:[/\d{4}/,St("year")],Z:Yt,ZZ:Yt};const Lt=new Map([["ar",()=>import("./p-8772a573.js")],["bg",()=>import("./p-799c3f19.js")],["bs",()=>import("./p-034d43fb.js")],["ca",()=>import("./p-080249de.js")],["cs",()=>import("./p-92ea9e81.js")],["da",()=>import("./p-7e82a730.js")],["de",()=>import("./p-b78a1c21.js")],["de-at",()=>import("./p-fa6ef970.js")],["de-ch",()=>import("./p-0e723ffc.js")],["el",()=>import("./p-a9fc934d.js")],["en",()=>Promise.resolve().then((function(){return it}))],["en-au",()=>import("./p-4647c429.js")],["en-ca",()=>import("./p-8b5b4662.js")],["en-gb",()=>import("./p-07b31dc9.js")],["es",()=>import("./p-f3f09834.js")],["es-mx",()=>import("./p-6e406a7b.js")],["et",()=>import("./p-17183100.js")],["fi",()=>import("./p-aa3092cf.js")],["fr",()=>import("./p-c21f578f.js")],["fr-ch",()=>import("./p-5e530f8c.js")],["he",()=>import("./p-34cacf32.js")],["hi",()=>import("./p-fe68d502.js")],["hr",()=>import("./p-dd071507.js")],["hu",()=>import("./p-dd37c504.js")],["id",()=>import("./p-3022da2d.js")],["it",()=>import("./p-7a06dcdf.js")],["it-ch",()=>import("./p-634835fe.js")],["ja",()=>import("./p-a11fca14.js")],["ko",()=>import("./p-3c5d3b4a.js")],["lt",()=>import("./p-c5cb8804.js")],["lv",()=>import("./p-a4772574.js")],["mk",()=>import("./p-e7951fcb.js")],["nl",()=>import("./p-0b47b407.js")],["nb",()=>import("./p-0250dec5.js")],["pl",()=>import("./p-941ab8c0.js")],["pt",()=>import("./p-75fbe76c.js")],["pt-br",()=>import("./p-e31754c8.js")],["ro",()=>import("./p-bf23173c.js")],["ru",()=>import("./p-cfb83693.js")],["sk",()=>import("./p-96974e5f.js")],["sl",()=>import("./p-355249fc.js")],["sr",()=>import("./p-efce2e85.js")],["sv",()=>import("./p-ac6a3e13.js")],["th",()=>import("./p-b82179c0.js")],["tr",()=>import("./p-58054bc2.js")],["uk",()=>import("./p-82b4ab94.js")],["vi",()=>import("./p-f4e91113.js")],["zh-cn",()=>import("./p-4f71a1a0.js")],["zh-hk",()=>import("./p-d6208a47.js")],["zh-tw",()=>import("./p-4613e205.js")]]);ct.extend((function(t,i,e){e.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(Dt=t.parseTwoDigitYear);var s=i.prototype,n=s.parse;s.parse=function(t){var i=t.date,s=t.utc,r=t.args;this.$u=s;var a=r[1];if("string"==typeof a){var o=!0===r[2],h=!0===r[3],c=o||h,u=r[2];h&&(u=r[2]),yt=this.$locale(),!o&&u&&(yt=e.Ls[u]),this.$d=function(t,i,e){try{if(["x","X"].indexOf(i)>-1)return new Date(("X"===i?1e3:1)*t);var s=function(t){for(var i=(t=pt(t,yt&&yt.formats)).match(vt),e=i.length,s=0;s<e;s+=1){var n=i[s],r=kt[n],a=r&&r[1];i[s]=a?{regex:r&&r[0],parser:a}:n.replace(/^\[|\]$/g,"")}return function(t){for(var s={},n=0,r=0;n<e;n+=1){var a=i[n];if("string"==typeof a)r+=a.length;else{var o=a.regex,h=a.parser,c=t.slice(r),u=o.exec(c)[0];h.call(s,u),t=t.replace(u,"")}}return function(t){var i=t.afternoon;if(void 0!==i){var e=t.hours;i?e<12&&(t.hours+=12):12===e&&(t.hours=0),delete t.afternoon}}(s),s}}(i),n=s(t),r=n.year,a=n.month,o=n.day,h=n.hours,c=n.minutes,u=n.seconds,d=n.milliseconds,l=n.zone,f=new Date,m=o||(r||a?1:f.getDate()),p=r||f.getFullYear(),v=0;r&&!a||(v=a>0?a-1:f.getMonth());var g=h||0,M=c||0,b=u||0,y=d||0;return l?new Date(Date.UTC(p,v,m,g,M,b,y+60*l.offset*1e3)):e?new Date(Date.UTC(p,v,m,g,M,b,y)):new Date(p,v,m,g,M,b,y)}catch(t){return new Date("")}}(i,a,s),this.init(),u&&!0!==u&&(this.$L=this.locale(u).$L),c&&i!=this.format(a)&&(this.$d=new Date("")),yt={}}else if(a instanceof Array)for(var d=a.length,l=1;l<=d;l+=1){r[1]=a[l-1];var f=e.apply(this,r);if(f.isValid()){this.$d=f.$d,this.$L=f.$L,this.init();break}l===d&&(this.$d=new Date(""))}else n.call(this,t)}})),ct.extend((function(t,i,e){var s=function(t){return t&&(t.indexOf?t:t.s)},n=function(t,i,e,n,r){var a=t.name?t:t.$locale(),o=s(a[i]),h=s(a[e]),c=o||h.map((function(t){return t.slice(0,n)}));if(!r)return c;var u=a.weekStart;return c.map((function(t,i){return c[(i+(u||0))%7]}))},r=function(){return e.Ls[e.locale()]},a=function(t,i){return t.formats[i]||ft(t.formats[i.toUpperCase()])},o=function(){var t=this;return{months:function(i){return i?i.format("MMMM"):n(t,"months")},monthsShort:function(i){return i?i.format("MMM"):n(t,"monthsShort","months",3)},firstDayOfWeek:function(){return t.$locale().weekStart||0},weekdays:function(i){return i?i.format("dddd"):n(t,"weekdays")},weekdaysMin:function(i){return i?i.format("dd"):n(t,"weekdaysMin","weekdays",2)},weekdaysShort:function(i){return i?i.format("ddd"):n(t,"weekdaysShort","weekdays",3)},longDateFormat:function(i){return a(t.$locale(),i)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.prototype.localeData=function(){return o.bind(this)()},e.localeData=function(){var t=r();return{firstDayOfWeek:function(){return t.weekStart||0},weekdays:function(){return e.weekdays()},weekdaysShort:function(){return e.weekdaysShort()},weekdaysMin:function(){return e.weekdaysMin()},months:function(){return e.months()},monthsShort:function(){return e.monthsShort()},longDateFormat:function(i){return a(t,i)},meridiem:t.meridiem,ordinal:t.ordinal}},e.months=function(){return n(r(),"months")},e.monthsShort=function(){return n(r(),"monthsShort","months",3)},e.weekdays=function(t){return n(r(),"weekdays",null,null,t)},e.weekdaysShort=function(t){return n(r(),"weekdaysShort","weekdays",3,t)},e.weekdaysMin=function(t){return n(r(),"weekdaysMin","weekdays",2,t)}})),ct.extend((function(t,i,e){var s=i.prototype,n=s.format;e.en.formats=mt,s.format=function(t){void 0===t&&(t=G);var i=this.$locale().formats,e=pt(t,void 0===i?{}:i);return n.call(this,e)}})),ct.extend((function(t,i){var e=i.prototype.parse;i.prototype.parse=function(t){if("string"==typeof t.date){var i=this.$locale();t.date=i&&i.preparse?i.preparse(t.date):t.date}return e.bind(this)(t)};var s=i.prototype.format;i.prototype.format=function(){for(var t=arguments.length,i=new Array(t),e=0;e<t;e++)i[e]=arguments[e];var n=s.call.apply(s,[this].concat(i)),r=this.$locale();return r&&r.postformat?r.postformat(n):n};var n=i.prototype.fromToBase;n&&(i.prototype.fromToBase=function(t,i,e,s){var r=this.$locale()||e.$locale();return n.call(this,t,i,e,s,r&&r.postformat)})})),ct.extend((function(t,i,e){e.updateLocale=function(t,i){var s=e.Ls[t];if(s)return(i?Object.keys(i):[]).forEach((function(t){s[t]=i[t]})),s}}));const Tt=class{constructor(e){t(this,e),this.calciteInputTimePickerBeforeClose=i(this,"calciteInputTimePickerBeforeClose",6),this.calciteInputTimePickerBeforeOpen=i(this,"calciteInputTimePickerBeforeOpen",6),this.calciteInputTimePickerChange=i(this,"calciteInputTimePickerChange",7),this.calciteInputTimePickerClose=i(this,"calciteInputTimePickerClose",6),this.calciteInputTimePickerOpen=i(this,"calciteInputTimePickerOpen",6),this.focusOnOpen=!1,this.dialogId=`time-picker-dialog--${c()}`,this.userChangedValue=!1,this.referenceElementId=`input-time-picker-${c()}`,this.openTransitionProp="opacity",this.hostBlurHandler=()=>{const t=this.calciteInputEl.value,i=this.delocalizeTimeString(t);if(!i)return void this.setValue("");i!==this.value&&this.setValue(i);const e=L({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:x(this.step)});e!==t&&this.setInputValue(e),this.deactivate()},this.calciteInternalInputFocusHandler=t=>{this.readOnly||t.stopPropagation()},this.calciteInternalInputInputHandler=t=>{const{effectiveLocale:i,numberingSystem:e}=this;if(e&&"latn"!==e){const s=t.target;y.numberFormatOptions={locale:i,numberingSystem:e,useGrouping:!1};const n=y.delocalize(s.value).split("").map((t=>f.includes(t)?y.numberFormatter.format(Number(t)):t)).join("");this.setInputValue(n)}},this.timePickerChangeHandler=t=>{t.stopPropagation();const i=t.target.value,e=this.shouldIncludeSeconds();this.setValue(T(i,e)),this.setInputValue(L({value:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:e,fractionalSecondDigits:x(this.step)}))},this.popoverCloseHandler=()=>{j(this,{onDeactivate:()=>{this.calciteInputEl.setFocus(),this.focusOnOpen=!1}}),this.open=!1},this.popoverOpenHandler=()=>{w(this,{onActivate:()=>{this.focusOnOpen&&(this.calciteTimePickerEl.setFocus(),this.focusOnOpen=!1)}})},this.keyDownHandler=t=>{const{defaultPrevented:i,key:e}=t;if(!i)if("Enter"===e){if(r(this)&&(t.preventDefault(),this.calciteInputEl.setFocus()),t.composedPath().includes(this.calciteTimePickerEl))return;const i=this.delocalizeTimeString(this.calciteInputEl.value);if(H(i)){this.setValue(i);const t=L({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:x(this.step)});i&&this.calciteInputEl.value!==t&&this.setInputValue(t)}}else"ArrowDown"===e?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===e&&this.open&&(this.open=!1,t.preventDefault(),this.calciteInputEl.setFocus())},this.setCalcitePopoverEl=t=>{this.popoverEl=t},this.setInputAndTransitionEl=t=>{this.calciteInputEl=t,this.transitionEl=t},this.setCalciteTimePickerEl=t=>{this.calciteTimePickerEl=t,k(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.setInputValue=t=>{this.calciteInputEl&&(this.calciteInputEl.value=t)},this.setValue=t=>{const i=this.value,e=A(t)||"";e!==i&&(this.userChangedValue=!0,this.value=e||"",this.calciteInputTimePickerChange.emit().defaultPrevented&&(this.userChangedValue=!1,this.value=i,this.setInputValue(L({value:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:x(this.step)}))))},this.setValueDirectly=t=>{const i=this.shouldIncludeSeconds();this.value=T(t,i),this.setInputValue(this.value?L({value:this.value,includeSeconds:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,fractionalSecondDigits:x(this.step)}):"")},this.onInputWrapperClick=()=>{this.open=!this.open},this.deactivate=()=>{this.open=!1},this.open=!1,this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.messageOverrides=void 0,this.messages=void 0,this.name=void 0,this.numberingSystem=void 0,this.required=!1,this.scale="m",this.status="idle",this.overlayPositioning="absolute",this.placement="auto",this.step=60,this.value=null,this.defaultMessages=void 0,this.effectiveLocale=""}openHandler(t){I(this),this.disabled||this.readOnly?this.open=!1:t&&this.reposition(!0)}handleFocusTrapDisabled(t){this.open&&(t?j(this):w(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}onMessagesChange(){}numberingSystemWatcher(t){this.setInputValue(L({value:this.value,locale:this.effectiveLocale,numberingSystem:t,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:x(this.step)}))}stepWatcher(t,i){(i>=60&&t>0&&t<60||t>=60&&i>0&&i<60)&&this.setValueDirectly(this.value)}valueWatcher(t){this.userChangedValue||this.setValueDirectly(t),this.userChangedValue=!1}async effectiveLocaleWatcher(t){await this.loadDateTimeLocaleData(),this.setInputValue(L({value:this.value,locale:t,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:x(this.step)}))}async setFocus(){await g(this),this.el.focus()}async reposition(t=!1){var i;null===(i=this.popoverEl)||void 0===i||i.reposition(t)}onBeforeOpen(){this.calciteInputTimePickerBeforeOpen.emit()}onOpen(){this.calciteInputTimePickerOpen.emit()}onBeforeClose(){this.calciteInputTimePickerBeforeClose.emit()}onClose(){this.calciteInputTimePickerClose.emit()}delocalizeTimeString(t){ct.locale(this.effectiveLocale.toLowerCase());const i=this.delocalizeTimeStringToParts(t);let e;if(this.shouldIncludeFractionalSeconds()){const s=x(this.step),n=this.delocalizeTimeStringToParts(t,"S");if(1===s)e=this.getTimeStringFromParts(0!==n.millisecond?n:i);else{const r=this.delocalizeTimeStringToParts(t,"SS");if(2===s)e=this.getTimeStringFromParts(0!==r.millisecond?r:0!==n.millisecond?n:i);else if(s>=3){const s=this.delocalizeTimeStringToParts(t,"SSS");e=this.getTimeStringFromParts(0!==s.millisecond?s:0!==r.millisecond?r:0!==n.millisecond?n:i)}}}else e=this.getTimeStringFromParts(i);return e}delocalizeTimeStringToParts(t,i){var e,s;const n=null===(s=null===(e=this.localeConfig)||void 0===e?void 0:e.formats)||void 0===s?void 0:s.LTS,r=n.match(/ss\.*(S+)/g);if(i&&this.shouldIncludeFractionalSeconds()){this.localeConfig.formats.LTS=n.replace(r?r[0]:"ss",`ss.${i}`)}else r&&(this.localeConfig.formats.LTS=n.replace(r[0],"ss"));ct.updateLocale(this.getSupportedDayjsLocale(D(this.effectiveLocale)),this.localeConfig);const a=ct(t,["LTS","LT"]);return a.isValid()?{hour:a.get("hour"),minute:a.get("minute"),second:a.get("second"),millisecond:a.get("millisecond")}:{hour:null,minute:null,second:null,millisecond:null}}getTimeStringFromParts(t){let i="";return t?(null!==t.hour&&null!==t.minute&&(i=`${_(t.hour)}:${_(t.minute)}`,this.shouldIncludeSeconds()&&null!==t.second&&(i+=`:${_(t.second)}`,this.shouldIncludeFractionalSeconds()&&null!==t.millisecond))&&(i+=`.${(.001*t.millisecond).toFixed(x(this.step)).toString().replace("0.","")}`),i):i}getSupportedDayjsLocale(t){const i=t.toLowerCase();return"no"===i?"nb":"pt-pt"===i?"pt":i}async loadDateTimeLocaleData(){let t=D(this.effectiveLocale).toLowerCase();t=this.getSupportedDayjsLocale(t);const{default:i}=await Lt.get(t)();this.localeConfig=i,ct.locale(this.localeConfig,null,!0),ct.updateLocale(t,this.getExtendedLocaleConfig(t))}getExtendedLocaleConfig(t){return"ar"===t?{meridiem:t=>t>12?"م":"ص",formats:{LT:"HH:mm A",LTS:"HH:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm A",LLLL:"dddd D MMMM YYYY HH:mm A"}}:"en-au"===t?{meridiem:t=>t>12?"pm":"am"}:"en-ca"===t?{meridiem:t=>t>12?"p.m.":"a.m."}:"el"===t?{meridiem:t=>t>12?"μ.μ.":"π.μ."}:"hi"===t?{formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, h:mm A",LLLL:"dddd, D MMMM YYYY, h:mm A"},meridiem:t=>t>12?"pm":"am"}:"ko"===t?{meridiem:t=>t>12?"오후":"오전"}:"zh-tw"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"}}:"zh-hk"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"},meridiem:t=>t>12?"下午":"上午"}:void 0}onLabelClick(){this.setFocus()}shouldIncludeSeconds(){return this.step<60}shouldIncludeFractionalSeconds(){return x(this.step)>0}connectedCallback(){u(this),S(this),H(this.value)?this.setValueDirectly(this.value):this.value=void 0,m(this),a(this),C(this)}async componentWillLoad(){M(this),await Promise.all([$(this),this.loadDateTimeLocaleData()]),this.open&&I(this)}componentDidLoad(){b(this),H(this.value)&&this.setInputValue(L({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:x(this.step)}))}disconnectedCallback(){d(this),p(this),o(this),Y(this),j(this),O(this)}componentDidRender(){l(this)}render(){const{disabled:t,messages:i,readOnly:n,dialogId:r}=this;return e(s,{onBlur:this.hostBlurHandler,onKeyDown:this.keyDownHandler},e("div",{class:"input-wrapper",onClick:this.onInputWrapperClick},e("calcite-input-text",{"aria-autocomplete":"none","aria-haspopup":"dialog",disabled:t,icon:"clock",id:this.referenceElementId,label:v(this),lang:this.effectiveLocale,onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextFocus:this.calciteInternalInputFocusHandler,readOnly:n,role:"combobox",scale:this.scale,status:this.status,ref:this.setInputAndTransitionEl}),!this.readOnly&&this.renderToggleIcon(this.open)),e("calcite-popover",{focusTrapDisabled:!0,id:r,label:i.chooseTime,lang:this.effectiveLocale,onCalcitePopoverClose:this.popoverCloseHandler,onCalcitePopoverOpen:this.popoverOpenHandler,open:this.open,overlayPositioning:this.overlayPositioning,placement:this.placement,referenceElement:this.referenceElementId,triggerDisabled:!0,ref:this.setCalcitePopoverEl},e("calcite-time-picker",{lang:this.effectiveLocale,messageOverrides:this.messageOverrides,numberingSystem:this.numberingSystem,onCalciteInternalTimePickerChange:this.timePickerChangeHandler,scale:this.scale,step:this.step,tabIndex:this.open?void 0:-1,value:this.value,ref:this.setCalciteTimePickerEl})),e(h,{component:this}))}renderToggleIcon(t){return e("span",{class:"toggle-icon"},e("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:P(this.scale)}))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{open:["openHandler"],focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],messageOverrides:["onMessagesChange"],numberingSystem:["numberingSystemWatcher"],step:["stepWatcher"],value:["valueWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};Tt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([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)}.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([hidden]){display:none}[hidden]{display:none}";export{Tt as I,ct as d}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as e,f as t,h as n,g as i,c as a}from"./p-78780f63.js";import{l as s}from"./p-a8a0187d.js";import{g as r,i as l,q as c,r as o,t as p,m as d,w as v,x as g,k as h,v as m}from"./p-68434a63.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-225c4ca4.js";const u=class{constructor(t){e(this,t),this.showTotal=!1,this.legendvm=void 0,this.activeLayerInfo=void 0,this.categoryId=void 0,this.infoIndex=void 0,this.messages=void 0,this.selected=void 0,this.legendElement=void 0}async componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0});const[e]=await s(["esri/intl","esri/core/reactiveUtils","esri/core/Handles"]);this.intl=e}render(){var e;return n("div",{key:"int-legend-count"},this.showTotal?n("span",null,null===(e=this.messages)||void 0===e?void 0:e.totalFeatureCount,": ",this.getTotalFeatureCount()):n("span",{key:"element-info-count",class:` instant-apps-interactive-legend__info-count-text ${r(this.el)}${this.selected?" instant-apps-interactive-legend__info-count-text--selected":""}`},this.getCount()))}getCount(){var e,t;const{categoryId:n}=this,i=this.activeLayerInfo.layer.id,a=null===(t=null===(e=l.data[i])||void 0===e?void 0:e.categories)||void 0===t?void 0:t.size;if(!(l.data&&i&&n||a))return"";const s=l.data[i];if(!s)return;const{categories:r}=s,c=r.get(n);let o;return o=(null==c?void 0:c.nestedInfos)?g(c,this.infoIndex):c,isNaN(null==o?void 0:o.count)?"":this.intl.formatNumber(o.count)}getTotalFeatureCount(){const e=this.activeLayerInfo.layer.id;if(!l.data||!e)return"";const t=l.data[e];if(!t)return;const{categories:n}=t,i=c(n);let a;if(o(n))a=p(i);else if(d(this.activeLayerInfo)){const e=h(this.activeLayerInfo.layer);a=c(e.categories)[1].count}else a=v(i);return this.intl.formatNumber(a)}get el(){return i(this)}};u.style=".sc-instant-apps-interactive-legend-count-h{display:flex;align-items:center}.instant-apps-interactive-legend__info-count-text.sc-instant-apps-interactive-legend-count{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected.sc-instant-apps-interactive-legend-count{color:var(--calcite-color-text-inverse)}html[dir=rtl] .sc-instant-apps-interactive-legend-count-h{margin-left:0;margin-right:auto}";const y=class{constructor(t){e(this,t),this.layerCaptionElementExpandUpdatedEvent=a(this,"layerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){var e,t,i;const a=m(this.activeLayerInfo),{expanded:s}=this,l=s?null===(e=this.messages)||void 0===e?void 0:e.collapse:null===(t=this.messages)||void 0===t?void 0:t.expand,c=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"";return n("header",{class:`instant-apps-interactive-legend__header ${r(this.el)}`},n("calcite-action",{onClick:this.toggleExpanded(),icon:s?"chevron-down":"chevron-up",appearance:"transparent",text:l,label:l,scale:"s"}),n("span",null,n("span",{class:"instant-apps-interactive-legend__header-action-container"},n("h3",{class:`esri-widget__heading esri-legend__service-label${c}`},null===(i=this.activeLayerInfo)||void 0===i?void 0:i.title)),this.featureCount&&a?n("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return i(this)}};y.style=".sc-instant-apps-interactive-legend-layer-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{overflow:hidden;margin:0;overflow-x:hidden;display:inline-block;font-size:var(--instant-apps-interactive-legend-heading-font-size);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption h3.sc-instant-apps-interactive-legend-layer-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-layer-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption span.sc-instant-apps-interactive-legend-layer-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-layer-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}";export{u as instant_apps_interactive_legend_count,y as instant_apps_interactive_legend_layer_element_caption}
|