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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atomengine/atom-nuxt",
3
3
  "configKey": "atomNuxt",
4
- "version": "1.0.142",
4
+ "version": "1.0.144",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
7
7
  "unbuild": "3.5.0"
@@ -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="action === 'create' ? 'mdi-plus' : (action === 'update' ? 'mdi-pencil' : (action === 'delete' ? 'mdi-delete' : 'mdi-timer-sand'))"></v-icon>
164
+ :icon="buttonIcon"></v-icon>
156
165
  {{ buttonTitle }}
157
166
  </v-btn>
158
167
  </v-card-actions>
@@ -14,6 +14,7 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
14
14
  updateTitle: string;
15
15
  deleteTitle: string;
16
16
  saveAction: Function;
17
+ btnIcon: string;
17
18
  fullScreen: boolean;
18
19
  originalItem: Record<string, any>;
19
20
  btnText?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atom-nuxt",
3
- "version": "1.0.142",
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.12.0",
29
+ "@azure/msal-browser": "^4.13.1",
30
30
  "@nuxt/image": "^1.10.0",
31
- "@nuxt/kit": "^3.17.2",
32
- "@nuxt/scripts": "^0.11.6",
33
- "@vueuse/core": "^13.1.0",
34
- "@vueuse/nuxt": "^13.1.0",
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.2",
37
- "ts-luxon": "^6.0.0",
36
+ "query-string": "^9.2.1",
37
+ "ts-luxon": "^6.1.0",
38
38
  "uuid": "^10.0.0",
39
- "vuetify-nuxt-module": "^0.18.6"
39
+ "vuetify-nuxt-module": "^0.18.7"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@nuxt/devtools": "1.7.0",
43
- "@nuxt/eslint-config": "^1.3.1",
43
+ "@nuxt/eslint-config": "^1.4.1",
44
44
  "@nuxt/module-builder": "^1.0.1",
45
- "@nuxt/schema": "^3.17.2",
46
- "@nuxt/test-utils": "^3.18.0",
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.17",
48
+ "@types/node": "^22.15.32",
49
49
  "@types/uuid": "^10.0.0",
50
50
  "changelogen": "^0.6.1",
51
- "eslint": "^9.26.0",
52
- "sass": "^1.88.0",
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.1.3"
55
+ "vitest": "^3.2.3"
56
56
  }
57
57
  }