@a2simcode/ui 0.0.285 → 0.0.287
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/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 +4100 -4065
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/docs/components/meta/table-panel.ts +337 -326
- package/docs/components/table-panel.md +15 -0
- package/docs/examples/table-panel/remote-selection.vue +159 -0
- package/package.json +1 -1
|
@@ -114,6 +114,10 @@ declare const JTablePanel: {
|
|
|
114
114
|
default: null;
|
|
115
115
|
};
|
|
116
116
|
loadData: import('vue').PropType<(params: Record<string, any>) => Promise<any>>;
|
|
117
|
+
remoteSelection: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
117
121
|
immediate: {
|
|
118
122
|
type: BooleanConstructor;
|
|
119
123
|
default: boolean;
|
|
@@ -234,6 +238,7 @@ declare const JTablePanel: {
|
|
|
234
238
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
235
239
|
viewMode: "table" | "card";
|
|
236
240
|
batchButtons: import('..').ButtonCompType[];
|
|
241
|
+
remoteSelection: boolean;
|
|
237
242
|
noPadding: boolean;
|
|
238
243
|
showFilterButton: boolean;
|
|
239
244
|
showOrderButton: boolean;
|
|
@@ -573,6 +578,10 @@ declare const JTablePanel: {
|
|
|
573
578
|
default: null;
|
|
574
579
|
};
|
|
575
580
|
loadData: import('vue').PropType<(params: Record<string, any>) => Promise<any>>;
|
|
581
|
+
remoteSelection: {
|
|
582
|
+
type: BooleanConstructor;
|
|
583
|
+
default: boolean;
|
|
584
|
+
};
|
|
576
585
|
immediate: {
|
|
577
586
|
type: BooleanConstructor;
|
|
578
587
|
default: boolean;
|
|
@@ -690,6 +699,7 @@ declare const JTablePanel: {
|
|
|
690
699
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
691
700
|
viewMode: "table" | "card";
|
|
692
701
|
batchButtons: import('..').ButtonCompType[];
|
|
702
|
+
remoteSelection: boolean;
|
|
693
703
|
noPadding: boolean;
|
|
694
704
|
showFilterButton: boolean;
|
|
695
705
|
showOrderButton: boolean;
|
|
@@ -823,6 +833,10 @@ declare const JTablePanel: {
|
|
|
823
833
|
default: null;
|
|
824
834
|
};
|
|
825
835
|
loadData: import('vue').PropType<(params: Record<string, any>) => Promise<any>>;
|
|
836
|
+
remoteSelection: {
|
|
837
|
+
type: BooleanConstructor;
|
|
838
|
+
default: boolean;
|
|
839
|
+
};
|
|
826
840
|
immediate: {
|
|
827
841
|
type: BooleanConstructor;
|
|
828
842
|
default: boolean;
|
|
@@ -943,6 +957,7 @@ declare const JTablePanel: {
|
|
|
943
957
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
944
958
|
viewMode: "table" | "card";
|
|
945
959
|
batchButtons: import('..').ButtonCompType[];
|
|
960
|
+
remoteSelection: boolean;
|
|
946
961
|
noPadding: boolean;
|
|
947
962
|
showFilterButton: boolean;
|
|
948
963
|
showOrderButton: boolean;
|
|
@@ -202,6 +202,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
202
202
|
* @zh 加载数据方法
|
|
203
203
|
*/
|
|
204
204
|
loadData: PropType<(params: Record<string, any>) => Promise<any>>;
|
|
205
|
+
/**
|
|
206
|
+
* @zh 选中数据是否远程拉取,开启后「仅显示选中」会按选中 ID 调用 loadData(参数含 ids 与 field)从接口拉取完整选中数据
|
|
207
|
+
*/
|
|
208
|
+
remoteSelection: {
|
|
209
|
+
type: BooleanConstructor;
|
|
210
|
+
default: boolean;
|
|
211
|
+
};
|
|
205
212
|
/**
|
|
206
213
|
* @zh 是否立即执行加载数据
|
|
207
214
|
*/
|
|
@@ -537,6 +544,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
537
544
|
* @zh 加载数据方法
|
|
538
545
|
*/
|
|
539
546
|
loadData: PropType<(params: Record<string, any>) => Promise<any>>;
|
|
547
|
+
/**
|
|
548
|
+
* @zh 选中数据是否远程拉取,开启后「仅显示选中」会按选中 ID 调用 loadData(参数含 ids 与 field)从接口拉取完整选中数据
|
|
549
|
+
*/
|
|
550
|
+
remoteSelection: {
|
|
551
|
+
type: BooleanConstructor;
|
|
552
|
+
default: boolean;
|
|
553
|
+
};
|
|
540
554
|
/**
|
|
541
555
|
* @zh 是否立即执行加载数据
|
|
542
556
|
*/
|
|
@@ -703,6 +717,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
703
717
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
704
718
|
viewMode: "table" | "card";
|
|
705
719
|
batchButtons: ButtonCompType[];
|
|
720
|
+
remoteSelection: boolean;
|
|
706
721
|
noPadding: boolean;
|
|
707
722
|
showFilterButton: boolean;
|
|
708
723
|
showOrderButton: boolean;
|