spell-ui 0.8.8 → 0.8.10
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 +9 -3
- package/README-frameworks.md +5 -5
- package/README-migrating.md +2 -2
- package/README.md +5 -5
- package/dist/{CodeEngine-GL9EzwF1.js → CodeEngine-B684vKxR.js} +39 -100
- package/dist/{CodeEngine-GL9EzwF1.js.map → CodeEngine-B684vKxR.js.map} +1 -1
- package/dist/{Dragging-CMZoLEWQ.js → Dragging-B93hbRxF.js} +17 -15
- package/dist/Dragging-B93hbRxF.js.map +1 -0
- package/dist/{MarkdownEngine-CW1WGqNp.js → MarkdownEngine-D1jqcFeU.js} +11 -72
- package/dist/{MarkdownEngine-CW1WGqNp.js.map → MarkdownEngine-D1jqcFeU.js.map} +1 -1
- package/dist/MarkdownSanitizer-CqsWivYJ.js +866 -0
- package/dist/MarkdownSanitizer-CqsWivYJ.js.map +1 -0
- package/dist/{PrefStore-Qv0e5y04.js → PrefStore-Di83C0bY.js} +13 -9
- package/dist/PrefStore-Di83C0bY.js.map +1 -0
- package/dist/ScrollingRow-DkOtx2QK.js +89 -0
- package/dist/ScrollingRow-DkOtx2QK.js.map +1 -0
- package/dist/{SitePages-CciwREek.js → SitePages-B3zd5Zgu.js} +37 -10
- package/dist/SitePages-B3zd5Zgu.js.map +1 -0
- package/dist/SlottedItems-DWfAZYqM.js +88 -0
- package/dist/SlottedItems-DWfAZYqM.js.map +1 -0
- package/dist/{TemporalPolyfill-D9mr7_wA.js → TemporalPolyfill-Bv_c_xa0.js} +7 -12
- package/dist/{TemporalPolyfill-D9mr7_wA.js.map → TemporalPolyfill-Bv_c_xa0.js.map} +1 -1
- package/dist/{ThemeDraft-B7NPif4d.js → ThemeDraft-CyX3YA_L.js} +41 -43
- package/dist/{ThemeDraft-B7NPif4d.js.map → ThemeDraft-CyX3YA_L.js.map} +1 -1
- package/dist/{TreeMeasure-BVJeGb1L.js → TreeMeasure-BK74uexu.js} +3 -4
- package/dist/{TreeMeasure-BVJeGb1L.js.map → TreeMeasure-BK74uexu.js.map} +1 -1
- package/dist/UIButton-BmIiXYDC.js +5 -0
- package/dist/UIButton-BmIiXYDC.js.map +1 -0
- package/dist/UIGrid-2ZUA1YEc.js +200 -0
- package/dist/UIGrid-2ZUA1YEc.js.map +1 -0
- package/dist/{UIInput-BodVbUoQ.js → UIInput-B3K0w4ow.js} +2 -3
- package/dist/UIInput-B3K0w4ow.js.map +1 -0
- package/dist/{UIKeys-Rh_gUZjP.js → UIKeys-DmXvyJuU.js} +12 -12
- package/dist/UIKeys-DmXvyJuU.js.map +1 -0
- package/dist/{UILabel-DgJUBzB_.js → UILabel-pCjKxQlQ.js} +2 -3
- package/dist/UILabel-pCjKxQlQ.js.map +1 -0
- package/dist/UIMenu-CqURPocK.js +42 -0
- package/dist/UIMenu-CqURPocK.js.map +1 -0
- package/dist/{UIRuntime-KH309p5B.js → UIRuntime-BXutHphM.js} +253 -239
- package/dist/UIRuntime-BXutHphM.js.map +1 -0
- package/dist/{UISegment-CMMIW7cZ.js → UISegment-BF4Tgy2D.js} +2 -3
- package/dist/UISegment-BF4Tgy2D.js.map +1 -0
- package/dist/_spell-element/UIComponent.d.ts +8 -0
- package/dist/_spell-element/vocabulary.types.d.ts +20 -2
- package/dist/_util/Dragging.d.ts +14 -2
- package/dist/_util/dom.d.ts +12 -8
- package/dist/_util/measures/Dimension.d.ts +1 -1
- package/dist/_util/persist/PrefStore.d.ts +7 -2
- package/dist/_util/persist/persist.types.d.ts +6 -0
- package/dist/_util/platform.d.ts +54 -0
- package/dist/_util/string.d.ts +25 -0
- package/dist/api.js +2 -3
- package/dist/api.js.map +1 -1
- package/dist/{apple.palette-B4ivrNlM.js → apple.palette-YLjENwUt.js} +2 -3
- package/dist/apple.palette-YLjENwUt.js.map +1 -0
- package/dist/{classic-DCTQrteU.js → classic-BHyJFvQa.js} +2 -3
- package/dist/classic-BHyJFvQa.js.map +1 -0
- package/dist/components/ComponentDefinitions.d.ts +55 -8
- package/dist/components/components.es.d.ts +2 -1
- package/dist/components/components.planned.d.ts +1 -1
- package/dist/components/components.types.d.ts +22 -0
- 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.d.ts +38 -1
- package/dist/components/ui-action/UIAction.en.d.ts +17 -8
- package/dist/components/ui-action/UIAction.es.d.ts +1 -0
- 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-app-menu/UIAppMenu.d.ts +41 -0
- package/dist/components/ui-app-menu/UIAppMenu.en.d.ts +294 -0
- package/dist/components/ui-app-menu/UIAppMenu.es.d.ts +35 -0
- package/dist/components/ui-app-menu/index.d.ts +2 -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 +5 -4
- package/dist/components/ui-button/UIButton.en.d.ts +4 -3
- package/dist/components/ui-button/UIButton.fallback.d.ts +4 -3
- package/dist/components/ui-button/UIButton.types.d.ts +1 -1
- package/dist/components/ui-button/UIButtons.d.ts +7 -5
- package/dist/components/ui-button/UIButtons.en.d.ts +5 -3
- package/dist/components/ui-button/UIButtons.es.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 +1 -0
- package/dist/components/ui-calendar/UICalendar.en.d.ts +1 -0
- package/dist/components/ui-calendar/UICalendar.fallback.d.ts +1 -0
- package/dist/components/ui-card/UICard.d.ts +1 -0
- package/dist/components/ui-card/UICard.en.d.ts +1 -0
- package/dist/components/ui-card/UICards.d.ts +1 -0
- package/dist/components/ui-card/UICards.en.d.ts +1 -0
- package/dist/components/ui-checkbox/UICheckbox.d.ts +1 -0
- package/dist/components/ui-checkbox/UICheckbox.en.d.ts +1 -0
- package/dist/components/ui-checkbox/UICheckbox.fallback.d.ts +1 -0
- package/dist/components/ui-checkbox/UIRadio.d.ts +1 -0
- package/dist/components/ui-checkbox/UIRadio.en.d.ts +1 -0
- package/dist/components/ui-code/CodeHighlighter.d.ts +7 -3
- package/dist/components/ui-code/UICode.d.ts +12 -1
- package/dist/components/ui-code/UICode.en.d.ts +1 -0
- package/dist/components/ui-code/UICode.types.d.ts +9 -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/UIComponents.d.ts +1 -0
- package/dist/components/ui-components/UIComponents.en.d.ts +1 -0
- package/dist/components/ui-container/UIContainer.d.ts +54 -1
- package/dist/components/ui-container/UIContainer.en.d.ts +40 -1
- package/dist/components/ui-container/UIContainer.es.d.ts +1 -0
- package/dist/components/ui-device/UIDevice.d.ts +234 -0
- package/dist/components/ui-device/UIDevice.en.d.ts +126 -0
- package/dist/components/ui-device/UIDevice.es.d.ts +52 -0
- package/dist/components/ui-device/index.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagram.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagram.en.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagramNode.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagramNode.en.d.ts +1 -0
- package/dist/components/ui-dimension/UIDimension.d.ts +1 -0
- package/dist/components/ui-dimension/UIDimension.en.d.ts +1 -0
- package/dist/components/ui-dimmer/UIDimmer.d.ts +1 -0
- package/dist/components/ui-dimmer/UIDimmer.en.d.ts +1 -0
- package/dist/components/ui-divider/UIDivider.d.ts +1 -0
- package/dist/components/ui-divider/UIDivider.en.d.ts +1 -0
- package/dist/components/ui-dropdown/SlottedItems.d.ts +9 -1
- package/dist/components/ui-dropdown/UIDropdown.d.ts +1 -0
- package/dist/components/ui-dropdown/UIDropdown.en.d.ts +1 -0
- package/dist/components/ui-dropdown/UIDropdown.fallback.d.ts +1 -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 +1 -0
- 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/UIField.d.ts +11 -4
- package/dist/components/ui-form/UIField.en.d.ts +3 -2
- 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 +1 -0
- package/dist/components/ui-form/UIForm.en.d.ts +1 -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-grid/UIColumn.d.ts +4 -3
- package/dist/components/ui-grid/UIColumn.en.d.ts +4 -3
- 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 +1 -0
- package/dist/components/ui-icon/UIIcon.en.d.ts +1 -0
- 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 +5 -1
- package/dist/components/ui-icon-picker/UIIconPicker.en.d.ts +1 -0
- package/dist/components/ui-icon-picker/UIIconPicker.fallback.d.ts +1 -0
- package/dist/components/ui-image/UIImage.d.ts +1 -0
- package/dist/components/ui-image/UIImage.en.d.ts +1 -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/UIInput.d.ts +1 -0
- package/dist/components/ui-input/UIInput.en.d.ts +1 -0
- package/dist/components/ui-input/UIInput.fallback.d.ts +1 -0
- package/dist/components/ui-input/UITextarea.d.ts +1 -0
- package/dist/components/ui-input/UITextarea.en.d.ts +1 -0
- package/dist/components/ui-item/UIItem.d.ts +19 -8
- package/dist/components/ui-item/UIItem.en.d.ts +2 -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/UIJson.d.ts +1 -0
- package/dist/components/ui-json/UIJson.en.d.ts +1 -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 +3 -2
- package/dist/components/ui-label/UILabel.en.d.ts +3 -2
- 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 +1 -0
- package/dist/components/ui-list/UIList.en.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 +7 -2
- package/dist/components/ui-markdown/MarkdownFormats.d.ts +9 -4
- package/dist/components/ui-markdown/UIMarkdown.en.d.ts +5 -0
- package/dist/components/ui-markdown/UIMarkdown.es.d.ts +1 -0
- package/dist/components/ui-menu/ScrollingRow.d.ts +19 -1
- package/dist/components/ui-menu/SegmentedThumb.d.ts +8 -1
- package/dist/components/ui-menu/SubMenuAim.d.ts +115 -0
- package/dist/components/ui-menu/TitleFit.d.ts +16 -1
- package/dist/components/ui-menu/UIMenu.d.ts +112 -9
- package/dist/components/ui-menu/UIMenu.en.d.ts +3 -2
- package/dist/components/ui-menu/UISubmenu.d.ts +261 -0
- package/dist/components/ui-menu/UISubmenu.en.d.ts +102 -0
- package/dist/components/ui-menu/UISubmenu.es.d.ts +21 -0
- package/dist/components/ui-menu/index.d.ts +3 -1
- package/dist/components/ui-message/UIMessage.d.ts +3 -2
- package/dist/components/ui-message/UIMessage.en.d.ts +4 -3
- package/dist/components/ui-modal/ModalDialogs.d.ts +36 -2
- 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 +1 -0
- package/dist/components/ui-page/UIPage.en.d.ts +1 -0
- package/dist/components/ui-page-layout/UIPageLayout.d.ts +311 -0
- package/dist/components/ui-page-layout/UIPageLayout.en.d.ts +99 -0
- package/dist/components/ui-page-layout/UIPageLayout.es.d.ts +38 -0
- package/dist/components/ui-page-layout/index.d.ts +1 -0
- package/dist/components/ui-panel/ScrollShades.d.ts +38 -0
- package/dist/components/ui-panel/UIPanel.d.ts +21 -2
- package/dist/components/ui-panel/UIPanel.en.d.ts +68 -61
- 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 +11 -2
- package/dist/components/ui-parts/UIAvatar.en.d.ts +3 -2
- 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 +16 -5
- package/dist/components/ui-parts/UIHeader.en.d.ts +9 -5
- 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 +23 -7
- 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 +21 -3
- package/dist/components/ui-popup/UIPopup.en.d.ts +1 -0
- package/dist/components/ui-progress/UIProgress.d.ts +3 -2
- package/dist/components/ui-progress/UIProgress.en.d.ts +4 -3
- package/dist/components/ui-property-editor/UIProperty.d.ts +47 -13
- package/dist/components/ui-property-editor/UIProperty.en.d.ts +1 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.d.ts +14 -1
- package/dist/components/ui-property-editor/UIPropertyEditor.en.d.ts +1 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.types.d.ts +7 -1
- package/dist/components/ui-property-editor/UIPropertyGroup.d.ts +15 -6
- package/dist/components/ui-property-editor/UIPropertyGroup.en.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 +4 -3
- package/dist/components/ui-rail/UIRail.en.d.ts +4 -3
- package/dist/components/ui-rating/UIRating.d.ts +1 -0
- package/dist/components/ui-rating/UIRating.en.d.ts +1 -0
- package/dist/components/ui-rating/UIRating.fallback.d.ts +1 -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.en.d.ts +1 -0
- package/dist/components/ui-search/UISearch.d.ts +1 -0
- package/dist/components/ui-search/UISearch.en.d.ts +1 -0
- package/dist/components/ui-search/UISearch.fallback.d.ts +1 -0
- package/dist/components/ui-section/UISection.d.ts +3 -2
- package/dist/components/ui-section/UISection.en.d.ts +3 -2
- 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 +9 -10
- package/dist/components/ui-segment/UISegment.en.d.ts +10 -11
- 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 +1 -0
- package/dist/components/ui-select/UISelect.en.d.ts +1 -0
- package/dist/components/ui-select/UISelect.fallback.d.ts +1 -0
- package/dist/components/ui-shape/UIShape.d.ts +1 -0
- package/dist/components/ui-shape/UIShape.en.d.ts +1 -0
- package/dist/components/ui-shape/UISide.d.ts +1 -0
- package/dist/components/ui-shape/UISide.en.d.ts +1 -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 +1 -0
- package/dist/components/ui-sides/UISides.en.d.ts +1 -0
- package/dist/components/ui-sides/UISides.fallback.d.ts +1 -0
- package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.d.ts +118 -0
- package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.en.d.ts +49 -0
- package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.es.d.ts +22 -0
- package/dist/components/ui-site-breadcrumbs/index.d.ts +1 -0
- package/dist/components/ui-site-nav/SitePages.d.ts +26 -3
- package/dist/components/ui-site-nav/UISiteNav.d.ts +43 -5
- package/dist/components/ui-site-nav/UISiteNav.en.d.ts +10 -1
- package/dist/components/ui-site-nav-button/UISiteNavButton.d.ts +63 -0
- package/dist/components/ui-site-nav-button/UISiteNavButton.en.d.ts +173 -0
- package/dist/components/ui-site-nav-button/UISiteNavButton.es.d.ts +20 -0
- package/dist/components/ui-site-nav-button/index.d.ts +1 -0
- package/dist/components/ui-site-tabs/UISiteTabs.d.ts +21 -6
- package/dist/components/ui-site-tabs/UISiteTabs.en.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.en.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.fallback.d.ts +1 -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 +43 -7
- package/dist/components/ui-split-panel/UISplitPanel.en.d.ts +2 -1
- package/dist/components/ui-stack/UIStack.d.ts +1 -0
- package/dist/components/ui-stack/UIStack.en.d.ts +1 -0
- 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 +3 -2
- package/dist/components/ui-step/UISteps.en.d.ts +3 -2
- package/dist/components/ui-sticky/UISticky.d.ts +1 -0
- package/dist/components/ui-sticky/UISticky.en.d.ts +1 -0
- package/dist/components/ui-tab/UITab.d.ts +3 -2
- package/dist/components/ui-tab/UITab.en.d.ts +4 -3
- package/dist/components/ui-tab/UITabs.d.ts +5 -4
- package/dist/components/ui-tab/UITabs.en.d.ts +4 -3
- package/dist/components/ui-table/TableGrammar.d.ts +2 -2
- 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 +7 -6
- package/dist/components/ui-table/UITable.en.d.ts +7 -6
- 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 +1 -0
- package/dist/components/ui-text/UILink.en.d.ts +1 -0
- package/dist/components/ui-text/UIText.d.ts +2 -1
- package/dist/components/ui-text/UIText.en.d.ts +2 -1
- package/dist/components/ui-theme-editor/BenchAddress.d.ts +9 -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 +1 -0
- package/dist/components/ui-theme-editor/UIThemeEditor.en.d.ts +1 -0
- 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/UIThemeMenu.d.ts +37 -15
- package/dist/components/ui-theme-menu/UIThemeMenu.en.d.ts +3 -2
- 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 +134 -1
- package/dist/components/ui-toolbar/UIToolbar.en.d.ts +75 -42
- package/dist/components/ui-toolbar/UIToolbar.es.d.ts +5 -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 +102 -2
- package/dist/components/ui-tree/UITree.en.d.ts +14 -1
- package/dist/components/ui-tree/UITree.es.d.ts +3 -0
- package/dist/components/ui-tree/UITreeItem.d.ts +21 -2
- package/dist/components/ui-tree/UITreeItem.en.d.ts +5 -1
- package/dist/components/ui-tree/UITreeItem.es.d.ts +1 -0
- package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +1 -0
- package/dist/components/ui-tree-diagram/UITreeDiagram.en.d.ts +1 -0
- package/dist/components/ui-tree-diagram/UITreeNode.d.ts +1 -0
- package/dist/components/ui-tree-diagram/UITreeNode.en.d.ts +1 -0
- 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-BOa_7gFF.js → components.es-DEa8Ep42.js} +265 -77
- package/dist/components.es-DEa8Ep42.js.map +1 -0
- package/dist/core.js +884 -806
- package/dist/core.js.map +1 -1
- package/dist/{crisp-VfYZlTph.js → crisp-DIpY320U.js} +3 -4
- package/dist/crisp-DIpY320U.js.map +1 -0
- package/dist/crisp.theme-Ir9p4BDC.js +5 -0
- package/dist/crisp.theme-Ir9p4BDC.js.map +1 -0
- package/dist/{dark-CbUdPe0a.js → dark-B5s4QbmU.js} +2 -3
- package/dist/dark-B5s4QbmU.js.map +1 -0
- package/dist/{dist-BLYIGZVK.js → dist-BQT4KajA.js} +34 -80
- package/dist/dist-BQT4KajA.js.map +1 -0
- package/dist/docs-components/docs-components.types.d.ts +6 -0
- package/dist/docs-components/ui-docs-palette/UIDocsPalette.d.ts +180 -0
- package/dist/docs-components/ui-docs-palette/UIDocsPalette.en.d.ts +88 -0
- package/dist/docs-components/ui-docs-palette/UIDocsPalette.types.d.ts +5 -0
- package/dist/docs-components/ui-docs-palette/index.d.ts +2 -0
- package/dist/docs-components/ui-docs-tokens/UIDocsTokens.d.ts +23 -0
- package/dist/docs-components/ui-docs-tokens/UIDocsTokens.en.d.ts +5 -1
- package/dist/elements/PartComponent.d.ts +5 -0
- package/dist/elements/PopoverPanel.d.ts +12 -1
- package/dist/elements/Validator.d.ts +1 -1
- package/dist/emoji/cldr/{0-DSUpV2d7.js → 0-B6B0nyLW.js} +2 -3
- package/dist/emoji/cldr/0-B6B0nyLW.js.map +1 -0
- package/dist/emoji/cldr/{a-D_oB4vJ-.js → a-C12vpdzK.js} +2 -3
- package/dist/emoji/cldr/a-C12vpdzK.js.map +1 -0
- package/dist/emoji/cldr/{b-DX0W0Mda.js → b-BGkQUJ8v.js} +2 -3
- package/dist/emoji/cldr/b-BGkQUJ8v.js.map +1 -0
- package/dist/emoji/cldr/{c-DUHidpE9.js → c-DtqAfVnG.js} +2 -3
- package/dist/emoji/cldr/c-DtqAfVnG.js.map +1 -0
- package/dist/emoji/cldr/{d-CiCXZXay.js → d-B5SNGAad.js} +2 -3
- package/dist/emoji/cldr/d-B5SNGAad.js.map +1 -0
- package/dist/emoji/cldr/{e-DILJo3Ri.js → e-CMUDvE48.js} +2 -3
- package/dist/emoji/cldr/e-CMUDvE48.js.map +1 -0
- package/dist/emoji/cldr/{f-ByGFLyOq.js → f-Dfhd9bp8.js} +2 -3
- package/dist/emoji/cldr/f-Dfhd9bp8.js.map +1 -0
- package/dist/emoji/cldr/{g-BZ0FRsud.js → g-VpFllv6y.js} +2 -3
- package/dist/emoji/cldr/g-VpFllv6y.js.map +1 -0
- package/dist/emoji/cldr/{h-jtLdvRXQ.js → h-CE6GevC3.js} +2 -3
- package/dist/emoji/cldr/h-CE6GevC3.js.map +1 -0
- package/dist/emoji/cldr/{i-DcbJ5utE.js → i-BUPzV8pA.js} +2 -3
- package/dist/emoji/cldr/i-BUPzV8pA.js.map +1 -0
- package/dist/emoji/cldr/{j-BuEqP5nz.js → j-BFAg68Ig.js} +2 -3
- package/dist/emoji/cldr/j-BFAg68Ig.js.map +1 -0
- package/dist/emoji/cldr/{k-P1J6Gvze.js → k-jnBMfMlM.js} +2 -3
- package/dist/emoji/cldr/k-jnBMfMlM.js.map +1 -0
- package/dist/emoji/cldr/{l-28XcbsPr.js → l-ClLOCfnc.js} +2 -3
- package/dist/emoji/cldr/l-ClLOCfnc.js.map +1 -0
- package/dist/emoji/cldr/{m-DKgGJ8rW.js → m-p358YNne.js} +2 -3
- package/dist/emoji/cldr/m-p358YNne.js.map +1 -0
- package/dist/emoji/cldr/{n-DmPLP4F3.js → n-DOh1UxA2.js} +2 -3
- package/dist/emoji/cldr/n-DOh1UxA2.js.map +1 -0
- package/dist/emoji/cldr/{o-f98nt3s7.js → o-D_nTGMIR.js} +2 -3
- package/dist/emoji/cldr/o-D_nTGMIR.js.map +1 -0
- package/dist/emoji/cldr/{p-CxnsOTOt.js → p-BA8Ct3hE.js} +2 -3
- package/dist/emoji/cldr/p-BA8Ct3hE.js.map +1 -0
- package/dist/emoji/cldr/{r-D0GPRJ-Q.js → r-BFZ26mlC.js} +2 -3
- package/dist/emoji/cldr/r-BFZ26mlC.js.map +1 -0
- package/dist/emoji/cldr/{s-DcFuepnw.js → s-CIZH91hj.js} +2 -3
- package/dist/emoji/cldr/s-CIZH91hj.js.map +1 -0
- package/dist/emoji/cldr/{t-BvHgGpUr.js → t-qg9oQuYr.js} +2 -3
- package/dist/emoji/cldr/t-qg9oQuYr.js.map +1 -0
- package/dist/emoji/cldr/{u-ChFYHtUf.js → u-CN-QpqjC.js} +2 -3
- package/dist/emoji/cldr/u-CN-QpqjC.js.map +1 -0
- package/dist/emoji/cldr/{v-WmX3nWtZ.js → v-CO_76wOC.js} +2 -3
- package/dist/emoji/cldr/v-CO_76wOC.js.map +1 -0
- package/dist/emoji/cldr/{w-BPySQUWW.js → w-DOQn50Cw.js} +2 -3
- package/dist/emoji/cldr/w-DOQn50Cw.js.map +1 -0
- package/dist/emoji/cldr/x-DddFDGbR.js +5 -0
- package/dist/emoji/cldr/x-DddFDGbR.js.map +1 -0
- package/dist/emoji/cldr/{y-zB_yhTFg.js → y-auUWML2r.js} +2 -3
- package/dist/emoji/cldr/y-auUWML2r.js.map +1 -0
- package/dist/emoji/cldr/{z-BgJ94Cap.js → z-BYAp28d6.js} +2 -3
- package/dist/emoji/cldr/z-BYAp28d6.js.map +1 -0
- package/dist/emoji/fomantic/0-BdzcjXW3.js +9 -0
- package/dist/emoji/fomantic/0-BdzcjXW3.js.map +1 -0
- package/dist/emoji/fomantic/{a-CrqYlC21.js → a-R3ZJ-207.js} +2 -3
- package/dist/emoji/fomantic/a-R3ZJ-207.js.map +1 -0
- package/dist/emoji/fomantic/{b-DneVHRdQ.js → b-NF1y0dRD.js} +2 -3
- package/dist/emoji/fomantic/b-NF1y0dRD.js.map +1 -0
- package/dist/emoji/fomantic/{c-ClxKRuir.js → c-CuIzdNXI.js} +2 -3
- package/dist/emoji/fomantic/c-CuIzdNXI.js.map +1 -0
- package/dist/emoji/fomantic/{d-Djqs_y4s.js → d-CuS9uvGS.js} +2 -3
- package/dist/emoji/fomantic/d-CuS9uvGS.js.map +1 -0
- package/dist/emoji/fomantic/{e-CuF-jOQd.js → e-S2pyUDgP.js} +2 -3
- package/dist/emoji/fomantic/e-S2pyUDgP.js.map +1 -0
- package/dist/emoji/fomantic/{f-D8VglrJ4.js → f-DnHzZwKR.js} +2 -3
- package/dist/emoji/fomantic/f-DnHzZwKR.js.map +1 -0
- package/dist/emoji/fomantic/{g-Du_HFl6U.js → g-CdqbF8yB.js} +2 -3
- package/dist/emoji/fomantic/g-CdqbF8yB.js.map +1 -0
- package/dist/emoji/fomantic/{h-CLE5tHnM.js → h-Dgmy17VC.js} +2 -3
- package/dist/emoji/fomantic/h-Dgmy17VC.js.map +1 -0
- package/dist/emoji/fomantic/{i-BjOsrQDZ.js → i-BCe1z6Es.js} +2 -3
- package/dist/emoji/fomantic/i-BCe1z6Es.js.map +1 -0
- package/dist/emoji/fomantic/{j-CyUDXKCu.js → j-D39udLwj.js} +2 -3
- package/dist/emoji/fomantic/j-D39udLwj.js.map +1 -0
- package/dist/emoji/fomantic/{k-Clypg4R8.js → k-KDlJnEWX.js} +2 -3
- package/dist/emoji/fomantic/k-KDlJnEWX.js.map +1 -0
- package/dist/emoji/fomantic/{l-DvLPdBh-.js → l-rVE39-7Z.js} +2 -3
- package/dist/emoji/fomantic/l-rVE39-7Z.js.map +1 -0
- package/dist/emoji/fomantic/{m-B1lIb1kP.js → m-Bys5Cs9k.js} +2 -3
- package/dist/emoji/fomantic/m-Bys5Cs9k.js.map +1 -0
- package/dist/emoji/fomantic/{n-Bgpp_ht5.js → n-DzPz1atY.js} +2 -3
- package/dist/emoji/fomantic/n-DzPz1atY.js.map +1 -0
- package/dist/emoji/fomantic/{o-BhYZzpjp.js → o-lKtDGpuN.js} +2 -3
- package/dist/emoji/fomantic/o-lKtDGpuN.js.map +1 -0
- package/dist/emoji/fomantic/{p-VLL0GK3m.js → p-DUvy18Aa.js} +2 -3
- package/dist/emoji/fomantic/p-DUvy18Aa.js.map +1 -0
- package/dist/emoji/fomantic/q-WtSN0kE7.js +5 -0
- package/dist/emoji/fomantic/q-WtSN0kE7.js.map +1 -0
- package/dist/emoji/fomantic/{r-Bd1DjkkI.js → r-Dm_1szGZ.js} +2 -3
- package/dist/emoji/fomantic/r-Dm_1szGZ.js.map +1 -0
- package/dist/emoji/fomantic/{s-Bqatw1W7.js → s-LPRU4KZk.js} +2 -3
- package/dist/emoji/fomantic/s-LPRU4KZk.js.map +1 -0
- package/dist/emoji/fomantic/{t-Bs7IFhv3.js → t-iQksEIKb.js} +2 -3
- package/dist/emoji/fomantic/t-iQksEIKb.js.map +1 -0
- package/dist/emoji/fomantic/{u-M6GfYC-U.js → u-CkDd-u7Y.js} +2 -3
- package/dist/emoji/fomantic/u-CkDd-u7Y.js.map +1 -0
- package/dist/emoji/fomantic/{v-BKHNqkn0.js → v-C83uQ5pk.js} +2 -3
- package/dist/emoji/fomantic/v-C83uQ5pk.js.map +1 -0
- package/dist/emoji/fomantic/{w-B_XvIu7h.js → w-D_redhGe.js} +2 -3
- package/dist/emoji/fomantic/w-D_redhGe.js.map +1 -0
- package/dist/emoji/fomantic/x-eI_dPUEx.js +8 -0
- package/dist/emoji/fomantic/x-eI_dPUEx.js.map +1 -0
- package/dist/emoji/fomantic/{y-DPZaoIla.js → y-CO_6qz-J.js} +2 -3
- package/dist/emoji/fomantic/y-CO_6qz-J.js.map +1 -0
- package/dist/emoji/fomantic/{z-FH-kPXch.js → z-C-wWxD0a.js} +2 -3
- package/dist/emoji/fomantic/z-C-wWxD0a.js.map +1 -0
- package/dist/forms.js +65 -75
- package/dist/forms.js.map +1 -1
- package/dist/fruity-CsfZNeXb.js +5 -0
- package/dist/fruity-CsfZNeXb.js.map +1 -0
- package/dist/{fruity.theme-CbC7Jyvk.js → fruity.theme-BL7cCZUQ.js} +3 -4
- package/dist/fruity.theme-BL7cCZUQ.js.map +1 -0
- package/dist/glass-BCK30hpe.js +5 -0
- package/dist/glass-BCK30hpe.js.map +1 -0
- package/dist/glass.theme-C7QSRB7b.js +5 -0
- package/dist/glass.theme-C7QSRB7b.js.map +1 -0
- package/dist/hot.js +18 -32
- package/dist/hot.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +95 -90
- package/dist/jsx.d.ts +3869 -715
- package/dist/matrix-DEnqBfwC.js +5 -0
- package/dist/matrix-DEnqBfwC.js.map +1 -0
- package/dist/matrix.theme-YV6_nvXv.js +5 -0
- package/dist/matrix.theme-YV6_nvXv.js.map +1 -0
- package/dist/{merlot-DOXLuUaU.js → merlot-DFa6kDbA.js} +3 -4
- package/dist/merlot-DFa6kDbA.js.map +1 -0
- package/dist/merlot.theme-B1K8nn2u.js +5 -0
- package/dist/merlot.theme-B1K8nn2u.js.map +1 -0
- package/dist/{midnight-BxlTQSfw.js → midnight-q0-3-V6U.js} +3 -4
- package/dist/midnight-q0-3-V6U.js.map +1 -0
- package/dist/midnight.theme-C7M02wTD.js +5 -0
- package/dist/midnight.theme-C7M02wTD.js.map +1 -0
- package/dist/mockup-D0vovNO7.js +5 -0
- package/dist/mockup-D0vovNO7.js.map +1 -0
- package/dist/mockup.theme-C92r9NI0.js +5 -0
- package/dist/mockup.theme-C92r9NI0.js.map +1 -0
- package/dist/{paper-M61nUilz.js → paper-DPxolmdy.js} +3 -4
- package/dist/paper-DPxolmdy.js.map +1 -0
- package/dist/paper.theme-BAKk3DY1.js +5 -0
- package/dist/paper.theme-BAKk3DY1.js.map +1 -0
- package/dist/{persist.types-D2m6wD-S.js → persist.types-D7N7GewC.js} +2 -3
- package/dist/persist.types-D7N7GewC.js.map +1 -0
- package/dist/{pop-CxXfytjk.js → pop-Dw_6k177.js} +3 -4
- package/dist/pop-Dw_6k177.js.map +1 -0
- package/dist/pop.theme-Cw-yD0MO.js +5 -0
- package/dist/pop.theme-Cw-yD0MO.js.map +1 -0
- package/dist/property/PropertyEditorPages.d.ts +1 -1
- package/dist/property/PropertyLayouts.d.ts +119 -0
- package/dist/property/PropertySchemas.d.ts +5 -1
- package/dist/property/index.d.ts +2 -0
- package/dist/{rolldown-runtime-CYGlBXrH.js → rolldown-runtime-c6e9CmGy.js} +2 -3
- package/dist/runtime/Browser.d.ts +7 -0
- package/dist/runtime/DataTooltips.d.ts +2 -0
- package/dist/runtime/Keyboard.d.ts +4 -1
- package/dist/runtime/Toasts.d.ts +10 -0
- package/dist/runtime/runtime.types.d.ts +47 -0
- package/dist/{search-CzSzx7bX.js → search-C2Rq9HF1.js} +1 -2
- package/dist/search-C2Rq9HF1.js.map +1 -0
- package/dist/spell-CB-MivSX.js +5 -0
- package/dist/spell-CB-MivSX.js.map +1 -0
- package/dist/spell.theme-CUoc5rTq.js +5 -0
- package/dist/spell.theme-CUoc5rTq.js.map +1 -0
- package/dist/styles/StyleGenerator.d.ts +7 -0
- package/dist/styles/styles.en.d.ts +27 -18
- package/dist/{styles.en-CUUxNwHo.js → styles.en-DZlSJiOR.js} +21 -21
- package/dist/styles.en-DZlSJiOR.js.map +1 -0
- package/dist/styles.js +9 -10
- package/dist/styles.js.map +1 -1
- package/dist/ui-accordion.editor-BP8uQGGU.js +5 -0
- package/dist/ui-accordion.editor-BP8uQGGU.js.map +1 -0
- package/dist/ui-accordion.js +59 -60
- package/dist/ui-accordion.js.map +1 -1
- package/dist/ui-action.editor-m5R5N5Wy.js +5 -0
- package/dist/ui-action.editor-m5R5N5Wy.js.map +1 -0
- package/dist/ui-action.js +73 -45
- package/dist/ui-action.js.map +1 -1
- package/dist/ui-actions.editor-Buc3N2ik.js +5 -0
- package/dist/ui-actions.editor-Buc3N2ik.js.map +1 -0
- package/dist/ui-ad.editor-BHTDuSii.js +5 -0
- package/dist/ui-ad.editor-BHTDuSii.js.map +1 -0
- package/dist/ui-ad.js +8 -9
- package/dist/ui-ad.js.map +1 -1
- package/dist/ui-app-menu.editor-DxPPnMUT.js +5 -0
- package/dist/ui-app-menu.editor-DxPPnMUT.js.map +1 -0
- package/dist/ui-app-menu.js +89 -0
- package/dist/ui-app-menu.js.map +1 -0
- package/dist/ui-audio.editor-Y6WeqLRh.js +5 -0
- package/dist/ui-audio.editor-Y6WeqLRh.js.map +1 -0
- package/dist/ui-author.editor-Bmf-rEXY.js +5 -0
- package/dist/ui-author.editor-Bmf-rEXY.js.map +1 -0
- package/dist/ui-avatar.editor-CSU6snQz.js +5 -0
- package/dist/ui-avatar.editor-CSU6snQz.js.map +1 -0
- package/dist/ui-breadcrumb.editor-N1-8OzDq.js +5 -0
- package/dist/ui-breadcrumb.editor-N1-8OzDq.js.map +1 -0
- package/dist/ui-breadcrumbs.editor-Mml0fUR_.js +5 -0
- package/dist/ui-breadcrumbs.editor-Mml0fUR_.js.map +1 -0
- package/dist/ui-breadcrumbs.js +18 -17
- package/dist/ui-breadcrumbs.js.map +1 -1
- package/dist/ui-button.editor-BV9Bh_xf.js +5 -0
- package/dist/ui-button.editor-BV9Bh_xf.js.map +1 -0
- package/dist/ui-button.js +157 -156
- package/dist/ui-button.js.map +1 -1
- package/dist/ui-buttons.editor-CSsEIo2s.js +5 -0
- package/dist/ui-buttons.editor-CSsEIo2s.js.map +1 -0
- package/dist/ui-calendar.editor-TsP8a97s.js +5 -0
- package/dist/ui-calendar.editor-TsP8a97s.js.map +1 -0
- package/dist/ui-calendar.js +148 -157
- package/dist/ui-calendar.js.map +1 -1
- package/dist/ui-card.editor-BBZj9e03.js +5 -0
- package/dist/ui-card.editor-BBZj9e03.js.map +1 -0
- package/dist/ui-card.js +70 -70
- package/dist/ui-card.js.map +1 -1
- package/dist/ui-cards.editor-Hrmldr4q.js +5 -0
- package/dist/ui-cards.editor-Hrmldr4q.js.map +1 -0
- package/dist/ui-cell.editor-Dmz_mwJ0.js +5 -0
- package/dist/ui-cell.editor-Dmz_mwJ0.js.map +1 -0
- package/dist/ui-checkbox.editor-DnOz9r6d.js +5 -0
- package/dist/ui-checkbox.editor-DnOz9r6d.js.map +1 -0
- package/dist/ui-checkbox.js +49 -48
- package/dist/ui-checkbox.js.map +1 -1
- package/dist/ui-code.editor-Drr_FVB6.js +5 -0
- package/dist/ui-code.editor-Drr_FVB6.js.map +1 -0
- package/dist/ui-code.js +116 -79
- package/dist/ui-code.js.map +1 -1
- package/dist/ui-color-chip.editor-B3zV8FkB.js +5 -0
- package/dist/ui-color-chip.editor-B3zV8FkB.js.map +1 -0
- package/dist/ui-column.editor-hdUb-qwT.js +5 -0
- package/dist/ui-column.editor-hdUb-qwT.js.map +1 -0
- package/dist/ui-comment.editor-DJpE_8tz.js +5 -0
- package/dist/ui-comment.editor-DJpE_8tz.js.map +1 -0
- package/dist/ui-comment.js +15 -14
- package/dist/ui-comment.js.map +1 -1
- package/dist/ui-comments.editor-GFJN6l3Q.js +5 -0
- package/dist/ui-comments.editor-GFJN6l3Q.js.map +1 -0
- package/dist/ui-components.editor-BKFXnARt.js +5 -0
- package/dist/ui-components.editor-BKFXnARt.js.map +1 -0
- package/dist/ui-components.js +12 -13
- package/dist/ui-components.js.map +1 -1
- package/dist/ui-container.editor-CBNhNkRm.js +5 -0
- package/dist/ui-container.editor-CBNhNkRm.js.map +1 -0
- package/dist/ui-container.js +106 -21
- package/dist/ui-container.js.map +1 -1
- package/dist/ui-content.editor-B78lxK3P.js +5 -0
- package/dist/ui-content.editor-B78lxK3P.js.map +1 -0
- package/dist/ui-date.editor-PHEnU7QX.js +5 -0
- package/dist/ui-date.editor-PHEnU7QX.js.map +1 -0
- package/dist/ui-description.editor-DWFDJ9mV.js +5 -0
- package/dist/ui-description.editor-DWFDJ9mV.js.map +1 -0
- package/dist/ui-detail.editor-wliuVbx3.js +5 -0
- package/dist/ui-detail.editor-wliuVbx3.js.map +1 -0
- package/dist/ui-device.editor-kl48NVma.js +5 -0
- package/dist/ui-device.editor-kl48NVma.js.map +1 -0
- package/dist/ui-device.js +436 -0
- package/dist/ui-device.js.map +1 -0
- package/dist/ui-diagram-node.editor-6FyjT7oj.js +5 -0
- package/dist/ui-diagram-node.editor-6FyjT7oj.js.map +1 -0
- package/dist/ui-diagram.editor-Dn3ef-J9.js +5 -0
- package/dist/ui-diagram.editor-Dn3ef-J9.js.map +1 -0
- package/dist/ui-diagram.js +128 -129
- package/dist/ui-diagram.js.map +1 -1
- package/dist/ui-dimension.editor-BEXGKcCB.js +5 -0
- package/dist/ui-dimension.editor-BEXGKcCB.js.map +1 -0
- package/dist/ui-dimension.js +111 -12
- package/dist/ui-dimension.js.map +1 -1
- package/dist/ui-dimmer.editor-D14xzXIe.js +5 -0
- package/dist/ui-dimmer.editor-D14xzXIe.js.map +1 -0
- package/dist/ui-dimmer.js +29 -30
- package/dist/ui-dimmer.js.map +1 -1
- package/dist/ui-divider.editor-D6ozEXjx.js +5 -0
- package/dist/ui-divider.editor-D6ozEXjx.js.map +1 -0
- package/dist/ui-divider.js +9 -10
- package/dist/ui-divider.js.map +1 -1
- package/dist/ui-dropdown.editor-OFDGi1oz.js +5 -0
- package/dist/ui-dropdown.editor-OFDGi1oz.js.map +1 -0
- package/dist/ui-dropdown.js +155 -156
- package/dist/ui-dropdown.js.map +1 -1
- package/dist/ui-embed.editor-DHsrjw1j.js +5 -0
- package/dist/ui-embed.editor-DHsrjw1j.js.map +1 -0
- package/dist/ui-embed.js +23 -24
- package/dist/ui-embed.js.map +1 -1
- package/dist/ui-emoji.editor-DUL230Hi.js +5 -0
- package/dist/ui-emoji.editor-DUL230Hi.js.map +1 -0
- package/dist/ui-emoji.js +63 -64
- package/dist/ui-emoji.js.map +1 -1
- package/dist/ui-event.editor-Bk17y7wW.js +5 -0
- package/dist/ui-event.editor-Bk17y7wW.js.map +1 -0
- package/dist/ui-example.editor-D46Vnctp.js +5 -0
- package/dist/ui-example.editor-D46Vnctp.js.map +1 -0
- package/dist/ui-example.js +67 -74
- package/dist/ui-example.js.map +1 -1
- package/dist/ui-extra.editor-rX6sfH2e.js +5 -0
- package/dist/ui-extra.editor-rX6sfH2e.js.map +1 -0
- package/dist/ui-feed.editor-B7ycWh1b.js +5 -0
- package/dist/ui-feed.editor-B7ycWh1b.js.map +1 -0
- package/dist/ui-feed.js +26 -25
- package/dist/ui-feed.js.map +1 -1
- package/dist/ui-field.editor-Bz9xyCVv.js +5 -0
- package/dist/ui-field.editor-Bz9xyCVv.js.map +1 -0
- package/dist/ui-fields.editor-BUtW4NTk.js +5 -0
- package/dist/ui-fields.editor-BUtW4NTk.js.map +1 -0
- package/dist/ui-flag.editor-DNfdXo7y.js +5 -0
- package/dist/ui-flag.editor-DNfdXo7y.js.map +1 -0
- package/dist/ui-flag.js +13 -14
- package/dist/ui-flag.js.map +1 -1
- package/dist/ui-flyout.editor-b7UJYiV9.js +5 -0
- package/dist/ui-flyout.editor-b7UJYiV9.js.map +1 -0
- package/dist/ui-flyout.js +10 -11
- package/dist/ui-flyout.js.map +1 -1
- package/dist/ui-form.editor-BJC3WhNf.js +5 -0
- package/dist/ui-form.editor-BJC3WhNf.js.map +1 -0
- package/dist/ui-form.js +199 -195
- package/dist/ui-form.js.map +1 -1
- package/dist/ui-grid.editor-DVn2YIBW.js +5 -0
- package/dist/ui-grid.editor-DVn2YIBW.js.map +1 -0
- package/dist/ui-grid.js +43 -234
- package/dist/ui-grid.js.map +1 -1
- package/dist/ui-header.editor-meOjCASK.js +5 -0
- package/dist/ui-header.editor-meOjCASK.js.map +1 -0
- package/dist/ui-icon-picker.editor-vFPbT9Kh.js +5 -0
- package/dist/ui-icon-picker.editor-vFPbT9Kh.js.map +1 -0
- package/dist/ui-icon-picker.js +64 -69
- package/dist/ui-icon-picker.js.map +1 -1
- package/dist/ui-icon.editor-DoKK49PD.js +5 -0
- package/dist/ui-icon.editor-DoKK49PD.js.map +1 -0
- package/dist/ui-icon.js +15 -14
- package/dist/ui-icon.js.map +1 -1
- package/dist/ui-icons.editor-CSD6fOVt.js +5 -0
- package/dist/ui-icons.editor-CSD6fOVt.js.map +1 -0
- package/dist/ui-image.editor-D4ZUC_Ka.js +5 -0
- package/dist/ui-image.editor-D4ZUC_Ka.js.map +1 -0
- package/dist/ui-image.js +26 -26
- package/dist/ui-image.js.map +1 -1
- package/dist/ui-images.editor-Cb0D3vnI.js +5 -0
- package/dist/ui-images.editor-Cb0D3vnI.js.map +1 -0
- package/dist/ui-include.editor-CZcsVJbH.js +5 -0
- package/dist/ui-include.editor-CZcsVJbH.js.map +1 -0
- package/dist/ui-include.js +21 -22
- package/dist/ui-include.js.map +1 -1
- package/dist/ui-input.editor-budoNoB0.js +5 -0
- package/dist/ui-input.editor-budoNoB0.js.map +1 -0
- package/dist/ui-input.js +131 -130
- package/dist/ui-input.js.map +1 -1
- package/dist/ui-item.editor-BlWp1HXu.js +5 -0
- package/dist/ui-item.editor-BlWp1HXu.js.map +1 -0
- package/dist/ui-item.js +127 -113
- package/dist/ui-item.js.map +1 -1
- package/dist/ui-items.editor-GOul3Xss.js +5 -0
- package/dist/ui-items.editor-GOul3Xss.js.map +1 -0
- package/dist/ui-items.js +11 -12
- package/dist/ui-items.js.map +1 -1
- package/dist/ui-json.editor-BgZbrB_W.js +5 -0
- package/dist/ui-json.editor-BgZbrB_W.js.map +1 -0
- package/dist/ui-json.js +18 -19
- package/dist/ui-json.js.map +1 -1
- package/dist/ui-keys.editor-BI9EDtS4.js +5 -0
- package/dist/ui-keys.editor-BI9EDtS4.js.map +1 -0
- package/dist/ui-keys.js +2 -3
- package/dist/ui-label.editor-BVUYLSUs.js +5 -0
- package/dist/ui-label.editor-BVUYLSUs.js.map +1 -0
- package/dist/ui-label.js +22 -22
- package/dist/ui-label.js.map +1 -1
- package/dist/ui-labels.editor-BWJth86p.js +5 -0
- package/dist/ui-labels.editor-BWJth86p.js.map +1 -0
- package/dist/ui-link.editor-CpI53scP.js +5 -0
- package/dist/ui-link.editor-CpI53scP.js.map +1 -0
- package/dist/ui-list.editor-DhBZIkAa.js +5 -0
- package/dist/ui-list.editor-DhBZIkAa.js.map +1 -0
- package/dist/ui-list.js +9 -10
- package/dist/ui-list.js.map +1 -1
- package/dist/ui-loader.editor-BJlvmP7S.js +5 -0
- package/dist/ui-loader.editor-BJlvmP7S.js.map +1 -0
- package/dist/ui-loader.js +10 -11
- package/dist/ui-loader.js.map +1 -1
- package/dist/ui-markdown.editor-DPVKyxXa.js +5 -0
- package/dist/ui-markdown.editor-DPVKyxXa.js.map +1 -0
- package/dist/ui-markdown.js +208 -154
- package/dist/ui-markdown.js.map +1 -1
- package/dist/ui-menu.editor-DJ3PhWtK.js +5 -0
- package/dist/ui-menu.editor-DJ3PhWtK.js.map +1 -0
- package/dist/ui-menu.js +815 -223
- package/dist/ui-menu.js.map +1 -1
- package/dist/ui-message.editor-vfT0pyu5.js +5 -0
- package/dist/ui-message.editor-vfT0pyu5.js.map +1 -0
- package/dist/ui-message.js +32 -33
- package/dist/ui-message.js.map +1 -1
- package/dist/ui-meta.editor-Bk5m43-E.js +5 -0
- package/dist/ui-meta.editor-Bk5m43-E.js.map +1 -0
- package/dist/ui-modal.editor-CkkJRgab.js +5 -0
- package/dist/ui-modal.editor-CkkJRgab.js.map +1 -0
- package/dist/ui-modal.js +132 -96
- package/dist/ui-modal.js.map +1 -1
- package/dist/ui-nag.editor-BJ3Ia2Bi.js +5 -0
- package/dist/ui-nag.editor-BJ3Ia2Bi.js.map +1 -0
- package/dist/ui-nag.js +23 -24
- package/dist/ui-nag.js.map +1 -1
- package/dist/ui-or.editor-BfBLNVgm.js +5 -0
- package/dist/ui-or.editor-BfBLNVgm.js.map +1 -0
- package/dist/ui-page-layout.editor-xtQW0FZk.js +5 -0
- package/dist/ui-page-layout.editor-xtQW0FZk.js.map +1 -0
- package/dist/ui-page-layout.js +363 -0
- package/dist/ui-page-layout.js.map +1 -0
- package/dist/ui-page.editor-Bd5mzlj7.js +5 -0
- package/dist/ui-page.editor-Bd5mzlj7.js.map +1 -0
- package/dist/ui-page.js +11 -12
- package/dist/ui-page.js.map +1 -1
- package/dist/ui-panel.editor-BCUkdr4S.js +5 -0
- package/dist/ui-panel.editor-BCUkdr4S.js.map +1 -0
- package/dist/ui-panel.js +105 -27
- package/dist/ui-panel.js.map +1 -1
- package/dist/ui-parts.js +108 -66
- package/dist/ui-parts.js.map +1 -1
- package/dist/ui-placeholder-header.editor-CJNO08Ax.js +5 -0
- package/dist/ui-placeholder-header.editor-CJNO08Ax.js.map +1 -0
- package/dist/ui-placeholder-image.editor-DctJiCNv.js +5 -0
- package/dist/ui-placeholder-image.editor-DctJiCNv.js.map +1 -0
- package/dist/ui-placeholder-line.editor-DcxH7mOo.js +5 -0
- package/dist/ui-placeholder-line.editor-DcxH7mOo.js.map +1 -0
- package/dist/ui-placeholder-paragraph.editor-C4rww_tp.js +5 -0
- package/dist/ui-placeholder-paragraph.editor-C4rww_tp.js.map +1 -0
- package/dist/ui-placeholder.editor-Bc0CYlZZ.js +5 -0
- package/dist/ui-placeholder.editor-Bc0CYlZZ.js.map +1 -0
- package/dist/ui-placeholder.js +23 -19
- package/dist/ui-placeholder.js.map +1 -1
- package/dist/ui-popup.editor-ByUi4CYs.js +5 -0
- package/dist/ui-popup.editor-ByUi4CYs.js.map +1 -0
- package/dist/ui-popup.js +107 -100
- package/dist/ui-popup.js.map +1 -1
- package/dist/ui-progress.editor-DX0IjhxZ.js +5 -0
- package/dist/ui-progress.editor-DX0IjhxZ.js.map +1 -0
- package/dist/ui-progress.js +23 -24
- package/dist/ui-progress.js.map +1 -1
- package/dist/ui-property-editor.editor-pS6tCPPT.js +5 -0
- package/dist/ui-property-editor.editor-pS6tCPPT.js.map +1 -0
- package/dist/ui-property-editor.js +649 -277
- package/dist/ui-property-editor.js.map +1 -1
- package/dist/ui-property-group.editor-BlpUMVlr.js +5 -0
- package/dist/ui-property-group.editor-BlpUMVlr.js.map +1 -0
- package/dist/ui-property.editor-BC-jtjjt.js +5 -0
- package/dist/ui-property.editor-BC-jtjjt.js.map +1 -0
- package/dist/ui-pushable.editor-8_EmUD9x.js +5 -0
- package/dist/ui-pushable.editor-8_EmUD9x.js.map +1 -0
- package/dist/ui-pusher.editor-CiCX6-1J.js +5 -0
- package/dist/ui-pusher.editor-CiCX6-1J.js.map +1 -0
- package/dist/ui-quote.editor-BvmAjmo9.js +5 -0
- package/dist/ui-quote.editor-BvmAjmo9.js.map +1 -0
- package/dist/ui-quote.js +8 -9
- package/dist/ui-quote.js.map +1 -1
- package/dist/ui-radio.editor-DPzActfO.js +5 -0
- package/dist/ui-radio.editor-DPzActfO.js.map +1 -0
- package/dist/ui-rail.editor-DRfVH4P2.js +5 -0
- package/dist/ui-rail.editor-DRfVH4P2.js.map +1 -0
- package/dist/ui-rail.js +11 -12
- package/dist/ui-rail.js.map +1 -1
- package/dist/ui-rating.editor-C19syymj.js +5 -0
- package/dist/ui-rating.editor-C19syymj.js.map +1 -0
- package/dist/ui-rating.js +40 -49
- package/dist/ui-rating.js.map +1 -1
- package/dist/ui-repeat.editor-DEf-bFGj.js +5 -0
- package/dist/ui-repeat.editor-DEf-bFGj.js.map +1 -0
- package/dist/ui-reveal.editor-D7pDOaen.js +5 -0
- package/dist/ui-reveal.editor-D7pDOaen.js.map +1 -0
- package/dist/ui-reveal.js +10 -11
- package/dist/ui-reveal.js.map +1 -1
- package/dist/ui-root.editor-CAokPDVa.js +5 -0
- package/dist/ui-root.editor-CAokPDVa.js.map +1 -0
- package/dist/ui-root.js +205 -102
- package/dist/ui-root.js.map +1 -1
- package/dist/ui-row.editor-C00Z6Jl5.js +5 -0
- package/dist/ui-row.editor-C00Z6Jl5.js.map +1 -0
- package/dist/ui-search.editor-CtzfYgNu.js +5 -0
- package/dist/ui-search.editor-CtzfYgNu.js.map +1 -0
- package/dist/ui-search.js +143 -146
- package/dist/ui-search.js.map +1 -1
- package/dist/ui-section.editor-DmNICxCs.js +5 -0
- package/dist/ui-section.editor-DmNICxCs.js.map +1 -0
- package/dist/ui-section.js +74 -73
- package/dist/ui-section.js.map +1 -1
- package/dist/ui-sections.editor-BxXECGv9.js +5 -0
- package/dist/ui-sections.editor-BxXECGv9.js.map +1 -0
- package/dist/ui-segment.editor-CebyLPFn.js +5 -0
- package/dist/ui-segment.editor-CebyLPFn.js.map +1 -0
- package/dist/ui-segment.js +43 -43
- package/dist/ui-segment.js.map +1 -1
- package/dist/ui-segments.editor-CSumzMa5.js +5 -0
- package/dist/ui-segments.editor-CSumzMa5.js.map +1 -0
- package/dist/ui-select.editor-wAcZzvU7.js +5 -0
- package/dist/ui-select.editor-wAcZzvU7.js.map +1 -0
- package/dist/ui-select.js +86 -87
- package/dist/ui-select.js.map +1 -1
- package/dist/ui-shape.editor-By9-8aD2.js +5 -0
- package/dist/ui-shape.editor-By9-8aD2.js.map +1 -0
- package/dist/ui-shape.js +39 -38
- package/dist/ui-shape.js.map +1 -1
- package/dist/ui-side.editor-CFSqGHGH.js +5 -0
- package/dist/ui-side.editor-CFSqGHGH.js.map +1 -0
- package/dist/ui-sidebar.editor-DWFPQcXv.js +5 -0
- package/dist/ui-sidebar.editor-DWFPQcXv.js.map +1 -0
- package/dist/ui-sidebar.js +79 -77
- package/dist/ui-sidebar.js.map +1 -1
- package/dist/ui-sides.editor-CONIJ1r3.js +5 -0
- package/dist/ui-sides.editor-CONIJ1r3.js.map +1 -0
- package/dist/ui-sides.js +25 -26
- package/dist/ui-sides.js.map +1 -1
- package/dist/ui-site-breadcrumbs.editor-Dmc4qziE.js +5 -0
- package/dist/ui-site-breadcrumbs.editor-Dmc4qziE.js.map +1 -0
- package/dist/ui-site-breadcrumbs.js +143 -0
- package/dist/ui-site-breadcrumbs.js.map +1 -0
- package/dist/ui-site-nav-button.editor-6J-zJLtZ.js +5 -0
- package/dist/ui-site-nav-button.editor-6J-zJLtZ.js.map +1 -0
- package/dist/ui-site-nav-button.js +113 -0
- package/dist/ui-site-nav-button.js.map +1 -0
- package/dist/ui-site-nav.editor-CKEsOGCX.js +5 -0
- package/dist/ui-site-nav.editor-CKEsOGCX.js.map +1 -0
- package/dist/ui-site-nav.js +133 -97
- package/dist/ui-site-nav.js.map +1 -1
- package/dist/ui-site-tabs.editor-DDvQfH6S.js +5 -0
- package/dist/ui-site-tabs.editor-DDvQfH6S.js.map +1 -0
- package/dist/ui-site-tabs.js +53 -48
- package/dist/ui-site-tabs.js.map +1 -1
- package/dist/ui-slider.editor-BEaasx5Q.js +5 -0
- package/dist/ui-slider.editor-BEaasx5Q.js.map +1 -0
- package/dist/ui-slider.js +37 -38
- package/dist/ui-slider.js.map +1 -1
- package/dist/ui-space.editor-s-XVWFBN.js +5 -0
- package/dist/ui-space.editor-s-XVWFBN.js.map +1 -0
- package/dist/ui-space.js +9 -10
- package/dist/ui-space.js.map +1 -1
- package/dist/ui-split-panel.editor-Cvy5W7nk.js +5 -0
- package/dist/ui-split-panel.editor-Cvy5W7nk.js.map +1 -0
- package/dist/ui-split-panel.js +107 -68
- package/dist/ui-split-panel.js.map +1 -1
- package/dist/ui-stack.editor-D69Fky6H.js +5 -0
- package/dist/ui-stack.editor-D69Fky6H.js.map +1 -0
- package/dist/ui-stack.js +12 -13
- package/dist/ui-stack.js.map +1 -1
- package/dist/ui-statistic.editor-CBzYqbQ5.js +5 -0
- package/dist/ui-statistic.editor-CBzYqbQ5.js.map +1 -0
- package/dist/ui-statistic.js +28 -27
- package/dist/ui-statistic.js.map +1 -1
- package/dist/ui-statistics.editor-fzh3uk_b.js +5 -0
- package/dist/ui-statistics.editor-fzh3uk_b.js.map +1 -0
- package/dist/ui-step.editor-CYmNXrk_.js +5 -0
- package/dist/ui-step.editor-CYmNXrk_.js.map +1 -0
- package/dist/ui-step.js +62 -61
- package/dist/ui-step.js.map +1 -1
- package/dist/ui-steps.editor-BkMIrUrj.js +5 -0
- package/dist/ui-steps.editor-BkMIrUrj.js.map +1 -0
- package/dist/ui-sticky.editor-D7R1AlJv.js +5 -0
- package/dist/ui-sticky.editor-D7R1AlJv.js.map +1 -0
- package/dist/ui-sticky.js +10 -11
- package/dist/ui-sticky.js.map +1 -1
- package/dist/ui-submenu.editor-NdjS0em-.js +5 -0
- package/dist/ui-submenu.editor-NdjS0em-.js.map +1 -0
- package/dist/ui-summary.editor-CCHS1mVz.js +5 -0
- package/dist/ui-summary.editor-CCHS1mVz.js.map +1 -0
- package/dist/ui-tab.editor-DCS-gCZV.js +5 -0
- package/dist/ui-tab.editor-DCS-gCZV.js.map +1 -0
- package/dist/ui-tab.js +115 -117
- package/dist/ui-tab.js.map +1 -1
- package/dist/ui-table.editor-DJvfg9oG.js +5 -0
- package/dist/ui-table.editor-DJvfg9oG.js.map +1 -0
- package/dist/ui-table.js +272 -272
- package/dist/ui-table.js.map +1 -1
- package/dist/ui-tabs.editor-waeMoFNM.js +5 -0
- package/dist/ui-tabs.editor-waeMoFNM.js.map +1 -0
- package/dist/ui-term.editor-BMCF3jBM.js +5 -0
- package/dist/ui-term.editor-BMCF3jBM.js.map +1 -0
- package/dist/ui-terms.editor-BLfVVsjI.js +5 -0
- package/dist/ui-terms.editor-BLfVVsjI.js.map +1 -0
- package/dist/ui-terms.js +13 -12
- package/dist/ui-terms.js.map +1 -1
- package/dist/ui-text.editor-B6AENK13.js +5 -0
- package/dist/ui-text.editor-B6AENK13.js.map +1 -0
- package/dist/ui-text.js +37 -36
- package/dist/ui-text.js.map +1 -1
- package/dist/ui-textarea.editor-C25lVwrF.js +5 -0
- package/dist/ui-textarea.editor-C25lVwrF.js.map +1 -0
- package/dist/ui-theme-editor.editor-CQGAgy-Q.js +5 -0
- package/dist/ui-theme-editor.editor-CQGAgy-Q.js.map +1 -0
- package/dist/ui-theme-editor.js +448 -461
- package/dist/ui-theme-editor.js.map +1 -1
- package/dist/{ui-theme-menu-CuIjr8Ou.js → ui-theme-menu-BZYUMrHe.js} +356 -352
- package/dist/ui-theme-menu-BZYUMrHe.js.map +1 -0
- package/dist/ui-theme-menu.editor-DNeI-hxN.js +5 -0
- package/dist/ui-theme-menu.editor-DNeI-hxN.js.map +1 -0
- package/dist/ui-theme-token.editor-C2YAdEye.js +5 -0
- package/dist/ui-theme-token.editor-C2YAdEye.js.map +1 -0
- package/dist/ui-title.editor-40PZSOpn.js +5 -0
- package/dist/ui-title.editor-40PZSOpn.js.map +1 -0
- package/dist/ui-toast.editor-BDmIUsU_.js +5 -0
- package/dist/ui-toast.editor-BDmIUsU_.js.map +1 -0
- package/dist/ui-toast.js +125 -128
- package/dist/ui-toast.js.map +1 -1
- package/dist/ui-toc.editor-D_S1KFY_.js +5 -0
- package/dist/ui-toc.editor-D_S1KFY_.js.map +1 -0
- package/dist/ui-toc.js +52 -53
- package/dist/ui-toc.js.map +1 -1
- package/dist/ui-toolbar.editor-CNQ8nJmR.js +5 -0
- package/dist/ui-toolbar.editor-CNQ8nJmR.js.map +1 -0
- package/dist/ui-toolbar.js +254 -50
- package/dist/ui-toolbar.js.map +1 -1
- package/dist/ui-transition.editor-8SQkDkZ6.js +5 -0
- package/dist/ui-transition.editor-8SQkDkZ6.js.map +1 -0
- package/dist/ui-transition.js +13 -14
- package/dist/ui-transition.js.map +1 -1
- package/dist/ui-tree-diagram.editor-DkEK8i7J.js +5 -0
- package/dist/ui-tree-diagram.editor-DkEK8i7J.js.map +1 -0
- package/dist/ui-tree-diagram.js +128 -127
- package/dist/ui-tree-diagram.js.map +1 -1
- package/dist/ui-tree-item.editor-C4fuAlbJ.js +5 -0
- package/dist/ui-tree-item.editor-C4fuAlbJ.js.map +1 -0
- package/dist/ui-tree-node.editor-CB1z_w9F.js +5 -0
- package/dist/ui-tree-node.editor-CB1z_w9F.js.map +1 -0
- package/dist/ui-tree.editor-BoQztwdz.js +5 -0
- package/dist/ui-tree.editor-BoQztwdz.js.map +1 -0
- package/dist/ui-tree.js +393 -134
- package/dist/ui-tree.js.map +1 -1
- package/dist/ui-value.editor-CYak24cr.js +5 -0
- package/dist/ui-value.editor-CYak24cr.js.map +1 -0
- package/dist/ui-video.editor-CuWtFVjR.js +5 -0
- package/dist/ui-video.editor-CuWtFVjR.js.map +1 -0
- package/dist/ui-video.js +15 -14
- package/dist/ui-video.js.map +1 -1
- package/dist/ui-visibility.editor-Crx0DTlv.js +5 -0
- package/dist/ui-visibility.editor-Crx0DTlv.js.map +1 -0
- package/dist/ui-visibility.js +25 -26
- package/dist/ui-visibility.js.map +1 -1
- package/dist/ui-zoom.editor-DZ3HsWV4.js +5 -0
- package/dist/ui-zoom.editor-DZ3HsWV4.js.map +1 -0
- package/dist/ui-zoom.js +82 -83
- package/dist/ui-zoom.js.map +1 -1
- package/dist/util/TopLayerTip.d.ts +11 -2
- package/dist/vocabulary/SharedVocabulary.d.ts +2 -0
- package/dist/vocabulary/SharedVocabulary.es.d.ts +1 -0
- package/dist/vocabulary/help.generated.d.ts +11 -0
- package/dist/vocabulary/partsOfSpeech.generated.d.ts +6 -0
- package/package.json +3 -3
- package/dist/Dragging-CMZoLEWQ.js.map +0 -1
- package/dist/MarkdownSanitizer-zTnnbrLe.js +0 -884
- package/dist/MarkdownSanitizer-zTnnbrLe.js.map +0 -1
- package/dist/PrefStore-Qv0e5y04.js.map +0 -1
- package/dist/ScrollingRow-7n7Z-HIE.js +0 -88
- package/dist/ScrollingRow-7n7Z-HIE.js.map +0 -1
- package/dist/SitePages-CciwREek.js.map +0 -1
- package/dist/SlottedItems-Du3aJwG1.js +0 -80
- package/dist/SlottedItems-Du3aJwG1.js.map +0 -1
- package/dist/UIButton-DFEds67r.js +0 -6
- package/dist/UIButton-DFEds67r.js.map +0 -1
- package/dist/UIInput-BodVbUoQ.js.map +0 -1
- package/dist/UIKeys-Rh_gUZjP.js.map +0 -1
- package/dist/UILabel-DgJUBzB_.js.map +0 -1
- package/dist/UIMenu-zdcAtwTa.js +0 -42
- package/dist/UIMenu-zdcAtwTa.js.map +0 -1
- package/dist/UIRuntime-KH309p5B.js.map +0 -1
- package/dist/UISegment-CMMIW7cZ.js.map +0 -1
- package/dist/apple.palette-B4ivrNlM.js.map +0 -1
- package/dist/classic-DCTQrteU.js.map +0 -1
- package/dist/components.es-BOa_7gFF.js.map +0 -1
- package/dist/crisp-VfYZlTph.js.map +0 -1
- package/dist/crisp.theme-DRiePRdf.js +0 -6
- package/dist/crisp.theme-DRiePRdf.js.map +0 -1
- package/dist/dark-CbUdPe0a.js.map +0 -1
- package/dist/dist-BLYIGZVK.js.map +0 -1
- package/dist/emoji/cldr/0-DSUpV2d7.js.map +0 -1
- package/dist/emoji/cldr/a-D_oB4vJ-.js.map +0 -1
- package/dist/emoji/cldr/b-DX0W0Mda.js.map +0 -1
- package/dist/emoji/cldr/c-DUHidpE9.js.map +0 -1
- package/dist/emoji/cldr/d-CiCXZXay.js.map +0 -1
- package/dist/emoji/cldr/e-DILJo3Ri.js.map +0 -1
- package/dist/emoji/cldr/f-ByGFLyOq.js.map +0 -1
- package/dist/emoji/cldr/g-BZ0FRsud.js.map +0 -1
- package/dist/emoji/cldr/h-jtLdvRXQ.js.map +0 -1
- package/dist/emoji/cldr/i-DcbJ5utE.js.map +0 -1
- package/dist/emoji/cldr/j-BuEqP5nz.js.map +0 -1
- package/dist/emoji/cldr/k-P1J6Gvze.js.map +0 -1
- package/dist/emoji/cldr/l-28XcbsPr.js.map +0 -1
- package/dist/emoji/cldr/m-DKgGJ8rW.js.map +0 -1
- package/dist/emoji/cldr/n-DmPLP4F3.js.map +0 -1
- package/dist/emoji/cldr/o-f98nt3s7.js.map +0 -1
- package/dist/emoji/cldr/p-CxnsOTOt.js.map +0 -1
- package/dist/emoji/cldr/r-D0GPRJ-Q.js.map +0 -1
- package/dist/emoji/cldr/s-DcFuepnw.js.map +0 -1
- package/dist/emoji/cldr/t-BvHgGpUr.js.map +0 -1
- package/dist/emoji/cldr/u-ChFYHtUf.js.map +0 -1
- package/dist/emoji/cldr/v-WmX3nWtZ.js.map +0 -1
- package/dist/emoji/cldr/w-BPySQUWW.js.map +0 -1
- package/dist/emoji/cldr/x-SC3r1n9O.js +0 -6
- package/dist/emoji/cldr/x-SC3r1n9O.js.map +0 -1
- package/dist/emoji/cldr/y-zB_yhTFg.js.map +0 -1
- package/dist/emoji/cldr/z-BgJ94Cap.js.map +0 -1
- package/dist/emoji/fomantic/0-CGf6gC3a.js +0 -10
- package/dist/emoji/fomantic/0-CGf6gC3a.js.map +0 -1
- package/dist/emoji/fomantic/a-CrqYlC21.js.map +0 -1
- package/dist/emoji/fomantic/b-DneVHRdQ.js.map +0 -1
- package/dist/emoji/fomantic/c-ClxKRuir.js.map +0 -1
- package/dist/emoji/fomantic/d-Djqs_y4s.js.map +0 -1
- package/dist/emoji/fomantic/e-CuF-jOQd.js.map +0 -1
- package/dist/emoji/fomantic/f-D8VglrJ4.js.map +0 -1
- package/dist/emoji/fomantic/g-Du_HFl6U.js.map +0 -1
- package/dist/emoji/fomantic/h-CLE5tHnM.js.map +0 -1
- package/dist/emoji/fomantic/i-BjOsrQDZ.js.map +0 -1
- package/dist/emoji/fomantic/j-CyUDXKCu.js.map +0 -1
- package/dist/emoji/fomantic/k-Clypg4R8.js.map +0 -1
- package/dist/emoji/fomantic/l-DvLPdBh-.js.map +0 -1
- package/dist/emoji/fomantic/m-B1lIb1kP.js.map +0 -1
- package/dist/emoji/fomantic/n-Bgpp_ht5.js.map +0 -1
- package/dist/emoji/fomantic/o-BhYZzpjp.js.map +0 -1
- package/dist/emoji/fomantic/p-VLL0GK3m.js.map +0 -1
- package/dist/emoji/fomantic/q-CKrtMwhc.js +0 -6
- package/dist/emoji/fomantic/q-CKrtMwhc.js.map +0 -1
- package/dist/emoji/fomantic/r-Bd1DjkkI.js.map +0 -1
- package/dist/emoji/fomantic/s-Bqatw1W7.js.map +0 -1
- package/dist/emoji/fomantic/t-Bs7IFhv3.js.map +0 -1
- package/dist/emoji/fomantic/u-M6GfYC-U.js.map +0 -1
- package/dist/emoji/fomantic/v-BKHNqkn0.js.map +0 -1
- package/dist/emoji/fomantic/w-B_XvIu7h.js.map +0 -1
- package/dist/emoji/fomantic/x-CG1_nzCF.js +0 -9
- package/dist/emoji/fomantic/x-CG1_nzCF.js.map +0 -1
- package/dist/emoji/fomantic/y-DPZaoIla.js.map +0 -1
- package/dist/emoji/fomantic/z-FH-kPXch.js.map +0 -1
- package/dist/fruity-BRVlgJZd.js +0 -6
- package/dist/fruity-BRVlgJZd.js.map +0 -1
- package/dist/fruity.theme-CbC7Jyvk.js.map +0 -1
- package/dist/glass-x9tbbwVq.js +0 -6
- package/dist/glass-x9tbbwVq.js.map +0 -1
- package/dist/glass.theme-24wY2wH9.js +0 -6
- package/dist/glass.theme-24wY2wH9.js.map +0 -1
- package/dist/matrix-QY2gWbJ0.js +0 -6
- package/dist/matrix-QY2gWbJ0.js.map +0 -1
- package/dist/matrix.theme-_8xtwhDq.js +0 -6
- package/dist/matrix.theme-_8xtwhDq.js.map +0 -1
- package/dist/merlot-DOXLuUaU.js.map +0 -1
- package/dist/merlot.theme-S-QnNGsw.js +0 -6
- package/dist/merlot.theme-S-QnNGsw.js.map +0 -1
- package/dist/midnight-BxlTQSfw.js.map +0 -1
- package/dist/midnight.theme-wXbqRYLy.js +0 -6
- package/dist/midnight.theme-wXbqRYLy.js.map +0 -1
- package/dist/mockup-83ELBuVr.js +0 -6
- package/dist/mockup-83ELBuVr.js.map +0 -1
- package/dist/mockup.theme-DmpBgGBl.js +0 -6
- package/dist/mockup.theme-DmpBgGBl.js.map +0 -1
- package/dist/paper-M61nUilz.js.map +0 -1
- package/dist/paper.theme-B8R5Jn5H.js +0 -6
- package/dist/paper.theme-B8R5Jn5H.js.map +0 -1
- package/dist/persist.types-D2m6wD-S.js.map +0 -1
- package/dist/pop-CxXfytjk.js.map +0 -1
- package/dist/pop.theme-CXzv8B9x.js +0 -6
- package/dist/pop.theme-CXzv8B9x.js.map +0 -1
- package/dist/search-CzSzx7bX.js.map +0 -1
- package/dist/spell-By5Y3jKP.js +0 -6
- package/dist/spell-By5Y3jKP.js.map +0 -1
- package/dist/spell.theme-DxGj7qHx.js +0 -6
- package/dist/spell.theme-DxGj7qHx.js.map +0 -1
- package/dist/styles.en-CUUxNwHo.js.map +0 -1
- package/dist/ui-theme-menu-CuIjr8Ou.js.map +0 -1
package/dist/ui-tree.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import "./rolldown-runtime-
|
|
2
|
-
import {
|
|
1
|
+
import "./rolldown-runtime-c6e9CmGy.js";
|
|
2
|
+
import { Disclosure as e, Gt as t, Jt as n, Kt as r, ListSelection as i, OwnControls as a, UI as o, UIComponent as s, Ut as c, Wt as l, Yt as u, afterSolidUpdate as ee, aria as d, beforeNextPaint as f, commaList as te, controlled as ne, cssState as p, isSameList as re, on as ie, onChange as m, proto as ae, protoMerged as oe, qt as h, scrollIntoSight as se, scrollingBoxFor as ce, state as g, untracked as le, watches as ue } from "./core.js";
|
|
3
|
+
import { t as de } from "./Dragging-B93hbRxF.js";
|
|
4
|
+
import { t as fe } from "./PrefStore-Di83C0bY.js";
|
|
3
5
|
import "./ui-icon.js";
|
|
4
6
|
import "./ui-label.js";
|
|
5
|
-
import { For as
|
|
6
|
-
import { addEvent as
|
|
7
|
-
|
|
8
|
-
var
|
|
7
|
+
import { For as pe, Show as _ } from "solid-js";
|
|
8
|
+
import { addEvent as me, className as he, createComponent as v, delegateEvents as ge, effect as y, getOwner as b, insert as x, isServer as S, readShallow as _e, setAttribute as C, setStyleProperty as w, style as ve, template as T } from "@solidjs/web";
|
|
9
|
+
// src/components/ui-tree/UITree.en.ts
|
|
10
|
+
var ye = {
|
|
9
11
|
tag: "ui-tree",
|
|
10
12
|
icon: "sitemap",
|
|
11
13
|
topics: ["lists", "navigation"],
|
|
@@ -18,6 +20,7 @@ var _e = {
|
|
|
18
20
|
"folder list"
|
|
19
21
|
],
|
|
20
22
|
noun: "tree",
|
|
23
|
+
partOfSpeech: "structure",
|
|
21
24
|
description: "A tree shows rows nested in rows, which open and close, and can be selected one or many at a time.",
|
|
22
25
|
skeleton: "3 line paragraph",
|
|
23
26
|
attributes: [
|
|
@@ -48,8 +51,14 @@ var _e = {
|
|
|
48
51
|
name: "appearance",
|
|
49
52
|
group: "appearance",
|
|
50
53
|
kind: "valueOnly",
|
|
51
|
-
values: ["nav"],
|
|
52
|
-
description: "`nav`: a site's side navigation, as the docs site's is: taller rows, a selected row a rounded box in the primary colour, the open-and-close chevron at a row's end, and `band` rows as heading bands."
|
|
54
|
+
values: ["nav", "columns"],
|
|
55
|
+
description: "`nav`: a site's side navigation, as the docs site's is: taller rows, a selected row a rounded box in the primary colour, the open-and-close chevron at a row's end, and `band` rows as heading bands. `columns`: a column per level, side by side, as a Mac's Finder shows folders: picking a row shows the rows inside it in the next column, and closes the columns after that."
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: "column-titles",
|
|
59
|
+
group: "appearance",
|
|
60
|
+
kind: "string",
|
|
61
|
+
description: "`appearance=\"columns\"`: a title over each column, by level, separated by commas (`Clients, Projects, Files`); the last one names every column deeper than the list goes. None: no titles."
|
|
53
62
|
},
|
|
54
63
|
{
|
|
55
64
|
name: "sticky-path",
|
|
@@ -89,19 +98,30 @@ var _e = {
|
|
|
89
98
|
description: "`sticky-path`: each row's name in the path."
|
|
90
99
|
}
|
|
91
100
|
],
|
|
92
|
-
states: [
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
101
|
+
states: [
|
|
102
|
+
{
|
|
103
|
+
name: "filtering",
|
|
104
|
+
description: "It has a `filter`."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
name: "no-matches",
|
|
108
|
+
description: "Its `filter` matches no row."
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
name: "columns",
|
|
112
|
+
description: "Its `appearance` is `columns`: a column per level, side by side."
|
|
113
|
+
}
|
|
114
|
+
],
|
|
99
115
|
texts: [{
|
|
100
116
|
key: "noMatches",
|
|
101
117
|
text: "Nothing matches",
|
|
102
118
|
description: "Shown when `filter` matches no row and no `empty` is given."
|
|
119
|
+
}, {
|
|
120
|
+
key: "resizeColumn",
|
|
121
|
+
text: "Resize this column",
|
|
122
|
+
description: "`appearance=\"columns\"`: the name of the line after a column, for a screen reader."
|
|
103
123
|
}]
|
|
104
|
-
},
|
|
124
|
+
}, be = {
|
|
105
125
|
tag: "ui-tree-item",
|
|
106
126
|
icon: "circle outline",
|
|
107
127
|
topics: ["lists", "navigation"],
|
|
@@ -111,6 +131,7 @@ var _e = {
|
|
|
111
131
|
"outline row"
|
|
112
132
|
],
|
|
113
133
|
noun: "tree item",
|
|
134
|
+
partOfSpeech: "action",
|
|
114
135
|
description: "One row of a tree: an icon and a label, with the rows inside it, which it opens and closes.",
|
|
115
136
|
skeleton: "line",
|
|
116
137
|
attributes: [
|
|
@@ -166,8 +187,12 @@ var _e = {
|
|
|
166
187
|
name: "band",
|
|
167
188
|
group: "appearance",
|
|
168
189
|
kind: "valueOnly",
|
|
169
|
-
values: [
|
|
170
|
-
|
|
190
|
+
values: [
|
|
191
|
+
"heading",
|
|
192
|
+
"subheading",
|
|
193
|
+
"group"
|
|
194
|
+
],
|
|
195
|
+
description: "The row is a heading band over the rows inside it, in a tree whose `appearance` is `nav`: `heading`, a tinted band that stays at the top while its rows scroll; `subheading`, a lighter one inside it; `group`, a group's quiet label, with no arrow."
|
|
171
196
|
},
|
|
172
197
|
{
|
|
173
198
|
name: "count",
|
|
@@ -257,6 +282,10 @@ var _e = {
|
|
|
257
282
|
{
|
|
258
283
|
name: "nav",
|
|
259
284
|
description: "Its tree's `appearance` is `nav`: it takes the side navigation's look."
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
name: "in-columns",
|
|
288
|
+
description: "Its tree's `appearance` is `columns`: it's a row in one of its columns, and its rows the next one."
|
|
260
289
|
}
|
|
261
290
|
],
|
|
262
291
|
texts: [{
|
|
@@ -268,14 +297,30 @@ var _e = {
|
|
|
268
297
|
text: "Close",
|
|
269
298
|
description: "The triangle's name, open."
|
|
270
299
|
}]
|
|
271
|
-
}, C = "@layer ui.components{:host{--_ui-tree-indent:var(--ui-tree-indent,12px);--_ui-tree-row-height:var(--ui-tree-row-height,22px);--_ui-tree-gap:var(--ui-tree-gap,4px);--_ui-tree-hover-background:var(--ui-tree-hover-background,color-mix(in oklab, var(--ui-primary) 6%, transparent));--_ui-tree-selected-background:var(--ui-tree-selected-background,var(--ui-primary-background));--_ui-tree-selected-color:var(--ui-tree-selected-color,var(--ui-primary-text,var(--ui-text-color)));--_ui-tree-muted-color:var(--ui-tree-muted-color,var(--ui-text-muted));--_ui-tree-path-background:var(--ui-tree-path-background,var(--ui-background));min-width:0;color:var(--ui-text-color);cursor:var(--ui-control-cursor);overflow-anchor:none;outline:none;display:block}:host(:state(filtered-out)),:host(:state(filtering)) ::slotted(:not([label])){display:none}.empty{color:var(--_ui-tree-muted-color);padding:.5em 8px}.path{z-index:1;align-items:center;gap:var(--_ui-tree-gap);box-sizing:border-box;height:var(--_ui-tree-row-height);white-space:nowrap;background:var(--_ui-tree-path-background);backdrop-filter:blur(12px);border-block-end:1px solid var(--ui-border-color);color:var(--_ui-tree-muted-color);margin-block-end:calc(var(--_ui-tree-row-height) * -1);padding-inline:8px;display:flex;position:sticky;top:0;overflow:hidden}.path-row{text-overflow:ellipsis;flex:0 auto;min-width:1.5em;overflow:hidden}.path-row:last-child{min-width:0;color:var(--ui-text-color)}.path-row:hover{color:var(--ui-text-color);text-decoration:underline}.separator{flex:none}.row{align-items:center;gap:var(--_ui-tree-gap);box-sizing:border-box;min-height:var(--_ui-tree-row-height);padding-inline:calc(8px + var(--_ui-tree-depth,0) * var(--_ui-tree-indent)) 8px;white-space:nowrap;display:flex}.row:hover{background:var(--_ui-tree-hover-background)}:host(:state(selected))>.row{background:var(--_ui-tree-selected-background);color:var(--_ui-tree-selected-color)}:host(:focus-visible)>.row{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:calc(var(--ui-focus-width) * -1)}.toggle{color:var(--_ui-tree-muted-color);flex:0 0 12px;justify-content:center;align-self:stretch;align-items:center;display:inline-flex}:host(:state(has-items))>.row>.toggle:before{content:\"\";clip-path:polygon(20% 5%,90% 50%,20% 95%);background:currentColor;width:.62em;height:.62em;transition:rotate .1s}:host(:state(has-items)[aria-expanded=true])>.row>.toggle:before,:host(:state(open):state(has-items))>.row>.toggle:before{rotate:90deg}.icon,::slotted([slot=icon]){color:var(--_ui-tree-muted-color);--ui-icon-width:1em;--ui-icon-distance:0;flex:none;margin:0}.label{text-overflow:ellipsis;flex:0 auto;gap:.33em;min-width:0;display:flex;overflow:hidden}.words{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.which{text-overflow:ellipsis;min-width:0;color:var(--_ui-tree-muted-color);flex:0 10 auto;overflow:hidden}.actions{align-items:center;gap:var(--_ui-tree-gap);margin-inline-start:auto;display:inline-flex}:host(:state(nav)){--_ui-tree-nav-border-color:var(--ui-tree-nav-border-color,light-dark(color-mix(in oklab, var(--ui-brown-background), var(--ui-brown) 9%),var(--ui-border-color)));--_ui-tree-nav-band-background:var(--ui-tree-nav-band-background,color-mix(in oklab, var(--ui-brown-background) 50%, light-dark(#fffdf8,var(--ui-surface))));--_ui-tree-nav-band-color:var(--ui-tree-nav-band-color,var(--ui-brown-text));--_ui-tree-nav-subheading-color:var(--ui-tree-nav-subheading-color,var(--ui-text-muted));--_ui-tree-nav-current-background:var(--ui-tree-nav-current-background,light-dark(var(--ui-primary-background),var(--ui-primary)));--_ui-tree-nav-current-color:var(--ui-tree-nav-current-color,light-dark(var(--ui-primary-text),var(--ui-primary-on)));--_ui-tree-nav-open-duration:var(--ui-tree-nav-open-duration,.32s);--_ui-tree-nav-close-duration:var(--ui-tree-nav-close-duration,.14s);--_ui-tree-nav-ease:var(--ui-tree-nav-ease,var(--ui-ease-out));--_ui-tree-indent:var(--ui-tree-indent,1em);--_ui-tree-hover-background:var(--ui-tree-hover-background,oklch(from var(--ui-text-dark) l c h / .06));line-height:1.25}:host(:state(nav))>.rows{grid-template-rows:1fr;display:grid}:host(:state(nav))>.rows.shut{grid-template-rows:0fr}:host(:state(nav))>.rows>.folded{min-height:0;overflow:hidden}:host(:state(nav))>.rows.shut>.folded{visibility:hidden}@media (prefers-reduced-motion:no-preference){:host(:state(nav))>.rows{transition:grid-template-rows var(--_ui-tree-nav-open-duration) var(--_ui-tree-nav-ease)}:host(:state(nav))>.rows.shut{transition-duration:var(--_ui-tree-nav-close-duration)}:host(:state(nav))>.rows.shut>.folded{transition:visibility 0s linear var(--_ui-tree-nav-close-duration)}:host(:state(nav))>.row>.toggle{transition:opacity .15s ease-out}:host(:state(nav):state(has-items))>.row>.toggle:before{transition:rotate .2s var(--_ui-tree-nav-ease), translate .2s var(--_ui-tree-nav-ease)}}:host(:state(nav))>.row{min-height:2.25em;padding-block:.25em;padding-inline:calc(.75em + var(--_ui-tree-depth,0) * var(--_ui-tree-indent)) .75em;border-radius:var(--ui-radius-m);white-space:nowrap;gap:.75em;margin-inline:.571429em;font-size:.875em;font-weight:500}:host(:state(nav))>.row:hover{color:var(--ui-text-dark)}:host(:state(nav):state(selected))>.row{background:var(--_ui-tree-nav-current-background);color:var(--_ui-tree-nav-current-color)}:host(:state(nav):state(selected))>.row .icon,:host(:state(nav):state(selected))>.row>::slotted([slot=icon]){color:inherit}:host(:state(nav):state(band))>.rows>.folded>slot{padding-block:.375em;display:block}:host(:state(nav):not(:state(band))){margin-block-end:1px}:host(:state(nav)[band=subheading]:first-child){margin-block-start:-.375em}:host(:state(nav)[band=subheading]:last-child){margin-block-end:-.375em}:host(:state(nav)) .icon,:host(:state(nav)) ::slotted([slot=icon]){text-align:center;--ui-icon-width:1.25em;width:1.25em;font-size:1.05em}.count::part(label),.badge::part(label){flex:none;margin:0}:host(:state(nav))>.row>.toggle{opacity:.55;flex-basis:1em;order:99;margin-inline:auto -.25em}:host(:state(nav))>.row:hover>.toggle,:host(:state(nav):focus-visible)>.row>.toggle{opacity:1}:host(:state(nav):state(has-items))>.row>.toggle:before{clip-path:none;background:0 0;border-block-end:1.5px solid;border-inline-end:1.5px solid;width:.45em;height:.45em;translate:0 -.1em;rotate:-45deg}:host(:state(nav):state(has-items)[aria-expanded=true])>.row>.toggle:before,:host(:state(nav):state(open):state(has-items))>.row>.toggle:before{translate:0 -.2em;rotate:45deg}:host(:state(nav))>.row.heading{z-index:1;border-block-start:1px solid var(--_ui-tree-nav-border-color);background:linear-gradient(var(--_ui-tree-nav-band-background), var(--_ui-tree-nav-band-background)), var(--ui-background);min-height:2.25em;color:var(--_ui-tree-nav-band-color);font:var(--ui-font-weight-bold) .75em / 1 var(--ui-font-family);letter-spacing:.01em;text-transform:uppercase;border-radius:0;gap:.5em;margin:0;padding:.25em 1em;position:sticky;top:0}:host(:state(nav):first-child)>.row.heading{border-block-start:0}:host(:state(nav))>.row.heading>.toggle,:host(:state(nav))>.row.subheading>.toggle{font-size:1.3em}:host(:state(nav))>.row.subheading{border-block-start:1px solid color-mix(in oklab, var(--_ui-tree-nav-border-color) 60%, transparent);min-height:2em;color:var(--_ui-tree-nav-subheading-color);font:500 .6875em / 1 var(--ui-font-family-mono);letter-spacing:.12em;text-transform:uppercase;border-radius:0;gap:.5em;margin:0;padding:.25em 1em}:host(:state(nav))>.row.subheading:hover{color:var(--ui-text-dark)}:host(:state(nav))>.row.heading .count::part(label),:host(:state(nav))>.row.subheading .count::part(label){font-family:var(--ui-font-family);letter-spacing:0}:host(:state(nav):state(band))>.row:hover{background-color:#0000}:host(:state(nav):state(band):focus-visible)>.row{outline-offset:calc(var(--ui-focus-width) * -1)}}", ye = /* @__PURE__ */ S("<div><span class=toggle aria-hidden=true></span><slot name=icon></slot><span class=label><slot name=label><span class=words></span></slot></span><!><span class=actions><slot name=actions>"), be = /* @__PURE__ */ S("<div class=rows role=group><div class=folded><slot>"), xe = /* @__PURE__ */ S("<ui-icon class=icon>", 1), Se = /* @__PURE__ */ S("<span class=which>"), Ce = /* @__PURE__ */ S("<ui-label class=count size=mini appearance=circular>", 1), we = /* @__PURE__ */ S("<ui-label class=badge size=mini color=yellow appearance=basic>", 1), w, T, E, D, O, k, A, j, M, N, P, F, I, L, Te, Ee, R, z, B, V, H, U, W, G, K = class _UITreeItem extends (R = c, Ee = [ie], Te = [ae], L = [f("open"), te("open")], I = [h], F = [h], P = [f("nav"), h], N = [f("band")], M = [h, f("filtered-out")], j = [h], A = [ce({ childList: !0 })], k = [f("has-items")], O = [d("expanded")], D = [d("selected")], E = [d("level")], T = [se], w = [p("selected", { defer: !0 })], R) {
|
|
300
|
+
}, xe = "@layer ui.components{:host{--_ui-tree-indent:var(--ui-tree-indent,12px);--_ui-tree-row-height:var(--ui-tree-row-height,22px);--_ui-tree-gap:var(--ui-tree-gap,4px);--_ui-tree-hover-background:var(--ui-tree-hover-background,color-mix(in oklab, var(--ui-primary) 6%, transparent));--_ui-tree-selected-background:var(--ui-tree-selected-background,var(--ui-primary-background));--_ui-tree-selected-color:var(--ui-tree-selected-color,var(--ui-primary-text,var(--ui-text-color)));--_ui-tree-muted-color:var(--ui-tree-muted-color,var(--ui-text-muted));--_ui-tree-path-background:var(--ui-tree-path-background,var(--ui-background));min-width:0;color:var(--ui-text-color);cursor:var(--ui-control-cursor);overflow-anchor:none;outline:none;display:block}:host(:state(filtered-out)),:host(:state(filtering)) ::slotted(:not([label])){display:none}.empty{color:var(--_ui-tree-muted-color);padding:.5em 8px}.path{z-index:1;align-items:center;gap:var(--_ui-tree-gap);box-sizing:border-box;height:var(--_ui-tree-row-height);white-space:nowrap;background:var(--_ui-tree-path-background);backdrop-filter:blur(12px);border-block-end:1px solid var(--ui-border-color);color:var(--_ui-tree-muted-color);margin-block-end:calc(var(--_ui-tree-row-height) * -1);padding-inline:8px;display:flex;position:sticky;top:0;overflow:hidden}.path-row{text-overflow:ellipsis;flex:0 auto;min-width:1.5em;overflow:hidden}.path-row:last-child{min-width:0;color:var(--ui-text-color)}.path-row:hover{color:var(--ui-text-color);text-decoration:underline}.separator{flex:none}.row{align-items:center;gap:var(--_ui-tree-gap);box-sizing:border-box;min-height:var(--_ui-tree-row-height);padding-inline:calc(8px + var(--_ui-tree-depth,0) * var(--_ui-tree-indent)) 8px;white-space:nowrap;display:flex}.row:hover{background:var(--_ui-tree-hover-background)}:host(:state(selected))>.row{background:var(--_ui-tree-selected-background);color:var(--_ui-tree-selected-color)}:host(:focus-visible)>.row{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:calc(var(--ui-focus-width) * -1)}.toggle{color:var(--_ui-tree-muted-color);flex:0 0 12px;justify-content:center;align-self:stretch;align-items:center;display:inline-flex}:host(:state(has-items))>.row>.toggle:before{content:\"\";clip-path:polygon(20% 5%,90% 50%,20% 95%);background:currentColor;width:.62em;height:.62em;transition:rotate .1s}:host(:state(has-items)[aria-expanded=true])>.row>.toggle:before,:host(:state(open):state(has-items))>.row>.toggle:before{rotate:90deg}.icon,::slotted([slot=icon]){color:var(--_ui-tree-muted-color);--ui-icon-width:1em;--ui-icon-distance:0;flex:none;margin:0}.label{text-overflow:ellipsis;flex:0 auto;gap:.33em;min-width:0;display:flex;overflow:hidden}.words{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.which{text-overflow:ellipsis;min-width:0;color:var(--_ui-tree-muted-color);flex:0 10 auto;overflow:hidden}.actions{align-items:center;gap:var(--_ui-tree-gap);margin-inline-start:auto;display:inline-flex}:host(:state(nav)){--_ui-tree-nav-border-color:var(--ui-tree-nav-border-color,light-dark(color-mix(in oklab, var(--ui-brown-background), var(--ui-brown) 9%),var(--ui-border-color)));--_ui-tree-nav-band-background:var(--ui-tree-nav-band-background,color-mix(in oklab, var(--ui-brown-background) 50%, light-dark(#fffdf8,var(--ui-surface))));--_ui-tree-nav-band-color:var(--ui-tree-nav-band-color,var(--ui-brown-text));--_ui-tree-nav-subheading-color:var(--ui-tree-nav-subheading-color,var(--ui-text-muted));--_ui-tree-nav-current-background:var(--ui-tree-nav-current-background,light-dark(var(--ui-primary-background),var(--ui-primary)));--_ui-tree-nav-current-color:var(--ui-tree-nav-current-color,light-dark(var(--ui-primary-text),var(--ui-primary-on)));--_ui-tree-nav-open-duration:var(--ui-tree-nav-open-duration,.32s);--_ui-tree-nav-close-duration:var(--ui-tree-nav-close-duration,.14s);--_ui-tree-nav-ease:var(--ui-tree-nav-ease,var(--ui-ease-out));--_ui-tree-indent:var(--ui-tree-indent,1em);--_ui-tree-hover-background:var(--ui-tree-hover-background,oklch(from var(--ui-text-dark) l c h / .06));line-height:1.25}:host(:state(nav))>.rows{grid-template-rows:1fr;display:grid}:host(:state(nav))>.rows.shut{grid-template-rows:0fr}:host(:state(nav))>.rows>.folded{min-height:0;overflow:hidden}:host(:state(nav))>.rows.shut>.folded{visibility:hidden}@media (prefers-reduced-motion:no-preference){:host(:state(nav))>.rows{transition:grid-template-rows var(--_ui-tree-nav-open-duration) var(--_ui-tree-nav-ease)}:host(:state(nav))>.rows.shut{transition-duration:var(--_ui-tree-nav-close-duration)}:host(:state(nav))>.rows.shut>.folded{transition:visibility 0s linear var(--_ui-tree-nav-close-duration)}:host(:state(nav))>.row>.toggle{transition:opacity .15s ease-out}:host(:state(nav):state(has-items))>.row>.toggle:before{transition:rotate .2s var(--_ui-tree-nav-ease), translate .2s var(--_ui-tree-nav-ease)}}:host(:state(nav))>.row{min-height:round(2.25em, var(--ui-grid,4px));padding-block:.25em;padding-inline:calc(.75em + var(--_ui-tree-depth,0) * var(--_ui-tree-indent)) .75em;border-radius:var(--ui-radius-m);white-space:nowrap;gap:.75em;margin-inline:.571429em;font-size:.875em;font-weight:500}:host(:state(nav))>.row:hover{color:var(--ui-text-dark)}:host(:state(nav):state(selected))>.row{background:var(--_ui-tree-nav-current-background);color:var(--_ui-tree-nav-current-color)}:host(:state(nav):state(selected))>.row .icon,:host(:state(nav):state(selected))>.row>::slotted([slot=icon]){color:inherit}:host(:state(nav):state(band))>.rows>.folded>slot{padding-block:round(.375em, var(--ui-grid,4px));display:block}:host(:state(nav)[band=subheading]:first-child){margin-block-start:calc(-1 * round(.375em, var(--ui-grid,4px)))}:host(:state(nav)[band=subheading]:last-child){margin-block-end:calc(-1 * round(.375em, var(--ui-grid,4px)))}:host(:state(nav)) .icon,:host(:state(nav)) ::slotted([slot=icon]){text-align:center;--ui-icon-width:1.25em;width:1.25em;font-size:1.05em}.count::part(label),.badge::part(label){flex:none;margin:0}:host(:state(nav))>.row>.toggle{opacity:.55;flex-basis:1em;order:99;margin-inline:auto -.25em}:host(:state(nav))>.row:hover>.toggle,:host(:state(nav):focus-visible)>.row>.toggle{opacity:1}:host(:state(nav):state(has-items))>.row>.toggle:before{clip-path:none;background:0 0;border-block-end:1.5px solid;border-inline-end:1.5px solid;width:.45em;height:.45em;translate:0 -.1em;rotate:-45deg}:host(:state(nav):state(has-items)[aria-expanded=true])>.row>.toggle:before,:host(:state(nav):state(open):state(has-items))>.row>.toggle:before{translate:0 -.2em;rotate:45deg}:host(:state(nav))>.row.heading{z-index:1;border-block-start:1px solid var(--_ui-tree-nav-border-color);background:linear-gradient(var(--_ui-tree-nav-band-background), var(--_ui-tree-nav-band-background)), var(--ui-background);min-height:2.25em;color:var(--_ui-tree-nav-band-color);font:var(--ui-font-weight-bold) .75em / 1 var(--ui-font-family);letter-spacing:.01em;text-transform:uppercase;border-radius:0;gap:.5em;margin:0;padding:.25em 1em;position:sticky;top:0}:host(:state(nav):first-child)>.row.heading{border-block-start:0}:host(:state(nav))>.row.heading>.toggle,:host(:state(nav))>.row.subheading>.toggle{font-size:1.3em}:host(:state(nav))>.row.subheading{border-block-start:1px solid color-mix(in oklab, var(--_ui-tree-nav-border-color) 60%, transparent);min-height:2em;color:var(--_ui-tree-nav-subheading-color);font:500 .6875em / 1 var(--ui-font-family-mono);letter-spacing:.12em;text-transform:uppercase;border-radius:0;gap:.5em;margin:0;padding:.25em 1em}:host(:state(nav))>.row.subheading:hover{color:var(--ui-text-dark)}:host(:state(nav))>.row.heading .count::part(label),:host(:state(nav))>.row.subheading .count::part(label){font-family:var(--ui-font-family);letter-spacing:0}:host(:state(nav))>.row.group{min-height:round(2em, var(--ui-grid,4px));color:var(--_ui-tree-nav-subheading-color);margin-block-start:round(.5em, var(--ui-grid,4px));padding-block:.25em;padding-inline:.923077em .75em;font-size:.8125em;font-weight:500}:host(:state(nav):first-child)>.row.group{margin-block-start:0}:host(:state(nav))>.row.group>.toggle{display:none}:host(:state(nav))>.row.group:hover{color:var(--ui-text-dark)}:host(:state(nav):state(band))>.row:hover{background-color:#0000}:host(:state(nav):state(band):focus-visible)>.row{outline-offset:calc(var(--ui-focus-width) * -1)}}", E = "@layer ui.components{:host(:state(columns)){height:18em}.columns{--_ui-tree-column-width:var(--ui-tree-column-width,14em);--_ui-tree-title-height:calc(var(--_ui-tree-row-height) + 6px);box-sizing:border-box;contain:layout;height:100%;display:flex;overflow:auto hidden}.column{box-sizing:border-box;overflow-anchor:none;border-inline-end:1px solid var(--ui-border-color);flex:none;height:100%;overflow-y:auto}.column-edge{z-index:2;cursor:col-resize;touch-action:none;outline:none;width:7px;margin-inline-start:-4px;position:absolute;inset-block:0}.column-edge:after{content:\"\";width:1px;position:absolute;inset-block:0;inset-inline-start:3px}.column-edge:hover:after,.column-edge:active:after{background:color-mix(in oklab, var(--ui-text-color) 30%, var(--ui-border-color));width:2px;margin-inline-start:-.5px}.column-edge:focus-visible:after{width:var(--ui-focus-width);background:var(--ui-focus-color)}.column-probe{visibility:hidden;width:var(--_ui-tree-column-width);height:0;position:absolute}.column-title{z-index:1;box-sizing:border-box;height:var(--_ui-tree-title-height);border-block-end:1px solid var(--ui-border-color);background:var(--ui-background);color:var(--ui-text-muted);font-size:.85em;font-weight:var(--ui-font-weight-bold);text-overflow:ellipsis;white-space:nowrap;align-items:center;padding-inline:10px;display:flex;position:sticky;top:0;overflow:hidden}:host(:state(in-columns)){--_ui-tree-column-picked-background:var(--ui-tree-column-picked-background,color-mix(in oklab, var(--ui-text-color) 13%, transparent));--_ui-tree-column-selected-background:var(--ui-tree-column-selected-background,var(--ui-primary));--_ui-tree-column-selected-color:var(--ui-tree-column-selected-color,var(--ui-primary-on))}:host(:state(in-columns))>.row{border-radius:var(--ui-radius-s,4px);margin-inline:4px;padding-inline:6px 4px}:host(:state(in-columns):state(open))>.row{background:var(--_ui-tree-column-picked-background)}:host(:state(in-columns):state(selected))>.row{background:var(--_ui-tree-column-selected-background);color:var(--_ui-tree-column-selected-color)}:host(:state(in-columns):state(selected))>.row .icon,:host(:state(in-columns):state(selected))>.row>::slotted([slot=icon]),:host(:state(in-columns):state(selected))>.row .which,:host(:state(in-columns):state(selected))>.row>.toggle{color:inherit}:host(:state(in-columns))>.row>.toggle{flex-basis:1em;order:99;margin-inline-start:auto}:host(:state(in-columns):not(:state(has-items)))>.row>.toggle{visibility:hidden}:host(:state(in-columns):state(has-items))>.row>.toggle:before,:host(:state(in-columns):state(open):state(has-items))>.row>.toggle:before{clip-path:none;background:0 0;border-block-end:1.5px solid;border-inline-end:1.5px solid;width:.42em;height:.42em;transition:none;rotate:-45deg}:host(:state(in-columns):state(has-items):dir(rtl))>.row>.toggle:before{rotate:45deg}:host(:state(in-columns))>.row>.actions{margin-inline-start:0}:host(:state(in-columns))>.rows{box-sizing:border-box;width:var(--_ui-tree-column-own-width);overflow-anchor:none;border-inline-end:1px solid var(--ui-border-color);position:fixed;inset-block:0;inset-inline-start:var(--_ui-tree-column-start);overflow-y:auto}:host(:state(in-columns))>.rows>.folded>slot,.column>slot{padding-block:4px;display:block}}", Se = /* @__PURE__ */ T("<div><span class=toggle aria-hidden=true></span><slot name=icon></slot><span class=label><slot name=label><span class=words></span></slot></span><!><span class=actions><slot name=actions>"), Ce = /* @__PURE__ */ T("<div class=rows role=group><div class=folded><slot>"), we = /* @__PURE__ */ T("<ui-icon class=icon>", 1), Te = /* @__PURE__ */ T("<span class=which>"), Ee = /* @__PURE__ */ T("<ui-label class=count size=mini appearance=circular>", 1), De = /* @__PURE__ */ T("<ui-label class=badge size=mini color=yellow appearance=basic>", 1), Oe = /* @__PURE__ */ T("<div class=column-title aria-hidden=true>"), D, O, k, A, j, M, N, ke, Ae, je, Me, Ne, Pe, Fe, Ie, Le, Re, ze, P, F, I, L, R, z, B, V, H, U = class _UITreeItem extends (P = s, ze = [ae], Re = [oe], Le = [p("open"), ne("open")], Ie = [g], Fe = [g], Pe = [g], Ne = [p("in-columns")], Me = [p("nav"), g], je = [p("band")], Ae = [g, p("filtered-out")], ke = [g], N = [ue({ childList: !0 })], M = [p("has-items")], j = [d("expanded")], A = [d("selected")], k = [d("level")], O = [le], D = [m("selected", { defer: !0 })], P) {
|
|
272
301
|
constructor() {
|
|
273
|
-
super(...arguments),
|
|
302
|
+
super(...arguments), u(F, 5, this), h(this, I, u(F, 8, this, !1)), u(F, 11, this), n(this, "disclosure", new e({
|
|
274
303
|
component: this,
|
|
275
304
|
member: "isOpen"
|
|
276
|
-
})),
|
|
277
|
-
this.canOpen && (e.stopPropagation(), this.disclosure.toggle(e));
|
|
278
|
-
}, "onToggleClicked"))),
|
|
305
|
+
})), h(this, L, u(F, 12, this, 0)), u(F, 15, this), h(this, R, u(F, 16, this, 0)), u(F, 19, this), h(this, z, u(F, 20, this)), u(F, 23, this), h(this, B, u(F, 24, this, !1)), u(F, 27, this), h(this, V, u(F, 28, this, !1)), u(F, 31, this), h(this, H, u(F, 32, this, !1)), u(F, 35, this), n(this, "onToggleClicked", u(F, 44, this, /* @__PURE__ */ r((e) => {
|
|
306
|
+
this.canOpen && !this.isInColumns && (e.stopPropagation(), this.disclosure.toggle(e));
|
|
307
|
+
}, "onToggleClicked"))), u(F, 47, this);
|
|
308
|
+
}
|
|
309
|
+
get tree() {
|
|
310
|
+
return this.treeElement?.component;
|
|
311
|
+
}
|
|
312
|
+
get isInColumns() {
|
|
313
|
+
return !!this.tree?.isColumns;
|
|
314
|
+
}
|
|
315
|
+
get columnTitle() {
|
|
316
|
+
return this.isInColumns ? this.tree?.titleForColumn(this.depth + 1) : void 0;
|
|
317
|
+
}
|
|
318
|
+
get columnPlace() {
|
|
319
|
+
let { tree: e } = this;
|
|
320
|
+
if (this.isInColumns && e) return {
|
|
321
|
+
"--_ui-tree-column-start": e.columnStartCSS(this.depth + 1),
|
|
322
|
+
"--_ui-tree-column-own-width": e.columnWidthCSS(this.depth + 1)
|
|
323
|
+
};
|
|
279
324
|
}
|
|
280
325
|
get isBand() {
|
|
281
326
|
return !!this.band;
|
|
@@ -287,7 +332,7 @@ var _e = {
|
|
|
287
332
|
return this.hasRows || !!this.expandable;
|
|
288
333
|
}
|
|
289
334
|
get showsRows() {
|
|
290
|
-
return this.canOpen && (this.isOpen || this.isKeptOpen);
|
|
335
|
+
return this.canOpen && (this.isOpen || this.isKeptOpen && !this.isInColumns);
|
|
291
336
|
}
|
|
292
337
|
get drawsRows() {
|
|
293
338
|
return this.showsRows || this.isInNav && this.canOpen;
|
|
@@ -311,67 +356,77 @@ var _e = {
|
|
|
311
356
|
render() {
|
|
312
357
|
let e = this;
|
|
313
358
|
return [(() => {
|
|
314
|
-
var t =
|
|
315
|
-
return
|
|
359
|
+
var t = Se(), n = t.firstChild, r = n.nextSibling, i = r.nextSibling, a = i.firstChild, o = a.firstChild, s = i.nextSibling, c = s.nextSibling, l = c.firstChild;
|
|
360
|
+
return me(n, "click", e.onToggleClicked, !0), r._$owner = b(), x(r, v(_, {
|
|
316
361
|
get when() {
|
|
317
362
|
return e.icon;
|
|
318
363
|
},
|
|
319
364
|
children: (e) => (() => {
|
|
320
|
-
var t =
|
|
321
|
-
return t._$owner =
|
|
322
|
-
|
|
365
|
+
var t = we();
|
|
366
|
+
return t._$owner = b(), y(() => e(), (e) => {
|
|
367
|
+
C(t, "name", e);
|
|
323
368
|
}), t;
|
|
324
369
|
})()
|
|
325
|
-
})), a._$owner =
|
|
370
|
+
})), a._$owner = b(), x(o, () => e.label), x(a, v(_, {
|
|
326
371
|
get when() {
|
|
327
372
|
return e.which;
|
|
328
373
|
},
|
|
329
374
|
children: (e) => (() => {
|
|
330
|
-
var t =
|
|
331
|
-
return
|
|
375
|
+
var t = Te();
|
|
376
|
+
return x(t, e), t;
|
|
332
377
|
})()
|
|
333
|
-
}), null),
|
|
378
|
+
}), null), x(t, v(_, {
|
|
334
379
|
get when() {
|
|
335
380
|
return e.count;
|
|
336
381
|
},
|
|
337
382
|
children: (t) => (() => {
|
|
338
|
-
var n =
|
|
339
|
-
return n._$owner =
|
|
340
|
-
|
|
383
|
+
var n = Ee();
|
|
384
|
+
return n._$owner = b(), x(n, t), y(() => e.partForName("count"), (e) => {
|
|
385
|
+
C(n, "part", e);
|
|
341
386
|
}), n;
|
|
342
387
|
})()
|
|
343
|
-
}), s),
|
|
388
|
+
}), s), x(t, v(_, {
|
|
344
389
|
get when() {
|
|
345
390
|
return e.badge;
|
|
346
391
|
},
|
|
347
392
|
children: (t) => (() => {
|
|
348
|
-
var n =
|
|
349
|
-
return n._$owner =
|
|
350
|
-
|
|
393
|
+
var n = De();
|
|
394
|
+
return n._$owner = b(), x(n, t), y(() => e.partForName("badge"), (e) => {
|
|
395
|
+
C(n, "part", e);
|
|
351
396
|
}), n;
|
|
352
397
|
})()
|
|
353
|
-
}), c), l._$owner =
|
|
354
|
-
e:
|
|
398
|
+
}), c), l._$owner = b(), y(() => ({
|
|
399
|
+
e: _e(["row", e.band]),
|
|
355
400
|
t: e.partForName("row"),
|
|
356
|
-
a: e.indent,
|
|
401
|
+
a: e.isInColumns ? 0 : e.indent,
|
|
357
402
|
o: e.partForName("toggle"),
|
|
358
403
|
i: e.canOpen ? e.translationForKey(e.isOpen ? "close" : "open") : void 0,
|
|
359
404
|
n: e.partForName("label")
|
|
360
405
|
}), ({ e, t: r, a, o, i: s, n: c }, l) => {
|
|
361
|
-
|
|
406
|
+
he(t, e, l?.e), r !== l?.t && C(t, "part", r), a !== l?.a && w(t, "--_ui-tree-depth", a), o !== l?.o && C(n, "part", o), s !== l?.i && C(n, "title", s), c !== l?.n && C(i, "part", c);
|
|
362
407
|
}), t;
|
|
363
|
-
})(), _
|
|
408
|
+
})(), v(_, {
|
|
364
409
|
get when() {
|
|
365
410
|
return e.drawsRows;
|
|
366
411
|
},
|
|
367
412
|
get children() {
|
|
368
|
-
var t =
|
|
369
|
-
return
|
|
413
|
+
var t = Ce(), n = t.firstChild, r = n.firstChild;
|
|
414
|
+
return x(t, v(_, {
|
|
415
|
+
get when() {
|
|
416
|
+
return e.columnTitle;
|
|
417
|
+
},
|
|
418
|
+
children: (e) => (() => {
|
|
419
|
+
var t = Oe();
|
|
420
|
+
return x(t, e), t;
|
|
421
|
+
})()
|
|
422
|
+
}), n), r._$owner = b(), y(() => ({
|
|
370
423
|
e: !e.showsRows,
|
|
371
424
|
t: e.partForName("group"),
|
|
372
|
-
a: e.showsRows ? void 0 : ""
|
|
373
|
-
|
|
374
|
-
|
|
425
|
+
a: e.showsRows ? void 0 : "",
|
|
426
|
+
o: e.columnTitle,
|
|
427
|
+
i: _e(e.columnPlace)
|
|
428
|
+
}), ({ e, t: n, a: r, o: i, i: a }, o) => {
|
|
429
|
+
e !== o?.e && t.classList.toggle("shut", e), n !== o?.t && C(t, "part", n), r !== o?.a && C(t, "inert", r), i !== o?.o && C(t, "aria-label", i), ve(t, a, o?.i);
|
|
375
430
|
}), t;
|
|
376
431
|
}
|
|
377
432
|
})];
|
|
@@ -379,150 +434,256 @@ var _e = {
|
|
|
379
434
|
onConnect() {
|
|
380
435
|
super.onConnect();
|
|
381
436
|
let e = 0, t = 0, n = this.domElement.parentElement;
|
|
382
|
-
for (; n && n.localName === this.domElement.localName; n = n.parentElement) e++, n.hasAttribute(
|
|
383
|
-
this.depth = e, this.indent = t, this.isInNav = n?.getAttribute("appearance") ===
|
|
437
|
+
for (; n && n.localName === this.domElement.localName; n = n.parentElement) e++, n.hasAttribute(Ve) || t++;
|
|
438
|
+
this.depth = e, this.indent = t, this.isInNav = n?.getAttribute("appearance") === Be, this.treeElement = n || void 0, ee(() => this.tree?.rowConnected());
|
|
384
439
|
}
|
|
385
440
|
onSelectedChanged(e) {
|
|
386
|
-
e &&
|
|
441
|
+
e && se(this.domElement);
|
|
387
442
|
}
|
|
388
443
|
};
|
|
389
|
-
|
|
390
|
-
styleSheets: {
|
|
444
|
+
F = t(P), I = /* @__PURE__ */ new WeakMap(), L = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap(), B = /* @__PURE__ */ new WeakMap(), V = /* @__PURE__ */ new WeakMap(), H = /* @__PURE__ */ new WeakMap(), c(F, 4, "isOpen", Le, U, I), c(F, 4, "depth", Ie, U, L), c(F, 4, "indent", Fe, U, R), c(F, 4, "treeElement", Pe, U, z), c(F, 2, "isInColumns", Ne, U), c(F, 4, "isInNav", Me, U, B), c(F, 2, "isBand", je, U), c(F, 4, "isFilteredOut", Ae, U, V), c(F, 4, "isKeptOpen", ke, U, H), c(F, 2, "hasRows", N, U), c(F, 2, "canOpen", M, U), c(F, 2, "ariaOpen", j, U), c(F, 2, "ariaIsSelected", A, U), c(F, 2, "ariaDepth", k, U), c(F, 1, "onSelectedChanged", D, U), c(F, 13, "vocabulary", ze, U), c(F, 13, "elementSetup", Re, U), c(F, 5, "onToggleClicked", O, U), l(F, U), r(U, "UITreeItem"), n(U, "vocabulary", u(F, 36, U, be)), u(F, 39, U), n(U, "elementSetup", u(F, 40, U, {
|
|
445
|
+
styleSheets: {
|
|
446
|
+
tree: xe,
|
|
447
|
+
columns: E
|
|
448
|
+
},
|
|
391
449
|
delegatesFocus: !1,
|
|
392
450
|
aria: { role: "treeitem" },
|
|
393
451
|
cssStates: ["selected"]
|
|
394
|
-
})),
|
|
395
|
-
var
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
var ke = /* @__PURE__ */ S("<div class=path aria-hidden=true>"), Ae = /* @__PURE__ */ S("<slot>"), je = /* @__PURE__ */ S("<div class=empty><slot name=empty>"), Me = /* @__PURE__ */ S("<span class=separator>›"), Ne = /* @__PURE__ */ S("<span class=path-row>"), Pe, Fe, Ie, Le, Re, ze, J, Be, Ve, He, Ue, We, Ge, Y, X, Z, Q, $ = class _UITree extends (Y = c, Ge = [ie], We = [ae], Ue = [h, f("no-matches")], He = [f("filtering")], Ve = [d("multiSelectable")], Be = [d("label")], J = [re("click")], ze = [p("canRove")], Re = [re("keydown")], Le = [h({ equals: ne })], Ie = [p("isConnected", "stickyPath")], Fe = [p("filter", "isReady")], Pe = [ce({
|
|
452
|
+
})), u(F, 43, U);
|
|
453
|
+
var W = U, Be = "nav", Ve = "band";
|
|
454
|
+
ge(["click"]);
|
|
455
|
+
// src/components/ui-tree/UITree.tsx
|
|
456
|
+
var He = /* @__PURE__ */ T("<div class=path aria-hidden=true>"), Ue = /* @__PURE__ */ T("<slot>"), We = /* @__PURE__ */ T("<div class=empty><slot name=empty>"), Ge = /* @__PURE__ */ T("<span class=separator>›"), Ke = /* @__PURE__ */ T("<span class=path-row>"), qe = /* @__PURE__ */ T("<div class=columns><div class=column><slot></slot><!></div><div class=column-probe aria-hidden=true>"), Je = /* @__PURE__ */ T("<div class=column-title aria-hidden=true>"), Ye = /* @__PURE__ */ T("<div class=column-edge role=separator tabindex=0 aria-orientation=vertical>"), Xe, Ze, Qe, $e, et, tt, nt, rt, it, at, ot, st, ct, lt, ut, dt, ft, pt, G, K, q, J, Y, X, Z, Q = class _UITree extends (G = s, pt = [ae], ft = [oe], dt = [g, p("no-matches")], ut = [p("filtering")], lt = [d("multiSelectable")], ct = [d("label")], st = [p("columns")], ot = [ie("click")], at = [g], it = [m("canRove")], rt = [ie("keydown")], nt = [g({ equals: re })], tt = [g], et = [m("isConnected", "isColumns")], $e = [g({ equals: re })], Qe = [m("isConnected", "stickyPath")], Ze = [m("filter", "isReady")], Xe = [ue({
|
|
400
457
|
childList: !0,
|
|
401
458
|
subtree: !0,
|
|
402
459
|
attributes: !0,
|
|
403
460
|
attributeFilter: ["label", "which"]
|
|
404
|
-
})],
|
|
461
|
+
})], G) {
|
|
405
462
|
constructor() {
|
|
406
|
-
super(...arguments),
|
|
463
|
+
super(...arguments), u(K, 5, this), n(this, "selection", new i()), n(this, "roving"), h(this, q, u(K, 8, this, !1)), u(K, 11, this), h(this, J, u(K, 12, this, 0)), u(K, 15, this), h(this, Y, u(K, 16, this, [])), u(K, 19, this), h(this, X, u(K, 20, this, 0)), u(K, 23, this), h(this, Z, u(K, 24, this, [])), u(K, 27, this), n(this, "cancelPathRead");
|
|
407
464
|
}
|
|
408
465
|
get isFiltering() {
|
|
409
466
|
return !!this.filter;
|
|
410
467
|
}
|
|
411
468
|
get ariaIsMany() {
|
|
412
|
-
return this.choose ===
|
|
469
|
+
return this.choose === ht ? "true" : void 0;
|
|
413
470
|
}
|
|
414
471
|
get ariaName() {
|
|
415
472
|
return this.label;
|
|
416
473
|
}
|
|
474
|
+
get isColumns() {
|
|
475
|
+
return this.appearance === gt;
|
|
476
|
+
}
|
|
477
|
+
get columnTitleList() {
|
|
478
|
+
return te(this.columnTitles);
|
|
479
|
+
}
|
|
480
|
+
titleForColumn(e) {
|
|
481
|
+
let t = this.columnTitleList;
|
|
482
|
+
return t[Math.min(e, t.length - 1)];
|
|
483
|
+
}
|
|
417
484
|
render() {
|
|
485
|
+
let e = this;
|
|
486
|
+
return v(_, {
|
|
487
|
+
get when() {
|
|
488
|
+
return !e.isColumns;
|
|
489
|
+
},
|
|
490
|
+
get fallback() {
|
|
491
|
+
return e.renderColumns();
|
|
492
|
+
},
|
|
493
|
+
get children() {
|
|
494
|
+
return e.renderRows();
|
|
495
|
+
}
|
|
496
|
+
});
|
|
497
|
+
}
|
|
498
|
+
renderRows() {
|
|
418
499
|
let e = this;
|
|
419
500
|
return [
|
|
420
|
-
_
|
|
501
|
+
v(_, {
|
|
421
502
|
get when() {
|
|
422
503
|
return e.pathRows.length;
|
|
423
504
|
},
|
|
424
505
|
get children() {
|
|
425
|
-
var t =
|
|
426
|
-
return
|
|
506
|
+
var t = He();
|
|
507
|
+
return x(t, v(pe, {
|
|
427
508
|
get each() {
|
|
428
509
|
return e.pathRows;
|
|
429
510
|
},
|
|
430
|
-
children: (t, n) => [_
|
|
511
|
+
children: (t, n) => [v(_, {
|
|
431
512
|
get when() {
|
|
432
513
|
return n();
|
|
433
514
|
},
|
|
434
515
|
get children() {
|
|
435
|
-
return
|
|
516
|
+
return Ge();
|
|
436
517
|
}
|
|
437
518
|
}), (() => {
|
|
438
|
-
var r =
|
|
439
|
-
return r._$$click = () => e.scrollToRow(t),
|
|
519
|
+
var r = Ke();
|
|
520
|
+
return r._$$click = () => e.scrollToRow(t), x(r, () => t.label), y(() => ({
|
|
440
521
|
e: e.partForName("path-row"),
|
|
441
522
|
t: 100 ** (e.pathRows.length - 1 - n())
|
|
442
523
|
}), ({ e, t }, n) => {
|
|
443
|
-
e !== n?.e &&
|
|
524
|
+
e !== n?.e && C(r, "part", e), t !== n?.t && w(r, "flex-shrink", t);
|
|
444
525
|
}), r;
|
|
445
526
|
})()]
|
|
446
|
-
})),
|
|
447
|
-
|
|
527
|
+
})), y(() => e.partForName("path"), (e) => {
|
|
528
|
+
C(t, "part", e);
|
|
448
529
|
}), t;
|
|
449
530
|
}
|
|
450
531
|
}),
|
|
451
532
|
(() => {
|
|
452
|
-
var e =
|
|
453
|
-
return e._$owner =
|
|
533
|
+
var e = Ue();
|
|
534
|
+
return e._$owner = b(), e;
|
|
454
535
|
})(),
|
|
455
|
-
_
|
|
536
|
+
v(_, {
|
|
456
537
|
get when() {
|
|
457
538
|
return e.hasNoMatches;
|
|
458
539
|
},
|
|
459
540
|
get children() {
|
|
460
|
-
var t =
|
|
461
|
-
return n._$owner =
|
|
462
|
-
|
|
541
|
+
var t = We(), n = t.firstChild;
|
|
542
|
+
return n._$owner = b(), x(n, () => e.translationForKey("noMatches")), y(() => e.partForName("empty"), (e) => {
|
|
543
|
+
C(t, "part", e);
|
|
463
544
|
}), t;
|
|
464
545
|
}
|
|
465
546
|
})
|
|
466
547
|
];
|
|
467
548
|
}
|
|
549
|
+
renderColumns() {
|
|
550
|
+
let e = this;
|
|
551
|
+
var t = qe(), n = t.firstChild, r = n.firstChild, i = r.nextSibling, a = n.nextSibling;
|
|
552
|
+
return x(n, v(_, {
|
|
553
|
+
get when() {
|
|
554
|
+
return e.titleForColumn(0);
|
|
555
|
+
},
|
|
556
|
+
children: (e) => (() => {
|
|
557
|
+
var t = Je();
|
|
558
|
+
return x(t, e), t;
|
|
559
|
+
})()
|
|
560
|
+
}), r), r._$owner = b(), x(n, v(_, {
|
|
561
|
+
get when() {
|
|
562
|
+
return e.hasNoMatches;
|
|
563
|
+
},
|
|
564
|
+
get children() {
|
|
565
|
+
var t = We(), n = t.firstChild;
|
|
566
|
+
return n._$owner = b(), x(n, () => e.translationForKey("noMatches")), y(() => e.partForName("empty"), (e) => {
|
|
567
|
+
C(t, "part", e);
|
|
568
|
+
}), t;
|
|
569
|
+
}
|
|
570
|
+
}), i), x(t, v(pe, {
|
|
571
|
+
get each() {
|
|
572
|
+
return e.columnIndexes;
|
|
573
|
+
},
|
|
574
|
+
children: (t) => e.columnEdge(t)
|
|
575
|
+
}), a), y(() => e.columnWidthCSS(0), (e) => {
|
|
576
|
+
w(n, "width", e);
|
|
577
|
+
}), t;
|
|
578
|
+
}
|
|
468
579
|
rowsIn(e) {
|
|
469
580
|
let t = [];
|
|
470
581
|
for (let n of e.children) {
|
|
471
582
|
let { component: e } = n;
|
|
472
|
-
e instanceof
|
|
583
|
+
e instanceof W && t.push(e);
|
|
473
584
|
}
|
|
474
585
|
return t;
|
|
475
586
|
}
|
|
476
587
|
get rowsOnScreen() {
|
|
477
|
-
let
|
|
478
|
-
return
|
|
588
|
+
let e = /* @__PURE__ */ r((t) => this.rowsIn(t).flatMap((t) => t.isFilteredOut ? [] : [t, ...t.showsRows ? e(t.domElement) : []]), "walk");
|
|
589
|
+
return e(this.domElement);
|
|
479
590
|
}
|
|
480
591
|
get allRows() {
|
|
481
|
-
let
|
|
482
|
-
return
|
|
592
|
+
let e = /* @__PURE__ */ r((t) => this.rowsIn(t).flatMap((t) => [t, ...e(t.domElement)]), "walk");
|
|
593
|
+
return e(this.domElement);
|
|
483
594
|
}
|
|
484
595
|
rowOf(e) {
|
|
485
596
|
for (let t of e.composedPath()) {
|
|
486
597
|
if (t === this.domElement) return;
|
|
487
598
|
let { component: e } = t;
|
|
488
|
-
if (e instanceof
|
|
599
|
+
if (e instanceof W) return e;
|
|
489
600
|
}
|
|
490
601
|
}
|
|
491
602
|
onClicked(e) {
|
|
492
603
|
let t = this.rowOf(e);
|
|
493
604
|
t && !a.isClicked(e, { upTo: t.domElement }) && (this.roving?.focus(this.roving.items.indexOf(t.domElement)), this.activate(t, e));
|
|
494
605
|
}
|
|
495
|
-
activate(e, t) {
|
|
606
|
+
activate(e, t, { keepsInside: n = !1 } = {}) {
|
|
496
607
|
if (e.group) {
|
|
497
|
-
e.disclosure.toggle(t);
|
|
608
|
+
this.isColumns ? this.openColumnOf(e, t, n) : e.disclosure.toggle(t);
|
|
498
609
|
return;
|
|
499
610
|
}
|
|
500
|
-
let
|
|
611
|
+
let r = e.valueOrLabel;
|
|
501
612
|
if (!this.send("ui-selecting", {
|
|
502
613
|
item: e.domElement,
|
|
503
|
-
value:
|
|
614
|
+
value: r,
|
|
504
615
|
originalEvent: t
|
|
505
616
|
})) return;
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
617
|
+
this.isColumns && this.openColumnOf(e, t, n);
|
|
618
|
+
let i = this.rowsOnScreen.filter((e) => !e.group), a = this.allRows.filter((e) => e.selected), o = new Set(this.choose === ht ? this.selection.clicked(e, {
|
|
619
|
+
items: i,
|
|
620
|
+
selected: a,
|
|
509
621
|
keys: t
|
|
510
622
|
}) : [e]);
|
|
511
|
-
for (let e of this.allRows) !!e.selected !==
|
|
512
|
-
let
|
|
623
|
+
for (let e of this.allRows) !!e.selected !== o.has(e) && (e.selected = o.has(e));
|
|
624
|
+
let s = this.allRows.filter((e) => o.has(e)).map((e) => e.valueOrLabel);
|
|
513
625
|
this.send("ui-changed", {
|
|
514
|
-
value:
|
|
515
|
-
values:
|
|
626
|
+
value: r,
|
|
627
|
+
values: s,
|
|
516
628
|
originalEvent: t
|
|
517
629
|
});
|
|
518
630
|
}
|
|
631
|
+
openColumnOf(e, t, n = !1) {
|
|
632
|
+
let r = new Set(this.rowsAround(e));
|
|
633
|
+
r.add(e);
|
|
634
|
+
for (let i of this.allRows) {
|
|
635
|
+
let a = r.has(i) || n && e.domElement.contains(i.domElement);
|
|
636
|
+
i.isOpen && !a && i.disclosure.close(t);
|
|
637
|
+
}
|
|
638
|
+
e.disclosure.open(t), n || this.showNewestColumn();
|
|
639
|
+
}
|
|
640
|
+
get openChain() {
|
|
641
|
+
this.rowsVersion;
|
|
642
|
+
let e = [];
|
|
643
|
+
for (let t = this.domElement;;) {
|
|
644
|
+
let n = this.rowsIn(t).find((e) => e.isOpen);
|
|
645
|
+
if (!n) return e;
|
|
646
|
+
e.push(n), t = n.domElement;
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
get columnIndexes() {
|
|
650
|
+
if (!this.isColumns) return [];
|
|
651
|
+
let e = 1 + this.openChain.filter((e) => e.canOpen).length;
|
|
652
|
+
return Array.from({ length: e }, (e, t) => t);
|
|
653
|
+
}
|
|
654
|
+
rowConnected() {
|
|
655
|
+
this.rowsVersion++;
|
|
656
|
+
}
|
|
657
|
+
rowsAround(e) {
|
|
658
|
+
let t = [];
|
|
659
|
+
for (let n = e.domElement.parentElement; n && n !== this.domElement; n = n.parentElement) {
|
|
660
|
+
let { component: e } = n;
|
|
661
|
+
e instanceof W && t.unshift(e);
|
|
662
|
+
}
|
|
663
|
+
return t;
|
|
664
|
+
}
|
|
665
|
+
rowsBeside(e) {
|
|
666
|
+
let t = e.domElement.parentElement;
|
|
667
|
+
return t ? this.rowsIn(t).filter((e) => !e.isFilteredOut) : [e];
|
|
668
|
+
}
|
|
669
|
+
showNewestColumn() {
|
|
670
|
+
S || f(() => {
|
|
671
|
+
let e = this.domElement.renderRoot.querySelector(".columns");
|
|
672
|
+
if (!e) return;
|
|
673
|
+
let t = getComputedStyle(e).direction === "rtl", n = matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
674
|
+
e.scrollTo({
|
|
675
|
+
left: t ? -e.scrollWidth : e.scrollWidth,
|
|
676
|
+
behavior: n ? "instant" : "smooth"
|
|
677
|
+
});
|
|
678
|
+
});
|
|
679
|
+
}
|
|
519
680
|
get canRove() {
|
|
520
681
|
return this.isReady && this.isConnected;
|
|
521
682
|
}
|
|
522
|
-
onCanRoveChanged(
|
|
523
|
-
if (
|
|
683
|
+
onCanRoveChanged(e) {
|
|
684
|
+
if (e) return this.roving = o.focus.roving({
|
|
524
685
|
container: this.domElement,
|
|
525
|
-
items: /* @__PURE__ */
|
|
686
|
+
items: /* @__PURE__ */ r(() => this.rowsOnScreen.map((e) => e.domElement), "items"),
|
|
526
687
|
orientation: "vertical",
|
|
527
688
|
wrap: !1,
|
|
528
689
|
activeIndex: Math.max(0, this.rowsOnScreen.findIndex((e) => e.selected))
|
|
@@ -536,52 +697,140 @@ var ke = /* @__PURE__ */ S("<div class=path aria-hidden=true>"), Ae = /* @__PURE
|
|
|
536
697
|
let n = this.keyActions(t)[e.key]?.(e);
|
|
537
698
|
n !== !1 && n !== void 0 && e.preventDefault();
|
|
538
699
|
}
|
|
539
|
-
keyActions(
|
|
540
|
-
let
|
|
541
|
-
return {
|
|
542
|
-
Enter:
|
|
543
|
-
" ":
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
700
|
+
keyActions(e) {
|
|
701
|
+
let t = /* @__PURE__ */ r((t) => this.activate(e, t), "select");
|
|
702
|
+
return this.isColumns ? {
|
|
703
|
+
Enter: t,
|
|
704
|
+
" ": t,
|
|
705
|
+
...this.columnKeyActions(e)
|
|
706
|
+
} : {
|
|
707
|
+
Enter: t,
|
|
708
|
+
" ": t,
|
|
709
|
+
ArrowRight: /* @__PURE__ */ r(() => e.canOpen ? (e.showsRows ? this.focusRow(this.rowsIn(e.domElement).find((e) => !e.isFilteredOut)) : e.disclosure.open(), !0) : !1, "ArrowRight"),
|
|
710
|
+
ArrowLeft: /* @__PURE__ */ r(() => {
|
|
711
|
+
if (e.isOpen && e.canOpen) return e.disclosure.close();
|
|
712
|
+
let t = e.domElement.parentElement?.component;
|
|
713
|
+
return t instanceof W ? this.focusRow(t) ?? !0 : !1;
|
|
549
714
|
}, "ArrowLeft")
|
|
550
715
|
};
|
|
551
716
|
}
|
|
717
|
+
columnKeyActions(e) {
|
|
718
|
+
let t = this.rowsBeside(e), n = t.indexOf(e), i = /* @__PURE__ */ r((e, t, n = !1) => e ? (this.focusRow(e), this.activate(e, t, { keepsInside: n }), !0) : !1, "pick"), a = /* @__PURE__ */ r((n, r) => {
|
|
719
|
+
let a = t[Math.max(0, Math.min(t.length - 1, n))];
|
|
720
|
+
return a === e || i(a, r);
|
|
721
|
+
}, "moveTo"), o = /* @__PURE__ */ r((t) => {
|
|
722
|
+
if (!e.showsRows) return !1;
|
|
723
|
+
let n = this.rowsIn(e.domElement).filter((e) => !e.isFilteredOut);
|
|
724
|
+
return i(n.find((e) => e.isOpen) ?? n[0], t, !0);
|
|
725
|
+
}, "goIn"), s = /* @__PURE__ */ r((t) => i(this.rowsAround(e).at(-1), t, !0), "goOut"), c = getComputedStyle(this.domElement).direction === "rtl";
|
|
726
|
+
return {
|
|
727
|
+
ArrowDown: /* @__PURE__ */ r((e) => a(n + 1, e), "ArrowDown"),
|
|
728
|
+
ArrowUp: /* @__PURE__ */ r((e) => a(n - 1, e), "ArrowUp"),
|
|
729
|
+
Home: /* @__PURE__ */ r((e) => a(0, e), "Home"),
|
|
730
|
+
End: /* @__PURE__ */ r((e) => a(t.length - 1, e), "End"),
|
|
731
|
+
ArrowRight: c ? s : o,
|
|
732
|
+
ArrowLeft: c ? o : s
|
|
733
|
+
};
|
|
734
|
+
}
|
|
552
735
|
focusRow(e) {
|
|
553
736
|
e && this.roving?.focus(this.roving.items.indexOf(e.domElement));
|
|
554
737
|
}
|
|
555
|
-
|
|
556
|
-
|
|
738
|
+
columnWidthCSS(e) {
|
|
739
|
+
let t = this.columnWidths[e];
|
|
740
|
+
return t === void 0 ? _t : `${t}px`;
|
|
741
|
+
}
|
|
742
|
+
columnStartCSS(e) {
|
|
743
|
+
return `calc(0px + ${Array.from({ length: e }, (e, t) => this.columnWidthCSS(t)).join(" + ") || "0px"})`;
|
|
744
|
+
}
|
|
745
|
+
columnEdge(e) {
|
|
746
|
+
let t = this;
|
|
747
|
+
var n = Ye();
|
|
748
|
+
return n._$$dblclick = () => t.setColumnWidth(e, void 0), n._$$keydown = (n) => t.resizeByKey(n, e), n._$$pointerdown = (n) => t.startResizing(n, e), C(n, "aria-valuemin", $), y(() => ({
|
|
749
|
+
e: t.translationForKey("resizeColumn"),
|
|
750
|
+
t: Math.round(t.columnWidths[e] ?? t.defaultWidthPx),
|
|
751
|
+
a: t.columnStartCSS(e + 1)
|
|
752
|
+
}), ({ e, t, a: r }, i) => {
|
|
753
|
+
e !== i?.e && C(n, "aria-label", e), t !== i?.t && C(n, "aria-valuenow", t), r !== i?.a && w(n, "inset-inline-start", r);
|
|
754
|
+
}), n;
|
|
755
|
+
}
|
|
756
|
+
widthOf(e) {
|
|
757
|
+
let t = this.columnWidths[e];
|
|
758
|
+
return t === void 0 ? this.measureDefaultWidth() : t;
|
|
759
|
+
}
|
|
760
|
+
measureDefaultWidth() {
|
|
761
|
+
let e = this.domElement.renderRoot.querySelector(".column-probe"), t = Math.round(e?.getBoundingClientRect().width ?? 0);
|
|
762
|
+
return t && (this.defaultWidthPx = t), t;
|
|
763
|
+
}
|
|
764
|
+
startResizing(e, t) {
|
|
765
|
+
if (e.button !== 0) return;
|
|
766
|
+
let n = this.widthOf(t), i = this.columnWidths[t], a = this.isRightToLeft ? -1 : 1;
|
|
767
|
+
new de(e.currentTarget, e, {
|
|
768
|
+
carried: [e.currentTarget],
|
|
769
|
+
follows: !1,
|
|
770
|
+
cursor: "col-resize",
|
|
771
|
+
placing: /* @__PURE__ */ r((r) => this.setColumnWidth(t, n + (r - e.clientX) * a, { keeps: !1 }), "placing"),
|
|
772
|
+
onDrop: /* @__PURE__ */ r(() => this.setColumnWidth(t, this.columnWidths[t]), "onDrop"),
|
|
773
|
+
onCancel: /* @__PURE__ */ r(() => this.setColumnWidth(t, i, { keeps: !1 }), "onCancel")
|
|
774
|
+
});
|
|
775
|
+
}
|
|
776
|
+
resizeByKey(e, t) {
|
|
777
|
+
let n = xt[e.key];
|
|
778
|
+
if (!n) return;
|
|
779
|
+
e.preventDefault(), e.stopPropagation();
|
|
780
|
+
let r = this.isRightToLeft ? -1 : 1, i = yt * (e.shiftKey ? bt : 1);
|
|
781
|
+
this.setColumnWidth(t, this.widthOf(t) + n * r * i);
|
|
782
|
+
}
|
|
783
|
+
setColumnWidth(e, t, { keeps: n = !0 } = {}) {
|
|
784
|
+
let r = [...this.columnWidths];
|
|
785
|
+
for (r[e] = t === void 0 ? void 0 : Math.round(Math.max($, t)); r.length && r.at(-1) === void 0;) r.pop();
|
|
786
|
+
this.columnWidths = r;
|
|
787
|
+
let i = this.domElement.id;
|
|
788
|
+
n && i && (r.length ? _UITree.columnWidthStore.set(i, r.map((e) => e ?? null)) : _UITree.columnWidthStore.forget(i));
|
|
789
|
+
}
|
|
790
|
+
onConnectedInColumns(e, t) {
|
|
791
|
+
if (!e || !t || S) return;
|
|
792
|
+
f(() => this.measureDefaultWidth()), this.showNewestColumn();
|
|
793
|
+
let n = this.domElement.id;
|
|
794
|
+
if (!n) return;
|
|
795
|
+
let r = _UITree.columnWidthStore.get(n);
|
|
796
|
+
Array.isArray(r) && (this.columnWidths = r.map((e) => typeof e == "number" ? e : void 0));
|
|
797
|
+
}
|
|
798
|
+
get isRightToLeft() {
|
|
799
|
+
return getComputedStyle(this.domElement).direction === "rtl";
|
|
800
|
+
}
|
|
801
|
+
static get columnWidthStore() {
|
|
802
|
+
return _UITree.madeColumnWidthStore ??= new fe(vt);
|
|
803
|
+
}
|
|
804
|
+
watchScrolling(e, t) {
|
|
805
|
+
if (!e || !t || S) {
|
|
557
806
|
this.pathRows = [];
|
|
558
807
|
return;
|
|
559
808
|
}
|
|
560
|
-
let
|
|
561
|
-
return document.addEventListener("scroll",
|
|
809
|
+
let n = /* @__PURE__ */ r(() => this.readPathSoon(), "onScroll");
|
|
810
|
+
return document.addEventListener("scroll", n, {
|
|
562
811
|
capture: !0,
|
|
563
812
|
passive: !0
|
|
564
813
|
}), this.readPathSoon(), () => {
|
|
565
|
-
document.removeEventListener("scroll",
|
|
814
|
+
document.removeEventListener("scroll", n, { capture: !0 }), this.cancelPathRead?.();
|
|
566
815
|
};
|
|
567
816
|
}
|
|
568
817
|
readPathSoon() {
|
|
569
|
-
this.cancelPathRead ??=
|
|
818
|
+
this.cancelPathRead ??= f(() => {
|
|
570
819
|
this.cancelPathRead = void 0, this.pathRows = this.readPath();
|
|
571
820
|
});
|
|
572
821
|
}
|
|
573
822
|
readPath() {
|
|
574
|
-
let e =
|
|
823
|
+
let e = ce(this.domElement), t = Math.max(e?.getBoundingClientRect().top ?? 0, this.domElement.getBoundingClientRect().top), n = this.rowsOnScreen.find((e) => rowBoxOf(e).bottom > t + this.pathHeight);
|
|
575
824
|
if (!n) return [];
|
|
576
825
|
let r = [];
|
|
577
826
|
for (let e = n.domElement.parentElement; e && e !== this.domElement; e = e.parentElement) {
|
|
578
827
|
let { component: t } = e;
|
|
579
|
-
t instanceof
|
|
828
|
+
t instanceof W && r.unshift(t);
|
|
580
829
|
}
|
|
581
830
|
return r.length && rowBoxOf(r[0]).top < t ? r : [];
|
|
582
831
|
}
|
|
583
832
|
scrollToRow(e) {
|
|
584
|
-
let t =
|
|
833
|
+
let t = ce(this.domElement);
|
|
585
834
|
if (!t) return;
|
|
586
835
|
let n = Math.max(t.getBoundingClientRect().top, this.domElement.getBoundingClientRect().top);
|
|
587
836
|
t.scrollTop += rowBoxOf(e).top - n - this.pathHeight;
|
|
@@ -593,33 +842,43 @@ var ke = /* @__PURE__ */ S("<div class=path aria-hidden=true>"), Ae = /* @__PURE
|
|
|
593
842
|
this.applyFilter();
|
|
594
843
|
}
|
|
595
844
|
onRowsChanged() {
|
|
596
|
-
this.filter && this.applyFilter(), this.roving?.refresh();
|
|
845
|
+
this.rowsVersion++, this.filter && this.applyFilter(), this.roving?.refresh();
|
|
597
846
|
}
|
|
598
847
|
applyFilter() {
|
|
599
|
-
let
|
|
848
|
+
let e = (this.filter ?? "").trim().toLowerCase(), t = /* @__PURE__ */ r((n) => {
|
|
600
849
|
let r = !1;
|
|
601
|
-
for (let i of this.rowsIn(
|
|
602
|
-
let
|
|
603
|
-
i.isFilteredOut = !a && !
|
|
850
|
+
for (let i of this.rowsIn(n)) {
|
|
851
|
+
let n = t(i.domElement), a = !e || i.filterWords.toLowerCase().includes(e);
|
|
852
|
+
i.isFilteredOut = !a && !n, i.isKeptOpen = !!e && n, r ||= a || n;
|
|
604
853
|
}
|
|
605
854
|
return r;
|
|
606
855
|
}, "matchIn");
|
|
607
|
-
this.hasNoMatches = !
|
|
856
|
+
this.hasNoMatches = !t(this.domElement) && !!e;
|
|
608
857
|
}
|
|
609
858
|
};
|
|
610
|
-
|
|
611
|
-
styleSheets: {
|
|
859
|
+
K = t(G), q = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap(), X = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), c(K, 4, "hasNoMatches", dt, Q, q), c(K, 2, "isFiltering", ut, Q), c(K, 2, "ariaIsMany", lt, Q), c(K, 2, "ariaName", ct, Q), c(K, 2, "isColumns", st, Q), c(K, 1, "onClicked", ot, Q), c(K, 4, "rowsVersion", at, Q, J), c(K, 1, "onCanRoveChanged", it, Q), c(K, 1, "onKeyDown", rt, Q), c(K, 4, "columnWidths", nt, Q, Y), c(K, 4, "defaultWidthPx", tt, Q, X), c(K, 1, "onConnectedInColumns", et, Q), c(K, 4, "pathRows", $e, Q, Z), c(K, 1, "watchScrolling", Qe, Q), c(K, 1, "onFilterChanged", Ze, Q), c(K, 1, "onRowsChanged", Xe, Q), c(K, 13, "vocabulary", pt, Q), c(K, 13, "elementSetup", ft, Q), l(K, Q), r(Q, "UITree"), n(Q, "vocabulary", u(K, 28, Q, ye)), u(K, 31, Q), n(Q, "elementSetup", u(K, 32, Q, {
|
|
860
|
+
styleSheets: {
|
|
861
|
+
tree: xe,
|
|
862
|
+
columns: E
|
|
863
|
+
},
|
|
612
864
|
delegatesFocus: !1,
|
|
613
865
|
aria: { role: "tree" }
|
|
614
|
-
})),
|
|
615
|
-
var
|
|
866
|
+
})), u(K, 35, Q), n(Q, "madeColumnWidthStore");
|
|
867
|
+
var mt = Q;
|
|
616
868
|
function rowBoxOf(e) {
|
|
617
869
|
return (e.domElement.renderRoot.querySelector(".row") ?? e.domElement).getBoundingClientRect();
|
|
618
870
|
}
|
|
619
|
-
|
|
620
|
-
var
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
871
|
+
r(rowBoxOf, "rowBoxOf");
|
|
872
|
+
var ht = "many", gt = "columns", _t = "var(--_ui-tree-column-width)", vt = "ui-tree-column-widths", $ = 80, yt = 16, bt = 10, xt = {
|
|
873
|
+
ArrowLeft: -1,
|
|
874
|
+
ArrowRight: 1
|
|
875
|
+
};
|
|
876
|
+
ge([
|
|
877
|
+
"click",
|
|
878
|
+
"pointerdown",
|
|
879
|
+
"keydown",
|
|
880
|
+
"dblclick"
|
|
881
|
+
]), mt.define(), W.define();
|
|
882
|
+
export { mt as UITree, W as UITreeItem };
|
|
624
883
|
|
|
625
884
|
//# sourceMappingURL=ui-tree.js.map
|