@hostlink/nuxt-light 1.29.0 → 1.30.0
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 +1 -1
- package/dist/runtime/components/L/Fieldset.vue.d.ts +1 -3
- package/dist/runtime/components/l-alert.vue.d.ts +1 -3
- package/dist/runtime/components/l-app.vue.d.ts +1 -3
- package/dist/runtime/components/l-drag-drop-group.vue.d.ts +1 -3
- package/dist/runtime/components/l-form-dialog.vue.d.ts +1 -3
- package/dist/runtime/components/l-link.vue.d.ts +1 -3
- package/dist/runtime/formkit/Checkbox.vue.d.ts +1 -4
- package/dist/runtime/formkit/DatePicker.vue.d.ts +1 -4
- package/dist/runtime/formkit/Editor.vue.d.ts +1 -3
- package/dist/runtime/formkit/File.vue.d.ts +1 -4
- package/dist/runtime/formkit/FilePicker.vue.d.ts +1 -4
- package/dist/runtime/formkit/FileUpload.vue.d.ts +1 -4
- package/dist/runtime/formkit/GroupSelect.vue.d.ts +1 -4
- package/dist/runtime/formkit/InputXlsx.vue.d.ts +1 -3
- package/dist/runtime/formkit/Radio.vue.d.ts +1 -3
- package/dist/runtime/formkit/Repeater.vue.d.ts +1 -7
- package/dist/runtime/formkit/Select.vue.d.ts +1 -4
- package/dist/runtime/formkit/TimePicker.vue.d.ts +1 -4
- package/dist/runtime/plugin.d.ts +1 -0
- package/dist/runtime/plugin.js +3 -22
- package/package.json +2 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -315,7 +315,7 @@ const module = defineNuxtModule({
|
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
},
|
|
318
|
-
plugins: ["Dialog", "Loading", "LoadingBar", "Notify"]
|
|
318
|
+
plugins: ["Dialog", "Loading", "LoadingBar", "Notify", "AppFullscreen"]
|
|
319
319
|
});
|
|
320
320
|
nuxt.options.imports = nuxt.options.imports || {};
|
|
321
321
|
nuxt.options.imports.presets = nuxt.options.imports.presets || [];
|
|
@@ -11,6 +11,4 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
11
11
|
readonly gutter?: string | undefined;
|
|
12
12
|
};
|
|
13
13
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
-
type __VLS_Slots =
|
|
15
|
-
default?: ((props: {}) => any) | undefined;
|
|
16
|
-
};
|
|
14
|
+
type __VLS_Slots = any;
|
|
@@ -9,6 +9,4 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
9
9
|
readonly type?: string | undefined;
|
|
10
10
|
};
|
|
11
11
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
type __VLS_Slots =
|
|
13
|
-
default?: ((props: {}) => any) | undefined;
|
|
14
|
-
};
|
|
12
|
+
type __VLS_Slots = any;
|
|
@@ -4,6 +4,4 @@ type __VLS_WithSlots<T, S> = T & (new () => {
|
|
|
4
4
|
$slots: S;
|
|
5
5
|
});
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
-
type __VLS_Slots =
|
|
8
|
-
header?: ((props: {}) => any) | undefined;
|
|
9
|
-
};
|
|
7
|
+
type __VLS_Slots = any;
|
|
@@ -9,6 +9,4 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
9
9
|
getGroupName: () => symbol;
|
|
10
10
|
findAllItems: () => any[];
|
|
11
11
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
type __VLS_Slots =
|
|
13
|
-
default?: ((props: {}) => any) | undefined;
|
|
14
|
-
};
|
|
12
|
+
type __VLS_Slots = any;
|
|
@@ -20,6 +20,4 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
20
20
|
readonly showNotification?: boolean | undefined;
|
|
21
21
|
};
|
|
22
22
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
|
-
type __VLS_Slots =
|
|
24
|
-
default?: ((props: any) => any) | undefined;
|
|
25
|
-
};
|
|
23
|
+
type __VLS_Slots = any;
|
|
@@ -11,6 +11,4 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
11
11
|
readonly to?: string | undefined;
|
|
12
12
|
};
|
|
13
13
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
-
type __VLS_Slots =
|
|
15
|
-
default?: ((props: {}) => any) | undefined;
|
|
16
|
-
};
|
|
14
|
+
type __VLS_Slots = any;
|
|
@@ -9,7 +9,4 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
9
9
|
readonly context?: Record<string, any> | undefined;
|
|
10
10
|
};
|
|
11
11
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
type __VLS_Slots =
|
|
13
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
14
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
15
|
-
};
|
|
12
|
+
type __VLS_Slots = any;
|
|
@@ -9,7 +9,4 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
9
9
|
readonly context?: Record<string, any> | undefined;
|
|
10
10
|
};
|
|
11
11
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
type __VLS_Slots =
|
|
13
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
14
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
15
|
-
};
|
|
12
|
+
type __VLS_Slots = any;
|
|
@@ -9,6 +9,4 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
9
9
|
readonly context?: Record<string, any> | undefined;
|
|
10
10
|
};
|
|
11
11
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
type __VLS_Slots =
|
|
13
|
-
default?: ((props: {}) => any) | undefined;
|
|
14
|
-
};
|
|
12
|
+
type __VLS_Slots = any;
|
|
@@ -9,7 +9,4 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
9
9
|
readonly context?: Record<string, any> | undefined;
|
|
10
10
|
};
|
|
11
11
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
type __VLS_Slots =
|
|
13
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
14
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
15
|
-
};
|
|
12
|
+
type __VLS_Slots = any;
|
|
@@ -9,7 +9,4 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
9
9
|
readonly context?: Record<string, any> | undefined;
|
|
10
10
|
};
|
|
11
11
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
type __VLS_Slots =
|
|
13
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
14
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
15
|
-
};
|
|
12
|
+
type __VLS_Slots = any;
|
|
@@ -9,7 +9,4 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
9
9
|
readonly context?: Record<string, any> | undefined;
|
|
10
10
|
};
|
|
11
11
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
type __VLS_Slots =
|
|
13
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
14
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
15
|
-
};
|
|
12
|
+
type __VLS_Slots = any;
|
|
@@ -9,7 +9,4 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
9
9
|
readonly context?: Record<string, any> | undefined;
|
|
10
10
|
};
|
|
11
11
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
type __VLS_Slots =
|
|
13
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
14
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
15
|
-
};
|
|
12
|
+
type __VLS_Slots = any;
|
|
@@ -9,6 +9,4 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
9
9
|
readonly context?: Record<string, any> | undefined;
|
|
10
10
|
};
|
|
11
11
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
type __VLS_Slots =
|
|
13
|
-
default?: ((props: {}) => any) | undefined;
|
|
14
|
-
};
|
|
12
|
+
type __VLS_Slots = any;
|
|
@@ -9,6 +9,4 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
9
9
|
readonly context?: Record<string, any> | undefined;
|
|
10
10
|
};
|
|
11
11
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
type __VLS_Slots =
|
|
13
|
-
default?: ((props: {}) => any) | undefined;
|
|
14
|
-
};
|
|
12
|
+
type __VLS_Slots = any;
|
|
@@ -9,10 +9,4 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
9
9
|
readonly context?: Record<string, any> | undefined;
|
|
10
10
|
};
|
|
11
11
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
type __VLS_Slots =
|
|
13
|
-
default?: ((props: {
|
|
14
|
-
value: any;
|
|
15
|
-
index: number;
|
|
16
|
-
node: any;
|
|
17
|
-
}) => any) | undefined;
|
|
18
|
-
};
|
|
12
|
+
type __VLS_Slots = any;
|
|
@@ -9,7 +9,4 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
9
9
|
readonly context?: Record<string, any> | undefined;
|
|
10
10
|
};
|
|
11
11
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
type __VLS_Slots =
|
|
13
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
14
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
15
|
-
};
|
|
12
|
+
type __VLS_Slots = any;
|
|
@@ -9,7 +9,4 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
9
9
|
readonly context?: Record<string, any> | undefined;
|
|
10
10
|
};
|
|
11
11
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
type __VLS_Slots =
|
|
13
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
14
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
15
|
-
};
|
|
12
|
+
type __VLS_Slots = any;
|
package/dist/runtime/plugin.d.ts
CHANGED
package/dist/runtime/plugin.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import QMarkdownVuePlugin from "@quasar/quasar-ui-qmarkdown";
|
|
2
|
+
import "@quasar/quasar-ui-qmarkdown/dist/index.css";
|
|
2
3
|
import { createI18n } from "vue-i18n";
|
|
3
4
|
import createLight from "./composables/createLight.js";
|
|
4
5
|
import { defineNuxtPlugin } from "#app";
|
|
@@ -44,6 +45,7 @@ export default defineNuxtPlugin((nuxtApp) => {
|
|
|
44
45
|
light.addError(new Error(err));
|
|
45
46
|
}
|
|
46
47
|
};
|
|
48
|
+
nuxtApp.vueApp.use(QMarkdownVuePlugin);
|
|
47
49
|
const i18n = createI18n({
|
|
48
50
|
legacy: false,
|
|
49
51
|
locale: localStorage.getItem("locale") || "en",
|
|
@@ -59,27 +61,6 @@ export default defineNuxtPlugin((nuxtApp) => {
|
|
|
59
61
|
i18n
|
|
60
62
|
}));
|
|
61
63
|
nuxtApp.vueApp.use(i18n);
|
|
62
|
-
nuxtApp.vueApp.use(Quasar, {
|
|
63
|
-
config: {
|
|
64
|
-
brand: {
|
|
65
|
-
primary: "#7367f0",
|
|
66
|
-
secondary: "#82868b",
|
|
67
|
-
accent: "#9C27B0",
|
|
68
|
-
dark: "#4b4b4b",
|
|
69
|
-
darkPage: "#121212",
|
|
70
|
-
positive: "#28c76f",
|
|
71
|
-
negative: "#ea5455",
|
|
72
|
-
info: "#00cfe8",
|
|
73
|
-
warning: "#ff9f43"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
plugins: {
|
|
77
|
-
Dialog,
|
|
78
|
-
Notify,
|
|
79
|
-
Loading,
|
|
80
|
-
AppFullscreen
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
64
|
let locale = localStorage.getItem("locale") || "en";
|
|
84
65
|
if (locale == "zh-hk") {
|
|
85
66
|
locale = "zhTW";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hostlink/nuxt-light",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.30.0",
|
|
4
4
|
"description": "HostLink Nuxt Light Framework",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"@hostlink/light": "^2.5.2",
|
|
36
36
|
"@nuxt/module-builder": "^1.0.1",
|
|
37
37
|
"@quasar/extras": "^1.16.11",
|
|
38
|
+
"@quasar/quasar-ui-qmarkdown": "^2.0.5",
|
|
38
39
|
"axios": "^1.5.0",
|
|
39
40
|
"defu": "^6.1.4",
|
|
40
41
|
"diff2html": "^3.4.47",
|