@a2simcode/ui 0.0.88 → 0.0.89
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/dialog/index.d.ts +3 -3
- package/dist/components/dialog/src/index.vue.d.ts +1 -1
- package/dist/components/input-layer/index.d.ts +10 -0
- package/dist/components/input-layer/src/input-layer.vue.d.ts +10 -0
- 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 +4181 -4104
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/docs/components/meta/table-panel.ts +6 -0
- package/docs/components/table-panel.md +15 -0
- package/docs/components/table.md +15 -0
- package/docs/examples/table/checkbox-layout.vue +68 -0
- package/docs/examples/table-panel/tree-parent-key.vue +66 -0
- package/package.json +1 -1
|
@@ -128,9 +128,9 @@ export declare const JDialog: {
|
|
|
128
128
|
minWidth: number;
|
|
129
129
|
minHeight: number;
|
|
130
130
|
visible: boolean;
|
|
131
|
+
autoHeight: boolean;
|
|
131
132
|
subtitle: Function;
|
|
132
133
|
showCloseBtn: boolean;
|
|
133
|
-
autoHeight: boolean;
|
|
134
134
|
stepActive: number;
|
|
135
135
|
zoomControls: boolean;
|
|
136
136
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -263,9 +263,9 @@ export declare const JDialog: {
|
|
|
263
263
|
minWidth: number;
|
|
264
264
|
minHeight: number;
|
|
265
265
|
visible: boolean;
|
|
266
|
+
autoHeight: boolean;
|
|
266
267
|
subtitle: Function;
|
|
267
268
|
showCloseBtn: boolean;
|
|
268
|
-
autoHeight: boolean;
|
|
269
269
|
stepActive: number;
|
|
270
270
|
zoomControls: boolean;
|
|
271
271
|
}>;
|
|
@@ -401,9 +401,9 @@ export declare const JDialog: {
|
|
|
401
401
|
minWidth: number;
|
|
402
402
|
minHeight: number;
|
|
403
403
|
visible: boolean;
|
|
404
|
+
autoHeight: boolean;
|
|
404
405
|
subtitle: Function;
|
|
405
406
|
showCloseBtn: boolean;
|
|
406
|
-
autoHeight: boolean;
|
|
407
407
|
stepActive: number;
|
|
408
408
|
zoomControls: boolean;
|
|
409
409
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -389,9 +389,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
389
389
|
minWidth: number;
|
|
390
390
|
minHeight: number;
|
|
391
391
|
visible: boolean;
|
|
392
|
+
autoHeight: boolean;
|
|
392
393
|
subtitle: Function;
|
|
393
394
|
showCloseBtn: boolean;
|
|
394
|
-
autoHeight: boolean;
|
|
395
395
|
stepActive: number;
|
|
396
396
|
zoomControls: boolean;
|
|
397
397
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -290,6 +290,10 @@ export declare const JInputLayer: {
|
|
|
290
290
|
type: BooleanConstructor;
|
|
291
291
|
default: boolean;
|
|
292
292
|
};
|
|
293
|
+
parentKey: {
|
|
294
|
+
type: StringConstructor;
|
|
295
|
+
default: string;
|
|
296
|
+
};
|
|
293
297
|
isShowNumber: {
|
|
294
298
|
type: BooleanConstructor;
|
|
295
299
|
default: boolean;
|
|
@@ -396,6 +400,7 @@ export declare const JInputLayer: {
|
|
|
396
400
|
buttons: import('..').ButtonCompType[];
|
|
397
401
|
columns: import('..').SchemaConfig[];
|
|
398
402
|
isTree: boolean;
|
|
403
|
+
parentKey: string;
|
|
399
404
|
isShowNumber: boolean;
|
|
400
405
|
isMultiple: boolean;
|
|
401
406
|
isPage: boolean;
|
|
@@ -621,6 +626,10 @@ export declare const JInputLayer: {
|
|
|
621
626
|
type: BooleanConstructor;
|
|
622
627
|
default: boolean;
|
|
623
628
|
};
|
|
629
|
+
parentKey: {
|
|
630
|
+
type: StringConstructor;
|
|
631
|
+
default: string;
|
|
632
|
+
};
|
|
624
633
|
isShowNumber: {
|
|
625
634
|
type: BooleanConstructor;
|
|
626
635
|
default: boolean;
|
|
@@ -724,6 +733,7 @@ export declare const JInputLayer: {
|
|
|
724
733
|
buttons: import('..').ButtonCompType[];
|
|
725
734
|
columns: import('..').SchemaConfig[];
|
|
726
735
|
isTree: boolean;
|
|
736
|
+
parentKey: string;
|
|
727
737
|
isShowNumber: boolean;
|
|
728
738
|
isMultiple: boolean;
|
|
729
739
|
isPage: boolean;
|
|
@@ -349,6 +349,10 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
349
349
|
type: BooleanConstructor;
|
|
350
350
|
default: boolean;
|
|
351
351
|
};
|
|
352
|
+
parentKey: {
|
|
353
|
+
type: StringConstructor;
|
|
354
|
+
default: string;
|
|
355
|
+
};
|
|
352
356
|
isShowNumber: {
|
|
353
357
|
type: BooleanConstructor;
|
|
354
358
|
default: boolean;
|
|
@@ -455,6 +459,7 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
455
459
|
buttons: import('../..').ButtonCompType[];
|
|
456
460
|
columns: import('../..').SchemaConfig[];
|
|
457
461
|
isTree: boolean;
|
|
462
|
+
parentKey: string;
|
|
458
463
|
isShowNumber: boolean;
|
|
459
464
|
isMultiple: boolean;
|
|
460
465
|
isPage: boolean;
|
|
@@ -680,6 +685,10 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
680
685
|
type: BooleanConstructor;
|
|
681
686
|
default: boolean;
|
|
682
687
|
};
|
|
688
|
+
parentKey: {
|
|
689
|
+
type: StringConstructor;
|
|
690
|
+
default: string;
|
|
691
|
+
};
|
|
683
692
|
isShowNumber: {
|
|
684
693
|
type: BooleanConstructor;
|
|
685
694
|
default: boolean;
|
|
@@ -783,6 +792,7 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
783
792
|
buttons: import('../..').ButtonCompType[];
|
|
784
793
|
columns: import('../..').SchemaConfig[];
|
|
785
794
|
isTree: boolean;
|
|
795
|
+
parentKey: string;
|
|
786
796
|
isShowNumber: boolean;
|
|
787
797
|
isMultiple: boolean;
|
|
788
798
|
isPage: boolean;
|
|
@@ -21,6 +21,10 @@ declare const JTable: {
|
|
|
21
21
|
type: BooleanConstructor;
|
|
22
22
|
default: boolean;
|
|
23
23
|
};
|
|
24
|
+
parentKey: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
24
28
|
isShowNumber: {
|
|
25
29
|
type: BooleanConstructor;
|
|
26
30
|
default: boolean;
|
|
@@ -160,6 +164,7 @@ declare const JTable: {
|
|
|
160
164
|
columns: import('.').ColumnSchemaConfig[];
|
|
161
165
|
records: Record<string, any>[];
|
|
162
166
|
isTree: boolean;
|
|
167
|
+
parentKey: string;
|
|
163
168
|
isShowNumber: boolean;
|
|
164
169
|
isMultiple: boolean;
|
|
165
170
|
isPage: boolean;
|
|
@@ -213,6 +218,10 @@ declare const JTable: {
|
|
|
213
218
|
type: BooleanConstructor;
|
|
214
219
|
default: boolean;
|
|
215
220
|
};
|
|
221
|
+
parentKey: {
|
|
222
|
+
type: StringConstructor;
|
|
223
|
+
default: string;
|
|
224
|
+
};
|
|
216
225
|
isShowNumber: {
|
|
217
226
|
type: BooleanConstructor;
|
|
218
227
|
default: boolean;
|
|
@@ -333,6 +342,7 @@ declare const JTable: {
|
|
|
333
342
|
columns: import('.').ColumnSchemaConfig[];
|
|
334
343
|
records: Record<string, any>[];
|
|
335
344
|
isTree: boolean;
|
|
345
|
+
parentKey: string;
|
|
336
346
|
isShowNumber: boolean;
|
|
337
347
|
isMultiple: boolean;
|
|
338
348
|
isPage: boolean;
|
|
@@ -381,6 +391,10 @@ declare const JTable: {
|
|
|
381
391
|
type: BooleanConstructor;
|
|
382
392
|
default: boolean;
|
|
383
393
|
};
|
|
394
|
+
parentKey: {
|
|
395
|
+
type: StringConstructor;
|
|
396
|
+
default: string;
|
|
397
|
+
};
|
|
384
398
|
isShowNumber: {
|
|
385
399
|
type: BooleanConstructor;
|
|
386
400
|
default: boolean;
|
|
@@ -520,6 +534,7 @@ declare const JTable: {
|
|
|
520
534
|
columns: import('.').ColumnSchemaConfig[];
|
|
521
535
|
records: Record<string, any>[];
|
|
522
536
|
isTree: boolean;
|
|
537
|
+
parentKey: string;
|
|
523
538
|
isShowNumber: boolean;
|
|
524
539
|
isMultiple: boolean;
|
|
525
540
|
isPage: boolean;
|
|
@@ -37,6 +37,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
37
37
|
type: BooleanConstructor;
|
|
38
38
|
default: boolean;
|
|
39
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
* @zh 父级字段名(isTree 为 true 时用于将扁平数据转换成树形数据)
|
|
42
|
+
*/
|
|
43
|
+
parentKey: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
40
47
|
/**
|
|
41
48
|
* @zh 是否显示序号
|
|
42
49
|
*/
|
|
@@ -255,6 +262,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
255
262
|
type: BooleanConstructor;
|
|
256
263
|
default: boolean;
|
|
257
264
|
};
|
|
265
|
+
/**
|
|
266
|
+
* @zh 父级字段名(isTree 为 true 时用于将扁平数据转换成树形数据)
|
|
267
|
+
*/
|
|
268
|
+
parentKey: {
|
|
269
|
+
type: StringConstructor;
|
|
270
|
+
default: string;
|
|
271
|
+
};
|
|
258
272
|
/**
|
|
259
273
|
* @zh 是否显示序号
|
|
260
274
|
*/
|
|
@@ -438,6 +452,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
438
452
|
columns: ColumnSchemaConfig[];
|
|
439
453
|
records: Record<string, any>[];
|
|
440
454
|
isTree: boolean;
|
|
455
|
+
parentKey: string;
|
|
441
456
|
isShowNumber: boolean;
|
|
442
457
|
isMultiple: boolean;
|
|
443
458
|
isPage: boolean;
|
|
@@ -9,6 +9,10 @@ declare const JTablePanel: {
|
|
|
9
9
|
type: BooleanConstructor;
|
|
10
10
|
default: boolean;
|
|
11
11
|
};
|
|
12
|
+
parentKey: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
12
16
|
isShowNumber: {
|
|
13
17
|
type: BooleanConstructor;
|
|
14
18
|
default: boolean;
|
|
@@ -115,6 +119,7 @@ declare const JTablePanel: {
|
|
|
115
119
|
buttons: import('..').ButtonCompType[];
|
|
116
120
|
columns: import('..').SchemaConfig[];
|
|
117
121
|
isTree: boolean;
|
|
122
|
+
parentKey: string;
|
|
118
123
|
isShowNumber: boolean;
|
|
119
124
|
isMultiple: boolean;
|
|
120
125
|
isPage: boolean;
|
|
@@ -340,6 +345,10 @@ declare const JTablePanel: {
|
|
|
340
345
|
type: BooleanConstructor;
|
|
341
346
|
default: boolean;
|
|
342
347
|
};
|
|
348
|
+
parentKey: {
|
|
349
|
+
type: StringConstructor;
|
|
350
|
+
default: string;
|
|
351
|
+
};
|
|
343
352
|
isShowNumber: {
|
|
344
353
|
type: BooleanConstructor;
|
|
345
354
|
default: boolean;
|
|
@@ -443,6 +452,7 @@ declare const JTablePanel: {
|
|
|
443
452
|
buttons: import('..').ButtonCompType[];
|
|
444
453
|
columns: import('..').SchemaConfig[];
|
|
445
454
|
isTree: boolean;
|
|
455
|
+
parentKey: string;
|
|
446
456
|
isShowNumber: boolean;
|
|
447
457
|
isMultiple: boolean;
|
|
448
458
|
isPage: boolean;
|
|
@@ -477,6 +487,10 @@ declare const JTablePanel: {
|
|
|
477
487
|
type: BooleanConstructor;
|
|
478
488
|
default: boolean;
|
|
479
489
|
};
|
|
490
|
+
parentKey: {
|
|
491
|
+
type: StringConstructor;
|
|
492
|
+
default: string;
|
|
493
|
+
};
|
|
480
494
|
isShowNumber: {
|
|
481
495
|
type: BooleanConstructor;
|
|
482
496
|
default: boolean;
|
|
@@ -583,6 +597,7 @@ declare const JTablePanel: {
|
|
|
583
597
|
buttons: import('..').ButtonCompType[];
|
|
584
598
|
columns: import('..').SchemaConfig[];
|
|
585
599
|
isTree: boolean;
|
|
600
|
+
parentKey: string;
|
|
586
601
|
isShowNumber: boolean;
|
|
587
602
|
isMultiple: boolean;
|
|
588
603
|
isPage: boolean;
|
|
@@ -18,6 +18,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
18
18
|
type: BooleanConstructor;
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* @zh 父级字段名(isTree 为 true 时用于将扁平数据转换成树形数据)
|
|
23
|
+
*/
|
|
24
|
+
parentKey: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
21
28
|
/**
|
|
22
29
|
* @zh 是否显示序号
|
|
23
30
|
*/
|
|
@@ -207,6 +214,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
207
214
|
type: BooleanConstructor;
|
|
208
215
|
default: boolean;
|
|
209
216
|
};
|
|
217
|
+
/**
|
|
218
|
+
* @zh 父级字段名(isTree 为 true 时用于将扁平数据转换成树形数据)
|
|
219
|
+
*/
|
|
220
|
+
parentKey: {
|
|
221
|
+
type: StringConstructor;
|
|
222
|
+
default: string;
|
|
223
|
+
};
|
|
210
224
|
/**
|
|
211
225
|
* @zh 是否显示序号
|
|
212
226
|
*/
|
|
@@ -378,6 +392,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
378
392
|
buttons: ButtonCompType[];
|
|
379
393
|
columns: SchemaConfig[];
|
|
380
394
|
isTree: boolean;
|
|
395
|
+
parentKey: string;
|
|
381
396
|
isShowNumber: boolean;
|
|
382
397
|
isMultiple: boolean;
|
|
383
398
|
isPage: boolean;
|