@mythpe/quasar-ui-qui 0.4.71 → 0.4.72

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mythpe/quasar-ui-qui",
3
- "version": "0.4.71",
3
+ "version": "0.4.72",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -229,7 +229,7 @@ const {
229
229
  const $q = useQuasar()
230
230
  const $router = useRouter()
231
231
  const { te } = useI18n({ useScope: 'global' })
232
- const useFormContext = useForm<any, any>({ initialValues: {} })
232
+ const useFormContext = useForm<any, any>()
233
233
  const { resetForm: resetDialogForm, handleSubmit } = useFormContext
234
234
 
235
235
  const {
@@ -348,10 +348,10 @@ const {
348
348
  }
349
349
  return !hasAction.value
350
350
  }) */
351
+
351
352
  watch(defaultItem, (v) => {
352
353
  resetDialogForm({ values: { ...v || {} } }, { force: !0 })
353
354
  }, { immediate: !1, deep: !0 })
354
- // watch(getRows, (v) => emit('update:rows', v), { deep: !0 })
355
355
  defineModel<any[]>('rows', { required: false, default: undefined })
356
356
  watch([
357
357
  () => toValue(props.visibleColumns),
@@ -62,7 +62,7 @@ export const useDtHelpers = (options: MaybeRefOrGetter<MDatatableProps>, emit?:
62
62
  const getRows = computed<any>({
63
63
  get: () => {
64
64
  if (props.rows !== undefined && props.rows !== null) {
65
- return props.rows
65
+ return toValue(props.rows)
66
66
  }
67
67
  return rowsRef.value
68
68
  },