@simsustech/quasar-components 0.3.4 → 0.3.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 (54) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/StandardComponent.vue +19 -24
  3. package/dist/authentication.js +87 -87
  4. package/dist/flags.js +224 -5
  5. package/dist/form.js +55 -54
  6. package/dist/general.js +15 -24
  7. package/dist/types/ui/authentication/ConsentList.vue.d.ts +35 -10
  8. package/dist/types/ui/authentication/EmailChangeForm.vue.d.ts +29 -12
  9. package/dist/types/ui/authentication/EmailChangeStepper.vue.d.ts +15 -12
  10. package/dist/types/ui/authentication/LoginButton.vue.d.ts +10 -11
  11. package/dist/types/ui/authentication/LoginForm.vue.d.ts +33 -12
  12. package/dist/types/ui/authentication/OtpInput.vue.d.ts +12 -15
  13. package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +42 -29
  14. package/dist/types/ui/authentication/PasswordChangeStepper.vue.d.ts +15 -12
  15. package/dist/types/ui/authentication/RegisterForm.vue.d.ts +56 -31
  16. package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +21 -12
  17. package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +13 -12
  18. package/dist/types/ui/authentication/VerificationSlider.vue.d.ts +11 -12
  19. package/dist/types/ui/form/BooleanItem.vue.d.ts +18 -9
  20. package/dist/types/ui/form/BooleanSelect.vue.d.ts +24 -11
  21. package/dist/types/ui/form/DateInput.vue.d.ts +33 -10
  22. package/dist/types/ui/form/EmailInput.vue.d.ts +21 -12
  23. package/dist/types/ui/form/FormInput.vue.d.ts +27 -10
  24. package/dist/types/ui/form/FormItem.vue.d.ts +21 -10
  25. package/dist/types/ui/form/GenderItem.vue.d.ts +10 -9
  26. package/dist/types/ui/form/GenderSelect.vue.d.ts +18 -11
  27. package/dist/types/ui/form/PostalCodeInput.vue.d.ts +26 -11
  28. package/dist/types/ui/form/TelephoneNumberInput.vue.d.ts +18 -11
  29. package/dist/types/ui/general/QLanguageSelect.vue.d.ts +18 -9
  30. package/dist/types/ui/general/QStyledCard.vue.d.ts +10 -11
  31. package/dist/types/ui/general/QStyledLayout.vue.d.ts +12 -11
  32. package/dist/types/ui/general/QSubmitButton.vue.d.ts +1 -1
  33. package/dist/types/ui/general/ResourcePage.vue.d.ts +25 -30
  34. package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +11 -12
  35. package/dist/types/virtualModules.d.ts +0 -1
  36. package/dist/virtualModules.d.ts +0 -1
  37. package/dist/virtualModules.js +34 -1
  38. package/dist/vite-plugin.js +1 -1
  39. package/package.json +21 -21
  40. package/src/ui/form/BooleanItem.vue +1 -1
  41. package/src/ui/form/BooleanSelect.vue +1 -1
  42. package/src/ui/form/DateInput.vue +5 -2
  43. package/src/ui/form/EmailInput.vue +3 -6
  44. package/src/ui/form/FormInput.vue +1 -1
  45. package/src/ui/form/FormItem.vue +1 -1
  46. package/src/ui/form/GenderItem.vue +1 -1
  47. package/src/ui/form/GenderSelect.vue +1 -1
  48. package/src/ui/form/TelephoneNumberInput.vue +1 -1
  49. package/src/ui/general/QLanguageSelect.vue +2 -2
  50. package/src/ui/general/ResourcePage.vue +2 -2
  51. package/src/ui/general/ResponsiveDialog.vue +1 -2
  52. package/src/virtualModules.ts +34 -34
  53. package/src/vite-plugin.ts +1 -1
  54. package/dist/en-US-6cc72154.js +0 -226
package/dist/general.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { l as loadLang, u as useLang, _ as _sfc_main$4 } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-b5f452c6.js";
2
2
  import { useQuasar, QCard, QCardSection, QCardActions, QDialog, QBtn, QToolbarTitle, QToolbar, QHeader, QPage, QPageContainer, QLayout, QSpace, QPageSticky, QSelect, QItemSection, QItemLabel, QItem } from "quasar";
3
3
  import { defineComponent, watch, ref, openBlock, createBlock, unref, withCtx, renderSlot, createVNode, createElementVNode, normalizeProps, guardReactiveProps, normalizeClass, createCommentVNode, toRefs, useAttrs, computed, mergeProps, createTextVNode, toDisplayString } from "vue";
4
- import { e as enUs, n as nl } from "./en-US-6cc72154.js";
4
+ import { enUs, nl } from "./flags.js";
5
5
  const _hoisted_1$1 = { class: "text-h6" };
6
6
  const _hoisted_2 = { class: "text-subtitle2" };
7
7
  const __default__$2 = {
@@ -10,9 +10,9 @@ const __default__$2 = {
10
10
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
11
11
  ...__default__$2,
12
12
  props: {
13
- actions: null
13
+ actions: {}
14
14
  },
15
- setup(__props, { expose }) {
15
+ setup(__props, { expose: __expose }) {
16
16
  const $q = useQuasar();
17
17
  const lang = useLang();
18
18
  if (lang.value.isoName !== $q.lang.isoName)
@@ -27,7 +27,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
27
27
  const functions = ref({
28
28
  // submit
29
29
  });
30
- expose({
30
+ __expose({
31
31
  variables,
32
32
  functions
33
33
  });
@@ -58,7 +58,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
58
58
  ]),
59
59
  _: 3
60
60
  }),
61
- createVNode(_component_q_card_actions, normalizeProps(guardReactiveProps(__props.actions)), {
61
+ createVNode(_component_q_card_actions, normalizeProps(guardReactiveProps(_ctx.actions)), {
62
62
  default: withCtx(() => [
63
63
  renderSlot(_ctx.$slots, "actions", {}, void 0, true)
64
64
  ]),
@@ -88,8 +88,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
88
88
  display: { type: Boolean }
89
89
  },
90
90
  emits: ["submit"],
91
- setup(__props, { expose, emit }) {
92
- ref(false);
91
+ setup(__props, { expose: __expose, emit }) {
93
92
  const $q = useQuasar();
94
93
  const lang = useLang();
95
94
  if (lang.value.isoName !== $q.lang.isoName)
@@ -128,7 +127,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
128
127
  close,
129
128
  toggle
130
129
  });
131
- expose({
130
+ __expose({
132
131
  variables,
133
132
  functions
134
133
  });
@@ -170,7 +169,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
170
169
  ]),
171
170
  _: 3
172
171
  }),
173
- !__props.display ? (openBlock(), createBlock(_sfc_main$4, {
172
+ !_ctx.display ? (openBlock(), createBlock(_sfc_main$4, {
174
173
  key: 0,
175
174
  color: "accent",
176
175
  onSubmit: submit
@@ -212,7 +211,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
212
211
  disabled: { type: Boolean, default: false }
213
212
  },
214
213
  emits: ["create", "update"],
215
- setup(__props, { expose, emit }) {
214
+ setup(__props, { expose: __expose, emit }) {
216
215
  const props = __props;
217
216
  const $q = useQuasar();
218
217
  const lang = useLang();
@@ -233,7 +232,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
233
232
  const functions = ref({
234
233
  // submit
235
234
  });
236
- expose({
235
+ __expose({
237
236
  variables,
238
237
  functions
239
238
  });
@@ -258,7 +257,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
258
257
  class: normalizeClass(["shadow-2", { "bg-dark": unref($q).dark.isActive, "bg-white": !unref($q).dark.isActive }])
259
258
  }, {
260
259
  default: withCtx(() => [
261
- __props.type === "create" ? (openBlock(), createBlock(_component_q_btn, {
260
+ _ctx.type === "create" ? (openBlock(), createBlock(_component_q_btn, {
262
261
  key: 0,
263
262
  disable: unref(disabled),
264
263
  flat: "",
@@ -303,8 +302,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
303
302
  const _sfc_main = /* @__PURE__ */ defineComponent({
304
303
  __name: "QLanguageSelect",
305
304
  props: {
306
- modelValue: null,
307
- languageImports: null
305
+ modelValue: {},
306
+ languageImports: {}
308
307
  },
309
308
  setup(__props) {
310
309
  const props = __props;
@@ -312,19 +311,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
312
311
  const { modelValue } = toRefs(props);
313
312
  const attrs = useAttrs();
314
313
  const nlRef = ref();
315
- computed(() => {
316
- var _a;
317
- return (_a = nlRef.value) == null ? void 0 : _a.variables.country;
318
- });
319
314
  const nlLanguage = computed(() => {
320
315
  var _a;
321
316
  return (_a = nlRef.value) == null ? void 0 : _a.variables.language;
322
317
  });
323
318
  const enUsRef = ref();
324
- computed(() => {
325
- var _a;
326
- return (_a = enUsRef.value) == null ? void 0 : _a.variables.country;
327
- });
328
319
  const enUsLanguage = computed(() => {
329
320
  var _a;
330
321
  return (_a = enUsRef.value) == null ? void 0 : _a.variables.language;
@@ -381,7 +372,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
381
372
  default: withCtx(() => [
382
373
  createVNode(_component_q_item_label, null, {
383
374
  default: withCtx(() => [
384
- createTextVNode(toDisplayString(unref(enUsLanguage)), 1)
375
+ createTextVNode(toDisplayString(enUsLanguage.value), 1)
385
376
  ]),
386
377
  _: 1
387
378
  })
@@ -406,7 +397,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
406
397
  default: withCtx(() => [
407
398
  createVNode(_component_q_item_label, null, {
408
399
  default: withCtx(() => [
409
- createTextVNode(toDisplayString(unref(nlLanguage)), 1)
400
+ createTextVNode(toDisplayString(nlLanguage.value), 1)
410
401
  ]),
411
402
  _: 1
412
403
  })
@@ -9,21 +9,46 @@ export interface Props {
9
9
  name: string;
10
10
  }[];
11
11
  }
12
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {
12
+ declare const _default: import("vue").DefineComponent<{
13
+ scopes: {
14
+ type: import("vue").PropType<{
15
+ name: string;
16
+ }[]>;
17
+ required: true;
18
+ };
19
+ claims: {
20
+ type: import("vue").PropType<{
21
+ name: string;
22
+ }[]>;
23
+ };
24
+ resourceScopes: {
25
+ type: import("vue").PropType<{
26
+ name: string;
27
+ }[]>;
28
+ };
29
+ }, {
13
30
  variables: import("vue").Ref<{
14
31
  message: (name: string) => string;
15
32
  allow: string;
16
33
  deny: string;
17
34
  }>;
18
35
  functions: import("vue").Ref<{}>;
19
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}>;
20
- export default _default;
21
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToRuntimeProps<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]>;
36
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
+ scopes: {
38
+ type: import("vue").PropType<{
39
+ name: string;
40
+ }[]>;
27
41
  required: true;
28
42
  };
29
- };
43
+ claims: {
44
+ type: import("vue").PropType<{
45
+ name: string;
46
+ }[]>;
47
+ };
48
+ resourceScopes: {
49
+ type: import("vue").PropType<{
50
+ name: string;
51
+ }[]>;
52
+ };
53
+ }>>, {}, {}>;
54
+ export default _default;
@@ -6,7 +6,20 @@ export interface Props {
6
6
  style?: Partial<CSSStyleDeclaration>;
7
7
  })>;
8
8
  }
9
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
10
+ email: {
11
+ type: import("vue").PropType<string>;
12
+ required: true;
13
+ };
14
+ form: {
15
+ type: import("vue").PropType<QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>>;
16
+ };
17
+ input: {
18
+ type: import("vue").PropType<Omit<QInputProps, "name" | "type" | "label" | "modelValue" | "rules" | "autofocus" | "id" | ("label" & {
19
+ style?: Partial<CSSStyleDeclaration> | undefined;
20
+ }) | "lazy-rules">>;
21
+ };
22
+ }, {
10
23
  variables: import("vue").Ref<{
11
24
  header: string;
12
25
  }>;
@@ -23,14 +36,27 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
23
36
  otp: string;
24
37
  done: () => void;
25
38
  }) => void;
26
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
39
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
40
+ email: {
41
+ type: import("vue").PropType<string>;
42
+ required: true;
43
+ };
44
+ form: {
45
+ type: import("vue").PropType<QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>>;
46
+ };
47
+ input: {
48
+ type: import("vue").PropType<Omit<QInputProps, "name" | "type" | "label" | "modelValue" | "rules" | "autofocus" | "id" | ("label" & {
49
+ style?: Partial<CSSStyleDeclaration> | undefined;
50
+ }) | "lazy-rules">>;
51
+ };
52
+ }>> & {
27
53
  onSubmit?: ((args_0: {
28
54
  email: string;
29
55
  newEmail: string;
30
56
  otp: string;
31
57
  done: () => void;
32
58
  }) => any) | undefined;
33
- }, {}>, {
59
+ }, {}, {}>, {
34
60
  default?(_: {
35
61
  submit: (args_0: {
36
62
  value?: string | undefined;
@@ -39,15 +65,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
39
65
  }): any;
40
66
  }>;
41
67
  export default _default;
42
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
- type __VLS_TypePropsToRuntimeProps<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
- };
51
68
  type __VLS_WithTemplateSlots<T, S> = T & {
52
69
  new (): {
53
70
  $slots: S;
@@ -4,7 +4,13 @@ export interface Props {
4
4
  style?: Partial<CSSStyleDeclaration>;
5
5
  })>;
6
6
  }
7
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {
7
+ declare const _default: import("vue").DefineComponent<{
8
+ input: {
9
+ type: import("vue").PropType<Omit<QInputProps, "name" | "type" | "label" | "modelValue" | "rules" | "autofocus" | "id" | "lazy-rules" | ("label" & {
10
+ style?: Partial<CSSStyleDeclaration> | undefined;
11
+ })>>;
12
+ };
13
+ }, {
8
14
  variables: import("vue").Ref<{
9
15
  header: string;
10
16
  emailChanged: string;
@@ -26,7 +32,13 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
26
32
  otp: string;
27
33
  done: () => void;
28
34
  }) => void;
29
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
35
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
+ input: {
37
+ type: import("vue").PropType<Omit<QInputProps, "name" | "type" | "label" | "modelValue" | "rules" | "autofocus" | "id" | "lazy-rules" | ("label" & {
38
+ style?: Partial<CSSStyleDeclaration> | undefined;
39
+ })>>;
40
+ };
41
+ }>> & {
30
42
  onChangeEmail?: ((args_0: {
31
43
  email: string;
32
44
  newEmail: string;
@@ -37,14 +49,5 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
37
49
  email: string;
38
50
  done: () => void;
39
51
  }) => any) | undefined;
40
- }, {}>;
52
+ }, {}, {}>;
41
53
  export default _default;
42
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
- type __VLS_TypePropsToRuntimeProps<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,22 +1,21 @@
1
1
  export interface Props {
2
2
  withNetwork?: string;
3
3
  }
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
+ withNetwork: {
6
+ type: import("vue").PropType<string>;
7
+ };
8
+ }, {
5
9
  variables: import("vue").Ref<{}>;
6
10
  functions: import("vue").Ref<{}>;
7
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}>, {
11
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
+ withNetwork: {
13
+ type: import("vue").PropType<string>;
14
+ };
15
+ }>>, {}, {}>, {
8
16
  icon?(_: {}): any;
9
17
  }>;
10
18
  export default _default;
11
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
- type __VLS_TypePropsToRuntimeProps<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
- };
20
19
  type __VLS_WithTemplateSlots<T, S> = T & {
21
20
  new (): {
22
21
  $slots: S;
@@ -7,7 +7,22 @@ export interface Props {
7
7
  style?: Partial<CSSStyleDeclaration>;
8
8
  })>;
9
9
  }
10
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {
10
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
11
+ useUsername: {
12
+ type: import("vue").PropType<boolean>;
13
+ };
14
+ passwordForgotUrl: {
15
+ type: import("vue").PropType<string>;
16
+ };
17
+ form: {
18
+ type: import("vue").PropType<QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>>;
19
+ };
20
+ input: {
21
+ type: import("vue").PropType<Omit<QInputProps, "name" | "type" | "label" | "modelValue" | "rules" | "autofocus" | "id" | "lazy-rules" | ("label" & {
22
+ style?: Partial<CSSStyleDeclaration> | undefined;
23
+ })>>;
24
+ };
25
+ }, {
11
26
  variables: import("vue").Ref<{
12
27
  header: string;
13
28
  createAccount: string;
@@ -27,14 +42,29 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
27
42
  username?: string | undefined;
28
43
  done: () => void;
29
44
  }) => void;
30
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
45
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
46
+ useUsername: {
47
+ type: import("vue").PropType<boolean>;
48
+ };
49
+ passwordForgotUrl: {
50
+ type: import("vue").PropType<string>;
51
+ };
52
+ form: {
53
+ type: import("vue").PropType<QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>>;
54
+ };
55
+ input: {
56
+ type: import("vue").PropType<Omit<QInputProps, "name" | "type" | "label" | "modelValue" | "rules" | "autofocus" | "id" | "lazy-rules" | ("label" & {
57
+ style?: Partial<CSSStyleDeclaration> | undefined;
58
+ })>>;
59
+ };
60
+ }>> & {
31
61
  onSubmit?: ((args_0: {
32
62
  email?: string | undefined;
33
63
  password: string;
34
64
  username?: string | undefined;
35
65
  done: () => void;
36
66
  }) => any) | undefined;
37
- }, {}>, {
67
+ }, {}, {}>, {
38
68
  default?(_: {
39
69
  submit: (args_0: {
40
70
  value?: string | undefined;
@@ -43,15 +73,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
43
73
  }): any;
44
74
  }>;
45
75
  export default _default;
46
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
- type __VLS_TypePropsToRuntimeProps<T> = {
48
- [K in keyof T]-?: {} extends Pick<T, K> ? {
49
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
50
- } : {
51
- type: import('vue').PropType<T[K]>;
52
- required: true;
53
- };
54
- };
55
76
  type __VLS_WithTemplateSlots<T, S> = T & {
56
77
  new (): {
57
78
  $slots: S;
@@ -1,17 +1,14 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- modelValue: string;
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- modelValue: string;
5
- }>>> & {
6
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
7
- }, {}>;
8
- export default _default;
9
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
- type __VLS_TypePropsToRuntimeProps<T> = {
11
- [K in keyof T]-?: {} extends Pick<T, K> ? {
12
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
- } : {
14
- type: import('vue').PropType<T[K]>;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: import("vue").PropType<string>;
4
+ required: true;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ modelValue: {
8
+ type: import("vue").PropType<string>;
15
9
  required: true;
16
10
  };
17
- };
11
+ }>> & {
12
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
13
+ }, {}, {}>;
14
+ export default _default;
@@ -7,11 +7,26 @@ export interface Props {
7
7
  style?: Partial<CSSStyleDeclaration>;
8
8
  })>;
9
9
  }
10
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
- minimumPasswordLength: number;
12
- form: undefined;
13
- input: undefined;
14
- }>, {
10
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
11
+ email: {
12
+ type: import("vue").PropType<string>;
13
+ required: true;
14
+ };
15
+ minimumPasswordLength: {
16
+ type: import("vue").PropType<number>;
17
+ default: number;
18
+ };
19
+ form: {
20
+ type: import("vue").PropType<QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>>;
21
+ default: undefined;
22
+ };
23
+ input: {
24
+ type: import("vue").PropType<Omit<QInputProps, "name" | "type" | "label" | "modelValue" | "rules" | "autofocus" | "id" | "lazy-rules" | ("label" & {
25
+ style?: Partial<CSSStyleDeclaration> | undefined;
26
+ })>>;
27
+ default: undefined;
28
+ };
29
+ }, {
15
30
  variables: import("vue").Ref<{
16
31
  header: string;
17
32
  }>;
@@ -28,11 +43,26 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
28
43
  otp: string;
29
44
  done: () => void;
30
45
  }) => void;
31
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
32
- minimumPasswordLength: number;
33
- form: undefined;
34
- input: undefined;
35
- }>>> & {
46
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
+ email: {
48
+ type: import("vue").PropType<string>;
49
+ required: true;
50
+ };
51
+ minimumPasswordLength: {
52
+ type: import("vue").PropType<number>;
53
+ default: number;
54
+ };
55
+ form: {
56
+ type: import("vue").PropType<QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>>;
57
+ default: undefined;
58
+ };
59
+ input: {
60
+ type: import("vue").PropType<Omit<QInputProps, "name" | "type" | "label" | "modelValue" | "rules" | "autofocus" | "id" | "lazy-rules" | ("label" & {
61
+ style?: Partial<CSSStyleDeclaration> | undefined;
62
+ })>>;
63
+ default: undefined;
64
+ };
65
+ }>> & {
36
66
  onSubmit?: ((args_0: {
37
67
  email: string;
38
68
  newPassword: string;
@@ -42,10 +72,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
42
72
  }, {
43
73
  minimumPasswordLength: number;
44
74
  form: QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>;
45
- input: Omit<QInputProps, "name" | "type" | "label" | "modelValue" | "id" | "lazy-rules" | "rules" | "autofocus" | ("label" & {
75
+ input: Omit<QInputProps, "name" | "type" | "label" | "modelValue" | "rules" | "autofocus" | "id" | "lazy-rules" | ("label" & {
46
76
  style?: Partial<CSSStyleDeclaration> | undefined;
47
77
  })>;
48
- }>, {
78
+ }, {}>, {
49
79
  default?(_: {
50
80
  submit: (args_0: {
51
81
  value?: string | undefined;
@@ -54,25 +84,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
54
84
  }): any;
55
85
  }>;
56
86
  export default _default;
57
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
58
- type __VLS_TypePropsToRuntimeProps<T> = {
59
- [K in keyof T]-?: {} extends Pick<T, K> ? {
60
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
61
- } : {
62
- type: import('vue').PropType<T[K]>;
63
- required: true;
64
- };
65
- };
66
- type __VLS_WithDefaults<P, D> = {
67
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
68
- default: D[K];
69
- }> : P[K];
70
- };
71
87
  type __VLS_WithTemplateSlots<T, S> = T & {
72
88
  new (): {
73
89
  $slots: S;
74
90
  };
75
91
  };
76
- type __VLS_Prettify<T> = {
77
- [K in keyof T]: T[K];
78
- } & {};
@@ -4,7 +4,13 @@ export interface Props {
4
4
  style?: Partial<CSSStyleDeclaration>;
5
5
  })>;
6
6
  }
7
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {
7
+ declare const _default: import("vue").DefineComponent<{
8
+ input: {
9
+ type: import("vue").PropType<Omit<QInputProps, "name" | "type" | "label" | "modelValue" | "rules" | "autofocus" | "id" | "lazy-rules" | ("label" & {
10
+ style?: Partial<CSSStyleDeclaration> | undefined;
11
+ })>>;
12
+ };
13
+ }, {
8
14
  variables: import("vue").Ref<{
9
15
  header: string;
10
16
  passwordChanged: string;
@@ -26,7 +32,13 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
26
32
  otp: string;
27
33
  done: () => void;
28
34
  }) => void;
29
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
35
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
+ input: {
37
+ type: import("vue").PropType<Omit<QInputProps, "name" | "type" | "label" | "modelValue" | "rules" | "autofocus" | "id" | "lazy-rules" | ("label" & {
38
+ style?: Partial<CSSStyleDeclaration> | undefined;
39
+ })>>;
40
+ };
41
+ }>> & {
30
42
  onRequestOtp?: ((args_0: {
31
43
  email: string;
32
44
  done: () => void;
@@ -37,14 +49,5 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
37
49
  otp: string;
38
50
  done: () => void;
39
51
  }) => any) | undefined;
40
- }, {}>;
52
+ }, {}, {}>;
41
53
  export default _default;
42
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
- type __VLS_TypePropsToRuntimeProps<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
- };