@esri/solutions-components 0.8.12 → 0.8.14
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-249fdc45.js +118 -0
- package/dist/cjs/FloatingArrow-28abf7c7.js +50 -0
- package/dist/cjs/Heading-1f831135.js +25 -0
- package/dist/cjs/Validation-eb9afded.js +20 -0
- package/dist/cjs/app-globals-6acebf3e.js +69 -0
- package/dist/cjs/ar-1013e0a6.js +105 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +4 -3
- package/dist/cjs/array-550d54b1.js +17 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +24 -18
- package/dist/cjs/bg-7013971e.js +83 -0
- package/dist/cjs/browser-a96d0614.js +25 -0
- package/dist/cjs/bs-97bd61eb.js +52 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +24 -23
- package/dist/cjs/ca-2a76034c.js +72 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +14 -13
- package/dist/cjs/calcite-accordion.cjs.entry.js +6 -5
- package/dist/cjs/calcite-action-bar.cjs.entry.js +18 -17
- package/dist/cjs/calcite-action-group.cjs.entry.js +15 -14
- package/dist/cjs/calcite-action-menu_3.cjs.entry.js +65 -64
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +21 -20
- package/dist/cjs/calcite-action_2.cjs.entry.js +26 -21
- package/dist/cjs/calcite-alert_4.cjs.entry.js +31 -28
- package/dist/cjs/calcite-avatar.cjs.entry.js +8 -7
- package/dist/cjs/calcite-block-section.cjs.entry.js +14 -13
- package/dist/cjs/calcite-block_5.cjs.entry.js +115 -99
- package/dist/cjs/calcite-button.cjs.entry.js +26 -22
- package/dist/cjs/calcite-card-group.cjs.entry.js +169 -0
- package/dist/cjs/calcite-card.cjs.entry.js +133 -37
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +46 -0
- package/dist/cjs/calcite-carousel.cjs.entry.js +467 -0
- package/dist/cjs/calcite-checkbox.cjs.entry.js +29 -15
- package/dist/cjs/calcite-chip-group.cjs.entry.js +46 -23
- package/dist/cjs/calcite-chip_2.cjs.entry.js +53 -30
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +19 -18
- package/dist/cjs/calcite-color-picker.cjs.entry.js +64 -47
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +9 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +202 -146
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +45 -30
- package/dist/cjs/calcite-dropdown_4.cjs.entry.js +41 -42
- package/dist/cjs/calcite-fab.cjs.entry.js +11 -10
- package/dist/cjs/calcite-filter_5.cjs.entry.js +175 -136
- package/dist/cjs/calcite-flow_6.cjs.entry.js +46 -41
- package/dist/cjs/calcite-icon.cjs.entry.js +10 -9
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +20 -19
- package/dist/cjs/calcite-input-number.cjs.entry.js +78 -55
- package/dist/cjs/calcite-input-text.cjs.entry.js +61 -40
- package/dist/cjs/calcite-input-time-picker-ebdc5205.js +1864 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +71 -29
- package/dist/cjs/calcite-input_2.cjs.entry.js +88 -72
- package/dist/cjs/calcite-label.cjs.entry.js +10 -9
- package/dist/cjs/calcite-link.cjs.entry.js +14 -13
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +10 -12
- package/dist/cjs/calcite-menu-item.cjs.entry.js +18 -14
- package/dist/cjs/calcite-menu.cjs.entry.js +12 -11
- package/dist/cjs/calcite-meter.cjs.entry.js +13 -12
- package/dist/cjs/calcite-modal.cjs.entry.js +21 -20
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +18 -9
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +7 -6
- package/dist/cjs/calcite-navigation.cjs.entry.js +10 -9
- package/dist/cjs/calcite-notice.cjs.entry.js +21 -20
- package/dist/cjs/calcite-option-group.cjs.entry.js +4 -3
- package/dist/cjs/calcite-option_2.cjs.entry.js +34 -19
- package/dist/cjs/calcite-pagination.cjs.entry.js +60 -33
- package/dist/cjs/calcite-panel_2.cjs.entry.js +24 -22
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +11 -10
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +19 -18
- package/dist/cjs/calcite-pick-list.cjs.entry.js +16 -15
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -7
- package/dist/cjs/calcite-radio-button.cjs.entry.js +17 -16
- package/dist/cjs/calcite-rating.cjs.entry.js +20 -19
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +35 -20
- package/dist/cjs/calcite-sheet.cjs.entry.js +14 -13
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +11 -10
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +339 -123
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +13 -12
- package/dist/cjs/calcite-split-button.cjs.entry.js +9 -8
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +19 -19
- package/dist/cjs/calcite-stepper.cjs.entry.js +58 -98
- package/dist/cjs/calcite-switch.cjs.entry.js +16 -15
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +53 -27
- package/dist/cjs/calcite-table-row.cjs.entry.js +93 -77
- package/dist/cjs/calcite-table.cjs.entry.js +27 -17
- package/dist/cjs/calcite-text-area.cjs.entry.js +57 -30
- package/dist/cjs/calcite-tile-group.cjs.entry.js +175 -0
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +6 -5
- package/dist/cjs/calcite-tile-select.cjs.entry.js +11 -10
- package/dist/cjs/calcite-tile.cjs.entry.js +142 -19
- package/dist/cjs/calcite-time-picker.cjs.entry.js +33 -32
- package/dist/cjs/calcite-tip-group.cjs.entry.js +4 -3
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +13 -12
- package/dist/cjs/calcite-tip.cjs.entry.js +15 -14
- package/dist/cjs/calcite-tooltip.cjs.entry.js +20 -22
- package/dist/cjs/calcite-tree_2.cjs.entry.js +24 -20
- package/dist/cjs/card-manager_3.cjs.entry.js +16 -14
- package/dist/cjs/common-6d2c14c6.js +38 -0
- package/dist/cjs/component-d48747c9.js +33 -0
- package/dist/cjs/conditionalSlot-93779916.js +54 -0
- package/dist/cjs/consent-manager.cjs.entry.js +29 -28
- package/dist/cjs/core-b459e4f2.js +20 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +9 -9
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +6 -6
- package/dist/cjs/cs-b189af7b.js +148 -0
- package/dist/cjs/da-ebb3b688.js +67 -0
- package/dist/cjs/date-456675b2.js +261 -0
- package/dist/cjs/de-01ac3f09.js +92 -0
- package/dist/cjs/de-at-1437180c.js +91 -0
- package/dist/cjs/de-ch-b9a068a3.js +91 -0
- package/dist/cjs/debounce-7f1e04d6.js +504 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +4 -3
- package/dist/cjs/dom-1c78fa73.js +1147 -0
- package/dist/cjs/downloadUtils-88c011ad.js +3168 -0
- package/dist/cjs/el-7ce5c99d.js +67 -0
- package/dist/cjs/en-au-c3ca3a9f.js +67 -0
- package/dist/cjs/en-ca-34007cde.js +66 -0
- package/dist/cjs/en-gb-2db136a2.js +70 -0
- package/dist/cjs/es-f00ce3f0.js +67 -0
- package/dist/cjs/es-mx-503b9e1a.js +66 -0
- package/dist/cjs/esri-loader-fce6a9cb.js +316 -0
- package/dist/cjs/et-556f49fd.js +93 -0
- package/dist/cjs/feature-comments.cjs.entry.js +4 -3
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +4 -3
- package/dist/cjs/features-flow-item.cjs.entry.js +4 -3
- package/dist/cjs/fi-47ef7686.js +116 -0
- package/dist/cjs/filter-f363c8fb.js +777 -0
- package/dist/cjs/floating-ui-06d961ad.js +2295 -0
- package/dist/cjs/focusTrapComponent-0c672330.js +1028 -0
- package/dist/cjs/form-a27f759c.js +381 -0
- package/dist/cjs/fr-5ba5763a.js +69 -0
- package/dist/cjs/fr-ch-9b02cb30.js +67 -0
- package/dist/cjs/guid-a7528dfa.js +26 -0
- package/dist/cjs/he-07cce409.js +106 -0
- package/dist/cjs/helpers-9347ad83.js +906 -0
- package/dist/cjs/hi-7b691fb6.js +66 -0
- package/dist/cjs/hr-ebd3ae66.js +81 -0
- package/dist/cjs/html2canvas-ef5cae40.js +7847 -0
- package/dist/cjs/hu-b177f75e.js +89 -0
- package/dist/cjs/id-ffab63fb.js +67 -0
- package/dist/cjs/index-79b35510.js +1682 -0
- package/dist/cjs/index-c078ea5f.js +201 -0
- package/dist/cjs/index.es-1d5ee842.js +11317 -0
- package/dist/cjs/input-fb5fbd7d.js +60 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +13 -11
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-export.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-header.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +13 -11
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +9 -8
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +15 -11
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +9 -9
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +3 -2
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +10 -10
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +10 -10
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-popover.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +3 -2
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-splash.cjs.entry.js +7 -7
- package/dist/cjs/interactive-f08f0369.js +154 -0
- package/dist/cjs/it-8646ff2a.js +67 -0
- package/dist/cjs/it-ch-6c949267.js +67 -0
- package/dist/cjs/ja-cf48eff1.js +73 -0
- package/dist/cjs/key-7ed07912.js +19 -0
- package/dist/cjs/ko-294e5fae.js +73 -0
- package/dist/cjs/label-85cf6821.js +186 -0
- package/dist/cjs/languageSwitcher-395021d6.js +58 -0
- package/dist/cjs/languageUtil-da436671.js +69 -0
- package/dist/cjs/layout-manager.cjs.entry.js +6 -6
- package/dist/cjs/list-flow-item.cjs.entry.js +4 -3
- package/dist/cjs/loadModules-b28900c2.js +23 -0
- package/dist/cjs/loadable-b374ef4b.js +94 -0
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/locale-3fd260e3.js +91 -0
- package/dist/cjs/locale-48d76c59.js +161 -0
- package/dist/cjs/locale-5efdf085.js +584 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +4 -3
- package/dist/cjs/lt-a592829c.js +98 -0
- package/dist/cjs/lv-39a6d278.js +67 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +17 -15
- package/dist/cjs/math-11993213.js +60 -0
- package/dist/cjs/mk-afea13c6.js +67 -0
- package/dist/cjs/nb-b7cf648c.js +68 -0
- package/dist/cjs/nl-72021978.js +68 -0
- package/dist/cjs/observers-4fa351d9.js +55 -0
- package/dist/cjs/openCloseComponent-6a283ac3.js +92 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +4 -3
- package/dist/cjs/pl-82312f6a.js +115 -0
- package/dist/cjs/popupUtils-500c1544.js +96 -0
- package/dist/cjs/pt-42d95816.js +68 -0
- package/dist/cjs/pt-br-b0b546fc.js +66 -0
- package/dist/cjs/public-notification.cjs.entry.js +11 -11
- package/dist/cjs/publicNotificationStore-3bfbbed3.js +47 -0
- package/dist/cjs/purify-4a0e9dfb.js +1716 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +4 -3
- package/dist/cjs/resources-144a98da.js +29 -0
- package/dist/cjs/resources-1c0e54c1.js +32 -0
- package/dist/cjs/resources-34f7b918.js +68 -0
- package/dist/cjs/resources-35c28ff1.js +23 -0
- package/dist/cjs/resources-38a9fa02.js +2071 -0
- package/dist/cjs/resources-5ba856a7.js +27 -0
- package/dist/cjs/resources-6146eb17.js +21 -0
- package/dist/cjs/resources-c35bef76.js +39 -0
- package/dist/cjs/resources-cb14bafc.js +52 -0
- package/dist/cjs/resources-f9c93f5a.js +26 -0
- package/dist/cjs/restHelpersGet-dbaa28df.js +972 -0
- package/dist/cjs/ro-e7948270.js +67 -0
- package/dist/cjs/ru-3526e86f.js +127 -0
- package/dist/cjs/share-item.cjs.entry.js +4 -3
- package/dist/cjs/shared-list-render-b6b23d9e.js +365 -0
- package/dist/cjs/sk-0f35900e.js +149 -0
- package/dist/cjs/sl-abc6455f.js +169 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +12 -12
- package/dist/cjs/solution-contents_3.cjs.entry.js +17 -15
- package/dist/cjs/solution-item-icon.cjs.entry.js +4 -3
- package/dist/cjs/solution-resource-a577e84f.js +145 -0
- package/dist/cjs/solution-store-8ba2ab4b.js +1344 -0
- package/dist/cjs/solutions-components.cjs.js +14 -14
- package/dist/cjs/sortableComponent-b1b229bf.js +2743 -0
- package/dist/cjs/spatial-ref.cjs.entry.js +8 -8
- package/dist/cjs/sr-fe2d4b5b.js +102 -0
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/sv-6503d7e1.js +72 -0
- package/dist/cjs/t9n-9d199056.js +100 -0
- package/dist/cjs/th-9600cb11.js +66 -0
- package/dist/cjs/throttle-fe6b54a3.js +75 -0
- package/dist/cjs/time-d250cbf5.js +289 -0
- package/dist/cjs/tr-faae7cc6.js +67 -0
- package/dist/cjs/uk-5e626d2b.js +105 -0
- package/dist/cjs/utils-518745e7.js +221 -0
- package/dist/cjs/utils-e3996e43.js +65 -0
- package/dist/cjs/utils-f3710824.js +130 -0
- package/dist/cjs/vi-74653398.js +71 -0
- package/dist/cjs/zh-cn-b53af030.js +95 -0
- package/dist/cjs/zh-hk-96b751d5.js +72 -0
- package/dist/cjs/zh-tw-50d1a248.js +93 -0
- package/dist/collection/collection-manifest.json +6 -2
- package/dist/collection/components/arcgis-login/arcgis-login.js +1 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +1 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js +1 -1
- package/dist/collection/components/card-manager/card-manager.js +1 -1
- package/dist/collection/components/create-feature/create-feature.js +3 -3
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +4 -4
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.js +1 -1
- package/dist/collection/components/edit-card/edit-card.js +1 -1
- package/dist/collection/components/feature-comments/feature-comments.js +1 -1
- package/dist/collection/components/feature-details/feature-details.js +4 -4
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
- package/dist/collection/components/feature-list/feature-list.js +3 -3
- package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-list/layer-list.js +3 -3
- package/dist/collection/components/layer-table/layer-table.css +4 -0
- package/dist/collection/components/layer-table/layer-table.js +1 -1
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
- package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
- package/dist/collection/components/map-card/map-card.js +1 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +1 -1
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/share-item/share-item.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/demos/crowdsource-manager.html +3 -3
- package/dist/collection/utils/test/solution-store.spec.js +10 -10
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-bar.js +4 -3
- package/dist/components/action-group.js +5 -4
- package/dist/components/action-menu.js +8 -10
- package/dist/components/action-pad.js +4 -3
- package/dist/components/action.js +10 -6
- package/dist/components/alert.js +6 -5
- package/dist/components/ar.js +1 -1
- package/dist/components/arcgis-login.js +3 -2
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +4 -3
- package/dist/components/basemap-gallery2.js +3 -2
- package/dist/components/bg.js +1 -1
- package/dist/components/block.js +8 -7
- package/dist/components/bs.js +1 -1
- package/dist/components/buffer-tools2.js +3 -2
- package/dist/components/button.js +13 -8
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +7 -6
- package/dist/components/calcite-accordion.js +4 -3
- package/dist/components/calcite-block-section.js +5 -4
- package/dist/components/calcite-card-group.js +189 -0
- package/dist/components/calcite-card.js +143 -36
- package/dist/components/calcite-carousel-item.js +64 -0
- package/dist/components/calcite-carousel.js +523 -0
- package/dist/components/calcite-chip-group.js +41 -18
- package/dist/components/calcite-color-picker.js +57 -36
- package/dist/components/calcite-combobox-item-group.js +4 -3
- package/dist/components/calcite-fab.js +4 -3
- package/dist/components/calcite-inline-editable.js +7 -6
- package/dist/components/calcite-input-time-picker.js +33 -18
- package/dist/components/calcite-input-time-zone.js +60 -15
- package/dist/components/calcite-list-item-group.js +8 -11
- package/dist/components/calcite-menu-item.js +9 -5
- package/dist/components/calcite-meter.js +4 -3
- package/dist/components/calcite-navigation-logo.js +17 -7
- package/dist/components/calcite-navigation-user.js +5 -4
- package/dist/components/calcite-navigation.js +5 -4
- package/dist/components/calcite-option-group.js +3 -2
- package/dist/components/calcite-pick-list-group.js +4 -3
- package/dist/components/calcite-pick-list.js +4 -3
- package/dist/components/calcite-radio-button-group.js +4 -3
- package/dist/components/calcite-rating.js +6 -5
- package/dist/components/calcite-sheet.js +7 -6
- package/dist/components/calcite-shell-center-row.js +5 -4
- package/dist/components/calcite-sortable-list.js +5 -4
- package/dist/components/calcite-split-button.js +5 -4
- package/dist/components/calcite-stepper-item.js +8 -9
- package/dist/components/calcite-stepper.js +52 -94
- package/dist/components/calcite-table-row.js +89 -70
- package/dist/components/calcite-table.js +19 -7
- package/dist/components/calcite-text-area.js +41 -12
- package/dist/components/calcite-tile-group.js +199 -0
- package/dist/components/calcite-tile-select-group.js +3 -2
- package/dist/components/calcite-tile-select.js +6 -5
- package/dist/components/calcite-tile.js +148 -17
- package/dist/components/calcite-tip-group.js +3 -2
- package/dist/components/calcite-tip-manager.js +4 -3
- package/dist/components/calcite-tip.js +5 -4
- package/dist/components/card-manager2.js +3 -2
- package/dist/components/checkbox.js +19 -4
- package/dist/components/chip.js +36 -14
- package/dist/components/color-picker-hex-input.js +13 -12
- package/dist/components/color-picker-swatch.js +8 -7
- package/dist/components/combobox-item.js +5 -4
- package/dist/components/combobox.js +62 -38
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +2 -11
- package/dist/components/consent-manager.js +21 -19
- package/dist/components/core.js +15 -0
- package/dist/components/create-feature2.js +5 -4
- package/dist/components/crowdsource-manager.js +6 -5
- package/dist/components/crowdsource-reporter.js +3 -2
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +22 -5
- package/dist/components/date-picker-month-header.js +5 -4
- package/dist/components/date-picker-month.js +8 -10
- package/dist/components/date-picker.js +27 -27
- package/dist/components/date.js +2 -2
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +17 -9
- package/dist/components/deduct-calculator2.js +3 -2
- package/dist/components/delete-button2.js +3 -2
- package/dist/components/dom.js +60 -2
- package/dist/components/downloadUtils.js +8 -6
- package/dist/components/dropdown-group.js +4 -3
- package/dist/components/dropdown-item.js +8 -7
- package/dist/components/dropdown.js +11 -14
- package/dist/components/edit-card2.js +3 -2
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/esri-loader.js +15 -5
- package/dist/components/et.js +1 -1
- package/dist/components/feature-comments.js +3 -2
- package/dist/components/feature-details2.js +6 -5
- package/dist/components/feature-form-flow-item.js +3 -2
- package/dist/components/feature-list2.js +5 -4
- package/dist/components/features-flow-item.js +3 -2
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +20 -8
- package/dist/components/filter2.js +7 -3
- package/dist/components/floating-ui.js +359 -31
- package/dist/components/floor-filter2.js +3 -2
- package/dist/components/flow-item.js +7 -6
- package/dist/components/flow.js +4 -3
- package/dist/components/focusTrapComponent.js +3 -3
- package/dist/components/form.js +89 -24
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +3 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +8 -5
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/html2canvas.js +10 -5
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +5 -4
- package/dist/components/id.js +1 -1
- package/dist/components/index.es.js +1281 -775
- package/dist/components/index.js +2 -2
- package/dist/components/index2.js +123 -114
- package/dist/components/info-card2.js +4 -3
- package/dist/components/input-date-picker.js +52 -37
- package/dist/components/input-message.js +10 -10
- package/dist/components/input-number.js +70 -43
- package/dist/components/input-text.js +53 -28
- package/dist/components/input.js +77 -58
- package/dist/components/input2.js +58 -0
- package/dist/components/instant-apps-ckeditor-wrapper2.js +2 -1
- package/dist/components/instant-apps-control-panel.js +2 -1
- package/dist/components/instant-apps-export.js +2 -1
- package/dist/components/instant-apps-filter-list2.js +2 -1
- package/dist/components/instant-apps-header2.js +2 -1
- package/dist/components/instant-apps-interactive-legend-classic2.js +8 -5
- package/dist/components/instant-apps-interactive-legend-count2.js +2 -1
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +2 -1
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +2 -1
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +2 -1
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +2 -1
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +2 -1
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +2 -1
- package/dist/components/instant-apps-interactive-legend-relationship2.js +2 -1
- package/dist/components/instant-apps-interactive-legend.js +2 -1
- package/dist/components/instant-apps-keyboard-shortcuts.js +2 -1
- package/dist/components/instant-apps-landing-page.js +2 -1
- package/dist/components/instant-apps-language-switcher.js +3 -2
- package/dist/components/instant-apps-language-translator-item2.js +2 -1
- package/dist/components/instant-apps-language-translator-search2.js +2 -1
- package/dist/components/instant-apps-language-translator2.js +2 -1
- package/dist/components/instant-apps-measurement-tool2.js +2 -1
- package/dist/components/instant-apps-measurement.js +2 -1
- package/dist/components/instant-apps-popover.js +2 -1
- package/dist/components/instant-apps-popovers.js +2 -1
- package/dist/components/instant-apps-scoreboard.js +2 -1
- package/dist/components/instant-apps-social-share2.js +2 -1
- package/dist/components/instant-apps-splash.js +2 -1
- package/dist/components/interactive.js +28 -18
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/json-editor2.js +3 -2
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +4 -3
- package/dist/components/layer-list2.js +5 -4
- package/dist/components/layer-table2.js +4 -3
- package/dist/components/layout-manager.js +3 -2
- package/dist/components/link.js +7 -6
- package/dist/components/list-flow-item.js +3 -2
- package/dist/components/list-item.js +17 -14
- package/dist/components/list.js +38 -44
- package/dist/components/loadModules.js +1 -1
- package/dist/components/loadModules2.js +2 -2
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +4 -3
- package/dist/components/locale2.js +2 -2
- package/dist/components/location-flow-item.js +3 -2
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/map-card2.js +3 -2
- package/dist/components/map-draw-tools2.js +3 -2
- package/dist/components/map-fullscreen2.js +3 -2
- package/dist/components/map-layer-picker2.js +3 -2
- package/dist/components/map-legend2.js +3 -2
- package/dist/components/map-picker2.js +3 -2
- package/dist/components/map-search2.js +3 -2
- package/dist/components/map-select-tools2.js +3 -2
- package/dist/components/map-tools2.js +3 -2
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +4 -3
- package/dist/components/mk.js +1 -1
- package/dist/components/modal.js +9 -8
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/notice.js +8 -7
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/option.js +3 -2
- package/dist/components/pagination.js +52 -24
- package/dist/components/panel.js +8 -7
- package/dist/components/pci-calculator.js +4 -3
- package/dist/components/pdf-download2.js +3 -2
- package/dist/components/pick-list-item.js +7 -6
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +37 -35
- package/dist/components/progress.js +3 -2
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/public-notification.js +3 -2
- package/dist/components/purify.js +9 -5
- package/dist/components/radio-button.js +6 -5
- package/dist/components/refine-results-flow-item.js +3 -2
- package/dist/components/refine-selection2.js +3 -2
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +8 -9
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +48 -10
- package/dist/components/resources5.js +9 -6
- package/dist/components/resources6.js +20 -0
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +7 -6
- package/dist/components/segmented-control-item.js +6 -5
- package/dist/components/segmented-control.js +18 -3
- package/dist/components/select.js +20 -5
- package/dist/components/share-item.js +3 -2
- package/dist/components/shared-list-render.js +4 -4
- package/dist/components/shell-panel.js +4 -3
- package/dist/components/shell.js +4 -3
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/slider.js +123 -88
- package/dist/components/solution-configuration.js +5 -4
- package/dist/components/solution-contents2.js +3 -2
- package/dist/components/solution-item-details2.js +3 -2
- package/dist/components/solution-item-icon2.js +3 -2
- package/dist/components/solution-item-sharing2.js +3 -2
- package/dist/components/solution-item2.js +3 -2
- package/dist/components/solution-organization-variables2.js +3 -2
- package/dist/components/solution-resource-item2.js +3 -2
- package/dist/components/solution-resource.js +8 -4
- package/dist/components/solution-spatial-ref2.js +4 -3
- package/dist/components/solution-store.js +2 -2
- package/dist/components/solution-template-data2.js +3 -2
- package/dist/components/solution-variables2.js +3 -2
- package/dist/components/sortableComponent.js +3 -2
- package/dist/components/spatial-ref2.js +3 -2
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +5 -4
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +5 -4
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +290 -56
- package/dist/components/tab-title.js +9 -8
- package/dist/components/tab.js +6 -5
- package/dist/components/table-cell.js +20 -7
- package/dist/components/table-header.js +26 -9
- package/dist/components/tabs.js +5 -4
- package/dist/components/th.js +1 -1
- package/dist/components/time-picker.js +22 -21
- package/dist/components/tooltip.js +13 -15
- package/dist/components/tr.js +1 -1
- package/dist/components/tree-item.js +11 -8
- package/dist/components/tree.js +6 -5
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +2 -2
- package/dist/components/utils2.js +5 -3
- package/dist/components/utils3.js +2 -55
- package/dist/components/value-list-item.js +7 -6
- package/dist/components/value-list.js +8 -8
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-73432b0a.js +110 -0
- package/dist/esm/FloatingArrow-c3a62ec9.js +48 -0
- package/dist/esm/Heading-03b41bf8.js +22 -0
- package/dist/esm/Validation-59757032.js +18 -0
- package/dist/esm/app-globals-c4c8d6c1.js +67 -0
- package/dist/esm/ar-a0f8473e.js +103 -0
- package/dist/esm/arcgis-login.entry.js +4 -3
- package/dist/esm/array-2604a55d.js +15 -0
- package/dist/esm/basemap-gallery_7.entry.js +24 -18
- package/dist/esm/bg-4a8059f0.js +81 -0
- package/dist/esm/browser-9897260d.js +23 -0
- package/dist/esm/bs-3d9fa4b7.js +50 -0
- package/dist/esm/buffer-tools_3.entry.js +24 -23
- package/dist/esm/ca-a74ba459.js +70 -0
- package/dist/esm/calcite-accordion-item.entry.js +14 -13
- package/dist/esm/calcite-accordion.entry.js +6 -5
- package/dist/esm/calcite-action-bar.entry.js +18 -17
- package/dist/esm/calcite-action-group.entry.js +15 -14
- package/dist/esm/calcite-action-menu_3.entry.js +65 -64
- package/dist/esm/calcite-action-pad_2.entry.js +21 -20
- package/dist/esm/calcite-action_2.entry.js +26 -21
- package/dist/esm/calcite-alert_4.entry.js +31 -28
- package/dist/esm/calcite-avatar.entry.js +8 -7
- package/dist/esm/calcite-block-section.entry.js +14 -13
- package/dist/esm/calcite-block_5.entry.js +115 -99
- package/dist/esm/calcite-button.entry.js +26 -22
- package/dist/esm/calcite-card-group.entry.js +165 -0
- package/dist/esm/calcite-card.entry.js +133 -37
- package/dist/esm/calcite-carousel-item.entry.js +42 -0
- package/dist/esm/calcite-carousel.entry.js +463 -0
- package/dist/esm/calcite-checkbox.entry.js +29 -15
- package/dist/esm/calcite-chip-group.entry.js +46 -23
- package/dist/esm/calcite-chip_2.entry.js +53 -30
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +23 -22
- package/dist/esm/calcite-color-picker.entry.js +67 -50
- package/dist/esm/calcite-combobox-item-group.entry.js +9 -8
- package/dist/esm/calcite-combobox_3.entry.js +201 -145
- package/dist/esm/calcite-date-picker-day_3.entry.js +45 -30
- package/dist/esm/calcite-dropdown_4.entry.js +41 -42
- package/dist/esm/calcite-fab.entry.js +11 -10
- package/dist/esm/calcite-filter_5.entry.js +141 -102
- package/dist/esm/calcite-flow_6.entry.js +46 -41
- package/dist/esm/calcite-icon.entry.js +10 -9
- package/dist/esm/calcite-inline-editable.entry.js +20 -19
- package/dist/esm/calcite-input-number.entry.js +77 -54
- package/dist/esm/calcite-input-text.entry.js +60 -39
- package/dist/esm/calcite-input-time-picker-2cdb1664.js +1861 -0
- package/dist/esm/calcite-input-time-picker.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +71 -29
- package/dist/esm/calcite-input_2.entry.js +87 -71
- package/dist/esm/calcite-label.entry.js +10 -9
- package/dist/esm/calcite-link.entry.js +14 -13
- package/dist/esm/calcite-list-item-group.entry.js +10 -12
- package/dist/esm/calcite-menu-item.entry.js +18 -14
- package/dist/esm/calcite-menu.entry.js +12 -11
- package/dist/esm/calcite-meter.entry.js +13 -12
- package/dist/esm/calcite-modal.entry.js +21 -20
- package/dist/esm/calcite-navigation-logo.entry.js +18 -9
- package/dist/esm/calcite-navigation-user.entry.js +7 -6
- package/dist/esm/calcite-navigation.entry.js +10 -9
- package/dist/esm/calcite-notice.entry.js +21 -20
- package/dist/esm/calcite-option-group.entry.js +4 -3
- package/dist/esm/calcite-option_2.entry.js +34 -19
- package/dist/esm/calcite-pagination.entry.js +60 -33
- package/dist/esm/calcite-panel_2.entry.js +24 -22
- package/dist/esm/calcite-pick-list-group.entry.js +11 -10
- package/dist/esm/calcite-pick-list-item.entry.js +19 -18
- package/dist/esm/calcite-pick-list.entry.js +16 -15
- package/dist/esm/calcite-radio-button-group.entry.js +8 -7
- package/dist/esm/calcite-radio-button.entry.js +17 -16
- package/dist/esm/calcite-rating.entry.js +20 -19
- package/dist/esm/calcite-segmented-control_2.entry.js +35 -20
- package/dist/esm/calcite-sheet.entry.js +14 -13
- package/dist/esm/calcite-shell-center-row.entry.js +11 -10
- package/dist/esm/calcite-shell-panel_14.entry.js +339 -123
- package/dist/esm/calcite-sortable-list.entry.js +13 -12
- package/dist/esm/calcite-split-button.entry.js +9 -8
- package/dist/esm/calcite-stepper-item.entry.js +19 -19
- package/dist/esm/calcite-stepper.entry.js +58 -98
- package/dist/esm/calcite-switch.entry.js +16 -15
- package/dist/esm/calcite-table-cell_2.entry.js +53 -27
- package/dist/esm/calcite-table-row.entry.js +93 -77
- package/dist/esm/calcite-table.entry.js +27 -17
- package/dist/esm/calcite-text-area.entry.js +54 -27
- package/dist/esm/calcite-tile-group.entry.js +171 -0
- package/dist/esm/calcite-tile-select-group.entry.js +6 -5
- package/dist/esm/calcite-tile-select.entry.js +11 -10
- package/dist/esm/calcite-tile.entry.js +142 -19
- package/dist/esm/calcite-time-picker.entry.js +33 -32
- package/dist/esm/calcite-tip-group.entry.js +4 -3
- package/dist/esm/calcite-tip-manager.entry.js +13 -12
- package/dist/esm/calcite-tip.entry.js +15 -14
- package/dist/esm/calcite-tooltip.entry.js +20 -22
- package/dist/esm/calcite-tree_2.entry.js +24 -20
- package/dist/esm/card-manager_3.entry.js +16 -14
- package/dist/esm/common-7f72122b.js +36 -0
- package/dist/esm/component-960ddabf.js +30 -0
- package/dist/esm/conditionalSlot-16953b0d.js +51 -0
- package/dist/esm/consent-manager.entry.js +23 -22
- package/dist/esm/core-4bd4a70f.js +15 -0
- package/dist/esm/crowdsource-manager.entry.js +9 -9
- package/dist/esm/crowdsource-reporter.entry.js +6 -6
- package/dist/esm/cs-cd3323d4.js +146 -0
- package/dist/esm/da-eccb7ace.js +65 -0
- package/dist/esm/date-562b6fba.js +245 -0
- package/dist/esm/de-269c8d62.js +90 -0
- package/dist/esm/de-at-742cc453.js +89 -0
- package/dist/esm/de-ch-b4ff8ebb.js +89 -0
- package/dist/esm/debounce-6e9ade8c.js +495 -0
- package/dist/esm/deduct-calculator.entry.js +4 -3
- package/dist/esm/dom-d675fe65.js +1114 -0
- package/dist/esm/downloadUtils-fa6e5c37.js +3162 -0
- package/dist/esm/el-e7e0181b.js +65 -0
- package/dist/esm/en-au-0f12d4ae.js +65 -0
- package/dist/esm/en-ca-d692f9a4.js +64 -0
- package/dist/esm/en-gb-e91744e9.js +68 -0
- package/dist/esm/es-867bace7.js +65 -0
- package/dist/esm/es-mx-cde6ed6f.js +64 -0
- package/dist/esm/esri-loader-2bf735ed.js +311 -0
- package/dist/esm/et-a2613f53.js +91 -0
- package/dist/esm/feature-comments.entry.js +4 -3
- package/dist/esm/feature-form-flow-item.entry.js +4 -3
- package/dist/esm/features-flow-item.entry.js +4 -3
- package/dist/esm/fi-07875b7a.js +114 -0
- package/dist/esm/filter-d09ea2a2.js +775 -0
- package/dist/esm/floating-ui-9ee6fe17.js +2287 -0
- package/dist/esm/focusTrapComponent-63bf0d9f.js +1023 -0
- package/dist/esm/form-6d38f4ee.js +372 -0
- package/dist/esm/fr-669ba3b9.js +67 -0
- package/dist/esm/fr-ch-da569be6.js +65 -0
- package/dist/esm/guid-f05d01d5.js +24 -0
- package/dist/esm/he-6cbfe53b.js +104 -0
- package/dist/esm/helpers-a5a81b9d.js +880 -0
- package/dist/esm/hi-913d1595.js +64 -0
- package/dist/esm/hr-8f581dc9.js +79 -0
- package/dist/esm/html2canvas-28c7de60.js +7845 -0
- package/dist/esm/hu-02bb4a04.js +87 -0
- package/dist/esm/id-306dcc93.js +65 -0
- package/dist/esm/index-ba5da2b0.js +1648 -0
- package/dist/esm/index-c06194fa.js +199 -0
- package/dist/esm/index.es-114545fc.js +11230 -0
- package/dist/esm/input-96cf61a2.js +58 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +13 -11
- package/dist/esm/instant-apps-control-panel.entry.js +5 -5
- package/dist/esm/instant-apps-export.entry.js +7 -7
- package/dist/esm/instant-apps-header.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +12 -10
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +9 -8
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +7 -7
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +15 -11
- package/dist/esm/instant-apps-interactive-legend.entry.js +9 -9
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +7 -7
- package/dist/esm/instant-apps-landing-page.entry.js +3 -2
- package/dist/esm/instant-apps-language-switcher.entry.js +10 -10
- package/dist/esm/instant-apps-language-translator.entry.js +10 -10
- package/dist/esm/instant-apps-measurement.entry.js +7 -7
- package/dist/esm/instant-apps-popover.entry.js +7 -7
- package/dist/esm/instant-apps-popovers.entry.js +3 -2
- package/dist/esm/instant-apps-scoreboard.entry.js +7 -7
- package/dist/esm/instant-apps-splash.entry.js +7 -7
- package/dist/esm/interactive-52276a00.js +149 -0
- package/dist/esm/it-3f0c20a1.js +65 -0
- package/dist/esm/it-ch-fe18a6c5.js +65 -0
- package/dist/esm/ja-41455a15.js +71 -0
- package/dist/esm/key-092b6260.js +16 -0
- package/dist/esm/ko-88a4fc75.js +71 -0
- package/dist/esm/label-5692de01.js +179 -0
- package/dist/esm/languageSwitcher-a4a615e4.js +55 -0
- package/dist/esm/languageUtil-36f8f4ef.js +66 -0
- package/dist/esm/layout-manager.entry.js +6 -6
- package/dist/esm/list-flow-item.entry.js +4 -3
- package/dist/esm/loadModules-496086ee.js +21 -0
- package/dist/esm/loadable-cca582a3.js +89 -0
- package/dist/esm/loader.js +7 -7
- package/dist/esm/locale-353c1c36.js +571 -0
- package/dist/esm/locale-69333b8e.js +86 -0
- package/dist/esm/locale-a490c4f6.js +156 -0
- package/dist/esm/location-flow-item.entry.js +4 -3
- package/dist/esm/lt-5c1c3aa4.js +96 -0
- package/dist/esm/lv-acb76551.js +65 -0
- package/dist/esm/map-select-tools_3.entry.js +17 -15
- package/dist/esm/math-81650811.js +54 -0
- package/dist/esm/mk-b12a886b.js +65 -0
- package/dist/esm/nb-50bbf4fa.js +66 -0
- package/dist/esm/nl-6dd1488e.js +66 -0
- package/dist/esm/observers-19e5cb73.js +53 -0
- package/dist/esm/openCloseComponent-04234cea.js +90 -0
- package/dist/esm/pci-calculator.entry.js +4 -3
- package/dist/esm/pl-f0ccb3a4.js +113 -0
- package/dist/esm/popupUtils-2cc3c366.js +94 -0
- package/dist/esm/pt-3adf4f5e.js +66 -0
- package/dist/esm/pt-br-5ad78776.js +64 -0
- package/dist/esm/public-notification.entry.js +11 -11
- package/dist/esm/publicNotificationStore-74c7e9f4.js +45 -0
- package/dist/esm/purify-dbd0968e.js +1714 -0
- package/dist/esm/refine-results-flow-item.entry.js +4 -3
- package/dist/esm/resources-1febf4c6.js +28 -0
- package/dist/esm/resources-3587e9a5.js +20 -0
- package/dist/esm/resources-7c4efc5e.js +22 -0
- package/dist/esm/resources-7c61fbec.js +62 -0
- package/dist/esm/resources-7d202c09.js +24 -0
- package/dist/esm/resources-810e7513.js +48 -0
- package/dist/esm/resources-ae36eaff.js +19 -0
- package/dist/esm/resources-da3b53f5.js +2060 -0
- package/dist/esm/resources-dd68a4aa.js +35 -0
- package/dist/esm/resources-e4b779b0.js +23 -0
- package/dist/esm/restHelpersGet-1bd54274.js +959 -0
- package/dist/esm/ro-ba24a126.js +65 -0
- package/dist/esm/ru-2feffc99.js +125 -0
- package/dist/esm/share-item.entry.js +4 -3
- package/dist/esm/shared-list-render-aaa69039.js +343 -0
- package/dist/esm/sk-097e96ba.js +147 -0
- package/dist/esm/sl-27721fe2.js +167 -0
- package/dist/esm/solution-configuration.entry.js +12 -12
- package/dist/esm/solution-contents_3.entry.js +17 -15
- package/dist/esm/solution-item-icon.entry.js +4 -3
- package/dist/esm/solution-resource-0d0eb597.js +142 -0
- package/dist/esm/solution-store-997e0cb8.js +1342 -0
- package/dist/esm/solutions-components.js +15 -15
- package/dist/esm/sortableComponent-e4ebf0bf.js +2739 -0
- package/dist/esm/spatial-ref.entry.js +8 -8
- package/dist/esm/sr-b421770e.js +100 -0
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/sv-3bad8e53.js +70 -0
- package/dist/esm/t9n-165900a5.js +95 -0
- package/dist/esm/th-7cc88e5d.js +64 -0
- package/dist/esm/throttle-aed86bf3.js +73 -0
- package/dist/esm/time-d605c462.js +274 -0
- package/dist/esm/tr-0a2743e1.js +65 -0
- package/dist/esm/uk-6d2572d0.js +103 -0
- package/dist/esm/utils-26baa5d3.js +54 -0
- package/dist/esm/utils-6419e941.js +203 -0
- package/dist/esm/utils-bd72a603.js +121 -0
- package/dist/esm/vi-e8feb97f.js +69 -0
- package/dist/esm/zh-cn-fdec5be5.js +93 -0
- package/dist/esm/zh-hk-07c60ac2.js +70 -0
- package/dist/esm/zh-tw-b1e4174b.js +91 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +16 -20
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +11 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +197 -41
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +73 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +330 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +45 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +8 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +23 -14
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +21 -20
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +8 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +6 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +6 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +14 -14
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +11 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +14 -14
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +11 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +11 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +9 -9
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -25
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +50 -29
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +7 -24
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +15 -16
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +8 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +8 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +16 -16
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +10 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +6 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +8 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +12 -9
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +10 -12
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +11 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +58 -30
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +23 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +103 -19
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +80 -96
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +24 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +28 -12
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +11 -12
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +7 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +159 -80
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +86 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +20 -13
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +6 -6
- package/dist/solutions-components/assets/card/t9n/messages.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_ar.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_bg.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_bs.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_ca.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_cs.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_da.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_de.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_el.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_en.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_es.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_et.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_fi.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_fr.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_he.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_hr.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_hu.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_id.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_it.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_ja.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_ko.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_lt.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_lv.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_nl.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_no.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_pl.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_pt-BR.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_pt-PT.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_ro.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_ru.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_sk.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_sl.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_sr.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_sv.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_th.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_tr.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_uk.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_vi.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_zh-CN.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_zh-HK.json +1 -1
- package/dist/solutions-components/assets/card/t9n/messages_zh-TW.json +1 -1
- package/dist/solutions-components/assets/carousel/t9n/index.d.ts +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_ar.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_bg.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_bs.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_ca.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_cs.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_da.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_de.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_el.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_en.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_es.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_et.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_fi.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_fr.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_he.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_hr.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_hu.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_id.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_it.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_ja.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_ko.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_lt.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_lv.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_nl.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_no.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_pl.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_pt-BR.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_pt-PT.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_ro.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_ru.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_sk.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_sl.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_sr.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_sv.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_th.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_tr.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_uk.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_vi.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_zh-CN.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_zh-HK.json +8 -0
- package/dist/solutions-components/assets/carousel/t9n/messages_zh-TW.json +8 -0
- package/dist/solutions-components/assets/handle/t9n/messages_ar.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_bg.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_bs.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_ca.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_cs.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_da.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_de.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_el.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_es.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_et.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_fi.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_fr.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_he.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_hr.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_hu.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_id.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_it.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_ja.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_ko.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_lt.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_lv.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_nl.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_no.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_pl.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_pt-BR.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_pt-PT.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_ro.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_ru.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_sk.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_sl.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_sr.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_sv.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_th.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_tr.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_uk.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_vi.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_zh-CN.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_zh-HK.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_zh-TW.json +2 -1
- package/dist/solutions-components/assets/icon/addToModel16.json +1 -0
- package/dist/solutions-components/assets/icon/addToModel24.json +1 -0
- package/dist/solutions-components/assets/icon/addToModel32.json +1 -0
- package/dist/solutions-components/assets/icon/ai16.json +1 -0
- package/dist/solutions-components/assets/icon/ai24.json +1 -0
- package/dist/solutions-components/assets/icon/ai32.json +1 -0
- package/dist/solutions-components/assets/icon/applyChanges16.json +1 -0
- package/dist/solutions-components/assets/icon/applyChanges24.json +1 -0
- package/dist/solutions-components/assets/icon/applyChanges32.json +1 -0
- package/dist/solutions-components/assets/icon/binary16.json +1 -0
- package/dist/solutions-components/assets/icon/binary24.json +1 -0
- package/dist/solutions-components/assets/icon/binary32.json +1 -0
- package/dist/solutions-components/assets/icon/brackets16.json +1 -0
- package/dist/solutions-components/assets/icon/brackets24.json +1 -0
- package/dist/solutions-components/assets/icon/brackets32.json +1 -0
- package/dist/solutions-components/assets/icon/changeFontSize16.json +1 -1
- package/dist/solutions-components/assets/icon/changeFontSize24.json +1 -1
- package/dist/solutions-components/assets/icon/changeFontSize32.json +1 -1
- package/dist/solutions-components/assets/icon/clipboardBrackets16.json +1 -0
- package/dist/solutions-components/assets/icon/clipboardBrackets24.json +1 -0
- package/dist/solutions-components/assets/icon/clipboardBrackets32.json +1 -0
- package/dist/solutions-components/assets/icon/codeBranch16.json +1 -0
- package/dist/solutions-components/assets/icon/codeBranch24.json +1 -0
- package/dist/solutions-components/assets/icon/codeBranch32.json +1 -0
- package/dist/solutions-components/assets/icon/codeBranchEdit16.json +1 -0
- package/dist/solutions-components/assets/icon/codeBranchEdit24.json +1 -0
- package/dist/solutions-components/assets/icon/codeBranchEdit32.json +1 -0
- package/dist/solutions-components/assets/icon/codeBrand16.json +1 -0
- package/dist/solutions-components/assets/icon/codeBrand24.json +1 -0
- package/dist/solutions-components/assets/icon/codeBrand32.json +1 -0
- package/dist/solutions-components/assets/icon/codeBrandEdit16.json +1 -0
- package/dist/solutions-components/assets/icon/codeBrandEdit24.json +1 -0
- package/dist/solutions-components/assets/icon/codeBrandEdit32.json +1 -0
- package/dist/solutions-components/assets/icon/configureEditing16.json +1 -0
- package/dist/solutions-components/assets/icon/configureEditing24.json +1 -0
- package/dist/solutions-components/assets/icon/configureEditing32.json +1 -0
- package/dist/solutions-components/assets/icon/doubleFloat16.json +1 -0
- package/dist/solutions-components/assets/icon/doubleFloat24.json +1 -0
- package/dist/solutions-components/assets/icon/doubleFloat32.json +1 -0
- package/dist/solutions-components/assets/icon/fileReportGeneric16.json +1 -0
- package/dist/solutions-components/assets/icon/fileReportGeneric24.json +1 -0
- package/dist/solutions-components/assets/icon/fileReportGeneric32.json +1 -0
- package/dist/solutions-components/assets/icon/fileXml16.json +1 -0
- package/dist/solutions-components/assets/icon/fileXml24.json +1 -0
- package/dist/solutions-components/assets/icon/fileXml32.json +1 -0
- package/dist/solutions-components/assets/icon/filterExpand16.json +1 -0
- package/dist/solutions-components/assets/icon/filterExpand24.json +1 -0
- package/dist/solutions-components/assets/icon/filterExpand32.json +1 -0
- package/dist/solutions-components/assets/icon/folder16F.json +1 -0
- package/dist/solutions-components/assets/icon/folder24F.json +1 -0
- package/dist/solutions-components/assets/icon/folder32F.json +1 -0
- package/dist/solutions-components/assets/icon/folderFill16F.json +1 -0
- package/dist/solutions-components/assets/icon/folderFill24F.json +1 -0
- package/dist/solutions-components/assets/icon/folderFill32F.json +1 -0
- package/dist/solutions-components/assets/icon/folderMagnifyingGlass16.json +1 -0
- package/dist/solutions-components/assets/icon/folderMagnifyingGlass24.json +1 -0
- package/dist/solutions-components/assets/icon/folderMagnifyingGlass32.json +1 -0
- package/dist/solutions-components/assets/icon/folderOpen16F.json +1 -0
- package/dist/solutions-components/assets/icon/folderOpen24F.json +1 -0
- package/dist/solutions-components/assets/icon/folderOpen32F.json +1 -0
- package/dist/solutions-components/assets/icon/fourByOneGrid16.json +1 -0
- package/dist/solutions-components/assets/icon/fourByOneGrid24.json +1 -0
- package/dist/solutions-components/assets/icon/fourByOneGrid32.json +1 -0
- package/dist/solutions-components/assets/icon/fourByThreeGrid16.json +1 -0
- package/dist/solutions-components/assets/icon/fourByThreeGrid24.json +1 -0
- package/dist/solutions-components/assets/icon/fourByThreeGrid32.json +1 -0
- package/dist/solutions-components/assets/icon/fourByTwoGrid16.json +1 -0
- package/dist/solutions-components/assets/icon/fourByTwoGrid24.json +1 -0
- package/dist/solutions-components/assets/icon/fourByTwoGrid32.json +1 -0
- package/dist/solutions-components/assets/icon/frameExport16.json +1 -0
- package/dist/solutions-components/assets/icon/frameExport24.json +1 -0
- package/dist/solutions-components/assets/icon/frameExport32.json +1 -0
- package/dist/solutions-components/assets/icon/graphBoxMeanLines16.json +1 -0
- package/dist/solutions-components/assets/icon/graphBoxMeanLines24.json +1 -0
- package/dist/solutions-components/assets/icon/graphBoxMeanLines32.json +1 -0
- package/dist/solutions-components/assets/icon/graphBoxSideBySide16.json +1 -0
- package/dist/solutions-components/assets/icon/graphBoxSideBySide24.json +1 -0
- package/dist/solutions-components/assets/icon/graphBoxSideBySide32.json +1 -0
- package/dist/solutions-components/assets/icon/groupLayers16.json +1 -0
- package/dist/solutions-components/assets/icon/groupLayers24.json +1 -0
- package/dist/solutions-components/assets/icon/groupLayers32.json +1 -0
- package/dist/solutions-components/assets/icon/layersF16.json +1 -0
- package/dist/solutions-components/assets/icon/layersF24.json +1 -0
- package/dist/solutions-components/assets/icon/layersF32.json +1 -0
- package/dist/solutions-components/assets/icon/linkChartFromTemplate16.json +1 -0
- package/dist/solutions-components/assets/icon/linkChartFromTemplate24.json +1 -0
- package/dist/solutions-components/assets/icon/linkChartFromTemplate32.json +1 -0
- package/dist/solutions-components/assets/icon/livestreamVideoLayer16.json +1 -0
- package/dist/solutions-components/assets/icon/livestreamVideoLayer24.json +1 -0
- package/dist/solutions-components/assets/icon/livestreamVideoLayer32.json +1 -0
- package/dist/solutions-components/assets/icon/mapFromTemplate16.json +1 -0
- package/dist/solutions-components/assets/icon/mapFromTemplate24.json +1 -0
- package/dist/solutions-components/assets/icon/mapFromTemplate32.json +1 -0
- package/dist/solutions-components/assets/icon/membersBrackets16.json +1 -0
- package/dist/solutions-components/assets/icon/membersBrackets24.json +1 -0
- package/dist/solutions-components/assets/icon/membersBrackets32.json +1 -0
- package/dist/solutions-components/assets/icon/modelEdit16.json +1 -0
- package/dist/solutions-components/assets/icon/modelEdit24.json +1 -0
- package/dist/solutions-components/assets/icon/modelEdit32.json +1 -0
- package/dist/solutions-components/assets/icon/modifyAssociations16.json +1 -0
- package/dist/solutions-components/assets/icon/modifyAssociations24.json +1 -0
- package/dist/solutions-components/assets/icon/modifyAssociations32.json +1 -0
- package/dist/solutions-components/assets/icon/moveFromBasemap16.json +1 -0
- package/dist/solutions-components/assets/icon/moveFromBasemap24.json +1 -0
- package/dist/solutions-components/assets/icon/moveFromBasemap32.json +1 -0
- package/dist/solutions-components/assets/icon/moveToBasemap16.json +1 -0
- package/dist/solutions-components/assets/icon/moveToBasemap24.json +1 -0
- package/dist/solutions-components/assets/icon/moveToBasemap32.json +1 -0
- package/dist/solutions-components/assets/icon/notepad16.json +1 -0
- package/dist/solutions-components/assets/icon/notepad24.json +1 -0
- package/dist/solutions-components/assets/icon/notepad32.json +1 -0
- package/dist/solutions-components/assets/icon/notepadAdd16.json +1 -0
- package/dist/solutions-components/assets/icon/notepadAdd24.json +1 -0
- package/dist/solutions-components/assets/icon/notepadAdd32.json +1 -0
- package/dist/solutions-components/assets/icon/notepadEdit16.json +1 -0
- package/dist/solutions-components/assets/icon/notepadEdit24.json +1 -0
- package/dist/solutions-components/assets/icon/notepadEdit32.json +1 -0
- package/dist/solutions-components/assets/icon/pasteWithAttribute16.json +1 -0
- package/dist/solutions-components/assets/icon/pasteWithAttribute24.json +1 -0
- package/dist/solutions-components/assets/icon/pasteWithAttribute32.json +1 -0
- package/dist/solutions-components/assets/icon/pasteWithoutAttribute16.json +1 -0
- package/dist/solutions-components/assets/icon/pasteWithoutAttribute24.json +1 -0
- package/dist/solutions-components/assets/icon/pasteWithoutAttribute32.json +1 -0
- package/dist/solutions-components/assets/icon/query16.json +1 -0
- package/dist/solutions-components/assets/icon/query24.json +1 -0
- package/dist/solutions-components/assets/icon/query32.json +1 -0
- package/dist/solutions-components/assets/icon/radialTreeLinkChartLayout16.json +1 -0
- package/dist/solutions-components/assets/icon/radialTreeLinkChartLayout24.json +1 -0
- package/dist/solutions-components/assets/icon/radialTreeLinkChartLayout32.json +1 -0
- package/dist/solutions-components/assets/icon/removeFromList16.json +1 -0
- package/dist/solutions-components/assets/icon/removeFromList24.json +1 -0
- package/dist/solutions-components/assets/icon/removeFromList32.json +1 -0
- package/dist/solutions-components/assets/icon/reshapeAddGeometry16.json +1 -0
- package/dist/solutions-components/assets/icon/reshapeAddGeometry24.json +1 -0
- package/dist/solutions-components/assets/icon/reshapeAddGeometry32.json +1 -0
- package/dist/solutions-components/assets/icon/reshapeSubtractGeometry16.json +1 -0
- package/dist/solutions-components/assets/icon/reshapeSubtractGeometry24.json +1 -0
- package/dist/solutions-components/assets/icon/reshapeSubtractGeometry32.json +1 -0
- package/dist/solutions-components/assets/icon/reshapeTool16.json +1 -0
- package/dist/solutions-components/assets/icon/reshapeTool24.json +1 -0
- package/dist/solutions-components/assets/icon/reshapeTool32.json +1 -0
- package/dist/solutions-components/assets/icon/rss16.json +1 -0
- package/dist/solutions-components/assets/icon/rss24.json +1 -0
- package/dist/solutions-components/assets/icon/rss32.json +1 -0
- package/dist/solutions-components/assets/icon/rssF16.json +1 -0
- package/dist/solutions-components/assets/icon/rssF24.json +1 -0
- package/dist/solutions-components/assets/icon/rssF32.json +1 -0
- package/dist/solutions-components/assets/icon/schema16.json +1 -0
- package/dist/solutions-components/assets/icon/schema24.json +1 -0
- package/dist/solutions-components/assets/icon/schema32.json +1 -0
- package/dist/solutions-components/assets/icon/selectByAttributes16.json +1 -0
- package/dist/solutions-components/assets/icon/selectByAttributes24.json +1 -0
- package/dist/solutions-components/assets/icon/selectByAttributes32.json +1 -0
- package/dist/solutions-components/assets/icon/selectColumn16.json +1 -0
- package/dist/solutions-components/assets/icon/selectColumn24.json +1 -0
- package/dist/solutions-components/assets/icon/selectColumn32.json +1 -0
- package/dist/solutions-components/assets/icon/selectionManager16.json +1 -0
- package/dist/solutions-components/assets/icon/selectionManager24.json +1 -0
- package/dist/solutions-components/assets/icon/selectionManager32.json +1 -0
- package/dist/solutions-components/assets/icon/storedAsNewQuery16.json +1 -0
- package/dist/solutions-components/assets/icon/storedAsNewQuery24.json +1 -0
- package/dist/solutions-components/assets/icon/storedAsNewQuery32.json +1 -0
- package/dist/solutions-components/assets/icon/storedQuery16.json +1 -0
- package/dist/solutions-components/assets/icon/storedQuery24.json +1 -0
- package/dist/solutions-components/assets/icon/storedQuery32.json +1 -0
- package/dist/solutions-components/assets/icon/styling16.json +1 -0
- package/dist/solutions-components/assets/icon/styling24.json +1 -0
- package/dist/solutions-components/assets/icon/styling32.json +1 -0
- package/dist/solutions-components/assets/icon/subFields16.json +1 -0
- package/dist/solutions-components/assets/icon/subFields24.json +1 -0
- package/dist/solutions-components/assets/icon/subFields32.json +1 -0
- package/dist/solutions-components/assets/icon/subtype16.json +1 -0
- package/dist/solutions-components/assets/icon/subtype24.json +1 -0
- package/dist/solutions-components/assets/icon/subtype32.json +1 -0
- package/dist/solutions-components/assets/icon/templates16.json +1 -0
- package/dist/solutions-components/assets/icon/templates24.json +1 -0
- package/dist/solutions-components/assets/icon/templates32.json +1 -0
- package/dist/solutions-components/assets/icon/textBold16.json +1 -0
- package/dist/solutions-components/assets/icon/textBold24.json +1 -0
- package/dist/solutions-components/assets/icon/textBold32.json +1 -0
- package/dist/solutions-components/assets/icon/threeByOneGrid16.json +1 -0
- package/dist/solutions-components/assets/icon/threeByOneGrid24.json +1 -0
- package/dist/solutions-components/assets/icon/threeByOneGrid32.json +1 -0
- package/dist/solutions-components/assets/icon/threeByThreeGrid16.json +1 -0
- package/dist/solutions-components/assets/icon/threeByThreeGrid24.json +1 -0
- package/dist/solutions-components/assets/icon/threeByThreeGrid32.json +1 -0
- package/dist/solutions-components/assets/icon/threeByTwoGrid16.json +1 -0
- package/dist/solutions-components/assets/icon/threeByTwoGrid24.json +1 -0
- package/dist/solutions-components/assets/icon/threeByTwoGrid32.json +1 -0
- package/dist/solutions-components/assets/icon/ungroupLayers16.json +1 -0
- package/dist/solutions-components/assets/icon/ungroupLayers24.json +1 -0
- package/dist/solutions-components/assets/icon/ungroupLayers32.json +1 -0
- package/dist/solutions-components/assets/icon/utilityNetwork16.json +1 -0
- package/dist/solutions-components/assets/icon/utilityNetwork24.json +1 -0
- package/dist/solutions-components/assets/icon/utilityNetwork32.json +1 -0
- package/dist/solutions-components/assets/icon/validateUtilityNetworkTopology16.json +1 -0
- package/dist/solutions-components/assets/icon/validateUtilityNetworkTopology24.json +1 -0
- package/dist/solutions-components/assets/icon/validateUtilityNetworkTopology32.json +1 -0
- package/dist/solutions-components/assets/icon/videoLayer16.json +1 -0
- package/dist/solutions-components/assets/icon/videoLayer24.json +1 -0
- package/dist/solutions-components/assets/icon/videoLayer32.json +1 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/index.d.ts +2 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages.json +2 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_en.json +2 -0
- package/dist/solutions-components/assets/list-item/t9n/messages_ar.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_bg.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_bs.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_ca.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_cs.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_da.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_de.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_el.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_es.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_et.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_fi.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_fr.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_he.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_hr.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_hu.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_id.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_it.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_ja.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_ko.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_lt.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_lv.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_nl.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_no.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_pl.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_pt-BR.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_pt-PT.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_ro.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_ru.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_sk.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_sl.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_sr.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_sv.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_th.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_tr.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_uk.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_vi.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_zh-CN.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_zh-HK.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_zh-TW.json +3 -1
- package/dist/solutions-components/assets/tab-nav/t9n/index.d.ts +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_ar.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_bg.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_bs.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_ca.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_cs.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_da.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_de.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_el.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_en.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_es.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_et.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_fi.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_fr.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_he.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_hr.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_hu.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_id.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_it.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_ja.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_ko.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_lt.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_lv.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_nl.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_no.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_pl.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_pt-BR.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_pt-PT.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_ro.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_ru.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_sk.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_sl.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_sr.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_sv.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_th.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_tr.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_uk.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_vi.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_zh-CN.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_zh-HK.json +4 -0
- package/dist/solutions-components/assets/tab-nav/t9n/messages_zh-TW.json +4 -0
- package/dist/solutions-components/demos/crowdsource-manager.html +3 -3
- package/dist/solutions-components/p-011892f2.entry.js +11 -0
- package/dist/solutions-components/p-01ee5ad6.js +11 -0
- package/dist/solutions-components/p-022edd7a.entry.js +11 -0
- package/dist/solutions-components/p-02651dd3.entry.js +11 -0
- package/dist/solutions-components/p-04af53a2.js +6 -0
- package/dist/solutions-components/p-0669c156.entry.js +17 -0
- package/dist/solutions-components/p-06748b7a.entry.js +6 -0
- package/dist/solutions-components/p-070b98cd.entry.js +17 -0
- package/dist/solutions-components/p-0894d584.js +6 -0
- package/dist/solutions-components/p-08a1e120.js +6 -0
- package/dist/solutions-components/p-0971d8ac.entry.js +23 -0
- package/dist/solutions-components/p-09b769b7.entry.js +6 -0
- package/dist/solutions-components/p-0a00df9e.entry.js +6 -0
- package/dist/solutions-components/p-0bb3b378.entry.js +11 -0
- package/dist/solutions-components/p-0c523112.js +6 -0
- package/dist/solutions-components/p-0f139e3e.entry.js +6 -0
- package/dist/solutions-components/p-0fba267c.entry.js +12 -0
- package/dist/solutions-components/p-0fdcc10a.entry.js +6 -0
- package/dist/solutions-components/p-105d8256.js +6 -0
- package/dist/solutions-components/p-11881a54.js +6 -0
- package/dist/solutions-components/p-11e873c7.entry.js +6 -0
- package/dist/solutions-components/p-12c80030.js +11 -0
- package/dist/solutions-components/p-1506751c.entry.js +11 -0
- package/dist/solutions-components/p-16ac309d.entry.js +6 -0
- package/dist/solutions-components/p-17674f66.js +6 -0
- package/dist/solutions-components/p-177a139d.entry.js +11 -0
- package/dist/solutions-components/p-18b27561.entry.js +11 -0
- package/dist/solutions-components/p-19dbfe71.js +6 -0
- package/dist/solutions-components/p-1a3f82c5.entry.js +11 -0
- package/dist/solutions-components/p-1aa91fbf.entry.js +6 -0
- package/dist/solutions-components/p-1dbc5234.js +11 -0
- package/dist/solutions-components/p-21d6360a.entry.js +6 -0
- package/dist/solutions-components/p-21fd2b18.js +11 -0
- package/dist/solutions-components/p-229ec6a3.js +11 -0
- package/dist/solutions-components/p-23059533.js +11 -0
- package/dist/solutions-components/p-238d8710.entry.js +11 -0
- package/dist/solutions-components/p-23d35d76.js +6 -0
- package/dist/solutions-components/p-2445cf51.js +7 -0
- package/dist/solutions-components/p-246b1648.entry.js +12 -0
- package/dist/solutions-components/p-247edfb2.js +61 -0
- package/dist/solutions-components/p-261880f7.entry.js +11 -0
- package/dist/solutions-components/p-2665663a.entry.js +6 -0
- package/dist/solutions-components/p-2775f82b.js +6 -0
- package/dist/solutions-components/p-287d2d49.entry.js +11 -0
- package/dist/solutions-components/p-288592d4.entry.js +6 -0
- package/dist/solutions-components/p-28b4b325.entry.js +6 -0
- package/dist/solutions-components/p-28d2ab1a.js +6 -0
- package/dist/solutions-components/p-28e582b0.entry.js +11 -0
- package/dist/solutions-components/p-29edb87c.js +6 -0
- package/dist/solutions-components/p-2d90ec69.entry.js +11 -0
- package/dist/solutions-components/p-2db55da4.js +11 -0
- package/dist/solutions-components/p-2e625f11.js +11 -0
- package/dist/solutions-components/p-302fccc1.entry.js +6 -0
- package/dist/solutions-components/p-31ce0b61.entry.js +11 -0
- package/dist/solutions-components/p-3283660c.entry.js +6 -0
- package/dist/solutions-components/p-328fbf6d.js +11 -0
- package/dist/solutions-components/p-32fed174.entry.js +6 -0
- package/dist/solutions-components/p-334e6394.js +37 -0
- package/dist/solutions-components/p-33647277.entry.js +6 -0
- package/dist/solutions-components/p-34c5a71c.entry.js +11 -0
- package/dist/solutions-components/p-36d3476c.entry.js +17 -0
- package/dist/solutions-components/p-370283a4.js +6 -0
- package/dist/solutions-components/p-37e40c37.js +11 -0
- package/dist/solutions-components/p-392be4a7.js +6 -0
- package/dist/solutions-components/p-3a862208.js +18 -0
- package/dist/solutions-components/p-3af0764f.entry.js +6 -0
- package/dist/solutions-components/p-3b7e0d5a.js +26 -0
- package/dist/solutions-components/p-3c24cda7.entry.js +11 -0
- package/dist/solutions-components/p-3ce690d9.js +6 -0
- package/dist/solutions-components/p-3da83eee.entry.js +22 -0
- package/dist/solutions-components/p-3e33078e.entry.js +11 -0
- package/dist/solutions-components/p-400a584e.js +6 -0
- package/dist/solutions-components/p-415d519f.entry.js +6 -0
- package/dist/solutions-components/p-420b8eb1.entry.js +11 -0
- package/dist/solutions-components/p-4370de50.js +6 -0
- package/dist/solutions-components/p-43d1b0bd.js +11 -0
- package/dist/solutions-components/p-452d2d38.entry.js +6 -0
- package/dist/solutions-components/p-489be360.entry.js +11 -0
- package/dist/solutions-components/p-48b2469f.entry.js +6 -0
- package/dist/solutions-components/p-490e4875.entry.js +11 -0
- package/dist/solutions-components/p-4ac019d3.js +6 -0
- package/dist/solutions-components/p-4ba6f8f0.js +6 -0
- package/dist/solutions-components/p-4ca83bea.js +6 -0
- package/dist/solutions-components/p-4e07c030.entry.js +11 -0
- package/dist/solutions-components/p-4f0712e2.entry.js +6 -0
- package/dist/solutions-components/p-502172da.entry.js +17 -0
- package/dist/solutions-components/p-530b73ce.js +66 -0
- package/dist/solutions-components/p-533a9cca.entry.js +11 -0
- package/dist/solutions-components/p-535c103e.entry.js +6 -0
- package/dist/solutions-components/p-568c465e.entry.js +6 -0
- package/dist/solutions-components/p-570a3777.js +6 -0
- package/dist/solutions-components/p-591175a6.js +6 -0
- package/dist/solutions-components/p-5974ba05.js +16 -0
- package/dist/solutions-components/p-599dcc29.js +6 -0
- package/dist/solutions-components/p-59c92ba2.entry.js +12 -0
- package/dist/solutions-components/p-5b654493.entry.js +6 -0
- package/dist/solutions-components/p-5f0b29d4.js +11 -0
- package/dist/solutions-components/p-5f873153.js +6 -0
- package/dist/solutions-components/p-6085ab9c.js +11 -0
- package/dist/solutions-components/p-60f1055e.entry.js +6 -0
- package/dist/solutions-components/p-6127f49e.js +11 -0
- package/dist/solutions-components/p-616c3c0c.entry.js +6 -0
- package/dist/solutions-components/p-62994fb8.entry.js +17 -0
- package/dist/solutions-components/p-62c34f96.entry.js +11 -0
- package/dist/solutions-components/p-636c0ebf.entry.js +29 -0
- package/dist/solutions-components/p-63e6cab2.entry.js +11 -0
- package/dist/solutions-components/p-64b4b579.entry.js +11 -0
- package/dist/solutions-components/p-67b26725.js +17 -0
- package/dist/solutions-components/p-67ee4afe.entry.js +47 -0
- package/dist/solutions-components/p-680a43bb.entry.js +6 -0
- package/dist/solutions-components/p-69935f68.entry.js +6 -0
- package/dist/solutions-components/p-6bdafe3f.js +6 -0
- package/dist/solutions-components/p-6d753a3d.js +7 -0
- package/dist/solutions-components/p-6e8782d1.entry.js +6 -0
- package/dist/solutions-components/p-70ec2b39.entry.js +6 -0
- package/dist/solutions-components/p-71bdc77f.entry.js +6 -0
- package/dist/solutions-components/p-7348c869.entry.js +6 -0
- package/dist/solutions-components/p-74a283fb.entry.js +11 -0
- package/dist/solutions-components/p-76d70d3e.js +6 -0
- package/dist/solutions-components/p-790ab21b.js +6 -0
- package/dist/solutions-components/p-798d20c2.entry.js +11 -0
- package/dist/solutions-components/p-7b13fafe.entry.js +6 -0
- package/dist/solutions-components/p-7ca416ab.entry.js +6 -0
- package/dist/solutions-components/p-7fb072e0.entry.js +11 -0
- package/dist/solutions-components/p-7fdcce90.entry.js +36 -0
- package/dist/solutions-components/p-80e8dac5.entry.js +6 -0
- package/dist/solutions-components/p-814ad17b.js +6 -0
- package/dist/solutions-components/p-820d8935.js +11 -0
- package/dist/solutions-components/p-82e085d0.js +6 -0
- package/dist/solutions-components/p-83997457.entry.js +11 -0
- package/dist/solutions-components/p-865a9a2b.js +6 -0
- package/dist/solutions-components/p-8674e740.js +11 -0
- package/dist/solutions-components/p-86a8cf0e.js +11 -0
- package/dist/solutions-components/p-8810ef92.js +11 -0
- package/dist/solutions-components/p-8959c8fb.entry.js +6 -0
- package/dist/solutions-components/p-896c9644.js +36 -0
- package/dist/solutions-components/p-89a0889f.js +21 -0
- package/dist/solutions-components/p-8ad54f5c.js +6 -0
- package/dist/solutions-components/p-8e337f80.entry.js +6 -0
- package/dist/solutions-components/p-8f6e0ae5.entry.js +6 -0
- package/dist/solutions-components/p-8f760a96.js +11 -0
- package/dist/solutions-components/p-8fd36ce2.js +6 -0
- package/dist/solutions-components/p-937f5a14.js +6 -0
- package/dist/solutions-components/p-968a6fd8.entry.js +6 -0
- package/dist/solutions-components/p-96e9c88b.js +6 -0
- package/dist/solutions-components/p-972fd6e2.js +11 -0
- package/dist/solutions-components/p-97f0e1b6.js +22 -0
- package/dist/solutions-components/p-996a9b86.js +6 -0
- package/dist/solutions-components/p-997ed04c.js +6 -0
- package/dist/solutions-components/p-9c7d4343.entry.js +29 -0
- package/dist/solutions-components/p-9d495d2d.entry.js +6 -0
- package/dist/solutions-components/p-9db9645e.js +12 -0
- package/dist/solutions-components/p-9f11bcc0.js +6 -0
- package/dist/solutions-components/p-9f27fdfb.js +6 -0
- package/dist/solutions-components/p-9f635891.js +17 -0
- package/dist/solutions-components/p-9fdd8168.entry.js +11 -0
- package/dist/solutions-components/p-a008937e.entry.js +6 -0
- package/dist/solutions-components/p-a24e5541.js +6 -0
- package/dist/solutions-components/p-a25bbcc1.js +11 -0
- package/dist/solutions-components/p-a520fedd.js +6 -0
- package/dist/solutions-components/p-a5f1bbe9.js +6 -0
- package/dist/solutions-components/p-a87405cb.entry.js +11 -0
- package/dist/solutions-components/p-ab96dd27.entry.js +6 -0
- package/dist/solutions-components/p-abd5ccf9.entry.js +11 -0
- package/dist/solutions-components/p-ac77e72f.js +6 -0
- package/dist/solutions-components/p-ac94e77f.js +16 -0
- package/dist/solutions-components/p-ad5e5e4d.entry.js +11 -0
- package/dist/solutions-components/p-afdc6bb2.entry.js +21 -0
- package/dist/solutions-components/p-b0a4644b.js +6 -0
- package/dist/solutions-components/p-b5bfe190.js +16 -0
- package/dist/solutions-components/p-b5e4046b.entry.js +6 -0
- package/dist/solutions-components/p-b85be429.js +11 -0
- package/dist/solutions-components/p-b965c059.entry.js +16 -0
- package/dist/solutions-components/p-bb53e532.js +6 -0
- package/dist/solutions-components/p-bb8e3add.entry.js +11 -0
- package/dist/solutions-components/p-bc82830a.js +6 -0
- package/dist/solutions-components/p-bcf20616.entry.js +6 -0
- package/dist/solutions-components/p-bdcf99c0.js +6 -0
- package/dist/solutions-components/p-bfd3d428.js +11 -0
- package/dist/solutions-components/p-c02351ae.entry.js +11 -0
- package/dist/solutions-components/p-c0c5c7a9.js +6 -0
- package/dist/solutions-components/p-c151a297.entry.js +6 -0
- package/dist/solutions-components/p-c4a44f66.js +6 -0
- package/dist/solutions-components/p-c6be0487.entry.js +6 -0
- package/dist/solutions-components/p-c757c37b.js +6 -0
- package/dist/solutions-components/p-c791e836.entry.js +6 -0
- package/dist/solutions-components/p-c8260cf0.js +145 -0
- package/dist/solutions-components/p-c8d3207e.js +6 -0
- package/dist/solutions-components/p-c95dcdf7.entry.js +17 -0
- package/dist/solutions-components/p-c9653aec.js +6 -0
- package/dist/solutions-components/p-ca37a0ef.entry.js +16 -0
- package/dist/solutions-components/p-ca98f99a.js +11 -0
- package/dist/solutions-components/p-cbe166fc.entry.js +6 -0
- package/dist/solutions-components/p-cce71e60.entry.js +11 -0
- package/dist/solutions-components/p-cd190ff9.js +6 -0
- package/dist/solutions-components/p-cf5d4ed0.entry.js +11 -0
- package/dist/solutions-components/p-d0e73f95.entry.js +11 -0
- package/dist/solutions-components/p-d0ebefa0.entry.js +11 -0
- package/dist/solutions-components/p-d13f6b3a.entry.js +6 -0
- package/dist/solutions-components/p-d242a8a5.js +11 -0
- package/dist/solutions-components/p-d2b66bd2.js +11 -0
- package/dist/solutions-components/p-d62b99ff.entry.js +6 -0
- package/dist/solutions-components/p-d893cddf.entry.js +11 -0
- package/dist/solutions-components/p-db50226e.js +11 -0
- package/dist/solutions-components/p-dcc5f283.entry.js +6 -0
- package/dist/solutions-components/p-dd3e8920.entry.js +6 -0
- package/dist/solutions-components/p-deb3adb8.js +6 -0
- package/dist/solutions-components/p-df73649e.entry.js +6 -0
- package/dist/solutions-components/p-e2c898f9.entry.js +24 -0
- package/dist/solutions-components/p-e2efd3ac.entry.js +11 -0
- package/dist/solutions-components/p-e64a3cc4.entry.js +11 -0
- package/dist/solutions-components/p-e6e50975.js +11 -0
- package/dist/solutions-components/p-e96d0b39.js +6 -0
- package/dist/solutions-components/p-eab95aa4.entry.js +6 -0
- package/dist/solutions-components/p-ead4a5f5.entry.js +6 -0
- package/dist/solutions-components/p-ebf59857.js +11 -0
- package/dist/solutions-components/p-ebf82ce0.js +21 -0
- package/dist/solutions-components/p-ec843a3e.js +6 -0
- package/dist/solutions-components/p-edb1e0b4.entry.js +17 -0
- package/dist/solutions-components/p-ee457c15.js +489 -0
- package/dist/solutions-components/p-ee81a7c3.js +6 -0
- package/dist/solutions-components/p-eeaed243.js +11 -0
- package/dist/solutions-components/p-f1822d63.js +6 -0
- package/dist/solutions-components/p-f22a4439.js +21 -0
- package/dist/solutions-components/p-f2e68b62.entry.js +6 -0
- package/dist/solutions-components/p-f4456214.js +6 -0
- package/dist/solutions-components/p-f50a294b.js +11 -0
- package/dist/solutions-components/p-f6e10506.js +11 -0
- package/dist/solutions-components/p-f9475704.js +6 -0
- package/dist/solutions-components/p-fc6313ba.entry.js +11 -0
- package/dist/solutions-components/p-fc79eaaf.js +6 -0
- package/dist/solutions-components/p-fcb11407.entry.js +11 -0
- package/dist/solutions-components/p-fd6f2ba3.js +6 -0
- package/dist/solutions-components/p-fe9d6d06.js +11 -0
- package/dist/solutions-components/p-ff8f475a.entry.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/preact.d.ts +27 -3
- package/package.json +2 -3
- package/dist/cjs/ExpandToggle-da591f01.js +0 -118
- package/dist/cjs/FloatingArrow-a27ad9b2.js +0 -50
- package/dist/cjs/Heading-bd401e0a.js +0 -25
- package/dist/cjs/Validation-b02c6710.js +0 -20
- package/dist/cjs/_commonjsHelpers-480c2e77.js +0 -47
- package/dist/cjs/app-globals-056e11bb.js +0 -69
- package/dist/cjs/ar-bec1adeb.js +0 -105
- package/dist/cjs/array-6ea3edb8.js +0 -17
- package/dist/cjs/bg-e1afda53.js +0 -83
- package/dist/cjs/browser-d08a5f99.js +0 -23
- package/dist/cjs/bs-d14ff0d3.js +0 -52
- package/dist/cjs/ca-10ee7960.js +0 -72
- package/dist/cjs/calcite-input-time-picker-bb2db82c.js +0 -1850
- package/dist/cjs/common-e6e9f7d6.js +0 -38
- package/dist/cjs/component-ac7c3bd8.js +0 -33
- package/dist/cjs/conditionalSlot-9d7b60d1.js +0 -63
- package/dist/cjs/cs-5d5113c9.js +0 -148
- package/dist/cjs/da-b9b48fb6.js +0 -67
- package/dist/cjs/date-9de4dd6f.js +0 -261
- package/dist/cjs/de-2e3205ac.js +0 -92
- package/dist/cjs/de-at-28bea0b1.js +0 -91
- package/dist/cjs/de-ch-376dd4c7.js +0 -91
- package/dist/cjs/debounce-30afab47.js +0 -496
- package/dist/cjs/dom-c9c2c835.js +0 -1087
- package/dist/cjs/downloadUtils-dd787ddf.js +0 -3166
- package/dist/cjs/el-98aab056.js +0 -67
- package/dist/cjs/en-au-e3c99f1e.js +0 -67
- package/dist/cjs/en-ca-32f77575.js +0 -66
- package/dist/cjs/en-gb-7f5e80a9.js +0 -70
- package/dist/cjs/es-9899072a.js +0 -67
- package/dist/cjs/es-mx-e33cab75.js +0 -66
- package/dist/cjs/esri-loader-ce6c3d3d.js +0 -303
- package/dist/cjs/et-b55f74e1.js +0 -93
- package/dist/cjs/fi-aa10ef36.js +0 -116
- package/dist/cjs/filter-b524f88d.js +0 -765
- package/dist/cjs/floating-ui-984cc970.js +0 -1966
- package/dist/cjs/focusTrapComponent-faae7d7e.js +0 -1028
- package/dist/cjs/form-fed676d6.js +0 -316
- package/dist/cjs/fr-52b860d8.js +0 -69
- package/dist/cjs/fr-ch-665d488a.js +0 -67
- package/dist/cjs/guid-ae73cd27.js +0 -26
- package/dist/cjs/he-e572f72c.js +0 -106
- package/dist/cjs/helpers-b014d9a9.js +0 -906
- package/dist/cjs/hi-d1bf5a03.js +0 -66
- package/dist/cjs/hr-7dbc9a12.js +0 -81
- package/dist/cjs/html2canvas-27a2547c.js +0 -7842
- package/dist/cjs/hu-dcb326c9.js +0 -89
- package/dist/cjs/id-9ac473e6.js +0 -67
- package/dist/cjs/index-105cf2b9.js +0 -2553
- package/dist/cjs/index-ae65e42f.js +0 -201
- package/dist/cjs/index.es-29fa176d.js +0 -10811
- package/dist/cjs/interactive-3ab7044d.js +0 -144
- package/dist/cjs/it-5ee42edc.js +0 -67
- package/dist/cjs/it-ch-54981090.js +0 -67
- package/dist/cjs/ja-f090b8db.js +0 -73
- package/dist/cjs/key-c5504030.js +0 -19
- package/dist/cjs/ko-14650b28.js +0 -73
- package/dist/cjs/label-32573e1d.js +0 -186
- package/dist/cjs/languageSwitcher-3870c772.js +0 -58
- package/dist/cjs/languageUtil-0df39c0c.js +0 -69
- package/dist/cjs/loadModules-01306709.js +0 -23
- package/dist/cjs/loadable-5a794992.js +0 -94
- package/dist/cjs/locale-3d0a4bc2.js +0 -161
- package/dist/cjs/locale-4cef466e.js +0 -91
- package/dist/cjs/locale-d237c9d5.js +0 -584
- package/dist/cjs/lt-7d826627.js +0 -98
- package/dist/cjs/lv-397bf143.js +0 -67
- package/dist/cjs/math-318a1646.js +0 -60
- package/dist/cjs/mk-112e247a.js +0 -67
- package/dist/cjs/nb-0a4d7d1f.js +0 -68
- package/dist/cjs/nl-cfcabe91.js +0 -68
- package/dist/cjs/observers-db4527e4.js +0 -53
- package/dist/cjs/openCloseComponent-19a769d0.js +0 -92
- package/dist/cjs/pl-c3e61022.js +0 -115
- package/dist/cjs/popupUtils-6be3588c.js +0 -96
- package/dist/cjs/pt-6733c97d.js +0 -68
- package/dist/cjs/pt-br-6e06cf69.js +0 -66
- package/dist/cjs/publicNotificationStore-e790601d.js +0 -47
- package/dist/cjs/purify-4791ecca.js +0 -1712
- package/dist/cjs/resources-02142b99.js +0 -2062
- package/dist/cjs/resources-1d88e9d6.js +0 -39
- package/dist/cjs/resources-3e593312.js +0 -52
- package/dist/cjs/resources-555dae0e.js +0 -29
- package/dist/cjs/resources-7e540eac.js +0 -26
- package/dist/cjs/resources-9447c777.js +0 -32
- package/dist/cjs/resources-baef554d.js +0 -27
- package/dist/cjs/resources-c4fe74a9.js +0 -23
- package/dist/cjs/resources-dd8ff1b4.js +0 -20
- package/dist/cjs/restHelpersGet-2ed729ab.js +0 -972
- package/dist/cjs/ro-60cdf606.js +0 -67
- package/dist/cjs/ru-bf392182.js +0 -127
- package/dist/cjs/shared-list-render-410f421e.js +0 -365
- package/dist/cjs/sk-cf9539a5.js +0 -149
- package/dist/cjs/sl-1d297b4f.js +0 -169
- package/dist/cjs/solution-resource-97186521.js +0 -141
- package/dist/cjs/solution-store-67bcf552.js +0 -1344
- package/dist/cjs/sortableComponent-c111c036.js +0 -2742
- package/dist/cjs/sr-f0c4f00a.js +0 -102
- package/dist/cjs/sv-620bebec.js +0 -72
- package/dist/cjs/t9n-993a84de.js +0 -100
- package/dist/cjs/th-07dd0e43.js +0 -66
- package/dist/cjs/throttle-aeeb1b4d.js +0 -75
- package/dist/cjs/time-ff8d50c7.js +0 -289
- package/dist/cjs/tr-42e14ef4.js +0 -67
- package/dist/cjs/uk-398a1806.js +0 -105
- package/dist/cjs/utils-3940c852.js +0 -105
- package/dist/cjs/utils-65d812ea.js +0 -62
- package/dist/cjs/utils-ac836e7a.js +0 -130
- package/dist/cjs/utils-cca83dd0.js +0 -221
- package/dist/cjs/vi-860b42fc.js +0 -71
- package/dist/cjs/zh-cn-a89ecb38.js +0 -95
- package/dist/cjs/zh-hk-affe0bef.js +0 -72
- package/dist/cjs/zh-tw-ca333ffb.js +0 -93
- package/dist/components/_commonjsHelpers.js +0 -41
- package/dist/esm/ExpandToggle-b6eb575e.js +0 -110
- package/dist/esm/FloatingArrow-93d6d18b.js +0 -48
- package/dist/esm/Heading-94780f62.js +0 -22
- package/dist/esm/Validation-ea480265.js +0 -18
- package/dist/esm/_commonjsHelpers-0f74c230.js +0 -41
- package/dist/esm/app-globals-c4e206db.js +0 -67
- package/dist/esm/ar-7633f382.js +0 -103
- package/dist/esm/array-396bdf3c.js +0 -15
- package/dist/esm/bg-5ccf3b3b.js +0 -81
- package/dist/esm/browser-d60104bd.js +0 -21
- package/dist/esm/bs-59e59ad4.js +0 -50
- package/dist/esm/ca-d8d2bc89.js +0 -70
- package/dist/esm/calcite-input-time-picker-dbf2079e.js +0 -1847
- package/dist/esm/common-06bcfe81.js +0 -36
- package/dist/esm/component-edd2c3cd.js +0 -30
- package/dist/esm/conditionalSlot-12c4fcfb.js +0 -60
- package/dist/esm/cs-3d744598.js +0 -146
- package/dist/esm/da-ad0f6f82.js +0 -65
- package/dist/esm/date-0c026a8b.js +0 -245
- package/dist/esm/de-at-8de8843c.js +0 -89
- package/dist/esm/de-ch-03a1c027.js +0 -89
- package/dist/esm/de-d6966c3f.js +0 -90
- package/dist/esm/debounce-229b1a22.js +0 -487
- package/dist/esm/dom-38c6f027.js +0 -1056
- package/dist/esm/downloadUtils-25aa808f.js +0 -3160
- package/dist/esm/el-7130c722.js +0 -65
- package/dist/esm/en-au-005d4093.js +0 -65
- package/dist/esm/en-ca-1b54d10b.js +0 -64
- package/dist/esm/en-gb-ac1ad784.js +0 -68
- package/dist/esm/es-d6f91b06.js +0 -65
- package/dist/esm/es-mx-26a8411a.js +0 -64
- package/dist/esm/esri-loader-1b324844.js +0 -301
- package/dist/esm/et-1f7ea62f.js +0 -91
- package/dist/esm/fi-df7f8ad0.js +0 -114
- package/dist/esm/filter-ce763acf.js +0 -763
- package/dist/esm/floating-ui-41dfe3f1.js +0 -1958
- package/dist/esm/focusTrapComponent-47ddce58.js +0 -1023
- package/dist/esm/form-50dcd52e.js +0 -307
- package/dist/esm/fr-14ad3cd0.js +0 -67
- package/dist/esm/fr-ch-328d9a38.js +0 -65
- package/dist/esm/guid-b75a5f7b.js +0 -24
- package/dist/esm/he-a30ddc93.js +0 -104
- package/dist/esm/helpers-f9256189.js +0 -880
- package/dist/esm/hi-5d914f70.js +0 -64
- package/dist/esm/hr-232bce19.js +0 -79
- package/dist/esm/html2canvas-7f5bb1cc.js +0 -7840
- package/dist/esm/hu-cb9fa8dc.js +0 -87
- package/dist/esm/id-28662048.js +0 -65
- package/dist/esm/index-164d485a.js +0 -2519
- package/dist/esm/index-477ea182.js +0 -199
- package/dist/esm/index.es-a16c9db4.js +0 -10725
- package/dist/esm/interactive-39bf5602.js +0 -139
- package/dist/esm/it-7fd85aa4.js +0 -65
- package/dist/esm/it-ch-ab98adcc.js +0 -65
- package/dist/esm/ja-eaf04e42.js +0 -71
- package/dist/esm/key-c83d835f.js +0 -16
- package/dist/esm/ko-d029100b.js +0 -71
- package/dist/esm/label-b4cea72e.js +0 -179
- package/dist/esm/languageSwitcher-068998b1.js +0 -55
- package/dist/esm/languageUtil-035e7728.js +0 -66
- package/dist/esm/loadModules-7a5f1022.js +0 -21
- package/dist/esm/loadable-37e7fbd6.js +0 -89
- package/dist/esm/locale-4cab280d.js +0 -86
- package/dist/esm/locale-904407bf.js +0 -571
- package/dist/esm/locale-bcbea4ef.js +0 -156
- package/dist/esm/lt-4c10b6c4.js +0 -96
- package/dist/esm/lv-d2afd652.js +0 -65
- package/dist/esm/math-efada7a9.js +0 -54
- package/dist/esm/mk-ee9a3d11.js +0 -65
- package/dist/esm/nb-b9ec8eb4.js +0 -66
- package/dist/esm/nl-8e5bf9af.js +0 -66
- package/dist/esm/observers-d04d1da9.js +0 -51
- package/dist/esm/openCloseComponent-9f90f493.js +0 -90
- package/dist/esm/pl-1379aa6d.js +0 -113
- package/dist/esm/popupUtils-af124b47.js +0 -94
- package/dist/esm/pt-8494ce08.js +0 -66
- package/dist/esm/pt-br-54686d6b.js +0 -64
- package/dist/esm/publicNotificationStore-223faed2.js +0 -45
- package/dist/esm/purify-dce4d86b.js +0 -1710
- package/dist/esm/resources-00983bd3.js +0 -48
- package/dist/esm/resources-20074cb1.js +0 -24
- package/dist/esm/resources-3709252d.js +0 -35
- package/dist/esm/resources-61b0cdad.js +0 -2051
- package/dist/esm/resources-8834f920.js +0 -28
- package/dist/esm/resources-88a48c5c.js +0 -20
- package/dist/esm/resources-9b7e72d5.js +0 -20
- package/dist/esm/resources-abd87b42.js +0 -24
- package/dist/esm/resources-b0e2b809.js +0 -22
- package/dist/esm/restHelpersGet-2a85d395.js +0 -959
- package/dist/esm/ro-63586962.js +0 -65
- package/dist/esm/ru-ec1f486a.js +0 -125
- package/dist/esm/shared-list-render-ede061c1.js +0 -343
- package/dist/esm/sk-d7d87eb9.js +0 -147
- package/dist/esm/sl-2a7d999b.js +0 -167
- package/dist/esm/solution-resource-77aa99c8.js +0 -138
- package/dist/esm/solution-store-13ddaf1c.js +0 -1342
- package/dist/esm/sortableComponent-d7cd11a3.js +0 -2738
- package/dist/esm/sr-a3be308c.js +0 -100
- package/dist/esm/sv-890688fe.js +0 -70
- package/dist/esm/t9n-436fb2b1.js +0 -95
- package/dist/esm/th-ae3d67ae.js +0 -64
- package/dist/esm/throttle-9ab70933.js +0 -73
- package/dist/esm/time-29001694.js +0 -274
- package/dist/esm/tr-260f6f88.js +0 -65
- package/dist/esm/uk-d84b6056.js +0 -103
- package/dist/esm/utils-78fe6e5b.js +0 -121
- package/dist/esm/utils-a15078af.js +0 -203
- package/dist/esm/utils-d2b2562a.js +0 -95
- package/dist/esm/utils-ef0ff036.js +0 -51
- package/dist/esm/vi-f3eb25b9.js +0 -69
- package/dist/esm/zh-cn-d6fc0582.js +0 -93
- package/dist/esm/zh-hk-285977d0.js +0 -70
- package/dist/esm/zh-tw-d83c5c9d.js +0 -91
- package/dist/solutions-components/p-00524417.entry.js +0 -6
- package/dist/solutions-components/p-01f7f1a2.js +0 -6
- package/dist/solutions-components/p-028fba9d.js +0 -6
- package/dist/solutions-components/p-02fa1945.entry.js +0 -11
- package/dist/solutions-components/p-033522a7.entry.js +0 -11
- package/dist/solutions-components/p-04923112.entry.js +0 -17
- package/dist/solutions-components/p-05cb50f9.js +0 -11
- package/dist/solutions-components/p-070d486d.entry.js +0 -17
- package/dist/solutions-components/p-076673a8.js +0 -6
- package/dist/solutions-components/p-08651773.entry.js +0 -11
- package/dist/solutions-components/p-0883bc7b.js +0 -6
- package/dist/solutions-components/p-08cca1ba.entry.js +0 -6
- package/dist/solutions-components/p-09312a7a.entry.js +0 -6
- package/dist/solutions-components/p-0c6d2898.entry.js +0 -6
- package/dist/solutions-components/p-0cb5f2ee.js +0 -6
- package/dist/solutions-components/p-0d641d14.entry.js +0 -11
- package/dist/solutions-components/p-1065f4fa.js +0 -11
- package/dist/solutions-components/p-12a7d0d1.js +0 -6
- package/dist/solutions-components/p-131bcc7f.entry.js +0 -6
- package/dist/solutions-components/p-13a02132.js +0 -6
- package/dist/solutions-components/p-13f2d901.js +0 -16
- package/dist/solutions-components/p-15a0e7fb.js +0 -6
- package/dist/solutions-components/p-188ed8b6.js +0 -21
- package/dist/solutions-components/p-18f1e8b5.js +0 -6
- package/dist/solutions-components/p-192b6455.js +0 -11
- package/dist/solutions-components/p-1a7cef7b.entry.js +0 -6
- package/dist/solutions-components/p-1ac2125a.entry.js +0 -36
- package/dist/solutions-components/p-1b627c37.js +0 -6
- package/dist/solutions-components/p-1c8cdfeb.entry.js +0 -11
- package/dist/solutions-components/p-1ea5e061.entry.js +0 -12
- package/dist/solutions-components/p-1ee6220e.entry.js +0 -17
- package/dist/solutions-components/p-1f33a29d.js +0 -11
- package/dist/solutions-components/p-1f65ab1e.js +0 -11
- package/dist/solutions-components/p-1fbac542.js +0 -6
- package/dist/solutions-components/p-201a6ea3.js +0 -11
- package/dist/solutions-components/p-20320bf6.entry.js +0 -11
- package/dist/solutions-components/p-206caa2d.entry.js +0 -6
- package/dist/solutions-components/p-212c00e9.entry.js +0 -6
- package/dist/solutions-components/p-23de1b01.entry.js +0 -11
- package/dist/solutions-components/p-26461392.entry.js +0 -11
- package/dist/solutions-components/p-299d1eaf.entry.js +0 -17
- package/dist/solutions-components/p-2a0f52c5.entry.js +0 -6
- package/dist/solutions-components/p-2a546c56.js +0 -6
- package/dist/solutions-components/p-2b0454a0.js +0 -11
- package/dist/solutions-components/p-2b6679d2.entry.js +0 -6
- package/dist/solutions-components/p-2c6b8811.js +0 -18
- package/dist/solutions-components/p-2d72eac3.entry.js +0 -6
- package/dist/solutions-components/p-2eeff59b.js +0 -6
- package/dist/solutions-components/p-2f687975.entry.js +0 -17
- package/dist/solutions-components/p-30480847.entry.js +0 -11
- package/dist/solutions-components/p-30e7ecfa.js +0 -6
- package/dist/solutions-components/p-30edeb79.entry.js +0 -6
- package/dist/solutions-components/p-312c045a.entry.js +0 -11
- package/dist/solutions-components/p-322868ec.js +0 -21
- package/dist/solutions-components/p-32dc5007.entry.js +0 -23
- package/dist/solutions-components/p-36375749.js +0 -6
- package/dist/solutions-components/p-399d795d.js +0 -6
- package/dist/solutions-components/p-3a6a1ce9.entry.js +0 -6
- package/dist/solutions-components/p-3b9e4882.entry.js +0 -6
- package/dist/solutions-components/p-3bb79204.js +0 -6
- package/dist/solutions-components/p-3d324690.entry.js +0 -11
- package/dist/solutions-components/p-3d7d78f3.entry.js +0 -6
- package/dist/solutions-components/p-3dd92f0d.js +0 -17
- package/dist/solutions-components/p-3e5085ae.entry.js +0 -11
- package/dist/solutions-components/p-3e79d77b.entry.js +0 -11
- package/dist/solutions-components/p-3fbfe26a.entry.js +0 -11
- package/dist/solutions-components/p-4000a88a.js +0 -6
- package/dist/solutions-components/p-431d8154.entry.js +0 -6
- package/dist/solutions-components/p-449db954.entry.js +0 -6
- package/dist/solutions-components/p-45263007.entry.js +0 -17
- package/dist/solutions-components/p-465aa7d9.entry.js +0 -6
- package/dist/solutions-components/p-479d1e95.js +0 -6
- package/dist/solutions-components/p-47a97db7.entry.js +0 -11
- package/dist/solutions-components/p-48bef730.js +0 -11
- package/dist/solutions-components/p-495e7b9d.js +0 -11
- package/dist/solutions-components/p-4a030771.entry.js +0 -11
- package/dist/solutions-components/p-4b530f7b.entry.js +0 -6
- package/dist/solutions-components/p-4c5d243f.js +0 -11
- package/dist/solutions-components/p-4ce1ffd8.entry.js +0 -11
- package/dist/solutions-components/p-4d09aa4c.entry.js +0 -6
- package/dist/solutions-components/p-4dcc150d.entry.js +0 -6
- package/dist/solutions-components/p-4efd2af6.entry.js +0 -6
- package/dist/solutions-components/p-4f489e61.js +0 -6
- package/dist/solutions-components/p-511b1c91.entry.js +0 -23
- package/dist/solutions-components/p-52a6d2dc.entry.js +0 -11
- package/dist/solutions-components/p-5320dc25.entry.js +0 -6
- package/dist/solutions-components/p-563a0b20.js +0 -11
- package/dist/solutions-components/p-565e0f0d.entry.js +0 -6
- package/dist/solutions-components/p-5817d78c.js +0 -11
- package/dist/solutions-components/p-58997cc1.entry.js +0 -6
- package/dist/solutions-components/p-5a9a971a.js +0 -11
- package/dist/solutions-components/p-5b228ed7.entry.js +0 -11
- package/dist/solutions-components/p-5ce5a6ae.entry.js +0 -6
- package/dist/solutions-components/p-5f5de955.js +0 -11
- package/dist/solutions-components/p-5f6e7429.entry.js +0 -6
- package/dist/solutions-components/p-5fbfa5e4.entry.js +0 -12
- package/dist/solutions-components/p-602f3e72.js +0 -16
- package/dist/solutions-components/p-6068c1cf.entry.js +0 -22
- package/dist/solutions-components/p-6332fd4e.entry.js +0 -6
- package/dist/solutions-components/p-63466518.entry.js +0 -6
- package/dist/solutions-components/p-63572270.entry.js +0 -6
- package/dist/solutions-components/p-6665fa1f.js +0 -6
- package/dist/solutions-components/p-66bca043.js +0 -145
- package/dist/solutions-components/p-66ff2c3f.js +0 -11
- package/dist/solutions-components/p-680b89db.js +0 -16
- package/dist/solutions-components/p-6aa16b3c.js +0 -6
- package/dist/solutions-components/p-6ce37201.js +0 -11
- package/dist/solutions-components/p-6d520a58.js +0 -12
- package/dist/solutions-components/p-6d93bdfd.entry.js +0 -11
- package/dist/solutions-components/p-6f6deff1.js +0 -6
- package/dist/solutions-components/p-701568c2.entry.js +0 -16
- package/dist/solutions-components/p-7169fadf.js +0 -6
- package/dist/solutions-components/p-71964176.entry.js +0 -11
- package/dist/solutions-components/p-71b65d8a.entry.js +0 -11
- package/dist/solutions-components/p-72849648.js +0 -6
- package/dist/solutions-components/p-75099601.js +0 -6
- package/dist/solutions-components/p-75a758c8.js +0 -6
- package/dist/solutions-components/p-76bd5032.js +0 -11
- package/dist/solutions-components/p-7878534f.entry.js +0 -11
- package/dist/solutions-components/p-792907e2.entry.js +0 -11
- package/dist/solutions-components/p-7b257e2e.js +0 -6
- package/dist/solutions-components/p-7c0fe27e.entry.js +0 -11
- package/dist/solutions-components/p-7c2be8cc.js +0 -11
- package/dist/solutions-components/p-7c2ef952.js +0 -6
- package/dist/solutions-components/p-7d04ff20.js +0 -11
- package/dist/solutions-components/p-7d280d8a.js +0 -7
- package/dist/solutions-components/p-8007ac36.js +0 -11
- package/dist/solutions-components/p-807900ac.js +0 -6
- package/dist/solutions-components/p-80fd6b2e.js +0 -6
- package/dist/solutions-components/p-82e398cb.entry.js +0 -17
- package/dist/solutions-components/p-84546f35.entry.js +0 -6
- package/dist/solutions-components/p-88932d2f.entry.js +0 -11
- package/dist/solutions-components/p-89218b6e.js +0 -6
- package/dist/solutions-components/p-8942f6fa.js +0 -6
- package/dist/solutions-components/p-8dc26294.js +0 -11
- package/dist/solutions-components/p-8ddc7786.js +0 -6
- package/dist/solutions-components/p-905f7e81.entry.js +0 -6
- package/dist/solutions-components/p-906ad47a.entry.js +0 -11
- package/dist/solutions-components/p-91c49d95.entry.js +0 -6
- package/dist/solutions-components/p-928c0b29.entry.js +0 -6
- package/dist/solutions-components/p-94c634ba.js +0 -66
- package/dist/solutions-components/p-954dc86f.entry.js +0 -6
- package/dist/solutions-components/p-9ae4f911.entry.js +0 -6
- package/dist/solutions-components/p-9d3b46e2.js +0 -11
- package/dist/solutions-components/p-9d53e0f2.js +0 -11
- package/dist/solutions-components/p-9f895288.entry.js +0 -6
- package/dist/solutions-components/p-a09daea3.entry.js +0 -6
- package/dist/solutions-components/p-a17d0d80.entry.js +0 -6
- package/dist/solutions-components/p-a3132356.entry.js +0 -6
- package/dist/solutions-components/p-a4149333.js +0 -11
- package/dist/solutions-components/p-a5088b70.js +0 -6
- package/dist/solutions-components/p-a55b766f.entry.js +0 -6
- package/dist/solutions-components/p-a82f35c9.js +0 -6
- package/dist/solutions-components/p-a886ab7f.entry.js +0 -6
- package/dist/solutions-components/p-acb9b78e.js +0 -6
- package/dist/solutions-components/p-ad98c346.js +0 -6
- package/dist/solutions-components/p-b1376c75.js +0 -489
- package/dist/solutions-components/p-b15fda15.js +0 -6
- package/dist/solutions-components/p-b3ad3ac1.entry.js +0 -6
- package/dist/solutions-components/p-b3eb3302.js +0 -17
- package/dist/solutions-components/p-b4103233.js +0 -6
- package/dist/solutions-components/p-b4d85b2c.js +0 -6
- package/dist/solutions-components/p-b503d01d.js +0 -49
- package/dist/solutions-components/p-b5acfcd8.entry.js +0 -6
- package/dist/solutions-components/p-b7337228.entry.js +0 -11
- package/dist/solutions-components/p-ba7d55ea.js +0 -11
- package/dist/solutions-components/p-bc665a3a.js +0 -6
- package/dist/solutions-components/p-bd06bae0.entry.js +0 -11
- package/dist/solutions-components/p-bdbfe9f1.js +0 -6
- package/dist/solutions-components/p-bdd77f17.js +0 -61
- package/dist/solutions-components/p-bdea5320.js +0 -11
- package/dist/solutions-components/p-be8ef276.js +0 -36
- package/dist/solutions-components/p-beba1804.entry.js +0 -11
- package/dist/solutions-components/p-bf6b4eb7.entry.js +0 -6
- package/dist/solutions-components/p-c273ab7a.entry.js +0 -12
- package/dist/solutions-components/p-c375881a.entry.js +0 -21
- package/dist/solutions-components/p-c51f2880.entry.js +0 -11
- package/dist/solutions-components/p-c94d2cec.js +0 -11
- package/dist/solutions-components/p-c97eebe2.js +0 -6
- package/dist/solutions-components/p-caa7580c.js +0 -6
- package/dist/solutions-components/p-cc859d2b.entry.js +0 -16
- package/dist/solutions-components/p-cd1ca3a6.entry.js +0 -47
- package/dist/solutions-components/p-cde1d741.js +0 -27
- package/dist/solutions-components/p-d36f2db6.entry.js +0 -11
- package/dist/solutions-components/p-d3ba36ce.entry.js +0 -11
- package/dist/solutions-components/p-d599cfa8.entry.js +0 -6
- package/dist/solutions-components/p-d5ce0c2b.js +0 -11
- package/dist/solutions-components/p-d67f3b6e.entry.js +0 -11
- package/dist/solutions-components/p-d6c662dc.js +0 -6
- package/dist/solutions-components/p-d742b915.entry.js +0 -29
- package/dist/solutions-components/p-d7b02d3a.js +0 -22
- package/dist/solutions-components/p-d9826b1d.entry.js +0 -11
- package/dist/solutions-components/p-db53bde3.js +0 -11
- package/dist/solutions-components/p-dc58d9ec.js +0 -6
- package/dist/solutions-components/p-dd67e38a.entry.js +0 -6
- package/dist/solutions-components/p-ddd1cc66.js +0 -6
- package/dist/solutions-components/p-de9522e9.js +0 -11
- package/dist/solutions-components/p-dfad61a8.entry.js +0 -24
- package/dist/solutions-components/p-e10ca475.entry.js +0 -11
- package/dist/solutions-components/p-e14e6c12.entry.js +0 -6
- package/dist/solutions-components/p-e29a378e.entry.js +0 -6
- package/dist/solutions-components/p-e2d0ad1b.js +0 -6
- package/dist/solutions-components/p-e2eb93d3.js +0 -6
- package/dist/solutions-components/p-e46910c5.js +0 -6
- package/dist/solutions-components/p-e61c56fa.entry.js +0 -11
- package/dist/solutions-components/p-e7afc0a8.js +0 -11
- package/dist/solutions-components/p-e813faf8.entry.js +0 -11
- package/dist/solutions-components/p-e822a96b.js +0 -6
- package/dist/solutions-components/p-e85ba21c.js +0 -6
- package/dist/solutions-components/p-e9700988.entry.js +0 -6
- package/dist/solutions-components/p-e9788173.entry.js +0 -11
- package/dist/solutions-components/p-e9828fd0.js +0 -6
- package/dist/solutions-components/p-eab00813.js +0 -8
- package/dist/solutions-components/p-ebd6afea.entry.js +0 -11
- package/dist/solutions-components/p-ebdd6c63.js +0 -6
- package/dist/solutions-components/p-ede2a93f.js +0 -6
- package/dist/solutions-components/p-ef1cf76c.entry.js +0 -6
- package/dist/solutions-components/p-efec6ba5.entry.js +0 -11
- package/dist/solutions-components/p-f0c7d964.js +0 -11
- package/dist/solutions-components/p-f232f765.js +0 -6
- package/dist/solutions-components/p-f313b45b.entry.js +0 -6
- package/dist/solutions-components/p-f6be44e6.entry.js +0 -6
- package/dist/solutions-components/p-f8015a1b.js +0 -6
- package/dist/solutions-components/p-f8a6785d.entry.js +0 -6
- package/dist/solutions-components/p-fb7a5f6e.js +0 -21
- package/dist/solutions-components/p-fc1367d9.entry.js +0 -6
- package/dist/solutions-components/p-fc2fb61b.js +0 -6
- package/dist/solutions-components/p-fc9fe5fb.js +0 -11
- package/dist/solutions-components/p-fdedce1c.entry.js +0 -11
- package/dist/solutions-components/p-fe74de01.js +0 -6
@@ -1,23 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{h as t,r as i,c as e,H as s,g as a,f as n}from"./p-7d280d8a.js";import{f as l}from"./p-bdea5320.js";import{z as o,A as h,i as r,t as c,r as d}from"./p-3dd92f0d.js";import{d as p,f as u,c as m,r as b,a as g,F as f}from"./p-db53bde3.js";import{s as v,c as x,a as k,d as y,H as w}from"./p-1f33a29d.js";import{g as $}from"./p-5a9a971a.js";import{c as C,u as _,d as z,I}from"./p-6d520a58.js";import{c as M,d as V,g as H}from"./p-9d53e0f2.js";import{b as S,c as L,s as D,a as A}from"./p-a4149333.js";import{c as E,d as j,n as P}from"./p-13f2d901.js";import{c as F}from"./p-1f65ab1e.js";import{o as T}from"./p-2b0454a0.js";import{c as X,s as O,d as R,u as W}from"./p-05cb50f9.js";import{i as B,h as G,C as N,b as U,c as Z,d as Y,e as K,f as q}from"./p-b3eb3302.js";import{g as J}from"./p-495e7b9d.js";import{V as Q}from"./p-c94d2cec.js";import{d as tt}from"./p-a82f35c9.js";import{i as it}from"./p-e7afc0a8.js";import{d as et,c as st}from"./p-f0c7d964.js";import"./p-7c2be8cc.js";import"./p-ba7d55ea.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v2.4.0
|
11
|
-
*/const at="x-button";function nt({disabled:i,key:e,label:s,onClick:a,ref:n,scale:l}){return t("button",{"aria-label":s,class:at,disabled:i,key:e,onClick:a,tabIndex:-1,type:"button",ref:n},t("calcite-icon",{icon:"x",scale:J(l)}))}const lt="combobox-item-",ot="combobox-chip-",ht="combobox-label-",rt="combobox-listbox-",ct="combobox-input-",dt=class{constructor(t){i(this,t),this.calciteComboboxChange=e(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=e(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipClose=e(this,"calciteComboboxChipClose",6),this.calciteComboboxBeforeClose=e(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=e(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=e(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=e(this,"calciteComboboxOpen",6),this.placement=p,this.internalValueChangeFlag=!1,this.textInput=null,this.mutationObserver=F("mutation",(()=>this.updateItems())),this.resizeObserver=F("resize",(()=>{this.setMaxScrollerHeight(),this.refreshSelectionDisplay()})),this.guid=$(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?u(i,t):null},this.getValue=()=>{const t=this.selectedItems.map((t=>{var i;return null===(i=null==t?void 0:t.value)||void 0===i?void 0:i.toString()}));return(null==t?void 0:t.length)?t.length>1?t:t[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keyDownHandler=t=>{const{key:i}=t;switch(i){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):this.open?(this.open=!1,t.preventDefault()):!this.allowCustomValues&&this.text&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1));break;case"ArrowLeft":this.previousChip(),t.preventDefault();break;case"ArrowRight":this.nextChip(),t.preventDefault();break;case"ArrowUp":t.preventDefault(),this.open&&this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":t.preventDefault(),this.open?this.shiftActiveItemIndex(1):(this.open=!0,this.ensureRecentSelectedItemIsActive()),this.comboboxInViewport()||this.el.scrollIntoView();break;case" ":this.textInput.value||(this.open||(this.open=!0,this.shiftActiveItemIndex(1)),t.preventDefault());break;case"Home":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(this.filteredItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.clearDisabled||this.open||this.clearValue(),this.open=!1,t.preventDefault();break;case"Enter":this.activeItemIndex>-1?(this.toggleSelection(this.filteredItems[this.activeItemIndex]),t.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),t.preventDefault()):this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):t.defaultPrevented||v(this)&&t.preventDefault();break;case"Delete":case"Backspace":if("single"===this.selectionDisplay||"fit"===this.selectionDisplay&&this.selectedHiddenChipsCount>0)return;this.activeChipIndex>-1?(t.preventDefault(),this.removeActiveChip()):!this.text&&this.isMulti()&&(t.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:t,open:i,referenceEl:e}=this;if(!t||!i)return;await this.reposition(!0);const s=this.getMaxScrollerHeight();t.style.maxHeight=s>0?`${s}px`:"",t.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipCloseHandler=t=>{this.open=!1;const i=this.items.find((i=>i===t));i&&this.toggleSelection(i,!1),this.calciteComboboxChipClose.emit()},this.clickHandler=t=>{const i=t.composedPath();return i.some((t=>"CALCITE-CHIP"===t.tagName))?(this.open=!1,void t.preventDefault()):i.some((t=>{var i;return null===(i=t.classList)||void 0===i?void 0:i.contains(at)}))?(this.clearValue(),void t.preventDefault()):(this.open=!this.open,void this.ensureRecentSelectedItemIsActive())},this.refreshSelectionDisplay=async()=>{if(await S(this),B(this.selectionMode))return;if(!this.textInput)return;const{allSelectedIndicatorChipEl:t,chipContainerEl:i,selectionDisplay:e,placeholder:s,selectedIndicatorChipEl:a,textInput:n}=this,l=parseInt(getComputedStyle(i).gap.replace("px","")),r=o(i),{fontSize:c,fontFamily:d}=getComputedStyle(n),p=(h(s,`${c} ${d}`)||parseInt("48px"))+l,u=o(t),m=o(a),b=Math.max(u,m);if(this.setCompactSelectionDisplay({chipContainerElGap:l,chipContainerElWidth:r,inputWidth:p,largestSelectedIndicatorChipWidth:b}),"fit"===e){const t=Array.from(this.el.shadowRoot.querySelectorAll("calcite-chip")).filter((t=>t.closable)),i=Math.round(r-((this.selectedHiddenChipsCount>0?m:0)+l+p+l));this.refreshChipDisplay({availableHorizontalChipElSpace:i,chipContainerElGap:l,chipEls:t}),this.setVisibleAndHiddenChips(t)}},this.setFloatingEl=t=>{this.floatingEl=t,m(this,this.referenceEl,this.floatingEl)},this.setContainerEl=t=>{this.resizeObserver.observe(t),this.listContainerEl=t,this.transitionEl=t},this.setChipContainerEl=t=>{this.resizeObserver.observe(t),this.chipContainerEl=t},this.setReferenceEl=t=>{this.referenceEl=t,m(this,this.referenceEl,this.floatingEl)},this.setAllSelectedIndicatorChipEl=t=>{this.allSelectedIndicatorChipEl=t},this.setSelectedIndicatorChipEl=t=>{this.selectedIndicatorChipEl=t},this.inputHandler=t=>{const i=t.target.value;this.text=i,this.filterItems(i),i&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const t=(t,i)=>t&&i.some((({label:i,value:e})=>t.tagName===q?i===t.label:e===t.value&&i===t.textLabel));return tt((i=>{const e=l(this.data,i);this.getItemsAndGroups().forEach((i=>{const s=!t(i,e);i.hidden=s;const[a,n]=i.ancestors;(t(a,e)||t(n,e))&&(i.hidden=!1),s||i.ancestors.forEach((t=>t.hidden=!1))})),this.filteredItems=this.getFilteredItems(),this.calciteComboboxFilterChange.emit()}),100)})(),this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()},this.emitComboboxChange=tt(this.internalComboboxChangeEvent,0),this.getSelectedItems=()=>{if(!this.isMulti()){const t=this.items.find((({selected:t})=>t));return t?[t]:[]}return this.items.filter((t=>t.selected&&("ancestors"!==this.selectionMode||!G(t)))).sort(((t,i)=>{const e=this.selectedItems.indexOf(t),s=this.selectedItems.indexOf(i);return e>-1&&s>-1?e-s:s-e}))},this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.filteredItems=this.getFilteredItems(),this.needsIcon=this.getNeedsIcon(),this.items.forEach((t=>{t.selectionMode=this.selectionMode,t.scale=this.scale})),this.allowCustomValues||this.setMaxScrollerHeight(),this.groupItems.forEach(((t,i,e)=>{0===i&&(t.afterEmptyGroup=!1);const s=e[i+1];s&&(s.afterEmptyGroup=0===t.children.length)}))},this.scrollToActiveItem=()=>{const t=this.filteredItems[this.activeItemIndex];if(!t)return;const i=this.calculateSingleItemHeight(t),{offsetHeight:e,scrollTop:s}=this.listContainerEl;e+s<t.offsetTop+i?this.listContainerEl.scrollTop=t.offsetTop-e+i:t.offsetTop<s&&(this.listContainerEl.scrollTop=t.offsetTop)},this.comboboxFocusHandler=()=>{var t;this.disabled||null===(t=this.textInput)||void 0===t||t.focus()},this.clearDisabled=!1,this.selectionDisplay="all",this.open=!1,this.disabled=!1,this.form=void 0,this.label=void 0,this.placeholder=void 0,this.placeholderIcon=void 0,this.placeholderIconFlipRtl=!1,this.maxItems=0,this.validationMessage=void 0,this.validationIcon=void 0,this.name=void 0,this.allowCustomValues=void 0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multiple",this.scale="m",this.status="idle",this.value=null,this.flipPlacements=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedItems=[],this.filteredItems=[],this.items=[],this.groupItems=[],this.needsIcon=void 0,this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.compactSelectionDisplay=!1,this.selectedHiddenChipsCount=0,this.selectedVisibleChipsCount=0,this.text="",this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){T(this),this.disabled?this.open=!1:this.setMaxScrollerHeight()}handleDisabledChange(t){t||(this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems()}valueHandler(t){if(!this.internalValueChangeFlag){const i=this.getItems();Array.isArray(t)?i.forEach((i=>i.selected=t.includes(i.value))):i.forEach(t?i=>i.selected=t===i.value:t=>t.selected=!1),this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}documentClickHandler(t){if(this.disabled||!r(t))return;const i=t.composedPath();i.includes(this.el)||i.includes(this.referenceEl)||(!this.allowCustomValues&&this.textInput.value&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1)),this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),this.open=!1)}calciteComboboxItemChangeHandler(t){if(this.ignoreSelectedEventsFlag)return;const i=t.target,e=this.filteredItems.indexOf(i);this.updateActiveItemIndex(e),this.toggleSelection(i,i.selected)}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:a,filteredFlipPlacements:n}=this;return b(this,{floatingEl:i,referenceEl:e,overlayPositioning:a,placement:s,flipPlacements:n,type:"menu"},t)}async setFocus(){var t;await L(this),null===(t=this.textInput)||void 0===t||t.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var t;C(this),E(this),X(this),M(this),x(this),this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.updateItems(),this.setFilteredPlacements(),this.reposition(!0),this.open&&(this.openHandler(),T(this)),m(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){D(this),this.updateItems(),await O(this)}componentDidLoad(){k(this,this.getValue()),this.reposition(!0),A(this)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),_(this)}componentDidUpdate(){this.refreshSelectionDisplay()}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),z(this),V(this),y(this),g(this,this.referenceEl,this.floatingEl),j(this),R(this)}textHandler(){this.updateActiveItemIndex(-1)}effectiveLocaleChange(){W(this,this.effectiveLocale)}clearValue(){this.ignoreSelectedEventsFlag=!0,this.items.forEach((t=>t.selected=!1)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=[],this.emitComboboxChange(),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems(""),this.setFocus()}clearInputValue(){this.textInput.value="",this.text=""}comboboxInViewport(){const t=this.el.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.scrollToActiveItem(),this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}ensureRecentSelectedItemIsActive(){const{selectedItems:t}=this,i=0===t.length?0:this.items.indexOf(t[t.length-1]);this.updateActiveItemIndex(i)}hideChip(t){t.classList.add(N.chipInvisible)}showChip(t){t.classList.remove(N.chipInvisible)}refreshChipDisplay({chipEls:t,availableHorizontalChipElSpace:i,chipContainerElGap:e}){t.forEach((t=>{if(t.selected){const s=o(t);if(s&&s<i)return i-=s+e,void this.showChip(t)}else this.hideChip(t);this.hideChip(t)}))}setCompactSelectionDisplay({chipContainerElGap:t,chipContainerElWidth:i,inputWidth:e,largestSelectedIndicatorChipWidth:s}){const a=Math.round(s+t+e);(!this.maxCompactBreakpoint||this.maxCompactBreakpoint<a)&&(this.maxCompactBreakpoint=a),this.compactSelectionDisplay=i<this.maxCompactBreakpoint}setVisibleAndHiddenChips(t){let i=0;t.forEach((t=>{t.selected&&!t.classList.contains(N.chipInvisible)&&i++})),i!==this.selectedVisibleChipsCount&&(this.selectedVisibleChipsCount=i);const e=this.getSelectedItems().length-i;e!==this.selectedHiddenChipsCount&&(this.selectedHiddenChipsCount=e)}getMaxScrollerHeight(){const t=this.getItemsAndGroups().filter((t=>!t.hidden)),{maxItems:i}=this;let e=0,s=0;return t.length>i&&t.forEach((t=>{if(e<i&&i>0){const i=this.calculateSingleItemHeight(t);i>0&&(s+=i,e++)}})),s}calculateSingleItemHeight(t){if(!t)return;let i=t.offsetHeight;return Array.from(t.querySelectorAll(U)).map((t=>null==t?void 0:t.offsetHeight)).forEach((t=>{i-=t})),i}getItemsAndGroups(){return[...this.groupItems,...this.items]}toggleSelection(t,i=!t.selected){!t||"single-persist"===this.selectionMode&&t.selected&&t.value===this.value||(this.isMulti()?(t.selected=i,this.updateAncestors(t),this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===t&&i)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=t.textLabel),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(t){if("ancestors"!==this.selectionMode)return;const i=Z(t),e=Y(t);t.selected?i.forEach((t=>{t.selected=!0})):(e.forEach((t=>t.selected=!1)),[...i].forEach((t=>{G(t)||(t.selected=!1)})))}getFilteredItems(){return this.items.filter((t=>!t.hidden))}getData(){return this.items.map((t=>({filterDisabled:t.filterDisabled,value:t.value,label:t.textLabel})))}getNeedsIcon(){return B(this.selectionMode)&&this.items.some((t=>t.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll(K)).filter((t=>!t.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(q))}addCustomChip(t,i){const e=this.items.find((i=>i.textLabel===t));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement("calcite-combobox-item");e.value=t,e.textLabel=t,e.selected=!0,this.el.appendChild(e),this.resetText(),i&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const t=this.activeChipIndex;this.activeChipIndex=-1===t?this.selectedItems.length-1:Math.max(t-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const t=this.activeChipIndex+1;t>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=t,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var t;const i=null===(t=this.selectedItems[this.activeChipIndex])||void 0===t?void 0:t.guid,e=i?this.referenceEl.querySelector(`#${ot}${i}`):null;null==e||e.setFocus()}shiftActiveItemIndex(t){const{length:i}=this.filteredItems;this.updateActiveItemIndex((this.activeItemIndex+i+t)%i),this.scrollToActiveItem()}updateActiveItemIndex(t){this.activeItemIndex=t;let i=null;this.filteredItems.forEach(((e,s)=>{s===t?(e.active=!0,i=`${lt}${e.guid}`):e.active=!1})),this.activeDescendant=i,this.activeItemIndex>-1&&(this.activeChipIndex=-1)}isAllSelected(){return this.getItems().length===this.getSelectedItems().length}isMulti(){return!B(this.selectionMode)}renderChips(){const{activeChipIndex:i,scale:e,selectionMode:s,messages:a}=this;return this.selectedItems.map(((n,l)=>{const o={chip:!0,"chip--active":i===l},h=[...[...Z(n)].reverse(),n].map((t=>t.textLabel)),r="ancestors"!==s?n.textLabel:h.join(" / ");return t("calcite-chip",{class:o,closable:!0,icon:n.icon,iconFlipRtl:n.iconFlipRtl,id:n.guid?`${ot}${n.guid}`:null,key:n.textLabel,messageOverrides:{dismissLabel:a.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(n),scale:e,selected:n.selected,title:r,value:n.value},r)}))}renderAllSelectedIndicatorChip(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s,setAllSelectedIndicatorChipEl:a}=this,n=this.messages.allSelected;return t("calcite-chip",{class:{chip:!0,[N.chipInvisible]:!(this.isAllSelected()&&!s&&!i)},scale:e,title:n,value:"",ref:a},n)}renderAllSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s}=this,a=this.messages.all||"All";return t("calcite-chip",{class:{chip:!0,[N.chipInvisible]:!(this.isAllSelected()&&!s&&i)},scale:e,title:a,value:""},a)}renderSelectedIndicatorChip(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:a,selectedHiddenChipsCount:n,selectedVisibleChipsCount:l,setSelectedIndicatorChipEl:o}=this;let h,r;if(i)h=!0;else if("single"===e){const t=s().length;h=!(!this.isAllSelected()&&t>0),r=`${t} ${this.messages.selected}`}else"fit"===e&&(h=!!(this.isAllSelected()&&0===l||0===n),r=l>0?`+${n}`:`${n} ${this.messages.selected}`);return t("calcite-chip",{class:{chip:!0,[N.chipInvisible]:h},scale:a,title:r,value:"",ref:o},r)}renderSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:a,selectedHiddenChipsCount:n}=this;let l,o;if(i){const t=s().length;this.isAllSelected()?l=!0:"fit"===e?(l=!(n>0),o=`${n||0}`):"single"===e&&(l=!(t>0),o=`${t}`)}else l=!0;return t("calcite-chip",{class:{chip:!0,[N.chipInvisible]:l},scale:a,title:o,value:""},o)}renderInput(){const{guid:i,disabled:e,placeholder:s,selectionMode:a,selectedItems:n,open:l}=this,o=B(a),h=n[0],r=!l&&o&&!!h;return t("span",{class:{"input-wrap":!0,"input-wrap--single":o}},r&&t("span",{class:{label:!0,"label--icon":!!(null==h?void 0:h.icon)},key:"label"},h.textLabel),t("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${rt}${i}`,"aria-label":H(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":r,"input--icon":!!this.placeholderIcon},disabled:e,id:`${ct}${i}`,key:"input",onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:s,type:"text",ref:t=>this.textInput=t}))}renderListBoxOptions(){return this.filteredItems.map((i=>t("li",{"aria-selected":c(i.selected),id:i.guid?`${lt}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:i,setContainerEl:e,open:s}=this;return t("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":s},ref:i},t("div",{class:{[N.listContainer]:!0,[f.animation]:!0,[f.animationActive]:s},ref:e},t("ul",{class:{list:!0,"list--hide":!s}},t("slot",null))))}renderIconStart(){const{selectedItems:i,placeholderIcon:e,selectionMode:s,placeholderIconFlipRtl:a}=this,n=i[0],l=null==n?void 0:n.icon,o=B(s);return(!this.open&&n?!!l&&o:!!this.placeholderIcon&&(!n||o))&&t("span",{class:"icon-start"},t("calcite-icon",{class:"selected-icon",flipRtl:this.open&&n?n.iconFlipRtl:a,icon:!this.open&&n?l:e,scale:J(this.scale)}))}renderIconEnd(){const{open:i}=this;return t("span",{class:"icon-end"},t("calcite-icon",{icon:i?"chevron-up":"chevron-down",scale:J(this.scale)}))}render(){var i;const{selectionDisplay:e,guid:a,label:n,open:l}=this,o=B(this.selectionMode),h="all"===e,r="single"===e,d=!o&&"fit"===e,p=!this.clearDisabled&&(null===(i=this.value)||void 0===i?void 0:i.length)>0;return t(s,{onClick:this.comboboxFocusHandler},t(I,{disabled:this.disabled},t("div",{"aria-autocomplete":"list","aria-controls":`${rt}${a}`,"aria-expanded":c(l),"aria-haspopup":"listbox","aria-label":H(this),"aria-live":"polite","aria-owns":`${rt}${a}`,class:{wrapper:!0,"wrapper--single":o||!this.selectedItems.length,"wrapper--active":l},onClick:this.clickHandler,onKeyDown:this.keyDownHandler,role:"combobox",ref:this.setReferenceEl},t("div",{class:{"grid-input":!0,[N.selectionDisplayFit]:d,[N.selectionDisplaySingle]:r},ref:this.setChipContainerEl},this.renderIconStart(),!o&&!r&&this.renderChips(),!o&&!h&&[this.renderSelectedIndicatorChip(),this.renderSelectedIndicatorChipCompact(),this.renderAllSelectedIndicatorChip(),this.renderAllSelectedIndicatorChipCompact()],t("label",{class:"screen-readers-only",htmlFor:`${ct}${a}`,id:`${ht}${a}`},n),this.renderInput()),p?t(nt,{disabled:this.disabled,key:"close-button",label:this.messages.clear,scale:this.scale}):null,this.renderIconEnd()),t("ul",{"aria-labelledby":`${ht}${a}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${rt}${a}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),t(w,{component:this}),this.validationMessage?t(Q,{icon:this.validationIcon,message:this.validationMessage,scale:this.scale,status:this.status}):null))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],selectionMode:["handlePropsChange"],scale:["handlePropsChange"],value:["valueHandler"],messageOverrides:["onMessagesChange"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"],effectiveLocale:["effectiveLocaleChange"]}}};function pt(t,i,e){const s=i[0]-t[0];return s?(3*(i[1]-t[1])/s-e)/2:e}function ut(t,i,e,s,a){const[n,l]=t,[o,h]=i,r=(o-n)/3;return`C ${a([n+r,l+r*e]).join(",")} ${a([o-r,h-r*s]).join(",")} ${a([o,h]).join(",")}`}dt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-color-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-color-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}:host([scale=s]) .x-button{margin-inline:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}:host([scale=m]) .x-button{margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}:host([scale=l]) .x-button{margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([status=invalid]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;gap:var(--calcite-combobox-item-spacing-unit-s)}.grid-input.selection-display-fit,.grid-input.selection-display-single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-combobox-item-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:-moz-placeholder-shown{text-overflow:ellipsis}.input:placeholder-shown{text-overflow:ellipsis}.input--transparent{opacity:0}.input--single{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-s)}:host([scale=m]) .input--icon,:host([scale=l]) .input--icon{padding-inline:0.25rem}.input-wrap{display:flex;flex-grow:1;align-items:center}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}calcite-chip{--calcite-animation-timing:0}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);max-inline-size:100%}.chip--active{background-color:var(--calcite-color-foreground-3)}.chip--invisible{visibility:hidden;position:absolute}.item{display:block}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}::slotted(calcite-combobox-item-group:not(:first-child)){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";const mt=class{constructor(t){i(this,t),this.graphId=`calcite-graph-${$()}`,this.resizeObserver=F("resize",(()=>n(this))),this.data=[],this.colorStops=void 0,this.highlightMin=void 0,this.highlightMax=void 0,this.min=void 0,this.max=void 0}connectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.observe(this.el)}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){const{data:i,colorStops:e,el:s,highlightMax:a,highlightMin:n,min:l,max:o}=this,h=this.graphId,{clientHeight:r,clientWidth:c}=s;if(!i||0===i.length)return t("svg",{"aria-hidden":"true",class:"svg",height:r,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${r}`,width:c});const{min:d,max:p}=function(t){const[i,e]=t[0];return t.reduce((({min:t,max:i},[e,s])=>({min:[Math.min(t[0],e),Math.min(t[1],s)],max:[Math.max(i[0],e),Math.max(i[1],s)]})),{min:[i,e],max:[i,e]})}(i);let u=d,m=p;(l<d[0]||l>d[0])&&(u=[l,0]),(o>p[0]||o<p[0])&&(m=[o,p[1]]);const b=function({width:t,height:i,min:e,max:s}){const a=s[0]-e[0],n=s[1]-e[1];return s=>[(s[0]-e[0])/a*t,i-s[1]/n*i]}({min:u,max:m,width:c,height:r}),[g]=b([n,m[1]]),[f]=b([a,m[1]]),v=function({data:t,min:i,max:e,t:s}){if(0===t.length)return"";const[a,n]=s(t[0]),[l,o]=s(i),[h]=s(e);let r,c,d;const p=t.reduce(((i,e,a)=>{if(c=t[a-2],d=t[a-1],a>1){const t=
|
12
|
-
/*!
|
13
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
15
|
-
* v2.4.0
|
16
|
-
*/
|
17
|
-
function(t,i,e){const s=i[0]-t[0],a=e[0]-i[0],n=(i[1]-t[1])/(s||a<0&&0),l=(e[1]-i[1])/(a||s<0&&0),o=(n*a+l*s)/(s+a);return(Math.sign(n)+Math.sign(l))*Math.min(Math.abs(n),Math.abs(l),.5*Math.abs(o))||0}(c,d,e),a=void 0===r?pt(c,d,t):r,n=ut(c,d,a,t,s);return r=t,`${i} ${n}`}return i}),`M ${l},${o} L ${l},${n} L ${a},${n}`),u=t[t.length-1];return`${p} ${ut(d,u,r,pt(d,u,r),s)} L ${h},${o} Z`}({data:i,min:d,max:p,t:b}),x=e?`url(#linear-gradient-${h})`:void 0;return t("svg",{"aria-hidden":"true",class:"svg",height:r,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${r}`,width:c},e?t("defs",null,t("linearGradient",{id:`linear-gradient-${h}`,x1:"0",x2:"1",y1:"0",y2:"0"},e.map((({offset:i,color:e,opacity:s})=>t("stop",{offset:100*i+"%","stop-color":e,"stop-opacity":s}))))):null,void 0!==n?[t("mask",{height:"100%",id:`${h}1`,width:"100%",x:"0%",y:"0%"},t("path",{d:`\n M 0,0\n L ${g-1},0\n L ${g-1},${r}\n L 0,${r}\n Z\n `,fill:"white"})),t("mask",{height:"100%",id:`${h}2`,width:"100%",x:"0%",y:"0%"},t("path",{d:`\n M ${g+1},0\n L ${f-1},0\n L ${f-1},${r}\n L ${g+1}, ${r}\n Z\n `,fill:"white"})),t("mask",{height:"100%",id:`${h}3`,width:"100%",x:"0%",y:"0%"},t("path",{d:`\n M ${f+1},0\n L ${c},0\n L ${c},${r}\n L ${f+1}, ${r}\n Z\n `,fill:"white"})),t("path",{class:"graph-path",d:v,fill:x,mask:`url(#${h}1)`}),t("path",{class:"graph-path--highlight",d:v,fill:x,mask:`url(#${h}2)`}),t("path",{class:"graph-path",d:v,fill:x,mask:`url(#${h}3)`})]:t("path",{class:"graph-path",d:v,fill:x}))}get el(){return a(this)}};mt.style=":host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;block-size:100%;inline-size:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-color-brand);opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}";
|
18
|
-
/*!
|
19
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
20
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
21
|
-
* v2.4.0
|
22
|
-
*/
|
23
|
-
const bt="hyphen",gt="hyphen--wrap",ft="thumb",vt="thumb--minValue",xt="thumb--value",kt="tick__label--max",yt="tick__label--min";function wt(t){return Array.isArray(t)}const $t=class{constructor(t){i(this,t),this.calciteSliderInput=e(this,"calciteSliderInput",6),this.calciteSliderChange=e(this,"calciteSliderChange",6),this.activeProp="value",this.guid=`calcite-slider-${$()}`,this.onThumbBlur=()=>{this.activeProp=null},this.onThumbFocus=t=>{this.activeProp=t.currentTarget.getAttribute("data-value-prop")},this.onThumbPointerDown=t=>{this.pointerDownDragStart(t,t.currentTarget.getAttribute("data-value-prop"))},this.onTrackPointerDown=t=>{this.pointerDownDragStart(t,"minMaxValue")},this.dragUpdate=t=>{if(!this.disabled&&(t.preventDefault(),this.dragProp)){const i=this.translate(t.clientX||t.pageX);if(wt(this.value)&&"minMaxValue"===this.dragProp)if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){const t=i-this.minValueDragRange,e=i+this.maxValueDragRange;e<=this.max&&t>=this.min&&e-t===this.minMaxValueRange&&this.setValue({minValue:this.clamp(t,"minValue"),maxValue:this.clamp(e,"maxValue")})}else this.minValueDragRange=i-this.minValue,this.maxValueDragRange=this.maxValue-i,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue({[this.dragProp]:this.clamp(i,this.dragProp)})}},this.pointerUpDragEnd=t=>{!this.disabled&&r(t)&&this.dragEnd(t)},this.dragEnd=t=>{this.disabled||(this.removeDragListeners(),this.focusActiveHandle(t.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null)},this.storeTrackRef=t=>{this.trackEl=t},this.storeThumbRef=t=>{t&&("minValue"===t.getAttribute("data-value-prop")?this.minHandle=t:this.maxHandle=t)},this.formatValue=t=>(P.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},P.localize(t.toString())),this.disabled=!1,this.form=void 0,this.groupSeparator=!1,this.hasHistogram=!1,this.histogram=void 0,this.histogramStops=void 0,this.labelHandles=!1,this.labelTicks=!1,this.max=100,this.maxLabel=void 0,this.maxValue=void 0,this.min=0,this.minLabel=void 0,this.minValue=void 0,this.mirrored=!1,this.name=void 0,this.numberingSystem=void 0,this.pageStep=void 0,this.precise=!1,this.required=!1,this.snap=!1,this.step=1,this.ticks=void 0,this.value=0,this.scale="m",this.effectiveLocale="",this.minMaxValueRange=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.tickValues=[]}histogramWatcher(t){this.hasHistogram=!!t}ticksWatcher(){this.tickValues=this.generateTickValues()}valueHandler(){this.setMinMaxFromValue()}minMaxValueHandler(){this.setValueFromMinMax()}connectedCallback(){C(this),E(this),this.setMinMaxFromValue(),this.setValueFromMinMax(),M(this),x(this)}disconnectedCallback(){z(this),V(this),y(this),j(this),this.removeDragListeners()}componentWillLoad(){D(this),wt(this.value)||(this.value=this.snap?this.getClosestStep(this.value):this.clamp(this.value)),this.ticksWatcher(),this.histogramWatcher(this.histogram),k(this,this.value)}componentDidLoad(){A(this)}componentDidRender(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),wt(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),_(this)}render(){const i=this.el.id||this.guid,e=wt(this.value)?this.maxValue:this.value,a=this.minValue||this.min,n=this.shouldUseMinValue(),l=100*this.getUnitInterval(n?this.minValue:a),o=100*this.getUnitInterval(e),h=this.shouldMirror(),r=wt(this.value),c=this.buildThumbType("max"),d=this.renderThumb({type:c,thumbPlacement:c.includes("histogram")?"below":"above",maxInterval:o,minInterval:l,mirror:h}),p=this.buildThumbType("min"),u=r&&this.renderThumb({type:p,thumbPlacement:p.includes("histogram")||p.includes("precise")?"below":"above",maxInterval:o,minInterval:l,mirror:h});return t(s,{id:i,onTouchStart:this.handleTouchStart},t(I,{disabled:this.disabled},t("div",{"aria-label":H(this),class:{container:!0,"container--range":r,[`scale--${this.scale}`]:!0}},this.renderGraph(),t("div",{class:"track",ref:this.storeTrackRef},t("div",{class:"track__range",onPointerDown:this.onTrackPointerDown,style:{left:`${h?100-o:l}%`,right:`${h?l:100-o}%`}}),t("div",{class:"ticks"},this.tickValues.map((i=>{const s=100*this.getUnitInterval(i)+"%";let l=i>=a&&i<=e;return n&&(l=i>=this.minValue&&i<=this.maxValue),t("span",{class:{tick:!0,"tick--active":l},style:{left:h?"":s,right:h?s:""}},this.renderTickLabel(i))})))),t("div",{class:"thumb-container"},u,d,t(w,{component:this})))))}renderThumb({type:i,mirror:e,thumbPlacement:s,minInterval:a,maxInterval:n}){const l=i.includes("labeled"),o=i.includes("precise"),h=i.includes("min"),r=wt(this.value),c=h?this.minValue:r?this.maxValue:this.value,d=h?"minValue":r?"maxValue":"value",p=h?this.minLabel:r?this.maxLabel:this.minLabel,u=h?this.minValue:c,m=this.formatValue(h?this.minValue:c),b=h?{left:`${e?100-a:a}%`}:{right:`${e?n:100-n}%`},g="handle__label "+(h?"handle__label--minValue":"handle__label--value"),f=[...l?[t("span",{"aria-hidden":"true",class:g},m),t("span",{"aria-hidden":"true",class:`${g} static`},m),t("span",{"aria-hidden":"true",class:`${g} transformed`},m)]:[],t("div",{class:"handle"}),o&&t("div",{class:"handle-extension"})];return"below"===s&&f.reverse(),t("div",{"aria-disabled":this.disabled,"aria-label":p,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":u,class:{[ft]:!0,[xt]:!h,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===d,"thumb--precise":o,[vt]:h},"data-value-prop":d,key:i,onBlur:this.onThumbBlur,onFocus:this.onThumbFocus,onPointerDown:this.onThumbPointerDown,role:"slider",style:b,tabIndex:0,ref:this.storeThumbRef},f)}renderGraph(){return this.histogram?t("calcite-graph",{class:"graph",colorStops:this.histogramStops,data:this.histogram,highlightMax:wt(this.value)?this.maxValue:this.value,highlightMin:wt(this.value)?this.minValue:this.min,max:this.max,min:this.min}):null}renderTickLabel(i){const{hasHistogram:e,labelHandles:s,labelTicks:a,max:n,min:l,precise:o,value:h}=this,r=wt(h),c=i===l,d=i===n,p=c||d;return!a||(e||!p&&o&&r)&&(!e||!p&&(o||s))?null:t("span",{class:{tick__label:!0,[yt]:c,[kt]:d}},this.formatValue(i))}keyDownHandler(t){const i=this.shouldMirror(),{activeProp:e,max:s,min:a,pageStep:n,step:l}=this,o=this[e],{key:h}=t;if(it(h))return void t.preventDefault();let r;if("ArrowUp"===h||"ArrowRight"===h?r=o+l*(i&&"ArrowRight"===h?-1:1):"ArrowDown"===h||"ArrowLeft"===h?r=o-l*(i&&"ArrowLeft"===h?-1:1):"PageUp"===h?n&&(r=o+n):"PageDown"===h?n&&(r=o-n):"Home"===h?r=a:"End"===h&&(r=s),isNaN(r))return;t.preventDefault();const c=Number(r.toFixed(et(l)));this.setValue({[e]:this.clamp(c,e)})}pointerDownHandler(t){if(this.disabled||!r(t))return;const i=t.clientX||t.pageX,e=this.translate(i);let s="value";wt(this.value)&&(s=e>=this.minValue&&e<=this.maxValue&&"minMaxValue"===this.lastDragProp?"minMaxValue":Math.abs(this.maxValue-e)<Math.abs(this.minValue-e)||e>this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[s],this.dragStart(s),this.el.shadowRoot.querySelector(`.${ft}:active`)||this.setValue({[s]:this.clamp(e,s)}),this.focusActiveHandle(i)}handleTouchStart(t){t.preventDefault()}async setFocus(){await L(this);const t=this.minHandle?this.minHandle:this.maxHandle;null==t||t.focus()}buildThumbType(t){const i=[t];return this.labelHandles&&i.push("labeled"),this.precise&&i.push("precise"),this.hasHistogram&&i.push("histogram"),i.join("-")}setValueFromMinMax(){const{minValue:t,maxValue:i}=this;"number"==typeof t&&"number"==typeof i&&(this.value=[t,i])}setMinMaxFromValue(){const{value:t}=this;wt(t)&&(this.minValue=t[0],this.maxValue=t[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return!!wt(this.value)&&(this.hasHistogram&&0===this.maxValue||!this.hasHistogram&&0===this.minValue)}getTickDensity(){const t=(this.max-this.min)/this.ticks/250;return t<1?1:t}generateTickValues(){var t;const i=null!==(t=this.ticks)&&void 0!==t?t:0;if(i<=0)return[];const e=[this.min],s=i*this.getTickDensity();let a=this.min;for(;a<this.max;)a+=s,e.push(Math.min(a,this.max));return e.includes(this.max)||e.push(this.max),e}pointerDownDragStart(t,i){r(t)&&this.dragStart(i)}dragStart(t){this.dragProp=t,this.lastDragProp=this.dragProp,this.activeProp=t,window.addEventListener("pointermove",this.dragUpdate),window.addEventListener("pointerup",this.pointerUpDragEnd),window.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(t){switch(this.dragProp){case"minValue":this.minHandle.focus();break;case"maxValue":case"value":this.maxHandle.focus();break;case"minMaxValue":this.getClosestHandle(t).focus()}}emitInput(){this.calciteSliderInput.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){window.removeEventListener("pointermove",this.dragUpdate),window.removeEventListener("pointerup",this.pointerUpDragEnd),window.removeEventListener("pointercancel",this.dragEnd)}setValue(t){let i;Object.keys(t).forEach((e=>{const s=t[e];i||(i=this[e]!==s),this[e]=s})),i&&(this.dragProp||this.emitChange(),this.emitInput())}clamp(t,i){return t=st(t,this.min,this.max),"maxValue"===i&&(t=Math.max(t,this.minValue)),"minValue"===i&&(t=Math.min(t,this.maxValue)),t}translate(t){const i=this.max-this.min,{left:e,width:s}=this.trackEl.getBoundingClientRect(),a=(t-e)/s,n=this.shouldMirror(),l=this.clamp(this.min+i*(n?1-a:a));let o=Number(l.toFixed(et(this.step)));return this.snap&&this.step&&(o=this.getClosestStep(o)),o}getClosestStep(t){if(t=Number(this.clamp(t).toFixed(et(this.step))),this.step){const i=Math.round(t/this.step)*this.step;t=Number(this.clamp(i).toFixed(et(this.step)))}return t}getClosestHandle(t){return this.getDistanceX(this.maxHandle,t)>this.getDistanceX(this.minHandle,t)?this.minHandle:this.maxHandle}getDistanceX(t,i){return Math.abs(t.getBoundingClientRect().left-i)}getFontSizeForElement(t){return Number(window.getComputedStyle(t).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(t){return((t=this.clamp(t))-this.min)/(this.max-this.min)}adjustHostObscuredHandleLabel(t){const i=this.el.shadowRoot.querySelector(`.handle__label--${t}`),e=this.el.shadowRoot.querySelector(`.handle__label--${t}.static`),s=this.el.shadowRoot.querySelector(`.handle__label--${t}.transformed`),a=e.getBoundingClientRect(),n=this.getHostOffset(a.left,a.right);i.style.transform=`translateX(${n}px)`,s.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){const{shadowRoot:t}=this.el,i=this.shouldMirror(),e=i?"value":"minValue",s=i?"minValue":"value",a=t.querySelector(`.handle__label--${e}`),n=t.querySelector(`.handle__label--${e}.static`),l=t.querySelector(`.handle__label--${e}.transformed`),o=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right),h=t.querySelector(`.handle__label--${s}`),r=t.querySelector(`.handle__label--${s}.static`),c=t.querySelector(`.handle__label--${s}.transformed`),d=this.getHostOffset(r.getBoundingClientRect().left,r.getBoundingClientRect().right),p=this.getFontSizeForElement(a),u=this.getRangeLabelOverlap(l,c),m=a,b=p/2;if(u>0){if(m.classList.add(bt,gt),0===d&&0===o){let t=u/2-b;t=-1===Math.sign(t)?Math.abs(t):-t;const i=this.getHostOffset(l.getBoundingClientRect().left+t-b,l.getBoundingClientRect().right+t-b);let e=u/2;const s=this.getHostOffset(c.getBoundingClientRect().left+e,c.getBoundingClientRect().right+e);0!==i&&(t+=i,e+=i),0!==s&&(t+=s,e+=s),a.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-b}px)`,h.style.transform=`translateX(${e}px)`,c.style.transform=`translateX(${e}px)`}else if(o>0||d>0)a.style.transform=`translateX(${o+b}px)`,h.style.transform=`translateX(${u+d}px)`,c.style.transform=`translateX(${u+d}px)`;else if(o<0||d<0){let t=Math.abs(o)+u-b;t=-1===Math.sign(t)?Math.abs(t):-t,a.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-b}px)`}}else m.classList.remove(bt,gt),a.style.transform=`translateX(${o}px)`,l.style.transform=`translateX(${o}px)`,h.style.transform=`translateX(${d}px)`,c.style.transform=`translateX(${d}px)`}hideObscuredBoundingTickLabels(){const t=wt(this.value);if(!(this.hasHistogram||t||this.labelHandles||this.precise))return;if(!this.hasHistogram&&!t&&this.labelHandles&&!this.precise)return;if(!this.hasHistogram&&!t&&!this.labelHandles&&this.precise)return;if(!this.hasHistogram&&!t&&this.labelHandles&&this.precise)return;if(!this.hasHistogram&&t&&!this.precise)return;if(this.hasHistogram&&!this.precise&&!this.labelHandles)return;const i=this.el.shadowRoot.querySelector(`.${vt}`),e=this.el.shadowRoot.querySelector(`.${xt}`),s=this.el.shadowRoot.querySelector(`.${yt}`),a=this.el.shadowRoot.querySelector(`.${kt}`);!i&&e&&s&&a&&(s.style.opacity=this.isMinTickLabelObscured(s,e)?"0":"1",a.style.opacity=this.isMaxTickLabelObscured(a,e)?"0":"1"),i&&e&&s&&a&&(s.style.opacity=this.isMinTickLabelObscured(s,i)||this.isMinTickLabelObscured(s,e)?"0":"1",a.style.opacity=this.isMaxTickLabelObscured(a,i)||this.isMaxTickLabelObscured(a,e)&&this.hasHistogram?"0":"1")}getHostOffset(t,i){const e=this.el.getBoundingClientRect();return t+7<e.left?e.left-t-7:i-7>e.right?7-(i-e.right):0}getRangeLabelOverlap(t,i){const e=t.getBoundingClientRect(),s=i.getBoundingClientRect(),a=this.getFontSizeForElement(t);return Math.max(e.right+a-s.left,0)}isMinTickLabelObscured(t,i){const e=t.getBoundingClientRect(),s=i.getBoundingClientRect();return d(e,s)}isMaxTickLabelObscured(t,i){const e=t.getBoundingClientRect(),s=i.getBoundingClientRect();return d(e,s)}static get delegatesFocus(){return!0}get el(){return a(this)}static get watchers(){return{histogram:["histogramWatcher"],ticks:["ticksWatcher"],value:["valueHandler"],minValue:["minMaxValueHandler"],maxValue:["minMaxValueHandler"]}}};$t.style='@charset "UTF-8";: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}.scale--s{--calcite-slider-handle-size:0.625rem;--calcite-slider-handle-extension-height:0.4rem;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:0.875rem;--calcite-slider-handle-extension-height:0.5rem;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:1rem;--calcite-slider-handle-extension-height:0.65rem;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * 0.5);padding-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-inline:0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n );touch-action:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen::after{content:"—";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:0.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-color-text-3)}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-color-brand)}.thumb:focus .handle{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 )}.thumb:focus .handle-extension{background-color:var(--calcite-color-brand)}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-0.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-color-brand);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-color-brand)}.track{position:relative;block-size:0.125rem;border-radius:0px;background-color:var(--calcite-color-border-2);transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:0.125rem;background-color:var(--calcite-color-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:0.25rem;inline-size:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-color-border-input);border-color:var(--calcite-color-foreground-1);inset-block-start:-2px;pointer-events:none;margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-color-brand)}.tick__label{pointer-events:none;margin-block-start:0.875rem;display:flex;justify-content:center}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.graph{color:var(--calcite-color-foreground-3);block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}';export{dt as calcite_combobox,mt as calcite_graph,$t as calcite_slider}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,c as i,h as t,F as s,g as a}from"./p-7d280d8a.js";import{c as n,d as o}from"./p-de9522e9.js";import{g as r}from"./p-3dd92f0d.js";import{c as l,d as c}from"./p-13f2d901.js";import{u as d,c as h,s as p,d as m}from"./p-05cb50f9.js";import{H as g,c as f}from"./p-76bd5032.js";import"./p-1f65ab1e.js";import"./p-5a9a971a.js";import"./p-7c2be8cc.js";import"./p-e7afc0a8.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v2.4.0
|
11
|
-
*/const v="thumbnail",u=class{constructor(t){e(this,t),this.calciteTipDismiss=i(this,"calciteTipDismiss",6),this.hideTip=()=>{this.closed=!0,this.calciteTipDismiss.emit()},this.closed=!1,this.closeDisabled=!1,this.heading=void 0,this.headingLevel=void 0,this.selected=!1,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}effectiveLocaleChange(){d(this,this.effectiveLocale)}connectedCallback(){n(this),l(this),h(this)}async componentWillLoad(){await p(this)}disconnectedCallback(){o(this),c(this),m(this)}renderHeader(){var e;const{heading:i,headingLevel:s,el:a}=this,n=null===(e=a.closest("calcite-tip-manager"))||void 0===e?void 0:e.headingLevel,o=n?f(n+1):null;return i?t("header",{class:"header"},t(g,{class:"heading",level:s||o},i)):null}renderDismissButton(){const{closeDisabled:e,hideTip:i}=this;return e?null:t("calcite-action",{class:"close",icon:"x",onClick:i,scale:"l",text:this.messages.close})}renderImageFrame(){const{el:e}=this;return r(e,v)?t("div",{class:"image-frame",key:"thumbnail"},t("slot",{name:v})):null}renderInfoNode(){return t("div",{class:"info"},t("slot",null))}renderContent(){return t("div",{class:"content"},this.renderImageFrame(),this.renderInfoNode())}render(){return t(s,null,t("article",{class:"container"},this.renderHeader(),this.renderContent()),this.renderDismissButton())}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};u.style=":host{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([closed]),:host([closed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{margin-block-end:0.5rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1)}.container[hidden]{display:none}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info:only-child{inline-size:100%;padding-inline:0px}::slotted(p){margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-color-brand)}::slotted(a: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 )}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}:host([hidden]){display:none}[hidden]{display:none}";export{u as calcite_tip}
|
@@ -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,c as a,h as n,H as s,g as e,F as i}from"./p-7d280d8a.js";import{d as r,i as o,e as l,s as c,f as p,E as u,l as g,h as d,c as h}from"./p-15a0e7fb.js";import"./p-fc2fb61b.js";import"./p-89218b6e.js";import"./p-8ddc7786.js";import"./p-e2d0ad1b.js";import"./p-e85ba21c.js";import"./p-18f1e8b5.js";const m="instant-apps-components__ckeditor-wrapper",v=class{constructor(n){t(this,n),this.isFocused=a(this,"isFocused",7),this.dataChanged=a(this,"dataChanged",7),this.value=void 0,this.editorInstance=void 0,this.config=void 0}updateValue(){this.value&&this.editorInstance.setData(this.value)}async componentDidLoad(){this.init()}componentDidUpdate(){this.editorInstance.setData(this.value)}render(){return n(s,null,n("div",null))}init(){this.applyStyles(),this.initEditor()}applyStyles(){if(document.getElementById(m))return;const t=document.createElement("style");t.id=m,t.innerHTML="\n .ck.ck-reset.ck-editor.ck-rounded-corners {\n margin-top: 10px !important;\n margin-left: 55px !important;\n }\n .ck-editor__editable {\n height: 70px !important;\n font-size: 0.875rem !important;\n line-height: \t1.375 !important;\n color: var(--calcite-color-text-1) !important;\n }\n\n .ck.ck-editor__editable_inline>:first-child,\n .ck.ck-editor__editable_inline>:last-child {\n --ck-spacing-large: 0.5rem !important;\n }\n\n .ck.ck-balloon-panel.ck-powered-by-balloon {\n --ck-z-modal: 700;\n z-index: 700;\n }\n\n .calcite-mode-dark .ck-editor__editable {\n color: var(--calcite-color-text-inverse) !important;\n }\n",document.head.prepend(t)}async initEditor(){const t=await this.createEditor();t&&(this.editorInstance=t,(this.value||""===this.value)&&t.setData(this.value),t.editing.view.document.on("change:isFocused",this.getEditorFocusedCallback(t)))}async createEditor(){try{let t;return t=this.config?await ClassicEditor.create(this.el,this.config):await ClassicEditor.create(this.el),this.editorInstance=t,Promise.resolve(t)}catch(t){return console.error(t),Promise.reject(null)}}getEditorFocusedCallback(t){return(a,n,s)=>{if(s)this.isFocused.emit();else{const a=t.getData();this.value!==a&&(this.value=a,this.dataChanged.emit(a))}}}get el(){return e(this)}static get watchers(){return{value:["updateValue"]}}};v.style=":host{display:block}";const _="instant-apps-language-translator-item",b={section:`${_}__section`,selected:`${_}__section--selected`,collapsed:`${_}__section--collapsed`,topRow:`${_}__top-row`,labelContainer:`${_}__label-container`,label:`${_}__label`,uiLocationPopoverContent:`${_}__ui-location-popover-content`,uiLocationItems:`${_}__ui-location-items`,uiLocationItem:`${_}__ui-location-item`,infoIcon:`${_}__info-icon`,infoButton:`${_}__info-button`,tip:`${_}__tip`,nestedInput:`${_}__nested-input`},f=class{constructor(n){t(this,n),this.translatorItemDataUpdated=a(this,"translatorItemDataUpdated",7),this.userInputs={},this.translatedInputs={},this.fieldName=void 0,this.translatedLanguageLabels=void 0,this.setting=void 0,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0}get isTextEditor(){return this.setting.type===r.TextEditor}get calciteMode(){return o()?l.Dark:l.Light}get hasNestedContent(){var t;return!!(null===(t=this.setting)||void 0===t?void 0:t.content)}get tipID(){return`${this.fieldName}goTo`}componentDidLoad(){this.isTextEditor&&c.onChange("uiData",(()=>this.handleEditorCollapse()))}render(){var t;return"content"in this.setting&&(null===(t=this.setting.content)||void 0===t?void 0:t.every((t=>{var a;return 0===(null===(a=null==t?void 0:t.content)||void 0===a?void 0:a.length)})))?n(i,null):n(s,{class:this.calciteMode},this.renderBase(),this.renderPopover())}renderBase(){return n("div",{class:_},this.renderUserLocaleSection(),this.renderTranslatedLanguageSection())}renderPopover(){const t=this.getTip();return n("calcite-popover",{referenceElement:this.tipID,label:"","auto-close":"true",placement:"trailing",closable:!0},n("span",{class:b.uiLocationPopoverContent},n("span",{class:b.uiLocationItems},this.getUILocation()),t?n("span",{class:b.tip},t):null))}renderUserLocaleSection(){const t=this.getUIDataItem(),a=null==t?void 0:t.userLocaleData,s=null==a?void 0:a.value,e=this.setting.id;return n("div",{class:`${b.section}${(null==t?void 0:t.selected)?` ${b.selected}`:""}`},this.renderItemHeader(p.User,null==a?void 0:a.label,e),this.handleInputRender(p.User,s,e))}renderTranslatedLanguageSection(){var t,a;const s=this.getUIDataItem(),e=this.setting.id,i=c.get("currentLanguage"),r=c.get("portalItemResourceT9n"),o=null===(t=this.translatedLanguageLabels)||void 0===t?void 0:t[this.fieldName],l=null===(a=null==r?void 0:r[i])||void 0===a?void 0:a[e];return n("div",{class:`${b.section}${(null==s?void 0:s.selected)?` ${b.selected}`:""}`},this.renderItemHeader(p.Translation,o,e),this.handleInputRender(p.Translation,l,e))}handleInputRender(t,a,n){const s=this.getUIDataItem();return(null==s?void 0:s.expanded)?this.hasNestedContent?this.renderNestedInputs(t):this.renderInput(t,a,n):null}renderNestedInputs(t,a){const n=null!=a?a:this.setting,{content:s}=n;return null==s?void 0:s.map((a=>a.hasOwnProperty("content")?this.renderNestedInputs(t,a):this.renderNestedInput(t,a)))}renderNestedInput(t,a){var s;const e=c.get("currentLanguage"),i=c.get("portalItemResourceT9n"),r=null==a?void 0:a.id,o=null==i?void 0:i[e],l=null==o?void 0:o[r],{label:u,value:g,id:d}=a,h=t===p.Translation?null===(s=this.translatedLanguageLabels)||void 0===s?void 0:s[d]:u,m=t===p.User?g:l;return n("div",{class:b.nestedInput},this.renderItemHeader(t,h,r,a),this.renderInput(t,m,r,a))}renderItemHeader(t,a,s,e){const i=!this.hasNestedContent||!!e;return n("div",{class:b.topRow},this.renderItemHeaderLabel(t,a,e),i?this.renderCopyButton(t,s):null)}renderItemHeaderLabel(t,a,s){const e=t===p.User&&!s;return n("div",{class:b.labelContainer},s?null:this.renderExpandCollapseButton(),n("calcite-icon",{icon:this.getIcon(s),scale:"s"}),n("span",{class:b.label},a),e?this.renderInfoButton():null)}renderExpandCollapseButton(){const t=this.getUIDataItem(),a=(null==t?void 0:t.expanded)?u.Expanded:u.Collapsed;return n("calcite-action",{onClick:this.handleExpand.bind(this,t),icon:a,scale:"s",appearance:"transparent",text:""})}renderInfoButton(){return n("button",{id:this.tipID,class:b.infoButton},n("calcite-icon",{class:b.infoIcon,icon:u.Popover,scale:"s"}))}renderCopyButton(t,a){return n("calcite-action",{class:this.calciteMode,onClick:this.copySelection.bind(this,t,a),slot:"action",icon:u.Copy,appearance:"transparent",text:""})}renderInput(t,a,n,s){const e=null!=s?s:this.setting;return"string"===e.type||"textarea"===e.type?t===p.User?this.renderUserLocaleInput(a,n):this.renderTranslatedLanguageInput(a,n):this.renderTextEditor(a,t,n)}renderUserLocaleInput(t,a){return n("calcite-input",{ref:t=>this.userInputs[a]=t,key:a,id:a,class:l.Light,"data-field-name":this.fieldName,value:t,onFocus:this.handleSelection,onCalciteInputChange:this.handleUserInputChange.bind(this)})}renderTranslatedLanguageInput(t,a){return n("calcite-input",{ref:t=>this.translatedInputs[a]=t,key:a,id:a,class:l.Light,"data-field-name":this.fieldName,value:t,onFocus:this.handleSelection,onCalciteInputChange:this.handleTranslatedInputChange.bind(this)})}renderTextEditor(t,a,s){return n("instant-apps-ckeditor-wrapper",{id:s,ref:this.setEditor.bind(this,a),onDataChanged:this.handleTextEditorDataChange.bind(this,a),onIsFocused:this.handleSelection,value:null!=t?t:"","data-field-name":this.fieldName,config:{toolbar:[]}})}getUIDataItem(){if(g.uiData)return g.uiData.get(this.fieldName)}updateT9nStore(t,a){const n=c.get("currentLanguage"),s=d(n,{[t]:a});c.set("portalItemResourceT9n",s)}handleExpand(){const t=this.getUIDataItem();t.expanded=!t.expanded;const a=new Map(g.uiData);a.set(this.fieldName,t),c.set("uiData",a)}handleEditorCollapse(){var t,a;const n=c.get("uiData"),s=null==n?void 0:n.get(this.fieldName);if(!(null==s?void 0:s.expanded)&&(null===(t=this.userEditorWrapper)||void 0===t?void 0:t.editorInstance)&&(null===(a=this.translatedEditorWrapper)||void 0===a?void 0:a.editorInstance)){const{userEditorWrapper:t,translatedEditorWrapper:a}=this,n=t.editorInstance.getData();t.value=n;const s=a.editorInstance.getData();a.value=s,t.editorInstance.destroy(),a.editorInstance.destroy()}}handleSelection(t){const a=new Map(g.uiData),n=h();n.forEach((t=>{(null==a?void 0:a.get(t)).selected=!1})),n.forEach((n=>{const s=null==t?void 0:t.target;n===(null==s?void 0:s.getAttribute("data-field-name"))&&((null==a?void 0:a.get(n)).selected=!0)})),c.set("uiData",a)}getUILocation(){const t=this.getUIDataItem(),{uiLocation:a,userLocaleData:s}=t,{section:e,subsection:i}=a,r=[e.label,i.label,s.label].filter((t=>!!t));return r.map(((t,a)=>n("span",{class:b.uiLocationItem},n("span",null,t),a!==r.length-1?n("calcite-icon",{icon:"chevron-right",scale:"s"}):null)))}getTip(){const t=this.getUIDataItem(),{tip:a}=t;return a}copySelection(t,a){this.setting.type===r.TextEditor?this.copyTextEditorContent(t):this.copyCalciteInputContent(a,t)}copyTextEditorContent(t){var a,n;const s=t===p.User?null===(a=this.userEditorWrapper)||void 0===a?void 0:a.editorInstance:null===(n=this.translatedEditorWrapper)||void 0===n?void 0:n.editorInstance;setTimeout((()=>{this.selectContent(s),setTimeout((()=>this.selectContent(s)),50)}),50),this.copyContent(s)}selectContent(t){t.editing.view.focus();const{model:a}=t,n=a.createRangeIn(a.document.getRoot());a.change((t=>t.setSelection(n)))}copyContent(t){const a=t.getData(),n=document.createElement("div");n.contentEditable="true",n.innerHTML=a,document.body.appendChild(n);const s=document.createRange();s.selectNodeContents(n);const e=window.getSelection();null==e||e.removeAllRanges(),null==e||e.addRange(s),document.execCommand("copy"),document.body.removeChild(n)}copyCalciteInputContent(t,a){const n=a===p.User?this.userInputs[t]:this.translatedInputs[t];n&&(n.selectText(),navigator.clipboard.writeText(n.value))}setEditor(t,a){t===p.User?this.userEditorWrapper=a:this.translatedEditorWrapper=a}async handleUserInputChange(t){c.set("saving",!0);try{const a=t.target,n=a.id,s=a.value;this.getUIDataItem().userLocaleData.value=s,await this.userLocaleInputOnChangeCallback(n,s),c.set("saving",!1)}catch(t){c.set("saving",!1)}}async handleUserTextEditorChange(t){c.set("saving",!0);try{const a=t.detail;this.getUIDataItem().userLocaleData.value=a,await this.userLocaleInputOnChangeCallback(this.fieldName,a),c.set("saving",!1)}catch(t){c.set("saving",!1)}}async handleTranslatedInputChange(t){c.set("saving",!0);try{const a=t.composedPath()[0],n=a.id;this.updateT9nStore(n,a.value);const{locale:s,resource:e}=this.getTranslatedLocaleCallbackData(),i=t.target.value;await this.translatedLocaleInputOnChangeCallback(n,i,s,e),setTimeout((()=>c.set("saving",!1)),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),c.set("saving",!1)}}async handleTranslatedTextEditorChange(t){c.set("saving",!0);try{const a=t.target.id;this.updateT9nStore(a,t.detail);const{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),e=t.detail;await this.translatedLocaleInputOnChangeCallback(a,e,n,s),setTimeout((()=>c.set("saving",!1)),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),c.set("saving",!1)}}handleTextEditorDataChange(t,a){t===p.User?this.handleUserTextEditorChange(a):this.handleTranslatedTextEditorChange(a)}getTranslatedLocaleCallbackData(){return{locale:c.get("currentLanguage"),resource:c.get("portalItemResource")}}getIcon(t){switch((null!=t?t:this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}};f.style=".sc-instant-apps-language-translator-item-h{display:block}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item.sc-instant-apps-language-translator-item{display:flex}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__top-row.sc-instant-apps-language-translator-item{display:flex;align-items:center;justify-content:space-between}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__label-container.sc-instant-apps-language-translator-item{display:flex;align-items:center}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__label.sc-instant-apps-language-translator-item{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item calcite-input.sc-instant-apps-language-translator-item{margin-top:10px;margin-left:55px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--last-item.sc-instant-apps-language-translator-item{border-bottom:none}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item{background-color:#f1faff}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item:first-child{margin-right:1%}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-popover-content.sc-instant-apps-language-translator-item{display:inline-block;padding:10px;max-width:400px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-items.sc-instant-apps-language-translator-item{display:flex}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-item.sc-instant-apps-language-translator-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__tip.sc-instant-apps-language-translator-item{display:inline-block;font-size:14px;line-height:22px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__info-icon.sc-instant-apps-language-translator-item{color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__info-button.sc-instant-apps-language-translator-item{border:0;background-color:transparent;cursor:pointer}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__nested-input.sc-instant-apps-language-translator-item{margin-left:60px;margin-top:8px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__nested-input.sc-instant-apps-language-translator-item calcite-input.sc-instant-apps-language-translator-item{margin-left:30px}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item{background-color:#f1faff;background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item calcite-action.sc-instant-apps-language-translator-item{--calcite-ui-icon-color:var(--calcite-color-text-inverse)}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item calcite-icon.sc-instant-apps-language-translator-item{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item{border-bottom:none}";const x="instant-apps-language-translator-search",k={base:x,input:`${x}__input`,suggestionList:`${x}__suggestion-list`,suggestionListItem:`${x}__suggestion-list-item`},y=class{constructor(n){t(this,n),this.suggestionSelected=a(this,"suggestionSelected",7),this.t9nPlaceholder=void 0,this.results=[]}render(){return n(s,null,this.renderSearchInput(),this.renderSuggestions())}renderSearchInput(){return n("calcite-input",{ref:t=>this.searchInput=t,class:k.input,onCalciteInputInput:this.handleSearch.bind(this),type:"search",placeholder:this.t9nPlaceholder,icon:"search"})}renderSuggestions(){return this.results.length>0?this.renderSuggestionList():null}renderSuggestionList(){return n("ul",{class:k.suggestionList},this.results.map((t=>this.renderSuggestionListItem(t))))}renderSuggestionListItem(t){return n("li",{onClick:this.selectSuggestion.bind(this),class:k.suggestionListItem,"data-field-name":t.fieldName},t.userLocaleData.label)}handleSearch(t){var a,n;const s=null===(n=null===(a=t.target.value)||void 0===a?void 0:a.toLowerCase())||void 0===n?void 0:n.trim(),e=c.get("uiData"),i=h(),r=c.get("portalItemResourceT9n"),o=c.get("currentLanguage"),l=r[o],p=this.getSettingDataItems(i).filter(this.matchedResultsCallback(e,l,s,o));this.results=[...p.map((t=>Object.assign({fieldName:t},e.get(t))))]}matchedResultsCallback(t,a,n,s){return e=>{var i;const r=t.get(e),{label:o}=r.userLocaleData,{value:l}=r.userLocaleData,c=t.get("translatedLanguageLabels"),p=null===(i=null==c?void 0:c[s])||void 0===i?void 0:i[e],u=null==a?void 0:a[e],g=this.testUserInput(o,n),d=this.testUserInput(l,n),h=this.testUserInput(p,n),m=this.testUserInput(u,n);return g||d||h||m}}getSettingDataItems(t){return t.filter((t=>"locales"!==t&&"translatedLanguageLabels"!==t))}testUserInput(t,a){var n;return!!(null==t?void 0:t.trim())&&!!(null==a?void 0:a.trim())&&-1!==(null===(n=null==t?void 0:t.toLowerCase())||void 0===n?void 0:n.search(a))}selectSuggestion(t){const a=t.target.getAttribute("data-field-name");this.suggestionSelected.emit(a),this.resetSearchInput()}resetSearchInput(){this.searchInput.value="",this.results=[]}};y.style=".sc-instant-apps-language-translator-search-h{display:block;position:relative}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__input.sc-instant-apps-language-translator-search{width:235.5px}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list.sc-instant-apps-language-translator-search{position:absolute;margin:0;padding:0;width:100%;max-height:30vh;overflow:auto;border-left:none;background-color:var(--calcite-color-foreground-1);border:1px solid #c0c0c0;z-index:702}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search:first-child{border:none}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search{margin-top:0;padding:0.8em 1em;border-top:solid 1px rgba(110, 110, 110, 0.3);display:flex;flex-direction:column;cursor:pointer;word-break:break-word}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search:hover{background-color:var(--calcite-color-foreground-2)}";export{v as instant_apps_ckeditor_wrapper,f as instant_apps_language_translator_item,y as instant_apps_language_translator_search}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
/*!
|
7
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
9
|
-
* v2.4.0
|
10
|
-
*/
|
11
|
-
const t={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},n={checked:"check",remove:"x"},a={actionsEnd:"actions-end",actionsStart:"actions-start"};export{t as C,n as I,a as S}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as e,h as i,g as a}from"./p-7d280d8a.js";import{c as s,d as o}from"./p-de9522e9.js";import{g as n,t as c}from"./p-3dd92f0d.js";import{c as r,d as l,u as d,I as h}from"./p-6d520a58.js";import{s as p,a as m,c as f}from"./p-a4149333.js";import{c as g,d as b}from"./p-13f2d901.js";import{u,c as v,s as x,d as w}from"./p-05cb50f9.js";import{I as y}from"./p-48bef730.js";import{I as k,C as j,S as C}from"./p-563a0b20.js";import"./p-1f65ab1e.js";import"./p-5a9a971a.js";import"./p-7c2be8cc.js";import"./p-ba7d55ea.js";import"./p-e7afc0a8.js";const I=class{constructor(i){t(this,i),this.calciteListItemChange=e(this,"calciteListItemChange",6),this.calciteListItemRemove=e(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=e(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=e(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,e){this.calciteInternalListItemValueChange.emit({oldValue:e,newValue:t})}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){r(this),g(this),v(this),s(this)}async componentWillLoad(){await x(this),p(this)}componentDidLoad(){m(this)}disconnectedCallback(){l(this),b(this),w(this),o(this)}componentDidRender(){d(this)}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){var t;await f(this),null===(t=this.focusEl)||void 0===t||t.focus()}renderIcon(){const{icon:t,iconFlipRtl:e}=this;return t?i("span",{class:{[j.icon]:!0,[j.iconDot]:t===y.circle},onClick:this.pickListClickHandler},t===y.square?i("calcite-icon",{flipRtl:e,icon:k.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?i("calcite-action",{class:j.remove,icon:k.remove,onClick:this.removeClickHandler,slot:C.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return n(t,C.actionsStart)?i("div",{class:{[j.actions]:!0,[j.actionsStart]:!0}},i("slot",{name:C.actionsStart})):null}renderActionsEnd(){const{el:t,removable:e}=this;return n(t,C.actionsEnd)||e?i("div",{class:{[j.actions]:!0,[j.actionsEnd]:!0}},i("slot",{name:C.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:e}=this;return i(h,{disabled:this.disabled},this.renderIcon(),this.renderActionsStart(),i("label",{"aria-label":e,class:j.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},i("div",{"aria-checked":c(this.selected),class:j.textContainer,role:"menuitemcheckbox"},i("span",{class:j.title},e),t?i("span",{class:j.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};I.style='@charset "UTF-8";: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{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-1);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label: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 )}.label:hover{background-color:var(--calcite-color-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-color-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-color-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-color-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}';export{I as calcite_pick_list_item}
|
@@ -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{n}from"./p-13f2d901.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v2.4.0
|
11
|
-
*/function t(n,t,e){if(!n)return;const r=n.getTime(),a=!(t instanceof Date)||r>=t.getTime(),o=!(e instanceof Date)||r<=e.getTime();return a&&o}function e(n,t,e){if(!(n instanceof Date))return null;const r=n.getTime(),a=t instanceof Date&&r<t.getTime(),o=e instanceof Date&&r>e.getTime();return a?t:o?e:n}function r(n,t=!1){if(n instanceof Date)return n;if(!n||"string"!=typeof n)return null;const e=n.split(/[: T-]/).map(parseFloat),r=new Date(e[0],(e[1]||1)-1,e[2]||1);if(r.setFullYear(e[0]),isNaN(r.getTime()))throw new Error(`Invalid ISO 8601 date: "${n}"`);return t?w(r):r}function a(n,t){if(!t)return null;const{separator:e}=t,r=function(n,t){const{day:e,month:r,year:a}=i(n,t);return{day:parseInt(e),month:parseInt(r)-1,year:parseInt(a)}}(n,t),{day:a,month:s}=r,u=o(r.year,t),c=new Date(u,s,a);c.setFullYear(u);const f=a>0,d=s>-1,D=!isNaN(c.getTime()),y=n.split(e).filter((n=>n)).length>2,l=u.toString().length>0;return f&&d&&D&&y&&l?c:null}function o(n,t){return u(n,t,"read")}function s(n,t){return u(n,t,"write")}function u(n,t,e){return"buddhist"!==t["default-calendar"]?n:n+543*("read"===e?-1:1)}function i(t,e){const{separator:r,unitOrder:a}=e,o=l(a),s=t.split(r).map((t=>n.delocalize(t)));return{day:s[o.indexOf("d")],month:s[o.indexOf("m")],year:s[o.indexOf("y")]}}function c(n){return n instanceof Date?new Date(n.getTime()-6e4*n.getTimezoneOffset()).toISOString().split("T")[0]:""}function f(n){const t=n.split("-");return{day:t[2],month:t[1],year:t[0]}}function d(n,t){return n instanceof Date&&t instanceof Date&&n.getDate()===t.getDate()&&n.getMonth()===t.getMonth()&&n.getFullYear()===t.getFullYear()}function D(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t-1),t===e.getMonth()?new Date(n.getFullYear(),t,0):e}function y(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t+1),(t+2)%7==e.getMonth()%7?new Date(n.getFullYear(),t+2,0):e}function l(n){const t=n.toLowerCase();return["d","m","y"].sort(((n,e)=>t.indexOf(n)-t.indexOf(e)))}function p(n,t){return(n.getTime()-t.getTime())/864e5}function w(n){return n.setHours(23,59,59,999),n}export{c as a,e as b,f as c,r as d,i as e,a as f,p as g,d as h,t as i,l as j,s as k,o as l,y as n,D as p,w 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,c as i,a as s,h as e,H as a,g as l}from"./p-7d280d8a.js";import{b as o,c as n,a as h}from"./p-c1cf3ebc.js";import{l as c,g as d}from"./p-be8ef276.js";import{d as r,h as p}from"./p-d9c89479.js";import{s as g}from"./p-322868ec.js";import{c as b,r as m}from"./p-b1376c75.js";import"./p-8ddc7786.js";import"./p-e2d0ad1b.js";import"./p-18f1e8b5.js";import"./p-b503d01d.js";import"./p-a230b270.js";import"./p-94c634ba.js";const u=class{constructor(s){t(this,s),this.searchConfigurationChange=i(this,"searchConfigurationChange",7),this._onboardingImageUrl="",this._titleValue=void 0,this._numSelected=0,this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.defaultExportTitle="",this.defaultNumLabelsPerPage=6,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._exportGraphics=!1,this._addMap=!1,this._addResults=!0,this._addTitle=!1,this._downloadActive=!0,this._exportType=o.PDF,this._fetchingData=!1,this._isMobile=void 0,this._numDuplicates=0,this._pageType=n.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=void 0}async mapViewWatchHandler(t){(null==t?void 0:t.popup)&&(this._popupsEnabled=null==t?void 0:t.popup.autoOpenEnabled),this._initSearchConfiguration(this.searchConfiguration)}async watchSearchConfigurationHandler(t,i){const s=JSON.stringify(t);this.mapView&&(s!==JSON.stringify(i)||s&&!this._searchConfiguration)&&(this._searchConfiguration=JSON.parse(s),this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setLineSymbol(t)}async sketchPointSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPointSymbol(t)}async sketchPolygonSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPolygonSymbol(t)}async pageTypeWatchHandler(t,i){var s;if(this._checkPopups(),(null===(s=this.mapView)||void 0===s?void 0:s.popup)&&(this.mapView.popupEnabled=t===n.LIST&&this._popupsEnabled),t===n.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._updateExportGraphics(),this._fetchingData=!1),this._clearHighlight(),i!==n.SELECT&&i!==n.REFINE||await this._clearSelection(),i===n.EXPORT&&this._removeExportGraphics(),t!==n.SELECT)return this._highlightFeatures()}selectionSetsChanged(t){this._selectionSets=[...t.detail]}connectedCallback(){this._mediaQuery=window.matchMedia("(max-width: 600px)"),this._mediaQuery.addEventListener("change",(t=>this._setIsMobile(t)))}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initSymbols(),this._onboardingImageUrl=s("../assets/data/images/onboarding.png")}render(){return e(a,null,e("calcite-shell",null,e("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:this._isMobile?"footer":"header"},this._getActionGroup("list-check",n.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",n.REFINE,this._translations.refineSelection):null,this._getActionGroup("export",n.EXPORT,this._translations.export)),this._getPage(this._pageType)))}async componentDidLoad(){this._initSearchConfiguration(this.searchConfiguration)}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i,s]=await c(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils","esri/Graphic"]);this._geometryEngine=t,this._jsonUtils=i,this.Graphic=s}_initSearchConfiguration(t){this.searchConfiguration&&!this._searchConfiguration&&this.mapView&&(this._searchConfiguration=t,this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(t){this.sketchPolygonSymbol="simple-fill"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(t){this._isMobile=t.matches}_getActionGroup(t,i,s){return e("calcite-action-group",{class:this.showRefineSelection?"w-1-3":"w-1-2",layout:"horizontal"},e("div",{class:"background-override"},e("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",compact:!1,icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),e("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},e("span",null,s)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case n.LIST:i=this._getListPage();break;case n.SELECT:i=this._getSelectPage();break;case n.EXPORT:i=this._getExportPage();break;case n.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(t?this._translations.listHasSetsTip:this._translations.selectLayerAndAdd,"padding-sides-1 padding-bottom-1","word-wrap-anywhere"),t?this._getSelectionSetList():this._getOnboardingImage(),e("div",{class:"display-flex padding-1"},e("calcite-button",{onClick:()=>{this._setPageType(n.SELECT)},width:"full"},e("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return e("div",{class:"display-flex padding-sides-1"},e("img",{class:"img-container",src:this._onboardingImageUrl}))}_getSelectionSetList(){return e("div",{class:"padding-top-1-2 padding-bottom-1-2"},e("calcite-list",{class:"list-border margin-sides-1"},this._selectionSets.reduce(((t,i,s)=>{var a;const l=this._getSelectionSetIds(i);let o=!0;return i.workflowType===h.REFINE&&(o=Object.keys(i.refineInfos).reduce(((t,s)=>{const e=i.refineInfos[s];return t+(e.addIds.length+e.removeIds.length)}),0)>0),o&&t.push(e("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(a=null==i?void 0:i.layerView)||void 0===a?void 0:a.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",l.length.toString()))),this._getAction(!0,"pencil","",(t=>this._openSelection(i,t)),!1,"actions-end"),this._getAction(!0,"x","",(t=>this._deleteSelection(s,t)),!1,"actions-end"))),t}),[])))}_getSelectionSetIds(t){return t.workflowType!==h.REFINE?t.selectedIds:Object.keys(t.refineInfos).reduce(((i,s)=>[...i,...t.refineInfos[s].addIds]),[])}_hasSelections(t=!1){let i=[];const s=this._selectionSets.some((t=>{if(t.workflowType===h.REFINE)return i=this._getSelectionSetIds(t),!0}));return t&&s?i.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const t=this._getExportInfos(),i=await b(this.mapView.map,t),s=m(i);return i.length-s.length}_getExportInfos(){return this._selectionSets.reduce(((t,i)=>(i.download&&(i.workflowType!==h.REFINE?this._updateIds(i.layerView.layer.id,i.layerView,i.selectedIds,t):Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds.length>0&&this._updateIds(s,e.layerView,e.addIds,t)}))),t)),{})}_updateIds(t,i,s,e){return e[t]?e[t].ids=e[t].ids.concat(s):e[t]={layerView:i,ids:s},e}_getSelectPage(){const t=this._translations.selectSearchTip;return e("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t,"padding-1","word-wrap-anywhere"),e("div",null,e("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return e("calcite-panel",null,e("div",null,this._getLabel(this._translations.export,!1),t?e("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),e("div",{class:"padding-sides-1 "+i},e("div",{class:"display-flex"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),e("div",{class:"display-flex"},this._translations.removeDuplicate,e("div",{class:"info-message padding-start-1-2"},e("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"remove-duplicates-icon",scale:"s"})),e("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},e("span",{class:"tooltip-message"},this._translations.duplicatesTip))),e("div",{class:"border-bottom"}),e("div",{class:"padding-top-sides-1"},e("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t),width:"full"},e("calcite-segmented-control-item",{checked:this._exportType===o.PDF,class:"w-50 end-border",value:o.PDF},e("span",{class:"font-weight-500"},this._translations.pdf)),e("calcite-segmented-control-item",{checked:this._exportType===o.CSV,class:"w-50",value:o.CSV},e("span",{class:"font-weight-500"},this._translations.csv)))),e("div",{class:"padding-bottom-1"},this._getExportOptions()),e("div",{class:"padding-1 display-flex"},e("calcite-button",{disabled:!this._downloadActive||this._fetchingData||!this._addMap&&!this._addResults,loading:this._fetchingData,onClick:()=>{this._export()},width:"full"},e("span",{class:"font-weight-500"},this._translations.export)))):this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")))}_exportTypeChange(t){this._exportType=t.target.value}_getExportOptions(){const t=this._addTitle?"display-block":"display-none",i=this._addMap?"display-flex":"display-none",s=this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"",a=this._addResults?"":"display-none";return e("div",{class:this._exportType===o.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addResults,onCalciteCheckboxChange:()=>this._addResults=!this._addResults}),this._translations.addResults)),e("div",{class:`padding-top-sides-1 ${a}`},e("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),e("div",{class:`padding-sides-1 ${a}`},e("pdf-download",{defaultNumLabelsPerPage:parseInt(this.defaultNumLabelsPerPage.toString(),10),disabled:!this._downloadActive,ref:t=>{this._downloadTools=t}})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.title)),e("div",{class:t},this._getLabel(this._translations.title,!0,""),e("calcite-input-text",{class:"padding-sides-1",onCalciteInputTextInput:()=>this._changeTitle(),placeholder:this._translations.titlePlaceholder,ref:t=>{this._titleElement=t},value:s})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._handleAddMapChange()}),this._translations.includeMap)),e("div",{class:`padding-top-sides-1 ${i}`},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._exportGraphics,onCalciteCheckboxChange:()=>this._handleExportGraphicsChange()}),this._translations.listGraphics),e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"list-graphics-icon",scale:"s"}),e("calcite-popover",{closable:!0,label:"",referenceElement:"list-graphics-icon"},e("span",{class:"tooltip-message"},this._translations.listGraphicsTip))))}_handleAddMapChange(){this._addMap=!this._addMap,this._updateExportGraphics()}_handleExportGraphicsChange(){this._exportGraphics=!this._exportGraphics,this._updateExportGraphics()}_getManagedLayer(t){let i;return Object.keys(g.managedLayers).some((s=>{const e=this.mapView.map.layers.findIndex((t=>t.title===s));if(g.managedLayers[s]===t)return i=this.mapView.map.layers.getItemAt(e),!0})),i}_updateExportGraphics(t=!1){!t&&this._exportGraphics&&this._addMap||this._removeExportGraphics(),this._exportGraphics&&this._addMap&&this._addExportGraphics()}_removeExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");t&&t.graphics.removeAll(),i&&i.graphics.removeAll()}_addExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");this._selectionSets.forEach((s=>{if(s.download&&(t&&t.graphics.add(s.sketchGraphic),i)){const t=new this.Graphic({geometry:s.buffer,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});i.graphics.add(t)}}))}_getRefinePage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?e("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),e("refine-selection",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,selectionSets:this._selectionSets,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})):this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1"))}_getPageNavButtons(t,i,s,a,l,o){return e("div",{class:"padding-bottom-1"},e("div",{class:"display-flex padding-top-sides-1"},e("calcite-button",{disabled:i,onClick:s,width:"full"},e("span",{class:"font-weight-500"},t))),e("div",{class:"display-flex padding-top-1-2 padding-sides-1"},e("calcite-button",{appearance:"outline",disabled:l,onClick:o,width:"full"},e("span",{class:"font-weight-500"},a))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",s=""){return e("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},e("div",{class:s,slot:"message"},t))}_getLabel(t,i=!1,s="font-bold"){return e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:s+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{var s;const a=this._getSelectionSetIds(i),l=i.workflowType!==h.REFINE||a.length>0;return!this._downloadActive&&i.download&&l&&(this._downloadActive=!0),l&&t.push(e("div",{class:"display-flex padding-sides-1 padding-bottom-1"},e("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),e("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list"},e("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",a.length.toString()))))))),t}),[])||e("div",null)}async _toggleDownload(t){let i=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===t?!s.download:s.download,i=!!s.download||i,s))),this._updateExportGraphics(!0),this._downloadActive=i,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){const t=this._addResults?this._getSelectionIdsAndViews(this._selectionSets,!0):{};if(this._exportType===o.PDF){let i="";if(this._addMap&&this.mapView){const t=await this.mapView.takeScreenshot({width:1500,height:2e3});i=null==t?void 0:t.dataUrl}this._fetchingData=!0,await this._downloadTools.downloadPDF(this.mapView.map,t,this._removeDuplicates.checked,this._addTitle?this._titleElement.value:"",i),this._fetchingData=!1}this._exportType===o.CSV&&(this._fetchingData=!0,await this._downloadTools.downloadCSV(this.mapView.map,t,this._removeDuplicates.checked),this._fetchingData=!1)}_getSelectionIdsAndViews(t,i=!1){return(i?t.filter((t=>t.download)):t).reduce(((t,i)=>{var s;if(i.workflowType===h.REFINE)Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds&&(t=this._updateExportInfos(t,e.layerView.layer.id,i.label,e.addIds,e.layerView))}));else{const e=null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.id;t=this._updateExportInfos(t,e,i.label,i.selectedIds,i.layerView)}return t}),{})}_updateExportInfos(t,i,s,e,a){return i&&Object.keys(t).indexOf(i)>-1?(t[i].ids=[...new Set([...t[i].ids,...e])],t[i].selectionSetNames.push(s)):i&&(t[i]={ids:e,layerView:a,selectionSetNames:[s]}),t}_getAction(t,i,s,a,l=!1,o=""){return e("calcite-action",{disabled:!t,icon:i,indicator:l,onClick:a,slot:o,text:s})}_updateForSelection(t){this._numSelected=t.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(n.LIST)}async _saveSelection(){var t,i;const s=await(null===(t=this._selectTools)||void 0===t?void 0:t.getSelection()),e=null===(i=this._selectTools)||void 0===i?void 0:i.isUpdate;return this._selectionSets=e?this._selectionSets.map((t=>t.id===s.id?s:t)):[...this._selectionSets,s],this._home()}async _clearSelection(){var t;await(null===(t=this._selectTools)||void 0===t?void 0:t.clearSelection()),this._numSelected=0,this._activeSelection=void 0}_deleteSelection(t,i){return i.stopPropagation(),this._selectionSets=this._selectionSets.filter(((i,s)=>{if(s!==t)return i})),this._highlightFeatures()}_gotoSelection(t,i){r(t.selectedIds,t.layerView,i,this.featureHighlightEnabled,this.featureEffect)}_openSelection(t,i){i.stopPropagation(),this._activeSelection=t,this._pageType=t.workflowType===h.REFINE?n.REFINE:n.SELECT}async _highlightFeatures(){this._clearHighlight();const t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===n.EXPORT),i=Object.keys(t);if(i.length>0)for(let s=0;s<i.length;s++){const e=t[i[s]];g.highlightHandles.push(await p(e.ids,e.layerView,this.mapView))}}_checkPopups(){var t;"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=null===(t=this.mapView)||void 0===t?void 0:t.popupEnabled)}_clearHighlight(){g&&g.highlightHandles&&g.removeHandles()}async _getTranslations(){const t=await d(this.el);this._translations=t[0]}get el(){return l(this)}static get watchers(){return{mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};u.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3:var(--calcite-color-brand);--calcite-color-foreground-2:var(--calcite-color-brand-hover);--calcite-color-text-1:var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}';export{u as public_notification}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
/*!
|
7
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
9
|
-
* v2.4.0
|
10
|
-
*/
|
11
|
-
const t=()=>[2,1,1,1,3].map((t=>{let e="";for(let r=0;r<t;r++)e+=(65536*(1+Math.random())|0).toString(16).substring(1);return e})).join("-");export{t as g}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{h as t,r as i,c as s,H as e,g as a}from"./p-7d280d8a.js";import{c as n,d as o,H as r}from"./p-1f33a29d.js";import{g as l}from"./p-5a9a971a.js";import{c as h,d as c,u as d,I as p}from"./p-6d520a58.js";import{c as u,d as m}from"./p-9d53e0f2.js";import{s as f,a as v,c as g}from"./p-a4149333.js";import{c as b,d as y}from"./p-13f2d901.js";import{u as w,c as k,s as x,d as j}from"./p-05cb50f9.js";import{f as z}from"./p-3dd92f0d.js";import"./p-ba7d55ea.js";import"./p-495e7b9d.js";import"./p-e7afc0a8.js";import"./p-1f65ab1e.js";import"./p-7c2be8cc.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v2.4.0
|
11
|
-
*/const C=({full:i,scale:s,partial:e})=>t("calcite-icon",{class:e?void 0:"icon",icon:i?"star-f":"star",scale:s}),L=class{constructor(t){i(this,t),this.calciteRatingChange=s(this,"calciteRatingChange",6),this.handleRatingPointerOver=()=>{this.isKeyboardInteraction=!1},this.handleRatingPointerOut=()=>{this.isKeyboardInteraction=!0,this.hoverValue=null},this.handleHostKeyDown=()=>{this.isKeyboardInteraction=!0},this.handleLabelKeyDown=t=>{const i=this.getValueFromLabelEvent(t),s=t.key,e=" "==s?void 0:Number(s);if(this.emit=!0,isNaN(e))switch(s){case"Enter":case" ":this.value=this.required||this.value!==i?i:0;break;case"ArrowLeft":this.value=this.getPreviousRatingValue(i),this.updateFocus(),t.preventDefault();break;case"ArrowRight":this.value=this.getNextRatingValue(i),this.updateFocus(),t.preventDefault();break;case"Tab":this.hoverValue=null}else(!this.required&&e>=0&&e<=this.max||this.required&&e>0&&e<=this.max)&&(this.value=e),this.updateFocus()},this.handleInputChange=t=>{if(!0===this.isKeyboardInteraction){const i=Number(t.target.value);this.hoverValue=i,this.value=i}},this.handleLabelPointerOver=t=>{this.hoverValue=this.getValueFromLabelEvent(t)},this.handleLabelPointerDown=t=>{const i=t.currentTarget,s=this.getValueFromLabelEvent(t);this.hoverValue=s,this.emit=!0,this.value=this.required||this.value!==s?s:0,i.focus()},this.handleLabelClick=t=>{t.preventDefault()},this.handleLabelFocus=t=>{const i=this.getValueFromLabelEvent(t);this.hoverValue=i},this.setLabelEl=t=>{this.labelElements.push(t)},this.emit=!1,this.guid=`calcite-ratings-${l()}`,this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this.average=void 0,this.count=void 0,this.disabled=!1,this.form=void 0,this.messages=void 0,this.messageOverrides=void 0,this.name=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.value=0,this.effectiveLocale="",this.defaultMessages=void 0,this.hoverValue=void 0}onMessagesChange(){}handleValueUpdate(t){this.hoverValue=t,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}effectiveLocaleChange(){w(this,this.effectiveLocale)}connectedCallback(){h(this),b(this),k(this),u(this),n(this)}async componentWillLoad(){await x(this),f(this)}componentWillRender(){this.starsMap=Array.from({length:this.max},((t,i)=>{const s=i+1,e=this.average&&this.average+1-s,a=s<=this.hoverValue;return{average:!this.hoverValue&&this.average&&!this.value&&s<=this.average,checked:s===this.value,fraction:e,hovered:a,id:`${this.guid}-${s}`,partial:!this.hoverValue&&!this.value&&!a&&e>0&&e<1,selected:this.value>=s,value:s,tabIndex:this.getTabIndex(s)}}))}componentDidLoad(){v(this)}disconnectedCallback(){c(this),y(this),j(this),m(this),o(this)}componentDidRender(){d(this)}render(){var i,s;return t(e,{onKeyDown:this.handleHostKeyDown,onPointerOut:this.handleRatingPointerOut,onPointerOver:this.handleRatingPointerOver},t(p,{disabled:this.disabled},t("span",{class:"wrapper"},t("fieldset",{class:"fieldset",disabled:this.disabled},t("legend",{class:"visually-hidden"},this.messages.rating),this.starsMap.map((({average:i,checked:s,fraction:e,hovered:a,id:n,partial:o,selected:r,value:l,tabIndex:h})=>t("label",{class:{star:!0,selected:r,hovered:a,average:i,partial:o},"data-value":l,htmlFor:n,onClick:this.handleLabelClick,onFocus:this.handleLabelFocus,onKeyDown:this.handleLabelKeyDown,onPointerDown:this.handleLabelPointerDown,onPointerOver:this.handleLabelPointerOver,tabIndex:h,ref:this.setLabelEl},t("input",{checked:s,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:n,name:this.guid,onChange:this.handleInputChange,tabIndex:-1,type:"radio",value:l}),t(C,{full:r||i,scale:this.scale}),o&&t("div",{class:"fraction",style:{width:100*e+"%"}},t(C,{full:!0,partial:!0,scale:this.scale})),t("span",{class:"visually-hidden"},this.messages.stars.replace("{num}",`${l}`))))),(this.count||this.average)&&this.showChip?t("calcite-chip",{scale:this.scale,value:null===(i=this.count)||void 0===i?void 0:i.toString()},!!this.average&&t("span",{class:"number--average"},this.average.toString()),!!this.count&&t("span",{class:"number--count"},"(",null===(s=this.count)||void 0===s?void 0:s.toString(),")")):null),t(r,{component:this}))))}onLabelClick(){this.setFocus()}updateFocus(){this.hoverValue=this.value,this.labelElements[this.value-1].focus()}getTabIndex(t){return this.readOnly||this.value!==t&&(this.value||1!==t)?-1:0}getValueFromLabelEvent(t){return Number(t.currentTarget.getAttribute("data-value"))}getNextRatingValue(t){return 5===t?1:t+1}getPreviousRatingValue(t){return 1===t?5:t-1}async setFocus(){await g(this),z(this.el)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],value:["handleValueUpdate"],effectiveLocale:["effectiveLocaleChange"]}}};L.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-color-border-input)}.star: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 )}.average,.fraction{color:var(--calcite-color-status-warning)}.hovered,.selected{color:var(--calcite-color-brand)}.fraction{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-color-text-2);font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{L as calcite_rating}
|
@@ -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,c as i,h as s,H as e,g as a}from"./p-7d280d8a.js";import{l as h,g as l}from"./p-be8ef276.js";import{a as o,b as n,h as c,c as r,g as d,q as u}from"./p-d9c89479.js";import"./p-8ddc7786.js";import"./p-e2d0ad1b.js";import"./p-c1cf3ebc.js";const p=class{constructor(s){t(this,s),this.togglePanel=i(this,"togglePanel",7),this._noLayerToDisplayErrorMsg="Web map does not contain any editable layers.",this.description=void 0,this.isMobile=void 0,this.enableAnonymousAccess=void 0,this.enableAnonymousComments=void 0,this.enableComments=void 0,this.enableLogin=void 0,this.enableNewReports=void 0,this.loginTitle=void 0,this.mapView=void 0,this.layerId=void 0,this.objectId=void 0,this.center=void 0,this.level=void 0,this.reportButtonText=void 0,this.reportsHeader=void 0,this.reportingOptions=void 0,this.reportSubmittedMessage=void 0,this.searchConfiguration=void 0,this.showComments=void 0,this.defaultWebmap="",this.enableSearch=!0,this.enableHome=!0,this.mapInfos=[],this.theme="light",this.enableZoom=!0,this.zoomToScale=void 0,this.layerExpressions=[],this._mapInfo=void 0,this._flowItems=[],this._sidePanelCollapsed=!1,this._translations=void 0,this._hasValidLayers=!1,this._selectedLayerName=void 0,this._reportSubmitted=!1,this._showSubmitCancelButton=!1,this._loadingFeatureDetails=void 0,this._featureCreationFailedErrorMsg=void 0,this._updatedProgressBarStatus=.25,this._filterOpen=!1,this._filterActive=!1}async isMobileWatchHandler(){this._sidePanelCollapsed=!1}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.setMapView()}))}async selectionChanged(t){this.updatingFeatureDetails(!0),this.setCurrentFeature(t.detail.selectedFeature[0]),this.highlightOnMap(t.detail.selectedFeature[0]),this.selectedFeatureIndex=t.detail.selectedFeatureIndex,await this._featureDetails.refresh(t.detail.selectedFeature[0])}async componentWillLoad(){var t;this._urlParamsLoaded=!1,await this._initModules(),await this._getTranslations(),await(null===(t=this.mapView)||void 0===t?void 0:t.when((async()=>{this.layers=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].reporting)):[],await this.setMapView()})))}render(){const t="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return s(e,null,this._reportSubmitted&&s("calcite-alert",{"auto-close":!0,class:t+" report-submitted-msg",icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._reportSubmitted=!1},open:!0,placement:"top"},s("div",{slot:"message"},this.reportSubmittedMessage?this.reportSubmittedMessage:this._translations.submitMsg)),this._featureCreationFailedErrorMsg&&s("calcite-alert",{"auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._featureCreationFailedErrorMsg=""},open:!0,placement:"top"},s("div",{slot:"title"},this._translations.error),s("div",{slot:"message"},this._featureCreationFailedErrorMsg)),s("div",null,s("calcite-shell",{"content-behind":!0},this._getReporter())),this.filterModal())}async _initModules(){const[t]=await h(["esri/core/reactiveUtils"]);this.reactiveUtils=t}setSelectedLayer(t,i){this._selectedLayerId=t,this._selectedLayerName=i,this._validLayers.forEach((i=>{i.set("visible",!t||i.id===t)}))}_getReporter(){const t=[];return this._flowItems.forEach((i=>{switch(i){case"layer-list":t.push(this.getLayerListFlowItem());break;case"feature-list":t.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"feature-details":t.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":t.push(this.getChooseCategoryFlowItem());break;case"feature-create":t.push(this.getFeatureCreateFlowItem())}})),s("calcite-panel",{class:"width-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},this.mapView?s("calcite-flow",null,(null==t?void 0:t.length)>0&&t):s("calcite-loader",{label:"",scale:"m"}))}filterModal(){var t,i;const e=this.layerExpressions?this.layerExpressions.filter((t=>t.id===this._selectedLayerId)):[];return e.length>0&&s("calcite-modal",{"aria-labelledby":"modal-title",class:"modal",kind:"brand",onCalciteModalClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},s("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},null===(i=null===(t=this._translations)||void 0===t?void 0:t.filterLayerTitle)||void 0===i?void 0:i.replace("{{title}}",this._selectedLayerName)),s("div",{slot:"content"},s("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),comboboxOverlayPositioning:"fixed",layerExpressions:e,onFilterListReset:()=>this._handleFilterListReset(),onFilterUpdate:()=>this._handleFilterUpdate(),ref:t=>this._filterList=t,view:this.mapView,zoomBtn:!1})))}_closeFilter(){this._filterOpen&&(this._filterOpen=!1)}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._filterActive=!1,this._featureList.refresh()}_handleFilterUpdate(){this._filterActive=this._filterList.urlParams.getAll("filter").length>0,this._featureList.refresh()}getLayerListFlowItem(){var t;return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportsHeader},this.isMobile&&this.getActionToExpandCollapsePanel(),this._hasValidLayers&&this.enableNewReports&&s("calcite-button",{appearance:"solid",onClick:this.navigateToChooseCategory.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),s("calcite-panel",{"full-height":!0,"full-width":!0},s("layer-list",{class:"height-full",layers:(null===(t=this._editableLayerIds)||void 0===t?void 0:t.length)>0?this._editableLayerIds:this.layers,mapView:this.mapView,noLayerErrorMsg:this._noLayerToDisplayErrorMsg,onLayerSelect:this.displayFeaturesList.bind(this),onLayersListLoaded:this.layerListLoaded.bind(this),ref:t=>this._layerList=t,showFeatureCount:!0,showNextIcon:!0})))}getChooseCategoryFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),s("calcite-panel",{"full-height":!0,"full-width":!0},s("div",{class:"progress-bar"},s("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),s("calcite-notice",{class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},s("div",{slot:"message"},this._translations.chooseCategoryMsg)),s("layer-list",{class:"height-full",layers:this.layers,mapView:this.mapView,noLayerErrorMsg:this._noLayerToDisplayErrorMsg,onLayerSelect:this.navigateToCreateFeature.bind(this),showFeatureCount:!1,showNextIcon:!1})))}getFeatureCreateFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,onCalciteFlowItemBack:this.backFromCreateFeaturePanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),this._showSubmitCancelButton&&s("div",{class:"width-full",slot:"footer"},s("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onSubmitButtonClick.bind(this),width:"full"},this._translations.submit),s("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateFeaturePanel.bind(this),width:"full"},this._translations.cancel)),s("calcite-panel",{"full-height":!0,"full-width":!0},s("div",{class:"progress-bar"},s("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),s("calcite-notice",{class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},s("div",{slot:"message"},this._translations.featureEditFormInfoMsg)),s("create-feature",{customizeSubmit:!0,mapView:this.mapView,onDrawComplete:this.onDrawComplete.bind(this),onEditingAttachment:this.showSubmitCancelButton.bind(this),onFail:this.createFeatureFailed.bind(this),onProgressStatus:this.updatedProgressStatus.bind(this),onSuccess:this.onReportSubmitted.bind(this),ref:t=>this._createFeature=t,searchConfiguration:this.searchConfiguration,selectedLayerId:this._selectedLayerId})))}updatedProgressStatus(t){this._updatedProgressBarStatus=t.detail}onDrawComplete(){this._showSubmitCancelButton=!0}showSubmitCancelButton(t){this._showSubmitCancelButton=!t.detail}onSubmitButtonClick(){this._createFeature&&this._createFeature.submit()}backFromCreateFeaturePanel(){this._createFeature&&this._createFeature.close(),this.backFromSelectedPanel()}createFeatureFailed(t){console.error(t.detail),this._featureCreationFailedErrorMsg=t.detail.message}onReportSubmitted(){this._reportSubmitted=!0,this.navigateToHomePage()}async navigateToHomePage(){this._createFeature&&this._createFeature.close(),this._layerList&&this._layerList.refresh(),this.setSelectedFeatures([]),1===this._editableLayerIds.length?(await this._featureList.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(t){t.detail.layerId&&t.detail.layerName&&this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this._showSubmitCancelButton=!1,this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this._flowItems=[...this._flowItems,"reporting-layer-list"]}async layerListLoaded(t){const i=t.detail,s=await o(this.mapView);this._validLayers=[],s.forEach((t=>{i.includes(t.id)&&this._validLayers.push(t)})),this.handleMapClick(),this._hasValidLayers=i.length>0,this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}displayFeaturesList(t){this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this._flowItems=[...this._flowItems,"feature-list"]}backFromSelectedPanel(){this._updatedProgressBarStatus=.25;const t=[...this._flowItems];t.pop(),this.clearHighlights(),1!==t.length||"layer-list"!==t[0]?this._flowItems=[...t]:this.navigateToHomePage()}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit(this._sidePanelCollapsed)}async onFeatureSelectFromList(t){this.setSelectedFeatures([t.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async updatingFeatureDetails(t){this._loadingFeatureDetails=t}getFeatureListFlowItem(t,i){var e;const a=(null===(e=this.layerExpressions)||void 0===e?void 0:e.filter((t=>t.id===this._selectedLayerId))).length>0;return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:i,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},a&&s("calcite-action",{icon:"filter",indicator:this._filterActive,onClick:this._toggleFilter.bind(this),slot:this.isMobile?"header-menu-actions":"header-actions-end",text:this._translations.filter,"text-enabled":this.isMobile}),this.isMobile&&this.getActionToExpandCollapsePanel(),this.enableNewReports&&s("calcite-button",{appearance:"solid",onClick:this.navigateToCreateFeature.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),s("calcite-panel",{"full-height":!0},s("feature-list",{class:"height-full",highlightOnHover:!0,mapView:this.mapView,noFeaturesFoundMsg:this._translations.featureErrorMsg,onFeatureSelect:this.onFeatureSelectFromList.bind(this),pageSize:30,ref:t=>this._featureList=t,selectedLayerId:t})))}getFeatureDetailsFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,loading:this._loadingFeatureDetails,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),s("instant-apps-social-share",{autoUpdateShareUrl:!1,embed:!1,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",slot:"header-actions-end",socialMedia:!0,view:this.mapView}),s("calcite-panel",null,this._selectedFeature.length>1&&this.getFeaturesPagination(),s("feature-details",{class:"full-height",graphics:this._selectedFeature,mapView:this.mapView,onLoadingStatus:t=>{this.updatingFeatureDetails(t.detail)},ref:t=>this._featureDetails=t,reportingOptions:this.reportingOptions})))}getFeaturesPagination(){return s("div",{class:"feature-pagination",slot:"header-actions-start"},s("div",null,s("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-left",id:"solutions-back",onClick:()=>{this._featureDetails.back()},scale:"s",width:"full"}),s("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},s("span",null,this._translations.back))),s("calcite-button",{appearance:"transparent",class:"pagination-action",onClick:()=>{this._featureDetails.toggleListView()},scale:"s"},s("span",{class:"pagination-count"},this._getCount())),s("div",null,s("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-right",id:"solutions-next",onClick:()=>{this._featureDetails.next()},scale:"s",width:"full"}),s("calcite-tooltip",{placement:"top","reference-element":"solutions-next"},s("span",null,this._translations.next))))}setSelectedFeatures(t){this._selectedFeature=t,this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:null)}setCurrentFeature(t){if(t&&t.layer){const i=t.layer;this.setSelectedLayer(i.id,i.title),this._currentFeatureId=t.attributes[i.objectIdField]}else this._editableLayerIds.length>1&&this.setSelectedLayer("",""),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(t){if(this.clearHighlights(),t&&t.geometry&&t.layer){const i=await n(this.mapView,t.layer.id);i.highlightOptions=null,this._highlightHandle=await c([t.getObjectId()],i,this.mapView,!0,this.zoomToScale)}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return s("calcite-action",{icon:this._sidePanelCollapsed?"chevrons-up":"chevrons-down",onClick:this.toggleSidePanel.bind(this),slot:"header-actions-end",text:this._sidePanelCollapsed?this._translations.expand:this._translations.collapse})}async setMapView(){var t;await this.getLayersToShowInList(),1===(null===(t=this._editableLayerIds)||void 0===t?void 0:t.length)?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0)}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",this.onMapClick.bind(this))}async onMapClick(t){this.mapView.popupEnabled=!1;const i=await this.mapView.hitTest(t);if(i.results.length>0){const t=[];i.results.forEach((function(i){"graphic"===i.type&&t.push(i.graphic)}));const s=t.filter((t=>this._validLayers.includes(t.layer))),e=t.filter((t=>{var i;return!this._validLayers.includes(t.layer)&&(null===(i=null==t?void 0:t.layer)||void 0===i?void 0:i.id)}));if(s.length>0&&(this.setSelectedFeatures(s),this._flowItems.length&&"feature-details"!==this._flowItems[this._flowItems.length-1]?this._flowItems=[...this._flowItems,"feature-details"]:(this._flowItems=[...this._flowItems],this.highlightOnMap(t[0]))),e.length>0){this.mapView.popupEnabled=!0;const t={features:e,updateLocationEnabled:!0};await this.mapView.openPopup(t)}}}_getCount(){const t=(this.selectedFeatureIndex+1).toString(),i=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",i)}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}reduceToConfiguredLayers(t){var i;const s=(null===(i=this.layers)||void 0===i?void 0:i.length)>0?this.layers:[];return Object.keys(t).reduce(((i,e)=>{let a=t[e].supportsAdd;return(null==s?void 0:s.length)>0&&(a=s.indexOf(e)>-1&&t[e].supportsAdd),a&&i.push(e),i}),[])}async getLayersToShowInList(){const t=await r(this.mapView,!0);(await o(this.mapView)).forEach((i=>{var s,e;"feature"===(null==i?void 0:i.type)&&(null==i?void 0:i.editingEnabled)&&(null===(e=null===(s=null==i?void 0:i.capabilities)||void 0===s?void 0:s.operations)||void 0===e?void 0:e.supportsAdd)&&(t[i.id].supportsAdd=!0)})),this._editableLayerIds=this.reduceToConfiguredLayers(t)}async renderFeaturesList(){const t={detail:this._editableLayerIds};await this.layerListLoaded(t),this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0].title),this._flowItems=["feature-list"]}_updateShareURL(){var t,i;const s=null===(t=this._shareNode)||void 0===t?void 0:t.shareUrl;if(!s)return;const e=new URL(s);this._selectedLayerId?e.searchParams.set("layerid",this._selectedLayerId):e.searchParams.delete("layerid"),(null===(i=this._selectedFeature)||void 0===i?void 0:i.length)?e.searchParams.set("oid",this._currentFeatureId):e.searchParams.delete("oid"),this._shareNode.shareUrl=e.href}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){const t=await d(this.mapView,this.layerId);if(t){const i=await u([Number(this.objectId)],t,[],!0,this.mapView.spatialReference);i.length&&(this._selectedFeature=i,this._flowItems=this._flowItems.length&&"feature-details"!==this._flowItems[this._flowItems.length-1]?[...this._flowItems,"feature-details"]:[...this._flowItems],await this.highlightOnMap(i[0]))}}}get el(){return a(this)}static get watchers(){return{isMobile:["isMobileWatchHandler"],mapView:["mapViewWatchHandler"]}}};p.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{align-items:center;margin:5% 124%;display:flex}.pagination-count{width:32px;color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand)}.report-submitted-msg{position:absolute;z-index:1000}";export{p as crowdsource_reporter}
|
@@ -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 t,h as e}from"./p-7d280d8a.js";import{a as o}from"./p-3dd92f0d.js";import{S as n}from"./p-66ff2c3f.js";import{S as a}from"./p-4c5d243f.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v2.4.0
|
11
|
-
*/const i=150,c=t=>t.reduce(((t,e)=>t+e),0)/t.length,l=t=>{const e=t.filter((t=>t.slot!==n.menuActions)),o=e?.length;return{actionWidth:o?c(e.map((t=>t.clientWidth||0))):0,actionHeight:o?c(e.map((t=>t.clientHeight||0))):0}},r=({layout:t,actionCount:e,actionWidth:o,width:n,actionHeight:a,height:i,groupCount:c})=>Math.max(e-(({width:t,actionWidth:e,layout:o,height:n,actionHeight:a,groupCount:i})=>Math.floor((("horizontal"===o?t:n)-2*i)/("horizontal"===o?e:a)))({width:n,actionWidth:o,layout:t,height:i,actionHeight:a,groupCount:c}),0),s=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===a.trigger)),d=({actionGroups:e,expanded:o,overflowCount:a})=>{let i=a;e.reverse().forEach((e=>{let a=0;const c=s(e).reverse();c.forEach((t=>{t.slot===n.menuActions&&(t.removeAttribute("slot"),t.textEnabled=o)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",n.menuActions),a++,a>1&&i--),i<1))),t(e)}))};function p({el:t,expanded:e}){s(t).filter((t=>t.slot!==n.menuActions)).forEach((t=>t.textEnabled=e)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=e))}const h=({expanded:t,expandText:n,collapseText:a,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:d})=>{const p="rtl"===o(c),h=t?a:n,u=["chevrons-left","chevrons-right"];p&&u.reverse();const f="end"===function(t,e){return t||e.closest("calcite-shell-panel")?.position||"start"}(l,c),g=e("calcite-action",{icon:t?f?u[1]:u[0]:f?u[0]:u[1],onClick:i,scale:d,text:h,textEnabled:t,title:t||r?null:h,ref:e=>(({tooltip:t,referenceElement:e,expanded:o,ref:n})=>(t&&(t.referenceElement=!o&&e?e:null),n&&n(e),e))({tooltip:r,referenceElement:e,expanded:t,ref:s})});return g};export{h as E,d as a,r as b,l as g,i as o,s as q,p as t}
|
@@ -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,F as e,g as i}from"./p-7d280d8a.js";import{g as r,a as l,s as o,E as c,b as p,l as g,c as u}from"./p-15a0e7fb.js";import{l as d}from"./p-89218b6e.js";import{c as h}from"./p-fc2fb61b.js";import{g as v,f as m}from"./p-12a7d0d1.js";import"./p-18f1e8b5.js";import"./p-8ddc7786.js";import"./p-e2d0ad1b.js";import"./p-e85ba21c.js";const _="instant-apps-language-translator",b={BASE:_,header:`${_}__header`,headerText:`${_}__header-text`,savingIndicator:`${_}__saving-indicator`,closeButton:`${_}__close-button`,headerTip:`${_}__header-tip`,topBar:`${_}__top-bar`,topBarSection:`${_}__top-bar-section`,collapseSearchContainer:`${_}__collapse-search-container`,userLangText:`${_}__user-lang-text`,lastItem:`${_}--last-item`,writingIcon:`${_}__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 r(a);return this.messages=t,Promise.resolve()}catch(a){return Promise.reject()}}initUIData(){const{appSettings:a,locales:t}=this,n=l(a,t);o.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=o.get("currentLanguage");0===this.locales.filter((a=>a.locale===e)).length&&o.set("currentLanguage",s)}async initPortalItemResourceT9nData(){try{const a=await v(this.portalItem);o.set("portalItemResource",a);const t=await m(this.request,a);o.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:b.headerTip},null===(a=this.messages)||void 0===a?void 0:a.headerTip))}renderHeader(){const a=o.get("saving");return n("header",{class:b.header,slot:"header"},this.renderHeaderText(),a?this.renderSavingIndicator():null)}renderHeaderText(){const{messages:a}=this;return n("div",{class:b.headerText},n("span",null,null==a?void 0:a.header),n("calcite-button",{id:"headerTip",appearance:"transparent"},n("calcite-icon",{icon:c.Popover,scale:"s"})))}renderSavingIndicator(){var a;const t=o.get("saving"),s=null===(a=this.messages)||void 0===a?void 0:a.saving;return n("div",{class:b.savingIndicator},t?n("calcite-loader",{label:s,inline:!0}):null,n("span",null,s))}renderContent(){const a=p(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:b.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return n("div",{class:b.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.languages,s=h(this.el);return n("div",{class:b.userLangText},null==t?void 0:t[s])}renderCollapseSearchContainer(){return n("div",{class:b.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(e,null,n("slot",{name:"primary-custom-action"}),n("slot",{name:"secondary-custom-action"}),n("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":c.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:b.topBarSection},this.renderLanguageSelection(),n("slot",{name:"translation-custom-action"}))}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=o.get("uiData"),t=null==a?void 0:a.get("locales"),s=p(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==g?void 0:g.uiData))return;const a=u();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;const r=null===(i=null===(e=this.appSettings)||void 0===e?void 0:e.translatedLanguageLabels)||void 0===i?void 0:i[g.currentLanguage],l=`${t===s-1?b.lastItem:""}`,o=this.appSettings.content.filter((t=>t.id===a))[0];return n("instant-apps-language-translator-item",{key:`${a}-${t}`,class:l,fieldName:a,translatedLanguageLabels:r,setting:o,userLocaleInputOnChangeCallback:this.userLocaleInputOnChangeCallback,translatedLocaleInputOnChangeCallback:this.translatedLocaleInputOnChangeCallback})}renderPrimaryButton(){var a;return n("calcite-button",{onClick:()=>this.open=!1,slot:"primary",class:b.closeButton},null===(a=this.messages)||void 0===a?void 0:a.close)}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;const a=new Map(g.uiData);u().forEach((t=>a.get(t).expanded=this.isCollapse)),o.set("uiData",a)}onSuggestionSelect(a){const t=a.detail,n=new Map(g.uiData);u().forEach((a=>{n.get(a).selected=a===t})),o.set("uiData",n)}close(){this.open=!1}handleLanguageSelection(a){o.set("currentLanguage",a.target.value)}async getTranslationData(){return o.get("portalItemResourceT9n")}async setTranslationData(a){return o.set("portalItemResourceT9n",a)}async getPortalItemResource(){return o.get("portalItemResource")}async batchWriteToPortalItemResource(a){o.set("saving",!0);try{const t=await this.getPortalItemResource(),n=JSON.stringify(a),s=new Blob([n],{type:"application/json"});return await t.update(s),setTimeout((()=>o.set("saving",!1)),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),o.set("saving",!1),Promise.reject()}}get el(){return i(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}
|
@@ -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 e,c as t,h as i,g as n,F as o}from"./p-7d280d8a.js";import{u as s,s as a,f as l,t as r}from"./p-3dd92f0d.js";import{c,u as d,d as h,I as p}from"./p-6d520a58.js";import{s as m,a as b,c as f}from"./p-a4149333.js";import{c as u}from"./p-1f65ab1e.js";import{S as g}from"./p-4c5d243f.js";import{H as x}from"./p-76bd5032.js";import{S as v,C as w,I as y}from"./p-7d04ff20.js";import{c as k,d as z}from"./p-13f2d901.js";import{c as C,s as S,d as j,u as A}from"./p-05cb50f9.js";import{c as E,d as I}from"./p-de9522e9.js";import"./p-5a9a971a.js";import"./p-7c2be8cc.js";import"./p-ba7d55ea.js";import"./p-e7afc0a8.js";const H=class{constructor(i){e(this,i),this.calcitePanelClose=t(this,"calcitePanelClose",6),this.calcitePanelToggle=t(this,"calcitePanelToggle",6),this.calcitePanelScroll=t(this,"calcitePanelScroll",6),this.resizeObserver=u("resize",(()=>this.resizeHandler())),this.resizeHandler=()=>{const{panelScrollEl:e}=this;e&&"number"==typeof e.scrollHeight&&"number"==typeof e.offsetHeight&&(e.tabIndex=e.scrollHeight>e.offsetHeight?0:-1)},this.setContainerRef=e=>{this.containerEl=e},this.panelKeyDownHandler=e=>{this.closable&&"Escape"===e.key&&!e.defaultPrevented&&(this.close(),e.preventDefault())},this.close=()=>{this.closed=!0,this.calcitePanelClose.emit()},this.collapse=()=>{this.collapsed=!this.collapsed,this.calcitePanelToggle.emit()},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.handleHeaderActionsStartSlotChange=e=>{this.hasStartActions=s(e)},this.handleHeaderActionsEndSlotChange=e=>{this.hasEndActions=s(e)},this.handleHeaderMenuActionsSlotChange=e=>{this.hasMenuItems=s(e)},this.handleActionBarSlotChange=e=>{const t=a(e).filter((e=>null==e?void 0:e.matches("calcite-action-bar")));t.forEach((e=>e.layout="horizontal")),this.hasActionBar=!!t.length},this.handleHeaderContentSlotChange=e=>{this.hasHeaderContent=s(e)},this.handleFooterSlotChange=e=>{this.hasFooterContent=s(e)},this.handleFooterActionsSlotChange=e=>{this.hasFooterActions=s(e)},this.handleFabSlotChange=e=>{this.hasFab=s(e)},this.setPanelScrollEl=e=>{var t,i;this.panelScrollEl=e,null===(t=this.resizeObserver)||void 0===t||t.disconnect(),e&&(null===(i=this.resizeObserver)||void 0===i||i.observe(e),this.resizeHandler())},this.closed=!1,this.disabled=!1,this.closable=!1,this.collapsed=!1,this.collapseDirection="down",this.collapsible=!1,this.headingLevel=void 0,this.loading=!1,this.heading=void 0,this.description=void 0,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.overlayPositioning="absolute",this.hasStartActions=!1,this.hasEndActions=!1,this.hasMenuItems=!1,this.hasHeaderContent=!1,this.hasActionBar=!1,this.hasFooterContent=!1,this.hasFooterActions=!1,this.hasFab=!1,this.defaultMessages=void 0,this.effectiveLocale="",this.showHeaderContent=!1}onMessagesChange(){}connectedCallback(){c(this),k(this),C(this)}async componentWillLoad(){m(this),await S(this)}componentDidLoad(){b(this)}componentDidRender(){d(this)}disconnectedCallback(){var e;h(this),z(this),j(this),null===(e=this.resizeObserver)||void 0===e||e.disconnect()}effectiveLocaleChange(){A(this,this.effectiveLocale)}async setFocus(){await f(this),l(this.containerEl)}async scrollContentTo(e){var t;null===(t=this.panelScrollEl)||void 0===t||t.scrollTo(e)}renderHeaderContent(){const{heading:e,headingLevel:t,description:n,hasHeaderContent:o}=this,s=e?i(x,{class:w.heading,level:t},e):null,a=n?i("span",{class:w.description},n):null;return o||!s&&!a?null:i("div",{class:w.headerContent,key:"header-content"},s,a)}renderActionBar(){return i("div",{class:w.actionBarContainer,hidden:!this.hasActionBar},i("slot",{name:v.actionBar,onSlotchange:this.handleActionBarSlotChange}))}renderHeaderSlottedContent(){return i("div",{class:w.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:v.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:e}=this;return i("div",{class:{[w.headerActionsStart]:!0,[w.headerActions]:!0},hidden:!e,key:"header-actions-start"},i("slot",{name:v.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{hasEndActions:e,messages:t,closable:n,collapsed:o,collapseDirection:s,collapsible:a,hasMenuItems:l}=this,{collapse:c,expand:d,close:h}=t,p=[y.expand,y.collapse];"up"===s&&p.reverse();const m=a?i("calcite-action",{"aria-expanded":r(!o),"aria-label":c,"data-test":"collapse",icon:o?p[0]:p[1],onClick:this.collapse,text:c,title:o?d:c}):null,b=n?i("calcite-action",{"aria-label":h,"data-test":"close",icon:y.close,onClick:this.close,text:h,title:h}):null,f=i("slot",{name:v.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange});return i("div",{class:{[w.headerActionsEnd]:!0,[w.headerActions]:!0},hidden:!(e||m||b||l),key:"header-actions-end"},f,this.renderMenu(),m,b)}renderMenu(){const{hasMenuItems:e,messages:t,menuOpen:n}=this;return i("calcite-action-menu",{flipPlacements:["top","bottom"],hidden:!e,key:"menu",label:t.options,open:n,overlayPositioning:this.overlayPositioning,placement:"bottom-end"},i("calcite-action",{icon:y.menu,slot:g.trigger,text:t.options}),i("slot",{name:v.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:e,hasStartActions:t,hasEndActions:n,closable:o,collapsible:s,hasMenuItems:a,hasActionBar:l}=this,r=this.renderHeaderContent(),c=e||!!r||t||n||s||o||a;return this.showHeaderContent=c,i("header",{class:w.header,hidden:!(c||l)},i("div",{class:{[w.headerContainer]:!0,[w.headerContainerBorderEnd]:l},hidden:!c},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),r,this.renderHeaderActionsEnd()),this.renderActionBar())}renderFooterNode(){const{hasFooterContent:e,hasFooterActions:t}=this;return i("footer",{class:w.footer,hidden:!(e||t)},i("slot",{key:"footer-slot",name:v.footer,onSlotchange:this.handleFooterSlotChange}),i("slot",{key:"footer-actions-slot",name:v.footerActions,onSlotchange:this.handleFooterActionsSlotChange}))}renderContent(){return i("div",{class:w.contentWrapper,hidden:this.collapsible&&this.collapsed,onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},i("slot",null),this.renderFab())}renderFab(){return i("div",{class:w.fabContainer,hidden:!this.hasFab},i("slot",{name:v.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{disabled:e,loading:t,panelKeyDownHandler:n,closed:o,closable:s}=this,a=i("article",{"aria-busy":r(t),class:w.container,hidden:o,onKeyDown:n,tabIndex:s?0:-1,ref:this.setContainerRef},this.renderHeaderNode(),this.renderContent(),this.renderFooterNode());return i(p,{disabled:e},t?i("calcite-scrim",{loading:t}):null,a)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};H.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-color-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}.container[hidden]{display:none}.header{z-index:var(--calcite-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-color-foreground-1);border-block-end:var(--calcite-panel-header-border-block-end, 1px solid var(--calcite-color-border-3))}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-color-border-3)}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;background-color:var(--calcite-color-background)}.footer{display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding:var(--calcite-panel-footer-padding, 0.5rem);border-block-start:1px solid var(--calcite-color-border-3)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}:host([hidden]){display:none}[hidden]{display:none}";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v2.4.0
|
11
|
-
*/
|
12
|
-
const L="content",D=class{constructor(t){e(this,t),this.handleHeaderSlotChange=e=>{this.hasHeader=!!s(e)},this.handleFooterSlotChange=e=>{this.hasFooter=!!s(e)},this.handleAlertsSlotChange=e=>{var t;this.hasAlerts=!!s(e),null===(t=a(e))||void 0===t||t.map((e=>{"CALCITE-ALERT"===e.nodeName&&(e.slottedInShell=!0)}))},this.handleSheetsSlotChange=e=>{var t;this.hasSheets=!!s(e),null===(t=a(e))||void 0===t||t.map((e=>{"CALCITE-SHEET"===e.nodeName&&(e.slottedInShell=!0)}))},this.handleModalsSlotChange=e=>{var t;this.hasModals=!!s(e),null===(t=a(e))||void 0===t||t.map((e=>{"CALCITE-MODAL"===e.nodeName&&(e.slottedInShell=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1,this.hasSheets=!1,this.panelIsResizing=!1}handleCalciteInternalShellPanelResizeStart(e){this.panelIsResizing=!0,e.stopPropagation()}handleCalciteInternalShellPanelResizeEnd(e){this.panelIsResizing=!1,e.stopPropagation()}connectedCallback(){E(this)}disconnectedCallback(){I(this)}renderHeader(){return i("div",{hidden:!this.hasHeader},i("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return i("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},i("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return i("div",{hidden:!this.hasAlerts},i("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderSheets(){return i("div",{hidden:!this.hasSheets},i("slot",{key:"sheets",name:"sheets",onSlotchange:this.handleSheetsSlotChange}))}renderModals(){return i("div",{hidden:!this.hasModals},i("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderContent(){const{panelIsResizing:e}=this,t=i("slot",{key:"default-slot"}),n=e?i("div",{class:"content--non-interactive"},t):t,o=i("slot",{key:"center-row-slot",name:"center-row"}),s=i("slot",{key:"panel-bottom-slot",name:"panel-bottom"}),a=i("slot",{key:"panel-top-slot",name:"panel-top"}),l="content-container";return this.contentBehind?[i("div",{class:{[L]:!0,"content--behind":!0},key:l},n),i("div",{class:"center-content"},a,s,o)]:[i("div",{class:L,key:l},a,n,s,o)]}renderMain(){return i("div",{class:"main"},i("slot",{name:"panel-start"}),this.renderContent(),i("slot",{name:"panel-end"}))}renderPositionedSlots(){return i("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals(),this.renderSheets())}render(){return i(o,null,this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return n(this)}};D.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content,.content--non-interactive{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap}.content{overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(var(--calcite-z-index) - 1);display:initial}.content--non-interactive{pointer-events:none}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-color-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-color-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -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);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}:host([hidden]){display:none}[hidden]{display:none}";export{H as calcite_panel,D as calcite_shell}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{g as t}from"./p-fc9fe5fb.js";import{e as s,g as i,t as e}from"./p-3dd92f0d.js";import{S as n}from"./p-d5ce0c2b.js";import{d as o}from"./p-a82f35c9.js";import{h as r,H as a}from"./p-7d280d8a.js";import{C as c,S as l}from"./p-48bef730.js";import{I as h}from"./p-6d520a58.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v2.4.0
|
11
|
-
*/function u(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const f=["ArrowUp","ArrowDown"];function d(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=o(y.bind(this),0),this.emitCalciteListFilter=o(x.bind(this),0)}function m(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}function p(){this.mutationObserver?.disconnect()}function b(t){const{selectedValues:i}=this,{item:e,value:n,selected:o,shiftPressed:r}=t.detail;o?(this.multiple&&r&&this.selectSiblings(e),this.multiple||this.deselectSiblingItems(e),i.set(n,e)):(i.delete(n),this.multiple&&r&&this.selectSiblings(e,!0)),this.multiple||(E(e,o),o&&s(e)),this.lastSelectedItem=e,this.emitCalciteListChange()}function g(t){const s=t.detail.oldValue,i=this.selectedValues;if(i.has(s)){const e=i.get(s);i.delete(s),i.set(t.detail.newValue,e)}t.stopPropagation()}function v(t){const{el:s,items:i,multiple:e,selectedValues:n}=this;e||s.contains(t.relatedTarget)||A(i).forEach((s=>{E(s,0===n.size?s.contains(t.target)||t.target===s:s.selected)}))}function w(t){const{key:i,target:e}=t;if(!function(t){return!!f.find((s=>s===t))}(i))return;const{items:n,multiple:o,selectionFollowsFocus:r}=this,{length:a}=n,c=n.indexOf(e);if(!a||-1===c)return;t.preventDefault();const l=n[F(this,e,"ArrowUp"===i?"up":"down")];n.forEach((t=>E(t,t===l))),!o&&r&&(l.selected=!0),s(l)}function F(s,i,e){const{items:n}=s,{length:o}=n,r=n.indexOf(i),a="up"===e?-1:1;let c=1,l=t(r+a*c++,o);const h=l;for(;n[l].disabled&&(l=t(r+a*c++,o),l!==h););return l}function j(t,s){const{items:i}=t;return i.indexOf(s)}function A(t){return t.filter((t=>!t.disabled))}function x(){this.calciteListFilter.emit()}function y(){this.calciteListChange.emit(this.selectedValues)}function C(t){if(t.defaultPrevented)return;const s=t.target,i=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===s.parentElement.tagName&&s.slot===n.parentItem?(s.parentElement.remove(),Array.from(s.parentElement.children).forEach((t=>i.delete(t.value)))):(s.remove(),i.delete(s.value)),this.emitCalciteListChange()}function E(t,s){t.disabled||(s?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function I(t){if(this.filterEnabled&&"filter"===t)return void await s(this.filterEl);const{items:i,multiple:e,selectionFollowsFocus:n}=this;if(0===i.length)return;if(e)return A(i)[0]?.setFocus();const o=A(i),r=o.find((t=>t.selected))||o[0];return n&&r&&(r.selected=!0),r.setFocus()}function L(t){this.items=Array.from(this.el.querySelectorAll(t));let s=!1;const{items:i}=this;i.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.deselectDisabled=!0,E(t,!1)),t.selected&&(s=!0,E(t,!0),this.selectedValues.set(t.value,t))}));const[e]=i;s||!e||e.disabled||E(e,!0)}function P(){const t=this.selectedValues,s=this.items.map((({value:t})=>t));t.forEach((t=>{s.includes(t.value)||this.selectedValues.delete(t.value)}))}function S(t){this.items.forEach((s=>{s.value!==t.value&&(s.toggleSelected(!1),this.selectedValues.has(s.value)&&this.selectedValues.delete(s.value))}))}function T(t,s=!1){if(!this.lastSelectedItem)return;const{items:i}=this,e=i.findIndex((t=>t.value===this.lastSelectedItem.value)),n=i.findIndex((s=>s.value===t.value));i.slice(Math.min(e,n),Math.max(e,n)).forEach((t=>{t.toggleSelected(!s),s?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let k;function U(t=!1){const{filteredData:s,filterText:e}=this,n=s.map((t=>t.value));let o=!1;k||(k=new Set);const r=this.items?.filter((t=>{const s=t.parentElement;s.matches("calcite-pick-list-group")&&k.add(s);const i=!e||n.includes(t.value);return t.hidden=!i,o||(o=i&&t.selected),i}))||[];k.forEach((t=>{const s=r.some((s=>t.contains(s)));if(t.hidden=!s,!s)return;const e=i(t,"parent-item");e&&(e.hidden=!1,r.includes(e)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),k.clear(),r.length>0&&!o&&!this.multiple&&E(r[0],!0),this.setFilteredItems(r),t&&this.emitCalciteListFilter()}function D(){const t=this.filterEl?.filteredItems;t&&(this.filteredData=t),this.handleFilter()}function M(t){t.stopPropagation();const{filteredItems:s,value:i}=t.currentTarget;this.filterText=i,this.filteredData=s,this.handleFilter(!0)}function V(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}
|
12
|
-
/*!
|
13
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
15
|
-
* v2.4.0
|
16
|
-
*/const q=({props:{disabled:t,loading:s,filterEnabled:i,dataForFilter:n,handleFilterEvent:o,filterPlaceholder:u,filterText:f,setFilterEl:d,dragEnabled:m,storeAssistiveEl:p},...b})=>{const g=r("slot",null);return r(a,{"aria-busy":e(s),role:"menu",...b},r(h,{disabled:t},r("section",null,m?r("span",{"aria-live":"assertive",class:"assistive-text",ref:p}):null,r("header",{class:{[c.sticky]:!0}},i?r("calcite-filter",{"aria-label":u,disabled:t,items:n,onCalciteFilterChange:o,placeholder:u,value:f,ref:d}):null,r("slot",{name:l.menuActions})),s?r("calcite-scrim",{loading:s}):null,g)))};export{q as L,S as a,M as b,m as c,P as d,p as e,D as f,V as g,U as h,d as i,b as j,w as k,g as l,u as m,v as n,L as o,I as p,j as q,C as r,T as s,F as t}
|