@vc-shell/framework 1.0.39 → 1.0.40

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 (212) hide show
  1. package/core/composables/usePermissions/index.ts +1 -1
  2. package/core/composables/useSettings/index.ts +31 -5
  3. package/core/types/index.ts +12 -12
  4. package/dist/core/composables/useSettings/index.d.ts +10 -1
  5. package/dist/core/composables/useSettings/index.d.ts.map +1 -1
  6. package/dist/core/types/index.d.ts.map +1 -1
  7. package/dist/framework.js +69 -69
  8. package/dist/framework.js.map +1 -1
  9. package/dist/index.d.ts +3 -1
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/shared/blade-navigation/types/index.d.ts.map +1 -1
  12. package/dist/style.css +1 -1
  13. package/dist/tsconfig.tsbuildinfo +1 -1
  14. package/dist/ui/components/atoms/vc-badge/index.d.ts +5 -0
  15. package/dist/ui/components/atoms/vc-badge/index.d.ts.map +1 -0
  16. package/dist/ui/components/atoms/vc-badge/vc-badge-model.d.ts +28 -0
  17. package/dist/ui/components/atoms/vc-badge/vc-badge-model.d.ts.map +1 -0
  18. package/dist/{components → ui/components}/atoms/vc-badge/vc-badge.stories.d.ts +0 -0
  19. package/dist/ui/components/atoms/vc-badge/vc-badge.stories.d.ts.map +1 -0
  20. package/dist/ui/components/atoms/vc-button/index.d.ts +5 -0
  21. package/dist/ui/components/atoms/vc-button/index.d.ts.map +1 -0
  22. package/dist/ui/components/atoms/vc-button/vc-button-model.d.ts +28 -0
  23. package/dist/ui/components/atoms/vc-button/vc-button-model.d.ts.map +1 -0
  24. package/dist/{components → ui/components}/atoms/vc-button/vc-button.stories.d.ts +0 -0
  25. package/dist/ui/components/atoms/vc-button/vc-button.stories.d.ts.map +1 -0
  26. package/dist/{components → ui/components}/atoms/vc-checkbox/vc-checkbox.stories.d.ts +0 -0
  27. package/dist/ui/components/atoms/vc-checkbox/vc-checkbox.stories.d.ts.map +1 -0
  28. package/dist/{components → ui/components}/atoms/vc-container/vc-container.stories.d.ts +0 -0
  29. package/dist/ui/components/atoms/vc-container/vc-container.stories.d.ts.map +1 -0
  30. package/dist/{components → ui/components}/atoms/vc-hint/vc-hint.stories.d.ts +0 -0
  31. package/dist/ui/components/atoms/vc-hint/vc-hint.stories.d.ts.map +1 -0
  32. package/dist/{components → ui/components}/atoms/vc-icon/vc-icon.stories.d.ts +0 -0
  33. package/dist/ui/components/atoms/vc-icon/vc-icon.stories.d.ts.map +1 -0
  34. package/dist/{components → ui/components}/atoms/vc-image/vc-image.stories.d.ts +0 -0
  35. package/dist/ui/components/atoms/vc-image/vc-image.stories.d.ts.map +1 -0
  36. package/dist/{components → ui/components}/atoms/vc-label/vc-label.stories.d.ts +0 -0
  37. package/dist/ui/components/atoms/vc-label/vc-label.stories.d.ts.map +1 -0
  38. package/dist/{components → ui/components}/atoms/vc-link/vc-link.stories.d.ts +0 -0
  39. package/dist/ui/components/atoms/vc-link/vc-link.stories.d.ts.map +1 -0
  40. package/dist/{components → ui/components}/atoms/vc-progress/vc-progress.stories.d.ts +0 -0
  41. package/dist/ui/components/atoms/vc-progress/vc-progress.stories.d.ts.map +1 -0
  42. package/dist/{components → ui/components}/atoms/vc-status/vc-status.stories.d.ts +0 -0
  43. package/dist/ui/components/atoms/vc-status/vc-status.stories.d.ts.map +1 -0
  44. package/dist/{components → ui/components}/atoms/vc-switch/vc-switch.stories.d.ts +0 -0
  45. package/dist/ui/components/atoms/vc-switch/vc-switch.stories.d.ts.map +1 -0
  46. package/dist/{components → ui/components}/index.d.ts +4 -3
  47. package/dist/ui/components/index.d.ts.map +1 -0
  48. package/dist/{components → ui/components}/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.d.ts +0 -0
  49. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.d.ts.map +1 -0
  50. package/dist/{components → ui/components}/molecules/vc-form/vc-form.stories.d.ts +0 -0
  51. package/dist/ui/components/molecules/vc-form/vc-form.stories.d.ts.map +1 -0
  52. package/dist/ui/components/molecules/vc-input/index.d.ts +5 -0
  53. package/dist/ui/components/molecules/vc-input/index.d.ts.map +1 -0
  54. package/dist/ui/components/molecules/vc-input/vc-input-model.d.ts +140 -0
  55. package/dist/ui/components/molecules/vc-input/vc-input-model.d.ts.map +1 -0
  56. package/dist/ui/components/molecules/vc-input-currency/index.d.ts +5 -0
  57. package/dist/ui/components/molecules/vc-input-currency/index.d.ts.map +1 -0
  58. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency-model.d.ts +124 -0
  59. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency-model.d.ts.map +1 -0
  60. package/dist/{components → ui/components}/molecules/vc-pagination/vc-pagination.stories.d.ts +0 -0
  61. package/dist/ui/components/molecules/vc-pagination/vc-pagination.stories.d.ts.map +1 -0
  62. package/dist/{components → ui/components}/molecules/vc-rating/vc-rating.stories.d.ts +0 -0
  63. package/dist/ui/components/molecules/vc-rating/vc-rating.stories.d.ts.map +1 -0
  64. package/dist/ui/components/molecules/vc-select/index.d.ts +5 -0
  65. package/dist/ui/components/molecules/vc-select/index.d.ts.map +1 -0
  66. package/dist/ui/components/molecules/vc-select/vc-select-model.d.ts +207 -0
  67. package/dist/ui/components/molecules/vc-select/vc-select-model.d.ts.map +1 -0
  68. package/dist/{components → ui/components}/molecules/vc-textarea/vc-textarea.stories.d.ts +0 -0
  69. package/dist/ui/components/molecules/vc-textarea/vc-textarea.stories.d.ts.map +1 -0
  70. package/dist/{components → ui/components}/organisms/vc-app/vc-app.stories.d.ts +0 -0
  71. package/dist/ui/components/organisms/vc-app/vc-app.stories.d.ts.map +1 -0
  72. package/dist/{components → ui/components}/organisms/vc-blade/vc-blade.stories.d.ts +0 -0
  73. package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts.map +1 -0
  74. package/dist/{components → ui/components}/organisms/vc-login-form/vc-login-form.stories.d.ts +0 -0
  75. package/dist/ui/components/organisms/vc-login-form/vc-login-form.stories.d.ts.map +1 -0
  76. package/dist/{components → ui/components}/organisms/vc-popup/vc-popup.stories.d.ts +0 -0
  77. package/dist/ui/components/organisms/vc-popup/vc-popup.stories.d.ts.map +1 -0
  78. package/dist/{components → ui/components}/organisms/vc-table/vc-table.stories.d.ts +0 -0
  79. package/dist/ui/components/organisms/vc-table/vc-table.stories.d.ts.map +1 -0
  80. package/dist/ui/types/index.d.ts +13 -0
  81. package/dist/ui/types/index.d.ts.map +1 -0
  82. package/dist/ui/types/ts-helpers.d.ts +13 -0
  83. package/dist/ui/types/ts-helpers.d.ts.map +1 -0
  84. package/dist/vite.config.d.ts.map +1 -1
  85. package/package.json +27 -10
  86. package/shared/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +9 -9
  87. package/shared/assets/components/assets-details/assets-details.vue +12 -12
  88. package/shared/blade-navigation/composables/useBladeNavigation/index.ts +4 -4
  89. package/shared/blade-navigation/types/index.ts +25 -25
  90. package/tailwind.config.js +4 -3
  91. package/ui/components/atoms/vc-badge/index.ts +7 -0
  92. package/ui/components/atoms/vc-badge/vc-badge-model.ts +30 -0
  93. package/{components → ui/components}/atoms/vc-badge/vc-badge.stories.ts +0 -0
  94. package/ui/components/atoms/vc-badge/vc-badge.vue +57 -0
  95. package/ui/components/atoms/vc-button/index.ts +7 -0
  96. package/ui/components/atoms/vc-button/vc-button-model.ts +30 -0
  97. package/{components → ui/components}/atoms/vc-button/vc-button.stories.ts +0 -0
  98. package/{components → ui/components}/atoms/vc-button/vc-button.vue +54 -54
  99. package/{components → ui/components}/atoms/vc-card/vc-card.vue +15 -15
  100. package/{components → ui/components}/atoms/vc-checkbox/vc-checkbox.stories.ts +0 -0
  101. package/{components → ui/components}/atoms/vc-checkbox/vc-checkbox.vue +21 -21
  102. package/{components → ui/components}/atoms/vc-col/vc-col.vue +2 -2
  103. package/{components → ui/components}/atoms/vc-container/vc-container.stories.ts +0 -0
  104. package/{components → ui/components}/atoms/vc-container/vc-container.vue +21 -19
  105. package/{components → ui/components}/atoms/vc-hint/vc-hint.stories.ts +0 -0
  106. package/{components → ui/components}/atoms/vc-hint/vc-hint.vue +1 -1
  107. package/{components → ui/components}/atoms/vc-icon/vc-icon.stories.ts +0 -0
  108. package/{components → ui/components}/atoms/vc-icon/vc-icon.vue +1 -1
  109. package/{components → ui/components}/atoms/vc-image/vc-image.stories.ts +0 -0
  110. package/{components → ui/components}/atoms/vc-image/vc-image.vue +9 -9
  111. package/{components → ui/components}/atoms/vc-info-row/vc-info-row.vue +3 -3
  112. package/{components → ui/components}/atoms/vc-label/vc-label.stories.ts +0 -0
  113. package/{components → ui/components}/atoms/vc-label/vc-label.vue +6 -6
  114. package/{components → ui/components}/atoms/vc-link/vc-link.stories.ts +0 -0
  115. package/{components → ui/components}/atoms/vc-link/vc-link.vue +3 -3
  116. package/ui/components/atoms/vc-loading/vc-loading.vue +33 -0
  117. package/{components → ui/components}/atoms/vc-progress/vc-progress.stories.ts +0 -0
  118. package/{components → ui/components}/atoms/vc-progress/vc-progress.vue +2 -2
  119. package/{components → ui/components}/atoms/vc-row/vc-row.vue +1 -1
  120. package/{components → ui/components}/atoms/vc-status/vc-status.stories.ts +0 -0
  121. package/{components → ui/components}/atoms/vc-status/vc-status.vue +4 -4
  122. package/{components → ui/components}/atoms/vc-status-icon/vc-status-icon.vue +3 -3
  123. package/{components → ui/components}/atoms/vc-switch/vc-switch.stories.ts +0 -0
  124. package/{components → ui/components}/atoms/vc-switch/vc-switch.vue +10 -10
  125. package/{components → ui/components}/atoms/vc-widget/vc-widget.vue +12 -12
  126. package/{components → ui/components}/index.ts +4 -3
  127. package/{components → ui/components}/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue +17 -17
  128. package/{components → ui/components}/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.ts +0 -0
  129. package/{components → ui/components}/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +1 -1
  130. package/{components/molecules/vc-input → ui/components/molecules/vc-currency-input}/vc-input.vue +30 -37
  131. package/{components → ui/components}/molecules/vc-editor/vc-editor.vue +4 -4
  132. package/{components → ui/components}/molecules/vc-file-upload/vc-file-upload.vue +6 -6
  133. package/{components → ui/components}/molecules/vc-form/vc-form.stories.ts +0 -0
  134. package/{components → ui/components}/molecules/vc-form/vc-form.vue +0 -0
  135. package/ui/components/molecules/vc-input/index.ts +8 -0
  136. package/ui/components/molecules/vc-input/vc-input-model.ts +150 -0
  137. package/ui/components/molecules/vc-input/vc-input.vue +324 -0
  138. package/ui/components/molecules/vc-input-currency/index.ts +8 -0
  139. package/ui/components/molecules/vc-input-currency/vc-input-currency-model.ts +128 -0
  140. package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +86 -0
  141. package/{components → ui/components}/molecules/vc-multivalue/vc-multivalue.vue +41 -41
  142. package/{components → ui/components}/molecules/vc-notification/vc-notification.vue +5 -5
  143. package/{components → ui/components}/molecules/vc-pagination/vc-pagination.stories.ts +0 -0
  144. package/{components → ui/components}/molecules/vc-pagination/vc-pagination.vue +24 -24
  145. package/{components → ui/components}/molecules/vc-rating/vc-rating.stories.ts +0 -0
  146. package/{components → ui/components}/molecules/vc-rating/vc-rating.vue +6 -6
  147. package/ui/components/molecules/vc-select/index.ts +7 -0
  148. package/ui/components/molecules/vc-select/vc-select-model.ts +216 -0
  149. package/ui/components/molecules/vc-select/vc-select.vue +727 -0
  150. package/{components → ui/components}/molecules/vc-slider/vc-slider.vue +12 -12
  151. package/{components → ui/components}/molecules/vc-textarea/vc-textarea.stories.ts +0 -0
  152. package/{components → ui/components}/molecules/vc-textarea/vc-textarea.vue +17 -17
  153. package/{components → ui/components}/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +20 -16
  154. package/{components → ui/components}/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +31 -31
  155. package/{components → ui/components}/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +9 -9
  156. package/{components → ui/components}/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +11 -11
  157. package/{components → ui/components}/organisms/vc-app/vc-app.stories.ts +0 -0
  158. package/{components → ui/components}/organisms/vc-app/vc-app.vue +9 -11
  159. package/{components → ui/components}/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +10 -10
  160. package/{components → ui/components}/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue +17 -17
  161. package/{components → ui/components}/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +4 -4
  162. package/{components → ui/components}/organisms/vc-blade/vc-blade.stories.ts +0 -0
  163. package/{components → ui/components}/organisms/vc-blade/vc-blade.vue +5 -5
  164. package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +426 -0
  165. package/{components → ui/components}/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +12 -12
  166. package/{components → ui/components}/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue +9 -9
  167. package/{components → ui/components}/organisms/vc-gallery/vc-gallery.vue +6 -6
  168. package/{components → ui/components}/organisms/vc-login-form/vc-login-form.stories.ts +6 -6
  169. package/{components → ui/components}/organisms/vc-login-form/vc-login-form.vue +5 -5
  170. package/{components → ui/components}/organisms/vc-popup/vc-popup.stories.ts +0 -0
  171. package/{components → ui/components}/organisms/vc-popup/vc-popup.vue +13 -13
  172. package/{components → ui/components}/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +6 -6
  173. package/{components → ui/components}/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue +3 -3
  174. package/{components → ui/components}/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +13 -13
  175. package/{components → ui/components}/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +23 -23
  176. package/{components → ui/components}/organisms/vc-table/vc-table.stories.ts +3 -3
  177. package/{components → ui/components}/organisms/vc-table/vc-table.vue +42 -42
  178. package/ui/types/index.ts +38 -0
  179. package/ui/types/ts-helpers.ts +46 -0
  180. package/components/atoms/vc-badge/vc-badge.vue +0 -63
  181. package/components/atoms/vc-loading/vc-loading.vue +0 -30
  182. package/components/molecules/vc-input/vc-input.stories.ts +0 -26
  183. package/components/molecules/vc-select/vc-select.stories.ts +0 -25
  184. package/components/molecules/vc-select/vc-select.vue +0 -402
  185. package/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +0 -292
  186. package/dist/components/atoms/vc-badge/vc-badge.stories.d.ts.map +0 -1
  187. package/dist/components/atoms/vc-button/vc-button.stories.d.ts.map +0 -1
  188. package/dist/components/atoms/vc-checkbox/vc-checkbox.stories.d.ts.map +0 -1
  189. package/dist/components/atoms/vc-container/vc-container.stories.d.ts.map +0 -1
  190. package/dist/components/atoms/vc-hint/vc-hint.stories.d.ts.map +0 -1
  191. package/dist/components/atoms/vc-icon/vc-icon.stories.d.ts.map +0 -1
  192. package/dist/components/atoms/vc-image/vc-image.stories.d.ts.map +0 -1
  193. package/dist/components/atoms/vc-label/vc-label.stories.d.ts.map +0 -1
  194. package/dist/components/atoms/vc-link/vc-link.stories.d.ts.map +0 -1
  195. package/dist/components/atoms/vc-progress/vc-progress.stories.d.ts.map +0 -1
  196. package/dist/components/atoms/vc-status/vc-status.stories.d.ts.map +0 -1
  197. package/dist/components/atoms/vc-switch/vc-switch.stories.d.ts.map +0 -1
  198. package/dist/components/index.d.ts.map +0 -1
  199. package/dist/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.d.ts.map +0 -1
  200. package/dist/components/molecules/vc-form/vc-form.stories.d.ts.map +0 -1
  201. package/dist/components/molecules/vc-input/vc-input.stories.d.ts +0 -7
  202. package/dist/components/molecules/vc-input/vc-input.stories.d.ts.map +0 -1
  203. package/dist/components/molecules/vc-pagination/vc-pagination.stories.d.ts.map +0 -1
  204. package/dist/components/molecules/vc-rating/vc-rating.stories.d.ts.map +0 -1
  205. package/dist/components/molecules/vc-select/vc-select.stories.d.ts +0 -7
  206. package/dist/components/molecules/vc-select/vc-select.stories.d.ts.map +0 -1
  207. package/dist/components/molecules/vc-textarea/vc-textarea.stories.d.ts.map +0 -1
  208. package/dist/components/organisms/vc-app/vc-app.stories.d.ts.map +0 -1
  209. package/dist/components/organisms/vc-blade/vc-blade.stories.d.ts.map +0 -1
  210. package/dist/components/organisms/vc-login-form/vc-login-form.stories.d.ts.map +0 -1
  211. package/dist/components/organisms/vc-popup/vc-popup.stories.d.ts.map +0 -1
  212. package/dist/components/organisms/vc-table/vc-table.stories.d.ts.map +0 -1
@@ -0,0 +1,5 @@
1
+ import { ComponentPublicInstance } from "vue";
2
+ import { VcBadgeProps } from "./vc-badge-model";
3
+ import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
+ export declare const VcBadge: ComponentConstructor<ComponentPublicInstance<VcBadgeProps>>;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,OAAO,EAAE,oBAAoB,CACxC,uBAAuB,CAAC,YAAY,CAAC,CAC9B,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { VNode } from "vue";
2
+ export interface VcBadgeProps {
3
+ /**
4
+ * Badge active state
5
+ * */
6
+ active?: boolean | undefined;
7
+ /**
8
+ * Put component in disabled state
9
+ * */
10
+ disabled?: boolean | undefined;
11
+ /**
12
+ * Is badge clickable?
13
+ * */
14
+ clickable?: boolean | undefined;
15
+ }
16
+ export interface VcBadgeEmits {
17
+ /**
18
+ * Emitted when component is clicked
19
+ * */
20
+ (event: "click"): void;
21
+ }
22
+ export interface VcBadgeSlots {
23
+ /**
24
+ * Slot for component content
25
+ * */
26
+ default: () => VNode[];
27
+ }
28
+ //# sourceMappingURL=vc-badge-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-badge-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-badge/vc-badge-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,YAAY;IAC3B;;SAEK;IACL,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B;;SAEK;IACL,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B;;SAEK;IACL,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACjC;AAED,MAAM,WAAW,YAAY;IAC3B;;SAEK;IACL,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,YAAY;IAC3B;;SAEK;IACL,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-badge.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-badge/vc-badge.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,KAAK,KAAoB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { ComponentPublicInstance } from "vue";
2
+ import { VcButtonProps } from "./vc-button-model";
3
+ import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
+ export declare const VcBadge: ComponentConstructor<ComponentPublicInstance<VcButtonProps>>;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,OAAO,EAAE,oBAAoB,CACxC,uBAAuB,CAAC,aAAa,CAAC,CAC9B,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { VNode } from "vue";
2
+ export interface VcButtonProps {
3
+ /**
4
+ * Badge active state
5
+ * */
6
+ icon?: string | undefined;
7
+ /**
8
+ * Put component in disabled state
9
+ * */
10
+ disabled?: boolean | undefined;
11
+ /**
12
+ * Is badge clickable?
13
+ * */
14
+ clickable?: boolean | undefined;
15
+ }
16
+ export interface VcButtonEmits {
17
+ /**
18
+ * Emitted when component is clicked
19
+ * */
20
+ (event: "click"): void;
21
+ }
22
+ export interface VcButtonSlots {
23
+ /**
24
+ * Slot for component content
25
+ * */
26
+ default: () => VNode[];
27
+ }
28
+ //# sourceMappingURL=vc-button-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-button-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-button/vc-button-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,aAAa;IAC5B;;SAEK;IACL,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;SAEK;IACL,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B;;SAEK;IACL,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACjC;AAED,MAAM,WAAW,aAAa;IAC5B;;SAEK;IACL,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,aAAa;IAC5B;;SAEK;IACL,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-button.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-button/vc-button.stories.ts"],"names":[],"mappings":";;;;;;;;;;;;AAOA,wBASE;AAUF,eAAO,MAAM,MAAM,KAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-checkbox.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-checkbox/vc-checkbox.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,QAAQ,KAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-container.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-container/vc-container.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAgBF,eAAO,MAAM,SAAS,KAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-hint.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-hint/vc-hint.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,IAAI,KAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-icon.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-icon/vc-icon.stories.ts"],"names":[],"mappings":";;;;;;;;;;;;AAOA,wBASE;AAUF,eAAO,MAAM,IAAI,KAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-image.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-image/vc-image.stories.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAOA,wBAaE;AAWF,eAAO,MAAM,KAAK,KAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-label.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-label/vc-label.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,KAAK,KAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-link.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-link/vc-link.stories.ts"],"names":[],"mappings":";;;;;;;;;;AAOA,wBAME;AAUF,eAAO,MAAM,IAAI,KAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-progress.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-progress/vc-progress.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,QAAQ,KAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-status.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-status/vc-status.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,MAAM,KAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-switch.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-switch/vc-switch.stories.ts"],"names":[],"mappings":";;;;AAQA,wBAGE;AAUF,eAAO,MAAM,MAAM,KAAoB,CAAC"}
@@ -1,4 +1,4 @@
1
- export { default as VcBadge } from "./atoms/vc-badge/vc-badge.vue";
1
+ export { VcBadge } from "./atoms/vc-badge";
2
2
  export { default as VcButton } from "./atoms/vc-button/vc-button.vue";
3
3
  export { default as VcCard } from "./atoms/vc-card/vc-card.vue";
4
4
  export { default as VcCheckbox } from "./atoms/vc-checkbox/vc-checkbox.vue";
@@ -21,12 +21,13 @@ export { default as VcBreadcrumbs } from "./molecules/vc-breadcrumbs/vc-breadcru
21
21
  export { default as VcEditor } from "./molecules/vc-editor/vc-editor.vue";
22
22
  export { default as VcForm } from "./molecules/vc-form/vc-form.vue";
23
23
  export { default as VcFileUpload } from "./molecules/vc-file-upload/vc-file-upload.vue";
24
- export { default as VcInput } from "./molecules/vc-input/vc-input.vue";
24
+ export { VcInput } from "./molecules/vc-input";
25
+ export { VcInputCurrency } from "./molecules/vc-input-currency";
25
26
  export { default as VcMultivalue } from "./molecules/vc-multivalue/vc-multivalue.vue";
26
27
  export { default as VcNotification } from "./molecules/vc-notification/vc-notification.vue";
27
28
  export { default as VcPagination } from "./molecules/vc-pagination/vc-pagination.vue";
28
29
  export { default as VcRating } from "./molecules/vc-rating/vc-rating.vue";
29
- export { default as VcSelect } from "./molecules/vc-select/vc-select.vue";
30
+ export { VcSelect } from "./molecules/vc-select";
30
31
  export { default as VcSlider } from "./molecules/vc-slider/vc-slider.vue";
31
32
  export { default as VcTextarea } from "./molecules/vc-textarea/vc-textarea.vue";
32
33
  export { default as VcApp } from "./organisms/vc-app/vc-app.vue";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../ui/components/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qCAA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AAmC,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yDAAyD,CAAC;AACvG,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,mCAAmC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-breadcrumbs.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,WAAW,KAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-form.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-form/vc-form.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,IAAI,KAAoB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { ComponentPublicInstance } from "vue";
2
+ import { VcInputProps } from "./vc-input-model";
3
+ import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
+ export declare const VcInput: ComponentConstructor<ComponentPublicInstance<VcInputProps>>;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAG7D,eAAO,MAAM,OAAO,EAAE,oBAAoB,CACxC,uBAAuB,CAAC,YAAY,CAAC,CAC9B,CAAC"}
@@ -0,0 +1,140 @@
1
+ import { VNode } from "vue";
2
+ export interface VcInputProps {
3
+ /**
4
+ * Model of the component; Use with a listener for 'update:model-value' event OR use v-model directive
5
+ */
6
+ modelValue?: string | number | Date | null;
7
+ /**
8
+ * Input label text
9
+ */
10
+ label?: string | undefined;
11
+ /**
12
+ * Input placeholder text
13
+ */
14
+ placeholder?: string | undefined;
15
+ /**
16
+ * Input type
17
+ * Default value: text
18
+ */
19
+ type?: "text" | "password" | "email" | "tel" | "number" | "url" | "time" | "date" | "datetime-local" | undefined;
20
+ /**
21
+ * Input description (hint) text below input component
22
+ */
23
+ hint?: string | undefined;
24
+ /**
25
+ * Appends clearable icon when a value is set;
26
+ * When clicked, model becomes null
27
+ */
28
+ clearable?: boolean | undefined;
29
+ /**
30
+ * Prefix
31
+ */
32
+ prefix?: string | undefined;
33
+ /**
34
+ * Suffix
35
+ */
36
+ suffix?: string | undefined;
37
+ /**
38
+ * Used to specify the name of the control; If not specified, it takes the value 'Field'
39
+ */
40
+ name?: string | undefined;
41
+ /**
42
+ * Signals the user a process is in progress by displaying a spinner
43
+ */
44
+ loading?: boolean | undefined;
45
+ /**
46
+ * Debounce amount (in milliseconds) when updating model
47
+ */
48
+ debounce?: string | number | undefined;
49
+ /**
50
+ * Put component in disabled mode
51
+ */
52
+ disabled?: boolean | undefined;
53
+ /**
54
+ * Focus field on initial component render
55
+ */
56
+ autofocus?: boolean | undefined;
57
+ /**
58
+ * Does field have validation errors?
59
+ */
60
+ error?: boolean | undefined;
61
+ /**
62
+ * Validation error message (gets displayed only if 'error' is set to 'true')
63
+ */
64
+ errorMessage?: string | undefined;
65
+ /**
66
+ * Specify a max length of model
67
+ * Default value: 1024
68
+ */
69
+ maxlength?: string | number | undefined;
70
+ /**
71
+ * Input tooltip information
72
+ */
73
+ tooltip?: string | undefined;
74
+ /**
75
+ * Input required state
76
+ */
77
+ required?: boolean | undefined;
78
+ }
79
+ export interface VcInputEmits {
80
+ /**
81
+ * Emitted when the component needs to change the model; Is also used by v-model
82
+ * @param event Emitted event name
83
+ * @param value New model value
84
+ */
85
+ (event: "update:modelValue", value: string | number | Date | null): void;
86
+ }
87
+ export interface VcInputSlots {
88
+ /**
89
+ * Slot for controls
90
+ * @param scope
91
+ */
92
+ control: (scope: {
93
+ /**
94
+ * Field is editable
95
+ */
96
+ editable: boolean;
97
+ /**
98
+ * Field has focus
99
+ */
100
+ focused: boolean;
101
+ /**
102
+ * Field's value
103
+ */
104
+ modelValue: string | number | Date | null;
105
+ /**
106
+ * Function that emits an @input event in the context of the field
107
+ * @param value Value to be emitted
108
+ */
109
+ emitValue: (value: string | number | Date | null) => void;
110
+ /**
111
+ * Field placeholder text
112
+ */
113
+ placeholder?: string | undefined;
114
+ }) => VNode[];
115
+ /**
116
+ * Prepend outer field
117
+ */
118
+ prepend: () => VNode[];
119
+ /**
120
+ * Prepend inner field
121
+ */
122
+ "prepend-inner": () => VNode[];
123
+ /**
124
+ * Append to inner field
125
+ */
126
+ "append-inner": () => VNode[];
127
+ /**
128
+ * Append outer field
129
+ */
130
+ append: () => VNode[];
131
+ /**
132
+ * Slot for errors
133
+ */
134
+ error: () => VNode[];
135
+ /**
136
+ * Slot for hint text
137
+ */
138
+ hint: () => VNode[];
139
+ }
140
+ //# sourceMappingURL=vc-input-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-input-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-input/vc-input-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAC3C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;;OAGG;IACH,IAAI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AAK,EAAE;QACf;;WAEG;QACH,QAAQ,EAAE,OAAO,CAAC;QAClB;;WAEG;QACH,OAAO,EAAE,OAAO,CAAC;QACjB;;WAEG;QACH,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;QAC1C;;;WAGG;QACH,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;QAC1D;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KAClC,KAAK,KAAK,EAAE,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;IACvB;;OAEG;IACH,eAAe,EAAE,MAAM,KAAK,EAAE,CAAC;IAC/B;;OAEG;IACH,cAAc,EAAE,MAAM,KAAK,EAAE,CAAC;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,KAAK,EAAE,CAAC;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,KAAK,EAAE,CAAC;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,KAAK,EAAE,CAAC;CACrB"}
@@ -0,0 +1,5 @@
1
+ import { ComponentPublicInstance } from "vue";
2
+ import { VcInputCurrencyProps } from "./vc-input-currency-model";
3
+ import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
+ export declare const VcInputCurrency: ComponentConstructor<ComponentPublicInstance<VcInputCurrencyProps>>;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-input-currency/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAG7D,eAAO,MAAM,eAAe,EAAE,oBAAoB,CAChD,uBAAuB,CAAC,oBAAoB,CAAC,CAC9B,CAAC"}
@@ -0,0 +1,124 @@
1
+ import { VNode } from "vue";
2
+ export type OptionProp = ((option: string | Record<string, unknown>) => string) | string | undefined;
3
+ export interface VcInputCurrencyProps {
4
+ /**
5
+ * Model of the currency component; Use with a listener for 'update:price' event OR use v-model:price directive
6
+ */
7
+ modelValue?: string | number | Date | null;
8
+ /**
9
+ * Input label text
10
+ */
11
+ label?: string | undefined;
12
+ /**
13
+ * Input placeholder text
14
+ */
15
+ placeholder?: string | undefined;
16
+ /**
17
+ * Input description (hint) text below input component
18
+ */
19
+ hint?: string | undefined;
20
+ /**
21
+ * Appends clearable icon when a value is set;
22
+ * When clicked, model becomes null
23
+ */
24
+ clearable?: boolean | undefined;
25
+ /**
26
+ * Prefix
27
+ */
28
+ prefix?: string | undefined;
29
+ /**
30
+ * Suffix
31
+ */
32
+ suffix?: string | undefined;
33
+ /**
34
+ * Used to specify the name of the control; If not specified, it takes the value 'Field'
35
+ */
36
+ name?: string | undefined;
37
+ /**
38
+ * Signals the user a process is in progress by displaying a spinner
39
+ */
40
+ loading?: boolean | undefined;
41
+ /**
42
+ * Debounce amount (in milliseconds) for search input
43
+ * Default: 0
44
+ */
45
+ debounce?: string | number | undefined;
46
+ /**
47
+ * Put component in disabled mode
48
+ */
49
+ disabled?: boolean | undefined;
50
+ /**
51
+ * Focus field on initial component render
52
+ */
53
+ autofocus?: boolean | undefined;
54
+ /**
55
+ * Does field have validation errors?
56
+ */
57
+ error?: boolean | undefined;
58
+ /**
59
+ * Validation error message (gets displayed only if 'error' is set to 'true')
60
+ */
61
+ errorMessage?: string | undefined;
62
+ /**
63
+ * Specify a max length of model
64
+ * Default value: 1024
65
+ */
66
+ maxlength?: string | number | undefined;
67
+ /**
68
+ * Input tooltip information
69
+ */
70
+ tooltip?: string | undefined;
71
+ /**
72
+ * Input required state
73
+ */
74
+ required?: boolean | undefined;
75
+ /**
76
+ * Option label
77
+ */
78
+ option?: string | undefined;
79
+ /**
80
+ * Available options that the user can select from.
81
+ * Default value: []
82
+ */
83
+ options?: any[] | undefined;
84
+ /**
85
+ * Property of option which holds the 'value'
86
+ * Default value: id
87
+ * @param option The current option being processed
88
+ * @returns Value of the current option
89
+ */
90
+ optionValue?: OptionProp;
91
+ /**
92
+ * Property of option which holds the 'label'
93
+ * Default value: title
94
+ * @param option The current option being processed
95
+ * @returns Label of the current option
96
+ */
97
+ optionLabel?: OptionProp;
98
+ }
99
+ export interface VcInputCurrencyEmits {
100
+ /**
101
+ * Emitted when the component needs to change the model; Is also used by v-model
102
+ * @param event Emitted event name
103
+ * @param value New model value
104
+ */
105
+ (event: "update:modelValue", value: string | number | null): void;
106
+ /**
107
+ * Emitted when the component needs to change the options model; Is also used by v-model:option
108
+ * @param event Emitted event name
109
+ * @param value New model value
110
+ */
111
+ (event: "update:option", value: string | number | null): void;
112
+ }
113
+ export interface VcInputCurrencySlots {
114
+ /**
115
+ * Slot for custom dropdown open handler
116
+ */
117
+ button: (scope: {
118
+ /**
119
+ * Dropdown open/close handler
120
+ */
121
+ toggleHandler: () => void;
122
+ }) => VNode[];
123
+ }
124
+ //# sourceMappingURL=vc-input-currency-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-input-currency-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-input-currency/vc-input-currency-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,MAAM,UAAU,GAClB,CAAC,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC,GACtD,MAAM,GACN,SAAS,CAAC;AAEd,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAC3C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CA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ACH,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAClE;;;;OAIG;IACH,CAAC,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;CAC/D;AACD,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,MAAM,EAAE,CAAC,KAAK,EAAE;QACd;;WAEG;QACH,aAAa,EAAE,MAAM,IAAI,CAAC;KAC3B,KAAK,KAAK,EAAE,CAAC;CACf"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-pagination.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-pagination/vc-pagination.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,UAAU,KAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-rating.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-rating/vc-rating.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,MAAM,KAAoB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { ComponentPublicInstance } from "vue";
2
+ import { VcSelectProps } from "./vc-select-model";
3
+ import { ComponentConstructor } from "@/ui/types/ts-helpers";
4
+ export declare const VcSelect: ComponentConstructor<ComponentPublicInstance<VcSelectProps>>;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,QAAQ,EAAE,oBAAoB,CACzC,uBAAuB,CAAC,aAAa,CAAC,CAC9B,CAAC"}