@voicenter-team/voicenter-ui-plus 4.0.1 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (415) hide show
  1. package/MIGRATION_v3.md +196 -196
  2. package/README.md +1059 -1051
  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/components/VcAutocomplete/VcAutocomplete.vue.mjs +2 -3
  19. package/library/components/VcCheckbox/VcCheckbox.vue.mjs +1 -1
  20. package/library/components/VcCheckbox/VcCheckboxButton.vue.mjs +1 -1
  21. package/library/components/VcCheckboxGroup/VcCheckboxGroup.vue.mjs +1 -3
  22. package/library/components/VcDatePicker/VcDatePicker.vue.mjs +1 -1
  23. package/library/components/VcDropdown/VcDropdownItem.vue.mjs +1 -1
  24. package/library/components/VcExcelUploader/VcExcelFileUploader.vue.mjs +4 -4
  25. package/library/components/VcFileUploader/VcFileUploaderSimple.vue.mjs +1 -1
  26. package/library/components/VcForm/VcForm.vue.mjs +1 -1
  27. package/library/components/VcForm/VcFormItem.vue.mjs +1 -1
  28. package/library/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.mjs +1 -1
  29. package/library/components/VcIconPicker/VcIconPicker.vue.mjs +4 -9
  30. package/library/components/VcImageUploader/VcImageUploader.vue.mjs +5 -1
  31. package/library/components/VcInput/VcInput.vue.mjs +1 -1
  32. package/library/components/VcJsonSchema/Components/ImportJsonSchemaModal.vue.mjs +0 -3
  33. package/library/components/VcJsonSchema/Components/JsonSchemaEditor.vue.mjs +1 -1
  34. package/library/components/VcJsonViewer/VcJsonViewer.vue.mjs +1 -1
  35. package/library/components/VcLoading/Loaders/Circles.vue.mjs +1 -1
  36. package/library/components/VcLoading/Loaders/DotSpinner.vue.mjs +1 -1
  37. package/library/components/VcLoading/Loaders/DotSpinner.vue2.mjs +2 -2
  38. package/library/components/VcLoading/Loaders/LdsSpinner.vue.mjs +1 -1
  39. package/library/components/VcLoading/Loaders/LoadIcon.vue.mjs +1 -1
  40. package/library/components/VcLoading/Loaders/Stretch.vue.mjs +1 -1
  41. package/library/components/VcLoading/Loaders/Stretch.vue2.mjs +1 -1
  42. package/library/components/VcLoading/VcLoading.vue.mjs +1 -1
  43. package/library/components/VcMdEditor/ParameterNode.vue.mjs +1 -1
  44. package/library/components/VcMdEditor/VcMdEditor.vue.mjs +1 -1
  45. package/library/components/VcMdEditor/VcMdEditorToolbar.vue.mjs +1 -1
  46. package/library/components/VcMessage/reactions/VcMessageReactionBar.vue.mjs +1 -1
  47. package/library/components/VcNotification/VcNotification.vue.mjs +2 -2
  48. package/library/components/VcOtpInput/VcOtpInput.vue.mjs +1 -1
  49. package/library/components/VcPdfViewer/VcPdfViewer.vue.mjs +2 -1
  50. package/library/components/VcPdfViewer/pdfjslib.mjs +0 -1
  51. package/library/components/VcPopover/VcConfirmPopover.vue.mjs +3 -6
  52. package/library/components/VcPopover/VcSelectPopover.vue.mjs +2 -2
  53. package/library/components/VcRadio/VcRadio.vue.mjs +1 -1
  54. package/library/components/VcRadioGroup/VcRadioGroup.vue.mjs +6 -2
  55. package/library/components/VcRadioTabs/VcRadioTabs.vue.mjs +2 -6
  56. package/library/components/VcSegmented/VcSegmented.vue.mjs +1 -1
  57. package/library/components/VcSelect/VcInfiniteScrollSelect.vue.mjs +1 -3
  58. package/library/components/VcSelect/VcSelect.vue.mjs +33 -33
  59. package/library/components/VcSkeletonLoader/Loaders/Card.vue.mjs +1 -1
  60. package/library/components/VcSkeletonLoader/Loaders/Circle.vue.mjs +1 -1
  61. package/library/components/VcSkeletonLoader/Loaders/Row.vue.mjs +1 -1
  62. package/library/components/VcSkeletonLoader/Loaders/Square.vue.mjs +1 -1
  63. package/library/components/VcSkeletonLoader/Loaders/Text.vue.mjs +1 -1
  64. package/library/components/VcSlider/VcSlider.vue.mjs +1 -1
  65. package/library/components/VcSoundplayer/VcSoundPlayerWrapper.vue.mjs +2 -1
  66. package/library/components/VcSoundplayer/player.options.mjs +1 -6
  67. package/library/components/VcSparkline/helper.mjs +1 -1
  68. package/library/components/VcTable/VcTable.vue.mjs +17 -13
  69. package/library/components/VcTabs/VcTabNav.vue.mjs +2 -0
  70. package/library/components/VcTransfer/VcTransfer.vue.mjs +16 -5
  71. package/library/components/VcTree/VcTree.vue.mjs +13 -6
  72. package/library/components/VcVerticalTabs/VcVerticalTabs.vue.mjs +4 -8
  73. package/library/components/VcVerticalTabs/VerticalTabNav.vue.mjs +4 -9
  74. package/library/composables/input/useFileUploader.mjs +1 -3
  75. package/library/composables/useRTL.mjs +3 -8
  76. package/library/entity/components/Table/VcEntityListTable.vue.mjs +0 -3
  77. package/library/entity/components/Tabs/VcEntityEditableTabs.vue.mjs +14 -22
  78. package/library/index.mjs.gz +0 -0
  79. package/library/localization/index.mjs +1 -1
  80. package/library/localization/index.mjs.br +0 -0
  81. package/library/localization/index.mjs.gz +0 -0
  82. package/library/plugin.mjs.gz +0 -0
  83. package/library/style.css +15 -15
  84. package/library/style.css.br +0 -0
  85. package/library/style.css.gz +0 -0
  86. package/library/theme/index.mjs.gz +0 -0
  87. package/library/types/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue.d.ts +9 -39
  88. package/library/types/components/VcAgentRun/UiComponents/VcAgentRunRow.vue.d.ts +8 -17
  89. package/library/types/components/VcAgentRun/VcAgentRunCard.vue.d.ts +42 -81
  90. package/library/types/components/VcAgentRun/VcAgentRunGroup.vue.d.ts +27 -43
  91. package/library/types/components/VcAgentRun/agentRunStatus.d.ts +2 -2
  92. package/library/types/components/VcAiReasoning/VcAiReasoning.vue.d.ts +18 -67
  93. package/library/types/components/VcApprovalCard/VcApprovalCard.vue.d.ts +40 -79
  94. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue.d.ts +10 -36
  95. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue.d.ts +9 -35
  96. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue.d.ts +14 -45
  97. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue.d.ts +9 -35
  98. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue.d.ts +9 -35
  99. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserText.vue.d.ts +9 -35
  100. package/library/types/components/VcAskUserCard/UiComponents/askUserControl.d.ts +1 -1
  101. package/library/types/components/VcAskUserCard/VcAskUserCard.vue.d.ts +18 -63
  102. package/library/types/components/VcAskUserCard/askUserAnswers.d.ts +1 -1
  103. package/library/types/components/VcAutocomplete/VcAutocomplete.vue.d.ts +64 -171
  104. package/library/types/components/VcAvatar/VcAvatar.vue.d.ts +5 -39
  105. package/library/types/components/VcBadgeTag/VcBadgeTag.vue.d.ts +12 -33
  106. package/library/types/components/VcButton/VcButton.vue.d.ts +19 -50
  107. package/library/types/components/VcButton/VcButtonIcon.vue.d.ts +16 -63
  108. package/library/types/components/VcButton/VcToggleButton.vue.d.ts +23 -63
  109. package/library/types/components/VcCard/VcCard.vue.d.ts +14 -42
  110. package/library/types/components/VcChatComposer/VcChatComposer.vue.d.ts +32 -97
  111. package/library/types/components/VcChatComposer/richText.d.ts +2 -2
  112. package/library/types/components/VcChatComposer/tiptap.d.ts +38 -38
  113. package/library/types/components/VcCheckbox/VcCheckbox.vue.d.ts +46 -95
  114. package/library/types/components/VcCheckbox/VcCheckboxButton.vue.d.ts +41 -77
  115. package/library/types/components/VcCheckbox/VcCheckboxButtonGroup.vue.d.ts +40 -76
  116. package/library/types/components/VcCheckbox/VcCheckboxGroupEl.vue.d.ts +10 -4
  117. package/library/types/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +44 -82
  118. package/library/types/components/VcCodeBlock/VcCodeBlock.vue.d.ts +5 -39
  119. package/library/types/components/VcCodeBlock/highlight.d.ts +1 -2
  120. package/library/types/components/VcCollapse/VcCollapse.vue.d.ts +17 -38
  121. package/library/types/components/VcCollapse/VcCollapseItem.vue.d.ts +26 -63
  122. package/library/types/components/VcCollapse/VcCollapseTransition.vue.d.ts +12 -6
  123. package/library/types/components/VcColorPicker/VcColorPicker.vue.d.ts +7 -43
  124. package/library/types/components/VcDatePicker/VcDatePicker.vue.d.ts +63 -103
  125. package/library/types/components/VcDatePickerPanel/VcDatePickerPanel.vue.d.ts +69 -132
  126. package/library/types/components/VcDelimitedList/VcDelimitedList.vue.d.ts +39 -78
  127. package/library/types/components/VcDropdown/VcDropdown.vue.d.ts +22 -81
  128. package/library/types/components/VcDropdown/VcDropdownItem.vue.d.ts +9 -12
  129. package/library/types/components/VcEmojiPicker/VcEmojiPicker.vue.d.ts +20 -45
  130. package/library/types/components/VcExcelUploader/VcExcelFileProcessLoader.vue.d.ts +4 -36
  131. package/library/types/components/VcExcelUploader/VcExcelFileUploadBlock.vue.d.ts +16 -39
  132. package/library/types/components/VcExcelUploader/VcExcelFileUploader.vue.d.ts +40 -74
  133. package/library/types/components/VcExcelUploader/VcFileImportErrorsCard.vue.d.ts +7 -29
  134. package/library/types/components/VcExcelUploader/VcFileImportParseResultBlock.vue.d.ts +20 -44
  135. package/library/types/components/VcExcelUploader/VcFileImportResultBindData.vue.d.ts +9 -37
  136. package/library/types/components/VcExcelUploader/VcFileImportResultBindDataTable.vue.d.ts +7 -31
  137. package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.d.ts +8 -44
  138. package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.d.ts +5 -45
  139. package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +10 -80
  140. package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.vue.d.ts +7 -39
  141. package/library/types/components/VcFileUploader/VcFileItem.vue.d.ts +9 -39
  142. package/library/types/components/VcFileUploader/VcFileUploader.vue.d.ts +24 -83
  143. package/library/types/components/VcFileUploader/VcFileUploaderArea.vue.d.ts +30 -90
  144. package/library/types/components/VcFileUploader/VcFileUploaderSimple.vue.d.ts +37 -96
  145. package/library/types/components/VcFileUploader/VcSimpleUploaderAction.vue.d.ts +18 -35
  146. package/library/types/components/VcFileUploader/VcSimpleUploaderFileList.vue.d.ts +27 -33
  147. package/library/types/components/VcFilterBar/VcFilterAddMenu.vue.d.ts +14 -31
  148. package/library/types/components/VcFilterBar/VcFilterBar.vue.d.ts +61 -103
  149. package/library/types/components/VcFilterBar/VcFilterChip.vue.d.ts +23 -32
  150. package/library/types/components/VcFilterBar/VcFilterChipEditor.vue.d.ts +20 -38
  151. package/library/types/components/VcFilterBar/VcFilterEditorModal.vue.d.ts +16 -29
  152. package/library/types/components/VcFilterBar/VcFilterEditorPanel.vue.d.ts +29 -93
  153. package/library/types/components/VcFilterBar/editors/VcFilterBooleanEditor.vue.d.ts +16 -55
  154. package/library/types/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue.d.ts +17 -60
  155. package/library/types/components/VcFilterBar/editors/VcFilterRangeEditor.vue.d.ts +16 -53
  156. package/library/types/components/VcFilterBar/editors/VcFilterSelectEditor.vue.d.ts +16 -53
  157. package/library/types/components/VcFilterBar/editors/VcFilterTextEditor.vue.d.ts +17 -56
  158. package/library/types/components/VcFilterBar/editors/VcFilterTextListEditor.vue.d.ts +17 -54
  159. package/library/types/components/VcFilterBar/filterBarChip.d.ts +1 -1
  160. package/library/types/components/VcFilterBar/filterBarDate.d.ts +1 -1
  161. package/library/types/components/VcFilterBar/filterBarDraft.d.ts +11 -11
  162. package/library/types/components/VcFilterBar/filterBarEditors.d.ts +2 -2
  163. package/library/types/components/VcFilterBar/filterBarErrors.d.ts +1 -1
  164. package/library/types/components/VcFilterBar/filterBarModel.d.ts +1 -1
  165. package/library/types/components/VcFilterBar/filterBarOptions.d.ts +2 -2
  166. package/library/types/components/VcFilterBar/filterBarSearch.d.ts +1 -1
  167. package/library/types/components/VcFilterBar/filterBarValidate.d.ts +1 -1
  168. package/library/types/components/VcForm/UiComponents/VcInputError.vue.d.ts +6 -27
  169. package/library/types/components/VcForm/UiComponents/VcInputLabel.vue.d.ts +14 -36
  170. package/library/types/components/VcForm/VcForm.vue.d.ts +15 -46
  171. package/library/types/components/VcForm/VcFormItem.vue.d.ts +23 -42
  172. package/library/types/components/VcHtmlEditor/VcHtmlEditor.vue.d.ts +8 -42
  173. package/library/types/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.d.ts +20 -34
  174. package/library/types/components/VcHtmlEditor/codemirror.d.ts +2 -2
  175. package/library/types/components/VcHtmlEditor/htmlEditor.config.d.ts +2 -2
  176. package/library/types/components/VcHyperLink/VcHyperLink.vue.d.ts +14 -39
  177. package/library/types/components/VcIcon/VcIcon.vue.d.ts +5 -31
  178. package/library/types/components/VcIconPicker/VcIconPicker.vue.d.ts +26 -60
  179. package/library/types/components/VcImageUploader/VcImageUploader.vue.d.ts +27 -50
  180. package/library/types/components/VcImageUploader/cropper.d.ts +24 -24
  181. package/library/types/components/VcInput/VcInput.vue.d.ts +14 -72
  182. package/library/types/components/VcInputNumber/VcInputNumber.vue.d.ts +7 -57
  183. package/library/types/components/VcJsonSchema/Components/ImportJsonSchemaModal.vue.d.ts +10 -19
  184. package/library/types/components/VcJsonSchema/Components/JsonCodeMirror.vue.d.ts +9 -18
  185. package/library/types/components/VcJsonSchema/Components/JsonSchemaEditor.vue.d.ts +25 -68
  186. package/library/types/components/VcJsonSchema/Components/JsonSchemaManageModal.vue.d.ts +11 -21
  187. package/library/types/components/VcJsonSchema/Components/codemirror.d.ts +2 -2
  188. package/library/types/components/VcJsonSchema/PropertySetup/JsonSchemaPropertyModal.vue.d.ts +12 -24
  189. package/library/types/components/VcJsonSchema/VcJsonSchema.vue.d.ts +30 -47
  190. package/library/types/components/VcJsonSchema/helpers/jsonSchema.enum.d.ts +1 -1
  191. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue.d.ts +9 -37
  192. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue.d.ts +5 -15
  193. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue.d.ts +7 -29
  194. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue.d.ts +6 -28
  195. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue.d.ts +7 -19
  196. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue.d.ts +7 -30
  197. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue.d.ts +8 -34
  198. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue.d.ts +17 -38
  199. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue.d.ts +5 -15
  200. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue.d.ts +5 -15
  201. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue.d.ts +8 -33
  202. package/library/types/components/VcJsonViewer/VcJsonViewer.vue.d.ts +12 -75
  203. package/library/types/components/VcJsonViewer/jsonViewerText.d.ts +2 -2
  204. package/library/types/components/VcJsonViewer/jsonViewerUtils.d.ts +1 -1
  205. package/library/types/components/VcJsonViewer/useJsonViewerContext.d.ts +1 -1
  206. package/library/types/components/VcLightbox/VcLightbox.vue.d.ts +30 -62
  207. package/library/types/components/VcLoading/Loaders/Circles.vue.d.ts +4 -26
  208. package/library/types/components/VcLoading/Loaders/DotSpinner.vue.d.ts +4 -26
  209. package/library/types/components/VcLoading/Loaders/LdsSpinner.vue.d.ts +4 -26
  210. package/library/types/components/VcLoading/Loaders/LoadIcon.vue.d.ts +5 -29
  211. package/library/types/components/VcLoading/Loaders/Stretch.vue.d.ts +4 -26
  212. package/library/types/components/VcLoading/Loaders/index.d.ts +5 -5
  213. package/library/types/components/VcLoading/Loaders/types.d.ts +1 -1
  214. package/library/types/components/VcLoading/VcLoading.vue.d.ts +13 -38
  215. package/library/types/components/VcLoading/enum.d.ts +13 -129
  216. package/library/types/components/VcMdEditor/ParameterNode.vue.d.ts +5 -4
  217. package/library/types/components/VcMdEditor/VcMdEditor.vue.d.ts +33 -215
  218. package/library/types/components/VcMdEditor/VcMdEditorContent.vue.d.ts +10 -44
  219. package/library/types/components/VcMdEditor/VcMdEditorToolbar.vue.d.ts +12 -23
  220. package/library/types/components/VcMdEditor/ltrNumbersPlugin.d.ts +3 -3
  221. package/library/types/components/VcMdEditor/mdEditor.config.d.ts +10 -10
  222. package/library/types/components/VcMdEditor/milkdown.d.ts +1 -1
  223. package/library/types/components/VcMdEditor/readonlyMarkdown.d.ts +1 -1
  224. package/library/types/components/VcMdEditor/rtlCursorPlugin.d.ts +2 -2
  225. package/library/types/components/VcMessage/VcMessage.vue.d.ts +27 -83
  226. package/library/types/components/VcMessage/VcMessageMeta.vue.d.ts +7 -20
  227. package/library/types/components/VcMessage/content/VcMessageAudioBlock.vue.d.ts +6 -19
  228. package/library/types/components/VcMessage/content/VcMessageFileBlock.vue.d.ts +9 -22
  229. package/library/types/components/VcMessage/content/VcMessageImageBlock.vue.d.ts +9 -22
  230. package/library/types/components/VcMessage/content/VcMessageMarkdownBlock.vue.d.ts +6 -19
  231. package/library/types/components/VcMessage/content/VcMessageTextBlock.vue.d.ts +6 -19
  232. package/library/types/components/VcMessage/content/VcMessageVideoBlock.vue.d.ts +6 -19
  233. package/library/types/components/VcMessage/content/messageContentComponents.d.ts +2 -2
  234. package/library/types/components/VcMessage/reactions/VcMessageEmojiPicker.vue.d.ts +28 -52
  235. package/library/types/components/VcMessage/reactions/VcMessageReactionBar.vue.d.ts +9 -22
  236. package/library/types/components/VcMessagesWrapper/VcMessagesWrapper.vue.d.ts +38 -208
  237. package/library/types/components/VcMessagesWrapper/VcMessagesWrapperRow.vue.d.ts +41 -86
  238. package/library/types/components/VcMeterGroup/VcMeterGroup.vue.d.ts +68 -112
  239. package/library/types/components/VcMeterGroup/VcMeterGroupLabel.vue.d.ts +15 -38
  240. package/library/types/components/VcModal/VcConfirmModal.vue.d.ts +7 -33
  241. package/library/types/components/VcModal/VcModal.vue.d.ts +26 -79
  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/VcSkeletonLoader.vue.d.ts +3 -35
  284. package/library/types/components/VcSlider/VcSlider.vue.d.ts +2 -1
  285. package/library/types/components/VcSoundplayer/VcPlayerPlayStopButton.vue.d.ts +16 -68
  286. package/library/types/components/VcSoundplayer/VcPlayerPlaybackRate.vue.d.ts +8 -37
  287. package/library/types/components/VcSoundplayer/VcPlayerPlaybackRatePopup.vue.d.ts +9 -41
  288. package/library/types/components/VcSoundplayer/VcPlayerSkipButtons.vue.d.ts +20 -54
  289. package/library/types/components/VcSoundplayer/VcSoundCurrentTime.vue.d.ts +2 -1
  290. package/library/types/components/VcSoundplayer/VcSoundDuration.vue.d.ts +2 -1
  291. package/library/types/components/VcSoundplayer/VcSoundPlayer.vue.d.ts +35 -69
  292. package/library/types/components/VcSoundplayer/VcSoundPlayerCompact.vue.d.ts +20 -57
  293. package/library/types/components/VcSoundplayer/VcSoundPlayerError.vue.d.ts +9 -26
  294. package/library/types/components/VcSoundplayer/VcSoundPlayerMarker.vue.d.ts +24 -55
  295. package/library/types/components/VcSoundplayer/VcSoundPlayerMarkers.vue.d.ts +23 -38
  296. package/library/types/components/VcSoundplayer/VcSoundPlayerProgress.vue.d.ts +14 -17
  297. package/library/types/components/VcSoundplayer/VcSoundPlayerWrapper.vue.d.ts +26 -146
  298. package/library/types/components/VcSoundplayer/VcSoundVolume.vue.d.ts +11 -50
  299. package/library/types/components/VcSoundplayer/player.options.d.ts +2 -2
  300. package/library/types/components/VcSoundplayer/soundPlayerParts.d.ts +12 -12
  301. package/library/types/components/VcSoundplayer/wavesurfer.d.ts +2 -2
  302. package/library/types/components/VcSparkline/VcBarLine.vue.d.ts +17 -68
  303. package/library/types/components/VcSparkline/VcSparkline.vue.d.ts +15 -75
  304. package/library/types/components/VcSparkline/VcTrendLine.vue.d.ts +17 -68
  305. package/library/types/components/VcSplitButton/VcSplitButton.vue.d.ts +30 -75
  306. package/library/types/components/VcSwitch/VcSwitch.vue.d.ts +77 -138
  307. package/library/types/components/VcSystemUserPrompt/VcSystemUserPrompt.vue.d.ts +19 -36
  308. package/library/types/components/VcSystemUserPrompt/enum.d.ts +1 -1
  309. package/library/types/components/VcTable/VcTable.vue.d.ts +138 -360
  310. package/library/types/components/VcTabs/VcTabNav.vue.d.ts +20 -43
  311. package/library/types/components/VcTabs/VcTabPane.vue.d.ts +19 -52
  312. package/library/types/components/VcTabs/VcTabs.vue.d.ts +137 -165
  313. package/library/types/components/VcTag/VcTag.vue.d.ts +14 -49
  314. package/library/types/components/VcTagInput/VcTagInput.vue.d.ts +22 -86
  315. package/library/types/components/VcTimeInput/VcTimeInput.vue.d.ts +9 -57
  316. package/library/types/components/VcToolCall/UiComponents/VcToolCallValue.vue.d.ts +9 -49
  317. package/library/types/components/VcToolCall/VcToolCall.vue.d.ts +40 -73
  318. package/library/types/components/VcTour/VcTour.vue.d.ts +35 -54
  319. package/library/types/components/VcTransfer/VcTransfer.vue.d.ts +25 -52
  320. package/library/types/components/VcTree/VcTree.vue.d.ts +61 -143
  321. package/library/types/components/VcTree/VcTreeSelect.vue.d.ts +449 -958
  322. package/library/types/components/VcTree/treeTypeUtils.d.ts +1 -1
  323. package/library/types/components/VcVerticalTabs/VcVerticalTabs.vue.d.ts +34 -80
  324. package/library/types/components/VcVerticalTabs/VerticalTabNav.vue.d.ts +31 -73
  325. package/library/types/components/VcWizard/VcSummaryProgress.vue.d.ts +3 -33
  326. package/library/types/components/VcWizard/VcSummaryStep.vue.d.ts +6 -36
  327. package/library/types/components/VcWizard/VcWizard.vue.d.ts +33 -62
  328. package/library/types/components/VcWizard/VcWizardNavigation.vue.d.ts +20 -53
  329. package/library/types/components/VcWizard/VcWizardSummary.vue.d.ts +6 -34
  330. package/library/types/components/VcWizard/VcWizardTransition.vue.d.ts +58 -0
  331. package/library/types/components/exports.d.ts +126 -126
  332. package/library/types/composables/input/useFileUploader.d.ts +1 -1
  333. package/library/types/composables/input/useInputBase.d.ts +5 -5
  334. package/library/types/composables/input/useInputColor.d.ts +4 -4
  335. package/library/types/composables/option/useOptionMethods.d.ts +14 -14
  336. package/library/types/composables/useAudioRecorder.d.ts +6 -6
  337. package/library/types/composables/useCopyButton.d.ts +2 -2
  338. package/library/types/composables/useElapsed.d.ts +2 -2
  339. package/library/types/composables/useThrottledText.d.ts +1 -1
  340. package/library/types/directives/index.d.ts +1 -1
  341. package/library/types/entity/components/Button/VcEntityAddButton.vue.d.ts +16 -33
  342. package/library/types/entity/components/Button/VcEntityCancelButton.vue.d.ts +21 -45
  343. package/library/types/entity/components/Button/VcEntityDeleteIconButton.vue.d.ts +21 -41
  344. package/library/types/entity/components/Button/VcEntityEditIconButton.vue.d.ts +18 -30
  345. package/library/types/entity/components/Button/VcEntityRestoreButton.vue.d.ts +21 -45
  346. package/library/types/entity/components/Button/VcEntityStatusButton.vue.d.ts +21 -40
  347. package/library/types/entity/components/Form/VcBaseVerticalForm.vue.d.ts +18 -37
  348. package/library/types/entity/components/Form/VcEntityEditPageForm.vue.d.ts +26 -54
  349. package/library/types/entity/components/Form/VcEntityVerticalCreateForm.vue.d.ts +16 -34
  350. package/library/types/entity/components/Form/VcEntityVerticalEditForm.vue.d.ts +31 -76
  351. package/library/types/entity/components/Table/VcEntityListTable.vue.d.ts +38 -135
  352. package/library/types/entity/components/Tabs/VcEntityEditableTabs.vue.d.ts +55 -151
  353. package/library/types/entity/components/index.d.ts +12 -12
  354. package/library/types/entity/composable/useEntityProvideInject.d.ts +1 -1
  355. package/library/types/entity/services/BaseEntityService.d.ts +2 -2
  356. package/library/types/enum/fileTypes.d.ts +1 -1
  357. package/library/types/localization/Localization.types.d.ts +2 -2
  358. package/library/types/localization/index.d.ts +2 -2
  359. package/library/types/localization/locales/en.json.d.ts +415 -415
  360. package/library/types/plugin-components.gen.d.ts +1 -1
  361. package/library/types/plugin.d.ts +1 -1
  362. package/library/types/services/index.d.ts +1 -7
  363. package/library/types/theme/themes.json.d.ts +72 -72
  364. package/library/types/types/Entity.types.d.ts +8 -1
  365. package/library/types/types/Entry.types.d.ts +1 -1
  366. package/library/types/types/ExcelParser.types.d.ts +1 -1
  367. package/library/types/types/OptionAndConfig.types.d.ts +8 -4
  368. package/library/types/types/Overlay.types.d.ts +1 -1
  369. package/library/types/types/Tabs.d.ts +1 -1
  370. package/library/types/types/VcAgentRun.types.d.ts +3 -3
  371. package/library/types/types/VcAiReasoning.types.d.ts +1 -1
  372. package/library/types/types/VcApprovalCard.types.d.ts +1 -1
  373. package/library/types/types/VcChatComposer.types.d.ts +1 -1
  374. package/library/types/types/VcDatePicker.types.d.ts +1 -1
  375. package/library/types/types/VcDropdown.types.d.ts +2 -2
  376. package/library/types/types/VcEditableTabs.types.d.ts +1 -1
  377. package/library/types/types/VcEmojiPicker.types.d.ts +1 -1
  378. package/library/types/types/VcFileUploader.types.d.ts +1 -1
  379. package/library/types/types/VcFilterBar.types.d.ts +3 -3
  380. package/library/types/types/VcJsonViewer.types.d.ts +2 -2
  381. package/library/types/types/VcMdEditor.types.d.ts +1 -1
  382. package/library/types/types/VcMessage.types.d.ts +1 -1
  383. package/library/types/types/VcMessagesWrapper.types.d.ts +1 -1
  384. package/library/types/types/VcNotification.types.d.ts +2 -2
  385. package/library/types/types/VcSoundPlayer.types.d.ts +3 -3
  386. package/library/types/types/VcSoundPlayerInstance.types.d.ts +3 -3
  387. package/library/types/types/VcSplitButton.types.d.ts +4 -4
  388. package/library/types/types/VcToolCall.types.d.ts +2 -2
  389. package/library/types/types/VcTour.types.d.ts +2 -2
  390. package/library/types/types/VcTree.types.d.ts +2 -2
  391. package/library/types/types/icons.types.d.ts +1 -1
  392. package/library/types/utils/aiChat.d.ts +1 -1
  393. package/library/types/utils/elementPlusIcons.d.ts +2 -2
  394. package/library/types/utils/excelParser/configs.d.ts +1 -1
  395. package/library/types/utils/excelParser/helper.d.ts +3 -3
  396. package/library/types/utils/excelParser/parser.d.ts +1 -1
  397. package/library/types/utils/excelParser/validations.d.ts +1 -1
  398. package/library/types/utils/helpers.d.ts +1 -1
  399. package/library/types/utils/jsonSchema/helpers.d.ts +2 -5
  400. package/library/types/utils/jsonSchema/index.d.ts +1 -1
  401. package/library/types/utils/jsonSchema/jsonSchemaHelpers.d.ts +4 -4
  402. package/library/types/utils/lucideIcon.d.ts +1 -1
  403. package/library/types/utils/mountPluginOverlays.d.ts +1 -1
  404. package/library/utils/globalSingleton.mjs +11 -5
  405. package/library/utils/jsonSchema/index.mjs.gz +0 -0
  406. package/library/utils/jsonSchema/jsonSchemaHelpers.mjs +0 -1
  407. package/package.json +310 -311
  408. package/src/theme/index.ts +101 -101
  409. package/src/theme/tailwindScheme.js +78 -78
  410. package/src/theme/theme.types.ts +31 -31
  411. package/src/theme/themeMerge.ts +63 -63
  412. package/src/theme/themes.json +72 -72
  413. package/tailwind.config.d.ts +5 -5
  414. package/tailwind.config.js +178 -178
  415. /package/library/assets/node_modules/element-plus/theme-chalk/src/{dropdown-item.css → tooltip.css} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, Fragment, renderList, createBlock, unref, withCtx, createElementVNode, normalizeClass, toDisplayString, createVNode } from "vue";
2
2
  import { ElTooltip } from "element-plus";
3
- import '../../../assets/components/VcMessage/reactions/VcMessageEmojiPicker.css';import '../../../assets/components/VcIcon/VcIcon.css';import '../../../assets/node_modules/element-plus/theme-chalk/src/dropdown-item.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/components/VcMessage/reactions/VcMessageEmojiPicker.css';import '../../../assets/components/VcIcon/VcIcon.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';
4
4
  import '../../../assets/components/VcMessage/reactions/VcMessageReactionBar.css';/* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
@@ -1,5 +1,5 @@
1
1
  import '../../assets/components/VcNotification/VcNotification.css';
2
- import { defineComponent, ref, computed, onMounted, onBeforeUnmount, openBlock, createBlock, Teleport, createElementVNode, mergeProps, createVNode, TransitionGroup, withCtx, createElementBlock, Fragment, renderList } from "vue";
2
+ import { defineComponent, ref, shallowRef, computed, onMounted, onBeforeUnmount, openBlock, createBlock, Teleport, createElementVNode, mergeProps, createVNode, TransitionGroup, withCtx, createElementBlock, Fragment, renderList } from "vue";
3
3
  import UniqueComponentId from "../../utils/UniqueComponentId.mjs";
4
4
  import ZIndexUtils from "../../utils/ZIndexUtils.mjs";
5
5
  import ToastEventBus from "../../utils/ToastEventBus.mjs";
@@ -24,7 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
24
24
  const attributeSelector = UniqueComponentId("vc-toast-id_");
25
25
  const props = __props;
26
26
  const containerRef = ref();
27
- const messages = ref([]);
27
+ const messages = shallowRef([]);
28
28
  const messageIdx = ref(0);
29
29
  const customPosition = ref("");
30
30
  const containerClass = computed(() => {
@@ -86,7 +86,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
86
86
  return makeDataTestAttributeValue(dataTestAttributes.input, props.dataTestName);
87
87
  });
88
88
  function setInputRef(el, index) {
89
- inputRefs.value[index] = el;
89
+ inputRefs.value[index] = el instanceof HTMLInputElement ? el : null;
90
90
  }
91
91
  function isValidChar(char, type) {
92
92
  if (type === "numeric") {
@@ -401,7 +401,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
401
401
  }
402
402
  if (pdfDocument.value) {
403
403
  const data = await pdfDocument.value.getData();
404
- saveBlob(new Blob([data], { type: "application/pdf" }), downloadFileName.value);
404
+ const bytes = data.buffer instanceof ArrayBuffer ? new Uint8Array(data.buffer, data.byteOffset, data.byteLength) : data.slice();
405
+ saveBlob(new Blob([bytes], { type: "application/pdf" }), downloadFileName.value);
405
406
  return;
406
407
  }
407
408
  const response = await fetch(props.document, {
@@ -1,7 +1,6 @@
1
1
  import { cachedLoad, loadOptionalPeer } from "../../utils/optionalPeer.mjs";
2
2
  const loadPdf = cachedLoad(async () => {
3
3
  const [pdf, { PDFLinkService }] = await Promise.all([
4
- // @ts-expect-error -- no .d.ts ships beside build/pdf.js; the module is typed via the package root types.
5
4
  loadOptionalPeer("pdfjs-dist", import("pdfjs-dist/build/pdf.js")),
6
5
  loadOptionalPeer("pdfjs-dist", import("pdfjs-dist/web/pdf_viewer"))
7
6
  ]);
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, computed, openBlock, createBlock, unref, withCtx, withDirectives, createElementBlock, normalizeStyle, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, resolveDynamicComponent, Fragment, createVNode, createTextVNode } from "vue";
1
+ import { defineComponent, computed, openBlock, createBlock, unref, withCtx, withDirectives, createElementBlock, normalizeStyle, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, resolveDynamicComponent, Fragment, createVNode, createTextVNode } from "vue";
2
2
  import { ElPopover, ClickOutside } from "element-plus";
3
3
  import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcButton/VcButton.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.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/VcPopover/VcConfirmPopover.css';/* empty css */
@@ -46,7 +46,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
46
46
  };
47
47
  const emit = __emit;
48
48
  const props = __props;
49
- const popoverRef = ref();
50
49
  const popoverOptions = computed(() => {
51
50
  return {
52
51
  ...defaultOptions,
@@ -127,8 +126,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
127
126
  confirmPopupState.closePopup();
128
127
  return;
129
128
  }
130
- const ref2 = elementRef.value;
131
- const el = typeof ref2 === "string" || ref2 instanceof Element ? ref2 : ref2 == null ? void 0 : ref2.$el;
129
+ const ref = elementRef.value;
130
+ const el = typeof ref === "string" || ref instanceof Element ? ref : ref == null ? void 0 : ref.$el;
132
131
  if (el === target || el === target.parentElement) {
133
132
  return;
134
133
  }
@@ -162,8 +161,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
162
161
  return (_ctx, _cache) => {
163
162
  return elementRef.value ? (openBlock(), createBlock(unref(ElPopover), {
164
163
  key: 0,
165
- ref_key: "popoverRef",
166
- ref: popoverRef,
167
164
  visible: isOpen.value,
168
165
  "virtual-ref": elementRef.value,
169
166
  effect: popoverOptions.value.themeEffect,
@@ -1,5 +1,5 @@
1
1
  import '../../assets/components/VcPopover/VcSelectPopover.css';
2
- import { defineComponent, ref, computed, watch, openBlock, createBlock, withCtx, withDirectives, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, createVNode, createTextVNode, unref, renderSlot } from "vue";
2
+ import { defineComponent, ref, shallowRef, computed, watch, openBlock, createBlock, withCtx, withDirectives, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, createVNode, createTextVNode, unref, renderSlot } from "vue";
3
3
  import { Check } from "@lucide/vue";
4
4
  import { ClickOutside } from "element-plus";
5
5
  import { tVU } from "../../localization/index.mjs";
@@ -36,7 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  const emit = __emit;
37
37
  const open = ref(false);
38
38
  const actionRef = ref();
39
- const checkboxGroupModel = ref([]);
39
+ const checkboxGroupModel = shallowRef([]);
40
40
  const confirmAction = computed(() => {
41
41
  const options = props.confirmAction;
42
42
  return {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass, withCtx, renderSlot, createTextVNode, toDisplayString } from "vue";
2
2
  import { ElRadio } from "element-plus";
3
- import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/dropdown-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.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/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
3
+ import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.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/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
4
4
  import '../../assets/components/VcRadio/VcRadio.css';/* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
@@ -27,9 +27,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
27
  get() {
28
28
  return props.modelValue;
29
29
  },
30
+ // Element Plus hands back the value of the radio that was picked; the
31
+ // option that carries it gives the value its Model type.
30
32
  set(value) {
31
- emit("update:modelValue", value);
32
- emit("change", value);
33
+ var _a;
34
+ const picked = (_a = radiosMapped.value.find((radio) => radio.value === value)) == null ? void 0 : _a.value;
35
+ emit("update:modelValue", picked);
36
+ emit("change", picked);
33
37
  }
34
38
  });
35
39
  const radiosMapped = computed(() => {
@@ -1,8 +1,8 @@
1
1
  import '../../assets/components/VcRadioTabs/VcRadioTabs.css';
2
2
  import { defineComponent, onMounted, openBlock, createElementBlock, createElementVNode, createVNode, renderSlot, unref, createTextVNode, toDisplayString, Fragment, renderList, withDirectives, vShow } from "vue";
3
+ import { useVModel } from "@vueuse/core";
3
4
  import _sfc_main$1 from "./UiComponents/VcRadioTabsNav.vue.mjs";
4
5
  import '../../assets/components/VcRadioTabs/UiComponents/VcRadioTabsNav.css';/* empty css */
5
- import { useVModel } from "@vueuse/core";
6
6
  import useOptionMethods from "../../composables/option/useOptionMethods.mjs";
7
7
  const _hoisted_1 = { class: "vc-radio-tabs" };
8
8
  const _hoisted_2 = { class: "vc-radio-tabs__wrapper" };
@@ -29,11 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
29
  setup(__props, { emit: __emit }) {
30
30
  const props = __props;
31
31
  const emit = __emit;
32
- const activeOption = useVModel(
33
- props,
34
- "modelValue",
35
- emit
36
- );
32
+ const activeOption = useVModel(props, "modelValue", emit);
37
33
  const { optionValue } = useOptionMethods();
38
34
  function onSetActiveTab(tab) {
39
35
  activeOption.value = optionValue(tab, props.config);
@@ -31,7 +31,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
31
31
  emits: ["update:modelValue", "change"],
32
32
  setup(__props, { emit: __emit }) {
33
33
  useCssVars((_ctx) => ({
34
- "v45dce9af": slideDuration
34
+ "f90f18b8": slideDuration
35
35
  }));
36
36
  const MAPPED_OPTION_KEYS = {
37
37
  value: "value",
@@ -213,9 +213,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
213
213
  unref(slots)["option"] ? {
214
214
  name: "option",
215
215
  fn: withCtx(({ option }) => [
216
- renderSlot(_ctx.$slots, "option", {
217
- option
218
- })
216
+ renderSlot(_ctx.$slots, "option", { option })
219
217
  ]),
220
218
  key: "1"
221
219
  } : void 0
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, watch, openBlock, createBlock, unref, mergeProps, isRef, createSlots, withCtx, renderSlot, createElementBlock, Fragment, createVNode, createTextVNode, toDisplayString, createCommentVNode, renderList, createElementVNode, normalizeStyle, normalizeClass } from "vue";
2
2
  import { ElSelect } from "element-plus";
3
- import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcForm/VcFormItem.css';import '../../assets/components/VcCheckbox/VcCheckbox.css';import '../../assets/components/VcSelect/VcSelectOption.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/dropdown-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.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/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
3
+ import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcForm/VcFormItem.css';import '../../assets/components/VcCheckbox/VcCheckbox.css';import '../../assets/components/VcSelect/VcSelectOption.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.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/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
4
4
  import '../../assets/components/VcSelect/VcSelect.css';/* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
@@ -121,40 +121,41 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
121
121
  const popperClass = computed(() => {
122
122
  return props.color ? ["vc-select__dropdown", `color--${props.color}`].join(" ") : "vc-select__dropdown";
123
123
  });
124
+ function isModelShape(value) {
125
+ return value === void 0 || Array.isArray(value) === isMultiple.value;
126
+ }
127
+ function isChangeShape(value) {
128
+ return value === void 0 || Array.isArray(value) === isMultiple.value;
129
+ }
130
+ function isKindOfOptionValue(value, optionValueSample) {
131
+ return typeof value === typeof optionValueSample;
132
+ }
124
133
  function onCheckAllToggle() {
125
- if (isCheckedAll.value) {
126
- selectModel.value = [];
127
- } else {
128
- const selected = selectOptions.value.reduce(
129
- (acc, item) => {
130
- if (!item.disabled) {
131
- acc.push(item.value);
132
- }
133
- return acc;
134
- },
135
- []
136
- );
134
+ const selected = isCheckedAll.value ? [] : enabledSelectOptions.value.map((item) => item.value);
135
+ if (isModelShape(selected)) {
137
136
  selectModel.value = selected;
138
137
  }
139
138
  }
140
139
  function getSelectedOption(model) {
141
140
  var _a;
142
- if (isMultiple.value) {
143
- return selectOptions.value.reduce(
144
- (acc, item) => {
145
- if (Array.isArray(model) && model.includes(item.value)) {
146
- acc.push(item.originalItem);
147
- }
148
- return acc;
149
- },
150
- []
151
- );
152
- }
153
- return (_a = selectOptions.value.find((item) => model === item.value)) == null ? void 0 : _a.originalItem;
141
+ const selected = isMultiple.value ? selectOptions.value.reduce(
142
+ (acc, item) => {
143
+ if (Array.isArray(model) && model.includes(item.value)) {
144
+ acc.push(item.originalItem);
145
+ }
146
+ return acc;
147
+ },
148
+ []
149
+ ) : (_a = selectOptions.value.find((item) => model === item.value)) == null ? void 0 : _a.originalItem;
150
+ return isChangeShape(selected) ? selected : void 0;
154
151
  }
155
152
  function onModelChange(modelData) {
156
- const _data = modelData ? getSelectedOption(modelData) : void 0;
157
- emit("change", _data);
153
+ emit("change", modelData ? getSelectedOption(modelData) : void 0);
154
+ }
155
+ function setCoercedModel(value, optionValueSample) {
156
+ if (isKindOfOptionValue(value, optionValueSample) && isModelShape(value)) {
157
+ selectModel.value = value;
158
+ }
158
159
  }
159
160
  function onVisibleChange(status) {
160
161
  emit("update:visible", status);
@@ -195,18 +196,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
195
196
  if (!Array.isArray(props.modelValue) && firstOptionValeType !== typeof props.modelValue) {
196
197
  if (firstOptionValeType === "number") {
197
198
  const modelValueToNumber = Number(props.modelValue);
198
- let newValue = void 0;
199
199
  if (props.modelValue !== "" && !isNaN(modelValueToNumber)) {
200
- newValue = modelValueToNumber;
200
+ setCoercedModel(modelValueToNumber, firstOptionValue);
201
+ } else {
202
+ selectModel.value = void 0;
201
203
  }
202
- selectModel.value = newValue;
203
204
  } else if (firstOptionValeType === "string") {
204
- selectModel.value = String(props.modelValue);
205
+ setCoercedModel(String(props.modelValue), firstOptionValue);
205
206
  }
206
207
  }
207
208
  }
208
- const _res = getSelectedOption(props.modelValue);
209
- emit("initial-value", _res);
209
+ emit("initial-value", getSelectedOption(props.modelValue));
210
210
  }
211
211
  },
212
212
  {
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./Card.vue2.mjs";
2
2
  import '../../../assets/components/VcSkeletonLoader/Loaders/Card.css';/* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const Card = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-16ee0368"]]);
4
+ const Card = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b42b9dc0"]]);
5
5
  export {
6
6
  Card as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./Circle.vue2.mjs";
2
2
  import '../../../assets/components/VcSkeletonLoader/Loaders/Circle.css';/* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const Circle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0ad3df7c"]]);
4
+ const Circle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d07adbb8"]]);
5
5
  export {
6
6
  Circle as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./Row.vue2.mjs";
2
2
  import '../../../assets/components/VcSkeletonLoader/Loaders/Row.css';/* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const Row = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-147d5fbb"]]);
4
+ const Row = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-df8419d5"]]);
5
5
  export {
6
6
  Row as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./Square.vue2.mjs";
2
2
  import '../../../assets/components/VcSkeletonLoader/Loaders/Square.css';/* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const Square = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-daeb74ee"]]);
4
+ const Square = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-04b65ecc"]]);
5
5
  export {
6
6
  Square as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./Text.vue2.mjs";
2
2
  import '../../../assets/components/VcSkeletonLoader/Loaders/Text.css';/* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2723084e"]]);
4
+ const Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-64651d77"]]);
5
5
  export {
6
6
  Text as default
7
7
  };
@@ -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/dropdown-item.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/tooltip.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,11 +97,12 @@ 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;
100
101
  duration.value = dur;
101
102
  emit("update:duration", dur);
102
103
  loading.value = false;
103
104
  if (!props.preloadSound) {
104
- wavesurfer.value.play(startTime || initialStartTime.value);
105
+ (_a = wavesurfer.value) == null ? void 0 : _a.play(startTime || initialStartTime.value);
105
106
  }
106
107
  });
107
108
  wavesurfer.value.on("play", () => onPlay());
@@ -35,12 +35,7 @@ function toMinutes(seconds) {
35
35
  }
36
36
  const minutes = Math.floor(seconds / 60);
37
37
  const remainingSecondsInt = Math.floor(seconds - minutes * 60);
38
- let remainingSeconds = "";
39
- if (remainingSecondsInt < 10) {
40
- remainingSeconds = `0${remainingSecondsInt}`;
41
- } else {
42
- remainingSeconds = `${remainingSecondsInt}`;
43
- }
38
+ const remainingSeconds = `${remainingSecondsInt}`.padStart(2, "0");
44
39
  return `${minutes}:${remainingSeconds}`;
45
40
  }
46
41
  export {
@@ -1,6 +1,6 @@
1
1
  function _genPath(points, radius, fill = false, height = 75) {
2
- if (points.length === 0) return "";
3
2
  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,21 +418,25 @@ 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
- let result = null;
421
+ return compareSortValues(v1, v2) * SORT_TYPE[sortOrder.value];
422
+ }
423
+ function compareSortValues(v1, v2) {
422
424
  if (v1 == null && v2 != null) {
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;
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;
434
438
  }
435
- return result * SORT_TYPE[sortOrder.value];
439
+ return 0;
436
440
  }
437
441
  function onPerPageOptionClick(option) {
438
442
  emit("click-per-page-option", option);
@@ -135,6 +135,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
135
135
  }
136
136
  function onPrevClick() {
137
137
  const content = navScrollContainer.value;
138
+ if (!content) return;
138
139
  const width = DomHandler.getWidth(content);
139
140
  const pos = content.scrollLeft - width;
140
141
  const offset = pos <= 0 ? 0 : pos;
@@ -142,6 +143,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
142
143
  }
143
144
  function onNextClick() {
144
145
  const content = navScrollContainer.value;
146
+ if (!content) return;
145
147
  const width = DomHandler.getWidth(content);
146
148
  const pos = content.scrollLeft + width;
147
149
  const lastPos = content.scrollWidth - width;
@@ -22,17 +22,28 @@ 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
+ });
25
32
  const model = computed({
26
33
  get() {
27
34
  return props.modelValue;
28
35
  },
29
- set(value) {
30
- emit("update:modelValue", value);
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);
31
45
  }
32
46
  });
33
- const optionsMapped = computed(() => {
34
- return optionListMap(props.options, props.config);
35
- });
36
47
  function onChange(data) {
37
48
  if (!data.length) {
38
49
  emit("change", []);
@@ -138,20 +138,26 @@ 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
+ }
141
147
  function getCheckedNodesFn(leafOnly = false) {
142
- return treeRef.value.getCheckedNodes(leafOnly, false);
148
+ return mountedTree().getCheckedNodes(leafOnly, false);
143
149
  }
144
150
  function getCheckedKeysFn(leafOnly = false) {
145
- return treeRef.value.getCheckedKeys(leafOnly);
151
+ return mountedTree().getCheckedKeys(leafOnly);
146
152
  }
147
153
  function setCheckedNodesFn(nodes) {
148
- treeRef.value.setCheckedNodes(nodes, false);
154
+ mountedTree().setCheckedNodes(nodes, false);
149
155
  }
150
156
  function setCheckedKeys(keys) {
151
- treeRef.value.setCheckedKeys(keys, false);
157
+ mountedTree().setCheckedKeys(keys, false);
152
158
  }
153
159
  function resetChecked() {
154
- treeRef.value.setCheckedKeys([], false);
160
+ mountedTree().setCheckedKeys([], false);
155
161
  }
156
162
  function getParentSelectedNodes(options = [], data = []) {
157
163
  const _allChecked = getCheckedKeysFn();
@@ -207,7 +213,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
207
213
  watch(
208
214
  filterValue,
209
215
  (val) => {
210
- treeRef.value.filter(val);
216
+ var _a;
217
+ (_a = treeRef.value) == null ? void 0 : _a.filter(val);
211
218
  }
212
219
  );
213
220
  watch(
@@ -21,16 +21,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21
21
  options: { default: () => [] },
22
22
  config: { default: void 0 }
23
23
  },
24
- emits: ["change", "update:modelValue"],
24
+ emits: ["update:modelValue", "change"],
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(
30
- props,
31
- "modelValue",
32
- emit
33
- );
29
+ const activeElement = useVModel(props, "modelValue", emit);
34
30
  const contentWrapperRef = ref();
35
31
  const slotName = computed(() => {
36
32
  const allValues = props.options.reduce(
@@ -40,8 +36,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
36
  },
41
37
  []
42
38
  );
43
- const validationIsStringAndNotEmpty = typeof activeElement.value === "string" && activeElement.value;
44
- return validationIsStringAndNotEmpty && allValues.includes(activeElement.value) ? activeElement.value : "";
39
+ const active = activeElement.value;
40
+ return typeof active === "string" && active && allValues.includes(active) ? active : "";
45
41
  });
46
42
  function change(val) {
47
43
  emit("change", val);
@@ -12,20 +12,16 @@ 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 },
15
16
  config: { default: void 0 },
16
- options: { default: () => [] },
17
- modelValue: { default: void 0 }
17
+ options: { default: () => [] }
18
18
  },
19
- emits: ["change", "update:modelValue"],
19
+ emits: ["update:modelValue", "change"],
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(
25
- props,
26
- "modelValue",
27
- emit
28
- );
24
+ const activeElement = useVModel(props, "modelValue", emit);
29
25
  const optionsMapped = computed(() => {
30
26
  return optionListMap(props.options, props.config);
31
27
  });
@@ -36,7 +32,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
32
  const value = option.value;
37
33
  activeElement.value = value;
38
34
  emit("change", option.originalItem);
39
- emit("update:modelValue", value);
40
35
  }
41
36
  return (_ctx, _cache) => {
42
37
  return openBlock(), createElementBlock("div", _hoisted_1, [
@@ -101,9 +101,7 @@ function useFileUploader(props, emit) {
101
101
  }
102
102
  }
103
103
  async function getFileArray(inputFiles) {
104
- let files = [];
105
- files = processFilesLength(inputFiles);
106
- files = processFileSize(files);
104
+ const files = processFileSize(processFilesLength(inputFiles));
107
105
  if (props.fileType === "base64") {
108
106
  return await getFilesInBase64(files);
109
107
  }