@simsustech/quasar-components 0.4.3 → 0.4.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 (40) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{QSubmitButton.vue_vue_type_script_setup_true_lang-b5f452c6.js → QSubmitButton.vue_vue_type_script_setup_true_lang-17dddb76.js} +3 -2
  3. package/dist/authentication.js +19 -10
  4. package/dist/form.js +12 -5
  5. package/dist/general.js +5 -3
  6. package/dist/{nl-022c8c63.js → nl-f499b5cb.js} +1 -1
  7. package/dist/{nl-75035f8a.js → nl-fa466587.js} +1 -1
  8. package/dist/types/ui/authentication/ConsentList.vue.d.ts +10 -35
  9. package/dist/types/ui/authentication/EmailChangeForm.vue.d.ts +12 -29
  10. package/dist/types/ui/authentication/EmailChangeStepper.vue.d.ts +13 -16
  11. package/dist/types/ui/authentication/LoginButton.vue.d.ts +11 -10
  12. package/dist/types/ui/authentication/LoginForm.vue.d.ts +12 -33
  13. package/dist/types/ui/authentication/OtpInput.vue.d.ts +16 -11
  14. package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +28 -41
  15. package/dist/types/ui/authentication/PasswordChangeStepper.vue.d.ts +13 -16
  16. package/dist/types/ui/authentication/RegisterForm.vue.d.ts +30 -55
  17. package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +12 -21
  18. package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +11 -12
  19. package/dist/types/ui/authentication/VerificationSlider.vue.d.ts +11 -10
  20. package/dist/types/ui/form/BooleanItem.vue.d.ts +9 -18
  21. package/dist/types/ui/form/BooleanSelect.vue.d.ts +12 -23
  22. package/dist/types/ui/form/DateInput.vue.d.ts +11 -34
  23. package/dist/types/ui/form/DatePicker.vue.d.ts +25 -34
  24. package/dist/types/ui/form/EmailInput.vue.d.ts +11 -20
  25. package/dist/types/ui/form/FormInput.vue.d.ts +10 -27
  26. package/dist/types/ui/form/FormItem.vue.d.ts +10 -21
  27. package/dist/types/ui/form/GenderItem.vue.d.ts +9 -10
  28. package/dist/types/ui/form/GenderSelect.vue.d.ts +12 -23
  29. package/dist/types/ui/form/PostalCodeInput.vue.d.ts +12 -25
  30. package/dist/types/ui/form/TelephoneNumberInput.vue.d.ts +12 -17
  31. package/dist/types/ui/general/QLanguageSelect.vue.d.ts +9 -18
  32. package/dist/types/ui/general/QStyledCard.vue.d.ts +11 -10
  33. package/dist/types/ui/general/QStyledLayout.vue.d.ts +11 -12
  34. package/dist/types/ui/general/QSubmitButton.vue.d.ts +1 -1
  35. package/dist/types/ui/general/ResourcePage.vue.d.ts +27 -22
  36. package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +12 -11
  37. package/package.json +1 -1
  38. package/src/ui/form/DateInput.vue +4 -1
  39. package/src/ui/form/lang/nl.ts +1 -1
  40. package/src/ui/general/lang/nl.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @simsustech/quasar-components
2
2
 
3
+ ## 0.4.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 65b81d3: chore: change nl submit translation
8
+
9
+ ## 0.4.4
10
+
11
+ ### Patch Changes
12
+
13
+ - a14c1d9: fix(components): fix nl telephone number translation
14
+
3
15
  ## 0.4.3
4
16
 
5
17
  ### Patch Changes
@@ -13,7 +13,7 @@ const enUS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
13
13
  const lang = ref(lang$1);
14
14
  const locales = /* @__PURE__ */ Object.assign({
15
15
  "./en-US.ts": () => Promise.resolve().then(() => enUS),
16
- "./nl.ts": () => import("./nl-022c8c63.js")
16
+ "./nl.ts": () => import("./nl-f499b5cb.js")
17
17
  });
18
18
  const useLang = () => {
19
19
  return lang;
@@ -60,9 +60,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
60
60
  }
61
61
  },
62
62
  emits: ["submit"],
63
- setup(__props, { emit }) {
63
+ setup(__props, { emit: __emit }) {
64
64
  const props = __props;
65
65
  const attrs = useAttrs();
66
+ const emit = __emit;
66
67
  const $q = useQuasar();
67
68
  const lang2 = useLang();
68
69
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -1,6 +1,6 @@
1
1
  import { useQuasar, QForm, QInput, QStep, QStepperNavigation, QStepper, QIcon, QBtn, QSlider, QItemSection, QItem, QList, QMenu } from "quasar";
2
2
  import { ref, defineComponent, watch, computed, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, renderSlot, toRef, createCommentVNode, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
3
- import { _ as _sfc_main$c } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-b5f452c6.js";
3
+ import { _ as _sfc_main$c } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-17dddb76.js";
4
4
  const lang$1 = {
5
5
  isoName: "en-US",
6
6
  myAccount: "Account",
@@ -385,7 +385,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
385
385
  input: {}
386
386
  },
387
387
  emits: ["submit"],
388
- setup(__props, { expose: __expose, emit }) {
388
+ setup(__props, { expose: __expose, emit: __emit }) {
389
+ const emit = __emit;
389
390
  const $q = useQuasar();
390
391
  const lang2 = useLang();
391
392
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -486,8 +487,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
486
487
  input: {}
487
488
  },
488
489
  emits: ["submit"],
489
- setup(__props, { expose: __expose, emit }) {
490
+ setup(__props, { expose: __expose, emit: __emit }) {
490
491
  const props = __props;
492
+ const emit = __emit;
491
493
  const $q = useQuasar();
492
494
  const lang2 = useLang();
493
495
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -585,7 +587,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
585
587
  input: {}
586
588
  },
587
589
  emits: ["requestOtp", "changeEmail"],
588
- setup(__props, { expose: __expose, emit }) {
590
+ setup(__props, { expose: __expose, emit: __emit }) {
591
+ const emit = __emit;
589
592
  const $q = useQuasar();
590
593
  const lang2 = useLang();
591
594
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -731,8 +734,9 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
731
734
  input: { default: void 0 }
732
735
  },
733
736
  emits: ["submit"],
734
- setup(__props, { expose: __expose, emit }) {
737
+ setup(__props, { expose: __expose, emit: __emit }) {
735
738
  const props = __props;
739
+ const emit = __emit;
736
740
  const $q = useQuasar();
737
741
  const lang2 = useLang();
738
742
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -856,7 +860,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
856
860
  input: {}
857
861
  },
858
862
  emits: ["requestOtp", "changePassword"],
859
- setup(__props, { expose: __expose, emit }) {
863
+ setup(__props, { expose: __expose, emit: __emit }) {
864
+ const emit = __emit;
860
865
  const $q = useQuasar();
861
866
  const lang2 = useLang();
862
867
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -998,7 +1003,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
998
1003
  input: {}
999
1004
  },
1000
1005
  emits: ["submit"],
1001
- setup(__props, { expose: __expose, emit }) {
1006
+ setup(__props, { expose: __expose, emit: __emit }) {
1007
+ const emit = __emit;
1002
1008
  const $q = useQuasar();
1003
1009
  const lang2 = useLang();
1004
1010
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -1214,8 +1220,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1214
1220
  input: { default: void 0 }
1215
1221
  },
1216
1222
  emits: ["submit"],
1217
- setup(__props, { expose: __expose, emit }) {
1223
+ setup(__props, { expose: __expose, emit: __emit }) {
1218
1224
  const props = __props;
1225
+ const emit = __emit;
1219
1226
  const $q = useQuasar();
1220
1227
  const lang2 = useLang();
1221
1228
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -1384,7 +1391,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
1384
1391
  useVerificationSlider: { type: Boolean }
1385
1392
  },
1386
1393
  emits: ["verified"],
1387
- setup(__props, { expose: __expose, emit }) {
1394
+ setup(__props, { expose: __expose, emit: __emit }) {
1395
+ const emit = __emit;
1388
1396
  const $q = useQuasar();
1389
1397
  const lang2 = useLang();
1390
1398
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -1556,7 +1564,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1556
1564
  userRoute: {}
1557
1565
  },
1558
1566
  emits: ["signOut"],
1559
- setup(__props, { expose: __expose, emit }) {
1567
+ setup(__props, { expose: __expose, emit: __emit }) {
1568
+ const emit = __emit;
1560
1569
  const $q = useQuasar();
1561
1570
  const lang2 = useLang();
1562
1571
  if (lang2.value.isoName !== $q.lang.isoName)
package/dist/form.js CHANGED
@@ -48,7 +48,7 @@ const enUS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
48
48
  const lang = ref(lang$1);
49
49
  const locales = /* @__PURE__ */ Object.assign({
50
50
  "./en-US.ts": () => Promise.resolve().then(() => enUS),
51
- "./nl.ts": () => import("./nl-75035f8a.js")
51
+ "./nl.ts": () => import("./nl-fa466587.js")
52
52
  });
53
53
  const useLang = () => {
54
54
  return lang;
@@ -334,8 +334,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
334
334
  date: {}
335
335
  },
336
336
  emits: ["update:modelValue"],
337
- setup(__props, { emit }) {
337
+ setup(__props, { emit: __emit }) {
338
338
  const props = __props;
339
+ const emit = __emit;
339
340
  const attrs = useAttrs();
340
341
  const lang2 = useLang();
341
342
  const $q = useQuasar();
@@ -345,6 +346,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
345
346
  loadLang($q.lang.isoName);
346
347
  });
347
348
  const { modelValue } = toRefs(props);
349
+ const update = (val) => {
350
+ if (typeof val === "string")
351
+ emit("update:modelValue", val);
352
+ };
348
353
  watch(
349
354
  () => modelValue == null ? void 0 : modelValue.value,
350
355
  (newVal) => {
@@ -376,7 +381,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
376
381
  placeholder: unref(lang2).datePicker.placeholder,
377
382
  mask: "date",
378
383
  class: "q-pr-md",
379
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => _ctx.$emit("update:modelValue", $event))
384
+ "onUpdate:modelValue": update
380
385
  }), {
381
386
  append: withCtx(() => [
382
387
  _ctx.clearable ? (openBlock(), createBlock(_component_q_icon, {
@@ -522,7 +527,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
522
527
  body: {}
523
528
  },
524
529
  emits: ["update:subject", "update:body"],
525
- setup(__props, { expose: __expose, emit }) {
530
+ setup(__props, { expose: __expose, emit: __emit }) {
531
+ const emit = __emit;
526
532
  const lang2 = useLang();
527
533
  const variables = ref({
528
534
  // header: lang.value.some.nested.prop
@@ -562,9 +568,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
562
568
  options: { type: Function }
563
569
  },
564
570
  emits: ["update:modelValue"],
565
- setup(__props, { emit }) {
571
+ setup(__props, { emit: __emit }) {
566
572
  const props = __props;
567
573
  const attrs = useAttrs();
574
+ const emit = __emit;
568
575
  const $q = useQuasar();
569
576
  const lang2 = useLang();
570
577
  const { periods, range, options: parentOptions } = toRefs(props);
package/dist/general.js CHANGED
@@ -1,4 +1,4 @@
1
- import { l as loadLang, u as useLang, _ as _sfc_main$4 } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-b5f452c6.js";
1
+ import { l as loadLang, u as useLang, _ as _sfc_main$4 } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-17dddb76.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
4
  import { enUs, nl } from "./flags.js";
@@ -88,7 +88,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
88
88
  display: { type: Boolean }
89
89
  },
90
90
  emits: ["submit"],
91
- setup(__props, { expose: __expose, emit }) {
91
+ setup(__props, { expose: __expose, emit: __emit }) {
92
+ const emit = __emit;
92
93
  const $q = useQuasar();
93
94
  const lang = useLang();
94
95
  if (lang.value.isoName !== $q.lang.isoName)
@@ -211,8 +212,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
211
212
  disabled: { type: Boolean, default: false }
212
213
  },
213
214
  emits: ["create", "update"],
214
- setup(__props, { expose: __expose, emit }) {
215
+ setup(__props, { expose: __expose, emit: __emit }) {
215
216
  const props = __props;
217
+ const emit = __emit;
216
218
  const $q = useQuasar();
217
219
  const lang = useLang();
218
220
  if (lang.value.isoName !== $q.lang.isoName)
@@ -1,6 +1,6 @@
1
1
  const lang = {
2
2
  isoName: "nl",
3
- submit: "Versturen",
3
+ submit: "Opslaan",
4
4
  next: "Volgende",
5
5
  back: "Vorige"
6
6
  };
@@ -15,7 +15,7 @@ const lang = {
15
15
  address: "Adres",
16
16
  postalCode: "Postcode",
17
17
  city: "Woonplaats",
18
- telephoneNumber: "Telefoonnumer"
18
+ telephoneNumber: "Telefoonnummer"
19
19
  },
20
20
  validations: {
21
21
  fieldRequired: "Veld is vereist."
@@ -9,46 +9,21 @@ export interface Props {
9
9
  name: string;
10
10
  }[];
11
11
  }
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
- }, {
12
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {
30
13
  variables: import("vue").Ref<{
31
14
  message: (name: string) => string;
32
15
  allow: string;
33
16
  deny: string;
34
17
  }>;
35
18
  functions: import("vue").Ref<{}>;
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
- }[]>;
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]>;
41
27
  required: true;
42
28
  };
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;
29
+ };
@@ -6,20 +6,7 @@ export interface Props {
6
6
  style?: Partial<CSSStyleDeclaration>;
7
7
  })>;
8
8
  }
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
- }, {
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {
23
10
  variables: import("vue").Ref<{
24
11
  header: string;
25
12
  }>;
@@ -30,26 +17,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
30
17
  }) => any;
31
18
  }>;
32
19
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
- submit: (payload_0: {
20
+ submit: (args_0: {
34
21
  email: string;
35
22
  newEmail: string;
36
23
  otp: string;
37
24
  done: () => void;
38
25
  }) => void;
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
- }>> & {
26
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
53
27
  onSubmit?: ((args_0: {
54
28
  email: string;
55
29
  newEmail: string;
@@ -65,6 +39,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
65
39
  }): any;
66
40
  }>;
67
41
  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
+ };
68
51
  type __VLS_WithTemplateSlots<T, S> = T & {
69
52
  new (): {
70
53
  $slots: S;
@@ -4,13 +4,7 @@ export interface Props {
4
4
  style?: Partial<CSSStyleDeclaration>;
5
5
  })>;
6
6
  }
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
- }, {
7
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {
14
8
  variables: import("vue").Ref<{
15
9
  header: string;
16
10
  emailChanged: string;
@@ -22,23 +16,17 @@ declare const _default: import("vue").DefineComponent<{
22
16
  goToStep: (newStep: "changeEmail" | "requestOtp") => "changeEmail" | "requestOtp";
23
17
  }>;
24
18
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
- requestOtp: (payload_0: {
19
+ requestOtp: (args_0: {
26
20
  email: string;
27
21
  done: () => void;
28
22
  }) => void;
29
- changeEmail: (payload_0: {
23
+ changeEmail: (args_0: {
30
24
  email: string;
31
25
  newEmail: string;
32
26
  otp: string;
33
27
  done: () => void;
34
28
  }) => void;
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
- }>> & {
29
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
42
30
  onChangeEmail?: ((args_0: {
43
31
  email: string;
44
32
  newEmail: string;
@@ -51,3 +39,12 @@ declare const _default: import("vue").DefineComponent<{
51
39
  }) => any) | undefined;
52
40
  }, {}, {}>;
53
41
  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,21 +1,22 @@
1
1
  export interface Props {
2
2
  withNetwork?: string;
3
3
  }
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
- withNetwork: {
6
- type: import("vue").PropType<string>;
7
- };
8
- }, {
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {
9
5
  variables: import("vue").Ref<{}>;
10
6
  functions: import("vue").Ref<{}>;
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
- }>>, {}, {}>, {
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>>>, {}, {}>, {
16
8
  icon?(_: {}): any;
17
9
  }>;
18
10
  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
+ };
19
20
  type __VLS_WithTemplateSlots<T, S> = T & {
20
21
  new (): {
21
22
  $slots: S;
@@ -7,22 +7,7 @@ export interface Props {
7
7
  style?: Partial<CSSStyleDeclaration>;
8
8
  })>;
9
9
  }
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
- }, {
10
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {
26
11
  variables: import("vue").Ref<{
27
12
  header: string;
28
13
  createAccount: string;
@@ -36,28 +21,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
36
21
  }) => any;
37
22
  }>;
38
23
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
- submit: (payload_0: {
24
+ submit: (args_0: {
40
25
  email?: string | undefined;
41
26
  password: string;
42
27
  username?: string | undefined;
43
28
  done: () => void;
44
29
  }) => void;
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
- }>> & {
30
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
61
31
  onSubmit?: ((args_0: {
62
32
  email?: string | undefined;
63
33
  password: string;
@@ -73,6 +43,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
73
43
  }): any;
74
44
  }>;
75
45
  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
+ };
76
55
  type __VLS_WithTemplateSlots<T, S> = T & {
77
56
  new (): {
78
57
  $slots: S;
@@ -1,14 +1,19 @@
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>;
9
- required: true;
10
- };
11
- }>> & {
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ modelValue: string;
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ "update:modelValue": (...args: any[]) => void;
5
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ modelValue: string;
7
+ }>>> & {
12
8
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
13
9
  }, {}, {}>;
14
10
  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
+ };
@@ -7,26 +7,11 @@ export interface Props {
7
7
  style?: Partial<CSSStyleDeclaration>;
8
8
  })>;
9
9
  }
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
- }, {
10
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
+ minimumPasswordLength: number;
12
+ form: undefined;
13
+ input: undefined;
14
+ }>, {
30
15
  variables: import("vue").Ref<{
31
16
  header: string;
32
17
  }>;
@@ -37,32 +22,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
37
22
  }) => any;
38
23
  }>;
39
24
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
- submit: (payload_0: {
25
+ submit: (args_0: {
41
26
  email: string;
42
27
  newPassword: string;
43
28
  otp: string;
44
29
  done: () => void;
45
30
  }) => void;
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
- }>> & {
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
+ }>>> & {
66
36
  onSubmit?: ((args_0: {
67
37
  email: string;
68
38
  newPassword: string;
@@ -84,6 +54,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
84
54
  }): any;
85
55
  }>;
86
56
  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
+ type __VLS_Prettify<T> = {
72
+ [K in keyof T]: T[K];
73
+ } & {};
87
74
  type __VLS_WithTemplateSlots<T, S> = T & {
88
75
  new (): {
89
76
  $slots: S;