@vc-shell/framework 1.0.49 → 1.0.50

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 (255) hide show
  1. package/core/types/index.ts +2 -4
  2. package/dist/core/types/index.d.ts +2 -3
  3. package/dist/core/types/index.d.ts.map +1 -1
  4. package/dist/framework.js +56 -56
  5. package/dist/shared/blade-navigation/index.d.ts +1 -1
  6. package/dist/shared/blade-navigation/index.d.ts.map +1 -1
  7. package/dist/style.css +1 -1
  8. package/dist/tsconfig.tsbuildinfo +1 -1
  9. package/dist/ui/components/atoms/vc-badge/vc-badge-model.d.ts +1 -6
  10. package/dist/ui/components/atoms/vc-badge/vc-badge-model.d.ts.map +1 -1
  11. package/dist/ui/components/atoms/vc-button/index.d.ts +1 -1
  12. package/dist/ui/components/atoms/vc-button/index.d.ts.map +1 -1
  13. package/dist/ui/components/atoms/vc-button/vc-button-model.d.ts +5 -19
  14. package/dist/ui/components/atoms/vc-button/vc-button-model.d.ts.map +1 -1
  15. package/dist/ui/components/atoms/vc-card/index.d.ts +5 -0
  16. package/dist/ui/components/atoms/vc-card/index.d.ts.map +1 -0
  17. package/dist/ui/components/atoms/vc-card/vc-card-model.d.ts +16 -0
  18. package/dist/ui/components/atoms/vc-card/vc-card-model.d.ts.map +1 -0
  19. package/dist/ui/components/atoms/vc-checkbox/index.d.ts +5 -0
  20. package/dist/ui/components/atoms/vc-checkbox/index.d.ts.map +1 -0
  21. package/dist/ui/components/atoms/vc-checkbox/vc-checkbox-model.d.ts +14 -0
  22. package/dist/ui/components/atoms/vc-checkbox/vc-checkbox-model.d.ts.map +1 -0
  23. package/dist/ui/components/atoms/vc-col/index.d.ts +5 -0
  24. package/dist/ui/components/atoms/vc-col/index.d.ts.map +1 -0
  25. package/dist/ui/components/atoms/vc-col/vc-col-model.d.ts +8 -0
  26. package/dist/ui/components/atoms/vc-col/vc-col-model.d.ts.map +1 -0
  27. package/dist/ui/components/atoms/vc-container/index.d.ts +5 -0
  28. package/dist/ui/components/atoms/vc-container/index.d.ts.map +1 -0
  29. package/dist/ui/components/atoms/vc-container/vc-container-model.d.ts +11 -0
  30. package/dist/ui/components/atoms/vc-container/vc-container-model.d.ts.map +1 -0
  31. package/dist/ui/components/atoms/vc-hint/index.d.ts +2 -0
  32. package/dist/ui/components/atoms/vc-hint/index.d.ts.map +1 -0
  33. package/dist/ui/components/atoms/vc-icon/index.d.ts +5 -0
  34. package/dist/ui/components/atoms/vc-icon/index.d.ts.map +1 -0
  35. package/dist/ui/components/atoms/vc-icon/vc-icon-model.d.ts +9 -0
  36. package/dist/ui/components/atoms/vc-icon/vc-icon-model.d.ts.map +1 -0
  37. package/dist/ui/components/atoms/vc-image/index.d.ts +5 -0
  38. package/dist/ui/components/atoms/vc-image/index.d.ts.map +1 -0
  39. package/dist/ui/components/atoms/vc-image/vc-image-model.d.ts +15 -0
  40. package/dist/ui/components/atoms/vc-image/vc-image-model.d.ts.map +1 -0
  41. package/dist/ui/components/atoms/vc-info-row/index.d.ts +5 -0
  42. package/dist/ui/components/atoms/vc-info-row/index.d.ts.map +1 -0
  43. package/dist/ui/components/atoms/vc-info-row/vc-info-row-model.d.ts +11 -0
  44. package/dist/ui/components/atoms/vc-info-row/vc-info-row-model.d.ts.map +1 -0
  45. package/dist/ui/components/atoms/vc-label/index.d.ts +5 -0
  46. package/dist/ui/components/atoms/vc-label/index.d.ts.map +1 -0
  47. package/dist/ui/components/atoms/vc-label/vc-label-model.d.ts +10 -0
  48. package/dist/ui/components/atoms/vc-label/vc-label-model.d.ts.map +1 -0
  49. package/dist/ui/components/atoms/vc-link/index.d.ts +5 -0
  50. package/dist/ui/components/atoms/vc-link/index.d.ts.map +1 -0
  51. package/dist/ui/components/atoms/vc-link/vc-link-model.d.ts +10 -0
  52. package/dist/ui/components/atoms/vc-link/vc-link-model.d.ts.map +1 -0
  53. package/dist/ui/components/atoms/vc-loading/index.d.ts +5 -0
  54. package/dist/ui/components/atoms/vc-loading/index.d.ts.map +1 -0
  55. package/dist/ui/components/atoms/vc-loading/vc-loading-model.d.ts +8 -0
  56. package/dist/ui/components/atoms/vc-loading/vc-loading-model.d.ts.map +1 -0
  57. package/dist/ui/components/atoms/vc-progress/index.d.ts +5 -0
  58. package/dist/ui/components/atoms/vc-progress/index.d.ts.map +1 -0
  59. package/dist/ui/components/atoms/vc-progress/vc-progress-model.d.ts +9 -0
  60. package/dist/ui/components/atoms/vc-progress/vc-progress-model.d.ts.map +1 -0
  61. package/dist/ui/components/atoms/vc-row/index.d.ts +2 -0
  62. package/dist/ui/components/atoms/vc-row/index.d.ts.map +1 -0
  63. package/dist/ui/components/atoms/vc-row/vc-row-model.d.ts +5 -0
  64. package/dist/ui/components/atoms/vc-row/vc-row-model.d.ts.map +1 -0
  65. package/dist/ui/components/atoms/vc-status/index.d.ts +5 -0
  66. package/dist/ui/components/atoms/vc-status/index.d.ts.map +1 -0
  67. package/dist/ui/components/atoms/vc-status/vc-status-model.d.ts +10 -0
  68. package/dist/ui/components/atoms/vc-status/vc-status-model.d.ts.map +1 -0
  69. package/dist/ui/components/atoms/vc-status-icon/index.d.ts +5 -0
  70. package/dist/ui/components/atoms/vc-status-icon/index.d.ts.map +1 -0
  71. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon-model.d.ts +8 -0
  72. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon-model.d.ts.map +1 -0
  73. package/dist/ui/components/atoms/vc-switch/index.d.ts +5 -0
  74. package/dist/ui/components/atoms/vc-switch/index.d.ts.map +1 -0
  75. package/dist/ui/components/atoms/vc-switch/vc-switch-model.d.ts +13 -0
  76. package/dist/ui/components/atoms/vc-switch/vc-switch-model.d.ts.map +1 -0
  77. package/dist/ui/components/atoms/vc-widget/index.d.ts +5 -0
  78. package/dist/ui/components/atoms/vc-widget/index.d.ts.map +1 -0
  79. package/dist/ui/components/atoms/vc-widget/vc-widget-model.d.ts +12 -0
  80. package/dist/ui/components/atoms/vc-widget/vc-widget-model.d.ts.map +1 -0
  81. package/dist/ui/components/index.d.ts +34 -34
  82. package/dist/ui/components/index.d.ts.map +1 -1
  83. package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts +5 -0
  84. package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts.map +1 -0
  85. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.d.ts +14 -0
  86. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.d.ts.map +1 -0
  87. package/dist/ui/components/molecules/vc-editor/index.d.ts +5 -0
  88. package/dist/ui/components/molecules/vc-editor/index.d.ts.map +1 -0
  89. package/dist/ui/components/molecules/vc-editor/vc-editor-model.d.ts +16 -0
  90. package/dist/ui/components/molecules/vc-editor/vc-editor-model.d.ts.map +1 -0
  91. package/dist/ui/components/molecules/vc-file-upload/index.d.ts +5 -0
  92. package/dist/ui/components/molecules/vc-file-upload/index.d.ts.map +1 -0
  93. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload-model.d.ts +14 -0
  94. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload-model.d.ts.map +1 -0
  95. package/dist/ui/components/molecules/vc-form/index.d.ts +2 -0
  96. package/dist/ui/components/molecules/vc-form/index.d.ts.map +1 -0
  97. package/dist/ui/components/molecules/vc-notification/index.d.ts +5 -0
  98. package/dist/ui/components/molecules/vc-notification/index.d.ts.map +1 -0
  99. package/dist/ui/components/molecules/vc-notification/vc-notification-model.d.ts +10 -0
  100. package/dist/ui/components/molecules/vc-notification/vc-notification-model.d.ts.map +1 -0
  101. package/dist/ui/components/molecules/vc-pagination/index.d.ts +5 -0
  102. package/dist/ui/components/molecules/vc-pagination/index.d.ts.map +1 -0
  103. package/dist/ui/components/molecules/vc-pagination/vc-pagination-model.d.ts +11 -0
  104. package/dist/ui/components/molecules/vc-pagination/vc-pagination-model.d.ts.map +1 -0
  105. package/dist/ui/components/molecules/vc-rating/index.d.ts +5 -0
  106. package/dist/ui/components/molecules/vc-rating/index.d.ts.map +1 -0
  107. package/dist/ui/components/molecules/vc-rating/vc-rating-model.d.ts +13 -0
  108. package/dist/ui/components/molecules/vc-rating/vc-rating-model.d.ts.map +1 -0
  109. package/dist/ui/components/molecules/vc-slider/index.d.ts +5 -0
  110. package/dist/ui/components/molecules/vc-slider/index.d.ts.map +1 -0
  111. package/dist/ui/components/molecules/vc-slider/vc-slider-model.d.ts +14 -0
  112. package/dist/ui/components/molecules/vc-slider/vc-slider-model.d.ts.map +1 -0
  113. package/dist/ui/components/molecules/vc-textarea/index.d.ts +5 -0
  114. package/dist/ui/components/molecules/vc-textarea/index.d.ts.map +1 -0
  115. package/dist/ui/components/molecules/vc-textarea/vc-textarea-model.d.ts +17 -0
  116. package/dist/ui/components/molecules/vc-textarea/vc-textarea-model.d.ts.map +1 -0
  117. package/dist/ui/components/organisms/vc-app/index.d.ts +5 -0
  118. package/dist/ui/components/organisms/vc-app/index.d.ts.map +1 -0
  119. package/dist/ui/components/organisms/vc-app/vc-app-model.d.ts +26 -0
  120. package/dist/ui/components/organisms/vc-app/vc-app-model.d.ts.map +1 -0
  121. package/dist/ui/components/organisms/vc-blade/index.d.ts +5 -0
  122. package/dist/ui/components/organisms/vc-blade/index.d.ts.map +1 -0
  123. package/dist/ui/components/organisms/vc-blade/vc-blade-model.d.ts +17 -0
  124. package/dist/ui/components/organisms/vc-blade/vc-blade-model.d.ts.map +1 -0
  125. package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts +5 -0
  126. package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts.map +1 -0
  127. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.d.ts +14 -0
  128. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.d.ts.map +1 -0
  129. package/dist/ui/components/organisms/vc-gallery/index.d.ts +5 -0
  130. package/dist/ui/components/organisms/vc-gallery/index.d.ts.map +1 -0
  131. package/dist/ui/components/organisms/vc-gallery/vc-gallery-model.d.ts +32 -0
  132. package/dist/ui/components/organisms/vc-gallery/vc-gallery-model.d.ts.map +1 -0
  133. package/dist/ui/components/organisms/vc-login-form/index.d.ts +5 -0
  134. package/dist/ui/components/organisms/vc-login-form/index.d.ts.map +1 -0
  135. package/dist/ui/components/organisms/vc-login-form/vc-login-form-model.d.ts +10 -0
  136. package/dist/ui/components/organisms/vc-login-form/vc-login-form-model.d.ts.map +1 -0
  137. package/dist/ui/components/organisms/vc-popup/index.d.ts +5 -0
  138. package/dist/ui/components/organisms/vc-popup/index.d.ts.map +1 -0
  139. package/dist/ui/components/organisms/vc-popup/vc-popup-model.d.ts +11 -0
  140. package/dist/ui/components/organisms/vc-popup/vc-popup-model.d.ts.map +1 -0
  141. package/dist/ui/components/organisms/vc-table/index.d.ts +5 -0
  142. package/dist/ui/components/organisms/vc-table/index.d.ts.map +1 -0
  143. package/dist/ui/components/organisms/vc-table/vc-table-model.d.ts +66 -0
  144. package/dist/ui/components/organisms/vc-table/vc-table-model.d.ts.map +1 -0
  145. package/dist/ui/types/index.d.ts +68 -0
  146. package/dist/ui/types/index.d.ts.map +1 -1
  147. package/package.json +4 -4
  148. package/shared/assets/components/assets-details/assets-details.vue +1 -1
  149. package/shared/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue +1 -1
  150. package/shared/blade-navigation/index.ts +7 -7
  151. package/ui/components/atoms/vc-badge/vc-badge-model.ts +1 -7
  152. package/ui/components/atoms/vc-badge/vc-badge.vue +1 -2
  153. package/ui/components/atoms/vc-button/index.ts +1 -1
  154. package/ui/components/atoms/vc-button/vc-button-model.ts +12 -20
  155. package/ui/components/atoms/vc-button/vc-button.vue +8 -32
  156. package/ui/components/atoms/vc-card/index.ts +7 -0
  157. package/ui/components/atoms/vc-card/vc-card-model.ts +17 -0
  158. package/ui/components/atoms/vc-card/vc-card.vue +6 -31
  159. package/ui/components/atoms/vc-checkbox/index.ts +7 -0
  160. package/ui/components/atoms/vc-checkbox/vc-checkbox-model.ts +15 -0
  161. package/ui/components/atoms/vc-checkbox/vc-checkbox.vue +6 -25
  162. package/ui/components/atoms/vc-col/index.ts +6 -0
  163. package/ui/components/atoms/vc-col/vc-col-model.ts +9 -0
  164. package/ui/components/atoms/vc-col/vc-col.vue +2 -4
  165. package/ui/components/atoms/vc-container/index.ts +7 -0
  166. package/ui/components/atoms/vc-container/vc-container-model.ts +12 -0
  167. package/ui/components/atoms/vc-container/vc-container.vue +11 -18
  168. package/ui/components/atoms/vc-hint/index.ts +2 -0
  169. package/ui/components/atoms/vc-icon/index.ts +7 -0
  170. package/ui/components/atoms/vc-icon/vc-icon-model.ts +10 -0
  171. package/ui/components/atoms/vc-icon/vc-icon.vue +2 -5
  172. package/ui/components/atoms/vc-image/index.ts +7 -0
  173. package/ui/components/atoms/vc-image/vc-image-model.ts +27 -0
  174. package/ui/components/atoms/vc-image/vc-image.vue +11 -37
  175. package/ui/components/atoms/vc-info-row/index.ts +7 -0
  176. package/ui/components/atoms/vc-info-row/vc-info-row-model.ts +12 -0
  177. package/ui/components/atoms/vc-info-row/vc-info-row.vue +6 -20
  178. package/ui/components/atoms/vc-label/index.ts +7 -0
  179. package/ui/components/atoms/vc-label/vc-label-model.ts +11 -0
  180. package/ui/components/atoms/vc-label/vc-label.vue +8 -12
  181. package/ui/components/atoms/vc-link/index.ts +7 -0
  182. package/ui/components/atoms/vc-link/vc-link-model.ts +11 -0
  183. package/ui/components/atoms/vc-link/vc-link.vue +4 -9
  184. package/ui/components/atoms/vc-loading/index.ts +7 -0
  185. package/ui/components/atoms/vc-loading/vc-loading-model.ts +9 -0
  186. package/ui/components/atoms/vc-loading/vc-loading.vue +4 -5
  187. package/ui/components/atoms/vc-progress/index.ts +7 -0
  188. package/ui/components/atoms/vc-progress/vc-progress-model.ts +10 -0
  189. package/ui/components/atoms/vc-progress/vc-progress.vue +5 -11
  190. package/ui/components/atoms/vc-row/index.ts +2 -0
  191. package/ui/components/atoms/vc-row/vc-row-model.ts +5 -0
  192. package/ui/components/atoms/vc-status/index.ts +7 -0
  193. package/ui/components/atoms/vc-status/vc-status-model.ts +17 -0
  194. package/ui/components/atoms/vc-status/vc-status.vue +5 -15
  195. package/ui/components/atoms/vc-status-icon/index.ts +7 -0
  196. package/ui/components/atoms/vc-status-icon/vc-status-icon-model.ts +9 -0
  197. package/ui/components/atoms/vc-status-icon/vc-status-icon.vue +11 -7
  198. package/ui/components/atoms/vc-switch/index.ts +7 -0
  199. package/ui/components/atoms/vc-switch/vc-switch-model.ts +14 -0
  200. package/ui/components/atoms/vc-switch/vc-switch.vue +6 -24
  201. package/ui/components/atoms/vc-widget/index.ts +7 -0
  202. package/ui/components/atoms/vc-widget/vc-widget-model.ts +13 -0
  203. package/ui/components/atoms/vc-widget/vc-widget.vue +3 -19
  204. package/ui/components/index.ts +34 -34
  205. package/ui/components/molecules/vc-breadcrumbs/index.ts +7 -0
  206. package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.ts +15 -0
  207. package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +2 -11
  208. package/ui/components/molecules/vc-editor/index.ts +7 -0
  209. package/ui/components/molecules/vc-editor/vc-editor-model.ts +17 -0
  210. package/ui/components/molecules/vc-editor/vc-editor.vue +15 -52
  211. package/ui/components/molecules/vc-file-upload/index.ts +7 -0
  212. package/ui/components/molecules/vc-file-upload/vc-file-upload-model.ts +15 -0
  213. package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +12 -33
  214. package/ui/components/molecules/vc-form/index.ts +2 -0
  215. package/ui/components/molecules/vc-notification/index.ts +7 -0
  216. package/ui/components/molecules/vc-notification/vc-notification-model.ts +11 -0
  217. package/ui/components/molecules/vc-notification/vc-notification.vue +3 -10
  218. package/ui/components/molecules/vc-pagination/index.ts +7 -0
  219. package/ui/components/molecules/vc-pagination/vc-pagination-model.ts +12 -0
  220. package/ui/components/molecules/vc-pagination/vc-pagination.vue +6 -16
  221. package/ui/components/molecules/vc-rating/index.ts +7 -0
  222. package/ui/components/molecules/vc-rating/vc-rating-model.ts +14 -0
  223. package/ui/components/molecules/vc-rating/vc-rating.vue +2 -10
  224. package/ui/components/molecules/vc-slider/index.ts +7 -0
  225. package/ui/components/molecules/vc-slider/vc-slider-model.ts +15 -0
  226. package/ui/components/molecules/vc-slider/vc-slider.vue +7 -25
  227. package/ui/components/molecules/vc-textarea/index.ts +7 -0
  228. package/ui/components/molecules/vc-textarea/vc-textarea-model.ts +18 -0
  229. package/ui/components/molecules/vc-textarea/vc-textarea.vue +9 -47
  230. package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +2 -1
  231. package/ui/components/organisms/vc-app/index.ts +6 -0
  232. package/ui/components/organisms/vc-app/vc-app-model.ts +27 -0
  233. package/ui/components/organisms/vc-app/vc-app.vue +6 -31
  234. package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +17 -32
  235. package/ui/components/organisms/vc-blade/index.ts +7 -0
  236. package/ui/components/organisms/vc-blade/vc-blade-model.ts +18 -0
  237. package/ui/components/organisms/vc-blade/vc-blade.vue +9 -34
  238. package/ui/components/organisms/vc-dynamic-property/index.ts +7 -0
  239. package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.ts +25 -0
  240. package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +66 -94
  241. package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +31 -21
  242. package/ui/components/organisms/vc-gallery/index.ts +7 -0
  243. package/ui/components/organisms/vc-gallery/vc-gallery-model.ts +33 -0
  244. package/ui/components/organisms/vc-gallery/vc-gallery.vue +22 -81
  245. package/ui/components/organisms/vc-login-form/index.ts +7 -0
  246. package/ui/components/organisms/vc-login-form/vc-login-form-model.ts +11 -0
  247. package/ui/components/organisms/vc-login-form/vc-login-form.vue +3 -14
  248. package/ui/components/organisms/vc-popup/index.ts +7 -0
  249. package/ui/components/organisms/vc-popup/vc-popup-model.ts +12 -0
  250. package/ui/components/organisms/vc-popup/vc-popup.vue +4 -15
  251. package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +2 -2
  252. package/ui/components/organisms/vc-table/index.ts +7 -0
  253. package/ui/components/organisms/vc-table/vc-table-model.ts +56 -0
  254. package/ui/components/organisms/vc-table/vc-table.vue +9 -41
  255. package/ui/types/index.ts +188 -1
@@ -1,43 +1,43 @@
1
1
  /* Atoms */
2
2
  export { VcBadge } from "./atoms/vc-badge";
3
- export { default as VcButton } from "./atoms/vc-button/vc-button.vue";
4
- export { default as VcCard } from "./atoms/vc-card/vc-card.vue";
5
- export { default as VcCheckbox } from "./atoms/vc-checkbox/vc-checkbox.vue";
6
- export { default as VcCol } from "./atoms/vc-col/vc-col.vue";
7
- export { default as VcContainer } from "./atoms/vc-container/vc-container.vue";
8
- export { default as VcHint } from "./atoms/vc-hint/vc-hint.vue";
9
- export { default as VcIcon } from "./atoms/vc-icon/vc-icon.vue";
10
- export { default as VcInfoRow } from "./atoms/vc-info-row/vc-info-row.vue";
11
- export { default as VcImage } from "./atoms/vc-image/vc-image.vue";
12
- export { default as VcLabel } from "./atoms/vc-label/vc-label.vue";
13
- export { default as VcLink } from "./atoms/vc-link/vc-link.vue";
14
- export { default as VcLoading } from "./atoms/vc-loading/vc-loading.vue";
15
- export { default as VcProgress } from "./atoms/vc-progress/vc-progress.vue";
16
- export { default as VcRow } from "./atoms/vc-row/vc-row.vue";
17
- export { default as VcStatus } from "./atoms/vc-status/vc-status.vue";
18
- export { default as VcStatusIcon } from "./atoms/vc-status-icon/vc-status-icon.vue";
19
- export { default as VcSwitch } from "./atoms/vc-switch/vc-switch.vue";
20
- export { default as VcWidget } from "./atoms/vc-widget/vc-widget.vue";
3
+ export {VcButton } from "./atoms/vc-button";
4
+ export { VcCard } from "./atoms/vc-card";
5
+ export { VcCheckbox } from "./atoms/vc-checkbox";
6
+ export { VcCol } from "./atoms/vc-col";
7
+ export { VcContainer } from "./atoms/vc-container";
8
+ export { VcHint } from "./atoms/vc-hint";
9
+ export { VcIcon } from "./atoms/vc-icon";
10
+ export { VcInfoRow } from "./atoms/vc-info-row";
11
+ export { VcImage } from "./atoms/vc-image";
12
+ export { VcLabel } from "./atoms/vc-label";
13
+ export { VcLink } from "./atoms/vc-link";
14
+ export { VcLoading } from "./atoms/vc-loading";
15
+ export { VcProgress } from "./atoms/vc-progress";
16
+ export { VcRow } from "./atoms/vc-row";
17
+ export { VcStatus } from "./atoms/vc-status";
18
+ export { VcStatusIcon } from "./atoms/vc-status-icon";
19
+ export { VcSwitch } from "./atoms/vc-switch";
20
+ export { VcWidget } from "./atoms/vc-widget";
21
21
 
22
22
  /* Molecules */
23
- export { default as VcBreadcrumbs } from "./molecules/vc-breadcrumbs/vc-breadcrumbs.vue";
24
- export { default as VcEditor } from "./molecules/vc-editor/vc-editor.vue";
25
- export { default as VcForm } from "./molecules/vc-form/vc-form.vue";
26
- export { default as VcFileUpload } from "./molecules/vc-file-upload/vc-file-upload.vue";
23
+ export { VcBreadcrumbs } from "./molecules/vc-breadcrumbs";
24
+ export { VcEditor } from "./molecules/vc-editor";
25
+ export { VcForm } from "./molecules/vc-form";
26
+ export { VcFileUpload } from "./molecules/vc-file-upload";
27
27
  export { VcInput } from "./molecules/vc-input";
28
28
  export { VcInputCurrency } from "./molecules/vc-input-currency";
29
- export { default as VcNotification } from "./molecules/vc-notification/vc-notification.vue";
30
- export { default as VcPagination } from "./molecules/vc-pagination/vc-pagination.vue";
31
- export { default as VcRating } from "./molecules/vc-rating/vc-rating.vue";
29
+ export { VcNotification } from "./molecules/vc-notification";
30
+ export { VcPagination } from "./molecules/vc-pagination";
31
+ export { VcRating } from "./molecules/vc-rating";
32
32
  export { VcSelect } from "./molecules/vc-select";
33
- export { default as VcSlider } from "./molecules/vc-slider/vc-slider.vue";
34
- export { default as VcTextarea } from "./molecules/vc-textarea/vc-textarea.vue";
33
+ export { VcSlider } from "./molecules/vc-slider";
34
+ export { VcTextarea } from "./molecules/vc-textarea";
35
35
 
36
36
  /* Organisms */
37
- export { default as VcApp } from "./organisms/vc-app/vc-app.vue";
38
- export { default as VcBlade } from "./organisms/vc-blade/vc-blade.vue";
39
- export { default as VcDynamicProperty } from "./organisms/vc-dynamic-property/vc-dynamic-property.vue";
40
- export { default as VcGallery } from "./organisms/vc-gallery/vc-gallery.vue";
41
- export { default as VcLoginForm } from "./organisms/vc-login-form/vc-login-form.vue";
42
- export { default as VcPopup } from "./organisms/vc-popup/vc-popup.vue";
43
- export { default as VcTable } from "./organisms/vc-table/vc-table.vue";
37
+ export { VcApp } from "./organisms/vc-app";
38
+ export { VcBlade } from "./organisms/vc-blade";
39
+ export { VcDynamicProperty } from "./organisms/vc-dynamic-property";
40
+ export { VcGallery } from "./organisms/vc-gallery";
41
+ export { VcLoginForm } from "./organisms/vc-login-form";
42
+ export { VcPopup } from "./organisms/vc-popup";
43
+ export { VcTable } from "./organisms/vc-table";
@@ -0,0 +1,7 @@
1
+ import { ComponentPublicInstance } from "vue";
2
+ import { VcBreadcrumbsProps } from "./vc-breadcrumbs-model";
3
+ import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
+ import Breadcrumbs from "./vc-breadcrumbs.vue";
5
+ export const VcBreadcrumbs: ComponentConstructor<
6
+ ComponentPublicInstance<VcBreadcrumbsProps>
7
+ > = Breadcrumbs;
@@ -0,0 +1,15 @@
1
+ import { VNode } from "vue";
2
+
3
+ export interface VcBreadcrumbsProps {
4
+ items?: {
5
+ current: boolean;
6
+ icon: string;
7
+ title: string;
8
+ clickHandler: () => void;
9
+ id: string;
10
+ }[];
11
+ }
12
+
13
+ export interface VcBreadcrumbsSlots {
14
+ default: () => VNode[];
15
+ }
@@ -11,18 +11,9 @@
11
11
 
12
12
  <script lang="ts" setup>
13
13
  import VcBreadcrumbsItem from "./_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue";
14
+ import { VcBreadcrumbsProps } from "@/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model";
14
15
 
15
- export interface Props {
16
- items: {
17
- current: boolean;
18
- icon: string;
19
- title: string;
20
- clickHandler: () => void;
21
- id: string;
22
- }[];
23
- }
24
-
25
- withDefaults(defineProps<Props>(), {
16
+ withDefaults(defineProps<VcBreadcrumbsProps>(), {
26
17
  items: () => [],
27
18
  });
28
19
  </script>
@@ -0,0 +1,7 @@
1
+ import { ComponentPublicInstance } from "vue";
2
+ import { VcEditorProps } from "./vc-editor-model";
3
+ import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
+ import Editor from "./vc-editor.vue";
5
+ export const VcEditor: ComponentConstructor<
6
+ ComponentPublicInstance<VcEditorProps>
7
+ > = Editor;
@@ -0,0 +1,17 @@
1
+ import { VNode } from "vue";
2
+
3
+ export interface VcEditorProps {
4
+ placeholder?: string | undefined;
5
+ modelValue?: string | number | Date | undefined;
6
+ required?: boolean | undefined;
7
+ disabled?: boolean | undefined;
8
+ label?: string | undefined;
9
+ tooltip?: string | undefined;
10
+ name?: string | undefined;
11
+ errorMessage?: string | undefined;
12
+ "onUpdate:modelValue"?: (value: string) => void;
13
+ }
14
+
15
+ export interface VcEditorSlots {
16
+ error: () => VNode[];
17
+ }
@@ -4,7 +4,7 @@
4
4
  :class="[
5
5
  {
6
6
  'vc-editor_error': errorMessage,
7
- 'vc-editor_disabled': disabled
7
+ 'vc-editor_disabled': disabled,
8
8
  },
9
9
  ]"
10
10
  >
@@ -16,11 +16,10 @@
16
16
 
17
17
  <!-- Editor field -->
18
18
  <v-ace-editor
19
- class="tw-border tw-border-solid tw-border-[color:var(--editor-border-color)] tw-rounded-[var(--editor-border-radius)]"
19
+ class="tw-border tw-border-solid tw-border-[color:var(--editor-border-color)] tw-rounded-[var(--editor-border-radius)] tw-h-[200px]"
20
20
  v-model:value="content"
21
21
  lang="html"
22
22
  theme="chrome"
23
- style="height: 200px"
24
23
  @input="onInput"
25
24
  />
26
25
  <slot v-if="errorMessage" name="error">
@@ -35,63 +34,27 @@
35
34
  import { VAceEditor } from "vue3-ace-editor";
36
35
  import "ace-builds/src-noconflict/mode-html";
37
36
  import "ace-builds/src-noconflict/theme-chrome";
38
- import {ref, unref, watch} from "vue";
39
-
40
- const props = defineProps({
41
- placeholder: {
42
- type: String,
43
- default: "",
44
- },
45
-
46
- modelValue: {
47
- type: [String, Number, Date],
48
- default: null,
49
- },
50
-
51
- required: {
52
- type: Boolean,
53
- default: false,
54
- },
55
-
56
- disabled: {
57
- type: Boolean,
58
- default: false,
59
- },
60
-
61
- label: {
62
- type: String,
63
- default: undefined,
64
- },
65
-
66
- tooltip: {
67
- type: String,
68
- default: undefined,
69
- },
70
-
71
- name: {
72
- type: String,
73
- default: "Field",
74
- },
75
-
76
- errorMessage: {
77
- type: String,
78
- default: undefined
79
- }
37
+ import { ref, unref, watch } from "vue";
38
+ import { VcEditorProps } from "@/ui/components/molecules/vc-editor/vc-editor-model";
39
+
40
+ const props = withDefaults(defineProps<VcEditorProps>(), {
41
+ placeholder: "",
42
+ modelValue: null,
43
+ required: false,
44
+ name: "Field",
80
45
  });
81
46
 
82
47
  const emit = defineEmits(["update:modelValue"]);
83
48
  const content = ref();
84
- let initialValue = unref(props.modelValue);
85
49
 
86
50
  watch(
87
- () => props.modelValue,
88
- (value) => {
89
- let init = unref(value);
90
- emit("update:modelValue", init);
91
- }
51
+ () => props.modelValue,
52
+ (value) => {
53
+ let init = unref(value);
54
+ emit("update:modelValue", init);
55
+ }
92
56
  );
93
57
 
94
- // Handle input event to propertly validate value and emit changes
95
58
  function onInput() {
96
59
  emit("update:modelValue", content.value);
97
60
  }
@@ -0,0 +1,7 @@
1
+ import { ComponentPublicInstance } from "vue";
2
+ import { VcFileUploadProps } from "./vc-file-upload-model";
3
+ import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
+ import FileUpload from "./vc-file-upload.vue";
5
+ export const VcFileUpload: ComponentConstructor<
6
+ ComponentPublicInstance<VcFileUploadProps>
7
+ > = FileUpload;
@@ -0,0 +1,15 @@
1
+ import { VNode } from "vue";
2
+
3
+ export interface VcFileUploadProps {
4
+ variant?: "gallery" | "file-upload" | undefined;
5
+ loading?: boolean | undefined;
6
+ accept?: string | undefined;
7
+ multiple?: boolean | undefined;
8
+ rules?: string | Record<string, unknown> | undefined;
9
+ name?: string | undefined;
10
+ onUpload?: (files: FileList) => void;
11
+ }
12
+
13
+ export interface VcFileUploadSlots {
14
+ error: () => VNode[];
15
+ }
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class= "tw-flex tw-flex-col tw-flex-1">
2
+ <div class="tw-flex tw-flex-col tw-flex-1">
3
3
  <div
4
4
  class="vc-file-upload tw-relative tw-h-[155px] tw-box-border tw-border tw-border-dashed tw-border-[#c8dbea] tw-rounded-[6px] tw-p-2 tw-p-4 tw-flex tw-flex-col tw-items-center tw-justify-center"
5
5
  :class="`vc-file-upload_${variant}`"
@@ -18,7 +18,9 @@
18
18
  size="xxl"
19
19
  ></VcIcon>
20
20
 
21
- <div class="tw-text-[#9db0be] tw-text-center tw-text-lg tw-leading-lg tw-mt-4">
21
+ <div
22
+ class="tw-text-[#9db0be] tw-text-center tw-text-lg tw-leading-lg tw-mt-4"
23
+ >
22
24
  <span>Drag and drop file here or</span>&nbsp;
23
25
  <br />
24
26
  <VcLink @click="toggleUploader">browse your files</VcLink>
@@ -45,37 +47,14 @@
45
47
  <script lang="ts" setup>
46
48
  import { getCurrentInstance, ref, unref } from "vue";
47
49
  import { useField } from "vee-validate";
48
-
49
- const props = defineProps({
50
- variant: {
51
- type: String,
52
- enum: ["gallery", "file-upload"],
53
- default: "gallery",
54
- },
55
-
56
- loading: {
57
- type: Boolean,
58
- default: false,
59
- },
60
-
61
- accept: {
62
- type: String,
63
- default: ".jpg, .png, .jpeg",
64
- },
65
-
66
- multiple: {
67
- type: Boolean,
68
- default: false,
69
- },
70
-
71
- rules: {
72
- type: [String, Object],
73
- },
74
-
75
- name: {
76
- type: String,
77
- default: "Gallery",
78
- },
50
+ import { VcFileUploadProps } from "@/ui/components/molecules/vc-file-upload/vc-file-upload-model";
51
+
52
+ const props = withDefaults(defineProps<VcFileUploadProps>(), {
53
+ variant: "gallery",
54
+ loading: false,
55
+ accept: ".jpg, .png, .jpeg",
56
+ multiple: false,
57
+ name: "Gallery",
79
58
  });
80
59
 
81
60
  const emit = defineEmits(["upload"]);
@@ -0,0 +1,2 @@
1
+ import Form from "./vc-form.vue";
2
+ export const VcForm = Form;
@@ -0,0 +1,7 @@
1
+ import { ComponentPublicInstance } from "vue";
2
+ import { VcNotificationProps } from "./vc-notification-model";
3
+ import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
+ import Notification from "./vc-notification.vue";
5
+ export const VcNotification: ComponentConstructor<
6
+ ComponentPublicInstance<VcNotificationProps>
7
+ > = Notification;
@@ -0,0 +1,11 @@
1
+ import { VNode } from "vue";
2
+
3
+ export interface VcNotificationProps {
4
+ timeout?: number | undefined;
5
+ onDismiss?: () => void;
6
+ onExpired?: () => void;
7
+ }
8
+
9
+ export interface VcNotificationSlots {
10
+ default: () => VNode[];
11
+ }
@@ -18,17 +18,10 @@
18
18
 
19
19
  <script lang="ts" setup>
20
20
  import { VcIcon } from "@/ui/components";
21
+ import { VcNotificationProps } from "@/ui/components/molecules/vc-notification/vc-notification-model";
21
22
 
22
- const props = defineProps({
23
- variant: {
24
- type: String,
25
- default: "info",
26
- },
27
-
28
- timeout: {
29
- type: Number,
30
- default: 0,
31
- },
23
+ const props = withDefaults(defineProps<VcNotificationProps>(), {
24
+ timeout: 0,
32
25
  });
33
26
 
34
27
  const emit = defineEmits(["dismiss", "expired"]);
@@ -0,0 +1,7 @@
1
+ import { ComponentPublicInstance } from "vue";
2
+ import { VcPaginationProps } from "./vc-pagination-model";
3
+ import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
+ import Pagination from "./vc-pagination.vue";
5
+ export const VcPagination: ComponentConstructor<
6
+ ComponentPublicInstance<VcPaginationProps>
7
+ > = Pagination;
@@ -0,0 +1,12 @@
1
+ import { VNode } from "vue";
2
+
3
+ export interface VcPaginationProps {
4
+ expanded?: boolean | undefined;
5
+ pages?: number | undefined;
6
+ currentPage?: number | undefined;
7
+ onItemClick?: (pages: number) => void;
8
+ }
9
+
10
+ export interface VcPaginationSlots {
11
+ default: () => VNode[];
12
+ }
@@ -93,22 +93,12 @@
93
93
 
94
94
  <script lang="ts" setup>
95
95
  import { VcIcon } from "@/ui/components";
96
+ import { VcPaginationProps } from "@/ui/components/molecules/vc-pagination/vc-pagination-model";
96
97
 
97
- defineProps({
98
- expanded: {
99
- type: Boolean,
100
- default: false,
101
- },
102
-
103
- pages: {
104
- type: Number,
105
- default: 1,
106
- },
107
-
108
- currentPage: {
109
- type: Number,
110
- default: 1,
111
- },
98
+ withDefaults(defineProps<VcPaginationProps>(), {
99
+ expanded: false,
100
+ pages: 1,
101
+ currentPage: 1,
112
102
  });
113
103
 
114
104
  defineEmits(["itemClick"]);
@@ -119,7 +109,7 @@ defineEmits(["itemClick"]);
119
109
  --pagination-item-width: 30px;
120
110
  --pagination-item-height: 30px;
121
111
  --pagination-item-color: #000000;
122
- --pagination-item-color-hover:tw- #000000;
112
+ --pagination-item-color-hover: #000000;
123
113
  --pagination-item-color-current: #ffffff;
124
114
  --pagination-item-color-disabled: #9c9c9c;
125
115
  --pagination-item-background-color: #ffffff;
@@ -0,0 +1,7 @@
1
+ import { ComponentPublicInstance } from "vue";
2
+ import { VcRatingProps } from "./vc-rating-model";
3
+ import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
+ import Rating from "./vc-rating.vue";
5
+ export const VcRating: ComponentConstructor<
6
+ ComponentPublicInstance<VcRatingProps>
7
+ > = Rating;
@@ -0,0 +1,14 @@
1
+ import { VNode } from "vue";
2
+
3
+ export interface VcRatingProps {
4
+ label?: string;
5
+ placeholder?: string;
6
+ tooltip?: string;
7
+ rating: number | undefined;
8
+ max?: number;
9
+ variant?: "stars" | "star-and-text" | "text";
10
+ }
11
+
12
+ export interface VcRatingSlots {
13
+ details: () => VNode[];
14
+ }
@@ -42,17 +42,9 @@
42
42
 
43
43
  <script lang="ts" setup>
44
44
  import { VcIcon, VcLabel } from "@/ui/components";
45
+ import { VcRatingProps } from "@/ui/components/molecules/vc-rating/vc-rating-model";
45
46
 
46
- export interface Props {
47
- label?: string;
48
- placeholder?: string;
49
- tooltip?: string;
50
- rating: number | undefined;
51
- max?: number;
52
- variant?: "stars" | "star-and-text" | "text";
53
- }
54
-
55
- withDefaults(defineProps<Props>(), { max: 5, variant: "stars" });
47
+ withDefaults(defineProps<VcRatingProps>(), { max: 5, variant: "stars" });
56
48
  </script>
57
49
 
58
50
  <style lang="scss">
@@ -0,0 +1,7 @@
1
+ import { ComponentPublicInstance } from "vue";
2
+ import { VcSliderProps } from "./vc-slider-model";
3
+ import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
+ import Slider from "./vc-slider.vue";
5
+ export const VcSlider: ComponentConstructor<
6
+ ComponentPublicInstance<VcSliderProps>
7
+ > = Slider;
@@ -0,0 +1,15 @@
1
+ import {VNode} from "vue";
2
+
3
+ export interface VcSliderProps {
4
+ slides?: Record<string, unknown>[] | any[]
5
+ navigation?: boolean | undefined
6
+ overflow?: boolean | undefined
7
+ slidesPerView?: string | 'auto' | undefined
8
+ spaceBetweenSlides?: number | undefined
9
+ }
10
+
11
+ export interface VcSliderSlots {
12
+ default: (slide: Record<string, unknown>[] | any[]) => VNode[]
13
+ prevBtn: () => VNode[]
14
+ nextBtn: () => VNode[]
15
+ }
@@ -48,33 +48,15 @@ import SwiperCore, { Navigation } from "swiper";
48
48
  import "swiper/swiper-bundle.min.css";
49
49
  import "swiper/swiper.min.css";
50
50
  import "swiper/components/navigation/navigation.min.css";
51
+ import { VcSliderProps } from "@/ui/components/molecules/vc-slider/vc-slider-model";
51
52
  SwiperCore.use([Navigation]);
52
53
 
53
- defineProps({
54
- slides: {
55
- type: Array,
56
- default: () => [],
57
- },
58
-
59
- navigation: {
60
- type: Boolean,
61
- default: false,
62
- },
63
-
64
- overflow: {
65
- type: Boolean,
66
- default: false,
67
- },
68
-
69
- slidesPerView: {
70
- type: String,
71
- default: "auto",
72
- },
73
-
74
- spaceBetweenSlides: {
75
- type: Number,
76
- default: 10,
77
- },
54
+ withDefaults(defineProps<VcSliderProps>(), {
55
+ slides: () => [],
56
+ navigation: false,
57
+ overflow: false,
58
+ slidesPerView: "auto",
59
+ spaceBetweenSlides: 10,
78
60
  });
79
61
 
80
62
  const buttonsList = computed(() => ({
@@ -0,0 +1,7 @@
1
+ import { ComponentPublicInstance } from "vue";
2
+ import { VcTextareaProps } from "./vc-textarea-model";
3
+ import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
+ import Textarea from "./vc-textarea.vue";
5
+ export const VcTextarea: ComponentConstructor<
6
+ ComponentPublicInstance<VcTextareaProps>
7
+ > = Textarea;
@@ -0,0 +1,18 @@
1
+ import { VNode } from "vue";
2
+
3
+ export interface VcTextareaProps {
4
+ placeholder?: string | undefined;
5
+ modelValue: string | undefined;
6
+ required?: boolean | undefined;
7
+ disabled?: boolean | undefined;
8
+ label?: string | undefined;
9
+ tooltip?: string | undefined;
10
+ name?: string | undefined;
11
+ maxchars?: string | undefined;
12
+ errorMessage?: string | undefined;
13
+ "onUpdate:modelValue"?: (value: string) => void;
14
+ }
15
+
16
+ export interface VcTextareaSlots {
17
+ error: () => VNode[];
18
+ }
@@ -7,7 +7,7 @@
7
7
  }"
8
8
  >
9
9
  <!-- Textarea label -->
10
- <VcLabel v-if="label" class="tw-mb-2" :required="isRequired">
10
+ <VcLabel v-if="label" class="tw-mb-2" :required="required">
11
11
  <span>{{ label }}</span>
12
12
  <template v-if="tooltip" v-slot:tooltip>
13
13
  <span v-html="tooltip"></span>
@@ -37,52 +37,14 @@
37
37
  <script lang="ts" setup>
38
38
  import { watch } from "vue";
39
39
  import { VcLabel } from "@/ui/components";
40
-
41
- const props = defineProps({
42
- placeholder: {
43
- type: String,
44
- default: "",
45
- },
46
-
47
- modelValue: {
48
- type: String,
49
- default: undefined,
50
- },
51
-
52
- isRequired: {
53
- type: Boolean,
54
- default: false,
55
- },
56
-
57
- disabled: {
58
- type: Boolean,
59
- default: false,
60
- },
61
-
62
- label: {
63
- type: String,
64
- default: undefined,
65
- },
66
-
67
- tooltip: {
68
- type: String,
69
- default: undefined,
70
- },
71
-
72
- name: {
73
- type: String,
74
- default: "Field",
75
- },
76
-
77
- maxchars: {
78
- type: String,
79
- default: "1024",
80
- },
81
-
82
- errorMessage: {
83
- type: String,
84
- default: undefined,
85
- },
40
+ import { VcTextareaProps } from "@/ui/components/molecules/vc-textarea/vc-textarea-model";
41
+
42
+ const props = withDefaults(defineProps<VcTextareaProps>(), {
43
+ placeholder: "",
44
+ required: false,
45
+ disabled: false,
46
+ name: "Field",
47
+ maxchars: "1024",
86
48
  });
87
49
 
88
50
  const emit = defineEmits(["update:modelValue"]);