@hostlink/nuxt-light 1.20.3 → 1.20.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.json +1 -1
- package/dist/module.mjs +2 -1
- package/dist/runtime/components/l-date-picker.vue +7 -1
- package/dist/runtime/components/l-table-old.vue +718 -0
- package/dist/runtime/components/l-table.vue +37 -57
- package/dist/runtime/components/l-table2.vue +733 -29
- package/dist/runtime/index.d.ts +2 -1
- package/dist/runtime/index.js +4 -1
- package/dist/runtime/lib/getID.js +1 -1
- package/dist/runtime/lib/index.d.ts +1 -0
- package/dist/runtime/lib/index.js +1 -0
- package/dist/runtime/light.d.ts +8 -8
- package/dist/runtime/pages/MailLog/index.vue +2 -4
- package/dist/runtime/plugin.js +4 -1
- package/package.json +2 -2
- package/dist/runtime/lib/collect.d.ts +0 -2
- package/dist/runtime/lib/collect.js +0 -2
package/dist/runtime/index.d.ts
CHANGED
|
@@ -34,5 +34,6 @@ declare module '@formkit/inputs' {
|
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
export { useLight } from "./light.js";
|
|
38
37
|
export * from "./lib/index.js";
|
|
38
|
+
import { api } from "./lib/index.js";
|
|
39
|
+
export declare const collect: (name: string, fields: Object) => ReturnType<typeof api.collect>;
|
package/dist/runtime/index.js
CHANGED
|
@@ -22,4 +22,5 @@ export declare const notify: (message: string, color?: string) => void;
|
|
|
22
22
|
export { default as getID } from "./getID.js";
|
|
23
23
|
export { default as id } from "./getID.js";
|
|
24
24
|
export declare const getApiBase: () => string;
|
|
25
|
+
export { useLight } from "../light.js";
|
|
25
26
|
export { default as getGQLFields } from "./getGQLFields.js";
|
package/dist/runtime/light.d.ts
CHANGED
|
@@ -227,6 +227,7 @@ declare const light: {
|
|
|
227
227
|
clear: string;
|
|
228
228
|
set: string;
|
|
229
229
|
search: string;
|
|
230
|
+
filter: string;
|
|
230
231
|
remove: string;
|
|
231
232
|
ok: string;
|
|
232
233
|
cancel: string;
|
|
@@ -234,7 +235,6 @@ declare const light: {
|
|
|
234
235
|
reset: string;
|
|
235
236
|
update: string;
|
|
236
237
|
create: string;
|
|
237
|
-
filter: string;
|
|
238
238
|
refresh: string;
|
|
239
239
|
};
|
|
240
240
|
date: {
|
|
@@ -261,10 +261,10 @@ declare const light: {
|
|
|
261
261
|
pagination: (start: number, end: number, total: number) => string;
|
|
262
262
|
};
|
|
263
263
|
editor: {
|
|
264
|
+
bold: string;
|
|
264
265
|
left: string;
|
|
265
266
|
right: string;
|
|
266
267
|
center: string;
|
|
267
|
-
bold: string;
|
|
268
268
|
align: string;
|
|
269
269
|
url: string;
|
|
270
270
|
italic: string;
|
|
@@ -357,10 +357,10 @@ declare const light: {
|
|
|
357
357
|
};
|
|
358
358
|
editor: {
|
|
359
359
|
size: string;
|
|
360
|
+
bold: string;
|
|
360
361
|
left: string;
|
|
361
362
|
right: string;
|
|
362
363
|
center: string;
|
|
363
|
-
bold: string;
|
|
364
364
|
align: string;
|
|
365
365
|
italic: string;
|
|
366
366
|
strikethrough: string;
|
|
@@ -445,8 +445,8 @@ declare const light: {
|
|
|
445
445
|
};
|
|
446
446
|
uploader: {
|
|
447
447
|
clear: string;
|
|
448
|
-
done: string;
|
|
449
448
|
add: string;
|
|
449
|
+
done: string;
|
|
450
450
|
upload: string;
|
|
451
451
|
removeQueue: string;
|
|
452
452
|
removeUploaded: string;
|
|
@@ -832,6 +832,7 @@ export declare const useLight: () => {
|
|
|
832
832
|
clear: string;
|
|
833
833
|
set: string;
|
|
834
834
|
search: string;
|
|
835
|
+
filter: string;
|
|
835
836
|
remove: string;
|
|
836
837
|
ok: string;
|
|
837
838
|
cancel: string;
|
|
@@ -839,7 +840,6 @@ export declare const useLight: () => {
|
|
|
839
840
|
reset: string;
|
|
840
841
|
update: string;
|
|
841
842
|
create: string;
|
|
842
|
-
filter: string;
|
|
843
843
|
refresh: string;
|
|
844
844
|
};
|
|
845
845
|
date: {
|
|
@@ -866,10 +866,10 @@ export declare const useLight: () => {
|
|
|
866
866
|
pagination: (start: number, end: number, total: number) => string;
|
|
867
867
|
};
|
|
868
868
|
editor: {
|
|
869
|
+
bold: string;
|
|
869
870
|
left: string;
|
|
870
871
|
right: string;
|
|
871
872
|
center: string;
|
|
872
|
-
bold: string;
|
|
873
873
|
align: string;
|
|
874
874
|
url: string;
|
|
875
875
|
italic: string;
|
|
@@ -962,10 +962,10 @@ export declare const useLight: () => {
|
|
|
962
962
|
};
|
|
963
963
|
editor: {
|
|
964
964
|
size: string;
|
|
965
|
+
bold: string;
|
|
965
966
|
left: string;
|
|
966
967
|
right: string;
|
|
967
968
|
center: string;
|
|
968
|
-
bold: string;
|
|
969
969
|
align: string;
|
|
970
970
|
italic: string;
|
|
971
971
|
strikethrough: string;
|
|
@@ -1050,8 +1050,8 @@ export declare const useLight: () => {
|
|
|
1050
1050
|
};
|
|
1051
1051
|
uploader: {
|
|
1052
1052
|
clear: string;
|
|
1053
|
-
done: string;
|
|
1054
1053
|
add: string;
|
|
1054
|
+
done: string;
|
|
1055
1055
|
upload: string;
|
|
1056
1056
|
removeQueue: string;
|
|
1057
1057
|
removeUploaded: string;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import { model } from "#imports"
|
|
2
|
+
import { model, collect, api } from "#imports"
|
|
3
3
|
import { ref } from 'vue'
|
|
4
4
|
const columns = model("MailLog").columns(["maillog_id", "from", "to", "subject", "created_time"])
|
|
5
|
-
const show = ref(false)
|
|
6
|
-
const content = ref("")
|
|
7
5
|
</script>
|
|
8
6
|
|
|
9
7
|
<template>
|
|
@@ -16,7 +14,7 @@ const content = ref("")
|
|
|
16
14
|
</l-card>
|
|
17
15
|
</q-dialog>
|
|
18
16
|
<l-table row-key="maillog_id" @request-data="$event.loadObjects('MailLog', {}, ['body'])" :columns="columns"
|
|
19
|
-
sort-by="maillog_id:desc"
|
|
17
|
+
sort-by="maillog_id:desc">
|
|
20
18
|
|
|
21
19
|
<template #row-expand="props">
|
|
22
20
|
<iframe width="100%" height="300px" :srcdoc="props.row.body" frameborder="0"></iframe>
|
package/dist/runtime/plugin.js
CHANGED
|
@@ -10,7 +10,8 @@ localStorage.getItem("locale") || localStorage.setItem("locale", "en");
|
|
|
10
10
|
import { createQuasarPlugin } from "formkit-quasar";
|
|
11
11
|
import { createLightPlugin } from "./formkit/index.js";
|
|
12
12
|
import { plugin, defaultConfig } from "@formkit/vue";
|
|
13
|
-
import { getApiBase
|
|
13
|
+
import { getApiBase } from "./index.js";
|
|
14
|
+
import { useLight } from "./light.js";
|
|
14
15
|
import TypeUser from "./types/User.js";
|
|
15
16
|
import TypeUserLog from "./types/UserLog.js";
|
|
16
17
|
import TypeSystemValue from "./types/SystemValue.js";
|
|
@@ -24,6 +25,8 @@ export default defineNuxtPlugin((nuxtApp) => {
|
|
|
24
25
|
api.models.create("SystemValue", TypeSystemValue);
|
|
25
26
|
api.models.create("MailLog", TypeMailLog);
|
|
26
27
|
api.models.create("EventLog", TypeEventLog);
|
|
28
|
+
api.model("MailLog").setDataPath("app.mailLogs");
|
|
29
|
+
api.model("EventLog").setDataPath("app.eventLogs");
|
|
27
30
|
nuxtApp.vueApp.config.errorHandler = (err, instance, info) => {
|
|
28
31
|
console.log(err);
|
|
29
32
|
const light = useLight();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hostlink/nuxt-light",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.5",
|
|
4
4
|
"description": "HostLink Nuxt Light Framework",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@azure/msal-browser": "^3.26.1",
|
|
36
36
|
"@formkit/drag-and-drop": "^0.1.6",
|
|
37
|
-
"@hostlink/light": "^2.3.
|
|
37
|
+
"@hostlink/light": "^2.3.7",
|
|
38
38
|
"@nuxt/kit": "^3.7.4",
|
|
39
39
|
"@nuxt/module-builder": "^0.8.3",
|
|
40
40
|
"@quasar/extras": "^1.16.11",
|