@mythpe/quasar-ui-qui 0.1.51 → 0.1.53

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.1.51",
3
+ "version": "0.1.53",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -17,7 +17,7 @@ import { reactive, toValue, useTemplateRef } from 'vue'
17
17
  import { QField, QOptionGroup, type QOptionGroupSlots } from 'quasar'
18
18
  import { useBindInput, useMyth } from '../../composable'
19
19
 
20
- type P = {
20
+ interface P {
21
21
  name: Props['name'];
22
22
  auto?: Props['auto'];
23
23
  col?: Props['col'];
@@ -137,13 +137,14 @@ defineOptions({
137
137
  :text="help"
138
138
  tooltip
139
139
  />
140
- <MTransition>
140
+ <template v-if="loading">
141
+ <div class="flex-break" />
141
142
  <q-spinner-dots
142
- v-if="loading"
143
+ class="q-mt-lg q-ml-lg"
143
144
  color="primary"
144
- size="25px"
145
+ size="22px"
145
146
  />
146
- </MTransition>
147
+ </template>
147
148
  </MInputLabel>
148
149
  </slot>
149
150
  <slot name="caption">
@@ -518,7 +518,7 @@ export type MFormSlots = {
518
518
 
519
519
  export declare type GenericFormValues = Record<any, any>;
520
520
 
521
- export type MOptionsOptionContext = Omit<QToggleProps, 'modelValue'> & Omit<QRadioProps, 'modelValue'> & Omit<QCheckboxProps, 'modelValue'> & {
521
+ export interface MOptionsOptionContext extends Omit<QToggleProps, 'modelValue'>, Omit<QRadioProps, 'modelValue'>, Omit<QCheckboxProps, 'modelValue'> {
522
522
  /**
523
523
  * Label to display along the component
524
524
  */
@@ -531,9 +531,11 @@ export type MOptionsOptionContext = Omit<QToggleProps, 'modelValue'> & Omit<QRad
531
531
  * If true, the option will be disabled
532
532
  */
533
533
  disable?: boolean;
534
+
534
535
  /**
535
536
  * Any other props from QToggle & QCheckbox, or QRadio
536
537
  */
538
+ [key: string]: any;
537
539
  }
538
540
 
539
541
  export type MOptionsProps = Omit<QOptionGroupProps, 'name' | 'modelValue' | 'options'> &