@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
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  import __themes from "./themes.json.mjs";
2
2
  import { overrideElementTheme as overrideElementTheme$1, globalVariables } from "./themeMerge.mjs";
3
- const _default = __themes.redGreen;
3
+ const _default = __themes.voicenter;
4
4
  const themes = __themes;
5
5
  const overrideElementTheme = overrideElementTheme$1;
6
6
  function appendGlobalCssVariables(cssData, appendTo) {
Binary file
Binary file
@@ -9,6 +9,8 @@ function overrideElementTheme(theme) {
9
9
  ...theme,
10
10
  // A status text colour the theme does not set is the theme's fill of that status.
11
11
  ...Object.fromEntries(statusColors.map((color) => [`vc-content-${color}`, theme[`vc-content-${color}`] ?? theme[`vc-action-${color}`]])),
12
+ // Brand-coloured text (links, active tabs, outline and borderless primary buttons), if the theme does not set it, is its primary fill.
13
+ "vc-content-brand": theme["vc-content-brand"] ?? theme["vc-action-primary"],
12
14
  "el-color-primary": theme["el-color-primary"] ?? theme["vc-action-primary"],
13
15
  "el-color-success": theme["el-color-success"] ?? theme["vc-action-success"],
14
16
  "el-color-warning": theme["el-color-warning"] ?? theme["vc-action-warning"],
@@ -2,6 +2,7 @@ const voicenter = {
2
2
  "vc-content-primary": "#161922",
3
3
  "vc-content-secondary": "#525D70",
4
4
  "vc-content-tertiary": "#567391",
5
+ "vc-content-brand": "#C20027",
5
6
  "vc-content-disabled": "#A6B0C0",
6
7
  "vc-bg-page": "#F8F9FB",
7
8
  "vc-bg-surface": "#FFFFFF",
@@ -14,14 +15,13 @@ const voicenter = {
14
15
  "vc-onfill": "#FFFFFF",
15
16
  "vc-onfill-primary": "#FFFFFF",
16
17
  "vc-action-info": "#2759DA",
17
- "vc-action-success": "#14854A",
18
- "vc-content-success": "#10713E",
18
+ "vc-action-success": "#007D47",
19
+ "vc-content-success": "#007D47",
19
20
  "vc-content-warning": "#BF5001",
20
- "vc-content-warning-icon": "#D67714",
21
21
  "vc-action-warning": "#FEC635",
22
22
  "vc-onfill-warning": "#161922",
23
23
  "vc-action-danger": "#750830",
24
- "vc-action-secondary": "#567391",
24
+ "vc-action-secondary": "#4A607A",
25
25
  "vc-border": "#E2E6EE",
26
26
  "vc-border-strong": "#CDD4E0",
27
27
  "vc-input": "#CDD4E0",
@@ -33,158 +33,47 @@ const voicenter = {
33
33
  "vc-content-danger": "#750830",
34
34
  "vc-content-info": "#2759DA"
35
35
  };
36
- const voicenterRed = {
37
- "vc-content-primary": "#161922",
38
- "vc-content-secondary": "#525D70",
39
- "vc-content-tertiary": "#567391",
40
- "vc-content-disabled": "#A6B0C0",
41
- "vc-bg-page": "#F8F9FB",
42
- "vc-bg-surface": "#FFFFFF",
43
- "vc-bg-inset": "#F8F9FB",
44
- "vc-bg-inset-strong": "#EEF1F4",
45
- "vc-bg-field": "#FFFFFF",
46
- "vc-bg-muted": "#EEF1F4",
47
- "vc-bg-overlay": "#16192280",
48
- "vc-action-primary": "#E80130",
49
- "vc-onfill": "#FFFFFF",
50
- "vc-onfill-primary": "#FFFFFF",
51
- "vc-action-info": "#2759DA",
52
- "vc-action-success": "#14854A",
53
- "vc-content-success": "#10713E",
54
- "vc-content-warning": "#BF5001",
55
- "vc-content-warning-icon": "#D67714",
56
- "vc-action-warning": "#FEC635",
57
- "vc-onfill-warning": "#161922",
58
- "vc-action-danger": "#750830",
59
- "vc-action-secondary": "#567391",
60
- "vc-border": "#E2E6EE",
61
- "vc-border-strong": "#CDD4E0",
62
- "vc-input": "#CDD4E0",
63
- "vc-ring": "#4087FF",
64
- "vc-mix-anchor": "#000000",
65
- "vc-mix-anchor-primary": "#000000",
66
- "vc-mix-anchor-warning": "#000000",
67
- "vc-shadow-color": "#161922",
68
- "vc-content-danger": "#750830",
69
- "vc-content-info": "#2759DA"
70
- };
71
- const red = {
72
- "vc-content-primary": "#263148",
73
- "vc-content-secondary": "#567391",
74
- "vc-content-tertiary": "#9EA6B2",
75
- "vc-content-disabled": "#888F9D",
76
- "vc-bg-page": "#F7FAFC",
77
- "vc-bg-surface": "#FFFFFF",
78
- "vc-bg-inset": "#F7FAFC",
79
- "vc-bg-inset-strong": "#E0E2E5",
80
- "vc-bg-field": "#FFFFFF",
81
- "vc-bg-muted": "#EDEDED",
82
- "vc-bg-overlay": "color-mix(in srgb, #000000 40%, transparent)",
83
- "vc-action-primary": "#FC0303",
84
- "vc-onfill": "#FFFFFF",
85
- "vc-onfill-primary": "#FFFFFF",
86
- "vc-action-info": "#2759DA",
87
- "vc-action-success": "#0EB886",
88
- "vc-content-success": "#0EB886",
89
- "vc-content-warning": "#ECA944",
90
- "vc-content-warning-icon": "#ECA944",
91
- "vc-action-warning": "#ECA944",
92
- "vc-onfill-warning": "#FFFFFF",
93
- "vc-action-danger": "#EC444D",
94
- "vc-action-secondary": "#8292A5",
95
- "vc-border": "#E0E2E5",
96
- "vc-border-strong": "#FFCCCE",
97
- "vc-input": "#BEC2C9",
98
- "vc-ring": "#4087FF",
99
- "vc-mix-anchor": "#000000",
100
- "vc-mix-anchor-primary": "#000000",
101
- "vc-mix-anchor-warning": "#000000",
102
- "vc-shadow-color": "#161922",
103
- "vc-content-danger": "#EC444D",
104
- "vc-content-info": "#2759DA"
105
- };
106
- const redGreen = {
107
- "vc-content-primary": "#263148",
108
- "vc-content-secondary": "#567391",
109
- "vc-content-tertiary": "#9EA6B2",
110
- "vc-content-disabled": "#888F9D",
111
- "vc-bg-page": "#F7FAFC",
112
- "vc-bg-surface": "#FFFFFF",
113
- "vc-bg-inset": "#F7FAFC",
114
- "vc-bg-inset-strong": "#E0E2E5",
115
- "vc-bg-field": "#FFFFFF",
116
- "vc-bg-muted": "#EDEDED",
117
- "vc-bg-overlay": "color-mix(in srgb, #000000 40%, transparent)",
118
- "vc-action-primary": "#D34C4C",
36
+ const voicenterDark = {
37
+ "vc-content-primary": "#E2ECF7",
38
+ "vc-content-secondary": "#93A0B5",
39
+ "vc-content-tertiary": "#6D8AAA",
40
+ "vc-content-brand": "#FF6B6A",
41
+ "vc-content-disabled": "#48515F",
42
+ "vc-bg-page": "#0E1015",
43
+ "vc-bg-surface": "#161922",
44
+ "vc-bg-inset": "#0E1015",
45
+ "vc-bg-inset-strong": "#232427",
46
+ "vc-bg-field": "#161922",
47
+ "vc-bg-muted": "#232427",
48
+ "vc-bg-overlay": "#000000B3",
49
+ "vc-action-primary": "#E50A3B",
119
50
  "vc-onfill": "#FFFFFF",
120
51
  "vc-onfill-primary": "#FFFFFF",
121
- "vc-action-info": "#2759DA",
122
- "vc-action-success": "#0EB886",
123
- "vc-content-success": "#0EB886",
124
- "vc-content-warning": "#ECA944",
125
- "vc-content-warning-icon": "#ECA944",
126
- "vc-action-warning": "#ECA944",
52
+ "vc-action-info": "#2268DE",
53
+ "vc-action-success": "#007A45",
54
+ "vc-content-success": "#00B96B",
55
+ "vc-content-warning": "#D66527",
56
+ "vc-action-warning": "#A25600",
127
57
  "vc-onfill-warning": "#FFFFFF",
128
- "vc-action-danger": "#EC444D",
129
- "vc-action-secondary": "#8292A5",
130
- "vc-border": "#E0E2E5",
131
- "vc-border-strong": "#FFCCCE",
132
- "vc-input": "#BEC2C9",
133
- "vc-ring": "#4087FF",
58
+ "vc-action-danger": "#934A5A",
59
+ "vc-action-secondary": "#5A7189",
60
+ "vc-border": "#282C32",
61
+ "vc-border-strong": "#333841",
62
+ "vc-input": "#333841",
63
+ "vc-ring": "#2268DE",
134
64
  "vc-mix-anchor": "#000000",
135
65
  "vc-mix-anchor-primary": "#000000",
136
66
  "vc-mix-anchor-warning": "#000000",
137
- "vc-shadow-color": "#161922",
138
- "vc-content-danger": "#EC444D",
139
- "vc-content-info": "#2759DA"
140
- };
141
- const black = {
142
- "vc-content-primary": "#FFFFFF",
143
- "vc-content-secondary": "#FFFFFF",
144
- "vc-content-tertiary": "#CCCCCC",
145
- "vc-content-disabled": "#CCCCCC",
146
- "vc-bg-page": "#202124",
147
- "vc-bg-surface": "#000000",
148
- "vc-bg-inset": "#202124",
149
- "vc-bg-inset-strong": "#131212",
150
- "vc-bg-field": "#151515",
151
- "vc-bg-muted": "#3B3D41",
152
- "vc-bg-overlay": "color-mix(in srgb, #636C78 40%, transparent)",
153
- "vc-action-primary": "#D34C4C",
154
- "vc-onfill": "#FFFFFF",
155
- "vc-onfill-primary": "#FFFFFF",
156
- "vc-action-info": "#2759DA",
157
- "vc-action-success": "#13A363",
158
- "vc-content-success": "#13A363",
159
- "vc-content-warning": "#FFB341",
160
- "vc-content-warning-icon": "#FFB341",
161
- "vc-action-warning": "#FFB341",
162
- "vc-onfill-warning": "#FFFFFF",
163
- "vc-action-danger": "#DC3643",
164
- "vc-action-secondary": "#8292A5",
165
- "vc-border": "#474747",
166
- "vc-border-strong": "#E0E2E5",
167
- "vc-input": "#E0E2E5",
168
- "vc-ring": "#4087FF",
169
- "vc-mix-anchor": "#FFFFFF",
170
- "vc-mix-anchor-primary": "#FFFFFF",
171
- "vc-mix-anchor-warning": "#FFFFFF",
172
67
  "vc-shadow-color": "#000000",
173
- "vc-content-danger": "#DC3643",
174
- "vc-content-info": "#2759DA"
68
+ "vc-content-danger": "#FF9BAD",
69
+ "vc-content-info": "#6293FF"
175
70
  };
176
71
  const __themes = {
177
72
  voicenter,
178
- voicenterRed,
179
- red,
180
- redGreen,
181
- black
73
+ voicenterDark
182
74
  };
183
75
  export {
184
- black,
185
76
  __themes as default,
186
- red,
187
- redGreen,
188
77
  voicenter,
189
- voicenterRed
78
+ voicenterDark
190
79
  };
@@ -7,11 +7,13 @@ const VcJsonViewerProvideKey = globalSymbol("VcJsonViewerProvideKey");
7
7
  const VcEntityToken = globalSymbol("entity");
8
8
  const VcEditableTabsDataToken = globalSymbol("editableTabsData");
9
9
  const VcEntityListTableExternalPaginateToken = globalSymbol("entityListTableExternalPaginate");
10
+ const VcFilterOptionsStoreKey = globalSymbol("VcFilterOptionsStoreKey");
10
11
  export {
11
12
  VcCollapseProvideKey,
12
13
  VcEditableTabsDataToken,
13
14
  VcEntityListTableExternalPaginateToken,
14
15
  VcEntityToken,
16
+ VcFilterOptionsStoreKey,
15
17
  VcJsonViewerProvideKey,
16
18
  VcSoundPlayerProvideKey,
17
19
  VcTabPaneProvideKey,
@@ -43,8 +43,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
43
43
  "onUpdate:argsOpen"?: ((open: boolean) => any) | undefined;
44
44
  }>, {
45
45
  title: string;
46
- status: VcApprovalStatus;
47
46
  compact: boolean;
47
+ status: VcApprovalStatus;
48
48
  description: string;
49
49
  actions: VcApprovalAction[];
50
50
  toolName: string;
@@ -27,7 +27,7 @@ interface VcTBProps {
27
27
  large?: boolean;
28
28
  /**
29
29
  * @description Extra class(es) appended to the icon when the toggle
30
- * is "on" (e.g. `'text-action-primary'`). Works for both class-string and
30
+ * is "on" (e.g. `'text-content-brand'`). Works for both class-string and
31
31
  * component icons — Vue merges these onto the icon's root element.
32
32
  */
33
33
  activeIconColor?: string;
@@ -8,8 +8,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
8
8
  max?: number | undefined;
9
9
  min?: number | undefined;
10
10
  readonly "onUpdate:modelValue"?: ((pl: Model[]) => any) | undefined;
11
- config?: Config | undefined;
12
11
  valueKey?: IsObjectWithKeys<Option> | undefined;
12
+ config?: Config | undefined;
13
13
  checkboxes?: Option[] | undefined;
14
14
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
15
15
  attrs: any;
@@ -33,8 +33,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
33
33
  max?: number | undefined;
34
34
  min?: number | undefined;
35
35
  readonly "onUpdate:modelValue"?: ((pl: Model[]) => any) | undefined;
36
- config?: Config | undefined;
37
36
  valueKey?: IsObjectWithKeys<Option> | undefined;
37
+ config?: Config | undefined;
38
38
  checkboxes?: Option[] | undefined;
39
39
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
40
40
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
@@ -62,8 +62,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
62
62
  max?: number | undefined;
63
63
  min?: number | undefined;
64
64
  readonly "onUpdate:modelValue"?: ((pl: Model[]) => any) | undefined;
65
- config?: Config | undefined;
66
65
  valueKey?: IsObjectWithKeys<Option> | undefined;
66
+ config?: Config | undefined;
67
67
  checkboxes?: Option[] | undefined;
68
68
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
69
69
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
@@ -8,8 +8,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
8
8
  max?: number | undefined;
9
9
  min?: number | undefined;
10
10
  readonly "onUpdate:modelValue"?: ((pl: Model[]) => any) | undefined;
11
- config?: Config | undefined;
12
11
  valueKey?: IsObjectWithKeys<Option> | undefined;
12
+ config?: Config | undefined;
13
13
  border?: boolean | undefined;
14
14
  checkboxes?: Option[] | undefined;
15
15
  selectAllLabel?: string | undefined;
@@ -35,8 +35,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
35
35
  max?: number | undefined;
36
36
  min?: number | undefined;
37
37
  readonly "onUpdate:modelValue"?: ((pl: Model[]) => any) | undefined;
38
- config?: Config | undefined;
39
38
  valueKey?: IsObjectWithKeys<Option> | undefined;
39
+ config?: Config | undefined;
40
40
  border?: boolean | undefined;
41
41
  checkboxes?: Option[] | undefined;
42
42
  selectAllLabel?: string | undefined;
@@ -66,8 +66,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
66
66
  max?: number | undefined;
67
67
  min?: number | undefined;
68
68
  readonly "onUpdate:modelValue"?: ((pl: Model[]) => any) | undefined;
69
- config?: Config | undefined;
70
69
  valueKey?: IsObjectWithKeys<Option> | undefined;
70
+ config?: Config | undefined;
71
71
  border?: boolean | undefined;
72
72
  checkboxes?: Option[] | undefined;
73
73
  selectAllLabel?: string | undefined;
@@ -0,0 +1,39 @@
1
+ import type { Slot } from 'vue';
2
+ import type { VcFilterField, VcFilterModel, VcFilterModelOptions } from '../../types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ fields: Array<VcFilterField>;
5
+ modelValue: VcFilterModel;
6
+ modelOptions?: VcFilterModelOptions | undefined;
7
+ /** @description The bar's `#editor-<key>` slots. */
8
+ editorSlots?: Record<string, Slot | undefined> | undefined;
9
+ /** @description The bar's `#editor-footer` slot. */
10
+ footerSlot?: Slot | undefined;
11
+ /** @description A line above a list's options. */
12
+ optionsCaption?: string | undefined;
13
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:modelValue": (value: VcFilterModel) => void;
15
+ "open-modal": (field: VcFilterField) => void;
16
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
17
+ fields: Array<VcFilterField>;
18
+ modelValue: VcFilterModel;
19
+ modelOptions?: VcFilterModelOptions | undefined;
20
+ /** @description The bar's `#editor-<key>` slots. */
21
+ editorSlots?: Record<string, Slot | undefined> | undefined;
22
+ /** @description The bar's `#editor-footer` slot. */
23
+ footerSlot?: Slot | undefined;
24
+ /** @description A line above a list's options. */
25
+ optionsCaption?: string | undefined;
26
+ }>>> & Readonly<{
27
+ "onUpdate:modelValue"?: ((value: VcFilterModel) => any) | undefined;
28
+ "onOpen-modal"?: ((field: VcFilterField) => any) | undefined;
29
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
30
+ export default _default;
31
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
+ type __VLS_TypePropsToRuntimeProps<T> = {
33
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
34
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
+ } : {
36
+ type: import('vue').PropType<T[K]>;
37
+ required: true;
38
+ };
39
+ };
@@ -0,0 +1,132 @@
1
+ import type { VcFilterApplied, VcFilterDateRangeConfig, VcFilterField, VcFilterFieldValue, VcFilterModel, VcFilterOptionsStore, VcFilterSearchConfig, VcFilterErrors, VcFilterRefusedValues } from '../../types';
2
+ declare function updateDateRange(range: [Date, Date] | null): void;
3
+ declare function onSearchInput(text: string, immediate?: boolean): void;
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
+ /** @description The filter: a plain object, sent to the server as it is. */
6
+ modelValue?: VcFilterModel | undefined;
7
+ fields: VcFilterField[];
8
+ /** @description The date range; `false` hides it. Default: shown, `StartTime` / `EndTime` as dates. */
9
+ dateRange?: false | VcFilterDateRangeConfig | undefined;
10
+ /** @description The search line; `false` hides it. Default: shown, the text goes to `search`. */
11
+ search?: false | VcFilterSearchConfig | undefined;
12
+ /** @description The model key of the exclude object. */
13
+ excludeKey?: string | undefined;
14
+ /** @description A store shared with other bars; by default the bar has its own. */
15
+ optionsStore?: VcFilterOptionsStore | undefined;
16
+ /** @description Whether the chip row can be hidden behind "N filters applied". */
17
+ collapsible?: boolean | undefined;
18
+ /** @description A line above a list's options in the Add filter menu, e.g. "Calls in this period". */
19
+ optionsCaption?: string | undefined;
20
+ /**
21
+ * @description Server errors by the path they name (`UserList`, `Exclude.UserList`, `StartTime`):
22
+ * shown at the chip, the date range or the search line, or under the toolbar. An error hides once
23
+ * the user changes what it names.
24
+ */
25
+ errors?: VcFilterErrors | undefined;
26
+ /** @description Values the login may not use, by path (`UserList`, `Exclude.QueueList`): marked in the chip and its editor. */
27
+ refusedValues?: VcFilterRefusedValues | undefined;
28
+ }>, {
29
+ modelValue: () => {};
30
+ dateRange: undefined;
31
+ search: undefined;
32
+ excludeKey: undefined;
33
+ optionsStore: undefined;
34
+ collapsible: boolean;
35
+ optionsCaption: undefined;
36
+ errors: undefined;
37
+ refusedValues: undefined;
38
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
+ "update:modelValue": (value: VcFilterModel) => void;
40
+ search: (text: string) => void;
41
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
42
+ /** @description The filter: a plain object, sent to the server as it is. */
43
+ modelValue?: VcFilterModel | undefined;
44
+ fields: VcFilterField[];
45
+ /** @description The date range; `false` hides it. Default: shown, `StartTime` / `EndTime` as dates. */
46
+ dateRange?: false | VcFilterDateRangeConfig | undefined;
47
+ /** @description The search line; `false` hides it. Default: shown, the text goes to `search`. */
48
+ search?: false | VcFilterSearchConfig | undefined;
49
+ /** @description The model key of the exclude object. */
50
+ excludeKey?: string | undefined;
51
+ /** @description A store shared with other bars; by default the bar has its own. */
52
+ optionsStore?: VcFilterOptionsStore | undefined;
53
+ /** @description Whether the chip row can be hidden behind "N filters applied". */
54
+ collapsible?: boolean | undefined;
55
+ /** @description A line above a list's options in the Add filter menu, e.g. "Calls in this period". */
56
+ optionsCaption?: string | undefined;
57
+ /**
58
+ * @description Server errors by the path they name (`UserList`, `Exclude.UserList`, `StartTime`):
59
+ * shown at the chip, the date range or the search line, or under the toolbar. An error hides once
60
+ * the user changes what it names.
61
+ */
62
+ errors?: VcFilterErrors | undefined;
63
+ /** @description Values the login may not use, by path (`UserList`, `Exclude.QueueList`): marked in the chip and its editor. */
64
+ refusedValues?: VcFilterRefusedValues | undefined;
65
+ }>, {
66
+ modelValue: () => {};
67
+ dateRange: undefined;
68
+ search: undefined;
69
+ excludeKey: undefined;
70
+ optionsStore: undefined;
71
+ collapsible: boolean;
72
+ optionsCaption: undefined;
73
+ errors: undefined;
74
+ refusedValues: undefined;
75
+ }>>> & Readonly<{
76
+ onSearch?: ((text: string) => any) | undefined;
77
+ "onUpdate:modelValue"?: ((value: VcFilterModel) => any) | undefined;
78
+ }>, {
79
+ search: false | VcFilterSearchConfig;
80
+ modelValue: VcFilterModel;
81
+ errors: VcFilterErrors;
82
+ optionsCaption: string;
83
+ dateRange: false | VcFilterDateRangeConfig;
84
+ excludeKey: string;
85
+ optionsStore: VcFilterOptionsStore;
86
+ collapsible: boolean;
87
+ refusedValues: VcFilterRefusedValues;
88
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Partial<Record<`chip-${string}`, (_: {
89
+ item: VcFilterApplied<VcFilterFieldValue>;
90
+ remove: () => void;
91
+ }) => any>> & {
92
+ date?(_: {
93
+ value: [Date, Date] | undefined;
94
+ update: typeof updateDateRange;
95
+ }): any;
96
+ search?(_: {
97
+ text: string;
98
+ update: typeof onSearchInput;
99
+ }): any;
100
+ "search-append"?(_: {}): any;
101
+ add?(_: {
102
+ modelValue: VcFilterModel;
103
+ }): any;
104
+ actions?(_: {
105
+ modelValue: VcFilterModel;
106
+ }): any;
107
+ "footer-start"?(_: {}): any;
108
+ "footer-end"?(_: {}): any;
109
+ }>;
110
+ export default _default;
111
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
112
+ type __VLS_TypePropsToRuntimeProps<T> = {
113
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
114
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
115
+ } : {
116
+ type: import('vue').PropType<T[K]>;
117
+ required: true;
118
+ };
119
+ };
120
+ type __VLS_WithDefaults<P, D> = {
121
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
122
+ default: D[K];
123
+ }> : P[K];
124
+ };
125
+ type __VLS_Prettify<T> = {
126
+ [K in keyof T]: T[K];
127
+ } & {};
128
+ type __VLS_WithTemplateSlots<T, S> = T & {
129
+ new (): {
130
+ $slots: S;
131
+ };
132
+ };
@@ -0,0 +1,42 @@
1
+ import type { VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode } from '../../types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ field: VcFilterField;
4
+ mode: VcFilterMode;
5
+ value: VcFilterFieldValue;
6
+ error?: string | undefined;
7
+ /** @description Values the login may not use. */
8
+ refused?: VcFilterListItem[] | undefined;
9
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ edit: (event: MouseEvent) => void;
11
+ remove: () => void;
12
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
13
+ field: VcFilterField;
14
+ mode: VcFilterMode;
15
+ value: VcFilterFieldValue;
16
+ error?: string | undefined;
17
+ /** @description Values the login may not use. */
18
+ refused?: VcFilterListItem[] | undefined;
19
+ }>>> & Readonly<{
20
+ onRemove?: (() => any) | undefined;
21
+ onEdit?: ((event: MouseEvent) => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
23
+ value?(_: {
24
+ text: string;
25
+ value: VcFilterFieldValue;
26
+ }): any;
27
+ }>;
28
+ export default _default;
29
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
+ type __VLS_TypePropsToRuntimeProps<T> = {
31
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
32
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
+ } : {
34
+ type: import('vue').PropType<T[K]>;
35
+ required: true;
36
+ };
37
+ };
38
+ type __VLS_WithTemplateSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -0,0 +1,46 @@
1
+ import type { Slot } from 'vue';
2
+ import type { VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode, VcFilterModel, VcFilterModelOptions } from '../../types';
3
+ declare function toggle(): void;
4
+ declare function close(): void;
5
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ field: VcFilterField;
7
+ mode: VcFilterMode;
8
+ value: VcFilterFieldValue;
9
+ modelValue: VcFilterModel;
10
+ modelOptions?: VcFilterModelOptions | undefined;
11
+ editorSlots?: Record<string, Slot | undefined> | undefined;
12
+ footerSlot?: Slot | undefined;
13
+ optionsCaption?: string | undefined;
14
+ error?: string | undefined;
15
+ refused?: VcFilterListItem[] | undefined;
16
+ }>>, {
17
+ open: typeof toggle;
18
+ close: typeof close;
19
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ "update:modelValue": (value: VcFilterModel) => void;
21
+ remove: () => void;
22
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
23
+ field: VcFilterField;
24
+ mode: VcFilterMode;
25
+ value: VcFilterFieldValue;
26
+ modelValue: VcFilterModel;
27
+ modelOptions?: VcFilterModelOptions | undefined;
28
+ editorSlots?: Record<string, Slot | undefined> | undefined;
29
+ footerSlot?: Slot | undefined;
30
+ optionsCaption?: string | undefined;
31
+ error?: string | undefined;
32
+ refused?: VcFilterListItem[] | undefined;
33
+ }>>> & Readonly<{
34
+ onRemove?: (() => any) | undefined;
35
+ "onUpdate:modelValue"?: ((value: VcFilterModel) => any) | undefined;
36
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
37
+ export default _default;
38
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
+ type __VLS_TypePropsToRuntimeProps<T> = {
40
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
41
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
42
+ } : {
43
+ type: import('vue').PropType<T[K]>;
44
+ required: true;
45
+ };
46
+ };
@@ -0,0 +1,40 @@
1
+ import type { Slot } from 'vue';
2
+ import type { VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode, VcFilterModel, VcFilterModelOptions } from '../../types';
3
+ import type { DraftOrigin } from './filterBarDraft';
4
+ declare function open(next: {
5
+ field: VcFilterField;
6
+ origin: DraftOrigin;
7
+ mode?: VcFilterMode;
8
+ value?: VcFilterFieldValue;
9
+ error?: string;
10
+ refused?: Array<VcFilterListItem>;
11
+ }): void;
12
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
13
+ modelValue: VcFilterModel;
14
+ modelOptions?: VcFilterModelOptions | undefined;
15
+ editorSlots?: Record<string, Slot | undefined> | undefined;
16
+ footerSlot?: Slot | undefined;
17
+ optionsCaption?: string | undefined;
18
+ }>>, {
19
+ open: typeof open;
20
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ "update:modelValue": (value: VcFilterModel) => void;
22
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
23
+ modelValue: VcFilterModel;
24
+ modelOptions?: VcFilterModelOptions | undefined;
25
+ editorSlots?: Record<string, Slot | undefined> | undefined;
26
+ footerSlot?: Slot | undefined;
27
+ optionsCaption?: string | undefined;
28
+ }>>> & Readonly<{
29
+ "onUpdate:modelValue"?: ((value: VcFilterModel) => any) | undefined;
30
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
31
+ export default _default;
32
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
+ type __VLS_TypePropsToRuntimeProps<T> = {
34
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
35
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
+ } : {
37
+ type: import('vue').PropType<T[K]>;
38
+ required: true;
39
+ };
40
+ };