@vc-shell/framework 1.0.53 → 1.0.54

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 (354) hide show
  1. package/core/composables/index.ts +0 -1
  2. package/core/composables/useApiClient/index.ts +1 -4
  3. package/core/composables/useAsync/index.ts +2 -6
  4. package/core/composables/useAutosave/index.ts +1 -3
  5. package/core/composables/useFunctions/debounce.ts +1 -4
  6. package/core/composables/useFunctions/delay.ts +1 -4
  7. package/core/composables/useFunctions/once.ts +1 -3
  8. package/core/composables/useFunctions/throttle.ts +1 -4
  9. package/core/composables/useI18n/index.ts +3 -24
  10. package/core/composables/useLoading/index.ts +1 -3
  11. package/core/composables/useNotifications/index.ts +5 -12
  12. package/core/composables/useSettings/index.ts +2 -3
  13. package/core/composables/useUser/index.ts +25 -64
  14. package/core/plugins/i18n/index.ts +8 -0
  15. package/core/plugins/index.ts +3 -1
  16. package/core/plugins/modularity/index.ts +32 -0
  17. package/core/plugins/moment/humanize.ts +1 -4
  18. package/core/plugins/validation/index.ts +11 -1
  19. package/core/plugins/validation/rules.ts +48 -170
  20. package/core/types/index.ts +3 -5
  21. package/dist/core/composables/index.d.ts +0 -1
  22. package/dist/core/composables/index.d.ts.map +1 -1
  23. package/dist/core/composables/useApiClient/index.d.ts.map +1 -1
  24. package/dist/core/composables/useAsync/index.d.ts.map +1 -1
  25. package/dist/core/composables/useAutosave/index.d.ts.map +1 -1
  26. package/dist/core/composables/useFunctions/debounce.d.ts.map +1 -1
  27. package/dist/core/composables/useFunctions/delay.d.ts.map +1 -1
  28. package/dist/core/composables/useFunctions/once.d.ts.map +1 -1
  29. package/dist/core/composables/useFunctions/throttle.d.ts.map +1 -1
  30. package/dist/core/composables/useI18n/index.d.ts +2 -4
  31. package/dist/core/composables/useI18n/index.d.ts.map +1 -1
  32. package/dist/core/composables/useLoading/index.d.ts.map +1 -1
  33. package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
  34. package/dist/core/composables/useSettings/index.d.ts.map +1 -1
  35. package/dist/core/composables/useUser/index.d.ts.map +1 -1
  36. package/dist/core/plugins/i18n/index.d.ts +3 -0
  37. package/dist/core/plugins/i18n/index.d.ts.map +1 -0
  38. package/dist/core/plugins/index.d.ts +3 -1
  39. package/dist/core/plugins/index.d.ts.map +1 -1
  40. package/dist/core/plugins/modularity/index.d.ts +8 -0
  41. package/dist/core/plugins/modularity/index.d.ts.map +1 -0
  42. package/dist/core/plugins/moment/humanize.d.ts.map +1 -1
  43. package/dist/core/plugins/validation/index.d.ts +3 -1
  44. package/dist/core/plugins/validation/index.d.ts.map +1 -1
  45. package/dist/core/plugins/validation/rules.d.ts +32 -11
  46. package/dist/core/plugins/validation/rules.d.ts.map +1 -1
  47. package/dist/core/types/index.d.ts +0 -1
  48. package/dist/core/types/index.d.ts.map +1 -1
  49. package/dist/framework.esm.js +42553 -0
  50. package/dist/framework.js +77 -75
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/shared/app-switcher/composables/useAppSwitcher/index.d.ts.map +1 -1
  53. package/dist/shared/app-switcher/index.d.ts +2 -3
  54. package/dist/shared/app-switcher/index.d.ts.map +1 -1
  55. package/dist/shared/assets/components/index.d.ts +1 -1
  56. package/dist/shared/assets/components/index.d.ts.map +1 -1
  57. package/dist/shared/assets/index.d.ts +2 -3
  58. package/dist/shared/assets/index.d.ts.map +1 -1
  59. package/dist/shared/blade-navigation/composables/index.d.ts +1 -1
  60. package/dist/shared/blade-navigation/composables/index.d.ts.map +1 -1
  61. package/dist/shared/blade-navigation/composables/useBladeNavigation/index.d.ts +1 -1
  62. package/dist/shared/blade-navigation/composables/useBladeNavigation/index.d.ts.map +1 -1
  63. package/dist/shared/blade-navigation/index.d.ts +2 -3
  64. package/dist/shared/blade-navigation/index.d.ts.map +1 -1
  65. package/dist/shared/index.d.ts +4 -1
  66. package/dist/shared/index.d.ts.map +1 -1
  67. package/dist/style.css +1 -1
  68. package/dist/tsconfig.tsbuildinfo +1 -1
  69. package/dist/ui/components/atoms/vc-badge/index.d.ts +2 -2
  70. package/dist/ui/components/atoms/vc-badge/index.d.ts.map +1 -1
  71. package/dist/ui/components/atoms/vc-badge/vc-badge-model.d.ts +20 -15
  72. package/dist/ui/components/atoms/vc-badge/vc-badge-model.d.ts.map +1 -1
  73. package/dist/ui/components/atoms/vc-button/index.d.ts +2 -2
  74. package/dist/ui/components/atoms/vc-button/index.d.ts.map +1 -1
  75. package/dist/ui/components/atoms/vc-button/vc-button-model.d.ts +30 -10
  76. package/dist/ui/components/atoms/vc-button/vc-button-model.d.ts.map +1 -1
  77. package/dist/ui/components/atoms/vc-card/index.d.ts +2 -2
  78. package/dist/ui/components/atoms/vc-card/index.d.ts.map +1 -1
  79. package/dist/ui/components/atoms/vc-card/vc-card-model.d.ts +28 -11
  80. package/dist/ui/components/atoms/vc-card/vc-card-model.d.ts.map +1 -1
  81. package/dist/ui/components/atoms/vc-checkbox/index.d.ts +2 -2
  82. package/dist/ui/components/atoms/vc-checkbox/index.d.ts.map +1 -1
  83. package/dist/ui/components/atoms/vc-checkbox/vc-checkbox-model.d.ts +25 -8
  84. package/dist/ui/components/atoms/vc-checkbox/vc-checkbox-model.d.ts.map +1 -1
  85. package/dist/ui/components/atoms/vc-col/index.d.ts.map +1 -1
  86. package/dist/ui/components/atoms/vc-col/vc-col-model.d.ts +8 -3
  87. package/dist/ui/components/atoms/vc-col/vc-col-model.d.ts.map +1 -1
  88. package/dist/ui/components/atoms/vc-container/index.d.ts +2 -2
  89. package/dist/ui/components/atoms/vc-container/index.d.ts.map +1 -1
  90. package/dist/ui/components/atoms/vc-container/vc-container-model.d.ts +20 -6
  91. package/dist/ui/components/atoms/vc-container/vc-container-model.d.ts.map +1 -1
  92. package/dist/ui/components/atoms/vc-hint/vc-hint-model.d.ts +5 -0
  93. package/dist/ui/components/atoms/vc-hint/vc-hint-model.d.ts.map +1 -0
  94. package/dist/ui/components/atoms/vc-icon/index.d.ts.map +1 -1
  95. package/dist/ui/components/atoms/vc-icon/vc-icon-model.d.ts +13 -5
  96. package/dist/ui/components/atoms/vc-icon/vc-icon-model.d.ts.map +1 -1
  97. package/dist/ui/components/atoms/vc-image/index.d.ts +2 -2
  98. package/dist/ui/components/atoms/vc-image/index.d.ts.map +1 -1
  99. package/dist/ui/components/atoms/vc-image/vc-image-model.d.ts +34 -11
  100. package/dist/ui/components/atoms/vc-image/vc-image-model.d.ts.map +1 -1
  101. package/dist/ui/components/atoms/vc-image/vc-image.stories.d.ts.map +1 -1
  102. package/dist/ui/components/atoms/vc-info-row/index.d.ts.map +1 -1
  103. package/dist/ui/components/atoms/vc-info-row/vc-info-row-model.d.ts +21 -7
  104. package/dist/ui/components/atoms/vc-info-row/vc-info-row-model.d.ts.map +1 -1
  105. package/dist/ui/components/atoms/vc-label/index.d.ts.map +1 -1
  106. package/dist/ui/components/atoms/vc-label/vc-label-model.d.ts +12 -4
  107. package/dist/ui/components/atoms/vc-label/vc-label-model.d.ts.map +1 -1
  108. package/dist/ui/components/atoms/vc-link/index.d.ts +2 -2
  109. package/dist/ui/components/atoms/vc-link/index.d.ts.map +1 -1
  110. package/dist/ui/components/atoms/vc-link/vc-link-model.d.ts +16 -5
  111. package/dist/ui/components/atoms/vc-link/vc-link-model.d.ts.map +1 -1
  112. package/dist/ui/components/atoms/vc-loading/index.d.ts.map +1 -1
  113. package/dist/ui/components/atoms/vc-loading/vc-loading-model.d.ts +8 -3
  114. package/dist/ui/components/atoms/vc-loading/vc-loading-model.d.ts.map +1 -1
  115. package/dist/ui/components/atoms/vc-progress/index.d.ts.map +1 -1
  116. package/dist/ui/components/atoms/vc-progress/vc-progress-model.d.ts +13 -5
  117. package/dist/ui/components/atoms/vc-progress/vc-progress-model.d.ts.map +1 -1
  118. package/dist/ui/components/atoms/vc-status/index.d.ts.map +1 -1
  119. package/dist/ui/components/atoms/vc-status/vc-status-model.d.ts +17 -6
  120. package/dist/ui/components/atoms/vc-status/vc-status-model.d.ts.map +1 -1
  121. package/dist/ui/components/atoms/vc-status-icon/index.d.ts.map +1 -1
  122. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon-model.d.ts +8 -3
  123. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon-model.d.ts.map +1 -1
  124. package/dist/ui/components/atoms/vc-switch/index.d.ts +2 -2
  125. package/dist/ui/components/atoms/vc-switch/index.d.ts.map +1 -1
  126. package/dist/ui/components/atoms/vc-switch/vc-switch-model.d.ts +25 -8
  127. package/dist/ui/components/atoms/vc-switch/vc-switch-model.d.ts.map +1 -1
  128. package/dist/ui/components/atoms/vc-widget/index.d.ts +2 -2
  129. package/dist/ui/components/atoms/vc-widget/index.d.ts.map +1 -1
  130. package/dist/ui/components/atoms/vc-widget/vc-widget-model.d.ts +15 -7
  131. package/dist/ui/components/atoms/vc-widget/vc-widget-model.d.ts.map +1 -1
  132. package/dist/ui/components/index.d.ts.map +1 -1
  133. package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts.map +1 -1
  134. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.d.ts +15 -10
  135. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.d.ts.map +1 -1
  136. package/dist/ui/components/molecules/vc-editor/index.d.ts +2 -2
  137. package/dist/ui/components/molecules/vc-editor/index.d.ts.map +1 -1
  138. package/dist/ui/components/molecules/vc-editor/vc-editor-model.d.ts +28 -11
  139. package/dist/ui/components/molecules/vc-editor/vc-editor-model.d.ts.map +1 -1
  140. package/dist/ui/components/molecules/vc-file-upload/index.d.ts +2 -2
  141. package/dist/ui/components/molecules/vc-file-upload/index.d.ts.map +1 -1
  142. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload-model.d.ts +30 -10
  143. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload-model.d.ts.map +1 -1
  144. package/dist/ui/components/molecules/vc-form/vc-form-model.d.ts +5 -0
  145. package/dist/ui/components/molecules/vc-form/vc-form-model.d.ts.map +1 -0
  146. package/dist/ui/components/molecules/vc-input/index.d.ts +2 -2
  147. package/dist/ui/components/molecules/vc-input/index.d.ts.map +1 -1
  148. package/dist/ui/components/molecules/vc-input/vc-input-model.d.ts +48 -25
  149. package/dist/ui/components/molecules/vc-input/vc-input-model.d.ts.map +1 -1
  150. package/dist/ui/components/molecules/vc-input-currency/index.d.ts +2 -2
  151. package/dist/ui/components/molecules/vc-input-currency/index.d.ts.map +1 -1
  152. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency-model.d.ts +36 -28
  153. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency-model.d.ts.map +1 -1
  154. package/dist/ui/components/molecules/vc-notification/index.d.ts +2 -2
  155. package/dist/ui/components/molecules/vc-notification/index.d.ts.map +1 -1
  156. package/dist/ui/components/molecules/vc-notification/vc-notification-model.d.ts +13 -5
  157. package/dist/ui/components/molecules/vc-notification/vc-notification-model.d.ts.map +1 -1
  158. package/dist/ui/components/molecules/vc-pagination/index.d.ts +2 -2
  159. package/dist/ui/components/molecules/vc-pagination/index.d.ts.map +1 -1
  160. package/dist/ui/components/molecules/vc-pagination/vc-pagination-model.d.ts +20 -6
  161. package/dist/ui/components/molecules/vc-pagination/vc-pagination-model.d.ts.map +1 -1
  162. package/dist/ui/components/molecules/vc-rating/index.d.ts.map +1 -1
  163. package/dist/ui/components/molecules/vc-rating/vc-rating-model.d.ts +17 -9
  164. package/dist/ui/components/molecules/vc-rating/vc-rating-model.d.ts.map +1 -1
  165. package/dist/ui/components/molecules/vc-select/index.d.ts +2 -2
  166. package/dist/ui/components/molecules/vc-select/index.d.ts.map +1 -1
  167. package/dist/ui/components/molecules/vc-select/vc-select-model.d.ts +67 -32
  168. package/dist/ui/components/molecules/vc-select/vc-select-model.d.ts.map +1 -1
  169. package/dist/ui/components/molecules/vc-slider/index.d.ts.map +1 -1
  170. package/dist/ui/components/molecules/vc-slider/vc-slider-model.d.ts +25 -8
  171. package/dist/ui/components/molecules/vc-slider/vc-slider-model.d.ts.map +1 -1
  172. package/dist/ui/components/molecules/vc-textarea/index.d.ts +2 -2
  173. package/dist/ui/components/molecules/vc-textarea/index.d.ts.map +1 -1
  174. package/dist/ui/components/molecules/vc-textarea/vc-textarea-model.d.ts +32 -12
  175. package/dist/ui/components/molecules/vc-textarea/vc-textarea-model.d.ts.map +1 -1
  176. package/dist/ui/components/organisms/vc-app/index.d.ts +2 -2
  177. package/dist/ui/components/organisms/vc-app/index.d.ts.map +1 -1
  178. package/dist/ui/components/organisms/vc-app/vc-app-model.d.ts +52 -17
  179. package/dist/ui/components/organisms/vc-app/vc-app-model.d.ts.map +1 -1
  180. package/dist/ui/components/organisms/vc-blade/index.d.ts +2 -2
  181. package/dist/ui/components/organisms/vc-blade/index.d.ts.map +1 -1
  182. package/dist/ui/components/organisms/vc-blade/vc-blade-model.d.ts +28 -11
  183. package/dist/ui/components/organisms/vc-blade/vc-blade-model.d.ts.map +1 -1
  184. package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts.map +1 -1
  185. package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts.map +1 -1
  186. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.d.ts +39 -10
  187. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.d.ts.map +1 -1
  188. package/dist/ui/components/organisms/vc-gallery/index.d.ts +2 -2
  189. package/dist/ui/components/organisms/vc-gallery/index.d.ts.map +1 -1
  190. package/dist/ui/components/organisms/vc-gallery/vc-gallery-model.d.ts +69 -27
  191. package/dist/ui/components/organisms/vc-gallery/vc-gallery-model.d.ts.map +1 -1
  192. package/dist/ui/components/organisms/vc-login-form/index.d.ts.map +1 -1
  193. package/dist/ui/components/organisms/vc-login-form/vc-login-form-model.d.ts +10 -5
  194. package/dist/ui/components/organisms/vc-login-form/vc-login-form-model.d.ts.map +1 -1
  195. package/dist/ui/components/organisms/vc-popup/index.d.ts +2 -2
  196. package/dist/ui/components/organisms/vc-popup/index.d.ts.map +1 -1
  197. package/dist/ui/components/organisms/vc-popup/vc-popup-model.d.ts +18 -7
  198. package/dist/ui/components/organisms/vc-popup/vc-popup-model.d.ts.map +1 -1
  199. package/dist/ui/components/organisms/vc-table/index.d.ts +2 -2
  200. package/dist/ui/components/organisms/vc-table/index.d.ts.map +1 -1
  201. package/dist/ui/components/organisms/vc-table/vc-table-model.d.ts +103 -34
  202. package/dist/ui/components/organisms/vc-table/vc-table-model.d.ts.map +1 -1
  203. package/dist/ui/types/index.d.ts +48 -46
  204. package/dist/ui/types/index.d.ts.map +1 -1
  205. package/dist/ui/types/ts-helpers.d.ts +14 -4
  206. package/dist/ui/types/ts-helpers.d.ts.map +1 -1
  207. package/dist/ui/utils/index.d.ts +2 -0
  208. package/dist/ui/utils/index.d.ts.map +1 -0
  209. package/dist/ui/utils/types.d.ts +3 -0
  210. package/dist/ui/utils/types.d.ts.map +1 -0
  211. package/dist/vite.config.d.ts +1 -1
  212. package/dist/vite.config.d.ts.map +1 -1
  213. package/package.json +8 -11
  214. package/shared/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +2 -5
  215. package/shared/app-switcher/composables/useAppSwitcher/index.ts +2 -7
  216. package/shared/app-switcher/index.ts +3 -10
  217. package/shared/assets/components/assets-details/assets-details.vue +7 -28
  218. package/shared/assets/components/index.ts +1 -1
  219. package/shared/assets/index.ts +3 -15
  220. package/shared/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue +2 -7
  221. package/shared/blade-navigation/composables/index.ts +1 -1
  222. package/shared/blade-navigation/composables/useBladeNavigation/index.ts +7 -36
  223. package/shared/blade-navigation/index.ts +3 -10
  224. package/shared/index.ts +9 -11
  225. package/ui/components/atoms/vc-badge/index.ts +4 -4
  226. package/ui/components/atoms/vc-badge/vc-badge-model.ts +22 -15
  227. package/ui/components/atoms/vc-badge/vc-badge.vue +5 -10
  228. package/ui/components/atoms/vc-button/index.ts +4 -4
  229. package/ui/components/atoms/vc-button/vc-button-model.ts +32 -17
  230. package/ui/components/atoms/vc-button/vc-button.vue +8 -13
  231. package/ui/components/atoms/vc-card/index.ts +3 -4
  232. package/ui/components/atoms/vc-card/vc-card-model.ts +31 -11
  233. package/ui/components/atoms/vc-card/vc-card.vue +20 -11
  234. package/ui/components/atoms/vc-checkbox/index.ts +3 -2
  235. package/ui/components/atoms/vc-checkbox/vc-checkbox-model.ts +28 -8
  236. package/ui/components/atoms/vc-checkbox/vc-checkbox.vue +15 -11
  237. package/ui/components/atoms/vc-col/index.ts +1 -2
  238. package/ui/components/atoms/vc-col/vc-col-model.ts +9 -3
  239. package/ui/components/atoms/vc-col/vc-col.vue +2 -4
  240. package/ui/components/atoms/vc-container/index.ts +3 -2
  241. package/ui/components/atoms/vc-container/vc-container-model.ts +24 -8
  242. package/ui/components/atoms/vc-container/vc-container.vue +6 -14
  243. package/ui/components/atoms/vc-hint/vc-hint-model.ts +5 -0
  244. package/ui/components/atoms/vc-icon/index.ts +1 -3
  245. package/ui/components/atoms/vc-icon/vc-icon-model.ts +15 -6
  246. package/ui/components/atoms/vc-icon/vc-icon.vue +2 -5
  247. package/ui/components/atoms/vc-image/index.ts +4 -4
  248. package/ui/components/atoms/vc-image/vc-image-model.ts +36 -22
  249. package/ui/components/atoms/vc-image/vc-image.stories.ts +1 -2
  250. package/ui/components/atoms/vc-image/vc-image.vue +13 -17
  251. package/ui/components/atoms/vc-info-row/index.ts +1 -3
  252. package/ui/components/atoms/vc-info-row/vc-info-row-model.ts +22 -7
  253. package/ui/components/atoms/vc-info-row/vc-info-row.vue +13 -9
  254. package/ui/components/atoms/vc-label/index.ts +1 -3
  255. package/ui/components/atoms/vc-label/vc-label-model.ts +13 -4
  256. package/ui/components/atoms/vc-label/vc-label.vue +6 -6
  257. package/ui/components/atoms/vc-link/index.ts +3 -4
  258. package/ui/components/atoms/vc-link/vc-link-model.ts +18 -5
  259. package/ui/components/atoms/vc-link/vc-link.vue +4 -6
  260. package/ui/components/atoms/vc-loading/index.ts +1 -3
  261. package/ui/components/atoms/vc-loading/vc-loading-model.ts +9 -3
  262. package/ui/components/atoms/vc-loading/vc-loading.vue +4 -9
  263. package/ui/components/atoms/vc-progress/index.ts +1 -3
  264. package/ui/components/atoms/vc-progress/vc-progress-model.ts +14 -5
  265. package/ui/components/atoms/vc-progress/vc-progress.vue +4 -13
  266. package/ui/components/atoms/vc-status/index.ts +1 -3
  267. package/ui/components/atoms/vc-status/vc-status-model.ts +18 -12
  268. package/ui/components/atoms/vc-status/vc-status.vue +3 -11
  269. package/ui/components/atoms/vc-status-icon/index.ts +1 -3
  270. package/ui/components/atoms/vc-status-icon/vc-status-icon-model.ts +9 -3
  271. package/ui/components/atoms/vc-status-icon/vc-status-icon.vue +2 -4
  272. package/ui/components/atoms/vc-switch/index.ts +4 -4
  273. package/ui/components/atoms/vc-switch/vc-switch-model.ts +28 -8
  274. package/ui/components/atoms/vc-switch/vc-switch.vue +12 -10
  275. package/ui/components/atoms/vc-widget/index.ts +4 -4
  276. package/ui/components/atoms/vc-widget/vc-widget-model.ts +17 -7
  277. package/ui/components/atoms/vc-widget/vc-widget.vue +16 -7
  278. package/ui/components/index.ts +1 -1
  279. package/ui/components/molecules/vc-breadcrumbs/index.ts +1 -3
  280. package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.ts +18 -10
  281. package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +6 -5
  282. package/ui/components/molecules/vc-editor/index.ts +4 -4
  283. package/ui/components/molecules/vc-editor/vc-editor-model.ts +31 -11
  284. package/ui/components/molecules/vc-editor/vc-editor.vue +17 -11
  285. package/ui/components/molecules/vc-file-upload/index.ts +3 -2
  286. package/ui/components/molecules/vc-file-upload/vc-file-upload-model.ts +33 -11
  287. package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +10 -14
  288. package/ui/components/molecules/vc-form/vc-form-model.ts +5 -0
  289. package/ui/components/molecules/vc-input/index.ts +4 -5
  290. package/ui/components/molecules/vc-input/vc-input-model.ts +53 -35
  291. package/ui/components/molecules/vc-input/vc-input.vue +41 -29
  292. package/ui/components/molecules/vc-input-currency/index.ts +3 -2
  293. package/ui/components/molecules/vc-input-currency/vc-input-currency-model.ts +42 -32
  294. package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +12 -7
  295. package/ui/components/molecules/vc-notification/index.ts +4 -3
  296. package/ui/components/molecules/vc-notification/vc-notification-model.ts +15 -5
  297. package/ui/components/molecules/vc-notification/vc-notification.vue +3 -5
  298. package/ui/components/molecules/vc-pagination/index.ts +4 -3
  299. package/ui/components/molecules/vc-pagination/vc-pagination-model.ts +23 -6
  300. package/ui/components/molecules/vc-pagination/vc-pagination.vue +19 -11
  301. package/ui/components/molecules/vc-rating/index.ts +2 -4
  302. package/ui/components/molecules/vc-rating/vc-rating-model.ts +18 -9
  303. package/ui/components/molecules/vc-rating/vc-rating.vue +10 -4
  304. package/ui/components/molecules/vc-select/index.ts +5 -5
  305. package/ui/components/molecules/vc-select/vc-select-model.ts +74 -44
  306. package/ui/components/molecules/vc-select/vc-select.vue +126 -171
  307. package/ui/components/molecules/vc-slider/index.ts +2 -4
  308. package/ui/components/molecules/vc-slider/vc-slider-model.ts +30 -11
  309. package/ui/components/molecules/vc-slider/vc-slider.vue +2 -8
  310. package/ui/components/molecules/vc-textarea/index.ts +4 -3
  311. package/ui/components/molecules/vc-textarea/vc-textarea-model.ts +35 -12
  312. package/ui/components/molecules/vc-textarea/vc-textarea.vue +16 -12
  313. package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +13 -9
  314. package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +12 -3
  315. package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +18 -16
  316. package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +8 -2
  317. package/ui/components/organisms/vc-app/index.ts +4 -4
  318. package/ui/components/organisms/vc-app/vc-app-model.ts +55 -17
  319. package/ui/components/organisms/vc-app/vc-app.vue +8 -25
  320. package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +22 -7
  321. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue +19 -13
  322. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +13 -11
  323. package/ui/components/organisms/vc-blade/index.ts +5 -5
  324. package/ui/components/organisms/vc-blade/vc-blade-model.ts +30 -11
  325. package/ui/components/organisms/vc-blade/vc-blade.stories.ts +1 -2
  326. package/ui/components/organisms/vc-blade/vc-blade.vue +12 -14
  327. package/ui/components/organisms/vc-dynamic-property/index.ts +2 -4
  328. package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.ts +53 -20
  329. package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +41 -37
  330. package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +9 -2
  331. package/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue +14 -9
  332. package/ui/components/organisms/vc-gallery/index.ts +4 -3
  333. package/ui/components/organisms/vc-gallery/vc-gallery-model.ts +72 -27
  334. package/ui/components/organisms/vc-gallery/vc-gallery.vue +7 -20
  335. package/ui/components/organisms/vc-login-form/index.ts +2 -4
  336. package/ui/components/organisms/vc-login-form/vc-login-form-model.ts +10 -5
  337. package/ui/components/organisms/vc-login-form/vc-login-form.vue +2 -4
  338. package/ui/components/organisms/vc-popup/index.ts +5 -5
  339. package/ui/components/organisms/vc-popup/vc-popup-model.ts +20 -7
  340. package/ui/components/organisms/vc-popup/vc-popup.vue +7 -7
  341. package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +19 -25
  342. package/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue +2 -6
  343. package/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +8 -2
  344. package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +27 -39
  345. package/ui/components/organisms/vc-table/index.ts +5 -5
  346. package/ui/components/organisms/vc-table/vc-table-model.ts +98 -38
  347. package/ui/components/organisms/vc-table/vc-table.vue +105 -103
  348. package/ui/types/index.ts +64 -160
  349. package/ui/types/ts-helpers.ts +23 -3
  350. package/ui/utils/index.ts +1 -0
  351. package/ui/utils/types.ts +2 -0
  352. package/core/composables/useLogger/index.ts +0 -24
  353. package/dist/core/composables/useLogger/index.d.ts +0 -5
  354. package/dist/core/composables/useLogger/index.d.ts.map +0 -1
@@ -1,45 +1,114 @@
1
1
  import { IActionBuilderResult, ITableColumns } from "./../../../../core/types";
2
- import { VNode } from "vue";
2
+ import { PropType, VNode } from "vue";
3
+ import { ExtractTypes } from "./../../../types/ts-helpers";
3
4
  export interface StatusImage {
4
5
  image?: string;
5
6
  text: string;
6
7
  action?: string;
7
8
  clickHandler?: () => void;
8
9
  }
9
- export interface VcTableProps {
10
- columns?: ITableColumns[];
11
- items?: {
12
- id?: string;
13
- }[] | any[];
14
- itemActionBuilder?: (item: {
15
- id?: string;
16
- }) => IActionBuilderResult[] | undefined;
17
- sort?: string | undefined;
18
- multiselect?: boolean | undefined;
19
- expanded?: boolean | undefined;
20
- totalLabel?: string | undefined;
21
- totalCount?: number | undefined;
22
- pages?: number | undefined;
23
- currentPage?: number | undefined;
24
- searchPlaceholder?: string | undefined;
25
- searchValue?: string | undefined;
26
- loading?: boolean | undefined;
27
- empty?: StatusImage | undefined;
28
- notfound?: StatusImage | undefined;
29
- header?: boolean | undefined;
30
- footer?: boolean | undefined;
31
- activeFilterCount?: number | undefined;
32
- selectedItemId?: string | undefined;
33
- scrolling?: boolean | undefined;
34
- onPaginationClick?: (page: number) => void;
35
- onSelectionChanged?: (values: Record<string, boolean>) => void;
36
- "onSearch:change"?: (value: string) => void;
37
- onHeaderClick?: (value: Record<string, unknown>) => void;
38
- onItemClick?: (item: {
10
+ export declare const tableProps: {
11
+ columns: {
12
+ type: PropType<ITableColumns[]>;
13
+ default: () => any[];
14
+ };
15
+ items: {
16
+ type: PropType<any[] | {
17
+ id?: string;
18
+ }[]>;
19
+ default: () => any[];
20
+ };
21
+ itemActionBuilder: {
22
+ type: PropType<(item: {
23
+ id?: string;
24
+ }) => IActionBuilderResult[]>;
25
+ default: any;
26
+ };
27
+ sort: {
28
+ type: StringConstructor;
29
+ default: any;
30
+ };
31
+ multiselect: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ expanded: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ totalLabel: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ totalCount: {
44
+ type: NumberConstructor;
45
+ default: number;
46
+ };
47
+ pages: {
48
+ type: NumberConstructor;
49
+ default: number;
50
+ };
51
+ currentPage: {
52
+ type: NumberConstructor;
53
+ default: number;
54
+ };
55
+ searchPlaceholder: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ searchValue: {
60
+ type: StringConstructor;
61
+ default: any;
62
+ };
63
+ loading: {
64
+ type: BooleanConstructor;
65
+ default: boolean;
66
+ };
67
+ empty: {
68
+ type: PropType<StatusImage>;
69
+ default: () => {
70
+ text: string;
71
+ };
72
+ };
73
+ notfound: {
74
+ type: PropType<StatusImage>;
75
+ default: () => {
76
+ text: string;
77
+ };
78
+ };
79
+ header: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
83
+ footer: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ activeFilterCount: {
88
+ type: NumberConstructor;
89
+ default: number;
90
+ };
91
+ selectedItemId: {
92
+ type: StringConstructor;
93
+ default: any;
94
+ };
95
+ scrolling: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
99
+ };
100
+ export declare const tableEmits: {
101
+ paginationClick: (page: number) => boolean;
102
+ selectionChanged: (values: Record<string, boolean>) => boolean;
103
+ "search:change": (value: string) => boolean;
104
+ headerClick: (value: Record<string, unknown>) => boolean;
105
+ itemClick: (item: {
39
106
  id?: string;
40
- }) => void;
41
- "onScroll:ptr"?: () => void;
42
- }
107
+ }) => boolean;
108
+ "scroll:ptr": () => boolean;
109
+ };
110
+ export type VcTableProps = ExtractTypes<typeof tableProps>;
111
+ export type VcTableEmits = typeof tableEmits;
43
112
  export interface VcTableSlots {
44
113
  header: () => VNode[];
45
114
  filters: (args: {
@@ -1 +1 @@
1
- {"version":3,"file":"vc-table-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-table/vc-table-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC/E,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,aAAa,EAAE,CAAC;IAC1B,KAAK,CAAC,EAAE;QAAE,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,GAAG,GAAG,EAAE,CAAC;IAClC,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE;QACzB,EAAE,CAAC,EAAE,MAAM,CAAC;KACb,KAAK,oBAAoB,EAAE,GAAG,SAAS,CAAC;IACzC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAA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
3
- import { VcSelectProps, VcSelectSlots } from "../components/molecules/vc-select/vc-select-model";
4
- import { VcInputCurrencyProps, VcInputCurrencySlots } from "../components/molecules/vc-input-currency/vc-input-currency-model";
5
- import { VcBadgeProps, VcBadgeSlots } from "../components/atoms/vc-badge/vc-badge-model";
6
- import { VcButtonProps, VcButtonSlots } from "../components/atoms/vc-button/vc-button-model";
7
- import { VcCardProps, VcCardSlots } from "../components/atoms/vc-card/vc-card-model";
8
- import { VcCheckboxProps, VcCheckboxSlots } from "../components/atoms/vc-checkbox/vc-checkbox-model";
2
+ import { VcInputProps, VcInputSlots, VcInputEmits } from "../components/molecules/vc-input/vc-input-model";
3
+ import { VcSelectEmits, VcSelectProps, VcSelectSlots } from "../components/molecules/vc-select/vc-select-model";
4
+ import { VcInputCurrencyProps, VcInputCurrencySlots, VcInputCurrencyEmits } from "../components/molecules/vc-input-currency/vc-input-currency-model";
5
+ import { VcBadgeEmits, VcBadgeProps, VcBadgeSlots } from "../components/atoms/vc-badge/vc-badge-model";
6
+ import { VcButtonProps, VcButtonSlots, VcButtonEmits } from "../components/atoms/vc-button/vc-button-model";
7
+ import { VcCardProps, VcCardSlots, VcCardEmits } from "../components/atoms/vc-card/vc-card-model";
8
+ import { VcCheckboxProps, VcCheckboxSlots, VcCheckboxEmits } from "../components/atoms/vc-checkbox/vc-checkbox-model";
9
9
  import { VcColProps, VcColSlots } from "../components/atoms/vc-col/vc-col-model";
10
- import { VcContainerProps, VcContainerSlots } from "../components/atoms/vc-container/vc-container-model";
10
+ import { VcContainerProps, VcContainerSlots, VcContainerEmits } from "../components/atoms/vc-container/vc-container-model";
11
11
  import { VcIconProps, VcIconSlots } from "../components/atoms/vc-icon/vc-icon-model";
12
- import { VcImageProps, VcImageSlots } from "../components/atoms/vc-image/vc-image-model";
12
+ import { VcImageProps, VcImageSlots, VcImageEmits } from "../components/atoms/vc-image/vc-image-model";
13
13
  import { VcInfoRowProps, VcInfoRowSlots } from "../components/atoms/vc-info-row/vc-info-row-model";
14
14
  import { VcLabelProps, VcLabelSlots } from "../components/atoms/vc-label/vc-label-model";
15
- import { VcLinkProps, VcLinkSlots } from "../components/atoms/vc-link/vc-link-model";
15
+ import { VcLinkProps, VcLinkSlots, VcLinkEmits } from "../components/atoms/vc-link/vc-link-model";
16
16
  import { VcLoadingProps, VcLoadingSlots } from "../components/atoms/vc-loading/vc-loading-model";
17
17
  import { VcProgressProps, VcProgressSlots } from "../components/atoms/vc-progress/vc-progress-model";
18
18
  import { VcRowSlots } from "../components/atoms/vc-row/vc-row-model";
19
19
  import { VcStatusProps, VcStatusSlots } from "../components/atoms/vc-status/vc-status-model";
20
20
  import { VcStatusIconProps, VcStatusIconSlots } from "../components/atoms/vc-status-icon/vc-status-icon-model";
21
- import { VcSwitchProps, VcSwitchSlots } from "../components/atoms/vc-switch/vc-switch-model";
22
- import { VcWidgetProps, VcWidgetSlots } from "../components/atoms/vc-widget/vc-widget-model";
21
+ import { VcSwitchProps, VcSwitchSlots, VcSwitchEmits } from "../components/atoms/vc-switch/vc-switch-model";
22
+ import { VcWidgetProps, VcWidgetSlots, VcWidgetEmits } from "../components/atoms/vc-widget/vc-widget-model";
23
23
  import { VcBreadcrumbsProps, VcBreadcrumbsSlots } from "../components/molecules/vc-breadcrumbs/vc-breadcrumbs-model";
24
- import { VcEditorProps, VcEditorSlots } from "../components/molecules/vc-editor/vc-editor-model";
25
- import { VcFileUploadProps, VcFileUploadSlots } from "../components/molecules/vc-file-upload/vc-file-upload-model";
26
- import { VcNotificationProps, VcNotificationSlots } from "../components/molecules/vc-notification/vc-notification-model";
27
- import { VcPaginationProps, VcPaginationSlots } from "../components/molecules/vc-pagination/vc-pagination-model";
24
+ import { VcEditorProps, VcEditorSlots, VcEditorEmits } from "../components/molecules/vc-editor/vc-editor-model";
25
+ import { VcFileUploadProps, VcFileUploadSlots, VcFileUploadEmits } from "../components/molecules/vc-file-upload/vc-file-upload-model";
26
+ import { VcNotificationProps, VcNotificationSlots, VcNotificationEmits } from "../components/molecules/vc-notification/vc-notification-model";
27
+ import { VcPaginationProps, VcPaginationSlots, VcPaginationEmits } from "../components/molecules/vc-pagination/vc-pagination-model";
28
28
  import { VcRatingProps, VcRatingSlots } from "../components/molecules/vc-rating/vc-rating-model";
29
29
  import { VcSliderProps, VcSliderSlots } from "../components/molecules/vc-slider/vc-slider-model";
30
- import { VcTextareaProps, VcTextareaSlots } from "../components/molecules/vc-textarea/vc-textarea-model";
31
- import { VcAppProps, VcAppSlots } from "../components/organisms/vc-app/vc-app-model";
32
- import { VcBladeProps, VcBladeSlots } from "../components/organisms/vc-blade/vc-blade-model";
30
+ import { VcTextareaProps, VcTextareaSlots, VcTextareaEmits } from "../components/molecules/vc-textarea/vc-textarea-model";
31
+ import { VcAppProps, VcAppSlots, VcAppEmits } from "../components/organisms/vc-app/vc-app-model";
32
+ import { VcBladeProps, VcBladeSlots, VcBladeEmits } from "../components/organisms/vc-blade/vc-blade-model";
33
33
  import { VcDynamicPropertyProps, VcDynamicPropertySlots } from "../components/organisms/vc-dynamic-property/vc-dynamic-property-model";
34
- import { VcGalleryProps, VcGallerySlots } from "../components/organisms/vc-gallery/vc-gallery-model";
34
+ import { VcGalleryProps, VcGallerySlots, VcGalleryEmits } from "../components/organisms/vc-gallery/vc-gallery-model";
35
35
  import { VcLoginFormProps, VcLoginFormSlots } from "../components/organisms/vc-login-form/vc-login-form-model";
36
- import { VcPopupProps, VcPopupSlots } from "../components/organisms/vc-popup/vc-popup-model";
37
- import { VcTableProps, VcTableSlots } from "../components/organisms/vc-table/vc-table-model";
36
+ import { VcPopupProps, VcPopupSlots, VcPopupEmits } from "../components/organisms/vc-popup/vc-popup-model";
37
+ import { VcTableProps, VcTableSlots, VcTableEmits } from "../components/organisms/vc-table/vc-table-model";
38
+ import { VcHintSlots } from "./../components/atoms/vc-hint/vc-hint-model";
39
+ import { VcFormSlots } from "./../components/molecules/vc-form/vc-form-model";
38
40
  declare module "@vue/runtime-core" {
39
41
  interface GlobalComponents {
40
- VcBadge: GlobalComponentConstructor<VcBadgeProps, VcBadgeSlots>;
41
- VcButton: GlobalComponentConstructor<VcButtonProps, VcButtonSlots>;
42
- VcCard: GlobalComponentConstructor<VcCardProps, VcCardSlots>;
43
- VcCheckbox: GlobalComponentConstructor<VcCheckboxProps, VcCheckboxSlots>;
42
+ VcBadge: GlobalComponentConstructor<VcBadgeProps, VcBadgeSlots, VcBadgeEmits>;
43
+ VcButton: GlobalComponentConstructor<VcButtonProps, VcButtonSlots, VcButtonEmits>;
44
+ VcCard: GlobalComponentConstructor<VcCardProps, VcCardSlots, VcCardEmits>;
45
+ VcCheckbox: GlobalComponentConstructor<VcCheckboxProps, VcCheckboxSlots, VcCheckboxEmits>;
44
46
  VcCol: GlobalComponentConstructor<VcColProps, VcColSlots>;
45
- VcContainer: GlobalComponentConstructor<VcContainerProps, VcContainerSlots>;
46
- VcHint: GlobalComponentConstructor;
47
+ VcContainer: GlobalComponentConstructor<VcContainerProps, VcContainerSlots, VcContainerEmits>;
48
+ VcHint: GlobalComponentConstructor<any, VcHintSlots>;
47
49
  VcIcon: GlobalComponentConstructor<VcIconProps, VcIconSlots>;
48
- VcImage: GlobalComponentConstructor<VcImageProps, VcImageSlots>;
50
+ VcImage: GlobalComponentConstructor<VcImageProps, VcImageSlots, VcImageEmits>;
49
51
  VcInfoRow: GlobalComponentConstructor<VcInfoRowProps, VcInfoRowSlots>;
50
52
  VcLabel: GlobalComponentConstructor<VcLabelProps, VcLabelSlots>;
51
- VcLink: GlobalComponentConstructor<VcLinkProps, VcLinkSlots>;
53
+ VcLink: GlobalComponentConstructor<VcLinkProps, VcLinkSlots, VcLinkEmits>;
52
54
  VcLoading: GlobalComponentConstructor<VcLoadingProps, VcLoadingSlots>;
53
55
  VcProgress: GlobalComponentConstructor<VcProgressProps, VcProgressSlots>;
54
56
  VcRow: GlobalComponentConstructor<any, VcRowSlots>;
55
57
  VcStatus: GlobalComponentConstructor<VcStatusProps, VcStatusSlots>;
56
58
  VcStatusIcon: GlobalComponentConstructor<VcStatusIconProps, VcStatusIconSlots>;
57
- VcSwitch: GlobalComponentConstructor<VcSwitchProps, VcSwitchSlots>;
58
- VcWidget: GlobalComponentConstructor<VcWidgetProps, VcWidgetSlots>;
59
+ VcSwitch: GlobalComponentConstructor<VcSwitchProps, VcSwitchSlots, VcSwitchEmits>;
60
+ VcWidget: GlobalComponentConstructor<VcWidgetProps, VcWidgetSlots, VcWidgetEmits>;
59
61
  VcBreadcrumbs: GlobalComponentConstructor<VcBreadcrumbsProps, VcBreadcrumbsSlots>;
60
- VcEditor: GlobalComponentConstructor<VcEditorProps, VcEditorSlots>;
61
- VcFileUpload: GlobalComponentConstructor<VcFileUploadProps, VcFileUploadSlots>;
62
- VcForm: GlobalComponentConstructor;
63
- VcInput: GlobalComponentConstructor<VcInputProps, VcInputSlots>;
64
- VcInputCurrency: GlobalComponentConstructor<VcInputCurrencyProps, VcInputCurrencySlots>;
65
- VcNotification: GlobalComponentConstructor<VcNotificationProps, VcNotificationSlots>;
66
- VcPagination: GlobalComponentConstructor<VcPaginationProps, VcPaginationSlots>;
62
+ VcEditor: GlobalComponentConstructor<VcEditorProps, VcEditorSlots, VcEditorEmits>;
63
+ VcFileUpload: GlobalComponentConstructor<VcFileUploadProps, VcFileUploadSlots, VcFileUploadEmits>;
64
+ VcForm: GlobalComponentConstructor<any, VcFormSlots>;
65
+ VcInput: GlobalComponentConstructor<VcInputProps, VcInputSlots, VcInputEmits>;
66
+ VcInputCurrency: GlobalComponentConstructor<VcInputCurrencyProps, VcInputCurrencySlots, VcInputCurrencyEmits>;
67
+ VcNotification: GlobalComponentConstructor<VcNotificationProps, VcNotificationSlots, VcNotificationEmits>;
68
+ VcPagination: GlobalComponentConstructor<VcPaginationProps, VcPaginationSlots, VcPaginationEmits>;
67
69
  VcRating: GlobalComponentConstructor<VcRatingProps, VcRatingSlots>;
68
- VcSelect: GlobalComponentConstructor<VcSelectProps, VcSelectSlots>;
70
+ VcSelect: GlobalComponentConstructor<VcSelectProps, VcSelectSlots, VcSelectEmits>;
69
71
  VcSlider: GlobalComponentConstructor<VcSliderProps, VcSliderSlots>;
70
- VcTextarea: GlobalComponentConstructor<VcTextareaProps, VcTextareaSlots>;
71
- VcApp: GlobalComponentConstructor<VcAppProps, VcAppSlots>;
72
- VcBlade: GlobalComponentConstructor<VcBladeProps, VcBladeSlots>;
72
+ VcTextarea: GlobalComponentConstructor<VcTextareaProps, VcTextareaSlots, VcTextareaEmits>;
73
+ VcApp: GlobalComponentConstructor<VcAppProps, VcAppSlots, VcAppEmits>;
74
+ VcBlade: GlobalComponentConstructor<VcBladeProps, VcBladeSlots, VcBladeEmits>;
73
75
  VcDynamicProperty: GlobalComponentConstructor<VcDynamicPropertyProps, VcDynamicPropertySlots>;
74
- VcGallery: GlobalComponentConstructor<VcGalleryProps, VcGallerySlots>;
76
+ VcGallery: GlobalComponentConstructor<VcGalleryProps, VcGallerySlots, VcGalleryEmits>;
75
77
  VcLoginForm: GlobalComponentConstructor<VcLoginFormProps, VcLoginFormSlots>;
76
- VcPopup: GlobalComponentConstructor<VcPopupProps, VcPopupSlots>;
77
- VcTable: GlobalComponentConstructor<VcTableProps, VcTableSlots>;
78
+ VcPopup: GlobalComponentConstructor<VcPopupProps, VcPopupSlots, VcPopupEmits>;
79
+ VcTable: GlobalComponentConstructor<VcTableProps, VcTableSlots, VcTableEmits>;
78
80
  }
79
81
  }
80
82
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../ui/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EACL,YAAY,EACZ,YAAY,EACb,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,aAAa,EACb,aAAa,EACd,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,mEAAmE,CAAC;AAC3E,OAAO,EACL,YAAY,EACZ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gB,EAAE,gBAAgB,CAAC,CAAC;QAC5E,OAAO,EAAE,0BAA0B,CAAC,YAAY,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;QAC9E,OAAO,EAAE,0BAA0B,CAAC,YAAY,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;KAC/E;CACF;AAED,OAAO,EAAE,CAAC"}
@@ -1,12 +1,22 @@
1
- import { ComponentOptions, ComponentPublicInstance, ComputedOptions, MethodOptions, VNodeProps } from "vue";
1
+ import { ComponentOptions, ComponentPublicInstance, ComputedOptions, ExtractPropTypes, MethodOptions, ObjectEmitsOptions, EmitsOptions, VNodeProps } from "vue";
2
2
  export type PublicProps = VNodeProps;
3
- export type ComponentConstructor<Component extends ComponentPublicInstance<Props, RawBindings, D, C, M> = ComponentPublicInstance<any>, Props = any, RawBindings = any, D = any, C extends ComputedOptions = ComputedOptions, M extends MethodOptions = MethodOptions> = {
3
+ export type ComponentConstructor<Component extends ComponentPublicInstance<Props, RawBindings, D, C, M, E> = ComponentPublicInstance<any>, Props = any, RawBindings = any, D = any, C extends ComputedOptions = ComputedOptions, M extends MethodOptions = MethodOptions, E extends EmitsOptions = EmitsOptions> = {
4
4
  new (): Component;
5
- } & ComponentOptions<Props, RawBindings, D, C, M>;
6
- export type GlobalComponentConstructor<Props = {}, Slots = {}> = {
5
+ } & ComponentOptions<Props, RawBindings, D, C, M, E>;
6
+ export type GlobalComponentConstructor<Props = {}, Slots = {}, Emits = {}> = {
7
7
  new (): {
8
8
  $props: PublicProps & Props;
9
9
  $slots: Slots;
10
+ $emit: EventToSignature<Emits>;
10
11
  };
11
12
  };
13
+ export type EmitsToProps<T extends ObjectEmitsOptions> = {
14
+ [K in string & `on${Capitalize<string & keyof T>}`]?: K extends `on${infer C}` ? T[Uncapitalize<C>] extends null ? (...args: any[]) => void : (...args: T[Uncapitalize<C>] extends (...args: infer P) => void ? P : never) => void : never;
15
+ };
16
+ export type ExtractTypes<T> = Partial<ExtractPropTypes<T>>;
17
+ type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
18
+ export type EventToSignature<Options = ObjectEmitsOptions, Event extends keyof Options = keyof Options> = UnionToIntersection<{
19
+ [key in Event]: Options[key] extends (...args: infer Args) => any ? (event: key, ...args: Args) => void : (event: key, ...args: any[]) => void;
20
+ }[Event]>;
21
+ export {};
12
22
  //# sourceMappingURL=ts-helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ts-helpers.d.ts","sourceRoot":"","sources":["../../../ui/types/ts-helpers.ts"],"names":[],"mappings":"AACA,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,eAAe,EACf,aAAa,EACb,UAAU,EACX,MAAM,KAAK,CAAC;AAEb,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC;AAErC,MAAM,MAAM,oBAAoB,CAC9B,SAAS,SAAS,uBAAuB,CACvC,KAAK,EACL,WAAW,EACX,CAAC,EACD,CAAC,EACD,CAAC,CACF,GAAG,uBAAuB,CAAC,GAAG,CAAC,EAChC,KAAK,GAAG,GAAG,EACX,WAAW,GAAG,GAAG,EACjB,CAAC,GAAG,GAAG,EACP,CAAC,SAAS,eAAe,GAAG,eAAe,EAC3C,CAAC,SAAS,aAAa,GAAG,aAAa,IACrC;IAAE,QAAQ,SAAS,CAAA;CAAE,GAAG,gBAAgB,CAAC,KAAK,EAAE,WAAW,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAE1E,MAAM,MAAM,0BAA0B,CAAC,KAAK,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,IAAI;IAC7D,QAAQ;QACN,MAAM,EAAE,WAAW,GAAG,KAAK,CAAC;QAC5B,MAAM,EAAE,KAAK,CAAC;KACf,CAAA;CACJ,CAAC"}
1
+ {"version":3,"file":"ts-helpers.d.ts","sourceRoot":"","sources":["../../../ui/types/ts-helpers.ts"],"names":[],"mappings":"AACA,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,eAA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C,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC,KAAK,IAAI,GAAG,CAAC,GAAG,KAAK,KAAK,IAAI,GACtF,KAAK;CACV,CAAC;AAEF,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC3D,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,EAAE,MAAM,CAAC,KAAK,IAAI,GAAG,CAAC,GAAG,KAAK,CAAC;AAChH,MAAM,MAAM,gBAAgB,CAAC,OAAO,GAAG,kBAAkB,EAAE,KAAK,SAAS,MAAM,OAAO,GAAG,MAAM,OAAO,IAAI,mBAAmB,CAAC;KAC3H,GAAG,IAAI,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,MAAM,IAAI,KAAK,GAAG,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,IAAI,KAAK,IAAI,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI;CAC/I,CAAC,KAAK,CAAC,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from "./types";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../ui/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { isArray, isFunction, isObject, isString, isDate, isPromise, isSymbol } from "@vue/shared";
2
+ export { isBoolean, isNumber } from "@vueuse/core";
3
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../ui/utils/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACnG,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC"}
@@ -1,3 +1,3 @@
1
- declare const _default: import("vite").UserConfigExport;
1
+ declare const _default: Record<string, any>;
2
2
  export default _default;
3
3
  //# sourceMappingURL=vite.config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vite.config.d.ts","sourceRoot":"","sources":["../vite.config.ts"],"names":[],"mappings":";AAMA,wBA6CE"}
1
+ {"version":3,"file":"vite.config.d.ts","sourceRoot":"","sources":["../vite.config.ts"],"names":[],"mappings":";AAKA,wBAiCG"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.0.53",
3
+ "version": "1.0.54",
4
4
  "main": "./dist/framework.js",
5
- "module": "./dist/framework.js",
5
+ "module": "./dist/framework.esm.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "style": "./dist/style.css",
8
8
  "files": [
@@ -14,7 +14,7 @@
14
14
  ],
15
15
  "exports": {
16
16
  ".": {
17
- "import": "./dist/framework.js",
17
+ "import": "./dist/framework.esm.js",
18
18
  "require": "./dist/framework.js",
19
19
  "types": "./dist/index.d.ts"
20
20
  },
@@ -34,7 +34,8 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@popperjs/core": "^2.11.0",
37
- "@vee-validate/rules": "^4.5.5",
37
+ "@vee-validate/i18n": "^4.7.3",
38
+ "@vee-validate/rules": "^4.7.3",
38
39
  "@vueuse/components": "^9.9.0",
39
40
  "@vueuse/core": "^9.9.0",
40
41
  "@vueuse/integrations": "^9.9.0",
@@ -46,26 +47,22 @@
46
47
  "vue": "^3.0.0",
47
48
  "vue-currency-input": "~2.5.1",
48
49
  "vue-i18n": "^9.1.7",
49
- "vue-logger-plugin": "^2.1.2",
50
50
  "vue-router": "^4.1.6",
51
51
  "vue3-ace-editor": "^2.2.2",
52
52
  "vue3-touch-events": "^4.1.0",
53
53
  "vuedraggable": "^4.1.0"
54
54
  },
55
55
  "devDependencies": {
56
- "@originjs/vite-plugin-commonjs": "^1.0.3",
57
- "@rollup/plugin-commonjs": "^21.0.2",
58
- "@vc-shell/api-client-generator": "^1.0.53",
59
- "@vc-shell/config-generator": "^1.0.53",
56
+ "@vc-shell/api-client-generator": "^1.0.54",
57
+ "@vc-shell/config-generator": "^1.0.54",
60
58
  "@vue-macros/volar": "^0.8.1",
61
59
  "sass": "^1.49.0",
62
60
  "typescript": "^4.9.5",
63
- "unplugin-vue-macros": "^1.9.1",
64
61
  "url-pattern": "^1.0.3"
65
62
  },
66
63
  "publishConfig": {
67
64
  "access": "public",
68
65
  "registry": "https://registry.npmjs.org/"
69
66
  },
70
- "gitHead": "8c644532aec0fb5eefe62c29509ab4392adc74d0"
67
+ "gitHead": "e7492afe894926b839bef1ea9a58b86fd83ce1d1"
71
68
  }
@@ -31,9 +31,7 @@
31
31
  :alt="`icon_${item.id}`"
32
32
  class="tw-w-5 tw-h-5 tw-mr-2 tw-shrink-0"
33
33
  />
34
- <p
35
- class="tw-font-normal tw-text-sm tw-text-[#727C87] tw-truncate group-hover:tw-opacity-80"
36
- >
34
+ <p class="tw-font-normal tw-text-sm tw-text-[#727C87] tw-truncate group-hover:tw-opacity-80">
37
35
  {{ item.title }}
38
36
  </p>
39
37
  </li>
@@ -62,8 +60,7 @@ const emit = defineEmits<Emits>();
62
60
 
63
61
  const isVisible = ref(false);
64
62
 
65
- const imageUrl = (url: string) =>
66
- import.meta.env.APP_PLATFORM_URL.replace(/\/+$/, "") + url;
63
+ const imageUrl = (url: string) => import.meta.env.APP_PLATFORM_URL.replace(/\/+$/, "") + url;
67
64
 
68
65
  const locationHandler = (url: string) => {
69
66
  const cleanUrl = window.location.pathname.replace(/\/+$/, "");
@@ -1,10 +1,6 @@
1
1
  import { computed, Ref, ref } from "vue";
2
2
  import { AppDescriptor, AppsClient } from "./../../../../core/api";
3
- import {
4
- useLogger,
5
- useUser,
6
- usePermissions,
7
- } from "./../../../../core/composables";
3
+ import { useUser, usePermissions } from "./../../../../core/composables";
8
4
 
9
5
  interface IUseAppSwitcher {
10
6
  readonly appsList: Ref<AppDescriptor[]>;
@@ -13,7 +9,6 @@ interface IUseAppSwitcher {
13
9
  }
14
10
 
15
11
  export default (): IUseAppSwitcher => {
16
- const logger = useLogger();
17
12
  const { checkPermission } = usePermissions();
18
13
  const appsList = ref<AppDescriptor[]>([]);
19
14
 
@@ -30,7 +25,7 @@ export default (): IUseAppSwitcher => {
30
25
  try {
31
26
  appsList.value = await client.getApps();
32
27
  } catch (e) {
33
- logger.error(e);
28
+ console.error(e);
34
29
  throw e;
35
30
  }
36
31
  }
@@ -1,14 +1,7 @@
1
- import { App } from "vue";
1
+ import { createModule } from "../../core/plugins/modularity";
2
2
  import * as components from "./components";
3
3
 
4
- export default {
5
- install(app: App): void {
6
- // Register exported components
7
- Object.entries(components).forEach(([componentName, component]) => {
8
- app.component(componentName, component);
9
- });
10
- },
11
- };
4
+ export default createModule(components);
12
5
 
13
- export * from "./composables";
14
6
  export * from "./components";
7
+ export * from "./composables";
@@ -8,7 +8,7 @@
8
8
  @close="$emit('close:blade')"
9
9
  >
10
10
  <!-- Blade contents -->
11
- <div class= "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[#eaedf3]">
11
+ <div class="tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[#eaedf3]">
12
12
  <div class="assets-details__content tw-grow tw-basis-0">
13
13
  <VcContainer :no-padding="true">
14
14
  <div class="tw-p-4">
@@ -25,9 +25,7 @@
25
25
  v-model="localImage.name"
26
26
  clearable
27
27
  required
28
- :placeholder="
29
- $t('ASSETS.PAGES.DETAILS.FIELDS.NAME.PLACEHOLDER')
30
- "
28
+ :placeholder="$t('ASSETS.PAGES.DETAILS.FIELDS.NAME.PLACEHOLDER')"
31
29
  ></VcInput>
32
30
  <VcInput
33
31
  class="tw-mb-4"
@@ -42,9 +40,7 @@
42
40
  class="tw-mb-4"
43
41
  :label="$t('ASSETS.PAGES.DETAILS.FIELDS.DESCRIPTION.TITLE')"
44
42
  v-model="localImage.description"
45
- :placeholder="
46
- $t('ASSETS.PAGES.DETAILS.FIELDS.DESCRIPTION.PLACEHOLDER')
47
- "
43
+ :placeholder="$t('ASSETS.PAGES.DETAILS.FIELDS.DESCRIPTION.PLACEHOLDER')"
48
44
  required
49
45
  ></VcTextarea>
50
46
  </VcForm>
@@ -59,14 +55,7 @@
59
55
  import { computed, reactive, unref } from "vue";
60
56
  import { useI18n } from "./../../../../core/composables";
61
57
  import { IParentCallArgs } from "./../../../../shared";
62
- import {
63
- VcBlade,
64
- VcContainer,
65
- VcForm,
66
- VcImage,
67
- VcInput,
68
- VcTextarea,
69
- } from "./../../../../ui/components";
58
+ import { VcBlade, VcContainer, VcForm, VcImage, VcInput, VcTextarea } from "./../../../../ui/components";
70
59
 
71
60
  export interface Props {
72
61
  expanded?: boolean;
@@ -104,10 +93,7 @@ const bladeToolbar = [
104
93
  title: t("ASSETS.PAGES.DETAILS.TOOLBAR.SAVE"),
105
94
  icon: "fas fa-save",
106
95
  clickHandler() {
107
- if (
108
- props.options.sortHandler &&
109
- typeof props.options.sortHandler === "function"
110
- ) {
96
+ if (props.options.sortHandler && typeof props.options.sortHandler === "function") {
111
97
  props.options.sortHandler(false, localImage);
112
98
  emit("close:blade");
113
99
  }
@@ -118,15 +104,8 @@ const bladeToolbar = [
118
104
  title: t("ASSETS.PAGES.DETAILS.TOOLBAR.DELETE"),
119
105
  icon: "fas fa-trash",
120
106
  clickHandler() {
121
- if (
122
- window.confirm(
123
- unref(computed(() => t("ASSETS.PAGES.DETAILS.DELETE_CONFIRMATION")))
124
- )
125
- ) {
126
- if (
127
- props.options.sortHandler &&
128
- typeof props.options.sortHandler === "function"
129
- ) {
107
+ if (window.confirm(unref(computed(() => t("ASSETS.PAGES.DETAILS.DELETE_CONFIRMATION"))))) {
108
+ if (props.options.sortHandler && typeof props.options.sortHandler === "function") {
130
109
  props.options.sortHandler(true, localImage);
131
110
  emit("close:blade");
132
111
  }
@@ -1 +1 @@
1
- export {default as AssetsDetails} from './assets-details/assets-details.vue'
1
+ export { default as AssetsDetails } from "./assets-details/assets-details.vue";
@@ -1,19 +1,7 @@
1
- import { App } from "vue";
1
+ import { createModule } from "../../core/plugins/modularity";
2
2
  import * as components from "./components";
3
3
  import * as locales from "./locales";
4
4
 
5
- export default {
6
- install(app: App): void {
7
- Object.entries(components).forEach(([pageName, page]) => {
8
- app.component(pageName, page);
9
- app.config.globalProperties.pages?.push(page);
10
- });
5
+ export default createModule(components, locales);
11
6
 
12
- // Load locales
13
- Object.entries(locales).forEach(([key, message]) => {
14
- app.config.globalProperties.$mergeLocaleMessage(key, message);
15
- });
16
- },
17
- };
18
-
19
- export * from './components'
7
+ export * from "./components";