@vc-shell/framework 1.0.120 → 1.0.121

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 (349) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/core/api/platform.ts +8215 -8033
  3. package/core/composables/useApiClient/index.ts +2 -1
  4. package/core/composables/useAsync/index.ts +3 -3
  5. package/core/composables/useErrorHandler/index.ts +2 -2
  6. package/core/composables/useFunctions/debounce.ts +2 -1
  7. package/core/composables/useNotifications/index.ts +4 -5
  8. package/core/composables/usePermissions/index.ts +8 -12
  9. package/core/composables/useSettings/index.ts +1 -1
  10. package/core/composables/useUser/index.ts +21 -17
  11. package/core/plugins/modularity/index.ts +7 -3
  12. package/core/plugins/moment/humanize.ts +3 -3
  13. package/core/plugins/moment/moment.ts +3 -3
  14. package/core/plugins/validation/rules.ts +1 -1
  15. package/core/types/index.ts +20 -25
  16. package/dist/core/api/platform.d.ts +5 -5
  17. package/dist/core/api/platform.d.ts.map +1 -1
  18. package/dist/core/composables/useApiClient/index.d.ts.map +1 -1
  19. package/dist/core/composables/useAsync/index.d.ts +1 -1
  20. package/dist/core/composables/useAsync/index.d.ts.map +1 -1
  21. package/dist/core/composables/useErrorHandler/index.d.ts +1 -1
  22. package/dist/core/composables/useErrorHandler/index.d.ts.map +1 -1
  23. package/dist/core/composables/useFunctions/debounce.d.ts +1 -1
  24. package/dist/core/composables/useFunctions/debounce.d.ts.map +1 -1
  25. package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
  26. package/dist/core/composables/usePermissions/index.d.ts +1 -1
  27. package/dist/core/composables/usePermissions/index.d.ts.map +1 -1
  28. package/dist/core/composables/useUser/index.d.ts +5 -5
  29. package/dist/core/composables/useUser/index.d.ts.map +1 -1
  30. package/dist/core/plugins/modularity/index.d.ts +8 -6
  31. package/dist/core/plugins/modularity/index.d.ts.map +1 -1
  32. package/dist/core/plugins/moment/humanize.d.ts +1 -1
  33. package/dist/core/plugins/moment/humanize.d.ts.map +1 -1
  34. package/dist/core/plugins/moment/moment.d.ts.map +1 -1
  35. package/dist/core/types/index.d.ts +20 -19
  36. package/dist/core/types/index.d.ts.map +1 -1
  37. package/dist/framework.mjs +7866 -7825
  38. package/dist/index.css +1 -1
  39. package/dist/shared/components/app-switcher/components/vc-app-switcher/index.d.ts +3 -3
  40. package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts +3 -3
  41. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/index.d.ts +21 -21
  42. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts +23 -22
  43. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts.map +1 -1
  44. package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts +10 -10
  45. package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts.map +1 -1
  46. package/dist/shared/components/blade-navigation/types/index.d.ts +34 -18
  47. package/dist/shared/components/blade-navigation/types/index.d.ts.map +1 -1
  48. package/dist/shared/components/change-password/change-password.vue.d.ts +1 -1
  49. package/dist/shared/components/change-password/index.d.ts +1 -1
  50. package/dist/shared/components/error-interceptor/index.d.ts +35 -35
  51. package/dist/shared/components/error-interceptor/interceptor.d.ts +4 -4
  52. package/dist/shared/components/error-interceptor/interceptor.d.ts.map +1 -1
  53. package/dist/shared/components/language-selector/index.d.ts +7 -7
  54. package/dist/shared/components/language-selector/language-selector.vue.d.ts +3 -3
  55. package/dist/shared/components/notifications/components/notification-container/index.d.ts +9 -9
  56. package/dist/shared/components/notifications/composables/useContainer/index.d.ts +1 -1
  57. package/dist/shared/components/notifications/composables/useContainer/index.d.ts.map +1 -1
  58. package/dist/shared/components/notifications/core/notification.d.ts +4 -4
  59. package/dist/shared/components/popup-handler/composables/usePopup/index.d.ts +2 -1
  60. package/dist/shared/components/popup-handler/composables/usePopup/index.d.ts.map +1 -1
  61. package/dist/shared/components/popup-handler/types/index.d.ts +2 -7
  62. package/dist/shared/components/popup-handler/types/index.d.ts.map +1 -1
  63. package/dist/shared/components/popup-handler/utils/index.d.ts +1 -1
  64. package/dist/shared/components/popup-handler/utils/index.d.ts.map +1 -1
  65. package/dist/shared/components/user-dropdown-button/index.d.ts +5 -5
  66. package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts +3 -3
  67. package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts +3 -3
  68. package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts.map +1 -1
  69. package/dist/shared/modules/assets/components/assets-details/index.d.ts +1 -46
  70. package/dist/shared/modules/assets/components/assets-details/index.d.ts.map +1 -1
  71. package/dist/shared/modules/assets/index.d.ts +1 -1
  72. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +6 -6
  73. package/dist/shared/modules/assets-manager/components/assets-manager/index.d.ts +12 -12
  74. package/dist/shared/modules/assets-manager/index.d.ts +1 -1
  75. package/dist/shared/modules/dynamic/components/FIELD_MAP.d.ts +1 -2
  76. package/dist/shared/modules/dynamic/components/FIELD_MAP.d.ts.map +1 -1
  77. package/dist/shared/modules/dynamic/components/SchemaRender.d.ts +83 -82
  78. package/dist/shared/modules/dynamic/components/SchemaRender.d.ts.map +1 -1
  79. package/dist/shared/modules/dynamic/components/factories.d.ts +15 -14
  80. package/dist/shared/modules/dynamic/components/factories.d.ts.map +1 -1
  81. package/dist/shared/modules/dynamic/components/fields/Button.d.ts +39 -42
  82. package/dist/shared/modules/dynamic/components/fields/Button.d.ts.map +1 -1
  83. package/dist/shared/modules/dynamic/components/fields/Card.d.ts +39 -42
  84. package/dist/shared/modules/dynamic/components/fields/Card.d.ts.map +1 -1
  85. package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts +39 -42
  86. package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts.map +1 -1
  87. package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts +39 -42
  88. package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts.map +1 -1
  89. package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts +39 -42
  90. package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts.map +1 -1
  91. package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts +39 -42
  92. package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts.map +1 -1
  93. package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts +39 -42
  94. package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts.map +1 -1
  95. package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts +39 -42
  96. package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts.map +1 -1
  97. package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts +39 -42
  98. package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts.map +1 -1
  99. package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts +39 -42
  100. package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts.map +1 -1
  101. package/dist/shared/modules/dynamic/components/fields/InputField.d.ts +39 -42
  102. package/dist/shared/modules/dynamic/components/fields/InputField.d.ts.map +1 -1
  103. package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts +39 -42
  104. package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts.map +1 -1
  105. package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts +39 -42
  106. package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts.map +1 -1
  107. package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts +132 -0
  108. package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts.map +1 -0
  109. package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts +39 -42
  110. package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts.map +1 -1
  111. package/dist/shared/modules/dynamic/components/fields/props.d.ts +38 -41
  112. package/dist/shared/modules/dynamic/components/fields/props.d.ts.map +1 -1
  113. package/dist/shared/modules/dynamic/composables/useFilterBuilder/index.d.ts +2 -2
  114. package/dist/shared/modules/dynamic/composables/useFilterBuilder/index.d.ts.map +1 -1
  115. package/dist/shared/modules/dynamic/factories/base/useDetailsFactory.d.ts +3 -3
  116. package/dist/shared/modules/dynamic/factories/base/useDetailsFactory.d.ts.map +1 -1
  117. package/dist/shared/modules/dynamic/factories/types/index.d.ts +10 -11
  118. package/dist/shared/modules/dynamic/factories/types/index.d.ts.map +1 -1
  119. package/dist/shared/modules/dynamic/helpers/nodeBuilder.d.ts +1 -1
  120. package/dist/shared/modules/dynamic/helpers/nodeBuilder.d.ts.map +1 -1
  121. package/dist/shared/modules/dynamic/helpers/override.d.ts.map +1 -1
  122. package/dist/shared/modules/dynamic/helpers/safeIn.d.ts +5 -0
  123. package/dist/shared/modules/dynamic/helpers/safeIn.d.ts.map +1 -0
  124. package/dist/shared/modules/dynamic/helpers/setters.d.ts +1 -0
  125. package/dist/shared/modules/dynamic/helpers/setters.d.ts.map +1 -1
  126. package/dist/shared/modules/dynamic/helpers/toolbarReducer.d.ts +1 -1
  127. package/dist/shared/modules/dynamic/helpers/toolbarReducer.d.ts.map +1 -1
  128. package/dist/shared/modules/dynamic/helpers/unwrapInterpolation.d.ts +1 -1
  129. package/dist/shared/modules/dynamic/helpers/unwrapInterpolation.d.ts.map +1 -1
  130. package/dist/shared/modules/dynamic/index.d.ts +7 -7
  131. package/dist/shared/modules/dynamic/index.d.ts.map +1 -1
  132. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +30 -30
  133. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +1 -1
  134. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +11 -10
  135. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
  136. package/dist/shared/modules/dynamic/types/index.d.ts +321 -17
  137. package/dist/shared/modules/dynamic/types/index.d.ts.map +1 -1
  138. package/dist/shared/modules/dynamic/types/models.d.ts +7 -3
  139. package/dist/shared/modules/dynamic/types/models.d.ts.map +1 -1
  140. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +15 -28
  141. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
  142. package/dist/shared/pages/InvitePage/components/invite/index.d.ts +13 -17
  143. package/dist/shared/pages/InvitePage/components/invite/index.d.ts.map +1 -1
  144. package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts.map +1 -1
  145. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +15 -28
  146. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
  147. package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts +13 -17
  148. package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts.map +1 -1
  149. package/dist/shared/utilities/assets.d.ts +3 -3
  150. package/dist/shared/utilities/assets.d.ts.map +1 -1
  151. package/dist/shared/utilities/vueUtils.d.ts +34 -0
  152. package/dist/shared/utilities/vueUtils.d.ts.map +1 -0
  153. package/dist/tsconfig.tsbuildinfo +1 -1
  154. package/dist/ui/components/atoms/vc-badge/index.d.ts +30 -30
  155. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +1 -1
  156. package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +1 -1
  157. package/dist/ui/components/atoms/vc-card/index.d.ts +37 -37
  158. package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts +2 -2
  159. package/dist/ui/components/atoms/vc-checkbox/index.d.ts +49 -45
  160. package/dist/ui/components/atoms/vc-checkbox/index.d.ts.map +1 -1
  161. package/dist/ui/components/atoms/vc-checkbox/vc-checkbox.vue.d.ts +2 -2
  162. package/dist/ui/components/atoms/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
  163. package/dist/ui/components/atoms/vc-container/index.d.ts +33 -33
  164. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
  165. package/dist/ui/components/atoms/vc-hint/index.d.ts +22 -22
  166. package/dist/ui/components/atoms/vc-image/index.d.ts +10 -10
  167. package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts +2 -2
  168. package/dist/ui/components/atoms/vc-info-row/index.d.ts +4 -4
  169. package/dist/ui/components/atoms/vc-label/index.d.ts +26 -26
  170. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +1 -1
  171. package/dist/ui/components/atoms/vc-link/index.d.ts +29 -29
  172. package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts +1 -1
  173. package/dist/ui/components/atoms/vc-progress/index.d.ts +43 -43
  174. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
  175. package/dist/ui/components/atoms/vc-status-icon/index.d.ts +1 -9
  176. package/dist/ui/components/atoms/vc-status-icon/index.d.ts.map +1 -1
  177. package/dist/ui/components/atoms/vc-switch/index.d.ts +1 -1
  178. package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts +1 -1
  179. package/dist/ui/components/atoms/vc-video/index.d.ts +1 -19
  180. package/dist/ui/components/atoms/vc-video/index.d.ts.map +1 -1
  181. package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts +1 -4
  182. package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts.map +1 -1
  183. package/dist/ui/components/atoms/vc-widget/index.d.ts +1 -1
  184. package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts +1 -1
  185. package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts +9 -9
  186. package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts +8 -8
  187. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts +4 -4
  188. package/dist/ui/components/molecules/vc-code-editor/index.d.ts +65 -75
  189. package/dist/ui/components/molecules/vc-code-editor/index.d.ts.map +1 -1
  190. package/dist/ui/components/molecules/vc-code-editor/vc-code-editor.vue.d.ts +5 -16
  191. package/dist/ui/components/molecules/vc-code-editor/vc-code-editor.vue.d.ts.map +1 -1
  192. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +6 -20
  193. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
  194. package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts +3 -3
  195. package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts.map +1 -1
  196. package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts +2 -2
  197. package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts.map +1 -1
  198. package/dist/ui/components/molecules/vc-file-upload/index.d.ts +59 -59
  199. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +2 -2
  200. package/dist/ui/components/molecules/vc-form/index.d.ts +22 -22
  201. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +8 -8
  202. package/dist/ui/components/molecules/vc-input-currency/index.d.ts +99 -99
  203. package/dist/ui/components/molecules/vc-input-currency/index.d.ts.map +1 -1
  204. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +8 -8
  205. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
  206. package/dist/ui/components/molecules/vc-multivalue/index.d.ts +70 -70
  207. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +70 -70
  208. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
  209. package/dist/ui/components/molecules/vc-notification/index.d.ts +1 -51
  210. package/dist/ui/components/molecules/vc-notification/index.d.ts.map +1 -1
  211. package/dist/ui/components/molecules/vc-pagination/index.d.ts +7 -7
  212. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +1 -1
  213. package/dist/ui/components/molecules/vc-rating/index.d.ts +25 -25
  214. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +80 -80
  215. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  216. package/dist/ui/components/molecules/vc-slider/index.d.ts +40 -40
  217. package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts +2 -2
  218. package/dist/ui/components/molecules/vc-textarea/index.d.ts +1 -230
  219. package/dist/ui/components/molecules/vc-textarea/index.d.ts.map +1 -1
  220. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +6 -6
  221. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
  222. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts +4 -7
  223. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts.map +1 -1
  224. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts +1 -1
  225. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +13 -13
  226. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts.map +1 -1
  227. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts +10 -10
  228. package/dist/ui/components/organisms/vc-app/index.d.ts +93 -92
  229. package/dist/ui/components/organisms/vc-app/index.d.ts.map +1 -1
  230. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +20 -21
  231. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
  232. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts +4 -4
  233. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +9 -9
  234. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -1
  235. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue.d.ts +2 -2
  236. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue.d.ts.map +1 -1
  237. package/dist/ui/components/organisms/vc-blade/index.d.ts +70 -70
  238. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +5 -5
  239. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +67 -67
  240. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
  241. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +15 -15
  242. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +3 -3
  243. package/dist/ui/components/organisms/vc-gallery/index.d.ts +24 -36
  244. package/dist/ui/components/organisms/vc-gallery/index.d.ts.map +1 -1
  245. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +8 -10
  246. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
  247. package/dist/ui/components/organisms/vc-login-form/index.d.ts +24 -24
  248. package/dist/ui/components/organisms/vc-notification-dropdown/_internal/notification/notification.vue.d.ts +1 -1
  249. package/dist/ui/components/organisms/vc-notification-dropdown/_internal/notification/notification.vue.d.ts.map +1 -1
  250. package/dist/ui/components/organisms/vc-notification-template/index.d.ts +1 -103
  251. package/dist/ui/components/organisms/vc-notification-template/index.d.ts.map +1 -1
  252. package/dist/ui/components/organisms/vc-notification-template/vc-notification-template.vue.d.ts +2 -0
  253. package/dist/ui/components/organisms/vc-notification-template/vc-notification-template.vue.d.ts.map +1 -1
  254. package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-error/vc-popup-error.vue.d.ts +1 -1
  255. package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-warning/vc-popup-warning.vue.d.ts +2 -2
  256. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +2 -2
  257. package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +1 -1
  258. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
  259. package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts +2 -2
  260. package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts +15 -15
  261. package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts.map +1 -1
  262. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +105 -105
  263. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
  264. package/package.json +5 -5
  265. package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +3 -3
  266. package/shared/components/app-switcher/composables/useAppSwitcher/index.ts +1 -1
  267. package/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue +7 -7
  268. package/shared/components/blade-navigation/composables/useBladeNavigation/index.ts +80 -80
  269. package/shared/components/blade-navigation/types/index.ts +50 -18
  270. package/shared/components/change-password/change-password.vue +32 -5
  271. package/shared/components/error-interceptor/interceptor.ts +4 -4
  272. package/shared/components/notifications/composables/useContainer/index.ts +2 -2
  273. package/shared/components/notifications/composables/useInstance/index.ts +2 -2
  274. package/shared/components/notifications/core/notification.ts +2 -2
  275. package/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue +2 -2
  276. package/shared/components/popup-handler/composables/usePopup/index.ts +13 -6
  277. package/shared/components/popup-handler/types/index.ts +1 -7
  278. package/shared/components/user-dropdown-button/user-dropdown-button.vue +1 -1
  279. package/shared/modules/assets/components/assets-details/assets-details.vue +12 -6
  280. package/shared/modules/assets/components/assets-details/index.ts +1 -3
  281. package/shared/modules/assets-manager/components/assets-manager/assets-manager.vue +10 -10
  282. package/shared/modules/dynamic/components/FIELD_MAP.ts +4 -2
  283. package/shared/modules/dynamic/components/SchemaRender.ts +2 -2
  284. package/shared/modules/dynamic/components/factories.ts +24 -13
  285. package/shared/modules/dynamic/components/fields/Button.ts +3 -3
  286. package/shared/modules/dynamic/components/fields/Card.ts +30 -15
  287. package/shared/modules/dynamic/components/fields/Checkbox.ts +2 -2
  288. package/shared/modules/dynamic/components/fields/ContentField.ts +2 -2
  289. package/shared/modules/dynamic/components/fields/DynamicProperty.ts +19 -9
  290. package/shared/modules/dynamic/components/fields/Fieldset.ts +7 -4
  291. package/shared/modules/dynamic/components/fields/GalleryField.ts +42 -22
  292. package/shared/modules/dynamic/components/fields/ImageField.ts +2 -2
  293. package/shared/modules/dynamic/components/fields/InputCurrency.ts +8 -4
  294. package/shared/modules/dynamic/components/fields/InputField.ts +9 -9
  295. package/shared/modules/dynamic/components/fields/SelectField.ts +6 -3
  296. package/shared/modules/dynamic/components/fields/StatusField.ts +3 -3
  297. package/shared/modules/dynamic/components/fields/TextareaField.ts +41 -0
  298. package/shared/modules/dynamic/components/fields/ValidationField.ts +9 -9
  299. package/shared/modules/dynamic/components/fields/VideoField.ts +2 -5
  300. package/shared/modules/dynamic/components/fields/props.ts +1 -2
  301. package/shared/modules/dynamic/composables/useFilterBuilder/index.ts +18 -10
  302. package/shared/modules/dynamic/factories/base/useDetailsFactory.ts +7 -6
  303. package/shared/modules/dynamic/factories/base/useListFactory.ts +4 -4
  304. package/shared/modules/dynamic/factories/types/index.ts +11 -9
  305. package/shared/modules/dynamic/helpers/nodeBuilder.ts +53 -27
  306. package/shared/modules/dynamic/helpers/override.ts +14 -27
  307. package/shared/modules/dynamic/helpers/safeIn.ts +6 -0
  308. package/shared/modules/dynamic/helpers/setters.ts +11 -2
  309. package/shared/modules/dynamic/helpers/toolbarReducer.ts +3 -3
  310. package/shared/modules/dynamic/helpers/unwrapInterpolation.ts +2 -1
  311. package/shared/modules/dynamic/index.ts +38 -29
  312. package/shared/modules/dynamic/pages/dynamic-blade-form.vue +33 -31
  313. package/shared/modules/dynamic/pages/dynamic-blade-list.vue +45 -33
  314. package/shared/modules/dynamic/types/index.ts +323 -17
  315. package/shared/modules/dynamic/types/models.ts +11 -3
  316. package/shared/pages/InvitePage/components/invite/Invite.vue +17 -19
  317. package/shared/pages/LoginPage/components/login/Login.vue +6 -8
  318. package/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue +17 -19
  319. package/shared/utilities/assets.ts +6 -4
  320. package/shared/utilities/vueUtils.ts +46 -0
  321. package/ui/components/atoms/vc-checkbox/vc-checkbox.vue +2 -2
  322. package/ui/components/atoms/vc-status-icon/index.ts +1 -3
  323. package/ui/components/atoms/vc-video/vc-video.vue +1 -14
  324. package/ui/components/molecules/vc-code-editor/vc-code-editor.vue +1 -3
  325. package/ui/components/molecules/vc-editor/vc-editor.vue +13 -7
  326. package/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue +14 -5
  327. package/ui/components/molecules/vc-field/vc-field.vue +1 -1
  328. package/ui/components/molecules/vc-input/vc-input.vue +4 -4
  329. package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +11 -11
  330. package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +1 -1
  331. package/ui/components/molecules/vc-notification/index.ts +1 -3
  332. package/ui/components/molecules/vc-notification/vc-notification.vue +6 -6
  333. package/ui/components/molecules/vc-select/vc-select.vue +6 -4
  334. package/ui/components/molecules/vc-textarea/index.ts +1 -10
  335. package/ui/components/molecules/vc-textarea/vc-textarea.vue +6 -1
  336. package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +0 -1
  337. package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +3 -3
  338. package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +7 -7
  339. package/ui/components/organisms/vc-app/vc-app.vue +11 -19
  340. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue +2 -2
  341. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +2 -2
  342. package/ui/components/organisms/vc-blade/vc-blade.vue +1 -1
  343. package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +3 -3
  344. package/ui/components/organisms/vc-gallery/vc-gallery.vue +6 -7
  345. package/ui/components/organisms/vc-notification-dropdown/_internal/notification/notification.vue +1 -12
  346. package/ui/components/organisms/vc-notification-template/index.ts +1 -3
  347. package/ui/components/organisms/vc-notification-template/vc-notification-template.vue +35 -17
  348. package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +6 -6
  349. package/ui/components/organisms/vc-table/vc-table.vue +12 -11
@@ -2,7 +2,7 @@
2
2
  <div
3
3
  class="vc-blade-toolbar-button"
4
4
  :class="{ 'vc-blade-toolbar-button_disabled': disabled || isWaiting }"
5
- :title="title as string"
5
+ :title="title"
6
6
  @click="onClick"
7
7
  >
8
8
  <div ref="dropButtonRef">
@@ -56,7 +56,7 @@ import { IBladeDropdownItem } from "./../../../../../../../../core/types";
56
56
  export interface Props {
57
57
  isExpanded: boolean;
58
58
  icon?: string | (() => string);
59
- title?: string | unknown;
59
+ title?: string;
60
60
  options?: Record<string, unknown>;
61
61
  disabled?: boolean;
62
62
  dropdownItems?: IBladeDropdownItem[];
@@ -13,7 +13,7 @@
13
13
  v-if="item.isVisible === undefined || item.isVisible"
14
14
  :is-expanded="isExpanded"
15
15
  :icon="item.icon"
16
- :title="item.title"
16
+ :title="unref(item.title)"
17
17
  :options="item.options"
18
18
  :disabled="item.disabled as boolean"
19
19
  :dropdown-items="item.dropdownItems"
@@ -31,7 +31,7 @@
31
31
 
32
32
  <script lang="ts" setup>
33
33
  import { IBladeToolbar } from "./../../../../../../core/types";
34
- import { ref } from "vue";
34
+ import { ref, unref } from "vue";
35
35
  import VcBladeToolbarButton from "./_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue";
36
36
  import { VcIcon } from "./../../../../";
37
37
 
@@ -110,7 +110,7 @@ const { open } = usePopup({
110
110
  title: t("COMPONENTS.ORGANISMS.VC_BLADE.ERROR_POPUP.TITLE"),
111
111
  },
112
112
  slots: {
113
- default: computed(() => error.value),
113
+ default: computed(() => error?.value),
114
114
  },
115
115
  });
116
116
 
@@ -191,7 +191,7 @@
191
191
 
192
192
  <!-- eslint-disable @typescript-eslint/no-explicit-any -->
193
193
  <script lang="ts" setup generic="T extends {[x:string]: any; id?: string}">
194
- import { ref, onMounted, computed, watch } from "vue";
194
+ import { ref, onMounted, computed, Ref } from "vue";
195
195
  import { Field } from "vee-validate";
196
196
  import { useI18n } from "vue-i18n";
197
197
  import { VcSelect, VcInput, VcTextarea, VcCheckbox } from "./../../";
@@ -244,7 +244,7 @@ const emit = defineEmits<{
244
244
 
245
245
  const { locale, te, t } = useI18n({ useScope: "global" });
246
246
 
247
- const items = ref([]);
247
+ const items: Ref<any[]> = ref([]);
248
248
  const loading = ref(false);
249
249
 
250
250
  const computedProperty = computed(() => {
@@ -305,7 +305,7 @@ onMounted(async () => {
305
305
  await getOptions();
306
306
  });
307
307
 
308
- async function getOptions(keyword: string = null) {
308
+ async function getOptions(keyword: string | undefined = undefined) {
309
309
  if (props.optionsGetter) {
310
310
  try {
311
311
  loading.value = true;
@@ -33,7 +33,7 @@
33
33
  @drop="onItemDrop($event, image)"
34
34
  ></VcGalleryItem>
35
35
  <VcFileUpload
36
- v-if="!disabled && !hideAfterUpload"
36
+ v-if="!disabled && !defaultImages.length"
37
37
  class="tw-m-2"
38
38
  :icon="uploadIcon"
39
39
  :variant="variant"
@@ -84,8 +84,6 @@ export interface Props {
84
84
  edit: boolean;
85
85
  remove: boolean;
86
86
  };
87
- disableDrag?: boolean;
88
- hideAfterUpload?: boolean;
89
87
  rules?: string | Record<string, unknown>;
90
88
  name?: string;
91
89
  loading?: boolean;
@@ -123,6 +121,7 @@ const reorderGalleryRef = ref<HTMLElement>();
123
121
  const dropPosition = ref<number>();
124
122
 
125
123
  const currentIndex = computed(() => previewImageIndex.value);
124
+ const disableDrag = computed(() => defaultImages.value.length <= 1);
126
125
 
127
126
  const { open } = usePopup(
128
127
  computed(() => ({
@@ -165,14 +164,14 @@ const updateOrder = () => {
165
164
  };
166
165
 
167
166
  function onItemMouseDown(event: MouseEvent & { currentTarget?: { draggable: boolean } }) {
168
- if (!props.disableDrag && !props.disabled) {
167
+ if (!disableDrag.value && !props.disabled) {
169
168
  event.currentTarget.draggable = true;
170
169
  return;
171
170
  }
172
171
  }
173
172
 
174
173
  function onItemDragStart(event: DragEvent, item: IImage) {
175
- if (!props.disableDrag && !props.disabled) {
174
+ if (!disableDrag.value && !props.disabled) {
176
175
  draggedItem.value = item;
177
176
  draggedElement.value = event.target as HTMLElement;
178
177
  event.dataTransfer?.setData("text", "gallery_reorder");
@@ -182,7 +181,7 @@ function onItemDragStart(event: DragEvent, item: IImage) {
182
181
  function onItemDragOver(event: DragEvent) {
183
182
  const dropItem = findParentElement(event.target as HTMLElement);
184
183
 
185
- if (!props.disableDrag && !props.disabled && draggedItem.value && dropItem) {
184
+ if (!disableDrag.value && !props.disabled && draggedItem.value && dropItem) {
186
185
  event.preventDefault();
187
186
 
188
187
  const containerOffset = galleryRef.value?.getBoundingClientRect();
@@ -213,7 +212,7 @@ function onItemDragOver(event: DragEvent) {
213
212
  }
214
213
 
215
214
  function onItemDragLeave(event: DragEvent) {
216
- if (!props.disableDrag && !props.disabled && draggedItem.value && reorderGalleryRef.value) {
215
+ if (!disableDrag.value && !props.disabled && draggedItem.value && reorderGalleryRef.value) {
217
216
  event.preventDefault();
218
217
 
219
218
  reorderGalleryRef.value.style.display = "none";
@@ -9,6 +9,7 @@
9
9
  :color="notificationStyle.color"
10
10
  :title="notification.title ?? ''"
11
11
  :icon="notificationStyle.icon"
12
+ :notification="notification"
12
13
  >
13
14
  <VcHint
14
15
  v-if="notification.description"
@@ -17,18 +18,12 @@
17
18
  >
18
19
  </VcNotificationTemplate>
19
20
  </template>
20
- <div class="tw-flex tw-shrink-0">
21
- <p class="tw-text-s tw-leading-[18px] tw-text-[#8e8e8e] tw-m-0">
22
- {{ pushTime }}
23
- </p>
24
- </div>
25
21
  </VcRow>
26
22
  </div>
27
23
  </template>
28
24
 
29
25
  <script lang="ts" setup>
30
26
  import { computed, h } from "vue";
31
- import moment from "moment";
32
27
  import { PushNotification } from "./../../../../../../core/api/platform";
33
28
  import { VcRow, VcNotificationTemplate } from "./../../../../";
34
29
  import { NotificationTemplateConstructor } from "./../../../../../../core/types";
@@ -46,17 +41,11 @@ const props = defineProps<Props>();
46
41
 
47
42
  const emit = defineEmits<Emits>();
48
43
 
49
- const locale = window.navigator.language;
50
-
51
44
  const notificationStyle = computed(() => ({
52
45
  color: "#A9BCCD",
53
46
  icon: "fas fa-info",
54
47
  }));
55
48
 
56
- const pushTime = computed(() => {
57
- return moment(props.notification.created).locale(locale).format("L LT");
58
- });
59
-
60
49
  const currentTemplate = computed(() => props.templates?.find((x) => x?.notifyType === props.notification.notifyType));
61
50
 
62
51
  function notificationTemplateRenderer() {
@@ -1,3 +1 @@
1
- import _NotificationTemplate from "./vc-notification-template.vue";
2
-
3
- export const VcNotificationTemplate = _NotificationTemplate as typeof _NotificationTemplate;
1
+ export { default as VcNotificationTemplate } from "./vc-notification-template.vue";
@@ -1,33 +1,51 @@
1
1
  <template>
2
- <div class="tw-flex tw-items-center">
3
- <div
4
- class="tw-w-[41px] tw-h-[41px] tw-rounded-full tw-text-white tw-mr-4 tw-flex tw-items-center tw-justify-center tw-shrink-0"
5
- :style="{ 'background-color': color }"
6
- >
7
- <VcIcon
8
- :icon="icon"
9
- size="l"
10
- ></VcIcon>
11
- </div>
12
- <div>
13
- <p
14
- class="tw-text-[color:var(--basic-black-color)] tw-text-xl tw-leading-[19px] tw-font-bold tw-m-0 tw-mb-1"
15
- :class="{ 'tw-mr-4': $isDesktop.value }"
2
+ <div class="tw-flex flex-row tw-justify-between tw-grow tw-basis-0">
3
+ <div class="tw-flex tw-items-center">
4
+ <div
5
+ class="tw-w-[41px] tw-h-[41px] tw-rounded-full tw-text-white tw-mr-4 tw-flex tw-items-center tw-justify-center tw-shrink-0"
6
+ :style="{ 'background-color': color }"
16
7
  >
17
- {{ title }}
8
+ <VcIcon
9
+ :icon="icon"
10
+ size="l"
11
+ ></VcIcon>
12
+ </div>
13
+ <div>
14
+ <p
15
+ class="tw-text-[color:var(--basic-black-color)] tw-text-xl tw-leading-[19px] tw-font-bold tw-m-0 tw-mb-1"
16
+ :class="{ 'tw-mr-4': $isDesktop.value }"
17
+ >
18
+ {{ title }}
19
+ </p>
20
+ <slot></slot>
21
+ </div>
22
+ </div>
23
+ <div class="tw-flex tw-shrink-0">
24
+ <p class="tw-text-s tw-leading-[18px] tw-text-[#8e8e8e] tw-m-0">
25
+ {{ pushTime }}
18
26
  </p>
19
- <slot></slot>
20
27
  </div>
21
28
  </div>
22
29
  </template>
23
30
 
24
31
  <script setup lang="ts">
32
+ import { computed } from "vue";
25
33
  import { VcIcon } from "./../../";
34
+ import moment from "moment";
35
+ import { PushNotification } from "../../../../core/api/platform";
36
+
26
37
  export interface Props {
27
38
  color: string;
28
39
  icon: string;
29
40
  title: string;
41
+ notification: PushNotification;
30
42
  }
31
43
 
32
- defineProps<Props>();
44
+ const props = defineProps<Props>();
45
+
46
+ const locale = window.navigator.language;
47
+
48
+ const pushTime = computed(() => {
49
+ return moment(props.notification.created).locale(locale).format("L LT");
50
+ });
33
51
  </script>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <!-- Money cell -->
3
3
  <template v-if="cell.type === 'money'">
4
- <template v-if="value > 0">
4
+ <template v-if="typeof Number(value) === 'number' && Number(value) > 0">
5
5
  <span>{{ Math.trunc(Number(value)) }}</span
6
6
  ><span class="tw-text-[#a5a5a5] tw-text-xs"
7
7
  >.{{ `${(Number(value) * 100) % 100}`.padEnd(2, "0").slice(0, 2) }}</span
@@ -33,8 +33,8 @@
33
33
  {{ moment(value).locale(locale).format(cell.format) }}
34
34
  </template>
35
35
  <template v-else>
36
- <template v-if="cell.type === 'date'">{{ value.toLocaleDateString() }}</template>
37
- <template v-if="cell.type === 'time'">{{ value.toLocaleTimeString() }}</template>
36
+ <template v-if="cell.type === 'date'">{{ value instanceof Date && value.toLocaleDateString() }}</template>
37
+ <template v-if="cell.type === 'time'">{{ value instanceof Date && value.toLocaleTimeString() }}</template>
38
38
  <template v-if="cell.type === 'date-time'">{{ value.toLocaleString() }}</template>
39
39
  </template>
40
40
  </template>
@@ -47,7 +47,7 @@
47
47
  :bordered="true"
48
48
  size="s"
49
49
  aspect="1x1"
50
- :src="value"
50
+ :src="(value as string)"
51
51
  background="contain"
52
52
  />
53
53
  </template>
@@ -62,7 +62,7 @@
62
62
  v-else-if="cell.type === 'status-icon'"
63
63
  class="tw-flex tw-justify-center"
64
64
  >
65
- <VcStatusIcon :status="value"></VcStatusIcon>
65
+ <VcStatusIcon :status="(value as boolean)"></VcStatusIcon>
66
66
  </div>
67
67
 
68
68
  <!-- Number cell -->
@@ -97,7 +97,7 @@ export interface Props {
97
97
  const props = defineProps<Props>();
98
98
 
99
99
  const locale = window.navigator.language;
100
- const value = computed(() => {
100
+ const value = computed((): unknown => {
101
101
  return (props.cell.field || props.cell.id).split(".").reduce((p: { [x: string]: unknown }, c: string) => {
102
102
  if (p && Array.isArray(p) && p.length) {
103
103
  const val = p && p[0][c];
@@ -270,7 +270,7 @@
270
270
  class="vc-table__body-actions-container tw-relative tw-flex tw-justify-center tw-items-center tw-group"
271
271
  >
272
272
  <button
273
- :ref="(el: Element) => setActionToggleRefs(el, item.id)"
273
+ :ref="(el) => setActionToggleRefs(el, item.id)"
274
274
  class="tw-text-[#41afe6] tw-cursor-pointer tw-border-none tw-bg-transparent disabled:tw-text-[gray] tw-w-full"
275
275
  :class="{
276
276
  'group-hover:tw-text-[#319ed4]': itemActions[itemIndex] && itemActions[itemIndex].length,
@@ -285,7 +285,7 @@
285
285
  </button>
286
286
  <div
287
287
  v-show="selectedRow === item.id"
288
- :ref="(el: Element) => setTooltipRefs(el, item.id)"
288
+ :ref="(el) => setTooltipRefs(el, item.id)"
289
289
  class="vc-table__body-tooltip tw-bg-white tw-rounded-[4px] tw-p-[15px] tw-z-[1] tw-absolute tw-right-0 tw-drop-shadow-[1px_3px_14px_rgba(111,122,131,0.25)] tw-w-max"
290
290
  :style="tooltipStyle"
291
291
  @mouseleave="closeActions"
@@ -314,7 +314,7 @@
314
314
  </div>
315
315
  </div>
316
316
  <div
317
- :ref="(el: Element) => setTooltipArrowRefs(el, item.id)"
317
+ :ref="(el) => setTooltipArrowRefs(el, item.id)"
318
318
  class="vc-table__body-tooltip-arrow"
319
319
  :style="arrowStyle"
320
320
  ></div>
@@ -435,13 +435,14 @@ import {
435
435
  onBeforeMount,
436
436
  nextTick,
437
437
  MaybeRef,
438
+ ComponentPublicInstance,
438
439
  } from "vue";
439
440
  import VcTableCounter from "./_internal/vc-table-counter/vc-table-counter.vue";
440
441
  import VcTableFilter from "./_internal/vc-table-filter/vc-table-filter.vue";
441
442
  import VcTableMobileItem from "./_internal/vc-table-mobile-item/vc-table-mobile-item.vue";
442
443
  import VcTableCell from "./_internal/vc-table-cell/vc-table-cell.vue";
443
444
  import VcTableColumnSwitcher from "./_internal/vc-table-column-switcher/vc-table-column-switcher.vue";
444
- import { offset, flip, arrow, computePosition, ComputePositionReturn } from "@floating-ui/vue";
445
+ import { offset, flip, arrow, computePosition, ComputePositionReturn, ReferenceElement } from "@floating-ui/vue";
445
446
  import { IActionBuilderResult, ITableColumns } from "./../../../../core/types";
446
447
  import { useLocalStorage, useCurrentElement } from "@vueuse/core";
447
448
  import { VcContainer, VcInput, VcCheckbox, VcIcon, VcPagination, VcButton } from "./../../";
@@ -522,7 +523,7 @@ const props = withDefaults(
522
523
  );
523
524
 
524
525
  interface ITableItemRef {
525
- element: Element;
526
+ element: Element | ComponentPublicInstance;
526
527
  id: string;
527
528
  }
528
529
 
@@ -712,7 +713,7 @@ function rowCheckbox(item: T) {
712
713
  }
713
714
  }
714
715
 
715
- function setTooltipRefs(el: Element, id: string) {
716
+ function setTooltipRefs(el: Element | ComponentPublicInstance | null, id: string) {
716
717
  if (el) {
717
718
  const isExists = tooltipRefs.value.some((item) => item.id === id);
718
719
  if (!isExists) {
@@ -721,7 +722,7 @@ function setTooltipRefs(el: Element, id: string) {
721
722
  }
722
723
  }
723
724
 
724
- function setActionToggleRefs(el: Element, id: string) {
725
+ function setActionToggleRefs(el: Element | ComponentPublicInstance | null, id: string) {
725
726
  if (el) {
726
727
  const isExists = actionToggleRefs.value.some((item) => item.id === id);
727
728
  if (!isExists) {
@@ -730,7 +731,7 @@ function setActionToggleRefs(el: Element, id: string) {
730
731
  }
731
732
  }
732
733
 
733
- function setTooltipArrowRefs(el: Element, id: string) {
734
+ function setTooltipArrowRefs(el: Element | ComponentPublicInstance | null, id: string) {
734
735
  if (el) {
735
736
  const isExists = tooltipArrowRefs.value?.some((item) => item.id === id);
736
737
  if (!isExists) {
@@ -754,7 +755,7 @@ function showActions(item: T, index: string) {
754
755
 
755
756
  if (toggleRef && tooltipRef && tooltipArrowRef) {
756
757
  nextTick(() => {
757
- computePosition(toggleRef, tooltipRef as HTMLElement, {
758
+ computePosition(toggleRef as ReferenceElement, tooltipRef as HTMLElement, {
758
759
  placement: "bottom",
759
760
  middleware: [
760
761
  flip({ fallbackPlacements: ["top", "bottom"] }),
@@ -1145,11 +1146,11 @@ function onRowDragLeave(event: DragEvent) {
1145
1146
  rowElement.classList.remove("vc-table__drag-row-bottom");
1146
1147
  }
1147
1148
 
1148
- function onRowDragEnd(event: DragEvent & { currentTarget?: { draggable: boolean } }) {
1149
+ function onRowDragEnd(event: DragEvent) {
1149
1150
  rowDragged.value = false;
1150
1151
  draggedRowIndex.value = undefined;
1151
1152
  droppedRowIndex.value = undefined;
1152
- event.currentTarget.draggable = false;
1153
+ (event.currentTarget as HTMLElement).draggable = false;
1153
1154
  }
1154
1155
 
1155
1156
  function onRowDrop(event: DragEvent) {