@voicenter-team/voicenter-ui-plus 4.2.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 (428) hide show
  1. package/MIGRATION_v3.md +196 -196
  2. package/README.md +1058 -1059
  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/reactions/VcMessageReactionBar.vue.mjs +1 -1
  49. package/library/components/VcNotification/VcNotification.vue.mjs +2 -2
  50. package/library/components/VcOtpInput/VcOtpInput.vue.mjs +1 -1
  51. package/library/components/VcPdfViewer/VcPdfViewer.vue.mjs +1 -2
  52. package/library/components/VcPdfViewer/pdfjslib.mjs +1 -0
  53. package/library/components/VcPopover/VcConfirmPopover.vue.mjs +6 -3
  54. package/library/components/VcPopover/VcSelectPopover.vue.mjs +2 -2
  55. package/library/components/VcRadio/VcRadio.vue.mjs +1 -1
  56. package/library/components/VcRadioGroup/VcRadioGroup.vue.mjs +2 -6
  57. package/library/components/VcRadioTabs/VcRadioTabs.vue.mjs +6 -2
  58. package/library/components/VcSegmented/VcSegmented.vue.mjs +1 -1
  59. package/library/components/VcSelect/VcInfiniteScrollSelect.vue.mjs +3 -1
  60. package/library/components/VcSelect/VcSelect.vue.mjs +33 -33
  61. package/library/components/VcSkeletonLoader/Loaders/Card.vue.mjs +1 -1
  62. package/library/components/VcSkeletonLoader/Loaders/Circle.vue.mjs +1 -1
  63. package/library/components/VcSkeletonLoader/Loaders/Row.vue.mjs +1 -1
  64. package/library/components/VcSkeletonLoader/Loaders/Square.vue.mjs +1 -1
  65. package/library/components/VcSkeletonLoader/Loaders/Text.vue.mjs +1 -1
  66. package/library/components/VcSkeletonLoader/VcSkeletonItem.vue.mjs +7 -0
  67. package/library/components/VcSkeletonLoader/VcSkeletonItem.vue2.mjs +39 -0
  68. package/library/components/VcSkeletonLoader/VcSkeletonLoader.vue.mjs +19 -6
  69. package/library/components/VcSlider/VcSlider.vue.mjs +1 -1
  70. package/library/components/VcSoundplayer/VcSoundPlayerWrapper.vue.mjs +1 -2
  71. package/library/components/VcSoundplayer/player.options.mjs +6 -1
  72. package/library/components/VcSparkline/helper.mjs +1 -1
  73. package/library/components/VcTable/VcTable.vue.mjs +13 -17
  74. package/library/components/VcTabs/VcTabNav.vue.mjs +0 -2
  75. package/library/components/VcTransfer/VcTransfer.vue.mjs +5 -16
  76. package/library/components/VcTree/VcTree.vue.mjs +6 -13
  77. package/library/components/VcVerticalTabs/VcVerticalTabs.vue.mjs +8 -4
  78. package/library/components/VcVerticalTabs/VerticalTabNav.vue.mjs +9 -4
  79. package/library/composables/input/useFileUploader.mjs +3 -1
  80. package/library/composables/useRTL.mjs +8 -3
  81. package/library/entity/components/Table/VcEntityListTable.vue.mjs +3 -0
  82. package/library/entity/components/Tabs/VcEntityEditableTabs.vue.mjs +22 -14
  83. package/library/index.mjs +2 -0
  84. package/library/index.mjs.br +0 -0
  85. package/library/index.mjs.gz +0 -0
  86. package/library/localization/index.mjs +1 -1
  87. package/library/localization/index.mjs.br +0 -0
  88. package/library/localization/index.mjs.gz +0 -0
  89. package/library/plugin-components.gen.mjs +2 -0
  90. package/library/plugin.mjs +2 -0
  91. package/library/plugin.mjs.br +0 -0
  92. package/library/plugin.mjs.gz +0 -0
  93. package/library/style.css +18 -16
  94. package/library/style.css.br +0 -0
  95. package/library/style.css.gz +0 -0
  96. package/library/theme/index.mjs.gz +0 -0
  97. package/library/types/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue.d.ts +39 -9
  98. package/library/types/components/VcAgentRun/UiComponents/VcAgentRunRow.vue.d.ts +17 -8
  99. package/library/types/components/VcAgentRun/VcAgentRunCard.vue.d.ts +81 -42
  100. package/library/types/components/VcAgentRun/VcAgentRunGroup.vue.d.ts +43 -27
  101. package/library/types/components/VcAgentRun/agentRunStatus.d.ts +2 -2
  102. package/library/types/components/VcAiReasoning/VcAiReasoning.vue.d.ts +67 -18
  103. package/library/types/components/VcApprovalCard/VcApprovalCard.vue.d.ts +79 -40
  104. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue.d.ts +36 -10
  105. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue.d.ts +35 -9
  106. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue.d.ts +45 -14
  107. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue.d.ts +35 -9
  108. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue.d.ts +35 -9
  109. package/library/types/components/VcAskUserCard/UiComponents/VcAskUserText.vue.d.ts +35 -9
  110. package/library/types/components/VcAskUserCard/UiComponents/askUserControl.d.ts +1 -1
  111. package/library/types/components/VcAskUserCard/VcAskUserCard.vue.d.ts +63 -18
  112. package/library/types/components/VcAskUserCard/askUserAnswers.d.ts +1 -1
  113. package/library/types/components/VcAutocomplete/VcAutocomplete.vue.d.ts +171 -64
  114. package/library/types/components/VcAvatar/VcAvatar.vue.d.ts +39 -5
  115. package/library/types/components/VcBadgeTag/VcBadgeTag.vue.d.ts +33 -12
  116. package/library/types/components/VcButton/VcButton.vue.d.ts +50 -19
  117. package/library/types/components/VcButton/VcButtonIcon.vue.d.ts +63 -16
  118. package/library/types/components/VcButton/VcToggleButton.vue.d.ts +63 -23
  119. package/library/types/components/VcCard/VcCard.vue.d.ts +42 -14
  120. package/library/types/components/VcChatComposer/VcChatComposer.vue.d.ts +97 -32
  121. package/library/types/components/VcChatComposer/richText.d.ts +2 -2
  122. package/library/types/components/VcChatComposer/tiptap.d.ts +38 -38
  123. package/library/types/components/VcCheckbox/VcCheckbox.vue.d.ts +95 -46
  124. package/library/types/components/VcCheckbox/VcCheckboxButton.vue.d.ts +77 -41
  125. package/library/types/components/VcCheckbox/VcCheckboxButtonGroup.vue.d.ts +76 -40
  126. package/library/types/components/VcCheckbox/VcCheckboxGroupEl.vue.d.ts +4 -10
  127. package/library/types/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +82 -44
  128. package/library/types/components/VcCodeBlock/VcCodeBlock.vue.d.ts +39 -5
  129. package/library/types/components/VcCodeBlock/highlight.d.ts +2 -1
  130. package/library/types/components/VcCollapse/VcCollapse.vue.d.ts +38 -17
  131. package/library/types/components/VcCollapse/VcCollapseItem.vue.d.ts +63 -26
  132. package/library/types/components/VcCollapse/VcCollapseTransition.vue.d.ts +6 -12
  133. package/library/types/components/VcColorPicker/VcColorPicker.vue.d.ts +43 -7
  134. package/library/types/components/VcDatePicker/VcDatePicker.vue.d.ts +103 -63
  135. package/library/types/components/VcDatePickerPanel/VcDatePickerPanel.vue.d.ts +132 -69
  136. package/library/types/components/VcDelimitedList/VcDelimitedList.vue.d.ts +78 -39
  137. package/library/types/components/VcDropdown/VcDropdown.vue.d.ts +81 -22
  138. package/library/types/components/VcDropdown/VcDropdownItem.vue.d.ts +12 -9
  139. package/library/types/components/VcEmojiPicker/VcEmojiPicker.vue.d.ts +45 -20
  140. package/library/types/components/VcExcelUploader/VcExcelFileProcessLoader.vue.d.ts +36 -4
  141. package/library/types/components/VcExcelUploader/VcExcelFileUploadBlock.vue.d.ts +39 -16
  142. package/library/types/components/VcExcelUploader/VcExcelFileUploader.vue.d.ts +74 -40
  143. package/library/types/components/VcExcelUploader/VcFileImportErrorsCard.vue.d.ts +29 -7
  144. package/library/types/components/VcExcelUploader/VcFileImportParseResultBlock.vue.d.ts +44 -20
  145. package/library/types/components/VcExcelUploader/VcFileImportResultBindData.vue.d.ts +37 -9
  146. package/library/types/components/VcExcelUploader/VcFileImportResultBindDataTable.vue.d.ts +31 -7
  147. package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.d.ts +44 -8
  148. package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.d.ts +45 -5
  149. package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +80 -10
  150. package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.vue.d.ts +39 -7
  151. package/library/types/components/VcFileUploader/VcFileItem.vue.d.ts +39 -9
  152. package/library/types/components/VcFileUploader/VcFileUploader.vue.d.ts +83 -24
  153. package/library/types/components/VcFileUploader/VcFileUploaderArea.vue.d.ts +90 -30
  154. package/library/types/components/VcFileUploader/VcFileUploaderSimple.vue.d.ts +96 -37
  155. package/library/types/components/VcFileUploader/VcSimpleUploaderAction.vue.d.ts +35 -18
  156. package/library/types/components/VcFileUploader/VcSimpleUploaderFileList.vue.d.ts +33 -27
  157. package/library/types/components/VcFilterBar/VcFilterAddMenu.vue.d.ts +31 -14
  158. package/library/types/components/VcFilterBar/VcFilterBar.vue.d.ts +103 -61
  159. package/library/types/components/VcFilterBar/VcFilterChip.vue.d.ts +32 -23
  160. package/library/types/components/VcFilterBar/VcFilterChipEditor.vue.d.ts +38 -20
  161. package/library/types/components/VcFilterBar/VcFilterEditorModal.vue.d.ts +29 -16
  162. package/library/types/components/VcFilterBar/VcFilterEditorPanel.vue.d.ts +93 -29
  163. package/library/types/components/VcFilterBar/editors/VcFilterBooleanEditor.vue.d.ts +55 -16
  164. package/library/types/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue.d.ts +60 -17
  165. package/library/types/components/VcFilterBar/editors/VcFilterRangeEditor.vue.d.ts +53 -16
  166. package/library/types/components/VcFilterBar/editors/VcFilterSelectEditor.vue.d.ts +53 -16
  167. package/library/types/components/VcFilterBar/editors/VcFilterTextEditor.vue.d.ts +56 -17
  168. package/library/types/components/VcFilterBar/editors/VcFilterTextListEditor.vue.d.ts +54 -17
  169. package/library/types/components/VcFilterBar/filterBarChip.d.ts +1 -1
  170. package/library/types/components/VcFilterBar/filterBarDate.d.ts +1 -1
  171. package/library/types/components/VcFilterBar/filterBarDraft.d.ts +11 -11
  172. package/library/types/components/VcFilterBar/filterBarEditors.d.ts +2 -2
  173. package/library/types/components/VcFilterBar/filterBarErrors.d.ts +1 -1
  174. package/library/types/components/VcFilterBar/filterBarModel.d.ts +1 -1
  175. package/library/types/components/VcFilterBar/filterBarOptions.d.ts +2 -2
  176. package/library/types/components/VcFilterBar/filterBarSearch.d.ts +1 -1
  177. package/library/types/components/VcFilterBar/filterBarValidate.d.ts +1 -1
  178. package/library/types/components/VcForm/UiComponents/VcInputError.vue.d.ts +27 -6
  179. package/library/types/components/VcForm/UiComponents/VcInputLabel.vue.d.ts +36 -14
  180. package/library/types/components/VcForm/VcForm.vue.d.ts +46 -15
  181. package/library/types/components/VcForm/VcFormItem.vue.d.ts +42 -23
  182. package/library/types/components/VcHtmlEditor/VcHtmlEditor.vue.d.ts +42 -8
  183. package/library/types/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.d.ts +34 -20
  184. package/library/types/components/VcHtmlEditor/codemirror.d.ts +2 -2
  185. package/library/types/components/VcHtmlEditor/htmlEditor.config.d.ts +2 -2
  186. package/library/types/components/VcHyperLink/VcHyperLink.vue.d.ts +39 -14
  187. package/library/types/components/VcIcon/VcIcon.vue.d.ts +31 -5
  188. package/library/types/components/VcIconPicker/VcIconPicker.vue.d.ts +60 -26
  189. package/library/types/components/VcImageUploader/VcImageUploader.vue.d.ts +50 -27
  190. package/library/types/components/VcImageUploader/cropper.d.ts +24 -24
  191. package/library/types/components/VcInput/VcInput.vue.d.ts +72 -14
  192. package/library/types/components/VcInputNumber/VcInputNumber.vue.d.ts +57 -7
  193. package/library/types/components/VcJsonSchema/Components/ImportJsonSchemaModal.vue.d.ts +19 -10
  194. package/library/types/components/VcJsonSchema/Components/JsonCodeMirror.vue.d.ts +18 -9
  195. package/library/types/components/VcJsonSchema/Components/JsonSchemaEditor.vue.d.ts +68 -25
  196. package/library/types/components/VcJsonSchema/Components/JsonSchemaManageModal.vue.d.ts +21 -11
  197. package/library/types/components/VcJsonSchema/Components/codemirror.d.ts +2 -2
  198. package/library/types/components/VcJsonSchema/PropertySetup/JsonSchemaPropertyModal.vue.d.ts +24 -12
  199. package/library/types/components/VcJsonSchema/VcJsonSchema.vue.d.ts +47 -30
  200. package/library/types/components/VcJsonSchema/helpers/jsonSchema.enum.d.ts +1 -1
  201. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue.d.ts +37 -9
  202. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue.d.ts +15 -5
  203. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue.d.ts +29 -7
  204. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue.d.ts +28 -6
  205. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue.d.ts +19 -7
  206. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue.d.ts +30 -7
  207. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue.d.ts +34 -8
  208. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue.d.ts +38 -17
  209. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue.d.ts +15 -5
  210. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue.d.ts +15 -5
  211. package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue.d.ts +33 -8
  212. package/library/types/components/VcJsonViewer/VcJsonViewer.vue.d.ts +75 -12
  213. package/library/types/components/VcJsonViewer/jsonViewerText.d.ts +2 -2
  214. package/library/types/components/VcJsonViewer/jsonViewerUtils.d.ts +1 -1
  215. package/library/types/components/VcJsonViewer/useJsonViewerContext.d.ts +1 -1
  216. package/library/types/components/VcLightbox/VcLightbox.vue.d.ts +62 -30
  217. package/library/types/components/VcLoading/Loaders/Circles.vue.d.ts +26 -4
  218. package/library/types/components/VcLoading/Loaders/DotSpinner.vue.d.ts +26 -4
  219. package/library/types/components/VcLoading/Loaders/LdsSpinner.vue.d.ts +26 -4
  220. package/library/types/components/VcLoading/Loaders/LoadIcon.vue.d.ts +29 -5
  221. package/library/types/components/VcLoading/Loaders/Stretch.vue.d.ts +26 -4
  222. package/library/types/components/VcLoading/Loaders/index.d.ts +5 -5
  223. package/library/types/components/VcLoading/Loaders/types.d.ts +1 -1
  224. package/library/types/components/VcLoading/VcLoading.vue.d.ts +38 -13
  225. package/library/types/components/VcLoading/enum.d.ts +129 -13
  226. package/library/types/components/VcMdEditor/ParameterNode.vue.d.ts +4 -5
  227. package/library/types/components/VcMdEditor/VcMdEditor.vue.d.ts +215 -33
  228. package/library/types/components/VcMdEditor/VcMdEditorContent.vue.d.ts +44 -10
  229. package/library/types/components/VcMdEditor/VcMdEditorToolbar.vue.d.ts +23 -12
  230. package/library/types/components/VcMdEditor/ltrNumbersPlugin.d.ts +3 -3
  231. package/library/types/components/VcMdEditor/mdEditor.config.d.ts +10 -10
  232. package/library/types/components/VcMdEditor/milkdown.d.ts +1 -1
  233. package/library/types/components/VcMdEditor/readonlyMarkdown.d.ts +1 -1
  234. package/library/types/components/VcMdEditor/rtlCursorPlugin.d.ts +2 -2
  235. package/library/types/components/VcMessage/VcMessage.vue.d.ts +83 -27
  236. package/library/types/components/VcMessage/VcMessageMeta.vue.d.ts +20 -7
  237. package/library/types/components/VcMessage/content/VcMessageAudioBlock.vue.d.ts +19 -6
  238. package/library/types/components/VcMessage/content/VcMessageFileBlock.vue.d.ts +22 -9
  239. package/library/types/components/VcMessage/content/VcMessageImageBlock.vue.d.ts +22 -9
  240. package/library/types/components/VcMessage/content/VcMessageMarkdownBlock.vue.d.ts +19 -6
  241. package/library/types/components/VcMessage/content/VcMessageTextBlock.vue.d.ts +19 -6
  242. package/library/types/components/VcMessage/content/VcMessageVideoBlock.vue.d.ts +19 -6
  243. package/library/types/components/VcMessage/content/messageContentComponents.d.ts +2 -2
  244. package/library/types/components/VcMessage/reactions/VcMessageEmojiPicker.vue.d.ts +52 -28
  245. package/library/types/components/VcMessage/reactions/VcMessageReactionBar.vue.d.ts +22 -9
  246. package/library/types/components/VcMessagesWrapper/VcMessagesWrapper.vue.d.ts +208 -38
  247. package/library/types/components/VcMessagesWrapper/VcMessagesWrapperRow.vue.d.ts +86 -41
  248. package/library/types/components/VcMeterGroup/VcMeterGroup.vue.d.ts +112 -68
  249. package/library/types/components/VcMeterGroup/VcMeterGroupLabel.vue.d.ts +38 -15
  250. package/library/types/components/VcModal/VcConfirmModal.vue.d.ts +33 -7
  251. package/library/types/components/VcModal/VcModal.vue.d.ts +79 -26
  252. package/library/types/components/VcNotification/VcNotification.vue.d.ts +65 -5
  253. package/library/types/components/VcNotification/VcNotificationMessage.vue.d.ts +18 -9
  254. package/library/types/components/VcOtpInput/VcOtpInput.vue.d.ts +61 -11
  255. package/library/types/components/VcPagination/VcPagination.vue.d.ts +49 -16
  256. package/library/types/components/VcPagination/VcPaginationButton.vue.d.ts +45 -10
  257. package/library/types/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.vue.d.ts +41 -24
  258. package/library/types/components/VcPdfViewer/VcPdfDocument.vue.d.ts +41 -17
  259. package/library/types/components/VcPdfViewer/VcPdfDocumentCard.vue.d.ts +37 -18
  260. package/library/types/components/VcPdfViewer/VcPdfDocumentPage.vue.d.ts +38 -8
  261. package/library/types/components/VcPdfViewer/VcPdfDocumentViewerFooter.vue.d.ts +45 -15
  262. package/library/types/components/VcPdfViewer/VcPdfDocumentViewerToolbar.vue.d.ts +12 -18
  263. package/library/types/components/VcPdfViewer/VcPdfViewer.vue.d.ts +72 -37
  264. package/library/types/components/VcPdfViewer/pdfDocumentActions.d.ts +1 -1
  265. package/library/types/components/VcPdfViewer/pdfDocumentParams.d.ts +1 -1
  266. package/library/types/components/VcPdfViewer/pdfjslib.d.ts +1 -1
  267. package/library/types/components/VcPhoneInput/VcFlagLabel.vue.d.ts +23 -3
  268. package/library/types/components/VcPhoneInput/VcPhoneInput.vue.d.ts +79 -32
  269. package/library/types/components/VcPluginOverlays/VcPluginOverlays.vue.d.ts +26 -4
  270. package/library/types/components/VcPopover/VcConfirmPopover.vue.d.ts +37 -15
  271. package/library/types/components/VcPopover/VcPopover.vue.d.ts +61 -21
  272. package/library/types/components/VcPopover/VcSelectPopover.vue.d.ts +97 -33
  273. package/library/types/components/VcProgress/VcProgress.vue.d.ts +53 -18
  274. package/library/types/components/VcProgress/VcProgressCircular.vue.d.ts +56 -19
  275. package/library/types/components/VcProgress/progress.options.d.ts +4 -4
  276. package/library/types/components/VcRadio/VcRadio.vue.d.ts +55 -26
  277. package/library/types/components/VcRadioButtons/VcRadioButtonsGroup.vue.d.ts +73 -30
  278. package/library/types/components/VcRadioGroup/VcRadioGroup.vue.d.ts +76 -31
  279. package/library/types/components/VcRadioTabs/UiComponents/VcRadioTabsNav.vue.d.ts +62 -26
  280. package/library/types/components/VcRadioTabs/UiComponents/VcRadioTabsNavHint.vue.d.ts +26 -13
  281. package/library/types/components/VcRadioTabs/VcRadioTabs.vue.d.ts +81 -25
  282. package/library/types/components/VcSegmented/VcSegmented.vue.d.ts +92 -45
  283. package/library/types/components/VcSelect/VcInfiniteScrollSelect.vue.d.ts +154 -50
  284. package/library/types/components/VcSelect/VcSelect.vue.d.ts +254 -65
  285. package/library/types/components/VcSelect/VcSelectGrouped.vue.d.ts +175 -57
  286. package/library/types/components/VcSelect/VcSelectOption.vue.d.ts +45 -25
  287. package/library/types/components/VcSipFlow/VcSipFlow.vue.d.ts +53 -23
  288. package/library/types/components/VcSkeletonLoader/Loaders/Card.vue.d.ts +27 -6
  289. package/library/types/components/VcSkeletonLoader/Loaders/Circle.vue.d.ts +31 -7
  290. package/library/types/components/VcSkeletonLoader/Loaders/Row.vue.d.ts +31 -7
  291. package/library/types/components/VcSkeletonLoader/Loaders/Square.vue.d.ts +31 -7
  292. package/library/types/components/VcSkeletonLoader/Loaders/Text.vue.d.ts +14 -5
  293. package/library/types/components/VcSkeletonLoader/VcSkeletonItem.vue.d.ts +46 -0
  294. package/library/types/components/VcSkeletonLoader/VcSkeletonLoader.vue.d.ts +62 -3
  295. package/library/types/components/VcSlider/VcSlider.vue.d.ts +1 -2
  296. package/library/types/components/VcSoundplayer/VcPlayerPlayStopButton.vue.d.ts +68 -16
  297. package/library/types/components/VcSoundplayer/VcPlayerPlaybackRate.vue.d.ts +37 -8
  298. package/library/types/components/VcSoundplayer/VcPlayerPlaybackRatePopup.vue.d.ts +41 -9
  299. package/library/types/components/VcSoundplayer/VcPlayerSkipButtons.vue.d.ts +54 -20
  300. package/library/types/components/VcSoundplayer/VcSoundCurrentTime.vue.d.ts +1 -2
  301. package/library/types/components/VcSoundplayer/VcSoundDuration.vue.d.ts +1 -2
  302. package/library/types/components/VcSoundplayer/VcSoundPlayer.vue.d.ts +69 -35
  303. package/library/types/components/VcSoundplayer/VcSoundPlayerCompact.vue.d.ts +57 -20
  304. package/library/types/components/VcSoundplayer/VcSoundPlayerError.vue.d.ts +26 -9
  305. package/library/types/components/VcSoundplayer/VcSoundPlayerMarker.vue.d.ts +55 -24
  306. package/library/types/components/VcSoundplayer/VcSoundPlayerMarkers.vue.d.ts +38 -23
  307. package/library/types/components/VcSoundplayer/VcSoundPlayerProgress.vue.d.ts +17 -14
  308. package/library/types/components/VcSoundplayer/VcSoundPlayerWrapper.vue.d.ts +146 -26
  309. package/library/types/components/VcSoundplayer/VcSoundVolume.vue.d.ts +50 -11
  310. package/library/types/components/VcSoundplayer/player.options.d.ts +2 -2
  311. package/library/types/components/VcSoundplayer/soundPlayerParts.d.ts +12 -12
  312. package/library/types/components/VcSoundplayer/wavesurfer.d.ts +2 -2
  313. package/library/types/components/VcSparkline/VcBarLine.vue.d.ts +68 -17
  314. package/library/types/components/VcSparkline/VcSparkline.vue.d.ts +75 -15
  315. package/library/types/components/VcSparkline/VcTrendLine.vue.d.ts +68 -17
  316. package/library/types/components/VcSplitButton/VcSplitButton.vue.d.ts +75 -30
  317. package/library/types/components/VcSwitch/VcSwitch.vue.d.ts +138 -77
  318. package/library/types/components/VcSystemUserPrompt/VcSystemUserPrompt.vue.d.ts +36 -19
  319. package/library/types/components/VcSystemUserPrompt/enum.d.ts +1 -1
  320. package/library/types/components/VcTable/VcTable.vue.d.ts +360 -138
  321. package/library/types/components/VcTabs/VcTabNav.vue.d.ts +43 -20
  322. package/library/types/components/VcTabs/VcTabPane.vue.d.ts +52 -19
  323. package/library/types/components/VcTabs/VcTabs.vue.d.ts +165 -137
  324. package/library/types/components/VcTag/VcTag.vue.d.ts +49 -14
  325. package/library/types/components/VcTagInput/VcTagInput.vue.d.ts +86 -22
  326. package/library/types/components/VcTimeInput/VcTimeInput.vue.d.ts +57 -9
  327. package/library/types/components/VcToolCall/UiComponents/VcToolCallValue.vue.d.ts +49 -9
  328. package/library/types/components/VcToolCall/VcToolCall.vue.d.ts +73 -40
  329. package/library/types/components/VcTour/VcTour.vue.d.ts +54 -35
  330. package/library/types/components/VcTransfer/VcTransfer.vue.d.ts +52 -25
  331. package/library/types/components/VcTree/VcTree.vue.d.ts +143 -61
  332. package/library/types/components/VcTree/VcTreeSelect.vue.d.ts +958 -449
  333. package/library/types/components/VcTree/treeTypeUtils.d.ts +1 -1
  334. package/library/types/components/VcVerticalTabs/VcVerticalTabs.vue.d.ts +80 -34
  335. package/library/types/components/VcVerticalTabs/VerticalTabNav.vue.d.ts +73 -31
  336. package/library/types/components/VcWizard/VcSummaryProgress.vue.d.ts +33 -3
  337. package/library/types/components/VcWizard/VcSummaryStep.vue.d.ts +36 -6
  338. package/library/types/components/VcWizard/VcWizard.vue.d.ts +62 -33
  339. package/library/types/components/VcWizard/VcWizardNavigation.vue.d.ts +53 -20
  340. package/library/types/components/VcWizard/VcWizardSummary.vue.d.ts +34 -6
  341. package/library/types/components/exports.d.ts +129 -127
  342. package/library/types/components.gen.d.ts +1 -0
  343. package/library/types/composables/input/useFileUploader.d.ts +1 -1
  344. package/library/types/composables/input/useInputBase.d.ts +5 -5
  345. package/library/types/composables/input/useInputColor.d.ts +4 -4
  346. package/library/types/composables/option/useOptionMethods.d.ts +14 -14
  347. package/library/types/composables/useAudioRecorder.d.ts +6 -6
  348. package/library/types/composables/useCopyButton.d.ts +2 -2
  349. package/library/types/composables/useElapsed.d.ts +2 -2
  350. package/library/types/composables/useThrottledText.d.ts +1 -1
  351. package/library/types/directives/index.d.ts +1 -1
  352. package/library/types/entity/components/Button/VcEntityAddButton.vue.d.ts +33 -16
  353. package/library/types/entity/components/Button/VcEntityCancelButton.vue.d.ts +45 -21
  354. package/library/types/entity/components/Button/VcEntityDeleteIconButton.vue.d.ts +41 -21
  355. package/library/types/entity/components/Button/VcEntityEditIconButton.vue.d.ts +30 -18
  356. package/library/types/entity/components/Button/VcEntityRestoreButton.vue.d.ts +45 -21
  357. package/library/types/entity/components/Button/VcEntityStatusButton.vue.d.ts +40 -21
  358. package/library/types/entity/components/Form/VcBaseVerticalForm.vue.d.ts +37 -18
  359. package/library/types/entity/components/Form/VcEntityEditPageForm.vue.d.ts +54 -26
  360. package/library/types/entity/components/Form/VcEntityVerticalCreateForm.vue.d.ts +34 -16
  361. package/library/types/entity/components/Form/VcEntityVerticalEditForm.vue.d.ts +76 -31
  362. package/library/types/entity/components/Table/VcEntityListTable.vue.d.ts +135 -38
  363. package/library/types/entity/components/Tabs/VcEntityEditableTabs.vue.d.ts +151 -55
  364. package/library/types/entity/components/index.d.ts +12 -12
  365. package/library/types/entity/composable/useEntityProvideInject.d.ts +1 -1
  366. package/library/types/entity/services/BaseEntityService.d.ts +2 -2
  367. package/library/types/enum/fileTypes.d.ts +1 -1
  368. package/library/types/localization/Localization.types.d.ts +2 -2
  369. package/library/types/localization/index.d.ts +2 -2
  370. package/library/types/localization/locales/en.json.d.ts +415 -415
  371. package/library/types/plugin-components.gen.d.ts +1 -1
  372. package/library/types/plugin.d.ts +1 -1
  373. package/library/types/services/index.d.ts +7 -1
  374. package/library/types/theme/themes.json.d.ts +72 -72
  375. package/library/types/types/Entity.types.d.ts +1 -8
  376. package/library/types/types/Entry.types.d.ts +1 -1
  377. package/library/types/types/ExcelParser.types.d.ts +1 -1
  378. package/library/types/types/OptionAndConfig.types.d.ts +4 -8
  379. package/library/types/types/Overlay.types.d.ts +1 -1
  380. package/library/types/types/Tabs.d.ts +1 -1
  381. package/library/types/types/VcAgentRun.types.d.ts +3 -3
  382. package/library/types/types/VcAiReasoning.types.d.ts +1 -1
  383. package/library/types/types/VcApprovalCard.types.d.ts +1 -1
  384. package/library/types/types/VcChatComposer.types.d.ts +1 -1
  385. package/library/types/types/VcDatePicker.types.d.ts +1 -1
  386. package/library/types/types/VcDropdown.types.d.ts +2 -2
  387. package/library/types/types/VcEditableTabs.types.d.ts +1 -1
  388. package/library/types/types/VcEmojiPicker.types.d.ts +1 -1
  389. package/library/types/types/VcFileUploader.types.d.ts +1 -1
  390. package/library/types/types/VcFilterBar.types.d.ts +3 -3
  391. package/library/types/types/VcJsonViewer.types.d.ts +2 -2
  392. package/library/types/types/VcMdEditor.types.d.ts +1 -1
  393. package/library/types/types/VcMessage.types.d.ts +1 -1
  394. package/library/types/types/VcMessagesWrapper.types.d.ts +1 -1
  395. package/library/types/types/VcNotification.types.d.ts +2 -2
  396. package/library/types/types/VcSkeletonLoader.types.d.ts +1 -0
  397. package/library/types/types/VcSoundPlayer.types.d.ts +3 -3
  398. package/library/types/types/VcSoundPlayerInstance.types.d.ts +3 -3
  399. package/library/types/types/VcSplitButton.types.d.ts +4 -4
  400. package/library/types/types/VcToolCall.types.d.ts +2 -2
  401. package/library/types/types/VcTour.types.d.ts +2 -2
  402. package/library/types/types/VcTree.types.d.ts +2 -2
  403. package/library/types/types/icons.types.d.ts +1 -1
  404. package/library/types/utils/aiChat.d.ts +1 -1
  405. package/library/types/utils/elementPlusIcons.d.ts +2 -2
  406. package/library/types/utils/excelParser/configs.d.ts +1 -1
  407. package/library/types/utils/excelParser/helper.d.ts +3 -3
  408. package/library/types/utils/excelParser/parser.d.ts +1 -1
  409. package/library/types/utils/excelParser/validations.d.ts +1 -1
  410. package/library/types/utils/helpers.d.ts +1 -1
  411. package/library/types/utils/jsonSchema/helpers.d.ts +5 -2
  412. package/library/types/utils/jsonSchema/index.d.ts +1 -1
  413. package/library/types/utils/jsonSchema/jsonSchemaHelpers.d.ts +4 -4
  414. package/library/types/utils/lucideIcon.d.ts +1 -1
  415. package/library/types/utils/mountPluginOverlays.d.ts +1 -1
  416. package/library/utils/globalSingleton.mjs +5 -11
  417. package/library/utils/jsonSchema/index.mjs.gz +0 -0
  418. package/library/utils/jsonSchema/jsonSchemaHelpers.mjs +1 -0
  419. package/package.json +310 -310
  420. package/src/theme/index.ts +101 -101
  421. package/src/theme/tailwindScheme.js +78 -78
  422. package/src/theme/theme.types.ts +31 -31
  423. package/src/theme/themeMerge.ts +63 -63
  424. package/src/theme/themes.json +72 -72
  425. package/tailwind.config.d.ts +5 -5
  426. package/tailwind.config.js +178 -178
  427. package/library/types/components/VcWizard/VcWizardTransition.vue.d.ts +0 -58
  428. /package/library/assets/node_modules/element-plus/theme-chalk/src/{tooltip.css → date-picker.css} +0 -0
@@ -1,50 +1,147 @@
1
- import { ColumnType, Pagination, TIcon, VcLoadingType, EntityListDataType, TEntityListSlots } from '../../../types';
2
- declare const __VLS_export: <Data extends EntityListDataType>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
- props: import('vue').PublicProps & __VLS_PrettifyLocal<{
1
+ import type { ColumnType, Pagination, TIcon } from '../../../types';
2
+ import { EntityListDataType } from '../../../types';
3
+ declare const _default: <Data extends EntityListDataType>(__VLS_props: {
4
+ disabled?: boolean | undefined;
5
+ data?: Data[] | undefined;
6
+ loaderType?: "default" | "stretch" | "circles" | "load-icon" | "lds-spinner" | "dot-spinner" | undefined;
7
+ readonly "onHandle-selection-change"?: ((payload: Data[]) => any) | undefined;
8
+ columns: ColumnType<Data>;
9
+ showSelection?: boolean | undefined;
10
+ readonly onEdit?: ((payload: Data) => any) | undefined;
11
+ readonly onAdd?: (() => any) | undefined;
12
+ readonly "onUpdate:inputSearch"?: ((val: string) => any) | undefined;
13
+ searchKeys?: string[] | undefined;
14
+ showRecycleBinAction?: boolean | undefined;
15
+ showActionColumns?: boolean | undefined;
16
+ addEntityLabel?: string | undefined;
17
+ tableNoDataText?: string | undefined;
18
+ inputSearch?: string | undefined;
19
+ editIcon?: TIcon | undefined;
20
+ editIconAnimate?: boolean | undefined;
21
+ deleteIcon?: TIcon | undefined;
22
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
23
+ attrs: any;
24
+ slots: Readonly<import('../../../types').IBaseSlots & {
25
+ [key: string]: ((slotData: {
26
+ row: Data;
27
+ index: number;
28
+ }) => void) | undefined;
29
+ }> & import('../../../types').IBaseSlots & {
30
+ [key: string]: ((slotData: {
31
+ row: Data;
32
+ index: number;
33
+ }) => void) | undefined;
34
+ };
35
+ emit: {
36
+ (e: 'handle-selection-change', payload: Data[]): void;
37
+ (e: 'edit', payload: Data): void;
38
+ (e: 'add'): void;
39
+ (e: 'update:inputSearch', val: string): void;
40
+ };
41
+ } | undefined, __VLS_expose?: ((exposed: {
42
+ deleteClickHandler: (entityData: Data, index: number) => void;
43
+ editClickHandler: (entityData: Data) => void;
44
+ onUpdatePagination: (paginationData: Pagination) => Promise<void>;
45
+ setSearchInputValue: (val: string) => string;
46
+ getSearchInputValue: () => string;
47
+ }) => void) | undefined, __VLS_setup?: Promise<{
48
+ props: {
49
+ disabled?: boolean | undefined;
50
+ data?: Data[] | undefined;
51
+ loaderType?: "default" | "stretch" | "circles" | "load-icon" | "lds-spinner" | "dot-spinner" | undefined;
52
+ readonly "onHandle-selection-change"?: ((payload: Data[]) => any) | undefined;
4
53
  columns: ColumnType<Data>;
5
- data?: Array<Data>;
6
- searchKeys?: Array<string>;
7
- showRecycleBinAction?: boolean;
8
- showActionColumns?: boolean;
9
- showSelection?: boolean;
10
- disabled?: boolean;
11
- addEntityLabel?: string;
12
- tableNoDataText?: string;
13
- inputSearch?: string;
14
- loaderType?: VcLoadingType;
15
- editIcon?: TIcon;
16
- editIconAnimate?: boolean;
17
- deleteIcon?: TIcon;
18
- } & {
19
- onAdd?: (() => any) | undefined;
20
- onEdit?: ((payload: Data) => any) | undefined;
21
- "onHandle-selection-change"?: ((payload: Data[]) => any) | undefined;
22
- "onUpdate:inputSearch"?: ((val: string) => any) | undefined;
23
- }> & (typeof globalThis extends {
24
- __VLS_PROPS_FALLBACK: infer P;
25
- } ? P : {});
26
- expose: (exposed: import('vue').ShallowUnwrapRef<{
54
+ showSelection?: boolean | undefined;
55
+ readonly onEdit?: ((payload: Data) => any) | undefined;
56
+ readonly onAdd?: (() => any) | undefined;
57
+ readonly "onUpdate:inputSearch"?: ((val: string) => any) | undefined;
58
+ searchKeys?: string[] | undefined;
59
+ showRecycleBinAction?: boolean | undefined;
60
+ showActionColumns?: boolean | undefined;
61
+ addEntityLabel?: string | undefined;
62
+ tableNoDataText?: string | undefined;
63
+ inputSearch?: string | undefined;
64
+ editIcon?: TIcon | undefined;
65
+ editIconAnimate?: boolean | undefined;
66
+ deleteIcon?: TIcon | undefined;
67
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
68
+ expose(exposed: {
27
69
  deleteClickHandler: (entityData: Data, index: number) => void;
28
70
  editClickHandler: (entityData: Data) => void;
29
71
  onUpdatePagination: (paginationData: Pagination) => Promise<void>;
30
72
  setSearchInputValue: (val: string) => string;
31
73
  getSearchInputValue: () => string;
32
- }>) => void;
74
+ }): void;
33
75
  attrs: any;
34
- slots: TEntityListSlots<Data>;
76
+ slots: Readonly<import('../../../types').IBaseSlots & {
77
+ [key: string]: ((slotData: {
78
+ row: Data;
79
+ index: number;
80
+ }) => void) | undefined;
81
+ }> & import('../../../types').IBaseSlots & {
82
+ [key: string]: ((slotData: {
83
+ row: Data;
84
+ index: number;
85
+ }) => void) | undefined;
86
+ };
35
87
  emit: {
36
- (e: "handle-selection-change", payload: Array<Data>): void;
37
- (e: "edit", payload: Data): void;
38
- (e: "add"): void;
39
- (e: "update:inputSearch", val: string): void;
88
+ (e: 'handle-selection-change', payload: Data[]): void;
89
+ (e: 'edit', payload: Data): void;
90
+ (e: 'add'): void;
91
+ (e: 'update:inputSearch', val: string): void;
40
92
  };
41
- }>) => import('vue').VNode & {
42
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
93
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
94
+ [key: string]: any;
95
+ }> & {
96
+ __ctx?: {
97
+ props: {
98
+ disabled?: boolean | undefined;
99
+ data?: Data[] | undefined;
100
+ loaderType?: "default" | "stretch" | "circles" | "load-icon" | "lds-spinner" | "dot-spinner" | undefined;
101
+ readonly "onHandle-selection-change"?: ((payload: Data[]) => any) | undefined;
102
+ columns: ColumnType<Data>;
103
+ showSelection?: boolean | undefined;
104
+ readonly onEdit?: ((payload: Data) => any) | undefined;
105
+ readonly onAdd?: (() => any) | undefined;
106
+ readonly "onUpdate:inputSearch"?: ((val: string) => any) | undefined;
107
+ searchKeys?: string[] | undefined;
108
+ showRecycleBinAction?: boolean | undefined;
109
+ showActionColumns?: boolean | undefined;
110
+ addEntityLabel?: string | undefined;
111
+ tableNoDataText?: string | undefined;
112
+ inputSearch?: string | undefined;
113
+ editIcon?: TIcon | undefined;
114
+ editIconAnimate?: boolean | undefined;
115
+ deleteIcon?: TIcon | undefined;
116
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
117
+ expose(exposed: {
118
+ deleteClickHandler: (entityData: Data, index: number) => void;
119
+ editClickHandler: (entityData: Data) => void;
120
+ onUpdatePagination: (paginationData: Pagination) => Promise<void>;
121
+ setSearchInputValue: (val: string) => string;
122
+ getSearchInputValue: () => string;
123
+ }): void;
124
+ attrs: any;
125
+ slots: Readonly<import('../../../types').IBaseSlots & {
126
+ [key: string]: ((slotData: {
127
+ row: Data;
128
+ index: number;
129
+ }) => void) | undefined;
130
+ }> & import('../../../types').IBaseSlots & {
131
+ [key: string]: ((slotData: {
132
+ row: Data;
133
+ index: number;
134
+ }) => void) | undefined;
135
+ };
136
+ emit: {
137
+ (e: 'handle-selection-change', payload: Data[]): void;
138
+ (e: 'edit', payload: Data): void;
139
+ (e: 'add'): void;
140
+ (e: 'update:inputSearch', val: string): void;
141
+ };
142
+ } | undefined;
43
143
  };
44
- declare const _default: typeof __VLS_export;
45
144
  export default _default;
46
- type __VLS_PrettifyLocal<T> = (T extends any ? {
145
+ type __VLS_Prettify<T> = {
47
146
  [K in keyof T]: T[K];
48
- } : {
49
- [K in keyof T as K]: T[K];
50
- }) & {};
147
+ } & {};
@@ -1,46 +1,85 @@
1
- import { VcEntityEditableTabSlotData, VcEntityFixedTabSlots, VcEntityFixedTabType, VcEntityWithTypedInfo } from '../../../types';
2
- import { TIcon } from '../../../types/icons.types';
1
+ import { ExtractServiceImplementsEntity, MethodType, VcEntityEditableTabSlotData, VcEntityFixedTabSlots, VcEntityFixedTabType } from '../../../types';
2
+ import type { TIcon } from '../../../types/icons.types';
3
3
  import { BaseEntityServiceImplements } from '../..';
4
- declare const __VLS_export: <Entity extends BaseEntityServiceImplements, FixedTabName extends string = never>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
- props: import('vue').PublicProps & __VLS_PrettifyLocal<{
6
- /**
7
- * @description The entity of the records. `info` is typed by its own answer: a call on a value of the generic
8
- * type alone is typed by the constraint of `Entity`, which knows a record only as `Record<string, unknown>`
9
- */
10
- entity: VcEntityWithTypedInfo<Entity>;
11
- hideCreateTab?: boolean;
12
- lazyLoad?: boolean;
13
- modelValue?: string;
14
- queryTabName?: string;
15
- confirmClose?: (tabData: (import('../../../types').UnwrapArray<import('../..').ExtractListData<ReturnType<Entity["list"]>>> | import('../..').ExtractInfoData<ReturnType<Entity["info"]>>) | undefined) => Promise<boolean>;
16
- tabListIcon?: TIcon;
17
- tabEditIcon?: TIcon;
18
- tabCreateIcon?: TIcon;
19
- /** @description Why the create tab is disabled (the entity's `canCreate()` is false): shown in a popover while the pointer is over it */
20
- createTabDisabledHint?: string;
21
- /**
22
- * @description Tabs that are always open and cannot be closed, shown in this order after the list tab and before
23
- * the record tabs. The content of a tab is the slot `tab-<name>`. A query naming a tab opens it unless it is
24
- * disabled, and an open tab that becomes disabled gives way to the list tab. A name is never `list`, `create` or
25
- * a number: those name the list tab, the create tab and a record tab
26
- */
27
- fixedTabs?: Array<VcEntityFixedTabType<FixedTabName>>;
28
- } & {
29
- "onUpdate:modelValue"?: ((tab: string) => any) | undefined;
30
- "onTab-change"?: ((tabName: string) => any) | undefined;
31
- "onClose-tab"?: ((tabName: string) => any) | undefined;
32
- "onPermission-error"?: ((pl: {
4
+ declare const _default: <Entity extends BaseEntityServiceImplements, M extends MethodType, EntityData extends ExtractServiceImplementsEntity<Entity, M>, FixedTabName extends string = never>(__VLS_props: {
5
+ modelValue?: string | undefined;
6
+ entity: Entity;
7
+ readonly "onUpdate:modelValue"?: ((tab: string) => any) | undefined;
8
+ readonly "onTab-change"?: ((tabName: string) => any) | undefined;
9
+ readonly "onClose-tab"?: ((tabName: string) => any) | undefined;
10
+ readonly "onPermission-error"?: ((pl: {
11
+ tabName: string;
12
+ response: EntityData;
13
+ }) => any) | undefined;
14
+ entityMethodDataType?: M | undefined;
15
+ hideCreateTab?: boolean | undefined;
16
+ lazyLoad?: boolean | undefined;
17
+ queryTabName?: string | undefined;
18
+ confirmClose?: ((tabData: EntityData | undefined) => Promise<boolean>) | undefined;
19
+ tabListIcon?: TIcon | undefined;
20
+ tabEditIcon?: TIcon | undefined;
21
+ tabCreateIcon?: TIcon | undefined;
22
+ createTabDisabledHint?: string | undefined;
23
+ fixedTabs?: VcEntityFixedTabType<FixedTabName>[] | undefined;
24
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
25
+ attrs: any;
26
+ slots: Readonly<{
27
+ 'tab-list'?: (() => void) | undefined;
28
+ 'tab-create'?: (() => void) | undefined;
29
+ 'tab-edit'?: ((props: VcEntityEditableTabSlotData<Exclude<EntityData, undefined>>) => void) | undefined;
30
+ } & VcEntityFixedTabSlots<FixedTabName>> & {
31
+ 'tab-list'?: (() => void) | undefined;
32
+ 'tab-create'?: (() => void) | undefined;
33
+ 'tab-edit'?: ((props: VcEntityEditableTabSlotData<Exclude<EntityData, undefined>>) => void) | undefined;
34
+ } & VcEntityFixedTabSlots<FixedTabName>;
35
+ emit: {
36
+ (e: 'update:modelValue', tab: string): void;
37
+ (e: 'close-tab', tabName: string): void;
38
+ (e: 'tab-change', tabName: string): void;
39
+ (e: 'permission-error', pl: {
33
40
  tabName: string;
34
- response: import('../../../types').UnwrapArray<import('../..').ExtractListData<ReturnType<Entity["list"]>>> | import('../..').ExtractInfoData<ReturnType<Entity["info"]>>;
41
+ response: EntityData;
42
+ }): void;
43
+ };
44
+ } | undefined, __VLS_expose?: ((exposed: {
45
+ createTabName: (entity: EntityData) => string | undefined;
46
+ removeTab: (tabName: string) => void;
47
+ closeActiveTab: () => void;
48
+ openEditTab: (entityData: EntityData) => void;
49
+ openListTab: () => void;
50
+ openCreateTab: () => void;
51
+ setFirstActiveTab: () => void;
52
+ setLastActiveTab: () => void;
53
+ togglePreviousTab: () => void;
54
+ toggleNextTab: () => void;
55
+ getActiveTab: () => string;
56
+ }) => void) | undefined, __VLS_setup?: Promise<{
57
+ props: {
58
+ modelValue?: string | undefined;
59
+ entity: Entity;
60
+ readonly "onUpdate:modelValue"?: ((tab: string) => any) | undefined;
61
+ readonly "onTab-change"?: ((tabName: string) => any) | undefined;
62
+ readonly "onClose-tab"?: ((tabName: string) => any) | undefined;
63
+ readonly "onPermission-error"?: ((pl: {
64
+ tabName: string;
65
+ response: EntityData;
35
66
  }) => any) | undefined;
36
- }> & (typeof globalThis extends {
37
- __VLS_PROPS_FALLBACK: infer P;
38
- } ? P : {});
39
- expose: (exposed: import('vue').ShallowUnwrapRef<{
40
- createTabName: (entity: import('../../../types').UnwrapArray<import('../..').ExtractListData<ReturnType<Entity["list"]>>> | import('../..').ExtractInfoData<ReturnType<Entity["info"]>>) => string | undefined;
67
+ entityMethodDataType?: M | undefined;
68
+ hideCreateTab?: boolean | undefined;
69
+ lazyLoad?: boolean | undefined;
70
+ queryTabName?: string | undefined;
71
+ confirmClose?: ((tabData: EntityData | undefined) => Promise<boolean>) | undefined;
72
+ tabListIcon?: TIcon | undefined;
73
+ tabEditIcon?: TIcon | undefined;
74
+ tabCreateIcon?: TIcon | undefined;
75
+ createTabDisabledHint?: string | undefined;
76
+ fixedTabs?: VcEntityFixedTabType<FixedTabName>[] | undefined;
77
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
78
+ expose(exposed: {
79
+ createTabName: (entity: EntityData) => string | undefined;
41
80
  removeTab: (tabName: string) => void;
42
81
  closeActiveTab: () => void;
43
- openEditTab: (entityData: import('../../../types').UnwrapArray<import('../..').ExtractListData<ReturnType<Entity["list"]>>> | import('../..').ExtractInfoData<ReturnType<Entity["info"]>>) => void;
82
+ openEditTab: (entityData: EntityData) => void;
44
83
  openListTab: () => void;
45
84
  openCreateTab: () => void;
46
85
  setFirstActiveTab: () => void;
@@ -48,29 +87,86 @@ declare const __VLS_export: <Entity extends BaseEntityServiceImplements, FixedTa
48
87
  togglePreviousTab: () => void;
49
88
  toggleNextTab: () => void;
50
89
  getActiveTab: () => string;
51
- }>) => void;
90
+ }): void;
52
91
  attrs: any;
53
- slots: {
54
- 'tab-list'?: () => void;
55
- 'tab-create'?: () => void;
56
- 'tab-edit'?: (props: VcEntityEditableTabSlotData<Exclude<import('../../../types').UnwrapArray<import('../..').ExtractListData<ReturnType<Entity["list"]>>>, undefined> | Exclude<import('../..').ExtractInfoData<ReturnType<Entity["info"]>>, undefined>>) => void;
92
+ slots: Readonly<{
93
+ 'tab-list'?: (() => void) | undefined;
94
+ 'tab-create'?: (() => void) | undefined;
95
+ 'tab-edit'?: ((props: VcEntityEditableTabSlotData<Exclude<EntityData, undefined>>) => void) | undefined;
96
+ } & VcEntityFixedTabSlots<FixedTabName>> & {
97
+ 'tab-list'?: (() => void) | undefined;
98
+ 'tab-create'?: (() => void) | undefined;
99
+ 'tab-edit'?: ((props: VcEntityEditableTabSlotData<Exclude<EntityData, undefined>>) => void) | undefined;
57
100
  } & VcEntityFixedTabSlots<FixedTabName>;
58
101
  emit: {
59
- (e: "update:modelValue", tab: string): void;
60
- (e: "close-tab", tabName: string): void;
61
- (e: "tab-change", tabName: string): void;
62
- (e: "permission-error", pl: {
102
+ (e: 'update:modelValue', tab: string): void;
103
+ (e: 'close-tab', tabName: string): void;
104
+ (e: 'tab-change', tabName: string): void;
105
+ (e: 'permission-error', pl: {
63
106
  tabName: string;
64
- response: import('../../../types').UnwrapArray<import('../..').ExtractListData<ReturnType<Entity["list"]>>> | import('../..').ExtractInfoData<ReturnType<Entity["info"]>>;
107
+ response: EntityData;
65
108
  }): void;
66
109
  };
67
- }>) => import('vue').VNode & {
68
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
110
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
111
+ [key: string]: any;
112
+ }> & {
113
+ __ctx?: {
114
+ props: {
115
+ modelValue?: string | undefined;
116
+ entity: Entity;
117
+ readonly "onUpdate:modelValue"?: ((tab: string) => any) | undefined;
118
+ readonly "onTab-change"?: ((tabName: string) => any) | undefined;
119
+ readonly "onClose-tab"?: ((tabName: string) => any) | undefined;
120
+ readonly "onPermission-error"?: ((pl: {
121
+ tabName: string;
122
+ response: EntityData;
123
+ }) => any) | undefined;
124
+ entityMethodDataType?: M | undefined;
125
+ hideCreateTab?: boolean | undefined;
126
+ lazyLoad?: boolean | undefined;
127
+ queryTabName?: string | undefined;
128
+ confirmClose?: ((tabData: EntityData | undefined) => Promise<boolean>) | undefined;
129
+ tabListIcon?: TIcon | undefined;
130
+ tabEditIcon?: TIcon | undefined;
131
+ tabCreateIcon?: TIcon | undefined;
132
+ createTabDisabledHint?: string | undefined;
133
+ fixedTabs?: VcEntityFixedTabType<FixedTabName>[] | undefined;
134
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
135
+ expose(exposed: {
136
+ createTabName: (entity: EntityData) => string | undefined;
137
+ removeTab: (tabName: string) => void;
138
+ closeActiveTab: () => void;
139
+ openEditTab: (entityData: EntityData) => void;
140
+ openListTab: () => void;
141
+ openCreateTab: () => void;
142
+ setFirstActiveTab: () => void;
143
+ setLastActiveTab: () => void;
144
+ togglePreviousTab: () => void;
145
+ toggleNextTab: () => void;
146
+ getActiveTab: () => string;
147
+ }): void;
148
+ attrs: any;
149
+ slots: Readonly<{
150
+ 'tab-list'?: (() => void) | undefined;
151
+ 'tab-create'?: (() => void) | undefined;
152
+ 'tab-edit'?: ((props: VcEntityEditableTabSlotData<Exclude<EntityData, undefined>>) => void) | undefined;
153
+ } & VcEntityFixedTabSlots<FixedTabName>> & {
154
+ 'tab-list'?: (() => void) | undefined;
155
+ 'tab-create'?: (() => void) | undefined;
156
+ 'tab-edit'?: ((props: VcEntityEditableTabSlotData<Exclude<EntityData, undefined>>) => void) | undefined;
157
+ } & VcEntityFixedTabSlots<FixedTabName>;
158
+ emit: {
159
+ (e: 'update:modelValue', tab: string): void;
160
+ (e: 'close-tab', tabName: string): void;
161
+ (e: 'tab-change', tabName: string): void;
162
+ (e: 'permission-error', pl: {
163
+ tabName: string;
164
+ response: EntityData;
165
+ }): void;
166
+ };
167
+ } | undefined;
69
168
  };
70
- declare const _default: typeof __VLS_export;
71
169
  export default _default;
72
- type __VLS_PrettifyLocal<T> = (T extends any ? {
170
+ type __VLS_Prettify<T> = {
73
171
  [K in keyof T]: T[K];
74
- } : {
75
- [K in keyof T as K]: T[K];
76
- }) & {};
172
+ } & {};
@@ -1,15 +1,15 @@
1
- import { default as VcEntityEditableTabs } from './Tabs/VcEntityEditableTabs.vue';
2
- import { default as VcEntityListTable } from './Table/VcEntityListTable.vue';
3
- import { default as VcEntityAddButton } from './Button/VcEntityAddButton.vue';
4
- import { default as VcEntityCancelButton } from './Button/VcEntityCancelButton.vue';
5
- import { default as VcEntityDeleteIconButton } from './Button/VcEntityDeleteIconButton.vue';
6
- import { default as VcEntityEditIconButton } from './Button/VcEntityEditIconButton.vue';
7
- import { default as VcEntityRestoreButton } from './Button/VcEntityRestoreButton.vue';
8
- import { default as VcEntityStatusButton } from './Button/VcEntityStatusButton.vue';
9
- import { default as VcBaseVerticalForm } from './Form/VcBaseVerticalForm.vue';
10
- import { default as VcEntityVerticalCreateForm } from './Form/VcEntityVerticalCreateForm.vue';
11
- import { default as VcEntityVerticalEditForm } from './Form/VcEntityVerticalEditForm.vue';
12
- import { default as VcEntityEditPageForm } from './Form/VcEntityEditPageForm.vue';
1
+ import VcEntityEditableTabs from './Tabs/VcEntityEditableTabs.vue';
2
+ import VcEntityListTable from './Table/VcEntityListTable.vue';
3
+ import VcEntityAddButton from './Button/VcEntityAddButton.vue';
4
+ import VcEntityCancelButton from './Button/VcEntityCancelButton.vue';
5
+ import VcEntityDeleteIconButton from './Button/VcEntityDeleteIconButton.vue';
6
+ import VcEntityEditIconButton from './Button/VcEntityEditIconButton.vue';
7
+ import VcEntityRestoreButton from './Button/VcEntityRestoreButton.vue';
8
+ import VcEntityStatusButton from './Button/VcEntityStatusButton.vue';
9
+ import VcBaseVerticalForm from './Form/VcBaseVerticalForm.vue';
10
+ import VcEntityVerticalCreateForm from './Form/VcEntityVerticalCreateForm.vue';
11
+ import VcEntityVerticalEditForm from './Form/VcEntityVerticalEditForm.vue';
12
+ import VcEntityEditPageForm from './Form/VcEntityEditPageForm.vue';
13
13
  export { VcEntityAddButton, VcEntityCancelButton, VcEntityDeleteIconButton, VcEntityEditIconButton, VcEntityRestoreButton, VcEntityStatusButton, VcEntityEditableTabs, VcEntityListTable, VcBaseVerticalForm, VcEntityVerticalCreateForm, VcEntityVerticalEditForm, VcEntityEditPageForm };
14
14
  declare module '@vue/runtime-core' {
15
15
  interface GlobalComponents {
@@ -2,7 +2,7 @@ import { Ref } from 'vue';
2
2
  import { BaseEntityServiceImplements } from '..';
3
3
  import { NonNullableExtractServiceImplementsEntity } from '../../types';
4
4
  import { ComponentExposed } from 'vue-component-type-helpers';
5
- import { default as VcEntityEditableTabs } from '../components/Tabs/VcEntityEditableTabs.vue';
5
+ import VcEntityEditableTabs from '../components/Tabs/VcEntityEditableTabs.vue';
6
6
  type EntityProvideParamType<Entity extends BaseEntityServiceImplements> = {
7
7
  entity: Entity;
8
8
  editableTabs?: Ref<null | ComponentExposed<typeof VcEntityEditableTabs>>;
@@ -59,7 +59,7 @@ export declare class BaseEntityService<T extends BaseEntityTypeType> {
59
59
  get entityTypeDefaultListStatuses(): number[];
60
60
  get entityTypeListFilterStatusListProp(): string;
61
61
  get entityTypeDeletedStatus(): number | undefined;
62
- getEntityTypeRoute(routes: Array<RouteRecord>): import('vue-router').RouteRecordNormalized | undefined;
62
+ getEntityTypeRoute(routes: Array<RouteRecord>): import("vue-router").RouteRecordNormalized | undefined;
63
63
  /**
64
64
  * Get Entity Status by Status Name
65
65
  * @param statusName
@@ -69,7 +69,7 @@ export declare class BaseEntityService<T extends BaseEntityTypeType> {
69
69
  * Get Entity Statuses by Array Status Names
70
70
  * @param statusNames
71
71
  */
72
- getEntityTypeStatusesByName(statusNames: Array<string>): number[];
72
+ getEntityTypeStatusesByName(statusNames: Array<string>): (number | undefined)[];
73
73
  getEntityId<Entity extends Record<string, unknown>>(data: Entity): number | undefined;
74
74
  getEntityName<Entity extends Record<string, unknown>>(data: Entity): string | undefined;
75
75
  getEntityStatus<Entity extends Record<string, unknown>>(data: Entity): number | undefined;
@@ -1,3 +1,3 @@
1
- import { IFileTypeStyle } from '../composables/input/useFileUploader';
1
+ import type { IFileTypeStyle } from '../composables/input/useFileUploader';
2
2
  export declare const DEFAULT_FILE_TYPE: Required<IFileTypeStyle>;
3
3
  export declare const DEFAULT_FILE_TYPE_MAP: Record<string, Required<IFileTypeStyle>>;
@@ -12,6 +12,6 @@ export interface GetTranslationType {
12
12
  (key: keyof TranslationsType, options?: LocaleOptionsType): string;
13
13
  }
14
14
  export interface Global$tVUType {
15
- locale: LanguageType;
16
- t: GetTranslationType;
15
+ 'locale': LanguageType;
16
+ 't': GetTranslationType;
17
17
  }
@@ -1,5 +1,5 @@
1
1
  import { App, Ref } from 'vue';
2
- import { LanguageType, LocalesType, TranslationsType, Global$tVUType } from './Localization.types';
2
+ import { LanguageType, LocalesType, TranslationsType, GetTranslationType, Global$tVUType } from './Localization.types';
3
3
  declare global {
4
4
  interface VcGlobalSingletons {
5
5
  localization: {
@@ -28,5 +28,5 @@ export declare const tVUManage: {
28
28
  changeLocale: typeof changeLocale;
29
29
  };
30
30
  export declare const tVU: Global$tVUType;
31
- export default function (app: App, lang?: LanguageType): void;
31
+ export default function (app: App, lang?: LanguageType, getTranslation?: GetTranslationType): void;
32
32
  export {};