@mevbg/nuxt-kit 0.1.25 → 0.1.27
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 +1 -1
- package/dist/module.mjs +0 -4
- package/dist/runtime/components/ConditionalClientOnly.vue.d.ts +1 -1
- package/dist/runtime/composables/index.d.ts +0 -1
- package/dist/runtime/composables/index.js +0 -1
- package/dist/runtime/plugins/notification-system.plugin.d.ts +46 -46
- package/package.json +6 -10
- package/dist/runtime/composables/useClientInfoClasses.d.ts +0 -3
- package/dist/runtime/composables/useClientInfoClasses.js +0 -16
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -30,10 +30,6 @@ const module = defineNuxtModule({
|
|
|
30
30
|
addPlugin(resolver.resolve("./runtime/plugins/notification-system.plugin"));
|
|
31
31
|
addPlugin(resolver.resolve("./runtime/plugins/tooltip-system.plugin"));
|
|
32
32
|
addImports([
|
|
33
|
-
{
|
|
34
|
-
name: "useClientInfoClasses",
|
|
35
|
-
from: resolver.resolve("./runtime/composables/useClientInfoClasses")
|
|
36
|
-
},
|
|
37
33
|
{
|
|
38
34
|
name: "useErrorHandler",
|
|
39
35
|
from: resolver.resolve("./runtime/composables/useErrorHandler")
|
|
@@ -7,7 +7,7 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
} & {
|
|
8
8
|
default?: (props: typeof __VLS_9) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props,
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
11
|
condition: boolean;
|
|
12
12
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -3,12 +3,12 @@ declare const _default: import("#app").Plugin<{
|
|
|
3
3
|
toast: {
|
|
4
4
|
(content: import("vue3-toastify").Content, options?: import("vue3-toastify").ToastOptions): import("vue3-toastify").Id;
|
|
5
5
|
info(content: import("vue3-toastify").Content, options?: {
|
|
6
|
-
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
7
|
-
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
8
|
-
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
9
6
|
data?: {} | undefined;
|
|
10
7
|
icon?: import("vue3-toastify").IconType | undefined;
|
|
11
8
|
progress?: number | undefined;
|
|
9
|
+
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
10
|
+
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
11
|
+
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
12
12
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
13
13
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
14
14
|
content?: import("vue3-toastify").Content;
|
|
@@ -38,12 +38,12 @@ declare const _default: import("#app").Plugin<{
|
|
|
38
38
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
39
39
|
}): import("vue3-toastify").Id;
|
|
40
40
|
error(content: import("vue3-toastify").Content, options?: {
|
|
41
|
-
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
42
|
-
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
43
|
-
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
44
41
|
data?: {} | undefined;
|
|
45
42
|
icon?: import("vue3-toastify").IconType | undefined;
|
|
46
43
|
progress?: number | undefined;
|
|
44
|
+
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
45
|
+
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
46
|
+
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
47
47
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
48
48
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
49
49
|
content?: import("vue3-toastify").Content;
|
|
@@ -73,12 +73,12 @@ declare const _default: import("#app").Plugin<{
|
|
|
73
73
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
74
74
|
}): import("vue3-toastify").Id;
|
|
75
75
|
warning(content: import("vue3-toastify").Content, options?: {
|
|
76
|
-
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
77
|
-
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
78
|
-
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
79
76
|
data?: {} | undefined;
|
|
80
77
|
icon?: import("vue3-toastify").IconType | undefined;
|
|
81
78
|
progress?: number | undefined;
|
|
79
|
+
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
80
|
+
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
81
|
+
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
82
82
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
83
83
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
84
84
|
content?: import("vue3-toastify").Content;
|
|
@@ -108,12 +108,12 @@ declare const _default: import("#app").Plugin<{
|
|
|
108
108
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
109
109
|
}): import("vue3-toastify").Id;
|
|
110
110
|
warn: (content: import("vue3-toastify").Content, options?: {
|
|
111
|
-
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
112
|
-
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
113
|
-
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
114
111
|
data?: {} | undefined;
|
|
115
112
|
icon?: import("vue3-toastify").IconType | undefined;
|
|
116
113
|
progress?: number | undefined;
|
|
114
|
+
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
115
|
+
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
116
|
+
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
117
117
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
118
118
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
119
119
|
content?: import("vue3-toastify").Content;
|
|
@@ -143,12 +143,12 @@ declare const _default: import("#app").Plugin<{
|
|
|
143
143
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
144
144
|
}) => import("vue3-toastify").Id;
|
|
145
145
|
success(content: import("vue3-toastify").Content, options?: {
|
|
146
|
-
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
147
|
-
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
148
|
-
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
149
146
|
data?: {} | undefined;
|
|
150
147
|
icon?: import("vue3-toastify").IconType | undefined;
|
|
151
148
|
progress?: number | undefined;
|
|
149
|
+
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
150
|
+
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
151
|
+
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
152
152
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
153
153
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
154
154
|
content?: import("vue3-toastify").Content;
|
|
@@ -178,13 +178,13 @@ declare const _default: import("#app").Plugin<{
|
|
|
178
178
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
179
179
|
}): import("vue3-toastify").Id;
|
|
180
180
|
loading(content: import("vue3-toastify").Content, options?: {
|
|
181
|
-
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
182
|
-
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
183
|
-
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
184
181
|
type?: import("vue3-toastify").ToastType | undefined;
|
|
185
182
|
data?: {} | undefined;
|
|
186
183
|
icon?: import("vue3-toastify").IconType | undefined;
|
|
187
184
|
progress?: number | undefined;
|
|
185
|
+
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
186
|
+
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
187
|
+
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
188
188
|
disabledEnterTransition?: boolean | undefined;
|
|
189
189
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
190
190
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
@@ -214,12 +214,12 @@ declare const _default: import("#app").Plugin<{
|
|
|
214
214
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
215
215
|
}): import("vue3-toastify").Id;
|
|
216
216
|
dark(content: import("vue3-toastify").Content, options?: {
|
|
217
|
-
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
218
|
-
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
219
217
|
type?: import("vue3-toastify").ToastType | undefined;
|
|
220
218
|
data?: {} | undefined;
|
|
221
219
|
icon?: import("vue3-toastify").IconType | undefined;
|
|
222
220
|
progress?: number | undefined;
|
|
221
|
+
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
222
|
+
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
223
223
|
disabledEnterTransition?: boolean | undefined;
|
|
224
224
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
225
225
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
@@ -255,13 +255,13 @@ declare const _default: import("#app").Plugin<{
|
|
|
255
255
|
update(toastId: import("vue3-toastify").Id, options?: import("vue3-toastify").UpdateOptions): void;
|
|
256
256
|
done(id: import("vue3-toastify").Id): void;
|
|
257
257
|
promise: <T = unknown>(promise: Promise<T> | (() => Promise<T>), { pending, error, success }: import("vue3-toastify").ToastPromiseParams<T>, options?: {
|
|
258
|
-
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
259
|
-
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
260
|
-
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
261
258
|
type?: import("vue3-toastify").ToastType | undefined;
|
|
262
259
|
data?: {} | undefined;
|
|
263
260
|
icon?: import("vue3-toastify").IconType | undefined;
|
|
264
261
|
progress?: number | undefined;
|
|
262
|
+
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
263
|
+
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
264
|
+
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
265
265
|
disabledEnterTransition?: boolean | undefined;
|
|
266
266
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
267
267
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
@@ -323,12 +323,12 @@ declare const _default: import("#app").Plugin<{
|
|
|
323
323
|
toast: {
|
|
324
324
|
(content: import("vue3-toastify").Content, options?: import("vue3-toastify").ToastOptions): import("vue3-toastify").Id;
|
|
325
325
|
info(content: import("vue3-toastify").Content, options?: {
|
|
326
|
-
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
327
|
-
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
328
|
-
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
329
326
|
data?: {} | undefined;
|
|
330
327
|
icon?: import("vue3-toastify").IconType | undefined;
|
|
331
328
|
progress?: number | undefined;
|
|
329
|
+
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
330
|
+
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
331
|
+
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
332
332
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
333
333
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
334
334
|
content?: import("vue3-toastify").Content;
|
|
@@ -358,12 +358,12 @@ declare const _default: import("#app").Plugin<{
|
|
|
358
358
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
359
359
|
}): import("vue3-toastify").Id;
|
|
360
360
|
error(content: import("vue3-toastify").Content, options?: {
|
|
361
|
-
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
362
|
-
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
363
|
-
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
364
361
|
data?: {} | undefined;
|
|
365
362
|
icon?: import("vue3-toastify").IconType | undefined;
|
|
366
363
|
progress?: number | undefined;
|
|
364
|
+
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
365
|
+
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
366
|
+
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
367
367
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
368
368
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
369
369
|
content?: import("vue3-toastify").Content;
|
|
@@ -393,12 +393,12 @@ declare const _default: import("#app").Plugin<{
|
|
|
393
393
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
394
394
|
}): import("vue3-toastify").Id;
|
|
395
395
|
warning(content: import("vue3-toastify").Content, options?: {
|
|
396
|
-
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
397
|
-
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
398
|
-
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
399
396
|
data?: {} | undefined;
|
|
400
397
|
icon?: import("vue3-toastify").IconType | undefined;
|
|
401
398
|
progress?: number | undefined;
|
|
399
|
+
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
400
|
+
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
401
|
+
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
402
402
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
403
403
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
404
404
|
content?: import("vue3-toastify").Content;
|
|
@@ -428,12 +428,12 @@ declare const _default: import("#app").Plugin<{
|
|
|
428
428
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
429
429
|
}): import("vue3-toastify").Id;
|
|
430
430
|
warn: (content: import("vue3-toastify").Content, options?: {
|
|
431
|
-
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
432
|
-
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
433
|
-
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
434
431
|
data?: {} | undefined;
|
|
435
432
|
icon?: import("vue3-toastify").IconType | undefined;
|
|
436
433
|
progress?: number | undefined;
|
|
434
|
+
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
435
|
+
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
436
|
+
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
437
437
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
438
438
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
439
439
|
content?: import("vue3-toastify").Content;
|
|
@@ -463,12 +463,12 @@ declare const _default: import("#app").Plugin<{
|
|
|
463
463
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
464
464
|
}) => import("vue3-toastify").Id;
|
|
465
465
|
success(content: import("vue3-toastify").Content, options?: {
|
|
466
|
-
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
467
|
-
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
468
|
-
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
469
466
|
data?: {} | undefined;
|
|
470
467
|
icon?: import("vue3-toastify").IconType | undefined;
|
|
471
468
|
progress?: number | undefined;
|
|
469
|
+
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
470
|
+
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
471
|
+
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
472
472
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
473
473
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
474
474
|
content?: import("vue3-toastify").Content;
|
|
@@ -498,13 +498,13 @@ declare const _default: import("#app").Plugin<{
|
|
|
498
498
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
499
499
|
}): import("vue3-toastify").Id;
|
|
500
500
|
loading(content: import("vue3-toastify").Content, options?: {
|
|
501
|
-
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
502
|
-
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
503
|
-
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
504
501
|
type?: import("vue3-toastify").ToastType | undefined;
|
|
505
502
|
data?: {} | undefined;
|
|
506
503
|
icon?: import("vue3-toastify").IconType | undefined;
|
|
507
504
|
progress?: number | undefined;
|
|
505
|
+
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
506
|
+
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
507
|
+
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
508
508
|
disabledEnterTransition?: boolean | undefined;
|
|
509
509
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
510
510
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
@@ -534,12 +534,12 @@ declare const _default: import("#app").Plugin<{
|
|
|
534
534
|
useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
|
|
535
535
|
}): import("vue3-toastify").Id;
|
|
536
536
|
dark(content: import("vue3-toastify").Content, options?: {
|
|
537
|
-
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
538
|
-
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
539
537
|
type?: import("vue3-toastify").ToastType | undefined;
|
|
540
538
|
data?: {} | undefined;
|
|
541
539
|
icon?: import("vue3-toastify").IconType | undefined;
|
|
542
540
|
progress?: number | undefined;
|
|
541
|
+
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
542
|
+
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
543
543
|
disabledEnterTransition?: boolean | undefined;
|
|
544
544
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
545
545
|
updateId?: import("vue3-toastify").Id | undefined;
|
|
@@ -575,13 +575,13 @@ declare const _default: import("#app").Plugin<{
|
|
|
575
575
|
update(toastId: import("vue3-toastify").Id, options?: import("vue3-toastify").UpdateOptions): void;
|
|
576
576
|
done(id: import("vue3-toastify").Id): void;
|
|
577
577
|
promise: <T = unknown>(promise: Promise<T> | (() => Promise<T>), { pending, error, success }: import("vue3-toastify").ToastPromiseParams<T>, options?: {
|
|
578
|
-
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
579
|
-
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
580
|
-
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
581
578
|
type?: import("vue3-toastify").ToastType | undefined;
|
|
582
579
|
data?: {} | undefined;
|
|
583
580
|
icon?: import("vue3-toastify").IconType | undefined;
|
|
584
581
|
progress?: number | undefined;
|
|
582
|
+
transition?: (import("vue3-toastify").ToastTransition | import("vue3-toastify").CSSTransitionProps) | undefined;
|
|
583
|
+
position?: import("vue3-toastify").ToastPosition | undefined;
|
|
584
|
+
theme?: import("vue3-toastify").ToastTheme | undefined;
|
|
585
585
|
disabledEnterTransition?: boolean | undefined;
|
|
586
586
|
toastId?: import("vue3-toastify").Id | undefined;
|
|
587
587
|
updateId?: import("vue3-toastify").Id | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mevbg/nuxt-kit",
|
|
3
3
|
"title": "Mev’s Nuxt Kit",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.27",
|
|
5
5
|
"description": "Mev’s personal Nuxt kit module.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"nuxt kit",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"mevbg",
|
|
12
12
|
"personal"
|
|
13
13
|
],
|
|
14
|
-
"homepage": "https://
|
|
14
|
+
"homepage": "https://nuxt-kit.mev.bg",
|
|
15
15
|
"bugs": {
|
|
16
16
|
"url": "https://github.com/mevbg/nuxt-kit/issues"
|
|
17
17
|
},
|
|
@@ -51,10 +51,6 @@
|
|
|
51
51
|
"./useNotificationSystem": {
|
|
52
52
|
"types": "./dist/runtime/composables/useNotificationSystem.d.ts",
|
|
53
53
|
"import": "./dist/runtime/composables/useNotificationSystem.js"
|
|
54
|
-
},
|
|
55
|
-
"./useClientInfoClasses": {
|
|
56
|
-
"types": "./dist/runtime/composables/useClientInfoClasses.d.ts",
|
|
57
|
-
"import": "./dist/runtime/composables/useClientInfoClasses.js"
|
|
58
54
|
}
|
|
59
55
|
},
|
|
60
56
|
"files": [
|
|
@@ -78,16 +74,16 @@
|
|
|
78
74
|
},
|
|
79
75
|
"dependencies": {
|
|
80
76
|
"@mevbg/design-essentials-vendor": "^2.0.4",
|
|
81
|
-
"@mevbg/nuxt-color-scheme": "^1.0.
|
|
77
|
+
"@mevbg/nuxt-color-scheme": "^1.0.7",
|
|
82
78
|
"@nuxt/kit": "^4.0.3",
|
|
83
|
-
"@vueuse/nuxt": "^13.
|
|
79
|
+
"@vueuse/nuxt": "^13.7.0",
|
|
84
80
|
"floating-vue": "^5.2.2",
|
|
85
81
|
"mobile-device-detect": "^0.4.3",
|
|
86
82
|
"vue3-toastify": "^0.2.8"
|
|
87
83
|
},
|
|
88
84
|
"devDependencies": {
|
|
89
85
|
"@nuxt/devtools": "^2.6.2",
|
|
90
|
-
"@nuxt/eslint-config": "^1.
|
|
86
|
+
"@nuxt/eslint-config": "^1.9.0",
|
|
91
87
|
"@nuxt/module-builder": "^1.0.2",
|
|
92
88
|
"@nuxt/schema": "^4.0.3",
|
|
93
89
|
"@types/node": "latest",
|
|
@@ -98,6 +94,6 @@
|
|
|
98
94
|
"nuxt": "^4.0.3",
|
|
99
95
|
"prettier-plugin-organize-imports": "^4.2.0",
|
|
100
96
|
"typescript": "~5.9.2",
|
|
101
|
-
"vue-tsc": "^3.0.
|
|
97
|
+
"vue-tsc": "^3.0.6"
|
|
102
98
|
}
|
|
103
99
|
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as clientInfo from "mobile-device-detect";
|
|
2
|
-
import { ref } from "vue";
|
|
3
|
-
export function useClientInfoClasses() {
|
|
4
|
-
const data = ref({});
|
|
5
|
-
const setClientInfoClasses = async () => {
|
|
6
|
-
const { default: defaultInfo, deviceDetect, ...clientData } = clientInfo;
|
|
7
|
-
data.value = clientData;
|
|
8
|
-
const classes = Object.keys(clientData).filter(
|
|
9
|
-
(key) => typeof clientData[key] === "boolean" && clientData[key]
|
|
10
|
-
);
|
|
11
|
-
if (classes.length > 0) {
|
|
12
|
-
window.document.documentElement.classList.add(...classes);
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
return { setClientInfoClasses };
|
|
16
|
-
}
|