@merkaly/nuxt 0.2.3 → 0.2.4

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
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.0.0"
6
6
  },
7
- "version": "0.2.3",
7
+ "version": "0.2.4",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "3.6.1"
@@ -61,10 +61,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
61
61
  mode: keyof Intl.NumberFormatOptionsStyleRegistry;
62
62
  base: number;
63
63
  tag: string;
64
- value: number;
65
64
  currency: string;
66
65
  hideDecimal: boolean;
67
66
  locale: string;
67
+ value: number;
68
68
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
69
69
  declare const _default: typeof __VLS_export;
70
70
  export default _default;
@@ -61,10 +61,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
61
61
  mode: keyof Intl.NumberFormatOptionsStyleRegistry;
62
62
  base: number;
63
63
  tag: string;
64
- value: number;
65
64
  currency: string;
66
65
  hideDecimal: boolean;
67
66
  locale: string;
67
+ value: number;
68
68
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
69
69
  declare const _default: typeof __VLS_export;
70
70
  export default _default;
@@ -75,10 +75,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
75
75
  "onUpdate:modelValue"?: ((value: Numberish) => any) | undefined;
76
76
  }>, {
77
77
  prefix: string;
78
+ decimal: string;
78
79
  max: number;
79
80
  min: number;
80
81
  placeholder: string;
81
- decimal: string;
82
82
  precision: number;
83
83
  suffix: string;
84
84
  thousands: string;
@@ -75,10 +75,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
75
75
  "onUpdate:modelValue"?: ((value: Numberish) => any) | undefined;
76
76
  }>, {
77
77
  prefix: string;
78
+ decimal: string;
78
79
  max: number;
79
80
  min: number;
80
81
  placeholder: string;
81
- decimal: string;
82
82
  precision: number;
83
83
  suffix: string;
84
84
  thousands: string;
@@ -155,11 +155,13 @@ function toggleDetails(item) {
155
155
 
156
156
  <template v-for="(column, key) in $datagrid.columns" :key="key">
157
157
  <BTh :class="[column.class, column.thClass]">
158
- <span v-text="column.title ?? sentenceCase(key)" />
158
+ <slot :name="`head[${key}]`" v-bind="{ column, key }">
159
+ <span v-text="column.title ?? sentenceCase(key)" />
160
+ </slot>
159
161
  </BTh>
160
162
  </template>
161
163
 
162
- <BTh class="text-end px-3" />
164
+ <BTh v-if="hasActions" class="text-end px-3" />
163
165
  </BTr>
164
166
  </BThead>
165
167
 
@@ -206,9 +208,9 @@ function toggleDetails(item) {
206
208
  </BTd>
207
209
  </template>
208
210
 
209
- <BTd class="text-end px-3">
211
+ <BTd v-if="hasActions" class="text-end px-3">
210
212
  <DropdownIcon toggle-class="border border-secondary-subtle border-dashed text-body">
211
- <slot v-if="hasActions" :index="idx" :item="item" name="actions" />
213
+ <slot :index="idx" :item="item" name="actions" />
212
214
  </DropdownIcon>
213
215
  </BTd>
214
216
  </BTr>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@merkaly/nuxt",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/merkaly-io/nuxt.git"
@@ -28,7 +28,7 @@
28
28
  "dist"
29
29
  ],
30
30
  "dependencies": {
31
- "@auth0/auth0-spa-js": "^2.12.0",
31
+ "@auth0/auth0-spa-js": "^2.14.0",
32
32
  "@bootstrap-vue-next/nuxt": "^0.42.0",
33
33
  "@nuxt/devtools": "^3.1.0",
34
34
  "@nuxt/eslint": "1.13.0",
@@ -39,7 +39,7 @@
39
39
  "@nuxtjs/plausible": "^2.0.1",
40
40
  "@types/node": "latest",
41
41
  "@types/vue-select": "^3.16.8",
42
- "@vueuse/components": "^14.1.0",
42
+ "@vueuse/components": "^14.2.0",
43
43
  "@vueuse/core": "^14.2.0",
44
44
  "@vueuse/integrations": "^14.2.0",
45
45
  "@vueuse/nuxt": "^14.2.0",