@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
@@ -1,176 +1,178 @@
1
- const schemeColors = require('./src/theme/tailwindScheme.js')
2
-
3
- // The library build (vite build) takes the classes of the components only, so
4
- // library/style.css has no class that only a documentation page uses; the
5
- // documentation site (npm run dev, TARGET=doc vite build) takes its pages too.
6
- const libraryBuild = process.env.NODE_ENV === 'production' && process.env.TARGET !== 'doc'
7
-
8
- /** @type {import('tailwindcss').Config} */
9
- module.exports = {
10
- content: [ './src/**/*.{vue,js,ts,scss}', ...(libraryBuild ? [] : [ './documentation/**/*.{vue,scss}' ]) ],
11
- plugins: [
12
- require('tailwindcss/plugin')(({ addUtilities }) => {
13
- addUtilities({
14
- '.justify-normal': {
15
- justifyContent: 'normal'
16
- },
17
- // The box of a one-line label ends at the top of its capitals
18
- // and at its baseline, so a control that centres the box
19
- // centres the capitals. Browsers without text-box keep the
20
- // line box. The letters reach out of the box, so a label that
21
- // truncates clips sideways only: overflow-x: clip, and min-w-0
22
- // for a flex item, which overflow: hidden used to give it.
23
- '.text-box-cap': {
24
- textBox: 'trim-both cap alphabetic'
25
- }
26
- })
27
- })
28
- ],
29
- theme: {
30
- fontFamily: {
31
- main: [ 'Rubik', 'system-ui', 'sans-serif' ]
32
- },
33
- screens: {
34
- sm: '680px',
35
- md: '960px',
36
- lg: '1264px',
37
- xl: '1680px',
38
- xxl: '1900px'
39
- },
40
- colors: schemeColors,
41
- borderColor: schemeColors,
42
- backgroundColor: schemeColors,
43
- boxShadow: {
44
- none: 'none',
45
- // Elevation (_foundations.scss --vc-shadow-*)
46
- raised: 'var(--vc-shadow-raised)',
47
- overlay: 'var(--vc-shadow-overlay)',
48
- card: '0px 0px 5px color-mix(in srgb, var(--vc-shadow-color) 12%, transparent)',
49
- 'card-no-active': '0px 0px 5px var(--vc-content-disabled)',
50
- 'table-header': '0 1px 0 0 color-mix(in srgb, var(--vc-shadow-color) 7%, transparent)',
51
- // Focus: the one ring (_foundations.scss --vc-focus-ring); focus-inner draws it inside
52
- focus: 'var(--vc-focus-ring)',
53
- 'focus-inner': 'inset 0 0 0 var(--vc-focus-ring-width) var(--vc-ring)',
54
- 'hover-inner': 'inset 0 0 3px var(--vc-action-primary--hover)',
55
- 'hover-outer': '0 0 3px var(--vc-action-primary--hover)',
56
- 'focus-outer-off': '0 0 3px var(--vc-content-secondary)',
57
- 'hover-outer-off': '0 0 3px var(--vc-content-tertiary)',
58
- // The hover glow of each fill of the scheme, in its hover colour: hover-outer-primary, hover-outer-danger, …
59
- ...Object.fromEntries(Object.entries(schemeColors.action).map(([ fill, states ]) => [ `hover-outer-${fill}`, `0 0 3px ${states.hover}` ])),
60
- 'view-switcher': '0px 0px 4px var(--vc-bg-overlay)',
61
- 'vertical-tab-scroll': 'inset 0 0 8px var(--vc-bg-surface)',
62
- 'vertical-tab-item': '0 1px 6px color-mix(in srgb, var(--vc-shadow-color) 12%, transparent)',
63
- 'vertical-tab-item-hover': 'var(--vc-shadow-raised)',
64
- table: '0px 0px 5px color-mix(in srgb, var(--vc-shadow-color) 12%, transparent)',
65
- 'table-row': '0 10px 10px -12px color-mix(in srgb, var(--vc-shadow-color) 7%, transparent)'
66
- },
67
- fontSize: {
68
- xxs: '0.65rem',
69
- xs: '0.75rem',
70
- sm: '0.875rem',
71
- base: '1rem',
72
- lg: '1.125rem',
73
- xl: '1.25rem',
74
- '2xl': '1.5rem',
75
- '3xl': '2rem',
76
- '4xl': '2.25rem',
77
- '5xl': '2.5rem',
78
- '6xl': '3rem'
79
- },
80
- fill: schemeColors,
81
- stroke: schemeColors,
82
- borderRadius: {
83
- none: '0',
84
- full: '9999px',
85
- // The radius roles (_foundations.scss --vc-radius-*)
86
- control: 'var(--vc-radius-control)',
87
- popup: 'var(--vc-radius-popup)',
88
- card: 'var(--vc-radius-card)',
89
- tag: 'var(--vc-radius-tag)',
90
- inner: 'var(--vc-radius-inner)'
91
- },
92
- extend: {
93
- // For text whose weight changes with its state (selected, active):
94
- // the weight moves with the colour instead of jumping.
95
- transitionProperty: {
96
- weight: 'font-weight, color, background-color'
97
- },
98
- // The three weights of the components' text, from _foundations.scss
99
- // (--vc-font-weight-*); the other weights are Tailwind's.
100
- fontWeight: {
101
- normal: 'var(--vc-font-weight-normal)',
102
- medium: 'var(--vc-font-weight-medium)',
103
- semibold: 'var(--vc-font-weight-semibold)'
104
- },
105
- inset: {
106
- unset: 'unset'
107
- },
108
- minWidth: {
109
- auto: 'auto',
110
- xs: '20rem',
111
- sm: '24rem',
112
- md: '28rem',
113
- lg: '32rem',
114
- xl: '36rem',
115
- '1/4': '25%',
116
- '1/2': '50%',
117
- '3/4': '75%',
118
- screen: '100vw'
119
- },
120
- minHeight: {
121
- 2: '2rem',
122
- 5.5: '1.375rem',
123
- 6.5: '1.625rem',
124
- 8: '2rem',
125
- screen: '100vh',
126
- inherit: 'inherit'
127
- },
128
- maxWidth: {
129
- '1/2': '50%',
130
- screen: '100vw'
131
- },
132
- maxHeight: {
133
- inherit: 'inherit'
134
- },
135
- height: {
136
- 0.5: '2px',
137
- 'fit-content': 'fit-content',
138
- 'modal-wizard': '680px'
139
- },
140
- spacing: {
141
- 15: '3.75rem',
142
- unset: 'unset'
143
- },
144
- width: {},
145
- lineHeight: {
146
- '40px': '40px'
147
- },
148
- zIndex: {
149
- 1: 1,
150
- 5: 5
151
- },
152
- rotate: {
153
- 135: '135deg',
154
- 225: '225deg'
155
- }
156
- }
157
- },
158
- safelist: [
159
- // Essential text sizes
160
- {
161
- pattern: /text-(xxs|xs|sm|base|lg|2xl|3xl|4xl|5xl|6xl)/,
162
- variants: [ 'hover', 'focus' ]
163
- },
164
- // Essential fonts
165
- 'font-main',
166
- // Essential colour classes for dynamic theming (the action colours)
167
- {
168
- pattern: /^(text|bg|border)-action-(primary|secondary|info|success|warning|danger)$/,
169
- variants: [ 'hover', 'focus' ]
170
- }
171
- ],
172
- variants: {
173
- backgroundColor: [ 'responsive', 'hover', 'focus', 'active' ]
174
- }
175
- }
176
-
1
+ const schemeColors = require('./src/theme/tailwindScheme.js')
2
+
3
+ // The library build (vite build) takes the classes of the components only, so
4
+ // library/style.css has no class that only a documentation page uses; the
5
+ // documentation site (npm run dev, TARGET=doc vite build) takes its pages too.
6
+ const libraryBuild = process.env.NODE_ENV === 'production' && process.env.TARGET !== 'doc'
7
+
8
+ /** @type {import('tailwindcss').Config} */
9
+ module.exports = {
10
+ content: [ './src/**/*.{vue,js,ts,scss}', ...(libraryBuild ? [] : [ './documentation/**/*.{vue,scss}' ]) ],
11
+ plugins: [
12
+ require('tailwindcss/plugin')(({ addUtilities }) => {
13
+ addUtilities({
14
+ '.justify-normal': {
15
+ justifyContent: 'normal'
16
+ },
17
+ // The box of a one-line label ends at the top of its capitals
18
+ // and at its baseline, so a control that centres the box
19
+ // centres the capitals. Browsers without text-box keep the
20
+ // line box. The letters reach out of the box, so a label that
21
+ // truncates clips sideways only: overflow-x: clip, and min-w-0
22
+ // for a flex item, which overflow: hidden used to give it.
23
+ '.text-box-cap': {
24
+ textBox: 'trim-both cap alphabetic'
25
+ }
26
+ })
27
+ })
28
+ ],
29
+ theme: {
30
+ fontFamily: {
31
+ main: [ 'Rubik', 'system-ui', 'sans-serif' ]
32
+ },
33
+ screens: {
34
+ sm: '680px',
35
+ md: '960px',
36
+ lg: '1264px',
37
+ xl: '1680px',
38
+ xxl: '1900px'
39
+ },
40
+ colors: schemeColors,
41
+ borderColor: schemeColors,
42
+ backgroundColor: schemeColors,
43
+ boxShadow: {
44
+ none: 'none',
45
+ // Elevation (_foundations.scss --vc-shadow-*)
46
+ raised: 'var(--vc-shadow-raised)',
47
+ overlay: 'var(--vc-shadow-overlay)',
48
+ card: '0px 0px 5px color-mix(in srgb, var(--vc-shadow-color) 12%, transparent)',
49
+ 'card-no-active': '0px 0px 5px var(--vc-content-disabled)',
50
+ 'table-header': '0 1px 0 0 color-mix(in srgb, var(--vc-shadow-color) 7%, transparent)',
51
+ // Focus: the one ring (_foundations.scss --vc-focus-ring); focus-inner draws it inside
52
+ focus: 'var(--vc-focus-ring)',
53
+ 'focus-inner': 'inset 0 0 0 var(--vc-focus-ring-width) var(--vc-ring)',
54
+ 'hover-inner': 'inset 0 0 3px var(--vc-action-primary--hover)',
55
+ 'hover-outer': '0 0 3px var(--vc-action-primary--hover)',
56
+ 'focus-outer-off': '0 0 3px var(--vc-content-secondary)',
57
+ 'hover-outer-off': '0 0 3px var(--vc-content-tertiary)',
58
+ // The hover glow of each fill of the scheme, in its hover colour: hover-outer-primary, hover-outer-danger, …
59
+ ...Object.fromEntries(Object.entries(schemeColors.action).map(([ fill, states ]) => [ `hover-outer-${fill}`, `0 0 3px ${states.hover}` ])),
60
+ 'view-switcher': '0px 0px 4px var(--vc-bg-overlay)',
61
+ 'vertical-tab-scroll': 'inset 0 0 8px var(--vc-bg-surface)',
62
+ 'vertical-tab-item': '0 1px 6px color-mix(in srgb, var(--vc-shadow-color) 12%, transparent)',
63
+ 'vertical-tab-item-hover': 'var(--vc-shadow-raised)',
64
+ table: '0px 0px 5px color-mix(in srgb, var(--vc-shadow-color) 12%, transparent)',
65
+ 'table-row': '0 10px 10px -12px color-mix(in srgb, var(--vc-shadow-color) 7%, transparent)'
66
+ },
67
+ fontSize: {
68
+ xxs: '0.65rem',
69
+ xs: '0.75rem',
70
+ sm: '0.875rem',
71
+ base: '1rem',
72
+ lg: '1.125rem',
73
+ xl: '1.25rem',
74
+ '2xl': '1.5rem',
75
+ '3xl': '2rem',
76
+ '4xl': '2.25rem',
77
+ '5xl': '2.5rem',
78
+ '6xl': '3rem'
79
+ },
80
+ fill: schemeColors,
81
+ stroke: schemeColors,
82
+ borderRadius: {
83
+ none: '0',
84
+ full: '9999px',
85
+ // The radius roles (_foundations.scss --vc-radius-*)
86
+ control: 'var(--vc-radius-control)',
87
+ // A control at the small size (--vc-size-control-sm)
88
+ 'control-sm': 'var(--vc-radius-control-sm)',
89
+ popup: 'var(--vc-radius-popup)',
90
+ card: 'var(--vc-radius-card)',
91
+ tag: 'var(--vc-radius-tag)',
92
+ inner: 'var(--vc-radius-inner)'
93
+ },
94
+ extend: {
95
+ // For text whose weight changes with its state (selected, active):
96
+ // the weight moves with the colour instead of jumping.
97
+ transitionProperty: {
98
+ weight: 'font-weight, color, background-color'
99
+ },
100
+ // The three weights of the components' text, from _foundations.scss
101
+ // (--vc-font-weight-*); the other weights are Tailwind's.
102
+ fontWeight: {
103
+ normal: 'var(--vc-font-weight-normal)',
104
+ medium: 'var(--vc-font-weight-medium)',
105
+ semibold: 'var(--vc-font-weight-semibold)'
106
+ },
107
+ inset: {
108
+ unset: 'unset'
109
+ },
110
+ minWidth: {
111
+ auto: 'auto',
112
+ xs: '20rem',
113
+ sm: '24rem',
114
+ md: '28rem',
115
+ lg: '32rem',
116
+ xl: '36rem',
117
+ '1/4': '25%',
118
+ '1/2': '50%',
119
+ '3/4': '75%',
120
+ screen: '100vw'
121
+ },
122
+ minHeight: {
123
+ 2: '2rem',
124
+ 5.5: '1.375rem',
125
+ 6.5: '1.625rem',
126
+ 8: '2rem',
127
+ screen: '100vh',
128
+ inherit: 'inherit'
129
+ },
130
+ maxWidth: {
131
+ '1/2': '50%',
132
+ screen: '100vw'
133
+ },
134
+ maxHeight: {
135
+ inherit: 'inherit'
136
+ },
137
+ height: {
138
+ 0.5: '2px',
139
+ 'fit-content': 'fit-content',
140
+ 'modal-wizard': '680px'
141
+ },
142
+ spacing: {
143
+ 15: '3.75rem',
144
+ unset: 'unset'
145
+ },
146
+ width: {},
147
+ lineHeight: {
148
+ '40px': '40px'
149
+ },
150
+ zIndex: {
151
+ 1: 1,
152
+ 5: 5
153
+ },
154
+ rotate: {
155
+ 135: '135deg',
156
+ 225: '225deg'
157
+ }
158
+ }
159
+ },
160
+ safelist: [
161
+ // Essential text sizes
162
+ {
163
+ pattern: /text-(xxs|xs|sm|base|lg|2xl|3xl|4xl|5xl|6xl)/,
164
+ variants: [ 'hover', 'focus' ]
165
+ },
166
+ // Essential fonts
167
+ 'font-main',
168
+ // Essential colour classes for dynamic theming (the action colours)
169
+ {
170
+ pattern: /^(text|bg|border)-action-(primary|secondary|info|success|warning|danger)$/,
171
+ variants: [ 'hover', 'focus' ]
172
+ }
173
+ ],
174
+ variants: {
175
+ backgroundColor: [ 'responsive', 'hover', 'focus', 'active' ]
176
+ }
177
+ }
178
+
@@ -1 +0,0 @@
1
- .vc-datetime-picker--deprecated{padding:1rem;border:1px dashed var(--vc-action-warning);border-radius:var(--vc-radius-inner);background-color:var(--vc-action-warning--subtle-hover)}.vc-datetime-picker__deprecated-message{color:var(--vc-content-warning);font-size:14px}
@@ -1 +0,0 @@
1
- .vc-view-switcher{display:flex;width:-moz-max-content;width:max-content;align-items:center}.vc-view-switcher>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)));border-color:var(--vc-border)}.vc-view-switcher{border-radius:var(--vc-radius-control);border-width:1px;border-color:var(--vc-border);color:var(--vc-content-disabled);outline:2px solid transparent;outline-offset:2px;background-color:var(--vc-bg-muted)}.vc-view-switcher__wrap{position:relative;display:flex;overflow-x:auto;overflow-y:hidden}.vc-view-switcher__wrap::-webkit-scrollbar{width:2px;height:2px}.vc-view-switcher-item{position:relative;display:inline-flex;cursor:pointer;align-items:center;border-radius:var(--vc-radius-inner);padding:.5rem .75rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.vc-view-switcher-item--icon{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.vc-view-switcher-item--text{white-space:nowrap;font-size:.875rem;font-weight:var(--vc-font-weight-medium);color:var(--vc-action-secondary);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.vc-view-switcher-item--active{background-color:var(--vc-bg-surface);--tw-shadow: 0px 0px 4px var(--vc-bg-overlay);--tw-shadow-colored: 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.vc-view-switcher-item--active .vc-view-switcher-item--text{color:var(--vc-content-primary)}.vc-view-switcher-item--active .vc-view-switcher-item--icon{color:var(--vc-action-primary)}.vc-view-switcher-item--vertical-line{margin-left:.125rem;margin-right:.125rem;display:inline-block;height:2rem;border-right-width:1px;border-color:var(--vc-border)}.vc-view-switcher-item:not(.vc-view-switcher-item--active):not(.vc-view-switcher-item--disabled):hover{background-color:var(--vc-action-primary--subtle-hover)}.vc-view-switcher-item:not(.vc-view-switcher-item--active):not(.vc-view-switcher-item--disabled):hover .vc-view-switcher-item--text,.vc-view-switcher-item:not(.vc-view-switcher-item--active):not(.vc-view-switcher-item--disabled):hover .vc-view-switcher-item--icon{color:var(--vc-content-primary)}.vc-view-switcher-item:not(.vc-view-switcher-item--active):focus-visible{background-color:var(--vc-action-primary--subtle-hover)}.vc-view-switcher-item:not(.vc-view-switcher-item--active):focus-visible .vc-view-switcher-item--text,.vc-view-switcher-item:not(.vc-view-switcher-item--active):focus-visible .vc-view-switcher-item--icon{color:var(--vc-content-primary)}.vc-view-switcher-item{outline:2px solid transparent;outline-offset:2px}.vc-view-switcher-item--disabled{cursor:not-allowed;opacity:.5}.vc-view-switcher--disabled{cursor:not-allowed;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:.5}.vc-view-switcher--disabled .vc-view-switcher-item:hover,.vc-view-switcher--disabled .vc-view-switcher-item--active,.vc-view-switcher--disabled .vc-view-switcher-item:not(.vc-view-switcher-item--active):not(.vc-view-switcher-item--disabled):hover{cursor:not-allowed;background-color:var(--vc-action-secondary--subtle-hover);opacity:.5}.vc-view-switcher-container{display:inline-flex;align-items:center;padding:.125rem}
@@ -1,24 +0,0 @@
1
- import '../../assets/components/VcDatetimeRangePicker/VcDatetimeRangePicker.css';
2
- import { defineComponent, openBlock, createElementBlock, createElementVNode } from "vue";
3
- const _hoisted_1 = {
4
- ref: "pickerWrap",
5
- class: "vc-datetime-picker vc-datetime-picker--deprecated"
6
- };
7
- const _sfc_main = /* @__PURE__ */ defineComponent({
8
- ...{
9
- name: "VcDatetimeRangePicker",
10
- inheritAttrs: false
11
- },
12
- __name: "VcDatetimeRangePicker",
13
- setup(__props) {
14
- console.warn("[VcDatetimeRangePicker] This component is deprecated. Please use VcExtendedDatetimeRangePicker instead.");
15
- return (_ctx, _cache) => {
16
- return openBlock(), createElementBlock("div", _hoisted_1, [..._cache[0] || (_cache[0] = [
17
- createElementVNode("span", { class: "vc-datetime-picker__deprecated-message" }, " This component is deprecated. Please use VcExtendedDatetimeRangePicker instead. ", -1)
18
- ])], 512);
19
- };
20
- }
21
- });
22
- export {
23
- _sfc_main as default
24
- };
@@ -1,5 +0,0 @@
1
- import _sfc_main from "./VcDatetimeRangePicker.vue.mjs";
2
- import '../../assets/components/VcDatetimeRangePicker/VcDatetimeRangePicker.css';/* empty css */
3
- export {
4
- _sfc_main as default
5
- };
@@ -1,86 +0,0 @@
1
- import '../../assets/components/VcViewSwitcher/VcViewSwitcher.css';
2
- import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, normalizeClass, Fragment, renderList, withKeys, unref, renderSlot, createVNode, toDisplayString } from "vue";
3
- import { useVModel } from "@vueuse/core";
4
- import useOptionMethods from "../../composables/option/useOptionMethods.mjs";
5
- import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
6
- import '../../assets/components/VcIcon/VcIcon.css';/* empty css */
7
- const _hoisted_1 = { class: "vc-view-switcher__wrap" };
8
- const _hoisted_2 = ["data-test"];
9
- const _hoisted_3 = ["tabindex", "onKeyup", "onClick"];
10
- const _hoisted_4 = { class: "flex items-center gap-1.5" };
11
- const _hoisted_5 = { class: "vc-view-switcher-item--text" };
12
- const _sfc_main = /* @__PURE__ */ defineComponent({
13
- __name: "VcViewSwitcher",
14
- props: {
15
- disabled: { type: Boolean, default: false },
16
- dataTestName: { default: "default" },
17
- modelValue: { default: void 0 },
18
- config: { default: void 0 },
19
- options: { default: () => [] }
20
- },
21
- emits: ["change", "update:modelValue"],
22
- setup(__props, { emit: __emit }) {
23
- const props = __props;
24
- const { optionListMap } = useOptionMethods();
25
- const emit = __emit;
26
- const activeElement = useVModel(
27
- props,
28
- "modelValue",
29
- emit
30
- );
31
- const optionsMapped = computed(() => {
32
- return optionListMap(props.options, props.config);
33
- });
34
- function onClick(option) {
35
- if (option.disabled || props.disabled) {
36
- return;
37
- }
38
- const value = option.value;
39
- activeElement.value = value;
40
- emit("change", option.originalItem);
41
- emit("update:modelValue", value);
42
- }
43
- return (_ctx, _cache) => {
44
- return openBlock(), createElementBlock("div", _hoisted_1, [
45
- createElementVNode("div", {
46
- class: normalizeClass(["vc-view-switcher", { "vc-view-switcher--disabled": __props.disabled }]),
47
- "data-test": __props.dataTestName
48
- }, [
49
- (openBlock(true), createElementBlock(Fragment, null, renderList(optionsMapped.value, (option) => {
50
- return openBlock(), createElementBlock("div", {
51
- key: option.key,
52
- class: "vc-view-switcher-container",
53
- tabindex: "-1"
54
- }, [
55
- createElementVNode("div", {
56
- class: normalizeClass(["vc-view-switcher-item", [
57
- { "vc-view-switcher-item--active": option.value === unref(activeElement) },
58
- { "vc-view-switcher-item--disabled": option.disabled }
59
- ]]),
60
- tabindex: option.disabled ? -1 : 0,
61
- onKeyup: withKeys(($event) => onClick(option), ["enter"]),
62
- onClick: ($event) => onClick(option)
63
- }, [
64
- renderSlot(_ctx.$slots, "tab-item", {
65
- option,
66
- isActive: option.value === unref(activeElement)
67
- }, () => [
68
- createElementVNode("div", _hoisted_4, [
69
- createVNode(_sfc_main$1, {
70
- icon: option.icon,
71
- class: "vc-view-switcher-item--icon"
72
- }, null, 8, ["icon"]),
73
- createElementVNode("span", _hoisted_5, toDisplayString(option.label), 1)
74
- ])
75
- ])
76
- ], 42, _hoisted_3)
77
- ]);
78
- }), 128))
79
- ], 10, _hoisted_2)
80
- ]);
81
- };
82
- }
83
- });
84
- export {
85
- _sfc_main as default
86
- };
@@ -1,5 +0,0 @@
1
- import _sfc_main from "./VcViewSwitcher.vue.mjs";
2
- import '../../assets/components/VcViewSwitcher/VcViewSwitcher.css';/* empty css */
3
- export {
4
- _sfc_main as default
5
- };
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
- export default _default;
@@ -1,74 +0,0 @@
1
- import { ConfigOptionType, ExtractValueType, OptionMappedType, OptionValueType } from '../../types';
2
- declare const _default: <Option extends OptionValueType, Config extends ConfigOptionType<Option>, Model extends ExtractValueType<Option, Config>>(__VLS_props: {
3
- disabled?: boolean | undefined;
4
- modelValue?: Model | undefined;
5
- dataTestName?: string | undefined;
6
- readonly onChange?: ((option: Option) => any) | undefined;
7
- options?: Option[] | undefined;
8
- readonly "onUpdate:modelValue"?: ((value: Model) => any) | undefined;
9
- config?: Config | undefined;
10
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
11
- attrs: any;
12
- slots: {
13
- "tab-item"?(_: {
14
- option: OptionMappedType<Option, Config>;
15
- isActive: boolean;
16
- }): any;
17
- };
18
- emit: {
19
- (event: 'change', option: Option): void;
20
- (event: 'update:modelValue', value: Model): void;
21
- };
22
- } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
23
- props: {
24
- disabled?: boolean | undefined;
25
- modelValue?: Model | undefined;
26
- dataTestName?: string | undefined;
27
- readonly onChange?: ((option: Option) => any) | undefined;
28
- options?: Option[] | undefined;
29
- readonly "onUpdate:modelValue"?: ((value: Model) => any) | undefined;
30
- config?: Config | undefined;
31
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
32
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
33
- attrs: any;
34
- slots: {
35
- "tab-item"?(_: {
36
- option: OptionMappedType<Option, Config>;
37
- isActive: boolean;
38
- }): any;
39
- };
40
- emit: {
41
- (event: 'change', option: Option): void;
42
- (event: 'update:modelValue', value: Model): void;
43
- };
44
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
- [key: string]: any;
46
- }> & {
47
- __ctx?: {
48
- props: {
49
- disabled?: boolean | undefined;
50
- modelValue?: Model | undefined;
51
- dataTestName?: string | undefined;
52
- readonly onChange?: ((option: Option) => any) | undefined;
53
- options?: Option[] | undefined;
54
- readonly "onUpdate:modelValue"?: ((value: Model) => any) | undefined;
55
- config?: Config | undefined;
56
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
57
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
58
- attrs: any;
59
- slots: {
60
- "tab-item"?(_: {
61
- option: OptionMappedType<Option, Config>;
62
- isActive: boolean;
63
- }): any;
64
- };
65
- emit: {
66
- (event: 'change', option: Option): void;
67
- (event: 'update:modelValue', value: Model): void;
68
- };
69
- } | undefined;
70
- };
71
- export default _default;
72
- type __VLS_Prettify<T> = {
73
- [K in keyof T]: T[K];
74
- } & {};