@simsustech/quasar-components 0.2.0 → 0.3.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/CHANGELOG.md +11 -0
- package/dist/{QSubmitButton.vue_vue_type_script_setup_true_lang.65d6ac94.js → QSubmitButton.vue_vue_type_script_setup_true_lang-b5f452c6.js} +5 -2
- package/dist/authentication.js +52 -26
- package/dist/{en-US.d5751f99.js → en-US-6cc72154.js} +81 -72
- package/dist/flags.js +1 -1
- package/dist/form.js +75 -24
- package/dist/general.js +40 -19
- package/dist/icons.js +3 -1
- package/dist/nl-38cb2607.js +134 -0
- package/dist/{nl.7a710ba4.js → nl-ea9ab282.js} +4 -1
- package/dist/types/ui/authentication/ConsentList.vue.d.ts +2 -58
- package/dist/types/ui/authentication/EmailChangeForm.vue.d.ts +20 -112
- package/dist/types/ui/authentication/EmailChangeStepper.vue.d.ts +13 -131
- package/dist/types/ui/authentication/LoginButton.vue.d.ts +9 -54
- package/dist/types/ui/authentication/LoginForm.vue.d.ts +20 -118
- package/dist/types/ui/authentication/OtpInput.vue.d.ts +4 -56
- package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +31 -140
- package/dist/types/ui/authentication/PasswordChangeStepper.vue.d.ts +13 -131
- package/dist/types/ui/authentication/RegisterForm.vue.d.ts +33 -167
- package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +18 -100
- package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +11 -64
- package/dist/types/ui/authentication/VerificationSlider.vue.d.ts +4 -60
- package/dist/types/ui/form/BooleanItem.vue.d.ts +1 -43
- package/dist/types/ui/form/BooleanSelect.vue.d.ts +2 -50
- package/dist/types/ui/form/DateInput.vue.d.ts +1 -43
- package/dist/types/ui/form/EmailInput.vue.d.ts +24 -0
- package/dist/types/ui/form/FormInput.vue.d.ts +2 -44
- package/dist/types/ui/form/FormItem.vue.d.ts +10 -49
- package/dist/types/ui/form/GenderItem.vue.d.ts +1 -43
- package/dist/types/ui/form/GenderSelect.vue.d.ts +2 -50
- package/dist/types/ui/form/PostalCodeInput.vue.d.ts +2 -50
- package/dist/types/ui/form/TelephoneNumberInput.vue.d.ts +2 -50
- package/dist/types/ui/form/index.d.ts +1 -0
- package/dist/types/ui/form/lang/index.d.ts +8 -2
- package/dist/types/ui/general/QLanguageSelect.vue.d.ts +1 -43
- package/dist/types/ui/general/QStyledCard.vue.d.ts +13 -58
- package/dist/types/ui/general/QStyledLayout.vue.d.ts +9 -54
- package/dist/types/ui/general/QSubmitButton.vue.d.ts +23 -128
- package/dist/types/ui/general/ResourcePage.vue.d.ts +29 -127
- package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +17 -88
- package/package.json +23 -23
- package/src/ui/authentication/EmailChangeStepper.vue +2 -2
- package/src/ui/authentication/PasswordChangeStepper.vue +2 -2
- package/src/ui/form/EmailInput.vue +50 -0
- package/src/ui/form/FormInput.vue +1 -1
- package/src/ui/form/FormItem.vue +1 -1
- package/src/ui/form/index.ts +1 -0
- package/src/ui/form/lang/en-US.ts +4 -1
- package/src/ui/form/lang/index.ts +4 -1
- package/src/ui/form/lang/nl.ts +4 -1
- package/src/ui/general/ResponsiveDialog.vue +7 -7
- package/dist/nl.b1ad9de9.js +0 -134
- /package/dist/{nl.7787ff31.js → nl-022c8c63.js} +0 -0
- /package/dist/{nl.1df15493.js → nl-710ec15d.js} +0 -0
|
@@ -4,127 +4,7 @@ export interface Props {
|
|
|
4
4
|
isNextButton?: boolean;
|
|
5
5
|
color?: string;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: {
|
|
8
|
-
new (...args: any[]): {
|
|
9
|
-
$: import("vue").ComponentInternalInstance;
|
|
10
|
-
$data: {};
|
|
11
|
-
$props: Partial<{
|
|
12
|
-
color: string;
|
|
13
|
-
loading: boolean;
|
|
14
|
-
useForm: boolean;
|
|
15
|
-
isNextButton: boolean;
|
|
16
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
-
loading: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
default: undefined;
|
|
20
|
-
};
|
|
21
|
-
useForm: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
};
|
|
24
|
-
isNextButton: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
};
|
|
27
|
-
color: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
}>> & {
|
|
32
|
-
onSubmit?: ((args_0: {
|
|
33
|
-
value?: string | undefined;
|
|
34
|
-
done: () => void;
|
|
35
|
-
}) => any) | undefined;
|
|
36
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "color" | "loading" | "useForm" | "isNextButton">;
|
|
37
|
-
$attrs: {
|
|
38
|
-
[x: string]: unknown;
|
|
39
|
-
};
|
|
40
|
-
$refs: {
|
|
41
|
-
[x: string]: unknown;
|
|
42
|
-
};
|
|
43
|
-
$slots: Readonly<{
|
|
44
|
-
[name: string]: import("vue").Slot | undefined;
|
|
45
|
-
}>;
|
|
46
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
47
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
48
|
-
$emit: (event: "submit", args_0: {
|
|
49
|
-
value?: string | undefined;
|
|
50
|
-
done: () => void;
|
|
51
|
-
}) => void;
|
|
52
|
-
$el: any;
|
|
53
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
-
loading: {
|
|
55
|
-
type: BooleanConstructor;
|
|
56
|
-
default: undefined;
|
|
57
|
-
};
|
|
58
|
-
useForm: {
|
|
59
|
-
type: BooleanConstructor;
|
|
60
|
-
};
|
|
61
|
-
isNextButton: {
|
|
62
|
-
type: BooleanConstructor;
|
|
63
|
-
};
|
|
64
|
-
color: {
|
|
65
|
-
type: StringConstructor;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
|
-
}>> & {
|
|
69
|
-
onSubmit?: ((args_0: {
|
|
70
|
-
value?: string | undefined;
|
|
71
|
-
done: () => void;
|
|
72
|
-
}) => any) | undefined;
|
|
73
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
74
|
-
submit: (payload_0: {
|
|
75
|
-
value?: string | undefined;
|
|
76
|
-
done: () => void;
|
|
77
|
-
}) => void;
|
|
78
|
-
}, string, {
|
|
79
|
-
color: string;
|
|
80
|
-
loading: boolean;
|
|
81
|
-
useForm: boolean;
|
|
82
|
-
isNextButton: boolean;
|
|
83
|
-
}, {}, string> & {
|
|
84
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
85
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
86
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
87
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
88
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
89
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
90
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
91
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
92
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
93
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
94
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
95
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
96
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
97
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
98
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
99
|
-
};
|
|
100
|
-
$forceUpdate: () => void;
|
|
101
|
-
$nextTick: typeof import("vue").nextTick;
|
|
102
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
103
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
|
104
|
-
loading: {
|
|
105
|
-
type: BooleanConstructor;
|
|
106
|
-
default: undefined;
|
|
107
|
-
};
|
|
108
|
-
useForm: {
|
|
109
|
-
type: BooleanConstructor;
|
|
110
|
-
};
|
|
111
|
-
isNextButton: {
|
|
112
|
-
type: BooleanConstructor;
|
|
113
|
-
};
|
|
114
|
-
color: {
|
|
115
|
-
type: StringConstructor;
|
|
116
|
-
default: string;
|
|
117
|
-
};
|
|
118
|
-
}>> & {
|
|
119
|
-
onSubmit?: ((args_0: {
|
|
120
|
-
value?: string | undefined;
|
|
121
|
-
done: () => void;
|
|
122
|
-
}) => any) | undefined;
|
|
123
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
124
|
-
__isFragment?: undefined;
|
|
125
|
-
__isTeleport?: undefined;
|
|
126
|
-
__isSuspense?: undefined;
|
|
127
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
declare const _default: import("vue").DefineComponent<{
|
|
128
8
|
loading: {
|
|
129
9
|
type: BooleanConstructor;
|
|
130
10
|
default: undefined;
|
|
@@ -139,20 +19,35 @@ declare const _default: {
|
|
|
139
19
|
type: StringConstructor;
|
|
140
20
|
default: string;
|
|
141
21
|
};
|
|
142
|
-
}>> & {
|
|
143
|
-
onSubmit?: ((args_0: {
|
|
144
|
-
value?: string | undefined;
|
|
145
|
-
done: () => void;
|
|
146
|
-
}) => any) | undefined;
|
|
147
22
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
148
23
|
submit: (payload_0: {
|
|
149
24
|
value?: string | undefined;
|
|
150
25
|
done: () => void;
|
|
151
26
|
}) => void;
|
|
152
|
-
}, string, {
|
|
27
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
loading: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
32
|
+
useForm: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
};
|
|
35
|
+
isNextButton: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
};
|
|
38
|
+
color: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
}>> & {
|
|
43
|
+
onSubmit?: ((args_0: {
|
|
44
|
+
value?: string | undefined;
|
|
45
|
+
done: () => void;
|
|
46
|
+
}) => any) | undefined;
|
|
47
|
+
}, {
|
|
153
48
|
color: string;
|
|
154
49
|
loading: boolean;
|
|
155
50
|
useForm: boolean;
|
|
156
51
|
isNextButton: boolean;
|
|
157
|
-
}
|
|
52
|
+
}>;
|
|
158
53
|
export default _default;
|
|
@@ -2,125 +2,10 @@ export interface Props {
|
|
|
2
2
|
type?: 'create' | 'update';
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: {
|
|
6
|
-
new (...args: any[]): {
|
|
7
|
-
$: import("vue").ComponentInternalInstance;
|
|
8
|
-
$data: {};
|
|
9
|
-
$props: Partial<{
|
|
10
|
-
type: "create" | "update";
|
|
11
|
-
disabled: boolean;
|
|
12
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
13
|
-
type: string;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
}>>> & {
|
|
16
|
-
onCreate?: ((args_0: {
|
|
17
|
-
data?: any;
|
|
18
|
-
done: (success?: boolean) => void;
|
|
19
|
-
}) => any) | undefined;
|
|
20
|
-
onUpdate?: ((args_0: {
|
|
21
|
-
data?: any;
|
|
22
|
-
done: (success?: boolean) => void;
|
|
23
|
-
}) => any) | undefined;
|
|
24
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled">;
|
|
25
|
-
$attrs: {
|
|
26
|
-
[x: string]: unknown;
|
|
27
|
-
};
|
|
28
|
-
$refs: {
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
};
|
|
31
|
-
$slots: Readonly<{
|
|
32
|
-
[name: string]: import("vue").Slot | undefined;
|
|
33
|
-
}>;
|
|
34
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
35
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
36
|
-
$emit: ((event: "create", args_0: {
|
|
37
|
-
data?: any;
|
|
38
|
-
done: (success?: boolean) => void;
|
|
39
|
-
}) => void) & ((event: "update", args_0: {
|
|
40
|
-
data?: any;
|
|
41
|
-
done: (success?: boolean) => void;
|
|
42
|
-
}) => void);
|
|
43
|
-
$el: any;
|
|
44
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
45
|
-
type: string;
|
|
46
|
-
disabled: boolean;
|
|
47
|
-
}>>> & {
|
|
48
|
-
onCreate?: ((args_0: {
|
|
49
|
-
data?: any;
|
|
50
|
-
done: (success?: boolean) => void;
|
|
51
|
-
}) => any) | undefined;
|
|
52
|
-
onUpdate?: ((args_0: {
|
|
53
|
-
data?: any;
|
|
54
|
-
done: (success?: boolean) => void;
|
|
55
|
-
}) => any) | undefined;
|
|
56
|
-
}, {
|
|
57
|
-
variables: import("vue").Ref<{}>;
|
|
58
|
-
functions: import("vue").Ref<{}>;
|
|
59
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
60
|
-
create: (payload_0: {
|
|
61
|
-
data?: any;
|
|
62
|
-
done: (success?: boolean) => void;
|
|
63
|
-
}) => void;
|
|
64
|
-
} & {
|
|
65
|
-
update: (payload_0: {
|
|
66
|
-
data?: any;
|
|
67
|
-
done: (success?: boolean) => void;
|
|
68
|
-
}) => void;
|
|
69
|
-
}, string, {
|
|
70
|
-
type: "create" | "update";
|
|
71
|
-
disabled: boolean;
|
|
72
|
-
}, {}, string> & {
|
|
73
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
74
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
75
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
76
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
77
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
78
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
79
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
80
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
81
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
82
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
83
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
84
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
85
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
86
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
87
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
88
|
-
};
|
|
89
|
-
$forceUpdate: () => void;
|
|
90
|
-
$nextTick: typeof import("vue").nextTick;
|
|
91
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
92
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
93
|
-
type: string;
|
|
94
|
-
disabled: boolean;
|
|
95
|
-
}>>> & {
|
|
96
|
-
onCreate?: ((args_0: {
|
|
97
|
-
data?: any;
|
|
98
|
-
done: (success?: boolean) => void;
|
|
99
|
-
}) => any) | undefined;
|
|
100
|
-
onUpdate?: ((args_0: {
|
|
101
|
-
data?: any;
|
|
102
|
-
done: (success?: boolean) => void;
|
|
103
|
-
}) => any) | undefined;
|
|
104
|
-
} & import("vue").ShallowUnwrapRef<{
|
|
105
|
-
variables: import("vue").Ref<{}>;
|
|
106
|
-
functions: import("vue").Ref<{}>;
|
|
107
|
-
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
108
|
-
__isFragment?: undefined;
|
|
109
|
-
__isTeleport?: undefined;
|
|
110
|
-
__isSuspense?: undefined;
|
|
111
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
112
6
|
type: string;
|
|
113
7
|
disabled: boolean;
|
|
114
|
-
}
|
|
115
|
-
onCreate?: ((args_0: {
|
|
116
|
-
data?: any;
|
|
117
|
-
done: (success?: boolean) => void;
|
|
118
|
-
}) => any) | undefined;
|
|
119
|
-
onUpdate?: ((args_0: {
|
|
120
|
-
data?: any;
|
|
121
|
-
done: (success?: boolean) => void;
|
|
122
|
-
}) => any) | undefined;
|
|
123
|
-
}, {
|
|
8
|
+
}>, {
|
|
124
9
|
variables: import("vue").Ref<{}>;
|
|
125
10
|
functions: import("vue").Ref<{}>;
|
|
126
11
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -128,20 +13,29 @@ declare const _default: {
|
|
|
128
13
|
data?: any;
|
|
129
14
|
done: (success?: boolean) => void;
|
|
130
15
|
}) => void;
|
|
131
|
-
} & {
|
|
132
16
|
update: (payload_0: {
|
|
133
17
|
data?: any;
|
|
134
18
|
done: (success?: boolean) => void;
|
|
135
19
|
}) => void;
|
|
136
|
-
}, string, {
|
|
20
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
21
|
+
type: string;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
}>>> & {
|
|
24
|
+
onCreate?: ((args_0: {
|
|
25
|
+
data?: any;
|
|
26
|
+
done: (success?: boolean) => void;
|
|
27
|
+
}) => any) | undefined;
|
|
28
|
+
onUpdate?: ((args_0: {
|
|
29
|
+
data?: any;
|
|
30
|
+
done: (success?: boolean) => void;
|
|
31
|
+
}) => any) | undefined;
|
|
32
|
+
}, {
|
|
137
33
|
type: "create" | "update";
|
|
138
34
|
disabled: boolean;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
};
|
|
144
|
-
});
|
|
35
|
+
}>, {
|
|
36
|
+
default?(_: {}): any;
|
|
37
|
+
header?(_: {}): any;
|
|
38
|
+
}>;
|
|
145
39
|
export default _default;
|
|
146
40
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
147
41
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -153,7 +47,15 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
153
47
|
};
|
|
154
48
|
};
|
|
155
49
|
type __VLS_WithDefaults<P, D> = {
|
|
156
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
50
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
157
51
|
default: D[K];
|
|
158
|
-
} : P[K];
|
|
52
|
+
}> : P[K];
|
|
53
|
+
};
|
|
54
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
55
|
+
new (): {
|
|
56
|
+
$slots: S;
|
|
57
|
+
};
|
|
159
58
|
};
|
|
59
|
+
type __VLS_Prettify<T> = {
|
|
60
|
+
[K in keyof T]: T[K];
|
|
61
|
+
} & {};
|
|
@@ -1,101 +1,25 @@
|
|
|
1
1
|
export interface Props {
|
|
2
2
|
display?: boolean;
|
|
3
3
|
}
|
|
4
|
-
declare const _default: {
|
|
5
|
-
new (...args: any[]): {
|
|
6
|
-
$: import("vue").ComponentInternalInstance;
|
|
7
|
-
$data: {};
|
|
8
|
-
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
9
|
-
onSubmit?: ((args_0: {
|
|
10
|
-
done: (success?: boolean) => void;
|
|
11
|
-
}) => any) | undefined;
|
|
12
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
13
|
-
$attrs: {
|
|
14
|
-
[x: string]: unknown;
|
|
15
|
-
};
|
|
16
|
-
$refs: {
|
|
17
|
-
[x: string]: unknown;
|
|
18
|
-
};
|
|
19
|
-
$slots: Readonly<{
|
|
20
|
-
[name: string]: import("vue").Slot | undefined;
|
|
21
|
-
}>;
|
|
22
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
23
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
24
|
-
$emit: (event: "submit", args_0: {
|
|
25
|
-
done: (success?: boolean) => void;
|
|
26
|
-
}) => void;
|
|
27
|
-
$el: any;
|
|
28
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
29
|
-
onSubmit?: ((args_0: {
|
|
30
|
-
done: (success?: boolean) => void;
|
|
31
|
-
}) => any) | undefined;
|
|
32
|
-
}, {
|
|
33
|
-
variables: import("vue").Ref<{}>;
|
|
34
|
-
functions: import("vue").Ref<{
|
|
35
|
-
open: () => boolean;
|
|
36
|
-
close: () => boolean;
|
|
37
|
-
toggle: () => boolean;
|
|
38
|
-
}>;
|
|
39
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
|
-
submit: (payload_0: {
|
|
41
|
-
done: (success?: boolean) => void;
|
|
42
|
-
}) => void;
|
|
43
|
-
}, string, {}, {}, string> & {
|
|
44
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
56
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
57
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
58
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
59
|
-
};
|
|
60
|
-
$forceUpdate: () => void;
|
|
61
|
-
$nextTick: typeof import("vue").nextTick;
|
|
62
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
63
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
64
|
-
onSubmit?: ((args_0: {
|
|
65
|
-
done: (success?: boolean) => void;
|
|
66
|
-
}) => any) | undefined;
|
|
67
|
-
} & import("vue").ShallowUnwrapRef<{
|
|
68
|
-
variables: import("vue").Ref<{}>;
|
|
69
|
-
functions: import("vue").Ref<{
|
|
70
|
-
open: () => boolean;
|
|
71
|
-
close: () => boolean;
|
|
72
|
-
toggle: () => boolean;
|
|
73
|
-
}>;
|
|
74
|
-
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
75
|
-
__isFragment?: undefined;
|
|
76
|
-
__isTeleport?: undefined;
|
|
77
|
-
__isSuspense?: undefined;
|
|
78
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
79
|
-
onSubmit?: ((args_0: {
|
|
80
|
-
done: (success?: boolean) => void;
|
|
81
|
-
}) => any) | undefined;
|
|
82
|
-
}, {
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
83
5
|
variables: import("vue").Ref<{}>;
|
|
84
6
|
functions: import("vue").Ref<{
|
|
85
|
-
open: () =>
|
|
86
|
-
close: () =>
|
|
87
|
-
toggle: () =>
|
|
7
|
+
open: () => void | undefined;
|
|
8
|
+
close: () => void | undefined;
|
|
9
|
+
toggle: () => void | undefined;
|
|
88
10
|
}>;
|
|
89
11
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
90
12
|
submit: (payload_0: {
|
|
91
13
|
done: (success?: boolean) => void;
|
|
92
14
|
}) => void;
|
|
93
|
-
}, string,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
});
|
|
15
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
16
|
+
onSubmit?: ((args_0: {
|
|
17
|
+
done: (success?: boolean) => void;
|
|
18
|
+
}) => any) | undefined;
|
|
19
|
+
}, {}>, {
|
|
20
|
+
title?(_: {}): any;
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
}>;
|
|
99
23
|
export default _default;
|
|
100
24
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
101
25
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -106,3 +30,8 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
106
30
|
required: true;
|
|
107
31
|
};
|
|
108
32
|
};
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simsustech/quasar-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"author": "Stefan van Herwijnen",
|
|
5
5
|
"description": "High level components for Quasar Framework",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,34 +46,34 @@
|
|
|
46
46
|
},
|
|
47
47
|
"bugs": "https://github.com/simsusech/quasar-components/issues",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"validator": "^13.
|
|
49
|
+
"validator": "^13.9.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"quasar": "^2.9.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@types/node": "^18.
|
|
56
|
-
"@types/validator": "^13.7.
|
|
57
|
-
"@types/ws": "^8.5.
|
|
58
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
59
|
-
"@typescript-eslint/parser": "^5.
|
|
60
|
-
"@vitejs/plugin-vue": "^
|
|
61
|
-
"@vue/server-renderer": "^3.2.
|
|
62
|
-
"eslint": "^8.
|
|
63
|
-
"eslint-config-prettier": "^8.
|
|
55
|
+
"@types/node": "^18.16.3",
|
|
56
|
+
"@types/validator": "^13.7.15",
|
|
57
|
+
"@types/ws": "^8.5.4",
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
|
59
|
+
"@typescript-eslint/parser": "^5.59.2",
|
|
60
|
+
"@vitejs/plugin-vue": "^4.2.1",
|
|
61
|
+
"@vue/server-renderer": "^3.2.47",
|
|
62
|
+
"eslint": "^8.39.0",
|
|
63
|
+
"eslint-config-prettier": "^8.8.0",
|
|
64
64
|
"eslint-plugin-prettier-vue": "^4.2.0",
|
|
65
|
-
"eslint-plugin-vue": "^9.
|
|
66
|
-
"glob": "^
|
|
67
|
-
"local-pkg": "^0.4.
|
|
68
|
-
"prettier": "^2.
|
|
69
|
-
"quasar": "^2.
|
|
70
|
-
"rimraf": "^
|
|
71
|
-
"typescript": "^
|
|
72
|
-
"unplugin-vue-components": "^0.
|
|
73
|
-
"vite": "^3.
|
|
74
|
-
"vue": "^3.2.
|
|
75
|
-
"vue-router": "^4.1.
|
|
76
|
-
"vue-tsc": "^1.
|
|
65
|
+
"eslint-plugin-vue": "^9.11.0",
|
|
66
|
+
"glob": "^10.2.2",
|
|
67
|
+
"local-pkg": "^0.4.3",
|
|
68
|
+
"prettier": "^2.8.8",
|
|
69
|
+
"quasar": "^2.11.10",
|
|
70
|
+
"rimraf": "^5.0.0",
|
|
71
|
+
"typescript": "^5.0.4",
|
|
72
|
+
"unplugin-vue-components": "^0.24.1",
|
|
73
|
+
"vite": "^4.3.4",
|
|
74
|
+
"vue": "^3.2.47",
|
|
75
|
+
"vue-router": "^4.1.6",
|
|
76
|
+
"vue-tsc": "^1.6.4"
|
|
77
77
|
},
|
|
78
78
|
"scripts": {
|
|
79
79
|
"build:plugin": "vite build",
|
|
@@ -100,7 +100,7 @@ watch($q.lang, (val) => {
|
|
|
100
100
|
})
|
|
101
101
|
|
|
102
102
|
const steps = ['requestOtp', 'changeEmail'] as const
|
|
103
|
-
const step = ref<typeof steps[number]>('requestOtp')
|
|
103
|
+
const step = ref<(typeof steps)[number]>('requestOtp')
|
|
104
104
|
const email = ref('')
|
|
105
105
|
const header = computed(() => lang.value.email.changeEmail)
|
|
106
106
|
const emailChanged = computed(() => lang.value.email.emailChanged)
|
|
@@ -148,7 +148,7 @@ const variables = ref({
|
|
|
148
148
|
steps
|
|
149
149
|
})
|
|
150
150
|
const functions = ref({
|
|
151
|
-
goToStep: (newStep: typeof steps[number]) => (step.value = newStep)
|
|
151
|
+
goToStep: (newStep: (typeof steps)[number]) => (step.value = newStep)
|
|
152
152
|
})
|
|
153
153
|
defineExpose({
|
|
154
154
|
variables,
|
|
@@ -100,7 +100,7 @@ watch($q.lang, (val) => {
|
|
|
100
100
|
})
|
|
101
101
|
|
|
102
102
|
const steps = ['requestOtp', 'changePassword'] as const
|
|
103
|
-
const step = ref<typeof steps[number]>('requestOtp')
|
|
103
|
+
const step = ref<(typeof steps)[number]>('requestOtp')
|
|
104
104
|
const email = ref('')
|
|
105
105
|
const header = computed(() => lang.value.password.changePassword)
|
|
106
106
|
const passwordChanged = computed(() => lang.value.password.passwordChanged)
|
|
@@ -148,7 +148,7 @@ const variables = ref({
|
|
|
148
148
|
steps
|
|
149
149
|
})
|
|
150
150
|
const functions = ref({
|
|
151
|
-
goToStep: (newStep: typeof steps[number]) => (step.value = newStep)
|
|
151
|
+
goToStep: (newStep: (typeof steps)[number]) => (step.value = newStep)
|
|
152
152
|
})
|
|
153
153
|
defineExpose({
|
|
154
154
|
variables,
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<q-input
|
|
3
|
+
outlined
|
|
4
|
+
:placeholder="lang.email.subject"
|
|
5
|
+
:model-value="subject"
|
|
6
|
+
type="text"
|
|
7
|
+
@update:model-value="($event) => emit('update:subject', $event)"
|
|
8
|
+
/>
|
|
9
|
+
<q-editor
|
|
10
|
+
:model-value="body"
|
|
11
|
+
@update:model-value="($event) => emit('update:body', $event)"
|
|
12
|
+
/>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script lang="ts">
|
|
16
|
+
export default {
|
|
17
|
+
name: 'EmailInput'
|
|
18
|
+
}
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<script setup lang="ts">
|
|
22
|
+
import { ref, useAttrs, watch } from 'vue'
|
|
23
|
+
import { useQuasar } from 'quasar'
|
|
24
|
+
import { useLang, loadLang } from './lang'
|
|
25
|
+
|
|
26
|
+
export interface Props {
|
|
27
|
+
subject: string
|
|
28
|
+
body: string
|
|
29
|
+
}
|
|
30
|
+
const props = defineProps<Props>()
|
|
31
|
+
const attrs = useAttrs()
|
|
32
|
+
const emit = defineEmits<{
|
|
33
|
+
(e: 'update:subject', value: string | number | null): void
|
|
34
|
+
(e: 'update:body', value: string | null): void
|
|
35
|
+
}>()
|
|
36
|
+
|
|
37
|
+
const $q = useQuasar()
|
|
38
|
+
const lang = useLang()
|
|
39
|
+
|
|
40
|
+
const variables = ref({
|
|
41
|
+
// header: lang.value.some.nested.prop
|
|
42
|
+
})
|
|
43
|
+
const functions = ref({
|
|
44
|
+
// submit
|
|
45
|
+
})
|
|
46
|
+
defineExpose({
|
|
47
|
+
variables,
|
|
48
|
+
functions
|
|
49
|
+
})
|
|
50
|
+
</script>
|
|
@@ -15,7 +15,7 @@ import { ref, watch, useAttrs } from 'vue'
|
|
|
15
15
|
import { QInput, useQuasar, ValidationRule } from 'quasar'
|
|
16
16
|
import { useLang, loadLang } from './lang'
|
|
17
17
|
|
|
18
|
-
export type FormItems = 'name' | 'firstName' | '
|
|
18
|
+
export type FormItems = 'name' | 'firstName' | 'lastName' | 'address' | 'city'
|
|
19
19
|
|
|
20
20
|
export interface Props {
|
|
21
21
|
modelValue?: string | null
|
package/src/ui/form/FormItem.vue
CHANGED
package/src/ui/form/index.ts
CHANGED
|
@@ -7,3 +7,4 @@ export { default as TelephoneNumberInput } from './TelephoneNumberInput.vue'
|
|
|
7
7
|
export { default as DateInput } from './DateInput.vue'
|
|
8
8
|
export { default as BooleanSelect } from './BooleanSelect.vue'
|
|
9
9
|
export { default as BooleanItem } from './BooleanItem.vue'
|
|
10
|
+
export { default as EmailInput } from './EmailInput.vue'
|