@mythpe/quasar-ui-qui 0.3.81 → 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
|
@@ -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
|
}
|