@vc-shell/framework 1.0.56 → 1.0.57

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 (179) hide show
  1. package/dist/framework.mjs +126 -57
  2. package/dist/index.css +1 -1
  3. package/dist/types/index.d.ts +1 -1
  4. package/dist/types/index.d.ts.map +1 -1
  5. package/dist/types/shared/app-switcher/components/index.d.ts +1 -1
  6. package/dist/types/shared/app-switcher/components/index.d.ts.map +1 -1
  7. package/dist/types/shared/app-switcher/components/vc-app-switcher/index.d.ts +22 -0
  8. package/dist/types/shared/app-switcher/components/vc-app-switcher/index.d.ts.map +1 -0
  9. package/dist/types/shared/app-switcher/index.d.ts +6 -0
  10. package/dist/types/shared/app-switcher/index.d.ts.map +1 -1
  11. package/dist/types/shared/assets/components/assets-details/index.d.ts +46 -0
  12. package/dist/types/shared/assets/components/assets-details/index.d.ts.map +1 -0
  13. package/dist/types/shared/assets/components/index.d.ts +1 -1
  14. package/dist/types/shared/assets/components/index.d.ts.map +1 -1
  15. package/dist/types/shared/assets/index.d.ts +6 -0
  16. package/dist/types/shared/assets/index.d.ts.map +1 -1
  17. package/dist/types/shared/blade-navigation/components/index.d.ts +1 -1
  18. package/dist/types/shared/blade-navigation/components/index.d.ts.map +1 -1
  19. package/dist/types/shared/blade-navigation/components/vc-blade-navigation/index.d.ts +66 -0
  20. package/dist/types/shared/blade-navigation/components/vc-blade-navigation/index.d.ts.map +1 -0
  21. package/dist/types/shared/blade-navigation/index.d.ts +6 -0
  22. package/dist/types/shared/blade-navigation/index.d.ts.map +1 -1
  23. package/dist/types/ui/components/atoms/vc-badge/index.d.ts +106 -9
  24. package/dist/types/ui/components/atoms/vc-badge/index.d.ts.map +1 -1
  25. package/dist/types/ui/components/atoms/vc-button/index.d.ts +153 -6
  26. package/dist/types/ui/components/atoms/vc-button/index.d.ts.map +1 -1
  27. package/dist/types/ui/components/atoms/vc-card/index.d.ts +163 -7
  28. package/dist/types/ui/components/atoms/vc-card/index.d.ts.map +1 -1
  29. package/dist/types/ui/components/atoms/vc-checkbox/index.d.ts +143 -7
  30. package/dist/types/ui/components/atoms/vc-checkbox/index.d.ts.map +1 -1
  31. package/dist/types/ui/components/atoms/vc-col/index.d.ts +81 -6
  32. package/dist/types/ui/components/atoms/vc-col/index.d.ts.map +1 -1
  33. package/dist/types/ui/components/atoms/vc-container/index.d.ts +112 -6
  34. package/dist/types/ui/components/atoms/vc-container/index.d.ts.map +1 -1
  35. package/dist/types/ui/components/atoms/vc-hint/index.d.ts +51 -6
  36. package/dist/types/ui/components/atoms/vc-hint/index.d.ts.map +1 -1
  37. package/dist/types/ui/components/atoms/vc-icon/index.d.ts +26 -7
  38. package/dist/types/ui/components/atoms/vc-icon/index.d.ts.map +1 -1
  39. package/dist/types/ui/components/atoms/vc-image/index.d.ts +67 -7
  40. package/dist/types/ui/components/atoms/vc-image/index.d.ts.map +1 -1
  41. package/dist/types/ui/components/atoms/vc-info-row/index.d.ts +33 -7
  42. package/dist/types/ui/components/atoms/vc-info-row/index.d.ts.map +1 -1
  43. package/dist/types/ui/components/atoms/vc-label/index.d.ts +95 -7
  44. package/dist/types/ui/components/atoms/vc-label/index.d.ts.map +1 -1
  45. package/dist/types/ui/components/atoms/vc-link/index.d.ts +103 -6
  46. package/dist/types/ui/components/atoms/vc-link/index.d.ts.map +1 -1
  47. package/dist/types/ui/components/atoms/vc-loading/index.d.ts +9 -7
  48. package/dist/types/ui/components/atoms/vc-loading/index.d.ts.map +1 -1
  49. package/dist/types/ui/components/atoms/vc-progress/index.d.ts +100 -6
  50. package/dist/types/ui/components/atoms/vc-progress/index.d.ts.map +1 -1
  51. package/dist/types/ui/components/atoms/vc-row/index.d.ts +51 -6
  52. package/dist/types/ui/components/atoms/vc-row/index.d.ts.map +1 -1
  53. package/dist/types/ui/components/atoms/vc-status/index.d.ts +116 -6
  54. package/dist/types/ui/components/atoms/vc-status/index.d.ts.map +1 -1
  55. package/dist/types/ui/components/atoms/vc-status-icon/index.d.ts +9 -7
  56. package/dist/types/ui/components/atoms/vc-status-icon/index.d.ts.map +1 -1
  57. package/dist/types/ui/components/atoms/vc-switch/index.d.ts +39 -7
  58. package/dist/types/ui/components/atoms/vc-switch/index.d.ts.map +1 -1
  59. package/dist/types/ui/components/atoms/vc-widget/index.d.ts +31 -7
  60. package/dist/types/ui/components/atoms/vc-widget/index.d.ts.map +1 -1
  61. package/dist/types/ui/components/index.d.ts +39 -39
  62. package/dist/types/ui/components/index.d.ts.map +1 -1
  63. package/dist/types/ui/components/molecules/vc-breadcrumbs/index.d.ts +33 -7
  64. package/dist/types/ui/components/molecules/vc-breadcrumbs/index.d.ts.map +1 -1
  65. package/dist/types/ui/components/molecules/vc-code-editor/index.d.ts +188 -6
  66. package/dist/types/ui/components/molecules/vc-code-editor/index.d.ts.map +1 -1
  67. package/dist/types/ui/components/molecules/vc-editor/index.d.ts +204 -6
  68. package/dist/types/ui/components/molecules/vc-editor/index.d.ts.map +1 -1
  69. package/dist/types/ui/components/molecules/vc-file-upload/index.d.ts +175 -6
  70. package/dist/types/ui/components/molecules/vc-file-upload/index.d.ts.map +1 -1
  71. package/dist/types/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  72. package/dist/types/ui/components/molecules/vc-form/index.d.ts +51 -6
  73. package/dist/types/ui/components/molecules/vc-form/index.d.ts.map +1 -1
  74. package/dist/types/ui/components/molecules/vc-input/index.d.ts +375 -46
  75. package/dist/types/ui/components/molecules/vc-input/index.d.ts.map +1 -1
  76. package/dist/types/ui/components/molecules/vc-input-currency/index.d.ts +365 -12
  77. package/dist/types/ui/components/molecules/vc-input-currency/index.d.ts.map +1 -1
  78. package/dist/types/ui/components/molecules/vc-notification/index.d.ts +101 -6
  79. package/dist/types/ui/components/molecules/vc-notification/index.d.ts.map +1 -1
  80. package/dist/types/ui/components/molecules/vc-pagination/index.d.ts +36 -7
  81. package/dist/types/ui/components/molecules/vc-pagination/index.d.ts.map +1 -1
  82. package/dist/types/ui/components/molecules/vc-rating/index.d.ts +156 -6
  83. package/dist/types/ui/components/molecules/vc-rating/index.d.ts.map +1 -1
  84. package/dist/types/ui/components/molecules/vc-select/index.d.ts +566 -69
  85. package/dist/types/ui/components/molecules/vc-select/index.d.ts.map +1 -1
  86. package/dist/types/ui/components/molecules/vc-slider/index.d.ts +159 -10
  87. package/dist/types/ui/components/molecules/vc-slider/index.d.ts.map +1 -1
  88. package/dist/types/ui/components/molecules/vc-textarea/index.d.ts +204 -6
  89. package/dist/types/ui/components/molecules/vc-textarea/index.d.ts.map +1 -1
  90. package/dist/types/ui/components/organisms/vc-app/index.d.ts +302 -9
  91. package/dist/types/ui/components/organisms/vc-app/index.d.ts.map +1 -1
  92. package/dist/types/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
  93. package/dist/types/ui/components/organisms/vc-blade/index.d.ts +201 -7
  94. package/dist/types/ui/components/organisms/vc-blade/index.d.ts.map +1 -1
  95. package/dist/types/ui/components/organisms/vc-dynamic-property/index.d.ts +59 -7
  96. package/dist/types/ui/components/organisms/vc-dynamic-property/index.d.ts.map +1 -1
  97. package/dist/types/ui/components/organisms/vc-gallery/index.d.ts +157 -7
  98. package/dist/types/ui/components/organisms/vc-gallery/index.d.ts.map +1 -1
  99. package/dist/types/ui/components/organisms/vc-login-form/index.d.ts +113 -6
  100. package/dist/types/ui/components/organisms/vc-login-form/index.d.ts.map +1 -1
  101. package/dist/types/ui/components/organisms/vc-popup/index.d.ts +129 -6
  102. package/dist/types/ui/components/organisms/vc-popup/index.d.ts.map +1 -1
  103. package/dist/types/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +1 -15
  104. package/dist/types/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -1
  105. package/dist/types/ui/components/organisms/vc-table/index.d.ts +649 -27
  106. package/dist/types/ui/components/organisms/vc-table/index.d.ts.map +1 -1
  107. package/dist/types/ui/components/organisms/vc-table/vc-table.stories.d.ts +69 -70
  108. package/dist/types/ui/components/organisms/vc-table/vc-table.stories.d.ts.map +1 -1
  109. package/dist/types/ui/components/organisms/vc-table/vc-table.vue.d.ts +31 -25
  110. package/dist/types/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
  111. package/dist/types/ui/types/index.d.ts +46 -0
  112. package/dist/types/ui/types/index.d.ts.map +1 -0
  113. package/package.json +6 -6
  114. package/shared/app-switcher/components/index.ts +1 -1
  115. package/shared/app-switcher/components/vc-app-switcher/index.ts +3 -0
  116. package/shared/app-switcher/index.ts +7 -0
  117. package/shared/assets/components/assets-details/index.ts +3 -0
  118. package/shared/assets/components/index.ts +1 -1
  119. package/shared/assets/index.ts +7 -0
  120. package/shared/blade-navigation/components/index.ts +1 -1
  121. package/shared/blade-navigation/components/vc-blade-navigation/index.ts +3 -0
  122. package/shared/blade-navigation/index.ts +7 -0
  123. package/ui/components/atoms/vc-badge/index.ts +10 -9
  124. package/ui/components/atoms/vc-button/index.ts +7 -6
  125. package/ui/components/atoms/vc-card/index.ts +8 -7
  126. package/ui/components/atoms/vc-checkbox/index.ts +8 -7
  127. package/ui/components/atoms/vc-col/index.ts +7 -6
  128. package/ui/components/atoms/vc-container/index.ts +7 -6
  129. package/ui/components/atoms/vc-hint/index.ts +7 -6
  130. package/ui/components/atoms/vc-icon/index.ts +2 -8
  131. package/ui/components/atoms/vc-image/index.ts +2 -8
  132. package/ui/components/atoms/vc-info-row/index.ts +2 -8
  133. package/ui/components/atoms/vc-label/index.ts +8 -7
  134. package/ui/components/atoms/vc-link/index.ts +7 -6
  135. package/ui/components/atoms/vc-loading/index.ts +2 -8
  136. package/ui/components/atoms/vc-progress/index.ts +7 -6
  137. package/ui/components/atoms/vc-row/index.ts +7 -6
  138. package/ui/components/atoms/vc-status/index.ts +7 -6
  139. package/ui/components/atoms/vc-status-icon/index.ts +2 -8
  140. package/ui/components/atoms/vc-switch/index.ts +2 -8
  141. package/ui/components/atoms/vc-widget/index.ts +2 -8
  142. package/ui/components/index.ts +39 -39
  143. package/ui/components/molecules/vc-breadcrumbs/index.ts +2 -8
  144. package/ui/components/molecules/vc-code-editor/index.ts +7 -6
  145. package/ui/components/molecules/vc-editor/index.ts +7 -6
  146. package/ui/components/molecules/vc-file-upload/index.ts +7 -6
  147. package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +18 -4
  148. package/ui/components/molecules/vc-form/index.ts +7 -6
  149. package/ui/components/molecules/vc-input/index.ts +57 -56
  150. package/ui/components/molecules/vc-input-currency/index.ts +15 -14
  151. package/ui/components/molecules/vc-notification/index.ts +7 -6
  152. package/ui/components/molecules/vc-pagination/index.ts +2 -8
  153. package/ui/components/molecules/vc-rating/index.ts +7 -6
  154. package/ui/components/molecules/vc-select/index.ts +84 -84
  155. package/ui/components/molecules/vc-slider/index.ts +10 -9
  156. package/ui/components/molecules/vc-textarea/index.ts +7 -6
  157. package/ui/components/organisms/vc-app/index.ts +10 -9
  158. package/ui/components/organisms/vc-app/vc-app.vue +7 -0
  159. package/ui/components/organisms/vc-blade/index.ts +8 -7
  160. package/ui/components/organisms/vc-dynamic-property/index.ts +2 -8
  161. package/ui/components/organisms/vc-gallery/index.ts +2 -8
  162. package/ui/components/organisms/vc-login-form/index.ts +7 -6
  163. package/ui/components/organisms/vc-popup/index.ts +7 -6
  164. package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +1 -4
  165. package/ui/components/organisms/vc-table/index.ts +16 -14
  166. package/ui/components/organisms/vc-table/vc-table.vue +118 -49
  167. package/ui/types/index.ts +53 -0
  168. package/dist/types/ui/services/components.d.ts +0 -2
  169. package/dist/types/ui/services/components.d.ts.map +0 -1
  170. package/dist/types/ui/services/types/components.d.ts +0 -14
  171. package/dist/types/ui/services/types/components.d.ts.map +0 -1
  172. package/dist/types/ui/services/types/index.d.ts +0 -7
  173. package/dist/types/ui/services/types/index.d.ts.map +0 -1
  174. package/dist/types/ui/services/types/ts-helpers.d.ts +0 -8
  175. package/dist/types/ui/services/types/ts-helpers.d.ts.map +0 -1
  176. package/ui/services/components.ts +0 -40
  177. package/ui/services/types/components.ts +0 -14
  178. package/ui/services/types/index.ts +0 -9
  179. package/ui/services/types/ts-helpers.ts +0 -18
@@ -8,10 +8,7 @@ declare const _default: {
8
8
  footer: boolean;
9
9
  header: boolean;
10
10
  expanded: boolean;
11
- columns: import("../../../..").ITableColumns[];
12
- items: string[] | {
13
- id?: string;
14
- }[];
11
+ items: import("./vc-table.vue").TableItemType[];
15
12
  totalCount: number;
16
13
  pages: number;
17
14
  currentPage: number;
@@ -44,13 +41,9 @@ declare const _default: {
44
41
  columns: {
45
42
  type: import("vue").PropType<import("../../../..").ITableColumns[]>;
46
43
  required: true;
47
- } & {
48
- default: () => any[];
49
44
  };
50
45
  items: {
51
- type: import("vue").PropType<string[] | {
52
- id?: string;
53
- }[]>;
46
+ type: import("vue").PropType<import("./vc-table.vue").TableItemType[]>;
54
47
  required: true;
55
48
  } & {
56
49
  default: () => any[];
@@ -113,9 +106,7 @@ declare const _default: {
113
106
  default: boolean;
114
107
  };
115
108
  itemActionBuilder: {
116
- type: import("vue").PropType<(item: {
117
- id?: string;
118
- }) => import("../../../..").IActionBuilderResult[]>;
109
+ type: import("vue").PropType<(item: import("./vc-table.vue").TableItem) => import("../../../..").IActionBuilderResult[]>;
119
110
  };
120
111
  multiselect: {
121
112
  type: import("vue").PropType<boolean>;
@@ -129,6 +120,9 @@ declare const _default: {
129
120
  scrolling: {
130
121
  type: import("vue").PropType<boolean>;
131
122
  };
123
+ reorderableRows: {
124
+ type: import("vue").PropType<boolean>;
125
+ };
132
126
  stateKey: {
133
127
  type: import("vue").PropType<string>;
134
128
  required: true;
@@ -136,13 +130,16 @@ declare const _default: {
136
130
  }>> & {
137
131
  onHeaderClick?: (value: Record<string, unknown>) => any;
138
132
  "onScroll:ptr"?: () => any;
139
- onItemClick?: (item: {
140
- id?: string;
141
- }) => any;
133
+ onItemClick?: (item: import("./vc-table.vue").TableItem) => any;
142
134
  onPaginationClick?: (page: number) => any;
143
135
  onSelectionChanged?: (values: Record<string, boolean>) => any;
144
136
  "onSearch:change"?: (value: string) => any;
145
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "footer" | "header" | "expanded" | "columns" | "items" | "totalCount" | "pages" | "currentPage" | "totalLabel" | "searchPlaceholder" | "empty" | "notfound" | "activeFilterCount" | "resizableColumns" | "reorderableColumns">;
137
+ "onRow:reorder"?: (args: {
138
+ dragIndex: number;
139
+ dropIndex: number;
140
+ value: import("./vc-table.vue").TableItemType[];
141
+ }) => any;
142
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "footer" | "header" | "expanded" | "items" | "totalCount" | "pages" | "currentPage" | "totalLabel" | "searchPlaceholder" | "empty" | "notfound" | "activeFilterCount" | "resizableColumns" | "reorderableColumns">;
146
143
  $attrs: {
147
144
  [x: string]: unknown;
148
145
  };
@@ -154,9 +151,11 @@ declare const _default: {
154
151
  }>;
155
152
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
156
153
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
157
- $emit: ((event: "scroll:ptr") => void) & ((event: "itemClick", item: {
158
- id?: string;
159
- }) => void) & ((event: "paginationClick", page: number) => void) & ((event: "selectionChanged", values: Record<string, boolean>) => void) & ((event: "search:change", value: string) => void) & ((event: "headerClick", value: Record<string, unknown>) => void);
154
+ $emit: ((event: "scroll:ptr") => void) & ((event: "itemClick", item: import("./vc-table.vue").TableItem) => void) & ((event: "paginationClick", page: number) => void) & ((event: "selectionChanged", values: Record<string, boolean>) => void) & ((event: "search:change", value: string) => void) & ((event: "headerClick", value: Record<string, unknown>) => void) & ((event: "row:reorder", args: {
155
+ dragIndex: number;
156
+ dropIndex: number;
157
+ value: import("./vc-table.vue").TableItemType[];
158
+ }) => void);
160
159
  $el: any;
161
160
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
162
161
  sort: {
@@ -180,13 +179,9 @@ declare const _default: {
180
179
  columns: {
181
180
  type: import("vue").PropType<import("../../../..").ITableColumns[]>;
182
181
  required: true;
183
- } & {
184
- default: () => any[];
185
182
  };
186
183
  items: {
187
- type: import("vue").PropType<string[] | {
188
- id?: string;
189
- }[]>;
184
+ type: import("vue").PropType<import("./vc-table.vue").TableItemType[]>;
190
185
  required: true;
191
186
  } & {
192
187
  default: () => any[];
@@ -249,9 +244,7 @@ declare const _default: {
249
244
  default: boolean;
250
245
  };
251
246
  itemActionBuilder: {
252
- type: import("vue").PropType<(item: {
253
- id?: string;
254
- }) => import("../../../..").IActionBuilderResult[]>;
247
+ type: import("vue").PropType<(item: import("./vc-table.vue").TableItem) => import("../../../..").IActionBuilderResult[]>;
255
248
  };
256
249
  multiselect: {
257
250
  type: import("vue").PropType<boolean>;
@@ -265,6 +258,9 @@ declare const _default: {
265
258
  scrolling: {
266
259
  type: import("vue").PropType<boolean>;
267
260
  };
261
+ reorderableRows: {
262
+ type: import("vue").PropType<boolean>;
263
+ };
268
264
  stateKey: {
269
265
  type: import("vue").PropType<string>;
270
266
  required: true;
@@ -272,12 +268,15 @@ declare const _default: {
272
268
  }>> & {
273
269
  onHeaderClick?: (value: Record<string, unknown>) => any;
274
270
  "onScroll:ptr"?: () => any;
275
- onItemClick?: (item: {
276
- id?: string;
277
- }) => any;
271
+ onItemClick?: (item: import("./vc-table.vue").TableItem) => any;
278
272
  onPaginationClick?: (page: number) => any;
279
273
  onSelectionChanged?: (values: Record<string, boolean>) => any;
280
274
  "onSearch:change"?: (value: string) => any;
275
+ "onRow:reorder"?: (args: {
276
+ dragIndex: number;
277
+ dropIndex: number;
278
+ value: import("./vc-table.vue").TableItemType[];
279
+ }) => any;
281
280
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
282
281
  paginationClick: (page: number) => void;
283
282
  } & {
@@ -287,19 +286,20 @@ declare const _default: {
287
286
  } & {
288
287
  headerClick: (value: Record<string, unknown>) => void;
289
288
  } & {
290
- itemClick: (item: {
291
- id?: string;
292
- }) => void;
289
+ itemClick: (item: import("./vc-table.vue").TableItem) => void;
293
290
  } & {
294
291
  "scroll:ptr": () => void;
292
+ } & {
293
+ "row:reorder": (args: {
294
+ dragIndex: number;
295
+ dropIndex: number;
296
+ value: import("./vc-table.vue").TableItemType[];
297
+ }) => void;
295
298
  }, string, {
296
299
  footer: boolean;
297
300
  header: boolean;
298
301
  expanded: boolean;
299
- columns: import("../../../..").ITableColumns[];
300
- items: string[] | {
301
- id?: string;
302
- }[];
302
+ items: import("./vc-table.vue").TableItemType[];
303
303
  totalCount: number;
304
304
  pages: number;
305
305
  currentPage: number;
@@ -352,13 +352,9 @@ declare const _default: {
352
352
  columns: {
353
353
  type: import("vue").PropType<import("../../../..").ITableColumns[]>;
354
354
  required: true;
355
- } & {
356
- default: () => any[];
357
355
  };
358
356
  items: {
359
- type: import("vue").PropType<string[] | {
360
- id?: string;
361
- }[]>;
357
+ type: import("vue").PropType<import("./vc-table.vue").TableItemType[]>;
362
358
  required: true;
363
359
  } & {
364
360
  default: () => any[];
@@ -421,9 +417,7 @@ declare const _default: {
421
417
  default: boolean;
422
418
  };
423
419
  itemActionBuilder: {
424
- type: import("vue").PropType<(item: {
425
- id?: string;
426
- }) => import("../../../..").IActionBuilderResult[]>;
420
+ type: import("vue").PropType<(item: import("./vc-table.vue").TableItem) => import("../../../..").IActionBuilderResult[]>;
427
421
  };
428
422
  multiselect: {
429
423
  type: import("vue").PropType<boolean>;
@@ -437,6 +431,9 @@ declare const _default: {
437
431
  scrolling: {
438
432
  type: import("vue").PropType<boolean>;
439
433
  };
434
+ reorderableRows: {
435
+ type: import("vue").PropType<boolean>;
436
+ };
440
437
  stateKey: {
441
438
  type: import("vue").PropType<string>;
442
439
  required: true;
@@ -444,12 +441,15 @@ declare const _default: {
444
441
  }>> & {
445
442
  onHeaderClick?: (value: Record<string, unknown>) => any;
446
443
  "onScroll:ptr"?: () => any;
447
- onItemClick?: (item: {
448
- id?: string;
449
- }) => any;
444
+ onItemClick?: (item: import("./vc-table.vue").TableItem) => any;
450
445
  onPaginationClick?: (page: number) => any;
451
446
  onSelectionChanged?: (values: Record<string, boolean>) => any;
452
447
  "onSearch:change"?: (value: string) => any;
448
+ "onRow:reorder"?: (args: {
449
+ dragIndex: number;
450
+ dropIndex: number;
451
+ value: import("./vc-table.vue").TableItemType[];
452
+ }) => any;
453
453
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
454
454
  __isFragment?: never;
455
455
  __isTeleport?: never;
@@ -476,13 +476,9 @@ declare const _default: {
476
476
  columns: {
477
477
  type: import("vue").PropType<import("../../../..").ITableColumns[]>;
478
478
  required: true;
479
- } & {
480
- default: () => any[];
481
479
  };
482
480
  items: {
483
- type: import("vue").PropType<string[] | {
484
- id?: string;
485
- }[]>;
481
+ type: import("vue").PropType<import("./vc-table.vue").TableItemType[]>;
486
482
  required: true;
487
483
  } & {
488
484
  default: () => any[];
@@ -545,9 +541,7 @@ declare const _default: {
545
541
  default: boolean;
546
542
  };
547
543
  itemActionBuilder: {
548
- type: import("vue").PropType<(item: {
549
- id?: string;
550
- }) => import("../../../..").IActionBuilderResult[]>;
544
+ type: import("vue").PropType<(item: import("./vc-table.vue").TableItem) => import("../../../..").IActionBuilderResult[]>;
551
545
  };
552
546
  multiselect: {
553
547
  type: import("vue").PropType<boolean>;
@@ -561,6 +555,9 @@ declare const _default: {
561
555
  scrolling: {
562
556
  type: import("vue").PropType<boolean>;
563
557
  };
558
+ reorderableRows: {
559
+ type: import("vue").PropType<boolean>;
560
+ };
564
561
  stateKey: {
565
562
  type: import("vue").PropType<string>;
566
563
  required: true;
@@ -568,12 +565,15 @@ declare const _default: {
568
565
  }>> & {
569
566
  onHeaderClick?: (value: Record<string, unknown>) => any;
570
567
  "onScroll:ptr"?: () => any;
571
- onItemClick?: (item: {
572
- id?: string;
573
- }) => any;
568
+ onItemClick?: (item: import("./vc-table.vue").TableItem) => any;
574
569
  onPaginationClick?: (page: number) => any;
575
570
  onSelectionChanged?: (values: Record<string, boolean>) => any;
576
571
  "onSearch:change"?: (value: string) => any;
572
+ "onRow:reorder"?: (args: {
573
+ dragIndex: number;
574
+ dropIndex: number;
575
+ value: import("./vc-table.vue").TableItemType[];
576
+ }) => any;
577
577
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
578
578
  paginationClick: (page: number) => void;
579
579
  } & {
@@ -583,19 +583,20 @@ declare const _default: {
583
583
  } & {
584
584
  headerClick: (value: Record<string, unknown>) => void;
585
585
  } & {
586
- itemClick: (item: {
587
- id?: string;
588
- }) => void;
586
+ itemClick: (item: import("./vc-table.vue").TableItem) => void;
589
587
  } & {
590
588
  "scroll:ptr": () => void;
589
+ } & {
590
+ "row:reorder": (args: {
591
+ dragIndex: number;
592
+ dropIndex: number;
593
+ value: import("./vc-table.vue").TableItemType[];
594
+ }) => void;
591
595
  }, string, {
592
596
  footer: boolean;
593
597
  header: boolean;
594
598
  expanded: boolean;
595
- columns: import("../../../..").ITableColumns[];
596
- items: string[] | {
597
- id?: string;
598
- }[];
599
+ items: import("./vc-table.vue").TableItemType[];
599
600
  totalCount: number;
600
601
  pages: number;
601
602
  currentPage: number;
@@ -608,7 +609,7 @@ declare const _default: {
608
609
  reorderableColumns: boolean;
609
610
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
610
611
  $slots: Record<string, (_: {}) => any> & Record<string, (_: {
611
- item: any;
612
+ item: import("./vc-table.vue").TableItemType;
612
613
  cell: import("../../../..").ITableColumns;
613
614
  }) => any> & {
614
615
  header: (_: {}) => any;
@@ -616,9 +617,7 @@ declare const _default: {
616
617
  closePanel: () => void;
617
618
  }) => any;
618
619
  'mobile-item': (_: {
619
- item: string | {
620
- id?: string;
621
- };
620
+ item: import("./vc-table.vue").TableItemType;
622
621
  }) => any;
623
622
  notfound: (_: {}) => any;
624
623
  empty: (_: {}) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"vc-table.stories.d.ts","sourceRoot":"","sources":["../../../../../../ui/components/organisms/vc-table/vc-table.stories.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBAGE;AAwBF,eAAO,MAAM,KAAK,KAAoB,CAAC"}
1
+ {"version":3,"file":"vc-table.stories.d.ts","sourceRoot":"","sources":["../../../../../../ui/components/organisms/vc-table/vc-table.stories.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBAGE;AAwBF,eAAO,MAAM,KAAK,KAAoB,CAAC"}
@@ -5,14 +5,16 @@ export interface StatusImage {
5
5
  action?: string;
6
6
  clickHandler?: () => void;
7
7
  }
8
+ export interface TableItem {
9
+ [x: string]: any;
10
+ id?: string;
11
+ actions?: IActionBuilderResult[];
12
+ }
13
+ export type TableItemType = TableItem | string;
8
14
  export interface Props {
9
15
  columns: ITableColumns[];
10
- items: {
11
- id?: string;
12
- }[] | string[];
13
- itemActionBuilder?: (item: {
14
- id?: string;
15
- }) => IActionBuilderResult[];
16
+ items: TableItemType[];
17
+ itemActionBuilder?: (item: TableItem) => IActionBuilderResult[];
16
18
  sort?: string;
17
19
  multiselect?: boolean;
18
20
  expanded?: boolean;
@@ -32,6 +34,7 @@ export interface Props {
32
34
  scrolling?: boolean;
33
35
  resizableColumns?: boolean;
34
36
  reorderableColumns?: boolean;
37
+ reorderableRows?: boolean;
35
38
  stateKey: string;
36
39
  }
37
40
  export interface Emits {
@@ -39,13 +42,15 @@ export interface Emits {
39
42
  (event: "selectionChanged", values: Record<string, boolean>): void;
40
43
  (event: "search:change", value: string): void;
41
44
  (event: "headerClick", value: Record<string, unknown>): void;
42
- (event: "itemClick", item: {
43
- id?: string;
44
- }): void;
45
+ (event: "itemClick", item: TableItem): void;
45
46
  (event: "scroll:ptr"): void;
47
+ (event: "row:reorder", args: {
48
+ dragIndex: number;
49
+ dropIndex: number;
50
+ value: TableItemType[];
51
+ }): void;
46
52
  }
47
53
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
48
- columns: () => any[];
49
54
  items: () => any[];
50
55
  totalLabel: string;
51
56
  totalCount: number;
@@ -73,13 +78,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
73
78
  } & {
74
79
  headerClick: (value: Record<string, unknown>) => void;
75
80
  } & {
76
- itemClick: (item: {
77
- id?: string;
78
- }) => void;
81
+ itemClick: (item: TableItem) => void;
79
82
  } & {
80
83
  "scroll:ptr": () => void;
84
+ } & {
85
+ "row:reorder": (args: {
86
+ dragIndex: number;
87
+ dropIndex: number;
88
+ value: TableItemType[];
89
+ }) => void;
81
90
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
82
- columns: () => any[];
83
91
  items: () => any[];
84
92
  totalLabel: string;
85
93
  totalCount: number;
@@ -101,20 +109,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
101
109
  }>>> & {
102
110
  onHeaderClick?: (value: Record<string, unknown>) => any;
103
111
  "onScroll:ptr"?: () => any;
104
- onItemClick?: (item: {
105
- id?: string;
106
- }) => any;
112
+ onItemClick?: (item: TableItem) => any;
107
113
  onPaginationClick?: (page: number) => any;
108
114
  onSelectionChanged?: (values: Record<string, boolean>) => any;
109
115
  "onSearch:change"?: (value: string) => any;
116
+ "onRow:reorder"?: (args: {
117
+ dragIndex: number;
118
+ dropIndex: number;
119
+ value: TableItemType[];
120
+ }) => any;
110
121
  }, {
111
122
  footer: boolean;
112
123
  header: boolean;
113
124
  expanded: boolean;
114
- columns: ITableColumns[];
115
- items: string[] | {
116
- id?: string;
117
- }[];
125
+ items: TableItemType[];
118
126
  totalCount: number;
119
127
  pages: number;
120
128
  currentPage: number;
@@ -126,7 +134,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
126
134
  resizableColumns: boolean;
127
135
  reorderableColumns: boolean;
128
136
  }>, Record<string, (_: {}) => any> & Record<string, (_: {
129
- item: any;
137
+ item: TableItemType;
130
138
  cell: ITableColumns;
131
139
  }) => any> & {
132
140
  header: (_: {}) => any;
@@ -134,9 +142,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
134
142
  closePanel: () => void;
135
143
  }) => any;
136
144
  'mobile-item': (_: {
137
- item: string | {
138
- id?: string;
139
- };
145
+ item: TableItemType;
140
146
  }) => any;
141
147
  notfound: (_: {}) => any;
142
148
  empty: (_: {}) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"vc-table.vue.d.ts","sourceRoot":"","sources":["../../../../../../ui/components/organisms/vc-table/vc-table.vue.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAI/E,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,KAAK;IACpB,OAAO,EAAE,aAAa,EAAE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;;;UACD,GAAG;;;UACG,GAAG;yBACP,GAAG;sBACN,GAAG;uBACF,GAAG;;AA1zCpC,wBAg3Cc;AACd,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG;QACzD,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,GAAG,CAAC,CAAC,CAAC,CAAC;CACR,CAAC;AA6GN,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
@@ -0,0 +1,46 @@
1
+ import * as VcShellComponents from "./../components";
2
+ declare module "@vue/runtime-core" {
3
+ interface GlobalComponents {
4
+ VcBadge: (typeof VcShellComponents)["VcBadge"];
5
+ VcButton: (typeof VcShellComponents)["VcButton"];
6
+ VcCard: (typeof VcShellComponents)["VcCard"];
7
+ VcCheckbox: (typeof VcShellComponents)["VcCheckbox"];
8
+ VcCol: (typeof VcShellComponents)["VcCol"];
9
+ VcContainer: (typeof VcShellComponents)["VcContainer"];
10
+ VcHint: (typeof VcShellComponents)["VcHint"];
11
+ VcIcon: (typeof VcShellComponents)["VcIcon"];
12
+ VcImage: (typeof VcShellComponents)["VcImage"];
13
+ VcInfoRow: (typeof VcShellComponents)["VcInfoRow"];
14
+ VcLabel: (typeof VcShellComponents)["VcLabel"];
15
+ VcLink: (typeof VcShellComponents)["VcLink"];
16
+ VcLoading: (typeof VcShellComponents)["VcLoading"];
17
+ VcProgress: (typeof VcShellComponents)["VcProgress"];
18
+ VcRow: (typeof VcShellComponents)["VcRow"];
19
+ VcStatus: (typeof VcShellComponents)["VcStatus"];
20
+ VcStatusIcon: (typeof VcShellComponents)["VcStatusIcon"];
21
+ VcSwitch: (typeof VcShellComponents)["VcSwitch"];
22
+ VcWidget: (typeof VcShellComponents)["VcWidget"];
23
+ VcBreadcrumbs: (typeof VcShellComponents)["VcBreadcrumbs"];
24
+ VcCodeEditor: (typeof VcShellComponents)["VcCodeEditor"];
25
+ VcEditor: (typeof VcShellComponents)["VcEditor"];
26
+ VcFileUpload: (typeof VcShellComponents)["VcFileUpload"];
27
+ VcForm: (typeof VcShellComponents)["VcForm"];
28
+ VcInput: (typeof VcShellComponents)["VcInput"];
29
+ VcInputCurrency: (typeof VcShellComponents)["VcInputCurrency"];
30
+ VcNotification: (typeof VcShellComponents)["VcNotification"];
31
+ VcPagination: (typeof VcShellComponents)["VcPagination"];
32
+ VcRating: (typeof VcShellComponents)["VcRating"];
33
+ VcSelect: (typeof VcShellComponents)["VcSelect"];
34
+ VcSlider: (typeof VcShellComponents)["VcSlider"];
35
+ VcTextarea: (typeof VcShellComponents)["VcTextarea"];
36
+ VcApp: (typeof VcShellComponents)["VcApp"];
37
+ VcBlade: (typeof VcShellComponents)["VcBlade"];
38
+ VcDynamicProperty: (typeof VcShellComponents)["VcDynamicProperty"];
39
+ VcGallery: (typeof VcShellComponents)["VcGallery"];
40
+ VcLoginForm: (typeof VcShellComponents)["VcLoginForm"];
41
+ VcPopup: (typeof VcShellComponents)["VcPopup"];
42
+ VcTable: (typeof VcShellComponents)["VcTable"];
43
+ }
44
+ }
45
+ export {};
46
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../ui/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,iBAAiB,CAAC;AAGrD,OAAO,QAAQ,mBAAmB,CAAC;IACjC,UAAiB,gBAAgB;QAE/B,OAAO,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC;QAC/C,QAAQ,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,UAAU,CAAC,CAAC;QACjD,MAAM,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,QAAQ,CAAC,CAAC;QAC7C,UAAU,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,YAAY,CAAC,CAAC;QACrD,KAAK,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,OAAO,CAAC,CAAC;QAC3C,WAAW,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,aAAa,CAAC,CAAC;QACvD,MAAM,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,QAAQ,CAAC,CAAC;QAC7C,MAAM,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,QAAQ,CAAC,CAAC;QAC7C,OAAO,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC;QAC/C,SAAS,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,WAAW,CAAC,CAAC;QACnD,OAAO,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC;QAC/C,MAAM,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,QAAQ,CAAC,CAAC;QAC7C,SAAS,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,WAAW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iBAAiB,CAAC,CAAC,UAAU,CAAC,CAAC;QACjD,UAAU,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,YAAY,CAAC,CAAC;QAGrD,KAAK,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC;QAC/C,iBAAiB,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,mBAAmB,CAAC,CAAC;QACnE,SAAS,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,WAAW,CAAC,CAAC;QACnD,WAAW,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,aAAa,CAAC,CAAC;QACvD,OAAO,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC;QAC/C,OAAO,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC;KAChD;CACF;AAED,OAAO,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "main": "./dist/framework.mjs",
5
5
  "module": "./dist/framework.mjs",
6
6
  "types": "./dist/types/index.d.ts",
@@ -25,7 +25,8 @@
25
25
  "./*": "./*"
26
26
  },
27
27
  "scripts": {
28
- "build": "vite build && yarn build:types",
28
+ "build": "yarn build:lib & yarn build:types",
29
+ "build:lib": "vite build",
29
30
  "build:types": "vue-tsc --declaration --emitDeclarationOnly --outDir dist/types",
30
31
  "dev": "vite",
31
32
  "development": "vite build --watch -m development",
@@ -56,9 +57,8 @@
56
57
  "vuedraggable": "^4.1.0"
57
58
  },
58
59
  "devDependencies": {
59
- "@vc-shell/api-client-generator": "^1.0.56",
60
- "@vc-shell/config-generator": "^1.0.56",
61
- "@vue-macros/volar": "^0.8.1",
60
+ "@vc-shell/api-client-generator": "^1.0.57",
61
+ "@vc-shell/config-generator": "^1.0.57",
62
62
  "sass": "^1.49.0",
63
63
  "typescript": "^4.9.5",
64
64
  "url-pattern": "^1.0.3"
@@ -67,5 +67,5 @@
67
67
  "access": "public",
68
68
  "registry": "https://registry.npmjs.org/"
69
69
  },
70
- "gitHead": "42d9d9700ea47027b3bd7d6f88d6254ab4b63020"
70
+ "gitHead": "ca294492c2aa439befaba5ee3899dd867c50e35b"
71
71
  }
@@ -1 +1 @@
1
- export { default as VcAppSwitcher } from "./vc-app-switcher/vc-app-switcher.vue";
1
+ export { VcAppSwitcher } from "./vc-app-switcher";
@@ -0,0 +1,3 @@
1
+ import _AppSwitcher from "./vc-app-switcher.vue";
2
+
3
+ export const VcAppSwitcher = _AppSwitcher as typeof _AppSwitcher;
@@ -1,6 +1,13 @@
1
1
  import { createModule } from "../../core/plugins/modularity";
2
2
  import * as components from "./components";
3
3
 
4
+ // Declare globally
5
+ declare module "@vue/runtime-core" {
6
+ export interface GlobalComponents {
7
+ VcAppSwitcher: (typeof components)["VcAppSwitcher"];
8
+ }
9
+ }
10
+
4
11
  export default createModule(components);
5
12
 
6
13
  export * from "./components";
@@ -0,0 +1,3 @@
1
+ import _AssetsDetails from "./assets-details.vue";
2
+
3
+ export const AssetsDetails = _AssetsDetails as typeof _AssetsDetails;
@@ -1 +1 @@
1
- export { default as AssetsDetails } from "./assets-details/assets-details.vue";
1
+ export { AssetsDetails } from "./assets-details";
@@ -2,6 +2,13 @@ import { createModule } from "../../core/plugins/modularity";
2
2
  import * as components from "./components";
3
3
  import * as locales from "./locales";
4
4
 
5
+ // Declare globally
6
+ declare module "@vue/runtime-core" {
7
+ export interface GlobalComponents {
8
+ AssetsDetails: (typeof components)["AssetsDetails"];
9
+ }
10
+ }
11
+
5
12
  export default createModule(components, locales);
6
13
 
7
14
  export * from "./components";
@@ -1 +1 @@
1
- export { default as VcBladeNavigation } from "./vc-blade-navigation/vc-blade-navigation.vue";
1
+ export { VcBladeNavigation } from "./vc-blade-navigation";
@@ -0,0 +1,3 @@
1
+ import _BladeNavigation from "./vc-blade-navigation.vue";
2
+
3
+ export const VcBladeNavigation = _BladeNavigation as typeof _BladeNavigation;
@@ -1,6 +1,13 @@
1
1
  import { createModule } from "../../core/plugins/modularity";
2
2
  import * as components from "./components";
3
3
 
4
+ // Declare globally
5
+ declare module "@vue/runtime-core" {
6
+ export interface GlobalComponents {
7
+ VcBladeNavigation: (typeof components)["VcBladeNavigation"];
8
+ }
9
+ }
10
+
4
11
  export default createModule(components);
5
12
 
6
13
  export * from "./components";
@@ -1,12 +1,13 @@
1
1
  import { VNode } from "vue";
2
- import Badge from "./vc-badge.vue";
3
- import { GlobalComponentConstructor } from "./../../../services/types/ts-helpers";
2
+ import _Badge from "./vc-badge.vue";
4
3
 
5
- export type VcBadgeSlots = {
6
- /**
7
- * Slot for component content
8
- * */
9
- default?: () => VNode[];
4
+ export const VcBadge = _Badge as typeof _Badge & {
5
+ new (): {
6
+ $slots: {
7
+ /**
8
+ * Slot for component content
9
+ * */
10
+ default: () => VNode[];
11
+ };
12
+ };
10
13
  };
11
-
12
- export const VcBadge: GlobalComponentConstructor<typeof Badge, VcBadgeSlots> = Badge;