@vc-shell/framework 1.0.232 → 1.0.233

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 (75) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/core/types/index.ts +14 -1
  3. package/dist/core/types/index.d.ts +12 -2
  4. package/dist/core/types/index.d.ts.map +1 -1
  5. package/dist/framework.js +14812 -14535
  6. package/dist/index.css +1 -1
  7. package/dist/locales/en.json +8 -2
  8. package/dist/shared/components/notifications/components/notification-container/index.d.ts +1 -1
  9. package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -1
  10. package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts.map +1 -1
  11. package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts.map +1 -1
  12. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +1 -1
  13. package/dist/shared/modules/dynamic/types/index.d.ts +9 -4
  14. package/dist/shared/modules/dynamic/types/index.d.ts.map +1 -1
  15. package/dist/tsconfig.tsbuildinfo +1 -1
  16. package/dist/ui/components/atoms/vc-badge/vc-badge.stories.d.ts +187 -17
  17. package/dist/ui/components/atoms/vc-badge/vc-badge.stories.d.ts.map +1 -1
  18. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +19 -3
  19. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
  20. package/dist/ui/components/atoms/vc-button/vc-button.stories.d.ts +91 -91
  21. package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +1 -1
  22. package/dist/ui/components/atoms/vc-icon/vc-icon.stories.d.ts +9 -9
  23. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +1 -1
  24. package/dist/ui/components/atoms/vc-image/index.d.ts +12 -3
  25. package/dist/ui/components/atoms/vc-image/index.d.ts.map +1 -1
  26. package/dist/ui/components/atoms/vc-image/vc-image.stories.d.ts +12 -3
  27. package/dist/ui/components/atoms/vc-image/vc-image.stories.d.ts.map +1 -1
  28. package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts +5 -1
  29. package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts.map +1 -1
  30. package/dist/ui/components/atoms/vc-widget/index.d.ts +6 -0
  31. package/dist/ui/components/atoms/vc-widget/index.d.ts.map +1 -1
  32. package/dist/ui/components/atoms/vc-widget/vc-widget.stories.d.ts +6 -0
  33. package/dist/ui/components/atoms/vc-widget/vc-widget.stories.d.ts.map +1 -1
  34. package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts +1 -0
  35. package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts.map +1 -1
  36. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.d.ts +3 -3
  37. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts +1 -1
  38. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
  39. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts +1 -0
  40. 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
  41. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +1 -0
  42. 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
  43. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts.map +1 -1
  44. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
  45. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +1 -1
  46. package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts +2 -0
  47. package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts.map +1 -1
  48. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +2 -0
  49. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  50. package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts +3 -0
  51. package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts.map +1 -1
  52. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
  53. package/package.json +4 -4
  54. package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +1 -1
  55. package/shared/components/user-dropdown-button/user-dropdown-button.vue +11 -3
  56. package/shared/modules/dynamic/components/fields/Card.ts +1 -1
  57. package/shared/modules/dynamic/components/fields/GalleryField.ts +1 -0
  58. package/shared/modules/dynamic/components/fields/StatusField.ts +39 -3
  59. package/shared/modules/dynamic/pages/dynamic-blade-form.vue +17 -22
  60. package/shared/modules/dynamic/types/index.ts +14 -6
  61. package/ui/components/atoms/vc-badge/vc-badge.stories.ts +3 -3
  62. package/ui/components/atoms/vc-badge/vc-badge.vue +58 -10
  63. package/ui/components/atoms/vc-container/vc-container.vue +2 -2
  64. package/ui/components/atoms/vc-image/vc-image.vue +3 -1
  65. package/ui/components/atoms/vc-widget/vc-widget.vue +42 -22
  66. package/ui/components/molecules/vc-editor/vc-editor.vue +5 -1
  67. package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +1 -1
  68. package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +21 -10
  69. package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +3 -0
  70. package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +59 -9
  71. package/ui/components/organisms/vc-app/vc-app.vue +0 -1
  72. package/ui/components/organisms/vc-blade/vc-blade.vue +89 -2
  73. package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +1 -0
  74. package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +27 -7
  75. package/ui/components/organisms/vc-table/vc-table.vue +123 -53
@@ -12,6 +12,13 @@ declare const _default: {
12
12
  clickable: {
13
13
  type: import("vue").PropType<boolean>;
14
14
  };
15
+ content: {
16
+ type: import("vue").PropType<string | number>;
17
+ };
18
+ size: {
19
+ type: import("vue").PropType<"s" | "m">;
20
+ default: string;
21
+ };
15
22
  }>> & {
16
23
  onClick?: (() => any) | undefined;
17
24
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -26,9 +33,18 @@ declare const _default: {
26
33
  clickable: {
27
34
  type: import("vue").PropType<boolean>;
28
35
  };
36
+ content: {
37
+ type: import("vue").PropType<string | number>;
38
+ };
39
+ size: {
40
+ type: import("vue").PropType<"s" | "m">;
41
+ default: string;
42
+ };
29
43
  }>> & {
30
44
  onClick?: (() => any) | undefined;
31
- }, {}, true, {}, {}, {
45
+ }, {
46
+ size: "s" | "m";
47
+ }, true, {}, {}, {
32
48
  P: {};
33
49
  B: {};
34
50
  D: {};
@@ -45,9 +61,18 @@ declare const _default: {
45
61
  clickable: {
46
62
  type: import("vue").PropType<boolean>;
47
63
  };
64
+ content: {
65
+ type: import("vue").PropType<string | number>;
66
+ };
67
+ size: {
68
+ type: import("vue").PropType<"s" | "m">;
69
+ default: string;
70
+ };
48
71
  }>> & {
49
72
  onClick?: (() => any) | undefined;
50
- }, {}, {}, {}, {}, {}>;
73
+ }, {}, {}, {}, {}, {
74
+ size: "s" | "m";
75
+ }>;
51
76
  __isFragment?: undefined;
52
77
  __isTeleport?: undefined;
53
78
  __isSuspense?: undefined;
@@ -61,11 +86,20 @@ declare const _default: {
61
86
  clickable: {
62
87
  type: import("vue").PropType<boolean>;
63
88
  };
89
+ content: {
90
+ type: import("vue").PropType<string | number>;
91
+ };
92
+ size: {
93
+ type: import("vue").PropType<"s" | "m">;
94
+ default: string;
95
+ };
64
96
  }>> & {
65
97
  onClick?: (() => any) | undefined;
66
98
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
67
99
  click: () => void;
68
- }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
100
+ }, string, {
101
+ size: "s" | "m";
102
+ }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
69
103
  $slots: Readonly<{
70
104
  default: void;
71
105
  }> & {
@@ -73,10 +107,10 @@ declare const _default: {
73
107
  };
74
108
  });
75
109
  args: {
76
- default: string;
110
+ content: string;
77
111
  };
78
112
  argTypes: {
79
- default: {
113
+ content: {
80
114
  control: "text";
81
115
  };
82
116
  active: {
@@ -114,6 +148,13 @@ export declare const Basic: StoryFn<{
114
148
  clickable: {
115
149
  type: import("vue").PropType<boolean>;
116
150
  };
151
+ content: {
152
+ type: import("vue").PropType<string | number>;
153
+ };
154
+ size: {
155
+ type: import("vue").PropType<"s" | "m">;
156
+ default: string;
157
+ };
117
158
  }>> & {
118
159
  onClick?: (() => any) | undefined;
119
160
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -128,9 +169,18 @@ export declare const Basic: StoryFn<{
128
169
  clickable: {
129
170
  type: import("vue").PropType<boolean>;
130
171
  };
172
+ content: {
173
+ type: import("vue").PropType<string | number>;
174
+ };
175
+ size: {
176
+ type: import("vue").PropType<"s" | "m">;
177
+ default: string;
178
+ };
131
179
  }>> & {
132
180
  onClick?: (() => any) | undefined;
133
- }, {}, true, {}, {}, {
181
+ }, {
182
+ size: "s" | "m";
183
+ }, true, {}, {}, {
134
184
  P: {};
135
185
  B: {};
136
186
  D: {};
@@ -147,9 +197,18 @@ export declare const Basic: StoryFn<{
147
197
  clickable: {
148
198
  type: import("vue").PropType<boolean>;
149
199
  };
200
+ content: {
201
+ type: import("vue").PropType<string | number>;
202
+ };
203
+ size: {
204
+ type: import("vue").PropType<"s" | "m">;
205
+ default: string;
206
+ };
150
207
  }>> & {
151
208
  onClick?: (() => any) | undefined;
152
- }, {}, {}, {}, {}, {}>;
209
+ }, {}, {}, {}, {}, {
210
+ size: "s" | "m";
211
+ }>;
153
212
  __isFragment?: undefined;
154
213
  __isTeleport?: undefined;
155
214
  __isSuspense?: undefined;
@@ -163,11 +222,20 @@ export declare const Basic: StoryFn<{
163
222
  clickable: {
164
223
  type: import("vue").PropType<boolean>;
165
224
  };
225
+ content: {
226
+ type: import("vue").PropType<string | number>;
227
+ };
228
+ size: {
229
+ type: import("vue").PropType<"s" | "m">;
230
+ default: string;
231
+ };
166
232
  }>> & {
167
233
  onClick?: (() => any) | undefined;
168
234
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
169
235
  click: () => void;
170
- }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
236
+ }, string, {
237
+ size: "s" | "m";
238
+ }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
171
239
  $slots: Readonly<{
172
240
  default: void;
173
241
  }> & {
@@ -185,6 +253,13 @@ export declare const Active: StoryFn<{
185
253
  clickable: {
186
254
  type: import("vue").PropType<boolean>;
187
255
  };
256
+ content: {
257
+ type: import("vue").PropType<string | number>;
258
+ };
259
+ size: {
260
+ type: import("vue").PropType<"s" | "m">;
261
+ default: string;
262
+ };
188
263
  }>> & {
189
264
  onClick?: (() => any) | undefined;
190
265
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -199,9 +274,18 @@ export declare const Active: StoryFn<{
199
274
  clickable: {
200
275
  type: import("vue").PropType<boolean>;
201
276
  };
277
+ content: {
278
+ type: import("vue").PropType<string | number>;
279
+ };
280
+ size: {
281
+ type: import("vue").PropType<"s" | "m">;
282
+ default: string;
283
+ };
202
284
  }>> & {
203
285
  onClick?: (() => any) | undefined;
204
- }, {}, true, {}, {}, {
286
+ }, {
287
+ size: "s" | "m";
288
+ }, true, {}, {}, {
205
289
  P: {};
206
290
  B: {};
207
291
  D: {};
@@ -218,9 +302,18 @@ export declare const Active: StoryFn<{
218
302
  clickable: {
219
303
  type: import("vue").PropType<boolean>;
220
304
  };
305
+ content: {
306
+ type: import("vue").PropType<string | number>;
307
+ };
308
+ size: {
309
+ type: import("vue").PropType<"s" | "m">;
310
+ default: string;
311
+ };
221
312
  }>> & {
222
313
  onClick?: (() => any) | undefined;
223
- }, {}, {}, {}, {}, {}>;
314
+ }, {}, {}, {}, {}, {
315
+ size: "s" | "m";
316
+ }>;
224
317
  __isFragment?: undefined;
225
318
  __isTeleport?: undefined;
226
319
  __isSuspense?: undefined;
@@ -234,11 +327,20 @@ export declare const Active: StoryFn<{
234
327
  clickable: {
235
328
  type: import("vue").PropType<boolean>;
236
329
  };
330
+ content: {
331
+ type: import("vue").PropType<string | number>;
332
+ };
333
+ size: {
334
+ type: import("vue").PropType<"s" | "m">;
335
+ default: string;
336
+ };
237
337
  }>> & {
238
338
  onClick?: (() => any) | undefined;
239
339
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
240
340
  click: () => void;
241
- }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
341
+ }, string, {
342
+ size: "s" | "m";
343
+ }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
242
344
  $slots: Readonly<{
243
345
  default: void;
244
346
  }> & {
@@ -256,6 +358,13 @@ export declare const Disabled: StoryFn<{
256
358
  clickable: {
257
359
  type: import("vue").PropType<boolean>;
258
360
  };
361
+ content: {
362
+ type: import("vue").PropType<string | number>;
363
+ };
364
+ size: {
365
+ type: import("vue").PropType<"s" | "m">;
366
+ default: string;
367
+ };
259
368
  }>> & {
260
369
  onClick?: (() => any) | undefined;
261
370
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -270,9 +379,18 @@ export declare const Disabled: StoryFn<{
270
379
  clickable: {
271
380
  type: import("vue").PropType<boolean>;
272
381
  };
382
+ content: {
383
+ type: import("vue").PropType<string | number>;
384
+ };
385
+ size: {
386
+ type: import("vue").PropType<"s" | "m">;
387
+ default: string;
388
+ };
273
389
  }>> & {
274
390
  onClick?: (() => any) | undefined;
275
- }, {}, true, {}, {}, {
391
+ }, {
392
+ size: "s" | "m";
393
+ }, true, {}, {}, {
276
394
  P: {};
277
395
  B: {};
278
396
  D: {};
@@ -289,9 +407,18 @@ export declare const Disabled: StoryFn<{
289
407
  clickable: {
290
408
  type: import("vue").PropType<boolean>;
291
409
  };
410
+ content: {
411
+ type: import("vue").PropType<string | number>;
412
+ };
413
+ size: {
414
+ type: import("vue").PropType<"s" | "m">;
415
+ default: string;
416
+ };
292
417
  }>> & {
293
418
  onClick?: (() => any) | undefined;
294
- }, {}, {}, {}, {}, {}>;
419
+ }, {}, {}, {}, {}, {
420
+ size: "s" | "m";
421
+ }>;
295
422
  __isFragment?: undefined;
296
423
  __isTeleport?: undefined;
297
424
  __isSuspense?: undefined;
@@ -305,11 +432,20 @@ export declare const Disabled: StoryFn<{
305
432
  clickable: {
306
433
  type: import("vue").PropType<boolean>;
307
434
  };
435
+ content: {
436
+ type: import("vue").PropType<string | number>;
437
+ };
438
+ size: {
439
+ type: import("vue").PropType<"s" | "m">;
440
+ default: string;
441
+ };
308
442
  }>> & {
309
443
  onClick?: (() => any) | undefined;
310
444
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
311
445
  click: () => void;
312
- }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
446
+ }, string, {
447
+ size: "s" | "m";
448
+ }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
313
449
  $slots: Readonly<{
314
450
  default: void;
315
451
  }> & {
@@ -327,6 +463,13 @@ export declare const Clickable: StoryFn<{
327
463
  clickable: {
328
464
  type: import("vue").PropType<boolean>;
329
465
  };
466
+ content: {
467
+ type: import("vue").PropType<string | number>;
468
+ };
469
+ size: {
470
+ type: import("vue").PropType<"s" | "m">;
471
+ default: string;
472
+ };
330
473
  }>> & {
331
474
  onClick?: (() => any) | undefined;
332
475
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -341,9 +484,18 @@ export declare const Clickable: StoryFn<{
341
484
  clickable: {
342
485
  type: import("vue").PropType<boolean>;
343
486
  };
487
+ content: {
488
+ type: import("vue").PropType<string | number>;
489
+ };
490
+ size: {
491
+ type: import("vue").PropType<"s" | "m">;
492
+ default: string;
493
+ };
344
494
  }>> & {
345
495
  onClick?: (() => any) | undefined;
346
- }, {}, true, {}, {}, {
496
+ }, {
497
+ size: "s" | "m";
498
+ }, true, {}, {}, {
347
499
  P: {};
348
500
  B: {};
349
501
  D: {};
@@ -360,9 +512,18 @@ export declare const Clickable: StoryFn<{
360
512
  clickable: {
361
513
  type: import("vue").PropType<boolean>;
362
514
  };
515
+ content: {
516
+ type: import("vue").PropType<string | number>;
517
+ };
518
+ size: {
519
+ type: import("vue").PropType<"s" | "m">;
520
+ default: string;
521
+ };
363
522
  }>> & {
364
523
  onClick?: (() => any) | undefined;
365
- }, {}, {}, {}, {}, {}>;
524
+ }, {}, {}, {}, {}, {
525
+ size: "s" | "m";
526
+ }>;
366
527
  __isFragment?: undefined;
367
528
  __isTeleport?: undefined;
368
529
  __isSuspense?: undefined;
@@ -376,11 +537,20 @@ export declare const Clickable: StoryFn<{
376
537
  clickable: {
377
538
  type: import("vue").PropType<boolean>;
378
539
  };
540
+ content: {
541
+ type: import("vue").PropType<string | number>;
542
+ };
543
+ size: {
544
+ type: import("vue").PropType<"s" | "m">;
545
+ default: string;
546
+ };
379
547
  }>> & {
380
548
  onClick?: (() => any) | undefined;
381
549
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
382
550
  click: () => void;
383
- }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
551
+ }, string, {
552
+ size: "s" | "m";
553
+ }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
384
554
  $slots: Readonly<{
385
555
  default: void;
386
556
  }> & {
@@ -1 +1 @@
1
- {"version":3,"file":"vc-badge.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-badge/vc-badge.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,wBAgCiC;AAQjC,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoB,CAAC;AAEvC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoB,CAAC;AAGxC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoB,CAAC;AAG1C,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoB,CAAC"}
1
+ {"version":3,"file":"vc-badge.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-badge/vc-badge.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,wBAgCiC;AAQjC,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoB,CAAC;AAEvC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoB,CAAC;AAGxC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoB,CAAC;AAG1C,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoB,CAAC"}
@@ -2,15 +2,23 @@ export interface Props {
2
2
  active?: boolean;
3
3
  disabled?: boolean;
4
4
  clickable?: boolean;
5
+ content?: string | number;
6
+ size?: "s" | "m";
5
7
  }
6
8
  export interface Emits {
7
9
  (event: "click"): void;
8
10
  }
9
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
12
+ size: string;
13
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
14
  click: () => void;
11
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
15
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
16
+ size: string;
17
+ }>>> & {
12
18
  onClick?: (() => any) | undefined;
13
- }, {}, {}>, Readonly<{
19
+ }, {
20
+ size: "s" | "m";
21
+ }, {}>, Readonly<{
14
22
  /**
15
23
  * Slot for component content
16
24
  * */
@@ -31,6 +39,14 @@ type __VLS_TypePropsToRuntimeProps<T> = {
31
39
  required: true;
32
40
  };
33
41
  };
42
+ type __VLS_WithDefaults<P, D> = {
43
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
44
+ default: D[K];
45
+ }> : P[K];
46
+ };
47
+ type __VLS_Prettify<T> = {
48
+ [K in keyof T]: T[K];
49
+ } & {};
34
50
  type __VLS_WithTemplateSlots<T, S> = T & {
35
51
  new (): {
36
52
  $slots: S;
@@ -1 +1 @@
1
- {"version":3,"file":"vc-badge.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-badge/vc-badge.vue.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,KAAK;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,KAAK;IACpB,CAAC,KA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