@mythpe/quasar-ui-qui 0.2.46 → 0.2.48

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.2.46",
3
+ "version": "0.2.48",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -14,6 +14,7 @@ import { computed, nextTick, useTemplateRef, watch } from 'vue'
14
14
  import { useBindInput, useError, useMyth, useValue } from '../../composable'
15
15
  import type { MUploaderMediaItem, MUploaderProps as Props, MUploaderXhrInfo } from '../../types'
16
16
  import { useFieldArray, useFieldValue, useFormValues, useResetForm } from 'vee-validate'
17
+ import { MUploaderItem } from '../parials'
17
18
 
18
19
  interface P {
19
20
  name?: Props['name'];
@@ -149,7 +149,9 @@ const onUpdateField = (data: any) => {
149
149
  })
150
150
  }
151
151
  }
152
- defineOptions({ name: 'MUploaderItem' })
152
+ defineOptions({
153
+ name: 'MUploaderItem'
154
+ })
153
155
  </script>
154
156
 
155
157
  <template>
@@ -125,7 +125,7 @@ export const useMyth = () => {
125
125
  align: 'center'
126
126
  // sortable: !0
127
127
  }
128
- const opts = extend<ParseHeaderOptions>(!0, defaultOptions, options)
128
+ const opts = extend<ParseHeaderOptions>(!0, {}, defaultOptions, options)
129
129
  let control: string | undefined = defaultOptions.controlKey
130
130
  let controlStyle: string | undefined = defaultOptions.controlStyle
131
131
  if (opts.controlKey) {
@@ -18,8 +18,7 @@ import type { GenericFormValues } from './api/MInput'
18
18
 
19
19
  export type MDtItem<T extends object = Record<keyof T, any>> = T & {
20
20
  id: string | number;
21
- [K: keyof T]: any;
22
- }
21
+ } & Record<any, any>;
23
22
 
24
23
  export type MDtItemIndex = number;
25
24
  export type MDtExportOptions = 'pdf' | 'excel';