@pgcorp/ui-kit 0.13.0 → 0.15.0
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.md +1055 -31
- package/dist/assets/src/components/layout/SDockRegion.vue_vue_type_style_index_0_scoped_a1f403e2_lang.css +1 -0
- package/dist/assets/src/components/layout/{SResizeHandle.vue_vue_type_style_index_0_scoped_90cc655e_lang.css → SResizeHandle.vue_vue_type_style_index_0_scoped_dc65aba1_lang.css} +1 -1
- package/dist/assets/src/components/layout/{SWorkbenchPanelShell.css_vue_type_style_index_0_src_1030a231_scoped_1030a231_lang.css → SWorkbenchPanelShell.css_vue_type_style_index_0_src_f9faa52a_scoped_f9faa52a_lang.css} +1 -1
- package/dist/assets/src/components/shared/_internal/SDialogSurface.css_vue_type_style_index_0_src_a108e8f1_scoped_a108e8f1_lang.css +2 -0
- package/dist/assets/src/components/shared/_internal/{SListboxGroup.css_vue_type_style_index_0_src_518787d3_scoped_518787d3_lang.css → SListboxGroup.css_vue_type_style_index_0_src_00060944_scoped_00060944_lang.css} +1 -1
- package/dist/assets/src/components/shared/_internal/SMenuLayer.css_vue_type_style_index_0_src_e478164c_scoped_e478164c_lang.css +1 -0
- package/dist/assets/src/components/shared/containers/{SCollapsiblePanel.css_vue_type_style_index_0_src_71824088_scoped_71824088_lang.css → SCollapsiblePanel.css_vue_type_style_index_0_src_db85261d_scoped_db85261d_lang.css} +1 -1
- package/dist/assets/src/components/shared/containers/SOverlayHost.css_vue_type_style_index_0_src_09215628_scoped_09215628_lang.css +2 -0
- package/dist/assets/src/components/shared/containers/SPopover.css_vue_type_style_index_0_src_a4f1f64a_scoped_a4f1f64a_lang.css +2 -0
- package/dist/assets/src/components/shared/containers/{SSidebarGroup.css_vue_type_style_index_0_src_3e8bc2d7_scoped_3e8bc2d7_lang.css → SSidebarGroup.css_vue_type_style_index_0_src_5b1eeb6c_scoped_5b1eeb6c_lang.css} +1 -1
- package/dist/assets/src/components/shared/containers/SSidebarSection.css_vue_type_style_index_0_src_52396e42_scoped_52396e42_lang.css +2 -0
- package/dist/assets/src/components/shared/controls/SButton.css_vue_type_style_index_0_src_7a5acda9_scoped_7a5acda9_lang.css +2 -0
- package/dist/assets/src/components/shared/controls/SCheckbox.css_vue_type_style_index_0_src_2562f916_scoped_2562f916_lang.css +2 -0
- package/dist/assets/src/components/shared/controls/SCombobox.css_vue_type_style_index_0_src_d630c922_scoped_d630c922_lang.css +2 -0
- package/dist/assets/src/components/shared/controls/SContextMenu.css_vue_type_style_index_0_src_43b6e378_scoped_43b6e378_lang.css +1 -0
- package/dist/assets/src/components/shared/controls/{SDropdownMenu.css_vue_type_style_index_0_src_1ccb9efc_scoped_1ccb9efc_lang.css → SDropdownMenu.css_vue_type_style_index_0_src_40040ae5_scoped_40040ae5_lang.css} +1 -1
- package/dist/assets/src/components/shared/controls/SField.css_vue_type_style_index_0_src_2d353c26_scoped_2d353c26_lang.css +2 -0
- package/dist/assets/src/components/shared/controls/{SInteractiveSurface.css_vue_type_style_index_0_src_998940dd_scoped_998940dd_lang.css → SInteractiveSurface.css_vue_type_style_index_0_src_5e422fac_scoped_5e422fac_lang.css} +1 -1
- package/dist/assets/src/components/shared/controls/{SLink.css_vue_type_style_index_0_src_c7ae14e1_scoped_c7ae14e1_lang.css → SLink.css_vue_type_style_index_0_src_ac46e5a4_scoped_ac46e5a4_lang.css} +1 -1
- package/dist/assets/src/components/shared/controls/SListbox.css_vue_type_style_index_0_src_50063f9f_scoped_50063f9f_lang.css +2 -0
- package/dist/assets/src/components/shared/controls/{SListboxOption.css_vue_type_style_index_0_src_77c399b4_scoped_77c399b4_lang.css → SListboxOption.css_vue_type_style_index_0_src_59c9c538_scoped_59c9c538_lang.css} +1 -1
- package/dist/assets/src/components/shared/controls/SMenuSurface.css_vue_type_style_index_0_src_d2b7d71b_scoped_d2b7d71b_lang.css +2 -0
- package/dist/assets/src/components/shared/controls/SSelect.css_vue_type_style_index_0_src_d1ead6c0_scoped_d1ead6c0_lang.css +2 -0
- package/dist/assets/src/components/shared/controls/STextarea.css_vue_type_style_index_0_src_true_lang.css +1 -1
- package/dist/assets/src/components/shared/data-display/SControlledToastViewport.css_vue_type_style_index_0_src_a69aa84b_scoped_a69aa84b_lang.css +2 -0
- package/dist/assets/src/components/shared/data-display/SProgressBar.css_vue_type_style_index_0_src_cad721dd_scoped_cad721dd_lang.css +2 -0
- package/dist/assets/src/components/shared/data-display/SRichDocument.css_vue_type_style_index_0_src_8db085d5_scoped_8db085d5_lang.css +2 -0
- package/dist/assets/src/components/shared/data-display/SScrollViewport.css_vue_type_style_index_0_src_d94fcf8c_scoped_d94fcf8c_lang.css +2 -0
- package/dist/assets/src/components/shared/data-display/SStatus.css_vue_type_style_index_0_src_3ce41a12_scoped_3ce41a12_lang.css +1 -1
- package/dist/assets/src/components/shared/data-display/STable.css_vue_type_style_index_0_src_b23b3d71_scoped_b23b3d71_lang.css +2 -0
- package/dist/assets/src/components/shared/data-display/STooltip.css_vue_type_style_index_0_src_true_lang.css +1 -1
- package/dist/assets/src/components/shared/data-display/SVirtualList.css_vue_type_style_index_0_src_9fe3ade0_scoped_9fe3ade0_lang.css +2 -0
- package/dist/assets/src/components/shared/data-display/_internal/SRichBlockNode.css_vue_type_style_index_0_src_eaae882d_scoped_eaae882d_lang.css +2 -0
- package/dist/assets/src/components/shared/data-display/_internal/SRichDisclosure.css_vue_type_style_index_0_src_1f0ffc97_scoped_1f0ffc97_lang.css +2 -0
- package/dist/assets/src/components/shared/data-display/_internal/SRichImage.css_vue_type_style_index_0_src_2f1c39a9_scoped_2f1c39a9_lang.css +2 -0
- package/dist/assets/src/components/shared/data-display/_internal/{SRichInlineNode.css_vue_type_style_index_0_src_20c8cc87_scoped_20c8cc87_lang.css → SRichInlineNode.css_vue_type_style_index_0_src_3ca8df12_scoped_3ca8df12_lang.css} +1 -1
- package/dist/assets/src/components/shared/data-display/_internal/STableCell.css_vue_type_style_index_0_src_b829cbc6_scoped_b829cbc6_lang.css +2 -0
- package/dist/assets/src/components/shared/data-display/_internal/STableFrame.css_vue_type_style_index_0_src_914bad28_scoped_914bad28_lang.css +2 -0
- package/dist/assets/src/components/shared/data-display/_internal/STableRow.css_vue_type_style_index_0_src_1661f8b8_scoped_1661f8b8_lang.css +2 -0
- package/dist/assets/src/components/shared/feedback/SAsyncState.css_vue_type_style_index_0_src_8a291af7_scoped_8a291af7_lang.css +2 -0
- package/dist/assets/src/components/shared/navigation/{SBottomNav.vue_vue_type_style_index_0_scoped_b3963080_lang.css → SBottomNav.vue_vue_type_style_index_0_scoped_68cf84b3_lang.css} +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -3
- package/dist/reference.css +4 -0
- package/dist/src/components/icons/_internal/generatedSputnigUiIconComponents.d.ts +15 -0
- package/dist/src/components/icons/_internal/generatedSputnigUiIconComponents.js +4 -4
- package/dist/src/components/icons/_internal/generatedSputnigUiIconMarkup.d.ts +46 -1
- package/dist/src/components/icons/_internal/generatedSputnigUiIconMarkup.js +260 -230
- package/dist/src/components/icons/sputnigUiIcons.d.ts +1 -1
- package/dist/src/components/icons/sputnigUiIcons.js +233 -218
- package/dist/src/components/layout/SAppShell.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/src/components/layout/SDockRegion.vue.d.ts +18 -5
- package/dist/src/components/layout/SDockRegion.vue.js +2 -2
- package/dist/src/components/layout/SDockRegion.vue_vue_type_script_setup_true_lang.js +112 -64
- package/dist/src/components/layout/SResizeHandle.vue.d.ts +6 -3
- package/dist/src/components/layout/SResizeHandle.vue.js +2 -2
- package/dist/src/components/layout/SResizeHandle.vue_vue_type_script_setup_true_lang.js +127 -87
- package/dist/src/components/layout/SStack.vue.d.ts +1 -1
- package/dist/src/components/layout/SWorkbenchPanelShell.vue.d.ts +4 -4
- package/dist/src/components/layout/SWorkbenchPanelShell.vue.js +2 -2
- package/dist/src/components/layout/SWorkbenchPanelShell.vue_vue_type_script_setup_true_lang.js +62 -58
- package/dist/src/components/layout/types.d.ts +20 -0
- package/dist/src/components/shared/_internal/SDialogSurface.vue.d.ts +9 -1
- package/dist/src/components/shared/_internal/SDialogSurface.vue.js +2 -2
- package/dist/src/components/shared/_internal/SDialogSurface.vue_vue_type_script_setup_true_lang.js +183 -68
- package/dist/src/components/shared/_internal/SHeaderSurface.vue.d.ts +1 -1
- package/dist/src/components/shared/_internal/SListboxGroup.vue.d.ts +5 -0
- package/dist/src/components/shared/_internal/SListboxGroup.vue.js +2 -2
- package/dist/src/components/shared/_internal/SListboxGroup.vue_vue_type_script_setup_true_lang.js +33 -15
- package/dist/src/components/shared/_internal/SMenuLayer.vue.d.ts +5 -1
- package/dist/src/components/shared/_internal/SMenuLayer.vue.js +2 -2
- package/dist/src/components/shared/_internal/SMenuLayer.vue_vue_type_script_setup_true_lang.js +64 -20
- package/dist/src/components/shared/_internal/dialogSurface.d.ts +17 -2
- package/dist/src/components/shared/_internal/dialogSurface.js +42 -23
- package/dist/src/components/shared/_internal/dialogSurfaceMotion.d.ts +14 -0
- package/dist/src/components/shared/_internal/dialogSurfaceMotion.js +84 -0
- package/dist/src/components/shared/_internal/focusTrap.js +15 -13
- package/dist/src/components/shared/_internal/listboxContext.d.ts +1 -0
- package/dist/src/components/shared/_internal/listboxInventory.d.ts +51 -0
- package/dist/src/components/shared/_internal/listboxInventory.js +85 -0
- package/dist/src/components/shared/_internal/menuContext.d.ts +8 -0
- package/dist/src/components/shared/_internal/menuContext.js +2 -2
- package/dist/src/components/shared/_internal/sidebarGroupContext.d.ts +1 -0
- package/dist/src/components/shared/_internal/useVirtualCollection.d.ts +45 -0
- package/dist/src/components/shared/_internal/useVirtualCollection.js +123 -0
- package/dist/src/components/shared/complex/SKanbanLane.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/src/components/shared/containers/SCloudChrome.vue.d.ts +1 -1
- package/dist/src/components/shared/containers/SCloudChromeRow.vue.d.ts +1 -1
- package/dist/src/components/shared/containers/SCollapsiblePanel.vue.d.ts +5 -0
- package/dist/src/components/shared/containers/SCollapsiblePanel.vue.js +2 -2
- package/dist/src/components/shared/containers/SCollapsiblePanel.vue_vue_type_script_setup_true_lang.js +123 -121
- package/dist/src/components/shared/containers/SDrawer.vue.d.ts +16 -5
- package/dist/src/components/shared/containers/SDrawer.vue.js +3 -6
- package/dist/src/components/shared/containers/SDrawer.vue_vue_type_script_setup_true_lang.js +149 -75
- package/dist/src/components/shared/containers/SModal.vue.d.ts +8 -8
- package/dist/src/components/shared/containers/SModal.vue.js +3 -6
- package/dist/src/components/shared/containers/SModal.vue_vue_type_script_setup_true_lang.js +93 -85
- package/dist/src/components/shared/containers/SOverlayHost.vue.d.ts +16 -0
- package/dist/src/components/shared/containers/SOverlayHost.vue.js +8 -0
- package/dist/src/components/shared/containers/SOverlayHost.vue_vue_type_script_setup_true_lang.js +66 -0
- package/dist/src/components/shared/containers/SPageHeader.vue.d.ts +1 -1
- package/dist/src/components/shared/containers/SPanel.vue.d.ts +2 -2
- package/dist/src/components/shared/containers/SPanel.vue_vue_type_script_setup_true_lang.js +7 -7
- package/dist/src/components/shared/containers/SPopover.vue.js +2 -2
- package/dist/src/components/shared/containers/SPopover.vue_vue_type_script_setup_true_lang.js +250 -156
- package/dist/src/components/shared/containers/SSidebarGroup.vue.js +2 -2
- package/dist/src/components/shared/containers/SSidebarGroup.vue_vue_type_script_setup_true_lang.js +30 -8
- package/dist/src/components/shared/containers/SSidebarSection.vue.js +2 -2
- package/dist/src/components/shared/containers/SSidebarSection.vue_vue_type_script_setup_true_lang.js +59 -45
- package/dist/src/components/shared/controls/SButton.vue.d.ts +7 -0
- package/dist/src/components/shared/controls/SButton.vue.js +2 -2
- package/dist/src/components/shared/controls/SButton.vue_vue_type_script_setup_true_lang.js +11 -5
- package/dist/src/components/shared/controls/SCheckbox.vue.d.ts +3 -0
- package/dist/src/components/shared/controls/SCheckbox.vue.js +2 -2
- package/dist/src/components/shared/controls/SCheckbox.vue_vue_type_script_setup_true_lang.js +53 -43
- package/dist/src/components/shared/controls/SCheckboxGroup.vue_vue_type_script_setup_true_lang.js +7 -7
- package/dist/src/components/shared/controls/SChoiceCards.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/src/components/shared/controls/SColorSelect.vue_vue_type_script_setup_true_lang.js +6 -6
- package/dist/src/components/shared/controls/SCombobox.vue.js +2 -2
- package/dist/src/components/shared/controls/SCombobox.vue_vue_type_script_setup_true_lang.js +157 -132
- package/dist/src/components/shared/controls/SComboboxTrigger.vue.d.ts +2 -2
- package/dist/src/components/shared/controls/SContextMenu.vue.d.ts +11 -0
- package/dist/src/components/shared/controls/SContextMenu.vue.js +2 -2
- package/dist/src/components/shared/controls/SContextMenu.vue_vue_type_script_setup_true_lang.js +163 -73
- package/dist/src/components/shared/controls/SContextToggleButton.vue_vue_type_script_setup_true_lang.js +6 -6
- package/dist/src/components/shared/controls/SDragHandle.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/src/components/shared/controls/SDropdownMenu.vue.js +2 -2
- package/dist/src/components/shared/controls/SDropdownMenu.vue_vue_type_script_setup_true_lang.js +77 -65
- package/dist/src/components/shared/controls/SField.vue.d.ts +9 -6
- package/dist/src/components/shared/controls/SField.vue.js +2 -2
- package/dist/src/components/shared/controls/SField.vue_vue_type_script_setup_true_lang.js +69 -52
- package/dist/src/components/shared/controls/SFieldGroup.vue_vue_type_script_setup_true_lang.js +13 -13
- package/dist/src/components/shared/controls/SInlineTokenEditor.vue_vue_type_script_setup_true_lang.js +26 -26
- package/dist/src/components/shared/controls/SInputText.vue_vue_type_script_setup_true_lang.js +21 -21
- package/dist/src/components/shared/controls/SInteractiveSurface.vue.js +2 -2
- package/dist/src/components/shared/controls/SInteractiveSurface.vue_vue_type_script_setup_true_lang.js +99 -74
- package/dist/src/components/shared/controls/SLink.d.ts +11 -1
- package/dist/src/components/shared/controls/SLink.vue.d.ts +17 -1
- package/dist/src/components/shared/controls/SLink.vue.js +2 -2
- package/dist/src/components/shared/controls/SLink.vue_vue_type_script_setup_true_lang.js +157 -62
- package/dist/src/components/shared/controls/SListbox.vue.d.ts +10 -1
- package/dist/src/components/shared/controls/SListbox.vue.js +2 -2
- package/dist/src/components/shared/controls/SListbox.vue_vue_type_script_setup_true_lang.js +371 -189
- package/dist/src/components/shared/controls/SListboxOption.vue.d.ts +6 -0
- package/dist/src/components/shared/controls/SListboxOption.vue.js +2 -2
- package/dist/src/components/shared/controls/SListboxOption.vue_vue_type_script_setup_true_lang.js +47 -34
- package/dist/src/components/shared/controls/SMenuSurface.vue.d.ts +2 -2
- package/dist/src/components/shared/controls/SMenuSurface.vue.js +2 -2
- package/dist/src/components/shared/controls/SMenuSurface.vue_vue_type_script_setup_true_lang.js +145 -115
- package/dist/src/components/shared/controls/SRange.vue_vue_type_script_setup_true_lang.js +12 -12
- package/dist/src/components/shared/controls/SSelect.vue.js +2 -2
- package/dist/src/components/shared/controls/SSelect.vue_vue_type_script_setup_true_lang.js +130 -112
- package/dist/src/components/shared/controls/STextarea.d.ts +1 -1
- package/dist/src/components/shared/controls/STextarea.vue.d.ts +28 -2
- package/dist/src/components/shared/controls/STextarea.vue_vue_type_script_setup_true_lang.js +348 -209
- package/dist/src/components/shared/controls/_internal/SInlineTokenSurface.vue_vue_type_script_lang.js +36 -36
- package/dist/src/components/shared/data-display/SActionList.vue.d.ts +1 -1
- package/dist/src/components/shared/data-display/SActionListItem.vue.d.ts +4 -4
- package/dist/src/components/shared/data-display/SActionListItem.vue_vue_type_script_setup_true_lang.js +6 -6
- package/dist/src/components/shared/data-display/SBadge.vue.d.ts +1 -1
- package/dist/src/components/shared/data-display/SChart.vue_vue_type_script_setup_true_lang.js +89 -89
- package/dist/src/components/shared/data-display/SChip.vue.d.ts +1 -1
- package/dist/src/components/shared/data-display/SChip.vue_vue_type_script_setup_true_lang.js +7 -7
- package/dist/src/components/shared/data-display/SCodeBlock.vue_vue_type_script_setup_true_lang.js +19 -19
- package/dist/src/components/shared/data-display/SCodeEditor.vue_vue_type_script_setup_true_lang.js +37 -37
- package/dist/src/components/shared/data-display/SCodeSearchPanel.vue_vue_type_script_setup_true_lang.js +17 -17
- package/dist/src/components/shared/data-display/SCodeWorkspaceEditor.vue_vue_type_script_setup_true_lang.js +12 -12
- package/dist/src/components/shared/data-display/SControlledToastViewport.vue.js +2 -2
- package/dist/src/components/shared/data-display/SControlledToastViewport.vue_vue_type_script_setup_true_lang.js +57 -48
- package/dist/src/components/shared/data-display/SDiffViewer.vue_vue_type_script_setup_true_lang.js +13 -13
- package/dist/src/components/shared/data-display/SDocBlock.vue_vue_type_script_setup_true_lang.js +12 -12
- package/dist/src/components/shared/data-display/SEmptyState.vue.d.ts +1 -1
- package/dist/src/components/shared/data-display/SEmptyState.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/src/components/shared/data-display/SExpandableText.vue_vue_type_script_setup_true_lang.js +7 -7
- package/dist/src/components/shared/data-display/SKeyValueGrid.vue_vue_type_script_setup_true_lang.js +15 -15
- package/dist/src/components/shared/data-display/SLinkedSystemsList.vue_vue_type_script_setup_true_lang.js +17 -17
- package/dist/src/components/shared/data-display/SMessage.vue.d.ts +1 -1
- package/dist/src/components/shared/data-display/SMessage.vue_vue_type_script_setup_true_lang.js +9 -9
- package/dist/src/components/shared/data-display/SMetricCard.vue.d.ts +1 -1
- package/dist/src/components/shared/data-display/SProgressBar.vue.d.ts +22 -3
- package/dist/src/components/shared/data-display/SProgressBar.vue.js +2 -2
- package/dist/src/components/shared/data-display/SProgressBar.vue_vue_type_script_setup_true_lang.js +133 -47
- package/dist/src/components/shared/data-display/SProgressIndicator.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/src/components/shared/data-display/SRichDocument.vue.js +2 -2
- package/dist/src/components/shared/data-display/SRichDocument.vue_vue_type_script_setup_true_lang.js +46 -23
- package/dist/src/components/shared/data-display/SScrollViewport.vue.d.ts +10 -5
- package/dist/src/components/shared/data-display/SScrollViewport.vue.js +2 -2
- package/dist/src/components/shared/data-display/SScrollViewport.vue_vue_type_script_setup_true_lang.js +162 -111
- package/dist/src/components/shared/data-display/SSectionHeader.vue.d.ts +1 -1
- package/dist/src/components/shared/data-display/SStatus.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/src/components/shared/data-display/STable.vue.js +2 -2
- package/dist/src/components/shared/data-display/STable.vue_vue_type_script_setup_true_lang.js +343 -322
- package/dist/src/components/shared/data-display/STooltip.vue.d.ts +2 -2
- package/dist/src/components/shared/data-display/STooltip.vue_vue_type_script_setup_true_lang.js +284 -205
- package/dist/src/components/shared/data-display/STooltipAnchor.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/src/components/shared/data-display/STooltipTarget.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/src/components/shared/data-display/SVirtualList.vue.js +2 -2
- package/dist/src/components/shared/data-display/SVirtualList.vue_vue_type_script_setup_true_lang.js +196 -246
- package/dist/src/components/shared/data-display/_internal/SRichBlockNode.vue.js +2 -2
- package/dist/src/components/shared/data-display/_internal/SRichBlockNode.vue_vue_type_script_setup_true_lang.js +242 -220
- package/dist/src/components/shared/data-display/_internal/SRichDisclosure.vue.d.ts +13 -2
- package/dist/src/components/shared/data-display/_internal/SRichDisclosure.vue.js +2 -2
- package/dist/src/components/shared/data-display/_internal/SRichDisclosure.vue_vue_type_script_setup_true_lang.js +67 -11
- package/dist/src/components/shared/data-display/_internal/SRichImage.vue.d.ts +11 -0
- package/dist/src/components/shared/data-display/_internal/SRichImage.vue.js +8 -0
- package/dist/src/components/shared/data-display/_internal/SRichImage.vue_vue_type_script_setup_true_lang.js +89 -0
- package/dist/src/components/shared/data-display/_internal/SRichInlineNode.vue.d.ts +3 -2
- package/dist/src/components/shared/data-display/_internal/SRichInlineNode.vue.js +2 -2
- package/dist/src/components/shared/data-display/_internal/SRichInlineNode.vue_vue_type_script_setup_true_lang.js +179 -125
- package/dist/src/components/shared/data-display/_internal/SRichMath.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/src/components/shared/data-display/_internal/SRichTableNode.vue.d.ts +21 -0
- package/dist/src/components/shared/data-display/_internal/SRichTableNode.vue.js +5 -0
- package/dist/src/components/shared/data-display/_internal/SRichTableNode.vue_vue_type_script_setup_true_lang.js +150 -0
- package/dist/src/components/shared/data-display/_internal/STableCell.vue.d.ts +52 -0
- package/dist/src/components/shared/data-display/_internal/STableCell.vue.js +8 -0
- package/dist/src/components/shared/data-display/_internal/STableCell.vue_vue_type_script_setup_true_lang.js +148 -0
- package/dist/src/components/shared/data-display/_internal/STableFrame.vue.d.ts +42 -0
- package/dist/src/components/shared/data-display/_internal/STableFrame.vue.js +8 -0
- package/dist/src/components/shared/data-display/_internal/STableFrame.vue_vue_type_script_setup_true_lang.js +114 -0
- package/dist/src/components/shared/data-display/_internal/STableRow.vue.d.ts +43 -0
- package/dist/src/components/shared/data-display/_internal/STableRow.vue.js +8 -0
- package/dist/src/components/shared/data-display/_internal/STableRow.vue_vue_type_script_setup_true_lang.js +115 -0
- package/dist/src/components/shared/data-display/_internal/STableSection.vue.d.ts +28 -0
- package/dist/src/components/shared/data-display/_internal/STableSection.vue.js +5 -0
- package/dist/src/components/shared/data-display/_internal/STableSection.vue_vue_type_script_setup_true_lang.js +77 -0
- package/dist/src/components/shared/data-display/_internal/richDocumentMedia.d.ts +6 -0
- package/dist/src/components/shared/data-display/_internal/richDocumentMedia.js +136 -0
- package/dist/src/components/shared/data-display/_internal/richDocumentMetadata.d.ts +21 -0
- package/dist/src/components/shared/data-display/_internal/richDocumentMetadata.js +39 -0
- package/dist/src/components/shared/data-display/_internal/richDocumentNavigation.d.ts +30 -0
- package/dist/src/components/shared/data-display/_internal/richDocumentNavigation.js +88 -0
- package/dist/src/components/shared/data-display/_internal/richDocumentTableValidation.d.ts +9 -0
- package/dist/src/components/shared/data-display/_internal/richDocumentTableValidation.js +240 -0
- package/dist/src/components/shared/data-display/_internal/richDocumentTraversal.d.ts +15 -0
- package/dist/src/components/shared/data-display/_internal/richDocumentTraversal.js +61 -0
- package/dist/src/components/shared/data-display/_internal/richDocumentTypes.d.ts +466 -0
- package/dist/src/components/shared/data-display/_internal/richDocumentValidation.d.ts +65 -0
- package/dist/src/components/shared/data-display/_internal/richDocumentValidation.js +192 -0
- package/dist/src/components/shared/data-display/_internal/tableFoundation.d.ts +27 -0
- package/dist/src/components/shared/data-display/_internal/tableFoundation.js +16 -0
- package/dist/src/components/shared/data-display/richDocument.d.ts +3 -220
- package/dist/src/components/shared/data-display/richDocument.js +607 -399
- package/dist/src/components/shared/data-display/scrollViewport.d.ts +2 -0
- package/dist/src/components/shared/database/SDataGrid.vue_vue_type_script_setup_true_lang.js +36 -36
- package/dist/src/components/shared/database/SSqlEditor.vue.d.ts +2 -2
- package/dist/src/components/shared/database/SSqlEditor.vue_vue_type_script_setup_true_lang.js +36 -36
- package/dist/src/components/shared/feedback/SAsyncState.vue.js +2 -2
- package/dist/src/components/shared/feedback/SAsyncState.vue_vue_type_script_setup_true_lang.js +70 -63
- package/dist/src/components/shared/navigation/SBottomNav.vue.d.ts +2 -2
- package/dist/src/components/shared/navigation/SBottomNav.vue.js +2 -2
- package/dist/src/components/shared/navigation/SBottomNav.vue_vue_type_script_setup_true_lang.js +140 -129
- package/dist/src/components/shared/navigation/SBreadcrumbs.vue.d.ts +2 -2
- package/dist/src/components/shared/navigation/STabList.vue.d.ts +1 -1
- package/dist/src/components/shared/navigation/STabPanel.vue.d.ts +2 -2
- package/dist/src/components/shared/navigation/SWizardSteps.vue_vue_type_script_setup_true_lang.js +16 -16
- package/dist/src/components/shared/persona/SPersonaProjectPicker.vue.d.ts +2 -2
- package/dist/src/composables/useDialogOverlay.d.ts +21 -2
- package/dist/src/composables/useDialogOverlay.js +275 -44
- package/dist/src/composables/useFloatingPosition.d.ts +20 -0
- package/dist/src/composables/useFloatingPosition.js +129 -52
- package/dist/src/internal/fieldSurface.d.ts +3 -0
- package/dist/src/internal/fieldSurface.js +3 -2
- package/dist/src/internal/flatTree.d.ts +8 -0
- package/dist/src/internal/flatTree.js +23 -0
- package/dist/src/internal/focusNavigation.d.ts +5 -0
- package/dist/src/internal/focusNavigation.js +29 -16
- package/dist/src/internal/inertLease.d.ts +8 -0
- package/dist/src/internal/inertLease.js +33 -0
- package/dist/src/internal/layerStack.d.ts +52 -0
- package/dist/src/internal/layerStack.js +343 -60
- package/dist/src/internal/linkTarget.d.ts +7 -1
- package/dist/src/internal/linkTarget.js +11 -7
- package/dist/src/internal/nativeFocus.d.ts +4 -0
- package/dist/src/internal/nativeFocus.js +12 -0
- package/dist/src/internal/overlayHost.d.ts +18 -0
- package/dist/src/internal/overlayHost.js +18 -0
- package/dist/src/internal/overlayPortal.d.ts +17 -0
- package/dist/src/internal/overlayPortal.js +23 -0
- package/dist/src/internal/ownedAttrs.d.ts +13 -3
- package/dist/src/internal/ownedAttrs.js +8 -1
- package/dist/src/internal/runtimeContract.d.ts +2 -0
- package/dist/src/internal/runtimeContract.js +10 -5
- package/dist/src/internal/semanticSizing.d.ts +2 -2
- package/dist/src/internal/semanticSizing.js +2 -1
- package/dist/src/internal/useMenuLayer.d.ts +8 -4
- package/dist/src/internal/useMenuLayer.js +78 -49
- package/dist/src/internal/viewportModality.d.ts +27 -0
- package/dist/src/internal/viewportModality.js +132 -0
- package/dist/tailwind.css +3 -0
- package/dist/typography.LICENSE.txt +94 -0
- package/dist/typography.js +5105 -0
- package/docs/getting-started.md +39 -0
- package/docs/link-download.md +114 -0
- package/docs/listbox.md +129 -0
- package/docs/overlay-lifecycle.md +195 -0
- package/docs/public-api.md +335 -6
- package/docs/resize.md +158 -0
- package/docs/rich-document.md +442 -25
- package/docs/scroll-viewport.md +30 -10
- package/docs/theming.md +42 -8
- package/package.json +12 -4
- package/src/components/shared/_internal/SDialogSurface.css +213 -36
- package/src/components/shared/_internal/SMenuLayer.css +4 -0
- package/src/components/shared/containers/SOverlayHost.css +14 -0
- package/src/components/shared/containers/SPopover.css +8 -2
- package/src/components/shared/controls/SButton.css +4 -3
- package/src/components/shared/controls/SCheckbox.css +19 -7
- package/src/components/shared/controls/SField.css +6 -0
- package/src/components/shared/controls/SListbox.css +17 -0
- package/src/components/shared/controls/SMenuSurface.css +18 -4
- package/src/components/shared/controls/STextarea.css +42 -3
- package/src/components/shared/data-display/SControlledToastViewport.css +2 -10
- package/src/components/shared/data-display/SProgressBar.css +79 -0
- package/src/components/shared/data-display/SRichDocument.css +1 -0
- package/src/components/shared/data-display/SScrollViewport.css +17 -1
- package/src/components/shared/data-display/SStatus.css +8 -25
- package/src/components/shared/data-display/STable.css +0 -113
- package/src/components/shared/data-display/STooltip.css +3 -0
- package/src/components/shared/data-display/_internal/SRichBlockNode.css +11 -7
- package/src/components/shared/data-display/_internal/SRichDisclosure.css +16 -0
- package/src/components/shared/data-display/_internal/SRichImage.css +37 -0
- package/src/components/shared/data-display/_internal/STableCell.css +55 -0
- package/src/components/shared/data-display/_internal/STableFrame.css +37 -0
- package/src/components/shared/data-display/_internal/STableRow.css +12 -0
- package/src/components/shared/feedback/SAsyncState.css +0 -4
- package/src/styles/style.css +9 -5
- package/src/styles/tokens.css +30 -0
- package/dist/assets/src/components/layout/SDockRegion.vue_vue_type_style_index_0_scoped_2932631d_lang.css +0 -1
- package/dist/assets/src/components/shared/_internal/SDialogSurface.css_vue_type_style_index_0_src_d1b65adf_scoped_d1b65adf_lang.css +0 -2
- package/dist/assets/src/components/shared/_internal/SMenuLayer.css_vue_type_style_index_0_src_4913bbe1_scoped_4913bbe1_lang.css +0 -1
- package/dist/assets/src/components/shared/containers/SDrawer.css_vue_type_style_index_0_src_091d7325_scoped_091d7325_lang.css +0 -2
- package/dist/assets/src/components/shared/containers/SModal.css_vue_type_style_index_0_src_0dc51b74_scoped_0dc51b74_lang.css +0 -2
- package/dist/assets/src/components/shared/containers/SPopover.css_vue_type_style_index_0_src_deded766_scoped_deded766_lang.css +0 -2
- package/dist/assets/src/components/shared/containers/SSidebarSection.css_vue_type_style_index_0_src_96f51ac6_scoped_96f51ac6_lang.css +0 -2
- package/dist/assets/src/components/shared/controls/SButton.css_vue_type_style_index_0_src_a5d8f7e0_scoped_a5d8f7e0_lang.css +0 -2
- package/dist/assets/src/components/shared/controls/SCheckbox.css_vue_type_style_index_0_src_b20b27dd_scoped_b20b27dd_lang.css +0 -2
- package/dist/assets/src/components/shared/controls/SCombobox.css_vue_type_style_index_0_src_e3b4f580_scoped_e3b4f580_lang.css +0 -2
- package/dist/assets/src/components/shared/controls/SContextMenu.css_vue_type_style_index_0_src_00c91d39_scoped_00c91d39_lang.css +0 -1
- package/dist/assets/src/components/shared/controls/SField.css_vue_type_style_index_0_src_60628f96_scoped_60628f96_lang.css +0 -2
- package/dist/assets/src/components/shared/controls/SListbox.css_vue_type_style_index_0_src_24db4abb_scoped_24db4abb_lang.css +0 -2
- package/dist/assets/src/components/shared/controls/SMenuSurface.css_vue_type_style_index_0_src_ddcc5fbb_scoped_ddcc5fbb_lang.css +0 -2
- package/dist/assets/src/components/shared/controls/SSelect.css_vue_type_style_index_0_src_441648c9_scoped_441648c9_lang.css +0 -2
- package/dist/assets/src/components/shared/data-display/SControlledToastViewport.css_vue_type_style_index_0_src_5864b6c6_scoped_5864b6c6_lang.css +0 -2
- package/dist/assets/src/components/shared/data-display/SProgressBar.css_vue_type_style_index_0_src_9308293a_scoped_9308293a_lang.css +0 -2
- package/dist/assets/src/components/shared/data-display/SRichDocument.css_vue_type_style_index_0_src_d1afafc5_scoped_d1afafc5_lang.css +0 -2
- package/dist/assets/src/components/shared/data-display/SScrollViewport.css_vue_type_style_index_0_src_e5d11342_scoped_e5d11342_lang.css +0 -2
- package/dist/assets/src/components/shared/data-display/STable.css_vue_type_style_index_0_src_9955d482_scoped_9955d482_lang.css +0 -2
- package/dist/assets/src/components/shared/data-display/SVirtualList.css_vue_type_style_index_0_src_cee8c247_scoped_cee8c247_lang.css +0 -2
- package/dist/assets/src/components/shared/data-display/_internal/SRichBlockNode.css_vue_type_style_index_0_src_195d5c06_scoped_195d5c06_lang.css +0 -2
- package/dist/assets/src/components/shared/data-display/_internal/SRichDisclosure.css_vue_type_style_index_0_src_fa94e2ff_scoped_fa94e2ff_lang.css +0 -2
- package/dist/assets/src/components/shared/feedback/SAsyncState.css_vue_type_style_index_0_src_bfc28903_scoped_bfc28903_lang.css +0 -2
- package/src/components/shared/containers/SDrawer.css +0 -69
- package/src/components/shared/containers/SModal.css +0 -27
package/dist/src/components/shared/containers/SSidebarGroup.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -202,9 +202,15 @@ var b = /*@__PURE__*/ l({
|
|
|
202
202
|
}
|
|
203
203
|
function q(e, t) {
|
|
204
204
|
if (K(e, t), A !== null) throw Error(`SSidebarGroup: resize '${A.topKey}'/'${A.bottomKey}' is already active`);
|
|
205
|
+
let n = /* @__PURE__ */ new Map();
|
|
206
|
+
for (let e of F.value.filter((e) => e.state.isOpen)) {
|
|
207
|
+
let t = E.get(e.key) ?? Math.max(e.state.minSize, M(e.element, `sections.${e.key}`));
|
|
208
|
+
n.set(e.key, t), E.set(e.key, t);
|
|
209
|
+
}
|
|
205
210
|
A = Object.freeze({
|
|
206
211
|
topKey: e,
|
|
207
|
-
bottomKey: t
|
|
212
|
+
bottomKey: t,
|
|
213
|
+
sizes: n
|
|
208
214
|
}), k.value += 1;
|
|
209
215
|
}
|
|
210
216
|
function J(e, n, r) {
|
|
@@ -223,20 +229,35 @@ var b = /*@__PURE__*/ l({
|
|
|
223
229
|
E.set(e.key, t - n), f -= n;
|
|
224
230
|
}
|
|
225
231
|
let p = E.get(u.key) ?? M(u.element, `sections.${u.key}`);
|
|
226
|
-
E.set(u.key, p + d), k.value += 1;
|
|
227
|
-
|
|
232
|
+
E.set(u.key, p + d), k.value += 1, A === null && Y(i);
|
|
233
|
+
}
|
|
234
|
+
function Y(e) {
|
|
235
|
+
let t = e.filter((e) => e.state.size !== null).map((e) => ({
|
|
228
236
|
key: e.key,
|
|
229
237
|
state: {
|
|
230
238
|
...e.state,
|
|
231
239
|
size: E.get(e.key)
|
|
232
240
|
}
|
|
233
241
|
}));
|
|
234
|
-
|
|
242
|
+
t.length > 0 && L(t);
|
|
235
243
|
}
|
|
236
|
-
function
|
|
244
|
+
function X(e, t) {
|
|
237
245
|
if (A === null) throw Error("SSidebarGroup: cannot finish a resize that is not active");
|
|
238
246
|
if (A.topKey !== e || A.bottomKey !== t) throw Error("SSidebarGroup: resize end does not match the active section pair");
|
|
239
|
-
|
|
247
|
+
let n = [...A.sizes].some(([e, t]) => E.get(e) !== t);
|
|
248
|
+
A = null, n && Y(F.value.filter((e) => e.state.isOpen)), R();
|
|
249
|
+
}
|
|
250
|
+
function Z(e) {
|
|
251
|
+
A = null;
|
|
252
|
+
for (let [t, n] of e.sizes) E.set(t, n);
|
|
253
|
+
k.value += 1, R();
|
|
254
|
+
}
|
|
255
|
+
function Q(e, t) {
|
|
256
|
+
if (O) {
|
|
257
|
+
if (A === null) throw Error("SSidebarGroup: cannot cancel a resize that is not active");
|
|
258
|
+
if (A.topKey !== e || A.bottomKey !== t) throw Error("SSidebarGroup: resize cancellation does not match the active section pair");
|
|
259
|
+
Z(A);
|
|
260
|
+
}
|
|
240
261
|
}
|
|
241
262
|
return m(o, {
|
|
242
263
|
sectionsState: s(j),
|
|
@@ -248,7 +269,8 @@ var b = /*@__PURE__*/ l({
|
|
|
248
269
|
getSectionSize: G,
|
|
249
270
|
beginResize: q,
|
|
250
271
|
resizeSections: J,
|
|
251
|
-
finishResize:
|
|
272
|
+
finishResize: X,
|
|
273
|
+
cancelResize: Q
|
|
252
274
|
}), y(() => x.sectionsState, () => {
|
|
253
275
|
j(), R();
|
|
254
276
|
}, {
|
|
@@ -260,7 +282,7 @@ var b = /*@__PURE__*/ l({
|
|
|
260
282
|
if (!e) throw Error("SSidebarGroup: group element is unavailable during mount");
|
|
261
283
|
D = new ResizeObserver(R), D.observe(e), R();
|
|
262
284
|
}), d(() => {
|
|
263
|
-
O = !1, k.value += 1, A
|
|
285
|
+
O = !1, k.value += 1, A !== null && Z(A), D?.disconnect(), D = null, T.value = Object.freeze([]);
|
|
264
286
|
}), (e, t) => (p(), c("div", u(v(C).bindings(), {
|
|
265
287
|
ref_key: "groupRef",
|
|
266
288
|
ref: w,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../../../assets/src/components/shared/containers/SSidebarSection.
|
|
1
|
+
import "../../../../assets/src/components/shared/containers/SSidebarSection.css_vue_type_style_index_0_src_52396e42_scoped_52396e42_lang.css";
|
|
2
2
|
import e from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
3
|
import t from "./SSidebarSection.vue_vue_type_script_setup_true_lang.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
//#region src/components/shared/containers/SSidebarSection.vue
|
|
6
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
6
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-52396e42"]]);
|
|
7
7
|
//#endregion
|
|
8
8
|
export { n as default };
|
package/dist/src/components/shared/containers/SSidebarSection.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -36,96 +36,110 @@ var E = { class: "s-sidebar-section" }, D = { class: "s-sidebar-section-trigger"
|
|
|
36
36
|
if (!F) throw Error("SSidebarSection: component must be rendered inside SSidebarGroup");
|
|
37
37
|
let I = F;
|
|
38
38
|
if (A.stateKey.trim().length === 0) throw TypeError("SSidebarSection: stateKey must be a non-empty string");
|
|
39
|
-
let L = A.stateKey, R = `s-sidebar-section-${S()}-${A.stateKey.replace(/[^a-zA-Z0-9_-]/g, "-")}`, z = null, B = y(!1);
|
|
39
|
+
let L = A.stateKey, R = `s-sidebar-section-${S()}-${A.stateKey.replace(/[^a-zA-Z0-9_-]/g, "-")}`, z = null, B = null, V = y(!1);
|
|
40
40
|
_(() => {
|
|
41
41
|
let e = M.value;
|
|
42
42
|
if (!e) throw Error("SSidebarSection: section wrapper is unavailable during mount");
|
|
43
43
|
z = I.registerSection({
|
|
44
44
|
key: L,
|
|
45
45
|
element: e
|
|
46
|
-
}),
|
|
46
|
+
}), V.value = !0;
|
|
47
47
|
}), g(() => {
|
|
48
|
-
|
|
48
|
+
$(), V.value = !1, z?.(), z = null;
|
|
49
49
|
}), w(() => A.stateKey, (e) => {
|
|
50
50
|
if (e !== L) throw Error(`SSidebarSection: stateKey is immutable after setup; received '${L}' -> '${e}'`);
|
|
51
51
|
});
|
|
52
|
-
let
|
|
52
|
+
let H = o(() => {
|
|
53
53
|
let e = I.orderedSections.value.findIndex((e) => e.key === L);
|
|
54
|
-
if (
|
|
54
|
+
if (V.value && e < 0) throw Error(`SSidebarSection: registered section '${L}' is absent from group order`);
|
|
55
55
|
return e;
|
|
56
|
-
}),
|
|
56
|
+
}), U = o(() => {
|
|
57
57
|
let e = I.sectionsState.value[L];
|
|
58
58
|
if (!e) throw Error(`SSidebarSection: sectionsState has no entry for stateKey '${L}'`);
|
|
59
59
|
return e.isOpen;
|
|
60
|
-
}),
|
|
60
|
+
}), W = e({
|
|
61
61
|
id: R,
|
|
62
|
-
open:
|
|
62
|
+
open: U,
|
|
63
63
|
disabled: () => A.disabled ?? !1,
|
|
64
64
|
onUpdate: () => I.toggleSection(L)
|
|
65
|
-
}), { triggerId:
|
|
66
|
-
if (
|
|
65
|
+
}), { triggerId: G, panelId: K } = W, q = o(() => I.getSectionStyle(L)), J = o(() => {
|
|
66
|
+
if (H.value <= 0 || !U.value) return !1;
|
|
67
67
|
let e = I.orderedSections.value;
|
|
68
|
-
for (let t =
|
|
68
|
+
for (let t = H.value - 1; t >= 0; t--) if (e[t]?.state.isOpen) return !0;
|
|
69
69
|
return !1;
|
|
70
|
-
}),
|
|
71
|
-
for (let e =
|
|
70
|
+
}), Y = o(() => {
|
|
71
|
+
for (let e = H.value - 1; e >= 0; e--) if (I.orderedSections.value[e]?.state.isOpen) return e;
|
|
72
72
|
return -1;
|
|
73
73
|
});
|
|
74
|
-
function
|
|
74
|
+
function X(e) {
|
|
75
75
|
return Math.max(e.state.minSize, I.getSectionSize(e.key));
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
if (
|
|
79
|
-
let e = I.orderedSections.value, t = e[
|
|
77
|
+
function Z() {
|
|
78
|
+
if (Y.value < 0 || H.value < 0) throw Error(`SSidebarSection: resize pair is unavailable for section '${L}'`);
|
|
79
|
+
let e = I.orderedSections.value, t = e[Y.value], n = e[H.value];
|
|
80
80
|
if (!t || !n) throw Error(`SSidebarSection: resize pair indices are outside mounted group order for section '${L}'`);
|
|
81
81
|
return [t, n];
|
|
82
82
|
}
|
|
83
|
-
let
|
|
83
|
+
let Q = o(() => {
|
|
84
84
|
I.geometryRevision.value;
|
|
85
|
-
let [e, t] =
|
|
85
|
+
let [e, t] = Z(), n = I.orderedSections.value.filter((e) => e.state.isOpen), r = n.findIndex((t) => t.key === e.key), i = n.slice(0, r + 1), a = n.slice(r + 1), o = i.reduce((e, t) => e + X(t), 0), s = i.reduce((e, t) => e + t.state.minSize, 0), c = a.reduce((e, t) => e + t.state.minSize, 0), l = o + a.reduce((e, t) => e + X(t), 0);
|
|
86
86
|
return {
|
|
87
|
+
identity: JSON.stringify([e.key, t.key]),
|
|
87
88
|
value: o,
|
|
88
89
|
min: s,
|
|
89
90
|
max: Math.max(s, l - c),
|
|
90
91
|
testId: `sidebar-resize-${e.key}-${t.key}`
|
|
91
92
|
};
|
|
92
93
|
});
|
|
93
|
-
function
|
|
94
|
-
let [e, t] =
|
|
95
|
-
I.beginResize(e.key, t.key);
|
|
94
|
+
function ee() {
|
|
95
|
+
let [e, t] = Z();
|
|
96
|
+
I.beginResize(e.key, t.key), B = [e.key, t.key];
|
|
96
97
|
}
|
|
97
|
-
function
|
|
98
|
-
|
|
98
|
+
function te(e) {
|
|
99
|
+
if (B !== null) {
|
|
100
|
+
I.resizeSections(B[0], B[1], e);
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
let [t, n] = Z();
|
|
99
104
|
I.resizeSections(t.key, n.key, e);
|
|
100
105
|
}
|
|
101
|
-
function
|
|
102
|
-
|
|
103
|
-
|
|
106
|
+
function ne(e, t) {
|
|
107
|
+
if (t === void 0) return;
|
|
108
|
+
if (B === null) throw Error("SSidebarSection: resize completion has no active section pair");
|
|
109
|
+
let n = B;
|
|
110
|
+
B = null, I.finishResize(n[0], n[1]);
|
|
111
|
+
}
|
|
112
|
+
function $() {
|
|
113
|
+
let e = B;
|
|
114
|
+
e !== null && (B = null, I.cancelResize(e[0], e[1]));
|
|
104
115
|
}
|
|
105
116
|
return (e, t) => (v(), l("div", m(x(N).bindings(), {
|
|
106
117
|
ref_key: "sectionEl",
|
|
107
118
|
ref: M,
|
|
108
|
-
class: ["s-sidebar-section-wrapper", { "s-sidebar-section-wrapper--resizable-before":
|
|
109
|
-
style:
|
|
110
|
-
}), [
|
|
111
|
-
key:
|
|
119
|
+
class: ["s-sidebar-section-wrapper", { "s-sidebar-section-wrapper--resizable-before": J.value }],
|
|
120
|
+
style: q.value
|
|
121
|
+
}), [J.value ? (v(), s(r, {
|
|
122
|
+
key: Q.value.identity,
|
|
112
123
|
orientation: "horizontal",
|
|
113
124
|
label: "Изменить высоту секций",
|
|
114
|
-
value:
|
|
115
|
-
min:
|
|
116
|
-
max:
|
|
125
|
+
value: Q.value.value,
|
|
126
|
+
min: Q.value.min,
|
|
127
|
+
max: Q.value.max,
|
|
117
128
|
step: 10,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
129
|
+
disabled: f.disabled,
|
|
130
|
+
"data-test-id": Q.value.testId,
|
|
131
|
+
onResizeStart: ee,
|
|
132
|
+
onResize: te,
|
|
133
|
+
onResizeEnd: ne,
|
|
134
|
+
onResizeCancel: $
|
|
122
135
|
}, null, 8, [
|
|
123
136
|
"value",
|
|
124
137
|
"min",
|
|
125
138
|
"max",
|
|
139
|
+
"disabled",
|
|
126
140
|
"data-test-id"
|
|
127
141
|
])) : c("", !0), u("div", E, [u("div", { class: h(["s-sidebar-section-header", { "s-sidebar-section-header--mobile": f.layout === "mobile" }]) }, [u("div", D, [d(n, {
|
|
128
|
-
id: x(
|
|
142
|
+
id: x(G),
|
|
129
143
|
size: f.layout === "mobile" ? "xs" : "sm",
|
|
130
144
|
spacing: "tight",
|
|
131
145
|
"hover-surface": "parent",
|
|
@@ -137,11 +151,11 @@ var E = { class: "s-sidebar-section" }, D = { class: "s-sidebar-section-trigger"
|
|
|
137
151
|
"data-sidebar-section-toggle": "",
|
|
138
152
|
disabled: f.disabled,
|
|
139
153
|
disclosure: {
|
|
140
|
-
expanded:
|
|
141
|
-
controls: x(
|
|
154
|
+
expanded: U.value,
|
|
155
|
+
controls: x(K),
|
|
142
156
|
iconPlacement: "leading"
|
|
143
157
|
},
|
|
144
|
-
onClick: x(
|
|
158
|
+
onClick: x(W).toggle
|
|
145
159
|
}, {
|
|
146
160
|
default: T(() => [d(i, {
|
|
147
161
|
title: f.summary,
|
|
@@ -167,10 +181,10 @@ var E = { class: "s-sidebar-section" }, D = { class: "s-sidebar-section-trigger"
|
|
|
167
181
|
"disabled",
|
|
168
182
|
"disclosure",
|
|
169
183
|
"onClick"
|
|
170
|
-
])]), P.value ? (v(), l("div", O, [b(e.$slots, "actions", {}, void 0, !0)])) : c("", !0)], 2),
|
|
184
|
+
])]), P.value ? (v(), l("div", O, [b(e.$slots, "actions", {}, void 0, !0)])) : c("", !0)], 2), U.value ? (v(), l("div", {
|
|
171
185
|
key: 0,
|
|
172
|
-
id: x(
|
|
173
|
-
"aria-labelledby": x(
|
|
186
|
+
id: x(K),
|
|
187
|
+
"aria-labelledby": x(G),
|
|
174
188
|
role: "region",
|
|
175
189
|
tabindex: "0",
|
|
176
190
|
class: "s-sidebar-section-content"
|
|
@@ -53,6 +53,7 @@ export type SButtonActionProps = SButtonPresentationProps & {
|
|
|
53
53
|
to?: never;
|
|
54
54
|
target?: never;
|
|
55
55
|
rel?: never;
|
|
56
|
+
download?: never;
|
|
56
57
|
type?: SButtonNativeType;
|
|
57
58
|
};
|
|
58
59
|
interface SButtonNavigationOptions {
|
|
@@ -63,10 +64,12 @@ export type SButtonNavigationProps = SButtonPresentationProps & SButtonNavigatio
|
|
|
63
64
|
href: string;
|
|
64
65
|
to?: never;
|
|
65
66
|
type?: never;
|
|
67
|
+
download?: string | boolean;
|
|
66
68
|
} | {
|
|
67
69
|
href?: never;
|
|
68
70
|
to: LinkRouterTarget;
|
|
69
71
|
type?: never;
|
|
72
|
+
download?: never;
|
|
70
73
|
});
|
|
71
74
|
/** Strict action/navigation XOR with a shared button presentation. */
|
|
72
75
|
export type Props = SButtonActionProps | SButtonNavigationProps;
|
|
@@ -78,20 +81,24 @@ declare const __VLS_base: import('vue').DefineComponent<SButtonActionProps | (SB
|
|
|
78
81
|
href: string;
|
|
79
82
|
to?: never;
|
|
80
83
|
type?: never;
|
|
84
|
+
download?: string | boolean;
|
|
81
85
|
}) | (SButtonPresentationProps & SButtonNavigationOptions & {
|
|
82
86
|
href?: never;
|
|
83
87
|
to: LinkRouterTarget;
|
|
84
88
|
type?: never;
|
|
89
|
+
download?: never;
|
|
85
90
|
}), SButtonApi, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
86
91
|
click: (event: MouseEvent) => any;
|
|
87
92
|
}, string, import('vue').PublicProps, Readonly<SButtonActionProps | (SButtonPresentationProps & SButtonNavigationOptions & {
|
|
88
93
|
href: string;
|
|
89
94
|
to?: never;
|
|
90
95
|
type?: never;
|
|
96
|
+
download?: string | boolean;
|
|
91
97
|
}) | (SButtonPresentationProps & SButtonNavigationOptions & {
|
|
92
98
|
href?: never;
|
|
93
99
|
to: LinkRouterTarget;
|
|
94
100
|
type?: never;
|
|
101
|
+
download?: never;
|
|
95
102
|
})> & Readonly<{
|
|
96
103
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
97
104
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../../../assets/src/components/shared/controls/SButton.
|
|
1
|
+
import "../../../../assets/src/components/shared/controls/SButton.css_vue_type_style_index_0_src_7a5acda9_scoped_7a5acda9_lang.css";
|
|
2
2
|
import e from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
3
|
import t from "./SButton.vue_vue_type_script_setup_true_lang.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
//#region src/components/shared/controls/SButton.vue
|
|
6
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
6
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-7a5acda9"]]);
|
|
7
7
|
//#endregion
|
|
8
8
|
export { n as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChevronRight as e } from "../../icons/_internal/generatedSputnigUiIconComponents.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { validateExactString as t } from "../../../internal/runtimeContract.js";
|
|
3
|
+
import { useOwnedAttrs as n } from "../../../internal/ownedAttrs.js";
|
|
4
4
|
import { resolveSemanticToneBinding as r } from "../../../internal/semanticTone.js";
|
|
5
5
|
import i from "../data-display/SBadge.vue.js";
|
|
6
6
|
import { PassiveContentBoundary as a, useInteractiveLeafRegistration as o } from "../../../internal/passiveContentContract.js";
|
|
@@ -71,6 +71,10 @@ var D = {
|
|
|
71
71
|
to: {},
|
|
72
72
|
target: {},
|
|
73
73
|
rel: {},
|
|
74
|
+
download: {
|
|
75
|
+
type: [String, Boolean],
|
|
76
|
+
default: () => void 0
|
|
77
|
+
},
|
|
74
78
|
type: {}
|
|
75
79
|
},
|
|
76
80
|
emits: ["click"],
|
|
@@ -83,10 +87,10 @@ var D = {
|
|
|
83
87
|
"warn",
|
|
84
88
|
"danger",
|
|
85
89
|
"contrast"
|
|
86
|
-
], L = F, R = ee(), z = () => R.default?.() ?? [], B = b(null), V =
|
|
90
|
+
], L = F, R = ee(), z = () => R.default?.() ?? [], B = b(null), V = n({
|
|
87
91
|
component: "SButton",
|
|
88
92
|
owner: "native button"
|
|
89
|
-
}), H = u(() => r("SButton", "severity", _.severity, I)), U = u(() =>
|
|
93
|
+
}), H = u(() => r("SButton", "severity", _.severity, I)), U = u(() => t("SButton", "labelOverflow", _.labelOverflow, ["truncate", "wrap"])), W = c({
|
|
90
94
|
owner: "SButton",
|
|
91
95
|
element: B,
|
|
92
96
|
disabled: () => _.disabled || _.loading
|
|
@@ -95,13 +99,14 @@ var D = {
|
|
|
95
99
|
let G = u(() => {
|
|
96
100
|
let e = _.href !== void 0, t = _.to !== void 0;
|
|
97
101
|
if (e && t) throw TypeError("SButton: передайте не более одного navigation target — href или to");
|
|
98
|
-
if (!e && !t) return null;
|
|
102
|
+
if (!e && !t && _.download === void 0) return null;
|
|
99
103
|
if (_.type !== void 0) throw TypeError("SButton: navigation target несовместим с native button type");
|
|
100
104
|
return s({
|
|
101
105
|
href: _.href,
|
|
102
106
|
to: _.to,
|
|
103
107
|
target: _.target,
|
|
104
108
|
rel: _.rel,
|
|
109
|
+
download: _.download,
|
|
105
110
|
owner: "SButton"
|
|
106
111
|
});
|
|
107
112
|
}), K = u(() => _.disabled || _.loading), q = u(() => {
|
|
@@ -122,6 +127,7 @@ var D = {
|
|
|
122
127
|
} : K.value ? {
|
|
123
128
|
...n,
|
|
124
129
|
"aria-disabled": !0,
|
|
130
|
+
role: "link",
|
|
125
131
|
tabindex: -1
|
|
126
132
|
} : {
|
|
127
133
|
...n,
|
|
@@ -9,6 +9,8 @@ export interface Props {
|
|
|
9
9
|
errorMessage?: string;
|
|
10
10
|
id?: string;
|
|
11
11
|
indeterminate?: boolean;
|
|
12
|
+
/** Inline phrasing markup for checkboxes embedded in document text. */
|
|
13
|
+
presentation?: 'field' | 'inline';
|
|
12
14
|
}
|
|
13
15
|
declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
16
|
click: (event: MouseEvent) => any;
|
|
@@ -24,6 +26,7 @@ declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {},
|
|
|
24
26
|
disabled: boolean;
|
|
25
27
|
indeterminate: boolean;
|
|
26
28
|
readonly: boolean;
|
|
29
|
+
presentation: "field" | "inline";
|
|
27
30
|
helpText: string;
|
|
28
31
|
errorMessage: string;
|
|
29
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../../../assets/src/components/shared/controls/SCheckbox.
|
|
1
|
+
import "../../../../assets/src/components/shared/controls/SCheckbox.css_vue_type_style_index_0_src_2562f916_scoped_2562f916_lang.css";
|
|
2
2
|
import e from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
3
|
import t from "./SCheckbox.vue_vue_type_script_setup_true_lang.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
//#region src/components/shared/controls/SCheckbox.vue
|
|
6
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
6
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-2562f916"]]);
|
|
7
7
|
//#endregion
|
|
8
8
|
export { n as default };
|
package/dist/src/components/shared/controls/SCheckbox.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Check as e, Minus as t } from "../../icons/_internal/generatedSputnigUiIconComponents.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import o from "
|
|
6
|
-
import
|
|
2
|
+
import { validateExactString as n } from "../../../internal/runtimeContract.js";
|
|
3
|
+
import { mergeIdReferences as r, useOwnedAttrs as i } from "../../../internal/ownedAttrs.js";
|
|
4
|
+
import { useInteractiveLeafRegistration as a } from "../../../internal/passiveContentContract.js";
|
|
5
|
+
import { useBinaryInput as o } from "../../../internal/useBinaryInput.js";
|
|
6
|
+
import s from "./SField.vue.js";
|
|
7
|
+
import { computed as c, createBlock as l, createElementVNode as u, defineComponent as d, mergeProps as f, openBlock as p, resolveDynamicComponent as m, unref as h, withCtx as g, withModifiers as _ } from "vue";
|
|
7
8
|
//#region src/components/shared/controls/SCheckbox.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
-
var
|
|
9
|
+
var v = ["data-presentation"], y = [
|
|
9
10
|
"id",
|
|
10
11
|
"checked",
|
|
11
12
|
"disabled",
|
|
@@ -13,7 +14,10 @@ var g = { class: "s-checkbox-control" }, _ = [
|
|
|
13
14
|
"aria-invalid",
|
|
14
15
|
"aria-readonly",
|
|
15
16
|
"aria-describedby"
|
|
16
|
-
],
|
|
17
|
+
], b = {
|
|
18
|
+
class: "s-checkbox-box",
|
|
19
|
+
"aria-hidden": "true"
|
|
20
|
+
}, x = /*@__PURE__*/ d({
|
|
17
21
|
inheritAttrs: !1,
|
|
18
22
|
__name: "SCheckbox",
|
|
19
23
|
props: {
|
|
@@ -41,53 +45,58 @@ var g = { class: "s-checkbox-control" }, _ = [
|
|
|
41
45
|
indeterminate: {
|
|
42
46
|
type: Boolean,
|
|
43
47
|
default: !1
|
|
44
|
-
}
|
|
48
|
+
},
|
|
49
|
+
presentation: { default: "field" }
|
|
45
50
|
},
|
|
46
51
|
emits: ["update:modelValue", "click"],
|
|
47
|
-
setup(
|
|
48
|
-
let
|
|
52
|
+
setup(d, { emit: x }) {
|
|
53
|
+
let S = d, C = x, w = i({
|
|
49
54
|
component: "SCheckbox",
|
|
50
55
|
owner: "native checkbox input"
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
let { checkedValue:
|
|
56
|
+
}), T = c(() => n("SCheckbox", "presentation", S.presentation, ["field", "inline"]));
|
|
57
|
+
a({ owner: "SCheckbox" });
|
|
58
|
+
let { checkedValue: E, inputId: D, onChange: O, onClick: k, setInputElement: A } = o({
|
|
54
59
|
owner: "SCheckbox",
|
|
55
60
|
inputName: "checkbox",
|
|
56
|
-
props:
|
|
57
|
-
indeterminate: () =>
|
|
58
|
-
emitUpdate: (e) =>
|
|
59
|
-
emitClick: (e) =>
|
|
60
|
-
});
|
|
61
|
-
return (
|
|
62
|
-
"control-id":
|
|
63
|
-
label:
|
|
64
|
-
required:
|
|
65
|
-
"help-text":
|
|
66
|
-
"error-message":
|
|
67
|
-
invalid:
|
|
68
|
-
disabled:
|
|
69
|
-
readonly:
|
|
70
|
-
layout: "inline"
|
|
61
|
+
props: S,
|
|
62
|
+
indeterminate: () => S.indeterminate,
|
|
63
|
+
emitUpdate: (e) => C("update:modelValue", e),
|
|
64
|
+
emitClick: (e) => C("click", e)
|
|
65
|
+
}), j = c(() => S.indeterminate && !E.value);
|
|
66
|
+
return (n, i) => (p(), l(s, {
|
|
67
|
+
"control-id": h(D),
|
|
68
|
+
label: d.label,
|
|
69
|
+
required: d.required,
|
|
70
|
+
"help-text": d.helpText,
|
|
71
|
+
"error-message": d.errorMessage,
|
|
72
|
+
invalid: d.invalid,
|
|
73
|
+
disabled: d.disabled,
|
|
74
|
+
readonly: d.readonly,
|
|
75
|
+
layout: "inline",
|
|
76
|
+
"content-flow": T.value === "inline" ? "phrasing" : "flow"
|
|
71
77
|
}, {
|
|
72
|
-
default:
|
|
73
|
-
|
|
78
|
+
default: g((n) => [u("span", {
|
|
79
|
+
class: "s-checkbox-control",
|
|
80
|
+
"data-presentation": T.value
|
|
81
|
+
}, [u("input", f({ ref: h(A) }, h(w).bindings(), {
|
|
82
|
+
id: n.controlId,
|
|
74
83
|
type: "checkbox",
|
|
75
84
|
class: "s-checkbox-input",
|
|
76
|
-
checked:
|
|
77
|
-
disabled:
|
|
78
|
-
required:
|
|
79
|
-
"aria-invalid":
|
|
80
|
-
"aria-readonly":
|
|
81
|
-
"aria-describedby":
|
|
82
|
-
onClick: i[0] ||=
|
|
83
|
-
onChange: i[1] ||= (...e) =>
|
|
84
|
-
}), null, 16,
|
|
85
|
+
checked: h(E),
|
|
86
|
+
disabled: n.disabled,
|
|
87
|
+
required: n.required,
|
|
88
|
+
"aria-invalid": n.invalid || void 0,
|
|
89
|
+
"aria-readonly": n.readonly || void 0,
|
|
90
|
+
"aria-describedby": h(r)(h(w).string("aria-describedby"), n.describedBy),
|
|
91
|
+
onClick: i[0] ||= _((...e) => h(k) && h(k)(...e), ["stop"]),
|
|
92
|
+
onChange: i[1] ||= (...e) => h(O) && h(O)(...e)
|
|
93
|
+
}), null, 16, y), u("span", b, [(p(), l(m(j.value ? h(t) : h(e)), {
|
|
85
94
|
class: "s-checkbox-check",
|
|
86
95
|
"aria-hidden": "true",
|
|
87
|
-
"data-sputnig-ui-icon":
|
|
96
|
+
"data-sputnig-ui-icon": j.value ? "minus" : "check",
|
|
88
97
|
"data-sputnig-ui-icon-color-mode": "auto",
|
|
89
98
|
"data-sputnig-ui-icon-set": "classic"
|
|
90
|
-
}, null, 8, ["data-sputnig-ui-icon"]))])])]),
|
|
99
|
+
}, null, 8, ["data-sputnig-ui-icon"]))])], 8, v)]),
|
|
91
100
|
_: 1
|
|
92
101
|
}, 8, [
|
|
93
102
|
"control-id",
|
|
@@ -97,9 +106,10 @@ var g = { class: "s-checkbox-control" }, _ = [
|
|
|
97
106
|
"error-message",
|
|
98
107
|
"invalid",
|
|
99
108
|
"disabled",
|
|
100
|
-
"readonly"
|
|
109
|
+
"readonly",
|
|
110
|
+
"content-flow"
|
|
101
111
|
]));
|
|
102
112
|
}
|
|
103
113
|
});
|
|
104
114
|
//#endregion
|
|
105
|
-
export {
|
|
115
|
+
export { x as default };
|
package/dist/src/components/shared/controls/SCheckboxGroup.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { validateDomId as e, validateNonEmptyString as t } from "../../../internal/runtimeContract.js";
|
|
2
|
+
import { useOwnedAttrs as n } from "../../../internal/ownedAttrs.js";
|
|
3
3
|
import { selectionKeyToken as r, validateSelectionIdentities as i } from "../_internal/useSelectionRoving.js";
|
|
4
4
|
import a from "./SCheckbox.vue.js";
|
|
5
5
|
import o from "./SFieldGroup.vue.js";
|
|
@@ -36,15 +36,15 @@ var v = /*@__PURE__*/ d({
|
|
|
36
36
|
},
|
|
37
37
|
emits: ["update:modelValue"],
|
|
38
38
|
setup(d, { emit: v }) {
|
|
39
|
-
let y = d, b = v, x =
|
|
39
|
+
let y = d, b = v, x = n({
|
|
40
40
|
component: "SCheckboxGroup",
|
|
41
41
|
owner: "field group"
|
|
42
|
-
}), S = g(), C = c(() =>
|
|
42
|
+
}), S = g(), C = c(() => e("SCheckboxGroup", "id", y.id ?? `s-checkbox-group-${S}`)), w = c(() => (i("SCheckboxGroup", y.options.map((e, t) => ({
|
|
43
43
|
key: e.value,
|
|
44
44
|
coordinate: `options[${t}].value`
|
|
45
|
-
}))), y.options.map((e,
|
|
46
|
-
|
|
47
|
-
let i = r("SCheckboxGroup", e.value, `options[${
|
|
45
|
+
}))), y.options.map((e, n) => {
|
|
46
|
+
t("SCheckboxGroup", `options[${n}].label`, e.label);
|
|
47
|
+
let i = r("SCheckboxGroup", e.value, `options[${n}].value`);
|
|
48
48
|
return {
|
|
49
49
|
option: e,
|
|
50
50
|
token: i,
|
package/dist/src/components/shared/controls/SChoiceCards.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { validateExactString as e } from "../../../internal/runtimeContract.js";
|
|
2
|
+
import { useOwnedAttrs as t } from "../../../internal/ownedAttrs.js";
|
|
3
3
|
import { useInteractiveLeafRegistration as n } from "../../../internal/passiveContentContract.js";
|
|
4
4
|
import r from "./SFieldGroup.vue.js";
|
|
5
5
|
import { useRadioGroup as i } from "../_internal/useRadioGroup.js";
|
|
@@ -56,12 +56,12 @@ var b = [
|
|
|
56
56
|
},
|
|
57
57
|
emits: ["update:modelValue"],
|
|
58
58
|
setup(f, { emit: E }) {
|
|
59
|
-
let D = f, O = E, k =
|
|
59
|
+
let D = f, O = E, k = t({
|
|
60
60
|
component: "SChoiceCards",
|
|
61
61
|
owner: "field group"
|
|
62
62
|
});
|
|
63
63
|
n({ owner: "SChoiceCards" });
|
|
64
|
-
let A = o(() =>
|
|
64
|
+
let A = o(() => e("SChoiceCards", "appearance", D.appearance, ["cards", "rows"])), j = i({
|
|
65
65
|
options: o(() => D.options),
|
|
66
66
|
selectedValue: o(() => D.modelValue),
|
|
67
67
|
disabled: o(() => D.disabled),
|
package/dist/src/components/shared/controls/SColorSelect.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { validateNonEmptyString as e } from "../../../internal/runtimeContract.js";
|
|
2
|
+
import { useOwnedAttrs as t } from "../../../internal/ownedAttrs.js";
|
|
3
3
|
import n from "./SSelect.vue.js";
|
|
4
4
|
import { computed as r, createBlock as i, defineComponent as a, mergeProps as o, openBlock as s, unref as c } from "vue";
|
|
5
5
|
//#region src/components/shared/controls/SColorSelect.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -21,7 +21,7 @@ var l = /*@__PURE__*/ a({
|
|
|
21
21
|
},
|
|
22
22
|
emits: ["update:modelValue"],
|
|
23
23
|
setup(a, { emit: l }) {
|
|
24
|
-
let u = a, d = l, f =
|
|
24
|
+
let u = a, d = l, f = t({
|
|
25
25
|
component: "SColorSelect",
|
|
26
26
|
owner: "combobox trigger"
|
|
27
27
|
}), p = /* @__PURE__ */ new Set([
|
|
@@ -53,10 +53,10 @@ var l = /*@__PURE__*/ a({
|
|
|
53
53
|
};
|
|
54
54
|
});
|
|
55
55
|
}), h = r(() => {
|
|
56
|
-
let
|
|
56
|
+
let t = e("SColorSelect", "modelValue", u.modelValue), n = m.value.find((e) => e.value === t);
|
|
57
57
|
if (n !== void 0) return n;
|
|
58
|
-
throw Error(`SColorSelect: modelValue ${JSON.stringify(
|
|
59
|
-
}), g = r(() => h.value.marker), _ = r(() => u.title === void 0 ? void 0 :
|
|
58
|
+
throw Error(`SColorSelect: modelValue ${JSON.stringify(t)} отсутствует в options inventory. / SColorSelect: modelValue ${JSON.stringify(t)} is absent from the options inventory.`);
|
|
59
|
+
}), g = r(() => h.value.marker), _ = r(() => u.title === void 0 ? void 0 : e("SColorSelect", "title", u.title)), v = r(() => u.ariaLabel === void 0 ? _.value === void 0 ? e("SColorSelect", "selectedOption.label", h.value.label) : _.value : e("SColorSelect", "ariaLabel", u.ariaLabel)), y = (e) => {
|
|
60
60
|
if (typeof e != "string") throw TypeError("SColorSelect: SSelect update должен быть строковым ключом цвета. / SColorSelect: SSelect update must be a string color key");
|
|
61
61
|
d("update:modelValue", e);
|
|
62
62
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../../../assets/src/components/shared/controls/SCombobox.
|
|
1
|
+
import "../../../../assets/src/components/shared/controls/SCombobox.css_vue_type_style_index_0_src_d630c922_scoped_d630c922_lang.css";
|
|
2
2
|
import e from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
3
|
import t from "./SCombobox.vue_vue_type_script_setup_true_lang.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
//#region src/components/shared/controls/SCombobox.vue
|
|
6
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
6
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-d630c922"]]);
|
|
7
7
|
//#endregion
|
|
8
8
|
export { n as default };
|