spell-ui 0.8.5 → 0.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README-components.md +14 -6
- package/README-frameworks.md +22 -12
- package/README-migrating.md +7 -6
- package/README-runtime.md +14 -13
- package/README-site.md +11 -11
- package/README-themes.md +38 -11
- package/README.md +61 -73
- package/dist/Dragging-CMZoLEWQ.js +169 -0
- package/dist/Dragging-CMZoLEWQ.js.map +1 -0
- package/dist/{MarkdownEngine-CbuT9Mjc.js → MarkdownEngine-CW1WGqNp.js} +122 -100
- package/dist/MarkdownEngine-CW1WGqNp.js.map +1 -0
- package/dist/{PrefStore-CeaTtjTz.js → PrefStore-Qv0e5y04.js} +22 -22
- package/dist/PrefStore-Qv0e5y04.js.map +1 -0
- package/dist/ScrollingRow-7n7Z-HIE.js +88 -0
- package/dist/ScrollingRow-7n7Z-HIE.js.map +1 -0
- package/dist/SitePages-CciwREek.js +51 -0
- package/dist/SitePages-CciwREek.js.map +1 -0
- package/dist/{SlottedItems-Ch0tzzlL.js → SlottedItems-Du3aJwG1.js} +22 -22
- package/dist/{SlottedItems-Ch0tzzlL.js.map → SlottedItems-Du3aJwG1.js.map} +1 -1
- package/dist/ThemeDraft-B7NPif4d.js +805 -0
- package/dist/ThemeDraft-B7NPif4d.js.map +1 -0
- package/dist/TreeMeasure-BVJeGb1L.js +42 -0
- package/dist/TreeMeasure-BVJeGb1L.js.map +1 -0
- package/dist/UIButton-DFEds67r.js +6 -0
- package/dist/UIButton-DFEds67r.js.map +1 -0
- package/dist/UIInput-BodVbUoQ.js +6 -0
- package/dist/UIInput-BodVbUoQ.js.map +1 -0
- package/dist/{UIKeys-DJF2TIKE.js → UIKeys-Rh_gUZjP.js} +10 -9
- package/dist/UIKeys-Rh_gUZjP.js.map +1 -0
- package/dist/UILabel-DgJUBzB_.js +6 -0
- package/dist/UILabel-DgJUBzB_.js.map +1 -0
- package/dist/UIMenu-zdcAtwTa.js +42 -0
- package/dist/UIMenu-zdcAtwTa.js.map +1 -0
- package/dist/{UIRuntime-BBuehGly.js → UIRuntime-KH309p5B.js} +398 -207
- package/dist/UIRuntime-KH309p5B.js.map +1 -0
- package/dist/_spell-element/DOMElement.d.ts +62 -5
- package/dist/_spell-element/MoveAndResize.d.ts +75 -0
- package/dist/_spell-element/UIComponent.d.ts +42 -0
- package/dist/_spell-element/elements.types.d.ts +47 -0
- package/dist/_spell-element/index.d.ts +1 -0
- package/dist/_spell-element/vocabulary.types.d.ts +34 -2
- package/dist/{runtime → _util}/Api.d.ts +14 -4
- package/dist/_util/Dragging.d.ts +148 -0
- package/dist/_util/ListSelection.d.ts +46 -0
- package/dist/{util → _util}/LoadOnce.d.ts +9 -1
- package/dist/_util/ReconnectingSocket.d.ts +51 -0
- package/dist/_util/diagram/DiagramColumns.d.ts +14 -0
- package/dist/_util/diagram/DiagramLayout.d.ts +119 -0
- package/dist/_util/diagram/DiagramSVG.d.ts +17 -0
- package/dist/_util/dom.d.ts +10 -0
- package/dist/_util/fetching.d.ts +92 -0
- package/dist/_util/measures/Dimension.d.ts +63 -0
- package/dist/_util/measures/MeasureSystem.d.ts +66 -0
- package/dist/_util/measures/dimensions.generated.d.ts +16 -0
- package/dist/_util/persist/ColorScheme.d.ts +6 -0
- package/dist/_util/persist/ServerPlace.d.ts +42 -0
- package/dist/_util/persist/WaitedOnPlace.d.ts +27 -0
- package/dist/_util/persist/persist.types.d.ts +21 -2
- package/dist/_util/timing.d.ts +10 -1
- package/dist/api.js +8 -7
- package/dist/api.js.map +1 -1
- package/dist/components/ComponentDefinitions.d.ts +29 -0
- package/dist/components/components.es.d.ts +13 -0
- package/dist/components/components.types.d.ts +113 -8
- package/dist/components/ui-accordion/UIAccordion.d.ts +1 -0
- package/dist/components/ui-accordion/UIAccordion.en.d.ts +1 -0
- package/dist/components/ui-action/UIAction.en.d.ts +5 -1
- package/dist/components/ui-ad/UIAd.d.ts +1 -0
- package/dist/components/ui-ad/UIAd.en.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumb.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumb.en.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumbs.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumbs.en.d.ts +1 -0
- package/dist/components/ui-button/UIButton.d.ts +8 -3
- package/dist/components/ui-button/UIButton.en.d.ts +9 -4
- package/dist/components/ui-button/UIButton.es.d.ts +6 -0
- package/dist/components/ui-button/UIButton.fallback.d.ts +8 -3
- package/dist/components/ui-button/UIButtons.d.ts +1 -0
- package/dist/components/ui-button/UIButtons.en.d.ts +1 -0
- package/dist/components/ui-button/UIOr.d.ts +1 -0
- package/dist/components/ui-button/UIOr.en.d.ts +1 -0
- package/dist/components/ui-calendar/UICalendar.d.ts +6 -0
- package/dist/components/ui-calendar/UICalendar.en.d.ts +6 -0
- package/dist/components/ui-calendar/UICalendar.fallback.d.ts +6 -0
- package/dist/components/ui-card/CardClicks.d.ts +40 -0
- package/dist/components/ui-card/UICard.d.ts +41 -0
- package/dist/components/ui-card/UICard.en.d.ts +49 -0
- package/dist/components/ui-card/UICard.es.d.ts +1 -0
- package/dist/components/ui-card/UICards.d.ts +31 -0
- package/dist/components/ui-card/UICards.en.d.ts +31 -0
- package/dist/components/ui-card/UICards.es.d.ts +8 -0
- package/dist/components/ui-checkbox/CheckControl.d.ts +7 -0
- package/dist/components/ui-checkbox/UICheckbox.d.ts +7 -0
- package/dist/components/ui-checkbox/UICheckbox.en.d.ts +7 -0
- package/dist/components/ui-checkbox/UICheckbox.es.d.ts +1 -0
- package/dist/components/ui-checkbox/UICheckbox.fallback.d.ts +7 -0
- package/dist/components/ui-checkbox/UICheckbox.types.d.ts +5 -0
- package/dist/components/ui-checkbox/UIRadio.d.ts +8 -0
- package/dist/components/ui-checkbox/UIRadio.en.d.ts +6 -0
- package/dist/components/ui-code/UICode.en.d.ts +1 -0
- package/dist/components/ui-comment/UIComment.d.ts +1 -0
- package/dist/components/ui-comment/UIComment.en.d.ts +1 -0
- package/dist/components/ui-comment/UIComments.d.ts +1 -0
- package/dist/components/ui-comment/UIComments.en.d.ts +1 -0
- package/dist/components/ui-components/PackHotSwap.d.ts +17 -1
- package/dist/components/ui-components/UIComponents.d.ts +1 -0
- package/dist/components/ui-components/UIComponents.en.d.ts +1 -0
- package/dist/components/ui-container/UIContainer.d.ts +11 -0
- package/dist/components/ui-container/UIContainer.en.d.ts +7 -0
- package/dist/components/ui-container/UIContainer.es.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagram.d.ts +268 -0
- package/dist/components/ui-diagram/UIDiagram.en.d.ts +106 -0
- package/dist/components/ui-diagram/UIDiagram.es.d.ts +37 -0
- package/dist/components/ui-diagram/UIDiagramNode.d.ts +98 -0
- package/dist/components/ui-diagram/UIDiagramNode.en.d.ts +38 -0
- package/dist/components/ui-diagram/UIDiagramNode.es.d.ts +16 -0
- package/dist/components/ui-diagram/index.d.ts +8 -0
- package/dist/components/ui-dimension/UIDimension.d.ts +81 -0
- package/dist/components/ui-dimension/UIDimension.en.d.ts +54 -0
- package/dist/components/ui-dimension/UIDimension.es.d.ts +22 -0
- package/dist/components/ui-dimension/index.d.ts +2 -0
- package/dist/components/ui-dimmer/UIDimmer.d.ts +6 -1
- package/dist/components/ui-dimmer/UIDimmer.en.d.ts +1 -0
- package/dist/components/ui-dimmer/UIDimmer.es.d.ts +1 -1
- package/dist/components/ui-divider/UIDivider.d.ts +2 -0
- package/dist/components/ui-divider/UIDivider.en.d.ts +2 -0
- package/dist/components/ui-divider/UIDivider.es.d.ts +1 -0
- package/dist/components/ui-dropdown/UIDropdown.d.ts +6 -0
- package/dist/components/ui-dropdown/UIDropdown.en.d.ts +6 -0
- package/dist/components/ui-dropdown/UIDropdown.fallback.d.ts +6 -0
- package/dist/components/ui-embed/UIEmbed.d.ts +1 -0
- package/dist/components/ui-embed/UIEmbed.en.d.ts +1 -0
- package/dist/components/ui-emoji/UIEmoji.d.ts +1 -0
- package/dist/components/ui-emoji/UIEmoji.en.d.ts +1 -0
- package/dist/components/ui-example/UIExample.en.d.ts +4 -2
- package/dist/components/ui-example/UIExample.es.d.ts +3 -2
- package/dist/components/ui-feed/UIFeed.d.ts +1 -0
- package/dist/components/ui-feed/UIFeed.en.d.ts +1 -0
- package/dist/components/ui-feed/UIFeedEvent.d.ts +1 -0
- package/dist/components/ui-feed/UIFeedEvent.en.d.ts +1 -0
- package/dist/components/ui-flag/UIFlag.d.ts +1 -0
- package/dist/components/ui-flag/UIFlag.en.d.ts +1 -0
- package/dist/components/ui-flyout/UIFlyout.d.ts +1 -0
- package/dist/components/ui-flyout/UIFlyout.en.d.ts +1 -0
- package/dist/components/ui-form/FormBinding.d.ts +13 -1
- package/dist/components/ui-form/FormFields.d.ts +4 -4
- package/dist/components/ui-form/UIField.d.ts +30 -3
- package/dist/components/ui-form/UIField.en.d.ts +9 -0
- package/dist/components/ui-form/UIField.es.d.ts +6 -0
- package/dist/components/ui-form/UIFields.d.ts +1 -0
- package/dist/components/ui-form/UIFields.en.d.ts +1 -0
- package/dist/components/ui-form/UIForm.d.ts +15 -0
- package/dist/components/ui-form/UIForm.en.d.ts +6 -0
- package/dist/components/ui-form/UIRepeat.d.ts +1 -0
- package/dist/components/ui-form/UIRepeat.en.d.ts +1 -0
- package/dist/components/ui-form/index.d.ts +2 -1
- package/dist/components/ui-grid/UIColumn.d.ts +1 -0
- package/dist/components/ui-grid/UIColumn.en.d.ts +1 -0
- package/dist/components/ui-grid/UIGrid.d.ts +1 -0
- package/dist/components/ui-grid/UIGrid.en.d.ts +1 -0
- package/dist/components/ui-grid/UIRow.d.ts +1 -0
- package/dist/components/ui-grid/UIRow.en.d.ts +1 -0
- package/dist/components/ui-icon/UIIcon.d.ts +3 -2
- package/dist/components/ui-icon/UIIcon.en.d.ts +3 -2
- package/dist/components/ui-icon/UIIcons.d.ts +1 -0
- package/dist/components/ui-icon/UIIcons.en.d.ts +1 -0
- package/dist/components/ui-icon-picker/UIIconPicker.d.ts +6 -0
- package/dist/components/ui-icon-picker/UIIconPicker.en.d.ts +6 -0
- package/dist/components/ui-icon-picker/UIIconPicker.fallback.d.ts +6 -0
- package/dist/components/ui-image/UIImage.d.ts +34 -0
- package/dist/components/ui-image/UIImage.en.d.ts +23 -0
- package/dist/components/ui-image/UIImage.es.d.ts +2 -0
- package/dist/components/ui-image/UIImages.d.ts +1 -0
- package/dist/components/ui-image/UIImages.en.d.ts +1 -0
- package/dist/components/ui-include/UIInclude.d.ts +1 -0
- package/dist/components/ui-include/UIInclude.en.d.ts +1 -0
- package/dist/components/ui-input/TextControl.d.ts +7 -0
- package/dist/components/ui-input/UIInput.d.ts +22 -3
- package/dist/components/ui-input/UIInput.en.d.ts +9 -2
- package/dist/components/ui-input/UIInput.es.d.ts +2 -0
- package/dist/components/ui-input/UIInput.fallback.d.ts +9 -2
- package/dist/components/ui-input/UITextarea.d.ts +20 -0
- package/dist/components/ui-input/UITextarea.en.d.ts +15 -0
- package/dist/components/ui-input/UITextarea.es.d.ts +4 -0
- package/dist/components/ui-item/UIItem.d.ts +27 -4
- package/dist/components/ui-item/UIItem.en.d.ts +5 -1
- package/dist/components/ui-items/UIItems.d.ts +1 -0
- package/dist/components/ui-items/UIItems.en.d.ts +1 -0
- package/dist/components/ui-json/JsonChild.d.ts +30 -0
- package/dist/components/ui-json/UIJson.d.ts +128 -0
- package/dist/components/ui-json/UIJson.en.d.ts +71 -0
- package/dist/components/ui-json/UIJson.es.d.ts +12 -0
- package/dist/components/ui-json/index.d.ts +3 -0
- package/dist/components/ui-keys/UIKeys.d.ts +1 -0
- package/dist/components/ui-keys/UIKeys.en.d.ts +1 -0
- package/dist/components/ui-label/UILabel.d.ts +2 -0
- package/dist/components/ui-label/UILabel.en.d.ts +2 -0
- package/dist/components/ui-label/UILabel.es.d.ts +1 -0
- package/dist/components/ui-label/UILabels.d.ts +1 -0
- package/dist/components/ui-label/UILabels.en.d.ts +1 -0
- package/dist/components/ui-list/UIList.d.ts +2 -0
- package/dist/components/ui-list/UIList.en.d.ts +2 -0
- package/dist/components/ui-list/UIList.es.d.ts +1 -0
- package/dist/components/ui-loader/UILoader.d.ts +1 -0
- package/dist/components/ui-loader/UILoader.en.d.ts +1 -0
- package/dist/components/ui-markdown/MarkdownBox.d.ts +143 -0
- package/dist/components/ui-markdown/MarkdownEngine.d.ts +14 -2
- package/dist/components/ui-markdown/MarkdownFormats.d.ts +95 -0
- package/dist/components/ui-markdown/MarkdownSource.d.ts +57 -0
- package/dist/components/ui-markdown/UIMarkdown.d.ts +126 -6
- package/dist/components/ui-markdown/UIMarkdown.en.d.ts +111 -8
- package/dist/components/ui-markdown/UIMarkdown.es.d.ts +29 -1
- package/dist/components/ui-markdown/UIMarkdown.types.d.ts +26 -0
- package/dist/components/ui-menu/ScrollingRow.d.ts +79 -0
- package/dist/components/ui-menu/TitleFit.d.ts +3 -0
- package/dist/components/ui-menu/UIMenu.d.ts +97 -4
- package/dist/components/ui-menu/UIMenu.en.d.ts +50 -1
- package/dist/components/ui-menu/UIMenu.es.d.ts +4 -0
- package/dist/components/ui-message/UIMessage.d.ts +2 -0
- package/dist/components/ui-message/UIMessage.en.d.ts +2 -0
- package/dist/components/ui-message/UIMessage.es.d.ts +1 -0
- package/dist/components/ui-modal/UIModal.d.ts +1 -0
- package/dist/components/ui-modal/UIModal.en.d.ts +1 -0
- package/dist/components/ui-nag/UINag.d.ts +1 -0
- package/dist/components/ui-nag/UINag.en.d.ts +1 -0
- package/dist/components/ui-page/UIPage.d.ts +15 -0
- package/dist/components/ui-page/UIPage.en.d.ts +15 -0
- package/dist/components/ui-page/UIPage.es.d.ts +1 -0
- package/dist/components/ui-panel/UIPanel.d.ts +6 -0
- package/dist/components/ui-panel/UIPanel.en.d.ts +33 -20
- package/dist/components/ui-parts/UIActions.d.ts +1 -0
- package/dist/components/ui-parts/UIActions.en.d.ts +1 -0
- package/dist/components/ui-parts/UIAuthor.d.ts +1 -0
- package/dist/components/ui-parts/UIAuthor.en.d.ts +1 -0
- package/dist/components/ui-parts/UIAvatar.d.ts +1 -0
- package/dist/components/ui-parts/UIAvatar.en.d.ts +1 -0
- package/dist/components/ui-parts/UIContent.d.ts +1 -0
- package/dist/components/ui-parts/UIContent.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDate.d.ts +1 -0
- package/dist/components/ui-parts/UIDate.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDescription.d.ts +1 -0
- package/dist/components/ui-parts/UIDescription.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDetail.d.ts +1 -0
- package/dist/components/ui-parts/UIDetail.en.d.ts +1 -0
- package/dist/components/ui-parts/UIExtra.d.ts +1 -0
- package/dist/components/ui-parts/UIExtra.en.d.ts +1 -0
- package/dist/components/ui-parts/UIHeader.d.ts +3 -1
- package/dist/components/ui-parts/UIHeader.en.d.ts +3 -1
- package/dist/components/ui-parts/UIMeta.d.ts +1 -0
- package/dist/components/ui-parts/UIMeta.en.d.ts +1 -0
- package/dist/components/ui-parts/UIParts.types.d.ts +15 -1
- package/dist/components/ui-parts/UISummary.d.ts +1 -0
- package/dist/components/ui-parts/UISummary.en.d.ts +1 -0
- package/dist/components/ui-parts/UITitle.d.ts +1 -0
- package/dist/components/ui-parts/UITitle.en.d.ts +1 -0
- package/dist/components/ui-parts/UIValue.d.ts +1 -0
- package/dist/components/ui-parts/UIValue.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholder.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholder.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderHeader.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderHeader.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderImage.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderImage.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderLine.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderLine.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderParagraph.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderParagraph.en.d.ts +1 -0
- package/dist/components/ui-popup/UIPopup.d.ts +30 -3
- package/dist/components/ui-popup/UIPopup.en.d.ts +7 -0
- package/dist/components/ui-popup/UIPopup.es.d.ts +1 -0
- package/dist/components/ui-progress/UIProgress.d.ts +2 -0
- package/dist/components/ui-progress/UIProgress.en.d.ts +2 -0
- package/dist/components/ui-progress/UIProgress.es.d.ts +1 -0
- package/dist/components/ui-property-editor/UIProperty.d.ts +132 -5
- package/dist/components/ui-property-editor/UIProperty.en.d.ts +11 -44
- package/dist/components/ui-property-editor/UIProperty.es.d.ts +4 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.d.ts +38 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.en.d.ts +1 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.es.d.ts +4 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.types.d.ts +33 -0
- package/dist/components/ui-property-editor/UIPropertyGroup.d.ts +12 -0
- package/dist/components/ui-property-editor/UIPropertyGroup.en.d.ts +2 -0
- package/dist/components/ui-property-editor/UIPropertyGroup.es.d.ts +9 -0
- package/dist/components/ui-property-editor/index.d.ts +1 -0
- package/dist/components/ui-quote/UIQuote.d.ts +1 -0
- package/dist/components/ui-quote/UIQuote.en.d.ts +1 -0
- package/dist/components/ui-rail/UIRail.d.ts +1 -0
- package/dist/components/ui-rail/UIRail.en.d.ts +1 -0
- package/dist/components/ui-rating/UIRating.d.ts +6 -0
- package/dist/components/ui-rating/UIRating.en.d.ts +6 -0
- package/dist/components/ui-rating/UIRating.fallback.d.ts +6 -0
- package/dist/components/ui-reveal/UIReveal.d.ts +1 -0
- package/dist/components/ui-reveal/UIReveal.en.d.ts +1 -0
- package/dist/components/ui-root/UIRoot.d.ts +18 -3
- package/dist/components/ui-root/UIRoot.en.d.ts +15 -0
- package/dist/components/ui-root/UIRoot.es.d.ts +1 -0
- package/dist/components/ui-search/UISearch.d.ts +48 -7
- package/dist/components/ui-search/UISearch.en.d.ts +13 -1
- package/dist/components/ui-search/UISearch.es.d.ts +1 -0
- package/dist/components/ui-search/UISearch.fallback.d.ts +13 -1
- package/dist/components/ui-section/UISection.d.ts +30 -1
- package/dist/components/ui-section/UISection.en.d.ts +10 -0
- package/dist/components/ui-section/UISection.es.d.ts +1 -0
- package/dist/components/ui-section/UISections.d.ts +1 -0
- package/dist/components/ui-section/UISections.en.d.ts +1 -0
- package/dist/components/ui-segment/UISegment.d.ts +2 -0
- package/dist/components/ui-segment/UISegment.en.d.ts +2 -0
- package/dist/components/ui-segment/UISegment.es.d.ts +1 -0
- package/dist/components/ui-segment/UISegments.d.ts +1 -0
- package/dist/components/ui-segment/UISegments.en.d.ts +1 -0
- package/dist/components/ui-select/UISelect.d.ts +6 -0
- package/dist/components/ui-select/UISelect.en.d.ts +6 -0
- package/dist/components/ui-select/UISelect.fallback.d.ts +6 -0
- package/dist/components/ui-shape/UIShape.d.ts +23 -2
- package/dist/components/ui-shape/UIShape.en.d.ts +8 -0
- package/dist/components/ui-shape/UIShape.es.d.ts +1 -0
- package/dist/components/ui-shape/UISide.d.ts +4 -0
- package/dist/components/ui-shape/UISide.en.d.ts +4 -0
- package/dist/components/ui-sidebar/UIPushable.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPushable.en.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPusher.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPusher.en.d.ts +1 -0
- package/dist/components/ui-sidebar/UISidebar.d.ts +1 -0
- package/dist/components/ui-sidebar/UISidebar.en.d.ts +1 -0
- package/dist/components/ui-sides/UISides.d.ts +209 -0
- package/dist/components/ui-sides/UISides.en.d.ts +122 -0
- package/dist/components/ui-sides/UISides.es.d.ts +30 -0
- package/dist/components/ui-sides/UISides.fallback.d.ts +134 -0
- package/dist/components/ui-sides/index.d.ts +2 -0
- package/dist/components/ui-site-nav/SitePages.d.ts +53 -0
- package/dist/components/ui-site-nav/UISiteNav.d.ts +207 -0
- package/dist/components/ui-site-nav/UISiteNav.en.d.ts +87 -0
- package/dist/components/ui-site-nav/UISiteNav.es.d.ts +29 -0
- package/dist/components/ui-site-nav/index.d.ts +1 -0
- package/dist/components/ui-site-tabs/UISiteTabs.d.ts +126 -0
- package/dist/components/ui-site-tabs/UISiteTabs.en.d.ts +49 -0
- package/dist/components/ui-site-tabs/UISiteTabs.es.d.ts +18 -0
- package/dist/components/ui-site-tabs/index.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.d.ts +7 -0
- package/dist/components/ui-slider/UISlider.en.d.ts +7 -0
- package/dist/components/ui-slider/UISlider.es.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.fallback.d.ts +7 -0
- package/dist/components/ui-space/UISpace.d.ts +1 -0
- package/dist/components/ui-space/UISpace.en.d.ts +1 -0
- package/dist/components/ui-split-panel/UISplitPanel.d.ts +175 -0
- package/dist/components/ui-split-panel/UISplitPanel.en.d.ts +74 -0
- package/dist/components/ui-split-panel/UISplitPanel.es.d.ts +25 -0
- package/dist/components/ui-split-panel/index.d.ts +2 -0
- package/dist/components/ui-stack/UIStack.d.ts +31 -5
- package/dist/components/ui-stack/UIStack.en.d.ts +15 -3
- package/dist/components/ui-statistic/UIStatistic.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistic.en.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistics.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistics.en.d.ts +1 -0
- package/dist/components/ui-step/UIStep.d.ts +1 -0
- package/dist/components/ui-step/UIStep.en.d.ts +1 -0
- package/dist/components/ui-step/UISteps.d.ts +1 -0
- package/dist/components/ui-step/UISteps.en.d.ts +1 -0
- package/dist/components/ui-sticky/UISticky.d.ts +4 -0
- package/dist/components/ui-sticky/UISticky.en.d.ts +1 -0
- package/dist/components/ui-tab/UITab.d.ts +8 -0
- package/dist/components/ui-tab/UITab.en.d.ts +1 -0
- package/dist/components/ui-tab/UITabs.d.ts +107 -16
- package/dist/components/ui-tab/UITabs.en.d.ts +40 -1
- package/dist/components/ui-tab/UITabs.es.d.ts +4 -0
- package/dist/components/ui-table/TableEditing.d.ts +77 -0
- package/dist/components/ui-table/UICell.d.ts +1 -0
- package/dist/components/ui-table/UICell.en.d.ts +1 -0
- package/dist/components/ui-table/UITable.d.ts +145 -5
- package/dist/components/ui-table/UITable.en.d.ts +19 -0
- package/dist/components/ui-table/UITable.es.d.ts +3 -0
- package/dist/components/ui-terms/UITerm.d.ts +1 -0
- package/dist/components/ui-terms/UITerm.en.d.ts +1 -0
- package/dist/components/ui-terms/UITerms.d.ts +1 -0
- package/dist/components/ui-terms/UITerms.en.d.ts +1 -0
- package/dist/components/ui-text/UILink.d.ts +11 -0
- package/dist/components/ui-text/UILink.en.d.ts +4 -0
- package/dist/components/ui-text/UIText.d.ts +7 -0
- package/dist/components/ui-text/UIText.en.d.ts +7 -0
- package/dist/components/ui-text/UIText.es.d.ts +2 -0
- package/dist/components/ui-theme-editor/SavedTheme.d.ts +55 -43
- package/dist/components/ui-theme-editor/ThemeDraft.d.ts +15 -0
- package/dist/components/ui-theme-editor/UIColorChip.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIColorChip.en.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeEditor.d.ts +157 -26
- package/dist/components/ui-theme-editor/UIThemeEditor.en.d.ts +79 -6
- package/dist/components/ui-theme-editor/UIThemeEditor.es.d.ts +20 -2
- package/dist/components/ui-theme-editor/UIThemeEditor.types.d.ts +0 -2
- package/dist/components/ui-theme-editor/UIThemeToken.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeToken.en.d.ts +1 -0
- package/dist/components/ui-theme-menu/HueDropdown.d.ts +47 -0
- package/dist/components/ui-theme-menu/ThemeMenu.d.ts +18 -7
- package/dist/components/ui-theme-menu/ThemePreference.d.ts +145 -36
- package/dist/components/ui-theme-menu/UIThemeMenu.d.ts +118 -7
- package/dist/components/ui-theme-menu/UIThemeMenu.en.d.ts +82 -2
- package/dist/components/ui-theme-menu/UIThemeMenu.es.d.ts +21 -1
- package/dist/components/ui-theme-menu/UIThemeMenu.types.d.ts +36 -8
- package/dist/components/ui-theme-menu/index.d.ts +2 -1
- package/dist/components/ui-toast/UIToast.d.ts +1 -0
- package/dist/components/ui-toast/UIToast.en.d.ts +1 -0
- package/dist/components/ui-toc/UIToc.d.ts +1 -0
- package/dist/components/ui-toc/UIToc.en.d.ts +1 -0
- package/dist/components/ui-toolbar/UIToolbar.d.ts +13 -10
- package/dist/components/ui-toolbar/UIToolbar.en.d.ts +138 -84
- package/dist/components/ui-toolbar/UIToolbar.es.d.ts +2 -0
- package/dist/components/ui-transition/UITransition.d.ts +1 -0
- package/dist/components/ui-transition/UITransition.en.d.ts +1 -0
- package/dist/components/ui-tree/UITree.d.ts +162 -0
- package/dist/components/ui-tree/UITree.en.d.ts +88 -0
- package/dist/components/ui-tree/UITree.es.d.ts +35 -0
- package/dist/components/ui-tree/UITreeItem.d.ts +204 -0
- package/dist/components/ui-tree/UITreeItem.en.d.ts +142 -0
- package/dist/components/ui-tree/UITreeItem.es.d.ts +32 -0
- package/dist/components/ui-tree/index.d.ts +3 -0
- package/dist/components/ui-tree-diagram/TreeData.d.ts +3 -12
- package/dist/components/ui-tree-diagram/TreeLayout.d.ts +54 -21
- package/dist/components/ui-tree-diagram/TreeMeasure.d.ts +36 -0
- package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +152 -27
- package/dist/components/ui-tree-diagram/UITreeDiagram.en.d.ts +47 -7
- package/dist/components/ui-tree-diagram/UITreeDiagram.es.d.ts +12 -1
- package/dist/components/ui-tree-diagram/UITreeDiagram.types.d.ts +66 -21
- package/dist/components/ui-tree-diagram/UITreeNode.d.ts +148 -0
- package/dist/components/ui-tree-diagram/UITreeNode.en.d.ts +69 -0
- package/dist/components/ui-tree-diagram/UITreeNode.es.d.ts +21 -0
- package/dist/components/ui-tree-diagram/index.d.ts +4 -2
- package/dist/components/ui-video/UIAudio.d.ts +1 -0
- package/dist/components/ui-video/UIAudio.en.d.ts +1 -0
- package/dist/components/ui-video/UIVideo.d.ts +1 -0
- package/dist/components/ui-video/UIVideo.en.d.ts +1 -0
- package/dist/components/ui-visibility/UIVisibility.d.ts +1 -0
- package/dist/components/ui-visibility/UIVisibility.en.d.ts +1 -0
- package/dist/components/ui-zoom/UIZoom.d.ts +1 -0
- package/dist/components/ui-zoom/UIZoom.en.d.ts +1 -0
- package/dist/{components.es-DmLzT-Bq.js → components.es-BOa_7gFF.js} +498 -109
- package/dist/components.es-BOa_7gFF.js.map +1 -0
- package/dist/core.d.ts +3 -1
- package/dist/core.js +1082 -511
- package/dist/core.js.map +1 -1
- package/dist/crisp-VfYZlTph.js +6 -0
- package/dist/{crisp-CoZRRDuQ.js.map → crisp-VfYZlTph.js.map} +1 -1
- package/dist/docs-components/index.d.ts +1 -0
- package/dist/docs-components/ui-docs-index/UIDocsIndex.d.ts +89 -0
- package/dist/docs-components/ui-docs-index/UIDocsIndex.en.d.ts +43 -0
- package/dist/docs-components/ui-docs-index/index.d.ts +2 -0
- package/dist/docs-components/ui-docs-nav/UIDocsNav.d.ts +54 -87
- package/dist/docs-components/ui-docs-nav/UIDocsNav.types.d.ts +2 -29
- package/dist/docs-components/ui-docs-search/SearchIndex.d.ts +8 -2
- package/dist/docs-components/ui-docs-search/UIDocsSearch.d.ts +10 -0
- package/dist/docs-components/ui-docs-search/UIDocsSearch.en.d.ts +5 -0
- package/dist/elements/AddressParameter.d.ts +87 -0
- package/dist/elements/DOMFormControl.d.ts +5 -0
- package/dist/elements/FormComponent.d.ts +32 -0
- package/dist/elements/LoadableBody.d.ts +6 -1
- package/dist/elements/LoadableComponent.d.ts +10 -1
- package/dist/elements/RootSettings.d.ts +43 -6
- package/dist/elements/SpellUISettings.d.ts +1 -0
- package/dist/elements/StickyWatch.d.ts +20 -0
- package/dist/elements/elements.types.d.ts +15 -0
- package/dist/elements/index.d.ts +2 -0
- package/dist/forms.js +93 -63
- package/dist/forms.js.map +1 -1
- package/dist/fruity-BRVlgJZd.js +6 -0
- package/dist/fruity-BRVlgJZd.js.map +1 -0
- package/dist/{fruity.theme-BJcMiPl1.js → fruity.theme-CbC7Jyvk.js} +2 -2
- package/dist/fruity.theme-CbC7Jyvk.js.map +1 -0
- package/dist/glass-x9tbbwVq.js +6 -0
- package/dist/glass-x9tbbwVq.js.map +1 -0
- package/dist/glass.theme-24wY2wH9.js +6 -0
- package/dist/glass.theme-24wY2wH9.js.map +1 -0
- package/dist/hot.js +536 -26
- package/dist/hot.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.js +91 -81
- package/dist/jsx.d.ts +21149 -10377
- package/dist/matrix-QY2gWbJ0.js +6 -0
- package/dist/{matrix-CqA59hiF.js.map → matrix-QY2gWbJ0.js.map} +1 -1
- package/dist/{matrix.theme-jqQZjcq3.js → matrix.theme-_8xtwhDq.js} +2 -2
- package/dist/matrix.theme-_8xtwhDq.js.map +1 -0
- package/dist/midnight-BxlTQSfw.js +6 -0
- package/dist/{midnight-BnoVOrhC.js.map → midnight-BxlTQSfw.js.map} +1 -1
- package/dist/mockup-83ELBuVr.js +6 -0
- package/dist/mockup-83ELBuVr.js.map +1 -0
- package/dist/mockup.theme-DmpBgGBl.js +6 -0
- package/dist/mockup.theme-DmpBgGBl.js.map +1 -0
- package/dist/paper-M61nUilz.js +6 -0
- package/dist/{paper-CynH8ZuT.js.map → paper-M61nUilz.js.map} +1 -1
- package/dist/persist.types-D2m6wD-S.js +9 -0
- package/dist/persist.types-D2m6wD-S.js.map +1 -0
- package/dist/pop-CxXfytjk.js +6 -0
- package/dist/{pop-D2i9V_rG.js.map → pop-CxXfytjk.js.map} +1 -1
- package/dist/runtime/DataTooltips.d.ts +75 -0
- package/dist/runtime/PropertyControls.d.ts +15 -1
- package/dist/runtime/Sources.d.ts +16 -4
- package/dist/runtime/Styles.d.ts +11 -0
- package/dist/runtime/Themes.d.ts +10 -4
- package/dist/runtime/UIRuntime.d.ts +4 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/runtime.types.d.ts +18 -85
- package/dist/spell-By5Y3jKP.js +6 -0
- package/dist/{spell-BFtLICm7.js.map → spell-By5Y3jKP.js.map} +1 -1
- package/dist/{spell.theme-B7AU7SQX.js → spell.theme-DxGj7qHx.js} +2 -2
- package/dist/spell.theme-DxGj7qHx.js.map +1 -0
- package/dist/styles/CodeThemeFile.d.ts +73 -0
- package/dist/styles/StyleGenerator.d.ts +6 -0
- package/dist/styles/styles.en.d.ts +141 -3
- package/dist/styles/styles.types.d.ts +2 -0
- package/dist/{styles.en-RLpYiO5_.js → styles.en-CUUxNwHo.js} +71 -14
- package/dist/styles.en-CUUxNwHo.js.map +1 -0
- package/dist/styles.js +13 -13
- package/dist/styles.js.map +1 -1
- package/dist/ui-accordion.js +54 -53
- package/dist/ui-accordion.js.map +1 -1
- package/dist/ui-action.js +20 -19
- package/dist/ui-action.js.map +1 -1
- package/dist/ui-ad.js +5 -4
- package/dist/ui-ad.js.map +1 -1
- package/dist/ui-breadcrumbs.js +15 -13
- package/dist/ui-breadcrumbs.js.map +1 -1
- package/dist/ui-button.js +132 -125
- package/dist/ui-button.js.map +1 -1
- package/dist/ui-calendar.js +208 -206
- package/dist/ui-calendar.js.map +1 -1
- package/dist/ui-card.js +260 -98
- package/dist/ui-card.js.map +1 -1
- package/dist/ui-checkbox.js +95 -81
- package/dist/ui-checkbox.js.map +1 -1
- package/dist/ui-code.js +25 -24
- package/dist/ui-code.js.map +1 -1
- package/dist/ui-comment.js +14 -12
- package/dist/ui-comment.js.map +1 -1
- package/dist/ui-components.js +7 -6
- package/dist/ui-components.js.map +1 -1
- package/dist/ui-container.js +24 -12
- package/dist/ui-container.js.map +1 -1
- package/dist/ui-diagram.js +1328 -0
- package/dist/ui-diagram.js.map +1 -0
- package/dist/ui-dimension.js +779 -0
- package/dist/ui-dimension.js.map +1 -0
- package/dist/ui-dimmer.js +36 -34
- package/dist/ui-dimmer.js.map +1 -1
- package/dist/ui-divider.js +7 -5
- package/dist/ui-divider.js.map +1 -1
- package/dist/ui-dropdown.js +107 -105
- package/dist/ui-dropdown.js.map +1 -1
- package/dist/ui-embed.js +36 -35
- package/dist/ui-embed.js.map +1 -1
- package/dist/ui-emoji.js +10 -9
- package/dist/ui-emoji.js.map +1 -1
- package/dist/ui-example.js +63 -61
- package/dist/ui-example.js.map +1 -1
- package/dist/ui-feed.js +12 -10
- package/dist/ui-feed.js.map +1 -1
- package/dist/ui-flag.js +10 -9
- package/dist/ui-flag.js.map +1 -1
- package/dist/ui-flyout.js +7 -6
- package/dist/ui-flyout.js.map +1 -1
- package/dist/ui-form.js +244 -162
- package/dist/ui-form.js.map +1 -1
- package/dist/ui-grid.js +21 -18
- package/dist/ui-grid.js.map +1 -1
- package/dist/ui-icon-picker.js +46 -44
- package/dist/ui-icon-picker.js.map +1 -1
- package/dist/ui-icon.js +17 -14
- package/dist/ui-icon.js.map +1 -1
- package/dist/ui-image.js +93 -55
- package/dist/ui-image.js.map +1 -1
- package/dist/ui-include.js +18 -17
- package/dist/ui-include.js.map +1 -1
- package/dist/ui-input.js +154 -112
- package/dist/ui-input.js.map +1 -1
- package/dist/ui-item.js +152 -102
- package/dist/ui-item.js.map +1 -1
- package/dist/ui-items.js +9 -8
- package/dist/ui-items.js.map +1 -1
- package/dist/ui-json.js +115 -0
- package/dist/ui-json.js.map +1 -0
- package/dist/ui-keys.js +1 -1
- package/dist/ui-label.js +18 -15
- package/dist/ui-label.js.map +1 -1
- package/dist/ui-list.js +7 -5
- package/dist/ui-list.js.map +1 -1
- package/dist/ui-loader.js +7 -6
- package/dist/ui-loader.js.map +1 -1
- package/dist/ui-markdown.js +975 -83
- package/dist/ui-markdown.js.map +1 -1
- package/dist/ui-menu.js +329 -196
- package/dist/ui-menu.js.map +1 -1
- package/dist/ui-message.js +20 -18
- package/dist/ui-message.js.map +1 -1
- package/dist/ui-modal.js +46 -45
- package/dist/ui-modal.js.map +1 -1
- package/dist/ui-nag.js +19 -18
- package/dist/ui-nag.js.map +1 -1
- package/dist/ui-page.js +8 -7
- package/dist/ui-page.js.map +1 -1
- package/dist/ui-panel.js +28 -17
- package/dist/ui-panel.js.map +1 -1
- package/dist/ui-parts.js +66 -52
- package/dist/ui-parts.js.map +1 -1
- package/dist/ui-placeholder.js +21 -16
- package/dist/ui-placeholder.js.map +1 -1
- package/dist/ui-popup.js +113 -84
- package/dist/ui-popup.js.map +1 -1
- package/dist/ui-progress.js +9 -7
- package/dist/ui-progress.js.map +1 -1
- package/dist/ui-property-editor.js +706 -203
- package/dist/ui-property-editor.js.map +1 -1
- package/dist/ui-quote.js +5 -4
- package/dist/ui-quote.js.map +1 -1
- package/dist/ui-rail.js +5 -4
- package/dist/ui-rail.js.map +1 -1
- package/dist/ui-rating.js +31 -29
- package/dist/ui-rating.js.map +1 -1
- package/dist/ui-reveal.js +7 -6
- package/dist/ui-reveal.js.map +1 -1
- package/dist/ui-root.js +324 -158
- package/dist/ui-root.js.map +1 -1
- package/dist/ui-search.js +210 -168
- package/dist/ui-search.js.map +1 -1
- package/dist/ui-section.js +167 -130
- package/dist/ui-section.js.map +1 -1
- package/dist/ui-segment.js +15 -12
- package/dist/ui-segment.js.map +1 -1
- package/dist/ui-select.js +83 -81
- package/dist/ui-select.js.map +1 -1
- package/dist/ui-shape.js +86 -58
- package/dist/ui-shape.js.map +1 -1
- package/dist/ui-sidebar.js +59 -56
- package/dist/ui-sidebar.js.map +1 -1
- package/dist/ui-sides.js +325 -0
- package/dist/ui-sides.js.map +1 -0
- package/dist/ui-site-nav.js +329 -0
- package/dist/ui-site-nav.js.map +1 -0
- package/dist/ui-site-tabs.js +177 -0
- package/dist/ui-site-tabs.js.map +1 -0
- package/dist/ui-slider.js +84 -81
- package/dist/ui-slider.js.map +1 -1
- package/dist/ui-space.js +7 -6
- package/dist/ui-space.js.map +1 -1
- package/dist/ui-split-panel.js +298 -0
- package/dist/ui-split-panel.js.map +1 -0
- package/dist/ui-stack.js +47 -23
- package/dist/ui-stack.js.map +1 -1
- package/dist/ui-statistic.js +15 -13
- package/dist/ui-statistic.js.map +1 -1
- package/dist/ui-step.js +31 -29
- package/dist/ui-step.js.map +1 -1
- package/dist/ui-sticky.js +7 -6
- package/dist/ui-sticky.js.map +1 -1
- package/dist/ui-tab.js +230 -138
- package/dist/ui-tab.js.map +1 -1
- package/dist/ui-table.js +724 -162
- package/dist/ui-table.js.map +1 -1
- package/dist/ui-terms.js +12 -10
- package/dist/ui-terms.js.map +1 -1
- package/dist/ui-text.js +53 -28
- package/dist/ui-text.js.map +1 -1
- package/dist/ui-theme-editor.js +1018 -1545
- package/dist/ui-theme-editor.js.map +1 -1
- package/dist/ui-theme-menu-CuIjr8Ou.js +1493 -0
- package/dist/ui-theme-menu-CuIjr8Ou.js.map +1 -0
- package/dist/ui-toast.js +45 -44
- package/dist/ui-toast.js.map +1 -1
- package/dist/ui-toc.js +75 -74
- package/dist/ui-toc.js.map +1 -1
- package/dist/ui-toolbar.js +51 -73
- package/dist/ui-toolbar.js.map +1 -1
- package/dist/ui-transition.js +12 -11
- package/dist/ui-transition.js.map +1 -1
- package/dist/ui-tree-diagram.js +676 -197
- package/dist/ui-tree-diagram.js.map +1 -1
- package/dist/ui-tree.js +625 -0
- package/dist/ui-tree.js.map +1 -0
- package/dist/ui-video.js +13 -11
- package/dist/ui-video.js.map +1 -1
- package/dist/ui-visibility.js +26 -25
- package/dist/ui-visibility.js.map +1 -1
- package/dist/ui-zoom.js +79 -78
- package/dist/ui-zoom.js.map +1 -1
- package/dist/util/TopLayerTip.d.ts +28 -0
- package/dist/util/index.d.ts +5 -2
- package/dist/vocabulary/DefaultValues.d.ts +34 -0
- package/dist/vocabulary/SharedVocabulary.d.ts +4 -0
- package/dist/vocabulary/SharedVocabulary.es.d.ts +7 -0
- package/dist/vocabulary/ValueSets.d.ts +18 -0
- package/dist/vocabulary/Vocabulary.d.ts +1 -0
- package/dist/vocabulary/defaults.generated.d.ts +6 -0
- package/dist/vocabulary/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/MarkdownEngine-CbuT9Mjc.js.map +0 -1
- package/dist/PrefStore-CeaTtjTz.js.map +0 -1
- package/dist/UIButton-XkfGqgh6.js +0 -6
- package/dist/UIButton-XkfGqgh6.js.map +0 -1
- package/dist/UIInput-BUudZstW.js +0 -6
- package/dist/UIInput-BUudZstW.js.map +0 -1
- package/dist/UIKeys-DJF2TIKE.js.map +0 -1
- package/dist/UILabel-C1jy3Yl8.js +0 -6
- package/dist/UILabel-C1jy3Yl8.js.map +0 -1
- package/dist/UIMenu-Btd-8V3A.js +0 -42
- package/dist/UIMenu-Btd-8V3A.js.map +0 -1
- package/dist/UIRuntime-BBuehGly.js.map +0 -1
- package/dist/components.es-DmLzT-Bq.js.map +0 -1
- package/dist/crisp-CoZRRDuQ.js +0 -6
- package/dist/fruity-CQFYeRlh.js +0 -6
- package/dist/fruity-CQFYeRlh.js.map +0 -1
- package/dist/fruity.theme-BJcMiPl1.js.map +0 -1
- package/dist/glass-CAfW11kL.js +0 -6
- package/dist/glass-CAfW11kL.js.map +0 -1
- package/dist/glass.theme-DQcBbtCW.js +0 -6
- package/dist/glass.theme-DQcBbtCW.js.map +0 -1
- package/dist/matrix-CqA59hiF.js +0 -6
- package/dist/matrix.theme-jqQZjcq3.js.map +0 -1
- package/dist/midnight-BnoVOrhC.js +0 -6
- package/dist/paper-CynH8ZuT.js +0 -6
- package/dist/persist.types-CsZxS8TG.js +0 -9
- package/dist/persist.types-CsZxS8TG.js.map +0 -1
- package/dist/pop-D2i9V_rG.js +0 -6
- package/dist/spell-BFtLICm7.js +0 -6
- package/dist/spell.theme-B7AU7SQX.js.map +0 -1
- package/dist/styles.en-RLpYiO5_.js.map +0 -1
- package/dist/ui-theme-menu-DyKZygpV.js +0 -921
- package/dist/ui-theme-menu-DyKZygpV.js.map +0 -1
package/dist/ui-section.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import "./rolldown-runtime-CYGlBXrH.js";
|
|
2
|
-
import { A as e, Bt as t, Converters as n,
|
|
3
|
-
import { Show as
|
|
4
|
-
import { Dynamic as
|
|
2
|
+
import { A as e, Bt as t, Converters as n, Ct as r, D as i, DOMLoadableBodyElement as a, Disclosure as o, Ht as s, IconGlyph as c, LoadableBody as l, Lt as u, OwnControls as ee, PartContext as d, Pt as te, Rt as f, SOURCE_FAILURE_KEYS as p, SlotContent as ne, SourceStatus as re, StickyWatch as ie, TopLayerTip as ae, UI as oe, UIComponent as se, Ut as m, Vt as h, controlled as ce, cssState as g, ct as le, derived as ue, f as de, ft as fe, lt as pe, onChange as _, proto as v, protoMerged as y, st as me, state as b, ut as he, watches as ge, zt as _e } from "./core.js";
|
|
3
|
+
import { Show as x } from "solid-js";
|
|
4
|
+
import { Dynamic as ve, addEvent as ye, className as S, createComponent as C, delegateEvents as be, effect as w, getOwner as T, insert as E, isServer as xe, memo as D, readShallow as O, ref as k, setAttribute as A, style as j, template as M } from "@solidjs/web";
|
|
5
5
|
//#region src/components/ui-section/UISections.en.ts
|
|
6
|
-
var
|
|
6
|
+
var Se = {
|
|
7
7
|
tag: "ui-sections",
|
|
8
|
+
icon: "list alternate outline",
|
|
8
9
|
topics: ["layout", "containers"],
|
|
9
10
|
aka: [
|
|
10
11
|
"accordion",
|
|
@@ -40,6 +41,8 @@ var xe = {
|
|
|
40
41
|
ownsParts: ["section"]
|
|
41
42
|
}, N = {
|
|
42
43
|
tag: "ui-section",
|
|
44
|
+
icon: "bookmark outline",
|
|
45
|
+
snippet: "<ui-section label=\"A section\">\n <ui-text>What it holds</ui-text>\n</ui-section>",
|
|
43
46
|
topics: ["layout", "containers"],
|
|
44
47
|
aka: [
|
|
45
48
|
"section",
|
|
@@ -103,6 +106,12 @@ var xe = {
|
|
|
103
106
|
kind: "string",
|
|
104
107
|
description: "A tip about the section, shown under the title bar while the pointer is on the title (or the open / close button has keyboard focus); it describes the title. `slot=\"description\"` is the rich version (bold words, line breaks)."
|
|
105
108
|
},
|
|
109
|
+
{
|
|
110
|
+
name: "hide-empty",
|
|
111
|
+
group: "behaviour",
|
|
112
|
+
kind: "string",
|
|
113
|
+
description: "Hidden while nothing's in it to see: no element in its content, and no text but blanks. A loader counts, so a section waiting for its list keeps its title. A selector narrows what counts: `hide-empty=\"ui-card\"` hides it until a card is in it. Follows its content as it changes."
|
|
114
|
+
},
|
|
106
115
|
{
|
|
107
116
|
name: "collapsible",
|
|
108
117
|
group: "behaviour",
|
|
@@ -288,7 +297,7 @@ var xe = {
|
|
|
288
297
|
kind: "keyOnly",
|
|
289
298
|
description: "Dimmed and inert; can't be closed or opened."
|
|
290
299
|
},
|
|
291
|
-
...
|
|
300
|
+
...me
|
|
292
301
|
],
|
|
293
302
|
events: [
|
|
294
303
|
{
|
|
@@ -313,7 +322,7 @@ var xe = {
|
|
|
313
322
|
detail: "{ open: boolean, section: Element }",
|
|
314
323
|
description: "Closed, by any route: the title, or the page setting `open=\"false\"`."
|
|
315
324
|
},
|
|
316
|
-
...
|
|
325
|
+
...le
|
|
317
326
|
],
|
|
318
327
|
slots: [
|
|
319
328
|
{
|
|
@@ -394,13 +403,17 @@ var xe = {
|
|
|
394
403
|
name: "content",
|
|
395
404
|
description: "The content box: `size`, `scrolling` and `height` apply here."
|
|
396
405
|
},
|
|
397
|
-
...
|
|
406
|
+
...pe
|
|
398
407
|
],
|
|
399
408
|
states: [
|
|
400
409
|
{
|
|
401
410
|
name: "collapsed",
|
|
402
411
|
description: "Closed."
|
|
403
412
|
},
|
|
413
|
+
{
|
|
414
|
+
name: "empty",
|
|
415
|
+
description: "With `hide-empty`: nothing in it to see, so it's hidden."
|
|
416
|
+
},
|
|
404
417
|
{
|
|
405
418
|
name: "stuck",
|
|
406
419
|
description: "With `sticky`: the title bar is stuck to the top."
|
|
@@ -461,7 +474,7 @@ var xe = {
|
|
|
461
474
|
name: "disabled",
|
|
462
475
|
description: "Dimmed and inert."
|
|
463
476
|
},
|
|
464
|
-
...
|
|
477
|
+
...he
|
|
465
478
|
],
|
|
466
479
|
texts: [
|
|
467
480
|
{
|
|
@@ -479,72 +492,75 @@ var xe = {
|
|
|
479
492
|
text: "Open this section",
|
|
480
493
|
description: "Tooltip of the open / close button while closed."
|
|
481
494
|
},
|
|
482
|
-
...
|
|
495
|
+
...fe
|
|
483
496
|
],
|
|
484
497
|
ownsParts: ["section"]
|
|
485
|
-
}, P = "@layer ui.components.section.types{:host{display:block}.ui.section{--_ui-section-margin:var(--ui-section-margin,1.5em);--_ui-section-title-padding:var(--ui-section-title-padding,.25em 0);--_ui-section-title-weight:var(--ui-section-title-weight,var(--ui-font-weight-bold));--_ui-section-title-gap:var(--ui-section-title-gap,.5em);--_ui-section-title-color:var(--ui-section-title-color,var(--ui-text-color));--_ui-section-title-background:var(--ui-section-title-background,var(--ui-surface-strong));--_ui-section-title-line-height:var(--ui-section-title-line-height,1.28571);--_ui-section-h1:var(--ui-section-h1,2);--_ui-section-h2:var(--ui-section-h2,1.71428);--_ui-section-h3:var(--ui-section-h3,1.28571);--_ui-section-h4:var(--ui-section-h4,1.07142);--_ui-section-h5:var(--ui-section-h5,1);--_ui-section-h6:var(--ui-section-h6,.85714);--_ui-section-dividing-border:var(--ui-section-dividing-border,var(--ui-border-width) solid var(--ui-border-color));--_ui-section-background:var(--ui-section-background,var(--ui-surface));--_ui-section-border:var(--ui-section-border,var(--ui-border-width) solid var(--ui-border-color));--_ui-section-radius:var(--ui-section-radius,var(--ui-radius));--_ui-section-shadow:var(--ui-section-shadow,var(--ui-shadow-subtle));--_ui-section-raised-shadow:var(--ui-section-raised-shadow,var(--ui-shadow-floating));--_ui-section-colored-width:var(--ui-section-colored-width,2px);--_ui-section-box-padding:var(--ui-section-box-padding,1em);--_ui-section-content-padding:var(--ui-section-content-padding,.5em 0 0);--_ui-section-padded:var(--ui-section-padded,1.5em);--_ui-section-very-padded:var(--ui-section-very-padded,3em);--_ui-section-badge-background:var(--ui-section-badge-background,var(--ui-surface-strong));--_ui-section-badge-color:var(--ui-section-badge-color,var(--ui-text-muted));--_ui-section-badge-font-size:var(--ui-section-badge-font-size,.75em);--_ui-section-subhead-color:var(--ui-section-subhead-color,var(--ui-text-muted));--_ui-section-subhead-font-size:var(--ui-section-subhead-font-size,.92857em);--_ui-section-fold-icon-size:var(--ui-section-fold-icon-size,.75em);--_ui-section-fold-icon-rotate:var(--ui-section-fold-icon-rotate,0deg);--_ui-section-fold-icon-folded-rotate:var(--ui-section-fold-icon-folded-rotate,-90deg);--_ui-section-tip-background:var(--ui-section-tip-background,var(--ui-ink));--_ui-section-tip-color:var(--ui-section-tip-color,var(--ui-surface));--_ui-section-tip-width:var(--ui-section-tip-width,16.25em);--_ui-section-z-index:var(--ui-section-z-index,var(--ui-z-sticky));--_ui-section-sticky-background:var(--ui-section-sticky-background,var(--ui-surface));--_ui-section-stuck-shadow:var(--ui-section-stuck-shadow,var(--ui-shadow-bottom));--_ui-section-duration:var(--ui-section-duration,var(--ui-duration-slow));--_ui-section-loader-size:var(--ui-section-loader-size,3em);--_ui-section-loader-width:var(--ui-section-loader-width,.2em);--_ui-section-loader-speed:var(--ui-section-loader-speed,.6s);--_ui-section-loader-color:var(--ui-section-loader-color,var(--ui-text-muted));--_ui-section-loader-track:var(--ui-section-loader-track,oklch(from var(--ui-ink) l c h / .1));--_ui-section-loader-dimmer:var(--ui-section-loader-dimmer,oklch(from var(--ui-surface) l c h / .8));--_ui-section-disabled-opacity:var(--ui-section-disabled-opacity,var(--ui-disabled-opacity));--_ui-section-scrolling-height:var(--ui-section-scrolling-height,var(--_section-scrolling-default,15em));box-sizing:border-box;margin-block:var(--_section-stack-top,var(--_section-margin-top,var(--_ui-section-margin))) var(--_section-stack-bottom,var(--_section-margin-bottom,var(--_ui-section-margin)));padding:var(--_section-padding,0);border:var(--_section-border,none);border-top-color:var(--_section-accent,var(--ui-color,var(--_section-border-color,transparent)));border-radius:var(--_section-radius,0);background:var(--_section-background,none);box-shadow:inset 0 calc(var(--_section-accent-width,0px)) 0 0 var(--_section-accent-line,var(--ui-color,transparent)), var(--_section-shadow,0 0 #0000);color:var(--ui-text-color);font-size:var(--ui-font-size);line-height:var(--ui-line-height);margin-inline:0;display:block}.ui.section:first-child{--_section-margin-top:0}.ui.section:last-child{--_section-margin-bottom:0}:host(:not(:first-child))>.ui.section{--_section-margin-top:initial}:host(:not(:last-child))>.ui.section{--_section-margin-bottom:initial}.ui.section slot{--ui-color:initial;--ui-color-text:initial;--ui-color-header:initial;--ui-color-border:initial;--ui-color-background:initial;--ui-color-inverted:initial;--ui-color-hover:initial;--ui-color-focus:initial;--ui-color-down:initial;--ui-color-active:initial;--ui-color-on:initial;--ui-color-inverted-on:initial;--ui-scale:initial}.ui.section>.sentinel{visibility:hidden;pointer-events:none;height:1px;margin-block-end:-1px;display:block}.ui.sections{--_ui-section-margin:var(--ui-section-margin,1.5em);--_ui-sections-stack:initial;box-sizing:border-box;margin-block:var(--_sections-margin-top,var(--_ui-section-margin)) var(--_sections-margin-bottom,var(--_ui-section-margin));margin-inline:0;padding:0;display:block}.ui.sections:first-child{--_sections-margin-top:0}.ui.sections:last-child{--_sections-margin-bottom:0}:host(:not(:first-child))>.ui.sections{--_sections-margin-top:initial}:host(:not(:last-child))>.ui.sections{--_sections-margin-bottom:initial}}@layer ui.components.section.content{.ui.section>.title{align-items:center;gap:var(--_ui-section-title-gap);padding:var(--_section-title-padding,var(--_ui-section-title-padding));border-bottom:var(--_section-title-border,none);border-bottom-color:var(--_section-title-border-color,var(--ui-color,var(--ui-border-color)));border-radius:var(--_section-title-radius,0);background:var(--_section-title-background,none);color:var(--ui-color-header,var(--_ui-section-title-color));margin:0;display:flex}.ui.section>.title>.heading{min-width:0;font-family:var(--ui-font-family-heading);font-size:calc(var(--ui-font-size) * var(--_section-level,var(--_ui-section-h2)));font-weight:var(--_ui-section-title-weight);line-height:var(--_ui-section-title-line-height);color:inherit;flex:auto;margin:0;padding:0}.ui.section>.title>h1.heading{--_section-level:var(--_ui-section-h1)}.ui.section>.title>h3.heading{--_section-level:var(--_ui-section-h3)}.ui.section>.title>h4.heading{--_section-level:var(--_ui-section-h4)}.ui.section>.title>h5.heading{--_section-level:var(--_ui-section-h5)}.ui.section>.title>h6.heading{--_section-level:var(--_ui-section-h6)}.ui.section>.title>.heading>.toggle{box-sizing:border-box;align-items:center;justify-content:var(--_section-title-justify,flex-start);gap:var(--_ui-section-title-gap);border-radius:var(--ui-radius-s);width:100%;color:inherit;font:inherit;letter-spacing:inherit;text-align:var(--_section-title-align,start);background:0 0;border:none;margin:0;padding:0;display:flex}.ui.section>.title>.heading>button.toggle{cursor:pointer;-webkit-tap-highlight-color:transparent}.ui.section>.title>.heading>button.toggle:focus-visible{outline:none}.ui.section>.title:has(>.heading>button.toggle:focus-visible){outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:calc(var(--ui-focus-width) * -1);border-radius:3px}.ui.section>.title>.heading>.toggle>.header{min-width:0}.ui.section>.title>.heading>.toggle>.icon{flex:none;align-items:center;display:inline-flex}.ui.section>.title>.heading>.toggle>.icon svg{fill:currentColor;width:auto;height:1em;display:block}.ui.section>.title>.heading>.toggle>.fold.icon{width:var(--_ui-section-fold-icon-size);height:var(--_ui-section-fold-icon-size);rotate:var(--_ui-section-fold-icon-rotate);transition:rotate var(--_ui-section-duration) var(--ui-ease)}.ui.section>.title>.heading>.toggle>.fold.icon:dir(rtl){rotate:calc(-1 * var(--_ui-section-fold-icon-rotate))}.ui.section>.title>.heading>.toggle>.fold.icon svg{width:100%;height:100%}.ui.section>.title>.heading>.toggle[aria-expanded=false]>.fold.icon{rotate:var(--_ui-section-fold-icon-folded-rotate)}.ui.section>.title>.heading>.toggle[aria-expanded=false]>.fold.icon:dir(rtl){rotate:calc(-1 * var(--_ui-section-fold-icon-folded-rotate))}.ui.section>.title>.fold.icon{width:var(--_ui-section-fold-icon-size);height:var(--_ui-section-fold-icon-size);cursor:pointer;rotate:var(--_ui-section-fold-icon-rotate);transition:rotate var(--_ui-section-duration) var(--ui-ease);flex:none;align-items:center;display:inline-flex}.ui.section>.title>.fold.icon:dir(rtl){rotate:calc(-1 * var(--_ui-section-fold-icon-rotate))}.ui.section>.title>.fold.icon svg{fill:currentColor;width:100%;height:100%;display:block}.ui.section>.title:has(>.heading>.toggle[aria-expanded=false])>.fold.icon{rotate:var(--_ui-section-fold-icon-folded-rotate)}.ui.section>.title:has(>.heading>.toggle[aria-expanded=false])>.fold.icon:dir(rtl){rotate:calc(-1 * var(--_ui-section-fold-icon-folded-rotate))}.ui.section>.title:has(>.tip){position:relative}.ui.section>.title>.tip{z-index:var(--ui-z-popup);box-sizing:border-box;width:max-content;max-width:min(var(--_ui-section-tip-width), 100vw);border-radius:var(--ui-radius);background:var(--_ui-section-tip-background);box-shadow:var(--ui-shadow-floating);color:var(--_ui-section-tip-color);font-family:var(--ui-font-family);font-size:.875em;font-weight:var(--ui-font-weight-normal);letter-spacing:normal;text-align:start;text-transform:none;white-space:normal;opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--ui-duration-fast) var(--ui-ease), visibility var(--ui-duration-fast);padding:.75em 1em;line-height:1.4;position:absolute;inset-block-start:calc(100% + .5em);inset-inline-start:0}.ui.section>.title>:is(.heading:hover,.heading:has(:focus-visible),.fold.icon:hover)~.tip{opacity:1;visibility:visible}.ui.section>.title>.badge{border-radius:var(--ui-radius-pill);background:var(--_ui-section-badge-background);color:var(--_ui-section-badge-color);font-size:var(--_ui-section-badge-font-size);font-weight:var(--ui-font-weight-bold);white-space:nowrap;flex:none;align-items:center;padding:.25em .625em;line-height:1;display:inline-flex}.ui.section>.title>.actions{color:var(--ui-text-color);flex:none;align-items:center;gap:.25em;margin-inline-start:auto;display:flex}.ui.section>.subhead{padding:var(--_section-subhead-padding,.25em 0 0);color:var(--_ui-section-subhead-color);font-size:var(--_ui-section-subhead-font-size);margin:0}.ui.section>.content{box-sizing:border-box;padding:var(--_section-content-padding,var(--_ui-section-content-padding));font-size:calc(1em * var(--ui-scale,1))}.ui.section>.content[hidden]{border-block-width:0;block-size:0;padding-block:0;overflow-y:clip}.ui.section>.content>:first-child,.ui.section>.content>::slotted(:first-child){margin-top:0}.ui.section>.content>:last-child,.ui.section>.content>::slotted(:last-child){margin-bottom:0}}@layer ui.components.section.variations{.ui.dividing.section{--_section-title-border:var(--_ui-section-dividing-border)}.ui.block.section{--_section-title-background:var(--_ui-section-title-background);--_section-title-padding:.5em 1em;--_section-title-radius:var(--_ui-section-radius)}.ui.bordered.section{--_section-border:var(--_ui-section-border);--_section-radius:var(--_ui-section-radius);--_section-background:var(--_ui-section-background);--_section-shadow:var(--_ui-section-shadow);--_section-padding:var(--_ui-section-box-padding);--_section-accent-width:calc(var(--_ui-section-colored-width) - var(--ui-border-width));--_section-border-color:var(--ui-border-color)}.ui.styled.section{--_section-border:var(--_ui-section-border);--_section-radius:var(--_ui-section-radius);--_section-background:var(--_ui-section-background);--_section-shadow:var(--_ui-section-shadow);--_section-accent-width:calc(var(--_ui-section-colored-width) - var(--ui-border-width));--_section-border-color:var(--ui-border-color);--_section-title-background:var(--_ui-section-title-background);--_section-title-padding:.75em 1em;--_section-title-border:var(--ui-border-width) solid;--_section-title-border-color:var(--ui-border-color);--_section-title-radius:var(--_ui-section-radius) var(--_ui-section-radius) 0 0;--_section-subhead-padding:.5em 1em 0;--_section-content-padding:.5em 1em 1em}.ui.collapsing.sections{--_ui-sections-stack:0px}.ui.raised:is(.bordered,.styled).section{--_section-shadow:var(--_ui-section-raised-shadow)}.ui.compact.section{--_section-title-padding:.125em 0;--_section-content-padding:.25em 0 0}.ui.compact.block.section{--_section-title-padding:.25em .625em}.ui.compact.bordered.section{--_section-padding:.5em}.ui.compact.styled.section{--_section-title-padding:.375em .625em;--_section-subhead-padding:.25em .625em 0;--_section-content-padding:.25em .625em .5em}.ui.padded.section{--_section-content-padding:var(--_ui-section-padded)}.ui[class*=very\\ padded].section{--_section-content-padding:var(--_ui-section-very-padded)}.ui.attached.section{--_section-margin-top:0;--_section-margin-bottom:0;--_section-radius:0}.ui.attached.section:not(.top){border-top-width:0}.ui[class*=top\\ attached].section{--_section-margin-top:var(--_ui-section-margin);--_section-radius:var(--_ui-section-radius) var(--_ui-section-radius) 0 0}.ui[class*=top\\ attached].section:first-child,:host(:first-child)>.ui[class*=top\\ attached].section{--_section-margin-top:0}.ui[class*=bottom\\ attached].section{--_section-margin-bottom:var(--_ui-section-margin);--_section-radius:0 0 var(--_ui-section-radius) var(--_ui-section-radius)}.ui[class*=bottom\\ attached].section:last-child,:host(:last-child)>.ui[class*=bottom\\ attached].section{--_section-margin-bottom:0}.ui.section:has(>.title>.heading>button.toggle){--_section-stack-top:var(--_ui-sections-stack)}.ui.section:has(>.content[hidden]){--_section-stack-bottom:var(--_ui-sections-stack)}.ui:is(.bordered,.styled):not(.basic,.attached).section:not(:first-child):has(>.title>.heading>button.toggle),:host(:not(:first-child))>.ui:is(.bordered,.styled):not(.basic,.attached).section:has(>.title>.heading>button.toggle){--_section-stack-top:calc(var(--_ui-sections-stack) - var(--ui-border-width))}.ui.scrolling.section>.content{--_section-scroll:var(--_ui-section-height,calc(var(--_ui-section-scrolling-height) * var(--_section-scroll-ratio,1)));max-height:var(--_section-scroll);overscroll-behavior:contain;overflow:auto}.ui.scrolling.section>.content:focus-visible{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:calc(var(--ui-focus-width) * -1)}.ui.short.scrolling.section{--_section-scroll-ratio:.75}.ui[class*=\"very short scrolling\"].section{--_section-scroll-ratio:.5}.ui.long.scrolling.section{--_section-scroll-ratio:2}.ui[class*=\"very long scrolling\"].section{--_section-scroll-ratio:3}@media (768px<=width<992px),(width>=992px){.ui.scrolling.section{--_section-scrolling-default:18em}}@media (width>=992px){.ui.scrolling.section{--_section-scrolling-default:24em}}@media (width>=1920px){.ui.scrolling.section{--_section-scrolling-default:30em}}.ui.left.aligned.section{--_section-title-justify:flex-start;--_section-title-align:start}.ui.center.aligned.section{--_section-title-justify:center;--_section-title-align:center}.ui.right.aligned.section{--_section-title-justify:flex-end;--_section-title-align:end}.ui.inverted.section{--ui-inverted:1;--ui-scheme:dark;color-scheme:dark}.ui.sticky.section>.title{top:var(--_ui-section-top,0px);z-index:max(1, calc(var(--_ui-section-z-index) - var(--_ui-section-depth,0)));background:var(--_section-title-background,var(--_ui-section-sticky-background));position:sticky}.ui.sticky.section>.content{isolation:isolate}.ui.stack.sticky.section>.title,:host(:state(stacked)) .ui.sticky.section>.title{--_stack-reach-start:max(0px, calc(var(--ui-section-stack-reach-start,var(--ui-section-stack-reach,24px)) - var(--ui-section-stack-step,12px) * var(--_ui-section-depth,0)));--_stack-reach-end:max(0px, calc(var(--ui-section-stack-reach-end,var(--ui-section-stack-reach,24px)) - var(--ui-section-stack-step,12px) * var(--_ui-section-depth,0)));margin-inline:calc(-1 * var(--_stack-reach-start)) calc(-1 * var(--_stack-reach-end));padding-block:.4em;padding-inline:var(--_stack-reach-start) var(--_stack-reach-end);border-radius:var(--ui-section-stack-radius,var(--ui-radius-m));box-shadow:0 1px light-dark(#281e5a14,#00000073)}.ui.drawer.section>.title{z-index:1;border-radius:var(--_ui-section-drawer-radius);background:var(--ui-section-drawer-title-background,var(--ui-surface));box-shadow:0 1px 0 var(--ui-border-color), 0 6px 12px -8px oklch(0% 0 0/.25);padding:.5em .75em;position:relative}.ui.drawer.section:not(:has(>.content[hidden]))>.title{border-end-end-radius:0;border-end-start-radius:0}.ui.drawer.section>.content{margin-inline:var(--ui-section-drawer-inset,.5em);border-radius:0 0 var(--_ui-section-drawer-radius) var(--_ui-section-drawer-radius);background:var(--ui-section-drawer-background,color-mix(in oklab, var(--ui-text-color) 3%, transparent));padding:.75em 1em .5em}.ui.drawer.section{--_ui-section-drawer-radius:var(--ui-section-drawer-radius,var(--ui-radius-l))}.ui.basic.section{--_section-border:none;--_section-radius:0;--_section-background:none;--_section-shadow:0 0 #0000;--_section-padding:0;--_section-accent-width:0px;--_section-title-border:none;--_section-title-background:none;--_section-title-radius:0;--_section-title-padding:var(--_ui-section-title-padding);--_section-subhead-padding:.25em 0 0;--_section-content-padding:var(--_ui-section-content-padding)}.ui.basic.sticky.section>.title{background:var(--_ui-section-sticky-background)}}@layer ui.components.section.states{:host(:state(stuck)) .ui.sticky.section>.title{box-shadow:var(--_ui-section-stuck-shadow)}:host(:state(stacked):state(stuck)) .ui.sticky.section>.title{box-shadow:0 1px light-dark(#281e5a14,#00000073)}:host(:state(stacked):state(nested):state(stuck)) .ui.sticky.section>.title{border-radius:0 0 var(--ui-section-stack-stuck-radius,var(--ui-radius-l)) var(--ui-section-stack-stuck-radius,var(--ui-radius-l))}:host(:state(tucked)) .ui.section{margin-block-start:0}:host(:state(tucked)) .ui.section>.title,:host(:state(joins-above)) .ui.section>.title{border-start-start-radius:0;border-start-end-radius:0}:host(:state(joins-below)) .ui.section>.title{border-end-end-radius:0;border-end-start-radius:0}:host(:state(tucks)) .ui.section>.content{padding-block-start:0}:host(:state(stacked):state(collapsed)) .ui.section{margin-block:0}:host(:state(after-closed)) .ui.section{margin-block-start:0}.ui.disabled.section{opacity:var(--_ui-section-disabled-opacity);color:var(--ui-text-disabled);pointer-events:none;-webkit-user-select:none;user-select:none}.ui.disabled.section>.title>.heading>button.toggle{cursor:default}.ui.loading.section>.content{min-height:calc(var(--_ui-section-loader-size) * 1.5);cursor:default;pointer-events:none;-webkit-user-select:none;user-select:none;position:relative}.ui.loading.section>.content:before{content:\"\";z-index:100;border-radius:inherit;background:var(--_ui-section-loader-dimmer);display:block;position:absolute;inset:0}.ui.loading.section>.content:after{content:\"\";z-index:101;width:var(--_ui-section-loader-size);height:var(--_ui-section-loader-size);margin:calc(var(--_ui-section-loader-size) / -2) 0 0 calc(var(--_ui-section-loader-size) / -2);box-sizing:border-box;border:var(--_ui-section-loader-width) solid var(--_ui-section-loader-track);border-top-color:var(--_ui-section-loader-color);border-radius:var(--ui-radius-circle);animation:ui-section-spin var(--_ui-section-loader-speed) linear infinite;display:block;position:absolute;top:50%;left:50%}.ui.loading.section>.content[hidden]{min-height:0}.ui.section>.content>.source.error{color:var(--ui-negative-text);margin:0 0 1em}@media (prefers-reduced-motion:no-preference){:host(:state(animated)) .ui.section{interpolate-size:allow-keywords}:host(:state(animated)) .ui.section>.content{transition:block-size var(--_ui-section-duration) var(--ui-ease-out), padding-block var(--_ui-section-duration) var(--ui-ease-out), content-visibility var(--_ui-section-duration) allow-discrete}:host(:state(animated)) .ui.section:not(.scrolling)>.content{overflow-y:clip}}@media (prefers-reduced-motion:reduce){.ui.section>.title>.heading>.toggle>.fold.icon,.ui.section>.title>.fold.icon,.ui.section>.title>.tip{transition:none}}}@keyframes ui-section-spin{to{rotate:1turn}}", Se = /* @__PURE__ */ M("<div><slot>"), F, I, L, R, z = class _UISections extends (L = ae, I = [v], F = [y], L) {
|
|
498
|
+
}, P = "@layer ui.components.section.types{:host{display:block}.ui.section{--_ui-section-margin:var(--ui-section-margin,1.5em);--_ui-section-title-padding:var(--ui-section-title-padding,.25em 0);--_ui-section-title-weight:var(--ui-section-title-weight,var(--ui-font-weight-bold));--_ui-section-title-gap:var(--ui-section-title-gap,.5em);--_ui-section-title-color:var(--ui-section-title-color,var(--ui-text-color));--_ui-section-title-background:var(--ui-section-title-background,var(--ui-surface-strong));--_ui-section-title-line-height:var(--ui-section-title-line-height,1.28571);--_ui-section-h1:var(--ui-section-h1,2);--_ui-section-h2:var(--ui-section-h2,1.71428);--_ui-section-h3:var(--ui-section-h3,1.28571);--_ui-section-h4:var(--ui-section-h4,1.07142);--_ui-section-h5:var(--ui-section-h5,1);--_ui-section-h6:var(--ui-section-h6,.85714);--_ui-section-dividing-border:var(--ui-section-dividing-border,var(--ui-border-width) solid var(--ui-border-color));--_ui-section-background:var(--ui-section-background,var(--ui-surface));--_ui-section-border:var(--ui-section-border,var(--ui-border-width) solid var(--ui-border-color));--_ui-section-radius:var(--ui-section-radius,var(--ui-radius));--_ui-section-shadow:var(--ui-section-shadow,var(--ui-shadow-subtle));--_ui-section-raised-shadow:var(--ui-section-raised-shadow,var(--ui-shadow-floating));--_ui-section-colored-width:var(--ui-section-colored-width,2px);--_ui-section-box-padding:var(--ui-section-box-padding,1em);--_ui-section-content-padding:var(--ui-section-content-padding,.5em 0 0);--_ui-section-padded:var(--ui-section-padded,1.5em);--_ui-section-very-padded:var(--ui-section-very-padded,3em);--_ui-section-badge-background:var(--ui-section-badge-background,var(--ui-surface-strong));--_ui-section-badge-color:var(--ui-section-badge-color,var(--ui-text-muted));--_ui-section-badge-font-size:var(--ui-section-badge-font-size,.75em);--_ui-section-subhead-color:var(--ui-section-subhead-color,var(--ui-text-muted));--_ui-section-subhead-font-size:var(--ui-section-subhead-font-size,.92857em);--_ui-section-fold-icon-size:var(--ui-section-fold-icon-size,.75em);--_ui-section-fold-icon-rotate:var(--ui-section-fold-icon-rotate,0deg);--_ui-section-fold-icon-folded-rotate:var(--ui-section-fold-icon-folded-rotate,-90deg);--_ui-section-tip-background:var(--ui-section-tip-background,var(--ui-ink));--_ui-section-tip-color:var(--ui-section-tip-color,var(--ui-text-inverted-color));--_ui-section-tip-width:var(--ui-section-tip-width,16.25em);--_ui-section-z-index:var(--ui-section-z-index,var(--ui-z-sticky));--_ui-section-sticky-background:var(--ui-section-sticky-background,var(--ui-surface));--_ui-section-stuck-shadow:var(--ui-section-stuck-shadow,var(--ui-shadow-bottom));--_ui-section-duration:var(--ui-section-duration,var(--ui-duration-slow));--_ui-section-loader-size:var(--ui-section-loader-size,3em);--_ui-section-loader-width:var(--ui-section-loader-width,.2em);--_ui-section-loader-speed:var(--ui-section-loader-speed,.6s);--_ui-section-loader-color:var(--ui-section-loader-color,var(--ui-text-muted));--_ui-section-loader-track:var(--ui-section-loader-track,oklch(from var(--ui-ink) l c h / .1));--_ui-section-loader-dimmer:var(--ui-section-loader-dimmer,oklch(from var(--ui-surface) l c h / .8));--_ui-section-disabled-opacity:var(--ui-section-disabled-opacity,var(--ui-disabled-opacity));--_ui-section-scrolling-height:var(--ui-section-scrolling-height,var(--_section-scrolling-default,15em));box-sizing:border-box;margin-block:var(--_section-stack-top,var(--_section-margin-top,var(--_ui-section-margin))) var(--_section-stack-bottom,var(--_section-margin-bottom,var(--_ui-section-margin)));padding:var(--_section-padding,0);border:var(--_section-border,none);border-top-color:var(--_section-accent,var(--ui-color,var(--_section-border-color,transparent)));border-radius:var(--_section-radius,0);background:var(--_section-background,none);box-shadow:inset 0 calc(var(--_section-accent-width,0px)) 0 0 var(--_section-accent-line,var(--ui-color,transparent)), var(--_section-shadow,0 0 #0000);color:var(--ui-text-color);font-size:var(--ui-font-size);line-height:var(--ui-line-height);margin-inline:0;display:block}.ui.section:first-child{--_section-margin-top:0}.ui.section:last-child{--_section-margin-bottom:0}:host(:not(:first-child))>.ui.section{--_section-margin-top:initial}:host(:not(:last-child))>.ui.section{--_section-margin-bottom:initial}.ui.section slot{--ui-color:initial;--ui-color-text:initial;--ui-color-header:initial;--ui-color-border:initial;--ui-color-background:initial;--ui-color-inverted:initial;--ui-color-hover:initial;--ui-color-focus:initial;--ui-color-down:initial;--ui-color-active:initial;--ui-color-on:initial;--ui-color-inverted-on:initial;--ui-scale:initial}.ui.section>.sentinel{visibility:hidden;pointer-events:none;height:1px;margin-block-end:-1px;display:block}.ui.sections{--_ui-section-margin:var(--ui-section-margin,1.5em);--_ui-sections-stack:initial;box-sizing:border-box;margin-block:var(--_sections-margin-top,var(--_ui-section-margin)) var(--_sections-margin-bottom,var(--_ui-section-margin));margin-inline:0;padding:0;display:block}.ui.sections:first-child{--_sections-margin-top:0}.ui.sections:last-child{--_sections-margin-bottom:0}:host(:not(:first-child))>.ui.sections{--_sections-margin-top:initial}:host(:not(:last-child))>.ui.sections{--_sections-margin-bottom:initial}}@layer ui.components.section.content{.ui.section>.title{align-items:center;gap:var(--_ui-section-title-gap);padding:var(--_section-title-padding,var(--_ui-section-title-padding));border-bottom:var(--_section-title-border,none);border-bottom-color:var(--_section-title-border-color,var(--ui-color,var(--ui-border-color)));border-radius:var(--_section-title-radius,0);background:var(--_section-title-background,none);color:var(--ui-color-header,var(--_ui-section-title-color));margin:0;display:flex}.ui.section>.title>.heading{min-width:0;font-family:var(--ui-font-family-heading);font-size:calc(var(--ui-font-size) * var(--_section-level,var(--_ui-section-h2)));font-weight:var(--_ui-section-title-weight);line-height:var(--_ui-section-title-line-height);color:inherit;flex:auto;margin:0;padding:0}.ui.section>.title>h1.heading{--_section-level:var(--_ui-section-h1)}.ui.section>.title>h3.heading{--_section-level:var(--_ui-section-h3)}.ui.section>.title>h4.heading{--_section-level:var(--_ui-section-h4)}.ui.section>.title>h5.heading{--_section-level:var(--_ui-section-h5)}.ui.section>.title>h6.heading{--_section-level:var(--_ui-section-h6)}.ui.section>.title>.heading>.toggle{box-sizing:border-box;align-items:center;justify-content:var(--_section-title-justify,flex-start);gap:var(--_ui-section-title-gap);border-radius:var(--ui-radius-s);width:100%;color:inherit;font:inherit;letter-spacing:inherit;text-align:var(--_section-title-align,start);background:0 0;border:none;margin:0;padding:0;display:flex}.ui.section>.title>.heading>button.toggle{cursor:var(--ui-control-cursor);-webkit-tap-highlight-color:transparent}.ui.section>.title>.heading>button.toggle:focus-visible{outline:none}.ui.section>.title:has(>.heading>button.toggle:focus-visible){outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:calc(var(--ui-focus-width) * -1);border-radius:3px}.ui.section>.title>.heading>.toggle>.header{min-width:0}.ui.section>.title>.heading>.toggle>.icon{flex:none;align-items:center;display:inline-flex}.ui.section>.title>.heading>.toggle>.icon svg{fill:currentColor;width:auto;height:1em;display:block}.ui.section>.title>.heading>.toggle>.fold.icon{width:var(--_ui-section-fold-icon-size);height:var(--_ui-section-fold-icon-size);rotate:var(--_ui-section-fold-icon-rotate);transition:rotate var(--_ui-section-duration) var(--ui-ease)}.ui.section>.title>.heading>.toggle>.fold.icon:dir(rtl){rotate:calc(-1 * var(--_ui-section-fold-icon-rotate))}.ui.section>.title>.heading>.toggle>.fold.icon svg{width:100%;height:100%}.ui.section>.title>.heading>.toggle[aria-expanded=false]>.fold.icon{rotate:var(--_ui-section-fold-icon-folded-rotate)}.ui.section>.title>.heading>.toggle[aria-expanded=false]>.fold.icon:dir(rtl){rotate:calc(-1 * var(--_ui-section-fold-icon-folded-rotate))}.ui.section>.title>.fold.icon{width:var(--_ui-section-fold-icon-size);height:var(--_ui-section-fold-icon-size);cursor:var(--ui-control-cursor);rotate:var(--_ui-section-fold-icon-rotate);transition:rotate var(--_ui-section-duration) var(--ui-ease);flex:none;align-items:center;display:inline-flex}.ui.section>.title>.fold.icon:dir(rtl){rotate:calc(-1 * var(--_ui-section-fold-icon-rotate))}.ui.section>.title>.fold.icon svg{fill:currentColor;width:100%;height:100%;display:block}.ui.section>.title:has(>.heading>.toggle[aria-expanded=false])>.fold.icon{rotate:var(--_ui-section-fold-icon-folded-rotate)}.ui.section>.title:has(>.heading>.toggle[aria-expanded=false])>.fold.icon:dir(rtl){rotate:calc(-1 * var(--_ui-section-fold-icon-folded-rotate))}.ui.section>.title:has(>.tip){position:relative}.ui.section>.title>.tip{z-index:var(--ui-z-popup);box-sizing:border-box;width:max-content;max-width:min(var(--_ui-section-tip-width), 100vw);border-radius:var(--ui-radius);background:var(--_ui-section-tip-background);box-shadow:var(--ui-shadow-floating);color:var(--_ui-section-tip-color);font-family:var(--ui-font-family);font-size:.875em;font-weight:var(--ui-font-weight-normal);letter-spacing:normal;text-align:start;text-transform:none;white-space:normal;opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--ui-duration-fast) var(--ui-ease), visibility var(--ui-duration-fast);padding:.75em 1em;line-height:1.4;position:absolute;inset-block-start:calc(100% + .5em);inset-inline-start:0}.ui.section>.title>:is(.heading:hover,.heading:has(:focus-visible),.fold.icon:hover)~.tip{opacity:1;visibility:visible}.ui.section>.title>:is(.heading:hover,.fold.icon:hover)~.tip{transition-delay:var(--ui-hover-delay,0s)}.ui.section>.title>.heading:has(:focus-visible)~.tip{transition-delay:0s}.ui.section>.title:has(>.tip){anchor-name:--ui-section-title}.ui.section>.title>.tip:popover-open{position-anchor:--ui-section-title;position-area:block-end span-inline-end;position-try-fallbacks:flip-block, flip-inline, flip-block flip-inline;max-width:min(var(--_ui-section-tip-width), calc(100vw - 1em));border:0;height:fit-content;margin:.5em 0;position:fixed;inset:auto;overflow:visible}.ui.section>.title>:is(.heading:hover,.heading:has(:focus-visible),.fold.icon:hover)~.tip:popover-open{@starting-style{opacity:0;visibility:hidden}}.ui.section>.title>.badge{border-radius:var(--ui-radius-pill);background:var(--_ui-section-badge-background);color:var(--_ui-section-badge-color);font-size:var(--_ui-section-badge-font-size);font-weight:var(--ui-font-weight-bold);white-space:nowrap;flex:none;align-items:center;padding:.25em .625em;line-height:1;display:inline-flex}.ui.section>.title>.actions{color:var(--ui-text-color);flex:none;align-items:center;gap:.25em;margin-inline-start:auto;display:flex}.ui.section>.subhead{padding:var(--_section-subhead-padding,.25em 0 0);color:var(--_ui-section-subhead-color);font-size:var(--_ui-section-subhead-font-size);margin:0}.ui.section>.content{box-sizing:border-box;padding:var(--_section-content-padding,var(--_ui-section-content-padding));font-size:calc(1em * var(--ui-scale,1))}.ui.section>.content[hidden]{border-block-width:0;block-size:0;padding-block:0;overflow-y:clip}.ui.section>.content>:first-child,.ui.section>.content>::slotted(:first-child){margin-top:0}.ui.section>.content>:last-child,.ui.section>.content>::slotted(:last-child){margin-bottom:0}}@layer ui.components.section.variations{.ui.dividing.section{--_section-title-border:var(--_ui-section-dividing-border)}.ui.block.section{--_section-title-background:var(--_ui-section-title-background);--_section-title-padding:.5em 1em;--_section-title-radius:var(--_ui-section-radius)}.ui.bordered.section{--_section-border:var(--_ui-section-border);--_section-radius:var(--_ui-section-radius);--_section-background:var(--_ui-section-background);--_section-shadow:var(--_ui-section-shadow);--_section-padding:var(--_ui-section-box-padding);--_section-accent-width:calc(var(--_ui-section-colored-width) - var(--ui-border-width));--_section-border-color:var(--ui-border-color)}.ui.styled.section{--_section-border:var(--_ui-section-border);--_section-radius:var(--_ui-section-radius);--_section-background:var(--_ui-section-background);--_section-shadow:var(--_ui-section-shadow);--_section-accent-width:calc(var(--_ui-section-colored-width) - var(--ui-border-width));--_section-border-color:var(--ui-border-color);--_section-title-background:var(--_ui-section-title-background);--_section-title-padding:.75em 1em;--_section-title-border:var(--ui-border-width) solid;--_section-title-border-color:var(--ui-border-color);--_section-title-radius:var(--_ui-section-radius) var(--_ui-section-radius) 0 0;--_section-subhead-padding:.5em 1em 0;--_section-content-padding:.5em 1em 1em}.ui.collapsing.sections{--_ui-sections-stack:0px}.ui.raised:is(.bordered,.styled).section{--_section-shadow:var(--_ui-section-raised-shadow)}.ui.compact.section{--_section-title-padding:.125em 0;--_section-content-padding:.25em 0 0}.ui.compact.block.section{--_section-title-padding:.25em .625em}.ui.compact.bordered.section{--_section-padding:.5em}.ui.compact.styled.section{--_section-title-padding:.375em .625em;--_section-subhead-padding:.25em .625em 0;--_section-content-padding:.25em .625em .5em}.ui.padded.section{--_section-content-padding:var(--_ui-section-padded)}.ui[class*=very\\ padded].section{--_section-content-padding:var(--_ui-section-very-padded)}.ui.attached.section{--_section-margin-top:0;--_section-margin-bottom:0;--_section-radius:0}.ui.attached.section:not(.top){border-top-width:0}.ui[class*=top\\ attached].section{--_section-margin-top:var(--_ui-section-margin);--_section-radius:var(--_ui-section-radius) var(--_ui-section-radius) 0 0}.ui[class*=top\\ attached].section:first-child,:host(:first-child)>.ui[class*=top\\ attached].section{--_section-margin-top:0}.ui[class*=bottom\\ attached].section{--_section-margin-bottom:var(--_ui-section-margin);--_section-radius:0 0 var(--_ui-section-radius) var(--_ui-section-radius)}.ui[class*=bottom\\ attached].section:last-child,:host(:last-child)>.ui[class*=bottom\\ attached].section{--_section-margin-bottom:0}.ui.section:has(>.title>.heading>button.toggle){--_section-stack-top:var(--_ui-sections-stack)}.ui.section:has(>.content[hidden]){--_section-stack-bottom:var(--_ui-sections-stack)}.ui:is(.bordered,.styled):not(.basic,.attached).section:not(:first-child):has(>.title>.heading>button.toggle),:host(:not(:first-child))>.ui:is(.bordered,.styled):not(.basic,.attached).section:has(>.title>.heading>button.toggle){--_section-stack-top:calc(var(--_ui-sections-stack) - var(--ui-border-width))}.ui.scrolling.section>.content{--_section-scroll:var(--_ui-section-height,calc(var(--_ui-section-scrolling-height) * var(--_section-scroll-ratio,1)));max-height:var(--_section-scroll);overscroll-behavior:contain;overflow:auto}.ui.scrolling.section>.content:focus-visible{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:calc(var(--ui-focus-width) * -1)}.ui.short.scrolling.section{--_section-scroll-ratio:.75}.ui[class*=\"very short scrolling\"].section{--_section-scroll-ratio:.5}.ui.long.scrolling.section{--_section-scroll-ratio:2}.ui[class*=\"very long scrolling\"].section{--_section-scroll-ratio:3}@media (768px<=width<992px),(width>=992px){.ui.scrolling.section{--_section-scrolling-default:18em}}@media (width>=992px){.ui.scrolling.section{--_section-scrolling-default:24em}}@media (width>=1920px){.ui.scrolling.section{--_section-scrolling-default:30em}}.ui.left.aligned.section{--_section-title-justify:flex-start;--_section-title-align:start}.ui.center.aligned.section{--_section-title-justify:center;--_section-title-align:center}.ui.right.aligned.section{--_section-title-justify:flex-end;--_section-title-align:end}.ui.inverted.section{--ui-inverted:1;--ui-scheme:dark;color-scheme:dark}.ui.sticky.section>.title{top:var(--_ui-section-top,0px);z-index:max(1, calc(var(--_ui-section-z-index) - var(--_ui-section-depth,0)));background:var(--_section-title-background,var(--_ui-section-sticky-background));position:sticky}.ui.sticky.section>.content{isolation:isolate}.ui.stack.sticky.section>.title,:host(:state(stacked)) .ui.sticky.section>.title{--_stack-reach-start:max(0px, calc(var(--ui-section-stack-reach-start,var(--ui-section-stack-reach,24px)) - var(--ui-section-stack-step,12px) * var(--_ui-section-depth,0)));--_stack-reach-end:max(0px, calc(var(--ui-section-stack-reach-end,var(--ui-section-stack-reach,24px)) - var(--ui-section-stack-step,12px) * var(--_ui-section-depth,0)));margin-inline:calc(-1 * var(--_stack-reach-start)) calc(-1 * var(--_stack-reach-end));padding-block:.4em;padding-inline:var(--_stack-reach-start) var(--_stack-reach-end);border-radius:var(--ui-section-stack-radius,var(--ui-radius-m));box-shadow:0 1px light-dark(#281e5a14,#00000073)}.ui.drawer.section>.title{z-index:1;border-radius:var(--_ui-section-drawer-radius);background:var(--ui-section-drawer-title-background,var(--ui-surface));box-shadow:0 1px 0 var(--ui-border-color), 0 6px 12px -8px oklch(0% 0 0/.25);padding:.5em .75em;position:relative}.ui.drawer.section:not(:has(>.content[hidden]))>.title{border-end-end-radius:0;border-end-start-radius:0}.ui.drawer.section>.content{margin-inline:var(--ui-section-drawer-inset,.5em);border-radius:0 0 var(--_ui-section-drawer-radius) var(--_ui-section-drawer-radius);background:var(--ui-section-drawer-background,color-mix(in oklab, var(--ui-text-color) 3%, transparent));padding:.75em 1em .5em}.ui.drawer.section{--_ui-section-drawer-radius:var(--ui-section-drawer-radius,var(--ui-radius-l))}.ui.basic.section{--_section-border:none;--_section-radius:0;--_section-background:none;--_section-shadow:0 0 #0000;--_section-padding:0;--_section-accent-width:0px;--_section-title-border:none;--_section-title-background:none;--_section-title-radius:0;--_section-title-padding:var(--_ui-section-title-padding);--_section-subhead-padding:.25em 0 0;--_section-content-padding:var(--_ui-section-content-padding)}.ui.basic.sticky.section>.title{background:var(--_ui-section-sticky-background)}}@layer ui.components.section.states{:host(:state(stuck)) .ui.sticky.section>.title{box-shadow:var(--_ui-section-stuck-shadow)}:host(:state(stacked):state(stuck)) .ui.sticky.section>.title{box-shadow:0 1px light-dark(#281e5a14,#00000073)}:host(:state(stacked):state(nested):state(stuck)) .ui.sticky.section>.title{border-radius:0 0 var(--ui-section-stack-stuck-radius,var(--ui-radius-l)) var(--ui-section-stack-stuck-radius,var(--ui-radius-l))}:host(:state(tucked)) .ui.section{margin-block-start:0}:host(:state(tucked)) .ui.section>.title,:host(:state(joins-above)) .ui.section>.title{border-start-start-radius:0;border-start-end-radius:0}:host(:state(joins-below)) .ui.section>.title{border-end-end-radius:0;border-end-start-radius:0}:host(:state(tucks)) .ui.section>.content{padding-block-start:0}:host(:state(stacked):state(collapsed)) .ui.section{margin-block:0}:host(:state(after-closed)) .ui.section{margin-block-start:0}.ui.disabled.section{opacity:var(--_ui-section-disabled-opacity);color:var(--ui-text-disabled);pointer-events:none;-webkit-user-select:none;user-select:none}.ui.disabled.section>.title>.heading>button.toggle{cursor:default}.ui.loading.section>.content{min-height:calc(var(--_ui-section-loader-size) * 1.5);cursor:default;pointer-events:none;-webkit-user-select:none;user-select:none;position:relative}.ui.loading.section>.content:before{content:\"\";z-index:100;border-radius:inherit;background:var(--_ui-section-loader-dimmer);display:block;position:absolute;inset:0}.ui.loading.section>.content:after{content:\"\";z-index:101;width:var(--_ui-section-loader-size);height:var(--_ui-section-loader-size);margin:calc(var(--_ui-section-loader-size) / -2) 0 0 calc(var(--_ui-section-loader-size) / -2);box-sizing:border-box;border:var(--_ui-section-loader-width) solid var(--_ui-section-loader-track);border-top-color:var(--_ui-section-loader-color);border-radius:var(--ui-radius-circle);animation:ui-section-spin var(--_ui-section-loader-speed) linear infinite;display:block;position:absolute;top:50%;left:50%}.ui.loading.section>.content[hidden]{min-height:0}.ui.section>.content>.source.error{color:var(--ui-negative-text);margin:0 0 1em}@media (prefers-reduced-motion:no-preference){:host(:state(animated)) .ui.section{interpolate-size:allow-keywords}:host(:state(animated)) .ui.section>.content{transition:block-size var(--_ui-section-duration) var(--ui-ease-out), padding-block var(--_ui-section-duration) var(--ui-ease-out), content-visibility var(--_ui-section-duration) allow-discrete}:host(:state(animated)) .ui.section:not(.scrolling)>.content{overflow-y:clip}}@media (prefers-reduced-motion:reduce){.ui.section>.title>.heading>.toggle>.fold.icon,.ui.section>.title>.fold.icon,.ui.section>.title>.tip{transition:none}}}:host([hide-empty]:state(empty)){display:none}@keyframes ui-section-spin{to{rotate:1turn}}", Ce = /* @__PURE__ */ M("<div><slot>"), F, I, L, R, z = class _UISections extends (L = se, I = [v], F = [y], L) {
|
|
486
499
|
constructor() {
|
|
487
|
-
super(...arguments),
|
|
500
|
+
super(...arguments), s(this, "context", new d({
|
|
488
501
|
domElement: this.domElement,
|
|
489
502
|
noun: N.noun,
|
|
490
|
-
barrier:
|
|
503
|
+
barrier: d.noBarrier
|
|
491
504
|
}));
|
|
492
505
|
}
|
|
493
506
|
render() {
|
|
494
507
|
let e = this;
|
|
495
|
-
var t =
|
|
496
|
-
return n._$owner =
|
|
497
|
-
e:
|
|
508
|
+
var t = Ce(), n = t.firstChild;
|
|
509
|
+
return n._$owner = T(), w(() => ({
|
|
510
|
+
e: O(e.rootClass),
|
|
498
511
|
t: e.partForName("group")
|
|
499
512
|
}), ({ e, t: n }, r) => {
|
|
500
|
-
|
|
513
|
+
S(t, e, r?.e), n !== r?.t && A(t, "part", n);
|
|
501
514
|
}), t;
|
|
502
515
|
}
|
|
503
516
|
};
|
|
504
|
-
R =
|
|
517
|
+
R = _e(L), u(R, 13, "vocabulary", I, z), u(R, 13, "elementSetup", F, z), f(R, z), t(z, "UISections"), s(z, "vocabulary", m(R, 8, z, Se)), m(R, 11, z), s(z, "elementSetup", m(R, 12, z, { styleSheets: { section: P } })), m(R, 15, z);
|
|
505
518
|
var B = z, V = {
|
|
506
519
|
start: "start",
|
|
507
520
|
end: "end"
|
|
508
|
-
},
|
|
521
|
+
}, we = /* @__PURE__ */ M("<div><slot>"), Te = /* @__PURE__ */ M("<p role=alert>"), Ee = /* @__PURE__ */ M("<span role=status>"), De = /* @__PURE__ */ M("<section><div aria-hidden=true></div><!><div><!><slot></slot></div><!>"), H = /* @__PURE__ */ M("<span><slot>"), Oe = /* @__PURE__ */ M("<span role=tooltip><slot>"), ke = /* @__PURE__ */ M("<header><!><!><!><!><!><!>"), Ae = /* @__PURE__ */ M("<span aria-hidden=true>"), je, Me, U, Ne, Pe, Fe, Ie, Le, Re, ze, Be, Ve, He, Ue, We, Ge, Ke, qe, Je, Ye, Xe, Ze, Qe, $e, et, tt, nt, rt, it, at, ot, st, W, G, K, q, J, Y, X, Z, Q = class _UISection extends (W = se, st = [v], ot = [y], at = [v], it = [ue], rt = [g("nested")], nt = [g("in-group")], tt = [ce("open")], et = [g("collapsed")], $e = [b], Qe = [_("isFolded", { defer: !0 })], Ze = [b], Xe = [b], Ye = [g("stuck")], Je = [g("stacked")], qe = [ge({
|
|
509
522
|
childList: !0,
|
|
510
523
|
subtree: !0,
|
|
511
524
|
equals: isSameStack
|
|
512
|
-
})],
|
|
525
|
+
})], Ke = [g("tucked")], Ge = [g("tucks")], We = [b], Ue = [b], He = [_("isTucked", "enclosingSection", "isConnected")], Ve = [_("previousInStack", "isFolded", "isConnected")], Be = [g("after-closed")], ze = [g("joins-above")], Re = [g("joins-below")], Le = [_("isReady", "isConnected", "sticky", "stickTop")], Ie = [g("empty")], Fe = [ge({
|
|
526
|
+
childList: !0,
|
|
527
|
+
subtree: !0
|
|
528
|
+
})], Pe = [g("loading")], Ne = [g("loaded")], U = [g("error")], Me = [_("source", "selector", "isFolded", "isConnected")], je = [g("animated")], W) {
|
|
513
529
|
constructor() {
|
|
514
|
-
super(...arguments),
|
|
530
|
+
super(...arguments), m(G, 5, this), s(this, "context", new d({
|
|
515
531
|
domElement: this.domElement,
|
|
516
532
|
noun: this.vocabulary.noun,
|
|
517
|
-
barrier:
|
|
518
|
-
})),
|
|
533
|
+
barrier: d.noBarrier
|
|
534
|
+
})), h(this, K, m(G, 8, this, !0)), m(G, 11, this), s(this, "foldGlyph", new c({
|
|
519
535
|
owner: this,
|
|
520
|
-
name: /* @__PURE__ */
|
|
521
|
-
})),
|
|
536
|
+
name: /* @__PURE__ */ t(() => this.isCollapsible ? ft : void 0, "name")
|
|
537
|
+
})), s(this, "disclosure", new o({
|
|
522
538
|
component: this,
|
|
523
539
|
member: "isMarkedOpen",
|
|
524
|
-
isOpen: /* @__PURE__ */
|
|
525
|
-
canChange: /* @__PURE__ */
|
|
526
|
-
detail: /* @__PURE__ */
|
|
540
|
+
isOpen: /* @__PURE__ */ t(() => !this.isFolded, "isOpen"),
|
|
541
|
+
canChange: /* @__PURE__ */ t(() => this.isCollapsible && !this.isDisabled, "canChange"),
|
|
542
|
+
detail: /* @__PURE__ */ t((e, t) => ({
|
|
527
543
|
open: e,
|
|
528
544
|
section: this.domElement,
|
|
529
545
|
originalEvent: t
|
|
530
546
|
}), "detail"),
|
|
531
|
-
afterDetail: /* @__PURE__ */
|
|
547
|
+
afterDetail: /* @__PURE__ */ t((e) => ({
|
|
532
548
|
open: e,
|
|
533
549
|
section: this.domElement
|
|
534
550
|
}), "afterDetail")
|
|
535
|
-
})),
|
|
536
|
-
|
|
537
|
-
}, "onToggleClick")),
|
|
551
|
+
})), h(this, q, m(G, 12, this)), m(G, 15, this), s(this, "onToggleClick", /* @__PURE__ */ t((e) => {
|
|
552
|
+
ee.isClicked(e, { before: mt }) || this.toggle(e);
|
|
553
|
+
}, "onToggleClick")), s(this, "onFoldIconClick", /* @__PURE__ */ t((e) => {
|
|
538
554
|
this.toggle(e);
|
|
539
|
-
}, "onFoldIconClick")),
|
|
555
|
+
}, "onFoldIconClick")), h(this, J, m(G, 16, this, 0)), m(G, 19, this), h(this, Y, m(G, 20, this, !1)), m(G, 23, this), s(this, "title"), s(this, "sentinel"), s(this, "stickyWatch", new ie(({ edge: e }) => this.isStuck = e !== void 0)), h(this, X, m(G, 24, this, !1)), m(G, 27, this), h(this, Z, m(G, 28, this, !1)), m(G, 31, this), s(this, "slots", new ne(this.domElement)), s(this, "iconGlyph", new c({
|
|
540
556
|
owner: this,
|
|
541
|
-
name: /* @__PURE__ */
|
|
542
|
-
})),
|
|
557
|
+
name: /* @__PURE__ */ t(() => this.icon, "name")
|
|
558
|
+
})), s(this, "body", new l({
|
|
543
559
|
domElement: this.domElement,
|
|
544
|
-
source: /* @__PURE__ */
|
|
545
|
-
select: /* @__PURE__ */
|
|
546
|
-
target: /* @__PURE__ */
|
|
547
|
-
send: /* @__PURE__ */
|
|
560
|
+
source: /* @__PURE__ */ t(() => this.source || void 0, "source"),
|
|
561
|
+
select: /* @__PURE__ */ t(() => this.selector || void 0, "select"),
|
|
562
|
+
target: /* @__PURE__ */ t(() => this.domElement, "target"),
|
|
563
|
+
send: /* @__PURE__ */ t((e, t) => this.send(e, t), "send")
|
|
548
564
|
}));
|
|
549
565
|
}
|
|
550
566
|
get enclosingSection() {
|
|
@@ -564,9 +580,9 @@ var B = z, V = {
|
|
|
564
580
|
}
|
|
565
581
|
get headingLevel() {
|
|
566
582
|
let e = Number(this.level);
|
|
567
|
-
if (Number.isInteger(e) && e >= 1 && e <=
|
|
583
|
+
if (Number.isInteger(e) && e >= 1 && e <= yt) return e;
|
|
568
584
|
let t = this.enclosingSection;
|
|
569
|
-
return t ? Math.min(t.headingLevel + 1,
|
|
585
|
+
return t ? Math.min(t.headingLevel + 1, yt) : vt;
|
|
570
586
|
}
|
|
571
587
|
get depth() {
|
|
572
588
|
let e = this.enclosingSection;
|
|
@@ -585,6 +601,11 @@ var B = z, V = {
|
|
|
585
601
|
toggle(e) {
|
|
586
602
|
return this.disclosure.toggle(e);
|
|
587
603
|
}
|
|
604
|
+
get toggleTip() {
|
|
605
|
+
let e = this.translationForKey(this.isFolded ? "openSection" : "closeSection");
|
|
606
|
+
return this.toggleTipMore ? `${e}
|
|
607
|
+
${this.toggleTipMore}` : e;
|
|
608
|
+
}
|
|
588
609
|
onFoldedChanged(e) {
|
|
589
610
|
this.disclosure.sendAfter(!e);
|
|
590
611
|
}
|
|
@@ -605,7 +626,7 @@ var B = z, V = {
|
|
|
605
626
|
return !!this.scrolling || !!this.height;
|
|
606
627
|
}
|
|
607
628
|
get isStacked() {
|
|
608
|
-
if (this.sticky ===
|
|
629
|
+
if (this.sticky === dt) return !0;
|
|
609
630
|
let e = this.enclosingSection;
|
|
610
631
|
return !!this.sticky && !!e?.isStacked && isRightInside(this.domElement, e.domElement);
|
|
611
632
|
}
|
|
@@ -653,8 +674,8 @@ var B = z, V = {
|
|
|
653
674
|
}
|
|
654
675
|
get titleStyle() {
|
|
655
676
|
return {
|
|
656
|
-
[
|
|
657
|
-
[
|
|
677
|
+
[jt]: `${this.stickTop}px`,
|
|
678
|
+
[ht]: String(this.depth)
|
|
658
679
|
};
|
|
659
680
|
}
|
|
660
681
|
onStickingChanged(e, t, n, r) {
|
|
@@ -675,6 +696,14 @@ var B = z, V = {
|
|
|
675
696
|
o.disconnect(), s();
|
|
676
697
|
};
|
|
677
698
|
}
|
|
699
|
+
get isEmpty() {
|
|
700
|
+
let e = this.hideEmpty;
|
|
701
|
+
return e == null ? !1 : isSelector(e) ? !this.matchesHideEmpty : !this.slots.hasContent("");
|
|
702
|
+
}
|
|
703
|
+
get matchesHideEmpty() {
|
|
704
|
+
let e = this.hideEmpty;
|
|
705
|
+
return !!e && isSelector(e) && !!this.domElement.querySelector(e);
|
|
706
|
+
}
|
|
678
707
|
get hasIcon() {
|
|
679
708
|
return !!this.icon || this.slots.hasContent(this.slotForName("icon"));
|
|
680
709
|
}
|
|
@@ -700,21 +729,21 @@ var B = z, V = {
|
|
|
700
729
|
return !!this.descriptionText || this.slots.hasContent(this.slotForName("description"));
|
|
701
730
|
}
|
|
702
731
|
get isVeiled() {
|
|
703
|
-
return !
|
|
732
|
+
return !xe && !!this.source && this.body.isVeiled;
|
|
704
733
|
}
|
|
705
734
|
get isLoading() {
|
|
706
735
|
return !!this.loading || this.body.isBusy;
|
|
707
736
|
}
|
|
708
737
|
get bodyIsLoaded() {
|
|
709
|
-
return this.body.loadStatus ===
|
|
738
|
+
return this.body.loadStatus === re.loaded;
|
|
710
739
|
}
|
|
711
740
|
get bodyFailed() {
|
|
712
|
-
return this.body.loadStatus ===
|
|
741
|
+
return this.body.loadStatus === re.error;
|
|
713
742
|
}
|
|
714
743
|
get bodyFailureText() {
|
|
715
744
|
let e = this.body.loadError;
|
|
716
745
|
if (!e) return;
|
|
717
|
-
let t =
|
|
746
|
+
let t = p[e.kind] ?? p.load;
|
|
718
747
|
return this.translationForKey(t, { source: this.source ?? "" });
|
|
719
748
|
}
|
|
720
749
|
onBodyWanted(e, t, n, r) {
|
|
@@ -727,233 +756,238 @@ var B = z, V = {
|
|
|
727
756
|
return this.body.reload();
|
|
728
757
|
}
|
|
729
758
|
get isAnimated() {
|
|
730
|
-
return this.isReady &&
|
|
759
|
+
return this.isReady && oe.browser.supports.interpolateSize;
|
|
731
760
|
}
|
|
732
761
|
get extraClass() {
|
|
733
|
-
return [this.height && !this.scrolling ?
|
|
762
|
+
return [this.height && !this.scrolling ? Dt : void 0, !this.loading && this.body.isBusy ? _t : void 0].filter(Boolean).join(" ") || void 0;
|
|
734
763
|
}
|
|
735
764
|
render() {
|
|
736
765
|
let e = this;
|
|
737
|
-
var t =
|
|
738
|
-
|
|
766
|
+
var t = De(), n = t.firstChild, r = n.nextSibling, i = r.nextSibling, a = i.firstChild, o = a.nextSibling, s = i.nextSibling;
|
|
767
|
+
k(() => (t) => e.sentinel = t, n), E(t, () => e.titleBar(), r), E(t, C(x, {
|
|
739
768
|
get when() {
|
|
740
769
|
return e.hasHint;
|
|
741
770
|
},
|
|
742
771
|
get children() {
|
|
743
|
-
var t =
|
|
744
|
-
return n._$owner =
|
|
745
|
-
e:
|
|
772
|
+
var t = we(), n = t.firstChild;
|
|
773
|
+
return n._$owner = T(), E(n, () => e.hintText), w(() => ({
|
|
774
|
+
e: O(Tt),
|
|
746
775
|
t: e.partForName("subhead"),
|
|
747
776
|
a: e.slotForName("hint")
|
|
748
777
|
}), ({ e, t: r, a: i }, a) => {
|
|
749
|
-
|
|
778
|
+
S(t, e, a?.e), r !== a?.t && A(t, "part", r), i !== a?.a && A(n, "name", i);
|
|
750
779
|
}), t;
|
|
751
780
|
}
|
|
752
|
-
}), i),
|
|
781
|
+
}), i), A(i, "id", kt);
|
|
753
782
|
var c = e.disclosure.revealOnMatch;
|
|
754
|
-
return typeof c == "function" || Array.isArray(c) ?
|
|
783
|
+
return typeof c == "function" || Array.isArray(c) ? k(() => c, i) : e.disclosure.revealOnMatch = i, E(i, C(x, {
|
|
755
784
|
get when() {
|
|
756
785
|
return e.bodyFailureText;
|
|
757
786
|
},
|
|
758
787
|
get children() {
|
|
759
|
-
var t =
|
|
760
|
-
return
|
|
761
|
-
e:
|
|
788
|
+
var t = Te();
|
|
789
|
+
return E(t, () => e.bodyFailureText), w(() => ({
|
|
790
|
+
e: O(gt),
|
|
762
791
|
t: e.partForName("error")
|
|
763
792
|
}), ({ e, t: n }, r) => {
|
|
764
|
-
|
|
793
|
+
S(t, e, r?.e), n !== r?.t && A(t, "part", n);
|
|
765
794
|
}), t;
|
|
766
795
|
}
|
|
767
|
-
}), a),
|
|
796
|
+
}), a), E(i, () => e.contentStart(), o), o._$owner = T(), E(t, C(x, {
|
|
768
797
|
get when() {
|
|
769
798
|
return e.isLoading;
|
|
770
799
|
},
|
|
771
800
|
get children() {
|
|
772
|
-
var t =
|
|
773
|
-
return
|
|
774
|
-
|
|
801
|
+
var t = Ee();
|
|
802
|
+
return E(t, () => e.translationForKey("loading")), w(() => O(te), (e, n) => {
|
|
803
|
+
S(t, e, n);
|
|
775
804
|
}), t;
|
|
776
805
|
}
|
|
777
|
-
}), s),
|
|
778
|
-
e:
|
|
806
|
+
}), s), w(() => ({
|
|
807
|
+
e: O(e.rootClass),
|
|
779
808
|
t: e.partForName("section"),
|
|
780
809
|
a: e.isLoading ? "true" : void 0,
|
|
781
|
-
o:
|
|
782
|
-
i:
|
|
810
|
+
o: O(pt),
|
|
811
|
+
i: O(de),
|
|
783
812
|
n: e.partForName("content"),
|
|
784
813
|
s: e.isFolded || e.isVeiled ? "until-found" : void 0,
|
|
785
814
|
h: e.contentScrolls ? 0 : void 0,
|
|
786
|
-
r:
|
|
815
|
+
r: O(e.contentStyle)
|
|
787
816
|
}), ({ e, t: r, a, o, i: s, n: c, s: l, h: u, r: ee }, d) => {
|
|
788
|
-
|
|
817
|
+
S(t, e, d?.e), r !== d?.t && A(t, "part", r), a !== d?.a && A(t, "aria-busy", a), S(n, o, d?.o), S(i, s, d?.i), c !== d?.n && A(i, "part", c), l !== d?.s && A(i, "hidden", l), u !== d?.h && A(i, "tabindex", u), j(i, ee, d?.r);
|
|
789
818
|
}), t;
|
|
790
819
|
}
|
|
791
820
|
titleBarEnd() {}
|
|
821
|
+
get contentStyle() {
|
|
822
|
+
return this.height ? { [At]: this.height } : void 0;
|
|
823
|
+
}
|
|
792
824
|
contentStart() {}
|
|
793
825
|
titleBar() {
|
|
794
826
|
let t = this;
|
|
795
|
-
var n =
|
|
796
|
-
return
|
|
827
|
+
var n = ke(), a = n.firstChild, o = a.nextSibling, s = o.nextSibling, c = s.nextSibling, l = c.nextSibling, u = l.nextSibling;
|
|
828
|
+
return k(() => (e) => {
|
|
829
|
+
t.title = e, ae.showIn(e, Ot);
|
|
830
|
+
}, n), E(n, C(ve, {
|
|
797
831
|
get component() {
|
|
798
832
|
return `h${t.headingLevel}`;
|
|
799
833
|
},
|
|
800
|
-
class:
|
|
834
|
+
class: bt,
|
|
801
835
|
get part() {
|
|
802
836
|
return t.partForName("heading");
|
|
803
837
|
},
|
|
804
838
|
get "aria-describedby"() {
|
|
805
|
-
return t.hasDescription && !t.isCollapsible ?
|
|
839
|
+
return t.hasDescription && !t.isCollapsible ? $ : void 0;
|
|
806
840
|
},
|
|
807
841
|
get children() {
|
|
808
|
-
return
|
|
842
|
+
return C(ve, {
|
|
809
843
|
get component() {
|
|
810
844
|
return t.isCollapsible ? "button" : "span";
|
|
811
845
|
},
|
|
812
846
|
get type() {
|
|
813
847
|
return t.isCollapsible ? "button" : void 0;
|
|
814
848
|
},
|
|
815
|
-
class:
|
|
849
|
+
class: xt,
|
|
816
850
|
get part() {
|
|
817
851
|
return t.partForName("toggle");
|
|
818
852
|
},
|
|
819
853
|
get "aria-expanded"() {
|
|
820
|
-
return
|
|
854
|
+
return D(() => !!t.isCollapsible)() ? t.disclosure.ariaExpanded : void 0;
|
|
821
855
|
},
|
|
822
856
|
get "aria-controls"() {
|
|
823
|
-
return t.isCollapsible ?
|
|
857
|
+
return t.isCollapsible ? kt : void 0;
|
|
824
858
|
},
|
|
825
859
|
get title() {
|
|
826
|
-
return
|
|
860
|
+
return D(() => !!t.isCollapsible)() ? t.toggleTip : void 0;
|
|
827
861
|
},
|
|
828
862
|
get disabled() {
|
|
829
863
|
return t.isCollapsible && t.disabled ? !0 : void 0;
|
|
830
864
|
},
|
|
831
865
|
get "aria-describedby"() {
|
|
832
|
-
return t.hasDescription && t.isCollapsible ?
|
|
866
|
+
return t.hasDescription && t.isCollapsible ? $ : void 0;
|
|
833
867
|
},
|
|
834
868
|
get onClick() {
|
|
835
869
|
return t.onToggleClick;
|
|
836
870
|
},
|
|
837
871
|
get children() {
|
|
838
872
|
return [
|
|
839
|
-
|
|
873
|
+
C(x, {
|
|
840
874
|
get when() {
|
|
841
|
-
return
|
|
875
|
+
return D(() => !!t.isCollapsible)() ? !t.foldIconIsAtEnd : t.isCollapsible;
|
|
842
876
|
},
|
|
843
877
|
get children() {
|
|
844
878
|
return t.foldChevron();
|
|
845
879
|
}
|
|
846
880
|
}),
|
|
847
|
-
|
|
881
|
+
C(x, {
|
|
848
882
|
get when() {
|
|
849
883
|
return t.hasIcon;
|
|
850
884
|
},
|
|
851
885
|
get children() {
|
|
852
886
|
var n = H(), r = n.firstChild;
|
|
853
|
-
return r._$owner =
|
|
854
|
-
e:
|
|
887
|
+
return r._$owner = T(), E(r, () => t.iconGlyph.svg), w(() => ({
|
|
888
|
+
e: O(e),
|
|
855
889
|
t: t.partForName("icon"),
|
|
856
890
|
a: t.slotForName("icon")
|
|
857
891
|
}), ({ e, t, a: i }, a) => {
|
|
858
|
-
|
|
892
|
+
S(n, e, a?.e), t !== a?.t && A(n, "part", t), i !== a?.a && A(r, "name", i);
|
|
859
893
|
}), n;
|
|
860
894
|
}
|
|
861
895
|
}),
|
|
862
896
|
(() => {
|
|
863
897
|
var e = H(), n = e.firstChild;
|
|
864
|
-
return n._$owner =
|
|
865
|
-
e:
|
|
898
|
+
return n._$owner = T(), E(n, () => t.titleText), w(() => ({
|
|
899
|
+
e: O(i),
|
|
866
900
|
t: t.partForName("header"),
|
|
867
901
|
a: t.slotForName("label")
|
|
868
902
|
}), ({ e: t, t: r, a: i }, a) => {
|
|
869
|
-
|
|
903
|
+
S(e, t, a?.e), r !== a?.t && A(e, "part", r), i !== a?.a && A(n, "name", i);
|
|
870
904
|
}), e;
|
|
871
905
|
})()
|
|
872
906
|
];
|
|
873
907
|
}
|
|
874
908
|
});
|
|
875
909
|
}
|
|
876
|
-
}),
|
|
910
|
+
}), a), E(n, C(x, {
|
|
877
911
|
get when() {
|
|
878
912
|
return t.hasBadge;
|
|
879
913
|
},
|
|
880
914
|
get children() {
|
|
881
915
|
var e = H(), n = e.firstChild;
|
|
882
|
-
return n._$owner =
|
|
883
|
-
e:
|
|
916
|
+
return n._$owner = T(), E(n, () => t.badge), w(() => ({
|
|
917
|
+
e: O(Ct),
|
|
884
918
|
t: t.partForName("badge"),
|
|
885
919
|
a: t.slotForName("badge")
|
|
886
920
|
}), ({ e: t, t: r, a: i }, a) => {
|
|
887
|
-
|
|
921
|
+
S(e, t, a?.e), r !== a?.t && A(e, "part", r), i !== a?.a && A(n, "name", i);
|
|
888
922
|
}), e;
|
|
889
923
|
}
|
|
890
|
-
}),
|
|
924
|
+
}), o), E(n, C(x, {
|
|
891
925
|
get when() {
|
|
892
926
|
return t.hasActions;
|
|
893
927
|
},
|
|
894
928
|
get children() {
|
|
895
929
|
var e = H(), n = e.firstChild;
|
|
896
|
-
return n._$owner =
|
|
897
|
-
e:
|
|
930
|
+
return n._$owner = T(), w(() => ({
|
|
931
|
+
e: O(wt),
|
|
898
932
|
t: t.partForName("actions"),
|
|
899
933
|
a: t.slotForName("actions")
|
|
900
934
|
}), ({ e: t, t: r, a: i }, a) => {
|
|
901
|
-
|
|
935
|
+
S(e, t, a?.e), r !== a?.t && A(e, "part", r), i !== a?.a && A(n, "name", i);
|
|
902
936
|
}), e;
|
|
903
937
|
}
|
|
904
|
-
}),
|
|
938
|
+
}), s), E(n, () => t.titleBarEnd(), c), E(n, C(x, {
|
|
905
939
|
get when() {
|
|
906
|
-
return
|
|
940
|
+
return D(() => !!t.isCollapsible)() ? t.foldIconIsAtEnd : t.isCollapsible;
|
|
907
941
|
},
|
|
908
942
|
get children() {
|
|
909
943
|
return t.foldChevron(t.onFoldIconClick);
|
|
910
944
|
}
|
|
911
|
-
}),
|
|
945
|
+
}), l), E(n, C(x, {
|
|
912
946
|
get when() {
|
|
913
947
|
return t.hasDescription;
|
|
914
948
|
},
|
|
915
949
|
get children() {
|
|
916
|
-
var e =
|
|
917
|
-
return
|
|
918
|
-
e:
|
|
950
|
+
var e = Oe(), n = e.firstChild;
|
|
951
|
+
return A(e, "id", $), n._$owner = T(), E(n, () => t.descriptionText), w(() => ({
|
|
952
|
+
e: O(Et),
|
|
919
953
|
t: t.partForName("tip"),
|
|
920
954
|
a: t.slotForName("description")
|
|
921
955
|
}), ({ e: t, t: r, a: i }, a) => {
|
|
922
|
-
|
|
956
|
+
S(e, t, a?.e), r !== a?.t && A(e, "part", r), i !== a?.a && A(n, "name", i);
|
|
923
957
|
}), e;
|
|
924
958
|
}
|
|
925
|
-
}),
|
|
926
|
-
e:
|
|
959
|
+
}), u), w(() => ({
|
|
960
|
+
e: O(r),
|
|
927
961
|
t: t.partForName("title"),
|
|
928
|
-
a:
|
|
962
|
+
a: O(t.titleStyle)
|
|
929
963
|
}), ({ e, t, a: r }, i) => {
|
|
930
|
-
|
|
964
|
+
S(n, e, i?.e), t !== i?.t && A(n, "part", t), j(n, r, i?.a);
|
|
931
965
|
}), n;
|
|
932
966
|
}
|
|
933
967
|
foldChevron(e) {
|
|
934
968
|
let t = this;
|
|
935
|
-
var n =
|
|
936
|
-
return
|
|
937
|
-
e:
|
|
969
|
+
var n = Ae();
|
|
970
|
+
return ye(n, "click", e, !0), E(n, () => t.foldGlyph.svg), w(() => ({
|
|
971
|
+
e: O(St),
|
|
938
972
|
t: t.partForName("fold-icon"),
|
|
939
|
-
a: e ? t.
|
|
973
|
+
a: e ? t.toggleTip : void 0
|
|
940
974
|
}), ({ e, t, a: r }, i) => {
|
|
941
|
-
|
|
975
|
+
S(n, e, i?.e), t !== i?.t && A(n, "part", t), r !== i?.a && A(n, "title", r);
|
|
942
976
|
}), n;
|
|
943
977
|
}
|
|
944
978
|
};
|
|
945
|
-
G =
|
|
979
|
+
G = _e(W), K = /* @__PURE__ */ new WeakMap(), q = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap(), X = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), u(G, 2, "enclosingSection", it, Q), u(G, 2, "isNested", rt, Q), u(G, 2, "isInGroup", nt, Q), u(G, 4, "isMarkedOpen", tt, Q, K), u(G, 2, "isFolded", et, Q), u(G, 4, "toggleTipMore", $e, Q, q), u(G, 1, "onFoldedChanged", Qe, Q), u(G, 4, "titleHeight", Ze, Q, J), u(G, 4, "isStuck", Xe, Q, Y), u(G, 2, "titleIsStuck", Ye, Q), u(G, 2, "isStacked", Je, Q), u(G, 2, "stackPlaces", qe, Q), u(G, 2, "isTucked", Ke, Q), u(G, 2, "tucksFirst", Ge, Q), u(G, 4, "hasTuckedFirst", We, Q, X), u(G, 4, "isFollowedByClosed", Ue, Q, Z), u(G, 1, "onTuckedChanged", He, Q), u(G, 1, "onNeighbourChanged", Ve, Q), u(G, 2, "isAfterClosed", Be, Q), u(G, 2, "joinsAbove", ze, Q), u(G, 2, "joinsBelow", Re, Q), u(G, 1, "onStickingChanged", Le, Q), u(G, 2, "isEmpty", Ie, Q), u(G, 2, "matchesHideEmpty", Fe, Q), u(G, 2, "isLoading", Pe, Q), u(G, 2, "bodyIsLoaded", Ne, Q), u(G, 2, "bodyFailed", U, Q), u(G, 1, "onBodyWanted", Me, Q), u(G, 2, "isAnimated", je, Q), u(G, 13, "vocabulary", st, Q), u(G, 13, "elementSetup", ot, Q), u(G, 13, "defaultFoldIcon", at, Q), f(G, Q), t(Q, "UISection"), s(Q, "vocabulary", m(G, 32, Q, N)), m(G, 35, Q), s(Q, "elementSetup", m(G, 36, Q, {
|
|
946
980
|
styleSheets: { section: P },
|
|
947
981
|
cssStates: ["inverted"],
|
|
948
|
-
DOMElement:
|
|
982
|
+
DOMElement: a,
|
|
949
983
|
delegatesFocus: !1,
|
|
950
984
|
loading: "its own"
|
|
951
|
-
})),
|
|
952
|
-
var
|
|
985
|
+
})), m(G, 39, Q), s(Q, "defaultFoldIcon", m(G, 40, Q, V.start)), m(G, 43, Q);
|
|
986
|
+
var ct = Q;
|
|
953
987
|
function isSameStack(e, t) {
|
|
954
988
|
return e.length === t.length && e.every((e, n) => e.element === t[n].element && e.isFirst === t[n].isFirst && e.previous === t[n].previous);
|
|
955
989
|
}
|
|
956
|
-
|
|
990
|
+
t(isSameStack, "isSameStack");
|
|
957
991
|
function stackPlacesIn(e) {
|
|
958
992
|
let t = e.localName, n = [...e.querySelectorAll(t)].filter((n) => n.parentElement?.closest(t) === e);
|
|
959
993
|
return n.map((t, r) => {
|
|
@@ -965,17 +999,17 @@ function stackPlacesIn(e) {
|
|
|
965
999
|
};
|
|
966
1000
|
});
|
|
967
1001
|
}
|
|
968
|
-
|
|
1002
|
+
t(stackPlacesIn, "stackPlacesIn");
|
|
969
1003
|
function isRightInside(e, t) {
|
|
970
1004
|
for (let n = e.parentElement; n && n !== t; n = n.parentElement) if (n.localName.includes("-")) return !1;
|
|
971
1005
|
return !0;
|
|
972
1006
|
}
|
|
973
|
-
|
|
1007
|
+
t(isRightInside, "isRightInside");
|
|
974
1008
|
function isDrawnFirst(e, t) {
|
|
975
1009
|
for (let n = e; n && n !== t; n = n.parentElement) for (let e = n.previousSibling; e; e = e.previousSibling) if (!drawsNothing(e)) return !1;
|
|
976
1010
|
return !0;
|
|
977
1011
|
}
|
|
978
|
-
|
|
1012
|
+
t(isDrawnFirst, "isDrawnFirst");
|
|
979
1013
|
function isRightAfter(e, t, n) {
|
|
980
1014
|
for (let r = e; r && r !== n; r = r.parentElement) for (let e = r.previousSibling; e; e = e.previousSibling) {
|
|
981
1015
|
if (e === t || e.contains(t)) return isDrawnLast(t, e);
|
|
@@ -983,22 +1017,25 @@ function isRightAfter(e, t, n) {
|
|
|
983
1017
|
}
|
|
984
1018
|
return !1;
|
|
985
1019
|
}
|
|
986
|
-
|
|
1020
|
+
t(isRightAfter, "isRightAfter");
|
|
987
1021
|
function isDrawnLast(e, t) {
|
|
988
1022
|
for (let n = e; n && n !== t; n = n.parentElement) for (let e = n.nextSibling; e; e = e.nextSibling) if (!drawsNothing(e)) return !1;
|
|
989
1023
|
return !0;
|
|
990
1024
|
}
|
|
991
|
-
|
|
1025
|
+
t(isDrawnLast, "isDrawnLast");
|
|
992
1026
|
function drawsNothing(e) {
|
|
993
|
-
if (e.nodeType ===
|
|
994
|
-
if (e.nodeType ===
|
|
1027
|
+
if (e.nodeType === ut) return !0;
|
|
1028
|
+
if (e.nodeType === lt) return !e.textContent?.trim();
|
|
995
1029
|
let t = e;
|
|
996
1030
|
return t.hasAttribute("slot") ? !0 : !t.firstElementChild && !t.textContent?.trim();
|
|
997
1031
|
}
|
|
998
|
-
|
|
999
|
-
var
|
|
1000
|
-
|
|
1032
|
+
t(drawsNothing, "drawsNothing");
|
|
1033
|
+
var lt = 3, ut = 8, dt = "stack", ft = "chevron down", pt = "sentinel", mt = "button.toggle", ht = "--_ui-section-depth", gt = "source error", _t = "loading", vt = 2, yt = 6, bt = "heading", xt = "toggle", St = "fold icon", Ct = "badge", wt = "actions", Tt = "subhead", Et = "tip", Dt = "scrolling", Ot = ".heading, .fold.icon", $ = "tip", kt = "content", At = "--_ui-section-height", jt = "--_ui-section-top";
|
|
1034
|
+
function isSelector(e) {
|
|
1035
|
+
return !!e && e !== "true";
|
|
1036
|
+
}
|
|
1037
|
+
t(isSelector, "isSelector"), be(["click"]), B.define(), ct.define();
|
|
1001
1038
|
//#endregion
|
|
1002
|
-
export {
|
|
1039
|
+
export { ct as UISection, B as UISections, N as n, V as t };
|
|
1003
1040
|
|
|
1004
1041
|
//# sourceMappingURL=ui-section.js.map
|