spell-ui 0.8.6 → 0.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README-components.md +14 -6
- package/README-frameworks.md +22 -12
- package/README-migrating.md +7 -6
- package/README-runtime.md +14 -13
- package/README-site.md +11 -11
- package/README-themes.md +38 -11
- package/README.md +61 -73
- package/dist/Dragging-CMZoLEWQ.js +169 -0
- package/dist/Dragging-CMZoLEWQ.js.map +1 -0
- package/dist/{MarkdownEngine-CbuT9Mjc.js → MarkdownEngine-CW1WGqNp.js} +122 -100
- package/dist/MarkdownEngine-CW1WGqNp.js.map +1 -0
- package/dist/{PrefStore-CeaTtjTz.js → PrefStore-Qv0e5y04.js} +22 -22
- package/dist/PrefStore-Qv0e5y04.js.map +1 -0
- package/dist/ScrollingRow-7n7Z-HIE.js +88 -0
- package/dist/ScrollingRow-7n7Z-HIE.js.map +1 -0
- package/dist/SitePages-CciwREek.js +51 -0
- package/dist/SitePages-CciwREek.js.map +1 -0
- package/dist/{SlottedItems-Ch0tzzlL.js → SlottedItems-Du3aJwG1.js} +22 -22
- package/dist/{SlottedItems-Ch0tzzlL.js.map → SlottedItems-Du3aJwG1.js.map} +1 -1
- package/dist/ThemeDraft-B7NPif4d.js +805 -0
- package/dist/ThemeDraft-B7NPif4d.js.map +1 -0
- package/dist/TreeMeasure-BVJeGb1L.js +42 -0
- package/dist/TreeMeasure-BVJeGb1L.js.map +1 -0
- package/dist/UIButton-DFEds67r.js +6 -0
- package/dist/UIButton-DFEds67r.js.map +1 -0
- package/dist/UIInput-BodVbUoQ.js +6 -0
- package/dist/UIInput-BodVbUoQ.js.map +1 -0
- package/dist/{UIKeys-DJF2TIKE.js → UIKeys-Rh_gUZjP.js} +10 -9
- package/dist/UIKeys-Rh_gUZjP.js.map +1 -0
- package/dist/UILabel-DgJUBzB_.js +6 -0
- package/dist/UILabel-DgJUBzB_.js.map +1 -0
- package/dist/UIMenu-zdcAtwTa.js +42 -0
- package/dist/UIMenu-zdcAtwTa.js.map +1 -0
- package/dist/{UIRuntime-BBuehGly.js → UIRuntime-KH309p5B.js} +398 -207
- package/dist/UIRuntime-KH309p5B.js.map +1 -0
- package/dist/_spell-element/DOMElement.d.ts +62 -5
- package/dist/_spell-element/MoveAndResize.d.ts +75 -0
- package/dist/_spell-element/UIComponent.d.ts +42 -0
- package/dist/_spell-element/elements.types.d.ts +47 -0
- package/dist/_spell-element/index.d.ts +1 -0
- package/dist/_spell-element/vocabulary.types.d.ts +34 -2
- package/dist/{runtime → _util}/Api.d.ts +14 -4
- package/dist/_util/Dragging.d.ts +148 -0
- package/dist/_util/ListSelection.d.ts +46 -0
- package/dist/{util → _util}/LoadOnce.d.ts +9 -1
- package/dist/_util/ReconnectingSocket.d.ts +51 -0
- package/dist/_util/diagram/DiagramColumns.d.ts +14 -0
- package/dist/_util/diagram/DiagramLayout.d.ts +119 -0
- package/dist/_util/diagram/DiagramSVG.d.ts +17 -0
- package/dist/_util/dom.d.ts +10 -0
- package/dist/_util/fetching.d.ts +92 -0
- package/dist/_util/measures/Dimension.d.ts +63 -0
- package/dist/_util/measures/MeasureSystem.d.ts +66 -0
- package/dist/_util/measures/dimensions.generated.d.ts +16 -0
- package/dist/_util/persist/ColorScheme.d.ts +6 -0
- package/dist/_util/persist/ServerPlace.d.ts +42 -0
- package/dist/_util/persist/WaitedOnPlace.d.ts +27 -0
- package/dist/_util/persist/persist.types.d.ts +21 -2
- package/dist/_util/timing.d.ts +10 -1
- package/dist/api.js +8 -7
- package/dist/api.js.map +1 -1
- package/dist/components/ComponentDefinitions.d.ts +29 -0
- package/dist/components/components.es.d.ts +13 -0
- package/dist/components/components.types.d.ts +113 -8
- package/dist/components/ui-accordion/UIAccordion.d.ts +1 -0
- package/dist/components/ui-accordion/UIAccordion.en.d.ts +1 -0
- package/dist/components/ui-action/UIAction.en.d.ts +5 -1
- package/dist/components/ui-ad/UIAd.d.ts +1 -0
- package/dist/components/ui-ad/UIAd.en.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumb.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumb.en.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumbs.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumbs.en.d.ts +1 -0
- package/dist/components/ui-button/UIButton.d.ts +8 -3
- package/dist/components/ui-button/UIButton.en.d.ts +9 -4
- package/dist/components/ui-button/UIButton.es.d.ts +6 -0
- package/dist/components/ui-button/UIButton.fallback.d.ts +8 -3
- package/dist/components/ui-button/UIButtons.d.ts +1 -0
- package/dist/components/ui-button/UIButtons.en.d.ts +1 -0
- package/dist/components/ui-button/UIOr.d.ts +1 -0
- package/dist/components/ui-button/UIOr.en.d.ts +1 -0
- package/dist/components/ui-calendar/UICalendar.d.ts +6 -0
- package/dist/components/ui-calendar/UICalendar.en.d.ts +6 -0
- package/dist/components/ui-calendar/UICalendar.fallback.d.ts +6 -0
- package/dist/components/ui-card/CardClicks.d.ts +40 -0
- package/dist/components/ui-card/UICard.d.ts +41 -0
- package/dist/components/ui-card/UICard.en.d.ts +49 -0
- package/dist/components/ui-card/UICard.es.d.ts +1 -0
- package/dist/components/ui-card/UICards.d.ts +31 -0
- package/dist/components/ui-card/UICards.en.d.ts +31 -0
- package/dist/components/ui-card/UICards.es.d.ts +8 -0
- package/dist/components/ui-checkbox/CheckControl.d.ts +7 -0
- package/dist/components/ui-checkbox/UICheckbox.d.ts +7 -0
- package/dist/components/ui-checkbox/UICheckbox.en.d.ts +7 -0
- package/dist/components/ui-checkbox/UICheckbox.es.d.ts +1 -0
- package/dist/components/ui-checkbox/UICheckbox.fallback.d.ts +7 -0
- package/dist/components/ui-checkbox/UICheckbox.types.d.ts +5 -0
- package/dist/components/ui-checkbox/UIRadio.d.ts +8 -0
- package/dist/components/ui-checkbox/UIRadio.en.d.ts +6 -0
- package/dist/components/ui-code/UICode.en.d.ts +1 -0
- package/dist/components/ui-comment/UIComment.d.ts +1 -0
- package/dist/components/ui-comment/UIComment.en.d.ts +1 -0
- package/dist/components/ui-comment/UIComments.d.ts +1 -0
- package/dist/components/ui-comment/UIComments.en.d.ts +1 -0
- package/dist/components/ui-components/PackHotSwap.d.ts +13 -3
- package/dist/components/ui-components/UIComponents.d.ts +1 -0
- package/dist/components/ui-components/UIComponents.en.d.ts +1 -0
- package/dist/components/ui-container/UIContainer.d.ts +11 -0
- package/dist/components/ui-container/UIContainer.en.d.ts +7 -0
- package/dist/components/ui-container/UIContainer.es.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagram.d.ts +268 -0
- package/dist/components/ui-diagram/UIDiagram.en.d.ts +106 -0
- package/dist/components/ui-diagram/UIDiagram.es.d.ts +37 -0
- package/dist/components/ui-diagram/UIDiagramNode.d.ts +98 -0
- package/dist/components/ui-diagram/UIDiagramNode.en.d.ts +38 -0
- package/dist/components/ui-diagram/UIDiagramNode.es.d.ts +16 -0
- package/dist/components/ui-diagram/index.d.ts +8 -0
- package/dist/components/ui-dimension/UIDimension.d.ts +81 -0
- package/dist/components/ui-dimension/UIDimension.en.d.ts +54 -0
- package/dist/components/ui-dimension/UIDimension.es.d.ts +22 -0
- package/dist/components/ui-dimension/index.d.ts +2 -0
- package/dist/components/ui-dimmer/UIDimmer.d.ts +6 -1
- package/dist/components/ui-dimmer/UIDimmer.en.d.ts +1 -0
- package/dist/components/ui-dimmer/UIDimmer.es.d.ts +1 -1
- package/dist/components/ui-divider/UIDivider.d.ts +2 -0
- package/dist/components/ui-divider/UIDivider.en.d.ts +2 -0
- package/dist/components/ui-divider/UIDivider.es.d.ts +1 -0
- package/dist/components/ui-dropdown/UIDropdown.d.ts +6 -0
- package/dist/components/ui-dropdown/UIDropdown.en.d.ts +6 -0
- package/dist/components/ui-dropdown/UIDropdown.fallback.d.ts +6 -0
- package/dist/components/ui-embed/UIEmbed.d.ts +1 -0
- package/dist/components/ui-embed/UIEmbed.en.d.ts +1 -0
- package/dist/components/ui-emoji/UIEmoji.d.ts +1 -0
- package/dist/components/ui-emoji/UIEmoji.en.d.ts +1 -0
- package/dist/components/ui-example/UIExample.en.d.ts +4 -2
- package/dist/components/ui-example/UIExample.es.d.ts +3 -2
- package/dist/components/ui-feed/UIFeed.d.ts +1 -0
- package/dist/components/ui-feed/UIFeed.en.d.ts +1 -0
- package/dist/components/ui-feed/UIFeedEvent.d.ts +1 -0
- package/dist/components/ui-feed/UIFeedEvent.en.d.ts +1 -0
- package/dist/components/ui-flag/UIFlag.d.ts +1 -0
- package/dist/components/ui-flag/UIFlag.en.d.ts +1 -0
- package/dist/components/ui-flyout/UIFlyout.d.ts +1 -0
- package/dist/components/ui-flyout/UIFlyout.en.d.ts +1 -0
- package/dist/components/ui-form/FormBinding.d.ts +13 -1
- package/dist/components/ui-form/FormFields.d.ts +4 -4
- package/dist/components/ui-form/UIField.d.ts +30 -3
- package/dist/components/ui-form/UIField.en.d.ts +9 -0
- package/dist/components/ui-form/UIField.es.d.ts +6 -0
- package/dist/components/ui-form/UIFields.d.ts +1 -0
- package/dist/components/ui-form/UIFields.en.d.ts +1 -0
- package/dist/components/ui-form/UIForm.d.ts +15 -0
- package/dist/components/ui-form/UIForm.en.d.ts +6 -0
- package/dist/components/ui-form/UIRepeat.d.ts +1 -0
- package/dist/components/ui-form/UIRepeat.en.d.ts +1 -0
- package/dist/components/ui-form/index.d.ts +2 -1
- package/dist/components/ui-grid/UIColumn.d.ts +1 -0
- package/dist/components/ui-grid/UIColumn.en.d.ts +1 -0
- package/dist/components/ui-grid/UIGrid.d.ts +1 -0
- package/dist/components/ui-grid/UIGrid.en.d.ts +1 -0
- package/dist/components/ui-grid/UIRow.d.ts +1 -0
- package/dist/components/ui-grid/UIRow.en.d.ts +1 -0
- package/dist/components/ui-icon/UIIcon.d.ts +3 -2
- package/dist/components/ui-icon/UIIcon.en.d.ts +3 -2
- package/dist/components/ui-icon/UIIcons.d.ts +1 -0
- package/dist/components/ui-icon/UIIcons.en.d.ts +1 -0
- package/dist/components/ui-icon-picker/UIIconPicker.d.ts +6 -0
- package/dist/components/ui-icon-picker/UIIconPicker.en.d.ts +6 -0
- package/dist/components/ui-icon-picker/UIIconPicker.fallback.d.ts +6 -0
- package/dist/components/ui-image/UIImage.d.ts +34 -0
- package/dist/components/ui-image/UIImage.en.d.ts +23 -0
- package/dist/components/ui-image/UIImage.es.d.ts +2 -0
- package/dist/components/ui-image/UIImages.d.ts +1 -0
- package/dist/components/ui-image/UIImages.en.d.ts +1 -0
- package/dist/components/ui-include/UIInclude.d.ts +1 -0
- package/dist/components/ui-include/UIInclude.en.d.ts +1 -0
- package/dist/components/ui-input/TextControl.d.ts +7 -0
- package/dist/components/ui-input/UIInput.d.ts +22 -3
- package/dist/components/ui-input/UIInput.en.d.ts +9 -2
- package/dist/components/ui-input/UIInput.es.d.ts +2 -0
- package/dist/components/ui-input/UIInput.fallback.d.ts +9 -2
- package/dist/components/ui-input/UITextarea.d.ts +20 -0
- package/dist/components/ui-input/UITextarea.en.d.ts +15 -0
- package/dist/components/ui-input/UITextarea.es.d.ts +4 -0
- package/dist/components/ui-item/UIItem.d.ts +27 -4
- package/dist/components/ui-item/UIItem.en.d.ts +5 -1
- package/dist/components/ui-items/UIItems.d.ts +1 -0
- package/dist/components/ui-items/UIItems.en.d.ts +1 -0
- package/dist/components/ui-json/JsonChild.d.ts +30 -0
- package/dist/components/ui-json/UIJson.d.ts +128 -0
- package/dist/components/ui-json/UIJson.en.d.ts +71 -0
- package/dist/components/ui-json/UIJson.es.d.ts +12 -0
- package/dist/components/ui-json/index.d.ts +3 -0
- package/dist/components/ui-keys/UIKeys.d.ts +1 -0
- package/dist/components/ui-keys/UIKeys.en.d.ts +1 -0
- package/dist/components/ui-label/UILabel.d.ts +2 -0
- package/dist/components/ui-label/UILabel.en.d.ts +2 -0
- package/dist/components/ui-label/UILabel.es.d.ts +1 -0
- package/dist/components/ui-label/UILabels.d.ts +1 -0
- package/dist/components/ui-label/UILabels.en.d.ts +1 -0
- package/dist/components/ui-list/UIList.d.ts +2 -0
- package/dist/components/ui-list/UIList.en.d.ts +2 -0
- package/dist/components/ui-list/UIList.es.d.ts +1 -0
- package/dist/components/ui-loader/UILoader.d.ts +1 -0
- package/dist/components/ui-loader/UILoader.en.d.ts +1 -0
- package/dist/components/ui-markdown/MarkdownBox.d.ts +143 -0
- package/dist/components/ui-markdown/MarkdownEngine.d.ts +14 -2
- package/dist/components/ui-markdown/MarkdownFormats.d.ts +95 -0
- package/dist/components/ui-markdown/MarkdownSource.d.ts +57 -0
- package/dist/components/ui-markdown/UIMarkdown.d.ts +126 -6
- package/dist/components/ui-markdown/UIMarkdown.en.d.ts +111 -8
- package/dist/components/ui-markdown/UIMarkdown.es.d.ts +29 -1
- package/dist/components/ui-markdown/UIMarkdown.types.d.ts +26 -0
- package/dist/components/ui-menu/ScrollingRow.d.ts +79 -0
- package/dist/components/ui-menu/TitleFit.d.ts +3 -0
- package/dist/components/ui-menu/UIMenu.d.ts +97 -4
- package/dist/components/ui-menu/UIMenu.en.d.ts +50 -1
- package/dist/components/ui-menu/UIMenu.es.d.ts +4 -0
- package/dist/components/ui-message/UIMessage.d.ts +2 -0
- package/dist/components/ui-message/UIMessage.en.d.ts +2 -0
- package/dist/components/ui-message/UIMessage.es.d.ts +1 -0
- package/dist/components/ui-modal/UIModal.d.ts +1 -0
- package/dist/components/ui-modal/UIModal.en.d.ts +1 -0
- package/dist/components/ui-nag/UINag.d.ts +1 -0
- package/dist/components/ui-nag/UINag.en.d.ts +1 -0
- package/dist/components/ui-page/UIPage.d.ts +15 -0
- package/dist/components/ui-page/UIPage.en.d.ts +15 -0
- package/dist/components/ui-page/UIPage.es.d.ts +1 -0
- package/dist/components/ui-panel/UIPanel.d.ts +6 -0
- package/dist/components/ui-panel/UIPanel.en.d.ts +33 -20
- package/dist/components/ui-parts/UIActions.d.ts +1 -0
- package/dist/components/ui-parts/UIActions.en.d.ts +1 -0
- package/dist/components/ui-parts/UIAuthor.d.ts +1 -0
- package/dist/components/ui-parts/UIAuthor.en.d.ts +1 -0
- package/dist/components/ui-parts/UIAvatar.d.ts +1 -0
- package/dist/components/ui-parts/UIAvatar.en.d.ts +1 -0
- package/dist/components/ui-parts/UIContent.d.ts +1 -0
- package/dist/components/ui-parts/UIContent.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDate.d.ts +1 -0
- package/dist/components/ui-parts/UIDate.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDescription.d.ts +1 -0
- package/dist/components/ui-parts/UIDescription.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDetail.d.ts +1 -0
- package/dist/components/ui-parts/UIDetail.en.d.ts +1 -0
- package/dist/components/ui-parts/UIExtra.d.ts +1 -0
- package/dist/components/ui-parts/UIExtra.en.d.ts +1 -0
- package/dist/components/ui-parts/UIHeader.d.ts +3 -1
- package/dist/components/ui-parts/UIHeader.en.d.ts +3 -1
- package/dist/components/ui-parts/UIMeta.d.ts +1 -0
- package/dist/components/ui-parts/UIMeta.en.d.ts +1 -0
- package/dist/components/ui-parts/UIParts.types.d.ts +15 -1
- package/dist/components/ui-parts/UISummary.d.ts +1 -0
- package/dist/components/ui-parts/UISummary.en.d.ts +1 -0
- package/dist/components/ui-parts/UITitle.d.ts +1 -0
- package/dist/components/ui-parts/UITitle.en.d.ts +1 -0
- package/dist/components/ui-parts/UIValue.d.ts +1 -0
- package/dist/components/ui-parts/UIValue.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholder.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholder.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderHeader.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderHeader.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderImage.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderImage.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderLine.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderLine.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderParagraph.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderParagraph.en.d.ts +1 -0
- package/dist/components/ui-popup/UIPopup.d.ts +30 -3
- package/dist/components/ui-popup/UIPopup.en.d.ts +7 -0
- package/dist/components/ui-popup/UIPopup.es.d.ts +1 -0
- package/dist/components/ui-progress/UIProgress.d.ts +2 -0
- package/dist/components/ui-progress/UIProgress.en.d.ts +2 -0
- package/dist/components/ui-progress/UIProgress.es.d.ts +1 -0
- package/dist/components/ui-property-editor/UIProperty.d.ts +132 -5
- package/dist/components/ui-property-editor/UIProperty.en.d.ts +11 -44
- package/dist/components/ui-property-editor/UIProperty.es.d.ts +4 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.d.ts +38 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.en.d.ts +1 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.es.d.ts +4 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.types.d.ts +33 -0
- package/dist/components/ui-property-editor/UIPropertyGroup.d.ts +12 -0
- package/dist/components/ui-property-editor/UIPropertyGroup.en.d.ts +2 -0
- package/dist/components/ui-property-editor/UIPropertyGroup.es.d.ts +9 -0
- package/dist/components/ui-property-editor/index.d.ts +1 -0
- package/dist/components/ui-quote/UIQuote.d.ts +1 -0
- package/dist/components/ui-quote/UIQuote.en.d.ts +1 -0
- package/dist/components/ui-rail/UIRail.d.ts +1 -0
- package/dist/components/ui-rail/UIRail.en.d.ts +1 -0
- package/dist/components/ui-rating/UIRating.d.ts +6 -0
- package/dist/components/ui-rating/UIRating.en.d.ts +6 -0
- package/dist/components/ui-rating/UIRating.fallback.d.ts +6 -0
- package/dist/components/ui-reveal/UIReveal.d.ts +1 -0
- package/dist/components/ui-reveal/UIReveal.en.d.ts +1 -0
- package/dist/components/ui-root/UIRoot.d.ts +18 -3
- package/dist/components/ui-root/UIRoot.en.d.ts +15 -0
- package/dist/components/ui-root/UIRoot.es.d.ts +1 -0
- package/dist/components/ui-search/UISearch.d.ts +48 -7
- package/dist/components/ui-search/UISearch.en.d.ts +13 -1
- package/dist/components/ui-search/UISearch.es.d.ts +1 -0
- package/dist/components/ui-search/UISearch.fallback.d.ts +13 -1
- package/dist/components/ui-section/UISection.d.ts +22 -1
- package/dist/components/ui-section/UISection.en.d.ts +10 -0
- package/dist/components/ui-section/UISection.es.d.ts +1 -0
- package/dist/components/ui-section/UISections.d.ts +1 -0
- package/dist/components/ui-section/UISections.en.d.ts +1 -0
- package/dist/components/ui-segment/UISegment.d.ts +2 -0
- package/dist/components/ui-segment/UISegment.en.d.ts +2 -0
- package/dist/components/ui-segment/UISegment.es.d.ts +1 -0
- package/dist/components/ui-segment/UISegments.d.ts +1 -0
- package/dist/components/ui-segment/UISegments.en.d.ts +1 -0
- package/dist/components/ui-select/UISelect.d.ts +6 -0
- package/dist/components/ui-select/UISelect.en.d.ts +6 -0
- package/dist/components/ui-select/UISelect.fallback.d.ts +6 -0
- package/dist/components/ui-shape/UIShape.d.ts +23 -2
- package/dist/components/ui-shape/UIShape.en.d.ts +8 -0
- package/dist/components/ui-shape/UIShape.es.d.ts +1 -0
- package/dist/components/ui-shape/UISide.d.ts +4 -0
- package/dist/components/ui-shape/UISide.en.d.ts +4 -0
- package/dist/components/ui-sidebar/UIPushable.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPushable.en.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPusher.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPusher.en.d.ts +1 -0
- package/dist/components/ui-sidebar/UISidebar.d.ts +1 -0
- package/dist/components/ui-sidebar/UISidebar.en.d.ts +1 -0
- package/dist/components/ui-sides/UISides.d.ts +209 -0
- package/dist/components/ui-sides/UISides.en.d.ts +122 -0
- package/dist/components/ui-sides/UISides.es.d.ts +30 -0
- package/dist/components/ui-sides/UISides.fallback.d.ts +134 -0
- package/dist/components/ui-sides/index.d.ts +2 -0
- package/dist/components/ui-site-nav/SitePages.d.ts +53 -0
- package/dist/components/ui-site-nav/UISiteNav.d.ts +207 -0
- package/dist/components/ui-site-nav/UISiteNav.en.d.ts +87 -0
- package/dist/components/ui-site-nav/UISiteNav.es.d.ts +29 -0
- package/dist/components/ui-site-nav/index.d.ts +1 -0
- package/dist/components/ui-site-tabs/UISiteTabs.d.ts +126 -0
- package/dist/components/ui-site-tabs/UISiteTabs.en.d.ts +49 -0
- package/dist/components/ui-site-tabs/UISiteTabs.es.d.ts +18 -0
- package/dist/components/ui-site-tabs/index.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.d.ts +7 -0
- package/dist/components/ui-slider/UISlider.en.d.ts +7 -0
- package/dist/components/ui-slider/UISlider.es.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.fallback.d.ts +7 -0
- package/dist/components/ui-space/UISpace.d.ts +1 -0
- package/dist/components/ui-space/UISpace.en.d.ts +1 -0
- package/dist/components/ui-split-panel/UISplitPanel.d.ts +175 -0
- package/dist/components/ui-split-panel/UISplitPanel.en.d.ts +74 -0
- package/dist/components/ui-split-panel/UISplitPanel.es.d.ts +25 -0
- package/dist/components/ui-split-panel/index.d.ts +2 -0
- package/dist/components/ui-stack/UIStack.d.ts +31 -5
- package/dist/components/ui-stack/UIStack.en.d.ts +15 -3
- package/dist/components/ui-statistic/UIStatistic.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistic.en.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistics.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistics.en.d.ts +1 -0
- package/dist/components/ui-step/UIStep.d.ts +1 -0
- package/dist/components/ui-step/UIStep.en.d.ts +1 -0
- package/dist/components/ui-step/UISteps.d.ts +1 -0
- package/dist/components/ui-step/UISteps.en.d.ts +1 -0
- package/dist/components/ui-sticky/UISticky.d.ts +4 -0
- package/dist/components/ui-sticky/UISticky.en.d.ts +1 -0
- package/dist/components/ui-tab/UITab.d.ts +8 -0
- package/dist/components/ui-tab/UITab.en.d.ts +1 -0
- package/dist/components/ui-tab/UITabs.d.ts +107 -16
- package/dist/components/ui-tab/UITabs.en.d.ts +40 -1
- package/dist/components/ui-tab/UITabs.es.d.ts +4 -0
- package/dist/components/ui-table/TableEditing.d.ts +77 -0
- package/dist/components/ui-table/UICell.d.ts +1 -0
- package/dist/components/ui-table/UICell.en.d.ts +1 -0
- package/dist/components/ui-table/UITable.d.ts +145 -5
- package/dist/components/ui-table/UITable.en.d.ts +19 -0
- package/dist/components/ui-table/UITable.es.d.ts +3 -0
- package/dist/components/ui-terms/UITerm.d.ts +1 -0
- package/dist/components/ui-terms/UITerm.en.d.ts +1 -0
- package/dist/components/ui-terms/UITerms.d.ts +1 -0
- package/dist/components/ui-terms/UITerms.en.d.ts +1 -0
- package/dist/components/ui-text/UILink.d.ts +11 -0
- package/dist/components/ui-text/UILink.en.d.ts +4 -0
- package/dist/components/ui-text/UIText.d.ts +7 -0
- package/dist/components/ui-text/UIText.en.d.ts +7 -0
- package/dist/components/ui-text/UIText.es.d.ts +2 -0
- package/dist/components/ui-theme-editor/SavedTheme.d.ts +55 -43
- package/dist/components/ui-theme-editor/ThemeDraft.d.ts +15 -0
- package/dist/components/ui-theme-editor/UIColorChip.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIColorChip.en.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeEditor.d.ts +157 -26
- package/dist/components/ui-theme-editor/UIThemeEditor.en.d.ts +79 -6
- package/dist/components/ui-theme-editor/UIThemeEditor.es.d.ts +20 -2
- package/dist/components/ui-theme-editor/UIThemeEditor.types.d.ts +0 -2
- package/dist/components/ui-theme-editor/UIThemeToken.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeToken.en.d.ts +1 -0
- package/dist/components/ui-theme-menu/HueDropdown.d.ts +47 -0
- package/dist/components/ui-theme-menu/ThemeMenu.d.ts +18 -7
- package/dist/components/ui-theme-menu/ThemePreference.d.ts +145 -36
- package/dist/components/ui-theme-menu/UIThemeMenu.d.ts +118 -7
- package/dist/components/ui-theme-menu/UIThemeMenu.en.d.ts +82 -2
- package/dist/components/ui-theme-menu/UIThemeMenu.es.d.ts +21 -1
- package/dist/components/ui-theme-menu/UIThemeMenu.types.d.ts +36 -8
- package/dist/components/ui-theme-menu/index.d.ts +2 -1
- package/dist/components/ui-toast/UIToast.d.ts +1 -0
- package/dist/components/ui-toast/UIToast.en.d.ts +1 -0
- package/dist/components/ui-toc/UIToc.d.ts +1 -0
- package/dist/components/ui-toc/UIToc.en.d.ts +1 -0
- package/dist/components/ui-toolbar/UIToolbar.d.ts +13 -10
- package/dist/components/ui-toolbar/UIToolbar.en.d.ts +138 -84
- package/dist/components/ui-toolbar/UIToolbar.es.d.ts +2 -0
- package/dist/components/ui-transition/UITransition.d.ts +1 -0
- package/dist/components/ui-transition/UITransition.en.d.ts +1 -0
- package/dist/components/ui-tree/UITree.d.ts +162 -0
- package/dist/components/ui-tree/UITree.en.d.ts +88 -0
- package/dist/components/ui-tree/UITree.es.d.ts +35 -0
- package/dist/components/ui-tree/UITreeItem.d.ts +204 -0
- package/dist/components/ui-tree/UITreeItem.en.d.ts +142 -0
- package/dist/components/ui-tree/UITreeItem.es.d.ts +32 -0
- package/dist/components/ui-tree/index.d.ts +3 -0
- package/dist/components/ui-tree-diagram/TreeData.d.ts +3 -12
- package/dist/components/ui-tree-diagram/TreeLayout.d.ts +54 -21
- package/dist/components/ui-tree-diagram/TreeMeasure.d.ts +36 -0
- package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +152 -27
- package/dist/components/ui-tree-diagram/UITreeDiagram.en.d.ts +47 -7
- package/dist/components/ui-tree-diagram/UITreeDiagram.es.d.ts +12 -1
- package/dist/components/ui-tree-diagram/UITreeDiagram.types.d.ts +66 -21
- package/dist/components/ui-tree-diagram/UITreeNode.d.ts +148 -0
- package/dist/components/ui-tree-diagram/UITreeNode.en.d.ts +69 -0
- package/dist/components/ui-tree-diagram/UITreeNode.es.d.ts +21 -0
- package/dist/components/ui-tree-diagram/index.d.ts +4 -2
- package/dist/components/ui-video/UIAudio.d.ts +1 -0
- package/dist/components/ui-video/UIAudio.en.d.ts +1 -0
- package/dist/components/ui-video/UIVideo.d.ts +1 -0
- package/dist/components/ui-video/UIVideo.en.d.ts +1 -0
- package/dist/components/ui-visibility/UIVisibility.d.ts +1 -0
- package/dist/components/ui-visibility/UIVisibility.en.d.ts +1 -0
- package/dist/components/ui-zoom/UIZoom.d.ts +1 -0
- package/dist/components/ui-zoom/UIZoom.en.d.ts +1 -0
- package/dist/{components.es-DmLzT-Bq.js → components.es-BOa_7gFF.js} +498 -109
- package/dist/components.es-BOa_7gFF.js.map +1 -0
- package/dist/core.d.ts +3 -1
- package/dist/core.js +1082 -511
- package/dist/core.js.map +1 -1
- package/dist/crisp-VfYZlTph.js +6 -0
- package/dist/{crisp-CoZRRDuQ.js.map → crisp-VfYZlTph.js.map} +1 -1
- package/dist/docs-components/index.d.ts +1 -0
- package/dist/docs-components/ui-docs-index/UIDocsIndex.d.ts +89 -0
- package/dist/docs-components/ui-docs-index/UIDocsIndex.en.d.ts +43 -0
- package/dist/docs-components/ui-docs-index/index.d.ts +2 -0
- package/dist/docs-components/ui-docs-nav/UIDocsNav.d.ts +54 -87
- package/dist/docs-components/ui-docs-nav/UIDocsNav.types.d.ts +2 -29
- package/dist/docs-components/ui-docs-search/SearchIndex.d.ts +8 -2
- package/dist/docs-components/ui-docs-search/UIDocsSearch.d.ts +10 -0
- package/dist/docs-components/ui-docs-search/UIDocsSearch.en.d.ts +5 -0
- package/dist/elements/AddressParameter.d.ts +87 -0
- package/dist/elements/DOMFormControl.d.ts +5 -0
- package/dist/elements/FormComponent.d.ts +32 -0
- package/dist/elements/LoadableBody.d.ts +6 -1
- package/dist/elements/LoadableComponent.d.ts +10 -1
- package/dist/elements/RootSettings.d.ts +43 -6
- package/dist/elements/SpellUISettings.d.ts +1 -0
- package/dist/elements/StickyWatch.d.ts +20 -0
- package/dist/elements/elements.types.d.ts +15 -0
- package/dist/elements/index.d.ts +2 -0
- package/dist/forms.js +93 -63
- package/dist/forms.js.map +1 -1
- package/dist/fruity-BRVlgJZd.js +6 -0
- package/dist/fruity-BRVlgJZd.js.map +1 -0
- package/dist/{fruity.theme-BJcMiPl1.js → fruity.theme-CbC7Jyvk.js} +2 -2
- package/dist/fruity.theme-CbC7Jyvk.js.map +1 -0
- package/dist/glass-x9tbbwVq.js +6 -0
- package/dist/glass-x9tbbwVq.js.map +1 -0
- package/dist/glass.theme-24wY2wH9.js +6 -0
- package/dist/glass.theme-24wY2wH9.js.map +1 -0
- package/dist/hot.js +530 -24
- package/dist/hot.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.js +91 -81
- package/dist/jsx.d.ts +21149 -10377
- package/dist/matrix-QY2gWbJ0.js +6 -0
- package/dist/{matrix-CqA59hiF.js.map → matrix-QY2gWbJ0.js.map} +1 -1
- package/dist/{matrix.theme-jqQZjcq3.js → matrix.theme-_8xtwhDq.js} +2 -2
- package/dist/matrix.theme-_8xtwhDq.js.map +1 -0
- package/dist/midnight-BxlTQSfw.js +6 -0
- package/dist/{midnight-BnoVOrhC.js.map → midnight-BxlTQSfw.js.map} +1 -1
- package/dist/mockup-83ELBuVr.js +6 -0
- package/dist/mockup-83ELBuVr.js.map +1 -0
- package/dist/mockup.theme-DmpBgGBl.js +6 -0
- package/dist/mockup.theme-DmpBgGBl.js.map +1 -0
- package/dist/paper-M61nUilz.js +6 -0
- package/dist/{paper-CynH8ZuT.js.map → paper-M61nUilz.js.map} +1 -1
- package/dist/persist.types-D2m6wD-S.js +9 -0
- package/dist/persist.types-D2m6wD-S.js.map +1 -0
- package/dist/pop-CxXfytjk.js +6 -0
- package/dist/{pop-D2i9V_rG.js.map → pop-CxXfytjk.js.map} +1 -1
- package/dist/runtime/DataTooltips.d.ts +75 -0
- package/dist/runtime/PropertyControls.d.ts +15 -1
- package/dist/runtime/Sources.d.ts +16 -4
- package/dist/runtime/Styles.d.ts +11 -0
- package/dist/runtime/Themes.d.ts +10 -4
- package/dist/runtime/UIRuntime.d.ts +4 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/runtime.types.d.ts +18 -85
- package/dist/spell-By5Y3jKP.js +6 -0
- package/dist/{spell-BFtLICm7.js.map → spell-By5Y3jKP.js.map} +1 -1
- package/dist/{spell.theme-B7AU7SQX.js → spell.theme-DxGj7qHx.js} +2 -2
- package/dist/spell.theme-DxGj7qHx.js.map +1 -0
- package/dist/styles/CodeThemeFile.d.ts +73 -0
- package/dist/styles/StyleGenerator.d.ts +6 -0
- package/dist/styles/styles.en.d.ts +141 -3
- package/dist/styles/styles.types.d.ts +2 -0
- package/dist/{styles.en-RLpYiO5_.js → styles.en-CUUxNwHo.js} +71 -14
- package/dist/styles.en-CUUxNwHo.js.map +1 -0
- package/dist/styles.js +13 -13
- package/dist/styles.js.map +1 -1
- package/dist/ui-accordion.js +54 -53
- package/dist/ui-accordion.js.map +1 -1
- package/dist/ui-action.js +20 -19
- package/dist/ui-action.js.map +1 -1
- package/dist/ui-ad.js +5 -4
- package/dist/ui-ad.js.map +1 -1
- package/dist/ui-breadcrumbs.js +15 -13
- package/dist/ui-breadcrumbs.js.map +1 -1
- package/dist/ui-button.js +132 -125
- package/dist/ui-button.js.map +1 -1
- package/dist/ui-calendar.js +208 -206
- package/dist/ui-calendar.js.map +1 -1
- package/dist/ui-card.js +260 -98
- package/dist/ui-card.js.map +1 -1
- package/dist/ui-checkbox.js +95 -81
- package/dist/ui-checkbox.js.map +1 -1
- package/dist/ui-code.js +25 -24
- package/dist/ui-code.js.map +1 -1
- package/dist/ui-comment.js +14 -12
- package/dist/ui-comment.js.map +1 -1
- package/dist/ui-components.js +7 -6
- package/dist/ui-components.js.map +1 -1
- package/dist/ui-container.js +24 -12
- package/dist/ui-container.js.map +1 -1
- package/dist/ui-diagram.js +1328 -0
- package/dist/ui-diagram.js.map +1 -0
- package/dist/ui-dimension.js +779 -0
- package/dist/ui-dimension.js.map +1 -0
- package/dist/ui-dimmer.js +36 -34
- package/dist/ui-dimmer.js.map +1 -1
- package/dist/ui-divider.js +7 -5
- package/dist/ui-divider.js.map +1 -1
- package/dist/ui-dropdown.js +107 -105
- package/dist/ui-dropdown.js.map +1 -1
- package/dist/ui-embed.js +36 -35
- package/dist/ui-embed.js.map +1 -1
- package/dist/ui-emoji.js +10 -9
- package/dist/ui-emoji.js.map +1 -1
- package/dist/ui-example.js +63 -61
- package/dist/ui-example.js.map +1 -1
- package/dist/ui-feed.js +12 -10
- package/dist/ui-feed.js.map +1 -1
- package/dist/ui-flag.js +10 -9
- package/dist/ui-flag.js.map +1 -1
- package/dist/ui-flyout.js +7 -6
- package/dist/ui-flyout.js.map +1 -1
- package/dist/ui-form.js +244 -162
- package/dist/ui-form.js.map +1 -1
- package/dist/ui-grid.js +21 -18
- package/dist/ui-grid.js.map +1 -1
- package/dist/ui-icon-picker.js +46 -44
- package/dist/ui-icon-picker.js.map +1 -1
- package/dist/ui-icon.js +17 -14
- package/dist/ui-icon.js.map +1 -1
- package/dist/ui-image.js +93 -55
- package/dist/ui-image.js.map +1 -1
- package/dist/ui-include.js +18 -17
- package/dist/ui-include.js.map +1 -1
- package/dist/ui-input.js +154 -112
- package/dist/ui-input.js.map +1 -1
- package/dist/ui-item.js +152 -102
- package/dist/ui-item.js.map +1 -1
- package/dist/ui-items.js +9 -8
- package/dist/ui-items.js.map +1 -1
- package/dist/ui-json.js +115 -0
- package/dist/ui-json.js.map +1 -0
- package/dist/ui-keys.js +1 -1
- package/dist/ui-label.js +18 -15
- package/dist/ui-label.js.map +1 -1
- package/dist/ui-list.js +7 -5
- package/dist/ui-list.js.map +1 -1
- package/dist/ui-loader.js +7 -6
- package/dist/ui-loader.js.map +1 -1
- package/dist/ui-markdown.js +975 -83
- package/dist/ui-markdown.js.map +1 -1
- package/dist/ui-menu.js +329 -196
- package/dist/ui-menu.js.map +1 -1
- package/dist/ui-message.js +20 -18
- package/dist/ui-message.js.map +1 -1
- package/dist/ui-modal.js +46 -45
- package/dist/ui-modal.js.map +1 -1
- package/dist/ui-nag.js +19 -18
- package/dist/ui-nag.js.map +1 -1
- package/dist/ui-page.js +8 -7
- package/dist/ui-page.js.map +1 -1
- package/dist/ui-panel.js +28 -17
- package/dist/ui-panel.js.map +1 -1
- package/dist/ui-parts.js +66 -52
- package/dist/ui-parts.js.map +1 -1
- package/dist/ui-placeholder.js +21 -16
- package/dist/ui-placeholder.js.map +1 -1
- package/dist/ui-popup.js +113 -84
- package/dist/ui-popup.js.map +1 -1
- package/dist/ui-progress.js +9 -7
- package/dist/ui-progress.js.map +1 -1
- package/dist/ui-property-editor.js +706 -203
- package/dist/ui-property-editor.js.map +1 -1
- package/dist/ui-quote.js +5 -4
- package/dist/ui-quote.js.map +1 -1
- package/dist/ui-rail.js +5 -4
- package/dist/ui-rail.js.map +1 -1
- package/dist/ui-rating.js +31 -29
- package/dist/ui-rating.js.map +1 -1
- package/dist/ui-reveal.js +7 -6
- package/dist/ui-reveal.js.map +1 -1
- package/dist/ui-root.js +324 -158
- package/dist/ui-root.js.map +1 -1
- package/dist/ui-search.js +210 -168
- package/dist/ui-search.js.map +1 -1
- package/dist/ui-section.js +124 -92
- package/dist/ui-section.js.map +1 -1
- package/dist/ui-segment.js +15 -12
- package/dist/ui-segment.js.map +1 -1
- package/dist/ui-select.js +83 -81
- package/dist/ui-select.js.map +1 -1
- package/dist/ui-shape.js +86 -58
- package/dist/ui-shape.js.map +1 -1
- package/dist/ui-sidebar.js +59 -56
- package/dist/ui-sidebar.js.map +1 -1
- package/dist/ui-sides.js +325 -0
- package/dist/ui-sides.js.map +1 -0
- package/dist/ui-site-nav.js +329 -0
- package/dist/ui-site-nav.js.map +1 -0
- package/dist/ui-site-tabs.js +177 -0
- package/dist/ui-site-tabs.js.map +1 -0
- package/dist/ui-slider.js +84 -81
- package/dist/ui-slider.js.map +1 -1
- package/dist/ui-space.js +7 -6
- package/dist/ui-space.js.map +1 -1
- package/dist/ui-split-panel.js +298 -0
- package/dist/ui-split-panel.js.map +1 -0
- package/dist/ui-stack.js +47 -23
- package/dist/ui-stack.js.map +1 -1
- package/dist/ui-statistic.js +15 -13
- package/dist/ui-statistic.js.map +1 -1
- package/dist/ui-step.js +31 -29
- package/dist/ui-step.js.map +1 -1
- package/dist/ui-sticky.js +7 -6
- package/dist/ui-sticky.js.map +1 -1
- package/dist/ui-tab.js +230 -138
- package/dist/ui-tab.js.map +1 -1
- package/dist/ui-table.js +724 -162
- package/dist/ui-table.js.map +1 -1
- package/dist/ui-terms.js +12 -10
- package/dist/ui-terms.js.map +1 -1
- package/dist/ui-text.js +53 -28
- package/dist/ui-text.js.map +1 -1
- package/dist/ui-theme-editor.js +1018 -1545
- package/dist/ui-theme-editor.js.map +1 -1
- package/dist/ui-theme-menu-CuIjr8Ou.js +1493 -0
- package/dist/ui-theme-menu-CuIjr8Ou.js.map +1 -0
- package/dist/ui-toast.js +45 -44
- package/dist/ui-toast.js.map +1 -1
- package/dist/ui-toc.js +75 -74
- package/dist/ui-toc.js.map +1 -1
- package/dist/ui-toolbar.js +51 -73
- package/dist/ui-toolbar.js.map +1 -1
- package/dist/ui-transition.js +12 -11
- package/dist/ui-transition.js.map +1 -1
- package/dist/ui-tree-diagram.js +676 -197
- package/dist/ui-tree-diagram.js.map +1 -1
- package/dist/ui-tree.js +625 -0
- package/dist/ui-tree.js.map +1 -0
- package/dist/ui-video.js +13 -11
- package/dist/ui-video.js.map +1 -1
- package/dist/ui-visibility.js +26 -25
- package/dist/ui-visibility.js.map +1 -1
- package/dist/ui-zoom.js +79 -78
- package/dist/ui-zoom.js.map +1 -1
- package/dist/util/TopLayerTip.d.ts +28 -0
- package/dist/util/index.d.ts +5 -2
- package/dist/vocabulary/DefaultValues.d.ts +34 -0
- package/dist/vocabulary/SharedVocabulary.d.ts +4 -0
- package/dist/vocabulary/SharedVocabulary.es.d.ts +7 -0
- package/dist/vocabulary/ValueSets.d.ts +18 -0
- package/dist/vocabulary/Vocabulary.d.ts +1 -0
- package/dist/vocabulary/defaults.generated.d.ts +6 -0
- package/dist/vocabulary/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/MarkdownEngine-CbuT9Mjc.js.map +0 -1
- package/dist/PrefStore-CeaTtjTz.js.map +0 -1
- package/dist/UIButton-XkfGqgh6.js +0 -6
- package/dist/UIButton-XkfGqgh6.js.map +0 -1
- package/dist/UIInput-BUudZstW.js +0 -6
- package/dist/UIInput-BUudZstW.js.map +0 -1
- package/dist/UIKeys-DJF2TIKE.js.map +0 -1
- package/dist/UILabel-C1jy3Yl8.js +0 -6
- package/dist/UILabel-C1jy3Yl8.js.map +0 -1
- package/dist/UIMenu-Btd-8V3A.js +0 -42
- package/dist/UIMenu-Btd-8V3A.js.map +0 -1
- package/dist/UIRuntime-BBuehGly.js.map +0 -1
- package/dist/components.es-DmLzT-Bq.js.map +0 -1
- package/dist/crisp-CoZRRDuQ.js +0 -6
- package/dist/fruity-CQFYeRlh.js +0 -6
- package/dist/fruity-CQFYeRlh.js.map +0 -1
- package/dist/fruity.theme-BJcMiPl1.js.map +0 -1
- package/dist/glass-CAfW11kL.js +0 -6
- package/dist/glass-CAfW11kL.js.map +0 -1
- package/dist/glass.theme-DQcBbtCW.js +0 -6
- package/dist/glass.theme-DQcBbtCW.js.map +0 -1
- package/dist/matrix-CqA59hiF.js +0 -6
- package/dist/matrix.theme-jqQZjcq3.js.map +0 -1
- package/dist/midnight-BnoVOrhC.js +0 -6
- package/dist/paper-CynH8ZuT.js +0 -6
- package/dist/persist.types-CsZxS8TG.js +0 -9
- package/dist/persist.types-CsZxS8TG.js.map +0 -1
- package/dist/pop-D2i9V_rG.js +0 -6
- package/dist/spell-BFtLICm7.js +0 -6
- package/dist/spell.theme-B7AU7SQX.js.map +0 -1
- package/dist/styles.en-RLpYiO5_.js.map +0 -1
- package/dist/ui-theme-menu-DyKZygpV.js +0 -921
- package/dist/ui-theme-menu-DyKZygpV.js.map +0 -1
package/dist/ui-dropdown.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import "./rolldown-runtime-CYGlBXrH.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as e, A as t, Bt as n, C as r, D as i, F as a, Ht as o, IconGlyph as s, L as c, Lt as l, N as u, NativeFallback as d, PopoverPanel as f, R as ee, Rt as te, SlotContent as ne, UI as p, Ut as m, Vt as h, WHITESPACE as re, X as ie, after as ae, controlled as g, cssState as oe, derived as _, h as se, isSameList as v, jt as ce, markedPieces as le, n as ue, on as de, onChange as fe, p as pe, proto as y, protoMerged as me, state as he, untracked as b, w as ge, xt as x, y as _e, zt as ve } from "./core.js";
|
|
3
3
|
import { FormComponent as ye, HighlightedOption as be, MenuOptions as xe } from "./forms.js";
|
|
4
|
-
import { t as Se } from "./UIButton-
|
|
5
|
-
import { t as S } from "./SlottedItems-
|
|
4
|
+
import { t as Se } from "./UIButton-DFEds67r.js";
|
|
5
|
+
import { t as S } from "./SlottedItems-Du3aJwG1.js";
|
|
6
6
|
import "./ui-item.js";
|
|
7
7
|
import { For as C, Show as w } from "solid-js";
|
|
8
|
-
import { addEvent as T, className as E, createComponent as D, delegateEvents as Ce, effect as O, getOwner as k, insert as A, isServer as j, memo as M, readShallow as N, ref as P, setAttribute as F, spread as we, style as
|
|
8
|
+
import { addEvent as T, className as E, createComponent as D, delegateEvents as Ce, effect as O, getOwner as k, insert as A, isServer as j, memo as M, readShallow as N, ref as P, setAttribute as F, spread as we, style as I, template as L } from "@solidjs/web";
|
|
9
9
|
//#region src/components/ui-dropdown/UIDropdown.en.ts
|
|
10
|
-
var
|
|
10
|
+
var R = {
|
|
11
11
|
tag: "ui-dropdown",
|
|
12
|
+
icon: "caret square down outline",
|
|
12
13
|
formControl: !0,
|
|
13
14
|
topics: [
|
|
14
15
|
"forms",
|
|
@@ -151,7 +152,7 @@ var L = {
|
|
|
151
152
|
kind: "keyOnly",
|
|
152
153
|
description: "Busy, e.g. fetching options; the caret spins."
|
|
153
154
|
},
|
|
154
|
-
|
|
155
|
+
r.readonly,
|
|
155
156
|
{
|
|
156
157
|
name: "inverted",
|
|
157
158
|
group: "appearance",
|
|
@@ -273,7 +274,7 @@ var L = {
|
|
|
273
274
|
description: "Icon name for a `labeled` dropdown's icon block."
|
|
274
275
|
},
|
|
275
276
|
{
|
|
276
|
-
...
|
|
277
|
+
...r.placeholder,
|
|
277
278
|
description: "Text shown while nothing is chosen."
|
|
278
279
|
},
|
|
279
280
|
{
|
|
@@ -291,10 +292,11 @@ var L = {
|
|
|
291
292
|
description: "Text shown for the current value, e.g. before `options` arrive. Property only by default. Old name: `text`."
|
|
292
293
|
},
|
|
293
294
|
{
|
|
294
|
-
...
|
|
295
|
+
...r.name,
|
|
295
296
|
description: "Form field name; `multiple` submits one entry per value."
|
|
296
297
|
},
|
|
297
|
-
|
|
298
|
+
r.parameter,
|
|
299
|
+
r.required,
|
|
298
300
|
{
|
|
299
301
|
name: "allow-additions",
|
|
300
302
|
group: "form",
|
|
@@ -434,7 +436,7 @@ var L = {
|
|
|
434
436
|
description: "Busy."
|
|
435
437
|
},
|
|
436
438
|
{
|
|
437
|
-
...
|
|
439
|
+
...ge.invalid,
|
|
438
440
|
description: "Fails validation (`required` ...)."
|
|
439
441
|
},
|
|
440
442
|
{
|
|
@@ -464,9 +466,9 @@ var L = {
|
|
|
464
466
|
description: "Accessible name of a `multiple` label's delete button."
|
|
465
467
|
}
|
|
466
468
|
]
|
|
467
|
-
},
|
|
469
|
+
}, z, B, V, H, U = class _DropdownFallback extends (V = d, B = [y], z = [y], V) {
|
|
468
470
|
constructor() {
|
|
469
|
-
super(...arguments),
|
|
471
|
+
super(...arguments), o(this, "select");
|
|
470
472
|
}
|
|
471
473
|
build() {
|
|
472
474
|
let e = this.domElement, t = this.flag("multiple"), n = this.attr("placeholder"), r = this.create("select", {
|
|
@@ -477,7 +479,7 @@ var L = {
|
|
|
477
479
|
disabled: this.flag("disabled") || this.flag("readonly"),
|
|
478
480
|
"aria-readonly": this.flag("readonly") ? "true" : void 0
|
|
479
481
|
});
|
|
480
|
-
this.decorate(r, "trigger",
|
|
482
|
+
this.decorate(r, "trigger", Ee), this.nameFromPlaceholder(r);
|
|
481
483
|
let i = new Set(S.valuesIn(e.value ?? this.attr("value"), t)), a = [...S.itemsOf(e).map(S.entryOf), ...e.options ?? []], o = a.filter((e) => !("type" in e) && (!!e.selected || i.has(e.value)));
|
|
482
484
|
!t && !o.length && r.append(this.create("option", {
|
|
483
485
|
value: "",
|
|
@@ -495,7 +497,7 @@ var L = {
|
|
|
495
497
|
return this.listen(r, "change", (t) => {
|
|
496
498
|
this.sync();
|
|
497
499
|
let n = this.chosenValue();
|
|
498
|
-
e.value = n, this.send(
|
|
500
|
+
e.value = n, this.send(De, {
|
|
499
501
|
value: n,
|
|
500
502
|
originalEvent: t
|
|
501
503
|
});
|
|
@@ -513,7 +515,7 @@ var L = {
|
|
|
513
515
|
return e.multiple ? [...e.selectedOptions].map((e) => e.value) : e.value;
|
|
514
516
|
}
|
|
515
517
|
};
|
|
516
|
-
|
|
518
|
+
H = ve(V), l(H, 13, "vocabulary", B, U), l(H, 13, "degraded", z, U), te(H, U), n(U, "DropdownFallback"), o(U, "vocabulary", m(H, 8, U, R)), m(H, 11, U), o(U, "degraded", m(H, 12, U, [
|
|
517
519
|
"`search` (typing only jumps to a matching option)",
|
|
518
520
|
"`allow-additions`, `clearable`, `max-selections`",
|
|
519
521
|
"multiple-value labels (a native multi-select list)",
|
|
@@ -521,55 +523,55 @@ V = l(B), a(V, 13, "vocabulary", z, H), a(V, 13, "degraded", R, H), s(V, H), p(H
|
|
|
521
523
|
"keyboard pattern: the native `<select>`'s, not the combobox listbox",
|
|
522
524
|
"invoker commands, `ui-opening` / `ui-closing` / `ui-searched` / `ui-added` / `ui-removed`",
|
|
523
525
|
"`readonly` is a disabled select (the value still submits)"
|
|
524
|
-
])),
|
|
525
|
-
var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdown.types{:host{vertical-align:baseline;display:inline-block}:host(:state(fluid)){display:block}:host(:focus-visible){outline:none}.ui.dropdown{--_ui-dropdown-radius:var(--ui-dropdown-radius,var(--ui-radius));--_ui-flag-font-family:var(--ui-flag-font-family,var(--ui-font-family-emoji), var(--ui-font-family));--_ui-dropdown-duration:var(--ui-dropdown-duration,var(--ui-duration-fast));--_ui-dropdown-color:var(--ui-dropdown-color,var(--ui-text-color));--_ui-dropdown-background:var(--ui-dropdown-background,var(--ui-surface));--_ui-dropdown-border-color:var(--ui-dropdown-border-color,var(--ui-border-color));--_ui-dropdown-border-color-hover:var(--ui-dropdown-border-color-hover,var(--ui-border-color-selected));--_ui-dropdown-border-color-focus:var(--ui-dropdown-border-color-focus,var(--ui-color-border,var(--ui-focus-border)));--_ui-dropdown-padding-block:var(--ui-dropdown-padding-block,var(--ui-space-s));--_ui-dropdown-padding-inline:var(--ui-dropdown-padding-inline,var(--ui-space-m));--_ui-dropdown-line-height:var(--ui-dropdown-line-height,1.2);--_ui-dropdown-min-width:var(--ui-dropdown-min-width,14em);--_ui-dropdown-min-height:var(--ui-dropdown-min-height,calc(var(--_ui-dropdown-line-height) * 1em + 2 * var(--_ui-dropdown-padding-block)));--_ui-dropdown-icon-size:var(--ui-dropdown-icon-size,.875em);--_ui-dropdown-icon-spacing:var(--ui-dropdown-icon-spacing,var(--ui-space-m));--_ui-dropdown-icon-distance:var(--ui-dropdown-icon-distance,calc(2 * var(--_ui-dropdown-padding-inline) + var(--_ui-dropdown-icon-size)));--_ui-dropdown-icon-opacity:var(--ui-dropdown-icon-opacity,.5);--_ui-dropdown-placeholder-color:var(--ui-dropdown-placeholder-color,var(--ui-text-light));--_ui-dropdown-placeholder-focus-color:var(--ui-dropdown-placeholder-focus-color,var(--ui-text-muted));--_ui-dropdown-menu-background:var(--ui-dropdown-menu-background,var(--ui-surface));--_ui-dropdown-menu-color:var(--ui-dropdown-menu-color,var(--ui-text-color));--_ui-dropdown-menu-border-color:var(--ui-dropdown-menu-border-color,var(--ui-border-color));--_ui-dropdown-menu-radius:var(--ui-dropdown-menu-radius,var(--ui-radius));--_ui-dropdown-menu-shadow:var(--ui-dropdown-menu-shadow,var(--ui-shadow-raised));--_ui-dropdown-menu-offset:var(--ui-dropdown-menu-offset,var(--ui-space-2xs));--_ui-dropdown-menu-max-height:var(--ui-dropdown-menu-max-height,16em);--_ui-dropdown-menu-scrolling-max-height:var(--ui-dropdown-menu-scrolling-max-height,20em);--_ui-dropdown-item-padding-block:var(--ui-dropdown-item-padding-block,var(--ui-space-s));--_ui-dropdown-item-padding-inline:var(--ui-dropdown-item-padding-inline,var(--ui-space-m));--_ui-dropdown-item-color:var(--ui-dropdown-item-color,var(--ui-text-color));--_ui-dropdown-item-color-hover:var(--ui-dropdown-item-color-hover,var(--ui-text-selected));--_ui-dropdown-item-background-hover:var(--ui-dropdown-item-background-hover,oklch(from var(--ui-ink) l c h / .05));--_ui-dropdown-item-background-selected:var(--ui-dropdown-item-background-selected,oklch(from var(--ui-ink) l c h / .035));--_ui-dropdown-item-font-weight-active:var(--ui-dropdown-item-font-weight-active,var(--ui-font-weight-bold));--_ui-dropdown-item-divider-color:var(--ui-dropdown-item-divider-color,var(--ui-border-color-internal));--_ui-dropdown-item-element-spacing:var(--ui-dropdown-item-element-spacing,var(--ui-space-s));--_ui-dropdown-header-color:var(--ui-dropdown-header-color,var(--ui-text-dark));--_ui-dropdown-header-font-size:var(--ui-dropdown-header-font-size,.8em);--_ui-dropdown-description-color:var(--ui-dropdown-description-color,var(--ui-text-light));--_ui-dropdown-message-color:var(--ui-dropdown-message-color,var(--ui-text-unselected));--_ui-dropdown-label-background:var(--ui-dropdown-label-background,oklch(from var(--ui-ink) l c h / .08));--_ui-dropdown-label-color:var(--ui-dropdown-label-color,var(--ui-text-muted));--_ui-dropdown-label-radius:var(--ui-dropdown-label-radius,var(--ui-radius-s));--_ui-dropdown-label-padding:var(--ui-dropdown-label-padding,.35em .75em);--_ui-dropdown-arrow-size:var(--ui-dropdown-arrow-size,.5em);--_ui-dropdown-pointing-offset:var(--ui-dropdown-pointing-offset,var(--ui-space-s));--_ui-dropdown-pointing-edge:var(--ui-dropdown-pointing-edge,var(--ui-space-m));--_ui-dropdown-floating-offset:var(--ui-dropdown-floating-offset,var(--ui-space-xs));--_ui-dropdown-floating-shadow:var(--ui-dropdown-floating-shadow,var(--ui-shadow-floating));--_ui-dropdown-disabled-opacity:var(--ui-dropdown-disabled-opacity,var(--ui-disabled-opacity));--_ui-dropdown-loader-width:var(--ui-dropdown-loader-width,.2em);--_ui-dropdown-loader-speed:var(--ui-dropdown-loader-speed,.6s);--_dropdown-search-padding-block:calc(var(--_ui-dropdown-padding-block) - (var(--_ui-dropdown-line-height) * 1em - 1em) / 2);box-sizing:border-box;anchor-scope:all;font-family:var(--ui-font-family);font-size:calc(var(--ui-font-size) * var(--ui-scale,1));text-align:start;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;transition-property:box-shadow,border-color,width;transition-duration:var(--_ui-dropdown-duration);transition-timing-function:var(--ui-ease);outline:none;display:inline-block;position:relative}.ui.dropdown>.trigger{z-index:1;box-sizing:border-box;border-radius:inherit;color:inherit;font:inherit;cursor:inherit;appearance:none;background:0 0;border:0;margin:0;padding:0;position:absolute;inset:0}.ui.dropdown>.menu{z-index:var(--ui-z-dropdown);box-sizing:border-box;border:var(--ui-border-width) solid var(--_ui-dropdown-menu-border-color);border-radius:var(--_ui-dropdown-menu-radius);background:var(--_ui-dropdown-menu-background);min-width:max-content;box-shadow:var(--_ui-dropdown-menu-shadow);color:var(--_ui-dropdown-menu-color);font-size:1em;font-weight:var(--ui-font-weight-normal);text-align:start;text-shadow:none;cursor:auto;top:100%;outline:none;margin:0;padding:0;line-height:normal;display:none;position:absolute;inset-inline-start:0;overflow:visible}.ui.dropdown>.menu[popover]{position-area:block-end span-inline-end;position-try-fallbacks:flip-block, flip-inline;position-try-order:most-block-size;min-width:anchor-size(width);margin:var(--_ui-dropdown-menu-offset) 0;max-height:calc(100% - 2 * var(--_ui-dropdown-menu-offset));overscroll-behavior:contain;opacity:0;transition-property:opacity,display,overlay;transition-duration:var(--_ui-dropdown-duration);transition-timing-function:var(--ui-ease);transition-behavior:allow-discrete;position:fixed;inset:auto;overflow-y:auto}.ui.dropdown>.menu[popover]:after{content:\"\";pointer-events:none;background:linear-gradient(to top, var(--_ui-dropdown-menu-background), transparent);height:8px;margin-block-start:-8px;display:block;position:sticky;inset-block-end:0}.ui.dropdown>.menu>*{white-space:nowrap}.ui.dropdown>.dropdown.icon{box-sizing:content-box;width:var(--_ui-dropdown-icon-size);height:var(--_ui-dropdown-icon-size);fill:currentColor;vertical-align:-.1em;pointer-events:none;margin-inline-start:var(--_ui-dropdown-icon-spacing);display:inline-block;position:relative}.ui.dropdown>:is(.dropdown,.remove).icon:empty:before,.ui.dropdown>.label>.delete.icon:empty:before{content:\"\";background:currentColor;width:100%;height:100%;display:block}.ui.dropdown>.dropdown.icon:empty:before{clip-path:polygon(15% 35%,85% 35%,50% 75%)}.ui.dropdown>.remove.icon:empty:before,.ui.dropdown>.label>.delete.icon:empty:before{clip-path:polygon(20% 10%,50% 40%,80% 10%,90% 20%,60% 50%,90% 80%,80% 90%,50% 60%,20% 90%,10% 80%,40% 50%,10% 20%)}.ui.dropdown .icon svg,.ui.dropdown .icon ::slotted(svg),.ui.dropdown .icon ::slotted(ui-icon){fill:currentColor;width:100%;height:100%;display:block}.ui.dropdown>.remove.icon{z-index:3;box-sizing:content-box;width:var(--_ui-dropdown-icon-size);height:var(--_ui-dropdown-icon-size);color:inherit;cursor:pointer;opacity:.5;transition:opacity var(--_ui-dropdown-duration) var(--ui-ease);appearance:none;top:50%;background:0 0;border:0;margin:0;padding:.25em;position:absolute;inset-inline-end:2em;translate:0 -50%}.ui.selection.dropdown>.remove.icon{top:calc(var(--_ui-dropdown-min-height) / 2 - var(--ui-border-width));inset-inline-end:calc(var(--_ui-dropdown-padding-inline) + var(--_ui-dropdown-icon-size) + .5em)}.ui.inline.dropdown>.remove.icon{inset-inline-end:2.2em}.ui.clearable.dropdown>.text:not(.default),.ui.clearable.dropdown:not(.search)>.label:last-of-type{margin-inline-end:1.5em}.ui.dropdown>.text{display:inline-block}.ui.dropdown:not(.button)>.default.text{color:var(--_ui-dropdown-placeholder-color)}.ui.dropdown:not(.button)>input:focus~.default.text{color:var(--_ui-dropdown-placeholder-focus-color)}.ui.dropdown>.filtered.text{visibility:hidden}.ui.dropdown>.text>.description{float:inline-end;color:var(--_ui-dropdown-description-color);margin-inline-start:1em}.ui.selection.dropdown{min-width:var(--_ui-dropdown-min-width);min-height:var(--_ui-dropdown-min-height);padding-block:var(--_ui-dropdown-padding-block);padding-inline:var(--_ui-dropdown-padding-inline) var(--_ui-dropdown-icon-distance);border:var(--ui-border-width) solid var(--_ui-dropdown-border-color);border-radius:var(--_ui-dropdown-radius);background:var(--_ui-dropdown-background);color:var(--_ui-dropdown-color);white-space:normal;overflow-wrap:break-word;box-shadow:none;line-height:1em;display:inline-block}.ui.selection.dropdown>:is(.dropdown,.search).icon{top:calc(var(--_ui-dropdown-min-height) / 2 - var(--ui-border-width));z-index:3;opacity:var(--_ui-dropdown-icon-opacity);transition:opacity var(--_ui-dropdown-duration) var(--ui-ease);margin:0;position:absolute;inset-inline-end:var(--_ui-dropdown-padding-inline);translate:0 -50%}.ui.search.dropdown>input.search{z-index:2;box-sizing:border-box;width:100%;height:100%;padding:inherit;box-shadow:none;color:inherit;font:inherit;cursor:text;-webkit-tap-highlight-color:transparent;top:0;background:0 0;border:none;outline:none;margin:0;position:absolute;inset-inline-start:1px}.ui.search.dropdown>.text{z-index:auto;cursor:text;position:relative;inset-inline-start:1px}.ui.search.selection.dropdown>input.search,.ui.search.selection.dropdown>.sizer{padding-block:var(--_dropdown-search-padding-block);padding-inline:var(--_ui-dropdown-padding-inline) var(--_ui-dropdown-icon-distance);line-height:var(--_ui-dropdown-line-height)}.ui.dropdown>.sizer{white-space:pre;visibility:hidden;top:0;height:0;position:absolute;inset-inline-start:0;overflow:hidden}.ui.multiple.dropdown{padding-block:calc(var(--_dropdown-search-padding-block) / 3);padding-inline:calc(var(--_ui-dropdown-padding-inline) / 3) var(--_ui-dropdown-icon-distance)}.ui.multiple.dropdown>.text{max-width:100%;margin-block:calc(var(--_dropdown-search-padding-block) * 2 / 3);margin-inline:calc(var(--_ui-dropdown-padding-inline) * 2 / 3) 0;line-height:var(--_ui-dropdown-line-height);padding:0;position:static}.ui.multiple.dropdown>.default.text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ui.multiple.dropdown>.label~.text{display:none}.ui.multiple.search.dropdown,.ui.multiple.search.dropdown>input.search{cursor:text}.ui.multiple.search.dropdown{isolation:isolate}.ui.multiple.search.dropdown>.text{padding:inherit;top:0;display:inline-block;position:absolute;inset-inline-start:0}.ui.multiple.search.dropdown>.default.text{z-index:-1}.ui.multiple.search.dropdown>.label~.text{display:none}.ui.multiple.search.dropdown>input.search{width:auto;min-width:2.2em;max-width:100%;height:auto;margin-block:calc(var(--_dropdown-search-padding-block) * 2 / 3);margin-inline:calc(var(--_ui-dropdown-padding-inline) * 2 / 3) 0;line-height:var(--_ui-dropdown-line-height);field-sizing:content;padding:0;position:static}.ui.multiple.dropdown>.label~input.search{margin-inline-start:.15em}.ui.inline.dropdown{color:inherit;cursor:pointer;display:inline-block}.ui.inline.dropdown>.text{font-weight:var(--ui-font-weight-bold)}.ui.inline.dropdown>.dropdown.icon{vertical-align:baseline;margin:0 .2em}.ui.inline.dropdown>.menu{--_ui-dropdown-menu-offset:.2em}.ui.dropdown.button{overflow:visible}.ui.dropdown.icon.button>.dropdown.icon{margin:0}.ui.labeled.icon.dropdown>.dropdown.icon{display:none}}@layer ui.components.dropdown.content{.ui.multiple.dropdown>.label{z-index:2;box-sizing:border-box;padding:var(--_ui-dropdown-label-padding);border-radius:var(--_ui-dropdown-label-radius);background-color:var(--ui-color-background,var(--_ui-dropdown-label-background));box-shadow:inset 0 0 0 var(--ui-border-width) var(--ui-color-border,var(--ui-border-color));color:var(--ui-color-text,var(--_ui-dropdown-label-color));font-size:.875em;font-weight:var(--ui-font-weight-semibold);vertical-align:baseline;white-space:normal;cursor:default;margin-block:.125em;margin-inline:0 .25em;line-height:1;display:inline-block;position:relative}.ui.multiple.dropdown>.label>.delete.icon{box-sizing:content-box;width:.75em;height:.75em;color:inherit;opacity:.5;vertical-align:-.05em;cursor:pointer;transition:opacity var(--_ui-dropdown-duration) var(--ui-ease);appearance:none;background:0 0;border:0;margin:0 0 0 .5em;padding:0;font-size:1em;display:inline-block}.ui.multiple.dropdown>.label>:is(img,.image){border-radius:var(--_ui-dropdown-label-radius);vertical-align:top;height:1.4em;margin-block:-.2em;margin-inline:-.4em .4em}.ui.dropdown .menu>.item{box-sizing:border-box;height:auto;padding:var(--_ui-dropdown-item-padding-block) var(--_ui-dropdown-item-padding-inline);color:var(--_ui-dropdown-item-color);font-size:1em;font-weight:var(--ui-font-weight-normal);text-align:start;text-transform:none;box-shadow:none;cursor:pointer;-webkit-touch-callout:none;border:none;line-height:1em;display:block;position:relative}.ui.dropdown .menu>.item.vertical{flex-direction:column-reverse;display:flex}.ui.dropdown .menu>.item.vertical>.text{margin-bottom:.25em}.ui.dropdown .menu>.item>.description{float:inline-end;color:var(--_ui-dropdown-description-color);margin-inline-start:1em}.ui.dropdown .menu>.item.vertical>.description{margin:0}.ui.dropdown .menu>.item mark{background:var(--ui-highlight);color:inherit}.ui.dropdown>.text :is(.icon,.icons,.label,.flag,.image,img),.ui.dropdown>.text ::slotted(:is(.icon,.icons,.label,.flag,.image,img,ui-icon)),.ui.dropdown .menu>:is(.item,.header)>:is(.icon,.icons,.label,.flag,.image,img){float:none;margin-block:0;margin-inline:0 var(--_ui-dropdown-item-element-spacing)}.ui.dropdown>.text .icon,.ui.dropdown>.text ::slotted(svg),.ui.dropdown>.text ::slotted(ui-icon),.ui.dropdown .menu>:is(.item,.header)>.icon{box-sizing:border-box;fill:currentColor;vertical-align:-.125em;width:1.18em;height:1em;display:inline-block}.ui.dropdown>.text :is(img,.image:not(.icon)),.ui.dropdown>.text ::slotted(:is(img,.image:not(.icon))),.ui.dropdown .menu>:is(.item,.header)>:is(img,.image:not(.icon)){vertical-align:top;width:auto;max-height:2em;margin-block:-.5em;display:inline-block}.ui.dropdown>.text .flag,.ui.dropdown>.text ::slotted(.flag),.ui.dropdown .menu>:is(.item,.header)>.flag{font-family:var(--_ui-flag-font-family);line-height:1;display:inline-block}.ui.dropdown>.text [class*=right\\ floated],.ui.dropdown>.text ::slotted([class*=right\\ floated]),.ui.dropdown .menu>:is(.item,.header)>[class*=right\\ floated]{float:inline-end;margin-inline:1em 0}.ui.dropdown>.text [class*=left\\ floated],.ui.dropdown>.text ::slotted([class*=left\\ floated]),.ui.dropdown .menu>:is(.item,.header)>[class*=left\\ floated]{float:inline-start;margin-inline:0 1em}.ui.dropdown .menu>.header{padding:0 calc(var(--_ui-dropdown-item-padding-inline) / .8);color:var(--_ui-dropdown-header-color);font-size:var(--_ui-dropdown-header-font-size);font-weight:var(--ui-font-weight-bold);text-transform:uppercase;margin:1.25em 0 .75em}.ui.dropdown .menu>.divider{border:0;border-top:var(--ui-border-width) solid var(--_ui-dropdown-item-divider-color);height:0;margin:.5em 0}.ui.dropdown .menu>.message{padding:var(--_ui-dropdown-item-padding-block) var(--_ui-dropdown-item-padding-inline);color:var(--_ui-dropdown-message-color);font-weight:var(--ui-font-weight-normal);cursor:default}.ui.dropdown .menu>.input{min-width:10em;margin:1em .75em;display:flex}.ui.dropdown .menu>.header+.input{margin-top:0}.ui.dropdown .menu>.input>input{border:var(--ui-border-width) solid var(--_ui-dropdown-border-color);border-radius:var(--_ui-dropdown-radius);background:var(--_ui-dropdown-background);min-width:0;color:var(--_ui-dropdown-color);font:inherit;flex:auto;padding:.5em 1em}.ui.dropdown .menu>.scrolling.menu{max-height:var(--_ui-dropdown-menu-scrolling-max-height);overscroll-behavior:contain;border:none;border-top:var(--ui-border-width) solid var(--_ui-dropdown-menu-border-color);border-radius:0 0 var(--_ui-dropdown-menu-radius) var(--_ui-dropdown-menu-radius);box-shadow:none;margin:0;display:block;position:static;overflow:hidden auto}.ui.dropdown .menu>.hidden.addition.item{display:none}.ui.dropdown .menu>.stuck.addition.item:first-child{z-index:14;background:var(--_ui-dropdown-menu-background);box-shadow:var(--_ui-dropdown-menu-shadow);position:sticky;top:0}}@layer ui.components.dropdown.variations{.ui:is(.selection,.search).dropdown:not(.unlimited)>.menu{max-height:var(--_ui-dropdown-menu-max-height);overscroll-behavior:contain;overflow:hidden auto}.ui.selection.dropdown>.menu[popover]{width:anchor-size(width)}.ui.selection.dropdown>.menu:not([popover]){width:calc(100% + 2 * var(--ui-border-width));margin-inline:calc(var(--ui-border-width) * -1)}.ui.selection.dropdown .menu>.item{padding:var(--_ui-dropdown-item-padding-block) var(--_ui-dropdown-item-padding-inline);border-top:var(--ui-border-width) solid var(--_ui-dropdown-item-divider-color);white-space:normal;overflow-wrap:normal}.ui.selection.dropdown .menu>.item:first-child,.ui.selection:is(.pointing,.floating).dropdown .menu>.item:first-child{border-top:none}.ui.selection.short.dropdown>.menu{max-height:calc(var(--_ui-dropdown-menu-max-height) * .75)}.ui.selection[class*=very\\ short].dropdown>.menu{max-height:calc(var(--_ui-dropdown-menu-max-height) * .5)}.ui.selection.long.dropdown>.menu{max-height:calc(var(--_ui-dropdown-menu-max-height) * 2)}.ui.selection[class*=very\\ long].dropdown>.menu{max-height:calc(var(--_ui-dropdown-menu-max-height) * 3)}.ui.scrolling.dropdown>.menu{max-height:var(--_ui-dropdown-menu-scrolling-max-height);overscroll-behavior:contain;overflow:hidden auto}.ui.scrolling.dropdown .menu>.item{border-top:none}.ui.scrolling.resizable.dropdown>.menu,.ui.dropdown .menu>.scrolling.resizable.menu{height:var(--_ui-dropdown-menu-scrolling-max-height);resize:vertical;max-height:none}.ui.compact.dropdown{min-width:0}.ui.compact.dropdown>.menu[popover],.ui.compact.dropdown>.menu{width:max-content}.ui.compact.dropdown .menu>.item{white-space:normal}.ui.fluid.dropdown{width:100%;min-width:0;display:block}.ui.fluid.dropdown>.dropdown.icon{float:inline-end}.ui.column.dropdown>.menu{flex-wrap:wrap}.ui[class*=two\\ column].dropdown .menu>.item{width:50%}.ui[class*=three\\ column].dropdown .menu>.item{width:33.333%}.ui[class*=four\\ column].dropdown .menu>.item{width:25%}.ui[class*=five\\ column].dropdown .menu>.item{width:20%}.ui.upward.dropdown>.menu:not([popover]){top:auto;bottom:100%}.ui.upward.dropdown>.menu[popover]{position-area:block-start span-inline-end}.ui.dropdown>.left.menu:not([popover]){inset-inline:auto 0}.ui.dropdown>.left.menu[popover]{position-area:block-end span-inline-start}.ui.upward.dropdown>.left.menu[popover]{position-area:block-start span-inline-start}.ui.floating.dropdown{--_ui-dropdown-menu-offset:var(--_ui-dropdown-floating-offset);--_ui-dropdown-menu-shadow:var(--_ui-dropdown-floating-shadow)}.ui.floating.dropdown>.menu:not([popover]){margin-top:var(--_ui-dropdown-menu-offset)}.ui.upward.floating.dropdown>.menu:not([popover]){margin-top:0;margin-bottom:var(--_ui-dropdown-menu-offset)}.ui:is(.floating,.pointing).dropdown .menu>.item:first-child{border-start-start-radius:var(--_ui-dropdown-menu-radius);border-start-end-radius:var(--_ui-dropdown-menu-radius)}.ui:is(.floating,.pointing).dropdown .menu>.item:last-child{border-end-end-radius:var(--_ui-dropdown-menu-radius);border-end-start-radius:var(--_ui-dropdown-menu-radius)}.ui.pointing.dropdown{--_ui-dropdown-menu-offset:var(--_ui-dropdown-pointing-offset)}.ui.pointing.dropdown>.menu[popover]{position-area:block-end center;position-try-fallbacks:none}.ui.pointing.dropdown>.menu:not([popover]){margin-top:var(--_ui-dropdown-menu-offset)}.ui.pointing.dropdown>.menu:after{content:\"\";top:calc(var(--_ui-dropdown-arrow-size) / -2);z-index:2;width:var(--_ui-dropdown-arrow-size);height:var(--_ui-dropdown-arrow-size);margin:0 0 0 calc(var(--_ui-dropdown-arrow-size) / -2);background:var(--_ui-dropdown-menu-background);box-shadow:calc(var(--ui-border-width) * -1) calc(var(--ui-border-width) * -1) 0 0 var(--_ui-dropdown-menu-border-color);pointer-events:none;display:block;position:absolute;left:50%;rotate:45deg}.ui.pointing.dropdown>.menu:has(>.item:first-child:hover):after{background:color-mix(in oklab, var(--_ui-dropdown-menu-background), var(--_ui-dropdown-item-background-hover))}.ui[class*=\"top left pointing\"].dropdown>.menu[popover]{position-area:block-end span-inline-end}.ui[class*=\"top left pointing\"].dropdown>.menu:after{left:var(--_ui-dropdown-pointing-edge);margin:0}.ui[class*=\"top right pointing\"].dropdown>.menu[popover]{position-area:block-end span-inline-start}.ui[class*=\"top right pointing\"].dropdown>.menu:not([popover]){inset-inline:auto 0}.ui[class*=\"top right pointing\"].dropdown>.menu:after{left:auto;right:var(--_ui-dropdown-pointing-edge);margin:0}.ui[class*=left\\ pointing]:not([class*=top\\ left],[class*=bottom\\ left]).dropdown>.menu[popover]{position-area:inline-end span-block-end;margin:0 0 0 var(--_ui-dropdown-pointing-edge)}.ui[class*=right\\ pointing]:not([class*=top\\ right],[class*=bottom\\ right]).dropdown>.menu[popover]{position-area:inline-start span-block-end;margin:0 var(--_ui-dropdown-pointing-edge) 0 0}.ui[class*=left\\ pointing]:not([class*=top\\ left],[class*=bottom\\ left]).dropdown>.menu:not([popover]){margin:0 0 0 var(--_ui-dropdown-pointing-edge);top:0;left:100%;right:auto}.ui[class*=right\\ pointing]:not([class*=top\\ right],[class*=bottom\\ right]).dropdown>.menu:not([popover]){margin:0 var(--_ui-dropdown-pointing-edge) 0 0;top:0;left:auto;right:100%}.ui[class*=left\\ pointing]:not([class*=top\\ left],[class*=bottom\\ left]).dropdown>.menu:after{top:1em;left:calc(var(--_ui-dropdown-arrow-size) / -2);margin:0;rotate:-45deg}.ui[class*=right\\ pointing]:not([class*=top\\ right],[class*=bottom\\ right]).dropdown>.menu:after{top:1em;left:auto;right:calc(var(--_ui-dropdown-arrow-size) / -2);margin:0;rotate:135deg}.ui:is([class*=bottom\\ pointing],[class*=\"bottom left pointing\"],[class*=\"bottom right pointing\"],.pointing.upward).dropdown>.menu:not([popover]){margin:0 0 var(--_ui-dropdown-menu-offset);top:auto;bottom:100%}.ui:is([class*=bottom\\ pointing],.pointing.upward).dropdown>.menu[popover]{position-area:block-start center}.ui[class*=\"bottom left pointing\"].dropdown>.menu[popover]{position-area:block-start span-inline-end}.ui[class*=\"bottom right pointing\"].dropdown>.menu[popover]{position-area:block-start span-inline-start}.ui:is([class*=bottom\\ pointing],[class*=\"bottom left pointing\"],[class*=\"bottom right pointing\"],.pointing.upward).dropdown>.menu:after{top:auto;bottom:calc(var(--_ui-dropdown-arrow-size) / -2);rotate:-135deg}.ui[class*=\"bottom left pointing\"].dropdown>.menu:after{left:var(--_ui-dropdown-pointing-edge);margin:0}.ui[class*=\"bottom right pointing\"].dropdown>.menu:after{left:auto;right:var(--_ui-dropdown-pointing-edge);margin:0}.ui.simple.dropdown>.menu{visibility:hidden;opacity:0;transition:opacity var(--_ui-dropdown-duration) var(--ui-ease), visibility 0s var(--_ui-dropdown-duration);display:block}.ui.dropdown:is(.error,.info,.success,.warning),.ui.dropdown:is(.error,.info,.success,.warning)>.text{color:var(--ui-color-text)}.ui.selection.dropdown:is(.error,.info,.success,.warning){--_ui-dropdown-border-color:var(--ui-color-border);--_ui-dropdown-border-color-hover:var(--ui-color-border);--_ui-dropdown-border-color-focus:var(--ui-color-border);background:var(--ui-color-background)}.ui.dropdown:is(.error,.info,.success,.warning)>.menu{--_ui-dropdown-menu-border-color:var(--ui-color-border);--_ui-dropdown-item-color:var(--ui-color-text);--_ui-dropdown-item-background-hover:var(--ui-color-background);--_ui-dropdown-item-background-selected:var(--ui-color-background)}.ui.dropdown:is(.error,.info,.success,.warning)>.default.text{color:color-mix(in oklab, var(--ui-color-text) 60%, transparent)}.ui.inverted.dropdown{color-scheme:dark}.ui.inverted.selection.dropdown{--_ui-dropdown-border-color:oklch(from var(--ui-ink-on-dark) l c h / .15);--_ui-dropdown-border-color-hover:oklch(from var(--ui-ink-on-dark) l c h / .25)}}@layer ui.components.dropdown.states{.ui.selection.dropdown:hover{border-color:var(--_ui-dropdown-border-color-hover)}.ui.selection.dropdown:is(:focus-within,.active,:has(>.menu:popover-open)){border-color:var(--_ui-dropdown-border-color-focus)}.ui.selection.dropdown:is(:focus-within,.active,:has(>.menu:popover-open))>:is(.dropdown,.search).icon{opacity:1}.ui.selection.dropdown:is(.active,:has(>.menu:popover-open)){z-index:10}.ui.selection.dropdown:is(.active,:has(>.menu:popover-open))>.text:not(.default){color:var(--ui-text-hovered)}.ui.dropdown:has(>input.search:focus-visible){outline:var(--ui-focus-width,2px) solid var(--ui-focus-color,Highlight);outline-offset:var(--ui-focus-offset,2px)}.ui.search.dropdown:is(.active,:has(>.menu:popover-open))>input.search{cursor:auto}.ui.search.dropdown:is(.active,:has(>.menu:popover-open))>.text{pointer-events:none}.ui.search.dropdown>input.search:focus+.text{color:var(--_ui-dropdown-placeholder-focus-color)}.ui.search.dropdown>input.search:focus+.text>:is(.icon,.flag){opacity:var(--ui-disabled-opacity)}:is(.ui.dropdown>.menu[popover]:popover-open,.ui.active.dropdown>.menu:not([popover]),.ui.dropdown>.visible.menu:not([popover])){opacity:1;display:block}:is(.ui.column.dropdown>.menu[popover]:popover-open,.ui.column.active.dropdown>.menu:not([popover]),.ui.column.dropdown>.visible.menu:not([popover])){display:flex}@starting-style{.ui.dropdown>.menu[popover]:popover-open{opacity:0}}.ui.simple.dropdown:is(:hover,:focus-within,.active)>.menu{visibility:visible;opacity:1;transition-delay:0s}.ui.dropdown .menu>.item:hover{z-index:13;background:var(--_ui-dropdown-item-background-hover);color:var(--_ui-dropdown-item-color-hover)}.ui.dropdown .menu>.selected.item{background:var(--_ui-dropdown-item-background-selected);color:var(--_ui-dropdown-item-color-hover)}.ui.dropdown .menu>:is(.active,[aria-selected=true]).item{z-index:12;color:var(--_ui-dropdown-item-color-hover);font-weight:var(--_ui-dropdown-item-font-weight-active)}.ui.dropdown .menu>:is(.disabled,[aria-disabled=true]).item{cursor:default;opacity:var(--_ui-dropdown-disabled-opacity);pointer-events:none}.ui.dropdown .menu>.filtered.item{display:none}.ui.dropdown>.remove.icon:hover,.ui.multiple.dropdown>.label>.delete.icon:hover{opacity:1}.ui.loading.dropdown>.dropdown.icon:before,.ui.loading.dropdown>.dropdown.icon:after{content:\"\";box-sizing:border-box;border:var(--_ui-dropdown-loader-width) solid transparent;border-radius:var(--ui-radius-circle);clip-path:none;background:0 0;width:1.1em;height:1.1em;margin:-.55em 0 0 -.55em;position:absolute;top:50%;left:50%}.ui.loading.dropdown>.dropdown.icon:before{border-color:color-mix(in oklab, currentColor 20%, transparent)}.ui.loading.dropdown>.dropdown.icon:after{animation:ui-dropdown-spin var(--_ui-dropdown-loader-speed) linear infinite;border-top-color:currentColor}.ui.loading.dropdown>.dropdown.icon>*{visibility:hidden}.ui.loading.dropdown>.remove.icon{display:none}.ui.disabled.dropdown{cursor:default;opacity:var(--_ui-dropdown-disabled-opacity);pointer-events:none}.ui.read-only.dropdown{cursor:default;pointer-events:none}.ui:is(.disabled,.read-only).dropdown>.remove.icon,.ui:is(.disabled,.read-only).dropdown>.label>.delete.icon{display:none}}@keyframes ui-dropdown-spin{to{rotate:1turn}}", Ae = /* @__PURE__ */ I("<span aria-hidden=true>"), je = /* @__PURE__ */ I("<button type=button>"), U = /* @__PURE__ */ I("<slot>"), Me = /* @__PURE__ */ I("<div><!><!><span><slot></slot></span><span></span><!><!>"), Ne = /* @__PURE__ */ I("<slot hidden>"), Pe = /* @__PURE__ */ I("<button>"), Fe = /* @__PURE__ */ I("<input>"), Ie = /* @__PURE__ */ I("<button type=button tabindex=-1>"), Le = /* @__PURE__ */ I("<span><!><!>"), W = /* @__PURE__ */ I("<span>"), Re = /* @__PURE__ */ I("<input type=hidden>"), ze = /* @__PURE__ */ I("<div role=option aria-disabled=true aria-selected=false>"), Be = /* @__PURE__ */ I("<div role=listbox><slot>"), Ve = /* @__PURE__ */ I("<div role=option>"), He = /* @__PURE__ */ I("<img alt>"), Ue = /* @__PURE__ */ I("<mark>"), We = /* @__PURE__ */ I("<div role=option aria-selected=false><b></b><!>"), Ge = /* @__PURE__ */ I("<hr role=presentation>"), Ke = /* @__PURE__ */ I("<div role=presentation>"), G, qe, Je, K, Ye, Xe, Ze, Qe, $e, et, tt, nt, rt, it, at, ot, st, ct, lt, ut, dt, ft, pt, mt, q, J, Y, X, Z, Q, $ = class _UIDropdown extends (q = ye, mt = [y], pt = [he], ft = [y], dt = [y], ut = [ge], lt = [_({ equals: v })], ct = [_], st = [oe("value")], ot = [_({ equals: v })], at = [_], it = [b], rt = [b], nt = [ge], tt = [b], et = [_], $e = [_({ equals: v })], Qe = [pe("isOpen", "highlightedOption")], Ze = [se("open"), oe("open")], Xe = [b], Ye = [pe("isOpen", "isConnected", "isReady")], K = [fe("command")], Je = [b], qe = [b], G = [b], q) {
|
|
526
|
+
])), m(H, 15, U);
|
|
527
|
+
var Te = U, Ee = "select", De = "ui-changed", Oe = "@layer ui.components.dropdown.types{:host{vertical-align:baseline;display:inline-block}:host(:state(fluid)){display:block}:host(:focus-visible){outline:none}.ui.dropdown{--_ui-dropdown-radius:var(--ui-dropdown-radius,var(--ui-radius));--_ui-flag-font-family:var(--ui-flag-font-family,var(--ui-font-family-emoji), var(--ui-font-family));--_ui-dropdown-duration:var(--ui-dropdown-duration,var(--ui-duration-fast));--_ui-dropdown-color:var(--ui-dropdown-color,var(--ui-text-color));--_ui-dropdown-background:var(--ui-dropdown-background,var(--ui-surface));--_ui-dropdown-border-color:var(--ui-dropdown-border-color,var(--ui-border-color));--_ui-dropdown-border-color-hover:var(--ui-dropdown-border-color-hover,var(--ui-border-color-selected));--_ui-dropdown-border-color-focus:var(--ui-dropdown-border-color-focus,var(--ui-color-border,var(--ui-focus-border)));--_ui-dropdown-padding-block:var(--ui-dropdown-padding-block,var(--ui-space-s));--_ui-dropdown-padding-inline:var(--ui-dropdown-padding-inline,var(--ui-space-m));--_ui-dropdown-line-height:var(--ui-dropdown-line-height,1.2);--_ui-dropdown-min-width:var(--ui-dropdown-min-width,14em);--_ui-dropdown-min-height:var(--ui-dropdown-min-height,max(var(--ui-control-height,0px) * var(--ui-scale,1), calc(var(--_ui-dropdown-line-height) * 1em + 2 * var(--_ui-dropdown-padding-block))));--_ui-dropdown-icon-size:var(--ui-dropdown-icon-size,.875em);--_ui-dropdown-icon-spacing:var(--ui-dropdown-icon-spacing,var(--ui-space-m));--_ui-dropdown-icon-distance:var(--ui-dropdown-icon-distance,calc(2 * var(--_ui-dropdown-padding-inline) + var(--_ui-dropdown-icon-size)));--_ui-dropdown-icon-opacity:var(--ui-dropdown-icon-opacity,.5);--_ui-dropdown-placeholder-color:var(--ui-dropdown-placeholder-color,var(--ui-text-light));--_ui-dropdown-placeholder-focus-color:var(--ui-dropdown-placeholder-focus-color,var(--ui-text-muted));--_ui-dropdown-menu-background:var(--ui-dropdown-menu-background,var(--ui-surface));--_ui-dropdown-menu-color:var(--ui-dropdown-menu-color,var(--ui-text-color));--_ui-dropdown-menu-border-color:var(--ui-dropdown-menu-border-color,var(--ui-border-color));--_ui-dropdown-menu-radius:var(--ui-dropdown-menu-radius,var(--ui-radius));--_ui-dropdown-menu-shadow:var(--ui-dropdown-menu-shadow,var(--ui-shadow-raised));--_ui-dropdown-menu-offset:var(--ui-dropdown-menu-offset,var(--ui-space-2xs));--_ui-dropdown-menu-max-height:var(--ui-dropdown-menu-max-height,16em);--_ui-dropdown-menu-scrolling-max-height:var(--ui-dropdown-menu-scrolling-max-height,20em);--_ui-dropdown-item-padding-block:var(--ui-dropdown-item-padding-block,var(--ui-space-s));--_ui-dropdown-item-padding-inline:var(--ui-dropdown-item-padding-inline,var(--ui-space-m));--_ui-dropdown-item-color:var(--ui-dropdown-item-color,var(--ui-text-color));--_ui-dropdown-item-color-hover:var(--ui-dropdown-item-color-hover,var(--ui-text-selected));--_ui-dropdown-item-background-hover:var(--ui-dropdown-item-background-hover,oklch(from var(--ui-ink) l c h / .05));--_ui-dropdown-item-background-selected:var(--ui-dropdown-item-background-selected,oklch(from var(--ui-ink) l c h / .035));--_ui-dropdown-item-font-weight-active:var(--ui-dropdown-item-font-weight-active,var(--ui-font-weight-bold));--_ui-dropdown-item-divider-color:var(--ui-dropdown-item-divider-color,var(--ui-border-color-internal));--_ui-dropdown-item-element-spacing:var(--ui-dropdown-item-element-spacing,var(--ui-space-s));--_ui-dropdown-icon-column:var(--ui-dropdown-icon-column,0);--_ui-dropdown-header-color:var(--ui-dropdown-header-color,var(--ui-text-dark));--_ui-dropdown-header-font-size:var(--ui-dropdown-header-font-size,.8em);--_ui-dropdown-description-color:var(--ui-dropdown-description-color,var(--ui-text-light));--_ui-dropdown-message-color:var(--ui-dropdown-message-color,var(--ui-text-unselected));--_ui-dropdown-label-background:var(--ui-dropdown-label-background,oklch(from var(--ui-ink) l c h / .08));--_ui-dropdown-label-color:var(--ui-dropdown-label-color,var(--ui-text-muted));--_ui-dropdown-label-radius:var(--ui-dropdown-label-radius,var(--ui-radius-s));--_ui-dropdown-label-padding:var(--ui-dropdown-label-padding,.35em .75em);--_ui-dropdown-arrow-size:var(--ui-dropdown-arrow-size,.5em);--_ui-dropdown-pointing-offset:var(--ui-dropdown-pointing-offset,var(--ui-space-s));--_ui-dropdown-pointing-edge:var(--ui-dropdown-pointing-edge,var(--ui-space-m));--_ui-dropdown-floating-offset:var(--ui-dropdown-floating-offset,var(--ui-space-xs));--_ui-dropdown-floating-shadow:var(--ui-dropdown-floating-shadow,var(--ui-shadow-floating));--_ui-dropdown-disabled-opacity:var(--ui-dropdown-disabled-opacity,var(--ui-disabled-opacity));--_ui-dropdown-loader-width:var(--ui-dropdown-loader-width,.2em);--_ui-dropdown-loader-speed:var(--ui-dropdown-loader-speed,.6s);--_dropdown-search-padding-block:calc(var(--_ui-dropdown-padding-block) - (var(--_ui-dropdown-line-height) * 1em - 1em) / 2);box-sizing:border-box;anchor-scope:all;font-family:var(--ui-font-family);font-size:calc(var(--ui-font-size) * var(--ui-scale,1));text-align:start;cursor:var(--ui-control-cursor);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;transition-property:box-shadow,border-color,width;transition-duration:var(--_ui-dropdown-duration);transition-timing-function:var(--ui-ease);outline:none;display:inline-block;position:relative}.ui.dropdown>.trigger{z-index:1;box-sizing:border-box;border-radius:inherit;color:inherit;font:inherit;cursor:inherit;appearance:none;background:0 0;border:0;margin:0;padding:0;position:absolute;inset:0}.ui.dropdown>.menu{z-index:var(--ui-z-dropdown);box-sizing:border-box;border:var(--ui-border-width) solid var(--_ui-dropdown-menu-border-color);border-radius:var(--_ui-dropdown-menu-radius);background:var(--_ui-dropdown-menu-background);min-width:max-content;box-shadow:var(--_ui-dropdown-menu-shadow);color:var(--_ui-dropdown-menu-color);font-size:1em;font-weight:var(--ui-font-weight-normal);text-align:start;text-shadow:none;cursor:auto;top:100%;outline:none;margin:0;padding:0;line-height:normal;display:none;position:absolute;inset-inline-start:0;overflow:visible}.ui.dropdown>.menu[popover]{position-area:block-end span-inline-end;position-try-fallbacks:flip-block, flip-inline;position-try-order:most-block-size;min-width:anchor-size(width);margin:var(--_ui-dropdown-menu-offset) 0;max-height:calc(100% - 2 * var(--_ui-dropdown-menu-offset));overscroll-behavior:contain;opacity:0;transition-property:opacity,display,overlay;transition-duration:var(--_ui-dropdown-duration);transition-timing-function:var(--ui-ease);transition-behavior:allow-discrete;position:fixed;inset:auto;overflow-y:auto}.ui.dropdown>.menu[popover]:after{content:\"\";pointer-events:none;background:linear-gradient(to top, var(--_ui-dropdown-menu-background), transparent);height:8px;margin-block-start:-8px;display:block;position:sticky;inset-block-end:0}.ui.dropdown>.menu>*{white-space:nowrap}.ui.dropdown>.dropdown.icon{box-sizing:content-box;width:var(--_ui-dropdown-icon-size);height:var(--_ui-dropdown-icon-size);fill:currentColor;vertical-align:-.1em;pointer-events:none;margin-inline-start:var(--_ui-dropdown-icon-spacing);display:inline-block;position:relative}.ui.dropdown>:is(.dropdown,.remove).icon:empty:before,.ui.dropdown>.label>.delete.icon:empty:before{content:\"\";background:currentColor;width:100%;height:100%;display:block}.ui.dropdown>.dropdown.icon:empty:before{clip-path:polygon(15% 35%,85% 35%,50% 75%)}.ui.dropdown>.remove.icon:empty:before,.ui.dropdown>.label>.delete.icon:empty:before{clip-path:polygon(20% 10%,50% 40%,80% 10%,90% 20%,60% 50%,90% 80%,80% 90%,50% 60%,20% 90%,10% 80%,40% 50%,10% 20%)}.ui.dropdown .icon svg,.ui.dropdown .icon ::slotted(svg),.ui.dropdown .icon ::slotted(ui-icon){fill:currentColor;width:100%;height:100%;display:block}.ui.dropdown>.remove.icon{z-index:3;box-sizing:content-box;width:var(--_ui-dropdown-icon-size);height:var(--_ui-dropdown-icon-size);color:inherit;cursor:var(--ui-control-cursor);opacity:.5;transition:opacity var(--_ui-dropdown-duration) var(--ui-ease);appearance:none;top:50%;background:0 0;border:0;margin:0;padding:.25em;position:absolute;inset-inline-end:2em;translate:0 -50%}.ui.selection.dropdown>.remove.icon{top:calc(var(--_ui-dropdown-min-height) / 2 - var(--ui-border-width));inset-inline-end:calc(var(--_ui-dropdown-padding-inline) + var(--_ui-dropdown-icon-size) + .5em)}.ui.inline.dropdown>.remove.icon{inset-inline-end:2.2em}.ui.clearable.dropdown>.text:not(.default),.ui.clearable.dropdown:not(.search)>.label:last-of-type{margin-inline-end:1.5em}.ui.dropdown>.text{font-weight:var(--_ui-input-owner-weight,inherit);display:inline-block}.ui.dropdown:not(.button)>.default.text{color:var(--_ui-dropdown-placeholder-color)}.ui.dropdown:not(.button)>input:focus~.default.text{color:var(--_ui-dropdown-placeholder-focus-color)}.ui.dropdown>.filtered.text{visibility:hidden}.ui.dropdown>.text>.description{float:inline-end;color:var(--_ui-dropdown-description-color);margin-inline-start:1em}.ui.selection.dropdown{min-width:var(--_ui-dropdown-min-width);min-height:var(--_ui-dropdown-min-height);padding-block:var(--_ui-dropdown-padding-block);padding-inline:var(--_ui-dropdown-padding-inline) var(--_ui-dropdown-icon-distance);border:var(--ui-border-width) solid var(--_ui-dropdown-border-color);border-radius:var(--_ui-dropdown-radius);background:var(--_ui-dropdown-background);color:var(--_ui-dropdown-color);white-space:normal;overflow-wrap:break-word;box-shadow:none;line-height:1em;display:inline-block}.ui.selection.dropdown>:is(.dropdown,.search).icon{top:calc(var(--_ui-dropdown-min-height) / 2 - var(--ui-border-width));z-index:3;opacity:var(--_ui-dropdown-icon-opacity);transition:opacity var(--_ui-dropdown-duration) var(--ui-ease);margin:0;position:absolute;inset-inline-end:var(--_ui-dropdown-padding-inline);translate:0 -50%}.ui.search.dropdown>input.search{z-index:2;box-sizing:border-box;width:100%;height:100%;padding:inherit;box-shadow:none;color:inherit;font:inherit;cursor:text;-webkit-tap-highlight-color:transparent;top:0;background:0 0;border:none;outline:none;margin:0;position:absolute;inset-inline-start:1px}.ui.search.dropdown>.text{z-index:auto;cursor:text;position:relative;inset-inline-start:1px}.ui.search.selection.dropdown>input.search,.ui.search.selection.dropdown>.sizer{padding-block:var(--_dropdown-search-padding-block);padding-inline:var(--_ui-dropdown-padding-inline) var(--_ui-dropdown-icon-distance);line-height:var(--_ui-dropdown-line-height)}.ui.dropdown>.sizer{white-space:pre;visibility:hidden;top:0;height:0;position:absolute;inset-inline-start:0;overflow:hidden}.ui.multiple.dropdown{padding-block:calc(var(--_dropdown-search-padding-block) / 3);padding-inline:calc(var(--_ui-dropdown-padding-inline) / 3) var(--_ui-dropdown-icon-distance)}.ui.multiple.dropdown>.text{max-width:100%;margin-block:calc(var(--_dropdown-search-padding-block) * 2 / 3);margin-inline:calc(var(--_ui-dropdown-padding-inline) * 2 / 3) 0;line-height:var(--_ui-dropdown-line-height);padding:0;position:static}.ui.multiple.dropdown>.default.text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ui.multiple.dropdown>.label~.text{display:none}.ui.multiple.search.dropdown,.ui.multiple.search.dropdown>input.search{cursor:text}.ui.multiple.search.dropdown{isolation:isolate}.ui.multiple.search.dropdown>.text{padding:inherit;top:0;display:inline-block;position:absolute;inset-inline-start:0}.ui.multiple.search.dropdown>.default.text{z-index:-1}.ui.multiple.search.dropdown>.label~.text{display:none}.ui.multiple.search.dropdown>input.search{width:auto;min-width:2.2em;max-width:100%;height:auto;margin-block:calc(var(--_dropdown-search-padding-block) * 2 / 3);margin-inline:calc(var(--_ui-dropdown-padding-inline) * 2 / 3) 0;line-height:var(--_ui-dropdown-line-height);field-sizing:content;padding:0;position:static}.ui.multiple.dropdown>.label~input.search{margin-inline-start:.15em}.ui.inline.dropdown{color:inherit;cursor:var(--ui-control-cursor);display:inline-block}.ui.inline.dropdown>.text{font-weight:var(--ui-font-weight-bold)}.ui.inline.dropdown>.dropdown.icon{vertical-align:baseline;margin:0 .2em}.ui.inline.dropdown>.menu{--_ui-dropdown-menu-offset:.2em}.ui.dropdown.button{overflow:visible}.ui.dropdown.icon.button>.dropdown.icon{margin:0}.ui.labeled.icon.dropdown>.dropdown.icon{display:none}}@layer ui.components.dropdown.content{.ui.multiple.dropdown>.label{z-index:2;box-sizing:border-box;padding:var(--_ui-dropdown-label-padding);border-radius:var(--_ui-dropdown-label-radius);background-color:var(--ui-color-background,var(--_ui-dropdown-label-background));box-shadow:inset 0 0 0 var(--ui-border-width) var(--ui-color-border,var(--ui-border-color));color:var(--ui-color-text,var(--_ui-dropdown-label-color));font-size:.875em;font-weight:var(--ui-font-weight-semibold);vertical-align:baseline;white-space:normal;cursor:default;margin-block:.125em;margin-inline:0 .25em;line-height:1;display:inline-block;position:relative}.ui.multiple.dropdown>.label>.delete.icon{box-sizing:content-box;width:.75em;height:.75em;color:inherit;opacity:.5;vertical-align:-.05em;cursor:var(--ui-control-cursor);transition:opacity var(--_ui-dropdown-duration) var(--ui-ease);appearance:none;background:0 0;border:0;margin:0 0 0 .5em;padding:0;font-size:1em;display:inline-block}.ui.multiple.dropdown>.label>:is(img,.image){border-radius:var(--_ui-dropdown-label-radius);vertical-align:top;height:1.4em;margin-block:-.2em;margin-inline:-.4em .4em}.ui.dropdown .menu>.item{box-sizing:border-box;height:auto;padding:var(--_ui-dropdown-item-padding-block) var(--_ui-dropdown-item-padding-inline);color:var(--_ui-dropdown-item-color);font-size:1em;font-weight:var(--ui-font-weight-normal);text-align:start;text-transform:none;box-shadow:none;cursor:var(--ui-control-cursor);-webkit-touch-callout:none;border:none;line-height:1em;display:block;position:relative}.ui.dropdown .menu>.item.vertical{flex-direction:column-reverse;display:flex}.ui.dropdown .menu>.item.vertical>.text{margin-bottom:.25em}.ui.dropdown .menu>.item>.description{float:inline-end;color:var(--_ui-dropdown-description-color);margin-inline-start:1em}.ui.dropdown .menu>.item.vertical>.description{margin:0}.ui.dropdown .menu>.item mark{background:var(--ui-highlight);color:inherit}.ui.dropdown>.text :is(.icon,.icons,.label,.flag,.image,img),.ui.dropdown>.text ::slotted(:is(.icon,.icons,.label,.flag,.image,img,ui-icon)),.ui.dropdown .menu>:is(.item,.header)>:is(.icon,.icons,.label,.flag,.image,img){float:none;margin-block:0;margin-inline:0 var(--_ui-dropdown-item-element-spacing)}.ui.dropdown>.text .icon,.ui.dropdown>.text ::slotted(svg),.ui.dropdown>.text ::slotted(ui-icon),.ui.dropdown .menu>:is(.item,.header)>.icon{box-sizing:border-box;fill:currentColor;vertical-align:-.125em;width:1.18em;height:1em;display:inline-block}.ui.dropdown .menu:has(>.item>.icon){--_ui-dropdown-icon-column:1}.ui.dropdown .menu>.item:not(:has(>:is(.icon,.icons,.flag,.image,img))){padding-inline-start:calc(var(--_ui-dropdown-item-padding-inline) + var(--_ui-dropdown-icon-column) * (1.18em + var(--_ui-dropdown-item-element-spacing)))}.ui.dropdown>.text :is(img,.image:not(.icon)),.ui.dropdown>.text ::slotted(:is(img,.image:not(.icon))),.ui.dropdown .menu>:is(.item,.header)>:is(img,.image:not(.icon)){vertical-align:top;width:auto;max-height:2em;margin-block:-.5em;display:inline-block}.ui.dropdown>.text .flag,.ui.dropdown>.text ::slotted(.flag),.ui.dropdown .menu>:is(.item,.header)>.flag{font-family:var(--_ui-flag-font-family);line-height:1;display:inline-block}.ui.dropdown>.text [class*=right\\ floated],.ui.dropdown>.text ::slotted([class*=right\\ floated]),.ui.dropdown .menu>:is(.item,.header)>[class*=right\\ floated]{float:inline-end;margin-inline:1em 0}.ui.dropdown>.text [class*=left\\ floated],.ui.dropdown>.text ::slotted([class*=left\\ floated]),.ui.dropdown .menu>:is(.item,.header)>[class*=left\\ floated]{float:inline-start;margin-inline:0 1em}.ui.dropdown .menu>.header{padding:0 calc(var(--_ui-dropdown-item-padding-inline) / .8);color:var(--_ui-dropdown-header-color);font-size:var(--_ui-dropdown-header-font-size);font-weight:var(--ui-font-weight-bold);text-transform:uppercase;margin:1.25em 0 .75em}.ui.dropdown .menu>.divider{border:0;border-top:var(--ui-border-width) solid var(--_ui-dropdown-item-divider-color);height:0;margin:.5em 0}.ui.dropdown .menu>.message{padding:var(--_ui-dropdown-item-padding-block) var(--_ui-dropdown-item-padding-inline);color:var(--_ui-dropdown-message-color);font-weight:var(--ui-font-weight-normal);cursor:default}.ui.dropdown .menu>.input{min-width:10em;margin:1em .75em;display:flex}.ui.dropdown .menu>.header+.input{margin-top:0}.ui.dropdown .menu>.input>input{border:var(--ui-border-width) solid var(--_ui-dropdown-border-color);border-radius:var(--_ui-dropdown-radius);background:var(--_ui-dropdown-background);min-width:0;color:var(--_ui-dropdown-color);font:inherit;flex:auto;padding:.5em 1em}.ui.dropdown .menu>.scrolling.menu{max-height:var(--_ui-dropdown-menu-scrolling-max-height);overscroll-behavior:contain;border:none;border-top:var(--ui-border-width) solid var(--_ui-dropdown-menu-border-color);border-radius:0 0 var(--_ui-dropdown-menu-radius) var(--_ui-dropdown-menu-radius);box-shadow:none;margin:0;display:block;position:static;overflow:hidden auto}.ui.dropdown .menu>.hidden.addition.item{display:none}.ui.dropdown .menu>.stuck.addition.item:first-child{z-index:14;background:var(--_ui-dropdown-menu-background);box-shadow:var(--_ui-dropdown-menu-shadow);position:sticky;top:0}}@layer ui.components.dropdown.variations{.ui:is(.selection,.search).dropdown:not(.unlimited)>.menu{max-height:var(--_ui-dropdown-menu-max-height);overscroll-behavior:contain;overflow:hidden auto}.ui.selection.dropdown>.menu[popover]{width:anchor-size(width)}.ui.selection.dropdown>.menu:not([popover]){width:calc(100% + 2 * var(--ui-border-width));margin-inline:calc(var(--ui-border-width) * -1)}.ui.selection.dropdown .menu>.item{padding:var(--_ui-dropdown-item-padding-block) var(--_ui-dropdown-item-padding-inline);border-top:var(--ui-border-width) solid var(--_ui-dropdown-item-divider-color);white-space:normal;overflow-wrap:normal}.ui.selection.dropdown .menu>.item:first-child,.ui.selection:is(.pointing,.floating).dropdown .menu>.item:first-child{border-top:none}.ui.selection.short.dropdown>.menu{max-height:calc(var(--_ui-dropdown-menu-max-height) * .75)}.ui.selection[class*=very\\ short].dropdown>.menu{max-height:calc(var(--_ui-dropdown-menu-max-height) * .5)}.ui.selection.long.dropdown>.menu{max-height:calc(var(--_ui-dropdown-menu-max-height) * 2)}.ui.selection[class*=very\\ long].dropdown>.menu{max-height:calc(var(--_ui-dropdown-menu-max-height) * 3)}.ui.scrolling.dropdown>.menu{max-height:var(--_ui-dropdown-menu-scrolling-max-height);overscroll-behavior:contain;overflow:hidden auto}.ui.scrolling.dropdown .menu>.item{border-top:none}.ui.scrolling.resizable.dropdown>.menu,.ui.dropdown .menu>.scrolling.resizable.menu{height:var(--_ui-dropdown-menu-scrolling-max-height);resize:vertical;max-height:none}.ui.compact.dropdown{min-width:0}.ui.compact.dropdown>.menu[popover],.ui.compact.dropdown>.menu{width:max-content}.ui.compact.dropdown .menu>.item{white-space:normal}.ui.fluid.dropdown{width:100%;min-width:0;display:block}.ui.fluid.dropdown>.dropdown.icon{float:inline-end}.ui.column.dropdown>.menu{flex-wrap:wrap}.ui[class*=two\\ column].dropdown .menu>.item{width:50%}.ui[class*=three\\ column].dropdown .menu>.item{width:33.333%}.ui[class*=four\\ column].dropdown .menu>.item{width:25%}.ui[class*=five\\ column].dropdown .menu>.item{width:20%}.ui.upward.dropdown>.menu:not([popover]){top:auto;bottom:100%}.ui.upward.dropdown>.menu[popover]{position-area:block-start span-inline-end}.ui.dropdown>.left.menu:not([popover]){inset-inline:auto 0}.ui.dropdown>.left.menu[popover]{position-area:block-end span-inline-start}.ui.upward.dropdown>.left.menu[popover]{position-area:block-start span-inline-start}.ui.floating.dropdown{--_ui-dropdown-menu-offset:var(--_ui-dropdown-floating-offset);--_ui-dropdown-menu-shadow:var(--_ui-dropdown-floating-shadow)}.ui.floating.dropdown>.menu:not([popover]){margin-top:var(--_ui-dropdown-menu-offset)}.ui.upward.floating.dropdown>.menu:not([popover]){margin-top:0;margin-bottom:var(--_ui-dropdown-menu-offset)}.ui:is(.floating,.pointing).dropdown .menu>.item:first-child{border-start-start-radius:var(--_ui-dropdown-menu-radius);border-start-end-radius:var(--_ui-dropdown-menu-radius)}.ui:is(.floating,.pointing).dropdown .menu>.item:last-child{border-end-end-radius:var(--_ui-dropdown-menu-radius);border-end-start-radius:var(--_ui-dropdown-menu-radius)}.ui.pointing.dropdown{--_ui-dropdown-menu-offset:var(--_ui-dropdown-pointing-offset)}.ui.pointing.dropdown>.menu[popover]{position-area:block-end center;position-try-fallbacks:none}.ui.pointing.dropdown>.menu:not([popover]){margin-top:var(--_ui-dropdown-menu-offset)}.ui.pointing.dropdown>.menu:after{content:\"\";top:calc(var(--_ui-dropdown-arrow-size) / -2);z-index:2;width:var(--_ui-dropdown-arrow-size);height:var(--_ui-dropdown-arrow-size);margin:0 0 0 calc(var(--_ui-dropdown-arrow-size) / -2);background:var(--_ui-dropdown-menu-background);box-shadow:calc(var(--ui-border-width) * -1) calc(var(--ui-border-width) * -1) 0 0 var(--_ui-dropdown-menu-border-color);pointer-events:none;display:block;position:absolute;left:50%;rotate:45deg}.ui.pointing.dropdown>.menu:has(>.item:first-child:hover):after{background:color-mix(in oklab, var(--_ui-dropdown-menu-background), var(--_ui-dropdown-item-background-hover))}.ui[class*=\"top left pointing\"].dropdown>.menu[popover]{position-area:block-end span-inline-end}.ui[class*=\"top left pointing\"].dropdown>.menu:after{left:var(--_ui-dropdown-pointing-edge);margin:0}.ui[class*=\"top right pointing\"].dropdown>.menu[popover]{position-area:block-end span-inline-start}.ui[class*=\"top right pointing\"].dropdown>.menu:not([popover]){inset-inline:auto 0}.ui[class*=\"top right pointing\"].dropdown>.menu:after{left:auto;right:var(--_ui-dropdown-pointing-edge);margin:0}.ui[class*=left\\ pointing]:not([class*=top\\ left],[class*=bottom\\ left]).dropdown>.menu[popover]{position-area:inline-end span-block-end;margin:0 0 0 var(--_ui-dropdown-pointing-edge)}.ui[class*=right\\ pointing]:not([class*=top\\ right],[class*=bottom\\ right]).dropdown>.menu[popover]{position-area:inline-start span-block-end;margin:0 var(--_ui-dropdown-pointing-edge) 0 0}.ui[class*=left\\ pointing]:not([class*=top\\ left],[class*=bottom\\ left]).dropdown>.menu:not([popover]){margin:0 0 0 var(--_ui-dropdown-pointing-edge);top:0;left:100%;right:auto}.ui[class*=right\\ pointing]:not([class*=top\\ right],[class*=bottom\\ right]).dropdown>.menu:not([popover]){margin:0 var(--_ui-dropdown-pointing-edge) 0 0;top:0;left:auto;right:100%}.ui[class*=left\\ pointing]:not([class*=top\\ left],[class*=bottom\\ left]).dropdown>.menu:after{top:1em;left:calc(var(--_ui-dropdown-arrow-size) / -2);margin:0;rotate:-45deg}.ui[class*=right\\ pointing]:not([class*=top\\ right],[class*=bottom\\ right]).dropdown>.menu:after{top:1em;left:auto;right:calc(var(--_ui-dropdown-arrow-size) / -2);margin:0;rotate:135deg}.ui:is([class*=bottom\\ pointing],[class*=\"bottom left pointing\"],[class*=\"bottom right pointing\"],.pointing.upward).dropdown>.menu:not([popover]){margin:0 0 var(--_ui-dropdown-menu-offset);top:auto;bottom:100%}.ui:is([class*=bottom\\ pointing],.pointing.upward).dropdown>.menu[popover]{position-area:block-start center}.ui[class*=\"bottom left pointing\"].dropdown>.menu[popover]{position-area:block-start span-inline-end}.ui[class*=\"bottom right pointing\"].dropdown>.menu[popover]{position-area:block-start span-inline-start}.ui:is([class*=bottom\\ pointing],[class*=\"bottom left pointing\"],[class*=\"bottom right pointing\"],.pointing.upward).dropdown>.menu:after{top:auto;bottom:calc(var(--_ui-dropdown-arrow-size) / -2);rotate:-135deg}.ui[class*=\"bottom left pointing\"].dropdown>.menu:after{left:var(--_ui-dropdown-pointing-edge);margin:0}.ui[class*=\"bottom right pointing\"].dropdown>.menu:after{left:auto;right:var(--_ui-dropdown-pointing-edge);margin:0}.ui.simple.dropdown>.menu{visibility:hidden;opacity:0;transition:opacity var(--_ui-dropdown-duration) var(--ui-ease), visibility 0s var(--_ui-dropdown-duration);display:block}.ui.dropdown:is(.error,.info,.success,.warning),.ui.dropdown:is(.error,.info,.success,.warning)>.text{color:var(--ui-color-text)}.ui.selection.dropdown:is(.error,.info,.success,.warning){--_ui-dropdown-border-color:var(--ui-color-border);--_ui-dropdown-border-color-hover:var(--ui-color-border);--_ui-dropdown-border-color-focus:var(--ui-color-border);background:var(--ui-color-background)}.ui.dropdown:is(.error,.info,.success,.warning)>.menu{--_ui-dropdown-menu-border-color:var(--ui-color-border);--_ui-dropdown-item-color:var(--ui-color-text);--_ui-dropdown-item-background-hover:var(--ui-color-background);--_ui-dropdown-item-background-selected:var(--ui-color-background)}.ui.dropdown:is(.error,.info,.success,.warning)>.default.text{color:color-mix(in oklab, var(--ui-color-text) 60%, transparent)}.ui.inverted.dropdown{color-scheme:dark}.ui.inverted.selection.dropdown{--_ui-dropdown-border-color:oklch(from var(--ui-ink-on-dark) l c h / .15);--_ui-dropdown-border-color-hover:oklch(from var(--ui-ink-on-dark) l c h / .25)}}@layer ui.components.dropdown.states{.ui.selection.dropdown:hover{border-color:var(--_ui-dropdown-border-color-hover)}.ui.selection.dropdown:is(:focus-within,.active,:has(>.menu:popover-open)){border-color:var(--_ui-dropdown-border-color-focus)}.ui.selection.dropdown:is(:focus-within,.active,:has(>.menu:popover-open))>:is(.dropdown,.search).icon{opacity:1}.ui.selection.dropdown:is(.active,:has(>.menu:popover-open)){z-index:10}.ui.selection.dropdown:is(.active,:has(>.menu:popover-open))>.text:not(.default){color:var(--ui-text-hovered)}.ui.dropdown:has(>input.search:focus-visible){outline:var(--ui-focus-width,2px) solid var(--ui-focus-color,Highlight);outline-offset:var(--ui-focus-offset,2px)}.ui.search.dropdown:is(.active,:has(>.menu:popover-open))>input.search{cursor:auto}.ui.search.dropdown:is(.active,:has(>.menu:popover-open))>.text{pointer-events:none}.ui.search.dropdown>input.search:focus+.text{color:var(--_ui-dropdown-placeholder-focus-color)}.ui.search.dropdown>input.search:focus+.text>:is(.icon,.flag){opacity:var(--ui-disabled-opacity)}:is(.ui.dropdown>.menu[popover]:popover-open,.ui.active.dropdown>.menu:not([popover]),.ui.dropdown>.visible.menu:not([popover])){opacity:1;display:block}:is(.ui.column.dropdown>.menu[popover]:popover-open,.ui.column.active.dropdown>.menu:not([popover]),.ui.column.dropdown>.visible.menu:not([popover])){display:flex}@starting-style{.ui.dropdown>.menu[popover]:popover-open{opacity:0}}.ui.simple.dropdown:is(:hover,:focus-within,.active)>.menu{visibility:visible;opacity:1;transition-delay:0s}.ui.dropdown .menu>.item:hover{z-index:13;background:var(--_ui-dropdown-item-background-hover);color:var(--_ui-dropdown-item-color-hover)}.ui.dropdown .menu>.selected.item{background:var(--_ui-dropdown-item-background-selected);color:var(--_ui-dropdown-item-color-hover)}.ui.dropdown .menu>:is(.active,[aria-selected=true]).item{z-index:12;color:var(--_ui-dropdown-item-color-hover);font-weight:var(--_ui-dropdown-item-font-weight-active)}.ui.dropdown .menu>:is(.disabled,[aria-disabled=true]).item{cursor:default;opacity:var(--_ui-dropdown-disabled-opacity);pointer-events:none}.ui.dropdown .menu>.filtered.item{display:none}.ui.dropdown>.remove.icon:hover,.ui.multiple.dropdown>.label>.delete.icon:hover{opacity:1}.ui.loading.dropdown>.dropdown.icon:before,.ui.loading.dropdown>.dropdown.icon:after{content:\"\";box-sizing:border-box;border:var(--_ui-dropdown-loader-width) solid transparent;border-radius:var(--ui-radius-circle);clip-path:none;background:0 0;width:1.1em;height:1.1em;margin:-.55em 0 0 -.55em;position:absolute;top:50%;left:50%}.ui.loading.dropdown>.dropdown.icon:before{border-color:color-mix(in oklab, currentColor 20%, transparent)}.ui.loading.dropdown>.dropdown.icon:after{animation:ui-dropdown-spin var(--_ui-dropdown-loader-speed) linear infinite;border-top-color:currentColor}.ui.loading.dropdown>.dropdown.icon>*{visibility:hidden}.ui.loading.dropdown>.remove.icon{display:none}.ui.disabled.dropdown{cursor:default;opacity:var(--_ui-dropdown-disabled-opacity);pointer-events:none}.ui.read-only.dropdown{cursor:default;pointer-events:none}.ui:is(.disabled,.read-only).dropdown>.remove.icon,.ui:is(.disabled,.read-only).dropdown>.label>.delete.icon{display:none}}@keyframes ui-dropdown-spin{to{rotate:1turn}}", ke = /* @__PURE__ */ L("<span aria-hidden=true>"), Ae = /* @__PURE__ */ L("<button type=button>"), W = /* @__PURE__ */ L("<slot>"), je = /* @__PURE__ */ L("<div><!><!><span><slot></slot></span><span></span><!><!>"), Me = /* @__PURE__ */ L("<slot hidden>"), Ne = /* @__PURE__ */ L("<button>"), Pe = /* @__PURE__ */ L("<input>"), Fe = /* @__PURE__ */ L("<button type=button tabindex=-1>"), Ie = /* @__PURE__ */ L("<span><!><!>"), G = /* @__PURE__ */ L("<span>"), Le = /* @__PURE__ */ L("<input type=hidden>"), Re = /* @__PURE__ */ L("<div role=option aria-disabled=true aria-selected=false>"), ze = /* @__PURE__ */ L("<div role=listbox><slot>"), Be = /* @__PURE__ */ L("<div role=option>"), Ve = /* @__PURE__ */ L("<img alt>"), He = /* @__PURE__ */ L("<mark>"), Ue = /* @__PURE__ */ L("<div role=option aria-selected=false><b></b><!>"), We = /* @__PURE__ */ L("<hr role=presentation>"), Ge = /* @__PURE__ */ L("<div role=presentation>"), Ke, K, qe, Je, Ye, Xe, Ze, Qe, $e, et, tt, nt, rt, it, at, ot, st, ct, lt, ut, dt, ft, pt, mt, q, J, Y, X, Z, Q, $ = class _UIDropdown extends (q = ye, mt = [y], pt = [me], ft = [y], dt = [y], ut = [he], lt = [_({ equals: v })], ct = [_], st = [g("value")], ot = [_({ equals: v })], at = [_], it = [b], rt = [b], nt = [he], tt = [b], et = [_], $e = [_({ equals: v })], Qe = [fe("isOpen", "highlightedOption")], Ze = [oe("open"), g("open")], Xe = [b], Ye = [fe("isOpen", "isConnected", "isReady")], Je = [de("command")], qe = [b], K = [b], Ke = [b], q) {
|
|
526
528
|
constructor() {
|
|
527
|
-
super(...arguments),
|
|
529
|
+
super(...arguments), m(J, 5, this), o(this, "items", new S(this.domElement)), o(this, "slots", new ne(this.domElement)), h(this, Y, m(J, 8, this, [])), m(J, 11, this), o(this, "keys", /* @__PURE__ */ new WeakMap()), h(this, X, m(J, 12, this, this.items.selectedValue(!!this.multiple))), m(J, 15, this), o(this, "initialValue", this.isControlledByPage("value") ? this.value : void 0), h(this, Z, m(J, 16, this, "")), m(J, 19, this), o(this, "typedSoFar", ""), o(this, "typeAheadTimer"), o(this, "highlighted", new be(() => this.visibleOptions.options)), o(this, "optionIds", /* @__PURE__ */ new WeakMap()), h(this, Q, m(J, 20, this, !1)), m(J, 23, this), o(this, "popover", new f({
|
|
528
530
|
component: this,
|
|
529
531
|
member: "isOpen",
|
|
530
532
|
restoreFocus: !1,
|
|
531
|
-
canChange: /* @__PURE__ */
|
|
532
|
-
onChange: /* @__PURE__ */
|
|
533
|
-
})),
|
|
533
|
+
canChange: /* @__PURE__ */ n((e) => !e || !(this.isDisabled || this.readonly), "canChange"),
|
|
534
|
+
onChange: /* @__PURE__ */ n((e) => this.onOpenedOrClosed(e), "onChange")
|
|
535
|
+
})), o(this, "ids", {
|
|
534
536
|
menu: "",
|
|
535
537
|
text: ""
|
|
536
|
-
}),
|
|
538
|
+
}), o(this, "combobox"), o(this, "menu"), o(this, "onTriggerClick", m(J, 40, this, /* @__PURE__ */ n((e) => {
|
|
537
539
|
e.detail > 0 && this.combobox?.focus({ preventScroll: !0 }), !(this.search && this.isOpen) && this.requestOpen(!this.isOpen, e);
|
|
538
|
-
}, "onTriggerClick"))),
|
|
540
|
+
}, "onTriggerClick"))), m(J, 43, this), o(this, "onRootClick", m(J, 44, this, /* @__PURE__ */ n((e) => {
|
|
539
541
|
let t = e.composedPath()[0];
|
|
540
542
|
this.search && t !== this.combobox && !this.menu?.contains(t) && (t.closest?.("button") || (this.combobox?.focus(), this.requestOpen(!this.isOpen, e)));
|
|
541
|
-
}, "onRootClick"))),
|
|
543
|
+
}, "onRootClick"))), m(J, 47, this), o(this, "onClear", /* @__PURE__ */ n((e) => {
|
|
542
544
|
e.stopPropagation(), this.commit([], e);
|
|
543
|
-
}, "onClear")),
|
|
545
|
+
}, "onClear")), o(this, "onInput", /* @__PURE__ */ n((e) => {
|
|
544
546
|
let t = e.currentTarget.value;
|
|
545
547
|
this.query = t, this.requestOpen(!0, e), this.highlighted.index = 0, this.send("ui-searched", {
|
|
546
548
|
query: t,
|
|
547
549
|
originalEvent: e
|
|
548
550
|
});
|
|
549
|
-
}, "onInput")),
|
|
551
|
+
}, "onInput")), o(this, "onBlur", /* @__PURE__ */ n((e) => {
|
|
550
552
|
let t = e.relatedTarget;
|
|
551
553
|
if (t && (this.domElement.contains(t) || this.domElement.renderRoot.contains(t))) return;
|
|
552
554
|
let n = this.domElement.id;
|
|
553
|
-
n && t?.closest?.(`[commandfor="${CSS.escape(n)}"]`) || this.isReady &&
|
|
554
|
-
}, "onBlur")),
|
|
555
|
+
n && t?.closest?.(`[commandfor="${CSS.escape(n)}"]`) || this.isReady && p.overlays.pressedInvokerOf(this.domElement) || this.requestOpen(!1, e);
|
|
556
|
+
}, "onBlur")), o(this, "onKeyDown", m(J, 48, this, /* @__PURE__ */ n((e) => {
|
|
555
557
|
if (this.isDisabled || e.defaultPrevented) return;
|
|
556
558
|
let t = this.isOpen, { key: n } = e;
|
|
557
559
|
switch (n) {
|
|
558
|
-
case
|
|
559
|
-
case
|
|
560
|
-
e.preventDefault(), t ? this.highlighted.move(n ===
|
|
560
|
+
case a.arrowDown:
|
|
561
|
+
case a.arrowUp:
|
|
562
|
+
e.preventDefault(), t ? this.highlighted.move(n === a.arrowDown ? 1 : -1) : this.requestOpen(!0, e);
|
|
561
563
|
return;
|
|
562
|
-
case
|
|
563
|
-
case
|
|
564
|
+
case a.home:
|
|
565
|
+
case a.end:
|
|
564
566
|
if (!t) return;
|
|
565
|
-
e.preventDefault(), this.highlighted.moveTo(n ===
|
|
567
|
+
e.preventDefault(), this.highlighted.moveTo(n === a.home ? "first" : "last");
|
|
566
568
|
return;
|
|
567
|
-
case
|
|
568
|
-
case
|
|
569
|
+
case a.pageDown:
|
|
570
|
+
case a.pageUp:
|
|
569
571
|
if (!t) return;
|
|
570
|
-
e.preventDefault(), this.highlighted.move(n ===
|
|
572
|
+
e.preventDefault(), this.highlighted.move(n === a.pageDown ? this.pageSize : -this.pageSize);
|
|
571
573
|
return;
|
|
572
|
-
case
|
|
574
|
+
case a.enter: {
|
|
573
575
|
if (!t) {
|
|
574
576
|
this.search && this.requestOpen(!0, e);
|
|
575
577
|
return;
|
|
@@ -579,24 +581,24 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
579
581
|
r && this.select(r, e);
|
|
580
582
|
return;
|
|
581
583
|
}
|
|
582
|
-
case
|
|
584
|
+
case a.space: {
|
|
583
585
|
if (this.search || !t) return;
|
|
584
586
|
e.preventDefault();
|
|
585
587
|
let n = this.highlightedOption;
|
|
586
588
|
n && this.select(n, e);
|
|
587
589
|
return;
|
|
588
590
|
}
|
|
589
|
-
case
|
|
591
|
+
case a.tab:
|
|
590
592
|
t && this.requestOpen(!1, e);
|
|
591
593
|
return;
|
|
592
|
-
case
|
|
594
|
+
case a.backspace: {
|
|
593
595
|
let t = this.chosenValues;
|
|
594
596
|
this.search && this.multiple && !this.query && t.length && this.remove(t.at(-1), e);
|
|
595
597
|
return;
|
|
596
598
|
}
|
|
597
599
|
}
|
|
598
600
|
!this.search && n.length === 1 && !e.ctrlKey && !e.metaKey && !e.altKey && (e.preventDefault(), this.typeAhead(n, e));
|
|
599
|
-
}, "onKeyDown"))),
|
|
601
|
+
}, "onKeyDown"))), m(J, 51, this);
|
|
600
602
|
}
|
|
601
603
|
get propertyOptions() {
|
|
602
604
|
let e = this.options;
|
|
@@ -678,7 +680,7 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
678
680
|
return this.search ? this.query : "";
|
|
679
681
|
}
|
|
680
682
|
typeAhead(e, t) {
|
|
681
|
-
this.typeAheadTimer?.cancel(), this.typedSoFar += e, this.typeAheadTimer =
|
|
683
|
+
this.typeAheadTimer?.cancel(), this.typedSoFar += e, this.typeAheadTimer = ae(this.typeAheadDelay / 1e3, () => this.typedSoFar = ""), this.isOpen || this.requestOpen(!0, t);
|
|
682
684
|
let n = this.visibleOptions.selectionForKey(this.typedSoFar, this.highlighted.index);
|
|
683
685
|
n >= 0 && (this.highlighted.index = n);
|
|
684
686
|
}
|
|
@@ -728,11 +730,11 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
728
730
|
}
|
|
729
731
|
render() {
|
|
730
732
|
this.ids = {
|
|
731
|
-
menu:
|
|
732
|
-
text:
|
|
733
|
+
menu: p.ids.next(gt),
|
|
734
|
+
text: p.ids.next(gt)
|
|
733
735
|
};
|
|
734
736
|
let e = this;
|
|
735
|
-
var t =
|
|
737
|
+
var t = je(), n = t.firstChild, r = n.nextSibling, i = r.nextSibling, a = i.firstChild, o = i.nextSibling, s = o.nextSibling, c = s.nextSibling;
|
|
736
738
|
return T(t, "click", e.onRootClick, !0), A(t, D(w, {
|
|
737
739
|
get when() {
|
|
738
740
|
return e.multiple;
|
|
@@ -758,7 +760,7 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
758
760
|
return e.multiple;
|
|
759
761
|
},
|
|
760
762
|
get children() {
|
|
761
|
-
var t =
|
|
763
|
+
var t = ke();
|
|
762
764
|
return A(t, () => e.query), O(() => N(Tt), (e, n) => {
|
|
763
765
|
E(t, e, n);
|
|
764
766
|
}), t;
|
|
@@ -777,7 +779,7 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
777
779
|
return M(() => !!(e.clearable && e.chosenValues.length))() ? !e.readonly : e.clearable && e.chosenValues.length;
|
|
778
780
|
},
|
|
779
781
|
get children() {
|
|
780
|
-
var t =
|
|
782
|
+
var t = Ae();
|
|
781
783
|
return T(t, "click", e.onClear, !0), O(() => ({
|
|
782
784
|
e: N(Dt),
|
|
783
785
|
t: e.partForName("clear"),
|
|
@@ -791,19 +793,19 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
791
793
|
return e.slots.hasContent(e.slotForName("icon"));
|
|
792
794
|
},
|
|
793
795
|
get children() {
|
|
794
|
-
var t =
|
|
796
|
+
var t = W();
|
|
795
797
|
return t._$owner = k(), O(() => e.slotForName("icon"), (e) => {
|
|
796
798
|
F(t, "name", e);
|
|
797
799
|
}), t;
|
|
798
800
|
}
|
|
799
801
|
})), A(t, () => e.listbox(), s), A(t, () => j ? e.staticValues() : (() => {
|
|
800
|
-
var e =
|
|
802
|
+
var e = Me();
|
|
801
803
|
return e._$owner = k(), e;
|
|
802
804
|
})(), c), O(() => ({
|
|
803
805
|
e: N(e.rootClass),
|
|
804
806
|
t: N(e.popover.anchorStyle),
|
|
805
807
|
a: e.ids.text,
|
|
806
|
-
o: N([
|
|
808
|
+
o: N([x, {
|
|
807
809
|
[vt]: e.placeholderIsShowing,
|
|
808
810
|
[yt]: !!e.effectiveQuery
|
|
809
811
|
}]),
|
|
@@ -812,7 +814,7 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
812
814
|
s: N(Ot),
|
|
813
815
|
h: e.partForName("icon")
|
|
814
816
|
}), ({ e, t: n, a: r, o: s, i: c, n: l, s: u, h: d }, f) => {
|
|
815
|
-
E(t, e, f?.e),
|
|
817
|
+
E(t, e, f?.e), I(t, n, f?.t), r !== f?.a && F(i, "id", r), E(i, s, f?.o), c !== f?.i && F(i, "part", c), l !== f?.n && F(a, "name", l), E(o, u, f?.s), d !== f?.h && F(o, "part", d);
|
|
816
818
|
}), t;
|
|
817
819
|
}
|
|
818
820
|
get fallbackName() {
|
|
@@ -826,31 +828,31 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
826
828
|
return !this.chosenValues.length && this.label === void 0;
|
|
827
829
|
}
|
|
828
830
|
get opensLeft() {
|
|
829
|
-
return String(this.direction ?? "").split(
|
|
831
|
+
return String(this.direction ?? "").split(re).includes(c);
|
|
830
832
|
}
|
|
831
833
|
get isSimple() {
|
|
832
|
-
return String(this.appearance ?? "").split(
|
|
834
|
+
return String(this.appearance ?? "").split(re).includes(Et);
|
|
833
835
|
}
|
|
834
836
|
get comboboxAttributes() {
|
|
835
|
-
let
|
|
837
|
+
let t = this.highlightedOption;
|
|
836
838
|
return {
|
|
837
839
|
role: "combobox",
|
|
838
840
|
"aria-expanded": this.popover.ariaExpanded,
|
|
839
841
|
"aria-controls": this.ids.menu,
|
|
840
842
|
"aria-haspopup": "listbox",
|
|
841
|
-
"aria-activedescendant": this.isOpen &&
|
|
843
|
+
"aria-activedescendant": this.isOpen && t ? this.idFor(t) : void 0,
|
|
842
844
|
"aria-label": this.accessibleName,
|
|
843
845
|
"aria-describedby": this.ids.text,
|
|
844
846
|
"aria-busy": this.loading ? "true" : void 0,
|
|
845
847
|
"aria-readonly": this.readonly ? "true" : void 0,
|
|
846
848
|
"aria-required": this.required ? "true" : void 0,
|
|
847
849
|
"aria-invalid": this.validation.valid ? void 0 : "true",
|
|
848
|
-
[
|
|
850
|
+
[e]: j ? "" : void 0
|
|
849
851
|
};
|
|
850
852
|
}
|
|
851
853
|
trigger() {
|
|
852
854
|
let e = this;
|
|
853
|
-
var t =
|
|
855
|
+
var t = Ne();
|
|
854
856
|
return we(t, [
|
|
855
857
|
{
|
|
856
858
|
type: "button",
|
|
@@ -878,7 +880,7 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
878
880
|
}
|
|
879
881
|
searchInput() {
|
|
880
882
|
let e = this;
|
|
881
|
-
var t =
|
|
883
|
+
var t = Pe();
|
|
882
884
|
return we(t, [
|
|
883
885
|
{
|
|
884
886
|
class: wt,
|
|
@@ -916,13 +918,13 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
916
918
|
}
|
|
917
919
|
chip(e) {
|
|
918
920
|
let t = this;
|
|
919
|
-
var n =
|
|
921
|
+
var n = Ie(), r = n.firstChild, i = r.nextSibling;
|
|
920
922
|
return A(n, () => t.textFor(e), r), A(n, D(w, {
|
|
921
923
|
get when() {
|
|
922
924
|
return M(() => !t.readonly)() && !t.isDisabled;
|
|
923
925
|
},
|
|
924
926
|
get children() {
|
|
925
|
-
var n =
|
|
927
|
+
var n = Fe();
|
|
926
928
|
return n._$$click = (n) => t.remove(e, n), O(() => ({
|
|
927
929
|
e: N(At),
|
|
928
930
|
t: t.translationForKey("removeValue", { value: t.textFor(e) })
|
|
@@ -940,21 +942,21 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
940
942
|
labeledIcon() {
|
|
941
943
|
return this.iconBox(this.icon);
|
|
942
944
|
}
|
|
943
|
-
iconBox(
|
|
944
|
-
let
|
|
945
|
+
iconBox(e) {
|
|
946
|
+
let r = this;
|
|
945
947
|
if (j) return (() => {
|
|
946
|
-
var
|
|
947
|
-
return A(
|
|
948
|
-
owner:
|
|
949
|
-
name: /* @__PURE__ */
|
|
950
|
-
}).svg), O(() => N(
|
|
951
|
-
E(
|
|
952
|
-
}),
|
|
948
|
+
var i = G();
|
|
949
|
+
return A(i, () => new s({
|
|
950
|
+
owner: r,
|
|
951
|
+
name: /* @__PURE__ */ n(() => e, "name")
|
|
952
|
+
}).svg), O(() => N(t), (e, t) => {
|
|
953
|
+
E(i, e, t);
|
|
954
|
+
}), i;
|
|
953
955
|
})();
|
|
954
|
-
var
|
|
955
|
-
return P(() => (
|
|
956
|
-
E(
|
|
957
|
-
}),
|
|
956
|
+
var i = G();
|
|
957
|
+
return P(() => (t) => void _UIDropdown.fillIcon(t, e), i), O(() => N(t), (e, t) => {
|
|
958
|
+
E(i, e, t);
|
|
959
|
+
}), i;
|
|
958
960
|
}
|
|
959
961
|
staticValues() {
|
|
960
962
|
let e = this;
|
|
@@ -967,7 +969,7 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
967
969
|
return e.chosenValues;
|
|
968
970
|
},
|
|
969
971
|
children: (n) => (() => {
|
|
970
|
-
var r =
|
|
972
|
+
var r = Le();
|
|
971
973
|
return r.value = n ?? "", O(() => ({
|
|
972
974
|
e: t(),
|
|
973
975
|
t: e.isDisabled
|
|
@@ -980,7 +982,7 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
980
982
|
}
|
|
981
983
|
listbox() {
|
|
982
984
|
let e = this;
|
|
983
|
-
var t =
|
|
985
|
+
var t = ze(), n = t.firstChild;
|
|
984
986
|
return T(t, "mousedown", _UIDropdown.preventDefault, !0), P(() => (t) => e.menu = t, t), n._$owner = k(), A(t, D(w, {
|
|
985
987
|
get when() {
|
|
986
988
|
return e.isOpen || e.isSimple || j;
|
|
@@ -996,8 +998,8 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
996
998
|
return !e.visibleOptions.length;
|
|
997
999
|
},
|
|
998
1000
|
get children() {
|
|
999
|
-
var t =
|
|
1000
|
-
return A(t, () => e.noResultsText ?? e.translationForKey("noResults")), O(() => N(
|
|
1001
|
+
var t = Re();
|
|
1002
|
+
return A(t, () => e.noResultsText ?? e.translationForKey("noResults")), O(() => N(ee), (e, n) => {
|
|
1001
1003
|
E(t, e, n);
|
|
1002
1004
|
}), t;
|
|
1003
1005
|
}
|
|
@@ -1013,29 +1015,29 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
1013
1015
|
s: e.multiple ? "true" : void 0,
|
|
1014
1016
|
h: e.slotForName("header")
|
|
1015
1017
|
}), ({ e, t: r, a: i, o: a, i: o, n: s, s: c, h: l }, u) => {
|
|
1016
|
-
e !== u?.e && F(t, "id", e), E(t, r, u?.t),
|
|
1018
|
+
e !== u?.e && F(t, "id", e), E(t, r, u?.t), I(t, i, u?.a), a !== u?.o && F(t, "popover", a), o !== u?.i && F(t, "part", o), s !== u?.n && F(t, "aria-label", s), c !== u?.s && F(t, "aria-multiselectable", c), l !== u?.h && F(n, "name", l);
|
|
1017
1019
|
}), t;
|
|
1018
1020
|
}
|
|
1019
1021
|
row(e) {
|
|
1020
1022
|
if ("type" in e) return this.separator(e);
|
|
1021
1023
|
if ("addition" in e) return this.addition(e);
|
|
1022
1024
|
let t = e, n = this.items.slots.get(t), r = this;
|
|
1023
|
-
var i =
|
|
1025
|
+
var i = Be();
|
|
1024
1026
|
return i._$$click = (e) => r.select(t, e), i._$$pointermove = () => r.highlighted.highlight(t), A(i, D(w, {
|
|
1025
1027
|
when: n,
|
|
1026
1028
|
get fallback() {
|
|
1027
1029
|
return r.optionContent(t);
|
|
1028
1030
|
},
|
|
1029
1031
|
get children() {
|
|
1030
|
-
var e =
|
|
1032
|
+
var e = W();
|
|
1031
1033
|
return F(e, "name", n), e._$owner = k(), e;
|
|
1032
1034
|
}
|
|
1033
1035
|
})), O(() => ({
|
|
1034
1036
|
e: r.idFor(t),
|
|
1035
1037
|
t: N([u, {
|
|
1036
|
-
[
|
|
1037
|
-
[
|
|
1038
|
-
[
|
|
1038
|
+
[ue]: r.chosenValueSet.has(t.value),
|
|
1039
|
+
[ie]: r.highlightedOption === t,
|
|
1040
|
+
[se]: !!t.disabled
|
|
1039
1041
|
}]),
|
|
1040
1042
|
a: r.partForName("item"),
|
|
1041
1043
|
o: r.chosenValueSet.has(t.value) ? "true" : "false",
|
|
@@ -1060,7 +1062,7 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
1060
1062
|
return typeof e.image == "string";
|
|
1061
1063
|
},
|
|
1062
1064
|
get children() {
|
|
1063
|
-
var t =
|
|
1065
|
+
var t = Ve();
|
|
1064
1066
|
return O(() => ({
|
|
1065
1067
|
e: N(jt),
|
|
1066
1068
|
t: e.image
|
|
@@ -1074,8 +1076,8 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
1074
1076
|
return typeof e.flag == "string";
|
|
1075
1077
|
},
|
|
1076
1078
|
get children() {
|
|
1077
|
-
var t =
|
|
1078
|
-
return A(t, () =>
|
|
1079
|
+
var t = G();
|
|
1080
|
+
return A(t, () => _e.emojiFor(e.flag) || e.flag), O(() => N(Mt), (e, n) => {
|
|
1079
1081
|
E(t, e, n);
|
|
1080
1082
|
}), t;
|
|
1081
1083
|
}
|
|
@@ -1085,15 +1087,15 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
1085
1087
|
return e.description;
|
|
1086
1088
|
},
|
|
1087
1089
|
get children() {
|
|
1088
|
-
var t =
|
|
1089
|
-
return A(t, () => e.description), O(() => N(
|
|
1090
|
+
var t = G();
|
|
1091
|
+
return A(t, () => e.description), O(() => N(pe), (e, n) => {
|
|
1090
1092
|
E(t, e, n);
|
|
1091
1093
|
}), t;
|
|
1092
1094
|
}
|
|
1093
1095
|
}),
|
|
1094
1096
|
(() => {
|
|
1095
|
-
var n =
|
|
1096
|
-
return A(n, () => t.markedText(e)), O(() => N(
|
|
1097
|
+
var n = G();
|
|
1098
|
+
return A(n, () => t.markedText(e)), O(() => N(x), (e, t) => {
|
|
1097
1099
|
E(n, e, t);
|
|
1098
1100
|
}), n;
|
|
1099
1101
|
})()
|
|
@@ -1101,20 +1103,20 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
1101
1103
|
}
|
|
1102
1104
|
markedText(e) {
|
|
1103
1105
|
let t = this.effectiveQuery;
|
|
1104
|
-
return t ?
|
|
1105
|
-
var t =
|
|
1106
|
+
return t ? le(e.text, this.visibleOptions.highlights(e, t)).map((e) => e.isMarked ? (() => {
|
|
1107
|
+
var t = He();
|
|
1106
1108
|
return A(t, () => e.text), t;
|
|
1107
1109
|
})() : e.text) : e.text;
|
|
1108
1110
|
}
|
|
1109
1111
|
addition(e) {
|
|
1110
1112
|
let [t = "", n = ""] = (this.additionText ?? this.translationForKey("addItem")).split(_t), r = this;
|
|
1111
|
-
var i =
|
|
1113
|
+
var i = Ue(), a = i.firstChild, o = a.nextSibling;
|
|
1112
1114
|
return i._$$click = (t) => r.select(e, t), i._$$pointermove = () => r.highlighted.highlight(e), A(i, t, a), A(a, () => e.text), A(i, n, o), O(() => ({
|
|
1113
1115
|
e: r.idFor(e),
|
|
1114
1116
|
t: N([
|
|
1115
1117
|
u,
|
|
1116
1118
|
xt,
|
|
1117
|
-
{ [
|
|
1119
|
+
{ [ie]: r.highlightedOption === e }
|
|
1118
1120
|
]),
|
|
1119
1121
|
a: r.partForName("item")
|
|
1120
1122
|
}), ({ e, t, a: n }, r) => {
|
|
@@ -1123,20 +1125,20 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
1123
1125
|
}
|
|
1124
1126
|
separator(e) {
|
|
1125
1127
|
return e.type === St ? (() => {
|
|
1126
|
-
var e =
|
|
1128
|
+
var e = We();
|
|
1127
1129
|
return O(() => N(St), (t, n) => {
|
|
1128
1130
|
E(e, t, n);
|
|
1129
1131
|
}), e;
|
|
1130
1132
|
})() : (() => {
|
|
1131
|
-
var t =
|
|
1132
|
-
return A(t, () => e.text), O(() => N(
|
|
1133
|
+
var t = Ge();
|
|
1134
|
+
return A(t, () => e.text), O(() => N(i), (e, n) => {
|
|
1133
1135
|
E(t, e, n);
|
|
1134
1136
|
}), t;
|
|
1135
1137
|
})();
|
|
1136
1138
|
}
|
|
1137
1139
|
onCommand(e) {
|
|
1138
1140
|
if (this.isDisabled || this.readonly) return;
|
|
1139
|
-
let t =
|
|
1141
|
+
let t = ce.action(e, this.isOpen);
|
|
1140
1142
|
t === "show" ? (this.combobox?.focus({ preventScroll: !0 }), this.requestOpen(!0, e)) : t === "close" && this.requestOpen(!1, e);
|
|
1141
1143
|
}
|
|
1142
1144
|
static isOption(e) {
|
|
@@ -1147,20 +1149,20 @@ var Ee = H, De = "select", Oe = "ui-changed", ke = "@layer ui.components.dropdow
|
|
|
1147
1149
|
}
|
|
1148
1150
|
static async fillIcon(e, t) {
|
|
1149
1151
|
if (t) try {
|
|
1150
|
-
let n =
|
|
1151
|
-
r && e.replaceChildren(
|
|
1152
|
+
let n = s.packsFor(e, (await p.load()).icons), r = n.peek(t) ?? await n.get(t);
|
|
1153
|
+
r && e.replaceChildren(s.draw(r));
|
|
1152
1154
|
} catch {}
|
|
1153
1155
|
}
|
|
1154
1156
|
};
|
|
1155
|
-
J =
|
|
1157
|
+
J = ve(q), Y = /* @__PURE__ */ new WeakMap(), X = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), Q = /* @__PURE__ */ new WeakMap(), l(J, 4, "addedOptions", ut, $, Y), l(J, 2, "allOptions", lt, $), l(J, 2, "optionsByValue", ct, $), l(J, 4, "value", st, $, X), l(J, 2, "chosenValues", ot, $), l(J, 2, "chosenValueSet", at, $), l(J, 1, "select", it, $), l(J, 1, "remove", rt, $), l(J, 4, "query", nt, $, Z), l(J, 1, "typeAhead", tt, $), l(J, 2, "visibleOptions", et, $), l(J, 2, "menuRows", $e, $), l(J, 1, "onHighlightChanged", Qe, $), l(J, 4, "isOpen", Ze, $, Q), l(J, 1, "onOpenedOrClosed", Xe, $), l(J, 1, "onOpenChanged", Ye, $), l(J, 1, "onCommand", Je, $), l(J, 13, "vocabulary", mt, $), l(J, 13, "elementSetup", pt, $), l(J, 13, "pageSize", ft, $), l(J, 13, "typeAheadDelay", dt, $), l(J, 5, "onTriggerClick", qe, $), l(J, 5, "onRootClick", K, $), l(J, 5, "onKeyDown", Ke, $), te(J, $), n($, "UIDropdown"), o($, "vocabulary", m(J, 24, $, R)), m(J, 27, $), o($, "elementSetup", m(J, 28, $, {
|
|
1156
1158
|
styleSheets: {
|
|
1157
1159
|
button: Se,
|
|
1158
|
-
dropdown:
|
|
1160
|
+
dropdown: Oe
|
|
1159
1161
|
},
|
|
1160
1162
|
cssStates: ["fluid"],
|
|
1161
|
-
Fallback:
|
|
1163
|
+
Fallback: Te,
|
|
1162
1164
|
loading: "its own"
|
|
1163
|
-
})),
|
|
1165
|
+
})), m(J, 31, $), o($, "pageSize", m(J, 32, $, 10)), m(J, 35, $), o($, "typeAheadDelay", m(J, 36, $, 500)), m(J, 39, $), o($, "optionCounter", 0);
|
|
1164
1166
|
var ht = $, gt = "ui-dropdown", _t = "{value}", vt = "default", yt = "filtered", bt = "menu", xt = "addition", St = "divider", Ct = "trigger", wt = "search", Tt = "sizer", Et = "simple", Dt = "remove icon", Ot = "dropdown icon", kt = "ui label", At = "delete icon", jt = "ui avatar image", Mt = "flag";
|
|
1165
1167
|
//#endregion
|
|
1166
1168
|
//#region src/components/ui-dropdown/index.ts
|