@mythpe/quasar-ui-qui 0.3.75 → 0.3.77
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
|
@@ -343,6 +343,7 @@ const onSuccess: SubmissionHandler = async (form) => {
|
|
|
343
343
|
if (loading.value) {
|
|
344
344
|
return
|
|
345
345
|
}
|
|
346
|
+
$q.loading.show()
|
|
346
347
|
loading.value = !0
|
|
347
348
|
const apiServices = getMythApiServicesSchema()
|
|
348
349
|
const fdt = isUpdateMode.value ? 'u' : 'c'
|
|
@@ -412,6 +413,7 @@ const onSuccess: SubmissionHandler = async (form) => {
|
|
|
412
413
|
}
|
|
413
414
|
} finally {
|
|
414
415
|
loading.value = !1
|
|
416
|
+
$q.loading.hide()
|
|
415
417
|
}
|
|
416
418
|
}
|
|
417
419
|
const onInvalidSubmit: InvalidSubmissionHandler = ({ errors }) => {
|
|
@@ -22,6 +22,7 @@ interface P {
|
|
|
22
22
|
placeholder?: Props['placeholder'];
|
|
23
23
|
viewModeValue?: Props['viewModeValue'];
|
|
24
24
|
mobile?: Props['mobile'];
|
|
25
|
+
dense?: Props['dense'];
|
|
25
26
|
auto?: Props['auto'];
|
|
26
27
|
col?: Props['col'];
|
|
27
28
|
xs?: Props['xs'];
|
|
@@ -71,6 +72,7 @@ defineOptions({
|
|
|
71
72
|
v-bind="{
|
|
72
73
|
...$attrs,
|
|
73
74
|
required,
|
|
75
|
+
dense,
|
|
74
76
|
viewModeValue,
|
|
75
77
|
placeholder: !countryValue ? __('replace.choose',{name: __(`attributes.${countryName}`) }) : placeholder,
|
|
76
78
|
col: readonly ? 12 : 7,
|
|
@@ -93,6 +95,7 @@ defineOptions({
|
|
|
93
95
|
:prepend-icon="$q.screen.gt.xs ? 'ion-keypad' : undefined"
|
|
94
96
|
:required="readonly ? undefined : required"
|
|
95
97
|
:view-mode="readonly"
|
|
98
|
+
:dense="dense"
|
|
96
99
|
col
|
|
97
100
|
hide-bottom-space
|
|
98
101
|
hide-dropdown-icon
|
|
@@ -106,7 +106,8 @@ export const useBindInput = <P extends G = G> (Props: MaybeRefOrGetter<P>, key:
|
|
|
106
106
|
const autocomplete = props.autocomplete !== undefined ? props.autocomplete : (pluginProps.value[key] && 'autocomplete' in pluginProps.value[key] ? pluginProps.value[key]?.autocomplete : undefined)
|
|
107
107
|
if (autocomplete !== undefined) {
|
|
108
108
|
if (autocomplete === !0 || autocomplete === '') {
|
|
109
|
-
|
|
109
|
+
const a = kebabCase(props.name)
|
|
110
|
+
return a === 'last-name' ? 'family-name' : a
|
|
110
111
|
} else if (autocomplete === !1) {
|
|
111
112
|
return 'off'
|
|
112
113
|
} else if (autocomplete?.length > 0) {
|