@mythpe/quasar-ui-qui 0.2.76 → 0.2.78
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/package.json
CHANGED
|
@@ -194,8 +194,11 @@ const {
|
|
|
194
194
|
showDialogModel,
|
|
195
195
|
formDialogModel,
|
|
196
196
|
dialogItem,
|
|
197
|
+
setDialogItem,
|
|
197
198
|
dialogItemIndex,
|
|
199
|
+
setDialogItemIndex,
|
|
198
200
|
dialogErrors,
|
|
201
|
+
setDialogErrors,
|
|
199
202
|
resetDialogs,
|
|
200
203
|
getHeaders,
|
|
201
204
|
visibleHeaders,
|
|
@@ -440,6 +443,12 @@ defineExpose({
|
|
|
440
443
|
updateFilterOptions,
|
|
441
444
|
openShowDialogNoIndex,
|
|
442
445
|
openShowDialog,
|
|
446
|
+
dialogItem,
|
|
447
|
+
setDialogItem,
|
|
448
|
+
dialogItemIndex,
|
|
449
|
+
setDialogItemIndex,
|
|
450
|
+
dialogErrors,
|
|
451
|
+
setDialogErrors,
|
|
443
452
|
closeShowDialog,
|
|
444
453
|
openUpdateDialogNoIndex,
|
|
445
454
|
openUpdateDialog,
|
|
@@ -90,8 +90,17 @@ export const useDtHelpers = (options: MaybeRefOrGetter<MDatatableProps>) => {
|
|
|
90
90
|
const formDialogModel = ref(!1)
|
|
91
91
|
const isUpdateDialog = ref(!1)
|
|
92
92
|
const dialogItem = ref<MDtItem | undefined>(undefined)
|
|
93
|
+
const setDialogItem = (value: any) => {
|
|
94
|
+
dialogItem.value = toValue(value) as any
|
|
95
|
+
}
|
|
93
96
|
const dialogItemIndex = ref<MDtItemIndex | undefined>()
|
|
97
|
+
const setDialogItemIndex = (value: any) => {
|
|
98
|
+
dialogItemIndex.value = toValue(value) as any
|
|
99
|
+
}
|
|
94
100
|
const dialogErrors = ref<any>({})
|
|
101
|
+
const setDialogErrors = (value: any) => {
|
|
102
|
+
dialogErrors.value = toValue(value) as any
|
|
103
|
+
}
|
|
95
104
|
const resetDialogs = () => {
|
|
96
105
|
filterDialogModel.value = !1
|
|
97
106
|
showDialogModel.value = !1
|
|
@@ -901,8 +910,11 @@ export const useDtHelpers = (options: MaybeRefOrGetter<MDatatableProps>) => {
|
|
|
901
910
|
formDialogModel,
|
|
902
911
|
isUpdateDialog,
|
|
903
912
|
dialogItem,
|
|
913
|
+
setDialogItem,
|
|
904
914
|
dialogItemIndex,
|
|
915
|
+
setDialogItemIndex,
|
|
905
916
|
dialogErrors,
|
|
917
|
+
setDialogErrors,
|
|
906
918
|
resetDialogs,
|
|
907
919
|
getHeaders,
|
|
908
920
|
visibleHeaders,
|