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

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 (437) hide show
  1. package/MIGRATION_v3.md +196 -196
  2. package/README.md +1058 -1057
  3. package/library/assets/components/VcFileUploader/VcFileUploaderSimple.css +1 -1
  4. package/library/assets/components/VcJsonSchema/Components/JsonSchemaEditor.css +1 -1
  5. package/library/assets/components/VcLoading/Loaders/Circles.css +1 -1
  6. package/library/assets/components/VcLoading/Loaders/DotSpinner.css +1 -1
  7. package/library/assets/components/VcLoading/Loaders/LdsSpinner.css +1 -1
  8. package/library/assets/components/VcLoading/Loaders/LoadIcon.css +1 -1
  9. package/library/assets/components/VcLoading/Loaders/Stretch.css +1 -1
  10. package/library/assets/components/VcLoading/VcLoading.css +1 -1
  11. package/library/assets/components/VcMdEditor/ParameterNode.css +1 -1
  12. package/library/assets/components/VcSegmented/VcSegmented.css +1 -1
  13. package/library/assets/components/VcSkeletonLoader/Loaders/Card.css +1 -1
  14. package/library/assets/components/VcSkeletonLoader/Loaders/Circle.css +1 -1
  15. package/library/assets/components/VcSkeletonLoader/Loaders/Row.css +1 -1
  16. package/library/assets/components/VcSkeletonLoader/Loaders/Square.css +1 -1
  17. package/library/assets/components/VcSkeletonLoader/Loaders/Text.css +1 -1
  18. package/library/assets/components/VcSkeletonLoader/VcSkeletonItem.css +1 -0
  19. package/library/assets/components/VcTag/VcTag.css +1 -1
  20. package/library/components/VcAutocomplete/VcAutocomplete.vue.mjs +3 -2
  21. package/library/components/VcCheckbox/VcCheckbox.vue.mjs +1 -1
  22. package/library/components/VcCheckbox/VcCheckboxButton.vue.mjs +1 -1
  23. package/library/components/VcCheckboxGroup/VcCheckboxGroup.vue.mjs +3 -1
  24. package/library/components/VcDatePicker/VcDatePicker.vue.mjs +1 -1
  25. package/library/components/VcDropdown/VcDropdownItem.vue.mjs +1 -1
  26. package/library/components/VcExcelUploader/VcExcelFileUploader.vue.mjs +4 -4
  27. package/library/components/VcFileUploader/VcFileUploaderSimple.vue.mjs +1 -1
  28. package/library/components/VcForm/VcForm.vue.mjs +1 -1
  29. package/library/components/VcForm/VcFormItem.vue.mjs +1 -1
  30. package/library/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.mjs +1 -1
  31. package/library/components/VcIconPicker/VcIconPicker.vue.mjs +9 -4
  32. package/library/components/VcImageUploader/VcImageUploader.vue.mjs +1 -5
  33. package/library/components/VcInput/VcInput.vue.mjs +1 -1
  34. package/library/components/VcJsonSchema/Components/ImportJsonSchemaModal.vue.mjs +3 -0
  35. package/library/components/VcJsonSchema/Components/JsonSchemaEditor.vue.mjs +1 -1
  36. package/library/components/VcJsonViewer/VcJsonViewer.vue.mjs +1 -1
  37. package/library/components/VcLoading/Loaders/Circles.vue.mjs +1 -1
  38. package/library/components/VcLoading/Loaders/DotSpinner.vue.mjs +1 -1
  39. package/library/components/VcLoading/Loaders/DotSpinner.vue2.mjs +2 -2
  40. package/library/components/VcLoading/Loaders/LdsSpinner.vue.mjs +1 -1
  41. package/library/components/VcLoading/Loaders/LoadIcon.vue.mjs +1 -1
  42. package/library/components/VcLoading/Loaders/Stretch.vue.mjs +1 -1
  43. package/library/components/VcLoading/Loaders/Stretch.vue2.mjs +1 -1
  44. package/library/components/VcLoading/VcLoading.vue.mjs +1 -1
  45. package/library/components/VcMdEditor/ParameterNode.vue.mjs +1 -1
  46. package/library/components/VcMdEditor/VcMdEditor.vue.mjs +1 -1
  47. package/library/components/VcMdEditor/VcMdEditorToolbar.vue.mjs +1 -1
  48. package/library/components/VcMessage/content/VcMessageFileBlock.vue.mjs +30 -37
  49. package/library/components/VcMessage/reactions/VcMessageReactionBar.vue.mjs +1 -1
  50. package/library/components/VcNotification/VcNotification.vue.mjs +2 -2
  51. package/library/components/VcOtpInput/VcOtpInput.vue.mjs +1 -1
  52. package/library/components/VcPdfViewer/VcPdfViewer.vue.mjs +1 -2
  53. package/library/components/VcPdfViewer/pdfjslib.mjs +1 -0
  54. package/library/components/VcPopover/VcConfirmPopover.vue.mjs +6 -3
  55. package/library/components/VcPopover/VcSelectPopover.vue.mjs +2 -2
  56. package/library/components/VcRadio/VcRadio.vue.mjs +1 -1
  57. package/library/components/VcRadioGroup/VcRadioGroup.vue.mjs +2 -6
  58. package/library/components/VcRadioTabs/VcRadioTabs.vue.mjs +6 -2
  59. package/library/components/VcSegmented/VcSegmented.vue.mjs +1 -1
  60. package/library/components/VcSelect/VcInfiniteScrollSelect.vue.mjs +3 -1
  61. package/library/components/VcSelect/VcSelect.vue.mjs +33 -33
  62. package/library/components/VcSkeletonLoader/Loaders/Card.vue.mjs +1 -1
  63. package/library/components/VcSkeletonLoader/Loaders/Circle.vue.mjs +1 -1
  64. package/library/components/VcSkeletonLoader/Loaders/Row.vue.mjs +1 -1
  65. package/library/components/VcSkeletonLoader/Loaders/Square.vue.mjs +1 -1
  66. package/library/components/VcSkeletonLoader/Loaders/Text.vue.mjs +1 -1
  67. package/library/components/VcSkeletonLoader/VcSkeletonItem.vue.mjs +7 -0
  68. package/library/components/VcSkeletonLoader/VcSkeletonItem.vue2.mjs +39 -0
  69. package/library/components/VcSkeletonLoader/VcSkeletonLoader.vue.mjs +19 -6
  70. package/library/components/VcSlider/VcSlider.vue.mjs +1 -1
  71. package/library/components/VcSoundplayer/VcSoundPlayerWrapper.vue.mjs +1 -2
  72. package/library/components/VcSoundplayer/player.options.mjs +6 -1
  73. package/library/components/VcSparkline/helper.mjs +1 -1
  74. package/library/components/VcTable/VcTable.vue.mjs +13 -17
  75. package/library/components/VcTabs/VcTabNav.vue.mjs +0 -2
  76. package/library/components/VcTransfer/VcTransfer.vue.mjs +5 -16
  77. package/library/components/VcTree/VcTree.vue.mjs +6 -13
  78. package/library/components/VcVerticalTabs/VcVerticalTabs.vue.mjs +8 -4
  79. package/library/components/VcVerticalTabs/VerticalTabNav.vue.mjs +9 -4
  80. package/library/composables/input/useFileUploader.mjs +3 -1
  81. package/library/composables/useRTL.mjs +8 -3
  82. package/library/entity/components/Table/VcEntityListTable.vue.mjs +3 -0
  83. package/library/entity/components/Tabs/VcEntityEditableTabs.vue.mjs +22 -14
  84. package/library/enum/fileTypes.mjs +3 -53
  85. package/library/index.mjs +136 -137
  86. package/library/index.mjs.br +0 -0
  87. package/library/index.mjs.gz +0 -0
  88. package/library/localization/index.mjs +1 -1
  89. package/library/localization/index.mjs.br +0 -0
  90. package/library/localization/index.mjs.gz +0 -0
  91. package/library/plugin-components.gen.mjs +244 -245
  92. package/library/plugin.mjs +134 -135
  93. package/library/plugin.mjs.br +0 -0
  94. package/library/plugin.mjs.gz +0 -0
  95. package/library/style.css +18 -18
  96. package/library/style.css.br +0 -0
  97. package/library/style.css.gz +0 -0
  98. package/library/theme/index.mjs.gz +0 -0
  99. package/library/types/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue.d.ts +39 -9
  100. package/library/types/components/VcAgentRun/UiComponents/VcAgentRunRow.vue.d.ts +17 -8
  101. package/library/types/components/VcAgentRun/VcAgentRunCard.vue.d.ts +81 -42
  102. package/library/types/components/VcAgentRun/VcAgentRunGroup.vue.d.ts +43 -27
  103. package/library/types/components/VcAgentRun/agentRunStatus.d.ts +2 -2
  104. package/library/types/components/VcAiReasoning/VcAiReasoning.vue.d.ts +67 -18
  105. package/library/types/components/VcApprovalCard/VcApprovalCard.vue.d.ts +79 -40
  106. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue.d.ts +36 -10
  107. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue.d.ts +35 -9
  108. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue.d.ts +45 -14
  109. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue.d.ts +35 -9
  110. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue.d.ts +35 -9
  111. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserText.vue.d.ts +35 -9
  112. package/library/types/components/VcAskUserCard/UiComponents/askUserControl.d.ts +1 -1
  113. package/library/types/components/VcAskUserCard/VcAskUserCard.vue.d.ts +63 -18
  114. package/library/types/components/VcAskUserCard/askUserAnswers.d.ts +1 -1
  115. package/library/types/components/VcAutocomplete/VcAutocomplete.vue.d.ts +171 -64
  116. package/library/types/components/VcAvatar/VcAvatar.vue.d.ts +39 -5
  117. package/library/types/components/VcBadgeTag/VcBadgeTag.vue.d.ts +33 -12
  118. package/library/types/components/VcButton/VcButton.vue.d.ts +50 -19
  119. package/library/types/components/VcButton/VcButtonIcon.vue.d.ts +63 -16
  120. package/library/types/components/VcButton/VcToggleButton.vue.d.ts +63 -23
  121. package/library/types/components/VcCard/VcCard.vue.d.ts +42 -14
  122. package/library/types/components/VcChatComposer/VcChatComposer.vue.d.ts +97 -32
  123. package/library/types/components/VcChatComposer/richText.d.ts +2 -2
  124. package/library/types/components/VcChatComposer/tiptap.d.ts +38 -38
  125. package/library/types/components/VcCheckbox/VcCheckbox.vue.d.ts +95 -46
  126. package/library/types/components/VcCheckbox/VcCheckboxButton.vue.d.ts +77 -41
  127. package/library/types/components/VcCheckbox/VcCheckboxButtonGroup.vue.d.ts +76 -40
  128. package/library/types/components/VcCheckbox/VcCheckboxGroupEl.vue.d.ts +4 -10
  129. package/library/types/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +82 -44
  130. package/library/types/components/VcCodeBlock/VcCodeBlock.vue.d.ts +39 -5
  131. package/library/types/components/VcCodeBlock/highlight.d.ts +2 -1
  132. package/library/types/components/VcCollapse/VcCollapse.vue.d.ts +38 -17
  133. package/library/types/components/VcCollapse/VcCollapseItem.vue.d.ts +63 -26
  134. package/library/types/components/VcCollapse/VcCollapseTransition.vue.d.ts +6 -12
  135. package/library/types/components/VcColorPicker/VcColorPicker.vue.d.ts +43 -7
  136. package/library/types/components/VcDatePicker/VcDatePicker.vue.d.ts +103 -63
  137. package/library/types/components/VcDatePickerPanel/VcDatePickerPanel.vue.d.ts +132 -69
  138. package/library/types/components/VcDelimitedList/VcDelimitedList.vue.d.ts +78 -39
  139. package/library/types/components/VcDropdown/VcDropdown.vue.d.ts +81 -22
  140. package/library/types/components/VcDropdown/VcDropdownItem.vue.d.ts +12 -9
  141. package/library/types/components/VcEmojiPicker/VcEmojiPicker.vue.d.ts +45 -20
  142. package/library/types/components/VcExcelUploader/VcExcelFileProcessLoader.vue.d.ts +36 -4
  143. package/library/types/components/VcExcelUploader/VcExcelFileUploadBlock.vue.d.ts +39 -16
  144. package/library/types/components/VcExcelUploader/VcExcelFileUploader.vue.d.ts +74 -40
  145. package/library/types/components/VcExcelUploader/VcFileImportErrorsCard.vue.d.ts +29 -7
  146. package/library/types/components/VcExcelUploader/VcFileImportParseResultBlock.vue.d.ts +44 -20
  147. package/library/types/components/VcExcelUploader/VcFileImportResultBindData.vue.d.ts +37 -9
  148. package/library/types/components/VcExcelUploader/VcFileImportResultBindDataTable.vue.d.ts +31 -7
  149. package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.d.ts +44 -8
  150. package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.d.ts +45 -5
  151. package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +80 -10
  152. package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.vue.d.ts +39 -7
  153. package/library/types/components/VcFileUploader/VcFileItem.vue.d.ts +39 -9
  154. package/library/types/components/VcFileUploader/VcFileUploader.vue.d.ts +83 -24
  155. package/library/types/components/VcFileUploader/VcFileUploaderArea.vue.d.ts +90 -30
  156. package/library/types/components/VcFileUploader/VcFileUploaderSimple.vue.d.ts +96 -37
  157. package/library/types/components/VcFileUploader/VcSimpleUploaderAction.vue.d.ts +35 -18
  158. package/library/types/components/VcFileUploader/VcSimpleUploaderFileList.vue.d.ts +33 -27
  159. package/library/types/components/VcFilterBar/VcFilterAddMenu.vue.d.ts +31 -14
  160. package/library/types/components/VcFilterBar/VcFilterBar.vue.d.ts +103 -61
  161. package/library/types/components/VcFilterBar/VcFilterChip.vue.d.ts +32 -23
  162. package/library/types/components/VcFilterBar/VcFilterChipEditor.vue.d.ts +38 -20
  163. package/library/types/components/VcFilterBar/VcFilterEditorModal.vue.d.ts +29 -16
  164. package/library/types/components/VcFilterBar/VcFilterEditorPanel.vue.d.ts +93 -29
  165. package/library/types/components/VcFilterBar/editors/VcFilterBooleanEditor.vue.d.ts +55 -16
  166. package/library/types/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue.d.ts +60 -17
  167. package/library/types/components/VcFilterBar/editors/VcFilterRangeEditor.vue.d.ts +53 -16
  168. package/library/types/components/VcFilterBar/editors/VcFilterSelectEditor.vue.d.ts +53 -16
  169. package/library/types/components/VcFilterBar/editors/VcFilterTextEditor.vue.d.ts +56 -17
  170. package/library/types/components/VcFilterBar/editors/VcFilterTextListEditor.vue.d.ts +54 -17
  171. package/library/types/components/VcFilterBar/filterBarChip.d.ts +1 -1
  172. package/library/types/components/VcFilterBar/filterBarDate.d.ts +1 -1
  173. package/library/types/components/VcFilterBar/filterBarDraft.d.ts +11 -11
  174. package/library/types/components/VcFilterBar/filterBarEditors.d.ts +2 -2
  175. package/library/types/components/VcFilterBar/filterBarErrors.d.ts +1 -1
  176. package/library/types/components/VcFilterBar/filterBarModel.d.ts +1 -1
  177. package/library/types/components/VcFilterBar/filterBarOptions.d.ts +2 -2
  178. package/library/types/components/VcFilterBar/filterBarSearch.d.ts +1 -1
  179. package/library/types/components/VcFilterBar/filterBarValidate.d.ts +1 -1
  180. package/library/types/components/VcForm/UiComponents/VcInputError.vue.d.ts +27 -6
  181. package/library/types/components/VcForm/UiComponents/VcInputLabel.vue.d.ts +36 -14
  182. package/library/types/components/VcForm/VcForm.vue.d.ts +46 -15
  183. package/library/types/components/VcForm/VcFormItem.vue.d.ts +42 -23
  184. package/library/types/components/VcHtmlEditor/VcHtmlEditor.vue.d.ts +42 -8
  185. package/library/types/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.d.ts +34 -20
  186. package/library/types/components/VcHtmlEditor/codemirror.d.ts +2 -2
  187. package/library/types/components/VcHtmlEditor/htmlEditor.config.d.ts +2 -2
  188. package/library/types/components/VcHyperLink/VcHyperLink.vue.d.ts +39 -14
  189. package/library/types/components/VcIcon/VcIcon.vue.d.ts +31 -5
  190. package/library/types/components/VcIconPicker/VcIconPicker.vue.d.ts +60 -26
  191. package/library/types/components/VcImageUploader/VcImageUploader.vue.d.ts +50 -27
  192. package/library/types/components/VcImageUploader/cropper.d.ts +24 -24
  193. package/library/types/components/VcInput/VcInput.vue.d.ts +72 -14
  194. package/library/types/components/VcInputNumber/VcInputNumber.vue.d.ts +57 -7
  195. package/library/types/components/VcJsonSchema/Components/ImportJsonSchemaModal.vue.d.ts +19 -10
  196. package/library/types/components/VcJsonSchema/Components/JsonCodeMirror.vue.d.ts +18 -9
  197. package/library/types/components/VcJsonSchema/Components/JsonSchemaEditor.vue.d.ts +68 -25
  198. package/library/types/components/VcJsonSchema/Components/JsonSchemaManageModal.vue.d.ts +21 -11
  199. package/library/types/components/VcJsonSchema/Components/codemirror.d.ts +2 -2
  200. package/library/types/components/VcJsonSchema/PropertySetup/JsonSchemaPropertyModal.vue.d.ts +24 -12
  201. package/library/types/components/VcJsonSchema/VcJsonSchema.vue.d.ts +47 -30
  202. package/library/types/components/VcJsonSchema/helpers/jsonSchema.enum.d.ts +1 -1
  203. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue.d.ts +37 -9
  204. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue.d.ts +15 -5
  205. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue.d.ts +29 -7
  206. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue.d.ts +28 -6
  207. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue.d.ts +19 -7
  208. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue.d.ts +30 -7
  209. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue.d.ts +34 -8
  210. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue.d.ts +38 -17
  211. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue.d.ts +15 -5
  212. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue.d.ts +15 -5
  213. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue.d.ts +33 -8
  214. package/library/types/components/VcJsonViewer/VcJsonViewer.vue.d.ts +75 -12
  215. package/library/types/components/VcJsonViewer/jsonViewerText.d.ts +2 -2
  216. package/library/types/components/VcJsonViewer/jsonViewerUtils.d.ts +1 -1
  217. package/library/types/components/VcJsonViewer/useJsonViewerContext.d.ts +1 -1
  218. package/library/types/components/VcLightbox/VcLightbox.vue.d.ts +62 -30
  219. package/library/types/components/VcLoading/Loaders/Circles.vue.d.ts +26 -4
  220. package/library/types/components/VcLoading/Loaders/DotSpinner.vue.d.ts +26 -4
  221. package/library/types/components/VcLoading/Loaders/LdsSpinner.vue.d.ts +26 -4
  222. package/library/types/components/VcLoading/Loaders/LoadIcon.vue.d.ts +29 -5
  223. package/library/types/components/VcLoading/Loaders/Stretch.vue.d.ts +26 -4
  224. package/library/types/components/VcLoading/Loaders/index.d.ts +5 -5
  225. package/library/types/components/VcLoading/Loaders/types.d.ts +1 -1
  226. package/library/types/components/VcLoading/VcLoading.vue.d.ts +38 -13
  227. package/library/types/components/VcLoading/enum.d.ts +129 -13
  228. package/library/types/components/VcMdEditor/ParameterNode.vue.d.ts +4 -5
  229. package/library/types/components/VcMdEditor/VcMdEditor.vue.d.ts +215 -33
  230. package/library/types/components/VcMdEditor/VcMdEditorContent.vue.d.ts +44 -10
  231. package/library/types/components/VcMdEditor/VcMdEditorToolbar.vue.d.ts +23 -12
  232. package/library/types/components/VcMdEditor/ltrNumbersPlugin.d.ts +3 -3
  233. package/library/types/components/VcMdEditor/mdEditor.config.d.ts +10 -10
  234. package/library/types/components/VcMdEditor/milkdown.d.ts +1 -1
  235. package/library/types/components/VcMdEditor/readonlyMarkdown.d.ts +1 -1
  236. package/library/types/components/VcMdEditor/rtlCursorPlugin.d.ts +2 -2
  237. package/library/types/components/VcMessage/VcMessage.vue.d.ts +82 -26
  238. package/library/types/components/VcMessage/VcMessageMeta.vue.d.ts +20 -7
  239. package/library/types/components/VcMessage/content/VcMessageAudioBlock.vue.d.ts +19 -6
  240. package/library/types/components/VcMessage/content/VcMessageFileBlock.vue.d.ts +22 -9
  241. package/library/types/components/VcMessage/content/VcMessageImageBlock.vue.d.ts +22 -9
  242. package/library/types/components/VcMessage/content/VcMessageMarkdownBlock.vue.d.ts +19 -6
  243. package/library/types/components/VcMessage/content/VcMessageTextBlock.vue.d.ts +19 -6
  244. package/library/types/components/VcMessage/content/VcMessageVideoBlock.vue.d.ts +19 -6
  245. package/library/types/components/VcMessage/content/messageContentComponents.d.ts +2 -2
  246. package/library/types/components/VcMessage/reactions/VcMessageEmojiPicker.vue.d.ts +52 -28
  247. package/library/types/components/VcMessage/reactions/VcMessageReactionBar.vue.d.ts +22 -9
  248. package/library/types/components/VcMessagesWrapper/VcMessagesWrapper.vue.d.ts +208 -38
  249. package/library/types/components/VcMessagesWrapper/VcMessagesWrapperRow.vue.d.ts +86 -41
  250. package/library/types/components/VcMeterGroup/VcMeterGroup.vue.d.ts +112 -68
  251. package/library/types/components/VcMeterGroup/VcMeterGroupLabel.vue.d.ts +38 -15
  252. package/library/types/components/VcModal/VcConfirmModal.vue.d.ts +33 -7
  253. package/library/types/components/VcModal/VcModal.vue.d.ts +79 -26
  254. package/library/types/components/VcNotification/VcNotification.vue.d.ts +65 -5
  255. package/library/types/components/VcNotification/VcNotificationMessage.vue.d.ts +18 -9
  256. package/library/types/components/VcOtpInput/VcOtpInput.vue.d.ts +61 -11
  257. package/library/types/components/VcPagination/VcPagination.vue.d.ts +49 -16
  258. package/library/types/components/VcPagination/VcPaginationButton.vue.d.ts +45 -10
  259. package/library/types/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.vue.d.ts +41 -24
  260. package/library/types/components/VcPdfViewer/VcPdfDocument.vue.d.ts +41 -17
  261. package/library/types/components/VcPdfViewer/VcPdfDocumentCard.vue.d.ts +37 -18
  262. package/library/types/components/VcPdfViewer/VcPdfDocumentPage.vue.d.ts +38 -8
  263. package/library/types/components/VcPdfViewer/VcPdfDocumentViewerFooter.vue.d.ts +45 -15
  264. package/library/types/components/VcPdfViewer/VcPdfDocumentViewerToolbar.vue.d.ts +12 -18
  265. package/library/types/components/VcPdfViewer/VcPdfViewer.vue.d.ts +72 -37
  266. package/library/types/components/VcPdfViewer/pdfDocumentActions.d.ts +1 -1
  267. package/library/types/components/VcPdfViewer/pdfDocumentParams.d.ts +1 -1
  268. package/library/types/components/VcPdfViewer/pdfjslib.d.ts +1 -1
  269. package/library/types/components/VcPhoneInput/VcFlagLabel.vue.d.ts +23 -3
  270. package/library/types/components/VcPhoneInput/VcPhoneInput.vue.d.ts +79 -32
  271. package/library/types/components/VcPluginOverlays/VcPluginOverlays.vue.d.ts +26 -4
  272. package/library/types/components/VcPopover/VcConfirmPopover.vue.d.ts +37 -15
  273. package/library/types/components/VcPopover/VcPopover.vue.d.ts +61 -21
  274. package/library/types/components/VcPopover/VcSelectPopover.vue.d.ts +97 -33
  275. package/library/types/components/VcProgress/VcProgress.vue.d.ts +53 -18
  276. package/library/types/components/VcProgress/VcProgressCircular.vue.d.ts +56 -19
  277. package/library/types/components/VcProgress/progress.options.d.ts +4 -4
  278. package/library/types/components/VcRadio/VcRadio.vue.d.ts +55 -26
  279. package/library/types/components/VcRadioButtons/VcRadioButtonsGroup.vue.d.ts +73 -30
  280. package/library/types/components/VcRadioGroup/VcRadioGroup.vue.d.ts +76 -31
  281. package/library/types/components/VcRadioTabs/UiComponents/VcRadioTabsNav.vue.d.ts +62 -26
  282. package/library/types/components/VcRadioTabs/UiComponents/VcRadioTabsNavHint.vue.d.ts +26 -13
  283. package/library/types/components/VcRadioTabs/VcRadioTabs.vue.d.ts +81 -25
  284. package/library/types/components/VcSegmented/VcSegmented.vue.d.ts +92 -45
  285. package/library/types/components/VcSelect/VcInfiniteScrollSelect.vue.d.ts +154 -50
  286. package/library/types/components/VcSelect/VcSelect.vue.d.ts +254 -65
  287. package/library/types/components/VcSelect/VcSelectGrouped.vue.d.ts +175 -57
  288. package/library/types/components/VcSelect/VcSelectOption.vue.d.ts +45 -25
  289. package/library/types/components/VcSipFlow/VcSipFlow.vue.d.ts +53 -23
  290. package/library/types/components/VcSkeletonLoader/Loaders/Card.vue.d.ts +27 -6
  291. package/library/types/components/VcSkeletonLoader/Loaders/Circle.vue.d.ts +31 -7
  292. package/library/types/components/VcSkeletonLoader/Loaders/Row.vue.d.ts +31 -7
  293. package/library/types/components/VcSkeletonLoader/Loaders/Square.vue.d.ts +31 -7
  294. package/library/types/components/VcSkeletonLoader/Loaders/Text.vue.d.ts +14 -5
  295. package/library/types/components/VcSkeletonLoader/VcSkeletonItem.vue.d.ts +46 -0
  296. package/library/types/components/VcSkeletonLoader/VcSkeletonLoader.vue.d.ts +62 -3
  297. package/library/types/components/VcSlider/VcSlider.vue.d.ts +1 -2
  298. package/library/types/components/VcSoundplayer/VcPlayerPlayStopButton.vue.d.ts +68 -16
  299. package/library/types/components/VcSoundplayer/VcPlayerPlaybackRate.vue.d.ts +37 -8
  300. package/library/types/components/VcSoundplayer/VcPlayerPlaybackRatePopup.vue.d.ts +41 -9
  301. package/library/types/components/VcSoundplayer/VcPlayerSkipButtons.vue.d.ts +54 -20
  302. package/library/types/components/VcSoundplayer/VcSoundCurrentTime.vue.d.ts +1 -2
  303. package/library/types/components/VcSoundplayer/VcSoundDuration.vue.d.ts +1 -2
  304. package/library/types/components/VcSoundplayer/VcSoundPlayer.vue.d.ts +69 -35
  305. package/library/types/components/VcSoundplayer/VcSoundPlayerCompact.vue.d.ts +57 -20
  306. package/library/types/components/VcSoundplayer/VcSoundPlayerError.vue.d.ts +26 -9
  307. package/library/types/components/VcSoundplayer/VcSoundPlayerMarker.vue.d.ts +55 -24
  308. package/library/types/components/VcSoundplayer/VcSoundPlayerMarkers.vue.d.ts +38 -23
  309. package/library/types/components/VcSoundplayer/VcSoundPlayerProgress.vue.d.ts +17 -14
  310. package/library/types/components/VcSoundplayer/VcSoundPlayerWrapper.vue.d.ts +146 -26
  311. package/library/types/components/VcSoundplayer/VcSoundVolume.vue.d.ts +50 -11
  312. package/library/types/components/VcSoundplayer/player.options.d.ts +2 -2
  313. package/library/types/components/VcSoundplayer/soundPlayerParts.d.ts +12 -12
  314. package/library/types/components/VcSoundplayer/wavesurfer.d.ts +2 -2
  315. package/library/types/components/VcSparkline/VcBarLine.vue.d.ts +68 -17
  316. package/library/types/components/VcSparkline/VcSparkline.vue.d.ts +75 -15
  317. package/library/types/components/VcSparkline/VcTrendLine.vue.d.ts +68 -17
  318. package/library/types/components/VcSplitButton/VcSplitButton.vue.d.ts +75 -30
  319. package/library/types/components/VcSwitch/VcSwitch.vue.d.ts +138 -77
  320. package/library/types/components/VcSystemUserPrompt/VcSystemUserPrompt.vue.d.ts +36 -19
  321. package/library/types/components/VcSystemUserPrompt/enum.d.ts +1 -1
  322. package/library/types/components/VcTable/VcTable.vue.d.ts +360 -138
  323. package/library/types/components/VcTabs/VcTabNav.vue.d.ts +43 -20
  324. package/library/types/components/VcTabs/VcTabPane.vue.d.ts +52 -19
  325. package/library/types/components/VcTabs/VcTabs.vue.d.ts +165 -137
  326. package/library/types/components/VcTag/VcTag.vue.d.ts +49 -14
  327. package/library/types/components/VcTagInput/VcTagInput.vue.d.ts +86 -22
  328. package/library/types/components/VcTimeInput/VcTimeInput.vue.d.ts +57 -9
  329. package/library/types/components/VcToolCall/UiComponents/VcToolCallValue.vue.d.ts +49 -9
  330. package/library/types/components/VcToolCall/VcToolCall.vue.d.ts +73 -40
  331. package/library/types/components/VcTour/VcTour.vue.d.ts +54 -35
  332. package/library/types/components/VcTransfer/VcTransfer.vue.d.ts +52 -25
  333. package/library/types/components/VcTree/VcTree.vue.d.ts +143 -61
  334. package/library/types/components/VcTree/VcTreeSelect.vue.d.ts +958 -449
  335. package/library/types/components/VcTree/treeTypeUtils.d.ts +1 -1
  336. package/library/types/components/VcVerticalTabs/VcVerticalTabs.vue.d.ts +80 -34
  337. package/library/types/components/VcVerticalTabs/VerticalTabNav.vue.d.ts +73 -31
  338. package/library/types/components/VcWizard/VcSummaryProgress.vue.d.ts +33 -3
  339. package/library/types/components/VcWizard/VcSummaryStep.vue.d.ts +36 -6
  340. package/library/types/components/VcWizard/VcWizard.vue.d.ts +62 -33
  341. package/library/types/components/VcWizard/VcWizardNavigation.vue.d.ts +53 -20
  342. package/library/types/components/VcWizard/VcWizardSummary.vue.d.ts +34 -6
  343. package/library/types/components/exports.d.ts +129 -129
  344. package/library/types/components.gen.d.ts +1 -1
  345. package/library/types/composables/input/useFileUploader.d.ts +1 -1
  346. package/library/types/composables/input/useInputBase.d.ts +5 -5
  347. package/library/types/composables/input/useInputColor.d.ts +4 -4
  348. package/library/types/composables/option/useOptionMethods.d.ts +14 -14
  349. package/library/types/composables/useAudioRecorder.d.ts +6 -6
  350. package/library/types/composables/useCopyButton.d.ts +2 -2
  351. package/library/types/composables/useElapsed.d.ts +2 -2
  352. package/library/types/composables/useThrottledText.d.ts +1 -1
  353. package/library/types/directives/index.d.ts +1 -1
  354. package/library/types/entity/components/Button/VcEntityAddButton.vue.d.ts +33 -16
  355. package/library/types/entity/components/Button/VcEntityCancelButton.vue.d.ts +45 -21
  356. package/library/types/entity/components/Button/VcEntityDeleteIconButton.vue.d.ts +41 -21
  357. package/library/types/entity/components/Button/VcEntityEditIconButton.vue.d.ts +30 -18
  358. package/library/types/entity/components/Button/VcEntityRestoreButton.vue.d.ts +45 -21
  359. package/library/types/entity/components/Button/VcEntityStatusButton.vue.d.ts +40 -21
  360. package/library/types/entity/components/Form/VcBaseVerticalForm.vue.d.ts +37 -18
  361. package/library/types/entity/components/Form/VcEntityEditPageForm.vue.d.ts +54 -26
  362. package/library/types/entity/components/Form/VcEntityVerticalCreateForm.vue.d.ts +34 -16
  363. package/library/types/entity/components/Form/VcEntityVerticalEditForm.vue.d.ts +76 -31
  364. package/library/types/entity/components/Table/VcEntityListTable.vue.d.ts +135 -38
  365. package/library/types/entity/components/Tabs/VcEntityEditableTabs.vue.d.ts +151 -55
  366. package/library/types/entity/components/index.d.ts +12 -12
  367. package/library/types/entity/composable/useEntityProvideInject.d.ts +1 -1
  368. package/library/types/entity/services/BaseEntityService.d.ts +2 -2
  369. package/library/types/enum/fileTypes.d.ts +1 -1
  370. package/library/types/localization/Localization.types.d.ts +2 -2
  371. package/library/types/localization/index.d.ts +2 -2
  372. package/library/types/localization/locales/en.json.d.ts +415 -415
  373. package/library/types/plugin-components.gen.d.ts +1 -1
  374. package/library/types/plugin.d.ts +1 -1
  375. package/library/types/services/index.d.ts +7 -1
  376. package/library/types/theme/themes.json.d.ts +72 -72
  377. package/library/types/types/Entity.types.d.ts +1 -8
  378. package/library/types/types/Entry.types.d.ts +1 -1
  379. package/library/types/types/ExcelParser.types.d.ts +1 -1
  380. package/library/types/types/OptionAndConfig.types.d.ts +4 -8
  381. package/library/types/types/Overlay.types.d.ts +1 -1
  382. package/library/types/types/Tabs.d.ts +1 -1
  383. package/library/types/types/VcAgentRun.types.d.ts +3 -3
  384. package/library/types/types/VcAiReasoning.types.d.ts +1 -1
  385. package/library/types/types/VcApprovalCard.types.d.ts +1 -1
  386. package/library/types/types/VcChatComposer.types.d.ts +1 -1
  387. package/library/types/types/VcDatePicker.types.d.ts +1 -1
  388. package/library/types/types/VcDropdown.types.d.ts +2 -2
  389. package/library/types/types/VcEditableTabs.types.d.ts +1 -1
  390. package/library/types/types/VcEmojiPicker.types.d.ts +1 -1
  391. package/library/types/types/VcFileUploader.types.d.ts +1 -1
  392. package/library/types/types/VcFilterBar.types.d.ts +3 -3
  393. package/library/types/types/VcJsonViewer.types.d.ts +2 -2
  394. package/library/types/types/VcMdEditor.types.d.ts +1 -1
  395. package/library/types/types/VcMessage.types.d.ts +1 -1
  396. package/library/types/types/VcMessagesWrapper.types.d.ts +1 -1
  397. package/library/types/types/VcNotification.types.d.ts +2 -2
  398. package/library/types/types/VcSkeletonLoader.types.d.ts +1 -0
  399. package/library/types/types/VcSoundPlayer.types.d.ts +3 -3
  400. package/library/types/types/VcSoundPlayerInstance.types.d.ts +3 -3
  401. package/library/types/types/VcSplitButton.types.d.ts +4 -4
  402. package/library/types/types/VcToolCall.types.d.ts +2 -2
  403. package/library/types/types/VcTour.types.d.ts +2 -2
  404. package/library/types/types/VcTree.types.d.ts +2 -2
  405. package/library/types/types/icons.types.d.ts +1 -1
  406. package/library/types/types/index.d.ts +0 -1
  407. package/library/types/utils/aiChat.d.ts +1 -1
  408. package/library/types/utils/elementPlusIcons.d.ts +2 -2
  409. package/library/types/utils/excelParser/configs.d.ts +1 -1
  410. package/library/types/utils/excelParser/helper.d.ts +3 -3
  411. package/library/types/utils/excelParser/parser.d.ts +1 -1
  412. package/library/types/utils/excelParser/validations.d.ts +1 -1
  413. package/library/types/utils/helpers.d.ts +1 -1
  414. package/library/types/utils/jsonSchema/helpers.d.ts +5 -2
  415. package/library/types/utils/jsonSchema/index.d.ts +1 -1
  416. package/library/types/utils/jsonSchema/jsonSchemaHelpers.d.ts +4 -4
  417. package/library/types/utils/lucideIcon.d.ts +1 -1
  418. package/library/types/utils/mountPluginOverlays.d.ts +1 -1
  419. package/library/utils/globalSingleton.mjs +5 -11
  420. package/library/utils/jsonSchema/index.mjs.gz +0 -0
  421. package/library/utils/jsonSchema/jsonSchemaHelpers.mjs +1 -0
  422. package/package.json +310 -310
  423. package/src/theme/index.ts +101 -101
  424. package/src/theme/tailwindScheme.js +78 -78
  425. package/src/theme/theme.types.ts +31 -31
  426. package/src/theme/themeMerge.ts +63 -63
  427. package/src/theme/themes.json +72 -72
  428. package/tailwind.config.d.ts +5 -5
  429. package/tailwind.config.js +178 -178
  430. package/library/assets/components/VcInteractive/VcInteractive.css +0 -1
  431. package/library/components/VcInteractive/VcInteractive.vue.mjs +0 -58
  432. package/library/components/VcInteractive/VcInteractive.vue3.mjs +0 -5
  433. package/library/docs/guides/migration/migrating-from-4.0.md +0 -87
  434. package/library/types/components/VcInteractive/VcInteractive.vue.d.ts +0 -47
  435. package/library/types/components/VcWizard/VcWizardTransition.vue.d.ts +0 -58
  436. package/library/types/types/VcInteractive.types.d.ts +0 -7
  437. /package/library/assets/node_modules/element-plus/theme-chalk/src/{tooltip.css → date-picker.css} +0 -0
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, markRaw, openBlock, createElementBlock, mergeProps, createBlock, resolveDynamicComponent } from "vue";
1
+ import { defineComponent, computed, markRaw, openBlock, createElementBlock, mergeProps, Fragment, renderList, renderSlot, createBlock, resolveDynamicComponent } from "vue";
2
2
  import { convertToUnit } from "../../utils/helpers.mjs";
3
3
  import Card from "./Loaders/Card.vue.mjs";
4
4
  import Row from "./Loaders/Row.vue.mjs";
@@ -19,7 +19,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19
19
  maxWidth: { default: void 0 },
20
20
  maxHeight: { default: void 0 },
21
21
  textLoading: { default: void 0 },
22
- type: { default: DEFAULT_TYPE }
22
+ type: { default: DEFAULT_TYPE },
23
+ loading: { type: Boolean, default: true },
24
+ count: { default: 1 }
23
25
  },
24
26
  setup(__props) {
25
27
  const LOADERS = {
@@ -42,6 +44,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42
44
  if (width) _styles.width = width;
43
45
  return _styles;
44
46
  });
47
+ const repeatCount = computed(() => {
48
+ return Math.max(1, Math.floor(Number(props.count) || 1));
49
+ });
45
50
  const heightRows = computed(() => {
46
51
  return convertToUnit(props.rowHeight);
47
52
  });
@@ -75,15 +80,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
75
80
  return {};
76
81
  });
77
82
  return (_ctx, _cache) => {
78
- return openBlock(), createElementBlock("div", mergeProps({
83
+ return __props.loading ? (openBlock(), createElementBlock("div", mergeProps({
84
+ key: 0,
79
85
  class: "vc-skeleton-loader w-full h-full animation-block",
80
- style: styles.value
86
+ style: styles.value,
87
+ "aria-busy": "true"
81
88
  }, _ctx.$attrs), [
82
- (openBlock(), createBlock(resolveDynamicComponent(loaderType.value), mergeProps({
89
+ _ctx.$slots.template ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(repeatCount.value, (index) => {
90
+ return renderSlot(_ctx.$slots, "template", {
91
+ key: index,
92
+ index: index - 1
93
+ });
94
+ }), 128)) : (openBlock(), createBlock(resolveDynamicComponent(loaderType.value), mergeProps({
95
+ key: 1,
83
96
  "row-height": heightRows.value,
84
97
  cols: colsCount.value
85
98
  }, additionalAttrs.value), null, 16, ["row-height", "cols"]))
86
- ], 16);
99
+ ], 16)) : renderSlot(_ctx.$slots, "default", { key: 1 });
87
100
  };
88
101
  }
89
102
  });
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps } from "vue";
2
2
  import { ElSlider } from "element-plus";
3
- import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
3
+ import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
4
4
  import '../../assets/components/VcSlider/VcSlider.css';/* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
@@ -97,12 +97,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
97
97
  isInitSound.value = true;
98
98
  wavesurfer.value.load(props.src);
99
99
  wavesurfer.value.on("ready", (dur) => {
100
- var _a;
101
100
  duration.value = dur;
102
101
  emit("update:duration", dur);
103
102
  loading.value = false;
104
103
  if (!props.preloadSound) {
105
- (_a = wavesurfer.value) == null ? void 0 : _a.play(startTime || initialStartTime.value);
104
+ wavesurfer.value.play(startTime || initialStartTime.value);
106
105
  }
107
106
  });
108
107
  wavesurfer.value.on("play", () => onPlay());
@@ -35,7 +35,12 @@ function toMinutes(seconds) {
35
35
  }
36
36
  const minutes = Math.floor(seconds / 60);
37
37
  const remainingSecondsInt = Math.floor(seconds - minutes * 60);
38
- const remainingSeconds = `${remainingSecondsInt}`.padStart(2, "0");
38
+ let remainingSeconds = "";
39
+ if (remainingSecondsInt < 10) {
40
+ remainingSeconds = `0${remainingSecondsInt}`;
41
+ } else {
42
+ remainingSeconds = `${remainingSecondsInt}`;
43
+ }
39
44
  return `${minutes}:${remainingSeconds}`;
40
45
  }
41
46
  export {
@@ -1,6 +1,6 @@
1
1
  function _genPath(points, radius, fill = false, height = 75) {
2
+ if (points.length === 0) return "";
2
3
  const start = points.shift();
3
- if (!start) return "";
4
4
  const end = points[points.length - 1];
5
5
  return (fill ? `M${start.x} ${height - start.x + 2} L${start.x} ${start.y}` : `M${start.x} ${start.y}`) + points.map((point, index) => {
6
6
  const next = points[index + 1];
@@ -418,25 +418,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
418
418
  function defaultSortMethod(data1, data2) {
419
419
  const v1 = resolveFieldData(data1, sortBy.value);
420
420
  const v2 = resolveFieldData(data2, sortBy.value);
421
- return compareSortValues(v1, v2) * SORT_TYPE[sortOrder.value];
422
- }
423
- function compareSortValues(v1, v2) {
421
+ let result = null;
424
422
  if (v1 == null && v2 != null) {
425
- return -1;
426
- }
427
- if (v1 != null && v2 == null) {
428
- return 1;
429
- }
430
- if (v1 == null && v2 == null) {
431
- return 0;
432
- }
433
- if (typeof v1 === "string" && typeof v2 === "string") {
434
- return v1.localeCompare(v2, void 0, { numeric: true });
435
- }
436
- if ((typeof v1 === "number" || typeof v1 === "string") && (typeof v2 === "number" || typeof v2 === "string")) {
437
- return v1 < v2 ? -1 : v1 > v2 ? 1 : 0;
423
+ result = -1;
424
+ } else if (v1 != null && v2 == null) {
425
+ result = 1;
426
+ } else if (v1 == null && v2 == null) {
427
+ result = 0;
428
+ } else if (typeof v1 === "string" && typeof v2 === "string") {
429
+ result = v1.localeCompare(v2, void 0, { numeric: true });
430
+ } else if ((typeof v1 === "number" || typeof v1 === "string") && (typeof v2 === "number" || typeof v2 === "string")) {
431
+ result = v1 < v2 ? -1 : v1 > v2 ? 1 : 0;
432
+ } else {
433
+ result = 0;
438
434
  }
439
- return 0;
435
+ return result * SORT_TYPE[sortOrder.value];
440
436
  }
441
437
  function onPerPageOptionClick(option) {
442
438
  emit("click-per-page-option", option);
@@ -135,7 +135,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
135
135
  }
136
136
  function onPrevClick() {
137
137
  const content = navScrollContainer.value;
138
- if (!content) return;
139
138
  const width = DomHandler.getWidth(content);
140
139
  const pos = content.scrollLeft - width;
141
140
  const offset = pos <= 0 ? 0 : pos;
@@ -143,7 +142,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
143
142
  }
144
143
  function onNextClick() {
145
144
  const content = navScrollContainer.value;
146
- if (!content) return;
147
145
  const width = DomHandler.getWidth(content);
148
146
  const pos = content.scrollLeft + width;
149
147
  const lastPos = content.scrollWidth - width;
@@ -22,28 +22,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
22
22
  const props = __props;
23
23
  const emit = __emit;
24
24
  const { optionListMap, optionValue } = useOptionMethods();
25
- const optionsMapped = computed(() => {
26
- return optionListMap(props.options, props.config);
27
- });
28
- const valueByKey = computed(() => {
29
- const values = [...props.modelValue, ...optionsMapped.value.map((option) => option.value)];
30
- return new Map(values.map((value) => [value, value]));
31
- });
32
25
  const model = computed({
33
26
  get() {
34
27
  return props.modelValue;
35
28
  },
36
- set(keys) {
37
- const selected = [];
38
- for (const key of keys) {
39
- const value = valueByKey.value.get(key);
40
- if (value !== void 0) {
41
- selected.push(value);
42
- }
43
- }
44
- emit("update:modelValue", selected);
29
+ set(value) {
30
+ emit("update:modelValue", value);
45
31
  }
46
32
  });
33
+ const optionsMapped = computed(() => {
34
+ return optionListMap(props.options, props.config);
35
+ });
47
36
  function onChange(data) {
48
37
  if (!data.length) {
49
38
  emit("change", []);
@@ -138,26 +138,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
138
138
  return acc;
139
139
  }, []);
140
140
  }
141
- function mountedTree() {
142
- if (!treeRef.value) {
143
- throw new Error("VcTree: the tree is not mounted");
144
- }
145
- return treeRef.value;
146
- }
147
141
  function getCheckedNodesFn(leafOnly = false) {
148
- return mountedTree().getCheckedNodes(leafOnly, false);
142
+ return treeRef.value.getCheckedNodes(leafOnly, false);
149
143
  }
150
144
  function getCheckedKeysFn(leafOnly = false) {
151
- return mountedTree().getCheckedKeys(leafOnly);
145
+ return treeRef.value.getCheckedKeys(leafOnly);
152
146
  }
153
147
  function setCheckedNodesFn(nodes) {
154
- mountedTree().setCheckedNodes(nodes, false);
148
+ treeRef.value.setCheckedNodes(nodes, false);
155
149
  }
156
150
  function setCheckedKeys(keys) {
157
- mountedTree().setCheckedKeys(keys, false);
151
+ treeRef.value.setCheckedKeys(keys, false);
158
152
  }
159
153
  function resetChecked() {
160
- mountedTree().setCheckedKeys([], false);
154
+ treeRef.value.setCheckedKeys([], false);
161
155
  }
162
156
  function getParentSelectedNodes(options = [], data = []) {
163
157
  const _allChecked = getCheckedKeysFn();
@@ -213,8 +207,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
213
207
  watch(
214
208
  filterValue,
215
209
  (val) => {
216
- var _a;
217
- (_a = treeRef.value) == null ? void 0 : _a.filter(val);
210
+ treeRef.value.filter(val);
218
211
  }
219
212
  );
220
213
  watch(
@@ -21,12 +21,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21
21
  options: { default: () => [] },
22
22
  config: { default: void 0 }
23
23
  },
24
- emits: ["update:modelValue", "change"],
24
+ emits: ["change", "update:modelValue"],
25
25
  setup(__props, { emit: __emit }) {
26
26
  const props = __props;
27
27
  const { optionValue } = useOptionMethods();
28
28
  const emit = __emit;
29
- const activeElement = useVModel(props, "modelValue", emit);
29
+ const activeElement = useVModel(
30
+ props,
31
+ "modelValue",
32
+ emit
33
+ );
30
34
  const contentWrapperRef = ref();
31
35
  const slotName = computed(() => {
32
36
  const allValues = props.options.reduce(
@@ -36,8 +40,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
40
  },
37
41
  []
38
42
  );
39
- const active = activeElement.value;
40
- return typeof active === "string" && active && allValues.includes(active) ? active : "";
43
+ const validationIsStringAndNotEmpty = typeof activeElement.value === "string" && activeElement.value;
44
+ return validationIsStringAndNotEmpty && allValues.includes(activeElement.value) ? activeElement.value : "";
41
45
  });
42
46
  function change(val) {
43
47
  emit("change", val);
@@ -12,16 +12,20 @@ const _hoisted_5 = { class: "tab-name-content mx-2 tab-name text-sm font-medium
12
12
  const _sfc_main = /* @__PURE__ */ defineComponent({
13
13
  __name: "VerticalTabNav",
14
14
  props: {
15
- modelValue: { default: void 0 },
16
15
  config: { default: void 0 },
17
- options: { default: () => [] }
16
+ options: { default: () => [] },
17
+ modelValue: { default: void 0 }
18
18
  },
19
- emits: ["update:modelValue", "change"],
19
+ emits: ["change", "update:modelValue"],
20
20
  setup(__props, { emit: __emit }) {
21
21
  const props = __props;
22
22
  const { optionListMap } = useOptionMethods();
23
23
  const emit = __emit;
24
- const activeElement = useVModel(props, "modelValue", emit);
24
+ const activeElement = useVModel(
25
+ props,
26
+ "modelValue",
27
+ emit
28
+ );
25
29
  const optionsMapped = computed(() => {
26
30
  return optionListMap(props.options, props.config);
27
31
  });
@@ -32,6 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
32
36
  const value = option.value;
33
37
  activeElement.value = value;
34
38
  emit("change", option.originalItem);
39
+ emit("update:modelValue", value);
35
40
  }
36
41
  return (_ctx, _cache) => {
37
42
  return openBlock(), createElementBlock("div", _hoisted_1, [
@@ -101,7 +101,9 @@ function useFileUploader(props, emit) {
101
101
  }
102
102
  }
103
103
  async function getFileArray(inputFiles) {
104
- const files = processFileSize(processFilesLength(inputFiles));
104
+ let files = [];
105
+ files = processFilesLength(inputFiles);
106
+ files = processFileSize(files);
105
107
  if (props.fileType === "base64") {
106
108
  return await getFilesInBase64(files);
107
109
  }
@@ -1,5 +1,6 @@
1
1
  import { ref, computed } from "vue";
2
- let rtlState;
2
+ let rtlState = null;
3
+ let isInitialized = false;
3
4
  let observer = null;
4
5
  function updateRTLState(isRTL, direction) {
5
6
  var _a;
@@ -8,6 +9,7 @@ function updateRTLState(isRTL, direction) {
8
9
  isRTL.value = direction.value === "rtl";
9
10
  }
10
11
  function initializeRTLState() {
12
+ if (isInitialized) return;
11
13
  const isRTL = ref(false);
12
14
  const direction = ref("ltr");
13
15
  updateRTLState(isRTL, direction);
@@ -27,13 +29,16 @@ function initializeRTLState() {
27
29
  attributeFilter: ["style", "class"]
28
30
  });
29
31
  observer._styleObserver = styleObserver;
30
- return {
32
+ rtlState = {
31
33
  isRTL: computed(() => isRTL.value),
32
34
  direction: computed(() => direction.value)
33
35
  };
36
+ isInitialized = true;
34
37
  }
35
38
  function useRTL() {
36
- rtlState ?? (rtlState = initializeRTLState());
39
+ if (!isInitialized) {
40
+ initializeRTLState();
41
+ }
37
42
  return rtlState;
38
43
  }
39
44
  export {
@@ -86,6 +86,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
86
86
  const localData = ref([]);
87
87
  const isRecycleBin = ref(false);
88
88
  const searchModel = ref("");
89
+ const searchInputRef = ref();
89
90
  const debouncedSearchModel = refDebounced(searchModel, 300);
90
91
  const usedSlots = computed(() => {
91
92
  return Object.keys(slots);
@@ -335,6 +336,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
335
336
  createElementVNode("div", _hoisted_12, [
336
337
  ((_a2 = __props.searchKeys) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_13, [
337
338
  createVNode(_sfc_main$5, {
339
+ ref_key: "searchInputRef",
340
+ ref: searchInputRef,
338
341
  modelValue: searchModel.value,
339
342
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchModel.value = $event),
340
343
  placeholder: unref(tVU).t("voicenterUi.general.search"),
@@ -13,6 +13,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
13
  __name: "VcEntityEditableTabs",
14
14
  props: {
15
15
  entity: {},
16
+ entityMethodDataType: { default: void 0 },
16
17
  hideCreateTab: { type: Boolean, default: false },
17
18
  lazyLoad: { type: Boolean, default: false },
18
19
  modelValue: { default: LIST_TAB_QUERY_VALUE },
@@ -40,7 +41,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
41
  const emit = __emit;
41
42
  const vcTabs = ref(null);
42
43
  const editTabs = ref([]);
43
- const activeTabModel = useVModel(props, "modelValue", emit);
44
+ const activeTabModel = useVModel(
45
+ props,
46
+ "modelValue",
47
+ emit
48
+ );
44
49
  const editableTabsData = ref({});
45
50
  const dataTabs = computed(() => {
46
51
  const listTab = {
@@ -55,10 +60,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
55
60
  disabled: tab.disabled,
56
61
  disabledHint: tab.disabledHint
57
62
  }));
63
+ const editTabsList = [
64
+ ...editTabs.value
65
+ ];
58
66
  const tabs = [
59
67
  listTab,
60
68
  ...fixedTabsList,
61
- ...editTabs.value
69
+ ...editTabsList
62
70
  ];
63
71
  if (!props.hideCreateTab) {
64
72
  return [
@@ -104,15 +112,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
104
112
  const parsedQueryTabName = parseInt(queryTabName);
105
113
  if (isNaN(parsedQueryTabName)) return;
106
114
  props.entity.info(parsedQueryTabName).then((res) => {
107
- if (!res) {
115
+ const _res = res;
116
+ if (!_res) {
108
117
  return;
109
118
  }
110
- if (props.entity.canEdit(res)) {
111
- openEditTab(res);
119
+ if (props.entity.canEdit(_res)) {
120
+ openEditTab(_res);
112
121
  } else {
113
122
  emit("permission-error", {
114
123
  tabName: queryTabName,
115
- response: res
124
+ response: _res
116
125
  });
117
126
  }
118
127
  });
@@ -124,11 +133,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
124
133
  function onActiveTabChange(tabName) {
125
134
  emit("tab-change", tabName);
126
135
  }
127
- function hasEntityData(entityData) {
128
- return Boolean(entityData);
129
- }
130
136
  function openEditTab(entityData) {
131
- if (!hasEntityData(entityData)) {
137
+ if (!entityData) {
132
138
  return;
133
139
  }
134
140
  const entityName = props.entity.getEntityName(entityData) || "";
@@ -156,15 +162,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
156
162
  const editableData = editableTabsData.value[+tabName];
157
163
  let isEditable = false;
158
164
  if (entityTabData && editableData) {
159
- Object.keys(entityTabData).forEach((key) => {
160
- const _objectValue = Reflect.get(entityTabData, key);
165
+ const _entityTabData = entityTabData;
166
+ Object.keys(_entityTabData).forEach((key) => {
167
+ const _key = key;
168
+ const _objectValue = _entityTabData[_key];
161
169
  if (!Array.isArray(_objectValue)) {
162
170
  if (typeof _objectValue === "object") {
163
- if (!isEqual(_objectValue, Reflect.get(entityTabData, key))) {
171
+ if (!isEqual(_objectValue, _entityTabData[_key])) {
164
172
  isEditable = true;
165
173
  }
166
174
  } else {
167
- if (_objectValue !== Reflect.get(entityTabData, key)) {
175
+ if (_objectValue !== _entityTabData[_key]) {
168
176
  isEditable = true;
169
177
  }
170
178
  }
@@ -1,44 +1,16 @@
1
- import { FileArchive, FileMusic, FilePlay, FileImage, FileCode, FileChartPie, FileSpreadsheet, FileBraces, FileText, FileType } from "@lucide/vue";
1
+ import { FileArchive, FileSpreadsheet, FileText } from "@lucide/vue";
2
2
  const DEFAULT_FILE_TYPE = {
3
3
  icon: FileText,
4
4
  color: "var(--vc-content-tertiary)"
5
5
  };
6
- const WORD_DOCUMENT = {
7
- icon: FileType,
8
- color: "var(--vc-content-info)"
9
- };
10
6
  const TEXT_DOCUMENT = {
11
7
  icon: FileText,
12
8
  color: "var(--vc-content-secondary)"
13
9
  };
14
- const DATA = {
15
- icon: FileBraces,
16
- color: "var(--vc-content-secondary)"
17
- };
18
10
  const SPREADSHEET = {
19
11
  icon: FileSpreadsheet,
20
12
  color: "var(--vc-content-success)"
21
13
  };
22
- const PRESENTATION = {
23
- icon: FileChartPie,
24
- color: "var(--vc-content-warning)"
25
- };
26
- const WEB_PAGE = {
27
- icon: FileCode,
28
- color: "var(--vc-content-info)"
29
- };
30
- const IMAGE = {
31
- icon: FileImage,
32
- color: "var(--vc-content-secondary)"
33
- };
34
- const VIDEO = {
35
- icon: FilePlay,
36
- color: "var(--vc-content-secondary)"
37
- };
38
- const AUDIO = {
39
- icon: FileMusic,
40
- color: "var(--vc-content-secondary)"
41
- };
42
14
  const ARCHIVE = {
43
15
  icon: FileArchive,
44
16
  color: "var(--vc-content-warning)"
@@ -48,34 +20,12 @@ const DEFAULT_FILE_TYPE_MAP = {
48
20
  icon: FileText,
49
21
  color: "var(--vc-content-danger)"
50
22
  },
51
- doc: WORD_DOCUMENT,
52
- docx: WORD_DOCUMENT,
23
+ doc: TEXT_DOCUMENT,
24
+ docx: TEXT_DOCUMENT,
53
25
  txt: TEXT_DOCUMENT,
54
- md: TEXT_DOCUMENT,
55
- json: DATA,
56
- xml: DATA,
57
- yaml: DATA,
58
- yml: DATA,
59
26
  xls: SPREADSHEET,
60
27
  xlsx: SPREADSHEET,
61
28
  csv: SPREADSHEET,
62
- ppt: PRESENTATION,
63
- pptx: PRESENTATION,
64
- html: WEB_PAGE,
65
- htm: WEB_PAGE,
66
- jpg: IMAGE,
67
- jpeg: IMAGE,
68
- png: IMAGE,
69
- gif: IMAGE,
70
- webp: IMAGE,
71
- svg: IMAGE,
72
- mp4: VIDEO,
73
- mov: VIDEO,
74
- webm: VIDEO,
75
- mp3: AUDIO,
76
- wav: AUDIO,
77
- ogg: AUDIO,
78
- m4a: AUDIO,
79
29
  zip: ARCHIVE,
80
30
  rar: ARCHIVE,
81
31
  "7z": ARCHIVE