spell-ui 0.8.9 → 0.8.11
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 +32 -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 +35 -3
- package/dist/components/ui-modal/UIModal.d.ts +6 -0
- package/dist/components/ui-modal/UIModal.en.d.ts +6 -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/ToastStack.d.ts +9 -0
- 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 +795 -702
- 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 +96 -91
- package/dist/jsx.d.ts +3875 -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 +52 -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-B6gmmGsR.js +5 -0
- package/dist/ui-modal.editor-B6gmmGsR.js.map +1 -0
- package/dist/ui-modal.js +128 -99
- 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 +206 -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 +141 -139
- 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/core.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
1
|
+
import { n as e, r as t } from "./rolldown-runtime-c6e9CmGy.js";
|
|
2
2
|
import { Errored as n, Show as r, createEffect as i, createMemo as a, createRenderEffect as o, createRoot as s, createSignal as c, getObserver as l, getOwner as u, onSettled as d, runWithOwner as f, untrack as p } from "solid-js";
|
|
3
3
|
import { DelegatedEvents as ee, Dynamic as te, addEvent as ne, className as re, createComponent as m, delegateEvents as ie, effect as ae, getDelegatedRoot as oe, getOwner as se, insert as ce, isServer as h, memo as g, readShallow as le, registerDelegatedContainer as ue, setAttribute as de, ssr as fe, template as pe, unregisterDelegatedRoot as me } from "@solidjs/web";
|
|
4
|
-
|
|
4
|
+
// ../src/util/class.ts
|
|
5
5
|
function hasOwnProp(e, t) {
|
|
6
6
|
return e != null && Object.hasOwn(e, t);
|
|
7
7
|
}
|
|
@@ -19,8 +19,7 @@ function hasDescriptor(e, t, n) {
|
|
|
19
19
|
}
|
|
20
20
|
return !1;
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
//#region ../src/util/decorators.ts
|
|
22
|
+
// ../src/util/decorators.ts
|
|
24
23
|
function proto(e, t) {
|
|
25
24
|
if (!t.static) throw TypeError(`@proto ${String(t.name)}: only works on 'static' fields.`);
|
|
26
25
|
return function(e) {
|
|
@@ -127,8 +126,11 @@ function scrollingBoxFor(e) {
|
|
|
127
126
|
for (let t = flatParentFor(e); t; t = flatParentFor(t)) if (t.scrollHeight > t.clientHeight && /auto|scroll/.test(getComputedStyle(t).overflowY)) return t;
|
|
128
127
|
}
|
|
129
128
|
var _e = .8, ve = "(prefers-reduced-motion: reduce)";
|
|
130
|
-
function scrollEnds(e) {
|
|
131
|
-
return {
|
|
129
|
+
function scrollEnds(e, t = "inline") {
|
|
130
|
+
return t === "block" ? {
|
|
131
|
+
start: e.scrollTop > 1,
|
|
132
|
+
end: e.scrollTop + e.clientHeight < e.scrollHeight - 1
|
|
133
|
+
} : {
|
|
132
134
|
start: e.scrollLeft > 1,
|
|
133
135
|
end: e.scrollLeft + e.clientWidth < e.scrollWidth - 1
|
|
134
136
|
};
|
|
@@ -140,8 +142,7 @@ function scrollByRow(e, t) {
|
|
|
140
142
|
behavior: n ? "instant" : "smooth"
|
|
141
143
|
});
|
|
142
144
|
}
|
|
143
|
-
|
|
144
|
-
//#region ../src/util/string.ts
|
|
145
|
+
// ../src/util/string.ts
|
|
145
146
|
function kebabCase(e) {
|
|
146
147
|
return ye[e] ??= e.replace(/\p{Lu}/gu, (e) => `-${e.toLowerCase()}`);
|
|
147
148
|
}
|
|
@@ -150,6 +151,12 @@ function camelCase(e) {
|
|
|
150
151
|
return be[e] ??= e.replace(/-([\p{Ll}\d])/gu, (e, t) => t.toUpperCase());
|
|
151
152
|
}
|
|
152
153
|
var be = Object.create(null);
|
|
154
|
+
function initialCaps(e) {
|
|
155
|
+
return e.replace(/(^|\s)(\p{Ll})/gu, (e, t, n) => t + n.toUpperCase());
|
|
156
|
+
}
|
|
157
|
+
function withArticle(e) {
|
|
158
|
+
return /^[a-z]/i.test(e) ? `${/^[aeiou]/i.test(e) ? "an" : "a"} ${e}` : e;
|
|
159
|
+
}
|
|
153
160
|
function numberToWord(e) {
|
|
154
161
|
let t = typeof e == "number" ? e : /^\d+$/.test(e.trim()) ? Number(e) : NaN;
|
|
155
162
|
return Number.isInteger(t) ? xe[t - 1] : void 0;
|
|
@@ -202,6 +209,9 @@ function withoutAccents(e, { keep: t = "" } = {}) {
|
|
|
202
209
|
let n = t.normalize("NFC").toLowerCase();
|
|
203
210
|
return e.normalize("NFC").replace(/\P{ASCII}/gu, (e) => n.includes(e.toLowerCase()) ? e : e.normalize("NFD").replace(/\p{M}+/gu, ""));
|
|
204
211
|
}
|
|
212
|
+
function commaList(e) {
|
|
213
|
+
return e ? e.split(",").map((e) => e.trim()).filter(Boolean) : [];
|
|
214
|
+
}
|
|
205
215
|
function escapeRegExp(e) {
|
|
206
216
|
return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
207
217
|
}
|
|
@@ -226,8 +236,29 @@ function indented(e, t) {
|
|
|
226
236
|
let n = typeof t == "number" ? " ".repeat(t) : t;
|
|
227
237
|
return e.split("\n").map((e) => e.trim() ? `${n}${e}` : e).join("\n");
|
|
228
238
|
}
|
|
229
|
-
|
|
230
|
-
|
|
239
|
+
function textChecksum(e) {
|
|
240
|
+
let t = 2166136261, n = 2538058380;
|
|
241
|
+
for (let r = 0; r < e.length; r++) {
|
|
242
|
+
let i = e.charCodeAt(r);
|
|
243
|
+
t = Math.imul(t ^ i, 16777619), n = Math.imul(n ^ i, 1540483477);
|
|
244
|
+
}
|
|
245
|
+
return `${(t >>> 0).toString(36)}-${(n >>> 0).toString(36)}`;
|
|
246
|
+
}
|
|
247
|
+
var Ce = [
|
|
248
|
+
/^#{1,6}\s/m,
|
|
249
|
+
/^\s*(?:[-*+]|\d+[.)])\s+\S/m,
|
|
250
|
+
/^>\s?/m,
|
|
251
|
+
/^```/m,
|
|
252
|
+
/(\*\*|__)\S(?:.*?\S)?\1/,
|
|
253
|
+
/(?<![\w*])\*[^\s*](?:[^*]*[^\s*])?\*(?![\w*])/,
|
|
254
|
+
/(?<!\w)_[^\s_](?:[^_]*[^\s_])?_(?!\w)/,
|
|
255
|
+
/`[^`\n]+`/,
|
|
256
|
+
/\[[^\]\n]+\]\([^)\s]+\)/
|
|
257
|
+
];
|
|
258
|
+
function hasMarkdown(e) {
|
|
259
|
+
return Ce.some((t) => t.test(e));
|
|
260
|
+
}
|
|
261
|
+
// ../src/util/timing.ts
|
|
231
262
|
function afterSolidUpdate(e) {
|
|
232
263
|
queueMicrotask(e);
|
|
233
264
|
}
|
|
@@ -303,9 +334,8 @@ async function within(e, t) {
|
|
|
303
334
|
n.cancel();
|
|
304
335
|
}
|
|
305
336
|
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
var Ce = [
|
|
337
|
+
// ../src/element/vocabulary.types.ts
|
|
338
|
+
var we = [
|
|
309
339
|
"name",
|
|
310
340
|
"content",
|
|
311
341
|
"appearance",
|
|
@@ -315,7 +345,7 @@ var Ce = [
|
|
|
315
345
|
"link",
|
|
316
346
|
"behaviour",
|
|
317
347
|
"advanced"
|
|
318
|
-
], v = "none",
|
|
348
|
+
], v = "none", Te = {
|
|
319
349
|
role: "role",
|
|
320
350
|
busy: "ariaBusy",
|
|
321
351
|
checked: "ariaChecked",
|
|
@@ -331,23 +361,18 @@ var Ce = [
|
|
|
331
361
|
roleDescription: "ariaRoleDescription",
|
|
332
362
|
selected: "ariaSelected",
|
|
333
363
|
valueMin: "ariaValueMin"
|
|
334
|
-
},
|
|
364
|
+
}, Ee = "ui-error", De = "errored", StaleCatalogError = class extends TypeError {};
|
|
335
365
|
StaleCatalogError.prototype.name = "StaleCatalogError";
|
|
336
|
-
|
|
337
|
-
//#region ../src/element/SpellSolid.ts
|
|
366
|
+
// ../src/element/SpellSolid.ts
|
|
338
367
|
var y = class SpellSolid {
|
|
339
368
|
static install(e) {
|
|
340
369
|
SpellSolid.installed = e;
|
|
341
370
|
for (let e of SpellSolid.waiting.splice(0)) e();
|
|
342
371
|
}
|
|
343
372
|
static whenInstalled(e) {
|
|
344
|
-
|
|
345
|
-
e();
|
|
346
|
-
return;
|
|
347
|
-
}
|
|
348
|
-
SpellSolid.waiting.push(e), !(SpellSolid.waiting.length > 1) && after(De, () => {
|
|
373
|
+
SpellSolid.installed ? e() : (SpellSolid.waiting.push(e), SpellSolid.waiting.length > 1 || after(Oe, () => {
|
|
349
374
|
SpellSolid.waiting.length && console.warn(`[spell/element] SpellSolid: ${SpellSolid.waiting.length} element(s) wait to be defined, and no settings are installed; load a component set's runtime (Spell UI's \`spell/ui/core\`)`);
|
|
350
|
-
});
|
|
375
|
+
}));
|
|
351
376
|
}
|
|
352
377
|
static get settings() {
|
|
353
378
|
if (SpellSolid.installed) return SpellSolid.installed;
|
|
@@ -358,12 +383,12 @@ var y = class SpellSolid {
|
|
|
358
383
|
}
|
|
359
384
|
static installed;
|
|
360
385
|
static waiting = [];
|
|
361
|
-
},
|
|
386
|
+
}, Oe = 5, b = class Reactive {
|
|
362
387
|
static ownRoot(e) {
|
|
363
|
-
return f(
|
|
388
|
+
return f(Re, () => s(e));
|
|
364
389
|
}
|
|
365
390
|
static recordOf(e) {
|
|
366
|
-
return e[
|
|
391
|
+
return e[ke] ??= {
|
|
367
392
|
values: {},
|
|
368
393
|
sources: /* @__PURE__ */ new Map(),
|
|
369
394
|
caches: /* @__PURE__ */ new Map()
|
|
@@ -389,8 +414,8 @@ var y = class SpellSolid {
|
|
|
389
414
|
}
|
|
390
415
|
static attributeValue(e, t) {
|
|
391
416
|
if (x || l()) {
|
|
392
|
-
let n = Reactive.recordOf(e), r = n.sources.get(
|
|
393
|
-
r || (n.sources.set(
|
|
417
|
+
let n = Reactive.recordOf(e), r = n.sources.get(Ie + t);
|
|
418
|
+
r || (n.sources.set(Ie + t, r = new AttributeSource(e, t)), watchAttributeValues(n, e)), reading(r);
|
|
394
419
|
}
|
|
395
420
|
return attributeValueNow(e, t);
|
|
396
421
|
}
|
|
@@ -404,21 +429,31 @@ var y = class SpellSolid {
|
|
|
404
429
|
}
|
|
405
430
|
static startEffects(e) {
|
|
406
431
|
let t = e;
|
|
407
|
-
for (let n of Reactive.listFor(e,
|
|
408
|
-
let { method:
|
|
409
|
-
if (
|
|
410
|
-
let call = () => t[
|
|
411
|
-
return typeof
|
|
432
|
+
for (let n of Reactive.listFor(e, Me)) {
|
|
433
|
+
let { method: r, members: o, writesDOMElement: s, defer: c, whileConnected: l } = n, compute = () => o.map((e) => t[e]), apply = (e) => {
|
|
434
|
+
if (l && !e[0]) return;
|
|
435
|
+
let call = () => t[r](...l ? [] : e), n = p(call);
|
|
436
|
+
return typeof n == "function" ? n : void 0;
|
|
412
437
|
};
|
|
413
|
-
h
|
|
438
|
+
if (h) s && !c && apply(p(compute));
|
|
439
|
+
else {
|
|
440
|
+
let t = `${e.constructor.name}.${String(r)}`;
|
|
441
|
+
i(a(compute, {
|
|
442
|
+
equals: isSameList,
|
|
443
|
+
name: t
|
|
444
|
+
}), apply, {
|
|
445
|
+
defer: c,
|
|
446
|
+
name: t
|
|
447
|
+
});
|
|
448
|
+
}
|
|
414
449
|
}
|
|
415
|
-
if (Reactive.startAriaEffect(e, t), !h) for (let { method: n, options: r } of Reactive.listFor(e,
|
|
450
|
+
if (Reactive.startAriaEffect(e, t), !h) for (let { method: n, options: r } of Reactive.listFor(e, Ne)) {
|
|
416
451
|
let call = (e) => t[n](e);
|
|
417
452
|
watchContent(e, r, call);
|
|
418
453
|
}
|
|
419
454
|
}
|
|
420
455
|
static startAriaEffect(e, t) {
|
|
421
|
-
let n = Reactive.listFor(e,
|
|
456
|
+
let n = Reactive.listFor(e, je, { claims: (e) => e.property });
|
|
422
457
|
if (!n.length) return;
|
|
423
458
|
let compute = () => n.map(({ member: e }) => ariaText(t[e])), apply = (t) => {
|
|
424
459
|
let r = e.domElement.internals;
|
|
@@ -427,7 +462,7 @@ var y = class SpellSolid {
|
|
|
427
462
|
h ? apply(p(compute)) : i(a(compute, { equals: isSameList }), apply);
|
|
428
463
|
}
|
|
429
464
|
static cssStatesOf(e, t = []) {
|
|
430
|
-
let n = Reactive.listFor(e,
|
|
465
|
+
let n = Reactive.listFor(e, Ae, { claims: (e) => e.state });
|
|
431
466
|
if (!t.length) return n;
|
|
432
467
|
let r = new Set(n.map(({ state: e }) => e)), i = t.filter((e) => !r.has(e));
|
|
433
468
|
return [...n, ...i.map((e) => ({
|
|
@@ -436,7 +471,7 @@ var y = class SpellSolid {
|
|
|
436
471
|
}))];
|
|
437
472
|
}
|
|
438
473
|
static listenersOf(e) {
|
|
439
|
-
return Reactive.listFor(e,
|
|
474
|
+
return Reactive.listFor(e, Pe, { combine: baseFirstOnce });
|
|
440
475
|
}
|
|
441
476
|
static isControlled(e, t) {
|
|
442
477
|
return !!Reactive.recordOf(e).controlled?.[t];
|
|
@@ -455,7 +490,7 @@ var y = class SpellSolid {
|
|
|
455
490
|
return e.elementDefinition.attribute(n);
|
|
456
491
|
}
|
|
457
492
|
static listFor(e, t, { combine: n = ownFirst, claims: r } = {}) {
|
|
458
|
-
let i = e.constructor[
|
|
493
|
+
let i = e.constructor[Fe];
|
|
459
494
|
if (!i) return [];
|
|
460
495
|
let a = Reactive.lists.get(i);
|
|
461
496
|
a || Reactive.lists.set(i, a = /* @__PURE__ */ new Map());
|
|
@@ -525,7 +560,7 @@ function derivedGetter(e, t, n = isSame) {
|
|
|
525
560
|
}
|
|
526
561
|
function cssState(e) {
|
|
527
562
|
return function(t, n) {
|
|
528
|
-
ownList(n.metadata,
|
|
563
|
+
ownList(n.metadata, Ae).push({
|
|
529
564
|
member: n.name,
|
|
530
565
|
state: e
|
|
531
566
|
});
|
|
@@ -533,9 +568,9 @@ function cssState(e) {
|
|
|
533
568
|
}
|
|
534
569
|
function aria(e) {
|
|
535
570
|
return function(t, n) {
|
|
536
|
-
ownList(n.metadata,
|
|
571
|
+
ownList(n.metadata, je).push({
|
|
537
572
|
member: n.name,
|
|
538
|
-
property:
|
|
573
|
+
property: Te[e]
|
|
539
574
|
});
|
|
540
575
|
};
|
|
541
576
|
}
|
|
@@ -545,7 +580,7 @@ function ariaText(e) {
|
|
|
545
580
|
function onChange(...e) {
|
|
546
581
|
let t = typeof e[e.length - 1] == "object" ? e.pop() : {};
|
|
547
582
|
return function(n, r) {
|
|
548
|
-
ownList(r.metadata,
|
|
583
|
+
ownList(r.metadata, Me).push({
|
|
549
584
|
method: r.name,
|
|
550
585
|
members: e,
|
|
551
586
|
writesDOMElement: !!t.writesDOMElement,
|
|
@@ -554,7 +589,7 @@ function onChange(...e) {
|
|
|
554
589
|
};
|
|
555
590
|
}
|
|
556
591
|
function whileConnected(e, t) {
|
|
557
|
-
ownList(t.metadata,
|
|
592
|
+
ownList(t.metadata, Me).push({
|
|
558
593
|
method: t.name,
|
|
559
594
|
members: ["isConnected"],
|
|
560
595
|
writesDOMElement: !1,
|
|
@@ -564,7 +599,7 @@ function whileConnected(e, t) {
|
|
|
564
599
|
function watches(e) {
|
|
565
600
|
function decorate(t, n) {
|
|
566
601
|
if (n.kind === "method") {
|
|
567
|
-
ownList(n.metadata,
|
|
602
|
+
ownList(n.metadata, Ne).push({
|
|
568
603
|
method: n.name,
|
|
569
604
|
options: e
|
|
570
605
|
});
|
|
@@ -585,7 +620,7 @@ function watches(e) {
|
|
|
585
620
|
function on(e, t = {}) {
|
|
586
621
|
return function(n, r) {
|
|
587
622
|
if (r.kind !== "method" || r.static) throw TypeError(`@on ${String(r.name)}: only works on instance methods; make it a method`);
|
|
588
|
-
ownList(r.metadata,
|
|
623
|
+
ownList(r.metadata, Pe).push({
|
|
589
624
|
method: r.name,
|
|
590
625
|
type: e,
|
|
591
626
|
options: t
|
|
@@ -681,7 +716,7 @@ var Notifier = class {
|
|
|
681
716
|
} finally {
|
|
682
717
|
x = e;
|
|
683
718
|
}
|
|
684
|
-
this.dependencies = t,
|
|
719
|
+
this.dependencies = t, this.isComputed && this.equals(this.value, n) || (this.value = n, this.version++), this.isComputed = !0;
|
|
685
720
|
}
|
|
686
721
|
track() {
|
|
687
722
|
for (let e of this.dependencies.keys()) e.track();
|
|
@@ -741,19 +776,19 @@ function notifierFor(e, t, n) {
|
|
|
741
776
|
return r || e.sources.set(t, r = new Notifier(n)), r;
|
|
742
777
|
}
|
|
743
778
|
function rawAttributeSource(e, t, n) {
|
|
744
|
-
let r =
|
|
779
|
+
let r = Le + n, i = e.sources.get(r);
|
|
745
780
|
return i || e.sources.set(r, i = new RawAttributeSource(t, n, () => watchAttributes(e, t))), i;
|
|
746
781
|
}
|
|
747
782
|
function watchAttributes(e, t) {
|
|
748
783
|
if (h || e.attributeObserver) return;
|
|
749
784
|
let n = e.attributeObserver = new MutationObserver((t) => {
|
|
750
|
-
for (let { attributeName: n } of t) e.sources.get(
|
|
785
|
+
for (let { attributeName: n } of t) e.sources.get(Le + n)?.refresh();
|
|
751
786
|
});
|
|
752
787
|
n.observe(t, { attributes: !0 }), t.addReleaseCallback?.(() => n.disconnect());
|
|
753
788
|
}
|
|
754
789
|
function watchAttributeValues(e, t) {
|
|
755
790
|
e.isWatchingValues || (e.isWatchingValues = !0, t.domElement.addPropertyChangedCallback((t) => {
|
|
756
|
-
e.sources.get(
|
|
791
|
+
e.sources.get(Ie + t)?.written();
|
|
757
792
|
}));
|
|
758
793
|
}
|
|
759
794
|
function watchContent(e, t, n) {
|
|
@@ -825,14 +860,14 @@ function isNever() {
|
|
|
825
860
|
function isSameList(e, t) {
|
|
826
861
|
return e.length === t.length && e.every((e, n) => e === t[n]);
|
|
827
862
|
}
|
|
828
|
-
var
|
|
863
|
+
var ke = Symbol("reactive"), Ae = Symbol("cssStates"), je = Symbol("aria"), Me = Symbol("onChange"), Ne = Symbol("contentMethods"), Pe = Symbol("listeners"), Fe = Symbol.metadata ?? Symbol.for("Symbol.metadata"), Ie = "attribute:", Le = "raw:", Re = s(() => u()), Cell = class {
|
|
829
864
|
get;
|
|
830
865
|
set;
|
|
831
866
|
constructor(e, t) {
|
|
832
867
|
let [n, r] = c(e, t);
|
|
833
868
|
this.get = n, this.set = (e) => void r(e);
|
|
834
869
|
}
|
|
835
|
-
},
|
|
870
|
+
}, ze = class ElementDefinition {
|
|
836
871
|
vocabulary;
|
|
837
872
|
localized;
|
|
838
873
|
tag;
|
|
@@ -926,7 +961,7 @@ var Oe = Symbol("reactive"), ke = Symbol("cssStates"), Ae = Symbol("aria"), je =
|
|
|
926
961
|
}
|
|
927
962
|
visibleInMarkup(e, t) {
|
|
928
963
|
if (e("hidden") !== null) return !1;
|
|
929
|
-
let n = this.byName.get(
|
|
964
|
+
let n = this.byName.get(Be), r = n && e(n.attribute);
|
|
930
965
|
return n && r != null ? this.convert(n, r) === !0 : t === "shown";
|
|
931
966
|
}
|
|
932
967
|
canonicalValue(e, t) {
|
|
@@ -951,18 +986,18 @@ var Oe = Symbol("reactive"), ke = Symbol("cssStates"), Ae = Symbol("aria"), je =
|
|
|
951
986
|
static isPrimitive(e) {
|
|
952
987
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean";
|
|
953
988
|
}
|
|
954
|
-
},
|
|
989
|
+
}, Be = "visible", S = class RichAttributes {
|
|
955
990
|
static isRich(e) {
|
|
956
991
|
return typeof e == "function" || typeof e == "object" && !!e;
|
|
957
992
|
}
|
|
958
993
|
static apply(e, t, n, r) {
|
|
959
|
-
if (t.startsWith(
|
|
960
|
-
e[RichAttributes.propertyFor(t, r)] = n, (
|
|
994
|
+
if (t.startsWith(Ve)) return RichAttributes.listen(e, t, n, r);
|
|
995
|
+
e[RichAttributes.propertyFor(t, r)] = n, (We.get(e) ?? We.set(e, /* @__PURE__ */ new Set()).get(e)).add(t);
|
|
961
996
|
}
|
|
962
997
|
static clear(e, t, n) {
|
|
963
998
|
C.get(e)?.delete(t);
|
|
964
|
-
let r =
|
|
965
|
-
r && (e.removeEventListener(r.type, r.listener),
|
|
999
|
+
let r = Ue.get(e)?.get(t);
|
|
1000
|
+
r && (e.removeEventListener(r.type, r.listener), Ue.get(e).delete(t)), We.get(e)?.delete(t) && (e[RichAttributes.propertyFor(t, n)] = void 0);
|
|
966
1001
|
}
|
|
967
1002
|
static replay(e, t) {
|
|
968
1003
|
let n = C.get(e);
|
|
@@ -985,27 +1020,23 @@ var Oe = Symbol("reactive"), ke = Symbol("cssStates"), Ae = Symbol("aria"), je =
|
|
|
985
1020
|
}
|
|
986
1021
|
static installPatch() {
|
|
987
1022
|
let e = globalThis.Element;
|
|
988
|
-
if (!e ||
|
|
1023
|
+
if (!e || Ge) return;
|
|
989
1024
|
let t = e.prototype, { setAttribute: n, removeAttribute: r } = t;
|
|
990
|
-
|
|
1025
|
+
Ge = {
|
|
991
1026
|
setAttribute: n,
|
|
992
1027
|
removeAttribute: r
|
|
993
1028
|
}, t.setAttribute = function(e, t) {
|
|
994
|
-
|
|
995
|
-
(C.get(this) ?? C.set(this, /* @__PURE__ */ new Map()).get(this)).set(e, t);
|
|
996
|
-
return;
|
|
997
|
-
}
|
|
998
|
-
n.call(this, e, t);
|
|
1029
|
+
RichAttributes.isRich(t) && isUndefinedTag(this) && !RichAttributes.isPure() ? (C.get(this) ?? C.set(this, /* @__PURE__ */ new Map()).get(this)).set(e, t) : n.call(this, e, t);
|
|
999
1030
|
}, t.removeAttribute = function(e) {
|
|
1000
1031
|
C.get(this)?.delete(e), r.call(this, e);
|
|
1001
1032
|
};
|
|
1002
1033
|
}
|
|
1003
1034
|
static isPure() {
|
|
1004
|
-
return !
|
|
1035
|
+
return !Ge || !globalThis.document?.querySelector(He) ? !1 : (Object.assign(globalThis.Element.prototype, Ge), Ge = void 0, !0);
|
|
1005
1036
|
}
|
|
1006
1037
|
static listen(e, t, n, r) {
|
|
1007
|
-
let i = t.slice(
|
|
1008
|
-
RichAttributes.clear(e, t, r), e.addEventListener(a, n), (
|
|
1038
|
+
let i = t.slice(Ve.length), a = r?.event(i) ?? i;
|
|
1039
|
+
RichAttributes.clear(e, t, r), e.addEventListener(a, n), (Ue.get(e) ?? Ue.set(e, /* @__PURE__ */ new Map()).get(e)).set(t, {
|
|
1009
1040
|
type: a,
|
|
1010
1041
|
listener: n
|
|
1011
1042
|
});
|
|
@@ -1017,11 +1048,10 @@ var Oe = Symbol("reactive"), ke = Symbol("cssStates"), Ae = Symbol("aria"), je =
|
|
|
1017
1048
|
function isUndefinedTag(e) {
|
|
1018
1049
|
return e.localName.includes("-") && !customElements.get(e.localName);
|
|
1019
1050
|
}
|
|
1020
|
-
var
|
|
1051
|
+
var Ve = "on-", He = "ui-root[pure]", C = /* @__PURE__ */ new WeakMap(), Ue = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(), Ge;
|
|
1021
1052
|
S.installPatch();
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
1053
|
+
// ../src/element/DOMElement.ts
|
|
1054
|
+
var Ke = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ke {
|
|
1025
1055
|
component;
|
|
1026
1056
|
internals;
|
|
1027
1057
|
attributeValues = {};
|
|
@@ -1039,8 +1069,8 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1039
1069
|
let t = this.tagSetup?.elementDefinition;
|
|
1040
1070
|
if (t) {
|
|
1041
1071
|
for (let e of t.attributes) this.attributeValues[e.key] = t.startingValue(e);
|
|
1042
|
-
this.visibleAttribute && (this.attributeValues[
|
|
1043
|
-
} else
|
|
1072
|
+
this.visibleAttribute && (this.attributeValues[Je] = this.isVisibleInMarkup), this.captureUpgradeValues(t), DOMElement.unobserved(this.constructor).length && DOMElement.watchAttributes(this, "replay");
|
|
1073
|
+
} else Ze.get(this.constructor)?.pending.add(this), DOMElement.isPending(this) && this.setState(Ye, !0);
|
|
1044
1074
|
this.addEventListener("click", (e) => this.swallowClickWhileDisabled(e), { capture: !0 }), DOMElement.hotReloadHooks?.created(this);
|
|
1045
1075
|
}
|
|
1046
1076
|
connectedCallback() {
|
|
@@ -1114,7 +1144,7 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1114
1144
|
}
|
|
1115
1145
|
get visibleAttribute() {
|
|
1116
1146
|
let e = this.tagSetup?.elementDefinition;
|
|
1117
|
-
return e?.takesShared(
|
|
1147
|
+
return e?.takesShared(Je) ? e.attribute(Je) : void 0;
|
|
1118
1148
|
}
|
|
1119
1149
|
get isVisibleInMarkup() {
|
|
1120
1150
|
return this.tagSetup.elementDefinition.visibleInMarkup((e) => this.getAttribute(e), this.tagSetup.visible);
|
|
@@ -1216,7 +1246,7 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1216
1246
|
t ? this.internals.states.add(e) : this.internals.states.delete(e);
|
|
1217
1247
|
}
|
|
1218
1248
|
markReady() {
|
|
1219
|
-
(this.tagSetup?.elementDefinition.vocabulary.states)?.some(({ name: e }) => e ===
|
|
1249
|
+
(this.tagSetup?.elementDefinition.vocabulary.states)?.some(({ name: e }) => e === Xe) || this.setState(Xe, !0), this.connectedState.resolveReady();
|
|
1220
1250
|
}
|
|
1221
1251
|
swallowClickWhileDisabled(e) {
|
|
1222
1252
|
this.component?.isDisabled && (e.preventDefault(), e.stopImmediatePropagation());
|
|
@@ -1230,14 +1260,14 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1230
1260
|
}
|
|
1231
1261
|
static observedAttributesFor(e) {
|
|
1232
1262
|
let t = e.attributes.map(({ attribute: e }) => e);
|
|
1233
|
-
return e.takesShared(
|
|
1263
|
+
return e.takesShared(Je) && !t.includes("hidden") ? [...t, "hidden"] : t;
|
|
1234
1264
|
}
|
|
1235
1265
|
static subclassForTag(e, t) {
|
|
1236
1266
|
let n = className$1(t.elementDefinition.tag), r = { [n]: class extends e {} }[n];
|
|
1237
1267
|
return r.tagSetup = t, Object.defineProperty(r, "formAssociated", { value: t.isAFormControl }), DOMElement.defineProperties(r), r;
|
|
1238
1268
|
}
|
|
1239
1269
|
static defineProperties(e) {
|
|
1240
|
-
let { elementDefinition: t } = e.tagSetup, n = e.prototype, r = t.attributes.filter(({ key: e, property: t }) => t === e).map(({ property: e }) => e).filter((e) => e in n ||
|
|
1270
|
+
let { elementDefinition: t } = e.tagSetup, n = e.prototype, r = t.attributes.filter(({ key: e, property: t }) => t === e).map(({ property: e }) => e).filter((e) => e in n || qe.includes(e));
|
|
1241
1271
|
if (r.length) throw TypeError(`<${t.tag}>: ${r.map((e) => JSON.stringify(e)).join(", ")} would hide the element's own member${r.length === 1 ? "" : "s"}; rename the attribute's property in its vocabulary (\`property: "..."\`)`);
|
|
1242
1272
|
for (let e of t.attributes) Object.defineProperty(n, e.property, {
|
|
1243
1273
|
get() {
|
|
@@ -1256,7 +1286,7 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1256
1286
|
static defineEarly(e, t) {
|
|
1257
1287
|
if (customElements.get(e)) return;
|
|
1258
1288
|
let n = className$1(e), r = { [n]: class extends DOMElement {} }[n], resolve = () => {}, i = new Promise((e) => resolve = e);
|
|
1259
|
-
return
|
|
1289
|
+
return Ze.set(r, {
|
|
1260
1290
|
...t,
|
|
1261
1291
|
tag: e,
|
|
1262
1292
|
pending: /* @__PURE__ */ new Set(),
|
|
@@ -1266,11 +1296,11 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1266
1296
|
}), Object.defineProperty(r, "formAssociated", { value: t.isAFormControl }), Object.defineProperty(r, "observedAttributes", { value: [...t.attributes] }), customElements.define(e, r), r;
|
|
1267
1297
|
}
|
|
1268
1298
|
static isEarly(e) {
|
|
1269
|
-
let t = e &&
|
|
1299
|
+
let t = e && Ze.get(e);
|
|
1270
1300
|
return !!t && !t.isAttached;
|
|
1271
1301
|
}
|
|
1272
1302
|
static attach(e, t, n) {
|
|
1273
|
-
let r =
|
|
1303
|
+
let r = Ze.get(e), i = DOMElement.observedAttributesFor(n.elementDefinition).filter((e) => !r.attributes.includes(e)), a = n.isAFormControl !== r.isAFormControl;
|
|
1274
1304
|
if (a || i.length) throw new StaleCatalogError(`<${r.tag}>: its root's catalog is stale (${i.length ? `no ${i.join(", ")}` : "form control"}); regenerate it (Spell UI's \`yarn gen:root\`, a pack's \`spell-pack build\`)`, { cause: {
|
|
1275
1305
|
tag: r.tag,
|
|
1276
1306
|
missing: i,
|
|
@@ -1289,18 +1319,18 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1289
1319
|
}
|
|
1290
1320
|
static async whenAttached(e) {
|
|
1291
1321
|
let t = await customElements.whenDefined(e);
|
|
1292
|
-
await
|
|
1322
|
+
await Ze.get(t)?.attached;
|
|
1293
1323
|
}
|
|
1294
1324
|
static notAttached = ":is(:not(:defined), :state(pending))";
|
|
1295
1325
|
attachPending() {
|
|
1296
1326
|
let e = this.tagSetup.elementDefinition;
|
|
1297
1327
|
for (let t of e.attributes) this.attributeValues[t.key] = e.startingValue(t);
|
|
1298
|
-
this.visibleAttribute && (this.attributeValues[
|
|
1328
|
+
this.visibleAttribute && (this.attributeValues[Je] = this.isVisibleInMarkup), this.captureUpgradeValues(e);
|
|
1299
1329
|
for (let t of DOMElement.observedAttributesFor(e)) {
|
|
1300
1330
|
let e = this.getAttribute(t);
|
|
1301
1331
|
e !== null && this.attributeChangedCallback(t, null, e);
|
|
1302
1332
|
}
|
|
1303
|
-
this.setState(
|
|
1333
|
+
this.setState(Ye, !1), this.isConnected && this.connectedCallback();
|
|
1304
1334
|
}
|
|
1305
1335
|
static addAttributes(e, t, n) {
|
|
1306
1336
|
let r = e.tagSetup.elementDefinition, i = new Set(t.elementDefinition.attributes.map(({ key: e }) => e)), a = r.attributes.filter(({ key: e }) => !i.has(e)).map(({ attribute: e }) => e);
|
|
@@ -1317,16 +1347,16 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1317
1347
|
}
|
|
1318
1348
|
}
|
|
1319
1349
|
static observedByPlatform(e) {
|
|
1320
|
-
let t =
|
|
1321
|
-
return t ||
|
|
1350
|
+
let t = Qe.get(e);
|
|
1351
|
+
return t || Qe.set(e, t = [...e.observedAttributes]), t;
|
|
1322
1352
|
}
|
|
1323
1353
|
static unobserved(e) {
|
|
1324
|
-
let t =
|
|
1354
|
+
let t = Qe.get(e);
|
|
1325
1355
|
return !t || !e.tagSetup ? [] : DOMElement.observedAttributesFor(e.tagSetup.elementDefinition).filter((e) => !t.includes(e));
|
|
1326
1356
|
}
|
|
1327
1357
|
static watchAttributes(e, t) {
|
|
1328
1358
|
let n = DOMElement.unobserved(e.constructor);
|
|
1329
|
-
if (
|
|
1359
|
+
if ($e.get(e)?.disconnect(), $e.delete(e), !n.length) return;
|
|
1330
1360
|
let r = new MutationObserver((t) => {
|
|
1331
1361
|
for (let { attributeName: n, oldValue: r } of t) n && e.attributeChangedCallback(n, r, e.getAttribute(n));
|
|
1332
1362
|
});
|
|
@@ -1334,7 +1364,7 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1334
1364
|
attributes: !0,
|
|
1335
1365
|
attributeFilter: n,
|
|
1336
1366
|
attributeOldValue: !0
|
|
1337
|
-
}),
|
|
1367
|
+
}), $e.set(e, r), t && queueMicrotask(() => {
|
|
1338
1368
|
for (let t of n) {
|
|
1339
1369
|
let n = e.getAttribute(t);
|
|
1340
1370
|
n !== null && e.attributeChangedCallback(t, null, n);
|
|
@@ -1347,13 +1377,13 @@ function className$1(e) {
|
|
|
1347
1377
|
return e.replace(/(^|-)(\w)/g, (e, t, n) => n.toUpperCase()).replace(/\W/g, "");
|
|
1348
1378
|
}
|
|
1349
1379
|
t(className$1, "className");
|
|
1350
|
-
var
|
|
1380
|
+
var qe = [
|
|
1351
1381
|
"internals",
|
|
1352
1382
|
"attributeValues",
|
|
1353
1383
|
"component",
|
|
1354
1384
|
"ready",
|
|
1355
1385
|
"connectedState"
|
|
1356
|
-
],
|
|
1386
|
+
], Je = "visible", Ye = "pending", Xe = "ready", Ze = /* @__PURE__ */ new WeakMap(), Qe = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap(), et = class OwnerContext {
|
|
1357
1387
|
static find(e, t, n = {}) {
|
|
1358
1388
|
let r = 0;
|
|
1359
1389
|
for (let i = flatParentFor(e); i; i = flatParentFor(i)) {
|
|
@@ -1380,22 +1410,22 @@ var Ke = [
|
|
|
1380
1410
|
static stem(e) {
|
|
1381
1411
|
return e.slice(e.indexOf("-") + 1);
|
|
1382
1412
|
}
|
|
1383
|
-
},
|
|
1413
|
+
}, tt = Object.create, nt = Object.defineProperty, rt = Object.getOwnPropertyDescriptor, __knownSymbol = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), __typeError = (e) => {
|
|
1384
1414
|
throw TypeError(e);
|
|
1385
|
-
}, __defNormalProp = (e, t, n) => t in e ?
|
|
1415
|
+
}, __defNormalProp = (e, t, n) => t in e ? nt(e, t, {
|
|
1386
1416
|
enumerable: !0,
|
|
1387
1417
|
configurable: !0,
|
|
1388
1418
|
writable: !0,
|
|
1389
1419
|
value: n
|
|
1390
|
-
}) : e[t] = n, __name = (e, t) =>
|
|
1420
|
+
}) : e[t] = n, __name = (e, t) => nt(e, "name", {
|
|
1391
1421
|
value: t,
|
|
1392
1422
|
configurable: !0
|
|
1393
1423
|
}), __decoratorStart = (e) => [
|
|
1394
1424
|
,
|
|
1395
1425
|
,
|
|
1396
1426
|
,
|
|
1397
|
-
|
|
1398
|
-
],
|
|
1427
|
+
tt(e?.[__knownSymbol("metadata")] ?? null)
|
|
1428
|
+
], it = [
|
|
1399
1429
|
"class",
|
|
1400
1430
|
"method",
|
|
1401
1431
|
"getter",
|
|
@@ -1406,7 +1436,7 @@ var Ke = [
|
|
|
1406
1436
|
"get",
|
|
1407
1437
|
"set"
|
|
1408
1438
|
], __expectFn = (e) => e !== void 0 && typeof e != "function" ? __typeError("Function expected") : e, __decoratorContext = (e, t, n, r, i) => ({
|
|
1409
|
-
kind:
|
|
1439
|
+
kind: it[e],
|
|
1410
1440
|
name: t,
|
|
1411
1441
|
metadata: r,
|
|
1412
1442
|
addInitializer: (e) => n._ ? __typeError("Already initialized") : i.push(__expectFn(e || null))
|
|
@@ -1414,7 +1444,7 @@ var Ke = [
|
|
|
1414
1444
|
for (var i = 0, a = e[t >> 1], o = a && a.length; i < o; i++) t & 1 ? a[i].call(n) : r = a[i].call(n, r);
|
|
1415
1445
|
return r;
|
|
1416
1446
|
}, __decorateElement = (e, t, n, r, i, a) => {
|
|
1417
|
-
var o, s, c, l, u, d = t & 7, f = !!(t & 8), p = !!(t & 16), ee = d > 3 ? e.length + 1 : d ? f ? 1 : 2 : 0, te =
|
|
1447
|
+
var o, s, c, l, u, d = t & 7, f = !!(t & 8), p = !!(t & 16), ee = d > 3 ? e.length + 1 : d ? f ? 1 : 2 : 0, te = it[d + 5], ne = d > 3 && (e[ee - 1] = []), re = e[ee] || (e[ee] = []), m = d && (!p && !f && (i = i.prototype), d < 5 && (d > 3 || !p) && rt(d < 4 ? i : {
|
|
1418
1448
|
get [n]() {
|
|
1419
1449
|
return __privateGet(this, a);
|
|
1420
1450
|
},
|
|
@@ -1427,15 +1457,15 @@ var Ke = [
|
|
|
1427
1457
|
get: m.get,
|
|
1428
1458
|
set: m.set
|
|
1429
1459
|
} : i, l), c._ = 1, d ^ 4 || s === void 0 ? __expectFn(s) && (d > 4 ? ne.unshift(s) : d ? p ? a = s : m[te] = s : i = s) : typeof s != "object" || !s ? __typeError("Object expected") : (__expectFn(o = s.get) && (m.get = o), __expectFn(o = s.set) && (m.set = o), __expectFn(o = s.init) && ne.unshift(o));
|
|
1430
|
-
return d || __decoratorMetadata(e, i), m &&
|
|
1431
|
-
}, __publicField = (e, t, n) => __defNormalProp(e, typeof t == "symbol" ? t : t + "", n), __accessCheck = (e, t, n) => t.has(e) || __typeError("Cannot " + n), __privateIn = (e, t) => Object(t) === t ? e.has(t) : __typeError("Cannot use the \"in\" operator on this value"), __privateGet = (e, t, n) => (__accessCheck(e, t, "read from private field"), n ? n.call(e) : t.get(e)), __privateAdd = (e, t, n) => t.has(e) ? __typeError("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), __privateSet = (e, t, n, r) => (__accessCheck(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), __privateMethod = (e, t, n) => (__accessCheck(e, t, "access private method"), n),
|
|
1460
|
+
return d || __decoratorMetadata(e, i), m && nt(i, n, m), p ? d ^ 4 ? a : m : i;
|
|
1461
|
+
}, __publicField = (e, t, n) => __defNormalProp(e, typeof t == "symbol" ? t : t + "", n), __accessCheck = (e, t, n) => t.has(e) || __typeError("Cannot " + n), __privateIn = (e, t) => Object(t) === t ? e.has(t) : __typeError("Cannot use the \"in\" operator on this value"), __privateGet = (e, t, n) => (__accessCheck(e, t, "read from private field"), n ? n.call(e) : t.get(e)), __privateAdd = (e, t, n) => t.has(e) ? __typeError("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), __privateSet = (e, t, n, r) => (__accessCheck(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), __privateMethod = (e, t, n) => (__accessCheck(e, t, "access private method"), n), at, ot, T, st;
|
|
1432
1462
|
function isSameOwner(e, t) {
|
|
1433
1463
|
return e?.owner === t?.owner && e?.ownerNoun === t?.ownerNoun && e?.depth === t?.depth;
|
|
1434
1464
|
}
|
|
1435
|
-
__name(isSameOwner, "isSameOwner"),
|
|
1465
|
+
__name(isSameOwner, "isSameOwner"), ot = [state({ equals: isSameOwner })], at = [onChange("ownerNoun", { writesDOMElement: !0 })];
|
|
1436
1466
|
var E = class _PartContext {
|
|
1437
1467
|
constructor({ domElement: e, noun: t, isDirect: n = !1, barrier: r = _PartContext.isBarrier }) {
|
|
1438
|
-
__runInitializers(T, 5, this), __privateAdd(this,
|
|
1468
|
+
__runInitializers(T, 5, this), __privateAdd(this, st, __runInitializers(T, 8, this)), __runInitializers(T, 11, this), __publicField(this, "domElement"), __publicField(this, "noun"), __publicField(this, "isDirect"), __publicField(this, "barrier"), __publicField(this, "hasConnected", !1), this.domElement = e, this.noun = t, this.isDirect = n, this.barrier = r, this.owner = this.resolve(), _PartContext.contexts.set(e, this), b.startEffects(this), d(() => (this.refresh(), () => {
|
|
1439
1469
|
_PartContext.contexts.get(e) === this && _PartContext.contexts.delete(e);
|
|
1440
1470
|
}));
|
|
1441
1471
|
}
|
|
@@ -1444,7 +1474,7 @@ var E = class _PartContext {
|
|
|
1444
1474
|
}
|
|
1445
1475
|
onOwnerChanged(e) {
|
|
1446
1476
|
if (!e) return;
|
|
1447
|
-
let t =
|
|
1477
|
+
let t = et.stateName(e);
|
|
1448
1478
|
return this.domElement.setState(t, !0), () => this.domElement.setState(t, !1);
|
|
1449
1479
|
}
|
|
1450
1480
|
ownerComponent() {
|
|
@@ -1471,7 +1501,7 @@ var E = class _PartContext {
|
|
|
1471
1501
|
}
|
|
1472
1502
|
static ownerFor(e, t, n = _PartContext.isBarrier) {
|
|
1473
1503
|
let r = _PartContext.owners.get(t);
|
|
1474
|
-
if (r?.size) return p(() =>
|
|
1504
|
+
if (r?.size) return p(() => et.find(e, _PartContext.lookupFor(t, r), { barrier: n }));
|
|
1475
1505
|
}
|
|
1476
1506
|
static componentFor(e) {
|
|
1477
1507
|
return e?.owner?.component;
|
|
@@ -1505,18 +1535,52 @@ var E = class _PartContext {
|
|
|
1505
1535
|
} : t;
|
|
1506
1536
|
}
|
|
1507
1537
|
};
|
|
1508
|
-
T = __decoratorStart(null),
|
|
1509
|
-
var D = E,
|
|
1538
|
+
T = __decoratorStart(null), st = /* @__PURE__ */ new WeakMap(), __decorateElement(T, 4, "owner", ot, E, st), __decorateElement(T, 1, "onOwnerChanged", at, E), __decoratorMetadata(T, E), __name(E, "PartContext"), __publicField(E, "owners", /* @__PURE__ */ new Map()), __publicField(E, "definedTags", /* @__PURE__ */ new Set()), __publicField(E, "partTags", /* @__PURE__ */ new Set()), __publicField(E, "conditionalTags", /* @__PURE__ */ new Set()), __publicField(E, "contexts", /* @__PURE__ */ new WeakMap()), __publicField(E, "lastAssigned", /* @__PURE__ */ new WeakMap());
|
|
1539
|
+
var D = E, ct = [
|
|
1540
|
+
"phone",
|
|
1541
|
+
"tablet",
|
|
1542
|
+
"desktop"
|
|
1543
|
+
];
|
|
1544
|
+
function onPlatformChange(e) {
|
|
1545
|
+
if (typeof matchMedia != "function") return () => {};
|
|
1546
|
+
let t = new AbortController(), changed = () => e(currentPlatform());
|
|
1547
|
+
for (let e of ct) matchMedia(ut[e]).addEventListener("change", changed, { signal: t.signal });
|
|
1548
|
+
return () => t.abort();
|
|
1549
|
+
}
|
|
1550
|
+
function canCaptureScreen() {
|
|
1551
|
+
return typeof globalThis.navigator?.mediaDevices?.getDisplayMedia == "function";
|
|
1552
|
+
}
|
|
1553
|
+
var lt = {
|
|
1554
|
+
phone: /^phone$/i,
|
|
1555
|
+
tablet: /^tablet$/i,
|
|
1556
|
+
desktop: /^desktop$/i
|
|
1557
|
+
}, ut = {
|
|
1558
|
+
phone: "(pointer: coarse) and ((width < 600px) or (height < 600px))",
|
|
1559
|
+
tablet: "(pointer: coarse) and (width >= 600px) and (height >= 600px)",
|
|
1560
|
+
desktop: "not (pointer: coarse)"
|
|
1561
|
+
};
|
|
1562
|
+
function currentPlatform() {
|
|
1563
|
+
return typeof matchMedia == "function" ? ct.find((e) => matchMedia(ut[e]).matches) ?? "desktop" : "desktop";
|
|
1564
|
+
}
|
|
1565
|
+
function platformsIn(e) {
|
|
1566
|
+
let t = commaList(e);
|
|
1567
|
+
if (t.length) return new Set(ct.filter((e) => t.some((t) => lt[e].test(t))));
|
|
1568
|
+
}
|
|
1569
|
+
function isOnPlatform(e) {
|
|
1570
|
+
return platformsIn(e)?.has(currentPlatform()) ?? !0;
|
|
1571
|
+
}
|
|
1572
|
+
// ../src/element/ShadowEvents.ts
|
|
1573
|
+
var dt = class ShadowEvents {
|
|
1510
1574
|
static register(e) {
|
|
1511
|
-
|
|
1575
|
+
mt.has(e) || ShadowEvents.bridge(e);
|
|
1512
1576
|
let t = ue(e, e);
|
|
1513
|
-
t && (t.roots = (t.roots ?? 0) + 1,
|
|
1577
|
+
t && (t.roots = (t.roots ?? 0) + 1, ht.set(e, t));
|
|
1514
1578
|
}
|
|
1515
1579
|
static unregister(e) {
|
|
1516
1580
|
me(e);
|
|
1517
1581
|
}
|
|
1518
1582
|
static bridge(e) {
|
|
1519
|
-
|
|
1583
|
+
mt.add(e);
|
|
1520
1584
|
let t = e.addEventListener, n = e.removeEventListener, r = /* @__PURE__ */ new WeakMap(), i = e instanceof ShadowRoot;
|
|
1521
1585
|
Object.defineProperties(e, {
|
|
1522
1586
|
addEventListener: {
|
|
@@ -1537,7 +1601,7 @@ var D = E, st = class ShadowEvents {
|
|
|
1537
1601
|
});
|
|
1538
1602
|
function wrap(t) {
|
|
1539
1603
|
return function(n) {
|
|
1540
|
-
if (
|
|
1604
|
+
if (ht.get(e)?.handlers.get(n.type) !== t) return t.call(this, n);
|
|
1541
1605
|
i && ShadowEvents.before(n, e);
|
|
1542
1606
|
try {
|
|
1543
1607
|
t.call(this, n);
|
|
@@ -1548,14 +1612,14 @@ var D = E, st = class ShadowEvents {
|
|
|
1548
1612
|
}
|
|
1549
1613
|
}
|
|
1550
1614
|
static before(e, t) {
|
|
1551
|
-
let n = e[
|
|
1615
|
+
let n = e[ft];
|
|
1552
1616
|
if (!n || n === !0) return;
|
|
1553
|
-
let r =
|
|
1617
|
+
let r = gt.get(e), i = r?.marker === n ? r.node : n;
|
|
1554
1618
|
if (i !== r?.node && t.contains(i)) return;
|
|
1555
1619
|
let a = e.composedPath(), o = a.indexOf(i);
|
|
1556
1620
|
if (o < 0) return;
|
|
1557
1621
|
let s = a.slice(o + 1);
|
|
1558
|
-
delete e[
|
|
1622
|
+
delete e[ft], Object.defineProperty(e, "composedPath", {
|
|
1559
1623
|
configurable: !0,
|
|
1560
1624
|
value() {
|
|
1561
1625
|
return ShadowEvents.unwalk(e, "composedPath"), s;
|
|
@@ -1563,23 +1627,23 @@ var D = E, st = class ShadowEvents {
|
|
|
1563
1627
|
});
|
|
1564
1628
|
}
|
|
1565
1629
|
static after(e, t) {
|
|
1566
|
-
if (ShadowEvents.unwalk(e, "target", "currentTarget", "composedPath"), !(t instanceof ShadowRoot) || e[
|
|
1630
|
+
if (ShadowEvents.unwalk(e, "target", "currentTarget", "composedPath"), !(t instanceof ShadowRoot) || e[ft] !== t || e.cancelBubble) return;
|
|
1567
1631
|
let n = t.host, r = !t.contains(e.target), i = t;
|
|
1568
|
-
n[`${
|
|
1632
|
+
n[`${pt}${e.type}`] !== void 0 && !ShadowEvents.bridgeWalksNext(e, t, n) && (ShadowEvents.runHandler(e, n), i = n);
|
|
1569
1633
|
let a = i === n && r ? ShadowEvents.parentOf(n) ?? !0 : n;
|
|
1570
|
-
e[
|
|
1634
|
+
e[ft] = a, gt.set(e, {
|
|
1571
1635
|
node: i,
|
|
1572
1636
|
marker: a
|
|
1573
1637
|
});
|
|
1574
1638
|
}
|
|
1575
1639
|
static bridgeWalksNext(e, t, n) {
|
|
1576
|
-
let r = e.composedPath(), i = r.indexOf(t) + 1, a = r.findIndex((e, t) => t > i &&
|
|
1640
|
+
let r = e.composedPath(), i = r.indexOf(t) + 1, a = r.findIndex((e, t) => t > i && mt.has(e));
|
|
1577
1641
|
if (a < 0) return !1;
|
|
1578
1642
|
let o = ShadowEvents.parentOf(n), s = o ? oe(o) : void 0, c = s ? r.indexOf(s) : -1;
|
|
1579
1643
|
return c < 0 || a <= c;
|
|
1580
1644
|
}
|
|
1581
1645
|
static runHandler(e, t) {
|
|
1582
|
-
let n = `${
|
|
1646
|
+
let n = `${pt}${e.type}`, r = t[n];
|
|
1583
1647
|
if (!r || t.disabled) return;
|
|
1584
1648
|
let i = t[`${n}Data`];
|
|
1585
1649
|
Object.defineProperty(e, "target", {
|
|
@@ -1601,14 +1665,14 @@ var D = E, st = class ShadowEvents {
|
|
|
1601
1665
|
static parentOf(e) {
|
|
1602
1666
|
return e._$host ?? e.parentNode ?? e.host ?? null;
|
|
1603
1667
|
}
|
|
1604
|
-
},
|
|
1605
|
-
|
|
1668
|
+
}, ft = "_$SOLID_EVENT_OWNER", pt = "_$$", mt = /* @__PURE__ */ new WeakSet(), ht = /* @__PURE__ */ new WeakMap(), gt = /* @__PURE__ */ new WeakMap(), _t, vt, yt, bt, xt, St, Ct, wt, Tt, Et, Dt, Ot, kt, At, jt, Mt, Nt, Pt, Ft, It, Lt, Rt, zt, Bt, Vt, Ht, Ut = [protoMerged], O, Wt, Gt, Kt, qt, Jt;
|
|
1669
|
+
Ht = [cssState("linked")], Vt = [onChange("sharedFontSize", { writesDOMElement: !0 })], Bt = [cssState("shadow")], zt = [onChange("sharedShadow", { writesDOMElement: !0 })], Rt = [onChange("sharedWidths", "isReady", { writesDOMElement: !0 })], Lt = [onChange("sharedTooltip", "sharedLabel", { writesDOMElement: !0 })], It = [on("click")], Ft = [onChange("isConnected", "sharedMovable", "sharedResizable", { writesDOMElement: !0 })], Pt = [state], Nt = [state], Mt = [onChange("isReady")], jt = [untracked], At = [cssState("disabled")], kt = [state], Ot = [cssState("loading")], Dt = [cssState("busy")], Et = [cssState("dimmed")], Tt = [onChange("hasInertContent", "isDisabled", "showsLoader", "isReady", { writesDOMElement: !0 })], wt = [onChange("sharedPlatforms", { writesDOMElement: !0 })], Ct = [controlled("visible")], St = [cssState("hidden")], xt = [cssState("hiding"), state], bt = [untracked], yt = [cssState("still")], vt = [onChange("isVisible", "isReady")], _t = [on("slotchange", { target: "renderRoot" })];
|
|
1606
1670
|
var k = class _UIComponent {
|
|
1607
1671
|
constructor(e, t) {
|
|
1608
|
-
__runInitializers(O, 5, this), __publicField(this, "elementDefinition"), __publicField(this, "domElement"), __publicField(this, "appContext"), __privateAdd(this,
|
|
1609
|
-
for (let [t, n] of Object.entries(this.elementSetup.aria)) e.internals[
|
|
1672
|
+
__runInitializers(O, 5, this), __publicField(this, "elementDefinition"), __publicField(this, "domElement"), __publicField(this, "appContext"), __privateAdd(this, Wt, __runInitializers(O, 8, this, !1)), __runInitializers(O, 11, this), __privateAdd(this, Gt, __runInitializers(O, 12, this, !1)), __runInitializers(O, 15, this), __privateAdd(this, Kt, __runInitializers(O, 16, this, !1)), __runInitializers(O, 19, this), __privateAdd(this, qt, __runInitializers(O, 20, this, !0)), __runInitializers(O, 23, this), __privateAdd(this, Jt, __runInitializers(O, 24, this, !1)), __runInitializers(O, 27, this), __publicField(this, "internalState"), this.domElement = e, this.elementDefinition = t, e.component = this, this.appContext = h ? null : _UIComponent.appContextFor(e), this.internalState = { classInput: t.classInput((e) => this.classValue(e)) }, this.isConnected = h || e.isConnected;
|
|
1673
|
+
for (let [t, n] of Object.entries(this.elementSetup.aria)) e.internals[Te[t]] = n;
|
|
1610
1674
|
let { runtime: n } = y.settings;
|
|
1611
|
-
this.isReady = h || n.isLoaded,
|
|
1675
|
+
this.isReady = h || n.isLoaded, h || (this.startListeners(), this.isReady || n.load().then(() => this.onRuntimeLoaded()));
|
|
1612
1676
|
}
|
|
1613
1677
|
partForName(e) {
|
|
1614
1678
|
return this.elementDefinition.part(e);
|
|
@@ -1662,65 +1726,65 @@ var k = class _UIComponent {
|
|
|
1662
1726
|
afterSolidUpdate(() => this.isConnected = e.isConnected);
|
|
1663
1727
|
}
|
|
1664
1728
|
get sharedLink() {
|
|
1665
|
-
return this.sharedText(
|
|
1729
|
+
return this.sharedText(Zt);
|
|
1666
1730
|
}
|
|
1667
1731
|
get sharedTarget() {
|
|
1668
|
-
return this.sharedText(
|
|
1732
|
+
return this.sharedText(Qt);
|
|
1669
1733
|
}
|
|
1670
1734
|
get linkTo() {
|
|
1671
|
-
let e = b.attributeValue(this,
|
|
1735
|
+
let e = b.attributeValue(this, Zt);
|
|
1672
1736
|
return typeof e == "string" && e !== "" && !this.isMarkedDisabled ? e : void 0;
|
|
1673
1737
|
}
|
|
1674
1738
|
get linkTarget() {
|
|
1675
1739
|
if (!this.linkTo) return;
|
|
1676
|
-
let e = b.attributeValue(this,
|
|
1740
|
+
let e = b.attributeValue(this, Qt);
|
|
1677
1741
|
return typeof e == "string" && e !== "" ? e : void 0;
|
|
1678
1742
|
}
|
|
1679
1743
|
get fontStates() {
|
|
1680
|
-
if (!this.elementDefinition.takesShared(
|
|
1681
|
-
let e = new Set((this.sharedText(
|
|
1744
|
+
if (!this.elementDefinition.takesShared($t)) return {};
|
|
1745
|
+
let e = new Set((this.sharedText($t) ?? "").split(/\s+/)), { values: t } = this.elementDefinition.attribute($t).spec, n = Array.isArray(t) ? t : [...e].filter((e) => !en.test(e));
|
|
1682
1746
|
return {
|
|
1683
|
-
...Object.fromEntries(n.filter(Boolean).map((t) => [`${
|
|
1684
|
-
[
|
|
1747
|
+
...Object.fromEntries(n.filter(Boolean).map((t) => [`${$t}-${t}`, e.has(t)])),
|
|
1748
|
+
[tn]: this.sharedFontSize !== void 0
|
|
1685
1749
|
};
|
|
1686
1750
|
}
|
|
1687
1751
|
get sharedFontSize() {
|
|
1688
|
-
return this.sharedText(
|
|
1752
|
+
return this.sharedText($t)?.split(/\s+/).find((e) => en.test(e));
|
|
1689
1753
|
}
|
|
1690
1754
|
onFontSizeChanged(e) {
|
|
1691
|
-
let { style: t } = this.domElement, [, n, r] = e?.match(
|
|
1692
|
-
n ? t.setProperty(
|
|
1755
|
+
let { style: t } = this.domElement, [, n, r] = e?.match(en) ?? [];
|
|
1756
|
+
n ? t.setProperty(nn, `${n}px`) : this.internalState.wroteFontSize && t.removeProperty(nn), n && r ? t.setProperty(rn, String(Number(r) / Number(n))) : this.internalState.wroteFontSize && t.removeProperty(rn), this.internalState.wroteFontSize = !!n;
|
|
1693
1757
|
}
|
|
1694
1758
|
get sharedShadow() {
|
|
1695
|
-
return this.sharedText(
|
|
1759
|
+
return this.sharedText(an);
|
|
1696
1760
|
}
|
|
1697
1761
|
onShadowChanged(e) {
|
|
1698
1762
|
let { style: t } = this.domElement;
|
|
1699
|
-
e ? t.setProperty(
|
|
1763
|
+
e ? t.setProperty(sn, `var(--ui-${e})`) : this.internalState.wroteShadow && t.removeProperty(sn), this.internalState.wroteShadow = !!e;
|
|
1700
1764
|
}
|
|
1701
1765
|
get sharedWidths() {
|
|
1702
|
-
return Object.fromEntries(
|
|
1766
|
+
return Object.fromEntries(cn.map((e) => [e, this.sharedText(e)]));
|
|
1703
1767
|
}
|
|
1704
1768
|
onWidthsChanged(e, t) {
|
|
1705
1769
|
if (h) return;
|
|
1706
|
-
let { domElement: n, internalState: r } = this, i =
|
|
1770
|
+
let { domElement: n, internalState: r } = this, i = cn.some((t) => e[t] !== void 0);
|
|
1707
1771
|
if (!i && !r.wroteWidths) return;
|
|
1708
|
-
for (let t of
|
|
1772
|
+
for (let t of cn) {
|
|
1709
1773
|
let r = e[t];
|
|
1710
1774
|
r === void 0 ? n.style.removeProperty(`--_ui-${t}`) : n.style.setProperty(`--_ui-${t}`, r), n.setState(t, r !== void 0);
|
|
1711
1775
|
}
|
|
1712
1776
|
let a = i && t && getComputedStyle(n).display === "contents";
|
|
1713
|
-
n.setState(
|
|
1777
|
+
n.setState(ln, a), r.wroteWidths = i;
|
|
1714
1778
|
}
|
|
1715
1779
|
get sharedTooltip() {
|
|
1716
|
-
return this.sharedText(
|
|
1780
|
+
return this.sharedText(un);
|
|
1717
1781
|
}
|
|
1718
1782
|
get sharedLabel() {
|
|
1719
|
-
return this.sharedText(
|
|
1783
|
+
return this.sharedText(pn);
|
|
1720
1784
|
}
|
|
1721
1785
|
onSharedWordsChanged(e, t) {
|
|
1722
1786
|
let { domElement: n, internalState: r } = this;
|
|
1723
|
-
e === void 0 ? r.wroteTitle && n.removeAttribute("title") : n.setAttribute("title", e), r.wroteTitle = e !== void 0, this.elementDefinition.takesShared(
|
|
1787
|
+
e === void 0 ? r.wroteTitle && n.removeAttribute("title") : n.setAttribute("title", e), r.wroteTitle = e !== void 0, this.elementDefinition.takesShared(pn) && (n.internals.ariaLabel = t ?? null);
|
|
1724
1788
|
}
|
|
1725
1789
|
onSharedLinkClick(e) {
|
|
1726
1790
|
let t = this.sharedLink;
|
|
@@ -1735,27 +1799,27 @@ var k = class _UIComponent {
|
|
|
1735
1799
|
return typeof t == "string" && t !== "" ? t : void 0;
|
|
1736
1800
|
}
|
|
1737
1801
|
get sharedMovable() {
|
|
1738
|
-
return this.sharedWay(
|
|
1802
|
+
return this.sharedWay(dn);
|
|
1739
1803
|
}
|
|
1740
1804
|
get sharedResizable() {
|
|
1741
|
-
return this.sharedWay(
|
|
1805
|
+
return this.sharedWay(fn);
|
|
1742
1806
|
}
|
|
1743
1807
|
moveAndResize(e, t, n) {
|
|
1744
|
-
if (e && !h && (t || n)) return
|
|
1808
|
+
if (e && !h && (t || n)) return Mn.start(this.domElement, {
|
|
1745
1809
|
move: t,
|
|
1746
1810
|
resize: n
|
|
1747
1811
|
});
|
|
1748
1812
|
}
|
|
1749
1813
|
sharedWay(e) {
|
|
1750
|
-
if (this.elementDefinition.takesShared(e)) return
|
|
1814
|
+
if (this.elementDefinition.takesShared(e)) return Mn.wayOf(b.attributeValue(this, e));
|
|
1751
1815
|
}
|
|
1752
1816
|
followParent() {
|
|
1753
1817
|
let { domElement: e, elementDefinition: t } = this;
|
|
1754
|
-
if (h || !t.takesAttribute(
|
|
1755
|
-
let n = new
|
|
1818
|
+
if (h || !t.takesAttribute(hn)) return;
|
|
1819
|
+
let n = new zn({
|
|
1756
1820
|
domElement: e,
|
|
1757
|
-
attribute: t.localAttribute(
|
|
1758
|
-
}), r = a(() => this.isConnected ? b.attributeValue(this,
|
|
1821
|
+
attribute: t.localAttribute(hn)
|
|
1822
|
+
}), r = a(() => this.isConnected ? b.attributeValue(this, hn) : void 0);
|
|
1759
1823
|
i(r, (e) => n.follow(e));
|
|
1760
1824
|
}
|
|
1761
1825
|
get hostLayout() {}
|
|
@@ -1780,7 +1844,7 @@ var k = class _UIComponent {
|
|
|
1780
1844
|
return null;
|
|
1781
1845
|
}
|
|
1782
1846
|
static isRootTag(e) {
|
|
1783
|
-
return e ===
|
|
1847
|
+
return e === Xt || _UIComponent.rootTags.has(e);
|
|
1784
1848
|
}
|
|
1785
1849
|
get attributes() {
|
|
1786
1850
|
let { elementDefinition: e } = this;
|
|
@@ -1832,6 +1896,17 @@ var k = class _UIComponent {
|
|
|
1832
1896
|
t.inert || (t.inert = !0, s.push(t));
|
|
1833
1897
|
}
|
|
1834
1898
|
}
|
|
1899
|
+
get sharedPlatforms() {
|
|
1900
|
+
return this.sharedText(mn);
|
|
1901
|
+
}
|
|
1902
|
+
onPlatformsChanged(e) {
|
|
1903
|
+
let { domElement: t, internalState: n } = this, r = platformsIn(e);
|
|
1904
|
+
if (!(h || !r && !n.wrotePlatforms)) {
|
|
1905
|
+
t.setState(mn, !!r);
|
|
1906
|
+
for (let e of ct) t.setState(`on-${e}`, !!r?.has(e));
|
|
1907
|
+
n.wrotePlatforms = !!r;
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1835
1910
|
get isHidden() {
|
|
1836
1911
|
return !this.isVisible && !this.isHiding;
|
|
1837
1912
|
}
|
|
@@ -1854,14 +1929,15 @@ var k = class _UIComponent {
|
|
|
1854
1929
|
let { motion: a } = y.settings;
|
|
1855
1930
|
if (t === "none" || a.isAttention(t)) {
|
|
1856
1931
|
if (e) for (let e of i) a.reveal(e);
|
|
1857
|
-
|
|
1858
|
-
}
|
|
1859
|
-
e || (n.animatedOut = i), await Promise.all(i.map((n) => a.animate(n, t, e)));
|
|
1932
|
+
} else e || (n.animatedOut = i), await Promise.all(i.map((n) => a.animate(n, t, e)));
|
|
1860
1933
|
}
|
|
1861
1934
|
onVisibleOrReadyChanged(e, t) {
|
|
1862
1935
|
if (!t) return;
|
|
1863
1936
|
let { internalState: n } = this, r = n.wasVisible === void 0;
|
|
1864
|
-
(r
|
|
1937
|
+
if (!r && n.wasVisible === e) return;
|
|
1938
|
+
n.wasVisible = e;
|
|
1939
|
+
let i = r ? v : this.animationToRun;
|
|
1940
|
+
afterSolidUpdate(() => void this.runVisibleChange(e, i));
|
|
1865
1941
|
}
|
|
1866
1942
|
async runVisibleChange(e, t) {
|
|
1867
1943
|
let { internalState: n } = this, r = n.visibleRun = (n.visibleRun ?? 0) + 1;
|
|
@@ -1934,7 +2010,7 @@ var k = class _UIComponent {
|
|
|
1934
2010
|
b.ownRoot((a) => {
|
|
1935
2011
|
let o = r.renderRoot;
|
|
1936
2012
|
r.addReleaseCallback(() => {
|
|
1937
|
-
|
|
2013
|
+
dt.unregister(o), o.textContent = "", a();
|
|
1938
2014
|
});
|
|
1939
2015
|
let s = n({
|
|
1940
2016
|
get children() {
|
|
@@ -1945,12 +2021,12 @@ var k = class _UIComponent {
|
|
|
1945
2021
|
return f(null, () => _UIComponent.onError(r, t)) ? _UIComponent.renderFallback(r, t, i) : void 0;
|
|
1946
2022
|
}, "fallback")
|
|
1947
2023
|
});
|
|
1948
|
-
r.clearServerContent(),
|
|
2024
|
+
r.clearServerContent(), dt.register(o), ce(o, s);
|
|
1949
2025
|
});
|
|
1950
2026
|
}
|
|
1951
2027
|
static onError(e, t) {
|
|
1952
|
-
e.setState(
|
|
1953
|
-
let n = new CustomEvent(
|
|
2028
|
+
e.setState(De, !0), console.error(`<${e.localName}> failed:`, t), e.component = void 0, e.markReady();
|
|
2029
|
+
let n = new CustomEvent(Ee, {
|
|
1954
2030
|
bubbles: !0,
|
|
1955
2031
|
composed: !0,
|
|
1956
2032
|
cancelable: !0,
|
|
@@ -1974,7 +2050,7 @@ var k = class _UIComponent {
|
|
|
1974
2050
|
y.whenInstalled(() => void _UIComponent.define.call(this, e, t));
|
|
1975
2051
|
return;
|
|
1976
2052
|
}
|
|
1977
|
-
let n = new
|
|
2053
|
+
let n = new ze(this.prototype.vocabulary, {
|
|
1978
2054
|
tag: e,
|
|
1979
2055
|
dictionary: t
|
|
1980
2056
|
}), r = customElements.get(n.tag), i = w.isEarly(r);
|
|
@@ -2010,7 +2086,7 @@ var k = class _UIComponent {
|
|
|
2010
2086
|
isConditionalOwner: "isOwnerOf" in this.prototype
|
|
2011
2087
|
});
|
|
2012
2088
|
let { runtime: n, words: r } = y.settings, i = n.isLoaded, a = /* @__PURE__ */ __name((e, t) => _UIComponent.define.call(this, e, t), "define");
|
|
2013
|
-
|
|
2089
|
+
_UIComponent.registry.vocabularies.has(t) || !i && h || (_UIComponent.registry.vocabularies.add(t), i ? handOver() : n.load().then(handOver)), b.installAttributeGetters(this.prototype, e.attributes.map(({ key: e, spec: t }) => ({
|
|
2014
2090
|
key: e,
|
|
2015
2091
|
name: t.name
|
|
2016
2092
|
})));
|
|
@@ -2026,7 +2102,7 @@ var k = class _UIComponent {
|
|
|
2026
2102
|
return this.prototype.vocabulary;
|
|
2027
2103
|
}
|
|
2028
2104
|
};
|
|
2029
|
-
O = __decoratorStart(null),
|
|
2105
|
+
O = __decoratorStart(null), Wt = /* @__PURE__ */ new WeakMap(), Gt = /* @__PURE__ */ new WeakMap(), Kt = /* @__PURE__ */ new WeakMap(), qt = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), __decorateElement(O, 2, "sharedLink", Ht, k), __decorateElement(O, 1, "onFontSizeChanged", Vt, k), __decorateElement(O, 2, "sharedShadow", Bt, k), __decorateElement(O, 1, "onShadowChanged", zt, k), __decorateElement(O, 1, "onWidthsChanged", Rt, k), __decorateElement(O, 1, "onSharedWordsChanged", Lt, k), __decorateElement(O, 1, "onSharedLinkClick", It, k), __decorateElement(O, 1, "moveAndResize", Ft, k), __decorateElement(O, 4, "isConnected", Pt, k, Wt), __decorateElement(O, 4, "isReady", Nt, k, Gt), __decorateElement(O, 1, "onReadyChanged", Mt, k), __decorateElement(O, 1, "adoptStyleSheets", jt, k), __decorateElement(O, 2, "isMarkedDisabled", At, k), __decorateElement(O, 4, "formIsDisabled", kt, k, Kt), __decorateElement(O, 2, "isMarkedLoading", Ot, k), __decorateElement(O, 2, "showsLoader", Dt, k), __decorateElement(O, 2, "hasInertContent", Et, k), __decorateElement(O, 1, "onSharedStatesChanged", Tt, k), __decorateElement(O, 1, "onPlatformsChanged", wt, k), __decorateElement(O, 4, "isVisible", Ct, k, qt), __decorateElement(O, 2, "isHidden", St, k), __decorateElement(O, 4, "isHiding", xt, k, Jt), __decorateElement(O, 2, "animationToRun", bt, k), __decorateElement(O, 2, "isStill", yt, k), __decorateElement(O, 1, "onVisibleOrReadyChanged", vt, k), __decorateElement(O, 1, "onSlotChangeForParts", _t, k), __decorateElement(O, 13, "elementSetup", Ut, k), __decoratorMetadata(O, k), __name(k, "UIComponent"), __publicField(k, "elementSetup", __runInitializers(O, 28, k, {
|
|
2030
2106
|
styleSheets: {},
|
|
2031
2107
|
cssStates: [],
|
|
2032
2108
|
isAFormControl: !1,
|
|
@@ -2049,18 +2125,18 @@ O = __decoratorStart(null), zt = /* @__PURE__ */ new WeakMap(), Bt = /* @__PURE_
|
|
|
2049
2125
|
definitions: /* @__PURE__ */ new Map(),
|
|
2050
2126
|
vocabularies: /* @__PURE__ */ new WeakSet()
|
|
2051
2127
|
});
|
|
2052
|
-
var
|
|
2128
|
+
var Yt = k, Xt = "ui-root", Zt = "link", Qt = "target", $t = "font", en = /^(\d+(?:\.\d+)?)(?:\/(\d+(?:\.\d+)?))?$/, tn = "font-size", nn = "--ui-font-size", rn = "--ui-line-height", an = "shadow", sn = "--_ui-shadow-color", cn = [
|
|
2053
2129
|
"width",
|
|
2054
2130
|
"min-width",
|
|
2055
2131
|
"max-width"
|
|
2056
|
-
],
|
|
2132
|
+
], ln = "sized-inside", un = "tooltip", dn = "movable", fn = "resizable", pn = "label", mn = "on-platform", hn = "parent", gn, _n, vn;
|
|
2057
2133
|
function isSameSet(e, t) {
|
|
2058
2134
|
return e.size === t.size && [...e].every((e) => t.has(e));
|
|
2059
2135
|
}
|
|
2060
|
-
__name(isSameSet, "isSameSet"),
|
|
2061
|
-
var
|
|
2136
|
+
__name(isSameSet, "isSameSet"), gn = [state({ equals: isSameSet })];
|
|
2137
|
+
var yn = class _SlotContent {
|
|
2062
2138
|
constructor(e) {
|
|
2063
|
-
__privateAdd(this,
|
|
2139
|
+
__privateAdd(this, vn, __runInitializers(_n, 8, this, /* @__PURE__ */ new Set())), __runInitializers(_n, 11, this), __publicField(this, "domElement"), this.domElement = e, this.filledSlots = this.scan(), d(() => {
|
|
2064
2140
|
let t = new MutationObserver(() => this.filledSlots = this.scan());
|
|
2065
2141
|
return t.observe(e, {
|
|
2066
2142
|
childList: !0,
|
|
@@ -2079,10 +2155,10 @@ var pn = class _SlotContent {
|
|
|
2079
2155
|
return e;
|
|
2080
2156
|
}
|
|
2081
2157
|
};
|
|
2082
|
-
|
|
2083
|
-
var
|
|
2158
|
+
_n = __decoratorStart(null), vn = /* @__PURE__ */ new WeakMap(), __decorateElement(_n, 4, "filledSlots", gn, yn, vn), __decoratorMetadata(_n, yn), __name(yn, "SlotContent");
|
|
2159
|
+
var bn = yn, xn = [state], Sn, Cn, wn = class _Disclosure {
|
|
2084
2160
|
constructor(e = {}) {
|
|
2085
|
-
this.setup = e, __privateAdd(this,
|
|
2161
|
+
this.setup = e, __privateAdd(this, Cn, __runInitializers(Sn, 8, this)), __runInitializers(Sn, 11, this), __publicField(this, "toggle", /* @__PURE__ */ __name((e) => this.request(!p(() => this.isOpen), e), "toggle")), __publicField(this, "open", /* @__PURE__ */ __name((e) => this.request(!0, e), "open")), __publicField(this, "close", /* @__PURE__ */ __name((e) => this.request(!1, e), "close")), __publicField(this, "revealOnMatch", /* @__PURE__ */ __name((e) => {
|
|
2086
2162
|
e.addEventListener("beforematch", () => this.adopt(!0));
|
|
2087
2163
|
}, "revealOnMatch"));
|
|
2088
2164
|
}
|
|
@@ -2105,7 +2181,7 @@ var mn = pn, hn = [state], gn, _n, vn = class _Disclosure {
|
|
|
2105
2181
|
let { setup: n } = this;
|
|
2106
2182
|
if (n.canChange && !n.canChange(e)) return !1;
|
|
2107
2183
|
let r = /* @__PURE__ */ __name(() => {
|
|
2108
|
-
let r = this.send(e ?
|
|
2184
|
+
let r = this.send(e ? En : Dn, e, t);
|
|
2109
2185
|
return r && n.beforeChange?.(e), r;
|
|
2110
2186
|
}, "announce"), { component: i, member: a, memberMeans: o } = n, s;
|
|
2111
2187
|
if (i && a && b.isControlled(i, a)) {
|
|
@@ -2116,11 +2192,11 @@ var mn = pn, hn = [state], gn, _n, vn = class _Disclosure {
|
|
|
2116
2192
|
});
|
|
2117
2193
|
}
|
|
2118
2194
|
sendAfter(e, t) {
|
|
2119
|
-
this.send(e ?
|
|
2195
|
+
this.send(e ? On : kn, e, t, { after: !0 });
|
|
2120
2196
|
}
|
|
2121
2197
|
adopt(e, t) {
|
|
2122
2198
|
p(() => {
|
|
2123
|
-
e !== this.isOpen && (this.send(e ?
|
|
2199
|
+
e !== this.isOpen && (this.send(e ? En : Dn, e, t, { cancelable: !1 }), this.write(e), this.setup.onChange?.(e));
|
|
2124
2200
|
});
|
|
2125
2201
|
}
|
|
2126
2202
|
write(e) {
|
|
@@ -2131,7 +2207,7 @@ var mn = pn, hn = [state], gn, _n, vn = class _Disclosure {
|
|
|
2131
2207
|
return this.isOpen ? "true" : "false";
|
|
2132
2208
|
}
|
|
2133
2209
|
get hidden() {
|
|
2134
|
-
return this.isOpen ? void 0 :
|
|
2210
|
+
return this.isOpen ? void 0 : An;
|
|
2135
2211
|
}
|
|
2136
2212
|
send(e, t, n, { cancelable: r, after: i } = {}) {
|
|
2137
2213
|
let { component: a, detail: o, afterDetail: s } = this.setup;
|
|
@@ -2150,25 +2226,25 @@ var mn = pn, hn = [state], gn, _n, vn = class _Disclosure {
|
|
|
2150
2226
|
return a.domElement.dispatchEvent(new CustomEvent(a.elementDefinition.event(e), l));
|
|
2151
2227
|
}
|
|
2152
2228
|
};
|
|
2153
|
-
|
|
2154
|
-
var
|
|
2229
|
+
Sn = __decoratorStart(null), Cn = /* @__PURE__ */ new WeakMap(), __decorateElement(Sn, 4, "toggled", xn, wn, Cn), __decoratorMetadata(Sn, wn), __name(wn, "Disclosure");
|
|
2230
|
+
var Tn = wn, En = "ui-opening", Dn = "ui-closing", On = "ui-opened", kn = "ui-closed", An = "until-found", OwnControls = class {
|
|
2155
2231
|
static isClicked(e, { upTo: t, before: n } = {}) {
|
|
2156
2232
|
for (let r of e.composedPath()) {
|
|
2157
2233
|
if (r === t) return !1;
|
|
2158
2234
|
let e = r;
|
|
2159
2235
|
if (e.matches) {
|
|
2160
2236
|
if (n && e.matches(n)) return !1;
|
|
2161
|
-
if (e.matches(
|
|
2237
|
+
if (e.matches(jn)) return !0;
|
|
2162
2238
|
}
|
|
2163
2239
|
}
|
|
2164
2240
|
return !1;
|
|
2165
2241
|
}
|
|
2166
|
-
},
|
|
2242
|
+
}, jn = "a, button, input, select, textarea, label, details, summary, [contenteditable], [tabindex], [role=button], [role=link]", Mn = class MoveAndResize {
|
|
2167
2243
|
element;
|
|
2168
2244
|
move;
|
|
2169
2245
|
resize;
|
|
2170
2246
|
static wayOf(e) {
|
|
2171
|
-
if (e != null && e !== !1) return e === "" || e === !0 || e === "both" ? "both" :
|
|
2247
|
+
if (e != null && e !== !1) return e === "" || e === !0 || e === "both" ? "both" : Nn.includes(e) ? e : void 0;
|
|
2172
2248
|
}
|
|
2173
2249
|
static start(e, { move: t, resize: n }) {
|
|
2174
2250
|
return !t && !n ? () => {} : new MoveAndResize(e, t, n).stop;
|
|
@@ -2176,7 +2252,7 @@ var yn = vn, bn = "ui-opening", xn = "ui-closing", Sn = "ui-opened", Cn = "ui-cl
|
|
|
2176
2252
|
constructor(e, t, n) {
|
|
2177
2253
|
this.element = e, this.move = t, this.resize = n;
|
|
2178
2254
|
let { style: r } = e;
|
|
2179
|
-
n && (r.resize =
|
|
2255
|
+
n && (r.resize = Pn[n], getComputedStyle(e).overflow === "visible" && (r.overflow = "auto")), t && (r.cursor = "grab", r.touchAction = Fn[t], MoveAndResize.dragging()), e.addEventListener("pointerdown", this.onPress, { signal: this.listening.signal }), this.giveBackRemembered();
|
|
2180
2256
|
}
|
|
2181
2257
|
listening = new AbortController();
|
|
2182
2258
|
moved = {
|
|
@@ -2189,16 +2265,10 @@ var yn = vn, bn = "ui-opening", xn = "ui-closing", Sn = "ui-opened", Cn = "ui-cl
|
|
|
2189
2265
|
this.resize && (e.resize = "", e.overflow = ""), this.move && (e.cursor = "", e.touchAction = "");
|
|
2190
2266
|
};
|
|
2191
2267
|
onPress = (e) => {
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
signal: this.listening.signal
|
|
2197
|
-
});
|
|
2198
|
-
return;
|
|
2199
|
-
}
|
|
2200
|
-
this.move && !this.isOnOwnControl(e) && this.startMove(e);
|
|
2201
|
-
}
|
|
2268
|
+
e.button === 0 && (this.resize && this.isOnGrip(e) ? window.addEventListener("pointerup", () => void this.remember(), {
|
|
2269
|
+
once: !0,
|
|
2270
|
+
signal: this.listening.signal
|
|
2271
|
+
}) : this.move && !this.isOnOwnControl(e) && this.startMove(e));
|
|
2202
2272
|
};
|
|
2203
2273
|
async startMove(e) {
|
|
2204
2274
|
let t = MoveAndResize.loadedDragging ?? await MoveAndResize.dragging(), n = { ...this.moved }, { clientX: r, clientY: i } = e, a = this.element.getBoundingClientRect(), o = this.element.parentElement?.getBoundingClientRect();
|
|
@@ -2220,12 +2290,12 @@ var yn = vn, bn = "ui-opening", xn = "ui-closing", Sn = "ui-opened", Cn = "ui-cl
|
|
|
2220
2290
|
}
|
|
2221
2291
|
isOnGrip({ clientX: e, clientY: t }) {
|
|
2222
2292
|
let n = this.element.getBoundingClientRect();
|
|
2223
|
-
return e > n.right -
|
|
2293
|
+
return e > n.right - In && t > n.bottom - In;
|
|
2224
2294
|
}
|
|
2225
2295
|
isOnOwnControl(e) {
|
|
2226
2296
|
for (let t of e.composedPath()) {
|
|
2227
2297
|
if (t === this.element) return !1;
|
|
2228
|
-
if (t instanceof Element && t.matches(
|
|
2298
|
+
if (t instanceof Element && t.matches(Ln)) return !0;
|
|
2229
2299
|
}
|
|
2230
2300
|
return !1;
|
|
2231
2301
|
}
|
|
@@ -2250,13 +2320,13 @@ var yn = vn, bn = "ui-opening", xn = "ui-closing", Sn = "ui-opened", Cn = "ui-cl
|
|
|
2250
2320
|
return this.element.id || void 0;
|
|
2251
2321
|
}
|
|
2252
2322
|
static async dragging() {
|
|
2253
|
-
return MoveAndResize.loadedDragging ??= (await import("./Dragging-
|
|
2323
|
+
return MoveAndResize.loadedDragging ??= (await import("./Dragging-B93hbRxF.js").then((e) => e.n)).Dragging, MoveAndResize.loadedDragging;
|
|
2254
2324
|
}
|
|
2255
2325
|
static loadedDragging;
|
|
2256
2326
|
static async store() {
|
|
2257
2327
|
if (!MoveAndResize.prefs) {
|
|
2258
|
-
let { PrefStore: e } = await import("./PrefStore-
|
|
2259
|
-
MoveAndResize.prefs ??= new e(
|
|
2328
|
+
let { PrefStore: e } = await import("./PrefStore-Di83C0bY.js").then((e) => e.n);
|
|
2329
|
+
MoveAndResize.prefs ??= new e(Rn);
|
|
2260
2330
|
}
|
|
2261
2331
|
return MoveAndResize.prefs;
|
|
2262
2332
|
}
|
|
@@ -2266,19 +2336,19 @@ function clamp$1(e, t, n) {
|
|
|
2266
2336
|
return Math.min(Math.max(e, Math.min(t, 0)), Math.max(n, 0));
|
|
2267
2337
|
}
|
|
2268
2338
|
t(clamp$1, "clamp");
|
|
2269
|
-
var
|
|
2339
|
+
var Nn = [
|
|
2270
2340
|
"both",
|
|
2271
2341
|
"horizontally",
|
|
2272
2342
|
"vertically"
|
|
2273
|
-
],
|
|
2343
|
+
], Pn = {
|
|
2274
2344
|
both: "both",
|
|
2275
2345
|
horizontally: "horizontal",
|
|
2276
2346
|
vertically: "vertical"
|
|
2277
|
-
},
|
|
2347
|
+
}, Fn = {
|
|
2278
2348
|
both: "none",
|
|
2279
2349
|
horizontally: "pan-y",
|
|
2280
2350
|
vertically: "pan-x"
|
|
2281
|
-
},
|
|
2351
|
+
}, In = 16, Ln = "a[href], button, input, select, textarea, label, summary, [contenteditable=''], [contenteditable='true'], [role='button'], [role='link'], [role='slider'], [role='textbox']", Rn = "ui-element", zn = class ParentLink {
|
|
2282
2352
|
domElement;
|
|
2283
2353
|
attribute;
|
|
2284
2354
|
constructor(e) {
|
|
@@ -2342,46 +2412,53 @@ var Dn = [
|
|
|
2342
2412
|
static warned = /* @__PURE__ */ new Set();
|
|
2343
2413
|
static waiting = /* @__PURE__ */ new WeakMap();
|
|
2344
2414
|
};
|
|
2345
|
-
|
|
2346
|
-
//#region ../src/util/number.ts
|
|
2415
|
+
// ../src/util/number.ts
|
|
2347
2416
|
function clamp(e, t, n) {
|
|
2348
2417
|
return Math.min(n, Math.max(t, e));
|
|
2349
2418
|
}
|
|
2350
2419
|
function kb(e, { digits: t = 1 } = {}) {
|
|
2351
2420
|
return `${(e / 1024).toFixed(t)} KB`;
|
|
2352
2421
|
}
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
var Pn = class TopLayerTip {
|
|
2422
|
+
// src/util/TopLayerTip.ts
|
|
2423
|
+
var Bn = class TopLayerTip {
|
|
2356
2424
|
static showIn(e, t, { showOnClick: n = !1 } = {}) {
|
|
2357
2425
|
let isOnTrigger = (e) => e.composedPath().some((e) => e.matches?.(t)), r = !1, i = !1, update = () => {
|
|
2358
|
-
let t = e.querySelector(
|
|
2426
|
+
let t = e.querySelector(Vn);
|
|
2359
2427
|
t && TopLayerTip.setShown(t, r || i);
|
|
2360
2428
|
};
|
|
2361
2429
|
e.addEventListener("pointerover", (e) => {
|
|
2362
2430
|
r = isOnTrigger(e), update();
|
|
2363
2431
|
}), e.addEventListener("pointerleave", () => {
|
|
2364
2432
|
r = !1, update();
|
|
2365
|
-
})
|
|
2366
|
-
|
|
2433
|
+
});
|
|
2434
|
+
let a;
|
|
2435
|
+
e.addEventListener("focusin", (e) => {
|
|
2436
|
+
let t = e.composedPath()[0];
|
|
2437
|
+
i = isOnTrigger(e) && (n || t.matches(":focus-visible")), i && n && (a ??= TopLayerTip.blurOnClickElsewhere(t, isOnTrigger)), update();
|
|
2367
2438
|
}), e.addEventListener("focusout", () => {
|
|
2368
|
-
i = !1, update();
|
|
2439
|
+
i = !1, a?.(), a = void 0, update();
|
|
2369
2440
|
}), e.addEventListener("keydown", (e) => {
|
|
2370
2441
|
e.key === "Escape" && (r || i) && (r = i = !1, update());
|
|
2371
2442
|
});
|
|
2372
2443
|
}
|
|
2444
|
+
static blurOnClickElsewhere(e, t) {
|
|
2445
|
+
let onPointerDown = (n) => {
|
|
2446
|
+
t(n) || e.blur();
|
|
2447
|
+
}, n = e.ownerDocument;
|
|
2448
|
+
return n.addEventListener("pointerdown", onPointerDown, { capture: !0 }), () => n.removeEventListener("pointerdown", onPointerDown, { capture: !0 });
|
|
2449
|
+
}
|
|
2373
2450
|
static setShown(e, t) {
|
|
2374
2451
|
e.isConnected && "popover" in e && t !== e.matches(":popover-open") && (e.popover ||= "manual", t ? e.showPopover() : e.hidePopover());
|
|
2375
2452
|
}
|
|
2376
|
-
},
|
|
2453
|
+
}, Vn = "[role=\"tooltip\"]", Warnings = class {
|
|
2377
2454
|
static warn(e, t, ...n) {
|
|
2378
|
-
console.warn(`${
|
|
2455
|
+
console.warn(`${Hn} ${e}: ${t}`, ...n);
|
|
2379
2456
|
}
|
|
2380
2457
|
static error(e, t, ...n) {
|
|
2381
|
-
console.error(`${
|
|
2458
|
+
console.error(`${Hn} ${e}: ${t}`, ...n);
|
|
2382
2459
|
}
|
|
2383
2460
|
static devWarn(e, t, ...n) {}
|
|
2384
|
-
},
|
|
2461
|
+
}, Hn = "[spell-ui]", Un = class LoadOnce {
|
|
2385
2462
|
failures;
|
|
2386
2463
|
loads = /* @__PURE__ */ new Map();
|
|
2387
2464
|
constructor({ failures: e = "kept" } = {}) {
|
|
@@ -2442,8 +2519,8 @@ var Pn = class TopLayerTip {
|
|
|
2442
2519
|
let n = t.filter((t) => t !== e);
|
|
2443
2520
|
return this.pivot === e && (this.pivot = n.at(-1)), n;
|
|
2444
2521
|
}
|
|
2445
|
-
},
|
|
2446
|
-
|
|
2522
|
+
}, Wn, Gn, Kn, qn, Jn, Yn, Xn, Zn, Qn, $n, er = [proto], A;
|
|
2523
|
+
$n = [proto], Qn = [proto], Zn = [proto], Xn = [proto], Yn = [proto], Jn = [proto], qn = [proto], Kn = [proto], Gn = [proto], Wn = [proto];
|
|
2447
2524
|
var j = class _ValueSets {
|
|
2448
2525
|
static get(e) {
|
|
2449
2526
|
return typeof e == "string" ? _ValueSets.prototype[e] ?? [] : e;
|
|
@@ -2467,11 +2544,11 @@ var j = class _ValueSets {
|
|
|
2467
2544
|
}), _ValueSets[e] = r;
|
|
2468
2545
|
}
|
|
2469
2546
|
static setFor(e) {
|
|
2470
|
-
let t =
|
|
2547
|
+
let t = nr;
|
|
2471
2548
|
return e.values ?? t[e.kind];
|
|
2472
2549
|
}
|
|
2473
2550
|
static kindSetFor(e) {
|
|
2474
|
-
return
|
|
2551
|
+
return nr[e.kind];
|
|
2475
2552
|
}
|
|
2476
2553
|
static iconsFor(e) {
|
|
2477
2554
|
if (e.icons) return e.icons;
|
|
@@ -2482,13 +2559,13 @@ var j = class _ValueSets {
|
|
|
2482
2559
|
let t;
|
|
2483
2560
|
if (typeof e == "number") t = e;
|
|
2484
2561
|
else {
|
|
2485
|
-
let n = e.trim(), r =
|
|
2486
|
-
t = r ?
|
|
2562
|
+
let n = e.trim(), r = rr.exec(n), i = ir.exec(n);
|
|
2563
|
+
t = r ? tr * Number(r[1]) / Number(r[2]) : i ? tr * Number(i[1]) / 100 : ar.test(n) ? Number(n) : _ValueSets.wordColumns().get(n.toLowerCase()) ?? NaN;
|
|
2487
2564
|
}
|
|
2488
|
-
return Number.isFinite(t) && t > 0 && t <
|
|
2565
|
+
return Number.isFinite(t) && t > 0 && t < tr + .5 ? t : void 0;
|
|
2489
2566
|
}
|
|
2490
2567
|
static isColumnCount(e) {
|
|
2491
|
-
return Number.isInteger(e) && e >= 1 && e <=
|
|
2568
|
+
return Number.isInteger(e) && e >= 1 && e <= tr;
|
|
2492
2569
|
}
|
|
2493
2570
|
static lookup(e) {
|
|
2494
2571
|
let t = _ValueSets.sets.get(e);
|
|
@@ -2497,12 +2574,12 @@ var j = class _ValueSets {
|
|
|
2497
2574
|
static wordColumns() {
|
|
2498
2575
|
if (!_ValueSets.words) {
|
|
2499
2576
|
_ValueSets.words = /* @__PURE__ */ new Map();
|
|
2500
|
-
for (let e = 1; e <=
|
|
2577
|
+
for (let e = 1; e <= tr; e++) _ValueSets.words.set(numberToWord(e), e);
|
|
2501
2578
|
}
|
|
2502
2579
|
return _ValueSets.words;
|
|
2503
2580
|
}
|
|
2504
2581
|
};
|
|
2505
|
-
A = __decoratorStart(null), __decorateElement(A, 13, "hues",
|
|
2582
|
+
A = __decoratorStart(null), __decorateElement(A, 13, "hues", er, j), __decorateElement(A, 13, "sizes", $n, j), __decorateElement(A, 13, "positions", Qn, j), __decorateElement(A, 13, "attachments", Zn, j), __decorateElement(A, 13, "alignments", Xn, j), __decorateElement(A, 13, "verticalAlignments", Yn, j), __decorateElement(A, 13, "floats", Jn, j), __decorateElement(A, 13, "widths", qn, j), __decorateElement(A, 13, "devices", Kn, j), __decorateElement(A, 13, "booleans", Gn, j), __decorateElement(A, 13, "topics", Wn, j), __decoratorMetadata(A, j), __name(j, "ValueSets"), __publicField(j, "hues", __runInitializers(A, 8, j, [
|
|
2506
2583
|
"primary",
|
|
2507
2584
|
"secondary",
|
|
2508
2585
|
"red",
|
|
@@ -2611,19 +2688,19 @@ A = __decoratorStart(null), __decorateElement(A, 13, "hues", Jn, j), __decorateE
|
|
|
2611
2688
|
right: "caret right"
|
|
2612
2689
|
}
|
|
2613
2690
|
}), __publicField(j, "sets", /* @__PURE__ */ new WeakMap()), __publicField(j, "words");
|
|
2614
|
-
var M = j,
|
|
2691
|
+
var M = j, tr = 16, nr = {
|
|
2615
2692
|
color: "hues",
|
|
2616
2693
|
size: "sizes",
|
|
2617
2694
|
textAlign: "alignments",
|
|
2618
2695
|
verticalAlign: "verticalAlignments",
|
|
2619
2696
|
multiple: "devices",
|
|
2620
2697
|
boolean: "booleans"
|
|
2621
|
-
},
|
|
2698
|
+
}, rr = /^(\d+(?:\.\d+)?)\s*\/\s*(\d+(?:\.\d+)?)$/, ir = /^(\d+(?:\.\d+)?)\s*%$/, ar = /^\d+(?:\.\d+)?$/, N = class Converters {
|
|
2622
2699
|
static boolean(e, t) {
|
|
2623
2700
|
if (e == null) return !1;
|
|
2624
2701
|
if (typeof e == "boolean") return e;
|
|
2625
2702
|
let n = e.trim().toLowerCase();
|
|
2626
|
-
return
|
|
2703
|
+
return or.has(n) || n === t ? !0 : !cr.has(n);
|
|
2627
2704
|
}
|
|
2628
2705
|
static booleanToAttribute(e) {
|
|
2629
2706
|
return e ? "" : null;
|
|
@@ -2631,18 +2708,18 @@ var M = j, Yn = 16, Xn = {
|
|
|
2631
2708
|
static keyOrValue(e, t, n = {}) {
|
|
2632
2709
|
if (e == null || typeof e == "boolean") return e ?? !1;
|
|
2633
2710
|
let r = e.trim().toLowerCase();
|
|
2634
|
-
return
|
|
2711
|
+
return or.has(r) || r === n.attribute ? !0 : cr.has(r) ? !1 : t ? Converters.enumValue(r, t, n) ?? !0 : r;
|
|
2635
2712
|
}
|
|
2636
2713
|
static icon(e, t) {
|
|
2637
2714
|
if (e == null || e === !1) return;
|
|
2638
2715
|
let n = typeof e == "string" ? e.trim() : e === !0 ? "" : typeof e == "number" ? `${e}` : void 0;
|
|
2639
2716
|
if (n === void 0) return;
|
|
2640
2717
|
let r = n.toLowerCase();
|
|
2641
|
-
if (!
|
|
2718
|
+
if (!sr.has(r)) return or.has(r) ? typeof t == "string" ? t : "" : n;
|
|
2642
2719
|
}
|
|
2643
2720
|
static enumValue(e, t, n = {}) {
|
|
2644
2721
|
if (e == null) return;
|
|
2645
|
-
let r = e.trim().toLowerCase().replace(
|
|
2722
|
+
let r = e.trim().toLowerCase().replace(ur, " ");
|
|
2646
2723
|
if (M.has(t, r)) return r;
|
|
2647
2724
|
if (r === "") return;
|
|
2648
2725
|
let i = M.suggest(t, r), a = n.tag ? `<${n.tag} ${n.attribute ?? ""}>` : n.attribute ?? "value";
|
|
@@ -2659,7 +2736,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
2659
2736
|
if (typeof e != "string") return e;
|
|
2660
2737
|
let t = e.trim();
|
|
2661
2738
|
if (t !== "") {
|
|
2662
|
-
if (!
|
|
2739
|
+
if (!dr.includes(t[0])) return e;
|
|
2663
2740
|
try {
|
|
2664
2741
|
return JSON.parse(t);
|
|
2665
2742
|
} catch (t) {
|
|
@@ -2669,142 +2746,143 @@ var M = j, Yn = 16, Xn = {
|
|
|
2669
2746
|
}
|
|
2670
2747
|
}
|
|
2671
2748
|
static list(e) {
|
|
2672
|
-
return e == null ? [] : typeof e == "string" ? e.split(
|
|
2749
|
+
return e == null ? [] : typeof e == "string" ? e.split(lr).filter(Boolean) : [...e];
|
|
2673
2750
|
}
|
|
2674
|
-
},
|
|
2751
|
+
}, or = /* @__PURE__ */ new Set([
|
|
2675
2752
|
"",
|
|
2676
2753
|
"true",
|
|
2677
2754
|
"yes"
|
|
2678
|
-
]),
|
|
2679
|
-
ACTIVE: () =>
|
|
2680
|
-
ANIMATING: () =>
|
|
2681
|
-
APPEARANCE: () =>
|
|
2682
|
-
AnimationLookup: () =>
|
|
2683
|
-
Animations: () =>
|
|
2684
|
-
AttentionAnimations: () =>
|
|
2755
|
+
]), sr = /* @__PURE__ */ new Set(["false", "no"]), cr = /* @__PURE__ */ new Set([...sr, "0"]), lr = /[\s,]+/, ur = /\s+/g, dr = "[{\"", fr = /* @__PURE__ */ e({
|
|
2756
|
+
ACTIVE: () => gi,
|
|
2757
|
+
ANIMATING: () => yi,
|
|
2758
|
+
APPEARANCE: () => Ei,
|
|
2759
|
+
AnimationLookup: () => Xr,
|
|
2760
|
+
Animations: () => Ur,
|
|
2761
|
+
AttentionAnimations: () => Vr,
|
|
2685
2762
|
BAR: () => "bar",
|
|
2686
|
-
BASIC: () =>
|
|
2687
|
-
BOTTOM: () =>
|
|
2688
|
-
BUTTON: () =>
|
|
2689
|
-
BreadcrumbDividerTokens: () =>
|
|
2690
|
-
CLOSE: () =>
|
|
2691
|
-
CLOSE_CLASS: () =>
|
|
2692
|
-
CLOSE_ICON: () =>
|
|
2763
|
+
BASIC: () => Fi,
|
|
2764
|
+
BOTTOM: () => hi,
|
|
2765
|
+
BUTTON: () => Si,
|
|
2766
|
+
BreadcrumbDividerTokens: () => kr,
|
|
2767
|
+
CLOSE: () => pi,
|
|
2768
|
+
CLOSE_CLASS: () => Li,
|
|
2769
|
+
CLOSE_ICON: () => Ri,
|
|
2693
2770
|
CLOSE_TEXT: () => "×",
|
|
2694
|
-
CODE_SPAN: () =>
|
|
2771
|
+
CODE_SPAN: () => la,
|
|
2695
2772
|
COLOR_CLASS_PREFIX: () => "ui-",
|
|
2696
|
-
CONTENT: () =>
|
|
2697
|
-
DEFAULT_ANIMATION: () =>
|
|
2698
|
-
DESCRIPTION: () =>
|
|
2699
|
-
DIGITS: () =>
|
|
2700
|
-
DISABLED: () =>
|
|
2701
|
-
DISABLED_STATE: () =>
|
|
2702
|
-
FIELD_HOST_STATE: () =>
|
|
2703
|
-
FLUID: () =>
|
|
2704
|
-
Flags: () =>
|
|
2705
|
-
FontFaces: () =>
|
|
2706
|
-
FontFamilies: () =>
|
|
2707
|
-
FontWords: () =>
|
|
2708
|
-
FormControlAttributes: () =>
|
|
2709
|
-
FormControlStates: () =>
|
|
2710
|
-
FormStates: () =>
|
|
2711
|
-
GRID_CONTAINER_NAME: () =>
|
|
2712
|
-
HEADER: () =>
|
|
2713
|
-
HEADING: () =>
|
|
2773
|
+
CONTENT: () => Ci,
|
|
2774
|
+
DEFAULT_ANIMATION: () => Jr,
|
|
2775
|
+
DESCRIPTION: () => Di,
|
|
2776
|
+
DIGITS: () => Ui,
|
|
2777
|
+
DISABLED: () => _i,
|
|
2778
|
+
DISABLED_STATE: () => di,
|
|
2779
|
+
FIELD_HOST_STATE: () => Mr,
|
|
2780
|
+
FLUID: () => Ii,
|
|
2781
|
+
Flags: () => pr,
|
|
2782
|
+
FontFaces: () => Gr,
|
|
2783
|
+
FontFamilies: () => Kr,
|
|
2784
|
+
FontWords: () => qr,
|
|
2785
|
+
FormControlAttributes: () => Wi,
|
|
2786
|
+
FormControlStates: () => Gi,
|
|
2787
|
+
FormStates: () => Bi,
|
|
2788
|
+
GRID_CONTAINER_NAME: () => Sr,
|
|
2789
|
+
HEADER: () => wi,
|
|
2790
|
+
HEADING: () => Ti,
|
|
2714
2791
|
HeadingLevels: () => HeadingLevels,
|
|
2715
|
-
ICON: () =>
|
|
2716
|
-
ICON_CLASS: () =>
|
|
2717
|
-
IMAGE: () =>
|
|
2792
|
+
ICON: () => Oi,
|
|
2793
|
+
ICON_CLASS: () => ki,
|
|
2794
|
+
IMAGE: () => Ai,
|
|
2718
2795
|
IN: () => "in",
|
|
2719
|
-
ITEM: () =>
|
|
2720
|
-
InputOwnerTokens: () =>
|
|
2721
|
-
ItemAlignments: () =>
|
|
2722
|
-
Key: () =>
|
|
2723
|
-
LABEL: () =>
|
|
2724
|
-
LEFT: () =>
|
|
2725
|
-
MESSAGE: () =>
|
|
2726
|
-
MOTION_PROPERTY: () =>
|
|
2727
|
-
MenuAppearances: () =>
|
|
2728
|
-
ModalActionSelectors: () =>
|
|
2796
|
+
ITEM: () => ji,
|
|
2797
|
+
InputOwnerTokens: () => jr,
|
|
2798
|
+
ItemAlignments: () => Or,
|
|
2799
|
+
Key: () => ui,
|
|
2800
|
+
LABEL: () => Mi,
|
|
2801
|
+
LEFT: () => mi,
|
|
2802
|
+
MESSAGE: () => Ni,
|
|
2803
|
+
MOTION_PROPERTY: () => Yr,
|
|
2804
|
+
MenuAppearances: () => Dr,
|
|
2805
|
+
ModalActionSelectors: () => Rr,
|
|
2729
2806
|
ModalActions: () => ModalActions,
|
|
2730
|
-
NO_ANIMATION: () =>
|
|
2731
|
-
ORDERED: () =>
|
|
2807
|
+
NO_ANIMATION: () => Hr,
|
|
2808
|
+
ORDERED: () => fi,
|
|
2732
2809
|
OUT: () => "out",
|
|
2733
2810
|
PART_STATIC_CLASS_PREFIX: () => "in-",
|
|
2734
|
-
PLACEHOLDER_HOST_STATE: () =>
|
|
2735
|
-
PUSHABLE_HOST_STATE: () =>
|
|
2736
|
-
PUSHER_HOST_STATE: () =>
|
|
2737
|
-
PartOwnerTokens: () =>
|
|
2738
|
-
PopupTrigger: () =>
|
|
2739
|
-
PopupTriggers: () =>
|
|
2740
|
-
PosterSizes: () =>
|
|
2741
|
-
PusherTokens: () =>
|
|
2742
|
-
REQUIRED_RULE: () =>
|
|
2743
|
-
SELECTED: () =>
|
|
2744
|
-
SIDEBAR_HOST_STATE: () =>
|
|
2745
|
-
SIDE_HOST_STATE: () =>
|
|
2746
|
-
STACK_WITH_CLASS: () =>
|
|
2747
|
-
STACK_WITH_TOKEN: () =>
|
|
2748
|
-
STATIC_CONTROL: () =>
|
|
2749
|
-
STATIC_ROOT: () =>
|
|
2750
|
-
SearchMatch: () =>
|
|
2751
|
-
SearchMatches: () =>
|
|
2752
|
-
SectionTitle: () =>
|
|
2753
|
-
ShapeCommands: () =>
|
|
2754
|
-
ShapeFlips: () =>
|
|
2755
|
-
SourceAttributes: () =>
|
|
2756
|
-
SourceBodyAttributes: () =>
|
|
2757
|
-
SourceBodyEvents: () =>
|
|
2758
|
-
SourceBodyParts: () =>
|
|
2759
|
-
SourceBodyStates: () =>
|
|
2760
|
-
SourceEvents: () =>
|
|
2761
|
-
SourceFailureTexts: () =>
|
|
2762
|
-
SourceLoadModes: () =>
|
|
2763
|
-
SourceParts: () =>
|
|
2764
|
-
SourceStates: () =>
|
|
2765
|
-
SourceTexts: () =>
|
|
2766
|
-
SpaceSteps: () =>
|
|
2767
|
-
SpecialFlags: () =>
|
|
2811
|
+
PLACEHOLDER_HOST_STATE: () => Ar,
|
|
2812
|
+
PUSHABLE_HOST_STATE: () => ni,
|
|
2813
|
+
PUSHER_HOST_STATE: () => ei,
|
|
2814
|
+
PartOwnerTokens: () => yr,
|
|
2815
|
+
PopupTrigger: () => Ir,
|
|
2816
|
+
PopupTriggers: () => Lr,
|
|
2817
|
+
PosterSizes: () => Wr,
|
|
2818
|
+
PusherTokens: () => ri,
|
|
2819
|
+
REQUIRED_RULE: () => Vi,
|
|
2820
|
+
SELECTED: () => vi,
|
|
2821
|
+
SIDEBAR_HOST_STATE: () => ti,
|
|
2822
|
+
SIDE_HOST_STATE: () => ci,
|
|
2823
|
+
STACK_WITH_CLASS: () => Tr,
|
|
2824
|
+
STACK_WITH_TOKEN: () => wr,
|
|
2825
|
+
STATIC_CONTROL: () => br,
|
|
2826
|
+
STATIC_ROOT: () => xr,
|
|
2827
|
+
SearchMatch: () => P,
|
|
2828
|
+
SearchMatches: () => zr,
|
|
2829
|
+
SectionTitle: () => li,
|
|
2830
|
+
ShapeCommands: () => si,
|
|
2831
|
+
ShapeFlips: () => oi,
|
|
2832
|
+
SourceAttributes: () => qi,
|
|
2833
|
+
SourceBodyAttributes: () => $i,
|
|
2834
|
+
SourceBodyEvents: () => ea,
|
|
2835
|
+
SourceBodyParts: () => ta,
|
|
2836
|
+
SourceBodyStates: () => na,
|
|
2837
|
+
SourceEvents: () => Ji,
|
|
2838
|
+
SourceFailureTexts: () => Zi,
|
|
2839
|
+
SourceLoadModes: () => Ki,
|
|
2840
|
+
SourceParts: () => Yi,
|
|
2841
|
+
SourceStates: () => Xi,
|
|
2842
|
+
SourceTexts: () => Qi,
|
|
2843
|
+
SpaceSteps: () => Er,
|
|
2844
|
+
SpecialFlags: () => mr,
|
|
2768
2845
|
StackClasses: () => StackClasses,
|
|
2769
|
-
StackWithValues: () =>
|
|
2770
|
-
TABLE_SORT_KEY: () =>
|
|
2771
|
-
TABLE_SORT_OPT_OUT: () =>
|
|
2772
|
-
TEXT: () =>
|
|
2773
|
-
THEME_APPLIED_EVENT: () =>
|
|
2774
|
-
|
|
2846
|
+
StackWithValues: () => Cr,
|
|
2847
|
+
TABLE_SORT_KEY: () => Fr,
|
|
2848
|
+
TABLE_SORT_OPT_OUT: () => Pr,
|
|
2849
|
+
TEXT: () => Pi,
|
|
2850
|
+
THEME_APPLIED_EVENT: () => ca,
|
|
2851
|
+
TICK_PATH: () => vr,
|
|
2852
|
+
TITLE: () => xi,
|
|
2775
2853
|
TOP: () => "top",
|
|
2776
|
-
TableCellTypes: () =>
|
|
2777
|
-
ThemeCorners: () =>
|
|
2778
|
-
ThemeDepths: () =>
|
|
2779
|
-
ThemeFonts: () =>
|
|
2780
|
-
ThemeGlasses: () =>
|
|
2781
|
-
ThemeHues: () =>
|
|
2854
|
+
TableCellTypes: () => Nr,
|
|
2855
|
+
ThemeCorners: () => aa,
|
|
2856
|
+
ThemeDepths: () => oa,
|
|
2857
|
+
ThemeFonts: () => ia,
|
|
2858
|
+
ThemeGlasses: () => sa,
|
|
2859
|
+
ThemeHues: () => ra,
|
|
2782
2860
|
ThemeNames: () => ThemeNames,
|
|
2783
|
-
TocMarks: () =>
|
|
2784
|
-
ToggleCommands: () =>
|
|
2785
|
-
TransitionCommands: () =>
|
|
2786
|
-
VISIBLE: () =>
|
|
2787
|
-
VISUALLY_HIDDEN: () =>
|
|
2788
|
-
VisibilityAnimations: () =>
|
|
2789
|
-
WHITESPACE: () =>
|
|
2861
|
+
TocMarks: () => ua,
|
|
2862
|
+
ToggleCommands: () => $r,
|
|
2863
|
+
TransitionCommands: () => Qr,
|
|
2864
|
+
VISIBLE: () => bi,
|
|
2865
|
+
VISUALLY_HIDDEN: () => zi,
|
|
2866
|
+
VisibilityAnimations: () => Br,
|
|
2867
|
+
WHITESPACE: () => Hi,
|
|
2790
2868
|
WordWidthClasses: () => WordWidthClasses,
|
|
2791
|
-
WordWidths: () =>
|
|
2792
|
-
}),
|
|
2869
|
+
WordWidths: () => ii
|
|
2870
|
+
}), pr = class Flags {
|
|
2793
2871
|
static emojiFor(e) {
|
|
2794
2872
|
let t = e.toLowerCase();
|
|
2795
|
-
return Flags.isSpecial(t) ?
|
|
2873
|
+
return Flags.isSpecial(t) ? mr[t] : hr.test(t) ? String.fromCodePoint(...Array.from(t, (e) => gr + e.charCodeAt(0) - _r)) : "";
|
|
2796
2874
|
}
|
|
2797
2875
|
static isSpecial(e) {
|
|
2798
|
-
return Object.hasOwn(
|
|
2876
|
+
return Object.hasOwn(mr, e);
|
|
2799
2877
|
}
|
|
2800
|
-
},
|
|
2878
|
+
}, mr = {
|
|
2801
2879
|
rainbow: "🏳️🌈",
|
|
2802
2880
|
transgender: "🏳️⚧️",
|
|
2803
2881
|
pirate: "🏴☠️",
|
|
2804
2882
|
"gb-eng": "🏴",
|
|
2805
2883
|
"gb-sct": "🏴",
|
|
2806
2884
|
"gb-wls": "🏴"
|
|
2807
|
-
},
|
|
2885
|
+
}, hr = /^[a-z]{2}$/, gr = 127462, _r = 97, vr = "M3 8.5 6.5 12 13 4.5", yr = {
|
|
2808
2886
|
inverted: "--ui-inverted",
|
|
2809
2887
|
cardLayout: "--_ui-card-layout",
|
|
2810
2888
|
cardLeading: "--_ui-card-leading",
|
|
@@ -2827,65 +2905,65 @@ var M = j, Yn = 16, Xn = {
|
|
|
2827
2905
|
headerLayout: "--_ui-header-layout",
|
|
2828
2906
|
labelLayout: "--_ui-label-layout",
|
|
2829
2907
|
part: "--_ui-part"
|
|
2830
|
-
},
|
|
2908
|
+
}, br = "data-ui-control", xr = "data-ui", Sr = "ui-grid", Cr = ["container", "page"], wr = "--ui-stack-with", Tr = "stack-with-", StackClasses = class {
|
|
2831
2909
|
static classFor(e) {
|
|
2832
|
-
return e ? `${
|
|
2910
|
+
return e ? `${Tr}${e}` : void 0;
|
|
2833
2911
|
}
|
|
2834
|
-
},
|
|
2912
|
+
}, Er = {
|
|
2835
2913
|
none: "0",
|
|
2836
2914
|
xs: "var(--ui-space-xs)",
|
|
2837
2915
|
sm: "var(--ui-space-s)",
|
|
2838
2916
|
md: "var(--ui-space-m)",
|
|
2839
2917
|
lg: "var(--ui-space-l)",
|
|
2840
2918
|
xl: "var(--ui-space-xl)"
|
|
2841
|
-
},
|
|
2919
|
+
}, Dr = [
|
|
2842
2920
|
"tabular",
|
|
2843
2921
|
"pointing",
|
|
2844
2922
|
"secondary",
|
|
2845
2923
|
"text",
|
|
2846
2924
|
"segmented"
|
|
2847
|
-
],
|
|
2925
|
+
], Or = [
|
|
2848
2926
|
"fluid",
|
|
2849
2927
|
"left",
|
|
2850
2928
|
"center",
|
|
2851
2929
|
"right"
|
|
2852
|
-
],
|
|
2930
|
+
], kr = {
|
|
2853
2931
|
text: "--ui-breadcrumb-divider",
|
|
2854
2932
|
icon: "--ui-breadcrumb-divider-icon",
|
|
2855
2933
|
layout: "--_ui-breadcrumb-divider-layout"
|
|
2856
|
-
},
|
|
2934
|
+
}, Ar = "placeholder", jr = {
|
|
2857
2935
|
width: "--_ui-input-owner-width",
|
|
2858
2936
|
weight: "--_ui-input-owner-weight",
|
|
2859
2937
|
color: "--_ui-field-state-color",
|
|
2860
2938
|
background: "--_ui-field-state-background",
|
|
2861
2939
|
border: "--_ui-field-state-border"
|
|
2862
|
-
},
|
|
2940
|
+
}, Mr = "field", Nr = [
|
|
2863
2941
|
"text",
|
|
2864
2942
|
"number",
|
|
2865
2943
|
"date",
|
|
2866
2944
|
"yes-no",
|
|
2867
2945
|
"choice",
|
|
2868
2946
|
"link"
|
|
2869
|
-
],
|
|
2947
|
+
], Pr = {
|
|
2870
2948
|
attribute: "data-sortable",
|
|
2871
2949
|
value: "false"
|
|
2872
|
-
},
|
|
2950
|
+
}, Fr = "data-key", Ir = {
|
|
2873
2951
|
hover: "hover",
|
|
2874
2952
|
focus: "focus",
|
|
2875
2953
|
click: "click",
|
|
2876
2954
|
manual: "manual"
|
|
2877
|
-
},
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
],
|
|
2955
|
+
}, Lr = [
|
|
2956
|
+
Ir.hover,
|
|
2957
|
+
Ir.focus,
|
|
2958
|
+
Ir.click,
|
|
2959
|
+
Ir.manual
|
|
2960
|
+
], Rr = {
|
|
2883
2961
|
approve: ".approve, .ok, .positive, [color=\"positive\"], [positive]:not([positive=\"false\"], [positive=\"no\"])",
|
|
2884
2962
|
deny: ".deny, .cancel, .negative, [color=\"negative\"], [negative]:not([negative=\"false\"], [negative=\"no\"])"
|
|
2885
2963
|
}, ModalActions = class {
|
|
2886
2964
|
static of(e) {
|
|
2887
|
-
if (e.matches(
|
|
2888
|
-
if (e.matches(
|
|
2965
|
+
if (e.matches(Rr.approve)) return "approve";
|
|
2966
|
+
if (e.matches(Rr.deny)) return "deny";
|
|
2889
2967
|
}
|
|
2890
2968
|
static *lightPath(e, t) {
|
|
2891
2969
|
let n = t.getRootNode();
|
|
@@ -2895,19 +2973,19 @@ var M = j, Yn = 16, Xn = {
|
|
|
2895
2973
|
e.matches && e.getRootNode?.() === n && (yield r);
|
|
2896
2974
|
}
|
|
2897
2975
|
}
|
|
2898
|
-
},
|
|
2976
|
+
}, P = {
|
|
2899
2977
|
exact: "exact",
|
|
2900
2978
|
fuzzy: "fuzzy",
|
|
2901
2979
|
prefix: "prefix",
|
|
2902
2980
|
some: "some",
|
|
2903
2981
|
all: "all"
|
|
2904
|
-
},
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
],
|
|
2982
|
+
}, zr = [
|
|
2983
|
+
P.exact,
|
|
2984
|
+
P.fuzzy,
|
|
2985
|
+
P.prefix,
|
|
2986
|
+
P.some,
|
|
2987
|
+
P.all
|
|
2988
|
+
], Br = /* @__PURE__ */ "fade.fade up.fade down.fade left.fade right.scale.zoom.drop.browse.browse right.fly.fly up.fly down.fly left.fly right.slide.slide up.slide down.slide left.slide right.swing.swing up.swing down.swing left.swing right.horizontal flip.vertical flip".split("."), Vr = [
|
|
2911
2989
|
"flash",
|
|
2912
2990
|
"shake",
|
|
2913
2991
|
"bounce",
|
|
@@ -2916,11 +2994,11 @@ var M = j, Yn = 16, Xn = {
|
|
|
2916
2994
|
"jiggle",
|
|
2917
2995
|
"glow",
|
|
2918
2996
|
"coin"
|
|
2919
|
-
],
|
|
2920
|
-
...
|
|
2921
|
-
...
|
|
2922
|
-
|
|
2923
|
-
],
|
|
2997
|
+
], Hr = "none", Ur = [
|
|
2998
|
+
...Br,
|
|
2999
|
+
...Vr,
|
|
3000
|
+
Hr
|
|
3001
|
+
], Wr = [
|
|
2924
3002
|
"mini",
|
|
2925
3003
|
"tiny",
|
|
2926
3004
|
"small",
|
|
@@ -2930,7 +3008,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
2930
3008
|
"huge",
|
|
2931
3009
|
"massive",
|
|
2932
3010
|
"poster"
|
|
2933
|
-
],
|
|
3011
|
+
], Gr = [
|
|
2934
3012
|
"bold",
|
|
2935
3013
|
"heavy",
|
|
2936
3014
|
"italic",
|
|
@@ -2942,37 +3020,37 @@ var M = j, Yn = 16, Xn = {
|
|
|
2942
3020
|
"superscript",
|
|
2943
3021
|
"all-caps",
|
|
2944
3022
|
"title-caps"
|
|
2945
|
-
],
|
|
3023
|
+
], Kr = [
|
|
2946
3024
|
"headline",
|
|
2947
3025
|
"subhead",
|
|
2948
3026
|
"serif",
|
|
2949
3027
|
"sans-serif",
|
|
2950
3028
|
"typewriter"
|
|
2951
|
-
],
|
|
3029
|
+
], qr = [...Gr, ...Kr], Jr = "fade", Yr = "--ui-motion", Xr = class AnimationLookup {
|
|
2952
3030
|
static fomanticNameFor(e) {
|
|
2953
3031
|
let t = e.trim().replace(/\s+/g, " ");
|
|
2954
|
-
return
|
|
3032
|
+
return Ur.includes(t) ? t : Ur.find((e) => AnimationLookup.runtimeNameFor(e) === t);
|
|
2955
3033
|
}
|
|
2956
3034
|
static runtimeNameFor(e) {
|
|
2957
|
-
return
|
|
3035
|
+
return Zr[e] ?? e.replace(/ /g, "-");
|
|
2958
3036
|
}
|
|
2959
3037
|
static isAttention(e) {
|
|
2960
|
-
return
|
|
3038
|
+
return Vr.includes(e);
|
|
2961
3039
|
}
|
|
2962
3040
|
static keyframesBeside(e, t) {
|
|
2963
3041
|
if (e !== "none" && e !== t) return AnimationLookup.isAttention(e) ? void 0 : AnimationLookup.runtimeNameFor(e);
|
|
2964
3042
|
}
|
|
2965
|
-
},
|
|
3043
|
+
}, Zr = {
|
|
2966
3044
|
"horizontal flip": "flip-horizontal",
|
|
2967
3045
|
"vertical flip": "flip-vertical",
|
|
2968
3046
|
slide: "slide-down",
|
|
2969
3047
|
swing: "swing-down"
|
|
2970
|
-
},
|
|
3048
|
+
}, Qr = {
|
|
2971
3049
|
show: "--show",
|
|
2972
3050
|
close: "--close",
|
|
2973
3051
|
toggle: "--toggle",
|
|
2974
3052
|
transition: "--transition"
|
|
2975
|
-
},
|
|
3053
|
+
}, $r = class ToggleCommands {
|
|
2976
3054
|
static show = "--show";
|
|
2977
3055
|
static close = "--close";
|
|
2978
3056
|
static toggle = "--toggle";
|
|
@@ -2981,38 +3059,38 @@ var M = j, Yn = 16, Xn = {
|
|
|
2981
3059
|
if (n === ToggleCommands.show || n === ToggleCommands.toggle && !t) return "show";
|
|
2982
3060
|
if (n === ToggleCommands.close || n === ToggleCommands.toggle) return "close";
|
|
2983
3061
|
}
|
|
2984
|
-
},
|
|
3062
|
+
}, ei = "pusher", ti = "sidebar", ni = "pushable", ri = {
|
|
2985
3063
|
transform: "--_ui-pusher-transform",
|
|
2986
3064
|
origin: "--_ui-pusher-origin",
|
|
2987
3065
|
dimmed: "--_ui-pusher-dimmed",
|
|
2988
3066
|
blurring: "--_ui-pusher-blurring"
|
|
2989
|
-
},
|
|
3067
|
+
}, ii = [
|
|
2990
3068
|
"very thin",
|
|
2991
3069
|
"thin",
|
|
2992
3070
|
"wide",
|
|
2993
3071
|
"very wide"
|
|
2994
3072
|
], WordWidthClasses = class {
|
|
2995
3073
|
static classFor(e) {
|
|
2996
|
-
let t = typeof e == "string" ? e.trim().replace(
|
|
2997
|
-
return
|
|
3074
|
+
let t = typeof e == "string" ? e.trim().replace(ai, " ") : void 0;
|
|
3075
|
+
return ii.find((e) => e === t);
|
|
2998
3076
|
}
|
|
2999
|
-
},
|
|
3077
|
+
}, ai = /[\s-]+/g, oi = [
|
|
3000
3078
|
"up",
|
|
3001
3079
|
"down",
|
|
3002
3080
|
"left",
|
|
3003
3081
|
"right",
|
|
3004
3082
|
"over",
|
|
3005
3083
|
"back"
|
|
3006
|
-
],
|
|
3084
|
+
], si = {
|
|
3007
3085
|
next: "--next",
|
|
3008
3086
|
previous: "--previous",
|
|
3009
3087
|
flip: "--flip-"
|
|
3010
|
-
},
|
|
3088
|
+
}, ci = "side", li = { textOf(e) {
|
|
3011
3089
|
let t = e.getAttribute("label");
|
|
3012
3090
|
if (t) return t;
|
|
3013
3091
|
let n = [...e.children].find((e) => e.getAttribute("slot") === "label");
|
|
3014
3092
|
return n ? n.textContent ?? void 0 : void 0;
|
|
3015
|
-
} },
|
|
3093
|
+
} }, ui = {
|
|
3016
3094
|
arrowUp: "ArrowUp",
|
|
3017
3095
|
arrowDown: "ArrowDown",
|
|
3018
3096
|
arrowLeft: "ArrowLeft",
|
|
@@ -3027,12 +3105,12 @@ var M = j, Yn = 16, Xn = {
|
|
|
3027
3105
|
tab: "Tab",
|
|
3028
3106
|
backspace: "Backspace",
|
|
3029
3107
|
delete: "Delete"
|
|
3030
|
-
},
|
|
3108
|
+
}, di = ":state(disabled)", fi = "ordered", pi = "close", mi = "left", hi = "bottom", gi = "active", _i = "disabled", vi = "selected", yi = "animating", bi = "visible", xi = "title", Si = "button", Ci = "content", wi = "header", Ti = "heading", Ei = "appearance", Di = "description", Oi = "icon", ki = "icon", Ai = "image", ji = "item", Mi = "label", Ni = "message", Pi = "text", Fi = "basic", Ii = "fluid", Li = "close icon", Ri = "xmark", zi = "ui-visually-hidden-force", Bi = [
|
|
3031
3109
|
"error",
|
|
3032
3110
|
"info",
|
|
3033
3111
|
"success",
|
|
3034
3112
|
"warning"
|
|
3035
|
-
],
|
|
3113
|
+
], Vi = "notEmpty", Hi = /\s+/, Ui = /^\d+(\.\d+)?$/, Wi = {
|
|
3036
3114
|
name: {
|
|
3037
3115
|
name: "name",
|
|
3038
3116
|
group: "name",
|
|
@@ -3065,7 +3143,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
3065
3143
|
kind: "string",
|
|
3066
3144
|
description: "Keep the value in the page's address, as this query parameter (`parameter=\"s\"` => `?s=van+gogh`): each change it settles on is a new history entry, so Back and Forward step through them, and a page opened on the address starts with that value. Other parameters are kept; an empty value takes its own out."
|
|
3067
3145
|
}
|
|
3068
|
-
},
|
|
3146
|
+
}, Gi = {
|
|
3069
3147
|
readonly: {
|
|
3070
3148
|
name: "readonly",
|
|
3071
3149
|
description: "`readonly`: can't be changed."
|
|
@@ -3074,21 +3152,21 @@ var M = j, Yn = 16, Xn = {
|
|
|
3074
3152
|
name: "invalid",
|
|
3075
3153
|
description: "Fails validation, once a person has interacted (`:user-invalid` semantics)."
|
|
3076
3154
|
}
|
|
3077
|
-
},
|
|
3155
|
+
}, Ki = [
|
|
3078
3156
|
"eager",
|
|
3079
3157
|
"visible",
|
|
3080
3158
|
"idle"
|
|
3081
|
-
],
|
|
3159
|
+
], qi = [{
|
|
3082
3160
|
name: "source",
|
|
3083
3161
|
kind: "string",
|
|
3084
3162
|
description: "URL of the file to show, relative to the page; same origin only (another site's URL shows an error). Changing it loads the new file. Without it, the element shows its own content."
|
|
3085
3163
|
}, {
|
|
3086
3164
|
name: "load",
|
|
3087
3165
|
kind: "enum",
|
|
3088
|
-
values:
|
|
3166
|
+
values: Ki,
|
|
3089
3167
|
default: "eager",
|
|
3090
3168
|
description: "When to fetch `source`: `eager` (at once), `visible` (once scrolled into view) or `idle` (when the browser has nothing else to do). Like Astro's `client:visible` / `client:idle`."
|
|
3091
|
-
}],
|
|
3169
|
+
}], Ji = [
|
|
3092
3170
|
{
|
|
3093
3171
|
name: "ui-loaded",
|
|
3094
3172
|
detail: "{ source?: string, content: string }",
|
|
@@ -3116,13 +3194,13 @@ var M = j, Yn = 16, Xn = {
|
|
|
3116
3194
|
cancelable: !0,
|
|
3117
3195
|
description: "Loading, showing or saving failed; `kind` says why. Load and render failures show an error message unless cancelled; save failures keep the content as it is."
|
|
3118
3196
|
}
|
|
3119
|
-
],
|
|
3197
|
+
], Yi = [{
|
|
3120
3198
|
name: "loader",
|
|
3121
3199
|
description: "The `<ui-loader>` shown while `source` loads."
|
|
3122
3200
|
}, {
|
|
3123
3201
|
name: "error",
|
|
3124
3202
|
description: "The `<ui-message>` shown when loading or showing failed."
|
|
3125
|
-
}],
|
|
3203
|
+
}], Xi = [
|
|
3126
3204
|
{
|
|
3127
3205
|
name: "loading",
|
|
3128
3206
|
description: "Fetching `source`."
|
|
@@ -3139,7 +3217,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
3139
3217
|
name: "dirty",
|
|
3140
3218
|
description: "`content` changed since it was loaded or saved."
|
|
3141
3219
|
}
|
|
3142
|
-
],
|
|
3220
|
+
], Zi = [
|
|
3143
3221
|
{
|
|
3144
3222
|
key: "sourceLoadError",
|
|
3145
3223
|
text: "Couldn't load {source}.",
|
|
@@ -3160,11 +3238,11 @@ var M = j, Yn = 16, Xn = {
|
|
|
3160
3238
|
text: "Couldn't show {source}.",
|
|
3161
3239
|
description: "The text arrived, but couldn't be shown."
|
|
3162
3240
|
}
|
|
3163
|
-
],
|
|
3241
|
+
], Qi = [{
|
|
3164
3242
|
key: "sourceLoading",
|
|
3165
3243
|
text: "Loading {source}",
|
|
3166
3244
|
description: "Accessible name of the loader."
|
|
3167
|
-
}, ...
|
|
3245
|
+
}, ...Zi], $i = [{
|
|
3168
3246
|
name: "source",
|
|
3169
3247
|
kind: "string",
|
|
3170
3248
|
description: "URL of an HTML file whose `<body>` is the content, fetched the first time it opens (at once when it starts open); same origin only. Any content already there is a placeholder the file replaces. `load()` fetches it now, `reload()` again."
|
|
@@ -3173,7 +3251,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
3173
3251
|
kind: "string",
|
|
3174
3252
|
replaces: ["select"],
|
|
3175
3253
|
description: "With `source`: a CSS selector; only its first match in the file becomes the content. Its old name was `select`."
|
|
3176
|
-
}],
|
|
3254
|
+
}], ea = [
|
|
3177
3255
|
{
|
|
3178
3256
|
name: "ui-loading",
|
|
3179
3257
|
detail: "{ source: string }",
|
|
@@ -3190,16 +3268,16 @@ var M = j, Yn = 16, Xn = {
|
|
|
3190
3268
|
cancelable: !0,
|
|
3191
3269
|
description: "The `source` file couldn't be loaded or shown; `kind` says why. An error line shows in the content unless cancelled; opening it again tries again."
|
|
3192
3270
|
}
|
|
3193
|
-
],
|
|
3271
|
+
], ta = [{
|
|
3194
3272
|
name: "error",
|
|
3195
3273
|
description: "With `source`: the line saying the file couldn't be loaded."
|
|
3196
|
-
}],
|
|
3274
|
+
}], na = [{
|
|
3197
3275
|
name: "loaded",
|
|
3198
3276
|
description: "With `source`: the file's body is in place."
|
|
3199
3277
|
}, {
|
|
3200
3278
|
name: "error",
|
|
3201
3279
|
description: "With `source`: the file couldn't be loaded or shown."
|
|
3202
|
-
}],
|
|
3280
|
+
}], ra = [
|
|
3203
3281
|
"red",
|
|
3204
3282
|
"orange",
|
|
3205
3283
|
"yellow",
|
|
@@ -3213,7 +3291,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
3213
3291
|
"brown",
|
|
3214
3292
|
"grey",
|
|
3215
3293
|
"black"
|
|
3216
|
-
],
|
|
3294
|
+
], ia = [
|
|
3217
3295
|
"system",
|
|
3218
3296
|
"rounded",
|
|
3219
3297
|
"serif",
|
|
@@ -3221,20 +3299,20 @@ var M = j, Yn = 16, Xn = {
|
|
|
3221
3299
|
"humanist",
|
|
3222
3300
|
"verdana",
|
|
3223
3301
|
"mono"
|
|
3224
|
-
],
|
|
3302
|
+
], aa = [
|
|
3225
3303
|
"sharp",
|
|
3226
3304
|
"soft",
|
|
3227
3305
|
"round",
|
|
3228
3306
|
"pill"
|
|
3229
|
-
],
|
|
3307
|
+
], oa = [
|
|
3230
3308
|
"flat",
|
|
3231
3309
|
"soft",
|
|
3232
3310
|
"lifted"
|
|
3233
|
-
],
|
|
3311
|
+
], sa = [
|
|
3234
3312
|
"clear",
|
|
3235
3313
|
"frosted",
|
|
3236
3314
|
"solid"
|
|
3237
|
-
],
|
|
3315
|
+
], ca = "ui-theme-applied", ThemeNames = class {
|
|
3238
3316
|
static titleOf(e) {
|
|
3239
3317
|
return e.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ");
|
|
3240
3318
|
}
|
|
@@ -3249,10 +3327,10 @@ var M = j, Yn = 16, Xn = {
|
|
|
3249
3327
|
static attributeFor(e) {
|
|
3250
3328
|
return String(Math.min(6, Math.max(1, Math.round(e))));
|
|
3251
3329
|
}
|
|
3252
|
-
},
|
|
3330
|
+
}, la = /`([^`]+)`/g, ua = {
|
|
3253
3331
|
entry: "data-toc",
|
|
3254
3332
|
group: "data-toc-group"
|
|
3255
|
-
},
|
|
3333
|
+
}, da = {
|
|
3256
3334
|
lang: "es",
|
|
3257
3335
|
attributes: {
|
|
3258
3336
|
disabled: "desactivado",
|
|
@@ -3269,7 +3347,8 @@ var M = j, Yn = 16, Xn = {
|
|
|
3269
3347
|
tooltip: "ayuda",
|
|
3270
3348
|
label: "etiqueta",
|
|
3271
3349
|
movable: "movible",
|
|
3272
|
-
resizable: "redimensionable"
|
|
3350
|
+
resizable: "redimensionable",
|
|
3351
|
+
"on-platform": "en-plataforma"
|
|
3273
3352
|
},
|
|
3274
3353
|
values: { font: {
|
|
3275
3354
|
bold: "negrita",
|
|
@@ -3289,7 +3368,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
3289
3368
|
"sans-serif": "sin-serifa",
|
|
3290
3369
|
typewriter: "máquina"
|
|
3291
3370
|
} }
|
|
3292
|
-
},
|
|
3371
|
+
}, F = class SharedVocabulary {
|
|
3293
3372
|
static attributesFor(e) {
|
|
3294
3373
|
return SharedVocabulary.withShared(e).attributes;
|
|
3295
3374
|
}
|
|
@@ -3300,29 +3379,29 @@ var M = j, Yn = 16, Xn = {
|
|
|
3300
3379
|
return SharedVocabulary.withShared(e).shared.has(t);
|
|
3301
3380
|
}
|
|
3302
3381
|
static translated(e, t) {
|
|
3303
|
-
return
|
|
3382
|
+
return pa.get(e)?.attributes[t];
|
|
3304
3383
|
}
|
|
3305
3384
|
static translatedValues(e, t) {
|
|
3306
|
-
return
|
|
3385
|
+
return pa.get(e)?.values?.[t];
|
|
3307
3386
|
}
|
|
3308
3387
|
static get attributeNames() {
|
|
3309
|
-
return
|
|
3388
|
+
return fa.map(({ name: e }) => e);
|
|
3310
3389
|
}
|
|
3311
3390
|
static isSharedAttribute(e) {
|
|
3312
|
-
return
|
|
3391
|
+
return fa.some((t) => t.name === e);
|
|
3313
3392
|
}
|
|
3314
3393
|
static withShared(e) {
|
|
3315
3394
|
let t = SharedVocabulary.cache.get(e);
|
|
3316
3395
|
if (t) return t;
|
|
3317
|
-
let n = new Set(e.attributes.map(({ name: e }) => e)), r =
|
|
3396
|
+
let n = new Set(e.attributes.map(({ name: e }) => e)), r = fa.filter(({ name: e }) => !n.has(e)), i = new Set(e.states.map(({ name: e }) => e));
|
|
3318
3397
|
return t = {
|
|
3319
3398
|
attributes: r.length ? [...e.attributes, ...r] : e.attributes,
|
|
3320
|
-
states: [...e.states, ...
|
|
3399
|
+
states: [...e.states, ...ma.filter(({ name: e }) => !i.has(e))],
|
|
3321
3400
|
shared: new Set(r.map(({ name: e }) => e))
|
|
3322
3401
|
}, SharedVocabulary.cache.set(e, t), t;
|
|
3323
3402
|
}
|
|
3324
3403
|
static cache = /* @__PURE__ */ new WeakMap();
|
|
3325
|
-
},
|
|
3404
|
+
}, fa = [
|
|
3326
3405
|
{
|
|
3327
3406
|
name: "disabled",
|
|
3328
3407
|
kind: "boolean",
|
|
@@ -3341,7 +3420,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
3341
3420
|
{
|
|
3342
3421
|
name: "animation",
|
|
3343
3422
|
kind: "enum",
|
|
3344
|
-
values:
|
|
3423
|
+
values: Ur,
|
|
3345
3424
|
description: "How it shows and hides (Fomantic's names: `fade up`, `scale`, `fly down` ...); default its family's, else `fade`. `none` turns motion off for it and everything inside it, as the person's reduced-motion setting does; an element inside can't turn it back on."
|
|
3346
3425
|
},
|
|
3347
3426
|
{
|
|
@@ -3361,7 +3440,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
3361
3440
|
name: "font",
|
|
3362
3441
|
group: "appearance",
|
|
3363
3442
|
kind: "multiple",
|
|
3364
|
-
values:
|
|
3443
|
+
values: qr,
|
|
3365
3444
|
description: "How its letters look, several words at once: `bold`, `heavy`, `italic`, `underline`, `strikethrough`, `code`, `highlight`, `subscript`, `superscript`, `all-caps`, `title-caps` (`font=\"bold italic\"`); a family from the theme, `headline`, `subhead`, `serif`, `sans-serif` or `typewriter`; and a size in pixels, `14`, or with its line height, `10/20` (`font=\"bold serif 10/20\"`). `<ui-text>` draws each face as its HTML element (`<strong>`, `<em>` ...), so screen readers hear it, and takes each word as a bare attribute too (`<ui-text bold serif>`); every other element shows the look alone."
|
|
3366
3445
|
},
|
|
3367
3446
|
{
|
|
@@ -3412,8 +3491,14 @@ var M = j, Yn = 16, Xn = {
|
|
|
3412
3491
|
group: "behaviour",
|
|
3413
3492
|
kind: "string",
|
|
3414
3493
|
description: "People can drag its corner to resize it: bare or `both`, `horizontally` or `vertically`. Limit it with plain CSS (`max-width: 50%`, `min-height: 4em`). With an `id`, the size each person gave it is remembered. A family with a `resizable` of its own keeps it (`<ui-segment resizable>` drags its height)."
|
|
3494
|
+
},
|
|
3495
|
+
{
|
|
3496
|
+
name: "on-platform",
|
|
3497
|
+
group: "behaviour",
|
|
3498
|
+
kind: "string",
|
|
3499
|
+
description: "Shown only on these devices, a comma list: `on-platform=\"desktop, tablet\"` hides it on phones. `phone`: a touch screen, small on at least one side (under 600px), either way up; `tablet`: a touch screen, big both ways; `desktop`: a mouse or a trackpad. Follows a resize or a turn of the device at once. For what a device can't do (a phone has no screen capture), or has no room for."
|
|
3415
3500
|
}
|
|
3416
|
-
],
|
|
3501
|
+
], pa = /* @__PURE__ */ new Map([[da.lang, da]]), ma = [
|
|
3417
3502
|
{
|
|
3418
3503
|
name: "disabled",
|
|
3419
3504
|
description: "`disabled` is set (or, on a form control, a `<fieldset disabled>` around it)."
|
|
@@ -3449,10 +3534,14 @@ var M = j, Yn = 16, Xn = {
|
|
|
3449
3534
|
{
|
|
3450
3535
|
name: "ready",
|
|
3451
3536
|
description: "Ready to go: drawn with its styles (its `ready` promise has resolved)."
|
|
3537
|
+
},
|
|
3538
|
+
{
|
|
3539
|
+
name: "on-platform",
|
|
3540
|
+
description: "`on-platform` names some devices; `on-phone`, `on-tablet` and `on-desktop` say which. On any other device it's hidden."
|
|
3452
3541
|
}
|
|
3453
|
-
],
|
|
3454
|
-
|
|
3455
|
-
var
|
|
3542
|
+
], ha, ga = [proto], I;
|
|
3543
|
+
ha = [proto];
|
|
3544
|
+
var L = class _Vocabulary {
|
|
3456
3545
|
constructor() {
|
|
3457
3546
|
__publicField(this, "vocabularies", /* @__PURE__ */ new Map()), __publicField(this, "localized", /* @__PURE__ */ new Map()), __publicField(this, "dictionaries", /* @__PURE__ */ new Map()), __publicField(this, "languages", []), __publicField(this, "components", /* @__PURE__ */ new Map());
|
|
3458
3547
|
}
|
|
@@ -3507,15 +3596,15 @@ var R = class _Vocabulary {
|
|
|
3507
3596
|
parts: /* @__PURE__ */ new Map(),
|
|
3508
3597
|
names: i
|
|
3509
3598
|
}, o = `<${a.tag}>`;
|
|
3510
|
-
for (let t of
|
|
3511
|
-
let s = r.attributes?.[t.name] ?? n.attributes?.[t.name] ??
|
|
3599
|
+
for (let t of F.attributesFor(e)) {
|
|
3600
|
+
let s = r.attributes?.[t.name] ?? n.attributes?.[t.name] ?? F.translated(n.lang, t.name) ?? t.name;
|
|
3512
3601
|
_Vocabulary.claim({
|
|
3513
3602
|
map: a.attributes,
|
|
3514
3603
|
name: s,
|
|
3515
3604
|
value: t,
|
|
3516
3605
|
what: `${o} attribute`
|
|
3517
3606
|
}), i.attributes.set(t.name, s);
|
|
3518
|
-
let c =
|
|
3607
|
+
let c = F.takesShared(e, t.name), l = _Vocabulary.resolveValues({
|
|
3519
3608
|
spec: t,
|
|
3520
3609
|
tag: e.tag,
|
|
3521
3610
|
dictionary: n,
|
|
@@ -3619,7 +3708,7 @@ var R = class _Vocabulary {
|
|
|
3619
3708
|
static resolveValues({ spec: e, tag: t, dictionary: n, isShared: r }) {
|
|
3620
3709
|
let i = M.setFor(e);
|
|
3621
3710
|
if (!i) return;
|
|
3622
|
-
let a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), s = M.kindSetFor(e), c = typeof i == "string" ? n.values?.[i] : r ?
|
|
3711
|
+
let a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), s = M.kindSetFor(e), c = typeof i == "string" ? n.values?.[i] : r ? F.translatedValues(n.lang, e.name) : s && n.values?.[s], l = n.components?.[t]?.values?.[e.name], u = r ? void 0 : n.words;
|
|
3623
3712
|
add(M.get(i), c), e.kind === "keyOrValueAndKey" && add(M.get("booleans"), n.values?.booleans);
|
|
3624
3713
|
for (let [e, t] of [...a]) {
|
|
3625
3714
|
let n = withoutAccents(e);
|
|
@@ -3653,7 +3742,7 @@ var R = class _Vocabulary {
|
|
|
3653
3742
|
if (e.kind !== "multiple") return t.get(r) ?? n;
|
|
3654
3743
|
let i = r.split(/\s+/), a = [];
|
|
3655
3744
|
for (let e = 0; e < i.length;) {
|
|
3656
|
-
let n = Math.min(
|
|
3745
|
+
let n = Math.min(ya, i.length - e);
|
|
3657
3746
|
for (; n > 1 && !t.has(i.slice(e, e + n).join(" ")); n--);
|
|
3658
3747
|
let r = i.slice(e, e + n).join(" ");
|
|
3659
3748
|
a.push(t.get(r) ?? r), e += n;
|
|
@@ -3665,19 +3754,19 @@ var R = class _Vocabulary {
|
|
|
3665
3754
|
return t < 0 ? e : e.slice(t + 1);
|
|
3666
3755
|
}
|
|
3667
3756
|
static eventName(e, t, n) {
|
|
3668
|
-
return n === void 0 ? e.startsWith(
|
|
3757
|
+
return n === void 0 ? e.startsWith(va) ? `${t}-${_Vocabulary.stem(e)}` : e : `${t}-${n}`;
|
|
3669
3758
|
}
|
|
3670
3759
|
};
|
|
3671
|
-
|
|
3672
|
-
var
|
|
3760
|
+
I = __decoratorStart(null), __decorateElement(I, 13, "prefix", ga, L), __decorateElement(I, 13, "dictionary", ha, L), __decoratorMetadata(I, L), __name(L, "Vocabulary"), __publicField(L, "prefix", __runInitializers(I, 8, L, "ui")), __runInitializers(I, 11, L), __publicField(L, "dictionary", __runInitializers(I, 12, L, { lang: "en" })), __runInitializers(I, 15, L);
|
|
3761
|
+
var _a = L, va = "ui-", ya = 3, ba = class DefaultValues {
|
|
3673
3762
|
static isContent(e) {
|
|
3674
|
-
return
|
|
3763
|
+
return xa.includes(e.name) || e.group !== void 0 && Sa.includes(e.group) || e.kind === "json";
|
|
3675
3764
|
}
|
|
3676
3765
|
static problemWith(e, t) {
|
|
3677
3766
|
if (typeof t == "boolean") return DefaultValues.isOnOrOff(e) ? void 0 : { takes: "no-boolean" };
|
|
3678
3767
|
if (typeof t == "number") return;
|
|
3679
3768
|
if (typeof t != "string") return { takes: "text" };
|
|
3680
|
-
let n = t.trim().toLowerCase().replace(
|
|
3769
|
+
let n = t.trim().toLowerCase().replace(Ta, " ");
|
|
3681
3770
|
if (DefaultValues.isOnOrOff(e)) return M.has("booleans", n) || n === "" ? void 0 : { takes: "boolean" };
|
|
3682
3771
|
if (e.kind === "number") return Number.isNaN(Number(n)) ? { takes: "number" } : void 0;
|
|
3683
3772
|
let r = DefaultValues.setOf(e);
|
|
@@ -3688,10 +3777,10 @@ var la = R, ua = "ui-", da = 3, fa = class DefaultValues {
|
|
|
3688
3777
|
};
|
|
3689
3778
|
}
|
|
3690
3779
|
static isOnOrOff(e) {
|
|
3691
|
-
return
|
|
3780
|
+
return Ca.includes(e.kind);
|
|
3692
3781
|
}
|
|
3693
3782
|
static setOf(e) {
|
|
3694
|
-
return
|
|
3783
|
+
return wa.includes(e.kind) ? M.setFor(e) : void 0;
|
|
3695
3784
|
}
|
|
3696
3785
|
static textOf(e) {
|
|
3697
3786
|
switch (e.takes) {
|
|
@@ -3702,11 +3791,11 @@ var la = R, ua = "ui-", da = 3, fa = class DefaultValues {
|
|
|
3702
3791
|
case "values": return `isn't one of its values${e.guess ? `; did you mean ${JSON.stringify(e.guess)}?` : ""}`;
|
|
3703
3792
|
}
|
|
3704
3793
|
}
|
|
3705
|
-
},
|
|
3794
|
+
}, xa = [
|
|
3706
3795
|
"label",
|
|
3707
3796
|
"value",
|
|
3708
3797
|
"text"
|
|
3709
|
-
],
|
|
3798
|
+
], Sa = ["name", "content"], Ca = ["keyOnly", "boolean"], wa = [
|
|
3710
3799
|
"size",
|
|
3711
3800
|
"color",
|
|
3712
3801
|
"valueOnly",
|
|
@@ -3716,9 +3805,8 @@ var la = R, ua = "ui-", da = 3, fa = class DefaultValues {
|
|
|
3716
3805
|
"textAlign",
|
|
3717
3806
|
"verticalAlign",
|
|
3718
3807
|
"multiple"
|
|
3719
|
-
],
|
|
3720
|
-
|
|
3721
|
-
//#region ../src/util/fetching.ts
|
|
3808
|
+
], Ta = /\s+/g, Ea = "0.8.11";
|
|
3809
|
+
// ../src/util/fetching.ts
|
|
3722
3810
|
async function fetchOk(e, t, n) {
|
|
3723
3811
|
let r;
|
|
3724
3812
|
try {
|
|
@@ -3754,12 +3842,11 @@ var ApiError = class extends Error {
|
|
|
3754
3842
|
}
|
|
3755
3843
|
};
|
|
3756
3844
|
ApiError.prototype.name = "ApiError";
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
var z = Symbol.for("spell-ui:runtime"), ya = va, ba = "@layer ui.reset, ui.tokens, ui.base, ui.components, ui.utilities, ui.theme, ui.app;", xa = {
|
|
3845
|
+
// src/runtime/runtime.types.ts
|
|
3846
|
+
var R = Symbol.for("spell-ui:runtime"), Da = Ea, Oa = "@layer ui.reset, ui.tokens, ui.base, ui.components, ui.utilities, ui.theme, ui.app;", ka = {
|
|
3760
3847
|
none: "none",
|
|
3761
3848
|
contents: "contents"
|
|
3762
|
-
},
|
|
3849
|
+
}, Aa = "page", ja = "ui-scroll-locked", Ma = "ui-app-stylesheet", Na = "utilities", Pa = /* @__PURE__ */ "fade.fade-up.fade-down.fade-left.fade-right.scale.zoom.drop.browse.browse-right.fly.fly-up.fly-down.fly-left.fly-right.slide-up.slide-down.slide-left.slide-right.swing-up.swing-down.swing-left.swing-right.flip-horizontal.flip-vertical.flash.shake.bounce.tada.pulse.jiggle.glow.coin".split("."), Fa = {
|
|
3763
3850
|
close: "Close",
|
|
3764
3851
|
cancel: "Cancel",
|
|
3765
3852
|
ok: "OK",
|
|
@@ -3774,7 +3861,7 @@ var z = Symbol.for("spell-ui:runtime"), ya = va, ba = "@layer ui.reset, ui.token
|
|
|
3774
3861
|
less: "Less",
|
|
3775
3862
|
required: "Required",
|
|
3776
3863
|
invalid: "Invalid value"
|
|
3777
|
-
},
|
|
3864
|
+
}, Ia = "temporal-polyfill", La = [
|
|
3778
3865
|
"load",
|
|
3779
3866
|
"cross-origin",
|
|
3780
3867
|
"file-protocol",
|
|
@@ -3782,7 +3869,7 @@ var z = Symbol.for("spell-ui:runtime"), ya = va, ba = "@layer ui.reset, ui.token
|
|
|
3782
3869
|
"conflict",
|
|
3783
3870
|
"no-saver",
|
|
3784
3871
|
"render"
|
|
3785
|
-
],
|
|
3872
|
+
], z = class SourceError extends Error {
|
|
3786
3873
|
get kind() {
|
|
3787
3874
|
return this.cause?.kind;
|
|
3788
3875
|
}
|
|
@@ -3793,22 +3880,22 @@ var z = Symbol.for("spell-ui:runtime"), ya = va, ba = "@layer ui.reset, ui.token
|
|
|
3793
3880
|
return e instanceof SourceError && e.kind || t;
|
|
3794
3881
|
}
|
|
3795
3882
|
static isKind(e) {
|
|
3796
|
-
return
|
|
3883
|
+
return La.includes(e);
|
|
3797
3884
|
}
|
|
3798
3885
|
};
|
|
3799
|
-
|
|
3800
|
-
var
|
|
3886
|
+
z.prototype.name = "SourceError";
|
|
3887
|
+
var Ra = "ui-languages-changed", za = {
|
|
3801
3888
|
up: "up",
|
|
3802
3889
|
down: "down",
|
|
3803
3890
|
static: "static"
|
|
3804
|
-
},
|
|
3891
|
+
}, Ba;
|
|
3805
3892
|
function load() {
|
|
3806
3893
|
let e = pageRuntime();
|
|
3807
|
-
return e ? e.load() : (
|
|
3808
|
-
throw
|
|
3809
|
-
}),
|
|
3894
|
+
return e ? e.load() : (Ba ??= import("./UIRuntime-BXutHphM.js").then(({ UIRuntime: e }) => e.instance.load(), (e) => {
|
|
3895
|
+
throw Ba = void 0, e;
|
|
3896
|
+
}), Ba);
|
|
3810
3897
|
}
|
|
3811
|
-
var
|
|
3898
|
+
var B = new Proxy({}, {
|
|
3812
3899
|
get(e, t) {
|
|
3813
3900
|
if (t === "load") return load;
|
|
3814
3901
|
let n = pageRuntime();
|
|
@@ -3826,14 +3913,13 @@ var V = new Proxy({}, {
|
|
|
3826
3913
|
}
|
|
3827
3914
|
});
|
|
3828
3915
|
function pageRuntime() {
|
|
3829
|
-
return globalThis[
|
|
3916
|
+
return globalThis[R];
|
|
3830
3917
|
}
|
|
3831
3918
|
function notLoaded(e) {
|
|
3832
3919
|
return /* @__PURE__ */ Error(`UI.${String(e)}: the UI runtime isn't loaded yet; \`await UI.load()\` first`);
|
|
3833
3920
|
}
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
var Na = [proto], Pa, H = class _ClassBuilder {
|
|
3921
|
+
// src/elements/ClassBuilder.ts
|
|
3922
|
+
var Va = [proto], Ha, V = class _ClassBuilder {
|
|
3837
3923
|
constructor(e) {
|
|
3838
3924
|
__publicField(this, "vocabulary"), __publicField(this, "specs"), __publicField(this, "keys"), this.vocabulary = e, this.specs = [
|
|
3839
3925
|
...byKind("size"),
|
|
@@ -3857,11 +3943,8 @@ var Na = [proto], Pa, H = class _ClassBuilder {
|
|
|
3857
3943
|
if (!s) continue;
|
|
3858
3944
|
let c = i[t], l = s === !0 ? void 0 : _ClassBuilder.text(s);
|
|
3859
3945
|
if (s === !0 || l !== void 0) {
|
|
3860
|
-
if (o.classes && l)
|
|
3861
|
-
|
|
3862
|
-
continue;
|
|
3863
|
-
}
|
|
3864
|
-
switch (o.kind) {
|
|
3946
|
+
if (o.classes && l) this.pushClasses(a, l, o);
|
|
3947
|
+
else switch (o.kind) {
|
|
3865
3948
|
case "size":
|
|
3866
3949
|
l && l !== n.medium && a.push(l);
|
|
3867
3950
|
break;
|
|
@@ -3894,14 +3977,14 @@ var Na = [proto], Pa, H = class _ClassBuilder {
|
|
|
3894
3977
|
return t.extra && a.push(t.extra), a.push(t.noun ?? this.vocabulary.noun), a.join(" ");
|
|
3895
3978
|
}
|
|
3896
3979
|
pushClasses(e, t, n) {
|
|
3897
|
-
let r = n.kind === "multiple" ? t.trim().split(
|
|
3980
|
+
let r = n.kind === "multiple" ? t.trim().split(Ya) : [t];
|
|
3898
3981
|
for (let t of r) {
|
|
3899
3982
|
let r = n.classes[t] ?? t;
|
|
3900
3983
|
r && e.push(r);
|
|
3901
3984
|
}
|
|
3902
3985
|
}
|
|
3903
3986
|
pushMultiple(e, t, n) {
|
|
3904
|
-
let r = t.trim().split(
|
|
3987
|
+
let r = t.trim().split(Ya);
|
|
3905
3988
|
for (let t = 0; t < r.length; t++) {
|
|
3906
3989
|
let i = r[t];
|
|
3907
3990
|
i = i === "large" && r[t + 1] === "screen" ? `${i} ${r[++t]}` : i.replace("-", " "), r[t + 1] === "vertically" && (i = `${i} ${r[++t]}`), e.push(`${i} ${n}`);
|
|
@@ -3928,7 +4011,7 @@ var Na = [proto], Pa, H = class _ClassBuilder {
|
|
|
3928
4011
|
if (Array.isArray(e)) return e.map((e) => _ClassBuilder.text(e) ?? "").join(" ");
|
|
3929
4012
|
}
|
|
3930
4013
|
};
|
|
3931
|
-
|
|
4014
|
+
Ha = __decoratorStart(null), __decorateElement(Ha, 13, "grammar", Va, V), __decoratorMetadata(Ha, V), __name(V, "ClassBuilder"), __publicField(V, "grammar", __runInitializers(Ha, 8, V, {
|
|
3932
4015
|
ui: "ui",
|
|
3933
4016
|
medium: "medium",
|
|
3934
4017
|
aligned: "aligned",
|
|
@@ -3936,8 +4019,8 @@ Pa = __decoratorStart(null), __decorateElement(Pa, 13, "grammar", Na, H), __deco
|
|
|
3936
4019
|
wide: "wide",
|
|
3937
4020
|
equal: "equal",
|
|
3938
4021
|
equalWidth: "equal width"
|
|
3939
|
-
})), __runInitializers(
|
|
3940
|
-
var
|
|
4022
|
+
})), __runInitializers(Ha, 11, V);
|
|
4023
|
+
var Ua = V, Wa = [state], Ga, Ka, H = class _RootSettings {
|
|
3941
4024
|
static set(e, t) {
|
|
3942
4025
|
_RootSettings.byRoot.set(e, t), _RootSettings.generation += 1;
|
|
3943
4026
|
}
|
|
@@ -3966,72 +4049,71 @@ var Fa = H, Ia = [state], La, Ra, U = class _RootSettings {
|
|
|
3966
4049
|
});
|
|
3967
4050
|
}
|
|
3968
4051
|
}
|
|
3969
|
-
return r.size ? [...r.values()] :
|
|
4052
|
+
return r.size ? [...r.values()] : Ja;
|
|
3970
4053
|
}
|
|
3971
4054
|
static checkedDefault(e, t, n, r, i) {
|
|
3972
|
-
let a = t.takesAttribute(r) ? t.attribute(r) : t.attributeNamed(r), o = a ?
|
|
4055
|
+
let a = t.takesAttribute(r) ? t.attribute(r) : t.attributeNamed(r), o = a ? ba.isContent(a.spec) ? `${r} is what each <${n}> shows, not how it looks: it takes no default` : _RootSettings.problemWithValue(a.spec, i) : `<${n}> has no attribute ${JSON.stringify(r)}`;
|
|
3973
4056
|
if (!o) return a;
|
|
3974
4057
|
_RootSettings.warnOnce(e, `defaults: <${n} ${r}=${JSON.stringify(i)}>: ${o}; left out`);
|
|
3975
4058
|
}
|
|
3976
4059
|
static problemWithValue(e, t) {
|
|
3977
|
-
let n =
|
|
3978
|
-
return n &&
|
|
4060
|
+
let n = ba.problemWith(e, t);
|
|
4061
|
+
return n && ba.textOf(n);
|
|
3979
4062
|
}
|
|
3980
4063
|
static warnOnce(e, t) {
|
|
3981
4064
|
let n = _RootSettings.warned.get(e);
|
|
3982
|
-
n || _RootSettings.warned.set(e, n = /* @__PURE__ */ new Set()),
|
|
4065
|
+
n || _RootSettings.warned.set(e, n = /* @__PURE__ */ new Set()), n.has(t) || (n.add(t), Warnings.warn("<ui-root>", t, e));
|
|
3983
4066
|
}
|
|
3984
4067
|
};
|
|
3985
|
-
|
|
3986
|
-
var
|
|
4068
|
+
Ga = __decoratorStart(null), Ka = /* @__PURE__ */ new WeakMap(), __decorateElement(Ga, 12, "generation", Wa, H, Ka), __decoratorMetadata(Ga, H), __name(H, "RootSettings"), __privateAdd(H, Ka, __runInitializers(Ga, 8, H, 0)), __runInitializers(Ga, 11, H), __publicField(H, "byRoot", /* @__PURE__ */ new WeakMap()), __publicField(H, "warned", /* @__PURE__ */ new WeakMap());
|
|
4069
|
+
var qa = H, Ja = Object.freeze([]), SpellUISettings = class {
|
|
3987
4070
|
static settings = {
|
|
3988
4071
|
runtime: {
|
|
3989
4072
|
get isLoaded() {
|
|
3990
|
-
return !!globalThis[
|
|
4073
|
+
return !!globalThis[R];
|
|
3991
4074
|
},
|
|
3992
|
-
load: () =>
|
|
4075
|
+
load: () => B.load()
|
|
3993
4076
|
},
|
|
3994
4077
|
words: {
|
|
3995
|
-
names: () => new
|
|
3996
|
-
classes: (e) => new
|
|
3997
|
-
attributesFor: (e) =>
|
|
3998
|
-
takesShared: (e, t) =>
|
|
4078
|
+
names: () => new _a(),
|
|
4079
|
+
classes: (e) => new Ua(e),
|
|
4080
|
+
attributesFor: (e) => F.attributesFor(e),
|
|
4081
|
+
takesShared: (e, t) => F.takesShared(e, t),
|
|
3999
4082
|
converters: N,
|
|
4000
4083
|
valuesFor: (e) => M.setFor(e),
|
|
4001
|
-
text: (e, t, n) =>
|
|
4084
|
+
text: (e, t, n) => B.i18n.t(e, t, n),
|
|
4002
4085
|
registerVocabulary(e, t, n) {
|
|
4003
|
-
t === "replace" ?
|
|
4086
|
+
t === "replace" ? B.vocabulary.replace(e) : n ? B.vocabulary.registerComponent(e, n) : B.vocabulary.register(e);
|
|
4004
4087
|
},
|
|
4005
|
-
registerTexts: (e, t) =>
|
|
4088
|
+
registerTexts: (e, t) => B.i18n.registerDefaults(e, t)
|
|
4006
4089
|
},
|
|
4007
4090
|
styles: {
|
|
4008
|
-
registerOnce: (e) =>
|
|
4009
|
-
register: (e, t) =>
|
|
4010
|
-
adoptInto: (e, t) =>
|
|
4091
|
+
registerOnce: (e) => B.styles.registerOnce(e),
|
|
4092
|
+
register: (e, t) => B.styles.register(e, t),
|
|
4093
|
+
adoptInto: (e, t) => B.styles.adoptInto(e, t)
|
|
4011
4094
|
},
|
|
4012
|
-
focus: { moveOutOf: (e) =>
|
|
4095
|
+
focus: { moveOutOf: (e) => B.focus.moveOutOf(e) },
|
|
4013
4096
|
motion: {
|
|
4014
|
-
defaultAnimation:
|
|
4015
|
-
property:
|
|
4097
|
+
defaultAnimation: Jr,
|
|
4098
|
+
property: Yr,
|
|
4016
4099
|
get isReduced() {
|
|
4017
|
-
return
|
|
4100
|
+
return B.browser.isReducedMotion;
|
|
4018
4101
|
},
|
|
4019
|
-
isAttention: (e) =>
|
|
4020
|
-
reveal: (e) =>
|
|
4021
|
-
animate: (e, t, n) =>
|
|
4102
|
+
isAttention: (e) => Xr.isAttention(e),
|
|
4103
|
+
reveal: (e) => B.transitions.reveal(e),
|
|
4104
|
+
animate: (e, t, n) => B.transitions.animate({
|
|
4022
4105
|
element: e,
|
|
4023
|
-
name:
|
|
4106
|
+
name: Xr.runtimeNameFor(t),
|
|
4024
4107
|
direction: n ? "in" : "out"
|
|
4025
4108
|
})
|
|
4026
4109
|
},
|
|
4027
4110
|
warn: (e, t, ...n) => Warnings.warn(e, t, ...n),
|
|
4028
|
-
defaults: { for: (e, t) =>
|
|
4111
|
+
defaults: { for: (e, t) => qa.defaultsFor(e, t) }
|
|
4029
4112
|
};
|
|
4030
4113
|
};
|
|
4031
4114
|
y.install(SpellUISettings.settings);
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
var Va = /\s+/, Ha = ["value", "length"];
|
|
4115
|
+
// src/elements/elements.types.ts
|
|
4116
|
+
var Ya = /\s+/, Xa = ["value", "length"];
|
|
4035
4117
|
function markedPieces(e, t) {
|
|
4036
4118
|
let n = [], r = 0;
|
|
4037
4119
|
for (let [i, a] of t) i > r && n.push({
|
|
@@ -4046,36 +4128,36 @@ function markedPieces(e, t) {
|
|
|
4046
4128
|
isMarked: !1
|
|
4047
4129
|
}), n;
|
|
4048
4130
|
}
|
|
4049
|
-
var
|
|
4131
|
+
var Za = ["text", "value"], U = {
|
|
4050
4132
|
idle: "idle",
|
|
4051
4133
|
loading: "loading",
|
|
4052
4134
|
loaded: "loaded",
|
|
4053
4135
|
error: "error"
|
|
4054
|
-
},
|
|
4136
|
+
}, Qa = "ui-loader", $a = "ui-message", eo = [
|
|
4055
4137
|
"href",
|
|
4056
4138
|
"src",
|
|
4057
4139
|
"action",
|
|
4058
4140
|
"poster",
|
|
4059
4141
|
"source"
|
|
4060
|
-
],
|
|
4142
|
+
], to = eo.map((e) => `[${e}]`).join(","), no = "data-ui-include-", ro = 8, io = {
|
|
4061
4143
|
load: "sourceLoadError",
|
|
4062
4144
|
"cross-origin": "sourceCrossOrigin",
|
|
4063
4145
|
"file-protocol": "sourceFileProtocol",
|
|
4064
4146
|
render: "sourceRenderError"
|
|
4065
|
-
},
|
|
4147
|
+
}, ao = 300, oo = "source", W = {
|
|
4066
4148
|
load: "ui-loaded",
|
|
4067
4149
|
loading: "ui-loading",
|
|
4068
4150
|
loaded: "ui-loaded",
|
|
4069
4151
|
change: "ui-changed",
|
|
4070
4152
|
save: "ui-saving",
|
|
4071
4153
|
saved: "ui-saved",
|
|
4072
|
-
error:
|
|
4073
|
-
},
|
|
4154
|
+
error: Ee
|
|
4155
|
+
}, so = ["top", "bottom"], co = /* @__PURE__ */ new Set([
|
|
4074
4156
|
"auto",
|
|
4075
4157
|
"scroll",
|
|
4076
4158
|
"overlay",
|
|
4077
4159
|
"hidden"
|
|
4078
|
-
]),
|
|
4160
|
+
]), lo = .5, uo = .5, fo = class Shorthand {
|
|
4079
4161
|
static resolve(e, t, n = {}) {
|
|
4080
4162
|
if (e == null || typeof e == "boolean") return;
|
|
4081
4163
|
let r;
|
|
@@ -4099,7 +4181,7 @@ var Ua = ["text", "value"], W = {
|
|
|
4099
4181
|
}
|
|
4100
4182
|
static mergeClasses(...e) {
|
|
4101
4183
|
let t = /* @__PURE__ */ new Set();
|
|
4102
|
-
for (let n of e) if (n) for (let e of n.split(
|
|
4184
|
+
for (let n of e) if (n) for (let e of n.split(Ya)) e && t.add(e);
|
|
4103
4185
|
return t.size ? [...t].join(" ") : void 0;
|
|
4104
4186
|
}
|
|
4105
4187
|
static mergeStyles(...e) {
|
|
@@ -4117,17 +4199,17 @@ var Ua = ["text", "value"], W = {
|
|
|
4117
4199
|
src: (e) => ({ src: e }),
|
|
4118
4200
|
type: (e) => ({ type: e })
|
|
4119
4201
|
};
|
|
4120
|
-
},
|
|
4121
|
-
|
|
4122
|
-
var
|
|
4202
|
+
}, po, mo, ho, go = [proto], G;
|
|
4203
|
+
ho = [proto], mo = [proto], po = [lazy];
|
|
4204
|
+
var K = class _NativeFallback {
|
|
4123
4205
|
constructor({ domElement: e, root: t, error: n, internals: r }) {
|
|
4124
|
-
__runInitializers(
|
|
4206
|
+
__runInitializers(G, 5, this), __publicField(this, "domElement"), __publicField(this, "root"), __publicField(this, "error"), __publicField(this, "internals"), __publicField(this, "formInternals"), __publicField(this, "disposers", []), this.domElement = e, this.root = t, this.error = n, this.internals = r, this.formInternals = e.constructor.formAssociated ? r : void 0;
|
|
4125
4207
|
let { vocabularies: i } = this;
|
|
4126
4208
|
i.length && (this.vocabulary = i.find(({ tag: t }) => t === e.localName) ?? i[0]);
|
|
4127
4209
|
}
|
|
4128
4210
|
static render(e) {
|
|
4129
4211
|
let t = new this(e);
|
|
4130
|
-
return e.root.replaceChildren(...t.build()), t.sync(), e.internals?.states.add(
|
|
4212
|
+
return e.root.replaceChildren(...t.build()), t.sync(), e.internals?.states.add(De), {
|
|
4131
4213
|
dispose: /* @__PURE__ */ __name(() => t.dispose(), "dispose"),
|
|
4132
4214
|
degraded: t.degraded
|
|
4133
4215
|
};
|
|
@@ -4154,7 +4236,7 @@ var q = class _NativeFallback {
|
|
|
4154
4236
|
return this.builder.build(t, { extra: e });
|
|
4155
4237
|
}
|
|
4156
4238
|
get builder() {
|
|
4157
|
-
return new
|
|
4239
|
+
return new Ua(this.vocabulary);
|
|
4158
4240
|
}
|
|
4159
4241
|
form() {
|
|
4160
4242
|
return this.formInternals?.form ?? this.domElement.closest("form") ?? void 0;
|
|
@@ -4184,10 +4266,10 @@ var q = class _NativeFallback {
|
|
|
4184
4266
|
decorate(e, t, ...n) {
|
|
4185
4267
|
this.vocabulary.parts.some((e) => e.name === t) || Warnings.devWarn(`<${this.vocabulary.tag}> fallback`, `"${t}" is not a part in its vocabulary`), e.setAttribute("part", [t, ...n].join(" "));
|
|
4186
4268
|
for (let { name: t, value: n } of this.domElement.attributes) t.startsWith("aria-") && e.setAttribute(t, n);
|
|
4187
|
-
return this.vocabulary.attributes.find((e) => e.name ===
|
|
4269
|
+
return this.vocabulary.attributes.find((e) => e.name === vo)?.kind === "keyOnly" && N.boolean(this.domElement.getAttribute(vo), vo) && e.setAttribute("aria-busy", "true"), e;
|
|
4188
4270
|
}
|
|
4189
4271
|
nameFromPlaceholder(e) {
|
|
4190
|
-
let t = this.domElement.getAttribute(
|
|
4272
|
+
let t = this.domElement.getAttribute(yo);
|
|
4191
4273
|
!e.hasAttribute("aria-label") && t && e.setAttribute("aria-label", t);
|
|
4192
4274
|
}
|
|
4193
4275
|
send(e, t) {
|
|
@@ -4206,7 +4288,7 @@ var q = class _NativeFallback {
|
|
|
4206
4288
|
if (e != null && e !== !1) return e === !0 ? "" : String(e);
|
|
4207
4289
|
}
|
|
4208
4290
|
};
|
|
4209
|
-
|
|
4291
|
+
G = __decoratorStart(null), __decorateElement(G, 2, "builder", po, K), __decorateElement(G, 13, "vocabulary", go, K), __decorateElement(G, 13, "vocabularies", ho, K), __decorateElement(G, 13, "degraded", mo, K), __decoratorMetadata(G, K), __name(K, "NativeFallback"), __publicField(K, "vocabulary", __runInitializers(G, 8, K, {
|
|
4210
4292
|
tag: "",
|
|
4211
4293
|
noun: "",
|
|
4212
4294
|
attributes: [],
|
|
@@ -4215,8 +4297,8 @@ K = __decoratorStart(null), __decorateElement(K, 2, "builder", io, q), __decorat
|
|
|
4215
4297
|
parts: [],
|
|
4216
4298
|
states: [],
|
|
4217
4299
|
texts: []
|
|
4218
|
-
})), __runInitializers(
|
|
4219
|
-
var
|
|
4300
|
+
})), __runInitializers(G, 11, K), __publicField(K, "vocabularies", __runInitializers(G, 12, K, [])), __runInitializers(G, 15, K), __publicField(K, "degraded", __runInitializers(G, 16, K, [])), __runInitializers(G, 19, K);
|
|
4301
|
+
var _o = K, vo = "loading", yo = "placeholder", bo = class StickyWatch {
|
|
4220
4302
|
stuckTo;
|
|
4221
4303
|
onReport;
|
|
4222
4304
|
box;
|
|
@@ -4252,7 +4334,7 @@ var co = q, lo = "loading", uo = "placeholder", fo = class StickyWatch {
|
|
|
4252
4334
|
t && (e.preventDefault(), t.focus({ preventScroll: !0 }));
|
|
4253
4335
|
};
|
|
4254
4336
|
reset() {
|
|
4255
|
-
this.report(
|
|
4337
|
+
this.report(Co);
|
|
4256
4338
|
}
|
|
4257
4339
|
measure(e, t, n) {
|
|
4258
4340
|
let { domElement: r, top: i, bottom: a, box: o } = e, s = StickyWatch.area(t, r.ownerDocument), c = s.top + n.offset, l = s.bottom - (n.bottomOffset ?? 0), u = o.getBoundingClientRect(), d, f = !1;
|
|
@@ -4276,7 +4358,7 @@ var co = q, lo = "loading", uo = "placeholder", fo = class StickyWatch {
|
|
|
4276
4358
|
this.stuckTo ? (t || StickyWatch.stuckIn.set(e, t = /* @__PURE__ */ new Set()), t.add(this)) : t && (t.delete(this), t.size || StickyWatch.stuckIn.delete(e)), StickyWatch.reserve(e);
|
|
4277
4359
|
}
|
|
4278
4360
|
static reserve(e) {
|
|
4279
|
-
let t = e.ownerDocument, n = StickyWatch.area(e === t.documentElement ? void 0 : e, t), r = (n.bottom - n.top) *
|
|
4361
|
+
let t = e.ownerDocument, n = StickyWatch.area(e === t.documentElement ? void 0 : e, t), r = (n.bottom - n.top) * lo, i = e.clientWidth * lo, a = 0, o = 0;
|
|
4280
4362
|
for (let t of StickyWatch.stuckIn.get(e) ?? []) {
|
|
4281
4363
|
let e = t.box?.getBoundingClientRect();
|
|
4282
4364
|
!e || e.height > r || e.width < i || (t.stuckTo === "top" ? a = Math.max(a, e.bottom - n.top) : t.stuckTo === "bottom" && (o = Math.max(o, n.bottom - e.top)));
|
|
@@ -4291,8 +4373,8 @@ var co = q, lo = "loading", uo = "placeholder", fo = class StickyWatch {
|
|
|
4291
4373
|
for (let t of e.composedPath()) {
|
|
4292
4374
|
if (t === e.currentTarget) return;
|
|
4293
4375
|
if (t instanceof HTMLElement) {
|
|
4294
|
-
if (t.shadowRoot?.delegatesFocus) return t.shadowRoot.querySelector(
|
|
4295
|
-
if (t.matches(
|
|
4376
|
+
if (t.shadowRoot?.delegatesFocus) return t.shadowRoot.querySelector(So) || t.matches(":disabled") ? void 0 : t;
|
|
4377
|
+
if (t.matches(xo)) return t.matches(So) || t.matches(":disabled") ? void 0 : t;
|
|
4296
4378
|
}
|
|
4297
4379
|
}
|
|
4298
4380
|
}
|
|
@@ -4312,21 +4394,21 @@ var co = q, lo = "loading", uo = "placeholder", fo = class StickyWatch {
|
|
|
4312
4394
|
for (; n;) {
|
|
4313
4395
|
let e = flatParentFor(n);
|
|
4314
4396
|
if (!e || e === t.body || e === t.documentElement) return;
|
|
4315
|
-
if (
|
|
4397
|
+
if (co.has(getComputedStyle(e).overflowY)) return e;
|
|
4316
4398
|
n = e;
|
|
4317
4399
|
}
|
|
4318
4400
|
}
|
|
4319
4401
|
static stuckIn = /* @__PURE__ */ new Map();
|
|
4320
|
-
},
|
|
4402
|
+
}, xo = "button, input, select, textarea, a[href], summary, [tabindex], [contenteditable]", So = "input:not([type='button'], [type='submit'], [type='reset'], [type='checkbox'], [type='radio']), select, textarea, [contenteditable]:not([contenteditable='false'])", Co = {
|
|
4321
4403
|
edge: void 0,
|
|
4322
4404
|
isBound: !1
|
|
4323
|
-
},
|
|
4405
|
+
}, wo = [
|
|
4324
4406
|
"fa7-free",
|
|
4325
4407
|
"fa7-brands",
|
|
4326
4408
|
"fomantic"
|
|
4327
|
-
],
|
|
4409
|
+
], To = "fa7-free", Eo = "pack.js", Do = ":", Oo = class IconName {
|
|
4328
4410
|
static normalize(e) {
|
|
4329
|
-
return e.toLowerCase().replace(
|
|
4411
|
+
return e.toLowerCase().replace(Ao, " ").trim();
|
|
4330
4412
|
}
|
|
4331
4413
|
static fromKey(e) {
|
|
4332
4414
|
return IconName.normalize(IconName.fileOf(e));
|
|
@@ -4364,7 +4446,7 @@ var co = q, lo = "loading", uo = "placeholder", fo = class StickyWatch {
|
|
|
4364
4446
|
let a = [];
|
|
4365
4447
|
for (let t of e) {
|
|
4366
4448
|
let e = IconName.rankOf(n(t), r(t), i);
|
|
4367
|
-
e <
|
|
4449
|
+
e < ko && a.push({
|
|
4368
4450
|
item: t,
|
|
4369
4451
|
rank: e
|
|
4370
4452
|
});
|
|
@@ -4372,22 +4454,22 @@ var co = q, lo = "loading", uo = "placeholder", fo = class StickyWatch {
|
|
|
4372
4454
|
return a.sort((e, t) => e.rank - t.rank).map((e) => e.item);
|
|
4373
4455
|
}
|
|
4374
4456
|
static rankOf(e, t, n) {
|
|
4375
|
-
let r =
|
|
4457
|
+
let r = ko;
|
|
4376
4458
|
for (let t of e) {
|
|
4377
4459
|
if (t === n) return 0;
|
|
4378
4460
|
t.startsWith(n) ? r = Math.min(r, 1) : t.includes(n) && (r = Math.min(r, 2));
|
|
4379
4461
|
}
|
|
4380
|
-
return r <
|
|
4462
|
+
return r < ko ? r : t.some((e) => IconName.normalize(e).includes(n)) ? 3 : ko;
|
|
4381
4463
|
}
|
|
4382
|
-
},
|
|
4464
|
+
}, ko = 4, Ao = /[\s_-]+/g, jo = class BuiltInPacks {
|
|
4383
4465
|
static base = import.meta.url;
|
|
4384
4466
|
static has(e) {
|
|
4385
|
-
return
|
|
4467
|
+
return wo.includes(e);
|
|
4386
4468
|
}
|
|
4387
4469
|
static url(e, t = BuiltInPacks.base) {
|
|
4388
|
-
return new URL(`icon-packs/${e}/${
|
|
4470
|
+
return new URL(`icon-packs/${e}/${Eo}`, t).href;
|
|
4389
4471
|
}
|
|
4390
|
-
}, wo = "@layer ui.components.parts.types{:host{display:contents}.content{--_ui-part:content}.header{--_ui-part:header;--_link-icon-gap:.35em}.description{--_ui-part:description}.meta{--_ui-part:meta}.extra{--_ui-part:extra}.actions{--_ui-part:actions}.title{--_ui-part:title}.summary{--_ui-part:summary}.date{--_ui-part:date}.author{--_ui-part:author}.avatar{--_ui-part:avatar}.detail{--_ui-part:detail}.value{--_ui-part:value}.avatar:not(.images) img,.avatar:not(.images) ::slotted(img){object-fit:cover;width:100%;height:100%;display:block}.ui.header{--_ui-header-color:var(--ui-header-color,var(--ui-text-dark));--_ui-header-font-weight:var(--ui-header-font-weight,var(--ui-font-weight-bold));--_ui-header-line-height:var(--ui-header-line-height,var(--ui-line-height-heading));--_ui-header-offset:var(--ui-header-offset,calc((var(--ui-line-height-heading) - 1) * .5em));--_ui-header-margin-top:var(--ui-header-margin-top,calc(var(--ui-font-size) * 2));--_ui-header-margin-bottom:var(--ui-header-margin-bottom,var(--ui-font-size));--_ui-header-icon-size:var(--ui-header-icon-size,1.5em);--_ui-header-icon-box-width:var(--ui-icon-width,1.18em);--_ui-header-icon-margin:var(--ui-header-icon-margin,calc(var(--ui-font-size) * .75));--_ui-header-image-width:var(--ui-header-image-width,2.5em);--_ui-header-sub-color:var(--ui-header-sub-color,var(--ui-text-muted));--_ui-header-sub-font-size:var(--ui-header-sub-font-size,clamp(calc(var(--ui-font-size) * .92857), .78em, calc(var(--ui-font-size) * 1.42857)));--_ui-header-sub-margin:var(--ui-header-sub-margin,0);--_ui-header-sub-heading-ratio:var(--ui-header-sub-heading-ratio,.85714);--_ui-header-sub-heading-color:var(--ui-header-sub-heading-color,inherit);--_ui-header-icon-header-size:var(--ui-header-icon-header-size,3em);--_ui-header-icon-header-margin:var(--ui-header-icon-header-margin,calc(var(--ui-font-size) * .5));--_ui-header-dividing-padding:var(--ui-header-dividing-padding,.21428em);--_ui-header-dividing-border:var(--ui-header-dividing-border,var(--ui-border-width) solid var(--ui-border-color));--_ui-header-colored-border-width:var(--ui-header-colored-border-width,2px);--_ui-header-block-background:var(--ui-header-block-background,var(--ui-surface-strong));--_ui-header-block-border:var(--ui-header-block-border,var(--ui-border-width) solid var(--ui-border-color-strong));--_ui-header-block-padding:var(--ui-header-block-padding,.78571em 1em);--_ui-header-attached-background:var(--ui-header-attached-background,var(--ui-surface));--_ui-header-floated-margin:var(--ui-header-floated-margin,.5em);--_ui-header-disabled-opacity:var(--ui-header-disabled-opacity,var(--ui-disabled-opacity));--_ui-header-size-mini:var(--ui-header-size-mini,.85714);--_ui-header-size-tiny:var(--ui-header-size-tiny,1);--_ui-header-size-small:var(--ui-header-size-small,1.07142);--_ui-header-size-medium:var(--ui-header-size-medium,1.28571);--_ui-header-size-large:var(--ui-header-size-large,1.71428);--_ui-header-size-big:var(--ui-header-size-big,1.85714);--_ui-header-size-huge:var(--ui-header-size-huge,2);--_ui-header-size-massive:var(--ui-header-size-massive,2.28571);--_ui-header-poster-min:var(--ui-header-poster-min,2.4em);--_ui-header-poster-grow:var(--ui-header-poster-grow,7vw);--_ui-header-poster-max:var(--ui-header-poster-max,4em);--_ui-header-h1:var(--ui-header-h1,2);--_ui-header-h2:var(--ui-header-h2,1.71428);--_ui-header-h3:var(--ui-header-h3,1.28571);--_ui-header-h4:var(--ui-header-h4,1.07142);--_ui-header-h5:var(--ui-header-h5,1);--_ui-header-h6:var(--ui-header-h6,.85714);--ui-size-mini:calc(var(--_ui-header-size-mini) / var(--_ui-header-size-medium));--ui-size-tiny:calc(var(--_ui-header-size-tiny) / var(--_ui-header-size-medium));--ui-size-small:calc(var(--_ui-header-size-small) / var(--_ui-header-size-medium));--ui-size-large:calc(var(--_ui-header-size-large) / var(--_ui-header-size-medium));--ui-size-big:calc(var(--_ui-header-size-big) / var(--_ui-header-size-medium));--ui-size-huge:calc(var(--_ui-header-size-huge) / var(--_ui-header-size-medium));--ui-size-massive:calc(var(--_ui-header-size-massive) / var(--_ui-header-size-medium));--_ui-header-layout:text;--_ui-icon-owner-size:var(--_ui-header-icon-size);--_ui-icon-owner-margin:0 var(--_ui-header-icon-margin) 0 0;--_ui-icon-owner-align:middle;--_ui-icon-owner-display:inline-flex;box-sizing:border-box;margin:var(--_header-margin-top,calc(var(--_ui-header-margin-top) - var(--_ui-header-offset))) 0 var(--_header-margin-bottom,var(--_ui-header-margin-bottom));color:var(--ui-color-header,var(--_ui-header-color));font-family:var(--ui-font-family-heading);font-size:calc(var(--_header-base,1em * var(--_ui-header-size-medium)) * var(--ui-scale,1));font-weight:var(--_ui-font-weight,var(--_ui-header-font-weight));line-height:var(--_ui-header-line-height);text-transform:var(--_ui-font-case,none);border:none;padding:0;display:block}.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster){--ui-scale:1}.ui.header>slot{--ui-scale:initial}.ui.poster.header{font-size:clamp(var(--_ui-header-poster-min), var(--_ui-header-poster-grow), var(--_ui-header-poster-max));line-height:1}.ui.header:first-child{--_header-margin-top:calc(var(--_ui-header-offset) * -1)}.ui.header:last-child{--_header-margin-bottom:0}:host(:not(:first-child))>.ui.header{--_header-margin-top:initial}:host(:not(:last-child))>.ui.header{--_header-margin-bottom:initial}a.ui.header:hover{color:var(--ui-color-hover,var(--ui-link-hover))}h1.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h1))}h2.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h2))}h3.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h3))}h4.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h4))}h5.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h5))}h6.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h6))}.ui.header>img,.ui.header ::slotted(img){width:var(--_ui-header-image-width);height:auto;margin-top:calc(var(--_ui-header-offset) * -1);vertical-align:middle;margin-inline-end:var(--_ui-header-icon-margin);display:inline-block}.ui.header>.icon[part]{width:var(--_ui-header-icon-box-width);height:1em;font-size:var(--_ui-header-icon-size);vertical-align:middle;margin-inline-end:var(--_ui-header-icon-margin);display:inline-block}.ui.header>.icon[part] svg{fill:currentColor;width:auto;height:100%;margin-inline:auto;display:block}.ui.sub.header{--_header-base:calc(1em * var(--_ui-header-sub-heading-ratio));--_header-margin-bottom:.14285em;color:var(--ui-color-header,var(--_ui-header-sub-heading-color));text-transform:uppercase;padding:0}.ui.icon.header{--_ui-header-layout:icon;--_ui-icon-owner-size:var(--_ui-header-icon-header-size);--_ui-icon-owner-display:flex;--_ui-icon-owner-margin:0 auto var(--_ui-header-icon-header-margin);--_ui-icon-owner-align:baseline;margin-top:var(--_ui-header-margin-top);text-align:center;display:inline-block}.ui.icon.header>img,.ui.icon.header ::slotted(img){margin:0 auto var(--_ui-header-icon-header-margin);display:block}.ui.icon.header:first-child{margin-top:0}:host(:not(:first-child))>.ui.icon.header{margin-top:var(--_ui-header-margin-top)}.ui.icon.header:after{content:\"\";clear:both;visibility:hidden;height:0;display:block}}@layer ui.components.parts.content{:host(:state(in-header))>.content,.in-header.content{vertical-align:top;display:inline-block}:host(:state(in-header):not(:first-child))>.content,.in-header.content:not(:first-child){vertical-align:middle}:host(:state(in-header))>.header,.in-header.header{margin:var(--_ui-header-sub-margin,var(--ui-header-sub-margin,0));color:var(--_ui-header-sub-color,var(--ui-header-sub-color,var(--ui-text-muted)));font-size:var(--_ui-header-sub-font-size,var(--ui-header-sub-font-size,1em));font-weight:var(--ui-font-weight-normal);padding:0;line-height:1.2em;display:block}:host(:state(in-card))>.content,.in-card.content{padding:var(--ui-card-content-padding,1em);border:none;border-top:var(--ui-border-width) solid var(--ui-card-divider-color,var(--ui-border-color-internal));box-shadow:none;background:0 0;border-radius:0;flex-grow:1;margin:0;font-size:1em}:host(:state(in-card):first-child)>.content,.in-card.content:first-child{border-top:none}@container style(--_ui-card-leading:1){:host(:state(in-card):first-child)>.content{border-top:var(--ui-border-width) solid var(--ui-card-divider-color,var(--ui-border-color-internal))}}:host(:state(in-card))>.content:after,.in-card.content:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-card))>.header,.in-card.header{margin-top:calc((1 - var(--ui-line-height)) * .5em);color:var(--ui-card-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-card-header-font-size,1.28571em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);display:block}:host(:state(in-card))>a.header,a.in-card.header{text-decoration:none}:host(:state(in-card))>a.header:hover,a.in-card.header:hover{color:var(--ui-link-hover)}:host(:state(in-card))>.meta,.in-card.meta{color:var(--ui-card-meta-color,var(--ui-text-light));font-size:1em}:host(:state(in-card))>.meta>::slotted(*),.in-card.meta>*{margin-inline-end:var(--ui-card-meta-spacing,.3em)}:host(:state(in-card))>.meta>::slotted(:last-child),.in-card.meta>:last-child{margin-inline-end:0}:host(:state(in-card))>.meta>::slotted(a),.in-card.meta>a{color:var(--ui-text-light);text-decoration:none}:host(:state(in-card))>.meta>::slotted(a:hover),.in-card.meta>a:hover{color:var(--ui-text-color)}:host(:state(in-card))>.description,.in-card.description{clear:both;color:var(--ui-card-description-color,oklch(from var(--ui-ink) l c h / .68))}:host(:state(in-card):not(:first-child))>.description,.in-card.description:not(:first-child){margin-top:var(--ui-card-description-distance,.5em)}:host(:state(in-card))>.extra,.in-card.extra{width:auto;max-width:100%;min-height:0;padding:var(--ui-card-extra-padding,.75em 1em);border-top:var(--ui-border-width) solid var(--ui-card-extra-divider,oklch(from var(--ui-ink) l c h / .05));box-shadow:none;color:var(--ui-card-extra-color,var(--ui-text-light));transition:color var(--ui-duration-fast) var(--ui-ease);background:0 0;flex-grow:0;margin:0;position:static}:host(:state(in-card))>.extra>::slotted(a),.in-card.extra>a{color:var(--ui-text-unselected);text-decoration:none}:host(:state(in-card))>.extra>::slotted(a:hover),.in-card.extra>a:hover{color:var(--ui-link-hover)}:host(:state(in-card))>.avatar,.in-card.avatar{width:var(--ui-card-avatar-size,2em);height:var(--ui-card-avatar-size,2em);border-radius:var(--ui-radius-circle);vertical-align:middle;display:inline-block;overflow:hidden}:host(:state(in-item))>.content,.in-item.content{box-shadow:none;color:var(--ui-item-content-color,var(--ui-text-color));background:0 0;border:none;border-radius:0;flex:auto;margin:0;padding:0;font-size:1em;display:block}:host(:state(in-item))>.content:after,.in-item.content:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-item):not(:first-child))>.content,.in-item.content:not(:first-child){width:auto;min-width:0;align-self:start;padding-inline-start:var(--_ui-item-content-distance,1.5em)}:host(:state(in-item))>.header,.in-item.header{margin:calc((1 - var(--ui-line-height)) * .5em) 0 0;color:var(--ui-item-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-item-header-font-size,1.28571em);font-weight:var(--ui-font-weight-bold);display:inline-block}:host(:state(in-item))>a.header:hover,a.in-item.header:hover{color:var(--ui-link-hover)}:host(:state(in-item))>.description,.in-item.description{max-width:none;margin-top:var(--ui-item-description-distance,.6em);color:var(--ui-item-description-color,var(--ui-text-color));font-size:1em;line-height:var(--ui-line-height)}:host(:state(in-item))>.meta,.in-item.meta{color:var(--ui-item-meta-color,var(--ui-text-muted));margin:.5em 0;font-size:1em;line-height:1em}:host(:state(in-item))>.meta>::slotted(*),.in-item.meta>*{margin-inline-end:var(--ui-item-meta-spacing,.3em)}:host(:state(in-item))>.meta>::slotted(:last-child),.in-item.meta>:last-child{margin-inline-end:0}:host(:state(in-item))>.extra,.in-item.extra{width:100%;box-shadow:none;color:var(--ui-item-extra-color,var(--ui-text-light));transition:color var(--ui-duration-fast) var(--ui-ease);background:0 0;border-top:none;margin:.5em 0 0;padding:0;display:block;position:relative}:host(:state(in-item))>.extra>::slotted(*),.in-item.extra>*{margin:.25em .5em .25em 0}:host(:state(in-item))>.extra:after,.in-item.extra:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-item))>.avatar,.in-item.avatar{border-radius:var(--ui-radius-circle);display:inline-block;overflow:hidden}:host(:is(:state(in-card),:state(in-item)))>.description>::slotted(p),:is(.in-card,.in-item).description>p{margin:0 0 .5em}:host(:is(:state(in-card),:state(in-item)))>.description>::slotted(p:last-child),:is(.in-card,.in-item).description>p:last-child{margin-bottom:0}:host(:state(in-feed))>.content,.in-feed.content{text-align:start;overflow-wrap:break-word;flex:auto;align-self:stretch;display:block}:host(:state(in-feed):not(:first-child))>.content,.in-feed.content:not(:first-child){margin:.5em 0 .35714em 1.14285em}:host(:state(in-feed))>.summary,.in-feed.summary{color:var(--ui-feed-summary-color,var(--ui-text-color));font-size:1em;font-weight:var(--ui-font-weight-bold);margin:0}:host(:state(in-feed))>.date,.in-feed.date{color:var(--ui-feed-date-color,var(--ui-text-light));font-size:1em;font-style:normal;font-weight:var(--ui-font-weight-normal);margin:-.5em 0 0;padding:0}:host(:state(in-feed))>.author,.in-feed.author{font-weight:var(--ui-font-weight-bold);vertical-align:baseline;margin-inline-end:0;display:inline-block}:host(:state(in-feed))>a.author,a.in-feed.author{color:var(--ui-feed-author-color,var(--ui-link))}:host(:state(in-feed))>a.author:hover,a.in-feed.author:hover{color:var(--ui-link-hover)}:host(:state(in-feed))>.extra,.in-feed.extra{color:var(--ui-feed-extra-color,var(--ui-text-color));background:0 0;margin:.5em 0 0;padding:0}:host(:state(in-feed))>.extra.text,.in-feed.extra.text{max-width:var(--ui-feed-extra-text-width,500px);font-size:1em;line-height:var(--ui-line-height);border-inline-start:none;padding:0}:host(:state(in-feed))>.meta,.in-feed.meta{box-shadow:none;color:var(--ui-feed-meta-color,var(--ui-text-muted));background:0 0;border:none;border-radius:0;margin:.5em 0 0;padding:0;font-size:.85714em;display:inline-block}:host(:state(in-feed))>.meta>::slotted(*),.in-feed.meta>*{margin-inline-start:.75em;position:relative}:host(:state(in-feed))>.meta>::slotted(:first-child),.in-feed.meta>:first-child{margin-inline-start:0}:host(:state(in-feed))>.meta>::slotted(a),.in-feed.meta>a{color:var(--ui-feed-meta-action-color,var(--ui-text-light));cursor:var(--ui-control-cursor);transition:color var(--ui-duration-fast) var(--ui-ease)}:host(:state(in-feed))>.meta>::slotted(a:hover),.in-feed.meta>a:hover{color:var(--ui-text-selected)}:host(:state(in-comment))>.avatar,.in-comment.avatar{float:left;width:var(--ui-comment-avatar-width,2.5em);height:auto;margin:.2em 0 0;display:block}:host(:state(in-comment))>.avatar img,:host(:state(in-comment))>.avatar ::slotted(img),.in-comment.avatar img{border-radius:var(--ui-radius-s);margin:0 auto}:host(:state(in-comment))>.content,.in-comment.content{display:block}:host(:state(in-comment):not(:first-child))>.content,.in-comment.content:not(:first-child){margin-inline-start:var(--ui-comment-content-margin,3.5em)}:host(:state(in-comment))>.content:is(:hover,:focus-within),.in-comment.content:is(:hover,:focus-within){--_ui-comment-hover:1}:host(:state(in-comment))>.author,.in-comment.author{color:var(--ui-comment-author-color,var(--ui-text-color));font-size:1em;font-weight:var(--ui-font-weight-bold)}:host(:state(in-comment))>a.author:hover,a.in-comment.author:hover{color:var(--ui-link-hover)}:host(:state(in-comment))>.meta,.in-comment.meta{color:var(--ui-comment-meta-color,var(--ui-text-light));margin-inline-start:.5em;font-size:.875em;display:inline-block}:host(:state(in-comment))>.meta>::slotted(*),.in-comment.meta>*{margin:0 .5em 0 0;display:inline-block}:host(:state(in-comment))>.meta>::slotted(:last-child),.in-comment.meta>:last-child{margin-inline-end:0}:host(:state(in-comment))>.description,.in-comment.description{color:var(--ui-comment-text-color,var(--ui-text-color));overflow-wrap:break-word;margin:.25em 0 .5em;font-size:1em;line-height:1.3}:host(:state(in-comment))>.actions,.in-comment.actions{font-size:.875em}:host(:state(in-comment))>.actions>::slotted(:is(a,button)),.in-comment.actions>:is(a,button){color:var(--ui-comment-action-color,var(--ui-text-unselected));font:inherit;cursor:var(--ui-control-cursor);background:0 0;border:none;margin:0 .75em 0 0;padding:0;display:inline-block}:host(:state(in-comment))>.actions>::slotted(:is(a,button):last-child),.in-comment.actions>:is(a,button):last-child{margin-inline-end:0}:host(:state(in-comment))>.actions>::slotted(:is(a,button):is(:hover,.active)),.in-comment.actions>:is(a,button):is(:hover,.active){color:var(--ui-text-hovered)}:host(:state(in-modal))>.header,.in-modal.header{border-bottom:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-modal-header-background,var(--ui-surface));box-shadow:none;color:var(--_ui-modal-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--_ui-modal-header-size,1.42857em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);margin:0;padding:.875em 1.05em;display:block}:host(:state(in-modal))>.content,.in-modal.content{width:100%;padding:var(--ui-modal-content-padding,1.5em);background:var(--_ui-modal-content-background,var(--ui-surface));font-size:1em;line-height:1.4;display:block}:host(:state(in-modal))>.content.image,.in-modal.content.image{flex-direction:row;display:flex}:host(:state(in-modal))>.content.scrolling,.in-modal.content.scrolling{max-height:var(--ui-modal-scrolling-height,calc(80dvh - 10em));overscroll-behavior:none;overflow:auto}:host(:state(in-modal))>.description,.in-modal.description{flex:1 0 auto;align-self:start;min-width:0;display:block}:host(:state(in-modal):not(:first-child))>.description,.in-modal.description:not(:first-child){width:auto;min-width:auto;flex:auto;padding-inline-start:var(--ui-modal-description-distance,2em)}:host(:state(in-modal))>.actions,.in-modal.actions{padding:var(--ui-modal-actions-padding,1em);border-top:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-modal-actions-background,var(--ui-surface-muted));text-align:right}:host(:state(in-modal))>.actions>::slotted(*),.in-modal.actions>*{margin-inline-start:var(--ui-modal-button-distance,.75em)}:host(:state(in-modal):first-child)>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions):first-child{border-start-start-radius:var(--_ui-modal-radius,var(--ui-radius));border-start-end-radius:var(--_ui-modal-radius,var(--ui-radius))}:host(:state(in-modal):last-child)>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions):last-child{border-end-end-radius:var(--_ui-modal-radius,var(--ui-radius));border-end-start-radius:var(--_ui-modal-radius,var(--ui-radius))}@media (width<768px){:host(:state(in-modal))>.header,.in-modal.header{padding:.525em .7em}:host(:state(in-modal))>.content,.in-modal.content{padding:1em;display:block}:host(:state(in-modal))>.content.image,.in-modal.content.image{flex-direction:column}:host(:state(in-modal))>.description,.in-modal.description,:host(:state(in-modal):not(:first-child))>.description,.in-modal.description:not(:first-child){width:100%;margin:0;padding:1em 0;display:block}:host(:state(in-modal))>.actions,.in-modal.actions{padding:1em 1em 0}:host(:state(in-modal))>.actions>::slotted(*),.in-modal.actions>*{margin-bottom:1em}}:host(:state(in-flyout))>.header,.in-flyout.header{border-bottom:var(--ui-border-width) solid var(--ui-border-color);background:var(--ui-flyout-header-background,var(--_ui-flyout-background,var(--ui-surface)));color:var(--_ui-flyout-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-flyout-header-size,1.28571em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);margin:0;padding:1.25em 1.5em;display:block}:host(:state(in-flyout))>.content,.in-flyout.content{box-sizing:border-box;width:100%;padding:var(--ui-flyout-content-padding,1.5em);background:var(--ui-flyout-content-background,var(--_ui-flyout-background,var(--ui-surface)));flex:1 0 auto;font-size:1em;line-height:1.4;display:block}:host(:state(in-flyout))>.actions,.in-flyout.actions{padding:var(--ui-flyout-actions-padding,1em);border-top:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-flyout-actions-background,var(--ui-surface-muted));text-align:right;flex:none}:host(:state(in-flyout))>.actions>::slotted(*),.in-flyout.actions>*{margin-inline-start:var(--ui-flyout-button-distance,.75em)}:host(:state(in-message))>.header,.in-message.header{margin:calc((1 - var(--ui-line-height-heading)) * .5em) 0 0;color:var(--ui-color-header,inherit);font-family:var(--ui-font-family-heading);font-size:var(--_ui-message-header-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);display:block}:host(:state(in-list))>.content,.in-list.content{color:var(--_ui-list-content-color,var(--ui-text-color));line-height:1.14285em}:host(:state(in-list):not(:first-child))>.content,.in-list.content:not(:first-child){width:100%;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:table-cell}img.image+.in-list.content{width:auto;display:inline-block}:host(:state(in-list))>.header,.in-list.header{color:var(--_ui-list-header-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);font-weight:var(--ui-font-weight-bold);margin:0;display:block}:host(:state(in-list))>a.header,a.in-list.header{color:var(--ui-link);cursor:var(--ui-control-cursor)}:host(:state(in-list))>a.header:hover,a.in-list.header:hover{color:var(--ui-link-hover)}:host(:state(in-list))>.description,.in-list.description{color:var(--_ui-list-description-color,oklch(from var(--ui-ink) l c h / .7));display:block}:host(:state(in-menu))>.header,.in-menu.header{font-size:1em;font-weight:var(--ui-font-weight-bold);margin:0 0 .5em;display:block}:host(:state(in-statistic))>.value,.in-statistic.value{color:var(--ui-color,var(--ui-statistic-value-color,var(--ui-ink)));font-family:var(--ui-font-family);font-size:var(--_ui-statistic-value-size,calc(var(--ui-font-size) * 4));font-weight:var(--ui-font-weight-normal);text-align:center;text-transform:uppercase;line-height:1em}:host(:state(in-statistic))>.value.text,.in-statistic.value.text{min-height:2em;font-size:var(--_ui-statistic-text-value-size,calc(var(--ui-font-size) * 2));font-weight:var(--ui-font-weight-bold);line-height:1em}:host(:state(in-statistic))>.label,.in-statistic.label{color:var(--ui-statistic-label-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);font-size:1em;font-weight:var(--ui-font-weight-bold);text-align:center;text-transform:uppercase;margin:0;padding:0;display:block}:host(:state(in-statistic))>.value ::slotted(img),.in-statistic.value img{max-height:calc(var(--ui-font-size) * 3);vertical-align:baseline}:host(:state(in-statistic))>.value,.in-statistic.value{--_ui-icon-owner-margin:0;--_ui-icon-owner-opacity:1}:host(:state(in-step))>.content,.in-step.content{margin:var(--_ui-step-content-margin,0);padding:var(--_ui-step-content-padding,0);flex:0 auto;align-self:center;display:block}:host(:state(in-step))>.title,.in-step.title{width:100%;font-family:var(--ui-font-family-heading);font-size:var(--ui-step-title-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);line-height:1.14285em}:host(:state(in-step))>.description,.in-step.description{width:100%;color:var(--ui-step-description-color,var(--ui-text-color));font-size:var(--ui-step-description-font-size,.92857em);font-weight:var(--ui-font-weight-normal);line-height:1.14285em}:host(:state(in-step):not(:first-child))>.description,.in-step.description:not(:first-child){margin-top:var(--_ui-step-description-distance,.25em)}:host(:state(in-accordion))>.title,.in-accordion.title{padding:var(--_ui-accordion-title-padding,.5em 0);color:var(--_ui-accordion-title-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);cursor:var(--ui-control-cursor);font-size:1em;line-height:1;list-style:none}:host(:state(in-accordion))>.content,.in-accordion.content{padding:var(--_ui-accordion-content-padding,.5em 0 1em)}:host(:state(in-accordion):last-child)>.content,.in-accordion.content:last-child{padding-bottom:0}:host(:state(in-popup))>.header,.in-popup.header{font-family:var(--ui-font-family-heading);font-size:var(--_ui-popup-header-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);padding:0;line-height:1.2}:host(:state(in-popup):not(:first-child))>.content,.in-popup.content:not(:first-child){padding-top:var(--_ui-popup-header-distance,.5em)}:host(:state(in-toast))>.header,.in-toast.header{color:inherit;font-weight:var(--ui-font-weight-bold);margin:0}:host(:state(in-toast))>.actions,.in-toast.actions{border-top:var(--ui-border-width) solid var(--ui-toast-actions-border,oklch(from var(--ui-shadow-ink) l c h / .2));background:var(--ui-toast-actions-background,oklch(from var(--ui-ink-on-dark) l c h / .25));text-align:right;margin:.5em -1em -1em;padding:.5em .5em .75em}:host(:state(in-search))>.title,.in-search.title{margin:calc((1 - var(--ui-line-height-heading)) * .5em) 0 0;color:var(--_ui-search-title-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:1em;font-weight:var(--ui-font-weight-bold)}:host(:state(in-search))>.description,.in-search.description{color:var(--_ui-search-description-color,var(--ui-text-light));margin-top:0;font-size:.92857em}:host(:state(in-search))>.value,.in-search.value{float:right;color:var(--_ui-search-price-color,var(--ui-green-text))}:host(:state(in-label))>.detail,.in-label.detail{--_ui-icon-owner-margin:0 .25em 0 0;font-weight:var(--_ui-label-detail-weight,var(--ui-font-weight-bold));opacity:var(--_ui-label-detail-opacity,1);vertical-align:top;margin-inline-start:var(--_ui-label-detail-distance,1em);display:inline-block}}@layer ui.components.parts.variations{.ui.dividing.header{padding-bottom:var(--_ui-header-dividing-padding);border-bottom:var(--_ui-header-dividing-border);border-bottom-color:var(--ui-color,var(--ui-border-color));box-shadow:inset 0 calc(var(--ui-border-width) - var(--_ui-header-colored-border-width)) 0 0 var(--ui-color,transparent)}.ui.block.header{padding:var(--_ui-header-block-padding);border:var(--_ui-header-block-border);border-radius:var(--ui-radius);background:var(--_ui-header-block-background);box-shadow:none}.ui.block.header:not(h1,h2,h3,h4,h5,h6){--_header-base:var(--ui-font-size)}.ui.attached.header{margin:0 calc(var(--ui-border-width) * -1);padding:var(--_ui-header-block-padding);border:var(--_ui-header-block-border);background:var(--_ui-header-attached-background);box-shadow:none;border-radius:0}.ui.attached.block.header{background:var(--_ui-header-block-background)}.ui.attached:not(.top).header{border-top:none}.ui[class*=top\\ attached].header{border-radius:var(--ui-radius) var(--ui-radius) 0 0}.ui[class*=bottom\\ attached].header{border-radius:0 0 var(--ui-radius) var(--ui-radius)}.ui.seamless.attached:not(.bottom).header{border-bottom:none}.ui.attached.header:not(h1,h2,h3,h4,h5,h6){--_header-base:1em}.ui.inverted.header{--ui-inverted:1;--ui-scheme:dark;color-scheme:dark}.ui[class*=left\\ aligned].header{text-align:left}.ui[class*=right\\ aligned].header{text-align:right}.ui:is(.centered,[class*=center\\ aligned]).header{text-align:center}.ui.justified.header{text-align:justify}.ui.justified.header:after{content:\"\";width:100%;display:inline-block}.ui.icon.header:is(.centered,[class*=aligned],.justified){margin-inline:auto;display:block}.ui:is(.floated,[class*=left\\ floated]).header{float:left;margin-top:0;margin-inline-end:var(--_ui-header-floated-margin)}.ui[class*=right\\ floated].header{float:right;margin-top:0;margin-inline-start:var(--_ui-header-floated-margin)}.ui.fitted.header{padding:0}@container style(--_ui-header-layout:icon){:host(:state(in-header))>.content,.in-header.content{padding:0;display:block}}@container style(--_ui-card-layout:horizontal){:host(:state(in-card))>.content,.in-card.content{border-top:none;flex-basis:1px}:host(:state(in-card))>.extra,.in-card.extra{flex-basis:100%}}@container style(--_ui-item-media:1){:host(:state(in-item))>.content{width:auto;min-width:0;align-self:start;padding-inline-start:var(--_ui-item-content-distance,1.5em)}}@container style(--_ui-item-layout:stacked){:host(:state(in-item):not(:first-child))>.content,.in-item.content:not(:first-child){padding:var(--ui-item-content-distance-mobile,1.5em) 0 0;display:block}}@container style(--_ui-item-layout:stacked) and style(--_ui-item-media:1){:host(:state(in-item))>.content{padding:var(--ui-item-content-distance-mobile,1.5em) 0 0;display:block}}@container style(--_ui-item-state:hover){:host(:state(in-item))>.header,.in-item.header{color:var(--ui-link-hover)}}@container style(--ui-inverted:1){:host(:state(in-card))>a.header,a.in-card.header,:host(:state(in-item))>a.header,a.in-item.header,:host(:state(in-list))>a.header,a.in-list.header{color:var(--ui-text-inverted-color)}:host(:state(in-statistic))>.value,.in-statistic.value{color:var(--ui-color,var(--ui-ink-on-dark))}}@container style(--_ui-comments-minimal:1){:host(:state(in-comment))>.actions,.in-comment.actions{opacity:0;transition:opacity var(--ui-duration-normal) var(--ui-ease) .1s;position:absolute;top:0;left:auto;right:0}}@container style(--_ui-comments-minimal:1) and style(--_ui-comment-hover:1){:host(:state(in-comment))>.actions,.in-comment.actions{opacity:1}}@container style(--_ui-modal-basic:1){:host(:state(in-modal))>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions){background-color:#0000;border:none}:host(:state(in-modal))>.header,.in-modal.header{color:var(--ui-ink-on-dark)}}@container style(--_ui-message-layout:icon){:host(:state(in-message))>.content,.in-message.content{vertical-align:middle;flex:auto;padding-inline-start:0;display:block}}@container style(--_ui-event-label:1){:host(:state(in-feed))>.content{margin:.5em 0 .35714em 1.14285em}}.content[class*=left\\ floated]{float:left}.content[class*=right\\ floated]{float:right}.content[class*=left\\ aligned]{text-align:left}.content[class*=center\\ aligned]{text-align:center}.content[class*=right\\ aligned]{text-align:right}.content.justified{text-align:justify}:host(:state(in-item))>.content[class*=top\\ aligned],.in-item.content[class*=top\\ aligned]{align-self:flex-start}:host(:state(in-item))>.content[class*=middle\\ aligned],.in-item.content[class*=middle\\ aligned]{align-self:center}:host(:state(in-item))>.content[class*=bottom\\ aligned],.in-item.content[class*=bottom\\ aligned]{align-self:flex-end}:host(:state(in-list))>.content[class*=top\\ aligned],.in-list.content[class*=top\\ aligned]{vertical-align:top}:host(:state(in-list))>.content[class*=middle\\ aligned],.in-list.content[class*=middle\\ aligned]{vertical-align:middle}:host(:state(in-list))>.content[class*=bottom\\ aligned],.in-list.content[class*=bottom\\ aligned]{vertical-align:bottom}@container style(--_ui-item-media:1){:host(:state(in-list))>.content{width:100%;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:table-cell}}@container style(--_ui-item-media:image){:host(:state(in-list))>.content{width:auto;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:inline-block}}@container style(--_ui-list-layout:horizontal){:host(:state(in-list))>.content,.in-list.content,:host(:state(in-list):not(:first-child))>.content,.in-list.content:not(:first-child){width:auto;vertical-align:var(--_ui-list-align,middle);display:inline-block}}@container style(--_ui-statistic-layout:horizontal){:host(:state(in-statistic))>.value,.in-statistic.value{font-size:var(--_ui-statistic-value-size,calc(var(--ui-font-size) * 3));vertical-align:middle;display:inline-block}:host(:state(in-statistic))>.value.text,.in-statistic.value.text{min-height:0}:host(:state(in-statistic))>.label,.in-statistic.label{vertical-align:middle;margin:0 0 0 .75em;display:inline-block}}@container style(--_ui-step-layout:stacked){:host(:state(in-step))>.content,.in-step.content{text-align:center}}@container style(--_ui-accordion-style:styled){:host(:state(in-accordion))>.title,.in-accordion.title{border-top:var(--ui-border-width) solid var(--ui-border-color);color:var(--ui-text-unselected);font-weight:var(--ui-font-weight-bold);transition:background var(--ui-duration-fast) var(--ui-ease), color var(--ui-duration-fast) var(--ui-ease);margin:0;padding:.75em 1em}:host(:state(in-accordion):first-child)>.title,.in-accordion.title:first-child{border-top:none}:host(:state(in-accordion))>.content,.in-accordion.content{margin:0;padding:.5em 1em 1.5em}}@container style(--_ui-label-layout:image){:host(:state(in-label))>.detail,.in-label.detail{border-radius:0 var(--ui-radius) var(--ui-radius) 0;background:var(--_ui-label-detail-background,var(--ui-label-detail-background,oklch(from var(--ui-shadow-ink) l c h / .1)));opacity:1;margin:-.5833em -.833em -.5833em .5em;padding:.5833em .833em}}@container style(--_ui-part:summary){:host(:state(in-feed))>.date,.in-feed.date{color:var(--ui-feed-date-color,var(--ui-text-light));font-size:.85714em;font-style:normal;font-weight:var(--ui-font-weight-normal);margin:0 0 0 .5em;padding:0;display:inline-block}}}@layer ui.components.parts.states{.ui.disabled.header{opacity:var(--_ui-header-disabled-opacity)}@container style(--_ui-step-state:active){:host(:state(in-step))>.title,.in-step.title{color:var(--_ui-step-active-title-color,var(--ui-link))}}@container style(--_ui-step-state:disabled){:host(:state(in-step))>:is(.title,.description),.in-step:is(.title,.description){color:var(--ui-text-disabled)}}@container style(--_ui-accordion-style:styled){:host(:state(in-accordion))>.title:hover,.in-accordion.title:hover{color:var(--ui-text-color)}}@container style(--_ui-accordion-style:styled) and style(--_ui-accordion-open:1){:host(:state(in-accordion))>.title,.in-accordion.title{color:var(--ui-text-selected)}}@container style(--_ui-search-result:active){:host(:state(in-search))>:is(.title,.description),.in-search:is(.title,.description){color:var(--ui-text-dark)}}}", To = /* @__PURE__ */ pe("<slot>"), Eo, Do, Oo, J = class _PartComponent extends (Do = Wt, Eo = [protoMerged], Do) {
|
|
4472
|
+
}, Mo = "@layer ui.components.parts.types{:host{display:contents}.content{--_ui-part:content}.header{--_ui-part:header;--_link-icon-gap:.35em}.description{--_ui-part:description}.meta{--_ui-part:meta}.extra{--_ui-part:extra}.actions{--_ui-part:actions}.title{--_ui-part:title}.summary{--_ui-part:summary}.date{--_ui-part:date}.author{--_ui-part:author}.avatar{--_ui-part:avatar}.detail{--_ui-part:detail}.value{--_ui-part:value}.avatar:not(.images) img,.avatar:not(.images) ::slotted(img){object-fit:cover;width:100%;height:100%;display:block}:host(:not(:state(in-card),:state(in-item),:state(in-comment)))>.avatar{--_ui-avatar-size:var(--ui-avatar-size,2em);width:var(--_ui-avatar-size);height:var(--_ui-avatar-size);border-radius:var(--ui-radius-circle);background:var(--ui-primary);color:var(--ui-primary-on);font-weight:var(--ui-font-weight-bold);vertical-align:middle;align-self:center;place-items:center;line-height:1;text-decoration:none;display:inline-grid;overflow:hidden}:host(:not(:state(in-card),:state(in-item),:state(in-comment)))>a.avatar:focus-visible{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:var(--ui-focus-offset)}.ui.header{--_ui-header-color:var(--ui-header-color,var(--ui-text-dark));--_ui-header-font-weight:var(--ui-header-font-weight,var(--ui-font-weight-bold));--_ui-header-line-height:var(--ui-header-line-height,var(--ui-line-height-heading));--_ui-header-offset:var(--ui-header-offset,calc((var(--ui-line-height-heading) - 1) * .5em));--_ui-header-margin-top:var(--ui-header-margin-top,calc(var(--ui-font-size) * 2));--_ui-header-margin-bottom:var(--ui-header-margin-bottom,var(--ui-font-size));--_ui-header-icon-size:var(--ui-header-icon-size,1.5em);--_ui-header-icon-box-width:var(--ui-icon-width,1.18em);--_ui-header-icon-margin:var(--ui-header-icon-margin,calc(var(--ui-font-size) * .75));--_ui-header-image-width:var(--ui-header-image-width,2.5em);--_ui-header-sub-color:var(--ui-header-sub-color,var(--ui-text-muted));--_ui-header-sub-font-size:var(--ui-header-sub-font-size,clamp(calc(var(--ui-font-size) * .92857), .78em, calc(var(--ui-font-size) * 1.42857)));--_ui-header-sub-margin:var(--ui-header-sub-margin,0);--_ui-header-sub-heading-ratio:var(--ui-header-sub-heading-ratio,.85714);--_ui-header-sub-heading-color:var(--ui-header-sub-heading-color,inherit);--_ui-header-icon-header-size:var(--ui-header-icon-header-size,3em);--_ui-header-icon-header-margin:var(--ui-header-icon-header-margin,calc(var(--ui-font-size) * .5));--_ui-header-dividing-padding:var(--ui-header-dividing-padding,.21428em);--_ui-header-dividing-border:var(--ui-header-dividing-border,var(--ui-border-width) solid var(--ui-border-color));--_ui-header-colored-border-width:var(--ui-header-colored-border-width,2px);--_ui-header-block-background:var(--ui-header-block-background,var(--ui-surface-strong));--_ui-header-block-border:var(--ui-header-block-border,var(--ui-border-width) solid var(--ui-border-color-strong));--_ui-header-block-padding:var(--ui-header-block-padding,.78571em 1em);--_ui-header-attached-background:var(--ui-header-attached-background,var(--ui-surface));--_ui-header-floated-margin:var(--ui-header-floated-margin,.5em);--_ui-header-disabled-opacity:var(--ui-header-disabled-opacity,var(--ui-disabled-opacity));--_ui-header-size-mini:var(--ui-header-size-mini,.85714);--_ui-header-size-tiny:var(--ui-header-size-tiny,1);--_ui-header-size-small:var(--ui-header-size-small,1.07142);--_ui-header-size-medium:var(--ui-header-size-medium,1.28571);--_ui-header-size-large:var(--ui-header-size-large,1.71428);--_ui-header-size-big:var(--ui-header-size-big,1.85714);--_ui-header-size-huge:var(--ui-header-size-huge,2);--_ui-header-size-massive:var(--ui-header-size-massive,2.28571);--_ui-header-poster-min:var(--ui-header-poster-min,2.4em);--_ui-header-poster-grow:var(--ui-header-poster-grow,7vw);--_ui-header-poster-max:var(--ui-header-poster-max,4em);--_ui-header-h1:var(--ui-header-h1,2);--_ui-header-h2:var(--ui-header-h2,1.71428);--_ui-header-h3:var(--ui-header-h3,1.28571);--_ui-header-h4:var(--ui-header-h4,1.07142);--_ui-header-h5:var(--ui-header-h5,1);--_ui-header-h6:var(--ui-header-h6,.85714);--ui-size-mini:calc(var(--_ui-header-size-mini) / var(--_ui-header-size-medium));--ui-size-tiny:calc(var(--_ui-header-size-tiny) / var(--_ui-header-size-medium));--ui-size-small:calc(var(--_ui-header-size-small) / var(--_ui-header-size-medium));--ui-size-large:calc(var(--_ui-header-size-large) / var(--_ui-header-size-medium));--ui-size-big:calc(var(--_ui-header-size-big) / var(--_ui-header-size-medium));--ui-size-huge:calc(var(--_ui-header-size-huge) / var(--_ui-header-size-medium));--ui-size-massive:calc(var(--_ui-header-size-massive) / var(--_ui-header-size-medium));--_ui-header-layout:text;--_ui-icon-owner-size:var(--_ui-header-icon-size);--_ui-icon-owner-margin:0 var(--_ui-header-icon-margin) 0 0;--_ui-icon-owner-align:middle;--_ui-icon-owner-display:inline-flex;box-sizing:border-box;margin:var(--_header-margin-top,calc(var(--_ui-header-margin-top) - var(--_ui-header-offset))) 0 var(--_header-margin-bottom,var(--_ui-header-margin-bottom));color:var(--ui-color-header,var(--_ui-header-color));font-family:var(--ui-font-family-heading);font-size:calc(var(--_header-base,1em * var(--_ui-header-size-medium)) * var(--ui-scale,1));font-weight:var(--_ui-font-weight,var(--_ui-header-font-weight));line-height:var(--_ui-header-line-height);text-transform:var(--_ui-font-case,none);border:none;padding:0;display:block}.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster){--ui-scale:1}.ui.header>slot{--ui-scale:initial}.ui.poster.header{font-size:clamp(var(--_ui-header-poster-min), var(--_ui-header-poster-grow), var(--_ui-header-poster-max));line-height:1}.ui.header:first-child{--_header-margin-top:calc(var(--_ui-header-offset) * -1)}.ui.header:last-child{--_header-margin-bottom:0}:host(:not(:first-child))>.ui.header{--_header-margin-top:initial}:host(:not(:last-child))>.ui.header{--_header-margin-bottom:initial}a.ui.header:hover{color:var(--ui-color-hover,var(--ui-link-hover))}h1.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h1))}h2.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h2))}h3.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h3))}h4.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h4))}h5.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h5))}h6.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h6))}.ui.header>img,.ui.header ::slotted(img){width:var(--_ui-header-image-width);height:auto;margin-top:calc(var(--_ui-header-offset) * -1);vertical-align:middle;margin-inline-end:var(--_ui-header-icon-margin);display:inline-block}.ui.header>.icon[part]{width:var(--_ui-header-icon-box-width);height:1em;font-size:var(--_ui-header-icon-size);vertical-align:middle;margin-inline-end:var(--_ui-header-icon-margin);display:inline-block}.ui.header>.icon[part] svg{fill:currentColor;width:auto;height:100%;margin-inline:auto;display:block}.ui.sub.header{--_header-base:calc(1em * var(--_ui-header-sub-heading-ratio));--_header-margin-bottom:.14285em;color:var(--ui-color-header,var(--_ui-header-sub-heading-color));text-transform:uppercase;padding:0}.ui.icon.header{--_ui-header-layout:icon;--_ui-icon-owner-size:var(--_ui-header-icon-header-size);--_ui-icon-owner-display:flex;--_ui-icon-owner-margin:0 auto var(--_ui-header-icon-header-margin);--_ui-icon-owner-align:baseline;margin-top:var(--_ui-header-margin-top);text-align:center;display:inline-block}.ui.icon.header>img,.ui.icon.header ::slotted(img){margin:0 auto var(--_ui-header-icon-header-margin);display:block}.ui.icon.header:first-child{margin-top:0}:host(:not(:first-child))>.ui.icon.header{margin-top:var(--_ui-header-margin-top)}.ui.icon.header:after{content:\"\";clear:both;visibility:hidden;height:0;display:block}}@layer ui.components.parts.content{:host(:state(in-header))>.content,.in-header.content{vertical-align:top;display:inline-block}:host(:state(in-header):not(:first-child))>.content,.in-header.content:not(:first-child){vertical-align:middle}:host(:state(in-header))>.header,.in-header.header{margin:var(--_ui-header-sub-margin,var(--ui-header-sub-margin,0));color:var(--_ui-header-sub-color,var(--ui-header-sub-color,var(--ui-text-muted)));font-size:var(--_ui-header-sub-font-size,var(--ui-header-sub-font-size,1em));font-weight:var(--ui-font-weight-normal);padding:0;line-height:1.2em;display:block}:host(:state(in-card))>.content,.in-card.content{padding:var(--ui-card-content-padding,1em);border:none;border-top:var(--ui-border-width) solid var(--ui-card-divider-color,var(--ui-border-color-internal));box-shadow:none;background:0 0;border-radius:0;flex-grow:1;margin:0;font-size:1em}:host(:state(in-card):first-child)>.content,.in-card.content:first-child{border-top:none}@container style(--_ui-card-leading:1){:host(:state(in-card):first-child)>.content{border-top:var(--ui-border-width) solid var(--ui-card-divider-color,var(--ui-border-color-internal))}}:host(:state(in-card))>.content:after,.in-card.content:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-card))>.header,.in-card.header{margin-top:calc((1 - var(--ui-line-height)) * .5em);color:var(--ui-card-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-card-header-font-size,1.28571em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);display:block}:host(:state(in-card))>a.header,a.in-card.header{text-decoration:none}:host(:state(in-card))>a.header:hover,a.in-card.header:hover{color:var(--ui-link-hover)}:host(:state(in-card))>.meta,.in-card.meta{color:var(--ui-card-meta-color,var(--ui-text-light));font-size:1em}:host(:state(in-card))>.meta>::slotted(*),.in-card.meta>*{margin-inline-end:var(--ui-card-meta-spacing,.3em)}:host(:state(in-card))>.meta>::slotted(:last-child),.in-card.meta>:last-child{margin-inline-end:0}:host(:state(in-card))>.meta>::slotted(a),.in-card.meta>a{color:var(--ui-text-light);text-decoration:none}:host(:state(in-card))>.meta>::slotted(a:hover),.in-card.meta>a:hover{color:var(--ui-text-color)}:host(:state(in-card))>.description,.in-card.description{clear:both;color:var(--ui-card-description-color,oklch(from var(--ui-ink) l c h / .68))}:host(:state(in-card):not(:first-child))>.description,.in-card.description:not(:first-child){margin-top:var(--ui-card-description-distance,.5em)}:host(:state(in-card))>.extra,.in-card.extra{width:auto;max-width:100%;min-height:0;padding:var(--ui-card-extra-padding,.75em 1em);border-top:var(--ui-border-width) solid var(--ui-card-extra-divider,oklch(from var(--ui-ink) l c h / .05));box-shadow:none;color:var(--ui-card-extra-color,var(--ui-text-light));transition:color var(--ui-duration-fast) var(--ui-ease);background:0 0;flex-grow:0;margin:0;position:static}:host(:state(in-card))>.extra>::slotted(a),.in-card.extra>a{color:var(--ui-text-unselected);text-decoration:none}:host(:state(in-card))>.extra>::slotted(a:hover),.in-card.extra>a:hover{color:var(--ui-link-hover)}:host(:state(in-card))>.avatar,.in-card.avatar{width:var(--ui-card-avatar-size,2em);height:var(--ui-card-avatar-size,2em);border-radius:var(--ui-radius-circle);vertical-align:middle;display:inline-block;overflow:hidden}:host(:state(in-item))>.content,.in-item.content{box-shadow:none;color:var(--ui-item-content-color,var(--ui-text-color));background:0 0;border:none;border-radius:0;flex:auto;margin:0;padding:0;font-size:1em;display:block}:host(:state(in-item))>.content:after,.in-item.content:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-item):not(:first-child))>.content,.in-item.content:not(:first-child){width:auto;min-width:0;align-self:start;padding-inline-start:var(--_ui-item-content-distance,1.5em)}:host(:state(in-item))>.header,.in-item.header{margin:calc((1 - var(--ui-line-height)) * .5em) 0 0;color:var(--ui-item-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-item-header-font-size,1.28571em);font-weight:var(--ui-font-weight-bold);display:inline-block}:host(:state(in-item))>a.header:hover,a.in-item.header:hover{color:var(--ui-link-hover)}:host(:state(in-item))>.description,.in-item.description{max-width:none;margin-top:var(--ui-item-description-distance,.6em);color:var(--ui-item-description-color,var(--ui-text-color));font-size:1em;line-height:var(--ui-line-height)}:host(:state(in-item))>.meta,.in-item.meta{color:var(--ui-item-meta-color,var(--ui-text-muted));margin:.5em 0;font-size:1em;line-height:1em}:host(:state(in-item))>.meta>::slotted(*),.in-item.meta>*{margin-inline-end:var(--ui-item-meta-spacing,.3em)}:host(:state(in-item))>.meta>::slotted(:last-child),.in-item.meta>:last-child{margin-inline-end:0}:host(:state(in-item))>.extra,.in-item.extra{width:100%;box-shadow:none;color:var(--ui-item-extra-color,var(--ui-text-light));transition:color var(--ui-duration-fast) var(--ui-ease);background:0 0;border-top:none;margin:.5em 0 0;padding:0;display:block;position:relative}:host(:state(in-item))>.extra>::slotted(*),.in-item.extra>*{margin:.25em .5em .25em 0}:host(:state(in-item))>.extra:after,.in-item.extra:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-item))>.avatar,.in-item.avatar{border-radius:var(--ui-radius-circle);display:inline-block;overflow:hidden}:host(:is(:state(in-card),:state(in-item)))>.description>::slotted(p),:is(.in-card,.in-item).description>p{margin:0 0 .5em}:host(:is(:state(in-card),:state(in-item)))>.description>::slotted(p:last-child),:is(.in-card,.in-item).description>p:last-child{margin-bottom:0}:host(:state(in-feed))>.content,.in-feed.content{text-align:start;overflow-wrap:break-word;flex:auto;align-self:stretch;display:block}:host(:state(in-feed):not(:first-child))>.content,.in-feed.content:not(:first-child){margin:.5em 0 .35714em 1.14285em}:host(:state(in-feed))>.summary,.in-feed.summary{color:var(--ui-feed-summary-color,var(--ui-text-color));font-size:1em;font-weight:var(--ui-font-weight-bold);margin:0}:host(:state(in-feed))>.date,.in-feed.date{color:var(--ui-feed-date-color,var(--ui-text-light));font-size:1em;font-style:normal;font-weight:var(--ui-font-weight-normal);margin:-.5em 0 0;padding:0}:host(:state(in-feed))>.author,.in-feed.author{font-weight:var(--ui-font-weight-bold);vertical-align:baseline;margin-inline-end:0;display:inline-block}:host(:state(in-feed))>a.author,a.in-feed.author{color:var(--ui-feed-author-color,var(--ui-link))}:host(:state(in-feed))>a.author:hover,a.in-feed.author:hover{color:var(--ui-link-hover)}:host(:state(in-feed))>.extra,.in-feed.extra{color:var(--ui-feed-extra-color,var(--ui-text-color));background:0 0;margin:.5em 0 0;padding:0}:host(:state(in-feed))>.extra.text,.in-feed.extra.text{max-width:var(--ui-feed-extra-text-width,500px);font-size:1em;line-height:var(--ui-line-height);border-inline-start:none;padding:0}:host(:state(in-feed))>.meta,.in-feed.meta{box-shadow:none;color:var(--ui-feed-meta-color,var(--ui-text-muted));background:0 0;border:none;border-radius:0;margin:.5em 0 0;padding:0;font-size:.85714em;display:inline-block}:host(:state(in-feed))>.meta>::slotted(*),.in-feed.meta>*{margin-inline-start:.75em;position:relative}:host(:state(in-feed))>.meta>::slotted(:first-child),.in-feed.meta>:first-child{margin-inline-start:0}:host(:state(in-feed))>.meta>::slotted(a),.in-feed.meta>a{color:var(--ui-feed-meta-action-color,var(--ui-text-light));cursor:var(--ui-control-cursor);transition:color var(--ui-duration-fast) var(--ui-ease)}:host(:state(in-feed))>.meta>::slotted(a:hover),.in-feed.meta>a:hover{color:var(--ui-text-selected)}:host(:state(in-comment))>.avatar,.in-comment.avatar{float:left;width:var(--ui-comment-avatar-width,2.5em);height:auto;margin:.2em 0 0;display:block}:host(:state(in-comment))>.avatar img,:host(:state(in-comment))>.avatar ::slotted(img),.in-comment.avatar img{border-radius:var(--ui-radius-s);margin:0 auto}:host(:state(in-comment))>.content,.in-comment.content{display:block}:host(:state(in-comment):not(:first-child))>.content,.in-comment.content:not(:first-child){margin-inline-start:var(--ui-comment-content-margin,3.5em)}:host(:state(in-comment))>.content:is(:hover,:focus-within),.in-comment.content:is(:hover,:focus-within){--_ui-comment-hover:1}:host(:state(in-comment))>.author,.in-comment.author{color:var(--ui-comment-author-color,var(--ui-text-color));font-size:1em;font-weight:var(--ui-font-weight-bold)}:host(:state(in-comment))>a.author:hover,a.in-comment.author:hover{color:var(--ui-link-hover)}:host(:state(in-comment))>.meta,.in-comment.meta{color:var(--ui-comment-meta-color,var(--ui-text-light));margin-inline-start:.5em;font-size:.875em;display:inline-block}:host(:state(in-comment))>.meta>::slotted(*),.in-comment.meta>*{margin:0 .5em 0 0;display:inline-block}:host(:state(in-comment))>.meta>::slotted(:last-child),.in-comment.meta>:last-child{margin-inline-end:0}:host(:state(in-comment))>.description,.in-comment.description{color:var(--ui-comment-text-color,var(--ui-text-color));overflow-wrap:break-word;margin:.25em 0 .5em;font-size:1em;line-height:1.3}:host(:state(in-comment))>.actions,.in-comment.actions{font-size:.875em}:host(:state(in-comment))>.actions>::slotted(:is(a,button)),.in-comment.actions>:is(a,button){color:var(--ui-comment-action-color,var(--ui-text-unselected));font:inherit;cursor:var(--ui-control-cursor);background:0 0;border:none;margin:0 .75em 0 0;padding:0;display:inline-block}:host(:state(in-comment))>.actions>::slotted(:is(a,button):last-child),.in-comment.actions>:is(a,button):last-child{margin-inline-end:0}:host(:state(in-comment))>.actions>::slotted(:is(a,button):is(:hover,.active)),.in-comment.actions>:is(a,button):is(:hover,.active){color:var(--ui-text-hovered)}:host(:state(in-modal))>.header,.in-modal.header{border-bottom:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-modal-header-background,var(--ui-surface));box-shadow:none;color:var(--_ui-modal-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--_ui-modal-header-size,1.42857em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);margin:0;padding:.875em 1.05em;display:block}:host(:state(in-modal))>.content,.in-modal.content{width:100%;padding:var(--ui-modal-content-padding,1.5em);background:var(--_ui-modal-content-background,var(--ui-surface));font-size:1em;line-height:1.4;display:block}:host(:state(in-modal))>.content.image,.in-modal.content.image{flex-direction:row;display:flex}:host(:state(in-modal))>.content.scrolling,.in-modal.content.scrolling{max-height:var(--ui-modal-scrolling-height,calc(80dvh - 10em));overscroll-behavior:none;overflow:auto}:host(:state(in-modal))>.description,.in-modal.description{flex:1 0 auto;align-self:start;min-width:0;display:block}:host(:state(in-modal):not(:first-child))>.description,.in-modal.description:not(:first-child){width:auto;min-width:auto;flex:auto;padding-inline-start:var(--ui-modal-description-distance,2em)}:host(:state(in-modal))>.actions,.in-modal.actions{padding:var(--ui-modal-actions-padding,1em);border-top:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-modal-actions-background,var(--ui-surface-muted));text-align:right}:host(:state(in-modal))>.actions>::slotted(*),.in-modal.actions>*{margin-inline-start:var(--ui-modal-button-distance,.75em)}:host(:state(in-modal):first-child)>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions):first-child{border-start-start-radius:var(--_ui-modal-radius,var(--ui-radius));border-start-end-radius:var(--_ui-modal-radius,var(--ui-radius))}:host(:state(in-modal):last-child)>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions):last-child{border-end-end-radius:var(--_ui-modal-radius,var(--ui-radius));border-end-start-radius:var(--_ui-modal-radius,var(--ui-radius))}@media (width<768px){:host(:state(in-modal))>.header,.in-modal.header{padding:.525em .7em}:host(:state(in-modal))>.content,.in-modal.content{padding:1em;display:block}:host(:state(in-modal))>.content.image,.in-modal.content.image{flex-direction:column}:host(:state(in-modal))>.description,.in-modal.description,:host(:state(in-modal):not(:first-child))>.description,.in-modal.description:not(:first-child){width:100%;margin:0;padding:1em 0;display:block}:host(:state(in-modal))>.actions,.in-modal.actions{padding:1em 1em 0}:host(:state(in-modal))>.actions>::slotted(*),.in-modal.actions>*{margin-bottom:1em}}:host(:state(in-flyout))>.header,.in-flyout.header{border-bottom:var(--ui-border-width) solid var(--ui-border-color);background:var(--ui-flyout-header-background,var(--_ui-flyout-background,var(--ui-surface)));color:var(--_ui-flyout-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-flyout-header-size,1.28571em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);margin:0;padding:1.25em 1.5em;display:block}:host(:state(in-flyout))>.content,.in-flyout.content{box-sizing:border-box;width:100%;padding:var(--ui-flyout-content-padding,1.5em);background:var(--ui-flyout-content-background,var(--_ui-flyout-background,var(--ui-surface)));flex:1 0 auto;font-size:1em;line-height:1.4;display:block}:host(:state(in-flyout))>.actions,.in-flyout.actions{padding:var(--ui-flyout-actions-padding,1em);border-top:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-flyout-actions-background,var(--ui-surface-muted));text-align:right;flex:none}:host(:state(in-flyout))>.actions>::slotted(*),.in-flyout.actions>*{margin-inline-start:var(--ui-flyout-button-distance,.75em)}:host(:state(in-message))>.header,.in-message.header{margin:calc((1 - var(--ui-line-height-heading)) * .5em) 0 0;color:var(--ui-color-header,inherit);font-family:var(--ui-font-family-heading);font-size:var(--_ui-message-header-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);display:block}:host(:state(in-list))>.content,.in-list.content{color:var(--_ui-list-content-color,var(--ui-text-color));line-height:1.14285em}:host(:state(in-list):not(:first-child))>.content,.in-list.content:not(:first-child){width:100%;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:table-cell}img.image+.in-list.content{width:auto;display:inline-block}:host(:state(in-list))>.header,.in-list.header{color:var(--_ui-list-header-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);font-weight:var(--ui-font-weight-bold);margin:0;display:block}:host(:state(in-list))>a.header,a.in-list.header{color:var(--ui-link);cursor:var(--ui-control-cursor)}:host(:state(in-list))>a.header:hover,a.in-list.header:hover{color:var(--ui-link-hover)}:host(:state(in-list))>.description,.in-list.description{color:var(--_ui-list-description-color,oklch(from var(--ui-ink) l c h / .7));display:block}:host(:state(in-menu))>.header,.in-menu.header{font-size:1em;font-weight:var(--ui-font-weight-bold);margin:0 0 .5em;display:block}:host(:state(in-statistic))>.value,.in-statistic.value{color:var(--ui-color,var(--ui-statistic-value-color,var(--ui-ink)));font-family:var(--ui-font-family);font-size:var(--_ui-statistic-value-size,calc(var(--ui-font-size) * 4));font-weight:var(--ui-font-weight-normal);text-align:center;text-transform:uppercase;line-height:1em}:host(:state(in-statistic))>.value.text,.in-statistic.value.text{min-height:2em;font-size:var(--_ui-statistic-text-value-size,calc(var(--ui-font-size) * 2));font-weight:var(--ui-font-weight-bold);line-height:1em}:host(:state(in-statistic))>.label,.in-statistic.label{color:var(--ui-statistic-label-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);font-size:1em;font-weight:var(--ui-font-weight-bold);text-align:center;text-transform:uppercase;margin:0;padding:0;display:block}:host(:state(in-statistic))>.value ::slotted(img),.in-statistic.value img{max-height:calc(var(--ui-font-size) * 3);vertical-align:baseline}:host(:state(in-statistic))>.value,.in-statistic.value{--_ui-icon-owner-margin:0;--_ui-icon-owner-opacity:1}:host(:state(in-step))>.content,.in-step.content{margin:var(--_ui-step-content-margin,0);padding:var(--_ui-step-content-padding,0);flex:0 auto;align-self:center;display:block}:host(:state(in-step))>.title,.in-step.title{width:100%;font-family:var(--ui-font-family-heading);font-size:var(--ui-step-title-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);line-height:1.14285em}:host(:state(in-step))>.description,.in-step.description{width:100%;color:var(--ui-step-description-color,var(--ui-text-color));font-size:var(--ui-step-description-font-size,.92857em);font-weight:var(--ui-font-weight-normal);line-height:1.14285em}:host(:state(in-step):not(:first-child))>.description,.in-step.description:not(:first-child){margin-top:var(--_ui-step-description-distance,.25em)}:host(:state(in-accordion))>.title,.in-accordion.title{padding:var(--_ui-accordion-title-padding,.5em 0);color:var(--_ui-accordion-title-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);cursor:var(--ui-control-cursor);font-size:1em;line-height:1;list-style:none}:host(:state(in-accordion))>.content,.in-accordion.content{padding:var(--_ui-accordion-content-padding,.5em 0 1em)}:host(:state(in-accordion):last-child)>.content,.in-accordion.content:last-child{padding-bottom:0}:host(:state(in-popup))>.header,.in-popup.header{font-family:var(--ui-font-family-heading);font-size:var(--_ui-popup-header-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);padding:0;line-height:1.2}:host(:state(in-popup):not(:first-child))>.content,.in-popup.content:not(:first-child){padding-top:var(--_ui-popup-header-distance,.5em)}:host(:state(in-toast))>.header,.in-toast.header{color:inherit;font-weight:var(--ui-font-weight-bold);margin:0}:host(:state(in-toast))>.actions,.in-toast.actions{border-top:var(--ui-border-width) solid var(--ui-toast-actions-border,oklch(from var(--ui-shadow-ink) l c h / .2));background:var(--ui-toast-actions-background,oklch(from var(--ui-ink-on-dark) l c h / .25));text-align:right;margin:.5em -1em -1em;padding:.5em .5em .75em}:host(:state(in-search))>.title,.in-search.title{margin:calc((1 - var(--ui-line-height-heading)) * .5em) 0 0;color:var(--_ui-search-title-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:1em;font-weight:var(--ui-font-weight-bold)}:host(:state(in-search))>.description,.in-search.description{color:var(--_ui-search-description-color,var(--ui-text-light));margin-top:0;font-size:.92857em}:host(:state(in-search))>.value,.in-search.value{float:right;color:var(--_ui-search-price-color,var(--ui-green-text))}:host(:state(in-label))>.detail,.in-label.detail{--_ui-icon-owner-margin:0 .25em 0 0;font-weight:var(--_ui-label-detail-weight,var(--ui-font-weight-bold));opacity:var(--_ui-label-detail-opacity,1);vertical-align:top;margin-inline-start:var(--_ui-label-detail-distance,1em);display:inline-block}}@layer ui.components.parts.variations{.ui.dividing.header{padding-bottom:var(--_ui-header-dividing-padding);border-bottom:var(--_ui-header-dividing-border);border-bottom-color:var(--ui-color,var(--ui-border-color));box-shadow:inset 0 calc(var(--ui-border-width) - var(--_ui-header-colored-border-width)) 0 0 var(--ui-color,transparent)}.ui.block.header{padding:var(--_ui-header-block-padding);border:var(--_ui-header-block-border);border-radius:var(--ui-radius);background:var(--_ui-header-block-background);box-shadow:none}.ui.block.header:not(h1,h2,h3,h4,h5,h6){--_header-base:var(--ui-font-size)}.ui.attached.header{margin:0 calc(var(--ui-border-width) * -1);padding:var(--_ui-header-block-padding);border:var(--_ui-header-block-border);background:var(--_ui-header-attached-background);box-shadow:none;border-radius:0}.ui.attached.block.header{background:var(--_ui-header-block-background)}.ui.attached:not(.top).header{border-top:none}.ui[class*=top\\ attached].header{border-radius:var(--ui-radius) var(--ui-radius) 0 0}.ui[class*=bottom\\ attached].header{border-radius:0 0 var(--ui-radius) var(--ui-radius)}.ui.seamless.attached:not(.bottom).header{border-bottom:none}.ui.attached.header:not(h1,h2,h3,h4,h5,h6){--_header-base:1em}.ui.inverted.header{--ui-inverted:1;--ui-scheme:dark;color-scheme:dark}.ui[class*=left\\ aligned].header{text-align:left}.ui[class*=right\\ aligned].header{text-align:right}.ui:is(.centered,[class*=center\\ aligned]).header{text-align:center}.ui.justified.header{text-align:justify}.ui.justified.header:after{content:\"\";width:100%;display:inline-block}.ui.icon.header:is(.centered,[class*=aligned],.justified){margin-inline:auto;display:block}.ui:is(.floated,[class*=left\\ floated]).header{float:left;margin-top:0;margin-inline-end:var(--_ui-header-floated-margin)}.ui[class*=right\\ floated].header{float:right;margin-top:0;margin-inline-start:var(--_ui-header-floated-margin)}.ui.fitted.header{padding:0}@container style(--_ui-header-layout:icon){:host(:state(in-header))>.content,.in-header.content{padding:0;display:block}}@container style(--_ui-card-layout:horizontal){:host(:state(in-card))>.content,.in-card.content{border-top:none;flex-basis:1px}:host(:state(in-card))>.extra,.in-card.extra{flex-basis:100%}}@container style(--_ui-item-media:1){:host(:state(in-item))>.content{width:auto;min-width:0;align-self:start;padding-inline-start:var(--_ui-item-content-distance,1.5em)}}@container style(--_ui-item-layout:stacked){:host(:state(in-item):not(:first-child))>.content,.in-item.content:not(:first-child){padding:var(--ui-item-content-distance-mobile,1.5em) 0 0;display:block}}@container style(--_ui-item-layout:stacked) and style(--_ui-item-media:1){:host(:state(in-item))>.content{padding:var(--ui-item-content-distance-mobile,1.5em) 0 0;display:block}}@container style(--_ui-item-state:hover){:host(:state(in-item))>.header,.in-item.header{color:var(--ui-link-hover)}}@container style(--ui-inverted:1){:host(:state(in-card))>a.header,a.in-card.header,:host(:state(in-item))>a.header,a.in-item.header,:host(:state(in-list))>a.header,a.in-list.header{color:var(--ui-text-inverted-color)}:host(:state(in-statistic))>.value,.in-statistic.value{color:var(--ui-color,var(--ui-ink-on-dark))}}@container style(--_ui-comments-minimal:1){:host(:state(in-comment))>.actions,.in-comment.actions{opacity:0;transition:opacity var(--ui-duration-normal) var(--ui-ease) .1s;position:absolute;top:0;left:auto;right:0}}@container style(--_ui-comments-minimal:1) and style(--_ui-comment-hover:1){:host(:state(in-comment))>.actions,.in-comment.actions{opacity:1}}@container style(--_ui-modal-basic:1){:host(:state(in-modal))>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions){background-color:#0000;border:none}:host(:state(in-modal))>.header,.in-modal.header{color:var(--ui-ink-on-dark)}}@container style(--_ui-message-layout:icon){:host(:state(in-message))>.content,.in-message.content{vertical-align:middle;flex:auto;padding-inline-start:0;display:block}}@container style(--_ui-event-label:1){:host(:state(in-feed))>.content{margin:.5em 0 .35714em 1.14285em}}.content[class*=left\\ floated]{float:left}.content[class*=right\\ floated]{float:right}.content[class*=left\\ aligned]{text-align:left}.content[class*=center\\ aligned]{text-align:center}.content[class*=right\\ aligned]{text-align:right}.content.justified{text-align:justify}:host(:state(in-item))>.content[class*=top\\ aligned],.in-item.content[class*=top\\ aligned]{align-self:flex-start}:host(:state(in-item))>.content[class*=middle\\ aligned],.in-item.content[class*=middle\\ aligned]{align-self:center}:host(:state(in-item))>.content[class*=bottom\\ aligned],.in-item.content[class*=bottom\\ aligned]{align-self:flex-end}:host(:state(in-list))>.content[class*=top\\ aligned],.in-list.content[class*=top\\ aligned]{vertical-align:top}:host(:state(in-list))>.content[class*=middle\\ aligned],.in-list.content[class*=middle\\ aligned]{vertical-align:middle}:host(:state(in-list))>.content[class*=bottom\\ aligned],.in-list.content[class*=bottom\\ aligned]{vertical-align:bottom}@container style(--_ui-item-media:1){:host(:state(in-list))>.content{width:100%;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:table-cell}}@container style(--_ui-item-media:image){:host(:state(in-list))>.content{width:auto;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:inline-block}}@container style(--_ui-list-layout:horizontal){:host(:state(in-list))>.content,.in-list.content,:host(:state(in-list):not(:first-child))>.content,.in-list.content:not(:first-child){width:auto;vertical-align:var(--_ui-list-align,middle);display:inline-block}}@container style(--_ui-statistic-layout:horizontal){:host(:state(in-statistic))>.value,.in-statistic.value{font-size:var(--_ui-statistic-value-size,calc(var(--ui-font-size) * 3));vertical-align:middle;display:inline-block}:host(:state(in-statistic))>.value.text,.in-statistic.value.text{min-height:0}:host(:state(in-statistic))>.label,.in-statistic.label{vertical-align:middle;margin:0 0 0 .75em;display:inline-block}}@container style(--_ui-step-layout:stacked){:host(:state(in-step))>.content,.in-step.content{text-align:center}}@container style(--_ui-accordion-style:styled){:host(:state(in-accordion))>.title,.in-accordion.title{border-top:var(--ui-border-width) solid var(--ui-border-color);color:var(--ui-text-unselected);font-weight:var(--ui-font-weight-bold);transition:background var(--ui-duration-fast) var(--ui-ease), color var(--ui-duration-fast) var(--ui-ease);margin:0;padding:.75em 1em}:host(:state(in-accordion):first-child)>.title,.in-accordion.title:first-child{border-top:none}:host(:state(in-accordion))>.content,.in-accordion.content{margin:0;padding:.5em 1em 1.5em}}@container style(--_ui-label-layout:image){:host(:state(in-label))>.detail,.in-label.detail{border-radius:0 var(--ui-radius) var(--ui-radius) 0;background:var(--_ui-label-detail-background,var(--ui-label-detail-background,oklch(from var(--ui-shadow-ink) l c h / .1)));opacity:1;margin:-.5833em -.833em -.5833em .5em;padding:.5833em .833em}}@container style(--_ui-part:summary){:host(:state(in-feed))>.date,.in-feed.date{color:var(--ui-feed-date-color,var(--ui-text-light));font-size:.85714em;font-style:normal;font-weight:var(--ui-font-weight-normal);margin:0 0 0 .5em;padding:0;display:inline-block}}}@layer ui.components.parts.states{.ui.disabled.header{opacity:var(--_ui-header-disabled-opacity)}@container style(--_ui-step-state:active){:host(:state(in-step))>.title,.in-step.title{color:var(--_ui-step-active-title-color,var(--ui-link))}}@container style(--_ui-step-state:disabled){:host(:state(in-step))>:is(.title,.description),.in-step:is(.title,.description){color:var(--ui-text-disabled)}}@container style(--_ui-accordion-style:styled){:host(:state(in-accordion))>.title:hover,.in-accordion.title:hover{color:var(--ui-text-color)}}@container style(--_ui-accordion-style:styled) and style(--_ui-accordion-open:1){:host(:state(in-accordion))>.title,.in-accordion.title{color:var(--ui-text-selected)}}@container style(--_ui-search-result:active){:host(:state(in-search))>:is(.title,.description),.in-search:is(.title,.description){color:var(--ui-text-dark)}}}", No = /* @__PURE__ */ pe("<slot>"), Po, Fo, Io, q = class _PartComponent extends (Fo = Yt, Po = [protoMerged], Fo) {
|
|
4391
4473
|
constructor() {
|
|
4392
4474
|
super(...arguments), __publicField(this, "context", new D({
|
|
4393
4475
|
domElement: this.domElement,
|
|
@@ -4418,6 +4500,9 @@ var co = q, lo = "loading", uo = "placeholder", fo = class StickyWatch {
|
|
|
4418
4500
|
get tabindex() {
|
|
4419
4501
|
return e.rootTabIndex;
|
|
4420
4502
|
},
|
|
4503
|
+
get "aria-label"() {
|
|
4504
|
+
return e.rootLabel;
|
|
4505
|
+
},
|
|
4421
4506
|
get children() {
|
|
4422
4507
|
return e.content();
|
|
4423
4508
|
}
|
|
@@ -4428,23 +4513,24 @@ var co = q, lo = "loading", uo = "placeholder", fo = class StickyWatch {
|
|
|
4428
4513
|
}
|
|
4429
4514
|
get rootDatetime() {}
|
|
4430
4515
|
get rootTabIndex() {}
|
|
4516
|
+
get rootLabel() {}
|
|
4431
4517
|
content() {
|
|
4432
|
-
var e =
|
|
4518
|
+
var e = No();
|
|
4433
4519
|
return e._$owner = se(), e;
|
|
4434
4520
|
}
|
|
4435
4521
|
};
|
|
4436
|
-
|
|
4437
|
-
styleSheets: { parts:
|
|
4522
|
+
Io = __decoratorStart(Fo), __decorateElement(Io, 13, "elementSetup", Po, q), __decoratorMetadata(Io, q), __name(q, "PartComponent"), __publicField(q, "elementSetup", __runInitializers(Io, 8, q, {
|
|
4523
|
+
styleSheets: { parts: Mo },
|
|
4438
4524
|
isAPart: !0
|
|
4439
|
-
})), __runInitializers(
|
|
4440
|
-
var
|
|
4441
|
-
|
|
4442
|
-
var
|
|
4525
|
+
})), __runInitializers(Io, 11, q);
|
|
4526
|
+
var Lo = q, Ro, zo = [state], J, Bo;
|
|
4527
|
+
Ro = [derived];
|
|
4528
|
+
var Y = class _IconGlyph {
|
|
4443
4529
|
constructor({ owner: e, name: t }) {
|
|
4444
|
-
__runInitializers(
|
|
4530
|
+
__runInitializers(J, 5, this), __privateAdd(this, Bo, __runInitializers(J, 8, this)), __runInitializers(J, 11, this), __publicField(this, "owner"), __publicField(this, "name"), __publicField(this, "request", 0), this.owner = e, this.name = t, h || (this.svgTemplate = p(() => _IconGlyph.peek(e.domElement, t())), i(() => ({
|
|
4445
4531
|
name: t(),
|
|
4446
4532
|
connected: e.isConnected,
|
|
4447
|
-
generation:
|
|
4533
|
+
generation: qa.generation
|
|
4448
4534
|
}), ({ name: e, connected: t }) => {
|
|
4449
4535
|
(t || !this.request) && this.load(e);
|
|
4450
4536
|
}));
|
|
@@ -4455,35 +4541,35 @@ var No = class _IconGlyph {
|
|
|
4455
4541
|
return e ? _IconGlyph.draw(e) : void 0;
|
|
4456
4542
|
}
|
|
4457
4543
|
async load(e) {
|
|
4458
|
-
let t = ++this.request, n = e ? await
|
|
4544
|
+
let t = ++this.request, n = e ? await B.load().then((t) => _IconGlyph.packsFor(this.owner.domElement, t.icons).get(e)).catch(() => void 0) : void 0;
|
|
4459
4545
|
this.request === t && (this.svgTemplate = n);
|
|
4460
4546
|
}
|
|
4461
4547
|
static packsFor(e, t) {
|
|
4462
|
-
return
|
|
4548
|
+
return qa.nearest(e, "icons") ?? t;
|
|
4463
4549
|
}
|
|
4464
4550
|
static draw(e) {
|
|
4465
4551
|
let t = e.cloneNode(!0);
|
|
4466
4552
|
return t.setAttribute("aria-hidden", "true"), t;
|
|
4467
4553
|
}
|
|
4468
4554
|
static serverSvg(e, t) {
|
|
4469
|
-
let n = globalThis[
|
|
4555
|
+
let n = globalThis[R]?.icons;
|
|
4470
4556
|
if (!t || !n || !_IconGlyph.serverMarkup) return;
|
|
4471
4557
|
let r = _IconGlyph.serverMarkup(_IconGlyph.packsFor(e, n), t);
|
|
4472
|
-
if (r) return fe([r.replace(
|
|
4558
|
+
if (r) return fe([r.replace(Ho, "<svg aria-hidden=\"true\"")]);
|
|
4473
4559
|
}
|
|
4474
4560
|
static peek(e, t) {
|
|
4475
|
-
let n = globalThis[
|
|
4561
|
+
let n = globalThis[R]?.icons;
|
|
4476
4562
|
return t && n ? _IconGlyph.packsFor(e, n).peek(t) : void 0;
|
|
4477
4563
|
}
|
|
4478
4564
|
};
|
|
4479
|
-
|
|
4480
|
-
var
|
|
4565
|
+
J = __decoratorStart(null), Bo = /* @__PURE__ */ new WeakMap(), __decorateElement(J, 4, "svgTemplate", zo, Y, Bo), __decorateElement(J, 2, "svg", Ro, Y), __decoratorMetadata(J, Y), __name(Y, "IconGlyph"), __publicField(Y, "serverMarkup");
|
|
4566
|
+
var Vo = Y, Ho = /<svg\b/, Uo = /* @__PURE__ */ pe("<button type=button>"), CloseButton = class {
|
|
4481
4567
|
props;
|
|
4482
4568
|
glyph;
|
|
4483
4569
|
constructor(e) {
|
|
4484
|
-
this.props = e, this.glyph = new
|
|
4570
|
+
this.props = e, this.glyph = new Vo({
|
|
4485
4571
|
owner: e.owner,
|
|
4486
|
-
name: () => e.shows() ?
|
|
4572
|
+
name: () => e.shows() ? Ri : void 0
|
|
4487
4573
|
});
|
|
4488
4574
|
}
|
|
4489
4575
|
draw() {
|
|
@@ -4493,9 +4579,9 @@ var Po = No, Fo = /<svg\b/, Io = /* @__PURE__ */ pe("<button type=button>"), Clo
|
|
|
4493
4579
|
return e();
|
|
4494
4580
|
},
|
|
4495
4581
|
get children() {
|
|
4496
|
-
var e =
|
|
4582
|
+
var e = Uo();
|
|
4497
4583
|
return ne(e, "click", i, !0), de(e, "part", n), ce(e, () => a.glyph.svg), ae(() => ({
|
|
4498
|
-
e: le(
|
|
4584
|
+
e: le(Li),
|
|
4499
4585
|
t: t()
|
|
4500
4586
|
}), ({ e: t, t: n }, r) => {
|
|
4501
4587
|
re(e, t, r?.e), n !== r?.t && de(e, "aria-label", n);
|
|
@@ -4505,18 +4591,17 @@ var Po = No, Fo = /<svg\b/, Io = /* @__PURE__ */ pe("<button type=button>"), Clo
|
|
|
4505
4591
|
}
|
|
4506
4592
|
};
|
|
4507
4593
|
ie(["click"]);
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
__privateAdd(this, zo, __runInitializers(Ro, 8, this, !1)), __runInitializers(Ro, 11, this), __publicField(this, "seconds"), __publicField(this, "copiedTimer"), this.seconds = e;
|
|
4594
|
+
// src/elements/ClipboardCopy.ts
|
|
4595
|
+
var Wo = [state], Go, Ko, qo = class _ClipboardCopy {
|
|
4596
|
+
constructor({ seconds: e = Yo } = {}) {
|
|
4597
|
+
__privateAdd(this, Ko, __runInitializers(Go, 8, this, !1)), __runInitializers(Go, 11, this), __publicField(this, "seconds"), __publicField(this, "copiedTimer"), this.seconds = e;
|
|
4513
4598
|
}
|
|
4514
4599
|
async copy(e) {
|
|
4515
4600
|
return await copyText(e) ? (this.isCopied = !0, this.copiedTimer?.cancel(), this.copiedTimer = after(this.seconds, () => this.isCopied = !1), !0) : !1;
|
|
4516
4601
|
}
|
|
4517
4602
|
};
|
|
4518
|
-
|
|
4519
|
-
var
|
|
4603
|
+
Go = __decoratorStart(null), Ko = /* @__PURE__ */ new WeakMap(), __decorateElement(Go, 4, "isCopied", Wo, qo, Ko), __decoratorMetadata(Go, qo), __name(qo, "ClipboardCopy");
|
|
4604
|
+
var Jo = qo, Yo = 2, Xo = class AddressParameter {
|
|
4520
4605
|
constructor(e) {
|
|
4521
4606
|
this.props = e;
|
|
4522
4607
|
}
|
|
@@ -4526,7 +4611,7 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4526
4611
|
startingText;
|
|
4527
4612
|
follow(e) {
|
|
4528
4613
|
if (!e) return;
|
|
4529
|
-
let t = new AbortController(), onNavigate = (t) => this.showAddress(e, t), n = "hash" in e ?
|
|
4614
|
+
let t = new AbortController(), onNavigate = (t) => this.showAddress(e, t), n = "hash" in e ? Qo : Zo;
|
|
4530
4615
|
for (let e of n) this.view.addEventListener(e, onNavigate, { signal: t.signal });
|
|
4531
4616
|
let r = soon(() => {
|
|
4532
4617
|
this.showAddress(e), this.hasOpened = !0;
|
|
@@ -4570,27 +4655,31 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4570
4655
|
let r = new URL(e.href);
|
|
4571
4656
|
return "hash" in t ? r.hash = n ? encodeURIComponent(n) : "" : n ? r.searchParams.set(t.parameter, n) : r.searchParams.delete(t.parameter), r.href;
|
|
4572
4657
|
}
|
|
4573
|
-
},
|
|
4658
|
+
}, Zo = ["popstate"], Qo = ["hashchange", "popstate"], PopoverPanel = class extends Tn {
|
|
4574
4659
|
panelSetup;
|
|
4575
4660
|
constructor(e) {
|
|
4576
4661
|
super(e), this.panelSetup = e;
|
|
4577
4662
|
}
|
|
4578
4663
|
get overlay() {
|
|
4579
|
-
let { component: e, restoreFocus: t, onDismiss: n } = this.panelSetup;
|
|
4664
|
+
let { component: e, restoreFocus: t, onDismiss: n, pool: r, alsoInside: i } = this.panelSetup;
|
|
4580
4665
|
return this.overlayEntry ??= {
|
|
4581
4666
|
element: e.domElement,
|
|
4582
4667
|
kind: "popover",
|
|
4668
|
+
pool: r,
|
|
4583
4669
|
restoreFocus: t,
|
|
4670
|
+
get anchor() {
|
|
4671
|
+
return i?.();
|
|
4672
|
+
},
|
|
4584
4673
|
onDismiss: n ?? (() => void this.close())
|
|
4585
4674
|
};
|
|
4586
4675
|
}
|
|
4587
4676
|
overlayEntry;
|
|
4588
|
-
follow(e, t) {
|
|
4677
|
+
follow(e, t, n) {
|
|
4589
4678
|
if (!t || !e || !e.popover) return;
|
|
4590
|
-
e.matches(
|
|
4591
|
-
let { overlay:
|
|
4592
|
-
return
|
|
4593
|
-
e.matches(
|
|
4679
|
+
e.matches($o) || e.showPopover(n ? { source: n } : void 0);
|
|
4680
|
+
let { overlay: r } = this;
|
|
4681
|
+
return B.overlays.open(r), () => {
|
|
4682
|
+
e.matches($o) && e.hidePopover(), B.overlays.close(r);
|
|
4594
4683
|
};
|
|
4595
4684
|
}
|
|
4596
4685
|
get anchorStyle() {
|
|
@@ -4600,10 +4689,10 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4600
4689
|
return { "position-anchor": this.anchorName };
|
|
4601
4690
|
}
|
|
4602
4691
|
get anchorName() {
|
|
4603
|
-
return this.anchorId ??= `--${
|
|
4692
|
+
return this.anchorId ??= `--${B.ids.next(this.panelSetup.component.vocabulary.tag)}`;
|
|
4604
4693
|
}
|
|
4605
4694
|
anchorId;
|
|
4606
|
-
},
|
|
4695
|
+
}, $o = ":popover-open", es = class DOMLoadableElement extends w {
|
|
4607
4696
|
get content() {
|
|
4608
4697
|
return this.component?.content ?? this.pendingContent ?? "";
|
|
4609
4698
|
}
|
|
@@ -4651,13 +4740,13 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4651
4740
|
reject: t
|
|
4652
4741
|
};
|
|
4653
4742
|
}
|
|
4654
|
-
},
|
|
4743
|
+
}, ts, ns, rs, is, as, os, ss, cs, ls, us, ds, fs, ps, ms, hs, gs, _s, vs, ys, bs, X, xs, Ss, Cs, ws, Ts, Es, Z = class _LoadableComponent extends (bs = Yt, ys = [protoMerged], vs = [proto], _s = [watches({
|
|
4655
4744
|
childList: !0,
|
|
4656
4745
|
characterData: !0,
|
|
4657
4746
|
subtree: !0
|
|
4658
|
-
})],
|
|
4747
|
+
})], gs = [state], hs = [state], ms = [onChange("inlineText", { defer: !0 })], ps = [state], fs = [cssState("loading")], ds = [onChange("source", "loadingPolicy", "isConnected")], us = [untracked], ls = [untracked], cs = [state], ss = [cssState("error")], os = [untracked], as = [cssState("saving"), state], is = [cssState("dirty"), state], rs = [untracked], ns = [lazy], ts = [lazy], bs) {
|
|
4659
4748
|
constructor() {
|
|
4660
|
-
super(...arguments), __runInitializers(X, 5, this), __privateAdd(this,
|
|
4749
|
+
super(...arguments), __runInitializers(X, 5, this), __privateAdd(this, xs, __runInitializers(X, 8, this)), __runInitializers(X, 11, this), __privateAdd(this, Ss, __runInitializers(X, 12, this, this.domElement.takePendingContent())), __runInitializers(X, 15, this), __privateAdd(this, Cs, __runInitializers(X, 16, this, U.idle)), __runInitializers(X, 19, this), __publicField(this, "contentSource"), __publicField(this, "fetchedSource"), __publicField(this, "isFresh", !1), __publicField(this, "stopLoading"), __privateAdd(this, ws, __runInitializers(X, 20, this)), __runInitializers(X, 23, this), __privateAdd(this, Ts, __runInitializers(X, 24, this, !1)), __runInitializers(X, 27, this), __privateAdd(this, Es, __runInitializers(X, 28, this, this.wasEdited !== void 0)), __runInitializers(X, 31, this), __publicField(this, "lastETag");
|
|
4661
4750
|
}
|
|
4662
4751
|
get inlineText() {
|
|
4663
4752
|
return h || !this.wantsInlineContent ? "" : _LoadableComponent.inlineTextOf(this.domElement);
|
|
@@ -4670,13 +4759,13 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4670
4759
|
return p(() => this.textToShow);
|
|
4671
4760
|
}
|
|
4672
4761
|
set content(e) {
|
|
4673
|
-
e !== this.content && (this.wasEdited = e, this.isDirty = !0, this.sendSourceEvent(
|
|
4762
|
+
e !== this.content && (this.wasEdited = e, this.isDirty = !0, this.sendSourceEvent(W.change, { content: e }));
|
|
4674
4763
|
}
|
|
4675
4764
|
onInlineTextChanged() {
|
|
4676
4765
|
this.wasEdited !== void 0 && !this.isDirty && !this.source && (this.wasEdited = void 0);
|
|
4677
4766
|
}
|
|
4678
4767
|
get isLoading() {
|
|
4679
|
-
return this.loadStatus ===
|
|
4768
|
+
return this.loadStatus === U.loading;
|
|
4680
4769
|
}
|
|
4681
4770
|
get loadingPolicy() {
|
|
4682
4771
|
return this.load ?? "eager";
|
|
@@ -4689,7 +4778,7 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4689
4778
|
scheduleLoad(e, t) {
|
|
4690
4779
|
let n = this.domElement;
|
|
4691
4780
|
if (e !== this.contentSource && (this.contentSource = e, this.dropEdits(), n.beginLoad()), !e) {
|
|
4692
|
-
this.loadStatus =
|
|
4781
|
+
this.loadStatus = U.loaded, this.loadError = void 0, afterSolidUpdate(() => this.onLoaded(this.textToShow));
|
|
4693
4782
|
return;
|
|
4694
4783
|
}
|
|
4695
4784
|
if (e === this.fetchedSource && !this.isFresh) return;
|
|
@@ -4702,14 +4791,14 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4702
4791
|
let r = new AbortController(), i, a = /* @__PURE__ */ __name(() => {
|
|
4703
4792
|
i?.(), i = void 0, this.fetchSource(e, r.signal);
|
|
4704
4793
|
}, "start");
|
|
4705
|
-
if (t === "visible")
|
|
4706
|
-
r.signal.aborted || (i =
|
|
4794
|
+
if (t === "visible") B.load().then(() => {
|
|
4795
|
+
r.signal.aborted || (i = B.visibility.observe(this.domElement, {
|
|
4707
4796
|
onOnScreen: a,
|
|
4708
4797
|
once: !0
|
|
4709
4798
|
}));
|
|
4710
4799
|
});
|
|
4711
4800
|
else if (t === "idle" && typeof requestIdleCallback == "function") {
|
|
4712
|
-
let e = requestIdleCallback(a, { timeout:
|
|
4801
|
+
let e = requestIdleCallback(a, { timeout: Os });
|
|
4713
4802
|
i = /* @__PURE__ */ __name(() => cancelIdleCallback(e), "undo");
|
|
4714
4803
|
} else a();
|
|
4715
4804
|
return () => {
|
|
@@ -4717,15 +4806,15 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4717
4806
|
};
|
|
4718
4807
|
}
|
|
4719
4808
|
async fetchSource(e, t) {
|
|
4720
|
-
this.loadStatus =
|
|
4809
|
+
this.loadStatus = U.loading, this.loadError = void 0;
|
|
4721
4810
|
let n = this.isFresh;
|
|
4722
4811
|
this.isFresh = !1;
|
|
4723
4812
|
try {
|
|
4724
|
-
let r = await (await
|
|
4813
|
+
let r = await (await B.load()).sources.load(e, {
|
|
4725
4814
|
signal: t,
|
|
4726
4815
|
fresh: n
|
|
4727
4816
|
});
|
|
4728
|
-
this.fetchedSource = e, this.fetchedText = r.text, this.lastETag = r.etag, this.loadStatus =
|
|
4817
|
+
this.fetchedSource = e, this.fetchedText = r.text, this.lastETag = r.etag, this.loadStatus = U.loaded, this.onLoaded(r.text);
|
|
4729
4818
|
} catch (e) {
|
|
4730
4819
|
if (t.aborted) return;
|
|
4731
4820
|
this.onLoadError(e);
|
|
@@ -4733,29 +4822,29 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4733
4822
|
}
|
|
4734
4823
|
onLoaded(e) {
|
|
4735
4824
|
let t = this.wasEdited ?? e;
|
|
4736
|
-
this.domElement.endLoad(t), this.sendSourceEvent(
|
|
4825
|
+
this.domElement.endLoad(t), this.sendSourceEvent(W.load, {
|
|
4737
4826
|
source: this.source || void 0,
|
|
4738
4827
|
content: t
|
|
4739
4828
|
});
|
|
4740
4829
|
}
|
|
4741
4830
|
reload() {
|
|
4742
4831
|
let e = this.domElement, t = this.source || void 0;
|
|
4743
|
-
return this.dropEdits(), t
|
|
4832
|
+
return this.dropEdits(), t && (this.stopLoading?.(), e.beginLoad(), this.isFresh = !0, this.fetchedSource = void 0, this.stopLoading = this.scheduleLoad(t, "eager")), e.loaded;
|
|
4744
4833
|
}
|
|
4745
4834
|
get hasError() {
|
|
4746
|
-
return this.loadStatus ===
|
|
4835
|
+
return this.loadStatus === U.error;
|
|
4747
4836
|
}
|
|
4748
4837
|
get errorText() {
|
|
4749
4838
|
let e = this.loadError;
|
|
4750
4839
|
if (!e) return;
|
|
4751
|
-
let t =
|
|
4840
|
+
let t = io[e.kind] ?? io.load;
|
|
4752
4841
|
return this.translationForKey(t, { source: this.source ?? "" });
|
|
4753
4842
|
}
|
|
4754
4843
|
onLoadError(e, t = "load") {
|
|
4755
|
-
let n =
|
|
4756
|
-
this.loadStatus =
|
|
4844
|
+
let n = z.kindFor(e, t);
|
|
4845
|
+
this.loadStatus = U.error, this.domElement.failLoad(e);
|
|
4757
4846
|
let r = this.source || void 0;
|
|
4758
|
-
this.sendSourceEvent(
|
|
4847
|
+
this.sendSourceEvent(W.error, {
|
|
4759
4848
|
kind: n,
|
|
4760
4849
|
source: r,
|
|
4761
4850
|
error: e
|
|
@@ -4767,13 +4856,13 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4767
4856
|
async save(e) {
|
|
4768
4857
|
e !== void 0 && (this.content = e);
|
|
4769
4858
|
let { content: t, lastETag: n } = this, r = this.source || void 0;
|
|
4770
|
-
if (!this.sendSourceEvent(
|
|
4859
|
+
if (!this.sendSourceEvent(W.save, {
|
|
4771
4860
|
source: r,
|
|
4772
4861
|
content: t,
|
|
4773
4862
|
etag: n
|
|
4774
4863
|
})) return !1;
|
|
4775
|
-
let i = r || this.wantsInlineContent ? await
|
|
4776
|
-
if (!r && !i?.sources.inlineSaver) return this.isDirty = !1, this.sendSourceEvent(
|
|
4864
|
+
let i = r || this.wantsInlineContent ? await B.load() : void 0;
|
|
4865
|
+
if (!r && !i?.sources.inlineSaver) return this.isDirty = !1, this.sendSourceEvent(W.saved, { source: r }), !0;
|
|
4777
4866
|
this.isSaving = !0;
|
|
4778
4867
|
try {
|
|
4779
4868
|
let e = i.sources, a = _LoadableComponent.inlineTextOf(this.domElement), o = r ? await e.save({
|
|
@@ -4786,13 +4875,13 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4786
4875
|
before: a,
|
|
4787
4876
|
text: t
|
|
4788
4877
|
});
|
|
4789
|
-
return this.lastETag = o.etag, this.content === t && (this.isDirty = !1), this.sendSourceEvent(
|
|
4878
|
+
return this.lastETag = o.etag, this.content === t && (this.isDirty = !1), this.sendSourceEvent(W.saved, {
|
|
4790
4879
|
source: r,
|
|
4791
4880
|
etag: o.etag
|
|
4792
4881
|
}), !0;
|
|
4793
4882
|
} catch (e) {
|
|
4794
|
-
let t =
|
|
4795
|
-
return this.sendSourceEvent(
|
|
4883
|
+
let t = z.kindFor(e, "save");
|
|
4884
|
+
return this.sendSourceEvent(W.error, {
|
|
4796
4885
|
kind: t,
|
|
4797
4886
|
source: r,
|
|
4798
4887
|
error: e
|
|
@@ -4817,19 +4906,19 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4817
4906
|
return e.setAttribute("aria-label", this.translationForKey("sourceLoading", { source: this.source ?? "" })), e;
|
|
4818
4907
|
}
|
|
4819
4908
|
get loaderElement() {
|
|
4820
|
-
return this.statusElement(
|
|
4909
|
+
return this.statusElement(Qa, "loader");
|
|
4821
4910
|
}
|
|
4822
4911
|
errorMessage() {
|
|
4823
4912
|
let e = this.errorElement;
|
|
4824
4913
|
return e.textContent = this.errorText ?? "", e;
|
|
4825
4914
|
}
|
|
4826
4915
|
get errorElement() {
|
|
4827
|
-
return this.statusElement(
|
|
4916
|
+
return this.statusElement($a, "error");
|
|
4828
4917
|
}
|
|
4829
4918
|
statusElement(e, t) {
|
|
4830
4919
|
let n = this.domElement.ownerDocument.createElement(e);
|
|
4831
4920
|
n.setAttribute("part", this.partForName(t));
|
|
4832
|
-
for (let [t, r] of Object.entries(
|
|
4921
|
+
for (let [t, r] of Object.entries(ks[e])) n.setAttribute(t, r);
|
|
4833
4922
|
return n;
|
|
4834
4923
|
}
|
|
4835
4924
|
checkSource(e) {}
|
|
@@ -4860,15 +4949,15 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4860
4949
|
return !Number.isFinite(n) || n === 0 ? t.join("\n") : t.map((e) => e.slice(Math.min(n, e.length - e.trimStart().length))).join("\n");
|
|
4861
4950
|
}
|
|
4862
4951
|
};
|
|
4863
|
-
X = __decoratorStart(
|
|
4864
|
-
var
|
|
4865
|
-
[
|
|
4952
|
+
X = __decoratorStart(bs), xs = /* @__PURE__ */ new WeakMap(), Ss = /* @__PURE__ */ new WeakMap(), Cs = /* @__PURE__ */ new WeakMap(), ws = /* @__PURE__ */ new WeakMap(), Ts = /* @__PURE__ */ new WeakMap(), Es = /* @__PURE__ */ new WeakMap(), __decorateElement(X, 2, "inlineText", _s, Z), __decorateElement(X, 4, "fetchedText", gs, Z, xs), __decorateElement(X, 4, "wasEdited", hs, Z, Ss), __decorateElement(X, 1, "onInlineTextChanged", ms, Z), __decorateElement(X, 4, "loadStatus", ps, Z, Cs), __decorateElement(X, 2, "isLoading", fs, Z), __decorateElement(X, 1, "onSourceChanged", ds, Z), __decorateElement(X, 1, "onLoaded", us, Z), __decorateElement(X, 1, "reload", ls, Z), __decorateElement(X, 4, "loadError", cs, Z, ws), __decorateElement(X, 2, "hasError", ss, Z), __decorateElement(X, 1, "onLoadError", os, Z), __decorateElement(X, 4, "isSaving", as, Z, Ts), __decorateElement(X, 4, "isDirty", is, Z, Es), __decorateElement(X, 1, "save", rs, Z), __decorateElement(X, 2, "loaderElement", ns, Z), __decorateElement(X, 2, "errorElement", ts, Z), __decorateElement(X, 13, "elementSetup", ys, Z), __decorateElement(X, 13, "wantsInlineContent", vs, Z), __decoratorMetadata(X, Z), __name(Z, "LoadableComponent"), __publicField(Z, "elementSetup", __runInitializers(X, 32, Z, { DOMElement: es })), __runInitializers(X, 35, Z), __publicField(Z, "wantsInlineContent", __runInitializers(X, 36, Z, !0)), __runInitializers(X, 39, Z);
|
|
4953
|
+
var Ds = Z, Os = 2e3, ks = {
|
|
4954
|
+
[Qa]: {
|
|
4866
4955
|
visible: "",
|
|
4867
4956
|
inline: "",
|
|
4868
4957
|
centered: ""
|
|
4869
4958
|
},
|
|
4870
|
-
[
|
|
4871
|
-
},
|
|
4959
|
+
[$a]: { state: "error" }
|
|
4960
|
+
}, As = class SourceMarkup {
|
|
4872
4961
|
static parse(e, { page: t, source: n, select: r }) {
|
|
4873
4962
|
let i = new DOMParser().parseFromString(e, "text/html"), a;
|
|
4874
4963
|
if (r) {
|
|
@@ -4876,12 +4965,12 @@ var bs = Z, xs = 2e3, Ss = {
|
|
|
4876
4965
|
try {
|
|
4877
4966
|
e = i.querySelector(r);
|
|
4878
4967
|
} catch (e) {
|
|
4879
|
-
throw new
|
|
4968
|
+
throw new z(`SourceMarkup.parse(): "${r}" isn't a CSS selector; fix \`select\``, { cause: {
|
|
4880
4969
|
kind: "render",
|
|
4881
4970
|
error: e
|
|
4882
4971
|
} });
|
|
4883
4972
|
}
|
|
4884
|
-
if (!e) throw new
|
|
4973
|
+
if (!e) throw new z(`SourceMarkup.parse(): nothing in ${n ?? "the content"} matches "${r}"; fix \`select\``, { cause: { kind: "render" } });
|
|
4885
4974
|
a = [e];
|
|
4886
4975
|
} else a = [...i.body.childNodes];
|
|
4887
4976
|
let o = t.createDocumentFragment();
|
|
@@ -4890,7 +4979,7 @@ var bs = Z, xs = 2e3, Ss = {
|
|
|
4890
4979
|
}
|
|
4891
4980
|
static rewriteUrls(e, t, n) {
|
|
4892
4981
|
let r = new URL(t, n.baseURI);
|
|
4893
|
-
for (let t of e.querySelectorAll(
|
|
4982
|
+
for (let t of e.querySelectorAll(to)) for (let e of eo) {
|
|
4894
4983
|
let i = t.getAttribute(e);
|
|
4895
4984
|
if (i === null || i.startsWith("#")) continue;
|
|
4896
4985
|
let a;
|
|
@@ -4899,13 +4988,13 @@ var bs = Z, xs = 2e3, Ss = {
|
|
|
4899
4988
|
} catch {
|
|
4900
4989
|
continue;
|
|
4901
4990
|
}
|
|
4902
|
-
a !== new URL(i, n.baseURI).href && (t.setAttribute(
|
|
4991
|
+
a !== new URL(i, n.baseURI).href && (t.setAttribute(no + e, i), t.setAttribute(e, a));
|
|
4903
4992
|
}
|
|
4904
4993
|
}
|
|
4905
4994
|
static restoreUrls(e) {
|
|
4906
|
-
for (let t of e.querySelectorAll("*")) for (let e of
|
|
4907
|
-
let n = t.getAttribute(
|
|
4908
|
-
n !== null && (t.setAttribute(e, n), t.removeAttribute(
|
|
4995
|
+
for (let t of e.querySelectorAll("*")) for (let e of eo) {
|
|
4996
|
+
let n = t.getAttribute(no + e);
|
|
4997
|
+
n !== null && (t.setAttribute(e, n), t.removeAttribute(no + e));
|
|
4909
4998
|
}
|
|
4910
4999
|
}
|
|
4911
5000
|
static checkNesting(e, t, n) {
|
|
@@ -4913,29 +5002,29 @@ var bs = Z, xs = 2e3, Ss = {
|
|
|
4913
5002
|
for (let o = SourceMarkup.parentFor(e); o; o = SourceMarkup.parentFor(o)) {
|
|
4914
5003
|
if (!n(o)) continue;
|
|
4915
5004
|
a++;
|
|
4916
|
-
let e = o.getAttribute(
|
|
4917
|
-
if (e && new URL(e, r).href === i) throw new
|
|
5005
|
+
let e = o.getAttribute(oo);
|
|
5006
|
+
if (e && new URL(e, r).href === i) throw new z(`SourceMarkup.checkNesting(): ${t} includes itself; point \`source\` elsewhere`, { cause: { kind: "render" } });
|
|
4918
5007
|
}
|
|
4919
|
-
if (a >= 8) throw new
|
|
5008
|
+
if (a >= 8) throw new z(`SourceMarkup.checkNesting(): ${t} is nested more than 8 sources deep; look for a cycle`, { cause: { kind: "render" } });
|
|
4920
5009
|
}
|
|
4921
5010
|
static parentFor(e) {
|
|
4922
5011
|
let t = e.parentNode;
|
|
4923
5012
|
if (t?.nodeType === _.element) return t;
|
|
4924
5013
|
if (t?.nodeType === _.documentFragment) return t.host;
|
|
4925
5014
|
}
|
|
4926
|
-
},
|
|
4927
|
-
|
|
5015
|
+
}, js, Ms, Ns, Ps, Fs, Is = [state], Q, Ls, Rs, zs, Bs;
|
|
5016
|
+
Fs = [state], Ps = [state], Ns = [state], Ms = [untracked], js = [untracked];
|
|
4928
5017
|
var $ = class _LoadableBody {
|
|
4929
5018
|
constructor(e) {
|
|
4930
|
-
__runInitializers(Q, 5, this), __privateAdd(this,
|
|
5019
|
+
__runInitializers(Q, 5, this), __privateAdd(this, Ls, __runInitializers(Q, 8, this, U.idle)), __runInitializers(Q, 11, this), __privateAdd(this, Rs, __runInitializers(Q, 12, this, !1)), __runInitializers(Q, 15, this), __privateAdd(this, zs, __runInitializers(Q, 16, this)), __runInitializers(Q, 19, this), __privateAdd(this, Bs, __runInitializers(Q, 20, this, !1)), __runInitializers(Q, 23, this), __publicField(this, "owner"), __publicField(this, "pending"), __publicField(this, "pendingKey"), __publicField(this, "generation", 0), __publicField(this, "aborter"), __publicField(this, "inserted", []), this.owner = e;
|
|
4931
5020
|
}
|
|
4932
5021
|
get isVeiled() {
|
|
4933
5022
|
if (this.hasShownABody) return !1;
|
|
4934
5023
|
let e = this.loadStatus;
|
|
4935
|
-
return (e ===
|
|
5024
|
+
return (e === U.idle || e === U.loading) && !this.isOverdue;
|
|
4936
5025
|
}
|
|
4937
5026
|
get isBusy() {
|
|
4938
|
-
return this.loadStatus ===
|
|
5027
|
+
return this.loadStatus === U.loading && this.isOverdue;
|
|
4939
5028
|
}
|
|
4940
5029
|
load() {
|
|
4941
5030
|
let e = this.owner.source();
|
|
@@ -4957,7 +5046,7 @@ var $ = class _LoadableBody {
|
|
|
4957
5046
|
}
|
|
4958
5047
|
start(e) {
|
|
4959
5048
|
let t = ++this.generation;
|
|
4960
|
-
this.pendingKey = _LoadableBody.key(e.source, e.select), this.loadStatus =
|
|
5049
|
+
this.pendingKey = _LoadableBody.key(e.source, e.select), this.loadStatus = U.loading, this.loadError = void 0, this.owner.send(W.loading, { source: e.source }), this.isOverdue = !1;
|
|
4961
5050
|
let n = after(300 / 1e3, () => {
|
|
4962
5051
|
t === this.generation && (this.isOverdue = !0);
|
|
4963
5052
|
}), r = this.fetch(e, t).finally(() => n.cancel());
|
|
@@ -4968,14 +5057,14 @@ var $ = class _LoadableBody {
|
|
|
4968
5057
|
async fetch({ source: e, select: t, fresh: n }, r) {
|
|
4969
5058
|
let { domElement: i } = this.owner;
|
|
4970
5059
|
try {
|
|
4971
|
-
|
|
5060
|
+
As.checkNesting(i, e, (e) => e.hasAttribute(oo));
|
|
4972
5061
|
let a = await this.textOf(e, n);
|
|
4973
5062
|
if (r !== this.generation) return;
|
|
4974
|
-
this.insert(
|
|
5063
|
+
this.insert(As.parse(a, {
|
|
4975
5064
|
page: i.ownerDocument,
|
|
4976
5065
|
source: e,
|
|
4977
5066
|
select: t
|
|
4978
|
-
})), this.loadStatus =
|
|
5067
|
+
})), this.loadStatus = U.loaded, this.owner.send(W.loaded, {
|
|
4979
5068
|
source: e,
|
|
4980
5069
|
content: a
|
|
4981
5070
|
});
|
|
@@ -4988,7 +5077,7 @@ var $ = class _LoadableBody {
|
|
|
4988
5077
|
return this.aborter?.abort(), this.aborter = new AbortController(), this.owner.loadText?.(e, {
|
|
4989
5078
|
fresh: t,
|
|
4990
5079
|
signal: this.aborter.signal
|
|
4991
|
-
}) || (await (await
|
|
5080
|
+
}) || (await (await B.load()).sources.load(e, { fresh: t })).text;
|
|
4992
5081
|
}
|
|
4993
5082
|
insert(e) {
|
|
4994
5083
|
let t = this.owner.target();
|
|
@@ -4997,9 +5086,9 @@ var $ = class _LoadableBody {
|
|
|
4997
5086
|
this.inserted = [...e.childNodes], t.append(e), this.hasShownABody = !0;
|
|
4998
5087
|
}
|
|
4999
5088
|
fail(e, t) {
|
|
5000
|
-
let n =
|
|
5001
|
-
this.loadStatus =
|
|
5002
|
-
let r = this.owner.send(
|
|
5089
|
+
let n = z.kindFor(t, "load");
|
|
5090
|
+
this.loadStatus = U.error;
|
|
5091
|
+
let r = this.owner.send(W.error, {
|
|
5003
5092
|
kind: n,
|
|
5004
5093
|
source: e,
|
|
5005
5094
|
error: t
|
|
@@ -5016,103 +5105,103 @@ var $ = class _LoadableBody {
|
|
|
5016
5105
|
return !(e.nodeType === _.element && e.hasAttribute("slot"));
|
|
5017
5106
|
}
|
|
5018
5107
|
};
|
|
5019
|
-
Q = __decoratorStart(null),
|
|
5020
|
-
var
|
|
5108
|
+
Q = __decoratorStart(null), Ls = /* @__PURE__ */ new WeakMap(), Rs = /* @__PURE__ */ new WeakMap(), zs = /* @__PURE__ */ new WeakMap(), Bs = /* @__PURE__ */ new WeakMap(), __decorateElement(Q, 4, "loadStatus", Is, $, Ls), __decorateElement(Q, 4, "isOverdue", Fs, $, Rs), __decorateElement(Q, 4, "loadError", Ps, $, zs), __decorateElement(Q, 4, "hasShownABody", Ns, $, Bs), __decorateElement(Q, 1, "load", Ms, $), __decorateElement(Q, 1, "reload", js, $), __decoratorMetadata(Q, $), __name($, "LoadableBody");
|
|
5109
|
+
var Vs = $, DOMLoadableBodyElement = class extends w {
|
|
5021
5110
|
load() {
|
|
5022
5111
|
return this.component?.loadBody() ?? Promise.resolve();
|
|
5023
5112
|
}
|
|
5024
5113
|
reload() {
|
|
5025
5114
|
return this.component?.reloadBody() ?? Promise.resolve();
|
|
5026
5115
|
}
|
|
5027
|
-
},
|
|
5028
|
-
APP_STYLESHEET_ID: () =>
|
|
5029
|
-
ATTRIBUTE_GROUPS: () =>
|
|
5030
|
-
AddressParameter: () =>
|
|
5031
|
-
AnimationNames: () =>
|
|
5116
|
+
}, Hs = /* @__PURE__ */ e({
|
|
5117
|
+
APP_STYLESHEET_ID: () => Ma,
|
|
5118
|
+
ATTRIBUTE_GROUPS: () => we,
|
|
5119
|
+
AddressParameter: () => Xo,
|
|
5120
|
+
AnimationNames: () => Pa,
|
|
5032
5121
|
ApiError: () => ApiError,
|
|
5033
|
-
AriaNames: () =>
|
|
5034
|
-
BuiltInIconPacks: () =>
|
|
5035
|
-
BuiltInPacks: () =>
|
|
5036
|
-
CODE_LANGUAGES_EVENT: () =>
|
|
5122
|
+
AriaNames: () => Te,
|
|
5123
|
+
BuiltInIconPacks: () => wo,
|
|
5124
|
+
BuiltInPacks: () => jo,
|
|
5125
|
+
CODE_LANGUAGES_EVENT: () => Ra,
|
|
5037
5126
|
Cell: () => Cell,
|
|
5038
|
-
ClassBuilder: () =>
|
|
5039
|
-
ClipboardCopy: () =>
|
|
5127
|
+
ClassBuilder: () => Ua,
|
|
5128
|
+
ClipboardCopy: () => Jo,
|
|
5040
5129
|
CloseButton: () => CloseButton,
|
|
5041
5130
|
Converters: () => N,
|
|
5042
|
-
CssDisplay: () =>
|
|
5043
|
-
DEFAULT_ICON_PACK: () =>
|
|
5131
|
+
CssDisplay: () => ka,
|
|
5132
|
+
DEFAULT_ICON_PACK: () => To,
|
|
5044
5133
|
DOMElement: () => w,
|
|
5045
5134
|
DOMLoadableBodyElement: () => DOMLoadableBodyElement,
|
|
5046
|
-
DOMLoadableElement: () =>
|
|
5047
|
-
DefaultValues: () =>
|
|
5048
|
-
Disclosure: () =>
|
|
5049
|
-
E: () =>
|
|
5050
|
-
EN_STRINGS: () =>
|
|
5051
|
-
ERRORED_STATE: () =>
|
|
5052
|
-
ERROR_EVENT: () =>
|
|
5053
|
-
ElementDefinition: () =>
|
|
5054
|
-
ICON_PACK_INDEX: () =>
|
|
5135
|
+
DOMLoadableElement: () => es,
|
|
5136
|
+
DefaultValues: () => ba,
|
|
5137
|
+
Disclosure: () => Tn,
|
|
5138
|
+
E: () => Hs,
|
|
5139
|
+
EN_STRINGS: () => Fa,
|
|
5140
|
+
ERRORED_STATE: () => De,
|
|
5141
|
+
ERROR_EVENT: () => Ee,
|
|
5142
|
+
ElementDefinition: () => ze,
|
|
5143
|
+
ICON_PACK_INDEX: () => Eo,
|
|
5055
5144
|
ICON_PREFIX_SEPARATOR: () => ":",
|
|
5056
|
-
IconGlyph: () =>
|
|
5057
|
-
IconName: () =>
|
|
5058
|
-
LAYER_ORDER: () =>
|
|
5145
|
+
IconGlyph: () => Vo,
|
|
5146
|
+
IconName: () => Oo,
|
|
5147
|
+
LAYER_ORDER: () => Oa,
|
|
5059
5148
|
ListSelection: () => ListSelection,
|
|
5060
|
-
LoadOnce: () =>
|
|
5061
|
-
LoadableBody: () =>
|
|
5062
|
-
LoadableComponent: () =>
|
|
5149
|
+
LoadOnce: () => Un,
|
|
5150
|
+
LoadableBody: () => Vs,
|
|
5151
|
+
LoadableComponent: () => Ds,
|
|
5063
5152
|
MAX_DEPTH: () => 8,
|
|
5064
|
-
MenuSearchFields: () =>
|
|
5065
|
-
MoveAndResize: () =>
|
|
5153
|
+
MenuSearchFields: () => Za,
|
|
5154
|
+
MoveAndResize: () => Mn,
|
|
5066
5155
|
NO_ANIMATION: () => v,
|
|
5067
|
-
NativeFallback: () =>
|
|
5156
|
+
NativeFallback: () => _o,
|
|
5068
5157
|
NodeType: () => _,
|
|
5069
|
-
ORIGINAL_PREFIX: () =>
|
|
5158
|
+
ORIGINAL_PREFIX: () => no,
|
|
5070
5159
|
OwnControls: () => OwnControls,
|
|
5071
|
-
OwnerContext: () =>
|
|
5072
|
-
PAGE_SCOPE: () =>
|
|
5073
|
-
ParentLink: () =>
|
|
5074
|
-
PartComponent: () =>
|
|
5160
|
+
OwnerContext: () => et,
|
|
5161
|
+
PAGE_SCOPE: () => Aa,
|
|
5162
|
+
ParentLink: () => zn,
|
|
5163
|
+
PartComponent: () => Lo,
|
|
5075
5164
|
PartContext: () => D,
|
|
5076
5165
|
PopoverPanel: () => PopoverPanel,
|
|
5077
5166
|
Queued: () => Queued,
|
|
5078
|
-
RUNTIME_KEY: () =>
|
|
5079
|
-
RUNTIME_VERSION: () =>
|
|
5080
|
-
RangeMeasures: () =>
|
|
5167
|
+
RUNTIME_KEY: () => R,
|
|
5168
|
+
RUNTIME_VERSION: () => Da,
|
|
5169
|
+
RangeMeasures: () => Xa,
|
|
5081
5170
|
Reactive: () => b,
|
|
5082
|
-
RootSettings: () =>
|
|
5083
|
-
SCROLL_LOCK_CLASS: () =>
|
|
5084
|
-
SOURCE_ATTRIBUTE: () =>
|
|
5171
|
+
RootSettings: () => qa,
|
|
5172
|
+
SCROLL_LOCK_CLASS: () => ja,
|
|
5173
|
+
SOURCE_ATTRIBUTE: () => oo,
|
|
5085
5174
|
SOURCE_BODY_HOLD_MS: () => 300,
|
|
5086
|
-
SOURCE_FAILURE_KEYS: () =>
|
|
5087
|
-
SOURCE_LOADER_TAG: () =>
|
|
5088
|
-
SOURCE_MESSAGE_TAG: () =>
|
|
5089
|
-
STICKY_MAX_RESERVE: () =>
|
|
5090
|
-
STICKY_SCROLLING: () =>
|
|
5091
|
-
STICKY_SLACK: () =>
|
|
5092
|
-
SharedVocabulary: () =>
|
|
5093
|
-
Shorthand: () =>
|
|
5094
|
-
SlotContent: () =>
|
|
5095
|
-
SourceError: () =>
|
|
5096
|
-
SourceErrorKinds: () =>
|
|
5097
|
-
SourceEvent: () =>
|
|
5098
|
-
SourceMarkup: () =>
|
|
5099
|
-
SourceStatus: () =>
|
|
5175
|
+
SOURCE_FAILURE_KEYS: () => io,
|
|
5176
|
+
SOURCE_LOADER_TAG: () => Qa,
|
|
5177
|
+
SOURCE_MESSAGE_TAG: () => $a,
|
|
5178
|
+
STICKY_MAX_RESERVE: () => lo,
|
|
5179
|
+
STICKY_SCROLLING: () => co,
|
|
5180
|
+
STICKY_SLACK: () => uo,
|
|
5181
|
+
SharedVocabulary: () => F,
|
|
5182
|
+
Shorthand: () => fo,
|
|
5183
|
+
SlotContent: () => bn,
|
|
5184
|
+
SourceError: () => z,
|
|
5185
|
+
SourceErrorKinds: () => La,
|
|
5186
|
+
SourceEvent: () => W,
|
|
5187
|
+
SourceMarkup: () => As,
|
|
5188
|
+
SourceStatus: () => U,
|
|
5100
5189
|
SpellSolid: () => y,
|
|
5101
5190
|
StaleCatalogError: () => StaleCatalogError,
|
|
5102
|
-
StickyWatch: () =>
|
|
5103
|
-
StickyWatchEdges: () =>
|
|
5104
|
-
TEMPORAL_POLYFILL: () =>
|
|
5105
|
-
TopLayerTip: () =>
|
|
5106
|
-
UI: () =>
|
|
5107
|
-
UIComponent: () =>
|
|
5108
|
-
UIT: () =>
|
|
5109
|
-
URL_ATTRIBUTES: () =>
|
|
5110
|
-
URL_SELECTOR: () =>
|
|
5111
|
-
UTILITIES_SHEET: () =>
|
|
5191
|
+
StickyWatch: () => bo,
|
|
5192
|
+
StickyWatchEdges: () => so,
|
|
5193
|
+
TEMPORAL_POLYFILL: () => Ia,
|
|
5194
|
+
TopLayerTip: () => Bn,
|
|
5195
|
+
UI: () => B,
|
|
5196
|
+
UIComponent: () => Yt,
|
|
5197
|
+
UIT: () => fr,
|
|
5198
|
+
URL_ATTRIBUTES: () => eo,
|
|
5199
|
+
URL_SELECTOR: () => to,
|
|
5200
|
+
UTILITIES_SHEET: () => Na,
|
|
5112
5201
|
ValueSets: () => M,
|
|
5113
|
-
VisibilityDirection: () =>
|
|
5114
|
-
Vocabulary: () =>
|
|
5115
|
-
WHITESPACE: () =>
|
|
5202
|
+
VisibilityDirection: () => za,
|
|
5203
|
+
Vocabulary: () => _a,
|
|
5204
|
+
WHITESPACE: () => Ya,
|
|
5116
5205
|
Warnings: () => Warnings,
|
|
5117
5206
|
after: () => after,
|
|
5118
5207
|
afterSolidUpdate: () => afterSolidUpdate,
|
|
@@ -5123,6 +5212,7 @@ var Ps = $, DOMLoadableBodyElement = class extends w {
|
|
|
5123
5212
|
camelCase: () => camelCase,
|
|
5124
5213
|
clamp: () => clamp,
|
|
5125
5214
|
closestAcrossShadow: () => closestAcrossShadow,
|
|
5215
|
+
commaList: () => commaList,
|
|
5126
5216
|
controlled: () => controlled,
|
|
5127
5217
|
copyText: () => copyText,
|
|
5128
5218
|
cssState: () => cssState,
|
|
@@ -5137,8 +5227,10 @@ var Ps = $, DOMLoadableBodyElement = class extends w {
|
|
|
5137
5227
|
forget: () => forget,
|
|
5138
5228
|
getSuperHierarchy: () => getSuperHierarchy,
|
|
5139
5229
|
hasDescriptor: () => hasDescriptor,
|
|
5230
|
+
hasMarkdown: () => hasMarkdown,
|
|
5140
5231
|
hasOwnProp: () => hasOwnProp,
|
|
5141
5232
|
indented: () => indented,
|
|
5233
|
+
initialCaps: () => initialCaps,
|
|
5142
5234
|
isBrowser: () => isBrowser,
|
|
5143
5235
|
isSameList: () => isSameList,
|
|
5144
5236
|
kb: () => kb,
|
|
@@ -5164,15 +5256,16 @@ var Ps = $, DOMLoadableBodyElement = class extends w {
|
|
|
5164
5256
|
soon: () => soon,
|
|
5165
5257
|
state: () => state,
|
|
5166
5258
|
suggest: () => suggest,
|
|
5259
|
+
textChecksum: () => textChecksum,
|
|
5167
5260
|
untracked: () => untracked,
|
|
5168
5261
|
waitUntil: () => waitUntil,
|
|
5169
5262
|
watches: () => watches,
|
|
5170
5263
|
whenDefined: () => whenDefined,
|
|
5171
5264
|
whileConnected: () => whileConnected,
|
|
5265
|
+
withArticle: () => withArticle,
|
|
5172
5266
|
within: () => within,
|
|
5173
5267
|
withoutAccents: () => withoutAccents
|
|
5174
5268
|
});
|
|
5175
|
-
|
|
5176
|
-
export { pr as $, bi as A, wa as APP_STYLESHEET_ID, Ce as ATTRIBUTE_GROUPS, Uo as AddressParameter, Ea as AnimationNames, ApiError, we as AriaNames, na as At, ModalActions as B, __name as Bt, go as BuiltInIconPacks, Co as BuiltInPacks, Ii as C, Aa as CODE_LANGUAGES_EVENT, Cell, Fa as ClassBuilder, Vo as ClipboardCopy, CloseButton, N as Converters, xa as CssDisplay, pi as Ct, gi as D, _o as DEFAULT_ICON_PACK, w as DOMElement, DOMLoadableBodyElement, qo as DOMLoadableElement, fa as DefaultValues, yn as Disclosure, $i as Dt, Fs as E, Da as EN_STRINGS, Ee as ERRORED_STATE, Te as ERROR_EVENT, Re as ElementDefinition, Xi as Et, ni as F, Pi as Ft, P as G, Cr as H, __publicField as Ht, wi as I, vo as ICON_PACK_INDEX, yo as ICON_PREFIX_SEPARATOR, Po as IconGlyph, bo as IconName, WordWidthClasses as It, Yr as J, kr as K, oi as L, ba as LAYER_ORDER, ListSelection, Ln as LoadOnce, Ps as LoadableBody, bs as LoadableComponent, __decorateElement as Lt, Si as M, Ya as MAX_DEPTH, Ua as MenuSearchFields, En as MoveAndResize, Wr as Mt, Ci as N, v as NO_ANIMATION, co as NativeFallback, _ as NodeType, fi as Nt, _i as O, Ja as ORIGINAL_PREFIX, Yi as Ot, OwnControls, $e as OwnerContext, xr as P, Sa as PAGE_SCOPE, Nn as ParentLink, ko as PartComponent, D as PartContext, PopoverPanel, ji as Pt, _r as Q, Queued, Ti as R, z as RUNTIME_KEY, ya as RUNTIME_VERSION, Ha as RangeMeasures, b as Reactive, za as RootSettings, __decoratorMetadata as Rt, zr as S, Ca as SCROLL_LOCK_CLASS, Qa as SOURCE_ATTRIBUTE, Za as SOURCE_BODY_HOLD_MS, Xa as SOURCE_FAILURE_KEYS, Wa as SOURCE_LOADER_TAG, Ga as SOURCE_MESSAGE_TAG, to as STICKY_MAX_RESERVE, eo as STICKY_SCROLLING, no as STICKY_SLACK, I as SharedVocabulary, ro as Shorthand, mn as SlotContent, B as SourceError, ka as SourceErrorKinds, G as SourceEvent, Cs as SourceMarkup, W as SourceStatus, y as SpellSolid, ea as St, StaleCatalogError, fo as StickyWatch, $a as StickyWatchEdges, Mi as T, Oa as TEMPORAL_POLYFILL, Pn as TopLayerTip, Qi as Tt, Jr as U, V as UI, Wt as UIComponent, or as UIT, Ka as URL_ATTRIBUTES, qa as URL_SELECTOR, Ta as UTILITIES_SHEET, __runInitializers as Ut, Pr as V, M as ValueSets, ja as VisibilityDirection, la as Vocabulary, __privateAdd as Vt, fr as W, Va as WHITESPACE, Warnings, ui as X, Ni as Y, qr as Z, Tr as _, StackClasses as _t, Hr as a, after, afterSolidUpdate, answerOf, aria, Qr as at, Lr as b, beforeNextPaint, Dr as bt, byDocumentOrder, mi as c, camelCase, clamp, closestAcrossShadow, controlled, copyText, cssState, Ki as ct, ta as d, dedent, derived, Bi as dt, escapeHTML, escapeRegExp, mr as et, every, hi as f, fetchOk, fetchText, flatParentFor, forget, Ui as ft, ri as g, getSuperHierarchy, yr as gt, li as h, hasDescriptor, hasOwnProp, Wi as ht, vi as i, indented, isBrowser, isSameList, $r as it, xi as j, Gr as jt, HeadingLevels as k, kb, kebabCase, ThemeNames as kt, Sr as l, lazy, letNodeEnd, levenshtein, load as loadUI, qi as lt, Fi as m, markedPieces, Hi as mt, ci as n, nextFrame, jr as nt, numberToWord, Di as o, on, onChange, once, zi as ot, yi as p, proto, protoMerged, Vi as pt, Ir as q, di as r, resets, ti as rt, si as s, scrollByRow, scrollEnds, scrollIntoSight, scrollingBoxFor, slug, soon, Gi as st, state, suggest, wo as t, F as tt, ai as u, untracked, Ji as ut, Oi as v, gr as vt, Li as w, waitUntil, watches, whenDefined, whileConnected, within, withoutAccents, Zi as wt, Rr as x, Ei as xt, sr as y, Or as yt, br as z, __decoratorStart as zt };
|
|
5269
|
+
export { wr as $, Oi as A, Ma as APP_STYLESHEET_ID, we as ATTRIBUTE_GROUPS, Xo as AddressParameter, Pa as AnimationNames, ApiError, Te as AriaNames, ra as At, Dr as B, currentPlatform as Bt, wo as BuiltInIconPacks, jo as BuiltInPacks, Wi as C, Ra as CODE_LANGUAGES_EVENT, Cell, Ua as ClassBuilder, Jo as ClipboardCopy, CloseButton, N as Converters, ka as CssDisplay, ca as Ct, wi as D, To as DEFAULT_ICON_PACK, w as DOMElement, DOMLoadableBodyElement, es as DOMLoadableElement, ba as DefaultValues, Tn as Disclosure, oa as Dt, Hs as E, Fa as EN_STRINGS, De as ERRORED_STATE, Ee as ERROR_EVENT, ze as ElementDefinition, aa as Et, ui as F, bi as Ft, yr as G, __decoratorStart as Gt, Hr as H, onPlatformChange as Ht, Mi as I, Eo as ICON_PACK_INDEX, Do as ICON_PREFIX_SEPARATOR, Vo as IconGlyph, Oo as IconName, zi as It, Wr as J, __publicField as Jt, Ir as K, __name as Kt, mi as L, Oa as LAYER_ORDER, ListSelection, Un as LoadOnce, Vs as LoadableBody, Ds as LoadableComponent, Hi as Lt, Ai as M, ro as MAX_DEPTH, Za as MenuSearchFields, Mn as MoveAndResize, ua as Mt, ji as N, v as NO_ANIMATION, _o as NativeFallback, _ as NodeType, $r as Nt, Ti as O, no as ORIGINAL_PREFIX, ia as Ot, OwnControls, et as OwnerContext, Or as P, Aa as PAGE_SCOPE, zn as ParentLink, Lo as PartComponent, D as PartContext, PopoverPanel, Qr as Pt, ti as Q, Queued, Ni as R, R as RUNTIME_KEY, Da as RUNTIME_VERSION, Xa as RangeMeasures, b as Reactive, qa as RootSettings, WordWidthClasses as Rt, qr as S, ja as SCROLL_LOCK_CLASS, oo as SOURCE_ATTRIBUTE, ao as SOURCE_BODY_HOLD_MS, io as SOURCE_FAILURE_KEYS, Qa as SOURCE_LOADER_TAG, $a as SOURCE_MESSAGE_TAG, lo as STICKY_MAX_RESERVE, co as STICKY_SCROLLING, uo as STICKY_SLACK, F as SharedVocabulary, fo as Shorthand, bn as SlotContent, z as SourceError, La as SourceErrorKinds, W as SourceEvent, As as SourceMarkup, U as SourceStatus, y as SpellSolid, Pi as St, StaleCatalogError, bo as StickyWatch, so as StickyWatchEdges, Bi as T, Ia as TEMPORAL_POLYFILL, Bn as TopLayerTip, xi as Tt, Ar as U, B as UI, Yt as UIComponent, fr as UIT, eo as URL_ATTRIBUTES, to as URL_SELECTOR, Na as UTILITIES_SHEET, __decorateElement as Ut, ModalActions as V, M as ValueSets, za as VisibilityDirection, _a as Vocabulary, isOnPlatform as Vt, ni as W, Ya as WHITESPACE, Warnings, __decoratorMetadata as Wt, Vi as X, ri as Y, __runInitializers as Yt, vi as Z, Mr as _, Er as _t, Xr as a, after, afterSolidUpdate, answerOf, aria, si as at, Gr as b, beforeNextPaint, Fr as bt, byDocumentOrder, Si as c, camelCase, clamp, closestAcrossShadow, commaList, controlled, copyText, cssState, $i as ct, la as d, dedent, derived, na as dt, escapeHTML, escapeRegExp, br as et, every, Ci as f, fetchOk, fetchText, flatParentFor, forget, Ji as ft, di as g, getSuperHierarchy, Qi as gt, _i as h, hasDescriptor, hasMarkdown, hasOwnProp, Xi as ht, Ei as i, indented, initialCaps, isBrowser, isSameList, li as it, ki as j, ThemeNames as jt, HeadingLevels as k, kb, kebabCase, sa as kt, kr as l, lazy, letNodeEnd, levenshtein, load as loadUI, ea as lt, Ui as m, markedPieces, Yi as mt, gi as n, nextFrame, P as nt, numberToWord, Fi as o, on, onChange, once, oi as ot, Di as p, proto, protoMerged, Zi as pt, Lr as q, __privateAdd as qt, yi as r, resets, zr as rt, hi as s, scrollByRow, scrollEnds, scrollIntoSight, scrollingBoxFor, slug, soon, qi as st, state, suggest, Mo as t, textChecksum, xr as tt, pi as u, untracked, ta as ut, Ii as v, StackClasses as vt, Gi as w, waitUntil, watches, whenDefined, whileConnected, withArticle, within, withoutAccents, vr as wt, Kr as x, Pr as xt, pr as y, Cr as yt, Yr as z, canCaptureScreen as zt };
|
|
5177
5270
|
|
|
5178
5271
|
//# sourceMappingURL=core.js.map
|