@pgcorp/ui-kit 0.13.0 → 0.14.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 +725 -19
- 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_13b9b27a_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_0e58afdc_scoped_0e58afdc_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/SDrawer.css_vue_type_style_index_0_src_61cf20dd_scoped_61cf20dd_lang.css +2 -0
- package/dist/assets/src/components/shared/containers/{SModal.css_vue_type_style_index_0_src_0dc51b74_scoped_0dc51b74_lang.css → SModal.css_vue_type_style_index_0_src_42e1bd5f_scoped_42e1bd5f_lang.css} +1 -1
- package/dist/assets/src/components/shared/containers/SOverlayHost.css_vue_type_style_index_0_src_8f9be94e_scoped_8f9be94e_lang.css +2 -0
- package/dist/assets/src/components/shared/containers/SPopover.css_vue_type_style_index_0_src_4091d007_scoped_4091d007_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_21f71ae8_scoped_21f71ae8_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_b20b27dd_scoped_b20b27dd_lang.css → SCheckbox.css_vue_type_style_index_0_src_55d4826e_scoped_55d4826e_lang.css} +1 -1
- package/dist/assets/src/components/shared/controls/SCombobox.css_vue_type_style_index_0_src_537f5744_scoped_537f5744_lang.css +2 -0
- package/dist/assets/src/components/shared/controls/SContextMenu.css_vue_type_style_index_0_src_03921269_scoped_03921269_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_857e2649_scoped_857e2649_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_84109ad9_scoped_84109ad9_lang.css +2 -0
- package/dist/assets/src/components/shared/controls/SSelect.css_vue_type_style_index_0_src_df3d6688_scoped_df3d6688_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/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/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_52b5825e_scoped_52b5825e_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_24be0f2b_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 +125 -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.js +2 -2
- package/dist/src/components/shared/_internal/SDialogSurface.vue_vue_type_script_setup_true_lang.js +64 -41
- 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 +15 -2
- package/dist/src/components/shared/_internal/dialogSurface.js +39 -23
- 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/SDrawer.vue.d.ts +12 -1
- package/dist/src/components/shared/containers/SDrawer.vue.js +2 -2
- package/dist/src/components/shared/containers/SDrawer.vue_vue_type_script_setup_true_lang.js +151 -53
- package/dist/src/components/shared/containers/SModal.vue.js +2 -2
- package/dist/src/components/shared/containers/SModal.vue_vue_type_script_setup_true_lang.js +78 -54
- 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 +65 -0
- package/dist/src/components/shared/containers/SPageHeader.vue.d.ts +1 -1
- package/dist/src/components/shared/containers/SPanel.vue.d.ts +1 -1
- 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 +214 -145
- 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 +58 -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 +45 -41
- 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 +147 -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 +144 -59
- 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 +82 -75
- 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 +147 -121
- 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 +126 -116
- 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_vue_type_script_setup_true_lang.js +4 -4
- 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_vue_type_script_setup_true_lang.js +18 -18
- 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 +181 -154
- 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 +98 -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/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 +138 -129
- package/dist/src/components/shared/navigation/SBreadcrumbs.vue.d.ts +2 -2
- 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 +11 -2
- package/dist/src/composables/useDialogOverlay.js +202 -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/focusNavigation.d.ts +2 -0
- package/dist/src/internal/focusNavigation.js +9 -9
- package/dist/src/internal/layerStack.d.ts +12 -0
- package/dist/src/internal/layerStack.js +138 -62
- package/dist/src/internal/linkTarget.d.ts +7 -1
- package/dist/src/internal/linkTarget.js +11 -7
- package/dist/src/internal/overlayHost.d.ts +18 -0
- package/dist/src/internal/overlayHost.js +18 -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/useMenuLayer.d.ts +7 -4
- package/dist/src/internal/useMenuLayer.js +72 -49
- package/dist/tailwind.css +3 -0
- package/dist/typography.LICENSE.txt +94 -0
- package/dist/typography.js +5150 -0
- package/docs/getting-started.md +39 -0
- package/docs/link-download.md +114 -0
- package/docs/listbox.md +129 -0
- package/docs/public-api.md +196 -4
- package/docs/resize.md +129 -0
- package/docs/rich-document.md +442 -25
- package/package.json +12 -4
- package/src/components/shared/_internal/SDialogSurface.css +39 -7
- package/src/components/shared/_internal/SMenuLayer.css +4 -0
- package/src/components/shared/containers/SDrawer.css +20 -2
- 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 -0
- 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/SProgressBar.css +79 -0
- package/src/components/shared/data-display/SRichDocument.css +1 -0
- 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 +4 -1
- 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 +41 -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/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/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/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/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/dist/src/components/shared/controls/STextarea.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { resolveOptionalDomId as e, validateBoolean as t, validateBoundedInteger as n, validateBoundedNumber as r, validateDomId as i, validateExactString as a } from "../../../internal/runtimeContract.js";
|
|
2
|
+
import { mergeIdReferences as o, useOwnedAttrs as s } from "../../../internal/ownedAttrs.js";
|
|
3
3
|
import { useInteractiveLeafRegistration as c } from "../../../internal/passiveContentContract.js";
|
|
4
4
|
import l from "./SField.vue.js";
|
|
5
|
-
import { resolveFieldSurfaceBindings as
|
|
6
|
-
import { resolveTextLengthConstraints as
|
|
7
|
-
import { computed as
|
|
5
|
+
import { resolveFieldSurfaceBindings as u } from "../../../internal/fieldSurface.js";
|
|
6
|
+
import { resolveTextLengthConstraints as d } from "../../../internal/textLengthConstraints.js";
|
|
7
|
+
import { computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, defineComponent as _, guardReactiveProps as ee, mergeProps as te, nextTick as v, normalizeProps as ne, onBeforeUnmount as re, onMounted as ie, onUpdated as ae, openBlock as y, ref as b, renderSlot as oe, unref as x, useId as se, useSlots as ce, watch as le, withCtx as ue } from "vue";
|
|
8
8
|
//#region src/components/shared/controls/STextarea.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
-
var
|
|
9
|
+
var de = [
|
|
10
|
+
"data-content-slots",
|
|
11
|
+
"data-appearance",
|
|
12
|
+
"data-size"
|
|
13
|
+
], fe = [
|
|
10
14
|
"id",
|
|
11
15
|
"data-appearance",
|
|
12
16
|
"data-size",
|
|
@@ -16,6 +20,7 @@ var ue = [
|
|
|
16
20
|
"data-min-height",
|
|
17
21
|
"data-max-height",
|
|
18
22
|
"data-invalid",
|
|
23
|
+
"data-embedded",
|
|
19
24
|
"value",
|
|
20
25
|
"placeholder",
|
|
21
26
|
"disabled",
|
|
@@ -27,12 +32,11 @@ var ue = [
|
|
|
27
32
|
"aria-required",
|
|
28
33
|
"aria-readonly",
|
|
29
34
|
"aria-describedby",
|
|
30
|
-
"aria-controls",
|
|
31
|
-
"aria-activedescendant",
|
|
32
|
-
"aria-autocomplete",
|
|
33
|
-
"aria-haspopup",
|
|
34
35
|
"rows"
|
|
35
|
-
],
|
|
36
|
+
], pe = {
|
|
37
|
+
key: 0,
|
|
38
|
+
class: "s-textarea__empty-content"
|
|
39
|
+
}, me = ["id"], he = 100, ge = /*@__PURE__*/ _({
|
|
36
40
|
inheritAttrs: !1,
|
|
37
41
|
__name: "STextarea",
|
|
38
42
|
props: {
|
|
@@ -90,216 +94,305 @@ var ue = [
|
|
|
90
94
|
"selection-change",
|
|
91
95
|
"state-change"
|
|
92
96
|
],
|
|
93
|
-
setup(
|
|
94
|
-
let
|
|
97
|
+
setup(_, { expose: ge, emit: _e }) {
|
|
98
|
+
let ve = ["default", "ghost"], ye = [
|
|
95
99
|
"sm",
|
|
96
100
|
"md",
|
|
97
101
|
"lg"
|
|
98
|
-
],
|
|
102
|
+
], be = {
|
|
99
103
|
minimum: 1,
|
|
100
104
|
maximum: 100
|
|
101
|
-
},
|
|
105
|
+
}, xe = {
|
|
102
106
|
minimum: 1,
|
|
103
107
|
maximum: 4096
|
|
104
|
-
},
|
|
108
|
+
}, Se = [
|
|
105
109
|
"list",
|
|
106
110
|
"both",
|
|
107
111
|
"inline",
|
|
108
112
|
"none"
|
|
109
|
-
],
|
|
113
|
+
], Ce = [
|
|
110
114
|
"listbox",
|
|
111
115
|
"grid",
|
|
112
116
|
"tree",
|
|
113
117
|
"dialog"
|
|
114
|
-
],
|
|
118
|
+
], we = [
|
|
115
119
|
"forward",
|
|
116
120
|
"backward",
|
|
117
121
|
"none"
|
|
118
|
-
],
|
|
122
|
+
], Te = [
|
|
119
123
|
"select",
|
|
120
124
|
"start",
|
|
121
125
|
"end",
|
|
122
126
|
"preserve"
|
|
123
|
-
],
|
|
127
|
+
], S = _, C = _e, w = ce(), T = s({
|
|
124
128
|
component: "STextarea",
|
|
125
129
|
owner: "native textarea"
|
|
126
130
|
});
|
|
127
131
|
c({ owner: "STextarea" });
|
|
128
|
-
let
|
|
129
|
-
if (
|
|
130
|
-
if (
|
|
131
|
-
let e =
|
|
132
|
+
let Ee = se(), E = f(() => e("STextarea", "id", S.id, `s-textarea-${Ee}`)), D = b(null), O = b(null), k = b(null), A = b(null), De = f(() => `${E.value}-helper-content`), j = b(!1), M = b(null), N = b(S.modelValue ?? ""), Oe = f(() => N.value.length === 0 && !j.value), P = null, F = null, I = null, ke = null, L = /* @__PURE__ */ new Map(), R = null, z = !1, B = !1, Ae = null, V = !1, H = [], U = [], W = f(() => a("STextarea", "appearance", S.appearance, ve)), je = f(() => a("STextarea", "size", S.size, ye)), G = f(() => n("STextarea", "rows", S.rows, be)), Me = f(() => d("STextarea", S.minLength, S.maxLength)), Ne = f(() => S.maxRows === void 0 ? void 0 : n("STextarea", "maxRows", S.maxRows, be)), Pe = f(() => S.minHeight === void 0 ? void 0 : r("STextarea", "minHeight", S.minHeight, xe)), Fe = f(() => S.maxHeight === void 0 ? void 0 : r("STextarea", "maxHeight", S.maxHeight, xe)), Ie = f(() => {
|
|
133
|
+
if (S.suggestions === void 0) return;
|
|
134
|
+
if (S.suggestions === null || typeof S.suggestions != "object" || Array.isArray(S.suggestions)) throw TypeError("STextarea: suggestions должен быть объектом. / STextarea: suggestions must be an object.");
|
|
135
|
+
let e = S.suggestions.activeDescendant === void 0 ? void 0 : i("STextarea", "suggestions.activeDescendant", S.suggestions.activeDescendant), n = S.suggestions.active === void 0 || t("STextarea", "suggestions.active", S.suggestions.active);
|
|
136
|
+
if (!n && e !== void 0) throw TypeError("STextarea: suggestions.activeDescendant недопустим при active=false. / STextarea: suggestions.activeDescendant is unavailable when active=false.");
|
|
132
137
|
return {
|
|
133
|
-
controls:
|
|
138
|
+
controls: i("STextarea", "suggestions.controls", S.suggestions.controls),
|
|
139
|
+
active: n,
|
|
134
140
|
activeDescendant: e,
|
|
135
|
-
autocomplete:
|
|
136
|
-
popupRole:
|
|
141
|
+
autocomplete: a("STextarea", "suggestions.autocomplete", S.suggestions.autocomplete ?? "list", Se),
|
|
142
|
+
popupRole: a("STextarea", "suggestions.popupRole", S.suggestions.popupRole ?? "listbox", Ce)
|
|
137
143
|
};
|
|
138
|
-
})
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
144
|
+
});
|
|
145
|
+
function Le() {
|
|
146
|
+
let e = T.bindings(), t = T.string("aria-controls"), n = t === void 0 ? void 0 : i("STextarea", "aria-controls", t), r = e["aria-haspopup"], a = Ie.value, s = a?.active === !0;
|
|
147
|
+
return {
|
|
148
|
+
"aria-controls": o(n, a?.controls),
|
|
149
|
+
"aria-haspopup": s ? a?.popupRole : r,
|
|
150
|
+
"aria-activedescendant": s ? a?.activeDescendant : void 0,
|
|
151
|
+
"aria-autocomplete": s ? a?.autocomplete : void 0
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
let Re = f(() => {
|
|
155
|
+
let e = t("STextarea", "autoResize", S.autoResize), n = Ne.value, r = Pe.value, i = Fe.value;
|
|
156
|
+
if (!e && n !== void 0 && r === void 0 && i === void 0) throw TypeError(`STextarea: maxRows применяется только при autoResize=true; получено autoResize=false, maxRows=${n}. / STextarea: maxRows applies only when autoResize=true; received autoResize=false, maxRows=${n}.`);
|
|
157
|
+
if (!e && (r !== void 0 || i !== void 0)) throw TypeError("STextarea: maxRows/minHeight/maxHeight применяются только при autoResize=true. / STextarea: maxRows/minHeight/maxHeight apply only when autoResize=true.");
|
|
158
|
+
if (n !== void 0 && i !== void 0) throw TypeError("STextarea: maxRows и maxHeight являются альтернативными ограничителями; укажите один. / STextarea: maxRows and maxHeight are alternative bounds; provide one.");
|
|
159
|
+
if (r !== void 0 && i !== void 0 && i < r) throw TypeError(`STextarea: maxHeight не может быть меньше minHeight; получено minHeight=${r}, maxHeight=${i}. / STextarea: maxHeight cannot be below minHeight; received minHeight=${r}, maxHeight=${i}.`);
|
|
160
|
+
if (n !== void 0 && n < G.value) throw TypeError(`STextarea: maxRows не может быть меньше rows; получено rows=${G.value}, maxRows=${n}. / STextarea: maxRows cannot be less than rows; received rows=${G.value}, maxRows=${n}.`);
|
|
145
161
|
return e ? {
|
|
146
162
|
mode: "content",
|
|
147
163
|
autoResize: !0,
|
|
148
|
-
...
|
|
149
|
-
...
|
|
164
|
+
...n === void 0 ? {} : { maxRows: n },
|
|
165
|
+
...r === void 0 ? {} : { minHeight: r },
|
|
150
166
|
...i === void 0 ? {} : { maxHeight: i }
|
|
151
167
|
} : {
|
|
152
168
|
mode: "fixed",
|
|
153
169
|
autoResize: !1
|
|
154
170
|
};
|
|
155
171
|
});
|
|
156
|
-
function
|
|
157
|
-
return
|
|
172
|
+
function ze(e) {
|
|
173
|
+
return u("STextarea", {
|
|
158
174
|
kind: "textarea",
|
|
159
|
-
appearance:
|
|
175
|
+
appearance: K() ? "embedded" : W.value === "default" ? "field" : "ghost",
|
|
160
176
|
invalid: e.invalid,
|
|
161
177
|
disabled: e.disabled,
|
|
162
178
|
readonly: e.readonly
|
|
163
179
|
});
|
|
164
180
|
}
|
|
165
|
-
function
|
|
166
|
-
|
|
181
|
+
function K() {
|
|
182
|
+
return !!(w["empty-content"] || w["helper-content"]);
|
|
183
|
+
}
|
|
184
|
+
function Be(e) {
|
|
185
|
+
return u("STextarea", {
|
|
186
|
+
kind: "textarea",
|
|
187
|
+
appearance: W.value === "default" ? "field" : "ghost",
|
|
188
|
+
invalid: e.invalid,
|
|
189
|
+
disabled: e.disabled,
|
|
190
|
+
readonly: e.readonly,
|
|
191
|
+
composite: !0
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
function Ve(e) {
|
|
195
|
+
return {
|
|
196
|
+
empty: Oe.value,
|
|
197
|
+
invalid: e.invalid,
|
|
198
|
+
disabled: e.disabled,
|
|
199
|
+
readonly: e.readonly,
|
|
200
|
+
composing: j.value,
|
|
201
|
+
hasMultipleVisualLines: M.value,
|
|
202
|
+
focus: tt
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
function q(e, t) {
|
|
206
|
+
let n = $(e.selectionStart, e.value.length, `${t} selectionStart`), r = $(e.selectionEnd, e.value.length, `${t} selectionEnd`);
|
|
167
207
|
if (r < n) throw RangeError(`STextarea: ${t} selectionEnd=${r} is below selectionStart=${n}.`);
|
|
168
208
|
return {
|
|
169
209
|
start: n,
|
|
170
210
|
end: r,
|
|
171
|
-
direction:
|
|
211
|
+
direction: a("STextarea", `${t} selectionDirection`, e.selectionDirection ?? "none", we)
|
|
172
212
|
};
|
|
173
213
|
}
|
|
174
|
-
function
|
|
175
|
-
let t =
|
|
176
|
-
|
|
214
|
+
function J(e) {
|
|
215
|
+
let t = q(e, "state-change");
|
|
216
|
+
C("state-change", {
|
|
177
217
|
text: e.value,
|
|
178
218
|
cursor: t.start,
|
|
179
219
|
selection: t,
|
|
180
|
-
composing:
|
|
220
|
+
composing: j.value
|
|
181
221
|
});
|
|
182
222
|
}
|
|
183
|
-
function
|
|
184
|
-
let t = e.target
|
|
185
|
-
|
|
223
|
+
function He(e) {
|
|
224
|
+
let t = e.target;
|
|
225
|
+
M.value = null, N.value = t.value;
|
|
226
|
+
let n = e instanceof InputEvent ? e.inputType : "";
|
|
227
|
+
!V && n !== "historyUndo" && n !== "historyRedo" && U.splice(0), C("update:modelValue", t.value), J(t), v(Z);
|
|
186
228
|
}
|
|
187
|
-
function
|
|
229
|
+
function Ue(e, t) {
|
|
188
230
|
return {
|
|
189
231
|
text: e.value,
|
|
190
|
-
selection:
|
|
232
|
+
selection: q(e, t)
|
|
191
233
|
};
|
|
192
234
|
}
|
|
193
|
-
function
|
|
194
|
-
e.value = t.text, e.focus(), e.setSelectionRange(t.selection.start, t.selection.end, t.selection.direction),
|
|
235
|
+
function We(e, t) {
|
|
236
|
+
e.value = t.text, N.value = t.text, e.focus(), e.setSelectionRange(t.selection.start, t.selection.end, t.selection.direction), C("update:modelValue", t.text), C("selection-change", t.selection), J(e), v(Z);
|
|
195
237
|
}
|
|
196
|
-
function
|
|
238
|
+
function Ge(e, t) {
|
|
197
239
|
return e.value === t.text;
|
|
198
240
|
}
|
|
199
|
-
function
|
|
241
|
+
function Ke(e, t) {
|
|
200
242
|
if (e.altKey || !(e.metaKey || e.ctrlKey)) return !1;
|
|
201
243
|
let n = e.key.toLowerCase(), r = n === "z" && !e.shiftKey, i = n === "z" && e.shiftKey || n === "y" && !e.shiftKey;
|
|
202
244
|
if (!r && !i) return !1;
|
|
203
|
-
let a = r ?
|
|
204
|
-
return !o || !s || !
|
|
245
|
+
let a = r ? H : U, o = a[a.length - 1], s = r ? o?.after : o?.before;
|
|
246
|
+
return !o || !s || !Ge(t, s) ? !1 : (e.preventDefault(), a.pop(), r ? (U.push(o), We(t, o.before)) : (H.push(o), We(t, o.after)), !0);
|
|
205
247
|
}
|
|
206
|
-
function
|
|
207
|
-
|
|
248
|
+
function qe(e) {
|
|
249
|
+
C("keydown", e), !(e.defaultPrevented || j.value || S.disabled || S.readonly) && Ke(e, e.currentTarget);
|
|
208
250
|
}
|
|
209
|
-
function
|
|
210
|
-
|
|
251
|
+
function Je(e) {
|
|
252
|
+
C("keyup", e), J(e.currentTarget);
|
|
211
253
|
}
|
|
212
|
-
function
|
|
213
|
-
|
|
254
|
+
function Ye(e) {
|
|
255
|
+
C("click", e), J(e.currentTarget);
|
|
214
256
|
}
|
|
215
|
-
function
|
|
216
|
-
let t = e.currentTarget, n =
|
|
217
|
-
|
|
257
|
+
function Xe(e) {
|
|
258
|
+
let t = e.currentTarget, n = q(t, "selection-change");
|
|
259
|
+
C("selection-change", n), J(t);
|
|
218
260
|
}
|
|
219
|
-
function
|
|
220
|
-
|
|
261
|
+
function Ze(e) {
|
|
262
|
+
j.value = !0, M.value = null, C("compositionstart", e), J(e.currentTarget), v(Z);
|
|
221
263
|
}
|
|
222
|
-
function
|
|
223
|
-
|
|
264
|
+
function Qe(e) {
|
|
265
|
+
M.value = null, C("compositionupdate", e), J(e.currentTarget), v(Z);
|
|
224
266
|
}
|
|
225
|
-
function
|
|
226
|
-
|
|
267
|
+
function $e(e) {
|
|
268
|
+
j.value = !1, M.value = null, N.value = e.currentTarget.value, C("compositionend", e), J(e.currentTarget), Z();
|
|
227
269
|
}
|
|
228
|
-
function
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
let n = window.getComputedStyle(e), r = Number.parseFloat(n.lineHeight) || Number.parseFloat(n.fontSize) * 1.5, i = Number.parseFloat(n.paddingTop) || 0, a = Number.parseFloat(n.paddingBottom) || 0, o = I.value * r + i + a, s = t.minHeight ?? o, c = t.maxHeight ?? (t.maxRows === void 0 ? 0 : t.maxRows * r + i + a);
|
|
232
|
-
if (c > 0 && c < s) throw RangeError(`STextarea: вычисленный maxHeight=${c} меньше minimumHeight=${s}. / STextarea: resolved maxHeight=${c} is below minimumHeight=${s}.`);
|
|
233
|
-
if (x.disabled || x.modelValue === null || x.modelValue.length === 0) {
|
|
234
|
-
e.style.height = `${s}px`, e.style.overflowY = "hidden";
|
|
270
|
+
function et(e, t) {
|
|
271
|
+
if (!e.isConnected || e.getBoundingClientRect().width <= 0 || e.clientWidth <= 0) {
|
|
272
|
+
M.value = null;
|
|
235
273
|
return;
|
|
236
274
|
}
|
|
237
|
-
e.
|
|
238
|
-
|
|
239
|
-
if (c > 0 && l > c) {
|
|
240
|
-
e.style.height = `${c}px`, e.style.overflowY = "auto";
|
|
275
|
+
if (e.value.length === 0) {
|
|
276
|
+
M.value = !1;
|
|
241
277
|
return;
|
|
242
278
|
}
|
|
243
|
-
|
|
279
|
+
let n = Number.parseFloat(t.lineHeight), r = X(t.paddingTop), i = X(t.paddingBottom);
|
|
280
|
+
if (!Number.isFinite(n) || n <= 0) throw RangeError(`STextarea: native lineHeight=${JSON.stringify(t.lineHeight)} must resolve to a positive pixel value for visual-line measurement.`);
|
|
281
|
+
let a = n + 1 + (t.boxSizing === "border-box" ? r + i + X(t.borderTopWidth) + X(t.borderBottomWidth) : 0), o = [
|
|
282
|
+
"height",
|
|
283
|
+
"min-height",
|
|
284
|
+
"max-height"
|
|
285
|
+
].map((t) => ({
|
|
286
|
+
property: t,
|
|
287
|
+
value: e.style.getPropertyValue(t),
|
|
288
|
+
priority: e.style.getPropertyPriority(t)
|
|
289
|
+
})), s = e.scrollTop, c = e.scrollLeft;
|
|
290
|
+
try {
|
|
291
|
+
e.style.setProperty("height", `${a}px`, "important"), e.style.setProperty("min-height", "0px", "important"), e.style.setProperty("max-height", "none", "important");
|
|
292
|
+
let t = e.scrollHeight - r - i;
|
|
293
|
+
M.value = t > n * 1.5;
|
|
294
|
+
} finally {
|
|
295
|
+
for (let { property: t, value: n, priority: r } of o) n.length === 0 ? e.style.removeProperty(t) : e.style.setProperty(t, n, r);
|
|
296
|
+
e.getBoundingClientRect(), e.scrollTop = s, e.scrollLeft = c;
|
|
297
|
+
}
|
|
244
298
|
}
|
|
245
299
|
function Y() {
|
|
246
|
-
|
|
247
|
-
|
|
300
|
+
let e = D.value, t = Re.value;
|
|
301
|
+
if (!e) return;
|
|
302
|
+
let n = window.getComputedStyle(e);
|
|
303
|
+
if (et(e, n), t.mode === "fixed" || e.scrollHeight === 0) return;
|
|
304
|
+
let r = Number.parseFloat(n.lineHeight) || Number.parseFloat(n.fontSize) * 1.5, i = Number.parseFloat(n.paddingTop) || 0, a = Number.parseFloat(n.paddingBottom) || 0, o = G.value * r + i + a, s = O.value;
|
|
305
|
+
if (s && K()) {
|
|
306
|
+
let n = window.getComputedStyle(s), c = [k.value, A.value].filter((e) => e !== null), l = X(n.paddingTop) + X(n.paddingBottom) + X(n.borderTopWidth) + X(n.borderBottomWidth) + c.length * X(n.rowGap), u = l + c.reduce((e, t) => e + t.scrollHeight, 0), d = t.minHeight ?? o + u, f = t.maxHeight ?? (t.maxRows === void 0 ? 0 : t.maxRows * r + i + a + u), p = r + i + a;
|
|
307
|
+
if (f > 0 && f < Math.max(d, l + p)) throw RangeError(`STextarea: maxHeight=${f} не вмещает minimumHeight=${d} и редактируемую строку с surface chrome=${l}. / STextarea: maxHeight=${f} cannot fit minimumHeight=${d} and an editable line with surface chrome=${l}.`);
|
|
308
|
+
e.style.height = "auto";
|
|
309
|
+
let m = S.disabled || e.value.length === 0 ? o : e.scrollHeight, h = Math.max(d, m + u), g = f > 0 ? Math.min(f, h) : h, _ = Math.max(p, g - u);
|
|
310
|
+
s.style.height = `${g}px`, e.style.height = `${_}px`, e.style.overflowY = m > _ ? "auto" : "hidden";
|
|
311
|
+
return;
|
|
312
|
+
}
|
|
313
|
+
let c = t.minHeight ?? o, l = t.maxHeight ?? (t.maxRows === void 0 ? 0 : t.maxRows * r + i + a);
|
|
314
|
+
if (l > 0 && l < c) throw RangeError(`STextarea: вычисленный maxHeight=${l} меньше minimumHeight=${c}. / STextarea: resolved maxHeight=${l} is below minimumHeight=${c}.`);
|
|
315
|
+
if (S.disabled || S.modelValue === null || S.modelValue.length === 0) {
|
|
316
|
+
e.style.height = `${c}px`, e.style.overflowY = "hidden";
|
|
317
|
+
return;
|
|
318
|
+
}
|
|
319
|
+
e.style.height = "auto";
|
|
320
|
+
let u = e.scrollHeight;
|
|
321
|
+
if (l > 0 && u > l) {
|
|
322
|
+
e.style.height = `${l}px`, e.style.overflowY = "auto";
|
|
323
|
+
return;
|
|
324
|
+
}
|
|
325
|
+
e.style.height = `${Math.max(c, u)}px`, e.style.overflowY = "hidden";
|
|
326
|
+
}
|
|
327
|
+
function X(e) {
|
|
328
|
+
return Number.parseFloat(e) || 0;
|
|
329
|
+
}
|
|
330
|
+
function Z() {
|
|
331
|
+
z && !B && R === null && (R = window.requestAnimationFrame(() => {
|
|
332
|
+
R = null, z && !B && Y();
|
|
248
333
|
}));
|
|
249
334
|
}
|
|
250
|
-
function
|
|
251
|
-
|
|
335
|
+
function tt() {
|
|
336
|
+
D.value?.focus();
|
|
252
337
|
}
|
|
253
|
-
function
|
|
254
|
-
let t =
|
|
255
|
-
if (!t) throw Error(`STextarea: textarea не готова для ${e}; дождитесь mount. / STextarea: textarea is not ready for ${e}; wait for mount.`);
|
|
338
|
+
function Q(e) {
|
|
339
|
+
let t = D.value;
|
|
340
|
+
if (!t || B) throw Error(`STextarea: textarea не готова для ${e}; дождитесь mount. / STextarea: textarea is not ready for ${e}; wait for mount.`);
|
|
256
341
|
return t;
|
|
257
342
|
}
|
|
258
|
-
function
|
|
259
|
-
return
|
|
343
|
+
function $(e, t, r) {
|
|
344
|
+
return n("STextarea", r, e, {
|
|
260
345
|
minimum: 0,
|
|
261
346
|
maximum: t
|
|
262
347
|
});
|
|
263
348
|
}
|
|
264
|
-
function
|
|
265
|
-
let e =
|
|
266
|
-
return
|
|
349
|
+
function nt() {
|
|
350
|
+
let e = Q("getSelectionOffset");
|
|
351
|
+
return $(e.selectionStart, e.value.length, "getSelectionOffset");
|
|
267
352
|
}
|
|
268
|
-
function
|
|
269
|
-
return
|
|
353
|
+
function rt() {
|
|
354
|
+
return q(Q("getSelection"), "getSelection");
|
|
270
355
|
}
|
|
271
|
-
function
|
|
356
|
+
function it(e, t, n) {
|
|
272
357
|
if (typeof e != "object" || !e || Array.isArray(e)) throw TypeError(`STextarea: ${n} должен быть selection object. / STextarea: ${n} must be a selection object.`);
|
|
273
|
-
let r =
|
|
358
|
+
let r = $(e.start, t, `${n}.start`), i = $(e.end, t, `${n}.end`);
|
|
274
359
|
if (i < r) throw RangeError(`STextarea: ${n}.end=${i} меньше ${n}.start=${r}.`);
|
|
275
360
|
return {
|
|
276
361
|
start: r,
|
|
277
362
|
end: i,
|
|
278
|
-
direction:
|
|
363
|
+
direction: a("STextarea", `${n}.direction`, e.direction, we)
|
|
279
364
|
};
|
|
280
365
|
}
|
|
281
|
-
function
|
|
282
|
-
let n =
|
|
283
|
-
t && n.focus(), n.setSelectionRange(r.start, r.end, r.direction),
|
|
366
|
+
function at(e, t = !0) {
|
|
367
|
+
let n = Q("setSelection"), r = it(e, n.value.length, "setSelection");
|
|
368
|
+
t && n.focus(), n.setSelectionRange(r.start, r.end, r.direction), C("selection-change", r), J(n);
|
|
284
369
|
}
|
|
285
|
-
function
|
|
286
|
-
let
|
|
370
|
+
function ot(e = !0) {
|
|
371
|
+
let n = t("STextarea", "selectAll.focusOwner", e);
|
|
372
|
+
at({
|
|
373
|
+
start: 0,
|
|
374
|
+
end: Q("selectAll").value.length,
|
|
375
|
+
direction: "forward"
|
|
376
|
+
}, n);
|
|
377
|
+
}
|
|
378
|
+
function st(e) {
|
|
379
|
+
let t = Q("setSelectionOffset"), n = $(e, t.value.length, "setSelectionOffset");
|
|
287
380
|
t.focus(), t.setSelectionRange(n, n);
|
|
288
381
|
}
|
|
289
|
-
function
|
|
290
|
-
let n =
|
|
291
|
-
if (
|
|
292
|
-
if (
|
|
382
|
+
function ct(e, t = {}) {
|
|
383
|
+
let n = Q("replaceSelection");
|
|
384
|
+
if (S.disabled || S.readonly) throw Error("STextarea: replaceSelection недоступен для disabled/readonly поля. / STextarea: replaceSelection is unavailable for a disabled/readonly field.");
|
|
385
|
+
if (j.value) throw Error("STextarea: replaceSelection недоступен во время IME composition. / STextarea: replaceSelection is unavailable during IME composition.");
|
|
293
386
|
if (typeof e != "string") throw TypeError("STextarea: replaceSelection text должен быть строкой. / STextarea: replaceSelection text must be a string.");
|
|
294
|
-
let r = t.selection === void 0 ?
|
|
387
|
+
let r = t.selection === void 0 ? q(n, "replaceSelection") : it(t.selection, n.value.length, "replaceSelection.selection"), i = a("STextarea", "replaceSelection.selectionMode", t.selectionMode ?? "end", Te);
|
|
295
388
|
(t.focus ?? !0) && n.focus();
|
|
296
|
-
let
|
|
389
|
+
let o = Ue(n, "replaceSelection before");
|
|
297
390
|
n.setRangeText(e, r.start, r.end, i);
|
|
298
|
-
let
|
|
299
|
-
|
|
300
|
-
before:
|
|
301
|
-
after:
|
|
302
|
-
}),
|
|
391
|
+
let s = Ue(n, "replaceSelection after");
|
|
392
|
+
H.push({
|
|
393
|
+
before: o,
|
|
394
|
+
after: s
|
|
395
|
+
}), H.length > he && H.shift(), U.splice(0), V = !0;
|
|
303
396
|
try {
|
|
304
397
|
n.dispatchEvent(new InputEvent("input", {
|
|
305
398
|
bubbles: !0,
|
|
@@ -308,106 +401,152 @@ var ue = [
|
|
|
308
401
|
inputType: "insertReplacementText"
|
|
309
402
|
}));
|
|
310
403
|
} finally {
|
|
311
|
-
|
|
404
|
+
V = !1;
|
|
312
405
|
}
|
|
313
|
-
|
|
314
|
-
let c =
|
|
406
|
+
C("selection-change", s.selection);
|
|
407
|
+
let c = s.selection;
|
|
315
408
|
return {
|
|
316
409
|
text: n.value,
|
|
317
410
|
cursor: c.start,
|
|
318
411
|
selection: c,
|
|
319
|
-
composing:
|
|
412
|
+
composing: j.value
|
|
320
413
|
};
|
|
321
414
|
}
|
|
322
|
-
function
|
|
323
|
-
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
focus:
|
|
327
|
-
getSelection:
|
|
328
|
-
getSelectionOffset:
|
|
329
|
-
insertSoftLineBreak:
|
|
330
|
-
replaceSelection:
|
|
331
|
-
resize:
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
415
|
+
function lt() {
|
|
416
|
+
S.disabled || S.readonly || ct("\n");
|
|
417
|
+
}
|
|
418
|
+
ge({
|
|
419
|
+
focus: tt,
|
|
420
|
+
getSelection: rt,
|
|
421
|
+
getSelectionOffset: nt,
|
|
422
|
+
insertSoftLineBreak: lt,
|
|
423
|
+
replaceSelection: ct,
|
|
424
|
+
resize: Y,
|
|
425
|
+
selectAll: ot,
|
|
426
|
+
setSelection: at,
|
|
427
|
+
setSelectionOffset: st
|
|
428
|
+
}), ie(() => {
|
|
429
|
+
z = !0, Y();
|
|
430
|
+
let e = D.value, t = document.fonts;
|
|
431
|
+
t && (Ae = t, t.addEventListener("loadingdone", Z), t.ready.then(Z)), F = K() ? O.value : e?.parentElement?.parentElement ?? null, typeof ResizeObserver < "u" && F && (P = new ResizeObserver((e) => {
|
|
432
|
+
let t = e.find((e) => e.target === F), n = !1;
|
|
433
|
+
t && t.contentRect.width !== I && (I = t.contentRect.width, n = !0);
|
|
434
|
+
let r = e.find((e) => e.target === D.value);
|
|
435
|
+
r && r.contentRect.width !== ke && (ke = r.contentRect.width, n = !0);
|
|
436
|
+
for (let t of e) {
|
|
437
|
+
if (!(t.target instanceof HTMLElement) || !L.has(t.target)) continue;
|
|
438
|
+
let e = t.contentRect.height;
|
|
439
|
+
e !== L.get(t.target) && (L.set(t.target, e), n = !0);
|
|
440
|
+
}
|
|
441
|
+
n && Z();
|
|
442
|
+
}), P.observe(F), e && e !== F && P.observe(e), ut());
|
|
443
|
+
});
|
|
444
|
+
function ut() {
|
|
445
|
+
if (!P) return;
|
|
446
|
+
let e = [k.value, A.value].filter((e) => e !== null);
|
|
447
|
+
for (let t of L.keys()) e.includes(t) || (P.unobserve(t), L.delete(t));
|
|
448
|
+
for (let t of e) L.has(t) || (L.set(t, t.getBoundingClientRect().height), P.observe(t));
|
|
449
|
+
}
|
|
450
|
+
return ae(() => {
|
|
451
|
+
let e = K() ? O.value : D.value?.parentElement?.parentElement ?? null;
|
|
452
|
+
P && e && e !== F && (F && P.unobserve(F), F = e, I = null, P.observe(e)), ut(), K() && Z();
|
|
453
|
+
}), le(() => [
|
|
454
|
+
S.modelValue,
|
|
455
|
+
S.disabled,
|
|
456
|
+
S.rows,
|
|
457
|
+
S.maxRows,
|
|
458
|
+
S.minHeight,
|
|
459
|
+
S.maxHeight,
|
|
460
|
+
S.autoResize,
|
|
461
|
+
S.size,
|
|
462
|
+
S.appearance,
|
|
463
|
+
S.monospace
|
|
348
464
|
], () => {
|
|
349
|
-
|
|
350
|
-
}),
|
|
351
|
-
|
|
352
|
-
t
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
"
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
465
|
+
M.value = null, v(Z);
|
|
466
|
+
}), le(() => S.modelValue, (e) => {
|
|
467
|
+
N.value = e ?? "";
|
|
468
|
+
let t = D.value;
|
|
469
|
+
t && t.value !== (e ?? "") && (H.splice(0), U.splice(0));
|
|
470
|
+
}), re(() => {
|
|
471
|
+
z = !1, B = !0, M.value = null, R !== null && window.cancelAnimationFrame(R), R = null, Ae?.removeEventListener("loadingdone", Z), Ae = null, P?.disconnect(), P = null, F = null, ke = null, L.clear(), H.splice(0), U.splice(0);
|
|
472
|
+
}), (e, t) => (y(), p(l, {
|
|
473
|
+
"control-id": E.value,
|
|
474
|
+
label: _.label,
|
|
475
|
+
required: _.required,
|
|
476
|
+
"help-text": _.helpText,
|
|
477
|
+
"error-message": _.errorMessage,
|
|
478
|
+
invalid: _.invalid,
|
|
479
|
+
disabled: _.disabled,
|
|
480
|
+
readonly: _.readonly,
|
|
481
|
+
fill: W.value === "ghost" ? "container" : "content"
|
|
365
482
|
}, {
|
|
366
|
-
default:
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
}, {
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
"
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
483
|
+
default: ue((n) => [g("div", te({
|
|
484
|
+
ref_key: "surfaceRef",
|
|
485
|
+
ref: O
|
|
486
|
+
}, K() ? Be(n) : {}, {
|
|
487
|
+
class: "s-textarea__surface",
|
|
488
|
+
"data-content-slots": K() || void 0,
|
|
489
|
+
"data-appearance": K() ? W.value : void 0,
|
|
490
|
+
"data-size": K() ? je.value : void 0
|
|
491
|
+
}), [
|
|
492
|
+
g("textarea", te({
|
|
493
|
+
...x(T).bindings(),
|
|
494
|
+
...ze(n),
|
|
495
|
+
...Le()
|
|
496
|
+
}, {
|
|
497
|
+
id: E.value,
|
|
498
|
+
ref_key: "textareaRef",
|
|
499
|
+
ref: D,
|
|
500
|
+
class: "s-textarea",
|
|
501
|
+
"data-appearance": W.value,
|
|
502
|
+
"data-size": je.value,
|
|
503
|
+
"data-monospace": _.monospace || void 0,
|
|
504
|
+
"data-auto-resize": Re.value.mode === "content" || void 0,
|
|
505
|
+
"data-max-rows": Ne.value,
|
|
506
|
+
"data-min-height": Pe.value,
|
|
507
|
+
"data-max-height": Fe.value,
|
|
508
|
+
"data-invalid": n.invalid || void 0,
|
|
509
|
+
"data-embedded": K() || void 0,
|
|
510
|
+
value: N.value,
|
|
511
|
+
placeholder: _.placeholder,
|
|
512
|
+
disabled: n.disabled,
|
|
513
|
+
readonly: n.readonly,
|
|
514
|
+
required: n.required,
|
|
515
|
+
minlength: Me.value.minLength,
|
|
516
|
+
maxlength: Me.value.maxLength,
|
|
517
|
+
"aria-invalid": n.invalid || void 0,
|
|
518
|
+
"aria-required": n.required || void 0,
|
|
519
|
+
"aria-readonly": n.readonly || void 0,
|
|
520
|
+
"aria-describedby": x(o)(x(T).string("aria-describedby"), n.describedBy, w["helper-content"] ? De.value : void 0),
|
|
521
|
+
rows: G.value,
|
|
522
|
+
onInput: He,
|
|
523
|
+
onKeydown: qe,
|
|
524
|
+
onKeyup: Je,
|
|
525
|
+
onClick: Ye,
|
|
526
|
+
onFocus: t[0] ||= (e) => C("focus", e),
|
|
527
|
+
onBlur: t[1] ||= (e) => C("blur", e),
|
|
528
|
+
onSelect: Xe,
|
|
529
|
+
onPaste: t[2] ||= (e) => C("paste", e),
|
|
530
|
+
onCompositionstart: Ze,
|
|
531
|
+
onCompositionupdate: Qe,
|
|
532
|
+
onCompositionend: $e
|
|
533
|
+
}), null, 16, fe),
|
|
534
|
+
w["empty-content"] && Oe.value ? (y(), h("div", pe, [g("div", {
|
|
535
|
+
ref_key: "emptyContentRef",
|
|
536
|
+
ref: k,
|
|
537
|
+
class: "s-textarea__supporting-content"
|
|
538
|
+
}, [oe(e.$slots, "empty-content", ne(ee(Ve(n))))], 512)])) : m("", !0),
|
|
539
|
+
w["helper-content"] ? (y(), h("div", {
|
|
540
|
+
key: 1,
|
|
541
|
+
id: De.value,
|
|
542
|
+
class: "s-textarea__helper-content"
|
|
543
|
+
}, [g("div", {
|
|
544
|
+
ref_key: "helperContentRef",
|
|
545
|
+
ref: A,
|
|
546
|
+
class: "s-textarea__supporting-content"
|
|
547
|
+
}, [oe(e.$slots, "helper-content", ne(ee(Ve(n))))], 512)], 8, me)) : m("", !0)
|
|
548
|
+
], 16, de)]),
|
|
549
|
+
_: 3
|
|
411
550
|
}, 8, [
|
|
412
551
|
"control-id",
|
|
413
552
|
"label",
|
|
@@ -422,4 +561,4 @@ var ue = [
|
|
|
422
561
|
}
|
|
423
562
|
});
|
|
424
563
|
//#endregion
|
|
425
|
-
export {
|
|
564
|
+
export { ge as default };
|