@merkaly/nuxt 0.6.1 → 0.6.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.
Files changed (45) hide show
  1. package/dist/module.d.mts +11 -1
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +86 -28
  4. package/dist/runtime/components/app.d.vue.ts +3 -3
  5. package/dist/runtime/components/app.vue +7 -0
  6. package/dist/runtime/components/app.vue.d.ts +3 -3
  7. package/dist/runtime/components/format/FormatDate.d.vue.ts +2 -2
  8. package/dist/runtime/components/format/FormatDate.vue.d.ts +2 -2
  9. package/dist/runtime/components/format/FormatIcon.d.vue.ts +22 -13
  10. package/dist/runtime/components/format/FormatIcon.vue +6 -3
  11. package/dist/runtime/components/format/FormatIcon.vue.d.ts +22 -13
  12. package/dist/runtime/components/format/FormatMoney.d.vue.ts +2 -2
  13. package/dist/runtime/components/format/FormatMoney.vue +7 -7
  14. package/dist/runtime/components/format/FormatMoney.vue.d.ts +2 -2
  15. package/dist/runtime/components/format/FormatNumber.d.vue.ts +52 -0
  16. package/dist/runtime/components/format/FormatNumber.vue +38 -0
  17. package/dist/runtime/components/format/FormatNumber.vue.d.ts +52 -0
  18. package/dist/runtime/components/format/FormatText.d.vue.ts +9 -3
  19. package/dist/runtime/components/format/FormatText.vue +2 -2
  20. package/dist/runtime/components/format/FormatText.vue.d.ts +9 -3
  21. package/dist/runtime/components/input/InputAddress.d.vue.ts +1 -1
  22. package/dist/runtime/components/input/InputAddress.vue.d.ts +1 -1
  23. package/dist/runtime/components/input/InputDateRange.vue +6 -6
  24. package/dist/runtime/components/input/InputDropzone.vue +1 -1
  25. package/dist/runtime/components/input/InputMoney.d.vue.ts +1 -1
  26. package/dist/runtime/components/input/InputMoney.vue.d.ts +1 -1
  27. package/dist/runtime/components/input/InputSelect.d.vue.ts +10 -11
  28. package/dist/runtime/components/input/InputSelect.vue +19 -11
  29. package/dist/runtime/components/input/InputSelect.vue.d.ts +10 -11
  30. package/dist/runtime/components/table/TableDatagrid.d.vue.ts +1 -1
  31. package/dist/runtime/components/table/TableDatagrid.vue +1 -1
  32. package/dist/runtime/components/table/TableDatagrid.vue.d.ts +1 -1
  33. package/dist/runtime/composables/useCounterUp.d.ts +8 -0
  34. package/dist/runtime/composables/useCounterUp.js +30 -0
  35. package/dist/runtime/composables/useNotify.d.ts +19 -0
  36. package/dist/runtime/composables/useNotify.js +40 -0
  37. package/dist/runtime/middleware/auth.d.ts +1 -1
  38. package/dist/runtime/plugins/api.global.d.ts +1 -1
  39. package/dist/runtime/plugins/auth0.client.d.ts +2 -2
  40. package/dist/runtime/plugins/sentry.global.d.ts +1 -1
  41. package/dist/runtime/types/nuxt.d.ts +1 -1
  42. package/dist/types.d.mts +1 -1
  43. package/package.json +24 -21
  44. package/dist/runtime/composables/useMoney.d.ts +0 -7
  45. package/dist/runtime/composables/useMoney.js +0 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@merkaly/nuxt",
3
- "version": "0.6.1",
3
+ "version": "0.6.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/merkaly-io/nuxt.git"
@@ -27,17 +27,28 @@
27
27
  "files": [
28
28
  "dist"
29
29
  ],
30
+ "scripts": {
31
+ "build": "nuxt-module-build build",
32
+ "build:stub": "nuxt-module-build build --stub",
33
+ "lint": "eslint .",
34
+ "prepack": "pnpm build",
35
+ "prepare": "nuxt-module-build prepare",
36
+ "test": "vitest run",
37
+ "test:types": "vue-tsc --noEmit",
38
+ "test:watch": "vitest watch"
39
+ },
30
40
  "dependencies": {
31
- "@auth0/auth0-spa-js": "^2.19.0",
32
- "@bootstrap-vue-next/nuxt": "^0.44.1",
41
+ "@auth0/auth0-spa-js": "^2.20.0",
42
+ "@bootstrap-vue-next/nuxt": "^0.45.3",
33
43
  "@nuxt/devtools": "^3.2.1",
34
44
  "@nuxt/eslint": "1.15.1",
35
45
  "@nuxt/eslint-config": "^1.15.1",
36
46
  "@nuxt/fonts": "0.14.0",
37
47
  "@nuxt/image": "^2.0.0",
38
48
  "@nuxt/kit": "^4.4.2",
49
+ "@nuxtjs/i18n": "^10.4.0",
39
50
  "@nuxtjs/plausible": "^3.0.1",
40
- "@sentry/nuxt": "^10.51.0",
51
+ "@sentry/nuxt": "^10.53.1",
41
52
  "@types/node": "latest",
42
53
  "@types/vue-select": "^3.16.8",
43
54
  "@vueuse/components": "^14.3.0",
@@ -45,17 +56,19 @@
45
56
  "@vueuse/integrations": "^14.3.0",
46
57
  "@vueuse/nuxt": "^14.3.0",
47
58
  "bootstrap": "^5.3.8",
48
- "bootstrap-vue-next": "^0.44.1",
59
+ "bootstrap-vue-next": "^0.45.3",
49
60
  "change-case": "^5",
50
61
  "class-transformer": "^0.5.1",
51
62
  "class-validator": "^0.15.1",
52
63
  "eslint": "^9.39.1",
53
64
  "filesize": "^11.0.2",
54
- "nuxt": "^4.4.2",
65
+ "gsap": "^3.15.0",
66
+ "notivue": "^2.4.5",
67
+ "nuxt": "^4.4.6",
55
68
  "reflect-metadata": "^0.2.2",
56
- "sass": "^1.99.0",
69
+ "sass": "^1.100.0",
57
70
  "typescript": "~5.9.3",
58
- "v-money3": "^3.24.1",
71
+ "v-money3": "^3.26.0",
59
72
  "vite-svg-loader": "^5.1.0",
60
73
  "vue": "^3.5.22",
61
74
  "vue-router": "^5.0.0",
@@ -68,23 +81,13 @@
68
81
  "changelogen": "^0.6.2",
69
82
  "eslint-plugin-storybook": "^10.1.11",
70
83
  "vitest": "^4.1.0",
71
- "vue-tsc": "^3.2.1"
84
+ "vue-tsc": "^3.3.1"
72
85
  },
73
86
  "optionalDependencies": {
74
87
  "defu": "^6.1.5"
75
88
  },
89
+ "packageManager": "pnpm@10.28.2",
76
90
  "engines": {
77
91
  "node": ">=24"
78
- },
79
- "scripts": {
80
- "build": "nuxt-module-build build",
81
- "build:stub": "nuxt-module-build build --stub",
82
- "dev": "pnpm dev:prepare && cd playground && pnpm storybook",
83
- "dev:build": "nuxi build playground",
84
- "dev:prepare": "pnpm build:stub && nuxi prepare playground",
85
- "lint": "eslint .",
86
- "test": "vitest run",
87
- "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
88
- "test:watch": "vitest watch"
89
92
  }
90
- }
93
+ }
@@ -1,7 +0,0 @@
1
- import type { MaybeRefOrGetter } from 'vue';
2
- import type { FormatMoneyOptions } from '../utils/formatMoney.js';
3
- type UseMoneyOptions = {
4
- [K in keyof FormatMoneyOptions]: MaybeRefOrGetter<FormatMoneyOptions[K]>;
5
- };
6
- export declare function useMoney(value: MaybeRefOrGetter<number>, options?: Partial<UseMoneyOptions>): import("vue").ComputedRef<string>;
7
- export {};
@@ -1,10 +0,0 @@
1
- import { computed, toValue } from "vue";
2
- import { formatMoney } from "../utils/formatMoney.js";
3
- export function useMoney(value, options = {}) {
4
- return computed(() => formatMoney(toValue(value), {
5
- base: toValue(options.base),
6
- currency: toValue(options.currency),
7
- locale: toValue(options.locale),
8
- mode: toValue(options.mode)
9
- }));
10
- }