spell-ui 0.8.8 → 0.8.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README-components.md +9 -3
- package/README-frameworks.md +5 -5
- package/README-migrating.md +2 -2
- package/README.md +5 -5
- package/dist/{CodeEngine-GL9EzwF1.js → CodeEngine-B684vKxR.js} +39 -100
- package/dist/{CodeEngine-GL9EzwF1.js.map → CodeEngine-B684vKxR.js.map} +1 -1
- package/dist/{Dragging-CMZoLEWQ.js → Dragging-B93hbRxF.js} +17 -15
- package/dist/Dragging-B93hbRxF.js.map +1 -0
- package/dist/{MarkdownEngine-CW1WGqNp.js → MarkdownEngine-D1jqcFeU.js} +11 -72
- package/dist/{MarkdownEngine-CW1WGqNp.js.map → MarkdownEngine-D1jqcFeU.js.map} +1 -1
- package/dist/MarkdownSanitizer-CqsWivYJ.js +866 -0
- package/dist/MarkdownSanitizer-CqsWivYJ.js.map +1 -0
- package/dist/{PrefStore-Qv0e5y04.js → PrefStore-Di83C0bY.js} +13 -9
- package/dist/PrefStore-Di83C0bY.js.map +1 -0
- package/dist/ScrollingRow-DkOtx2QK.js +89 -0
- package/dist/ScrollingRow-DkOtx2QK.js.map +1 -0
- package/dist/{SitePages-CciwREek.js → SitePages-B3zd5Zgu.js} +37 -10
- package/dist/SitePages-B3zd5Zgu.js.map +1 -0
- package/dist/SlottedItems-DWfAZYqM.js +88 -0
- package/dist/SlottedItems-DWfAZYqM.js.map +1 -0
- package/dist/{TemporalPolyfill-D9mr7_wA.js → TemporalPolyfill-Bv_c_xa0.js} +7 -12
- package/dist/{TemporalPolyfill-D9mr7_wA.js.map → TemporalPolyfill-Bv_c_xa0.js.map} +1 -1
- package/dist/{ThemeDraft-B7NPif4d.js → ThemeDraft-CyX3YA_L.js} +41 -43
- package/dist/{ThemeDraft-B7NPif4d.js.map → ThemeDraft-CyX3YA_L.js.map} +1 -1
- package/dist/{TreeMeasure-BVJeGb1L.js → TreeMeasure-BK74uexu.js} +3 -4
- package/dist/{TreeMeasure-BVJeGb1L.js.map → TreeMeasure-BK74uexu.js.map} +1 -1
- package/dist/UIButton-BmIiXYDC.js +5 -0
- package/dist/UIButton-BmIiXYDC.js.map +1 -0
- package/dist/UIGrid-2ZUA1YEc.js +200 -0
- package/dist/UIGrid-2ZUA1YEc.js.map +1 -0
- package/dist/{UIInput-BodVbUoQ.js → UIInput-B3K0w4ow.js} +2 -3
- package/dist/UIInput-B3K0w4ow.js.map +1 -0
- package/dist/{UIKeys-Rh_gUZjP.js → UIKeys-DmXvyJuU.js} +12 -12
- package/dist/UIKeys-DmXvyJuU.js.map +1 -0
- package/dist/{UILabel-DgJUBzB_.js → UILabel-pCjKxQlQ.js} +2 -3
- package/dist/UILabel-pCjKxQlQ.js.map +1 -0
- package/dist/UIMenu-CqURPocK.js +42 -0
- package/dist/UIMenu-CqURPocK.js.map +1 -0
- package/dist/{UIRuntime-KH309p5B.js → UIRuntime-BXutHphM.js} +253 -239
- package/dist/UIRuntime-BXutHphM.js.map +1 -0
- package/dist/{UISegment-CMMIW7cZ.js → UISegment-BF4Tgy2D.js} +2 -3
- package/dist/UISegment-BF4Tgy2D.js.map +1 -0
- package/dist/_spell-element/UIComponent.d.ts +8 -0
- package/dist/_spell-element/vocabulary.types.d.ts +20 -2
- package/dist/_util/Dragging.d.ts +14 -2
- package/dist/_util/dom.d.ts +12 -8
- package/dist/_util/measures/Dimension.d.ts +1 -1
- package/dist/_util/persist/PrefStore.d.ts +7 -2
- package/dist/_util/persist/persist.types.d.ts +6 -0
- package/dist/_util/platform.d.ts +54 -0
- package/dist/_util/string.d.ts +25 -0
- package/dist/api.js +2 -3
- package/dist/api.js.map +1 -1
- package/dist/{apple.palette-B4ivrNlM.js → apple.palette-YLjENwUt.js} +2 -3
- package/dist/apple.palette-YLjENwUt.js.map +1 -0
- package/dist/{classic-DCTQrteU.js → classic-BHyJFvQa.js} +2 -3
- package/dist/classic-BHyJFvQa.js.map +1 -0
- package/dist/components/ComponentDefinitions.d.ts +55 -8
- package/dist/components/components.es.d.ts +2 -1
- package/dist/components/components.planned.d.ts +1 -1
- package/dist/components/components.types.d.ts +22 -0
- package/dist/components/ui-accordion/UIAccordion.d.ts +1 -0
- package/dist/components/ui-accordion/UIAccordion.en.d.ts +1 -0
- package/dist/components/ui-action/UIAction.d.ts +38 -1
- package/dist/components/ui-action/UIAction.en.d.ts +17 -8
- package/dist/components/ui-action/UIAction.es.d.ts +1 -0
- package/dist/components/ui-ad/UIAd.d.ts +1 -0
- package/dist/components/ui-ad/UIAd.en.d.ts +1 -0
- package/dist/components/ui-app-menu/UIAppMenu.d.ts +41 -0
- package/dist/components/ui-app-menu/UIAppMenu.en.d.ts +294 -0
- package/dist/components/ui-app-menu/UIAppMenu.es.d.ts +35 -0
- package/dist/components/ui-app-menu/index.d.ts +2 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumb.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumb.en.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumbs.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumbs.en.d.ts +1 -0
- package/dist/components/ui-button/UIButton.d.ts +5 -4
- package/dist/components/ui-button/UIButton.en.d.ts +4 -3
- package/dist/components/ui-button/UIButton.fallback.d.ts +4 -3
- package/dist/components/ui-button/UIButton.types.d.ts +1 -1
- package/dist/components/ui-button/UIButtons.d.ts +7 -5
- package/dist/components/ui-button/UIButtons.en.d.ts +5 -3
- package/dist/components/ui-button/UIButtons.es.d.ts +1 -0
- package/dist/components/ui-button/UIOr.d.ts +1 -0
- package/dist/components/ui-button/UIOr.en.d.ts +1 -0
- package/dist/components/ui-calendar/UICalendar.d.ts +1 -0
- package/dist/components/ui-calendar/UICalendar.en.d.ts +1 -0
- package/dist/components/ui-calendar/UICalendar.fallback.d.ts +1 -0
- package/dist/components/ui-card/UICard.d.ts +1 -0
- package/dist/components/ui-card/UICard.en.d.ts +1 -0
- package/dist/components/ui-card/UICards.d.ts +1 -0
- package/dist/components/ui-card/UICards.en.d.ts +1 -0
- package/dist/components/ui-checkbox/UICheckbox.d.ts +1 -0
- package/dist/components/ui-checkbox/UICheckbox.en.d.ts +1 -0
- package/dist/components/ui-checkbox/UICheckbox.fallback.d.ts +1 -0
- package/dist/components/ui-checkbox/UIRadio.d.ts +1 -0
- package/dist/components/ui-checkbox/UIRadio.en.d.ts +1 -0
- package/dist/components/ui-code/CodeHighlighter.d.ts +7 -3
- package/dist/components/ui-code/UICode.d.ts +12 -1
- package/dist/components/ui-code/UICode.en.d.ts +1 -0
- package/dist/components/ui-code/UICode.types.d.ts +9 -0
- package/dist/components/ui-comment/UIComment.d.ts +1 -0
- package/dist/components/ui-comment/UIComment.en.d.ts +1 -0
- package/dist/components/ui-comment/UIComments.d.ts +1 -0
- package/dist/components/ui-comment/UIComments.en.d.ts +1 -0
- package/dist/components/ui-components/UIComponents.d.ts +1 -0
- package/dist/components/ui-components/UIComponents.en.d.ts +1 -0
- package/dist/components/ui-container/UIContainer.d.ts +54 -1
- package/dist/components/ui-container/UIContainer.en.d.ts +40 -1
- package/dist/components/ui-container/UIContainer.es.d.ts +1 -0
- package/dist/components/ui-device/UIDevice.d.ts +234 -0
- package/dist/components/ui-device/UIDevice.en.d.ts +126 -0
- package/dist/components/ui-device/UIDevice.es.d.ts +52 -0
- package/dist/components/ui-device/index.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagram.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagram.en.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagramNode.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagramNode.en.d.ts +1 -0
- package/dist/components/ui-dimension/UIDimension.d.ts +1 -0
- package/dist/components/ui-dimension/UIDimension.en.d.ts +1 -0
- package/dist/components/ui-dimmer/UIDimmer.d.ts +1 -0
- package/dist/components/ui-dimmer/UIDimmer.en.d.ts +1 -0
- package/dist/components/ui-divider/UIDivider.d.ts +1 -0
- package/dist/components/ui-divider/UIDivider.en.d.ts +1 -0
- package/dist/components/ui-dropdown/SlottedItems.d.ts +9 -1
- package/dist/components/ui-dropdown/UIDropdown.d.ts +1 -0
- package/dist/components/ui-dropdown/UIDropdown.en.d.ts +1 -0
- package/dist/components/ui-dropdown/UIDropdown.fallback.d.ts +1 -0
- package/dist/components/ui-embed/UIEmbed.d.ts +1 -0
- package/dist/components/ui-embed/UIEmbed.en.d.ts +1 -0
- package/dist/components/ui-emoji/UIEmoji.d.ts +1 -0
- package/dist/components/ui-emoji/UIEmoji.en.d.ts +1 -0
- package/dist/components/ui-example/UIExample.en.d.ts +1 -0
- package/dist/components/ui-feed/UIFeed.d.ts +1 -0
- package/dist/components/ui-feed/UIFeed.en.d.ts +1 -0
- package/dist/components/ui-feed/UIFeedEvent.d.ts +1 -0
- package/dist/components/ui-feed/UIFeedEvent.en.d.ts +1 -0
- package/dist/components/ui-flag/UIFlag.d.ts +1 -0
- package/dist/components/ui-flag/UIFlag.en.d.ts +1 -0
- package/dist/components/ui-flyout/UIFlyout.d.ts +1 -0
- package/dist/components/ui-flyout/UIFlyout.en.d.ts +1 -0
- package/dist/components/ui-form/UIField.d.ts +11 -4
- package/dist/components/ui-form/UIField.en.d.ts +3 -2
- package/dist/components/ui-form/UIFields.d.ts +1 -0
- package/dist/components/ui-form/UIFields.en.d.ts +1 -0
- package/dist/components/ui-form/UIForm.d.ts +1 -0
- package/dist/components/ui-form/UIForm.en.d.ts +1 -0
- package/dist/components/ui-form/UIRepeat.d.ts +1 -0
- package/dist/components/ui-form/UIRepeat.en.d.ts +1 -0
- package/dist/components/ui-grid/UIColumn.d.ts +4 -3
- package/dist/components/ui-grid/UIColumn.en.d.ts +4 -3
- package/dist/components/ui-grid/UIGrid.d.ts +1 -0
- package/dist/components/ui-grid/UIGrid.en.d.ts +1 -0
- package/dist/components/ui-grid/UIRow.d.ts +1 -0
- package/dist/components/ui-grid/UIRow.en.d.ts +1 -0
- package/dist/components/ui-icon/UIIcon.d.ts +1 -0
- package/dist/components/ui-icon/UIIcon.en.d.ts +1 -0
- package/dist/components/ui-icon/UIIcons.d.ts +1 -0
- package/dist/components/ui-icon/UIIcons.en.d.ts +1 -0
- package/dist/components/ui-icon-picker/UIIconPicker.d.ts +5 -1
- package/dist/components/ui-icon-picker/UIIconPicker.en.d.ts +1 -0
- package/dist/components/ui-icon-picker/UIIconPicker.fallback.d.ts +1 -0
- package/dist/components/ui-image/UIImage.d.ts +1 -0
- package/dist/components/ui-image/UIImage.en.d.ts +1 -0
- package/dist/components/ui-image/UIImages.d.ts +1 -0
- package/dist/components/ui-image/UIImages.en.d.ts +1 -0
- package/dist/components/ui-include/UIInclude.d.ts +1 -0
- package/dist/components/ui-include/UIInclude.en.d.ts +1 -0
- package/dist/components/ui-input/UIInput.d.ts +1 -0
- package/dist/components/ui-input/UIInput.en.d.ts +1 -0
- package/dist/components/ui-input/UIInput.fallback.d.ts +1 -0
- package/dist/components/ui-input/UITextarea.d.ts +1 -0
- package/dist/components/ui-input/UITextarea.en.d.ts +1 -0
- package/dist/components/ui-item/UIItem.d.ts +19 -8
- package/dist/components/ui-item/UIItem.en.d.ts +2 -1
- package/dist/components/ui-items/UIItems.d.ts +1 -0
- package/dist/components/ui-items/UIItems.en.d.ts +1 -0
- package/dist/components/ui-json/UIJson.d.ts +1 -0
- package/dist/components/ui-json/UIJson.en.d.ts +1 -0
- package/dist/components/ui-keys/UIKeys.d.ts +1 -0
- package/dist/components/ui-keys/UIKeys.en.d.ts +1 -0
- package/dist/components/ui-label/UILabel.d.ts +3 -2
- package/dist/components/ui-label/UILabel.en.d.ts +3 -2
- package/dist/components/ui-label/UILabels.d.ts +1 -0
- package/dist/components/ui-label/UILabels.en.d.ts +1 -0
- package/dist/components/ui-list/UIList.d.ts +1 -0
- package/dist/components/ui-list/UIList.en.d.ts +1 -0
- package/dist/components/ui-loader/UILoader.d.ts +1 -0
- package/dist/components/ui-loader/UILoader.en.d.ts +1 -0
- package/dist/components/ui-markdown/MarkdownBox.d.ts +7 -2
- package/dist/components/ui-markdown/MarkdownFormats.d.ts +9 -4
- package/dist/components/ui-markdown/UIMarkdown.en.d.ts +5 -0
- package/dist/components/ui-markdown/UIMarkdown.es.d.ts +1 -0
- package/dist/components/ui-menu/ScrollingRow.d.ts +19 -1
- package/dist/components/ui-menu/SegmentedThumb.d.ts +8 -1
- package/dist/components/ui-menu/SubMenuAim.d.ts +115 -0
- package/dist/components/ui-menu/TitleFit.d.ts +16 -1
- package/dist/components/ui-menu/UIMenu.d.ts +112 -9
- package/dist/components/ui-menu/UIMenu.en.d.ts +3 -2
- package/dist/components/ui-menu/UISubmenu.d.ts +261 -0
- package/dist/components/ui-menu/UISubmenu.en.d.ts +102 -0
- package/dist/components/ui-menu/UISubmenu.es.d.ts +21 -0
- package/dist/components/ui-menu/index.d.ts +3 -1
- package/dist/components/ui-message/UIMessage.d.ts +3 -2
- package/dist/components/ui-message/UIMessage.en.d.ts +4 -3
- package/dist/components/ui-modal/ModalDialogs.d.ts +36 -2
- package/dist/components/ui-modal/UIModal.d.ts +1 -0
- package/dist/components/ui-modal/UIModal.en.d.ts +1 -0
- package/dist/components/ui-nag/UINag.d.ts +1 -0
- package/dist/components/ui-nag/UINag.en.d.ts +1 -0
- package/dist/components/ui-page/UIPage.d.ts +1 -0
- package/dist/components/ui-page/UIPage.en.d.ts +1 -0
- package/dist/components/ui-page-layout/UIPageLayout.d.ts +311 -0
- package/dist/components/ui-page-layout/UIPageLayout.en.d.ts +99 -0
- package/dist/components/ui-page-layout/UIPageLayout.es.d.ts +38 -0
- package/dist/components/ui-page-layout/index.d.ts +1 -0
- package/dist/components/ui-panel/ScrollShades.d.ts +38 -0
- package/dist/components/ui-panel/UIPanel.d.ts +21 -2
- package/dist/components/ui-panel/UIPanel.en.d.ts +68 -61
- package/dist/components/ui-parts/UIActions.d.ts +1 -0
- package/dist/components/ui-parts/UIActions.en.d.ts +1 -0
- package/dist/components/ui-parts/UIAuthor.d.ts +1 -0
- package/dist/components/ui-parts/UIAuthor.en.d.ts +1 -0
- package/dist/components/ui-parts/UIAvatar.d.ts +11 -2
- package/dist/components/ui-parts/UIAvatar.en.d.ts +3 -2
- package/dist/components/ui-parts/UIContent.d.ts +1 -0
- package/dist/components/ui-parts/UIContent.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDate.d.ts +1 -0
- package/dist/components/ui-parts/UIDate.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDescription.d.ts +1 -0
- package/dist/components/ui-parts/UIDescription.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDetail.d.ts +1 -0
- package/dist/components/ui-parts/UIDetail.en.d.ts +1 -0
- package/dist/components/ui-parts/UIExtra.d.ts +1 -0
- package/dist/components/ui-parts/UIExtra.en.d.ts +1 -0
- package/dist/components/ui-parts/UIHeader.d.ts +16 -5
- package/dist/components/ui-parts/UIHeader.en.d.ts +9 -5
- 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 +23 -7
- package/dist/components/ui-parts/UISummary.d.ts +1 -0
- package/dist/components/ui-parts/UISummary.en.d.ts +1 -0
- package/dist/components/ui-parts/UITitle.d.ts +1 -0
- package/dist/components/ui-parts/UITitle.en.d.ts +1 -0
- package/dist/components/ui-parts/UIValue.d.ts +1 -0
- package/dist/components/ui-parts/UIValue.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholder.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholder.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderHeader.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderHeader.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderImage.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderImage.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderLine.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderLine.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderParagraph.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderParagraph.en.d.ts +1 -0
- package/dist/components/ui-popup/UIPopup.d.ts +21 -3
- package/dist/components/ui-popup/UIPopup.en.d.ts +1 -0
- package/dist/components/ui-progress/UIProgress.d.ts +3 -2
- package/dist/components/ui-progress/UIProgress.en.d.ts +4 -3
- package/dist/components/ui-property-editor/UIProperty.d.ts +47 -13
- package/dist/components/ui-property-editor/UIProperty.en.d.ts +1 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.d.ts +14 -1
- package/dist/components/ui-property-editor/UIPropertyEditor.en.d.ts +1 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.types.d.ts +7 -1
- package/dist/components/ui-property-editor/UIPropertyGroup.d.ts +15 -6
- package/dist/components/ui-property-editor/UIPropertyGroup.en.d.ts +1 -0
- package/dist/components/ui-quote/UIQuote.d.ts +1 -0
- package/dist/components/ui-quote/UIQuote.en.d.ts +1 -0
- package/dist/components/ui-rail/UIRail.d.ts +4 -3
- package/dist/components/ui-rail/UIRail.en.d.ts +4 -3
- package/dist/components/ui-rating/UIRating.d.ts +1 -0
- package/dist/components/ui-rating/UIRating.en.d.ts +1 -0
- package/dist/components/ui-rating/UIRating.fallback.d.ts +1 -0
- package/dist/components/ui-reveal/UIReveal.d.ts +1 -0
- package/dist/components/ui-reveal/UIReveal.en.d.ts +1 -0
- package/dist/components/ui-root/UIRoot.en.d.ts +1 -0
- package/dist/components/ui-search/UISearch.d.ts +1 -0
- package/dist/components/ui-search/UISearch.en.d.ts +1 -0
- package/dist/components/ui-search/UISearch.fallback.d.ts +1 -0
- package/dist/components/ui-section/UISection.d.ts +3 -2
- package/dist/components/ui-section/UISection.en.d.ts +3 -2
- package/dist/components/ui-section/UISections.d.ts +1 -0
- package/dist/components/ui-section/UISections.en.d.ts +1 -0
- package/dist/components/ui-segment/UISegment.d.ts +9 -10
- package/dist/components/ui-segment/UISegment.en.d.ts +10 -11
- package/dist/components/ui-segment/UISegments.d.ts +1 -0
- package/dist/components/ui-segment/UISegments.en.d.ts +1 -0
- package/dist/components/ui-select/UISelect.d.ts +1 -0
- package/dist/components/ui-select/UISelect.en.d.ts +1 -0
- package/dist/components/ui-select/UISelect.fallback.d.ts +1 -0
- package/dist/components/ui-shape/UIShape.d.ts +1 -0
- package/dist/components/ui-shape/UIShape.en.d.ts +1 -0
- package/dist/components/ui-shape/UISide.d.ts +1 -0
- package/dist/components/ui-shape/UISide.en.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPushable.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPushable.en.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPusher.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPusher.en.d.ts +1 -0
- package/dist/components/ui-sidebar/UISidebar.d.ts +1 -0
- package/dist/components/ui-sidebar/UISidebar.en.d.ts +1 -0
- package/dist/components/ui-sides/UISides.d.ts +1 -0
- package/dist/components/ui-sides/UISides.en.d.ts +1 -0
- package/dist/components/ui-sides/UISides.fallback.d.ts +1 -0
- package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.d.ts +118 -0
- package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.en.d.ts +49 -0
- package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.es.d.ts +22 -0
- package/dist/components/ui-site-breadcrumbs/index.d.ts +1 -0
- package/dist/components/ui-site-nav/SitePages.d.ts +26 -3
- package/dist/components/ui-site-nav/UISiteNav.d.ts +43 -5
- package/dist/components/ui-site-nav/UISiteNav.en.d.ts +10 -1
- package/dist/components/ui-site-nav-button/UISiteNavButton.d.ts +63 -0
- package/dist/components/ui-site-nav-button/UISiteNavButton.en.d.ts +173 -0
- package/dist/components/ui-site-nav-button/UISiteNavButton.es.d.ts +20 -0
- package/dist/components/ui-site-nav-button/index.d.ts +1 -0
- package/dist/components/ui-site-tabs/UISiteTabs.d.ts +21 -6
- package/dist/components/ui-site-tabs/UISiteTabs.en.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.en.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.fallback.d.ts +1 -0
- package/dist/components/ui-space/UISpace.d.ts +1 -0
- package/dist/components/ui-space/UISpace.en.d.ts +1 -0
- package/dist/components/ui-split-panel/UISplitPanel.d.ts +43 -7
- package/dist/components/ui-split-panel/UISplitPanel.en.d.ts +2 -1
- package/dist/components/ui-stack/UIStack.d.ts +1 -0
- package/dist/components/ui-stack/UIStack.en.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistic.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistic.en.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistics.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistics.en.d.ts +1 -0
- package/dist/components/ui-step/UIStep.d.ts +1 -0
- package/dist/components/ui-step/UIStep.en.d.ts +1 -0
- package/dist/components/ui-step/UISteps.d.ts +3 -2
- package/dist/components/ui-step/UISteps.en.d.ts +3 -2
- package/dist/components/ui-sticky/UISticky.d.ts +1 -0
- package/dist/components/ui-sticky/UISticky.en.d.ts +1 -0
- package/dist/components/ui-tab/UITab.d.ts +3 -2
- package/dist/components/ui-tab/UITab.en.d.ts +4 -3
- package/dist/components/ui-tab/UITabs.d.ts +5 -4
- package/dist/components/ui-tab/UITabs.en.d.ts +4 -3
- package/dist/components/ui-table/TableGrammar.d.ts +2 -2
- package/dist/components/ui-table/UICell.d.ts +1 -0
- package/dist/components/ui-table/UICell.en.d.ts +1 -0
- package/dist/components/ui-table/UITable.d.ts +7 -6
- package/dist/components/ui-table/UITable.en.d.ts +7 -6
- package/dist/components/ui-terms/UITerm.d.ts +1 -0
- package/dist/components/ui-terms/UITerm.en.d.ts +1 -0
- package/dist/components/ui-terms/UITerms.d.ts +1 -0
- package/dist/components/ui-terms/UITerms.en.d.ts +1 -0
- package/dist/components/ui-text/UILink.d.ts +1 -0
- package/dist/components/ui-text/UILink.en.d.ts +1 -0
- package/dist/components/ui-text/UIText.d.ts +2 -1
- package/dist/components/ui-text/UIText.en.d.ts +2 -1
- package/dist/components/ui-theme-editor/BenchAddress.d.ts +9 -0
- package/dist/components/ui-theme-editor/UIColorChip.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIColorChip.en.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeEditor.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeEditor.en.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeToken.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeToken.en.d.ts +1 -0
- package/dist/components/ui-theme-menu/UIThemeMenu.d.ts +37 -15
- package/dist/components/ui-theme-menu/UIThemeMenu.en.d.ts +3 -2
- package/dist/components/ui-toast/UIToast.d.ts +1 -0
- package/dist/components/ui-toast/UIToast.en.d.ts +1 -0
- package/dist/components/ui-toc/UIToc.d.ts +1 -0
- package/dist/components/ui-toc/UIToc.en.d.ts +1 -0
- package/dist/components/ui-toolbar/UIToolbar.d.ts +134 -1
- package/dist/components/ui-toolbar/UIToolbar.en.d.ts +75 -42
- package/dist/components/ui-toolbar/UIToolbar.es.d.ts +5 -0
- package/dist/components/ui-transition/UITransition.d.ts +1 -0
- package/dist/components/ui-transition/UITransition.en.d.ts +1 -0
- package/dist/components/ui-tree/UITree.d.ts +102 -2
- package/dist/components/ui-tree/UITree.en.d.ts +14 -1
- package/dist/components/ui-tree/UITree.es.d.ts +3 -0
- package/dist/components/ui-tree/UITreeItem.d.ts +21 -2
- package/dist/components/ui-tree/UITreeItem.en.d.ts +5 -1
- package/dist/components/ui-tree/UITreeItem.es.d.ts +1 -0
- package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +1 -0
- package/dist/components/ui-tree-diagram/UITreeDiagram.en.d.ts +1 -0
- package/dist/components/ui-tree-diagram/UITreeNode.d.ts +1 -0
- package/dist/components/ui-tree-diagram/UITreeNode.en.d.ts +1 -0
- package/dist/components/ui-video/UIAudio.d.ts +1 -0
- package/dist/components/ui-video/UIAudio.en.d.ts +1 -0
- package/dist/components/ui-video/UIVideo.d.ts +1 -0
- package/dist/components/ui-video/UIVideo.en.d.ts +1 -0
- package/dist/components/ui-visibility/UIVisibility.d.ts +1 -0
- package/dist/components/ui-visibility/UIVisibility.en.d.ts +1 -0
- package/dist/components/ui-zoom/UIZoom.d.ts +1 -0
- package/dist/components/ui-zoom/UIZoom.en.d.ts +1 -0
- package/dist/{components.es-BOa_7gFF.js → components.es-DEa8Ep42.js} +265 -77
- package/dist/components.es-DEa8Ep42.js.map +1 -0
- package/dist/core.js +884 -806
- package/dist/core.js.map +1 -1
- package/dist/{crisp-VfYZlTph.js → crisp-DIpY320U.js} +3 -4
- package/dist/crisp-DIpY320U.js.map +1 -0
- package/dist/crisp.theme-Ir9p4BDC.js +5 -0
- package/dist/crisp.theme-Ir9p4BDC.js.map +1 -0
- package/dist/{dark-CbUdPe0a.js → dark-B5s4QbmU.js} +2 -3
- package/dist/dark-B5s4QbmU.js.map +1 -0
- package/dist/{dist-BLYIGZVK.js → dist-BQT4KajA.js} +34 -80
- package/dist/dist-BQT4KajA.js.map +1 -0
- package/dist/docs-components/docs-components.types.d.ts +6 -0
- package/dist/docs-components/ui-docs-palette/UIDocsPalette.d.ts +180 -0
- package/dist/docs-components/ui-docs-palette/UIDocsPalette.en.d.ts +88 -0
- package/dist/docs-components/ui-docs-palette/UIDocsPalette.types.d.ts +5 -0
- package/dist/docs-components/ui-docs-palette/index.d.ts +2 -0
- package/dist/docs-components/ui-docs-tokens/UIDocsTokens.d.ts +23 -0
- package/dist/docs-components/ui-docs-tokens/UIDocsTokens.en.d.ts +5 -1
- package/dist/elements/PartComponent.d.ts +5 -0
- package/dist/elements/PopoverPanel.d.ts +12 -1
- package/dist/elements/Validator.d.ts +1 -1
- package/dist/emoji/cldr/{0-DSUpV2d7.js → 0-B6B0nyLW.js} +2 -3
- package/dist/emoji/cldr/0-B6B0nyLW.js.map +1 -0
- package/dist/emoji/cldr/{a-D_oB4vJ-.js → a-C12vpdzK.js} +2 -3
- package/dist/emoji/cldr/a-C12vpdzK.js.map +1 -0
- package/dist/emoji/cldr/{b-DX0W0Mda.js → b-BGkQUJ8v.js} +2 -3
- package/dist/emoji/cldr/b-BGkQUJ8v.js.map +1 -0
- package/dist/emoji/cldr/{c-DUHidpE9.js → c-DtqAfVnG.js} +2 -3
- package/dist/emoji/cldr/c-DtqAfVnG.js.map +1 -0
- package/dist/emoji/cldr/{d-CiCXZXay.js → d-B5SNGAad.js} +2 -3
- package/dist/emoji/cldr/d-B5SNGAad.js.map +1 -0
- package/dist/emoji/cldr/{e-DILJo3Ri.js → e-CMUDvE48.js} +2 -3
- package/dist/emoji/cldr/e-CMUDvE48.js.map +1 -0
- package/dist/emoji/cldr/{f-ByGFLyOq.js → f-Dfhd9bp8.js} +2 -3
- package/dist/emoji/cldr/f-Dfhd9bp8.js.map +1 -0
- package/dist/emoji/cldr/{g-BZ0FRsud.js → g-VpFllv6y.js} +2 -3
- package/dist/emoji/cldr/g-VpFllv6y.js.map +1 -0
- package/dist/emoji/cldr/{h-jtLdvRXQ.js → h-CE6GevC3.js} +2 -3
- package/dist/emoji/cldr/h-CE6GevC3.js.map +1 -0
- package/dist/emoji/cldr/{i-DcbJ5utE.js → i-BUPzV8pA.js} +2 -3
- package/dist/emoji/cldr/i-BUPzV8pA.js.map +1 -0
- package/dist/emoji/cldr/{j-BuEqP5nz.js → j-BFAg68Ig.js} +2 -3
- package/dist/emoji/cldr/j-BFAg68Ig.js.map +1 -0
- package/dist/emoji/cldr/{k-P1J6Gvze.js → k-jnBMfMlM.js} +2 -3
- package/dist/emoji/cldr/k-jnBMfMlM.js.map +1 -0
- package/dist/emoji/cldr/{l-28XcbsPr.js → l-ClLOCfnc.js} +2 -3
- package/dist/emoji/cldr/l-ClLOCfnc.js.map +1 -0
- package/dist/emoji/cldr/{m-DKgGJ8rW.js → m-p358YNne.js} +2 -3
- package/dist/emoji/cldr/m-p358YNne.js.map +1 -0
- package/dist/emoji/cldr/{n-DmPLP4F3.js → n-DOh1UxA2.js} +2 -3
- package/dist/emoji/cldr/n-DOh1UxA2.js.map +1 -0
- package/dist/emoji/cldr/{o-f98nt3s7.js → o-D_nTGMIR.js} +2 -3
- package/dist/emoji/cldr/o-D_nTGMIR.js.map +1 -0
- package/dist/emoji/cldr/{p-CxnsOTOt.js → p-BA8Ct3hE.js} +2 -3
- package/dist/emoji/cldr/p-BA8Ct3hE.js.map +1 -0
- package/dist/emoji/cldr/{r-D0GPRJ-Q.js → r-BFZ26mlC.js} +2 -3
- package/dist/emoji/cldr/r-BFZ26mlC.js.map +1 -0
- package/dist/emoji/cldr/{s-DcFuepnw.js → s-CIZH91hj.js} +2 -3
- package/dist/emoji/cldr/s-CIZH91hj.js.map +1 -0
- package/dist/emoji/cldr/{t-BvHgGpUr.js → t-qg9oQuYr.js} +2 -3
- package/dist/emoji/cldr/t-qg9oQuYr.js.map +1 -0
- package/dist/emoji/cldr/{u-ChFYHtUf.js → u-CN-QpqjC.js} +2 -3
- package/dist/emoji/cldr/u-CN-QpqjC.js.map +1 -0
- package/dist/emoji/cldr/{v-WmX3nWtZ.js → v-CO_76wOC.js} +2 -3
- package/dist/emoji/cldr/v-CO_76wOC.js.map +1 -0
- package/dist/emoji/cldr/{w-BPySQUWW.js → w-DOQn50Cw.js} +2 -3
- package/dist/emoji/cldr/w-DOQn50Cw.js.map +1 -0
- package/dist/emoji/cldr/x-DddFDGbR.js +5 -0
- package/dist/emoji/cldr/x-DddFDGbR.js.map +1 -0
- package/dist/emoji/cldr/{y-zB_yhTFg.js → y-auUWML2r.js} +2 -3
- package/dist/emoji/cldr/y-auUWML2r.js.map +1 -0
- package/dist/emoji/cldr/{z-BgJ94Cap.js → z-BYAp28d6.js} +2 -3
- package/dist/emoji/cldr/z-BYAp28d6.js.map +1 -0
- package/dist/emoji/fomantic/0-BdzcjXW3.js +9 -0
- package/dist/emoji/fomantic/0-BdzcjXW3.js.map +1 -0
- package/dist/emoji/fomantic/{a-CrqYlC21.js → a-R3ZJ-207.js} +2 -3
- package/dist/emoji/fomantic/a-R3ZJ-207.js.map +1 -0
- package/dist/emoji/fomantic/{b-DneVHRdQ.js → b-NF1y0dRD.js} +2 -3
- package/dist/emoji/fomantic/b-NF1y0dRD.js.map +1 -0
- package/dist/emoji/fomantic/{c-ClxKRuir.js → c-CuIzdNXI.js} +2 -3
- package/dist/emoji/fomantic/c-CuIzdNXI.js.map +1 -0
- package/dist/emoji/fomantic/{d-Djqs_y4s.js → d-CuS9uvGS.js} +2 -3
- package/dist/emoji/fomantic/d-CuS9uvGS.js.map +1 -0
- package/dist/emoji/fomantic/{e-CuF-jOQd.js → e-S2pyUDgP.js} +2 -3
- package/dist/emoji/fomantic/e-S2pyUDgP.js.map +1 -0
- package/dist/emoji/fomantic/{f-D8VglrJ4.js → f-DnHzZwKR.js} +2 -3
- package/dist/emoji/fomantic/f-DnHzZwKR.js.map +1 -0
- package/dist/emoji/fomantic/{g-Du_HFl6U.js → g-CdqbF8yB.js} +2 -3
- package/dist/emoji/fomantic/g-CdqbF8yB.js.map +1 -0
- package/dist/emoji/fomantic/{h-CLE5tHnM.js → h-Dgmy17VC.js} +2 -3
- package/dist/emoji/fomantic/h-Dgmy17VC.js.map +1 -0
- package/dist/emoji/fomantic/{i-BjOsrQDZ.js → i-BCe1z6Es.js} +2 -3
- package/dist/emoji/fomantic/i-BCe1z6Es.js.map +1 -0
- package/dist/emoji/fomantic/{j-CyUDXKCu.js → j-D39udLwj.js} +2 -3
- package/dist/emoji/fomantic/j-D39udLwj.js.map +1 -0
- package/dist/emoji/fomantic/{k-Clypg4R8.js → k-KDlJnEWX.js} +2 -3
- package/dist/emoji/fomantic/k-KDlJnEWX.js.map +1 -0
- package/dist/emoji/fomantic/{l-DvLPdBh-.js → l-rVE39-7Z.js} +2 -3
- package/dist/emoji/fomantic/l-rVE39-7Z.js.map +1 -0
- package/dist/emoji/fomantic/{m-B1lIb1kP.js → m-Bys5Cs9k.js} +2 -3
- package/dist/emoji/fomantic/m-Bys5Cs9k.js.map +1 -0
- package/dist/emoji/fomantic/{n-Bgpp_ht5.js → n-DzPz1atY.js} +2 -3
- package/dist/emoji/fomantic/n-DzPz1atY.js.map +1 -0
- package/dist/emoji/fomantic/{o-BhYZzpjp.js → o-lKtDGpuN.js} +2 -3
- package/dist/emoji/fomantic/o-lKtDGpuN.js.map +1 -0
- package/dist/emoji/fomantic/{p-VLL0GK3m.js → p-DUvy18Aa.js} +2 -3
- package/dist/emoji/fomantic/p-DUvy18Aa.js.map +1 -0
- package/dist/emoji/fomantic/q-WtSN0kE7.js +5 -0
- package/dist/emoji/fomantic/q-WtSN0kE7.js.map +1 -0
- package/dist/emoji/fomantic/{r-Bd1DjkkI.js → r-Dm_1szGZ.js} +2 -3
- package/dist/emoji/fomantic/r-Dm_1szGZ.js.map +1 -0
- package/dist/emoji/fomantic/{s-Bqatw1W7.js → s-LPRU4KZk.js} +2 -3
- package/dist/emoji/fomantic/s-LPRU4KZk.js.map +1 -0
- package/dist/emoji/fomantic/{t-Bs7IFhv3.js → t-iQksEIKb.js} +2 -3
- package/dist/emoji/fomantic/t-iQksEIKb.js.map +1 -0
- package/dist/emoji/fomantic/{u-M6GfYC-U.js → u-CkDd-u7Y.js} +2 -3
- package/dist/emoji/fomantic/u-CkDd-u7Y.js.map +1 -0
- package/dist/emoji/fomantic/{v-BKHNqkn0.js → v-C83uQ5pk.js} +2 -3
- package/dist/emoji/fomantic/v-C83uQ5pk.js.map +1 -0
- package/dist/emoji/fomantic/{w-B_XvIu7h.js → w-D_redhGe.js} +2 -3
- package/dist/emoji/fomantic/w-D_redhGe.js.map +1 -0
- package/dist/emoji/fomantic/x-eI_dPUEx.js +8 -0
- package/dist/emoji/fomantic/x-eI_dPUEx.js.map +1 -0
- package/dist/emoji/fomantic/{y-DPZaoIla.js → y-CO_6qz-J.js} +2 -3
- package/dist/emoji/fomantic/y-CO_6qz-J.js.map +1 -0
- package/dist/emoji/fomantic/{z-FH-kPXch.js → z-C-wWxD0a.js} +2 -3
- package/dist/emoji/fomantic/z-C-wWxD0a.js.map +1 -0
- package/dist/forms.js +65 -75
- package/dist/forms.js.map +1 -1
- package/dist/fruity-CsfZNeXb.js +5 -0
- package/dist/fruity-CsfZNeXb.js.map +1 -0
- package/dist/{fruity.theme-CbC7Jyvk.js → fruity.theme-BL7cCZUQ.js} +3 -4
- package/dist/fruity.theme-BL7cCZUQ.js.map +1 -0
- package/dist/glass-BCK30hpe.js +5 -0
- package/dist/glass-BCK30hpe.js.map +1 -0
- package/dist/glass.theme-C7QSRB7b.js +5 -0
- package/dist/glass.theme-C7QSRB7b.js.map +1 -0
- package/dist/hot.js +18 -32
- package/dist/hot.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +95 -90
- package/dist/jsx.d.ts +3869 -715
- package/dist/matrix-DEnqBfwC.js +5 -0
- package/dist/matrix-DEnqBfwC.js.map +1 -0
- package/dist/matrix.theme-YV6_nvXv.js +5 -0
- package/dist/matrix.theme-YV6_nvXv.js.map +1 -0
- package/dist/{merlot-DOXLuUaU.js → merlot-DFa6kDbA.js} +3 -4
- package/dist/merlot-DFa6kDbA.js.map +1 -0
- package/dist/merlot.theme-B1K8nn2u.js +5 -0
- package/dist/merlot.theme-B1K8nn2u.js.map +1 -0
- package/dist/{midnight-BxlTQSfw.js → midnight-q0-3-V6U.js} +3 -4
- package/dist/midnight-q0-3-V6U.js.map +1 -0
- package/dist/midnight.theme-C7M02wTD.js +5 -0
- package/dist/midnight.theme-C7M02wTD.js.map +1 -0
- package/dist/mockup-D0vovNO7.js +5 -0
- package/dist/mockup-D0vovNO7.js.map +1 -0
- package/dist/mockup.theme-C92r9NI0.js +5 -0
- package/dist/mockup.theme-C92r9NI0.js.map +1 -0
- package/dist/{paper-M61nUilz.js → paper-DPxolmdy.js} +3 -4
- package/dist/paper-DPxolmdy.js.map +1 -0
- package/dist/paper.theme-BAKk3DY1.js +5 -0
- package/dist/paper.theme-BAKk3DY1.js.map +1 -0
- package/dist/{persist.types-D2m6wD-S.js → persist.types-D7N7GewC.js} +2 -3
- package/dist/persist.types-D7N7GewC.js.map +1 -0
- package/dist/{pop-CxXfytjk.js → pop-Dw_6k177.js} +3 -4
- package/dist/pop-Dw_6k177.js.map +1 -0
- package/dist/pop.theme-Cw-yD0MO.js +5 -0
- package/dist/pop.theme-Cw-yD0MO.js.map +1 -0
- package/dist/property/PropertyEditorPages.d.ts +1 -1
- package/dist/property/PropertyLayouts.d.ts +119 -0
- package/dist/property/PropertySchemas.d.ts +5 -1
- package/dist/property/index.d.ts +2 -0
- package/dist/{rolldown-runtime-CYGlBXrH.js → rolldown-runtime-c6e9CmGy.js} +2 -3
- package/dist/runtime/Browser.d.ts +7 -0
- package/dist/runtime/DataTooltips.d.ts +2 -0
- package/dist/runtime/Keyboard.d.ts +4 -1
- package/dist/runtime/Toasts.d.ts +10 -0
- package/dist/runtime/runtime.types.d.ts +47 -0
- package/dist/{search-CzSzx7bX.js → search-C2Rq9HF1.js} +1 -2
- package/dist/search-C2Rq9HF1.js.map +1 -0
- package/dist/spell-CB-MivSX.js +5 -0
- package/dist/spell-CB-MivSX.js.map +1 -0
- package/dist/spell.theme-CUoc5rTq.js +5 -0
- package/dist/spell.theme-CUoc5rTq.js.map +1 -0
- package/dist/styles/StyleGenerator.d.ts +7 -0
- package/dist/styles/styles.en.d.ts +27 -18
- package/dist/{styles.en-CUUxNwHo.js → styles.en-DZlSJiOR.js} +21 -21
- package/dist/styles.en-DZlSJiOR.js.map +1 -0
- package/dist/styles.js +9 -10
- package/dist/styles.js.map +1 -1
- package/dist/ui-accordion.editor-BP8uQGGU.js +5 -0
- package/dist/ui-accordion.editor-BP8uQGGU.js.map +1 -0
- package/dist/ui-accordion.js +59 -60
- package/dist/ui-accordion.js.map +1 -1
- package/dist/ui-action.editor-m5R5N5Wy.js +5 -0
- package/dist/ui-action.editor-m5R5N5Wy.js.map +1 -0
- package/dist/ui-action.js +73 -45
- package/dist/ui-action.js.map +1 -1
- package/dist/ui-actions.editor-Buc3N2ik.js +5 -0
- package/dist/ui-actions.editor-Buc3N2ik.js.map +1 -0
- package/dist/ui-ad.editor-BHTDuSii.js +5 -0
- package/dist/ui-ad.editor-BHTDuSii.js.map +1 -0
- package/dist/ui-ad.js +8 -9
- package/dist/ui-ad.js.map +1 -1
- package/dist/ui-app-menu.editor-DxPPnMUT.js +5 -0
- package/dist/ui-app-menu.editor-DxPPnMUT.js.map +1 -0
- package/dist/ui-app-menu.js +89 -0
- package/dist/ui-app-menu.js.map +1 -0
- package/dist/ui-audio.editor-Y6WeqLRh.js +5 -0
- package/dist/ui-audio.editor-Y6WeqLRh.js.map +1 -0
- package/dist/ui-author.editor-Bmf-rEXY.js +5 -0
- package/dist/ui-author.editor-Bmf-rEXY.js.map +1 -0
- package/dist/ui-avatar.editor-CSU6snQz.js +5 -0
- package/dist/ui-avatar.editor-CSU6snQz.js.map +1 -0
- package/dist/ui-breadcrumb.editor-N1-8OzDq.js +5 -0
- package/dist/ui-breadcrumb.editor-N1-8OzDq.js.map +1 -0
- package/dist/ui-breadcrumbs.editor-Mml0fUR_.js +5 -0
- package/dist/ui-breadcrumbs.editor-Mml0fUR_.js.map +1 -0
- package/dist/ui-breadcrumbs.js +18 -17
- package/dist/ui-breadcrumbs.js.map +1 -1
- package/dist/ui-button.editor-BV9Bh_xf.js +5 -0
- package/dist/ui-button.editor-BV9Bh_xf.js.map +1 -0
- package/dist/ui-button.js +157 -156
- package/dist/ui-button.js.map +1 -1
- package/dist/ui-buttons.editor-CSsEIo2s.js +5 -0
- package/dist/ui-buttons.editor-CSsEIo2s.js.map +1 -0
- package/dist/ui-calendar.editor-TsP8a97s.js +5 -0
- package/dist/ui-calendar.editor-TsP8a97s.js.map +1 -0
- package/dist/ui-calendar.js +148 -157
- package/dist/ui-calendar.js.map +1 -1
- package/dist/ui-card.editor-BBZj9e03.js +5 -0
- package/dist/ui-card.editor-BBZj9e03.js.map +1 -0
- package/dist/ui-card.js +70 -70
- package/dist/ui-card.js.map +1 -1
- package/dist/ui-cards.editor-Hrmldr4q.js +5 -0
- package/dist/ui-cards.editor-Hrmldr4q.js.map +1 -0
- package/dist/ui-cell.editor-Dmz_mwJ0.js +5 -0
- package/dist/ui-cell.editor-Dmz_mwJ0.js.map +1 -0
- package/dist/ui-checkbox.editor-DnOz9r6d.js +5 -0
- package/dist/ui-checkbox.editor-DnOz9r6d.js.map +1 -0
- package/dist/ui-checkbox.js +49 -48
- package/dist/ui-checkbox.js.map +1 -1
- package/dist/ui-code.editor-Drr_FVB6.js +5 -0
- package/dist/ui-code.editor-Drr_FVB6.js.map +1 -0
- package/dist/ui-code.js +116 -79
- package/dist/ui-code.js.map +1 -1
- package/dist/ui-color-chip.editor-B3zV8FkB.js +5 -0
- package/dist/ui-color-chip.editor-B3zV8FkB.js.map +1 -0
- package/dist/ui-column.editor-hdUb-qwT.js +5 -0
- package/dist/ui-column.editor-hdUb-qwT.js.map +1 -0
- package/dist/ui-comment.editor-DJpE_8tz.js +5 -0
- package/dist/ui-comment.editor-DJpE_8tz.js.map +1 -0
- package/dist/ui-comment.js +15 -14
- package/dist/ui-comment.js.map +1 -1
- package/dist/ui-comments.editor-GFJN6l3Q.js +5 -0
- package/dist/ui-comments.editor-GFJN6l3Q.js.map +1 -0
- package/dist/ui-components.editor-BKFXnARt.js +5 -0
- package/dist/ui-components.editor-BKFXnARt.js.map +1 -0
- package/dist/ui-components.js +12 -13
- package/dist/ui-components.js.map +1 -1
- package/dist/ui-container.editor-CBNhNkRm.js +5 -0
- package/dist/ui-container.editor-CBNhNkRm.js.map +1 -0
- package/dist/ui-container.js +106 -21
- package/dist/ui-container.js.map +1 -1
- package/dist/ui-content.editor-B78lxK3P.js +5 -0
- package/dist/ui-content.editor-B78lxK3P.js.map +1 -0
- package/dist/ui-date.editor-PHEnU7QX.js +5 -0
- package/dist/ui-date.editor-PHEnU7QX.js.map +1 -0
- package/dist/ui-description.editor-DWFDJ9mV.js +5 -0
- package/dist/ui-description.editor-DWFDJ9mV.js.map +1 -0
- package/dist/ui-detail.editor-wliuVbx3.js +5 -0
- package/dist/ui-detail.editor-wliuVbx3.js.map +1 -0
- package/dist/ui-device.editor-kl48NVma.js +5 -0
- package/dist/ui-device.editor-kl48NVma.js.map +1 -0
- package/dist/ui-device.js +436 -0
- package/dist/ui-device.js.map +1 -0
- package/dist/ui-diagram-node.editor-6FyjT7oj.js +5 -0
- package/dist/ui-diagram-node.editor-6FyjT7oj.js.map +1 -0
- package/dist/ui-diagram.editor-Dn3ef-J9.js +5 -0
- package/dist/ui-diagram.editor-Dn3ef-J9.js.map +1 -0
- package/dist/ui-diagram.js +128 -129
- package/dist/ui-diagram.js.map +1 -1
- package/dist/ui-dimension.editor-BEXGKcCB.js +5 -0
- package/dist/ui-dimension.editor-BEXGKcCB.js.map +1 -0
- package/dist/ui-dimension.js +111 -12
- package/dist/ui-dimension.js.map +1 -1
- package/dist/ui-dimmer.editor-D14xzXIe.js +5 -0
- package/dist/ui-dimmer.editor-D14xzXIe.js.map +1 -0
- package/dist/ui-dimmer.js +29 -30
- package/dist/ui-dimmer.js.map +1 -1
- package/dist/ui-divider.editor-D6ozEXjx.js +5 -0
- package/dist/ui-divider.editor-D6ozEXjx.js.map +1 -0
- package/dist/ui-divider.js +9 -10
- package/dist/ui-divider.js.map +1 -1
- package/dist/ui-dropdown.editor-OFDGi1oz.js +5 -0
- package/dist/ui-dropdown.editor-OFDGi1oz.js.map +1 -0
- package/dist/ui-dropdown.js +155 -156
- package/dist/ui-dropdown.js.map +1 -1
- package/dist/ui-embed.editor-DHsrjw1j.js +5 -0
- package/dist/ui-embed.editor-DHsrjw1j.js.map +1 -0
- package/dist/ui-embed.js +23 -24
- package/dist/ui-embed.js.map +1 -1
- package/dist/ui-emoji.editor-DUL230Hi.js +5 -0
- package/dist/ui-emoji.editor-DUL230Hi.js.map +1 -0
- package/dist/ui-emoji.js +63 -64
- package/dist/ui-emoji.js.map +1 -1
- package/dist/ui-event.editor-Bk17y7wW.js +5 -0
- package/dist/ui-event.editor-Bk17y7wW.js.map +1 -0
- package/dist/ui-example.editor-D46Vnctp.js +5 -0
- package/dist/ui-example.editor-D46Vnctp.js.map +1 -0
- package/dist/ui-example.js +67 -74
- package/dist/ui-example.js.map +1 -1
- package/dist/ui-extra.editor-rX6sfH2e.js +5 -0
- package/dist/ui-extra.editor-rX6sfH2e.js.map +1 -0
- package/dist/ui-feed.editor-B7ycWh1b.js +5 -0
- package/dist/ui-feed.editor-B7ycWh1b.js.map +1 -0
- package/dist/ui-feed.js +26 -25
- package/dist/ui-feed.js.map +1 -1
- package/dist/ui-field.editor-Bz9xyCVv.js +5 -0
- package/dist/ui-field.editor-Bz9xyCVv.js.map +1 -0
- package/dist/ui-fields.editor-BUtW4NTk.js +5 -0
- package/dist/ui-fields.editor-BUtW4NTk.js.map +1 -0
- package/dist/ui-flag.editor-DNfdXo7y.js +5 -0
- package/dist/ui-flag.editor-DNfdXo7y.js.map +1 -0
- package/dist/ui-flag.js +13 -14
- package/dist/ui-flag.js.map +1 -1
- package/dist/ui-flyout.editor-b7UJYiV9.js +5 -0
- package/dist/ui-flyout.editor-b7UJYiV9.js.map +1 -0
- package/dist/ui-flyout.js +10 -11
- package/dist/ui-flyout.js.map +1 -1
- package/dist/ui-form.editor-BJC3WhNf.js +5 -0
- package/dist/ui-form.editor-BJC3WhNf.js.map +1 -0
- package/dist/ui-form.js +199 -195
- package/dist/ui-form.js.map +1 -1
- package/dist/ui-grid.editor-DVn2YIBW.js +5 -0
- package/dist/ui-grid.editor-DVn2YIBW.js.map +1 -0
- package/dist/ui-grid.js +43 -234
- package/dist/ui-grid.js.map +1 -1
- package/dist/ui-header.editor-meOjCASK.js +5 -0
- package/dist/ui-header.editor-meOjCASK.js.map +1 -0
- package/dist/ui-icon-picker.editor-vFPbT9Kh.js +5 -0
- package/dist/ui-icon-picker.editor-vFPbT9Kh.js.map +1 -0
- package/dist/ui-icon-picker.js +64 -69
- package/dist/ui-icon-picker.js.map +1 -1
- package/dist/ui-icon.editor-DoKK49PD.js +5 -0
- package/dist/ui-icon.editor-DoKK49PD.js.map +1 -0
- package/dist/ui-icon.js +15 -14
- package/dist/ui-icon.js.map +1 -1
- package/dist/ui-icons.editor-CSD6fOVt.js +5 -0
- package/dist/ui-icons.editor-CSD6fOVt.js.map +1 -0
- package/dist/ui-image.editor-D4ZUC_Ka.js +5 -0
- package/dist/ui-image.editor-D4ZUC_Ka.js.map +1 -0
- package/dist/ui-image.js +26 -26
- package/dist/ui-image.js.map +1 -1
- package/dist/ui-images.editor-Cb0D3vnI.js +5 -0
- package/dist/ui-images.editor-Cb0D3vnI.js.map +1 -0
- package/dist/ui-include.editor-CZcsVJbH.js +5 -0
- package/dist/ui-include.editor-CZcsVJbH.js.map +1 -0
- package/dist/ui-include.js +21 -22
- package/dist/ui-include.js.map +1 -1
- package/dist/ui-input.editor-budoNoB0.js +5 -0
- package/dist/ui-input.editor-budoNoB0.js.map +1 -0
- package/dist/ui-input.js +131 -130
- package/dist/ui-input.js.map +1 -1
- package/dist/ui-item.editor-BlWp1HXu.js +5 -0
- package/dist/ui-item.editor-BlWp1HXu.js.map +1 -0
- package/dist/ui-item.js +127 -113
- package/dist/ui-item.js.map +1 -1
- package/dist/ui-items.editor-GOul3Xss.js +5 -0
- package/dist/ui-items.editor-GOul3Xss.js.map +1 -0
- package/dist/ui-items.js +11 -12
- package/dist/ui-items.js.map +1 -1
- package/dist/ui-json.editor-BgZbrB_W.js +5 -0
- package/dist/ui-json.editor-BgZbrB_W.js.map +1 -0
- package/dist/ui-json.js +18 -19
- package/dist/ui-json.js.map +1 -1
- package/dist/ui-keys.editor-BI9EDtS4.js +5 -0
- package/dist/ui-keys.editor-BI9EDtS4.js.map +1 -0
- package/dist/ui-keys.js +2 -3
- package/dist/ui-label.editor-BVUYLSUs.js +5 -0
- package/dist/ui-label.editor-BVUYLSUs.js.map +1 -0
- package/dist/ui-label.js +22 -22
- package/dist/ui-label.js.map +1 -1
- package/dist/ui-labels.editor-BWJth86p.js +5 -0
- package/dist/ui-labels.editor-BWJth86p.js.map +1 -0
- package/dist/ui-link.editor-CpI53scP.js +5 -0
- package/dist/ui-link.editor-CpI53scP.js.map +1 -0
- package/dist/ui-list.editor-DhBZIkAa.js +5 -0
- package/dist/ui-list.editor-DhBZIkAa.js.map +1 -0
- package/dist/ui-list.js +9 -10
- package/dist/ui-list.js.map +1 -1
- package/dist/ui-loader.editor-BJlvmP7S.js +5 -0
- package/dist/ui-loader.editor-BJlvmP7S.js.map +1 -0
- package/dist/ui-loader.js +10 -11
- package/dist/ui-loader.js.map +1 -1
- package/dist/ui-markdown.editor-DPVKyxXa.js +5 -0
- package/dist/ui-markdown.editor-DPVKyxXa.js.map +1 -0
- package/dist/ui-markdown.js +208 -154
- package/dist/ui-markdown.js.map +1 -1
- package/dist/ui-menu.editor-DJ3PhWtK.js +5 -0
- package/dist/ui-menu.editor-DJ3PhWtK.js.map +1 -0
- package/dist/ui-menu.js +815 -223
- package/dist/ui-menu.js.map +1 -1
- package/dist/ui-message.editor-vfT0pyu5.js +5 -0
- package/dist/ui-message.editor-vfT0pyu5.js.map +1 -0
- package/dist/ui-message.js +32 -33
- package/dist/ui-message.js.map +1 -1
- package/dist/ui-meta.editor-Bk5m43-E.js +5 -0
- package/dist/ui-meta.editor-Bk5m43-E.js.map +1 -0
- package/dist/ui-modal.editor-CkkJRgab.js +5 -0
- package/dist/ui-modal.editor-CkkJRgab.js.map +1 -0
- package/dist/ui-modal.js +132 -96
- package/dist/ui-modal.js.map +1 -1
- package/dist/ui-nag.editor-BJ3Ia2Bi.js +5 -0
- package/dist/ui-nag.editor-BJ3Ia2Bi.js.map +1 -0
- package/dist/ui-nag.js +23 -24
- package/dist/ui-nag.js.map +1 -1
- package/dist/ui-or.editor-BfBLNVgm.js +5 -0
- package/dist/ui-or.editor-BfBLNVgm.js.map +1 -0
- package/dist/ui-page-layout.editor-xtQW0FZk.js +5 -0
- package/dist/ui-page-layout.editor-xtQW0FZk.js.map +1 -0
- package/dist/ui-page-layout.js +363 -0
- package/dist/ui-page-layout.js.map +1 -0
- package/dist/ui-page.editor-Bd5mzlj7.js +5 -0
- package/dist/ui-page.editor-Bd5mzlj7.js.map +1 -0
- package/dist/ui-page.js +11 -12
- package/dist/ui-page.js.map +1 -1
- package/dist/ui-panel.editor-BCUkdr4S.js +5 -0
- package/dist/ui-panel.editor-BCUkdr4S.js.map +1 -0
- package/dist/ui-panel.js +105 -27
- package/dist/ui-panel.js.map +1 -1
- package/dist/ui-parts.js +108 -66
- package/dist/ui-parts.js.map +1 -1
- package/dist/ui-placeholder-header.editor-CJNO08Ax.js +5 -0
- package/dist/ui-placeholder-header.editor-CJNO08Ax.js.map +1 -0
- package/dist/ui-placeholder-image.editor-DctJiCNv.js +5 -0
- package/dist/ui-placeholder-image.editor-DctJiCNv.js.map +1 -0
- package/dist/ui-placeholder-line.editor-DcxH7mOo.js +5 -0
- package/dist/ui-placeholder-line.editor-DcxH7mOo.js.map +1 -0
- package/dist/ui-placeholder-paragraph.editor-C4rww_tp.js +5 -0
- package/dist/ui-placeholder-paragraph.editor-C4rww_tp.js.map +1 -0
- package/dist/ui-placeholder.editor-Bc0CYlZZ.js +5 -0
- package/dist/ui-placeholder.editor-Bc0CYlZZ.js.map +1 -0
- package/dist/ui-placeholder.js +23 -19
- package/dist/ui-placeholder.js.map +1 -1
- package/dist/ui-popup.editor-ByUi4CYs.js +5 -0
- package/dist/ui-popup.editor-ByUi4CYs.js.map +1 -0
- package/dist/ui-popup.js +107 -100
- package/dist/ui-popup.js.map +1 -1
- package/dist/ui-progress.editor-DX0IjhxZ.js +5 -0
- package/dist/ui-progress.editor-DX0IjhxZ.js.map +1 -0
- package/dist/ui-progress.js +23 -24
- package/dist/ui-progress.js.map +1 -1
- package/dist/ui-property-editor.editor-pS6tCPPT.js +5 -0
- package/dist/ui-property-editor.editor-pS6tCPPT.js.map +1 -0
- package/dist/ui-property-editor.js +649 -277
- package/dist/ui-property-editor.js.map +1 -1
- package/dist/ui-property-group.editor-BlpUMVlr.js +5 -0
- package/dist/ui-property-group.editor-BlpUMVlr.js.map +1 -0
- package/dist/ui-property.editor-BC-jtjjt.js +5 -0
- package/dist/ui-property.editor-BC-jtjjt.js.map +1 -0
- package/dist/ui-pushable.editor-8_EmUD9x.js +5 -0
- package/dist/ui-pushable.editor-8_EmUD9x.js.map +1 -0
- package/dist/ui-pusher.editor-CiCX6-1J.js +5 -0
- package/dist/ui-pusher.editor-CiCX6-1J.js.map +1 -0
- package/dist/ui-quote.editor-BvmAjmo9.js +5 -0
- package/dist/ui-quote.editor-BvmAjmo9.js.map +1 -0
- package/dist/ui-quote.js +8 -9
- package/dist/ui-quote.js.map +1 -1
- package/dist/ui-radio.editor-DPzActfO.js +5 -0
- package/dist/ui-radio.editor-DPzActfO.js.map +1 -0
- package/dist/ui-rail.editor-DRfVH4P2.js +5 -0
- package/dist/ui-rail.editor-DRfVH4P2.js.map +1 -0
- package/dist/ui-rail.js +11 -12
- package/dist/ui-rail.js.map +1 -1
- package/dist/ui-rating.editor-C19syymj.js +5 -0
- package/dist/ui-rating.editor-C19syymj.js.map +1 -0
- package/dist/ui-rating.js +40 -49
- package/dist/ui-rating.js.map +1 -1
- package/dist/ui-repeat.editor-DEf-bFGj.js +5 -0
- package/dist/ui-repeat.editor-DEf-bFGj.js.map +1 -0
- package/dist/ui-reveal.editor-D7pDOaen.js +5 -0
- package/dist/ui-reveal.editor-D7pDOaen.js.map +1 -0
- package/dist/ui-reveal.js +10 -11
- package/dist/ui-reveal.js.map +1 -1
- package/dist/ui-root.editor-CAokPDVa.js +5 -0
- package/dist/ui-root.editor-CAokPDVa.js.map +1 -0
- package/dist/ui-root.js +205 -102
- package/dist/ui-root.js.map +1 -1
- package/dist/ui-row.editor-C00Z6Jl5.js +5 -0
- package/dist/ui-row.editor-C00Z6Jl5.js.map +1 -0
- package/dist/ui-search.editor-CtzfYgNu.js +5 -0
- package/dist/ui-search.editor-CtzfYgNu.js.map +1 -0
- package/dist/ui-search.js +143 -146
- package/dist/ui-search.js.map +1 -1
- package/dist/ui-section.editor-DmNICxCs.js +5 -0
- package/dist/ui-section.editor-DmNICxCs.js.map +1 -0
- package/dist/ui-section.js +74 -73
- package/dist/ui-section.js.map +1 -1
- package/dist/ui-sections.editor-BxXECGv9.js +5 -0
- package/dist/ui-sections.editor-BxXECGv9.js.map +1 -0
- package/dist/ui-segment.editor-CebyLPFn.js +5 -0
- package/dist/ui-segment.editor-CebyLPFn.js.map +1 -0
- package/dist/ui-segment.js +43 -43
- package/dist/ui-segment.js.map +1 -1
- package/dist/ui-segments.editor-CSumzMa5.js +5 -0
- package/dist/ui-segments.editor-CSumzMa5.js.map +1 -0
- package/dist/ui-select.editor-wAcZzvU7.js +5 -0
- package/dist/ui-select.editor-wAcZzvU7.js.map +1 -0
- package/dist/ui-select.js +86 -87
- package/dist/ui-select.js.map +1 -1
- package/dist/ui-shape.editor-By9-8aD2.js +5 -0
- package/dist/ui-shape.editor-By9-8aD2.js.map +1 -0
- package/dist/ui-shape.js +39 -38
- package/dist/ui-shape.js.map +1 -1
- package/dist/ui-side.editor-CFSqGHGH.js +5 -0
- package/dist/ui-side.editor-CFSqGHGH.js.map +1 -0
- package/dist/ui-sidebar.editor-DWFPQcXv.js +5 -0
- package/dist/ui-sidebar.editor-DWFPQcXv.js.map +1 -0
- package/dist/ui-sidebar.js +79 -77
- package/dist/ui-sidebar.js.map +1 -1
- package/dist/ui-sides.editor-CONIJ1r3.js +5 -0
- package/dist/ui-sides.editor-CONIJ1r3.js.map +1 -0
- package/dist/ui-sides.js +25 -26
- package/dist/ui-sides.js.map +1 -1
- package/dist/ui-site-breadcrumbs.editor-Dmc4qziE.js +5 -0
- package/dist/ui-site-breadcrumbs.editor-Dmc4qziE.js.map +1 -0
- package/dist/ui-site-breadcrumbs.js +143 -0
- package/dist/ui-site-breadcrumbs.js.map +1 -0
- package/dist/ui-site-nav-button.editor-6J-zJLtZ.js +5 -0
- package/dist/ui-site-nav-button.editor-6J-zJLtZ.js.map +1 -0
- package/dist/ui-site-nav-button.js +113 -0
- package/dist/ui-site-nav-button.js.map +1 -0
- package/dist/ui-site-nav.editor-CKEsOGCX.js +5 -0
- package/dist/ui-site-nav.editor-CKEsOGCX.js.map +1 -0
- package/dist/ui-site-nav.js +133 -97
- package/dist/ui-site-nav.js.map +1 -1
- package/dist/ui-site-tabs.editor-DDvQfH6S.js +5 -0
- package/dist/ui-site-tabs.editor-DDvQfH6S.js.map +1 -0
- package/dist/ui-site-tabs.js +53 -48
- package/dist/ui-site-tabs.js.map +1 -1
- package/dist/ui-slider.editor-BEaasx5Q.js +5 -0
- package/dist/ui-slider.editor-BEaasx5Q.js.map +1 -0
- package/dist/ui-slider.js +37 -38
- package/dist/ui-slider.js.map +1 -1
- package/dist/ui-space.editor-s-XVWFBN.js +5 -0
- package/dist/ui-space.editor-s-XVWFBN.js.map +1 -0
- package/dist/ui-space.js +9 -10
- package/dist/ui-space.js.map +1 -1
- package/dist/ui-split-panel.editor-Cvy5W7nk.js +5 -0
- package/dist/ui-split-panel.editor-Cvy5W7nk.js.map +1 -0
- package/dist/ui-split-panel.js +107 -68
- package/dist/ui-split-panel.js.map +1 -1
- package/dist/ui-stack.editor-D69Fky6H.js +5 -0
- package/dist/ui-stack.editor-D69Fky6H.js.map +1 -0
- package/dist/ui-stack.js +12 -13
- package/dist/ui-stack.js.map +1 -1
- package/dist/ui-statistic.editor-CBzYqbQ5.js +5 -0
- package/dist/ui-statistic.editor-CBzYqbQ5.js.map +1 -0
- package/dist/ui-statistic.js +28 -27
- package/dist/ui-statistic.js.map +1 -1
- package/dist/ui-statistics.editor-fzh3uk_b.js +5 -0
- package/dist/ui-statistics.editor-fzh3uk_b.js.map +1 -0
- package/dist/ui-step.editor-CYmNXrk_.js +5 -0
- package/dist/ui-step.editor-CYmNXrk_.js.map +1 -0
- package/dist/ui-step.js +62 -61
- package/dist/ui-step.js.map +1 -1
- package/dist/ui-steps.editor-BkMIrUrj.js +5 -0
- package/dist/ui-steps.editor-BkMIrUrj.js.map +1 -0
- package/dist/ui-sticky.editor-D7R1AlJv.js +5 -0
- package/dist/ui-sticky.editor-D7R1AlJv.js.map +1 -0
- package/dist/ui-sticky.js +10 -11
- package/dist/ui-sticky.js.map +1 -1
- package/dist/ui-submenu.editor-NdjS0em-.js +5 -0
- package/dist/ui-submenu.editor-NdjS0em-.js.map +1 -0
- package/dist/ui-summary.editor-CCHS1mVz.js +5 -0
- package/dist/ui-summary.editor-CCHS1mVz.js.map +1 -0
- package/dist/ui-tab.editor-DCS-gCZV.js +5 -0
- package/dist/ui-tab.editor-DCS-gCZV.js.map +1 -0
- package/dist/ui-tab.js +115 -117
- package/dist/ui-tab.js.map +1 -1
- package/dist/ui-table.editor-DJvfg9oG.js +5 -0
- package/dist/ui-table.editor-DJvfg9oG.js.map +1 -0
- package/dist/ui-table.js +272 -272
- package/dist/ui-table.js.map +1 -1
- package/dist/ui-tabs.editor-waeMoFNM.js +5 -0
- package/dist/ui-tabs.editor-waeMoFNM.js.map +1 -0
- package/dist/ui-term.editor-BMCF3jBM.js +5 -0
- package/dist/ui-term.editor-BMCF3jBM.js.map +1 -0
- package/dist/ui-terms.editor-BLfVVsjI.js +5 -0
- package/dist/ui-terms.editor-BLfVVsjI.js.map +1 -0
- package/dist/ui-terms.js +13 -12
- package/dist/ui-terms.js.map +1 -1
- package/dist/ui-text.editor-B6AENK13.js +5 -0
- package/dist/ui-text.editor-B6AENK13.js.map +1 -0
- package/dist/ui-text.js +37 -36
- package/dist/ui-text.js.map +1 -1
- package/dist/ui-textarea.editor-C25lVwrF.js +5 -0
- package/dist/ui-textarea.editor-C25lVwrF.js.map +1 -0
- package/dist/ui-theme-editor.editor-CQGAgy-Q.js +5 -0
- package/dist/ui-theme-editor.editor-CQGAgy-Q.js.map +1 -0
- package/dist/ui-theme-editor.js +448 -461
- package/dist/ui-theme-editor.js.map +1 -1
- package/dist/{ui-theme-menu-CuIjr8Ou.js → ui-theme-menu-BZYUMrHe.js} +356 -352
- package/dist/ui-theme-menu-BZYUMrHe.js.map +1 -0
- package/dist/ui-theme-menu.editor-DNeI-hxN.js +5 -0
- package/dist/ui-theme-menu.editor-DNeI-hxN.js.map +1 -0
- package/dist/ui-theme-token.editor-C2YAdEye.js +5 -0
- package/dist/ui-theme-token.editor-C2YAdEye.js.map +1 -0
- package/dist/ui-title.editor-40PZSOpn.js +5 -0
- package/dist/ui-title.editor-40PZSOpn.js.map +1 -0
- package/dist/ui-toast.editor-BDmIUsU_.js +5 -0
- package/dist/ui-toast.editor-BDmIUsU_.js.map +1 -0
- package/dist/ui-toast.js +125 -128
- package/dist/ui-toast.js.map +1 -1
- package/dist/ui-toc.editor-D_S1KFY_.js +5 -0
- package/dist/ui-toc.editor-D_S1KFY_.js.map +1 -0
- package/dist/ui-toc.js +52 -53
- package/dist/ui-toc.js.map +1 -1
- package/dist/ui-toolbar.editor-CNQ8nJmR.js +5 -0
- package/dist/ui-toolbar.editor-CNQ8nJmR.js.map +1 -0
- package/dist/ui-toolbar.js +254 -50
- package/dist/ui-toolbar.js.map +1 -1
- package/dist/ui-transition.editor-8SQkDkZ6.js +5 -0
- package/dist/ui-transition.editor-8SQkDkZ6.js.map +1 -0
- package/dist/ui-transition.js +13 -14
- package/dist/ui-transition.js.map +1 -1
- package/dist/ui-tree-diagram.editor-DkEK8i7J.js +5 -0
- package/dist/ui-tree-diagram.editor-DkEK8i7J.js.map +1 -0
- package/dist/ui-tree-diagram.js +128 -127
- package/dist/ui-tree-diagram.js.map +1 -1
- package/dist/ui-tree-item.editor-C4fuAlbJ.js +5 -0
- package/dist/ui-tree-item.editor-C4fuAlbJ.js.map +1 -0
- package/dist/ui-tree-node.editor-CB1z_w9F.js +5 -0
- package/dist/ui-tree-node.editor-CB1z_w9F.js.map +1 -0
- package/dist/ui-tree.editor-BoQztwdz.js +5 -0
- package/dist/ui-tree.editor-BoQztwdz.js.map +1 -0
- package/dist/ui-tree.js +393 -134
- package/dist/ui-tree.js.map +1 -1
- package/dist/ui-value.editor-CYak24cr.js +5 -0
- package/dist/ui-value.editor-CYak24cr.js.map +1 -0
- package/dist/ui-video.editor-CuWtFVjR.js +5 -0
- package/dist/ui-video.editor-CuWtFVjR.js.map +1 -0
- package/dist/ui-video.js +15 -14
- package/dist/ui-video.js.map +1 -1
- package/dist/ui-visibility.editor-Crx0DTlv.js +5 -0
- package/dist/ui-visibility.editor-Crx0DTlv.js.map +1 -0
- package/dist/ui-visibility.js +25 -26
- package/dist/ui-visibility.js.map +1 -1
- package/dist/ui-zoom.editor-DZ3HsWV4.js +5 -0
- package/dist/ui-zoom.editor-DZ3HsWV4.js.map +1 -0
- package/dist/ui-zoom.js +82 -83
- package/dist/ui-zoom.js.map +1 -1
- package/dist/util/TopLayerTip.d.ts +11 -2
- package/dist/vocabulary/SharedVocabulary.d.ts +2 -0
- package/dist/vocabulary/SharedVocabulary.es.d.ts +1 -0
- package/dist/vocabulary/help.generated.d.ts +11 -0
- package/dist/vocabulary/partsOfSpeech.generated.d.ts +6 -0
- package/package.json +3 -3
- package/dist/Dragging-CMZoLEWQ.js.map +0 -1
- package/dist/MarkdownSanitizer-zTnnbrLe.js +0 -884
- package/dist/MarkdownSanitizer-zTnnbrLe.js.map +0 -1
- package/dist/PrefStore-Qv0e5y04.js.map +0 -1
- package/dist/ScrollingRow-7n7Z-HIE.js +0 -88
- package/dist/ScrollingRow-7n7Z-HIE.js.map +0 -1
- package/dist/SitePages-CciwREek.js.map +0 -1
- package/dist/SlottedItems-Du3aJwG1.js +0 -80
- package/dist/SlottedItems-Du3aJwG1.js.map +0 -1
- package/dist/UIButton-DFEds67r.js +0 -6
- package/dist/UIButton-DFEds67r.js.map +0 -1
- package/dist/UIInput-BodVbUoQ.js.map +0 -1
- package/dist/UIKeys-Rh_gUZjP.js.map +0 -1
- package/dist/UILabel-DgJUBzB_.js.map +0 -1
- package/dist/UIMenu-zdcAtwTa.js +0 -42
- package/dist/UIMenu-zdcAtwTa.js.map +0 -1
- package/dist/UIRuntime-KH309p5B.js.map +0 -1
- package/dist/UISegment-CMMIW7cZ.js.map +0 -1
- package/dist/apple.palette-B4ivrNlM.js.map +0 -1
- package/dist/classic-DCTQrteU.js.map +0 -1
- package/dist/components.es-BOa_7gFF.js.map +0 -1
- package/dist/crisp-VfYZlTph.js.map +0 -1
- package/dist/crisp.theme-DRiePRdf.js +0 -6
- package/dist/crisp.theme-DRiePRdf.js.map +0 -1
- package/dist/dark-CbUdPe0a.js.map +0 -1
- package/dist/dist-BLYIGZVK.js.map +0 -1
- package/dist/emoji/cldr/0-DSUpV2d7.js.map +0 -1
- package/dist/emoji/cldr/a-D_oB4vJ-.js.map +0 -1
- package/dist/emoji/cldr/b-DX0W0Mda.js.map +0 -1
- package/dist/emoji/cldr/c-DUHidpE9.js.map +0 -1
- package/dist/emoji/cldr/d-CiCXZXay.js.map +0 -1
- package/dist/emoji/cldr/e-DILJo3Ri.js.map +0 -1
- package/dist/emoji/cldr/f-ByGFLyOq.js.map +0 -1
- package/dist/emoji/cldr/g-BZ0FRsud.js.map +0 -1
- package/dist/emoji/cldr/h-jtLdvRXQ.js.map +0 -1
- package/dist/emoji/cldr/i-DcbJ5utE.js.map +0 -1
- package/dist/emoji/cldr/j-BuEqP5nz.js.map +0 -1
- package/dist/emoji/cldr/k-P1J6Gvze.js.map +0 -1
- package/dist/emoji/cldr/l-28XcbsPr.js.map +0 -1
- package/dist/emoji/cldr/m-DKgGJ8rW.js.map +0 -1
- package/dist/emoji/cldr/n-DmPLP4F3.js.map +0 -1
- package/dist/emoji/cldr/o-f98nt3s7.js.map +0 -1
- package/dist/emoji/cldr/p-CxnsOTOt.js.map +0 -1
- package/dist/emoji/cldr/r-D0GPRJ-Q.js.map +0 -1
- package/dist/emoji/cldr/s-DcFuepnw.js.map +0 -1
- package/dist/emoji/cldr/t-BvHgGpUr.js.map +0 -1
- package/dist/emoji/cldr/u-ChFYHtUf.js.map +0 -1
- package/dist/emoji/cldr/v-WmX3nWtZ.js.map +0 -1
- package/dist/emoji/cldr/w-BPySQUWW.js.map +0 -1
- package/dist/emoji/cldr/x-SC3r1n9O.js +0 -6
- package/dist/emoji/cldr/x-SC3r1n9O.js.map +0 -1
- package/dist/emoji/cldr/y-zB_yhTFg.js.map +0 -1
- package/dist/emoji/cldr/z-BgJ94Cap.js.map +0 -1
- package/dist/emoji/fomantic/0-CGf6gC3a.js +0 -10
- package/dist/emoji/fomantic/0-CGf6gC3a.js.map +0 -1
- package/dist/emoji/fomantic/a-CrqYlC21.js.map +0 -1
- package/dist/emoji/fomantic/b-DneVHRdQ.js.map +0 -1
- package/dist/emoji/fomantic/c-ClxKRuir.js.map +0 -1
- package/dist/emoji/fomantic/d-Djqs_y4s.js.map +0 -1
- package/dist/emoji/fomantic/e-CuF-jOQd.js.map +0 -1
- package/dist/emoji/fomantic/f-D8VglrJ4.js.map +0 -1
- package/dist/emoji/fomantic/g-Du_HFl6U.js.map +0 -1
- package/dist/emoji/fomantic/h-CLE5tHnM.js.map +0 -1
- package/dist/emoji/fomantic/i-BjOsrQDZ.js.map +0 -1
- package/dist/emoji/fomantic/j-CyUDXKCu.js.map +0 -1
- package/dist/emoji/fomantic/k-Clypg4R8.js.map +0 -1
- package/dist/emoji/fomantic/l-DvLPdBh-.js.map +0 -1
- package/dist/emoji/fomantic/m-B1lIb1kP.js.map +0 -1
- package/dist/emoji/fomantic/n-Bgpp_ht5.js.map +0 -1
- package/dist/emoji/fomantic/o-BhYZzpjp.js.map +0 -1
- package/dist/emoji/fomantic/p-VLL0GK3m.js.map +0 -1
- package/dist/emoji/fomantic/q-CKrtMwhc.js +0 -6
- package/dist/emoji/fomantic/q-CKrtMwhc.js.map +0 -1
- package/dist/emoji/fomantic/r-Bd1DjkkI.js.map +0 -1
- package/dist/emoji/fomantic/s-Bqatw1W7.js.map +0 -1
- package/dist/emoji/fomantic/t-Bs7IFhv3.js.map +0 -1
- package/dist/emoji/fomantic/u-M6GfYC-U.js.map +0 -1
- package/dist/emoji/fomantic/v-BKHNqkn0.js.map +0 -1
- package/dist/emoji/fomantic/w-B_XvIu7h.js.map +0 -1
- package/dist/emoji/fomantic/x-CG1_nzCF.js +0 -9
- package/dist/emoji/fomantic/x-CG1_nzCF.js.map +0 -1
- package/dist/emoji/fomantic/y-DPZaoIla.js.map +0 -1
- package/dist/emoji/fomantic/z-FH-kPXch.js.map +0 -1
- package/dist/fruity-BRVlgJZd.js +0 -6
- package/dist/fruity-BRVlgJZd.js.map +0 -1
- package/dist/fruity.theme-CbC7Jyvk.js.map +0 -1
- package/dist/glass-x9tbbwVq.js +0 -6
- package/dist/glass-x9tbbwVq.js.map +0 -1
- package/dist/glass.theme-24wY2wH9.js +0 -6
- package/dist/glass.theme-24wY2wH9.js.map +0 -1
- package/dist/matrix-QY2gWbJ0.js +0 -6
- package/dist/matrix-QY2gWbJ0.js.map +0 -1
- package/dist/matrix.theme-_8xtwhDq.js +0 -6
- package/dist/matrix.theme-_8xtwhDq.js.map +0 -1
- package/dist/merlot-DOXLuUaU.js.map +0 -1
- package/dist/merlot.theme-S-QnNGsw.js +0 -6
- package/dist/merlot.theme-S-QnNGsw.js.map +0 -1
- package/dist/midnight-BxlTQSfw.js.map +0 -1
- package/dist/midnight.theme-wXbqRYLy.js +0 -6
- package/dist/midnight.theme-wXbqRYLy.js.map +0 -1
- package/dist/mockup-83ELBuVr.js +0 -6
- package/dist/mockup-83ELBuVr.js.map +0 -1
- package/dist/mockup.theme-DmpBgGBl.js +0 -6
- package/dist/mockup.theme-DmpBgGBl.js.map +0 -1
- package/dist/paper-M61nUilz.js.map +0 -1
- package/dist/paper.theme-B8R5Jn5H.js +0 -6
- package/dist/paper.theme-B8R5Jn5H.js.map +0 -1
- package/dist/persist.types-D2m6wD-S.js.map +0 -1
- package/dist/pop-CxXfytjk.js.map +0 -1
- package/dist/pop.theme-CXzv8B9x.js +0 -6
- package/dist/pop.theme-CXzv8B9x.js.map +0 -1
- package/dist/search-CzSzx7bX.js.map +0 -1
- package/dist/spell-By5Y3jKP.js +0 -6
- package/dist/spell-By5Y3jKP.js.map +0 -1
- package/dist/spell.theme-DxGj7qHx.js +0 -6
- package/dist/spell.theme-DxGj7qHx.js.map +0 -1
- package/dist/styles.en-CUUxNwHo.js.map +0 -1
- package/dist/ui-theme-menu-CuIjr8Ou.js.map +0 -1
package/dist/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,15 @@ 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
|
+
// ../src/util/timing.ts
|
|
231
248
|
function afterSolidUpdate(e) {
|
|
232
249
|
queueMicrotask(e);
|
|
233
250
|
}
|
|
@@ -303,8 +320,7 @@ async function within(e, t) {
|
|
|
303
320
|
n.cancel();
|
|
304
321
|
}
|
|
305
322
|
}
|
|
306
|
-
|
|
307
|
-
//#region ../src/element/vocabulary.types.ts
|
|
323
|
+
// ../src/element/vocabulary.types.ts
|
|
308
324
|
var Ce = [
|
|
309
325
|
"name",
|
|
310
326
|
"content",
|
|
@@ -315,7 +331,7 @@ var Ce = [
|
|
|
315
331
|
"link",
|
|
316
332
|
"behaviour",
|
|
317
333
|
"advanced"
|
|
318
|
-
],
|
|
334
|
+
], we = "none", Te = {
|
|
319
335
|
role: "role",
|
|
320
336
|
busy: "ariaBusy",
|
|
321
337
|
checked: "ariaChecked",
|
|
@@ -331,23 +347,18 @@ var Ce = [
|
|
|
331
347
|
roleDescription: "ariaRoleDescription",
|
|
332
348
|
selected: "ariaSelected",
|
|
333
349
|
valueMin: "ariaValueMin"
|
|
334
|
-
},
|
|
350
|
+
}, Ee = "ui-error", De = "errored", StaleCatalogError = class extends TypeError {};
|
|
335
351
|
StaleCatalogError.prototype.name = "StaleCatalogError";
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
var y = class SpellSolid {
|
|
352
|
+
// ../src/element/SpellSolid.ts
|
|
353
|
+
var v = class SpellSolid {
|
|
339
354
|
static install(e) {
|
|
340
355
|
SpellSolid.installed = e;
|
|
341
356
|
for (let e of SpellSolid.waiting.splice(0)) e();
|
|
342
357
|
}
|
|
343
358
|
static whenInstalled(e) {
|
|
344
|
-
|
|
345
|
-
e();
|
|
346
|
-
return;
|
|
347
|
-
}
|
|
348
|
-
SpellSolid.waiting.push(e), !(SpellSolid.waiting.length > 1) && after(De, () => {
|
|
359
|
+
SpellSolid.installed ? e() : (SpellSolid.waiting.push(e), SpellSolid.waiting.length > 1 || after(Oe, () => {
|
|
349
360
|
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
|
-
});
|
|
361
|
+
}));
|
|
351
362
|
}
|
|
352
363
|
static get settings() {
|
|
353
364
|
if (SpellSolid.installed) return SpellSolid.installed;
|
|
@@ -358,12 +369,12 @@ var y = class SpellSolid {
|
|
|
358
369
|
}
|
|
359
370
|
static installed;
|
|
360
371
|
static waiting = [];
|
|
361
|
-
},
|
|
372
|
+
}, Oe = 5, y = class Reactive {
|
|
362
373
|
static ownRoot(e) {
|
|
363
|
-
return f(
|
|
374
|
+
return f(Re, () => s(e));
|
|
364
375
|
}
|
|
365
376
|
static recordOf(e) {
|
|
366
|
-
return e[
|
|
377
|
+
return e[ke] ??= {
|
|
367
378
|
values: {},
|
|
368
379
|
sources: /* @__PURE__ */ new Map(),
|
|
369
380
|
caches: /* @__PURE__ */ new Map()
|
|
@@ -388,9 +399,9 @@ var y = class SpellSolid {
|
|
|
388
399
|
}
|
|
389
400
|
}
|
|
390
401
|
static attributeValue(e, t) {
|
|
391
|
-
if (
|
|
392
|
-
let n = Reactive.recordOf(e), r = n.sources.get(
|
|
393
|
-
r || (n.sources.set(
|
|
402
|
+
if (b || l()) {
|
|
403
|
+
let n = Reactive.recordOf(e), r = n.sources.get(Ie + t);
|
|
404
|
+
r || (n.sources.set(Ie + t, r = new AttributeSource(e, t)), watchAttributeValues(n, e)), reading(r);
|
|
394
405
|
}
|
|
395
406
|
return attributeValueNow(e, t);
|
|
396
407
|
}
|
|
@@ -399,26 +410,36 @@ var y = class SpellSolid {
|
|
|
399
410
|
return r.attributes ??= new Proxy({}, { get: (e, i) => {
|
|
400
411
|
if (typeof i != "string") return;
|
|
401
412
|
let a = n(i);
|
|
402
|
-
return (
|
|
413
|
+
return (b || l()) && reading(rawAttributeSource(r, t, a)), t.getAttribute(a);
|
|
403
414
|
} });
|
|
404
415
|
}
|
|
405
416
|
static startEffects(e) {
|
|
406
417
|
let t = e;
|
|
407
|
-
for (let n of Reactive.listFor(e,
|
|
408
|
-
let { method:
|
|
409
|
-
if (
|
|
410
|
-
let call = () => t[
|
|
411
|
-
return typeof
|
|
418
|
+
for (let n of Reactive.listFor(e, Me)) {
|
|
419
|
+
let { method: r, members: o, writesDOMElement: s, defer: c, whileConnected: l } = n, compute = () => o.map((e) => t[e]), apply = (e) => {
|
|
420
|
+
if (l && !e[0]) return;
|
|
421
|
+
let call = () => t[r](...l ? [] : e), n = p(call);
|
|
422
|
+
return typeof n == "function" ? n : void 0;
|
|
412
423
|
};
|
|
413
|
-
h
|
|
424
|
+
if (h) s && !c && apply(p(compute));
|
|
425
|
+
else {
|
|
426
|
+
let t = `${e.constructor.name}.${String(r)}`;
|
|
427
|
+
i(a(compute, {
|
|
428
|
+
equals: isSameList,
|
|
429
|
+
name: t
|
|
430
|
+
}), apply, {
|
|
431
|
+
defer: c,
|
|
432
|
+
name: t
|
|
433
|
+
});
|
|
434
|
+
}
|
|
414
435
|
}
|
|
415
|
-
if (Reactive.startAriaEffect(e, t), !h) for (let { method: n, options: r } of Reactive.listFor(e,
|
|
436
|
+
if (Reactive.startAriaEffect(e, t), !h) for (let { method: n, options: r } of Reactive.listFor(e, Ne)) {
|
|
416
437
|
let call = (e) => t[n](e);
|
|
417
438
|
watchContent(e, r, call);
|
|
418
439
|
}
|
|
419
440
|
}
|
|
420
441
|
static startAriaEffect(e, t) {
|
|
421
|
-
let n = Reactive.listFor(e,
|
|
442
|
+
let n = Reactive.listFor(e, je, { claims: (e) => e.property });
|
|
422
443
|
if (!n.length) return;
|
|
423
444
|
let compute = () => n.map(({ member: e }) => ariaText(t[e])), apply = (t) => {
|
|
424
445
|
let r = e.domElement.internals;
|
|
@@ -427,7 +448,7 @@ var y = class SpellSolid {
|
|
|
427
448
|
h ? apply(p(compute)) : i(a(compute, { equals: isSameList }), apply);
|
|
428
449
|
}
|
|
429
450
|
static cssStatesOf(e, t = []) {
|
|
430
|
-
let n = Reactive.listFor(e,
|
|
451
|
+
let n = Reactive.listFor(e, Ae, { claims: (e) => e.state });
|
|
431
452
|
if (!t.length) return n;
|
|
432
453
|
let r = new Set(n.map(({ state: e }) => e)), i = t.filter((e) => !r.has(e));
|
|
433
454
|
return [...n, ...i.map((e) => ({
|
|
@@ -436,7 +457,7 @@ var y = class SpellSolid {
|
|
|
436
457
|
}))];
|
|
437
458
|
}
|
|
438
459
|
static listenersOf(e) {
|
|
439
|
-
return Reactive.listFor(e,
|
|
460
|
+
return Reactive.listFor(e, Pe, { combine: baseFirstOnce });
|
|
440
461
|
}
|
|
441
462
|
static isControlled(e, t) {
|
|
442
463
|
return !!Reactive.recordOf(e).controlled?.[t];
|
|
@@ -455,7 +476,7 @@ var y = class SpellSolid {
|
|
|
455
476
|
return e.elementDefinition.attribute(n);
|
|
456
477
|
}
|
|
457
478
|
static listFor(e, t, { combine: n = ownFirst, claims: r } = {}) {
|
|
458
|
-
let i = e.constructor[
|
|
479
|
+
let i = e.constructor[Fe];
|
|
459
480
|
if (!i) return [];
|
|
460
481
|
let a = Reactive.lists.get(i);
|
|
461
482
|
a || Reactive.lists.set(i, a = /* @__PURE__ */ new Map());
|
|
@@ -489,15 +510,15 @@ function controlled(e) {
|
|
|
489
510
|
let r = n.name;
|
|
490
511
|
return {
|
|
491
512
|
get() {
|
|
492
|
-
let { key: t } = this.elementDefinition.attribute(e), n =
|
|
493
|
-
return n === void 0 ?
|
|
513
|
+
let { key: t } = this.elementDefinition.attribute(e), n = y.attributeValue(this, t);
|
|
514
|
+
return n === void 0 ? y.recordOf(this).values[r] : n;
|
|
494
515
|
},
|
|
495
516
|
set(t) {
|
|
496
517
|
let { property: n } = this.elementDefinition.attribute(e);
|
|
497
518
|
this.domElement[n] = t;
|
|
498
519
|
},
|
|
499
520
|
init(t) {
|
|
500
|
-
let n =
|
|
521
|
+
let n = y.recordOf(this);
|
|
501
522
|
return n.values[r] = t, (n.controlled ??= {})[r] = e, this.domElement && watchPropertyWrites(n, this), t;
|
|
502
523
|
}
|
|
503
524
|
};
|
|
@@ -519,13 +540,13 @@ function derived(e, t) {
|
|
|
519
540
|
}
|
|
520
541
|
function derivedGetter(e, t, n = isSame) {
|
|
521
542
|
return function() {
|
|
522
|
-
let r =
|
|
543
|
+
let r = y.recordOf(this), i = r.caches.get(t);
|
|
523
544
|
return i || r.caches.set(t, i = new DerivedCache(() => e.call(this), n)), i.read();
|
|
524
545
|
};
|
|
525
546
|
}
|
|
526
547
|
function cssState(e) {
|
|
527
548
|
return function(t, n) {
|
|
528
|
-
ownList(n.metadata,
|
|
549
|
+
ownList(n.metadata, Ae).push({
|
|
529
550
|
member: n.name,
|
|
530
551
|
state: e
|
|
531
552
|
});
|
|
@@ -533,9 +554,9 @@ function cssState(e) {
|
|
|
533
554
|
}
|
|
534
555
|
function aria(e) {
|
|
535
556
|
return function(t, n) {
|
|
536
|
-
ownList(n.metadata,
|
|
557
|
+
ownList(n.metadata, je).push({
|
|
537
558
|
member: n.name,
|
|
538
|
-
property:
|
|
559
|
+
property: Te[e]
|
|
539
560
|
});
|
|
540
561
|
};
|
|
541
562
|
}
|
|
@@ -545,7 +566,7 @@ function ariaText(e) {
|
|
|
545
566
|
function onChange(...e) {
|
|
546
567
|
let t = typeof e[e.length - 1] == "object" ? e.pop() : {};
|
|
547
568
|
return function(n, r) {
|
|
548
|
-
ownList(r.metadata,
|
|
569
|
+
ownList(r.metadata, Me).push({
|
|
549
570
|
method: r.name,
|
|
550
571
|
members: e,
|
|
551
572
|
writesDOMElement: !!t.writesDOMElement,
|
|
@@ -554,7 +575,7 @@ function onChange(...e) {
|
|
|
554
575
|
};
|
|
555
576
|
}
|
|
556
577
|
function whileConnected(e, t) {
|
|
557
|
-
ownList(t.metadata,
|
|
578
|
+
ownList(t.metadata, Me).push({
|
|
558
579
|
method: t.name,
|
|
559
580
|
members: ["isConnected"],
|
|
560
581
|
writesDOMElement: !1,
|
|
@@ -564,7 +585,7 @@ function whileConnected(e, t) {
|
|
|
564
585
|
function watches(e) {
|
|
565
586
|
function decorate(t, n) {
|
|
566
587
|
if (n.kind === "method") {
|
|
567
|
-
ownList(n.metadata,
|
|
588
|
+
ownList(n.metadata, Ne).push({
|
|
568
589
|
method: n.name,
|
|
569
590
|
options: e
|
|
570
591
|
});
|
|
@@ -572,7 +593,7 @@ function watches(e) {
|
|
|
572
593
|
}
|
|
573
594
|
let r = n.name, { equals: i = isSame } = e;
|
|
574
595
|
return function() {
|
|
575
|
-
let n =
|
|
596
|
+
let n = y.recordOf(this), a = n.caches.get(r);
|
|
576
597
|
if (!a) {
|
|
577
598
|
let o = a = new ContentCache(() => t.call(this), i);
|
|
578
599
|
n.caches.set(r, o), h || watchContent(this, e, () => o.contentChanged());
|
|
@@ -585,7 +606,7 @@ function watches(e) {
|
|
|
585
606
|
function on(e, t = {}) {
|
|
586
607
|
return function(n, r) {
|
|
587
608
|
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,
|
|
609
|
+
ownList(r.metadata, Pe).push({
|
|
589
610
|
method: r.name,
|
|
590
611
|
type: e,
|
|
591
612
|
options: t
|
|
@@ -669,19 +690,19 @@ var Notifier = class {
|
|
|
669
690
|
this.compute = e, this.equals = t;
|
|
670
691
|
}
|
|
671
692
|
read() {
|
|
672
|
-
return this.refresh(),
|
|
693
|
+
return this.refresh(), b?.set(this, this.version), l() && this.track(), this.value;
|
|
673
694
|
}
|
|
674
695
|
refresh() {
|
|
675
696
|
if (this.isComputed && !this.isStale()) return;
|
|
676
|
-
let e =
|
|
677
|
-
|
|
697
|
+
let e = b, t = /* @__PURE__ */ new Map();
|
|
698
|
+
b = t;
|
|
678
699
|
let n;
|
|
679
700
|
try {
|
|
680
701
|
n = this.compute();
|
|
681
702
|
} finally {
|
|
682
|
-
|
|
703
|
+
b = e;
|
|
683
704
|
}
|
|
684
|
-
this.dependencies = t,
|
|
705
|
+
this.dependencies = t, this.isComputed && this.equals(this.value, n) || (this.value = n, this.version++), this.isComputed = !0;
|
|
685
706
|
}
|
|
686
707
|
track() {
|
|
687
708
|
for (let e of this.dependencies.keys()) e.track();
|
|
@@ -708,9 +729,9 @@ var Notifier = class {
|
|
|
708
729
|
let e = this.version;
|
|
709
730
|
this.refresh(), this.version !== e && this.changes.changed();
|
|
710
731
|
}
|
|
711
|
-
},
|
|
732
|
+
}, b;
|
|
712
733
|
function reading(e) {
|
|
713
|
-
e.refresh?.(),
|
|
734
|
+
e.refresh?.(), b?.set(e, e.version), e.track();
|
|
714
735
|
}
|
|
715
736
|
function notify(e) {
|
|
716
737
|
if (!u()) return e();
|
|
@@ -724,15 +745,15 @@ function stateAccessor(e, { equals: t = isSame, ownedWrite: n = !1 }) {
|
|
|
724
745
|
let r = e.name, i = t === !1 ? isNever : t;
|
|
725
746
|
return {
|
|
726
747
|
get() {
|
|
727
|
-
let e =
|
|
728
|
-
return (
|
|
748
|
+
let e = y.recordOf(this);
|
|
749
|
+
return (b || l()) && reading(notifierFor(e, r, n)), e.values[r];
|
|
729
750
|
},
|
|
730
751
|
set(e) {
|
|
731
|
-
let t =
|
|
752
|
+
let t = y.recordOf(this);
|
|
732
753
|
i(t.values[r], e) || (t.values[r] = e, t.sources.get(r)?.changed());
|
|
733
754
|
},
|
|
734
755
|
init(e) {
|
|
735
|
-
return
|
|
756
|
+
return y.recordOf(this).values[r] = e, e;
|
|
736
757
|
}
|
|
737
758
|
};
|
|
738
759
|
}
|
|
@@ -741,23 +762,23 @@ function notifierFor(e, t, n) {
|
|
|
741
762
|
return r || e.sources.set(t, r = new Notifier(n)), r;
|
|
742
763
|
}
|
|
743
764
|
function rawAttributeSource(e, t, n) {
|
|
744
|
-
let r =
|
|
765
|
+
let r = Le + n, i = e.sources.get(r);
|
|
745
766
|
return i || e.sources.set(r, i = new RawAttributeSource(t, n, () => watchAttributes(e, t))), i;
|
|
746
767
|
}
|
|
747
768
|
function watchAttributes(e, t) {
|
|
748
769
|
if (h || e.attributeObserver) return;
|
|
749
770
|
let n = e.attributeObserver = new MutationObserver((t) => {
|
|
750
|
-
for (let { attributeName: n } of t) e.sources.get(
|
|
771
|
+
for (let { attributeName: n } of t) e.sources.get(Le + n)?.refresh();
|
|
751
772
|
});
|
|
752
773
|
n.observe(t, { attributes: !0 }), t.addReleaseCallback?.(() => n.disconnect());
|
|
753
774
|
}
|
|
754
775
|
function watchAttributeValues(e, t) {
|
|
755
776
|
e.isWatchingValues || (e.isWatchingValues = !0, t.domElement.addPropertyChangedCallback((t) => {
|
|
756
|
-
e.sources.get(
|
|
777
|
+
e.sources.get(Ie + t)?.written();
|
|
757
778
|
}));
|
|
758
779
|
}
|
|
759
780
|
function watchContent(e, t, n) {
|
|
760
|
-
let r =
|
|
781
|
+
let r = y.recordOf(e), { domElement: i } = e, a = r.content;
|
|
761
782
|
if (!a) {
|
|
762
783
|
let e = [], t = new MutationObserver((t) => {
|
|
763
784
|
for (let n of e) {
|
|
@@ -825,14 +846,14 @@ function isNever() {
|
|
|
825
846
|
function isSameList(e, t) {
|
|
826
847
|
return e.length === t.length && e.every((e, n) => e === t[n]);
|
|
827
848
|
}
|
|
828
|
-
var
|
|
849
|
+
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
850
|
get;
|
|
830
851
|
set;
|
|
831
852
|
constructor(e, t) {
|
|
832
853
|
let [n, r] = c(e, t);
|
|
833
854
|
this.get = n, this.set = (e) => void r(e);
|
|
834
855
|
}
|
|
835
|
-
},
|
|
856
|
+
}, ze = class ElementDefinition {
|
|
836
857
|
vocabulary;
|
|
837
858
|
localized;
|
|
838
859
|
tag;
|
|
@@ -840,7 +861,7 @@ var Oe = Symbol("reactive"), ke = Symbol("cssStates"), Ae = Symbol("aria"), je =
|
|
|
840
861
|
attributes;
|
|
841
862
|
byName = /* @__PURE__ */ new Map();
|
|
842
863
|
byAttribute = /* @__PURE__ */ new Map();
|
|
843
|
-
words =
|
|
864
|
+
words = v.settings.words;
|
|
844
865
|
names = this.words.names();
|
|
845
866
|
constructor(e, { tag: t, dictionary: n } = {}) {
|
|
846
867
|
this.vocabulary = e;
|
|
@@ -926,7 +947,7 @@ var Oe = Symbol("reactive"), ke = Symbol("cssStates"), Ae = Symbol("aria"), je =
|
|
|
926
947
|
}
|
|
927
948
|
visibleInMarkup(e, t) {
|
|
928
949
|
if (e("hidden") !== null) return !1;
|
|
929
|
-
let n = this.byName.get(
|
|
950
|
+
let n = this.byName.get(Be), r = n && e(n.attribute);
|
|
930
951
|
return n && r != null ? this.convert(n, r) === !0 : t === "shown";
|
|
931
952
|
}
|
|
932
953
|
canonicalValue(e, t) {
|
|
@@ -951,23 +972,23 @@ var Oe = Symbol("reactive"), ke = Symbol("cssStates"), Ae = Symbol("aria"), je =
|
|
|
951
972
|
static isPrimitive(e) {
|
|
952
973
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean";
|
|
953
974
|
}
|
|
954
|
-
},
|
|
975
|
+
}, Be = "visible", x = class RichAttributes {
|
|
955
976
|
static isRich(e) {
|
|
956
977
|
return typeof e == "function" || typeof e == "object" && !!e;
|
|
957
978
|
}
|
|
958
979
|
static apply(e, t, n, r) {
|
|
959
|
-
if (t.startsWith(
|
|
960
|
-
e[RichAttributes.propertyFor(t, r)] = n, (
|
|
980
|
+
if (t.startsWith(Ve)) return RichAttributes.listen(e, t, n, r);
|
|
981
|
+
e[RichAttributes.propertyFor(t, r)] = n, (We.get(e) ?? We.set(e, /* @__PURE__ */ new Set()).get(e)).add(t);
|
|
961
982
|
}
|
|
962
983
|
static clear(e, t, n) {
|
|
963
|
-
|
|
964
|
-
let r =
|
|
965
|
-
r && (e.removeEventListener(r.type, r.listener),
|
|
984
|
+
S.get(e)?.delete(t);
|
|
985
|
+
let r = Ue.get(e)?.get(t);
|
|
986
|
+
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
987
|
}
|
|
967
988
|
static replay(e, t) {
|
|
968
|
-
let n =
|
|
989
|
+
let n = S.get(e);
|
|
969
990
|
if (n) {
|
|
970
|
-
|
|
991
|
+
S.delete(e);
|
|
971
992
|
for (let [r, i] of n) RichAttributes.apply(e, r, i, t);
|
|
972
993
|
}
|
|
973
994
|
}
|
|
@@ -985,27 +1006,23 @@ var Oe = Symbol("reactive"), ke = Symbol("cssStates"), Ae = Symbol("aria"), je =
|
|
|
985
1006
|
}
|
|
986
1007
|
static installPatch() {
|
|
987
1008
|
let e = globalThis.Element;
|
|
988
|
-
if (!e ||
|
|
1009
|
+
if (!e || Ge) return;
|
|
989
1010
|
let t = e.prototype, { setAttribute: n, removeAttribute: r } = t;
|
|
990
|
-
|
|
1011
|
+
Ge = {
|
|
991
1012
|
setAttribute: n,
|
|
992
1013
|
removeAttribute: r
|
|
993
1014
|
}, 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);
|
|
1015
|
+
RichAttributes.isRich(t) && isUndefinedTag(this) && !RichAttributes.isPure() ? (S.get(this) ?? S.set(this, /* @__PURE__ */ new Map()).get(this)).set(e, t) : n.call(this, e, t);
|
|
999
1016
|
}, t.removeAttribute = function(e) {
|
|
1000
|
-
|
|
1017
|
+
S.get(this)?.delete(e), r.call(this, e);
|
|
1001
1018
|
};
|
|
1002
1019
|
}
|
|
1003
1020
|
static isPure() {
|
|
1004
|
-
return !
|
|
1021
|
+
return !Ge || !globalThis.document?.querySelector(He) ? !1 : (Object.assign(globalThis.Element.prototype, Ge), Ge = void 0, !0);
|
|
1005
1022
|
}
|
|
1006
1023
|
static listen(e, t, n, r) {
|
|
1007
|
-
let i = t.slice(
|
|
1008
|
-
RichAttributes.clear(e, t, r), e.addEventListener(a, n), (
|
|
1024
|
+
let i = t.slice(Ve.length), a = r?.event(i) ?? i;
|
|
1025
|
+
RichAttributes.clear(e, t, r), e.addEventListener(a, n), (Ue.get(e) ?? Ue.set(e, /* @__PURE__ */ new Map()).get(e)).set(t, {
|
|
1009
1026
|
type: a,
|
|
1010
1027
|
listener: n
|
|
1011
1028
|
});
|
|
@@ -1017,11 +1034,10 @@ var Oe = Symbol("reactive"), ke = Symbol("cssStates"), Ae = Symbol("aria"), je =
|
|
|
1017
1034
|
function isUndefinedTag(e) {
|
|
1018
1035
|
return e.localName.includes("-") && !customElements.get(e.localName);
|
|
1019
1036
|
}
|
|
1020
|
-
var
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
1037
|
+
var Ve = "on-", He = "ui-root[pure]", S = /* @__PURE__ */ new WeakMap(), Ue = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(), Ge;
|
|
1038
|
+
x.installPatch();
|
|
1039
|
+
// ../src/element/DOMElement.ts
|
|
1040
|
+
var Ke = globalThis.HTMLElement ?? class {}, C = class DOMElement extends Ke {
|
|
1025
1041
|
component;
|
|
1026
1042
|
internals;
|
|
1027
1043
|
attributeValues = {};
|
|
@@ -1039,15 +1055,15 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1039
1055
|
let t = this.tagSetup?.elementDefinition;
|
|
1040
1056
|
if (t) {
|
|
1041
1057
|
for (let e of t.attributes) this.attributeValues[e.key] = t.startingValue(e);
|
|
1042
|
-
this.visibleAttribute && (this.attributeValues[
|
|
1043
|
-
} else
|
|
1058
|
+
this.visibleAttribute && (this.attributeValues[Je] = this.isVisibleInMarkup), this.captureUpgradeValues(t), DOMElement.unobserved(this.constructor).length && DOMElement.watchAttributes(this, "replay");
|
|
1059
|
+
} else Ze.get(this.constructor)?.pending.add(this), DOMElement.isPending(this) && this.setState(Ye, !0);
|
|
1044
1060
|
this.addEventListener("click", (e) => this.swallowClickWhileDisabled(e), { capture: !0 }), DOMElement.hotReloadHooks?.created(this);
|
|
1045
1061
|
}
|
|
1046
1062
|
connectedCallback() {
|
|
1047
1063
|
if (DOMElement.isPending(this)) return;
|
|
1048
|
-
this.settleVisible(), this.restoreUpgradeValues(),
|
|
1064
|
+
this.settleVisible(), this.restoreUpgradeValues(), x.replay(this, this.tagSetup?.elementDefinition), this.followRootDefaults();
|
|
1049
1065
|
let { connectedState: e } = this;
|
|
1050
|
-
e.isMounted || (e.isMounted = !0,
|
|
1066
|
+
e.isMounted || (e.isMounted = !0, x.readScriptApiAttributes(this, DOMElement, this.tagSetup?.elementDefinition), this.tagSetup?.mountComponent(this), this.handOverEarlyFormState()), this.component?.onConnect();
|
|
1051
1067
|
}
|
|
1052
1068
|
disconnectedCallback() {
|
|
1053
1069
|
this.stopFollowingRootDefaults(), this.component?.onDisconnect();
|
|
@@ -1074,11 +1090,11 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1074
1090
|
}
|
|
1075
1091
|
setAttribute(e, t) {
|
|
1076
1092
|
let n = this.tagSetup?.elementDefinition;
|
|
1077
|
-
if (
|
|
1093
|
+
if (x.isRich(t) || x.isScriptApi(this, e, DOMElement, n)) return x.apply(this, e, t, n);
|
|
1078
1094
|
super.setAttribute(e, t);
|
|
1079
1095
|
}
|
|
1080
1096
|
removeAttribute(e) {
|
|
1081
|
-
|
|
1097
|
+
x.clear(this, e, this.tagSetup?.elementDefinition), super.removeAttribute(e);
|
|
1082
1098
|
}
|
|
1083
1099
|
addPropertyChangedCallback(e) {
|
|
1084
1100
|
this.connectedState.propertyChangedCallbacks.push(e);
|
|
@@ -1114,7 +1130,7 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1114
1130
|
}
|
|
1115
1131
|
get visibleAttribute() {
|
|
1116
1132
|
let e = this.tagSetup?.elementDefinition;
|
|
1117
|
-
return e?.takesShared(
|
|
1133
|
+
return e?.takesShared(Je) ? e.attribute(Je) : void 0;
|
|
1118
1134
|
}
|
|
1119
1135
|
get isVisibleInMarkup() {
|
|
1120
1136
|
return this.tagSetup.elementDefinition.visibleInMarkup((e) => this.getAttribute(e), this.tagSetup.visible);
|
|
@@ -1166,7 +1182,7 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1166
1182
|
}
|
|
1167
1183
|
followRootDefaults() {
|
|
1168
1184
|
let e = DOMElement.defaultSettings, { connectedState: t } = this, n = this.tagSetup?.elementDefinition;
|
|
1169
|
-
e && n && !t.stopDefaults && (this.applyRootDefaults(p(() => e.for(this, n))), t.stopDefaults =
|
|
1185
|
+
e && n && !t.stopDefaults && (this.applyRootDefaults(p(() => e.for(this, n))), t.stopDefaults = y.ownRoot((t) => (i(() => e.for(this, n), (e) => {
|
|
1170
1186
|
this.applyRootDefaults(e);
|
|
1171
1187
|
}), t)));
|
|
1172
1188
|
}
|
|
@@ -1184,7 +1200,7 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1184
1200
|
Object.is(this.attributeValues[e.key], t) || this.storeValue(e, t, "default");
|
|
1185
1201
|
}
|
|
1186
1202
|
static get defaultSettings() {
|
|
1187
|
-
return
|
|
1203
|
+
return v.isInstalled ? v.settings.defaults : void 0;
|
|
1188
1204
|
}
|
|
1189
1205
|
get renderRoot() {
|
|
1190
1206
|
let { connectedState: e } = this;
|
|
@@ -1216,7 +1232,7 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1216
1232
|
t ? this.internals.states.add(e) : this.internals.states.delete(e);
|
|
1217
1233
|
}
|
|
1218
1234
|
markReady() {
|
|
1219
|
-
(this.tagSetup?.elementDefinition.vocabulary.states)?.some(({ name: e }) => e ===
|
|
1235
|
+
(this.tagSetup?.elementDefinition.vocabulary.states)?.some(({ name: e }) => e === Xe) || this.setState(Xe, !0), this.connectedState.resolveReady();
|
|
1220
1236
|
}
|
|
1221
1237
|
swallowClickWhileDisabled(e) {
|
|
1222
1238
|
this.component?.isDisabled && (e.preventDefault(), e.stopImmediatePropagation());
|
|
@@ -1230,14 +1246,14 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1230
1246
|
}
|
|
1231
1247
|
static observedAttributesFor(e) {
|
|
1232
1248
|
let t = e.attributes.map(({ attribute: e }) => e);
|
|
1233
|
-
return e.takesShared(
|
|
1249
|
+
return e.takesShared(Je) && !t.includes("hidden") ? [...t, "hidden"] : t;
|
|
1234
1250
|
}
|
|
1235
1251
|
static subclassForTag(e, t) {
|
|
1236
1252
|
let n = className$1(t.elementDefinition.tag), r = { [n]: class extends e {} }[n];
|
|
1237
1253
|
return r.tagSetup = t, Object.defineProperty(r, "formAssociated", { value: t.isAFormControl }), DOMElement.defineProperties(r), r;
|
|
1238
1254
|
}
|
|
1239
1255
|
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 ||
|
|
1256
|
+
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
1257
|
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
1258
|
for (let e of t.attributes) Object.defineProperty(n, e.property, {
|
|
1243
1259
|
get() {
|
|
@@ -1256,7 +1272,7 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1256
1272
|
static defineEarly(e, t) {
|
|
1257
1273
|
if (customElements.get(e)) return;
|
|
1258
1274
|
let n = className$1(e), r = { [n]: class extends DOMElement {} }[n], resolve = () => {}, i = new Promise((e) => resolve = e);
|
|
1259
|
-
return
|
|
1275
|
+
return Ze.set(r, {
|
|
1260
1276
|
...t,
|
|
1261
1277
|
tag: e,
|
|
1262
1278
|
pending: /* @__PURE__ */ new Set(),
|
|
@@ -1266,11 +1282,11 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1266
1282
|
}), Object.defineProperty(r, "formAssociated", { value: t.isAFormControl }), Object.defineProperty(r, "observedAttributes", { value: [...t.attributes] }), customElements.define(e, r), r;
|
|
1267
1283
|
}
|
|
1268
1284
|
static isEarly(e) {
|
|
1269
|
-
let t = e &&
|
|
1285
|
+
let t = e && Ze.get(e);
|
|
1270
1286
|
return !!t && !t.isAttached;
|
|
1271
1287
|
}
|
|
1272
1288
|
static attach(e, t, n) {
|
|
1273
|
-
let r =
|
|
1289
|
+
let r = Ze.get(e), i = DOMElement.observedAttributesFor(n.elementDefinition).filter((e) => !r.attributes.includes(e)), a = n.isAFormControl !== r.isAFormControl;
|
|
1274
1290
|
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
1291
|
tag: r.tag,
|
|
1276
1292
|
missing: i,
|
|
@@ -1289,18 +1305,18 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1289
1305
|
}
|
|
1290
1306
|
static async whenAttached(e) {
|
|
1291
1307
|
let t = await customElements.whenDefined(e);
|
|
1292
|
-
await
|
|
1308
|
+
await Ze.get(t)?.attached;
|
|
1293
1309
|
}
|
|
1294
1310
|
static notAttached = ":is(:not(:defined), :state(pending))";
|
|
1295
1311
|
attachPending() {
|
|
1296
1312
|
let e = this.tagSetup.elementDefinition;
|
|
1297
1313
|
for (let t of e.attributes) this.attributeValues[t.key] = e.startingValue(t);
|
|
1298
|
-
this.visibleAttribute && (this.attributeValues[
|
|
1314
|
+
this.visibleAttribute && (this.attributeValues[Je] = this.isVisibleInMarkup), this.captureUpgradeValues(e);
|
|
1299
1315
|
for (let t of DOMElement.observedAttributesFor(e)) {
|
|
1300
1316
|
let e = this.getAttribute(t);
|
|
1301
1317
|
e !== null && this.attributeChangedCallback(t, null, e);
|
|
1302
1318
|
}
|
|
1303
|
-
this.setState(
|
|
1319
|
+
this.setState(Ye, !1), this.isConnected && this.connectedCallback();
|
|
1304
1320
|
}
|
|
1305
1321
|
static addAttributes(e, t, n) {
|
|
1306
1322
|
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 +1333,16 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1317
1333
|
}
|
|
1318
1334
|
}
|
|
1319
1335
|
static observedByPlatform(e) {
|
|
1320
|
-
let t =
|
|
1321
|
-
return t ||
|
|
1336
|
+
let t = Qe.get(e);
|
|
1337
|
+
return t || Qe.set(e, t = [...e.observedAttributes]), t;
|
|
1322
1338
|
}
|
|
1323
1339
|
static unobserved(e) {
|
|
1324
|
-
let t =
|
|
1340
|
+
let t = Qe.get(e);
|
|
1325
1341
|
return !t || !e.tagSetup ? [] : DOMElement.observedAttributesFor(e.tagSetup.elementDefinition).filter((e) => !t.includes(e));
|
|
1326
1342
|
}
|
|
1327
1343
|
static watchAttributes(e, t) {
|
|
1328
1344
|
let n = DOMElement.unobserved(e.constructor);
|
|
1329
|
-
if (
|
|
1345
|
+
if ($e.get(e)?.disconnect(), $e.delete(e), !n.length) return;
|
|
1330
1346
|
let r = new MutationObserver((t) => {
|
|
1331
1347
|
for (let { attributeName: n, oldValue: r } of t) n && e.attributeChangedCallback(n, r, e.getAttribute(n));
|
|
1332
1348
|
});
|
|
@@ -1334,7 +1350,7 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
|
|
|
1334
1350
|
attributes: !0,
|
|
1335
1351
|
attributeFilter: n,
|
|
1336
1352
|
attributeOldValue: !0
|
|
1337
|
-
}),
|
|
1353
|
+
}), $e.set(e, r), t && queueMicrotask(() => {
|
|
1338
1354
|
for (let t of n) {
|
|
1339
1355
|
let n = e.getAttribute(t);
|
|
1340
1356
|
n !== null && e.attributeChangedCallback(t, null, n);
|
|
@@ -1347,13 +1363,13 @@ function className$1(e) {
|
|
|
1347
1363
|
return e.replace(/(^|-)(\w)/g, (e, t, n) => n.toUpperCase()).replace(/\W/g, "");
|
|
1348
1364
|
}
|
|
1349
1365
|
t(className$1, "className");
|
|
1350
|
-
var
|
|
1366
|
+
var qe = [
|
|
1351
1367
|
"internals",
|
|
1352
1368
|
"attributeValues",
|
|
1353
1369
|
"component",
|
|
1354
1370
|
"ready",
|
|
1355
1371
|
"connectedState"
|
|
1356
|
-
],
|
|
1372
|
+
], Je = "visible", Ye = "pending", Xe = "ready", Ze = /* @__PURE__ */ new WeakMap(), Qe = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap(), et = class OwnerContext {
|
|
1357
1373
|
static find(e, t, n = {}) {
|
|
1358
1374
|
let r = 0;
|
|
1359
1375
|
for (let i = flatParentFor(e); i; i = flatParentFor(i)) {
|
|
@@ -1380,22 +1396,22 @@ var Ke = [
|
|
|
1380
1396
|
static stem(e) {
|
|
1381
1397
|
return e.slice(e.indexOf("-") + 1);
|
|
1382
1398
|
}
|
|
1383
|
-
},
|
|
1399
|
+
}, tt = Object.create, nt = Object.defineProperty, rt = Object.getOwnPropertyDescriptor, __knownSymbol = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), __typeError = (e) => {
|
|
1384
1400
|
throw TypeError(e);
|
|
1385
|
-
}, __defNormalProp = (e, t, n) => t in e ?
|
|
1401
|
+
}, __defNormalProp = (e, t, n) => t in e ? nt(e, t, {
|
|
1386
1402
|
enumerable: !0,
|
|
1387
1403
|
configurable: !0,
|
|
1388
1404
|
writable: !0,
|
|
1389
1405
|
value: n
|
|
1390
|
-
}) : e[t] = n, __name = (e, t) =>
|
|
1406
|
+
}) : e[t] = n, __name = (e, t) => nt(e, "name", {
|
|
1391
1407
|
value: t,
|
|
1392
1408
|
configurable: !0
|
|
1393
1409
|
}), __decoratorStart = (e) => [
|
|
1394
1410
|
,
|
|
1395
1411
|
,
|
|
1396
1412
|
,
|
|
1397
|
-
|
|
1398
|
-
],
|
|
1413
|
+
tt(e?.[__knownSymbol("metadata")] ?? null)
|
|
1414
|
+
], it = [
|
|
1399
1415
|
"class",
|
|
1400
1416
|
"method",
|
|
1401
1417
|
"getter",
|
|
@@ -1406,7 +1422,7 @@ var Ke = [
|
|
|
1406
1422
|
"get",
|
|
1407
1423
|
"set"
|
|
1408
1424
|
], __expectFn = (e) => e !== void 0 && typeof e != "function" ? __typeError("Function expected") : e, __decoratorContext = (e, t, n, r, i) => ({
|
|
1409
|
-
kind:
|
|
1425
|
+
kind: it[e],
|
|
1410
1426
|
name: t,
|
|
1411
1427
|
metadata: r,
|
|
1412
1428
|
addInitializer: (e) => n._ ? __typeError("Already initialized") : i.push(__expectFn(e || null))
|
|
@@ -1414,7 +1430,7 @@ var Ke = [
|
|
|
1414
1430
|
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
1431
|
return r;
|
|
1416
1432
|
}, __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 =
|
|
1433
|
+
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
1434
|
get [n]() {
|
|
1419
1435
|
return __privateGet(this, a);
|
|
1420
1436
|
},
|
|
@@ -1427,15 +1443,15 @@ var Ke = [
|
|
|
1427
1443
|
get: m.get,
|
|
1428
1444
|
set: m.set
|
|
1429
1445
|
} : 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),
|
|
1446
|
+
return d || __decoratorMetadata(e, i), m && nt(i, n, m), p ? d ^ 4 ? a : m : i;
|
|
1447
|
+
}, __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, w, st;
|
|
1432
1448
|
function isSameOwner(e, t) {
|
|
1433
1449
|
return e?.owner === t?.owner && e?.ownerNoun === t?.ownerNoun && e?.depth === t?.depth;
|
|
1434
1450
|
}
|
|
1435
|
-
__name(isSameOwner, "isSameOwner"),
|
|
1436
|
-
var
|
|
1451
|
+
__name(isSameOwner, "isSameOwner"), ot = [state({ equals: isSameOwner })], at = [onChange("ownerNoun", { writesDOMElement: !0 })];
|
|
1452
|
+
var T = class _PartContext {
|
|
1437
1453
|
constructor({ domElement: e, noun: t, isDirect: n = !1, barrier: r = _PartContext.isBarrier }) {
|
|
1438
|
-
__runInitializers(
|
|
1454
|
+
__runInitializers(w, 5, this), __privateAdd(this, st, __runInitializers(w, 8, this)), __runInitializers(w, 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), y.startEffects(this), d(() => (this.refresh(), () => {
|
|
1439
1455
|
_PartContext.contexts.get(e) === this && _PartContext.contexts.delete(e);
|
|
1440
1456
|
}));
|
|
1441
1457
|
}
|
|
@@ -1444,7 +1460,7 @@ var E = class _PartContext {
|
|
|
1444
1460
|
}
|
|
1445
1461
|
onOwnerChanged(e) {
|
|
1446
1462
|
if (!e) return;
|
|
1447
|
-
let t =
|
|
1463
|
+
let t = et.stateName(e);
|
|
1448
1464
|
return this.domElement.setState(t, !0), () => this.domElement.setState(t, !1);
|
|
1449
1465
|
}
|
|
1450
1466
|
ownerComponent() {
|
|
@@ -1471,7 +1487,7 @@ var E = class _PartContext {
|
|
|
1471
1487
|
}
|
|
1472
1488
|
static ownerFor(e, t, n = _PartContext.isBarrier) {
|
|
1473
1489
|
let r = _PartContext.owners.get(t);
|
|
1474
|
-
if (r?.size) return p(() =>
|
|
1490
|
+
if (r?.size) return p(() => et.find(e, _PartContext.lookupFor(t, r), { barrier: n }));
|
|
1475
1491
|
}
|
|
1476
1492
|
static componentFor(e) {
|
|
1477
1493
|
return e?.owner?.component;
|
|
@@ -1505,18 +1521,52 @@ var E = class _PartContext {
|
|
|
1505
1521
|
} : t;
|
|
1506
1522
|
}
|
|
1507
1523
|
};
|
|
1508
|
-
|
|
1509
|
-
var
|
|
1524
|
+
w = __decoratorStart(null), st = /* @__PURE__ */ new WeakMap(), __decorateElement(w, 4, "owner", ot, T, st), __decorateElement(w, 1, "onOwnerChanged", at, T), __decoratorMetadata(w, T), __name(T, "PartContext"), __publicField(T, "owners", /* @__PURE__ */ new Map()), __publicField(T, "definedTags", /* @__PURE__ */ new Set()), __publicField(T, "partTags", /* @__PURE__ */ new Set()), __publicField(T, "conditionalTags", /* @__PURE__ */ new Set()), __publicField(T, "contexts", /* @__PURE__ */ new WeakMap()), __publicField(T, "lastAssigned", /* @__PURE__ */ new WeakMap());
|
|
1525
|
+
var E = T, ct = [
|
|
1526
|
+
"phone",
|
|
1527
|
+
"tablet",
|
|
1528
|
+
"desktop"
|
|
1529
|
+
];
|
|
1530
|
+
function onPlatformChange(e) {
|
|
1531
|
+
if (typeof matchMedia != "function") return () => {};
|
|
1532
|
+
let t = new AbortController(), changed = () => e(currentPlatform());
|
|
1533
|
+
for (let e of ct) matchMedia(ut[e]).addEventListener("change", changed, { signal: t.signal });
|
|
1534
|
+
return () => t.abort();
|
|
1535
|
+
}
|
|
1536
|
+
function canCaptureScreen() {
|
|
1537
|
+
return typeof globalThis.navigator?.mediaDevices?.getDisplayMedia == "function";
|
|
1538
|
+
}
|
|
1539
|
+
var lt = {
|
|
1540
|
+
phone: /^phone$/i,
|
|
1541
|
+
tablet: /^tablet$/i,
|
|
1542
|
+
desktop: /^desktop$/i
|
|
1543
|
+
}, ut = {
|
|
1544
|
+
phone: "(pointer: coarse) and ((width < 600px) or (height < 600px))",
|
|
1545
|
+
tablet: "(pointer: coarse) and (width >= 600px) and (height >= 600px)",
|
|
1546
|
+
desktop: "not (pointer: coarse)"
|
|
1547
|
+
};
|
|
1548
|
+
function currentPlatform() {
|
|
1549
|
+
return typeof matchMedia == "function" ? ct.find((e) => matchMedia(ut[e]).matches) ?? "desktop" : "desktop";
|
|
1550
|
+
}
|
|
1551
|
+
function platformsIn(e) {
|
|
1552
|
+
let t = commaList(e);
|
|
1553
|
+
if (t.length) return new Set(ct.filter((e) => t.some((t) => lt[e].test(t))));
|
|
1554
|
+
}
|
|
1555
|
+
function isOnPlatform(e) {
|
|
1556
|
+
return platformsIn(e)?.has(currentPlatform()) ?? !0;
|
|
1557
|
+
}
|
|
1558
|
+
// ../src/element/ShadowEvents.ts
|
|
1559
|
+
var dt = class ShadowEvents {
|
|
1510
1560
|
static register(e) {
|
|
1511
|
-
|
|
1561
|
+
mt.has(e) || ShadowEvents.bridge(e);
|
|
1512
1562
|
let t = ue(e, e);
|
|
1513
|
-
t && (t.roots = (t.roots ?? 0) + 1,
|
|
1563
|
+
t && (t.roots = (t.roots ?? 0) + 1, ht.set(e, t));
|
|
1514
1564
|
}
|
|
1515
1565
|
static unregister(e) {
|
|
1516
1566
|
me(e);
|
|
1517
1567
|
}
|
|
1518
1568
|
static bridge(e) {
|
|
1519
|
-
|
|
1569
|
+
mt.add(e);
|
|
1520
1570
|
let t = e.addEventListener, n = e.removeEventListener, r = /* @__PURE__ */ new WeakMap(), i = e instanceof ShadowRoot;
|
|
1521
1571
|
Object.defineProperties(e, {
|
|
1522
1572
|
addEventListener: {
|
|
@@ -1537,7 +1587,7 @@ var D = E, st = class ShadowEvents {
|
|
|
1537
1587
|
});
|
|
1538
1588
|
function wrap(t) {
|
|
1539
1589
|
return function(n) {
|
|
1540
|
-
if (
|
|
1590
|
+
if (ht.get(e)?.handlers.get(n.type) !== t) return t.call(this, n);
|
|
1541
1591
|
i && ShadowEvents.before(n, e);
|
|
1542
1592
|
try {
|
|
1543
1593
|
t.call(this, n);
|
|
@@ -1548,14 +1598,14 @@ var D = E, st = class ShadowEvents {
|
|
|
1548
1598
|
}
|
|
1549
1599
|
}
|
|
1550
1600
|
static before(e, t) {
|
|
1551
|
-
let n = e[
|
|
1601
|
+
let n = e[ft];
|
|
1552
1602
|
if (!n || n === !0) return;
|
|
1553
|
-
let r =
|
|
1603
|
+
let r = gt.get(e), i = r?.marker === n ? r.node : n;
|
|
1554
1604
|
if (i !== r?.node && t.contains(i)) return;
|
|
1555
1605
|
let a = e.composedPath(), o = a.indexOf(i);
|
|
1556
1606
|
if (o < 0) return;
|
|
1557
1607
|
let s = a.slice(o + 1);
|
|
1558
|
-
delete e[
|
|
1608
|
+
delete e[ft], Object.defineProperty(e, "composedPath", {
|
|
1559
1609
|
configurable: !0,
|
|
1560
1610
|
value() {
|
|
1561
1611
|
return ShadowEvents.unwalk(e, "composedPath"), s;
|
|
@@ -1563,23 +1613,23 @@ var D = E, st = class ShadowEvents {
|
|
|
1563
1613
|
});
|
|
1564
1614
|
}
|
|
1565
1615
|
static after(e, t) {
|
|
1566
|
-
if (ShadowEvents.unwalk(e, "target", "currentTarget", "composedPath"), !(t instanceof ShadowRoot) || e[
|
|
1616
|
+
if (ShadowEvents.unwalk(e, "target", "currentTarget", "composedPath"), !(t instanceof ShadowRoot) || e[ft] !== t || e.cancelBubble) return;
|
|
1567
1617
|
let n = t.host, r = !t.contains(e.target), i = t;
|
|
1568
|
-
n[`${
|
|
1618
|
+
n[`${pt}${e.type}`] !== void 0 && !ShadowEvents.bridgeWalksNext(e, t, n) && (ShadowEvents.runHandler(e, n), i = n);
|
|
1569
1619
|
let a = i === n && r ? ShadowEvents.parentOf(n) ?? !0 : n;
|
|
1570
|
-
e[
|
|
1620
|
+
e[ft] = a, gt.set(e, {
|
|
1571
1621
|
node: i,
|
|
1572
1622
|
marker: a
|
|
1573
1623
|
});
|
|
1574
1624
|
}
|
|
1575
1625
|
static bridgeWalksNext(e, t, n) {
|
|
1576
|
-
let r = e.composedPath(), i = r.indexOf(t) + 1, a = r.findIndex((e, t) => t > i &&
|
|
1626
|
+
let r = e.composedPath(), i = r.indexOf(t) + 1, a = r.findIndex((e, t) => t > i && mt.has(e));
|
|
1577
1627
|
if (a < 0) return !1;
|
|
1578
1628
|
let o = ShadowEvents.parentOf(n), s = o ? oe(o) : void 0, c = s ? r.indexOf(s) : -1;
|
|
1579
1629
|
return c < 0 || a <= c;
|
|
1580
1630
|
}
|
|
1581
1631
|
static runHandler(e, t) {
|
|
1582
|
-
let n = `${
|
|
1632
|
+
let n = `${pt}${e.type}`, r = t[n];
|
|
1583
1633
|
if (!r || t.disabled) return;
|
|
1584
1634
|
let i = t[`${n}Data`];
|
|
1585
1635
|
Object.defineProperty(e, "target", {
|
|
@@ -1601,14 +1651,14 @@ var D = E, st = class ShadowEvents {
|
|
|
1601
1651
|
static parentOf(e) {
|
|
1602
1652
|
return e._$host ?? e.parentNode ?? e.host ?? null;
|
|
1603
1653
|
}
|
|
1604
|
-
},
|
|
1605
|
-
|
|
1606
|
-
var
|
|
1654
|
+
}, 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], D, Wt, Gt, Kt, qt, Jt;
|
|
1655
|
+
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" })];
|
|
1656
|
+
var O = class _UIComponent {
|
|
1607
1657
|
constructor(e, t) {
|
|
1608
|
-
__runInitializers(
|
|
1609
|
-
for (let [t, n] of Object.entries(this.elementSetup.aria)) e.internals[
|
|
1610
|
-
let { runtime: n } =
|
|
1611
|
-
this.isReady = h || n.isLoaded,
|
|
1658
|
+
__runInitializers(D, 5, this), __publicField(this, "elementDefinition"), __publicField(this, "domElement"), __publicField(this, "appContext"), __privateAdd(this, Wt, __runInitializers(D, 8, this, !1)), __runInitializers(D, 11, this), __privateAdd(this, Gt, __runInitializers(D, 12, this, !1)), __runInitializers(D, 15, this), __privateAdd(this, Kt, __runInitializers(D, 16, this, !1)), __runInitializers(D, 19, this), __privateAdd(this, qt, __runInitializers(D, 20, this, !0)), __runInitializers(D, 23, this), __privateAdd(this, Jt, __runInitializers(D, 24, this, !1)), __runInitializers(D, 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;
|
|
1659
|
+
for (let [t, n] of Object.entries(this.elementSetup.aria)) e.internals[Te[t]] = n;
|
|
1660
|
+
let { runtime: n } = v.settings;
|
|
1661
|
+
this.isReady = h || n.isLoaded, h || (this.startListeners(), this.isReady || n.load().then(() => this.onRuntimeLoaded()));
|
|
1612
1662
|
}
|
|
1613
1663
|
partForName(e) {
|
|
1614
1664
|
return this.elementDefinition.part(e);
|
|
@@ -1617,11 +1667,11 @@ var k = class _UIComponent {
|
|
|
1617
1667
|
return this.elementDefinition.slot(e);
|
|
1618
1668
|
}
|
|
1619
1669
|
translationForKey(e, t) {
|
|
1620
|
-
return
|
|
1670
|
+
return v.settings.words.text(e, t, this.vocabulary.tag);
|
|
1621
1671
|
}
|
|
1622
1672
|
onMount() {
|
|
1623
1673
|
!h && p(() => this.isReady) && this.adoptStyleSheets();
|
|
1624
|
-
let e =
|
|
1674
|
+
let e = y.cssStatesOf(this, this.elementSetup.cssStates);
|
|
1625
1675
|
o(() => {
|
|
1626
1676
|
let t = {
|
|
1627
1677
|
...this.fontStates,
|
|
@@ -1631,8 +1681,8 @@ var k = class _UIComponent {
|
|
|
1631
1681
|
return t;
|
|
1632
1682
|
}, (e) => {
|
|
1633
1683
|
for (let [t, n] of Object.entries(e)) this.domElement.setState(t, !!n);
|
|
1634
|
-
}),
|
|
1635
|
-
p(() => this.isReady) &&
|
|
1684
|
+
}), y.startEffects(this), this.followParent(), this.followHostLayout(), i(() => this.styleSheetNames.join(" "), (e) => {
|
|
1685
|
+
p(() => this.isReady) && v.settings.styles.adoptInto(this.domElement.renderRoot, e ? e.split(" ") : []);
|
|
1636
1686
|
}, { defer: !0 });
|
|
1637
1687
|
let { canRenderUnstyled: t } = this.elementSetup, n = this;
|
|
1638
1688
|
return m(r, {
|
|
@@ -1646,7 +1696,7 @@ var k = class _UIComponent {
|
|
|
1646
1696
|
}
|
|
1647
1697
|
onConnect() {
|
|
1648
1698
|
let { domElement: e } = this;
|
|
1649
|
-
afterSolidUpdate(() => this.isConnected = e.isConnected),
|
|
1699
|
+
afterSolidUpdate(() => this.isConnected = e.isConnected), E.connected(e);
|
|
1650
1700
|
}
|
|
1651
1701
|
onRuntimeLoaded() {
|
|
1652
1702
|
this.adoptStyleSheets(), this.isReady = !0;
|
|
@@ -1662,65 +1712,65 @@ var k = class _UIComponent {
|
|
|
1662
1712
|
afterSolidUpdate(() => this.isConnected = e.isConnected);
|
|
1663
1713
|
}
|
|
1664
1714
|
get sharedLink() {
|
|
1665
|
-
return this.sharedText(
|
|
1715
|
+
return this.sharedText(Zt);
|
|
1666
1716
|
}
|
|
1667
1717
|
get sharedTarget() {
|
|
1668
|
-
return this.sharedText(
|
|
1718
|
+
return this.sharedText(Qt);
|
|
1669
1719
|
}
|
|
1670
1720
|
get linkTo() {
|
|
1671
|
-
let e =
|
|
1721
|
+
let e = y.attributeValue(this, Zt);
|
|
1672
1722
|
return typeof e == "string" && e !== "" && !this.isMarkedDisabled ? e : void 0;
|
|
1673
1723
|
}
|
|
1674
1724
|
get linkTarget() {
|
|
1675
1725
|
if (!this.linkTo) return;
|
|
1676
|
-
let e =
|
|
1726
|
+
let e = y.attributeValue(this, Qt);
|
|
1677
1727
|
return typeof e == "string" && e !== "" ? e : void 0;
|
|
1678
1728
|
}
|
|
1679
1729
|
get fontStates() {
|
|
1680
|
-
if (!this.elementDefinition.takesShared(
|
|
1681
|
-
let e = new Set((this.sharedText(
|
|
1730
|
+
if (!this.elementDefinition.takesShared($t)) return {};
|
|
1731
|
+
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
1732
|
return {
|
|
1683
|
-
...Object.fromEntries(n.filter(Boolean).map((t) => [`${
|
|
1684
|
-
[
|
|
1733
|
+
...Object.fromEntries(n.filter(Boolean).map((t) => [`${$t}-${t}`, e.has(t)])),
|
|
1734
|
+
[tn]: this.sharedFontSize !== void 0
|
|
1685
1735
|
};
|
|
1686
1736
|
}
|
|
1687
1737
|
get sharedFontSize() {
|
|
1688
|
-
return this.sharedText(
|
|
1738
|
+
return this.sharedText($t)?.split(/\s+/).find((e) => en.test(e));
|
|
1689
1739
|
}
|
|
1690
1740
|
onFontSizeChanged(e) {
|
|
1691
|
-
let { style: t } = this.domElement, [, n, r] = e?.match(
|
|
1692
|
-
n ? t.setProperty(
|
|
1741
|
+
let { style: t } = this.domElement, [, n, r] = e?.match(en) ?? [];
|
|
1742
|
+
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
1743
|
}
|
|
1694
1744
|
get sharedShadow() {
|
|
1695
|
-
return this.sharedText(
|
|
1745
|
+
return this.sharedText(an);
|
|
1696
1746
|
}
|
|
1697
1747
|
onShadowChanged(e) {
|
|
1698
1748
|
let { style: t } = this.domElement;
|
|
1699
|
-
e ? t.setProperty(
|
|
1749
|
+
e ? t.setProperty(sn, `var(--ui-${e})`) : this.internalState.wroteShadow && t.removeProperty(sn), this.internalState.wroteShadow = !!e;
|
|
1700
1750
|
}
|
|
1701
1751
|
get sharedWidths() {
|
|
1702
|
-
return Object.fromEntries(
|
|
1752
|
+
return Object.fromEntries(cn.map((e) => [e, this.sharedText(e)]));
|
|
1703
1753
|
}
|
|
1704
1754
|
onWidthsChanged(e, t) {
|
|
1705
1755
|
if (h) return;
|
|
1706
|
-
let { domElement: n, internalState: r } = this, i =
|
|
1756
|
+
let { domElement: n, internalState: r } = this, i = cn.some((t) => e[t] !== void 0);
|
|
1707
1757
|
if (!i && !r.wroteWidths) return;
|
|
1708
|
-
for (let t of
|
|
1758
|
+
for (let t of cn) {
|
|
1709
1759
|
let r = e[t];
|
|
1710
1760
|
r === void 0 ? n.style.removeProperty(`--_ui-${t}`) : n.style.setProperty(`--_ui-${t}`, r), n.setState(t, r !== void 0);
|
|
1711
1761
|
}
|
|
1712
1762
|
let a = i && t && getComputedStyle(n).display === "contents";
|
|
1713
|
-
n.setState(
|
|
1763
|
+
n.setState(ln, a), r.wroteWidths = i;
|
|
1714
1764
|
}
|
|
1715
1765
|
get sharedTooltip() {
|
|
1716
|
-
return this.sharedText(
|
|
1766
|
+
return this.sharedText(un);
|
|
1717
1767
|
}
|
|
1718
1768
|
get sharedLabel() {
|
|
1719
|
-
return this.sharedText(
|
|
1769
|
+
return this.sharedText(pn);
|
|
1720
1770
|
}
|
|
1721
1771
|
onSharedWordsChanged(e, t) {
|
|
1722
1772
|
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(
|
|
1773
|
+
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
1774
|
}
|
|
1725
1775
|
onSharedLinkClick(e) {
|
|
1726
1776
|
let t = this.sharedLink;
|
|
@@ -1731,31 +1781,31 @@ var k = class _UIComponent {
|
|
|
1731
1781
|
}
|
|
1732
1782
|
sharedText(e) {
|
|
1733
1783
|
if (!this.elementDefinition.takesShared(e)) return;
|
|
1734
|
-
let t =
|
|
1784
|
+
let t = y.attributeValue(this, camelCase(e));
|
|
1735
1785
|
return typeof t == "string" && t !== "" ? t : void 0;
|
|
1736
1786
|
}
|
|
1737
1787
|
get sharedMovable() {
|
|
1738
|
-
return this.sharedWay(
|
|
1788
|
+
return this.sharedWay(dn);
|
|
1739
1789
|
}
|
|
1740
1790
|
get sharedResizable() {
|
|
1741
|
-
return this.sharedWay(
|
|
1791
|
+
return this.sharedWay(fn);
|
|
1742
1792
|
}
|
|
1743
1793
|
moveAndResize(e, t, n) {
|
|
1744
|
-
if (e && !h && (t || n)) return
|
|
1794
|
+
if (e && !h && (t || n)) return Mn.start(this.domElement, {
|
|
1745
1795
|
move: t,
|
|
1746
1796
|
resize: n
|
|
1747
1797
|
});
|
|
1748
1798
|
}
|
|
1749
1799
|
sharedWay(e) {
|
|
1750
|
-
if (this.elementDefinition.takesShared(e)) return
|
|
1800
|
+
if (this.elementDefinition.takesShared(e)) return Mn.wayOf(y.attributeValue(this, e));
|
|
1751
1801
|
}
|
|
1752
1802
|
followParent() {
|
|
1753
1803
|
let { domElement: e, elementDefinition: t } = this;
|
|
1754
|
-
if (h || !t.takesAttribute(
|
|
1755
|
-
let n = new
|
|
1804
|
+
if (h || !t.takesAttribute(hn)) return;
|
|
1805
|
+
let n = new zn({
|
|
1756
1806
|
domElement: e,
|
|
1757
|
-
attribute: t.localAttribute(
|
|
1758
|
-
}), r = a(() => this.isConnected ?
|
|
1807
|
+
attribute: t.localAttribute(hn)
|
|
1808
|
+
}), r = a(() => this.isConnected ? y.attributeValue(this, hn) : void 0);
|
|
1759
1809
|
i(r, (e) => n.follow(e));
|
|
1760
1810
|
}
|
|
1761
1811
|
get hostLayout() {}
|
|
@@ -1780,14 +1830,14 @@ var k = class _UIComponent {
|
|
|
1780
1830
|
return null;
|
|
1781
1831
|
}
|
|
1782
1832
|
static isRootTag(e) {
|
|
1783
|
-
return e ===
|
|
1833
|
+
return e === Xt || _UIComponent.rootTags.has(e);
|
|
1784
1834
|
}
|
|
1785
1835
|
get attributes() {
|
|
1786
1836
|
let { elementDefinition: e } = this;
|
|
1787
|
-
return
|
|
1837
|
+
return y.attributesOf(this, this.domElement, (t) => e.localAttribute(t));
|
|
1788
1838
|
}
|
|
1789
1839
|
get $() {
|
|
1790
|
-
return
|
|
1840
|
+
return y.accessorsOf(this);
|
|
1791
1841
|
}
|
|
1792
1842
|
onReadyChanged(e) {
|
|
1793
1843
|
e && afterSolidUpdate(() => this.domElement.markReady());
|
|
@@ -1796,11 +1846,11 @@ var k = class _UIComponent {
|
|
|
1796
1846
|
return Object.keys(this.elementSetup.styleSheets);
|
|
1797
1847
|
}
|
|
1798
1848
|
adoptStyleSheets() {
|
|
1799
|
-
let { styles: e } =
|
|
1849
|
+
let { styles: e } = v.settings;
|
|
1800
1850
|
e.registerOnce(this.elementSetup.styleSheets), e.adoptInto(this.domElement.renderRoot, this.styleSheetNames);
|
|
1801
1851
|
}
|
|
1802
1852
|
get isMarkedDisabled() {
|
|
1803
|
-
return
|
|
1853
|
+
return y.attributeValue(this, "disabled") === !0 || this.formIsDisabled;
|
|
1804
1854
|
}
|
|
1805
1855
|
get isDisabled() {
|
|
1806
1856
|
return this.elementSetup.disabled === "unusable" && this.isMarkedDisabled;
|
|
@@ -1809,7 +1859,7 @@ var k = class _UIComponent {
|
|
|
1809
1859
|
return !this.isDisabled;
|
|
1810
1860
|
}
|
|
1811
1861
|
get isMarkedLoading() {
|
|
1812
|
-
return
|
|
1862
|
+
return y.attributeValue(this, "loading") === !0;
|
|
1813
1863
|
}
|
|
1814
1864
|
get showsLoader() {
|
|
1815
1865
|
return this.elementSetup.loading === "loader" && this.isMarkedLoading;
|
|
@@ -1825,43 +1875,55 @@ var k = class _UIComponent {
|
|
|
1825
1875
|
o.madeInert = void 0;
|
|
1826
1876
|
return;
|
|
1827
1877
|
}
|
|
1828
|
-
|
|
1878
|
+
v.settings.focus.moveOutOf(i);
|
|
1829
1879
|
let s = o.madeInert ??= [];
|
|
1830
1880
|
for (let e of i.renderRoot.children) {
|
|
1831
1881
|
let t = e;
|
|
1832
1882
|
t.inert || (t.inert = !0, s.push(t));
|
|
1833
1883
|
}
|
|
1834
1884
|
}
|
|
1885
|
+
get sharedPlatforms() {
|
|
1886
|
+
return this.sharedText(mn);
|
|
1887
|
+
}
|
|
1888
|
+
onPlatformsChanged(e) {
|
|
1889
|
+
let { domElement: t, internalState: n } = this, r = platformsIn(e);
|
|
1890
|
+
if (!(h || !r && !n.wrotePlatforms)) {
|
|
1891
|
+
t.setState(mn, !!r);
|
|
1892
|
+
for (let e of ct) t.setState(`on-${e}`, !!r?.has(e));
|
|
1893
|
+
n.wrotePlatforms = !!r;
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1835
1896
|
get isHidden() {
|
|
1836
1897
|
return !this.isVisible && !this.isHiding;
|
|
1837
1898
|
}
|
|
1838
1899
|
get animationToRun() {
|
|
1839
|
-
let e =
|
|
1840
|
-
return e === "none" || this.isMotionOff ?
|
|
1900
|
+
let e = y.attributeValue(this, "animation");
|
|
1901
|
+
return e === "none" || this.isMotionOff ? we : e ?? this.elementSetup.animation;
|
|
1841
1902
|
}
|
|
1842
1903
|
get isStill() {
|
|
1843
|
-
return
|
|
1904
|
+
return y.attributeValue(this, "animation") === we;
|
|
1844
1905
|
}
|
|
1845
1906
|
get isMotionOff() {
|
|
1846
|
-
let { motion: e } =
|
|
1907
|
+
let { motion: e } = v.settings;
|
|
1847
1908
|
if (e.isReduced) return !0;
|
|
1848
1909
|
let { domElement: t } = this;
|
|
1849
|
-
return t.isConnected ? getComputedStyle(t).getPropertyValue(e.property).trim() ===
|
|
1910
|
+
return t.isConnected ? getComputedStyle(t).getPropertyValue(e.property).trim() === we : !1;
|
|
1850
1911
|
}
|
|
1851
1912
|
async onVisibleChange(e, t) {
|
|
1852
1913
|
let { internalState: n } = this, r = n.animatedOut ?? [], i = [...this.domElement.renderRoot.children].filter((e) => e.localName !== "slot" && (!e.hidden || r.includes(e)));
|
|
1853
1914
|
n.animatedOut = void 0;
|
|
1854
|
-
let { motion: a } =
|
|
1915
|
+
let { motion: a } = v.settings;
|
|
1855
1916
|
if (t === "none" || a.isAttention(t)) {
|
|
1856
1917
|
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)));
|
|
1918
|
+
} else e || (n.animatedOut = i), await Promise.all(i.map((n) => a.animate(n, t, e)));
|
|
1860
1919
|
}
|
|
1861
1920
|
onVisibleOrReadyChanged(e, t) {
|
|
1862
1921
|
if (!t) return;
|
|
1863
1922
|
let { internalState: n } = this, r = n.wasVisible === void 0;
|
|
1864
|
-
(r
|
|
1923
|
+
if (!r && n.wasVisible === e) return;
|
|
1924
|
+
n.wasVisible = e;
|
|
1925
|
+
let i = r ? we : this.animationToRun;
|
|
1926
|
+
afterSolidUpdate(() => void this.runVisibleChange(e, i));
|
|
1865
1927
|
}
|
|
1866
1928
|
async runVisibleChange(e, t) {
|
|
1867
1929
|
let { internalState: n } = this, r = n.visibleRun = (n.visibleRun ?? 0) + 1;
|
|
@@ -1869,7 +1931,7 @@ var k = class _UIComponent {
|
|
|
1869
1931
|
try {
|
|
1870
1932
|
await this.onVisibleChange(e, t);
|
|
1871
1933
|
} catch (e) {
|
|
1872
|
-
|
|
1934
|
+
v.settings.warn(`<${this.domElement.localName}>.onVisibleChange()`, "failed; the change ends here", e);
|
|
1873
1935
|
}
|
|
1874
1936
|
n.visibleRun === r && (this.isHiding = !1);
|
|
1875
1937
|
}
|
|
@@ -1883,7 +1945,7 @@ var k = class _UIComponent {
|
|
|
1883
1945
|
get extraClass() {}
|
|
1884
1946
|
get classNoun() {}
|
|
1885
1947
|
classValue(e) {
|
|
1886
|
-
return
|
|
1948
|
+
return y.attributeValue(this, this.elementDefinition.attribute(e).key);
|
|
1887
1949
|
}
|
|
1888
1950
|
wrapperClass(e, t) {
|
|
1889
1951
|
return this.elementDefinition.builder.build(e, { extra: t });
|
|
@@ -1892,10 +1954,10 @@ var k = class _UIComponent {
|
|
|
1892
1954
|
return {};
|
|
1893
1955
|
}
|
|
1894
1956
|
requestChange(e, t, n) {
|
|
1895
|
-
return
|
|
1957
|
+
return y.requestChange(this, e, t, n);
|
|
1896
1958
|
}
|
|
1897
1959
|
isControlledByPage(e) {
|
|
1898
|
-
return
|
|
1960
|
+
return y.isControlledByPage(this, e);
|
|
1899
1961
|
}
|
|
1900
1962
|
on(e, t, { target: n, ...r } = {}) {
|
|
1901
1963
|
let i = this.internalState.listeners ??= _UIComponent.abortedOnDispose(this.domElement);
|
|
@@ -1910,7 +1972,7 @@ var k = class _UIComponent {
|
|
|
1910
1972
|
}
|
|
1911
1973
|
startListeners() {
|
|
1912
1974
|
let e = this;
|
|
1913
|
-
for (let { method: t, type: n, options: r } of
|
|
1975
|
+
for (let { method: t, type: n, options: r } of y.listenersOf(this)) {
|
|
1914
1976
|
let i = r.target && this.domElement[r.target];
|
|
1915
1977
|
this.on(n, (n) => p(() => e[t](n)), {
|
|
1916
1978
|
...r,
|
|
@@ -1919,7 +1981,7 @@ var k = class _UIComponent {
|
|
|
1919
1981
|
}
|
|
1920
1982
|
}
|
|
1921
1983
|
onSlotChangeForParts(e) {
|
|
1922
|
-
|
|
1984
|
+
E.slotChanged(e.target);
|
|
1923
1985
|
}
|
|
1924
1986
|
send(e, t) {
|
|
1925
1987
|
let n = this.elementDefinition.vocabulary.events.find((t) => t.name === e), r = new CustomEvent(this.elementDefinition.event(e), {
|
|
@@ -1931,10 +1993,10 @@ var k = class _UIComponent {
|
|
|
1931
1993
|
return this.domElement.dispatchEvent(r);
|
|
1932
1994
|
}
|
|
1933
1995
|
static mount(e, t, r, i) {
|
|
1934
|
-
|
|
1996
|
+
y.ownRoot((a) => {
|
|
1935
1997
|
let o = r.renderRoot;
|
|
1936
1998
|
r.addReleaseCallback(() => {
|
|
1937
|
-
|
|
1999
|
+
dt.unregister(o), o.textContent = "", a();
|
|
1938
2000
|
});
|
|
1939
2001
|
let s = n({
|
|
1940
2002
|
get children() {
|
|
@@ -1945,12 +2007,12 @@ var k = class _UIComponent {
|
|
|
1945
2007
|
return f(null, () => _UIComponent.onError(r, t)) ? _UIComponent.renderFallback(r, t, i) : void 0;
|
|
1946
2008
|
}, "fallback")
|
|
1947
2009
|
});
|
|
1948
|
-
r.clearServerContent(),
|
|
2010
|
+
r.clearServerContent(), dt.register(o), ce(o, s);
|
|
1949
2011
|
});
|
|
1950
2012
|
}
|
|
1951
2013
|
static onError(e, t) {
|
|
1952
|
-
e.setState(
|
|
1953
|
-
let n = new CustomEvent(
|
|
2014
|
+
e.setState(De, !0), console.error(`<${e.localName}> failed:`, t), e.component = void 0, e.markReady();
|
|
2015
|
+
let n = new CustomEvent(Ee, {
|
|
1954
2016
|
bubbles: !0,
|
|
1955
2017
|
composed: !0,
|
|
1956
2018
|
cancelable: !0,
|
|
@@ -1970,21 +2032,21 @@ var k = class _UIComponent {
|
|
|
1970
2032
|
});
|
|
1971
2033
|
}
|
|
1972
2034
|
static define(e, t) {
|
|
1973
|
-
if (!
|
|
1974
|
-
|
|
2035
|
+
if (!v.isInstalled) {
|
|
2036
|
+
v.whenInstalled(() => void _UIComponent.define.call(this, e, t));
|
|
1975
2037
|
return;
|
|
1976
2038
|
}
|
|
1977
|
-
let n = new
|
|
2039
|
+
let n = new ze(this.prototype.vocabulary, {
|
|
1978
2040
|
tag: e,
|
|
1979
2041
|
dictionary: t
|
|
1980
|
-
}), r = customElements.get(n.tag), i =
|
|
2042
|
+
}), r = customElements.get(n.tag), i = C.isEarly(r);
|
|
1981
2043
|
if (r && !i) return r;
|
|
1982
2044
|
_UIComponent.register.call(this, n);
|
|
1983
2045
|
let a = this.prototype.elementSetup.cssStates.filter((e) => !(camelCase(e) in this.prototype));
|
|
1984
2046
|
if (a.length) throw TypeError(`UIComponent.define(): <${n.tag}>'s elementSetup.cssStates names ${a.join(", ")}, which it has no attribute or member for; fix the name, or give the class that member`);
|
|
1985
2047
|
let o = _UIComponent.tagSetupFor(this, n);
|
|
1986
|
-
if (i) return
|
|
1987
|
-
let s =
|
|
2048
|
+
if (i) return C.attach(r, this.prototype.elementSetup.DOMElement, o), r;
|
|
2049
|
+
let s = C.subclassForTag(this.prototype.elementSetup.DOMElement, o);
|
|
1988
2050
|
return customElements.define(n.tag, s), s;
|
|
1989
2051
|
}
|
|
1990
2052
|
static tagSetupFor(e, t) {
|
|
@@ -2003,14 +2065,14 @@ var k = class _UIComponent {
|
|
|
2003
2065
|
}
|
|
2004
2066
|
static register(e) {
|
|
2005
2067
|
let { vocabulary: t } = this.prototype;
|
|
2006
|
-
_UIComponent.registry.definitions.set(e.tag, e), this.prototype.elementSetup.root && _UIComponent.rootTags.add(e.tag),
|
|
2068
|
+
_UIComponent.registry.definitions.set(e.tag, e), this.prototype.elementSetup.root && _UIComponent.rootTags.add(e.tag), E.define({
|
|
2007
2069
|
vocabulary: t,
|
|
2008
2070
|
tag: e.tag,
|
|
2009
2071
|
isAPart: this.prototype.elementSetup.isAPart,
|
|
2010
2072
|
isConditionalOwner: "isOwnerOf" in this.prototype
|
|
2011
2073
|
});
|
|
2012
|
-
let { runtime: n, words: r } =
|
|
2013
|
-
|
|
2074
|
+
let { runtime: n, words: r } = v.settings, i = n.isLoaded, a = /* @__PURE__ */ __name((e, t) => _UIComponent.define.call(this, e, t), "define");
|
|
2075
|
+
_UIComponent.registry.vocabularies.has(t) || !i && h || (_UIComponent.registry.vocabularies.add(t), i ? handOver() : n.load().then(handOver)), y.installAttributeGetters(this.prototype, e.attributes.map(({ key: e, spec: t }) => ({
|
|
2014
2076
|
key: e,
|
|
2015
2077
|
name: t.name
|
|
2016
2078
|
})));
|
|
@@ -2026,14 +2088,14 @@ var k = class _UIComponent {
|
|
|
2026
2088
|
return this.prototype.vocabulary;
|
|
2027
2089
|
}
|
|
2028
2090
|
};
|
|
2029
|
-
|
|
2091
|
+
D = __decoratorStart(null), Wt = /* @__PURE__ */ new WeakMap(), Gt = /* @__PURE__ */ new WeakMap(), Kt = /* @__PURE__ */ new WeakMap(), qt = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), __decorateElement(D, 2, "sharedLink", Ht, O), __decorateElement(D, 1, "onFontSizeChanged", Vt, O), __decorateElement(D, 2, "sharedShadow", Bt, O), __decorateElement(D, 1, "onShadowChanged", zt, O), __decorateElement(D, 1, "onWidthsChanged", Rt, O), __decorateElement(D, 1, "onSharedWordsChanged", Lt, O), __decorateElement(D, 1, "onSharedLinkClick", It, O), __decorateElement(D, 1, "moveAndResize", Ft, O), __decorateElement(D, 4, "isConnected", Pt, O, Wt), __decorateElement(D, 4, "isReady", Nt, O, Gt), __decorateElement(D, 1, "onReadyChanged", Mt, O), __decorateElement(D, 1, "adoptStyleSheets", jt, O), __decorateElement(D, 2, "isMarkedDisabled", At, O), __decorateElement(D, 4, "formIsDisabled", kt, O, Kt), __decorateElement(D, 2, "isMarkedLoading", Ot, O), __decorateElement(D, 2, "showsLoader", Dt, O), __decorateElement(D, 2, "hasInertContent", Et, O), __decorateElement(D, 1, "onSharedStatesChanged", Tt, O), __decorateElement(D, 1, "onPlatformsChanged", wt, O), __decorateElement(D, 4, "isVisible", Ct, O, qt), __decorateElement(D, 2, "isHidden", St, O), __decorateElement(D, 4, "isHiding", xt, O, Jt), __decorateElement(D, 2, "animationToRun", bt, O), __decorateElement(D, 2, "isStill", yt, O), __decorateElement(D, 1, "onVisibleOrReadyChanged", vt, O), __decorateElement(D, 1, "onSlotChangeForParts", _t, O), __decorateElement(D, 13, "elementSetup", Ut, O), __decoratorMetadata(D, O), __name(O, "UIComponent"), __publicField(O, "elementSetup", __runInitializers(D, 28, O, {
|
|
2030
2092
|
styleSheets: {},
|
|
2031
2093
|
cssStates: [],
|
|
2032
2094
|
isAFormControl: !1,
|
|
2033
2095
|
delegatesFocus: !0,
|
|
2034
2096
|
slotAssignment: "named",
|
|
2035
2097
|
isAPart: !1,
|
|
2036
|
-
DOMElement:
|
|
2098
|
+
DOMElement: C,
|
|
2037
2099
|
Fallback: void 0,
|
|
2038
2100
|
canRenderUnstyled: !1,
|
|
2039
2101
|
root: !1,
|
|
@@ -2043,24 +2105,24 @@ O = __decoratorStart(null), zt = /* @__PURE__ */ new WeakMap(), Bt = /* @__PURE_
|
|
|
2043
2105
|
link: "click",
|
|
2044
2106
|
visible: "shown",
|
|
2045
2107
|
get animation() {
|
|
2046
|
-
return
|
|
2108
|
+
return v.settings.motion.defaultAnimation;
|
|
2047
2109
|
}
|
|
2048
|
-
})), __runInitializers(
|
|
2110
|
+
})), __runInitializers(D, 31, O), __publicField(O, "rootTags", /* @__PURE__ */ new Set()), __publicField(O, "registry", {
|
|
2049
2111
|
definitions: /* @__PURE__ */ new Map(),
|
|
2050
2112
|
vocabularies: /* @__PURE__ */ new WeakSet()
|
|
2051
2113
|
});
|
|
2052
|
-
var
|
|
2114
|
+
var Yt = O, 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
2115
|
"width",
|
|
2054
2116
|
"min-width",
|
|
2055
2117
|
"max-width"
|
|
2056
|
-
],
|
|
2118
|
+
], ln = "sized-inside", un = "tooltip", dn = "movable", fn = "resizable", pn = "label", mn = "on-platform", hn = "parent", gn, _n, vn;
|
|
2057
2119
|
function isSameSet(e, t) {
|
|
2058
2120
|
return e.size === t.size && [...e].every((e) => t.has(e));
|
|
2059
2121
|
}
|
|
2060
|
-
__name(isSameSet, "isSameSet"),
|
|
2061
|
-
var
|
|
2122
|
+
__name(isSameSet, "isSameSet"), gn = [state({ equals: isSameSet })];
|
|
2123
|
+
var yn = class _SlotContent {
|
|
2062
2124
|
constructor(e) {
|
|
2063
|
-
__privateAdd(this,
|
|
2125
|
+
__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
2126
|
let t = new MutationObserver(() => this.filledSlots = this.scan());
|
|
2065
2127
|
return t.observe(e, {
|
|
2066
2128
|
childList: !0,
|
|
@@ -2079,10 +2141,10 @@ var pn = class _SlotContent {
|
|
|
2079
2141
|
return e;
|
|
2080
2142
|
}
|
|
2081
2143
|
};
|
|
2082
|
-
|
|
2083
|
-
var
|
|
2144
|
+
_n = __decoratorStart(null), vn = /* @__PURE__ */ new WeakMap(), __decorateElement(_n, 4, "filledSlots", gn, yn, vn), __decoratorMetadata(_n, yn), __name(yn, "SlotContent");
|
|
2145
|
+
var bn = yn, xn = [state], Sn, Cn, wn = class _Disclosure {
|
|
2084
2146
|
constructor(e = {}) {
|
|
2085
|
-
this.setup = e, __privateAdd(this,
|
|
2147
|
+
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
2148
|
e.addEventListener("beforematch", () => this.adopt(!0));
|
|
2087
2149
|
}, "revealOnMatch"));
|
|
2088
2150
|
}
|
|
@@ -2105,10 +2167,10 @@ var mn = pn, hn = [state], gn, _n, vn = class _Disclosure {
|
|
|
2105
2167
|
let { setup: n } = this;
|
|
2106
2168
|
if (n.canChange && !n.canChange(e)) return !1;
|
|
2107
2169
|
let r = /* @__PURE__ */ __name(() => {
|
|
2108
|
-
let r = this.send(e ?
|
|
2170
|
+
let r = this.send(e ? En : Dn, e, t);
|
|
2109
2171
|
return r && n.beforeChange?.(e), r;
|
|
2110
2172
|
}, "announce"), { component: i, member: a, memberMeans: o } = n, s;
|
|
2111
|
-
if (i && a &&
|
|
2173
|
+
if (i && a && y.isControlled(i, a)) {
|
|
2112
2174
|
let t = o === "closed" ? !e : e;
|
|
2113
2175
|
s = i.requestChange(a, t, r);
|
|
2114
2176
|
} else s = r(), s && this.write(e);
|
|
@@ -2116,11 +2178,11 @@ var mn = pn, hn = [state], gn, _n, vn = class _Disclosure {
|
|
|
2116
2178
|
});
|
|
2117
2179
|
}
|
|
2118
2180
|
sendAfter(e, t) {
|
|
2119
|
-
this.send(e ?
|
|
2181
|
+
this.send(e ? On : kn, e, t, { after: !0 });
|
|
2120
2182
|
}
|
|
2121
2183
|
adopt(e, t) {
|
|
2122
2184
|
p(() => {
|
|
2123
|
-
e !== this.isOpen && (this.send(e ?
|
|
2185
|
+
e !== this.isOpen && (this.send(e ? En : Dn, e, t, { cancelable: !1 }), this.write(e), this.setup.onChange?.(e));
|
|
2124
2186
|
});
|
|
2125
2187
|
}
|
|
2126
2188
|
write(e) {
|
|
@@ -2131,7 +2193,7 @@ var mn = pn, hn = [state], gn, _n, vn = class _Disclosure {
|
|
|
2131
2193
|
return this.isOpen ? "true" : "false";
|
|
2132
2194
|
}
|
|
2133
2195
|
get hidden() {
|
|
2134
|
-
return this.isOpen ? void 0 :
|
|
2196
|
+
return this.isOpen ? void 0 : An;
|
|
2135
2197
|
}
|
|
2136
2198
|
send(e, t, n, { cancelable: r, after: i } = {}) {
|
|
2137
2199
|
let { component: a, detail: o, afterDetail: s } = this.setup;
|
|
@@ -2150,25 +2212,25 @@ var mn = pn, hn = [state], gn, _n, vn = class _Disclosure {
|
|
|
2150
2212
|
return a.domElement.dispatchEvent(new CustomEvent(a.elementDefinition.event(e), l));
|
|
2151
2213
|
}
|
|
2152
2214
|
};
|
|
2153
|
-
|
|
2154
|
-
var
|
|
2215
|
+
Sn = __decoratorStart(null), Cn = /* @__PURE__ */ new WeakMap(), __decorateElement(Sn, 4, "toggled", xn, wn, Cn), __decoratorMetadata(Sn, wn), __name(wn, "Disclosure");
|
|
2216
|
+
var Tn = wn, En = "ui-opening", Dn = "ui-closing", On = "ui-opened", kn = "ui-closed", An = "until-found", OwnControls = class {
|
|
2155
2217
|
static isClicked(e, { upTo: t, before: n } = {}) {
|
|
2156
2218
|
for (let r of e.composedPath()) {
|
|
2157
2219
|
if (r === t) return !1;
|
|
2158
2220
|
let e = r;
|
|
2159
2221
|
if (e.matches) {
|
|
2160
2222
|
if (n && e.matches(n)) return !1;
|
|
2161
|
-
if (e.matches(
|
|
2223
|
+
if (e.matches(jn)) return !0;
|
|
2162
2224
|
}
|
|
2163
2225
|
}
|
|
2164
2226
|
return !1;
|
|
2165
2227
|
}
|
|
2166
|
-
},
|
|
2228
|
+
}, jn = "a, button, input, select, textarea, label, details, summary, [contenteditable], [tabindex], [role=button], [role=link]", Mn = class MoveAndResize {
|
|
2167
2229
|
element;
|
|
2168
2230
|
move;
|
|
2169
2231
|
resize;
|
|
2170
2232
|
static wayOf(e) {
|
|
2171
|
-
if (e != null && e !== !1) return e === "" || e === !0 || e === "both" ? "both" :
|
|
2233
|
+
if (e != null && e !== !1) return e === "" || e === !0 || e === "both" ? "both" : Nn.includes(e) ? e : void 0;
|
|
2172
2234
|
}
|
|
2173
2235
|
static start(e, { move: t, resize: n }) {
|
|
2174
2236
|
return !t && !n ? () => {} : new MoveAndResize(e, t, n).stop;
|
|
@@ -2176,7 +2238,7 @@ var yn = vn, bn = "ui-opening", xn = "ui-closing", Sn = "ui-opened", Cn = "ui-cl
|
|
|
2176
2238
|
constructor(e, t, n) {
|
|
2177
2239
|
this.element = e, this.move = t, this.resize = n;
|
|
2178
2240
|
let { style: r } = e;
|
|
2179
|
-
n && (r.resize =
|
|
2241
|
+
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
2242
|
}
|
|
2181
2243
|
listening = new AbortController();
|
|
2182
2244
|
moved = {
|
|
@@ -2189,16 +2251,10 @@ var yn = vn, bn = "ui-opening", xn = "ui-closing", Sn = "ui-opened", Cn = "ui-cl
|
|
|
2189
2251
|
this.resize && (e.resize = "", e.overflow = ""), this.move && (e.cursor = "", e.touchAction = "");
|
|
2190
2252
|
};
|
|
2191
2253
|
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
|
-
}
|
|
2254
|
+
e.button === 0 && (this.resize && this.isOnGrip(e) ? window.addEventListener("pointerup", () => void this.remember(), {
|
|
2255
|
+
once: !0,
|
|
2256
|
+
signal: this.listening.signal
|
|
2257
|
+
}) : this.move && !this.isOnOwnControl(e) && this.startMove(e));
|
|
2202
2258
|
};
|
|
2203
2259
|
async startMove(e) {
|
|
2204
2260
|
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 +2276,12 @@ var yn = vn, bn = "ui-opening", xn = "ui-closing", Sn = "ui-opened", Cn = "ui-cl
|
|
|
2220
2276
|
}
|
|
2221
2277
|
isOnGrip({ clientX: e, clientY: t }) {
|
|
2222
2278
|
let n = this.element.getBoundingClientRect();
|
|
2223
|
-
return e > n.right -
|
|
2279
|
+
return e > n.right - In && t > n.bottom - In;
|
|
2224
2280
|
}
|
|
2225
2281
|
isOnOwnControl(e) {
|
|
2226
2282
|
for (let t of e.composedPath()) {
|
|
2227
2283
|
if (t === this.element) return !1;
|
|
2228
|
-
if (t instanceof Element && t.matches(
|
|
2284
|
+
if (t instanceof Element && t.matches(Ln)) return !0;
|
|
2229
2285
|
}
|
|
2230
2286
|
return !1;
|
|
2231
2287
|
}
|
|
@@ -2250,13 +2306,13 @@ var yn = vn, bn = "ui-opening", xn = "ui-closing", Sn = "ui-opened", Cn = "ui-cl
|
|
|
2250
2306
|
return this.element.id || void 0;
|
|
2251
2307
|
}
|
|
2252
2308
|
static async dragging() {
|
|
2253
|
-
return MoveAndResize.loadedDragging ??= (await import("./Dragging-
|
|
2309
|
+
return MoveAndResize.loadedDragging ??= (await import("./Dragging-B93hbRxF.js").then((e) => e.n)).Dragging, MoveAndResize.loadedDragging;
|
|
2254
2310
|
}
|
|
2255
2311
|
static loadedDragging;
|
|
2256
2312
|
static async store() {
|
|
2257
2313
|
if (!MoveAndResize.prefs) {
|
|
2258
|
-
let { PrefStore: e } = await import("./PrefStore-
|
|
2259
|
-
MoveAndResize.prefs ??= new e(
|
|
2314
|
+
let { PrefStore: e } = await import("./PrefStore-Di83C0bY.js").then((e) => e.n);
|
|
2315
|
+
MoveAndResize.prefs ??= new e(Rn);
|
|
2260
2316
|
}
|
|
2261
2317
|
return MoveAndResize.prefs;
|
|
2262
2318
|
}
|
|
@@ -2266,19 +2322,19 @@ function clamp$1(e, t, n) {
|
|
|
2266
2322
|
return Math.min(Math.max(e, Math.min(t, 0)), Math.max(n, 0));
|
|
2267
2323
|
}
|
|
2268
2324
|
t(clamp$1, "clamp");
|
|
2269
|
-
var
|
|
2325
|
+
var Nn = [
|
|
2270
2326
|
"both",
|
|
2271
2327
|
"horizontally",
|
|
2272
2328
|
"vertically"
|
|
2273
|
-
],
|
|
2329
|
+
], Pn = {
|
|
2274
2330
|
both: "both",
|
|
2275
2331
|
horizontally: "horizontal",
|
|
2276
2332
|
vertically: "vertical"
|
|
2277
|
-
},
|
|
2333
|
+
}, Fn = {
|
|
2278
2334
|
both: "none",
|
|
2279
2335
|
horizontally: "pan-y",
|
|
2280
2336
|
vertically: "pan-x"
|
|
2281
|
-
},
|
|
2337
|
+
}, 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
2338
|
domElement;
|
|
2283
2339
|
attribute;
|
|
2284
2340
|
constructor(e) {
|
|
@@ -2297,7 +2353,7 @@ var Dn = [
|
|
|
2297
2353
|
let t = this.root, n = t.getElementById(e);
|
|
2298
2354
|
if (!n) return !1;
|
|
2299
2355
|
let { attribute: r } = this, i = [...t.querySelectorAll(`${this.domElement.localName}[${r}]`)].filter((t) => t.getAttribute(r) === e && !n.contains(t)), a = [], o = [];
|
|
2300
|
-
for (let t of i) t.contains(n) ?
|
|
2356
|
+
for (let t of i) t.contains(n) ? v.settings.warn(ParentLink.source(t.localName, r, e), "it holds that element; it stays put") : t.compareDocumentPosition(n) & Node.DOCUMENT_POSITION_FOLLOWING ? a.push(t) : o.push(t);
|
|
2301
2357
|
return a.length && n.prepend(...a), o.length && n.append(...o), !0;
|
|
2302
2358
|
}
|
|
2303
2359
|
get root() {
|
|
@@ -2307,7 +2363,7 @@ var Dn = [
|
|
|
2307
2363
|
e.readyState === "loading" ? e.addEventListener("DOMContentLoaded", t, { once: !0 }) : afterSolidUpdate(t);
|
|
2308
2364
|
}
|
|
2309
2365
|
static warnMissing(e, t, n) {
|
|
2310
|
-
ParentLink.warned.has(e) || (ParentLink.warned.add(e),
|
|
2366
|
+
ParentLink.warned.has(e) || (ParentLink.warned.add(e), v.settings.warn(ParentLink.source(t, n, e), `no element has the id "${e}"; it stays where it is, and joins one if it arrives`));
|
|
2311
2367
|
}
|
|
2312
2368
|
static source(e, t, n) {
|
|
2313
2369
|
return `<${e} ${t}="${n}">`;
|
|
@@ -2342,46 +2398,53 @@ var Dn = [
|
|
|
2342
2398
|
static warned = /* @__PURE__ */ new Set();
|
|
2343
2399
|
static waiting = /* @__PURE__ */ new WeakMap();
|
|
2344
2400
|
};
|
|
2345
|
-
|
|
2346
|
-
//#region ../src/util/number.ts
|
|
2401
|
+
// ../src/util/number.ts
|
|
2347
2402
|
function clamp(e, t, n) {
|
|
2348
2403
|
return Math.min(n, Math.max(t, e));
|
|
2349
2404
|
}
|
|
2350
2405
|
function kb(e, { digits: t = 1 } = {}) {
|
|
2351
2406
|
return `${(e / 1024).toFixed(t)} KB`;
|
|
2352
2407
|
}
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
var Pn = class TopLayerTip {
|
|
2408
|
+
// src/util/TopLayerTip.ts
|
|
2409
|
+
var Bn = class TopLayerTip {
|
|
2356
2410
|
static showIn(e, t, { showOnClick: n = !1 } = {}) {
|
|
2357
2411
|
let isOnTrigger = (e) => e.composedPath().some((e) => e.matches?.(t)), r = !1, i = !1, update = () => {
|
|
2358
|
-
let t = e.querySelector(
|
|
2412
|
+
let t = e.querySelector(Vn);
|
|
2359
2413
|
t && TopLayerTip.setShown(t, r || i);
|
|
2360
2414
|
};
|
|
2361
2415
|
e.addEventListener("pointerover", (e) => {
|
|
2362
2416
|
r = isOnTrigger(e), update();
|
|
2363
2417
|
}), e.addEventListener("pointerleave", () => {
|
|
2364
2418
|
r = !1, update();
|
|
2365
|
-
})
|
|
2366
|
-
|
|
2419
|
+
});
|
|
2420
|
+
let a;
|
|
2421
|
+
e.addEventListener("focusin", (e) => {
|
|
2422
|
+
let t = e.composedPath()[0];
|
|
2423
|
+
i = isOnTrigger(e) && (n || t.matches(":focus-visible")), i && n && (a ??= TopLayerTip.blurOnClickElsewhere(t, isOnTrigger)), update();
|
|
2367
2424
|
}), e.addEventListener("focusout", () => {
|
|
2368
|
-
i = !1, update();
|
|
2425
|
+
i = !1, a?.(), a = void 0, update();
|
|
2369
2426
|
}), e.addEventListener("keydown", (e) => {
|
|
2370
2427
|
e.key === "Escape" && (r || i) && (r = i = !1, update());
|
|
2371
2428
|
});
|
|
2372
2429
|
}
|
|
2430
|
+
static blurOnClickElsewhere(e, t) {
|
|
2431
|
+
let onPointerDown = (n) => {
|
|
2432
|
+
t(n) || e.blur();
|
|
2433
|
+
}, n = e.ownerDocument;
|
|
2434
|
+
return n.addEventListener("pointerdown", onPointerDown, { capture: !0 }), () => n.removeEventListener("pointerdown", onPointerDown, { capture: !0 });
|
|
2435
|
+
}
|
|
2373
2436
|
static setShown(e, t) {
|
|
2374
2437
|
e.isConnected && "popover" in e && t !== e.matches(":popover-open") && (e.popover ||= "manual", t ? e.showPopover() : e.hidePopover());
|
|
2375
2438
|
}
|
|
2376
|
-
},
|
|
2439
|
+
}, Vn = "[role=\"tooltip\"]", Warnings = class {
|
|
2377
2440
|
static warn(e, t, ...n) {
|
|
2378
|
-
console.warn(`${
|
|
2441
|
+
console.warn(`${Hn} ${e}: ${t}`, ...n);
|
|
2379
2442
|
}
|
|
2380
2443
|
static error(e, t, ...n) {
|
|
2381
|
-
console.error(`${
|
|
2444
|
+
console.error(`${Hn} ${e}: ${t}`, ...n);
|
|
2382
2445
|
}
|
|
2383
2446
|
static devWarn(e, t, ...n) {}
|
|
2384
|
-
},
|
|
2447
|
+
}, Hn = "[spell-ui]", Un = class LoadOnce {
|
|
2385
2448
|
failures;
|
|
2386
2449
|
loads = /* @__PURE__ */ new Map();
|
|
2387
2450
|
constructor({ failures: e = "kept" } = {}) {
|
|
@@ -2442,9 +2505,9 @@ var Pn = class TopLayerTip {
|
|
|
2442
2505
|
let n = t.filter((t) => t !== e);
|
|
2443
2506
|
return this.pivot === e && (this.pivot = n.at(-1)), n;
|
|
2444
2507
|
}
|
|
2445
|
-
},
|
|
2446
|
-
|
|
2447
|
-
var
|
|
2508
|
+
}, Wn, Gn, Kn, qn, Jn, Yn, Xn, Zn, Qn, $n, er = [proto], k;
|
|
2509
|
+
$n = [proto], Qn = [proto], Zn = [proto], Xn = [proto], Yn = [proto], Jn = [proto], qn = [proto], Kn = [proto], Gn = [proto], Wn = [proto];
|
|
2510
|
+
var A = class _ValueSets {
|
|
2448
2511
|
static get(e) {
|
|
2449
2512
|
return typeof e == "string" ? _ValueSets.prototype[e] ?? [] : e;
|
|
2450
2513
|
}
|
|
@@ -2467,11 +2530,11 @@ var j = class _ValueSets {
|
|
|
2467
2530
|
}), _ValueSets[e] = r;
|
|
2468
2531
|
}
|
|
2469
2532
|
static setFor(e) {
|
|
2470
|
-
let t =
|
|
2533
|
+
let t = nr;
|
|
2471
2534
|
return e.values ?? t[e.kind];
|
|
2472
2535
|
}
|
|
2473
2536
|
static kindSetFor(e) {
|
|
2474
|
-
return
|
|
2537
|
+
return nr[e.kind];
|
|
2475
2538
|
}
|
|
2476
2539
|
static iconsFor(e) {
|
|
2477
2540
|
if (e.icons) return e.icons;
|
|
@@ -2482,13 +2545,13 @@ var j = class _ValueSets {
|
|
|
2482
2545
|
let t;
|
|
2483
2546
|
if (typeof e == "number") t = e;
|
|
2484
2547
|
else {
|
|
2485
|
-
let n = e.trim(), r =
|
|
2486
|
-
t = r ?
|
|
2548
|
+
let n = e.trim(), r = rr.exec(n), i = ir.exec(n);
|
|
2549
|
+
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
2550
|
}
|
|
2488
|
-
return Number.isFinite(t) && t > 0 && t <
|
|
2551
|
+
return Number.isFinite(t) && t > 0 && t < tr + .5 ? t : void 0;
|
|
2489
2552
|
}
|
|
2490
2553
|
static isColumnCount(e) {
|
|
2491
|
-
return Number.isInteger(e) && e >= 1 && e <=
|
|
2554
|
+
return Number.isInteger(e) && e >= 1 && e <= tr;
|
|
2492
2555
|
}
|
|
2493
2556
|
static lookup(e) {
|
|
2494
2557
|
let t = _ValueSets.sets.get(e);
|
|
@@ -2497,12 +2560,12 @@ var j = class _ValueSets {
|
|
|
2497
2560
|
static wordColumns() {
|
|
2498
2561
|
if (!_ValueSets.words) {
|
|
2499
2562
|
_ValueSets.words = /* @__PURE__ */ new Map();
|
|
2500
|
-
for (let e = 1; e <=
|
|
2563
|
+
for (let e = 1; e <= tr; e++) _ValueSets.words.set(numberToWord(e), e);
|
|
2501
2564
|
}
|
|
2502
2565
|
return _ValueSets.words;
|
|
2503
2566
|
}
|
|
2504
2567
|
};
|
|
2505
|
-
|
|
2568
|
+
k = __decoratorStart(null), __decorateElement(k, 13, "hues", er, A), __decorateElement(k, 13, "sizes", $n, A), __decorateElement(k, 13, "positions", Qn, A), __decorateElement(k, 13, "attachments", Zn, A), __decorateElement(k, 13, "alignments", Xn, A), __decorateElement(k, 13, "verticalAlignments", Yn, A), __decorateElement(k, 13, "floats", Jn, A), __decorateElement(k, 13, "widths", qn, A), __decorateElement(k, 13, "devices", Kn, A), __decorateElement(k, 13, "booleans", Gn, A), __decorateElement(k, 13, "topics", Wn, A), __decoratorMetadata(k, A), __name(A, "ValueSets"), __publicField(A, "hues", __runInitializers(k, 8, A, [
|
|
2506
2569
|
"primary",
|
|
2507
2570
|
"secondary",
|
|
2508
2571
|
"red",
|
|
@@ -2520,7 +2583,7 @@ A = __decoratorStart(null), __decorateElement(A, 13, "hues", Jn, j), __decorateE
|
|
|
2520
2583
|
"black",
|
|
2521
2584
|
"positive",
|
|
2522
2585
|
"negative"
|
|
2523
|
-
])), __runInitializers(
|
|
2586
|
+
])), __runInitializers(k, 11, A), __publicField(A, "sizes", __runInitializers(k, 12, A, [
|
|
2524
2587
|
"mini",
|
|
2525
2588
|
"tiny",
|
|
2526
2589
|
"small",
|
|
@@ -2529,7 +2592,7 @@ A = __decoratorStart(null), __decorateElement(A, 13, "hues", Jn, j), __decorateE
|
|
|
2529
2592
|
"big",
|
|
2530
2593
|
"huge",
|
|
2531
2594
|
"massive"
|
|
2532
|
-
])), __runInitializers(
|
|
2595
|
+
])), __runInitializers(k, 15, A), __publicField(A, "positions", __runInitializers(k, 16, A, [
|
|
2533
2596
|
"top left",
|
|
2534
2597
|
"top center",
|
|
2535
2598
|
"top right",
|
|
@@ -2542,7 +2605,7 @@ A = __decoratorStart(null), __decorateElement(A, 13, "hues", Jn, j), __decorateE
|
|
|
2542
2605
|
"left bottom",
|
|
2543
2606
|
"right top",
|
|
2544
2607
|
"right bottom"
|
|
2545
|
-
])), __runInitializers(
|
|
2608
|
+
])), __runInitializers(k, 19, A), __publicField(A, "attachments", __runInitializers(k, 20, A, [
|
|
2546
2609
|
"top",
|
|
2547
2610
|
"bottom",
|
|
2548
2611
|
"left",
|
|
@@ -2551,16 +2614,16 @@ A = __decoratorStart(null), __decorateElement(A, 13, "hues", Jn, j), __decorateE
|
|
|
2551
2614
|
"top right",
|
|
2552
2615
|
"bottom left",
|
|
2553
2616
|
"bottom right"
|
|
2554
|
-
])), __runInitializers(
|
|
2617
|
+
])), __runInitializers(k, 23, A), __publicField(A, "alignments", __runInitializers(k, 24, A, [
|
|
2555
2618
|
"left",
|
|
2556
2619
|
"center",
|
|
2557
2620
|
"right",
|
|
2558
2621
|
"justified"
|
|
2559
|
-
])), __runInitializers(
|
|
2622
|
+
])), __runInitializers(k, 27, A), __publicField(A, "verticalAlignments", __runInitializers(k, 28, A, [
|
|
2560
2623
|
"top",
|
|
2561
2624
|
"middle",
|
|
2562
2625
|
"bottom"
|
|
2563
|
-
])), __runInitializers(
|
|
2626
|
+
])), __runInitializers(k, 31, A), __publicField(A, "floats", __runInitializers(k, 32, A, ["left", "right"])), __runInitializers(k, 35, A), __publicField(A, "widths", __runInitializers(k, 36, A, [
|
|
2564
2627
|
"1",
|
|
2565
2628
|
"2",
|
|
2566
2629
|
"3",
|
|
@@ -2577,18 +2640,18 @@ A = __decoratorStart(null), __decorateElement(A, 13, "hues", Jn, j), __decorateE
|
|
|
2577
2640
|
"14",
|
|
2578
2641
|
"15",
|
|
2579
2642
|
"16"
|
|
2580
|
-
])), __runInitializers(
|
|
2643
|
+
])), __runInitializers(k, 39, A), __publicField(A, "devices", __runInitializers(k, 40, A, [
|
|
2581
2644
|
"mobile",
|
|
2582
2645
|
"tablet",
|
|
2583
2646
|
"computer",
|
|
2584
2647
|
"large screen",
|
|
2585
2648
|
"widescreen"
|
|
2586
|
-
])), __runInitializers(
|
|
2649
|
+
])), __runInitializers(k, 43, A), __publicField(A, "booleans", __runInitializers(k, 44, A, [
|
|
2587
2650
|
"true",
|
|
2588
2651
|
"false",
|
|
2589
2652
|
"yes",
|
|
2590
2653
|
"no"
|
|
2591
|
-
])), __runInitializers(
|
|
2654
|
+
])), __runInitializers(k, 47, A), __publicField(A, "topics", __runInitializers(k, 48, A, /* @__PURE__ */ "basic.layout.containers.navigation.menus.forms.inputs.controls.buttons.selection.date & time.text.typography.media.images.icons.data display.lists.tables.cards.feedback.messages.notifications.overlays.dialogs.popups.loading.progress.status.animation.social.content parts.documentation.elements.collections.views.modules".split("."))), __runInitializers(k, 51, A), __publicField(A, "iconsBySet", {
|
|
2592
2655
|
alignments: {
|
|
2593
2656
|
left: "align left",
|
|
2594
2657
|
center: "align center",
|
|
@@ -2610,20 +2673,20 @@ A = __decoratorStart(null), __decorateElement(A, 13, "hues", Jn, j), __decorateE
|
|
|
2610
2673
|
left: "caret left",
|
|
2611
2674
|
right: "caret right"
|
|
2612
2675
|
}
|
|
2613
|
-
}), __publicField(
|
|
2614
|
-
var
|
|
2676
|
+
}), __publicField(A, "sets", /* @__PURE__ */ new WeakMap()), __publicField(A, "words");
|
|
2677
|
+
var j = A, tr = 16, nr = {
|
|
2615
2678
|
color: "hues",
|
|
2616
2679
|
size: "sizes",
|
|
2617
2680
|
textAlign: "alignments",
|
|
2618
2681
|
verticalAlign: "verticalAlignments",
|
|
2619
2682
|
multiple: "devices",
|
|
2620
2683
|
boolean: "booleans"
|
|
2621
|
-
},
|
|
2684
|
+
}, rr = /^(\d+(?:\.\d+)?)\s*\/\s*(\d+(?:\.\d+)?)$/, ir = /^(\d+(?:\.\d+)?)\s*%$/, ar = /^\d+(?:\.\d+)?$/, M = class Converters {
|
|
2622
2685
|
static boolean(e, t) {
|
|
2623
2686
|
if (e == null) return !1;
|
|
2624
2687
|
if (typeof e == "boolean") return e;
|
|
2625
2688
|
let n = e.trim().toLowerCase();
|
|
2626
|
-
return
|
|
2689
|
+
return or.has(n) || n === t ? !0 : !cr.has(n);
|
|
2627
2690
|
}
|
|
2628
2691
|
static booleanToAttribute(e) {
|
|
2629
2692
|
return e ? "" : null;
|
|
@@ -2631,21 +2694,21 @@ var M = j, Yn = 16, Xn = {
|
|
|
2631
2694
|
static keyOrValue(e, t, n = {}) {
|
|
2632
2695
|
if (e == null || typeof e == "boolean") return e ?? !1;
|
|
2633
2696
|
let r = e.trim().toLowerCase();
|
|
2634
|
-
return
|
|
2697
|
+
return or.has(r) || r === n.attribute ? !0 : cr.has(r) ? !1 : t ? Converters.enumValue(r, t, n) ?? !0 : r;
|
|
2635
2698
|
}
|
|
2636
2699
|
static icon(e, t) {
|
|
2637
2700
|
if (e == null || e === !1) return;
|
|
2638
2701
|
let n = typeof e == "string" ? e.trim() : e === !0 ? "" : typeof e == "number" ? `${e}` : void 0;
|
|
2639
2702
|
if (n === void 0) return;
|
|
2640
2703
|
let r = n.toLowerCase();
|
|
2641
|
-
if (!
|
|
2704
|
+
if (!sr.has(r)) return or.has(r) ? typeof t == "string" ? t : "" : n;
|
|
2642
2705
|
}
|
|
2643
2706
|
static enumValue(e, t, n = {}) {
|
|
2644
2707
|
if (e == null) return;
|
|
2645
|
-
let r = e.trim().toLowerCase().replace(
|
|
2646
|
-
if (
|
|
2708
|
+
let r = e.trim().toLowerCase().replace(ur, " ");
|
|
2709
|
+
if (j.has(t, r)) return r;
|
|
2647
2710
|
if (r === "") return;
|
|
2648
|
-
let i =
|
|
2711
|
+
let i = j.suggest(t, r), a = n.tag ? `<${n.tag} ${n.attribute ?? ""}>` : n.attribute ?? "value";
|
|
2649
2712
|
Warnings.devWarn(a, `unknown value ${JSON.stringify(e)}${i ? `; did you mean ${JSON.stringify(i)}?` : ""}`);
|
|
2650
2713
|
}
|
|
2651
2714
|
static number(e) {
|
|
@@ -2659,7 +2722,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
2659
2722
|
if (typeof e != "string") return e;
|
|
2660
2723
|
let t = e.trim();
|
|
2661
2724
|
if (t !== "") {
|
|
2662
|
-
if (!
|
|
2725
|
+
if (!dr.includes(t[0])) return e;
|
|
2663
2726
|
try {
|
|
2664
2727
|
return JSON.parse(t);
|
|
2665
2728
|
} catch (t) {
|
|
@@ -2669,142 +2732,143 @@ var M = j, Yn = 16, Xn = {
|
|
|
2669
2732
|
}
|
|
2670
2733
|
}
|
|
2671
2734
|
static list(e) {
|
|
2672
|
-
return e == null ? [] : typeof e == "string" ? e.split(
|
|
2735
|
+
return e == null ? [] : typeof e == "string" ? e.split(lr).filter(Boolean) : [...e];
|
|
2673
2736
|
}
|
|
2674
|
-
},
|
|
2737
|
+
}, or = /* @__PURE__ */ new Set([
|
|
2675
2738
|
"",
|
|
2676
2739
|
"true",
|
|
2677
2740
|
"yes"
|
|
2678
|
-
]),
|
|
2679
|
-
ACTIVE: () =>
|
|
2680
|
-
ANIMATING: () =>
|
|
2681
|
-
APPEARANCE: () =>
|
|
2682
|
-
AnimationLookup: () =>
|
|
2683
|
-
Animations: () =>
|
|
2684
|
-
AttentionAnimations: () =>
|
|
2741
|
+
]), sr = /* @__PURE__ */ new Set(["false", "no"]), cr = /* @__PURE__ */ new Set([...sr, "0"]), lr = /[\s,]+/, ur = /\s+/g, dr = "[{\"", fr = /* @__PURE__ */ e({
|
|
2742
|
+
ACTIVE: () => hi,
|
|
2743
|
+
ANIMATING: () => vi,
|
|
2744
|
+
APPEARANCE: () => Ti,
|
|
2745
|
+
AnimationLookup: () => Yr,
|
|
2746
|
+
Animations: () => Hr,
|
|
2747
|
+
AttentionAnimations: () => Br,
|
|
2685
2748
|
BAR: () => "bar",
|
|
2686
|
-
BASIC: () =>
|
|
2687
|
-
BOTTOM: () =>
|
|
2688
|
-
BUTTON: () =>
|
|
2689
|
-
BreadcrumbDividerTokens: () =>
|
|
2690
|
-
CLOSE: () =>
|
|
2691
|
-
CLOSE_CLASS: () =>
|
|
2692
|
-
CLOSE_ICON: () =>
|
|
2749
|
+
BASIC: () => Pi,
|
|
2750
|
+
BOTTOM: () => mi,
|
|
2751
|
+
BUTTON: () => xi,
|
|
2752
|
+
BreadcrumbDividerTokens: () => kr,
|
|
2753
|
+
CLOSE: () => fi,
|
|
2754
|
+
CLOSE_CLASS: () => Ii,
|
|
2755
|
+
CLOSE_ICON: () => Li,
|
|
2693
2756
|
CLOSE_TEXT: () => "×",
|
|
2694
|
-
CODE_SPAN: () =>
|
|
2757
|
+
CODE_SPAN: () => ca,
|
|
2695
2758
|
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: () =>
|
|
2759
|
+
CONTENT: () => Si,
|
|
2760
|
+
DEFAULT_ANIMATION: () => qr,
|
|
2761
|
+
DESCRIPTION: () => Ei,
|
|
2762
|
+
DIGITS: () => Hi,
|
|
2763
|
+
DISABLED: () => gi,
|
|
2764
|
+
DISABLED_STATE: () => ui,
|
|
2765
|
+
FIELD_HOST_STATE: () => Mr,
|
|
2766
|
+
FLUID: () => Fi,
|
|
2767
|
+
Flags: () => pr,
|
|
2768
|
+
FontFaces: () => Wr,
|
|
2769
|
+
FontFamilies: () => Gr,
|
|
2770
|
+
FontWords: () => Kr,
|
|
2771
|
+
FormControlAttributes: () => Ui,
|
|
2772
|
+
FormControlStates: () => Wi,
|
|
2773
|
+
FormStates: () => zi,
|
|
2774
|
+
GRID_CONTAINER_NAME: () => Sr,
|
|
2775
|
+
HEADER: () => Ci,
|
|
2776
|
+
HEADING: () => wi,
|
|
2714
2777
|
HeadingLevels: () => HeadingLevels,
|
|
2715
|
-
ICON: () =>
|
|
2716
|
-
ICON_CLASS: () =>
|
|
2717
|
-
IMAGE: () =>
|
|
2778
|
+
ICON: () => Di,
|
|
2779
|
+
ICON_CLASS: () => Oi,
|
|
2780
|
+
IMAGE: () => ki,
|
|
2718
2781
|
IN: () => "in",
|
|
2719
|
-
ITEM: () =>
|
|
2720
|
-
InputOwnerTokens: () =>
|
|
2721
|
-
ItemAlignments: () =>
|
|
2722
|
-
Key: () =>
|
|
2723
|
-
LABEL: () =>
|
|
2724
|
-
LEFT: () =>
|
|
2725
|
-
MESSAGE: () =>
|
|
2726
|
-
MOTION_PROPERTY: () =>
|
|
2727
|
-
MenuAppearances: () =>
|
|
2728
|
-
ModalActionSelectors: () =>
|
|
2782
|
+
ITEM: () => Ai,
|
|
2783
|
+
InputOwnerTokens: () => jr,
|
|
2784
|
+
ItemAlignments: () => Or,
|
|
2785
|
+
Key: () => li,
|
|
2786
|
+
LABEL: () => ji,
|
|
2787
|
+
LEFT: () => pi,
|
|
2788
|
+
MESSAGE: () => Mi,
|
|
2789
|
+
MOTION_PROPERTY: () => Jr,
|
|
2790
|
+
MenuAppearances: () => Dr,
|
|
2791
|
+
ModalActionSelectors: () => Lr,
|
|
2729
2792
|
ModalActions: () => ModalActions,
|
|
2730
|
-
NO_ANIMATION: () =>
|
|
2731
|
-
ORDERED: () =>
|
|
2793
|
+
NO_ANIMATION: () => Vr,
|
|
2794
|
+
ORDERED: () => di,
|
|
2732
2795
|
OUT: () => "out",
|
|
2733
2796
|
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: () =>
|
|
2797
|
+
PLACEHOLDER_HOST_STATE: () => Ar,
|
|
2798
|
+
PUSHABLE_HOST_STATE: () => ti,
|
|
2799
|
+
PUSHER_HOST_STATE: () => $r,
|
|
2800
|
+
PartOwnerTokens: () => yr,
|
|
2801
|
+
PopupTrigger: () => N,
|
|
2802
|
+
PopupTriggers: () => Ir,
|
|
2803
|
+
PosterSizes: () => Ur,
|
|
2804
|
+
PusherTokens: () => ni,
|
|
2805
|
+
REQUIRED_RULE: () => Bi,
|
|
2806
|
+
SELECTED: () => _i,
|
|
2807
|
+
SIDEBAR_HOST_STATE: () => ei,
|
|
2808
|
+
SIDE_HOST_STATE: () => si,
|
|
2809
|
+
STACK_WITH_CLASS: () => Tr,
|
|
2810
|
+
STACK_WITH_TOKEN: () => wr,
|
|
2811
|
+
STATIC_CONTROL: () => br,
|
|
2812
|
+
STATIC_ROOT: () => xr,
|
|
2813
|
+
SearchMatch: () => P,
|
|
2814
|
+
SearchMatches: () => Rr,
|
|
2815
|
+
SectionTitle: () => ci,
|
|
2816
|
+
ShapeCommands: () => oi,
|
|
2817
|
+
ShapeFlips: () => ai,
|
|
2818
|
+
SourceAttributes: () => Ki,
|
|
2819
|
+
SourceBodyAttributes: () => Qi,
|
|
2820
|
+
SourceBodyEvents: () => $i,
|
|
2821
|
+
SourceBodyParts: () => ea,
|
|
2822
|
+
SourceBodyStates: () => ta,
|
|
2823
|
+
SourceEvents: () => qi,
|
|
2824
|
+
SourceFailureTexts: () => Xi,
|
|
2825
|
+
SourceLoadModes: () => Gi,
|
|
2826
|
+
SourceParts: () => Ji,
|
|
2827
|
+
SourceStates: () => Yi,
|
|
2828
|
+
SourceTexts: () => Zi,
|
|
2829
|
+
SpaceSteps: () => Er,
|
|
2830
|
+
SpecialFlags: () => mr,
|
|
2768
2831
|
StackClasses: () => StackClasses,
|
|
2769
|
-
StackWithValues: () =>
|
|
2770
|
-
TABLE_SORT_KEY: () =>
|
|
2771
|
-
TABLE_SORT_OPT_OUT: () =>
|
|
2772
|
-
TEXT: () =>
|
|
2773
|
-
THEME_APPLIED_EVENT: () =>
|
|
2774
|
-
|
|
2832
|
+
StackWithValues: () => Cr,
|
|
2833
|
+
TABLE_SORT_KEY: () => Fr,
|
|
2834
|
+
TABLE_SORT_OPT_OUT: () => Pr,
|
|
2835
|
+
TEXT: () => Ni,
|
|
2836
|
+
THEME_APPLIED_EVENT: () => sa,
|
|
2837
|
+
TICK_PATH: () => vr,
|
|
2838
|
+
TITLE: () => bi,
|
|
2775
2839
|
TOP: () => "top",
|
|
2776
|
-
TableCellTypes: () =>
|
|
2777
|
-
ThemeCorners: () =>
|
|
2778
|
-
ThemeDepths: () =>
|
|
2779
|
-
ThemeFonts: () =>
|
|
2780
|
-
ThemeGlasses: () =>
|
|
2781
|
-
ThemeHues: () =>
|
|
2840
|
+
TableCellTypes: () => Nr,
|
|
2841
|
+
ThemeCorners: () => ia,
|
|
2842
|
+
ThemeDepths: () => aa,
|
|
2843
|
+
ThemeFonts: () => ra,
|
|
2844
|
+
ThemeGlasses: () => oa,
|
|
2845
|
+
ThemeHues: () => na,
|
|
2782
2846
|
ThemeNames: () => ThemeNames,
|
|
2783
|
-
TocMarks: () =>
|
|
2784
|
-
ToggleCommands: () =>
|
|
2785
|
-
TransitionCommands: () =>
|
|
2786
|
-
VISIBLE: () =>
|
|
2787
|
-
VISUALLY_HIDDEN: () =>
|
|
2788
|
-
VisibilityAnimations: () =>
|
|
2789
|
-
WHITESPACE: () =>
|
|
2847
|
+
TocMarks: () => la,
|
|
2848
|
+
ToggleCommands: () => Qr,
|
|
2849
|
+
TransitionCommands: () => Zr,
|
|
2850
|
+
VISIBLE: () => yi,
|
|
2851
|
+
VISUALLY_HIDDEN: () => Ri,
|
|
2852
|
+
VisibilityAnimations: () => zr,
|
|
2853
|
+
WHITESPACE: () => Vi,
|
|
2790
2854
|
WordWidthClasses: () => WordWidthClasses,
|
|
2791
|
-
WordWidths: () =>
|
|
2792
|
-
}),
|
|
2855
|
+
WordWidths: () => ri
|
|
2856
|
+
}), pr = class Flags {
|
|
2793
2857
|
static emojiFor(e) {
|
|
2794
2858
|
let t = e.toLowerCase();
|
|
2795
|
-
return Flags.isSpecial(t) ?
|
|
2859
|
+
return Flags.isSpecial(t) ? mr[t] : hr.test(t) ? String.fromCodePoint(...Array.from(t, (e) => gr + e.charCodeAt(0) - _r)) : "";
|
|
2796
2860
|
}
|
|
2797
2861
|
static isSpecial(e) {
|
|
2798
|
-
return Object.hasOwn(
|
|
2862
|
+
return Object.hasOwn(mr, e);
|
|
2799
2863
|
}
|
|
2800
|
-
},
|
|
2864
|
+
}, mr = {
|
|
2801
2865
|
rainbow: "🏳️🌈",
|
|
2802
2866
|
transgender: "🏳️⚧️",
|
|
2803
2867
|
pirate: "🏴☠️",
|
|
2804
2868
|
"gb-eng": "🏴",
|
|
2805
2869
|
"gb-sct": "🏴",
|
|
2806
2870
|
"gb-wls": "🏴"
|
|
2807
|
-
},
|
|
2871
|
+
}, hr = /^[a-z]{2}$/, gr = 127462, _r = 97, vr = "M3 8.5 6.5 12 13 4.5", yr = {
|
|
2808
2872
|
inverted: "--ui-inverted",
|
|
2809
2873
|
cardLayout: "--_ui-card-layout",
|
|
2810
2874
|
cardLeading: "--_ui-card-leading",
|
|
@@ -2827,65 +2891,65 @@ var M = j, Yn = 16, Xn = {
|
|
|
2827
2891
|
headerLayout: "--_ui-header-layout",
|
|
2828
2892
|
labelLayout: "--_ui-label-layout",
|
|
2829
2893
|
part: "--_ui-part"
|
|
2830
|
-
},
|
|
2894
|
+
}, br = "data-ui-control", xr = "data-ui", Sr = "ui-grid", Cr = ["container", "page"], wr = "--ui-stack-with", Tr = "stack-with-", StackClasses = class {
|
|
2831
2895
|
static classFor(e) {
|
|
2832
|
-
return e ? `${
|
|
2896
|
+
return e ? `${Tr}${e}` : void 0;
|
|
2833
2897
|
}
|
|
2834
|
-
},
|
|
2898
|
+
}, Er = {
|
|
2835
2899
|
none: "0",
|
|
2836
2900
|
xs: "var(--ui-space-xs)",
|
|
2837
2901
|
sm: "var(--ui-space-s)",
|
|
2838
2902
|
md: "var(--ui-space-m)",
|
|
2839
2903
|
lg: "var(--ui-space-l)",
|
|
2840
2904
|
xl: "var(--ui-space-xl)"
|
|
2841
|
-
},
|
|
2905
|
+
}, Dr = [
|
|
2842
2906
|
"tabular",
|
|
2843
2907
|
"pointing",
|
|
2844
2908
|
"secondary",
|
|
2845
2909
|
"text",
|
|
2846
2910
|
"segmented"
|
|
2847
|
-
],
|
|
2911
|
+
], Or = [
|
|
2848
2912
|
"fluid",
|
|
2849
2913
|
"left",
|
|
2850
2914
|
"center",
|
|
2851
2915
|
"right"
|
|
2852
|
-
],
|
|
2916
|
+
], kr = {
|
|
2853
2917
|
text: "--ui-breadcrumb-divider",
|
|
2854
2918
|
icon: "--ui-breadcrumb-divider-icon",
|
|
2855
2919
|
layout: "--_ui-breadcrumb-divider-layout"
|
|
2856
|
-
},
|
|
2920
|
+
}, Ar = "placeholder", jr = {
|
|
2857
2921
|
width: "--_ui-input-owner-width",
|
|
2858
2922
|
weight: "--_ui-input-owner-weight",
|
|
2859
2923
|
color: "--_ui-field-state-color",
|
|
2860
2924
|
background: "--_ui-field-state-background",
|
|
2861
2925
|
border: "--_ui-field-state-border"
|
|
2862
|
-
},
|
|
2926
|
+
}, Mr = "field", Nr = [
|
|
2863
2927
|
"text",
|
|
2864
2928
|
"number",
|
|
2865
2929
|
"date",
|
|
2866
2930
|
"yes-no",
|
|
2867
2931
|
"choice",
|
|
2868
2932
|
"link"
|
|
2869
|
-
],
|
|
2933
|
+
], Pr = {
|
|
2870
2934
|
attribute: "data-sortable",
|
|
2871
2935
|
value: "false"
|
|
2872
|
-
},
|
|
2936
|
+
}, Fr = "data-key", N = {
|
|
2873
2937
|
hover: "hover",
|
|
2874
2938
|
focus: "focus",
|
|
2875
2939
|
click: "click",
|
|
2876
2940
|
manual: "manual"
|
|
2877
|
-
},
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
],
|
|
2941
|
+
}, Ir = [
|
|
2942
|
+
N.hover,
|
|
2943
|
+
N.focus,
|
|
2944
|
+
N.click,
|
|
2945
|
+
N.manual
|
|
2946
|
+
], Lr = {
|
|
2883
2947
|
approve: ".approve, .ok, .positive, [color=\"positive\"], [positive]:not([positive=\"false\"], [positive=\"no\"])",
|
|
2884
2948
|
deny: ".deny, .cancel, .negative, [color=\"negative\"], [negative]:not([negative=\"false\"], [negative=\"no\"])"
|
|
2885
2949
|
}, ModalActions = class {
|
|
2886
2950
|
static of(e) {
|
|
2887
|
-
if (e.matches(
|
|
2888
|
-
if (e.matches(
|
|
2951
|
+
if (e.matches(Lr.approve)) return "approve";
|
|
2952
|
+
if (e.matches(Lr.deny)) return "deny";
|
|
2889
2953
|
}
|
|
2890
2954
|
static *lightPath(e, t) {
|
|
2891
2955
|
let n = t.getRootNode();
|
|
@@ -2895,19 +2959,19 @@ var M = j, Yn = 16, Xn = {
|
|
|
2895
2959
|
e.matches && e.getRootNode?.() === n && (yield r);
|
|
2896
2960
|
}
|
|
2897
2961
|
}
|
|
2898
|
-
},
|
|
2962
|
+
}, P = {
|
|
2899
2963
|
exact: "exact",
|
|
2900
2964
|
fuzzy: "fuzzy",
|
|
2901
2965
|
prefix: "prefix",
|
|
2902
2966
|
some: "some",
|
|
2903
2967
|
all: "all"
|
|
2904
|
-
},
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
],
|
|
2968
|
+
}, Rr = [
|
|
2969
|
+
P.exact,
|
|
2970
|
+
P.fuzzy,
|
|
2971
|
+
P.prefix,
|
|
2972
|
+
P.some,
|
|
2973
|
+
P.all
|
|
2974
|
+
], zr = /* @__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("."), Br = [
|
|
2911
2975
|
"flash",
|
|
2912
2976
|
"shake",
|
|
2913
2977
|
"bounce",
|
|
@@ -2916,11 +2980,11 @@ var M = j, Yn = 16, Xn = {
|
|
|
2916
2980
|
"jiggle",
|
|
2917
2981
|
"glow",
|
|
2918
2982
|
"coin"
|
|
2919
|
-
],
|
|
2920
|
-
...
|
|
2921
|
-
...
|
|
2922
|
-
|
|
2923
|
-
],
|
|
2983
|
+
], Vr = "none", Hr = [
|
|
2984
|
+
...zr,
|
|
2985
|
+
...Br,
|
|
2986
|
+
Vr
|
|
2987
|
+
], Ur = [
|
|
2924
2988
|
"mini",
|
|
2925
2989
|
"tiny",
|
|
2926
2990
|
"small",
|
|
@@ -2930,7 +2994,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
2930
2994
|
"huge",
|
|
2931
2995
|
"massive",
|
|
2932
2996
|
"poster"
|
|
2933
|
-
],
|
|
2997
|
+
], Wr = [
|
|
2934
2998
|
"bold",
|
|
2935
2999
|
"heavy",
|
|
2936
3000
|
"italic",
|
|
@@ -2942,37 +3006,37 @@ var M = j, Yn = 16, Xn = {
|
|
|
2942
3006
|
"superscript",
|
|
2943
3007
|
"all-caps",
|
|
2944
3008
|
"title-caps"
|
|
2945
|
-
],
|
|
3009
|
+
], Gr = [
|
|
2946
3010
|
"headline",
|
|
2947
3011
|
"subhead",
|
|
2948
3012
|
"serif",
|
|
2949
3013
|
"sans-serif",
|
|
2950
3014
|
"typewriter"
|
|
2951
|
-
],
|
|
3015
|
+
], Kr = [...Wr, ...Gr], qr = "fade", Jr = "--ui-motion", Yr = class AnimationLookup {
|
|
2952
3016
|
static fomanticNameFor(e) {
|
|
2953
3017
|
let t = e.trim().replace(/\s+/g, " ");
|
|
2954
|
-
return
|
|
3018
|
+
return Hr.includes(t) ? t : Hr.find((e) => AnimationLookup.runtimeNameFor(e) === t);
|
|
2955
3019
|
}
|
|
2956
3020
|
static runtimeNameFor(e) {
|
|
2957
|
-
return
|
|
3021
|
+
return Xr[e] ?? e.replace(/ /g, "-");
|
|
2958
3022
|
}
|
|
2959
3023
|
static isAttention(e) {
|
|
2960
|
-
return
|
|
3024
|
+
return Br.includes(e);
|
|
2961
3025
|
}
|
|
2962
3026
|
static keyframesBeside(e, t) {
|
|
2963
3027
|
if (e !== "none" && e !== t) return AnimationLookup.isAttention(e) ? void 0 : AnimationLookup.runtimeNameFor(e);
|
|
2964
3028
|
}
|
|
2965
|
-
},
|
|
3029
|
+
}, Xr = {
|
|
2966
3030
|
"horizontal flip": "flip-horizontal",
|
|
2967
3031
|
"vertical flip": "flip-vertical",
|
|
2968
3032
|
slide: "slide-down",
|
|
2969
3033
|
swing: "swing-down"
|
|
2970
|
-
},
|
|
3034
|
+
}, Zr = {
|
|
2971
3035
|
show: "--show",
|
|
2972
3036
|
close: "--close",
|
|
2973
3037
|
toggle: "--toggle",
|
|
2974
3038
|
transition: "--transition"
|
|
2975
|
-
},
|
|
3039
|
+
}, Qr = class ToggleCommands {
|
|
2976
3040
|
static show = "--show";
|
|
2977
3041
|
static close = "--close";
|
|
2978
3042
|
static toggle = "--toggle";
|
|
@@ -2981,38 +3045,38 @@ var M = j, Yn = 16, Xn = {
|
|
|
2981
3045
|
if (n === ToggleCommands.show || n === ToggleCommands.toggle && !t) return "show";
|
|
2982
3046
|
if (n === ToggleCommands.close || n === ToggleCommands.toggle) return "close";
|
|
2983
3047
|
}
|
|
2984
|
-
},
|
|
3048
|
+
}, $r = "pusher", ei = "sidebar", ti = "pushable", ni = {
|
|
2985
3049
|
transform: "--_ui-pusher-transform",
|
|
2986
3050
|
origin: "--_ui-pusher-origin",
|
|
2987
3051
|
dimmed: "--_ui-pusher-dimmed",
|
|
2988
3052
|
blurring: "--_ui-pusher-blurring"
|
|
2989
|
-
},
|
|
3053
|
+
}, ri = [
|
|
2990
3054
|
"very thin",
|
|
2991
3055
|
"thin",
|
|
2992
3056
|
"wide",
|
|
2993
3057
|
"very wide"
|
|
2994
3058
|
], WordWidthClasses = class {
|
|
2995
3059
|
static classFor(e) {
|
|
2996
|
-
let t = typeof e == "string" ? e.trim().replace(
|
|
2997
|
-
return
|
|
3060
|
+
let t = typeof e == "string" ? e.trim().replace(ii, " ") : void 0;
|
|
3061
|
+
return ri.find((e) => e === t);
|
|
2998
3062
|
}
|
|
2999
|
-
},
|
|
3063
|
+
}, ii = /[\s-]+/g, ai = [
|
|
3000
3064
|
"up",
|
|
3001
3065
|
"down",
|
|
3002
3066
|
"left",
|
|
3003
3067
|
"right",
|
|
3004
3068
|
"over",
|
|
3005
3069
|
"back"
|
|
3006
|
-
],
|
|
3070
|
+
], oi = {
|
|
3007
3071
|
next: "--next",
|
|
3008
3072
|
previous: "--previous",
|
|
3009
3073
|
flip: "--flip-"
|
|
3010
|
-
},
|
|
3074
|
+
}, si = "side", ci = { textOf(e) {
|
|
3011
3075
|
let t = e.getAttribute("label");
|
|
3012
3076
|
if (t) return t;
|
|
3013
3077
|
let n = [...e.children].find((e) => e.getAttribute("slot") === "label");
|
|
3014
3078
|
return n ? n.textContent ?? void 0 : void 0;
|
|
3015
|
-
} },
|
|
3079
|
+
} }, li = {
|
|
3016
3080
|
arrowUp: "ArrowUp",
|
|
3017
3081
|
arrowDown: "ArrowDown",
|
|
3018
3082
|
arrowLeft: "ArrowLeft",
|
|
@@ -3027,12 +3091,12 @@ var M = j, Yn = 16, Xn = {
|
|
|
3027
3091
|
tab: "Tab",
|
|
3028
3092
|
backspace: "Backspace",
|
|
3029
3093
|
delete: "Delete"
|
|
3030
|
-
},
|
|
3094
|
+
}, ui = ":state(disabled)", di = "ordered", fi = "close", pi = "left", mi = "bottom", hi = "active", gi = "disabled", _i = "selected", vi = "animating", yi = "visible", bi = "title", xi = "button", Si = "content", Ci = "header", wi = "heading", Ti = "appearance", Ei = "description", Di = "icon", Oi = "icon", ki = "image", Ai = "item", ji = "label", Mi = "message", Ni = "text", Pi = "basic", Fi = "fluid", Ii = "close icon", Li = "xmark", Ri = "ui-visually-hidden-force", zi = [
|
|
3031
3095
|
"error",
|
|
3032
3096
|
"info",
|
|
3033
3097
|
"success",
|
|
3034
3098
|
"warning"
|
|
3035
|
-
],
|
|
3099
|
+
], Bi = "notEmpty", Vi = /\s+/, Hi = /^\d+(\.\d+)?$/, Ui = {
|
|
3036
3100
|
name: {
|
|
3037
3101
|
name: "name",
|
|
3038
3102
|
group: "name",
|
|
@@ -3065,7 +3129,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
3065
3129
|
kind: "string",
|
|
3066
3130
|
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
3131
|
}
|
|
3068
|
-
},
|
|
3132
|
+
}, Wi = {
|
|
3069
3133
|
readonly: {
|
|
3070
3134
|
name: "readonly",
|
|
3071
3135
|
description: "`readonly`: can't be changed."
|
|
@@ -3074,21 +3138,21 @@ var M = j, Yn = 16, Xn = {
|
|
|
3074
3138
|
name: "invalid",
|
|
3075
3139
|
description: "Fails validation, once a person has interacted (`:user-invalid` semantics)."
|
|
3076
3140
|
}
|
|
3077
|
-
},
|
|
3141
|
+
}, Gi = [
|
|
3078
3142
|
"eager",
|
|
3079
3143
|
"visible",
|
|
3080
3144
|
"idle"
|
|
3081
|
-
],
|
|
3145
|
+
], Ki = [{
|
|
3082
3146
|
name: "source",
|
|
3083
3147
|
kind: "string",
|
|
3084
3148
|
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
3149
|
}, {
|
|
3086
3150
|
name: "load",
|
|
3087
3151
|
kind: "enum",
|
|
3088
|
-
values:
|
|
3152
|
+
values: Gi,
|
|
3089
3153
|
default: "eager",
|
|
3090
3154
|
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
|
-
}],
|
|
3155
|
+
}], qi = [
|
|
3092
3156
|
{
|
|
3093
3157
|
name: "ui-loaded",
|
|
3094
3158
|
detail: "{ source?: string, content: string }",
|
|
@@ -3116,13 +3180,13 @@ var M = j, Yn = 16, Xn = {
|
|
|
3116
3180
|
cancelable: !0,
|
|
3117
3181
|
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
3182
|
}
|
|
3119
|
-
],
|
|
3183
|
+
], Ji = [{
|
|
3120
3184
|
name: "loader",
|
|
3121
3185
|
description: "The `<ui-loader>` shown while `source` loads."
|
|
3122
3186
|
}, {
|
|
3123
3187
|
name: "error",
|
|
3124
3188
|
description: "The `<ui-message>` shown when loading or showing failed."
|
|
3125
|
-
}],
|
|
3189
|
+
}], Yi = [
|
|
3126
3190
|
{
|
|
3127
3191
|
name: "loading",
|
|
3128
3192
|
description: "Fetching `source`."
|
|
@@ -3139,7 +3203,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
3139
3203
|
name: "dirty",
|
|
3140
3204
|
description: "`content` changed since it was loaded or saved."
|
|
3141
3205
|
}
|
|
3142
|
-
],
|
|
3206
|
+
], Xi = [
|
|
3143
3207
|
{
|
|
3144
3208
|
key: "sourceLoadError",
|
|
3145
3209
|
text: "Couldn't load {source}.",
|
|
@@ -3160,11 +3224,11 @@ var M = j, Yn = 16, Xn = {
|
|
|
3160
3224
|
text: "Couldn't show {source}.",
|
|
3161
3225
|
description: "The text arrived, but couldn't be shown."
|
|
3162
3226
|
}
|
|
3163
|
-
],
|
|
3227
|
+
], Zi = [{
|
|
3164
3228
|
key: "sourceLoading",
|
|
3165
3229
|
text: "Loading {source}",
|
|
3166
3230
|
description: "Accessible name of the loader."
|
|
3167
|
-
}, ...
|
|
3231
|
+
}, ...Xi], Qi = [{
|
|
3168
3232
|
name: "source",
|
|
3169
3233
|
kind: "string",
|
|
3170
3234
|
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 +3237,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
3173
3237
|
kind: "string",
|
|
3174
3238
|
replaces: ["select"],
|
|
3175
3239
|
description: "With `source`: a CSS selector; only its first match in the file becomes the content. Its old name was `select`."
|
|
3176
|
-
}],
|
|
3240
|
+
}], $i = [
|
|
3177
3241
|
{
|
|
3178
3242
|
name: "ui-loading",
|
|
3179
3243
|
detail: "{ source: string }",
|
|
@@ -3190,16 +3254,16 @@ var M = j, Yn = 16, Xn = {
|
|
|
3190
3254
|
cancelable: !0,
|
|
3191
3255
|
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
3256
|
}
|
|
3193
|
-
],
|
|
3257
|
+
], ea = [{
|
|
3194
3258
|
name: "error",
|
|
3195
3259
|
description: "With `source`: the line saying the file couldn't be loaded."
|
|
3196
|
-
}],
|
|
3260
|
+
}], ta = [{
|
|
3197
3261
|
name: "loaded",
|
|
3198
3262
|
description: "With `source`: the file's body is in place."
|
|
3199
3263
|
}, {
|
|
3200
3264
|
name: "error",
|
|
3201
3265
|
description: "With `source`: the file couldn't be loaded or shown."
|
|
3202
|
-
}],
|
|
3266
|
+
}], na = [
|
|
3203
3267
|
"red",
|
|
3204
3268
|
"orange",
|
|
3205
3269
|
"yellow",
|
|
@@ -3213,7 +3277,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
3213
3277
|
"brown",
|
|
3214
3278
|
"grey",
|
|
3215
3279
|
"black"
|
|
3216
|
-
],
|
|
3280
|
+
], ra = [
|
|
3217
3281
|
"system",
|
|
3218
3282
|
"rounded",
|
|
3219
3283
|
"serif",
|
|
@@ -3221,20 +3285,20 @@ var M = j, Yn = 16, Xn = {
|
|
|
3221
3285
|
"humanist",
|
|
3222
3286
|
"verdana",
|
|
3223
3287
|
"mono"
|
|
3224
|
-
],
|
|
3288
|
+
], ia = [
|
|
3225
3289
|
"sharp",
|
|
3226
3290
|
"soft",
|
|
3227
3291
|
"round",
|
|
3228
3292
|
"pill"
|
|
3229
|
-
],
|
|
3293
|
+
], aa = [
|
|
3230
3294
|
"flat",
|
|
3231
3295
|
"soft",
|
|
3232
3296
|
"lifted"
|
|
3233
|
-
],
|
|
3297
|
+
], oa = [
|
|
3234
3298
|
"clear",
|
|
3235
3299
|
"frosted",
|
|
3236
3300
|
"solid"
|
|
3237
|
-
],
|
|
3301
|
+
], sa = "ui-theme-applied", ThemeNames = class {
|
|
3238
3302
|
static titleOf(e) {
|
|
3239
3303
|
return e.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ");
|
|
3240
3304
|
}
|
|
@@ -3249,10 +3313,10 @@ var M = j, Yn = 16, Xn = {
|
|
|
3249
3313
|
static attributeFor(e) {
|
|
3250
3314
|
return String(Math.min(6, Math.max(1, Math.round(e))));
|
|
3251
3315
|
}
|
|
3252
|
-
},
|
|
3316
|
+
}, ca = /`([^`]+)`/g, la = {
|
|
3253
3317
|
entry: "data-toc",
|
|
3254
3318
|
group: "data-toc-group"
|
|
3255
|
-
},
|
|
3319
|
+
}, ua = {
|
|
3256
3320
|
lang: "es",
|
|
3257
3321
|
attributes: {
|
|
3258
3322
|
disabled: "desactivado",
|
|
@@ -3269,7 +3333,8 @@ var M = j, Yn = 16, Xn = {
|
|
|
3269
3333
|
tooltip: "ayuda",
|
|
3270
3334
|
label: "etiqueta",
|
|
3271
3335
|
movable: "movible",
|
|
3272
|
-
resizable: "redimensionable"
|
|
3336
|
+
resizable: "redimensionable",
|
|
3337
|
+
"on-platform": "en-plataforma"
|
|
3273
3338
|
},
|
|
3274
3339
|
values: { font: {
|
|
3275
3340
|
bold: "negrita",
|
|
@@ -3289,7 +3354,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
3289
3354
|
"sans-serif": "sin-serifa",
|
|
3290
3355
|
typewriter: "máquina"
|
|
3291
3356
|
} }
|
|
3292
|
-
},
|
|
3357
|
+
}, F = class SharedVocabulary {
|
|
3293
3358
|
static attributesFor(e) {
|
|
3294
3359
|
return SharedVocabulary.withShared(e).attributes;
|
|
3295
3360
|
}
|
|
@@ -3300,29 +3365,29 @@ var M = j, Yn = 16, Xn = {
|
|
|
3300
3365
|
return SharedVocabulary.withShared(e).shared.has(t);
|
|
3301
3366
|
}
|
|
3302
3367
|
static translated(e, t) {
|
|
3303
|
-
return
|
|
3368
|
+
return fa.get(e)?.attributes[t];
|
|
3304
3369
|
}
|
|
3305
3370
|
static translatedValues(e, t) {
|
|
3306
|
-
return
|
|
3371
|
+
return fa.get(e)?.values?.[t];
|
|
3307
3372
|
}
|
|
3308
3373
|
static get attributeNames() {
|
|
3309
|
-
return
|
|
3374
|
+
return da.map(({ name: e }) => e);
|
|
3310
3375
|
}
|
|
3311
3376
|
static isSharedAttribute(e) {
|
|
3312
|
-
return
|
|
3377
|
+
return da.some((t) => t.name === e);
|
|
3313
3378
|
}
|
|
3314
3379
|
static withShared(e) {
|
|
3315
3380
|
let t = SharedVocabulary.cache.get(e);
|
|
3316
3381
|
if (t) return t;
|
|
3317
|
-
let n = new Set(e.attributes.map(({ name: e }) => e)), r =
|
|
3382
|
+
let n = new Set(e.attributes.map(({ name: e }) => e)), r = da.filter(({ name: e }) => !n.has(e)), i = new Set(e.states.map(({ name: e }) => e));
|
|
3318
3383
|
return t = {
|
|
3319
3384
|
attributes: r.length ? [...e.attributes, ...r] : e.attributes,
|
|
3320
|
-
states: [...e.states, ...
|
|
3385
|
+
states: [...e.states, ...pa.filter(({ name: e }) => !i.has(e))],
|
|
3321
3386
|
shared: new Set(r.map(({ name: e }) => e))
|
|
3322
3387
|
}, SharedVocabulary.cache.set(e, t), t;
|
|
3323
3388
|
}
|
|
3324
3389
|
static cache = /* @__PURE__ */ new WeakMap();
|
|
3325
|
-
},
|
|
3390
|
+
}, da = [
|
|
3326
3391
|
{
|
|
3327
3392
|
name: "disabled",
|
|
3328
3393
|
kind: "boolean",
|
|
@@ -3341,7 +3406,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
3341
3406
|
{
|
|
3342
3407
|
name: "animation",
|
|
3343
3408
|
kind: "enum",
|
|
3344
|
-
values:
|
|
3409
|
+
values: Hr,
|
|
3345
3410
|
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
3411
|
},
|
|
3347
3412
|
{
|
|
@@ -3361,7 +3426,7 @@ var M = j, Yn = 16, Xn = {
|
|
|
3361
3426
|
name: "font",
|
|
3362
3427
|
group: "appearance",
|
|
3363
3428
|
kind: "multiple",
|
|
3364
|
-
values:
|
|
3429
|
+
values: Kr,
|
|
3365
3430
|
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
3431
|
},
|
|
3367
3432
|
{
|
|
@@ -3412,8 +3477,14 @@ var M = j, Yn = 16, Xn = {
|
|
|
3412
3477
|
group: "behaviour",
|
|
3413
3478
|
kind: "string",
|
|
3414
3479
|
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)."
|
|
3480
|
+
},
|
|
3481
|
+
{
|
|
3482
|
+
name: "on-platform",
|
|
3483
|
+
group: "behaviour",
|
|
3484
|
+
kind: "string",
|
|
3485
|
+
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
3486
|
}
|
|
3416
|
-
],
|
|
3487
|
+
], fa = /* @__PURE__ */ new Map([[ua.lang, ua]]), pa = [
|
|
3417
3488
|
{
|
|
3418
3489
|
name: "disabled",
|
|
3419
3490
|
description: "`disabled` is set (or, on a form control, a `<fieldset disabled>` around it)."
|
|
@@ -3449,10 +3520,14 @@ var M = j, Yn = 16, Xn = {
|
|
|
3449
3520
|
{
|
|
3450
3521
|
name: "ready",
|
|
3451
3522
|
description: "Ready to go: drawn with its styles (its `ready` promise has resolved)."
|
|
3523
|
+
},
|
|
3524
|
+
{
|
|
3525
|
+
name: "on-platform",
|
|
3526
|
+
description: "`on-platform` names some devices; `on-phone`, `on-tablet` and `on-desktop` say which. On any other device it's hidden."
|
|
3452
3527
|
}
|
|
3453
|
-
],
|
|
3454
|
-
|
|
3455
|
-
var
|
|
3528
|
+
], ma, ha = [proto], I;
|
|
3529
|
+
ma = [proto];
|
|
3530
|
+
var L = class _Vocabulary {
|
|
3456
3531
|
constructor() {
|
|
3457
3532
|
__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
3533
|
}
|
|
@@ -3507,15 +3582,15 @@ var R = class _Vocabulary {
|
|
|
3507
3582
|
parts: /* @__PURE__ */ new Map(),
|
|
3508
3583
|
names: i
|
|
3509
3584
|
}, o = `<${a.tag}>`;
|
|
3510
|
-
for (let t of
|
|
3511
|
-
let s = r.attributes?.[t.name] ?? n.attributes?.[t.name] ??
|
|
3585
|
+
for (let t of F.attributesFor(e)) {
|
|
3586
|
+
let s = r.attributes?.[t.name] ?? n.attributes?.[t.name] ?? F.translated(n.lang, t.name) ?? t.name;
|
|
3512
3587
|
_Vocabulary.claim({
|
|
3513
3588
|
map: a.attributes,
|
|
3514
3589
|
name: s,
|
|
3515
3590
|
value: t,
|
|
3516
3591
|
what: `${o} attribute`
|
|
3517
3592
|
}), i.attributes.set(t.name, s);
|
|
3518
|
-
let c =
|
|
3593
|
+
let c = F.takesShared(e, t.name), l = _Vocabulary.resolveValues({
|
|
3519
3594
|
spec: t,
|
|
3520
3595
|
tag: e.tag,
|
|
3521
3596
|
dictionary: n,
|
|
@@ -3617,10 +3692,10 @@ var R = class _Vocabulary {
|
|
|
3617
3692
|
return r.tag === e && this.localized.set(e, r), r;
|
|
3618
3693
|
}
|
|
3619
3694
|
static resolveValues({ spec: e, tag: t, dictionary: n, isShared: r }) {
|
|
3620
|
-
let i =
|
|
3695
|
+
let i = j.setFor(e);
|
|
3621
3696
|
if (!i) return;
|
|
3622
|
-
let a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), s =
|
|
3623
|
-
add(
|
|
3697
|
+
let a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), s = j.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;
|
|
3698
|
+
add(j.get(i), c), e.kind === "keyOrValueAndKey" && add(j.get("booleans"), n.values?.booleans);
|
|
3624
3699
|
for (let [e, t] of [...a]) {
|
|
3625
3700
|
let n = withoutAccents(e);
|
|
3626
3701
|
a.has(n) || a.set(n, t);
|
|
@@ -3653,7 +3728,7 @@ var R = class _Vocabulary {
|
|
|
3653
3728
|
if (e.kind !== "multiple") return t.get(r) ?? n;
|
|
3654
3729
|
let i = r.split(/\s+/), a = [];
|
|
3655
3730
|
for (let e = 0; e < i.length;) {
|
|
3656
|
-
let n = Math.min(
|
|
3731
|
+
let n = Math.min(va, i.length - e);
|
|
3657
3732
|
for (; n > 1 && !t.has(i.slice(e, e + n).join(" ")); n--);
|
|
3658
3733
|
let r = i.slice(e, e + n).join(" ");
|
|
3659
3734
|
a.push(t.get(r) ?? r), e += n;
|
|
@@ -3665,33 +3740,33 @@ var R = class _Vocabulary {
|
|
|
3665
3740
|
return t < 0 ? e : e.slice(t + 1);
|
|
3666
3741
|
}
|
|
3667
3742
|
static eventName(e, t, n) {
|
|
3668
|
-
return n === void 0 ? e.startsWith(
|
|
3743
|
+
return n === void 0 ? e.startsWith(_a) ? `${t}-${_Vocabulary.stem(e)}` : e : `${t}-${n}`;
|
|
3669
3744
|
}
|
|
3670
3745
|
};
|
|
3671
|
-
|
|
3672
|
-
var
|
|
3746
|
+
I = __decoratorStart(null), __decorateElement(I, 13, "prefix", ha, L), __decorateElement(I, 13, "dictionary", ma, 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);
|
|
3747
|
+
var ga = L, _a = "ui-", va = 3, ya = class DefaultValues {
|
|
3673
3748
|
static isContent(e) {
|
|
3674
|
-
return
|
|
3749
|
+
return ba.includes(e.name) || e.group !== void 0 && xa.includes(e.group) || e.kind === "json";
|
|
3675
3750
|
}
|
|
3676
3751
|
static problemWith(e, t) {
|
|
3677
3752
|
if (typeof t == "boolean") return DefaultValues.isOnOrOff(e) ? void 0 : { takes: "no-boolean" };
|
|
3678
3753
|
if (typeof t == "number") return;
|
|
3679
3754
|
if (typeof t != "string") return { takes: "text" };
|
|
3680
|
-
let n = t.trim().toLowerCase().replace(
|
|
3681
|
-
if (DefaultValues.isOnOrOff(e)) return
|
|
3755
|
+
let n = t.trim().toLowerCase().replace(wa, " ");
|
|
3756
|
+
if (DefaultValues.isOnOrOff(e)) return j.has("booleans", n) || n === "" ? void 0 : { takes: "boolean" };
|
|
3682
3757
|
if (e.kind === "number") return Number.isNaN(Number(n)) ? { takes: "number" } : void 0;
|
|
3683
3758
|
let r = DefaultValues.setOf(e);
|
|
3684
|
-
if (r && n !== "" && !
|
|
3759
|
+
if (r && n !== "" && !j.has(r, n) && !(e.kind === "keyOrValueAndKey" && j.has("booleans", n)) && !(e.kind === "multiple" && n.split(" ").every((e) => j.has(r, e)))) return {
|
|
3685
3760
|
takes: "values",
|
|
3686
|
-
values:
|
|
3687
|
-
guess:
|
|
3761
|
+
values: j.get(r),
|
|
3762
|
+
guess: j.suggest(r, n)
|
|
3688
3763
|
};
|
|
3689
3764
|
}
|
|
3690
3765
|
static isOnOrOff(e) {
|
|
3691
|
-
return
|
|
3766
|
+
return Sa.includes(e.kind);
|
|
3692
3767
|
}
|
|
3693
3768
|
static setOf(e) {
|
|
3694
|
-
return
|
|
3769
|
+
return Ca.includes(e.kind) ? j.setFor(e) : void 0;
|
|
3695
3770
|
}
|
|
3696
3771
|
static textOf(e) {
|
|
3697
3772
|
switch (e.takes) {
|
|
@@ -3702,11 +3777,11 @@ var la = R, ua = "ui-", da = 3, fa = class DefaultValues {
|
|
|
3702
3777
|
case "values": return `isn't one of its values${e.guess ? `; did you mean ${JSON.stringify(e.guess)}?` : ""}`;
|
|
3703
3778
|
}
|
|
3704
3779
|
}
|
|
3705
|
-
},
|
|
3780
|
+
}, ba = [
|
|
3706
3781
|
"label",
|
|
3707
3782
|
"value",
|
|
3708
3783
|
"text"
|
|
3709
|
-
],
|
|
3784
|
+
], xa = ["name", "content"], Sa = ["keyOnly", "boolean"], Ca = [
|
|
3710
3785
|
"size",
|
|
3711
3786
|
"color",
|
|
3712
3787
|
"valueOnly",
|
|
@@ -3716,9 +3791,8 @@ var la = R, ua = "ui-", da = 3, fa = class DefaultValues {
|
|
|
3716
3791
|
"textAlign",
|
|
3717
3792
|
"verticalAlign",
|
|
3718
3793
|
"multiple"
|
|
3719
|
-
],
|
|
3720
|
-
|
|
3721
|
-
//#region ../src/util/fetching.ts
|
|
3794
|
+
], wa = /\s+/g, Ta = "0.8.10";
|
|
3795
|
+
// ../src/util/fetching.ts
|
|
3722
3796
|
async function fetchOk(e, t, n) {
|
|
3723
3797
|
let r;
|
|
3724
3798
|
try {
|
|
@@ -3754,12 +3828,11 @@ var ApiError = class extends Error {
|
|
|
3754
3828
|
}
|
|
3755
3829
|
};
|
|
3756
3830
|
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 = {
|
|
3831
|
+
// src/runtime/runtime.types.ts
|
|
3832
|
+
var R = Symbol.for("spell-ui:runtime"), Ea = Ta, Da = "@layer ui.reset, ui.tokens, ui.base, ui.components, ui.utilities, ui.theme, ui.app;", Oa = {
|
|
3760
3833
|
none: "none",
|
|
3761
3834
|
contents: "contents"
|
|
3762
|
-
},
|
|
3835
|
+
}, ka = "page", Aa = "ui-scroll-locked", ja = "ui-app-stylesheet", Ma = "utilities", Na = /* @__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("."), Pa = {
|
|
3763
3836
|
close: "Close",
|
|
3764
3837
|
cancel: "Cancel",
|
|
3765
3838
|
ok: "OK",
|
|
@@ -3774,7 +3847,7 @@ var z = Symbol.for("spell-ui:runtime"), ya = va, ba = "@layer ui.reset, ui.token
|
|
|
3774
3847
|
less: "Less",
|
|
3775
3848
|
required: "Required",
|
|
3776
3849
|
invalid: "Invalid value"
|
|
3777
|
-
},
|
|
3850
|
+
}, Fa = "temporal-polyfill", Ia = [
|
|
3778
3851
|
"load",
|
|
3779
3852
|
"cross-origin",
|
|
3780
3853
|
"file-protocol",
|
|
@@ -3782,7 +3855,7 @@ var z = Symbol.for("spell-ui:runtime"), ya = va, ba = "@layer ui.reset, ui.token
|
|
|
3782
3855
|
"conflict",
|
|
3783
3856
|
"no-saver",
|
|
3784
3857
|
"render"
|
|
3785
|
-
],
|
|
3858
|
+
], z = class SourceError extends Error {
|
|
3786
3859
|
get kind() {
|
|
3787
3860
|
return this.cause?.kind;
|
|
3788
3861
|
}
|
|
@@ -3793,22 +3866,22 @@ var z = Symbol.for("spell-ui:runtime"), ya = va, ba = "@layer ui.reset, ui.token
|
|
|
3793
3866
|
return e instanceof SourceError && e.kind || t;
|
|
3794
3867
|
}
|
|
3795
3868
|
static isKind(e) {
|
|
3796
|
-
return
|
|
3869
|
+
return Ia.includes(e);
|
|
3797
3870
|
}
|
|
3798
3871
|
};
|
|
3799
|
-
|
|
3800
|
-
var
|
|
3872
|
+
z.prototype.name = "SourceError";
|
|
3873
|
+
var La = "ui-languages-changed", Ra = {
|
|
3801
3874
|
up: "up",
|
|
3802
3875
|
down: "down",
|
|
3803
3876
|
static: "static"
|
|
3804
|
-
},
|
|
3877
|
+
}, za;
|
|
3805
3878
|
function load() {
|
|
3806
3879
|
let e = pageRuntime();
|
|
3807
|
-
return e ? e.load() : (
|
|
3808
|
-
throw
|
|
3809
|
-
}),
|
|
3880
|
+
return e ? e.load() : (za ??= import("./UIRuntime-BXutHphM.js").then(({ UIRuntime: e }) => e.instance.load(), (e) => {
|
|
3881
|
+
throw za = void 0, e;
|
|
3882
|
+
}), za);
|
|
3810
3883
|
}
|
|
3811
|
-
var
|
|
3884
|
+
var B = new Proxy({}, {
|
|
3812
3885
|
get(e, t) {
|
|
3813
3886
|
if (t === "load") return load;
|
|
3814
3887
|
let n = pageRuntime();
|
|
@@ -3826,14 +3899,13 @@ var V = new Proxy({}, {
|
|
|
3826
3899
|
}
|
|
3827
3900
|
});
|
|
3828
3901
|
function pageRuntime() {
|
|
3829
|
-
return globalThis[
|
|
3902
|
+
return globalThis[R];
|
|
3830
3903
|
}
|
|
3831
3904
|
function notLoaded(e) {
|
|
3832
3905
|
return /* @__PURE__ */ Error(`UI.${String(e)}: the UI runtime isn't loaded yet; \`await UI.load()\` first`);
|
|
3833
3906
|
}
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
var Na = [proto], Pa, H = class _ClassBuilder {
|
|
3907
|
+
// src/elements/ClassBuilder.ts
|
|
3908
|
+
var Ba = [proto], Va, V = class _ClassBuilder {
|
|
3837
3909
|
constructor(e) {
|
|
3838
3910
|
__publicField(this, "vocabulary"), __publicField(this, "specs"), __publicField(this, "keys"), this.vocabulary = e, this.specs = [
|
|
3839
3911
|
...byKind("size"),
|
|
@@ -3857,11 +3929,8 @@ var Na = [proto], Pa, H = class _ClassBuilder {
|
|
|
3857
3929
|
if (!s) continue;
|
|
3858
3930
|
let c = i[t], l = s === !0 ? void 0 : _ClassBuilder.text(s);
|
|
3859
3931
|
if (s === !0 || l !== void 0) {
|
|
3860
|
-
if (o.classes && l)
|
|
3861
|
-
|
|
3862
|
-
continue;
|
|
3863
|
-
}
|
|
3864
|
-
switch (o.kind) {
|
|
3932
|
+
if (o.classes && l) this.pushClasses(a, l, o);
|
|
3933
|
+
else switch (o.kind) {
|
|
3865
3934
|
case "size":
|
|
3866
3935
|
l && l !== n.medium && a.push(l);
|
|
3867
3936
|
break;
|
|
@@ -3894,14 +3963,14 @@ var Na = [proto], Pa, H = class _ClassBuilder {
|
|
|
3894
3963
|
return t.extra && a.push(t.extra), a.push(t.noun ?? this.vocabulary.noun), a.join(" ");
|
|
3895
3964
|
}
|
|
3896
3965
|
pushClasses(e, t, n) {
|
|
3897
|
-
let r = n.kind === "multiple" ? t.trim().split(
|
|
3966
|
+
let r = n.kind === "multiple" ? t.trim().split(Ja) : [t];
|
|
3898
3967
|
for (let t of r) {
|
|
3899
3968
|
let r = n.classes[t] ?? t;
|
|
3900
3969
|
r && e.push(r);
|
|
3901
3970
|
}
|
|
3902
3971
|
}
|
|
3903
3972
|
pushMultiple(e, t, n) {
|
|
3904
|
-
let r = t.trim().split(
|
|
3973
|
+
let r = t.trim().split(Ja);
|
|
3905
3974
|
for (let t = 0; t < r.length; t++) {
|
|
3906
3975
|
let i = r[t];
|
|
3907
3976
|
i = i === "large" && r[t + 1] === "screen" ? `${i} ${r[++t]}` : i.replace("-", " "), r[t + 1] === "vertically" && (i = `${i} ${r[++t]}`), e.push(`${i} ${n}`);
|
|
@@ -3913,8 +3982,8 @@ var Na = [proto], Pa, H = class _ClassBuilder {
|
|
|
3913
3982
|
e.push(r.equalWidth);
|
|
3914
3983
|
return;
|
|
3915
3984
|
}
|
|
3916
|
-
let i =
|
|
3917
|
-
if (!
|
|
3985
|
+
let i = j.columns(t), a = i === void 0 ? 0 : Math.round(i), o = `<${this.vocabulary.tag} ${n.name}>`;
|
|
3986
|
+
if (!j.isColumnCount(a)) {
|
|
3918
3987
|
Warnings.devWarn(o, `${JSON.stringify(t)} is not a width of 1..16 columns`);
|
|
3919
3988
|
return;
|
|
3920
3989
|
}
|
|
@@ -3928,7 +3997,7 @@ var Na = [proto], Pa, H = class _ClassBuilder {
|
|
|
3928
3997
|
if (Array.isArray(e)) return e.map((e) => _ClassBuilder.text(e) ?? "").join(" ");
|
|
3929
3998
|
}
|
|
3930
3999
|
};
|
|
3931
|
-
|
|
4000
|
+
Va = __decoratorStart(null), __decorateElement(Va, 13, "grammar", Ba, V), __decoratorMetadata(Va, V), __name(V, "ClassBuilder"), __publicField(V, "grammar", __runInitializers(Va, 8, V, {
|
|
3932
4001
|
ui: "ui",
|
|
3933
4002
|
medium: "medium",
|
|
3934
4003
|
aligned: "aligned",
|
|
@@ -3936,8 +4005,8 @@ Pa = __decoratorStart(null), __decorateElement(Pa, 13, "grammar", Na, H), __deco
|
|
|
3936
4005
|
wide: "wide",
|
|
3937
4006
|
equal: "equal",
|
|
3938
4007
|
equalWidth: "equal width"
|
|
3939
|
-
})), __runInitializers(
|
|
3940
|
-
var
|
|
4008
|
+
})), __runInitializers(Va, 11, V);
|
|
4009
|
+
var Ha = V, Ua = [state], Wa, Ga, H = class _RootSettings {
|
|
3941
4010
|
static set(e, t) {
|
|
3942
4011
|
_RootSettings.byRoot.set(e, t), _RootSettings.generation += 1;
|
|
3943
4012
|
}
|
|
@@ -3966,72 +4035,71 @@ var Fa = H, Ia = [state], La, Ra, U = class _RootSettings {
|
|
|
3966
4035
|
});
|
|
3967
4036
|
}
|
|
3968
4037
|
}
|
|
3969
|
-
return r.size ? [...r.values()] :
|
|
4038
|
+
return r.size ? [...r.values()] : qa;
|
|
3970
4039
|
}
|
|
3971
4040
|
static checkedDefault(e, t, n, r, i) {
|
|
3972
|
-
let a = t.takesAttribute(r) ? t.attribute(r) : t.attributeNamed(r), o = a ?
|
|
4041
|
+
let a = t.takesAttribute(r) ? t.attribute(r) : t.attributeNamed(r), o = a ? ya.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
4042
|
if (!o) return a;
|
|
3974
4043
|
_RootSettings.warnOnce(e, `defaults: <${n} ${r}=${JSON.stringify(i)}>: ${o}; left out`);
|
|
3975
4044
|
}
|
|
3976
4045
|
static problemWithValue(e, t) {
|
|
3977
|
-
let n =
|
|
3978
|
-
return n &&
|
|
4046
|
+
let n = ya.problemWith(e, t);
|
|
4047
|
+
return n && ya.textOf(n);
|
|
3979
4048
|
}
|
|
3980
4049
|
static warnOnce(e, t) {
|
|
3981
4050
|
let n = _RootSettings.warned.get(e);
|
|
3982
|
-
n || _RootSettings.warned.set(e, n = /* @__PURE__ */ new Set()),
|
|
4051
|
+
n || _RootSettings.warned.set(e, n = /* @__PURE__ */ new Set()), n.has(t) || (n.add(t), Warnings.warn("<ui-root>", t, e));
|
|
3983
4052
|
}
|
|
3984
4053
|
};
|
|
3985
|
-
|
|
3986
|
-
var
|
|
4054
|
+
Wa = __decoratorStart(null), Ga = /* @__PURE__ */ new WeakMap(), __decorateElement(Wa, 12, "generation", Ua, H, Ga), __decoratorMetadata(Wa, H), __name(H, "RootSettings"), __privateAdd(H, Ga, __runInitializers(Wa, 8, H, 0)), __runInitializers(Wa, 11, H), __publicField(H, "byRoot", /* @__PURE__ */ new WeakMap()), __publicField(H, "warned", /* @__PURE__ */ new WeakMap());
|
|
4055
|
+
var Ka = H, qa = Object.freeze([]), SpellUISettings = class {
|
|
3987
4056
|
static settings = {
|
|
3988
4057
|
runtime: {
|
|
3989
4058
|
get isLoaded() {
|
|
3990
|
-
return !!globalThis[
|
|
4059
|
+
return !!globalThis[R];
|
|
3991
4060
|
},
|
|
3992
|
-
load: () =>
|
|
4061
|
+
load: () => B.load()
|
|
3993
4062
|
},
|
|
3994
4063
|
words: {
|
|
3995
|
-
names: () => new
|
|
3996
|
-
classes: (e) => new
|
|
3997
|
-
attributesFor: (e) =>
|
|
3998
|
-
takesShared: (e, t) =>
|
|
3999
|
-
converters:
|
|
4000
|
-
valuesFor: (e) =>
|
|
4001
|
-
text: (e, t, n) =>
|
|
4064
|
+
names: () => new ga(),
|
|
4065
|
+
classes: (e) => new Ha(e),
|
|
4066
|
+
attributesFor: (e) => F.attributesFor(e),
|
|
4067
|
+
takesShared: (e, t) => F.takesShared(e, t),
|
|
4068
|
+
converters: M,
|
|
4069
|
+
valuesFor: (e) => j.setFor(e),
|
|
4070
|
+
text: (e, t, n) => B.i18n.t(e, t, n),
|
|
4002
4071
|
registerVocabulary(e, t, n) {
|
|
4003
|
-
t === "replace" ?
|
|
4072
|
+
t === "replace" ? B.vocabulary.replace(e) : n ? B.vocabulary.registerComponent(e, n) : B.vocabulary.register(e);
|
|
4004
4073
|
},
|
|
4005
|
-
registerTexts: (e, t) =>
|
|
4074
|
+
registerTexts: (e, t) => B.i18n.registerDefaults(e, t)
|
|
4006
4075
|
},
|
|
4007
4076
|
styles: {
|
|
4008
|
-
registerOnce: (e) =>
|
|
4009
|
-
register: (e, t) =>
|
|
4010
|
-
adoptInto: (e, t) =>
|
|
4077
|
+
registerOnce: (e) => B.styles.registerOnce(e),
|
|
4078
|
+
register: (e, t) => B.styles.register(e, t),
|
|
4079
|
+
adoptInto: (e, t) => B.styles.adoptInto(e, t)
|
|
4011
4080
|
},
|
|
4012
|
-
focus: { moveOutOf: (e) =>
|
|
4081
|
+
focus: { moveOutOf: (e) => B.focus.moveOutOf(e) },
|
|
4013
4082
|
motion: {
|
|
4014
|
-
defaultAnimation:
|
|
4015
|
-
property:
|
|
4083
|
+
defaultAnimation: qr,
|
|
4084
|
+
property: Jr,
|
|
4016
4085
|
get isReduced() {
|
|
4017
|
-
return
|
|
4086
|
+
return B.browser.isReducedMotion;
|
|
4018
4087
|
},
|
|
4019
|
-
isAttention: (e) =>
|
|
4020
|
-
reveal: (e) =>
|
|
4021
|
-
animate: (e, t, n) =>
|
|
4088
|
+
isAttention: (e) => Yr.isAttention(e),
|
|
4089
|
+
reveal: (e) => B.transitions.reveal(e),
|
|
4090
|
+
animate: (e, t, n) => B.transitions.animate({
|
|
4022
4091
|
element: e,
|
|
4023
|
-
name:
|
|
4092
|
+
name: Yr.runtimeNameFor(t),
|
|
4024
4093
|
direction: n ? "in" : "out"
|
|
4025
4094
|
})
|
|
4026
4095
|
},
|
|
4027
4096
|
warn: (e, t, ...n) => Warnings.warn(e, t, ...n),
|
|
4028
|
-
defaults: { for: (e, t) =>
|
|
4097
|
+
defaults: { for: (e, t) => Ka.defaultsFor(e, t) }
|
|
4029
4098
|
};
|
|
4030
4099
|
};
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
var Va = /\s+/, Ha = ["value", "length"];
|
|
4100
|
+
v.install(SpellUISettings.settings);
|
|
4101
|
+
// src/elements/elements.types.ts
|
|
4102
|
+
var Ja = /\s+/, Ya = ["value", "length"];
|
|
4035
4103
|
function markedPieces(e, t) {
|
|
4036
4104
|
let n = [], r = 0;
|
|
4037
4105
|
for (let [i, a] of t) i > r && n.push({
|
|
@@ -4046,36 +4114,36 @@ function markedPieces(e, t) {
|
|
|
4046
4114
|
isMarked: !1
|
|
4047
4115
|
}), n;
|
|
4048
4116
|
}
|
|
4049
|
-
var
|
|
4117
|
+
var Xa = ["text", "value"], U = {
|
|
4050
4118
|
idle: "idle",
|
|
4051
4119
|
loading: "loading",
|
|
4052
4120
|
loaded: "loaded",
|
|
4053
4121
|
error: "error"
|
|
4054
|
-
},
|
|
4122
|
+
}, Za = "ui-loader", Qa = "ui-message", $a = [
|
|
4055
4123
|
"href",
|
|
4056
4124
|
"src",
|
|
4057
4125
|
"action",
|
|
4058
4126
|
"poster",
|
|
4059
4127
|
"source"
|
|
4060
|
-
],
|
|
4128
|
+
], eo = $a.map((e) => `[${e}]`).join(","), to = "data-ui-include-", no = 8, ro = {
|
|
4061
4129
|
load: "sourceLoadError",
|
|
4062
4130
|
"cross-origin": "sourceCrossOrigin",
|
|
4063
4131
|
"file-protocol": "sourceFileProtocol",
|
|
4064
4132
|
render: "sourceRenderError"
|
|
4065
|
-
},
|
|
4133
|
+
}, io = 300, ao = "source", W = {
|
|
4066
4134
|
load: "ui-loaded",
|
|
4067
4135
|
loading: "ui-loading",
|
|
4068
4136
|
loaded: "ui-loaded",
|
|
4069
4137
|
change: "ui-changed",
|
|
4070
4138
|
save: "ui-saving",
|
|
4071
4139
|
saved: "ui-saved",
|
|
4072
|
-
error:
|
|
4073
|
-
},
|
|
4140
|
+
error: Ee
|
|
4141
|
+
}, oo = ["top", "bottom"], so = /* @__PURE__ */ new Set([
|
|
4074
4142
|
"auto",
|
|
4075
4143
|
"scroll",
|
|
4076
4144
|
"overlay",
|
|
4077
4145
|
"hidden"
|
|
4078
|
-
]),
|
|
4146
|
+
]), co = .5, lo = .5, uo = class Shorthand {
|
|
4079
4147
|
static resolve(e, t, n = {}) {
|
|
4080
4148
|
if (e == null || typeof e == "boolean") return;
|
|
4081
4149
|
let r;
|
|
@@ -4099,7 +4167,7 @@ var Ua = ["text", "value"], W = {
|
|
|
4099
4167
|
}
|
|
4100
4168
|
static mergeClasses(...e) {
|
|
4101
4169
|
let t = /* @__PURE__ */ new Set();
|
|
4102
|
-
for (let n of e) if (n) for (let e of n.split(
|
|
4170
|
+
for (let n of e) if (n) for (let e of n.split(Ja)) e && t.add(e);
|
|
4103
4171
|
return t.size ? [...t].join(" ") : void 0;
|
|
4104
4172
|
}
|
|
4105
4173
|
static mergeStyles(...e) {
|
|
@@ -4117,17 +4185,17 @@ var Ua = ["text", "value"], W = {
|
|
|
4117
4185
|
src: (e) => ({ src: e }),
|
|
4118
4186
|
type: (e) => ({ type: e })
|
|
4119
4187
|
};
|
|
4120
|
-
},
|
|
4121
|
-
|
|
4122
|
-
var
|
|
4188
|
+
}, fo, po, mo, ho = [proto], G;
|
|
4189
|
+
mo = [proto], po = [proto], fo = [lazy];
|
|
4190
|
+
var K = class _NativeFallback {
|
|
4123
4191
|
constructor({ domElement: e, root: t, error: n, internals: r }) {
|
|
4124
|
-
__runInitializers(
|
|
4192
|
+
__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
4193
|
let { vocabularies: i } = this;
|
|
4126
4194
|
i.length && (this.vocabulary = i.find(({ tag: t }) => t === e.localName) ?? i[0]);
|
|
4127
4195
|
}
|
|
4128
4196
|
static render(e) {
|
|
4129
4197
|
let t = new this(e);
|
|
4130
|
-
return e.root.replaceChildren(...t.build()), t.sync(), e.internals?.states.add(
|
|
4198
|
+
return e.root.replaceChildren(...t.build()), t.sync(), e.internals?.states.add(De), {
|
|
4131
4199
|
dispose: /* @__PURE__ */ __name(() => t.dispose(), "dispose"),
|
|
4132
4200
|
degraded: t.degraded
|
|
4133
4201
|
};
|
|
@@ -4139,7 +4207,7 @@ var q = class _NativeFallback {
|
|
|
4139
4207
|
return this.domElement.getAttribute(e) ?? void 0;
|
|
4140
4208
|
}
|
|
4141
4209
|
flag(e) {
|
|
4142
|
-
return
|
|
4210
|
+
return M.boolean(this.domElement.getAttribute(e), e);
|
|
4143
4211
|
}
|
|
4144
4212
|
classes(e) {
|
|
4145
4213
|
let t = {}, { valueNamed: n } = this.domElement;
|
|
@@ -4149,12 +4217,12 @@ var q = class _NativeFallback {
|
|
|
4149
4217
|
continue;
|
|
4150
4218
|
}
|
|
4151
4219
|
let r = this.domElement.getAttribute(e.name) ?? _NativeFallback.defaultText(e.default);
|
|
4152
|
-
r !== void 0 && (e.kind === "keyOnly" ? t[e.name] =
|
|
4220
|
+
r !== void 0 && (e.kind === "keyOnly" ? t[e.name] = M.boolean(r, e.name) : e.kind === "keyOrValueAndKey" ? t[e.name] = M.keyOrValue(r, void 0) : t[e.name] = r);
|
|
4153
4221
|
}
|
|
4154
4222
|
return this.builder.build(t, { extra: e });
|
|
4155
4223
|
}
|
|
4156
4224
|
get builder() {
|
|
4157
|
-
return new
|
|
4225
|
+
return new Ha(this.vocabulary);
|
|
4158
4226
|
}
|
|
4159
4227
|
form() {
|
|
4160
4228
|
return this.formInternals?.form ?? this.domElement.closest("form") ?? void 0;
|
|
@@ -4184,10 +4252,10 @@ var q = class _NativeFallback {
|
|
|
4184
4252
|
decorate(e, t, ...n) {
|
|
4185
4253
|
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
4254
|
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 ===
|
|
4255
|
+
return this.vocabulary.attributes.find((e) => e.name === _o)?.kind === "keyOnly" && M.boolean(this.domElement.getAttribute(_o), _o) && e.setAttribute("aria-busy", "true"), e;
|
|
4188
4256
|
}
|
|
4189
4257
|
nameFromPlaceholder(e) {
|
|
4190
|
-
let t = this.domElement.getAttribute(
|
|
4258
|
+
let t = this.domElement.getAttribute(vo);
|
|
4191
4259
|
!e.hasAttribute("aria-label") && t && e.setAttribute("aria-label", t);
|
|
4192
4260
|
}
|
|
4193
4261
|
send(e, t) {
|
|
@@ -4206,7 +4274,7 @@ var q = class _NativeFallback {
|
|
|
4206
4274
|
if (e != null && e !== !1) return e === !0 ? "" : String(e);
|
|
4207
4275
|
}
|
|
4208
4276
|
};
|
|
4209
|
-
|
|
4277
|
+
G = __decoratorStart(null), __decorateElement(G, 2, "builder", fo, K), __decorateElement(G, 13, "vocabulary", ho, K), __decorateElement(G, 13, "vocabularies", mo, K), __decorateElement(G, 13, "degraded", po, K), __decoratorMetadata(G, K), __name(K, "NativeFallback"), __publicField(K, "vocabulary", __runInitializers(G, 8, K, {
|
|
4210
4278
|
tag: "",
|
|
4211
4279
|
noun: "",
|
|
4212
4280
|
attributes: [],
|
|
@@ -4215,8 +4283,8 @@ K = __decoratorStart(null), __decorateElement(K, 2, "builder", io, q), __decorat
|
|
|
4215
4283
|
parts: [],
|
|
4216
4284
|
states: [],
|
|
4217
4285
|
texts: []
|
|
4218
|
-
})), __runInitializers(
|
|
4219
|
-
var
|
|
4286
|
+
})), __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);
|
|
4287
|
+
var go = K, _o = "loading", vo = "placeholder", yo = class StickyWatch {
|
|
4220
4288
|
stuckTo;
|
|
4221
4289
|
onReport;
|
|
4222
4290
|
box;
|
|
@@ -4252,7 +4320,7 @@ var co = q, lo = "loading", uo = "placeholder", fo = class StickyWatch {
|
|
|
4252
4320
|
t && (e.preventDefault(), t.focus({ preventScroll: !0 }));
|
|
4253
4321
|
};
|
|
4254
4322
|
reset() {
|
|
4255
|
-
this.report(
|
|
4323
|
+
this.report(So);
|
|
4256
4324
|
}
|
|
4257
4325
|
measure(e, t, n) {
|
|
4258
4326
|
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 +4344,7 @@ var co = q, lo = "loading", uo = "placeholder", fo = class StickyWatch {
|
|
|
4276
4344
|
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
4345
|
}
|
|
4278
4346
|
static reserve(e) {
|
|
4279
|
-
let t = e.ownerDocument, n = StickyWatch.area(e === t.documentElement ? void 0 : e, t), r = (n.bottom - n.top) *
|
|
4347
|
+
let t = e.ownerDocument, n = StickyWatch.area(e === t.documentElement ? void 0 : e, t), r = (n.bottom - n.top) * co, i = e.clientWidth * co, a = 0, o = 0;
|
|
4280
4348
|
for (let t of StickyWatch.stuckIn.get(e) ?? []) {
|
|
4281
4349
|
let e = t.box?.getBoundingClientRect();
|
|
4282
4350
|
!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 +4359,8 @@ var co = q, lo = "loading", uo = "placeholder", fo = class StickyWatch {
|
|
|
4291
4359
|
for (let t of e.composedPath()) {
|
|
4292
4360
|
if (t === e.currentTarget) return;
|
|
4293
4361
|
if (t instanceof HTMLElement) {
|
|
4294
|
-
if (t.shadowRoot?.delegatesFocus) return t.shadowRoot.querySelector(
|
|
4295
|
-
if (t.matches(
|
|
4362
|
+
if (t.shadowRoot?.delegatesFocus) return t.shadowRoot.querySelector(xo) || t.matches(":disabled") ? void 0 : t;
|
|
4363
|
+
if (t.matches(bo)) return t.matches(xo) || t.matches(":disabled") ? void 0 : t;
|
|
4296
4364
|
}
|
|
4297
4365
|
}
|
|
4298
4366
|
}
|
|
@@ -4312,21 +4380,21 @@ var co = q, lo = "loading", uo = "placeholder", fo = class StickyWatch {
|
|
|
4312
4380
|
for (; n;) {
|
|
4313
4381
|
let e = flatParentFor(n);
|
|
4314
4382
|
if (!e || e === t.body || e === t.documentElement) return;
|
|
4315
|
-
if (
|
|
4383
|
+
if (so.has(getComputedStyle(e).overflowY)) return e;
|
|
4316
4384
|
n = e;
|
|
4317
4385
|
}
|
|
4318
4386
|
}
|
|
4319
4387
|
static stuckIn = /* @__PURE__ */ new Map();
|
|
4320
|
-
},
|
|
4388
|
+
}, bo = "button, input, select, textarea, a[href], summary, [tabindex], [contenteditable]", xo = "input:not([type='button'], [type='submit'], [type='reset'], [type='checkbox'], [type='radio']), select, textarea, [contenteditable]:not([contenteditable='false'])", So = {
|
|
4321
4389
|
edge: void 0,
|
|
4322
4390
|
isBound: !1
|
|
4323
|
-
},
|
|
4391
|
+
}, Co = [
|
|
4324
4392
|
"fa7-free",
|
|
4325
4393
|
"fa7-brands",
|
|
4326
4394
|
"fomantic"
|
|
4327
|
-
],
|
|
4395
|
+
], wo = "fa7-free", To = "pack.js", Eo = ":", Do = class IconName {
|
|
4328
4396
|
static normalize(e) {
|
|
4329
|
-
return e.toLowerCase().replace(
|
|
4397
|
+
return e.toLowerCase().replace(ko, " ").trim();
|
|
4330
4398
|
}
|
|
4331
4399
|
static fromKey(e) {
|
|
4332
4400
|
return IconName.normalize(IconName.fileOf(e));
|
|
@@ -4364,7 +4432,7 @@ var co = q, lo = "loading", uo = "placeholder", fo = class StickyWatch {
|
|
|
4364
4432
|
let a = [];
|
|
4365
4433
|
for (let t of e) {
|
|
4366
4434
|
let e = IconName.rankOf(n(t), r(t), i);
|
|
4367
|
-
e <
|
|
4435
|
+
e < Oo && a.push({
|
|
4368
4436
|
item: t,
|
|
4369
4437
|
rank: e
|
|
4370
4438
|
});
|
|
@@ -4372,24 +4440,24 @@ var co = q, lo = "loading", uo = "placeholder", fo = class StickyWatch {
|
|
|
4372
4440
|
return a.sort((e, t) => e.rank - t.rank).map((e) => e.item);
|
|
4373
4441
|
}
|
|
4374
4442
|
static rankOf(e, t, n) {
|
|
4375
|
-
let r =
|
|
4443
|
+
let r = Oo;
|
|
4376
4444
|
for (let t of e) {
|
|
4377
4445
|
if (t === n) return 0;
|
|
4378
4446
|
t.startsWith(n) ? r = Math.min(r, 1) : t.includes(n) && (r = Math.min(r, 2));
|
|
4379
4447
|
}
|
|
4380
|
-
return r <
|
|
4448
|
+
return r < Oo ? r : t.some((e) => IconName.normalize(e).includes(n)) ? 3 : Oo;
|
|
4381
4449
|
}
|
|
4382
|
-
},
|
|
4450
|
+
}, Oo = 4, ko = /[\s_-]+/g, Ao = class BuiltInPacks {
|
|
4383
4451
|
static base = import.meta.url;
|
|
4384
4452
|
static has(e) {
|
|
4385
|
-
return
|
|
4453
|
+
return Co.includes(e);
|
|
4386
4454
|
}
|
|
4387
4455
|
static url(e, t = BuiltInPacks.base) {
|
|
4388
|
-
return new URL(`icon-packs/${e}/${
|
|
4456
|
+
return new URL(`icon-packs/${e}/${To}`, t).href;
|
|
4389
4457
|
}
|
|
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-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.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) {
|
|
4458
|
+
}, jo = "@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)}}}", Mo = /* @__PURE__ */ pe("<slot>"), No, Po, Fo, q = class _PartComponent extends (Po = Yt, No = [protoMerged], Po) {
|
|
4391
4459
|
constructor() {
|
|
4392
|
-
super(...arguments), __publicField(this, "context", new
|
|
4460
|
+
super(...arguments), __publicField(this, "context", new E({
|
|
4393
4461
|
domElement: this.domElement,
|
|
4394
4462
|
noun: this.vocabulary.noun
|
|
4395
4463
|
}));
|
|
@@ -4418,6 +4486,9 @@ var co = q, lo = "loading", uo = "placeholder", fo = class StickyWatch {
|
|
|
4418
4486
|
get tabindex() {
|
|
4419
4487
|
return e.rootTabIndex;
|
|
4420
4488
|
},
|
|
4489
|
+
get "aria-label"() {
|
|
4490
|
+
return e.rootLabel;
|
|
4491
|
+
},
|
|
4421
4492
|
get children() {
|
|
4422
4493
|
return e.content();
|
|
4423
4494
|
}
|
|
@@ -4428,23 +4499,24 @@ var co = q, lo = "loading", uo = "placeholder", fo = class StickyWatch {
|
|
|
4428
4499
|
}
|
|
4429
4500
|
get rootDatetime() {}
|
|
4430
4501
|
get rootTabIndex() {}
|
|
4502
|
+
get rootLabel() {}
|
|
4431
4503
|
content() {
|
|
4432
|
-
var e =
|
|
4504
|
+
var e = Mo();
|
|
4433
4505
|
return e._$owner = se(), e;
|
|
4434
4506
|
}
|
|
4435
4507
|
};
|
|
4436
|
-
|
|
4437
|
-
styleSheets: { parts:
|
|
4508
|
+
Fo = __decoratorStart(Po), __decorateElement(Fo, 13, "elementSetup", No, q), __decoratorMetadata(Fo, q), __name(q, "PartComponent"), __publicField(q, "elementSetup", __runInitializers(Fo, 8, q, {
|
|
4509
|
+
styleSheets: { parts: jo },
|
|
4438
4510
|
isAPart: !0
|
|
4439
|
-
})), __runInitializers(
|
|
4440
|
-
var
|
|
4441
|
-
|
|
4442
|
-
var
|
|
4511
|
+
})), __runInitializers(Fo, 11, q);
|
|
4512
|
+
var Io = q, Lo, Ro = [state], J, zo;
|
|
4513
|
+
Lo = [derived];
|
|
4514
|
+
var Y = class _IconGlyph {
|
|
4443
4515
|
constructor({ owner: e, name: t }) {
|
|
4444
|
-
__runInitializers(
|
|
4516
|
+
__runInitializers(J, 5, this), __privateAdd(this, zo, __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
4517
|
name: t(),
|
|
4446
4518
|
connected: e.isConnected,
|
|
4447
|
-
generation:
|
|
4519
|
+
generation: Ka.generation
|
|
4448
4520
|
}), ({ name: e, connected: t }) => {
|
|
4449
4521
|
(t || !this.request) && this.load(e);
|
|
4450
4522
|
}));
|
|
@@ -4455,35 +4527,35 @@ var No = class _IconGlyph {
|
|
|
4455
4527
|
return e ? _IconGlyph.draw(e) : void 0;
|
|
4456
4528
|
}
|
|
4457
4529
|
async load(e) {
|
|
4458
|
-
let t = ++this.request, n = e ? await
|
|
4530
|
+
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
4531
|
this.request === t && (this.svgTemplate = n);
|
|
4460
4532
|
}
|
|
4461
4533
|
static packsFor(e, t) {
|
|
4462
|
-
return
|
|
4534
|
+
return Ka.nearest(e, "icons") ?? t;
|
|
4463
4535
|
}
|
|
4464
4536
|
static draw(e) {
|
|
4465
4537
|
let t = e.cloneNode(!0);
|
|
4466
4538
|
return t.setAttribute("aria-hidden", "true"), t;
|
|
4467
4539
|
}
|
|
4468
4540
|
static serverSvg(e, t) {
|
|
4469
|
-
let n = globalThis[
|
|
4541
|
+
let n = globalThis[R]?.icons;
|
|
4470
4542
|
if (!t || !n || !_IconGlyph.serverMarkup) return;
|
|
4471
4543
|
let r = _IconGlyph.serverMarkup(_IconGlyph.packsFor(e, n), t);
|
|
4472
|
-
if (r) return fe([r.replace(
|
|
4544
|
+
if (r) return fe([r.replace(Vo, "<svg aria-hidden=\"true\"")]);
|
|
4473
4545
|
}
|
|
4474
4546
|
static peek(e, t) {
|
|
4475
|
-
let n = globalThis[
|
|
4547
|
+
let n = globalThis[R]?.icons;
|
|
4476
4548
|
return t && n ? _IconGlyph.packsFor(e, n).peek(t) : void 0;
|
|
4477
4549
|
}
|
|
4478
4550
|
};
|
|
4479
|
-
|
|
4480
|
-
var
|
|
4551
|
+
J = __decoratorStart(null), zo = /* @__PURE__ */ new WeakMap(), __decorateElement(J, 4, "svgTemplate", Ro, Y, zo), __decorateElement(J, 2, "svg", Lo, Y), __decoratorMetadata(J, Y), __name(Y, "IconGlyph"), __publicField(Y, "serverMarkup");
|
|
4552
|
+
var Bo = Y, Vo = /<svg\b/, Ho = /* @__PURE__ */ pe("<button type=button>"), CloseButton = class {
|
|
4481
4553
|
props;
|
|
4482
4554
|
glyph;
|
|
4483
4555
|
constructor(e) {
|
|
4484
|
-
this.props = e, this.glyph = new
|
|
4556
|
+
this.props = e, this.glyph = new Bo({
|
|
4485
4557
|
owner: e.owner,
|
|
4486
|
-
name: () => e.shows() ?
|
|
4558
|
+
name: () => e.shows() ? Li : void 0
|
|
4487
4559
|
});
|
|
4488
4560
|
}
|
|
4489
4561
|
draw() {
|
|
@@ -4493,9 +4565,9 @@ var Po = No, Fo = /<svg\b/, Io = /* @__PURE__ */ pe("<button type=button>"), Clo
|
|
|
4493
4565
|
return e();
|
|
4494
4566
|
},
|
|
4495
4567
|
get children() {
|
|
4496
|
-
var e =
|
|
4568
|
+
var e = Ho();
|
|
4497
4569
|
return ne(e, "click", i, !0), de(e, "part", n), ce(e, () => a.glyph.svg), ae(() => ({
|
|
4498
|
-
e: le(
|
|
4570
|
+
e: le(Ii),
|
|
4499
4571
|
t: t()
|
|
4500
4572
|
}), ({ e: t, t: n }, r) => {
|
|
4501
4573
|
re(e, t, r?.e), n !== r?.t && de(e, "aria-label", n);
|
|
@@ -4505,18 +4577,17 @@ var Po = No, Fo = /<svg\b/, Io = /* @__PURE__ */ pe("<button type=button>"), Clo
|
|
|
4505
4577
|
}
|
|
4506
4578
|
};
|
|
4507
4579
|
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;
|
|
4580
|
+
// src/elements/ClipboardCopy.ts
|
|
4581
|
+
var Uo = [state], Wo, Go, Ko = class _ClipboardCopy {
|
|
4582
|
+
constructor({ seconds: e = Jo } = {}) {
|
|
4583
|
+
__privateAdd(this, Go, __runInitializers(Wo, 8, this, !1)), __runInitializers(Wo, 11, this), __publicField(this, "seconds"), __publicField(this, "copiedTimer"), this.seconds = e;
|
|
4513
4584
|
}
|
|
4514
4585
|
async copy(e) {
|
|
4515
4586
|
return await copyText(e) ? (this.isCopied = !0, this.copiedTimer?.cancel(), this.copiedTimer = after(this.seconds, () => this.isCopied = !1), !0) : !1;
|
|
4516
4587
|
}
|
|
4517
4588
|
};
|
|
4518
|
-
|
|
4519
|
-
var
|
|
4589
|
+
Wo = __decoratorStart(null), Go = /* @__PURE__ */ new WeakMap(), __decorateElement(Wo, 4, "isCopied", Uo, Ko, Go), __decoratorMetadata(Wo, Ko), __name(Ko, "ClipboardCopy");
|
|
4590
|
+
var qo = Ko, Jo = 2, Yo = class AddressParameter {
|
|
4520
4591
|
constructor(e) {
|
|
4521
4592
|
this.props = e;
|
|
4522
4593
|
}
|
|
@@ -4526,7 +4597,7 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4526
4597
|
startingText;
|
|
4527
4598
|
follow(e) {
|
|
4528
4599
|
if (!e) return;
|
|
4529
|
-
let t = new AbortController(), onNavigate = (t) => this.showAddress(e, t), n = "hash" in e ?
|
|
4600
|
+
let t = new AbortController(), onNavigate = (t) => this.showAddress(e, t), n = "hash" in e ? Zo : Xo;
|
|
4530
4601
|
for (let e of n) this.view.addEventListener(e, onNavigate, { signal: t.signal });
|
|
4531
4602
|
let r = soon(() => {
|
|
4532
4603
|
this.showAddress(e), this.hasOpened = !0;
|
|
@@ -4570,27 +4641,31 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4570
4641
|
let r = new URL(e.href);
|
|
4571
4642
|
return "hash" in t ? r.hash = n ? encodeURIComponent(n) : "" : n ? r.searchParams.set(t.parameter, n) : r.searchParams.delete(t.parameter), r.href;
|
|
4572
4643
|
}
|
|
4573
|
-
},
|
|
4644
|
+
}, Xo = ["popstate"], Zo = ["hashchange", "popstate"], PopoverPanel = class extends Tn {
|
|
4574
4645
|
panelSetup;
|
|
4575
4646
|
constructor(e) {
|
|
4576
4647
|
super(e), this.panelSetup = e;
|
|
4577
4648
|
}
|
|
4578
4649
|
get overlay() {
|
|
4579
|
-
let { component: e, restoreFocus: t, onDismiss: n } = this.panelSetup;
|
|
4650
|
+
let { component: e, restoreFocus: t, onDismiss: n, pool: r, alsoInside: i } = this.panelSetup;
|
|
4580
4651
|
return this.overlayEntry ??= {
|
|
4581
4652
|
element: e.domElement,
|
|
4582
4653
|
kind: "popover",
|
|
4654
|
+
pool: r,
|
|
4583
4655
|
restoreFocus: t,
|
|
4656
|
+
get anchor() {
|
|
4657
|
+
return i?.();
|
|
4658
|
+
},
|
|
4584
4659
|
onDismiss: n ?? (() => void this.close())
|
|
4585
4660
|
};
|
|
4586
4661
|
}
|
|
4587
4662
|
overlayEntry;
|
|
4588
|
-
follow(e, t) {
|
|
4663
|
+
follow(e, t, n) {
|
|
4589
4664
|
if (!t || !e || !e.popover) return;
|
|
4590
|
-
e.matches(
|
|
4591
|
-
let { overlay:
|
|
4592
|
-
return
|
|
4593
|
-
e.matches(
|
|
4665
|
+
e.matches(Qo) || e.showPopover(n ? { source: n } : void 0);
|
|
4666
|
+
let { overlay: r } = this;
|
|
4667
|
+
return B.overlays.open(r), () => {
|
|
4668
|
+
e.matches(Qo) && e.hidePopover(), B.overlays.close(r);
|
|
4594
4669
|
};
|
|
4595
4670
|
}
|
|
4596
4671
|
get anchorStyle() {
|
|
@@ -4600,10 +4675,10 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4600
4675
|
return { "position-anchor": this.anchorName };
|
|
4601
4676
|
}
|
|
4602
4677
|
get anchorName() {
|
|
4603
|
-
return this.anchorId ??= `--${
|
|
4678
|
+
return this.anchorId ??= `--${B.ids.next(this.panelSetup.component.vocabulary.tag)}`;
|
|
4604
4679
|
}
|
|
4605
4680
|
anchorId;
|
|
4606
|
-
},
|
|
4681
|
+
}, Qo = ":popover-open", $o = class DOMLoadableElement extends C {
|
|
4607
4682
|
get content() {
|
|
4608
4683
|
return this.component?.content ?? this.pendingContent ?? "";
|
|
4609
4684
|
}
|
|
@@ -4651,13 +4726,13 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4651
4726
|
reject: t
|
|
4652
4727
|
};
|
|
4653
4728
|
}
|
|
4654
|
-
},
|
|
4729
|
+
}, es, ts, ns, rs, is, as, os, ss, cs, ls, us, ds, fs, ps, ms, hs, gs, _s, vs, ys, X, bs, xs, Ss, Cs, ws, Ts, Z = class _LoadableComponent extends (ys = Yt, vs = [protoMerged], _s = [proto], gs = [watches({
|
|
4655
4730
|
childList: !0,
|
|
4656
4731
|
characterData: !0,
|
|
4657
4732
|
subtree: !0
|
|
4658
|
-
})],
|
|
4733
|
+
})], hs = [state], ms = [state], ps = [onChange("inlineText", { defer: !0 })], fs = [state], ds = [cssState("loading")], us = [onChange("source", "loadingPolicy", "isConnected")], ls = [untracked], cs = [untracked], ss = [state], os = [cssState("error")], as = [untracked], is = [cssState("saving"), state], rs = [cssState("dirty"), state], ns = [untracked], ts = [lazy], es = [lazy], ys) {
|
|
4659
4734
|
constructor() {
|
|
4660
|
-
super(...arguments), __runInitializers(X, 5, this), __privateAdd(this,
|
|
4735
|
+
super(...arguments), __runInitializers(X, 5, this), __privateAdd(this, bs, __runInitializers(X, 8, this)), __runInitializers(X, 11, this), __privateAdd(this, xs, __runInitializers(X, 12, this, this.domElement.takePendingContent())), __runInitializers(X, 15, this), __privateAdd(this, Ss, __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, Cs, __runInitializers(X, 20, this)), __runInitializers(X, 23, this), __privateAdd(this, ws, __runInitializers(X, 24, this, !1)), __runInitializers(X, 27, this), __privateAdd(this, Ts, __runInitializers(X, 28, this, this.wasEdited !== void 0)), __runInitializers(X, 31, this), __publicField(this, "lastETag");
|
|
4661
4736
|
}
|
|
4662
4737
|
get inlineText() {
|
|
4663
4738
|
return h || !this.wantsInlineContent ? "" : _LoadableComponent.inlineTextOf(this.domElement);
|
|
@@ -4670,13 +4745,13 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4670
4745
|
return p(() => this.textToShow);
|
|
4671
4746
|
}
|
|
4672
4747
|
set content(e) {
|
|
4673
|
-
e !== this.content && (this.wasEdited = e, this.isDirty = !0, this.sendSourceEvent(
|
|
4748
|
+
e !== this.content && (this.wasEdited = e, this.isDirty = !0, this.sendSourceEvent(W.change, { content: e }));
|
|
4674
4749
|
}
|
|
4675
4750
|
onInlineTextChanged() {
|
|
4676
4751
|
this.wasEdited !== void 0 && !this.isDirty && !this.source && (this.wasEdited = void 0);
|
|
4677
4752
|
}
|
|
4678
4753
|
get isLoading() {
|
|
4679
|
-
return this.loadStatus ===
|
|
4754
|
+
return this.loadStatus === U.loading;
|
|
4680
4755
|
}
|
|
4681
4756
|
get loadingPolicy() {
|
|
4682
4757
|
return this.load ?? "eager";
|
|
@@ -4689,7 +4764,7 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4689
4764
|
scheduleLoad(e, t) {
|
|
4690
4765
|
let n = this.domElement;
|
|
4691
4766
|
if (e !== this.contentSource && (this.contentSource = e, this.dropEdits(), n.beginLoad()), !e) {
|
|
4692
|
-
this.loadStatus =
|
|
4767
|
+
this.loadStatus = U.loaded, this.loadError = void 0, afterSolidUpdate(() => this.onLoaded(this.textToShow));
|
|
4693
4768
|
return;
|
|
4694
4769
|
}
|
|
4695
4770
|
if (e === this.fetchedSource && !this.isFresh) return;
|
|
@@ -4702,14 +4777,14 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4702
4777
|
let r = new AbortController(), i, a = /* @__PURE__ */ __name(() => {
|
|
4703
4778
|
i?.(), i = void 0, this.fetchSource(e, r.signal);
|
|
4704
4779
|
}, "start");
|
|
4705
|
-
if (t === "visible")
|
|
4706
|
-
r.signal.aborted || (i =
|
|
4780
|
+
if (t === "visible") B.load().then(() => {
|
|
4781
|
+
r.signal.aborted || (i = B.visibility.observe(this.domElement, {
|
|
4707
4782
|
onOnScreen: a,
|
|
4708
4783
|
once: !0
|
|
4709
4784
|
}));
|
|
4710
4785
|
});
|
|
4711
4786
|
else if (t === "idle" && typeof requestIdleCallback == "function") {
|
|
4712
|
-
let e = requestIdleCallback(a, { timeout:
|
|
4787
|
+
let e = requestIdleCallback(a, { timeout: Ds });
|
|
4713
4788
|
i = /* @__PURE__ */ __name(() => cancelIdleCallback(e), "undo");
|
|
4714
4789
|
} else a();
|
|
4715
4790
|
return () => {
|
|
@@ -4717,15 +4792,15 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4717
4792
|
};
|
|
4718
4793
|
}
|
|
4719
4794
|
async fetchSource(e, t) {
|
|
4720
|
-
this.loadStatus =
|
|
4795
|
+
this.loadStatus = U.loading, this.loadError = void 0;
|
|
4721
4796
|
let n = this.isFresh;
|
|
4722
4797
|
this.isFresh = !1;
|
|
4723
4798
|
try {
|
|
4724
|
-
let r = await (await
|
|
4799
|
+
let r = await (await B.load()).sources.load(e, {
|
|
4725
4800
|
signal: t,
|
|
4726
4801
|
fresh: n
|
|
4727
4802
|
});
|
|
4728
|
-
this.fetchedSource = e, this.fetchedText = r.text, this.lastETag = r.etag, this.loadStatus =
|
|
4803
|
+
this.fetchedSource = e, this.fetchedText = r.text, this.lastETag = r.etag, this.loadStatus = U.loaded, this.onLoaded(r.text);
|
|
4729
4804
|
} catch (e) {
|
|
4730
4805
|
if (t.aborted) return;
|
|
4731
4806
|
this.onLoadError(e);
|
|
@@ -4733,29 +4808,29 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4733
4808
|
}
|
|
4734
4809
|
onLoaded(e) {
|
|
4735
4810
|
let t = this.wasEdited ?? e;
|
|
4736
|
-
this.domElement.endLoad(t), this.sendSourceEvent(
|
|
4811
|
+
this.domElement.endLoad(t), this.sendSourceEvent(W.load, {
|
|
4737
4812
|
source: this.source || void 0,
|
|
4738
4813
|
content: t
|
|
4739
4814
|
});
|
|
4740
4815
|
}
|
|
4741
4816
|
reload() {
|
|
4742
4817
|
let e = this.domElement, t = this.source || void 0;
|
|
4743
|
-
return this.dropEdits(), t
|
|
4818
|
+
return this.dropEdits(), t && (this.stopLoading?.(), e.beginLoad(), this.isFresh = !0, this.fetchedSource = void 0, this.stopLoading = this.scheduleLoad(t, "eager")), e.loaded;
|
|
4744
4819
|
}
|
|
4745
4820
|
get hasError() {
|
|
4746
|
-
return this.loadStatus ===
|
|
4821
|
+
return this.loadStatus === U.error;
|
|
4747
4822
|
}
|
|
4748
4823
|
get errorText() {
|
|
4749
4824
|
let e = this.loadError;
|
|
4750
4825
|
if (!e) return;
|
|
4751
|
-
let t =
|
|
4826
|
+
let t = ro[e.kind] ?? ro.load;
|
|
4752
4827
|
return this.translationForKey(t, { source: this.source ?? "" });
|
|
4753
4828
|
}
|
|
4754
4829
|
onLoadError(e, t = "load") {
|
|
4755
|
-
let n =
|
|
4756
|
-
this.loadStatus =
|
|
4830
|
+
let n = z.kindFor(e, t);
|
|
4831
|
+
this.loadStatus = U.error, this.domElement.failLoad(e);
|
|
4757
4832
|
let r = this.source || void 0;
|
|
4758
|
-
this.sendSourceEvent(
|
|
4833
|
+
this.sendSourceEvent(W.error, {
|
|
4759
4834
|
kind: n,
|
|
4760
4835
|
source: r,
|
|
4761
4836
|
error: e
|
|
@@ -4767,13 +4842,13 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4767
4842
|
async save(e) {
|
|
4768
4843
|
e !== void 0 && (this.content = e);
|
|
4769
4844
|
let { content: t, lastETag: n } = this, r = this.source || void 0;
|
|
4770
|
-
if (!this.sendSourceEvent(
|
|
4845
|
+
if (!this.sendSourceEvent(W.save, {
|
|
4771
4846
|
source: r,
|
|
4772
4847
|
content: t,
|
|
4773
4848
|
etag: n
|
|
4774
4849
|
})) return !1;
|
|
4775
|
-
let i = r || this.wantsInlineContent ? await
|
|
4776
|
-
if (!r && !i?.sources.inlineSaver) return this.isDirty = !1, this.sendSourceEvent(
|
|
4850
|
+
let i = r || this.wantsInlineContent ? await B.load() : void 0;
|
|
4851
|
+
if (!r && !i?.sources.inlineSaver) return this.isDirty = !1, this.sendSourceEvent(W.saved, { source: r }), !0;
|
|
4777
4852
|
this.isSaving = !0;
|
|
4778
4853
|
try {
|
|
4779
4854
|
let e = i.sources, a = _LoadableComponent.inlineTextOf(this.domElement), o = r ? await e.save({
|
|
@@ -4786,13 +4861,13 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4786
4861
|
before: a,
|
|
4787
4862
|
text: t
|
|
4788
4863
|
});
|
|
4789
|
-
return this.lastETag = o.etag, this.content === t && (this.isDirty = !1), this.sendSourceEvent(
|
|
4864
|
+
return this.lastETag = o.etag, this.content === t && (this.isDirty = !1), this.sendSourceEvent(W.saved, {
|
|
4790
4865
|
source: r,
|
|
4791
4866
|
etag: o.etag
|
|
4792
4867
|
}), !0;
|
|
4793
4868
|
} catch (e) {
|
|
4794
|
-
let t =
|
|
4795
|
-
return this.sendSourceEvent(
|
|
4869
|
+
let t = z.kindFor(e, "save");
|
|
4870
|
+
return this.sendSourceEvent(W.error, {
|
|
4796
4871
|
kind: t,
|
|
4797
4872
|
source: r,
|
|
4798
4873
|
error: e
|
|
@@ -4817,19 +4892,19 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4817
4892
|
return e.setAttribute("aria-label", this.translationForKey("sourceLoading", { source: this.source ?? "" })), e;
|
|
4818
4893
|
}
|
|
4819
4894
|
get loaderElement() {
|
|
4820
|
-
return this.statusElement(
|
|
4895
|
+
return this.statusElement(Za, "loader");
|
|
4821
4896
|
}
|
|
4822
4897
|
errorMessage() {
|
|
4823
4898
|
let e = this.errorElement;
|
|
4824
4899
|
return e.textContent = this.errorText ?? "", e;
|
|
4825
4900
|
}
|
|
4826
4901
|
get errorElement() {
|
|
4827
|
-
return this.statusElement(
|
|
4902
|
+
return this.statusElement(Qa, "error");
|
|
4828
4903
|
}
|
|
4829
4904
|
statusElement(e, t) {
|
|
4830
4905
|
let n = this.domElement.ownerDocument.createElement(e);
|
|
4831
4906
|
n.setAttribute("part", this.partForName(t));
|
|
4832
|
-
for (let [t, r] of Object.entries(
|
|
4907
|
+
for (let [t, r] of Object.entries(Os[e])) n.setAttribute(t, r);
|
|
4833
4908
|
return n;
|
|
4834
4909
|
}
|
|
4835
4910
|
checkSource(e) {}
|
|
@@ -4860,15 +4935,15 @@ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
|
|
|
4860
4935
|
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
4936
|
}
|
|
4862
4937
|
};
|
|
4863
|
-
X = __decoratorStart(
|
|
4864
|
-
var
|
|
4865
|
-
[
|
|
4938
|
+
X = __decoratorStart(ys), bs = /* @__PURE__ */ new WeakMap(), xs = /* @__PURE__ */ new WeakMap(), Ss = /* @__PURE__ */ new WeakMap(), Cs = /* @__PURE__ */ new WeakMap(), ws = /* @__PURE__ */ new WeakMap(), Ts = /* @__PURE__ */ new WeakMap(), __decorateElement(X, 2, "inlineText", gs, Z), __decorateElement(X, 4, "fetchedText", hs, Z, bs), __decorateElement(X, 4, "wasEdited", ms, Z, xs), __decorateElement(X, 1, "onInlineTextChanged", ps, Z), __decorateElement(X, 4, "loadStatus", fs, Z, Ss), __decorateElement(X, 2, "isLoading", ds, Z), __decorateElement(X, 1, "onSourceChanged", us, Z), __decorateElement(X, 1, "onLoaded", ls, Z), __decorateElement(X, 1, "reload", cs, Z), __decorateElement(X, 4, "loadError", ss, Z, Cs), __decorateElement(X, 2, "hasError", os, Z), __decorateElement(X, 1, "onLoadError", as, Z), __decorateElement(X, 4, "isSaving", is, Z, ws), __decorateElement(X, 4, "isDirty", rs, Z, Ts), __decorateElement(X, 1, "save", ns, Z), __decorateElement(X, 2, "loaderElement", ts, Z), __decorateElement(X, 2, "errorElement", es, Z), __decorateElement(X, 13, "elementSetup", vs, Z), __decorateElement(X, 13, "wantsInlineContent", _s, Z), __decoratorMetadata(X, Z), __name(Z, "LoadableComponent"), __publicField(Z, "elementSetup", __runInitializers(X, 32, Z, { DOMElement: $o })), __runInitializers(X, 35, Z), __publicField(Z, "wantsInlineContent", __runInitializers(X, 36, Z, !0)), __runInitializers(X, 39, Z);
|
|
4939
|
+
var Es = Z, Ds = 2e3, Os = {
|
|
4940
|
+
[Za]: {
|
|
4866
4941
|
visible: "",
|
|
4867
4942
|
inline: "",
|
|
4868
4943
|
centered: ""
|
|
4869
4944
|
},
|
|
4870
|
-
[
|
|
4871
|
-
},
|
|
4945
|
+
[Qa]: { state: "error" }
|
|
4946
|
+
}, ks = class SourceMarkup {
|
|
4872
4947
|
static parse(e, { page: t, source: n, select: r }) {
|
|
4873
4948
|
let i = new DOMParser().parseFromString(e, "text/html"), a;
|
|
4874
4949
|
if (r) {
|
|
@@ -4876,12 +4951,12 @@ var bs = Z, xs = 2e3, Ss = {
|
|
|
4876
4951
|
try {
|
|
4877
4952
|
e = i.querySelector(r);
|
|
4878
4953
|
} catch (e) {
|
|
4879
|
-
throw new
|
|
4954
|
+
throw new z(`SourceMarkup.parse(): "${r}" isn't a CSS selector; fix \`select\``, { cause: {
|
|
4880
4955
|
kind: "render",
|
|
4881
4956
|
error: e
|
|
4882
4957
|
} });
|
|
4883
4958
|
}
|
|
4884
|
-
if (!e) throw new
|
|
4959
|
+
if (!e) throw new z(`SourceMarkup.parse(): nothing in ${n ?? "the content"} matches "${r}"; fix \`select\``, { cause: { kind: "render" } });
|
|
4885
4960
|
a = [e];
|
|
4886
4961
|
} else a = [...i.body.childNodes];
|
|
4887
4962
|
let o = t.createDocumentFragment();
|
|
@@ -4890,7 +4965,7 @@ var bs = Z, xs = 2e3, Ss = {
|
|
|
4890
4965
|
}
|
|
4891
4966
|
static rewriteUrls(e, t, n) {
|
|
4892
4967
|
let r = new URL(t, n.baseURI);
|
|
4893
|
-
for (let t of e.querySelectorAll(
|
|
4968
|
+
for (let t of e.querySelectorAll(eo)) for (let e of $a) {
|
|
4894
4969
|
let i = t.getAttribute(e);
|
|
4895
4970
|
if (i === null || i.startsWith("#")) continue;
|
|
4896
4971
|
let a;
|
|
@@ -4899,13 +4974,13 @@ var bs = Z, xs = 2e3, Ss = {
|
|
|
4899
4974
|
} catch {
|
|
4900
4975
|
continue;
|
|
4901
4976
|
}
|
|
4902
|
-
a !== new URL(i, n.baseURI).href && (t.setAttribute(
|
|
4977
|
+
a !== new URL(i, n.baseURI).href && (t.setAttribute(to + e, i), t.setAttribute(e, a));
|
|
4903
4978
|
}
|
|
4904
4979
|
}
|
|
4905
4980
|
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(
|
|
4981
|
+
for (let t of e.querySelectorAll("*")) for (let e of $a) {
|
|
4982
|
+
let n = t.getAttribute(to + e);
|
|
4983
|
+
n !== null && (t.setAttribute(e, n), t.removeAttribute(to + e));
|
|
4909
4984
|
}
|
|
4910
4985
|
}
|
|
4911
4986
|
static checkNesting(e, t, n) {
|
|
@@ -4913,29 +4988,29 @@ var bs = Z, xs = 2e3, Ss = {
|
|
|
4913
4988
|
for (let o = SourceMarkup.parentFor(e); o; o = SourceMarkup.parentFor(o)) {
|
|
4914
4989
|
if (!n(o)) continue;
|
|
4915
4990
|
a++;
|
|
4916
|
-
let e = o.getAttribute(
|
|
4917
|
-
if (e && new URL(e, r).href === i) throw new
|
|
4991
|
+
let e = o.getAttribute(ao);
|
|
4992
|
+
if (e && new URL(e, r).href === i) throw new z(`SourceMarkup.checkNesting(): ${t} includes itself; point \`source\` elsewhere`, { cause: { kind: "render" } });
|
|
4918
4993
|
}
|
|
4919
|
-
if (a >= 8) throw new
|
|
4994
|
+
if (a >= 8) throw new z(`SourceMarkup.checkNesting(): ${t} is nested more than 8 sources deep; look for a cycle`, { cause: { kind: "render" } });
|
|
4920
4995
|
}
|
|
4921
4996
|
static parentFor(e) {
|
|
4922
4997
|
let t = e.parentNode;
|
|
4923
4998
|
if (t?.nodeType === _.element) return t;
|
|
4924
4999
|
if (t?.nodeType === _.documentFragment) return t.host;
|
|
4925
5000
|
}
|
|
4926
|
-
},
|
|
4927
|
-
|
|
5001
|
+
}, As, js, Ms, Ns, Ps, Fs = [state], Q, Is, Ls, Rs, zs;
|
|
5002
|
+
Ps = [state], Ns = [state], Ms = [state], js = [untracked], As = [untracked];
|
|
4928
5003
|
var $ = class _LoadableBody {
|
|
4929
5004
|
constructor(e) {
|
|
4930
|
-
__runInitializers(Q, 5, this), __privateAdd(this,
|
|
5005
|
+
__runInitializers(Q, 5, this), __privateAdd(this, Is, __runInitializers(Q, 8, this, U.idle)), __runInitializers(Q, 11, this), __privateAdd(this, Ls, __runInitializers(Q, 12, this, !1)), __runInitializers(Q, 15, this), __privateAdd(this, Rs, __runInitializers(Q, 16, this)), __runInitializers(Q, 19, this), __privateAdd(this, zs, __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
5006
|
}
|
|
4932
5007
|
get isVeiled() {
|
|
4933
5008
|
if (this.hasShownABody) return !1;
|
|
4934
5009
|
let e = this.loadStatus;
|
|
4935
|
-
return (e ===
|
|
5010
|
+
return (e === U.idle || e === U.loading) && !this.isOverdue;
|
|
4936
5011
|
}
|
|
4937
5012
|
get isBusy() {
|
|
4938
|
-
return this.loadStatus ===
|
|
5013
|
+
return this.loadStatus === U.loading && this.isOverdue;
|
|
4939
5014
|
}
|
|
4940
5015
|
load() {
|
|
4941
5016
|
let e = this.owner.source();
|
|
@@ -4957,7 +5032,7 @@ var $ = class _LoadableBody {
|
|
|
4957
5032
|
}
|
|
4958
5033
|
start(e) {
|
|
4959
5034
|
let t = ++this.generation;
|
|
4960
|
-
this.pendingKey = _LoadableBody.key(e.source, e.select), this.loadStatus =
|
|
5035
|
+
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
5036
|
let n = after(300 / 1e3, () => {
|
|
4962
5037
|
t === this.generation && (this.isOverdue = !0);
|
|
4963
5038
|
}), r = this.fetch(e, t).finally(() => n.cancel());
|
|
@@ -4968,14 +5043,14 @@ var $ = class _LoadableBody {
|
|
|
4968
5043
|
async fetch({ source: e, select: t, fresh: n }, r) {
|
|
4969
5044
|
let { domElement: i } = this.owner;
|
|
4970
5045
|
try {
|
|
4971
|
-
|
|
5046
|
+
ks.checkNesting(i, e, (e) => e.hasAttribute(ao));
|
|
4972
5047
|
let a = await this.textOf(e, n);
|
|
4973
5048
|
if (r !== this.generation) return;
|
|
4974
|
-
this.insert(
|
|
5049
|
+
this.insert(ks.parse(a, {
|
|
4975
5050
|
page: i.ownerDocument,
|
|
4976
5051
|
source: e,
|
|
4977
5052
|
select: t
|
|
4978
|
-
})), this.loadStatus =
|
|
5053
|
+
})), this.loadStatus = U.loaded, this.owner.send(W.loaded, {
|
|
4979
5054
|
source: e,
|
|
4980
5055
|
content: a
|
|
4981
5056
|
});
|
|
@@ -4988,7 +5063,7 @@ var $ = class _LoadableBody {
|
|
|
4988
5063
|
return this.aborter?.abort(), this.aborter = new AbortController(), this.owner.loadText?.(e, {
|
|
4989
5064
|
fresh: t,
|
|
4990
5065
|
signal: this.aborter.signal
|
|
4991
|
-
}) || (await (await
|
|
5066
|
+
}) || (await (await B.load()).sources.load(e, { fresh: t })).text;
|
|
4992
5067
|
}
|
|
4993
5068
|
insert(e) {
|
|
4994
5069
|
let t = this.owner.target();
|
|
@@ -4997,9 +5072,9 @@ var $ = class _LoadableBody {
|
|
|
4997
5072
|
this.inserted = [...e.childNodes], t.append(e), this.hasShownABody = !0;
|
|
4998
5073
|
}
|
|
4999
5074
|
fail(e, t) {
|
|
5000
|
-
let n =
|
|
5001
|
-
this.loadStatus =
|
|
5002
|
-
let r = this.owner.send(
|
|
5075
|
+
let n = z.kindFor(t, "load");
|
|
5076
|
+
this.loadStatus = U.error;
|
|
5077
|
+
let r = this.owner.send(W.error, {
|
|
5003
5078
|
kind: n,
|
|
5004
5079
|
source: e,
|
|
5005
5080
|
error: t
|
|
@@ -5016,103 +5091,103 @@ var $ = class _LoadableBody {
|
|
|
5016
5091
|
return !(e.nodeType === _.element && e.hasAttribute("slot"));
|
|
5017
5092
|
}
|
|
5018
5093
|
};
|
|
5019
|
-
Q = __decoratorStart(null),
|
|
5020
|
-
var
|
|
5094
|
+
Q = __decoratorStart(null), Is = /* @__PURE__ */ new WeakMap(), Ls = /* @__PURE__ */ new WeakMap(), Rs = /* @__PURE__ */ new WeakMap(), zs = /* @__PURE__ */ new WeakMap(), __decorateElement(Q, 4, "loadStatus", Fs, $, Is), __decorateElement(Q, 4, "isOverdue", Ps, $, Ls), __decorateElement(Q, 4, "loadError", Ns, $, Rs), __decorateElement(Q, 4, "hasShownABody", Ms, $, zs), __decorateElement(Q, 1, "load", js, $), __decorateElement(Q, 1, "reload", As, $), __decoratorMetadata(Q, $), __name($, "LoadableBody");
|
|
5095
|
+
var Bs = $, DOMLoadableBodyElement = class extends C {
|
|
5021
5096
|
load() {
|
|
5022
5097
|
return this.component?.loadBody() ?? Promise.resolve();
|
|
5023
5098
|
}
|
|
5024
5099
|
reload() {
|
|
5025
5100
|
return this.component?.reloadBody() ?? Promise.resolve();
|
|
5026
5101
|
}
|
|
5027
|
-
},
|
|
5028
|
-
APP_STYLESHEET_ID: () =>
|
|
5102
|
+
}, Vs = /* @__PURE__ */ e({
|
|
5103
|
+
APP_STYLESHEET_ID: () => ja,
|
|
5029
5104
|
ATTRIBUTE_GROUPS: () => Ce,
|
|
5030
|
-
AddressParameter: () =>
|
|
5031
|
-
AnimationNames: () =>
|
|
5105
|
+
AddressParameter: () => Yo,
|
|
5106
|
+
AnimationNames: () => Na,
|
|
5032
5107
|
ApiError: () => ApiError,
|
|
5033
|
-
AriaNames: () =>
|
|
5034
|
-
BuiltInIconPacks: () =>
|
|
5035
|
-
BuiltInPacks: () =>
|
|
5036
|
-
CODE_LANGUAGES_EVENT: () =>
|
|
5108
|
+
AriaNames: () => Te,
|
|
5109
|
+
BuiltInIconPacks: () => Co,
|
|
5110
|
+
BuiltInPacks: () => Ao,
|
|
5111
|
+
CODE_LANGUAGES_EVENT: () => La,
|
|
5037
5112
|
Cell: () => Cell,
|
|
5038
|
-
ClassBuilder: () =>
|
|
5039
|
-
ClipboardCopy: () =>
|
|
5113
|
+
ClassBuilder: () => Ha,
|
|
5114
|
+
ClipboardCopy: () => qo,
|
|
5040
5115
|
CloseButton: () => CloseButton,
|
|
5041
|
-
Converters: () =>
|
|
5042
|
-
CssDisplay: () =>
|
|
5043
|
-
DEFAULT_ICON_PACK: () =>
|
|
5044
|
-
DOMElement: () =>
|
|
5116
|
+
Converters: () => M,
|
|
5117
|
+
CssDisplay: () => Oa,
|
|
5118
|
+
DEFAULT_ICON_PACK: () => wo,
|
|
5119
|
+
DOMElement: () => C,
|
|
5045
5120
|
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: () =>
|
|
5121
|
+
DOMLoadableElement: () => $o,
|
|
5122
|
+
DefaultValues: () => ya,
|
|
5123
|
+
Disclosure: () => Tn,
|
|
5124
|
+
E: () => Vs,
|
|
5125
|
+
EN_STRINGS: () => Pa,
|
|
5126
|
+
ERRORED_STATE: () => De,
|
|
5127
|
+
ERROR_EVENT: () => Ee,
|
|
5128
|
+
ElementDefinition: () => ze,
|
|
5129
|
+
ICON_PACK_INDEX: () => To,
|
|
5055
5130
|
ICON_PREFIX_SEPARATOR: () => ":",
|
|
5056
|
-
IconGlyph: () =>
|
|
5057
|
-
IconName: () =>
|
|
5058
|
-
LAYER_ORDER: () =>
|
|
5131
|
+
IconGlyph: () => Bo,
|
|
5132
|
+
IconName: () => Do,
|
|
5133
|
+
LAYER_ORDER: () => Da,
|
|
5059
5134
|
ListSelection: () => ListSelection,
|
|
5060
|
-
LoadOnce: () =>
|
|
5061
|
-
LoadableBody: () =>
|
|
5062
|
-
LoadableComponent: () =>
|
|
5135
|
+
LoadOnce: () => Un,
|
|
5136
|
+
LoadableBody: () => Bs,
|
|
5137
|
+
LoadableComponent: () => Es,
|
|
5063
5138
|
MAX_DEPTH: () => 8,
|
|
5064
|
-
MenuSearchFields: () =>
|
|
5065
|
-
MoveAndResize: () =>
|
|
5066
|
-
NO_ANIMATION: () =>
|
|
5067
|
-
NativeFallback: () =>
|
|
5139
|
+
MenuSearchFields: () => Xa,
|
|
5140
|
+
MoveAndResize: () => Mn,
|
|
5141
|
+
NO_ANIMATION: () => we,
|
|
5142
|
+
NativeFallback: () => go,
|
|
5068
5143
|
NodeType: () => _,
|
|
5069
|
-
ORIGINAL_PREFIX: () =>
|
|
5144
|
+
ORIGINAL_PREFIX: () => to,
|
|
5070
5145
|
OwnControls: () => OwnControls,
|
|
5071
|
-
OwnerContext: () =>
|
|
5072
|
-
PAGE_SCOPE: () =>
|
|
5073
|
-
ParentLink: () =>
|
|
5074
|
-
PartComponent: () =>
|
|
5075
|
-
PartContext: () =>
|
|
5146
|
+
OwnerContext: () => et,
|
|
5147
|
+
PAGE_SCOPE: () => ka,
|
|
5148
|
+
ParentLink: () => zn,
|
|
5149
|
+
PartComponent: () => Io,
|
|
5150
|
+
PartContext: () => E,
|
|
5076
5151
|
PopoverPanel: () => PopoverPanel,
|
|
5077
5152
|
Queued: () => Queued,
|
|
5078
|
-
RUNTIME_KEY: () =>
|
|
5079
|
-
RUNTIME_VERSION: () =>
|
|
5080
|
-
RangeMeasures: () =>
|
|
5081
|
-
Reactive: () =>
|
|
5082
|
-
RootSettings: () =>
|
|
5083
|
-
SCROLL_LOCK_CLASS: () =>
|
|
5084
|
-
SOURCE_ATTRIBUTE: () =>
|
|
5153
|
+
RUNTIME_KEY: () => R,
|
|
5154
|
+
RUNTIME_VERSION: () => Ea,
|
|
5155
|
+
RangeMeasures: () => Ya,
|
|
5156
|
+
Reactive: () => y,
|
|
5157
|
+
RootSettings: () => Ka,
|
|
5158
|
+
SCROLL_LOCK_CLASS: () => Aa,
|
|
5159
|
+
SOURCE_ATTRIBUTE: () => ao,
|
|
5085
5160
|
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: () =>
|
|
5100
|
-
SpellSolid: () =>
|
|
5161
|
+
SOURCE_FAILURE_KEYS: () => ro,
|
|
5162
|
+
SOURCE_LOADER_TAG: () => Za,
|
|
5163
|
+
SOURCE_MESSAGE_TAG: () => Qa,
|
|
5164
|
+
STICKY_MAX_RESERVE: () => co,
|
|
5165
|
+
STICKY_SCROLLING: () => so,
|
|
5166
|
+
STICKY_SLACK: () => lo,
|
|
5167
|
+
SharedVocabulary: () => F,
|
|
5168
|
+
Shorthand: () => uo,
|
|
5169
|
+
SlotContent: () => bn,
|
|
5170
|
+
SourceError: () => z,
|
|
5171
|
+
SourceErrorKinds: () => Ia,
|
|
5172
|
+
SourceEvent: () => W,
|
|
5173
|
+
SourceMarkup: () => ks,
|
|
5174
|
+
SourceStatus: () => U,
|
|
5175
|
+
SpellSolid: () => v,
|
|
5101
5176
|
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: () =>
|
|
5112
|
-
ValueSets: () =>
|
|
5113
|
-
VisibilityDirection: () =>
|
|
5114
|
-
Vocabulary: () =>
|
|
5115
|
-
WHITESPACE: () =>
|
|
5177
|
+
StickyWatch: () => yo,
|
|
5178
|
+
StickyWatchEdges: () => oo,
|
|
5179
|
+
TEMPORAL_POLYFILL: () => Fa,
|
|
5180
|
+
TopLayerTip: () => Bn,
|
|
5181
|
+
UI: () => B,
|
|
5182
|
+
UIComponent: () => Yt,
|
|
5183
|
+
UIT: () => fr,
|
|
5184
|
+
URL_ATTRIBUTES: () => $a,
|
|
5185
|
+
URL_SELECTOR: () => eo,
|
|
5186
|
+
UTILITIES_SHEET: () => Ma,
|
|
5187
|
+
ValueSets: () => j,
|
|
5188
|
+
VisibilityDirection: () => Ra,
|
|
5189
|
+
Vocabulary: () => ga,
|
|
5190
|
+
WHITESPACE: () => Ja,
|
|
5116
5191
|
Warnings: () => Warnings,
|
|
5117
5192
|
after: () => after,
|
|
5118
5193
|
afterSolidUpdate: () => afterSolidUpdate,
|
|
@@ -5123,6 +5198,7 @@ var Ps = $, DOMLoadableBodyElement = class extends w {
|
|
|
5123
5198
|
camelCase: () => camelCase,
|
|
5124
5199
|
clamp: () => clamp,
|
|
5125
5200
|
closestAcrossShadow: () => closestAcrossShadow,
|
|
5201
|
+
commaList: () => commaList,
|
|
5126
5202
|
controlled: () => controlled,
|
|
5127
5203
|
copyText: () => copyText,
|
|
5128
5204
|
cssState: () => cssState,
|
|
@@ -5139,6 +5215,7 @@ var Ps = $, DOMLoadableBodyElement = class extends w {
|
|
|
5139
5215
|
hasDescriptor: () => hasDescriptor,
|
|
5140
5216
|
hasOwnProp: () => hasOwnProp,
|
|
5141
5217
|
indented: () => indented,
|
|
5218
|
+
initialCaps: () => initialCaps,
|
|
5142
5219
|
isBrowser: () => isBrowser,
|
|
5143
5220
|
isSameList: () => isSameList,
|
|
5144
5221
|
kb: () => kb,
|
|
@@ -5164,15 +5241,16 @@ var Ps = $, DOMLoadableBodyElement = class extends w {
|
|
|
5164
5241
|
soon: () => soon,
|
|
5165
5242
|
state: () => state,
|
|
5166
5243
|
suggest: () => suggest,
|
|
5244
|
+
textChecksum: () => textChecksum,
|
|
5167
5245
|
untracked: () => untracked,
|
|
5168
5246
|
waitUntil: () => waitUntil,
|
|
5169
5247
|
watches: () => watches,
|
|
5170
5248
|
whenDefined: () => whenDefined,
|
|
5171
5249
|
whileConnected: () => whileConnected,
|
|
5250
|
+
withArticle: () => withArticle,
|
|
5172
5251
|
within: () => within,
|
|
5173
5252
|
withoutAccents: () => withoutAccents
|
|
5174
5253
|
});
|
|
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 };
|
|
5254
|
+
export { wr as $, Di as A, ja as APP_STYLESHEET_ID, Ce as ATTRIBUTE_GROUPS, Yo as AddressParameter, Na as AnimationNames, ApiError, Te as AriaNames, na as At, Dr as B, currentPlatform as Bt, Co as BuiltInIconPacks, Ao as BuiltInPacks, Ui as C, La as CODE_LANGUAGES_EVENT, Cell, Ha as ClassBuilder, qo as ClipboardCopy, CloseButton, M as Converters, Oa as CssDisplay, sa as Ct, Ci as D, wo as DEFAULT_ICON_PACK, C as DOMElement, DOMLoadableBodyElement, $o as DOMLoadableElement, ya as DefaultValues, Tn as Disclosure, aa as Dt, Vs as E, Pa as EN_STRINGS, De as ERRORED_STATE, Ee as ERROR_EVENT, ze as ElementDefinition, ia as Et, li as F, yi as Ft, yr as G, __decoratorStart as Gt, Vr as H, onPlatformChange as Ht, ji as I, To as ICON_PACK_INDEX, Eo as ICON_PREFIX_SEPARATOR, Bo as IconGlyph, Do as IconName, Ri as It, Ur as J, __publicField as Jt, N as K, __name as Kt, pi as L, Da as LAYER_ORDER, ListSelection, Un as LoadOnce, Bs as LoadableBody, Es as LoadableComponent, Vi as Lt, ki as M, no as MAX_DEPTH, Xa as MenuSearchFields, Mn as MoveAndResize, la as Mt, Ai as N, we as NO_ANIMATION, go as NativeFallback, _ as NodeType, Qr as Nt, wi as O, to as ORIGINAL_PREFIX, ra as Ot, OwnControls, et as OwnerContext, Or as P, ka as PAGE_SCOPE, zn as ParentLink, Io as PartComponent, E as PartContext, PopoverPanel, Zr as Pt, ei as Q, Queued, Mi as R, R as RUNTIME_KEY, Ea as RUNTIME_VERSION, Ya as RangeMeasures, y as Reactive, Ka as RootSettings, WordWidthClasses as Rt, Kr as S, Aa as SCROLL_LOCK_CLASS, ao as SOURCE_ATTRIBUTE, io as SOURCE_BODY_HOLD_MS, ro as SOURCE_FAILURE_KEYS, Za as SOURCE_LOADER_TAG, Qa as SOURCE_MESSAGE_TAG, co as STICKY_MAX_RESERVE, so as STICKY_SCROLLING, lo as STICKY_SLACK, F as SharedVocabulary, uo as Shorthand, bn as SlotContent, z as SourceError, Ia as SourceErrorKinds, W as SourceEvent, ks as SourceMarkup, U as SourceStatus, v as SpellSolid, Ni as St, StaleCatalogError, yo as StickyWatch, oo as StickyWatchEdges, zi as T, Fa as TEMPORAL_POLYFILL, Bn as TopLayerTip, bi as Tt, Ar as U, B as UI, Yt as UIComponent, fr as UIT, $a as URL_ATTRIBUTES, eo as URL_SELECTOR, Ma as UTILITIES_SHEET, __decorateElement as Ut, ModalActions as V, j as ValueSets, Ra as VisibilityDirection, ga as Vocabulary, isOnPlatform as Vt, ti as W, Ja as WHITESPACE, Warnings, __decoratorMetadata as Wt, Bi as X, ni as Y, __runInitializers as Yt, _i as Z, Mr as _, Er as _t, Yr as a, after, afterSolidUpdate, answerOf, aria, oi as at, Wr as b, beforeNextPaint, Fr as bt, byDocumentOrder, xi as c, camelCase, clamp, closestAcrossShadow, commaList, controlled, copyText, cssState, Qi as ct, ca as d, dedent, derived, ta as dt, escapeHTML, escapeRegExp, br as et, every, Si as f, fetchOk, fetchText, flatParentFor, forget, qi as ft, ui as g, getSuperHierarchy, Zi as gt, gi as h, hasDescriptor, hasOwnProp, Yi as ht, Ti as i, indented, initialCaps, isBrowser, isSameList, ci as it, Oi as j, ThemeNames as jt, HeadingLevels as k, kb, kebabCase, oa as kt, kr as l, lazy, letNodeEnd, levenshtein, load as loadUI, $i as lt, Hi as m, markedPieces, Ji as mt, hi as n, nextFrame, P as nt, numberToWord, Pi as o, on, onChange, once, ai as ot, Ei as p, proto, protoMerged, Xi as pt, Ir as q, __privateAdd as qt, vi as r, resets, Rr as rt, mi as s, scrollByRow, scrollEnds, scrollIntoSight, scrollingBoxFor, slug, soon, Ki as st, state, suggest, jo as t, textChecksum, xr as tt, fi as u, untracked, ea as ut, Fi as v, StackClasses as vt, Wi as w, waitUntil, watches, whenDefined, whileConnected, withArticle, within, withoutAccents, vr as wt, Gr as x, Pr as xt, pr as y, Cr as yt, Jr as z, canCaptureScreen as zt };
|
|
5177
5255
|
|
|
5178
5256
|
//# sourceMappingURL=core.js.map
|