z-crud-table 0.0.65 → 0.0.67
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 +1473 -1410
- package/dist/z-crud-table.umd.cjs +4 -4
- package/package.json +1 -1
|
@@ -239,8 +239,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
239
239
|
refresh: () => Promise<void>;
|
|
240
240
|
search: (params?: any) => void;
|
|
241
241
|
handleDelete: (ids: number[]) => Promise<void>;
|
|
242
|
-
openDialog: (mode: "
|
|
243
|
-
submit: (mode: "
|
|
242
|
+
openDialog: (mode: "view" | "add" | "edit", dataPayload?: any) => Promise<void>;
|
|
243
|
+
submit: (mode: "view" | "add" | "edit", data: Record<string, any>) => Promise<void>;
|
|
244
244
|
closeDialog: () => void;
|
|
245
245
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
246
246
|
submit: (...args: any[]) => void;
|
|
@@ -564,7 +564,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
564
564
|
}): any;
|
|
565
565
|
"dialog-form"?(_: {
|
|
566
566
|
formData: Record<string, any>;
|
|
567
|
-
mode: "
|
|
567
|
+
mode: "view" | "add" | "edit";
|
|
568
568
|
formRef: (el: any) => void;
|
|
569
569
|
}): any;
|
|
570
570
|
"dialog-footer"?(_: {
|
|
@@ -572,7 +572,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
572
572
|
visible: boolean;
|
|
573
573
|
loading: boolean;
|
|
574
574
|
submitting: boolean;
|
|
575
|
-
mode: "
|
|
575
|
+
mode: "view" | "add" | "edit";
|
|
576
576
|
data: Record<string, any>;
|
|
577
577
|
formRef: any;
|
|
578
578
|
};
|