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,12 +1,12 @@
|
|
|
1
|
-
import "./rolldown-runtime-
|
|
2
|
-
import {
|
|
3
|
-
import { DOMFieldElement as
|
|
4
|
-
import { n as
|
|
1
|
+
import "./rolldown-runtime-c6e9CmGy.js";
|
|
2
|
+
import { Converters as e, DOMLoadableBodyElement as t, Gt as n, IconGlyph as r, Jt as i, Kt as a, Reactive as o, SlotContent as s, T as ee, UI as c, Ut as l, ValueSets as u, Warnings as d, Wt as f, Yt as p, afterSolidUpdate as te, camelCase as ne, commaList as re, cssState as m, derived as ie, kebabCase as ae, on as oe, onChange as h, proto as g, protoMerged as se, qt as _, state as v, untracked as y, watches as ce } from "./core.js";
|
|
3
|
+
import { DOMFieldElement as le, DOMFormElement as ue, FormBinding as b, FormFields as x, UIField as de, UIForm as fe, n as S, t as C } from "./ui-form.js";
|
|
4
|
+
import { n as w, t as pe } from "./ui-section.js";
|
|
5
5
|
import { UIPanel as me } from "./ui-panel.js";
|
|
6
|
-
import { For as he, Show as
|
|
7
|
-
import { Dynamic as ge, className as
|
|
8
|
-
|
|
9
|
-
var
|
|
6
|
+
import { For as he, Show as T } from "solid-js";
|
|
7
|
+
import { Dynamic as ge, className as E, createComponent as D, delegateEvents as _e, effect as O, getOwner as k, insert as A, isServer as ve, memo as ye, mergeProps as be, readShallow as j, setAttribute as M, style as xe, template as N } from "@solidjs/web";
|
|
8
|
+
// src/property/PropertySchemas.ts
|
|
9
|
+
var P = class PropertySchemas {
|
|
10
10
|
static fromVocabulary(e) {
|
|
11
11
|
return {
|
|
12
12
|
name: e.tag,
|
|
@@ -41,7 +41,7 @@ var M = class PropertySchemas {
|
|
|
41
41
|
}
|
|
42
42
|
static labelOf(e) {
|
|
43
43
|
if (e.label) return e.label;
|
|
44
|
-
let t =
|
|
44
|
+
let t = ae(e.name).replace(/[-\s]+/g, " ").trim();
|
|
45
45
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
46
46
|
}
|
|
47
47
|
static attributesOfJSONSchema(e) {
|
|
@@ -131,8 +131,7 @@ function isObjectSchema(e) {
|
|
|
131
131
|
function isPlainDefault(e) {
|
|
132
132
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean";
|
|
133
133
|
}
|
|
134
|
-
|
|
135
|
-
//#region src/property/PropertyEditorPages.ts
|
|
134
|
+
// src/property/PropertyEditorPages.ts
|
|
136
135
|
var we = class PropertyEditorPages {
|
|
137
136
|
static write(e, t) {
|
|
138
137
|
let n = t.createElement(Te);
|
|
@@ -144,7 +143,7 @@ var we = class PropertyEditorPages {
|
|
|
144
143
|
return e.querySelector(Te) ?? void 0;
|
|
145
144
|
}
|
|
146
145
|
static check(e, t) {
|
|
147
|
-
let n = [], r =
|
|
146
|
+
let n = [], r = new Set((e.getAttribute("data-omit") ?? "").split(/\s+/).filter(Boolean));
|
|
148
147
|
for (let i of e.querySelectorAll(De)) {
|
|
149
148
|
let e = i.getAttribute("name") ?? "";
|
|
150
149
|
r.add(e.split(".")[0]);
|
|
@@ -159,7 +158,7 @@ var we = class PropertyEditorPages {
|
|
|
159
158
|
}
|
|
160
159
|
let o = i.getAttribute("as");
|
|
161
160
|
if (o && !PropertyEditorPages.fits(o, a)) {
|
|
162
|
-
let t =
|
|
161
|
+
let t = P.typeOf(a);
|
|
163
162
|
n.push({
|
|
164
163
|
kind: "control",
|
|
165
164
|
name: e,
|
|
@@ -186,7 +185,7 @@ var we = class PropertyEditorPages {
|
|
|
186
185
|
return `${PropertyEditorPages.lines(e, 0).join("\n")}\n`;
|
|
187
186
|
}
|
|
188
187
|
static compile(e, t, { uiModule: n = Ne } = {}) {
|
|
189
|
-
let r = `${
|
|
188
|
+
let r = `${ae(t.name).replace(/^-/, "")}-editor`, i = `${t.name.replace(/\W/g, "")}Editor`, a = Object.fromEntries([...e.attributes].filter(({ name: e }) => !Pe.has(e)).map(({ name: e, value: t }) => [e, t])), o = [...e.children].map((e) => PropertyEditorPages.lines(e, 0).join("\n")).join("\n");
|
|
190
189
|
return {
|
|
191
190
|
tag: r,
|
|
192
191
|
className: i,
|
|
@@ -264,7 +263,7 @@ var we = class PropertyEditorPages {
|
|
|
264
263
|
static fits(e, t) {
|
|
265
264
|
let n = Me[e];
|
|
266
265
|
if (!n) return !0;
|
|
267
|
-
let r =
|
|
266
|
+
let r = P.typeOf(t);
|
|
268
267
|
return n.includes(r) ? !0 : r === Ae && !!(t.values ?? t.choicesFrom) && e === je;
|
|
269
268
|
}
|
|
270
269
|
static lines(e, t) {
|
|
@@ -291,9 +290,306 @@ var we = class PropertyEditorPages {
|
|
|
291
290
|
"schema",
|
|
292
291
|
"source",
|
|
293
292
|
"select"
|
|
294
|
-
]), Fe = " "
|
|
295
|
-
|
|
296
|
-
|
|
293
|
+
]), Fe = " ", F = class PropertyLayouts {
|
|
294
|
+
static parse(e, t = globalThis.document) {
|
|
295
|
+
let n = t.createElement("template");
|
|
296
|
+
n.innerHTML = e;
|
|
297
|
+
let r = n.content.querySelector(Ie);
|
|
298
|
+
return r ? PropertyLayouts.read(r) : void 0;
|
|
299
|
+
}
|
|
300
|
+
static read(e) {
|
|
301
|
+
let t = [], n, sectionFor = (e) => {
|
|
302
|
+
let r = e.closest(Le);
|
|
303
|
+
if (!r) return n ??= {
|
|
304
|
+
group: void 0,
|
|
305
|
+
label: void 0,
|
|
306
|
+
rows: []
|
|
307
|
+
};
|
|
308
|
+
let i = t.find((e) => e.element === r);
|
|
309
|
+
return i || (i = {
|
|
310
|
+
group: r.getAttribute(Be) ?? void 0,
|
|
311
|
+
label: r.getAttribute("label") ?? void 0,
|
|
312
|
+
rows: [],
|
|
313
|
+
element: r
|
|
314
|
+
}, t.push(i)), i;
|
|
315
|
+
};
|
|
316
|
+
for (let t of e.querySelectorAll(Re)) {
|
|
317
|
+
let e = t.getAttribute("name");
|
|
318
|
+
if (!e) continue;
|
|
319
|
+
let n = sectionFor(t), r = t.closest(ze), i = n.rows.at(-1);
|
|
320
|
+
r && i && i.row === r ? i.names.push(e) : n.rows.push({
|
|
321
|
+
names: [e],
|
|
322
|
+
row: r ?? void 0
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
return n && t.unshift(n), {
|
|
326
|
+
tag: e.getAttribute("schema") ?? "",
|
|
327
|
+
omitted: (e.getAttribute(Ve) ?? "").split(/\s+/).filter(Boolean),
|
|
328
|
+
sections: t.map(({ group: e, label: t, rows: n }) => ({
|
|
329
|
+
group: e,
|
|
330
|
+
label: t,
|
|
331
|
+
rows: n.map((e) => e.names)
|
|
332
|
+
}))
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
static place(e, t) {
|
|
336
|
+
let n = new Set(t.map((e) => e.name)), r = (e?.sections ?? []).map((e) => ({
|
|
337
|
+
group: e.group,
|
|
338
|
+
label: e.label,
|
|
339
|
+
rows: e.rows.map((e) => e.filter((e) => n.has(e))).filter((e) => e.length)
|
|
340
|
+
})), i = [], a = PropertyLayouts.unplaced(e, t), o = [...a.filter((e) => !I[e]), ...a.filter((e) => I[e])];
|
|
341
|
+
for (let e of o) {
|
|
342
|
+
let n = I[e] && [...r, ...i].find((t) => t.rows.some((t) => t.includes(I[e])));
|
|
343
|
+
if (n) {
|
|
344
|
+
n.rows.splice(n.rows.findIndex((t) => t.includes(I[e])) + 1, 0, [e]);
|
|
345
|
+
continue;
|
|
346
|
+
}
|
|
347
|
+
let a = t.find((t) => t.name === e)?.group ?? He, o = r.find((e) => e.group === a) ?? i.find((e) => e.group === a);
|
|
348
|
+
o || (o = {
|
|
349
|
+
group: a,
|
|
350
|
+
label: void 0,
|
|
351
|
+
rows: []
|
|
352
|
+
}, i.push(o)), o.rows.push([e]);
|
|
353
|
+
}
|
|
354
|
+
return i.sort((e, t) => Ue.indexOf(e.group) - Ue.indexOf(t.group)), [...r, ...i].filter((e) => e.rows.length);
|
|
355
|
+
}
|
|
356
|
+
static unplaced(e, t) {
|
|
357
|
+
let n = /* @__PURE__ */ new Set([...e?.omitted ?? [], ...(e?.sections ?? []).flatMap((e) => e.rows.flat())]);
|
|
358
|
+
return t.map((e) => e.name).filter((e) => !n.has(e));
|
|
359
|
+
}
|
|
360
|
+
static unknown(e, t) {
|
|
361
|
+
let n = new Set(t.map((e) => e.name));
|
|
362
|
+
return [...e.omitted, ...e.sections.flatMap((e) => e.rows.flat())].filter((e) => !n.has(e));
|
|
363
|
+
}
|
|
364
|
+
static write(e, t, n = globalThis.document) {
|
|
365
|
+
let r = n.createElement(Ie);
|
|
366
|
+
r.setAttribute("schema", e), r.setAttribute(Ve, "");
|
|
367
|
+
for (let e of PropertyLayouts.place(void 0, t)) {
|
|
368
|
+
let t = n.createElement(Le);
|
|
369
|
+
t.setAttribute("label", PropertyLayouts.labelOf(e.group)), t.setAttribute(Be, e.group ?? He);
|
|
370
|
+
for (let r of e.rows) {
|
|
371
|
+
let e = r.length > 1 ? n.createElement(ze) : t;
|
|
372
|
+
for (let t of r) {
|
|
373
|
+
let r = n.createElement(Re);
|
|
374
|
+
r.setAttribute("name", t), e.append(r);
|
|
375
|
+
}
|
|
376
|
+
e !== t && t.append(e);
|
|
377
|
+
}
|
|
378
|
+
r.append(t);
|
|
379
|
+
}
|
|
380
|
+
return `${HEADER(e)}\n${PropertyLayouts.lines(r, 0).join("\n")}\n`;
|
|
381
|
+
}
|
|
382
|
+
static labelOf(e) {
|
|
383
|
+
return We[e ?? He];
|
|
384
|
+
}
|
|
385
|
+
static load(e) {
|
|
386
|
+
let t = PropertyLayouts.loading.get(e);
|
|
387
|
+
return t || (t = PropertyLayouts.fetch(e), PropertyLayouts.loading.set(e, t)), t;
|
|
388
|
+
}
|
|
389
|
+
static loaded(e) {
|
|
390
|
+
return PropertyLayouts.done.get(e);
|
|
391
|
+
}
|
|
392
|
+
static get tags() {
|
|
393
|
+
return Object.keys(PropertyLayouts.files);
|
|
394
|
+
}
|
|
395
|
+
static loading = /* @__PURE__ */ new Map();
|
|
396
|
+
static done = /* @__PURE__ */ new Map();
|
|
397
|
+
static async fetch(e) {
|
|
398
|
+
let t;
|
|
399
|
+
try {
|
|
400
|
+
let n = PropertyLayouts.files[e];
|
|
401
|
+
t = n ? PropertyLayouts.parse(await n()) : void 0;
|
|
402
|
+
} catch (t) {
|
|
403
|
+
console.error(`PropertyLayouts.load(): can't read ${e}'s layout`, t);
|
|
404
|
+
}
|
|
405
|
+
return PropertyLayouts.done.set(e, t ?? null), t;
|
|
406
|
+
}
|
|
407
|
+
static get files() {
|
|
408
|
+
return PropertyLayouts.fileLoaders ??= PropertyLayouts.findFiles();
|
|
409
|
+
}
|
|
410
|
+
static fileLoaders;
|
|
411
|
+
static findFiles() {
|
|
412
|
+
try {
|
|
413
|
+
return Object.fromEntries(Object.entries(/* @__PURE__ */ Object.assign({
|
|
414
|
+
"../components/ui-accordion/ui-accordion.editor.html": () => import("./ui-accordion.editor-BP8uQGGU.js").then((e) => e.default),
|
|
415
|
+
"../components/ui-action/ui-action.editor.html": () => import("./ui-action.editor-m5R5N5Wy.js").then((e) => e.default),
|
|
416
|
+
"../components/ui-ad/ui-ad.editor.html": () => import("./ui-ad.editor-BHTDuSii.js").then((e) => e.default),
|
|
417
|
+
"../components/ui-app-menu/ui-app-menu.editor.html": () => import("./ui-app-menu.editor-DxPPnMUT.js").then((e) => e.default),
|
|
418
|
+
"../components/ui-breadcrumbs/ui-breadcrumb.editor.html": () => import("./ui-breadcrumb.editor-N1-8OzDq.js").then((e) => e.default),
|
|
419
|
+
"../components/ui-breadcrumbs/ui-breadcrumbs.editor.html": () => import("./ui-breadcrumbs.editor-Mml0fUR_.js").then((e) => e.default),
|
|
420
|
+
"../components/ui-button/ui-button.editor.html": () => import("./ui-button.editor-BV9Bh_xf.js").then((e) => e.default),
|
|
421
|
+
"../components/ui-button/ui-buttons.editor.html": () => import("./ui-buttons.editor-CSsEIo2s.js").then((e) => e.default),
|
|
422
|
+
"../components/ui-button/ui-or.editor.html": () => import("./ui-or.editor-BfBLNVgm.js").then((e) => e.default),
|
|
423
|
+
"../components/ui-calendar/ui-calendar.editor.html": () => import("./ui-calendar.editor-TsP8a97s.js").then((e) => e.default),
|
|
424
|
+
"../components/ui-card/ui-card.editor.html": () => import("./ui-card.editor-BBZj9e03.js").then((e) => e.default),
|
|
425
|
+
"../components/ui-card/ui-cards.editor.html": () => import("./ui-cards.editor-Hrmldr4q.js").then((e) => e.default),
|
|
426
|
+
"../components/ui-checkbox/ui-checkbox.editor.html": () => import("./ui-checkbox.editor-DnOz9r6d.js").then((e) => e.default),
|
|
427
|
+
"../components/ui-checkbox/ui-radio.editor.html": () => import("./ui-radio.editor-DPzActfO.js").then((e) => e.default),
|
|
428
|
+
"../components/ui-code/ui-code.editor.html": () => import("./ui-code.editor-Drr_FVB6.js").then((e) => e.default),
|
|
429
|
+
"../components/ui-comment/ui-comment.editor.html": () => import("./ui-comment.editor-DJpE_8tz.js").then((e) => e.default),
|
|
430
|
+
"../components/ui-comment/ui-comments.editor.html": () => import("./ui-comments.editor-GFJN6l3Q.js").then((e) => e.default),
|
|
431
|
+
"../components/ui-components/ui-components.editor.html": () => import("./ui-components.editor-BKFXnARt.js").then((e) => e.default),
|
|
432
|
+
"../components/ui-container/ui-container.editor.html": () => import("./ui-container.editor-CBNhNkRm.js").then((e) => e.default),
|
|
433
|
+
"../components/ui-device/ui-device.editor.html": () => import("./ui-device.editor-kl48NVma.js").then((e) => e.default),
|
|
434
|
+
"../components/ui-diagram/ui-diagram-node.editor.html": () => import("./ui-diagram-node.editor-6FyjT7oj.js").then((e) => e.default),
|
|
435
|
+
"../components/ui-diagram/ui-diagram.editor.html": () => import("./ui-diagram.editor-Dn3ef-J9.js").then((e) => e.default),
|
|
436
|
+
"../components/ui-dimension/ui-dimension.editor.html": () => import("./ui-dimension.editor-BEXGKcCB.js").then((e) => e.default),
|
|
437
|
+
"../components/ui-dimmer/ui-dimmer.editor.html": () => import("./ui-dimmer.editor-D14xzXIe.js").then((e) => e.default),
|
|
438
|
+
"../components/ui-divider/ui-divider.editor.html": () => import("./ui-divider.editor-D6ozEXjx.js").then((e) => e.default),
|
|
439
|
+
"../components/ui-dropdown/ui-dropdown.editor.html": () => import("./ui-dropdown.editor-OFDGi1oz.js").then((e) => e.default),
|
|
440
|
+
"../components/ui-embed/ui-embed.editor.html": () => import("./ui-embed.editor-DHsrjw1j.js").then((e) => e.default),
|
|
441
|
+
"../components/ui-emoji/ui-emoji.editor.html": () => import("./ui-emoji.editor-DUL230Hi.js").then((e) => e.default),
|
|
442
|
+
"../components/ui-example/ui-example.editor.html": () => import("./ui-example.editor-D46Vnctp.js").then((e) => e.default),
|
|
443
|
+
"../components/ui-feed/ui-event.editor.html": () => import("./ui-event.editor-Bk17y7wW.js").then((e) => e.default),
|
|
444
|
+
"../components/ui-feed/ui-feed.editor.html": () => import("./ui-feed.editor-B7ycWh1b.js").then((e) => e.default),
|
|
445
|
+
"../components/ui-flag/ui-flag.editor.html": () => import("./ui-flag.editor-DNfdXo7y.js").then((e) => e.default),
|
|
446
|
+
"../components/ui-flyout/ui-flyout.editor.html": () => import("./ui-flyout.editor-b7UJYiV9.js").then((e) => e.default),
|
|
447
|
+
"../components/ui-form/ui-field.editor.html": () => import("./ui-field.editor-Bz9xyCVv.js").then((e) => e.default),
|
|
448
|
+
"../components/ui-form/ui-fields.editor.html": () => import("./ui-fields.editor-BUtW4NTk.js").then((e) => e.default),
|
|
449
|
+
"../components/ui-form/ui-form.editor.html": () => import("./ui-form.editor-BJC3WhNf.js").then((e) => e.default),
|
|
450
|
+
"../components/ui-form/ui-repeat.editor.html": () => import("./ui-repeat.editor-DEf-bFGj.js").then((e) => e.default),
|
|
451
|
+
"../components/ui-grid/ui-column.editor.html": () => import("./ui-column.editor-hdUb-qwT.js").then((e) => e.default),
|
|
452
|
+
"../components/ui-grid/ui-grid.editor.html": () => import("./ui-grid.editor-DVn2YIBW.js").then((e) => e.default),
|
|
453
|
+
"../components/ui-grid/ui-row.editor.html": () => import("./ui-row.editor-C00Z6Jl5.js").then((e) => e.default),
|
|
454
|
+
"../components/ui-icon/ui-icon.editor.html": () => import("./ui-icon.editor-DoKK49PD.js").then((e) => e.default),
|
|
455
|
+
"../components/ui-icon/ui-icons.editor.html": () => import("./ui-icons.editor-CSD6fOVt.js").then((e) => e.default),
|
|
456
|
+
"../components/ui-icon-picker/ui-icon-picker.editor.html": () => import("./ui-icon-picker.editor-vFPbT9Kh.js").then((e) => e.default),
|
|
457
|
+
"../components/ui-image/ui-image.editor.html": () => import("./ui-image.editor-D4ZUC_Ka.js").then((e) => e.default),
|
|
458
|
+
"../components/ui-image/ui-images.editor.html": () => import("./ui-images.editor-Cb0D3vnI.js").then((e) => e.default),
|
|
459
|
+
"../components/ui-include/ui-include.editor.html": () => import("./ui-include.editor-CZcsVJbH.js").then((e) => e.default),
|
|
460
|
+
"../components/ui-input/ui-input.editor.html": () => import("./ui-input.editor-budoNoB0.js").then((e) => e.default),
|
|
461
|
+
"../components/ui-input/ui-textarea.editor.html": () => import("./ui-textarea.editor-C25lVwrF.js").then((e) => e.default),
|
|
462
|
+
"../components/ui-item/ui-item.editor.html": () => import("./ui-item.editor-BlWp1HXu.js").then((e) => e.default),
|
|
463
|
+
"../components/ui-items/ui-items.editor.html": () => import("./ui-items.editor-GOul3Xss.js").then((e) => e.default),
|
|
464
|
+
"../components/ui-json/ui-json.editor.html": () => import("./ui-json.editor-BgZbrB_W.js").then((e) => e.default),
|
|
465
|
+
"../components/ui-keys/ui-keys.editor.html": () => import("./ui-keys.editor-BI9EDtS4.js").then((e) => e.default),
|
|
466
|
+
"../components/ui-label/ui-label.editor.html": () => import("./ui-label.editor-BVUYLSUs.js").then((e) => e.default),
|
|
467
|
+
"../components/ui-label/ui-labels.editor.html": () => import("./ui-labels.editor-BWJth86p.js").then((e) => e.default),
|
|
468
|
+
"../components/ui-list/ui-list.editor.html": () => import("./ui-list.editor-DhBZIkAa.js").then((e) => e.default),
|
|
469
|
+
"../components/ui-loader/ui-loader.editor.html": () => import("./ui-loader.editor-BJlvmP7S.js").then((e) => e.default),
|
|
470
|
+
"../components/ui-markdown/ui-markdown.editor.html": () => import("./ui-markdown.editor-DPVKyxXa.js").then((e) => e.default),
|
|
471
|
+
"../components/ui-menu/ui-menu.editor.html": () => import("./ui-menu.editor-DJ3PhWtK.js").then((e) => e.default),
|
|
472
|
+
"../components/ui-menu/ui-submenu.editor.html": () => import("./ui-submenu.editor-NdjS0em-.js").then((e) => e.default),
|
|
473
|
+
"../components/ui-message/ui-message.editor.html": () => import("./ui-message.editor-vfT0pyu5.js").then((e) => e.default),
|
|
474
|
+
"../components/ui-modal/ui-modal.editor.html": () => import("./ui-modal.editor-CkkJRgab.js").then((e) => e.default),
|
|
475
|
+
"../components/ui-nag/ui-nag.editor.html": () => import("./ui-nag.editor-BJ3Ia2Bi.js").then((e) => e.default),
|
|
476
|
+
"../components/ui-page/ui-page.editor.html": () => import("./ui-page.editor-Bd5mzlj7.js").then((e) => e.default),
|
|
477
|
+
"../components/ui-page-layout/ui-page-layout.editor.html": () => import("./ui-page-layout.editor-xtQW0FZk.js").then((e) => e.default),
|
|
478
|
+
"../components/ui-panel/ui-panel.editor.html": () => import("./ui-panel.editor-BCUkdr4S.js").then((e) => e.default),
|
|
479
|
+
"../components/ui-parts/ui-actions.editor.html": () => import("./ui-actions.editor-Buc3N2ik.js").then((e) => e.default),
|
|
480
|
+
"../components/ui-parts/ui-author.editor.html": () => import("./ui-author.editor-Bmf-rEXY.js").then((e) => e.default),
|
|
481
|
+
"../components/ui-parts/ui-avatar.editor.html": () => import("./ui-avatar.editor-CSU6snQz.js").then((e) => e.default),
|
|
482
|
+
"../components/ui-parts/ui-content.editor.html": () => import("./ui-content.editor-B78lxK3P.js").then((e) => e.default),
|
|
483
|
+
"../components/ui-parts/ui-date.editor.html": () => import("./ui-date.editor-PHEnU7QX.js").then((e) => e.default),
|
|
484
|
+
"../components/ui-parts/ui-description.editor.html": () => import("./ui-description.editor-DWFDJ9mV.js").then((e) => e.default),
|
|
485
|
+
"../components/ui-parts/ui-detail.editor.html": () => import("./ui-detail.editor-wliuVbx3.js").then((e) => e.default),
|
|
486
|
+
"../components/ui-parts/ui-extra.editor.html": () => import("./ui-extra.editor-rX6sfH2e.js").then((e) => e.default),
|
|
487
|
+
"../components/ui-parts/ui-header.editor.html": () => import("./ui-header.editor-meOjCASK.js").then((e) => e.default),
|
|
488
|
+
"../components/ui-parts/ui-meta.editor.html": () => import("./ui-meta.editor-Bk5m43-E.js").then((e) => e.default),
|
|
489
|
+
"../components/ui-parts/ui-summary.editor.html": () => import("./ui-summary.editor-CCHS1mVz.js").then((e) => e.default),
|
|
490
|
+
"../components/ui-parts/ui-title.editor.html": () => import("./ui-title.editor-40PZSOpn.js").then((e) => e.default),
|
|
491
|
+
"../components/ui-parts/ui-value.editor.html": () => import("./ui-value.editor-CYak24cr.js").then((e) => e.default),
|
|
492
|
+
"../components/ui-placeholder/ui-placeholder-header.editor.html": () => import("./ui-placeholder-header.editor-CJNO08Ax.js").then((e) => e.default),
|
|
493
|
+
"../components/ui-placeholder/ui-placeholder-image.editor.html": () => import("./ui-placeholder-image.editor-DctJiCNv.js").then((e) => e.default),
|
|
494
|
+
"../components/ui-placeholder/ui-placeholder-line.editor.html": () => import("./ui-placeholder-line.editor-DcxH7mOo.js").then((e) => e.default),
|
|
495
|
+
"../components/ui-placeholder/ui-placeholder-paragraph.editor.html": () => import("./ui-placeholder-paragraph.editor-C4rww_tp.js").then((e) => e.default),
|
|
496
|
+
"../components/ui-placeholder/ui-placeholder.editor.html": () => import("./ui-placeholder.editor-Bc0CYlZZ.js").then((e) => e.default),
|
|
497
|
+
"../components/ui-popup/ui-popup.editor.html": () => import("./ui-popup.editor-ByUi4CYs.js").then((e) => e.default),
|
|
498
|
+
"../components/ui-progress/ui-progress.editor.html": () => import("./ui-progress.editor-DX0IjhxZ.js").then((e) => e.default),
|
|
499
|
+
"../components/ui-property-editor/ui-property-editor.editor.html": () => import("./ui-property-editor.editor-pS6tCPPT.js").then((e) => e.default),
|
|
500
|
+
"../components/ui-property-editor/ui-property-group.editor.html": () => import("./ui-property-group.editor-BlpUMVlr.js").then((e) => e.default),
|
|
501
|
+
"../components/ui-property-editor/ui-property.editor.html": () => import("./ui-property.editor-BC-jtjjt.js").then((e) => e.default),
|
|
502
|
+
"../components/ui-quote/ui-quote.editor.html": () => import("./ui-quote.editor-BvmAjmo9.js").then((e) => e.default),
|
|
503
|
+
"../components/ui-rail/ui-rail.editor.html": () => import("./ui-rail.editor-DRfVH4P2.js").then((e) => e.default),
|
|
504
|
+
"../components/ui-rating/ui-rating.editor.html": () => import("./ui-rating.editor-C19syymj.js").then((e) => e.default),
|
|
505
|
+
"../components/ui-reveal/ui-reveal.editor.html": () => import("./ui-reveal.editor-D7pDOaen.js").then((e) => e.default),
|
|
506
|
+
"../components/ui-root/ui-root.editor.html": () => import("./ui-root.editor-CAokPDVa.js").then((e) => e.default),
|
|
507
|
+
"../components/ui-search/ui-search.editor.html": () => import("./ui-search.editor-CtzfYgNu.js").then((e) => e.default),
|
|
508
|
+
"../components/ui-section/ui-section.editor.html": () => import("./ui-section.editor-DmNICxCs.js").then((e) => e.default),
|
|
509
|
+
"../components/ui-section/ui-sections.editor.html": () => import("./ui-sections.editor-BxXECGv9.js").then((e) => e.default),
|
|
510
|
+
"../components/ui-segment/ui-segment.editor.html": () => import("./ui-segment.editor-CebyLPFn.js").then((e) => e.default),
|
|
511
|
+
"../components/ui-segment/ui-segments.editor.html": () => import("./ui-segments.editor-CSumzMa5.js").then((e) => e.default),
|
|
512
|
+
"../components/ui-select/ui-select.editor.html": () => import("./ui-select.editor-wAcZzvU7.js").then((e) => e.default),
|
|
513
|
+
"../components/ui-shape/ui-shape.editor.html": () => import("./ui-shape.editor-By9-8aD2.js").then((e) => e.default),
|
|
514
|
+
"../components/ui-shape/ui-side.editor.html": () => import("./ui-side.editor-CFSqGHGH.js").then((e) => e.default),
|
|
515
|
+
"../components/ui-sidebar/ui-pushable.editor.html": () => import("./ui-pushable.editor-8_EmUD9x.js").then((e) => e.default),
|
|
516
|
+
"../components/ui-sidebar/ui-pusher.editor.html": () => import("./ui-pusher.editor-CiCX6-1J.js").then((e) => e.default),
|
|
517
|
+
"../components/ui-sidebar/ui-sidebar.editor.html": () => import("./ui-sidebar.editor-DWFPQcXv.js").then((e) => e.default),
|
|
518
|
+
"../components/ui-sides/ui-sides.editor.html": () => import("./ui-sides.editor-CONIJ1r3.js").then((e) => e.default),
|
|
519
|
+
"../components/ui-site-breadcrumbs/ui-site-breadcrumbs.editor.html": () => import("./ui-site-breadcrumbs.editor-Dmc4qziE.js").then((e) => e.default),
|
|
520
|
+
"../components/ui-site-nav/ui-site-nav.editor.html": () => import("./ui-site-nav.editor-CKEsOGCX.js").then((e) => e.default),
|
|
521
|
+
"../components/ui-site-nav-button/ui-site-nav-button.editor.html": () => import("./ui-site-nav-button.editor-6J-zJLtZ.js").then((e) => e.default),
|
|
522
|
+
"../components/ui-site-tabs/ui-site-tabs.editor.html": () => import("./ui-site-tabs.editor-DDvQfH6S.js").then((e) => e.default),
|
|
523
|
+
"../components/ui-slider/ui-slider.editor.html": () => import("./ui-slider.editor-BEaasx5Q.js").then((e) => e.default),
|
|
524
|
+
"../components/ui-space/ui-space.editor.html": () => import("./ui-space.editor-s-XVWFBN.js").then((e) => e.default),
|
|
525
|
+
"../components/ui-split-panel/ui-split-panel.editor.html": () => import("./ui-split-panel.editor-Cvy5W7nk.js").then((e) => e.default),
|
|
526
|
+
"../components/ui-stack/ui-stack.editor.html": () => import("./ui-stack.editor-D69Fky6H.js").then((e) => e.default),
|
|
527
|
+
"../components/ui-statistic/ui-statistic.editor.html": () => import("./ui-statistic.editor-CBzYqbQ5.js").then((e) => e.default),
|
|
528
|
+
"../components/ui-statistic/ui-statistics.editor.html": () => import("./ui-statistics.editor-fzh3uk_b.js").then((e) => e.default),
|
|
529
|
+
"../components/ui-step/ui-step.editor.html": () => import("./ui-step.editor-CYmNXrk_.js").then((e) => e.default),
|
|
530
|
+
"../components/ui-step/ui-steps.editor.html": () => import("./ui-steps.editor-BkMIrUrj.js").then((e) => e.default),
|
|
531
|
+
"../components/ui-sticky/ui-sticky.editor.html": () => import("./ui-sticky.editor-D7R1AlJv.js").then((e) => e.default),
|
|
532
|
+
"../components/ui-tab/ui-tab.editor.html": () => import("./ui-tab.editor-DCS-gCZV.js").then((e) => e.default),
|
|
533
|
+
"../components/ui-tab/ui-tabs.editor.html": () => import("./ui-tabs.editor-waeMoFNM.js").then((e) => e.default),
|
|
534
|
+
"../components/ui-table/ui-cell.editor.html": () => import("./ui-cell.editor-Dmz_mwJ0.js").then((e) => e.default),
|
|
535
|
+
"../components/ui-table/ui-table.editor.html": () => import("./ui-table.editor-DJvfg9oG.js").then((e) => e.default),
|
|
536
|
+
"../components/ui-terms/ui-term.editor.html": () => import("./ui-term.editor-BMCF3jBM.js").then((e) => e.default),
|
|
537
|
+
"../components/ui-terms/ui-terms.editor.html": () => import("./ui-terms.editor-BLfVVsjI.js").then((e) => e.default),
|
|
538
|
+
"../components/ui-text/ui-link.editor.html": () => import("./ui-link.editor-CpI53scP.js").then((e) => e.default),
|
|
539
|
+
"../components/ui-text/ui-text.editor.html": () => import("./ui-text.editor-B6AENK13.js").then((e) => e.default),
|
|
540
|
+
"../components/ui-theme-editor/ui-color-chip.editor.html": () => import("./ui-color-chip.editor-B3zV8FkB.js").then((e) => e.default),
|
|
541
|
+
"../components/ui-theme-editor/ui-theme-editor.editor.html": () => import("./ui-theme-editor.editor-CQGAgy-Q.js").then((e) => e.default),
|
|
542
|
+
"../components/ui-theme-editor/ui-theme-token.editor.html": () => import("./ui-theme-token.editor-C2YAdEye.js").then((e) => e.default),
|
|
543
|
+
"../components/ui-theme-menu/ui-theme-menu.editor.html": () => import("./ui-theme-menu.editor-DNeI-hxN.js").then((e) => e.default),
|
|
544
|
+
"../components/ui-toast/ui-toast.editor.html": () => import("./ui-toast.editor-BDmIUsU_.js").then((e) => e.default),
|
|
545
|
+
"../components/ui-toc/ui-toc.editor.html": () => import("./ui-toc.editor-D_S1KFY_.js").then((e) => e.default),
|
|
546
|
+
"../components/ui-toolbar/ui-toolbar.editor.html": () => import("./ui-toolbar.editor-CNQ8nJmR.js").then((e) => e.default),
|
|
547
|
+
"../components/ui-transition/ui-transition.editor.html": () => import("./ui-transition.editor-8SQkDkZ6.js").then((e) => e.default),
|
|
548
|
+
"../components/ui-tree/ui-tree-item.editor.html": () => import("./ui-tree-item.editor-C4fuAlbJ.js").then((e) => e.default),
|
|
549
|
+
"../components/ui-tree/ui-tree.editor.html": () => import("./ui-tree.editor-BoQztwdz.js").then((e) => e.default),
|
|
550
|
+
"../components/ui-tree-diagram/ui-tree-diagram.editor.html": () => import("./ui-tree-diagram.editor-DkEK8i7J.js").then((e) => e.default),
|
|
551
|
+
"../components/ui-tree-diagram/ui-tree-node.editor.html": () => import("./ui-tree-node.editor-CB1z_w9F.js").then((e) => e.default),
|
|
552
|
+
"../components/ui-video/ui-audio.editor.html": () => import("./ui-audio.editor-Y6WeqLRh.js").then((e) => e.default),
|
|
553
|
+
"../components/ui-video/ui-video.editor.html": () => import("./ui-video.editor-CuWtFVjR.js").then((e) => e.default),
|
|
554
|
+
"../components/ui-visibility/ui-visibility.editor.html": () => import("./ui-visibility.editor-Crx0DTlv.js").then((e) => e.default),
|
|
555
|
+
"../components/ui-zoom/ui-zoom.editor.html": () => import("./ui-zoom.editor-DZ3HsWV4.js").then((e) => e.default)
|
|
556
|
+
})).map(([e, t]) => [e.replace(/^.*\//, "").replace(Ge, ""), t]));
|
|
557
|
+
} catch {
|
|
558
|
+
return {};
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
static lines(e, t) {
|
|
562
|
+
let n = Ke.repeat(t);
|
|
563
|
+
if (!e.children.length) return [`${n}${e.outerHTML}`];
|
|
564
|
+
let r = e.cloneNode(!1).outerHTML, i = `</${e.localName}>`, a = [...e.children].flatMap((e) => PropertyLayouts.lines(e, t + 1));
|
|
565
|
+
return [
|
|
566
|
+
`${n}${r.slice(0, -i.length)}`,
|
|
567
|
+
...a,
|
|
568
|
+
`${n}${i}`
|
|
569
|
+
];
|
|
570
|
+
}
|
|
571
|
+
}, Ie = "ui-property-editor", Le = "ui-property-group", Re = "ui-property", ze = "ui-fields", Be = "data-group", Ve = "data-omit", I = { inverted: "color" }, He = "appearance", Ue = [
|
|
572
|
+
"name",
|
|
573
|
+
"content",
|
|
574
|
+
"appearance",
|
|
575
|
+
"layout",
|
|
576
|
+
"states",
|
|
577
|
+
"form",
|
|
578
|
+
"link",
|
|
579
|
+
"behaviour",
|
|
580
|
+
"advanced"
|
|
581
|
+
], We = {
|
|
582
|
+
name: "Name",
|
|
583
|
+
content: "Content",
|
|
584
|
+
appearance: "Appearance",
|
|
585
|
+
layout: "Layout",
|
|
586
|
+
states: "States",
|
|
587
|
+
form: "Form",
|
|
588
|
+
link: "Link",
|
|
589
|
+
behaviour: "Behaviour",
|
|
590
|
+
advanced: "Advanced"
|
|
591
|
+
}, Ge = ".editor.html", HEADER = (e) => `<!-- <${e}>'s property editor layout: move, pair (<ui-fields>) or leave out (data-omit) its properties. How: Spell UI's AGENTS.md, "Property editor layouts". -->`, Ke = " ";
|
|
592
|
+
// src/components/ui-property-editor/UIPropertyEditor.types.ts
|
|
297
593
|
function passThrough(e, t, n = []) {
|
|
298
594
|
let r = /* @__PURE__ */ new Set([...e.map(nameOf), ...n]), i = [...e];
|
|
299
595
|
for (let e of t) for (let t of e) r.has(nameOf(t)) || (r.add(nameOf(t)), i.push(t));
|
|
@@ -302,12 +598,13 @@ function passThrough(e, t, n = []) {
|
|
|
302
598
|
function nameOf(e) {
|
|
303
599
|
return e.name ?? e.key ?? "";
|
|
304
600
|
}
|
|
305
|
-
var
|
|
601
|
+
var qe = "ui-property-editor", Je = "ui-property-group", Ye = "ui-property", Xe = ":state(property-editor)", L = ":state(property-group)", Ze = ":state(property)", R = "data-ui-made", z = {
|
|
306
602
|
schema: "",
|
|
307
603
|
source: "source"
|
|
308
|
-
},
|
|
309
|
-
...
|
|
604
|
+
}, Qe = "data-value-from", $e = {
|
|
605
|
+
...S,
|
|
310
606
|
tag: "ui-property",
|
|
607
|
+
partOfSpeech: "action",
|
|
311
608
|
icon: "sliders horizontal",
|
|
312
609
|
topics: ["forms", "inputs"],
|
|
313
610
|
aka: [
|
|
@@ -342,7 +639,7 @@ var Ie = "ui-property-editor", Le = "ui-property-group", Re = "ui-property", ze
|
|
|
342
639
|
kind: "string",
|
|
343
640
|
description: "Where its choices come from, when not the schema's: a source the page added (`UI.propertyControls.addChoices()`), or a list, `a, b, c`."
|
|
344
641
|
}
|
|
345
|
-
], [
|
|
642
|
+
], [S.attributes]),
|
|
346
643
|
events: [
|
|
347
644
|
{
|
|
348
645
|
name: "ui-changed",
|
|
@@ -363,11 +660,11 @@ var Ie = "ui-property-editor", Le = "ui-property-group", Re = "ui-property", ze
|
|
|
363
660
|
parts: passThrough([{
|
|
364
661
|
name: "origin",
|
|
365
662
|
description: "The small button its value's origin offers."
|
|
366
|
-
}], [
|
|
663
|
+
}], [S.parts]),
|
|
367
664
|
slots: passThrough([{
|
|
368
665
|
name: "",
|
|
369
666
|
description: "Your own control, instead of the one it makes; or nothing."
|
|
370
|
-
}], [
|
|
667
|
+
}], [S.slots]),
|
|
371
668
|
states: passThrough([
|
|
372
669
|
{
|
|
373
670
|
name: "changed",
|
|
@@ -389,13 +686,17 @@ var Ie = "ui-property-editor", Le = "ui-property-group", Re = "ui-property", ze
|
|
|
389
686
|
name: "half",
|
|
390
687
|
description: "Half a row on its editor's grid: its kind's width (a number, a select), or its `width`."
|
|
391
688
|
},
|
|
689
|
+
{
|
|
690
|
+
name: "in-row",
|
|
691
|
+
description: "One of a row's properties (a `<ui-fields>` around it): side by side, each the same share."
|
|
692
|
+
},
|
|
392
693
|
{
|
|
393
694
|
name: "inline-check",
|
|
394
695
|
description: "A yes or no in a compact editor: the box, then its label, on one line."
|
|
395
696
|
},
|
|
396
697
|
{
|
|
397
698
|
name: "here",
|
|
398
|
-
description: "Its value is set on this thing (its editor's `origins`)
|
|
699
|
+
description: "Its value is set on this thing (its editor's `origins`); draws nothing of its own."
|
|
399
700
|
},
|
|
400
701
|
{
|
|
401
702
|
name: "inherited",
|
|
@@ -417,7 +718,7 @@ var Ie = "ui-property-editor", Le = "ui-property-group", Re = "ui-property", ze
|
|
|
417
718
|
name: "flag",
|
|
418
719
|
description: "It's in a run another property heads: hidden, its pill in that one's select."
|
|
419
720
|
}
|
|
420
|
-
], [
|
|
721
|
+
], [S.states]),
|
|
421
722
|
texts: passThrough([
|
|
422
723
|
{
|
|
423
724
|
key: "reset",
|
|
@@ -434,10 +735,10 @@ var Ie = "ui-property-editor", Le = "ui-property-group", Re = "ui-property", ze
|
|
|
434
735
|
text: "Options",
|
|
435
736
|
description: "The label of a run of yes-or-no properties drawn as one select of pills."
|
|
436
737
|
}
|
|
437
|
-
], [
|
|
438
|
-
},
|
|
738
|
+
], [S.texts])
|
|
739
|
+
}, et = "@layer ui.components.property.content{:host(:state(buttons)) .field>.control{align-items:center;gap:var(--ui-space-xs) round(1.25em, var(--ui-grid,4px));flex-wrap:wrap;display:flex}.field{width:var(--_property-editor-field-width,var(--_field-width,var(--_ui-fields-child-width,auto)));grid-column:1/-1}:host(:state(half)) .field{grid-column:span 1}:host(:state(in-row)) .field{flex:1 1 0;min-width:0}.field>.note{white-space:pre-line}@container ui-form (width<18em){:host(:state(half)) .field{grid-column:1/-1}}}@layer ui.components.property.states{:host(:state(inline-check)) .inline.field:has(>.row){column-gap:var(--ui-space-xs);flex-wrap:nowrap}:host(:state(inline-check)) .inline.field>.control{--ui-checkbox-label-distance:0;--ui-checkbox-toggle-width:2.5em;--ui-checkbox-toggle-handle:1.25em;--ui-checkbox-focus-width:2px;flex:none;order:-1}:host(:state(inline-check)) .inline.field>.row>.label{cursor:var(--ui-control-cursor)}:host(:state(inline-check)) .inline.field>.row{flex:auto;min-width:0}:host(:state(inline-check)) .inline.field>.row>.label{margin-inline-end:auto}:host(:state(compact)) .field>.row>.info{opacity:0;width:12px;height:12px}:host(:state(compact):is(:hover,:focus-within)) .field>.row>.info{opacity:.4}:host(:state(compact)) .field>.row>.info:is(:hover,:focus-visible){opacity:1}:host(:state(set):state(show-defaults)) .field{--_ui-input-owner-weight:var(--ui-font-weight-bold,700)}:host(:state(inherited)) .field>.row>.label{color:var(--ui-text-muted);font-weight:var(--ui-font-weight-normal,400)}.field>.row>.origin{color:var(--ui-text-muted);cursor:var(--ui-control-cursor);background:0 0;border:0;flex:none;align-items:center;margin-inline-start:auto;padding:0 .15em;font-size:.85em;line-height:1;display:inline-flex}.field>.row>.origin>svg{width:1em;height:1em;display:block}.field>.row>.origin:hover{color:var(--ui-text)}:host(:state(data)) .field>.row>.label:before{content:\"\";vertical-align:.12em;background:var(--ui-warning,currentColor);width:.45em;height:.45em;border-radius:.1em;margin-inline-end:round(.35em, var(--ui-grid,4px));display:inline-block}.field>.row:has(>.origin.mark)>.label{white-space:nowrap;flex-shrink:0}.field>.row>.origin.mark{text-overflow:ellipsis;white-space:nowrap;background:var(--ui-surface-muted);border-radius:.6em;flex:0 100 auto;min-width:0;max-width:60%;padding:.1em .4em;overflow:hidden}.field>.row>.origin.reset{opacity:0}:host(:hover) .field>.row>.origin.reset,.field>.row>.origin.reset:focus-visible{opacity:1}:host(:state(flag)),:host(:state(flags)) .field>.control>slot::slotted(:not([data-ui-made=flags])){display:none}}", tt = /* @__PURE__ */ N("<div>"), nt = /* @__PURE__ */ N("<span class=\"origin mark\">"), rt = /* @__PURE__ */ N("<button type=button class=\"origin mark\">"), it = /* @__PURE__ */ N("<button type=button class=origin>"), at, ot, B, st, ct, lt, ut, dt, ft, pt, mt, ht, gt, _t, vt, yt, bt, xt, St, Ct, wt, Tt, Et, Dt, Ot, kt, At, jt, Mt, Nt, Pt, Ft, It, Lt, Rt, zt, Bt, Vt, V, Ht, Ut, H, Wt, Gt, U = class _DOMPropertyElement extends (ot = le, at = [y], ot) {
|
|
439
740
|
constructor() {
|
|
440
|
-
super(...arguments),
|
|
741
|
+
super(...arguments), p(B, 5, this);
|
|
441
742
|
}
|
|
442
743
|
get schemaRules() {
|
|
443
744
|
return this.component?.schemaRules;
|
|
@@ -450,8 +751,8 @@ var Ie = "ui-property-editor", Le = "ui-property-group", Re = "ui-property", ze
|
|
|
450
751
|
this.component?.noteValueChanged();
|
|
451
752
|
}
|
|
452
753
|
};
|
|
453
|
-
|
|
454
|
-
var
|
|
754
|
+
B = n(ot), l(B, 2, "schemaRules", at, U), f(B, U), a(U, "DOMPropertyElement");
|
|
755
|
+
var Kt = U, qt = [
|
|
455
756
|
"value",
|
|
456
757
|
"selected",
|
|
457
758
|
"checked"
|
|
@@ -459,33 +760,33 @@ var At = W, jt = [
|
|
|
459
760
|
function isSameRun(e, t) {
|
|
460
761
|
return e === t || !!e && !!t && e.length === t.length && e.every((e, n) => e === t[n]);
|
|
461
762
|
}
|
|
462
|
-
|
|
463
|
-
var
|
|
763
|
+
a(isSameRun, "isSameRun");
|
|
764
|
+
var W = class _UIProperty extends (Vt = de, Bt = [g], zt = [se], Rt = [ie], Lt = [ie], It = [m("property")], Ft = [m("readonly")], Pt = [m("here")], Nt = [m("inherited")], Mt = [m("data")], jt = [m("changed"), v], At = [m("buttons")], kt = [v], Ot = [h("optionsText", "spec", "isReady")], Dt = [h("controlKind", "choices", "propertyName", "isReadOnly", "spec")], Et = [y], Tt = [y], wt = [m("compact")], Ct = [m("show-defaults")], St = [m("half")], xt = [h("unsetValue", { defer: !0 })], bt = [m("in-row")], yt = [m("inline-check")], vt = [v], _t = [y], gt = [ce({
|
|
464
765
|
childList: !0,
|
|
465
766
|
subtree: !0,
|
|
466
767
|
attributes: !0,
|
|
467
|
-
attributeFilter:
|
|
468
|
-
})],
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
],
|
|
768
|
+
attributeFilter: qt
|
|
769
|
+
})], ht = [
|
|
770
|
+
oe("ui-changed"),
|
|
771
|
+
oe("input"),
|
|
772
|
+
oe("change")
|
|
773
|
+
], mt = [m("set")], pt = [v({ equals: isSameRun })], ft = [m("flag"), v], dt = [m("flags")], ut = [y], lt = [h("flagRun")], ct = [h("chosenFlags", "flagRun")], st = [y], Vt) {
|
|
473
774
|
constructor() {
|
|
474
|
-
super(...arguments),
|
|
775
|
+
super(...arguments), p(V, 5, this), i(this, "originGlyph", new r({
|
|
475
776
|
owner: this,
|
|
476
|
-
name: /* @__PURE__ */
|
|
477
|
-
})),
|
|
478
|
-
|
|
479
|
-
let n = new Set(
|
|
777
|
+
name: /* @__PURE__ */ a(() => this.origin?.action ? Zt[this.origin.action].icon : void 0, "name")
|
|
778
|
+
})), _(this, Ht, p(V, 8, this, !1)), p(V, 11, this), _(this, Ut, p(V, 12, this)), p(V, 15, this), i(this, "labelledChoices"), _(this, H, p(V, 16, this, 0)), p(V, 19, this), _(this, Wt, p(V, 20, this)), p(V, 23, this), _(this, Gt, p(V, 24, this, !1)), p(V, 27, this), i(this, "flagsSelect"), i(this, "onFlagsPicked", p(V, 36, this, /* @__PURE__ */ a((t) => {
|
|
779
|
+
t.stopPropagation();
|
|
780
|
+
let n = new Set(e.list(t.detail?.value));
|
|
480
781
|
for (let e of this.flagRun ?? []) {
|
|
481
782
|
let t = e.madeCheckbox, r = n.has(e.propertyName);
|
|
482
|
-
t &&
|
|
783
|
+
t && x.isChosen(t) !== r && (t.checked = r, t.dispatchEvent(new CustomEvent("ui-changed", {
|
|
483
784
|
detail: { selected: r },
|
|
484
785
|
bubbles: !0,
|
|
485
786
|
composed: !0
|
|
486
787
|
})));
|
|
487
788
|
}
|
|
488
|
-
}, "onFlagsPicked"))),
|
|
789
|
+
}, "onFlagsPicked"))), p(V, 39, this);
|
|
489
790
|
}
|
|
490
791
|
get propertyName() {
|
|
491
792
|
return this.attributes.name ?? "";
|
|
@@ -496,27 +797,23 @@ var G = class _UIProperty extends (Dt = fe, Et = [oe], Tt = [se], wt = [h], Ct =
|
|
|
496
797
|
get optionsText() {
|
|
497
798
|
return this.attributes.options ?? void 0;
|
|
498
799
|
}
|
|
499
|
-
|
|
500
|
-
this.
|
|
501
|
-
let e = [Le, Ie].map((e) => `${e}[readonly]`);
|
|
502
|
-
return e.push(`${N}:state(readonly)`, `${ze}:state(readonly)`), this.isInReadonly = !!this.domElement.parentElement?.closest(e.join(", ")), () => {
|
|
503
|
-
this.editor = void 0;
|
|
504
|
-
};
|
|
800
|
+
get editor() {
|
|
801
|
+
return this.isConnected ? _UIProperty.editorAround(this.domElement) : void 0;
|
|
505
802
|
}
|
|
506
803
|
get unsavedText() {
|
|
507
|
-
return this.unsaved || this.editor?.unsaved || void 0;
|
|
804
|
+
if (!this.isReadOnly) return this.unsaved || this.origin?.unsaved || this.editor?.unsaved || void 0;
|
|
508
805
|
}
|
|
509
806
|
get spec() {
|
|
510
807
|
let e = this.editor?.currentSchema;
|
|
511
808
|
return e ? _UIProperty.specFor(e, this.propertyName) : void 0;
|
|
512
809
|
}
|
|
513
810
|
get labelText() {
|
|
514
|
-
return this.flagRun ? this.translationForKey(
|
|
811
|
+
return this.flagRun ? this.translationForKey(Qt) : this.ownLabel;
|
|
515
812
|
}
|
|
516
813
|
get ownLabel() {
|
|
517
814
|
if (this.label) return this.label;
|
|
518
815
|
let e = this.spec;
|
|
519
|
-
return e ?
|
|
816
|
+
return e ? P.labelOf(e) : this.propertyName && P.labelOf(vn(this.propertyName));
|
|
520
817
|
}
|
|
521
818
|
get descriptionText() {
|
|
522
819
|
if (!this.flagRun) return this.description ?? this.spec?.tip;
|
|
@@ -529,7 +826,7 @@ var G = class _UIProperty extends (Dt = fe, Et = [oe], Tt = [se], wt = [h], Ct =
|
|
|
529
826
|
}
|
|
530
827
|
get valueType() {
|
|
531
828
|
let e = this.spec;
|
|
532
|
-
return e ?
|
|
829
|
+
return e ? P.typeOf(e) : _n;
|
|
533
830
|
}
|
|
534
831
|
get schemaRules() {
|
|
535
832
|
let e = this.spec;
|
|
@@ -537,11 +834,16 @@ var G = class _UIProperty extends (Dt = fe, Et = [oe], Tt = [se], wt = [h], Ct =
|
|
|
537
834
|
let t = e.rules === void 0 ? [] : typeof e.rules == "string" ? [e.rules] : [...e.rules];
|
|
538
835
|
return e.pattern && t.push(`regExp[/${e.pattern}/]`), t.length ? t : void 0;
|
|
539
836
|
}
|
|
837
|
+
get isInReadonly() {
|
|
838
|
+
if (!this.isConnected) return !1;
|
|
839
|
+
let e = [Je, qe].map((e) => `${e}[readonly]`);
|
|
840
|
+
return e.push(`${L}:state(readonly)`, `${Xe}:state(readonly)`), !!this.domElement.parentElement?.closest(e.join(", "));
|
|
841
|
+
}
|
|
540
842
|
get isProperty() {
|
|
541
843
|
return !0;
|
|
542
844
|
}
|
|
543
845
|
get isReadOnly() {
|
|
544
|
-
return !!this.readonly || this.isInReadonly || this.origin?.kind ===
|
|
846
|
+
return !!this.readonly || this.isInReadonly || this.origin?.kind === Yt || !!this.origin?.readonly;
|
|
545
847
|
}
|
|
546
848
|
get origin() {
|
|
547
849
|
return this.editor?.currentOrigins?.[this.propertyName];
|
|
@@ -560,7 +862,7 @@ var G = class _UIProperty extends (Dt = fe, Et = [oe], Tt = [se], wt = [h], Ct =
|
|
|
560
862
|
}
|
|
561
863
|
rowEnd() {
|
|
562
864
|
let e = this;
|
|
563
|
-
return T
|
|
865
|
+
return D(T, {
|
|
564
866
|
get when() {
|
|
565
867
|
return !e.origin?.mark;
|
|
566
868
|
},
|
|
@@ -572,49 +874,66 @@ var G = class _UIProperty extends (Dt = fe, Et = [oe], Tt = [se], wt = [h], Ct =
|
|
|
572
874
|
}
|
|
573
875
|
});
|
|
574
876
|
}
|
|
877
|
+
controlEnd() {
|
|
878
|
+
let e = this;
|
|
879
|
+
return D(T, {
|
|
880
|
+
get when() {
|
|
881
|
+
return e.origin?.note;
|
|
882
|
+
},
|
|
883
|
+
children: (t) => (() => {
|
|
884
|
+
var n = tt();
|
|
885
|
+
return A(n, t), O(() => ({
|
|
886
|
+
e: j(Xt),
|
|
887
|
+
t: e.partForName("hint")
|
|
888
|
+
}), ({ e, t }, r) => {
|
|
889
|
+
E(n, e, r?.e), t !== r?.t && M(n, "part", t);
|
|
890
|
+
}), n;
|
|
891
|
+
})()
|
|
892
|
+
});
|
|
893
|
+
}
|
|
575
894
|
originMark() {
|
|
576
|
-
let
|
|
577
|
-
return T
|
|
895
|
+
let e = /* @__PURE__ */ a(() => this.origin?.action, "action"), t = this;
|
|
896
|
+
return D(T, {
|
|
578
897
|
get when() {
|
|
579
|
-
return
|
|
898
|
+
return e();
|
|
580
899
|
},
|
|
581
900
|
get fallback() {
|
|
582
|
-
var e =
|
|
583
|
-
return
|
|
584
|
-
e:
|
|
585
|
-
t:
|
|
901
|
+
var e = nt();
|
|
902
|
+
return A(e, () => t.origin?.mark), O(() => ({
|
|
903
|
+
e: t.partForName("origin"),
|
|
904
|
+
t: t.origin?.from
|
|
586
905
|
}), ({ e: t, t: n }, r) => {
|
|
587
|
-
t !== r?.e &&
|
|
906
|
+
t !== r?.e && M(e, "part", t), n !== r?.t && M(e, "title", n);
|
|
588
907
|
}), e;
|
|
589
908
|
},
|
|
590
909
|
children: (e) => (() => {
|
|
591
|
-
var
|
|
592
|
-
return
|
|
593
|
-
e:
|
|
594
|
-
t:
|
|
595
|
-
}), ({ e, t
|
|
596
|
-
e !== r?.e &&
|
|
597
|
-
}),
|
|
910
|
+
var n = rt();
|
|
911
|
+
return n._$$click = () => t.send(Zt[e()].event, { name: t.propertyName }), A(n, () => t.origin?.mark), O(() => ({
|
|
912
|
+
e: t.partForName("origin"),
|
|
913
|
+
t: t.origin?.from
|
|
914
|
+
}), ({ e, t }, r) => {
|
|
915
|
+
e !== r?.e && M(n, "part", e), t !== r?.t && M(n, "title", t);
|
|
916
|
+
}), n;
|
|
598
917
|
})()
|
|
599
918
|
});
|
|
600
919
|
}
|
|
601
920
|
originButton() {
|
|
602
|
-
let
|
|
603
|
-
return T
|
|
921
|
+
let e = this;
|
|
922
|
+
return D(T, {
|
|
604
923
|
get when() {
|
|
605
|
-
return
|
|
924
|
+
return e.origin?.action;
|
|
606
925
|
},
|
|
607
|
-
children: (
|
|
608
|
-
let
|
|
609
|
-
var
|
|
610
|
-
return
|
|
611
|
-
e:
|
|
612
|
-
t:
|
|
613
|
-
a:
|
|
614
|
-
o:
|
|
615
|
-
}), ({ e, t, a: n, o: r },
|
|
616
|
-
e !==
|
|
617
|
-
}),
|
|
926
|
+
children: (t) => {
|
|
927
|
+
let n = /* @__PURE__ */ a(() => Zt[t()], "chosen"), r = /* @__PURE__ */ a(() => e.translationForKey(n().text, { label: e.ownLabel ?? "" }), "words");
|
|
928
|
+
var i = it();
|
|
929
|
+
return i._$$click = () => e.send(n().event, { name: e.propertyName }), A(i, () => e.originGlyph.svg), O(() => ({
|
|
930
|
+
e: t() === "reset",
|
|
931
|
+
t: e.partForName("origin"),
|
|
932
|
+
a: r(),
|
|
933
|
+
o: r()
|
|
934
|
+
}), ({ e, t, a: n, o: r }, a) => {
|
|
935
|
+
e !== a?.e && i.classList.toggle("reset", e), t !== a?.t && M(i, "part", t), n !== a?.a && M(i, "title", n), r !== a?.o && M(i, "aria-label", r);
|
|
936
|
+
}), i;
|
|
618
937
|
}
|
|
619
938
|
});
|
|
620
939
|
}
|
|
@@ -622,23 +941,28 @@ var G = class _UIProperty extends (Dt = fe, Et = [oe], Tt = [se], wt = [h], Ct =
|
|
|
622
941
|
if (!this.isReady) return;
|
|
623
942
|
if (this.requestedKind) return this.requestedKind;
|
|
624
943
|
let e = this.choices;
|
|
625
|
-
|
|
944
|
+
if (this.valueType === sn && e?.length && e.length <= fn && e.every(_UIProperty.hasIcon)) return cn;
|
|
945
|
+
let t = c.propertyControls.kindFor(this.valueType);
|
|
946
|
+
return t === ln && this.isCompact ? un : t;
|
|
626
947
|
}
|
|
627
948
|
get control() {
|
|
628
949
|
let e = this.controlKind;
|
|
629
950
|
return e ? c.propertyControls.get(e) : void 0;
|
|
630
951
|
}
|
|
631
952
|
get isButtonRow() {
|
|
632
|
-
return this.control?.choices ===
|
|
953
|
+
return this.control?.choices === gn;
|
|
633
954
|
}
|
|
634
955
|
get choices() {
|
|
635
956
|
let e = this.optionsText;
|
|
636
|
-
if (e && e.includes(",")) return
|
|
957
|
+
if (e && e.includes(",")) return re(e);
|
|
637
958
|
if (e || this.spec?.choicesFrom) return this.loadedChoices;
|
|
638
959
|
let t = this.spec, n = t && u.setFor(t);
|
|
639
960
|
if (!n) return;
|
|
640
961
|
let r = u.iconsFor(t), i = t.valueLabels, a = u.get(n);
|
|
641
|
-
|
|
962
|
+
if (!r && !i) return a;
|
|
963
|
+
let o = this.labelledChoices;
|
|
964
|
+
if (o?.values === a && o.icons === r && o.labels === i) return o.choices;
|
|
965
|
+
let s = a.map((e) => {
|
|
642
966
|
let t = r?.[e], n = i?.[e] ?? e;
|
|
643
967
|
return t ? {
|
|
644
968
|
value: e,
|
|
@@ -649,9 +973,15 @@ var G = class _UIProperty extends (Dt = fe, Et = [oe], Tt = [se], wt = [h], Ct =
|
|
|
649
973
|
text: n
|
|
650
974
|
};
|
|
651
975
|
});
|
|
976
|
+
return this.labelledChoices = {
|
|
977
|
+
values: a,
|
|
978
|
+
icons: r,
|
|
979
|
+
labels: i,
|
|
980
|
+
choices: s
|
|
981
|
+
}, s;
|
|
652
982
|
}
|
|
653
983
|
get isHueChoice() {
|
|
654
|
-
return !!this.spec && u.setFor(this.spec) ===
|
|
984
|
+
return !!this.spec && u.setFor(this.spec) === pn;
|
|
655
985
|
}
|
|
656
986
|
onChoiceSourceChanged(e, t, n) {
|
|
657
987
|
let r = e && !e.includes(",") ? e : t?.choicesFrom;
|
|
@@ -659,7 +989,7 @@ var G = class _UIProperty extends (Dt = fe, Et = [oe], Tt = [se], wt = [h], Ct =
|
|
|
659
989
|
let i = !0;
|
|
660
990
|
return c.propertyControls.choices(r).then((e) => {
|
|
661
991
|
i && (this.loadedChoices = e ?? []);
|
|
662
|
-
}).catch((e) =>
|
|
992
|
+
}).catch((e) => d.warn("<ui-property>", `can't load the choices of \`${r}\`:`, e)), () => {
|
|
663
993
|
i = !1;
|
|
664
994
|
};
|
|
665
995
|
}
|
|
@@ -673,30 +1003,34 @@ var G = class _UIProperty extends (Dt = fe, Et = [oe], Tt = [se], wt = [h], Ct =
|
|
|
673
1003
|
makeControl(e) {
|
|
674
1004
|
let t = c.propertyControls.get(e);
|
|
675
1005
|
if (!t) {
|
|
676
|
-
|
|
1006
|
+
d.warn("<ui-property>", `no control kind \`${e}\`: add it with UI.propertyControls.add()`);
|
|
677
1007
|
return;
|
|
678
1008
|
}
|
|
679
1009
|
this.removeMadeControls();
|
|
680
1010
|
let n = t.choices === "radios" ? this.radios(t) : [this.controlElement(t)];
|
|
681
|
-
for (let e of n) e.setAttribute(
|
|
682
|
-
this.domElement.append(...n), this.noteValueChanged(),
|
|
1011
|
+
for (let e of n) e.setAttribute(R, "");
|
|
1012
|
+
this.domElement.append(...n), this.noteValueChanged(), Jt.arrangeSoon(this.domElement.parentElement);
|
|
683
1013
|
}
|
|
684
1014
|
controlElement(e) {
|
|
685
1015
|
let t = document.createElement(e.tag);
|
|
686
1016
|
for (let [n, r] of Object.entries(e.attributes ?? {})) t.setAttribute(n, r);
|
|
687
1017
|
t.setAttribute("name", this.propertyName);
|
|
688
1018
|
let n = this.spec;
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
let
|
|
693
|
-
a
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
1019
|
+
n?.min !== void 0 && t.setAttribute("min", String(n.min)), n?.max !== void 0 && t.setAttribute("max", String(n.max)), n?.step !== void 0 && t.setAttribute("step", String(n.step)), this.isReadOnly && (t.setAttribute("readonly", ""), e.attributes?.appearance === dn && (t.inert = !0));
|
|
1020
|
+
let r = this.unsetValue;
|
|
1021
|
+
if (r && t.setAttribute("placeholder", r), e.choices === "items") {
|
|
1022
|
+
let i = this.choices ?? [], a = e.attributes?.appearance === dn;
|
|
1023
|
+
n?.default !== void 0 || a || this.domElement.hasAttribute("mixed") || r || t.setAttribute("placeholder", this.translationForKey("none"));
|
|
1024
|
+
let o = a && i.length > 0 && i.every(_UIProperty.hasIcon);
|
|
1025
|
+
o && t.setAttribute("icon", "");
|
|
1026
|
+
let s = i.map((e) => _UIProperty.item(e, o));
|
|
1027
|
+
if (this.isHueChoice) {
|
|
1028
|
+
let e = _UIProperty.hueChips(s.map((e) => e.getAttribute("value")), this.domElement);
|
|
1029
|
+
s.forEach((t, n) => t.setAttribute("image", e[n]));
|
|
697
1030
|
}
|
|
1031
|
+
t.append(...s);
|
|
698
1032
|
}
|
|
699
|
-
return e.tag === "ui-property-editor" && t.setAttribute(
|
|
1033
|
+
return e.tag === "ui-property-editor" && t.setAttribute(Qe, this.propertyName), t;
|
|
700
1034
|
}
|
|
701
1035
|
radios(e) {
|
|
702
1036
|
return (this.choices ?? []).map((t) => {
|
|
@@ -705,7 +1039,7 @@ var G = class _UIProperty extends (Dt = fe, Et = [oe], Tt = [se], wt = [h], Ct =
|
|
|
705
1039
|
});
|
|
706
1040
|
}
|
|
707
1041
|
removeMadeControls() {
|
|
708
|
-
for (let e of [...this.domElement.children]) e.hasAttribute("data-ui-made") && e.getAttribute("data-ui-made") !==
|
|
1042
|
+
for (let e of [...this.domElement.children]) e.hasAttribute("data-ui-made") && e.getAttribute("data-ui-made") !== rn && e.remove();
|
|
709
1043
|
}
|
|
710
1044
|
get isCompact() {
|
|
711
1045
|
return !!this.editor?.isCompact;
|
|
@@ -714,9 +1048,19 @@ var G = class _UIProperty extends (Dt = fe, Et = [oe], Tt = [se], wt = [h], Ct =
|
|
|
714
1048
|
return !!this.editor?.showsDefaults;
|
|
715
1049
|
}
|
|
716
1050
|
get isHalf() {
|
|
717
|
-
if (this.flagRun) return !1;
|
|
1051
|
+
if (this.flagRun || this.isInRow) return !1;
|
|
718
1052
|
let e = this.attributes.width, t = e ? u.columns(e) : void 0;
|
|
719
|
-
return t === void 0 ? this.control?.width ===
|
|
1053
|
+
return t === void 0 ? this.control?.width === mn : t <= hn;
|
|
1054
|
+
}
|
|
1055
|
+
get unsetValue() {
|
|
1056
|
+
let e = (b.scopeAround(this.domElement)?.component)?.unsetValueOf?.(this.propertyName);
|
|
1057
|
+
return typeof e == "string" && e ? e : void 0;
|
|
1058
|
+
}
|
|
1059
|
+
onUnsetValueChanged(e) {
|
|
1060
|
+
if (e) for (let t of this.domElement.children) t.hasAttribute("data-ui-made") && !x.isCheckable(t) && t.setAttribute("placeholder", e);
|
|
1061
|
+
}
|
|
1062
|
+
get isInRow() {
|
|
1063
|
+
return this.isConnected && this.domElement.parentElement?.localName === on;
|
|
720
1064
|
}
|
|
721
1065
|
get isInlineCheck() {
|
|
722
1066
|
return this.isCompact && !!this.control?.inline && !this.flagRun;
|
|
@@ -739,11 +1083,11 @@ var G = class _UIProperty extends (Dt = fe, Et = [oe], Tt = [se], wt = [h], Ct =
|
|
|
739
1083
|
get isSet() {
|
|
740
1084
|
if (this.valueVersion, this.isMixed || this.isReadOnly) return !1;
|
|
741
1085
|
if (this.origin) return this.isSetHere;
|
|
742
|
-
let e = [...this.domElement.children].filter((e) => !e.slot && e.getAttribute("data-ui-made") !==
|
|
743
|
-
return _UIProperty.differs(
|
|
1086
|
+
let e = [...this.domElement.children].filter((e) => !e.slot && e.getAttribute("data-ui-made") !== rn && x.isControl(e));
|
|
1087
|
+
return _UIProperty.differs(x.valueFor(e), this.defaultValue);
|
|
744
1088
|
}
|
|
745
|
-
static differs(
|
|
746
|
-
return n === void 0 ? !
|
|
1089
|
+
static differs(t, n) {
|
|
1090
|
+
return n === void 0 ? !x.isBlank(t) && t !== $t : typeof n == "boolean" || n === "true" || n === "false" ? !x.isBlank(t) !== e.boolean(n) : (Array.isArray(t) ? t.join(",") : t == null ? "" : String(t)) !== String(n);
|
|
747
1091
|
}
|
|
748
1092
|
get isFlagLead() {
|
|
749
1093
|
return !!this.flagRun;
|
|
@@ -754,7 +1098,7 @@ var G = class _UIProperty extends (Dt = fe, Et = [oe], Tt = [se], wt = [h], Ct =
|
|
|
754
1098
|
get isChosen() {
|
|
755
1099
|
this.valueVersion;
|
|
756
1100
|
let e = this.madeCheckbox;
|
|
757
|
-
return !!e &&
|
|
1101
|
+
return !!e && x.isChosen(e);
|
|
758
1102
|
}
|
|
759
1103
|
get madeCheckbox() {
|
|
760
1104
|
return [...this.domElement.children].find((e) => e.getAttribute("data-ui-made") === "" && !e.slot);
|
|
@@ -764,8 +1108,8 @@ var G = class _UIProperty extends (Dt = fe, Et = [oe], Tt = [se], wt = [h], Ct =
|
|
|
764
1108
|
}
|
|
765
1109
|
onFlagRunChanged(e) {
|
|
766
1110
|
if (this.flagsSelect?.remove(), this.flagsSelect = void 0, !e) return;
|
|
767
|
-
let t = document.createElement(
|
|
768
|
-
t.setAttribute(
|
|
1111
|
+
let t = document.createElement(an);
|
|
1112
|
+
t.setAttribute(R, rn), t.setAttribute("multiple", ""), t.setAttribute("selection", ""), t.setAttribute("fluid", ""), t.setAttribute("aria-label", this.translationForKey(Qt));
|
|
769
1113
|
for (let n of e) {
|
|
770
1114
|
let e = _UIProperty.item({
|
|
771
1115
|
value: n.propertyName,
|
|
@@ -800,40 +1144,41 @@ var G = class _UIProperty extends (Dt = fe, Et = [oe], Tt = [se], wt = [h], Ct =
|
|
|
800
1144
|
let { value: n, text: r, icon: i, image: a } = _UIProperty.choiceParts(e), o = document.createElement("ui-item");
|
|
801
1145
|
return o.setAttribute("value", n), i && o.setAttribute("icon", i), a && o.setAttribute("image", a), t ? (o.setAttribute("title", r), o.setAttribute("aria-label", r)) : o.textContent = r, o;
|
|
802
1146
|
}
|
|
803
|
-
static
|
|
804
|
-
let n =
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
1147
|
+
static hueChips(e, t) {
|
|
1148
|
+
let n = e.map((e) => {
|
|
1149
|
+
let t = document.createElement("span");
|
|
1150
|
+
return t.style.color = `var(--ui-${e}, gray)`, t;
|
|
1151
|
+
});
|
|
1152
|
+
t.append(...n);
|
|
1153
|
+
let r = n.map((e) => getComputedStyle(e).color);
|
|
1154
|
+
for (let e of n) e.remove();
|
|
1155
|
+
return r.map((e) => {
|
|
1156
|
+
let t = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><circle cx="8" cy="8" r="8" fill="${e}"/></svg>`;
|
|
1157
|
+
return `data:image/svg+xml,${encodeURIComponent(t)}`;
|
|
1158
|
+
});
|
|
810
1159
|
}
|
|
811
1160
|
};
|
|
812
|
-
|
|
1161
|
+
V = n(Vt), Ht = /* @__PURE__ */ new WeakMap(), Ut = /* @__PURE__ */ new WeakMap(), H = /* @__PURE__ */ new WeakMap(), Wt = /* @__PURE__ */ new WeakMap(), Gt = /* @__PURE__ */ new WeakMap(), l(V, 2, "editor", Rt, W), l(V, 2, "isInReadonly", Lt, W), l(V, 2, "isProperty", It, W), l(V, 2, "isReadOnly", Ft, W), l(V, 2, "isSetHere", Pt, W), l(V, 2, "isInherited", Nt, W), l(V, 2, "isData", Mt, W), l(V, 4, "isChanged", jt, W, Ht), l(V, 2, "isButtonRow", At, W), l(V, 4, "loadedChoices", kt, W, Ut), l(V, 1, "onChoiceSourceChanged", Ot, W), l(V, 1, "onControlNeeded", Dt, W), l(V, 1, "makeControl", Et, W), l(V, 1, "removeMadeControls", Tt, W), l(V, 2, "isCompact", wt, W), l(V, 2, "showsDefaults", Ct, W), l(V, 2, "isHalf", St, W), l(V, 1, "onUnsetValueChanged", xt, W), l(V, 2, "isInRow", bt, W), l(V, 2, "isInlineCheck", yt, W), l(V, 4, "valueVersion", vt, W, H), l(V, 1, "noteValueChanged", _t, W), l(V, 1, "onControlsMutated", gt, W), l(V, 1, "onValueEdited", ht, W), l(V, 2, "isSet", mt, W), l(V, 4, "flagRun", pt, W, Wt), l(V, 4, "isFlagMember", ft, W, Gt), l(V, 2, "isFlagLead", dt, W), l(V, 2, "madeCheckbox", ut, W), l(V, 1, "onFlagRunChanged", lt, W), l(V, 1, "onChosenFlagsChanged", ct, W), l(V, 13, "vocabulary", Bt, W), l(V, 13, "elementSetup", zt, W), l(V, 5, "onFlagsPicked", st, W), f(V, W), a(W, "UIProperty"), i(W, "vocabulary", p(V, 28, W, $e)), p(V, 31, W), i(W, "elementSetup", p(V, 32, W, {
|
|
813
1162
|
styleSheets: {
|
|
814
|
-
...
|
|
815
|
-
property:
|
|
1163
|
+
...de.prototype.elementSetup.styleSheets,
|
|
1164
|
+
property: et
|
|
816
1165
|
},
|
|
817
|
-
DOMElement:
|
|
818
|
-
})),
|
|
819
|
-
var
|
|
1166
|
+
DOMElement: Kt
|
|
1167
|
+
})), p(V, 35, W);
|
|
1168
|
+
var G = W, Jt = class FlagRun {
|
|
820
1169
|
static {
|
|
821
|
-
|
|
1170
|
+
a(this, "FlagRun");
|
|
822
1171
|
}
|
|
823
1172
|
static arrangeSoon(e) {
|
|
824
|
-
e && !FlagRun.pending.has(e) && (FlagRun.pending.add(e),
|
|
1173
|
+
e && !FlagRun.pending.has(e) && (FlagRun.pending.add(e), te(() => {
|
|
825
1174
|
FlagRun.pending.delete(e), FlagRun.arrange(e);
|
|
826
1175
|
}));
|
|
827
1176
|
}
|
|
828
1177
|
static arrange(e) {
|
|
829
|
-
let t = e.getAttribute("flags"), n = t ===
|
|
1178
|
+
let t = e.getAttribute("flags"), n = e.localName === on ? Infinity : t === tn ? 1 : t === nn ? Infinity : en, r = [], i = [];
|
|
830
1179
|
for (let t of e.children) {
|
|
831
1180
|
let e = t.component;
|
|
832
|
-
|
|
833
|
-
i.push(e);
|
|
834
|
-
continue;
|
|
835
|
-
}
|
|
836
|
-
i.length && r.push(i), i = [];
|
|
1181
|
+
e instanceof G && e.canJoinFlags ? i.push(e) : (i.length && r.push(i), i = []);
|
|
837
1182
|
}
|
|
838
1183
|
i.length && r.push(i);
|
|
839
1184
|
let a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Set();
|
|
@@ -843,11 +1188,11 @@ var K = G, Mt = class FlagRun {
|
|
|
843
1188
|
}
|
|
844
1189
|
for (let t of e.children) {
|
|
845
1190
|
let e = t.component;
|
|
846
|
-
e instanceof
|
|
1191
|
+
e instanceof G && (e.flagRun = a.get(e), e.isFlagMember = o.has(e));
|
|
847
1192
|
}
|
|
848
1193
|
}
|
|
849
1194
|
static pending = /* @__PURE__ */ new WeakSet();
|
|
850
|
-
},
|
|
1195
|
+
}, Yt = "worked out", Xt = "hint note", Zt = {
|
|
851
1196
|
reset: {
|
|
852
1197
|
icon: "undo",
|
|
853
1198
|
text: "reset",
|
|
@@ -858,13 +1203,13 @@ var K = G, Mt = class FlagRun {
|
|
|
858
1203
|
text: "showCode",
|
|
859
1204
|
event: "ui-show-code"
|
|
860
1205
|
}
|
|
861
|
-
},
|
|
1206
|
+
}, Qt = "flags", $t = "false", en = 3, tn = "pills", nn = "checkboxes", rn = "flags", an = "ui-dropdown", on = "ui-fields", sn = "choice", cn = "buttons", ln = "checkbox", un = "toggle", dn = "segmented", fn = 4, pn = "hues", mn = "half", hn = 8, gn = "radios", _n = "text", vn = /* @__PURE__ */ a((e) => ({
|
|
862
1207
|
name: e,
|
|
863
1208
|
kind: "string",
|
|
864
1209
|
description: ""
|
|
865
1210
|
}), "NAMED");
|
|
866
1211
|
_e(["click"]);
|
|
867
|
-
var
|
|
1212
|
+
var yn = {
|
|
868
1213
|
tag: "ui-property-editor",
|
|
869
1214
|
icon: "sliders horizontal",
|
|
870
1215
|
topics: [
|
|
@@ -881,6 +1226,7 @@ var Qt = {
|
|
|
881
1226
|
],
|
|
882
1227
|
skeleton: "header, 3 line paragraph",
|
|
883
1228
|
noun: "form",
|
|
1229
|
+
partOfSpeech: "action",
|
|
884
1230
|
description: "A property editor draws a form from a schema: one field per property, in folding groups, for one thing or many.",
|
|
885
1231
|
attributes: passThrough([
|
|
886
1232
|
{
|
|
@@ -925,7 +1271,7 @@ var Qt = {
|
|
|
925
1271
|
name: "origins",
|
|
926
1272
|
kind: "json",
|
|
927
1273
|
reflect: !1,
|
|
928
|
-
description: "Where each property's value comes from, by name: `{ rank: { kind: 'inherited', from: 'From Card' } }`. `here` shows
|
|
1274
|
+
description: "Where each property's value comes from, by name: `{ rank: { kind: 'inherited', from: 'From Card' } }`. `here` shows its reset, `inherited` a quieter label, `worked out` is read only; `from` is the label's tooltip; `action` adds a small button (`reset`, `show code`); `data` is kept in a back-end, its `mark` a few words at the row's end; `readonly` makes it read only. A property it doesn't name looks as it always did."
|
|
929
1275
|
},
|
|
930
1276
|
{
|
|
931
1277
|
name: "writer",
|
|
@@ -941,7 +1287,7 @@ var Qt = {
|
|
|
941
1287
|
{
|
|
942
1288
|
name: "unsaved",
|
|
943
1289
|
kind: "string",
|
|
944
|
-
description: "Changes here can't be saved: each property shows a
|
|
1290
|
+
description: "Changes here can't be saved: each property shows a flask icon after its info icon, this text its tip (`<ui-field unsaved>`). The values still change as they're edited."
|
|
945
1291
|
},
|
|
946
1292
|
{
|
|
947
1293
|
name: "output",
|
|
@@ -953,7 +1299,7 @@ var Qt = {
|
|
|
953
1299
|
kind: "string",
|
|
954
1300
|
description: "An error under the title, and the `error` state."
|
|
955
1301
|
}
|
|
956
|
-
], [
|
|
1302
|
+
], [C.attributes, w.attributes], ["source", "selector"]),
|
|
957
1303
|
events: passThrough([
|
|
958
1304
|
{
|
|
959
1305
|
name: "ui-changed",
|
|
@@ -980,14 +1326,14 @@ var Qt = {
|
|
|
980
1326
|
detail: "{ source: string, content: string }",
|
|
981
1327
|
description: "It arrived (P6)."
|
|
982
1328
|
}
|
|
983
|
-
], [
|
|
1329
|
+
], [C.events, w.events], ["ui-loaded"]),
|
|
984
1330
|
slots: passThrough([{
|
|
985
1331
|
name: "",
|
|
986
1332
|
description: "`<ui-property-group>`s and `<ui-property>`s. Empty: one property per attribute."
|
|
987
1333
|
}, {
|
|
988
1334
|
name: "output",
|
|
989
1335
|
description: "Rich output (instead of `output`)."
|
|
990
|
-
}], [
|
|
1336
|
+
}], [w.slots]),
|
|
991
1337
|
parts: passThrough([
|
|
992
1338
|
{
|
|
993
1339
|
name: "editor",
|
|
@@ -1005,7 +1351,7 @@ var Qt = {
|
|
|
1005
1351
|
name: "error-line",
|
|
1006
1352
|
description: "The editor's own error, under its title."
|
|
1007
1353
|
}
|
|
1008
|
-
], [
|
|
1354
|
+
], [C.parts, w.parts]),
|
|
1009
1355
|
states: passThrough([
|
|
1010
1356
|
{
|
|
1011
1357
|
name: "readonly",
|
|
@@ -1023,7 +1369,7 @@ var Qt = {
|
|
|
1023
1369
|
name: "show-defaults",
|
|
1024
1370
|
description: "`show-defaults`."
|
|
1025
1371
|
}
|
|
1026
|
-
], [
|
|
1372
|
+
], [C.states, w.states]),
|
|
1027
1373
|
texts: passThrough([
|
|
1028
1374
|
{
|
|
1029
1375
|
key: "save",
|
|
@@ -1040,10 +1386,10 @@ var Qt = {
|
|
|
1040
1386
|
text: "Other",
|
|
1041
1387
|
description: "The group of properties a layout doesn't place (P6)."
|
|
1042
1388
|
}
|
|
1043
|
-
], [
|
|
1044
|
-
},
|
|
1389
|
+
], [C.texts, w.texts])
|
|
1390
|
+
}, bn = "@layer ui.components.property-editor.content{.footer{justify-content:flex-end;gap:var(--ui-space-xs);margin:var(--ui-space-m) 0 0;display:flex}.output{color:var(--ui-text-muted);font-family:var(--ui-font-family-mono);font-variant-numeric:tabular-nums;font-size:.92em}.error-line{margin:0 0 var(--ui-space-s);color:var(--ui-negative-text);font-size:.85714em}}@layer ui.components.property-editor.variations{:host(:state(grid)) .ui.form,:host(:state(grid)) .ui.form>ui-section::part(content){--_property-editor-field-width:auto;grid-template-columns:repeat(var(--_property-editor-columns,1), minmax(0, 1fr));column-gap:var(--_ui-property-editor-column-gap,var(--ui-form-gutter,1em));align-items:start;display:grid}:host(:state(grid)) .ui.form>:not(slot),:host(:state(grid)) :is(.output,.error-line,.footer){grid-column:1/-1}:host(:state(compact)) .ui.form{--_ui-property-editor-font-size:var(--ui-property-editor-font-size,13px);--_ui-property-editor-row-gap:var(--ui-property-editor-row-gap,8px);--_ui-property-editor-column-gap:var(--ui-property-editor-column-gap,12px);--_ui-property-editor-label-distance:var(--ui-property-editor-label-distance,4px);--_ui-form-row-distance:var(--_ui-property-editor-row-gap);--_ui-form-label-distance:var(--_ui-property-editor-label-distance);--_ui-form-label-font-size:1em;--_ui-form-label-font-weight:var(--ui-font-weight-normal,400);--ui-font-size:var(--_ui-property-editor-font-size);--ui-control-height:0px;--ui-button-padding-block:.3em;--ui-input-padding-block:.3em;--ui-input-padding-inline:round(.6em, var(--ui-grid,4px));--ui-select-padding-block:.3em;--ui-select-padding-inline:round(.6em, var(--ui-grid,4px));--ui-dropdown-padding-block:.3em;--ui-dropdown-padding-inline:round(.6em, var(--ui-grid,4px));--ui-menu-segmented-item-padding:.4em round(.6em, var(--ui-grid,4px));--ui-select-picker-max-height:100dvh;--ui-select-item-divider-color:transparent;font-size:var(--_ui-property-editor-font-size)}}", xn = /* @__PURE__ */ N("<div><!><!>"), Sn = /* @__PURE__ */ N("<slot>"), Cn = /* @__PURE__ */ N("<span><slot>"), wn = /* @__PURE__ */ N("<div role=alert>"), Tn, En, Dn, On, kn, An, jn, Mn, Nn, Pn, Fn, In, Ln, Rn, zn, Bn, K, Vn, DOMPropertyEditorElement = class extends ue {
|
|
1045
1391
|
static {
|
|
1046
|
-
|
|
1392
|
+
a(this, "DOMPropertyEditorElement");
|
|
1047
1393
|
}
|
|
1048
1394
|
get currentSchema() {
|
|
1049
1395
|
return this.component?.currentSchema;
|
|
@@ -1063,9 +1409,9 @@ var Qt = {
|
|
|
1063
1409
|
get currentOrigins() {
|
|
1064
1410
|
return this.component?.currentOrigins;
|
|
1065
1411
|
}
|
|
1066
|
-
},
|
|
1412
|
+
}, q = class _UIPropertyEditor extends (Bn = fe, zn = [g], Rn = [se], Ln = [v], In = [h("currentSchema", "isConnected")], Fn = [y], Pn = [ce({ childList: !0 })], Nn = [h("hasOwnProperties", { defer: !0 })], Mn = [y], jn = [h("sourceUrl", "sourceSelector", "isConnected")], An = [y], kn = [m("property-editor")], On = [m("readonly")], Dn = [m("compact")], En = [m("grid")], Tn = [m("show-defaults")], Bn) {
|
|
1067
1413
|
constructor() {
|
|
1068
|
-
super(...arguments),
|
|
1414
|
+
super(...arguments), p(K, 5, this), _(this, Vn, p(K, 8, this, 0)), p(K, 11, this), i(this, "schemaTagsAwaited", /* @__PURE__ */ new Set()), i(this, "slots", new s(this.domElement));
|
|
1069
1415
|
}
|
|
1070
1416
|
get schemaGiven() {
|
|
1071
1417
|
return o.attributeValue(this, "schema");
|
|
@@ -1078,22 +1424,50 @@ var Qt = {
|
|
|
1078
1424
|
let t = c.propertyControls.schema(e);
|
|
1079
1425
|
if (t) return t;
|
|
1080
1426
|
let n = c.vocabulary.get(e);
|
|
1081
|
-
return n || this.waitForSchemaTag(e), n ?
|
|
1427
|
+
return n || this.waitForSchemaTag(e), n ? P.fromVocabulary(n) : void 0;
|
|
1082
1428
|
}
|
|
1083
|
-
if (e && typeof e == "object" && "attributes" in e) return "tag" in e ?
|
|
1429
|
+
if (e && typeof e == "object" && "attributes" in e) return "tag" in e ? P.fromVocabulary(e) : e;
|
|
1084
1430
|
}
|
|
1085
1431
|
waitForSchemaTag(e) {
|
|
1086
1432
|
!this.schemaTagsAwaited.has(e) && e.includes("-") && typeof customElements < "u" && (this.schemaTagsAwaited.add(e), customElements.whenDefined(e).then(() => this.schemaTagsDefined++));
|
|
1087
1433
|
}
|
|
1088
1434
|
onSchemaChanged(e, t) {
|
|
1089
1435
|
if (!(!t || this.holdsOwnProperties || this.attributes.source)) {
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1436
|
+
if (e && F.tags.includes(e.name)) {
|
|
1437
|
+
let t = !0;
|
|
1438
|
+
return F.load(e.name).then((n) => {
|
|
1439
|
+
t && !this.holdsOwnProperties && this.makeProperties(e, n);
|
|
1440
|
+
}), () => {
|
|
1441
|
+
t = !1;
|
|
1442
|
+
};
|
|
1094
1443
|
}
|
|
1444
|
+
this.makeProperties(e, void 0);
|
|
1095
1445
|
}
|
|
1096
1446
|
}
|
|
1447
|
+
makeProperties(e, t) {
|
|
1448
|
+
this.removeMadeProperties(z.schema);
|
|
1449
|
+
let n = e?.attributes ?? [], r = /* @__PURE__ */ a((e, t) => {
|
|
1450
|
+
let n = document.createElement(e);
|
|
1451
|
+
return t && n.setAttribute("name", t), n.setAttribute(R, z.schema), n;
|
|
1452
|
+
}, "made");
|
|
1453
|
+
if (t) for (let e of F.place(t, n)) {
|
|
1454
|
+
let t = r(Je);
|
|
1455
|
+
t.setAttribute("label", e.label ?? F.labelOf(e.group));
|
|
1456
|
+
for (let n of e.rows) {
|
|
1457
|
+
let e = n.length > 1 ? r(Jn) : t;
|
|
1458
|
+
for (let t of n) e.append(r(Ye, t));
|
|
1459
|
+
e !== t && t.append(e);
|
|
1460
|
+
}
|
|
1461
|
+
this.domElement.append(t);
|
|
1462
|
+
}
|
|
1463
|
+
else for (let e of n) this.domElement.append(r(Ye, e.name));
|
|
1464
|
+
}
|
|
1465
|
+
get hasOwnProperties() {
|
|
1466
|
+
return this.holdsOwnProperties;
|
|
1467
|
+
}
|
|
1468
|
+
onOwnPropertiesChanged(e) {
|
|
1469
|
+
e && this.removeMadeProperties(z.schema);
|
|
1470
|
+
}
|
|
1097
1471
|
get holdsOwnProperties() {
|
|
1098
1472
|
return [...this.domElement.children].some((e) => !e.hasAttribute("data-ui-made") && !e.slot);
|
|
1099
1473
|
}
|
|
@@ -1118,34 +1492,34 @@ var Qt = {
|
|
|
1118
1492
|
return this.attributes.selector ?? this.attributes.select ?? void 0;
|
|
1119
1493
|
}
|
|
1120
1494
|
async loadLayout(e, t, n) {
|
|
1121
|
-
this.send(
|
|
1495
|
+
this.send(J.loading, { source: e });
|
|
1122
1496
|
try {
|
|
1123
1497
|
await c.load();
|
|
1124
1498
|
let { text: r } = await c.sources.load(e);
|
|
1125
1499
|
if (!n()) return;
|
|
1126
1500
|
let i = new DOMParser().parseFromString(r, "text/html"), a = t ? i.querySelector(t) : we.editorIn(i) ?? i.body;
|
|
1127
1501
|
if (!a) {
|
|
1128
|
-
|
|
1502
|
+
d.warn("<ui-property-editor>", `${e} has nothing matching \`${t}\``);
|
|
1129
1503
|
return;
|
|
1130
1504
|
}
|
|
1131
|
-
this.takeLayout(a, i), this.send(
|
|
1505
|
+
this.takeLayout(a, i), this.send(J.loaded, {
|
|
1132
1506
|
source: e,
|
|
1133
1507
|
content: r
|
|
1134
1508
|
});
|
|
1135
1509
|
} catch (t) {
|
|
1136
|
-
|
|
1510
|
+
d.warn("<ui-property-editor>", `can't load its layout from ${e}:`, t);
|
|
1137
1511
|
}
|
|
1138
1512
|
}
|
|
1139
1513
|
takeLayout(e, t) {
|
|
1140
|
-
if (this.removeMadeProperties(
|
|
1141
|
-
let e = this.domElement[
|
|
1514
|
+
if (this.removeMadeProperties(z.source), e.localName === this.domElement.localName) for (let { name: t, value: n } of e.attributes) {
|
|
1515
|
+
let e = this.domElement[ne(t)];
|
|
1142
1516
|
!this.domElement.hasAttribute(t) && e == null && this.domElement.setAttribute(t, n);
|
|
1143
1517
|
}
|
|
1144
1518
|
for (let t of e.children) {
|
|
1145
1519
|
let e = document.importNode(t, !0);
|
|
1146
|
-
e.setAttribute(
|
|
1520
|
+
e.setAttribute(R, z.source), this.domElement.append(e);
|
|
1147
1521
|
}
|
|
1148
|
-
for (let e of this.domElement.querySelectorAll(`${
|
|
1522
|
+
for (let e of this.domElement.querySelectorAll(`${L}:is([selector], [select])`)) {
|
|
1149
1523
|
if (e.children.length) continue;
|
|
1150
1524
|
let n = t.querySelector(e.getAttribute("selector") ?? e.getAttribute("select"));
|
|
1151
1525
|
for (let t of n?.children ?? []) e.append(document.importNode(t, !0));
|
|
@@ -1158,28 +1532,28 @@ var Qt = {
|
|
|
1158
1532
|
let e = this.value;
|
|
1159
1533
|
if (e !== void 0 || !this.valueFrom) return e;
|
|
1160
1534
|
let t = this.domElement.parentElement;
|
|
1161
|
-
return t ?
|
|
1535
|
+
return t ? b.read(b.scopeAround(t), this.valueFrom) : void 0;
|
|
1162
1536
|
}
|
|
1163
1537
|
get isBound() {
|
|
1164
|
-
return
|
|
1538
|
+
return b.isObject(this.boundValue);
|
|
1165
1539
|
}
|
|
1166
1540
|
onMount() {
|
|
1167
1541
|
let e = super.onMount();
|
|
1168
|
-
return
|
|
1542
|
+
return b.hold(this.domElement, () => this.boundValue), e;
|
|
1169
1543
|
}
|
|
1170
1544
|
get hasTitle() {
|
|
1171
|
-
return !!this.attributes.label || this.slots.hasContent(this.slotForName(
|
|
1545
|
+
return !!this.attributes.label || this.slots.hasContent(this.slotForName(J.label));
|
|
1172
1546
|
}
|
|
1173
1547
|
get sectionAttributes() {
|
|
1174
1548
|
let e = {};
|
|
1175
|
-
for (let t of
|
|
1549
|
+
for (let t of Un) {
|
|
1176
1550
|
let n = this.attributes[t];
|
|
1177
1551
|
n != null && (e[t] = n);
|
|
1178
1552
|
}
|
|
1179
1553
|
return e;
|
|
1180
1554
|
}
|
|
1181
1555
|
classValue(e) {
|
|
1182
|
-
if (!
|
|
1556
|
+
if (!Un.has(e)) return super.classValue(e);
|
|
1183
1557
|
}
|
|
1184
1558
|
get isPropertyEditor() {
|
|
1185
1559
|
return !0;
|
|
@@ -1188,7 +1562,7 @@ var Qt = {
|
|
|
1188
1562
|
return this.attributes.readonly != null && this.attributes.readonly !== "false";
|
|
1189
1563
|
}
|
|
1190
1564
|
get isCompact() {
|
|
1191
|
-
return
|
|
1565
|
+
return e.boolean(this.attributes.compact);
|
|
1192
1566
|
}
|
|
1193
1567
|
get columnCount() {
|
|
1194
1568
|
return _UIPropertyEditor.columnsFrom(this.attributes.columns) ?? (this.isCompact ? 2 : 1);
|
|
@@ -1197,7 +1571,7 @@ var Qt = {
|
|
|
1197
1571
|
return this.isCompact || this.columnCount > 1;
|
|
1198
1572
|
}
|
|
1199
1573
|
get showsDefaults() {
|
|
1200
|
-
return
|
|
1574
|
+
return e.boolean(this.attributes["show-defaults"]);
|
|
1201
1575
|
}
|
|
1202
1576
|
static columnsFrom(e) {
|
|
1203
1577
|
let t = Math.round(Number(e));
|
|
@@ -1205,8 +1579,8 @@ var Qt = {
|
|
|
1205
1579
|
}
|
|
1206
1580
|
render() {
|
|
1207
1581
|
let e = this;
|
|
1208
|
-
var t =
|
|
1209
|
-
return
|
|
1582
|
+
var t = xn(), n = t.firstChild, r = n.nextSibling;
|
|
1583
|
+
return A(t, D(T, {
|
|
1210
1584
|
get when() {
|
|
1211
1585
|
return e.hasTitle;
|
|
1212
1586
|
},
|
|
@@ -1214,15 +1588,15 @@ var Qt = {
|
|
|
1214
1588
|
return e.body();
|
|
1215
1589
|
},
|
|
1216
1590
|
get children() {
|
|
1217
|
-
return
|
|
1591
|
+
return D(ge, be({ component: Kn }, () => e.sectionAttributes, { get children() {
|
|
1218
1592
|
return [
|
|
1219
|
-
|
|
1593
|
+
D(he, {
|
|
1220
1594
|
get each() {
|
|
1221
1595
|
return e.forwardedSlots;
|
|
1222
1596
|
},
|
|
1223
1597
|
children: (e) => (() => {
|
|
1224
|
-
var t =
|
|
1225
|
-
return
|
|
1598
|
+
var t = Sn();
|
|
1599
|
+
return M(t, "name", e), M(t, "slot", e), t._$owner = k(), t;
|
|
1226
1600
|
})()
|
|
1227
1601
|
}),
|
|
1228
1602
|
ye(() => e.outputAndError()),
|
|
@@ -1230,23 +1604,23 @@ var Qt = {
|
|
|
1230
1604
|
];
|
|
1231
1605
|
} }));
|
|
1232
1606
|
}
|
|
1233
|
-
}), n),
|
|
1234
|
-
e:
|
|
1235
|
-
t: { [
|
|
1236
|
-
a: `${e.partForName(
|
|
1607
|
+
}), n), A(t, () => e.debugBox(), r), O(() => ({
|
|
1608
|
+
e: j(e.rootClass),
|
|
1609
|
+
t: { [Gn]: String(e.columnCount) },
|
|
1610
|
+
a: `${e.partForName(J.editor)} ${e.partForName(J.form)}`,
|
|
1237
1611
|
o: e.disabled || e.loading,
|
|
1238
1612
|
i: e.loading ? "true" : void 0
|
|
1239
1613
|
}), ({ e, t: n, a: r, o: i, i: a }, o) => {
|
|
1240
|
-
|
|
1614
|
+
E(t, e, o?.e), xe(t, n, o?.t), r !== o?.a && M(t, "part", r), i !== o?.o && M(t, "inert", i), a !== o?.i && M(t, "aria-busy", a);
|
|
1241
1615
|
}), t;
|
|
1242
1616
|
}
|
|
1243
1617
|
get forwardedSlots() {
|
|
1244
|
-
return
|
|
1618
|
+
return Wn.filter((e) => this.slots.hasContent(e));
|
|
1245
1619
|
}
|
|
1246
1620
|
body() {
|
|
1247
1621
|
let e = this;
|
|
1248
1622
|
return [
|
|
1249
|
-
T
|
|
1623
|
+
D(T, {
|
|
1250
1624
|
get when() {
|
|
1251
1625
|
return !e.hasTitle;
|
|
1252
1626
|
},
|
|
@@ -1255,33 +1629,33 @@ var Qt = {
|
|
|
1255
1629
|
}
|
|
1256
1630
|
}),
|
|
1257
1631
|
(() => {
|
|
1258
|
-
var e =
|
|
1259
|
-
return e._$owner =
|
|
1632
|
+
var e = Sn();
|
|
1633
|
+
return e._$owner = k(), e;
|
|
1260
1634
|
})(),
|
|
1261
|
-
T
|
|
1635
|
+
D(T, {
|
|
1262
1636
|
get when() {
|
|
1263
|
-
return e.apply ===
|
|
1637
|
+
return e.apply === Xn;
|
|
1264
1638
|
},
|
|
1265
1639
|
get children() {
|
|
1266
|
-
var t =
|
|
1267
|
-
return
|
|
1268
|
-
component:
|
|
1640
|
+
var t = xn(), n = t.firstChild, r = n.nextSibling;
|
|
1641
|
+
return A(t, D(ge, {
|
|
1642
|
+
component: qn,
|
|
1269
1643
|
color: "primary",
|
|
1270
1644
|
onClick: () => e.save(),
|
|
1271
1645
|
get children() {
|
|
1272
|
-
return e.translationForKey(
|
|
1646
|
+
return e.translationForKey(J.save);
|
|
1273
1647
|
}
|
|
1274
|
-
}), n),
|
|
1275
|
-
component:
|
|
1648
|
+
}), n), A(t, D(ge, {
|
|
1649
|
+
component: qn,
|
|
1276
1650
|
onClick: () => e.cancel(),
|
|
1277
1651
|
get children() {
|
|
1278
|
-
return e.translationForKey(
|
|
1652
|
+
return e.translationForKey(J.cancel);
|
|
1279
1653
|
}
|
|
1280
|
-
}), r),
|
|
1281
|
-
e:
|
|
1282
|
-
t: e.partForName(
|
|
1654
|
+
}), r), O(() => ({
|
|
1655
|
+
e: j(er),
|
|
1656
|
+
t: e.partForName(J.footer)
|
|
1283
1657
|
}), ({ e, t: n }, r) => {
|
|
1284
|
-
|
|
1658
|
+
E(t, e, r?.e), n !== r?.t && M(t, "part", n);
|
|
1285
1659
|
}), t;
|
|
1286
1660
|
}
|
|
1287
1661
|
})
|
|
@@ -1289,30 +1663,30 @@ var Qt = {
|
|
|
1289
1663
|
}
|
|
1290
1664
|
outputAndError() {
|
|
1291
1665
|
let e = this.attributes.output, t = this.attributes.error, n = this;
|
|
1292
|
-
return [T
|
|
1666
|
+
return [D(T, {
|
|
1293
1667
|
get when() {
|
|
1294
|
-
return e || n.slots.hasContent(n.slotForName(
|
|
1668
|
+
return e || n.slots.hasContent(n.slotForName(J.output));
|
|
1295
1669
|
},
|
|
1296
1670
|
get children() {
|
|
1297
|
-
var t =
|
|
1298
|
-
return r._$owner =
|
|
1299
|
-
e:
|
|
1300
|
-
t: n.partForName(
|
|
1301
|
-
a: n.hasTitle ?
|
|
1302
|
-
o: n.slotForName(
|
|
1671
|
+
var t = Cn(), r = t.firstChild;
|
|
1672
|
+
return r._$owner = k(), A(r, e), O(() => ({
|
|
1673
|
+
e: j(tr),
|
|
1674
|
+
t: n.partForName(J.output),
|
|
1675
|
+
a: n.hasTitle ? Yn : void 0,
|
|
1676
|
+
o: n.slotForName(J.output)
|
|
1303
1677
|
}), ({ e, t: n, a: i, o: a }, o) => {
|
|
1304
|
-
|
|
1678
|
+
E(t, e, o?.e), n !== o?.t && M(t, "part", n), i !== o?.a && M(t, "slot", i), a !== o?.o && M(r, "name", a);
|
|
1305
1679
|
}), t;
|
|
1306
1680
|
}
|
|
1307
|
-
}), T
|
|
1681
|
+
}), D(T, {
|
|
1308
1682
|
when: t,
|
|
1309
1683
|
get children() {
|
|
1310
|
-
var e =
|
|
1311
|
-
return
|
|
1312
|
-
e:
|
|
1313
|
-
t: n.partForName(
|
|
1684
|
+
var e = wn();
|
|
1685
|
+
return A(e, t), O(() => ({
|
|
1686
|
+
e: j(nr),
|
|
1687
|
+
t: n.partForName(J.errorLine)
|
|
1314
1688
|
}), ({ e: t, t: n }, r) => {
|
|
1315
|
-
|
|
1689
|
+
E(e, t, r?.e), n !== r?.t && M(e, "part", n);
|
|
1316
1690
|
}), e;
|
|
1317
1691
|
}
|
|
1318
1692
|
})];
|
|
@@ -1326,13 +1700,13 @@ var Qt = {
|
|
|
1326
1700
|
});
|
|
1327
1701
|
}
|
|
1328
1702
|
onWritten({ control: e, name: t, value: n, things: r }) {
|
|
1329
|
-
e.closest(
|
|
1703
|
+
e.closest(Ze)?.dispatchEvent(new CustomEvent(Zn, {
|
|
1330
1704
|
detail: {
|
|
1331
1705
|
name: t,
|
|
1332
1706
|
value: n
|
|
1333
1707
|
},
|
|
1334
1708
|
bubbles: !1
|
|
1335
|
-
})), this.send(
|
|
1709
|
+
})), this.send(J.change, {
|
|
1336
1710
|
name: t,
|
|
1337
1711
|
value: n,
|
|
1338
1712
|
things: r
|
|
@@ -1340,24 +1714,21 @@ var Qt = {
|
|
|
1340
1714
|
let i = this.currentSchema?.attributes.find((e) => e.name === t);
|
|
1341
1715
|
for (let e of i?.onChange ?? []) {
|
|
1342
1716
|
let t = c.propertyControls.rule(e);
|
|
1343
|
-
if (!t) {
|
|
1344
|
-
|
|
1345
|
-
continue;
|
|
1346
|
-
}
|
|
1347
|
-
try {
|
|
1717
|
+
if (!t) d.warn("<ui-property-editor>", `no rule \`${e}\`: add it with UI.propertyControls.addRule()`);
|
|
1718
|
+
else try {
|
|
1348
1719
|
t({
|
|
1349
1720
|
things: r,
|
|
1350
1721
|
property: i,
|
|
1351
1722
|
value: n
|
|
1352
1723
|
});
|
|
1353
1724
|
} catch (t) {
|
|
1354
|
-
|
|
1725
|
+
d.warn("<ui-property-editor>", `rule \`${e}\` failed:`, t);
|
|
1355
1726
|
}
|
|
1356
1727
|
}
|
|
1357
1728
|
}
|
|
1358
1729
|
onFieldChecked(e, t) {
|
|
1359
|
-
let n = e.controls[0]?.closest(
|
|
1360
|
-
n && (n.markFieldFailed?.(e.identifier, t.length > 0), t.length && n.dispatchEvent(new CustomEvent(
|
|
1730
|
+
let n = e.controls[0]?.closest(L);
|
|
1731
|
+
n && (n.markFieldFailed?.(e.identifier, t.length > 0), t.length && n.dispatchEvent(new CustomEvent(Qn, {
|
|
1361
1732
|
detail: {
|
|
1362
1733
|
field: e.identifier,
|
|
1363
1734
|
errors: t
|
|
@@ -1368,29 +1739,29 @@ var Qt = {
|
|
|
1368
1739
|
onHeldChanged() {
|
|
1369
1740
|
let e = new Set(this.heldControls), t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
|
|
1370
1741
|
for (let r of e) {
|
|
1371
|
-
let e = r.closest(
|
|
1742
|
+
let e = r.closest(Ze);
|
|
1372
1743
|
e && t.add(e);
|
|
1373
|
-
let i = r.closest(
|
|
1744
|
+
let i = r.closest(L);
|
|
1374
1745
|
i && n.add(i);
|
|
1375
1746
|
}
|
|
1376
|
-
for (let e of this.domElement.querySelectorAll(
|
|
1377
|
-
for (let e of this.domElement.querySelectorAll(
|
|
1747
|
+
for (let e of this.domElement.querySelectorAll(Ze)) e.markChanged?.(t.has(e));
|
|
1748
|
+
for (let e of this.domElement.querySelectorAll(L)) e.markChanged?.(n.has(e));
|
|
1378
1749
|
}
|
|
1379
1750
|
onSucceeded() {
|
|
1380
|
-
for (let e of this.domElement.querySelectorAll(
|
|
1751
|
+
for (let e of this.domElement.querySelectorAll(L)) e.dispatchEvent(new CustomEvent($n, {
|
|
1381
1752
|
detail: { values: this.values },
|
|
1382
1753
|
bubbles: !1
|
|
1383
1754
|
}));
|
|
1384
1755
|
}
|
|
1385
1756
|
};
|
|
1386
|
-
|
|
1757
|
+
K = n(Bn), Vn = /* @__PURE__ */ new WeakMap(), l(K, 4, "schemaTagsDefined", Ln, q, Vn), l(K, 1, "onSchemaChanged", In, q), l(K, 1, "makeProperties", Fn, q), l(K, 2, "hasOwnProperties", Pn, q), l(K, 1, "onOwnPropertiesChanged", Nn, q), l(K, 1, "removeMadeProperties", Mn, q), l(K, 1, "onSourceChanged", jn, q), l(K, 1, "loadLayout", An, q), l(K, 2, "isPropertyEditor", kn, q), l(K, 2, "isReadOnly", On, q), l(K, 2, "isCompact", Dn, q), l(K, 2, "isGrid", En, q), l(K, 2, "showsDefaults", Tn, q), l(K, 13, "vocabulary", zn, q), l(K, 13, "elementSetup", Rn, q), f(K, q), a(q, "UIPropertyEditor"), i(q, "vocabulary", p(K, 12, q, yn)), p(K, 15, q), i(q, "elementSetup", p(K, 16, q, {
|
|
1387
1758
|
styleSheets: {
|
|
1388
|
-
...
|
|
1389
|
-
editor:
|
|
1759
|
+
...fe.prototype.elementSetup.styleSheets,
|
|
1760
|
+
editor: bn
|
|
1390
1761
|
},
|
|
1391
1762
|
DOMElement: DOMPropertyEditorElement
|
|
1392
|
-
})),
|
|
1393
|
-
var
|
|
1763
|
+
})), p(K, 19, q);
|
|
1764
|
+
var Hn = q, Un = new Set(w.attributes.map((e) => e.name).filter((e) => ![
|
|
1394
1765
|
"source",
|
|
1395
1766
|
"selector",
|
|
1396
1767
|
"size",
|
|
@@ -1398,7 +1769,7 @@ var yn = J, bn = new Set(S.attributes.map((e) => e.name).filter((e) => ![
|
|
|
1398
1769
|
"loading",
|
|
1399
1770
|
"disabled",
|
|
1400
1771
|
"parent"
|
|
1401
|
-
].includes(e))),
|
|
1772
|
+
].includes(e))), Wn = w.slots.map((e) => e.name).filter(Boolean), J = {
|
|
1402
1773
|
editor: "editor",
|
|
1403
1774
|
form: "form",
|
|
1404
1775
|
footer: "footer",
|
|
@@ -1410,7 +1781,7 @@ var yn = J, bn = new Set(S.attributes.map((e) => e.name).filter((e) => ![
|
|
|
1410
1781
|
change: "ui-changed",
|
|
1411
1782
|
loading: "ui-loading",
|
|
1412
1783
|
loaded: "ui-loaded"
|
|
1413
|
-
},
|
|
1784
|
+
}, Gn = "--_property-editor-columns", Kn = "ui-section", qn = "ui-button", Jn = "ui-fields", Yn = "actions", Xn = "on save", Zn = "ui-changed", Qn = "ui-invalid", $n = "ui-saved", er = "footer", tr = "output", nr = "error-line", Y = [
|
|
1414
1785
|
"source",
|
|
1415
1786
|
"ui-loaded",
|
|
1416
1787
|
"loaded",
|
|
@@ -1418,9 +1789,10 @@ var yn = J, bn = new Set(S.attributes.map((e) => e.name).filter((e) => ![
|
|
|
1418
1789
|
"sourceCrossOrigin",
|
|
1419
1790
|
"sourceFileProtocol",
|
|
1420
1791
|
"sourceRenderError"
|
|
1421
|
-
],
|
|
1422
|
-
...
|
|
1792
|
+
], rr = {
|
|
1793
|
+
...w,
|
|
1423
1794
|
tag: "ui-property-group",
|
|
1795
|
+
partOfSpeech: "structure",
|
|
1424
1796
|
icon: "layer group",
|
|
1425
1797
|
topics: ["forms", "layout"],
|
|
1426
1798
|
aka: [
|
|
@@ -1448,7 +1820,7 @@ var yn = J, bn = new Set(S.attributes.map((e) => e.name).filter((e) => ![
|
|
|
1448
1820
|
name: "state",
|
|
1449
1821
|
group: "form",
|
|
1450
1822
|
kind: "valueOnly",
|
|
1451
|
-
values:
|
|
1823
|
+
values: ee,
|
|
1452
1824
|
description: "Its state: tints its title. A property in it failing validation shows `error` on top."
|
|
1453
1825
|
},
|
|
1454
1826
|
{
|
|
@@ -1476,7 +1848,7 @@ var yn = J, bn = new Set(S.attributes.map((e) => e.name).filter((e) => ![
|
|
|
1476
1848
|
values: ["pills", "checkboxes"],
|
|
1477
1849
|
description: "Its yes-or-no properties: `pills`, every run of them one select of pills; `checkboxes`, never. None: three or more side by side are pills, fewer stay checkboxes."
|
|
1478
1850
|
}
|
|
1479
|
-
], [
|
|
1851
|
+
], [w.attributes], Y),
|
|
1480
1852
|
events: passThrough([{
|
|
1481
1853
|
name: "ui-invalid",
|
|
1482
1854
|
detail: "{ field: string, value: FieldValue, errors: string[], values: Record<string, FieldValue> }",
|
|
@@ -1485,18 +1857,18 @@ var yn = J, bn = new Set(S.attributes.map((e) => e.name).filter((e) => ![
|
|
|
1485
1857
|
name: "ui-saved",
|
|
1486
1858
|
detail: "{ values: Record<string, FieldValue>, originalEvent?: Event }",
|
|
1487
1859
|
description: "The editor's submit or Save passed validation (sent on each group too)."
|
|
1488
|
-
}], [
|
|
1860
|
+
}], [w.events], Y),
|
|
1489
1861
|
slots: passThrough([{
|
|
1490
1862
|
name: "output",
|
|
1491
1863
|
description: "Rich output (instead of `output`)."
|
|
1492
|
-
}], [
|
|
1864
|
+
}], [w.slots]),
|
|
1493
1865
|
parts: passThrough([{
|
|
1494
1866
|
name: "output",
|
|
1495
1867
|
description: "The output."
|
|
1496
1868
|
}, {
|
|
1497
1869
|
name: "error-line",
|
|
1498
1870
|
description: "The group's own error, under its title."
|
|
1499
|
-
}], [
|
|
1871
|
+
}], [w.parts]),
|
|
1500
1872
|
states: passThrough([
|
|
1501
1873
|
{
|
|
1502
1874
|
name: "changed",
|
|
@@ -1518,11 +1890,11 @@ var yn = J, bn = new Set(S.attributes.map((e) => e.name).filter((e) => ![
|
|
|
1518
1890
|
name: "grid",
|
|
1519
1891
|
description: "Its properties lay out on columns (`columns`, or its editor's)."
|
|
1520
1892
|
}
|
|
1521
|
-
], [
|
|
1522
|
-
texts: passThrough([], [
|
|
1523
|
-
},
|
|
1893
|
+
], [w.states], Y),
|
|
1894
|
+
texts: passThrough([], [w.texts], Y)
|
|
1895
|
+
}, ir = "@layer ui.components.property-group.content{.output{color:var(--ui-text-muted);font-family:var(--ui-font-family-mono);font-variant-numeric:tabular-nums;margin-inline-start:var(--ui-space-xs);font-size:.92em}.error-line{margin:0 0 var(--ui-space-s);color:var(--ui-negative-text);font-size:.85714em}}@layer ui.components.property-group.variations{:host(:state(empty)){display:none}:host{grid-column:1/-1}:host(:state(grid)) .section>.content{--_property-editor-field-width:auto;grid-template-columns:repeat(var(--_property-editor-columns,1), minmax(0, 1fr));row-gap:0;column-gap:var(--_ui-property-editor-column-gap,var(--ui-form-gutter,1em));align-items:start;display:grid}:host(:state(grid)) .section>.content>:not(slot){grid-column:1/-1}:host(:state(compact)) .ui.section.panel.sub{--_ui-property-editor-band-transform:var(--ui-property-editor-band-transform,none);--_ui-property-editor-band-spacing:var(--ui-property-editor-band-spacing,0);--_ui-property-editor-band-weight:var(--ui-property-editor-band-weight,var(--ui-font-weight-bold,700));--_ui-property-editor-band-size:var(--ui-property-editor-band-size,13px);--_ui-property-editor-band-background:var(--ui-property-editor-band-background,var(--_ui-panel-subhead-background));--_ui-panel-band-space:4px;--_ui-panel-gap:var(--_ui-property-editor-row-gap,8px);--_ui-panel-outer-gap:0px}:host(:state(compact)) .ui.section.panel.sub>.content{font-size:var(--_ui-property-editor-font-size,1em);padding-block-end:var(--_ui-property-editor-row-gap,8px)}:host(:state(compact)) .ui.section.panel.sub>.title{background:var(--_ui-property-editor-band-background);padding-block:4px}:host(:state(compact)) .ui.section.panel.sub>.title>.heading,:host(:state(compact)) .ui.section.panel.sub>.title>.heading>.toggle{font-size:var(--_ui-property-editor-band-size);font-weight:var(--_ui-property-editor-band-weight);letter-spacing:var(--_ui-property-editor-band-spacing);text-transform:var(--_ui-property-editor-band-transform)}:host(:state(compact)) .ui.section.panel.sub>.title>.heading>.toggle{font-size:1em}}@layer ui.components.property-group.states{.error.section>.title{color:var(--ui-negative-text)}.info.section>.title{color:var(--ui-info-text,var(--ui-blue-text))}.success.section>.title{color:var(--ui-positive-text)}.warning.section>.title{color:var(--ui-warning-text,var(--ui-yellow-text))}}", ar = /* @__PURE__ */ N("<span><slot>"), or = /* @__PURE__ */ N("<div role=alert>"), sr, cr, lr, ur, dr, fr, pr, mr, hr, gr, _r, vr, yr, X, Z, br, xr, DOMPropertyGroupElement = class extends t {
|
|
1524
1896
|
static {
|
|
1525
|
-
|
|
1897
|
+
a(this, "DOMPropertyGroupElement");
|
|
1526
1898
|
}
|
|
1527
1899
|
markFieldFailed(e, t) {
|
|
1528
1900
|
this.component?.markFieldFailed(e, t);
|
|
@@ -1531,9 +1903,9 @@ var yn = J, bn = new Set(S.attributes.map((e) => e.name).filter((e) => ![
|
|
|
1531
1903
|
let t = this.component;
|
|
1532
1904
|
t && (t.isChanged = e);
|
|
1533
1905
|
}
|
|
1534
|
-
}, Q = class _UIPropertyGroup extends (
|
|
1906
|
+
}, Q = class _UIPropertyGroup extends (X = me, yr = [g], vr = [se], _r = [g], gr = [v], hr = [y], mr = [m("property-group")], pr = [m("error")], fr = [m("changed"), v], dr = [m("empty")], ur = [ie], lr = [m("compact")], cr = [m("grid")], sr = [m("readonly")], X) {
|
|
1535
1907
|
constructor() {
|
|
1536
|
-
super(...arguments),
|
|
1908
|
+
super(...arguments), p(Z, 5, this), _(this, br, p(Z, 8, this, /* @__PURE__ */ new Set())), p(Z, 11, this), _(this, xr, p(Z, 12, this, !1)), p(Z, 15, this);
|
|
1537
1909
|
}
|
|
1538
1910
|
markFieldFailed(e, t) {
|
|
1539
1911
|
if (this.failedFields.has(e) === t) return;
|
|
@@ -1544,18 +1916,19 @@ var yn = J, bn = new Set(S.attributes.map((e) => e.name).filter((e) => ![
|
|
|
1544
1916
|
return !0;
|
|
1545
1917
|
}
|
|
1546
1918
|
get isError() {
|
|
1547
|
-
return !!this.attributes.error || this.failedFields.size > 0 || this.attributes.state ===
|
|
1919
|
+
return !!this.attributes.error || this.failedFields.size > 0 || this.attributes.state === Er;
|
|
1548
1920
|
}
|
|
1549
|
-
|
|
1550
|
-
return this.
|
|
1551
|
-
|
|
1552
|
-
|
|
1921
|
+
get isEmpty() {
|
|
1922
|
+
return this.hideEmpty == null ? !this.slots.hasContent("") : super.isEmpty;
|
|
1923
|
+
}
|
|
1924
|
+
get editor() {
|
|
1925
|
+
return this.isConnected ? G.editorAround(this.domElement) : void 0;
|
|
1553
1926
|
}
|
|
1554
1927
|
get isCompact() {
|
|
1555
1928
|
return !!this.editor?.isCompact;
|
|
1556
1929
|
}
|
|
1557
1930
|
get columnCount() {
|
|
1558
|
-
return
|
|
1931
|
+
return Hn.columnsFrom(this.attributes.columns) ?? this.editor?.columnCount ?? 1;
|
|
1559
1932
|
}
|
|
1560
1933
|
get isGrid() {
|
|
1561
1934
|
return this.columnCount > 1 || !!this.editor?.isGrid;
|
|
@@ -1563,7 +1936,7 @@ var yn = J, bn = new Set(S.attributes.map((e) => e.name).filter((e) => ![
|
|
|
1563
1936
|
get contentStyle() {
|
|
1564
1937
|
return {
|
|
1565
1938
|
...super.contentStyle,
|
|
1566
|
-
[
|
|
1939
|
+
[Gn]: String(this.columnCount)
|
|
1567
1940
|
};
|
|
1568
1941
|
}
|
|
1569
1942
|
get isReadOnly() {
|
|
@@ -1571,52 +1944,51 @@ var yn = J, bn = new Set(S.attributes.map((e) => e.name).filter((e) => ![
|
|
|
1571
1944
|
return e != null && e !== "false";
|
|
1572
1945
|
}
|
|
1573
1946
|
get extraClass() {
|
|
1574
|
-
let e = this.isError ?
|
|
1947
|
+
let e = this.isError ? Er : this.attributes.state ?? void 0, t = this.enclosingSection instanceof me ? void 0 : wr;
|
|
1575
1948
|
return [.../* @__PURE__ */ new Set([
|
|
1576
1949
|
...(super.extraClass ?? "").split(" "),
|
|
1577
|
-
|
|
1950
|
+
Cr,
|
|
1578
1951
|
t,
|
|
1579
|
-
|
|
1952
|
+
Tr,
|
|
1580
1953
|
e
|
|
1581
1954
|
])].filter(Boolean).join(" ");
|
|
1582
1955
|
}
|
|
1583
1956
|
titleBarEnd() {
|
|
1584
1957
|
let e = this.attributes.output, t = this;
|
|
1585
|
-
return T
|
|
1958
|
+
return D(T, {
|
|
1586
1959
|
get when() {
|
|
1587
1960
|
return e || t.slots.hasContent($);
|
|
1588
1961
|
},
|
|
1589
1962
|
get children() {
|
|
1590
|
-
var t =
|
|
1591
|
-
return
|
|
1592
|
-
|
|
1963
|
+
var t = ar(), n = t.firstChild;
|
|
1964
|
+
return M(t, "part", $), M(n, "name", $), n._$owner = k(), A(n, e), O(() => j($), (e, n) => {
|
|
1965
|
+
E(t, e, n);
|
|
1593
1966
|
}), t;
|
|
1594
1967
|
}
|
|
1595
1968
|
});
|
|
1596
1969
|
}
|
|
1597
1970
|
contentStart() {
|
|
1598
1971
|
let e = this.attributes.error;
|
|
1599
|
-
return T
|
|
1972
|
+
return D(T, {
|
|
1600
1973
|
when: e,
|
|
1601
1974
|
get children() {
|
|
1602
|
-
var t =
|
|
1603
|
-
return
|
|
1604
|
-
|
|
1975
|
+
var t = or();
|
|
1976
|
+
return M(t, "part", Dr), A(t, e), O(() => j(Dr), (e, n) => {
|
|
1977
|
+
E(t, e, n);
|
|
1605
1978
|
}), t;
|
|
1606
1979
|
}
|
|
1607
1980
|
});
|
|
1608
1981
|
}
|
|
1609
1982
|
};
|
|
1610
|
-
Z =
|
|
1983
|
+
Z = n(X), br = /* @__PURE__ */ new WeakMap(), xr = /* @__PURE__ */ new WeakMap(), l(Z, 4, "failedFields", gr, Q, br), l(Z, 1, "markFieldFailed", hr, Q), l(Z, 2, "isPropertyGroup", mr, Q), l(Z, 2, "isError", pr, Q), l(Z, 4, "isChanged", fr, Q, xr), l(Z, 2, "isEmpty", dr, Q), l(Z, 2, "editor", ur, Q), l(Z, 2, "isCompact", lr, Q), l(Z, 2, "isGrid", cr, Q), l(Z, 2, "isReadOnly", sr, Q), l(Z, 13, "vocabulary", yr, Q), l(Z, 13, "elementSetup", vr, Q), l(Z, 13, "defaultFoldIcon", _r, Q), f(Z, Q), a(Q, "UIPropertyGroup"), i(Q, "vocabulary", p(Z, 16, Q, rr)), p(Z, 19, Q), i(Q, "elementSetup", p(Z, 20, Q, {
|
|
1611
1984
|
styleSheets: {
|
|
1612
1985
|
...me.prototype.elementSetup.styleSheets,
|
|
1613
|
-
group:
|
|
1986
|
+
group: ir
|
|
1614
1987
|
},
|
|
1615
1988
|
DOMElement: DOMPropertyGroupElement
|
|
1616
|
-
})),
|
|
1617
|
-
var
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
export { DOMPropertyEditorElement, At as DOMPropertyElement, DOMPropertyGroupElement, K as UIProperty, yn as UIPropertyEditor, $n as UIPropertyGroup };
|
|
1989
|
+
})), p(Z, 23, Q), i(Q, "defaultFoldIcon", p(Z, 24, Q, pe.start)), p(Z, 27, Q);
|
|
1990
|
+
var Sr = Q, Cr = "sub", wr = "loose", Tr = "property-group", Er = "error", $ = "output", Dr = "error-line";
|
|
1991
|
+
Hn.define(), Sr.define(), G.define();
|
|
1992
|
+
export { DOMPropertyEditorElement, Kt as DOMPropertyElement, DOMPropertyGroupElement, G as UIProperty, Hn as UIPropertyEditor, Sr as UIPropertyGroup };
|
|
1621
1993
|
|
|
1622
1994
|
//# sourceMappingURL=ui-property-editor.js.map
|