@hostlink/nuxt-light 1.40.1 → 1.40.3
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/runtime/components/l-add-btn.vue.d.ts +2 -2
- package/dist/runtime/components/l-card.vue.d.ts +1 -1
- package/dist/runtime/components/l-col.vue.d.ts +3 -3
- package/dist/runtime/components/l-customizer.vue.d.ts +6 -6
- package/dist/runtime/components/l-date-picker.vue.d.ts +6 -6
- package/dist/runtime/components/l-editor.vue.d.ts +2 -2
- package/dist/runtime/components/l-fav-menu.vue.d.ts +2 -2
- package/dist/runtime/components/l-field.vue.d.ts +5 -5
- package/dist/runtime/components/l-file-manager.vue.d.ts +2 -2
- package/dist/runtime/components/l-file-upload.vue.d.ts +6 -6
- package/dist/runtime/components/l-file.vue.d.ts +4 -4
- package/dist/runtime/components/l-form-dialog.vue.d.ts +4 -4
- package/dist/runtime/components/l-form.vue +9 -2
- package/dist/runtime/components/l-form.vue.d.ts +1 -1
- package/dist/runtime/components/l-input.vue.d.ts +5 -5
- package/dist/runtime/components/l-item.vue.d.ts +1 -1
- package/dist/runtime/components/l-menu.vue.d.ts +2 -2
- package/dist/runtime/components/l-page.vue.d.ts +1 -1
- package/dist/runtime/components/l-select.vue.d.ts +5 -5
- package/dist/runtime/components/l-table.vue.d.ts +3 -3
- package/dist/runtime/components/l-tabs.vue.d.ts +1 -1
- package/dist/runtime/components/l-time-picker.vue.d.ts +1 -1
- package/dist/runtime/composables/useLight.d.ts +32 -32
- package/dist/runtime/formkit/Form.vue +15 -12
- package/dist/runtime/formkit/Form.vue.d.ts +2 -2
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
label: string;
|
|
3
|
-
to?: string | undefined;
|
|
4
3
|
color?: string | undefined;
|
|
4
|
+
to?: string | undefined;
|
|
5
5
|
$props: {
|
|
6
6
|
readonly label?: string | undefined;
|
|
7
|
-
readonly to?: string | undefined;
|
|
8
7
|
readonly color?: string | undefined;
|
|
8
|
+
readonly to?: 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;
|
|
@@ -29,8 +29,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
29
29
|
"onUpdate:maximized"?: ((value: boolean) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
flat: boolean;
|
|
32
|
-
bordered: boolean;
|
|
33
32
|
square: boolean;
|
|
33
|
+
bordered: boolean;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
36
36
|
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
|
-
xs: number | string;
|
|
13
|
-
sm: number | string;
|
|
14
|
-
md: number | string;
|
|
15
12
|
gutter: "xs" | "sm" | "md" | "lg" | "xl" | "none";
|
|
13
|
+
md: number | string;
|
|
14
|
+
sm: number | string;
|
|
15
|
+
xs: number | string;
|
|
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
|
-
|
|
4
|
+
theme: string;
|
|
5
5
|
dense: boolean;
|
|
6
6
|
footer: boolean;
|
|
7
|
-
menuOverlayHeader: boolean;
|
|
8
|
-
theme: string;
|
|
9
7
|
time: string;
|
|
8
|
+
miniState: boolean;
|
|
9
|
+
menuOverlayHeader: boolean;
|
|
10
10
|
$props: {
|
|
11
11
|
readonly color?: string | undefined;
|
|
12
|
-
readonly
|
|
12
|
+
readonly theme?: string | undefined;
|
|
13
13
|
readonly dense?: boolean | undefined;
|
|
14
14
|
readonly footer?: boolean | undefined;
|
|
15
|
-
readonly menuOverlayHeader?: boolean | undefined;
|
|
16
|
-
readonly theme?: string | undefined;
|
|
17
15
|
readonly time?: string | undefined;
|
|
16
|
+
readonly miniState?: boolean | undefined;
|
|
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>;
|
|
20
20
|
export default _default;
|
|
@@ -28,16 +28,16 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
28
28
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
29
29
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
|
-
dense: boolean;
|
|
32
|
-
rounded: boolean;
|
|
33
|
-
square: boolean;
|
|
34
31
|
disable: boolean;
|
|
35
|
-
|
|
36
|
-
hideBottomSpace: boolean;
|
|
32
|
+
stackLabel: boolean;
|
|
37
33
|
filled: boolean;
|
|
38
34
|
outlined: boolean;
|
|
39
35
|
standout: boolean;
|
|
40
|
-
|
|
36
|
+
hideBottomSpace: boolean;
|
|
37
|
+
rounded: boolean;
|
|
38
|
+
square: boolean;
|
|
39
|
+
dense: boolean;
|
|
40
|
+
mask: string;
|
|
41
41
|
range: boolean;
|
|
42
42
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
43
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -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
|
-
dense: boolean;
|
|
10
|
-
placeholder: string;
|
|
11
9
|
modelValue: string;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
dense: boolean;
|
|
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
|
-
dense?: any;
|
|
3
2
|
value?: any;
|
|
3
|
+
dense?: any;
|
|
4
4
|
$props: {
|
|
5
|
-
readonly dense?: any;
|
|
6
5
|
readonly value?: any;
|
|
6
|
+
readonly dense?: 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;
|
|
8
7
|
dark: boolean | null;
|
|
9
|
-
|
|
10
|
-
square: boolean;
|
|
11
|
-
hideBottomSpace: boolean;
|
|
8
|
+
stackLabel: boolean;
|
|
12
9
|
filled: boolean;
|
|
13
10
|
outlined: boolean;
|
|
14
11
|
standout: string | boolean;
|
|
15
|
-
|
|
12
|
+
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,16 +1,16 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
$emit: (event: "close" | "input", ...args: any[]) => void;
|
|
3
|
+
multiple: boolean;
|
|
3
4
|
base: string;
|
|
4
5
|
closeable: boolean;
|
|
5
6
|
height: string;
|
|
6
7
|
defaultAction: string;
|
|
7
|
-
multiple: boolean;
|
|
8
8
|
$props: {
|
|
9
|
+
readonly multiple?: boolean | undefined;
|
|
9
10
|
readonly base?: string | undefined;
|
|
10
11
|
readonly closeable?: boolean | undefined;
|
|
11
12
|
readonly height?: string | undefined;
|
|
12
13
|
readonly defaultAction?: string | undefined;
|
|
13
|
-
readonly multiple?: boolean | undefined;
|
|
14
14
|
};
|
|
15
15
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
16
|
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
|
-
|
|
29
|
-
|
|
30
|
-
rounded: boolean;
|
|
31
|
-
square: boolean;
|
|
28
|
+
accept: string;
|
|
29
|
+
stackLabel: boolean;
|
|
32
30
|
filled: boolean;
|
|
33
31
|
outlined: boolean;
|
|
34
32
|
standout: boolean;
|
|
35
|
-
|
|
33
|
+
rounded: boolean;
|
|
34
|
+
square: boolean;
|
|
35
|
+
dense: boolean;
|
|
36
|
+
path: string;
|
|
36
37
|
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
|
-
|
|
18
|
-
rounded: boolean;
|
|
19
|
-
square: boolean;
|
|
17
|
+
stackLabel: boolean;
|
|
20
18
|
filled: boolean;
|
|
21
19
|
outlined: boolean;
|
|
22
20
|
standout: boolean;
|
|
23
|
-
|
|
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
|
-
cancel: Function;
|
|
9
|
-
width: string;
|
|
10
8
|
value: Record<string, any>;
|
|
9
|
+
cancel: Function;
|
|
11
10
|
title: string;
|
|
11
|
+
width: string;
|
|
12
12
|
save: Function;
|
|
13
13
|
showNotification: boolean;
|
|
14
14
|
$props: {
|
|
15
|
-
readonly cancel?: Function | undefined;
|
|
16
|
-
readonly width?: string | undefined;
|
|
17
15
|
readonly value?: Record<string, any> | undefined;
|
|
16
|
+
readonly cancel?: Function | undefined;
|
|
18
17
|
readonly title?: string | undefined;
|
|
18
|
+
readonly width?: string | undefined;
|
|
19
19
|
readonly save?: Function | undefined;
|
|
20
20
|
readonly showNotification?: boolean | undefined;
|
|
21
21
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import { ref } from "vue";
|
|
2
|
+
import { computed, ref, useAttrs } from "vue";
|
|
3
3
|
import { useRouter, useRoute } from "vue-router";
|
|
4
4
|
import { useQuasar } from "quasar";
|
|
5
5
|
import { model } from "#imports";
|
|
@@ -76,12 +76,19 @@ const onSubmit = (e) => {
|
|
|
76
76
|
e.preventDefault();
|
|
77
77
|
save();
|
|
78
78
|
};
|
|
79
|
+
const attrs = useAttrs();
|
|
80
|
+
const localClass = computed(() => {
|
|
81
|
+
if (attrs.class) {
|
|
82
|
+
return attrs.class;
|
|
83
|
+
}
|
|
84
|
+
return "row q-col-gutter-" + props.gutter;
|
|
85
|
+
});
|
|
79
86
|
</script>
|
|
80
87
|
|
|
81
88
|
<template>
|
|
82
89
|
<q-form ref="form" @submit="onSubmit">
|
|
83
90
|
<l-card :bordered="bordered">
|
|
84
|
-
<q-card-section class="
|
|
91
|
+
<q-card-section :class="localClass">
|
|
85
92
|
<slot></slot>
|
|
86
93
|
</q-card-section>
|
|
87
94
|
|
|
@@ -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
|
-
bordered: boolean;
|
|
63
62
|
gutter: string;
|
|
63
|
+
bordered: boolean;
|
|
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;
|
|
21
20
|
dark: boolean | null;
|
|
22
|
-
|
|
23
|
-
square: boolean;
|
|
24
|
-
hideBottomSpace: boolean;
|
|
21
|
+
stackLabel: boolean;
|
|
25
22
|
filled: boolean;
|
|
26
23
|
outlined: boolean;
|
|
27
24
|
standout: string | boolean;
|
|
28
|
-
|
|
25
|
+
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
|
-
alignItems: "flex-start" | "center" | "flex-end" | "stretch";
|
|
19
18
|
top: boolean;
|
|
19
|
+
alignItems: "flex-start" | "center" | "flex-end" | "stretch";
|
|
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
|
-
dense?: any;
|
|
3
2
|
value?: any;
|
|
3
|
+
dense?: any;
|
|
4
4
|
$props: {
|
|
5
|
-
readonly dense?: any;
|
|
6
5
|
readonly value?: any;
|
|
6
|
+
readonly dense?: 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";
|
|
18
19
|
padding: boolean;
|
|
19
20
|
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,13 +1,13 @@
|
|
|
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
|
-
|
|
4
|
-
rounded: boolean;
|
|
5
|
-
square: boolean;
|
|
6
|
-
hideBottomSpace: boolean;
|
|
3
|
+
stackLabel: boolean;
|
|
7
4
|
filled: boolean;
|
|
8
5
|
outlined: boolean;
|
|
9
6
|
standout: string | boolean;
|
|
10
|
-
|
|
7
|
+
hideBottomSpace: boolean;
|
|
8
|
+
rounded: boolean;
|
|
9
|
+
square: boolean;
|
|
10
|
+
dense: boolean;
|
|
11
11
|
emitValue: boolean;
|
|
12
12
|
mapOptions: boolean;
|
|
13
13
|
optionValue: string | ((option: string | any) => any);
|
|
@@ -80,12 +80,12 @@ declare const __VLS_component: import("vue").DefineComponent<LTableProps, {
|
|
|
80
80
|
"onUpdate:selected"?: ((p: any[]) => any) | undefined;
|
|
81
81
|
}>, {
|
|
82
82
|
flat: boolean;
|
|
83
|
-
dense: boolean;
|
|
84
83
|
dark: boolean | null;
|
|
84
|
+
dense: boolean;
|
|
85
85
|
bordered: boolean;
|
|
86
|
+
actions: Array<string>;
|
|
86
87
|
fullscreen: boolean;
|
|
87
88
|
selected: any[];
|
|
88
|
-
actions: Array<string>;
|
|
89
89
|
pagination: {
|
|
90
90
|
sortBy?: string | null;
|
|
91
91
|
descending?: boolean;
|
|
@@ -93,7 +93,7 @@ declare const __VLS_component: import("vue").DefineComponent<LTableProps, {
|
|
|
93
93
|
rowsPerPage?: number;
|
|
94
94
|
rowsNumber?: number;
|
|
95
95
|
};
|
|
96
|
-
selection: "
|
|
96
|
+
selection: "multiple" | "none" | "single";
|
|
97
97
|
loadingLabel: string;
|
|
98
98
|
noDataLabel: string;
|
|
99
99
|
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: "
|
|
22
|
+
align: "right" | "left" | "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;
|
|
27
26
|
required: boolean;
|
|
28
27
|
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;
|
|
227
229
|
cancel: string;
|
|
228
230
|
close: string;
|
|
229
231
|
reset: string;
|
|
230
232
|
select: string;
|
|
231
233
|
filter: string;
|
|
232
234
|
clear: string;
|
|
233
|
-
set: string;
|
|
234
235
|
search: string;
|
|
235
236
|
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
|
-
align: string;
|
|
269
|
-
left: string;
|
|
270
268
|
right: string;
|
|
271
|
-
|
|
272
|
-
hr: string;
|
|
269
|
+
left: string;
|
|
273
270
|
center: string;
|
|
271
|
+
align: string;
|
|
274
272
|
bold: string;
|
|
273
|
+
code: string;
|
|
274
|
+
hr: string;
|
|
275
275
|
fontSize: string;
|
|
276
276
|
url: 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;
|
|
321
323
|
info: string;
|
|
322
324
|
warning: string;
|
|
323
|
-
negative: string;
|
|
324
|
-
positive: string;
|
|
325
325
|
};
|
|
326
326
|
arrow: {
|
|
327
|
-
left: string;
|
|
328
327
|
right: string;
|
|
328
|
+
left: string;
|
|
329
329
|
up: string;
|
|
330
330
|
down: string;
|
|
331
331
|
dropdown: string;
|
|
332
332
|
};
|
|
333
333
|
chevron: {
|
|
334
|
-
left: string;
|
|
335
334
|
right: string;
|
|
335
|
+
left: 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
|
-
left: string;
|
|
347
346
|
right: string;
|
|
347
|
+
left: 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
|
-
align: string;
|
|
365
|
-
left: string;
|
|
366
364
|
right: string;
|
|
365
|
+
left: string;
|
|
366
|
+
center: string;
|
|
367
|
+
align: string;
|
|
368
|
+
bold: string;
|
|
367
369
|
code: string;
|
|
368
370
|
hr: string;
|
|
369
|
-
center: string;
|
|
370
371
|
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
|
-
left: string;
|
|
435
434
|
right: string;
|
|
435
|
+
left: 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;
|
|
833
835
|
cancel: string;
|
|
834
836
|
close: string;
|
|
835
837
|
reset: string;
|
|
836
838
|
select: string;
|
|
837
839
|
filter: string;
|
|
838
840
|
clear: string;
|
|
839
|
-
set: string;
|
|
840
841
|
search: string;
|
|
841
842
|
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
|
-
align: string;
|
|
875
|
-
left: string;
|
|
876
874
|
right: string;
|
|
877
|
-
|
|
878
|
-
hr: string;
|
|
875
|
+
left: string;
|
|
879
876
|
center: string;
|
|
877
|
+
align: string;
|
|
880
878
|
bold: string;
|
|
879
|
+
code: string;
|
|
880
|
+
hr: string;
|
|
881
881
|
fontSize: string;
|
|
882
882
|
url: 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;
|
|
927
929
|
info: string;
|
|
928
930
|
warning: string;
|
|
929
|
-
negative: string;
|
|
930
|
-
positive: string;
|
|
931
931
|
};
|
|
932
932
|
arrow: {
|
|
933
|
-
left: string;
|
|
934
933
|
right: string;
|
|
934
|
+
left: string;
|
|
935
935
|
up: string;
|
|
936
936
|
down: string;
|
|
937
937
|
dropdown: string;
|
|
938
938
|
};
|
|
939
939
|
chevron: {
|
|
940
|
-
left: string;
|
|
941
940
|
right: string;
|
|
941
|
+
left: 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
|
-
left: string;
|
|
953
952
|
right: string;
|
|
953
|
+
left: 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
|
-
align: string;
|
|
971
|
-
left: string;
|
|
972
970
|
right: string;
|
|
971
|
+
left: string;
|
|
972
|
+
center: string;
|
|
973
|
+
align: string;
|
|
974
|
+
bold: string;
|
|
973
975
|
code: string;
|
|
974
976
|
hr: string;
|
|
975
|
-
center: string;
|
|
976
977
|
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
|
-
left: string;
|
|
1041
1040
|
right: string;
|
|
1041
|
+
left: string;
|
|
1042
1042
|
up: string;
|
|
1043
1043
|
down: string;
|
|
1044
1044
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import {} from "@formkit/inputs";
|
|
3
2
|
import { useRouter, useRoute } from "vue-router";
|
|
4
3
|
import { useQuasar } from "quasar";
|
|
5
4
|
import { computed, model } from "#imports";
|
|
@@ -72,19 +71,23 @@ if (!props.context.onSubmit) {
|
|
|
72
71
|
const isNoDirtyCheck = computed(() => {
|
|
73
72
|
return props.context.attrs["no-dirty-check"] !== void 0;
|
|
74
73
|
});
|
|
74
|
+
const localClass = computed(() => {
|
|
75
|
+
if (props.context.attrs.class) {
|
|
76
|
+
return props.context.attrs.class;
|
|
77
|
+
}
|
|
78
|
+
return "row q-col-gutter-md";
|
|
79
|
+
});
|
|
75
80
|
</script>
|
|
76
81
|
|
|
77
82
|
<template>
|
|
78
|
-
<
|
|
79
|
-
<
|
|
80
|
-
<
|
|
81
|
-
|
|
82
|
-
</q-card-section>
|
|
83
|
+
<l-card :bordered="bordered">
|
|
84
|
+
<q-card-section :class="localClass">
|
|
85
|
+
<slot v-bind="context"></slot>
|
|
86
|
+
</q-card-section>
|
|
83
87
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
</form>
|
|
88
|
+
<q-card-actions align="right" v-if="context.actions">
|
|
89
|
+
<l-btn icon="sym_o_check" :label="context.submitLabel ?? 'Submit'" @click="onSubmit"
|
|
90
|
+
:disabled="!isNoDirtyCheck && !context.state.dirty" :loading="context.state.loading"></l-btn>
|
|
91
|
+
</q-card-actions>
|
|
92
|
+
</l-card>
|
|
90
93
|
</template>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare var
|
|
1
|
+
declare var __VLS_10: {
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof
|
|
5
|
+
default?: (props: typeof __VLS_10) => any;
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
context: {
|