@mythpe/quasar-ui-qui 0.3.80 → 0.3.82

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.3.80",
3
+ "version": "0.3.82",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -485,7 +485,7 @@ const bindAttr = computed(() => ({
485
485
  }))
486
486
  const showIfContext = (contextBtn: GenericMDtBtn): boolean => {
487
487
  contextBtn = toValue(contextBtn)
488
- if (selected.value.length === 0) {
488
+ if (selected.value.length === 1) {
489
489
  const per = typeof contextBtn.showIf === 'function' ? contextBtn.showIf(selected.value[0], 0) : contextBtn.showIf === !0
490
490
  const single = (!!contextBtn.click || !!contextBtn.attr?.to)
491
491
  const multi = !!contextBtn.multiClick
@@ -31,6 +31,7 @@ interface P {
31
31
  md?: Props['md'];
32
32
  lg?: Props['lg'];
33
33
  xl?: Props['xl'];
34
+ searchLength?: Props['searchLength'];
34
35
  }
35
36
 
36
37
  const props = defineProps<P>()
@@ -117,6 +118,7 @@ defineOptions({
117
118
  :name="countryName"
118
119
  :prepend-icon="$q.screen.gt.xs ? 'ion-keypad' : undefined"
119
120
  :required="readonly ? undefined : required"
121
+ :search-length="searchLength??0"
120
122
  :view-mode="readonly"
121
123
  col
122
124
  hide-bottom-space
@@ -128,6 +130,7 @@ defineOptions({
128
130
  popup-content-class="m-select__popup-phone"
129
131
  popup-no-route-dismiss
130
132
  service="country.codes"
133
+ v-bind="$attrs"
131
134
  @model="onSelectCountry"
132
135
  />
133
136
  </MRow>
@@ -7,10 +7,12 @@
7
7
  */
8
8
 
9
9
  import type { MInputProps } from './MInput'
10
+ import type { MAxiosProps } from './MAxios'
10
11
 
11
12
  export type MPhoneProps = MInputProps & {
12
13
  /**
13
14
  * Name of country phone. default: $name_country
14
15
  */
15
16
  countryPhone?: string;
17
+ searchLength?: MAxiosProps['searchLength'];
16
18
  }