@simsustech/quasar-components 0.10.4 → 0.10.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/{QSubmitButton.vue_vue_type_script_setup_true_lang-DWleuHVF.js → QSubmitButton.vue_vue_type_script_setup_true_lang-D133pxTB.js} +3 -9
  3. package/dist/authentication.js +34 -66
  4. package/dist/{en-US-BEeILC7o.js → en-US-BQLrPvIP.js} +2 -7
  5. package/dist/flags.js +1 -1
  6. package/dist/form.js +33 -46
  7. package/dist/general.js +6 -10
  8. package/dist/types/ui/authentication/AccountsTable.vue.d.ts +59 -0
  9. package/dist/types/ui/authentication/ConsentList.vue.d.ts +11 -12
  10. package/dist/types/ui/authentication/EmailChangeForm.vue.d.ts +21 -16
  11. package/dist/types/ui/authentication/EmailChangeStepper.vue.d.ts +25 -18
  12. package/dist/types/ui/authentication/LoginButton.vue.d.ts +1 -10
  13. package/dist/types/ui/authentication/LoginForm.vue.d.ts +31 -20
  14. package/dist/types/ui/authentication/OtpInput.vue.d.ts +5 -14
  15. package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +21 -36
  16. package/dist/types/ui/authentication/PasswordChangeStepper.vue.d.ts +19 -20
  17. package/dist/types/ui/authentication/RegisterForm.vue.d.ts +39 -44
  18. package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +18 -17
  19. package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +7 -16
  20. package/dist/types/ui/authentication/VerificationSlider.vue.d.ts +7 -16
  21. package/dist/types/ui/authentication/lang/index.d.ts +108 -0
  22. package/dist/types/ui/flags/lang/index.d.ts +130 -0
  23. package/dist/types/ui/form/BooleanItem.vue.d.ts +1 -10
  24. package/dist/types/ui/form/BooleanSelect.vue.d.ts +3 -12
  25. package/dist/types/ui/form/CronScheduleInput.vue.d.ts +4 -13
  26. package/dist/types/ui/form/CurrencySelect.vue.d.ts +3 -12
  27. package/dist/types/ui/form/DateInput.vue.d.ts +6 -33
  28. package/dist/types/ui/form/DatePicker.vue.d.ts +16 -25
  29. package/dist/types/ui/form/EmailInput.vue.d.ts +8 -17
  30. package/dist/types/ui/form/FilteredModelSelect.vue.d.ts +21 -77
  31. package/dist/types/ui/form/FormInput.vue.d.ts +11 -8
  32. package/dist/types/ui/form/FormItem.vue.d.ts +11 -13
  33. package/dist/types/ui/form/GenderItem.vue.d.ts +1 -10
  34. package/dist/types/ui/form/GenderSelect.vue.d.ts +3 -12
  35. package/dist/types/ui/form/LocaleSelect.vue.d.ts +1 -10
  36. package/dist/types/ui/form/PostalCodeInput.vue.d.ts +3 -12
  37. package/dist/types/ui/form/TelephoneNumberInput.vue.d.ts +3 -12
  38. package/dist/types/ui/form/lang/index.d.ts +71 -0
  39. package/dist/types/ui/general/QDrawerList.vue.d.ts +10 -3
  40. package/dist/types/ui/general/QLanguageSelect.vue.d.ts +1 -10
  41. package/dist/types/ui/general/QStyledCard.vue.d.ts +4 -13
  42. package/dist/types/ui/general/QStyledLayout.vue.d.ts +4 -13
  43. package/dist/types/ui/general/QSubmitButton.vue.d.ts +8 -33
  44. package/dist/types/ui/general/ResourcePage.vue.d.ts +7 -16
  45. package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +14 -15
  46. package/dist/types/ui/general/lang/index.d.ts +6 -0
  47. package/dist/vite-plugin.js +2 -2
  48. package/package.json +24 -24
  49. package/src/ui/authentication/AccountsTable.vue +5 -6
  50. package/src/ui/form/FilteredModelSelect.vue +4 -11
  51. package/src/ui/form/FormInput.vue +5 -1
@@ -9,21 +9,20 @@ export interface Props {
9
9
  name: string;
10
10
  }[];
11
11
  }
12
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {
12
+ declare const _default: import("vue").DefineComponent<Props, {
13
13
  variables: import("vue").Ref<{
14
14
  message: (name: string) => string;
15
15
  allow: string;
16
16
  deny: string;
17
+ }, {
18
+ message: import("vue").ComputedRef<(name: string) => string>;
19
+ allow: import("vue").ComputedRef<string>;
20
+ deny: import("vue").ComputedRef<string>;
21
+ } | {
22
+ message: (name: string) => string;
23
+ allow: string;
24
+ deny: string;
17
25
  }>;
18
- functions: import("vue").Ref<{}>;
19
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
26
+ functions: import("vue").Ref<{}, {}>;
27
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
28
  export default _default;
21
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToOption<T> = {
23
- [K in keyof T]-?: {} extends Pick<T, K> ? {
24
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
- } : {
26
- type: import('vue').PropType<T[K]>;
27
- required: true;
28
- };
29
- };
@@ -6,34 +6,48 @@ export interface Props {
6
6
  style?: Partial<CSSStyleDeclaration>;
7
7
  })>;
8
8
  }
9
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
10
10
  variables: import("vue").Ref<{
11
11
  header: string;
12
+ }, {
13
+ header: import("vue").ComputedRef<string>;
14
+ } | {
15
+ header: string;
12
16
  }>;
13
17
  functions: import("vue").Ref<{
14
18
  submit: (args_0: {
15
- value?: string | undefined;
19
+ value?: string;
20
+ done: () => void;
21
+ }) => any;
22
+ }, {
23
+ submit: (args_0: {
24
+ value?: string;
25
+ done: () => void;
26
+ }) => any;
27
+ } | {
28
+ submit: (args_0: {
29
+ value?: string;
16
30
  done: () => void;
17
31
  }) => any;
18
32
  }>;
19
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
20
34
  submit: (args_0: {
21
35
  email: string;
22
36
  newEmail: string;
23
37
  otp: string;
24
38
  done: () => void;
25
- }) => void;
26
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
39
+ }) => any;
40
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
27
41
  onSubmit?: ((args_0: {
28
42
  email: string;
29
43
  newEmail: string;
30
44
  otp: string;
31
45
  done: () => void;
32
46
  }) => any) | undefined;
33
- }, {}, {}>, {
47
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
34
48
  default?(_: {
35
49
  submit: (args_0: {
36
- value?: string | undefined;
50
+ value?: string;
37
51
  done: () => void;
38
52
  }) => any;
39
53
  }): any;
@@ -44,12 +58,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
44
58
  $slots: S;
45
59
  };
46
60
  };
47
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
48
- type __VLS_TypePropsToOption<T> = {
49
- [K in keyof T]-?: {} extends Pick<T, K> ? {
50
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
51
- } : {
52
- type: import('vue').PropType<T[K]>;
53
- required: true;
54
- };
55
- };
@@ -4,29 +4,45 @@ export interface Props {
4
4
  style?: Partial<CSSStyleDeclaration>;
5
5
  })>;
6
6
  }
7
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {
7
+ declare const _default: import("vue").DefineComponent<Props, {
8
8
  variables: import("vue").Ref<{
9
9
  header: string;
10
10
  emailChanged: string;
11
11
  unprocessableRequest: string;
12
12
  checkEmail: string;
13
13
  steps: readonly ["requestOtp", "changeEmail"];
14
+ }, {
15
+ header: import("vue").ComputedRef<string>;
16
+ emailChanged: import("vue").ComputedRef<string>;
17
+ unprocessableRequest: import("vue").ComputedRef<string>;
18
+ checkEmail: import("vue").ComputedRef<string>;
19
+ steps: readonly ["requestOtp", "changeEmail"];
20
+ } | {
21
+ header: string;
22
+ emailChanged: string;
23
+ unprocessableRequest: string;
24
+ checkEmail: string;
25
+ steps: readonly ["requestOtp", "changeEmail"];
14
26
  }>;
15
27
  functions: import("vue").Ref<{
16
28
  goToStep: (newStep: "changeEmail" | "requestOtp") => "changeEmail" | "requestOtp";
29
+ }, {
30
+ goToStep: (newStep: "changeEmail" | "requestOtp") => "changeEmail" | "requestOtp";
31
+ } | {
32
+ goToStep: (newStep: "changeEmail" | "requestOtp") => "changeEmail" | "requestOtp";
17
33
  }>;
18
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
- requestOtp: (args_0: {
20
- email: string;
21
- done: () => void;
22
- }) => void;
34
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
23
35
  changeEmail: (args_0: {
24
36
  email: string;
25
37
  newEmail: string;
26
38
  otp: string;
27
39
  done: () => void;
28
- }) => void;
29
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
40
+ }) => any;
41
+ requestOtp: (args_0: {
42
+ email: string;
43
+ done: () => void;
44
+ }) => any;
45
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
30
46
  onChangeEmail?: ((args_0: {
31
47
  email: string;
32
48
  newEmail: string;
@@ -37,14 +53,5 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Pr
37
53
  email: string;
38
54
  done: () => void;
39
55
  }) => any) | undefined;
40
- }, {}, {}>;
56
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
41
57
  export default _default;
42
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
- type __VLS_TypePropsToOption<T> = {
44
- [K in keyof T]-?: {} extends Pick<T, K> ? {
45
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
46
- } : {
47
- type: import('vue').PropType<T[K]>;
48
- required: true;
49
- };
50
- };
@@ -1,7 +1,7 @@
1
1
  export interface Props {
2
2
  withNetwork?: string;
3
3
  }
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>, {
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
5
5
  icon?(_: {}): any;
6
6
  }>;
7
7
  export default _default;
@@ -10,12 +10,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
10
10
  $slots: S;
11
11
  };
12
12
  };
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToOption<T> = {
15
- [K in keyof T]-?: {} extends Pick<T, K> ? {
16
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
- } : {
18
- type: import('vue').PropType<T[K]>;
19
- required: true;
20
- };
21
- };
@@ -7,37 +7,57 @@ export interface Props {
7
7
  style?: Partial<CSSStyleDeclaration>;
8
8
  })>;
9
9
  }
10
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {
10
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
11
11
  variables: import("vue").Ref<{
12
12
  header: string;
13
13
  createAccount: string;
14
14
  invalidCredentials: string;
15
15
  unprocessableRequest: string;
16
+ }, {
17
+ header: import("vue").ComputedRef<string>;
18
+ createAccount: import("vue").ComputedRef<string>;
19
+ invalidCredentials: import("vue").ComputedRef<string>;
20
+ unprocessableRequest: import("vue").ComputedRef<string>;
21
+ } | {
22
+ header: string;
23
+ createAccount: string;
24
+ invalidCredentials: string;
25
+ unprocessableRequest: string;
16
26
  }>;
17
27
  functions: import("vue").Ref<{
18
28
  submit: (args_0: {
19
- value?: string | undefined;
29
+ value?: string;
30
+ done: () => void;
31
+ }) => any;
32
+ }, {
33
+ submit: (args_0: {
34
+ value?: string;
35
+ done: () => void;
36
+ }) => any;
37
+ } | {
38
+ submit: (args_0: {
39
+ value?: string;
20
40
  done: () => void;
21
41
  }) => any;
22
42
  }>;
23
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
43
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
24
44
  submit: (args_0: {
25
- email?: string | undefined;
45
+ email?: string;
26
46
  password: string;
27
- username?: string | undefined;
47
+ username?: string;
28
48
  done: () => void;
29
- }) => void;
30
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
49
+ }) => any;
50
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
31
51
  onSubmit?: ((args_0: {
32
- email?: string | undefined;
52
+ email?: string;
33
53
  password: string;
34
- username?: string | undefined;
54
+ username?: string;
35
55
  done: () => void;
36
56
  }) => any) | undefined;
37
- }, {}, {}>, {
57
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
38
58
  default?(_: {
39
59
  submit: (args_0: {
40
- value?: string | undefined;
60
+ value?: string;
41
61
  done: () => void;
42
62
  }) => any;
43
63
  }): any;
@@ -48,12 +68,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
48
68
  $slots: S;
49
69
  };
50
70
  };
51
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
52
- type __VLS_TypePropsToOption<T> = {
53
- [K in keyof T]-?: {} extends Pick<T, K> ? {
54
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
55
- } : {
56
- type: import('vue').PropType<T[K]>;
57
- required: true;
58
- };
59
- };
@@ -1,19 +1,10 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  modelValue: string;
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
4
  "update:modelValue": (...args: any[]) => void;
5
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
+ }, string, import("vue").PublicProps, Readonly<{
6
6
  modelValue: string;
7
- }>>> & {
7
+ }> & Readonly<{
8
8
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
9
- }, {}, {}>;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
10
  export default _default;
11
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
- type __VLS_TypePropsToOption<T> = {
13
- [K in keyof T]-?: {} extends Pick<T, K> ? {
14
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
- } : {
16
- type: import('vue').PropType<T[K]>;
17
- required: true;
18
- };
19
- };
@@ -7,70 +7,55 @@ export interface Props {
7
7
  style?: Partial<CSSStyleDeclaration>;
8
8
  })>;
9
9
  }
10
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
11
- minimumPasswordLength: number;
12
- form: undefined;
13
- input: undefined;
14
- }>, {
15
- variables: import("vue").Ref<{}>;
10
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
11
+ variables: import("vue").Ref<{}, {}>;
16
12
  functions: import("vue").Ref<{
17
13
  submit: (args_0: {
18
- value?: string | undefined;
14
+ value?: string;
15
+ done: () => void;
16
+ }) => any;
17
+ }, {
18
+ submit: (args_0: {
19
+ value?: string;
20
+ done: () => void;
21
+ }) => any;
22
+ } | {
23
+ submit: (args_0: {
24
+ value?: string;
19
25
  done: () => void;
20
26
  }) => any;
21
27
  }>;
22
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
23
29
  submit: (args_0: {
24
30
  email: string;
25
31
  newPassword: string;
26
32
  otp: string;
27
33
  done: () => void;
28
- }) => void;
29
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
30
- minimumPasswordLength: number;
31
- form: undefined;
32
- input: undefined;
33
- }>>> & {
34
+ }) => any;
35
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
34
36
  onSubmit?: ((args_0: {
35
37
  email: string;
36
38
  newPassword: string;
37
39
  otp: string;
38
40
  done: () => void;
39
41
  }) => any) | undefined;
40
- }, {
42
+ }>, {
41
43
  minimumPasswordLength: number;
42
44
  form: QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>;
43
- input: Omit<QInputProps, "name" | "type" | "id" | "label" | "modelValue" | "rules" | "autofocus" | "lazy-rules" | ("label" & {
44
- style?: Partial<CSSStyleDeclaration> | undefined;
45
+ input: Omit<QInputProps, "id" | "name" | "modelValue" | "label" | "rules" | "type" | "lazy-rules" | "autofocus" | ("label" & {
46
+ style?: Partial<CSSStyleDeclaration>;
45
47
  })>;
46
- }, {}>, {
48
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
47
49
  default?(_: {
48
50
  submit: (args_0: {
49
- value?: string | undefined;
51
+ value?: string;
50
52
  done: () => void;
51
53
  }) => any;
52
54
  }): any;
53
55
  }>;
54
56
  export default _default;
55
- type __VLS_WithDefaults<P, D> = {
56
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
57
- default: D[K];
58
- }> : P[K];
59
- };
60
- type __VLS_Prettify<T> = {
61
- [K in keyof T]: T[K];
62
- } & {};
63
57
  type __VLS_WithTemplateSlots<T, S> = T & {
64
58
  new (): {
65
59
  $slots: S;
66
60
  };
67
61
  };
68
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
69
- type __VLS_TypePropsToOption<T> = {
70
- [K in keyof T]-?: {} extends Pick<T, K> ? {
71
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
72
- } : {
73
- type: import('vue').PropType<T[K]>;
74
- required: true;
75
- };
76
- };
@@ -4,43 +4,42 @@ export interface Props {
4
4
  style?: Partial<CSSStyleDeclaration>;
5
5
  })>;
6
6
  }
7
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {
7
+ declare const _default: import("vue").DefineComponent<Props, {
8
8
  variables: import("vue").Ref<{
9
9
  steps: readonly ["requestOtp", "changePassword"];
10
+ }, {
11
+ steps: readonly ["requestOtp", "changePassword"];
12
+ } | {
13
+ steps: readonly ["requestOtp", "changePassword"];
10
14
  }>;
11
15
  functions: import("vue").Ref<{
12
16
  goToStep: (newStep: "changePassword" | "requestOtp") => "changePassword" | "requestOtp";
17
+ }, {
18
+ goToStep: (newStep: "changePassword" | "requestOtp") => "changePassword" | "requestOtp";
19
+ } | {
20
+ goToStep: (newStep: "changePassword" | "requestOtp") => "changePassword" | "requestOtp";
13
21
  }>;
14
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
- requestOtp: (args_0: {
16
- email: string;
17
- done: () => void;
18
- }) => void;
22
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
19
23
  changePassword: (args_0: {
20
24
  email: string;
21
25
  newPassword: string;
22
26
  otp: string;
23
27
  done: () => void;
24
- }) => void;
25
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
26
- onRequestOtp?: ((args_0: {
28
+ }) => any;
29
+ requestOtp: (args_0: {
27
30
  email: string;
28
31
  done: () => void;
29
- }) => any) | undefined;
32
+ }) => any;
33
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
30
34
  onChangePassword?: ((args_0: {
31
35
  email: string;
32
36
  newPassword: string;
33
37
  otp: string;
34
38
  done: () => void;
35
39
  }) => any) | undefined;
36
- }, {}, {}>;
40
+ onRequestOtp?: ((args_0: {
41
+ email: string;
42
+ done: () => void;
43
+ }) => any) | undefined;
44
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
45
  export default _default;
38
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
- type __VLS_TypePropsToOption<T> = {
40
- [K in keyof T]-?: {} extends Pick<T, K> ? {
41
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
42
- } : {
43
- type: import('vue').PropType<T[K]>;
44
- required: true;
45
- };
46
- };
@@ -12,85 +12,80 @@ export interface Props {
12
12
  style?: Partial<CSSStyleDeclaration>;
13
13
  })>;
14
14
  }
15
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
16
- minimumPasswordLength: number;
17
- extraFields: undefined;
18
- form: undefined;
19
- input: undefined;
20
- }>, {
15
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
21
16
  variables: import("vue").Ref<{
22
17
  header: string;
23
18
  forgotPassword: string;
24
19
  accountCreated: string;
25
20
  unprocessableRequest: string;
26
21
  alreadyRegistered: string;
22
+ }, {
23
+ header: import("vue").ComputedRef<string>;
24
+ forgotPassword: import("vue").ComputedRef<string>;
25
+ accountCreated: import("vue").ComputedRef<string>;
26
+ unprocessableRequest: import("vue").ComputedRef<string>;
27
+ alreadyRegistered: import("vue").ComputedRef<string>;
28
+ } | {
29
+ header: string;
30
+ forgotPassword: string;
31
+ accountCreated: string;
32
+ unprocessableRequest: string;
33
+ alreadyRegistered: string;
27
34
  }>;
28
35
  functions: import("vue").Ref<{
29
36
  submit: (args_0: {
30
- value?: string | undefined;
37
+ value?: string;
38
+ done: () => void;
39
+ }) => any;
40
+ }, {
41
+ submit: (args_0: {
42
+ value?: string;
43
+ done: () => void;
44
+ }) => any;
45
+ } | {
46
+ submit: (args_0: {
47
+ value?: string;
31
48
  done: () => void;
32
49
  }) => any;
33
50
  }>;
34
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
51
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
35
52
  submit: (args_0: {
36
- email?: string | undefined;
53
+ email?: string;
37
54
  password: string;
38
- username?: string | undefined;
39
- extraFields?: Record<string, string> | undefined;
55
+ username?: string;
56
+ extraFields?: Record<string, string>;
40
57
  done: () => void;
41
- }) => void;
42
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
43
- minimumPasswordLength: number;
44
- extraFields: undefined;
45
- form: undefined;
46
- input: undefined;
47
- }>>> & {
58
+ }) => any;
59
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
48
60
  onSubmit?: ((args_0: {
49
- email?: string | undefined;
61
+ email?: string;
50
62
  password: string;
51
- username?: string | undefined;
52
- extraFields?: Record<string, string> | undefined;
63
+ username?: string;
64
+ extraFields?: Record<string, string>;
53
65
  done: () => void;
54
66
  }) => any) | undefined;
55
- }, {
67
+ }>, {
56
68
  minimumPasswordLength: number;
57
69
  form: QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>;
58
- input: Omit<QInputProps, "name" | "type" | "id" | "label" | "modelValue" | "rules" | "autofocus" | "lazy-rules" | ("label" & {
59
- style?: Partial<CSSStyleDeclaration> | undefined;
70
+ input: Omit<QInputProps, "id" | "name" | "modelValue" | "label" | "rules" | "type" | "lazy-rules" | "autofocus" | ("label" & {
71
+ style?: Partial<CSSStyleDeclaration>;
60
72
  })>;
61
73
  extraFields: {
62
74
  name: string;
63
75
  label: string;
64
- rules?: ((val: string) => boolean)[] | undefined;
76
+ rules?: ((val: string) => boolean)[];
65
77
  }[];
66
- }, {}>, {
78
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
67
79
  default?(_: {
68
80
  submit: (args_0: {
69
- value?: string | undefined;
81
+ value?: string;
70
82
  done: () => void;
71
83
  }) => any;
72
84
  }): any;
73
85
  }>;
74
86
  export default _default;
75
- type __VLS_WithDefaults<P, D> = {
76
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
77
- default: D[K];
78
- }> : P[K];
79
- };
80
- type __VLS_Prettify<T> = {
81
- [K in keyof T]: T[K];
82
- } & {};
83
87
  type __VLS_WithTemplateSlots<T, S> = T & {
84
88
  new (): {
85
89
  $slots: S;
86
90
  };
87
91
  };
88
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
89
- type __VLS_TypePropsToOption<T> = {
90
- [K in keyof T]-?: {} extends Pick<T, K> ? {
91
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
92
- } : {
93
- type: import('vue').PropType<T[K]>;
94
- required: true;
95
- };
96
- };
@@ -5,28 +5,38 @@ export interface Props {
5
5
  style?: Partial<CSSStyleDeclaration>;
6
6
  })>;
7
7
  }
8
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {
9
- variables: import("vue").Ref<{}>;
8
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
9
+ variables: import("vue").Ref<{}, {}>;
10
10
  functions: import("vue").Ref<{
11
11
  submit: (args_0: {
12
- value?: string | undefined;
12
+ value?: string;
13
+ done: () => void;
14
+ }) => any;
15
+ }, {
16
+ submit: (args_0: {
17
+ value?: string;
18
+ done: () => void;
19
+ }) => any;
20
+ } | {
21
+ submit: (args_0: {
22
+ value?: string;
13
23
  done: () => void;
14
24
  }) => any;
15
25
  }>;
16
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
17
27
  submit: (args_0: {
18
28
  email: string;
19
29
  done: () => void;
20
- }) => void;
21
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
30
+ }) => any;
31
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
22
32
  onSubmit?: ((args_0: {
23
33
  email: string;
24
34
  done: () => void;
25
35
  }) => any) | undefined;
26
- }, {}, {}>, {
36
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
27
37
  default?(_: {
28
38
  submit: (args_0: {
29
- value?: string | undefined;
39
+ value?: string;
30
40
  done: () => void;
31
41
  }) => any;
32
42
  }): any;
@@ -37,12 +47,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
37
47
  $slots: S;
38
48
  };
39
49
  };
40
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
41
- type __VLS_TypePropsToOption<T> = {
42
- [K in keyof T]-?: {} extends Pick<T, K> ? {
43
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
44
- } : {
45
- type: import('vue').PropType<T[K]>;
46
- required: true;
47
- };
48
- };