@a2simcode/ui 0.0.87 → 0.0.88
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/input-layer/index.d.ts +50 -0
- package/dist/components/input-layer/src/input-layer.vue.d.ts +50 -0
- package/dist/components/table-panel/index.d.ts +75 -0
- package/dist/components/table-panel/src/table-panel.vue.d.ts +75 -0
- package/dist/simcode-ui.es.js +563 -542
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/docs/components/meta/table-panel.ts +30 -0
- package/docs/components/table-panel.md +31 -28
- package/docs/examples/table-panel/button-visibility.vue +88 -0
- package/docs/examples/table-panel/get-selection.vue +111 -0
- package/package.json +1 -1
|
@@ -358,6 +358,26 @@ export declare const JInputLayer: {
|
|
|
358
358
|
type: import('vue').PropType<"cross" | "row" | "column" | "cell">;
|
|
359
359
|
default: string;
|
|
360
360
|
};
|
|
361
|
+
showFilterButton: {
|
|
362
|
+
type: BooleanConstructor;
|
|
363
|
+
default: boolean;
|
|
364
|
+
};
|
|
365
|
+
showOrderButton: {
|
|
366
|
+
type: BooleanConstructor;
|
|
367
|
+
default: boolean;
|
|
368
|
+
};
|
|
369
|
+
showColumnButton: {
|
|
370
|
+
type: BooleanConstructor;
|
|
371
|
+
default: boolean;
|
|
372
|
+
};
|
|
373
|
+
showRefreshButton: {
|
|
374
|
+
type: BooleanConstructor;
|
|
375
|
+
default: boolean;
|
|
376
|
+
};
|
|
377
|
+
showFullscreenButton: {
|
|
378
|
+
type: BooleanConstructor;
|
|
379
|
+
default: boolean;
|
|
380
|
+
};
|
|
361
381
|
}>> & Readonly<{
|
|
362
382
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
363
383
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -391,6 +411,11 @@ export declare const JInputLayer: {
|
|
|
391
411
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
392
412
|
batchButtons: import('..').ButtonCompType[];
|
|
393
413
|
noPadding: boolean;
|
|
414
|
+
showFilterButton: boolean;
|
|
415
|
+
showOrderButton: boolean;
|
|
416
|
+
showColumnButton: boolean;
|
|
417
|
+
showRefreshButton: boolean;
|
|
418
|
+
showFullscreenButton: boolean;
|
|
394
419
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
395
420
|
topLeftRef: HTMLDivElement;
|
|
396
421
|
keywordPanelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -664,6 +689,26 @@ export declare const JInputLayer: {
|
|
|
664
689
|
type: import('vue').PropType<"cross" | "row" | "column" | "cell">;
|
|
665
690
|
default: string;
|
|
666
691
|
};
|
|
692
|
+
showFilterButton: {
|
|
693
|
+
type: BooleanConstructor;
|
|
694
|
+
default: boolean;
|
|
695
|
+
};
|
|
696
|
+
showOrderButton: {
|
|
697
|
+
type: BooleanConstructor;
|
|
698
|
+
default: boolean;
|
|
699
|
+
};
|
|
700
|
+
showColumnButton: {
|
|
701
|
+
type: BooleanConstructor;
|
|
702
|
+
default: boolean;
|
|
703
|
+
};
|
|
704
|
+
showRefreshButton: {
|
|
705
|
+
type: BooleanConstructor;
|
|
706
|
+
default: boolean;
|
|
707
|
+
};
|
|
708
|
+
showFullscreenButton: {
|
|
709
|
+
type: BooleanConstructor;
|
|
710
|
+
default: boolean;
|
|
711
|
+
};
|
|
667
712
|
}>> & Readonly<{
|
|
668
713
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
669
714
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -694,6 +739,11 @@ export declare const JInputLayer: {
|
|
|
694
739
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
695
740
|
batchButtons: import('..').ButtonCompType[];
|
|
696
741
|
noPadding: boolean;
|
|
742
|
+
showFilterButton: boolean;
|
|
743
|
+
showOrderButton: boolean;
|
|
744
|
+
showColumnButton: boolean;
|
|
745
|
+
showRefreshButton: boolean;
|
|
746
|
+
showFullscreenButton: boolean;
|
|
697
747
|
}> | null;
|
|
698
748
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
699
749
|
P: {};
|
|
@@ -417,6 +417,26 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
417
417
|
type: import('vue').PropType<"cross" | "row" | "column" | "cell">;
|
|
418
418
|
default: string;
|
|
419
419
|
};
|
|
420
|
+
showFilterButton: {
|
|
421
|
+
type: BooleanConstructor;
|
|
422
|
+
default: boolean;
|
|
423
|
+
};
|
|
424
|
+
showOrderButton: {
|
|
425
|
+
type: BooleanConstructor;
|
|
426
|
+
default: boolean;
|
|
427
|
+
};
|
|
428
|
+
showColumnButton: {
|
|
429
|
+
type: BooleanConstructor;
|
|
430
|
+
default: boolean;
|
|
431
|
+
};
|
|
432
|
+
showRefreshButton: {
|
|
433
|
+
type: BooleanConstructor;
|
|
434
|
+
default: boolean;
|
|
435
|
+
};
|
|
436
|
+
showFullscreenButton: {
|
|
437
|
+
type: BooleanConstructor;
|
|
438
|
+
default: boolean;
|
|
439
|
+
};
|
|
420
440
|
}>> & Readonly<{
|
|
421
441
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
422
442
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -450,6 +470,11 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
450
470
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
451
471
|
batchButtons: import('../..').ButtonCompType[];
|
|
452
472
|
noPadding: boolean;
|
|
473
|
+
showFilterButton: boolean;
|
|
474
|
+
showOrderButton: boolean;
|
|
475
|
+
showColumnButton: boolean;
|
|
476
|
+
showRefreshButton: boolean;
|
|
477
|
+
showFullscreenButton: boolean;
|
|
453
478
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
454
479
|
topLeftRef: HTMLDivElement;
|
|
455
480
|
keywordPanelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -723,6 +748,26 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
723
748
|
type: import('vue').PropType<"cross" | "row" | "column" | "cell">;
|
|
724
749
|
default: string;
|
|
725
750
|
};
|
|
751
|
+
showFilterButton: {
|
|
752
|
+
type: BooleanConstructor;
|
|
753
|
+
default: boolean;
|
|
754
|
+
};
|
|
755
|
+
showOrderButton: {
|
|
756
|
+
type: BooleanConstructor;
|
|
757
|
+
default: boolean;
|
|
758
|
+
};
|
|
759
|
+
showColumnButton: {
|
|
760
|
+
type: BooleanConstructor;
|
|
761
|
+
default: boolean;
|
|
762
|
+
};
|
|
763
|
+
showRefreshButton: {
|
|
764
|
+
type: BooleanConstructor;
|
|
765
|
+
default: boolean;
|
|
766
|
+
};
|
|
767
|
+
showFullscreenButton: {
|
|
768
|
+
type: BooleanConstructor;
|
|
769
|
+
default: boolean;
|
|
770
|
+
};
|
|
726
771
|
}>> & Readonly<{
|
|
727
772
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
728
773
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -753,6 +798,11 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
753
798
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
754
799
|
batchButtons: import('../..').ButtonCompType[];
|
|
755
800
|
noPadding: boolean;
|
|
801
|
+
showFilterButton: boolean;
|
|
802
|
+
showOrderButton: boolean;
|
|
803
|
+
showColumnButton: boolean;
|
|
804
|
+
showRefreshButton: boolean;
|
|
805
|
+
showFullscreenButton: boolean;
|
|
756
806
|
}> | null;
|
|
757
807
|
}, HTMLDivElement>;
|
|
758
808
|
export default _default;
|
|
@@ -77,6 +77,26 @@ declare const JTablePanel: {
|
|
|
77
77
|
type: import('vue').PropType<"cross" | "row" | "column" | "cell">;
|
|
78
78
|
default: string;
|
|
79
79
|
};
|
|
80
|
+
showFilterButton: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
showOrderButton: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
showColumnButton: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
showRefreshButton: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
showFullscreenButton: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
80
100
|
}>> & Readonly<{
|
|
81
101
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
82
102
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -110,6 +130,11 @@ declare const JTablePanel: {
|
|
|
110
130
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
111
131
|
batchButtons: import('..').ButtonCompType[];
|
|
112
132
|
noPadding: boolean;
|
|
133
|
+
showFilterButton: boolean;
|
|
134
|
+
showOrderButton: boolean;
|
|
135
|
+
showColumnButton: boolean;
|
|
136
|
+
showRefreshButton: boolean;
|
|
137
|
+
showFullscreenButton: boolean;
|
|
113
138
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
114
139
|
topLeftRef: HTMLDivElement;
|
|
115
140
|
keywordPanelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -383,6 +408,26 @@ declare const JTablePanel: {
|
|
|
383
408
|
type: import('vue').PropType<"cross" | "row" | "column" | "cell">;
|
|
384
409
|
default: string;
|
|
385
410
|
};
|
|
411
|
+
showFilterButton: {
|
|
412
|
+
type: BooleanConstructor;
|
|
413
|
+
default: boolean;
|
|
414
|
+
};
|
|
415
|
+
showOrderButton: {
|
|
416
|
+
type: BooleanConstructor;
|
|
417
|
+
default: boolean;
|
|
418
|
+
};
|
|
419
|
+
showColumnButton: {
|
|
420
|
+
type: BooleanConstructor;
|
|
421
|
+
default: boolean;
|
|
422
|
+
};
|
|
423
|
+
showRefreshButton: {
|
|
424
|
+
type: BooleanConstructor;
|
|
425
|
+
default: boolean;
|
|
426
|
+
};
|
|
427
|
+
showFullscreenButton: {
|
|
428
|
+
type: BooleanConstructor;
|
|
429
|
+
default: boolean;
|
|
430
|
+
};
|
|
386
431
|
}>> & Readonly<{
|
|
387
432
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
388
433
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -413,6 +458,11 @@ declare const JTablePanel: {
|
|
|
413
458
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
414
459
|
batchButtons: import('..').ButtonCompType[];
|
|
415
460
|
noPadding: boolean;
|
|
461
|
+
showFilterButton: boolean;
|
|
462
|
+
showOrderButton: boolean;
|
|
463
|
+
showColumnButton: boolean;
|
|
464
|
+
showRefreshButton: boolean;
|
|
465
|
+
showFullscreenButton: boolean;
|
|
416
466
|
}>;
|
|
417
467
|
__isFragment?: never;
|
|
418
468
|
__isTeleport?: never;
|
|
@@ -495,6 +545,26 @@ declare const JTablePanel: {
|
|
|
495
545
|
type: import('vue').PropType<"cross" | "row" | "column" | "cell">;
|
|
496
546
|
default: string;
|
|
497
547
|
};
|
|
548
|
+
showFilterButton: {
|
|
549
|
+
type: BooleanConstructor;
|
|
550
|
+
default: boolean;
|
|
551
|
+
};
|
|
552
|
+
showOrderButton: {
|
|
553
|
+
type: BooleanConstructor;
|
|
554
|
+
default: boolean;
|
|
555
|
+
};
|
|
556
|
+
showColumnButton: {
|
|
557
|
+
type: BooleanConstructor;
|
|
558
|
+
default: boolean;
|
|
559
|
+
};
|
|
560
|
+
showRefreshButton: {
|
|
561
|
+
type: BooleanConstructor;
|
|
562
|
+
default: boolean;
|
|
563
|
+
};
|
|
564
|
+
showFullscreenButton: {
|
|
565
|
+
type: BooleanConstructor;
|
|
566
|
+
default: boolean;
|
|
567
|
+
};
|
|
498
568
|
}>> & Readonly<{
|
|
499
569
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
500
570
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -528,6 +598,11 @@ declare const JTablePanel: {
|
|
|
528
598
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
529
599
|
batchButtons: import('..').ButtonCompType[];
|
|
530
600
|
noPadding: boolean;
|
|
601
|
+
showFilterButton: boolean;
|
|
602
|
+
showOrderButton: boolean;
|
|
603
|
+
showColumnButton: boolean;
|
|
604
|
+
showRefreshButton: boolean;
|
|
605
|
+
showFullscreenButton: boolean;
|
|
531
606
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
532
607
|
install: (app: import('vue').App) => void;
|
|
533
608
|
};
|
|
@@ -146,6 +146,41 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
146
146
|
type: PropType<"cross" | "row" | "column" | "cell">;
|
|
147
147
|
default: string;
|
|
148
148
|
};
|
|
149
|
+
/**
|
|
150
|
+
* @zh 是否显示筛选按钮(包含右侧固定筛选面板)
|
|
151
|
+
*/
|
|
152
|
+
showFilterButton: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* @zh 是否显示排序按钮
|
|
158
|
+
*/
|
|
159
|
+
showOrderButton: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* @zh 是否显示列管理按钮
|
|
165
|
+
*/
|
|
166
|
+
showColumnButton: {
|
|
167
|
+
type: BooleanConstructor;
|
|
168
|
+
default: boolean;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* @zh 是否显示刷新按钮
|
|
172
|
+
*/
|
|
173
|
+
showRefreshButton: {
|
|
174
|
+
type: BooleanConstructor;
|
|
175
|
+
default: boolean;
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* @zh 是否显示全屏按钮
|
|
179
|
+
*/
|
|
180
|
+
showFullscreenButton: {
|
|
181
|
+
type: BooleanConstructor;
|
|
182
|
+
default: boolean;
|
|
183
|
+
};
|
|
149
184
|
}>, {
|
|
150
185
|
refreshData: (queryParam?: Record<string, any>) => Promise<void>;
|
|
151
186
|
resetData: () => Promise<void>;
|
|
@@ -300,6 +335,41 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
300
335
|
type: PropType<"cross" | "row" | "column" | "cell">;
|
|
301
336
|
default: string;
|
|
302
337
|
};
|
|
338
|
+
/**
|
|
339
|
+
* @zh 是否显示筛选按钮(包含右侧固定筛选面板)
|
|
340
|
+
*/
|
|
341
|
+
showFilterButton: {
|
|
342
|
+
type: BooleanConstructor;
|
|
343
|
+
default: boolean;
|
|
344
|
+
};
|
|
345
|
+
/**
|
|
346
|
+
* @zh 是否显示排序按钮
|
|
347
|
+
*/
|
|
348
|
+
showOrderButton: {
|
|
349
|
+
type: BooleanConstructor;
|
|
350
|
+
default: boolean;
|
|
351
|
+
};
|
|
352
|
+
/**
|
|
353
|
+
* @zh 是否显示列管理按钮
|
|
354
|
+
*/
|
|
355
|
+
showColumnButton: {
|
|
356
|
+
type: BooleanConstructor;
|
|
357
|
+
default: boolean;
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* @zh 是否显示刷新按钮
|
|
361
|
+
*/
|
|
362
|
+
showRefreshButton: {
|
|
363
|
+
type: BooleanConstructor;
|
|
364
|
+
default: boolean;
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* @zh 是否显示全屏按钮
|
|
368
|
+
*/
|
|
369
|
+
showFullscreenButton: {
|
|
370
|
+
type: BooleanConstructor;
|
|
371
|
+
default: boolean;
|
|
372
|
+
};
|
|
303
373
|
}>> & Readonly<{
|
|
304
374
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
305
375
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -323,6 +393,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
323
393
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
324
394
|
batchButtons: ButtonCompType[];
|
|
325
395
|
noPadding: boolean;
|
|
396
|
+
showFilterButton: boolean;
|
|
397
|
+
showOrderButton: boolean;
|
|
398
|
+
showColumnButton: boolean;
|
|
399
|
+
showRefreshButton: boolean;
|
|
400
|
+
showFullscreenButton: boolean;
|
|
326
401
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
327
402
|
topLeftRef: HTMLDivElement;
|
|
328
403
|
keywordPanelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|