spell-ui 0.8.5 → 0.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README-components.md +14 -6
- package/README-frameworks.md +22 -12
- package/README-migrating.md +7 -6
- package/README-runtime.md +14 -13
- package/README-site.md +11 -11
- package/README-themes.md +38 -11
- package/README.md +61 -73
- package/dist/Dragging-CMZoLEWQ.js +169 -0
- package/dist/Dragging-CMZoLEWQ.js.map +1 -0
- package/dist/{MarkdownEngine-CbuT9Mjc.js → MarkdownEngine-CW1WGqNp.js} +122 -100
- package/dist/MarkdownEngine-CW1WGqNp.js.map +1 -0
- package/dist/{PrefStore-CeaTtjTz.js → PrefStore-Qv0e5y04.js} +22 -22
- package/dist/PrefStore-Qv0e5y04.js.map +1 -0
- package/dist/ScrollingRow-7n7Z-HIE.js +88 -0
- package/dist/ScrollingRow-7n7Z-HIE.js.map +1 -0
- package/dist/SitePages-CciwREek.js +51 -0
- package/dist/SitePages-CciwREek.js.map +1 -0
- package/dist/{SlottedItems-Ch0tzzlL.js → SlottedItems-Du3aJwG1.js} +22 -22
- package/dist/{SlottedItems-Ch0tzzlL.js.map → SlottedItems-Du3aJwG1.js.map} +1 -1
- package/dist/ThemeDraft-B7NPif4d.js +805 -0
- package/dist/ThemeDraft-B7NPif4d.js.map +1 -0
- package/dist/TreeMeasure-BVJeGb1L.js +42 -0
- package/dist/TreeMeasure-BVJeGb1L.js.map +1 -0
- package/dist/UIButton-DFEds67r.js +6 -0
- package/dist/UIButton-DFEds67r.js.map +1 -0
- package/dist/UIInput-BodVbUoQ.js +6 -0
- package/dist/UIInput-BodVbUoQ.js.map +1 -0
- package/dist/{UIKeys-DJF2TIKE.js → UIKeys-Rh_gUZjP.js} +10 -9
- package/dist/UIKeys-Rh_gUZjP.js.map +1 -0
- package/dist/UILabel-DgJUBzB_.js +6 -0
- package/dist/UILabel-DgJUBzB_.js.map +1 -0
- package/dist/UIMenu-zdcAtwTa.js +42 -0
- package/dist/UIMenu-zdcAtwTa.js.map +1 -0
- package/dist/{UIRuntime-BBuehGly.js → UIRuntime-KH309p5B.js} +398 -207
- package/dist/UIRuntime-KH309p5B.js.map +1 -0
- package/dist/_spell-element/DOMElement.d.ts +62 -5
- package/dist/_spell-element/MoveAndResize.d.ts +75 -0
- package/dist/_spell-element/UIComponent.d.ts +42 -0
- package/dist/_spell-element/elements.types.d.ts +47 -0
- package/dist/_spell-element/index.d.ts +1 -0
- package/dist/_spell-element/vocabulary.types.d.ts +34 -2
- package/dist/{runtime → _util}/Api.d.ts +14 -4
- package/dist/_util/Dragging.d.ts +148 -0
- package/dist/_util/ListSelection.d.ts +46 -0
- package/dist/{util → _util}/LoadOnce.d.ts +9 -1
- package/dist/_util/ReconnectingSocket.d.ts +51 -0
- package/dist/_util/diagram/DiagramColumns.d.ts +14 -0
- package/dist/_util/diagram/DiagramLayout.d.ts +119 -0
- package/dist/_util/diagram/DiagramSVG.d.ts +17 -0
- package/dist/_util/dom.d.ts +10 -0
- package/dist/_util/fetching.d.ts +92 -0
- package/dist/_util/measures/Dimension.d.ts +63 -0
- package/dist/_util/measures/MeasureSystem.d.ts +66 -0
- package/dist/_util/measures/dimensions.generated.d.ts +16 -0
- package/dist/_util/persist/ColorScheme.d.ts +6 -0
- package/dist/_util/persist/ServerPlace.d.ts +42 -0
- package/dist/_util/persist/WaitedOnPlace.d.ts +27 -0
- package/dist/_util/persist/persist.types.d.ts +21 -2
- package/dist/_util/timing.d.ts +10 -1
- package/dist/api.js +8 -7
- package/dist/api.js.map +1 -1
- package/dist/components/ComponentDefinitions.d.ts +29 -0
- package/dist/components/components.es.d.ts +13 -0
- package/dist/components/components.types.d.ts +113 -8
- package/dist/components/ui-accordion/UIAccordion.d.ts +1 -0
- package/dist/components/ui-accordion/UIAccordion.en.d.ts +1 -0
- package/dist/components/ui-action/UIAction.en.d.ts +5 -1
- package/dist/components/ui-ad/UIAd.d.ts +1 -0
- package/dist/components/ui-ad/UIAd.en.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumb.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumb.en.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumbs.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumbs.en.d.ts +1 -0
- package/dist/components/ui-button/UIButton.d.ts +8 -3
- package/dist/components/ui-button/UIButton.en.d.ts +9 -4
- package/dist/components/ui-button/UIButton.es.d.ts +6 -0
- package/dist/components/ui-button/UIButton.fallback.d.ts +8 -3
- package/dist/components/ui-button/UIButtons.d.ts +1 -0
- package/dist/components/ui-button/UIButtons.en.d.ts +1 -0
- package/dist/components/ui-button/UIOr.d.ts +1 -0
- package/dist/components/ui-button/UIOr.en.d.ts +1 -0
- package/dist/components/ui-calendar/UICalendar.d.ts +6 -0
- package/dist/components/ui-calendar/UICalendar.en.d.ts +6 -0
- package/dist/components/ui-calendar/UICalendar.fallback.d.ts +6 -0
- package/dist/components/ui-card/CardClicks.d.ts +40 -0
- package/dist/components/ui-card/UICard.d.ts +41 -0
- package/dist/components/ui-card/UICard.en.d.ts +49 -0
- package/dist/components/ui-card/UICard.es.d.ts +1 -0
- package/dist/components/ui-card/UICards.d.ts +31 -0
- package/dist/components/ui-card/UICards.en.d.ts +31 -0
- package/dist/components/ui-card/UICards.es.d.ts +8 -0
- package/dist/components/ui-checkbox/CheckControl.d.ts +7 -0
- package/dist/components/ui-checkbox/UICheckbox.d.ts +7 -0
- package/dist/components/ui-checkbox/UICheckbox.en.d.ts +7 -0
- package/dist/components/ui-checkbox/UICheckbox.es.d.ts +1 -0
- package/dist/components/ui-checkbox/UICheckbox.fallback.d.ts +7 -0
- package/dist/components/ui-checkbox/UICheckbox.types.d.ts +5 -0
- package/dist/components/ui-checkbox/UIRadio.d.ts +8 -0
- package/dist/components/ui-checkbox/UIRadio.en.d.ts +6 -0
- package/dist/components/ui-code/UICode.en.d.ts +1 -0
- package/dist/components/ui-comment/UIComment.d.ts +1 -0
- package/dist/components/ui-comment/UIComment.en.d.ts +1 -0
- package/dist/components/ui-comment/UIComments.d.ts +1 -0
- package/dist/components/ui-comment/UIComments.en.d.ts +1 -0
- package/dist/components/ui-components/PackHotSwap.d.ts +17 -1
- package/dist/components/ui-components/UIComponents.d.ts +1 -0
- package/dist/components/ui-components/UIComponents.en.d.ts +1 -0
- package/dist/components/ui-container/UIContainer.d.ts +11 -0
- package/dist/components/ui-container/UIContainer.en.d.ts +7 -0
- package/dist/components/ui-container/UIContainer.es.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagram.d.ts +268 -0
- package/dist/components/ui-diagram/UIDiagram.en.d.ts +106 -0
- package/dist/components/ui-diagram/UIDiagram.es.d.ts +37 -0
- package/dist/components/ui-diagram/UIDiagramNode.d.ts +98 -0
- package/dist/components/ui-diagram/UIDiagramNode.en.d.ts +38 -0
- package/dist/components/ui-diagram/UIDiagramNode.es.d.ts +16 -0
- package/dist/components/ui-diagram/index.d.ts +8 -0
- package/dist/components/ui-dimension/UIDimension.d.ts +81 -0
- package/dist/components/ui-dimension/UIDimension.en.d.ts +54 -0
- package/dist/components/ui-dimension/UIDimension.es.d.ts +22 -0
- package/dist/components/ui-dimension/index.d.ts +2 -0
- package/dist/components/ui-dimmer/UIDimmer.d.ts +6 -1
- package/dist/components/ui-dimmer/UIDimmer.en.d.ts +1 -0
- package/dist/components/ui-dimmer/UIDimmer.es.d.ts +1 -1
- package/dist/components/ui-divider/UIDivider.d.ts +2 -0
- package/dist/components/ui-divider/UIDivider.en.d.ts +2 -0
- package/dist/components/ui-divider/UIDivider.es.d.ts +1 -0
- package/dist/components/ui-dropdown/UIDropdown.d.ts +6 -0
- package/dist/components/ui-dropdown/UIDropdown.en.d.ts +6 -0
- package/dist/components/ui-dropdown/UIDropdown.fallback.d.ts +6 -0
- package/dist/components/ui-embed/UIEmbed.d.ts +1 -0
- package/dist/components/ui-embed/UIEmbed.en.d.ts +1 -0
- package/dist/components/ui-emoji/UIEmoji.d.ts +1 -0
- package/dist/components/ui-emoji/UIEmoji.en.d.ts +1 -0
- package/dist/components/ui-example/UIExample.en.d.ts +4 -2
- package/dist/components/ui-example/UIExample.es.d.ts +3 -2
- package/dist/components/ui-feed/UIFeed.d.ts +1 -0
- package/dist/components/ui-feed/UIFeed.en.d.ts +1 -0
- package/dist/components/ui-feed/UIFeedEvent.d.ts +1 -0
- package/dist/components/ui-feed/UIFeedEvent.en.d.ts +1 -0
- package/dist/components/ui-flag/UIFlag.d.ts +1 -0
- package/dist/components/ui-flag/UIFlag.en.d.ts +1 -0
- package/dist/components/ui-flyout/UIFlyout.d.ts +1 -0
- package/dist/components/ui-flyout/UIFlyout.en.d.ts +1 -0
- package/dist/components/ui-form/FormBinding.d.ts +13 -1
- package/dist/components/ui-form/FormFields.d.ts +4 -4
- package/dist/components/ui-form/UIField.d.ts +30 -3
- package/dist/components/ui-form/UIField.en.d.ts +9 -0
- package/dist/components/ui-form/UIField.es.d.ts +6 -0
- package/dist/components/ui-form/UIFields.d.ts +1 -0
- package/dist/components/ui-form/UIFields.en.d.ts +1 -0
- package/dist/components/ui-form/UIForm.d.ts +15 -0
- package/dist/components/ui-form/UIForm.en.d.ts +6 -0
- package/dist/components/ui-form/UIRepeat.d.ts +1 -0
- package/dist/components/ui-form/UIRepeat.en.d.ts +1 -0
- package/dist/components/ui-form/index.d.ts +2 -1
- package/dist/components/ui-grid/UIColumn.d.ts +1 -0
- package/dist/components/ui-grid/UIColumn.en.d.ts +1 -0
- package/dist/components/ui-grid/UIGrid.d.ts +1 -0
- package/dist/components/ui-grid/UIGrid.en.d.ts +1 -0
- package/dist/components/ui-grid/UIRow.d.ts +1 -0
- package/dist/components/ui-grid/UIRow.en.d.ts +1 -0
- package/dist/components/ui-icon/UIIcon.d.ts +3 -2
- package/dist/components/ui-icon/UIIcon.en.d.ts +3 -2
- package/dist/components/ui-icon/UIIcons.d.ts +1 -0
- package/dist/components/ui-icon/UIIcons.en.d.ts +1 -0
- package/dist/components/ui-icon-picker/UIIconPicker.d.ts +6 -0
- package/dist/components/ui-icon-picker/UIIconPicker.en.d.ts +6 -0
- package/dist/components/ui-icon-picker/UIIconPicker.fallback.d.ts +6 -0
- package/dist/components/ui-image/UIImage.d.ts +34 -0
- package/dist/components/ui-image/UIImage.en.d.ts +23 -0
- package/dist/components/ui-image/UIImage.es.d.ts +2 -0
- package/dist/components/ui-image/UIImages.d.ts +1 -0
- package/dist/components/ui-image/UIImages.en.d.ts +1 -0
- package/dist/components/ui-include/UIInclude.d.ts +1 -0
- package/dist/components/ui-include/UIInclude.en.d.ts +1 -0
- package/dist/components/ui-input/TextControl.d.ts +7 -0
- package/dist/components/ui-input/UIInput.d.ts +22 -3
- package/dist/components/ui-input/UIInput.en.d.ts +9 -2
- package/dist/components/ui-input/UIInput.es.d.ts +2 -0
- package/dist/components/ui-input/UIInput.fallback.d.ts +9 -2
- package/dist/components/ui-input/UITextarea.d.ts +20 -0
- package/dist/components/ui-input/UITextarea.en.d.ts +15 -0
- package/dist/components/ui-input/UITextarea.es.d.ts +4 -0
- package/dist/components/ui-item/UIItem.d.ts +27 -4
- package/dist/components/ui-item/UIItem.en.d.ts +5 -1
- package/dist/components/ui-items/UIItems.d.ts +1 -0
- package/dist/components/ui-items/UIItems.en.d.ts +1 -0
- package/dist/components/ui-json/JsonChild.d.ts +30 -0
- package/dist/components/ui-json/UIJson.d.ts +128 -0
- package/dist/components/ui-json/UIJson.en.d.ts +71 -0
- package/dist/components/ui-json/UIJson.es.d.ts +12 -0
- package/dist/components/ui-json/index.d.ts +3 -0
- package/dist/components/ui-keys/UIKeys.d.ts +1 -0
- package/dist/components/ui-keys/UIKeys.en.d.ts +1 -0
- package/dist/components/ui-label/UILabel.d.ts +2 -0
- package/dist/components/ui-label/UILabel.en.d.ts +2 -0
- package/dist/components/ui-label/UILabel.es.d.ts +1 -0
- package/dist/components/ui-label/UILabels.d.ts +1 -0
- package/dist/components/ui-label/UILabels.en.d.ts +1 -0
- package/dist/components/ui-list/UIList.d.ts +2 -0
- package/dist/components/ui-list/UIList.en.d.ts +2 -0
- package/dist/components/ui-list/UIList.es.d.ts +1 -0
- package/dist/components/ui-loader/UILoader.d.ts +1 -0
- package/dist/components/ui-loader/UILoader.en.d.ts +1 -0
- package/dist/components/ui-markdown/MarkdownBox.d.ts +143 -0
- package/dist/components/ui-markdown/MarkdownEngine.d.ts +14 -2
- package/dist/components/ui-markdown/MarkdownFormats.d.ts +95 -0
- package/dist/components/ui-markdown/MarkdownSource.d.ts +57 -0
- package/dist/components/ui-markdown/UIMarkdown.d.ts +126 -6
- package/dist/components/ui-markdown/UIMarkdown.en.d.ts +111 -8
- package/dist/components/ui-markdown/UIMarkdown.es.d.ts +29 -1
- package/dist/components/ui-markdown/UIMarkdown.types.d.ts +26 -0
- package/dist/components/ui-menu/ScrollingRow.d.ts +79 -0
- package/dist/components/ui-menu/TitleFit.d.ts +3 -0
- package/dist/components/ui-menu/UIMenu.d.ts +97 -4
- package/dist/components/ui-menu/UIMenu.en.d.ts +50 -1
- package/dist/components/ui-menu/UIMenu.es.d.ts +4 -0
- package/dist/components/ui-message/UIMessage.d.ts +2 -0
- package/dist/components/ui-message/UIMessage.en.d.ts +2 -0
- package/dist/components/ui-message/UIMessage.es.d.ts +1 -0
- package/dist/components/ui-modal/UIModal.d.ts +1 -0
- package/dist/components/ui-modal/UIModal.en.d.ts +1 -0
- package/dist/components/ui-nag/UINag.d.ts +1 -0
- package/dist/components/ui-nag/UINag.en.d.ts +1 -0
- package/dist/components/ui-page/UIPage.d.ts +15 -0
- package/dist/components/ui-page/UIPage.en.d.ts +15 -0
- package/dist/components/ui-page/UIPage.es.d.ts +1 -0
- package/dist/components/ui-panel/UIPanel.d.ts +6 -0
- package/dist/components/ui-panel/UIPanel.en.d.ts +33 -20
- package/dist/components/ui-parts/UIActions.d.ts +1 -0
- package/dist/components/ui-parts/UIActions.en.d.ts +1 -0
- package/dist/components/ui-parts/UIAuthor.d.ts +1 -0
- package/dist/components/ui-parts/UIAuthor.en.d.ts +1 -0
- package/dist/components/ui-parts/UIAvatar.d.ts +1 -0
- package/dist/components/ui-parts/UIAvatar.en.d.ts +1 -0
- package/dist/components/ui-parts/UIContent.d.ts +1 -0
- package/dist/components/ui-parts/UIContent.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDate.d.ts +1 -0
- package/dist/components/ui-parts/UIDate.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDescription.d.ts +1 -0
- package/dist/components/ui-parts/UIDescription.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDetail.d.ts +1 -0
- package/dist/components/ui-parts/UIDetail.en.d.ts +1 -0
- package/dist/components/ui-parts/UIExtra.d.ts +1 -0
- package/dist/components/ui-parts/UIExtra.en.d.ts +1 -0
- package/dist/components/ui-parts/UIHeader.d.ts +3 -1
- package/dist/components/ui-parts/UIHeader.en.d.ts +3 -1
- package/dist/components/ui-parts/UIMeta.d.ts +1 -0
- package/dist/components/ui-parts/UIMeta.en.d.ts +1 -0
- package/dist/components/ui-parts/UIParts.types.d.ts +15 -1
- package/dist/components/ui-parts/UISummary.d.ts +1 -0
- package/dist/components/ui-parts/UISummary.en.d.ts +1 -0
- package/dist/components/ui-parts/UITitle.d.ts +1 -0
- package/dist/components/ui-parts/UITitle.en.d.ts +1 -0
- package/dist/components/ui-parts/UIValue.d.ts +1 -0
- package/dist/components/ui-parts/UIValue.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholder.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholder.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderHeader.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderHeader.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderImage.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderImage.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderLine.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderLine.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderParagraph.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderParagraph.en.d.ts +1 -0
- package/dist/components/ui-popup/UIPopup.d.ts +30 -3
- package/dist/components/ui-popup/UIPopup.en.d.ts +7 -0
- package/dist/components/ui-popup/UIPopup.es.d.ts +1 -0
- package/dist/components/ui-progress/UIProgress.d.ts +2 -0
- package/dist/components/ui-progress/UIProgress.en.d.ts +2 -0
- package/dist/components/ui-progress/UIProgress.es.d.ts +1 -0
- package/dist/components/ui-property-editor/UIProperty.d.ts +132 -5
- package/dist/components/ui-property-editor/UIProperty.en.d.ts +11 -44
- package/dist/components/ui-property-editor/UIProperty.es.d.ts +4 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.d.ts +38 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.en.d.ts +1 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.es.d.ts +4 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.types.d.ts +33 -0
- package/dist/components/ui-property-editor/UIPropertyGroup.d.ts +12 -0
- package/dist/components/ui-property-editor/UIPropertyGroup.en.d.ts +2 -0
- package/dist/components/ui-property-editor/UIPropertyGroup.es.d.ts +9 -0
- package/dist/components/ui-property-editor/index.d.ts +1 -0
- package/dist/components/ui-quote/UIQuote.d.ts +1 -0
- package/dist/components/ui-quote/UIQuote.en.d.ts +1 -0
- package/dist/components/ui-rail/UIRail.d.ts +1 -0
- package/dist/components/ui-rail/UIRail.en.d.ts +1 -0
- package/dist/components/ui-rating/UIRating.d.ts +6 -0
- package/dist/components/ui-rating/UIRating.en.d.ts +6 -0
- package/dist/components/ui-rating/UIRating.fallback.d.ts +6 -0
- package/dist/components/ui-reveal/UIReveal.d.ts +1 -0
- package/dist/components/ui-reveal/UIReveal.en.d.ts +1 -0
- package/dist/components/ui-root/UIRoot.d.ts +18 -3
- package/dist/components/ui-root/UIRoot.en.d.ts +15 -0
- package/dist/components/ui-root/UIRoot.es.d.ts +1 -0
- package/dist/components/ui-search/UISearch.d.ts +48 -7
- package/dist/components/ui-search/UISearch.en.d.ts +13 -1
- package/dist/components/ui-search/UISearch.es.d.ts +1 -0
- package/dist/components/ui-search/UISearch.fallback.d.ts +13 -1
- package/dist/components/ui-section/UISection.d.ts +30 -1
- package/dist/components/ui-section/UISection.en.d.ts +10 -0
- package/dist/components/ui-section/UISection.es.d.ts +1 -0
- package/dist/components/ui-section/UISections.d.ts +1 -0
- package/dist/components/ui-section/UISections.en.d.ts +1 -0
- package/dist/components/ui-segment/UISegment.d.ts +2 -0
- package/dist/components/ui-segment/UISegment.en.d.ts +2 -0
- package/dist/components/ui-segment/UISegment.es.d.ts +1 -0
- package/dist/components/ui-segment/UISegments.d.ts +1 -0
- package/dist/components/ui-segment/UISegments.en.d.ts +1 -0
- package/dist/components/ui-select/UISelect.d.ts +6 -0
- package/dist/components/ui-select/UISelect.en.d.ts +6 -0
- package/dist/components/ui-select/UISelect.fallback.d.ts +6 -0
- package/dist/components/ui-shape/UIShape.d.ts +23 -2
- package/dist/components/ui-shape/UIShape.en.d.ts +8 -0
- package/dist/components/ui-shape/UIShape.es.d.ts +1 -0
- package/dist/components/ui-shape/UISide.d.ts +4 -0
- package/dist/components/ui-shape/UISide.en.d.ts +4 -0
- package/dist/components/ui-sidebar/UIPushable.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPushable.en.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPusher.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPusher.en.d.ts +1 -0
- package/dist/components/ui-sidebar/UISidebar.d.ts +1 -0
- package/dist/components/ui-sidebar/UISidebar.en.d.ts +1 -0
- package/dist/components/ui-sides/UISides.d.ts +209 -0
- package/dist/components/ui-sides/UISides.en.d.ts +122 -0
- package/dist/components/ui-sides/UISides.es.d.ts +30 -0
- package/dist/components/ui-sides/UISides.fallback.d.ts +134 -0
- package/dist/components/ui-sides/index.d.ts +2 -0
- package/dist/components/ui-site-nav/SitePages.d.ts +53 -0
- package/dist/components/ui-site-nav/UISiteNav.d.ts +207 -0
- package/dist/components/ui-site-nav/UISiteNav.en.d.ts +87 -0
- package/dist/components/ui-site-nav/UISiteNav.es.d.ts +29 -0
- package/dist/components/ui-site-nav/index.d.ts +1 -0
- package/dist/components/ui-site-tabs/UISiteTabs.d.ts +126 -0
- package/dist/components/ui-site-tabs/UISiteTabs.en.d.ts +49 -0
- package/dist/components/ui-site-tabs/UISiteTabs.es.d.ts +18 -0
- package/dist/components/ui-site-tabs/index.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.d.ts +7 -0
- package/dist/components/ui-slider/UISlider.en.d.ts +7 -0
- package/dist/components/ui-slider/UISlider.es.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.fallback.d.ts +7 -0
- package/dist/components/ui-space/UISpace.d.ts +1 -0
- package/dist/components/ui-space/UISpace.en.d.ts +1 -0
- package/dist/components/ui-split-panel/UISplitPanel.d.ts +175 -0
- package/dist/components/ui-split-panel/UISplitPanel.en.d.ts +74 -0
- package/dist/components/ui-split-panel/UISplitPanel.es.d.ts +25 -0
- package/dist/components/ui-split-panel/index.d.ts +2 -0
- package/dist/components/ui-stack/UIStack.d.ts +31 -5
- package/dist/components/ui-stack/UIStack.en.d.ts +15 -3
- package/dist/components/ui-statistic/UIStatistic.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistic.en.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistics.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistics.en.d.ts +1 -0
- package/dist/components/ui-step/UIStep.d.ts +1 -0
- package/dist/components/ui-step/UIStep.en.d.ts +1 -0
- package/dist/components/ui-step/UISteps.d.ts +1 -0
- package/dist/components/ui-step/UISteps.en.d.ts +1 -0
- package/dist/components/ui-sticky/UISticky.d.ts +4 -0
- package/dist/components/ui-sticky/UISticky.en.d.ts +1 -0
- package/dist/components/ui-tab/UITab.d.ts +8 -0
- package/dist/components/ui-tab/UITab.en.d.ts +1 -0
- package/dist/components/ui-tab/UITabs.d.ts +107 -16
- package/dist/components/ui-tab/UITabs.en.d.ts +40 -1
- package/dist/components/ui-tab/UITabs.es.d.ts +4 -0
- package/dist/components/ui-table/TableEditing.d.ts +77 -0
- package/dist/components/ui-table/UICell.d.ts +1 -0
- package/dist/components/ui-table/UICell.en.d.ts +1 -0
- package/dist/components/ui-table/UITable.d.ts +145 -5
- package/dist/components/ui-table/UITable.en.d.ts +19 -0
- package/dist/components/ui-table/UITable.es.d.ts +3 -0
- package/dist/components/ui-terms/UITerm.d.ts +1 -0
- package/dist/components/ui-terms/UITerm.en.d.ts +1 -0
- package/dist/components/ui-terms/UITerms.d.ts +1 -0
- package/dist/components/ui-terms/UITerms.en.d.ts +1 -0
- package/dist/components/ui-text/UILink.d.ts +11 -0
- package/dist/components/ui-text/UILink.en.d.ts +4 -0
- package/dist/components/ui-text/UIText.d.ts +7 -0
- package/dist/components/ui-text/UIText.en.d.ts +7 -0
- package/dist/components/ui-text/UIText.es.d.ts +2 -0
- package/dist/components/ui-theme-editor/SavedTheme.d.ts +55 -43
- package/dist/components/ui-theme-editor/ThemeDraft.d.ts +15 -0
- package/dist/components/ui-theme-editor/UIColorChip.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIColorChip.en.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeEditor.d.ts +157 -26
- package/dist/components/ui-theme-editor/UIThemeEditor.en.d.ts +79 -6
- package/dist/components/ui-theme-editor/UIThemeEditor.es.d.ts +20 -2
- package/dist/components/ui-theme-editor/UIThemeEditor.types.d.ts +0 -2
- package/dist/components/ui-theme-editor/UIThemeToken.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeToken.en.d.ts +1 -0
- package/dist/components/ui-theme-menu/HueDropdown.d.ts +47 -0
- package/dist/components/ui-theme-menu/ThemeMenu.d.ts +18 -7
- package/dist/components/ui-theme-menu/ThemePreference.d.ts +145 -36
- package/dist/components/ui-theme-menu/UIThemeMenu.d.ts +118 -7
- package/dist/components/ui-theme-menu/UIThemeMenu.en.d.ts +82 -2
- package/dist/components/ui-theme-menu/UIThemeMenu.es.d.ts +21 -1
- package/dist/components/ui-theme-menu/UIThemeMenu.types.d.ts +36 -8
- package/dist/components/ui-theme-menu/index.d.ts +2 -1
- package/dist/components/ui-toast/UIToast.d.ts +1 -0
- package/dist/components/ui-toast/UIToast.en.d.ts +1 -0
- package/dist/components/ui-toc/UIToc.d.ts +1 -0
- package/dist/components/ui-toc/UIToc.en.d.ts +1 -0
- package/dist/components/ui-toolbar/UIToolbar.d.ts +13 -10
- package/dist/components/ui-toolbar/UIToolbar.en.d.ts +138 -84
- package/dist/components/ui-toolbar/UIToolbar.es.d.ts +2 -0
- package/dist/components/ui-transition/UITransition.d.ts +1 -0
- package/dist/components/ui-transition/UITransition.en.d.ts +1 -0
- package/dist/components/ui-tree/UITree.d.ts +162 -0
- package/dist/components/ui-tree/UITree.en.d.ts +88 -0
- package/dist/components/ui-tree/UITree.es.d.ts +35 -0
- package/dist/components/ui-tree/UITreeItem.d.ts +204 -0
- package/dist/components/ui-tree/UITreeItem.en.d.ts +142 -0
- package/dist/components/ui-tree/UITreeItem.es.d.ts +32 -0
- package/dist/components/ui-tree/index.d.ts +3 -0
- package/dist/components/ui-tree-diagram/TreeData.d.ts +3 -12
- package/dist/components/ui-tree-diagram/TreeLayout.d.ts +54 -21
- package/dist/components/ui-tree-diagram/TreeMeasure.d.ts +36 -0
- package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +152 -27
- package/dist/components/ui-tree-diagram/UITreeDiagram.en.d.ts +47 -7
- package/dist/components/ui-tree-diagram/UITreeDiagram.es.d.ts +12 -1
- package/dist/components/ui-tree-diagram/UITreeDiagram.types.d.ts +66 -21
- package/dist/components/ui-tree-diagram/UITreeNode.d.ts +148 -0
- package/dist/components/ui-tree-diagram/UITreeNode.en.d.ts +69 -0
- package/dist/components/ui-tree-diagram/UITreeNode.es.d.ts +21 -0
- package/dist/components/ui-tree-diagram/index.d.ts +4 -2
- package/dist/components/ui-video/UIAudio.d.ts +1 -0
- package/dist/components/ui-video/UIAudio.en.d.ts +1 -0
- package/dist/components/ui-video/UIVideo.d.ts +1 -0
- package/dist/components/ui-video/UIVideo.en.d.ts +1 -0
- package/dist/components/ui-visibility/UIVisibility.d.ts +1 -0
- package/dist/components/ui-visibility/UIVisibility.en.d.ts +1 -0
- package/dist/components/ui-zoom/UIZoom.d.ts +1 -0
- package/dist/components/ui-zoom/UIZoom.en.d.ts +1 -0
- package/dist/{components.es-DmLzT-Bq.js → components.es-BOa_7gFF.js} +498 -109
- package/dist/components.es-BOa_7gFF.js.map +1 -0
- package/dist/core.d.ts +3 -1
- package/dist/core.js +1082 -511
- package/dist/core.js.map +1 -1
- package/dist/crisp-VfYZlTph.js +6 -0
- package/dist/{crisp-CoZRRDuQ.js.map → crisp-VfYZlTph.js.map} +1 -1
- package/dist/docs-components/index.d.ts +1 -0
- package/dist/docs-components/ui-docs-index/UIDocsIndex.d.ts +89 -0
- package/dist/docs-components/ui-docs-index/UIDocsIndex.en.d.ts +43 -0
- package/dist/docs-components/ui-docs-index/index.d.ts +2 -0
- package/dist/docs-components/ui-docs-nav/UIDocsNav.d.ts +54 -87
- package/dist/docs-components/ui-docs-nav/UIDocsNav.types.d.ts +2 -29
- package/dist/docs-components/ui-docs-search/SearchIndex.d.ts +8 -2
- package/dist/docs-components/ui-docs-search/UIDocsSearch.d.ts +10 -0
- package/dist/docs-components/ui-docs-search/UIDocsSearch.en.d.ts +5 -0
- package/dist/elements/AddressParameter.d.ts +87 -0
- package/dist/elements/DOMFormControl.d.ts +5 -0
- package/dist/elements/FormComponent.d.ts +32 -0
- package/dist/elements/LoadableBody.d.ts +6 -1
- package/dist/elements/LoadableComponent.d.ts +10 -1
- package/dist/elements/RootSettings.d.ts +43 -6
- package/dist/elements/SpellUISettings.d.ts +1 -0
- package/dist/elements/StickyWatch.d.ts +20 -0
- package/dist/elements/elements.types.d.ts +15 -0
- package/dist/elements/index.d.ts +2 -0
- package/dist/forms.js +93 -63
- package/dist/forms.js.map +1 -1
- package/dist/fruity-BRVlgJZd.js +6 -0
- package/dist/fruity-BRVlgJZd.js.map +1 -0
- package/dist/{fruity.theme-BJcMiPl1.js → fruity.theme-CbC7Jyvk.js} +2 -2
- package/dist/fruity.theme-CbC7Jyvk.js.map +1 -0
- package/dist/glass-x9tbbwVq.js +6 -0
- package/dist/glass-x9tbbwVq.js.map +1 -0
- package/dist/glass.theme-24wY2wH9.js +6 -0
- package/dist/glass.theme-24wY2wH9.js.map +1 -0
- package/dist/hot.js +536 -26
- package/dist/hot.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.js +91 -81
- package/dist/jsx.d.ts +21149 -10377
- package/dist/matrix-QY2gWbJ0.js +6 -0
- package/dist/{matrix-CqA59hiF.js.map → matrix-QY2gWbJ0.js.map} +1 -1
- package/dist/{matrix.theme-jqQZjcq3.js → matrix.theme-_8xtwhDq.js} +2 -2
- package/dist/matrix.theme-_8xtwhDq.js.map +1 -0
- package/dist/midnight-BxlTQSfw.js +6 -0
- package/dist/{midnight-BnoVOrhC.js.map → midnight-BxlTQSfw.js.map} +1 -1
- package/dist/mockup-83ELBuVr.js +6 -0
- package/dist/mockup-83ELBuVr.js.map +1 -0
- package/dist/mockup.theme-DmpBgGBl.js +6 -0
- package/dist/mockup.theme-DmpBgGBl.js.map +1 -0
- package/dist/paper-M61nUilz.js +6 -0
- package/dist/{paper-CynH8ZuT.js.map → paper-M61nUilz.js.map} +1 -1
- package/dist/persist.types-D2m6wD-S.js +9 -0
- package/dist/persist.types-D2m6wD-S.js.map +1 -0
- package/dist/pop-CxXfytjk.js +6 -0
- package/dist/{pop-D2i9V_rG.js.map → pop-CxXfytjk.js.map} +1 -1
- package/dist/runtime/DataTooltips.d.ts +75 -0
- package/dist/runtime/PropertyControls.d.ts +15 -1
- package/dist/runtime/Sources.d.ts +16 -4
- package/dist/runtime/Styles.d.ts +11 -0
- package/dist/runtime/Themes.d.ts +10 -4
- package/dist/runtime/UIRuntime.d.ts +4 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/runtime.types.d.ts +18 -85
- package/dist/spell-By5Y3jKP.js +6 -0
- package/dist/{spell-BFtLICm7.js.map → spell-By5Y3jKP.js.map} +1 -1
- package/dist/{spell.theme-B7AU7SQX.js → spell.theme-DxGj7qHx.js} +2 -2
- package/dist/spell.theme-DxGj7qHx.js.map +1 -0
- package/dist/styles/CodeThemeFile.d.ts +73 -0
- package/dist/styles/StyleGenerator.d.ts +6 -0
- package/dist/styles/styles.en.d.ts +141 -3
- package/dist/styles/styles.types.d.ts +2 -0
- package/dist/{styles.en-RLpYiO5_.js → styles.en-CUUxNwHo.js} +71 -14
- package/dist/styles.en-CUUxNwHo.js.map +1 -0
- package/dist/styles.js +13 -13
- package/dist/styles.js.map +1 -1
- package/dist/ui-accordion.js +54 -53
- package/dist/ui-accordion.js.map +1 -1
- package/dist/ui-action.js +20 -19
- package/dist/ui-action.js.map +1 -1
- package/dist/ui-ad.js +5 -4
- package/dist/ui-ad.js.map +1 -1
- package/dist/ui-breadcrumbs.js +15 -13
- package/dist/ui-breadcrumbs.js.map +1 -1
- package/dist/ui-button.js +132 -125
- package/dist/ui-button.js.map +1 -1
- package/dist/ui-calendar.js +208 -206
- package/dist/ui-calendar.js.map +1 -1
- package/dist/ui-card.js +260 -98
- package/dist/ui-card.js.map +1 -1
- package/dist/ui-checkbox.js +95 -81
- package/dist/ui-checkbox.js.map +1 -1
- package/dist/ui-code.js +25 -24
- package/dist/ui-code.js.map +1 -1
- package/dist/ui-comment.js +14 -12
- package/dist/ui-comment.js.map +1 -1
- package/dist/ui-components.js +7 -6
- package/dist/ui-components.js.map +1 -1
- package/dist/ui-container.js +24 -12
- package/dist/ui-container.js.map +1 -1
- package/dist/ui-diagram.js +1328 -0
- package/dist/ui-diagram.js.map +1 -0
- package/dist/ui-dimension.js +779 -0
- package/dist/ui-dimension.js.map +1 -0
- package/dist/ui-dimmer.js +36 -34
- package/dist/ui-dimmer.js.map +1 -1
- package/dist/ui-divider.js +7 -5
- package/dist/ui-divider.js.map +1 -1
- package/dist/ui-dropdown.js +107 -105
- package/dist/ui-dropdown.js.map +1 -1
- package/dist/ui-embed.js +36 -35
- package/dist/ui-embed.js.map +1 -1
- package/dist/ui-emoji.js +10 -9
- package/dist/ui-emoji.js.map +1 -1
- package/dist/ui-example.js +63 -61
- package/dist/ui-example.js.map +1 -1
- package/dist/ui-feed.js +12 -10
- package/dist/ui-feed.js.map +1 -1
- package/dist/ui-flag.js +10 -9
- package/dist/ui-flag.js.map +1 -1
- package/dist/ui-flyout.js +7 -6
- package/dist/ui-flyout.js.map +1 -1
- package/dist/ui-form.js +244 -162
- package/dist/ui-form.js.map +1 -1
- package/dist/ui-grid.js +21 -18
- package/dist/ui-grid.js.map +1 -1
- package/dist/ui-icon-picker.js +46 -44
- package/dist/ui-icon-picker.js.map +1 -1
- package/dist/ui-icon.js +17 -14
- package/dist/ui-icon.js.map +1 -1
- package/dist/ui-image.js +93 -55
- package/dist/ui-image.js.map +1 -1
- package/dist/ui-include.js +18 -17
- package/dist/ui-include.js.map +1 -1
- package/dist/ui-input.js +154 -112
- package/dist/ui-input.js.map +1 -1
- package/dist/ui-item.js +152 -102
- package/dist/ui-item.js.map +1 -1
- package/dist/ui-items.js +9 -8
- package/dist/ui-items.js.map +1 -1
- package/dist/ui-json.js +115 -0
- package/dist/ui-json.js.map +1 -0
- package/dist/ui-keys.js +1 -1
- package/dist/ui-label.js +18 -15
- package/dist/ui-label.js.map +1 -1
- package/dist/ui-list.js +7 -5
- package/dist/ui-list.js.map +1 -1
- package/dist/ui-loader.js +7 -6
- package/dist/ui-loader.js.map +1 -1
- package/dist/ui-markdown.js +975 -83
- package/dist/ui-markdown.js.map +1 -1
- package/dist/ui-menu.js +329 -196
- package/dist/ui-menu.js.map +1 -1
- package/dist/ui-message.js +20 -18
- package/dist/ui-message.js.map +1 -1
- package/dist/ui-modal.js +46 -45
- package/dist/ui-modal.js.map +1 -1
- package/dist/ui-nag.js +19 -18
- package/dist/ui-nag.js.map +1 -1
- package/dist/ui-page.js +8 -7
- package/dist/ui-page.js.map +1 -1
- package/dist/ui-panel.js +28 -17
- package/dist/ui-panel.js.map +1 -1
- package/dist/ui-parts.js +66 -52
- package/dist/ui-parts.js.map +1 -1
- package/dist/ui-placeholder.js +21 -16
- package/dist/ui-placeholder.js.map +1 -1
- package/dist/ui-popup.js +113 -84
- package/dist/ui-popup.js.map +1 -1
- package/dist/ui-progress.js +9 -7
- package/dist/ui-progress.js.map +1 -1
- package/dist/ui-property-editor.js +706 -203
- package/dist/ui-property-editor.js.map +1 -1
- package/dist/ui-quote.js +5 -4
- package/dist/ui-quote.js.map +1 -1
- package/dist/ui-rail.js +5 -4
- package/dist/ui-rail.js.map +1 -1
- package/dist/ui-rating.js +31 -29
- package/dist/ui-rating.js.map +1 -1
- package/dist/ui-reveal.js +7 -6
- package/dist/ui-reveal.js.map +1 -1
- package/dist/ui-root.js +324 -158
- package/dist/ui-root.js.map +1 -1
- package/dist/ui-search.js +210 -168
- package/dist/ui-search.js.map +1 -1
- package/dist/ui-section.js +167 -130
- package/dist/ui-section.js.map +1 -1
- package/dist/ui-segment.js +15 -12
- package/dist/ui-segment.js.map +1 -1
- package/dist/ui-select.js +83 -81
- package/dist/ui-select.js.map +1 -1
- package/dist/ui-shape.js +86 -58
- package/dist/ui-shape.js.map +1 -1
- package/dist/ui-sidebar.js +59 -56
- package/dist/ui-sidebar.js.map +1 -1
- package/dist/ui-sides.js +325 -0
- package/dist/ui-sides.js.map +1 -0
- package/dist/ui-site-nav.js +329 -0
- package/dist/ui-site-nav.js.map +1 -0
- package/dist/ui-site-tabs.js +177 -0
- package/dist/ui-site-tabs.js.map +1 -0
- package/dist/ui-slider.js +84 -81
- package/dist/ui-slider.js.map +1 -1
- package/dist/ui-space.js +7 -6
- package/dist/ui-space.js.map +1 -1
- package/dist/ui-split-panel.js +298 -0
- package/dist/ui-split-panel.js.map +1 -0
- package/dist/ui-stack.js +47 -23
- package/dist/ui-stack.js.map +1 -1
- package/dist/ui-statistic.js +15 -13
- package/dist/ui-statistic.js.map +1 -1
- package/dist/ui-step.js +31 -29
- package/dist/ui-step.js.map +1 -1
- package/dist/ui-sticky.js +7 -6
- package/dist/ui-sticky.js.map +1 -1
- package/dist/ui-tab.js +230 -138
- package/dist/ui-tab.js.map +1 -1
- package/dist/ui-table.js +724 -162
- package/dist/ui-table.js.map +1 -1
- package/dist/ui-terms.js +12 -10
- package/dist/ui-terms.js.map +1 -1
- package/dist/ui-text.js +53 -28
- package/dist/ui-text.js.map +1 -1
- package/dist/ui-theme-editor.js +1018 -1545
- package/dist/ui-theme-editor.js.map +1 -1
- package/dist/ui-theme-menu-CuIjr8Ou.js +1493 -0
- package/dist/ui-theme-menu-CuIjr8Ou.js.map +1 -0
- package/dist/ui-toast.js +45 -44
- package/dist/ui-toast.js.map +1 -1
- package/dist/ui-toc.js +75 -74
- package/dist/ui-toc.js.map +1 -1
- package/dist/ui-toolbar.js +51 -73
- package/dist/ui-toolbar.js.map +1 -1
- package/dist/ui-transition.js +12 -11
- package/dist/ui-transition.js.map +1 -1
- package/dist/ui-tree-diagram.js +676 -197
- package/dist/ui-tree-diagram.js.map +1 -1
- package/dist/ui-tree.js +625 -0
- package/dist/ui-tree.js.map +1 -0
- package/dist/ui-video.js +13 -11
- package/dist/ui-video.js.map +1 -1
- package/dist/ui-visibility.js +26 -25
- package/dist/ui-visibility.js.map +1 -1
- package/dist/ui-zoom.js +79 -78
- package/dist/ui-zoom.js.map +1 -1
- package/dist/util/TopLayerTip.d.ts +28 -0
- package/dist/util/index.d.ts +5 -2
- package/dist/vocabulary/DefaultValues.d.ts +34 -0
- package/dist/vocabulary/SharedVocabulary.d.ts +4 -0
- package/dist/vocabulary/SharedVocabulary.es.d.ts +7 -0
- package/dist/vocabulary/ValueSets.d.ts +18 -0
- package/dist/vocabulary/Vocabulary.d.ts +1 -0
- package/dist/vocabulary/defaults.generated.d.ts +6 -0
- package/dist/vocabulary/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/MarkdownEngine-CbuT9Mjc.js.map +0 -1
- package/dist/PrefStore-CeaTtjTz.js.map +0 -1
- package/dist/UIButton-XkfGqgh6.js +0 -6
- package/dist/UIButton-XkfGqgh6.js.map +0 -1
- package/dist/UIInput-BUudZstW.js +0 -6
- package/dist/UIInput-BUudZstW.js.map +0 -1
- package/dist/UIKeys-DJF2TIKE.js.map +0 -1
- package/dist/UILabel-C1jy3Yl8.js +0 -6
- package/dist/UILabel-C1jy3Yl8.js.map +0 -1
- package/dist/UIMenu-Btd-8V3A.js +0 -42
- package/dist/UIMenu-Btd-8V3A.js.map +0 -1
- package/dist/UIRuntime-BBuehGly.js.map +0 -1
- package/dist/components.es-DmLzT-Bq.js.map +0 -1
- package/dist/crisp-CoZRRDuQ.js +0 -6
- package/dist/fruity-CQFYeRlh.js +0 -6
- package/dist/fruity-CQFYeRlh.js.map +0 -1
- package/dist/fruity.theme-BJcMiPl1.js.map +0 -1
- package/dist/glass-CAfW11kL.js +0 -6
- package/dist/glass-CAfW11kL.js.map +0 -1
- package/dist/glass.theme-DQcBbtCW.js +0 -6
- package/dist/glass.theme-DQcBbtCW.js.map +0 -1
- package/dist/matrix-CqA59hiF.js +0 -6
- package/dist/matrix.theme-jqQZjcq3.js.map +0 -1
- package/dist/midnight-BnoVOrhC.js +0 -6
- package/dist/paper-CynH8ZuT.js +0 -6
- package/dist/persist.types-CsZxS8TG.js +0 -9
- package/dist/persist.types-CsZxS8TG.js.map +0 -1
- package/dist/pop-D2i9V_rG.js +0 -6
- package/dist/spell-BFtLICm7.js +0 -6
- package/dist/spell.theme-B7AU7SQX.js.map +0 -1
- package/dist/styles.en-RLpYiO5_.js.map +0 -1
- package/dist/ui-theme-menu-DyKZygpV.js +0 -921
- package/dist/ui-theme-menu-DyKZygpV.js.map +0 -1
package/dist/ui-root.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./rolldown-runtime-CYGlBXrH.js";
|
|
2
|
-
import { Bt as e, Converters as t, DOMElement as n,
|
|
3
|
-
import { t as
|
|
4
|
-
import { a as
|
|
5
|
-
import { ComponentPacks as
|
|
6
|
-
import { Show as
|
|
7
|
-
import { className as
|
|
2
|
+
import { Bt as e, Converters as t, DOMElement as n, Ht as r, IconGlyph as i, LoadOnce as a, Lt as o, Q as s, RootSettings as c, Rt as ee, SharedVocabulary as te, StaleCatalogError as ne, UI as l, UIComponent as re, Ut as u, Vt as d, Warnings as f, after as ie, cssState as p, derived as ae, flatParentFor as oe, onChange as se, proto as m, protoMerged as ce, state as h, untracked as g, vt as le, whileConnected as ue, zt as de } from "./core.js";
|
|
3
|
+
import { t as fe } from "./ui-loader.js";
|
|
4
|
+
import { a as pe, i as me, n as he, r as ge, t as _ } from "./ui-placeholder.js";
|
|
5
|
+
import { ComponentPacks as v, n as y, t as b } from "./ui-components.js";
|
|
6
|
+
import { Show as x, createRenderEffect as S } from "solid-js";
|
|
7
|
+
import { className as C, createComponent as w, effect as T, getOwner as E, insert as D, isServer as O, readShallow as k, setAttribute as A, style as j, template as M } from "@solidjs/web";
|
|
8
8
|
//#region src/components/ui-root/UIRoot.catalog.ts
|
|
9
|
-
var
|
|
9
|
+
var N = {
|
|
10
10
|
"ui-accordion": {
|
|
11
11
|
folder: "ui-accordion",
|
|
12
12
|
skeleton: { parts: [
|
|
@@ -156,7 +156,7 @@ var M = {
|
|
|
156
156
|
width: "14em",
|
|
157
157
|
height: "2.5em"
|
|
158
158
|
},
|
|
159
|
-
attributes: /* @__PURE__ */ "size.color.inverted.padding.fluid.disabled.open.type.inline.position.value.name.required.readonly.placeholder.min.max.initial-date.first-day-of-week.locale.today.disable-minute.disable-month.disable-year.select-adjacent-days.start-calendar.end-calendar.icon.disabled-dates.disabled-days-of-week".split("."),
|
|
159
|
+
attributes: /* @__PURE__ */ "size.color.inverted.padding.fluid.disabled.open.type.inline.position.value.name.parameter.required.readonly.placeholder.min.max.initial-date.first-day-of-week.locale.today.disable-minute.disable-month.disable-year.select-adjacent-days.start-calendar.end-calendar.icon.disabled-dates.disabled-days-of-week".split("."),
|
|
160
160
|
formControl: !0
|
|
161
161
|
},
|
|
162
162
|
"ui-card": {
|
|
@@ -178,6 +178,7 @@ var M = {
|
|
|
178
178
|
attributes: [
|
|
179
179
|
"size",
|
|
180
180
|
"color",
|
|
181
|
+
"background",
|
|
181
182
|
"direction",
|
|
182
183
|
"appearance",
|
|
183
184
|
"fluid",
|
|
@@ -200,7 +201,9 @@ var M = {
|
|
|
200
201
|
attributes: [
|
|
201
202
|
"size",
|
|
202
203
|
"color",
|
|
204
|
+
"background",
|
|
203
205
|
"columns",
|
|
206
|
+
"layout",
|
|
204
207
|
"doubling",
|
|
205
208
|
"stackable",
|
|
206
209
|
"stack-with",
|
|
@@ -240,6 +243,7 @@ var M = {
|
|
|
240
243
|
"selected",
|
|
241
244
|
"value",
|
|
242
245
|
"name",
|
|
246
|
+
"parameter",
|
|
243
247
|
"required",
|
|
244
248
|
"label",
|
|
245
249
|
"off-value"
|
|
@@ -325,6 +329,7 @@ var M = {
|
|
|
325
329
|
"text",
|
|
326
330
|
"fluid",
|
|
327
331
|
"wide",
|
|
332
|
+
"width",
|
|
328
333
|
"grid",
|
|
329
334
|
"spacing",
|
|
330
335
|
"align",
|
|
@@ -353,6 +358,34 @@ var M = {
|
|
|
353
358
|
folder: "ui-parts",
|
|
354
359
|
attributes: ["link"]
|
|
355
360
|
},
|
|
361
|
+
"ui-diagram": {
|
|
362
|
+
folder: "ui-diagram",
|
|
363
|
+
skeleton: { height: "14em" },
|
|
364
|
+
attributes: [
|
|
365
|
+
"spec",
|
|
366
|
+
"columns",
|
|
367
|
+
"remember",
|
|
368
|
+
"fixed"
|
|
369
|
+
]
|
|
370
|
+
},
|
|
371
|
+
"ui-diagram-node": {
|
|
372
|
+
folder: "ui-diagram",
|
|
373
|
+
attributes: ["name", "resizable"]
|
|
374
|
+
},
|
|
375
|
+
"ui-dimension": {
|
|
376
|
+
folder: "ui-dimension",
|
|
377
|
+
skeleton: {
|
|
378
|
+
display: "inline",
|
|
379
|
+
width: "4em",
|
|
380
|
+
height: "1em"
|
|
381
|
+
},
|
|
382
|
+
attributes: [
|
|
383
|
+
"value",
|
|
384
|
+
"dimension",
|
|
385
|
+
"unit",
|
|
386
|
+
"in"
|
|
387
|
+
]
|
|
388
|
+
},
|
|
356
389
|
"ui-dimmer": {
|
|
357
390
|
folder: "ui-dimmer",
|
|
358
391
|
attributes: [
|
|
@@ -399,6 +432,10 @@ var M = {
|
|
|
399
432
|
"level"
|
|
400
433
|
]
|
|
401
434
|
},
|
|
435
|
+
"ui-docs-index": {
|
|
436
|
+
folder: "ui-docs-index",
|
|
437
|
+
attributes: ["pages"]
|
|
438
|
+
},
|
|
402
439
|
"ui-docs-inspector": {
|
|
403
440
|
folder: "ui-docs-inspector",
|
|
404
441
|
skeleton: { parts: [{
|
|
@@ -436,6 +473,7 @@ var M = {
|
|
|
436
473
|
height: "2.25em"
|
|
437
474
|
},
|
|
438
475
|
attributes: [
|
|
476
|
+
"pages",
|
|
439
477
|
"base",
|
|
440
478
|
"page",
|
|
441
479
|
"shortcuts",
|
|
@@ -476,7 +514,7 @@ var M = {
|
|
|
476
514
|
width: "14em",
|
|
477
515
|
height: "2.5em"
|
|
478
516
|
},
|
|
479
|
-
attributes: /* @__PURE__ */ "size.color.state.selection.search.multiple.inline.floating.button.labeled.padding.fluid.scrolling.appearance.clearable.disabled.loading.readonly.inverted.limit.resizable.length.open.pointing.columnar.direction.icon.placeholder.value.label.name.required.allow-additions.min-characters.max-selections.no-results-text.addition-text.options".split("."),
|
|
517
|
+
attributes: /* @__PURE__ */ "size.color.state.selection.search.multiple.inline.floating.button.labeled.padding.fluid.scrolling.appearance.clearable.disabled.loading.readonly.inverted.limit.resizable.length.open.pointing.columnar.direction.icon.placeholder.value.label.name.parameter.required.allow-additions.min-characters.max-selections.no-results-text.addition-text.options".split("."),
|
|
480
518
|
formControl: !0
|
|
481
519
|
},
|
|
482
520
|
"ui-embed": {
|
|
@@ -572,6 +610,7 @@ var M = {
|
|
|
572
610
|
attributes: [
|
|
573
611
|
"label",
|
|
574
612
|
"description",
|
|
613
|
+
"unsaved",
|
|
575
614
|
"hint",
|
|
576
615
|
"output",
|
|
577
616
|
"error",
|
|
@@ -626,6 +665,7 @@ var M = {
|
|
|
626
665
|
"ui-form": {
|
|
627
666
|
folder: "ui-form",
|
|
628
667
|
attributes: [
|
|
668
|
+
"fluid",
|
|
629
669
|
"size",
|
|
630
670
|
"state",
|
|
631
671
|
"equal-width",
|
|
@@ -719,6 +759,7 @@ var M = {
|
|
|
719
759
|
attributes: [
|
|
720
760
|
"value",
|
|
721
761
|
"name",
|
|
762
|
+
"parameter",
|
|
722
763
|
"placeholder",
|
|
723
764
|
"size",
|
|
724
765
|
"fluid",
|
|
@@ -758,6 +799,7 @@ var M = {
|
|
|
758
799
|
"size",
|
|
759
800
|
"avatar",
|
|
760
801
|
"appearance",
|
|
802
|
+
"background",
|
|
761
803
|
"align",
|
|
762
804
|
"disabled",
|
|
763
805
|
"fluid",
|
|
@@ -770,6 +812,8 @@ var M = {
|
|
|
770
812
|
"alt",
|
|
771
813
|
"width",
|
|
772
814
|
"height",
|
|
815
|
+
"aspect-ratio",
|
|
816
|
+
"crop",
|
|
773
817
|
"loading",
|
|
774
818
|
"zoom",
|
|
775
819
|
"link"
|
|
@@ -807,7 +851,7 @@ var M = {
|
|
|
807
851
|
width: "14em",
|
|
808
852
|
height: "2.5em"
|
|
809
853
|
},
|
|
810
|
-
attributes: /* @__PURE__ */ "size.color.state.appearance.fluid.loading.disabled.inverted.readonly.icon-position.labeled.action.icon.label.type.value.name.placeholder.required.pattern.min.max.step.minlength.maxlength.multiple.accept.autocomplete.inputmode.rules".split("."),
|
|
854
|
+
attributes: /* @__PURE__ */ "size.color.state.appearance.fluid.loading.disabled.inverted.readonly.icon-position.labeled.action.icon.label.type.value.name.parameter.placeholder.required.pattern.min.max.step.minlength.maxlength.multiple.accept.autocomplete.inputmode.rules".split("."),
|
|
811
855
|
formControl: !0
|
|
812
856
|
},
|
|
813
857
|
"ui-item": {
|
|
@@ -850,6 +894,10 @@ var M = {
|
|
|
850
894
|
"disabled"
|
|
851
895
|
]
|
|
852
896
|
},
|
|
897
|
+
"ui-json": {
|
|
898
|
+
folder: "ui-json",
|
|
899
|
+
attributes: ["source", "load"]
|
|
900
|
+
},
|
|
853
901
|
"ui-keys": {
|
|
854
902
|
folder: "ui-keys",
|
|
855
903
|
attributes: ["shortcut", "platform"]
|
|
@@ -970,30 +1018,8 @@ var M = {
|
|
|
970
1018
|
"ui-menu": {
|
|
971
1019
|
folder: "ui-menu",
|
|
972
1020
|
skeleton: { height: "3em" },
|
|
973
|
-
attributes:
|
|
974
|
-
|
|
975
|
-
"color",
|
|
976
|
-
"appearance",
|
|
977
|
-
"position",
|
|
978
|
-
"direction",
|
|
979
|
-
"pagination",
|
|
980
|
-
"icon",
|
|
981
|
-
"labeled",
|
|
982
|
-
"fluid",
|
|
983
|
-
"stackable",
|
|
984
|
-
"centered",
|
|
985
|
-
"wrapping",
|
|
986
|
-
"wrap",
|
|
987
|
-
"inverted",
|
|
988
|
-
"padding",
|
|
989
|
-
"attach",
|
|
990
|
-
"fixed",
|
|
991
|
-
"align",
|
|
992
|
-
"equal",
|
|
993
|
-
"items",
|
|
994
|
-
"shrinkable",
|
|
995
|
-
"interactive"
|
|
996
|
-
]
|
|
1021
|
+
attributes: /* @__PURE__ */ "size.color.appearance.name.value.choose.position.direction.pagination.icon.labeled.fluid.stackable.centered.wrapping.wrap.inverted.padding.attach.fixed.align.equal.items.shrinkable.ticks.icon-column.tabs.interactive".split("."),
|
|
1022
|
+
formControl: !0
|
|
997
1023
|
},
|
|
998
1024
|
"ui-message": {
|
|
999
1025
|
folder: "ui-message",
|
|
@@ -1071,10 +1097,12 @@ var M = {
|
|
|
1071
1097
|
"theme",
|
|
1072
1098
|
"size",
|
|
1073
1099
|
"stack-with",
|
|
1100
|
+
"app",
|
|
1074
1101
|
"width",
|
|
1075
1102
|
"height",
|
|
1076
1103
|
"icons",
|
|
1077
1104
|
"emoji",
|
|
1105
|
+
"defaults",
|
|
1078
1106
|
"assets",
|
|
1079
1107
|
"fixed",
|
|
1080
1108
|
"pure"
|
|
@@ -1083,7 +1111,7 @@ var M = {
|
|
|
1083
1111
|
"ui-panel": {
|
|
1084
1112
|
folder: "ui-panel",
|
|
1085
1113
|
skeleton: { parts: [{ shape: "header" }, { shape: "paragraph" }] },
|
|
1086
|
-
attributes: /* @__PURE__ */ "label.hint.level.parent.icon.badge.description.collapsible.open.fold-icon.sticky.offset.color.size.dividing.block.appearance.padding.attach.scrolling.height.align.inverted.loading.disabled.source.selector".split(".")
|
|
1114
|
+
attributes: /* @__PURE__ */ "label.hint.level.parent.icon.badge.description.hide-empty.collapsible.open.fold-icon.sticky.offset.color.size.dividing.block.appearance.padding.attach.scrolling.height.align.inverted.loading.disabled.source.selector".split(".")
|
|
1087
1115
|
},
|
|
1088
1116
|
"ui-placeholder": {
|
|
1089
1117
|
folder: "ui-placeholder",
|
|
@@ -1125,7 +1153,8 @@ var M = {
|
|
|
1125
1153
|
"hoverable",
|
|
1126
1154
|
"show-delay",
|
|
1127
1155
|
"hide-delay",
|
|
1128
|
-
"target"
|
|
1156
|
+
"target",
|
|
1157
|
+
"at"
|
|
1129
1158
|
]
|
|
1130
1159
|
},
|
|
1131
1160
|
"ui-progress": {
|
|
@@ -1159,9 +1188,11 @@ var M = {
|
|
|
1159
1188
|
attributes: [
|
|
1160
1189
|
"name",
|
|
1161
1190
|
"as",
|
|
1191
|
+
"default",
|
|
1162
1192
|
"options",
|
|
1163
1193
|
"label",
|
|
1164
1194
|
"description",
|
|
1195
|
+
"unsaved",
|
|
1165
1196
|
"hint",
|
|
1166
1197
|
"output",
|
|
1167
1198
|
"error",
|
|
@@ -1182,12 +1213,12 @@ var M = {
|
|
|
1182
1213
|
shape: "paragraph",
|
|
1183
1214
|
lines: 3
|
|
1184
1215
|
}] },
|
|
1185
|
-
attributes: /* @__PURE__ */ "schema.value.source.selector.readonly.output.error.size.state.equal-width.inverted.loading.disabled.unstackable.stack-with.validate.apply.rules.error-focus.prevent-leaving.debug.label.hint.level.parent.icon.badge.description.collapsible.open.fold-icon.sticky.offset.color.dividing.block.appearance.padding.attach.scrolling.height.align".split(".")
|
|
1216
|
+
attributes: /* @__PURE__ */ "schema.value.source.selector.readonly.compact.columns.origins.writer.show-defaults.unsaved.output.error.fluid.size.state.equal-width.inverted.loading.disabled.unstackable.stack-with.validate.apply.rules.error-focus.prevent-leaving.debug.label.hint.level.parent.icon.badge.description.hide-empty.collapsible.open.fold-icon.sticky.offset.color.dividing.block.appearance.padding.attach.scrolling.height.align".split(".")
|
|
1186
1217
|
},
|
|
1187
1218
|
"ui-property-group": {
|
|
1188
1219
|
folder: "ui-property-editor",
|
|
1189
1220
|
skeleton: { parts: [{ shape: "header" }, { shape: "paragraph" }] },
|
|
1190
|
-
attributes: /* @__PURE__ */ "selector.readonly.state.output.error.label.hint.level.parent.icon.badge.description.collapsible.open.fold-icon.sticky.offset.color.size.dividing.block.appearance.padding.attach.scrolling.height.align.inverted.loading.disabled".split(".")
|
|
1221
|
+
attributes: /* @__PURE__ */ "selector.readonly.state.output.error.columns.flags.label.hint.level.parent.icon.badge.description.hide-empty.collapsible.open.fold-icon.sticky.offset.color.size.dividing.block.appearance.padding.attach.scrolling.height.align.inverted.loading.disabled".split(".")
|
|
1191
1222
|
},
|
|
1192
1223
|
"ui-pushable": {
|
|
1193
1224
|
folder: "ui-sidebar",
|
|
@@ -1221,6 +1252,7 @@ var M = {
|
|
|
1221
1252
|
"selected",
|
|
1222
1253
|
"value",
|
|
1223
1254
|
"name",
|
|
1255
|
+
"parameter",
|
|
1224
1256
|
"required",
|
|
1225
1257
|
"label"
|
|
1226
1258
|
],
|
|
@@ -1254,6 +1286,7 @@ var M = {
|
|
|
1254
1286
|
"value",
|
|
1255
1287
|
"clearable",
|
|
1256
1288
|
"name",
|
|
1289
|
+
"parameter",
|
|
1257
1290
|
"required"
|
|
1258
1291
|
],
|
|
1259
1292
|
formControl: !0
|
|
@@ -1285,10 +1318,12 @@ var M = {
|
|
|
1285
1318
|
"theme",
|
|
1286
1319
|
"size",
|
|
1287
1320
|
"stack-with",
|
|
1321
|
+
"app",
|
|
1288
1322
|
"width",
|
|
1289
1323
|
"height",
|
|
1290
1324
|
"icons",
|
|
1291
1325
|
"emoji",
|
|
1326
|
+
"defaults",
|
|
1292
1327
|
"assets",
|
|
1293
1328
|
"fixed",
|
|
1294
1329
|
"pure"
|
|
@@ -1321,13 +1356,13 @@ var M = {
|
|
|
1321
1356
|
width: "15em",
|
|
1322
1357
|
height: "2.5em"
|
|
1323
1358
|
},
|
|
1324
|
-
attributes: /* @__PURE__ */ "size.category.direction.fluid.scrolling.resizable.length.align.loading.disabled.readonly.open.placeholder.value.name.required.url.min-characters.max-results.search-delay.full-text-search.search-fields.ignore-diacritics.highlight-matches.select-first-result.show-no-results.source".split("."),
|
|
1359
|
+
attributes: /* @__PURE__ */ "size.category.direction.fluid.scrolling.resizable.length.align.loading.disabled.readonly.open.placeholder.value.name.parameter.required.url.min-characters.max-results.search-delay.delay.full-text-search.search-fields.ignore-diacritics.highlight-matches.select-first-result.show-no-results.source".split("."),
|
|
1325
1360
|
formControl: !0
|
|
1326
1361
|
},
|
|
1327
1362
|
"ui-section": {
|
|
1328
1363
|
folder: "ui-section",
|
|
1329
1364
|
skeleton: { parts: [{ shape: "header" }, { shape: "paragraph" }] },
|
|
1330
|
-
attributes: /* @__PURE__ */ "label.hint.level.parent.icon.badge.description.collapsible.open.fold-icon.sticky.offset.color.size.dividing.block.appearance.padding.attach.scrolling.height.align.inverted.loading.disabled.source.selector".split(".")
|
|
1365
|
+
attributes: /* @__PURE__ */ "label.hint.level.parent.icon.badge.description.hide-empty.collapsible.open.fold-icon.sticky.offset.color.size.dividing.block.appearance.padding.attach.scrolling.height.align.inverted.loading.disabled.source.selector".split(".")
|
|
1331
1366
|
},
|
|
1332
1367
|
"ui-sections": {
|
|
1333
1368
|
folder: "ui-section",
|
|
@@ -1387,6 +1422,7 @@ var M = {
|
|
|
1387
1422
|
"placeholder",
|
|
1388
1423
|
"value",
|
|
1389
1424
|
"name",
|
|
1425
|
+
"parameter",
|
|
1390
1426
|
"required",
|
|
1391
1427
|
"options"
|
|
1392
1428
|
],
|
|
@@ -1399,7 +1435,8 @@ var M = {
|
|
|
1399
1435
|
"text",
|
|
1400
1436
|
"active-index",
|
|
1401
1437
|
"direction",
|
|
1402
|
-
"duration"
|
|
1438
|
+
"duration",
|
|
1439
|
+
"flip-on"
|
|
1403
1440
|
]
|
|
1404
1441
|
},
|
|
1405
1442
|
"ui-side": {
|
|
@@ -1418,6 +1455,47 @@ var M = {
|
|
|
1418
1455
|
"closedby"
|
|
1419
1456
|
]
|
|
1420
1457
|
},
|
|
1458
|
+
"ui-sides": {
|
|
1459
|
+
folder: "ui-sides",
|
|
1460
|
+
skeleton: {
|
|
1461
|
+
display: "inline",
|
|
1462
|
+
width: "8em",
|
|
1463
|
+
height: "4.5em"
|
|
1464
|
+
},
|
|
1465
|
+
attributes: [
|
|
1466
|
+
"size",
|
|
1467
|
+
"value",
|
|
1468
|
+
"sides",
|
|
1469
|
+
"disabled",
|
|
1470
|
+
"readonly",
|
|
1471
|
+
"name",
|
|
1472
|
+
"parameter",
|
|
1473
|
+
"required"
|
|
1474
|
+
],
|
|
1475
|
+
formControl: !0
|
|
1476
|
+
},
|
|
1477
|
+
"ui-site-nav": {
|
|
1478
|
+
folder: "ui-site-nav",
|
|
1479
|
+
skeleton: { parts: [{
|
|
1480
|
+
shape: "paragraph",
|
|
1481
|
+
lines: 4
|
|
1482
|
+
}] },
|
|
1483
|
+
attributes: [
|
|
1484
|
+
"pages",
|
|
1485
|
+
"current",
|
|
1486
|
+
"label",
|
|
1487
|
+
"appearance",
|
|
1488
|
+
"remember"
|
|
1489
|
+
]
|
|
1490
|
+
},
|
|
1491
|
+
"ui-site-tabs": {
|
|
1492
|
+
folder: "ui-site-tabs",
|
|
1493
|
+
attributes: [
|
|
1494
|
+
"pages",
|
|
1495
|
+
"current",
|
|
1496
|
+
"label"
|
|
1497
|
+
]
|
|
1498
|
+
},
|
|
1421
1499
|
"ui-slider": {
|
|
1422
1500
|
folder: "ui-slider",
|
|
1423
1501
|
skeleton: {
|
|
@@ -1446,6 +1524,7 @@ var M = {
|
|
|
1446
1524
|
"end",
|
|
1447
1525
|
"step-labels",
|
|
1448
1526
|
"name",
|
|
1527
|
+
"parameter",
|
|
1449
1528
|
"required"
|
|
1450
1529
|
],
|
|
1451
1530
|
formControl: !0
|
|
@@ -1461,6 +1540,16 @@ var M = {
|
|
|
1461
1540
|
"shrink"
|
|
1462
1541
|
]
|
|
1463
1542
|
},
|
|
1543
|
+
"ui-split-panel": {
|
|
1544
|
+
folder: "ui-split-panel",
|
|
1545
|
+
attributes: [
|
|
1546
|
+
"columns",
|
|
1547
|
+
"rows",
|
|
1548
|
+
"resizable",
|
|
1549
|
+
"grows",
|
|
1550
|
+
"min-size"
|
|
1551
|
+
]
|
|
1552
|
+
},
|
|
1464
1553
|
"ui-stack": {
|
|
1465
1554
|
folder: "ui-stack",
|
|
1466
1555
|
attributes: [
|
|
@@ -1469,7 +1558,8 @@ var M = {
|
|
|
1469
1558
|
"spacing",
|
|
1470
1559
|
"align",
|
|
1471
1560
|
"justify",
|
|
1472
|
-
"fluid"
|
|
1561
|
+
"fluid",
|
|
1562
|
+
"stackable"
|
|
1473
1563
|
]
|
|
1474
1564
|
},
|
|
1475
1565
|
"ui-statistic": {
|
|
@@ -1576,7 +1666,7 @@ var M = {
|
|
|
1576
1666
|
shape: "paragraph",
|
|
1577
1667
|
lines: 4
|
|
1578
1668
|
}] },
|
|
1579
|
-
attributes: /* @__PURE__ */ "size.color.celled.collapsing.definition.fixed.inverted.resizable.selectable.single-line.sortable.appearance.unstackable.padding.attach.stackable.stack-by.scrolling.overflowing.stuck.columns.align.vertical-align.sort-column.sort-direction.client-sort.column-defs.caption.rows".split(".")
|
|
1669
|
+
attributes: /* @__PURE__ */ "size.color.celled.collapsing.definition.fixed.inverted.resizable.selectable.editable.single-line.sortable.appearance.unstackable.padding.attach.stackable.stack-by.scrolling.overflowing.stuck.columns.align.vertical-align.sort-column.sort-direction.client-sort.column-defs.caption.rows".split(".")
|
|
1580
1670
|
},
|
|
1581
1671
|
"ui-tabs": {
|
|
1582
1672
|
folder: "ui-tab",
|
|
@@ -1600,8 +1690,11 @@ var M = {
|
|
|
1600
1690
|
"attach",
|
|
1601
1691
|
"value",
|
|
1602
1692
|
"activation",
|
|
1603
|
-
"history"
|
|
1604
|
-
|
|
1693
|
+
"history",
|
|
1694
|
+
"name",
|
|
1695
|
+
"parameter"
|
|
1696
|
+
],
|
|
1697
|
+
formControl: !0
|
|
1605
1698
|
},
|
|
1606
1699
|
"ui-term": {
|
|
1607
1700
|
folder: "ui-terms",
|
|
@@ -1620,6 +1713,7 @@ var M = {
|
|
|
1620
1713
|
"inverted",
|
|
1621
1714
|
"paragraph",
|
|
1622
1715
|
"bold",
|
|
1716
|
+
"heavy",
|
|
1623
1717
|
"italic",
|
|
1624
1718
|
"underline",
|
|
1625
1719
|
"strikethrough",
|
|
@@ -1653,6 +1747,7 @@ var M = {
|
|
|
1653
1747
|
"readonly",
|
|
1654
1748
|
"value",
|
|
1655
1749
|
"name",
|
|
1750
|
+
"parameter",
|
|
1656
1751
|
"placeholder",
|
|
1657
1752
|
"required",
|
|
1658
1753
|
"minlength",
|
|
@@ -1660,6 +1755,7 @@ var M = {
|
|
|
1660
1755
|
"rows",
|
|
1661
1756
|
"grow",
|
|
1662
1757
|
"max-rows",
|
|
1758
|
+
"send-on-enter",
|
|
1663
1759
|
"autocomplete",
|
|
1664
1760
|
"rules"
|
|
1665
1761
|
],
|
|
@@ -1742,30 +1838,8 @@ var M = {
|
|
|
1742
1838
|
width: "24em",
|
|
1743
1839
|
height: "2.5em"
|
|
1744
1840
|
},
|
|
1745
|
-
attributes:
|
|
1746
|
-
|
|
1747
|
-
"color",
|
|
1748
|
-
"appearance",
|
|
1749
|
-
"position",
|
|
1750
|
-
"direction",
|
|
1751
|
-
"pagination",
|
|
1752
|
-
"icon",
|
|
1753
|
-
"labeled",
|
|
1754
|
-
"fluid",
|
|
1755
|
-
"stackable",
|
|
1756
|
-
"centered",
|
|
1757
|
-
"wrapping",
|
|
1758
|
-
"wrap",
|
|
1759
|
-
"inverted",
|
|
1760
|
-
"padding",
|
|
1761
|
-
"attach",
|
|
1762
|
-
"fixed",
|
|
1763
|
-
"align",
|
|
1764
|
-
"equal",
|
|
1765
|
-
"items",
|
|
1766
|
-
"shrinkable",
|
|
1767
|
-
"interactive"
|
|
1768
|
-
]
|
|
1841
|
+
attributes: /* @__PURE__ */ "size.color.appearance.name.value.choose.position.direction.pagination.icon.labeled.fluid.stackable.centered.wrapping.wrap.inverted.padding.attach.fixed.align.equal.items.shrinkable.ticks.icon-column.tabs.interactive.scroll-first".split("."),
|
|
1842
|
+
formControl: !0
|
|
1769
1843
|
},
|
|
1770
1844
|
"ui-transition": {
|
|
1771
1845
|
folder: "ui-transition",
|
|
@@ -1781,10 +1855,58 @@ var M = {
|
|
|
1781
1855
|
"disabled"
|
|
1782
1856
|
]
|
|
1783
1857
|
},
|
|
1858
|
+
"ui-tree": {
|
|
1859
|
+
folder: "ui-tree",
|
|
1860
|
+
skeleton: { parts: [{
|
|
1861
|
+
shape: "paragraph",
|
|
1862
|
+
lines: 3
|
|
1863
|
+
}] },
|
|
1864
|
+
attributes: [
|
|
1865
|
+
"choose",
|
|
1866
|
+
"filter",
|
|
1867
|
+
"label",
|
|
1868
|
+
"appearance",
|
|
1869
|
+
"sticky-path"
|
|
1870
|
+
]
|
|
1871
|
+
},
|
|
1784
1872
|
"ui-tree-diagram": {
|
|
1785
1873
|
folder: "ui-tree-diagram",
|
|
1786
1874
|
skeleton: { height: "12em" },
|
|
1787
|
-
attributes: [
|
|
1875
|
+
attributes: [
|
|
1876
|
+
"tree",
|
|
1877
|
+
"direction",
|
|
1878
|
+
"foldable",
|
|
1879
|
+
"clickable"
|
|
1880
|
+
]
|
|
1881
|
+
},
|
|
1882
|
+
"ui-tree-item": {
|
|
1883
|
+
folder: "ui-tree",
|
|
1884
|
+
skeleton: { parts: [{ shape: "line" }] },
|
|
1885
|
+
attributes: [
|
|
1886
|
+
"label",
|
|
1887
|
+
"which",
|
|
1888
|
+
"icon",
|
|
1889
|
+
"value",
|
|
1890
|
+
"open",
|
|
1891
|
+
"selected",
|
|
1892
|
+
"expandable",
|
|
1893
|
+
"group",
|
|
1894
|
+
"band",
|
|
1895
|
+
"count",
|
|
1896
|
+
"badge"
|
|
1897
|
+
]
|
|
1898
|
+
},
|
|
1899
|
+
"ui-tree-node": {
|
|
1900
|
+
folder: "ui-tree-diagram",
|
|
1901
|
+
attributes: [
|
|
1902
|
+
"label",
|
|
1903
|
+
"detail",
|
|
1904
|
+
"edge-label",
|
|
1905
|
+
"hover-text",
|
|
1906
|
+
"color",
|
|
1907
|
+
"kind",
|
|
1908
|
+
"folded"
|
|
1909
|
+
]
|
|
1788
1910
|
},
|
|
1789
1911
|
"ui-value": {
|
|
1790
1912
|
folder: "ui-parts",
|
|
@@ -1837,6 +1959,8 @@ var M = {
|
|
|
1837
1959
|
"../ui-comment/index.ts": () => import("./ui-comment.js"),
|
|
1838
1960
|
"../ui-components/index.ts": () => import("./ui-components.js"),
|
|
1839
1961
|
"../ui-container/index.ts": () => import("./ui-container.js"),
|
|
1962
|
+
"../ui-diagram/index.ts": () => import("./ui-diagram.js"),
|
|
1963
|
+
"../ui-dimension/index.ts": () => import("./ui-dimension.js"),
|
|
1840
1964
|
"../ui-dimmer/index.ts": () => import("./ui-dimmer.js"),
|
|
1841
1965
|
"../ui-divider/index.ts": () => import("./ui-divider.js"),
|
|
1842
1966
|
"../ui-dropdown/index.ts": () => import("./ui-dropdown.js"),
|
|
@@ -1855,6 +1979,7 @@ var M = {
|
|
|
1855
1979
|
"../ui-input/index.ts": () => import("./ui-input.js"),
|
|
1856
1980
|
"../ui-item/index.ts": () => import("./ui-item.js"),
|
|
1857
1981
|
"../ui-items/index.ts": () => import("./ui-items.js"),
|
|
1982
|
+
"../ui-json/index.ts": () => import("./ui-json.js"),
|
|
1858
1983
|
"../ui-keys/index.ts": () => import("./ui-keys.js"),
|
|
1859
1984
|
"../ui-label/index.ts": () => import("./ui-label.js"),
|
|
1860
1985
|
"../ui-list/index.ts": () => import("./ui-list.js"),
|
|
@@ -1881,8 +2006,12 @@ var M = {
|
|
|
1881
2006
|
"../ui-select/index.ts": () => import("./ui-select.js"),
|
|
1882
2007
|
"../ui-shape/index.ts": () => import("./ui-shape.js"),
|
|
1883
2008
|
"../ui-sidebar/index.ts": () => import("./ui-sidebar.js"),
|
|
2009
|
+
"../ui-sides/index.ts": () => import("./ui-sides.js"),
|
|
2010
|
+
"../ui-site-nav/index.ts": () => import("./ui-site-nav.js"),
|
|
2011
|
+
"../ui-site-tabs/index.ts": () => import("./ui-site-tabs.js"),
|
|
1884
2012
|
"../ui-slider/index.ts": () => import("./ui-slider.js"),
|
|
1885
2013
|
"../ui-space/index.ts": () => import("./ui-space.js"),
|
|
2014
|
+
"../ui-split-panel/index.ts": () => import("./ui-split-panel.js"),
|
|
1886
2015
|
"../ui-stack/index.ts": () => import("./ui-stack.js"),
|
|
1887
2016
|
"../ui-statistic/index.ts": () => import("./ui-statistic.js"),
|
|
1888
2017
|
"../ui-step/index.ts": () => import("./ui-step.js"),
|
|
@@ -1892,35 +2021,36 @@ var M = {
|
|
|
1892
2021
|
"../ui-terms/index.ts": () => import("./ui-terms.js"),
|
|
1893
2022
|
"../ui-text/index.ts": () => import("./ui-text.js"),
|
|
1894
2023
|
"../ui-theme-editor/index.ts": () => import("./ui-theme-editor.js"),
|
|
1895
|
-
"../ui-theme-menu/index.ts": () => import("./ui-theme-menu-
|
|
2024
|
+
"../ui-theme-menu/index.ts": () => import("./ui-theme-menu-CuIjr8Ou.js").then((e) => e.t),
|
|
1896
2025
|
"../ui-toast/index.ts": () => import("./ui-toast.js"),
|
|
1897
2026
|
"../ui-toc/index.ts": () => import("./ui-toc.js"),
|
|
1898
2027
|
"../ui-toolbar/index.ts": () => import("./ui-toolbar.js"),
|
|
1899
2028
|
"../ui-transition/index.ts": () => import("./ui-transition.js"),
|
|
2029
|
+
"../ui-tree/index.ts": () => import("./ui-tree.js"),
|
|
1900
2030
|
"../ui-tree-diagram/index.ts": () => import("./ui-tree-diagram.js"),
|
|
1901
2031
|
"../ui-video/index.ts": () => import("./ui-video.js"),
|
|
1902
2032
|
"../ui-visibility/index.ts": () => import("./ui-visibility.js"),
|
|
1903
2033
|
"../ui-zoom/index.ts": () => import("./ui-zoom.js")
|
|
1904
|
-
}),
|
|
1905
|
-
static loads = new
|
|
2034
|
+
}), P = { es: () => import("./components.es-BOa_7gFF.js").then(({ es: e }) => e) }, F = class RootLoader {
|
|
2035
|
+
static loads = new a();
|
|
1906
2036
|
static added = /* @__PURE__ */ new Map();
|
|
1907
2037
|
static translatedTags = /* @__PURE__ */ new Map();
|
|
1908
|
-
static languages = new
|
|
2038
|
+
static languages = new a();
|
|
1909
2039
|
static folderFor(e) {
|
|
1910
2040
|
return RootLoader.catalogEntry(e)?.folder;
|
|
1911
2041
|
}
|
|
1912
2042
|
static entryOf(e) {
|
|
1913
|
-
return RootLoader.catalogEntry(e) ??
|
|
2043
|
+
return RootLoader.catalogEntry(e) ?? v.entryOf(e);
|
|
1914
2044
|
}
|
|
1915
2045
|
static undefinedTags(e, t) {
|
|
1916
2046
|
let r = /* @__PURE__ */ new Set();
|
|
1917
|
-
for (let { localName: i } of e.querySelectorAll(n.notAttached)) (i.startsWith(ye) || RootLoader.translatedTags.has(i) ||
|
|
2047
|
+
for (let { localName: i } of e.querySelectorAll(n.notAttached)) (i.startsWith(ye) || RootLoader.translatedTags.has(i) || v.owns(i) || t?.(i)) && r.add(i);
|
|
1918
2048
|
return r;
|
|
1919
2049
|
}
|
|
1920
2050
|
static defineEarly() {
|
|
1921
2051
|
if (typeof customElements > "u") return;
|
|
1922
2052
|
let e = [...te.attributeNames, be];
|
|
1923
|
-
for (let [t, { attributes: r, formControl: i }] of Object.entries(
|
|
2053
|
+
for (let [t, { attributes: r, formControl: i }] of Object.entries(N)) r && n.defineEarly(t, {
|
|
1924
2054
|
attributes: [.../* @__PURE__ */ new Set([...r, ...e])],
|
|
1925
2055
|
isAFormControl: !!i
|
|
1926
2056
|
});
|
|
@@ -1936,10 +2066,10 @@ var M = {
|
|
|
1936
2066
|
});
|
|
1937
2067
|
}
|
|
1938
2068
|
static hasLanguage(e) {
|
|
1939
|
-
return Object.hasOwn(
|
|
2069
|
+
return Object.hasOwn(P, RootLoader.languageOf(e));
|
|
1940
2070
|
}
|
|
1941
2071
|
static useLanguage(e) {
|
|
1942
|
-
let t = RootLoader.languageOf(e), n = Object.hasOwn(
|
|
2072
|
+
let t = RootLoader.languageOf(e), n = Object.hasOwn(P, t) ? P[t] : void 0;
|
|
1943
2073
|
return n ? RootLoader.languages.get(t, async () => {
|
|
1944
2074
|
let [r, i] = await Promise.all([n(), l.load()]);
|
|
1945
2075
|
for (let [e, n] of Object.entries(r.tags ?? {})) RootLoader.translatedTags.set(`${t}-${n}`, e);
|
|
@@ -1957,7 +2087,7 @@ var M = {
|
|
|
1957
2087
|
}
|
|
1958
2088
|
static catalogEntry(e) {
|
|
1959
2089
|
let t = RootLoader.translatedTags.get(e) ?? e;
|
|
1960
|
-
return Object.hasOwn(
|
|
2090
|
+
return Object.hasOwn(N, t) ? N[t] : void 0;
|
|
1961
2091
|
}
|
|
1962
2092
|
static languageOf(e) {
|
|
1963
2093
|
return e.split("-")[0].toLowerCase();
|
|
@@ -1967,9 +2097,9 @@ var M = {
|
|
|
1967
2097
|
}
|
|
1968
2098
|
}, ve = /([\w-]+)\/index\.ts$/, ye = "ui-", be = "hidden", LoaderMessage = class {
|
|
1969
2099
|
static render(e, t) {
|
|
1970
|
-
let n = document.createElement(
|
|
2100
|
+
let n = document.createElement(fe.tag);
|
|
1971
2101
|
for (let e of xe) n.setAttribute(e, "");
|
|
1972
|
-
return n.setAttribute(Se, Ce), n.setAttribute("part", e),
|
|
2102
|
+
return n.setAttribute(Se, Ce), n.setAttribute("part", e), S(t, (e) => {
|
|
1973
2103
|
n.textContent = e;
|
|
1974
2104
|
}), n;
|
|
1975
2105
|
}
|
|
@@ -1980,19 +2110,19 @@ var M = {
|
|
|
1980
2110
|
], Se = "align", Ce = "center", we = class PlaceholderSkeleton {
|
|
1981
2111
|
static render(e, t) {
|
|
1982
2112
|
let n = document.createElement("div");
|
|
1983
|
-
return n.setAttribute("part", e),
|
|
2113
|
+
return n.setAttribute("part", e), S(t, (e) => {
|
|
1984
2114
|
n.replaceChildren(...e.map((e) => PlaceholderSkeleton.placeholder(e)));
|
|
1985
2115
|
}), n;
|
|
1986
2116
|
}
|
|
1987
2117
|
static placeholder({ element: e, spec: n }) {
|
|
1988
|
-
let r = PlaceholderSkeleton.create(
|
|
1989
|
-
a ? r.setAttribute(
|
|
2118
|
+
let r = PlaceholderSkeleton.create(pe.tag), i = r.style, a = t.boolean(e.getAttribute(I), I);
|
|
2119
|
+
a ? r.setAttribute(I, "") : n.width && i.setProperty("--ui-placeholder-max-width", n.width);
|
|
1990
2120
|
let o = e.getAttribute(De);
|
|
1991
2121
|
return o && o !== Oe && i.setProperty("--ui-scale", `var(--ui-size-${o})`), n.display === "inline" && (i.display = "inline-block", i.verticalAlign = "top", i.marginInlineEnd = "0.5em", !a && n.width && (i.width = n.width)), r.append(...PlaceholderSkeleton.shapes(n)), r;
|
|
1992
2122
|
}
|
|
1993
2123
|
static shapes(e) {
|
|
1994
2124
|
if (!e.parts?.length) {
|
|
1995
|
-
let t = PlaceholderSkeleton.create(
|
|
2125
|
+
let t = PlaceholderSkeleton.create(_.tag);
|
|
1996
2126
|
return e.height && t.style.setProperty("--ui-placeholder-image-height", e.height), [t];
|
|
1997
2127
|
}
|
|
1998
2128
|
return e.parts.map((e) => PlaceholderSkeleton.shape(e));
|
|
@@ -2000,15 +2130,15 @@ var M = {
|
|
|
2000
2130
|
static shape(e) {
|
|
2001
2131
|
switch (e.shape) {
|
|
2002
2132
|
case "image": {
|
|
2003
|
-
let t = PlaceholderSkeleton.create(
|
|
2133
|
+
let t = PlaceholderSkeleton.create(_.tag);
|
|
2004
2134
|
return e.ratio && t.setAttribute(e.ratio, ""), t;
|
|
2005
2135
|
}
|
|
2006
2136
|
case "header": {
|
|
2007
|
-
let t = PlaceholderSkeleton.create(
|
|
2137
|
+
let t = PlaceholderSkeleton.create(me.tag);
|
|
2008
2138
|
return e.image && t.setAttribute(ke, ""), t.append(...PlaceholderSkeleton.lines(Ee)), t;
|
|
2009
2139
|
}
|
|
2010
2140
|
case "paragraph": {
|
|
2011
|
-
let t = PlaceholderSkeleton.create(
|
|
2141
|
+
let t = PlaceholderSkeleton.create(ge.tag);
|
|
2012
2142
|
return t.append(...PlaceholderSkeleton.lines(e.lines ?? Te)), t;
|
|
2013
2143
|
}
|
|
2014
2144
|
case "line": {
|
|
@@ -2018,18 +2148,18 @@ var M = {
|
|
|
2018
2148
|
}
|
|
2019
2149
|
}
|
|
2020
2150
|
static lines(e) {
|
|
2021
|
-
return Array.from({ length: e }, () => PlaceholderSkeleton.create(
|
|
2151
|
+
return Array.from({ length: e }, () => PlaceholderSkeleton.create(he.tag));
|
|
2022
2152
|
}
|
|
2023
2153
|
static create(e) {
|
|
2024
2154
|
return document.createElement(e);
|
|
2025
2155
|
}
|
|
2026
|
-
}, Te = 3, Ee = 2,
|
|
2156
|
+
}, Te = 3, Ee = 2, I = "fluid", De = "size", Oe = "medium", ke = "image", Ae = "length", L = class RootBox {
|
|
2027
2157
|
static css({ width: e, height: t, size: n, stackWith: r }) {
|
|
2028
2158
|
let i = RootBox.lengths({
|
|
2029
2159
|
width: e,
|
|
2030
2160
|
height: t
|
|
2031
2161
|
}).map(([e, t]) => `${e}: ${t}`);
|
|
2032
|
-
return n && n !== Pe && i.push(`--ui-scale: var(--ui-size-${n})`),
|
|
2162
|
+
return n && n !== Pe && i.push(`--ui-scale: var(--ui-size-${n})`), le.includes(r) && i.push(`${s}: ${r}`), i.join("; ");
|
|
2033
2163
|
}
|
|
2034
2164
|
static isBox({ width: e, height: t }) {
|
|
2035
2165
|
return RootBox.lengths({
|
|
@@ -2047,7 +2177,7 @@ var M = {
|
|
|
2047
2177
|
}
|
|
2048
2178
|
static length(e, t) {
|
|
2049
2179
|
let n = t?.trim();
|
|
2050
|
-
if (n) return n === Me ? Ne[e] :
|
|
2180
|
+
if (n) return n === Me ? Ne[e] : O ? Fe.test(n) ? n : void 0 : CSS.supports(e, n) ? n : void 0;
|
|
2051
2181
|
}
|
|
2052
2182
|
}, je = ["width", "height"], Me = "window", Ne = {
|
|
2053
2183
|
width: "100dvw",
|
|
@@ -2059,8 +2189,9 @@ var M = {
|
|
|
2059
2189
|
let n = Number(t[1]);
|
|
2060
2190
|
return t[2] === "s" ? n * 1e3 : n;
|
|
2061
2191
|
}
|
|
2062
|
-
}, Ie = 5e3, Le = /^\s*(\d+(?:\.\d+)?)\s*(ms|s)?\s*$/,
|
|
2192
|
+
}, Ie = 5e3, Le = /^\s*(\d+(?:\.\d+)?)\s*(ms|s)?\s*$/, R = {
|
|
2063
2193
|
tag: "ui-root",
|
|
2194
|
+
icon: "sitemap",
|
|
2064
2195
|
topics: [
|
|
2065
2196
|
"layout",
|
|
2066
2197
|
"containers",
|
|
@@ -2120,9 +2251,15 @@ var M = {
|
|
|
2120
2251
|
name: "stack-with",
|
|
2121
2252
|
group: "layout",
|
|
2122
2253
|
kind: "enum",
|
|
2123
|
-
values:
|
|
2254
|
+
values: le,
|
|
2124
2255
|
description: "What stacking layouts inside measure (`stackable`, `doubling` ... on grids, cards, steps, forms, items, statistics; tables' `stack-by`): `container` -- each element's own width (their default); `page` -- the screen's, as in Fomantic. Sets the `--ui-stack-with` token; an element's own `stack-with` wins."
|
|
2125
2256
|
},
|
|
2257
|
+
{
|
|
2258
|
+
name: "app",
|
|
2259
|
+
group: "behaviour",
|
|
2260
|
+
kind: "boolean",
|
|
2261
|
+
description: "This page is an app, not a document: it starts with the arrow cursor and no text selection, so nothing is left to the browser's guess. Text meant to be selected opts back in (`ui-selectable`)."
|
|
2262
|
+
},
|
|
2126
2263
|
{
|
|
2127
2264
|
name: "width",
|
|
2128
2265
|
group: "layout",
|
|
@@ -2148,6 +2285,13 @@ var M = {
|
|
|
2148
2285
|
values: ["cldr", "fomantic"],
|
|
2149
2286
|
description: "Emoji names for everything inside: `cldr` (the default) or `fomantic`."
|
|
2150
2287
|
},
|
|
2288
|
+
{
|
|
2289
|
+
name: "defaults",
|
|
2290
|
+
group: "appearance",
|
|
2291
|
+
kind: "json",
|
|
2292
|
+
reflect: !1,
|
|
2293
|
+
description: "PROPERTY: attribute values for the elements inside that don't set them, by tag: `{ \"ui-button\": { appearance: \"pill\" }, \"ui-segment\": { appearance: \"raised\" } }`. An element's own attribute, or a property set in code, wins; a root inside another adds to the outer root's, attribute by attribute. Never what an element shows (`label`, `value`, `text`): those warn, as does a value the attribute doesn't take."
|
|
2294
|
+
},
|
|
2151
2295
|
{
|
|
2152
2296
|
name: "assets",
|
|
2153
2297
|
group: "link",
|
|
@@ -2219,6 +2363,10 @@ var M = {
|
|
|
2219
2363
|
{
|
|
2220
2364
|
name: "fixed",
|
|
2221
2365
|
description: "Pinned to the viewport."
|
|
2366
|
+
},
|
|
2367
|
+
{
|
|
2368
|
+
name: "app",
|
|
2369
|
+
description: "`app`: this page is an app."
|
|
2222
2370
|
}
|
|
2223
2371
|
],
|
|
2224
2372
|
texts: [{
|
|
@@ -2230,12 +2378,12 @@ var M = {
|
|
|
2230
2378
|
text: "Content",
|
|
2231
2379
|
description: "Name of the scrolling region of a root with a box, when the host has no `aria-label`."
|
|
2232
2380
|
}]
|
|
2233
|
-
}, Re = "@layer ui.components.root.types{:host{display:contents}}@layer ui.components.root.content{[part~=loading]{padding-block:2em;display:block}}@layer ui.components.root.variations{:host(:state(box)){display:block}:host(:state(fixed)){display:block;position:fixed;inset:0}[part~=scroller]{box-sizing:border-box;overscroll-behavior:contain;height:100%;overflow:auto}[part~=scroller]:focus-visible{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:calc(-1 * var(--ui-focus-width))}:host(:state(light)){color-scheme:light;--ui-scheme:light;color:var(--ui-text-color);background-color:var(--ui-background)}:host(:state(dark)){color-scheme:dark;--ui-scheme:dark;color:var(--ui-text-color);background-color:var(--ui-background)}}@layer ui.components.root.states;",
|
|
2381
|
+
}, Re = "@layer ui.components.root.types{:host{display:contents}}@layer ui.components.root.content{[part~=loading]{padding-block:2em;display:block}}@layer ui.components.root.variations{:host(:state(box)){display:block}:host(:state(fixed)){display:block;position:fixed;inset:0}[part~=scroller]{box-sizing:border-box;overscroll-behavior:contain;height:100%;overflow:auto}[part~=scroller]:focus-visible{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:calc(-1 * var(--ui-focus-width))}:host(:state(light)){color-scheme:light;--ui-scheme:light;color:var(--ui-text-color);background-color:var(--ui-background)}:host(:state(dark)){color-scheme:dark;--ui-scheme:dark;color:var(--ui-text-color);background-color:var(--ui-background)}}@layer ui.components.root.states;", z = /* @__PURE__ */ M("<slot>"), ze = /* @__PURE__ */ M("<div>"), Be = /* @__PURE__ */ M("<div tabindex=0 role=region>"), B, V, Ve, H, U, W, G, K, He, Ue, We, Ge, Ke, qe, q, Je, Ye, Xe, J, Y, X, Z, Q = class _UIRoot extends (J = re, Xe = [m], Ye = [ce], Je = [m], q = [m], qe = [h], Ke = [p("ready")], Ge = [p("loading")], We = [h], Ue = [p("light")], He = [p("dark")], K = [p("box")], G = [p("app")], W = [p("fixed")], U = [ae], H = [ue], Ve = [g], V = [g], B = [se("isConnected", "icons", "emoji", "iconAssets", "attributeDefaults")], J) {
|
|
2234
2382
|
constructor() {
|
|
2235
|
-
super(...arguments), u(Y, 5, this),
|
|
2383
|
+
super(...arguments), u(Y, 5, this), d(this, X, u(Y, 8, this, !1)), u(Y, 11, this), r(this, "resolveSettled"), r(this, "settled", new Promise((e) => this.resolveSettled = e)), d(this, Z, u(Y, 12, this, [])), u(Y, 15, this), r(this, "failures", []), r(this, "reportedFailures", /* @__PURE__ */ new Set()), r(this, "elementsNotReady", /* @__PURE__ */ new Set()), r(this, "awaitedElements", /* @__PURE__ */ new WeakSet()), r(this, "packElements", /* @__PURE__ */ new WeakSet()), r(this, "packsLoading", /* @__PURE__ */ new Set()), r(this, "hasStarted", !1), r(this, "latestSettingsRequest", 0);
|
|
2236
2384
|
}
|
|
2237
2385
|
get looksReady() {
|
|
2238
|
-
return
|
|
2386
|
+
return O || this.contentIsReady;
|
|
2239
2387
|
}
|
|
2240
2388
|
get isLoading() {
|
|
2241
2389
|
return !this.looksReady;
|
|
@@ -2265,11 +2413,14 @@ var M = {
|
|
|
2265
2413
|
return this.theme === "dark";
|
|
2266
2414
|
}
|
|
2267
2415
|
get isBox() {
|
|
2268
|
-
return
|
|
2416
|
+
return L.isBox({
|
|
2269
2417
|
width: this.width,
|
|
2270
2418
|
height: this.height
|
|
2271
2419
|
});
|
|
2272
2420
|
}
|
|
2421
|
+
get isApp() {
|
|
2422
|
+
return this.app;
|
|
2423
|
+
}
|
|
2273
2424
|
get isFixed() {
|
|
2274
2425
|
return !!this.fixed;
|
|
2275
2426
|
}
|
|
@@ -2277,7 +2428,7 @@ var M = {
|
|
|
2277
2428
|
return this.isBox || this.isFixed;
|
|
2278
2429
|
}
|
|
2279
2430
|
get hostLayout() {
|
|
2280
|
-
return
|
|
2431
|
+
return L.css({
|
|
2281
2432
|
width: this.width,
|
|
2282
2433
|
height: this.height,
|
|
2283
2434
|
size: this.size,
|
|
@@ -2285,10 +2436,10 @@ var M = {
|
|
|
2285
2436
|
});
|
|
2286
2437
|
}
|
|
2287
2438
|
render() {
|
|
2288
|
-
if (
|
|
2439
|
+
if (O) return this.serverWrapper();
|
|
2289
2440
|
let e = this;
|
|
2290
2441
|
return [
|
|
2291
|
-
|
|
2442
|
+
w(x, {
|
|
2292
2443
|
get when() {
|
|
2293
2444
|
return e.showsLoadingMessage;
|
|
2294
2445
|
},
|
|
@@ -2296,7 +2447,7 @@ var M = {
|
|
|
2296
2447
|
return e.Loading.render(e.partForName("loading"), () => e.loadingMessage);
|
|
2297
2448
|
}
|
|
2298
2449
|
}),
|
|
2299
|
-
|
|
2450
|
+
w(x, {
|
|
2300
2451
|
get when() {
|
|
2301
2452
|
return e.showsSkeletons;
|
|
2302
2453
|
},
|
|
@@ -2304,7 +2455,7 @@ var M = {
|
|
|
2304
2455
|
return e.Skeleton.render(e.partForName("skeleton"), e.$.skeletons);
|
|
2305
2456
|
}
|
|
2306
2457
|
}),
|
|
2307
|
-
|
|
2458
|
+
w(x, {
|
|
2308
2459
|
get when() {
|
|
2309
2460
|
return e.scrolls;
|
|
2310
2461
|
},
|
|
@@ -2319,50 +2470,50 @@ var M = {
|
|
|
2319
2470
|
}
|
|
2320
2471
|
content() {
|
|
2321
2472
|
let e = this;
|
|
2322
|
-
var t =
|
|
2323
|
-
return t._$owner =
|
|
2324
|
-
e:
|
|
2325
|
-
t:
|
|
2473
|
+
var t = z();
|
|
2474
|
+
return t._$owner = E(), T(() => ({
|
|
2475
|
+
e: k(e.rootClass),
|
|
2476
|
+
t: k(e.contentStyle)
|
|
2326
2477
|
}), ({ e, t: n }, r) => {
|
|
2327
|
-
|
|
2478
|
+
C(t, e, r?.e), j(t, n, r?.t);
|
|
2328
2479
|
}), t;
|
|
2329
2480
|
}
|
|
2330
2481
|
serverWrapper() {
|
|
2331
2482
|
let e = this;
|
|
2332
2483
|
var t = ze();
|
|
2333
|
-
return
|
|
2484
|
+
return D(t, w(x, {
|
|
2334
2485
|
get when() {
|
|
2335
2486
|
return e.scrolls;
|
|
2336
2487
|
},
|
|
2337
2488
|
get fallback() {
|
|
2338
|
-
var e =
|
|
2339
|
-
return e._$owner =
|
|
2489
|
+
var e = z();
|
|
2490
|
+
return e._$owner = E(), e;
|
|
2340
2491
|
},
|
|
2341
2492
|
get children() {
|
|
2342
2493
|
return e.scroller((() => {
|
|
2343
|
-
var e =
|
|
2344
|
-
return e._$owner =
|
|
2494
|
+
var e = z();
|
|
2495
|
+
return e._$owner = E(), e;
|
|
2345
2496
|
})());
|
|
2346
2497
|
}
|
|
2347
|
-
})),
|
|
2348
|
-
e:
|
|
2349
|
-
t:
|
|
2498
|
+
})), T(() => ({
|
|
2499
|
+
e: k(e.rootClass),
|
|
2500
|
+
t: k(e.serverStyle)
|
|
2350
2501
|
}), ({ e, t: n }, r) => {
|
|
2351
|
-
|
|
2502
|
+
C(t, e, r?.e), j(t, n, r?.t);
|
|
2352
2503
|
}), t;
|
|
2353
2504
|
}
|
|
2354
2505
|
scroller(e) {
|
|
2355
2506
|
let t = this;
|
|
2356
2507
|
var n = Be();
|
|
2357
|
-
return
|
|
2508
|
+
return D(n, e), T(() => ({
|
|
2358
2509
|
e: t.partForName("scroller"),
|
|
2359
2510
|
t: t.attributes["aria-label"] ?? t.runtimeText("label")
|
|
2360
2511
|
}), ({ e, t }, r) => {
|
|
2361
|
-
e !== r?.e &&
|
|
2512
|
+
e !== r?.e && A(n, "part", e), t !== r?.t && A(n, "aria-label", t);
|
|
2362
2513
|
}), n;
|
|
2363
2514
|
}
|
|
2364
2515
|
get serverStyle() {
|
|
2365
|
-
return [this.scrolls ? "" :
|
|
2516
|
+
return [this.scrolls ? "" : $e, this.hostLayout].filter(Boolean).join("; ") || void 0;
|
|
2366
2517
|
}
|
|
2367
2518
|
get contentRoots() {
|
|
2368
2519
|
return [this.domElement];
|
|
@@ -2383,14 +2534,14 @@ var M = {
|
|
|
2383
2534
|
}
|
|
2384
2535
|
async useLanguage() {
|
|
2385
2536
|
let e = this.domElement.closest("[lang]")?.getAttribute("lang");
|
|
2386
|
-
if (e &&
|
|
2387
|
-
await
|
|
2537
|
+
if (e && F.hasLanguage(e)) try {
|
|
2538
|
+
await F.useLanguage(e);
|
|
2388
2539
|
} catch (t) {
|
|
2389
|
-
|
|
2540
|
+
f.warn("<ui-root>", `the ${e} names didn't load:`, t);
|
|
2390
2541
|
}
|
|
2391
2542
|
}
|
|
2392
2543
|
async settle() {
|
|
2393
|
-
for (let e = 0; e <
|
|
2544
|
+
for (let e = 0; e < et; e++) {
|
|
2394
2545
|
await this.loadUndefined();
|
|
2395
2546
|
let e = this.elementsToAwait();
|
|
2396
2547
|
if (!e.length) return;
|
|
@@ -2400,7 +2551,7 @@ var M = {
|
|
|
2400
2551
|
findSkeletons() {
|
|
2401
2552
|
let e = [];
|
|
2402
2553
|
for (let t of this.elementsInside()) {
|
|
2403
|
-
let n =
|
|
2554
|
+
let n = F.entryOf(t.localName)?.skeleton;
|
|
2404
2555
|
n && !e.some((e) => e.element.contains(t)) && e.push({
|
|
2405
2556
|
element: t,
|
|
2406
2557
|
spec: n
|
|
@@ -2411,12 +2562,12 @@ var M = {
|
|
|
2411
2562
|
loadUndefined() {
|
|
2412
2563
|
let e = this.loadPacks();
|
|
2413
2564
|
for (let t of this.undefinedTags()) {
|
|
2414
|
-
let n = this.ownTagLoader(t)?.() ??
|
|
2565
|
+
let n = this.ownTagLoader(t)?.() ?? F.loadTag(t) ?? v.whileDefining(t);
|
|
2415
2566
|
n ? e.push(n.catch((e) => this.fail({
|
|
2416
2567
|
tag: t,
|
|
2417
2568
|
reason: "failed",
|
|
2418
2569
|
error: e
|
|
2419
|
-
}))) :
|
|
2570
|
+
}))) : F.entryOf(t) ? this.fail({
|
|
2420
2571
|
tag: t,
|
|
2421
2572
|
reason: "failed",
|
|
2422
2573
|
error: /* @__PURE__ */ Error("its pack didn't define it")
|
|
@@ -2429,12 +2580,12 @@ var M = {
|
|
|
2429
2580
|
}
|
|
2430
2581
|
loadPacks() {
|
|
2431
2582
|
let e = [];
|
|
2432
|
-
for (let t of this.elementsInside(`${
|
|
2433
|
-
let n = t.getAttribute(
|
|
2583
|
+
for (let t of this.elementsInside(`${b.tag}[${y}]`)) {
|
|
2584
|
+
let n = t.getAttribute(y);
|
|
2434
2585
|
if (!n || this.packElements.has(t)) continue;
|
|
2435
2586
|
this.packElements.add(t), this.packsLoading.add(n);
|
|
2436
|
-
let r =
|
|
2437
|
-
tag:
|
|
2587
|
+
let r = v.load(n).then(() => this.onPackLoaded(), (e) => this.fail({
|
|
2588
|
+
tag: b.tag,
|
|
2438
2589
|
reason: "failed",
|
|
2439
2590
|
error: e,
|
|
2440
2591
|
source: n
|
|
@@ -2456,11 +2607,11 @@ var M = {
|
|
|
2456
2607
|
return this.contentRoots.flatMap((t) => [...t.querySelectorAll(e)]);
|
|
2457
2608
|
}
|
|
2458
2609
|
undefinedTags() {
|
|
2459
|
-
let
|
|
2460
|
-
return new Set(this.contentRoots.flatMap((
|
|
2610
|
+
let t = /* @__PURE__ */ e((e) => this.ownTagLoader(e) !== void 0, "alsoLoads");
|
|
2611
|
+
return new Set(this.contentRoots.flatMap((e) => [...F.undefinedTags(e, t)]));
|
|
2461
2612
|
}
|
|
2462
2613
|
timedOut() {
|
|
2463
|
-
for (let e of this.undefinedTags()) (
|
|
2614
|
+
for (let e of this.undefinedTags()) (F.entryOf(e) || this.ownTagLoader(e)) && this.fail({
|
|
2464
2615
|
tag: e,
|
|
2465
2616
|
reason: "timeout"
|
|
2466
2617
|
});
|
|
@@ -2469,61 +2620,76 @@ var M = {
|
|
|
2469
2620
|
reason: "timeout"
|
|
2470
2621
|
});
|
|
2471
2622
|
for (let e of this.packsLoading) this.fail({
|
|
2472
|
-
tag:
|
|
2623
|
+
tag: b.tag,
|
|
2473
2624
|
reason: "timeout",
|
|
2474
2625
|
source: e
|
|
2475
2626
|
});
|
|
2476
2627
|
}
|
|
2477
2628
|
fail(e) {
|
|
2478
2629
|
let { tag: t, reason: n, error: r, source: i } = e, a = `${t} ${n} ${i ?? ""}`;
|
|
2479
|
-
this.reportedFailures.has(a) || (this.reportedFailures.add(a), this.failures.push(e), this.send("ui-error", e) && (i ?
|
|
2630
|
+
this.reportedFailures.has(a) || (this.reportedFailures.add(a), this.failures.push(e), r instanceof ne && globalThis.SPELL_SERVER?.reportStale?.(r.cause), this.send("ui-error", e) && (i ? f.error("<ui-root>", `component pack ${i} didn't load (${n}):`, r ?? "") : f.warn("<ui-root>", `<${t}> didn't load (${n}):`, r ?? "")));
|
|
2480
2631
|
}
|
|
2481
2632
|
get iconAssets() {
|
|
2482
2633
|
return this.assets;
|
|
2483
2634
|
}
|
|
2484
|
-
onSettingsChanged(e, t, n, r) {
|
|
2635
|
+
onSettingsChanged(e, t, n, r, i) {
|
|
2485
2636
|
e ? this.applySettings({
|
|
2486
2637
|
packs: _UIRoot.packs(t),
|
|
2487
2638
|
emoji: n,
|
|
2488
|
-
assets: r
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2639
|
+
assets: r,
|
|
2640
|
+
defaults: i
|
|
2641
|
+
}) : c.delete(this.domElement);
|
|
2642
|
+
}
|
|
2643
|
+
applySettings({ packs: t, emoji: n, assets: r, defaults: i }) {
|
|
2644
|
+
let a = ++this.latestSettingsRequest;
|
|
2645
|
+
c.set(this.domElement, {
|
|
2646
|
+
emoji: n,
|
|
2647
|
+
defaults: i
|
|
2648
|
+
}), t.length && l.load().then((o) => {
|
|
2649
|
+
if (a !== this.latestSettingsRequest || !this.domElement.isConnected) return;
|
|
2650
|
+
let s = /* @__PURE__ */ e(() => this.outerPacks(o.icons), "parent");
|
|
2651
|
+
c.set(this.domElement, {
|
|
2652
|
+
emoji: n,
|
|
2653
|
+
defaults: i,
|
|
2654
|
+
icons: o.icons.scope(t, {
|
|
2655
|
+
assets: r,
|
|
2656
|
+
parent: s
|
|
2501
2657
|
})
|
|
2502
2658
|
});
|
|
2503
2659
|
});
|
|
2504
2660
|
}
|
|
2661
|
+
get attributeDefaults() {
|
|
2662
|
+
let e = this.defaults;
|
|
2663
|
+
if (e != null && e !== "") {
|
|
2664
|
+
if (_UIRoot.isTable(e) && Object.values(e).every(_UIRoot.isTable)) return e;
|
|
2665
|
+
f.warn("<ui-root>", "defaults: takes tag => attribute => value (`{ \"ui-button\": { appearance: \"pill\" } }`)", e);
|
|
2666
|
+
}
|
|
2667
|
+
}
|
|
2668
|
+
static isTable(e) {
|
|
2669
|
+
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
2670
|
+
}
|
|
2505
2671
|
outerPacks(e) {
|
|
2506
2672
|
let t = oe(this.domElement);
|
|
2507
2673
|
return t ? i.packsFor(t, e) : e;
|
|
2508
2674
|
}
|
|
2509
2675
|
static packs(e) {
|
|
2510
|
-
return (e ?? "").split(
|
|
2676
|
+
return (e ?? "").split(Qe).map((e) => e.trim()).filter(Boolean);
|
|
2511
2677
|
}
|
|
2512
2678
|
};
|
|
2513
|
-
Y =
|
|
2679
|
+
Y = de(J), X = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), o(Y, 4, "contentIsReady", qe, Q, X), o(Y, 2, "looksReady", Ke, Q), o(Y, 2, "isLoading", Ge, Q), o(Y, 4, "skeletons", We, Q, Z), o(Y, 2, "isLight", Ue, Q), o(Y, 2, "isDark", He, Q), o(Y, 2, "isBox", K, Q), o(Y, 2, "isApp", G, Q), o(Y, 2, "isFixed", W, Q), o(Y, 2, "hostLayout", U, Q), o(Y, 1, "watch", H, Q), o(Y, 1, "start", Ve, Q), o(Y, 1, "onPackLoaded", V, Q), o(Y, 1, "onSettingsChanged", B, Q), o(Y, 13, "vocabulary", Xe, Q), o(Y, 13, "elementSetup", Ye, Q), o(Y, 13, "Loading", Je, Q), o(Y, 13, "Skeleton", q, Q), ee(Y, Q), e(Q, "UIRoot"), r(Q, "vocabulary", u(Y, 16, Q, R)), u(Y, 19, Q), r(Q, "elementSetup", u(Y, 20, Q, {
|
|
2514
2680
|
styleSheets: { root: Re },
|
|
2515
2681
|
delegatesFocus: !1,
|
|
2516
2682
|
canRenderUnstyled: !0,
|
|
2517
2683
|
root: !0,
|
|
2518
2684
|
loading: "its own"
|
|
2519
|
-
})), u(Y, 23, Q),
|
|
2520
|
-
var
|
|
2685
|
+
})), u(Y, 23, Q), r(Q, "Loading", u(Y, 24, Q, LoaderMessage)), u(Y, 27, Q), r(Q, "Skeleton", u(Y, 28, Q, we)), u(Y, 31, Q);
|
|
2686
|
+
var Ze = Q, $ = {
|
|
2521
2687
|
skeleton: "skeleton",
|
|
2522
2688
|
whenReady: "when-ready",
|
|
2523
2689
|
immediately: "immediately"
|
|
2524
|
-
},
|
|
2525
|
-
|
|
2690
|
+
}, Qe = ",", $e = "display: contents", et = 10;
|
|
2691
|
+
Ze.define(), F.defineEarly();
|
|
2526
2692
|
//#endregion
|
|
2527
|
-
export { LoaderMessage,
|
|
2693
|
+
export { LoaderMessage, F as RootLoader, Ze as UIRoot, R as t };
|
|
2528
2694
|
|
|
2529
2695
|
//# sourceMappingURL=ui-root.js.map
|