@mythpe/quasar-ui-qui 0.2.49 → 0.2.51

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.49",
3
+ "version": "0.2.51",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -10,7 +10,7 @@
10
10
  lang="ts"
11
11
  setup
12
12
  >
13
- import type { MDatatableProps } from '../../types'
13
+ import type { GenericMDtBtn, MDatatableProps } from '../../types'
14
14
  import type { InvalidSubmissionHandler, SubmissionHandler } from 'vee-validate'
15
15
  import { useForm } from 'vee-validate'
16
16
  import { computed, onMounted, ref, toValue, watch } from 'vue'
@@ -998,7 +998,7 @@ defineExpose({
998
998
  @click="deleteSelectionItem()"
999
999
  />
1000
1000
  <template
1001
- v-for="(contextBtn,i) in contextItems"
1001
+ v-for="(contextBtn,i) in contextItems as GenericMDtBtn[]"
1002
1002
  :key="`top-s-${i}`"
1003
1003
  >
1004
1004
  <MDtBtn
@@ -211,7 +211,7 @@ export type MDatatableProps<I extends GenericFormValues = GenericFormValues> = O
211
211
  rows?: any[];
212
212
  controlKey?: string;
213
213
  defaultItem?: Partial<MDtItem<I>>
214
- contextItems?: GenericMDtBtn[];
214
+ contextItems?: MaybeRefOrGetter<GenericMDtBtn[]>;
215
215
  contextItemsLength?: number;
216
216
  hideAutoMessage?: boolean;
217
217
  headers: string[] | Partial<QTableProps['columns']> | any[];