@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
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,h as e,H as n,g as o}from"./p-dfcf30cc.js";import{g as s,i as r,x as a,a as l}from"./p-9b46426a.js";import{s as c,c as h,d as u,H as d}from"./p-28c4dbc7.js";import{c as p,d as b,u as m}from"./p-8fdbb6f2.js";import{n as v}from"./p-52445921.js";import{c as f,d as g,g as x}from"./p-ecfaf4d7.js";import{s as w,a as k,c as y}from"./p-dca25d3e.js";import{n as z,i as j,p as I,s as E,e as C,c as D,d as L,B as F}from"./p-9907889f.js";import{c as W}from"./p-2b56ecd9.js";import{C as K}from"./p-16b08122.js";import{u as $,c as H,d as N,s as P}from"./p-ed116111.js";import{g as R}from"./p-31b622cd.js";import"./p-cbfdcfaf.js";import"./p-a442727d.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 T="number-button-item--horizontal",V="number-button-item",A={tel:"phone",password:"lock",email:"email-address",date:"calendar",time:"clock",search:"search"},O=class{constructor(e){t(this,e),this.calciteInternalInputFocus=i(this,"calciteInternalInputFocus",6),this.calciteInternalInputBlur=i(this,"calciteInternalInputBlur",6),this.calciteInputInput=i(this,"calciteInputInput",7),this.calciteInputChange=i(this,"calciteInputChange",6),this.childElType="input",this.previousValueOrigin="initial",this.mutationObserver=W("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.setValue({committing:!0,nativeEvent:t,origin:"user",value:""})},this.emitChangeIfUserModified=()=>{"user"===this.previousValueOrigin&&this.value!==this.previousEmittedValue&&(this.calciteInputChange.emit(),this.setPreviousEmittedValue(this.value))},this.inputBlurHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId),this.calciteInternalInputBlur.emit(),this.emitChangeIfUserModified()},this.clickHandler=t=>{if(this.disabled)return;const i=s(this.el,"action");t.target!==i&&this.setFocus()},this.inputFocusHandler=()=>{this.calciteInternalInputFocus.emit()},this.inputChangeHandler=()=>{"file"===this.type&&(this.files=this.childEl.files)},this.inputInputHandler=t=>{this.disabled||this.readOnly||this.setValue({nativeEvent:t,origin:"user",value:t.target.value})},this.inputKeyDownHandler=t=>{this.disabled||this.readOnly||"Enter"===t.key&&this.emitChangeIfUserModified()},this.inputNumberInputHandler=t=>{if(this.disabled||this.readOnly)return;const i=t.target.value;z.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const e=z.delocalize(i);"insertFromPaste"===t.inputType?(j(e)||t.preventDefault(),this.setValue({nativeEvent:t,origin:"user",value:I(e)}),this.childNumberEl.value=this.localizedValue):this.setValue({nativeEvent:t,origin:"user",value:e})},this.inputNumberKeyDownHandler=t=>{if("number"!==this.type||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(z.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},t.key===z.decimal){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&-1===this.childNumberEl.value.indexOf(z.decimal))return}if(/[eE]/.test(t.key)){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||"number"!==this.type)return;const e=this.maxString?parseFloat(this.maxString):null,n=this.minString?parseFloat(this.minString):null;this.incrementOrDecrementNumberValue(t,e,n,i),this.nudgeNumberValueIntervalId&&window.clearInterval(this.nudgeNumberValueIntervalId);let o=!0;this.nudgeNumberValueIntervalId=window.setInterval((()=>{o?o=!1:this.incrementOrDecrementNumberValue(t,e,n,i)}),150)},this.numberButtonPointerUpAndOutHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)},this.numberButtonPointerDownHandler=t=>{r(t)&&(t.preventDefault(),this.disabled||this.nudgeNumberValue(t.target.dataset.adjustment,t))},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.setChildNumberElRef=t=>{this.childNumberEl=t},this.setInputValue=t=>{("text"!==this.type||this.childEl)&&("number"!==this.type||this.childNumberEl)&&(this[`child${"number"===this.type?"Number":""}El`].value=t)},this.setPreviousEmittedValue=t=>{this.previousEmittedValue=this.normalizeValue(t)},this.setPreviousValue=t=>{this.previousValue=this.normalizeValue(t)},this.setValue=({committing:t=!1,nativeEvent:i,origin:e,previousValue:n,value:o})=>{if(this.setPreviousValue(n??this.value),this.previousValueOrigin=e,"number"===this.type){z.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator,signDisplay:"never"};const t=this.previousValue?.length>o.length||this.value?.length>o.length,i="."===o.charAt(o.length-1),n=i&&t?o:E(o),s=o&&!n?j(this.previousValue)?this.previousValue:"":n;let r=z.localize(s);"connected"===e||i||(r=C(r,s,z)),this.localizedValue=i&&t?`${r}${z.decimal}`:r,this.userChangedValue="user"===e&&this.value!==s,this.value=["-","."].includes(s)?"":s}else this.userChangedValue="user"===e&&this.value!==o,this.value=o;"direct"===e&&(this.setInputValue(o),this.previousEmittedValue=o),i&&(this.calciteInputInput.emit().defaultPrevented?(this.value=this.previousValue,this.localizedValue="number"===this.type?z.localize(this.previousValue):this.previousValue):t&&this.emitChangeIfUserModified())},this.inputKeyUpHandler=()=>{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.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.pattern=void 0,this.accept=void 0,this.multiple=!1,this.inputMode="text",this.enterKeyHint=void 0,this.suffixText=void 0,this.editingEnabled=!1,this.type="text",this.value="",this.files=void 0,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.localizedValue=void 0,this.slottedActionElDisabledInternally=!1}disabledWatcher(){this.setDisabledAction()}maxWatcher(){this.maxString=this.max?.toString()||null}minWatcher(){this.minString=this.min?.toString()||null}onMessagesChange(){}valueWatcher(t,i){this.userChangedValue||(this.setValue({origin:"direct",previousValue:i,value:null==t||""==t?"":"number"===this.type?j(t)?t:this.previousValue||"":t}),this.warnAboutInvalidNumberValue(t)),this.userChangedValue=!1}updateRequestedIcon(){this.requestedIcon=a(A,this.icon,this.type)}get isClearable(){return!this.isTextarea&&(this.clearable||"search"===this.type)&&this.value?.length>0}get isTextarea(){return"textarea"===this.childElType}effectiveLocaleChange(){$(this,this.effectiveLocale)}connectedCallback(){p(this),D(this),H(this),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),f(this),h(this),this.setPreviousEmittedValue(this.value),this.setPreviousValue(this.value),"number"===this.type&&(this.warnAboutInvalidNumberValue(this.value),this.setValue({origin:"connected",value:j(this.value)?this.value:""})),this.mutationObserver?.observe(this.el,{childList:!0}),this.setDisabledAction(),this.el.addEventListener("calciteInternalHiddenInputChange",this.hiddenInputChangeHandler)}disconnectedCallback(){b(this),g(this),u(this),L(this),N(this),this.mutationObserver?.disconnect(),this.el.removeEventListener("calciteInternalHiddenInputChange",this.hiddenInputChangeHandler)}async componentWillLoad(){w(this),this.childElType="textarea"===this.type?"textarea":"input",this.maxString=this.max?.toString(),this.minString=this.min?.toString(),this.requestedIcon=a(A,this.icon,this.type),await P(this)}componentDidLoad(){k(this)}componentShouldUpdate(t,i,e){return!("number"===this.type&&"value"===e&&t&&!j(t)&&(this.setValue({origin:"reset",value:i}),1))}componentDidRender(){m(this)}async setFocus(){await y(this),"number"===this.type?this.childNumberEl?.focus():this.childEl?.focus()}async selectText(){"number"===this.type?this.childNumberEl?.select():this.childEl?.select()}onLabelClick(){this.setFocus()}incrementOrDecrementNumberValue(t,i,e,n){const{value:o}=this,s="up"===t?1:-1,r="any"===this.step?1:Math.abs(this.step||1),a=new F(""!==o?o:"0").add(""+r*s),l="number"==typeof e&&!isNaN(e)&&a.subtract(`${e}`).isNegative?`${e}`:"number"!=typeof i||isNaN(i)||a.subtract(`${i}`).isNegative?a.toString():`${i}`;this.setValue({committing:!0,nativeEvent:n,origin:"user",value:l})}onFormReset(){this.setValue({origin:"reset",value:this.defaultValue})}syncHiddenFormInput(t){const{type:i}=this;t.type=i,"number"===i?(t.min=this.min?.toString(10)??"",t.max=this.max?.toString(10)??""):"text"===i&&(null!=this.minLength&&(t.minLength=this.minLength),null!=this.maxLength&&(t.maxLength=this.maxLength))}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"number"===this.type?j(t)?t:"":t}warnAboutInvalidNumberValue(t){"number"===this.type&&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"})),o=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:{[V]:!0,[T]:r},"data-adjustment":"up",disabled:this.disabled||this.readOnly,onPointerDown:this.numberButtonPointerDownHandler,onPointerOut:this.numberButtonPointerUpAndOutHandler,onPointerUp:this.numberButtonPointerUpAndOutHandler,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"chevron-up",scale:R(this.scale)})),c=e("button",{"aria-hidden":"true",class:{[V]:!0,[T]:r},"data-adjustment":"down",disabled:this.disabled||this.readOnly,onPointerDown:this.numberButtonPointerDownHandler,onPointerOut:this.numberButtonPointerUpAndOutHandler,onPointerUp:this.numberButtonPointerUpAndOutHandler,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),p=e("div",{class:"suffix"},this.suffixText),b="number"===this.type?e("input",{accept:this.accept,"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,multiple:this.multiple,name:void 0,onBlur:this.inputBlurHandler,onFocus:this.inputFocusHandler,onInput:this.inputNumberInputHandler,onKeyDown:this.inputNumberKeyDownHandler,onKeyUp:this.inputKeyUpHandler,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readOnly,type:"text",value:this.localizedValue,ref:this.setChildNumberElRef}):null,m="number"!==this.type?[e(this.childElType,{accept:this.accept,"aria-label":x(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,max:this.maxString,maxLength:this.maxLength,min:this.minString,minLength:this.minLength,multiple:this.multiple,name:this.name,onBlur:this.inputBlurHandler,onChange:this.inputChangeHandler,onFocus:this.inputFocusHandler,onInput:this.inputInputHandler,onKeyDown:this.inputKeyDownHandler,onKeyUp:this.inputKeyUpHandler,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readOnly,required:!!this.required||null,step:this.step,tabIndex:this.disabled||this.inlineEditableEl&&!this.editingEnabled?-1:null,type:this.type,value:this.value,ref:this.setChildElRef}),this.isTextarea?e("div",{class:"resize-icon-wrapper"},e("calcite-icon",{icon:"chevron-down",scale:R(this.scale)})):null]:null;return e(n,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},e("div",{class:{wrapper:!0,[K.rtl]:"rtl"===t}},"number"!==this.type||"horizontal"!==this.numberButtonType||this.readOnly?null:c,this.prefixText?u:null,e("div",{class:"element-wrapper"},b,m,this.isClearable?o:null,this.requestedIcon?s:null,this.loading?i:null),e("div",{class:"action-wrapper"},e("slot",{name:"action"})),"number"!==this.type||"vertical"!==this.numberButtonType||this.readOnly?null:h,this.suffixText?p:null,"number"!==this.type||"horizontal"!==this.numberButtonType||this.readOnly?null:a,e(d,{component:this})))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{disabled:["disabledWatcher"],max:["maxWatcher"],min:["minWatcher"],messageOverrides:["onMessagesChange"],value:["valueWatcher"],icon:["updateRequestedIcon"],type:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};O.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]) textarea{block-size:1.5rem;min-block-size:1.5rem}: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]) input[type=file]{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=s]) textarea{block-size:auto;padding-block:0.25rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}: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]) textarea{min-block-size:2rem}: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]) input[type=file]{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=m]) textarea{block-size:auto;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}: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]) textarea{min-block-size:2.75rem}: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]) input[type=file]{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([scale=l]) textarea{block-size:auto;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([disabled]) textarea{resize:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}textarea,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%;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[type=search]::-webkit-search-decoration{-webkit-appearance:none}input,textarea{text-overflow:ellipsis;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);color:var(--calcite-color-text-1)}input:-moz-placeholder-shown,textarea:-moz-placeholder-shown{text-overflow:ellipsis}input:placeholder-shown,textarea:placeholder-shown{text-overflow:ellipsis}input:focus,textarea:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1)}input[readonly],textarea[readonly]{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}input[readonly]:focus,textarea[readonly]:focus{color:var(--calcite-color-text-1)}calcite-icon{color:var(--calcite-color-text-3)}textarea,input{outline-color:transparent}textarea:focus,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,:host([status=invalid]) textarea{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) input:focus,: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 )}: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;display:block;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.icon,.resize-icon-wrapper{z-index:var(--calcite-z-index)}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;block-size:0px;inline-size:0px}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.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]) textarea,:host([alignment=start]) input{text-align:start}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:end}input[type=number]{-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0px}.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,:host([number-button-type=vertical]) textarea{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}:input::-webkit-calendar-picker-indicator{display:none}input[type=date]::-webkit-input-placeholder{visibility:hidden !important}textarea::-webkit-resizer{position:absolute;inset-block-end:0px;box-sizing:border-box;padding-block:0px;padding-inline:0.25rem;inset-inline-end:0}.resize-icon-wrapper{inset-block-end:2px;inset-inline-end:2px;pointer-events:none;position:absolute;block-size:0.75rem;inline-size:0.75rem;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-3)}.resize-icon-wrapper calcite-icon{inset-block-end:0.25rem;inset-inline-end:0.25rem;transform:rotate(-45deg)}.calcite--rtl .resize-icon-wrapper calcite-icon{transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);text-align:center}:host([type=file][scale=s]) input{padding-block:1px;padding-inline:0.5rem}:host([type=file][scale=m]) input{padding-block:0.25rem;padding-inline:0.75rem}:host([type=file][scale=l]) input{padding-block:0.5rem;padding-inline:1rem}: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)}input.inline-child{background-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}input.inline-child .editing-enabled{background-color:inherit}input.inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;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}";const U=class{constructor(i){t(this,i),this.type="determinate",this.value=0,this.label=void 0,this.text=void 0,this.reversed=!1}render(){const t="determinate"===this.type?{width:100*this.value+"%"}:{},i=l(this.el);return e("div",{"aria-label":this.label||this.text,"aria-valuemax":1,"aria-valuemin":0,"aria-valuenow":this.value,role:"progressbar"},e("div",{class:"track"},e("div",{class:{bar:!0,indeterminate:"indeterminate"===this.type,[K.rtl]:"rtl"===i,reversed:this.reversed},style:t})),this.text?e("div",{class:"text"},this.text):null)}get el(){return o(this)}};U.style=":host{position:relative;display:block;inline-size:100%}.track,.bar{position:absolute;inset-block-start:0px;block-size:2px}.track{z-index:var(--calcite-z-index);inline-size:100%;overflow:hidden;background:var(--calcite-color-border-3)}.bar{z-index:var(--calcite-z-index);background-color:var(--calcite-color-brand)}@media (forced-colors: active){.track{background-color:highlightText}.bar{background-color:linkText}}.indeterminate{inline-size:20%;animation:looping-progress-bar-ani calc(var(--calcite-internal-animation-timing-medium) / var(--calcite-internal-duration-factor) * 11 / var(--calcite-internal-duration-factor)) linear infinite}.indeterminate.calcite--rtl{animation-name:looping-progress-bar-ani-rtl}.reversed{animation-direction:reverse}.text{padding-inline:0px;padding-block:1rem 0px;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}@keyframes looping-progress-bar-ani{0%{transform:translate3d(-100%, 0, 0)}50%{inline-size:40%}100%{transform:translate3d(600%, 0, 0)}}@keyframes looping-progress-bar-ani-rtl{0%{transform:translate3d(100%, 0, 0)}50%{inline-size:40%}100%{transform:translate3d(-600%, 0, 0)}}:host([hidden]){display:none}[hidden]{display:none}";export{O as calcite_input,U as calcite_progress}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,f as t,h as i,g as n,c as s}from"./p-dfcf30cc.js";import{g as a,l,s as o,i as r,b as d,z as c,m as p,k as h,n as v,u as g,o as u,p as m}from"./p-b5427580.js";import{l as f}from"./p-e6579db5.js";import"./p-08988be0.js";import"./p-16ec7030.js";import"./p-e1a4994d.js";const y=class{constructor(t){e(this,t),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){var e;this.expanded=!!(null===(e=this.layerCaption)||void 0===e?void 0:e.expanded)}async componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0})}render(){return i("div",{style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:"esri-legend__service esri-legend__group-layer"},i("instant-apps-interactive-legend-layer-element-caption",{ref:e=>this.layerCaption=e,class:a(this.el),legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:this.isChild}),i("div",{class:"esri-legend__group-content "+(!1===this.expanded?"hide":"show")},i("slot",{name:"content"})))}get el(){return n(this)}};y.style=".sc-instant-apps-interactive-legend-group-legend-element-h{display:block}.sc-instant-apps-interactive-legend-group-legend-element-h .esri-legend__service.sc-instant-apps-interactive-legend-group-legend-element{margin:0;padding:0}.sc-instant-apps-interactive-legend-group-legend-element-h .hide.sc-instant-apps-interactive-legend-group-legend-element{display:none}";const _=class{constructor(t){e(this,t),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=void 0,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=this.layerCaption.expanded}componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0})}render(){var e,t;return i("div",{style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:"esri-legend__service"+(this.activeLayerInfo.parent?" esri-legend__group-layer-child":""),tabIndex:0},i("instant-apps-interactive-legend-layer-element-caption",{ref:e=>this.layerCaption=e,legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:!!this.isChild,class:a(this.el)}),i("div",{id:`${null===(t=null===(e=this.activeLayerInfo)||void 0===e?void 0:e.layer)||void 0===t?void 0:t.id}-legend-layer`,class:"esri-legend__layer"+(!1===this.expanded?" hide":" show")},i("slot",{name:"content"})))}get el(){return n(this)}};_.style=".sc-instant-apps-interactive-legend-layer-element-h{display:block}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__service.sc-instant-apps-interactive-legend-layer-element{padding:0}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-layer-element{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-layer-element-h .hide.sc-instant-apps-interactive-legend-layer-element{display:none}";const b=class{constructor(t){e(this,t),this.activeLayerInfo=void 0,this.isSizeRamp=void 0,this.isChild=void 0,this.isColorRamp=void 0,this.isRelationshipRamp=void 0,this.isInteractive=void 0,this.zoomTo=void 0,this.legendElement=void 0,this.titleText=void 0,this.legendvm=void 0,this.legendElementIndex=void 0,this.messages=void 0,this.expanded=!0}legendLayerExpandUpdatedEmitted(){this.expanded=this.legendLayerCaption.expanded}render(){var e,t,n,s,a,r,d,c,p;const h=this.isChild?"esri-legend__layer-child-table":"esri-legend__layer-table",v=1===(null===(t=null===(e=this.legendElement)||void 0===e?void 0:e.infos)||void 0===t?void 0:t.length)&&!(null===(a=null===(s=null===(n=this.activeLayerInfo)||void 0===n?void 0:n.layer)||void 0===s?void 0:s.renderer)||void 0===a?void 0:a.field),g=!this.isSizeRamp&&this.isChild||this.isColorRamp?"":" esri-legend__layer-table--size-ramp",u=this.isInteractive?"":" instant-apps-interactive-legend__non-interactive",m=l(this.activeLayerInfo)?" instant-apps-interactive-legend__nested-unique-symbol":"";let f=!(!v||this.expanded||this.zoomTo)||this.expanded;return this.isRelationshipRamp&&(f=o.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id]),i("div",{class:`${h}${g}${u}${m}`},i("div",{id:`${null===(d=null===(r=this.activeLayerInfo)||void 0===r?void 0:r.layer)||void 0===d?void 0:d.id}-legend-element-caption`,class:this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&v?"hide":"show"},i("instant-apps-interactive-legend-legend-element-caption",{ref:e=>this.legendLayerCaption=e,legendvm:this.legendvm,activeLayerInfo:this.activeLayerInfo,layer:this.activeLayerInfo.layer,titleText:this.titleText,legendElement:this.legendElement,legendElementIndex:this.legendElementIndex,zoomTo:this.zoomTo,isInteractive:this.isInteractive,messages:this.messages})),i("div",{key:"content",id:`${null===(p=null===(c=this.activeLayerInfo)||void 0===c?void 0:c.layer)||void 0===p?void 0:p.id}-legend-element-content-${this.legendElementIndex}`,class:!1===f?"hide":"show"},i("slot",{name:"content"})))}};b.style=".sc-instant-apps-interactive-legend-legend-element-h{display:block}.sc-instant-apps-interactive-legend-legend-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-legend-element,.sc-instant-apps-interactive-legend-legend-element-h .instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-legend-element{margin:0}.sc-instant-apps-interactive-legend-legend-element-h .hide.sc-instant-apps-interactive-legend-legend-element{display:none}";const L=class{constructor(t){e(this,t),this.showAllSelectedEvent=s(this,"showAllSelected",7),this.legendLayerExpandUpdatedEvent=s(this,"legendLayerExpandUpdated",7),this.legendvm=void 0,this.activeLayerInfo=void 0,this.layer=void 0,this.titleText=void 0,this.legendElementIndex=void 0,this.zoomTo=void 0,this.isInteractive=void 0,this.legendElement=void 0,this.expanded=!0,this.messages=void 0}render(){var e,t,n,s;const a=l(this.activeLayerInfo),o=p(this.activeLayerInfo),{expanded:r}=this;return a&&!this.titleText?null:i("div",{class:"esri-legend__layer-caption"},i("calcite-action",{onClick:this.toggleExpanded(),icon:!1===r?"chevron-up":"chevron-down",appearance:"transparent",text:!1===r?null===(e=this.messages)||void 0===e?void 0:e.expand:null===(t=this.messages)||void 0===t?void 0:t.collapse,label:!1===r?null===(n=this.messages)||void 0===n?void 0:n.expand:null===(s=this.messages)||void 0===s?void 0:s.collapse,scale:"s"}),this.isInteractive||o?this.renderLegendElementCaptionControls():null,this.titleText?i("span",{class:"instant-apps-interactive-legend__legend-layer-caption-text"},this.titleText):null)}renderLegendElementCaptionControls(){var e,t,n,s,a,l,o,d,c,p;const h=this.titleText?"":" instant-apps-interactive-legend__layer-caption-btn-container--no-text",v=(null===(s=null===(n=null===(e=r.data)||void 0===e?void 0:e[null===(t=this.layer)||void 0===t?void 0:t.id])||void 0===n?void 0:n.categories)||void 0===s?void 0:s.size)>1?i("calcite-button",{key:"show-all-button",id:"showAll",onClick:this.handleShowAll(),"icon-start":"list-check-all",appearance:"outline",round:!0,label:null===(a=this.messages)||void 0===a?void 0:a.showAll}):null,g=i("calcite-button",{key:"zoom-to-button",id:"zoomTo",onClick:this.handleZoomTo(),"icon-start":"magnifying-glass-plus",appearance:"outline",round:!0,label:null===(l=this.messages)||void 0===l?void 0:l.zoomTo});return i("div",{key:"layer-caption-btn-container",class:`instant-apps-interactive-legend__layer-caption-btn-container${h}`},v,i("calcite-tooltip",{"reference-element":"showAll",placement:"top",label:null===(o=this.messages)||void 0===o?void 0:o.showAll},null===(d=this.messages)||void 0===d?void 0:d.showAll),this.zoomTo?[g,i("calcite-tooltip",{"reference-element":"zoomTo",placement:"top",label:null===(c=this.messages)||void 0===c?void 0:c.zoomTo},null===(p=this.messages)||void 0===p?void 0:p.zoomTo)]:null)}toggleExpanded(){return()=>{var e,t;this.expanded=!this.expanded,this.legendLayerExpandUpdatedEvent.emit(),(null===(t=null===(e=this.activeLayerInfo)||void 0===e?void 0:e.legendElements)||void 0===t?void 0:t.filter((e=>"relationship-ramp"===e.type))).length>0&&o.set("relationshipRampExpandStates",Object.assign(Object.assign({},r.relationshipRampExpandStates),{[this.activeLayerInfo.layer.id]:this.expanded}))}}handleZoomTo(){return()=>{const e=h(this.layer),t=d(e,this.legendElement);c(e,this.legendvm.view,t)}}handleShowAll(){return()=>{var e,t;const i=null===(e=r.data)||void 0===e?void 0:e[null===(t=this.layer)||void 0===t?void 0:t.id];d(i,this.legendElement)?(()=>{const e=v(i,this.legendElement.title);g({intLegendLayerData:e,layerId:this.layer.id})})():((()=>{const e=u(i);g({intLegendLayerData:e,layerId:this.layer.id})})(),this.showAllSelectedEvent.emit())}}get el(){return n(this)}};L.style=".sc-instant-apps-interactive-legend-legend-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-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;margin-left:5px;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}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{white-space:nowrap}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption calcite-button.sc-instant-apps-interactive-legend-legend-element-caption{margin:2px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight);padding:var(--instant-apps-interactive-legend-ui-padding)}html[dir=rtl] .sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:unset;margin-right:20px}";const $=".esri-relationship-ramp--diamond__middle-column--ramp svg g",x=class{constructor(t){e(this,t),this.cellNodeCounter=0,this.filterMode=void 0,this.activeLayerInfo=void 0,this.legendElement=void 0,this.messages=void 0}applyInteractivity(){this.applyRelationshipRampInteractivity()}showAllSelectedEmitted(){const e=0===r.data[this.activeLayerInfo.layer.id].queryExpressions.length,t=this.relationshipRamp.querySelector($).children,i=t?Array.from(t):null;e&&(null==i||i.forEach((e=>{e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.classList.remove("esri-interactive-legend--selected-cell")})))}async componentWillLoad(){const[e]=await f(["esri/symbols/support/symbolUtils"]);this.symbolUtils=e}render(){var e,t;return i("div",{ref:e=>{if(!(null==e?void 0:e.querySelector("relationshipStyles"))){const t=document.createElement("style");t.id="relationshipStyles",t.innerHTML="\n rect:hover {\n cursor: pointer;\n opacity: 0.8;\n }\n ",null==e||e.appendChild(t)}}},i("span",{class:"instant-apps-interactive-legend-relationship__instructional-text"},null===(t=null===(e=this.messages)||void 0===e?void 0:e.relationship)||void 0===t?void 0:t.instructionalText),this.renderRelationshipRamp())}renderRelationshipRamp(){var e;const t=(null===(e=this.activeLayerInfo)||void 0===e?void 0:e.layer).renderer,n=this.symbolUtils.renderRelationshipRampPreviewHTML(t);return i("div",{ref:e=>{this.relationshipRamp=e,this.applyRelationshipRampInteractivity()},key:"relationship-ramp-diamond",innerHTML:`${null==n?void 0:n.outerHTML}`})}applyRelationshipRampInteractivity(){if(!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&r.data))return;let e=setInterval((()=>{const t=this.relationshipRamp.querySelector($);t&&(clearInterval(e),this.setupRelationshipDrawingStyle(t.children))}),10)}setupRelationshipDrawingStyle(e){const t=e?Array.from(e):null;if(!t)return;t.map(((e,t)=>{var i,n;const s=(null===(n=null===(i=this.activeLayerInfo)||void 0===i?void 0:i.layer)||void 0===n?void 0:n.renderer).uniqueValueInfos;if(s[t]){const i=s[t].symbol.color;s.forEach(((t,n)=>{const s=t.symbol.color;i.r===s.r&&i.g===s.g&&i.b===s.b&&i.a===s.a&&this.setCellAttributes(e,n)})),e.classList.add("esri-interactive-legend__svg-rect-element")}}));const i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){const i=this.activeLayerInfo.layer.renderer.uniqueValueInfos,n=this.generateIndexPattern(t);i[n]&&(e.setAttribute("data-color",`${i[n].symbol.color}`),e.setAttribute("data-cell-index",`${n}`),e.setAttribute("tabindex","0"))}generateIndexPattern(e){const{focus:t,numClasses:i}=this.legendElement;return"HL"===t?e:2===i?this.twoClasses(e,t):3===i?this.threeClasses(e,t):4===i?this.fourClasses(e,t):null}twoClasses(e,t){return"HH"===t||null===t?0===e||2===e?e+1:1===e||3===e?e-1:null:"LH"===t?0===e?e+3:1===e?e+1:2===e?e-1:3===e?e-3:4===e?e+0:null:"LL"===t?0===e||1===e?e+2:2===e||3===e?e-2:null:void 0}threeClasses(e,t){return"HH"===t||null===t?0===e||3===e||6===e?e+2:2===e||5===e||8===e?e-2:e:"LH"===t?0===e?e+8:1===e?e+6:2===e?e+4:3===e?e+2:5===e?e-2:6===e?e-4:7===e?e-6:8===e?e-8:e:"LL"===t?0===e||1===e||2===e?e+6:6===e||7===e||8===e?e-6:e:void 0}fourClasses(e,t){return"HH"===t||null===t?0===e||4===e||8===e||12===e?e+3:1===e||5===e||9===e||13===e?e+1:2===e||6===e||10===e||14===e?e-1:3===e||7===e||11===e||15===e?e-3:null:"LH"===t?0===e?e+15:1===e?e+13:2===e?e+11:3===e?e+9:4===e?e+7:5===e?e+5:6===e?e+3:7===e?e+1:8===e?e-1:9===e?e-3:10===e?e-5:11===e?e-7:12===e?e-9:13===e?e-11:14===e?e-13:15===e?e-15:null:"LL"===t?0===e||1===e||2===e||3===e?e+12:4===e||5===e||6===e||7===e?e+4:8===e||9===e||10===e||11===e?e-4:12===e||13===e||14===e||15===e?e-12:null:void 0}reorderCellNodes(e){const t=[];for(;this.cellNodeCounter<=e.length-1;)e.map((e=>{parseInt(e.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(e)})),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){const{focus:t,numClasses:i}=this.legendElement;"HH"===t||null===t?this.relationshipFocusIsHighHigh(e,i):"LL"===t?this.relationshipFocusIsLowLow(e,i):"LH"===t?this.relationshipFocusIsLowHigh(e,i):"HL"===t&&this.relationshipFocusIsHighLow(e,i),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let i=t-1;i>=0;i--)for(let n=t-1;n>=0;n--)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let i=0;i<t;i++)for(let n=0;n<t;n++)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let i=0;i<t;i++)for(let n=t-1;n>=0;n--)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let i=t-1;i>=0;i--)for(let n=0;n<t;n++)this.setDataAttributes(e,n,i,t),this.cellNodeCounter++}setDataAttributes(e,t,i,n){const s=e[this.cellNodeCounter];2===n?this.twoClassAttributes(s,t,i):3===n?this.threeClassAttributes(s,t,i):this.fourClassAttributes(s,t,i)}twoClassAttributes(e,t,i){const{legendElement:n}=this;"HL"===n.focus?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i)}threeClassAttributes(e,t,i){const{legendElement:n}=this;1===this.cellNodeCounter||3===this.cellNodeCounter||5===this.cellNodeCounter||7===this.cellNodeCounter?"HL"===n.focus?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):"HL"!==n.focus?this.setDataFeatureIndexes(e,t,i):this.swapDataFeatureIndexes(e,t,i)}fourClassAttributes(e,t,i){const{legendElement:n}=this,{focus:s}=n;1===this.cellNodeCounter||2===this.cellNodeCounter||4===this.cellNodeCounter||5===this.cellNodeCounter||7===this.cellNodeCounter||8===this.cellNodeCounter||10===this.cellNodeCounter||11===this.cellNodeCounter||13===this.cellNodeCounter||14===this.cellNodeCounter?"HL"===s?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):"HL"!==s?this.setDataFeatureIndexes(e,t,i):this.swapDataFeatureIndexes(e,t,i)}setDataFeatureIndexes(e,t,i){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${i}`),this.setDataCellFocus(e,t,i)}swapDataFeatureIndexes(e,t,i){e.setAttribute("data-feature-i",`${i}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocus(e,i,t)}setDataCellFocus(e,t,i){const{numClasses:n}=this.legendElement;2===n?this.setDataCellFocusForTwoClasses(e,t,i):3===n?this.setDataCellFocusForThreeClasses(e,t,i):4===n&&this.setDataCellFocusForFourClasses(e,t,i)}setDataCellFocusForTwoClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","HL"):1===t&&1===i&&e.setAttribute("data-cell-focus","HH")}setDataCellFocusForThreeClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LM"):0===t&&2===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","ML"):1===t&&1===i?e.setAttribute("data-cell-focus","MM"):1===t&&2===i?e.setAttribute("data-cell-focus","MH"):2===t&&0===i?e.setAttribute("data-cell-focus","HL"):2===t&&1===i?e.setAttribute("data-cell-focus","HM"):2===t&&2===i&&e.setAttribute("data-cell-focus","HH")}setDataCellFocusForFourClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LM1"):0===t&&2===i?e.setAttribute("data-cell-focus","LM2"):0===t&&3===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","M1L"):1===t&&1===i?e.setAttribute("data-cell-focus","M1M1"):1===t&&2===i?e.setAttribute("data-cell-focus","M1M2"):1===t&&3===i?e.setAttribute("data-cell-focus","M1H"):2===t&&0===i?e.setAttribute("data-cell-focus","M2L"):2===t&&1===i?e.setAttribute("data-cell-focus","M2M1"):2===t&&2===i?e.setAttribute("data-cell-focus","M2M2"):2===t&&3===i?e.setAttribute("data-cell-focus","M2H"):3===t&&0===i?e.setAttribute("data-cell-focus","HL"):3===t&&1===i?e.setAttribute("data-cell-focus","HM1"):3===t&&2===i?e.setAttribute("data-cell-focus","HM2"):3===t&&3===i&&e.setAttribute("data-cell-focus","HH")}applyEventHandlers(){const e=document.querySelectorAll(".esri-interactive-legend__svg-rect-element");Array.from(e).map((e=>{const t=e.getAttribute("data-feature-i"),i=e.getAttribute("data-feature-j"),n=e.getAttribute("data-cell-focus");e.onclick=()=>{this.handleFilter(t,i,n),this.handleSelectedElement(e)},e.onkeydown=s=>{const{key:a}=s;("Enter"===a||"Space"===a)&&(this.handleFilter(t,i,n),this.handleSelectedElement(e))}}))}async handleFilter(e,t,i){var n,s,a,l,o;const d=this.activeLayerInfo.layer,{authoringInfo:c}=d.renderer,{field1:p,field2:h}=c,{queryExpressions:v,fLayerView:g}=r.data[this.activeLayerInfo.layer.id];if("relationship-ramp"===this.legendElement.type&&c&&p&&h){const r=this.generateExpressionParams(p,h,c,e,t,i),d=this.generateExpressionForRelationship(r);0===v.length?v[0]=d:-1===v.indexOf(d)?v.push(d):v.splice(v.indexOf(d),1);const u=v.join(" OR "),y=null!==(s=null===(n=null==g?void 0:g.filter)||void 0===n?void 0:n.timeExtent)&&void 0!==s?s:null,[_,b]=await f(["esri/layers/support/FeatureFilter","esri/layers/support/FeatureEffect"]);if("filter"===(null===(a=this.filterMode)||void 0===a?void 0:a.type))g.filter=new _({where:u,timeExtent:(null===(l=null==g?void 0:g.filter)||void 0===l?void 0:l.timeExtent)?g.filter.timeExtent:null});else if(null===(o=this.filterMode)||void 0===o?void 0:o.effect){const{includedEffect:e,excludedEffect:t}=this.filterMode.effect,i=await m(t,g,"excludedEffect"),n=await m(e,g,"includedEffect");g.featureEffect=new b({filter:new _({where:u,timeExtent:y}),includedEffect:n,excludedEffect:i})}}}generateExpressionParams(e,t,i,n,s,a){const l=[],o=e.field,r=t.field,d=e.classBreakInfos,c=t.classBreakInfos,p=i.field1.hasOwnProperty("normalizationField")?i.field1.normalizationField:null,h=i.field2.hasOwnProperty("normalizationField")?i.field2.normalizationField:null;return d.forEach(((e,t)=>{const i=[];c.forEach(((e,n)=>{i.push([d[t],c[n]])})),l.push(i)})),{data:l,i:n,j:s,field1:p?`(${o}/${p})`:`${o}`,field2:h?`(${r}/${h})`:`${r}`,focus:a}}generateExpressionForRelationship(e){const{focus:t,field1:i,field2:n,data:s,i:a,j:l}=e;return"LL"===t?`${i} >= ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} >= ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`:"LM"===t||"LM1"===t||"LM2"===t||"LH"===t?`${i} >= ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} > ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`:"ML"===t||"M1L"===t||"M2L"===t||"HL"===t?`${i} > ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} >= ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`:`${i} > ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} > ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`}handleSelectedElement(e){const t=e.classList;t.contains("esri-interactive-legend--selected-cell")?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),t.remove("esri-interactive-legend--selected-cell")):(t.add("esri-interactive-legend--selected-cell"),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"))}};x.style=".sc-instant-apps-interactive-legend-relationship-h{display:block}.sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark .sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{background-color:var(--calcite-color-brand);color:#151515}";export{y as instant_apps_interactive_legend_group_legend_element,_ as instant_apps_interactive_legend_layer_element,b as instant_apps_interactive_legend_legend_element,L as instant_apps_interactive_legend_legend_element_caption,x as instant_apps_interactive_legend_relationship}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{f as n}from"./p-dfcf30cc.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 a=new WeakMap,e=new WeakMap;function s(n){e.set(n,new Promise((e=>a.set(n,e))))}function t(n){a.get(n)()}function o(n){return e.get(n)}async function r(a){return await o(a),n(a),new Promise((n=>requestAnimationFrame((()=>n()))))}export{t as a,o as b,r as c,s}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,h as s,H as e,g as a}from"./p-dfcf30cc.js";import{l as h}from"./p-6e1fc9fd.js";import{g as n}from"./p-6a5bbbe6.js";import{x as l}from"./p-9b46426a.js";import{f as o}from"./p-4af32c75.js";import{s as r}from"./p-729dde18.js";import"./p-16ec7030.js";import"./p-e1a4994d.js";import"./p-cbfdcfaf.js";import"./p-16b08122.js";import"./p-08988be0.js";const c=class{constructor(s){t(this,s),this.bufferComplete=i(this,"bufferComplete",7),this.distanceChanged=i(this,"distanceChanged",7),this.unitChanged=i(this,"unitChanged",7),this.appearance="text",this.distance=0,this.geometries=[],this.max=void 0,this.min=0,this.sliderTicks=10,this.unionResults=!0,this.unit="meters",this.disabled=!1,this._translations=void 0}geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async getTranslatedUnit(t){return this._units||await this._defineTranslations(),this._units[t]}async componentWillLoad(){await this._defineTranslations(),await this._initModules()}render(){return s(e,null,"text"===this.appearance?this._getTextBoxDisplay():this._getSliderDisplay())}async _defineTranslations(){await this._getTranslations(),this._initTranslatedUnits()}async _initModules(){const[t]=await h(["esri/geometry/geometryEngine"]);this._geometryEngine=t}_initTranslatedUnits(){this._units={feet:this._translations.feet,meters:this._translations.meters,miles:this._translations.miles,kilometers:this._translations.kilometers}}_getUnits(){return Object.keys(this._units).map((t=>s("calcite-option",{label:this._units[t],selected:this.unit===t,value:t})))}_setDistance(t){const i=parseInt(t.target.value,10);this.distance!==i&&i>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:i}),this.distance=i,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(t){this.unitChanged.emit({oldValue:this.unit,newValue:t}),this.unit=t,this._buffer()}_buffer(){this.disabled?this.bufferComplete.emit(void 0):(this._bufferTimeout&&clearTimeout(this._bufferTimeout),this._bufferTimeout=setTimeout((()=>{if(this.geometries?.length>0&&this.unit&&this.distance>0){const t=this.geometries[0].spatialReference,i=t.isWGS84||t.isWebMercator?this._geometryEngine.geodesicBuffer(this.geometries,this.distance,this.unit,this.unionResults):this._geometryEngine.buffer(this.geometries,this.distance,this.unit,this.unionResults);this.bufferComplete.emit(i)}}),400))}_getTextBoxDisplay(){return s("div",{class:"c-container"},s("calcite-input",{class:"padding-end-1 w-50",max:this.max&&this.max>0?this.max:void 0,min:this.min,"number-button-type":"vertical",onCalciteInputInput:t=>this._setDistance(t),placeholder:"0",type:"number",value:this.distance?this.distance.toString():void 0}),s("calcite-select",{class:"flex-1 w-50",label:"label",onCalciteSelectChange:()=>this._setUnit(this._unitElement.value),ref:t=>{this._unitElement=t}},this._getUnits()))}_getSliderDisplay(){return s("div",null,s("calcite-slider",{labelHandles:!0,max:this.max&&this.max>0?this.max:void 0,min:this.min,ticks:this.sliderTicks}))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}_testAccess(t,i){switch(t){case"_setUnit":return this._setUnit(i);case"_setDistance":return this._setDistance(i)}return null}get el(){return a(this)}static get watchers(){return{geometries:["geometriesWatchHandler"],disabled:["disabledWatchHandler"]}}};
|
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
|
-
*/
|
12
|
-
var d;c.style=':host{display:block}.c-container{display:inline-flex}.flex-1{flex:"1"}.padding-end-1{padding-inline-end:1rem}.w-50{width:50%}',function(t){t.valid="check-circle",t.invalid="exclamation-mark-triangle",t.idle="information"}(d||(d={}));const p=class{constructor(i){t(this,i),this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.status="idle"}handleIconEl(){this.requestedIcon=l(d,this.icon,this.status)}connectedCallback(){this.requestedIcon=l(d,this.icon,this.status)}render(){return s(e,{"calcite-hydrated-hidden":this.el.hidden},this.renderIcon(this.requestedIcon),s("slot",null))}renderIcon(t){if(t)return s("calcite-icon",{class:"calcite-input-message-icon",flipRtl:this.iconFlipRtl,icon:t,scale:"s"})}get el(){return a(this)}static get watchers(){return{status:["handleIconEl"],icon:["handleIconEl"]}}};p.style=":host([scale=m]),:host([scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{visibility:hidden;box-sizing:border-box;display:flex;block-size:0px;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);visibility:visible;block-size:auto;opacity:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([scale=m]),:host([scale=l]){margin-block-start:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-color-status-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-color-status-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-color-status-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-color-brand)}:host([status]){color:var(--calcite-color-text-1)}:host([status][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][scale=m]){margin-block-start:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([status][scale=l]){margin-block-start:0.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([hidden]){display:none}[hidden]{display:none}";const g=class{constructor(s){t(this,s),this.selectionLoadingChange=i(this,"selectionLoadingChange",7),this.sketchGraphicsChange=i(this,"sketchGraphicsChange",7),this.drawUndo=i(this,"drawUndo",7),this.drawRedo=i(this,"drawRedo",7),this.active=!1,this.drawMode=o.SKETCH,this.editGraphicsEnabled=!0,this.graphics=void 0,this.mapView=void 0,this.pointSymbol=void 0,this.polylineSymbol=void 0,this.polygonSymbol=void 0,this.redoEnabled=!1,this.undoEnabled=!1,this._translations=void 0,this._selectionMode=void 0}graphicsWatchHandler(t,i){t&&t.length>0&&JSON.stringify(t)!==JSON.stringify(i)&&this._sketchGraphicsLayer&&(this._updateGraphicsSymbols(t),this._sketchGraphicsLayer.removeAll(),this._sketchGraphicsLayer.addMany(t))}mapViewWatchHandler(t,i){t&&t!==i&&this._init()}async clear(){this._clearSketch()}async updateGraphics(){this._updateGraphics()}async componentWillLoad(){await this._getTranslations(),await this._initModules()}componentDidLoad(){this._init()}disconnectedCallback(){this._sketchWidget.cancel(),this._clearSketch()}render(){const t=this.drawMode===o.SKETCH?"display-none":"esri-widget esri-sketch__panel border-left esri-sketch__section";return s(e,null,s("div",{class:this.drawMode===o.SKETCH?"border":"border esri-widget esri-sketch__panel"},s("div",{ref:t=>{this._sketchElement=t}}),s("div",{class:t},s("calcite-action",{disabled:!this.undoEnabled,icon:"undo",onClick:()=>this._undo(),scale:"s",text:this._translations.undo}),s("calcite-action",{disabled:!this.redoEnabled,icon:"redo",onClick:()=>this._redo(),scale:"s",text:this._translations.redo}))))}async _initModules(){const[t,i,s]=await h(["esri/layers/GraphicsLayer","esri/widgets/Sketch","esri/widgets/Sketch/SketchViewModel"]);this.GraphicsLayer=t,this.Sketch=i,this.SketchViewModel=s}_init(){this.mapView&&this._sketchElement&&(this._initGraphicsLayer(),this._initSketch())}_initGraphicsLayer(){const t=this._translations.sketchLayer,i=this.mapView.map.layers.findIndex((i=>i.title===t));i>-1?this._sketchGraphicsLayer=this.mapView.map.layers.getItemAt(i):(this._sketchGraphicsLayer=new this.GraphicsLayer({title:t,listMode:"hide"}),r.managedLayers.push(t),this.mapView.map.layers.add(this._sketchGraphicsLayer)),this.graphics&&this.graphics.length>0&&this._sketchGraphicsLayer.addMany(this.graphics)}_initSketch(){const t={layer:this._sketchGraphicsLayer,view:this.mapView,defaultCreateOptions:{mode:"hybrid"},defaultUpdateOptions:{preserveAspectRatio:!1,enableScaling:!1,enableRotation:!1,tool:"reshape",toggleToolOnClick:!1}};this._sketchWidget=new this.Sketch({...t,container:this._sketchElement,creationMode:"single",visibleElements:{duplicateButton:!1,selectionTools:{"lasso-selection":!1,"rectangle-selection":!1},createTools:{circle:!1},undoRedoMenu:!1,settingsMenu:this.drawMode===o.SKETCH}}),this._sketchViewModel=new this.SketchViewModel({...t}),this._sketchWidget.viewModel.polylineSymbol=this.polylineSymbol,this._sketchWidget.viewModel.pointSymbol=this.pointSymbol,this._sketchWidget.viewModel.polygonSymbol=this.polygonSymbol;let i=!1;this._sketchWidget.on("create",(t=>{"complete"===t.state&&(this.graphics=[t.graphic],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1}),this.drawMode===o.REFINE&&(i=!0,this._sketchWidget.viewModel.create(t.tool))),"cancel"===t.state&&this.drawMode===o.REFINE&&i&&(i=!i,this._sketchWidget.viewModel.create(t.tool))})),this._sketchWidget.on("update",(t=>{if(this.editGraphicsEnabled){const i=t?.toolEventInfo?.type;"reshape-stop"!==i&&"move-stop"!==i||(this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1}))}else this._sketchWidget.viewModel.cancel(),this._sketchViewModel.cancel()})),this._sketchWidget.on("delete",(()=>{this.graphics=[],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.on("undo",(t=>{this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.on("redo",(t=>{this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})}))}_clearSketch(){this._sketchWidget.viewModel.cancel(),this.graphics=[],this._sketchGraphicsLayer?.removeAll()}_undo(){this.drawUndo.emit()}_redo(){this.drawRedo.emit()}_updateGraphics(){setTimeout((()=>{1===this.graphics.length&&this._sketchWidget.update(this.graphics,{tool:"reshape",enableRotation:!1,enableScaling:!1,preserveAspectRatio:!1,toggleToolOnClick:!1})}),100)}_updateGraphicsSymbols(t){const i=t[0].geometry.type,s="point"===i?this.pointSymbol:"polyline"===i?this.polylineSymbol:"polygon"===i?this.polygonSymbol:void 0;s&&t.forEach((t=>t.symbol=s))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}get el(){return a(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],mapView:["mapViewWatchHandler"]}}};g.style=':host{display:block}.border{outline:1px solid var(--calcite-color-border-input)}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.margin-top-1{margin-top:1rem}.border-left{border-left:1px solid rgba(110,110,110,.3)}.border-left[dir="rtl"]{border-right:1px solid rgba(110,110,110,.3)}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:#fff;--esri-widget-padding-v:12px;--esri-widget-padding-h:15px;--esri-widget-padding:var(--esri-widget-padding-v) var(--esri-widget-padding-h)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row wrap;padding:0;justify-content:flex-start !important}.esri-sketch__section{align-items:center;display:flex;flex-flow:row wrap;padding:0 7px;margin:6px 0}';export{c as buffer_tools,p as calcite_input_message,g as map_draw_tools}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as i,c as t,h as e,H as o,g as a}from"./p-dfcf30cc.js";import{c as n,d as s}from"./p-2395c425.js";import{g as r,u as l,f as c,v as d}from"./p-9b46426a.js";import{d as h,a as m,c as p,u as b}from"./p-647c4bdb.js";import{s as u,a as g,c as v}from"./p-dca25d3e.js";import{c as x}from"./p-2b56ecd9.js";import{o as f}from"./p-d395caef.js";import{c as k,d as z}from"./p-9907889f.js";import{s as w,c as y,d as C,u as j}from"./p-ed116111.js";import{g as $}from"./p-31b622cd.js";import"./p-cbfdcfaf.js";import"./p-16b08122.js";import"./p-52445921.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 M="modal",O="header",F="container",D="modal--opening-idle",B="modal--opening-active",L="modal--closing-idle",S="modal--closing-active",T="content",E="back",q="secondary",A="primary",H=class{constructor(e){i(this,e),this.calciteModalBeforeClose=t(this,"calciteModalBeforeClose",6),this.calciteModalClose=t(this,"calciteModalClose",6),this.calciteModalBeforeOpen=t(this,"calciteModalBeforeOpen",6),this.calciteModalOpen=t(this,"calciteModalOpen",6),this.ignoreOpenChange=!1,this.mutationObserver=x("mutation",(()=>this.handleMutationObserver())),this.cssVarObserver=x("mutation",(()=>{this.updateSizeCssVars()})),this.openTransitionProp="opacity",this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleCloseClick=()=>{this.open=!1},this.handleOutsideClose=()=>{this.outsideCloseDisabled||(this.open=!1)},this.closeModal=async()=>{if(this.beforeClose)try{await this.beforeClose(this.el)}catch(i){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}this.opened=!1,this.removeOverflowHiddenClass()},this.handleMutationObserver=()=>{this.updateFooterVisibility(),this.updateFocusTrapElements()},this.updateFooterVisibility=()=>{this.hasFooter=!!r(this.el,[E,A,q])},this.updateSizeCssVars=()=>{this.cssWidth=getComputedStyle(this.el).getPropertyValue("--calcite-modal-width"),this.cssHeight=getComputedStyle(this.el).getPropertyValue("--calcite-modal-height")},this.contentTopSlotChangeHandler=i=>{this.hasContentTop=l(i)},this.contentBottomSlotChangeHandler=i=>{this.hasContentBottom=l(i)},this.open=!1,this.opened=!1,this.beforeClose=void 0,this.closeButtonDisabled=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.docked=void 0,this.escapeDisabled=!1,this.scale="m",this.widthScale="m",this.fullscreen=void 0,this.kind=void 0,this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.cssWidth=void 0,this.cssHeight=void 0,this.hasFooter=!0,this.hasContentTop=!1,this.hasContentBottom=!1,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(i){this.open&&(i?h(this):m(this))}onMessagesChange(){}async componentWillLoad(){await w(this),u(this),this.open&&requestAnimationFrame((()=>this.openModal()))}componentDidLoad(){g(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.cssVarObserver?.observe(this.el,{attributeFilter:["style"]}),this.updateSizeCssVars(),this.updateFooterVisibility(),n(this),k(this),y(this),p(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),this.cssVarObserver?.disconnect(),s(this),h(this),z(this),C(this),this.slottedInShell=!1}render(){return e(o,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},e("div",{class:{[F]:!0,"container--open":this.opened,"slotted-in-shell":this.slottedInShell}},e("calcite-scrim",{class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),e("div",{class:{[M]:!0},ref:this.setTransitionEl},e("div",{class:O},this.renderCloseButton(),e("header",{class:"title"},e("slot",{name:O}))),this.renderContentTop(),e("div",{class:{content:!0,"content--no-footer":!this.hasFooter},ref:i=>this.modalContent=i},e("slot",{name:T})),this.renderContentBottom(),this.renderFooter())))}renderFooter(){return this.hasFooter?e("div",{class:"footer",key:"footer"},e("span",{class:"back"},e("slot",{name:E})),e("span",{class:"secondary"},e("slot",{name:q})),e("span",{class:"primary"},e("slot",{name:A}))):null}renderContentTop(){return e("div",{class:"content-top",hidden:!this.hasContentTop},e("slot",{name:"content-top",onSlotchange:this.contentTopSlotChangeHandler}))}renderContentBottom(){return e("div",{class:"content-bottom",hidden:!this.hasContentBottom},e("slot",{name:"content-bottom",onSlotchange:this.contentBottomSlotChangeHandler}))}renderCloseButton(){return this.closeButtonDisabled?null:e("button",{"aria-label":this.messages.close,class:"close",key:"button",onClick:this.handleCloseClick,title:this.messages.close,ref:i=>this.closeButtonEl=i},e("calcite-icon",{icon:"x",scale:$(this.scale)}))}renderStyle(){if(!this.fullscreen&&(this.cssWidth||this.cssHeight))return e("style",null,`.${F} {\n ${this.docked&&this.cssWidth?"align-items: center !important;":""}\n }\n .${M} {\n block-size: ${this.cssHeight?this.cssHeight:"auto"} !important;\n ${this.cssWidth?`inline-size: ${this.cssWidth} !important;`:""}\n ${this.cssWidth?`max-inline-size: ${this.cssWidth} !important;`:""}\n ${this.docked?"border-radius: var(--calcite-border-radius) !important;":""}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${F} {\n ${this.docked?"align-items: flex-end !important;":""}\n }\n .${M} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${this.docked?"":"block-size: 100% !important;"}\n ${this.docked?"":"border-radius: 0 !important;"}\n ${this.docked?"border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;":""}\n }\n }\n `)}effectiveLocaleChange(){j(this,this.effectiveLocale)}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.open=!1,i.preventDefault())}async setFocus(){await v(this),c(this.el)}async updateFocusTrapElements(){b(this)}async scrollContent(i=0,t=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:i,left:t,behavior:"smooth"}):(this.modalContent.scrollTop=i,this.modalContent.scrollLeft=t))}onBeforeOpen(){this.transitionEl.classList.add(B),this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove(D,B),this.calciteModalOpen.emit(),m(this)}onBeforeClose(){this.transitionEl.classList.add(S),this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl.classList.remove(L,S),this.calciteModalClose.emit(),h(this)}toggleModal(i){this.ignoreOpenChange||(i?this.openModal():this.closeModal())}handleOpenedChange(i){f(this),this.transitionEl?.classList.add(i?D:L)}openModal(){this.el.addEventListener("calciteModalOpen",this.openEnd),this.opened=!0;const i=r(this.el,"header"),t=r(this.el,T);this.titleId=d(i),this.contentId=d(t),this.slottedInShell||(this.initialOverflowCSS=document.documentElement.style.overflow,document.documentElement.style.setProperty("overflow","hidden"))}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",this.initialOverflowCSS)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],open:["toggleModal"],opened:["handleOpenedChange"]}}};H.style=":host{--calcite-modal-scrim-background:rgba(0, 0, 0, 0.85);position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-color-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-color-transparent-scrim));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([opened]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.close:hover,.close:focus,.close:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-color-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width-scale=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width-scale=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=s][docked]) .container{align-items:flex-end}}:host([width-scale=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width-scale=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=m][docked]) .container{align-items:flex-end}}:host([width-scale=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width-scale=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([opened][fullscreen]) .header,:host([opened][fullscreen]) .footer,:host([opened][fullscreen]) .content-top,:host([opened][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-color-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-color-status-danger)}:host([kind=info]) .modal{border-color:var(--calcite-color-status-info)}:host([kind=success]) .modal{border-color:var(--calcite-color-status-success)}:host([kind=warning]) .modal{border-color:var(--calcite-color-status-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container.slotted-in-shell{position:absolute;pointer-events:auto}.container.slotted-in-shell calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";export{H as calcite_modal}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
let e,n,t,l=!1,o=!1,s=!1,i=!1,c=null,r=!1;const f=e=>{const n=new URL(e,Oe.t);return n.origin!==je.location.origin?n.href:n.pathname},u="slot-fb{display:contents}slot-fb[hidden]{display:none}",a="http://www.w3.org/1999/xlink",d={},v=e=>"object"==(e=typeof e)||"function"===e;function p(e){var n,t,l;return null!==(l=null===(t=null===(n=e.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const y=(e,n,...t)=>{let l=null,o=null,s=null,i=!1,c=!1;const r=[],f=n=>{for(let t=0;t<n.length;t++)l=n[t],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!v(l))&&(l+=""),i&&c?r[r.length-1].l+=l:r.push(i?m(null,l):l),c=i)};if(f(t),n){n.key&&(o=n.key),n.name&&(s=n.name);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}if("function"==typeof e)return e(null===n?{}:n,r,h);const u=m(e,null);return u.o=n,r.length>0&&(u.i=r),u.u=o,u.v=s,u},m=(e,n)=>({p:0,m:e,l:n,$:null,i:null,o:null,u:null,v:null}),$={},h={forEach:(e,n)=>e.map(b).forEach(n),map:(e,n)=>e.map(b).map(n).map(w)},b=e=>({vattrs:e.o,vchildren:e.i,vkey:e.u,vname:e.v,vtag:e.m,vtext:e.l}),w=e=>{if("function"==typeof e.vtag){const n=Object.assign({},e.vattrs);return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),y(e.vtag,n,...e.vchildren||[])}const n=m(e.vtag,e.vtext);return n.o=e.vattrs,n.i=e.vchildren,n.u=e.vkey,n.v=e.vname,n},g=e=>ye(e).$hostElement$,k=(e,n,t)=>{const l=g(e);return{emit:e=>j(l,n,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:e})}},j=(e,n,t)=>{const l=Oe.ce(n,t);return e.dispatchEvent(l),l},S=new WeakMap,O=e=>"sc-"+e.h,C=(e,n,t,l,o,s)=>{if(t!==l){let i=he(e,n),c=n.toLowerCase();if("class"===n){const n=e.classList,o=x(t),s=x(l);n.remove(...o.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===n){for(const n in t)l&&null!=l[n]||(n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in l)t&&l[n]===t[n]||(n.includes("-")?e.style.setProperty(n,l[n]):e.style[n]=l[n])}else if("key"===n);else if("ref"===n)l&&l(e);else if(i||"o"!==n[0]||"n"!==n[1]){const r=v(l);if((i||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[n]=l;else{const o=null==l?"":l;"list"===n?i=!1:null!=t&&e[n]==o||(e[n]=o)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(n=c,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(n)||(f?e.removeAttributeNS(a,n):e.removeAttribute(n)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,f?e.setAttributeNS(a,n,l):e.setAttribute(n,l))}else if(n="-"===n[2]?n.slice(3):he(je,c)?c.slice(2):c[2]+n.slice(3),t||l){const o=n.endsWith(M);n=n.replace(P,""),t&&Oe.rel(e,n,t,o),l&&Oe.ael(e,n,l,o)}}},R=/\s/,x=e=>e?e.split(R):[],M="Capture",P=RegExp(M+"$"),E=(e,n,t,l)=>{const o=11===n.$.nodeType&&n.$.host?n.$.host:n.$,s=e&&e.o||d,i=n.o||d;for(l in s)l in i||C(o,l,s[l],void 0,t,n.p);for(l in i)C(o,l,s[l],i[l],t,n.p)},L=(o,c,r,f)=>{var u;const a=c.i[r];let d,v,p,y=0;if(l||(s=!0,"slot"===a.m&&(e&&f.classList.add(e+"-s"),a.p|=a.i?2:1)),null!==a.l)d=a.$=Se.createTextNode(a.l);else if(1&a.p)d=a.$=Se.createTextNode("");else{if(i||(i="svg"===a.m),d=a.$=Se.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&a.p?"slot-fb":a.m),i&&"foreignObject"===a.m&&(i=!1),E(null,a,i),null!=e&&d["s-si"]!==e&&d.classList.add(d["s-si"]=e),a.i)for(y=0;y<a.i.length;++y)v=L(o,a,y,d),v&&d.appendChild(v);"svg"===a.m?i=!1:"foreignObject"===d.tagName&&(i=!0)}return d["s-hn"]=t,3&a.p&&(d["s-sr"]=!0,d["s-fs"]=null===(u=a.o)||void 0===u?void 0:u.slot,d["s-cr"]=n,d["s-sn"]=a.v||"",p=o&&o.i&&o.i[r],p&&p.m===a.m&&o.$&&T(o.$,!1)),d},T=(e,n)=>{var l;Oe.p|=1;const o=e.childNodes;for(let e=o.length-1;e>=0;e--){const i=o[e];i["s-hn"]!==t&&i["s-ol"]&&(A(i).insertBefore(i,N(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,1===i.nodeType&&i.setAttribute("slot",null!==(l=i["s-sn"])&&void 0!==l?l:""),s=!0),n&&T(i,n)}Oe.p&=-2},U=(e,n,l,o,s,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===t&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=L(null,l,s,e),c&&(o[s].$=c,r.insertBefore(c,N(n))))},W=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.$;z(n),e&&(o=!0,e["s-ol"]?e["s-ol"].remove():T(e,!0),e.remove())}}},F=(e,n)=>e.m===n.m&&("slot"===e.m?e.v===n.v:e.u===n.u),N=e=>e&&e["s-ol"]||e,A=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,D=(e,n)=>{const t=n.$=e.$,l=e.i,o=n.i,s=n.m,c=n.l;let r;null===c?(i="svg"===s||"foreignObject"!==s&&i,"slot"===s||E(e,n,i),null!==l&&null!==o?((e,n,t,l)=>{let o,s,i=0,c=0,r=0,f=0,u=n.length-1,a=n[0],d=n[u],v=l.length-1,p=l[0],y=l[v];for(;i<=u&&c<=v;)if(null==a)a=n[++i];else if(null==d)d=n[--u];else if(null==p)p=l[++c];else if(null==y)y=l[--v];else if(F(a,p))D(a,p),a=n[++i],p=l[++c];else if(F(d,y))D(d,y),d=n[--u],y=l[--v];else if(F(a,y))"slot"!==a.m&&"slot"!==y.m||T(a.$.parentNode,!1),D(a,y),e.insertBefore(a.$,d.$.nextSibling),a=n[++i],y=l[--v];else if(F(d,p))"slot"!==a.m&&"slot"!==y.m||T(d.$.parentNode,!1),D(d,p),e.insertBefore(d.$,a.$),d=n[--u],p=l[++c];else{for(r=-1,f=i;f<=u;++f)if(n[f]&&null!==n[f].u&&n[f].u===p.u){r=f;break}r>=0?(s=n[r],s.m!==p.m?o=L(n&&n[c],t,r,e):(D(s,p),n[r]=void 0,o=s.$),p=l[++c]):(o=L(n&&n[c],t,c,e),p=l[++c]),o&&A(a.$).insertBefore(o,N(a.$))}i>u?U(e,null==l[v+1]?null:l[v+1].$,t,l,c,v):c>v&&W(n,i,u)})(t,l,n,o):null!==o?(null!==e.l&&(t.textContent=""),U(t,null,n,o,0,o.length-1)):null!==l&&W(l,0,l.length-1),i&&"svg"===s&&(i=!1)):(r=t["s-cr"])?r.parentNode.textContent=c:e.l!==c&&(t.data=c)},H=e=>{const n=e.childNodes;for(const e of n)if(1===e.nodeType){if(e["s-sr"]){const t=e["s-sn"];e.hidden=!1;for(const l of n)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==t){if(1===l.nodeType&&(t===l.getAttribute("slot")||t===l["s-sn"])){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}H(e)}},q=[],V=e=>{let n,t,l;for(const s of e.childNodes){if(s["s-sr"]&&(n=s["s-cr"])&&n.parentNode){t=n.parentNode.childNodes;const e=s["s-sn"];for(l=t.length-1;l>=0;l--)if(n=t[l],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==s["s-hn"])if(_(n,e)){let t=q.find((e=>e.k===n));o=!0,n["s-sn"]=n["s-sn"]||e,t?(t.k["s-sh"]=s["s-hn"],t.j=s):(n["s-sh"]=s["s-hn"],q.push({j:s,k:n})),n["s-sr"]&&q.map((e=>{_(e.k,n["s-sn"])&&(t=q.find((e=>e.k===n)),t&&!e.j&&(e.j=t.j))}))}else q.some((e=>e.k===n))||q.push({k:n})}1===s.nodeType&&V(s)}},_=(e,n)=>1===e.nodeType?null===e.getAttribute("slot")&&""===n||e.getAttribute("slot")===n:e["s-sn"]===n||""===n,z=e=>{e.o&&e.o.ref&&e.o.ref(null),e.i&&e.i.map(z)},B=(e,n)=>{n&&!e.S&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.S=n)))},G=(e,n)=>{if(e.p|=16,!(4&e.p))return B(e,e.O),We((()=>I(e,n)));e.p|=512},I=(e,n)=>{const t=e.C;let l;return n?(e.p|=256,e.R&&(e.R.map((([e,n])=>te(t,e,n))),e.R=void 0),l=te(t,"componentWillLoad")):l=te(t,"componentWillUpdate"),l=J(l,(()=>te(t,"componentWillRender"))),J(l,(()=>Q(e,t,n)))},J=(e,n)=>K(e)?e.then(n):n(),K=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Q=async(e,n,t)=>{var l;const o=e.$hostElement$,s=o["s-rc"];t&&(e=>{const n=e.M,t=e.$hostElement$,l=n.p,o=((e,n)=>{var t;const l=O(n),o=ke.get(l);if(e=11===e.nodeType?e:Se,o)if("string"==typeof o){let s,i=S.get(e=e.head||e);if(i||S.set(e,i=new Set),!i.has(l)){{s=Se.createElement("style"),s.innerHTML=o;const n=null!==(t=Oe.P)&&void 0!==t?t:p(Se);null!=n&&s.setAttribute("nonce",n),e.insertBefore(s,e.querySelector("link"))}4&n.p&&(s.innerHTML+=u),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);10&l&&(t["s-sc"]=o,t.classList.add(o+"-h"),2&l&&t.classList.add(o+"-s"))})(e);X(e,n,o,t),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const n=null!==(l=o["s-p"])&&void 0!==l?l:[],t=()=>Z(e);0===n.length?t():(Promise.all(n).then(t),e.p|=4,n.length=0)}},X=(i,r,f,u)=>{try{c=r,r=r.render(),i.p&=-17,i.p|=2,((i,c,r=!1)=>{var f,u;const a=i.$hostElement$,d=i.M,v=i.L||m(null,null),p=(e=>e&&e.m===$)(c)?c:y(null,null,c);if(t=a.tagName,d.T&&(p.o=p.o||{},d.T.map((([e,n])=>p.o[n]=a[e]))),r&&p.o)for(const e of Object.keys(p.o))a.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(p.o[e]=a[e]);if(p.m=null,p.p|=4,i.L=p,p.$=v.$=a.shadowRoot||a,e=a["s-sc"],n=a["s-cr"],l=0!=(1&d.p),o=!1,D(v,p),Oe.p|=1,s){V(p.$);for(const e of q){const n=e.k;if(!n["s-ol"]){const e=Se.createTextNode("");e["s-nr"]=n,n.parentNode.insertBefore(n["s-ol"]=e,n)}}for(const e of q){const n=e.k,t=e.j;if(t){const e=t.parentNode;let l=t.nextSibling;{let t=null===(f=n["s-ol"])||void 0===f?void 0:f.previousSibling;for(;t;){let o=null!==(u=t["s-nr"])&&void 0!==u?u:null;if(o&&o["s-sn"]===n["s-sn"]&&e===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){l=o;break}t=t.previousSibling}}(!l&&e!==n.parentNode||n.nextSibling!==l)&&n!==l&&(!n["s-hn"]&&n["s-ol"]&&(n["s-hn"]=n["s-ol"].parentNode.nodeName),e.insertBefore(n,l))}else 1===n.nodeType&&(n.hidden=!0)}}o&&H(p.$),Oe.p&=-2,q.length=0})(i,r,u)}catch(e){be(e,i.$hostElement$)}return c=null,null},Y=()=>c,Z=e=>{const n=e.$hostElement$,t=e.C,l=e.O;te(t,"componentDidRender"),64&e.p?te(t,"componentDidUpdate"):(e.p|=64,le(n),te(t,"componentDidLoad"),e.U(n),l||ne()),e.W(n),e.S&&(e.S(),e.S=void 0),512&e.p&&Te((()=>G(e,!1))),e.p&=-517},ee=e=>{{const n=ye(e),t=n.$hostElement$.isConnected;return t&&2==(18&n.p)&&G(n,!1),t}},ne=()=>{le(Se.documentElement),Te((()=>j(je,"appload",{detail:{namespace:"solutions-components"}})))},te=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){be(e)}},le=e=>e.classList.add("hydrated"),oe=(e,n,t)=>{var l;const o=e.prototype;if(n.F){e.watchers&&(n.N=e.watchers);const s=Object.entries(n.F);if(s.map((([e,[l]])=>{31&l||2&t&&32&l?Object.defineProperty(o,e,{get(){return((e,n)=>ye(this).A.get(n))(0,e)},set(t){((e,n,t,l)=>{const o=ye(e),s=o.$hostElement$,i=o.A.get(n),c=o.p,r=o.C;if(t=((e,n)=>null==e||v(e)?e:4&n?"false"!==e&&(""===e||!!e):2&n?parseFloat(e):1&n?e+"":e)(t,l.F[n][0]),(!(8&c)||void 0===i)&&t!==i&&(!Number.isNaN(i)||!Number.isNaN(t))&&(o.A.set(n,t),r)){if(l.N&&128&c){const e=l.N[n];e&&e.map((e=>{try{r[e](t,i,n)}catch(e){be(e,s)}}))}if(2==(18&c)){if(r.componentShouldUpdate&&!1===r.componentShouldUpdate(t,i,n))return;G(o,!1)}}})(this,e,t,n)},configurable:!0,enumerable:!0}):1&t&&64&l&&Object.defineProperty(o,e,{value(...n){var t;const l=ye(this);return null===(t=null==l?void 0:l.D)||void 0===t?void 0:t.then((()=>{var t;return null===(t=l.C)||void 0===t?void 0:t[e](...n)}))}})})),1&t){const t=new Map;o.attributeChangedCallback=function(e,l,s){Oe.jmp((()=>{var i;const c=t.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const t=ye(this),o=null==t?void 0:t.p;if(o&&!(8&o)&&128&o&&s!==l){const o=t.C,c=null===(i=n.N)||void 0===i?void 0:i[e];null==c||c.forEach((n=>{null!=o[n]&&o[n].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=n.N)&&void 0!==l?l:{}),...s.filter((([e,n])=>15&n[0])).map((([e,l])=>{var o;const s=l[1]||e;return t.set(s,e),512&l[0]&&(null===(o=n.T)||void 0===o||o.push([e,s])),s}))]))}}return e},se=e=>{te(e,"connectedCallback")},ie=e=>{te(e,"disconnectedCallback")},ce=(e,n={})=>{var t;const l=[],o=n.exclude||[],s=je.customElements,i=Se.head,c=i.querySelector("meta[charset]"),r=Se.createElement("style"),f=[];let a,d=!0;Object.assign(Oe,n),Oe.t=new URL(n.resourcesUrl||"./",Se.baseURI).href;let v=!1;if(e.map((e=>{e[1].map((n=>{var t;const i={p:n[0],h:n[1],F:n[2],H:n[3]};4&i.p&&(v=!0),i.F=n[2],i.H=n[3],i.T=[],i.N=null!==(t=n[4])&&void 0!==t?t:{};const c=i.h,r=class extends HTMLElement{constructor(e){super(e),$e(e=this,i),1&i.p&&e.attachShadow({mode:"open",delegatesFocus:!!(16&i.p)})}connectedCallback(){a&&(clearTimeout(a),a=null),d?f.push(this):Oe.jmp((()=>(e=>{if(0==(1&Oe.p)){const n=ye(e),t=n.M,l=()=>{};if(1&n.p)fe(e,n,t.H),(null==n?void 0:n.C)?se(n.C):(null==n?void 0:n.q)&&n.q.then((()=>se(n.C)));else{n.p|=1,12&t.p&&(e=>{const n=e["s-cr"]=Se.createComment("");n["s-cn"]=!0,e.insertBefore(n,e.firstChild)})(e);{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){B(n,n.O=t);break}}t.F&&Object.entries(t.F).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),(async(e,n,t)=>{let l;if(0==(32&n.p)){n.p|=32;{if(l=ge(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(t.N=l.watchers,oe(l,t,2),l.isProxied=!0);const e=()=>{};n.p|=8;try{new l(n)}catch(e){be(e)}n.p&=-9,n.p|=128,e(),se(n.C)}if(l.style){let e=l.style;const n=O(t);if(!ke.has(n)){const l=()=>{};((e,n,t)=>{let l=ke.get(e);Re&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,ke.set(e,l)})(n,e,!!(1&t.p)),l()}}}const o=n.O,s=()=>G(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,n,t)}l()}})(this)))}disconnectedCallback(){Oe.jmp((()=>(async()=>{if(0==(1&Oe.p)){const e=ye(this);e.V&&(e.V.map((e=>e())),e.V=void 0),(null==e?void 0:e.C)?ie(e.C):(null==e?void 0:e.q)&&e.q.then((()=>ie(e.C)))}})()))}componentOnReady(){return ye(this).q}};i._=e[0],o.includes(c)||s.get(c)||(l.push(c),s.define(c,oe(r,i,1)))}))})),v&&(r.innerHTML+=u),r.innerHTML+=l+"{visibility:hidden}.hydrated{visibility:inherit}",r.innerHTML.length){r.setAttribute("data-styles","");const e=null!==(t=Oe.P)&&void 0!==t?t:p(Se);null!=e&&r.setAttribute("nonce",e),i.insertBefore(r,c?c.nextSibling:i.firstChild)}d=!1,f.length?f.map((e=>e.connectedCallback())):Oe.jmp((()=>a=setTimeout(ne,30)))},re=(e,n)=>n,fe=(e,n,t)=>{t&&t.map((([t,l,o])=>{const s=ae(e,t),i=ue(n,o),c=de(t);Oe.ael(s,l,i,c),(n.V=n.V||[]).push((()=>Oe.rel(s,l,i,c)))}))},ue=(e,n)=>t=>{try{256&e.p?e.C[n](t):(e.R=e.R||[]).push([n,t])}catch(e){be(e)}},ae=(e,n)=>4&n?Se:8&n?je:16&n?Se.body:e,de=e=>0!=(2&e),ve=e=>Oe.P=e,pe=new WeakMap,ye=e=>pe.get(e),me=(e,n)=>pe.set(n.C=e,n),$e=(e,n)=>{const t={p:0,$hostElement$:e,M:n,A:new Map};return t.D=new Promise((e=>t.W=e)),t.q=new Promise((e=>t.U=e)),e["s-p"]=[],e["s-rc"]=[],fe(e,t,n.H),pe.set(e,t)},he=(e,n)=>n in e,be=(e,n)=>(0,console.error)(e,n),we=new Map,ge=e=>{const n=e.h.replace(/-/g,"_"),t=e._,l=we.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(we.set(t,e),e[n])),be)
|
7
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},ke=new Map,je="undefined"!=typeof window?window:{},Se=je.document||{head:{}},Oe={p:0,t:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,n,t,l)=>e.addEventListener(n,t,l),rel:(e,n,t,l)=>e.removeEventListener(n,t,l),ce:(e,n)=>new CustomEvent(e,n)},Ce=e=>Promise.resolve(e),Re=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),xe=[],Me=[],Pe=(e,n)=>t=>{e.push(t),r||(r=!0,n&&4&Oe.p?Te(Le):Oe.raf(Le))},Ee=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){be(e)}e.length=0},Le=()=>{Ee(xe),Ee(Me),(r=xe.length>0)&&Oe.raf(Le)},Te=e=>Ce().then(e),Ue=Pe(xe,!1),We=Pe(Me,!0);export{re as F,$ as H,f as a,ce as b,k as c,Ue as d,Y as e,ee as f,g,y as h,Ce as p,me as r,ve as s}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,h as i,H as s,g as e,c as h}from"./p-dfcf30cc.js";import{g as a}from"./p-6a5bbbe6.js";import{q as o,a as l,g as n,b as c,c as r,d}from"./p-0a6ee349.js";import{l as p}from"./p-6e1fc9fd.js";import{d as b}from"./p-5ccd28a3.js";import"./p-16ec7030.js";import"./p-e1a4994d.js";import"./p-4af32c75.js";import"./p-ca4061c3.js";import"./p-aa6b47d1.js";import"./p-51f70c0f.js";const u=class{constructor(i){t(this,i),this.layer=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._cardLoading=!1,this._graphics=void 0,this._translations=void 0}async featureSelectionChange(t){const i=t.detail;this._cardLoading=!0;const s=i.length>0?await o(i,this.layer,[],!1,this.mapView.spatialReference):[];this._graphics=s.sort(((t,s)=>i.indexOf(t.getObjectId())-i.indexOf(s.getObjectId()))),this._cardLoading=!1}async layerSelectionChange(t){const i=t.detail[0];this.layer=await l(this.mapView,i)}async componentWillLoad(){await this._getTranslations()}render(){const t=this._graphics?.length>0?"":"display-none",e=this._graphics?.length>0?"display-none":"";return i(s,null,i("div",{class:"overflow-auto height-full"},i("calcite-shell",{class:"position-relative "+t},i("div",null,i("info-card",{graphics:this._graphics,isLoading:this._cardLoading,mapView:this.mapView,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))),i("calcite-shell",{class:"position-relative "+e},i("div",{class:"padding-1"},i("calcite-notice",{icon:"table",open:!0},i("div",{slot:"message"},this._translations.selectFeaturesToStart))))))}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}get el(){return e(this)}};u.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}card-manager{display:block}";const m=class{constructor(i){t(this,i),this.featureSelectionChange=h(this,"featureSelectionChange",7),this._allIds=[],this._ctrlIsPressed=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._shiftIsPressed=!1,this._skipOnChange=!1,this._tableSorting=!1,this.onTableNodeCreate=t=>{this._tableNode=t},this.defaultLayerId=void 0,this.defaultGlobalId=void 0,this.defaultOid=void 0,this.enableAutoRefresh=void 0,this.enableColumnReorder=!0,this.enableCSV=void 0,this.enableInlineEdit=void 0,this.enableShare=void 0,this.enableZoom=void 0,this.mapInfo=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this._confirmDelete=!1,this._controlsThatFit=void 0,this._fetchingData=!1,this._filterOpen=!1,this._isDeleting=!1,this._layer=void 0,this._selectedIndexes=[],this._showHideOpen=!1,this._showOnlySelected=!1,this._sortActive=!1,this._translations=void 0}enableZoomWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}enableCSVWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async mapInfoWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",(t=>{this._mapClicked(t)})))}async _layerWatchHandler(){this._fetchingData=!0,await this._resetTable(),this._updateShareUrl(),this._initLayerExpressions(),this._fetchingData=!1}async _selectedIndexesWatchHandler(){this._updateShareUrl(),this._validateEnabledActions()}async _sortActiveWatchHandler(){this._sortActive||await this._sortTable()}async selectionChanged(t){if(this.zoomAndScrollToSelected){const i=t.detail,s=i.getObjectId(),e=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(e);const h=i.layer;let a;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===h.title&&"feature"===t.layer.type)return a=t,!0})),a&&await n([s],a,this.mapView,!0)}}async editsComplete(){await this._refresh()}noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver=new ResizeObserver((()=>this._onResize()))}render(){const t=this._fetchingData?"display-none":"",e=this._fetchingData?"":"display-none",h=this._allIds.length.toString(),a=this._selectedIndexes.length.toString();return i(s,null,i("calcite-shell",null,this._getTableControlRow("header"),i("div",{class:"height-full-adjusted width-full"},i("calcite-panel",{class:"height-full width-full"},i("calcite-loader",{class:e,label:this._translations.fetchingData,scale:"l"}),i("div",{class:t,ref:this.onTableNodeCreate})),i("div",{class:"bottom-left text-color height-19"},this._translations.recordsSelected.replace("{{total}}",h).replace("{{selected}}",a)))),this._deleteMessage(),this._filterModal())}async componentDidLoad(){this._resizeObserver.observe(this._toolbar),document.onclick=t=>this._handleDocumentClick(t),document.onkeydown=t=>this._handleKeyDown(t),document.onkeyup=t=>this._handleKeyUp(t)}componentDidRender(){this._updateToolbar()}async _initModules(){const[t,i]=await p(["esri/widgets/FeatureTable","esri/core/reactiveUtils"]);this.FeatureTable=t,this.reactiveUtils=i}_onResize(){this._updateToolbar()}_getTableControlRow(t){return i("div",{class:"display-flex border-bottom height-51",ref:t=>this._toolbar=t,slot:t},this._getActionBar(),this._getDropdown("more-table-options"),this.enableShare?this._getShare("share"):void 0)}_getActionBar(){return i("calcite-action-bar",{expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},i("div",{class:"border-end",id:"solutions-map-layer-picker-container"},i("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,mapView:this.mapView,onLayerSelectionChange:t=>this._layerSelectionChanged(t),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",scale:"l",showSingleLayerAsLabel:!0,showTables:!0,type:"dropdown"})),this._getActions())}_getActions(){return this._getActionItems().reduce(((t,s)=>(s&&!s.isOverflow&&t.push(s.isDanger?this._getDangerAction(s.icon,s.label,s.func,s.disabled):s.isSublist?i("calcite-dropdown",{closeOnSelectDisabled:!0,id:this._getId(s.icon),onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._showHideDropdown=t},this._getAction(this._showHideOpen?"chevron-down":s.icon,s.label,s.func,s.disabled,"trigger"),this._showHideOpen?this._getFieldlist():void 0):this._getAction(s.icon,s.label,s.func,s.disabled)),t)),[])}_getFieldlist(){return this._columnsInfo?i("calcite-dropdown-group",{"selection-mode":"multiple"},Object.keys(this._columnsInfo).map((t=>i("calcite-dropdown-item",{id:t,onClick:t=>{const i=t.target;this._columnsInfo[i.id]=i.selected,i.selected?this._table.showColumn(i.id):this._table.hideColumn(i.id)},selected:this._columnsInfo[t]},t)))):void 0}_validateEnabledActions(){const t=this._featuresSelected(),i=["zoom-to-object","trash","erase","selected-items-filter"];this._toolInfos.forEach((s=>{s&&i.indexOf(s.icon)>-1&&(s.disabled=!t)}))}_initToolInfos(){const t=this._featuresSelected(),i=this._featuresEmpty(),s=this._hasFilterExpressions();this._toolInfos=[this.enableZoom?{icon:"zoom-to-object",label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1}:void 0,s?{icon:"filter",label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1,isOverflow:!1}:void 0,this._deleteEnabled?{icon:"trash",label:this._translations.delete,func:()=>this._delete(),disabled:!t,isDanger:!0,isOverflow:!1}:void 0,{icon:"erase",label:this._translations.clearSelection,func:()=>this._clearSelection(),disabled:!t,isOverflow:!1},{icon:"selected-items-filter",label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!t,isOverflow:!1},{icon:"list-check-all",func:()=>this._selectAll(),label:this._translations.selectAll,disabled:i,isOverflow:!1},{icon:"compare",func:()=>this._switchSelected(),label:this._translations.switchSelected,disabled:i,isOverflow:!1},{icon:"refresh",func:()=>this._refresh(),label:this._translations.refresh,disabled:!1,isOverflow:!1},this.enableCSV?{icon:"export",func:()=>{this._exportToCSV()},label:this._translations.exportCSV,disabled:i,isOverflow:!1}:void 0,{icon:this._showHideOpen?"chevron-down":"chevron-right",func:()=>this._toggleShowHide(),label:this._translations.showHideColumns,disabled:!1,isOverflow:!1,isSublist:!0}],this._defaultVisibleToolSizeInfos=void 0}_featuresSelected(){return this._selectedIndexes.length>0}_featuresEmpty(){return 0===this._allIds.length}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this._layer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this._layer.id))),t?.length>0}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(i>t?i-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let h=!1;const a=[...this._defaultVisibleToolSizeInfos].reduce(((a,o)=>(!h&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),a.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(h=!0),a)),[]);this._setControlsThatFit(a,s)}}),5)}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);document.getElementById("solutions-action-bar").childNodes.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionItems(){return this._toolInfos.filter((t=>t&&!t.isOverflow))}_getDropdown(t){const s=this._getDropdownItems();return s.length>0?i("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this._layer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},i("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},i("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),i("calcite-dropdown-group",{"selection-mode":"none"},s.map((t=>i("calcite-dropdown-group",{class:t.disabled?"disabled":"",selectionMode:t.disabled?"none":"single"},i("calcite-dropdown-item",{iconStart:t.isSublist&&this._showHideOpen?"chevron-down":t.icon,id:"solutions-subset-list",onClick:t.func},t.label))))),this._showHideOpen?this._getFieldlist():void 0):void 0}_getDropdownItems(){return this._toolInfos.filter((t=>t&&t.isOverflow))}_getAction(t,s,e,h,a){const o=void 0===this._layer||h;return i("div",{class:"display-flex",id:this._getId(t),slot:a},i("calcite-action",{appearance:"solid",disabled:o,icon:t,id:t,label:s,onClick:e,text:s,textEnabled:!0}),this._getToolTip("bottom",t,s))}_getShare(t){return i("div",{class:"share-action",id:this._getId(t)},i("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this.mapInfo?.id&&i.searchParams.set("webmap",this.mapInfo.id),this._layer?.id&&i.searchParams.set("layer",this._layer.id),this._selectedIndexes?.length>0&&i.searchParams.set("oid",this._selectedIndexes.join(",")),this._shareNode.shareUrl=i.href}_getToolTip(t,s,e){return i("calcite-tooltip",{placement:t,"reference-element":s},i("span",null,e))}_getId(t){return`solutions-action-${t}`}_getDangerAction(t,s,e,h){const a=void 0===this._layer||h;return i("div",{class:"display-flex",id:this._getId(t)},i("calcite-action",{appearance:"solid",disabled:a,id:t,onClick:e,text:""},i("calcite-button",{appearance:"transparent",iconStart:t,kind:"danger"},s)),this._getToolTip("bottom",t,s))}async _getTable(t,i){this._layer&&(await this._layer.when((()=>{this._table=new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!0,multiSortEnabled:!1,visibleElements:{header:!1,menu:!1},tableTemplate:{columnTemplates:i},container:t})})),this._initColumnsInfo(),this._checkEditEnabled(),await this._table.when((()=>{this._table.highlightIds.on("change",(t=>{this._handleOnChange(t)})),this.reactiveUtils.watch((()=>this._table.activeSortOrders),(t=>{this._sortActive=!!this._layer&&(t.length>0&&"asc"===t[0]?.direction||"desc"===t[0]?.direction||null===t[0]?.direction&&t[0]?.fieldName===this._layer.objectIdField)}))})))}async _handleOnChange(t){const i=[...this._table.highlightIds.toArray()];if(this._skipOnChange)this._skipOnChange=!1;else{if(this._ctrlIsPressed||this._shiftIsPressed){if(this._ctrlIsPressed)this._selectedIndexes=i.reverse();else if(this._shiftIsPressed&&(this._skipOnChange=!0,this._previousCurrentId=this._currentId,this._currentId=[...this._table.highlightIds.toArray()].reverse()[0],this._previousCurrentId!==this._currentId)){const t=this._table.activeSortOrders.reduce(((t,i)=>(t.push(`${i.fieldName} ${i.direction}`),t)),[]),s=await c(this._layer,this._layer.definitionExpression,t);let e=!1;const h=this._table.viewModel.getObjectIdIndex(this._previousCurrentId),a=this._table.viewModel.getObjectIdIndex(this._currentId),o=h<a?h:a,l=a>h?a:h;this._selectedIndexes=s.reduce(((t,i)=>{const s=i,h=this._table.viewModel.getObjectIdIndex(s);return s!==this._currentId&&s!==this._previousCurrentId||(e=!e,t.indexOf(s)<0&&t.push(s)),e&&t.indexOf(s)<0&&t.push(s),(this._selectedIndexes.indexOf(s)>-1||h>=o&&h<=l)&&t.indexOf(s)<0&&h>-1&&t.push(s),t}),[]),this._table.highlightIds.addMany(this._selectedIndexes.filter((t=>i.indexOf(t)<0)))}}else if(this._selectedIndexes.length>0){this._skipOnChange=!0;const s=this._selectedIndexes.length>1&&1===t.removed.length?t.removed:i.filter((t=>this._selectedIndexes.indexOf(t)<0));this._clearSelection(),this._selectedIndexes=[...s],s.length>0&&this._table.highlightIds.add(s[0])}else this._selectedIndexes=i.reverse();this._finishOnChange()}this._currentId=[...this._table.highlightIds.toArray()].reverse()[0]}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelection():this._toggleShowSelected()),this.featureSelectionChange.emit(this._selectedIndexes)}async _resetTable(){this._clearSelection(),this._allIds=[],this.featureSelectionChange.emit(this._selectedIndexes);const t=this._getColumnTemplates(this._layer.id,this._layer?.fields);this._allIds=await r(this._layer),this._table?t&&(this._table.tableTemplate.columnTemplates=t):await this._getTable(this._tableNode,t),this._table.layer=this._layer,this._table.view=this.mapView,this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,this._initToolInfos(),await this._table.when((async()=>{if(this._table.highlightIds.removeAll(),this._table.clearSelectionFilter(),this._initColumnsInfo(),!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&(this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0),!this._defaultGlobalIdHonored&&this.defaultGlobalId?.length>0){const t=await d(this.defaultGlobalId,this._layer),i=t?.length>0?t.map((t=>t.getObjectId())):void 0;i&&this._selectDefaultFeature(i),this._defaultGlobalIdHonored=!0}})),this._showOnlySelected=!1,this._sortActive=!1,await this._sortTable()}_initColumnsInfo(){this._columnsInfo=this._table.columns.reduce(((t,i)=>(t[i.name]=!i.hidden,t)),{})}_selectDefaultFeature(t){t.length>0&&(this._table.highlightIds.addMany(t),this._table.when((()=>{const i=this._table.viewModel.getObjectIdIndex(t[0]);this._table.viewModel.scrollToIndex(i)})))}_checkEditEnabled(){this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._deleteEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsDelete}async _sortTable(){this._table&&this._layer&&!this._sortActive&&!this._tableSorting&&this.showNewestFirst&&(this._tableSorting=!0,await this._table.when(),await this._layer.when((()=>{this._table.sortColumn(this._layer.objectIdField,"desc"),this._tableSorting=!1})))}_forceShowHide(){this._showHideDropdown&&(this._showHideDropdown.open=this._showHideOpen),this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_closeShowHide(){this._showHideOpen=!1}_handleDocumentClick(t){const i=t.target?.id;this._showHideOpen&&Object.keys(this._columnsInfo).indexOf(i)<0&&"solutions-subset-list"!==i&&"chevron-right"!==i&&(this._closeShowHide(),this._moreDropdown&&(this._moreDropdown.open=!1),this._showHideDropdown&&(this._showHideDropdown.open=!1))}_handleKeyDown(t){this._ctrlIsPressed=t.ctrlKey,this._shiftIsPressed=t.shiftKey}_handleKeyUp(t){this._ctrlIsPressed=t.ctrlKey,this._shiftIsPressed=t.shiftKey}_filterModal(){return i("calcite-modal",{"aria-labelledby":"modal-title",kind:"brand",onCalciteModalClose:async()=>this._closeFilter(),open:this._filterOpen,widthScale:"s"},i("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},this._translations?.filter?.replace("{{title}}",this._layer?.title)),i("div",{slot:"content"},i("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),layerExpressions:this._layerExpressions,ref:t=>this._filterList=t,view:this.mapView})))}async _closeFilter(){this._filterOpen&&(this._allIds=await r(this._layer),this._filterOpen=!1)}_deleteMessage(){return i("calcite-modal",{"aria-labelledby":"modal-title",kind:"danger",onCalciteModalClose:()=>this._deleteClosed(),open:this._confirmDelete},i("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},this._translations.deleteFeature),i("div",{slot:"content"},this._translations.confirm),i("calcite-button",{appearance:"outline",kind:"danger",onClick:()=>this._deleteClosed(),slot:"secondary",width:"full"},this._translations.cancel),i("calcite-button",{kind:"danger",loading:this._isDeleting,onClick:()=>{this._deleteFeatures()},slot:"primary",width:"full"},this._translations.delete))}async _deleteFeatures(){this._isDeleting=!0;const t=this._table.highlightIds.toArray().map((t=>({objectId:t})));await this._layer.applyEdits({deleteFeatures:t}),await this._table.refresh(),this._allIds=await r(this._layer),this._isDeleting=!1,this._deleteClosed()}async _mapClicked(t){const i={include:this._layer},s=await this.mapView.hitTest(t.screenPoint,i);s.results.length>0&&(s.results.forEach((t=>{this._clearSelection();const i=t.graphic.getObjectId(),s=this._table.highlightIds.indexOf(i);s>-1?this._table.highlightIds.removeAt(s):this._table.highlightIds.add(i)})),this._showOnlySelected&&this._table.filterBySelection())}_deleteClosed(){this._confirmDelete=!1}_selectAll(){const t=this._allIds;this._table.highlightIds.removeAll(),this._skipOnChange=!0,this._table.highlightIds.addMany(t),this._selectedIndexes=t,this._finishOnChange()}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._showOnlySelected?this._table.filterBySelection():this._table.clearSelectionFilter()}_clearSelection(){this._selectedIndexes=[],this._table?.highlightIds.removeAll()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){const t=this.mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer.id)):[]}_switchSelected(){const t=[...this._selectedIndexes];this._table.highlightIds.removeAll();const i=this._allIds.reduce(((i,s)=>(t.indexOf(s)<0&&i.push(s),i)),[]).sort(((t,i)=>t-i));this._skipOnChange=!0,this._table.highlightIds.addMany(i),this._selectedIndexes=i,this._finishOnChange()}async _exportToCSV(){const t={},i=this._table.highlightIds.toArray();t[this._layer.id]={selectionSetNames:[this._layer.title],ids:i,layer:this._layer},b(null,t,!1,!1,!0)}async _refresh(){await this._table.refresh(),this.featureSelectionChange.emit(this._selectedIndexes)}_zoom(){this._table.zoomToSelection()}_delete(){this._confirmDelete=!0}async _layerSelectionChanged(t){const i=t.detail[0];if(i!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0;const t=await l(this.mapView,i);await t.when((()=>{this._layer=t}))}this._fetchingData=!1}_getColumnTemplates(t,i){let s;this.mapInfo.layerInfos?.some((i=>{if(i.id===t)return s=i,!0}));let e=s?.columnTemplates;return i&&(e=e?e.map((t=>(i.some((i=>{if(i.name===t.fieldName)return t.label=i.alias,t.menuConfig=this._getMenuConfig(i.name),!0})),t))):i.map((t=>({type:"field",fieldName:t.name,label:t.alias,menuConfig:this._getMenuConfig(t.name)})))),e}_getMenuConfig(t){return{items:[{label:this._translations.hideField,iconClass:"esri-icon-non-visible",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(t)}}]}}_handleHideClick(t){this._columnsInfo[t]=!1,this._table.hideColumn(t),this._table.tableTemplate.columnTemplates.forEach((i=>{i.fieldName===t&&(i.visible=!1)}))}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}get el(){return e(this)}static get watchers(){return{enableZoom:["enableZoomWatchHandler"],enableCSV:["enableCSVWatchHandler"],enableInlineEdit:["enableInlineEditWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"],mapInfo:["mapInfoWatchHandler"],mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],_selectedIndexes:["_selectedIndexesWatchHandler"],_sortActive:["_sortActiveWatchHandler"]}}};m.style=':host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir="rtl"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}';const g=class{constructor(i){t(this,i),this.mapChanged=h(this,"mapChanged",7),this.beforeMapChanged=h(this,"beforeMapChanged",7),this._defaultWebmapHonored=!1,this._loadedId="",this.defaultWebmapId="",this.enableHome=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableMapToolsExpand=!0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.hidden=void 0,this.homeZoomIndex=3,this.homeZoomPosition="top-left",this.homeZoomToolsSize="m",this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.mapView=void 0,this.stackTools=!0,this.theme=void 0,this.toolOrder=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0}enableHomeWatchHandler(){this._initHome()}async mapInfoChange(t){await this._loadMap(t.detail)}async componentWillLoad(){await this._initModules()}render(){const t=this.hidden?"visibility-hidden":"",e="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",h=this.mapInfos?.length>1?"":"display-none",a=this.mapInfos?.length>1?"map-height":"height-full";return i(s,null,i("map-picker",{class:h,mapInfos:this.mapInfos,ref:t=>this._mapPicker=t}),i("div",{class:`${a} ${t}`,ref:t=>this._mapDiv=t}),i("map-tools",{basemapConfig:this.basemapConfig,class:`box-shadow ${e}`,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableLegend:this.enableLegend,enableMapToolsExpand:this.enableMapToolsExpand,enableSearch:this.enableSearch,homeZoomToolsSize:this.homeZoomToolsSize,mapView:this.mapView,mapWidgetsSize:this.mapWidgetsSize,ref:t=>this._mapTools=t,searchConfiguration:this._searchConfiguration,stackTools:this.stackTools,toolOrder:this.toolOrder}))}async _initModules(){const[t,i,s]=await p(["esri/WebMap","esri/views/MapView","esri/widgets/Home"]);this.WebMap=t,this.MapView=i,this.Home=s}async _loadMap(t){const i=!this._defaultWebmapHonored&&this.defaultWebmapId,s=this.mapInfos?.filter((t=>t.id===this.defaultWebmapId)),e=JSON.stringify(t)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&s?s[0]:!t?.id&&this.mapInfos.length>0?this.mapInfos[0]:t;const h=this._webMapInfo.id,a=i&&t?.id===this.defaultWebmapId;if(this._loadedId!==h&&!i||a){const t=new this.WebMap({portalItem:{id:h}});this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"center"}),this._loadedId=h,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{this._initHome(),this.mapView.ui.add(this._mapTools,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=!!a||this._defaultWebmapHonored,this.mapChanged.emit({id:h,mapView:this.mapView})}))}else i?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(h)):e&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:h,mapView:this.mapView}))}_initHome(){if(this.enableHome){this._homeWidget=new this.Home({view:this.mapView}),this.mapView.ui.add(this._homeWidget,{position:this.homeZoomPosition,index:this.homeZoomIndex});const t="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";this._homeWidget.domNode.style.height=t,this._homeWidget.domNode.style.width=t}else this._homeWidget&&this.mapView.ui.remove(this._homeWidget)}get el(){return e(this)}static get watchers(){return{enableHome:["enableHomeWatchHandler"]}}};g.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 51px)}.height-full{height:100%}.box-shadow{box-shadow:none !important}.visibility-hidden{visibility:hidden}.display-none{display:none}";export{u as card_manager,m as layer_table,g as map_card}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,c as t,h as i,H as n,g as o}from"./p-dfcf30cc.js";import{e as s,n as c,g as a,u as r,a as l,t as h,y as d}from"./p-9b46426a.js";import{c as m,d as p}from"./p-2395c425.js";import{c as u,d as f,u as b}from"./p-8fdbb6f2.js";import{C as v}from"./p-16b08122.js";import{g as k}from"./p-31b622cd.js";import"./p-cbfdcfaf.js";import"./p-2b56ecd9.js";import"./p-a442727d.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v2.0.0
|
11
|
-
*/function x(e){return"CALCITE-TREE-ITEM"===e?.tagName}const g=class{constructor(i){e(this,i),this.calciteTreeSelect=t(this,"calciteTreeSelect",6),this.keyDownHandler=e=>{if(this.child)return;const t=this.el,i=e.target;if(!x(i)||!this.el.contains(i)||!["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End","Tab"].includes(e.key))return;const n=function(e){return Array.from(e.querySelectorAll("calcite-tree-item:not([disabled])")).filter((t=>{let i=t;for(;i!==e&&void 0!==i;){const e=i.parentElement;if(x(e)&&e.hasChildren&&!e.expanded)return!1;i=i.parentElement}return!0}))}(t);if("Tab"!==e.key){if("ArrowDown"===e.key){const t=n.indexOf(i),o=n[t+1];return o?.focus(),void e.preventDefault()}if("ArrowUp"===e.key){const t=n.indexOf(i),o=n[t-1];return o?.focus(),void e.preventDefault()}if("ArrowLeft"===e.key){if(i.hasChildren&&i.expanded)return i.expanded=!1,void e.preventDefault();const t=n.slice(0,n.indexOf(i)).reverse().find((e=>e.depth===i.depth-1));return t?.focus(),void e.preventDefault()}if("ArrowRight"!==e.key)if("Home"!==e.key)if("End"!==e.key);else{const t=n.pop();t&&(t.focus(),e.preventDefault())}else{const t=n.shift();t&&(t.focus(),e.preventDefault())}else if(!i.disabled&&i.hasChildren)if(i.expanded){const t=n.indexOf(i),o=n[t+1];o?.focus(),e.preventDefault()}else i.expanded=!0,e.preventDefault()}else n.forEach((e=>e.tabIndex=-1))},this.lines=!1,this.child=void 0,this.scale="m",this.selectionMode="single",this.selectedItems=[]}componentWillRender(){const e=this.el.parentElement?.closest("calcite-tree");this.lines=e?e.lines:this.lines,this.scale=e?e.scale:this.scale,this.selectionMode=e?e.selectionMode:this.selectionMode,this.child=!!e}render(){return i(n,{"aria-multiselectable":this.child?void 0:("multiple"===this.selectionMode||"multichildren"===this.selectionMode).toString(),onKeyDown:this.keyDownHandler,role:this.child?void 0:"tree",tabIndex:this.getRootTabIndex()},i("slot",null))}onFocus(){if(!this.child){const e=this.el.querySelector("calcite-tree-item[selected]:not([disabled])")||this.el.querySelector("calcite-tree-item:not([disabled])");s(e)}}onFocusIn(e){(e.relatedTarget===this.el||!this.el.contains(e.relatedTarget))&&this.el.removeAttribute("tabindex")}onFocusOut(e){!this.el.contains(e.relatedTarget)&&(this.el.tabIndex=this.getRootTabIndex())}onInternalTreeItemSelect(e){if(this.child)return;const t=e.target,i=c(t.querySelectorAll("calcite-tree-item"));if(e.preventDefault(),e.stopPropagation(),"ancestors"===this.selectionMode)return void this.updateAncestorTree(e);const n="none"===this.selectionMode,o=null!==this.selectionMode&&(!t.hasChildren||t.hasChildren&&("children"===this.selectionMode||"multichildren"===this.selectionMode)),s="multichildren"===this.selectionMode&&t.hasChildren,a=!n&&e.detail.modifyCurrentSelection&&("multiple"===this.selectionMode||"multichildren"===this.selectionMode),r=!a&&(("single"===this.selectionMode||"multiple"===this.selectionMode)&&i.length<=0||"children"===this.selectionMode||"multichildren"===this.selectionMode),l=["multiple","none","single","single-persist"].includes(this.selectionMode)&&t.hasChildren,h=[];o&&h.push(t),r&&c(this.el.querySelectorAll("calcite-tree-item[selected]")).forEach((e=>{h.includes(e)||(e.selected=!1)})),l&&["multiple","none","single","single-persist"].includes(this.selectionMode)&&(t.expanded=!t.expanded),s&&i.forEach((e=>{e.selected=!1,e.hasChildren&&(e.expanded=!1)})),a&&window.getSelection().removeAllRanges(),a&&t.selected?h.forEach((e=>{e.disabled||(e.selected=!1)})):n||h.forEach((e=>{e.disabled||(e.selected=!0)})),this.selectedItems=n?[]:c(this.el.querySelectorAll("calcite-tree-item")).filter((e=>e.selected)),this.calciteTreeSelect.emit(),e.stopPropagation()}updateAncestorTree(e){const t=e.target,i=e.detail.updateItem;if(t.disabled||t.indeterminate&&!i)return;const n=[];let o=t.parentElement.closest("calcite-tree-item");for(;o;)n.push(o),o=o.parentElement.closest("calcite-tree-item");const s=Array.from(t.querySelectorAll("calcite-tree-item:not([disabled])")),a=s.filter((e=>!e.hasChildren)),r=s.filter((e=>e.hasChildren));let l;function h(e,t){const i=e.filter((e=>e.selected)),n=e.filter((e=>!e.selected));t.selected=i.length===e.length,t.indeterminate=i.length>0&&n.length>0}l=i?t.hasChildren?!(t.selected||t.indeterminate):!t.selected:t.selected,a.forEach((e=>{e.selected=l,e.indeterminate=!1})),r.reverse().forEach((e=>{h(Array.from(e.querySelectorAll(":scope > calcite-tree > calcite-tree-item")),e)})),i&&(t.hasChildren?h(s,t):(t.selected=l,t.indeterminate=!1)),n.forEach((e=>{const t=c(e.querySelectorAll("calcite-tree-item")),i=t.filter((e=>e.selected));if(0===i.length)return e.selected=!1,void(e.indeterminate=!1);const n=i.length<t.length;e.indeterminate=n,e.selected=!n})),this.selectedItems=c(this.el.querySelectorAll("calcite-tree-item")).filter((e=>e.selected)),i&&this.calciteTreeSelect.emit()}getRootTabIndex(){return this.child?-1:0}get el(){return o(this)}};g.style=":host{display:block}:host(:focus){outline:2px solid transparent;outline-offset:2px}: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 y="children",w="bullet-point",z="check",A=class{constructor(i){e(this,i),this.calciteInternalTreeItemSelect=t(this,"calciteInternalTreeItemSelect",6),this.iconClickHandler=e=>{e.stopPropagation(),this.expanded=!this.expanded},this.childrenClickHandler=e=>e.stopPropagation(),this.userChangedValue=!1,this.updateParentIsExpanded=(e,t)=>{a(e,y,{all:!0,selector:"calcite-tree-item"}).forEach((e=>e.parentExpanded=t))},this.actionsEndSlotChangeHandler=e=>{this.hasEndActions=r(e)},this.disabled=!1,this.expanded=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.selected=!1,this.parentExpanded=!1,this.depth=-1,this.hasChildren=null,this.lines=void 0,this.scale=void 0,this.indeterminate=!1,this.selectionMode=void 0,this.hasEndActions=!1,this.updateAfterInitialRender=!1}expandedHandler(e){this.updateParentIsExpanded(this.el,e)}handleSelectedChange(e){"ancestors"!==this.selectionMode||this.userChangedValue||(e&&(this.indeterminate=!1),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:!0,updateItem:!1}))}getSelectionMode(){this.isSelectionMultiLike="multiple"===this.selectionMode||"multichildren"===this.selectionMode}connectedCallback(){if(this.parentTreeItem=this.el.parentElement?.closest("calcite-tree-item"),this.parentTreeItem){const{expanded:e}=this.parentTreeItem;this.updateParentIsExpanded(this.parentTreeItem,e)}m(this),u(this)}disconnectedCallback(){p(this),f(this)}componentWillRender(){this.hasChildren=!!this.el.querySelector("calcite-tree"),this.depth=0;let e,t=this.el.closest("calcite-tree");if(t)for(this.selectionMode=t.selectionMode,this.scale=t.scale||"m",this.lines=t.lines;t&&(e=t.parentElement?.closest("calcite-tree"),e!==t);)t=e,this.depth=this.depth+1}componentWillLoad(){requestAnimationFrame((()=>this.updateAfterInitialRender=!0))}componentDidLoad(){this.updateAncestorTree()}componentDidRender(){b(this,(()=>!1))}render(){const e="rtl"===l(this.el),t="single"===this.selectionMode||"children"===this.selectionMode,o="multiple"===this.selectionMode||"multichildren"===this.selectionMode,s="none"===this.selectionMode&&!this.hasChildren,c=this.hasChildren?i("calcite-icon",{class:{chevron:!0,[v.rtl]:e},"data-test-id":"icon",icon:"chevron-right",onClick:this.iconClickHandler,scale:k(this.scale)}):null,a=i("slot",{key:"default-slot"}),r="ancestors"===this.selectionMode?i("label",{class:"checkbox-label",key:"checkbox-label"},i("calcite-checkbox",{checked:this.selected,class:"checkbox","data-test-id":"checkbox",indeterminate:this.hasChildren&&this.indeterminate,scale:this.scale,tabIndex:-1}),a):null,d=t?w:o?z:s?"blank":null,m=d?i("calcite-icon",{class:{"bullet-point":d===w,checkmark:d===z,[v.rtl]:e},icon:d,scale:k(this.scale)}):null,p=!(this.parentExpanded||1===this.depth),u=this.updateAfterInitialRender&&this.expanded,{hasEndActions:f}=this,b=i("slot",{key:"actionsEndSlot",name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}),x=i("calcite-icon",{class:"icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:k(this.scale)});return i(n,{"aria-expanded":this.hasChildren?h(u):void 0,"aria-hidden":h(p),"aria-selected":this.selected?"true":o?"false":void 0,"calcite-hydrated-hidden":p,role:"treeitem"},i("div",{class:{"item--expanded":u}},i("div",{class:"node-actions-container"},i("div",{class:{"node-container":!0,[v.rtl]:e},"data-selection-mode":this.selectionMode,ref:e=>this.defaultSlotWrapper=e},c,m,this.iconStart?x:null,r||a),i("div",{class:"actions-end",hidden:!f,ref:e=>this.actionSlotWrapper=e},b)),i("div",{class:{"children-container":!0,[v.rtl]:e},"data-test-id":"calcite-tree-children",onClick:this.childrenClickHandler,role:this.hasChildren?"group":void 0},i("slot",{name:y}))))}onClick(e){if(this.disabled||this.isActionEndEvent(e))return;const[t]=d(this.el,"a");t&&"a"!==e.composedPath()[0].tagName.toLowerCase()&&window.open(t.href,""===t.target?"_self":t.target),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:"ancestors"===this.selectionMode||this.isSelectionMultiLike,updateItem:!0}),this.userChangedValue=!0}keyDownHandler(e){if(!this.isActionEndEvent(e)&&!e.defaultPrevented)switch(e.key){case" ":this.userChangedValue=!0,this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault();break;case"Enter":const t=Array.from(this.el.children).find((e=>e.matches("a")));this.userChangedValue=!0,t?(t.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault()}}isActionEndEvent(e){return e.composedPath().includes(this.actionSlotWrapper)}updateAncestorTree(){const e=this.parentTreeItem;if("ancestors"===this.selectionMode&&e)if(this.selected){const t=this.el.parentElement,i=Array.from(t?.children),n=i.filter((e=>e.selected));i.length===n.length?(e.selected=!0,e.indeterminate=!1):n.length>0&&(e.indeterminate=!0),Array.from(this.el.querySelectorAll("calcite-tree-item:not([disabled])")).forEach((e=>{e.selected=!0,e.indeterminate=!1}))}else this.indeterminate&&(this.parentTreeItem.indeterminate=!0)}get el(){return o(this)}static get watchers(){return{expanded:["expandedHandler"],selected:["handleSelectedChange"],selectionMode:["getSelectionMode"]}}};A.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;max-inline-size:100%;cursor:pointer;color:var(--calcite-color-text-3)}.node-actions-container{display:flex}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .node-actions-container{min-block-size:1.5rem}:host([scale=s]) .node-actions-container .node-container .checkbox,:host([scale=s]) .node-actions-container .node-container .chevron,:host([scale=s]) .node-actions-container .node-container .checkmark,:host([scale=s]) .node-actions-container .node-container .bullet-point{margin-inline:0.25rem}:host([scale=s]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .node-actions-container{min-block-size:2rem}:host([scale=m]) .node-actions-container .node-container .checkbox,:host([scale=m]) .node-actions-container .node-container .chevron,:host([scale=m]) .node-actions-container .node-container .checkmark,:host([scale=m]) .node-actions-container .node-container .bullet-point{margin-inline:0.5rem}:host([scale=m]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .node-actions-container{min-block-size:2.75rem}:host([scale=l]) .node-actions-container .node-container .checkbox,:host([scale=l]) .node-actions-container .node-container .chevron,:host([scale=l]) .node-actions-container .node-container .checkmark,:host([scale=l]) .node-actions-container .node-container .bullet-point{margin-inline:0.75rem}:host([scale=l]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-z-index);inline-size:1px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:"";background-color:var(--calcite-color-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}::slotted(*):hover{text-decoration:none !important}::slotted(a){inline-size:100%;text-decoration-line:none}:host{outline:2px solid transparent;outline-offset:2px}:host .node-container{outline-color:transparent}:host:focus .node-container,:host:active .node-container{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(:focus:not([disabled])) .node-container{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.actions-end{display:flex;flex-direction:row;align-items:center;align-self:stretch}.checkbox{line-height:0}.checkbox-label{pointer-events:none;display:flex;align-items:center}.checkbox:focus{outline:2px solid transparent;outline-offset:2px}.children-container{position:relative;block-size:0px;transform-origin:top;overflow:hidden;opacity:0;margin-inline-start:1.25rem;transform:scaleY(0);transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.item--expanded>.children-container{overflow:visible;opacity:1;transform:none;block-size:auto}.node-container{position:relative;display:flex;min-inline-size:0px;flex-grow:1;align-items:center}.node-container .checkmark,.node-container .bullet-point{opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-color-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus:not([disabled])) .node-container .checkmark,:host(:focus:not([disabled])) .node-container .bullet-point{opacity:1}:host([selected]) .node-container,:host([selected]) .node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}:host([selected]) .node-container .bullet-point,:host([selected]) .node-container .checkmark,:host([selected]) .node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark{opacity:1;color:var(--calcite-color-brand)}:host([selection-mode=none]:not([has-children])):host([scale=s]) .node-container{padding-inline-start:0.5rem}:host([selection-mode=none]:not([has-children])):host([scale=m]) .node-container{padding-inline-start:1rem}:host([selection-mode=none]:not([has-children])):host([scale=l]) .node-container{padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=s]) .node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.25rem}:host(:not([has-children])):host([scale=m]) .node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=l]) .node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.75rem}:host([has-children]) .node-container[data-selection-mode=ancestors] .checkbox{margin-inline-start:0}:host([has-children]) .node-container .bullet-point,:host([has-children]) .node-container .checkmark{display:none}.chevron{position:relative;align-self:center;color:var(--calcite-color-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;flex:0 0 auto;transform:rotate(0deg)}.calcite--rtl .chevron{transform:rotate(180deg)}.item--expanded .node-container>.chevron{transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-color-brand)}:host([hidden]){display:none}[hidden]{display:none}';export{g as calcite_tree,A as calcite_tree_item}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,h as e,H as i,g as n}from"./p-dfcf30cc.js";import{s as r}from"./p-6244081f.js";import"./p-ca4061c3.js";import{r as s,N as o,c as a,_ as h,e as u,A as c,a as l}from"./p-51f70c0f.js";import"./p-aa6b47d1.js";import{g as f}from"./p-6a5bbbe6.js";import"./p-08988be0.js";import"./p-4af32c75.js";import"./p-e1a4994d.js";import"./p-16ec7030.js";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=h({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,l=r.expiration,f=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||l)+"&redirect_uri="+encodeURIComponent(f)+"&state="+w+"&locale="+v:s+"/oauth2/social/authorize?client_id="+a+"&socialLoginProviderName="+o+"&autoAccountCreateForSocial=true&response_type=token&expiration="+(e.duration||l)+"&redirect_uri="+encodeURIComponent(f)+"&state="+w+"&locale="+v,m&&(n=n+"&"+u(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 c(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=h({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 c('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 c(e.errorMessage,e.error);return new t({clientId:s,portal:r,ssl:n.ssl,token:n.token,tokenExpires:n.expires,username:n.username})}var u=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(!u.access_token){var l=void 0,f="Unknown error";return u.error&&(l=u.error,f=u.error_description),a({error:l,errorMessage:f})}return a(void 0,{token:u.access_token,expires:new Date(Date.now()+1e3*parseInt(u.expires_in,10)-6e4),ssl:"true"===u.ssl,username:u.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=h({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=h({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=h(h({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=h(h({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 c("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?:\/\//,""),u=a(o).replace(/https?:\/\//,""),new RegExp(u,"i").test(h))return s(r.owningSystemUrl+"/sharing/rest/info",e);throw new c(t+" is not federated with "+i.portal+".","NOT_FEDERATED")}var o,h,u;if(r.authInfo&&void 0!==i.federatedServers[n])return Promise.resolve({authInfo:r.authInfo});throw new c(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=h({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=h({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=h({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}();
|
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
|
-
*/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 _=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=l(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 f(this.el);this._translations=t[0]}get el(){return n(this)}static get watchers(){return{serializedAuthentication:["serializedAuthenticationWatchHandler"],solutionItemId:["valueWatchHandler"]}}};_.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{_ as solution_configuration}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as r}from"./p-b1e8596e.js";import"./p-dfcf30cc.js";import"./p-28c4dbc7.js";import"./p-9b46426a.js";import"./p-cbfdcfaf.js";import"./p-16b08122.js";import"./p-8fdbb6f2.js";import"./p-a442727d.js";import"./p-52445921.js";import"./p-ecfaf4d7.js";import"./p-31b622cd.js";import"./p-dca25d3e.js";import"./p-9907889f.js";import"./p-2b56ecd9.js";import"./p-647c4bdb.js";import"./p-6c932889.js";import"./p-a95649f7.js";import"./p-ed116111.js";import"./p-d395caef.js";var e={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(r){return r},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"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};r.locale(e,null,!0);export default e;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{e as s}from"./p-16ec7030.js";const a=async(a,t)=>(s.setDefaultOptions({url:"https://jsdev.arcgis.com/4.29/"}),(await s.loadModules(a,t)).map((s=>s.__esModule&&s.default?s.default:s)));export{a as l}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as a,c as t,h as n,H as s,g as e}from"./p-dfcf30cc.js";import{g as i,a as l,s as r,E as o,b as c,l as p,c as g}from"./p-1272c7ff.js";import{l as d}from"./p-e6579db5.js";import{c as u}from"./p-d22cacef.js";import{g as h,f as v}from"./p-607c89c8.js";import"./p-08988be0.js";import"./p-16ec7030.js";import"./p-e1a4994d.js";import"./p-3421d548.js";const m="instant-apps-language-translator",_={BASE:m,header:`${m}__header`,headerText:`${m}__header-text`,savingIndicator:`${m}__saving-indicator`,closeButton:`${m}__close-button`,headerTip:`${m}__header-tip`,topBar:`${m}__top-bar`,topBarSection:`${m}__top-bar-section`,collapseSearchContainer:`${m}__collapse-search-container`,userLangText:`${m}__user-lang-text`,lastItem:`${m}--last-item`,writingIcon:`${m}__writing-icon`},f=class{constructor(n){a(this,n),this.translatorDataUpdated=t(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}async componentDidLoad(){this.initialize()}async initialize(){const[a,t]=await d(["esri/intl","esri/request"]);this.intl=a,this.request=t,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{const{el:a}=this,t=await i(a);return this.messages=t,Promise.resolve()}catch(a){return Promise.reject()}}initUIData(){const{appSettings:a,locales:t}=this,n=l(a,t);r.set("uiData",n)}initSelectLanguage(){var a,t;if(!this.intl)return;const{locales:n}=this,s=null!==(t=null===(a=null==n?void 0:n[0])||void 0===a?void 0:a.locale)&&void 0!==t?t:this.intl.getLocale(),e=r.get("currentLanguage");0===this.locales.filter((a=>a.locale===e)).length&&r.set("currentLanguage",s)}async initPortalItemResourceT9nData(){try{const a=await h(this.portalItem);r.set("portalItemResource",a);const t=await v(this.request,a);r.set("portalItemResourceT9n",null!=t?t:{})}catch(a){}}render(){return n(s,null,this.renderModal(),this.renderPopoverTip())}renderModal(){return n("calcite-modal",{open:this.open,scale:"l",fullscreen:!0,onCalciteModalClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryButton())}renderPopoverTip(){var a;return n("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},n("div",{class:_.headerTip},null===(a=this.messages)||void 0===a?void 0:a.headerTip))}renderHeader(){const a=r.get("saving");return n("header",{class:_.header,slot:"header"},this.renderHeaderText(),a?this.renderSavingIndicator():null)}renderHeaderText(){const{messages:a}=this;return n("div",{class:_.headerText},n("span",null,null==a?void 0:a.header),n("calcite-button",{id:"headerTip",appearance:"transparent"},n("calcite-icon",{icon:o.Popover,scale:"s"})))}renderSavingIndicator(){var a;const t=r.get("saving"),s=null===(a=this.messages)||void 0===a?void 0:a.saving;return n("div",{class:_.savingIndicator},t?n("calcite-loader",{label:s,inline:!0}):null,n("span",null,s))}renderContent(){const a=c(this.locales);return n("div",{slot:"content"},this.renderTopBar(),(null==a?void 0:a.length)>0?this.renderUIData():this.renderNotice())}renderTopBar(){return n("div",{class:_.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return n("div",{class:_.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.languages,s=u(this.el);return n("div",{class:_.userLangText},null==t?void 0:t[s])}renderCollapseSearchContainer(){return n("div",{class:_.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){const{isCollapse:a,messages:t}=this,s=a?null==t?void 0:t.collapseAll:null==t?void 0:t.expandAll;return n("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":o.ExpandCollapse},s)}renderSearch(){var a;return n("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:null===(a=this.messages)||void 0===a?void 0:a.searchPlaceholder})}renderTrailingTopBarSection(){return n("div",{class:_.topBarSection},this.renderLanguageSelection())}renderLanguageSelection(){var a;return n("calcite-label",{layout:"inline"},null===(a=this.messages)||void 0===a?void 0:a.translatedLanguage,n("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){const a=r.get("uiData"),t=null==a?void 0:a.get("locales"),s=c(t);return null==s?void 0:s.map((a=>{const{messages:t}=this,s=null==t?void 0:t.translatedLanguageNames,e=null==t?void 0:t.languages;return n("calcite-option",{key:`translated-lang-option-${a}`,value:a},`${null==s?void 0:s[a]} - ${null==e?void 0:e[a]}`)}))}renderUIData(){if(!(null==p?void 0:p.uiData))return;const a=g();return n("div",null,null==a?void 0:a.map(((t,n)=>this.renderUIDataItem(t,n,a.length))))}renderNotice(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.noLanguage;return n("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},n("div",{slot:"title"},null==t?void 0:t.title),n("div",{slot:"message"},null==t?void 0:t.message))}renderUIDataItem(a,t,s){var e,i,l;const r=null===(l=null===(i=null===(e=this.appSettings)||void 0===e?void 0:e.translatedLanguageLabels)||void 0===i?void 0:i[p.currentLanguage])||void 0===l?void 0:l[a],o=`${t===s-1?_.lastItem:""}`,c=this.appSettings.content.filter((t=>t.id===a))[0];return n("instant-apps-language-translator-item",{key:`${a}-${t}`,class:o,fieldName:a,translatedLanguageLabel:r,type:c.type,userLocaleInputOnChangeCallback:this.userLocaleInputOnChangeCallback,translatedLocaleInputOnChangeCallback:this.translatedLocaleInputOnChangeCallback})}renderPrimaryButton(){var a;return n("calcite-button",{onClick:()=>this.open=!1,slot:"primary",class:_.closeButton},null===(a=this.messages)||void 0===a?void 0:a.close)}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;const a=new Map(p.uiData);g().forEach((t=>a.get(t).expanded=this.isCollapse)),r.set("uiData",a)}onSuggestionSelect(a){const t=a.detail,n=new Map(p.uiData);g().forEach((a=>{n.get(a).selected=a===t})),r.set("uiData",n)}close(){this.open=!1}handleLanguageSelection(a){r.set("currentLanguage",a.target.value)}get el(){return e(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};f.style=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:0;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}";export{f as instant_apps_language_translator}
|