@a2simcode/ui 0.0.213 → 0.0.215
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/components/button/index.d.ts +0 -3
- package/dist/components/button/src/button.vue.d.ts +0 -3
- package/dist/components/input-layer/src/input-layer.vue.d.ts +0 -2
- package/dist/components/table/index.d.ts +15 -0
- package/dist/components/table/src/table.vue.d.ts +15 -0
- package/dist/components/table-panel/index.d.ts +15 -0
- package/dist/components/table-panel/src/table-panel.vue.d.ts +15 -0
- package/dist/simcode-ui.es.js +2417 -2396
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/dist/ui.css +1 -1
- package/docs/components/button.md +7 -7
- package/docs/components/meta/button.ts +0 -11
- package/docs/components/meta/input-layer.ts +0 -10
- package/docs/components/meta/table.ts +6 -0
- package/docs/components/table.md +14 -0
- package/docs/examples/button/danger.vue +9 -0
- package/docs/examples/button/disabled.vue +0 -1
- package/docs/examples/input-layer/basic.vue +0 -1
- package/docs/examples/table/multiple-disabled.vue +112 -0
- package/package.json +4 -4
- package/docs/examples/button/danger-ghost.vue +0 -17
|
@@ -12,7 +12,6 @@ declare const JButton: {
|
|
|
12
12
|
type: "primary" | "success" | "dashed" | "link" | "text" | "default";
|
|
13
13
|
label: string;
|
|
14
14
|
shape: "default" | "circle" | "round";
|
|
15
|
-
ghost: boolean;
|
|
16
15
|
disabled: boolean;
|
|
17
16
|
danger: boolean;
|
|
18
17
|
block: boolean;
|
|
@@ -46,7 +45,6 @@ declare const JButton: {
|
|
|
46
45
|
type: "primary" | "success" | "dashed" | "link" | "text" | "default";
|
|
47
46
|
label: string;
|
|
48
47
|
shape: "default" | "circle" | "round";
|
|
49
|
-
ghost: boolean;
|
|
50
48
|
disabled: boolean;
|
|
51
49
|
danger: boolean;
|
|
52
50
|
block: boolean;
|
|
@@ -77,7 +75,6 @@ declare const JButton: {
|
|
|
77
75
|
type: "primary" | "success" | "dashed" | "link" | "text" | "default";
|
|
78
76
|
label: string;
|
|
79
77
|
shape: "default" | "circle" | "round";
|
|
80
|
-
ghost: boolean;
|
|
81
78
|
disabled: boolean;
|
|
82
79
|
danger: boolean;
|
|
83
80
|
block: boolean;
|
|
@@ -5,8 +5,6 @@ export interface ButtonProps {
|
|
|
5
5
|
size?: 'large' | 'default' | 'small';
|
|
6
6
|
/** 设置按钮形状 */
|
|
7
7
|
shape?: 'default' | 'circle' | 'round';
|
|
8
|
-
/** 幽灵属性,使按钮背景透明 */
|
|
9
|
-
ghost?: boolean;
|
|
10
8
|
/** 按钮不可用状态 */
|
|
11
9
|
disabled?: boolean;
|
|
12
10
|
/** 设置危险按钮 */
|
|
@@ -58,7 +56,6 @@ declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {
|
|
|
58
56
|
type: "primary" | "success" | "dashed" | "link" | "text" | "default";
|
|
59
57
|
label: string;
|
|
60
58
|
shape: "default" | "circle" | "round";
|
|
61
|
-
ghost: boolean;
|
|
62
59
|
disabled: boolean;
|
|
63
60
|
danger: boolean;
|
|
64
61
|
block: boolean;
|
|
@@ -60,8 +60,6 @@ export interface InputLayerProps {
|
|
|
60
60
|
buttonType?: 'default' | 'primary' | 'dashed' | 'text' | 'link';
|
|
61
61
|
/** 设置按钮形状 */
|
|
62
62
|
buttonShape?: 'default' | 'circle' | 'round';
|
|
63
|
-
/** 幽灵属性,使按钮背景透明 */
|
|
64
|
-
buttonGhost?: boolean;
|
|
65
63
|
/** 设置危险按钮 */
|
|
66
64
|
buttonDanger?: boolean;
|
|
67
65
|
/** 特定场合下使用 */
|
|
@@ -41,6 +41,10 @@ declare const JTable: {
|
|
|
41
41
|
type: StringConstructor;
|
|
42
42
|
default: string;
|
|
43
43
|
};
|
|
44
|
+
multipleDisabled: {
|
|
45
|
+
type: import('vue').PropType<(record: Record<string, any>) => boolean>;
|
|
46
|
+
default: null;
|
|
47
|
+
};
|
|
44
48
|
isPage: {
|
|
45
49
|
type: BooleanConstructor;
|
|
46
50
|
default: boolean;
|
|
@@ -200,6 +204,7 @@ declare const JTable: {
|
|
|
200
204
|
isShowNumber: boolean;
|
|
201
205
|
isMultiple: boolean;
|
|
202
206
|
selectStateKey: string;
|
|
207
|
+
multipleDisabled: (record: Record<string, any>) => boolean;
|
|
203
208
|
isPage: boolean;
|
|
204
209
|
pageLayoutSimple: boolean;
|
|
205
210
|
pageTotal: number;
|
|
@@ -281,6 +286,10 @@ declare const JTable: {
|
|
|
281
286
|
type: StringConstructor;
|
|
282
287
|
default: string;
|
|
283
288
|
};
|
|
289
|
+
multipleDisabled: {
|
|
290
|
+
type: import('vue').PropType<(record: Record<string, any>) => boolean>;
|
|
291
|
+
default: null;
|
|
292
|
+
};
|
|
284
293
|
isPage: {
|
|
285
294
|
type: BooleanConstructor;
|
|
286
295
|
default: boolean;
|
|
@@ -415,6 +424,7 @@ declare const JTable: {
|
|
|
415
424
|
isShowNumber: boolean;
|
|
416
425
|
isMultiple: boolean;
|
|
417
426
|
selectStateKey: string;
|
|
427
|
+
multipleDisabled: (record: Record<string, any>) => boolean;
|
|
418
428
|
isPage: boolean;
|
|
419
429
|
pageLayoutSimple: boolean;
|
|
420
430
|
pageTotal: number;
|
|
@@ -491,6 +501,10 @@ declare const JTable: {
|
|
|
491
501
|
type: StringConstructor;
|
|
492
502
|
default: string;
|
|
493
503
|
};
|
|
504
|
+
multipleDisabled: {
|
|
505
|
+
type: import('vue').PropType<(record: Record<string, any>) => boolean>;
|
|
506
|
+
default: null;
|
|
507
|
+
};
|
|
494
508
|
isPage: {
|
|
495
509
|
type: BooleanConstructor;
|
|
496
510
|
default: boolean;
|
|
@@ -650,6 +664,7 @@ declare const JTable: {
|
|
|
650
664
|
isShowNumber: boolean;
|
|
651
665
|
isMultiple: boolean;
|
|
652
666
|
selectStateKey: string;
|
|
667
|
+
multipleDisabled: (record: Record<string, any>) => boolean;
|
|
653
668
|
isPage: boolean;
|
|
654
669
|
pageLayoutSimple: boolean;
|
|
655
670
|
pageTotal: number;
|
|
@@ -72,6 +72,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
72
72
|
type: StringConstructor;
|
|
73
73
|
default: string;
|
|
74
74
|
};
|
|
75
|
+
/**
|
|
76
|
+
* @zh 多选禁用判断
|
|
77
|
+
*/
|
|
78
|
+
multipleDisabled: {
|
|
79
|
+
type: PropType<(record: Record<string, any>) => boolean>;
|
|
80
|
+
default: null;
|
|
81
|
+
};
|
|
75
82
|
/**
|
|
76
83
|
* @zh 是否分页
|
|
77
84
|
*/
|
|
@@ -328,6 +335,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
328
335
|
type: StringConstructor;
|
|
329
336
|
default: string;
|
|
330
337
|
};
|
|
338
|
+
/**
|
|
339
|
+
* @zh 多选禁用判断
|
|
340
|
+
*/
|
|
341
|
+
multipleDisabled: {
|
|
342
|
+
type: PropType<(record: Record<string, any>) => boolean>;
|
|
343
|
+
default: null;
|
|
344
|
+
};
|
|
331
345
|
/**
|
|
332
346
|
* @zh 是否分页
|
|
333
347
|
*/
|
|
@@ -518,6 +532,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
518
532
|
isShowNumber: boolean;
|
|
519
533
|
isMultiple: boolean;
|
|
520
534
|
selectStateKey: string;
|
|
535
|
+
multipleDisabled: (record: Record<string, any>) => boolean;
|
|
521
536
|
isPage: boolean;
|
|
522
537
|
pageLayoutSimple: boolean;
|
|
523
538
|
pageTotal: number;
|
|
@@ -29,6 +29,10 @@ declare const JTablePanel: {
|
|
|
29
29
|
type: StringConstructor;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
|
+
multipleDisabled: {
|
|
33
|
+
type: import('vue').PropType<(record: Record<string, any>) => boolean>;
|
|
34
|
+
default: null;
|
|
35
|
+
};
|
|
32
36
|
isPage: {
|
|
33
37
|
type: BooleanConstructor;
|
|
34
38
|
default: boolean;
|
|
@@ -148,6 +152,7 @@ declare const JTablePanel: {
|
|
|
148
152
|
isShowNumber: boolean;
|
|
149
153
|
isMultiple: boolean;
|
|
150
154
|
selectStateKey: string;
|
|
155
|
+
multipleDisabled: (record: Record<string, any>) => boolean;
|
|
151
156
|
isPage: boolean;
|
|
152
157
|
pageSize: number;
|
|
153
158
|
rowKey: string;
|
|
@@ -402,6 +407,10 @@ declare const JTablePanel: {
|
|
|
402
407
|
type: StringConstructor;
|
|
403
408
|
default: string;
|
|
404
409
|
};
|
|
410
|
+
multipleDisabled: {
|
|
411
|
+
type: import('vue').PropType<(record: Record<string, any>) => boolean>;
|
|
412
|
+
default: null;
|
|
413
|
+
};
|
|
405
414
|
isPage: {
|
|
406
415
|
type: BooleanConstructor;
|
|
407
416
|
default: boolean;
|
|
@@ -518,6 +527,7 @@ declare const JTablePanel: {
|
|
|
518
527
|
isShowNumber: boolean;
|
|
519
528
|
isMultiple: boolean;
|
|
520
529
|
selectStateKey: string;
|
|
530
|
+
multipleDisabled: (record: Record<string, any>) => boolean;
|
|
521
531
|
isPage: boolean;
|
|
522
532
|
pageSize: number;
|
|
523
533
|
rowKey: string;
|
|
@@ -581,6 +591,10 @@ declare const JTablePanel: {
|
|
|
581
591
|
type: StringConstructor;
|
|
582
592
|
default: string;
|
|
583
593
|
};
|
|
594
|
+
multipleDisabled: {
|
|
595
|
+
type: import('vue').PropType<(record: Record<string, any>) => boolean>;
|
|
596
|
+
default: null;
|
|
597
|
+
};
|
|
584
598
|
isPage: {
|
|
585
599
|
type: BooleanConstructor;
|
|
586
600
|
default: boolean;
|
|
@@ -700,6 +714,7 @@ declare const JTablePanel: {
|
|
|
700
714
|
isShowNumber: boolean;
|
|
701
715
|
isMultiple: boolean;
|
|
702
716
|
selectStateKey: string;
|
|
717
|
+
multipleDisabled: (record: Record<string, any>) => boolean;
|
|
703
718
|
isPage: boolean;
|
|
704
719
|
pageSize: number;
|
|
705
720
|
rowKey: string;
|
|
@@ -53,6 +53,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
53
53
|
type: StringConstructor;
|
|
54
54
|
default: string;
|
|
55
55
|
};
|
|
56
|
+
/**
|
|
57
|
+
* @zh 多选禁用判断
|
|
58
|
+
*/
|
|
59
|
+
multipleDisabled: {
|
|
60
|
+
type: PropType<(record: Record<string, any>) => boolean>;
|
|
61
|
+
default: null;
|
|
62
|
+
};
|
|
56
63
|
/**
|
|
57
64
|
* @zh 是否分页
|
|
58
65
|
*/
|
|
@@ -288,6 +295,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
288
295
|
type: StringConstructor;
|
|
289
296
|
default: string;
|
|
290
297
|
};
|
|
298
|
+
/**
|
|
299
|
+
* @zh 多选禁用判断
|
|
300
|
+
*/
|
|
301
|
+
multipleDisabled: {
|
|
302
|
+
type: PropType<(record: Record<string, any>) => boolean>;
|
|
303
|
+
default: null;
|
|
304
|
+
};
|
|
291
305
|
/**
|
|
292
306
|
* @zh 是否分页
|
|
293
307
|
*/
|
|
@@ -475,6 +489,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
475
489
|
isShowNumber: boolean;
|
|
476
490
|
isMultiple: boolean;
|
|
477
491
|
selectStateKey: string;
|
|
492
|
+
multipleDisabled: (record: Record<string, any>) => boolean;
|
|
478
493
|
isPage: boolean;
|
|
479
494
|
pageSize: number;
|
|
480
495
|
rowKey: string;
|