@dargmuesli/nuxt-vio 20.1.6 → 20.2.0
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/.config/lint.js
CHANGED
|
@@ -12,9 +12,9 @@ const constants = await jiti.import('../shared/utils/constants.ts')
|
|
|
12
12
|
// @ts-ignore
|
|
13
13
|
const POLYFILLS = constants.POLYFILLS
|
|
14
14
|
|
|
15
|
-
const vueI18nConfiguration = vueI18n.configs
|
|
15
|
+
const vueI18nConfiguration = vueI18n.configs.recommended
|
|
16
16
|
const compatConfiguration = eslintPluginCompat.configs['flat/recommended']
|
|
17
|
-
const ymlConfiguration = eslintPluginYml.configs
|
|
17
|
+
const ymlConfiguration = eslintPluginYml.configs.recommended
|
|
18
18
|
const prettierConfiguration = eslintPluginPrettierRecommended
|
|
19
19
|
|
|
20
20
|
export const VIO_ESLINT_CONFIG = [
|
|
@@ -17,12 +17,14 @@
|
|
|
17
17
|
:class="{
|
|
18
18
|
'animate-shake': form.$error,
|
|
19
19
|
}"
|
|
20
|
+
:disabled="isLoading"
|
|
20
21
|
type="submit"
|
|
21
22
|
@click="emit('click')"
|
|
22
23
|
>
|
|
23
24
|
{{ submitName || t('submit') }}
|
|
24
25
|
<template #prefix>
|
|
25
|
-
<
|
|
26
|
+
<VioLoaderIndicatorSpinner v-if="isLoading" class="size-8" />
|
|
27
|
+
<slot v-else name="submit-icon" />
|
|
26
28
|
</template>
|
|
27
29
|
</VioButtonColored>
|
|
28
30
|
<VioFormInputStateError v-if="form.$error" class="mt-2">
|
|
@@ -49,6 +51,7 @@ interface Props {
|
|
|
49
51
|
form: BaseValidation
|
|
50
52
|
formClass?: string
|
|
51
53
|
isFormSent?: boolean
|
|
54
|
+
isLoading?: boolean
|
|
52
55
|
submitName?: string
|
|
53
56
|
}
|
|
54
57
|
const props = withDefaults(defineProps<Props>(), {
|
|
@@ -56,6 +59,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
56
59
|
errorsPgIds: undefined,
|
|
57
60
|
formClass: undefined,
|
|
58
61
|
isFormSent: false,
|
|
62
|
+
isLoading: undefined,
|
|
59
63
|
submitName: undefined,
|
|
60
64
|
})
|
|
61
65
|
|
package/package.json
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"eslint-config-prettier": "10.1.8",
|
|
30
30
|
"eslint-plugin-compat": "6.0.2",
|
|
31
31
|
"eslint-plugin-prettier": "5.5.5",
|
|
32
|
-
"eslint-plugin-yml": "
|
|
32
|
+
"eslint-plugin-yml": "3.0.0",
|
|
33
33
|
"globals": "17.0.0",
|
|
34
34
|
"jiti": "2.6.1",
|
|
35
35
|
"jose": "6.1.3",
|
|
@@ -46,15 +46,15 @@
|
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/node": "24.10.9",
|
|
48
48
|
"@urql/devtools": "2.0.3",
|
|
49
|
-
"@urql/exchange-graphcache": "
|
|
49
|
+
"@urql/exchange-graphcache": "9.0.0",
|
|
50
50
|
"@vueuse/core": "14.1.0",
|
|
51
51
|
"consola": "3.4.2",
|
|
52
52
|
"defu": "6.1.4",
|
|
53
53
|
"h3": "1.15.5",
|
|
54
|
-
"lodash-es": "4.17.
|
|
54
|
+
"lodash-es": "4.17.23",
|
|
55
55
|
"nuxt": "4.2.2",
|
|
56
56
|
"pinia": "3.0.4",
|
|
57
|
-
"prettier": "3.8.
|
|
57
|
+
"prettier": "3.8.1",
|
|
58
58
|
"prettier-plugin-tailwindcss": "0.7.2",
|
|
59
59
|
"serve": "14.2.5",
|
|
60
60
|
"sharp": "0.34.5",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"stylelint-config-standard": "40.0.0",
|
|
64
64
|
"stylelint-no-unsupported-browser-features": "8.0.5",
|
|
65
65
|
"tailwindcss": "4.1.18",
|
|
66
|
-
"vue": "3.5.
|
|
66
|
+
"vue": "3.5.27",
|
|
67
67
|
"vue-router": "4.6.4"
|
|
68
68
|
},
|
|
69
69
|
"engines": {
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"start:static": "serve playground/.output/public --ssl-cert ./.config/certificates/ssl.crt --ssl-key ./.config/certificates/ssl.key"
|
|
115
115
|
},
|
|
116
116
|
"type": "module",
|
|
117
|
-
"version": "20.
|
|
117
|
+
"version": "20.2.0"
|
|
118
118
|
}
|