cosey 0.4.43 → 0.4.44
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.
|
@@ -282,6 +282,10 @@ declare const _Table: {
|
|
|
282
282
|
setData: (data: any[]) => void;
|
|
283
283
|
getData: () => any[];
|
|
284
284
|
getRootEl: () => HTMLElement | null;
|
|
285
|
+
getPagination: () => {
|
|
286
|
+
page: number;
|
|
287
|
+
pageSize: number;
|
|
288
|
+
};
|
|
285
289
|
reset: () => void;
|
|
286
290
|
submit: () => Promise<any>;
|
|
287
291
|
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
@@ -619,6 +623,10 @@ declare const _Table: {
|
|
|
619
623
|
setData: (data: any[]) => void;
|
|
620
624
|
getData: () => any[];
|
|
621
625
|
getRootEl: () => HTMLElement | null;
|
|
626
|
+
getPagination: () => {
|
|
627
|
+
page: number;
|
|
628
|
+
pageSize: number;
|
|
629
|
+
};
|
|
622
630
|
reset: () => void;
|
|
623
631
|
submit: () => Promise<any>;
|
|
624
632
|
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
@@ -814,6 +822,10 @@ declare const _Table: {
|
|
|
814
822
|
setData: (data: any[]) => void;
|
|
815
823
|
getData: () => any[];
|
|
816
824
|
getRootEl: () => HTMLElement | null;
|
|
825
|
+
getPagination: () => {
|
|
826
|
+
page: number;
|
|
827
|
+
pageSize: number;
|
|
828
|
+
};
|
|
817
829
|
reset: () => void;
|
|
818
830
|
submit: () => Promise<any>;
|
|
819
831
|
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
@@ -169,6 +169,10 @@ export interface TableCustomExpose {
|
|
|
169
169
|
setData: (data: any[]) => void;
|
|
170
170
|
getData: () => any[];
|
|
171
171
|
getRootEl: () => HTMLElement | null;
|
|
172
|
+
getPagination: () => {
|
|
173
|
+
page: number;
|
|
174
|
+
pageSize: number;
|
|
175
|
+
};
|
|
172
176
|
}
|
|
173
177
|
export type TableExpose = TableCustomExpose & TableQueryExpose & {
|
|
174
178
|
clearSelection: () => void;
|
|
@@ -142,6 +142,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
142
142
|
setData: (data: any[]) => void;
|
|
143
143
|
getData: () => any[];
|
|
144
144
|
getRootEl: () => HTMLElement | null;
|
|
145
|
+
getPagination: () => {
|
|
146
|
+
page: number;
|
|
147
|
+
pageSize: number;
|
|
148
|
+
};
|
|
145
149
|
reset: () => void;
|
|
146
150
|
submit: () => Promise<any>;
|
|
147
151
|
validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
@@ -261,6 +261,12 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
261
261
|
const onPageChange = () => {
|
|
262
262
|
execute();
|
|
263
263
|
};
|
|
264
|
+
const getPagination = () => {
|
|
265
|
+
return {
|
|
266
|
+
page: page.value,
|
|
267
|
+
pageSize: pageSize.value
|
|
268
|
+
};
|
|
269
|
+
};
|
|
264
270
|
const defaultToolbarConfig = {
|
|
265
271
|
reload: true,
|
|
266
272
|
export: true,
|
|
@@ -349,7 +355,8 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
349
355
|
getFullFetchParams,
|
|
350
356
|
setData,
|
|
351
357
|
getData,
|
|
352
|
-
getRootEl
|
|
358
|
+
getRootEl,
|
|
359
|
+
getPagination
|
|
353
360
|
}, () => tableQueryRef.value);
|
|
354
361
|
watch(() => props.getExpose, () => {
|
|
355
362
|
props.getExpose?.(expose);
|