@ramathibodi/nuxt-commons 4.0.27 → 4.0.29
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 +2 -2
- package/dist/runtime/components/Calendar.d.vue.ts +12 -10
- package/dist/runtime/components/Calendar.vue.d.ts +12 -10
- package/dist/runtime/components/ExportCSV.d.vue.ts +3 -3
- package/dist/runtime/components/ExportCSV.vue.d.ts +3 -3
- package/dist/runtime/components/FileBtn.d.vue.ts +3 -3
- package/dist/runtime/components/FileBtn.vue.d.ts +3 -3
- package/dist/runtime/components/ImportCSV.d.vue.ts +3 -3
- package/dist/runtime/components/ImportCSV.vue.d.ts +3 -3
- package/dist/runtime/components/SplitterPanel.d.vue.ts +7 -5
- package/dist/runtime/components/SplitterPanel.vue.d.ts +7 -5
- package/dist/runtime/components/TabsGroup.d.vue.ts +7 -5
- package/dist/runtime/components/TabsGroup.vue.d.ts +7 -5
- package/dist/runtime/components/device/IdCardButton.d.vue.ts +3 -3
- package/dist/runtime/components/device/IdCardButton.vue.d.ts +3 -3
- package/dist/runtime/components/device/Scanner.d.vue.ts +31 -29
- package/dist/runtime/components/device/Scanner.vue.d.ts +31 -29
- package/dist/runtime/components/dialog/Confirm.d.vue.ts +7 -5
- package/dist/runtime/components/dialog/Confirm.vue.d.ts +7 -5
- package/dist/runtime/components/dialog/ImportProgress.d.vue.ts +5 -3
- package/dist/runtime/components/dialog/ImportProgress.vue.d.ts +5 -3
- package/dist/runtime/components/dialog/Index.d.vue.ts +5 -3
- package/dist/runtime/components/dialog/Index.vue.d.ts +5 -3
- package/dist/runtime/components/dialog/Loading.d.vue.ts +5 -3
- package/dist/runtime/components/dialog/Loading.vue.d.ts +5 -3
- package/dist/runtime/components/dialog/default/Confirm.d.vue.ts +7 -5
- package/dist/runtime/components/dialog/default/Confirm.vue.d.ts +7 -5
- package/dist/runtime/components/dialog/default/Loading.d.vue.ts +7 -5
- package/dist/runtime/components/dialog/default/Loading.vue.d.ts +7 -5
- package/dist/runtime/components/dialog/default/Printing.d.vue.ts +5 -3
- package/dist/runtime/components/dialog/default/Printing.vue.d.ts +5 -3
- package/dist/runtime/components/document/TemplateBuilderLiveView.d.vue.ts +71 -69
- package/dist/runtime/components/document/TemplateBuilderLiveView.vue.d.ts +71 -69
- package/dist/runtime/components/document/TemplateInputAttributesHelper.d.vue.ts +14 -0
- package/dist/runtime/components/document/TemplateInputAttributesHelper.vue +154 -0
- package/dist/runtime/components/document/TemplateInputAttributesHelper.vue.d.ts +14 -0
- package/dist/runtime/components/document/TemplateItemForm.vue +46 -1
- package/dist/runtime/components/document/TemplatePalette.d.vue.ts +8 -6
- package/dist/runtime/components/document/TemplatePalette.vue +16 -0
- package/dist/runtime/components/document/TemplatePalette.vue.d.ts +8 -6
- package/dist/runtime/components/form/ActionPad.d.vue.ts +34 -32
- package/dist/runtime/components/form/ActionPad.vue.d.ts +34 -32
- package/dist/runtime/components/form/Date.d.vue.ts +20 -18
- package/dist/runtime/components/form/Date.vue.d.ts +20 -18
- package/dist/runtime/components/form/Dialog.d.vue.ts +24 -22
- package/dist/runtime/components/form/Dialog.vue.d.ts +24 -22
- package/dist/runtime/components/form/EditPad.d.vue.ts +34 -32
- package/dist/runtime/components/form/EditPad.vue.d.ts +34 -32
- package/dist/runtime/components/form/File.d.vue.ts +12 -10
- package/dist/runtime/components/form/File.vue.d.ts +12 -10
- package/dist/runtime/components/form/Iterator.d.vue.ts +121 -134
- package/dist/runtime/components/form/Iterator.vue.d.ts +121 -134
- package/dist/runtime/components/form/Login.d.vue.ts +5 -3
- package/dist/runtime/components/form/Login.vue.d.ts +5 -3
- package/dist/runtime/components/form/Pad.d.vue.ts +652 -650
- package/dist/runtime/components/form/Pad.vue +3 -0
- package/dist/runtime/components/form/Pad.vue.d.ts +652 -650
- package/dist/runtime/components/form/Table.d.vue.ts +69 -82
- package/dist/runtime/components/form/Table.vue.d.ts +69 -82
- package/dist/runtime/components/form/TableData.d.vue.ts +18 -24
- package/dist/runtime/components/form/TableData.vue.d.ts +18 -24
- package/dist/runtime/components/form/images/Capture.d.vue.ts +15 -13
- package/dist/runtime/components/form/images/Capture.vue.d.ts +15 -13
- package/dist/runtime/components/label/Field.d.vue.ts +16 -14
- package/dist/runtime/components/label/Field.vue.d.ts +16 -14
- package/dist/runtime/components/label/FormatMoney.d.vue.ts +1 -1
- package/dist/runtime/components/label/FormatMoney.vue.d.ts +1 -1
- package/dist/runtime/components/master/Autocomplete.d.vue.ts +3 -5
- package/dist/runtime/components/master/Autocomplete.vue.d.ts +3 -5
- package/dist/runtime/components/master/Combobox.d.vue.ts +3 -5
- package/dist/runtime/components/master/Combobox.vue.d.ts +3 -5
- package/dist/runtime/components/master/RadioGroup.d.vue.ts +3 -3
- package/dist/runtime/components/master/RadioGroup.vue.d.ts +3 -3
- package/dist/runtime/components/master/Select.d.vue.ts +3 -5
- package/dist/runtime/components/master/Select.vue.d.ts +3 -5
- package/dist/runtime/components/master/label.d.vue.ts +7 -3
- package/dist/runtime/components/master/label.vue +33 -15
- package/dist/runtime/components/master/label.vue.d.ts +7 -3
- package/dist/runtime/components/model/Autocomplete.d.vue.ts +3 -3
- package/dist/runtime/components/model/Autocomplete.vue.d.ts +3 -3
- package/dist/runtime/components/model/Combobox.d.vue.ts +3 -3
- package/dist/runtime/components/model/Combobox.vue.d.ts +3 -3
- package/dist/runtime/components/model/Pad.d.vue.ts +17 -15
- package/dist/runtime/components/model/Pad.vue.d.ts +17 -15
- package/dist/runtime/components/model/Select.d.vue.ts +3 -3
- package/dist/runtime/components/model/Select.vue.d.ts +3 -3
- package/dist/runtime/components/model/Table.d.vue.ts +102 -166
- package/dist/runtime/components/model/Table.vue.d.ts +102 -166
- package/dist/runtime/components/model/iterator.d.vue.ts +188 -240
- package/dist/runtime/components/model/iterator.vue.d.ts +188 -240
- package/dist/runtime/components/model/label.d.vue.ts +11 -5
- package/dist/runtime/components/model/label.vue +54 -4
- package/dist/runtime/components/model/label.vue.d.ts +11 -5
- package/dist/runtime/composables/batchLookup.d.ts +39 -0
- package/dist/runtime/composables/batchLookup.js +144 -0
- package/dist/runtime/composables/document/inputAttributeCatalog.generated.json +95 -0
- package/dist/runtime/composables/document/inputAttributes.d.ts +46 -0
- package/dist/runtime/composables/document/inputAttributes.js +196 -0
- package/dist/runtime/composables/document/template.js +4 -0
- package/dist/runtime/composables/document/templateInputTypes.d.ts +36 -0
- package/dist/runtime/composables/document/templateInputTypes.js +86 -17
- package/dist/runtime/composables/document/templateMasterLabel.d.ts +32 -0
- package/dist/runtime/composables/document/templateMasterLabel.js +30 -0
- package/dist/runtime/composables/document/validateTemplate.js +11 -1
- package/dist/runtime/composables/masterItemBatch.d.ts +7 -0
- package/dist/runtime/composables/masterItemBatch.js +12 -0
- package/dist/runtime/composables/modelBatch.d.ts +61 -0
- package/dist/runtime/composables/modelBatch.js +192 -0
- package/dist/runtime/labs/form/EditMobile.d.vue.ts +1 -1
- package/dist/runtime/labs/form/EditMobile.vue.d.ts +1 -1
- package/dist/runtime/labs/form/TextFieldMask.d.vue.ts +3 -3
- package/dist/runtime/labs/form/TextFieldMask.vue.d.ts +3 -3
- package/dist/runtime/plugins/clientConfig.d.ts +1 -1
- package/dist/runtime/plugins/default.d.ts +1 -1
- package/dist/runtime/plugins/dialogManager.d.ts +1 -1
- package/dist/runtime/plugins/permission.d.ts +1 -1
- package/package.json +2 -2
- package/scripts/build-input-attribute-catalog.mjs +133 -0
|
@@ -38,174 +38,110 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof VDataTable['$props
|
|
|
38
38
|
type __VLS_Props = Props & GraphqlModelProps;
|
|
39
39
|
declare function openDialog(item?: object): void;
|
|
40
40
|
declare function openDialogReadonly(item?: object): void;
|
|
41
|
-
declare
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
updateItem: ((item: Record<string, any>, callback?: FormDialogCallback, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
143
|
-
deleteItem: ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>) | ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>);
|
|
144
|
-
reload: (() => Promise<void> | undefined) | (() => Promise<void>);
|
|
145
|
-
setSearch: ((keyword: string) => void) | ((keyword: string) => void);
|
|
146
|
-
canServerPageable: boolean;
|
|
147
|
-
canServerSearch: boolean;
|
|
148
|
-
canCreate: boolean;
|
|
149
|
-
canUpdate: boolean;
|
|
150
|
-
canDelete: boolean;
|
|
151
|
-
canEditRow: (item: Record<string, any>) => boolean;
|
|
152
|
-
onlyOwnerEdit: boolean;
|
|
153
|
-
onlyOwnerOverridePermission: string | string[] | undefined;
|
|
154
|
-
autoRefresh: import("vue").Raw<import("#imports").UseAutoRefreshHandle>;
|
|
41
|
+
declare const __VLS_template: () => {
|
|
42
|
+
__VLS_Slots: {} & {} & {} & {
|
|
43
|
+
header?: (props: {
|
|
44
|
+
items: Record<string, any>[];
|
|
45
|
+
operation: {
|
|
46
|
+
openDialog: typeof openDialog;
|
|
47
|
+
openDialogReadonly: typeof openDialogReadonly;
|
|
48
|
+
createItem: ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
49
|
+
importItems: ((importData: Record<string, any>[], callback?: FormDialogCallback) => void) | ((importData: Record<string, any>[], callback?: FormDialogCallback) => void);
|
|
50
|
+
updateItem: ((item: Record<string, any>, callback?: FormDialogCallback, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
51
|
+
deleteItem: ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>) | ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>);
|
|
52
|
+
reload: (() => Promise<void> | undefined) | (() => Promise<void>);
|
|
53
|
+
setSearch: ((keyword: string) => void) | ((keyword: string) => void);
|
|
54
|
+
canServerPageable: boolean;
|
|
55
|
+
canServerSearch: boolean;
|
|
56
|
+
canCreate: boolean;
|
|
57
|
+
canUpdate: boolean;
|
|
58
|
+
canDelete: boolean;
|
|
59
|
+
canEditRow: (item: Record<string, any>) => boolean;
|
|
60
|
+
onlyOwnerEdit: boolean;
|
|
61
|
+
onlyOwnerOverridePermission: string | string[] | undefined;
|
|
62
|
+
autoRefresh: import("vue").Raw<import("#imports").UseAutoRefreshHandle>;
|
|
63
|
+
};
|
|
64
|
+
}) => any;
|
|
65
|
+
} & {
|
|
66
|
+
title?: (props: {
|
|
67
|
+
reload: () => void;
|
|
68
|
+
}) => any;
|
|
69
|
+
} & {
|
|
70
|
+
autoRefreshControl?: (props: {
|
|
71
|
+
enabled: import("vue").ComputedRef<boolean>;
|
|
72
|
+
isActive: import("vue").ComputedRef<boolean>;
|
|
73
|
+
isLoading: import("vue").ComputedRef<boolean>;
|
|
74
|
+
intervalSeconds: import("vue").ComputedRef<number>;
|
|
75
|
+
remainingSeconds: import("vue").Ref<number>;
|
|
76
|
+
isUserPaused: import("vue").Ref<boolean>;
|
|
77
|
+
togglePause: () => void;
|
|
78
|
+
reset: () => void;
|
|
79
|
+
reload: () => void | Promise<void>;
|
|
80
|
+
}) => any;
|
|
81
|
+
} & {
|
|
82
|
+
search?: (props: {
|
|
83
|
+
items: Record<string, any>[];
|
|
84
|
+
operation: {
|
|
85
|
+
openDialog: typeof openDialog;
|
|
86
|
+
openDialogReadonly: typeof openDialogReadonly;
|
|
87
|
+
createItem: ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
88
|
+
importItems: ((importData: Record<string, any>[], callback?: FormDialogCallback) => void) | ((importData: Record<string, any>[], callback?: FormDialogCallback) => void);
|
|
89
|
+
updateItem: ((item: Record<string, any>, callback?: FormDialogCallback, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
90
|
+
deleteItem: ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>) | ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>);
|
|
91
|
+
reload: (() => Promise<void> | undefined) | (() => Promise<void>);
|
|
92
|
+
setSearch: ((keyword: string) => void) | ((keyword: string) => void);
|
|
93
|
+
canServerPageable: boolean;
|
|
94
|
+
canServerSearch: boolean;
|
|
95
|
+
canCreate: boolean;
|
|
96
|
+
canUpdate: boolean;
|
|
97
|
+
canDelete: boolean;
|
|
98
|
+
canEditRow: (item: Record<string, any>) => boolean;
|
|
99
|
+
onlyOwnerEdit: boolean;
|
|
100
|
+
onlyOwnerOverridePermission: string | string[] | undefined;
|
|
101
|
+
autoRefresh: import("vue").Raw<import("#imports").UseAutoRefreshHandle>;
|
|
102
|
+
};
|
|
103
|
+
}) => any;
|
|
104
|
+
} & {
|
|
105
|
+
toolbarItems?: (props: {
|
|
106
|
+
items: Record<string, any>[];
|
|
107
|
+
operation: {
|
|
108
|
+
openDialog: typeof openDialog;
|
|
109
|
+
openDialogReadonly: typeof openDialogReadonly;
|
|
110
|
+
createItem: ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
111
|
+
importItems: ((importData: Record<string, any>[], callback?: FormDialogCallback) => void) | ((importData: Record<string, any>[], callback?: FormDialogCallback) => void);
|
|
112
|
+
updateItem: ((item: Record<string, any>, callback?: FormDialogCallback, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
113
|
+
deleteItem: ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>) | ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>);
|
|
114
|
+
reload: (() => Promise<void> | undefined) | (() => Promise<void>);
|
|
115
|
+
setSearch: ((keyword: string) => void) | ((keyword: string) => void);
|
|
116
|
+
canServerPageable: boolean;
|
|
117
|
+
canServerSearch: boolean;
|
|
118
|
+
canCreate: boolean;
|
|
119
|
+
canUpdate: boolean;
|
|
120
|
+
canDelete: boolean;
|
|
121
|
+
canEditRow: (item: Record<string, any>) => boolean;
|
|
122
|
+
onlyOwnerEdit: boolean;
|
|
123
|
+
onlyOwnerOverridePermission: string | string[] | undefined;
|
|
124
|
+
autoRefresh: import("vue").Raw<import("#imports").UseAutoRefreshHandle>;
|
|
125
|
+
};
|
|
126
|
+
}) => any;
|
|
127
|
+
} & {
|
|
128
|
+
form?: (props: any) => any;
|
|
129
|
+
} & {
|
|
130
|
+
formTitle?: (props: any) => any;
|
|
131
|
+
} & {
|
|
132
|
+
formAction?: (props: any) => any;
|
|
133
|
+
} & {
|
|
134
|
+
importProgress?: (props: {
|
|
135
|
+
isImporting: boolean;
|
|
136
|
+
total: number;
|
|
137
|
+
processed: number;
|
|
138
|
+
succeeded: number;
|
|
139
|
+
failed: number;
|
|
140
|
+
percent: number;
|
|
141
|
+
}) => any;
|
|
155
142
|
};
|
|
156
|
-
}, __VLS_178: never, __VLS_179: {
|
|
157
|
-
operation: {
|
|
158
|
-
openDialog: typeof openDialog;
|
|
159
|
-
openDialogReadonly: typeof openDialogReadonly;
|
|
160
|
-
createItem: ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
161
|
-
importItems: ((importData: Record<string, any>[], callback?: FormDialogCallback) => void) | ((importData: Record<string, any>[], callback?: FormDialogCallback) => void);
|
|
162
|
-
updateItem: ((item: Record<string, any>, callback?: FormDialogCallback, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
163
|
-
deleteItem: ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>) | ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>);
|
|
164
|
-
reload: (() => Promise<void> | undefined) | (() => Promise<void>);
|
|
165
|
-
setSearch: ((keyword: string) => void) | ((keyword: string) => void);
|
|
166
|
-
canServerPageable: boolean;
|
|
167
|
-
canServerSearch: boolean;
|
|
168
|
-
canCreate: boolean;
|
|
169
|
-
canUpdate: boolean;
|
|
170
|
-
canDelete: boolean;
|
|
171
|
-
canEditRow: (item: Record<string, any>) => boolean;
|
|
172
|
-
onlyOwnerEdit: boolean;
|
|
173
|
-
onlyOwnerOverridePermission: string | string[] | undefined;
|
|
174
|
-
autoRefresh: import("vue").Raw<import("#imports").UseAutoRefreshHandle>;
|
|
175
|
-
};
|
|
176
|
-
}, __VLS_214: any, __VLS_217: any, __VLS_220: any, __VLS_222: {
|
|
177
|
-
isImporting: boolean;
|
|
178
|
-
total: number;
|
|
179
|
-
processed: number;
|
|
180
|
-
succeeded: number;
|
|
181
|
-
failed: number;
|
|
182
|
-
percent: number;
|
|
183
|
-
};
|
|
184
|
-
type __VLS_Slots = {} & {
|
|
185
|
-
[K in NonNullable<typeof __VLS_102>]?: (props: typeof __VLS_103) => any;
|
|
186
|
-
} & {
|
|
187
|
-
[K in NonNullable<typeof __VLS_136>]?: (props: typeof __VLS_137) => any;
|
|
188
|
-
} & {
|
|
189
|
-
[K in NonNullable<typeof __VLS_178>]?: (props: typeof __VLS_179) => any;
|
|
190
|
-
} & {
|
|
191
|
-
header?: (props: typeof __VLS_7) => any;
|
|
192
|
-
} & {
|
|
193
|
-
title?: (props: typeof __VLS_33) => any;
|
|
194
|
-
} & {
|
|
195
|
-
autoRefreshControl?: (props: typeof __VLS_43) => any;
|
|
196
|
-
} & {
|
|
197
|
-
search?: (props: typeof __VLS_56) => any;
|
|
198
|
-
} & {
|
|
199
|
-
toolbarItems?: (props: typeof __VLS_69) => any;
|
|
200
|
-
} & {
|
|
201
|
-
form?: (props: typeof __VLS_214) => any;
|
|
202
|
-
} & {
|
|
203
|
-
formTitle?: (props: typeof __VLS_217) => any;
|
|
204
|
-
} & {
|
|
205
|
-
formAction?: (props: typeof __VLS_220) => any;
|
|
206
|
-
} & {
|
|
207
|
-
importProgress?: (props: typeof __VLS_222) => any;
|
|
208
143
|
};
|
|
144
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
209
145
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
210
146
|
noDataText: string;
|
|
211
147
|
dialogFullscreen: boolean;
|
|
@@ -38,174 +38,110 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof VDataTable['$props
|
|
|
38
38
|
type __VLS_Props = Props & GraphqlModelProps;
|
|
39
39
|
declare function openDialog(item?: object): void;
|
|
40
40
|
declare function openDialogReadonly(item?: object): void;
|
|
41
|
-
declare
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
updateItem: ((item: Record<string, any>, callback?: FormDialogCallback, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
143
|
-
deleteItem: ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>) | ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>);
|
|
144
|
-
reload: (() => Promise<void> | undefined) | (() => Promise<void>);
|
|
145
|
-
setSearch: ((keyword: string) => void) | ((keyword: string) => void);
|
|
146
|
-
canServerPageable: boolean;
|
|
147
|
-
canServerSearch: boolean;
|
|
148
|
-
canCreate: boolean;
|
|
149
|
-
canUpdate: boolean;
|
|
150
|
-
canDelete: boolean;
|
|
151
|
-
canEditRow: (item: Record<string, any>) => boolean;
|
|
152
|
-
onlyOwnerEdit: boolean;
|
|
153
|
-
onlyOwnerOverridePermission: string | string[] | undefined;
|
|
154
|
-
autoRefresh: import("vue").Raw<import("#imports").UseAutoRefreshHandle>;
|
|
41
|
+
declare const __VLS_template: () => {
|
|
42
|
+
__VLS_Slots: {} & {} & {} & {
|
|
43
|
+
header?: (props: {
|
|
44
|
+
items: Record<string, any>[];
|
|
45
|
+
operation: {
|
|
46
|
+
openDialog: typeof openDialog;
|
|
47
|
+
openDialogReadonly: typeof openDialogReadonly;
|
|
48
|
+
createItem: ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
49
|
+
importItems: ((importData: Record<string, any>[], callback?: FormDialogCallback) => void) | ((importData: Record<string, any>[], callback?: FormDialogCallback) => void);
|
|
50
|
+
updateItem: ((item: Record<string, any>, callback?: FormDialogCallback, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
51
|
+
deleteItem: ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>) | ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>);
|
|
52
|
+
reload: (() => Promise<void> | undefined) | (() => Promise<void>);
|
|
53
|
+
setSearch: ((keyword: string) => void) | ((keyword: string) => void);
|
|
54
|
+
canServerPageable: boolean;
|
|
55
|
+
canServerSearch: boolean;
|
|
56
|
+
canCreate: boolean;
|
|
57
|
+
canUpdate: boolean;
|
|
58
|
+
canDelete: boolean;
|
|
59
|
+
canEditRow: (item: Record<string, any>) => boolean;
|
|
60
|
+
onlyOwnerEdit: boolean;
|
|
61
|
+
onlyOwnerOverridePermission: string | string[] | undefined;
|
|
62
|
+
autoRefresh: import("vue").Raw<import("#imports").UseAutoRefreshHandle>;
|
|
63
|
+
};
|
|
64
|
+
}) => any;
|
|
65
|
+
} & {
|
|
66
|
+
title?: (props: {
|
|
67
|
+
reload: () => void;
|
|
68
|
+
}) => any;
|
|
69
|
+
} & {
|
|
70
|
+
autoRefreshControl?: (props: {
|
|
71
|
+
enabled: import("vue").ComputedRef<boolean>;
|
|
72
|
+
isActive: import("vue").ComputedRef<boolean>;
|
|
73
|
+
isLoading: import("vue").ComputedRef<boolean>;
|
|
74
|
+
intervalSeconds: import("vue").ComputedRef<number>;
|
|
75
|
+
remainingSeconds: import("vue").Ref<number>;
|
|
76
|
+
isUserPaused: import("vue").Ref<boolean>;
|
|
77
|
+
togglePause: () => void;
|
|
78
|
+
reset: () => void;
|
|
79
|
+
reload: () => void | Promise<void>;
|
|
80
|
+
}) => any;
|
|
81
|
+
} & {
|
|
82
|
+
search?: (props: {
|
|
83
|
+
items: Record<string, any>[];
|
|
84
|
+
operation: {
|
|
85
|
+
openDialog: typeof openDialog;
|
|
86
|
+
openDialogReadonly: typeof openDialogReadonly;
|
|
87
|
+
createItem: ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
88
|
+
importItems: ((importData: Record<string, any>[], callback?: FormDialogCallback) => void) | ((importData: Record<string, any>[], callback?: FormDialogCallback) => void);
|
|
89
|
+
updateItem: ((item: Record<string, any>, callback?: FormDialogCallback, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
90
|
+
deleteItem: ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>) | ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>);
|
|
91
|
+
reload: (() => Promise<void> | undefined) | (() => Promise<void>);
|
|
92
|
+
setSearch: ((keyword: string) => void) | ((keyword: string) => void);
|
|
93
|
+
canServerPageable: boolean;
|
|
94
|
+
canServerSearch: boolean;
|
|
95
|
+
canCreate: boolean;
|
|
96
|
+
canUpdate: boolean;
|
|
97
|
+
canDelete: boolean;
|
|
98
|
+
canEditRow: (item: Record<string, any>) => boolean;
|
|
99
|
+
onlyOwnerEdit: boolean;
|
|
100
|
+
onlyOwnerOverridePermission: string | string[] | undefined;
|
|
101
|
+
autoRefresh: import("vue").Raw<import("#imports").UseAutoRefreshHandle>;
|
|
102
|
+
};
|
|
103
|
+
}) => any;
|
|
104
|
+
} & {
|
|
105
|
+
toolbarItems?: (props: {
|
|
106
|
+
items: Record<string, any>[];
|
|
107
|
+
operation: {
|
|
108
|
+
openDialog: typeof openDialog;
|
|
109
|
+
openDialogReadonly: typeof openDialogReadonly;
|
|
110
|
+
createItem: ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
111
|
+
importItems: ((importData: Record<string, any>[], callback?: FormDialogCallback) => void) | ((importData: Record<string, any>[], callback?: FormDialogCallback) => void);
|
|
112
|
+
updateItem: ((item: Record<string, any>, callback?: FormDialogCallback, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
113
|
+
deleteItem: ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>) | ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>);
|
|
114
|
+
reload: (() => Promise<void> | undefined) | (() => Promise<void>);
|
|
115
|
+
setSearch: ((keyword: string) => void) | ((keyword: string) => void);
|
|
116
|
+
canServerPageable: boolean;
|
|
117
|
+
canServerSearch: boolean;
|
|
118
|
+
canCreate: boolean;
|
|
119
|
+
canUpdate: boolean;
|
|
120
|
+
canDelete: boolean;
|
|
121
|
+
canEditRow: (item: Record<string, any>) => boolean;
|
|
122
|
+
onlyOwnerEdit: boolean;
|
|
123
|
+
onlyOwnerOverridePermission: string | string[] | undefined;
|
|
124
|
+
autoRefresh: import("vue").Raw<import("#imports").UseAutoRefreshHandle>;
|
|
125
|
+
};
|
|
126
|
+
}) => any;
|
|
127
|
+
} & {
|
|
128
|
+
form?: (props: any) => any;
|
|
129
|
+
} & {
|
|
130
|
+
formTitle?: (props: any) => any;
|
|
131
|
+
} & {
|
|
132
|
+
formAction?: (props: any) => any;
|
|
133
|
+
} & {
|
|
134
|
+
importProgress?: (props: {
|
|
135
|
+
isImporting: boolean;
|
|
136
|
+
total: number;
|
|
137
|
+
processed: number;
|
|
138
|
+
succeeded: number;
|
|
139
|
+
failed: number;
|
|
140
|
+
percent: number;
|
|
141
|
+
}) => any;
|
|
155
142
|
};
|
|
156
|
-
}, __VLS_178: never, __VLS_179: {
|
|
157
|
-
operation: {
|
|
158
|
-
openDialog: typeof openDialog;
|
|
159
|
-
openDialogReadonly: typeof openDialogReadonly;
|
|
160
|
-
createItem: ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
161
|
-
importItems: ((importData: Record<string, any>[], callback?: FormDialogCallback) => void) | ((importData: Record<string, any>[], callback?: FormDialogCallback) => void);
|
|
162
|
-
updateItem: ((item: Record<string, any>, callback?: FormDialogCallback, idempotencySalt?: string | number) => Promise<void>) | ((item: Record<string, any>, callback?: FormDialogCallback, importing?: boolean, idempotencySalt?: string | number) => Promise<any>);
|
|
163
|
-
deleteItem: ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>) | ((item: Record<string, any>, callback?: FormDialogCallback) => Promise<any>);
|
|
164
|
-
reload: (() => Promise<void> | undefined) | (() => Promise<void>);
|
|
165
|
-
setSearch: ((keyword: string) => void) | ((keyword: string) => void);
|
|
166
|
-
canServerPageable: boolean;
|
|
167
|
-
canServerSearch: boolean;
|
|
168
|
-
canCreate: boolean;
|
|
169
|
-
canUpdate: boolean;
|
|
170
|
-
canDelete: boolean;
|
|
171
|
-
canEditRow: (item: Record<string, any>) => boolean;
|
|
172
|
-
onlyOwnerEdit: boolean;
|
|
173
|
-
onlyOwnerOverridePermission: string | string[] | undefined;
|
|
174
|
-
autoRefresh: import("vue").Raw<import("#imports").UseAutoRefreshHandle>;
|
|
175
|
-
};
|
|
176
|
-
}, __VLS_214: any, __VLS_217: any, __VLS_220: any, __VLS_222: {
|
|
177
|
-
isImporting: boolean;
|
|
178
|
-
total: number;
|
|
179
|
-
processed: number;
|
|
180
|
-
succeeded: number;
|
|
181
|
-
failed: number;
|
|
182
|
-
percent: number;
|
|
183
|
-
};
|
|
184
|
-
type __VLS_Slots = {} & {
|
|
185
|
-
[K in NonNullable<typeof __VLS_102>]?: (props: typeof __VLS_103) => any;
|
|
186
|
-
} & {
|
|
187
|
-
[K in NonNullable<typeof __VLS_136>]?: (props: typeof __VLS_137) => any;
|
|
188
|
-
} & {
|
|
189
|
-
[K in NonNullable<typeof __VLS_178>]?: (props: typeof __VLS_179) => any;
|
|
190
|
-
} & {
|
|
191
|
-
header?: (props: typeof __VLS_7) => any;
|
|
192
|
-
} & {
|
|
193
|
-
title?: (props: typeof __VLS_33) => any;
|
|
194
|
-
} & {
|
|
195
|
-
autoRefreshControl?: (props: typeof __VLS_43) => any;
|
|
196
|
-
} & {
|
|
197
|
-
search?: (props: typeof __VLS_56) => any;
|
|
198
|
-
} & {
|
|
199
|
-
toolbarItems?: (props: typeof __VLS_69) => any;
|
|
200
|
-
} & {
|
|
201
|
-
form?: (props: typeof __VLS_214) => any;
|
|
202
|
-
} & {
|
|
203
|
-
formTitle?: (props: typeof __VLS_217) => any;
|
|
204
|
-
} & {
|
|
205
|
-
formAction?: (props: typeof __VLS_220) => any;
|
|
206
|
-
} & {
|
|
207
|
-
importProgress?: (props: typeof __VLS_222) => any;
|
|
208
143
|
};
|
|
144
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
209
145
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
210
146
|
noDataText: string;
|
|
211
147
|
dialogFullscreen: boolean;
|