@mythpe/quasar-ui-qui 0.4.87 → 0.4.89

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.87",
3
+ "version": "0.4.89",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -54,6 +54,7 @@ interface P {
54
54
  appendIconProps?: Props['appendIconProps'];
55
55
  yesNo?: boolean;
56
56
  genders?: boolean;
57
+ status?: boolean;
57
58
  }
58
59
 
59
60
  const props = withDefaults(defineProps<P>(), {
@@ -91,7 +92,9 @@ const props = withDefaults(defineProps<P>(), {
91
92
  prependIconProps: undefined,
92
93
  appendIcon: undefined,
93
94
  appendIconProps: undefined,
94
- yesNo: undefined
95
+ yesNo: undefined,
96
+ genders: undefined,
97
+ status: undefined
95
98
  })
96
99
  defineModel<Props['modelValue']>({ required: !1, default: undefined })
97
100
  const loading = defineModel<Props['loading']>('loading', { required: !1, default: !1 })
@@ -130,6 +133,19 @@ const fetchData = async () => {
130
133
  ]
131
134
  return
132
135
  }
136
+ if (props.status) {
137
+ options.value = [
138
+ {
139
+ label: __('labels.active'),
140
+ value: true
141
+ },
142
+ {
143
+ label: __('labels.inactive'),
144
+ value: false
145
+ }
146
+ ]
147
+ return
148
+ }
133
149
  if (props.genders) {
134
150
  options.value = [
135
151
  {
@@ -13,11 +13,7 @@
13
13
  import { useMyth } from '../../composable'
14
14
  import type { MHelpRowProps } from '../../types'
15
15
 
16
- withDefaults(defineProps<MHelpRowProps>(), {
17
- text: undefined,
18
- icon: undefined,
19
- tooltip: !1
20
- })
16
+ defineProps<MHelpRowProps>()
21
17
  const { __ } = useMyth()
22
18
  defineOptions({
23
19
  name: 'MHelpRow',
@@ -9,30 +9,30 @@ $font-rtl: $typography-font-family !default
9
9
  $font-ltr: $typography-font-family !default
10
10
 
11
11
  :root
12
- --q-font-family: #{$typography-font-family}
13
- --q-font-ltr: #{$font-ltr}
14
- --q-font-rtl: #{$font-rtl}
12
+ --m-font-family: #{$typography-font-family}
13
+ --m-font-ltr: #{$font-ltr}
14
+ --m-font-rtl: #{$font-rtl}
15
15
 
16
16
  [dir="rtl"]
17
17
  body
18
- font-family: var(--q-font-rtl)
18
+ font-family: var(--m-font-rtl)
19
19
 
20
20
  .driver-popover,
21
21
  .driver-popover *
22
- font-family: var(--q-font-rtl) !important
22
+ font-family: var(--m-font-rtl) !important
23
23
  font-feature-settings: "lnum" 0, "tnum" 0, "onum" 1 !important
24
24
 
25
25
  [dir="ltr"]
26
26
  body
27
- font-family: var(--q-font-ltr)
27
+ font-family: var(--m-font-ltr)
28
28
 
29
29
  .driver-popover,
30
30
  .driver-popover *
31
- font-family: var(--q-font-ltr) !important
31
+ font-family: var(--m-font-ltr) !important
32
32
  font-feature-settings: "lnum" 0, "tnum" 0, "onum" 1 !important
33
33
 
34
34
  .font-ltr
35
- font-family: var(--q-font-ltr) !important
35
+ font-family: var(--m-font-ltr) !important
36
36
 
37
37
  .font-rtl
38
- font-family: var(--q-font-rtl) !important
38
+ font-family: var(--m-font-rtl) !important