@a2simcode/ui 0.0.306 → 0.0.308
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/barcode/index.d.ts +3 -3
- package/dist/components/barcode/src/barcode.vue.d.ts +1 -1
- package/dist/components/card-list/index.d.ts +3 -3
- package/dist/components/card-list/src/card-list.vue.d.ts +1 -1
- package/dist/components/input-decorated-title/index.d.ts +3 -3
- package/dist/components/input-decorated-title/src/input-decorated-title.vue.d.ts +1 -1
- package/dist/components/select/src/select.vue.d.ts +4 -0
- package/dist/components/table-panel/index.d.ts +6 -6
- package/dist/components/table-panel/src/table-panel.vue.d.ts +3 -3
- package/dist/simcode-ui.es.js +2949 -2898
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/dist/ui.css +1 -1
- package/docs/components/meta/buttons.ts +81 -81
- package/docs/components/meta/select.ts +10 -0
- package/docs/components/select.md +16 -0
- package/docs/components/table.md +16 -0
- package/docs/examples/select/color.vue +16 -0
- package/docs/examples/table/dynamic-type.vue +1 -0
- package/docs/examples/table/show-tag.vue +68 -0
- package/package.json +1 -1
|
@@ -146,13 +146,13 @@ declare const JBarcode: {
|
|
|
146
146
|
width: number;
|
|
147
147
|
rows: number;
|
|
148
148
|
format: string;
|
|
149
|
+
padding: number;
|
|
149
150
|
columns: number;
|
|
150
151
|
scaleX: number;
|
|
151
152
|
scaleY: number;
|
|
152
153
|
scale: number;
|
|
153
154
|
barcolor: string;
|
|
154
155
|
backgroundcolor: string;
|
|
155
|
-
padding: number;
|
|
156
156
|
paddingwidth: number;
|
|
157
157
|
paddingheight: number;
|
|
158
158
|
inkspread: number;
|
|
@@ -328,13 +328,13 @@ declare const JBarcode: {
|
|
|
328
328
|
width: number;
|
|
329
329
|
rows: number;
|
|
330
330
|
format: string;
|
|
331
|
+
padding: number;
|
|
331
332
|
columns: number;
|
|
332
333
|
scaleX: number;
|
|
333
334
|
scaleY: number;
|
|
334
335
|
scale: number;
|
|
335
336
|
barcolor: string;
|
|
336
337
|
backgroundcolor: string;
|
|
337
|
-
padding: number;
|
|
338
338
|
paddingwidth: number;
|
|
339
339
|
paddingheight: number;
|
|
340
340
|
inkspread: number;
|
|
@@ -507,13 +507,13 @@ declare const JBarcode: {
|
|
|
507
507
|
width: number;
|
|
508
508
|
rows: number;
|
|
509
509
|
format: string;
|
|
510
|
+
padding: number;
|
|
510
511
|
columns: number;
|
|
511
512
|
scaleX: number;
|
|
512
513
|
scaleY: number;
|
|
513
514
|
scale: number;
|
|
514
515
|
barcolor: string;
|
|
515
516
|
backgroundcolor: string;
|
|
516
|
-
padding: number;
|
|
517
517
|
paddingwidth: number;
|
|
518
518
|
paddingheight: number;
|
|
519
519
|
inkspread: number;
|
|
@@ -390,13 +390,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
390
390
|
width: number;
|
|
391
391
|
rows: number;
|
|
392
392
|
format: string;
|
|
393
|
+
padding: number;
|
|
393
394
|
columns: number;
|
|
394
395
|
scaleX: number;
|
|
395
396
|
scaleY: number;
|
|
396
397
|
scale: number;
|
|
397
398
|
barcolor: string;
|
|
398
399
|
backgroundcolor: string;
|
|
399
|
-
padding: number;
|
|
400
400
|
paddingwidth: number;
|
|
401
401
|
paddingheight: number;
|
|
402
402
|
inkspread: number;
|
|
@@ -40,6 +40,7 @@ export declare const JCardList: {
|
|
|
40
40
|
loading: boolean;
|
|
41
41
|
labelKey: string;
|
|
42
42
|
buttons: import('..').ButtonCompType[];
|
|
43
|
+
backgroundColor: string;
|
|
43
44
|
isPage: boolean;
|
|
44
45
|
isMultiSelect: boolean;
|
|
45
46
|
pageLayoutSimple: boolean;
|
|
@@ -48,7 +49,6 @@ export declare const JCardList: {
|
|
|
48
49
|
tablePage: number;
|
|
49
50
|
pageSize: number;
|
|
50
51
|
rowKey: string;
|
|
51
|
-
backgroundColor: string;
|
|
52
52
|
cardWidth: number | string;
|
|
53
53
|
dataSource: Record<string, any>[];
|
|
54
54
|
loadSrc: (item: Record<string, any>) => string;
|
|
@@ -94,6 +94,7 @@ export declare const JCardList: {
|
|
|
94
94
|
loading: boolean;
|
|
95
95
|
labelKey: string;
|
|
96
96
|
buttons: import('..').ButtonCompType[];
|
|
97
|
+
backgroundColor: string;
|
|
97
98
|
isPage: boolean;
|
|
98
99
|
isMultiSelect: boolean;
|
|
99
100
|
pageLayoutSimple: boolean;
|
|
@@ -102,7 +103,6 @@ export declare const JCardList: {
|
|
|
102
103
|
tablePage: number;
|
|
103
104
|
pageSize: number;
|
|
104
105
|
rowKey: string;
|
|
105
|
-
backgroundColor: string;
|
|
106
106
|
cardWidth: number | string;
|
|
107
107
|
dataSource: Record<string, any>[];
|
|
108
108
|
loadSrc: (item: Record<string, any>) => string;
|
|
@@ -161,6 +161,7 @@ export declare const JCardList: {
|
|
|
161
161
|
loading: boolean;
|
|
162
162
|
labelKey: string;
|
|
163
163
|
buttons: import('..').ButtonCompType[];
|
|
164
|
+
backgroundColor: string;
|
|
164
165
|
isPage: boolean;
|
|
165
166
|
isMultiSelect: boolean;
|
|
166
167
|
pageLayoutSimple: boolean;
|
|
@@ -169,7 +170,6 @@ export declare const JCardList: {
|
|
|
169
170
|
tablePage: number;
|
|
170
171
|
pageSize: number;
|
|
171
172
|
rowKey: string;
|
|
172
|
-
backgroundColor: string;
|
|
173
173
|
cardWidth: number | string;
|
|
174
174
|
dataSource: Record<string, any>[];
|
|
175
175
|
loadSrc: (item: Record<string, any>) => string;
|
|
@@ -68,6 +68,7 @@ declare const _default: import('vue').DefineComponent<CardListProps, {
|
|
|
68
68
|
loading: boolean;
|
|
69
69
|
labelKey: string;
|
|
70
70
|
buttons: ButtonCompType[];
|
|
71
|
+
backgroundColor: string;
|
|
71
72
|
isPage: boolean;
|
|
72
73
|
isMultiSelect: boolean;
|
|
73
74
|
pageLayoutSimple: boolean;
|
|
@@ -76,7 +77,6 @@ declare const _default: import('vue').DefineComponent<CardListProps, {
|
|
|
76
77
|
tablePage: number;
|
|
77
78
|
pageSize: number;
|
|
78
79
|
rowKey: string;
|
|
79
|
-
backgroundColor: string;
|
|
80
80
|
cardWidth: number | string;
|
|
81
81
|
dataSource: Record<string, any>[];
|
|
82
82
|
loadSrc: (item: Record<string, any>) => string;
|
|
@@ -8,10 +8,10 @@ declare const JInputDecoratedTitle: {
|
|
|
8
8
|
}, import('vue').PublicProps, {
|
|
9
9
|
color: string;
|
|
10
10
|
modelValue: string;
|
|
11
|
+
backgroundColor: string;
|
|
11
12
|
align: string;
|
|
12
13
|
weight: string | number;
|
|
13
14
|
contentColor: string;
|
|
14
|
-
backgroundColor: string;
|
|
15
15
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
16
16
|
popoverRef: unknown;
|
|
17
17
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
@@ -27,10 +27,10 @@ declare const JInputDecoratedTitle: {
|
|
|
27
27
|
}>, {}, {}, {}, {}, {
|
|
28
28
|
color: string;
|
|
29
29
|
modelValue: string;
|
|
30
|
+
backgroundColor: string;
|
|
30
31
|
align: string;
|
|
31
32
|
weight: string | number;
|
|
32
33
|
contentColor: string;
|
|
33
|
-
backgroundColor: string;
|
|
34
34
|
}>;
|
|
35
35
|
__isFragment?: never;
|
|
36
36
|
__isTeleport?: never;
|
|
@@ -44,10 +44,10 @@ declare const JInputDecoratedTitle: {
|
|
|
44
44
|
}, string, {
|
|
45
45
|
color: string;
|
|
46
46
|
modelValue: string;
|
|
47
|
+
backgroundColor: string;
|
|
47
48
|
align: string;
|
|
48
49
|
weight: string | number;
|
|
49
50
|
contentColor: string;
|
|
50
|
-
backgroundColor: string;
|
|
51
51
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
52
52
|
install: (app: import('vue').App) => void;
|
|
53
53
|
};
|
|
@@ -33,10 +33,10 @@ declare const _default: import('vue').DefineComponent<InputDecoratedTitleProps,
|
|
|
33
33
|
}>, {
|
|
34
34
|
color: string;
|
|
35
35
|
modelValue: string;
|
|
36
|
+
backgroundColor: string;
|
|
36
37
|
align: string;
|
|
37
38
|
weight: string | number;
|
|
38
39
|
contentColor: string;
|
|
39
|
-
backgroundColor: string;
|
|
40
40
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
41
41
|
popoverRef: unknown;
|
|
42
42
|
}, HTMLDivElement>;
|
|
@@ -113,7 +113,7 @@ declare const JTablePanel: {
|
|
|
113
113
|
} | null | undefined>;
|
|
114
114
|
default: null;
|
|
115
115
|
};
|
|
116
|
-
loadData: import('vue').PropType<(params: Record<string, any
|
|
116
|
+
loadData: import('vue').PropType<(params: Record<string, any>, isRefreshBtn?: boolean) => Promise<any>>;
|
|
117
117
|
remoteSelection: {
|
|
118
118
|
type: BooleanConstructor;
|
|
119
119
|
default: boolean;
|
|
@@ -190,7 +190,7 @@ declare const JTablePanel: {
|
|
|
190
190
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
191
191
|
}>, {
|
|
192
192
|
refreshData: (queryParam?: Record<string, any>) => Promise<void>;
|
|
193
|
-
resetData: () => Promise<void>;
|
|
193
|
+
resetData: (isRefreshBtn?: boolean) => Promise<void>;
|
|
194
194
|
getSelection: () => any;
|
|
195
195
|
setSelection: (records: any[]) => void;
|
|
196
196
|
setSelectionById: (ids: (string | number)[]) => void;
|
|
@@ -577,7 +577,7 @@ declare const JTablePanel: {
|
|
|
577
577
|
} | null | undefined>;
|
|
578
578
|
default: null;
|
|
579
579
|
};
|
|
580
|
-
loadData: import('vue').PropType<(params: Record<string, any
|
|
580
|
+
loadData: import('vue').PropType<(params: Record<string, any>, isRefreshBtn?: boolean) => Promise<any>>;
|
|
581
581
|
remoteSelection: {
|
|
582
582
|
type: BooleanConstructor;
|
|
583
583
|
default: boolean;
|
|
@@ -654,7 +654,7 @@ declare const JTablePanel: {
|
|
|
654
654
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
655
655
|
}>, {
|
|
656
656
|
refreshData: (queryParam?: Record<string, any>) => Promise<void>;
|
|
657
|
-
resetData: () => Promise<void>;
|
|
657
|
+
resetData: (isRefreshBtn?: boolean) => Promise<void>;
|
|
658
658
|
getSelection: () => any;
|
|
659
659
|
setSelection: (records: any[]) => void;
|
|
660
660
|
setSelectionById: (ids: (string | number)[]) => void;
|
|
@@ -832,7 +832,7 @@ declare const JTablePanel: {
|
|
|
832
832
|
} | null | undefined>;
|
|
833
833
|
default: null;
|
|
834
834
|
};
|
|
835
|
-
loadData: import('vue').PropType<(params: Record<string, any
|
|
835
|
+
loadData: import('vue').PropType<(params: Record<string, any>, isRefreshBtn?: boolean) => Promise<any>>;
|
|
836
836
|
remoteSelection: {
|
|
837
837
|
type: BooleanConstructor;
|
|
838
838
|
default: boolean;
|
|
@@ -909,7 +909,7 @@ declare const JTablePanel: {
|
|
|
909
909
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
910
910
|
}>, {
|
|
911
911
|
refreshData: (queryParam?: Record<string, any>) => Promise<void>;
|
|
912
|
-
resetData: () => Promise<void>;
|
|
912
|
+
resetData: (isRefreshBtn?: boolean) => Promise<void>;
|
|
913
913
|
getSelection: () => any;
|
|
914
914
|
setSelection: (records: any[]) => void;
|
|
915
915
|
setSelectionById: (ids: (string | number)[]) => void;
|
|
@@ -201,7 +201,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
201
201
|
/**
|
|
202
202
|
* @zh 加载数据方法
|
|
203
203
|
*/
|
|
204
|
-
loadData: PropType<(params: Record<string, any
|
|
204
|
+
loadData: PropType<(params: Record<string, any>, isRefreshBtn?: boolean) => Promise<any>>;
|
|
205
205
|
/**
|
|
206
206
|
* @zh 选中数据是否远程拉取,开启后「仅显示选中」会按选中 ID 调用 loadData(参数含 ids 与 field)从接口拉取完整选中数据
|
|
207
207
|
*/
|
|
@@ -335,7 +335,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
335
335
|
};
|
|
336
336
|
}>, {
|
|
337
337
|
refreshData: (queryParam?: Record<string, any>) => Promise<void>;
|
|
338
|
-
resetData: () => Promise<void>;
|
|
338
|
+
resetData: (isRefreshBtn?: boolean) => Promise<void>;
|
|
339
339
|
getSelection: () => any;
|
|
340
340
|
setSelection: (records: any[]) => void;
|
|
341
341
|
setSelectionById: (ids: (string | number)[]) => void;
|
|
@@ -543,7 +543,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
543
543
|
/**
|
|
544
544
|
* @zh 加载数据方法
|
|
545
545
|
*/
|
|
546
|
-
loadData: PropType<(params: Record<string, any
|
|
546
|
+
loadData: PropType<(params: Record<string, any>, isRefreshBtn?: boolean) => Promise<any>>;
|
|
547
547
|
/**
|
|
548
548
|
* @zh 选中数据是否远程拉取,开启后「仅显示选中」会按选中 ID 调用 loadData(参数含 ids 与 field)从接口拉取完整选中数据
|
|
549
549
|
*/
|