@hostlink/nuxt-light 1.48.10 → 1.48.12

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.
Files changed (51) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +5 -0
  3. package/dist/runtime/components/l-add-btn.d.vue.ts +2 -2
  4. package/dist/runtime/components/l-add-btn.vue.d.ts +2 -2
  5. package/dist/runtime/components/l-card.d.vue.ts +1 -1
  6. package/dist/runtime/components/l-card.vue.d.ts +1 -1
  7. package/dist/runtime/components/l-col.d.vue.ts +3 -3
  8. package/dist/runtime/components/l-col.vue.d.ts +3 -3
  9. package/dist/runtime/components/l-customizer.d.vue.ts +6 -6
  10. package/dist/runtime/components/l-customizer.vue.d.ts +6 -6
  11. package/dist/runtime/components/l-date-picker.d.vue.ts +6 -6
  12. package/dist/runtime/components/l-date-picker.vue.d.ts +6 -6
  13. package/dist/runtime/components/l-editor.d.vue.ts +2 -2
  14. package/dist/runtime/components/l-editor.vue.d.ts +2 -2
  15. package/dist/runtime/components/l-fav-menu.d.vue.ts +2 -2
  16. package/dist/runtime/components/l-fav-menu.vue.d.ts +2 -2
  17. package/dist/runtime/components/l-field.d.vue.ts +3 -3
  18. package/dist/runtime/components/l-field.vue.d.ts +3 -3
  19. package/dist/runtime/components/l-file-manager.d.vue.ts +2 -2
  20. package/dist/runtime/components/l-file-manager.vue.d.ts +2 -2
  21. package/dist/runtime/components/l-file-upload.d.vue.ts +5 -5
  22. package/dist/runtime/components/l-file-upload.vue.d.ts +5 -5
  23. package/dist/runtime/components/l-file.d.vue.ts +3 -3
  24. package/dist/runtime/components/l-file.vue.d.ts +3 -3
  25. package/dist/runtime/components/l-form-dialog.d.vue.ts +4 -4
  26. package/dist/runtime/components/l-form-dialog.vue.d.ts +4 -4
  27. package/dist/runtime/components/l-form.d.vue.ts +1 -1
  28. package/dist/runtime/components/l-form.vue.d.ts +1 -1
  29. package/dist/runtime/components/l-input.d.vue.ts +3 -3
  30. package/dist/runtime/components/l-input.vue.d.ts +3 -3
  31. package/dist/runtime/components/l-item.d.vue.ts +1 -1
  32. package/dist/runtime/components/l-item.vue.d.ts +1 -1
  33. package/dist/runtime/components/l-menu.d.vue.ts +2 -2
  34. package/dist/runtime/components/l-menu.vue.d.ts +2 -2
  35. package/dist/runtime/components/l-page.d.vue.ts +1 -1
  36. package/dist/runtime/components/l-page.vue.d.ts +1 -1
  37. package/dist/runtime/components/l-select.d.vue.ts +3 -3
  38. package/dist/runtime/components/l-select.vue.d.ts +3 -3
  39. package/dist/runtime/components/l-table.d.vue.ts +3 -3
  40. package/dist/runtime/components/l-table.vue.d.ts +3 -3
  41. package/dist/runtime/components/l-tabs.d.vue.ts +1 -1
  42. package/dist/runtime/components/l-tabs.vue.d.ts +1 -1
  43. package/dist/runtime/components/l-time-picker.d.vue.ts +1 -1
  44. package/dist/runtime/components/l-time-picker.vue.d.ts +1 -1
  45. package/dist/runtime/composables/useLight.d.ts +32 -32
  46. package/dist/runtime/formkit/Form.vue +5 -4
  47. package/dist/runtime/formkit/index.js +3 -1
  48. package/dist/runtime/pages/System/database/event.d.vue.ts +2 -0
  49. package/dist/runtime/pages/System/database/event.vue +89 -0
  50. package/dist/runtime/pages/System/database/event.vue.d.ts +2 -0
  51. package/package.json +2 -2
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "light",
3
3
  "configKey": "light",
4
- "version": "1.48.10",
4
+ "version": "1.48.12",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -151,6 +151,11 @@ const routes = [
151
151
  path: "/System/database/table",
152
152
  file: "runtime/pages/System/database/table.vue"
153
153
  },
154
+ {
155
+ name: "System-database-event",
156
+ path: "/System/database/event",
157
+ file: "runtime/pages/System/database/event.vue"
158
+ },
154
159
  {
155
160
  name: "EventLog-eventlog_id-view",
156
161
  path: "/EventLog/:eventlog_id/view",
@@ -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;
@@ -32,8 +32,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
32
32
  "onUpdate:maximized"?: ((value: boolean) => any) | undefined;
33
33
  }>, {
34
34
  flat: boolean;
35
- square: boolean;
36
35
  bordered: boolean;
36
+ square: boolean;
37
37
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
38
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
39
39
  export default _default;
@@ -32,8 +32,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
32
32
  "onUpdate:maximized"?: ((value: boolean) => any) | undefined;
33
33
  }>, {
34
34
  flat: boolean;
35
- square: boolean;
36
35
  bordered: boolean;
36
+ square: boolean;
37
37
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
38
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
39
39
  export default _default;
@@ -9,10 +9,10 @@ type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_1) => any;
10
10
  };
11
11
  declare const __VLS_component: import("vue").DefineComponent<LColProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LColProps> & Readonly<{}>, {
12
- gutter: "xs" | "sm" | "md" | "lg" | "xl" | "none";
13
- md: number | string;
14
- sm: number | string;
15
12
  xs: number | string;
13
+ sm: number | string;
14
+ md: number | string;
15
+ gutter: "xs" | "sm" | "md" | "lg" | "xl" | "none";
16
16
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
17
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
18
  export default _default;
@@ -9,10 +9,10 @@ type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_1) => any;
10
10
  };
11
11
  declare const __VLS_component: import("vue").DefineComponent<LColProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LColProps> & Readonly<{}>, {
12
- gutter: "xs" | "sm" | "md" | "lg" | "xl" | "none";
13
- md: number | string;
14
- sm: number | string;
15
12
  xs: number | string;
13
+ sm: number | string;
14
+ md: number | string;
15
+ gutter: "xs" | "sm" | "md" | "lg" | "xl" | "none";
16
16
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
17
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
18
  export default _default;
@@ -1,20 +1,20 @@
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
3
  color: string;
4
- theme: string;
4
+ miniState: boolean;
5
5
  dense: boolean;
6
6
  footer: boolean;
7
- time: string;
8
- miniState: boolean;
9
7
  menuOverlayHeader: boolean;
8
+ theme: string;
9
+ time: string;
10
10
  $props: {
11
11
  readonly color?: string | undefined;
12
- readonly theme?: string | undefined;
12
+ readonly miniState?: boolean | undefined;
13
13
  readonly dense?: boolean | undefined;
14
14
  readonly footer?: boolean | undefined;
15
- readonly time?: string | undefined;
16
- readonly miniState?: boolean | undefined;
17
15
  readonly menuOverlayHeader?: boolean | undefined;
16
+ readonly theme?: string | undefined;
17
+ readonly time?: string | undefined;
18
18
  };
19
19
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
20
  export default _default;
@@ -1,20 +1,20 @@
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
3
  color: string;
4
- theme: string;
4
+ miniState: boolean;
5
5
  dense: boolean;
6
6
  footer: boolean;
7
- time: string;
8
- miniState: boolean;
9
7
  menuOverlayHeader: boolean;
8
+ theme: string;
9
+ time: string;
10
10
  $props: {
11
11
  readonly color?: string | undefined;
12
- readonly theme?: string | undefined;
12
+ readonly miniState?: boolean | undefined;
13
13
  readonly dense?: boolean | undefined;
14
14
  readonly footer?: boolean | undefined;
15
- readonly time?: string | undefined;
16
- readonly miniState?: boolean | undefined;
17
15
  readonly menuOverlayHeader?: boolean | undefined;
16
+ readonly theme?: string | undefined;
17
+ readonly time?: string | undefined;
18
18
  };
19
19
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
20
  export default _default;
@@ -13,18 +13,18 @@ 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;
16
+ dense: boolean;
17
17
  dark: boolean | null;
18
+ rounded: boolean;
19
+ square: boolean;
20
+ disable: boolean;
21
+ todayBtn: boolean;
22
+ range: boolean;
18
23
  stackLabel: boolean;
19
24
  filled: boolean;
20
25
  outlined: boolean;
21
26
  standout: string | boolean;
22
27
  hideBottomSpace: boolean;
23
- rounded: boolean;
24
- square: boolean;
25
- dense: boolean;
26
- todayBtn: boolean;
27
- range: boolean;
28
28
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
29
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
30
30
  export default _default;
@@ -13,18 +13,18 @@ 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;
16
+ dense: boolean;
17
17
  dark: boolean | null;
18
+ rounded: boolean;
19
+ square: boolean;
20
+ disable: boolean;
21
+ todayBtn: boolean;
22
+ range: boolean;
18
23
  stackLabel: boolean;
19
24
  filled: boolean;
20
25
  outlined: boolean;
21
26
  standout: string | boolean;
22
27
  hideBottomSpace: boolean;
23
- rounded: boolean;
24
- square: boolean;
25
- dense: boolean;
26
- todayBtn: boolean;
27
- range: boolean;
28
28
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
29
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
30
30
  export default _default;
@@ -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
- placeholder: string;
11
9
  dense: boolean;
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
- placeholder: string;
11
9
  dense: boolean;
10
+ placeholder: string;
11
+ modelValue: string;
12
12
  fonts: any | undefined;
13
13
  toolbar: readonly any[];
14
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,9 +1,9 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
- value?: any;
3
2
  dense?: any;
3
+ value?: any;
4
4
  $props: {
5
- readonly value?: any;
6
5
  readonly dense?: any;
6
+ readonly value?: any;
7
7
  };
8
8
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
9
  export default _default;
@@ -1,9 +1,9 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
- value?: any;
3
2
  dense?: any;
3
+ value?: any;
4
4
  $props: {
5
- readonly value?: any;
6
5
  readonly dense?: any;
6
+ readonly value?: any;
7
7
  };
8
8
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
9
  export default _default;
@@ -4,15 +4,15 @@ type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_6) => any;
5
5
  };
6
6
  declare const __VLS_component: import("vue").DefineComponent<QFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QFieldProps> & Readonly<{}>, {
7
+ dense: boolean;
7
8
  dark: boolean | null;
9
+ rounded: boolean;
10
+ square: boolean;
8
11
  stackLabel: boolean;
9
12
  filled: boolean;
10
13
  outlined: boolean;
11
14
  standout: string | boolean;
12
15
  hideBottomSpace: boolean;
13
- rounded: boolean;
14
- square: boolean;
15
- dense: boolean;
16
16
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
17
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
18
  export default _default;
@@ -4,15 +4,15 @@ type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_6) => any;
5
5
  };
6
6
  declare const __VLS_component: import("vue").DefineComponent<QFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QFieldProps> & Readonly<{}>, {
7
+ dense: boolean;
7
8
  dark: boolean | null;
9
+ rounded: boolean;
10
+ square: boolean;
8
11
  stackLabel: boolean;
9
12
  filled: boolean;
10
13
  outlined: boolean;
11
14
  standout: string | boolean;
12
15
  hideBottomSpace: boolean;
13
- rounded: boolean;
14
- square: boolean;
15
- dense: boolean;
16
16
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
17
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
18
  export default _default;
@@ -1,14 +1,14 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
2
  $emit: (event: "close" | "input", ...args: any[]) => void;
3
- multiple: boolean;
4
3
  base: string;
5
4
  closeable: boolean;
5
+ multiple: boolean;
6
6
  height: string;
7
7
  defaultAction: string;
8
8
  $props: {
9
- readonly multiple?: boolean | undefined;
10
9
  readonly base?: string | undefined;
11
10
  readonly closeable?: boolean | undefined;
11
+ readonly multiple?: boolean | undefined;
12
12
  readonly height?: string | undefined;
13
13
  readonly defaultAction?: string | undefined;
14
14
  };
@@ -1,14 +1,14 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
2
  $emit: (event: "close" | "input", ...args: any[]) => void;
3
- multiple: boolean;
4
3
  base: string;
5
4
  closeable: boolean;
5
+ multiple: boolean;
6
6
  height: string;
7
7
  defaultAction: string;
8
8
  $props: {
9
- readonly multiple?: boolean | undefined;
10
9
  readonly base?: string | undefined;
11
10
  readonly closeable?: boolean | undefined;
11
+ readonly multiple?: boolean | undefined;
12
12
  readonly height?: string | undefined;
13
13
  readonly defaultAction?: string | undefined;
14
14
  };
@@ -25,16 +25,16 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
25
25
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
26
26
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
27
27
  }>, {
28
- accept: string;
28
+ path: string;
29
+ dense: boolean;
30
+ rounded: boolean;
31
+ square: boolean;
29
32
  stackLabel: boolean;
30
33
  filled: boolean;
31
34
  outlined: boolean;
32
35
  standout: boolean;
33
- rounded: boolean;
34
- square: boolean;
35
- dense: boolean;
36
- path: string;
37
36
  driveIndex: number;
37
+ accept: string;
38
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
39
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
40
40
  export default _default;
@@ -25,16 +25,16 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
25
25
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
26
26
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
27
27
  }>, {
28
- accept: string;
28
+ path: string;
29
+ dense: boolean;
30
+ rounded: boolean;
31
+ square: boolean;
29
32
  stackLabel: boolean;
30
33
  filled: boolean;
31
34
  outlined: boolean;
32
35
  standout: boolean;
33
- rounded: boolean;
34
- square: boolean;
35
- dense: boolean;
36
- path: string;
37
36
  driveIndex: number;
37
+ accept: string;
38
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
39
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
40
40
  export default _default;
@@ -14,12 +14,12 @@ declare const _default: import("vue").DefineComponent<LFileProps, {}, {}, {}, {}
14
14
  }, string, import("vue").PublicProps, Readonly<LFileProps> & Readonly<{
15
15
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
16
16
  }>, {
17
+ dense: boolean;
18
+ rounded: boolean;
19
+ square: boolean;
17
20
  stackLabel: boolean;
18
21
  filled: boolean;
19
22
  outlined: boolean;
20
23
  standout: boolean;
21
- rounded: boolean;
22
- square: boolean;
23
- dense: boolean;
24
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
25
  export default _default;
@@ -14,12 +14,12 @@ declare const _default: import("vue").DefineComponent<LFileProps, {}, {}, {}, {}
14
14
  }, string, import("vue").PublicProps, Readonly<LFileProps> & Readonly<{
15
15
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
16
16
  }>, {
17
+ dense: boolean;
18
+ rounded: boolean;
19
+ square: boolean;
17
20
  stackLabel: boolean;
18
21
  filled: boolean;
19
22
  outlined: boolean;
20
23
  standout: boolean;
21
- rounded: boolean;
22
- square: boolean;
23
- dense: boolean;
24
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
25
  export default _default;
@@ -5,17 +5,17 @@ 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;
10
- title: string;
11
9
  width: string;
10
+ value: Record<string, any>;
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;
17
- readonly title?: string | undefined;
18
16
  readonly width?: string | undefined;
17
+ readonly value?: Record<string, any> | undefined;
18
+ readonly title?: string | undefined;
19
19
  readonly save?: Function | undefined;
20
20
  readonly showNotification?: boolean | undefined;
21
21
  };
@@ -5,17 +5,17 @@ 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;
10
- title: string;
11
9
  width: string;
10
+ value: Record<string, any>;
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;
17
- readonly title?: string | undefined;
18
16
  readonly width?: string | undefined;
17
+ readonly value?: Record<string, any> | undefined;
18
+ readonly title?: string | undefined;
19
19
  readonly save?: Function | undefined;
20
20
  readonly showNotification?: boolean | undefined;
21
21
  };
@@ -59,8 +59,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
59
59
  onSave?: ((...args: any[]) => any) | undefined;
60
60
  onSubmitted?: ((...args: any[]) => any) | undefined;
61
61
  }>, {
62
- gutter: string;
63
62
  bordered: boolean;
63
+ gutter: string;
64
64
  submitLabel: string;
65
65
  submitIcon: string;
66
66
  noRedirect: boolean;
@@ -59,8 +59,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
59
59
  onSave?: ((...args: any[]) => any) | undefined;
60
60
  onSubmitted?: ((...args: any[]) => any) | undefined;
61
61
  }>, {
62
- gutter: string;
63
62
  bordered: boolean;
63
+ gutter: string;
64
64
  submitLabel: string;
65
65
  submitIcon: string;
66
66
  noRedirect: boolean;
@@ -17,15 +17,15 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
17
17
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
18
18
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
19
19
  }>, {
20
+ dense: boolean;
20
21
  dark: boolean | null;
22
+ rounded: boolean;
23
+ square: boolean;
21
24
  stackLabel: boolean;
22
25
  filled: boolean;
23
26
  outlined: boolean;
24
27
  standout: string | boolean;
25
28
  hideBottomSpace: boolean;
26
- rounded: boolean;
27
- square: boolean;
28
- dense: boolean;
29
29
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
30
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
31
31
  export default _default;
@@ -17,15 +17,15 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
17
17
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
18
18
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
19
19
  }>, {
20
+ dense: boolean;
20
21
  dark: boolean | null;
22
+ rounded: boolean;
23
+ square: boolean;
21
24
  stackLabel: boolean;
22
25
  filled: boolean;
23
26
  outlined: boolean;
24
27
  standout: string | boolean;
25
28
  hideBottomSpace: boolean;
26
- rounded: boolean;
27
- square: boolean;
28
- dense: boolean;
29
29
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
30
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
31
31
  export default _default;
@@ -15,8 +15,8 @@ type __VLS_Slots = {} & {
15
15
  end?: (props: typeof __VLS_30) => any;
16
16
  };
17
17
  declare const __VLS_component: import("vue").DefineComponent<LItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LItemProps> & Readonly<{}>, {
18
- top: boolean;
19
18
  alignItems: "flex-start" | "center" | "flex-end" | "stretch";
19
+ top: boolean;
20
20
  labelTop: boolean;
21
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
22
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -15,8 +15,8 @@ type __VLS_Slots = {} & {
15
15
  end?: (props: typeof __VLS_30) => any;
16
16
  };
17
17
  declare const __VLS_component: import("vue").DefineComponent<LItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LItemProps> & Readonly<{}>, {
18
- top: boolean;
19
18
  alignItems: "flex-start" | "center" | "flex-end" | "stretch";
19
+ top: boolean;
20
20
  labelTop: boolean;
21
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
22
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -1,9 +1,9 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
- value?: any;
3
2
  dense?: any;
3
+ value?: any;
4
4
  $props: {
5
- readonly value?: any;
6
5
  readonly dense?: any;
6
+ readonly value?: any;
7
7
  };
8
8
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
9
  export default _default;
@@ -1,9 +1,9 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
- value?: any;
3
2
  dense?: any;
3
+ value?: any;
4
4
  $props: {
5
- readonly value?: any;
6
5
  readonly dense?: any;
6
+ readonly value?: any;
7
7
  };
8
8
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
9
  export default _default;
@@ -15,9 +15,9 @@ type __VLS_Slots = {} & {
15
15
  default?: (props: typeof __VLS_36) => any;
16
16
  };
17
17
  declare const __VLS_component: import("vue").DefineComponent<LPageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LPageProps> & Readonly<{}>, {
18
- gutter: "none" | "xs" | "sm" | "md" | "lg" | "xl";
19
18
  padding: boolean;
20
19
  title: string;
20
+ gutter: "none" | "xs" | "sm" | "md" | "lg" | "xl";
21
21
  backBtn: boolean;
22
22
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
23
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -15,9 +15,9 @@ type __VLS_Slots = {} & {
15
15
  default?: (props: typeof __VLS_36) => any;
16
16
  };
17
17
  declare const __VLS_component: import("vue").DefineComponent<LPageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LPageProps> & Readonly<{}>, {
18
- gutter: "none" | "xs" | "sm" | "md" | "lg" | "xl";
19
18
  padding: boolean;
20
19
  title: string;
20
+ gutter: "none" | "xs" | "sm" | "md" | "lg" | "xl";
21
21
  backBtn: boolean;
22
22
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
23
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -1,14 +1,14 @@
1
1
  import type { QSelectProps } from "quasar";
2
2
  declare const _default: import("vue").DefineComponent<QSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QSelectProps> & Readonly<{}>, {
3
+ dense: boolean;
3
4
  dark: boolean | null;
5
+ rounded: boolean;
6
+ square: boolean;
4
7
  stackLabel: boolean;
5
8
  filled: boolean;
6
9
  outlined: boolean;
7
10
  standout: string | boolean;
8
11
  hideBottomSpace: boolean;
9
- rounded: boolean;
10
- square: boolean;
11
- dense: boolean;
12
12
  emitValue: boolean;
13
13
  mapOptions: boolean;
14
14
  optionValue: string | ((option: string | any) => any);
@@ -1,14 +1,14 @@
1
1
  import type { QSelectProps } from "quasar";
2
2
  declare const _default: import("vue").DefineComponent<QSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QSelectProps> & Readonly<{}>, {
3
+ dense: boolean;
3
4
  dark: boolean | null;
5
+ rounded: boolean;
6
+ square: boolean;
4
7
  stackLabel: boolean;
5
8
  filled: boolean;
6
9
  outlined: boolean;
7
10
  standout: string | boolean;
8
11
  hideBottomSpace: boolean;
9
- rounded: boolean;
10
- square: boolean;
11
- dense: boolean;
12
12
  emitValue: boolean;
13
13
  mapOptions: boolean;
14
14
  optionValue: string | ((option: string | any) => any);
@@ -92,12 +92,12 @@ declare const __VLS_component: import("vue").DefineComponent<LTableProps, {
92
92
  "onUpdate:selected"?: ((p: any[]) => any) | undefined;
93
93
  }>, {
94
94
  flat: boolean;
95
- dark: boolean | null;
96
95
  dense: boolean;
96
+ dark: boolean | null;
97
97
  bordered: boolean;
98
- actions: Array<"view" | "edit" | "delete" | "update">;
99
98
  fullscreen: boolean;
100
99
  selected: any[];
100
+ actions: Array<"view" | "edit" | "delete" | "update">;
101
101
  pagination: {
102
102
  sortBy?: string | null;
103
103
  descending?: boolean;
@@ -105,7 +105,7 @@ declare const __VLS_component: import("vue").DefineComponent<LTableProps, {
105
105
  rowsPerPage?: number;
106
106
  rowsNumber?: number;
107
107
  };
108
- selection: "multiple" | "none" | "single";
108
+ selection: "none" | "multiple" | "single";
109
109
  loadingLabel: string;
110
110
  noDataLabel: string;
111
111
  rowsPerPageOptions: readonly any[];
@@ -92,12 +92,12 @@ declare const __VLS_component: import("vue").DefineComponent<LTableProps, {
92
92
  "onUpdate:selected"?: ((p: any[]) => any) | undefined;
93
93
  }>, {
94
94
  flat: boolean;
95
- dark: boolean | null;
96
95
  dense: boolean;
96
+ dark: boolean | null;
97
97
  bordered: boolean;
98
- actions: Array<"view" | "edit" | "delete" | "update">;
99
98
  fullscreen: boolean;
100
99
  selected: any[];
100
+ actions: Array<"view" | "edit" | "delete" | "update">;
101
101
  pagination: {
102
102
  sortBy?: string | null;
103
103
  descending?: boolean;
@@ -105,7 +105,7 @@ declare const __VLS_component: import("vue").DefineComponent<LTableProps, {
105
105
  rowsPerPage?: number;
106
106
  rowsNumber?: number;
107
107
  };
108
- selection: "multiple" | "none" | "single";
108
+ selection: "none" | "multiple" | "single";
109
109
  loadingLabel: string;
110
110
  noDataLabel: string;
111
111
  rowsPerPageOptions: readonly any[];
@@ -19,7 +19,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
19
19
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
20
20
  }>, {
21
21
  name: string;
22
- align: "right" | "left" | "center" | "justify";
22
+ align: "left" | "right" | "center" | "justify";
23
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
24
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
25
25
  export default _default;
@@ -19,7 +19,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
19
19
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
20
20
  }>, {
21
21
  name: string;
22
- align: "right" | "left" | "center" | "justify";
22
+ align: "left" | "right" | "center" | "justify";
23
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
24
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
25
25
  export default _default;
@@ -23,9 +23,9 @@ 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
+ mask: string;
26
27
  required: boolean;
27
28
  hideBottomSpace: boolean;
28
- mask: string;
29
29
  format24h: boolean;
30
30
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
31
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -23,9 +23,9 @@ 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
+ mask: string;
26
27
  required: boolean;
27
28
  hideBottomSpace: boolean;
28
- mask: string;
29
29
  format24h: boolean;
30
30
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
31
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -224,16 +224,16 @@ 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;
232
230
  select: string;
233
231
  filter: string;
234
232
  clear: string;
233
+ set: string;
235
234
  search: string;
236
235
  ok: string;
236
+ create: string;
237
237
  remove: string;
238
238
  update: string;
239
239
  refresh: string;
@@ -265,13 +265,13 @@ declare const light: {
265
265
  pagination: (start: number, end: number, total: number) => string;
266
266
  };
267
267
  editor: {
268
- right: string;
269
- left: string;
270
- center: string;
271
268
  align: string;
272
- bold: string;
269
+ left: string;
270
+ right: string;
273
271
  code: string;
274
272
  hr: string;
273
+ center: string;
274
+ bold: string;
275
275
  url: string;
276
276
  fontSize: string;
277
277
  italic: string;
@@ -318,21 +318,21 @@ declare const light: {
318
318
  set: (iconSet: import("quasar").QuasarIconSet) => void;
319
319
  name: string;
320
320
  type: {
321
- positive: string;
322
- negative: string;
323
321
  info: string;
324
322
  warning: string;
323
+ negative: string;
324
+ positive: string;
325
325
  };
326
326
  arrow: {
327
- right: string;
328
327
  left: string;
328
+ right: string;
329
329
  up: string;
330
330
  down: string;
331
331
  dropdown: string;
332
332
  };
333
333
  chevron: {
334
- right: string;
335
334
  left: string;
335
+ right: string;
336
336
  };
337
337
  colorPicker: {
338
338
  palette: string;
@@ -343,8 +343,8 @@ declare const light: {
343
343
  icon: string;
344
344
  };
345
345
  carousel: {
346
- right: string;
347
346
  left: string;
347
+ right: string;
348
348
  up: string;
349
349
  down: string;
350
350
  navigationIcon: string;
@@ -361,14 +361,14 @@ declare const light: {
361
361
  };
362
362
  editor: {
363
363
  size: string;
364
- right: string;
365
- left: string;
366
- center: string;
367
364
  align: string;
368
- bold: string;
365
+ left: string;
366
+ right: string;
369
367
  code: string;
370
368
  hr: string;
369
+ center: string;
371
370
  font: string;
371
+ bold: string;
372
372
  fontSize: string;
373
373
  italic: string;
374
374
  strikethrough: string;
@@ -431,8 +431,8 @@ declare const light: {
431
431
  active: string;
432
432
  };
433
433
  tabs: {
434
- right: string;
435
434
  left: string;
435
+ right: string;
436
436
  up: string;
437
437
  down: string;
438
438
  };
@@ -830,16 +830,16 @@ declare const _default: () => {
830
830
  isoName: string;
831
831
  nativeName: string;
832
832
  label: {
833
- create: string;
834
- set: string;
835
833
  cancel: string;
836
834
  close: string;
837
835
  reset: string;
838
836
  select: string;
839
837
  filter: string;
840
838
  clear: string;
839
+ set: string;
841
840
  search: string;
842
841
  ok: string;
842
+ create: string;
843
843
  remove: string;
844
844
  update: string;
845
845
  refresh: string;
@@ -871,13 +871,13 @@ declare const _default: () => {
871
871
  pagination: (start: number, end: number, total: number) => string;
872
872
  };
873
873
  editor: {
874
- right: string;
875
- left: string;
876
- center: string;
877
874
  align: string;
878
- bold: string;
875
+ left: string;
876
+ right: string;
879
877
  code: string;
880
878
  hr: string;
879
+ center: string;
880
+ bold: string;
881
881
  url: string;
882
882
  fontSize: string;
883
883
  italic: string;
@@ -924,21 +924,21 @@ declare const _default: () => {
924
924
  set: (iconSet: import("quasar").QuasarIconSet) => void;
925
925
  name: string;
926
926
  type: {
927
- positive: string;
928
- negative: string;
929
927
  info: string;
930
928
  warning: string;
929
+ negative: string;
930
+ positive: string;
931
931
  };
932
932
  arrow: {
933
- right: string;
934
933
  left: string;
934
+ right: string;
935
935
  up: string;
936
936
  down: string;
937
937
  dropdown: string;
938
938
  };
939
939
  chevron: {
940
- right: string;
941
940
  left: string;
941
+ right: string;
942
942
  };
943
943
  colorPicker: {
944
944
  palette: string;
@@ -949,8 +949,8 @@ declare const _default: () => {
949
949
  icon: string;
950
950
  };
951
951
  carousel: {
952
- right: string;
953
952
  left: string;
953
+ right: string;
954
954
  up: string;
955
955
  down: string;
956
956
  navigationIcon: string;
@@ -967,14 +967,14 @@ declare const _default: () => {
967
967
  };
968
968
  editor: {
969
969
  size: string;
970
- right: string;
971
- left: string;
972
- center: string;
973
970
  align: string;
974
- bold: string;
971
+ left: string;
972
+ right: string;
975
973
  code: string;
976
974
  hr: string;
975
+ center: string;
977
976
  font: string;
977
+ bold: string;
978
978
  fontSize: string;
979
979
  italic: string;
980
980
  strikethrough: string;
@@ -1037,8 +1037,8 @@ declare const _default: () => {
1037
1037
  active: string;
1038
1038
  };
1039
1039
  tabs: {
1040
- right: string;
1041
1040
  left: string;
1041
+ right: string;
1042
1042
  up: string;
1043
1043
  down: string;
1044
1044
  };
@@ -23,9 +23,10 @@ let redirect = true;
23
23
  if (props.context.attrs.onSubmitted) {
24
24
  redirect = false;
25
25
  }
26
+ const modelName = props.context.attrs.modelName || (typeof route.name === "string" ? route.name.split("-")[0] : void 0);
27
+ const id = props.context.attrs.modelId || route.params[typeof route.name === "string" ? route.name.split("-")[1] : "id"];
26
28
  if (!props.context.onSubmit) {
27
29
  props.context.node.props.onSubmit = async function() {
28
- const [module, id_name] = route.name.split("-");
29
30
  const removeUndefined = (obj) => {
30
31
  if (obj === null || obj === void 0) {
31
32
  return obj;
@@ -50,8 +51,8 @@ if (!props.context.onSubmit) {
50
51
  };
51
52
  const v = removeUndefined(props.context.value);
52
53
  try {
53
- if (route.params[id_name]) {
54
- if (await model(module).update(Number(route.params[id_name]), v)) {
54
+ if (id) {
55
+ if (await model(modelName).update(Number(id), v)) {
55
56
  quasar.notify({
56
57
  message: "Updated successfully",
57
58
  color: "positive",
@@ -62,7 +63,7 @@ if (!props.context.onSubmit) {
62
63
  }
63
64
  }
64
65
  } else {
65
- if (await model(module).add(v)) {
66
+ if (await model(modelName).add(v)) {
66
67
  quasar.notify({
67
68
  message: "Added successfully",
68
69
  color: "positive",
@@ -107,7 +107,9 @@ export const createLightPlugin = () => {
107
107
  "submit",
108
108
  "onSubmit",
109
109
  "gutter",
110
- "bordered"
110
+ "bordered",
111
+ "modelName",
112
+ "modelId"
111
113
  ],
112
114
  features: [forms, disablesChildren]
113
115
  });
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,89 @@
1
+ <script setup>
2
+ import { q } from "#imports";
3
+ import { ref, watch } from "vue";
4
+ const { system } = await q({
5
+ system: {
6
+ database: {
7
+ events: true
8
+ }
9
+ }
10
+ });
11
+ const selected = ref([]);
12
+ const eventDetail = ref(null);
13
+ watch(selected, async (newSelected) => {
14
+ if (newSelected.length > 0) {
15
+ const name = newSelected[0].Db + "." + newSelected[0].Name;
16
+ const event = await getEvent(name);
17
+ eventDetail.value = event;
18
+ console.log("\u53D6\u5F97\u7684\u4E8B\u4EF6\u8CC7\u6599:", event);
19
+ } else {
20
+ eventDetail.value = null;
21
+ }
22
+ }, { deep: true });
23
+ const getEvent = async (name) => {
24
+ const { system: system2 } = await q({
25
+ system: {
26
+ database: {
27
+ event: {
28
+ __args: {
29
+ name
30
+ }
31
+ }
32
+ }
33
+ }
34
+ });
35
+ return system2.database.event;
36
+ };
37
+ </script>
38
+
39
+ <template>
40
+ <l-page>
41
+
42
+ <q-table :rows="system.database.events" :pagination="{ rowsPerPage: 0 }" v-model:selected="selected"
43
+ selection="single" />
44
+
45
+ <!-- 顯示選中的事件詳細內容 -->
46
+ <div v-if="eventDetail" class="q-mt-md">
47
+ <q-card>
48
+ <q-card-section>
49
+ <div class="text-h6">事件詳細資料 - {{ eventDetail.Event }}</div>
50
+ </q-card-section>
51
+ <q-card-section>
52
+ <div class="row q-gutter-md">
53
+ <div class="col-12 col-md-6">
54
+ <q-card flat bordered>
55
+ <q-card-section>
56
+ <div class="text-subtitle1 text-weight-bold">基本資訊</div>
57
+ <q-separator class="q-my-sm" />
58
+ <div class="q-gutter-sm">
59
+ <div><strong>事件名稱:</strong> {{ eventDetail.Event }}</div>
60
+ <div>
61
+ <strong>SQL 模式:</strong>
62
+ <div class="q-mt-xs text-caption" style="word-break: break-all; line-height: 1.3;">
63
+ {{ eventDetail.sql_mode }}
64
+ </div>
65
+ </div>
66
+ <div><strong>時區:</strong> {{ eventDetail.time_zone }}</div>
67
+ <div><strong>字符集:</strong> {{ eventDetail.character_set_client }}</div>
68
+ <div><strong>連接校對:</strong> {{ eventDetail.collation_connection }}</div>
69
+ <div><strong>資料庫校對:</strong> {{ eventDetail['Database Collation'] }}</div>
70
+ </div>
71
+ </q-card-section>
72
+ </q-card>
73
+ </div>
74
+ <div class="col-12 col-md-6">
75
+ <q-card flat bordered>
76
+ <q-card-section>
77
+ <div class="text-subtitle1 text-weight-bold">事件定義</div>
78
+ <q-separator class="q-my-sm" />
79
+ <pre class="q-pa-sm bg-grey-1" style="white-space: pre-wrap; font-size: 12px;">{{ eventDetail['Create Event'] }}</pre>
80
+ </q-card-section>
81
+ </q-card>
82
+ </div>
83
+ </div>
84
+ </q-card-section>
85
+ </q-card>
86
+ </div>
87
+
88
+ </l-page>
89
+ </template>
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostlink/nuxt-light",
3
- "version": "1.48.10",
3
+ "version": "1.48.12",
4
4
  "description": "HostLink Nuxt Light Framework",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,7 +41,7 @@
41
41
  "defu": "^6.1.4",
42
42
  "diff2html": "^3.4.47",
43
43
  "formkit-quasar": "^0.0.15",
44
- "json-to-graphql-query": "^2.2.5",
44
+ "json-to-graphql-query": "^2.3.0",
45
45
  "nuxt-quasar-ui": "^2.1.12",
46
46
  "quasar": "^2.18.5",
47
47
  "vue-i18n": "^9.2.2",