@vc-shell/framework 1.0.69 → 1.0.70

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 (373) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/core/api/platform.ts +2762 -2225
  3. package/core/composables/index.ts +1 -0
  4. package/core/composables/useMenuComposer/index.ts +25 -0
  5. package/core/composables/useNotifications/index.ts +24 -30
  6. package/core/composables/useUser/index.ts +1 -1
  7. package/core/directives/index.ts +0 -1
  8. package/core/plugins/index.ts +1 -1
  9. package/core/plugins/modularity/index.ts +8 -1
  10. package/core/plugins/signalR/index.ts +32 -0
  11. package/core/types/index.ts +56 -17
  12. package/dist/core/api/platform.d.ts +1005 -931
  13. package/dist/core/api/platform.d.ts.map +1 -1
  14. package/dist/core/composables/index.d.ts +1 -0
  15. package/dist/core/composables/index.d.ts.map +1 -1
  16. package/dist/core/composables/useMenuComposer/index.d.ts +12 -0
  17. package/dist/core/composables/useMenuComposer/index.d.ts.map +1 -0
  18. package/dist/core/composables/useNotifications/index.d.ts +3 -5
  19. package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
  20. package/dist/core/directives/autofocus/index.d.ts +1 -1
  21. package/dist/core/directives/autofocus/index.d.ts.map +1 -1
  22. package/dist/core/directives/index.d.ts +0 -1
  23. package/dist/core/directives/index.d.ts.map +1 -1
  24. package/dist/core/directives/loading/index.d.ts +1 -1
  25. package/dist/core/directives/loading/index.d.ts.map +1 -1
  26. package/dist/core/directives/permissions/index.d.ts +1 -1
  27. package/dist/core/directives/permissions/index.d.ts.map +1 -1
  28. package/dist/core/plugins/index.d.ts +1 -1
  29. package/dist/core/plugins/index.d.ts.map +1 -1
  30. package/dist/core/plugins/modularity/index.d.ts +1 -1
  31. package/dist/core/plugins/modularity/index.d.ts.map +1 -1
  32. package/dist/core/plugins/signalR/index.d.ts +4 -0
  33. package/dist/core/plugins/signalR/index.d.ts.map +1 -0
  34. package/dist/core/types/index.d.ts +46 -20
  35. package/dist/core/types/index.d.ts.map +1 -1
  36. package/dist/framework.mjs +29318 -28417
  37. package/dist/index.css +1 -1
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/shared/components/app-switcher/components/vc-app-switcher/index.d.ts +1 -3
  40. package/dist/shared/components/app-switcher/components/vc-app-switcher/index.d.ts.map +1 -1
  41. package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts +6 -3
  42. package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts.map +1 -1
  43. package/dist/shared/components/app-switcher/composables/useAppSwitcher/index.d.ts.map +1 -1
  44. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/index.d.ts +13 -456
  45. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/index.d.ts.map +1 -1
  46. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts +19 -454
  47. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts.map +1 -1
  48. package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts +2 -3
  49. package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts.map +1 -1
  50. package/dist/shared/components/blade-navigation/index.d.ts +1 -9
  51. package/dist/shared/components/blade-navigation/index.d.ts.map +1 -1
  52. package/dist/shared/components/blade-navigation/plugin.d.ts +13 -0
  53. package/dist/shared/components/blade-navigation/plugin.d.ts.map +1 -0
  54. package/dist/shared/components/blade-navigation/types/index.d.ts +53 -26
  55. package/dist/shared/components/blade-navigation/types/index.d.ts.map +1 -1
  56. package/dist/{core/plugins → shared/components}/error-interceptor/index.d.ts +53 -15
  57. package/dist/shared/components/error-interceptor/index.d.ts.map +1 -0
  58. package/dist/{core/plugins → shared/components}/error-interceptor/interceptor.d.ts +1 -1
  59. package/dist/shared/components/error-interceptor/interceptor.d.ts.map +1 -0
  60. package/dist/shared/components/notifications/components/notification-container/index.d.ts +13 -13
  61. package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
  62. package/dist/shared/components/notifications/index.d.ts +0 -9
  63. package/dist/shared/components/notifications/index.d.ts.map +1 -1
  64. package/dist/shared/components/popup-handler/components/index.d.ts +2 -0
  65. package/dist/shared/components/popup-handler/components/index.d.ts.map +1 -0
  66. package/dist/shared/components/popup-handler/components/vc-popup-container/index.d.ts +2 -0
  67. package/dist/shared/components/popup-handler/components/vc-popup-container/index.d.ts.map +1 -0
  68. package/dist/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue.d.ts +3 -0
  69. package/dist/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue.d.ts.map +1 -0
  70. package/dist/shared/components/popup-handler/composables/index.d.ts +2 -0
  71. package/dist/shared/components/popup-handler/composables/index.d.ts.map +1 -0
  72. package/dist/shared/components/popup-handler/composables/usePopup/index.d.ts +12 -0
  73. package/dist/shared/components/popup-handler/composables/usePopup/index.d.ts.map +1 -0
  74. package/dist/shared/components/popup-handler/index.d.ts +16 -0
  75. package/dist/shared/components/popup-handler/index.d.ts.map +1 -0
  76. package/dist/shared/components/popup-handler/plugin.d.ts +6 -0
  77. package/dist/shared/components/popup-handler/plugin.d.ts.map +1 -0
  78. package/dist/shared/components/popup-handler/types/index.d.ts +26 -0
  79. package/dist/shared/components/popup-handler/types/index.d.ts.map +1 -0
  80. package/dist/shared/components/popup-handler/utils/index.d.ts +3 -0
  81. package/dist/shared/components/popup-handler/utils/index.d.ts.map +1 -0
  82. package/dist/shared/index.d.ts +2 -0
  83. package/dist/shared/index.d.ts.map +1 -1
  84. package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts +13 -4
  85. package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts.map +1 -1
  86. package/dist/shared/modules/assets/components/assets-details/index.d.ts +85 -49
  87. package/dist/shared/modules/assets/components/assets-details/index.d.ts.map +1 -1
  88. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +15 -11
  89. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
  90. package/dist/shared/modules/assets-manager/components/assets-manager/index.d.ts +89 -64
  91. package/dist/shared/modules/assets-manager/components/assets-manager/index.d.ts.map +1 -1
  92. package/dist/tsconfig.tsbuildinfo +1 -1
  93. package/dist/ui/components/atoms/vc-badge/index.d.ts +56 -19
  94. package/dist/ui/components/atoms/vc-badge/index.d.ts.map +1 -1
  95. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +2 -2
  96. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
  97. package/dist/ui/components/atoms/vc-button/index.d.ts +68 -44
  98. package/dist/ui/components/atoms/vc-button/index.d.ts.map +1 -1
  99. package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +7 -4
  100. package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +1 -1
  101. package/dist/ui/components/atoms/vc-card/index.d.ts +66 -44
  102. package/dist/ui/components/atoms/vc-card/index.d.ts.map +1 -1
  103. package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts +8 -6
  104. package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts.map +1 -1
  105. package/dist/ui/components/atoms/vc-checkbox/index.d.ts +74 -48
  106. package/dist/ui/components/atoms/vc-checkbox/index.d.ts.map +1 -1
  107. package/dist/ui/components/atoms/vc-checkbox/vc-checkbox.vue.d.ts +8 -5
  108. package/dist/ui/components/atoms/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
  109. package/dist/ui/components/atoms/vc-col/index.d.ts +54 -19
  110. package/dist/ui/components/atoms/vc-col/index.d.ts.map +1 -1
  111. package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts +7 -4
  112. package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts.map +1 -1
  113. package/dist/ui/components/atoms/vc-container/index.d.ts +56 -19
  114. package/dist/ui/components/atoms/vc-container/index.d.ts.map +1 -1
  115. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
  116. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts.map +1 -1
  117. package/dist/ui/components/atoms/vc-hint/index.d.ts +53 -8
  118. package/dist/ui/components/atoms/vc-hint/index.d.ts.map +1 -1
  119. package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts +2 -2
  120. package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts.map +1 -1
  121. package/dist/ui/components/atoms/vc-icon/index.d.ts +4 -8
  122. package/dist/ui/components/atoms/vc-icon/index.d.ts.map +1 -1
  123. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +7 -4
  124. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
  125. package/dist/ui/components/atoms/vc-image/index.d.ts +17 -23
  126. package/dist/ui/components/atoms/vc-image/index.d.ts.map +1 -1
  127. package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts +8 -5
  128. package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts.map +1 -1
  129. package/dist/ui/components/atoms/vc-info-row/index.d.ts +10 -12
  130. package/dist/ui/components/atoms/vc-info-row/index.d.ts.map +1 -1
  131. package/dist/ui/components/atoms/vc-info-row/vc-info-row.vue.d.ts +7 -4
  132. package/dist/ui/components/atoms/vc-info-row/vc-info-row.vue.d.ts.map +1 -1
  133. package/dist/ui/components/atoms/vc-label/index.d.ts +56 -23
  134. package/dist/ui/components/atoms/vc-label/index.d.ts.map +1 -1
  135. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +8 -5
  136. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
  137. package/dist/ui/components/atoms/vc-link/index.d.ts +56 -20
  138. package/dist/ui/components/atoms/vc-link/index.d.ts.map +1 -1
  139. package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts +2 -2
  140. package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts.map +1 -1
  141. package/dist/ui/components/atoms/vc-loading/index.d.ts +1 -1
  142. package/dist/ui/components/atoms/vc-loading/index.d.ts.map +1 -1
  143. package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts +1 -1
  144. package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts.map +1 -1
  145. package/dist/ui/components/atoms/vc-progress/index.d.ts +54 -27
  146. package/dist/ui/components/atoms/vc-progress/index.d.ts.map +1 -1
  147. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +6 -3
  148. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
  149. package/dist/ui/components/atoms/vc-row/index.d.ts +53 -8
  150. package/dist/ui/components/atoms/vc-row/index.d.ts.map +1 -1
  151. package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts +2 -2
  152. package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts.map +1 -1
  153. package/dist/ui/components/atoms/vc-status/index.d.ts +56 -31
  154. package/dist/ui/components/atoms/vc-status/index.d.ts.map +1 -1
  155. package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts +7 -4
  156. package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts.map +1 -1
  157. package/dist/ui/components/atoms/vc-status-icon/index.d.ts +1 -1
  158. package/dist/ui/components/atoms/vc-status-icon/index.d.ts.map +1 -1
  159. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.vue.d.ts +1 -1
  160. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.vue.d.ts.map +1 -1
  161. package/dist/ui/components/atoms/vc-switch/index.d.ts +1 -1
  162. package/dist/ui/components/atoms/vc-switch/index.d.ts.map +1 -1
  163. package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts +1 -1
  164. package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts.map +1 -1
  165. package/dist/ui/components/atoms/vc-widget/index.d.ts +1 -1
  166. package/dist/ui/components/atoms/vc-widget/index.d.ts.map +1 -1
  167. package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts +1 -1
  168. package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts.map +1 -1
  169. package/dist/ui/components/index.d.ts +2 -0
  170. package/dist/ui/components/index.d.ts.map +1 -1
  171. package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts +3 -3
  172. package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts.map +1 -1
  173. package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts +1 -3
  174. package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts.map +1 -1
  175. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts +6 -3
  176. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts.map +1 -1
  177. package/dist/ui/components/molecules/vc-code-editor/index.d.ts +79 -65
  178. package/dist/ui/components/molecules/vc-code-editor/index.d.ts.map +1 -1
  179. package/dist/ui/components/molecules/vc-code-editor/vc-code-editor.vue.d.ts +7 -4
  180. package/dist/ui/components/molecules/vc-code-editor/vc-code-editor.vue.d.ts.map +1 -1
  181. package/dist/ui/components/molecules/vc-editor/index.d.ts +80 -69
  182. package/dist/ui/components/molecules/vc-editor/index.d.ts.map +1 -1
  183. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +7 -4
  184. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
  185. package/dist/ui/components/molecules/vc-file-upload/index.d.ts +77 -65
  186. package/dist/ui/components/molecules/vc-file-upload/index.d.ts.map +1 -1
  187. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +7 -4
  188. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  189. package/dist/ui/components/molecules/vc-form/index.d.ts +53 -8
  190. package/dist/ui/components/molecules/vc-form/index.d.ts.map +1 -1
  191. package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts +2 -2
  192. package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts.map +1 -1
  193. package/dist/ui/components/molecules/vc-input/index.d.ts +116 -128
  194. package/dist/ui/components/molecules/vc-input/index.d.ts.map +1 -1
  195. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +17 -13
  196. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
  197. package/dist/ui/components/molecules/vc-input-currency/index.d.ts +125 -137
  198. package/dist/ui/components/molecules/vc-input-currency/index.d.ts.map +1 -1
  199. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +9 -8
  200. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
  201. package/dist/ui/components/molecules/vc-notification/index.d.ts +1 -1
  202. package/dist/ui/components/molecules/vc-notification/index.d.ts.map +1 -1
  203. package/dist/ui/components/molecules/vc-notification/vc-notification.vue.d.ts +1 -1
  204. package/dist/ui/components/molecules/vc-notification/vc-notification.vue.d.ts.map +1 -1
  205. package/dist/ui/components/molecules/vc-pagination/index.d.ts +7 -11
  206. package/dist/ui/components/molecules/vc-pagination/index.d.ts.map +1 -1
  207. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +6 -3
  208. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
  209. package/dist/ui/components/molecules/vc-rating/index.d.ts +73 -55
  210. package/dist/ui/components/molecules/vc-rating/index.d.ts.map +1 -1
  211. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +8 -5
  212. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
  213. package/dist/ui/components/molecules/vc-select/index.d.ts +188 -584
  214. package/dist/ui/components/molecules/vc-select/index.d.ts.map +1 -1
  215. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +643 -119
  216. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  217. package/dist/ui/components/molecules/vc-slider/index.d.ts +70 -55
  218. package/dist/ui/components/molecules/vc-slider/index.d.ts.map +1 -1
  219. package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts +10 -7
  220. package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts.map +1 -1
  221. package/dist/ui/components/molecules/vc-textarea/index.d.ts +80 -68
  222. package/dist/ui/components/molecules/vc-textarea/index.d.ts.map +1 -1
  223. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +7 -4
  224. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
  225. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts +21 -7
  226. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts.map +1 -1
  227. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts +8 -17
  228. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts.map +1 -1
  229. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +19 -36
  230. 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
  231. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts +20 -13
  232. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts.map +1 -1
  233. package/dist/ui/components/organisms/vc-app/index.d.ts +138 -160
  234. package/dist/ui/components/organisms/vc-app/index.d.ts.map +1 -1
  235. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +23 -24
  236. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
  237. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts +4 -4
  238. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts.map +1 -1
  239. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +8 -5
  240. 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
  241. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue.d.ts +7 -4
  242. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue.d.ts.map +1 -1
  243. package/dist/ui/components/organisms/vc-blade/index.d.ts +103 -112
  244. package/dist/ui/components/organisms/vc-blade/index.d.ts.map +1 -1
  245. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +11 -10
  246. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  247. package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts +3 -5
  248. package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts.map +1 -1
  249. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +6 -3
  250. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
  251. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +7 -4
  252. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts.map +1 -1
  253. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +18 -7
  254. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  255. package/dist/ui/components/organisms/vc-gallery/index.d.ts +37 -52
  256. package/dist/ui/components/organisms/vc-gallery/index.d.ts.map +1 -1
  257. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +8 -8
  258. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
  259. package/dist/ui/components/organisms/vc-login-form/index.d.ts +62 -31
  260. package/dist/ui/components/organisms/vc-login-form/index.d.ts.map +1 -1
  261. package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts +7 -4
  262. package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts.map +1 -1
  263. package/dist/ui/components/organisms/vc-notification-dropdown/_internal/notification/notification.vue.d.ts +32 -0
  264. package/dist/ui/components/organisms/vc-notification-dropdown/_internal/notification/notification.vue.d.ts.map +1 -0
  265. package/dist/ui/components/organisms/vc-notification-dropdown/index.d.ts +44 -0
  266. package/dist/ui/components/organisms/vc-notification-dropdown/index.d.ts.map +1 -0
  267. package/dist/ui/components/organisms/vc-notification-dropdown/vc-notification-dropdown.vue.d.ts +22 -0
  268. package/dist/ui/components/organisms/vc-notification-dropdown/vc-notification-dropdown.vue.d.ts.map +1 -0
  269. package/dist/ui/components/organisms/vc-notification-template/index.d.ts +135 -0
  270. package/dist/ui/components/organisms/vc-notification-template/index.d.ts.map +1 -0
  271. package/dist/ui/components/organisms/vc-notification-template/vc-notification-template.vue.d.ts +24 -0
  272. package/dist/ui/components/organisms/vc-notification-template/vc-notification-template.vue.d.ts.map +1 -0
  273. package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-error/vc-popup-error.vue.d.ts +17 -0
  274. package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-error/vc-popup-error.vue.d.ts.map +1 -0
  275. package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-warning/vc-popup-warning.vue.d.ts +20 -0
  276. package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-warning/vc-popup-warning.vue.d.ts.map +1 -0
  277. package/dist/ui/components/organisms/vc-popup/index.d.ts +87 -42
  278. package/dist/ui/components/organisms/vc-popup/index.d.ts.map +1 -1
  279. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +16 -6
  280. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  281. package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +1 -1
  282. package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -1
  283. package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +6 -3
  284. package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +1 -1
  285. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +6 -3
  286. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
  287. package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts +8 -5
  288. package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map +1 -1
  289. package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts +48 -47
  290. package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts.map +1 -1
  291. package/dist/ui/components/organisms/vc-table/index.d.ts +205 -661
  292. package/dist/ui/components/organisms/vc-table/index.d.ts.map +1 -1
  293. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +185 -134
  294. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
  295. package/dist/ui/types/index.d.ts +2 -0
  296. package/dist/ui/types/index.d.ts.map +1 -1
  297. package/package.json +23 -22
  298. package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +3 -2
  299. package/shared/components/app-switcher/composables/useAppSwitcher/index.ts +4 -2
  300. package/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue +25 -26
  301. package/shared/components/blade-navigation/composables/useBladeNavigation/index.ts +106 -68
  302. package/shared/components/blade-navigation/index.ts +1 -12
  303. package/shared/components/blade-navigation/plugin.ts +33 -0
  304. package/shared/components/blade-navigation/types/index.ts +59 -36
  305. package/{core/plugins → shared/components}/error-interceptor/interceptor.ts +1 -1
  306. package/shared/components/notifications/composables/useContainer/index.ts +2 -2
  307. package/shared/components/notifications/core/notification.ts +1 -1
  308. package/shared/components/notifications/index.ts +0 -11
  309. package/shared/components/popup-handler/components/index.ts +1 -0
  310. package/shared/components/popup-handler/components/vc-popup-container/index.ts +3 -0
  311. package/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue +25 -0
  312. package/shared/components/popup-handler/composables/index.ts +1 -0
  313. package/shared/components/popup-handler/composables/usePopup/index.ts +129 -0
  314. package/shared/components/popup-handler/index.ts +19 -0
  315. package/shared/components/popup-handler/plugin.ts +24 -0
  316. package/shared/components/popup-handler/types/index.ts +28 -0
  317. package/shared/components/popup-handler/utils/index.ts +9 -0
  318. package/shared/index.ts +4 -2
  319. package/shared/modules/assets/components/assets-details/assets-details.vue +12 -10
  320. package/shared/modules/assets-manager/components/assets-manager/assets-manager.vue +33 -30
  321. package/ui/components/atoms/vc-button/vc-button.vue +1 -1
  322. package/ui/components/atoms/vc-card/vc-card.vue +2 -2
  323. package/ui/components/atoms/vc-info-row/vc-info-row.vue +2 -2
  324. package/ui/components/atoms/vc-label/vc-label.vue +1 -1
  325. package/ui/components/atoms/vc-loading/vc-loading.vue +1 -1
  326. package/ui/components/atoms/vc-switch/vc-switch.vue +1 -1
  327. package/ui/components/index.ts +2 -0
  328. package/ui/components/molecules/vc-code-editor/vc-code-editor.vue +3 -3
  329. package/ui/components/molecules/vc-editor/vc-editor.vue +3 -3
  330. package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +2 -2
  331. package/ui/components/molecules/vc-input/vc-input.vue +17 -17
  332. package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +8 -8
  333. package/ui/components/molecules/vc-notification/vc-notification.vue +1 -1
  334. package/ui/components/molecules/vc-rating/vc-rating.vue +1 -1
  335. package/ui/components/molecules/vc-select/index.ts +1 -86
  336. package/ui/components/molecules/vc-select/vc-select.stories.ts +1 -1
  337. package/ui/components/molecules/vc-select/vc-select.vue +276 -198
  338. package/ui/components/molecules/vc-slider/vc-slider.vue +3 -3
  339. package/ui/components/molecules/vc-textarea/vc-textarea.vue +2 -2
  340. package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +20 -15
  341. package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +5 -9
  342. package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +18 -27
  343. package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +22 -16
  344. package/ui/components/organisms/vc-app/vc-app.vue +20 -17
  345. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue +5 -5
  346. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +4 -4
  347. package/ui/components/organisms/vc-blade/vc-blade.vue +25 -32
  348. package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +84 -84
  349. package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +3 -3
  350. package/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue +9 -3
  351. package/ui/components/organisms/vc-gallery/vc-gallery.vue +27 -23
  352. package/ui/components/organisms/vc-notification-dropdown/_internal/notification/notification.vue +63 -0
  353. package/ui/components/organisms/vc-notification-dropdown/index.ts +3 -0
  354. package/ui/components/organisms/vc-notification-dropdown/vc-notification-dropdown.vue +125 -0
  355. package/ui/components/organisms/vc-notification-template/index.ts +3 -0
  356. package/ui/components/organisms/vc-notification-template/vc-notification-template.vue +33 -0
  357. package/ui/components/organisms/vc-popup/_internal/vc-popup-error/vc-popup-error.vue +28 -0
  358. package/ui/components/organisms/vc-popup/_internal/vc-popup-warning/vc-popup-warning.vue +33 -0
  359. package/ui/components/organisms/vc-popup/vc-popup.vue +62 -7
  360. package/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue +6 -6
  361. package/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +5 -5
  362. package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +27 -24
  363. package/ui/components/organisms/vc-table/index.ts +1 -17
  364. package/ui/components/organisms/vc-table/vc-table.stories.ts +1 -1
  365. package/ui/components/organisms/vc-table/vc-table.vue +140 -132
  366. package/ui/locales/en.json +21 -10
  367. package/ui/types/index.ts +2 -0
  368. package/core/directives/click-outside/index.ts +0 -21
  369. package/dist/core/directives/click-outside/index.d.ts +0 -3
  370. package/dist/core/directives/click-outside/index.d.ts.map +0 -1
  371. package/dist/core/plugins/error-interceptor/index.d.ts.map +0 -1
  372. package/dist/core/plugins/error-interceptor/interceptor.d.ts.map +0 -1
  373. /package/{core/plugins → shared/components}/error-interceptor/index.ts +0 -0
@@ -1,5 +1,8 @@
1
- export type OptionProp = ((option: string | Record<string, unknown>) => string) | string | undefined;
2
- export interface Props {
1
+ export type OptionProp<T> = ((option: T) => string) | string | undefined;
2
+ declare const _default: <T extends Record<string, any>, P extends {
3
+ results?: T[];
4
+ totalCount?: number;
5
+ }>(__VLS_props: {
3
6
  /**
4
7
  * Name of select
5
8
  */
@@ -58,24 +61,21 @@ export interface Props {
58
61
  * Available options that the user can select from.
59
62
  * Default value: []
60
63
  */
61
- options?: ((keyword?: string, skip?: number, ids?: string[]) => Promise<{
62
- results?: object[];
63
- totalCount?: number;
64
- }>) | unknown[];
64
+ options?: T[] | ((keyword?: string, skip?: number, ids?: string[]) => Promise<P>);
65
65
  /**
66
66
  * Property of option which holds the 'value'
67
67
  * Default value: id
68
68
  * @param option The current option being processed
69
69
  * @returns Value of the current option
70
70
  */
71
- optionValue?: OptionProp;
71
+ optionValue?: OptionProp<T | P["results"][number]>;
72
72
  /**
73
73
  * Property of option which holds the 'label'
74
74
  * Default value: title
75
75
  * @param option The current option being processed
76
76
  * @returns Label of the current option
77
77
  */
78
- optionLabel?: OptionProp;
78
+ optionLabel?: OptionProp<T | P["results"][number]>;
79
79
  /**
80
80
  * @requires optionValue
81
81
  * @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionValue**
@@ -85,7 +85,7 @@ export interface Props {
85
85
  * @param option The current option being processed
86
86
  * @returns Value of the current option
87
87
  */
88
- displayValue?: OptionProp;
88
+ displayValue?: OptionProp<T | P["results"][number]>;
89
89
  /**
90
90
  * @requires optionLabel
91
91
  * @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionLabel**
@@ -95,7 +95,7 @@ export interface Props {
95
95
  * @param option The current option being processed
96
96
  * @returns Label of the current option
97
97
  */
98
- displayLabel?: OptionProp;
98
+ displayLabel?: OptionProp<T | P["results"][number]>;
99
99
  /**
100
100
  * Update model with the value of the selected option instead of the whole option
101
101
  */
@@ -121,116 +121,640 @@ export interface Props {
121
121
  * Input search activation
122
122
  */
123
123
  searchable?: boolean;
124
- }
125
- export interface Emits {
126
- /**
127
- * Emitted when the component needs to change the model; Is also used by v-model
128
- */
129
- (event: "update:modelValue", inputValue: any): void;
130
- /**
131
- * Emitted when user wants to filter a value
132
- */
133
- (event: "search", inputValue: string): void;
134
- /**
135
- * Emitted when the select options list is hidden
136
- */
137
- (event: "close"): void;
138
- }
139
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
140
- optionValue: string;
141
- optionLabel: string;
142
- debounce: number;
143
- clearable: boolean;
144
- name: string;
145
- autofocus: boolean;
146
- emitValue: boolean;
147
- mapOptions: boolean;
148
- placeholder: string;
149
- options: () => any[];
150
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
151
- "update:modelValue": (inputValue: any) => void;
152
- } & {
153
- search: (inputValue: string) => void;
154
- } & {
155
- close: () => void;
156
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
157
- optionValue: string;
158
- optionLabel: string;
159
- debounce: number;
160
- clearable: boolean;
161
- name: string;
162
- autofocus: boolean;
163
- emitValue: boolean;
164
- mapOptions: boolean;
165
- placeholder: string;
166
- options: () => any[];
167
- }>>> & {
168
- "onUpdate:modelValue"?: (inputValue: any) => any;
169
- onClose?: () => any;
170
- onSearch?: (inputValue: string) => any;
171
- }, {
172
- name: string;
173
- placeholder: string;
174
- options: unknown[] | ((keyword?: string, skip?: number, ids?: string[]) => Promise<{
175
- results?: object[];
176
- totalCount?: number;
177
- }>);
178
- clearable: boolean;
179
- debounce: string | number;
180
- emitValue: boolean;
181
- optionValue: OptionProp;
182
- optionLabel: OptionProp;
183
- mapOptions: boolean;
184
- }>, {
185
- control: (_: {
186
- toggleHandler: () => Promise<void>;
187
- }) => any;
188
- prepend: (_: {}) => any;
189
- 'prepend-inner': (_: {}) => any;
190
- 'selected-item': (_: {
191
- index: any;
192
- opt: any;
193
- selected: boolean;
194
- toggleOption: (opt: {
195
- [x: string]: string;
196
- }) => void;
197
- removeAtIndex: (index: number) => void;
198
- } & {
199
- key: number;
200
- }) => any;
201
- 'append-inner': (_: {}) => any;
202
- error: (_: {}) => any;
203
- hint: (_: {}) => any;
204
- append: (_: {}) => any;
205
- 'no-options': (_: {}) => any;
206
- option: (_: {
207
- index: number;
208
- opt: any;
209
- selected: boolean;
210
- label: any;
211
- toggleOption: (opt: {
212
- [x: string]: string;
213
- }) => void;
214
- }) => any;
215
- }>;
216
- export default _default;
217
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
218
- type __VLS_TypePropsToRuntimeProps<T> = {
219
- [K in keyof T]-?: {} extends Pick<T, K> ? {
220
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
221
- } : {
222
- type: import('vue').PropType<T[K]>;
223
- required: true;
124
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
125
+ props: {
126
+ /**
127
+ * Name of select
128
+ */
129
+ name?: string;
130
+ /**
131
+ * Model of the component; Must be Array if using 'multiple' prop; Use this property with a listener for 'update:modelValue' event OR use v-model directive
132
+ */
133
+ modelValue?: any;
134
+ /**
135
+ * Try to map labels of model from 'options' Array; If you are using emit-value you will probably need to use map-options to display the label text in the select field rather than the value;
136
+ * Default value: true
137
+ */
138
+ mapOptions?: boolean;
139
+ /**
140
+ * Does field have validation errors?
141
+ */
142
+ error?: boolean;
143
+ /**
144
+ * Validation error message (gets displayed only if 'error' is set to 'true')
145
+ */
146
+ errorMessage?: string;
147
+ /**
148
+ * Select label
149
+ */
150
+ label?: string;
151
+ /**
152
+ * Select description (hint) text below input component
153
+ */
154
+ hint?: string;
155
+ /**
156
+ * Prefix
157
+ */
158
+ prefix?: string;
159
+ /**
160
+ * Suffix
161
+ */
162
+ suffix?: string;
163
+ /**
164
+ * Signals the user a process is in progress by displaying a spinner
165
+ */
166
+ loading?: boolean;
167
+ /**
168
+ * Appends clearable icon when a value is set;
169
+ * When clicked, model becomes null
170
+ */
171
+ clearable?: boolean;
172
+ /**
173
+ * Put component in disabled mode
174
+ */
175
+ disabled?: boolean;
176
+ /**
177
+ * Allow multiple selection; Model must be Array
178
+ */
179
+ multiple?: boolean;
180
+ /**
181
+ * Available options that the user can select from.
182
+ * Default value: []
183
+ */
184
+ options?: T[] | ((keyword?: string, skip?: number, ids?: string[]) => Promise<P>);
185
+ /**
186
+ * Property of option which holds the 'value'
187
+ * Default value: id
188
+ * @param option The current option being processed
189
+ * @returns Value of the current option
190
+ */
191
+ optionValue?: OptionProp<T | P["results"][number]>;
192
+ /**
193
+ * Property of option which holds the 'label'
194
+ * Default value: title
195
+ * @param option The current option being processed
196
+ * @returns Label of the current option
197
+ */
198
+ optionLabel?: OptionProp<T | P["results"][number]>;
199
+ /**
200
+ * @requires optionValue
201
+ * @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionValue**
202
+ *
203
+ * Property of option which holds the 'value'
204
+ * Default value: id
205
+ * @param option The current option being processed
206
+ * @returns Value of the current option
207
+ */
208
+ displayValue?: OptionProp<T | P["results"][number]>;
209
+ /**
210
+ * @requires optionLabel
211
+ * @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionLabel**
212
+ *
213
+ * Property of option which holds the 'label'
214
+ * Default value: title
215
+ * @param option The current option being processed
216
+ * @returns Label of the current option
217
+ */
218
+ displayLabel?: OptionProp<T | P["results"][number]>;
219
+ /**
220
+ * Update model with the value of the selected option instead of the whole option
221
+ */
222
+ emitValue?: boolean;
223
+ /**
224
+ * Debounce the search input update with an amount of milliseconds
225
+ * Default value: 500
226
+ */
227
+ debounce?: number | string;
228
+ /**
229
+ * Input placeholder text
230
+ */
231
+ placeholder?: string;
232
+ /**
233
+ * Input tooltip information
234
+ */
235
+ tooltip?: string;
236
+ /**
237
+ * Input required state
238
+ */
239
+ required?: boolean;
240
+ /**
241
+ * Input search activation
242
+ */
243
+ searchable?: boolean;
224
244
  };
225
- };
226
- type __VLS_WithDefaults<P, D> = {
227
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
228
- default: D[K];
229
- } : P[K];
230
- };
231
- type __VLS_WithTemplateSlots<T, S> = T & {
232
- new (): {
233
- $slots: S;
245
+ expose(exposed: {}): void;
246
+ attrs: any;
247
+ slots: {
248
+ /**
249
+ * Custom select control
250
+ */
251
+ control: (scope: {
252
+ toggleHandler: () => void;
253
+ }) => any;
254
+ /**
255
+ * Prepend inner field
256
+ */
257
+ "prepend-inner": (props: any) => any;
258
+ /**
259
+ * Append to inner field
260
+ */
261
+ "append-inner": (props: any) => any;
262
+ /**
263
+ * Prepend outer field
264
+ */
265
+ prepend: (props: any) => any;
266
+ /**
267
+ * Append outer field
268
+ */
269
+ append: (props: any) => any;
270
+ /**
271
+ * What should the menu display after filtering options and none are left to be displayed
272
+ * @param scope
273
+ */
274
+ "no-option": (props: any) => any;
275
+ /**
276
+ * Slot for errors
277
+ */
278
+ error: (props: any) => any;
279
+ /**
280
+ * Slot for hint text
281
+ */
282
+ hint: (props: any) => any;
283
+ /**
284
+ * Override default selection slot
285
+ * @param scope
286
+ */
287
+ "selected-item": (scope: {
288
+ /**
289
+ * Selection index
290
+ */
291
+ index: number;
292
+ /**
293
+ * Selected option -- its value is taken from model
294
+ */
295
+ opt: T | P["results"][number];
296
+ /**
297
+ * Always true -- passed as prop
298
+ */
299
+ selected: boolean;
300
+ /**
301
+ * Remove selected option located at specific index
302
+ * @param index Index at which to remove selection
303
+ */
304
+ removeAtIndex: (index: number) => void;
305
+ }) => any;
306
+ /**
307
+ * Override default selection slot;
308
+ */
309
+ option: (scope: {
310
+ /**
311
+ * Option index
312
+ */
313
+ index: number;
314
+ /**
315
+ * Option -- its value is taken from 'options' prop
316
+ */
317
+ opt: T | P["results"][number];
318
+ /**
319
+ * Is option selected
320
+ */
321
+ selected: boolean;
322
+ /**
323
+ * Add/remove option from model
324
+ * @param opt Option to add to model
325
+ */
326
+ toggleOption: (opt: any) => void;
327
+ }) => any;
328
+ };
329
+ emit: {
330
+ (event: "update:modelValue", inputValue: string | (T | P["results"][number]) | (string | (T | P["results"][number]))[]): void;
331
+ (event: "search", inputValue: string): void;
332
+ (event: "close"): void;
333
+ };
334
+ }, "slots" | "attrs" | "emit">, __VLS_setup?: {
335
+ props: {
336
+ /**
337
+ * Name of select
338
+ */
339
+ name?: string;
340
+ /**
341
+ * Model of the component; Must be Array if using 'multiple' prop; Use this property with a listener for 'update:modelValue' event OR use v-model directive
342
+ */
343
+ modelValue?: any;
344
+ /**
345
+ * Try to map labels of model from 'options' Array; If you are using emit-value you will probably need to use map-options to display the label text in the select field rather than the value;
346
+ * Default value: true
347
+ */
348
+ mapOptions?: boolean;
349
+ /**
350
+ * Does field have validation errors?
351
+ */
352
+ error?: boolean;
353
+ /**
354
+ * Validation error message (gets displayed only if 'error' is set to 'true')
355
+ */
356
+ errorMessage?: string;
357
+ /**
358
+ * Select label
359
+ */
360
+ label?: string;
361
+ /**
362
+ * Select description (hint) text below input component
363
+ */
364
+ hint?: string;
365
+ /**
366
+ * Prefix
367
+ */
368
+ prefix?: string;
369
+ /**
370
+ * Suffix
371
+ */
372
+ suffix?: string;
373
+ /**
374
+ * Signals the user a process is in progress by displaying a spinner
375
+ */
376
+ loading?: boolean;
377
+ /**
378
+ * Appends clearable icon when a value is set;
379
+ * When clicked, model becomes null
380
+ */
381
+ clearable?: boolean;
382
+ /**
383
+ * Put component in disabled mode
384
+ */
385
+ disabled?: boolean;
386
+ /**
387
+ * Allow multiple selection; Model must be Array
388
+ */
389
+ multiple?: boolean;
390
+ /**
391
+ * Available options that the user can select from.
392
+ * Default value: []
393
+ */
394
+ options?: T[] | ((keyword?: string, skip?: number, ids?: string[]) => Promise<P>);
395
+ /**
396
+ * Property of option which holds the 'value'
397
+ * Default value: id
398
+ * @param option The current option being processed
399
+ * @returns Value of the current option
400
+ */
401
+ optionValue?: OptionProp<T | P["results"][number]>;
402
+ /**
403
+ * Property of option which holds the 'label'
404
+ * Default value: title
405
+ * @param option The current option being processed
406
+ * @returns Label of the current option
407
+ */
408
+ optionLabel?: OptionProp<T | P["results"][number]>;
409
+ /**
410
+ * @requires optionValue
411
+ * @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionValue**
412
+ *
413
+ * Property of option which holds the 'value'
414
+ * Default value: id
415
+ * @param option The current option being processed
416
+ * @returns Value of the current option
417
+ */
418
+ displayValue?: OptionProp<T | P["results"][number]>;
419
+ /**
420
+ * @requires optionLabel
421
+ * @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionLabel**
422
+ *
423
+ * Property of option which holds the 'label'
424
+ * Default value: title
425
+ * @param option The current option being processed
426
+ * @returns Label of the current option
427
+ */
428
+ displayLabel?: OptionProp<T | P["results"][number]>;
429
+ /**
430
+ * Update model with the value of the selected option instead of the whole option
431
+ */
432
+ emitValue?: boolean;
433
+ /**
434
+ * Debounce the search input update with an amount of milliseconds
435
+ * Default value: 500
436
+ */
437
+ debounce?: number | string;
438
+ /**
439
+ * Input placeholder text
440
+ */
441
+ placeholder?: string;
442
+ /**
443
+ * Input tooltip information
444
+ */
445
+ tooltip?: string;
446
+ /**
447
+ * Input required state
448
+ */
449
+ required?: boolean;
450
+ /**
451
+ * Input search activation
452
+ */
453
+ searchable?: boolean;
454
+ };
455
+ expose(exposed: {}): void;
456
+ attrs: any;
457
+ slots: {
458
+ /**
459
+ * Custom select control
460
+ */
461
+ control: (scope: {
462
+ toggleHandler: () => void;
463
+ }) => any;
464
+ /**
465
+ * Prepend inner field
466
+ */
467
+ "prepend-inner": (props: any) => any;
468
+ /**
469
+ * Append to inner field
470
+ */
471
+ "append-inner": (props: any) => any;
472
+ /**
473
+ * Prepend outer field
474
+ */
475
+ prepend: (props: any) => any;
476
+ /**
477
+ * Append outer field
478
+ */
479
+ append: (props: any) => any;
480
+ /**
481
+ * What should the menu display after filtering options and none are left to be displayed
482
+ * @param scope
483
+ */
484
+ "no-option": (props: any) => any;
485
+ /**
486
+ * Slot for errors
487
+ */
488
+ error: (props: any) => any;
489
+ /**
490
+ * Slot for hint text
491
+ */
492
+ hint: (props: any) => any;
493
+ /**
494
+ * Override default selection slot
495
+ * @param scope
496
+ */
497
+ "selected-item": (scope: {
498
+ /**
499
+ * Selection index
500
+ */
501
+ index: number;
502
+ /**
503
+ * Selected option -- its value is taken from model
504
+ */
505
+ opt: T | P["results"][number];
506
+ /**
507
+ * Always true -- passed as prop
508
+ */
509
+ selected: boolean;
510
+ /**
511
+ * Remove selected option located at specific index
512
+ * @param index Index at which to remove selection
513
+ */
514
+ removeAtIndex: (index: number) => void;
515
+ }) => any;
516
+ /**
517
+ * Override default selection slot;
518
+ */
519
+ option: (scope: {
520
+ /**
521
+ * Option index
522
+ */
523
+ index: number;
524
+ /**
525
+ * Option -- its value is taken from 'options' prop
526
+ */
527
+ opt: T | P["results"][number];
528
+ /**
529
+ * Is option selected
530
+ */
531
+ selected: boolean;
532
+ /**
533
+ * Add/remove option from model
534
+ * @param opt Option to add to model
535
+ */
536
+ toggleOption: (opt: any) => void;
537
+ }) => any;
538
+ };
539
+ emit: {
540
+ (event: "update:modelValue", inputValue: string | (T | P["results"][number]) | (string | (T | P["results"][number]))[]): void;
541
+ (event: "search", inputValue: string): void;
542
+ (event: "close"): void;
543
+ };
544
+ }) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
545
+ [key: string]: any;
546
+ }> & {
547
+ __ctx?: {
548
+ props: {
549
+ /**
550
+ * Name of select
551
+ */
552
+ name?: string;
553
+ /**
554
+ * Model of the component; Must be Array if using 'multiple' prop; Use this property with a listener for 'update:modelValue' event OR use v-model directive
555
+ */
556
+ modelValue?: any;
557
+ /**
558
+ * Try to map labels of model from 'options' Array; If you are using emit-value you will probably need to use map-options to display the label text in the select field rather than the value;
559
+ * Default value: true
560
+ */
561
+ mapOptions?: boolean;
562
+ /**
563
+ * Does field have validation errors?
564
+ */
565
+ error?: boolean;
566
+ /**
567
+ * Validation error message (gets displayed only if 'error' is set to 'true')
568
+ */
569
+ errorMessage?: string;
570
+ /**
571
+ * Select label
572
+ */
573
+ label?: string;
574
+ /**
575
+ * Select description (hint) text below input component
576
+ */
577
+ hint?: string;
578
+ /**
579
+ * Prefix
580
+ */
581
+ prefix?: string;
582
+ /**
583
+ * Suffix
584
+ */
585
+ suffix?: string;
586
+ /**
587
+ * Signals the user a process is in progress by displaying a spinner
588
+ */
589
+ loading?: boolean;
590
+ /**
591
+ * Appends clearable icon when a value is set;
592
+ * When clicked, model becomes null
593
+ */
594
+ clearable?: boolean;
595
+ /**
596
+ * Put component in disabled mode
597
+ */
598
+ disabled?: boolean;
599
+ /**
600
+ * Allow multiple selection; Model must be Array
601
+ */
602
+ multiple?: boolean;
603
+ /**
604
+ * Available options that the user can select from.
605
+ * Default value: []
606
+ */
607
+ options?: T[] | ((keyword?: string, skip?: number, ids?: string[]) => Promise<P>);
608
+ /**
609
+ * Property of option which holds the 'value'
610
+ * Default value: id
611
+ * @param option The current option being processed
612
+ * @returns Value of the current option
613
+ */
614
+ optionValue?: OptionProp<T | P["results"][number]>;
615
+ /**
616
+ * Property of option which holds the 'label'
617
+ * Default value: title
618
+ * @param option The current option being processed
619
+ * @returns Label of the current option
620
+ */
621
+ optionLabel?: OptionProp<T | P["results"][number]>;
622
+ /**
623
+ * @requires optionValue
624
+ * @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionValue**
625
+ *
626
+ * Property of option which holds the 'value'
627
+ * Default value: id
628
+ * @param option The current option being processed
629
+ * @returns Value of the current option
630
+ */
631
+ displayValue?: OptionProp<T | P["results"][number]>;
632
+ /**
633
+ * @requires optionLabel
634
+ * @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionLabel**
635
+ *
636
+ * Property of option which holds the 'label'
637
+ * Default value: title
638
+ * @param option The current option being processed
639
+ * @returns Label of the current option
640
+ */
641
+ displayLabel?: OptionProp<T | P["results"][number]>;
642
+ /**
643
+ * Update model with the value of the selected option instead of the whole option
644
+ */
645
+ emitValue?: boolean;
646
+ /**
647
+ * Debounce the search input update with an amount of milliseconds
648
+ * Default value: 500
649
+ */
650
+ debounce?: number | string;
651
+ /**
652
+ * Input placeholder text
653
+ */
654
+ placeholder?: string;
655
+ /**
656
+ * Input tooltip information
657
+ */
658
+ tooltip?: string;
659
+ /**
660
+ * Input required state
661
+ */
662
+ required?: boolean;
663
+ /**
664
+ * Input search activation
665
+ */
666
+ searchable?: boolean;
667
+ };
668
+ expose(exposed: {}): void;
669
+ attrs: any;
670
+ slots: {
671
+ /**
672
+ * Custom select control
673
+ */
674
+ control: (scope: {
675
+ toggleHandler: () => void;
676
+ }) => any;
677
+ /**
678
+ * Prepend inner field
679
+ */
680
+ "prepend-inner": (props: any) => any;
681
+ /**
682
+ * Append to inner field
683
+ */
684
+ "append-inner": (props: any) => any;
685
+ /**
686
+ * Prepend outer field
687
+ */
688
+ prepend: (props: any) => any;
689
+ /**
690
+ * Append outer field
691
+ */
692
+ append: (props: any) => any;
693
+ /**
694
+ * What should the menu display after filtering options and none are left to be displayed
695
+ * @param scope
696
+ */
697
+ "no-option": (props: any) => any;
698
+ /**
699
+ * Slot for errors
700
+ */
701
+ error: (props: any) => any;
702
+ /**
703
+ * Slot for hint text
704
+ */
705
+ hint: (props: any) => any;
706
+ /**
707
+ * Override default selection slot
708
+ * @param scope
709
+ */
710
+ "selected-item": (scope: {
711
+ /**
712
+ * Selection index
713
+ */
714
+ index: number;
715
+ /**
716
+ * Selected option -- its value is taken from model
717
+ */
718
+ opt: T | P["results"][number];
719
+ /**
720
+ * Always true -- passed as prop
721
+ */
722
+ selected: boolean;
723
+ /**
724
+ * Remove selected option located at specific index
725
+ * @param index Index at which to remove selection
726
+ */
727
+ removeAtIndex: (index: number) => void;
728
+ }) => any;
729
+ /**
730
+ * Override default selection slot;
731
+ */
732
+ option: (scope: {
733
+ /**
734
+ * Option index
735
+ */
736
+ index: number;
737
+ /**
738
+ * Option -- its value is taken from 'options' prop
739
+ */
740
+ opt: T | P["results"][number];
741
+ /**
742
+ * Is option selected
743
+ */
744
+ selected: boolean;
745
+ /**
746
+ * Add/remove option from model
747
+ * @param opt Option to add to model
748
+ */
749
+ toggleOption: (opt: any) => void;
750
+ }) => any;
751
+ };
752
+ emit: {
753
+ (event: "update:modelValue", inputValue: string | (T | P["results"][number]) | (string | (T | P["results"][number]))[]): void;
754
+ (event: "search", inputValue: string): void;
755
+ (event: "close"): void;
756
+ };
234
757
  };
235
758
  };
759
+ export default _default;
236
760
  //# sourceMappingURL=vc-select.vue.d.ts.map