spell-ui 0.8.9 → 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 +4 -3
- package/dist/components/ui-parts/UIHeader.en.d.ts +4 -3
- 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 +18 -5
- 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 +3865 -711
- 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 +83 -68
- 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
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./rolldown-runtime-
|
|
2
|
-
import { APP_STYLESHEET_ID as e, ApiError as t, Bt as n, BuiltInPacks as r, CODE_LANGUAGES_EVENT as i, CssDisplay as a,
|
|
3
|
-
import { i as ue } from "./persist.types-D2m6wD-S.js";
|
|
1
|
+
import "./rolldown-runtime-c6e9CmGy.js";
|
|
2
|
+
import { APP_STYLESHEET_ID as e, ApiError as t, Bt as n, BuiltInPacks as r, CODE_LANGUAGES_EVENT as i, CssDisplay as a, Ct as o, DEFAULT_ICON_PACK as s, EN_STRINGS as c, F as l, Gt as u, IconName as d, Jt as f, Kt as p, LAYER_ORDER as m, LoadOnce as h, PAGE_SCOPE as g, Queued as ee, RUNTIME_KEY as _, RUNTIME_VERSION as te, SCROLL_LOCK_CLASS as v, SourceError as y, TopLayerTip as b, UTILITIES_SHEET as ne, Ut as x, VisibilityDirection as S, Vocabulary as re, Warnings as C, Wt as w, Yt as T, after as E, answerOf as D, fetchOk as ie, fetchText as O, isBrowser as ae, lazy as oe, loadUI as se, once as ce, proto as k, soon as le, zt as ue } from "./core.js";
|
|
4
3
|
import { animationsCSS as de, colorsCSS as fe, layersCSS as pe, nativeCSS as me, resetCSS as he, sizesCSS as ge, tokensCSS as _e, typographyCSS as ve, utilitiesCSS as ye } from "./styles.js";
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
import { i as be } from "./persist.types-D7N7GewC.js";
|
|
5
|
+
// ../src/util/Api.ts
|
|
6
|
+
var xe = class Api {
|
|
7
7
|
latest = /* @__PURE__ */ new Map();
|
|
8
8
|
url(e, t = {}) {
|
|
9
|
-
return e.replace(
|
|
9
|
+
return e.replace(Se, (n, r) => {
|
|
10
10
|
let i = t[r];
|
|
11
11
|
if (i == null) throw TypeError(`Api.url(): no value for {${r}} in ${e}; pass it in the URL data`);
|
|
12
12
|
return encodeURIComponent(String(i));
|
|
13
|
-
}).replace(
|
|
13
|
+
}).replace(Ce, (e, n) => {
|
|
14
14
|
let r = t[n];
|
|
15
15
|
return r == null ? "" : `/${encodeURIComponent(String(r))}`;
|
|
16
16
|
});
|
|
@@ -46,7 +46,7 @@ var be = class Api {
|
|
|
46
46
|
delay(e, t) {
|
|
47
47
|
return new Promise((n, r) => {
|
|
48
48
|
if (t.aborted) return r(t.reason);
|
|
49
|
-
let i =
|
|
49
|
+
let i = E(e / 1e3, () => n());
|
|
50
50
|
t.addEventListener("abort", () => {
|
|
51
51
|
i.cancel(), r(t.reason);
|
|
52
52
|
}, { once: !0 });
|
|
@@ -82,11 +82,11 @@ var be = class Api {
|
|
|
82
82
|
return t === Object.prototype || t === null;
|
|
83
83
|
}
|
|
84
84
|
static failed(e, { url: n, response: r, error: i }) {
|
|
85
|
-
return r ? new t(`Api.request(): ${e} ${n} answered ${
|
|
85
|
+
return r ? new t(`Api.request(): ${e} ${n} answered ${D(r)}`, { cause: { response: r } }) : i instanceof Error ? i : Error(String(i));
|
|
86
86
|
}
|
|
87
|
-
},
|
|
87
|
+
}, Se = /\{([\w-]+)\}/g, Ce = /\/?\{\/([\w-]+)\}/g, we = [oe], A, j = class _Browser {
|
|
88
88
|
constructor() {
|
|
89
|
-
|
|
89
|
+
T(A, 5, this);
|
|
90
90
|
}
|
|
91
91
|
get supports() {
|
|
92
92
|
return this.detect();
|
|
@@ -114,11 +114,14 @@ var be = class Api {
|
|
|
114
114
|
get isTouch() {
|
|
115
115
|
return this.matches("(pointer: coarse)") || (this.navigator?.maxTouchPoints ?? 0) > 0;
|
|
116
116
|
}
|
|
117
|
+
get platform() {
|
|
118
|
+
return n();
|
|
119
|
+
}
|
|
117
120
|
get isReducedMotion() {
|
|
118
121
|
return this.matches("(prefers-reduced-motion: reduce)");
|
|
119
122
|
}
|
|
120
123
|
get isDark() {
|
|
121
|
-
return this.matches(
|
|
124
|
+
return this.matches(be);
|
|
122
125
|
}
|
|
123
126
|
get navigator() {
|
|
124
127
|
return globalThis.navigator;
|
|
@@ -146,7 +149,8 @@ var be = class Api {
|
|
|
146
149
|
temporal: "Temporal" in globalThis,
|
|
147
150
|
interpolateSize: t && probe(() => CSS.supports("interpolate-size: allow-keywords")),
|
|
148
151
|
anchoredQueries: t && probe(() => CSS.supports("container-type: anchored")),
|
|
149
|
-
fieldSizing: t && probe(() => CSS.supports("field-sizing: content"))
|
|
152
|
+
fieldSizing: t && probe(() => CSS.supports("field-sizing: content")),
|
|
153
|
+
screenCapture: ue()
|
|
150
154
|
};
|
|
151
155
|
function probe(e) {
|
|
152
156
|
try {
|
|
@@ -167,11 +171,11 @@ var be = class Api {
|
|
|
167
171
|
return typeof CSSContainerRule < "u" && t instanceof CSSContainerRule && /style\(/.test(t.conditionText);
|
|
168
172
|
}
|
|
169
173
|
static isApplePlatform(e = globalThis.navigator) {
|
|
170
|
-
return !!e &&
|
|
174
|
+
return !!e && Ee.test(e.platform || e.userAgent);
|
|
171
175
|
}
|
|
172
176
|
};
|
|
173
|
-
|
|
174
|
-
var
|
|
177
|
+
A = u(null), x(A, 2, "supports", we, j), w(A, j), p(j, "Browser");
|
|
178
|
+
var Te = j, Ee = /Mac|iPhone|iPad|iPod/i, CodeLanguages = class {
|
|
175
179
|
version = 0;
|
|
176
180
|
languages = /* @__PURE__ */ new Map();
|
|
177
181
|
register(e, t) {
|
|
@@ -210,7 +214,7 @@ var j = A, we = /Mac|iPhone|iPad|iPod/i, CodeLanguages = class {
|
|
|
210
214
|
}
|
|
211
215
|
start() {
|
|
212
216
|
let { popover: e, anchorPositioning: t } = this.browser.supports;
|
|
213
|
-
e && t && (document.documentElement.setAttribute(
|
|
217
|
+
e && t && (document.documentElement.setAttribute(De, ""), document.addEventListener("pointerover", this.onPointerOver, !0), document.addEventListener("pointerout", this.onPointerOut, !0), document.addEventListener("focusin", this.onFocusIn, !0), document.addEventListener("focusout", this.onFocusOut, !0), document.addEventListener("keydown", this.onKeyDown, !0), window.addEventListener("scroll", this.follow, {
|
|
214
218
|
capture: !0,
|
|
215
219
|
passive: !0
|
|
216
220
|
}), window.addEventListener("resize", this.follow, { passive: !0 }));
|
|
@@ -233,15 +237,14 @@ var j = A, we = /Mac|iPhone|iPad|iPod/i, CodeLanguages = class {
|
|
|
233
237
|
};
|
|
234
238
|
update() {
|
|
235
239
|
let e = this.focused ?? this.hovered;
|
|
236
|
-
if (e === this.shown)
|
|
237
|
-
|
|
238
|
-
return;
|
|
240
|
+
if (e === this.shown) this.cancelPending();
|
|
241
|
+
else {
|
|
242
|
+
if (this.cancelPending(), !e) return this.hide();
|
|
243
|
+
if (this.focused || this.shown) return this.show(e);
|
|
244
|
+
this.pending = E(delayOf(e), () => {
|
|
245
|
+
this.pending = void 0, this.show(e);
|
|
246
|
+
});
|
|
239
247
|
}
|
|
240
|
-
if (this.cancelPending(), !e) return this.hide();
|
|
241
|
-
if (this.focused || this.shown) return this.show(e);
|
|
242
|
-
this.pending = w(delayOf(e), () => {
|
|
243
|
-
this.pending = void 0, this.show(e);
|
|
244
|
-
});
|
|
245
248
|
}
|
|
246
249
|
cancelPending() {
|
|
247
250
|
this.pending?.cancel(), this.pending = void 0;
|
|
@@ -249,38 +252,38 @@ var j = A, we = /Mac|iPhone|iPad|iPod/i, CodeLanguages = class {
|
|
|
249
252
|
show(e) {
|
|
250
253
|
this.shown = e;
|
|
251
254
|
let t = this.ensureBubble();
|
|
252
|
-
this.fill(e, t), this.shown && (this.place(e),
|
|
255
|
+
this.fill(e, t), this.shown && (this.place(e), b.setShown(t, !0), this.pointArrow(e, t), this.observer ??= new MutationObserver(() => this.onTargetChanged()), this.observer.disconnect(), this.observer.observe(e, {
|
|
253
256
|
attributes: !0,
|
|
254
|
-
attributeFilter: [...
|
|
257
|
+
attributeFilter: [...Oe, M]
|
|
255
258
|
}));
|
|
256
259
|
}
|
|
257
260
|
hide() {
|
|
258
|
-
this.shown = void 0, this.observer?.disconnect(), this.bubble &&
|
|
261
|
+
this.shown = void 0, this.observer?.disconnect(), this.bubble && b.setShown(this.bubble, !1);
|
|
259
262
|
}
|
|
260
263
|
ensureBubble() {
|
|
261
|
-
let e = this.bubble ??= makeElement(
|
|
264
|
+
let e = this.bubble ??= makeElement(Ae), t = this.box ??= makeElement(je);
|
|
262
265
|
return e.setAttribute("role", "tooltip"), t.setAttribute("aria-hidden", "true"), t.isConnected || document.body.append(t), e.isConnected || document.body.append(e), e;
|
|
263
266
|
}
|
|
264
267
|
fill(e, t) {
|
|
265
268
|
let n = e.getAttribute(M);
|
|
266
269
|
if (!n) return this.hide();
|
|
267
270
|
t.textContent = n;
|
|
268
|
-
for (let n of
|
|
271
|
+
for (let n of Oe) {
|
|
269
272
|
let r = e.getAttribute(n);
|
|
270
273
|
r === null ? t.removeAttribute(n) : t.setAttribute(n, r);
|
|
271
274
|
}
|
|
272
275
|
let r = getComputedStyle(e);
|
|
273
|
-
for (let e of
|
|
276
|
+
for (let e of ke) {
|
|
274
277
|
let n = r.getPropertyValue(e);
|
|
275
278
|
n ? t.style.setProperty(e, n) : t.style.removeProperty(e);
|
|
276
279
|
}
|
|
277
280
|
}
|
|
278
281
|
place(e) {
|
|
279
|
-
let { left: t, top: n, width: r, height: i } = e
|
|
282
|
+
let { left: t, top: n, width: r, height: i } = boxOf(e);
|
|
280
283
|
this.box.style.cssText = `left:${t}px;top:${n}px;width:${r}px;height:${i}px`;
|
|
281
284
|
}
|
|
282
285
|
pointArrow(e, t) {
|
|
283
|
-
let n = t.
|
|
286
|
+
let n = new DOMRect(t.offsetLeft, t.offsetTop, t.offsetWidth, t.offsetHeight), r = boxOf(e), i = n.bottom <= r.top + 1 ? "top" : n.top >= r.bottom - 1 ? "bottom" : n.right <= r.left + 1 ? "left" : "right", [a, o, s, c] = i === "top" || i === "bottom" ? [
|
|
284
287
|
Math.max(n.left, r.left),
|
|
285
288
|
Math.min(n.right, r.right),
|
|
286
289
|
n.left,
|
|
@@ -290,8 +293,8 @@ var j = A, we = /Mac|iPhone|iPad|iPod/i, CodeLanguages = class {
|
|
|
290
293
|
Math.min(n.bottom, r.bottom),
|
|
291
294
|
n.top,
|
|
292
295
|
n.height
|
|
293
|
-
], l = Math.min(Math.max((a + o) / 2 - s,
|
|
294
|
-
t.setAttribute(
|
|
296
|
+
], l = Math.min(Math.max((a + o) / 2 - s, Pe), c - Pe);
|
|
297
|
+
t.setAttribute(Me, i), t.style.setProperty(Ne, `${l}px`);
|
|
295
298
|
}
|
|
296
299
|
follow = () => {
|
|
297
300
|
let { shown: e, bubble: t } = this;
|
|
@@ -304,17 +307,26 @@ var j = A, we = /Mac|iPhone|iPad|iPod/i, CodeLanguages = class {
|
|
|
304
307
|
let { shown: e, bubble: t } = this;
|
|
305
308
|
e && t && (this.fill(e, t), this.shown && this.pointArrow(e, t));
|
|
306
309
|
}
|
|
307
|
-
},
|
|
310
|
+
}, De = "data-ui-top-layer-tooltips", M = "data-tooltip", Oe = [
|
|
308
311
|
"data-position",
|
|
309
312
|
"data-inverted",
|
|
310
313
|
"data-variation"
|
|
311
|
-
],
|
|
314
|
+
], ke = [
|
|
312
315
|
"--ui-tooltip-background",
|
|
313
316
|
"--ui-tooltip-color",
|
|
314
317
|
"--ui-tooltip-edge",
|
|
315
318
|
"--ui-font-size",
|
|
316
319
|
"--ui-font-family"
|
|
317
|
-
],
|
|
320
|
+
], Ae = "ui-tooltip-bubble", je = "ui-tooltip-target", Me = "data-side", Ne = "--ui-tooltip-arrow-at", Pe = 12;
|
|
321
|
+
function boxOf(e) {
|
|
322
|
+
let t = e.getBoundingClientRect();
|
|
323
|
+
if (t.width || t.height || getComputedStyle(e).display !== Fe) return t;
|
|
324
|
+
let n = [...e.shadowRoot?.children ?? [], ...e.children].map((e) => e.getBoundingClientRect()).filter((e) => e.width || e.height);
|
|
325
|
+
if (!n.length) return t;
|
|
326
|
+
let r = Math.min(...n.map((e) => e.left)), i = Math.min(...n.map((e) => e.top)), a = Math.max(...n.map((e) => e.right)), o = Math.max(...n.map((e) => e.bottom));
|
|
327
|
+
return new DOMRect(r, i, a - r, o - i);
|
|
328
|
+
}
|
|
329
|
+
var Fe = "contents";
|
|
318
330
|
function makeElement(e) {
|
|
319
331
|
let t = document.createElement("div");
|
|
320
332
|
return t.className = e, t;
|
|
@@ -330,9 +342,8 @@ function delayOf(e) {
|
|
|
330
342
|
let t = getComputedStyle(e), n = (t.getPropertyValue("--ui-tooltip-delay") || t.getPropertyValue("--ui-hover-delay")).trim(), r = parseFloat(n);
|
|
331
343
|
return Number.isNaN(r) ? 0 : n.endsWith("ms") ? r / 1e3 : r;
|
|
332
344
|
}
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
var Me = class RovingTabindex {
|
|
345
|
+
// src/runtime/RovingTabindex.ts
|
|
346
|
+
var N = class RovingTabindex {
|
|
336
347
|
container;
|
|
337
348
|
source;
|
|
338
349
|
orientation;
|
|
@@ -377,12 +388,12 @@ var Me = class RovingTabindex {
|
|
|
377
388
|
};
|
|
378
389
|
targetIndex(e, t, n) {
|
|
379
390
|
let r = getComputedStyle(this.container).direction === "rtl", i = this.orientation !== "vertical", a = this.orientation !== "horizontal", o = 0;
|
|
380
|
-
if (a && e ===
|
|
381
|
-
else if (a && e ===
|
|
382
|
-
else if (i && e ===
|
|
383
|
-
else if (i && e ===
|
|
384
|
-
else if (e ===
|
|
385
|
-
else if (e ===
|
|
391
|
+
if (a && e === l.arrowDown) o = 1;
|
|
392
|
+
else if (a && e === l.arrowUp) o = -1;
|
|
393
|
+
else if (i && e === l.arrowRight) o = r ? -1 : 1;
|
|
394
|
+
else if (i && e === l.arrowLeft) o = r ? 1 : -1;
|
|
395
|
+
else if (e === l.home) return this.seek(-1, 1, n);
|
|
396
|
+
else if (e === l.end) return this.seek(n.length, -1, n);
|
|
386
397
|
else return;
|
|
387
398
|
return this.seek(t, o, n);
|
|
388
399
|
}
|
|
@@ -467,17 +478,17 @@ var Me = class RovingTabindex {
|
|
|
467
478
|
return t.addEventListener("keydown", (t) => this.trapTab(e, t), r), t.addEventListener("focusin", () => this.pullFocusInto(e), r), () => n.abort();
|
|
468
479
|
}
|
|
469
480
|
roving(e) {
|
|
470
|
-
return
|
|
481
|
+
return N.attach(e);
|
|
471
482
|
}
|
|
472
483
|
arrowKey(e, t) {
|
|
473
|
-
return
|
|
484
|
+
return N.arrowKey(e, t);
|
|
474
485
|
}
|
|
475
486
|
trapTab(e, t) {
|
|
476
|
-
if (t.key !==
|
|
487
|
+
if (t.key !== l.tab || t.ctrlKey || t.metaKey) return;
|
|
477
488
|
let n = this.focusables(e);
|
|
478
489
|
if (!n.length) return t.preventDefault();
|
|
479
490
|
let r = this.activeElementDeep(e.ownerDocument), i = n[0], a = n.at(-1);
|
|
480
|
-
t.shiftKey && (r === i || !this.containsDeep(e, r)) ? (t.preventDefault(), a.focus()) :
|
|
491
|
+
t.shiftKey && (r === i || !this.containsDeep(e, r)) ? (t.preventDefault(), a.focus()) : t.shiftKey || r !== a && this.containsDeep(e, r) || (t.preventDefault(), i.focus());
|
|
481
492
|
}
|
|
482
493
|
pullFocusInto(e) {
|
|
483
494
|
let t = this.activeElementDeep(e.ownerDocument);
|
|
@@ -502,9 +513,9 @@ var Me = class RovingTabindex {
|
|
|
502
513
|
isTabbable(e) {
|
|
503
514
|
return e.tabIndex < 0 || e instanceof HTMLDialogElement && !e.hasAttribute("tabindex") || e.matches(":disabled") || e.shadowRoot?.delegatesFocus || e instanceof HTMLInputElement && e.type === "hidden" ? !1 : (e instanceof HTMLAnchorElement || e instanceof HTMLAreaElement) && !e.href ? e.hasAttribute("tabindex") : !0;
|
|
504
515
|
}
|
|
505
|
-
},
|
|
516
|
+
}, Ie = [ce], P, F = class _I18n {
|
|
506
517
|
constructor({ locale: e, browser: t } = {}) {
|
|
507
|
-
|
|
518
|
+
T(P, 5, this), f(this, "locale"), f(this, "packs", /* @__PURE__ */ new Map()), f(this, "scoped", /* @__PURE__ */ new Map()), f(this, "defaults", { ...c }), f(this, "scopedDefaults", /* @__PURE__ */ new Map()), f(this, "browser"), f(this, "polyfill"), f(this, "formatters", /* @__PURE__ */ new Map()), this.locale = e ?? globalThis.navigator?.language ?? I, this.browser = t;
|
|
508
519
|
}
|
|
509
520
|
register(e, t, n) {
|
|
510
521
|
if (n === void 0) return void this.packs.set(e, {
|
|
@@ -548,14 +559,14 @@ var Me = class RovingTabindex {
|
|
|
548
559
|
weekday: e,
|
|
549
560
|
timeZone: "UTC"
|
|
550
561
|
}, t);
|
|
551
|
-
return Array.from({ length: 7 }, (e, t) => n.format(Date.UTC(
|
|
562
|
+
return Array.from({ length: 7 }, (e, t) => n.format(Date.UTC(Re, 0, 1 + t)));
|
|
552
563
|
}
|
|
553
564
|
months(e = "long", t = this.locale) {
|
|
554
565
|
let n = this.dateFormat({
|
|
555
566
|
month: e,
|
|
556
567
|
timeZone: "UTC"
|
|
557
568
|
}, t);
|
|
558
|
-
return Array.from({ length: 12 }, (e, t) => n.format(Date.UTC(
|
|
569
|
+
return Array.from({ length: 12 }, (e, t) => n.format(Date.UTC(Re, t, 1)));
|
|
559
570
|
}
|
|
560
571
|
firstDayOfWeek(e = this.locale) {
|
|
561
572
|
try {
|
|
@@ -570,7 +581,7 @@ var Me = class RovingTabindex {
|
|
|
570
581
|
}
|
|
571
582
|
loadTemporal() {
|
|
572
583
|
let e = this.temporal;
|
|
573
|
-
return e ? Promise.resolve(e) : import("./TemporalPolyfill-
|
|
584
|
+
return e ? Promise.resolve(e) : import("./TemporalPolyfill-Bv_c_xa0.js").then(({ Temporal: e }) => this.polyfill = e);
|
|
574
585
|
}
|
|
575
586
|
displayName(e, t) {
|
|
576
587
|
try {
|
|
@@ -605,8 +616,8 @@ var Me = class RovingTabindex {
|
|
|
605
616
|
return i || this.formatters.set(r, i = new e(t, n)), i;
|
|
606
617
|
}
|
|
607
618
|
};
|
|
608
|
-
P =
|
|
609
|
-
var
|
|
619
|
+
P = u(null), x(P, 1, "loadTemporal", Ie, F), w(P, F), p(F, "I18n");
|
|
620
|
+
var Le = F, I = "en", Re = 2023, ze = class IconPack {
|
|
610
621
|
index;
|
|
611
622
|
url;
|
|
612
623
|
base;
|
|
@@ -615,7 +626,7 @@ var Pe = F, I = "en", Fe = 2023, Ie = class IconPack {
|
|
|
615
626
|
constructor({ index: e, url: t, options: n = {} }) {
|
|
616
627
|
this.index = e, this.url = t;
|
|
617
628
|
let r = n.base ? new URL(n.base, IconPack.pageUrl()).href : new URL("./", t).href;
|
|
618
|
-
this.base = r.endsWith("/") ? r : `${r}/`, this.prefix = n.prefix?.toLowerCase(), this.names =
|
|
629
|
+
this.base = r.endsWith("/") ? r : `${r}/`, this.prefix = n.prefix?.toLowerCase(), this.names = d.claim(Object.entries(e.icons).map(([e, t]) => [e, t.alias]));
|
|
619
630
|
}
|
|
620
631
|
get id() {
|
|
621
632
|
return this.index.id;
|
|
@@ -644,8 +655,8 @@ var Pe = F, I = "en", Fe = 2023, Ie = class IconPack {
|
|
|
644
655
|
pack: this.id,
|
|
645
656
|
key: e,
|
|
646
657
|
url: new URL(`${e}.svg`, this.base).href,
|
|
647
|
-
width: t.width ?? n.width ??
|
|
648
|
-
height: t.height ?? n.height ??
|
|
658
|
+
width: t.width ?? n.width ?? Be,
|
|
659
|
+
height: t.height ?? n.height ?? Be
|
|
649
660
|
};
|
|
650
661
|
}
|
|
651
662
|
static async load(e, t) {
|
|
@@ -663,7 +674,7 @@ var Pe = F, I = "en", Fe = 2023, Ie = class IconPack {
|
|
|
663
674
|
static pageUrl() {
|
|
664
675
|
return globalThis.document?.baseURI;
|
|
665
676
|
}
|
|
666
|
-
},
|
|
677
|
+
}, Be = 512, Ve = class IconPacks {
|
|
667
678
|
sources = [];
|
|
668
679
|
started = !1;
|
|
669
680
|
templates;
|
|
@@ -673,7 +684,7 @@ var Pe = F, I = "en", Fe = 2023, Ie = class IconPack {
|
|
|
673
684
|
constructor({ parent: e } = {}) {
|
|
674
685
|
this.parent = e;
|
|
675
686
|
let t = e?.();
|
|
676
|
-
this.templates = t?.templates ?? /* @__PURE__ */ new Map(), this.templateLoads = t?.templateLoads ?? new
|
|
687
|
+
this.templates = t?.templates ?? /* @__PURE__ */ new Map(), this.templateLoads = t?.templateLoads ?? new h({ failures: "forgotten offline" }), this.registered = t?.registered ?? /* @__PURE__ */ new Map(), this.started = !!e;
|
|
677
688
|
}
|
|
678
689
|
scope(e, { assets: t, parent: n } = {}) {
|
|
679
690
|
let r = new IconPacks({ parent: n ?? (() => this) });
|
|
@@ -708,7 +719,7 @@ var Pe = F, I = "en", Fe = 2023, Ie = class IconPack {
|
|
|
708
719
|
}
|
|
709
720
|
resolve(e) {
|
|
710
721
|
this.start();
|
|
711
|
-
let { prefix: t, name: n } =
|
|
722
|
+
let { prefix: t, name: n } = d.split(e);
|
|
712
723
|
for (let e of this.packs.toReversed()) {
|
|
713
724
|
if (t !== void 0 && !e.answers(t)) continue;
|
|
714
725
|
let r = e.resolve(n);
|
|
@@ -716,13 +727,13 @@ var Pe = F, I = "en", Fe = 2023, Ie = class IconPack {
|
|
|
716
727
|
}
|
|
717
728
|
}
|
|
718
729
|
peek(e) {
|
|
719
|
-
let { prefix: t, name: n } =
|
|
730
|
+
let { prefix: t, name: n } = d.split(e);
|
|
720
731
|
if (t === void 0 && this.registered.has(n)) return this.registered.get(n);
|
|
721
732
|
let r = this.resolve(e)?.url;
|
|
722
733
|
return r === void 0 ? void 0 : this.templates.get(r);
|
|
723
734
|
}
|
|
724
735
|
async get(e) {
|
|
725
|
-
let { prefix: t, name: n } =
|
|
736
|
+
let { prefix: t, name: n } = d.split(e);
|
|
726
737
|
if (t === void 0 && this.registered.has(n)) return this.registered.get(n);
|
|
727
738
|
await this.ready;
|
|
728
739
|
let r = this.resolve(e)?.url;
|
|
@@ -731,26 +742,26 @@ var Pe = F, I = "en", Fe = 2023, Ie = class IconPack {
|
|
|
731
742
|
register(e, t) {
|
|
732
743
|
let n = typeof t == "string" ? IconPacks.parse(t) : IconPacks.adopt(t);
|
|
733
744
|
if (!n) throw TypeError(`UI.icons.register(): "${e}" is not an <svg>; pass SVG text or an <svg> element`);
|
|
734
|
-
this.registered.set(
|
|
745
|
+
this.registered.set(d.normalize(e), n);
|
|
735
746
|
}
|
|
736
747
|
start({ empty: e = !1 } = {}) {
|
|
737
|
-
this.started || (this.started = !0,
|
|
738
|
-
source:
|
|
748
|
+
this.started || (this.started = !0, typeof document > "u" || e || this.add({
|
|
749
|
+
source: s,
|
|
739
750
|
options: {}
|
|
740
751
|
}));
|
|
741
752
|
}
|
|
742
753
|
add(e, t) {
|
|
743
754
|
let n = e, r = IconPacks.urlFor(n.source, t);
|
|
744
|
-
return n.promise = r === void 0 ? Promise.resolve(void 0) :
|
|
745
|
-
C.warn(
|
|
755
|
+
return n.promise = r === void 0 ? Promise.resolve(void 0) : ze.load(r, n.options).then((e) => n.pack = e, (e) => {
|
|
756
|
+
C.warn(He, `icon pack ${r} didn't load:`, e);
|
|
746
757
|
}), n.options.only && (this.sources = []), this.sources.push(n), n;
|
|
747
758
|
}
|
|
748
759
|
static urlFor(e, t) {
|
|
749
760
|
try {
|
|
750
|
-
let n =
|
|
761
|
+
let n = ze.pageUrl();
|
|
751
762
|
return r.has(e) ? r.url(e, t === void 0 ? void 0 : new URL(t, n).href) : new URL(e, n).href;
|
|
752
763
|
} catch (t) {
|
|
753
|
-
C.warn(
|
|
764
|
+
C.warn(He, `icon pack ${e} has no usable URL:`, t);
|
|
754
765
|
return;
|
|
755
766
|
}
|
|
756
767
|
}
|
|
@@ -758,7 +769,7 @@ var Pe = F, I = "en", Fe = 2023, Ie = class IconPack {
|
|
|
758
769
|
return this.templateLoads.get(e, () => this.fetchTemplate(e)).catch(() => void 0);
|
|
759
770
|
}
|
|
760
771
|
async fetchTemplate(e) {
|
|
761
|
-
let { text: t } = await
|
|
772
|
+
let { text: t } = await O(e, ({ response: t, error: n }) => t ? /* @__PURE__ */ Error(`UI.icons: ${e} answered ${D(t)}`) : n instanceof Error ? n : Error(String(n))), n = IconPacks.parse(t);
|
|
762
773
|
return n && this.templates.set(e, n), n;
|
|
763
774
|
}
|
|
764
775
|
static parse(e) {
|
|
@@ -769,19 +780,19 @@ var Pe = F, I = "en", Fe = 2023, Ie = class IconPack {
|
|
|
769
780
|
let t = document.importNode(e, !0), n = t.getAttribute("fill");
|
|
770
781
|
return n === null ? t.setAttribute("fill", "currentColor") : t.style.setProperty("fill", n), t;
|
|
771
782
|
}
|
|
772
|
-
},
|
|
783
|
+
}, He = "UI.icons", Ids = class {
|
|
773
784
|
counter = 0;
|
|
774
|
-
next(e =
|
|
785
|
+
next(e = Ue, t = globalThis.document) {
|
|
775
786
|
let n;
|
|
776
787
|
do
|
|
777
788
|
n = `${e}-${++this.counter}`;
|
|
778
789
|
while (t?.getElementById(n));
|
|
779
790
|
return n;
|
|
780
791
|
}
|
|
781
|
-
ensure(e, t =
|
|
792
|
+
ensure(e, t = Ue) {
|
|
782
793
|
return e.id ||= this.next(t), e.id;
|
|
783
794
|
}
|
|
784
|
-
},
|
|
795
|
+
}, Ue = "ui", We = class Chord {
|
|
785
796
|
key;
|
|
786
797
|
keyText;
|
|
787
798
|
modifiers;
|
|
@@ -813,12 +824,12 @@ var Pe = F, I = "en", Fe = 2023, Ie = class IconPack {
|
|
|
813
824
|
if (/^[a-z]$/.test(this.key)) return `Key${this.key.toUpperCase()}`;
|
|
814
825
|
if (/^[0-9]$/.test(this.key)) return `Digit${this.key}`;
|
|
815
826
|
}
|
|
816
|
-
static parse(e, { isApple: t =
|
|
827
|
+
static parse(e, { isApple: t = Te.isApplePlatform() } = {}) {
|
|
817
828
|
let n = Chord.partsOf(e.trim()), r = n.pop()?.trim();
|
|
818
829
|
if (!r) throw SyntaxError(`Chord.parse(): no key in ${JSON.stringify(e)}; end it with one, e.g. "Mod+K"`);
|
|
819
830
|
let i = [];
|
|
820
831
|
for (let r of n) {
|
|
821
|
-
let n =
|
|
832
|
+
let n = Ge[r.trim().toLowerCase()];
|
|
822
833
|
if (!n) throw SyntaxError(`Chord.parse(): unknown modifier ${JSON.stringify(r)} in ${JSON.stringify(e)}; use Mod, Ctrl, Meta, Alt or Shift`);
|
|
823
834
|
let a = n === "mod" ? t ? "meta" : "ctrl" : n;
|
|
824
835
|
i.includes(a) || i.push(a);
|
|
@@ -834,9 +845,9 @@ var Pe = F, I = "en", Fe = 2023, Ie = class IconPack {
|
|
|
834
845
|
static normalizeKey(e) {
|
|
835
846
|
if (e === " ") return e;
|
|
836
847
|
let t = e.toLowerCase();
|
|
837
|
-
return
|
|
848
|
+
return Ke[t] ?? t;
|
|
838
849
|
}
|
|
839
|
-
},
|
|
850
|
+
}, Ge = {
|
|
840
851
|
mod: "mod",
|
|
841
852
|
modifier: "mod",
|
|
842
853
|
ctrl: "ctrl",
|
|
@@ -847,7 +858,7 @@ var Pe = F, I = "en", Fe = 2023, Ie = class IconPack {
|
|
|
847
858
|
alt: "alt",
|
|
848
859
|
option: "alt",
|
|
849
860
|
shift: "shift"
|
|
850
|
-
},
|
|
861
|
+
}, Ke = {
|
|
851
862
|
esc: "escape",
|
|
852
863
|
space: " ",
|
|
853
864
|
spacebar: " ",
|
|
@@ -858,28 +869,28 @@ var Pe = F, I = "en", Fe = 2023, Ie = class IconPack {
|
|
|
858
869
|
del: "delete",
|
|
859
870
|
return: "enter",
|
|
860
871
|
plus: "+"
|
|
861
|
-
},
|
|
872
|
+
}, qe = [k], L, R = class _Keyboard {
|
|
862
873
|
constructor({ isApple: e = !1 } = {}) {
|
|
863
|
-
|
|
874
|
+
f(this, "isApple"), f(this, "registrations", []), f(this, "scopes", [g]), f(this, "listener"), f(this, "onKeyDown", /* @__PURE__ */ p((e) => {
|
|
864
875
|
if (e.defaultPrevented || e.isComposing) return;
|
|
865
|
-
let t = this.activeScope,
|
|
866
|
-
for (let
|
|
867
|
-
let { chord: a, handler: o, options: s, scope: c } = this.registrations[
|
|
868
|
-
if ((c === t || s.global) && a.matches(e) && (!
|
|
876
|
+
let t = this.activeScope, n = e.composedPath(), r = isEditable(n[0]);
|
|
877
|
+
for (let i = this.registrations.length - 1; i >= 0; i--) {
|
|
878
|
+
let { chord: a, handler: o, options: s, scope: c } = this.registrations[i];
|
|
879
|
+
if ((c === t || s.global) && a.matches(e) && (!r || a.hasCommandModifier || s.inEditable) && (!s.target || n.includes(s.target)) && o(e) !== !1) {
|
|
869
880
|
s.preventDefault !== !1 && e.preventDefault(), s.stopPropagation && e.stopPropagation();
|
|
870
881
|
return;
|
|
871
882
|
}
|
|
872
883
|
}
|
|
873
884
|
function isEditable(e) {
|
|
874
|
-
return e instanceof HTMLElement ? e.isContentEditable || e instanceof HTMLTextAreaElement || e instanceof HTMLSelectElement ? !0 : e instanceof HTMLInputElement && !
|
|
885
|
+
return e instanceof HTMLElement ? e.isContentEditable || e instanceof HTMLTextAreaElement || e instanceof HTMLSelectElement ? !0 : e instanceof HTMLInputElement && !Ye.has(e.type) : !1;
|
|
875
886
|
}
|
|
876
|
-
|
|
887
|
+
p(isEditable, "isEditable");
|
|
877
888
|
}, "onKeyDown")), this.isApple = e;
|
|
878
889
|
}
|
|
879
890
|
chord(e, { isApple: t = this.isApple } = {}) {
|
|
880
|
-
return
|
|
891
|
+
return We.parse(e, { isApple: t });
|
|
881
892
|
}
|
|
882
|
-
register({ scope: e =
|
|
893
|
+
register({ scope: e = g, chord: t, handler: n, ...r }) {
|
|
883
894
|
let i = {
|
|
884
895
|
scope: e,
|
|
885
896
|
chord: typeof t == "string" ? this.chord(t) : t,
|
|
@@ -912,6 +923,7 @@ var Pe = F, I = "en", Fe = 2023, Ie = class IconPack {
|
|
|
912
923
|
}));
|
|
913
924
|
}
|
|
914
925
|
checkConflict(e) {
|
|
926
|
+
if (e.options.layered) return;
|
|
915
927
|
let t = e.chord.toString(), n = this.registrations.find((n) => n.scope === e.scope && n.chord.toString() === t && n.options.target === e.options.target);
|
|
916
928
|
n && C.warn("UI.keyboard", `"${t}" registered twice in scope "${e.scope}"; the newer handler wins:`, {
|
|
917
929
|
existing: n.handler,
|
|
@@ -919,8 +931,8 @@ var Pe = F, I = "en", Fe = 2023, Ie = class IconPack {
|
|
|
919
931
|
});
|
|
920
932
|
}
|
|
921
933
|
};
|
|
922
|
-
L =
|
|
923
|
-
var
|
|
934
|
+
L = u(null), x(L, 13, "warnConflicts", qe, R), w(L, R), p(R, "Keyboard"), f(R, "warnConflicts", T(L, 8, R, !1)), T(L, 11, R);
|
|
935
|
+
var Je = R, Ye = /* @__PURE__ */ new Set([
|
|
924
936
|
"button",
|
|
925
937
|
"checkbox",
|
|
926
938
|
"radio",
|
|
@@ -930,7 +942,7 @@ var Ge = R, Ke = /* @__PURE__ */ new Set([
|
|
|
930
942
|
"color",
|
|
931
943
|
"file",
|
|
932
944
|
"image"
|
|
933
|
-
]),
|
|
945
|
+
]), Xe = class Modals {
|
|
934
946
|
static provider;
|
|
935
947
|
register(e) {
|
|
936
948
|
let t = Modals.provider;
|
|
@@ -954,15 +966,15 @@ var Ge = R, Ke = /* @__PURE__ */ new Set([
|
|
|
954
966
|
optionsFor(e) {
|
|
955
967
|
return typeof e == "string" ? { message: e } : e;
|
|
956
968
|
}
|
|
957
|
-
},
|
|
958
|
-
constructor({ keyboard: e, focus: t, browser:
|
|
959
|
-
|
|
969
|
+
}, Ze = [k], z, B = class _Overlays {
|
|
970
|
+
constructor({ keyboard: e, focus: t, browser: n, styles: r }) {
|
|
971
|
+
f(this, "keyboard"), f(this, "focus"), f(this, "browser"), f(this, "styles"), f(this, "stack", []), f(this, "scrollLocks", 0), f(this, "press"), f(this, "listeners"), f(this, "counter", 0), f(this, "onPointerDown", /* @__PURE__ */ p((e) => {
|
|
960
972
|
this.press = {
|
|
961
973
|
path: e.composedPath(),
|
|
962
974
|
x: e.clientX,
|
|
963
975
|
y: e.clientY
|
|
964
976
|
};
|
|
965
|
-
}, "onPointerDown")),
|
|
977
|
+
}, "onPointerDown")), f(this, "onClick", /* @__PURE__ */ p((e) => {
|
|
966
978
|
let t = this.press;
|
|
967
979
|
this.press = void 0;
|
|
968
980
|
let n = {
|
|
@@ -972,16 +984,16 @@ var Ge = R, Ke = /* @__PURE__ */ new Set([
|
|
|
972
984
|
isKeyboard: !e.detail
|
|
973
985
|
};
|
|
974
986
|
for (let e of this.topmostPerPool()) e.closeOnOutsideClick && (this.isInside(e, n) || t && this.isInside(e, t) || this.dismiss(e, "outside"));
|
|
975
|
-
}, "onClick")), this.keyboard = e, this.focus = t, this.browser =
|
|
987
|
+
}, "onClick")), this.keyboard = e, this.focus = t, this.browser = n, this.styles = r;
|
|
976
988
|
}
|
|
977
989
|
open(e) {
|
|
978
990
|
if (this.recordOf(e)) return;
|
|
979
|
-
let t = e.kind ===
|
|
991
|
+
let t = e.kind === V, n = {
|
|
980
992
|
entry: e,
|
|
981
|
-
pool: e.pool ?? (t ?
|
|
993
|
+
pool: e.pool ?? (t ? V : $e),
|
|
982
994
|
closeOnEscape: e.closeOnEscape ?? !t,
|
|
983
995
|
closeOnOutsideClick: e.closeOnOutsideClick ?? !t,
|
|
984
|
-
modal: e.modal ??
|
|
996
|
+
modal: e.modal ?? et.has(e.kind),
|
|
985
997
|
scope: `overlay-${++this.counter}`,
|
|
986
998
|
restoreTo: e.restoreFocus === !1 ? void 0 : this.focus.activeElementDeep()
|
|
987
999
|
};
|
|
@@ -1011,8 +1023,8 @@ var Ge = R, Ke = /* @__PURE__ */ new Set([
|
|
|
1011
1023
|
let t = globalThis.CloseWatcher;
|
|
1012
1024
|
this.useCloseWatcher && this.browser.supports.closeWatcher && t ? this.watchCloseRequests(e, t) : e.unwatchEscape = this.keyboard.register({
|
|
1013
1025
|
scope: e.scope,
|
|
1014
|
-
chord:
|
|
1015
|
-
handler: /* @__PURE__ */
|
|
1026
|
+
chord: l.escape,
|
|
1027
|
+
handler: /* @__PURE__ */ p(() => void this.dismiss(e, "escape"), "handler"),
|
|
1016
1028
|
inEditable: !0
|
|
1017
1029
|
});
|
|
1018
1030
|
}
|
|
@@ -1063,12 +1075,12 @@ var Ge = R, Ke = /* @__PURE__ */ new Set([
|
|
|
1063
1075
|
lockScroll() {
|
|
1064
1076
|
if (this.scrollLocks++ > 0) return;
|
|
1065
1077
|
let e = document.documentElement;
|
|
1066
|
-
this.styles?.register("scroll-lock",
|
|
1078
|
+
this.styles?.register("scroll-lock", tt, { page: !0 }), e.style.setProperty(H, `${Math.max(0, window.innerWidth - e.clientWidth)}px`), e.classList.add(v);
|
|
1067
1079
|
}
|
|
1068
1080
|
unlockScroll() {
|
|
1069
1081
|
if (this.scrollLocks === 0 || --this.scrollLocks > 0) return;
|
|
1070
1082
|
let e = document.documentElement;
|
|
1071
|
-
e.classList.remove(
|
|
1083
|
+
e.classList.remove(v), e.style.removeProperty(H);
|
|
1072
1084
|
}
|
|
1073
1085
|
restoreFocus(e) {
|
|
1074
1086
|
let t = e.restoreTo;
|
|
@@ -1083,19 +1095,19 @@ var Ge = R, Ke = /* @__PURE__ */ new Set([
|
|
|
1083
1095
|
return !!t.id && e.some((e) => e.getAttribute?.("commandfor") === t.id);
|
|
1084
1096
|
}
|
|
1085
1097
|
};
|
|
1086
|
-
z =
|
|
1087
|
-
var
|
|
1098
|
+
z = u(null), x(z, 13, "useCloseWatcher", Ze, B), w(z, B), p(B, "Overlays"), f(B, "useCloseWatcher", T(z, 8, B, !0)), T(z, 11, B);
|
|
1099
|
+
var Qe = B, V = "toast", $e = "default", et = /* @__PURE__ */ new Set([
|
|
1088
1100
|
"modal",
|
|
1089
1101
|
"flyout",
|
|
1090
1102
|
"dimmer"
|
|
1091
|
-
]),
|
|
1103
|
+
]), H = "--ui-scrollbar-width", tt = `${m}
|
|
1092
1104
|
@layer ui.base {
|
|
1093
|
-
html.${
|
|
1105
|
+
html.${v} {
|
|
1094
1106
|
overflow: hidden;
|
|
1095
|
-
padding-inline-end: var(${
|
|
1107
|
+
padding-inline-end: var(${H}, 0px);
|
|
1096
1108
|
}
|
|
1097
1109
|
}`, PropertyControls = class {
|
|
1098
|
-
kinds = new Map(Object.entries(
|
|
1110
|
+
kinds = new Map(Object.entries(rt));
|
|
1099
1111
|
choiceSources = /* @__PURE__ */ new Map();
|
|
1100
1112
|
rules = /* @__PURE__ */ new Map();
|
|
1101
1113
|
schemas = /* @__PURE__ */ new Map();
|
|
@@ -1108,7 +1120,7 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1108
1120
|
kindFor(e) {
|
|
1109
1121
|
let t;
|
|
1110
1122
|
for (let [n, r] of this.kinds) r.types?.includes(e) && (t = n);
|
|
1111
|
-
return t ??
|
|
1123
|
+
return t ?? nt;
|
|
1112
1124
|
}
|
|
1113
1125
|
addChoices(e, t) {
|
|
1114
1126
|
this.choiceSources.set(e, t);
|
|
@@ -1133,20 +1145,20 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1133
1145
|
schema(e) {
|
|
1134
1146
|
return this.schemas.get(e);
|
|
1135
1147
|
}
|
|
1136
|
-
},
|
|
1148
|
+
}, nt = "input", U = { fluid: "" }, rt = {
|
|
1137
1149
|
input: {
|
|
1138
1150
|
tag: "ui-input",
|
|
1139
|
-
attributes:
|
|
1151
|
+
attributes: U,
|
|
1140
1152
|
types: ["text", "data"]
|
|
1141
1153
|
},
|
|
1142
1154
|
text: {
|
|
1143
1155
|
tag: "ui-textarea",
|
|
1144
|
-
attributes:
|
|
1156
|
+
attributes: U
|
|
1145
1157
|
},
|
|
1146
1158
|
number: {
|
|
1147
1159
|
tag: "ui-input",
|
|
1148
1160
|
attributes: {
|
|
1149
|
-
...
|
|
1161
|
+
...U,
|
|
1150
1162
|
type: "number"
|
|
1151
1163
|
},
|
|
1152
1164
|
types: ["number"],
|
|
@@ -1155,7 +1167,7 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1155
1167
|
date: {
|
|
1156
1168
|
tag: "ui-input",
|
|
1157
1169
|
attributes: {
|
|
1158
|
-
...
|
|
1170
|
+
...U,
|
|
1159
1171
|
type: "date"
|
|
1160
1172
|
},
|
|
1161
1173
|
types: ["date"],
|
|
@@ -1163,14 +1175,14 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1163
1175
|
},
|
|
1164
1176
|
select: {
|
|
1165
1177
|
tag: "ui-select",
|
|
1166
|
-
attributes:
|
|
1178
|
+
attributes: U,
|
|
1167
1179
|
choices: "items",
|
|
1168
1180
|
types: ["choice"],
|
|
1169
1181
|
width: "half"
|
|
1170
1182
|
},
|
|
1171
1183
|
icon: {
|
|
1172
1184
|
tag: "ui-icon-picker",
|
|
1173
|
-
attributes:
|
|
1185
|
+
attributes: U,
|
|
1174
1186
|
types: ["icon"]
|
|
1175
1187
|
},
|
|
1176
1188
|
buttons: {
|
|
@@ -1194,13 +1206,17 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1194
1206
|
},
|
|
1195
1207
|
toggle: {
|
|
1196
1208
|
tag: "ui-checkbox",
|
|
1197
|
-
attributes: {
|
|
1198
|
-
|
|
1209
|
+
attributes: {
|
|
1210
|
+
appearance: "toggle",
|
|
1211
|
+
padding: "none"
|
|
1212
|
+
},
|
|
1213
|
+
inline: !0,
|
|
1214
|
+
width: "half"
|
|
1199
1215
|
},
|
|
1200
1216
|
color: {
|
|
1201
1217
|
tag: "ui-input",
|
|
1202
1218
|
attributes: {
|
|
1203
|
-
...
|
|
1219
|
+
...U,
|
|
1204
1220
|
type: "color"
|
|
1205
1221
|
},
|
|
1206
1222
|
width: "half"
|
|
@@ -1214,14 +1230,14 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1214
1230
|
tag: "ui-property-editor",
|
|
1215
1231
|
types: ["thing"]
|
|
1216
1232
|
}
|
|
1217
|
-
},
|
|
1233
|
+
}, it = class Sources {
|
|
1218
1234
|
saver;
|
|
1219
1235
|
inlineSaver;
|
|
1220
|
-
cache = new
|
|
1236
|
+
cache = new h({ failures: "forgotten" });
|
|
1221
1237
|
resolve(e, t = document.baseURI) {
|
|
1222
|
-
if (location.protocol === "file:") throw new
|
|
1238
|
+
if (location.protocol === "file:") throw new y(`Sources.resolve(): can't reach ${e} from a page opened from disk; serve the page`, { cause: { kind: "file-protocol" } });
|
|
1223
1239
|
let n = new URL(e, t);
|
|
1224
|
-
if (n.origin !== location.origin) throw new
|
|
1240
|
+
if (n.origin !== location.origin) throw new y(`Sources.resolve(): ${n.href} is on another origin; serve it from ${location.origin}`, { cause: { kind: "cross-origin" } });
|
|
1225
1241
|
return n;
|
|
1226
1242
|
}
|
|
1227
1243
|
load(e, { fresh: t, signal: n } = {}) {
|
|
@@ -1232,13 +1248,13 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1232
1248
|
return Promise.reject(e);
|
|
1233
1249
|
}
|
|
1234
1250
|
let i = this.cache.get(r.href, () => this.fetch(r.href), { fresh: t });
|
|
1235
|
-
return n ?
|
|
1251
|
+
return n ? h.abortable(i, n) : i;
|
|
1236
1252
|
}
|
|
1237
1253
|
forget(e) {
|
|
1238
1254
|
this.cache.forget(e === void 0 ? void 0 : new URL(e, document.baseURI).href);
|
|
1239
1255
|
}
|
|
1240
1256
|
async fetch(e) {
|
|
1241
|
-
let { text: t, response: n } = await
|
|
1257
|
+
let { text: t, response: n } = await O(e, Sources.failed, { cache: "no-cache" });
|
|
1242
1258
|
return {
|
|
1243
1259
|
url: e,
|
|
1244
1260
|
text: t,
|
|
@@ -1248,7 +1264,7 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1248
1264
|
}
|
|
1249
1265
|
async save(e) {
|
|
1250
1266
|
let t = this.resolve(e.url).href;
|
|
1251
|
-
if (!this.saver) throw new
|
|
1267
|
+
if (!this.saver) throw new y(`Sources.save(): this page has no saver for ${t}; set \`UI.sources.saver\``, { cause: { kind: "no-saver" } });
|
|
1252
1268
|
let n;
|
|
1253
1269
|
try {
|
|
1254
1270
|
n = await this.saver({
|
|
@@ -1265,7 +1281,7 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1265
1281
|
}), n;
|
|
1266
1282
|
}
|
|
1267
1283
|
async saveInline(e) {
|
|
1268
|
-
if (!this.inlineSaver) throw new
|
|
1284
|
+
if (!this.inlineSaver) throw new y("Sources.saveInline(): this page has no inline saver; set `UI.sources.inlineSaver`", { cause: { kind: "no-saver" } });
|
|
1269
1285
|
try {
|
|
1270
1286
|
return await this.inlineSaver(e);
|
|
1271
1287
|
} catch (t) {
|
|
@@ -1273,26 +1289,26 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1273
1289
|
}
|
|
1274
1290
|
}
|
|
1275
1291
|
static saverFailed(e, t) {
|
|
1276
|
-
if (e instanceof
|
|
1292
|
+
if (e instanceof y) return e;
|
|
1277
1293
|
let { kind: n, message: r, status: i } = e ?? {};
|
|
1278
|
-
return new
|
|
1279
|
-
kind:
|
|
1294
|
+
return new y(`${t}: ${typeof r == "string" ? r : String(e)}`, { cause: {
|
|
1295
|
+
kind: y.isKind(n) ? n : "save",
|
|
1280
1296
|
status: typeof i == "number" ? i : void 0,
|
|
1281
1297
|
error: e
|
|
1282
1298
|
} });
|
|
1283
1299
|
}
|
|
1284
1300
|
static failed({ url: e, response: t, error: n }) {
|
|
1285
|
-
if (t) return new
|
|
1301
|
+
if (t) return new y(`Sources.load(): ${e} answered ${D(t)}; check the path`, { cause: {
|
|
1286
1302
|
kind: "load",
|
|
1287
1303
|
status: t.status
|
|
1288
1304
|
} });
|
|
1289
1305
|
let r = n instanceof Error ? n.message : String(n);
|
|
1290
|
-
return new
|
|
1306
|
+
return new y(`Sources.load(): ${e} didn't answer (${r}); is its server up?`, { cause: {
|
|
1291
1307
|
kind: "load",
|
|
1292
1308
|
error: n
|
|
1293
1309
|
} });
|
|
1294
1310
|
}
|
|
1295
|
-
},
|
|
1311
|
+
}, at = class AppStylesheet {
|
|
1296
1312
|
sheet;
|
|
1297
1313
|
onSheetChange;
|
|
1298
1314
|
syncDelay;
|
|
@@ -1331,7 +1347,7 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1331
1347
|
}
|
|
1332
1348
|
syncSoon() {
|
|
1333
1349
|
this.timer?.cancel(), this.latest = new Promise((e) => {
|
|
1334
|
-
this.timer =
|
|
1350
|
+
this.timer = E(this.syncDelay / 1e3, () => e(this.sync()));
|
|
1335
1351
|
});
|
|
1336
1352
|
}
|
|
1337
1353
|
watch(e) {
|
|
@@ -1350,12 +1366,12 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1350
1366
|
}
|
|
1351
1367
|
async sync() {
|
|
1352
1368
|
let t = ++this.generation, n = document.getElementById(e), r = n instanceof HTMLLinkElement || n instanceof HTMLStyleElement ? n : void 0;
|
|
1353
|
-
n && !r && C.warn(
|
|
1369
|
+
n && !r && C.warn(W, "must be a <link rel=\"stylesheet\"> or <style>:", n), this.watch(r);
|
|
1354
1370
|
let i = "", a = document.baseURI;
|
|
1355
1371
|
try {
|
|
1356
1372
|
r instanceof HTMLLinkElement ? r.href && (a = r.href, i = await this.readLink(r)) : r && (i = await this.inlineImports(r.textContent ?? "", a));
|
|
1357
1373
|
} catch (e) {
|
|
1358
|
-
C.warn(
|
|
1374
|
+
C.warn(W, "couldn't read the stylesheet:", e);
|
|
1359
1375
|
return;
|
|
1360
1376
|
}
|
|
1361
1377
|
t === this.generation && this.apply(i, a);
|
|
@@ -1398,7 +1414,7 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1398
1414
|
try {
|
|
1399
1415
|
r = this.absolutizeUrls(this.serialize(e.cssRules), e.href ?? document.baseURI);
|
|
1400
1416
|
} catch {
|
|
1401
|
-
C.warn(
|
|
1417
|
+
C.warn(W, `can't read cross-origin @import ${n.href}; use a <style> instead`);
|
|
1402
1418
|
continue;
|
|
1403
1419
|
}
|
|
1404
1420
|
let i = {
|
|
@@ -1411,17 +1427,17 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1411
1427
|
return t.join("\n");
|
|
1412
1428
|
}
|
|
1413
1429
|
async inlineImports(e, t) {
|
|
1414
|
-
let n = [...e.matchAll(
|
|
1430
|
+
let n = [...e.matchAll(G)];
|
|
1415
1431
|
if (!n.length) return e;
|
|
1416
1432
|
let r = await Promise.all(n.map(async (e) => {
|
|
1417
1433
|
let n = new URL(e[2] ?? e[4] ?? "", t).href, r = await this.fetchSheetText(n, n);
|
|
1418
1434
|
return this.wrap(r, this.importConditionsFor(e[5] ?? ""));
|
|
1419
1435
|
})), i = 0;
|
|
1420
|
-
return e.replace(
|
|
1436
|
+
return e.replace(G, () => r[i++] ?? "");
|
|
1421
1437
|
}
|
|
1422
1438
|
async fetchSheetText(e, t) {
|
|
1423
|
-
let { text: n } = await
|
|
1424
|
-
return
|
|
1439
|
+
let { text: n } = await O(e, AppStylesheet.failed), r = this.absolutizeUrls(n, t);
|
|
1440
|
+
return G.test(r) && C.warn(W, `nested @import in ${e} is ignored (only one level is inlined)`), G.lastIndex = 0, r;
|
|
1425
1441
|
}
|
|
1426
1442
|
importConditionsFor(e) {
|
|
1427
1443
|
let t = e.trim(), n, r, i = /^layer(?:\(\s*([^)]*?)\s*\))?/.exec(t);
|
|
@@ -1435,10 +1451,10 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1435
1451
|
}
|
|
1436
1452
|
wrap(e, { layer: t, supports: n, media: r }) {
|
|
1437
1453
|
let i = e;
|
|
1438
|
-
return t !== void 0 && (i = `@layer ${t} {\n${i}\n}`), n && (i = `@supports (${n.replace(/^\((.*)\)$/, "$1")}) {\n${i}\n}`), r && r !== "all" && (i = `@media ${r} {\n${i}\n}`), t === void 0 ? i : `${
|
|
1454
|
+
return t !== void 0 && (i = `@layer ${t} {\n${i}\n}`), n && (i = `@supports (${n.replace(/^\((.*)\)$/, "$1")}) {\n${i}\n}`), r && r !== "all" && (i = `@media ${r} {\n${i}\n}`), t === void 0 ? i : `${m}\n${i}`;
|
|
1439
1455
|
}
|
|
1440
1456
|
absolutizeUrls(e, t) {
|
|
1441
|
-
return e.replace(
|
|
1457
|
+
return e.replace(ot, (e, n, r) => {
|
|
1442
1458
|
try {
|
|
1443
1459
|
return `url(${n}${new URL(r, t).href}${n})`;
|
|
1444
1460
|
} catch {
|
|
@@ -1447,9 +1463,9 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1447
1463
|
});
|
|
1448
1464
|
}
|
|
1449
1465
|
static failed({ url: e, response: t, error: n }) {
|
|
1450
|
-
return t ? /* @__PURE__ */ Error(`AppStylesheet.fetchSheetText(): ${e} answered ${
|
|
1466
|
+
return t ? /* @__PURE__ */ Error(`AppStylesheet.fetchSheetText(): ${e} answered ${D(t)}; check the stylesheet's URL`) : n instanceof Error ? n : Error(String(n));
|
|
1451
1467
|
}
|
|
1452
|
-
},
|
|
1468
|
+
}, W = `#${e}`, G = /@import\s+(?:url\(\s*(['"]?)([^'")]+)\1\s*\)|(['"])([^'"]+)\3)\s*([^;]*);/g, ot = /url\(\s*(['"]?)(?![a-z][\w+.-]*:|#)([^'")]+)\1\s*\)/gi, Styles = class {
|
|
1453
1469
|
sheets = /* @__PURE__ */ new Map();
|
|
1454
1470
|
texts = /* @__PURE__ */ new Map();
|
|
1455
1471
|
owned = /* @__PURE__ */ new WeakSet();
|
|
@@ -1457,7 +1473,7 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1457
1473
|
shadowNames = /* @__PURE__ */ new Set();
|
|
1458
1474
|
linkedNames = /* @__PURE__ */ new Set();
|
|
1459
1475
|
foundation = [];
|
|
1460
|
-
utilities = [
|
|
1476
|
+
utilities = [ne];
|
|
1461
1477
|
roots = /* @__PURE__ */ new Set();
|
|
1462
1478
|
rootNames = /* @__PURE__ */ new WeakMap();
|
|
1463
1479
|
pageSheetRoots = /* @__PURE__ */ new WeakSet();
|
|
@@ -1510,7 +1526,7 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1510
1526
|
this.app?.stop(), this.app = void 0, this.roots.clear();
|
|
1511
1527
|
}
|
|
1512
1528
|
startApp() {
|
|
1513
|
-
if (typeof document < "u") return this.app || (this.app = new
|
|
1529
|
+
if (typeof document < "u") return this.app || (this.app = new at({ onSheetChange: (e) => {
|
|
1514
1530
|
this.owned.add(e), this.refreshRoots();
|
|
1515
1531
|
} }), this.owned.add(this.app.sheet)), this.app.start(), this.app.ready;
|
|
1516
1532
|
}
|
|
@@ -1538,7 +1554,7 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1538
1554
|
document.adoptedStyleSheets = [...e, ...n], !t && !this.isWatchingLoad && document.readyState !== "complete" && (this.isWatchingLoad = !0, window.addEventListener("load", () => this.refreshPage(), { once: !0 }));
|
|
1539
1555
|
}
|
|
1540
1556
|
get isPageLinked() {
|
|
1541
|
-
return getComputedStyle(document.documentElement).getPropertyValue(
|
|
1557
|
+
return getComputedStyle(document.documentElement).getPropertyValue(st).trim() === ct;
|
|
1542
1558
|
}
|
|
1543
1559
|
lookup(e) {
|
|
1544
1560
|
let t = [];
|
|
@@ -1548,12 +1564,12 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1548
1564
|
}
|
|
1549
1565
|
return t;
|
|
1550
1566
|
}
|
|
1551
|
-
},
|
|
1567
|
+
}, st = "--ui-page-sheet", ct = "linked", Themes = class {
|
|
1552
1568
|
static RENAMED = {
|
|
1553
1569
|
studio: "merlot",
|
|
1554
1570
|
"spell-brand": "spell"
|
|
1555
1571
|
};
|
|
1556
|
-
base =
|
|
1572
|
+
base = K;
|
|
1557
1573
|
own = [
|
|
1558
1574
|
"spell",
|
|
1559
1575
|
"glass",
|
|
@@ -1567,11 +1583,11 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1567
1583
|
"mockup"
|
|
1568
1584
|
];
|
|
1569
1585
|
slots = {
|
|
1570
|
-
base:
|
|
1586
|
+
base: K,
|
|
1571
1587
|
theme: "theme",
|
|
1572
1588
|
tint: "tint"
|
|
1573
1589
|
};
|
|
1574
|
-
sheets = Object.keys(
|
|
1590
|
+
sheets = Object.keys(q).sort();
|
|
1575
1591
|
current;
|
|
1576
1592
|
styles;
|
|
1577
1593
|
calls = 0;
|
|
@@ -1579,27 +1595,27 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1579
1595
|
this.styles = e;
|
|
1580
1596
|
}
|
|
1581
1597
|
has(e) {
|
|
1582
|
-
return e in
|
|
1598
|
+
return e in q;
|
|
1583
1599
|
}
|
|
1584
1600
|
load(e) {
|
|
1585
|
-
let t =
|
|
1601
|
+
let t = q[e];
|
|
1586
1602
|
if (!t) throw TypeError(`Themes.load(): no sheet \`${e}\`; pick one of: ${this.sheets.join(", ")}`);
|
|
1587
1603
|
return t();
|
|
1588
1604
|
}
|
|
1589
1605
|
async apply(e, { tint: t = "" } = {}) {
|
|
1590
|
-
if (e === "" && (e = void 0), e !== void 0 && (!this.has(e) || e ===
|
|
1606
|
+
if (e === "" && (e = void 0), e !== void 0 && (!this.has(e) || e === dt)) throw TypeError(`Themes.apply(): \`${e}\` isn't a theme; pick \`${K}\` or one of: ${this.own.join(", ")}`);
|
|
1591
1607
|
let n = ++this.calls;
|
|
1592
1608
|
this.current = e;
|
|
1593
|
-
let r = e === void 0 ? "" : await this.load(
|
|
1609
|
+
let r = e === void 0 ? "" : await this.load(K), i = e === void 0 || e === K ? "" : await this.load(e);
|
|
1594
1610
|
if (n !== this.calls) return;
|
|
1595
1611
|
let a = {
|
|
1596
1612
|
page: !0,
|
|
1597
1613
|
shadow: !0
|
|
1598
1614
|
};
|
|
1599
|
-
this.styles.has(this.slots.base) || (this.styles.register(this.slots.theme, "", a), this.styles.register(this.slots.tint, "", a)), this.styles.register(this.slots.base, r, a), this.styles.register(this.slots.theme, i, a), this.styles.register(this.slots.tint, e === void 0 ? "" : t, a), typeof document < "u" && document.dispatchEvent(new CustomEvent(
|
|
1615
|
+
this.styles.has(this.slots.base) || (this.styles.register(this.slots.theme, "", a), this.styles.register(this.slots.tint, "", a)), this.styles.register(this.slots.base, r, a), this.styles.register(this.slots.theme, i, a), this.styles.register(this.slots.tint, e === void 0 ? "" : t, a), typeof document < "u" && document.dispatchEvent(new CustomEvent(o, { detail: { name: e } }));
|
|
1600
1616
|
}
|
|
1601
1617
|
async scopedTokens(e, t) {
|
|
1602
|
-
let [n, r] = await Promise.all([this.load(
|
|
1618
|
+
let [n, r] = await Promise.all([this.load(K), this.load(e)]), i = [this.styles.sheet(this.slots.base), this.styles.sheet(this.slots.theme)], a = typeof document > "u" ? [] : document.adoptedStyleSheets.filter((e) => !i.includes(e)), o = [n, r].map((e) => {
|
|
1603
1619
|
let t = new CSSStyleSheet();
|
|
1604
1620
|
return t.replaceSync(e), t;
|
|
1605
1621
|
});
|
|
@@ -1609,7 +1625,7 @@ var Ye = B, Xe = "toast", Ze = "default", Qe = /* @__PURE__ */ new Set([
|
|
|
1609
1625
|
function rootRulesOn(e, t) {
|
|
1610
1626
|
let n = [];
|
|
1611
1627
|
for (let r of e) if (r instanceof CSSStyleRule) {
|
|
1612
|
-
let e = r.selectorText.split(",").map((e) => e.trim()).filter((e) =>
|
|
1628
|
+
let e = r.selectorText.split(",").map((e) => e.trim()).filter((e) => ut.test(e)), i = r.style.cssText.replace(lt, "");
|
|
1613
1629
|
e.length && i.trim() && n.push(`${e.map((e) => `${e} ${t}`).join(", ")} { ${i} }`);
|
|
1614
1630
|
} else if (r instanceof CSSMediaRule || r instanceof CSSSupportsRule) {
|
|
1615
1631
|
let e = rootRulesOn(r.cssRules, t);
|
|
@@ -1617,24 +1633,20 @@ function rootRulesOn(e, t) {
|
|
|
1617
1633
|
} else r instanceof CSSLayerBlockRule && n.push(rootRulesOn(r.cssRules, t));
|
|
1618
1634
|
return n.filter(Boolean).join("\n");
|
|
1619
1635
|
}
|
|
1620
|
-
var
|
|
1621
|
-
"
|
|
1622
|
-
"
|
|
1623
|
-
"
|
|
1624
|
-
|
|
1625
|
-
"../styles/themes/
|
|
1626
|
-
"../styles/themes/
|
|
1627
|
-
"../styles/themes/
|
|
1628
|
-
"../styles/themes/
|
|
1629
|
-
"../styles/themes/
|
|
1630
|
-
"../styles/themes/
|
|
1631
|
-
"../styles/themes/
|
|
1632
|
-
"../styles/themes/
|
|
1633
|
-
|
|
1634
|
-
"../styles/themes/paper.css": () => import("./paper-M61nUilz.js").then((e) => e.default),
|
|
1635
|
-
"../styles/themes/pop.css": () => import("./pop-CxXfytjk.js").then((e) => e.default),
|
|
1636
|
-
"../styles/themes/spell.css": () => import("./spell-By5Y3jKP.js").then((e) => e.default)
|
|
1637
|
-
})).map(([e, t]) => [e.replace(/^.*\//, "").replace(/\.css$/, ""), t])), ut = class Toasts {
|
|
1636
|
+
var lt = /* @__PURE__ */ RegExp("(?<=^|;\\s*)(?:color-scheme|--ui-scheme|--ui-control-cursor)\\s*:[^;]*;\\s*", "g"), ut = /^:root(?:[.:[][^\s>+~]*)?$/, K = "classic", dt = "dark", q = Object.fromEntries(Object.entries(/* #__PURE__ */ Object.assign({
|
|
1637
|
+
"../styles/themes/classic.css": () => import("./classic-BHyJFvQa.js").then((e) => e.default),
|
|
1638
|
+
"../styles/themes/crisp.css": () => import("./crisp-DIpY320U.js").then((e) => e.default),
|
|
1639
|
+
"../styles/themes/dark.css": () => import("./dark-B5s4QbmU.js").then((e) => e.default),
|
|
1640
|
+
"../styles/themes/fruity.css": () => import("./fruity-CsfZNeXb.js").then((e) => e.default),
|
|
1641
|
+
"../styles/themes/glass.css": () => import("./glass-BCK30hpe.js").then((e) => e.default),
|
|
1642
|
+
"../styles/themes/matrix.css": () => import("./matrix-DEnqBfwC.js").then((e) => e.default),
|
|
1643
|
+
"../styles/themes/merlot.css": () => import("./merlot-DFa6kDbA.js").then((e) => e.default),
|
|
1644
|
+
"../styles/themes/midnight.css": () => import("./midnight-q0-3-V6U.js").then((e) => e.default),
|
|
1645
|
+
"../styles/themes/mockup.css": () => import("./mockup-D0vovNO7.js").then((e) => e.default),
|
|
1646
|
+
"../styles/themes/paper.css": () => import("./paper-DPxolmdy.js").then((e) => e.default),
|
|
1647
|
+
"../styles/themes/pop.css": () => import("./pop-Dw_6k177.js").then((e) => e.default),
|
|
1648
|
+
"../styles/themes/spell.css": () => import("./spell-CB-MivSX.js").then((e) => e.default)
|
|
1649
|
+
})).map(([e, t]) => [e.replace(/^.*\//, "").replace(/\.css$/, ""), t])), ft = class Toasts {
|
|
1638
1650
|
static provider;
|
|
1639
1651
|
register(e) {
|
|
1640
1652
|
let t = Toasts.provider;
|
|
@@ -1642,6 +1654,13 @@ var st = RegExp(`(?<=^|;\\s*)(?:${[
|
|
|
1642
1654
|
Toasts.provider === e && (Toasts.provider = t);
|
|
1643
1655
|
};
|
|
1644
1656
|
}
|
|
1657
|
+
familyLoader;
|
|
1658
|
+
loadFamilyWith(e) {
|
|
1659
|
+
this.familyLoader = e;
|
|
1660
|
+
}
|
|
1661
|
+
async ready() {
|
|
1662
|
+
Toasts.provider || await this.familyLoader?.();
|
|
1663
|
+
}
|
|
1645
1664
|
show(e) {
|
|
1646
1665
|
return this.registeredProvider.show(e);
|
|
1647
1666
|
}
|
|
@@ -1652,29 +1671,29 @@ var st = RegExp(`(?<=^|;\\s*)(?:${[
|
|
|
1652
1671
|
if (!Toasts.provider) throw Error("UI.toasts: ui-toast not registered; import its family (`spell/ui/ui-toast`) first");
|
|
1653
1672
|
return Toasts.provider;
|
|
1654
1673
|
}
|
|
1655
|
-
},
|
|
1656
|
-
|
|
1674
|
+
}, pt, mt = [k], J;
|
|
1675
|
+
pt = [k];
|
|
1657
1676
|
var Y = class _Transitions {
|
|
1658
1677
|
constructor({ browser: e }) {
|
|
1659
|
-
|
|
1660
|
-
}
|
|
1661
|
-
animate({ element: e, name: t, direction:
|
|
1662
|
-
if (this.running.get(e)?.finish(!1),
|
|
1663
|
-
this.setOptions(e,
|
|
1664
|
-
let
|
|
1665
|
-
e.getAttribute(X) ===
|
|
1666
|
-
let
|
|
1667
|
-
return
|
|
1668
|
-
let
|
|
1669
|
-
t.target === e &&
|
|
1670
|
-
}, "onEnd"),
|
|
1671
|
-
this.running.get(e) ===
|
|
1672
|
-
}, "finish"),
|
|
1673
|
-
direction:
|
|
1674
|
-
finish:
|
|
1678
|
+
f(this, "browser"), f(this, "running", /* @__PURE__ */ new WeakMap()), this.browser = e;
|
|
1679
|
+
}
|
|
1680
|
+
animate({ element: e, name: t, direction: n, ...r }) {
|
|
1681
|
+
if (this.running.get(e)?.finish(!1), n === "in" && this.reveal(e), this.browser.isReducedMotion) return e.removeAttribute(X), n === "out" && this.hide(e), Promise.resolve(!0);
|
|
1682
|
+
this.setOptions(e, r);
|
|
1683
|
+
let i = `${t} ${n}`;
|
|
1684
|
+
e.getAttribute(X) === i && (e.removeAttribute(X), e.offsetWidth), e.setAttribute(X, i);
|
|
1685
|
+
let a = this.expectedDuration(e);
|
|
1686
|
+
return a === 0 ? (this.cleanup(e, n, r), Promise.resolve(!0)) : new Promise((t) => {
|
|
1687
|
+
let i = new AbortController(), o = /* @__PURE__ */ p((t) => {
|
|
1688
|
+
t.target === e && c(!0);
|
|
1689
|
+
}, "onEnd"), s = E((a + this.failSafeDelay) / 1e3, () => c(!0)), c = /* @__PURE__ */ p((a) => {
|
|
1690
|
+
this.running.get(e) === l && (this.running.delete(e), s.cancel(), i.abort(), a && this.cleanup(e, n, r), t(a));
|
|
1691
|
+
}, "finish"), l = {
|
|
1692
|
+
direction: n,
|
|
1693
|
+
finish: c
|
|
1675
1694
|
};
|
|
1676
|
-
this.running.set(e,
|
|
1677
|
-
for (let t of
|
|
1695
|
+
this.running.set(e, l);
|
|
1696
|
+
for (let t of _t) e.addEventListener(t, o, { signal: i.signal });
|
|
1678
1697
|
});
|
|
1679
1698
|
}
|
|
1680
1699
|
isAnimating(e, t) {
|
|
@@ -1691,10 +1710,10 @@ var Y = class _Transitions {
|
|
|
1691
1710
|
e.hidden = !0, e.isConnected && getComputedStyle(e).display !== a.none && (e.style.setProperty("display", a.none), e.setAttribute(this.forcedDisplayAttribute, ""));
|
|
1692
1711
|
}
|
|
1693
1712
|
setOptions(e, { duration: t, easing: n }) {
|
|
1694
|
-
t !== void 0 && e.style.setProperty(
|
|
1713
|
+
t !== void 0 && e.style.setProperty(Z, typeof t == "number" ? `${t}ms` : t), n !== void 0 && e.style.setProperty(gt, n);
|
|
1695
1714
|
}
|
|
1696
1715
|
cleanup(e, t, n) {
|
|
1697
|
-
t === "out" && this.hide(e), e.removeAttribute(X), n.duration !== void 0 && e.style.removeProperty(
|
|
1716
|
+
t === "out" && this.hide(e), e.removeAttribute(X), n.duration !== void 0 && e.style.removeProperty(Z), n.easing !== void 0 && e.style.removeProperty(gt);
|
|
1698
1717
|
}
|
|
1699
1718
|
expectedDuration(e) {
|
|
1700
1719
|
if (!e.isConnected) return 0;
|
|
@@ -1710,21 +1729,21 @@ var Y = class _Transitions {
|
|
|
1710
1729
|
}
|
|
1711
1730
|
}
|
|
1712
1731
|
};
|
|
1713
|
-
J =
|
|
1714
|
-
var
|
|
1732
|
+
J = u(null), x(J, 13, "failSafeDelay", mt, Y), x(J, 13, "forcedDisplayAttribute", pt, Y), w(J, Y), p(Y, "Transitions"), f(Y, "failSafeDelay", T(J, 8, Y, 100)), T(J, 11, Y), f(Y, "forcedDisplayAttribute", T(J, 12, Y, "data-ui-hidden-by-animation")), T(J, 15, Y);
|
|
1733
|
+
var ht = Y, X = "data-ui-animation", Z = "--ui-animation-duration", gt = "--ui-animation-easing", _t = ["animationend", "animationcancel"], Visibility = class {
|
|
1715
1734
|
transitions;
|
|
1716
1735
|
constructor({ transitions: e }) {
|
|
1717
1736
|
this.transitions = e;
|
|
1718
1737
|
}
|
|
1719
1738
|
observe(e, t = {}) {
|
|
1720
|
-
let n = new
|
|
1739
|
+
let n = new vt({
|
|
1721
1740
|
element: e,
|
|
1722
1741
|
options: t
|
|
1723
1742
|
});
|
|
1724
1743
|
return () => n.dispose();
|
|
1725
1744
|
}
|
|
1726
1745
|
lazyImage(e, t = {}) {
|
|
1727
|
-
let n = e.getAttribute(
|
|
1746
|
+
let n = e.getAttribute(Ct.src);
|
|
1728
1747
|
if (!n) return () => void 0;
|
|
1729
1748
|
let r = this.observe(e, {
|
|
1730
1749
|
once: !0,
|
|
@@ -1737,7 +1756,7 @@ var ft = Y, X = "data-ui-animation", pt = "--ui-animation-duration", mt = "--ui-
|
|
|
1737
1756
|
return r;
|
|
1738
1757
|
}
|
|
1739
1758
|
async load(e, t, n) {
|
|
1740
|
-
let { transition: r =
|
|
1759
|
+
let { transition: r = wt.transition, duration: i = wt.duration } = n, a = e.getAttribute(Ct.srcset), o = new Image();
|
|
1741
1760
|
a && (o.srcset = a), o.src = t;
|
|
1742
1761
|
try {
|
|
1743
1762
|
await o.decode();
|
|
@@ -1749,7 +1768,7 @@ var ft = Y, X = "data-ui-animation", pt = "--ui-animation-duration", mt = "--ui-
|
|
|
1749
1768
|
duration: i
|
|
1750
1769
|
}), n.onLoad?.(e);
|
|
1751
1770
|
}
|
|
1752
|
-
},
|
|
1771
|
+
}, vt = class VisibilityWatch {
|
|
1753
1772
|
element;
|
|
1754
1773
|
target;
|
|
1755
1774
|
hasWaited = !1;
|
|
@@ -1759,7 +1778,7 @@ var ft = Y, X = "data-ui-animation", pt = "--ui-animation-duration", mt = "--ui-
|
|
|
1759
1778
|
occurred = /* @__PURE__ */ new Set();
|
|
1760
1779
|
previous;
|
|
1761
1780
|
lastTop;
|
|
1762
|
-
checks = new
|
|
1781
|
+
checks = new ee({
|
|
1763
1782
|
when: le,
|
|
1764
1783
|
run: () => {
|
|
1765
1784
|
this.observers.length && this.check();
|
|
@@ -1806,8 +1825,8 @@ var ft = Y, X = "data-ui-animation", pt = "--ui-animation-duration", mt = "--ui-
|
|
|
1806
1825
|
if (!e.width && !e.height) return;
|
|
1807
1826
|
let t = this.calculate(e), n = this.previous;
|
|
1808
1827
|
this.previous = t;
|
|
1809
|
-
for (let e of
|
|
1810
|
-
for (let e of
|
|
1828
|
+
for (let e of bt) n?.[e] && !t[e] && this.reverse(St[e], t);
|
|
1829
|
+
for (let e of yt) this.forward(xt[e], t[e], t);
|
|
1811
1830
|
this.options.onUpdate?.(t);
|
|
1812
1831
|
}
|
|
1813
1832
|
retarget() {
|
|
@@ -1838,11 +1857,7 @@ var ft = Y, X = "data-ui-animation", pt = "--ui-animation-duration", mt = "--ui-
|
|
|
1838
1857
|
}
|
|
1839
1858
|
forward(e, t, n) {
|
|
1840
1859
|
let { once: r = !0, continuous: i = !1 } = this.options;
|
|
1841
|
-
|
|
1842
|
-
r || this.occurred.delete(e);
|
|
1843
|
-
return;
|
|
1844
|
-
}
|
|
1845
|
-
(i || !this.occurred.has(e)) && (this.occurred.add(e), this.options[e]?.(n));
|
|
1860
|
+
t ? (i || !this.occurred.has(e)) && (this.occurred.add(e), this.options[e]?.(n)) : r || this.occurred.delete(e);
|
|
1846
1861
|
}
|
|
1847
1862
|
reverse(e, t) {
|
|
1848
1863
|
(this.options.once ?? !0) && this.occurred.has(e) || (this.occurred.add(e), this.options[e]?.(t));
|
|
@@ -1857,7 +1872,7 @@ var ft = Y, X = "data-ui-animation", pt = "--ui-animation-duration", mt = "--ui-
|
|
|
1857
1872
|
if (t) return t;
|
|
1858
1873
|
}
|
|
1859
1874
|
}
|
|
1860
|
-
},
|
|
1875
|
+
}, yt = [
|
|
1861
1876
|
"onScreen",
|
|
1862
1877
|
"offScreen",
|
|
1863
1878
|
"passing",
|
|
@@ -1865,13 +1880,13 @@ var ft = Y, X = "data-ui-animation", pt = "--ui-animation-duration", mt = "--ui-
|
|
|
1865
1880
|
"bottomVisible",
|
|
1866
1881
|
"topPassed",
|
|
1867
1882
|
"bottomPassed"
|
|
1868
|
-
],
|
|
1883
|
+
], bt = [
|
|
1869
1884
|
"passing",
|
|
1870
1885
|
"topVisible",
|
|
1871
1886
|
"bottomVisible",
|
|
1872
1887
|
"topPassed",
|
|
1873
1888
|
"bottomPassed"
|
|
1874
|
-
],
|
|
1889
|
+
], xt = {
|
|
1875
1890
|
onScreen: "onOnScreen",
|
|
1876
1891
|
offScreen: "onOffScreen",
|
|
1877
1892
|
passing: "onPassing",
|
|
@@ -1879,26 +1894,26 @@ var ft = Y, X = "data-ui-animation", pt = "--ui-animation-duration", mt = "--ui-
|
|
|
1879
1894
|
bottomVisible: "onBottomVisible",
|
|
1880
1895
|
topPassed: "onTopPassed",
|
|
1881
1896
|
bottomPassed: "onBottomPassed"
|
|
1882
|
-
},
|
|
1897
|
+
}, St = {
|
|
1883
1898
|
passing: "onPassingReverse",
|
|
1884
1899
|
topVisible: "onTopVisibleReverse",
|
|
1885
1900
|
bottomVisible: "onBottomVisibleReverse",
|
|
1886
1901
|
topPassed: "onTopPassedReverse",
|
|
1887
1902
|
bottomPassed: "onBottomPassedReverse"
|
|
1888
|
-
},
|
|
1903
|
+
}, Ct = {
|
|
1889
1904
|
src: "data-src",
|
|
1890
1905
|
srcset: "data-srcset"
|
|
1891
|
-
},
|
|
1906
|
+
}, wt = {
|
|
1892
1907
|
transition: "fade",
|
|
1893
1908
|
duration: 1e3
|
|
1894
|
-
},
|
|
1909
|
+
}, Tt = [k], Q, $ = class _UIRuntime {
|
|
1895
1910
|
constructor() {
|
|
1896
|
-
|
|
1911
|
+
f(this, "browser", new Te()), f(this, "ids", new Ids()), f(this, "keyboard", new Je({ isApple: this.browser.isApple })), f(this, "focus", new Focus()), f(this, "styles", new Styles()), f(this, "themes", new Themes({ styles: this.styles })), f(this, "overlays", new Qe({
|
|
1897
1912
|
keyboard: this.keyboard,
|
|
1898
1913
|
focus: this.focus,
|
|
1899
1914
|
browser: this.browser,
|
|
1900
1915
|
styles: this.styles
|
|
1901
|
-
})),
|
|
1916
|
+
})), f(this, "transitions", new ht({ browser: this.browser })), f(this, "visibility", new Visibility({ transitions: this.transitions })), f(this, "i18n", new Le({ browser: this.browser })), f(this, "toasts", new ft()), f(this, "modals", new Xe()), f(this, "api", new xe()), f(this, "icons", new Ve()), f(this, "sources", new it()), f(this, "code", new CodeLanguages()), f(this, "vocabulary", new re()), f(this, "propertyControls", new PropertyControls()), f(this, "dataTooltips", new DataTooltips({ browser: this.browser })), f(this, "ready"), this.registerFoundation(), this.dataTooltips.start(), this.ready = Promise.resolve();
|
|
1902
1917
|
}
|
|
1903
1918
|
async load() {
|
|
1904
1919
|
return await this.ready, this;
|
|
@@ -1910,35 +1925,34 @@ var ft = Y, X = "data-ui-animation", pt = "--ui-animation-duration", mt = "--ui-
|
|
|
1910
1925
|
return this.visibility.observe(e, t);
|
|
1911
1926
|
}
|
|
1912
1927
|
registerFoundation() {
|
|
1913
|
-
for (let [e, t] of Object.entries(
|
|
1928
|
+
for (let [e, t] of Object.entries(Ot)) this.styles.register(e, t, {
|
|
1914
1929
|
page: !0,
|
|
1915
1930
|
linked: !0
|
|
1916
1931
|
});
|
|
1917
|
-
this.styles.setFoundation(Object.keys(
|
|
1932
|
+
this.styles.setFoundation(Object.keys(Dt));
|
|
1918
1933
|
}
|
|
1919
1934
|
static get instance() {
|
|
1920
1935
|
let e = globalThis;
|
|
1921
|
-
return e[
|
|
1936
|
+
return e[_] || (e[_] = new _UIRuntime());
|
|
1922
1937
|
}
|
|
1923
1938
|
static load() {
|
|
1924
1939
|
return se();
|
|
1925
1940
|
}
|
|
1926
1941
|
};
|
|
1927
|
-
|
|
1928
|
-
var
|
|
1942
|
+
Q = u(null), x(Q, 13, "version", Tt, $), w(Q, $), p($, "UIRuntime"), f($, "version", T(Q, 8, $, te)), T(Q, 11, $);
|
|
1943
|
+
var Et = $, Dt = {
|
|
1929
1944
|
layers: pe,
|
|
1930
1945
|
reset: he,
|
|
1931
1946
|
tokens: _e,
|
|
1932
1947
|
colors: fe,
|
|
1933
1948
|
sizes: ge,
|
|
1934
1949
|
animations: de
|
|
1935
|
-
},
|
|
1936
|
-
|
|
1937
|
-
[
|
|
1950
|
+
}, Ot = {
|
|
1951
|
+
...Dt,
|
|
1952
|
+
[ne]: ye,
|
|
1938
1953
|
typography: ve,
|
|
1939
1954
|
native: me
|
|
1940
1955
|
};
|
|
1941
|
-
|
|
1942
|
-
export { wt as UIRuntime };
|
|
1956
|
+
export { Et as UIRuntime };
|
|
1943
1957
|
|
|
1944
|
-
//# sourceMappingURL=UIRuntime-
|
|
1958
|
+
//# sourceMappingURL=UIRuntime-BXutHphM.js.map
|