@voicenter-team/voicenter-ui-plus 4.3.1 → 4.3.2

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.
Files changed (411) hide show
  1. package/library/assets/assets/sass/main.css +1 -1
  2. package/library/assets/components/VcCodeBlock/VcCodeBlock.css +1 -1
  3. package/library/assets/components/VcInteractive/VcInteractive.css +1 -0
  4. package/library/assets/components/VcJsonSchema/Components/JsonSchemaEditor.css +1 -1
  5. package/library/assets/components/VcNavigationSidebar/VcNavigationSidebar.css +1 -0
  6. package/library/components/VcAutocomplete/VcAutocomplete.vue.mjs +2 -3
  7. package/library/components/VcCheckbox/VcCheckbox.vue.mjs +1 -1
  8. package/library/components/VcCheckbox/VcCheckboxButton.vue.mjs +1 -1
  9. package/library/components/VcCheckboxGroup/VcCheckboxGroup.vue.mjs +1 -3
  10. package/library/components/VcDatePicker/VcDatePicker.vue.mjs +1 -1
  11. package/library/components/VcDropdown/VcDropdownItem.vue.mjs +1 -1
  12. package/library/components/VcExcelUploader/VcExcelFileUploader.vue.mjs +4 -4
  13. package/library/components/VcForm/VcForm.vue.mjs +1 -1
  14. package/library/components/VcForm/VcFormItem.vue.mjs +1 -1
  15. package/library/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.mjs +1 -1
  16. package/library/components/VcIconPicker/VcIconPicker.vue.mjs +4 -9
  17. package/library/components/VcImageUploader/VcImageUploader.vue.mjs +5 -1
  18. package/library/components/VcInput/VcInput.vue.mjs +1 -1
  19. package/library/components/VcInteractive/VcInteractive.vue.mjs +58 -0
  20. package/library/components/VcInteractive/VcInteractive.vue3.mjs +5 -0
  21. package/library/components/VcJsonSchema/Components/ImportJsonSchemaModal.vue.mjs +0 -3
  22. package/library/components/VcJsonSchema/Components/JsonSchemaEditor.vue.mjs +1 -1
  23. package/library/components/VcJsonViewer/VcJsonViewer.vue.mjs +1 -1
  24. package/library/components/VcMdEditor/VcMdEditor.vue.mjs +1 -1
  25. package/library/components/VcMdEditor/VcMdEditorToolbar.vue.mjs +1 -1
  26. package/library/components/VcMessage/content/VcMessageFileBlock.vue.mjs +37 -30
  27. package/library/components/VcMessage/reactions/VcMessageReactionBar.vue.mjs +1 -1
  28. package/library/components/VcNavigationSidebar/NavigationSidebarLink.vue.mjs +154 -0
  29. package/library/components/VcNavigationSidebar/NavigationSidebarLink.vue2.mjs +4 -0
  30. package/library/components/VcNavigationSidebar/NavigationSidebarMobileList.vue.mjs +128 -0
  31. package/library/components/VcNavigationSidebar/NavigationSidebarMobileList.vue2.mjs +4 -0
  32. package/library/components/VcNavigationSidebar/NavigationSidebarMore.vue.mjs +94 -0
  33. package/library/components/VcNavigationSidebar/NavigationSidebarMore.vue2.mjs +4 -0
  34. package/library/components/VcNavigationSidebar/NavigationSidebarPanel.vue.mjs +179 -0
  35. package/library/components/VcNavigationSidebar/NavigationSidebarPanel.vue2.mjs +4 -0
  36. package/library/components/VcNavigationSidebar/VcNavigationSidebar.vue.mjs +737 -0
  37. package/library/components/VcNavigationSidebar/VcNavigationSidebar.vue3.mjs +5 -0
  38. package/library/components/VcNavigationSidebar/navigationSidebarModel.mjs +51 -0
  39. package/library/components/VcNotification/VcNotification.vue.mjs +2 -2
  40. package/library/components/VcOtpInput/VcOtpInput.vue.mjs +1 -1
  41. package/library/components/VcPdfViewer/VcPdfViewer.vue.mjs +2 -1
  42. package/library/components/VcPdfViewer/pdfjslib.mjs +0 -1
  43. package/library/components/VcPopover/VcConfirmPopover.vue.mjs +3 -6
  44. package/library/components/VcPopover/VcSelectPopover.vue.mjs +2 -2
  45. package/library/components/VcRadio/VcRadio.vue.mjs +1 -1
  46. package/library/components/VcRadioGroup/VcRadioGroup.vue.mjs +6 -2
  47. package/library/components/VcRadioTabs/VcRadioTabs.vue.mjs +2 -6
  48. package/library/components/VcSelect/VcInfiniteScrollSelect.vue.mjs +1 -3
  49. package/library/components/VcSelect/VcSelect.vue.mjs +33 -33
  50. package/library/components/VcSlider/VcSlider.vue.mjs +1 -1
  51. package/library/components/VcSoundplayer/VcSoundPlayerWrapper.vue.mjs +2 -1
  52. package/library/components/VcSoundplayer/player.options.mjs +1 -6
  53. package/library/components/VcSparkline/helper.mjs +1 -1
  54. package/library/components/VcTable/VcTable.vue.mjs +17 -13
  55. package/library/components/VcTabs/VcTabNav.vue.mjs +2 -0
  56. package/library/components/VcTransfer/VcTransfer.vue.mjs +16 -5
  57. package/library/components/VcTree/VcTree.vue.mjs +13 -6
  58. package/library/components/VcVerticalTabs/VcVerticalTabs.vue.mjs +4 -8
  59. package/library/components/VcVerticalTabs/VerticalTabNav.vue.mjs +4 -9
  60. package/library/composables/input/useFileUploader.mjs +1 -3
  61. package/library/composables/useRTL.mjs +3 -8
  62. package/library/docs/guides/migration/migrating-from-4.0.md +88 -0
  63. package/library/entity/components/Table/VcEntityListTable.vue.mjs +0 -3
  64. package/library/entity/components/Tabs/VcEntityEditableTabs.vue.mjs +14 -22
  65. package/library/enum/fileTypes.mjs +53 -3
  66. package/library/index.mjs +142 -136
  67. package/library/index.mjs.br +0 -0
  68. package/library/index.mjs.gz +0 -0
  69. package/library/localization/index.mjs +1 -1
  70. package/library/localization/index.mjs.br +0 -0
  71. package/library/localization/index.mjs.gz +0 -0
  72. package/library/localization/locales/en.json.mjs +9 -1
  73. package/library/plugin-components.gen.mjs +248 -242
  74. package/library/plugin.mjs +140 -134
  75. package/library/plugin.mjs.br +0 -0
  76. package/library/plugin.mjs.gz +0 -0
  77. package/library/style.css +7 -3
  78. package/library/style.css.br +0 -0
  79. package/library/style.css.gz +0 -0
  80. package/library/types/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue.d.ts +9 -39
  81. package/library/types/components/VcAgentRun/UiComponents/VcAgentRunRow.vue.d.ts +8 -17
  82. package/library/types/components/VcAgentRun/VcAgentRunCard.vue.d.ts +42 -81
  83. package/library/types/components/VcAgentRun/VcAgentRunGroup.vue.d.ts +27 -43
  84. package/library/types/components/VcAgentRun/agentRunStatus.d.ts +2 -2
  85. package/library/types/components/VcAiReasoning/VcAiReasoning.vue.d.ts +18 -67
  86. package/library/types/components/VcApprovalCard/VcApprovalCard.vue.d.ts +40 -79
  87. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue.d.ts +10 -36
  88. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue.d.ts +9 -35
  89. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue.d.ts +14 -45
  90. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue.d.ts +9 -35
  91. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue.d.ts +9 -35
  92. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserText.vue.d.ts +9 -35
  93. package/library/types/components/VcAskUserCard/UiComponents/askUserControl.d.ts +1 -1
  94. package/library/types/components/VcAskUserCard/VcAskUserCard.vue.d.ts +18 -63
  95. package/library/types/components/VcAskUserCard/askUserAnswers.d.ts +1 -1
  96. package/library/types/components/VcAutocomplete/VcAutocomplete.vue.d.ts +64 -171
  97. package/library/types/components/VcAvatar/VcAvatar.vue.d.ts +5 -39
  98. package/library/types/components/VcBadgeTag/VcBadgeTag.vue.d.ts +12 -33
  99. package/library/types/components/VcButton/VcButton.vue.d.ts +19 -50
  100. package/library/types/components/VcButton/VcButtonIcon.vue.d.ts +16 -63
  101. package/library/types/components/VcButton/VcToggleButton.vue.d.ts +23 -63
  102. package/library/types/components/VcCard/VcCard.vue.d.ts +14 -42
  103. package/library/types/components/VcChatComposer/VcChatComposer.vue.d.ts +32 -97
  104. package/library/types/components/VcChatComposer/richText.d.ts +2 -2
  105. package/library/types/components/VcChatComposer/tiptap.d.ts +38 -38
  106. package/library/types/components/VcCheckbox/VcCheckbox.vue.d.ts +46 -95
  107. package/library/types/components/VcCheckbox/VcCheckboxButton.vue.d.ts +41 -77
  108. package/library/types/components/VcCheckbox/VcCheckboxButtonGroup.vue.d.ts +40 -76
  109. package/library/types/components/VcCheckbox/VcCheckboxGroupEl.vue.d.ts +10 -4
  110. package/library/types/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +44 -82
  111. package/library/types/components/VcCodeBlock/VcCodeBlock.vue.d.ts +5 -39
  112. package/library/types/components/VcCodeBlock/highlight.d.ts +1 -2
  113. package/library/types/components/VcCollapse/VcCollapse.vue.d.ts +17 -38
  114. package/library/types/components/VcCollapse/VcCollapseItem.vue.d.ts +26 -63
  115. package/library/types/components/VcCollapse/VcCollapseTransition.vue.d.ts +12 -6
  116. package/library/types/components/VcColorPicker/VcColorPicker.vue.d.ts +7 -43
  117. package/library/types/components/VcDatePicker/VcDatePicker.vue.d.ts +63 -103
  118. package/library/types/components/VcDatePickerPanel/VcDatePickerPanel.vue.d.ts +69 -132
  119. package/library/types/components/VcDelimitedList/VcDelimitedList.vue.d.ts +39 -78
  120. package/library/types/components/VcDropdown/VcDropdown.vue.d.ts +22 -81
  121. package/library/types/components/VcDropdown/VcDropdownItem.vue.d.ts +9 -12
  122. package/library/types/components/VcEmojiPicker/VcEmojiPicker.vue.d.ts +20 -45
  123. package/library/types/components/VcExcelUploader/VcExcelFileProcessLoader.vue.d.ts +4 -36
  124. package/library/types/components/VcExcelUploader/VcExcelFileUploadBlock.vue.d.ts +16 -39
  125. package/library/types/components/VcExcelUploader/VcExcelFileUploader.vue.d.ts +40 -74
  126. package/library/types/components/VcExcelUploader/VcFileImportErrorsCard.vue.d.ts +7 -29
  127. package/library/types/components/VcExcelUploader/VcFileImportParseResultBlock.vue.d.ts +20 -44
  128. package/library/types/components/VcExcelUploader/VcFileImportResultBindData.vue.d.ts +9 -37
  129. package/library/types/components/VcExcelUploader/VcFileImportResultBindDataTable.vue.d.ts +7 -31
  130. package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.d.ts +8 -44
  131. package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.d.ts +5 -45
  132. package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +10 -80
  133. package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.vue.d.ts +7 -39
  134. package/library/types/components/VcFileUploader/VcFileItem.vue.d.ts +9 -39
  135. package/library/types/components/VcFileUploader/VcFileUploader.vue.d.ts +24 -83
  136. package/library/types/components/VcFileUploader/VcFileUploaderArea.vue.d.ts +30 -90
  137. package/library/types/components/VcFileUploader/VcFileUploaderSimple.vue.d.ts +37 -96
  138. package/library/types/components/VcFileUploader/VcSimpleUploaderAction.vue.d.ts +18 -35
  139. package/library/types/components/VcFileUploader/VcSimpleUploaderFileList.vue.d.ts +27 -33
  140. package/library/types/components/VcFilterBar/VcFilterAddMenu.vue.d.ts +14 -31
  141. package/library/types/components/VcFilterBar/VcFilterBar.vue.d.ts +62 -104
  142. package/library/types/components/VcFilterBar/VcFilterChip.vue.d.ts +23 -32
  143. package/library/types/components/VcFilterBar/VcFilterChipEditor.vue.d.ts +20 -38
  144. package/library/types/components/VcFilterBar/VcFilterEditorModal.vue.d.ts +16 -29
  145. package/library/types/components/VcFilterBar/VcFilterEditorPanel.vue.d.ts +29 -93
  146. package/library/types/components/VcFilterBar/editors/VcFilterBooleanEditor.vue.d.ts +16 -55
  147. package/library/types/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue.d.ts +17 -60
  148. package/library/types/components/VcFilterBar/editors/VcFilterRangeEditor.vue.d.ts +16 -53
  149. package/library/types/components/VcFilterBar/editors/VcFilterSelectEditor.vue.d.ts +16 -53
  150. package/library/types/components/VcFilterBar/editors/VcFilterTextEditor.vue.d.ts +17 -56
  151. package/library/types/components/VcFilterBar/editors/VcFilterTextListEditor.vue.d.ts +17 -54
  152. package/library/types/components/VcFilterBar/filterBarChip.d.ts +1 -1
  153. package/library/types/components/VcFilterBar/filterBarDate.d.ts +1 -1
  154. package/library/types/components/VcFilterBar/filterBarDraft.d.ts +11 -11
  155. package/library/types/components/VcFilterBar/filterBarEditors.d.ts +2 -2
  156. package/library/types/components/VcFilterBar/filterBarErrors.d.ts +1 -1
  157. package/library/types/components/VcFilterBar/filterBarModel.d.ts +1 -1
  158. package/library/types/components/VcFilterBar/filterBarOptions.d.ts +2 -2
  159. package/library/types/components/VcFilterBar/filterBarSearch.d.ts +1 -1
  160. package/library/types/components/VcFilterBar/filterBarValidate.d.ts +1 -1
  161. package/library/types/components/VcForm/UiComponents/VcInputError.vue.d.ts +6 -27
  162. package/library/types/components/VcForm/UiComponents/VcInputLabel.vue.d.ts +14 -36
  163. package/library/types/components/VcForm/VcForm.vue.d.ts +15 -46
  164. package/library/types/components/VcForm/VcFormItem.vue.d.ts +23 -42
  165. package/library/types/components/VcHtmlEditor/VcHtmlEditor.vue.d.ts +8 -42
  166. package/library/types/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.d.ts +20 -34
  167. package/library/types/components/VcHtmlEditor/codemirror.d.ts +2 -2
  168. package/library/types/components/VcHtmlEditor/htmlEditor.config.d.ts +2 -2
  169. package/library/types/components/VcHyperLink/VcHyperLink.vue.d.ts +14 -39
  170. package/library/types/components/VcIcon/VcIcon.vue.d.ts +5 -31
  171. package/library/types/components/VcIconPicker/VcIconPicker.vue.d.ts +26 -60
  172. package/library/types/components/VcImageUploader/VcImageUploader.vue.d.ts +27 -50
  173. package/library/types/components/VcImageUploader/cropper.d.ts +24 -24
  174. package/library/types/components/VcInput/VcInput.vue.d.ts +14 -72
  175. package/library/types/components/VcInputNumber/VcInputNumber.vue.d.ts +7 -57
  176. package/library/types/components/VcInteractive/VcInteractive.vue.d.ts +47 -0
  177. package/library/types/components/VcJsonSchema/Components/ImportJsonSchemaModal.vue.d.ts +10 -19
  178. package/library/types/components/VcJsonSchema/Components/JsonCodeMirror.vue.d.ts +9 -18
  179. package/library/types/components/VcJsonSchema/Components/JsonSchemaEditor.vue.d.ts +25 -68
  180. package/library/types/components/VcJsonSchema/Components/JsonSchemaManageModal.vue.d.ts +11 -21
  181. package/library/types/components/VcJsonSchema/Components/codemirror.d.ts +2 -2
  182. package/library/types/components/VcJsonSchema/PropertySetup/JsonSchemaPropertyModal.vue.d.ts +12 -24
  183. package/library/types/components/VcJsonSchema/VcJsonSchema.vue.d.ts +30 -47
  184. package/library/types/components/VcJsonSchema/helpers/jsonSchema.enum.d.ts +1 -1
  185. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue.d.ts +9 -37
  186. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue.d.ts +5 -15
  187. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue.d.ts +7 -29
  188. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue.d.ts +6 -28
  189. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue.d.ts +7 -19
  190. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue.d.ts +7 -30
  191. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue.d.ts +8 -34
  192. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue.d.ts +17 -38
  193. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue.d.ts +5 -15
  194. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue.d.ts +5 -15
  195. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue.d.ts +8 -33
  196. package/library/types/components/VcJsonViewer/VcJsonViewer.vue.d.ts +12 -75
  197. package/library/types/components/VcJsonViewer/jsonViewerText.d.ts +2 -2
  198. package/library/types/components/VcJsonViewer/jsonViewerUtils.d.ts +1 -1
  199. package/library/types/components/VcJsonViewer/useJsonViewerContext.d.ts +1 -1
  200. package/library/types/components/VcLightbox/VcLightbox.vue.d.ts +30 -62
  201. package/library/types/components/VcLoading/Loaders/Circles.vue.d.ts +4 -26
  202. package/library/types/components/VcLoading/Loaders/DotSpinner.vue.d.ts +4 -26
  203. package/library/types/components/VcLoading/Loaders/LdsSpinner.vue.d.ts +4 -26
  204. package/library/types/components/VcLoading/Loaders/LoadIcon.vue.d.ts +5 -29
  205. package/library/types/components/VcLoading/Loaders/Stretch.vue.d.ts +4 -26
  206. package/library/types/components/VcLoading/Loaders/index.d.ts +5 -5
  207. package/library/types/components/VcLoading/Loaders/types.d.ts +1 -1
  208. package/library/types/components/VcLoading/VcLoading.vue.d.ts +13 -38
  209. package/library/types/components/VcLoading/enum.d.ts +13 -129
  210. package/library/types/components/VcMdEditor/ParameterNode.vue.d.ts +5 -4
  211. package/library/types/components/VcMdEditor/VcMdEditor.vue.d.ts +33 -215
  212. package/library/types/components/VcMdEditor/VcMdEditorContent.vue.d.ts +10 -44
  213. package/library/types/components/VcMdEditor/VcMdEditorToolbar.vue.d.ts +12 -23
  214. package/library/types/components/VcMdEditor/ltrNumbersPlugin.d.ts +3 -3
  215. package/library/types/components/VcMdEditor/mdEditor.config.d.ts +10 -10
  216. package/library/types/components/VcMdEditor/milkdown.d.ts +1 -1
  217. package/library/types/components/VcMdEditor/readonlyMarkdown.d.ts +1 -1
  218. package/library/types/components/VcMdEditor/rtlCursorPlugin.d.ts +2 -2
  219. package/library/types/components/VcMessage/VcMessage.vue.d.ts +26 -82
  220. package/library/types/components/VcMessage/VcMessageMeta.vue.d.ts +7 -20
  221. package/library/types/components/VcMessage/content/VcMessageAudioBlock.vue.d.ts +6 -19
  222. package/library/types/components/VcMessage/content/VcMessageFileBlock.vue.d.ts +9 -22
  223. package/library/types/components/VcMessage/content/VcMessageImageBlock.vue.d.ts +9 -22
  224. package/library/types/components/VcMessage/content/VcMessageMarkdownBlock.vue.d.ts +6 -19
  225. package/library/types/components/VcMessage/content/VcMessageTextBlock.vue.d.ts +6 -19
  226. package/library/types/components/VcMessage/content/VcMessageVideoBlock.vue.d.ts +6 -19
  227. package/library/types/components/VcMessage/content/messageContentComponents.d.ts +2 -2
  228. package/library/types/components/VcMessage/reactions/VcMessageEmojiPicker.vue.d.ts +28 -52
  229. package/library/types/components/VcMessage/reactions/VcMessageReactionBar.vue.d.ts +9 -22
  230. package/library/types/components/VcMessagesWrapper/VcMessagesWrapper.vue.d.ts +38 -208
  231. package/library/types/components/VcMessagesWrapper/VcMessagesWrapperRow.vue.d.ts +41 -86
  232. package/library/types/components/VcMeterGroup/VcMeterGroup.vue.d.ts +68 -112
  233. package/library/types/components/VcMeterGroup/VcMeterGroupLabel.vue.d.ts +15 -38
  234. package/library/types/components/VcModal/VcConfirmModal.vue.d.ts +7 -33
  235. package/library/types/components/VcModal/VcModal.vue.d.ts +26 -79
  236. package/library/types/components/VcNavigationSidebar/NavigationSidebarLink.vue.d.ts +17 -0
  237. package/library/types/components/VcNavigationSidebar/NavigationSidebarMobileList.vue.d.ts +15 -0
  238. package/library/types/components/VcNavigationSidebar/NavigationSidebarMore.vue.d.ts +15 -0
  239. package/library/types/components/VcNavigationSidebar/NavigationSidebarPanel.vue.d.ts +33 -0
  240. package/library/types/components/VcNavigationSidebar/VcNavigationSidebar.vue.d.ts +121 -0
  241. package/library/types/components/VcNavigationSidebar/navigationSidebarModel.d.ts +42 -0
  242. package/library/types/components/VcNotification/VcNotification.vue.d.ts +5 -65
  243. package/library/types/components/VcNotification/VcNotificationMessage.vue.d.ts +9 -18
  244. package/library/types/components/VcOtpInput/VcOtpInput.vue.d.ts +11 -61
  245. package/library/types/components/VcPagination/VcPagination.vue.d.ts +16 -49
  246. package/library/types/components/VcPagination/VcPaginationButton.vue.d.ts +10 -45
  247. package/library/types/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.vue.d.ts +24 -41
  248. package/library/types/components/VcPdfViewer/VcPdfDocument.vue.d.ts +17 -41
  249. package/library/types/components/VcPdfViewer/VcPdfDocumentCard.vue.d.ts +18 -37
  250. package/library/types/components/VcPdfViewer/VcPdfDocumentPage.vue.d.ts +8 -38
  251. package/library/types/components/VcPdfViewer/VcPdfDocumentViewerFooter.vue.d.ts +15 -45
  252. package/library/types/components/VcPdfViewer/VcPdfDocumentViewerToolbar.vue.d.ts +18 -12
  253. package/library/types/components/VcPdfViewer/VcPdfViewer.vue.d.ts +37 -72
  254. package/library/types/components/VcPdfViewer/pdfDocumentActions.d.ts +1 -1
  255. package/library/types/components/VcPdfViewer/pdfDocumentParams.d.ts +1 -1
  256. package/library/types/components/VcPdfViewer/pdfjslib.d.ts +1 -1
  257. package/library/types/components/VcPhoneInput/VcFlagLabel.vue.d.ts +3 -23
  258. package/library/types/components/VcPhoneInput/VcPhoneInput.vue.d.ts +32 -79
  259. package/library/types/components/VcPluginOverlays/VcPluginOverlays.vue.d.ts +4 -26
  260. package/library/types/components/VcPopover/VcConfirmPopover.vue.d.ts +15 -37
  261. package/library/types/components/VcPopover/VcPopover.vue.d.ts +21 -61
  262. package/library/types/components/VcPopover/VcSelectPopover.vue.d.ts +33 -97
  263. package/library/types/components/VcProgress/VcProgress.vue.d.ts +18 -53
  264. package/library/types/components/VcProgress/VcProgressCircular.vue.d.ts +19 -56
  265. package/library/types/components/VcProgress/progress.options.d.ts +4 -4
  266. package/library/types/components/VcRadio/VcRadio.vue.d.ts +26 -55
  267. package/library/types/components/VcRadioButtons/VcRadioButtonsGroup.vue.d.ts +30 -73
  268. package/library/types/components/VcRadioGroup/VcRadioGroup.vue.d.ts +31 -76
  269. package/library/types/components/VcRadioTabs/UiComponents/VcRadioTabsNav.vue.d.ts +26 -62
  270. package/library/types/components/VcRadioTabs/UiComponents/VcRadioTabsNavHint.vue.d.ts +13 -26
  271. package/library/types/components/VcRadioTabs/VcRadioTabs.vue.d.ts +25 -81
  272. package/library/types/components/VcSegmented/VcSegmented.vue.d.ts +45 -92
  273. package/library/types/components/VcSelect/VcInfiniteScrollSelect.vue.d.ts +50 -154
  274. package/library/types/components/VcSelect/VcSelect.vue.d.ts +65 -254
  275. package/library/types/components/VcSelect/VcSelectGrouped.vue.d.ts +57 -175
  276. package/library/types/components/VcSelect/VcSelectOption.vue.d.ts +25 -45
  277. package/library/types/components/VcSipFlow/VcSipFlow.vue.d.ts +23 -53
  278. package/library/types/components/VcSkeletonLoader/Loaders/Card.vue.d.ts +6 -27
  279. package/library/types/components/VcSkeletonLoader/Loaders/Circle.vue.d.ts +7 -31
  280. package/library/types/components/VcSkeletonLoader/Loaders/Row.vue.d.ts +7 -31
  281. package/library/types/components/VcSkeletonLoader/Loaders/Square.vue.d.ts +7 -31
  282. package/library/types/components/VcSkeletonLoader/Loaders/Text.vue.d.ts +5 -14
  283. package/library/types/components/VcSkeletonLoader/VcSkeletonItem.vue.d.ts +9 -39
  284. package/library/types/components/VcSkeletonLoader/VcSkeletonLoader.vue.d.ts +14 -55
  285. package/library/types/components/VcSlider/VcSlider.vue.d.ts +2 -1
  286. package/library/types/components/VcSoundplayer/VcPlayerPlayStopButton.vue.d.ts +16 -68
  287. package/library/types/components/VcSoundplayer/VcPlayerPlaybackRate.vue.d.ts +8 -37
  288. package/library/types/components/VcSoundplayer/VcPlayerPlaybackRatePopup.vue.d.ts +9 -41
  289. package/library/types/components/VcSoundplayer/VcPlayerSkipButtons.vue.d.ts +20 -54
  290. package/library/types/components/VcSoundplayer/VcSoundCurrentTime.vue.d.ts +2 -1
  291. package/library/types/components/VcSoundplayer/VcSoundDuration.vue.d.ts +2 -1
  292. package/library/types/components/VcSoundplayer/VcSoundPlayer.vue.d.ts +35 -69
  293. package/library/types/components/VcSoundplayer/VcSoundPlayerCompact.vue.d.ts +20 -57
  294. package/library/types/components/VcSoundplayer/VcSoundPlayerError.vue.d.ts +9 -26
  295. package/library/types/components/VcSoundplayer/VcSoundPlayerMarker.vue.d.ts +24 -55
  296. package/library/types/components/VcSoundplayer/VcSoundPlayerMarkers.vue.d.ts +23 -38
  297. package/library/types/components/VcSoundplayer/VcSoundPlayerProgress.vue.d.ts +14 -17
  298. package/library/types/components/VcSoundplayer/VcSoundPlayerWrapper.vue.d.ts +26 -146
  299. package/library/types/components/VcSoundplayer/VcSoundVolume.vue.d.ts +11 -50
  300. package/library/types/components/VcSoundplayer/player.options.d.ts +2 -2
  301. package/library/types/components/VcSoundplayer/soundPlayerParts.d.ts +12 -12
  302. package/library/types/components/VcSoundplayer/wavesurfer.d.ts +2 -2
  303. package/library/types/components/VcSparkline/VcBarLine.vue.d.ts +17 -68
  304. package/library/types/components/VcSparkline/VcSparkline.vue.d.ts +15 -75
  305. package/library/types/components/VcSparkline/VcTrendLine.vue.d.ts +17 -68
  306. package/library/types/components/VcSplitButton/VcSplitButton.vue.d.ts +30 -75
  307. package/library/types/components/VcSwitch/VcSwitch.vue.d.ts +77 -138
  308. package/library/types/components/VcSystemUserPrompt/VcSystemUserPrompt.vue.d.ts +19 -36
  309. package/library/types/components/VcSystemUserPrompt/enum.d.ts +1 -1
  310. package/library/types/components/VcTable/VcTable.vue.d.ts +138 -360
  311. package/library/types/components/VcTabs/VcTabNav.vue.d.ts +20 -43
  312. package/library/types/components/VcTabs/VcTabPane.vue.d.ts +19 -52
  313. package/library/types/components/VcTabs/VcTabs.vue.d.ts +137 -165
  314. package/library/types/components/VcTag/VcTag.vue.d.ts +14 -49
  315. package/library/types/components/VcTagInput/VcTagInput.vue.d.ts +22 -86
  316. package/library/types/components/VcTimeInput/VcTimeInput.vue.d.ts +9 -57
  317. package/library/types/components/VcToolCall/UiComponents/VcToolCallValue.vue.d.ts +9 -49
  318. package/library/types/components/VcToolCall/VcToolCall.vue.d.ts +40 -73
  319. package/library/types/components/VcTour/VcTour.vue.d.ts +35 -54
  320. package/library/types/components/VcTransfer/VcTransfer.vue.d.ts +25 -52
  321. package/library/types/components/VcTree/VcTree.vue.d.ts +61 -143
  322. package/library/types/components/VcTree/VcTreeSelect.vue.d.ts +449 -958
  323. package/library/types/components/VcTree/treeTypeUtils.d.ts +1 -1
  324. package/library/types/components/VcVerticalTabs/VcVerticalTabs.vue.d.ts +34 -80
  325. package/library/types/components/VcVerticalTabs/VerticalTabNav.vue.d.ts +31 -73
  326. package/library/types/components/VcWizard/VcSummaryProgress.vue.d.ts +3 -33
  327. package/library/types/components/VcWizard/VcSummaryStep.vue.d.ts +6 -36
  328. package/library/types/components/VcWizard/VcWizard.vue.d.ts +33 -62
  329. package/library/types/components/VcWizard/VcWizardNavigation.vue.d.ts +20 -53
  330. package/library/types/components/VcWizard/VcWizardSummary.vue.d.ts +6 -34
  331. package/library/types/components/VcWizard/VcWizardTransition.vue.d.ts +58 -0
  332. package/library/types/components/exports.d.ts +132 -128
  333. package/library/types/components.gen.d.ts +2 -0
  334. package/library/types/composables/input/useFileUploader.d.ts +1 -1
  335. package/library/types/composables/input/useInputBase.d.ts +5 -5
  336. package/library/types/composables/input/useInputColor.d.ts +4 -4
  337. package/library/types/composables/option/useOptionMethods.d.ts +14 -14
  338. package/library/types/composables/useAudioRecorder.d.ts +6 -6
  339. package/library/types/composables/useCopyButton.d.ts +2 -2
  340. package/library/types/composables/useElapsed.d.ts +2 -2
  341. package/library/types/composables/useThrottledText.d.ts +1 -1
  342. package/library/types/directives/index.d.ts +1 -1
  343. package/library/types/entity/components/Button/VcEntityAddButton.vue.d.ts +16 -33
  344. package/library/types/entity/components/Button/VcEntityCancelButton.vue.d.ts +21 -45
  345. package/library/types/entity/components/Button/VcEntityDeleteIconButton.vue.d.ts +21 -41
  346. package/library/types/entity/components/Button/VcEntityEditIconButton.vue.d.ts +18 -30
  347. package/library/types/entity/components/Button/VcEntityRestoreButton.vue.d.ts +21 -45
  348. package/library/types/entity/components/Button/VcEntityStatusButton.vue.d.ts +21 -40
  349. package/library/types/entity/components/Form/VcBaseVerticalForm.vue.d.ts +18 -37
  350. package/library/types/entity/components/Form/VcEntityEditPageForm.vue.d.ts +26 -54
  351. package/library/types/entity/components/Form/VcEntityVerticalCreateForm.vue.d.ts +16 -34
  352. package/library/types/entity/components/Form/VcEntityVerticalEditForm.vue.d.ts +31 -76
  353. package/library/types/entity/components/Table/VcEntityListTable.vue.d.ts +38 -135
  354. package/library/types/entity/components/Tabs/VcEntityEditableTabs.vue.d.ts +55 -151
  355. package/library/types/entity/components/index.d.ts +12 -12
  356. package/library/types/entity/composable/useEntityProvideInject.d.ts +1 -1
  357. package/library/types/entity/services/BaseEntityService.d.ts +2 -2
  358. package/library/types/enum/fileTypes.d.ts +1 -1
  359. package/library/types/localization/Localization.types.d.ts +2 -2
  360. package/library/types/localization/index.d.ts +2 -2
  361. package/library/types/localization/locales/en.json.d.ts +423 -415
  362. package/library/types/plugin-components.gen.d.ts +1 -1
  363. package/library/types/plugin.d.ts +1 -1
  364. package/library/types/services/index.d.ts +1 -7
  365. package/library/types/types/Entity.types.d.ts +8 -1
  366. package/library/types/types/Entry.types.d.ts +1 -1
  367. package/library/types/types/ExcelParser.types.d.ts +1 -1
  368. package/library/types/types/OptionAndConfig.types.d.ts +8 -4
  369. package/library/types/types/Overlay.types.d.ts +1 -1
  370. package/library/types/types/Tabs.d.ts +1 -1
  371. package/library/types/types/VcAgentRun.types.d.ts +3 -3
  372. package/library/types/types/VcAiReasoning.types.d.ts +1 -1
  373. package/library/types/types/VcApprovalCard.types.d.ts +1 -1
  374. package/library/types/types/VcChatComposer.types.d.ts +1 -1
  375. package/library/types/types/VcDatePicker.types.d.ts +1 -1
  376. package/library/types/types/VcDropdown.types.d.ts +2 -2
  377. package/library/types/types/VcEditableTabs.types.d.ts +1 -1
  378. package/library/types/types/VcEmojiPicker.types.d.ts +1 -1
  379. package/library/types/types/VcFileUploader.types.d.ts +1 -1
  380. package/library/types/types/VcFilterBar.types.d.ts +3 -3
  381. package/library/types/types/VcInteractive.types.d.ts +7 -0
  382. package/library/types/types/VcJsonViewer.types.d.ts +2 -2
  383. package/library/types/types/VcMdEditor.types.d.ts +1 -1
  384. package/library/types/types/VcMessage.types.d.ts +1 -1
  385. package/library/types/types/VcMessagesWrapper.types.d.ts +1 -1
  386. package/library/types/types/VcNavigationSidebar.types.d.ts +66 -0
  387. package/library/types/types/VcNotification.types.d.ts +2 -2
  388. package/library/types/types/VcSoundPlayer.types.d.ts +3 -3
  389. package/library/types/types/VcSoundPlayerInstance.types.d.ts +3 -3
  390. package/library/types/types/VcSplitButton.types.d.ts +4 -4
  391. package/library/types/types/VcToolCall.types.d.ts +2 -2
  392. package/library/types/types/VcTour.types.d.ts +2 -2
  393. package/library/types/types/VcTree.types.d.ts +2 -2
  394. package/library/types/types/icons.types.d.ts +1 -1
  395. package/library/types/types/index.d.ts +2 -0
  396. package/library/types/utils/aiChat.d.ts +1 -1
  397. package/library/types/utils/elementPlusIcons.d.ts +2 -2
  398. package/library/types/utils/excelParser/configs.d.ts +1 -1
  399. package/library/types/utils/excelParser/helper.d.ts +3 -3
  400. package/library/types/utils/excelParser/parser.d.ts +1 -1
  401. package/library/types/utils/excelParser/validations.d.ts +1 -1
  402. package/library/types/utils/helpers.d.ts +1 -1
  403. package/library/types/utils/jsonSchema/helpers.d.ts +2 -5
  404. package/library/types/utils/jsonSchema/index.d.ts +1 -1
  405. package/library/types/utils/jsonSchema/jsonSchemaHelpers.d.ts +4 -4
  406. package/library/types/utils/lucideIcon.d.ts +1 -1
  407. package/library/types/utils/mountPluginOverlays.d.ts +1 -1
  408. package/library/utils/globalSingleton.mjs +11 -5
  409. package/library/utils/jsonSchema/jsonSchemaHelpers.mjs +0 -1
  410. package/package.json +1 -1
  411. /package/library/assets/node_modules/element-plus/theme-chalk/src/{date-picker.css → tooltip.css} +0 -0
@@ -1,2 +1,2 @@
1
- import type { App } from 'vue';
1
+ import { App } from 'vue';
2
2
  export declare function registerComponents(app: App): void;
@@ -1,4 +1,4 @@
1
- import type { FunctionPlugin } from 'vue';
1
+ import { FunctionPlugin } from 'vue';
2
2
  import { UIConfig } from './types';
3
3
  declare const install: FunctionPlugin<UIConfig>;
4
4
  export * from './index';
@@ -1,8 +1,2 @@
1
- /**
2
- * Services entry point - intentionally separate from UI components
3
- *
4
- * This entry point is designed to be safe for usage in service workers
5
- * and other non-DOM environments.
6
- */
7
- import NotificationService, { NotifyService, VcNotifySymbol } from './VcNotifyService';
1
+ import { default as NotificationService, NotifyService, VcNotifySymbol } from './VcNotifyService';
8
2
  export { NotificationService, NotifyService, VcNotifySymbol };
@@ -1,5 +1,12 @@
1
1
  import { BaseEntityServiceImplements, InfoReturnType, ListReturnType } from '../entity';
2
- import type { UnwrapArray } from '.';
2
+ import { UnwrapArray } from '.';
3
3
  export type MethodType = 'list' | 'info' | 'both';
4
4
  export type ExtractServiceImplementsEntity<Entity extends BaseEntityServiceImplements, M extends MethodType = 'both'> = M extends 'list' ? UnwrapArray<ListReturnType<Entity>> : M extends 'info' ? InfoReturnType<Entity> : UnwrapArray<ListReturnType<Entity>> | InfoReturnType<Entity>;
5
+ /**
6
+ * @description The entity with `info` typed by its own answer: the type of the `entity` prop of
7
+ * `VcEntityEditableTabs`. A generic component that passes its own `entity` prop on declares that prop with this type.
8
+ */
9
+ export type VcEntityWithTypedInfo<Entity extends BaseEntityServiceImplements> = {
10
+ info(id: number | string): Promise<InfoReturnType<Entity>>;
11
+ } & Entity;
5
12
  export type NonNullableExtractServiceImplementsEntity<Entity extends BaseEntityServiceImplements, M extends MethodType = 'both'> = Exclude<ExtractServiceImplementsEntity<Entity, M>, undefined>;
@@ -1,6 +1,6 @@
1
1
  import { LanguageType } from '../localization/Localization.types';
2
2
  import { UIThemeConfig } from '../theme/theme.types';
3
- import type { OverlayNotificationsConfig } from './Overlay.types';
3
+ import { OverlayNotificationsConfig } from './Overlay.types';
4
4
  export declare type UIConfig = {
5
5
  lang?: LanguageType;
6
6
  themeConfig?: UIThemeConfig;
@@ -1,4 +1,4 @@
1
- import type { CellObject } from 'xlsx';
1
+ import { CellObject } from 'xlsx';
2
2
  export declare type RuleResultType = {
3
3
  valid: boolean;
4
4
  type: string;
@@ -1,7 +1,7 @@
1
- import type { StyleValue } from 'vue';
1
+ import { StyleValue } from 'vue';
2
2
  import { COMPONENT_COLOR_TYPE } from '../enum/constants';
3
3
  import { NestedKeys, PathValue } from '.';
4
- import type { TIcon } from './icons.types';
4
+ import { TIcon } from './icons.types';
5
5
  export type OptionObjectValueType = object;
6
6
  export type OptionNonObjectValueType = string | number | boolean;
7
7
  export type OptionValueType = OptionObjectValueType | OptionNonObjectValueType;
@@ -24,9 +24,13 @@ export type ConfigOptionType<Option extends OptionValueType> = Option extends Op
24
24
  export type ExtractValueType<Option extends OptionValueType, Config extends ConfigOptionType<Option>> = Option extends OptionObjectValueType ? Config extends {
25
25
  valueKey: infer Key;
26
26
  } ? Key extends NestedKeys<Option> ? PathValue<Option, Key> : Option : Option : Option;
27
- export type OptionMappedType<Option extends OptionValueType, Config extends ConfigOptionType<Option>> = {
27
+ /**
28
+ * An option as the components read it. `Value` is the type of the option's value: what `valueKey` of the config
29
+ * points at, or a narrower type the component's model declares.
30
+ */
31
+ export type OptionMappedType<Option extends OptionValueType, Config extends ConfigOptionType<Option>, Value extends ExtractValueType<Option, Config> = ExtractValueType<Option, Config>> = {
28
32
  originalItem: Option;
29
- value: ExtractValueType<Option, Config>;
33
+ value: Value;
30
34
  label: string;
31
35
  disabled: boolean;
32
36
  /** @description Why the option is disabled: the non-empty string under `disabledHintKey` of a disabled option, otherwise undefined */
@@ -1,4 +1,4 @@
1
- import type { ToastPositionType } from './VcNotification.types';
1
+ import { ToastPositionType } from './VcNotification.types';
2
2
  export type OverlayNotificationHost = {
3
3
  group?: string;
4
4
  position?: ToastPositionType;
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import type { TIcon } from '.';
2
+ import { TIcon } from '.';
3
3
  export type VcEntityTabType<EntityData> = {
4
4
  name: string;
5
5
  label: string;
@@ -1,6 +1,6 @@
1
- import type { TIcon } from './icons.types';
2
- import type { VcAiTimestamp } from './VcAiChat.types';
3
- import type { VcToolCallStatus } from './VcToolCall.types';
1
+ import { TIcon } from './icons.types';
2
+ import { VcAiTimestamp } from './VcAiChat.types';
3
+ import { VcToolCallStatus } from './VcToolCall.types';
4
4
  export type VcAgentRunStatus = 'queued' | 'running' | 'completed' | 'failed' | 'stopped';
5
5
  export type VcAgentRunSection = 'task' | 'steps' | 'response';
6
6
  /**
@@ -1,4 +1,4 @@
1
- import type { VcAiTimestamp } from './VcAiChat.types';
1
+ import { VcAiTimestamp } from './VcAiChat.types';
2
2
  export interface VcAiReasoningProps {
3
3
  /**
4
4
  * Reasoning text. Markdown, rendered by a read-only VcMdEditor (updates are throttled while streaming), unless `markdown` is false.
@@ -1,4 +1,4 @@
1
- import type { VcAiTimestamp } from './VcAiChat.types';
1
+ import { VcAiTimestamp } from './VcAiChat.types';
2
2
  /**
3
3
  * `pending` — waits for a decision; `submitting` — the decision is being sent;
4
4
  * `approved` / `denied` — resolved; `expired` — no longer waiting.
@@ -1,4 +1,4 @@
1
- import type { FileUploaded, VcFileItemStatus } from './VcFileUploader.types';
1
+ import { FileUploaded, VcFileItemStatus } from './VcFileUploader.types';
2
2
  export type VcChatTextFormatType = 'bold' | 'italic' | 'strike' | 'code';
3
3
  export type VcChatEntityType = VcChatTextFormatType | 'mention';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { DatePickerType } from 'element-plus/es/components/date-picker-panel';
1
+ import { DatePickerType } from 'element-plus/es/components/date-picker-panel';
2
2
  export type TIDatePickerType = DatePickerType;
3
3
  export type TSingleDateType = Date | string | number | undefined;
4
4
  export type TRangeDateType = [TSingleDateType, TSingleDateType];
@@ -1,7 +1,7 @@
1
- import type { CSSProperties } from 'vue';
1
+ import { CSSProperties } from 'vue';
2
2
  import { COMPONENT_COLOR_TYPE, COMPONENT_SIZE_TYPE } from '../enum/constants';
3
3
  import { PopoverPlacementType } from './VcPopover.types';
4
- import type { TIcon } from './icons.types';
4
+ import { TIcon } from './icons.types';
5
5
  export type VcDropdownFn = (...args: Array<unknown>) => void;
6
6
  export type VcDropdownOption = {
7
7
  label?: string;
@@ -1,4 +1,4 @@
1
1
  import { Ref } from 'vue';
2
- import VcEntityEditableTabs from '../entity/components/Tabs/VcEntityEditableTabs.vue';
2
+ import { default as VcEntityEditableTabs } from '../entity/components/Tabs/VcEntityEditableTabs.vue';
3
3
  import { ComponentExposed } from 'vue-component-type-helpers';
4
4
  export declare type EditableTabsRef = Ref<ComponentExposed<typeof VcEntityEditableTabs> | null | undefined>;
@@ -1,4 +1,4 @@
1
- import type { PopoverPlacementType } from './VcPopover.types';
1
+ import { PopoverPlacementType } from './VcPopover.types';
2
2
  export interface VcEmojiPickerProps {
3
3
  /**
4
4
  * Emoji shown in the "Frequently used" group at the top. The group is hidden when empty.
@@ -1,4 +1,4 @@
1
- import type { IFileTypeStyle } from '../composables/input/useFileUploader';
1
+ import { IFileTypeStyle } from '../composables/input/useFileUploader';
2
2
  export interface FileUploaded extends File {
3
3
  id?: number;
4
4
  /**
@@ -1,6 +1,6 @@
1
- import type { Component } from 'vue';
2
- import type { TIcon } from './icons.types';
3
- import type { VcTimeInputFormat } from './VcTimeInput.types';
1
+ import { Component } from 'vue';
2
+ import { TIcon } from './icons.types';
3
+ import { VcTimeInputFormat } from './VcTimeInput.types';
4
4
  /**
5
5
  * @description The value of a filter bar: a plain object, sent to the server as it is.
6
6
  * Empty values (`[]`, `null`, `undefined`, `''`) are left out; `false` and `0` are values.
@@ -0,0 +1,7 @@
1
+ import { Component } from 'vue';
2
+ import { COMPONENT_COLOR_TYPE } from '../enum/constants';
3
+ /** How the control is drawn: a solid fill, a tint of the colour, a border, or nothing until the pointer is on it. */
4
+ export type InteractiveVariant = 'filled' | 'soft' | 'outline' | 'ghost';
5
+ export type InteractiveColor = Exclude<COMPONENT_COLOR_TYPE, ''>;
6
+ /** The element or component the control renders as. */
7
+ export type InteractiveElement = string | Component;
@@ -1,5 +1,5 @@
1
- import type { ComputedRef } from 'vue';
2
- import type { COMPONENT_COLOR_TYPE } from '../enum/constants';
1
+ import { ComputedRef } from 'vue';
2
+ import { COMPONENT_COLOR_TYPE } from '../enum/constants';
3
3
  export declare type VcJsonPrimitive = string | number | boolean | null;
4
4
  export declare type VcJsonObject = {
5
5
  [key: string]: VcJsonValue;
@@ -1,4 +1,4 @@
1
- import type { JSONSchema7 } from 'json-schema';
1
+ import { JSONSchema7 } from 'json-schema';
2
2
  export type TMDEditorParameterItem = {
3
3
  label: string;
4
4
  tag: string;
@@ -1,5 +1,5 @@
1
1
  import { COMPONENT_COLOR_TYPE } from '../enum/constants';
2
- import type { TIcon } from './icons.types';
2
+ import { TIcon } from './icons.types';
3
3
  /**
4
4
  * Message side: `end` — own messages, `start` — messages of other participants.
5
5
  * Logical values, so they mirror in RTL. Sets the toolbar side and the color scheme; text is always aligned to start.
@@ -1,4 +1,4 @@
1
- import type { VcMessageContent, VcMessageOption, VcMessageReaction, VcMessageReply, VcMessageStatus, VcMessageVariant } from './VcMessage.types';
1
+ import { VcMessageContent, VcMessageOption, VcMessageReaction, VcMessageReply, VcMessageStatus, VcMessageVariant } from './VcMessage.types';
2
2
  export type VcChatMessageId = string | number;
3
3
  export interface VcChatMessageSender {
4
4
  /**
@@ -0,0 +1,66 @@
1
+ import { TIcon } from './icons.types';
2
+ /**
3
+ * Where a link goes when it is a router link: what RouterLink's `to` takes
4
+ * (a path, or a route location object). Kept loose so the library does not
5
+ * depend on vue-router.
6
+ */
7
+ export type NavigationSidebarRoute = string | Record<string, unknown>;
8
+ /** A page: in the rail, in a group's panel, or in a section of a panel. */
9
+ export interface NavigationSidebarLink {
10
+ /** Unique key, matched against the sidebar's `active` */
11
+ key: string;
12
+ /** Name of the page */
13
+ label: string;
14
+ /** Icon before the name (a Lucide component or a `vc-icon-*` class) */
15
+ icon?: TIcon;
16
+ /** Router location: the link renders RouterLink when the app has vue-router */
17
+ to?: NavigationSidebarRoute;
18
+ /** Plain URL: the link renders `<a href>` */
19
+ href?: string;
20
+ /** `target` of a plain URL link, `_blank` for example */
21
+ target?: string;
22
+ /** Short description of the page, shown in the link's tooltip */
23
+ description?: string;
24
+ /** Documentation of the page: the tooltip's book button opens it */
25
+ docsUrl?: string;
26
+ /** Short label after the name, `New` for example */
27
+ badge?: string;
28
+ /** The link cannot be opened */
29
+ disabled?: boolean;
30
+ }
31
+ /** A titled sub-group of links inside a group's panel. */
32
+ export interface NavigationSidebarSection {
33
+ key: string;
34
+ /** Title above the links */
35
+ label: string;
36
+ /** Short label after the title, `New` for example */
37
+ badge?: string;
38
+ children: NavigationSidebarLink[];
39
+ }
40
+ /** The block at the bottom of a group's panel. */
41
+ export interface NavigationSidebarGroupInfo {
42
+ title: string;
43
+ text?: string;
44
+ /** Label of the action under the text, `Learn more` for example */
45
+ actionLabel?: string;
46
+ actionIcon?: TIcon;
47
+ /** URL the action opens in a new tab; without it the sidebar emits `info-action` */
48
+ href?: string;
49
+ /** Whether the block folds to its title; true by default */
50
+ collapsible?: boolean;
51
+ }
52
+ /** An area of the app: a rail item whose pages open in a panel beside the rail. */
53
+ export interface NavigationSidebarGroup {
54
+ key: string;
55
+ label: string;
56
+ icon?: TIcon;
57
+ /** Short description of the area, shown under its title in the More popover */
58
+ description?: string;
59
+ /** Links, and sections of links */
60
+ children: Array<NavigationSidebarLink | NavigationSidebarSection>;
61
+ info?: NavigationSidebarGroupInfo;
62
+ }
63
+ /** A rail item: a group when it has `children`, a link otherwise. */
64
+ export type NavigationSidebarItem = NavigationSidebarLink | NavigationSidebarGroup;
65
+ /** Key, or keys, of what is active: a link key, or every matched route name. */
66
+ export type NavigationSidebarActive = string | string[] | null | undefined;
@@ -1,4 +1,4 @@
1
- import { VNode } from 'vue';
1
+ import { HTMLAttributes, VNode } from 'vue';
2
2
  export declare type ToastPositionType = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'center' | undefined;
3
3
  export declare type ToastMessageSeverityType = 'success' | 'info' | 'warning' | 'error' | undefined;
4
4
  export interface ToastMessageOptions {
@@ -9,7 +9,7 @@ export interface ToastMessageOptions {
9
9
  duration?: number | undefined;
10
10
  group?: string | undefined;
11
11
  styleClass?: string;
12
- contentStyleClass?: unknown;
12
+ contentStyleClass?: HTMLAttributes['class'];
13
13
  id?: string | number | undefined;
14
14
  position?: ToastPositionType;
15
15
  component?: string | VNode | undefined;
@@ -1,6 +1,6 @@
1
- import type { Ref } from 'vue';
2
- import type { WaveSurferOptions } from 'wavesurfer.js';
3
- import type { TIcon } from './icons.types';
1
+ import { Ref } from 'vue';
2
+ import { WaveSurferOptions } from 'wavesurfer.js';
3
+ import { TIcon } from './icons.types';
4
4
  export declare type VcSoundPlayerSize = 'sm' | 'md';
5
5
  export declare type VcSoundDownloads = Array<string>;
6
6
  export declare type VcSoundPlayerMarkerPlacement = 'top' | 'center' | 'bottom';
@@ -1,6 +1,6 @@
1
- import type { ComponentExposed } from 'vue-component-type-helpers';
2
- import type VcSoundPlayer from '../components/VcSoundplayer/VcSoundPlayer.vue';
3
- import type VcSoundPlayerWrapper from '../components/VcSoundplayer/VcSoundPlayerWrapper.vue';
1
+ import { ComponentExposed } from 'vue-component-type-helpers';
2
+ import { default as VcSoundPlayer } from '../components/VcSoundplayer/VcSoundPlayer.vue';
3
+ import { default as VcSoundPlayerWrapper } from '../components/VcSoundplayer/VcSoundPlayerWrapper.vue';
4
4
  export type VcSoundPlayerInstance = ComponentExposed<typeof VcSoundPlayer>;
5
5
  export type VcSoundPlayerWrapperInstance = ComponentExposed<typeof VcSoundPlayerWrapper>;
6
6
  export type VcSoundPlayerExposed = VcSoundPlayerInstance;
@@ -5,10 +5,10 @@ export declare type VcSplitButtonSize = COMPONENT_SIZE_TYPE | undefined;
5
5
  export declare type VcSplitButtonOption = {
6
6
  label: string;
7
7
  /**
8
- * Icon shown before the option label. Accepts a class string (legacy
9
- * `vc-icon-*`) or a Vue component (e.g. a Lucide icon from
10
- * `@lucide/vue`).
11
- */
8
+ * Icon shown before the option label. Accepts a class string (legacy
9
+ * `vc-icon-*`) or a Vue component (e.g. a Lucide icon from
10
+ * `@lucide/vue`).
11
+ */
12
12
  icon?: TIcon;
13
13
  clickFunction?: unknown;
14
14
  };
@@ -1,5 +1,5 @@
1
- import type { TIcon } from './icons.types';
2
- import type { VcAiTimestamp } from './VcAiChat.types';
1
+ import { TIcon } from './icons.types';
2
+ import { VcAiTimestamp } from './VcAiChat.types';
3
3
  /**
4
4
  * Lifecycle of a tool invocation:
5
5
  * `pending` (queued) → `awaiting-approval` (waits for the user) → `running` → `success` | `error`;
@@ -1,6 +1,6 @@
1
- import type { Component, CSSProperties, VNode } from 'vue';
1
+ import { Component, CSSProperties, VNode } from 'vue';
2
2
  import { ButtonProps } from 'element-plus';
3
- import type { IScrollIntoViewOptions, PopoverPlacementType } from '.';
3
+ import { IScrollIntoViewOptions, PopoverPlacementType } from '.';
4
4
  export type ITargetFn = () => HTMLElement;
5
5
  export interface IMaskTourConfig {
6
6
  style?: CSSProperties;
@@ -1,5 +1,5 @@
1
- import type { ConfigOptionType } from './OptionAndConfig.types';
2
- import type { TIcon } from './icons.types';
1
+ import { ConfigOptionType } from './OptionAndConfig.types';
2
+ import { TIcon } from './icons.types';
3
3
  export declare type VcTreeNodeType<T extends string = string> = {
4
4
  id?: string | number;
5
5
  key?: string | number;
@@ -1,4 +1,4 @@
1
- import type { Component } from 'vue';
1
+ import { Component } from 'vue';
2
2
  import { VcIconList } from '../enum/icons';
3
3
  import { LucideIcon } from '@lucide/vue';
4
4
  export type TypeOfVcList = typeof VcIconList;
@@ -7,6 +7,7 @@ export * from './generic.types';
7
7
  export * from './OptionAndConfig.types';
8
8
  export * from './VcDropdown.types';
9
9
  export * from './VcButton.types';
10
+ export * from './VcInteractive.types';
10
11
  export * from './VcCollapse.types';
11
12
  export * from './VcDatePicker.types';
12
13
  export * from './VcDatetimeRangePicker.types';
@@ -67,3 +68,4 @@ export * from './VcEditableTabs.types';
67
68
  export * from './VcSipFlow.types';
68
69
  export * from './VcTour.types';
69
70
  export * from './Overlay.types';
71
+ export * from './VcNavigationSidebar.types';
@@ -1,4 +1,4 @@
1
- import type { VcAiTimestamp } from '../types';
1
+ import { VcAiTimestamp } from '../types';
2
2
  /** Result of `parseJsonLike`: nothing to show, structured data, or plain text. */
3
3
  export type VcAiJsonLike = {
4
4
  kind: 'empty';
@@ -1,5 +1,5 @@
1
- import { type Component } from 'vue';
2
- import type { TIcon } from '../types/icons.types';
1
+ import { Component } from 'vue';
2
+ import { TIcon } from '../types/icons.types';
3
3
  /**
4
4
  * A Lucide icon in the form Element Plus' icon props take (`suffix-icon`,
5
5
  * `clear-icon`, `icon` on el-tree…), drawn through VcIcon so it gets the
@@ -1,4 +1,4 @@
1
- import type { OptionsType } from '../../types';
1
+ import { OptionsType } from '../../types';
2
2
  export declare const defaultOptions: OptionsType;
3
3
  declare const sheetJSFT: string;
4
4
  declare const ignoredAsciiCodeSymbols: Array<number>;
@@ -1,5 +1,5 @@
1
- import type { BindingErrorsType, ErrorRowType, ParsedRow, ResultValidData } from '../../types';
2
- import type { WorkSheet } from 'xlsx';
1
+ import { BindingErrorsType, ErrorRowType, ParsedRow, ResultValidData } from '../../types';
2
+ import { WorkSheet } from 'xlsx';
3
3
  /**
4
4
  * Raw cell value as emitted by xlsx `sheet_to_json` with `header: 1`. Cells
5
5
  * can be primitives, dates, or `null` for empty intermediate cells.
@@ -9,7 +9,7 @@ export type RawCellValue = string | number | boolean | Date | null | undefined;
9
9
  * Array-of-arrays row produced by xlsx `sheet_to_json({ header: 1 })`.
10
10
  */
11
11
  export type SheetAoaRow = Array<RawCellValue>;
12
- export declare const readXLSXFile: (bStr: string | ArrayBuffer | null | undefined) => Promise<import("xlsx").WorkBook>;
12
+ export declare const readXLSXFile: (bStr: string | ArrayBuffer | null | undefined) => Promise<import('xlsx').WorkBook>;
13
13
  export declare const convertSheetToJson: (sheetData: WorkSheet) => Promise<Array<SheetAoaRow>>;
14
14
  export declare const normalizeData: <T>(data: T) => T;
15
15
  export declare const makeCols: (refStr: string) => Promise<{
@@ -1,4 +1,4 @@
1
- import type { BindingErrorsType, BindingHeaderObjectType, BindingRowItemType, ErrorRowType, FileObjectType, ParserDataObjectType, ValidateRowReturnType } from '../../types';
1
+ import { BindingErrorsType, BindingHeaderObjectType, BindingRowItemType, ErrorRowType, FileObjectType, ParserDataObjectType, ValidateRowReturnType } from '../../types';
2
2
  /**
3
3
  * Excel Parser Instance
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { ResultValidData, RuleResultType, RulesObjectType, ValidationFunctionType, ValidationOptionsType } from '../../types';
1
+ import { ResultValidData, RuleResultType, RulesObjectType, ValidationFunctionType, ValidationOptionsType } from '../../types';
2
2
  /**
3
3
  * Function validate
4
4
  */
@@ -1,6 +1,6 @@
1
1
  export declare function convertToUnit(str: string | number | null | undefined, unit?: string): string | undefined;
2
2
  export declare const getRefElement: (ref: HTMLElement | Element | {
3
- '$el': HTMLElement;
3
+ $el: HTMLElement;
4
4
  }) => HTMLElement | Element | null;
5
5
  export declare function resolveFieldData<T = Record<string, unknown>>(obj: T | null | undefined, field: string | ((row: T) => unknown) | null | undefined, defaultValue?: unknown): unknown;
6
6
  export declare const getFileSize: (bytes: number, decimals?: number) => (number | string)[] | string;
@@ -1,3 +1,5 @@
1
+ import { isEqual, xor, keys, merge } from 'lodash-es';
2
+ import { isFormat } from './jsonSchemaHelpers';
1
3
  export default helpers;
2
4
  export namespace helpers {
3
5
  export let stringFormats: string[];
@@ -16,9 +18,4 @@ export namespace helpers {
16
18
  */
17
19
  export function mergeSchemaObjs(schema1: object, schema2: object): object | null;
18
20
  }
19
- import { isEqual } from 'lodash-es';
20
- import { xor } from 'lodash-es';
21
- import { keys } from 'lodash-es';
22
- import { merge } from 'lodash-es';
23
- import { isFormat } from './jsonSchemaHelpers';
24
21
  export { isEqual, xor, keys, merge };
@@ -4,7 +4,7 @@
4
4
  * @param {object} [options]
5
5
  * @returns {S}
6
6
  */
7
- export function toJsonSchema<S extends import("json-schema").JSONSchema7>(value: unknown, options?: object | undefined): S;
7
+ export function toJsonSchema<S extends import('json-schema').JSONSchema7>(value: unknown, options?: object): S;
8
8
  export default ToJsonSchema;
9
9
  declare class ToJsonSchema {
10
10
  constructor(options: any);
@@ -1,12 +1,12 @@
1
1
  export namespace types {
2
- export function string(instance: any): boolean;
2
+ export function string(instance: any): instance is string;
3
3
  export function number(instance: any): boolean;
4
4
  export function integer(instance: any): boolean;
5
- export function boolean(instance: any): boolean;
6
- export function array(instance: any): boolean;
5
+ export function boolean(instance: any): instance is boolean;
6
+ export function array(instance: any): instance is any[];
7
7
  export function _null(instance: any): boolean;
8
8
  export { _null as null };
9
- export function date(instance: any): boolean;
9
+ export function date(instance: any): instance is Date;
10
10
  export function any(): boolean;
11
11
  export function object(instance: any): any;
12
12
  }
@@ -1,4 +1,4 @@
1
- import type { Component } from 'vue';
1
+ import { Component } from 'vue';
2
2
  /**
3
3
  * Legacy font-icon class strings always start with `vc-`
4
4
  * (e.g. `vc-icon-search`).
@@ -1,4 +1,4 @@
1
- import type { App, Component } from 'vue';
1
+ import { App, Component } from 'vue';
2
2
  /**
3
3
  * Mounts singleton overlay components (confirm modal/popover, notifications)
4
4
  * with the consumer app's context so globally registered components,
@@ -4,13 +4,19 @@ function globalSymbol(name) {
4
4
  return Symbol.for(`${NS}:${name}`);
5
5
  }
6
6
  const REGISTRY_KEY = Symbol.for(`${NS}:singletons`);
7
+ function isRegistry(value) {
8
+ return typeof value === "object" && value !== null;
9
+ }
7
10
  function getRegistry() {
8
- try {
9
- const host = reactive;
10
- return host[REGISTRY_KEY] ?? (host[REGISTRY_KEY] = {});
11
- } catch {
12
- return globalThis.__voicenterUiPlusSingletons ?? (globalThis.__voicenterUiPlusSingletons = {});
11
+ const stored = Reflect.get(reactive, REGISTRY_KEY);
12
+ if (isRegistry(stored)) {
13
+ return stored;
14
+ }
15
+ const registry = {};
16
+ if (Reflect.set(reactive, REGISTRY_KEY, registry)) {
17
+ return registry;
13
18
  }
19
+ return globalThis.__voicenterUiPlusSingletons ?? (globalThis.__voicenterUiPlusSingletons = {});
14
20
  }
15
21
  function globalSingleton(key, init) {
16
22
  const store = getRegistry();
@@ -45,7 +45,6 @@ const FORMAT_REGEXPS = {
45
45
  alpha: /^[a-zA-Z]+$/,
46
46
  alphanumeric: /^[a-zA-Z0-9]+$/,
47
47
  "utc-millisec": (input) => typeof input === "string" && parseFloat(input) === parseInt(input, 10) && !isNaN(input),
48
- // eslint-disable-line no-restricted-globals
49
48
  regex(input) {
50
49
  let result = true;
51
50
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voicenter-team/voicenter-ui-plus",
3
- "version": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "vite build && node script/copy-docs.mjs",