z-crud-table 0.0.53 → 0.0.56
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 +14 -5
- package/dist/z-crud-table.js +2033 -419
- package/dist/z-crud-table.umd.cjs +5 -2
- package/package.json +4 -2
|
@@ -127,6 +127,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
127
127
|
type: BooleanConstructor;
|
|
128
128
|
default: boolean;
|
|
129
129
|
};
|
|
130
|
+
showViewButton: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
130
134
|
actionsColumnWidth: {
|
|
131
135
|
type: (StringConstructor | NumberConstructor)[];
|
|
132
136
|
default: number;
|
|
@@ -217,10 +221,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
217
221
|
};
|
|
218
222
|
}>, {
|
|
219
223
|
refresh: () => Promise<void>;
|
|
220
|
-
search: () => void;
|
|
224
|
+
search: (params?: any) => void;
|
|
221
225
|
handleDelete: (ids: number[]) => Promise<void>;
|
|
222
|
-
openDialog: (mode: "add" | "edit", dataPayload?: any) => Promise<void>;
|
|
223
|
-
submit: (mode: "add" | "edit", data: Record<string, any>) => Promise<void>;
|
|
226
|
+
openDialog: (mode: "add" | "view" | "edit", dataPayload?: any) => Promise<void>;
|
|
227
|
+
submit: (mode: "add" | "view" | "edit", data: Record<string, any>) => Promise<void>;
|
|
224
228
|
closeDialog: () => void;
|
|
225
229
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
226
230
|
submit: (...args: any[]) => void;
|
|
@@ -354,6 +358,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
354
358
|
type: BooleanConstructor;
|
|
355
359
|
default: boolean;
|
|
356
360
|
};
|
|
361
|
+
showViewButton: {
|
|
362
|
+
type: BooleanConstructor;
|
|
363
|
+
default: boolean;
|
|
364
|
+
};
|
|
357
365
|
actionsColumnWidth: {
|
|
358
366
|
type: (StringConstructor | NumberConstructor)[];
|
|
359
367
|
default: number;
|
|
@@ -463,6 +471,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
463
471
|
showActionsColumn: boolean;
|
|
464
472
|
showEditButton: boolean;
|
|
465
473
|
showDeleteButton: boolean;
|
|
474
|
+
showViewButton: boolean;
|
|
466
475
|
actionsColumnWidth: string | number;
|
|
467
476
|
dialogWidth: string;
|
|
468
477
|
initialSearchForm: Record<string, any>;
|
|
@@ -521,7 +530,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
521
530
|
}): any;
|
|
522
531
|
"dialog-form"?(_: {
|
|
523
532
|
formData: Record<string, any>;
|
|
524
|
-
mode: "add" | "edit";
|
|
533
|
+
mode: "add" | "view" | "edit";
|
|
525
534
|
formRef: (el: any) => void;
|
|
526
535
|
}): any;
|
|
527
536
|
"dialog-footer"?(_: {
|
|
@@ -529,7 +538,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
529
538
|
visible: boolean;
|
|
530
539
|
loading: boolean;
|
|
531
540
|
submitting: boolean;
|
|
532
|
-
mode: "add" | "edit";
|
|
541
|
+
mode: "add" | "view" | "edit";
|
|
533
542
|
data: Record<string, any>;
|
|
534
543
|
formRef: any;
|
|
535
544
|
};
|