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
package/dist/ui-form.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./rolldown-runtime-
|
|
2
|
-
import {
|
|
1
|
+
import "./rolldown-runtime-c6e9CmGy.js";
|
|
2
|
+
import { Converters as e, DOMElement as t, Gt as n, IconGlyph as r, Jt as i, Kt as a, R as o, Reactive as s, SlotContent as c, T as l, TopLayerTip as ee, UIComponent as u, Ut as d, Warnings as te, Wt as f, Yt as p, _ as ne, after as re, afterSolidUpdate as m, byDocumentOrder as ie, cssState as h, g as ae, on as g, onChange as _, proto as v, protoMerged as y, qt as b, soon as oe, state as x, untracked as S, vt as se, whileConnected as ce, yt as le } from "./core.js";
|
|
3
3
|
import { FormComponent as ue } from "./forms.js";
|
|
4
4
|
import { For as de, Show as C, createEffect as fe } from "solid-js";
|
|
5
|
-
import { addEvent as pe, className as w, createComponent as T, delegateEvents as me, effect as E, getOwner as D, insert as O, isServer as he, memo as
|
|
6
|
-
|
|
7
|
-
var
|
|
5
|
+
import { addEvent as pe, className as w, createComponent as T, delegateEvents as me, effect as E, getOwner as D, insert as O, isServer as he, memo as ge, readShallow as k, ref as _e, setAttribute as A, spread as ve, template as j } from "@solidjs/web";
|
|
6
|
+
// src/components/ui-form/UIForm.types.ts
|
|
7
|
+
var ye = [
|
|
8
8
|
{
|
|
9
9
|
name: "error",
|
|
10
10
|
description: "In the error state (attribute, or failed validation)."
|
|
@@ -21,23 +21,23 @@ var ve = [
|
|
|
21
21
|
name: "warning",
|
|
22
22
|
description: "In the warning state."
|
|
23
23
|
}
|
|
24
|
-
],
|
|
24
|
+
], be = [
|
|
25
25
|
"immediately",
|
|
26
26
|
"on leave",
|
|
27
27
|
"on save"
|
|
28
|
-
],
|
|
28
|
+
], xe = ["immediately", "on save"], Se = "error", FormStateFlags = class {
|
|
29
29
|
static of(e) {
|
|
30
|
-
return Object.fromEntries(
|
|
30
|
+
return Object.fromEntries(l.map((t) => [t, t === e]));
|
|
31
31
|
}
|
|
32
|
-
},
|
|
32
|
+
}, M = `:state(${ne})`, N = class FormFields {
|
|
33
33
|
domElement;
|
|
34
34
|
form;
|
|
35
35
|
constructor({ domElement: e, form: t }) {
|
|
36
36
|
this.domElement = e, this.form = t;
|
|
37
37
|
}
|
|
38
38
|
controls() {
|
|
39
|
-
let e = this.form(), t = e ? [...e.elements] : [...this.domElement.querySelectorAll(
|
|
40
|
-
return [...new Set(n)].filter(FormFields.isControl).sort(
|
|
39
|
+
let e = this.form(), t = e ? [...e.elements] : [...this.domElement.querySelectorAll(Ce), ...this.customControls()], n = !e || !e.contains(this.domElement) ? t : t.filter((e) => this.domElement.contains(e));
|
|
40
|
+
return [...new Set(n)].filter(FormFields.isControl).sort(ie);
|
|
41
41
|
}
|
|
42
42
|
fields() {
|
|
43
43
|
let e = /* @__PURE__ */ new Map();
|
|
@@ -65,7 +65,7 @@ var ve = [
|
|
|
65
65
|
let t = e.labels, n = t ? [...t].map((e) => e.textContent?.trim() ?? "").find(Boolean) : void 0;
|
|
66
66
|
if (n) return n;
|
|
67
67
|
}
|
|
68
|
-
let n = t[0]?.closest(
|
|
68
|
+
let n = t[0]?.closest(M);
|
|
69
69
|
return n?.querySelector(":scope > label")?.textContent?.trim() || n?.shownLabel || (t.length === 1 && FormFields.isCheckable(t[0]) ? t[0].textContent?.trim() : void 0) || e;
|
|
70
70
|
}
|
|
71
71
|
labels(e) {
|
|
@@ -89,12 +89,12 @@ var ve = [
|
|
|
89
89
|
}
|
|
90
90
|
for (let e of i) {
|
|
91
91
|
let t = e.validity, n = e.validationMessage;
|
|
92
|
-
t && !t.valid && n && !a.includes(n) && (
|
|
92
|
+
t && !t.valid && n && !a.includes(n) && (we.filter((e) => t[e]).every((e) => o.has(e)) || a.push(n));
|
|
93
93
|
}
|
|
94
94
|
return a;
|
|
95
95
|
}
|
|
96
96
|
customControls() {
|
|
97
|
-
return [...this.domElement.querySelectorAll("*")].filter((e) => e.constructor.formAssociated || e.matches(
|
|
97
|
+
return [...this.domElement.querySelectorAll("*")].filter((e) => e.constructor.formAssociated || e.matches(ke));
|
|
98
98
|
}
|
|
99
99
|
static valueFor(e) {
|
|
100
100
|
let [t] = e;
|
|
@@ -133,20 +133,20 @@ var ve = [
|
|
|
133
133
|
return r.rules = r.rules.map(FormFields.renameEmpty), r;
|
|
134
134
|
}
|
|
135
135
|
static renameEmpty(e) {
|
|
136
|
-
return typeof e == "string" ? e ===
|
|
136
|
+
return typeof e == "string" ? e === Te ? Ee : e : e.type === Te ? {
|
|
137
137
|
...e,
|
|
138
|
-
type:
|
|
138
|
+
type: Ee
|
|
139
139
|
} : e;
|
|
140
140
|
}
|
|
141
141
|
static isBlank(e) {
|
|
142
142
|
return e == null || e === !1 || e === "" || Array.isArray(e) && !e.length;
|
|
143
143
|
}
|
|
144
144
|
static isControl(e) {
|
|
145
|
-
return e instanceof HTMLInputElement ? !
|
|
145
|
+
return e instanceof HTMLInputElement ? !De.has(e.type) : e instanceof HTMLSelectElement || e instanceof HTMLTextAreaElement ? !0 : e instanceof HTMLButtonElement || e instanceof HTMLFieldSetElement ? !1 : "validity" in e && e.constructor.formAssociated === !0 || e.matches(ke);
|
|
146
146
|
}
|
|
147
147
|
static identifierFor(e) {
|
|
148
148
|
let t = FormFields.nameOf(e);
|
|
149
|
-
return !t && e.id && !
|
|
149
|
+
return !t && e.id && !Oe.has(e) && (Oe.add(e), te.warn("<ui-form>", `#${e.id} has no name, so the form skips it; give it name="..."`)), t;
|
|
150
150
|
}
|
|
151
151
|
static nameOf(e) {
|
|
152
152
|
let t = e.name;
|
|
@@ -167,15 +167,15 @@ var ve = [
|
|
|
167
167
|
static unchosenValueFor(e) {
|
|
168
168
|
return e.unchosenValue;
|
|
169
169
|
}
|
|
170
|
-
static ownValueFor(
|
|
171
|
-
if (
|
|
172
|
-
let n =
|
|
173
|
-
return Array.isArray(n) ? n.map(String) : typeof n == "string" &&
|
|
170
|
+
static ownValueFor(t) {
|
|
171
|
+
if (t instanceof HTMLSelectElement && t.multiple) return [...t.selectedOptions].map((e) => e.value);
|
|
172
|
+
let n = t.value;
|
|
173
|
+
return Array.isArray(n) ? n.map(String) : typeof n == "string" && t.hasAttribute("multiple") && !(t instanceof HTMLInputElement) ? e.list(n) : typeof n == "string" ? n : typeof n == "number" || typeof n == "boolean" ? String(n) : "";
|
|
174
174
|
}
|
|
175
175
|
static willValidate(e) {
|
|
176
|
-
return e.willValidate !== !1 && !e.closest(
|
|
176
|
+
return e.willValidate !== !1 && !e.closest(M)?.matches(ae);
|
|
177
177
|
}
|
|
178
|
-
},
|
|
178
|
+
}, Ce = "input, select, textarea", we = [
|
|
179
179
|
"valueMissing",
|
|
180
180
|
"typeMismatch",
|
|
181
181
|
"patternMismatch",
|
|
@@ -186,16 +186,16 @@ var ve = [
|
|
|
186
186
|
"stepMismatch",
|
|
187
187
|
"badInput",
|
|
188
188
|
"customError"
|
|
189
|
-
],
|
|
189
|
+
], Te = "empty", Ee = "notEmpty", De = /* @__PURE__ */ new Set([
|
|
190
190
|
"submit",
|
|
191
191
|
"reset",
|
|
192
192
|
"button",
|
|
193
193
|
"image"
|
|
194
|
-
]),
|
|
195
|
-
|
|
196
|
-
var
|
|
197
|
-
constructor({ domElement:
|
|
198
|
-
|
|
194
|
+
]), Oe = /* @__PURE__ */ new WeakSet(), ke = ":state(form-value)", Ae, je, Me = [S], P;
|
|
195
|
+
je = [S], Ae = [S];
|
|
196
|
+
var F = class _FormBinding {
|
|
197
|
+
constructor({ domElement: e, fields: t, form: n }) {
|
|
198
|
+
p(P, 5, this), i(this, "domElement"), i(this, "fields"), i(this, "form"), i(this, "bindings", /* @__PURE__ */ new Map()), i(this, "changed", /* @__PURE__ */ new Set()), i(this, "delayed", /* @__PURE__ */ new Map()), i(this, "isBinding", !1), i(this, "awaitedTags", /* @__PURE__ */ new Set()), i(this, "onChange", /* @__PURE__ */ a((e) => {
|
|
199
199
|
if (!this.bindings.size) return;
|
|
200
200
|
let t = this.controlFor(e);
|
|
201
201
|
if (!t || e.type === "input" && t.settlesItself) return;
|
|
@@ -203,25 +203,25 @@ var I = class _FormBinding {
|
|
|
203
203
|
if (n.mode === "on leave" && !r) return void this.waiting.add(t);
|
|
204
204
|
if (n.mode === "delayed" && !r) return this.writeAfterPause(t, n.delay);
|
|
205
205
|
this.delayed.get(t)?.cancel(), this.delayed.delete(t), this.writeSoon(t);
|
|
206
|
-
}, "onChange")),
|
|
206
|
+
}, "onChange")), i(this, "onLeave", /* @__PURE__ */ a((e) => {
|
|
207
207
|
if (!this.bindings.size) return;
|
|
208
208
|
let t = this.controlFor(e);
|
|
209
209
|
t && (_FormBinding.applyOf(t).mode === "on leave" || this.delayed.has(t)) && (this.delayed.get(t)?.cancel(), this.delayed.delete(t), this.writeSoon(t));
|
|
210
|
-
}, "onLeave")),
|
|
210
|
+
}, "onLeave")), i(this, "waiting", /* @__PURE__ */ new Set()), i(this, "held", /* @__PURE__ */ new Map()), this.domElement = e, this.fields = t, this.form = n;
|
|
211
211
|
}
|
|
212
212
|
update() {
|
|
213
213
|
this.isBinding = !0;
|
|
214
|
-
for (let e of this.domElement.querySelectorAll(
|
|
214
|
+
for (let e of this.domElement.querySelectorAll(t.notAttached)) this.updateWhenAttached(e.localName);
|
|
215
215
|
let e = new Set(this.fields.controls());
|
|
216
216
|
for (let [t, n] of this.bindings) e.has(t) || (n.dispose(), this.bindings.delete(t), this.held.delete(t));
|
|
217
217
|
for (let t of e) {
|
|
218
218
|
if (this.bindings.has(t)) continue;
|
|
219
|
-
let e =
|
|
219
|
+
let e = N.nameOf(t), n = e ? _FormBinding.holderAround(t) : void 0;
|
|
220
220
|
e && n && this.bindings.set(t, _FormBinding.bind(t, e, n));
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
updateWhenAttached(e) {
|
|
224
|
-
this.awaitedTags.has(e) || (this.awaitedTags.add(e),
|
|
224
|
+
this.awaitedTags.has(e) || (this.awaitedTags.add(e), t.whenAttached(e).then(() => {
|
|
225
225
|
this.awaitedTags.delete(e), this.isBinding && this.update();
|
|
226
226
|
}).catch((t) => te.warn("<ui-form value>", `can't wait for <${e}>:`, t)));
|
|
227
227
|
}
|
|
@@ -233,7 +233,7 @@ var I = class _FormBinding {
|
|
|
233
233
|
}
|
|
234
234
|
static bind(e, t, n) {
|
|
235
235
|
return s.ownRoot((r) => (fe(() => _FormBinding.valueIn(n(), t), (t) => {
|
|
236
|
-
t !==
|
|
236
|
+
t !== L && (_FormBinding.markMixed(e, t === R), _FormBinding.show(e, t === R ? void 0 : t));
|
|
237
237
|
}), {
|
|
238
238
|
name: t,
|
|
239
239
|
scope: n,
|
|
@@ -246,7 +246,7 @@ var I = class _FormBinding {
|
|
|
246
246
|
}));
|
|
247
247
|
}
|
|
248
248
|
writeAfterPause(e, t) {
|
|
249
|
-
this.waiting.add(e), this.delayed.get(e)?.cancel(), this.delayed.set(e,
|
|
249
|
+
this.waiting.add(e), this.delayed.get(e)?.cancel(), this.delayed.set(e, re(t / 1e3, () => {
|
|
250
250
|
this.delayed.delete(e), this.writeBack(e);
|
|
251
251
|
}));
|
|
252
252
|
}
|
|
@@ -262,8 +262,8 @@ var I = class _FormBinding {
|
|
|
262
262
|
if (!t) return;
|
|
263
263
|
let n = _FormBinding.targetsOf(t.scope());
|
|
264
264
|
if (!n.length) return;
|
|
265
|
-
let r = _FormBinding.valueIn(t.scope(), t.name), i = _FormBinding.valueFor(e, r ===
|
|
266
|
-
if (i !==
|
|
265
|
+
let r = _FormBinding.valueIn(t.scope(), t.name), i = _FormBinding.valueFor(e, r === R ? void 0 : r);
|
|
266
|
+
if (i !== L && this.form.canWrite(e)) {
|
|
267
267
|
if (this.form.isHolding()) return this.hold(e, t, i);
|
|
268
268
|
if (i !== r) {
|
|
269
269
|
_FormBinding.markMixed(e, !1);
|
|
@@ -330,7 +330,7 @@ var I = class _FormBinding {
|
|
|
330
330
|
if (this.held.size) {
|
|
331
331
|
for (let [e, { binding: t }] of this.held) {
|
|
332
332
|
let n = _FormBinding.valueIn(t.scope(), t.name);
|
|
333
|
-
n !==
|
|
333
|
+
n !== L && (_FormBinding.markMixed(e, n === R), _FormBinding.show(e, n === R ? void 0 : n));
|
|
334
334
|
}
|
|
335
335
|
this.held.clear(), this.form.onHeldChange();
|
|
336
336
|
}
|
|
@@ -355,9 +355,9 @@ var I = class _FormBinding {
|
|
|
355
355
|
}
|
|
356
356
|
static valueIn(e, t) {
|
|
357
357
|
let n = _FormBinding.targetsOf(e);
|
|
358
|
-
if (!n.length) return
|
|
358
|
+
if (!n.length) return L;
|
|
359
359
|
let r = _FormBinding.read(n[0], t);
|
|
360
|
-
return n.every((e) => _FormBinding.read(e, t) === r) ? r :
|
|
360
|
+
return n.every((e) => _FormBinding.read(e, t) === r) ? r : R;
|
|
361
361
|
}
|
|
362
362
|
static read(e, t) {
|
|
363
363
|
let n = e;
|
|
@@ -375,18 +375,18 @@ var I = class _FormBinding {
|
|
|
375
375
|
};
|
|
376
376
|
}
|
|
377
377
|
static applyOf(e) {
|
|
378
|
-
let t = e.closest(
|
|
378
|
+
let t = e.closest(M)?.getAttribute("apply")?.trim() ?? "";
|
|
379
379
|
if (t === "on leave") return { mode: "on leave" };
|
|
380
380
|
let n = /^delayed(?:\s+(\d+)(?:\s*ms)?)?$/.exec(t);
|
|
381
381
|
return n ? {
|
|
382
382
|
mode: "delayed",
|
|
383
|
-
delay: n[1] ? Number(n[1]) :
|
|
383
|
+
delay: n[1] ? Number(n[1]) : Pe
|
|
384
384
|
} : { mode: "immediately" };
|
|
385
385
|
}
|
|
386
386
|
static markMixed(e, t) {
|
|
387
|
-
let n = e.closest(
|
|
388
|
-
if (n && n.hasAttribute("mixed") !== t && n.toggleAttribute("mixed", t), !(t === _FormBinding.ownPlaceholders.has(e) ||
|
|
389
|
-
if (t) _FormBinding.ownPlaceholders.set(e, e.getAttribute("placeholder")), e.setAttribute("placeholder", n?.mixedText ??
|
|
387
|
+
let n = e.closest(M);
|
|
388
|
+
if (n && n.hasAttribute("mixed") !== t && n.toggleAttribute("mixed", t), !(t === _FormBinding.ownPlaceholders.has(e) || N.isCheckable(e))) {
|
|
389
|
+
if (t) _FormBinding.ownPlaceholders.set(e, e.getAttribute("placeholder")), e.setAttribute("placeholder", n?.mixedText ?? Ne);
|
|
390
390
|
else {
|
|
391
391
|
let t = _FormBinding.ownPlaceholders.get(e);
|
|
392
392
|
_FormBinding.ownPlaceholders.delete(e), t == null ? e.removeAttribute("placeholder") : e.setAttribute("placeholder", t);
|
|
@@ -394,9 +394,9 @@ var I = class _FormBinding {
|
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
396
|
static show(e, t) {
|
|
397
|
-
if (
|
|
398
|
-
let n =
|
|
399
|
-
if (
|
|
397
|
+
if (N.isCheckable(e)) {
|
|
398
|
+
let n = N.isRadio(e) ? _FormBinding.isRadioValue(e, t) : !!t;
|
|
399
|
+
if (N.isChosen(e) === n) return;
|
|
400
400
|
e.checked = n;
|
|
401
401
|
} else {
|
|
402
402
|
let n = Array.isArray(t) ? t : _FormBinding.textOf(t), r = e;
|
|
@@ -406,13 +406,13 @@ var I = class _FormBinding {
|
|
|
406
406
|
e.parentElement?.valueShown?.();
|
|
407
407
|
}
|
|
408
408
|
static valueFor(e, t) {
|
|
409
|
-
if (
|
|
410
|
-
if (
|
|
409
|
+
if (N.isRadio(e)) return N.isChosen(e) ? _FormBinding.keepNumber(N.chosenValueFor(e), t) : L;
|
|
410
|
+
if (N.isCheckable(e)) return N.isChosen(e);
|
|
411
411
|
let { value: n, type: r } = e;
|
|
412
|
-
return typeof n == "string" &&
|
|
412
|
+
return typeof n == "string" && Fe.has(r) ? n.trim() === "" ? null : Number(n) : _FormBinding.keepNumber(n, t);
|
|
413
413
|
}
|
|
414
414
|
static isRadioValue(e, t) {
|
|
415
|
-
return t != null && _FormBinding.textOf(t) ===
|
|
415
|
+
return t != null && _FormBinding.textOf(t) === N.chosenValueFor(e);
|
|
416
416
|
}
|
|
417
417
|
static textOf(e) {
|
|
418
418
|
return e == null ? "" : typeof e == "string" ? e : typeof e == "number" || typeof e == "boolean" || typeof e == "bigint" ? String(e) : JSON.stringify(e) ?? "";
|
|
@@ -423,8 +423,8 @@ var I = class _FormBinding {
|
|
|
423
423
|
return Number.isFinite(n) ? n : e;
|
|
424
424
|
}
|
|
425
425
|
};
|
|
426
|
-
|
|
427
|
-
var
|
|
426
|
+
P = n(null), d(P, 1, "writeBack", Me, F), d(P, 1, "saveHeld", je, F), d(P, 1, "dropHeld", Ae, F), f(P, F), a(F, "FormBinding"), i(F, "holders", /* @__PURE__ */ new WeakMap()), i(F, "ownPlaceholders", /* @__PURE__ */ new WeakMap());
|
|
427
|
+
var I = F, L = /* @__PURE__ */ Symbol("unbound"), R = /* @__PURE__ */ Symbol("mixed"), Ne = "Mixed", Pe = 300, Fe = /* @__PURE__ */ new Set(["number", "range"]), Ie = {
|
|
428
428
|
tag: "ui-field",
|
|
429
429
|
icon: "edit outline",
|
|
430
430
|
topics: [
|
|
@@ -442,6 +442,7 @@ var L = I, R = /* @__PURE__ */ Symbol("unbound"), z = /* @__PURE__ */ Symbol("mi
|
|
|
442
442
|
],
|
|
443
443
|
skeleton: "4.5 tall",
|
|
444
444
|
noun: "field",
|
|
445
|
+
partOfSpeech: "action",
|
|
445
446
|
ui: !1,
|
|
446
447
|
description: "A field is a form element containing a label and an input, with a hint, a tip and its errors.",
|
|
447
448
|
attributes: [
|
|
@@ -461,7 +462,7 @@ var L = I, R = /* @__PURE__ */ Symbol("unbound"), z = /* @__PURE__ */ Symbol("mi
|
|
|
461
462
|
name: "unsaved",
|
|
462
463
|
group: "form",
|
|
463
464
|
kind: "string",
|
|
464
|
-
description: "A change here can't be saved: a
|
|
465
|
+
description: "A change here can't be saved: a flask icon after the info icon, this text its tip. The control still changes the value."
|
|
465
466
|
},
|
|
466
467
|
{
|
|
467
468
|
name: "hint",
|
|
@@ -485,7 +486,7 @@ var L = I, R = /* @__PURE__ */ Symbol("unbound"), z = /* @__PURE__ */ Symbol("mi
|
|
|
485
486
|
name: "state",
|
|
486
487
|
group: "form",
|
|
487
488
|
kind: "valueOnly",
|
|
488
|
-
values:
|
|
489
|
+
values: l,
|
|
489
490
|
description: "Field state: tints its label and controls. An error shows `error` on top."
|
|
490
491
|
},
|
|
491
492
|
{
|
|
@@ -597,7 +598,7 @@ var L = I, R = /* @__PURE__ */ Symbol("unbound"), z = /* @__PURE__ */ Symbol("mi
|
|
|
597
598
|
},
|
|
598
599
|
{
|
|
599
600
|
name: "unsaved",
|
|
600
|
-
description: "The
|
|
601
|
+
description: "The flask icon after the info icon, with `unsaved`."
|
|
601
602
|
},
|
|
602
603
|
{
|
|
603
604
|
name: "control",
|
|
@@ -617,7 +618,7 @@ var L = I, R = /* @__PURE__ */ Symbol("unbound"), z = /* @__PURE__ */ Symbol("mi
|
|
|
617
618
|
name: "field",
|
|
618
619
|
description: "Always: how `<ui-form>` finds a control's field (`closest(':state(field)')`)."
|
|
619
620
|
},
|
|
620
|
-
...
|
|
621
|
+
...ye,
|
|
621
622
|
{
|
|
622
623
|
name: "mixed",
|
|
623
624
|
description: "The things being edited disagree on this value (`mixed`)."
|
|
@@ -645,12 +646,12 @@ var L = I, R = /* @__PURE__ */ Symbol("unbound"), z = /* @__PURE__ */ Symbol("mi
|
|
|
645
646
|
{
|
|
646
647
|
key: "none",
|
|
647
648
|
text: "none",
|
|
648
|
-
description: "What a property's select shows,
|
|
649
|
+
description: "What a property's select shows, muted, when it has no value and no default."
|
|
649
650
|
}
|
|
650
651
|
]
|
|
651
|
-
}, B = "@layer ui.components.form.types{:host{display:contents}:host(:state(root)){display:block;container-type:inline-size}.ui.form{--_ui-form-gutter:var(--ui-form-gutter,1em);--_ui-form-row-distance:var(--ui-form-row-distance,1em);--_ui-form-label-distance:var(--ui-form-label-distance,.28571em);--_ui-form-label-font-size:var(--ui-form-label-font-size,.92857em);--_ui-form-label-font-weight:var(--ui-form-label-font-weight,var(--ui-font-weight-bold));--_ui-form-required-color:var(--ui-form-required-color,var(--ui-negative-text));--_ui-form-disabled-opacity:var(--ui-form-disabled-opacity,var(--ui-disabled-opacity));--_ui-form-loader-size:var(--ui-form-loader-size,3em);--_ui-form-loader-width:var(--ui-form-loader-width,.2em);--_ui-form-loader-fill:var(--ui-form-loader-fill,oklch(from var(--ui-ink) l c h / .1));--_ui-form-loader-line:var(--ui-form-loader-line,var(--ui-text-muted));--_ui-form-loader-speed:var(--ui-form-loader-speed,.6s);--_ui-form-loader-dimmer:var(--ui-form-loader-dimmer,color-mix(in oklab, var(--ui-surface) 80%, transparent));--_ui-form-inverted-label-color:var(--ui-form-inverted-label-color,var(--ui-text-inverted-color));--_ui-form-label-color:var(--ui-form-label-color,var(--ui-text-color));--_ui-form-equal-width:0;--_ui-form-unstackable:0;--_ui-form-stack-with:var(--ui-stack-with,container);box-sizing:border-box;max-width:100%;color:var(--ui-text-color);font-family:var(--ui-font-family);font-size:calc(var(--ui-font-size) * var(--ui-scale,1));line-height:var(--ui-line-height);position:relative;container:ui-form/inline-size}.ui.form ::slotted(form){margin:0;display:block}.field{--_ui-input-owner-width:100%;box-sizing:border-box;width:var(--_field-width,var(--_ui-fields-child-width,auto));flex:var(--_ui-fields-child-flex,0 1 auto);clear:both;min-width:0;margin:var(--_ui-fields-field-margin,0 0 var(--_ui-form-row-distance,var(--ui-form-row-distance,1em)));padding-inline:var(--_ui-fields-pad-start,0) var(--_ui-fields-pad-end,0)}:host(:last-child)>.field,.ui.form .field:last-child{margin-block-end:0}.field>slot,.field>.control>slot{--_ui-fields-child-width:initial;--_ui-fields-child-flex:initial;--_ui-fields-pad-start:initial;--_ui-fields-pad-end:initial;--_ui-fields-field-margin:initial;--_ui-fields-inline:initial;--_ui-fields-required:initial;--_ui-fields-stacked:initial}.field>slot,.field>.control>slot,.fields>slot{--ui-color:initial;--ui-color-text:initial;--ui-color-header:initial;--ui-color-border:initial;--ui-color-background:initial;--ui-color-inverted:initial;--ui-color-on:initial;--ui-color-inverted-on:initial;--ui-color-hover:initial;--ui-color-focus:initial;--ui-color-down:initial;--ui-color-active:initial}.fields{--_ui-fields-child-width:auto;--_ui-fields-child-flex:0 1 auto;--_ui-fields-pad-start:calc(var(--_ui-form-gutter,var(--ui-form-gutter,1em)) / 2);--_ui-fields-pad-end:calc(var(--_ui-form-gutter,var(--ui-form-gutter,1em)) / 2);--_ui-fields-field-margin:0;--_ui-fields-inline:0;--_ui-fields-required:0;--_ui-fields-stacked:0;box-sizing:border-box;margin:0 calc(var(--_ui-form-gutter,var(--ui-form-gutter,1em)) / -2) var(--_ui-form-row-distance,var(--ui-form-row-distance,1em));flex-direction:row;display:flex}:host(:last-child)>.fields,.ui.form .fields:last-child{margin-block-end:0}}@layer ui.components.form.content{.field ::slotted(label),.fields ::slotted(label),.ui.form :is(.field,.fields)>label{margin:0 0 var(--_ui-form-label-distance,var(--ui-form-label-distance,.28571em));color:var(--_field-label-color,var(--_ui-form-label-color,var(--ui-form-label-color,var(--ui-text-color))));font-size:var(--_ui-form-label-font-size,var(--ui-form-label-font-size,.92857em));font-weight:var(--_ui-form-label-font-weight,var(--ui-form-label-font-weight,var(--ui-font-weight-bold)));text-transform:none;display:block}.ui.form>.debug{border:var(--ui-border);border-radius:var(--ui-radius);background-color:var(--ui-surface-strong);margin:1em 0 0;padding:.5em .75em}.ui.form>.debug>figcaption{color:var(--ui-text-muted);font-size:.85714em;font-weight:var(--ui-font-weight-bold);margin:0 0 .25em}.ui.form>.debug>pre{font-family:var(--ui-font-family-mono);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.85714em}.ui.form .field .ui.input{width:100%}.ui.form .inline:is(.field,.fields) .ui.input{width:auto}.field ::slotted(p),.ui.form .field>p{margin:1em 0}.ui.form .message:is(.error,.info,.success,.warning){display:none}.ui.error.form .error.message,.ui.form .error:is(.field,.fields) .error.message,.ui.info.form .info.message,.ui.form .info:is(.field,.fields) .info.message,.ui.success.form .success.message,.ui.form .success:is(.field,.fields) .success.message,.ui.warning.form .warning.message,.ui.form .warning:is(.field,.fields) .warning.message{display:block}}@layer ui.components.form.variations{.one.wide.field{--_field-width:6.25%}.two.wide.field{--_field-width:12.5%}.three.wide.field{--_field-width:18.75%}.four.wide.field{--_field-width:25%}.five.wide.field{--_field-width:31.25%}.six.wide.field{--_field-width:37.5%}.seven.wide.field{--_field-width:43.75%}.eight.wide.field{--_field-width:50%}.nine.wide.field{--_field-width:56.25%}.ten.wide.field{--_field-width:62.5%}.eleven.wide.field{--_field-width:68.75%}.twelve.wide.field{--_field-width:75%}.thirteen.wide.field{--_field-width:81.25%}.fourteen.wide.field{--_field-width:87.5%}.fifteen.wide.field{--_field-width:93.75%}.sixteen.wide.field{--_field-width:100%}.two.fields{--_ui-fields-child-width:50%}.three.fields{--_ui-fields-child-width:33.3333%}.four.fields{--_ui-fields-child-width:25%}.five.fields{--_ui-fields-child-width:20%}.six.fields{--_ui-fields-child-width:16.6667%}.seven.fields{--_ui-fields-child-width:14.2857%}.eight.fields{--_ui-fields-child-width:12.5%}.nine.fields{--_ui-fields-child-width:11.1111%}.ten.fields{--_ui-fields-child-width:10%}.fields[class*=equal\\ width]{--_ui-fields-child-width:100%;--_ui-fields-child-flex:1 1 auto}.ui[class*=equal\\ width].form{--_ui-form-equal-width:1}@container style(--_ui-form-equal-width:1){.fields{--_ui-fields-child-width:100%;--_ui-fields-child-flex:1 1 auto}}.grouped.fields{--_ui-fields-pad-start:0;--_ui-fields-pad-end:0;--_ui-fields-field-margin:.5em 0;margin:0 0 var(--_ui-form-row-distance,var(--ui-form-row-distance,1em));display:block}.inline.fields{--_ui-fields-pad-start:0;--_ui-fields-pad-end:1em;--_ui-fields-inline:1;--_ui-input-owner-width:auto;margin:0 0 var(--_ui-form-row-distance,var(--ui-form-row-distance,1em));align-items:center}.inline.fields ::slotted(label),.ui.form .inline.fields>label{margin:.03571em 1em 0 0;display:inline-block}.inline.field{--_ui-input-owner-width:auto}.inline.field ::slotted(label),.ui.form .inline:is(.field,.fields) .field>label,.ui.form .inline.field>label{vertical-align:baseline;width:auto;margin:0 .85714em 0 0;display:inline-block}@container style(--_ui-fields-inline:1){.field{--_ui-input-owner-width:auto}.field ::slotted(label){vertical-align:baseline;margin:0 .85714em 0 0;display:inline-block}}.required.field ::slotted(label):after,.required:is(.grouped,.inline).fields ::slotted(label):after,.ui.form .required.field>label:after,.ui.form .required:is(.grouped,.inline).fields>label:after,.ui.form .required.fields:not(.grouped,.inline)>.field>label:after{content:\"*\";color:var(--_ui-form-required-color,var(--ui-form-required-color,var(--ui-negative-text)));vertical-align:top;margin:-.2em 0 0 .2em;display:inline-block}.required.fields:not(.grouped,.inline){--_ui-fields-required:1}@container style(--_ui-fields-required:1){.field ::slotted(label):after{content:\"*\";color:var(--_ui-form-required-color,var(--ui-form-required-color,var(--ui-negative-text)));vertical-align:top;margin:-.2em 0 0 .2em;display:inline-block}}.ui.inverted.form{--_ui-form-label-color:var(--_ui-form-inverted-label-color);color:var(--_ui-form-inverted-label-color)}.ui.unstackable.form{--_ui-form-unstackable:1}.ui.stack-with-page.form{--_ui-form-stack-with:page}.ui.stack-with-container.form{--_ui-form-stack-with:container}@container (width<768px){@container style(not (--_ui-form-unstackable:1)) and style(not (--_ui-form-stack-with:page)){.fields:not(.unstackable){--_ui-fields-child-width:100%;--_ui-fields-stacked:1;--_ui-fields-field-margin:0 0 var(--_ui-form-row-distance,var(--ui-form-row-distance,1em));flex-wrap:wrap;margin-block-end:0}}}@media (width<768px){@container style(not (--_ui-form-unstackable:1)) and style(--_ui-form-stack-with:page){.fields:not(.unstackable){--_ui-fields-child-width:100%;--_ui-fields-stacked:1;--_ui-fields-field-margin:0 0 var(--_ui-form-row-distance,var(--ui-form-row-distance,1em));flex-wrap:wrap;margin-block-end:0}}}@container style(--_ui-fields-stacked:1){.field{width:100%}}}@layer ui.components.form.states{:is(.field,.fields).error{--_ui-field-state-color:var(--ui-error-text);--_ui-field-state-background:var(--ui-error-background);--_ui-field-state-border:var(--ui-error-border)}:is(.field,.fields).info{--_ui-field-state-color:var(--ui-info-text);--_ui-field-state-background:var(--ui-info-background);--_ui-field-state-border:var(--ui-info-border)}:is(.field,.fields).success{--_ui-field-state-color:var(--ui-success-text);--_ui-field-state-background:var(--ui-success-background);--_ui-field-state-border:var(--ui-success-border)}:is(.field,.fields).warning{--_ui-field-state-color:var(--ui-warning-text);--_ui-field-state-background:var(--ui-warning-background);--_ui-field-state-border:var(--ui-warning-border)}:is(.field,.fields):is(.error,.info,.success,.warning){--_field-label-color:var(--_ui-field-state-color)}:is(.field,.fields).disabled,.ui.disabled.form{opacity:var(--_ui-form-disabled-opacity,var(--ui-form-disabled-opacity,var(--ui-disabled-opacity)));pointer-events:none}.ui.loading.form{cursor:default;pointer-events:none}.ui.loading.form:before{content:\"\";z-index:100;background:var(--_ui-form-loader-dimmer);position:absolute;inset:0}.ui.loading.form:after{content:\"\";z-index:101;box-sizing:border-box;width:var(--_ui-form-loader-size);height:var(--_ui-form-loader-size);margin:calc(var(--_ui-form-loader-size) / -2) 0 0 calc(var(--_ui-form-loader-size) / -2);border:var(--_ui-form-loader-width) solid var(--_ui-form-loader-fill);border-top-color:var(--_ui-form-loader-line);border-radius:var(--ui-radius-circle);animation:ui-form-spin var(--_ui-form-loader-speed) linear infinite;position:absolute;top:50%;left:50%}@media (prefers-reduced-motion:reduce){.ui.loading.form:after{animation-duration:calc(var(--_ui-form-loader-speed) * 4)}}}@keyframes ui-form-spin{to{rotate:1turn}}", Ie = "@layer ui.components.field.types{.field{--_ui-field-row-gap:var(--ui-field-row-gap,.5em);--_ui-field-output-color:var(--ui-field-output-color,var(--ui-text-muted));--_ui-field-hint-color:var(--ui-field-hint-color,var(--ui-text-muted));--_ui-field-error-color:var(--ui-field-error-color,var(--ui-negative-text));--_ui-field-tip-background:var(--ui-field-tip-background,var(--ui-text-dark));--_ui-field-tip-color:var(--ui-field-tip-color,var(--ui-text-inverted-color));--_ui-field-tip-width:var(--ui-field-tip-width,16.25em);--_ui-field-tip-delay:var(--ui-field-tip-delay,var(--ui-hover-delay,0s))}.field>.control{display:contents}}@layer ui.components.field.content{.field>.row{align-items:center;gap:var(--_ui-field-row-gap);margin:0 0 var(--_ui-form-label-distance,var(--ui-form-label-distance,.28571em));color:var(--_field-label-color,var(--_ui-form-label-color,var(--ui-form-label-color,var(--ui-text-color))));font-size:var(--_ui-form-label-font-size,var(--ui-form-label-font-size,.92857em));font-weight:var(--_ui-form-label-font-weight,var(--ui-form-label-font-weight,var(--ui-font-weight-bold)));line-height:1.2;display:flex}.field>.row>.label{flex:0 auto;min-width:0;margin-inline-end:auto}.required.field>.row>.label:after{content:\"*\";color:var(--_ui-form-required-color,var(--ui-form-required-color,var(--ui-negative-text)));vertical-align:top;margin:-.2em 0 0 .2em;display:inline-block}.field>.row>.actions{align-items:center;gap:.25em;height:1.2em;display:inline-flex}.field>.row>.output{color:var(--_ui-field-output-color);font-family:var(--ui-font-family-mono);font-size:.92em;font-weight:var(--ui-font-weight-normal);font-variant-numeric:tabular-nums}.field>.row>.hint{min-width:0;color:var(--_ui-field-hint-color);font-size:.84615em;font-weight:var(--ui-font-weight-normal);text-overflow:ellipsis;white-space:nowrap;flex:0 auto;overflow:hidden}.field>.row>.unsaved{opacity:.5;cursor:help;width:1em;height:1em;display:inline-flex;position:relative}.field>.row>.unsaved>svg{fill:currentColor;width:100%;height:100%}.field>.row>.unsaved:after{content:\"\";width:120%;height:.15em;box-shadow:0 0 0 .06em var(--ui-panel-background,transparent);background:currentColor;border-radius:.1em;position:absolute;inset-block-start:50%;inset-inline-start:-10%;transform:rotate(-45deg)}.field>.row>.info{opacity:.4;cursor:help;border-radius:var(--ui-radius-circle,50%);width:1em;height:1em;display:inline-flex;position:relative}.field>.row>.info:is(:hover,:focus-visible){opacity:1}.field>.row>.info:focus-visible{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:2px}.field>.row>.info>svg{fill:currentColor;width:100%;height:100%}.field>.row>.info>.tip{z-index:var(--ui-z-popup,30);box-sizing:border-box;width:var(--_ui-field-tip-width);border-radius:var(--ui-radius-s,8px);background:var(--_ui-field-tip-background);box-shadow:var(--ui-shadow-floating);color:var(--_ui-field-tip-color);font-size:.92em;font-weight:var(--ui-font-weight-normal);opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--ui-duration-fast) var(--ui-ease), visibility var(--ui-duration-fast);padding:.625em .75em;line-height:1.45;position:absolute;inset-block-start:calc(100% + .5em);inset-inline-end:-.5em}.field>.row>.info:is(:hover,:focus)>.tip{opacity:1;visibility:visible}.field>.row>.info:hover>.tip{transition-delay:var(--_ui-field-tip-delay)}.field>.row>.info:focus>.tip{transition:none}.field>.row>.info{anchor-name:--ui-field-info}.field>.row>.info>.tip:popover-open{position-anchor:--ui-field-info;position-area:block-end span-inline-start;position-try-fallbacks:flip-block, flip-inline, flip-block flip-inline;border:0;max-width:calc(100vw - 1em);height:fit-content;margin:.5em 0;position:fixed;inset:auto;overflow:visible}.field>.row>.info:is(:hover,:focus)>.tip:popover-open{@starting-style{opacity:0;visibility:hidden}}.field>:is(.hint,.error.prompt){margin:.375em 0 0;font-size:.85714em;line-height:1.4}.field>.hint{color:var(--_ui-field-hint-color)}.field>.error.prompt{color:var(--_ui-field-error-color)}.field>.error.prompt>.message{display:block}}@layer ui.components.field.states{.inline.field:has(>.row){flex-flow:wrap;align-items:center;column-gap:.85714em;display:flex}.inline.field>.row{margin:0}.inline.field>.row>.label{margin-inline-end:0}.inline.field>.control{flex:12em;align-items:center;gap:.5em;min-width:0;display:flex}.inline.field>:is(.hint,.error.prompt){flex-basis:100%}.error.field>.row>.label{color:var(--_ui-field-error-color)}}", Le = /* @__PURE__ */ M("<div><!><!>"), Re = /* @__PURE__ */ M("<div><slot>"), ze = /* @__PURE__ */ M("<div role=alert>"), Be = /* @__PURE__ */ M("<div><!><!><!>"), Ve = /* @__PURE__ */ M("<div>"), He = /* @__PURE__ */ M("<span><slot>"), Ue = /* @__PURE__ */ M("<span tabindex=0 role=img><span role=tooltip><slot>"), We = /* @__PURE__ */ M("<span role=img>"), Ge = /* @__PURE__ */ M("<div><span><slot></slot></span><!><!><!><!><!><!>"), Ke = /* @__PURE__ */ M("<slot>"), qe, Je, Ye, Xe, V, Ze, Qe, $e, et, tt, nt, rt, it, at, ot, H, st, U = class _DOMFieldElement extends (Xe = n, Ye = [x], Je = [x], qe = [x], Xe) {
|
|
652
|
+
}, z = "@layer ui.components.form.types{:host{display:contents}:host(:state(root)){display:block;container-type:inline-size}.ui.form{--_ui-form-gutter:var(--ui-form-gutter,1em);--_ui-form-row-distance:var(--ui-form-row-distance,1em);--_ui-form-label-distance:var(--ui-form-label-distance,.28571em);--_ui-form-label-font-size:var(--ui-form-label-font-size,.92857em);--_ui-form-label-font-weight:var(--ui-form-label-font-weight,var(--ui-font-weight-bold));--_ui-form-required-color:var(--ui-form-required-color,var(--ui-negative-text));--_ui-form-disabled-opacity:var(--ui-form-disabled-opacity,var(--ui-disabled-opacity));--_ui-form-loader-size:var(--ui-form-loader-size,3em);--_ui-form-loader-width:var(--ui-form-loader-width,.2em);--_ui-form-loader-fill:var(--ui-form-loader-fill,oklch(from var(--ui-ink) l c h / .1));--_ui-form-loader-line:var(--ui-form-loader-line,var(--ui-text-muted));--_ui-form-loader-speed:var(--ui-form-loader-speed,.6s);--_ui-form-loader-dimmer:var(--ui-form-loader-dimmer,color-mix(in oklab, var(--ui-surface) 80%, transparent));--_ui-form-inverted-label-color:var(--ui-form-inverted-label-color,var(--ui-text-inverted-color));--_ui-form-label-color:var(--ui-form-label-color,var(--ui-text-color));--_ui-form-equal-width:0;--_ui-form-unstackable:0;--_ui-form-stack-with:var(--ui-stack-with,container);box-sizing:border-box;max-width:100%;color:var(--ui-text-color);font-family:var(--ui-font-family);font-size:calc(var(--ui-font-size) * var(--ui-scale,1));line-height:var(--ui-line-height);position:relative;container:ui-form/inline-size}.ui.form ::slotted(form){margin:0;display:block}.field{--_ui-input-owner-width:100%;box-sizing:border-box;width:var(--_field-width,var(--_ui-fields-child-width,auto));flex:var(--_ui-fields-child-flex,0 1 auto);clear:both;min-width:0;margin:var(--_ui-fields-field-margin,0 0 var(--_ui-form-row-distance,var(--ui-form-row-distance,1em)));padding-inline:var(--_ui-fields-pad-start,0) var(--_ui-fields-pad-end,0)}:host(:last-child)>.field,.ui.form .field:last-child{margin-block-end:0}.field>slot,.field>.control>slot{--_ui-fields-child-width:initial;--_ui-fields-child-flex:initial;--_ui-fields-pad-start:initial;--_ui-fields-pad-end:initial;--_ui-fields-field-margin:initial;--_ui-fields-inline:initial;--_ui-fields-required:initial;--_ui-fields-stacked:initial}.field>slot,.field>.control>slot,.fields>slot{--ui-color:initial;--ui-color-text:initial;--ui-color-header:initial;--ui-color-border:initial;--ui-color-background:initial;--ui-color-inverted:initial;--ui-color-on:initial;--ui-color-inverted-on:initial;--ui-color-hover:initial;--ui-color-focus:initial;--ui-color-down:initial;--ui-color-active:initial}.fields{--_ui-fields-child-width:auto;--_ui-fields-child-flex:0 1 auto;--_ui-fields-pad-start:calc(var(--_ui-form-gutter,var(--ui-form-gutter,1em)) / 2);--_ui-fields-pad-end:calc(var(--_ui-form-gutter,var(--ui-form-gutter,1em)) / 2);--_ui-fields-field-margin:0;--_ui-fields-inline:0;--_ui-fields-required:0;--_ui-fields-stacked:0;box-sizing:border-box;margin:0 calc(var(--_ui-form-gutter,var(--ui-form-gutter,1em)) / -2) var(--_ui-form-row-distance,var(--ui-form-row-distance,1em));flex-direction:row;grid-column:1/-1;display:flex}:host(:last-child)>.fields,.ui.form .fields:last-child{margin-block-end:0}}@layer ui.components.form.content{.field ::slotted(label),.fields ::slotted(label),.ui.form :is(.field,.fields)>label{margin:0 0 var(--_ui-form-label-distance,var(--ui-form-label-distance,.28571em));color:var(--_field-label-color,var(--_ui-form-label-color,var(--ui-form-label-color,var(--ui-text-color))));font-size:var(--_ui-form-label-font-size,var(--ui-form-label-font-size,.92857em));font-weight:var(--_ui-form-label-font-weight,var(--ui-form-label-font-weight,var(--ui-font-weight-bold)));text-transform:none;display:block}.ui.form>.debug{border:var(--ui-border);border-radius:var(--ui-radius);background-color:var(--ui-surface-strong);margin:1em 0 0;padding:.5em .75em}.ui.form>.debug>figcaption{color:var(--ui-text-muted);font-size:.85714em;font-weight:var(--ui-font-weight-bold);margin:0 0 .25em}.ui.form>.debug>pre{font-family:var(--ui-font-family-mono);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.85714em}.ui.form .field .ui.input{width:100%}.ui.form .inline:is(.field,.fields) .ui.input{width:auto}.field ::slotted(p),.ui.form .field>p{margin:1em 0}.ui.form .message:is(.error,.info,.success,.warning){display:none}.ui.error.form .error.message,.ui.form .error:is(.field,.fields) .error.message,.ui.info.form .info.message,.ui.form .info:is(.field,.fields) .info.message,.ui.success.form .success.message,.ui.form .success:is(.field,.fields) .success.message,.ui.warning.form .warning.message,.ui.form .warning:is(.field,.fields) .warning.message{display:block}}@layer ui.components.form.variations{.one.wide.field{--_field-width:6.25%}.two.wide.field{--_field-width:12.5%}.three.wide.field{--_field-width:18.75%}.four.wide.field{--_field-width:25%}.five.wide.field{--_field-width:31.25%}.six.wide.field{--_field-width:37.5%}.seven.wide.field{--_field-width:43.75%}.eight.wide.field{--_field-width:50%}.nine.wide.field{--_field-width:56.25%}.ten.wide.field{--_field-width:62.5%}.eleven.wide.field{--_field-width:68.75%}.twelve.wide.field{--_field-width:75%}.thirteen.wide.field{--_field-width:81.25%}.fourteen.wide.field{--_field-width:87.5%}.fifteen.wide.field{--_field-width:93.75%}.sixteen.wide.field{--_field-width:100%}.two.fields{--_ui-fields-child-width:50%}.three.fields{--_ui-fields-child-width:33.3333%}.four.fields{--_ui-fields-child-width:25%}.five.fields{--_ui-fields-child-width:20%}.six.fields{--_ui-fields-child-width:16.6667%}.seven.fields{--_ui-fields-child-width:14.2857%}.eight.fields{--_ui-fields-child-width:12.5%}.nine.fields{--_ui-fields-child-width:11.1111%}.ten.fields{--_ui-fields-child-width:10%}.fields[class*=equal\\ width]{--_ui-fields-child-width:100%;--_ui-fields-child-flex:1 1 auto}.ui[class*=equal\\ width].form{--_ui-form-equal-width:1}@container style(--_ui-form-equal-width:1){.fields{--_ui-fields-child-width:100%;--_ui-fields-child-flex:1 1 auto}}.grouped.fields{--_ui-fields-pad-start:0;--_ui-fields-pad-end:0;--_ui-fields-field-margin:.5em 0;margin:0 0 var(--_ui-form-row-distance,var(--ui-form-row-distance,1em));display:block}.inline.fields{--_ui-fields-pad-start:0;--_ui-fields-pad-end:1em;--_ui-fields-inline:1;--_ui-input-owner-width:auto;margin:0 0 var(--_ui-form-row-distance,var(--ui-form-row-distance,1em));align-items:center}.inline.fields ::slotted(label),.ui.form .inline.fields>label{margin:.03571em 1em 0 0;display:inline-block}.inline.field{--_ui-input-owner-width:auto}.inline.field ::slotted(label),.ui.form .inline:is(.field,.fields) .field>label,.ui.form .inline.field>label{vertical-align:baseline;width:auto;margin:0 .85714em 0 0;display:inline-block}@container style(--_ui-fields-inline:1){.field{--_ui-input-owner-width:auto}.field ::slotted(label){vertical-align:baseline;margin:0 .85714em 0 0;display:inline-block}}.required.field ::slotted(label):after,.required:is(.grouped,.inline).fields ::slotted(label):after,.ui.form .required.field>label:after,.ui.form .required:is(.grouped,.inline).fields>label:after,.ui.form .required.fields:not(.grouped,.inline)>.field>label:after{content:\"*\";color:var(--_ui-form-required-color,var(--ui-form-required-color,var(--ui-negative-text)));vertical-align:top;margin:-.2em 0 0 .2em;display:inline-block}.required.fields:not(.grouped,.inline){--_ui-fields-required:1}@container style(--_ui-fields-required:1){.field ::slotted(label):after{content:\"*\";color:var(--_ui-form-required-color,var(--ui-form-required-color,var(--ui-negative-text)));vertical-align:top;margin:-.2em 0 0 .2em;display:inline-block}}.ui.inverted.form{--_ui-form-label-color:var(--_ui-form-inverted-label-color);color:var(--_ui-form-inverted-label-color)}.ui.unstackable.form{--_ui-form-unstackable:1}.ui.stack-with-page.form{--_ui-form-stack-with:page}.ui.stack-with-container.form{--_ui-form-stack-with:container}@container (width<768px){@container style(not (--_ui-form-unstackable:1)) and style(not (--_ui-form-stack-with:page)){.fields:not(.unstackable){--_ui-fields-child-width:100%;--_ui-fields-stacked:1;--_ui-fields-field-margin:0 0 var(--_ui-form-row-distance,var(--ui-form-row-distance,1em));flex-wrap:wrap;margin-block-end:0}}}@media (width<768px){@container style(not (--_ui-form-unstackable:1)) and style(--_ui-form-stack-with:page){.fields:not(.unstackable){--_ui-fields-child-width:100%;--_ui-fields-stacked:1;--_ui-fields-field-margin:0 0 var(--_ui-form-row-distance,var(--ui-form-row-distance,1em));flex-wrap:wrap;margin-block-end:0}}}@container style(--_ui-fields-stacked:1){.field{width:100%}}}@layer ui.components.form.states{:is(.field,.fields).error{--_ui-field-state-color:var(--ui-error-text);--_ui-field-state-background:var(--ui-error-background);--_ui-field-state-border:var(--ui-error-border)}:is(.field,.fields).info{--_ui-field-state-color:var(--ui-info-text);--_ui-field-state-background:var(--ui-info-background);--_ui-field-state-border:var(--ui-info-border)}:is(.field,.fields).success{--_ui-field-state-color:var(--ui-success-text);--_ui-field-state-background:var(--ui-success-background);--_ui-field-state-border:var(--ui-success-border)}:is(.field,.fields).warning{--_ui-field-state-color:var(--ui-warning-text);--_ui-field-state-background:var(--ui-warning-background);--_ui-field-state-border:var(--ui-warning-border)}:is(.field,.fields):is(.error,.info,.success,.warning){--_field-label-color:var(--_ui-field-state-color)}:is(.field,.fields).disabled,.ui.disabled.form{opacity:var(--_ui-form-disabled-opacity,var(--ui-form-disabled-opacity,var(--ui-disabled-opacity)));pointer-events:none}.ui.loading.form{cursor:default;pointer-events:none}.ui.loading.form:before{content:\"\";z-index:100;background:var(--_ui-form-loader-dimmer);position:absolute;inset:0}.ui.loading.form:after{content:\"\";z-index:101;box-sizing:border-box;width:var(--_ui-form-loader-size);height:var(--_ui-form-loader-size);margin:calc(var(--_ui-form-loader-size) / -2) 0 0 calc(var(--_ui-form-loader-size) / -2);border:var(--_ui-form-loader-width) solid var(--_ui-form-loader-fill);border-top-color:var(--_ui-form-loader-line);border-radius:var(--ui-radius-circle);animation:ui-form-spin var(--_ui-form-loader-speed) linear infinite;position:absolute;top:50%;left:50%}@media (prefers-reduced-motion:reduce){.ui.loading.form:after{animation-duration:calc(var(--_ui-form-loader-speed) * 4)}}}@keyframes ui-form-spin{to{rotate:1turn}}", Le = "@layer ui.components.field.types{.field{--_ui-field-row-gap:var(--ui-field-row-gap,var(--ui-space-xs));--_ui-field-output-color:var(--ui-field-output-color,var(--ui-text-muted));--_ui-field-hint-color:var(--ui-field-hint-color,var(--ui-text-muted));--_ui-field-error-color:var(--ui-field-error-color,var(--ui-negative-text));--_ui-field-tip-background:var(--ui-field-tip-background,var(--ui-text-dark));--_ui-field-tip-color:var(--ui-field-tip-color,var(--ui-text-inverted-color));--_ui-field-tip-width:var(--ui-field-tip-width,16.25em);--_ui-field-tip-delay:var(--ui-field-tip-delay,var(--ui-hover-delay,0s))}.field>.control{display:contents}}@layer ui.components.field.content{.field>.row{align-items:center;gap:var(--_ui-field-row-gap);margin:0 0 var(--_ui-form-label-distance,var(--ui-form-label-distance,.28571em));color:var(--_field-label-color,var(--_ui-form-label-color,var(--ui-form-label-color,var(--ui-text-color))));font-size:var(--_ui-form-label-font-size,var(--ui-form-label-font-size,.92857em));font-weight:var(--_ui-form-label-font-weight,var(--ui-form-label-font-weight,var(--ui-font-weight-bold)));line-height:1.2;display:flex}.field>.row>.label{flex:0 auto;min-width:0;margin-inline-end:auto}.required.field>.row>.label:after{content:\"*\";color:var(--_ui-form-required-color,var(--ui-form-required-color,var(--ui-negative-text)));vertical-align:top;margin:-.2em 0 0 .2em;display:inline-block}.field>.row>.actions{align-items:center;gap:.25em;height:1.2em;display:inline-flex}.field>.row>.output{color:var(--_ui-field-output-color);font-family:var(--ui-font-family-mono);font-size:.92em;font-weight:var(--ui-font-weight-normal);font-variant-numeric:tabular-nums}.field>.row>.hint{min-width:0;color:var(--_ui-field-hint-color);font-size:.84615em;font-weight:var(--ui-font-weight-normal);text-overflow:ellipsis;white-space:nowrap;flex:0 auto;overflow:hidden}.field>.row>.unsaved{opacity:0;cursor:help;width:1em;height:1em;transition:opacity var(--ui-duration-fast) var(--ui-ease);display:inline-flex;position:relative}:host(:is(:hover,:focus-within)) .field>.row>.unsaved,.field>.row>.unsaved:focus{opacity:1}.field>.row>.unsaved>svg{fill:currentColor;opacity:.5;width:100%;height:100%}.field>.row>.info{opacity:.4;cursor:help;border-radius:var(--ui-radius-circle,50%);width:1em;height:1em;display:inline-flex;position:relative}.field>.row>.info:is(:hover,:focus-visible){opacity:1}.field>.row>.info:focus-visible{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:2px}.field>.row>.info>svg{fill:currentColor;width:100%;height:100%}.field>.row>:is(.info,.unsaved)>.tip{z-index:var(--ui-z-popup,30);box-sizing:border-box;width:var(--_ui-field-tip-width);border-radius:var(--ui-radius-s,8px);background:var(--_ui-field-tip-background);box-shadow:var(--ui-shadow-floating);color:var(--_ui-field-tip-color);font-size:.92em;font-weight:var(--ui-font-weight-normal);opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--ui-duration-fast) var(--ui-ease), visibility var(--ui-duration-fast);padding:.625em .75em;line-height:1.45;position:absolute;inset-block-start:calc(100% + .5em);inset-inline-end:-.5em}.field>.row>:is(.info,.unsaved):is(:hover,:focus)>.tip{opacity:1;visibility:visible}.field>.row>:is(.info,.unsaved):hover>.tip{transition-delay:var(--_ui-field-tip-delay)}.field>.row>:is(.info,.unsaved):focus>.tip{transition:none}.field>.row>.info{--_field-tip-anchor:--ui-field-info;anchor-name:--ui-field-info}.field>.row>.unsaved{--_field-tip-anchor:--ui-field-unsaved;anchor-name:--ui-field-unsaved}.field>.row>:is(.info,.unsaved)>.tip:popover-open{position-anchor:var(--_field-tip-anchor);position-area:block-end span-inline-start;position-try-fallbacks:flip-block, flip-inline, flip-block flip-inline;border:0;max-width:calc(100vw - 1em);height:fit-content;margin:.5em 0;position:fixed;inset:auto;overflow:visible}.field>.row>:is(.info,.unsaved):is(:hover,:focus)>.tip:popover-open{@starting-style{opacity:0;visibility:hidden}}.field>:is(.hint,.error.prompt){margin:.375em 0 0;font-size:.85714em;line-height:1.4}.field>.hint{color:var(--_ui-field-hint-color)}.field>.error.prompt{color:var(--_ui-field-error-color)}.field>.error.prompt>.message{display:block}}@layer ui.components.field.states{.inline.field:has(>.row){flex-flow:wrap;align-items:center;column-gap:.85714em;display:flex}.inline.field>.row{margin:0}.inline.field>.row>.label{margin-inline-end:0}.inline.field>.control{align-items:center;gap:var(--ui-space-xs);flex:12em;min-width:0;display:flex}.inline.field>:is(.hint,.error.prompt){flex-basis:100%}.error.field>.row>.label{color:var(--_ui-field-error-color)}}", Re = /* @__PURE__ */ j("<div><!><!>"), ze = /* @__PURE__ */ j("<div><slot>"), Be = /* @__PURE__ */ j("<div role=alert>"), Ve = /* @__PURE__ */ j("<div><!><!><!><!>"), He = /* @__PURE__ */ j("<div>"), Ue = /* @__PURE__ */ j("<span><slot>"), We = /* @__PURE__ */ j("<span tabindex=0 role=img><span role=tooltip><slot>"), Ge = /* @__PURE__ */ j("<span tabindex=0 role=img><span role=tooltip>"), Ke = /* @__PURE__ */ j("<div><span><slot></slot></span><!><!><!><!><!><!>"), qe = /* @__PURE__ */ j("<slot>"), Je, Ye, Xe, Ze, B, Qe, $e, et, tt, nt, rt, it, at, ot, st, V, ct, H = class _DOMFieldElement extends (Ze = t, Xe = [S], Ye = [S], Je = [S], Ze) {
|
|
652
653
|
constructor() {
|
|
653
|
-
super(...arguments),
|
|
654
|
+
super(...arguments), p(B, 5, this);
|
|
654
655
|
}
|
|
655
656
|
showErrors(e) {
|
|
656
657
|
this.component?.showErrors(e);
|
|
@@ -665,19 +666,19 @@ var L = I, R = /* @__PURE__ */ Symbol("unbound"), z = /* @__PURE__ */ Symbol("mi
|
|
|
665
666
|
return this.component?.translationForKey("mixed");
|
|
666
667
|
}
|
|
667
668
|
};
|
|
668
|
-
|
|
669
|
-
var
|
|
669
|
+
B = n(Ze), d(B, 2, "errors", Xe, H), d(B, 2, "shownLabel", Ye, H), d(B, 2, "mixedText", Je, H), f(B, H), a(H, "DOMFieldElement");
|
|
670
|
+
var lt = H, U = class _UIField extends (st = u, ot = [v], at = [y], it = [x], rt = [S], nt = [h("mixed")], tt = [h("readonly")], et = [h("field")], $e = [_("labelText", "isReady")], Qe = [S], st) {
|
|
670
671
|
constructor() {
|
|
671
|
-
super(...arguments),
|
|
672
|
+
super(...arguments), p(V, 5, this), i(this, "slots", new c(this.domElement)), i(this, "infoGlyph", new r({
|
|
672
673
|
owner: this,
|
|
673
|
-
name: /* @__PURE__ */
|
|
674
|
-
})),
|
|
674
|
+
name: /* @__PURE__ */ a(() => this.hasDescription ? dt : void 0, "name")
|
|
675
|
+
})), i(this, "unsavedGlyph", new r({
|
|
675
676
|
owner: this,
|
|
676
|
-
name: /* @__PURE__ */
|
|
677
|
-
})),
|
|
677
|
+
name: /* @__PURE__ */ a(() => this.unsavedText ? ft : void 0, "name")
|
|
678
|
+
})), b(this, ct, p(V, 8, this, [])), p(V, 11, this), i(this, "controlSlot"), i(this, "named", /* @__PURE__ */ new WeakSet()), i(this, "onControlChange", p(V, 20, this, /* @__PURE__ */ a(() => {
|
|
678
679
|
this.nameControls(this.labelText);
|
|
679
|
-
}, "onControlChange"))),
|
|
680
|
-
(this.controlSlot?.assignedElements().find((e) => e.localName !== "label"))?.focus();
|
|
680
|
+
}, "onControlChange"))), p(V, 23, this), i(this, "onLabelClick", /* @__PURE__ */ a(() => {
|
|
681
|
+
(this.controlSlot?.assignedElements().find((e) => e.localName !== "label" && e.checkVisibility()))?.focus();
|
|
681
682
|
}, "onLabelClick"));
|
|
682
683
|
}
|
|
683
684
|
get labelText() {
|
|
@@ -723,7 +724,7 @@ var ct = U, W = class _UIField extends (ot = d, at = [v], it = [y], rt = [b], nt
|
|
|
723
724
|
(t.length !== e.length || t.some((t, n) => t !== e[n])) && (this.formErrors = [...e]);
|
|
724
725
|
}
|
|
725
726
|
get shownState() {
|
|
726
|
-
return this.errors.length ?
|
|
727
|
+
return this.errors.length ? Se : this.state;
|
|
727
728
|
}
|
|
728
729
|
cssStates() {
|
|
729
730
|
return FormStateFlags.of(this.shownState);
|
|
@@ -742,7 +743,7 @@ var ct = U, W = class _UIField extends (ot = d, at = [v], it = [y], rt = [b], nt
|
|
|
742
743
|
}
|
|
743
744
|
render() {
|
|
744
745
|
let e = this;
|
|
745
|
-
var t =
|
|
746
|
+
var t = Ve(), n = t.firstChild, r = n.nextSibling, i = r.nextSibling, a = i.nextSibling;
|
|
746
747
|
return O(t, T(C, {
|
|
747
748
|
get when() {
|
|
748
749
|
return e.hasRow;
|
|
@@ -751,77 +752,78 @@ var ct = U, W = class _UIField extends (ot = d, at = [v], it = [y], rt = [b], nt
|
|
|
751
752
|
return e.controlSlotElement();
|
|
752
753
|
},
|
|
753
754
|
get children() {
|
|
754
|
-
return [
|
|
755
|
-
var t =
|
|
755
|
+
return [ge(() => e.labelRow()), (() => {
|
|
756
|
+
var t = Re(), n = t.firstChild, r = n.nextSibling;
|
|
756
757
|
return O(t, () => e.controlStart(), n), O(t, () => e.controlSlotElement(), r), E(() => ({
|
|
757
|
-
e:
|
|
758
|
+
e: k(W.control),
|
|
758
759
|
t: e.partForName("control")
|
|
759
760
|
}), ({ e, t: n }, r) => {
|
|
760
|
-
w(t, e, r?.e), n !== r?.t &&
|
|
761
|
+
w(t, e, r?.e), n !== r?.t && A(t, "part", n);
|
|
761
762
|
}), t;
|
|
762
763
|
})()];
|
|
763
764
|
}
|
|
764
765
|
}), n), O(t, T(C, {
|
|
765
766
|
get when() {
|
|
766
|
-
return
|
|
767
|
+
return ge(() => !!e.hasHint)() ? !e.hasHintInRow : e.hasHint;
|
|
767
768
|
},
|
|
768
769
|
get children() {
|
|
769
|
-
var t =
|
|
770
|
+
var t = ze(), n = t.firstChild;
|
|
770
771
|
return n._$owner = D(), O(n, () => e.hintText), E(() => ({
|
|
771
|
-
e:
|
|
772
|
+
e: k(W.hint),
|
|
772
773
|
t: e.partForName("hint"),
|
|
773
774
|
a: e.slotForName("hint")
|
|
774
775
|
}), ({ e, t: r, a: i }, a) => {
|
|
775
|
-
w(t, e, a?.e), r !== a?.t &&
|
|
776
|
+
w(t, e, a?.e), r !== a?.t && A(t, "part", r), i !== a?.a && A(n, "name", i);
|
|
776
777
|
}), t;
|
|
777
778
|
}
|
|
778
|
-
}), r), O(t, T(C, {
|
|
779
|
+
}), r), O(t, () => e.controlEnd(), i), O(t, T(C, {
|
|
779
780
|
get when() {
|
|
780
781
|
return e.errors.length;
|
|
781
782
|
},
|
|
782
783
|
get children() {
|
|
783
|
-
var t =
|
|
784
|
+
var t = Be();
|
|
784
785
|
return O(t, T(de, {
|
|
785
786
|
get each() {
|
|
786
787
|
return e.errors;
|
|
787
788
|
},
|
|
788
789
|
children: (e) => (() => {
|
|
789
|
-
var t =
|
|
790
|
-
return O(t, e), E(() =>
|
|
790
|
+
var t = He();
|
|
791
|
+
return O(t, e), E(() => k(o), (e, n) => {
|
|
791
792
|
w(t, e, n);
|
|
792
793
|
}), t;
|
|
793
794
|
})()
|
|
794
795
|
})), E(() => ({
|
|
795
|
-
e:
|
|
796
|
+
e: k(W.error),
|
|
796
797
|
t: e.partForName("error")
|
|
797
798
|
}), ({ e, t: n }, r) => {
|
|
798
|
-
w(t, e, r?.e), n !== r?.t &&
|
|
799
|
+
w(t, e, r?.e), n !== r?.t && A(t, "part", n);
|
|
799
800
|
}), t;
|
|
800
801
|
}
|
|
801
|
-
}),
|
|
802
|
-
e:
|
|
802
|
+
}), a), E(() => ({
|
|
803
|
+
e: k(e.rootClass),
|
|
803
804
|
t: e.partForName("field"),
|
|
804
805
|
a: e.disabled
|
|
805
806
|
}), ({ e, t: n, a: r }, i) => {
|
|
806
|
-
w(t, e, i?.e), n !== i?.t &&
|
|
807
|
+
w(t, e, i?.e), n !== i?.t && A(t, "part", n), r !== i?.a && A(t, "inert", r);
|
|
807
808
|
}), t;
|
|
808
809
|
}
|
|
810
|
+
controlEnd() {}
|
|
809
811
|
rowEnd() {}
|
|
810
812
|
labelRow() {
|
|
811
813
|
let e = this;
|
|
812
|
-
var t =
|
|
814
|
+
var t = Ke(), n = t.firstChild, r = n.firstChild, i = n.nextSibling, a = i.nextSibling, o = a.nextSibling, s = o.nextSibling, c = s.nextSibling, l = c.nextSibling;
|
|
813
815
|
return pe(n, "click", e.onLabelClick, !0), r._$owner = D(), O(r, () => e.labelText), O(t, T(C, {
|
|
814
816
|
get when() {
|
|
815
817
|
return e.hasActions;
|
|
816
818
|
},
|
|
817
819
|
get children() {
|
|
818
|
-
var t =
|
|
820
|
+
var t = Ue(), n = t.firstChild;
|
|
819
821
|
return n._$owner = D(), E(() => ({
|
|
820
|
-
e:
|
|
822
|
+
e: k(W.actions),
|
|
821
823
|
t: e.partForName("actions"),
|
|
822
824
|
a: e.slotForName("actions")
|
|
823
825
|
}), ({ e, t: r, a: i }, a) => {
|
|
824
|
-
w(t, e, a?.e), r !== a?.t &&
|
|
826
|
+
w(t, e, a?.e), r !== a?.t && A(t, "part", r), i !== a?.a && A(n, "name", i);
|
|
825
827
|
}), t;
|
|
826
828
|
}
|
|
827
829
|
}), i), O(t, T(C, {
|
|
@@ -829,28 +831,28 @@ var ct = U, W = class _UIField extends (ot = d, at = [v], it = [y], rt = [b], nt
|
|
|
829
831
|
return e.hasOutput;
|
|
830
832
|
},
|
|
831
833
|
get children() {
|
|
832
|
-
var t =
|
|
834
|
+
var t = Ue(), n = t.firstChild;
|
|
833
835
|
return n._$owner = D(), O(n, () => e.output), E(() => ({
|
|
834
|
-
e:
|
|
836
|
+
e: k(W.output),
|
|
835
837
|
t: e.partForName("output"),
|
|
836
838
|
a: e.slotForName("output")
|
|
837
839
|
}), ({ e, t: r, a: i }, a) => {
|
|
838
|
-
w(t, e, a?.e), r !== a?.t &&
|
|
840
|
+
w(t, e, a?.e), r !== a?.t && A(t, "part", r), i !== a?.a && A(n, "name", i);
|
|
839
841
|
}), t;
|
|
840
842
|
}
|
|
841
843
|
}), a), O(t, () => e.rowEnd(), o), O(t, T(C, {
|
|
842
844
|
get when() {
|
|
843
|
-
return
|
|
845
|
+
return ge(() => !!e.hasHint)() ? e.hasHintInRow : e.hasHint;
|
|
844
846
|
},
|
|
845
847
|
get children() {
|
|
846
|
-
var t =
|
|
848
|
+
var t = Ue(), n = t.firstChild;
|
|
847
849
|
return n._$owner = D(), O(n, () => e.hintText), E(() => ({
|
|
848
|
-
e:
|
|
850
|
+
e: k(W.hint),
|
|
849
851
|
t: e.partForName("hint"),
|
|
850
852
|
a: e.hintText,
|
|
851
853
|
o: e.slotForName("hint")
|
|
852
854
|
}), ({ e, t: r, a: i, o: a }, o) => {
|
|
853
|
-
w(t, e, o?.e), r !== o?.t &&
|
|
855
|
+
w(t, e, o?.e), r !== o?.t && A(t, "part", r), i !== o?.a && A(t, "title", i), a !== o?.o && A(n, "name", a);
|
|
854
856
|
}), t;
|
|
855
857
|
}
|
|
856
858
|
}), s), O(t, T(C, {
|
|
@@ -858,16 +860,16 @@ var ct = U, W = class _UIField extends (ot = d, at = [v], it = [y], rt = [b], nt
|
|
|
858
860
|
return e.hasDescription;
|
|
859
861
|
},
|
|
860
862
|
get children() {
|
|
861
|
-
var t =
|
|
862
|
-
return
|
|
863
|
-
e:
|
|
863
|
+
var t = We(), n = t.firstChild, r = n.firstChild;
|
|
864
|
+
return A(t, "aria-describedby", pt), _e(() => (e) => ee.showIn(e, `.${W.info}`, { showOnClick: !0 }), t), O(t, () => e.infoGlyph.svg, n), A(n, "id", pt), r._$owner = D(), O(r, () => e.descriptionText), E(() => ({
|
|
865
|
+
e: k(W.info),
|
|
864
866
|
t: e.partForName("info"),
|
|
865
867
|
a: e.translationForKey("info", { label: e.labelText ?? "" }),
|
|
866
|
-
o:
|
|
868
|
+
o: k(W.tip),
|
|
867
869
|
i: e.partForName("tip"),
|
|
868
870
|
n: e.slotForName("description")
|
|
869
871
|
}), ({ e, t: i, a, o, i: s, n: c }, l) => {
|
|
870
|
-
w(t, e, l?.e), i !== l?.t &&
|
|
872
|
+
w(t, e, l?.e), i !== l?.t && A(t, "part", i), a !== l?.a && A(t, "aria-label", a), w(n, o, l?.o), s !== l?.i && A(n, "part", s), c !== l?.n && A(r, "name", c);
|
|
871
873
|
}), t;
|
|
872
874
|
}
|
|
873
875
|
}), c), O(t, T(C, {
|
|
@@ -875,49 +877,50 @@ var ct = U, W = class _UIField extends (ot = d, at = [v], it = [y], rt = [b], nt
|
|
|
875
877
|
return e.unsavedText;
|
|
876
878
|
},
|
|
877
879
|
get children() {
|
|
878
|
-
var t =
|
|
879
|
-
return O(t, () => e.unsavedGlyph.svg), E(() => ({
|
|
880
|
-
e:
|
|
880
|
+
var t = Ge(), n = t.firstChild;
|
|
881
|
+
return A(t, "aria-describedby", mt), _e(() => (e) => ee.showIn(e, `.${W.unsaved}`, { showOnClick: !0 }), t), O(t, () => e.unsavedGlyph.svg, n), A(n, "id", mt), O(n, () => e.unsavedText), E(() => ({
|
|
882
|
+
e: k(W.unsaved),
|
|
881
883
|
t: e.partForName("unsaved"),
|
|
882
884
|
a: e.unsavedText,
|
|
883
|
-
o:
|
|
884
|
-
|
|
885
|
-
|
|
885
|
+
o: k(W.tip),
|
|
886
|
+
i: e.partForName("tip")
|
|
887
|
+
}), ({ e, t: r, a: i, o: a, i: o }, s) => {
|
|
888
|
+
w(t, e, s?.e), r !== s?.t && A(t, "part", r), i !== s?.a && A(t, "aria-label", i), w(n, a, s?.o), o !== s?.i && A(n, "part", o);
|
|
886
889
|
}), t;
|
|
887
890
|
}
|
|
888
891
|
}), l), E(() => ({
|
|
889
|
-
e:
|
|
892
|
+
e: k(W.row),
|
|
890
893
|
t: e.partForName("row"),
|
|
891
|
-
a:
|
|
894
|
+
a: k(W.label),
|
|
892
895
|
o: e.partForName("label"),
|
|
893
896
|
i: e.labelTitle,
|
|
894
897
|
n: e.slotForName("label")
|
|
895
898
|
}), ({ e, t: i, a, o, i: s, n: c }, l) => {
|
|
896
|
-
w(t, e, l?.e), i !== l?.t &&
|
|
899
|
+
w(t, e, l?.e), i !== l?.t && A(t, "part", i), w(n, a, l?.a), o !== l?.o && A(n, "part", o), s !== l?.i && A(n, "title", s), c !== l?.n && A(r, "name", c);
|
|
897
900
|
}), t;
|
|
898
901
|
}
|
|
899
902
|
controlStart() {}
|
|
900
903
|
controlSlotElement() {
|
|
901
904
|
let e = this;
|
|
902
|
-
var t =
|
|
903
|
-
return pe(t, "slotchange", e.onControlChange),
|
|
905
|
+
var t = qe();
|
|
906
|
+
return pe(t, "slotchange", e.onControlChange), _e(() => (t) => e.controlSlot = t, t), t._$owner = D(), t;
|
|
904
907
|
}
|
|
905
908
|
onLabelChanged(e, t) {
|
|
906
909
|
t && this.nameControls(e);
|
|
907
910
|
}
|
|
908
911
|
nameControls(e) {
|
|
909
|
-
for (let t of this.controlSlot?.assignedElements() ?? []) t.localName !== "label" && (!
|
|
912
|
+
for (let t of this.controlSlot?.assignedElements() ?? []) t.localName !== "label" && (!ht.some((e) => t.hasAttribute(e)) || this.named.has(t)) && (e ? (t.setAttribute("aria-label", e), this.named.add(t)) : this.named.has(t) && (t.removeAttribute("aria-label"), this.named.delete(t)));
|
|
910
913
|
}
|
|
911
914
|
};
|
|
912
|
-
|
|
915
|
+
V = n(st), ct = /* @__PURE__ */ new WeakMap(), d(V, 4, "formErrors", it, U, ct), d(V, 1, "showErrors", rt, U), d(V, 2, "isMixed", nt, U), d(V, 2, "isReadOnly", tt, U), d(V, 2, "isField", et, U), d(V, 1, "onLabelChanged", $e, U), d(V, 13, "vocabulary", ot, U), d(V, 13, "elementSetup", at, U), d(V, 5, "onControlChange", Qe, U), f(V, U), a(U, "UIField"), i(U, "vocabulary", p(V, 12, U, Ie)), p(V, 15, U), i(U, "elementSetup", p(V, 16, U, {
|
|
913
916
|
styleSheets: {
|
|
914
|
-
form:
|
|
915
|
-
field:
|
|
917
|
+
form: z,
|
|
918
|
+
field: Le
|
|
916
919
|
},
|
|
917
|
-
DOMElement:
|
|
920
|
+
DOMElement: lt,
|
|
918
921
|
delegatesFocus: !1
|
|
919
|
-
})),
|
|
920
|
-
var
|
|
922
|
+
})), p(V, 19, U);
|
|
923
|
+
var ut = U, dt = "circle info", ft = "fa7-free:flask", pt = "tip", mt = "unsaved-tip", ht = ["aria-label", "aria-labelledby"], W = {
|
|
921
924
|
row: "row",
|
|
922
925
|
label: "label",
|
|
923
926
|
actions: "actions",
|
|
@@ -930,9 +933,8 @@ var lt = W, ut = "circle info", dt = "save", ft = "tip", pt = ["aria-label", "ar
|
|
|
930
933
|
error: "error prompt"
|
|
931
934
|
};
|
|
932
935
|
me(["click"]);
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
var mt = {
|
|
936
|
+
// src/components/ui-form/UIFields.en.ts
|
|
937
|
+
var gt = {
|
|
936
938
|
tag: "ui-fields",
|
|
937
939
|
icon: "wpforms",
|
|
938
940
|
topics: [
|
|
@@ -946,6 +948,7 @@ var mt = {
|
|
|
946
948
|
"inline fields"
|
|
947
949
|
],
|
|
948
950
|
noun: "fields",
|
|
951
|
+
partOfSpeech: "structure",
|
|
949
952
|
ui: !1,
|
|
950
953
|
description: "A set of fields can appear grouped together, side by side or stacked.",
|
|
951
954
|
attributes: [
|
|
@@ -953,7 +956,7 @@ var mt = {
|
|
|
953
956
|
name: "state",
|
|
954
957
|
group: "form",
|
|
955
958
|
kind: "valueOnly",
|
|
956
|
-
values:
|
|
959
|
+
values: l,
|
|
957
960
|
description: "State of every field inside."
|
|
958
961
|
},
|
|
959
962
|
{
|
|
@@ -1022,32 +1025,32 @@ var mt = {
|
|
|
1022
1025
|
name: "fields",
|
|
1023
1026
|
description: "The row box."
|
|
1024
1027
|
}],
|
|
1025
|
-
states: [...
|
|
1028
|
+
states: [...ye, {
|
|
1026
1029
|
name: "disabled",
|
|
1027
1030
|
description: "Can't be used."
|
|
1028
1031
|
}],
|
|
1029
1032
|
texts: []
|
|
1030
|
-
},
|
|
1033
|
+
}, _t = /* @__PURE__ */ j("<div><slot>"), vt, yt, bt, G, K = class _UIFields extends (bt = u, yt = [v], vt = [y], bt) {
|
|
1031
1034
|
cssStates() {
|
|
1032
1035
|
return FormStateFlags.of(this.state);
|
|
1033
1036
|
}
|
|
1034
1037
|
render() {
|
|
1035
1038
|
let e = this;
|
|
1036
|
-
var t =
|
|
1039
|
+
var t = _t(), n = t.firstChild;
|
|
1037
1040
|
return n._$owner = D(), E(() => ({
|
|
1038
|
-
e:
|
|
1041
|
+
e: k(e.rootClass),
|
|
1039
1042
|
t: e.partForName("fields"),
|
|
1040
1043
|
a: e.disabled
|
|
1041
1044
|
}), ({ e, t: n, a: r }, i) => {
|
|
1042
|
-
w(t, e, i?.e), n !== i?.t &&
|
|
1045
|
+
w(t, e, i?.e), n !== i?.t && A(t, "part", n), r !== i?.a && A(t, "inert", r);
|
|
1043
1046
|
}), t;
|
|
1044
1047
|
}
|
|
1045
1048
|
};
|
|
1046
|
-
|
|
1047
|
-
styleSheets: { form:
|
|
1049
|
+
G = n(bt), d(G, 13, "vocabulary", yt, K), d(G, 13, "elementSetup", vt, K), f(G, K), a(K, "UIFields"), i(K, "vocabulary", p(G, 8, K, gt)), p(G, 11, K), i(K, "elementSetup", p(G, 12, K, {
|
|
1050
|
+
styleSheets: { form: z },
|
|
1048
1051
|
delegatesFocus: !1
|
|
1049
|
-
})),
|
|
1050
|
-
var
|
|
1052
|
+
})), p(G, 15, K);
|
|
1053
|
+
var xt = K, St = {
|
|
1051
1054
|
tag: "ui-form",
|
|
1052
1055
|
icon: "wpforms",
|
|
1053
1056
|
topics: [
|
|
@@ -1062,6 +1065,7 @@ var yt = q, bt = {
|
|
|
1062
1065
|
"validation"
|
|
1063
1066
|
],
|
|
1064
1067
|
noun: "form",
|
|
1068
|
+
partOfSpeech: "action",
|
|
1065
1069
|
description: "A form displays a set of related input fields in a structured way.",
|
|
1066
1070
|
attributes: [
|
|
1067
1071
|
{
|
|
@@ -1080,7 +1084,7 @@ var yt = q, bt = {
|
|
|
1080
1084
|
name: "state",
|
|
1081
1085
|
group: "form",
|
|
1082
1086
|
kind: "valueOnly",
|
|
1083
|
-
values:
|
|
1087
|
+
values: l,
|
|
1084
1088
|
description: "Form state: shows the `<ui-message>`s of that state inside. Failed validation sets `error` on top."
|
|
1085
1089
|
},
|
|
1086
1090
|
{
|
|
@@ -1118,7 +1122,7 @@ var yt = q, bt = {
|
|
|
1118
1122
|
name: "stack-with",
|
|
1119
1123
|
group: "layout",
|
|
1120
1124
|
kind: "enum",
|
|
1121
|
-
values:
|
|
1125
|
+
values: le,
|
|
1122
1126
|
description: "What its rows of fields stack by: `container` (the default) -- the form's own width; `page` -- the screen's, as in Fomantic. Its `<ui-fields>` follow it. Unset: the page-wide `--ui-stack-with` token decides (`<ui-root stack-with>`)."
|
|
1123
1127
|
},
|
|
1124
1128
|
{
|
|
@@ -1126,7 +1130,7 @@ var yt = q, bt = {
|
|
|
1126
1130
|
group: "form",
|
|
1127
1131
|
kind: "enum",
|
|
1128
1132
|
property: "validateOn",
|
|
1129
|
-
values:
|
|
1133
|
+
values: be,
|
|
1130
1134
|
default: "on save",
|
|
1131
1135
|
description: "When fields validate: `immediately`, as each changes; `on leave`, as the cursor leaves each; or only `on save` (a submit, or `save()`). A field showing an error always validates again as it changes."
|
|
1132
1136
|
},
|
|
@@ -1134,7 +1138,7 @@ var yt = q, bt = {
|
|
|
1134
1138
|
name: "apply",
|
|
1135
1139
|
group: "form",
|
|
1136
1140
|
kind: "enum",
|
|
1137
|
-
values:
|
|
1141
|
+
values: xe,
|
|
1138
1142
|
default: "immediately",
|
|
1139
1143
|
description: "When edits land in the bound `value`: `immediately`; or `on save`, all together on `save()`, while `cancel()` drops them (`:state(changed)` while any are held). Each field's own `apply` says when it takes an edit."
|
|
1140
1144
|
},
|
|
@@ -1229,7 +1233,7 @@ var yt = q, bt = {
|
|
|
1229
1233
|
description: "The JSON `debug` shows, a `<pre>` in a captioned box below the content."
|
|
1230
1234
|
}],
|
|
1231
1235
|
states: [
|
|
1232
|
-
...
|
|
1236
|
+
...ye,
|
|
1233
1237
|
{
|
|
1234
1238
|
name: "loading",
|
|
1235
1239
|
description: "Busy."
|
|
@@ -1256,9 +1260,9 @@ var yt = q, bt = {
|
|
|
1256
1260
|
text: "Values",
|
|
1257
1261
|
description: "Caption of `debug`'s JSON while it isn't: the form's `values`."
|
|
1258
1262
|
}]
|
|
1259
|
-
},
|
|
1263
|
+
}, Ct = /* @__PURE__ */ j("<div><slot>"), wt = /* @__PURE__ */ j("<figure class=debug><figcaption></figcaption><pre>"), Tt = /* @__PURE__ */ j("<form><slot>"), Et, Dt, q, Ot, kt, At, jt, Mt, Nt, Pt, Ft, It, Lt, Rt, zt, Bt, Vt, Ht, Ut, Wt, Gt, Kt, qt, Jt, Yt, Xt, J, Zt, Qt, Y, $t, X = class _DOMFormElement extends (Dt = t, Et = [S], Dt) {
|
|
1260
1264
|
constructor() {
|
|
1261
|
-
super(...arguments),
|
|
1265
|
+
super(...arguments), p(q, 5, this);
|
|
1262
1266
|
}
|
|
1263
1267
|
validate() {
|
|
1264
1268
|
return this.component?.validateFields() ?? !0;
|
|
@@ -1285,29 +1289,29 @@ var yt = q, bt = {
|
|
|
1285
1289
|
return this.component?.nativeForm;
|
|
1286
1290
|
}
|
|
1287
1291
|
};
|
|
1288
|
-
|
|
1289
|
-
var
|
|
1292
|
+
q = n(Dt), d(q, 2, "nativeForm", Et, X), f(q, X), a(X, "DOMFormElement");
|
|
1293
|
+
var en = X, Z = class _UIForm extends (Xt = u, Yt = [v], Jt = [y], qt = [x], Kt = [h("fluid")], Gt = [h("changed"), x], Wt = [h("root")], Ut = [x], Ht = [ce], Vt = [g("ui-form-value")], Bt = [S], zt = [S], Rt = [_("nativeForm")], Lt = [_("isBound", "isConnected")], It = [x], Ft = [S], Pt = [S], Nt = [S], Mt = [S], jt = [S], At = [
|
|
1290
1294
|
g("change"),
|
|
1291
1295
|
g("input"),
|
|
1292
1296
|
g("ui-changed")
|
|
1293
|
-
],
|
|
1297
|
+
], kt = [g("focusout")], Ot = [S], Xt) {
|
|
1294
1298
|
constructor() {
|
|
1295
|
-
super(...arguments),
|
|
1299
|
+
super(...arguments), p(J, 5, this), i(this, "fields", new N({
|
|
1296
1300
|
domElement: this.domElement,
|
|
1297
|
-
form: /* @__PURE__ */
|
|
1298
|
-
})),
|
|
1301
|
+
form: /* @__PURE__ */ a(() => this.nativeForm, "form")
|
|
1302
|
+
})), i(this, "binding", new I({
|
|
1299
1303
|
domElement: this.domElement,
|
|
1300
1304
|
fields: this.fields,
|
|
1301
1305
|
form: {
|
|
1302
|
-
isHolding: /* @__PURE__ */
|
|
1303
|
-
canWrite: /* @__PURE__ */
|
|
1304
|
-
onHeldChange: /* @__PURE__ */
|
|
1306
|
+
isHolding: /* @__PURE__ */ a(() => this.apply === nn, "isHolding"),
|
|
1307
|
+
canWrite: /* @__PURE__ */ a((e) => this.passes(e), "canWrite"),
|
|
1308
|
+
onHeldChange: /* @__PURE__ */ a(() => {
|
|
1305
1309
|
this.hasHeldChanges = this.binding.hasHeld, this.onHeldChanged();
|
|
1306
1310
|
}, "onHeldChange"),
|
|
1307
|
-
writesItself: /* @__PURE__ */
|
|
1308
|
-
onWrite: /* @__PURE__ */
|
|
1311
|
+
writesItself: /* @__PURE__ */ a((e, t, n) => this.writesItself(e, t, n), "writesItself"),
|
|
1312
|
+
onWrite: /* @__PURE__ */ a((e) => this.onWritten(e), "onWrite")
|
|
1309
1313
|
}
|
|
1310
|
-
})),
|
|
1314
|
+
})), i(this, "fieldsShowingErrors", /* @__PURE__ */ new Set()), i(this, "savedValues", ""), i(this, "fieldsAwaitingCheck", /* @__PURE__ */ new Set()), i(this, "mergedForm", he ? _UIForm.unwrapForm(this.domElement) : void 0), b(this, Zt, p(J, 8, this, !1)), p(J, 11, this), b(this, Qt, p(J, 12, this, !1)), p(J, 15, this), b(this, Y, p(J, 16, this)), p(J, 19, this), b(this, $t, p(J, 20, this, 0)), p(J, 23, this), i(this, "onSubmit", p(J, 32, this, /* @__PURE__ */ a((e) => {
|
|
1311
1315
|
this.binding.flushWaiting();
|
|
1312
1316
|
let t = this.validateAll();
|
|
1313
1317
|
if (Object.keys(t).length) {
|
|
@@ -1325,16 +1329,16 @@ var $t = X, Z = class _UIForm extends (Jt = d, qt = [v], Kt = [y], Gt = [b], Wt
|
|
|
1325
1329
|
originalEvent: e
|
|
1326
1330
|
};
|
|
1327
1331
|
this.send("ui-saving", n) ? (this.saveValues(), this.onSucceeded()) : e.preventDefault();
|
|
1328
|
-
}, "onSubmit"))),
|
|
1332
|
+
}, "onSubmit"))), p(J, 35, this), i(this, "onReset", /* @__PURE__ */ a(() => {
|
|
1329
1333
|
m(() => {
|
|
1330
1334
|
this.clearErrors(), this.binding.writeAll();
|
|
1331
1335
|
});
|
|
1332
|
-
}, "onReset")),
|
|
1336
|
+
}, "onReset")), i(this, "onBeforeUnload", p(J, 36, this, /* @__PURE__ */ a((e) => {
|
|
1333
1337
|
this.preventLeaving && JSON.stringify(this.values) !== this.savedValues && e.preventDefault();
|
|
1334
|
-
}, "onBeforeUnload"))),
|
|
1338
|
+
}, "onBeforeUnload"))), p(J, 39, this);
|
|
1335
1339
|
}
|
|
1336
1340
|
get shownState() {
|
|
1337
|
-
return this.lastCheckFailed ?
|
|
1341
|
+
return this.lastCheckFailed ? Se : this.state;
|
|
1338
1342
|
}
|
|
1339
1343
|
cssStates() {
|
|
1340
1344
|
return FormStateFlags.of(this.shownState);
|
|
@@ -1349,19 +1353,19 @@ var $t = X, Z = class _UIForm extends (Jt = d, qt = [v], Kt = [y], Gt = [b], Wt
|
|
|
1349
1353
|
return e === "state" ? this.shownState : super.classValue(e);
|
|
1350
1354
|
}
|
|
1351
1355
|
get extraClass() {
|
|
1352
|
-
return
|
|
1356
|
+
return se.classFor(this.stackWith);
|
|
1353
1357
|
}
|
|
1354
1358
|
render() {
|
|
1355
1359
|
if (this.mergedForm) return this.formRoot(this.mergedForm);
|
|
1356
1360
|
let e = this;
|
|
1357
|
-
var t =
|
|
1361
|
+
var t = Ct(), n = t.firstChild;
|
|
1358
1362
|
return n._$owner = D(), O(t, () => e.debugBox(), null), E(() => ({
|
|
1359
|
-
e:
|
|
1363
|
+
e: k(e.rootClass),
|
|
1360
1364
|
t: e.partForName("form"),
|
|
1361
1365
|
a: e.disabled || e.loading,
|
|
1362
1366
|
o: e.loading ? "true" : void 0
|
|
1363
1367
|
}), ({ e, t: n, a: r, o: i }, a) => {
|
|
1364
|
-
w(t, e, a?.e), n !== a?.t &&
|
|
1368
|
+
w(t, e, a?.e), n !== a?.t && A(t, "part", n), r !== a?.a && A(t, "inert", r), i !== a?.o && A(t, "aria-busy", i);
|
|
1365
1369
|
}), t;
|
|
1366
1370
|
}
|
|
1367
1371
|
debugBox() {
|
|
@@ -1371,17 +1375,17 @@ var $t = X, Z = class _UIForm extends (Jt = d, qt = [v], Kt = [y], Gt = [b], Wt
|
|
|
1371
1375
|
return e.debug;
|
|
1372
1376
|
},
|
|
1373
1377
|
get children() {
|
|
1374
|
-
var t =
|
|
1378
|
+
var t = wt(), n = t.firstChild, r = n.nextSibling;
|
|
1375
1379
|
return O(n, () => e.debugCaption), O(r, () => e.debugText), E(() => e.partForName("debug"), (e) => {
|
|
1376
|
-
|
|
1380
|
+
A(r, "part", e);
|
|
1377
1381
|
}), t;
|
|
1378
1382
|
}
|
|
1379
1383
|
});
|
|
1380
1384
|
}
|
|
1381
1385
|
formRoot(e) {
|
|
1382
1386
|
let { class: t, ...n } = e, r = this;
|
|
1383
|
-
var i =
|
|
1384
|
-
return
|
|
1387
|
+
var i = Tt(), a = i.firstChild;
|
|
1388
|
+
return ve(i, [n, {
|
|
1385
1389
|
get class() {
|
|
1386
1390
|
return [r.rootClass, t];
|
|
1387
1391
|
},
|
|
@@ -1397,7 +1401,7 @@ var $t = X, Z = class _UIForm extends (Jt = d, qt = [v], Kt = [y], Gt = [b], Wt
|
|
|
1397
1401
|
}], !0), a._$owner = D(), i;
|
|
1398
1402
|
}
|
|
1399
1403
|
onMount() {
|
|
1400
|
-
return
|
|
1404
|
+
return I.hold(this.domElement, () => this.value), super.onMount();
|
|
1401
1405
|
}
|
|
1402
1406
|
watchForm() {
|
|
1403
1407
|
let e = new MutationObserver(() => this.onContentChanged());
|
|
@@ -1426,7 +1430,7 @@ var $t = X, Z = class _UIForm extends (Jt = d, qt = [v], Kt = [y], Gt = [b], Wt
|
|
|
1426
1430
|
};
|
|
1427
1431
|
}
|
|
1428
1432
|
get isBound() {
|
|
1429
|
-
return
|
|
1433
|
+
return I.isObject(this.value);
|
|
1430
1434
|
}
|
|
1431
1435
|
onBindingChanged(e, t) {
|
|
1432
1436
|
if (e && t && !he) return this.binding.update(), () => this.binding.stop();
|
|
@@ -1435,7 +1439,7 @@ var $t = X, Z = class _UIForm extends (Jt = d, qt = [v], Kt = [y], Gt = [b], Wt
|
|
|
1435
1439
|
return this.translationForKey(this.isBound ? "formDebugBound" : "formDebugValues");
|
|
1436
1440
|
}
|
|
1437
1441
|
get debugText() {
|
|
1438
|
-
let { value: e } = this, t = this.changeCount >= 0 &&
|
|
1442
|
+
let { value: e } = this, t = this.changeCount >= 0 && I.isObject(e) ? e : this.values;
|
|
1439
1443
|
try {
|
|
1440
1444
|
return JSON.stringify(t, null, 2);
|
|
1441
1445
|
} catch (e) {
|
|
@@ -1592,7 +1596,7 @@ var $t = X, Z = class _UIForm extends (Jt = d, qt = [v], Kt = [y], Gt = [b], Wt
|
|
|
1592
1596
|
return e && typeof e == "object" && !Array.isArray(e) ? e : void 0;
|
|
1593
1597
|
}
|
|
1594
1598
|
checkFieldSoon(e) {
|
|
1595
|
-
this.fieldsAwaitingCheck.has(e) || (this.fieldsAwaitingCheck.add(e),
|
|
1599
|
+
this.fieldsAwaitingCheck.has(e) || (this.fieldsAwaitingCheck.add(e), oe(() => {
|
|
1596
1600
|
this.fieldsAwaitingCheck.delete(e), this.checkField(e);
|
|
1597
1601
|
}));
|
|
1598
1602
|
}
|
|
@@ -1602,10 +1606,10 @@ var $t = X, Z = class _UIForm extends (Jt = d, qt = [v], Kt = [y], Gt = [b], Wt
|
|
|
1602
1606
|
onControlChanged(e) {
|
|
1603
1607
|
this.binding.onChange(e), m(() => this.changeCount++);
|
|
1604
1608
|
let t = this.identifierFor(e);
|
|
1605
|
-
t && (this.fieldsShowingErrors.has(t) || this.validate ===
|
|
1609
|
+
t && (this.fieldsShowingErrors.has(t) || this.validate === an) && this.checkFieldSoon(t);
|
|
1606
1610
|
}
|
|
1607
1611
|
onFocusOut(e) {
|
|
1608
|
-
if (this.binding.onLeave(e), this.validate !==
|
|
1612
|
+
if (this.binding.onLeave(e), this.validate !== rn) return;
|
|
1609
1613
|
let t = this.identifierFor(e);
|
|
1610
1614
|
t && this.checkFieldSoon(t);
|
|
1611
1615
|
}
|
|
@@ -1626,7 +1630,7 @@ var $t = X, Z = class _UIForm extends (Jt = d, qt = [v], Kt = [y], Gt = [b], Wt
|
|
|
1626
1630
|
return t.replaceWith(...t.childNodes), r;
|
|
1627
1631
|
}
|
|
1628
1632
|
static fieldElementFor(e) {
|
|
1629
|
-
return e[0]?.closest(
|
|
1633
|
+
return e[0]?.closest(M) ?? void 0;
|
|
1630
1634
|
}
|
|
1631
1635
|
static resetControl(e) {
|
|
1632
1636
|
if (e instanceof HTMLInputElement) e.type === "checkbox" || e.type === "radio" ? e.checked = e.defaultChecked : e.value = e.defaultValue;
|
|
@@ -1645,13 +1649,13 @@ var $t = X, Z = class _UIForm extends (Jt = d, qt = [v], Kt = [y], Gt = [b], Wt
|
|
|
1645
1649
|
}
|
|
1646
1650
|
}
|
|
1647
1651
|
};
|
|
1648
|
-
|
|
1649
|
-
styleSheets: { form:
|
|
1650
|
-
DOMElement:
|
|
1652
|
+
J = n(Xt), Zt = /* @__PURE__ */ new WeakMap(), Qt = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap(), $t = /* @__PURE__ */ new WeakMap(), d(J, 4, "lastCheckFailed", qt, Z, Zt), d(J, 2, "isFluid", Kt, Z), d(J, 4, "hasHeldChanges", Gt, Z, Qt), d(J, 2, "isRoot", Wt, Z), d(J, 4, "nativeForm", Ut, Z, Y), d(J, 1, "watchForm", Ht, Z), d(J, 1, "onFormValueReady", Vt, Z), d(J, 1, "onContentChanged", Bt, Z), d(J, 1, "findForm", zt, Z), d(J, 1, "onNativeFormChanged", Rt, Z), d(J, 1, "onBindingChanged", Lt, Z), d(J, 4, "changeCount", It, Z, $t), d(J, 1, "reset", Ft, Z), d(J, 1, "save", Pt, Z), d(J, 1, "cancel", Nt, Z), d(J, 1, "passes", Mt, Z), d(J, 1, "onControlChanged", At, Z), d(J, 1, "onFocusOut", kt, Z), d(J, 13, "vocabulary", Yt, Z), d(J, 13, "elementSetup", Jt, Z), d(J, 5, "onSubmit", jt, Z), d(J, 5, "onBeforeUnload", Ot, Z), f(J, Z), a(Z, "UIForm"), i(Z, "vocabulary", p(J, 24, Z, St)), p(J, 27, Z), i(Z, "elementSetup", p(J, 28, Z, {
|
|
1653
|
+
styleSheets: { form: z },
|
|
1654
|
+
DOMElement: en,
|
|
1651
1655
|
delegatesFocus: !1,
|
|
1652
1656
|
loading: "its own"
|
|
1653
|
-
})),
|
|
1654
|
-
var
|
|
1657
|
+
})), p(J, 31, Z);
|
|
1658
|
+
var tn = Z, nn = "on save", rn = "on leave", an = "immediately", on = {
|
|
1655
1659
|
tag: "ui-repeat",
|
|
1656
1660
|
icon: "redo",
|
|
1657
1661
|
topics: [
|
|
@@ -1667,6 +1671,7 @@ var en = Z, tn = "on save", nn = "on leave", rn = "immediately", an = {
|
|
|
1667
1671
|
"list editor"
|
|
1668
1672
|
],
|
|
1669
1673
|
noun: "repeat",
|
|
1674
|
+
partOfSpeech: "structure",
|
|
1670
1675
|
ui: !1,
|
|
1671
1676
|
description: "A repeat shows its fields once per item of a list, each row bound to its own item.",
|
|
1672
1677
|
attributes: [{
|
|
@@ -1689,12 +1694,12 @@ var en = Z, tn = "on save", nn = "on leave", rn = "immediately", an = {
|
|
|
1689
1694
|
parts: [],
|
|
1690
1695
|
states: [],
|
|
1691
1696
|
texts: []
|
|
1692
|
-
},
|
|
1697
|
+
}, sn = /* @__PURE__ */ j("<slot>"), cn, ln, un, dn, fn, pn, Q, mn, $ = class _UIRepeat extends (pn = u, fn = [v], dn = [y], un = [x], ln = [ce], cn = [_("shownItems")], pn) {
|
|
1693
1698
|
constructor() {
|
|
1694
|
-
super(...arguments),
|
|
1699
|
+
super(...arguments), p(Q, 5, this), i(this, "template"), b(this, mn, p(Q, 8, this, 0)), p(Q, 11, this), i(this, "rows", []), i(this, "rowOf", /* @__PURE__ */ new WeakMap());
|
|
1695
1700
|
}
|
|
1696
1701
|
render() {
|
|
1697
|
-
var e =
|
|
1702
|
+
var e = sn();
|
|
1698
1703
|
return e._$owner = D(), e;
|
|
1699
1704
|
}
|
|
1700
1705
|
watchTemplate() {
|
|
@@ -1721,8 +1726,8 @@ var en = Z, tn = "on save", nn = "on leave", rn = "immediately", an = {
|
|
|
1721
1726
|
}
|
|
1722
1727
|
listByName() {
|
|
1723
1728
|
if (!this.name) return;
|
|
1724
|
-
let e =
|
|
1725
|
-
return
|
|
1729
|
+
let e = I.scopeAround(this.domElement);
|
|
1730
|
+
return I.isObject(e) ? e[this.name] : void 0;
|
|
1726
1731
|
}
|
|
1727
1732
|
onItemsChanged(e) {
|
|
1728
1733
|
let { template: t } = this;
|
|
@@ -1741,7 +1746,7 @@ var en = Z, tn = "on save", nn = "on leave", rn = "immediately", an = {
|
|
|
1741
1746
|
item: e,
|
|
1742
1747
|
nodes: [...document.importNode(t.content, !0).childNodes]
|
|
1743
1748
|
};
|
|
1744
|
-
for (let t of n.nodes) this.rowOf.set(t, n), t.nodeType === Node.ELEMENT_NODE &&
|
|
1749
|
+
for (let t of n.nodes) this.rowOf.set(t, n), t.nodeType === Node.ELEMENT_NODE && I.hold(t, () => e);
|
|
1745
1750
|
return n;
|
|
1746
1751
|
}
|
|
1747
1752
|
place(e) {
|
|
@@ -1749,20 +1754,19 @@ var en = Z, tn = "on save", nn = "on leave", rn = "immediately", an = {
|
|
|
1749
1754
|
for (let r of e) r === n ? n = r.nextSibling : _UIRepeat.move(t, r, n);
|
|
1750
1755
|
}
|
|
1751
1756
|
static isIterable(e) {
|
|
1752
|
-
return
|
|
1757
|
+
return I.isObject(e) && typeof e[Symbol.iterator] == "function";
|
|
1753
1758
|
}
|
|
1754
1759
|
static move(e, t, n) {
|
|
1755
1760
|
let { moveBefore: r } = e;
|
|
1756
1761
|
r && t.isConnected && e.isConnected ? r.call(e, t, n) : e.insertBefore(t, n);
|
|
1757
1762
|
}
|
|
1758
1763
|
};
|
|
1759
|
-
Q =
|
|
1760
|
-
styleSheets: { form:
|
|
1764
|
+
Q = n(pn), mn = /* @__PURE__ */ new WeakMap(), d(Q, 4, "templateVersion", un, $, mn), d(Q, 1, "watchTemplate", ln, $), d(Q, 1, "onItemsChanged", cn, $), d(Q, 13, "vocabulary", fn, $), d(Q, 13, "elementSetup", dn, $), f(Q, $), a($, "UIRepeat"), i($, "vocabulary", p(Q, 12, $, on)), p(Q, 15, $), i($, "elementSetup", p(Q, 16, $, {
|
|
1765
|
+
styleSheets: { form: z },
|
|
1761
1766
|
delegatesFocus: !1
|
|
1762
|
-
})),
|
|
1763
|
-
var
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
export { ct as DOMFieldElement, $t as DOMFormElement, L as FormBinding, P as FormFields, lt as UIField, yt as UIFields, en as UIForm, mn as UIRepeat, Fe as n, bt as t };
|
|
1767
|
+
})), p(Q, 19, $);
|
|
1768
|
+
var hn = $;
|
|
1769
|
+
ut.define(), xt.define(), tn.define(), hn.define();
|
|
1770
|
+
export { lt as DOMFieldElement, en as DOMFormElement, I as FormBinding, N as FormFields, ut as UIField, xt as UIFields, tn as UIForm, hn as UIRepeat, Ie as n, St as t };
|
|
1767
1771
|
|
|
1768
1772
|
//# sourceMappingURL=ui-form.js.map
|