@esri/solutions-components 0.8.3 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +5 -5
- package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-avatar.cjs.entry.js +4 -4
- package/dist/cjs/calcite-block-section.cjs.entry.js +8 -8
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +8 -8
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-color-picker.cjs.entry.js +22 -22
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +12 -12
- package/dist/cjs/calcite-label.cjs.entry.js +4 -4
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-meter.cjs.entry.js +8 -8
- package/dist/cjs/calcite-modal.cjs.entry.js +11 -17
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation.cjs.entry.js +4 -4
- package/dist/cjs/calcite-notice.cjs.entry.js +10 -10
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -201
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +23 -23
- package/dist/cjs/calcite-pick-list.cjs.entry.js +10 -10
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-rating.cjs.entry.js +12 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sheet.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +5 -5
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +7 -7
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +10 -10
- package/dist/cjs/calcite-stepper.cjs.entry.js +7 -7
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table-row.cjs.entry.js +6 -6
- package/dist/cjs/calcite-table.cjs.entry.js +9 -9
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -15
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tile-select.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-time-picker.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +8 -15
- package/dist/cjs/calcite-tip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tooltip.cjs.entry.js +7 -7
- package/dist/cjs/card-manager_3.cjs.entry.js +1 -1
- package/dist/cjs/consent-manager.cjs.entry.js +15 -379
- package/dist/cjs/crowdsource-manager.cjs.entry.js +5 -7
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +7 -9
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/{downloadUtils-1f283d95.js → downloadUtils-8b05d7cc.js} +3 -3
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/index.cjs.js +0 -15
- package/dist/cjs/{index.es-4af23ecc.js → index.es-e7587227.js} +1 -1
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-export.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-header.cjs.entry.js +4 -5
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +21 -25
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +6 -7
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +8 -9
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +9 -9
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +9 -9
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-popover.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-splash.cjs.entry.js +6 -6
- package/dist/cjs/layout-manager.cjs.entry.js +4 -5
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +11 -12
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +1105 -21
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +5 -36
- package/dist/cjs/spatial-ref.cjs.entry.js +6 -7
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/collection/utils/downloadUtils.js +2 -2
- package/dist/collection/utils/downloadUtils.ts +2 -2
- package/dist/components/ExpandToggle.js +8 -8
- package/dist/components/_commonjsHelpers.js +2 -10
- package/dist/components/action-bar.js +3 -3
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action-pad.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/alert.js +2 -2
- package/dist/components/arcgis-login.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/basemap-gallery2.js +1 -1
- package/dist/components/block.js +1 -1
- package/dist/components/buffer-tools2.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-color-picker.js +5 -5
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -5
- package/dist/components/calcite-input-time-zone.js +2 -2
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-pick-list-group.js +3 -3
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -3
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-text-area.js +2 -2
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -8
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/card-manager2.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +3 -314
- package/dist/components/consent-manager.js +13 -376
- package/dist/components/create-feature2.js +1 -1
- package/dist/components/crowdsource-manager.js +1 -1
- package/dist/components/crowdsource-reporter.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +1 -1
- package/dist/components/dom.js +1 -28
- package/dist/components/downloadUtils.js +99 -1179
- package/dist/components/dropdown-group.js +1 -1
- package/dist/components/dropdown-item.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/esri-loader.js +3 -8
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/feature-list2.js +1 -1
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/filter.js +718 -1
- package/dist/components/filter2.js +2 -2
- package/dist/components/floating-ui.js +7 -384
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/flow-item.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/helpers.js +2 -6
- package/dist/components/html2canvas.js +3 -8
- package/dist/components/icon.js +1 -1
- package/dist/components/index.es.js +22 -555
- package/dist/components/index.js +0 -16
- package/dist/components/index2.js +0 -3
- package/dist/components/index3.js +1865 -41262
- package/dist/components/index5.js +185 -2086
- package/dist/components/index6.js +55 -188
- package/dist/components/info-card2.js +1 -1
- package/dist/components/input-date-picker.js +1 -1
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
- package/dist/components/instant-apps-control-panel.js +1 -1
- package/dist/components/instant-apps-export.js +1 -1
- package/dist/components/instant-apps-filter-list2.js +1 -2
- package/dist/components/instant-apps-header2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-classic2.js +7 -10
- package/dist/components/instant-apps-interactive-legend-count2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +1 -1
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-relationship2.js +1 -1
- package/dist/components/instant-apps-interactive-legend.js +1 -1
- package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
- package/dist/components/instant-apps-landing-page.js +1 -1
- package/dist/components/instant-apps-language-switcher.js +1 -1
- package/dist/components/instant-apps-language-translator-item2.js +1 -1
- package/dist/components/instant-apps-language-translator-search2.js +1 -1
- package/dist/components/instant-apps-language-translator2.js +1 -1
- package/dist/components/instant-apps-measurement-tool2.js +1 -1
- package/dist/components/instant-apps-measurement.js +1 -1
- package/dist/components/instant-apps-popover.js +1 -1
- package/dist/components/instant-apps-popovers.js +1 -1
- package/dist/components/instant-apps-scoreboard.js +1 -1
- package/dist/components/instant-apps-social-share2.js +1 -1
- package/dist/components/instant-apps-splash.js +2 -2
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/key.js +0 -28
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/languageUtil.js +1 -22
- package/dist/components/layer-list2.js +1 -1
- package/dist/components/layer-table2.js +1 -1
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/list-item.js +1 -1
- package/dist/components/list.js +2 -2
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +0 -12
- package/dist/components/locale2.js +1 -2
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/map-card2.js +1 -1
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +1 -1
- package/dist/components/map-tools2.js +1 -3
- package/dist/components/menu.js +1 -1
- package/dist/components/modal.js +1 -7
- package/dist/components/mode.js +0 -8
- package/dist/components/notice.js +1 -1
- package/dist/components/openCloseComponent.js +0 -48
- package/dist/components/option.js +1 -1
- package/dist/components/pagination.js +1 -194
- package/dist/components/panel.js +1 -2
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/public-notification.js +1 -1
- package/dist/components/purify.js +2 -5
- package/dist/components/queryUtils.js +0 -43
- package/dist/components/radio-button.js +1 -1
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/resources.js +0 -17
- package/dist/components/resources4.js +0 -3
- package/dist/components/scrim.js +1 -1
- package/dist/components/segmented-control-item.js +1 -1
- package/dist/components/segmented-control.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/share-item.js +1 -1
- package/dist/components/shared-list-render.js +1 -6
- package/dist/components/shell-panel.js +1 -1
- package/dist/components/shell.js +1 -1
- package/dist/components/slider.js +1 -3
- package/dist/components/solution-configuration.js +1088 -2
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +3 -2
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-store.js +756 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/sortableComponent.js +0 -701
- package/dist/components/spatial-ref2.js +4 -263
- package/dist/components/stack.js +1 -1
- package/dist/components/store-manager.js +1 -1
- package/dist/components/store.js +0 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tree-item.js +1 -1
- package/dist/components/tree.js +1 -1
- package/dist/components/utils.js +1 -6
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils4.js +0 -12
- package/dist/components/value-list-item.js +1 -1
- package/dist/components/value-list.js +1 -4
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/calcite-accordion-item.entry.js +5 -5
- package/dist/esm/calcite-accordion.entry.js +2 -2
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +4 -4
- package/dist/esm/calcite-block-section.entry.js +8 -8
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +8 -8
- package/dist/esm/calcite-checkbox.entry.js +9 -9
- package/dist/esm/calcite-chip-group.entry.js +7 -7
- package/dist/esm/calcite-color-picker.entry.js +16 -16
- package/dist/esm/calcite-combobox-item-group.entry.js +4 -4
- package/dist/esm/calcite-fab.entry.js +6 -6
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +11 -11
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/calcite-input-time-picker.entry.js +17 -17
- package/dist/esm/calcite-input-time-zone.entry.js +12 -12
- package/dist/esm/calcite-label.entry.js +4 -4
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list-item-group.entry.js +4 -4
- package/dist/esm/calcite-menu-item.entry.js +8 -8
- package/dist/esm/calcite-menu.entry.js +8 -8
- package/dist/esm/calcite-meter.entry.js +8 -8
- package/dist/esm/calcite-modal.entry.js +11 -17
- package/dist/esm/calcite-navigation-logo.entry.js +2 -2
- package/dist/esm/calcite-navigation-user.entry.js +2 -2
- package/dist/esm/calcite-navigation.entry.js +4 -4
- package/dist/esm/calcite-notice.entry.js +10 -10
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-pagination.entry.js +8 -201
- package/dist/esm/calcite-pick-list-group.entry.js +6 -6
- package/dist/esm/calcite-pick-list-item.entry.js +13 -13
- package/dist/esm/calcite-pick-list.entry.js +10 -10
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +8 -8
- package/dist/esm/calcite-rating.entry.js +12 -14
- package/dist/esm/calcite-scrim.entry.js +7 -7
- package/dist/esm/calcite-sheet.entry.js +7 -7
- package/dist/esm/calcite-shell-center-row.entry.js +5 -5
- package/dist/esm/calcite-sortable-list.entry.js +7 -7
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +10 -10
- package/dist/esm/calcite-stepper.entry.js +7 -7
- package/dist/esm/calcite-switch.entry.js +9 -9
- package/dist/esm/calcite-table-row.entry.js +6 -6
- package/dist/esm/calcite-table.entry.js +9 -9
- package/dist/esm/calcite-text-area.entry.js +15 -14
- package/dist/esm/calcite-tile-select-group.entry.js +3 -3
- package/dist/esm/calcite-tile-select.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-time-picker.entry.js +9 -9
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +8 -15
- package/dist/esm/calcite-tip.entry.js +9 -9
- package/dist/esm/calcite-tooltip.entry.js +7 -7
- package/dist/esm/card-manager_3.entry.js +1 -1
- package/dist/esm/consent-manager.entry.js +15 -379
- package/dist/esm/crowdsource-manager.entry.js +5 -7
- package/dist/esm/crowdsource-reporter.entry.js +5 -7
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/{downloadUtils-01e2cb56.js → downloadUtils-0c13073b.js} +3 -3
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/{index.es-ac6f5e76.js → index.es-ad250bc6.js} +1 -1
- package/dist/esm/index.js +0 -15
- package/dist/esm/instant-apps-control-panel.entry.js +4 -4
- package/dist/esm/instant-apps-export.entry.js +7 -7
- package/dist/esm/instant-apps-header.entry.js +4 -5
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +11 -15
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +6 -7
- package/dist/esm/instant-apps-interactive-legend.entry.js +8 -9
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +6 -6
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +9 -9
- package/dist/esm/instant-apps-language-translator.entry.js +9 -9
- package/dist/esm/instant-apps-measurement.entry.js +6 -6
- package/dist/esm/instant-apps-popover.entry.js +6 -6
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +6 -6
- package/dist/esm/instant-apps-splash.entry.js +6 -6
- package/dist/esm/layout-manager.entry.js +4 -5
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +1 -1
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/public-notification.entry.js +10 -11
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/solution-configuration.entry.js +1093 -9
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solutions-components.js +6 -37
- package/dist/esm/spatial-ref.entry.js +6 -7
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/solutions-components/index.esm.js +0 -15
- package/dist/solutions-components/{p-8910dc99.js → p-1d3a1794.js} +2 -2
- package/dist/solutions-components/{p-b4913a01.js → p-590a2a26.js} +1 -1
- package/dist/solutions-components/{p-53ef8adf.entry.js → p-65ad1625.entry.js} +1 -1
- package/dist/solutions-components/{p-04dbc667.entry.js → p-989bf0bf.entry.js} +1 -1
- package/dist/solutions-components/{p-607773a3.entry.js → p-a0611720.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.css +1 -84
- package/dist/solutions-components/solutions-components.esm.js +1 -52
- package/dist/solutions-components/utils/downloadUtils.ts +2 -2
- package/package.json +1 -1
- package/dist/cjs/ExpandToggle-3ab7dfd7.js +0 -118
- package/dist/cjs/FloatingArrow-89e0e55a.js +0 -50
- package/dist/cjs/Heading-9112a4c5.js +0 -25
- package/dist/cjs/InitiativeUiSchemaEdit-108652db.js +0 -28
- package/dist/cjs/ProjectUiSchemaCreate-81217580.js +0 -126
- package/dist/cjs/ProjectUiSchemaEdit-d5f11c17.js +0 -178
- package/dist/cjs/Validation-20182093.js +0 -20
- package/dist/cjs/_commonjsHelpers-ed90c4ad.js +0 -55
- package/dist/cjs/app-globals-379d737f.js +0 -69
- package/dist/cjs/ar-a694ca24.js +0 -105
- package/dist/cjs/basemap-gallery.cjs.entry.js +0 -121
- package/dist/cjs/bg-62b6b3ba.js +0 -83
- package/dist/cjs/browser-fe25aefa.js +0 -28
- package/dist/cjs/bs-e673542b.js +0 -52
- package/dist/cjs/buffer-tools.cjs.entry.js +0 -257
- package/dist/cjs/ca-e4d2f562.js +0 -72
- package/dist/cjs/calcite-action-menu.cjs.entry.js +0 -295
- package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -169
- package/dist/cjs/calcite-action.cjs.entry.js +0 -188
- package/dist/cjs/calcite-alert.cjs.entry.js +0 -322
- package/dist/cjs/calcite-block.cjs.entry.js +0 -214
- package/dist/cjs/calcite-chip.cjs.entry.js +0 -262
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +0 -274
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +0 -99
- package/dist/cjs/calcite-combobox-item.cjs.entry.js +0 -145
- package/dist/cjs/calcite-combobox.cjs.entry.js +0 -1431
- package/dist/cjs/calcite-date-picker-day.cjs.entry.js +0 -97
- package/dist/cjs/calcite-date-picker-month-header.cjs.entry.js +0 -207
- package/dist/cjs/calcite-date-picker-month.cjs.entry.js +0 -362
- package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -460
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js +0 -85
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js +0 -188
- package/dist/cjs/calcite-dropdown.cjs.entry.js +0 -430
- package/dist/cjs/calcite-filter.cjs.entry.js +0 -179
- package/dist/cjs/calcite-flow-item.cjs.entry.js +0 -198
- package/dist/cjs/calcite-flow.cjs.entry.js +0 -153
- package/dist/cjs/calcite-graph.cjs.entry.js +0 -226
- package/dist/cjs/calcite-handle.cjs.entry.js +0 -204
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +0 -744
- package/dist/cjs/calcite-input-message.cjs.entry.js +0 -70
- package/dist/cjs/calcite-input-time-picker-9e93f694.js +0 -1854
- package/dist/cjs/calcite-input.cjs.entry.js +0 -695
- package/dist/cjs/calcite-list-item.cjs.entry.js +0 -454
- package/dist/cjs/calcite-list.cjs.entry.js +0 -567
- package/dist/cjs/calcite-loader.cjs.entry.js +0 -80
- package/dist/cjs/calcite-option.cjs.entry.js +0 -88
- package/dist/cjs/calcite-panel.cjs.entry.js +0 -270
- package/dist/cjs/calcite-popover.cjs.entry.js +0 -418
- package/dist/cjs/calcite-progress.cjs.entry.js +0 -41
- package/dist/cjs/calcite-segmented-control-item.cjs.entry.js +0 -70
- package/dist/cjs/calcite-segmented-control.cjs.entry.js +0 -245
- package/dist/cjs/calcite-select.cjs.entry.js +0 -235
- package/dist/cjs/calcite-shell-panel.cjs.entry.js +0 -414
- package/dist/cjs/calcite-shell.cjs.entry.js +0 -174
- package/dist/cjs/calcite-slider.cjs.entry.js +0 -844
- package/dist/cjs/calcite-stack.cjs.entry.js +0 -74
- package/dist/cjs/calcite-tab-nav.cjs.entry.js +0 -263
- package/dist/cjs/calcite-tab-title.cjs.entry.js +0 -291
- package/dist/cjs/calcite-tab.cjs.entry.js +0 -112
- package/dist/cjs/calcite-table-cell.cjs.entry.js +0 -156
- package/dist/cjs/calcite-table-header.cjs.entry.js +0 -169
- package/dist/cjs/calcite-tabs.cjs.entry.js +0 -178
- package/dist/cjs/calcite-tree-item.cjs.entry.js +0 -296
- package/dist/cjs/calcite-tree.cjs.entry.js +0 -315
- package/dist/cjs/calcite-value-list-item.cjs.entry.js +0 -157
- package/dist/cjs/calcite-value-list.cjs.entry.js +0 -326
- package/dist/cjs/card-manager.cjs.entry.js +0 -107
- package/dist/cjs/common-1b4bd8de.js +0 -297
- package/dist/cjs/conditionalSlot-73e71a05.js +0 -63
- package/dist/cjs/create-feature.cjs.entry.js +0 -263
- package/dist/cjs/cs-1ea34123.js +0 -148
- package/dist/cjs/da-199f5488.js +0 -67
- package/dist/cjs/date-3d094f58.js +0 -261
- package/dist/cjs/de-222afa04.js +0 -92
- package/dist/cjs/de-at-a62870ea.js +0 -91
- package/dist/cjs/de-ch-b0b46c1b.js +0 -91
- package/dist/cjs/delete-button.cjs.entry.js +0 -150
- package/dist/cjs/dom-cf1e2e9f.js +0 -1114
- package/dist/cjs/downloadUtils-de0c0682.js +0 -4246
- package/dist/cjs/edit-card.cjs.entry.js +0 -228
- package/dist/cjs/el-934951a0.js +0 -67
- package/dist/cjs/en-au-6872d248.js +0 -67
- package/dist/cjs/en-ca-7133c4f2.js +0 -66
- package/dist/cjs/en-gb-2c66b954.js +0 -70
- package/dist/cjs/es-48e65aa5.js +0 -67
- package/dist/cjs/es-mx-46d70897.js +0 -66
- package/dist/cjs/esri-loader-5b8fbfa4.js +0 -308
- package/dist/cjs/et-63c5628d.js +0 -93
- package/dist/cjs/feature-list.cjs.entry.js +0 -199
- package/dist/cjs/fi-dc20f9ac.js +0 -116
- package/dist/cjs/filter-cc2705b7.js +0 -48
- package/dist/cjs/floating-ui-90bd00af.js +0 -2350
- package/dist/cjs/floor-filter.cjs.entry.js +0 -111
- package/dist/cjs/focusTrapComponent-946b0666.js +0 -1028
- package/dist/cjs/form-da52e819.js +0 -316
- package/dist/cjs/fr-7067996a.js +0 -69
- package/dist/cjs/fr-ch-dbd7ba02.js +0 -67
- package/dist/cjs/he-4eb6a5a9.js +0 -106
- package/dist/cjs/helpers-7415d67a.js +0 -830
- package/dist/cjs/hi-5563acd4.js +0 -66
- package/dist/cjs/hr-7a0a4191.js +0 -81
- package/dist/cjs/html2canvas-57f1616d.js +0 -7847
- package/dist/cjs/hu-0b69b8fb.js +0 -89
- package/dist/cjs/id-345dd5a9.js +0 -67
- package/dist/cjs/index-5799a29c.js +0 -41521
- package/dist/cjs/index-8c75d784.js +0 -1958
- package/dist/cjs/index-af047760.js +0 -201
- package/dist/cjs/index-b53bfd7c.js +0 -4185
- package/dist/cjs/index.es-152bb462.js +0 -11342
- package/dist/cjs/info-card.cjs.entry.js +0 -320
- package/dist/cjs/instant-apps-ckeditor-wrapper.cjs.entry.js +0 -125
- package/dist/cjs/instant-apps-filter-list.cjs.entry.js +0 -1059
- package/dist/cjs/instant-apps-interactive-legend-count.cjs.entry.js +0 -104
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element.cjs.entry.js +0 -56
- package/dist/cjs/instant-apps-interactive-legend-layer-element-caption.cjs.entry.js +0 -55
- package/dist/cjs/instant-apps-interactive-legend-layer-element.cjs.entry.js +0 -57
- package/dist/cjs/instant-apps-interactive-legend-legend-element-caption.cjs.entry.js +0 -104
- package/dist/cjs/instant-apps-interactive-legend-legend-element.cjs.entry.js +0 -65
- package/dist/cjs/instant-apps-interactive-legend-relationship.cjs.entry.js +0 -552
- package/dist/cjs/instant-apps-language-translator-item.cjs.entry.js +0 -384
- package/dist/cjs/instant-apps-language-translator-search.cjs.entry.js +0 -105
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +0 -139
- package/dist/cjs/instant-apps-social-share.cjs.entry.js +0 -515
- package/dist/cjs/interactive-08e5bc95.js +0 -144
- package/dist/cjs/it-ac7cf3e5.js +0 -67
- package/dist/cjs/it-ch-6f7209eb.js +0 -67
- package/dist/cjs/ja-29e7b0a2.js +0 -73
- package/dist/cjs/json-editor.cjs.entry.js +0 -406
- package/dist/cjs/key-86f4a0b0.js +0 -47
- package/dist/cjs/ko-aeebde8b.js +0 -73
- package/dist/cjs/label-24b05042.js +0 -186
- package/dist/cjs/languageSwitcher-aafa5b47.js +0 -58
- package/dist/cjs/languageUtil-43c3acdc.js +0 -90
- package/dist/cjs/layer-list.cjs.entry.js +0 -207
- package/dist/cjs/layer-table.cjs.entry.js +0 -1487
- package/dist/cjs/loadModules-a67b6702.js +0 -23
- package/dist/cjs/loadModules-b5f244cd.js +0 -30
- package/dist/cjs/loadable-41446b78.js +0 -97
- package/dist/cjs/locale-28c7c569.js +0 -91
- package/dist/cjs/locale-42a9e623.js +0 -152
- package/dist/cjs/locale-a615b02f.js +0 -585
- package/dist/cjs/lodash-7587da9f.js +0 -18030
- package/dist/cjs/lt-6816d14c.js +0 -98
- package/dist/cjs/lv-2c998515.js +0 -67
- package/dist/cjs/map-card.cjs.entry.js +0 -192
- package/dist/cjs/map-draw-tools.cjs.entry.js +0 -358
- package/dist/cjs/map-fullscreen.cjs.entry.js +0 -116
- package/dist/cjs/map-layer-picker.cjs.entry.js +0 -346
- package/dist/cjs/map-legend.cjs.entry.js +0 -109
- package/dist/cjs/map-picker.cjs.entry.js +0 -174
- package/dist/cjs/map-search.cjs.entry.js +0 -184
- package/dist/cjs/map-select-tools.cjs.entry.js +0 -798
- package/dist/cjs/map-tools.cjs.entry.js +0 -375
- package/dist/cjs/mapViewUtils-6fa5bab1.js +0 -271
- package/dist/cjs/mk-147994ea.js +0 -67
- package/dist/cjs/mode-a0417ce5.js +0 -27
- package/dist/cjs/nb-f3d75f05.js +0 -68
- package/dist/cjs/nl-cb0a22c8.js +0 -68
- package/dist/cjs/observers-5923a7cc.js +0 -58
- package/dist/cjs/openCloseComponent-8d9cb545.js +0 -140
- package/dist/cjs/parser-e80279bf.js +0 -1656
- package/dist/cjs/pdf-download.cjs.entry.js +0 -359
- package/dist/cjs/pl-ade28edd.js +0 -115
- package/dist/cjs/popupUtils-4de17e65.js +0 -96
- package/dist/cjs/pt-5543b782.js +0 -68
- package/dist/cjs/pt-br-bdce1868.js +0 -66
- package/dist/cjs/publicNotificationStore-f690e171.js +0 -47
- package/dist/cjs/purify-557ad134.js +0 -1715
- package/dist/cjs/queryUtils-aba29fcf.js +0 -253
- package/dist/cjs/refine-selection.cjs.entry.js +0 -411
- package/dist/cjs/resources-2ccf85d3.js +0 -53
- package/dist/cjs/resources-37006465.js +0 -29
- package/dist/cjs/resources-63b3a6b8.js +0 -116
- package/dist/cjs/resources-a2b1b149.js +0 -49
- package/dist/cjs/resources-ac626172.js +0 -26
- package/dist/cjs/resources-b0cc39b4.js +0 -30
- package/dist/cjs/ro-f4bb9704.js +0 -67
- package/dist/cjs/ru-ba86b627.js +0 -127
- package/dist/cjs/shadow-css-bbaea014.js +0 -483
- package/dist/cjs/shared-list-render-c8555864.js +0 -370
- package/dist/cjs/sk-ac03aca5.js +0 -149
- package/dist/cjs/sl-c68e3fd0.js +0 -169
- package/dist/cjs/solution-contents.cjs.entry.js +0 -84
- package/dist/cjs/solution-item-details.cjs.entry.js +0 -199
- package/dist/cjs/solution-item-sharing.cjs.entry.js +0 -139
- package/dist/cjs/solution-item.cjs.entry.js +0 -106
- package/dist/cjs/solution-organization-variables.cjs.entry.js +0 -95
- package/dist/cjs/solution-resource-item.cjs.entry.js +0 -284
- package/dist/cjs/solution-spatial-ref.cjs.entry.js +0 -158
- package/dist/cjs/solution-store-6194ba89.js +0 -589
- package/dist/cjs/solution-template-data.cjs.entry.js +0 -119
- package/dist/cjs/solution-variables.cjs.entry.js +0 -107
- package/dist/cjs/sortableComponent-5e3419af.js +0 -3443
- package/dist/cjs/sr-80f65cf0.js +0 -102
- package/dist/cjs/store-1f422ad4.js +0 -91
- package/dist/cjs/sv-eee15401.js +0 -72
- package/dist/cjs/t9n-463dcbff.js +0 -103
- package/dist/cjs/th-f90768db.js +0 -66
- package/dist/cjs/time-4a9bf7e2.js +0 -289
- package/dist/cjs/tr-37fec0b5.js +0 -67
- package/dist/cjs/uk-3041a292.js +0 -105
- package/dist/cjs/utils-3a633152.js +0 -64
- package/dist/cjs/utils-7281bf72.js +0 -110
- package/dist/cjs/utils-72a66b3c.js +0 -66
- package/dist/cjs/utils-934ee777.js +0 -142
- package/dist/cjs/utils-b276a49d.js +0 -226
- package/dist/cjs/vi-57a02ad1.js +0 -71
- package/dist/cjs/zh-cn-165c486d.js +0 -95
- package/dist/cjs/zh-hk-0aa560a6.js +0 -72
- package/dist/cjs/zh-tw-42d975f0.js +0 -93
- package/dist/components/InitiativeUiSchemaEdit.js +0 -26
- package/dist/components/ProjectUiSchemaCreate.js +0 -122
- package/dist/components/ProjectUiSchemaEdit.js +0 -176
- package/dist/components/index7.js +0 -71
- package/dist/components/lodash.js +0 -18025
- package/dist/components/parser.js +0 -1654
- package/dist/esm/ExpandToggle-22fd2faa.js +0 -110
- package/dist/esm/FloatingArrow-de6fd1c7.js +0 -48
- package/dist/esm/Heading-f003a141.js +0 -22
- package/dist/esm/InitiativeUiSchemaEdit-8ddacfe8.js +0 -26
- package/dist/esm/ProjectUiSchemaCreate-dd179c0f.js +0 -124
- package/dist/esm/ProjectUiSchemaEdit-fbfdf6e4.js +0 -176
- package/dist/esm/Validation-59a77488.js +0 -18
- package/dist/esm/_commonjsHelpers-3cd6d4ee.js +0 -49
- package/dist/esm/app-globals-928553ab.js +0 -67
- package/dist/esm/ar-75ffdabb.js +0 -103
- package/dist/esm/basemap-gallery.entry.js +0 -117
- package/dist/esm/bg-fac0bf10.js +0 -81
- package/dist/esm/browser-b8d08bed.js +0 -26
- package/dist/esm/bs-c03c8ef2.js +0 -50
- package/dist/esm/buffer-tools.entry.js +0 -253
- package/dist/esm/ca-29e49f82.js +0 -70
- package/dist/esm/calcite-action-menu.entry.js +0 -291
- package/dist/esm/calcite-action-pad.entry.js +0 -165
- package/dist/esm/calcite-action.entry.js +0 -184
- package/dist/esm/calcite-alert.entry.js +0 -318
- package/dist/esm/calcite-block.entry.js +0 -210
- package/dist/esm/calcite-chip.entry.js +0 -258
- package/dist/esm/calcite-color-picker-hex-input.entry.js +0 -270
- package/dist/esm/calcite-color-picker-swatch.entry.js +0 -95
- package/dist/esm/calcite-combobox-item.entry.js +0 -141
- package/dist/esm/calcite-combobox.entry.js +0 -1427
- package/dist/esm/calcite-date-picker-day.entry.js +0 -93
- package/dist/esm/calcite-date-picker-month-header.entry.js +0 -203
- package/dist/esm/calcite-date-picker-month.entry.js +0 -358
- package/dist/esm/calcite-date-picker.entry.js +0 -456
- package/dist/esm/calcite-dropdown-group.entry.js +0 -81
- package/dist/esm/calcite-dropdown-item.entry.js +0 -184
- package/dist/esm/calcite-dropdown.entry.js +0 -426
- package/dist/esm/calcite-filter.entry.js +0 -175
- package/dist/esm/calcite-flow-item.entry.js +0 -194
- package/dist/esm/calcite-flow.entry.js +0 -149
- package/dist/esm/calcite-graph.entry.js +0 -222
- package/dist/esm/calcite-handle.entry.js +0 -200
- package/dist/esm/calcite-input-date-picker.entry.js +0 -740
- package/dist/esm/calcite-input-message.entry.js +0 -66
- package/dist/esm/calcite-input-time-picker-e5cd4d26.js +0 -1851
- package/dist/esm/calcite-input.entry.js +0 -691
- package/dist/esm/calcite-list-item.entry.js +0 -450
- package/dist/esm/calcite-list.entry.js +0 -563
- package/dist/esm/calcite-loader.entry.js +0 -76
- package/dist/esm/calcite-option.entry.js +0 -84
- package/dist/esm/calcite-panel.entry.js +0 -266
- package/dist/esm/calcite-popover.entry.js +0 -414
- package/dist/esm/calcite-progress.entry.js +0 -37
- package/dist/esm/calcite-segmented-control-item.entry.js +0 -66
- package/dist/esm/calcite-segmented-control.entry.js +0 -241
- package/dist/esm/calcite-select.entry.js +0 -231
- package/dist/esm/calcite-shell-panel.entry.js +0 -410
- package/dist/esm/calcite-shell.entry.js +0 -170
- package/dist/esm/calcite-slider.entry.js +0 -840
- package/dist/esm/calcite-stack.entry.js +0 -70
- package/dist/esm/calcite-tab-nav.entry.js +0 -259
- package/dist/esm/calcite-tab-title.entry.js +0 -287
- package/dist/esm/calcite-tab.entry.js +0 -108
- package/dist/esm/calcite-table-cell.entry.js +0 -152
- package/dist/esm/calcite-table-header.entry.js +0 -165
- package/dist/esm/calcite-tabs.entry.js +0 -174
- package/dist/esm/calcite-tree-item.entry.js +0 -292
- package/dist/esm/calcite-tree.entry.js +0 -311
- package/dist/esm/calcite-value-list-item.entry.js +0 -153
- package/dist/esm/calcite-value-list.entry.js +0 -322
- package/dist/esm/card-manager.entry.js +0 -103
- package/dist/esm/common-7e0dcaa2.js +0 -295
- package/dist/esm/conditionalSlot-a395417e.js +0 -60
- package/dist/esm/create-feature.entry.js +0 -259
- package/dist/esm/cs-04f36d01.js +0 -146
- package/dist/esm/da-5a3b8600.js +0 -65
- package/dist/esm/date-74c7f03b.js +0 -245
- package/dist/esm/de-579cda2e.js +0 -90
- package/dist/esm/de-at-52bf1c4c.js +0 -89
- package/dist/esm/de-ch-12d03480.js +0 -89
- package/dist/esm/delete-button.entry.js +0 -146
- package/dist/esm/dom-b91aa537.js +0 -1083
- package/dist/esm/downloadUtils-b3220f86.js +0 -4240
- package/dist/esm/edit-card.entry.js +0 -224
- package/dist/esm/el-c18d3ea4.js +0 -65
- package/dist/esm/en-au-2599e6da.js +0 -65
- package/dist/esm/en-ca-8cfbe6bc.js +0 -64
- package/dist/esm/en-gb-5e4e8a1e.js +0 -68
- package/dist/esm/es-d86f9957.js +0 -65
- package/dist/esm/es-mx-f99d9fd1.js +0 -64
- package/dist/esm/esri-loader-af2bbfd5.js +0 -306
- package/dist/esm/et-8bf52e57.js +0 -91
- package/dist/esm/feature-list.entry.js +0 -195
- package/dist/esm/fi-aeb49e52.js +0 -114
- package/dist/esm/filter-0d00d2e2.js +0 -46
- package/dist/esm/floating-ui-b3256614.js +0 -2342
- package/dist/esm/floor-filter.entry.js +0 -107
- package/dist/esm/focusTrapComponent-2fe6623b.js +0 -1023
- package/dist/esm/form-f2181470.js +0 -307
- package/dist/esm/fr-6200cc01.js +0 -67
- package/dist/esm/fr-ch-df62bb30.js +0 -65
- package/dist/esm/he-07ace6cb.js +0 -104
- package/dist/esm/helpers-85ca7251.js +0 -807
- package/dist/esm/hi-5aa9519e.js +0 -64
- package/dist/esm/hr-e0614bed.js +0 -79
- package/dist/esm/html2canvas-d52e7c8d.js +0 -7845
- package/dist/esm/hu-732fe37c.js +0 -87
- package/dist/esm/id-0832fc24.js +0 -65
- package/dist/esm/index-7fc1cba9.js +0 -41502
- package/dist/esm/index-91eeaf01.js +0 -199
- package/dist/esm/index-b1fb529b.js +0 -1956
- package/dist/esm/index-bdfaac50.js +0 -4145
- package/dist/esm/index.es-3db60115.js +0 -11256
- package/dist/esm/info-card.entry.js +0 -316
- package/dist/esm/instant-apps-ckeditor-wrapper.entry.js +0 -121
- package/dist/esm/instant-apps-filter-list.entry.js +0 -1055
- package/dist/esm/instant-apps-interactive-legend-count.entry.js +0 -100
- package/dist/esm/instant-apps-interactive-legend-group-legend-element.entry.js +0 -52
- package/dist/esm/instant-apps-interactive-legend-layer-element-caption.entry.js +0 -51
- package/dist/esm/instant-apps-interactive-legend-layer-element.entry.js +0 -53
- package/dist/esm/instant-apps-interactive-legend-legend-element-caption.entry.js +0 -100
- package/dist/esm/instant-apps-interactive-legend-legend-element.entry.js +0 -61
- package/dist/esm/instant-apps-interactive-legend-relationship.entry.js +0 -548
- package/dist/esm/instant-apps-language-translator-item.entry.js +0 -380
- package/dist/esm/instant-apps-language-translator-search.entry.js +0 -101
- package/dist/esm/instant-apps-measurement-tool.entry.js +0 -135
- package/dist/esm/instant-apps-social-share.entry.js +0 -511
- package/dist/esm/interactive-71585ecc.js +0 -139
- package/dist/esm/it-142bc820.js +0 -65
- package/dist/esm/it-ch-1ad1f0ac.js +0 -65
- package/dist/esm/ja-6a33e9d4.js +0 -71
- package/dist/esm/json-editor.entry.js +0 -402
- package/dist/esm/key-9a10d862.js +0 -44
- package/dist/esm/ko-d61df01d.js +0 -71
- package/dist/esm/label-16184ce7.js +0 -179
- package/dist/esm/languageSwitcher-2a9037e5.js +0 -55
- package/dist/esm/languageUtil-71a7a914.js +0 -87
- package/dist/esm/layer-list.entry.js +0 -203
- package/dist/esm/layer-table.entry.js +0 -1483
- package/dist/esm/loadModules-827c5581.js +0 -28
- package/dist/esm/loadModules-acccbc1c.js +0 -21
- package/dist/esm/loadable-aea90723.js +0 -92
- package/dist/esm/locale-4cfbae3e.js +0 -86
- package/dist/esm/locale-857f39cf.js +0 -572
- package/dist/esm/locale-d9463a95.js +0 -148
- package/dist/esm/lodash-98e4b7d0.js +0 -18025
- package/dist/esm/lt-652c530a.js +0 -96
- package/dist/esm/lv-84e48ed0.js +0 -65
- package/dist/esm/map-card.entry.js +0 -188
- package/dist/esm/map-draw-tools.entry.js +0 -354
- package/dist/esm/map-fullscreen.entry.js +0 -112
- package/dist/esm/map-layer-picker.entry.js +0 -342
- package/dist/esm/map-legend.entry.js +0 -105
- package/dist/esm/map-picker.entry.js +0 -170
- package/dist/esm/map-search.entry.js +0 -180
- package/dist/esm/map-select-tools.entry.js +0 -794
- package/dist/esm/map-tools.entry.js +0 -371
- package/dist/esm/mapViewUtils-436a516e.js +0 -261
- package/dist/esm/mk-bbf2ee01.js +0 -65
- package/dist/esm/mode-f9bfc4e9.js +0 -25
- package/dist/esm/nb-ccfaa0f7.js +0 -66
- package/dist/esm/nl-4bc56289.js +0 -66
- package/dist/esm/observers-5ba39eee.js +0 -56
- package/dist/esm/openCloseComponent-b4b3788b.js +0 -138
- package/dist/esm/parser-87982ce2.js +0 -1654
- package/dist/esm/pdf-download.entry.js +0 -355
- package/dist/esm/pl-1f435988.js +0 -113
- package/dist/esm/popupUtils-b61d7ffd.js +0 -94
- package/dist/esm/pt-4a05a00d.js +0 -66
- package/dist/esm/pt-br-9720547b.js +0 -64
- package/dist/esm/publicNotificationStore-208e26f0.js +0 -45
- package/dist/esm/purify-909c20fa.js +0 -1713
- package/dist/esm/queryUtils-2529c537.js +0 -244
- package/dist/esm/refine-selection.entry.js +0 -407
- package/dist/esm/resources-0f8db821.js +0 -45
- package/dist/esm/resources-3c6947d3.js +0 -26
- package/dist/esm/resources-47b3ca40.js +0 -106
- package/dist/esm/resources-667afb5d.js +0 -27
- package/dist/esm/resources-9b2084c6.js +0 -24
- package/dist/esm/resources-bb6c11c3.js +0 -49
- package/dist/esm/ro-f87076a1.js +0 -65
- package/dist/esm/ru-e69ca895.js +0 -125
- package/dist/esm/shadow-css-f5236d52.js +0 -481
- package/dist/esm/shared-list-render-a572ef93.js +0 -348
- package/dist/esm/sk-d632e850.js +0 -147
- package/dist/esm/sl-5099fa6f.js +0 -167
- package/dist/esm/solution-contents.entry.js +0 -80
- package/dist/esm/solution-item-details.entry.js +0 -195
- package/dist/esm/solution-item-sharing.entry.js +0 -135
- package/dist/esm/solution-item.entry.js +0 -102
- package/dist/esm/solution-organization-variables.entry.js +0 -91
- package/dist/esm/solution-resource-item.entry.js +0 -280
- package/dist/esm/solution-spatial-ref.entry.js +0 -154
- package/dist/esm/solution-store-31cccb90.js +0 -587
- package/dist/esm/solution-template-data.entry.js +0 -115
- package/dist/esm/solution-variables.entry.js +0 -103
- package/dist/esm/sortableComponent-e715a3dd.js +0 -3439
- package/dist/esm/sr-944b7fd7.js +0 -100
- package/dist/esm/store-194c1a01.js +0 -87
- package/dist/esm/sv-e481fa6a.js +0 -70
- package/dist/esm/t9n-b39c5433.js +0 -98
- package/dist/esm/th-60961669.js +0 -64
- package/dist/esm/time-4a90614b.js +0 -274
- package/dist/esm/tr-eba8dd86.js +0 -65
- package/dist/esm/uk-ec375ce0.js +0 -103
- package/dist/esm/utils-32df4a1e.js +0 -133
- package/dist/esm/utils-57e2ccde.js +0 -61
- package/dist/esm/utils-7db4ecdc.js +0 -100
- package/dist/esm/utils-95e9dd51.js +0 -55
- package/dist/esm/utils-cfbe589a.js +0 -208
- package/dist/esm/vi-29345f79.js +0 -69
- package/dist/esm/zh-cn-32c7c714.js +0 -93
- package/dist/esm/zh-hk-7c770845.js +0 -70
- package/dist/esm/zh-tw-c318be5c.js +0 -91
- package/dist/solutions-components/ExpandToggle-22fd2faa.js +0 -110
- package/dist/solutions-components/FloatingArrow-de6fd1c7.js +0 -48
- package/dist/solutions-components/Heading-f003a141.js +0 -22
- package/dist/solutions-components/InitiativeUiSchemaEdit-8ddacfe8.js +0 -26
- package/dist/solutions-components/ProjectUiSchemaCreate-dd179c0f.js +0 -124
- package/dist/solutions-components/ProjectUiSchemaEdit-fbfdf6e4.js +0 -176
- package/dist/solutions-components/Validation-59a77488.js +0 -18
- package/dist/solutions-components/_commonjsHelpers-3cd6d4ee.js +0 -49
- package/dist/solutions-components/app-globals-928553ab.js +0 -67
- package/dist/solutions-components/ar-75ffdabb.js +0 -103
- package/dist/solutions-components/arcgis-login.entry.js +0 -56
- package/dist/solutions-components/array-396bdf3c.js +0 -15
- package/dist/solutions-components/basemap-gallery.entry.js +0 -117
- package/dist/solutions-components/bg-fac0bf10.js +0 -81
- package/dist/solutions-components/breakpoints-f0f1417d.js +0 -15
- package/dist/solutions-components/browser-b8d08bed.js +0 -26
- package/dist/solutions-components/bs-c03c8ef2.js +0 -50
- package/dist/solutions-components/buffer-tools.entry.js +0 -253
- package/dist/solutions-components/ca-29e49f82.js +0 -70
- package/dist/solutions-components/calcite-accordion-item.entry.js +0 -176
- package/dist/solutions-components/calcite-accordion.entry.js +0 -81
- package/dist/solutions-components/calcite-action-bar.entry.js +0 -252
- package/dist/solutions-components/calcite-action-group.entry.js +0 -112
- package/dist/solutions-components/calcite-action-menu.entry.js +0 -291
- package/dist/solutions-components/calcite-action-pad.entry.js +0 -165
- package/dist/solutions-components/calcite-action.entry.js +0 -184
- package/dist/solutions-components/calcite-alert.entry.js +0 -318
- package/dist/solutions-components/calcite-avatar.entry.js +0 -146
- package/dist/solutions-components/calcite-block-section.entry.js +0 -162
- package/dist/solutions-components/calcite-block.entry.js +0 -210
- package/dist/solutions-components/calcite-button.entry.js +0 -227
- package/dist/solutions-components/calcite-card.entry.js +0 -132
- package/dist/solutions-components/calcite-checkbox.entry.js +0 -134
- package/dist/solutions-components/calcite-chip-group.entry.js +0 -175
- package/dist/solutions-components/calcite-chip.entry.js +0 -258
- package/dist/solutions-components/calcite-color-picker-hex-input.entry.js +0 -270
- package/dist/solutions-components/calcite-color-picker-swatch.entry.js +0 -95
- package/dist/solutions-components/calcite-color-picker.entry.js +0 -906
- package/dist/solutions-components/calcite-combobox-item-group.entry.js +0 -56
- package/dist/solutions-components/calcite-combobox-item.entry.js +0 -141
- package/dist/solutions-components/calcite-combobox.entry.js +0 -1427
- package/dist/solutions-components/calcite-date-picker-day.entry.js +0 -93
- package/dist/solutions-components/calcite-date-picker-month-header.entry.js +0 -203
- package/dist/solutions-components/calcite-date-picker-month.entry.js +0 -358
- package/dist/solutions-components/calcite-date-picker.entry.js +0 -456
- package/dist/solutions-components/calcite-dropdown-group.entry.js +0 -81
- package/dist/solutions-components/calcite-dropdown-item.entry.js +0 -184
- package/dist/solutions-components/calcite-dropdown.entry.js +0 -426
- package/dist/solutions-components/calcite-fab.entry.js +0 -90
- package/dist/solutions-components/calcite-filter.entry.js +0 -175
- package/dist/solutions-components/calcite-flow-item.entry.js +0 -194
- package/dist/solutions-components/calcite-flow.entry.js +0 -149
- package/dist/solutions-components/calcite-graph.entry.js +0 -222
- package/dist/solutions-components/calcite-handle.entry.js +0 -200
- package/dist/solutions-components/calcite-icon.entry.js +0 -179
- package/dist/solutions-components/calcite-inline-editable.entry.js +0 -253
- package/dist/solutions-components/calcite-input-date-picker.entry.js +0 -740
- package/dist/solutions-components/calcite-input-message.entry.js +0 -66
- package/dist/solutions-components/calcite-input-number.entry.js +0 -610
- package/dist/solutions-components/calcite-input-text.entry.js +0 -349
- package/dist/solutions-components/calcite-input-time-picker-e5cd4d26.js +0 -1851
- package/dist/solutions-components/calcite-input-time-picker.entry.js +0 -25
- package/dist/solutions-components/calcite-input-time-zone.entry.js +0 -332
- package/dist/solutions-components/calcite-input.entry.js +0 -691
- package/dist/solutions-components/calcite-label.entry.js +0 -67
- package/dist/solutions-components/calcite-link.entry.js +0 -108
- package/dist/solutions-components/calcite-list-item-group.entry.js +0 -69
- package/dist/solutions-components/calcite-list-item.entry.js +0 -450
- package/dist/solutions-components/calcite-list.entry.js +0 -563
- package/dist/solutions-components/calcite-loader.entry.js +0 -76
- package/dist/solutions-components/calcite-menu-item.entry.js +0 -281
- package/dist/solutions-components/calcite-menu.entry.js +0 -180
- package/dist/solutions-components/calcite-meter.entry.js +0 -332
- package/dist/solutions-components/calcite-modal.entry.js +0 -394
- package/dist/solutions-components/calcite-navigation-logo.entry.js +0 -84
- package/dist/solutions-components/calcite-navigation-user.entry.js +0 -68
- package/dist/solutions-components/calcite-navigation.entry.js +0 -166
- package/dist/solutions-components/calcite-notice.entry.js +0 -163
- package/dist/solutions-components/calcite-option-group.entry.js +0 -35
- package/dist/solutions-components/calcite-option.entry.js +0 -84
- package/dist/solutions-components/calcite-pagination.entry.js +0 -554
- package/dist/solutions-components/calcite-panel.entry.js +0 -266
- package/dist/solutions-components/calcite-pick-list-group.entry.js +0 -57
- package/dist/solutions-components/calcite-pick-list-item.entry.js +0 -193
- package/dist/solutions-components/calcite-pick-list.entry.js +0 -142
- package/dist/solutions-components/calcite-popover.entry.js +0 -414
- package/dist/solutions-components/calcite-progress.entry.js +0 -37
- package/dist/solutions-components/calcite-radio-button-group.entry.js +0 -141
- package/dist/solutions-components/calcite-radio-button.entry.js +0 -318
- package/dist/solutions-components/calcite-rating.entry.js +0 -261
- package/dist/solutions-components/calcite-scrim.entry.js +0 -121
- package/dist/solutions-components/calcite-segmented-control-item.entry.js +0 -66
- package/dist/solutions-components/calcite-segmented-control.entry.js +0 -241
- package/dist/solutions-components/calcite-select.entry.js +0 -231
- package/dist/solutions-components/calcite-sheet.entry.js +0 -223
- package/dist/solutions-components/calcite-shell-center-row.entry.js +0 -66
- package/dist/solutions-components/calcite-shell-panel.entry.js +0 -410
- package/dist/solutions-components/calcite-shell.entry.js +0 -170
- package/dist/solutions-components/calcite-slider.entry.js +0 -840
- package/dist/solutions-components/calcite-sortable-list.entry.js +0 -166
- package/dist/solutions-components/calcite-split-button.entry.js +0 -112
- package/dist/solutions-components/calcite-stack.entry.js +0 -70
- package/dist/solutions-components/calcite-stepper-item.entry.js +0 -238
- package/dist/solutions-components/calcite-stepper.entry.js +0 -377
- package/dist/solutions-components/calcite-switch.entry.js +0 -113
- package/dist/solutions-components/calcite-tab-nav.entry.js +0 -259
- package/dist/solutions-components/calcite-tab-title.entry.js +0 -287
- package/dist/solutions-components/calcite-tab.entry.js +0 -108
- package/dist/solutions-components/calcite-table-cell.entry.js +0 -152
- package/dist/solutions-components/calcite-table-header.entry.js +0 -165
- package/dist/solutions-components/calcite-table-row.entry.js +0 -244
- package/dist/solutions-components/calcite-table.entry.js +0 -314
- package/dist/solutions-components/calcite-tabs.entry.js +0 -174
- package/dist/solutions-components/calcite-text-area.entry.js +0 -276
- package/dist/solutions-components/calcite-tile-select-group.entry.js +0 -39
- package/dist/solutions-components/calcite-tile-select.entry.js +0 -225
- package/dist/solutions-components/calcite-tile.entry.js +0 -75
- package/dist/solutions-components/calcite-time-picker.entry.js +0 -839
- package/dist/solutions-components/calcite-tip-group.entry.js +0 -21
- package/dist/solutions-components/calcite-tip-manager.entry.js +0 -227
- package/dist/solutions-components/calcite-tip.entry.js +0 -126
- package/dist/solutions-components/calcite-tooltip.entry.js +0 -434
- package/dist/solutions-components/calcite-tree-item.entry.js +0 -292
- package/dist/solutions-components/calcite-tree.entry.js +0 -311
- package/dist/solutions-components/calcite-value-list-item.entry.js +0 -153
- package/dist/solutions-components/calcite-value-list.entry.js +0 -322
- package/dist/solutions-components/card-manager.entry.js +0 -103
- package/dist/solutions-components/common-7e0dcaa2.js +0 -295
- package/dist/solutions-components/component-edd2c3cd.js +0 -30
- package/dist/solutions-components/conditionalSlot-a395417e.js +0 -60
- package/dist/solutions-components/consent-manager.entry.js +0 -2139
- package/dist/solutions-components/create-feature.entry.js +0 -259
- package/dist/solutions-components/crowdsource-manager.entry.js +0 -494
- package/dist/solutions-components/crowdsource-reporter.entry.js +0 -557
- package/dist/solutions-components/cs-04f36d01.js +0 -146
- package/dist/solutions-components/da-5a3b8600.js +0 -65
- package/dist/solutions-components/date-74c7f03b.js +0 -245
- package/dist/solutions-components/de-579cda2e.js +0 -90
- package/dist/solutions-components/de-at-52bf1c4c.js +0 -89
- package/dist/solutions-components/de-ch-12d03480.js +0 -89
- package/dist/solutions-components/deduct-calculator.entry.js +0 -101
- package/dist/solutions-components/delete-button.entry.js +0 -146
- package/dist/solutions-components/dom-b91aa537.js +0 -1083
- package/dist/solutions-components/downloadUtils-b3220f86.js +0 -4240
- package/dist/solutions-components/edit-card.entry.js +0 -224
- package/dist/solutions-components/el-c18d3ea4.js +0 -65
- package/dist/solutions-components/en-au-2599e6da.js +0 -65
- package/dist/solutions-components/en-ca-8cfbe6bc.js +0 -64
- package/dist/solutions-components/en-gb-5e4e8a1e.js +0 -68
- package/dist/solutions-components/es-d86f9957.js +0 -65
- package/dist/solutions-components/es-mx-f99d9fd1.js +0 -64
- package/dist/solutions-components/esri-loader-af2bbfd5.js +0 -306
- package/dist/solutions-components/et-8bf52e57.js +0 -91
- package/dist/solutions-components/feature-comments.entry.js +0 -56
- package/dist/solutions-components/feature-form-flow-item.entry.js +0 -56
- package/dist/solutions-components/feature-list.entry.js +0 -195
- package/dist/solutions-components/features-flow-item.entry.js +0 -56
- package/dist/solutions-components/fi-aeb49e52.js +0 -114
- package/dist/solutions-components/filter-0d00d2e2.js +0 -46
- package/dist/solutions-components/floating-ui-b3256614.js +0 -2342
- package/dist/solutions-components/floor-filter.entry.js +0 -107
- package/dist/solutions-components/focusTrapComponent-2fe6623b.js +0 -1023
- package/dist/solutions-components/form-f2181470.js +0 -307
- package/dist/solutions-components/fr-6200cc01.js +0 -67
- package/dist/solutions-components/fr-ch-df62bb30.js +0 -65
- package/dist/solutions-components/guid-b75a5f7b.js +0 -24
- package/dist/solutions-components/he-07ace6cb.js +0 -104
- package/dist/solutions-components/helpers-85ca7251.js +0 -807
- package/dist/solutions-components/hi-5aa9519e.js +0 -64
- package/dist/solutions-components/hr-e0614bed.js +0 -79
- package/dist/solutions-components/html2canvas-d52e7c8d.js +0 -7845
- package/dist/solutions-components/hu-732fe37c.js +0 -87
- package/dist/solutions-components/id-0832fc24.js +0 -65
- package/dist/solutions-components/index-5110a27a.js +0 -71
- package/dist/solutions-components/index-7fc1cba9.js +0 -41502
- package/dist/solutions-components/index-91eeaf01.js +0 -199
- package/dist/solutions-components/index-a1e91462.js +0 -2105
- package/dist/solutions-components/index-b1fb529b.js +0 -1956
- package/dist/solutions-components/index-bdfaac50.js +0 -4145
- package/dist/solutions-components/index-d8ff08ed.js +0 -204
- package/dist/solutions-components/index.es-3db60115.js +0 -11256
- package/dist/solutions-components/info-card.entry.js +0 -316
- package/dist/solutions-components/instant-apps-ckeditor-wrapper.entry.js +0 -121
- package/dist/solutions-components/instant-apps-control-panel.entry.js +0 -94
- package/dist/solutions-components/instant-apps-export.entry.js +0 -888
- package/dist/solutions-components/instant-apps-filter-list.entry.js +0 -1055
- package/dist/solutions-components/instant-apps-header.entry.js +0 -124
- package/dist/solutions-components/instant-apps-interactive-legend-classic.entry.js +0 -1604
- package/dist/solutions-components/instant-apps-interactive-legend-count.entry.js +0 -100
- package/dist/solutions-components/instant-apps-interactive-legend-group-legend-element-caption.entry.js +0 -53
- package/dist/solutions-components/instant-apps-interactive-legend-group-legend-element.entry.js +0 -52
- package/dist/solutions-components/instant-apps-interactive-legend-layer-element-caption.entry.js +0 -51
- package/dist/solutions-components/instant-apps-interactive-legend-layer-element.entry.js +0 -53
- package/dist/solutions-components/instant-apps-interactive-legend-legend-element-caption.entry.js +0 -100
- package/dist/solutions-components/instant-apps-interactive-legend-legend-element.entry.js +0 -61
- package/dist/solutions-components/instant-apps-interactive-legend-relationship.entry.js +0 -548
- package/dist/solutions-components/instant-apps-interactive-legend.entry.js +0 -112
- package/dist/solutions-components/instant-apps-keyboard-shortcuts.entry.js +0 -139
- package/dist/solutions-components/instant-apps-landing-page.entry.js +0 -114
- package/dist/solutions-components/instant-apps-language-switcher.entry.js +0 -173
- package/dist/solutions-components/instant-apps-language-translator-item.entry.js +0 -380
- package/dist/solutions-components/instant-apps-language-translator-search.entry.js +0 -101
- package/dist/solutions-components/instant-apps-language-translator.entry.js +0 -286
- package/dist/solutions-components/instant-apps-measurement-tool.entry.js +0 -135
- package/dist/solutions-components/instant-apps-measurement.entry.js +0 -66
- package/dist/solutions-components/instant-apps-popover.entry.js +0 -74
- package/dist/solutions-components/instant-apps-popovers.entry.js +0 -88
- package/dist/solutions-components/instant-apps-scoreboard.entry.js +0 -463
- package/dist/solutions-components/instant-apps-social-share.entry.js +0 -511
- package/dist/solutions-components/instant-apps-splash.entry.js +0 -144
- package/dist/solutions-components/interactive-71585ecc.js +0 -139
- package/dist/solutions-components/interfaces-586e863c.js +0 -80
- package/dist/solutions-components/it-142bc820.js +0 -65
- package/dist/solutions-components/it-ch-1ad1f0ac.js +0 -65
- package/dist/solutions-components/ja-6a33e9d4.js +0 -71
- package/dist/solutions-components/json-editor.entry.js +0 -402
- package/dist/solutions-components/key-9a10d862.js +0 -44
- package/dist/solutions-components/ko-d61df01d.js +0 -71
- package/dist/solutions-components/label-16184ce7.js +0 -179
- package/dist/solutions-components/languageSwitcher-2a9037e5.js +0 -55
- package/dist/solutions-components/languageUtil-71a7a914.js +0 -87
- package/dist/solutions-components/layer-list.entry.js +0 -203
- package/dist/solutions-components/layer-table.entry.js +0 -1483
- package/dist/solutions-components/layout-manager.entry.js +0 -91
- package/dist/solutions-components/list-flow-item.entry.js +0 -56
- package/dist/solutions-components/loadModules-827c5581.js +0 -28
- package/dist/solutions-components/loadModules-acccbc1c.js +0 -21
- package/dist/solutions-components/loadable-aea90723.js +0 -92
- package/dist/solutions-components/locale-4cfbae3e.js +0 -86
- package/dist/solutions-components/locale-857f39cf.js +0 -572
- package/dist/solutions-components/locale-d9463a95.js +0 -148
- package/dist/solutions-components/location-flow-item.entry.js +0 -56
- package/dist/solutions-components/lodash-98e4b7d0.js +0 -18025
- package/dist/solutions-components/lt-652c530a.js +0 -96
- package/dist/solutions-components/lv-84e48ed0.js +0 -65
- package/dist/solutions-components/map-card.entry.js +0 -188
- package/dist/solutions-components/map-draw-tools.entry.js +0 -354
- package/dist/solutions-components/map-fullscreen.entry.js +0 -112
- package/dist/solutions-components/map-layer-picker.entry.js +0 -342
- package/dist/solutions-components/map-legend.entry.js +0 -105
- package/dist/solutions-components/map-picker.entry.js +0 -170
- package/dist/solutions-components/map-search.entry.js +0 -180
- package/dist/solutions-components/map-select-tools.entry.js +0 -794
- package/dist/solutions-components/map-tools.entry.js +0 -371
- package/dist/solutions-components/mapViewUtils-436a516e.js +0 -261
- package/dist/solutions-components/math-efada7a9.js +0 -54
- package/dist/solutions-components/mk-bbf2ee01.js +0 -65
- package/dist/solutions-components/mode-f9bfc4e9.js +0 -25
- package/dist/solutions-components/nb-ccfaa0f7.js +0 -66
- package/dist/solutions-components/nl-4bc56289.js +0 -66
- package/dist/solutions-components/observers-5ba39eee.js +0 -56
- package/dist/solutions-components/openCloseComponent-b4b3788b.js +0 -138
- package/dist/solutions-components/parser-87982ce2.js +0 -1654
- package/dist/solutions-components/pci-calculator.entry.js +0 -113
- package/dist/solutions-components/pciUtils-73d4b6b4.js +0 -844
- package/dist/solutions-components/pdf-download.entry.js +0 -355
- package/dist/solutions-components/pl-1f435988.js +0 -113
- package/dist/solutions-components/popupUtils-b61d7ffd.js +0 -94
- package/dist/solutions-components/pt-4a05a00d.js +0 -66
- package/dist/solutions-components/pt-br-9720547b.js +0 -64
- package/dist/solutions-components/public-notification.entry.js +0 -886
- package/dist/solutions-components/publicNotificationStore-208e26f0.js +0 -45
- package/dist/solutions-components/purify-909c20fa.js +0 -1713
- package/dist/solutions-components/queryUtils-2529c537.js +0 -244
- package/dist/solutions-components/refine-results-flow-item.entry.js +0 -56
- package/dist/solutions-components/refine-selection.entry.js +0 -407
- package/dist/solutions-components/resources-0f8db821.js +0 -45
- package/dist/solutions-components/resources-20074cb1.js +0 -24
- package/dist/solutions-components/resources-3709252d.js +0 -35
- package/dist/solutions-components/resources-3c6947d3.js +0 -26
- package/dist/solutions-components/resources-47b3ca40.js +0 -106
- package/dist/solutions-components/resources-667afb5d.js +0 -27
- package/dist/solutions-components/resources-88a48c5c.js +0 -20
- package/dist/solutions-components/resources-9b2084c6.js +0 -24
- package/dist/solutions-components/resources-9b7e72d5.js +0 -20
- package/dist/solutions-components/resources-b0e2b809.js +0 -22
- package/dist/solutions-components/resources-bb6c11c3.js +0 -49
- package/dist/solutions-components/ro-f87076a1.js +0 -65
- package/dist/solutions-components/ru-e69ca895.js +0 -125
- package/dist/solutions-components/shadow-css-f5236d52.js +0 -481
- package/dist/solutions-components/share-item.entry.js +0 -56
- package/dist/solutions-components/shared-list-render-a572ef93.js +0 -348
- package/dist/solutions-components/sk-d632e850.js +0 -147
- package/dist/solutions-components/sl-5099fa6f.js +0 -167
- package/dist/solutions-components/solution-configuration.entry.js +0 -906
- package/dist/solutions-components/solution-contents.entry.js +0 -80
- package/dist/solutions-components/solution-item-details.entry.js +0 -195
- package/dist/solutions-components/solution-item-icon.entry.js +0 -323
- package/dist/solutions-components/solution-item-sharing.entry.js +0 -135
- package/dist/solutions-components/solution-item.entry.js +0 -102
- package/dist/solutions-components/solution-organization-variables.entry.js +0 -91
- package/dist/solutions-components/solution-resource-item.entry.js +0 -280
- package/dist/solutions-components/solution-spatial-ref.entry.js +0 -154
- package/dist/solutions-components/solution-store-31cccb90.js +0 -587
- package/dist/solutions-components/solution-template-data.entry.js +0 -115
- package/dist/solutions-components/solution-variables.entry.js +0 -103
- package/dist/solutions-components/sortableComponent-e715a3dd.js +0 -3439
- package/dist/solutions-components/spatial-ref.entry.js +0 -21296
- package/dist/solutions-components/sr-944b7fd7.js +0 -100
- package/dist/solutions-components/store-194c1a01.js +0 -87
- package/dist/solutions-components/store-manager.entry.js +0 -61
- package/dist/solutions-components/styles-367380b5.js +0 -11
- package/dist/solutions-components/sv-e481fa6a.js +0 -70
- package/dist/solutions-components/t9n-b39c5433.js +0 -98
- package/dist/solutions-components/th-60961669.js +0 -64
- package/dist/solutions-components/time-4a90614b.js +0 -274
- package/dist/solutions-components/tr-eba8dd86.js +0 -65
- package/dist/solutions-components/uk-ec375ce0.js +0 -103
- package/dist/solutions-components/utils-32df4a1e.js +0 -133
- package/dist/solutions-components/utils-57e2ccde.js +0 -61
- package/dist/solutions-components/utils-7db4ecdc.js +0 -100
- package/dist/solutions-components/utils-95e9dd51.js +0 -55
- package/dist/solutions-components/utils-cfbe589a.js +0 -208
- package/dist/solutions-components/vi-29345f79.js +0 -69
- package/dist/solutions-components/zh-cn-32c7c714.js +0 -93
- package/dist/solutions-components/zh-hk-7c770845.js +0 -70
- package/dist/solutions-components/zh-tw-c318be5c.js +0 -91
@@ -1,1427 +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, r as registerInstance, e as createEvent, a as Host, g as getElement } from './index-bdfaac50.js';
|
7
|
-
import { d as debounce } from './lodash-98e4b7d0.js';
|
8
|
-
import { f as filter } from './filter-0d00d2e2.js';
|
9
|
-
import { z as getElementWidth, A as getTextWidth, i as isPrimaryPointerButton, t as toAriaBoolean } from './dom-b91aa537.js';
|
10
|
-
import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, r as reposition, a as disconnectFloatingUI, F as FloatingCSS } from './floating-ui-b3256614.js';
|
11
|
-
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-f2181470.js';
|
12
|
-
import { g as guid } from './guid-b75a5f7b.js';
|
13
|
-
import { c as connectInteractive, u as updateHostInteraction, d as disconnectInteractive, I as InteractiveContainer } from './interactive-71585ecc.js';
|
14
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-16184ce7.js';
|
15
|
-
import { b as componentLoaded, c as componentFocusable, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-aea90723.js';
|
16
|
-
import { c as connectLocalized, d as disconnectLocalized } from './locale-857f39cf.js';
|
17
|
-
import { c as createObserver } from './observers-5ba39eee.js';
|
18
|
-
import { o as onToggleOpenCloseComponent } from './openCloseComponent-b4b3788b.js';
|
19
|
-
import { c as connectMessages, s as setUpMessages, d as disconnectMessages, u as updateMessages } from './t9n-b39c5433.js';
|
20
|
-
import { C as ComboboxItemGroup, i as isSingleLike, h as hasActiveChildren, b as CSS$1, c as ComboboxChildSelector, d as getItemAncestors, e as getItemChildren, f as ComboboxItem } from './utils-95e9dd51.js';
|
21
|
-
import { g as getIconScale } from './component-edd2c3cd.js';
|
22
|
-
import { V as Validation } from './Validation-59a77488.js';
|
23
|
-
import './resources-0f8db821.js';
|
24
|
-
import './browser-b8d08bed.js';
|
25
|
-
import './key-9a10d862.js';
|
26
|
-
|
27
|
-
/*!
|
28
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
29
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
30
|
-
* v2.4.0
|
31
|
-
*/
|
32
|
-
const CSS = {
|
33
|
-
button: "x-button",
|
34
|
-
};
|
35
|
-
function XButton({ disabled, key, label, onClick, ref, scale, }) {
|
36
|
-
return (h("button", { "aria-label": label, class: CSS.button, disabled: disabled, key: key, onClick: onClick, tabIndex: -1, type: "button",
|
37
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
38
|
-
ref: ref }, h("calcite-icon", { icon: "x", scale: getIconScale(scale) })));
|
39
|
-
}
|
40
|
-
|
41
|
-
/**
|
42
|
-
* Do not edit directly
|
43
|
-
* Generated on Wed, 17 Jan 2024 17:52:08 GMT
|
44
|
-
*/
|
45
|
-
|
46
|
-
const calciteColorNeutralBlk000 = "#ffffff";
|
47
|
-
const calciteColorNeutralBlk005 = "#f8f8f8";
|
48
|
-
const calciteColorNeutralBlk010 = "#f3f3f3";
|
49
|
-
const calciteColorNeutralBlk020 = "#eaeaea";
|
50
|
-
const calciteColorNeutralBlk030 = "#dfdfdf";
|
51
|
-
const calciteColorNeutralBlk040 = "#d4d4d4";
|
52
|
-
const calciteColorNeutralBlk050 = "#cacaca";
|
53
|
-
const calciteColorNeutralBlk060 = "#bfbfbf";
|
54
|
-
const calciteColorNeutralBlk070 = "#b5b5b5";
|
55
|
-
const calciteColorNeutralBlk080 = "#aaaaaa";
|
56
|
-
const calciteColorNeutralBlk090 = "#9f9f9f";
|
57
|
-
const calciteColorNeutralBlk100 = "#949494";
|
58
|
-
const calciteColorNeutralBlk110 = "#8a8a8a";
|
59
|
-
const calciteColorNeutralBlk120 = "#808080";
|
60
|
-
const calciteColorNeutralBlk130 = "#757575";
|
61
|
-
const calciteColorNeutralBlk140 = "#6a6a6a";
|
62
|
-
const calciteColorNeutralBlk150 = "#606060";
|
63
|
-
const calciteColorNeutralBlk160 = "#555555";
|
64
|
-
const calciteColorNeutralBlk170 = "#4a4a4a";
|
65
|
-
const calciteColorNeutralBlk180 = "#404040";
|
66
|
-
const calciteColorNeutralBlk190 = "#353535";
|
67
|
-
const calciteColorNeutralBlk200 = "#2b2b2b";
|
68
|
-
const calciteColorNeutralBlk210 = "#202020";
|
69
|
-
const calciteColorNeutralBlk220 = "#151515";
|
70
|
-
const calciteColorNeutralBlk230 = "#0b0b0b";
|
71
|
-
const calciteColorNeutralBlk235 = "#060606";
|
72
|
-
const calciteColorNeutralBlk240 = "#000000";
|
73
|
-
const calciteColorHighSaturationBlueHBb010 = "#c7eaff";
|
74
|
-
const calciteColorHighSaturationBlueHBb020 = "#9fd4f3";
|
75
|
-
const calciteColorHighSaturationBlueHBb030 = "#77bde7";
|
76
|
-
const calciteColorHighSaturationBlueHBb040 = "#50a7da";
|
77
|
-
const calciteColorHighSaturationBlueHBb050 = "#2890ce";
|
78
|
-
const calciteColorHighSaturationBlueHBb060 = "#007ac2";
|
79
|
-
const calciteColorHighSaturationBlueHBb070 = "#00619b";
|
80
|
-
const calciteColorHighSaturationBlueHBb080 = "#004874";
|
81
|
-
const calciteColorHighSaturationBlueHBb090 = "#00304d";
|
82
|
-
const calciteColorHighSaturationBlueHBb100 = "#001726";
|
83
|
-
const calciteColorHighSaturationGreenBlueHGb010 = "#cef5f4";
|
84
|
-
const calciteColorHighSaturationGreenBlueHGb020 = "#afedec";
|
85
|
-
const calciteColorHighSaturationGreenBlueHGb030 = "#8fe6e5";
|
86
|
-
const calciteColorHighSaturationGreenBlueHGb040 = "#5ae0de";
|
87
|
-
const calciteColorHighSaturationGreenBlueHGb050 = "#28cecb";
|
88
|
-
const calciteColorHighSaturationGreenBlueHGb060 = "#00bab5";
|
89
|
-
const calciteColorHighSaturationGreenBlueHGb070 = "#009b98";
|
90
|
-
const calciteColorHighSaturationGreenBlueHGb080 = "#007472";
|
91
|
-
const calciteColorHighSaturationGreenBlueHGb090 = "#004d4c";
|
92
|
-
const calciteColorHighSaturationGreenBlueHGb100 = "#002625";
|
93
|
-
const calciteColorHighSaturationGreenHGg010 = "#bdf2c4";
|
94
|
-
const calciteColorHighSaturationGreenHGg020 = "#a2e4ab";
|
95
|
-
const calciteColorHighSaturationGreenHGg030 = "#87d692";
|
96
|
-
const calciteColorHighSaturationGreenHGg040 = "#6bc878";
|
97
|
-
const calciteColorHighSaturationGreenHGg050 = "#50ba5f";
|
98
|
-
const calciteColorHighSaturationGreenHGg060 = "#35ac46";
|
99
|
-
const calciteColorHighSaturationGreenHGg070 = "#288835";
|
100
|
-
const calciteColorHighSaturationGreenHGg080 = "#1a6324";
|
101
|
-
const calciteColorHighSaturationGreenHGg090 = "#0d3f14";
|
102
|
-
const calciteColorHighSaturationGreenHGg100 = "#001a03";
|
103
|
-
const calciteColorHighSaturationYellowGreenHYg010 = "#e5f7b4";
|
104
|
-
const calciteColorHighSaturationYellowGreenHYg020 = "#d9ef9f";
|
105
|
-
const calciteColorHighSaturationYellowGreenHYg030 = "#cde78a";
|
106
|
-
const calciteColorHighSaturationYellowGreenHYg040 = "#c2e075";
|
107
|
-
const calciteColorHighSaturationYellowGreenHYg050 = "#b6d860";
|
108
|
-
const calciteColorHighSaturationYellowGreenHYg060 = "#aad04b";
|
109
|
-
const calciteColorHighSaturationYellowGreenHYg070 = "#84a338";
|
110
|
-
const calciteColorHighSaturationYellowGreenHYg080 = "#5e7526";
|
111
|
-
const calciteColorHighSaturationYellowGreenHYg090 = "#384813";
|
112
|
-
const calciteColorHighSaturationYellowGreenHYg100 = "#121a00";
|
113
|
-
const calciteColorHighSaturationYellowHYy010 = "#fff7cc";
|
114
|
-
const calciteColorHighSaturationYellowHYy020 = "#fef3ad";
|
115
|
-
const calciteColorHighSaturationYellowHYy030 = "#fcee8d";
|
116
|
-
const calciteColorHighSaturationYellowHYy040 = "#fbea6e";
|
117
|
-
const calciteColorHighSaturationYellowHYy050 = "#f9e54e";
|
118
|
-
const calciteColorHighSaturationYellowHYy060 = "#edd317";
|
119
|
-
const calciteColorHighSaturationYellowHYy070 = "#d9bc00";
|
120
|
-
const calciteColorHighSaturationYellowHYy080 = "#bfa200";
|
121
|
-
const calciteColorHighSaturationYellowHYy090 = "#8c7500";
|
122
|
-
const calciteColorHighSaturationYellowHYy100 = "#5c4e00";
|
123
|
-
const calciteColorHighSaturationOrangeYellowHOy010 = "#ffe2bf";
|
124
|
-
const calciteColorHighSaturationOrangeYellowHOy020 = "#fed3a1";
|
125
|
-
const calciteColorHighSaturationOrangeYellowHOy030 = "#fcc582";
|
126
|
-
const calciteColorHighSaturationOrangeYellowHOy040 = "#fbb664";
|
127
|
-
const calciteColorHighSaturationOrangeYellowHOy050 = "#f9a845";
|
128
|
-
const calciteColorHighSaturationOrangeYellowHOy060 = "#f89927";
|
129
|
-
const calciteColorHighSaturationOrangeYellowHOy070 = "#c67718";
|
130
|
-
const calciteColorHighSaturationOrangeYellowHOy080 = "#9a5b10";
|
131
|
-
const calciteColorHighSaturationOrangeYellowHOy090 = "#6d3f08";
|
132
|
-
const calciteColorHighSaturationOrangeYellowHOy100 = "#402300";
|
133
|
-
const calciteColorHighSaturationOrangeHOo010 = "#ffd8bf";
|
134
|
-
const calciteColorHighSaturationOrangeHOo020 = "#fdc39f";
|
135
|
-
const calciteColorHighSaturationOrangeHOo030 = "#faae7f";
|
136
|
-
const calciteColorHighSaturationOrangeHOo040 = "#f89960";
|
137
|
-
const calciteColorHighSaturationOrangeHOo050 = "#f58440";
|
138
|
-
const calciteColorHighSaturationOrangeHOo060 = "#f36f20";
|
139
|
-
const calciteColorHighSaturationOrangeHOo070 = "#c65a18";
|
140
|
-
const calciteColorHighSaturationOrangeHOo080 = "#9a4410";
|
141
|
-
const calciteColorHighSaturationOrangeHOo090 = "#6d2f08";
|
142
|
-
const calciteColorHighSaturationOrangeHOo100 = "#401900";
|
143
|
-
const calciteColorHighSaturationRedOrangeHRo010 = "#ffc7b3";
|
144
|
-
const calciteColorHighSaturationRedOrangeHRo020 = "#f8af95";
|
145
|
-
const calciteColorHighSaturationRedOrangeHRo030 = "#f09677";
|
146
|
-
const calciteColorHighSaturationRedOrangeHRo040 = "#e97e5a";
|
147
|
-
const calciteColorHighSaturationRedOrangeHRo050 = "#e1653c";
|
148
|
-
const calciteColorHighSaturationRedOrangeHRo060 = "#da4d1e";
|
149
|
-
const calciteColorHighSaturationRedOrangeHRo070 = "#ad3c16";
|
150
|
-
const calciteColorHighSaturationRedOrangeHRo080 = "#802c0f";
|
151
|
-
const calciteColorHighSaturationRedOrangeHRo090 = "#531b07";
|
152
|
-
const calciteColorHighSaturationRedOrangeHRo100 = "#260a00";
|
153
|
-
const calciteColorHighSaturationRedHRr010 = "#ffc6bf";
|
154
|
-
const calciteColorHighSaturationRedHRr020 = "#ffaaa1";
|
155
|
-
const calciteColorHighSaturationRedHRr030 = "#f2877b";
|
156
|
-
const calciteColorHighSaturationRedHRr040 = "#f07062";
|
157
|
-
const calciteColorHighSaturationRedHRr050 = "#e65240";
|
158
|
-
const calciteColorHighSaturationRedHRr060 = "#d83020";
|
159
|
-
const calciteColorHighSaturationRedHRr070 = "#a82b1e";
|
160
|
-
const calciteColorHighSaturationRedHRr080 = "#7c1d13";
|
161
|
-
const calciteColorHighSaturationRedHRr090 = "#4f0e08";
|
162
|
-
const calciteColorHighSaturationRedHRr100 = "#210300";
|
163
|
-
const calciteColorHighSaturationPinkHPk010 = "#ffd1ef";
|
164
|
-
const calciteColorHighSaturationPinkHPk020 = "#fabee4";
|
165
|
-
const calciteColorHighSaturationPinkHPk030 = "#f2a5d6";
|
166
|
-
const calciteColorHighSaturationPinkHPk040 = "#eb8dc9";
|
167
|
-
const calciteColorHighSaturationPinkHPk050 = "#e673bb";
|
168
|
-
const calciteColorHighSaturationPinkHPk060 = "#e04ea6";
|
169
|
-
const calciteColorHighSaturationPinkHPk070 = "#ba2f7e";
|
170
|
-
const calciteColorHighSaturationPinkHPk080 = "#851b52";
|
171
|
-
const calciteColorHighSaturationPinkHPk090 = "#590b32";
|
172
|
-
const calciteColorHighSaturationPinkHPk100 = "#260404";
|
173
|
-
const calciteColorHighSaturationVioletRedHVr010 = "#fadbff";
|
174
|
-
const calciteColorHighSaturationVioletRedHVr020 = "#e4beeb";
|
175
|
-
const calciteColorHighSaturationVioletRedHVr030 = "#cfa1d7";
|
176
|
-
const calciteColorHighSaturationVioletRedHVr040 = "#b983c3";
|
177
|
-
const calciteColorHighSaturationVioletRedHVr050 = "#a466af";
|
178
|
-
const calciteColorHighSaturationVioletRedHVr060 = "#8e499b";
|
179
|
-
const calciteColorHighSaturationVioletRedHVr070 = "#73377e";
|
180
|
-
const calciteColorHighSaturationVioletRedHVr080 = "#572561";
|
181
|
-
const calciteColorHighSaturationVioletRedHVr090 = "#3c1243";
|
182
|
-
const calciteColorHighSaturationVioletRedHVr100 = "#200026";
|
183
|
-
const calciteColorHighSaturationVioletHVv010 = "#e8d9ff";
|
184
|
-
const calciteColorHighSaturationVioletHVv020 = "#cdb9eb";
|
185
|
-
const calciteColorHighSaturationVioletHVv030 = "#b39ad7";
|
186
|
-
const calciteColorHighSaturationVioletHVv040 = "#987ac3";
|
187
|
-
const calciteColorHighSaturationVioletHVv050 = "#7e5baf";
|
188
|
-
const calciteColorHighSaturationVioletHVv060 = "#633b9b";
|
189
|
-
const calciteColorHighSaturationVioletHVv070 = "#4e2c7e";
|
190
|
-
const calciteColorHighSaturationVioletHVv080 = "#3a1e61";
|
191
|
-
const calciteColorHighSaturationVioletHVv090 = "#250f43";
|
192
|
-
const calciteColorHighSaturationVioletHVv100 = "#100026";
|
193
|
-
const calciteColorVibrantBlueVBb120 = "#59d6ff";
|
194
|
-
const calciteColorVibrantBlueVBb140 = "#3db8ff";
|
195
|
-
const calciteColorVibrantBlueVBb160 = "#009af2";
|
196
|
-
const calciteColorVibrantBlueVBb180 = "#009af2";
|
197
|
-
const calciteColorVibrantGreenBlueVGb120 = "#59fffc";
|
198
|
-
const calciteColorVibrantGreenBlueVGb140 = "#00f7f3";
|
199
|
-
const calciteColorVibrantGreenBlueVGb160 = "#00e6e2";
|
200
|
-
const calciteColorVibrantGreenBlueVGb180 = "#00cfca";
|
201
|
-
const calciteColorVibrantGreenVGg120 = "#73ff84";
|
202
|
-
const calciteColorVibrantGreenVGg140 = "#3bed52";
|
203
|
-
const calciteColorVibrantGreenVGg160 = "#00b81b";
|
204
|
-
const calciteColorVibrantGreenVGg180 = "#00a118";
|
205
|
-
const calciteColorVibrantYellowGreenVYg120 = "#d7ff73";
|
206
|
-
const calciteColorVibrantYellowGreenVYg140 = "#bbed3b";
|
207
|
-
const calciteColorVibrantYellowGreenVYg160 = "#96cc00";
|
208
|
-
const calciteColorVibrantYellowGreenVYg180 = "#7fab00";
|
209
|
-
const calciteColorVibrantYellowVYy120 = "#fff766";
|
210
|
-
const calciteColorVibrantYellowVYy140 = "#ffee33";
|
211
|
-
const calciteColorVibrantYellowVYy160 = "#f5d000";
|
212
|
-
const calciteColorVibrantYellowVYy180 = "#ebba17";
|
213
|
-
const calciteColorVibrantOrangeYellowVOy120 = "#ffb54d";
|
214
|
-
const calciteColorVibrantOrangeYellowVOy140 = "#ff9500";
|
215
|
-
const calciteColorVibrantOrangeYellowVOy160 = "#e68600";
|
216
|
-
const calciteColorVibrantOrangeYellowVOy180 = "#d17300";
|
217
|
-
const calciteColorVibrantRedOrangeVRo120 = "#ff824d";
|
218
|
-
const calciteColorVibrantRedOrangeVRo140 = "#ff4d00";
|
219
|
-
const calciteColorVibrantRedOrangeVRo160 = "#de4300";
|
220
|
-
const calciteColorVibrantRedOrangeVRo180 = "#c93b00";
|
221
|
-
const calciteColorVibrantRedVRr120 = "#ff624d";
|
222
|
-
const calciteColorVibrantRedVRr140 = "#ff0015";
|
223
|
-
const calciteColorVibrantRedVRr160 = "#d90012";
|
224
|
-
const calciteColorVibrantRedVRr180 = "#b3000f";
|
225
|
-
const calciteColorVibrantPinkVPk120 = "#ff66c2";
|
226
|
-
const calciteColorVibrantPinkVPk140 = "#ff19a4";
|
227
|
-
const calciteColorVibrantPinkVPk160 = "#d11486";
|
228
|
-
const calciteColorVibrantPinkVPk180 = "#c00073";
|
229
|
-
const calciteColorVibrantVioletRedVVr120 = "#ea80ff";
|
230
|
-
const calciteColorVibrantVioletRedVVr140 = "#dd33ff";
|
231
|
-
const calciteColorVibrantVioletRedVVr160 = "#ac08cc";
|
232
|
-
const calciteColorVibrantVioletRedVVr180 = "#83009e";
|
233
|
-
const calciteColorVibrantVioletVVv120 = "#b580ff";
|
234
|
-
const calciteColorVibrantVioletVVv140 = "#974dff";
|
235
|
-
const calciteColorVibrantVioletVVv160 = "#8129ff";
|
236
|
-
const calciteColorVibrantVioletVVv180 = "#6a0be6";
|
237
|
-
const calciteColorDarkGreenDGg410 = "#44ed51";
|
238
|
-
const calciteColorDarkGreenDGg420 = "#36da43";
|
239
|
-
const calciteColorDarkGreenDGg430 = "#36da43";
|
240
|
-
const calciteColorDarkYellowDYy410 = "#ffe24d";
|
241
|
-
const calciteColorDarkYellowDYy420 = "#ffc900";
|
242
|
-
const calciteColorDarkYellowDYy430 = "#f4b000";
|
243
|
-
const calciteColorDarkRedDRr410 = "#ff7465";
|
244
|
-
const calciteColorDarkRedDRr420 = "#fe583e";
|
245
|
-
const calciteColorDarkRedDRr430 = "#f3381b";
|
246
|
-
const calciteColorDarkBlueDBb410 = "#47bbff";
|
247
|
-
const calciteColorDarkBlueDBb420 = "#00a0ff";
|
248
|
-
const calciteColorDarkBlueDBb430 = "#0087d7";
|
249
|
-
const calciteContainerSize0 = "0";
|
250
|
-
const calciteContainerSize154 = "154px";
|
251
|
-
const calciteContainerSize320 = "320px";
|
252
|
-
const calciteContainerSize328 = "328px";
|
253
|
-
const calciteContainerSize476 = "476px";
|
254
|
-
const calciteContainerSize504 = "504px";
|
255
|
-
const calciteContainerSize678 = "678px";
|
256
|
-
const calciteContainerSize768 = "768px";
|
257
|
-
const calciteContainerSize854 = "854px";
|
258
|
-
const calciteContainerSize1152 = "1152px";
|
259
|
-
const calciteContainerSize1440 = "1440px";
|
260
|
-
const calciteFontFamilyAndaleMono = "Andale Mono"; // Fallback for Monaco
|
261
|
-
const calciteFontFamilyAvenirNextPro = "Avenir Next LT Pro";
|
262
|
-
const calciteFontFamilyAvenirNextWorld = "Avenir Next World";
|
263
|
-
const calciteFontFamilyAvenir = "Avenir"; // Fallback for Avenir Next
|
264
|
-
const calciteFontFamilyConsolas = "Consolas"; // Fallback for Monaco
|
265
|
-
const calciteFontFamilyHelveticaNeue = "Helvetica Neue"; // Fallback for Avenir Next
|
266
|
-
const calciteFontFamilyLucidaConsole = "Lucida Console"; // Fallback for Monaco
|
267
|
-
const calciteFontFamilyMonaco = "Monaco";
|
268
|
-
const calciteFontFamilyMonospace = "monospace"; // Fallback for Monaco
|
269
|
-
const calciteFontFamilySansSerif = "sans-serif"; // Fallback for Avenir Next
|
270
|
-
const calciteFontStyleItalic = "italic"; // used in ratings
|
271
|
-
const calciteFontWeightUltralight = "200"; // only for Avenir Next World (secondary font family)
|
272
|
-
const calciteFontWeightThin = "100";
|
273
|
-
const calciteFontWeightLight = "300"; // only for Avenir Next World (secondary font family)
|
274
|
-
const calciteFontWeightRegular = "400";
|
275
|
-
const calciteFontWeightMedium = "500";
|
276
|
-
const calciteFontWeightMediumItalic = "Medium Italic";
|
277
|
-
const calciteFontWeightDemi = "600";
|
278
|
-
const calciteFontWeightBold = "700";
|
279
|
-
const calciteFontWeightExtrabold = "800"; // only for Avenir Next World (secondary font family)
|
280
|
-
const calciteFontWeightBlack = "900"; // only for Avenir Next World (secondary font family)
|
281
|
-
const calciteFontWeightHeavy = "900";
|
282
|
-
const calciteFontTextDecorationNone = "none";
|
283
|
-
const calciteFontTextDecorationUnderline = "underline";
|
284
|
-
const calciteFontTextCaseNone = "none";
|
285
|
-
const calciteFontTextCaseUppercase = "uppercase";
|
286
|
-
const calciteFontTextCaseLowercase = "lowercase";
|
287
|
-
const calciteFontTextCaseCapitalize = "capitalize";
|
288
|
-
const calciteOpacity0 = "0";
|
289
|
-
const calciteOpacity4 = "0.04";
|
290
|
-
const calciteOpacity8 = "0.08";
|
291
|
-
const calciteOpacity10 = "0.1";
|
292
|
-
const calciteOpacity20 = "0.2";
|
293
|
-
const calciteOpacity30 = "0.3";
|
294
|
-
const calciteOpacity40 = "0.4";
|
295
|
-
const calciteOpacity50 = "0.5";
|
296
|
-
const calciteOpacity60 = "0.6";
|
297
|
-
const calciteOpacity70 = "0.7";
|
298
|
-
const calciteOpacity80 = "0.8";
|
299
|
-
const calciteOpacity85 = "0.85";
|
300
|
-
const calciteOpacity90 = "0.9";
|
301
|
-
const calciteOpacity92 = "0.92";
|
302
|
-
const calciteOpacity96 = "0.96";
|
303
|
-
const calciteOpacity100 = "1";
|
304
|
-
const calciteShadow0 = {"x":"0","y":"0","blur":"0","spread":"0","color":"rgba(#000000, 0)"};
|
305
|
-
const calciteShadow1 = {"x":"0","y":"2","blur":"8","spread":"0","color":"rgba(#000000, 0.04)"};
|
306
|
-
const calciteShadow2 = {"x":"0","y":"4","blur":"16","spread":"0","color":"rgba(#000000, 0.08)"};
|
307
|
-
const calciteShadow3 = {"x":"0","y":"4","blur":"20","spread":"0","color":"rgba(#000000, 0.08)"};
|
308
|
-
const calciteShadow4 = {"x":"0","y":"12","blur":"32","spread":"-2","color":"rgba(#000000, 0.1)"};
|
309
|
-
const calciteSize1 = "1px";
|
310
|
-
const calciteSize2 = "2px";
|
311
|
-
const calciteSize4 = "4px";
|
312
|
-
const calciteSize6 = "6px";
|
313
|
-
const calciteSize8 = "8px";
|
314
|
-
const calciteSize10 = "10px";
|
315
|
-
const calciteSize12 = "12px";
|
316
|
-
const calciteSize14 = "14px";
|
317
|
-
const calciteSize16 = "16px";
|
318
|
-
const calciteSize20 = "20px";
|
319
|
-
const calciteSize24 = "24px";
|
320
|
-
const calciteSize28 = "28px";
|
321
|
-
const calciteSize32 = "32px";
|
322
|
-
const calciteSize36 = "36px";
|
323
|
-
const calciteSize40 = "40px";
|
324
|
-
const calciteSize44 = "44px";
|
325
|
-
const calciteSize48 = "48px";
|
326
|
-
const calciteSize56 = "56px";
|
327
|
-
const calciteSize64 = "64px";
|
328
|
-
const calciteSize72 = "72px";
|
329
|
-
const calciteSize80 = "80px";
|
330
|
-
const calciteSize96 = "96px";
|
331
|
-
const calciteSize112 = "112px";
|
332
|
-
const calciteSize128 = "128px";
|
333
|
-
const calciteSize144 = "144px";
|
334
|
-
const calciteSize160 = "160px";
|
335
|
-
const calciteSize192 = "192px";
|
336
|
-
const calciteSize224 = "224px";
|
337
|
-
const calciteSize256 = "256px";
|
338
|
-
const calciteSize288 = "288px";
|
339
|
-
const calciteSizeNone = "0";
|
340
|
-
const calciteSizeRelative50 = "50%";
|
341
|
-
const calciteSizeRelative100 = "100%";
|
342
|
-
const calciteSizeRelative125 = "125%";
|
343
|
-
const calciteSizeRelative137 = "137.5%";
|
344
|
-
const calciteSizeRelative150 = "150%";
|
345
|
-
const calciteSizeRelative162 = "162.5%";
|
346
|
-
const calciteSizeRelative200 = "200%";
|
347
|
-
const calciteSizeRelativeAuto = "auto";
|
348
|
-
const calciteZIndex0 = "-999999";
|
349
|
-
const calciteZIndex1 = "1";
|
350
|
-
const calciteZIndex3 = "300";
|
351
|
-
const calciteZIndex4 = "400";
|
352
|
-
const calciteZIndex5 = "500";
|
353
|
-
const calciteZIndex6 = "600";
|
354
|
-
const calciteZIndex7 = "700";
|
355
|
-
const calciteZIndex8 = "800";
|
356
|
-
const calciteZIndex9 = "900";
|
357
|
-
|
358
|
-
const comboboxCss = ":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)}";
|
359
|
-
|
360
|
-
const isGroup = (el) => el.tagName === ComboboxItemGroup;
|
361
|
-
const itemUidPrefix = "combobox-item-";
|
362
|
-
const chipUidPrefix = "combobox-chip-";
|
363
|
-
const labelUidPrefix = "combobox-label-";
|
364
|
-
const listboxUidPrefix = "combobox-listbox-";
|
365
|
-
const inputUidPrefix = "combobox-input-";
|
366
|
-
const Combobox = class {
|
367
|
-
constructor(hostRef) {
|
368
|
-
registerInstance(this, hostRef);
|
369
|
-
this.calciteComboboxChange = createEvent(this, "calciteComboboxChange", 6);
|
370
|
-
this.calciteComboboxFilterChange = createEvent(this, "calciteComboboxFilterChange", 6);
|
371
|
-
this.calciteComboboxChipClose = createEvent(this, "calciteComboboxChipClose", 6);
|
372
|
-
this.calciteComboboxBeforeClose = createEvent(this, "calciteComboboxBeforeClose", 6);
|
373
|
-
this.calciteComboboxClose = createEvent(this, "calciteComboboxClose", 6);
|
374
|
-
this.calciteComboboxBeforeOpen = createEvent(this, "calciteComboboxBeforeOpen", 6);
|
375
|
-
this.calciteComboboxOpen = createEvent(this, "calciteComboboxOpen", 6);
|
376
|
-
this.placement = defaultMenuPlacement;
|
377
|
-
this.internalValueChangeFlag = false;
|
378
|
-
this.textInput = null;
|
379
|
-
this.mutationObserver = createObserver("mutation", () => this.updateItems());
|
380
|
-
this.resizeObserver = createObserver("resize", () => {
|
381
|
-
this.setMaxScrollerHeight();
|
382
|
-
this.refreshSelectionDisplay();
|
383
|
-
});
|
384
|
-
this.guid = guid();
|
385
|
-
this.inputHeight = 0;
|
386
|
-
this.ignoreSelectedEventsFlag = false;
|
387
|
-
this.openTransitionProp = "opacity";
|
388
|
-
this.setFilteredPlacements = () => {
|
389
|
-
const { el, flipPlacements } = this;
|
390
|
-
this.filteredFlipPlacements = flipPlacements
|
391
|
-
? filterComputedPlacements(flipPlacements, el)
|
392
|
-
: null;
|
393
|
-
};
|
394
|
-
this.getValue = () => {
|
395
|
-
const items = this.selectedItems.map((item) => { var _a; return (_a = item === null || item === void 0 ? void 0 : item.value) === null || _a === void 0 ? void 0 : _a.toString(); });
|
396
|
-
return (items === null || items === void 0 ? void 0 : items.length) ? (items.length > 1 ? items : items[0]) : "";
|
397
|
-
};
|
398
|
-
this.onLabelClick = () => {
|
399
|
-
this.setFocus();
|
400
|
-
};
|
401
|
-
this.keyDownHandler = (event) => {
|
402
|
-
const { key } = event;
|
403
|
-
switch (key) {
|
404
|
-
case "Tab":
|
405
|
-
this.activeChipIndex = -1;
|
406
|
-
this.activeItemIndex = -1;
|
407
|
-
if (this.allowCustomValues && this.text) {
|
408
|
-
this.addCustomChip(this.text, true);
|
409
|
-
event.preventDefault();
|
410
|
-
}
|
411
|
-
else if (this.open) {
|
412
|
-
this.open = false;
|
413
|
-
event.preventDefault();
|
414
|
-
}
|
415
|
-
else if (!this.allowCustomValues && this.text) {
|
416
|
-
this.clearInputValue();
|
417
|
-
this.filterItems("");
|
418
|
-
this.updateActiveItemIndex(-1);
|
419
|
-
}
|
420
|
-
break;
|
421
|
-
case "ArrowLeft":
|
422
|
-
this.previousChip();
|
423
|
-
event.preventDefault();
|
424
|
-
break;
|
425
|
-
case "ArrowRight":
|
426
|
-
this.nextChip();
|
427
|
-
event.preventDefault();
|
428
|
-
break;
|
429
|
-
case "ArrowUp":
|
430
|
-
event.preventDefault();
|
431
|
-
if (this.open) {
|
432
|
-
this.shiftActiveItemIndex(-1);
|
433
|
-
}
|
434
|
-
if (!this.comboboxInViewport()) {
|
435
|
-
this.el.scrollIntoView();
|
436
|
-
}
|
437
|
-
break;
|
438
|
-
case "ArrowDown":
|
439
|
-
event.preventDefault();
|
440
|
-
if (this.open) {
|
441
|
-
this.shiftActiveItemIndex(1);
|
442
|
-
}
|
443
|
-
else {
|
444
|
-
this.open = true;
|
445
|
-
this.ensureRecentSelectedItemIsActive();
|
446
|
-
}
|
447
|
-
if (!this.comboboxInViewport()) {
|
448
|
-
this.el.scrollIntoView();
|
449
|
-
}
|
450
|
-
break;
|
451
|
-
case " ":
|
452
|
-
if (!this.textInput.value) {
|
453
|
-
if (!this.open) {
|
454
|
-
this.open = true;
|
455
|
-
this.shiftActiveItemIndex(1);
|
456
|
-
}
|
457
|
-
event.preventDefault();
|
458
|
-
}
|
459
|
-
break;
|
460
|
-
case "Home":
|
461
|
-
if (!this.open) {
|
462
|
-
return;
|
463
|
-
}
|
464
|
-
event.preventDefault();
|
465
|
-
this.updateActiveItemIndex(0);
|
466
|
-
this.scrollToActiveItem();
|
467
|
-
if (!this.comboboxInViewport()) {
|
468
|
-
this.el.scrollIntoView();
|
469
|
-
}
|
470
|
-
break;
|
471
|
-
case "End":
|
472
|
-
if (!this.open) {
|
473
|
-
return;
|
474
|
-
}
|
475
|
-
event.preventDefault();
|
476
|
-
this.updateActiveItemIndex(this.filteredItems.length - 1);
|
477
|
-
this.scrollToActiveItem();
|
478
|
-
if (!this.comboboxInViewport()) {
|
479
|
-
this.el.scrollIntoView();
|
480
|
-
}
|
481
|
-
break;
|
482
|
-
case "Escape":
|
483
|
-
if (!this.clearDisabled && !this.open) {
|
484
|
-
this.clearValue();
|
485
|
-
}
|
486
|
-
this.open = false;
|
487
|
-
event.preventDefault();
|
488
|
-
break;
|
489
|
-
case "Enter":
|
490
|
-
if (this.activeItemIndex > -1) {
|
491
|
-
this.toggleSelection(this.filteredItems[this.activeItemIndex]);
|
492
|
-
event.preventDefault();
|
493
|
-
}
|
494
|
-
else if (this.activeChipIndex > -1) {
|
495
|
-
this.removeActiveChip();
|
496
|
-
event.preventDefault();
|
497
|
-
}
|
498
|
-
else if (this.allowCustomValues && this.text) {
|
499
|
-
this.addCustomChip(this.text, true);
|
500
|
-
event.preventDefault();
|
501
|
-
}
|
502
|
-
else if (!event.defaultPrevented) {
|
503
|
-
if (submitForm(this)) {
|
504
|
-
event.preventDefault();
|
505
|
-
}
|
506
|
-
}
|
507
|
-
break;
|
508
|
-
case "Delete":
|
509
|
-
case "Backspace":
|
510
|
-
const notDeletable = this.selectionDisplay === "single" ||
|
511
|
-
(this.selectionDisplay === "fit" && this.selectedHiddenChipsCount > 0);
|
512
|
-
if (notDeletable) {
|
513
|
-
return;
|
514
|
-
}
|
515
|
-
if (this.activeChipIndex > -1) {
|
516
|
-
event.preventDefault();
|
517
|
-
this.removeActiveChip();
|
518
|
-
}
|
519
|
-
else if (!this.text && this.isMulti()) {
|
520
|
-
event.preventDefault();
|
521
|
-
this.removeLastChip();
|
522
|
-
}
|
523
|
-
break;
|
524
|
-
}
|
525
|
-
};
|
526
|
-
this.toggleCloseEnd = () => {
|
527
|
-
this.open = false;
|
528
|
-
this.el.removeEventListener("calciteComboboxClose", this.toggleCloseEnd);
|
529
|
-
};
|
530
|
-
this.toggleOpenEnd = () => {
|
531
|
-
this.open = false;
|
532
|
-
this.el.removeEventListener("calciteComboboxOpen", this.toggleOpenEnd);
|
533
|
-
};
|
534
|
-
this.setMaxScrollerHeight = async () => {
|
535
|
-
const { listContainerEl, open, referenceEl } = this;
|
536
|
-
if (!listContainerEl || !open) {
|
537
|
-
return;
|
538
|
-
}
|
539
|
-
await this.reposition(true);
|
540
|
-
const maxScrollerHeight = this.getMaxScrollerHeight();
|
541
|
-
listContainerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
|
542
|
-
listContainerEl.style.minWidth = `${referenceEl.clientWidth}px`;
|
543
|
-
await this.reposition(true);
|
544
|
-
};
|
545
|
-
this.calciteChipCloseHandler = (comboboxItem) => {
|
546
|
-
this.open = false;
|
547
|
-
const selection = this.items.find((item) => item === comboboxItem);
|
548
|
-
if (selection) {
|
549
|
-
this.toggleSelection(selection, false);
|
550
|
-
}
|
551
|
-
this.calciteComboboxChipClose.emit();
|
552
|
-
};
|
553
|
-
this.clickHandler = (event) => {
|
554
|
-
const composedPath = event.composedPath();
|
555
|
-
if (composedPath.some((node) => node.tagName === "CALCITE-CHIP")) {
|
556
|
-
this.open = false;
|
557
|
-
event.preventDefault();
|
558
|
-
return;
|
559
|
-
}
|
560
|
-
if (composedPath.some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS.button); })) {
|
561
|
-
this.clearValue();
|
562
|
-
event.preventDefault();
|
563
|
-
return;
|
564
|
-
}
|
565
|
-
this.open = !this.open;
|
566
|
-
this.ensureRecentSelectedItemIsActive();
|
567
|
-
};
|
568
|
-
this.refreshSelectionDisplay = async () => {
|
569
|
-
await componentLoaded(this);
|
570
|
-
if (isSingleLike(this.selectionMode)) {
|
571
|
-
return;
|
572
|
-
}
|
573
|
-
if (!this.textInput) {
|
574
|
-
return;
|
575
|
-
}
|
576
|
-
const { allSelectedIndicatorChipEl, chipContainerEl, selectionDisplay, placeholder, selectedIndicatorChipEl, textInput, } = this;
|
577
|
-
const chipContainerElGap = parseInt(getComputedStyle(chipContainerEl).gap.replace("px", ""));
|
578
|
-
const chipContainerElWidth = getElementWidth(chipContainerEl);
|
579
|
-
const { fontSize, fontFamily } = getComputedStyle(textInput);
|
580
|
-
const inputTextWidth = getTextWidth(placeholder, `${fontSize} ${fontFamily}`);
|
581
|
-
const inputWidth = (inputTextWidth || parseInt(calciteSize48)) + chipContainerElGap;
|
582
|
-
const allSelectedIndicatorChipElWidth = getElementWidth(allSelectedIndicatorChipEl);
|
583
|
-
const selectedIndicatorChipElWidth = getElementWidth(selectedIndicatorChipEl);
|
584
|
-
const largestSelectedIndicatorChipWidth = Math.max(allSelectedIndicatorChipElWidth, selectedIndicatorChipElWidth);
|
585
|
-
this.setCompactSelectionDisplay({
|
586
|
-
chipContainerElGap,
|
587
|
-
chipContainerElWidth,
|
588
|
-
inputWidth,
|
589
|
-
largestSelectedIndicatorChipWidth,
|
590
|
-
});
|
591
|
-
if (selectionDisplay === "fit") {
|
592
|
-
const chipEls = Array.from(this.el.shadowRoot.querySelectorAll("calcite-chip")).filter((chipEl) => chipEl.closable);
|
593
|
-
const availableHorizontalChipElSpace = Math.round(chipContainerElWidth -
|
594
|
-
((this.selectedHiddenChipsCount > 0 ? selectedIndicatorChipElWidth : 0) +
|
595
|
-
chipContainerElGap +
|
596
|
-
inputWidth +
|
597
|
-
chipContainerElGap));
|
598
|
-
this.refreshChipDisplay({ availableHorizontalChipElSpace, chipContainerElGap, chipEls });
|
599
|
-
this.setVisibleAndHiddenChips(chipEls);
|
600
|
-
}
|
601
|
-
};
|
602
|
-
this.setFloatingEl = (el) => {
|
603
|
-
this.floatingEl = el;
|
604
|
-
connectFloatingUI(this, this.referenceEl, this.floatingEl);
|
605
|
-
};
|
606
|
-
this.setContainerEl = (el) => {
|
607
|
-
this.resizeObserver.observe(el);
|
608
|
-
this.listContainerEl = el;
|
609
|
-
this.transitionEl = el;
|
610
|
-
};
|
611
|
-
this.setChipContainerEl = (el) => {
|
612
|
-
this.resizeObserver.observe(el);
|
613
|
-
this.chipContainerEl = el;
|
614
|
-
};
|
615
|
-
this.setReferenceEl = (el) => {
|
616
|
-
this.referenceEl = el;
|
617
|
-
connectFloatingUI(this, this.referenceEl, this.floatingEl);
|
618
|
-
};
|
619
|
-
this.setAllSelectedIndicatorChipEl = (el) => {
|
620
|
-
this.allSelectedIndicatorChipEl = el;
|
621
|
-
};
|
622
|
-
this.setSelectedIndicatorChipEl = (el) => {
|
623
|
-
this.selectedIndicatorChipEl = el;
|
624
|
-
};
|
625
|
-
this.inputHandler = (event) => {
|
626
|
-
const value = event.target.value;
|
627
|
-
this.text = value;
|
628
|
-
this.filterItems(value);
|
629
|
-
if (value) {
|
630
|
-
this.activeChipIndex = -1;
|
631
|
-
}
|
632
|
-
};
|
633
|
-
this.filterItems = (() => {
|
634
|
-
const find = (item, filteredData) => item &&
|
635
|
-
filteredData.some(({ label, value }) => isGroup(item) ? label === item.label : value === item.value && label === item.textLabel);
|
636
|
-
return debounce((text) => {
|
637
|
-
const filteredData = filter(this.data, text);
|
638
|
-
const itemsAndGroups = this.getItemsAndGroups();
|
639
|
-
itemsAndGroups.forEach((item) => {
|
640
|
-
const hidden = !find(item, filteredData);
|
641
|
-
item.hidden = hidden;
|
642
|
-
const [parent, grandparent] = item.ancestors;
|
643
|
-
if (find(parent, filteredData) || find(grandparent, filteredData)) {
|
644
|
-
item.hidden = false;
|
645
|
-
}
|
646
|
-
if (!hidden) {
|
647
|
-
item.ancestors.forEach((ancestor) => (ancestor.hidden = false));
|
648
|
-
}
|
649
|
-
});
|
650
|
-
this.filteredItems = this.getFilteredItems();
|
651
|
-
this.calciteComboboxFilterChange.emit();
|
652
|
-
}, 100);
|
653
|
-
})();
|
654
|
-
this.internalComboboxChangeEvent = () => {
|
655
|
-
this.calciteComboboxChange.emit();
|
656
|
-
};
|
657
|
-
this.emitComboboxChange = debounce(this.internalComboboxChangeEvent, 0);
|
658
|
-
this.getSelectedItems = () => {
|
659
|
-
if (!this.isMulti()) {
|
660
|
-
const match = this.items.find(({ selected }) => selected);
|
661
|
-
return match ? [match] : [];
|
662
|
-
}
|
663
|
-
return (this.items
|
664
|
-
.filter((item) => item.selected && (this.selectionMode !== "ancestors" || !hasActiveChildren(item)))
|
665
|
-
/** Preserve order of entered tags */
|
666
|
-
.sort((a, b) => {
|
667
|
-
const aIdx = this.selectedItems.indexOf(a);
|
668
|
-
const bIdx = this.selectedItems.indexOf(b);
|
669
|
-
if (aIdx > -1 && bIdx > -1) {
|
670
|
-
return aIdx - bIdx;
|
671
|
-
}
|
672
|
-
return bIdx - aIdx;
|
673
|
-
}));
|
674
|
-
};
|
675
|
-
this.updateItems = () => {
|
676
|
-
this.items = this.getItems();
|
677
|
-
this.groupItems = this.getGroupItems();
|
678
|
-
this.data = this.getData();
|
679
|
-
this.selectedItems = this.getSelectedItems();
|
680
|
-
this.filteredItems = this.getFilteredItems();
|
681
|
-
this.needsIcon = this.getNeedsIcon();
|
682
|
-
this.items.forEach((item) => {
|
683
|
-
item.selectionMode = this.selectionMode;
|
684
|
-
item.scale = this.scale;
|
685
|
-
});
|
686
|
-
if (!this.allowCustomValues) {
|
687
|
-
this.setMaxScrollerHeight();
|
688
|
-
}
|
689
|
-
this.groupItems.forEach((groupItem, index, items) => {
|
690
|
-
if (index === 0) {
|
691
|
-
groupItem.afterEmptyGroup = false;
|
692
|
-
}
|
693
|
-
const nextGroupItem = items[index + 1];
|
694
|
-
if (nextGroupItem) {
|
695
|
-
nextGroupItem.afterEmptyGroup = groupItem.children.length === 0;
|
696
|
-
}
|
697
|
-
});
|
698
|
-
};
|
699
|
-
this.scrollToActiveItem = () => {
|
700
|
-
const activeItem = this.filteredItems[this.activeItemIndex];
|
701
|
-
if (!activeItem) {
|
702
|
-
return;
|
703
|
-
}
|
704
|
-
const height = this.calculateSingleItemHeight(activeItem);
|
705
|
-
const { offsetHeight, scrollTop } = this.listContainerEl;
|
706
|
-
if (offsetHeight + scrollTop < activeItem.offsetTop + height) {
|
707
|
-
this.listContainerEl.scrollTop = activeItem.offsetTop - offsetHeight + height;
|
708
|
-
}
|
709
|
-
else if (activeItem.offsetTop < scrollTop) {
|
710
|
-
this.listContainerEl.scrollTop = activeItem.offsetTop;
|
711
|
-
}
|
712
|
-
};
|
713
|
-
this.comboboxFocusHandler = () => {
|
714
|
-
var _a;
|
715
|
-
if (this.disabled) {
|
716
|
-
return;
|
717
|
-
}
|
718
|
-
(_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
|
719
|
-
};
|
720
|
-
this.clearDisabled = false;
|
721
|
-
this.selectionDisplay = "all";
|
722
|
-
this.open = false;
|
723
|
-
this.disabled = false;
|
724
|
-
this.form = undefined;
|
725
|
-
this.label = undefined;
|
726
|
-
this.placeholder = undefined;
|
727
|
-
this.placeholderIcon = undefined;
|
728
|
-
this.placeholderIconFlipRtl = false;
|
729
|
-
this.maxItems = 0;
|
730
|
-
this.validationMessage = undefined;
|
731
|
-
this.validationIcon = undefined;
|
732
|
-
this.name = undefined;
|
733
|
-
this.allowCustomValues = undefined;
|
734
|
-
this.overlayPositioning = "absolute";
|
735
|
-
this.required = false;
|
736
|
-
this.selectionMode = "multiple";
|
737
|
-
this.scale = "m";
|
738
|
-
this.status = "idle";
|
739
|
-
this.value = null;
|
740
|
-
this.flipPlacements = undefined;
|
741
|
-
this.messages = undefined;
|
742
|
-
this.messageOverrides = undefined;
|
743
|
-
this.selectedItems = [];
|
744
|
-
this.filteredItems = [];
|
745
|
-
this.items = [];
|
746
|
-
this.groupItems = [];
|
747
|
-
this.needsIcon = undefined;
|
748
|
-
this.activeItemIndex = -1;
|
749
|
-
this.activeChipIndex = -1;
|
750
|
-
this.activeDescendant = "";
|
751
|
-
this.compactSelectionDisplay = false;
|
752
|
-
this.selectedHiddenChipsCount = 0;
|
753
|
-
this.selectedVisibleChipsCount = 0;
|
754
|
-
this.text = "";
|
755
|
-
this.effectiveLocale = undefined;
|
756
|
-
this.defaultMessages = undefined;
|
757
|
-
}
|
758
|
-
openHandler() {
|
759
|
-
onToggleOpenCloseComponent(this);
|
760
|
-
if (this.disabled) {
|
761
|
-
this.open = false;
|
762
|
-
return;
|
763
|
-
}
|
764
|
-
this.setMaxScrollerHeight();
|
765
|
-
}
|
766
|
-
handleDisabledChange(value) {
|
767
|
-
if (!value) {
|
768
|
-
this.open = false;
|
769
|
-
}
|
770
|
-
}
|
771
|
-
maxItemsHandler() {
|
772
|
-
this.setMaxScrollerHeight();
|
773
|
-
}
|
774
|
-
overlayPositioningHandler() {
|
775
|
-
this.reposition(true);
|
776
|
-
}
|
777
|
-
handlePropsChange() {
|
778
|
-
this.updateItems();
|
779
|
-
}
|
780
|
-
valueHandler(value) {
|
781
|
-
if (!this.internalValueChangeFlag) {
|
782
|
-
const items = this.getItems();
|
783
|
-
if (Array.isArray(value)) {
|
784
|
-
items.forEach((item) => (item.selected = value.includes(item.value)));
|
785
|
-
}
|
786
|
-
else if (value) {
|
787
|
-
items.forEach((item) => (item.selected = value === item.value));
|
788
|
-
}
|
789
|
-
else {
|
790
|
-
items.forEach((item) => (item.selected = false));
|
791
|
-
}
|
792
|
-
this.updateItems();
|
793
|
-
}
|
794
|
-
}
|
795
|
-
onMessagesChange() {
|
796
|
-
/* wired up by t9n util */
|
797
|
-
}
|
798
|
-
flipPlacementsHandler() {
|
799
|
-
this.setFilteredPlacements();
|
800
|
-
this.reposition(true);
|
801
|
-
}
|
802
|
-
selectedItemsHandler() {
|
803
|
-
this.internalValueChangeFlag = true;
|
804
|
-
this.value = this.getValue();
|
805
|
-
this.internalValueChangeFlag = false;
|
806
|
-
}
|
807
|
-
//--------------------------------------------------------------------------
|
808
|
-
//
|
809
|
-
// Event Listeners
|
810
|
-
//
|
811
|
-
//--------------------------------------------------------------------------
|
812
|
-
documentClickHandler(event) {
|
813
|
-
if (this.disabled || !isPrimaryPointerButton(event)) {
|
814
|
-
return;
|
815
|
-
}
|
816
|
-
const composedPath = event.composedPath();
|
817
|
-
if (composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
|
818
|
-
return;
|
819
|
-
}
|
820
|
-
if (!this.allowCustomValues && this.textInput.value) {
|
821
|
-
this.clearInputValue();
|
822
|
-
this.filterItems("");
|
823
|
-
this.updateActiveItemIndex(-1);
|
824
|
-
}
|
825
|
-
if (this.allowCustomValues && this.text.trim().length) {
|
826
|
-
this.addCustomChip(this.text);
|
827
|
-
}
|
828
|
-
this.open = false;
|
829
|
-
}
|
830
|
-
calciteComboboxItemChangeHandler(event) {
|
831
|
-
if (this.ignoreSelectedEventsFlag) {
|
832
|
-
return;
|
833
|
-
}
|
834
|
-
const target = event.target;
|
835
|
-
const newIndex = this.filteredItems.indexOf(target);
|
836
|
-
this.updateActiveItemIndex(newIndex);
|
837
|
-
this.toggleSelection(target, target.selected);
|
838
|
-
}
|
839
|
-
//--------------------------------------------------------------------------
|
840
|
-
//
|
841
|
-
// Public Methods
|
842
|
-
//
|
843
|
-
//--------------------------------------------------------------------------
|
844
|
-
/**
|
845
|
-
* Updates the position of the component.
|
846
|
-
*
|
847
|
-
* @param delayed Reposition the component after a delay
|
848
|
-
* @returns Promise
|
849
|
-
*/
|
850
|
-
async reposition(delayed = false) {
|
851
|
-
const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;
|
852
|
-
return reposition(this, {
|
853
|
-
floatingEl,
|
854
|
-
referenceEl,
|
855
|
-
overlayPositioning,
|
856
|
-
placement,
|
857
|
-
flipPlacements: filteredFlipPlacements,
|
858
|
-
type: "menu",
|
859
|
-
}, delayed);
|
860
|
-
}
|
861
|
-
/** Sets focus on the component. */
|
862
|
-
async setFocus() {
|
863
|
-
var _a;
|
864
|
-
await componentFocusable(this);
|
865
|
-
(_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
|
866
|
-
this.activeChipIndex = -1;
|
867
|
-
this.activeItemIndex = -1;
|
868
|
-
}
|
869
|
-
// --------------------------------------------------------------------------
|
870
|
-
//
|
871
|
-
// Lifecycle
|
872
|
-
//
|
873
|
-
// --------------------------------------------------------------------------
|
874
|
-
connectedCallback() {
|
875
|
-
var _a;
|
876
|
-
connectInteractive(this);
|
877
|
-
connectLocalized(this);
|
878
|
-
connectMessages(this);
|
879
|
-
connectLabel(this);
|
880
|
-
connectForm(this);
|
881
|
-
this.internalValueChangeFlag = true;
|
882
|
-
this.value = this.getValue();
|
883
|
-
this.internalValueChangeFlag = false;
|
884
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
885
|
-
this.updateItems();
|
886
|
-
this.setFilteredPlacements();
|
887
|
-
this.reposition(true);
|
888
|
-
if (this.open) {
|
889
|
-
this.openHandler();
|
890
|
-
onToggleOpenCloseComponent(this);
|
891
|
-
}
|
892
|
-
connectFloatingUI(this, this.referenceEl, this.floatingEl);
|
893
|
-
}
|
894
|
-
async componentWillLoad() {
|
895
|
-
setUpLoadableComponent(this);
|
896
|
-
this.updateItems();
|
897
|
-
await setUpMessages(this);
|
898
|
-
}
|
899
|
-
componentDidLoad() {
|
900
|
-
afterConnectDefaultValueSet(this, this.getValue());
|
901
|
-
this.reposition(true);
|
902
|
-
setComponentLoaded(this);
|
903
|
-
}
|
904
|
-
componentDidRender() {
|
905
|
-
if (this.el.offsetHeight !== this.inputHeight) {
|
906
|
-
this.reposition(true);
|
907
|
-
this.inputHeight = this.el.offsetHeight;
|
908
|
-
}
|
909
|
-
updateHostInteraction(this);
|
910
|
-
}
|
911
|
-
componentDidUpdate() {
|
912
|
-
this.refreshSelectionDisplay();
|
913
|
-
}
|
914
|
-
disconnectedCallback() {
|
915
|
-
var _a, _b;
|
916
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
917
|
-
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
918
|
-
disconnectInteractive(this);
|
919
|
-
disconnectLabel(this);
|
920
|
-
disconnectForm(this);
|
921
|
-
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
922
|
-
disconnectLocalized(this);
|
923
|
-
disconnectMessages(this);
|
924
|
-
}
|
925
|
-
/** when search text is cleared, reset active to */
|
926
|
-
textHandler() {
|
927
|
-
this.updateActiveItemIndex(-1);
|
928
|
-
}
|
929
|
-
effectiveLocaleChange() {
|
930
|
-
updateMessages(this, this.effectiveLocale);
|
931
|
-
}
|
932
|
-
// --------------------------------------------------------------------------
|
933
|
-
//
|
934
|
-
// Private Methods
|
935
|
-
//
|
936
|
-
// --------------------------------------------------------------------------
|
937
|
-
clearValue() {
|
938
|
-
this.ignoreSelectedEventsFlag = true;
|
939
|
-
this.items.forEach((el) => (el.selected = false));
|
940
|
-
this.ignoreSelectedEventsFlag = false;
|
941
|
-
this.selectedItems = [];
|
942
|
-
this.emitComboboxChange();
|
943
|
-
this.open = false;
|
944
|
-
this.updateActiveItemIndex(-1);
|
945
|
-
this.resetText();
|
946
|
-
this.filterItems("");
|
947
|
-
this.setFocus();
|
948
|
-
}
|
949
|
-
clearInputValue() {
|
950
|
-
this.textInput.value = "";
|
951
|
-
this.text = "";
|
952
|
-
}
|
953
|
-
comboboxInViewport() {
|
954
|
-
const bounding = this.el.getBoundingClientRect();
|
955
|
-
return (bounding.top >= 0 &&
|
956
|
-
bounding.left >= 0 &&
|
957
|
-
bounding.right <= (window.innerWidth || document.documentElement.clientWidth) &&
|
958
|
-
bounding.bottom <= (window.innerHeight || document.documentElement.clientHeight));
|
959
|
-
}
|
960
|
-
onBeforeOpen() {
|
961
|
-
this.scrollToActiveItem();
|
962
|
-
this.calciteComboboxBeforeOpen.emit();
|
963
|
-
}
|
964
|
-
onOpen() {
|
965
|
-
this.calciteComboboxOpen.emit();
|
966
|
-
}
|
967
|
-
onBeforeClose() {
|
968
|
-
this.calciteComboboxBeforeClose.emit();
|
969
|
-
}
|
970
|
-
onClose() {
|
971
|
-
this.calciteComboboxClose.emit();
|
972
|
-
}
|
973
|
-
ensureRecentSelectedItemIsActive() {
|
974
|
-
const { selectedItems } = this;
|
975
|
-
const targetIndex = selectedItems.length === 0 ? 0 : this.items.indexOf(selectedItems[selectedItems.length - 1]);
|
976
|
-
this.updateActiveItemIndex(targetIndex);
|
977
|
-
}
|
978
|
-
hideChip(chipEl) {
|
979
|
-
chipEl.classList.add(CSS$1.chipInvisible);
|
980
|
-
}
|
981
|
-
showChip(chipEl) {
|
982
|
-
chipEl.classList.remove(CSS$1.chipInvisible);
|
983
|
-
}
|
984
|
-
refreshChipDisplay({ chipEls, availableHorizontalChipElSpace, chipContainerElGap, }) {
|
985
|
-
chipEls.forEach((chipEl) => {
|
986
|
-
if (!chipEl.selected) {
|
987
|
-
this.hideChip(chipEl);
|
988
|
-
}
|
989
|
-
else {
|
990
|
-
const chipElWidth = getElementWidth(chipEl);
|
991
|
-
if (chipElWidth && chipElWidth < availableHorizontalChipElSpace) {
|
992
|
-
availableHorizontalChipElSpace -= chipElWidth + chipContainerElGap;
|
993
|
-
this.showChip(chipEl);
|
994
|
-
return;
|
995
|
-
}
|
996
|
-
}
|
997
|
-
this.hideChip(chipEl);
|
998
|
-
});
|
999
|
-
}
|
1000
|
-
setCompactSelectionDisplay({ chipContainerElGap, chipContainerElWidth, inputWidth, largestSelectedIndicatorChipWidth, }) {
|
1001
|
-
const newCompactBreakpoint = Math.round(largestSelectedIndicatorChipWidth + chipContainerElGap + inputWidth);
|
1002
|
-
if (!this.maxCompactBreakpoint || this.maxCompactBreakpoint < newCompactBreakpoint) {
|
1003
|
-
this.maxCompactBreakpoint = newCompactBreakpoint;
|
1004
|
-
}
|
1005
|
-
this.compactSelectionDisplay = chipContainerElWidth < this.maxCompactBreakpoint;
|
1006
|
-
}
|
1007
|
-
setVisibleAndHiddenChips(chipEls) {
|
1008
|
-
let newSelectedVisibleChipsCount = 0;
|
1009
|
-
chipEls.forEach((chipEl) => {
|
1010
|
-
if (chipEl.selected && !chipEl.classList.contains(CSS$1.chipInvisible)) {
|
1011
|
-
newSelectedVisibleChipsCount++;
|
1012
|
-
}
|
1013
|
-
});
|
1014
|
-
if (newSelectedVisibleChipsCount !== this.selectedVisibleChipsCount) {
|
1015
|
-
this.selectedVisibleChipsCount = newSelectedVisibleChipsCount;
|
1016
|
-
}
|
1017
|
-
const newSelectedHiddenChipsCount = this.getSelectedItems().length - newSelectedVisibleChipsCount;
|
1018
|
-
if (newSelectedHiddenChipsCount !== this.selectedHiddenChipsCount) {
|
1019
|
-
this.selectedHiddenChipsCount = newSelectedHiddenChipsCount;
|
1020
|
-
}
|
1021
|
-
}
|
1022
|
-
getMaxScrollerHeight() {
|
1023
|
-
const items = this.getItemsAndGroups().filter((item) => !item.hidden);
|
1024
|
-
const { maxItems } = this;
|
1025
|
-
let itemsToProcess = 0;
|
1026
|
-
let maxScrollerHeight = 0;
|
1027
|
-
if (items.length > maxItems) {
|
1028
|
-
items.forEach((item) => {
|
1029
|
-
if (itemsToProcess < maxItems && maxItems > 0) {
|
1030
|
-
const height = this.calculateSingleItemHeight(item);
|
1031
|
-
if (height > 0) {
|
1032
|
-
maxScrollerHeight += height;
|
1033
|
-
itemsToProcess++;
|
1034
|
-
}
|
1035
|
-
}
|
1036
|
-
});
|
1037
|
-
}
|
1038
|
-
return maxScrollerHeight;
|
1039
|
-
}
|
1040
|
-
calculateSingleItemHeight(item) {
|
1041
|
-
if (!item) {
|
1042
|
-
return;
|
1043
|
-
}
|
1044
|
-
let height = item.offsetHeight;
|
1045
|
-
// if item has children items, don't count their height twice
|
1046
|
-
const children = Array.from(item.querySelectorAll(ComboboxChildSelector));
|
1047
|
-
children
|
1048
|
-
.map((child) => child === null || child === void 0 ? void 0 : child.offsetHeight)
|
1049
|
-
.forEach((offsetHeight) => {
|
1050
|
-
height -= offsetHeight;
|
1051
|
-
});
|
1052
|
-
return height;
|
1053
|
-
}
|
1054
|
-
getItemsAndGroups() {
|
1055
|
-
return [...this.groupItems, ...this.items];
|
1056
|
-
}
|
1057
|
-
toggleSelection(item, value = !item.selected) {
|
1058
|
-
if (!item ||
|
1059
|
-
(this.selectionMode === "single-persist" && item.selected && item.value === this.value)) {
|
1060
|
-
return;
|
1061
|
-
}
|
1062
|
-
if (this.isMulti()) {
|
1063
|
-
item.selected = value;
|
1064
|
-
this.updateAncestors(item);
|
1065
|
-
this.selectedItems = this.getSelectedItems();
|
1066
|
-
this.emitComboboxChange();
|
1067
|
-
this.resetText();
|
1068
|
-
this.filterItems("");
|
1069
|
-
}
|
1070
|
-
else {
|
1071
|
-
this.ignoreSelectedEventsFlag = true;
|
1072
|
-
this.items.forEach((el) => (el.selected = el === item ? value : false));
|
1073
|
-
this.ignoreSelectedEventsFlag = false;
|
1074
|
-
this.selectedItems = this.getSelectedItems();
|
1075
|
-
this.emitComboboxChange();
|
1076
|
-
if (this.textInput) {
|
1077
|
-
this.textInput.value = item.textLabel;
|
1078
|
-
}
|
1079
|
-
this.open = false;
|
1080
|
-
this.updateActiveItemIndex(-1);
|
1081
|
-
this.resetText();
|
1082
|
-
this.filterItems("");
|
1083
|
-
}
|
1084
|
-
}
|
1085
|
-
updateAncestors(item) {
|
1086
|
-
if (this.selectionMode !== "ancestors") {
|
1087
|
-
return;
|
1088
|
-
}
|
1089
|
-
const ancestors = getItemAncestors(item);
|
1090
|
-
const children = getItemChildren(item);
|
1091
|
-
if (item.selected) {
|
1092
|
-
ancestors.forEach((el) => {
|
1093
|
-
el.selected = true;
|
1094
|
-
});
|
1095
|
-
}
|
1096
|
-
else {
|
1097
|
-
children.forEach((el) => (el.selected = false));
|
1098
|
-
[...ancestors].forEach((el) => {
|
1099
|
-
if (!hasActiveChildren(el)) {
|
1100
|
-
el.selected = false;
|
1101
|
-
}
|
1102
|
-
});
|
1103
|
-
}
|
1104
|
-
}
|
1105
|
-
getFilteredItems() {
|
1106
|
-
return this.items.filter((item) => !item.hidden);
|
1107
|
-
}
|
1108
|
-
getData() {
|
1109
|
-
return this.items.map((item) => ({
|
1110
|
-
filterDisabled: item.filterDisabled,
|
1111
|
-
value: item.value,
|
1112
|
-
label: item.textLabel,
|
1113
|
-
}));
|
1114
|
-
}
|
1115
|
-
getNeedsIcon() {
|
1116
|
-
return isSingleLike(this.selectionMode) && this.items.some((item) => item.icon);
|
1117
|
-
}
|
1118
|
-
resetText() {
|
1119
|
-
if (this.textInput) {
|
1120
|
-
this.textInput.value = "";
|
1121
|
-
}
|
1122
|
-
this.text = "";
|
1123
|
-
}
|
1124
|
-
getItems() {
|
1125
|
-
const items = Array.from(this.el.querySelectorAll(ComboboxItem));
|
1126
|
-
return items.filter((item) => !item.disabled);
|
1127
|
-
}
|
1128
|
-
getGroupItems() {
|
1129
|
-
return Array.from(this.el.querySelectorAll(ComboboxItemGroup));
|
1130
|
-
}
|
1131
|
-
addCustomChip(value, focus) {
|
1132
|
-
const existingItem = this.items.find((el) => el.textLabel === value);
|
1133
|
-
if (existingItem) {
|
1134
|
-
this.toggleSelection(existingItem, true);
|
1135
|
-
}
|
1136
|
-
else {
|
1137
|
-
if (!this.isMulti()) {
|
1138
|
-
this.toggleSelection(this.selectedItems[this.selectedItems.length - 1], false);
|
1139
|
-
}
|
1140
|
-
const item = document.createElement("calcite-combobox-item");
|
1141
|
-
item.value = value;
|
1142
|
-
item.textLabel = value;
|
1143
|
-
item.selected = true;
|
1144
|
-
this.el.appendChild(item);
|
1145
|
-
this.resetText();
|
1146
|
-
if (focus) {
|
1147
|
-
this.setFocus();
|
1148
|
-
}
|
1149
|
-
this.updateItems();
|
1150
|
-
this.filterItems("");
|
1151
|
-
this.emitComboboxChange();
|
1152
|
-
}
|
1153
|
-
}
|
1154
|
-
removeActiveChip() {
|
1155
|
-
this.toggleSelection(this.selectedItems[this.activeChipIndex], false);
|
1156
|
-
this.setFocus();
|
1157
|
-
}
|
1158
|
-
removeLastChip() {
|
1159
|
-
this.toggleSelection(this.selectedItems[this.selectedItems.length - 1], false);
|
1160
|
-
this.setFocus();
|
1161
|
-
}
|
1162
|
-
previousChip() {
|
1163
|
-
if (this.text) {
|
1164
|
-
return;
|
1165
|
-
}
|
1166
|
-
const length = this.selectedItems.length - 1;
|
1167
|
-
const active = this.activeChipIndex;
|
1168
|
-
this.activeChipIndex = active === -1 ? length : Math.max(active - 1, 0);
|
1169
|
-
this.updateActiveItemIndex(-1);
|
1170
|
-
this.focusChip();
|
1171
|
-
}
|
1172
|
-
nextChip() {
|
1173
|
-
if (this.text || this.activeChipIndex === -1) {
|
1174
|
-
return;
|
1175
|
-
}
|
1176
|
-
const last = this.selectedItems.length - 1;
|
1177
|
-
const newIndex = this.activeChipIndex + 1;
|
1178
|
-
if (newIndex > last) {
|
1179
|
-
this.activeChipIndex = -1;
|
1180
|
-
this.setFocus();
|
1181
|
-
}
|
1182
|
-
else {
|
1183
|
-
this.activeChipIndex = newIndex;
|
1184
|
-
this.focusChip();
|
1185
|
-
}
|
1186
|
-
this.updateActiveItemIndex(-1);
|
1187
|
-
}
|
1188
|
-
focusChip() {
|
1189
|
-
var _a;
|
1190
|
-
const guid = (_a = this.selectedItems[this.activeChipIndex]) === null || _a === void 0 ? void 0 : _a.guid;
|
1191
|
-
const chip = guid
|
1192
|
-
? this.referenceEl.querySelector(`#${chipUidPrefix}${guid}`)
|
1193
|
-
: null;
|
1194
|
-
chip === null || chip === void 0 ? void 0 : chip.setFocus();
|
1195
|
-
}
|
1196
|
-
shiftActiveItemIndex(delta) {
|
1197
|
-
const { length } = this.filteredItems;
|
1198
|
-
const newIndex = (this.activeItemIndex + length + delta) % length;
|
1199
|
-
this.updateActiveItemIndex(newIndex);
|
1200
|
-
this.scrollToActiveItem();
|
1201
|
-
}
|
1202
|
-
updateActiveItemIndex(index) {
|
1203
|
-
this.activeItemIndex = index;
|
1204
|
-
let activeDescendant = null;
|
1205
|
-
this.filteredItems.forEach((el, i) => {
|
1206
|
-
if (i === index) {
|
1207
|
-
el.active = true;
|
1208
|
-
activeDescendant = `${itemUidPrefix}${el.guid}`;
|
1209
|
-
}
|
1210
|
-
else {
|
1211
|
-
el.active = false;
|
1212
|
-
}
|
1213
|
-
});
|
1214
|
-
this.activeDescendant = activeDescendant;
|
1215
|
-
if (this.activeItemIndex > -1) {
|
1216
|
-
this.activeChipIndex = -1;
|
1217
|
-
}
|
1218
|
-
}
|
1219
|
-
isAllSelected() {
|
1220
|
-
return this.getItems().length === this.getSelectedItems().length;
|
1221
|
-
}
|
1222
|
-
isMulti() {
|
1223
|
-
return !isSingleLike(this.selectionMode);
|
1224
|
-
}
|
1225
|
-
//--------------------------------------------------------------------------
|
1226
|
-
//
|
1227
|
-
// Render Methods
|
1228
|
-
//
|
1229
|
-
//--------------------------------------------------------------------------
|
1230
|
-
renderChips() {
|
1231
|
-
const { activeChipIndex, scale, selectionMode, messages } = this;
|
1232
|
-
return this.selectedItems.map((item, i) => {
|
1233
|
-
const chipClasses = {
|
1234
|
-
chip: true,
|
1235
|
-
"chip--active": activeChipIndex === i,
|
1236
|
-
};
|
1237
|
-
const ancestors = [...getItemAncestors(item)].reverse();
|
1238
|
-
const pathLabel = [...ancestors, item].map((el) => el.textLabel);
|
1239
|
-
const label = selectionMode !== "ancestors" ? item.textLabel : pathLabel.join(" / ");
|
1240
|
-
return (h("calcite-chip", { class: chipClasses, closable: true, icon: item.icon, iconFlipRtl: item.iconFlipRtl, id: item.guid ? `${chipUidPrefix}${item.guid}` : null, key: item.textLabel, messageOverrides: { dismissLabel: messages.removeTag }, onCalciteChipClose: () => this.calciteChipCloseHandler(item), scale: scale, selected: item.selected, title: label, value: item.value }, label));
|
1241
|
-
});
|
1242
|
-
}
|
1243
|
-
renderAllSelectedIndicatorChip() {
|
1244
|
-
const { compactSelectionDisplay, scale, selectedVisibleChipsCount, setAllSelectedIndicatorChipEl, } = this;
|
1245
|
-
const label = this.messages.allSelected;
|
1246
|
-
return (h("calcite-chip", { class: {
|
1247
|
-
chip: true,
|
1248
|
-
[CSS$1.chipInvisible]: !(this.isAllSelected() &&
|
1249
|
-
!selectedVisibleChipsCount &&
|
1250
|
-
!compactSelectionDisplay),
|
1251
|
-
}, scale: scale, title: label, value: "",
|
1252
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
1253
|
-
ref: setAllSelectedIndicatorChipEl }, label));
|
1254
|
-
}
|
1255
|
-
renderAllSelectedIndicatorChipCompact() {
|
1256
|
-
const { compactSelectionDisplay, scale, selectedVisibleChipsCount } = this;
|
1257
|
-
const label = this.messages.all || "All";
|
1258
|
-
return (h("calcite-chip", { class: {
|
1259
|
-
chip: true,
|
1260
|
-
[CSS$1.chipInvisible]: !(this.isAllSelected() &&
|
1261
|
-
!selectedVisibleChipsCount &&
|
1262
|
-
compactSelectionDisplay),
|
1263
|
-
}, scale: scale, title: label, value: "" }, label));
|
1264
|
-
}
|
1265
|
-
renderSelectedIndicatorChip() {
|
1266
|
-
const { compactSelectionDisplay, selectionDisplay, getSelectedItems, scale, selectedHiddenChipsCount, selectedVisibleChipsCount, setSelectedIndicatorChipEl, } = this;
|
1267
|
-
let chipInvisible;
|
1268
|
-
let label;
|
1269
|
-
if (compactSelectionDisplay) {
|
1270
|
-
chipInvisible = true;
|
1271
|
-
}
|
1272
|
-
else {
|
1273
|
-
if (selectionDisplay === "single") {
|
1274
|
-
const selectedItemsCount = getSelectedItems().length;
|
1275
|
-
if (this.isAllSelected()) {
|
1276
|
-
chipInvisible = true;
|
1277
|
-
}
|
1278
|
-
else if (selectedItemsCount > 0) {
|
1279
|
-
chipInvisible = false;
|
1280
|
-
}
|
1281
|
-
else {
|
1282
|
-
chipInvisible = true;
|
1283
|
-
}
|
1284
|
-
label = `${selectedItemsCount} ${this.messages.selected}`;
|
1285
|
-
}
|
1286
|
-
else if (selectionDisplay === "fit") {
|
1287
|
-
chipInvisible = !!((this.isAllSelected() && selectedVisibleChipsCount === 0) ||
|
1288
|
-
selectedHiddenChipsCount === 0);
|
1289
|
-
label =
|
1290
|
-
selectedVisibleChipsCount > 0
|
1291
|
-
? `+${selectedHiddenChipsCount}`
|
1292
|
-
: `${selectedHiddenChipsCount} ${this.messages.selected}`;
|
1293
|
-
}
|
1294
|
-
}
|
1295
|
-
return (h("calcite-chip", { class: {
|
1296
|
-
chip: true,
|
1297
|
-
[CSS$1.chipInvisible]: chipInvisible,
|
1298
|
-
}, scale: scale, title: label, value: "",
|
1299
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
1300
|
-
ref: setSelectedIndicatorChipEl }, label));
|
1301
|
-
}
|
1302
|
-
renderSelectedIndicatorChipCompact() {
|
1303
|
-
const { compactSelectionDisplay, selectionDisplay, getSelectedItems, scale, selectedHiddenChipsCount, } = this;
|
1304
|
-
let chipInvisible;
|
1305
|
-
let label;
|
1306
|
-
if (compactSelectionDisplay) {
|
1307
|
-
const selectedItemsCount = getSelectedItems().length;
|
1308
|
-
if (this.isAllSelected()) {
|
1309
|
-
chipInvisible = true;
|
1310
|
-
}
|
1311
|
-
else if (selectionDisplay === "fit") {
|
1312
|
-
chipInvisible = !(selectedHiddenChipsCount > 0);
|
1313
|
-
label = `${selectedHiddenChipsCount || 0}`;
|
1314
|
-
}
|
1315
|
-
else if (selectionDisplay === "single") {
|
1316
|
-
chipInvisible = !(selectedItemsCount > 0);
|
1317
|
-
label = `${selectedItemsCount}`;
|
1318
|
-
}
|
1319
|
-
}
|
1320
|
-
else {
|
1321
|
-
chipInvisible = true;
|
1322
|
-
}
|
1323
|
-
return (h("calcite-chip", { class: {
|
1324
|
-
chip: true,
|
1325
|
-
[CSS$1.chipInvisible]: chipInvisible,
|
1326
|
-
}, scale: scale, title: label, value: "" }, label));
|
1327
|
-
}
|
1328
|
-
renderInput() {
|
1329
|
-
const { guid, disabled, placeholder, selectionMode, selectedItems, open } = this;
|
1330
|
-
const single = isSingleLike(selectionMode);
|
1331
|
-
const selectedItem = selectedItems[0];
|
1332
|
-
const showLabel = !open && single && !!selectedItem;
|
1333
|
-
return (h("span", { class: {
|
1334
|
-
"input-wrap": true,
|
1335
|
-
"input-wrap--single": single,
|
1336
|
-
} }, showLabel && (h("span", { class: {
|
1337
|
-
label: true,
|
1338
|
-
"label--icon": !!(selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon),
|
1339
|
-
}, key: "label" }, selectedItem.textLabel)), h("input", { "aria-activedescendant": this.activeDescendant, "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-label": getLabelText(this), class: {
|
1340
|
-
input: true,
|
1341
|
-
"input--single": true,
|
1342
|
-
"input--transparent": this.activeChipIndex > -1,
|
1343
|
-
"input--hidden": showLabel,
|
1344
|
-
"input--icon": !!this.placeholderIcon,
|
1345
|
-
}, disabled: disabled, id: `${inputUidPrefix}${guid}`, key: "input", onFocus: this.comboboxFocusHandler, onInput: this.inputHandler, placeholder: placeholder, type: "text",
|
1346
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
1347
|
-
ref: (el) => (this.textInput = el) })));
|
1348
|
-
}
|
1349
|
-
renderListBoxOptions() {
|
1350
|
-
return this.filteredItems.map((item) => (h("li", { "aria-selected": toAriaBoolean(item.selected), id: item.guid ? `${itemUidPrefix}${item.guid}` : null, role: "option", tabindex: "-1" }, item.textLabel)));
|
1351
|
-
}
|
1352
|
-
renderFloatingUIContainer() {
|
1353
|
-
const { setFloatingEl, setContainerEl, open } = this;
|
1354
|
-
const classes = {
|
1355
|
-
[CSS$1.listContainer]: true,
|
1356
|
-
[FloatingCSS.animation]: true,
|
1357
|
-
[FloatingCSS.animationActive]: open,
|
1358
|
-
};
|
1359
|
-
return (h("div", { "aria-hidden": "true", class: {
|
1360
|
-
"floating-ui-container": true,
|
1361
|
-
"floating-ui-container--active": open,
|
1362
|
-
},
|
1363
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
1364
|
-
ref: setFloatingEl }, h("div", { class: classes,
|
1365
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
1366
|
-
ref: setContainerEl }, h("ul", { class: { list: true, "list--hide": !open } }, h("slot", null)))));
|
1367
|
-
}
|
1368
|
-
renderIconStart() {
|
1369
|
-
const { selectedItems, placeholderIcon, selectionMode, placeholderIconFlipRtl } = this;
|
1370
|
-
const selectedItem = selectedItems[0];
|
1371
|
-
const selectedIcon = selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon;
|
1372
|
-
const singleSelectionMode = isSingleLike(selectionMode);
|
1373
|
-
const iconAtStart = !this.open && selectedItem
|
1374
|
-
? !!selectedIcon && singleSelectionMode
|
1375
|
-
: !!this.placeholderIcon && (!selectedItem || singleSelectionMode);
|
1376
|
-
return (iconAtStart && (h("span", { class: "icon-start" }, h("calcite-icon", { class: "selected-icon", flipRtl: this.open && selectedItem ? selectedItem.iconFlipRtl : placeholderIconFlipRtl, icon: !this.open && selectedItem ? selectedIcon : placeholderIcon, scale: getIconScale(this.scale) }))));
|
1377
|
-
}
|
1378
|
-
renderIconEnd() {
|
1379
|
-
const { open } = this;
|
1380
|
-
return (h("span", { class: "icon-end" }, h("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: getIconScale(this.scale) })));
|
1381
|
-
}
|
1382
|
-
render() {
|
1383
|
-
var _a;
|
1384
|
-
const { selectionDisplay, guid, label, open } = this;
|
1385
|
-
const singleSelectionMode = isSingleLike(this.selectionMode);
|
1386
|
-
const allSelectionDisplay = selectionDisplay === "all";
|
1387
|
-
const singleSelectionDisplay = selectionDisplay === "single";
|
1388
|
-
const fitSelectionDisplay = !singleSelectionMode && selectionDisplay === "fit";
|
1389
|
-
const isClearable = !this.clearDisabled && ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
1390
|
-
return (h(Host, { onClick: this.comboboxFocusHandler }, h(InteractiveContainer, { disabled: this.disabled }, h("div", { "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "listbox", "aria-label": getLabelText(this), "aria-live": "polite", "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
1391
|
-
wrapper: true,
|
1392
|
-
"wrapper--single": singleSelectionMode || !this.selectedItems.length,
|
1393
|
-
"wrapper--active": open,
|
1394
|
-
}, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, role: "combobox",
|
1395
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
1396
|
-
ref: this.setReferenceEl }, h("div", { class: {
|
1397
|
-
"grid-input": true,
|
1398
|
-
[CSS$1.selectionDisplayFit]: fitSelectionDisplay,
|
1399
|
-
[CSS$1.selectionDisplaySingle]: singleSelectionDisplay,
|
1400
|
-
}, ref: this.setChipContainerEl }, this.renderIconStart(), !singleSelectionMode && !singleSelectionDisplay && this.renderChips(), !singleSelectionMode &&
|
1401
|
-
!allSelectionDisplay && [
|
1402
|
-
this.renderSelectedIndicatorChip(),
|
1403
|
-
this.renderSelectedIndicatorChipCompact(),
|
1404
|
-
this.renderAllSelectedIndicatorChip(),
|
1405
|
-
this.renderAllSelectedIndicatorChipCompact(),
|
1406
|
-
], h("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), isClearable ? (h(XButton, { disabled: this.disabled, key: "close-button", label: this.messages.clear, scale: this.scale })) : null, this.renderIconEnd()), h("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderFloatingUIContainer(), h(HiddenFormInputSlot, { component: this }), this.validationMessage ? (h(Validation, { icon: this.validationIcon, message: this.validationMessage, scale: this.scale, status: this.status })) : null)));
|
1407
|
-
}
|
1408
|
-
static get assetsDirs() { return ["assets"]; }
|
1409
|
-
get el() { return getElement(this); }
|
1410
|
-
static get watchers() { return {
|
1411
|
-
"open": ["openHandler"],
|
1412
|
-
"disabled": ["handleDisabledChange"],
|
1413
|
-
"maxItems": ["maxItemsHandler"],
|
1414
|
-
"overlayPositioning": ["overlayPositioningHandler"],
|
1415
|
-
"selectionMode": ["handlePropsChange"],
|
1416
|
-
"scale": ["handlePropsChange"],
|
1417
|
-
"value": ["valueHandler"],
|
1418
|
-
"messageOverrides": ["onMessagesChange"],
|
1419
|
-
"flipPlacements": ["flipPlacementsHandler"],
|
1420
|
-
"selectedItems": ["selectedItemsHandler"],
|
1421
|
-
"text": ["textHandler"],
|
1422
|
-
"effectiveLocale": ["effectiveLocaleChange"]
|
1423
|
-
}; }
|
1424
|
-
};
|
1425
|
-
Combobox.style = comboboxCss;
|
1426
|
-
|
1427
|
-
export { Combobox as calcite_combobox };
|