@deot/vc-components 1.0.1 → 1.0.2

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/dist/index.d.ts CHANGED
@@ -36,17 +36,62 @@ tag: string;
36
36
  }, {}>;
37
37
 
38
38
  export declare const Alert: DefineComponent< {
39
- tag: {
39
+ modelValue: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ type: {
44
+ type: PropType<"success" | "info" | "error" | "warning">;
45
+ default: string;
46
+ };
47
+ title: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ desc: {
40
52
  type: StringConstructor;
41
53
  default: string;
42
54
  };
55
+ icon: {
56
+ type: (StringConstructor | BooleanConstructor)[];
57
+ default: boolean;
58
+ };
59
+ closable: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
43
63
  }, () => JSX_2.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
44
- tag: {
64
+ modelValue: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ type: {
69
+ type: PropType<"success" | "info" | "error" | "warning">;
70
+ default: string;
71
+ };
72
+ title: {
45
73
  type: StringConstructor;
46
74
  default: string;
47
75
  };
76
+ desc: {
77
+ type: StringConstructor;
78
+ default: string;
79
+ };
80
+ icon: {
81
+ type: (StringConstructor | BooleanConstructor)[];
82
+ default: boolean;
83
+ };
84
+ closable: {
85
+ type: BooleanConstructor;
86
+ default: boolean;
87
+ };
48
88
  }>>, {
49
- tag: string;
89
+ type: "error" | "success" | "info" | "warning";
90
+ title: string;
91
+ desc: string;
92
+ icon: string | boolean;
93
+ modelValue: boolean;
94
+ closable: boolean;
50
95
  }, {}>;
51
96
 
52
97
  declare const alert_2: (options: Options_3) => PortalLeaf;
@@ -121,7 +166,7 @@ default: string;
121
166
  onClick?: ((...args: any[]) => any) | undefined;
122
167
  }, {
123
168
  long: boolean;
124
- type: "error" | "default" | "text" | "success" | "primary" | "warning";
169
+ type: "error" | "default" | "text" | "success" | "warning" | "primary";
125
170
  round: boolean;
126
171
  circle: boolean;
127
172
  disabled: boolean;
@@ -189,17 +234,47 @@ tag: string;
189
234
  }, {}>;
190
235
 
191
236
  export declare const Card: DefineComponent< {
192
- tag: {
237
+ border: {
238
+ type: BooleanConstructor;
239
+ default: boolean;
240
+ };
241
+ shadow: {
242
+ type: BooleanConstructor;
243
+ default: boolean;
244
+ };
245
+ padding: {
246
+ type: NumberConstructor;
247
+ default: number;
248
+ };
249
+ title: {
250
+ type: StringConstructor;
251
+ };
252
+ icon: {
193
253
  type: StringConstructor;
194
- default: string;
195
254
  };
196
255
  }, () => JSX_2.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
197
- tag: {
256
+ border: {
257
+ type: BooleanConstructor;
258
+ default: boolean;
259
+ };
260
+ shadow: {
261
+ type: BooleanConstructor;
262
+ default: boolean;
263
+ };
264
+ padding: {
265
+ type: NumberConstructor;
266
+ default: number;
267
+ };
268
+ title: {
269
+ type: StringConstructor;
270
+ };
271
+ icon: {
198
272
  type: StringConstructor;
199
- default: string;
200
273
  };
201
274
  }>>, {
202
- tag: string;
275
+ border: boolean;
276
+ padding: number;
277
+ shadow: boolean;
203
278
  }, {}>;
204
279
 
205
280
  export declare const Carousel: DefineComponent< {
@@ -901,8 +976,8 @@ onTip?: ((...args: any[]) => any) | undefined;
901
976
  }, {
902
977
  bytes: boolean;
903
978
  disabled: boolean;
904
- styleless: boolean;
905
979
  modelValue: string | number | any[];
980
+ styleless: boolean;
906
981
  focusEnd: boolean;
907
982
  clearable: boolean;
908
983
  afloat: boolean;
@@ -1076,8 +1151,8 @@ min: number;
1076
1151
  output: Function;
1077
1152
  disabled: boolean;
1078
1153
  step: number | boolean;
1079
- styleless: boolean;
1080
1154
  modelValue: string | number | any[];
1155
+ styleless: boolean;
1081
1156
  focusEnd: boolean;
1082
1157
  clearable: boolean;
1083
1158
  afloat: boolean;
@@ -1203,8 +1278,8 @@ default: boolean;
1203
1278
  }>>, {
1204
1279
  bytes: boolean;
1205
1280
  disabled: boolean;
1206
- styleless: boolean;
1207
1281
  modelValue: string | number | any[];
1282
+ styleless: boolean;
1208
1283
  focusEnd: boolean;
1209
1284
  clearable: boolean;
1210
1285
  afloat: boolean;
@@ -1247,17 +1322,62 @@ tag: string;
1247
1322
  }, {}>;
1248
1323
 
1249
1324
  export declare const MAlert: DefineComponent< {
1250
- tag: {
1325
+ modelValue: {
1326
+ type: BooleanConstructor;
1327
+ default: boolean;
1328
+ };
1329
+ type: {
1330
+ type: PropType<"success" | "info" | "error" | "warning">;
1331
+ default: string;
1332
+ };
1333
+ title: {
1334
+ type: StringConstructor;
1335
+ default: string;
1336
+ };
1337
+ desc: {
1251
1338
  type: StringConstructor;
1252
1339
  default: string;
1253
1340
  };
1341
+ icon: {
1342
+ type: (StringConstructor | BooleanConstructor)[];
1343
+ default: boolean;
1344
+ };
1345
+ closable: {
1346
+ type: BooleanConstructor;
1347
+ default: boolean;
1348
+ };
1254
1349
  }, () => JSX_2.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
1255
- tag: {
1350
+ modelValue: {
1351
+ type: BooleanConstructor;
1352
+ default: boolean;
1353
+ };
1354
+ type: {
1355
+ type: PropType<"success" | "info" | "error" | "warning">;
1356
+ default: string;
1357
+ };
1358
+ title: {
1256
1359
  type: StringConstructor;
1257
1360
  default: string;
1258
1361
  };
1362
+ desc: {
1363
+ type: StringConstructor;
1364
+ default: string;
1365
+ };
1366
+ icon: {
1367
+ type: (StringConstructor | BooleanConstructor)[];
1368
+ default: boolean;
1369
+ };
1370
+ closable: {
1371
+ type: BooleanConstructor;
1372
+ default: boolean;
1373
+ };
1259
1374
  }>>, {
1260
- tag: string;
1375
+ type: "error" | "success" | "info" | "warning";
1376
+ title: string;
1377
+ desc: string;
1378
+ icon: string | boolean;
1379
+ modelValue: boolean;
1380
+ closable: boolean;
1261
1381
  }, {}>;
1262
1382
 
1263
1383
  declare class Manager {
@@ -1366,7 +1486,7 @@ default: string;
1366
1486
  onClick?: ((...args: any[]) => any) | undefined;
1367
1487
  }, {
1368
1488
  long: boolean;
1369
- type: "error" | "default" | "text" | "success" | "primary" | "warning";
1489
+ type: "error" | "default" | "text" | "success" | "warning" | "primary";
1370
1490
  round: boolean;
1371
1491
  circle: boolean;
1372
1492
  disabled: boolean;
@@ -1434,17 +1554,47 @@ tag: string;
1434
1554
  }, {}>;
1435
1555
 
1436
1556
  export declare const MCard: DefineComponent< {
1437
- tag: {
1557
+ border: {
1558
+ type: BooleanConstructor;
1559
+ default: boolean;
1560
+ };
1561
+ shadow: {
1562
+ type: BooleanConstructor;
1563
+ default: boolean;
1564
+ };
1565
+ padding: {
1566
+ type: NumberConstructor;
1567
+ default: number;
1568
+ };
1569
+ title: {
1570
+ type: StringConstructor;
1571
+ };
1572
+ icon: {
1438
1573
  type: StringConstructor;
1439
- default: string;
1440
1574
  };
1441
1575
  }, () => JSX_2.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
1442
- tag: {
1576
+ border: {
1577
+ type: BooleanConstructor;
1578
+ default: boolean;
1579
+ };
1580
+ shadow: {
1581
+ type: BooleanConstructor;
1582
+ default: boolean;
1583
+ };
1584
+ padding: {
1585
+ type: NumberConstructor;
1586
+ default: number;
1587
+ };
1588
+ title: {
1589
+ type: StringConstructor;
1590
+ };
1591
+ icon: {
1443
1592
  type: StringConstructor;
1444
- default: string;
1445
1593
  };
1446
1594
  }>>, {
1447
- tag: string;
1595
+ border: boolean;
1596
+ padding: number;
1597
+ shadow: boolean;
1448
1598
  }, {}>;
1449
1599
 
1450
1600
  export declare const MCarousel: DefineComponent< {
@@ -1729,10 +1879,10 @@ onClose?: ((...args: any[]) => any) | undefined;
1729
1879
  fixed: boolean;
1730
1880
  top: number;
1731
1881
  mask: boolean;
1732
- mode: "error" | "loading" | "success" | "warning" | "info";
1882
+ mode: "error" | "loading" | "success" | "info" | "warning";
1733
1883
  duration: number;
1734
- maskClosable: boolean;
1735
1884
  closable: boolean;
1885
+ maskClosable: boolean;
1736
1886
  }, {}>;
1737
1887
 
1738
1888
  export declare const MExpand: DefineComponent< {
@@ -2169,8 +2319,8 @@ onTip?: ((...args: any[]) => any) | undefined;
2169
2319
  bytes: boolean;
2170
2320
  right: boolean;
2171
2321
  disabled: boolean;
2172
- styleless: boolean;
2173
2322
  modelValue: string | number | any[];
2323
+ styleless: boolean;
2174
2324
  focusEnd: boolean;
2175
2325
  clearable: boolean;
2176
2326
  afloat: boolean;
@@ -2340,8 +2490,8 @@ min: number;
2340
2490
  output: Function;
2341
2491
  disabled: boolean;
2342
2492
  step: number | boolean;
2343
- styleless: boolean;
2344
2493
  modelValue: string | number | any[];
2494
+ styleless: boolean;
2345
2495
  focusEnd: boolean;
2346
2496
  clearable: boolean;
2347
2497
  afloat: boolean;
@@ -2475,8 +2625,8 @@ default: boolean;
2475
2625
  }>>, {
2476
2626
  bytes: boolean;
2477
2627
  disabled: boolean;
2478
- styleless: boolean;
2479
2628
  modelValue: string | number | any[];
2629
+ styleless: boolean;
2480
2630
  focusEnd: boolean;
2481
2631
  clearable: boolean;
2482
2632
  afloat: boolean;
@@ -2664,7 +2814,7 @@ type: FunctionConstructor;
2664
2814
  onCancel: {
2665
2815
  type: FunctionConstructor;
2666
2816
  };
2667
- }, () => JSX_2.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("cancel" | "close" | "ok" | "portal-fulfilled" | "update:modelValue")[], "cancel" | "close" | "ok" | "portal-fulfilled" | "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
2817
+ }, () => JSX_2.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("cancel" | "close" | "ok" | "update:modelValue" | "portal-fulfilled")[], "cancel" | "close" | "ok" | "update:modelValue" | "portal-fulfilled", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
2668
2818
  mode: {
2669
2819
  type: PropType<"alert" | "operation">;
2670
2820
  validator: (v: any) => boolean;
@@ -2727,8 +2877,8 @@ width: number;
2727
2877
  mask: boolean;
2728
2878
  footer: boolean;
2729
2879
  mode: "alert" | "operation";
2730
- maskClosable: boolean;
2731
2880
  modelValue: boolean;
2881
+ maskClosable: boolean;
2732
2882
  cancelText: string | boolean;
2733
2883
  closeWithCancel: boolean;
2734
2884
  okText: string | boolean;
@@ -2819,7 +2969,7 @@ type: FunctionConstructor;
2819
2969
  onCancel: {
2820
2970
  type: FunctionConstructor;
2821
2971
  };
2822
- }, () => JSX_2.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("cancel" | "close" | "ok" | "portal-fulfilled" | "update:modelValue" | "visible-change")[], "cancel" | "close" | "ok" | "portal-fulfilled" | "update:modelValue" | "visible-change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
2972
+ }, () => JSX_2.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("cancel" | "close" | "ok" | "update:modelValue" | "visible-change" | "portal-fulfilled")[], "cancel" | "close" | "ok" | "update:modelValue" | "visible-change" | "portal-fulfilled", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
2823
2973
  modelValue: {
2824
2974
  type: BooleanConstructor;
2825
2975
  default: boolean;
@@ -2904,10 +3054,10 @@ mask: boolean;
2904
3054
  footer: boolean;
2905
3055
  draggable: boolean;
2906
3056
  size: "small" | "medium" | "large";
2907
- maskClosable: boolean;
2908
3057
  modelValue: boolean;
2909
- cancelText: string | boolean;
2910
3058
  closable: boolean;
3059
+ maskClosable: boolean;
3060
+ cancelText: string | boolean;
2911
3061
  escClosable: boolean;
2912
3062
  closeWithCancel: boolean;
2913
3063
  scrollable: boolean;
@@ -2974,11 +3124,11 @@ export declare const MPopover: DefineComponent< {
2974
3124
  always: BooleanConstructor;
2975
3125
  animation: StringConstructor;
2976
3126
  content: (FunctionConstructor | StringConstructor)[];
3127
+ modelValue: BooleanConstructor;
2977
3128
  portal: {
2978
3129
  type: BooleanConstructor;
2979
3130
  default: boolean;
2980
3131
  };
2981
- modelValue: BooleanConstructor;
2982
3132
  arrow: {
2983
3133
  type: BooleanConstructor;
2984
3134
  default: boolean;
@@ -3023,11 +3173,11 @@ default: boolean;
3023
3173
  always: BooleanConstructor;
3024
3174
  animation: StringConstructor;
3025
3175
  content: (FunctionConstructor | StringConstructor)[];
3176
+ modelValue: BooleanConstructor;
3026
3177
  portal: {
3027
3178
  type: BooleanConstructor;
3028
3179
  default: boolean;
3029
3180
  };
3030
- modelValue: BooleanConstructor;
3031
3181
  arrow: {
3032
3182
  type: BooleanConstructor;
3033
3183
  default: boolean;
@@ -3075,8 +3225,8 @@ onReady?: ((...args: any[]) => any) | undefined;
3075
3225
  always: boolean;
3076
3226
  disabled: boolean;
3077
3227
  tag: string;
3078
- portal: boolean;
3079
3228
  modelValue: boolean;
3229
+ portal: boolean;
3080
3230
  arrow: boolean;
3081
3231
  placement: string;
3082
3232
  theme: string;
@@ -3680,7 +3830,7 @@ validator: (val: string) => boolean;
3680
3830
  onClose?: ((...args: any[]) => any) | undefined;
3681
3831
  "onPortal-fulfilled"?: ((...args: any[]) => any) | undefined;
3682
3832
  }, {
3683
- mode: "error" | "loading" | "success" | "warning" | "info";
3833
+ mode: "error" | "loading" | "success" | "info" | "warning";
3684
3834
  duration: number;
3685
3835
  maskClosable: boolean;
3686
3836
  }, {}>;
@@ -4378,11 +4528,11 @@ export declare const Popover: DefineComponent< {
4378
4528
  always: BooleanConstructor;
4379
4529
  animation: StringConstructor;
4380
4530
  content: (FunctionConstructor | StringConstructor)[];
4531
+ modelValue: BooleanConstructor;
4381
4532
  portal: {
4382
4533
  type: BooleanConstructor;
4383
4534
  default: boolean;
4384
4535
  };
4385
- modelValue: BooleanConstructor;
4386
4536
  arrow: {
4387
4537
  type: BooleanConstructor;
4388
4538
  default: boolean;
@@ -4427,11 +4577,11 @@ default: boolean;
4427
4577
  always: BooleanConstructor;
4428
4578
  animation: StringConstructor;
4429
4579
  content: (FunctionConstructor | StringConstructor)[];
4580
+ modelValue: BooleanConstructor;
4430
4581
  portal: {
4431
4582
  type: BooleanConstructor;
4432
4583
  default: boolean;
4433
4584
  };
4434
- modelValue: BooleanConstructor;
4435
4585
  arrow: {
4436
4586
  type: BooleanConstructor;
4437
4587
  default: boolean;
@@ -4479,8 +4629,8 @@ onReady?: ((...args: any[]) => any) | undefined;
4479
4629
  always: boolean;
4480
4630
  disabled: boolean;
4481
4631
  tag: string;
4482
- portal: boolean;
4483
4632
  modelValue: boolean;
4633
+ portal: boolean;
4484
4634
  arrow: boolean;
4485
4635
  placement: string;
4486
4636
  theme: string;
@@ -5916,7 +6066,7 @@ validator: (val: string) => boolean;
5916
6066
  onClose?: ((...args: any[]) => any) | undefined;
5917
6067
  "onPortal-fulfilled"?: ((...args: any[]) => any) | undefined;
5918
6068
  }, {
5919
- mode: "error" | "loading" | "success" | "warning" | "info";
6069
+ mode: "error" | "loading" | "success" | "info" | "warning";
5920
6070
  duration: number;
5921
6071
  maskClosable: boolean;
5922
6072
  }, {}>;