@hostlink/nuxt-light 1.52.0 → 1.52.1
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 +5 -2
- package/dist/runtime/components/l-add-btn.d.vue.ts +2 -2
- package/dist/runtime/components/l-add-btn.vue.d.ts +2 -2
- package/dist/runtime/components/l-customizer.d.vue.ts +4 -4
- package/dist/runtime/components/l-customizer.vue.d.ts +4 -4
- package/dist/runtime/components/l-date-picker.d.vue.ts +1 -1
- package/dist/runtime/components/l-date-picker.vue.d.ts +1 -1
- package/dist/runtime/components/l-editor.d.vue.ts +1 -1
- package/dist/runtime/components/l-editor.vue.d.ts +1 -1
- package/dist/runtime/components/l-form-dialog.d.vue.ts +2 -2
- package/dist/runtime/components/l-form-dialog.vue.d.ts +2 -2
- package/dist/runtime/components/l-time-picker.d.vue.ts +1 -1
- package/dist/runtime/components/l-time-picker.vue.d.ts +1 -1
- package/dist/runtime/composables/useLight.d.ts +8 -8
- package/dist/runtime/plugin.js +3 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -305,7 +305,10 @@ const module = defineNuxtModule({
|
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
307
|
},
|
|
308
|
-
plugins: ["Dialog", "Loading", "LoadingBar", "Notify", "AppFullscreen"]
|
|
308
|
+
plugins: ["Dialog", "Loading", "LoadingBar", "Notify", "AppFullscreen"],
|
|
309
|
+
extras: {
|
|
310
|
+
fontIcons: ["material-symbols-outlined", "material-icons-outlined"]
|
|
311
|
+
}
|
|
309
312
|
}
|
|
310
313
|
}
|
|
311
314
|
},
|
|
@@ -351,7 +354,7 @@ const module = defineNuxtModule({
|
|
|
351
354
|
nuxt.options.app.head.link = nuxt.options.app.head.link || [];
|
|
352
355
|
nuxt.options.app.head.link.push({
|
|
353
356
|
rel: "stylesheet",
|
|
354
|
-
href: "https://fonts.googleapis.com/css2?family=Noto+Sans&family=Noto+Sans+HK&family=Noto+Sans+TC
|
|
357
|
+
href: "https://fonts.googleapis.com/css2?family=Noto+Sans&family=Noto+Sans+HK&family=Noto+Sans+TC"
|
|
355
358
|
});
|
|
356
359
|
await addComponentsDir({
|
|
357
360
|
path: resolver.resolve("./runtime/components")
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
label: string;
|
|
3
|
-
color?: string | undefined;
|
|
4
3
|
to?: string | undefined;
|
|
4
|
+
color?: string | undefined;
|
|
5
5
|
$props: {
|
|
6
6
|
readonly label?: string | undefined;
|
|
7
|
-
readonly color?: string | undefined;
|
|
8
7
|
readonly to?: string | undefined;
|
|
8
|
+
readonly color?: string | undefined;
|
|
9
9
|
};
|
|
10
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
export default _default;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
label: string;
|
|
3
|
-
color?: string | undefined;
|
|
4
3
|
to?: string | undefined;
|
|
4
|
+
color?: string | undefined;
|
|
5
5
|
$props: {
|
|
6
6
|
readonly label?: string | undefined;
|
|
7
|
-
readonly color?: string | undefined;
|
|
8
7
|
readonly to?: string | undefined;
|
|
8
|
+
readonly color?: string | undefined;
|
|
9
9
|
};
|
|
10
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
export default _default;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
$emit: (event: "update:theme" | "update:menuOverlayHeader" | "update:dense" | "update:color" | "update:miniState" | "update:footer", ...args: any[]) => void;
|
|
3
|
-
time: string;
|
|
4
3
|
color: string;
|
|
4
|
+
time: string;
|
|
5
5
|
theme: string;
|
|
6
6
|
dense: boolean;
|
|
7
|
-
footer: boolean;
|
|
8
7
|
miniState: boolean;
|
|
8
|
+
footer: boolean;
|
|
9
9
|
menuOverlayHeader: boolean;
|
|
10
10
|
$props: {
|
|
11
|
-
readonly time?: string | undefined;
|
|
12
11
|
readonly color?: string | undefined;
|
|
12
|
+
readonly time?: string | undefined;
|
|
13
13
|
readonly theme?: string | undefined;
|
|
14
14
|
readonly dense?: boolean | undefined;
|
|
15
|
-
readonly footer?: boolean | undefined;
|
|
16
15
|
readonly miniState?: boolean | undefined;
|
|
16
|
+
readonly footer?: boolean | undefined;
|
|
17
17
|
readonly menuOverlayHeader?: boolean | undefined;
|
|
18
18
|
};
|
|
19
19
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
$emit: (event: "update:theme" | "update:menuOverlayHeader" | "update:dense" | "update:color" | "update:miniState" | "update:footer", ...args: any[]) => void;
|
|
3
|
-
time: string;
|
|
4
3
|
color: string;
|
|
4
|
+
time: string;
|
|
5
5
|
theme: string;
|
|
6
6
|
dense: boolean;
|
|
7
|
-
footer: boolean;
|
|
8
7
|
miniState: boolean;
|
|
8
|
+
footer: boolean;
|
|
9
9
|
menuOverlayHeader: boolean;
|
|
10
10
|
$props: {
|
|
11
|
-
readonly time?: string | undefined;
|
|
12
11
|
readonly color?: string | undefined;
|
|
12
|
+
readonly time?: string | undefined;
|
|
13
13
|
readonly theme?: string | undefined;
|
|
14
14
|
readonly dense?: boolean | undefined;
|
|
15
|
-
readonly footer?: boolean | undefined;
|
|
16
15
|
readonly miniState?: boolean | undefined;
|
|
16
|
+
readonly footer?: boolean | undefined;
|
|
17
17
|
readonly menuOverlayHeader?: boolean | undefined;
|
|
18
18
|
};
|
|
19
19
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -13,11 +13,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
|
-
disable: boolean;
|
|
17
16
|
dark: boolean | null;
|
|
18
17
|
rounded: boolean;
|
|
19
18
|
square: boolean;
|
|
20
19
|
dense: boolean;
|
|
20
|
+
disable: boolean;
|
|
21
21
|
outlined: boolean;
|
|
22
22
|
filled: boolean;
|
|
23
23
|
stackLabel: boolean;
|
|
@@ -13,11 +13,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
|
-
disable: boolean;
|
|
17
16
|
dark: boolean | null;
|
|
18
17
|
rounded: boolean;
|
|
19
18
|
square: boolean;
|
|
20
19
|
dense: boolean;
|
|
20
|
+
disable: boolean;
|
|
21
21
|
outlined: boolean;
|
|
22
22
|
filled: boolean;
|
|
23
23
|
stackLabel: boolean;
|
|
@@ -6,9 +6,9 @@ declare const _default: import("vue").DefineComponent<LEditorProps, {}, {}, {},
|
|
|
6
6
|
}, string, import("vue").PublicProps, Readonly<LEditorProps> & Readonly<{
|
|
7
7
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
|
-
modelValue: string;
|
|
10
9
|
dense: boolean;
|
|
11
10
|
placeholder: string;
|
|
11
|
+
modelValue: string;
|
|
12
12
|
fonts: any | undefined;
|
|
13
13
|
toolbar: readonly any[];
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -6,9 +6,9 @@ declare const _default: import("vue").DefineComponent<LEditorProps, {}, {}, {},
|
|
|
6
6
|
}, string, import("vue").PublicProps, Readonly<LEditorProps> & Readonly<{
|
|
7
7
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
|
-
modelValue: string;
|
|
10
9
|
dense: boolean;
|
|
11
10
|
placeholder: string;
|
|
11
|
+
modelValue: string;
|
|
12
12
|
fonts: any | undefined;
|
|
13
13
|
toolbar: readonly any[];
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -5,15 +5,15 @@ type __VLS_WithSlots<T, S> = T & (new () => {
|
|
|
5
5
|
});
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
7
7
|
$emit: (event: "submit", ...args: any[]) => void;
|
|
8
|
-
value: Record<string, any>;
|
|
9
8
|
cancel: Function;
|
|
9
|
+
value: Record<string, any>;
|
|
10
10
|
width: string;
|
|
11
11
|
title: string;
|
|
12
12
|
save: Function;
|
|
13
13
|
showNotification: boolean;
|
|
14
14
|
$props: {
|
|
15
|
-
readonly value?: Record<string, any> | undefined;
|
|
16
15
|
readonly cancel?: Function | undefined;
|
|
16
|
+
readonly value?: Record<string, any> | undefined;
|
|
17
17
|
readonly width?: string | undefined;
|
|
18
18
|
readonly title?: string | undefined;
|
|
19
19
|
readonly save?: Function | undefined;
|
|
@@ -5,15 +5,15 @@ type __VLS_WithSlots<T, S> = T & (new () => {
|
|
|
5
5
|
});
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
7
7
|
$emit: (event: "submit", ...args: any[]) => void;
|
|
8
|
-
value: Record<string, any>;
|
|
9
8
|
cancel: Function;
|
|
9
|
+
value: Record<string, any>;
|
|
10
10
|
width: string;
|
|
11
11
|
title: string;
|
|
12
12
|
save: Function;
|
|
13
13
|
showNotification: boolean;
|
|
14
14
|
$props: {
|
|
15
|
-
readonly value?: Record<string, any> | undefined;
|
|
16
15
|
readonly cancel?: Function | undefined;
|
|
16
|
+
readonly value?: Record<string, any> | undefined;
|
|
17
17
|
readonly width?: string | undefined;
|
|
18
18
|
readonly title?: string | undefined;
|
|
19
19
|
readonly save?: Function | undefined;
|
|
@@ -23,8 +23,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
23
23
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
24
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
|
-
required: boolean;
|
|
27
26
|
format24h: boolean;
|
|
27
|
+
required: boolean;
|
|
28
28
|
mask: string;
|
|
29
29
|
hideBottomSpace: boolean;
|
|
30
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -23,8 +23,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
23
23
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
24
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
|
-
required: boolean;
|
|
27
26
|
format24h: boolean;
|
|
27
|
+
required: boolean;
|
|
28
28
|
mask: string;
|
|
29
29
|
hideBottomSpace: boolean;
|
|
30
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -224,8 +224,6 @@ declare const light: {
|
|
|
224
224
|
isoName: string;
|
|
225
225
|
nativeName: string;
|
|
226
226
|
label: {
|
|
227
|
-
create: string;
|
|
228
|
-
set: string;
|
|
229
227
|
cancel: string;
|
|
230
228
|
close: string;
|
|
231
229
|
reset: string;
|
|
@@ -233,9 +231,11 @@ declare const light: {
|
|
|
233
231
|
filter: string;
|
|
234
232
|
update: string;
|
|
235
233
|
remove: string;
|
|
234
|
+
set: string;
|
|
236
235
|
clear: string;
|
|
237
236
|
ok: string;
|
|
238
237
|
search: string;
|
|
238
|
+
create: string;
|
|
239
239
|
refresh: string;
|
|
240
240
|
expand: (label?: string | undefined) => string;
|
|
241
241
|
collapse: (label?: string | undefined) => string;
|
|
@@ -319,9 +319,9 @@ declare const light: {
|
|
|
319
319
|
name: string;
|
|
320
320
|
type: {
|
|
321
321
|
info: string;
|
|
322
|
-
positive: string;
|
|
323
|
-
negative: string;
|
|
324
322
|
warning: string;
|
|
323
|
+
negative: string;
|
|
324
|
+
positive: string;
|
|
325
325
|
};
|
|
326
326
|
arrow: {
|
|
327
327
|
left: string;
|
|
@@ -821,8 +821,6 @@ declare const _default: () => {
|
|
|
821
821
|
isoName: string;
|
|
822
822
|
nativeName: string;
|
|
823
823
|
label: {
|
|
824
|
-
create: string;
|
|
825
|
-
set: string;
|
|
826
824
|
cancel: string;
|
|
827
825
|
close: string;
|
|
828
826
|
reset: string;
|
|
@@ -830,9 +828,11 @@ declare const _default: () => {
|
|
|
830
828
|
filter: string;
|
|
831
829
|
update: string;
|
|
832
830
|
remove: string;
|
|
831
|
+
set: string;
|
|
833
832
|
clear: string;
|
|
834
833
|
ok: string;
|
|
835
834
|
search: string;
|
|
835
|
+
create: string;
|
|
836
836
|
refresh: string;
|
|
837
837
|
expand: (label?: string | undefined) => string;
|
|
838
838
|
collapse: (label?: string | undefined) => string;
|
|
@@ -916,9 +916,9 @@ declare const _default: () => {
|
|
|
916
916
|
name: string;
|
|
917
917
|
type: {
|
|
918
918
|
info: string;
|
|
919
|
-
positive: string;
|
|
920
|
-
negative: string;
|
|
921
919
|
warning: string;
|
|
920
|
+
negative: string;
|
|
921
|
+
positive: string;
|
|
922
922
|
};
|
|
923
923
|
arrow: {
|
|
924
924
|
left: string;
|
package/dist/runtime/plugin.js
CHANGED
|
@@ -21,7 +21,10 @@ import TypeMailLog from "./models/MailLog.js";
|
|
|
21
21
|
import TypeEventLog from "./models/EventLog.js";
|
|
22
22
|
import TypeCustomerField from "./models/CustomField.js";
|
|
23
23
|
import { zhTW } from "@formkit/i18n";
|
|
24
|
+
import { useQuasar } from "quasar";
|
|
24
25
|
export default defineNuxtPlugin((nuxtApp) => {
|
|
26
|
+
const $q = useQuasar();
|
|
27
|
+
console.log($q);
|
|
25
28
|
addRouteMiddleware("auth", async (to, from) => {
|
|
26
29
|
if (to.path == "/") {
|
|
27
30
|
return;
|