@merkaly/nuxt 0.6.1 → 0.6.5
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.d.mts +11 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +86 -28
- package/dist/runtime/components/app.d.vue.ts +3 -3
- package/dist/runtime/components/app.vue +7 -0
- package/dist/runtime/components/app.vue.d.ts +3 -3
- package/dist/runtime/components/dropdown/DropdownIcon.d.vue.ts +2 -2
- package/dist/runtime/components/dropdown/DropdownIcon.vue +1 -1
- package/dist/runtime/components/dropdown/DropdownIcon.vue.d.ts +2 -2
- package/dist/runtime/components/format/FormatDate.d.vue.ts +2 -2
- package/dist/runtime/components/format/FormatDate.vue.d.ts +2 -2
- package/dist/runtime/components/format/FormatIcon.d.vue.ts +22 -13
- package/dist/runtime/components/format/FormatIcon.vue +6 -3
- package/dist/runtime/components/format/FormatIcon.vue.d.ts +22 -13
- package/dist/runtime/components/format/FormatMoney.d.vue.ts +2 -2
- package/dist/runtime/components/format/FormatMoney.vue +7 -7
- package/dist/runtime/components/format/FormatMoney.vue.d.ts +2 -2
- package/dist/runtime/components/format/FormatNumber.d.vue.ts +52 -0
- package/dist/runtime/components/format/FormatNumber.vue +38 -0
- package/dist/runtime/components/format/FormatNumber.vue.d.ts +52 -0
- package/dist/runtime/components/format/FormatText.d.vue.ts +9 -3
- package/dist/runtime/components/format/FormatText.vue +2 -2
- package/dist/runtime/components/format/FormatText.vue.d.ts +9 -3
- package/dist/runtime/components/input/InputDateRange.vue +6 -6
- package/dist/runtime/components/input/InputDropzone.vue +1 -1
- package/dist/runtime/components/input/InputMoney.d.vue.ts +1 -1
- package/dist/runtime/components/input/InputMoney.vue.d.ts +1 -1
- package/dist/runtime/components/input/InputSelect.d.vue.ts +10 -11
- package/dist/runtime/components/input/InputSelect.vue +19 -11
- package/dist/runtime/components/input/InputSelect.vue.d.ts +10 -11
- package/dist/runtime/components/table/TableDatagrid.d.vue.ts +1 -1
- package/dist/runtime/components/table/TableDatagrid.vue +1 -1
- package/dist/runtime/components/table/TableDatagrid.vue.d.ts +1 -1
- package/dist/runtime/composables/useCounterUp.d.ts +8 -0
- package/dist/runtime/composables/useCounterUp.js +30 -0
- package/dist/runtime/composables/useNotify.d.ts +19 -0
- package/dist/runtime/composables/useNotify.js +40 -0
- package/dist/runtime/middleware/auth.d.ts +1 -1
- package/dist/runtime/plugins/api.global.d.ts +1 -1
- package/dist/runtime/plugins/auth0.client.d.ts +2 -2
- package/dist/runtime/plugins/sentry.global.d.ts +1 -1
- package/dist/runtime/types/nuxt.d.ts +1 -1
- package/dist/types.d.mts +1 -1
- package/package.json +24 -21
- package/dist/runtime/composables/useMoney.d.ts +0 -7
- package/dist/runtime/composables/useMoney.js +0 -10
package/dist/types.d.mts
CHANGED
|
@@ -10,4 +10,4 @@ export { type ApiOptions, type HooksOptions, type ParamsOptions, type RefOptions
|
|
|
10
10
|
|
|
11
11
|
export { default } from './module.mjs'
|
|
12
12
|
|
|
13
|
-
export { type MerkalyModuleOptions } from './module.mjs'
|
|
13
|
+
export { type MerkalyI18nLocale, type MerkalyModuleOptions } from './module.mjs'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@merkaly/nuxt",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5",
|
|
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.
|
|
32
|
-
"@bootstrap-vue-next/nuxt": "^0.
|
|
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
|
+
"@sentry/nuxt": "^10.54.0",
|
|
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.
|
|
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
|
-
"
|
|
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.
|
|
69
|
+
"sass": "^1.100.0",
|
|
57
70
|
"typescript": "~5.9.3",
|
|
58
|
-
"v-money3": "^3.
|
|
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.
|
|
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
|
-
}
|