@ramathibodi/nuxt-commons 4.0.4 → 4.0.6
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/module.json +1 -1
- package/dist/runtime/components/form/DateTime.vue +2 -6
- package/dist/runtime/components/model/Table.d.vue.ts +50 -50
- package/dist/runtime/components/model/Table.vue.d.ts +50 -50
- package/dist/runtime/components/model/iterator.d.vue.ts +62 -62
- package/dist/runtime/components/model/iterator.vue.d.ts +62 -62
- package/dist/runtime/composables/alert.d.ts +50 -2
- package/dist/runtime/composables/api.d.ts +60 -4
- package/dist/runtime/composables/api.js +59 -9
- package/dist/runtime/composables/apiLookupList.d.ts +3 -2
- package/dist/runtime/composables/apiLookupList.js +5 -16
- package/dist/runtime/composables/apiModel.d.ts +1 -1
- package/dist/runtime/composables/apiModel.js +13 -22
- package/dist/runtime/composables/apiModelItem.js +6 -23
- package/dist/runtime/composables/apiModelOperation.d.ts +19 -0
- package/dist/runtime/composables/apiModelOperation.js +56 -0
- package/dist/runtime/composables/graphql.d.ts +2 -1
- package/dist/runtime/composables/graphqlOperation.js +1 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -106,15 +106,11 @@ watchEffect(() => {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
|
-
watch(
|
|
109
|
+
watch([datePart, timePart, () => props.rules], () => {
|
|
110
110
|
if (!props.readonly) nextTick(() => dateRef.value?.validate());
|
|
111
|
-
}, {
|
|
112
|
-
deep: true
|
|
113
111
|
});
|
|
114
|
-
watch(
|
|
112
|
+
watch([datePart, timePart, () => props.rules], () => {
|
|
115
113
|
if (!props.readonly) nextTick(() => timeRef.value?.validate());
|
|
116
|
-
}, {
|
|
117
|
-
deep: true
|
|
118
114
|
});
|
|
119
115
|
watch(() => props.modelValue, () => {
|
|
120
116
|
pauseEmit.value = true;
|
|
@@ -34,12 +34,12 @@ declare var __VLS_8: {
|
|
|
34
34
|
operation: {
|
|
35
35
|
openDialog: typeof openDialog;
|
|
36
36
|
openDialogReadonly: typeof openDialogReadonly;
|
|
37
|
-
createItem: (
|
|
38
|
-
importItems: (
|
|
39
|
-
updateItem: (
|
|
40
|
-
deleteItem: (
|
|
41
|
-
reload: (
|
|
42
|
-
setSearch: (
|
|
37
|
+
createItem: (item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
38
|
+
importItems: (importItemsList: Record<string, any>[], callback?: FormDialogCallback) => void;
|
|
39
|
+
updateItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
40
|
+
deleteItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
41
|
+
reload: () => void;
|
|
42
|
+
setSearch: (keyword: string) => void;
|
|
43
43
|
canServerPageable: boolean;
|
|
44
44
|
canServerSearch: boolean;
|
|
45
45
|
canCreate: boolean;
|
|
@@ -50,18 +50,18 @@ declare var __VLS_8: {
|
|
|
50
50
|
onlyOwnerOverridePermission: string | string[] | undefined;
|
|
51
51
|
};
|
|
52
52
|
}, __VLS_34: {
|
|
53
|
-
reload: (
|
|
53
|
+
reload: () => void;
|
|
54
54
|
}, __VLS_50: {
|
|
55
55
|
items: Record<string, any>[];
|
|
56
56
|
operation: {
|
|
57
57
|
openDialog: typeof openDialog;
|
|
58
58
|
openDialogReadonly: typeof openDialogReadonly;
|
|
59
|
-
createItem: (
|
|
60
|
-
importItems: (
|
|
61
|
-
updateItem: (
|
|
62
|
-
deleteItem: (
|
|
63
|
-
reload: (
|
|
64
|
-
setSearch: (
|
|
59
|
+
createItem: (item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
60
|
+
importItems: (importItemsList: Record<string, any>[], callback?: FormDialogCallback) => void;
|
|
61
|
+
updateItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
62
|
+
deleteItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
63
|
+
reload: () => void;
|
|
64
|
+
setSearch: (keyword: string) => void;
|
|
65
65
|
canServerPageable: boolean;
|
|
66
66
|
canServerSearch: boolean;
|
|
67
67
|
canCreate: boolean;
|
|
@@ -76,12 +76,12 @@ declare var __VLS_8: {
|
|
|
76
76
|
operation: {
|
|
77
77
|
openDialog: typeof openDialog;
|
|
78
78
|
openDialogReadonly: typeof openDialogReadonly;
|
|
79
|
-
createItem: (
|
|
80
|
-
importItems: (
|
|
81
|
-
updateItem: (
|
|
82
|
-
deleteItem: (
|
|
83
|
-
reload: (
|
|
84
|
-
setSearch: (
|
|
79
|
+
createItem: (item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
80
|
+
importItems: (importItemsList: Record<string, any>[], callback?: FormDialogCallback) => void;
|
|
81
|
+
updateItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
82
|
+
deleteItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
83
|
+
reload: () => void;
|
|
84
|
+
setSearch: (keyword: string) => void;
|
|
85
85
|
canServerPageable: boolean;
|
|
86
86
|
canServerSearch: boolean;
|
|
87
87
|
canCreate: boolean;
|
|
@@ -95,12 +95,12 @@ declare var __VLS_8: {
|
|
|
95
95
|
operation: {
|
|
96
96
|
openDialog: typeof openDialog;
|
|
97
97
|
openDialogReadonly: typeof openDialogReadonly;
|
|
98
|
-
createItem: (
|
|
99
|
-
importItems: (
|
|
100
|
-
updateItem: (
|
|
101
|
-
deleteItem: (
|
|
102
|
-
reload: (
|
|
103
|
-
setSearch: (
|
|
98
|
+
createItem: (item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
99
|
+
importItems: (importItemsList: Record<string, any>[], callback?: FormDialogCallback) => void;
|
|
100
|
+
updateItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
101
|
+
deleteItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
102
|
+
reload: () => void;
|
|
103
|
+
setSearch: (keyword: string) => void;
|
|
104
104
|
canServerPageable: boolean;
|
|
105
105
|
canServerSearch: boolean;
|
|
106
106
|
canCreate: boolean;
|
|
@@ -114,12 +114,12 @@ declare var __VLS_8: {
|
|
|
114
114
|
operation: {
|
|
115
115
|
openDialog: typeof openDialog;
|
|
116
116
|
openDialogReadonly: typeof openDialogReadonly;
|
|
117
|
-
createItem: (
|
|
118
|
-
importItems: (
|
|
119
|
-
updateItem: (
|
|
120
|
-
deleteItem: (
|
|
121
|
-
reload: (
|
|
122
|
-
setSearch: (
|
|
117
|
+
createItem: (item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
118
|
+
importItems: (importItemsList: Record<string, any>[], callback?: FormDialogCallback) => void;
|
|
119
|
+
updateItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
120
|
+
deleteItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
121
|
+
reload: () => void;
|
|
122
|
+
setSearch: (keyword: string) => void;
|
|
123
123
|
canServerPageable: boolean;
|
|
124
124
|
canServerSearch: boolean;
|
|
125
125
|
canCreate: boolean;
|
|
@@ -165,16 +165,16 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
165
165
|
onlyOwnerEdit: boolean;
|
|
166
166
|
api: boolean;
|
|
167
167
|
}>>, {
|
|
168
|
-
reload: (
|
|
168
|
+
reload: () => void;
|
|
169
169
|
operation: import("vue").Ref<{
|
|
170
170
|
openDialog: typeof openDialog;
|
|
171
171
|
openDialogReadonly: typeof openDialogReadonly;
|
|
172
|
-
createItem: (
|
|
173
|
-
importItems: (
|
|
174
|
-
updateItem: (
|
|
175
|
-
deleteItem: (
|
|
176
|
-
reload: (
|
|
177
|
-
setSearch: (
|
|
172
|
+
createItem: (item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
173
|
+
importItems: (importItemsList: Record<string, any>[], callback?: FormDialogCallback) => void;
|
|
174
|
+
updateItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
175
|
+
deleteItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
176
|
+
reload: () => void;
|
|
177
|
+
setSearch: (keyword: string) => void;
|
|
178
178
|
canServerPageable: boolean;
|
|
179
179
|
canServerSearch: boolean;
|
|
180
180
|
canCreate: boolean;
|
|
@@ -186,12 +186,12 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
186
186
|
}, {
|
|
187
187
|
openDialog: typeof openDialog;
|
|
188
188
|
openDialogReadonly: typeof openDialogReadonly;
|
|
189
|
-
createItem: (
|
|
190
|
-
importItems: (
|
|
191
|
-
updateItem: (
|
|
192
|
-
deleteItem: (
|
|
193
|
-
reload: (
|
|
194
|
-
setSearch: (
|
|
189
|
+
createItem: (item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
190
|
+
importItems: (importItemsList: Record<string, any>[], callback?: FormDialogCallback) => void;
|
|
191
|
+
updateItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
192
|
+
deleteItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
193
|
+
reload: () => void;
|
|
194
|
+
setSearch: (keyword: string) => void;
|
|
195
195
|
canServerPageable: import("vue").ComputedRef<boolean>;
|
|
196
196
|
canServerSearch: import("vue").ComputedRef<boolean>;
|
|
197
197
|
canCreate: import("vue").ComputedRef<boolean>;
|
|
@@ -203,12 +203,12 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
203
203
|
} | {
|
|
204
204
|
openDialog: typeof openDialog;
|
|
205
205
|
openDialogReadonly: typeof openDialogReadonly;
|
|
206
|
-
createItem: (
|
|
207
|
-
importItems: (
|
|
208
|
-
updateItem: (
|
|
209
|
-
deleteItem: (
|
|
210
|
-
reload: (
|
|
211
|
-
setSearch: (
|
|
206
|
+
createItem: (item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
207
|
+
importItems: (importItemsList: Record<string, any>[], callback?: FormDialogCallback) => void;
|
|
208
|
+
updateItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
209
|
+
deleteItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
210
|
+
reload: () => void;
|
|
211
|
+
setSearch: (keyword: string) => void;
|
|
212
212
|
canServerPageable: boolean;
|
|
213
213
|
canServerSearch: boolean;
|
|
214
214
|
canCreate: boolean;
|
|
@@ -34,12 +34,12 @@ declare var __VLS_8: {
|
|
|
34
34
|
operation: {
|
|
35
35
|
openDialog: typeof openDialog;
|
|
36
36
|
openDialogReadonly: typeof openDialogReadonly;
|
|
37
|
-
createItem: (
|
|
38
|
-
importItems: (
|
|
39
|
-
updateItem: (
|
|
40
|
-
deleteItem: (
|
|
41
|
-
reload: (
|
|
42
|
-
setSearch: (
|
|
37
|
+
createItem: (item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
38
|
+
importItems: (importItemsList: Record<string, any>[], callback?: FormDialogCallback) => void;
|
|
39
|
+
updateItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
40
|
+
deleteItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
41
|
+
reload: () => void;
|
|
42
|
+
setSearch: (keyword: string) => void;
|
|
43
43
|
canServerPageable: boolean;
|
|
44
44
|
canServerSearch: boolean;
|
|
45
45
|
canCreate: boolean;
|
|
@@ -50,18 +50,18 @@ declare var __VLS_8: {
|
|
|
50
50
|
onlyOwnerOverridePermission: string | string[] | undefined;
|
|
51
51
|
};
|
|
52
52
|
}, __VLS_34: {
|
|
53
|
-
reload: (
|
|
53
|
+
reload: () => void;
|
|
54
54
|
}, __VLS_50: {
|
|
55
55
|
items: Record<string, any>[];
|
|
56
56
|
operation: {
|
|
57
57
|
openDialog: typeof openDialog;
|
|
58
58
|
openDialogReadonly: typeof openDialogReadonly;
|
|
59
|
-
createItem: (
|
|
60
|
-
importItems: (
|
|
61
|
-
updateItem: (
|
|
62
|
-
deleteItem: (
|
|
63
|
-
reload: (
|
|
64
|
-
setSearch: (
|
|
59
|
+
createItem: (item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
60
|
+
importItems: (importItemsList: Record<string, any>[], callback?: FormDialogCallback) => void;
|
|
61
|
+
updateItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
62
|
+
deleteItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
63
|
+
reload: () => void;
|
|
64
|
+
setSearch: (keyword: string) => void;
|
|
65
65
|
canServerPageable: boolean;
|
|
66
66
|
canServerSearch: boolean;
|
|
67
67
|
canCreate: boolean;
|
|
@@ -76,12 +76,12 @@ declare var __VLS_8: {
|
|
|
76
76
|
operation: {
|
|
77
77
|
openDialog: typeof openDialog;
|
|
78
78
|
openDialogReadonly: typeof openDialogReadonly;
|
|
79
|
-
createItem: (
|
|
80
|
-
importItems: (
|
|
81
|
-
updateItem: (
|
|
82
|
-
deleteItem: (
|
|
83
|
-
reload: (
|
|
84
|
-
setSearch: (
|
|
79
|
+
createItem: (item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
80
|
+
importItems: (importItemsList: Record<string, any>[], callback?: FormDialogCallback) => void;
|
|
81
|
+
updateItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
82
|
+
deleteItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
83
|
+
reload: () => void;
|
|
84
|
+
setSearch: (keyword: string) => void;
|
|
85
85
|
canServerPageable: boolean;
|
|
86
86
|
canServerSearch: boolean;
|
|
87
87
|
canCreate: boolean;
|
|
@@ -95,12 +95,12 @@ declare var __VLS_8: {
|
|
|
95
95
|
operation: {
|
|
96
96
|
openDialog: typeof openDialog;
|
|
97
97
|
openDialogReadonly: typeof openDialogReadonly;
|
|
98
|
-
createItem: (
|
|
99
|
-
importItems: (
|
|
100
|
-
updateItem: (
|
|
101
|
-
deleteItem: (
|
|
102
|
-
reload: (
|
|
103
|
-
setSearch: (
|
|
98
|
+
createItem: (item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
99
|
+
importItems: (importItemsList: Record<string, any>[], callback?: FormDialogCallback) => void;
|
|
100
|
+
updateItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
101
|
+
deleteItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
102
|
+
reload: () => void;
|
|
103
|
+
setSearch: (keyword: string) => void;
|
|
104
104
|
canServerPageable: boolean;
|
|
105
105
|
canServerSearch: boolean;
|
|
106
106
|
canCreate: boolean;
|
|
@@ -114,12 +114,12 @@ declare var __VLS_8: {
|
|
|
114
114
|
operation: {
|
|
115
115
|
openDialog: typeof openDialog;
|
|
116
116
|
openDialogReadonly: typeof openDialogReadonly;
|
|
117
|
-
createItem: (
|
|
118
|
-
importItems: (
|
|
119
|
-
updateItem: (
|
|
120
|
-
deleteItem: (
|
|
121
|
-
reload: (
|
|
122
|
-
setSearch: (
|
|
117
|
+
createItem: (item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
118
|
+
importItems: (importItemsList: Record<string, any>[], callback?: FormDialogCallback) => void;
|
|
119
|
+
updateItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
120
|
+
deleteItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
121
|
+
reload: () => void;
|
|
122
|
+
setSearch: (keyword: string) => void;
|
|
123
123
|
canServerPageable: boolean;
|
|
124
124
|
canServerSearch: boolean;
|
|
125
125
|
canCreate: boolean;
|
|
@@ -165,16 +165,16 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
165
165
|
onlyOwnerEdit: boolean;
|
|
166
166
|
api: boolean;
|
|
167
167
|
}>>, {
|
|
168
|
-
reload: (
|
|
168
|
+
reload: () => void;
|
|
169
169
|
operation: import("vue").Ref<{
|
|
170
170
|
openDialog: typeof openDialog;
|
|
171
171
|
openDialogReadonly: typeof openDialogReadonly;
|
|
172
|
-
createItem: (
|
|
173
|
-
importItems: (
|
|
174
|
-
updateItem: (
|
|
175
|
-
deleteItem: (
|
|
176
|
-
reload: (
|
|
177
|
-
setSearch: (
|
|
172
|
+
createItem: (item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
173
|
+
importItems: (importItemsList: Record<string, any>[], callback?: FormDialogCallback) => void;
|
|
174
|
+
updateItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
175
|
+
deleteItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
176
|
+
reload: () => void;
|
|
177
|
+
setSearch: (keyword: string) => void;
|
|
178
178
|
canServerPageable: boolean;
|
|
179
179
|
canServerSearch: boolean;
|
|
180
180
|
canCreate: boolean;
|
|
@@ -186,12 +186,12 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
186
186
|
}, {
|
|
187
187
|
openDialog: typeof openDialog;
|
|
188
188
|
openDialogReadonly: typeof openDialogReadonly;
|
|
189
|
-
createItem: (
|
|
190
|
-
importItems: (
|
|
191
|
-
updateItem: (
|
|
192
|
-
deleteItem: (
|
|
193
|
-
reload: (
|
|
194
|
-
setSearch: (
|
|
189
|
+
createItem: (item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
190
|
+
importItems: (importItemsList: Record<string, any>[], callback?: FormDialogCallback) => void;
|
|
191
|
+
updateItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
192
|
+
deleteItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
193
|
+
reload: () => void;
|
|
194
|
+
setSearch: (keyword: string) => void;
|
|
195
195
|
canServerPageable: import("vue").ComputedRef<boolean>;
|
|
196
196
|
canServerSearch: import("vue").ComputedRef<boolean>;
|
|
197
197
|
canCreate: import("vue").ComputedRef<boolean>;
|
|
@@ -203,12 +203,12 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
203
203
|
} | {
|
|
204
204
|
openDialog: typeof openDialog;
|
|
205
205
|
openDialogReadonly: typeof openDialogReadonly;
|
|
206
|
-
createItem: (
|
|
207
|
-
importItems: (
|
|
208
|
-
updateItem: (
|
|
209
|
-
deleteItem: (
|
|
210
|
-
reload: (
|
|
211
|
-
setSearch: (
|
|
206
|
+
createItem: (item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
207
|
+
importItems: (importItemsList: Record<string, any>[], callback?: FormDialogCallback) => void;
|
|
208
|
+
updateItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
209
|
+
deleteItem: (item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>;
|
|
210
|
+
reload: () => void;
|
|
211
|
+
setSearch: (keyword: string) => void;
|
|
212
212
|
canServerPageable: boolean;
|
|
213
213
|
canServerSearch: boolean;
|
|
214
214
|
canCreate: boolean;
|
|
@@ -37,12 +37,12 @@ declare function openDialog(item?: object): void;
|
|
|
37
37
|
declare var __VLS_15: {
|
|
38
38
|
operation: {
|
|
39
39
|
openDialog: typeof openDialog;
|
|
40
|
-
createItem: (
|
|
41
|
-
importItems: (
|
|
42
|
-
updateItem: (
|
|
43
|
-
deleteItem: (
|
|
44
|
-
reload: (
|
|
45
|
-
setSearch: (
|
|
40
|
+
createItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
41
|
+
importItems: (importItemsList: Record<string, any>[], callback?: import("../../types/formDialog.js").FormDialogCallback) => void;
|
|
42
|
+
updateItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
43
|
+
deleteItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
44
|
+
reload: () => void;
|
|
45
|
+
setSearch: (keyword: string) => void;
|
|
46
46
|
canServerPageable: boolean;
|
|
47
47
|
canServerSearch: boolean;
|
|
48
48
|
canCreate: boolean;
|
|
@@ -73,12 +73,12 @@ declare var __VLS_15: {
|
|
|
73
73
|
item: import("vuetify/lib/components/VDataIterator/composables/items.mjs").DataIteratorItem<Record<string, any>>;
|
|
74
74
|
operation: {
|
|
75
75
|
openDialog: typeof openDialog;
|
|
76
|
-
createItem: (
|
|
77
|
-
importItems: (
|
|
78
|
-
updateItem: (
|
|
79
|
-
deleteItem: (
|
|
80
|
-
reload: (
|
|
81
|
-
setSearch: (
|
|
76
|
+
createItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
77
|
+
importItems: (importItemsList: Record<string, any>[], callback?: import("../../types/formDialog.js").FormDialogCallback) => void;
|
|
78
|
+
updateItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
79
|
+
deleteItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
80
|
+
reload: () => void;
|
|
81
|
+
setSearch: (keyword: string) => void;
|
|
82
82
|
canServerPageable: boolean;
|
|
83
83
|
canServerSearch: boolean;
|
|
84
84
|
canCreate: boolean;
|
|
@@ -92,12 +92,12 @@ declare var __VLS_15: {
|
|
|
92
92
|
items: Record<string, any>[];
|
|
93
93
|
operation: {
|
|
94
94
|
openDialog: typeof openDialog;
|
|
95
|
-
createItem: (
|
|
96
|
-
importItems: (
|
|
97
|
-
updateItem: (
|
|
98
|
-
deleteItem: (
|
|
99
|
-
reload: (
|
|
100
|
-
setSearch: (
|
|
95
|
+
createItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
96
|
+
importItems: (importItemsList: Record<string, any>[], callback?: import("../../types/formDialog.js").FormDialogCallback) => void;
|
|
97
|
+
updateItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
98
|
+
deleteItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
99
|
+
reload: () => void;
|
|
100
|
+
setSearch: (keyword: string) => void;
|
|
101
101
|
canServerPageable: boolean;
|
|
102
102
|
canServerSearch: boolean;
|
|
103
103
|
canCreate: boolean;
|
|
@@ -124,17 +124,17 @@ declare var __VLS_15: {
|
|
|
124
124
|
itemsCount: number;
|
|
125
125
|
groupedItems: readonly (import("vuetify/lib/components/VDataIterator/composables/items.mjs").DataIteratorItem<Record<string, any>> | import("vuetify/lib/components/VDataTable/composables/group.mjs").Group<import("vuetify/lib/components/VDataIterator/composables/items.mjs").DataIteratorItem<Record<string, any>>> | import("vuetify/lib/components/VDataTable/composables/group.mjs").GroupSummary<import("vuetify/lib/components/VDataIterator/composables/items.mjs").DataIteratorItem<Record<string, any>>>)[];
|
|
126
126
|
}, __VLS_92: {
|
|
127
|
-
reload: (
|
|
127
|
+
reload: () => void;
|
|
128
128
|
}, __VLS_108: {
|
|
129
129
|
items: Record<string, any>[];
|
|
130
130
|
operation: {
|
|
131
131
|
openDialog: typeof openDialog;
|
|
132
|
-
createItem: (
|
|
133
|
-
importItems: (
|
|
134
|
-
updateItem: (
|
|
135
|
-
deleteItem: (
|
|
136
|
-
reload: (
|
|
137
|
-
setSearch: (
|
|
132
|
+
createItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
133
|
+
importItems: (importItemsList: Record<string, any>[], callback?: import("../../types/formDialog.js").FormDialogCallback) => void;
|
|
134
|
+
updateItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
135
|
+
deleteItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
136
|
+
reload: () => void;
|
|
137
|
+
setSearch: (keyword: string) => void;
|
|
138
138
|
canServerPageable: boolean;
|
|
139
139
|
canServerSearch: boolean;
|
|
140
140
|
canCreate: boolean;
|
|
@@ -145,12 +145,12 @@ declare var __VLS_15: {
|
|
|
145
145
|
items: Record<string, any>[];
|
|
146
146
|
operation: {
|
|
147
147
|
openDialog: typeof openDialog;
|
|
148
|
-
createItem: (
|
|
149
|
-
importItems: (
|
|
150
|
-
updateItem: (
|
|
151
|
-
deleteItem: (
|
|
152
|
-
reload: (
|
|
153
|
-
setSearch: (
|
|
148
|
+
createItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
149
|
+
importItems: (importItemsList: Record<string, any>[], callback?: import("../../types/formDialog.js").FormDialogCallback) => void;
|
|
150
|
+
updateItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
151
|
+
deleteItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
152
|
+
reload: () => void;
|
|
153
|
+
setSearch: (keyword: string) => void;
|
|
154
154
|
canServerPageable: boolean;
|
|
155
155
|
canServerSearch: boolean;
|
|
156
156
|
canCreate: boolean;
|
|
@@ -160,12 +160,12 @@ declare var __VLS_15: {
|
|
|
160
160
|
}, __VLS_175: never, __VLS_176: {
|
|
161
161
|
operation: {
|
|
162
162
|
openDialog: typeof openDialog;
|
|
163
|
-
createItem: (
|
|
164
|
-
importItems: (
|
|
165
|
-
updateItem: (
|
|
166
|
-
deleteItem: (
|
|
167
|
-
reload: (
|
|
168
|
-
setSearch: (
|
|
163
|
+
createItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
164
|
+
importItems: (importItemsList: Record<string, any>[], callback?: import("../../types/formDialog.js").FormDialogCallback) => void;
|
|
165
|
+
updateItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
166
|
+
deleteItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
167
|
+
reload: () => void;
|
|
168
|
+
setSearch: (keyword: string) => void;
|
|
169
169
|
canServerPageable: boolean;
|
|
170
170
|
canServerSearch: boolean;
|
|
171
171
|
canCreate: boolean;
|
|
@@ -175,12 +175,12 @@ declare var __VLS_15: {
|
|
|
175
175
|
}, __VLS_201: never, __VLS_202: {
|
|
176
176
|
operation: {
|
|
177
177
|
openDialog: typeof openDialog;
|
|
178
|
-
createItem: (
|
|
179
|
-
importItems: (
|
|
180
|
-
updateItem: (
|
|
181
|
-
deleteItem: (
|
|
182
|
-
reload: (
|
|
183
|
-
setSearch: (
|
|
178
|
+
createItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
179
|
+
importItems: (importItemsList: Record<string, any>[], callback?: import("../../types/formDialog.js").FormDialogCallback) => void;
|
|
180
|
+
updateItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
181
|
+
deleteItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
182
|
+
reload: () => void;
|
|
183
|
+
setSearch: (keyword: string) => void;
|
|
184
184
|
canServerPageable: boolean;
|
|
185
185
|
canServerSearch: boolean;
|
|
186
186
|
canCreate: boolean;
|
|
@@ -233,15 +233,15 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
233
233
|
itemsPerPage: number;
|
|
234
234
|
api: boolean;
|
|
235
235
|
}>>, {
|
|
236
|
-
reload: (
|
|
236
|
+
reload: () => void;
|
|
237
237
|
operation: import("vue").Ref<{
|
|
238
238
|
openDialog: typeof openDialog;
|
|
239
|
-
createItem: (
|
|
240
|
-
importItems: (
|
|
241
|
-
updateItem: (
|
|
242
|
-
deleteItem: (
|
|
243
|
-
reload: (
|
|
244
|
-
setSearch: (
|
|
239
|
+
createItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
240
|
+
importItems: (importItemsList: Record<string, any>[], callback?: import("../../types/formDialog.js").FormDialogCallback) => void;
|
|
241
|
+
updateItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
242
|
+
deleteItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
243
|
+
reload: () => void;
|
|
244
|
+
setSearch: (keyword: string) => void;
|
|
245
245
|
canServerPageable: boolean;
|
|
246
246
|
canServerSearch: boolean;
|
|
247
247
|
canCreate: boolean;
|
|
@@ -249,12 +249,12 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
249
249
|
canDelete: boolean;
|
|
250
250
|
}, {
|
|
251
251
|
openDialog: typeof openDialog;
|
|
252
|
-
createItem: (
|
|
253
|
-
importItems: (
|
|
254
|
-
updateItem: (
|
|
255
|
-
deleteItem: (
|
|
256
|
-
reload: (
|
|
257
|
-
setSearch: (
|
|
252
|
+
createItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
253
|
+
importItems: (importItemsList: Record<string, any>[], callback?: import("../../types/formDialog.js").FormDialogCallback) => void;
|
|
254
|
+
updateItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
255
|
+
deleteItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
256
|
+
reload: () => void;
|
|
257
|
+
setSearch: (keyword: string) => void;
|
|
258
258
|
canServerPageable: import("vue").ComputedRef<boolean>;
|
|
259
259
|
canServerSearch: import("vue").ComputedRef<boolean>;
|
|
260
260
|
canCreate: import("vue").ComputedRef<boolean>;
|
|
@@ -262,12 +262,12 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
262
262
|
canDelete: import("vue").ComputedRef<boolean>;
|
|
263
263
|
} | {
|
|
264
264
|
openDialog: typeof openDialog;
|
|
265
|
-
createItem: (
|
|
266
|
-
importItems: (
|
|
267
|
-
updateItem: (
|
|
268
|
-
deleteItem: (
|
|
269
|
-
reload: (
|
|
270
|
-
setSearch: (
|
|
265
|
+
createItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback, importing?: boolean) => Promise<any>;
|
|
266
|
+
importItems: (importItemsList: Record<string, any>[], callback?: import("../../types/formDialog.js").FormDialogCallback) => void;
|
|
267
|
+
updateItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
268
|
+
deleteItem: (item: Record<string, any>, callback?: import("../../types/formDialog.js").FormDialogCallback) => Promise<any>;
|
|
269
|
+
reload: () => void;
|
|
270
|
+
setSearch: (keyword: string) => void;
|
|
271
271
|
canServerPageable: boolean;
|
|
272
272
|
canServerSearch: boolean;
|
|
273
273
|
canCreate: boolean;
|