@vc-shell/framework 1.0.232 → 1.0.234
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.
- package/CHANGELOG.md +25 -0
- package/core/types/index.ts +14 -1
- package/dist/core/types/index.d.ts +12 -2
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/framework.js +14813 -14535
- package/dist/index.css +1 -1
- package/dist/locales/en.json +8 -2
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +1 -1
- package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/types/index.d.ts +9 -4
- package/dist/shared/modules/dynamic/types/index.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.stories.d.ts +187 -17
- package/dist/ui/components/atoms/vc-badge/vc-badge.stories.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +19 -3
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.stories.d.ts +91 -91
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon.stories.d.ts +9 -9
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-image/index.d.ts +12 -3
- package/dist/ui/components/atoms/vc-image/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-image/vc-image.stories.d.ts +12 -3
- package/dist/ui/components/atoms/vc-image/vc-image.stories.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts +5 -1
- package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/index.d.ts +6 -0
- package/dist/ui/components/atoms/vc-widget/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/vc-widget.stories.d.ts +6 -0
- package/dist/ui/components/atoms/vc-widget/vc-widget.stories.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts +1 -0
- package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.d.ts +3 -3
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
- 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
- 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
- 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
- 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
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- 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
- package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts +2 -0
- package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +2 -0
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts +3 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +1 -1
- package/shared/components/user-dropdown-button/user-dropdown-button.vue +11 -3
- package/shared/modules/dynamic/components/fields/Card.ts +1 -1
- package/shared/modules/dynamic/components/fields/GalleryField.ts +1 -0
- package/shared/modules/dynamic/components/fields/StatusField.ts +39 -3
- package/shared/modules/dynamic/pages/dynamic-blade-form.vue +17 -22
- package/shared/modules/dynamic/types/index.ts +14 -6
- package/ui/components/atoms/vc-badge/vc-badge.stories.ts +3 -3
- package/ui/components/atoms/vc-badge/vc-badge.vue +58 -10
- package/ui/components/atoms/vc-container/vc-container.vue +2 -2
- package/ui/components/atoms/vc-image/vc-image.vue +3 -1
- package/ui/components/atoms/vc-widget/vc-widget.vue +42 -22
- package/ui/components/molecules/vc-editor/vc-editor.vue +5 -1
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +1 -1
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +21 -10
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +3 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +60 -9
- package/ui/components/organisms/vc-app/vc-app.vue +0 -1
- package/ui/components/organisms/vc-blade/vc-blade.vue +89 -2
- package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +1 -0
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +27 -7
- 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
|
-
}, {
|
|
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, {
|
|
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
|
-
|
|
110
|
+
content: string;
|
|
77
111
|
};
|
|
78
112
|
argTypes: {
|
|
79
|
-
|
|
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
|
-
}, {
|
|
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, {
|
|
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
|
-
}, {
|
|
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, {
|
|
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
|
-
}, {
|
|
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, {
|
|
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
|
-
}, {
|
|
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, {
|
|
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
|
|
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>, {
|
|
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
|
-
}, {
|
|
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;
|
|
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;IACpB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;CAClB;AAED,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACxB;;;;;;;;;;;;IAWC;;SAEK;;;IAFL;;SAEK;;;AAyGP,wBAAwG;AACxG,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,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|