@simsustech/quasar-components 0.1.1 → 0.1.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/CHANGELOG.md +12 -0
- package/dist/QSubmitButton.vue_vue_type_script_setup_true_lang.1d0c06eb.js +93 -0
- package/dist/authentication.js +1651 -0
- package/dist/flags.js +217 -0
- package/dist/general.js +81 -0
- package/dist/icons.js +23 -0
- package/dist/nl.6b0aedb7.js +89 -0
- package/dist/nl.7787ff31.js +9 -0
- package/dist/nl.b1ad9de9.js +134 -0
- package/dist/style.css +4 -0
- package/dist/types/ui/authentication/ConsentList.vue.d.ts +85 -0
- package/dist/types/ui/authentication/EmailChangeForm.vue.d.ts +147 -0
- package/dist/types/ui/authentication/EmailChangeStepper.vue.d.ts +168 -0
- package/dist/types/ui/authentication/LoginButton.vue.d.ts +69 -0
- package/dist/types/ui/authentication/LoginForm.vue.d.ts +157 -0
- package/dist/types/ui/authentication/OtpInput.vue.d.ts +69 -0
- package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +187 -0
- package/dist/types/ui/authentication/PasswordChangeStepper.vue.d.ts +168 -0
- package/dist/types/ui/authentication/RegisterForm.vue.d.ts +230 -0
- package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +132 -0
- package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +82 -0
- package/dist/types/ui/authentication/VerificationSlider.vue.d.ts +77 -0
- package/dist/types/ui/authentication/index.d.ts +12 -0
- package/dist/types/ui/authentication/lang/en-US.d.ts +3 -0
- package/dist/types/ui/authentication/lang/index.d.ts +176 -0
- package/dist/types/ui/authentication/lang/nl.d.ts +3 -0
- package/dist/types/ui/flags/index.d.ts +3 -0
- package/dist/types/ui/flags/lang/en-US.d.ts +3 -0
- package/dist/types/ui/flags/lang/index.d.ts +266 -0
- package/dist/types/ui/flags/lang/nl.d.ts +3 -0
- package/dist/types/ui/general/QStyledCard.vue.d.ts +74 -0
- package/dist/types/ui/general/QStyledLayout.vue.d.ts +69 -0
- package/dist/types/ui/general/QSubmitButton.vue.d.ts +138 -0
- package/dist/types/ui/general/index.d.ts +2 -0
- package/dist/types/ui/general/lang/en-US.d.ts +3 -0
- package/dist/types/ui/general/lang/index.d.ts +16 -0
- package/dist/types/ui/general/lang/nl.d.ts +3 -0
- package/dist/types/ui/icons/icons.d.ts +6 -0
- package/dist/types/ui/icons/index.d.ts +2 -0
- package/dist/types/ui/index.d.ts +1 -0
- package/dist/types/virtualModules.d.ts +2 -0
- package/dist/types/vite-plugin.d.ts +4 -0
- package/dist/virtualModules.d.ts +2 -0
- package/dist/virtualModules.js +2 -0
- package/dist/vite-plugin.d.ts +4 -0
- package/dist/vite-plugin.js +81 -0
- package/package.json +8 -5
- package/src/ui/authentication/EmailChangeForm.vue +9 -4
- package/src/ui/authentication/EmailChangeStepper.vue +4 -0
- package/src/ui/authentication/LoginForm.vue +7 -2
- package/src/ui/authentication/PasswordChangeForm.vue +7 -2
- package/src/ui/authentication/PasswordChangeStepper.vue +4 -0
- package/src/ui/authentication/RegisterForm.vue +7 -2
- package/src/ui/authentication/RequestOtpForm.vue +3 -3
- package/src/ui/general/QSubmitButton.vue +1 -1
- package/src/ui/index.ts +0 -1
- package/src/virtualModules.ts +70 -0
- package/src/vite-plugin.ts +40 -17
- package/tsconfig.build.plugin.json +1 -1
- package/tsconfig.node.json +1 -1
- package/vite.config.ts +63 -63
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
export interface Language {
|
|
2
|
+
isoName: string;
|
|
3
|
+
countries: {
|
|
4
|
+
'ar-TN': string;
|
|
5
|
+
ar: string;
|
|
6
|
+
'az-Latn': string;
|
|
7
|
+
bg: string;
|
|
8
|
+
bn: string;
|
|
9
|
+
ca: string;
|
|
10
|
+
cs: string;
|
|
11
|
+
da: string;
|
|
12
|
+
de: string;
|
|
13
|
+
el: string;
|
|
14
|
+
'en-GB': string;
|
|
15
|
+
'en-US': string;
|
|
16
|
+
eo: string;
|
|
17
|
+
es: string;
|
|
18
|
+
et: string;
|
|
19
|
+
eu: string;
|
|
20
|
+
'fa-IR': string;
|
|
21
|
+
fa: string;
|
|
22
|
+
fi: string;
|
|
23
|
+
fr: string;
|
|
24
|
+
gn: string;
|
|
25
|
+
he: string;
|
|
26
|
+
hr: string;
|
|
27
|
+
hu: string;
|
|
28
|
+
id: string;
|
|
29
|
+
is: string;
|
|
30
|
+
it: string;
|
|
31
|
+
ja: string;
|
|
32
|
+
km: string;
|
|
33
|
+
'ko-KR': string;
|
|
34
|
+
'kur-CKB': string;
|
|
35
|
+
kz: string;
|
|
36
|
+
lt: string;
|
|
37
|
+
lu: string;
|
|
38
|
+
lv: string;
|
|
39
|
+
ml: string;
|
|
40
|
+
mm: string;
|
|
41
|
+
ms: string;
|
|
42
|
+
my: string;
|
|
43
|
+
'nb-NO': string;
|
|
44
|
+
nl: string;
|
|
45
|
+
pl: string;
|
|
46
|
+
'pt-BR': string;
|
|
47
|
+
pt: string;
|
|
48
|
+
ro: string;
|
|
49
|
+
ru: string;
|
|
50
|
+
sk: string;
|
|
51
|
+
sl: string;
|
|
52
|
+
sm: string;
|
|
53
|
+
'sr-CYR': string;
|
|
54
|
+
sr: string;
|
|
55
|
+
sv: string;
|
|
56
|
+
ta: string;
|
|
57
|
+
th: string;
|
|
58
|
+
tr: string;
|
|
59
|
+
ug: string;
|
|
60
|
+
uk: string;
|
|
61
|
+
'uz-Cyrl': string;
|
|
62
|
+
'uz-Latn': string;
|
|
63
|
+
vi: string;
|
|
64
|
+
'zh-CN': string;
|
|
65
|
+
'zh-TW': string;
|
|
66
|
+
};
|
|
67
|
+
languages: {
|
|
68
|
+
'ar-TN': string;
|
|
69
|
+
ar: string;
|
|
70
|
+
'az-Latn': string;
|
|
71
|
+
bg: string;
|
|
72
|
+
bn: string;
|
|
73
|
+
ca: string;
|
|
74
|
+
cs: string;
|
|
75
|
+
da: string;
|
|
76
|
+
de: string;
|
|
77
|
+
el: string;
|
|
78
|
+
'en-GB': string;
|
|
79
|
+
'en-US': string;
|
|
80
|
+
eo: string;
|
|
81
|
+
es: string;
|
|
82
|
+
et: string;
|
|
83
|
+
eu: string;
|
|
84
|
+
'fa-IR': string;
|
|
85
|
+
fa: string;
|
|
86
|
+
fi: string;
|
|
87
|
+
fr: string;
|
|
88
|
+
gn: string;
|
|
89
|
+
he: string;
|
|
90
|
+
hr: string;
|
|
91
|
+
hu: string;
|
|
92
|
+
id: string;
|
|
93
|
+
is: string;
|
|
94
|
+
it: string;
|
|
95
|
+
ja: string;
|
|
96
|
+
km: string;
|
|
97
|
+
'ko-KR': string;
|
|
98
|
+
'kur-CKB': string;
|
|
99
|
+
kz: string;
|
|
100
|
+
lt: string;
|
|
101
|
+
lu: string;
|
|
102
|
+
lv: string;
|
|
103
|
+
ml: string;
|
|
104
|
+
mm: string;
|
|
105
|
+
ms: string;
|
|
106
|
+
my: string;
|
|
107
|
+
'nb-NO': string;
|
|
108
|
+
nl: string;
|
|
109
|
+
pl: string;
|
|
110
|
+
'pt-BR': string;
|
|
111
|
+
pt: string;
|
|
112
|
+
ro: string;
|
|
113
|
+
ru: string;
|
|
114
|
+
sk: string;
|
|
115
|
+
sl: string;
|
|
116
|
+
sm: string;
|
|
117
|
+
'sr-CYR': string;
|
|
118
|
+
sr: string;
|
|
119
|
+
sv: string;
|
|
120
|
+
ta: string;
|
|
121
|
+
th: string;
|
|
122
|
+
tr: string;
|
|
123
|
+
ug: string;
|
|
124
|
+
uk: string;
|
|
125
|
+
'uz-Cyrl': string;
|
|
126
|
+
'uz-Latn': string;
|
|
127
|
+
vi: string;
|
|
128
|
+
'zh-CN': string;
|
|
129
|
+
'zh-TW': string;
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
import type { Ref } from 'vue';
|
|
133
|
+
export declare const lang: Ref<{
|
|
134
|
+
isoName: string;
|
|
135
|
+
countries: {
|
|
136
|
+
'ar-TN': string;
|
|
137
|
+
ar: string;
|
|
138
|
+
'az-Latn': string;
|
|
139
|
+
bg: string;
|
|
140
|
+
bn: string;
|
|
141
|
+
ca: string;
|
|
142
|
+
cs: string;
|
|
143
|
+
da: string;
|
|
144
|
+
de: string;
|
|
145
|
+
el: string;
|
|
146
|
+
'en-GB': string;
|
|
147
|
+
'en-US': string;
|
|
148
|
+
eo: string;
|
|
149
|
+
es: string;
|
|
150
|
+
et: string;
|
|
151
|
+
eu: string;
|
|
152
|
+
'fa-IR': string;
|
|
153
|
+
fa: string;
|
|
154
|
+
fi: string;
|
|
155
|
+
fr: string;
|
|
156
|
+
gn: string;
|
|
157
|
+
he: string;
|
|
158
|
+
hr: string;
|
|
159
|
+
hu: string;
|
|
160
|
+
id: string;
|
|
161
|
+
is: string;
|
|
162
|
+
it: string;
|
|
163
|
+
ja: string;
|
|
164
|
+
km: string;
|
|
165
|
+
'ko-KR': string;
|
|
166
|
+
'kur-CKB': string;
|
|
167
|
+
kz: string;
|
|
168
|
+
lt: string;
|
|
169
|
+
lu: string;
|
|
170
|
+
lv: string;
|
|
171
|
+
ml: string;
|
|
172
|
+
mm: string;
|
|
173
|
+
ms: string;
|
|
174
|
+
my: string;
|
|
175
|
+
'nb-NO': string;
|
|
176
|
+
nl: string;
|
|
177
|
+
pl: string;
|
|
178
|
+
'pt-BR': string;
|
|
179
|
+
pt: string;
|
|
180
|
+
ro: string;
|
|
181
|
+
ru: string;
|
|
182
|
+
sk: string;
|
|
183
|
+
sl: string;
|
|
184
|
+
sm: string;
|
|
185
|
+
'sr-CYR': string;
|
|
186
|
+
sr: string;
|
|
187
|
+
sv: string;
|
|
188
|
+
ta: string;
|
|
189
|
+
th: string;
|
|
190
|
+
tr: string;
|
|
191
|
+
ug: string;
|
|
192
|
+
uk: string;
|
|
193
|
+
'uz-Cyrl': string;
|
|
194
|
+
'uz-Latn': string;
|
|
195
|
+
vi: string;
|
|
196
|
+
'zh-CN': string;
|
|
197
|
+
'zh-TW': string;
|
|
198
|
+
};
|
|
199
|
+
languages: {
|
|
200
|
+
'ar-TN': string;
|
|
201
|
+
ar: string;
|
|
202
|
+
'az-Latn': string;
|
|
203
|
+
bg: string;
|
|
204
|
+
bn: string;
|
|
205
|
+
ca: string;
|
|
206
|
+
cs: string;
|
|
207
|
+
da: string;
|
|
208
|
+
de: string;
|
|
209
|
+
el: string;
|
|
210
|
+
'en-GB': string;
|
|
211
|
+
'en-US': string;
|
|
212
|
+
eo: string;
|
|
213
|
+
es: string;
|
|
214
|
+
et: string;
|
|
215
|
+
eu: string;
|
|
216
|
+
'fa-IR': string;
|
|
217
|
+
fa: string;
|
|
218
|
+
fi: string;
|
|
219
|
+
fr: string;
|
|
220
|
+
gn: string;
|
|
221
|
+
he: string;
|
|
222
|
+
hr: string;
|
|
223
|
+
hu: string;
|
|
224
|
+
id: string;
|
|
225
|
+
is: string;
|
|
226
|
+
it: string;
|
|
227
|
+
ja: string;
|
|
228
|
+
km: string;
|
|
229
|
+
'ko-KR': string;
|
|
230
|
+
'kur-CKB': string;
|
|
231
|
+
kz: string;
|
|
232
|
+
lt: string;
|
|
233
|
+
lu: string;
|
|
234
|
+
lv: string;
|
|
235
|
+
ml: string;
|
|
236
|
+
mm: string;
|
|
237
|
+
ms: string;
|
|
238
|
+
my: string;
|
|
239
|
+
'nb-NO': string;
|
|
240
|
+
nl: string;
|
|
241
|
+
pl: string;
|
|
242
|
+
'pt-BR': string;
|
|
243
|
+
pt: string;
|
|
244
|
+
ro: string;
|
|
245
|
+
ru: string;
|
|
246
|
+
sk: string;
|
|
247
|
+
sl: string;
|
|
248
|
+
sm: string;
|
|
249
|
+
'sr-CYR': string;
|
|
250
|
+
sr: string;
|
|
251
|
+
sv: string;
|
|
252
|
+
ta: string;
|
|
253
|
+
th: string;
|
|
254
|
+
tr: string;
|
|
255
|
+
ug: string;
|
|
256
|
+
uk: string;
|
|
257
|
+
'uz-Cyrl': string;
|
|
258
|
+
'uz-Latn': string;
|
|
259
|
+
vi: string;
|
|
260
|
+
'zh-CN': string;
|
|
261
|
+
'zh-TW': string;
|
|
262
|
+
};
|
|
263
|
+
}>;
|
|
264
|
+
export declare const defineLang: (lang: Language) => Language;
|
|
265
|
+
export declare const useLang: () => Ref<Language>;
|
|
266
|
+
export declare const loadLang: (isoName: string) => Promise<void>;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { QCardActionsProps } from 'quasar';
|
|
2
|
+
export interface Props {
|
|
3
|
+
actions?: QCardActionsProps;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: {
|
|
6
|
+
new (...args: any[]): {
|
|
7
|
+
$: import("vue").ComponentInternalInstance;
|
|
8
|
+
$data: {};
|
|
9
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
10
|
+
$attrs: {
|
|
11
|
+
[x: string]: unknown;
|
|
12
|
+
};
|
|
13
|
+
$refs: {
|
|
14
|
+
[x: string]: unknown;
|
|
15
|
+
};
|
|
16
|
+
$slots: Readonly<{
|
|
17
|
+
[name: string]: import("vue").Slot | undefined;
|
|
18
|
+
}>;
|
|
19
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
20
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
21
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
22
|
+
$el: any;
|
|
23
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {
|
|
24
|
+
variables: import("vue").Ref<{}>;
|
|
25
|
+
functions: import("vue").Ref<{}>;
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
27
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
28
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
29
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
30
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
31
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
32
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
40
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
41
|
+
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;
|
|
42
|
+
};
|
|
43
|
+
$forceUpdate: () => void;
|
|
44
|
+
$nextTick: typeof import("vue").nextTick;
|
|
45
|
+
$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;
|
|
46
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & import("vue").ShallowUnwrapRef<{
|
|
47
|
+
variables: import("vue").Ref<{}>;
|
|
48
|
+
functions: import("vue").Ref<{}>;
|
|
49
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
50
|
+
__isFragment?: undefined;
|
|
51
|
+
__isTeleport?: undefined;
|
|
52
|
+
__isSuspense?: undefined;
|
|
53
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {
|
|
54
|
+
variables: import("vue").Ref<{}>;
|
|
55
|
+
functions: import("vue").Ref<{}>;
|
|
56
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
57
|
+
$slots: {
|
|
58
|
+
image: (_: {}) => any;
|
|
59
|
+
title: (_: {}) => any;
|
|
60
|
+
subtitle: (_: {}) => any;
|
|
61
|
+
default: (_: {}) => any;
|
|
62
|
+
actions: (_: {}) => any;
|
|
63
|
+
};
|
|
64
|
+
});
|
|
65
|
+
export default _default;
|
|
66
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
67
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
68
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
69
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
70
|
+
} : {
|
|
71
|
+
type: import('vue').PropType<T[K]>;
|
|
72
|
+
required: true;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
title: string;
|
|
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>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
9
|
+
$attrs: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
};
|
|
12
|
+
$refs: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
$slots: Readonly<{
|
|
16
|
+
[name: string]: import("vue").Slot | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
19
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
20
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
21
|
+
$el: any;
|
|
22
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {
|
|
23
|
+
variables: import("vue").Ref<{}>;
|
|
24
|
+
functions: import("vue").Ref<{}>;
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
26
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
27
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
28
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
29
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
30
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
31
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
32
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
39
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
40
|
+
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;
|
|
41
|
+
};
|
|
42
|
+
$forceUpdate: () => void;
|
|
43
|
+
$nextTick: typeof import("vue").nextTick;
|
|
44
|
+
$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;
|
|
45
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & import("vue").ShallowUnwrapRef<{
|
|
46
|
+
variables: import("vue").Ref<{}>;
|
|
47
|
+
functions: import("vue").Ref<{}>;
|
|
48
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
49
|
+
__isFragment?: undefined;
|
|
50
|
+
__isTeleport?: undefined;
|
|
51
|
+
__isSuspense?: undefined;
|
|
52
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {
|
|
53
|
+
variables: import("vue").Ref<{}>;
|
|
54
|
+
functions: import("vue").Ref<{}>;
|
|
55
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
56
|
+
$slots: {
|
|
57
|
+
leftDrawerItems: (_: {}) => any;
|
|
58
|
+
};
|
|
59
|
+
});
|
|
60
|
+
export default _default;
|
|
61
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
62
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
63
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
64
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
65
|
+
} : {
|
|
66
|
+
type: import('vue').PropType<T[K]>;
|
|
67
|
+
required: true;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
loading?: boolean;
|
|
3
|
+
useForm?: boolean;
|
|
4
|
+
isNextButton?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: {
|
|
7
|
+
new (...args: any[]): {
|
|
8
|
+
$: import("vue").ComponentInternalInstance;
|
|
9
|
+
$data: {};
|
|
10
|
+
$props: Partial<{
|
|
11
|
+
loading: boolean;
|
|
12
|
+
useForm: boolean;
|
|
13
|
+
isNextButton: boolean;
|
|
14
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
loading: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: undefined;
|
|
18
|
+
};
|
|
19
|
+
useForm: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
};
|
|
22
|
+
isNextButton: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
};
|
|
25
|
+
}>> & {
|
|
26
|
+
onSubmit?: ((args_0: {
|
|
27
|
+
value?: string | undefined;
|
|
28
|
+
done: () => void;
|
|
29
|
+
}) => any) | undefined;
|
|
30
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "loading" | "useForm" | "isNextButton">;
|
|
31
|
+
$attrs: {
|
|
32
|
+
[x: string]: unknown;
|
|
33
|
+
};
|
|
34
|
+
$refs: {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
$slots: Readonly<{
|
|
38
|
+
[name: string]: import("vue").Slot | undefined;
|
|
39
|
+
}>;
|
|
40
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
41
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
42
|
+
$emit: (event: "submit", args_0: {
|
|
43
|
+
value?: string | undefined;
|
|
44
|
+
done: () => void;
|
|
45
|
+
}) => void;
|
|
46
|
+
$el: any;
|
|
47
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
+
loading: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
useForm: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
};
|
|
55
|
+
isNextButton: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
};
|
|
58
|
+
}>> & {
|
|
59
|
+
onSubmit?: ((args_0: {
|
|
60
|
+
value?: string | undefined;
|
|
61
|
+
done: () => void;
|
|
62
|
+
}) => any) | undefined;
|
|
63
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
64
|
+
submit: (payload_0: {
|
|
65
|
+
value?: string | undefined;
|
|
66
|
+
done: () => void;
|
|
67
|
+
}) => void;
|
|
68
|
+
}, string, {
|
|
69
|
+
loading: boolean;
|
|
70
|
+
useForm: boolean;
|
|
71
|
+
isNextButton: 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<{
|
|
93
|
+
loading: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: undefined;
|
|
96
|
+
};
|
|
97
|
+
useForm: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
};
|
|
100
|
+
isNextButton: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
};
|
|
103
|
+
}>> & {
|
|
104
|
+
onSubmit?: ((args_0: {
|
|
105
|
+
value?: string | undefined;
|
|
106
|
+
done: () => void;
|
|
107
|
+
}) => any) | undefined;
|
|
108
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
109
|
+
__isFragment?: undefined;
|
|
110
|
+
__isTeleport?: undefined;
|
|
111
|
+
__isSuspense?: undefined;
|
|
112
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
113
|
+
loading: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: undefined;
|
|
116
|
+
};
|
|
117
|
+
useForm: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
};
|
|
120
|
+
isNextButton: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
};
|
|
123
|
+
}>> & {
|
|
124
|
+
onSubmit?: ((args_0: {
|
|
125
|
+
value?: string | undefined;
|
|
126
|
+
done: () => void;
|
|
127
|
+
}) => any) | undefined;
|
|
128
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
129
|
+
submit: (payload_0: {
|
|
130
|
+
value?: string | undefined;
|
|
131
|
+
done: () => void;
|
|
132
|
+
}) => void;
|
|
133
|
+
}, string, {
|
|
134
|
+
loading: boolean;
|
|
135
|
+
useForm: boolean;
|
|
136
|
+
isNextButton: boolean;
|
|
137
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
138
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface Language {
|
|
2
|
+
isoName: string;
|
|
3
|
+
submit: string;
|
|
4
|
+
next: string;
|
|
5
|
+
back: string;
|
|
6
|
+
}
|
|
7
|
+
import type { Ref } from 'vue';
|
|
8
|
+
export declare const lang: Ref<{
|
|
9
|
+
isoName: string;
|
|
10
|
+
submit: string;
|
|
11
|
+
next: string;
|
|
12
|
+
back: string;
|
|
13
|
+
}>;
|
|
14
|
+
export declare const defineLang: (lang: Language) => Language;
|
|
15
|
+
export declare const useLang: () => Ref<Language>;
|
|
16
|
+
export declare const loadLang: (isoName: string) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './general/index';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export var FlagIcon = function (locale) { return "\n import { computed, ref, watch, h } from 'vue'\n import { QuasarLanguageCodes, useQuasar, QIcon } from 'quasar'\n import { useLang, loadLang } from '".concat(new URL("../src/ui/flags/lang", import.meta.url).pathname, "'\n import icon from '").concat(new URL("../src/ui/flags/assets/".concat(locale, ".svg"), import.meta.url).pathname, "'\n export default {\n setup(props, context) {\n const $q = useQuasar()\n const lang = useLang()\n if (lang.value.isoName !== $q.lang.isoName) loadLang($q.lang.isoName)\n watch($q.lang, (val) => {\n loadLang($q.lang.isoName)\n })\n \n const country = computed(\n () => lang.value.countries['").concat(locale, "']\n )\n // @ts-ignore\n const language = computed(() => lang.value.languages['").concat(locale, "'])\n const variables = ref({\n country,\n language\n // header: lang.value.some.nested.prop\n })\n const functions = ref({\n // submit\n })\n\n context.expose({\n variables,\n functions\n })\n\n // return the render function\n return () => h(QIcon, { name: `img:${icon}` })\n }}\n"); };
|
|
2
|
+
export var Icon = function (icon) { return "\n import { computed, ref, watch, h } from 'vue'\n import { QuasarLanguageCodes, useQuasar, QIcon } from 'quasar'\n import icon from '".concat(new URL("../src/ui/icons/assets/".concat(icon, ".svg"), import.meta.url).pathname, "'\n import icons from '").concat(new URL("../src/ui/icons/icons.ts", import.meta.url).pathname, "'\n export default {\n setup(props, context) {\n const $q = useQuasar()\n\n const variables = ref(icons['").concat(icon, "'])\n\n const functions = ref({\n // submit\n })\n\n context.expose({\n variables,\n functions\n })\n\n // return the render function\n return () => h(QIcon, { name: `img:${icon}` })\n }}\n"); };
|