@vc-shell/framework 1.1.0-alpha.8 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (978) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/core/README.md +365 -0
  3. package/core/composables/index.ts +3 -0
  4. package/core/composables/useAppBarMobileButtons/index.ts +17 -0
  5. package/core/composables/useAppBarWidget/index.ts +19 -0
  6. package/core/composables/useGlobalSearch/index.ts +4 -27
  7. package/core/composables/useKeyboardNavigation/index.ts +211 -0
  8. package/core/composables/useSettingsMenu/index.ts +23 -0
  9. package/core/composables/useTheme/index.ts +64 -62
  10. package/core/composables/useToolbar.ts +88 -0
  11. package/core/services/app-bar-menu-service.ts +87 -0
  12. package/core/services/app-bar-mobile-buttons-service.ts +57 -0
  13. package/core/services/global-search-service.ts +36 -0
  14. package/core/services/index.ts +8 -0
  15. package/core/services/settings-menu-service.ts +75 -0
  16. package/core/services/toolbar-service.ts +141 -0
  17. package/core/services/widget-service.ts +15 -3
  18. package/core/types/index.ts +5 -8
  19. package/dist/core/composables/index.d.ts +3 -0
  20. package/dist/core/composables/index.d.ts.map +1 -1
  21. package/dist/core/composables/useAppBarMobileButtons/index.d.ts +3 -0
  22. package/dist/core/composables/useAppBarMobileButtons/index.d.ts.map +1 -0
  23. package/dist/core/composables/useAppBarWidget/index.d.ts +5 -0
  24. package/dist/core/composables/useAppBarWidget/index.d.ts.map +1 -0
  25. package/dist/core/composables/useAppInsights/index.d.ts.map +1 -1
  26. package/dist/core/composables/useBeforeUnload/index.d.ts.map +1 -1
  27. package/dist/core/composables/useGlobalSearch/index.d.ts +2 -8
  28. package/dist/core/composables/useGlobalSearch/index.d.ts.map +1 -1
  29. package/dist/core/composables/useKeyboardNavigation/index.d.ts +24 -0
  30. package/dist/core/composables/useKeyboardNavigation/index.d.ts.map +1 -0
  31. package/dist/core/composables/useLanguages/index.d.ts.map +1 -1
  32. package/dist/core/composables/useSettingsMenu/index.d.ts +5 -0
  33. package/dist/core/composables/useSettingsMenu/index.d.ts.map +1 -0
  34. package/dist/core/composables/useTheme/index.d.ts.map +1 -1
  35. package/dist/core/composables/useToolbar.d.ts +15 -0
  36. package/dist/core/composables/useToolbar.d.ts.map +1 -0
  37. package/dist/core/directives/autofocus/index.d.ts.map +1 -1
  38. package/dist/core/directives/loading/index.d.ts.map +1 -1
  39. package/dist/core/interceptors/index.d.ts +1 -1
  40. package/dist/core/interceptors/index.d.ts.map +1 -1
  41. package/dist/core/plugins/modularity/extensions-helper.d.ts.map +1 -1
  42. package/dist/core/plugins/validation/rules.d.ts.map +1 -1
  43. package/dist/core/services/app-bar-menu-service.d.ts +29 -0
  44. package/dist/core/services/app-bar-menu-service.d.ts.map +1 -0
  45. package/dist/core/services/app-bar-mobile-buttons-service.d.ts +24 -0
  46. package/dist/core/services/app-bar-mobile-buttons-service.d.ts.map +1 -0
  47. package/dist/core/services/global-search-service.d.ts +10 -0
  48. package/dist/core/services/global-search-service.d.ts.map +1 -0
  49. package/dist/core/services/index.d.ts +9 -0
  50. package/dist/core/services/index.d.ts.map +1 -0
  51. package/dist/core/services/settings-menu-service.d.ts +25 -0
  52. package/dist/core/services/settings-menu-service.d.ts.map +1 -0
  53. package/dist/core/services/toolbar-service.d.ts +29 -0
  54. package/dist/core/services/toolbar-service.d.ts.map +1 -0
  55. package/dist/core/services/widget-service.d.ts +7 -1
  56. package/dist/core/services/widget-service.d.ts.map +1 -1
  57. package/dist/core/types/index.d.ts +3 -6
  58. package/dist/core/types/index.d.ts.map +1 -1
  59. package/dist/core/utilities/kebabToCamel.d.ts.map +1 -1
  60. package/dist/index.d.ts +7 -0
  61. package/dist/index.d.ts.map +1 -1
  62. package/dist/injection-keys.d.ts +6 -28
  63. package/dist/injection-keys.d.ts.map +1 -1
  64. package/dist/locales/de.json +3 -0
  65. package/dist/locales/en.json +3 -0
  66. package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts +4 -25
  67. package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts.map +1 -1
  68. package/dist/shared/components/app-switcher/index.d.ts +2 -2
  69. package/dist/shared/components/app-switcher/index.d.ts.map +1 -1
  70. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue.d.ts +3 -14
  71. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue.d.ts.map +1 -1
  72. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts.map +1 -1
  73. package/dist/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.d.ts.map +1 -1
  74. package/dist/shared/components/change-password/change-password.vue.d.ts +4 -13
  75. package/dist/shared/components/change-password/change-password.vue.d.ts.map +1 -1
  76. package/dist/shared/components/change-password/index.d.ts +2 -19
  77. package/dist/shared/components/change-password/index.d.ts.map +1 -1
  78. package/dist/shared/components/change-password-button/change-password-button.vue.d.ts.map +1 -1
  79. package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts +9 -19
  80. package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts.map +1 -1
  81. package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts +9 -19
  82. package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts.map +1 -1
  83. package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts +11 -21
  84. package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts.map +1 -1
  85. package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts +9 -15
  86. package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts.map +1 -1
  87. package/dist/shared/components/draggable-dashboard/DraggableDashboard.vue.d.ts.map +1 -1
  88. package/dist/shared/components/draggable-dashboard/_internal/DashboardWidget.vue.d.ts +4 -13
  89. package/dist/shared/components/draggable-dashboard/_internal/DashboardWidget.vue.d.ts.map +1 -1
  90. package/dist/shared/components/draggable-dashboard/composables/useCollisionDetection.d.ts.map +1 -1
  91. package/dist/shared/components/draggable-dashboard/composables/useDashboardDragAndDrop.d.ts +36 -38
  92. package/dist/shared/components/draggable-dashboard/composables/useDashboardDragAndDrop.d.ts.map +1 -1
  93. package/dist/shared/components/draggable-dashboard/composables/useDashboardGrid.d.ts +2 -2
  94. package/dist/shared/components/draggable-dashboard/composables/useEventCoordinates.d.ts.map +1 -1
  95. package/dist/shared/components/draggable-dashboard/composables/useGridPosition.d.ts.map +1 -1
  96. package/dist/shared/components/draggable-dashboard/composables/useGridSystem.d.ts.map +1 -1
  97. package/dist/shared/components/draggable-dashboard/composables/useLayoutPersistence.d.ts.map +1 -1
  98. package/dist/shared/components/draggable-dashboard/composables/useWidgetLayout.d.ts.map +1 -1
  99. package/dist/shared/components/error-interceptor/index.d.ts +9 -60
  100. package/dist/shared/components/error-interceptor/index.d.ts.map +1 -1
  101. package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts +27 -101
  102. package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts.map +1 -1
  103. package/dist/shared/components/language-selector/index.d.ts +2 -1
  104. package/dist/shared/components/language-selector/index.d.ts.map +1 -1
  105. package/dist/shared/components/language-selector/language-selector.vue.d.ts.map +1 -1
  106. package/dist/shared/components/logout-button/logout-button.vue.d.ts.map +1 -1
  107. package/dist/shared/components/notification-dropdown/_internal/notification/notification.vue.d.ts +4 -13
  108. package/dist/shared/components/notification-dropdown/_internal/notification/notification.vue.d.ts.map +1 -1
  109. package/dist/shared/components/notification-dropdown/index.d.ts +2 -13
  110. package/dist/shared/components/notification-dropdown/index.d.ts.map +1 -1
  111. package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts +1 -27
  112. package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts.map +1 -1
  113. package/dist/shared/components/notification-template/index.d.ts +2 -62
  114. package/dist/shared/components/notification-template/index.d.ts.map +1 -1
  115. package/dist/shared/components/notification-template/notification-template.vue.d.ts +7 -13
  116. package/dist/shared/components/notification-template/notification-template.vue.d.ts.map +1 -1
  117. package/dist/shared/components/notifications/components/notification-container/index.d.ts +18 -18
  118. package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
  119. package/dist/shared/components/notifications/composables/useContainer/index.d.ts +8 -3
  120. package/dist/shared/components/notifications/composables/useContainer/index.d.ts.map +1 -1
  121. package/dist/shared/components/notifications/composables/useInstance/index.d.ts +4 -2
  122. package/dist/shared/components/notifications/composables/useInstance/index.d.ts.map +1 -1
  123. package/dist/shared/components/notifications/core/notification.d.ts +9 -2
  124. package/dist/shared/components/notifications/core/notification.d.ts.map +1 -1
  125. package/dist/shared/components/notifications/types/index.d.ts +3 -3
  126. package/dist/shared/components/notifications/types/index.d.ts.map +1 -1
  127. package/dist/shared/components/popup-handler/components/vc-popup-container/index.d.ts +2 -1
  128. package/dist/shared/components/popup-handler/components/vc-popup-container/index.d.ts.map +1 -1
  129. package/dist/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue.d.ts.map +1 -1
  130. package/dist/shared/components/settings-menu/settings-menu.vue.d.ts.map +1 -1
  131. package/dist/shared/components/settings-menu-item/settings-menu-item.vue.d.ts +20 -36
  132. package/dist/shared/components/settings-menu-item/settings-menu-item.vue.d.ts.map +1 -1
  133. package/dist/shared/components/sidebar/sidebar.vue.d.ts +19 -38
  134. package/dist/shared/components/sidebar/sidebar.vue.d.ts.map +1 -1
  135. package/dist/shared/components/sign-in/external-provider.vue.d.ts +4 -13
  136. package/dist/shared/components/sign-in/external-provider.vue.d.ts.map +1 -1
  137. package/dist/shared/components/sign-in/external-providers.vue.d.ts +1 -10
  138. package/dist/shared/components/sign-in/external-providers.vue.d.ts.map +1 -1
  139. package/dist/shared/components/theme-selector/theme-selector.vue.d.ts.map +1 -1
  140. package/dist/shared/components/user-dropdown-button/_internal/user-info.vue.d.ts +1 -10
  141. package/dist/shared/components/user-dropdown-button/_internal/user-info.vue.d.ts.map +1 -1
  142. package/dist/shared/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts +7 -17
  143. package/dist/shared/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts.map +1 -1
  144. package/dist/shared/components/user-dropdown-button/index.d.ts +2 -27
  145. package/dist/shared/components/user-dropdown-button/index.d.ts.map +1 -1
  146. package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts +1 -10
  147. package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -1
  148. package/dist/shared/composables/index.d.ts +2 -0
  149. package/dist/shared/composables/index.d.ts.map +1 -0
  150. package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts +6 -29
  151. package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts.map +1 -1
  152. package/dist/shared/modules/assets/components/assets-details/index.d.ts +2 -1
  153. package/dist/shared/modules/assets/components/assets-details/index.d.ts.map +1 -1
  154. package/dist/shared/modules/assets/index.d.ts +3 -3
  155. package/dist/shared/modules/assets/index.d.ts.map +1 -1
  156. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +9 -34
  157. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
  158. package/dist/shared/modules/assets-manager/components/assets-manager/index.d.ts +2 -56
  159. package/dist/shared/modules/assets-manager/components/assets-manager/index.d.ts.map +1 -1
  160. package/dist/shared/modules/assets-manager/index.d.ts +2 -2
  161. package/dist/shared/modules/dynamic/components/SchemaRender.d.ts +18 -18
  162. package/dist/shared/modules/dynamic/components/factories.d.ts.map +1 -1
  163. package/dist/shared/modules/dynamic/components/fields/Button.d.ts +6 -75
  164. package/dist/shared/modules/dynamic/components/fields/Button.d.ts.map +1 -1
  165. package/dist/shared/modules/dynamic/components/fields/Card.d.ts +6 -75
  166. package/dist/shared/modules/dynamic/components/fields/Card.d.ts.map +1 -1
  167. package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts +6 -75
  168. package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts.map +1 -1
  169. package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts +6 -75
  170. package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts.map +1 -1
  171. package/dist/shared/modules/dynamic/components/fields/CustomComponent.d.ts +6 -75
  172. package/dist/shared/modules/dynamic/components/fields/CustomComponent.d.ts.map +1 -1
  173. package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts +7 -76
  174. package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts.map +1 -1
  175. package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts +4 -73
  176. package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts.map +1 -1
  177. package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts +6 -75
  178. package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts.map +1 -1
  179. package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts +6 -76
  180. package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts.map +1 -1
  181. package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts +6 -75
  182. package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts.map +1 -1
  183. package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts +6 -75
  184. package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts.map +1 -1
  185. package/dist/shared/modules/dynamic/components/fields/InputField.d.ts +4 -73
  186. package/dist/shared/modules/dynamic/components/fields/InputField.d.ts.map +1 -1
  187. package/dist/shared/modules/dynamic/components/fields/MultivalueField.d.ts +6 -75
  188. package/dist/shared/modules/dynamic/components/fields/MultivalueField.d.ts.map +1 -1
  189. package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts +6 -75
  190. package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts.map +1 -1
  191. package/dist/shared/modules/dynamic/components/fields/RatingField.d.ts +6 -75
  192. package/dist/shared/modules/dynamic/components/fields/RatingField.d.ts.map +1 -1
  193. package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts +6 -75
  194. package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts.map +1 -1
  195. package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts +6 -75
  196. package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts.map +1 -1
  197. package/dist/shared/modules/dynamic/components/fields/SwitchField.d.ts +6 -75
  198. package/dist/shared/modules/dynamic/components/fields/SwitchField.d.ts.map +1 -1
  199. package/dist/shared/modules/dynamic/components/fields/Table.d.ts +6 -75
  200. package/dist/shared/modules/dynamic/components/fields/Table.d.ts.map +1 -1
  201. package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts +6 -75
  202. package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts.map +1 -1
  203. package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts +6 -75
  204. package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts.map +1 -1
  205. package/dist/shared/modules/dynamic/components/fields/props.d.ts +5 -74
  206. package/dist/shared/modules/dynamic/components/fields/props.d.ts.map +1 -1
  207. package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts +12 -142
  208. package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts.map +1 -1
  209. package/dist/shared/modules/dynamic/components/fields/storybook/utils/sourceHighlighter.d.ts.map +1 -1
  210. package/dist/shared/modules/dynamic/components/fields/storybook/utils/sourceTransform.d.ts.map +1 -1
  211. package/dist/shared/modules/dynamic/composables/useDynamicViewsUtils/index.d.ts +1 -1
  212. package/dist/shared/modules/dynamic/composables/useDynamicViewsUtils/index.d.ts.map +1 -1
  213. package/dist/shared/modules/dynamic/composables/useFilterBuilder/index.d.ts.map +1 -1
  214. package/dist/shared/modules/dynamic/composables/useTableTemplates/index.d.ts.map +1 -1
  215. package/dist/shared/modules/dynamic/composables/useToolbarReducer/index.d.ts.map +1 -1
  216. package/dist/shared/modules/dynamic/factories/base/useDetailsFactory.d.ts +2 -2
  217. package/dist/shared/modules/dynamic/factories/base/useDetailsFactory.d.ts.map +1 -1
  218. package/dist/shared/modules/dynamic/factories/base/useListFactory.d.ts +1 -1
  219. package/dist/shared/modules/dynamic/factories/base/useListFactory.d.ts.map +1 -1
  220. package/dist/shared/modules/dynamic/helpers/getters.d.ts.map +1 -1
  221. package/dist/shared/modules/dynamic/helpers/methodHandler.d.ts.map +1 -1
  222. package/dist/shared/modules/dynamic/helpers/override.d.ts.map +1 -1
  223. package/dist/shared/modules/dynamic/helpers/unrefNested.d.ts.map +1 -1
  224. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +27 -50
  225. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +1 -1
  226. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +23 -47
  227. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
  228. package/dist/shared/modules/dynamic/types/index.d.ts +10 -9
  229. package/dist/shared/modules/dynamic/types/index.d.ts.map +1 -1
  230. package/dist/shared/pages/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts +2 -23
  231. package/dist/shared/pages/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts.map +1 -1
  232. package/dist/shared/pages/ChangePasswordPage/components/change-password/index.d.ts +2 -15
  233. package/dist/shared/pages/ChangePasswordPage/components/change-password/index.d.ts.map +1 -1
  234. package/dist/shared/pages/ChangePasswordPage/plugin.d.ts +1 -1
  235. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +4 -32
  236. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
  237. package/dist/shared/pages/InvitePage/components/invite/index.d.ts +2 -50
  238. package/dist/shared/pages/InvitePage/components/invite/index.d.ts.map +1 -1
  239. package/dist/shared/pages/InvitePage/plugin.d.ts +1 -1
  240. package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts +1 -10
  241. package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts.map +1 -1
  242. package/dist/shared/pages/LoginPage/components/login/index.d.ts +2 -41
  243. package/dist/shared/pages/LoginPage/components/login/index.d.ts.map +1 -1
  244. package/dist/shared/pages/LoginPage/plugin.d.ts +1 -1
  245. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +4 -32
  246. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
  247. package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts +2 -50
  248. package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts.map +1 -1
  249. package/dist/shared/pages/ResetPasswordPage/plugin.d.ts +1 -1
  250. package/dist/shared/utilities/assets.d.ts.map +1 -1
  251. package/dist/shared/utilities/index.d.ts +3 -0
  252. package/dist/shared/utilities/index.d.ts.map +1 -0
  253. package/dist/tailwind.config.d.ts +3 -1
  254. package/dist/tailwind.config.d.ts.map +1 -1
  255. package/dist/tsconfig.tsbuildinfo +1 -1
  256. package/dist/ui/components/atoms/index.d.ts +1 -0
  257. package/dist/ui/components/atoms/index.d.ts.map +1 -1
  258. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +21 -35
  259. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
  260. package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +11 -36
  261. package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +1 -1
  262. package/dist/ui/components/atoms/vc-card/index.d.ts +2 -104
  263. package/dist/ui/components/atoms/vc-card/index.d.ts.map +1 -1
  264. package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts +13 -36
  265. package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts.map +1 -1
  266. package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts +7 -28
  267. package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts.map +1 -1
  268. package/dist/ui/components/atoms/vc-container/index.d.ts +6 -73
  269. package/dist/ui/components/atoms/vc-container/index.d.ts.map +1 -1
  270. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +12 -18
  271. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts.map +1 -1
  272. package/dist/ui/components/atoms/vc-hint/index.d.ts +7 -20
  273. package/dist/ui/components/atoms/vc-hint/index.d.ts.map +1 -1
  274. package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts +7 -4
  275. package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts.map +1 -1
  276. package/dist/ui/components/atoms/vc-icon/icons/AppWindowIcon.vue.d.ts +5 -16
  277. package/dist/ui/components/atoms/vc-icon/icons/AppWindowIcon.vue.d.ts.map +1 -1
  278. package/dist/ui/components/atoms/vc-icon/icons/ArrowLeftIcon.vue.d.ts +5 -16
  279. package/dist/ui/components/atoms/vc-icon/icons/ArrowLeftIcon.vue.d.ts.map +1 -1
  280. package/dist/ui/components/atoms/vc-icon/icons/ArrowRightIcon.vue.d.ts +5 -16
  281. package/dist/ui/components/atoms/vc-icon/icons/ArrowRightIcon.vue.d.ts.map +1 -1
  282. package/dist/ui/components/atoms/vc-icon/icons/BellIcon.vue.d.ts +5 -16
  283. package/dist/ui/components/atoms/vc-icon/icons/BellIcon.vue.d.ts.map +1 -1
  284. package/dist/ui/components/atoms/vc-icon/icons/ChevronDownIcon.vue.d.ts +5 -16
  285. package/dist/ui/components/atoms/vc-icon/icons/ChevronDownIcon.vue.d.ts.map +1 -1
  286. package/dist/ui/components/atoms/vc-icon/icons/ChevronLeftIcon.vue.d.ts +5 -16
  287. package/dist/ui/components/atoms/vc-icon/icons/ChevronLeftIcon.vue.d.ts.map +1 -1
  288. package/dist/ui/components/atoms/vc-icon/icons/ChevronRightIcon.vue.d.ts +5 -16
  289. package/dist/ui/components/atoms/vc-icon/icons/ChevronRightIcon.vue.d.ts.map +1 -1
  290. package/dist/ui/components/atoms/vc-icon/icons/ChevronUpIcon.vue.d.ts +5 -16
  291. package/dist/ui/components/atoms/vc-icon/icons/ChevronUpIcon.vue.d.ts.map +1 -1
  292. package/dist/ui/components/atoms/vc-icon/icons/CircleDotsIcon.vue.d.ts +5 -16
  293. package/dist/ui/components/atoms/vc-icon/icons/CircleDotsIcon.vue.d.ts.map +1 -1
  294. package/dist/ui/components/atoms/vc-icon/icons/CrossSignIcon.vue.d.ts +5 -16
  295. package/dist/ui/components/atoms/vc-icon/icons/CrossSignIcon.vue.d.ts.map +1 -1
  296. package/dist/ui/components/atoms/vc-icon/icons/DoubleArrowLeftIcon.vue.d.ts +5 -16
  297. package/dist/ui/components/atoms/vc-icon/icons/DoubleArrowLeftIcon.vue.d.ts.map +1 -1
  298. package/dist/ui/components/atoms/vc-icon/icons/DoubleArrowRightIcon.vue.d.ts +5 -16
  299. package/dist/ui/components/atoms/vc-icon/icons/DoubleArrowRightIcon.vue.d.ts.map +1 -1
  300. package/dist/ui/components/atoms/vc-icon/icons/FulfillmentCentersIcon.vue.d.ts +5 -16
  301. package/dist/ui/components/atoms/vc-icon/icons/FulfillmentCentersIcon.vue.d.ts.map +1 -1
  302. package/dist/ui/components/atoms/vc-icon/icons/GridDotsIcon.vue.d.ts +5 -16
  303. package/dist/ui/components/atoms/vc-icon/icons/GridDotsIcon.vue.d.ts.map +1 -1
  304. package/dist/ui/components/atoms/vc-icon/icons/LogoutIcon.vue.d.ts +5 -16
  305. package/dist/ui/components/atoms/vc-icon/icons/LogoutIcon.vue.d.ts.map +1 -1
  306. package/dist/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue.d.ts +5 -16
  307. package/dist/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue.d.ts.map +1 -1
  308. package/dist/ui/components/atoms/vc-icon/icons/MinusSignIcon.vue.d.ts +5 -16
  309. package/dist/ui/components/atoms/vc-icon/icons/MinusSignIcon.vue.d.ts.map +1 -1
  310. package/dist/ui/components/atoms/vc-icon/icons/OffersIcon.vue.d.ts +5 -16
  311. package/dist/ui/components/atoms/vc-icon/icons/OffersIcon.vue.d.ts.map +1 -1
  312. package/dist/ui/components/atoms/vc-icon/icons/OrdersIcon.vue.d.ts +5 -16
  313. package/dist/ui/components/atoms/vc-icon/icons/OrdersIcon.vue.d.ts.map +1 -1
  314. package/dist/ui/components/atoms/vc-icon/icons/PeopleIcon.vue.d.ts +5 -16
  315. package/dist/ui/components/atoms/vc-icon/icons/PeopleIcon.vue.d.ts.map +1 -1
  316. package/dist/ui/components/atoms/vc-icon/icons/PlusSignIcon.vue.d.ts +5 -16
  317. package/dist/ui/components/atoms/vc-icon/icons/PlusSignIcon.vue.d.ts.map +1 -1
  318. package/dist/ui/components/atoms/vc-icon/icons/ProductsIcon.vue.d.ts +5 -16
  319. package/dist/ui/components/atoms/vc-icon/icons/ProductsIcon.vue.d.ts.map +1 -1
  320. package/dist/ui/components/atoms/vc-icon/icons/ProfileIcon.vue.d.ts +5 -16
  321. package/dist/ui/components/atoms/vc-icon/icons/ProfileIcon.vue.d.ts.map +1 -1
  322. package/dist/ui/components/atoms/vc-icon/icons/SearchIcon.vue.d.ts +5 -16
  323. package/dist/ui/components/atoms/vc-icon/icons/SearchIcon.vue.d.ts.map +1 -1
  324. package/dist/ui/components/atoms/vc-icon/icons/SettingsBoltIcon.vue.d.ts +5 -16
  325. package/dist/ui/components/atoms/vc-icon/icons/SettingsBoltIcon.vue.d.ts.map +1 -1
  326. package/dist/ui/components/atoms/vc-icon/icons/ShoppingCardIcon.vue.d.ts +5 -16
  327. package/dist/ui/components/atoms/vc-icon/icons/ShoppingCardIcon.vue.d.ts.map +1 -1
  328. package/dist/ui/components/atoms/vc-icon/icons/VendorSwitchIcon.vue.d.ts +7 -0
  329. package/dist/ui/components/atoms/vc-icon/icons/VendorSwitchIcon.vue.d.ts.map +1 -0
  330. package/dist/ui/components/atoms/vc-icon/icons/VertDotsIcon.vue.d.ts +5 -16
  331. package/dist/ui/components/atoms/vc-icon/icons/VertDotsIcon.vue.d.ts.map +1 -1
  332. package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts +10 -0
  333. package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts.map +1 -0
  334. package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts +11 -0
  335. package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts.map +1 -0
  336. package/dist/ui/components/atoms/vc-icon/vc-icon-examples.vue.d.ts +3 -0
  337. package/dist/ui/components/atoms/vc-icon/vc-icon-examples.vue.d.ts.map +1 -0
  338. package/dist/ui/components/atoms/vc-icon/vc-icon-test.vue.d.ts +3 -0
  339. package/dist/ui/components/atoms/vc-icon/vc-icon-test.vue.d.ts.map +1 -0
  340. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +37 -28
  341. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
  342. package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts +12 -0
  343. package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts.map +1 -0
  344. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts +18 -0
  345. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -0
  346. package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts +6 -33
  347. package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts.map +1 -1
  348. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +24 -30
  349. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
  350. package/dist/ui/components/atoms/vc-link/index.d.ts +6 -59
  351. package/dist/ui/components/atoms/vc-link/index.d.ts.map +1 -1
  352. package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts +10 -16
  353. package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts.map +1 -1
  354. package/dist/ui/components/atoms/vc-loading/index.d.ts +2 -9
  355. package/dist/ui/components/atoms/vc-loading/index.d.ts.map +1 -1
  356. package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts +1 -10
  357. package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts.map +1 -1
  358. package/dist/ui/components/atoms/vc-progress/index.d.ts +6 -51
  359. package/dist/ui/components/atoms/vc-progress/index.d.ts.map +1 -1
  360. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +2 -25
  361. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
  362. package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts +5 -5
  363. package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts.map +1 -1
  364. package/dist/ui/components/atoms/vc-skeleton/index.d.ts +2 -0
  365. package/dist/ui/components/atoms/vc-skeleton/index.d.ts.map +1 -0
  366. package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts +6 -31
  367. package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts.map +1 -1
  368. package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts +8 -33
  369. package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts.map +1 -1
  370. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.vue.d.ts +1 -10
  371. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.vue.d.ts.map +1 -1
  372. package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts +4 -27
  373. package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts.map +1 -1
  374. package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +10 -42
  375. package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
  376. package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts +4 -13
  377. package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts.map +1 -1
  378. package/dist/ui/components/atoms/vc-widget/index.d.ts +2 -43
  379. package/dist/ui/components/atoms/vc-widget/index.d.ts.map +1 -1
  380. package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts +4 -13
  381. package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts.map +1 -1
  382. package/dist/ui/components/molecules/index.d.ts +1 -1
  383. package/dist/ui/components/molecules/index.d.ts.map +1 -1
  384. package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts +4 -13
  385. package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts.map +1 -1
  386. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts +11 -43
  387. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts.map +1 -1
  388. package/dist/ui/components/molecules/vc-checkbox/index.d.ts +2 -163
  389. package/dist/ui/components/molecules/vc-checkbox/index.d.ts.map +1 -1
  390. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts +13 -38
  391. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
  392. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +42 -51
  393. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
  394. package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts +13 -17
  395. package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts.map +1 -1
  396. package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts +3 -28
  397. package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts.map +1 -1
  398. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +10 -37
  399. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  400. package/dist/ui/components/molecules/vc-form/index.d.ts +7 -20
  401. package/dist/ui/components/molecules/vc-form/index.d.ts.map +1 -1
  402. package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts +7 -4
  403. package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts.map +1 -1
  404. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +19 -106
  405. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
  406. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +19 -68
  407. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
  408. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +10 -139
  409. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
  410. package/dist/ui/components/molecules/vc-pagination/index.d.ts +2 -41
  411. package/dist/ui/components/molecules/vc-pagination/index.d.ts.map +1 -1
  412. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +5 -30
  413. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
  414. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts +10 -28
  415. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts.map +1 -1
  416. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +8 -35
  417. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
  418. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +76 -495
  419. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  420. package/dist/ui/components/molecules/vc-slider/index.d.ts +12 -98
  421. package/dist/ui/components/molecules/vc-slider/index.d.ts.map +1 -1
  422. package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts +16 -36
  423. package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts.map +1 -1
  424. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +11 -33
  425. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
  426. package/dist/ui/components/molecules/vc-toast/index.d.ts +2 -0
  427. package/dist/ui/components/molecules/vc-toast/index.d.ts.map +1 -0
  428. package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts +18 -0
  429. package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts.map +1 -0
  430. package/dist/ui/components/organisms/vc-app/_internal/composables/useAppMenuState.d.ts +8 -14
  431. package/dist/ui/components/organisms/vc-app/_internal/composables/useAppMenuState.d.ts.map +1 -1
  432. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarContent.vue.d.ts +13 -18
  433. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarContent.vue.d.ts.map +1 -1
  434. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarHeader.vue.d.ts +16 -27
  435. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarHeader.vue.d.ts.map +1 -1
  436. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarMobileActions.vue.d.ts +8 -0
  437. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarMobileActions.vue.d.ts.map +1 -0
  438. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarOverlay.vue.d.ts +14 -21
  439. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarOverlay.vue.d.ts.map +1 -1
  440. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue.d.ts +34 -0
  441. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue.d.ts.map +1 -0
  442. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetsMenu.vue.d.ts +3 -0
  443. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetsMenu.vue.d.ts.map +1 -0
  444. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts +15 -29
  445. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts.map +1 -1
  446. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarMobileActions.d.ts +9 -0
  447. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarMobileActions.d.ts.map +1 -0
  448. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarWidgets.d.ts +8 -0
  449. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarWidgets.d.ts.map +1 -0
  450. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useToggleableContent.d.ts +23 -0
  451. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useToggleableContent.d.ts.map +1 -0
  452. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts +8 -17
  453. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts.map +1 -1
  454. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts +4 -25
  455. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts.map +1 -1
  456. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +5 -30
  457. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts.map +1 -1
  458. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts +5 -30
  459. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts.map +1 -1
  460. package/dist/ui/components/organisms/vc-app/index.d.ts +0 -1
  461. package/dist/ui/components/organisms/vc-app/index.d.ts.map +1 -1
  462. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +9 -20
  463. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
  464. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts +11 -16
  465. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts.map +1 -1
  466. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts +4 -31
  467. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts.map +1 -1
  468. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +5 -40
  469. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -1
  470. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts +2 -29
  471. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts.map +1 -1
  472. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/desktop/vc-blade-toolbar-desktop.vue.d.ts +3 -14
  473. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/desktop/vc-blade-toolbar-desktop.vue.d.ts.map +1 -1
  474. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/mobile/vc-blade-toolbar-mobile.vue.d.ts +3 -13
  475. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/mobile/vc-blade-toolbar-mobile.vue.d.ts.map +1 -1
  476. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/vc-blade-toolbar-buttons.vue.d.ts +3 -14
  477. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/vc-blade-toolbar-buttons.vue.d.ts.map +1 -1
  478. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue.d.ts +9 -27
  479. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue.d.ts.map +1 -1
  480. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/index.d.ts +2 -2
  481. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-desktop.vue.d.ts +2 -11
  482. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-desktop.vue.d.ts.map +1 -1
  483. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-mobile.vue.d.ts +2 -11
  484. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-mobile.vue.d.ts.map +1 -1
  485. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/vc-widget-container.vue.d.ts +1 -10
  486. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/vc-widget-container.vue.d.ts.map +1 -1
  487. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +18 -77
  488. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  489. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +32 -109
  490. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
  491. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +3 -40
  492. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts.map +1 -1
  493. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +5 -28
  494. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  495. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +8 -45
  496. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
  497. package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts +7 -28
  498. package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts.map +1 -1
  499. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +13 -42
  500. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  501. package/dist/ui/components/organisms/vc-table/_internal/vc-table-add-new/vc-table-add-new.vue.d.ts +4 -13
  502. package/dist/ui/components/organisms/vc-table/_internal/vc-table-add-new/vc-table-add-new.vue.d.ts.map +1 -1
  503. package/dist/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts +12 -18
  504. package/dist/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts.map +1 -1
  505. package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +10 -18
  506. package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -1
  507. package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +6 -23
  508. package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +1 -1
  509. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +2 -25
  510. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
  511. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts +27 -186
  512. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts.map +1 -1
  513. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-columns-header/vc-table-columns-header.vue.d.ts +26 -90
  514. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-columns-header/vc-table-columns-header.vue.d.ts.map +1 -1
  515. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts +28 -202
  516. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts.map +1 -1
  517. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-select-all-header/vc-table-select-all-header.vue.d.ts +9 -21
  518. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-select-all-header/vc-table-select-all-header.vue.d.ts.map +1 -1
  519. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts +37 -266
  520. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts.map +1 -1
  521. package/dist/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts +5 -15
  522. package/dist/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts.map +1 -1
  523. package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts +10 -32
  524. package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map +1 -1
  525. package/dist/ui/components/organisms/vc-table/_internal/vc-table-footer/vc-table-footer.vue.d.ts +7 -34
  526. package/dist/ui/components/organisms/vc-table/_internal/vc-table-footer/vc-table-footer.vue.d.ts.map +1 -1
  527. package/dist/ui/components/organisms/vc-table/_internal/vc-table-header/vc-table-header.vue.d.ts +19 -53
  528. package/dist/ui/components/organisms/vc-table/_internal/vc-table-header/vc-table-header.vue.d.ts.map +1 -1
  529. package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts +15 -45
  530. package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts.map +1 -1
  531. package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue.d.ts +58 -192
  532. package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue.d.ts.map +1 -1
  533. package/dist/ui/components/organisms/vc-table/_internal/vc-table-select-all/vc-table-select-all.vue.d.ts +11 -27
  534. package/dist/ui/components/organisms/vc-table/_internal/vc-table-select-all/vc-table-select-all.vue.d.ts.map +1 -1
  535. package/dist/ui/components/organisms/vc-table/composables/useTableActions.d.ts +1 -1
  536. package/dist/ui/components/organisms/vc-table/composables/useTableActions.d.ts.map +1 -1
  537. package/dist/ui/components/organisms/vc-table/composables/useTableColumnReorder.d.ts +21 -39
  538. package/dist/ui/components/organisms/vc-table/composables/useTableColumnReorder.d.ts.map +1 -1
  539. package/dist/ui/components/organisms/vc-table/composables/useTableColumnResize.d.ts +1 -1
  540. package/dist/ui/components/organisms/vc-table/composables/useTableColumnResize.d.ts.map +1 -1
  541. package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts +1 -1
  542. package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts.map +1 -1
  543. package/dist/ui/components/organisms/vc-table/composables/useTableSelection.d.ts +1 -1
  544. package/dist/ui/components/organisms/vc-table/composables/useTableSelection.d.ts.map +1 -1
  545. package/dist/ui/components/organisms/vc-table/composables/useTableState.d.ts +2 -1
  546. package/dist/ui/components/organisms/vc-table/composables/useTableState.d.ts.map +1 -1
  547. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +41 -252
  548. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
  549. package/dist/ui/composables/useAdaptiveItems.d.ts +16 -0
  550. package/dist/ui/composables/useAdaptiveItems.d.ts.map +1 -0
  551. package/package.json +18 -13
  552. package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +1 -1
  553. package/shared/components/app-switcher/index.ts +1 -1
  554. package/shared/components/change-password/change-password.vue +3 -3
  555. package/shared/components/dashboard-widget-card/dashboard-widget-card.vue +37 -3
  556. package/shared/components/draggable-dashboard/composables/useGridSystem.ts +1 -1
  557. package/shared/components/draggable-dashboard/composables/useWidgetLayout.ts +1 -1
  558. package/shared/components/generic-dropdown/generic-dropdown.vue +69 -49
  559. package/shared/components/language-selector/language-selector.vue +2 -2
  560. package/shared/components/notification-dropdown/_internal/notification/notification.vue +2 -2
  561. package/shared/components/notification-dropdown/notification-dropdown.vue +14 -53
  562. package/shared/components/notification-template/notification-template.vue +0 -1
  563. package/shared/components/notifications/components/notification-container/index.ts +26 -14
  564. package/shared/components/notifications/composables/useContainer/index.ts +267 -55
  565. package/shared/components/notifications/composables/useInstance/index.ts +47 -17
  566. package/shared/components/notifications/core/notification.ts +175 -20
  567. package/shared/components/notifications/styles/index.scss +171 -10
  568. package/shared/components/notifications/types/index.ts +12 -3
  569. package/shared/components/settings-menu/settings-menu.vue +3 -2
  570. package/shared/components/settings-menu-item/settings-menu-item.vue +1 -1
  571. package/shared/components/sidebar/sidebar.vue +5 -2
  572. package/shared/components/theme-selector/theme-selector.vue +2 -2
  573. package/shared/components/user-dropdown-button/_internal/user-info.vue +4 -4
  574. package/shared/components/user-dropdown-button/user-dropdown-button.vue +2 -2
  575. package/shared/composables/index.ts +1 -0
  576. package/shared/modules/assets/components/assets-details/assets-details.vue +4 -4
  577. package/shared/modules/assets/components/assets-details/index.ts +3 -1
  578. package/shared/modules/assets/index.ts +1 -1
  579. package/shared/modules/assets-manager/components/assets-manager/assets-manager.vue +5 -4
  580. package/shared/modules/dynamic/components/fields/storybook/Button.stories.ts +2 -2
  581. package/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.ts +361 -361
  582. package/shared/modules/dynamic/components/fields/storybook/SelectField.stories.ts +666 -666
  583. package/shared/modules/dynamic/components/fields/storybook/StatusField.stories.ts +202 -202
  584. package/shared/modules/dynamic/components/fields/storybook/utils/sourceTransform.ts +1 -1
  585. package/shared/modules/dynamic/composables/index.ts +4 -4
  586. package/shared/modules/dynamic/composables/useFilterBuilder/index.ts +1 -1
  587. package/shared/modules/dynamic/helpers/nodeBuilder.ts +242 -242
  588. package/shared/modules/dynamic/pages/dynamic-blade-form.vue +60 -63
  589. package/shared/modules/dynamic/pages/dynamic-blade-list.vue +1 -1
  590. package/shared/modules/dynamic/types/index.ts +5 -9
  591. package/shared/pages/LoginPage/components/login/Login.vue +1 -1
  592. package/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue +218 -218
  593. package/shared/utilities/assets.ts +43 -42
  594. package/shared/utilities/index.ts +2 -0
  595. package/ui/components/atoms/index.ts +1 -0
  596. package/ui/components/atoms/vc-badge/vc-badge.stories.ts +522 -53
  597. package/ui/components/atoms/vc-badge/vc-badge.vue +120 -27
  598. package/ui/components/atoms/vc-button/vc-button.stories.ts +278 -74
  599. package/ui/components/atoms/vc-button/vc-button.vue +12 -9
  600. package/ui/components/atoms/vc-card/vc-card.stories.ts +297 -59
  601. package/ui/components/atoms/vc-card/vc-card.vue +9 -5
  602. package/ui/components/atoms/vc-col/vc-col.stories.ts +164 -22
  603. package/ui/components/atoms/vc-container/vc-container.stories.ts +277 -29
  604. package/ui/components/atoms/vc-container/vc-container.vue +1 -1
  605. package/ui/components/atoms/vc-hint/vc-hint.stories.ts +144 -23
  606. package/ui/components/atoms/vc-hint/vc-hint.vue +17 -17
  607. package/ui/components/atoms/vc-icon/README.md +295 -0
  608. package/ui/components/atoms/vc-icon/icons/VendorSwitchIcon.vue +26 -0
  609. package/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue +28 -0
  610. package/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue +41 -0
  611. package/ui/components/atoms/vc-icon/vc-icon-examples.vue +183 -0
  612. package/ui/components/atoms/vc-icon/vc-icon-test.vue +226 -0
  613. package/ui/components/atoms/vc-icon/vc-icon.stories.ts +376 -48
  614. package/ui/components/atoms/vc-icon/vc-icon.vue +457 -31
  615. package/ui/components/atoms/vc-icon/vc-lucide-icon.vue +66 -0
  616. package/ui/components/atoms/vc-icon/vc-material-icon.vue +61 -0
  617. package/ui/components/atoms/vc-image/vc-image.stories.ts +309 -85
  618. package/ui/components/atoms/vc-image/vc-image.vue +2 -2
  619. package/ui/components/atoms/vc-label/vc-label.stories.ts +137 -31
  620. package/ui/components/atoms/vc-label/vc-label.vue +118 -92
  621. package/ui/components/atoms/vc-link/vc-link.stories.ts +154 -37
  622. package/ui/components/atoms/vc-progress/vc-progress.stories.ts +182 -30
  623. package/ui/components/atoms/vc-progress/vc-progress.vue +68 -68
  624. package/ui/components/atoms/vc-row/vc-row.stories.ts +143 -20
  625. package/ui/components/atoms/vc-skeleton/index.ts +1 -0
  626. package/ui/components/atoms/vc-skeleton/vc-skeleton.stories.ts +165 -0
  627. package/ui/components/atoms/vc-status/vc-status.stories.ts +235 -85
  628. package/ui/components/atoms/vc-status/vc-status.vue +2 -1
  629. package/ui/components/atoms/vc-status-icon/vc-status-icon.stories.ts +108 -2
  630. package/ui/components/atoms/vc-status-icon/vc-status-icon.vue +2 -2
  631. package/ui/components/atoms/vc-switch/vc-switch.stories.ts +314 -14
  632. package/ui/components/atoms/vc-switch/vc-switch.vue +5 -7
  633. package/ui/components/atoms/vc-tooltip/vc-tooltip.stories.ts +287 -0
  634. package/ui/components/atoms/vc-tooltip/vc-tooltip.vue +3 -3
  635. package/ui/components/atoms/vc-video/vc-video.stories.ts +150 -19
  636. package/ui/components/atoms/vc-video/vc-video.vue +1 -1
  637. package/ui/components/atoms/vc-widget/vc-widget.stories.ts +272 -20
  638. package/ui/components/atoms/vc-widget/vc-widget.vue +51 -66
  639. package/ui/components/molecules/index.ts +16 -16
  640. package/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue +89 -89
  641. package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.ts +509 -43
  642. package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +32 -80
  643. package/ui/components/molecules/vc-checkbox/vc-checkbox.stories.ts +356 -84
  644. package/ui/components/molecules/vc-checkbox/vc-checkbox.vue +185 -119
  645. package/ui/components/molecules/vc-editor/vc-editor.stories.ts +251 -29
  646. package/ui/components/molecules/vc-editor/vc-editor.vue +48 -10
  647. package/ui/components/molecules/vc-field/vc-field.stories.ts +179 -114
  648. package/ui/components/molecules/vc-field/vc-field.vue +1 -1
  649. package/ui/components/molecules/vc-file-upload/vc-file-upload.stories.ts +424 -39
  650. package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +4 -4
  651. package/ui/components/molecules/vc-form/vc-form.stories.ts +168 -25
  652. package/ui/components/molecules/vc-input/vc-input.stories.ts +909 -165
  653. package/ui/components/molecules/vc-input/vc-input.vue +71 -19
  654. package/ui/components/molecules/vc-input-currency/vc-input-currency.stories.ts +532 -83
  655. package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +20 -0
  656. package/ui/components/molecules/vc-multivalue/vc-multivalue.stories.ts +508 -120
  657. package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +80 -24
  658. package/ui/components/molecules/vc-pagination/vc-pagination.stories.ts +259 -24
  659. package/ui/components/molecules/vc-radio-button/vc-radio-button.stories.ts +283 -97
  660. package/ui/components/molecules/vc-radio-button/vc-radio-button.vue +197 -192
  661. package/ui/components/molecules/vc-rating/vc-rating.stories.ts +363 -59
  662. package/ui/components/molecules/vc-rating/vc-rating.vue +54 -26
  663. package/ui/components/molecules/vc-select/vc-select.stories.ts +1582 -685
  664. package/ui/components/molecules/vc-select/vc-select.vue +122 -59
  665. package/ui/components/molecules/vc-slider/vc-slider.stories.ts +223 -61
  666. package/ui/components/molecules/vc-slider/vc-slider.vue +118 -118
  667. package/ui/components/molecules/vc-textarea/vc-textarea.stories.ts +326 -53
  668. package/ui/components/molecules/vc-textarea/vc-textarea.vue +180 -151
  669. package/ui/components/molecules/vc-toast/index.ts +1 -0
  670. package/ui/components/molecules/vc-toast/vc-toast.stories.ts +559 -0
  671. package/ui/components/molecules/vc-toast/vc-toast.vue +350 -0
  672. package/ui/components/organisms/vc-app/_internal/composables/useAppMenuState.ts +61 -24
  673. package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarContent.vue +3 -1
  674. package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarHeader.vue +43 -77
  675. package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarMobileActions.vue +102 -0
  676. package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarOverlay.vue +5 -3
  677. package/ui/components/organisms/vc-app/_internal/vc-app-bar/{components/app-bar-button/app-bar-button.vue → _internal/AppBarWidgetItem.vue} +32 -89
  678. package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetsMenu.vue +110 -0
  679. package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue +9 -8
  680. package/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarMobileActions.ts +51 -0
  681. package/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarWidgets.ts +27 -0
  682. package/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useToggleableContent.ts +66 -0
  683. package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +34 -50
  684. package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +4 -4
  685. package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +2 -2
  686. package/ui/components/organisms/vc-app/index.ts +0 -1
  687. package/ui/components/organisms/vc-app/vc-app.vue +33 -35
  688. package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +7 -7
  689. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue +30 -37
  690. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue +2 -2
  691. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/desktop/vc-blade-toolbar-desktop.vue +20 -68
  692. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/mobile/vc-blade-toolbar-mobile.vue +1 -1
  693. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +84 -7
  694. package/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/index.ts +2 -2
  695. package/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-desktop.vue +8 -3
  696. package/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-mobile.vue +27 -79
  697. package/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/vc-widget-container.vue +24 -13
  698. package/ui/components/organisms/vc-blade/vc-blade.stories.ts +83 -83
  699. package/ui/components/organisms/vc-blade/vc-blade.vue +4 -4
  700. package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +163 -163
  701. package/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue +166 -166
  702. package/ui/components/organisms/vc-gallery/vc-gallery.stories.ts +91 -91
  703. package/ui/components/organisms/vc-gallery/vc-gallery.vue +348 -348
  704. package/ui/components/organisms/vc-popup/vc-popup.vue +7 -7
  705. package/ui/components/organisms/vc-table/_internal/vc-table-add-new/vc-table-add-new.vue +63 -63
  706. package/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue +3 -3
  707. package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +7 -6
  708. package/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue +45 -91
  709. package/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue +1 -1
  710. package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue +1 -2
  711. package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-columns-header/vc-table-columns-header.vue +10 -7
  712. package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue +3 -3
  713. package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue +4 -5
  714. package/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue +1 -6
  715. package/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +2 -2
  716. package/ui/components/organisms/vc-table/_internal/vc-table-footer/vc-table-footer.vue +3 -11
  717. package/ui/components/organisms/vc-table/_internal/vc-table-header/vc-table-header.vue +49 -6
  718. package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +293 -129
  719. package/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue +94 -46
  720. package/ui/components/organisms/vc-table/composables/useTableActions.ts +1 -1
  721. package/ui/components/organisms/vc-table/composables/useTableColumnReorder.ts +1 -1
  722. package/ui/components/organisms/vc-table/composables/useTableColumnResize.ts +1 -1
  723. package/ui/components/organisms/vc-table/composables/useTableRowReorder.ts +1 -1
  724. package/ui/components/organisms/vc-table/composables/useTableSelection.ts +1 -1
  725. package/ui/components/organisms/vc-table/composables/useTableState.ts +2 -1
  726. package/ui/components/organisms/vc-table/vc-table.vue +28 -62
  727. package/ui/composables/README.md +160 -0
  728. package/ui/composables/useAdaptiveItems.ts +210 -0
  729. package/core/types/widget.ts +0 -15
  730. package/dist/apl-B2DGVGxc.js +0 -76
  731. package/dist/asciiarmor-2LVJmxlE.js +0 -34
  732. package/dist/asn1-jKiBa2Ya.js +0 -95
  733. package/dist/asterisk-DS281yxp.js +0 -271
  734. package/dist/brainfuck-C_p9pTT8.js +0 -34
  735. package/dist/clike-BUuHEmgZ.js +0 -620
  736. package/dist/clojure-CCKyeQKf.js +0 -800
  737. package/dist/cmake-CuaCgAKt.js +0 -28
  738. package/dist/cobol-BlTKFDRj.js +0 -72
  739. package/dist/coffeescript-BVCvwO8I.js +0 -179
  740. package/dist/commonlisp-D_kxz07b.js +0 -75
  741. package/dist/core/types/widget.d.ts +0 -12
  742. package/dist/core/types/widget.d.ts.map +0 -1
  743. package/dist/crystal-D309uH6_.js +0 -217
  744. package/dist/css-bIlmDBTK.js +0 -1560
  745. package/dist/cypher-BMq4Fwjl.js +0 -68
  746. package/dist/d-BZcgY6La.js +0 -127
  747. package/dist/diff-Cg9d_RX2.js +0 -18
  748. package/dist/dockerfile-Bo-KZxHS.js +0 -194
  749. package/dist/dtd-CtLokQ-U.js +0 -84
  750. package/dist/dylan-QYeExnWK.js +0 -234
  751. package/dist/ebnf-Xa2PN7SI.js +0 -77
  752. package/dist/ecl-CiXN-g_D.js +0 -121
  753. package/dist/eiffel-yQhjl4T1.js +0 -110
  754. package/dist/elm-CNT9vbN0.js +0 -108
  755. package/dist/erlang-CFOYdy9e.js +0 -487
  756. package/dist/factor-Bny6SIz6.js +0 -65
  757. package/dist/fcl-CPC2WYrI.js +0 -103
  758. package/dist/forth-BmxRyE9S.js +0 -60
  759. package/dist/fortran-9bvPyrOW.js +0 -442
  760. package/dist/framework.js +0 -279
  761. package/dist/gas-BdfkXJT_.js +0 -183
  762. package/dist/gherkin-CJuwpceU.js +0 -34
  763. package/dist/groovy-DZeT_VM-.js +0 -146
  764. package/dist/haskell-Bvt3Qq1t.js +0 -375
  765. package/dist/haxe-70NVW1pR.js +0 -359
  766. package/dist/http-D9LttvKF.js +0 -44
  767. package/dist/idl-B6TRFYjl.js +0 -947
  768. package/dist/index-0a5sSUk-.js +0 -299
  769. package/dist/index-2uMWKqeX.js +0 -607
  770. package/dist/index-BYSRrP1t.js +0 -98
  771. package/dist/index-BjuXtCZD.js +0 -308
  772. package/dist/index-CE39_ef_.js +0 -93
  773. package/dist/index-CH6q9SbZ.js +0 -134
  774. package/dist/index-CHqWKNbd.js +0 -114759
  775. package/dist/index-C_UCSxbP.js +0 -135
  776. package/dist/index-Cb_-2iIT.js +0 -75
  777. package/dist/index-CqQMjKrC.js +0 -71
  778. package/dist/index-D-7-uSkR.js +0 -58
  779. package/dist/index-DT87PGr4.js +0 -341
  780. package/dist/index-DUpaX9qF.js +0 -288
  781. package/dist/index-Do08qm6v.js +0 -156
  782. package/dist/index-DrXDpBca.js +0 -265
  783. package/dist/index-GWfUyLcy.js +0 -243
  784. package/dist/index-mukpig4Q.js +0 -538
  785. package/dist/index.css +0 -1
  786. package/dist/javascript-WMWNx-Vj.js +0 -690
  787. package/dist/jinja2-DnB6dQmV.js +0 -154
  788. package/dist/julia-DpvXAuO6.js +0 -241
  789. package/dist/livescript-CanGTf8u.js +0 -272
  790. package/dist/lua-XplVlWi_.js +0 -217
  791. package/dist/mathematica-jaRHnSxC.js +0 -35
  792. package/dist/mbox-BctzC1hL.js +0 -76
  793. package/dist/mirc-CFBPAOaF.js +0 -72
  794. package/dist/mllike-BSnXJBGA.js +0 -272
  795. package/dist/modelica-vUgVs--1.js +0 -93
  796. package/dist/mscgen-Cpl0NYLN.js +0 -104
  797. package/dist/mumps-CQoS1kWX.js +0 -25
  798. package/dist/nginx-zDPm3Z74.js +0 -89
  799. package/dist/nsis-BEzMtmb7.js +0 -62
  800. package/dist/ntriples-CsNjv2QF.js +0 -79
  801. package/dist/octave-C8PmmSRH.js +0 -143
  802. package/dist/oz-Ce8aN8oE.js +0 -151
  803. package/dist/pascal-De0D6mP7.js +0 -77
  804. package/dist/perl-B4bSCe1C.js +0 -915
  805. package/dist/pig-D24Z8EXi.js +0 -54
  806. package/dist/powershell-DkYVfTzP.js +0 -249
  807. package/dist/properties-Dn9wna3M.js +0 -26
  808. package/dist/protobuf-BPIjwpzm.js +0 -49
  809. package/dist/pug-BqUR2bBq.js +0 -248
  810. package/dist/puppet-nyd4dhjf.js +0 -45
  811. package/dist/python-B5QdSKoL.js +0 -313
  812. package/dist/q-DXjKs-tC.js +0 -83
  813. package/dist/r-Bz1d3XP0.js +0 -104
  814. package/dist/rpm-IznJm2Xc.js +0 -57
  815. package/dist/ruby-CcYfvIk6.js +0 -228
  816. package/dist/sas-7E8yHoCW.js +0 -105
  817. package/dist/scheme-DjibxsNh.js +0 -124
  818. package/dist/shared/composables/useSettingsMenu.d.ts +0 -180
  819. package/dist/shared/composables/useSettingsMenu.d.ts.map +0 -1
  820. package/dist/shared/modules/dynamic/components/fields/storybook/Button.stories.d.ts +0 -376
  821. package/dist/shared/modules/dynamic/components/fields/storybook/Button.stories.d.ts.map +0 -1
  822. package/dist/shared/modules/dynamic/components/fields/storybook/Card.stories.d.ts +0 -367
  823. package/dist/shared/modules/dynamic/components/fields/storybook/Card.stories.d.ts.map +0 -1
  824. package/dist/shared/modules/dynamic/components/fields/storybook/Checkbox.stories.d.ts +0 -398
  825. package/dist/shared/modules/dynamic/components/fields/storybook/Checkbox.stories.d.ts.map +0 -1
  826. package/dist/shared/modules/dynamic/components/fields/storybook/ContentField.stories.d.ts +0 -392
  827. package/dist/shared/modules/dynamic/components/fields/storybook/ContentField.stories.d.ts.map +0 -1
  828. package/dist/shared/modules/dynamic/components/fields/storybook/EditorField.stories.d.ts +0 -407
  829. package/dist/shared/modules/dynamic/components/fields/storybook/EditorField.stories.d.ts.map +0 -1
  830. package/dist/shared/modules/dynamic/components/fields/storybook/Fieldset.stories.d.ts +0 -360
  831. package/dist/shared/modules/dynamic/components/fields/storybook/Fieldset.stories.d.ts.map +0 -1
  832. package/dist/shared/modules/dynamic/components/fields/storybook/GalleryField.stories.d.ts +0 -391
  833. package/dist/shared/modules/dynamic/components/fields/storybook/GalleryField.stories.d.ts.map +0 -1
  834. package/dist/shared/modules/dynamic/components/fields/storybook/ImageField.stories.d.ts +0 -372
  835. package/dist/shared/modules/dynamic/components/fields/storybook/ImageField.stories.d.ts.map +0 -1
  836. package/dist/shared/modules/dynamic/components/fields/storybook/InputCurrency.stories.d.ts +0 -448
  837. package/dist/shared/modules/dynamic/components/fields/storybook/InputCurrency.stories.d.ts.map +0 -1
  838. package/dist/shared/modules/dynamic/components/fields/storybook/InputField.stories.d.ts +0 -469
  839. package/dist/shared/modules/dynamic/components/fields/storybook/InputField.stories.d.ts.map +0 -1
  840. package/dist/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.d.ts +0 -468
  841. package/dist/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.d.ts.map +0 -1
  842. package/dist/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.d.ts +0 -359
  843. package/dist/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.d.ts.map +0 -1
  844. package/dist/shared/modules/dynamic/components/fields/storybook/RatingField.stories.d.ts +0 -359
  845. package/dist/shared/modules/dynamic/components/fields/storybook/RatingField.stories.d.ts.map +0 -1
  846. package/dist/shared/modules/dynamic/components/fields/storybook/SelectField.stories.d.ts +0 -516
  847. package/dist/shared/modules/dynamic/components/fields/storybook/SelectField.stories.d.ts.map +0 -1
  848. package/dist/shared/modules/dynamic/components/fields/storybook/StatusField.stories.d.ts +0 -392
  849. package/dist/shared/modules/dynamic/components/fields/storybook/StatusField.stories.d.ts.map +0 -1
  850. package/dist/shared/modules/dynamic/components/fields/storybook/SwitchField.stories.d.ts +0 -14
  851. package/dist/shared/modules/dynamic/components/fields/storybook/SwitchField.stories.d.ts.map +0 -1
  852. package/dist/shared/modules/dynamic/components/fields/storybook/TextareaField.stories.d.ts +0 -407
  853. package/dist/shared/modules/dynamic/components/fields/storybook/TextareaField.stories.d.ts.map +0 -1
  854. package/dist/shared/modules/dynamic/components/fields/storybook/VideoField.stories.d.ts +0 -322
  855. package/dist/shared/modules/dynamic/components/fields/storybook/VideoField.stories.d.ts.map +0 -1
  856. package/dist/shell-C0C2sNA_.js +0 -182
  857. package/dist/sieve-Bwz7vjP5.js +0 -72
  858. package/dist/simple-mode-BqqHn0g6.js +0 -88
  859. package/dist/smalltalk-Bhddl2pB.js +0 -48
  860. package/dist/solr-BNlsLglM.js +0 -41
  861. package/dist/sparql-FarWu_Gb.js +0 -197
  862. package/dist/spreadsheet-C-cy4P5N.js +0 -49
  863. package/dist/sql-mMre1Bo3.js +0 -282
  864. package/dist/stex-92raWT1r.js +0 -129
  865. package/dist/stylus-DRcbY16X.js +0 -250
  866. package/dist/swift-DSxqR9R6.js +0 -230
  867. package/dist/tcl-xfoLljhY.js +0 -81
  868. package/dist/textile-D1AWE-pc.js +0 -295
  869. package/dist/tiddlywiki-5wqsXtSk.js +0 -155
  870. package/dist/tiki-D9z-T0ea.js +0 -178
  871. package/dist/toml-BHiuTcfn.js +0 -49
  872. package/dist/troff-D2UO-fKf.js +0 -35
  873. package/dist/ttcn-Bsa4sfRm.js +0 -123
  874. package/dist/ttcn-cfg-Bac_acMi.js +0 -88
  875. package/dist/turtle-xwJUxoPV.js +0 -80
  876. package/dist/ui/components/atoms/vc-badge/vc-badge.stories.d.ts +0 -465
  877. package/dist/ui/components/atoms/vc-badge/vc-badge.stories.d.ts.map +0 -1
  878. package/dist/ui/components/atoms/vc-button/vc-button.stories.d.ts +0 -1277
  879. package/dist/ui/components/atoms/vc-button/vc-button.stories.d.ts.map +0 -1
  880. package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts +0 -994
  881. package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts.map +0 -1
  882. package/dist/ui/components/atoms/vc-col/vc-col.stories.d.ts +0 -48
  883. package/dist/ui/components/atoms/vc-col/vc-col.stories.d.ts.map +0 -1
  884. package/dist/ui/components/atoms/vc-container/vc-container.stories.d.ts +0 -7
  885. package/dist/ui/components/atoms/vc-container/vc-container.stories.d.ts.map +0 -1
  886. package/dist/ui/components/atoms/vc-hint/vc-hint.stories.d.ts +0 -39
  887. package/dist/ui/components/atoms/vc-hint/vc-hint.stories.d.ts.map +0 -1
  888. package/dist/ui/components/atoms/vc-icon/vc-icon.stories.d.ts +0 -64
  889. package/dist/ui/components/atoms/vc-icon/vc-icon.stories.d.ts.map +0 -1
  890. package/dist/ui/components/atoms/vc-image/vc-image.stories.d.ts +0 -114
  891. package/dist/ui/components/atoms/vc-image/vc-image.stories.d.ts.map +0 -1
  892. package/dist/ui/components/atoms/vc-label/vc-label.stories.d.ts +0 -89
  893. package/dist/ui/components/atoms/vc-label/vc-label.stories.d.ts.map +0 -1
  894. package/dist/ui/components/atoms/vc-link/vc-link.stories.d.ts +0 -93
  895. package/dist/ui/components/atoms/vc-link/vc-link.stories.d.ts.map +0 -1
  896. package/dist/ui/components/atoms/vc-loading/vc-loading.stories.d.ts +0 -20
  897. package/dist/ui/components/atoms/vc-loading/vc-loading.stories.d.ts.map +0 -1
  898. package/dist/ui/components/atoms/vc-progress/vc-progress.stories.d.ts +0 -78
  899. package/dist/ui/components/atoms/vc-progress/vc-progress.stories.d.ts.map +0 -1
  900. package/dist/ui/components/atoms/vc-row/vc-row.stories.d.ts +0 -27
  901. package/dist/ui/components/atoms/vc-row/vc-row.stories.d.ts.map +0 -1
  902. package/dist/ui/components/atoms/vc-status/vc-status.stories.d.ts +0 -121
  903. package/dist/ui/components/atoms/vc-status/vc-status.stories.d.ts.map +0 -1
  904. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.stories.d.ts +0 -7
  905. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.stories.d.ts.map +0 -1
  906. package/dist/ui/components/atoms/vc-switch/vc-switch.stories.d.ts +0 -74
  907. package/dist/ui/components/atoms/vc-switch/vc-switch.stories.d.ts.map +0 -1
  908. package/dist/ui/components/atoms/vc-video/vc-video.stories.d.ts +0 -37
  909. package/dist/ui/components/atoms/vc-video/vc-video.stories.d.ts.map +0 -1
  910. package/dist/ui/components/atoms/vc-widget/vc-widget.stories.d.ts +0 -56
  911. package/dist/ui/components/atoms/vc-widget/vc-widget.stories.d.ts.map +0 -1
  912. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.d.ts +0 -109
  913. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.d.ts.map +0 -1
  914. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.stories.d.ts +0 -1680
  915. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.stories.d.ts.map +0 -1
  916. package/dist/ui/components/molecules/vc-editor/vc-editor.stories.d.ts +0 -7275
  917. package/dist/ui/components/molecules/vc-editor/vc-editor.stories.d.ts.map +0 -1
  918. package/dist/ui/components/molecules/vc-field/vc-field.stories.d.ts +0 -105
  919. package/dist/ui/components/molecules/vc-field/vc-field.stories.d.ts.map +0 -1
  920. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.stories.d.ts +0 -170
  921. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.stories.d.ts.map +0 -1
  922. package/dist/ui/components/molecules/vc-form/vc-form.stories.d.ts +0 -31
  923. package/dist/ui/components/molecules/vc-form/vc-form.stories.d.ts.map +0 -1
  924. package/dist/ui/components/molecules/vc-input/vc-input.stories.d.ts +0 -362
  925. package/dist/ui/components/molecules/vc-input/vc-input.stories.d.ts.map +0 -1
  926. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.stories.d.ts +0 -325
  927. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.stories.d.ts.map +0 -1
  928. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.stories.d.ts +0 -1120
  929. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.stories.d.ts.map +0 -1
  930. package/dist/ui/components/molecules/vc-notification/index.d.ts +0 -2
  931. package/dist/ui/components/molecules/vc-notification/index.d.ts.map +0 -1
  932. package/dist/ui/components/molecules/vc-notification/vc-notification.vue.d.ts +0 -23
  933. package/dist/ui/components/molecules/vc-notification/vc-notification.vue.d.ts.map +0 -1
  934. package/dist/ui/components/molecules/vc-pagination/vc-pagination.stories.d.ts +0 -94
  935. package/dist/ui/components/molecules/vc-pagination/vc-pagination.stories.d.ts.map +0 -1
  936. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.stories.d.ts +0 -555
  937. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.stories.d.ts.map +0 -1
  938. package/dist/ui/components/molecules/vc-rating/vc-rating.stories.d.ts +0 -412
  939. package/dist/ui/components/molecules/vc-rating/vc-rating.stories.d.ts.map +0 -1
  940. package/dist/ui/components/molecules/vc-select/vc-select.stories.d.ts +0 -2843
  941. package/dist/ui/components/molecules/vc-select/vc-select.stories.d.ts.map +0 -1
  942. package/dist/ui/components/molecules/vc-slider/vc-slider.stories.d.ts +0 -139
  943. package/dist/ui/components/molecules/vc-slider/vc-slider.stories.d.ts.map +0 -1
  944. package/dist/ui/components/molecules/vc-textarea/vc-textarea.stories.d.ts +0 -1075
  945. package/dist/ui/components/molecules/vc-textarea/vc-textarea.stories.d.ts.map +0 -1
  946. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/components/app-bar-button/app-bar-button.vue.d.ts +0 -61
  947. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/components/app-bar-button/app-bar-button.vue.d.ts.map +0 -1
  948. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarOverlay.d.ts +0 -19
  949. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarOverlay.d.ts.map +0 -1
  950. package/dist/ui/components/organisms/vc-app/vc-app.stories.d.ts +0 -132
  951. package/dist/ui/components/organisms/vc-app/vc-app.stories.d.ts.map +0 -1
  952. package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts +0 -181
  953. package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts.map +0 -1
  954. package/dist/ui/components/organisms/vc-gallery/vc-gallery.stories.d.ts +0 -168
  955. package/dist/ui/components/organisms/vc-gallery/vc-gallery.stories.d.ts.map +0 -1
  956. package/dist/ui/components/organisms/vc-table/types.d.ts +0 -19
  957. package/dist/ui/components/organisms/vc-table/types.d.ts.map +0 -1
  958. package/dist/ui/components/organisms/vc-table/vc-table.stories.d.ts +0 -1460
  959. package/dist/ui/components/organisms/vc-table/vc-table.stories.d.ts.map +0 -1
  960. package/dist/ui/composables/useVisibleElements.d.ts +0 -19
  961. package/dist/ui/composables/useVisibleElements.d.ts.map +0 -1
  962. package/dist/vb-c2kQGd6-.js +0 -74
  963. package/dist/vbscript-Dz1TtKsy.js +0 -324
  964. package/dist/velocity-DJd0pTTC.js +0 -96
  965. package/dist/verilog-C4VGD9n1.js +0 -263
  966. package/dist/vhdl-T9HkrbI2.js +0 -106
  967. package/dist/webidl-CjfDENEo.js +0 -155
  968. package/dist/xquery-BUQdORAS.js +0 -422
  969. package/dist/yacas-C0absKBh.js +0 -73
  970. package/dist/z80-C8rPtw-0.js +0 -61
  971. package/shared/composables/useSettingsMenu.ts +0 -44
  972. package/ui/components/atoms/vc-loading/vc-loading.stories.ts +0 -18
  973. package/ui/components/molecules/vc-notification/index.ts +0 -1
  974. package/ui/components/molecules/vc-notification/vc-notification.vue +0 -170
  975. package/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarOverlay.ts +0 -78
  976. package/ui/components/organisms/vc-table/types.ts +0 -25
  977. package/ui/components/organisms/vc-table/vc-table.stories.ts +0 -214
  978. package/ui/composables/useVisibleElements.ts +0 -148
@@ -1,666 +1,666 @@
1
- import { StoryFn, Meta, setup } from "@storybook/vue3";
2
- import { SchemaBaseArgTypes } from "./common/args";
3
- import page from "./pages/DynamicRender";
4
- import { SelectSchema } from "../../..";
5
- import { reactive, ref } from "vue";
6
- import { template, templateWithVisibilityToggle } from "./common/templates";
7
- import { VcIcon } from "../../../../../../ui/components/atoms/vc-icon";
8
-
9
- const customTemplateComponent = {
10
- props: ["context", "slotName"],
11
- template: `
12
- <template v-if="slotName === 'option'">
13
- <div class="tw-flex tw-flex-col">
14
- <h2>ID - {{context.opt.id}}</h2>
15
- <p>Title - {{context.opt.title}}</p>
16
- </div>
17
- </template>
18
- <template v-else-if="slotName === 'selected-item'">
19
- <div class="tw-flex tw-flex-row tw-gap-3 tw-items-center">
20
- <VcIcon icon="fas fa-check" class="tw-text-green-500" />
21
- {{context.opt.title}}
22
- </div>
23
- </template>
24
- `,
25
- };
26
-
27
- setup((app) => {
28
- app.component("CustomSelect", customTemplateComponent);
29
- });
30
-
31
- export default {
32
- title: "DynamicViews/molecules/VcSelect",
33
- component: page,
34
- args: {
35
- id: "selectFieldId",
36
- component: "vc-select",
37
- property: "mockedProperty",
38
- optionsMethod: "mockedOptionsArray",
39
- },
40
- argTypes: {
41
- ...SchemaBaseArgTypes,
42
- component: {
43
- description: "Component type for select.",
44
- type: {
45
- required: true,
46
- name: "string",
47
- },
48
- table: {
49
- type: {
50
- summary: "vc-select",
51
- },
52
- defaultValue: {
53
- summary: "vc-select",
54
- },
55
- },
56
- },
57
- optionValue: {
58
- description: "Property which holds the `value`",
59
- type: {
60
- required: true,
61
- name: "string",
62
- },
63
- control: "text",
64
- table: {
65
- type: {
66
- summary: "string",
67
- },
68
- defaultValue: {
69
- summary: "id",
70
- },
71
- },
72
- },
73
- optionLabel: {
74
- description: "Property which holds the `label`",
75
- type: {
76
- required: true,
77
- name: "string",
78
- },
79
- control: "text",
80
- table: {
81
- type: {
82
- summary: "string",
83
- },
84
- defaultValue: {
85
- summary: "title",
86
- },
87
- },
88
- },
89
- optionsMethod: {
90
- description: `Method that is used to get select options.
91
- Method should be defined in the blade \`scope\` and could be:
92
- \n1) async method with the following arguments: (\`keyword: string\`, \`skip\`, \`ids?: string[]\`).
93
- \n2) any array
94
- \n3) composable returning array`,
95
- type: {
96
- required: true,
97
- name: "string",
98
- },
99
- table: {
100
- type: {
101
- summary: "string",
102
- },
103
- },
104
- },
105
- customTemplate: {
106
- description: `Name of custom template to display data in select.
107
- Component should be registered globally.
108
- Supported slots:
109
- \n1) \`selected-item\` - selected item
110
- \n2) \`option\` - options in dropdown list
111
-
112
- \nComponent should have the following props:
113
- \n1) \`context\` - object with the following properties:
114
- \n- \`index\` - index of the selected option
115
- \n- \`opt\` - option object
116
- \n- \`selected\` - boolean value indicating if the option is selected
117
- \n- \`toggleOption\` - function to toggle the option
118
- \n- \`removeAtIndex\` - function to remove the option at the index
119
- \n2) \`slotName\` - name of the slot to render`,
120
- table: {
121
- type: {
122
- summary: "{ component: string }",
123
- },
124
- },
125
- },
126
- clearable: {
127
- description: "Whether the select is clearable or not.",
128
- control: "boolean",
129
- table: {
130
- type: {
131
- summary: "boolean",
132
- },
133
- defaultValue: {
134
- summary: "false",
135
- },
136
- },
137
- },
138
- emitValue: {
139
- description: `Update model with the value of the selected option instead of the whole option.
140
- \n Example:
141
- \nIf emitValue is \`true\` and the selected option is { id: 1, title: "Option 1" }, the model will be updated with 1.
142
- \nIf emitValue is \`false\`, the model will be updated with the whole option.`,
143
- table: {
144
- type: {
145
- summary: "boolean",
146
- },
147
- defaultValue: {
148
- summary: "true",
149
- },
150
- },
151
- },
152
- searchable: {
153
- description: "Whether the select is searchable or not.",
154
- table: {
155
- type: {
156
- summary: "boolean",
157
- },
158
- defaultValue: {
159
- summary: "false",
160
- },
161
- },
162
- },
163
- multiple: {
164
- description: "Select multiple values.",
165
- table: {
166
- type: {
167
- summary: "boolean",
168
- },
169
- defaultValue: {
170
- summary: "false",
171
- },
172
- },
173
- },
174
- mapOptions: {
175
- description:
176
- "Try to map labels of model from 'options' Array; If you are using emit-value you will probably need to use map-options to display the label text in the select field rather than the value.",
177
- table: {
178
- type: {
179
- summary: "boolean",
180
- },
181
- defaultValue: {
182
- summary: "true",
183
- },
184
- },
185
- },
186
- hint: {
187
- description: "Hint text to be displayed below the input.",
188
- table: {
189
- type: {
190
- summary: "string",
191
- },
192
- },
193
- },
194
- },
195
- parameters: {
196
- docs: {
197
- canvas: {
198
- sourceState: "none",
199
- },
200
- },
201
- },
202
- } satisfies Meta<SelectSchema>;
203
-
204
- export const Template: StoryFn<SelectSchema> = (args) => ({
205
- components: { page },
206
- setup() {
207
- const context = reactive({
208
- item: {
209
- mockedProperty: 1,
210
- },
211
- scope: {
212
- mockedOptionsArray: [
213
- { id: 1, title: "Option 1" },
214
- { id: 2, title: "Option 2" },
215
- { id: 3, title: "Option 3" },
216
- { id: 4, title: "Option 4" },
217
- ],
218
- },
219
- });
220
- return { args, context };
221
- },
222
- template,
223
- });
224
-
225
- export const WithLabel = Template.bind({});
226
- WithLabel.args = {
227
- label: "Select label",
228
- };
229
-
230
- export const WithTooltip = WithLabel.bind({});
231
- WithTooltip.args = {
232
- label: "Select label",
233
- tooltip: "Select tooltip",
234
- };
235
-
236
- export const WithHint = WithLabel.bind({});
237
- WithHint.args = {
238
- hint: "Select hint",
239
- };
240
-
241
- export const WithPlaceholder: StoryFn<SelectSchema> = (args) => ({
242
- components: { page },
243
- setup() {
244
- const context = reactive({
245
- item: {
246
- mockedProperty: null,
247
- },
248
- scope: {
249
- mockedOptionsArray: [
250
- { id: 1, title: "Option 1" },
251
- { id: 2, title: "Option 2" },
252
- { id: 3, title: "Option 3" },
253
- { id: 4, title: "Option 4" },
254
- ],
255
- },
256
- });
257
- return { args, context };
258
- },
259
- template,
260
- });
261
- WithPlaceholder.args = {
262
- label: "Select label",
263
- placeholder: "Select item from dropdown",
264
- };
265
-
266
- export const WithValidation = Template.bind({});
267
- WithValidation.args = {
268
- label: "Select label",
269
- rules: { required: true },
270
- };
271
-
272
- export const WithAsyncOptions: StoryFn<SelectSchema> = (args) => ({
273
- components: { page },
274
- setup() {
275
- const context = reactive({
276
- item: {
277
- mockedProperty: null,
278
- },
279
- scope: {
280
- mockedOptionsArray: async () =>
281
- new Promise((resolve) => {
282
- setTimeout(() => {
283
- resolve({
284
- results: [
285
- { title: "Option 1", label: "Option 1" },
286
- { title: "Option 2", label: "Option 2" },
287
- { title: "Option 3", label: "Option 3" },
288
- ],
289
- totalCount: 3,
290
- });
291
- }, 1000);
292
- }),
293
- },
294
- });
295
- return { args, context };
296
- },
297
- template,
298
- });
299
- WithAsyncOptions.args = {
300
- label: "Select label",
301
- optionLabel: "label",
302
- optionValue: "title",
303
- };
304
-
305
- export const WithObjectArrayOptions: StoryFn<SelectSchema> = (args) => ({
306
- components: { page },
307
- setup() {
308
- const context = reactive({
309
- item: {
310
- mockedProperty: null,
311
- },
312
- scope: {
313
- mockedOptionsArray: [
314
- { id: 1, title: "Option 1" },
315
- { id: 2, title: "Option 2" },
316
- { id: 3, title: "Option 3" },
317
- { id: 4, title: "Option 4" },
318
- ],
319
- },
320
- });
321
- return { args, context };
322
- },
323
- template,
324
- });
325
-
326
- export const WithStringArrayOptions: StoryFn<SelectSchema> = (args) => ({
327
- components: { page },
328
- setup() {
329
- const context = reactive({
330
- item: {
331
- mockedProperty: null,
332
- },
333
- scope: {
334
- mockedOptionsArray: ["Option 1", "Option 2", "Option 3", "Option 4"],
335
- },
336
- });
337
- return { args, context };
338
- },
339
- template,
340
- });
341
-
342
- export const EmitValueTrueProp: StoryFn<SelectSchema> = (args) => ({
343
- components: { page },
344
- setup() {
345
- const context = reactive({
346
- item: {
347
- mockedProperty: 1,
348
- },
349
- scope: {
350
- mockedOptionsArray: [
351
- { id: 1, title: "Option 1" },
352
- { id: 2, title: "Option 2" },
353
- { id: 3, title: "Option 3" },
354
- { id: 4, title: "Option 4" },
355
- ],
356
- },
357
- });
358
- return { args, context };
359
- },
360
- template,
361
- });
362
- EmitValueTrueProp.parameters = {
363
- docs: {
364
- description: {
365
- story: "The default emitValue === <b>true</b> returns the value of key defined in optionValue",
366
- },
367
- },
368
- };
369
-
370
- export const EmitValueFalseProp: StoryFn<SelectSchema> = (args) => ({
371
- components: { page },
372
- setup() {
373
- const context = reactive({
374
- item: {
375
- mockedProperty: { id: 1, title: "Option 1" },
376
- },
377
- scope: {
378
- mockedOptionsArray: [
379
- { id: 1, title: "Option 1" },
380
- { id: 2, title: "Option 2" },
381
- { id: 3, title: "Option 3" },
382
- { id: 4, title: "Option 4" },
383
- ],
384
- },
385
- });
386
- return { args, context };
387
- },
388
- template,
389
- });
390
- EmitValueFalseProp.args = {
391
- emitValue: false,
392
- };
393
- EmitValueFalseProp.parameters = {
394
- docs: {
395
- description: {
396
- story: "emitValue === <b>false</b> returns the complete object as the result",
397
- },
398
- },
399
- };
400
-
401
- export const MapOptionsTrueProp: StoryFn<SelectSchema> = (args) => ({
402
- components: { page },
403
- setup() {
404
- const context = reactive({
405
- item: {
406
- mockedProperty: 1,
407
- },
408
- scope: {
409
- mockedOptionsArray: [
410
- { value: 1, label: "Option 1" },
411
- { value: 2, label: "Option 2" },
412
- { value: 3, label: "Option 3" },
413
- { value: 4, label: "Option 4" },
414
- ],
415
- },
416
- });
417
- return { args, context };
418
- },
419
- template,
420
- });
421
- MapOptionsTrueProp.parameters = {
422
- docs: {
423
- description: {
424
- story:
425
- "The default mapOptions === <b>true</b> maps map labels of model from 'options' Array. If you are using emit-value you will probably need to use map-options to display the label text in the select field rather than the value.",
426
- },
427
- },
428
- };
429
-
430
- export const MapOptionsFalseProp: StoryFn<SelectSchema> = (args) => ({
431
- components: { page },
432
- setup() {
433
- const context = reactive({
434
- item: {
435
- mockedProperty: 1,
436
- },
437
- scope: {
438
- mockedOptionsArray: [
439
- { value: 1, label: "Option 1" },
440
- { value: 2, label: "Option 2" },
441
- { value: 3, label: "Option 3" },
442
- { value: 4, label: "Option 4" },
443
- ],
444
- },
445
- });
446
- return { args, context };
447
- },
448
- template,
449
- });
450
- MapOptionsFalseProp.args = {
451
- mapOptions: false,
452
- };
453
- MapOptionsFalseProp.parameters = {
454
- docs: {
455
- description: {
456
- story: "mapOptions === <b>false</b> will not map labels of model from 'options' Array",
457
- },
458
- },
459
- };
460
-
461
- export const Multiple: StoryFn<SelectSchema> = (args) => ({
462
- components: { page },
463
- setup() {
464
- const context = reactive({
465
- item: {
466
- mockedProperty: ["Option 1", "Option 2"],
467
- },
468
- scope: {
469
- mockedOptionsArray: [
470
- { id: 1, title: "Option 1" },
471
- { id: 2, title: "Option 2" },
472
- { id: 3, title: "Option 3" },
473
- { id: 4, title: "Option 4" },
474
- ],
475
- },
476
- });
477
- return { args, context };
478
- },
479
- template,
480
- });
481
- Multiple.args = {
482
- multiple: true,
483
- };
484
-
485
- export const Searchable: StoryFn<SelectSchema> = (args) => ({
486
- components: { page },
487
- setup() {
488
- const context = reactive({
489
- item: {
490
- mockedProperty: null,
491
- },
492
- scope: {
493
- mockedOptionsArray: [
494
- { id: 1, title: "Option 1" },
495
- { id: 2, title: "Option 2" },
496
- { id: 3, title: "Option 3" },
497
- { id: 4, title: "Option 4" },
498
- ],
499
- },
500
- });
501
- return { args, context };
502
- },
503
- template,
504
- });
505
- Searchable.args = {
506
- searchable: true,
507
- };
508
-
509
- export const WithDisabled: StoryFn<SelectSchema> = (args) => ({
510
- components: { page },
511
- setup() {
512
- const context = reactive({
513
- item: {
514
- mockedProperty: 1,
515
- },
516
- scope: {
517
- mockedOptionsArray: [
518
- { id: 1, title: "Option 1" },
519
- { id: 2, title: "Option 2" },
520
- { id: 3, title: "Option 3" },
521
- { id: 4, title: "Option 4" },
522
- ],
523
- disabledFn: true,
524
- },
525
- });
526
- return { args, context };
527
- },
528
- template,
529
- });
530
- WithDisabled.args = {
531
- disabled: {
532
- method: "disabledFn",
533
- },
534
- };
535
-
536
- export const WithClearable = Template.bind({});
537
- WithClearable.args = {
538
- label: "Select label",
539
- clearable: true,
540
- };
541
-
542
- export const WithVisibilityMethod: StoryFn<SelectSchema> = (args) => ({
543
- components: { page },
544
- setup() {
545
- const isVisible = ref(false);
546
- const toggle = () => {
547
- isVisible.value = !isVisible.value;
548
- };
549
-
550
- const context = reactive({
551
- item: {
552
- mockedProperty: 1,
553
- },
554
- scope: {
555
- mockedOptionsArray: [
556
- { id: 1, title: "Option 1" },
557
- { id: 2, title: "Option 2" },
558
- { id: 3, title: "Option 3" },
559
- { id: 4, title: "Option 4" },
560
- ],
561
- visibilityFn: isVisible,
562
- },
563
- });
564
- return { args, context, toggle };
565
- },
566
- template: templateWithVisibilityToggle,
567
- });
568
- WithVisibilityMethod.args = {
569
- visibility: {
570
- method: "visibilityFn",
571
- },
572
- };
573
-
574
- export const WithUpdateMethod: StoryFn<SelectSchema> = (args) => ({
575
- components: { page },
576
- setup() {
577
- const context = reactive({
578
- item: {
579
- mockedProperty: 1,
580
- },
581
- scope: {
582
- mockedOptionsArray: [
583
- { id: 1, title: "Option 1" },
584
- { id: 2, title: "Option 2" },
585
- { id: 3, title: "Option 3" },
586
- { id: 4, title: "Option 4" },
587
- ],
588
- updateFn: (value: string) => alert(`Value updated to: ${value}`),
589
- },
590
- });
591
-
592
- return { args, context };
593
- },
594
- template,
595
- });
596
- WithUpdateMethod.args = {
597
- update: {
598
- method: "updateFn",
599
- },
600
- };
601
-
602
- export const WithHorizontalSeparator = Template.bind({});
603
-
604
- WithHorizontalSeparator.args = {
605
- label: "Select label",
606
- horizontalSeparator: true,
607
- };
608
-
609
- export const CustomTemplate: StoryFn<SelectSchema> = (args) => ({
610
- components: { page },
611
- setup() {
612
- const context = reactive({
613
- item: {
614
- mockedProperty: 1,
615
- },
616
- scope: {
617
- mockedOptionsArray: [
618
- { id: 1, title: "Option 1" },
619
- { id: 2, title: "Option 2" },
620
- { id: 3, title: "Option 3" },
621
- { id: 4, title: "Option 4" },
622
- ],
623
- },
624
- });
625
- return { args, context };
626
- },
627
- template,
628
- });
629
-
630
- CustomTemplate.storyName = "Custom template for dropdown item and selected item";
631
- CustomTemplate.args = {
632
- label: "Select label",
633
- customTemplate: {
634
- component: "custom-select",
635
- },
636
- };
637
-
638
- export const CustomTemplateWithMultiple: StoryFn<SelectSchema> = (args) => ({
639
- components: { page, VcIcon },
640
- setup() {
641
- const context = reactive({
642
- item: {
643
- mockedProperty: [1, 2],
644
- },
645
- scope: {
646
- mockedOptionsArray: [
647
- { id: 1, title: "Option 1" },
648
- { id: 2, title: "Option 2" },
649
- { id: 3, title: "Option 3" },
650
- { id: 4, title: "Option 4" },
651
- ],
652
- },
653
- });
654
- return { args, context };
655
- },
656
- template,
657
- });
658
-
659
- CustomTemplateWithMultiple.storyName = "Custom template for dropdown item and selected item with multiple values";
660
- CustomTemplateWithMultiple.args = {
661
- label: "Select label",
662
- multiple: true,
663
- customTemplate: {
664
- component: "custom-select",
665
- },
666
- };
1
+ import { StoryFn, Meta, setup } from "@storybook/vue3";
2
+ import { SchemaBaseArgTypes } from "./common/args";
3
+ import page from "./pages/DynamicRender";
4
+ import { SelectSchema } from "../../..";
5
+ import { reactive, ref } from "vue";
6
+ import { template, templateWithVisibilityToggle } from "./common/templates";
7
+ import { VcIcon } from "../../../../../../ui/components/atoms/vc-icon";
8
+
9
+ const customTemplateComponent = {
10
+ props: ["context", "slotName"],
11
+ template: `
12
+ <template v-if="slotName === 'option'">
13
+ <div class="tw-flex tw-flex-col">
14
+ <h2>ID - {{context.opt.id}}</h2>
15
+ <p>Title - {{context.opt.title}}</p>
16
+ </div>
17
+ </template>
18
+ <template v-else-if="slotName === 'selected-item'">
19
+ <div class="tw-flex tw-flex-row tw-gap-3 tw-items-center">
20
+ <VcIcon icon="material-check" class="tw-text-green-500" />
21
+ {{context.opt.title}}
22
+ </div>
23
+ </template>
24
+ `,
25
+ };
26
+
27
+ setup((app) => {
28
+ app.component("CustomSelect", customTemplateComponent);
29
+ });
30
+
31
+ export default {
32
+ title: "DynamicViews/molecules/VcSelect",
33
+ component: page,
34
+ args: {
35
+ id: "selectFieldId",
36
+ component: "vc-select",
37
+ property: "mockedProperty",
38
+ optionsMethod: "mockedOptionsArray",
39
+ },
40
+ argTypes: {
41
+ ...SchemaBaseArgTypes,
42
+ component: {
43
+ description: "Component type for select.",
44
+ type: {
45
+ required: true,
46
+ name: "string",
47
+ },
48
+ table: {
49
+ type: {
50
+ summary: "vc-select",
51
+ },
52
+ defaultValue: {
53
+ summary: "vc-select",
54
+ },
55
+ },
56
+ },
57
+ optionValue: {
58
+ description: "Property which holds the `value`",
59
+ type: {
60
+ required: true,
61
+ name: "string",
62
+ },
63
+ control: "text",
64
+ table: {
65
+ type: {
66
+ summary: "string",
67
+ },
68
+ defaultValue: {
69
+ summary: "id",
70
+ },
71
+ },
72
+ },
73
+ optionLabel: {
74
+ description: "Property which holds the `label`",
75
+ type: {
76
+ required: true,
77
+ name: "string",
78
+ },
79
+ control: "text",
80
+ table: {
81
+ type: {
82
+ summary: "string",
83
+ },
84
+ defaultValue: {
85
+ summary: "title",
86
+ },
87
+ },
88
+ },
89
+ optionsMethod: {
90
+ description: `Method that is used to get select options.
91
+ Method should be defined in the blade \`scope\` and could be:
92
+ \n1) async method with the following arguments: (\`keyword: string\`, \`skip\`, \`ids?: string[]\`).
93
+ \n2) any array
94
+ \n3) composable returning array`,
95
+ type: {
96
+ required: true,
97
+ name: "string",
98
+ },
99
+ table: {
100
+ type: {
101
+ summary: "string",
102
+ },
103
+ },
104
+ },
105
+ customTemplate: {
106
+ description: `Name of custom template to display data in select.
107
+ Component should be registered globally.
108
+ Supported slots:
109
+ \n1) \`selected-item\` - selected item
110
+ \n2) \`option\` - options in dropdown list
111
+
112
+ \nComponent should have the following props:
113
+ \n1) \`context\` - object with the following properties:
114
+ \n- \`index\` - index of the selected option
115
+ \n- \`opt\` - option object
116
+ \n- \`selected\` - boolean value indicating if the option is selected
117
+ \n- \`toggleOption\` - function to toggle the option
118
+ \n- \`removeAtIndex\` - function to remove the option at the index
119
+ \n2) \`slotName\` - name of the slot to render`,
120
+ table: {
121
+ type: {
122
+ summary: "{ component: string }",
123
+ },
124
+ },
125
+ },
126
+ clearable: {
127
+ description: "Whether the select is clearable or not.",
128
+ control: "boolean",
129
+ table: {
130
+ type: {
131
+ summary: "boolean",
132
+ },
133
+ defaultValue: {
134
+ summary: "false",
135
+ },
136
+ },
137
+ },
138
+ emitValue: {
139
+ description: `Update model with the value of the selected option instead of the whole option.
140
+ \n Example:
141
+ \nIf emitValue is \`true\` and the selected option is { id: 1, title: "Option 1" }, the model will be updated with 1.
142
+ \nIf emitValue is \`false\`, the model will be updated with the whole option.`,
143
+ table: {
144
+ type: {
145
+ summary: "boolean",
146
+ },
147
+ defaultValue: {
148
+ summary: "true",
149
+ },
150
+ },
151
+ },
152
+ searchable: {
153
+ description: "Whether the select is searchable or not.",
154
+ table: {
155
+ type: {
156
+ summary: "boolean",
157
+ },
158
+ defaultValue: {
159
+ summary: "false",
160
+ },
161
+ },
162
+ },
163
+ multiple: {
164
+ description: "Select multiple values.",
165
+ table: {
166
+ type: {
167
+ summary: "boolean",
168
+ },
169
+ defaultValue: {
170
+ summary: "false",
171
+ },
172
+ },
173
+ },
174
+ mapOptions: {
175
+ description:
176
+ "Try to map labels of model from 'options' Array; If you are using emit-value you will probably need to use map-options to display the label text in the select field rather than the value.",
177
+ table: {
178
+ type: {
179
+ summary: "boolean",
180
+ },
181
+ defaultValue: {
182
+ summary: "true",
183
+ },
184
+ },
185
+ },
186
+ hint: {
187
+ description: "Hint text to be displayed below the input.",
188
+ table: {
189
+ type: {
190
+ summary: "string",
191
+ },
192
+ },
193
+ },
194
+ },
195
+ parameters: {
196
+ docs: {
197
+ canvas: {
198
+ sourceState: "none",
199
+ },
200
+ },
201
+ },
202
+ } satisfies Meta<SelectSchema>;
203
+
204
+ export const Template: StoryFn<SelectSchema> = (args) => ({
205
+ components: { page },
206
+ setup() {
207
+ const context = reactive({
208
+ item: {
209
+ mockedProperty: 1,
210
+ },
211
+ scope: {
212
+ mockedOptionsArray: [
213
+ { id: 1, title: "Option 1" },
214
+ { id: 2, title: "Option 2" },
215
+ { id: 3, title: "Option 3" },
216
+ { id: 4, title: "Option 4" },
217
+ ],
218
+ },
219
+ });
220
+ return { args, context };
221
+ },
222
+ template,
223
+ });
224
+
225
+ export const WithLabel = Template.bind({});
226
+ WithLabel.args = {
227
+ label: "Select label",
228
+ };
229
+
230
+ export const WithTooltip = WithLabel.bind({});
231
+ WithTooltip.args = {
232
+ label: "Select label",
233
+ tooltip: "Select tooltip",
234
+ };
235
+
236
+ export const WithHint = WithLabel.bind({});
237
+ WithHint.args = {
238
+ hint: "Select hint",
239
+ };
240
+
241
+ export const WithPlaceholder: StoryFn<SelectSchema> = (args) => ({
242
+ components: { page },
243
+ setup() {
244
+ const context = reactive({
245
+ item: {
246
+ mockedProperty: null,
247
+ },
248
+ scope: {
249
+ mockedOptionsArray: [
250
+ { id: 1, title: "Option 1" },
251
+ { id: 2, title: "Option 2" },
252
+ { id: 3, title: "Option 3" },
253
+ { id: 4, title: "Option 4" },
254
+ ],
255
+ },
256
+ });
257
+ return { args, context };
258
+ },
259
+ template,
260
+ });
261
+ WithPlaceholder.args = {
262
+ label: "Select label",
263
+ placeholder: "Select item from dropdown",
264
+ };
265
+
266
+ export const WithValidation = Template.bind({});
267
+ WithValidation.args = {
268
+ label: "Select label",
269
+ rules: { required: true },
270
+ };
271
+
272
+ export const WithAsyncOptions: StoryFn<SelectSchema> = (args) => ({
273
+ components: { page },
274
+ setup() {
275
+ const context = reactive({
276
+ item: {
277
+ mockedProperty: null,
278
+ },
279
+ scope: {
280
+ mockedOptionsArray: async () =>
281
+ new Promise((resolve) => {
282
+ setTimeout(() => {
283
+ resolve({
284
+ results: [
285
+ { title: "Option 1", label: "Option 1" },
286
+ { title: "Option 2", label: "Option 2" },
287
+ { title: "Option 3", label: "Option 3" },
288
+ ],
289
+ totalCount: 3,
290
+ });
291
+ }, 1000);
292
+ }),
293
+ },
294
+ });
295
+ return { args, context };
296
+ },
297
+ template,
298
+ });
299
+ WithAsyncOptions.args = {
300
+ label: "Select label",
301
+ optionLabel: "label",
302
+ optionValue: "title",
303
+ };
304
+
305
+ export const WithObjectArrayOptions: StoryFn<SelectSchema> = (args) => ({
306
+ components: { page },
307
+ setup() {
308
+ const context = reactive({
309
+ item: {
310
+ mockedProperty: null,
311
+ },
312
+ scope: {
313
+ mockedOptionsArray: [
314
+ { id: 1, title: "Option 1" },
315
+ { id: 2, title: "Option 2" },
316
+ { id: 3, title: "Option 3" },
317
+ { id: 4, title: "Option 4" },
318
+ ],
319
+ },
320
+ });
321
+ return { args, context };
322
+ },
323
+ template,
324
+ });
325
+
326
+ export const WithStringArrayOptions: StoryFn<SelectSchema> = (args) => ({
327
+ components: { page },
328
+ setup() {
329
+ const context = reactive({
330
+ item: {
331
+ mockedProperty: null,
332
+ },
333
+ scope: {
334
+ mockedOptionsArray: ["Option 1", "Option 2", "Option 3", "Option 4"],
335
+ },
336
+ });
337
+ return { args, context };
338
+ },
339
+ template,
340
+ });
341
+
342
+ export const EmitValueTrueProp: StoryFn<SelectSchema> = (args) => ({
343
+ components: { page },
344
+ setup() {
345
+ const context = reactive({
346
+ item: {
347
+ mockedProperty: 1,
348
+ },
349
+ scope: {
350
+ mockedOptionsArray: [
351
+ { id: 1, title: "Option 1" },
352
+ { id: 2, title: "Option 2" },
353
+ { id: 3, title: "Option 3" },
354
+ { id: 4, title: "Option 4" },
355
+ ],
356
+ },
357
+ });
358
+ return { args, context };
359
+ },
360
+ template,
361
+ });
362
+ EmitValueTrueProp.parameters = {
363
+ docs: {
364
+ description: {
365
+ story: "The default emitValue === <b>true</b> returns the value of key defined in optionValue",
366
+ },
367
+ },
368
+ };
369
+
370
+ export const EmitValueFalseProp: StoryFn<SelectSchema> = (args) => ({
371
+ components: { page },
372
+ setup() {
373
+ const context = reactive({
374
+ item: {
375
+ mockedProperty: { id: 1, title: "Option 1" },
376
+ },
377
+ scope: {
378
+ mockedOptionsArray: [
379
+ { id: 1, title: "Option 1" },
380
+ { id: 2, title: "Option 2" },
381
+ { id: 3, title: "Option 3" },
382
+ { id: 4, title: "Option 4" },
383
+ ],
384
+ },
385
+ });
386
+ return { args, context };
387
+ },
388
+ template,
389
+ });
390
+ EmitValueFalseProp.args = {
391
+ emitValue: false,
392
+ };
393
+ EmitValueFalseProp.parameters = {
394
+ docs: {
395
+ description: {
396
+ story: "emitValue === <b>false</b> returns the complete object as the result",
397
+ },
398
+ },
399
+ };
400
+
401
+ export const MapOptionsTrueProp: StoryFn<SelectSchema> = (args) => ({
402
+ components: { page },
403
+ setup() {
404
+ const context = reactive({
405
+ item: {
406
+ mockedProperty: 1,
407
+ },
408
+ scope: {
409
+ mockedOptionsArray: [
410
+ { value: 1, label: "Option 1" },
411
+ { value: 2, label: "Option 2" },
412
+ { value: 3, label: "Option 3" },
413
+ { value: 4, label: "Option 4" },
414
+ ],
415
+ },
416
+ });
417
+ return { args, context };
418
+ },
419
+ template,
420
+ });
421
+ MapOptionsTrueProp.parameters = {
422
+ docs: {
423
+ description: {
424
+ story:
425
+ "The default mapOptions === <b>true</b> maps map labels of model from 'options' Array. If you are using emit-value you will probably need to use map-options to display the label text in the select field rather than the value.",
426
+ },
427
+ },
428
+ };
429
+
430
+ export const MapOptionsFalseProp: StoryFn<SelectSchema> = (args) => ({
431
+ components: { page },
432
+ setup() {
433
+ const context = reactive({
434
+ item: {
435
+ mockedProperty: 1,
436
+ },
437
+ scope: {
438
+ mockedOptionsArray: [
439
+ { value: 1, label: "Option 1" },
440
+ { value: 2, label: "Option 2" },
441
+ { value: 3, label: "Option 3" },
442
+ { value: 4, label: "Option 4" },
443
+ ],
444
+ },
445
+ });
446
+ return { args, context };
447
+ },
448
+ template,
449
+ });
450
+ MapOptionsFalseProp.args = {
451
+ mapOptions: false,
452
+ };
453
+ MapOptionsFalseProp.parameters = {
454
+ docs: {
455
+ description: {
456
+ story: "mapOptions === <b>false</b> will not map labels of model from 'options' Array",
457
+ },
458
+ },
459
+ };
460
+
461
+ export const Multiple: StoryFn<SelectSchema> = (args) => ({
462
+ components: { page },
463
+ setup() {
464
+ const context = reactive({
465
+ item: {
466
+ mockedProperty: ["Option 1", "Option 2"],
467
+ },
468
+ scope: {
469
+ mockedOptionsArray: [
470
+ { id: 1, title: "Option 1" },
471
+ { id: 2, title: "Option 2" },
472
+ { id: 3, title: "Option 3" },
473
+ { id: 4, title: "Option 4" },
474
+ ],
475
+ },
476
+ });
477
+ return { args, context };
478
+ },
479
+ template,
480
+ });
481
+ Multiple.args = {
482
+ multiple: true,
483
+ };
484
+
485
+ export const Searchable: StoryFn<SelectSchema> = (args) => ({
486
+ components: { page },
487
+ setup() {
488
+ const context = reactive({
489
+ item: {
490
+ mockedProperty: null,
491
+ },
492
+ scope: {
493
+ mockedOptionsArray: [
494
+ { id: 1, title: "Option 1" },
495
+ { id: 2, title: "Option 2" },
496
+ { id: 3, title: "Option 3" },
497
+ { id: 4, title: "Option 4" },
498
+ ],
499
+ },
500
+ });
501
+ return { args, context };
502
+ },
503
+ template,
504
+ });
505
+ Searchable.args = {
506
+ searchable: true,
507
+ };
508
+
509
+ export const WithDisabled: StoryFn<SelectSchema> = (args) => ({
510
+ components: { page },
511
+ setup() {
512
+ const context = reactive({
513
+ item: {
514
+ mockedProperty: 1,
515
+ },
516
+ scope: {
517
+ mockedOptionsArray: [
518
+ { id: 1, title: "Option 1" },
519
+ { id: 2, title: "Option 2" },
520
+ { id: 3, title: "Option 3" },
521
+ { id: 4, title: "Option 4" },
522
+ ],
523
+ disabledFn: true,
524
+ },
525
+ });
526
+ return { args, context };
527
+ },
528
+ template,
529
+ });
530
+ WithDisabled.args = {
531
+ disabled: {
532
+ method: "disabledFn",
533
+ },
534
+ };
535
+
536
+ export const WithClearable = Template.bind({});
537
+ WithClearable.args = {
538
+ label: "Select label",
539
+ clearable: true,
540
+ };
541
+
542
+ export const WithVisibilityMethod: StoryFn<SelectSchema> = (args) => ({
543
+ components: { page },
544
+ setup() {
545
+ const isVisible = ref(false);
546
+ const toggle = () => {
547
+ isVisible.value = !isVisible.value;
548
+ };
549
+
550
+ const context = reactive({
551
+ item: {
552
+ mockedProperty: 1,
553
+ },
554
+ scope: {
555
+ mockedOptionsArray: [
556
+ { id: 1, title: "Option 1" },
557
+ { id: 2, title: "Option 2" },
558
+ { id: 3, title: "Option 3" },
559
+ { id: 4, title: "Option 4" },
560
+ ],
561
+ visibilityFn: isVisible,
562
+ },
563
+ });
564
+ return { args, context, toggle };
565
+ },
566
+ template: templateWithVisibilityToggle,
567
+ });
568
+ WithVisibilityMethod.args = {
569
+ visibility: {
570
+ method: "visibilityFn",
571
+ },
572
+ };
573
+
574
+ export const WithUpdateMethod: StoryFn<SelectSchema> = (args) => ({
575
+ components: { page },
576
+ setup() {
577
+ const context = reactive({
578
+ item: {
579
+ mockedProperty: 1,
580
+ },
581
+ scope: {
582
+ mockedOptionsArray: [
583
+ { id: 1, title: "Option 1" },
584
+ { id: 2, title: "Option 2" },
585
+ { id: 3, title: "Option 3" },
586
+ { id: 4, title: "Option 4" },
587
+ ],
588
+ updateFn: (value: string) => alert(`Value updated to: ${value}`),
589
+ },
590
+ });
591
+
592
+ return { args, context };
593
+ },
594
+ template,
595
+ });
596
+ WithUpdateMethod.args = {
597
+ update: {
598
+ method: "updateFn",
599
+ },
600
+ };
601
+
602
+ export const WithHorizontalSeparator = Template.bind({});
603
+
604
+ WithHorizontalSeparator.args = {
605
+ label: "Select label",
606
+ horizontalSeparator: true,
607
+ };
608
+
609
+ export const CustomTemplate: StoryFn<SelectSchema> = (args) => ({
610
+ components: { page },
611
+ setup() {
612
+ const context = reactive({
613
+ item: {
614
+ mockedProperty: 1,
615
+ },
616
+ scope: {
617
+ mockedOptionsArray: [
618
+ { id: 1, title: "Option 1" },
619
+ { id: 2, title: "Option 2" },
620
+ { id: 3, title: "Option 3" },
621
+ { id: 4, title: "Option 4" },
622
+ ],
623
+ },
624
+ });
625
+ return { args, context };
626
+ },
627
+ template,
628
+ });
629
+
630
+ CustomTemplate.storyName = "Custom template for dropdown item and selected item";
631
+ CustomTemplate.args = {
632
+ label: "Select label",
633
+ customTemplate: {
634
+ component: "custom-select",
635
+ },
636
+ };
637
+
638
+ export const CustomTemplateWithMultiple: StoryFn<SelectSchema> = (args) => ({
639
+ components: { page, VcIcon },
640
+ setup() {
641
+ const context = reactive({
642
+ item: {
643
+ mockedProperty: [1, 2],
644
+ },
645
+ scope: {
646
+ mockedOptionsArray: [
647
+ { id: 1, title: "Option 1" },
648
+ { id: 2, title: "Option 2" },
649
+ { id: 3, title: "Option 3" },
650
+ { id: 4, title: "Option 4" },
651
+ ],
652
+ },
653
+ });
654
+ return { args, context };
655
+ },
656
+ template,
657
+ });
658
+
659
+ CustomTemplateWithMultiple.storyName = "Custom template for dropdown item and selected item with multiple values";
660
+ CustomTemplateWithMultiple.args = {
661
+ label: "Select label",
662
+ multiple: true,
663
+ customTemplate: {
664
+ component: "custom-select",
665
+ },
666
+ };