@voicenter-team/voicenter-ui-plus 4.0.0-beta.5 → 4.0.0-beta.7

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 (285) hide show
  1. package/MIGRATION_v3.md +196 -196
  2. package/README.md +118 -58
  3. package/library/assets/assets/sass/main.css +1 -1
  4. package/library/assets/components/VcAgentRun/UiComponents/VcAgentRunRow.css +1 -1
  5. package/library/assets/components/VcAgentRun/VcAgentRunCard.css +1 -1
  6. package/library/assets/components/VcAgentRun/VcAgentRunGroup.css +1 -1
  7. package/library/assets/components/VcApprovalCard/VcApprovalCard.css +1 -1
  8. package/library/assets/components/VcAskUserCard/VcAskUserCard.css +1 -1
  9. package/library/assets/components/VcAutocomplete/VcAutocomplete.css +1 -1
  10. package/library/assets/components/VcButton/VcButton.css +1 -1
  11. package/library/assets/components/VcButton/VcButtonIcon.css +1 -1
  12. package/library/assets/components/VcButton/VcToggleButton.css +1 -1
  13. package/library/assets/components/VcChatComposer/VcChatComposer.css +1 -1
  14. package/library/assets/components/VcCheckbox/VcCheckbox.css +1 -1
  15. package/library/assets/components/VcCodeBlock/VcCodeBlock.css +1 -1
  16. package/library/assets/components/VcCollapse/VcCollapseItem.css +1 -1
  17. package/library/assets/components/VcColorPicker/VcColorPicker.css +1 -1
  18. package/library/assets/components/VcDatePicker/VcDatePicker.css +1 -1
  19. package/library/assets/components/VcDatePickerPanel/VcDatePickerPanel.css +1 -1
  20. package/library/assets/components/VcDropdown/VcDropdownItem.css +1 -1
  21. package/library/assets/components/VcEmojiPicker/VcEmojiPicker.css +1 -1
  22. package/library/assets/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.css +1 -1
  23. package/library/assets/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.css +1 -1
  24. package/library/assets/components/VcFileUploader/VcFileItem.css +1 -1
  25. package/library/assets/components/VcFileUploader/VcFileUploaderArea.css +1 -1
  26. package/library/assets/components/VcFileUploader/VcFileUploaderSimple.css +1 -1
  27. package/library/assets/components/VcFilterBar/VcFilterAddMenu.css +1 -0
  28. package/library/assets/components/VcFilterBar/VcFilterBar.css +1 -0
  29. package/library/assets/components/VcFilterBar/VcFilterChip.css +1 -0
  30. package/library/assets/components/VcFilterBar/VcFilterChipEditor.css +1 -0
  31. package/library/assets/components/VcFilterBar/VcFilterEditorModal.css +1 -0
  32. package/library/assets/components/VcFilterBar/VcFilterEditorPanel.css +1 -0
  33. package/library/assets/components/VcFilterBar/editors/VcFilterBooleanEditor.css +1 -0
  34. package/library/assets/components/VcFilterBar/editors/VcFilterMultiselectEditor.css +1 -0
  35. package/library/assets/components/VcFilterBar/editors/VcFilterRangeEditor.css +1 -0
  36. package/library/assets/components/VcFilterBar/editors/VcFilterSelectEditor.css +1 -0
  37. package/library/assets/components/VcFilterBar/editors/VcFilterTextEditor.css +1 -0
  38. package/library/assets/components/VcFilterBar/editors/VcFilterTextListEditor.css +1 -0
  39. package/library/assets/components/VcForm/UiComponents/VcInputLabel.css +1 -1
  40. package/library/assets/components/VcHyperLink/VcHyperLink.css +1 -1
  41. package/library/assets/components/VcImageUploader/VcImageUploader.css +1 -1
  42. package/library/assets/components/VcInput/VcInput.css +1 -1
  43. package/library/assets/components/VcInputNumber/VcInputNumber.css +1 -1
  44. package/library/assets/components/VcJsonSchema/Components/JsonCodeMirror.css +1 -1
  45. package/library/assets/components/VcJsonSchema/Components/JsonSchemaEditor.css +1 -1
  46. package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.css +1 -1
  47. package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerCards.css +1 -1
  48. package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerKey.css +1 -1
  49. package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerState.css +1 -1
  50. package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerValue.css +1 -1
  51. package/library/assets/components/VcJsonViewer/VcJsonViewer.css +1 -1
  52. package/library/assets/components/VcLightbox/VcLightbox.css +1 -1
  53. package/library/assets/components/VcLoading/Loaders/Circles.css +1 -1
  54. package/library/assets/components/VcLoading/Loaders/DotSpinner.css +1 -1
  55. package/library/assets/components/VcLoading/Loaders/LdsSpinner.css +1 -1
  56. package/library/assets/components/VcLoading/Loaders/LoadIcon.css +1 -1
  57. package/library/assets/components/VcLoading/Loaders/Stretch.css +1 -1
  58. package/library/assets/components/VcLoading/VcLoading.css +1 -1
  59. package/library/assets/components/VcMdEditor/ParameterNode.css +1 -1
  60. package/library/assets/components/VcMdEditor/VcMdEditorContent.css +1 -1
  61. package/library/assets/components/VcMessage/VcMessage.css +1 -1
  62. package/library/assets/components/VcMessage/reactions/VcMessageReactionBar.css +1 -1
  63. package/library/assets/components/VcOtpInput/VcOtpInput.css +1 -1
  64. package/library/assets/components/VcPdfViewer/VcPdfDocumentViewerFooter.css +1 -1
  65. package/library/assets/components/VcRadio/VcRadio.css +1 -1
  66. package/library/assets/components/VcRadioButtons/VcRadioButtonsGroup.css +1 -1
  67. package/library/assets/components/VcRadioTabs/UiComponents/VcRadioTabsNav.css +1 -1
  68. package/library/assets/components/VcRadioTabs/VcRadioTabs.css +1 -1
  69. package/library/assets/components/VcSegmented/VcSegmented.css +1 -1
  70. package/library/assets/components/VcSelect/VcSelect.css +1 -1
  71. package/library/assets/components/VcSelect/VcSelectOption.css +1 -1
  72. package/library/assets/components/VcSipFlow/VcSipFlow.css +1 -1
  73. package/library/assets/components/VcSkeletonLoader/Loaders/Card.css +1 -1
  74. package/library/assets/components/VcSkeletonLoader/Loaders/Circle.css +1 -1
  75. package/library/assets/components/VcSkeletonLoader/Loaders/Row.css +1 -1
  76. package/library/assets/components/VcSkeletonLoader/Loaders/Square.css +1 -1
  77. package/library/assets/components/VcSkeletonLoader/Loaders/Text.css +1 -1
  78. package/library/assets/components/VcSoundplayer/VcPlayerPlaybackRate.css +1 -1
  79. package/library/assets/components/VcSoundplayer/VcSoundPlayerMarker.css +1 -1
  80. package/library/assets/components/VcSplitButton/VcSplitButton.css +1 -1
  81. package/library/assets/components/VcSwitch/VcSwitch.css +1 -1
  82. package/library/assets/components/VcTable/VcTable.css +1 -1
  83. package/library/assets/components/VcTabs/VcTabNav.css +1 -1
  84. package/library/assets/components/VcTag/VcTag.css +1 -1
  85. package/library/assets/components/VcTagInput/VcTagInput.css +1 -1
  86. package/library/assets/components/VcTimeInput/VcTimeInput.css +1 -1
  87. package/library/assets/components/VcToolCall/VcToolCall.css +1 -1
  88. package/library/assets/components/VcTour/VcTour.css +1 -1
  89. package/library/assets/components/VcTransfer/VcTransfer.css +1 -1
  90. package/library/assets/components/VcTree/VcTreeSelect.css +1 -1
  91. package/library/assets/components/VcVerticalTabs/VcVerticalTabs.css +1 -1
  92. package/library/assets/components/VcVerticalTabs/VerticalTabNav.css +1 -1
  93. package/library/assets/entity/components/Tabs/VcEntityEditableTabs.css +1 -1
  94. package/library/assets/node_modules/element-plus/theme-chalk/src/tree.css +1 -1
  95. package/library/components/VcCheckbox/VcCheckbox.vue.mjs +1 -1
  96. package/library/components/VcCheckbox/VcCheckboxButton.vue.mjs +1 -1
  97. package/library/components/VcDatePicker/VcDatePicker.vue.mjs +2 -2
  98. package/library/components/VcDropdown/VcDropdownItem.vue.mjs +1 -1
  99. package/library/components/VcExcelUploader/VcExcelFileProcessLoader.vue.mjs +1 -1
  100. package/library/components/VcExcelUploader/VcExcelFileUploadBlock.vue.mjs +1 -1
  101. package/library/components/VcExcelUploader/VcFileImportErrorsCard.vue.mjs +2 -2
  102. package/library/components/VcExcelUploader/VcFileImportParseResultBlock.vue.mjs +4 -4
  103. package/library/components/VcExcelUploader/VcFileImportResultBindDataTable.vue.mjs +0 -1
  104. package/library/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.mjs +2 -2
  105. package/library/components/VcFileUploader/VcFileUploaderSimple.vue.mjs +1 -1
  106. package/library/components/VcFilterBar/VcFilterAddMenu.vue.mjs +380 -0
  107. package/library/components/VcFilterBar/VcFilterAddMenu.vue3.mjs +5 -0
  108. package/library/components/VcFilterBar/VcFilterBar.vue.mjs +469 -0
  109. package/library/components/VcFilterBar/VcFilterBar.vue3.mjs +5 -0
  110. package/library/components/VcFilterBar/VcFilterChip.vue.mjs +136 -0
  111. package/library/components/VcFilterBar/VcFilterChip.vue3.mjs +5 -0
  112. package/library/components/VcFilterBar/VcFilterChipEditor.vue.mjs +133 -0
  113. package/library/components/VcFilterBar/VcFilterChipEditor.vue3.mjs +5 -0
  114. package/library/components/VcFilterBar/VcFilterEditorModal.vue.mjs +90 -0
  115. package/library/components/VcFilterBar/VcFilterEditorModal.vue3.mjs +5 -0
  116. package/library/components/VcFilterBar/VcFilterEditorPanel.vue.mjs +179 -0
  117. package/library/components/VcFilterBar/VcFilterEditorPanel.vue3.mjs +5 -0
  118. package/library/components/VcFilterBar/editors/VcFilterBooleanEditor.vue.mjs +62 -0
  119. package/library/components/VcFilterBar/editors/VcFilterBooleanEditor.vue3.mjs +5 -0
  120. package/library/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue.mjs +199 -0
  121. package/library/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue3.mjs +5 -0
  122. package/library/components/VcFilterBar/editors/VcFilterRangeEditor.vue.mjs +124 -0
  123. package/library/components/VcFilterBar/editors/VcFilterRangeEditor.vue3.mjs +5 -0
  124. package/library/components/VcFilterBar/editors/VcFilterSelectEditor.vue.mjs +96 -0
  125. package/library/components/VcFilterBar/editors/VcFilterSelectEditor.vue3.mjs +5 -0
  126. package/library/components/VcFilterBar/editors/VcFilterTextEditor.vue.mjs +58 -0
  127. package/library/components/VcFilterBar/editors/VcFilterTextEditor.vue3.mjs +5 -0
  128. package/library/components/VcFilterBar/editors/VcFilterTextListEditor.vue.mjs +155 -0
  129. package/library/components/VcFilterBar/editors/VcFilterTextListEditor.vue3.mjs +5 -0
  130. package/library/components/VcFilterBar/filterBarChip.mjs +59 -0
  131. package/library/components/VcFilterBar/filterBarDate.mjs +69 -0
  132. package/library/components/VcFilterBar/filterBarDraft.mjs +86 -0
  133. package/library/components/VcFilterBar/filterBarEditors.mjs +36 -0
  134. package/library/components/VcFilterBar/filterBarErrors.mjs +57 -0
  135. package/library/components/VcFilterBar/filterBarModel.mjs +378 -0
  136. package/library/components/VcFilterBar/filterBarOptions.mjs +253 -0
  137. package/library/components/VcFilterBar/filterBarSearch.mjs +89 -0
  138. package/library/components/VcFilterBar/filterBarValidate.mjs +99 -0
  139. package/library/components/VcForm/VcForm.vue.mjs +1 -1
  140. package/library/components/VcForm/VcFormItem.vue.mjs +1 -1
  141. package/library/components/VcHtmlEditor/VcHtmlEditor.vue.mjs +1 -1
  142. package/library/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.mjs +1 -1
  143. package/library/components/VcIconPicker/VcIconPicker.vue.mjs +2 -2
  144. package/library/components/VcImageUploader/VcImageUploader.vue.mjs +4 -4
  145. package/library/components/VcInput/VcInput.vue.mjs +1 -1
  146. package/library/components/VcJsonSchema/Components/JsonSchemaEditor.vue.mjs +1 -1
  147. package/library/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue.mjs +9 -4
  148. package/library/components/VcLoading/Loaders/Circles.vue.mjs +1 -1
  149. package/library/components/VcLoading/Loaders/DotSpinner.vue.mjs +1 -1
  150. package/library/components/VcLoading/Loaders/DotSpinner.vue2.mjs +2 -2
  151. package/library/components/VcLoading/Loaders/LdsSpinner.vue.mjs +1 -1
  152. package/library/components/VcLoading/Loaders/LoadIcon.vue.mjs +1 -1
  153. package/library/components/VcLoading/Loaders/Stretch.vue.mjs +1 -1
  154. package/library/components/VcLoading/Loaders/Stretch.vue2.mjs +1 -1
  155. package/library/components/VcLoading/VcLoading.vue.mjs +1 -1
  156. package/library/components/VcMdEditor/ParameterNode.vue.mjs +1 -1
  157. package/library/components/VcMdEditor/ParameterNode.vue2.mjs +1 -1
  158. package/library/components/VcMdEditor/VcMdEditor.vue.mjs +2 -2
  159. package/library/components/VcMdEditor/VcMdEditorToolbar.vue.mjs +1 -1
  160. package/library/components/VcMessage/reactions/VcMessageReactionBar.vue.mjs +1 -1
  161. package/library/components/VcPdfViewer/VcPdfDocumentCard.vue.mjs +3 -3
  162. package/library/components/VcPdfViewer/VcPdfDocumentViewerFooter.vue.mjs +2 -2
  163. package/library/components/VcPdfViewer/VcPdfDocumentViewerToolbar.vue.mjs +4 -4
  164. package/library/components/VcRadio/VcRadio.vue.mjs +1 -1
  165. package/library/components/VcSegmented/VcSegmented.vue.mjs +88 -41
  166. package/library/components/VcSelect/VcInfiniteScrollSelect.vue.mjs +1 -1
  167. package/library/components/VcSelect/VcSelect.vue.mjs +1 -1
  168. package/library/components/VcSipFlow/VcSipFlow.vue.mjs +1 -3
  169. package/library/components/VcSkeletonLoader/Loaders/Card.vue.mjs +1 -1
  170. package/library/components/VcSkeletonLoader/Loaders/Circle.vue.mjs +1 -1
  171. package/library/components/VcSkeletonLoader/Loaders/Row.vue.mjs +1 -1
  172. package/library/components/VcSkeletonLoader/Loaders/Square.vue.mjs +1 -1
  173. package/library/components/VcSkeletonLoader/Loaders/Text.vue.mjs +1 -1
  174. package/library/components/VcSlider/VcSlider.vue.mjs +1 -1
  175. package/library/components/VcSoundplayer/VcPlayerPlayStopButton.vue.mjs +4 -4
  176. package/library/components/VcSoundplayer/VcPlayerPlaybackRate.vue.mjs +1 -1
  177. package/library/components/VcSoundplayer/VcPlayerPlaybackRatePopup.vue.mjs +2 -2
  178. package/library/components/VcSoundplayer/VcPlayerSkipButtons.vue.mjs +2 -2
  179. package/library/components/VcSoundplayer/VcSoundPlayer.vue.mjs +2 -2
  180. package/library/components/VcSoundplayer/VcSoundPlayerMarker.vue.mjs +1 -1
  181. package/library/components/VcSoundplayer/VcSoundVolume.vue.mjs +2 -2
  182. package/library/components/VcSoundplayer/player.options.mjs +2 -2
  183. package/library/components/VcTable/VcTable.vue.mjs +5 -8
  184. package/library/components/VcTabs/VcTabNav.vue.mjs +45 -32
  185. package/library/components/VcTabs/VcTabPane.vue.mjs +12 -3
  186. package/library/components/VcTimeInput/VcTimeInput.vue.mjs +61 -27
  187. package/library/components/VcTour/VcTour.vue.mjs +104 -16
  188. package/library/components/VcTree/VcTree.vue.mjs +1 -1
  189. package/library/components/VcTree/VcTreeSelect.vue.mjs +1 -1
  190. package/library/components/VcWizard/VcSummaryProgress.vue.mjs +1 -1
  191. package/library/components/VcWizard/VcSummaryStep.vue.mjs +3 -3
  192. package/library/components/VcWizard/VcWizard.vue.mjs +2 -16
  193. package/library/entity/components/Form/VcEntityVerticalEditForm.vue.mjs +6 -10
  194. package/library/entity/components/Table/VcEntityListTable.vue.mjs +1 -2
  195. package/library/entity/components/Tabs/VcEntityEditableTabs.vue.mjs +51 -7
  196. package/library/font/index.mjs +1 -1
  197. package/library/index.mjs +113 -54
  198. package/library/index.mjs.br +0 -0
  199. package/library/index.mjs.gz +0 -0
  200. package/library/localization/index.mjs.gz +0 -0
  201. package/library/localization/locales/en.json.mjs +51 -1
  202. package/library/plugin-components.gen.mjs +201 -204
  203. package/library/plugin.mjs +113 -54
  204. package/library/plugin.mjs.br +0 -0
  205. package/library/plugin.mjs.gz +0 -0
  206. package/library/style.css +104 -84
  207. package/library/style.css.br +0 -0
  208. package/library/style.css.gz +0 -0
  209. package/library/theme/index.mjs +1 -1
  210. package/library/theme/index.mjs.br +0 -0
  211. package/library/theme/index.mjs.gz +0 -0
  212. package/library/theme/themeMerge.mjs +2 -0
  213. package/library/theme/themes.json.mjs +33 -144
  214. package/library/tokens/tokens.mjs +2 -0
  215. package/library/types/components/VcApprovalCard/VcApprovalCard.vue.d.ts +1 -1
  216. package/library/types/components/VcButton/VcToggleButton.vue.d.ts +1 -1
  217. package/library/types/components/VcCheckbox/VcCheckboxButtonGroup.vue.d.ts +3 -3
  218. package/library/types/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +3 -3
  219. package/library/types/components/VcFilterBar/VcFilterAddMenu.vue.d.ts +39 -0
  220. package/library/types/components/VcFilterBar/VcFilterBar.vue.d.ts +132 -0
  221. package/library/types/components/VcFilterBar/VcFilterChip.vue.d.ts +42 -0
  222. package/library/types/components/VcFilterBar/VcFilterChipEditor.vue.d.ts +46 -0
  223. package/library/types/components/VcFilterBar/VcFilterEditorModal.vue.d.ts +40 -0
  224. package/library/types/components/VcFilterBar/VcFilterEditorPanel.vue.d.ts +116 -0
  225. package/library/types/components/VcFilterBar/editors/VcFilterBooleanEditor.vue.d.ts +66 -0
  226. package/library/types/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue.d.ts +73 -0
  227. package/library/types/components/VcFilterBar/editors/VcFilterRangeEditor.vue.d.ts +62 -0
  228. package/library/types/components/VcFilterBar/editors/VcFilterSelectEditor.vue.d.ts +62 -0
  229. package/library/types/components/VcFilterBar/editors/VcFilterTextEditor.vue.d.ts +68 -0
  230. package/library/types/components/VcFilterBar/editors/VcFilterTextListEditor.vue.d.ts +64 -0
  231. package/library/types/components/VcFilterBar/filterBarChip.d.ts +23 -0
  232. package/library/types/components/VcFilterBar/filterBarDate.d.ts +14 -0
  233. package/library/types/components/VcFilterBar/filterBarDraft.d.ts +28 -0
  234. package/library/types/components/VcFilterBar/filterBarEditors.d.ts +7 -0
  235. package/library/types/components/VcFilterBar/filterBarErrors.d.ts +22 -0
  236. package/library/types/components/VcFilterBar/filterBarModel.d.ts +83 -0
  237. package/library/types/components/VcFilterBar/filterBarOptions.d.ts +52 -0
  238. package/library/types/components/VcFilterBar/filterBarSearch.d.ts +23 -0
  239. package/library/types/components/VcFilterBar/filterBarValidate.d.ts +34 -0
  240. package/library/types/components/VcJsonSchema/Components/JsonSchemaEditor.vue.d.ts +1 -1
  241. package/library/types/components/VcMdEditor/VcMdEditor.vue.d.ts +1 -1
  242. package/library/types/components/VcMessage/VcMessage.vue.d.ts +1 -1
  243. package/library/types/components/VcSegmented/VcSegmented.vue.d.ts +25 -16
  244. package/library/types/components/VcSelect/VcSelect.vue.d.ts +3 -3
  245. package/library/types/components/VcTable/VcTable.vue.d.ts +22 -22
  246. package/library/types/components/VcTabs/VcTabPane.vue.d.ts +8 -0
  247. package/library/types/components/VcTabs/VcTabs.vue.d.ts +2 -0
  248. package/library/types/components/VcTag/VcTag.vue.d.ts +1 -1
  249. package/library/types/components/VcTimeInput/VcTimeInput.vue.d.ts +9 -0
  250. package/library/types/components/VcToolCall/VcToolCall.vue.d.ts +1 -1
  251. package/library/types/components/exports.d.ts +3 -5
  252. package/library/types/components.gen.d.ts +1 -2
  253. package/library/types/entity/components/Table/VcEntityListTable.vue.d.ts +3 -3
  254. package/library/types/entity/components/Tabs/VcEntityEditableTabs.vue.d.ts +14 -8
  255. package/library/types/index.d.ts +8 -0
  256. package/library/types/localization/locales/en.json.d.ts +415 -365
  257. package/library/types/theme/themes.json.d.ts +72 -177
  258. package/library/types/tokens/tokens.d.ts +2 -1
  259. package/library/types/types/ExcelParser.types.d.ts +0 -7
  260. package/library/types/types/Tabs.d.ts +16 -0
  261. package/library/types/types/VcDatetimeRangePicker.types.d.ts +0 -19
  262. package/library/types/types/VcFilterBar.types.d.ts +329 -0
  263. package/library/types/types/VcTable.types.d.ts +5 -0
  264. package/library/types/types/VcTabs.types.d.ts +1 -0
  265. package/library/types/types/VcTimeInput.types.d.ts +3 -0
  266. package/library/types/types/VcWizard.types.d.ts +0 -4
  267. package/library/types/types/index.d.ts +2 -0
  268. package/library/utils/jsonSchema/index.mjs.gz +0 -0
  269. package/library/utils/jsonSchema/jsonSchemaHelpers.mjs +1 -1
  270. package/library/utils/lucideIcon.mjs +1 -1
  271. package/package.json +311 -311
  272. package/src/theme/index.ts +1 -1
  273. package/src/theme/tailwindScheme.js +78 -70
  274. package/src/theme/themeMerge.ts +63 -61
  275. package/src/theme/themes.json +72 -177
  276. package/tailwind.config.js +178 -176
  277. package/library/assets/components/VcDatetimeRangePicker/VcDatetimeRangePicker.css +0 -1
  278. package/library/assets/components/VcViewSwitcher/VcViewSwitcher.css +0 -1
  279. package/library/components/VcDatetimeRangePicker/VcDatetimeRangePicker.vue.mjs +0 -24
  280. package/library/components/VcDatetimeRangePicker/VcDatetimeRangePicker.vue3.mjs +0 -5
  281. package/library/components/VcViewSwitcher/VcViewSwitcher.vue.mjs +0 -86
  282. package/library/components/VcViewSwitcher/VcViewSwitcher.vue3.mjs +0 -5
  283. package/library/types/components/VcDatetimeRangePicker/VcDatetimeRangePicker.vue.d.ts +0 -2
  284. package/library/types/components/VcViewSwitcher/VcViewSwitcher.vue.d.ts +0 -74
  285. /package/library/assets/node_modules/element-plus/theme-chalk/src/{tooltip.css → date-picker.css} +0 -0
@@ -0,0 +1,83 @@
1
+ import type { VcFilterApplied, VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode, VcFilterModel, VcFilterModelOptions, VcFilterOverlap, VcFilterRangeValue } from '../../types';
2
+ export declare const DEFAULT_EXCLUDE_KEY = "Exclude";
3
+ /** @description `[]`, `null`, `undefined` and `''` filter nothing; `false` and `0` are values. */
4
+ export declare function isEmptyFilterValue(value: unknown): boolean;
5
+ export declare function isFilterListValue(value: unknown): value is Array<VcFilterListItem>;
6
+ export declare function isFilterRangeValue(value: unknown): value is VcFilterRangeValue;
7
+ /** @description The model keys of a field on the include side. */
8
+ export declare function getFieldKeys(field: VcFilterField): Array<string>;
9
+ export declare function supportsExclude(field: VcFilterField): boolean;
10
+ /** @description The sides a field can be on. */
11
+ export declare function getFieldModes(field: VcFilterField): Array<VcFilterMode>;
12
+ /**
13
+ * @description The path a server error names for a field on one side,
14
+ * e.g. `UserList` or `Exclude.UserList`. A field with several keys answers with its first one.
15
+ */
16
+ export declare function getFieldErrorPath(field: VcFilterField, mode: VcFilterMode, options?: VcFilterModelOptions): string;
17
+ /**
18
+ * @description The field and side a server error path belongs to:
19
+ * `Exclude.LabelConditions[0].Value` → the field owning `LabelConditions`, exclude side.
20
+ */
21
+ export declare function findFieldByErrorPath(path: string, fields: Array<VcFilterField>, options?: VcFilterModelOptions): {
22
+ field: VcFilterField;
23
+ mode: VcFilterMode;
24
+ } | undefined;
25
+ /**
26
+ * @description The value of a field on one side, or `undefined` when the field filters nothing there.
27
+ * A custom field's value always uses its include keys, whichever side it is read from.
28
+ */
29
+ export declare function readFieldValue(model: VcFilterModel, field: VcFilterField, mode: VcFilterMode, options?: VcFilterModelOptions): VcFilterFieldValue | undefined;
30
+ /**
31
+ * @description The values a list field cannot take on this side because the other side has them.
32
+ * A value is either included or excluded, never both.
33
+ */
34
+ export declare function getBlockedValues(model: VcFilterModel, field: VcFilterField, mode: VcFilterMode, options?: VcFilterModelOptions): Array<VcFilterListItem>;
35
+ /**
36
+ * @description The values a list field already has on this side: Add filter shows them as already added,
37
+ * since adding the field again goes into the same chip.
38
+ */
39
+ export declare function getAppliedValues(model: VcFilterModel, field: VcFilterField, mode: VcFilterMode, options?: VcFilterModelOptions): Array<VcFilterListItem>;
40
+ /** @description Whether the field already has a chip on this side. */
41
+ export declare function isFieldApplied(model: VcFilterModel, field: VcFilterField, mode: VcFilterMode, options?: VcFilterModelOptions): boolean;
42
+ /** @description The list fields whose values are on both sides, e.g. in a saved filter. The model is not changed. */
43
+ export declare function findOverlaps(model: VcFilterModel, fields: Array<VcFilterField>, options?: VcFilterModelOptions): Array<VcFilterOverlap>;
44
+ /**
45
+ * @description A new model with the field's value on one side. An empty value removes the field there;
46
+ * an exclude object left empty is removed too. On a list field, values the other side has are dropped.
47
+ */
48
+ export declare function writeFieldValue(model: VcFilterModel, field: VcFilterField, mode: VcFilterMode, value: VcFilterFieldValue | undefined, options?: VcFilterModelOptions): VcFilterModel;
49
+ /** @description A new model without the field on one side. */
50
+ export declare function removeFieldValue(model: VcFilterModel, field: VcFilterField, mode: VcFilterMode, options?: VcFilterModelOptions): VcFilterModel;
51
+ /**
52
+ * @description A new model with a chip edited: its value replaced on its side, or moved to the other
53
+ * side, where it joins that side's chip like an added value. An empty value removes the chip.
54
+ * Moving takes the chip off its side first, so its own values are not blocked by themselves.
55
+ */
56
+ export declare function editFieldValue(model: VcFilterModel, field: VcFilterField, fromMode: VcFilterMode, toMode: VcFilterMode, value: VcFilterFieldValue | undefined, options?: VcFilterModelOptions): VcFilterModel;
57
+ /** @description The model an editor of a chip works against: the chip's own side taken off. */
58
+ export declare function withoutSide(model: VcFilterModel, field: VcFilterField, mode: VcFilterMode, options?: VcFilterModelOptions): VcFilterModel;
59
+ /**
60
+ * @description A new model with a value added through Add filter. A field has one chip per side,
61
+ * so the value goes into that chip: a list gets the new values after its own (include and exclude
62
+ * each on their own side; values the other side has are dropped), a custom field with `merge` joins
63
+ * the two values, and any other value replaces the current one. An empty value changes nothing.
64
+ */
65
+ export declare function addFieldValue(model: VcFilterModel, field: VcFilterField, mode: VcFilterMode, value: VcFilterFieldValue | undefined, options?: VcFilterModelOptions): VcFilterModel;
66
+ export declare function getAppliedId(field: VcFilterField, mode: VcFilterMode): string;
67
+ /** @description The applied fields of a model, in the order of `fields`, include before exclude. */
68
+ export declare function getAppliedFilters(model: VcFilterModel, fields: Array<VcFilterField>, options?: VcFilterModelOptions): Array<VcFilterApplied>;
69
+ /**
70
+ * @description A model taken apart: the applied fields, and the rest (keys no field owns,
71
+ * such as the date range and the search), kept as they are.
72
+ */
73
+ export declare function splitFilterModel(model: VcFilterModel, fields: Array<VcFilterField>, options?: VcFilterModelOptions): {
74
+ applied: Array<VcFilterApplied>;
75
+ rest: VcFilterModel;
76
+ };
77
+ /** @description A model from applied fields, written over `rest` (the keys no field owns). */
78
+ export declare function joinFilterModel(applied: Array<VcFilterApplied>, rest?: VcFilterModel, options?: VcFilterModelOptions): VcFilterModel;
79
+ /**
80
+ * @description Whether two values of a field filter the same, so an editor that changed nothing
81
+ * sends nothing. A list compares as a set; empty values are equal to each other.
82
+ */
83
+ export declare function isSameFieldValue(field: VcFilterField, a: VcFilterFieldValue | undefined, b: VcFilterFieldValue | undefined): boolean;
@@ -0,0 +1,52 @@
1
+ import type { ComputedRef, MaybeRefOrGetter } from 'vue';
2
+ import type { VcFilterField, VcFilterOption, VcFilterOptionsParams, VcFilterOptionsSource, VcFilterOptionsStore, VcFilterOptionsStoreOptions } from '../../types';
3
+ export declare const DEFAULT_OPTIONS_TTL: number;
4
+ /**
5
+ * @description What a loader throws when the login may not read the list
6
+ * (e.g. 403 section_not_enabled). The field is disabled with the reason; the rest of the bar works.
7
+ * An error with a string `disabledReason` does the same.
8
+ */
9
+ export declare class VcFilterOptionsDeniedError extends Error {
10
+ readonly disabledReason: string;
11
+ constructor(reason: string);
12
+ }
13
+ /** @description The reason a loader error refuses the list, or `undefined` for any other failure. */
14
+ export declare function getDeniedReason(error: unknown): string | undefined;
15
+ /** @description The cache key of a list: its source id and its params, in any key order. */
16
+ export declare function getOptionsKey(source: VcFilterOptionsSource, params?: VcFilterOptionsParams): string;
17
+ /**
18
+ * @description A store of lists. The bar creates its own, which drops a list once nothing uses it;
19
+ * an application can create one with a longer life and pass it to several bars, so they share the lists.
20
+ */
21
+ export declare function createFilterOptionsStore(options?: VcFilterOptionsStoreOptions): VcFilterOptionsStore;
22
+ /**
23
+ * @description Gives the bar's descendants (chips, editors, custom editors) one store.
24
+ * Without a store, it makes one that drops a list once nothing uses it.
25
+ */
26
+ export declare function provideFilterOptionsStore(store?: VcFilterOptionsStore): VcFilterOptionsStore;
27
+ /** @description The store of the nearest bar; outside a bar, a store of this component's own. */
28
+ export declare function useFilterOptionsStore(): VcFilterOptionsStore;
29
+ export interface UseFilterOptionsOptions {
30
+ /** @description Load as soon as the component uses the list. Default `false`: load on `get()`. */
31
+ immediate?: boolean;
32
+ }
33
+ export interface UseFilterOptionsReturn {
34
+ data: ComputedRef<Array<VcFilterOption>>;
35
+ loading: ComputedRef<boolean>;
36
+ loaded: ComputedRef<boolean>;
37
+ error: ComputedRef<unknown>;
38
+ deniedReason: ComputedRef<string | undefined>;
39
+ /** @description Loads the list if needed. Never rejects: a failure is in `error` and `deniedReason`. */
40
+ get: () => Promise<Array<VcFilterOption>>;
41
+ /** @description Loads the list again. Never rejects. */
42
+ refresh: () => Promise<Array<VcFilterOption>>;
43
+ }
44
+ /**
45
+ * @description One list for a component: its data and state, and get / refresh.
46
+ * The list counts as used while the component is mounted, so a chip keeps the names it shows,
47
+ * and the bar's store drops the list when the last chip and editor using it are gone.
48
+ * A static array (or no source) gives that array, with nothing to load.
49
+ */
50
+ export declare function useFilterOptions(source: MaybeRefOrGetter<VcFilterOptionsSource | Array<VcFilterOption> | undefined>, params?: MaybeRefOrGetter<VcFilterOptionsParams | undefined>, options?: UseFilterOptionsOptions): UseFilterOptionsReturn;
51
+ /** @description The options of a field: its static array or its loaded list, with the field's params. */
52
+ export declare function useFieldOptions(field: MaybeRefOrGetter<VcFilterField>, options?: UseFilterOptionsOptions): UseFilterOptionsReturn;
@@ -0,0 +1,23 @@
1
+ import type { VcFilterField, VcFilterListItem, VcFilterModel, VcFilterModelOptions, VcFilterSearchConfig, VcFilterSearchLinked, VcFilterSearchTarget } from '../../types';
2
+ export declare const DEFAULT_SEARCH_DEBOUNCE = 400;
3
+ /**
4
+ * @description The target the text goes to: the one picked (by its `valueKey`), or the first that matches the text.
5
+ */
6
+ export declare function getSearchTarget(text: string, config: VcFilterSearchConfig, picked?: string): VcFilterSearchTarget | undefined;
7
+ /** @description The text the search line shows for a model: the first `set` target that has a value. */
8
+ export declare function readSearchText(model: VcFilterModel, config: VcFilterSearchConfig): string;
9
+ /** @description The model keys the search line owns: its `set` targets and their linked controls. */
10
+ export declare function getSearchKeys(config: VcFilterSearchConfig): Array<string>;
11
+ export declare function readLinkedValue(model: VcFilterModel, linked: VcFilterSearchLinked): VcFilterListItem;
12
+ /** @description A new model with the linked control of a target set; written only while the target has a value. */
13
+ export declare function writeLinkedValue(model: VcFilterModel, target: VcFilterSearchTarget, value: VcFilterListItem): VcFilterModel;
14
+ /**
15
+ * @description A new model with the typed text: every `set` key (and linked key) is cleared, then the
16
+ * matching `set` target gets the text, and its linked control keeps its value or takes its default.
17
+ */
18
+ export declare function writeSearchText(model: VcFilterModel, text: string, config: VcFilterSearchConfig, picked?: string): VcFilterModel;
19
+ /**
20
+ * @description A new model with the text added to the list field of its `append` target (on Enter).
21
+ * The model is unchanged when the text has no `append` target or the field is unknown.
22
+ */
23
+ export declare function appendSearchText(model: VcFilterModel, text: string, config: VcFilterSearchConfig, fields: Array<VcFilterField>, options?: VcFilterModelOptions, picked?: string): VcFilterModel;
@@ -0,0 +1,34 @@
1
+ import type { VcFilterField, VcFilterFieldValue, VcFilterListItem } from '../../types';
2
+ export type FilterValueProblem = {
3
+ code: 'tooShort';
4
+ count: number;
5
+ } | {
6
+ code: 'tooLong';
7
+ count: number;
8
+ } | {
9
+ code: 'pattern';
10
+ } | {
11
+ code: 'tooMany';
12
+ count: number;
13
+ } | {
14
+ code: 'rangeOrder';
15
+ } | {
16
+ code: 'belowMin';
17
+ count: number;
18
+ } | {
19
+ code: 'aboveMax';
20
+ count: number;
21
+ };
22
+ /**
23
+ * @description The first problem of a value, or `undefined` when it can go into the model.
24
+ * `applied` are the values the field already has on this side: a list's limit counts them too,
25
+ * since Add filter adds to the chip.
26
+ */
27
+ export declare function validateFieldValue(field: VcFilterField, value: VcFilterFieldValue | undefined, applied?: Array<VcFilterListItem>): FilterValueProblem | undefined;
28
+ /** @description Whether a draft can be added: it filters something and has no problem. */
29
+ export declare function canAddFieldValue(field: VcFilterField, value: VcFilterFieldValue | undefined, applied?: Array<VcFilterListItem>): boolean;
30
+ /** @description The translation key and params of a problem, under `voicenterUi.filterBar.problem.*`. */
31
+ export declare function getProblemMessage(problem: FilterValueProblem): {
32
+ key: string;
33
+ params: Record<string, number>;
34
+ };
@@ -59,12 +59,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
59
59
  oldValue: string;
60
60
  }) => any) | undefined;
61
61
  }>, {
62
+ custom: boolean;
62
63
  deep: number;
63
64
  parent: SchemaModel;
64
65
  root: boolean;
65
66
  property: string;
66
67
  modalAppendTo: string | HTMLElement;
67
- custom: boolean;
68
68
  isItem: boolean;
69
69
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
70
70
  export default _default;
@@ -57,7 +57,7 @@ export interface IVcMdEditorProps {
57
57
  /**
58
58
  * Text in a bubble, card or panel instead of a field: no border, background, padding or minimum height, the
59
59
  * font, size and colour of the container, chat-sized headings and spacing, and links in
60
- * `--vc-markdown-editor-link-color` (default `--vc-action-primary`). The direction follows the container. Meant
60
+ * `--vc-markdown-editor-link-color` (default `--vc-content-brand`). The direction follows the container. Meant
61
61
  * for `readonly` with `hideToolbar`.
62
62
  */
63
63
  plain?: boolean;
@@ -42,9 +42,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
42
42
  content: VcMessageContent | VcMessageContent[];
43
43
  status: import('../../types').VcMessageStatus;
44
44
  deleted: boolean;
45
+ variant: import('../../types').VcMessageVariant;
45
46
  align: import('../../types').VcMessageAlign;
46
47
  reactions: import('../../types').VcMessageReaction[];
47
- variant: import('../../types').VcMessageVariant;
48
48
  reply: import('../../types').VcMessageReply;
49
49
  additionalOptions: VcMessageOption[][];
50
50
  reactionEmojis: string[];
@@ -1,4 +1,4 @@
1
- import { ConfigOptionType, ExtractValueType, OptionValueType } from '../../types';
1
+ import { ConfigOptionType, ExtractValueType, OptionMappedType, OptionValueType } from '../../types';
2
2
  declare const _default: <Option extends OptionValueType, Config extends ConfigOptionType<Option>, ModelValue extends ExtractValueType<Option, Config>>(__VLS_props: {
3
3
  id?: string | undefined;
4
4
  ariaLabel?: string | undefined;
@@ -6,14 +6,14 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
6
6
  disabled?: boolean | undefined;
7
7
  modelValue?: ModelValue | undefined;
8
8
  name?: string | undefined;
9
- color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
10
- readonly onChange?: ((pl: ModelValue, old: ModelValue) => any) | undefined;
9
+ readonly onChange?: ((value: ModelValue, option: Option) => any) | undefined;
11
10
  options: Option[];
12
11
  direction?: "vertical" | "horizontal" | undefined;
13
12
  validateEvent?: boolean | undefined;
14
- readonly "onUpdate:modelValue"?: ((pl: ModelValue) => any) | undefined;
13
+ readonly "onUpdate:modelValue"?: ((value: ModelValue) => any) | undefined;
15
14
  block?: boolean | undefined;
16
15
  config?: Config | undefined;
16
+ variant?: "solid" | "surface" | undefined;
17
17
  bordered?: boolean | undefined;
18
18
  rounded?: boolean | undefined;
19
19
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
@@ -21,11 +21,13 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
21
21
  slots: {
22
22
  default?(_: {
23
23
  item: Option;
24
+ option: OptionMappedType<Option, Config>;
25
+ isActive: boolean;
24
26
  }): any;
25
27
  };
26
28
  emit: {
27
- (e: 'update:modelValue', pl: ModelValue): void;
28
- (e: 'change', pl: ModelValue, old: ModelValue): void;
29
+ (e: 'update:modelValue', value: ModelValue): void;
30
+ (e: 'change', value: ModelValue, option: Option): void;
29
31
  };
30
32
  } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
31
33
  props: {
@@ -35,14 +37,14 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
35
37
  disabled?: boolean | undefined;
36
38
  modelValue?: ModelValue | undefined;
37
39
  name?: string | undefined;
38
- color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
39
- readonly onChange?: ((pl: ModelValue, old: ModelValue) => any) | undefined;
40
+ readonly onChange?: ((value: ModelValue, option: Option) => any) | undefined;
40
41
  options: Option[];
41
42
  direction?: "vertical" | "horizontal" | undefined;
42
43
  validateEvent?: boolean | undefined;
43
- readonly "onUpdate:modelValue"?: ((pl: ModelValue) => any) | undefined;
44
+ readonly "onUpdate:modelValue"?: ((value: ModelValue) => any) | undefined;
44
45
  block?: boolean | undefined;
45
46
  config?: Config | undefined;
47
+ variant?: "solid" | "surface" | undefined;
46
48
  bordered?: boolean | undefined;
47
49
  rounded?: boolean | undefined;
48
50
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
@@ -51,11 +53,13 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
51
53
  slots: {
52
54
  default?(_: {
53
55
  item: Option;
56
+ option: OptionMappedType<Option, Config>;
57
+ isActive: boolean;
54
58
  }): any;
55
59
  };
56
60
  emit: {
57
- (e: 'update:modelValue', pl: ModelValue): void;
58
- (e: 'change', pl: ModelValue, old: ModelValue): void;
61
+ (e: 'update:modelValue', value: ModelValue): void;
62
+ (e: 'change', value: ModelValue, option: Option): void;
59
63
  };
60
64
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
61
65
  [key: string]: any;
@@ -68,14 +72,14 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
68
72
  disabled?: boolean | undefined;
69
73
  modelValue?: ModelValue | undefined;
70
74
  name?: string | undefined;
71
- color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
72
- readonly onChange?: ((pl: ModelValue, old: ModelValue) => any) | undefined;
75
+ readonly onChange?: ((value: ModelValue, option: Option) => any) | undefined;
73
76
  options: Option[];
74
77
  direction?: "vertical" | "horizontal" | undefined;
75
78
  validateEvent?: boolean | undefined;
76
- readonly "onUpdate:modelValue"?: ((pl: ModelValue) => any) | undefined;
79
+ readonly "onUpdate:modelValue"?: ((value: ModelValue) => any) | undefined;
77
80
  block?: boolean | undefined;
78
81
  config?: Config | undefined;
82
+ variant?: "solid" | "surface" | undefined;
79
83
  bordered?: boolean | undefined;
80
84
  rounded?: boolean | undefined;
81
85
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
@@ -84,12 +88,17 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
84
88
  slots: {
85
89
  default?(_: {
86
90
  item: Option;
91
+ option: OptionMappedType<Option, Config>;
92
+ isActive: boolean;
87
93
  }): any;
88
94
  };
89
95
  emit: {
90
- (e: 'update:modelValue', pl: ModelValue): void;
91
- (e: 'change', pl: ModelValue, old: ModelValue): void;
96
+ (e: 'update:modelValue', value: ModelValue): void;
97
+ (e: 'change', value: ModelValue, option: Option): void;
92
98
  };
93
99
  } | undefined;
94
100
  };
95
101
  export default _default;
102
+ type __VLS_Prettify<T> = {
103
+ [K in keyof T]: T[K];
104
+ } & {};
@@ -26,8 +26,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
26
26
  teleported?: boolean | undefined;
27
27
  readonly "onUpdate:visible"?: ((status: boolean) => any) | undefined;
28
28
  readonly onClear?: (() => any) | undefined;
29
- config?: Config | undefined;
30
29
  valueKey?: string | undefined;
30
+ config?: Config | undefined;
31
31
  readonly "onInitial-value"?: ((value?: (Multiple extends true ? Option[] : Option) | undefined) => any) | undefined;
32
32
  readonly "onRemove-tag"?: ((value: Model) => any) | undefined;
33
33
  readonly "onOption:click"?: ((option: Option) => any) | undefined;
@@ -111,8 +111,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
111
111
  teleported?: boolean | undefined;
112
112
  readonly "onUpdate:visible"?: ((status: boolean) => any) | undefined;
113
113
  readonly onClear?: (() => any) | undefined;
114
- config?: Config | undefined;
115
114
  valueKey?: string | undefined;
115
+ config?: Config | undefined;
116
116
  readonly "onInitial-value"?: ((value?: (Multiple extends true ? Option[] : Option) | undefined) => any) | undefined;
117
117
  readonly "onRemove-tag"?: ((value: Model) => any) | undefined;
118
118
  readonly "onOption:click"?: ((option: Option) => any) | undefined;
@@ -200,8 +200,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
200
200
  teleported?: boolean | undefined;
201
201
  readonly "onUpdate:visible"?: ((status: boolean) => any) | undefined;
202
202
  readonly onClear?: (() => any) | undefined;
203
- config?: Config | undefined;
204
203
  valueKey?: string | undefined;
204
+ config?: Config | undefined;
205
205
  readonly "onInitial-value"?: ((value?: (Multiple extends true ? Option[] : Option) | undefined) => any) | undefined;
206
206
  readonly "onRemove-tag"?: ((value: Model) => any) | undefined;
207
207
  readonly "onOption:click"?: ((option: Option) => any) | undefined;
@@ -1,10 +1,9 @@
1
- import { ActionsColumnType, ColumnFilterState, ColumnType, ColumnTypeItem, ConfigType, Pagination, PaginationProp, SortingOrderDefaultType } from '../../types';
1
+ import { ActionsColumnType, ColumnFilterState, ColumnType, ColumnTypeItem, ConfigType, Pagination, PaginationProp, SortingOrderDefaultType, VcTableDensity } from '../../types';
2
2
  declare const _default: <Option extends object = Record<string, unknown>>(__VLS_props: {
3
3
  height?: string | number | undefined;
4
4
  loading?: boolean | undefined;
5
5
  options?: Option[] | undefined;
6
6
  loaderType?: "default" | "stretch" | "circles" | "load-icon" | "lds-spinner" | "dot-spinner" | undefined;
7
- compact?: boolean | undefined;
8
7
  config?: ConfigType | undefined;
9
8
  readonly "onOn-row-click"?: ((option: Option, index: number) => any) | undefined;
10
9
  readonly "onOn-row-dbclick"?: ((option: Option, index: number) => any) | undefined;
@@ -24,10 +23,11 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
24
23
  readonly "onChange-select-all"?: ((pl: boolean) => any) | undefined;
25
24
  readonly "onClick-per-page-option"?: ((val: number) => any) | undefined;
26
25
  readonly "onUpdate:perPage"?: ((pl: Pagination) => any) | undefined;
27
- columns?: ColumnType | undefined;
26
+ columns?: ColumnType<Option> | undefined;
28
27
  showSelection?: boolean | undefined;
29
28
  expandableRow?: boolean | undefined;
30
29
  rowSelectable?: boolean | undefined;
30
+ density?: VcTableDensity | undefined;
31
31
  stripe?: boolean | undefined;
32
32
  rowUnselect?: boolean | undefined;
33
33
  isServerData?: boolean | undefined;
@@ -55,18 +55,18 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
55
55
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
56
56
  attrs: any;
57
57
  slots: Partial<Record<string, (_: {
58
- column: ColumnTypeItem<Record<string, unknown>>;
58
+ column: ColumnTypeItem<Option>;
59
59
  }) => any>> & Partial<Record<`${string}-title`, (_: {
60
- column: ColumnTypeItem<Record<string, unknown>>;
60
+ column: ColumnTypeItem<Option>;
61
61
  title: string;
62
62
  }) => any>> & Partial<Record<`${string}-filter-option`, (_: {
63
63
  option: {
64
64
  value: string | number;
65
65
  label: string;
66
66
  };
67
- column: ColumnTypeItem<Record<string, unknown>>;
67
+ column: ColumnTypeItem<Option>;
68
68
  }) => any>> & Partial<Record<`${string}-extra`, (_: {
69
- column: ColumnTypeItem<Record<string, unknown>>;
69
+ column: ColumnTypeItem<Option>;
70
70
  }) => any>> & Partial<Record<string, (_: {
71
71
  row: Option & {
72
72
  selected?: boolean | undefined;
@@ -79,7 +79,7 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
79
79
  "checked-tooltip"?(_: {}): any;
80
80
  "actions-column-header"?(_: {}): any;
81
81
  "prepend-row"?(_: {
82
- columns: ColumnType;
82
+ columns: ColumnType<Option>;
83
83
  }): any;
84
84
  "actions-column"?(_: {
85
85
  row: Option & {
@@ -130,7 +130,6 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
130
130
  loading?: boolean | undefined;
131
131
  options?: Option[] | undefined;
132
132
  loaderType?: "default" | "stretch" | "circles" | "load-icon" | "lds-spinner" | "dot-spinner" | undefined;
133
- compact?: boolean | undefined;
134
133
  config?: ConfigType | undefined;
135
134
  readonly "onOn-row-click"?: ((option: Option, index: number) => any) | undefined;
136
135
  readonly "onOn-row-dbclick"?: ((option: Option, index: number) => any) | undefined;
@@ -150,10 +149,11 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
150
149
  readonly "onChange-select-all"?: ((pl: boolean) => any) | undefined;
151
150
  readonly "onClick-per-page-option"?: ((val: number) => any) | undefined;
152
151
  readonly "onUpdate:perPage"?: ((pl: Pagination) => any) | undefined;
153
- columns?: ColumnType | undefined;
152
+ columns?: ColumnType<Option> | undefined;
154
153
  showSelection?: boolean | undefined;
155
154
  expandableRow?: boolean | undefined;
156
155
  rowSelectable?: boolean | undefined;
156
+ density?: VcTableDensity | undefined;
157
157
  stripe?: boolean | undefined;
158
158
  rowUnselect?: boolean | undefined;
159
159
  isServerData?: boolean | undefined;
@@ -191,18 +191,18 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
191
191
  }): void;
192
192
  attrs: any;
193
193
  slots: Partial<Record<string, (_: {
194
- column: ColumnTypeItem<Record<string, unknown>>;
194
+ column: ColumnTypeItem<Option>;
195
195
  }) => any>> & Partial<Record<`${string}-title`, (_: {
196
- column: ColumnTypeItem<Record<string, unknown>>;
196
+ column: ColumnTypeItem<Option>;
197
197
  title: string;
198
198
  }) => any>> & Partial<Record<`${string}-filter-option`, (_: {
199
199
  option: {
200
200
  value: string | number;
201
201
  label: string;
202
202
  };
203
- column: ColumnTypeItem<Record<string, unknown>>;
203
+ column: ColumnTypeItem<Option>;
204
204
  }) => any>> & Partial<Record<`${string}-extra`, (_: {
205
- column: ColumnTypeItem<Record<string, unknown>>;
205
+ column: ColumnTypeItem<Option>;
206
206
  }) => any>> & Partial<Record<string, (_: {
207
207
  row: Option & {
208
208
  selected?: boolean | undefined;
@@ -215,7 +215,7 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
215
215
  "checked-tooltip"?(_: {}): any;
216
216
  "actions-column-header"?(_: {}): any;
217
217
  "prepend-row"?(_: {
218
- columns: ColumnType;
218
+ columns: ColumnType<Option>;
219
219
  }): any;
220
220
  "actions-column"?(_: {
221
221
  row: Option & {
@@ -260,7 +260,6 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
260
260
  loading?: boolean | undefined;
261
261
  options?: Option[] | undefined;
262
262
  loaderType?: "default" | "stretch" | "circles" | "load-icon" | "lds-spinner" | "dot-spinner" | undefined;
263
- compact?: boolean | undefined;
264
263
  config?: ConfigType | undefined;
265
264
  readonly "onOn-row-click"?: ((option: Option, index: number) => any) | undefined;
266
265
  readonly "onOn-row-dbclick"?: ((option: Option, index: number) => any) | undefined;
@@ -280,10 +279,11 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
280
279
  readonly "onChange-select-all"?: ((pl: boolean) => any) | undefined;
281
280
  readonly "onClick-per-page-option"?: ((val: number) => any) | undefined;
282
281
  readonly "onUpdate:perPage"?: ((pl: Pagination) => any) | undefined;
283
- columns?: ColumnType | undefined;
282
+ columns?: ColumnType<Option> | undefined;
284
283
  showSelection?: boolean | undefined;
285
284
  expandableRow?: boolean | undefined;
286
285
  rowSelectable?: boolean | undefined;
286
+ density?: VcTableDensity | undefined;
287
287
  stripe?: boolean | undefined;
288
288
  rowUnselect?: boolean | undefined;
289
289
  isServerData?: boolean | undefined;
@@ -321,18 +321,18 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
321
321
  }): void;
322
322
  attrs: any;
323
323
  slots: Partial<Record<string, (_: {
324
- column: ColumnTypeItem<Record<string, unknown>>;
324
+ column: ColumnTypeItem<Option>;
325
325
  }) => any>> & Partial<Record<`${string}-title`, (_: {
326
- column: ColumnTypeItem<Record<string, unknown>>;
326
+ column: ColumnTypeItem<Option>;
327
327
  title: string;
328
328
  }) => any>> & Partial<Record<`${string}-filter-option`, (_: {
329
329
  option: {
330
330
  value: string | number;
331
331
  label: string;
332
332
  };
333
- column: ColumnTypeItem<Record<string, unknown>>;
333
+ column: ColumnTypeItem<Option>;
334
334
  }) => any>> & Partial<Record<`${string}-extra`, (_: {
335
- column: ColumnTypeItem<Record<string, unknown>>;
335
+ column: ColumnTypeItem<Option>;
336
336
  }) => any>> & Partial<Record<string, (_: {
337
337
  row: Option & {
338
338
  selected?: boolean | undefined;
@@ -345,7 +345,7 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
345
345
  "checked-tooltip"?(_: {}): any;
346
346
  "actions-column-header"?(_: {}): any;
347
347
  "prepend-row"?(_: {
348
- columns: ColumnType;
348
+ columns: ColumnType<Option>;
349
349
  }): any;
350
350
  "actions-column"?(_: {
351
351
  row: Option & {
@@ -11,6 +11,11 @@ interface ITabPanePorps {
11
11
  navClass?: string;
12
12
  closable?: boolean;
13
13
  disabled?: boolean;
14
+ /**
15
+ * @description Why the tab is disabled: shown in a popover while the
16
+ * pointer is over the tab in the nav, and only while `disabled` is true.
17
+ */
18
+ disabledHint?: string;
14
19
  lazy?: boolean;
15
20
  tabData?: unknown;
16
21
  index?: number;
@@ -21,6 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
21
26
  label: string;
22
27
  closable: boolean;
23
28
  disabled: boolean;
29
+ disabledHint: undefined;
24
30
  lazy: boolean;
25
31
  tabData: () => {};
26
32
  index: number;
@@ -35,6 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
35
41
  label: string;
36
42
  closable: boolean;
37
43
  disabled: boolean;
44
+ disabledHint: undefined;
38
45
  lazy: boolean;
39
46
  tabData: () => {};
40
47
  index: number;
@@ -44,6 +51,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
44
51
  icon: TIcon;
45
52
  lazy: boolean;
46
53
  label: string;
54
+ disabledHint: string;
47
55
  closable: boolean;
48
56
  navClass: string;
49
57
  index: number;
@@ -159,6 +159,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
159
159
  [x: string]: unknown;
160
160
  name?: string | undefined;
161
161
  disabled?: boolean | undefined;
162
+ disabledHint?: string | undefined;
162
163
  icon?: string | import("vue").FunctionalComponent<any, {}, any, {}> | {
163
164
  new (...args: any[]): any;
164
165
  __isFragment?: undefined;
@@ -419,6 +420,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
419
420
  [x: string]: unknown;
420
421
  name?: string | undefined;
421
422
  disabled?: boolean | undefined;
423
+ disabledHint?: string | undefined;
422
424
  icon?: string | import("vue").FunctionalComponent<any, {}, any, {}> | {
423
425
  new (...args: any[]): any;
424
426
  __isFragment?: undefined;
@@ -60,9 +60,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
60
60
  color: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive";
61
61
  label: string;
62
62
  square: boolean;
63
+ compact: boolean;
63
64
  closable: boolean;
64
65
  labelClass: string;
65
- compact: boolean;
66
66
  maxContent: string | number;
67
67
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
68
68
  label?(_: {}): any;
@@ -1,4 +1,5 @@
1
1
  import { IVcBaseInputProps } from '../../composables/input/useInputBase';
2
+ import type { VcTimeInputFormat } from '../../types';
2
3
  type TimeSettingsType = {
3
4
  hours: string;
4
5
  minutes: string;
@@ -14,6 +15,11 @@ interface ITimeInputProps extends IVcBaseInputProps {
14
15
  emptyDataText?: string;
15
16
  placeholder?: string;
16
17
  allowMouseWheel?: boolean;
18
+ /**
19
+ * @description Which units the input shows. The model is always seconds; the first unit has no
20
+ * upper limit (`mm:ss` shows 90:00), the ones after it go up to 59. Default `hh:mm:ss`.
21
+ */
22
+ format?: VcTimeInputFormat;
17
23
  }
18
24
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ITimeInputProps>, {
19
25
  id: undefined;
@@ -26,6 +32,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
26
32
  placeholder: string;
27
33
  dataTestName: string;
28
34
  allowMouseWheel: boolean;
35
+ format: string;
29
36
  disabled: boolean;
30
37
  isError: boolean;
31
38
  name: undefined;
@@ -47,6 +54,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
47
54
  placeholder: string;
48
55
  dataTestName: string;
49
56
  allowMouseWheel: boolean;
57
+ format: string;
50
58
  disabled: boolean;
51
59
  isError: boolean;
52
60
  name: undefined;
@@ -66,6 +74,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
66
74
  name: string;
67
75
  placeholder: string;
68
76
  color: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive";
77
+ format: VcTimeInputFormat;
69
78
  step: number;
70
79
  emptyDataText: string;
71
80
  minValue: number;