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