@vc-shell/framework 1.0.50 → 1.0.51

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 (256) hide show
  1. package/core/types/index.ts +4 -2
  2. package/dist/core/types/index.d.ts +3 -2
  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 +6 -1
  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 +19 -5
  14. package/dist/ui/components/atoms/vc-button/vc-button-model.d.ts.map +1 -1
  15. package/dist/ui/components/index.d.ts +34 -34
  16. package/dist/ui/components/index.d.ts.map +1 -1
  17. package/dist/ui/types/index.d.ts +0 -68
  18. package/dist/ui/types/index.d.ts.map +1 -1
  19. package/package.json +4 -4
  20. package/shared/assets/components/assets-details/assets-details.vue +1 -1
  21. package/shared/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue +1 -1
  22. package/shared/blade-navigation/index.ts +7 -7
  23. package/tailwind.config.js +1 -1
  24. package/ui/components/atoms/vc-badge/vc-badge-model.ts +7 -1
  25. package/ui/components/atoms/vc-badge/vc-badge.vue +2 -1
  26. package/ui/components/atoms/vc-button/index.ts +1 -1
  27. package/ui/components/atoms/vc-button/vc-button-model.ts +20 -12
  28. package/ui/components/atoms/vc-button/vc-button.vue +32 -8
  29. package/ui/components/atoms/vc-card/vc-card.vue +31 -6
  30. package/ui/components/atoms/vc-checkbox/vc-checkbox.vue +25 -6
  31. package/ui/components/atoms/vc-col/vc-col.vue +4 -2
  32. package/ui/components/atoms/vc-container/vc-container.vue +18 -11
  33. package/ui/components/atoms/vc-icon/vc-icon.vue +5 -2
  34. package/ui/components/atoms/vc-image/vc-image.vue +37 -11
  35. package/ui/components/atoms/vc-info-row/vc-info-row.vue +20 -6
  36. package/ui/components/atoms/vc-label/vc-label.vue +12 -8
  37. package/ui/components/atoms/vc-link/vc-link.vue +9 -4
  38. package/ui/components/atoms/vc-loading/vc-loading.vue +5 -4
  39. package/ui/components/atoms/vc-progress/vc-progress.vue +11 -5
  40. package/ui/components/atoms/vc-status/vc-status.vue +15 -5
  41. package/ui/components/atoms/vc-status-icon/vc-status-icon.vue +7 -11
  42. package/ui/components/atoms/vc-switch/vc-switch.vue +24 -6
  43. package/ui/components/atoms/vc-widget/vc-widget.vue +19 -3
  44. package/ui/components/index.ts +34 -34
  45. package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +11 -2
  46. package/ui/components/molecules/vc-editor/vc-editor.vue +52 -15
  47. package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +33 -12
  48. package/ui/components/molecules/vc-notification/vc-notification.vue +10 -3
  49. package/ui/components/molecules/vc-pagination/vc-pagination.vue +16 -6
  50. package/ui/components/molecules/vc-rating/vc-rating.vue +10 -2
  51. package/ui/components/molecules/vc-slider/vc-slider.vue +25 -7
  52. package/ui/components/molecules/vc-textarea/vc-textarea.vue +47 -9
  53. package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +1 -2
  54. package/ui/components/organisms/vc-app/vc-app.vue +31 -6
  55. package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +32 -17
  56. package/ui/components/organisms/vc-blade/vc-blade.vue +34 -9
  57. package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +94 -66
  58. package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +21 -31
  59. package/ui/components/organisms/vc-gallery/vc-gallery.vue +81 -22
  60. package/ui/components/organisms/vc-login-form/vc-login-form.vue +14 -3
  61. package/ui/components/organisms/vc-popup/vc-popup.vue +15 -4
  62. package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +2 -2
  63. package/ui/components/organisms/vc-table/vc-table.vue +41 -9
  64. package/ui/types/index.ts +1 -188
  65. package/dist/ui/components/atoms/vc-card/index.d.ts +0 -5
  66. package/dist/ui/components/atoms/vc-card/index.d.ts.map +0 -1
  67. package/dist/ui/components/atoms/vc-card/vc-card-model.d.ts +0 -16
  68. package/dist/ui/components/atoms/vc-card/vc-card-model.d.ts.map +0 -1
  69. package/dist/ui/components/atoms/vc-checkbox/index.d.ts +0 -5
  70. package/dist/ui/components/atoms/vc-checkbox/index.d.ts.map +0 -1
  71. package/dist/ui/components/atoms/vc-checkbox/vc-checkbox-model.d.ts +0 -14
  72. package/dist/ui/components/atoms/vc-checkbox/vc-checkbox-model.d.ts.map +0 -1
  73. package/dist/ui/components/atoms/vc-col/index.d.ts +0 -5
  74. package/dist/ui/components/atoms/vc-col/index.d.ts.map +0 -1
  75. package/dist/ui/components/atoms/vc-col/vc-col-model.d.ts +0 -8
  76. package/dist/ui/components/atoms/vc-col/vc-col-model.d.ts.map +0 -1
  77. package/dist/ui/components/atoms/vc-container/index.d.ts +0 -5
  78. package/dist/ui/components/atoms/vc-container/index.d.ts.map +0 -1
  79. package/dist/ui/components/atoms/vc-container/vc-container-model.d.ts +0 -11
  80. package/dist/ui/components/atoms/vc-container/vc-container-model.d.ts.map +0 -1
  81. package/dist/ui/components/atoms/vc-hint/index.d.ts +0 -2
  82. package/dist/ui/components/atoms/vc-hint/index.d.ts.map +0 -1
  83. package/dist/ui/components/atoms/vc-icon/index.d.ts +0 -5
  84. package/dist/ui/components/atoms/vc-icon/index.d.ts.map +0 -1
  85. package/dist/ui/components/atoms/vc-icon/vc-icon-model.d.ts +0 -9
  86. package/dist/ui/components/atoms/vc-icon/vc-icon-model.d.ts.map +0 -1
  87. package/dist/ui/components/atoms/vc-image/index.d.ts +0 -5
  88. package/dist/ui/components/atoms/vc-image/index.d.ts.map +0 -1
  89. package/dist/ui/components/atoms/vc-image/vc-image-model.d.ts +0 -15
  90. package/dist/ui/components/atoms/vc-image/vc-image-model.d.ts.map +0 -1
  91. package/dist/ui/components/atoms/vc-info-row/index.d.ts +0 -5
  92. package/dist/ui/components/atoms/vc-info-row/index.d.ts.map +0 -1
  93. package/dist/ui/components/atoms/vc-info-row/vc-info-row-model.d.ts +0 -11
  94. package/dist/ui/components/atoms/vc-info-row/vc-info-row-model.d.ts.map +0 -1
  95. package/dist/ui/components/atoms/vc-label/index.d.ts +0 -5
  96. package/dist/ui/components/atoms/vc-label/index.d.ts.map +0 -1
  97. package/dist/ui/components/atoms/vc-label/vc-label-model.d.ts +0 -10
  98. package/dist/ui/components/atoms/vc-label/vc-label-model.d.ts.map +0 -1
  99. package/dist/ui/components/atoms/vc-link/index.d.ts +0 -5
  100. package/dist/ui/components/atoms/vc-link/index.d.ts.map +0 -1
  101. package/dist/ui/components/atoms/vc-link/vc-link-model.d.ts +0 -10
  102. package/dist/ui/components/atoms/vc-link/vc-link-model.d.ts.map +0 -1
  103. package/dist/ui/components/atoms/vc-loading/index.d.ts +0 -5
  104. package/dist/ui/components/atoms/vc-loading/index.d.ts.map +0 -1
  105. package/dist/ui/components/atoms/vc-loading/vc-loading-model.d.ts +0 -8
  106. package/dist/ui/components/atoms/vc-loading/vc-loading-model.d.ts.map +0 -1
  107. package/dist/ui/components/atoms/vc-progress/index.d.ts +0 -5
  108. package/dist/ui/components/atoms/vc-progress/index.d.ts.map +0 -1
  109. package/dist/ui/components/atoms/vc-progress/vc-progress-model.d.ts +0 -9
  110. package/dist/ui/components/atoms/vc-progress/vc-progress-model.d.ts.map +0 -1
  111. package/dist/ui/components/atoms/vc-row/index.d.ts +0 -2
  112. package/dist/ui/components/atoms/vc-row/index.d.ts.map +0 -1
  113. package/dist/ui/components/atoms/vc-row/vc-row-model.d.ts +0 -5
  114. package/dist/ui/components/atoms/vc-row/vc-row-model.d.ts.map +0 -1
  115. package/dist/ui/components/atoms/vc-status/index.d.ts +0 -5
  116. package/dist/ui/components/atoms/vc-status/index.d.ts.map +0 -1
  117. package/dist/ui/components/atoms/vc-status/vc-status-model.d.ts +0 -10
  118. package/dist/ui/components/atoms/vc-status/vc-status-model.d.ts.map +0 -1
  119. package/dist/ui/components/atoms/vc-status-icon/index.d.ts +0 -5
  120. package/dist/ui/components/atoms/vc-status-icon/index.d.ts.map +0 -1
  121. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon-model.d.ts +0 -8
  122. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon-model.d.ts.map +0 -1
  123. package/dist/ui/components/atoms/vc-switch/index.d.ts +0 -5
  124. package/dist/ui/components/atoms/vc-switch/index.d.ts.map +0 -1
  125. package/dist/ui/components/atoms/vc-switch/vc-switch-model.d.ts +0 -13
  126. package/dist/ui/components/atoms/vc-switch/vc-switch-model.d.ts.map +0 -1
  127. package/dist/ui/components/atoms/vc-widget/index.d.ts +0 -5
  128. package/dist/ui/components/atoms/vc-widget/index.d.ts.map +0 -1
  129. package/dist/ui/components/atoms/vc-widget/vc-widget-model.d.ts +0 -12
  130. package/dist/ui/components/atoms/vc-widget/vc-widget-model.d.ts.map +0 -1
  131. package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts +0 -5
  132. package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts.map +0 -1
  133. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.d.ts +0 -14
  134. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.d.ts.map +0 -1
  135. package/dist/ui/components/molecules/vc-editor/index.d.ts +0 -5
  136. package/dist/ui/components/molecules/vc-editor/index.d.ts.map +0 -1
  137. package/dist/ui/components/molecules/vc-editor/vc-editor-model.d.ts +0 -16
  138. package/dist/ui/components/molecules/vc-editor/vc-editor-model.d.ts.map +0 -1
  139. package/dist/ui/components/molecules/vc-file-upload/index.d.ts +0 -5
  140. package/dist/ui/components/molecules/vc-file-upload/index.d.ts.map +0 -1
  141. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload-model.d.ts +0 -14
  142. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload-model.d.ts.map +0 -1
  143. package/dist/ui/components/molecules/vc-form/index.d.ts +0 -2
  144. package/dist/ui/components/molecules/vc-form/index.d.ts.map +0 -1
  145. package/dist/ui/components/molecules/vc-notification/index.d.ts +0 -5
  146. package/dist/ui/components/molecules/vc-notification/index.d.ts.map +0 -1
  147. package/dist/ui/components/molecules/vc-notification/vc-notification-model.d.ts +0 -10
  148. package/dist/ui/components/molecules/vc-notification/vc-notification-model.d.ts.map +0 -1
  149. package/dist/ui/components/molecules/vc-pagination/index.d.ts +0 -5
  150. package/dist/ui/components/molecules/vc-pagination/index.d.ts.map +0 -1
  151. package/dist/ui/components/molecules/vc-pagination/vc-pagination-model.d.ts +0 -11
  152. package/dist/ui/components/molecules/vc-pagination/vc-pagination-model.d.ts.map +0 -1
  153. package/dist/ui/components/molecules/vc-rating/index.d.ts +0 -5
  154. package/dist/ui/components/molecules/vc-rating/index.d.ts.map +0 -1
  155. package/dist/ui/components/molecules/vc-rating/vc-rating-model.d.ts +0 -13
  156. package/dist/ui/components/molecules/vc-rating/vc-rating-model.d.ts.map +0 -1
  157. package/dist/ui/components/molecules/vc-slider/index.d.ts +0 -5
  158. package/dist/ui/components/molecules/vc-slider/index.d.ts.map +0 -1
  159. package/dist/ui/components/molecules/vc-slider/vc-slider-model.d.ts +0 -14
  160. package/dist/ui/components/molecules/vc-slider/vc-slider-model.d.ts.map +0 -1
  161. package/dist/ui/components/molecules/vc-textarea/index.d.ts +0 -5
  162. package/dist/ui/components/molecules/vc-textarea/index.d.ts.map +0 -1
  163. package/dist/ui/components/molecules/vc-textarea/vc-textarea-model.d.ts +0 -17
  164. package/dist/ui/components/molecules/vc-textarea/vc-textarea-model.d.ts.map +0 -1
  165. package/dist/ui/components/organisms/vc-app/index.d.ts +0 -5
  166. package/dist/ui/components/organisms/vc-app/index.d.ts.map +0 -1
  167. package/dist/ui/components/organisms/vc-app/vc-app-model.d.ts +0 -26
  168. package/dist/ui/components/organisms/vc-app/vc-app-model.d.ts.map +0 -1
  169. package/dist/ui/components/organisms/vc-blade/index.d.ts +0 -5
  170. package/dist/ui/components/organisms/vc-blade/index.d.ts.map +0 -1
  171. package/dist/ui/components/organisms/vc-blade/vc-blade-model.d.ts +0 -17
  172. package/dist/ui/components/organisms/vc-blade/vc-blade-model.d.ts.map +0 -1
  173. package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts +0 -5
  174. package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts.map +0 -1
  175. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.d.ts +0 -14
  176. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.d.ts.map +0 -1
  177. package/dist/ui/components/organisms/vc-gallery/index.d.ts +0 -5
  178. package/dist/ui/components/organisms/vc-gallery/index.d.ts.map +0 -1
  179. package/dist/ui/components/organisms/vc-gallery/vc-gallery-model.d.ts +0 -32
  180. package/dist/ui/components/organisms/vc-gallery/vc-gallery-model.d.ts.map +0 -1
  181. package/dist/ui/components/organisms/vc-login-form/index.d.ts +0 -5
  182. package/dist/ui/components/organisms/vc-login-form/index.d.ts.map +0 -1
  183. package/dist/ui/components/organisms/vc-login-form/vc-login-form-model.d.ts +0 -10
  184. package/dist/ui/components/organisms/vc-login-form/vc-login-form-model.d.ts.map +0 -1
  185. package/dist/ui/components/organisms/vc-popup/index.d.ts +0 -5
  186. package/dist/ui/components/organisms/vc-popup/index.d.ts.map +0 -1
  187. package/dist/ui/components/organisms/vc-popup/vc-popup-model.d.ts +0 -11
  188. package/dist/ui/components/organisms/vc-popup/vc-popup-model.d.ts.map +0 -1
  189. package/dist/ui/components/organisms/vc-table/index.d.ts +0 -5
  190. package/dist/ui/components/organisms/vc-table/index.d.ts.map +0 -1
  191. package/dist/ui/components/organisms/vc-table/vc-table-model.d.ts +0 -66
  192. package/dist/ui/components/organisms/vc-table/vc-table-model.d.ts.map +0 -1
  193. package/ui/components/atoms/vc-card/index.ts +0 -7
  194. package/ui/components/atoms/vc-card/vc-card-model.ts +0 -17
  195. package/ui/components/atoms/vc-checkbox/index.ts +0 -7
  196. package/ui/components/atoms/vc-checkbox/vc-checkbox-model.ts +0 -15
  197. package/ui/components/atoms/vc-col/index.ts +0 -6
  198. package/ui/components/atoms/vc-col/vc-col-model.ts +0 -9
  199. package/ui/components/atoms/vc-container/index.ts +0 -7
  200. package/ui/components/atoms/vc-container/vc-container-model.ts +0 -12
  201. package/ui/components/atoms/vc-hint/index.ts +0 -2
  202. package/ui/components/atoms/vc-icon/index.ts +0 -7
  203. package/ui/components/atoms/vc-icon/vc-icon-model.ts +0 -10
  204. package/ui/components/atoms/vc-image/index.ts +0 -7
  205. package/ui/components/atoms/vc-image/vc-image-model.ts +0 -27
  206. package/ui/components/atoms/vc-info-row/index.ts +0 -7
  207. package/ui/components/atoms/vc-info-row/vc-info-row-model.ts +0 -12
  208. package/ui/components/atoms/vc-label/index.ts +0 -7
  209. package/ui/components/atoms/vc-label/vc-label-model.ts +0 -11
  210. package/ui/components/atoms/vc-link/index.ts +0 -7
  211. package/ui/components/atoms/vc-link/vc-link-model.ts +0 -11
  212. package/ui/components/atoms/vc-loading/index.ts +0 -7
  213. package/ui/components/atoms/vc-loading/vc-loading-model.ts +0 -9
  214. package/ui/components/atoms/vc-progress/index.ts +0 -7
  215. package/ui/components/atoms/vc-progress/vc-progress-model.ts +0 -10
  216. package/ui/components/atoms/vc-row/index.ts +0 -2
  217. package/ui/components/atoms/vc-row/vc-row-model.ts +0 -5
  218. package/ui/components/atoms/vc-status/index.ts +0 -7
  219. package/ui/components/atoms/vc-status/vc-status-model.ts +0 -17
  220. package/ui/components/atoms/vc-status-icon/index.ts +0 -7
  221. package/ui/components/atoms/vc-status-icon/vc-status-icon-model.ts +0 -9
  222. package/ui/components/atoms/vc-switch/index.ts +0 -7
  223. package/ui/components/atoms/vc-switch/vc-switch-model.ts +0 -14
  224. package/ui/components/atoms/vc-widget/index.ts +0 -7
  225. package/ui/components/atoms/vc-widget/vc-widget-model.ts +0 -13
  226. package/ui/components/molecules/vc-breadcrumbs/index.ts +0 -7
  227. package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.ts +0 -15
  228. package/ui/components/molecules/vc-editor/index.ts +0 -7
  229. package/ui/components/molecules/vc-editor/vc-editor-model.ts +0 -17
  230. package/ui/components/molecules/vc-file-upload/index.ts +0 -7
  231. package/ui/components/molecules/vc-file-upload/vc-file-upload-model.ts +0 -15
  232. package/ui/components/molecules/vc-form/index.ts +0 -2
  233. package/ui/components/molecules/vc-notification/index.ts +0 -7
  234. package/ui/components/molecules/vc-notification/vc-notification-model.ts +0 -11
  235. package/ui/components/molecules/vc-pagination/index.ts +0 -7
  236. package/ui/components/molecules/vc-pagination/vc-pagination-model.ts +0 -12
  237. package/ui/components/molecules/vc-rating/index.ts +0 -7
  238. package/ui/components/molecules/vc-rating/vc-rating-model.ts +0 -14
  239. package/ui/components/molecules/vc-slider/index.ts +0 -7
  240. package/ui/components/molecules/vc-slider/vc-slider-model.ts +0 -15
  241. package/ui/components/molecules/vc-textarea/index.ts +0 -7
  242. package/ui/components/molecules/vc-textarea/vc-textarea-model.ts +0 -18
  243. package/ui/components/organisms/vc-app/index.ts +0 -6
  244. package/ui/components/organisms/vc-app/vc-app-model.ts +0 -27
  245. package/ui/components/organisms/vc-blade/index.ts +0 -7
  246. package/ui/components/organisms/vc-blade/vc-blade-model.ts +0 -18
  247. package/ui/components/organisms/vc-dynamic-property/index.ts +0 -7
  248. package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.ts +0 -25
  249. package/ui/components/organisms/vc-gallery/index.ts +0 -7
  250. package/ui/components/organisms/vc-gallery/vc-gallery-model.ts +0 -33
  251. package/ui/components/organisms/vc-login-form/index.ts +0 -7
  252. package/ui/components/organisms/vc-login-form/vc-login-form-model.ts +0 -11
  253. package/ui/components/organisms/vc-popup/index.ts +0 -7
  254. package/ui/components/organisms/vc-popup/vc-popup-model.ts +0 -12
  255. package/ui/components/organisms/vc-table/index.ts +0 -7
  256. package/ui/components/organisms/vc-table/vc-table-model.ts +0 -56
@@ -150,8 +150,9 @@
150
150
  <tr
151
151
  v-for="(item, i) in items"
152
152
  :key="item.id"
153
- class="vc-table__body-row tw-h-[60px] tw-bg-white hover:tw-bg-[#dfeef9] tw-cursor-pointer"
153
+ class="vc-table__body-row tw-h-[60px] tw-bg-white hover:tw-bg-[#dfeef9]"
154
154
  :class="{
155
+ 'tw-cursor-pointer hover:tw-bg-[#dfeef9]': onItemClick,
155
156
  'tw-bg-[#f8f8f8]': i % 2 === 1,
156
157
  '!tw-bg-[#dfeef9] hover:tw-bg-[#dfeef9]':
157
158
  item && item.id ? selectedItemId === item.id : false,
@@ -297,7 +298,7 @@
297
298
  </template>
298
299
 
299
300
  <script lang="ts" setup>
300
- import { computed, nextTick, ref, watch, onBeforeUpdate } from "vue";
301
+ import { computed, nextTick, PropType, ref, watch, onBeforeUpdate } from "vue";
301
302
  import {
302
303
  VcIcon,
303
304
  VcLoading,
@@ -311,10 +312,40 @@ import VcTableFilter from "./_internal/vc-table-filter/vc-table-filter.vue";
311
312
  import VcTableMobileItem from "./_internal/vc-table-mobile-item/vc-table-mobile-item.vue";
312
313
  import VcTableCell from "./_internal/vc-table-cell/vc-table-cell.vue";
313
314
  import { createPopper, Instance } from "@popperjs/core";
314
- import { IActionBuilderResult } from "@/core/types";
315
- import { VcTableProps } from "@/ui/components/organisms/vc-table/vc-table-model";
315
+ import { IActionBuilderResult, ITableColumns } from "@/core/types";
316
+
317
+ export interface Props {
318
+ columns: ITableColumns[];
319
+ items: { id: string }[];
320
+ itemActionBuilder?: (item: { id: string }) => IActionBuilderResult[];
321
+ sort?: string;
322
+ multiselect?: boolean;
323
+ expanded?: boolean;
324
+ totalLabel?: string;
325
+ totalCount?: number;
326
+ pages?: number;
327
+ currentPage?: number;
328
+ searchPlaceholder?: string;
329
+ searchValue?: string;
330
+ loading?: boolean;
331
+ empty?: StatusImage;
332
+ notfound?: StatusImage;
333
+ header?: boolean;
334
+ footer?: boolean;
335
+ activeFilterCount?: number;
336
+ selectedItemId?: string;
337
+ scrolling?: boolean;
338
+ onItemClick?: () => void;
339
+ }
340
+
341
+ export interface StatusImage {
342
+ image?: string;
343
+ text: string;
344
+ action?: boolean;
345
+ clickHandler?: () => void;
346
+ }
316
347
 
317
- const props = withDefaults(defineProps<VcTableProps>(), {
348
+ const props = withDefaults(defineProps<Props>(), {
318
349
  columns: () => [],
319
350
  items: () => [],
320
351
  itemActionBuilder: undefined,
@@ -339,6 +370,7 @@ const props = withDefaults(defineProps<VcTableProps>(), {
339
370
  activeFilterCount: 0,
340
371
  selectedItemId: undefined,
341
372
  scrolling: false,
373
+ onItemClick: undefined,
342
374
  });
343
375
 
344
376
  interface ITableItemRef {
@@ -350,9 +382,9 @@ const emit = defineEmits([
350
382
  "paginationClick",
351
383
  "selectionChanged",
352
384
  "search:change",
385
+ "filter:apply",
386
+ "filter:reset",
353
387
  "headerClick",
354
- "itemlick",
355
- "scroll:ptr",
356
388
  ]);
357
389
 
358
390
  const checkboxes = ref<Record<string, boolean>>({});
@@ -432,7 +464,7 @@ function processCheckbox(id: string, state: boolean) {
432
464
  emit("selectionChanged", checkboxes.value);
433
465
  }
434
466
 
435
- function showActions(item: { id?: string }, index: string) {
467
+ function showActions(item: { id: string }, index: string) {
436
468
  selectedRow.value = item.id;
437
469
 
438
470
  const toggleRef = actionToggleRefs.value.find((item) => item.id === index);
@@ -460,7 +492,7 @@ function showActions(item: { id?: string }, index: string) {
460
492
  }
461
493
  }
462
494
 
463
- async function calculateActions(item: { id?: string }) {
495
+ async function calculateActions(item: { id: string }) {
464
496
  if (typeof props.itemActionBuilder === "function") {
465
497
  itemActions.value = await props.itemActionBuilder(item);
466
498
  }
package/ui/types/index.ts CHANGED
@@ -11,203 +11,16 @@ import {
11
11
  VcInputCurrencyProps,
12
12
  VcInputCurrencySlots,
13
13
  } from "../components/molecules/vc-input-currency/vc-input-currency-model";
14
- import {
15
- VcBadgeProps,
16
- VcBadgeSlots,
17
- } from "../components/atoms/vc-badge/vc-badge-model";
18
- import {
19
- VcButtonProps,
20
- VcButtonSlots,
21
- } from "../components/atoms/vc-button/vc-button-model";
22
- import {
23
- VcCardProps,
24
- VcCardSlots,
25
- } from "../components/atoms/vc-card/vc-card-model";
26
- import {
27
- VcCheckboxProps,
28
- VcCheckboxSlots,
29
- } from "../components/atoms/vc-checkbox/vc-checkbox-model";
30
- import {
31
- VcColProps,
32
- VcColSlots,
33
- } from "../components/atoms/vc-col/vc-col-model";
34
- import {
35
- VcContainerProps,
36
- VcContainerSlots,
37
- } from "../components/atoms/vc-container/vc-container-model";
38
- import {
39
- VcIconProps,
40
- VcIconSlots,
41
- } from "../components/atoms/vc-icon/vc-icon-model";
42
- import {
43
- VcImageProps,
44
- VcImageSlots,
45
- } from "../components/atoms/vc-image/vc-image-model";
46
- import {
47
- VcInfoRowProps,
48
- VcInfoRowSlots,
49
- } from "../components/atoms/vc-info-row/vc-info-row-model";
50
- import {
51
- VcLabelProps,
52
- VcLabelSlots,
53
- } from "../components/atoms/vc-label/vc-label-model";
54
- import {
55
- VcLinkProps,
56
- VcLinkSlots,
57
- } from "../components/atoms/vc-link/vc-link-model";
58
- import {
59
- VcLoadingProps,
60
- VcLoadingSlots,
61
- } from "../components/atoms/vc-loading/vc-loading-model";
62
- import {
63
- VcProgressProps,
64
- VcProgressSlots,
65
- } from "../components/atoms/vc-progress/vc-progress-model";
66
- import { VcRowSlots } from "../components/atoms/vc-row/vc-row-model";
67
- import {
68
- VcStatusProps,
69
- VcStatusSlots,
70
- } from "../components/atoms/vc-status/vc-status-model";
71
- import {
72
- VcStatusIconProps,
73
- VcStatusIconSlots,
74
- } from "../components/atoms/vc-status-icon/vc-status-icon-model";
75
- import {
76
- VcSwitchProps,
77
- VcSwitchSlots,
78
- } from "../components/atoms/vc-switch/vc-switch-model";
79
- import {
80
- VcWidgetProps,
81
- VcWidgetSlots,
82
- } from "../components/atoms/vc-widget/vc-widget-model";
83
- import {
84
- VcBreadcrumbsProps,
85
- VcBreadcrumbsSlots,
86
- } from "../components/molecules/vc-breadcrumbs/vc-breadcrumbs-model";
87
- import {
88
- VcEditorProps,
89
- VcEditorSlots,
90
- } from "../components/molecules/vc-editor/vc-editor-model";
91
- import {
92
- VcFileUploadProps,
93
- VcFileUploadSlots,
94
- } from "../components/molecules/vc-file-upload/vc-file-upload-model";
95
- import {
96
- VcNotificationProps,
97
- VcNotificationSlots,
98
- } from "../components/molecules/vc-notification/vc-notification-model";
99
- import {
100
- VcPaginationProps,
101
- VcPaginationSlots,
102
- } from "../components/molecules/vc-pagination/vc-pagination-model";
103
- import {
104
- VcRatingProps,
105
- VcRatingSlots,
106
- } from "../components/molecules/vc-rating/vc-rating-model";
107
- import {
108
- VcSliderProps,
109
- VcSliderSlots,
110
- } from "../components/molecules/vc-slider/vc-slider-model";
111
- import {
112
- VcTextareaProps,
113
- VcTextareaSlots,
114
- } from "../components/molecules/vc-textarea/vc-textarea-model";
115
- import {
116
- VcAppProps,
117
- VcAppSlots,
118
- } from "../components/organisms/vc-app/vc-app-model";
119
- import {
120
- VcBladeProps,
121
- VcBladeSlots,
122
- } from "../components/organisms/vc-blade/vc-blade-model";
123
- import {
124
- VcDynamicPropertyProps,
125
- VcDynamicPropertySlots,
126
- } from "../components/organisms/vc-dynamic-property/vc-dynamic-property-model";
127
- import {
128
- VcGalleryProps,
129
- VcGallerySlots,
130
- } from "../components/organisms/vc-gallery/vc-gallery-model";
131
- import {
132
- VcLoginFormProps,
133
- VcLoginFormSlots,
134
- } from "../components/organisms/vc-login-form/vc-login-form-model";
135
- import {
136
- VcPopupProps,
137
- VcPopupSlots,
138
- } from "../components/organisms/vc-popup/vc-popup-model";
139
- import {
140
- VcTableProps,
141
- VcTableSlots,
142
- } from "../components/organisms/vc-table/vc-table-model";
143
14
 
144
15
  declare module "@vue/runtime-core" {
145
16
  interface GlobalComponents {
146
- // atoms
147
- VcBadge: GlobalComponentConstructor<VcBadgeProps, VcBadgeSlots>;
148
- VcButton: GlobalComponentConstructor<VcButtonProps, VcButtonSlots>;
149
- VcCard: GlobalComponentConstructor<VcCardProps, VcCardSlots>;
150
- VcCheckbox: GlobalComponentConstructor<VcCheckboxProps, VcCheckboxSlots>;
151
- VcCol: GlobalComponentConstructor<VcColProps, VcColSlots>;
152
- VcContainer: GlobalComponentConstructor<VcContainerProps, VcContainerSlots>;
153
- VcHint: GlobalComponentConstructor;
154
- VcIcon: GlobalComponentConstructor<VcIconProps, VcIconSlots>;
155
- VcImage: GlobalComponentConstructor<VcImageProps, VcImageSlots>;
156
- VcInfoRow: GlobalComponentConstructor<VcInfoRowProps, VcInfoRowSlots>;
157
- VcLabel: GlobalComponentConstructor<VcLabelProps, VcLabelSlots>;
158
- VcLink: GlobalComponentConstructor<VcLinkProps, VcLinkSlots>;
159
- VcLoading: GlobalComponentConstructor<VcLoadingProps, VcLoadingSlots>;
160
- VcProgress: GlobalComponentConstructor<VcProgressProps, VcProgressSlots>;
161
- VcRow: GlobalComponentConstructor<any, VcRowSlots>;
162
- VcStatus: GlobalComponentConstructor<VcStatusProps, VcStatusSlots>;
163
- VcStatusIcon: GlobalComponentConstructor<
164
- VcStatusIconProps,
165
- VcStatusIconSlots
166
- >;
167
- VcSwitch: GlobalComponentConstructor<VcSwitchProps, VcSwitchSlots>;
168
- VcWidget: GlobalComponentConstructor<VcWidgetProps, VcWidgetSlots>;
169
-
170
- // molecules
171
- VcBreadcrumbs: GlobalComponentConstructor<
172
- VcBreadcrumbsProps,
173
- VcBreadcrumbsSlots
174
- >;
175
- VcEditor: GlobalComponentConstructor<VcEditorProps, VcEditorSlots>;
176
- VcFileUpload: GlobalComponentConstructor<
177
- VcFileUploadProps,
178
- VcFileUploadSlots
179
- >;
180
- VcForm: GlobalComponentConstructor;
181
17
  VcInput: GlobalComponentConstructor<VcInputProps, VcInputSlots>;
182
18
  VcInputCurrency: GlobalComponentConstructor<
183
19
  VcInputCurrencyProps,
184
20
  VcInputCurrencySlots
185
21
  >;
186
- VcNotification: GlobalComponentConstructor<
187
- VcNotificationProps,
188
- VcNotificationSlots
189
- >;
190
- VcPagination: GlobalComponentConstructor<
191
- VcPaginationProps,
192
- VcPaginationSlots
193
- >;
194
- VcRating: GlobalComponentConstructor<VcRatingProps, VcRatingSlots>;
195
22
  VcSelect: GlobalComponentConstructor<VcSelectProps, VcSelectSlots>;
196
- VcSlider: GlobalComponentConstructor<VcSliderProps, VcSliderSlots>;
197
- VcTextarea: GlobalComponentConstructor<VcTextareaProps, VcTextareaSlots>;
198
-
199
- // organisms
200
- VcApp: GlobalComponentConstructor<VcAppProps, VcAppSlots>;
201
- VcBlade: GlobalComponentConstructor<VcBladeProps, VcBladeSlots>;
202
- VcDynamicProperty: GlobalComponentConstructor<
203
- VcDynamicPropertyProps,
204
- VcDynamicPropertySlots
205
- >;
206
- VcGallery: GlobalComponentConstructor<VcGalleryProps, VcGallerySlots>;
207
- VcLoginForm: GlobalComponentConstructor<VcLoginFormProps, VcLoginFormSlots>;
208
- VcPopup: GlobalComponentConstructor<VcPopupProps, VcPopupSlots>;
209
- VcTable: GlobalComponentConstructor<VcTableProps, VcTableSlots>;
210
23
  }
211
24
  }
212
25
 
213
- export {};
26
+ export { };
@@ -1,5 +0,0 @@
1
- import { ComponentPublicInstance } from "vue";
2
- import { VcCardProps } from "./vc-card-model";
3
- import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
- export declare const VcCard: ComponentConstructor<ComponentPublicInstance<VcCardProps>>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,MAAM,EAAE,oBAAoB,CACvC,uBAAuB,CAAC,WAAW,CAAC,CAC9B,CAAC"}
@@ -1,16 +0,0 @@
1
- import { VNode } from "vue";
2
- export interface VcCardProps {
3
- header?: string | undefined;
4
- icon?: string | undefined;
5
- isCollapsable?: boolean | undefined;
6
- isCollapsed?: boolean | undefined;
7
- fill?: boolean | undefined;
8
- variant?: "default" | "success" | "danger" | undefined;
9
- "onHeader:click"?: () => void;
10
- "onState:collapsed"?: (isCollapsedState: boolean) => void;
11
- }
12
- export interface VcCardSlots {
13
- default: () => VNode[];
14
- actions: () => VNode[];
15
- }
16
- //# sourceMappingURL=vc-card-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vc-card-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-card/vc-card-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;IACvD,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,mBAAmB,CAAC,EAAE,CAAC,gBAAgB,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3D;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;IACvB,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
@@ -1,5 +0,0 @@
1
- import { ComponentPublicInstance } from "vue";
2
- import { VcCheckboxProps } from "./vc-checkbox-model";
3
- import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
- export declare const VcCheckbox: ComponentConstructor<ComponentPublicInstance<VcCheckboxProps>>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,UAAU,EAAE,oBAAoB,CACzC,uBAAuB,CAAC,eAAe,CAAC,CAChC,CAAC"}
@@ -1,14 +0,0 @@
1
- import { VNode } from "vue";
2
- export interface VcCheckboxProps {
3
- modelValue?: boolean | undefined;
4
- disabled?: boolean | undefined;
5
- required?: boolean | undefined;
6
- name?: string | undefined;
7
- errorMessage?: string | undefined;
8
- "onUpdate:modelValue"?: (value: boolean) => void;
9
- }
10
- export interface VcCheckboxSlots {
11
- default: () => VNode[];
12
- error: () => VNode[];
13
- }
14
- //# sourceMappingURL=vc-checkbox-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vc-checkbox-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-checkbox/vc-checkbox-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAClD;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;IACvB,KAAK,EAAE,MAAM,KAAK,EAAE,CAAC;CACtB"}
@@ -1,5 +0,0 @@
1
- import { ComponentPublicInstance } from "vue";
2
- import { VcColProps } from "./vc-col-model";
3
- import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
- export declare const VcCol: ComponentConstructor<ComponentPublicInstance<VcColProps>>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-col/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,KAAK,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,UAAU,CAAC,CACvE,CAAC"}
@@ -1,8 +0,0 @@
1
- import { VNode } from "vue";
2
- export interface VcColProps {
3
- size?: string | undefined;
4
- }
5
- export interface VcColSlots {
6
- default: () => VNode[];
7
- }
8
- //# sourceMappingURL=vc-col-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vc-col-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-col/vc-col-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
@@ -1,5 +0,0 @@
1
- import { ComponentPublicInstance } from "vue";
2
- import { VcContainerProps } from "./vc-container-model";
3
- import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
- export declare const VcContainer: ComponentConstructor<ComponentPublicInstance<VcContainerProps>>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-container/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,WAAW,EAAE,oBAAoB,CAC5C,uBAAuB,CAAC,gBAAgB,CAAC,CAC9B,CAAC"}
@@ -1,11 +0,0 @@
1
- import { VNode } from "vue";
2
- export interface VcContainerProps {
3
- shadow?: boolean | undefined;
4
- noPadding?: boolean | undefined;
5
- usePtr?: boolean | undefined;
6
- "onScroll:ptr"?: () => void;
7
- }
8
- export interface VcContainerSlots {
9
- default: () => VNode[];
10
- }
11
- //# sourceMappingURL=vc-container-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vc-container-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-container/vc-container-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,KAAK,CAAC;AAE1B,MAAM,WAAW,gBAAgB;IAC7B,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC5B,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC/B,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC5B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;CAC9B;AAED,MAAM,WAAW,gBAAgB;IAC7B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CAC1B"}
@@ -1,2 +0,0 @@
1
- export declare const VcHint: any;
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-hint/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,MAAM,KAAO,CAAC"}
@@ -1,5 +0,0 @@
1
- import { ComponentPublicInstance } from "vue";
2
- import { VcIconProps } from "./vc-icon-model";
3
- import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
- export declare const VcIcon: ComponentConstructor<ComponentPublicInstance<VcIconProps>>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,MAAM,EAAE,oBAAoB,CACrC,uBAAuB,CAAC,WAAW,CAAC,CAChC,CAAC"}
@@ -1,9 +0,0 @@
1
- import { VNode } from "vue";
2
- export interface VcIconProps {
3
- icon?: string | undefined;
4
- size?: "xs" | "s" | "m" | "l" | "xl" | "xxl";
5
- }
6
- export interface VcIconSlots {
7
- default: () => VNode[];
8
- }
9
- //# sourceMappingURL=vc-icon-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vc-icon-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-icon/vc-icon-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,KAAK,CAAC;AAE1B,MAAM,WAAW,WAAW;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,KAAK,CAAA;CAC/C;AAED,MAAM,WAAW,WAAW;IACxB,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CAC1B"}
@@ -1,5 +0,0 @@
1
- import { ComponentPublicInstance } from "vue";
2
- import { VcImageProps } from "./vc-image-model";
3
- import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
- export declare const VcImage: ComponentConstructor<ComponentPublicInstance<VcImageProps>>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-image/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,OAAO,EAAE,oBAAoB,CACxC,uBAAuB,CAAC,YAAY,CAAC,CAC9B,CAAC"}
@@ -1,15 +0,0 @@
1
- import { VNode } from "vue";
2
- export interface VcImageProps {
3
- aspect?: string | undefined;
4
- rounded?: boolean | undefined;
5
- bordered?: boolean | undefined;
6
- clickable?: boolean | undefined;
7
- src?: string | undefined;
8
- size?: "auto" | "1x1" | "16x9" | "4x3" | "3x2" | "xs" | "s" | "m" | "l" | "xl" | "xxl";
9
- background?: "cover" | "contain" | "auto";
10
- onClick?: () => void;
11
- }
12
- export interface VcImageSlots {
13
- default: () => VNode[];
14
- }
15
- //# sourceMappingURL=vc-image-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vc-image-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-image/vc-image-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,IAAI,CAAC,EACD,MAAM,GACN,KAAK,GACL,MAAM,GACN,KAAK,GACL,KAAK,GACL,IAAI,GACJ,GAAG,GACH,GAAG,GACH,GAAG,GACH,IAAI,GACJ,KAAK,CAAC;IACV,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IAC1C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
@@ -1,5 +0,0 @@
1
- import { ComponentPublicInstance } from "vue";
2
- import { VcInfoRowProps } from "./vc-info-row-model";
3
- import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
- export declare const VcInfoRow: ComponentConstructor<ComponentPublicInstance<VcInfoRowProps>>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-info-row/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,SAAS,EAAE,oBAAoB,CAC1C,uBAAuB,CAAC,cAAc,CAAC,CAC9B,CAAC"}
@@ -1,11 +0,0 @@
1
- import { VNode } from "vue";
2
- export interface VcInfoRowProps {
3
- label?: string | undefined;
4
- value?: string | undefined;
5
- tooltip?: string | undefined;
6
- type?: "default" | "email";
7
- }
8
- export interface VcInfoRowSlots {
9
- default: () => VNode[];
10
- }
11
- //# sourceMappingURL=vc-info-row-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vc-info-row-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-info-row/vc-info-row-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
@@ -1,5 +0,0 @@
1
- import { ComponentPublicInstance } from "vue";
2
- import { VcLabelProps } from "./vc-label-model";
3
- import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
- export declare const VcLabel: ComponentConstructor<ComponentPublicInstance<VcLabelProps>>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,OAAO,EAAE,oBAAoB,CACxC,uBAAuB,CAAC,YAAY,CAAC,CAC9B,CAAC"}
@@ -1,10 +0,0 @@
1
- import { VNode } from "vue";
2
- export interface VcLabelProps {
3
- required?: boolean | undefined;
4
- tooltipIcon?: string | undefined;
5
- }
6
- export interface VcLabelSlots {
7
- default: () => VNode[];
8
- tooltip: () => VNode[];
9
- }
10
- //# sourceMappingURL=vc-label-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vc-label-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-label/vc-label-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;IACvB,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
@@ -1,5 +0,0 @@
1
- import { ComponentPublicInstance } from "vue";
2
- import { VcLinkProps } from "./vc-link-model";
3
- import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
- export declare const VcLink: ComponentConstructor<ComponentPublicInstance<VcLinkProps>>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-link/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,MAAM,EAAE,oBAAoB,CACvC,uBAAuB,CAAC,WAAW,CAAC,CAC9B,CAAC"}
@@ -1,10 +0,0 @@
1
- import { VNode } from "vue";
2
- export interface VcLinkProps {
3
- active?: boolean | undefined;
4
- disabled?: boolean | undefined;
5
- onClick?: () => void;
6
- }
7
- export interface VcLinkSlots {
8
- default: () => VNode[];
9
- }
10
- //# sourceMappingURL=vc-link-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vc-link-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-link/vc-link-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
@@ -1,5 +0,0 @@
1
- import { ComponentPublicInstance } from "vue";
2
- import { VcLoadingProps } from "./vc-loading-model";
3
- import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
- export declare const VcLoading: ComponentConstructor<ComponentPublicInstance<VcLoadingProps>>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-loading/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,SAAS,EAAE,oBAAoB,CAC1C,uBAAuB,CAAC,cAAc,CAAC,CAC9B,CAAC"}
@@ -1,8 +0,0 @@
1
- import { VNode } from "vue";
2
- export interface VcLoadingProps {
3
- active?: boolean | undefined;
4
- }
5
- export interface VcLoadingSlots {
6
- default: () => VNode[];
7
- }
8
- //# sourceMappingURL=vc-loading-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vc-loading-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-loading/vc-loading-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC9B;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
@@ -1,5 +0,0 @@
1
- import { ComponentPublicInstance } from "vue";
2
- import { VcProgressProps } from "./vc-progress-model";
3
- import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
- export declare const VcProgress: ComponentConstructor<ComponentPublicInstance<VcProgressProps>>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-progress/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,UAAU,EAAE,oBAAoB,CAC3C,uBAAuB,CAAC,eAAe,CAAC,CAC9B,CAAC"}
@@ -1,9 +0,0 @@
1
- import { VNode } from "vue";
2
- export interface VcProgressProps {
3
- value?: number | undefined;
4
- variant?: "default" | "striped" | undefined;
5
- }
6
- export interface VcProgressSlots {
7
- default: () => VNode[];
8
- }
9
- //# sourceMappingURL=vc-progress-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vc-progress-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-progress/vc-progress-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;CAC7C;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
@@ -1,2 +0,0 @@
1
- export declare const VcRow: any;
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-row/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,KAAK,KAAM,CAAC"}
@@ -1,5 +0,0 @@
1
- import { VNode } from "vue";
2
- export interface VcRowSlots {
3
- default: () => VNode[];
4
- }
5
- //# sourceMappingURL=vc-row-model.d.ts.map