z-crud-table 0.0.61 → 0.0.63
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/CrudTable.vue.d.ts +4 -4
- package/dist/z-crud-table.js +664 -670
- package/dist/z-crud-table.umd.cjs +5 -5
- package/package.json +1 -1
|
@@ -223,8 +223,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
223
223
|
refresh: () => Promise<void>;
|
|
224
224
|
search: (params?: any) => void;
|
|
225
225
|
handleDelete: (ids: number[]) => Promise<void>;
|
|
226
|
-
openDialog: (mode: "
|
|
227
|
-
submit: (mode: "
|
|
226
|
+
openDialog: (mode: "add" | "view" | "edit", dataPayload?: any) => Promise<void>;
|
|
227
|
+
submit: (mode: "add" | "view" | "edit", data: Record<string, any>) => Promise<void>;
|
|
228
228
|
closeDialog: () => void;
|
|
229
229
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
230
230
|
submit: (...args: any[]) => void;
|
|
@@ -530,7 +530,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
530
530
|
}): any;
|
|
531
531
|
"dialog-form"?(_: {
|
|
532
532
|
formData: Record<string, any>;
|
|
533
|
-
mode: "
|
|
533
|
+
mode: "add" | "view" | "edit";
|
|
534
534
|
formRef: (el: any) => void;
|
|
535
535
|
}): any;
|
|
536
536
|
"dialog-footer"?(_: {
|
|
@@ -538,7 +538,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
538
538
|
visible: boolean;
|
|
539
539
|
loading: boolean;
|
|
540
540
|
submitting: boolean;
|
|
541
|
-
mode: "
|
|
541
|
+
mode: "add" | "view" | "edit";
|
|
542
542
|
data: Record<string, any>;
|
|
543
543
|
formRef: any;
|
|
544
544
|
};
|