@mythpe/quasar-ui-qui 0.2.87 → 0.2.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.2.87",
3
+ "version": "0.2.89",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -89,6 +89,7 @@ type Props = {
89
89
  sarColumns?: MDatatableProps['sarColumns'];
90
90
  copyColumns?: MDatatableProps['copyColumns'];
91
91
  descColumns?: MDatatableProps['descColumns'];
92
+ help?: MDatatableProps['help'];
92
93
  }
93
94
 
94
95
  const props = withDefaults(defineProps<Props>(), {
@@ -156,7 +157,8 @@ const props = withDefaults(defineProps<Props>(), {
156
157
  colorColumns: undefined,
157
158
  sarColumns: undefined,
158
159
  copyColumns: undefined,
159
- descColumns: undefined
160
+ descColumns: undefined,
161
+ help: undefined
160
162
  })
161
163
 
162
164
  interface Emits {
@@ -701,7 +703,17 @@ defineExpose({
701
703
  v-if="!!getTableTitle"
702
704
  class="text-h5 bordered-bottom ellipsis"
703
705
  >
704
- {{ getTableTitle }}
706
+ <span>{{ getTableTitle }}</span>
707
+ <span v-if="!!help">
708
+ <q-icon
709
+ class="cursor-pointer"
710
+ name="ion-ios-information-circle-outline"
711
+ right
712
+ size="18px"
713
+ >
714
+ <q-tooltip>{{ __(help) }}</q-tooltip>
715
+ </q-icon>
716
+ </span>
705
717
  </div>
706
718
  </div>
707
719
  <!-- Add Btn -->
@@ -1505,7 +1517,7 @@ defineExpose({
1505
1517
  name="form-actions"
1506
1518
  >
1507
1519
  <MBtn
1508
- :class="{'full-width': $q.screen.lt.sm}"
1520
+ :class="{'full-width': $q.screen.xs}"
1509
1521
  :label="__(`myth.titles.${isUpdateMode ? 'save' : 'store'}`)"
1510
1522
  :loading="loading"
1511
1523
  type="submit"
@@ -32,6 +32,7 @@ type P = {
32
32
  useChoice?: Props['useChoice'];
33
33
  byId?: Props['byId'];
34
34
  searchLength?: Props['searchLength'];
35
+ required?: Props['required'];
35
36
  }
36
37
 
37
38
  const props = withDefaults(defineProps<P>(), {
@@ -47,7 +48,8 @@ const props = withDefaults(defineProps<P>(), {
47
48
  lazy: () => !1,
48
49
  useChoice: undefined,
49
50
  byId: undefined,
50
- searchLength: undefined
51
+ searchLength: undefined,
52
+ required: undefined
51
53
  })
52
54
  const modelValue = defineModel<Props['modelValue']>({ required: !1, default: undefined })
53
55
  type Emits = {
@@ -159,6 +161,7 @@ defineOptions({ name: 'MAxios', inheritAttrs: !1 })
159
161
  :name="name"
160
162
  :options="items"
161
163
  :placeholder="placeholder"
164
+ :required="required"
162
165
  :view-mode="viewMode"
163
166
  :view-mode-value="viewModeValue"
164
167
  axios-mode
@@ -351,16 +351,14 @@ defineOptions({
351
351
  #before-options
352
352
  >
353
353
  <MContainer>
354
- <MColumn>
355
- <q-btn
356
- :class="{'full-width':!$q.screen.xs}"
354
+ <MRow class="full-width">
355
+ <MBtn
356
+ :class="{'full-width': $q.screen.lt.sm}"
357
357
  :label="__('labels.done')"
358
358
  :size="$q.screen.xs ? 'lg' : undefined"
359
- color="brand"
360
- text-color="on-brand"
361
359
  @click="onDoneOptions()"
362
360
  />
363
- </MColumn>
361
+ </MRow>
364
362
  </MContainer>
365
363
  </template>
366
364
  <template
@@ -318,6 +318,10 @@ export type MDatatableProps<I extends GenericFormValues = GenericFormValues> = O
318
318
  * Names of a text want to show be truncate text
319
319
  */
320
320
  descColumns?: MaybeRefOrGetter<string[]>;
321
+ /**
322
+ * Help Tooltip
323
+ */
324
+ help?: string;
321
325
  }
322
326
 
323
327
  export interface MDtAvatarProps extends QAvatarProps {