atom-nuxt 1.0.142 → 1.0.144
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/dist/module.json
CHANGED
|
@@ -62,6 +62,11 @@ const props = defineProps({
|
|
|
62
62
|
type: String,
|
|
63
63
|
required: false
|
|
64
64
|
},
|
|
65
|
+
btnIcon: {
|
|
66
|
+
type: String,
|
|
67
|
+
required: false,
|
|
68
|
+
default: null
|
|
69
|
+
},
|
|
65
70
|
fullScreen: {
|
|
66
71
|
type: Boolean,
|
|
67
72
|
required: false,
|
|
@@ -81,12 +86,16 @@ const hasItem = computed(() => item.value && Object.keys(item.value).length > 0)
|
|
|
81
86
|
const buttonTitle = computed(() => {
|
|
82
87
|
return props.btnText ? props.btnText : props.action === "create" ? props.createTitle : props.action === "update" ? props.updateTitle : props.action === "delete" ? props.deleteTitle : "";
|
|
83
88
|
});
|
|
89
|
+
const buttonIcon = computed(() => {
|
|
90
|
+
return props.btnIcon ? props.btnIcon : props.action === "create" ? "mdi-plus" : props.action === "update" ? "mdi-pencil" : props.action === "delete" ? "mdi-delete" : "mdi-timer-sand";
|
|
91
|
+
});
|
|
84
92
|
const display = useDisplay();
|
|
85
93
|
const isLarge = computed(() => display.lgAndUp.value);
|
|
86
94
|
</script>
|
|
87
95
|
|
|
88
96
|
<template>
|
|
89
97
|
<v-dialog
|
|
98
|
+
attach="body"
|
|
90
99
|
:persistent="true"
|
|
91
100
|
:close-on-back="false"
|
|
92
101
|
v-model="dialogOpen"
|
|
@@ -152,7 +161,7 @@ const isLarge = computed(() => display.lgAndUp.value);
|
|
|
152
161
|
:loading="formPending"
|
|
153
162
|
>
|
|
154
163
|
<v-icon color="white" size="16" class="mr-2"
|
|
155
|
-
:icon="
|
|
164
|
+
:icon="buttonIcon"></v-icon>
|
|
156
165
|
{{ buttonTitle }}
|
|
157
166
|
</v-btn>
|
|
158
167
|
</v-card-actions>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "atom-nuxt",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.144",
|
|
4
4
|
"description": "My new Nuxt module",
|
|
5
5
|
"repository": "atomengine/atom-nuxt",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,32 +26,32 @@
|
|
|
26
26
|
"lint": "eslint ."
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@azure/msal-browser": "^4.
|
|
29
|
+
"@azure/msal-browser": "^4.13.1",
|
|
30
30
|
"@nuxt/image": "^1.10.0",
|
|
31
|
-
"@nuxt/kit": "^3.17.
|
|
32
|
-
"@nuxt/scripts": "^0.11.
|
|
33
|
-
"@vueuse/core": "^13.
|
|
34
|
-
"@vueuse/nuxt": "^13.
|
|
31
|
+
"@nuxt/kit": "^3.17.5",
|
|
32
|
+
"@nuxt/scripts": "^0.11.8",
|
|
33
|
+
"@vueuse/core": "^13.3.0",
|
|
34
|
+
"@vueuse/nuxt": "^13.3.0",
|
|
35
35
|
"luxon": "^3.6.1",
|
|
36
|
-
"query-string": "^9.1
|
|
37
|
-
"ts-luxon": "^6.
|
|
36
|
+
"query-string": "^9.2.1",
|
|
37
|
+
"ts-luxon": "^6.1.0",
|
|
38
38
|
"uuid": "^10.0.0",
|
|
39
|
-
"vuetify-nuxt-module": "^0.18.
|
|
39
|
+
"vuetify-nuxt-module": "^0.18.7"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@nuxt/devtools": "1.7.0",
|
|
43
|
-
"@nuxt/eslint-config": "^1.
|
|
43
|
+
"@nuxt/eslint-config": "^1.4.1",
|
|
44
44
|
"@nuxt/module-builder": "^1.0.1",
|
|
45
|
-
"@nuxt/schema": "^3.17.
|
|
46
|
-
"@nuxt/test-utils": "^3.
|
|
45
|
+
"@nuxt/schema": "^3.17.5",
|
|
46
|
+
"@nuxt/test-utils": "^3.19.1",
|
|
47
47
|
"@types/luxon": "^3.6.2",
|
|
48
|
-
"@types/node": "^22.15.
|
|
48
|
+
"@types/node": "^22.15.32",
|
|
49
49
|
"@types/uuid": "^10.0.0",
|
|
50
50
|
"changelogen": "^0.6.1",
|
|
51
|
-
"eslint": "^9.
|
|
52
|
-
"sass": "^1.
|
|
51
|
+
"eslint": "^9.29.0",
|
|
52
|
+
"sass": "^1.89.2",
|
|
53
53
|
"typescript": "^5.8.3",
|
|
54
54
|
"vue-tsc": "^2.2.10",
|
|
55
|
-
"vitest": "^3.
|
|
55
|
+
"vitest": "^3.2.3"
|
|
56
56
|
}
|
|
57
57
|
}
|