@simsustech/quasar-components 0.3.3 → 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 +13 -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 +59 -57
  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 +2 -2
  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
@@ -379,11 +379,11 @@ const __default__$a = {
379
379
  const _sfc_main$b = /* @__PURE__ */ defineComponent({
380
380
  ...__default__$a,
381
381
  props: {
382
- form: null,
383
- input: null
382
+ form: {},
383
+ input: {}
384
384
  },
385
385
  emits: ["submit"],
386
- setup(__props, { expose, emit }) {
386
+ setup(__props, { expose: __expose, emit }) {
387
387
  const $q = useQuasar();
388
388
  const lang2 = useLang();
389
389
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -416,7 +416,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
416
416
  };
417
417
  const variables = ref({ header });
418
418
  const functions = ref({ submit });
419
- expose({
419
+ __expose({
420
420
  variables,
421
421
  functions
422
422
  });
@@ -425,11 +425,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
425
425
  return openBlock(), createBlock(unref(QForm), mergeProps({
426
426
  ref_key: "formRef",
427
427
  ref: formRef
428
- }, __props.form, {
428
+ }, _ctx.form, {
429
429
  onSubmit: _cache[1] || (_cache[1] = (e) => submit)
430
430
  }), {
431
431
  default: withCtx(() => [
432
- createVNode(_component_q_input, mergeProps(__props.input, {
432
+ createVNode(_component_q_input, mergeProps(_ctx.input, {
433
433
  id: "email",
434
434
  modelValue: email.value,
435
435
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => email.value = $event),
@@ -437,7 +437,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
437
437
  name: "email",
438
438
  type: "text",
439
439
  label: unref(lang2).otp.fields.email,
440
- rules: unref(validations)["email"],
440
+ rules: validations.value["email"],
441
441
  "lazy-rules": "",
442
442
  autofocus: ""
443
443
  }), null, 16, ["modelValue", "label", "rules"]),
@@ -451,7 +451,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
451
451
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
452
452
  __name: "OtpInput",
453
453
  props: {
454
- modelValue: null
454
+ modelValue: {}
455
455
  },
456
456
  emits: ["update:modelValue"],
457
457
  setup(__props) {
@@ -463,11 +463,11 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
463
463
  return openBlock(), createBlock(unref(QInput), {
464
464
  id: "otp",
465
465
  name: "otp",
466
- "model-value": __props.modelValue,
466
+ "model-value": _ctx.modelValue,
467
467
  "bottom-slots": "",
468
468
  "lazy-rules": "",
469
469
  label: unref(lang2).otp.verificationCode,
470
- rules: unref(validations)["otp"],
470
+ rules: validations.value["otp"],
471
471
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event))
472
472
  }, null, 8, ["model-value", "label", "rules"]);
473
473
  };
@@ -479,12 +479,12 @@ const __default__$9 = {
479
479
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
480
480
  ...__default__$9,
481
481
  props: {
482
- email: null,
483
- form: null,
484
- input: null
482
+ email: {},
483
+ form: {},
484
+ input: {}
485
485
  },
486
486
  emits: ["submit"],
487
- setup(__props, { expose, emit }) {
487
+ setup(__props, { expose: __expose, emit }) {
488
488
  const props = __props;
489
489
  const $q = useQuasar();
490
490
  const lang2 = useLang();
@@ -529,7 +529,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
529
529
  const functions = ref({
530
530
  submit
531
531
  });
532
- expose({
532
+ __expose({
533
533
  variables,
534
534
  functions
535
535
  });
@@ -539,32 +539,32 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
539
539
  ref_key: "formRef",
540
540
  ref: formRef,
541
541
  class: "q-gutter-md"
542
- }, __props.form, {
542
+ }, _ctx.form, {
543
543
  onSubmit: _cache[3] || (_cache[3] = (e) => submit)
544
544
  }), {
545
545
  default: withCtx(() => [
546
- createVNode(_sfc_main$a, mergeProps(__props.input, {
546
+ createVNode(_sfc_main$a, mergeProps(_ctx.input, {
547
547
  modelValue: otp.value,
548
548
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => otp.value = $event)
549
549
  }), null, 16, ["modelValue"]),
550
- createVNode(_component_q_input, mergeProps(__props.input, {
550
+ createVNode(_component_q_input, mergeProps(_ctx.input, {
551
551
  id: "newEmail",
552
552
  modelValue: newEmail.value,
553
553
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => newEmail.value = $event),
554
554
  name: "newEmail",
555
555
  label: unref(lang2).email.fields.newEmail,
556
556
  "bottom-slots": "",
557
- rules: unref(validations)["newEmail"],
557
+ rules: validations.value["newEmail"],
558
558
  "lazy-rules": ""
559
559
  }), null, 16, ["modelValue", "label", "rules"]),
560
- createVNode(_component_q_input, mergeProps(__props.input, {
560
+ createVNode(_component_q_input, mergeProps(_ctx.input, {
561
561
  id: "repeatNewEmail",
562
562
  modelValue: repeatNewEmail.value,
563
563
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => repeatNewEmail.value = $event),
564
564
  name: "repeatNewEmail",
565
565
  label: unref(lang2).email.fields.repeatNewEmail,
566
566
  "bottom-slots": "",
567
- rules: unref(validations)["repeatNewEmail"],
567
+ rules: validations.value["repeatNewEmail"],
568
568
  "lazy-rules": ""
569
569
  }), null, 16, ["modelValue", "label", "rules"]),
570
570
  renderSlot(_ctx.$slots, "default", { submit })
@@ -580,10 +580,10 @@ const __default__$8 = {
580
580
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
581
581
  ...__default__$8,
582
582
  props: {
583
- input: null
583
+ input: {}
584
584
  },
585
585
  emits: ["requestOtp", "changeEmail"],
586
- setup(__props, { expose, emit }) {
586
+ setup(__props, { expose: __expose, emit }) {
587
587
  const $q = useQuasar();
588
588
  const lang2 = useLang();
589
589
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -642,7 +642,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
642
642
  const functions = ref({
643
643
  goToStep: (newStep) => step.value = newStep
644
644
  });
645
- expose({
645
+ __expose({
646
646
  variables,
647
647
  functions
648
648
  });
@@ -678,14 +678,14 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
678
678
  default: withCtx(() => [
679
679
  createVNode(_component_q_step, {
680
680
  name: "requestOtp",
681
- title: unref(requestOtpHeader)
681
+ title: requestOtpHeader.value
682
682
  }, {
683
683
  default: withCtx(() => [
684
684
  createVNode(_sfc_main$b, {
685
685
  ref_key: "requestOtpFormRef",
686
686
  ref: requestOtpFormRef,
687
687
  form: { id: "requestOtpForm" },
688
- input: __props.input,
688
+ input: _ctx.input,
689
689
  onSubmit: requestOtp
690
690
  }, null, 8, ["input"])
691
691
  ]),
@@ -693,7 +693,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
693
693
  }, 8, ["title"]),
694
694
  createVNode(_component_q_step, {
695
695
  name: "changeEmail",
696
- title: unref(emailChangeHeader)
696
+ title: emailChangeHeader.value
697
697
  }, {
698
698
  default: withCtx(() => [
699
699
  createVNode(_sfc_main$9, {
@@ -701,7 +701,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
701
701
  ref: emailChangeFormRef,
702
702
  form: { id: "emailChangeForm" },
703
703
  email: email.value,
704
- input: __props.input,
704
+ input: _ctx.input,
705
705
  onSubmit: changeEmail
706
706
  }, null, 8, ["email", "input"])
707
707
  ]),
@@ -723,13 +723,13 @@ const __default__$7 = {
723
723
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
724
724
  ...__default__$7,
725
725
  props: {
726
- email: null,
726
+ email: {},
727
727
  minimumPasswordLength: { default: 8 },
728
728
  form: { default: void 0 },
729
729
  input: { default: void 0 }
730
730
  },
731
731
  emits: ["submit"],
732
- setup(__props, { expose, emit }) {
732
+ setup(__props, { expose: __expose, emit }) {
733
733
  const props = __props;
734
734
  const $q = useQuasar();
735
735
  const lang2 = useLang();
@@ -779,7 +779,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
779
779
  const functions = ref({
780
780
  submit
781
781
  });
782
- expose({
782
+ __expose({
783
783
  variables,
784
784
  functions
785
785
  });
@@ -790,15 +790,15 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
790
790
  ref_key: "formRef",
791
791
  ref: formRef,
792
792
  class: "q-gutter-md"
793
- }, __props.form, {
793
+ }, _ctx.form, {
794
794
  onSubmit: _cache[5] || (_cache[5] = (e) => submit)
795
795
  }), {
796
796
  default: withCtx(() => [
797
- createVNode(_sfc_main$a, mergeProps(__props.input, {
797
+ createVNode(_sfc_main$a, mergeProps(_ctx.input, {
798
798
  modelValue: otp.value,
799
799
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => otp.value = $event)
800
800
  }), null, 16, ["modelValue"]),
801
- createVNode(_component_q_input, mergeProps(__props.input, {
801
+ createVNode(_component_q_input, mergeProps(_ctx.input, {
802
802
  id: "newPassword",
803
803
  modelValue: newPassword.value,
804
804
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => newPassword.value = $event),
@@ -806,7 +806,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
806
806
  type: showPassword.value ? "text" : "password",
807
807
  label: unref(lang2).password.fields.password,
808
808
  "bottom-slots": "",
809
- rules: unref(validations)["newPassword"],
809
+ rules: validations.value["newPassword"],
810
810
  "lazy-rules": ""
811
811
  }), {
812
812
  append: withCtx(() => [
@@ -818,7 +818,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
818
818
  ]),
819
819
  _: 1
820
820
  }, 16, ["modelValue", "type", "label", "rules"]),
821
- createVNode(_component_q_input, mergeProps(__props.input, {
821
+ createVNode(_component_q_input, mergeProps(_ctx.input, {
822
822
  id: "repeatNewPassword",
823
823
  modelValue: repeatNewPassword.value,
824
824
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => repeatNewPassword.value = $event),
@@ -826,7 +826,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
826
826
  type: showRepeatPassword.value ? "text" : "password",
827
827
  label: unref(lang2).password.fields.repeatPassword,
828
828
  "bottom-slots": "",
829
- rules: unref(validations)["repeatNewPassword"],
829
+ rules: validations.value["repeatNewPassword"],
830
830
  "lazy-rules": ""
831
831
  }), {
832
832
  append: withCtx(() => [
@@ -851,10 +851,10 @@ const __default__$6 = {
851
851
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
852
852
  ...__default__$6,
853
853
  props: {
854
- input: null
854
+ input: {}
855
855
  },
856
856
  emits: ["requestOtp", "changePassword"],
857
- setup(__props, { expose, emit }) {
857
+ setup(__props, { expose: __expose, emit }) {
858
858
  const $q = useQuasar();
859
859
  const lang2 = useLang();
860
860
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -913,7 +913,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
913
913
  const functions = ref({
914
914
  goToStep: (newStep) => step.value = newStep
915
915
  });
916
- expose({
916
+ __expose({
917
917
  variables,
918
918
  functions
919
919
  });
@@ -949,14 +949,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
949
949
  default: withCtx(() => [
950
950
  createVNode(_component_q_step, {
951
951
  name: "requestOtp",
952
- title: unref(requestOtpHeader)
952
+ title: requestOtpHeader.value
953
953
  }, {
954
954
  default: withCtx(() => [
955
955
  createVNode(_sfc_main$b, {
956
956
  ref_key: "requestOtpFormRef",
957
957
  ref: requestOtpFormRef,
958
958
  form: { id: "requestOtpForm" },
959
- input: __props.input,
959
+ input: _ctx.input,
960
960
  onSubmit: requestOtp
961
961
  }, null, 8, ["input"])
962
962
  ]),
@@ -964,7 +964,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
964
964
  }, 8, ["title"]),
965
965
  createVNode(_component_q_step, {
966
966
  name: "changePassword",
967
- title: unref(passwordChangeHeader)
967
+ title: passwordChangeHeader.value
968
968
  }, {
969
969
  default: withCtx(() => [
970
970
  createVNode(_sfc_main$7, {
@@ -972,7 +972,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
972
972
  ref: passwordChangeFormRef,
973
973
  form: { id: "passwordChangeForm" },
974
974
  email: email.value,
975
- input: __props.input,
975
+ input: _ctx.input,
976
976
  onSubmit: changePassword
977
977
  }, null, 8, ["email", "input"])
978
978
  ]),
@@ -991,12 +991,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
991
991
  ...__default__$5,
992
992
  props: {
993
993
  useUsername: { type: Boolean },
994
- passwordForgotUrl: null,
995
- form: null,
996
- input: null
994
+ passwordForgotUrl: {},
995
+ form: {},
996
+ input: {}
997
997
  },
998
998
  emits: ["submit"],
999
- setup(__props, { expose, emit }) {
999
+ setup(__props, { expose: __expose, emit }) {
1000
1000
  const $q = useQuasar();
1001
1001
  const lang2 = useLang();
1002
1002
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -1044,7 +1044,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1044
1044
  const functions = ref({
1045
1045
  submit
1046
1046
  });
1047
- expose({
1047
+ __expose({
1048
1048
  variables,
1049
1049
  functions
1050
1050
  });
@@ -1056,28 +1056,28 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1056
1056
  ref_key: "formRef",
1057
1057
  ref: formRef,
1058
1058
  class: "q-gutter-md"
1059
- }, __props.form, {
1059
+ }, _ctx.form, {
1060
1060
  onSubmit: _cache[4] || (_cache[4] = (e) => submit)
1061
1061
  }), {
1062
1062
  default: withCtx(() => [
1063
- !__props.useUsername ? (openBlock(), createBlock(_component_q_input, mergeProps({ key: 0 }, __props.input, {
1063
+ !_ctx.useUsername ? (openBlock(), createBlock(_component_q_input, mergeProps({ key: 0 }, _ctx.input, {
1064
1064
  id: "email",
1065
1065
  modelValue: email.value,
1066
1066
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => email.value = $event),
1067
1067
  name: "email",
1068
1068
  label: unref(lang2).login.fields.email,
1069
1069
  "bottom-slots": "",
1070
- rules: unref(validations)["email"],
1070
+ rules: validations.value["email"],
1071
1071
  "lazy-rules": ""
1072
1072
  }), null, 16, ["modelValue", "label", "rules"])) : createCommentVNode("", true),
1073
- __props.useUsername ? (openBlock(), createBlock(_component_q_input, mergeProps({ key: 1 }, __props.input, {
1073
+ _ctx.useUsername ? (openBlock(), createBlock(_component_q_input, mergeProps({ key: 1 }, _ctx.input, {
1074
1074
  id: "username",
1075
1075
  modelValue: username.value,
1076
1076
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => username.value = $event),
1077
1077
  name: "username",
1078
1078
  label: unref(lang2).login.fields.username,
1079
1079
  "bottom-slots": "",
1080
- rules: unref(validations)["username"],
1080
+ rules: validations.value["username"],
1081
1081
  "lazy-rules": ""
1082
1082
  }), null, 16, ["modelValue", "label", "rules"])) : createCommentVNode("", true),
1083
1083
  createVNode(_component_q_input, mergeProps({
@@ -1085,11 +1085,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1085
1085
  modelValue: password.value,
1086
1086
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => password.value = $event),
1087
1087
  class: "q-pt-none"
1088
- }, __props.input, {
1088
+ }, _ctx.input, {
1089
1089
  name: "password",
1090
1090
  type: showPassword.value ? "text" : "password",
1091
1091
  label: unref(lang2).login.fields.password,
1092
- rules: unref(validations)["password"],
1092
+ rules: validations.value["password"],
1093
1093
  "lazy-rules": "",
1094
1094
  "bottom-slots": ""
1095
1095
  }), {
@@ -1102,13 +1102,13 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1102
1102
  ]),
1103
1103
  _: 1
1104
1104
  }, 16, ["modelValue", "type", "label", "rules"]),
1105
- __props.passwordForgotUrl ? (openBlock(), createBlock(_component_q_btn, {
1105
+ _ctx.passwordForgotUrl ? (openBlock(), createBlock(_component_q_btn, {
1106
1106
  key: 2,
1107
1107
  class: "q-pt-none text-primary",
1108
1108
  label: unref(lang2).login.forgotPassword,
1109
1109
  size: "sm",
1110
1110
  flat: "",
1111
- to: __props.passwordForgotUrl
1111
+ to: _ctx.passwordForgotUrl
1112
1112
  }, null, 8, ["label", "to"])) : createCommentVNode("", true),
1113
1113
  renderSlot(_ctx.$slots, "default", { submit })
1114
1114
  ]),
@@ -1211,7 +1211,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1211
1211
  input: { default: void 0 }
1212
1212
  },
1213
1213
  emits: ["submit"],
1214
- setup(__props, { expose, emit }) {
1214
+ setup(__props, { expose: __expose, emit }) {
1215
1215
  const props = __props;
1216
1216
  const $q = useQuasar();
1217
1217
  const lang2 = useLang();
@@ -1278,7 +1278,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1278
1278
  const functions = ref({
1279
1279
  submit
1280
1280
  });
1281
- expose({
1281
+ __expose({
1282
1282
  variables,
1283
1283
  functions
1284
1284
  });
@@ -1289,31 +1289,31 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1289
1289
  ref_key: "formRef",
1290
1290
  ref: formRef,
1291
1291
  class: "q-gutter-md"
1292
- }, __props.form, {
1292
+ }, _ctx.form, {
1293
1293
  onSubmit: _cache[6] || (_cache[6] = (e) => submit)
1294
1294
  }), {
1295
1295
  default: withCtx(() => [
1296
- !__props.useUsername ? (openBlock(), createBlock(_component_q_input, mergeProps({ key: 0 }, __props.input, {
1296
+ !_ctx.useUsername ? (openBlock(), createBlock(_component_q_input, mergeProps({ key: 0 }, _ctx.input, {
1297
1297
  id: "email",
1298
1298
  modelValue: email.value,
1299
1299
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => email.value = $event),
1300
1300
  name: "email",
1301
1301
  label: unref(lang2).register.fields.email,
1302
1302
  "bottom-slots": "",
1303
- rules: unref(validations)["email"],
1303
+ rules: validations.value["email"],
1304
1304
  "lazy-rules": ""
1305
1305
  }), null, 16, ["modelValue", "label", "rules"])) : createCommentVNode("", true),
1306
- __props.useUsername ? (openBlock(), createBlock(_component_q_input, mergeProps({ key: 1 }, __props.input, {
1306
+ _ctx.useUsername ? (openBlock(), createBlock(_component_q_input, mergeProps({ key: 1 }, _ctx.input, {
1307
1307
  id: "username",
1308
1308
  modelValue: username.value,
1309
1309
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => username.value = $event),
1310
1310
  name: "username",
1311
1311
  label: unref(lang2).register.fields.username,
1312
1312
  "bottom-slots": "",
1313
- rules: unref(validations)["username"],
1313
+ rules: validations.value["username"],
1314
1314
  "lazy-rules": ""
1315
1315
  }), null, 16, ["modelValue", "label", "rules"])) : createCommentVNode("", true),
1316
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.extraFields, (field) => {
1316
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.extraFields, (field) => {
1317
1317
  return openBlock(), createBlock(_component_q_input, {
1318
1318
  key: field.name,
1319
1319
  modelValue: extraFieldValues.value[field.name],
@@ -1325,14 +1325,14 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1325
1325
  "bottom-slots": ""
1326
1326
  }, null, 8, ["modelValue", "onUpdate:modelValue", "name", "label", "rules"]);
1327
1327
  }), 128)),
1328
- createVNode(_component_q_input, mergeProps(__props.input, {
1328
+ createVNode(_component_q_input, mergeProps(_ctx.input, {
1329
1329
  id: "password",
1330
1330
  modelValue: password.value,
1331
1331
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => password.value = $event),
1332
1332
  name: "password",
1333
1333
  type: showPassword.value ? "text" : "password",
1334
1334
  label: unref(lang2).register.fields.password,
1335
- rules: unref(validations)["password"],
1335
+ rules: validations.value["password"],
1336
1336
  "lazy-rules": "",
1337
1337
  "bottom-slots": ""
1338
1338
  }), {
@@ -1353,7 +1353,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1353
1353
  label: unref(lang2).register.fields.repeatPassword,
1354
1354
  "bottom-slots": "",
1355
1355
  required: "",
1356
- rules: unref(validations)["repeatPassword"],
1356
+ rules: validations.value["repeatPassword"],
1357
1357
  "lazy-rules": ""
1358
1358
  }, {
1359
1359
  append: withCtx(() => [
@@ -1381,7 +1381,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
1381
1381
  useVerificationSlider: { type: Boolean }
1382
1382
  },
1383
1383
  emits: ["verified"],
1384
- setup(__props, { expose, emit }) {
1384
+ setup(__props, { expose: __expose, emit }) {
1385
1385
  const $q = useQuasar();
1386
1386
  const lang2 = useLang();
1387
1387
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -1408,7 +1408,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
1408
1408
  const functions = ref({
1409
1409
  // submit
1410
1410
  });
1411
- expose({
1411
+ __expose({
1412
1412
  variables,
1413
1413
  functions
1414
1414
  });
@@ -1432,11 +1432,11 @@ const __default__$2 = {
1432
1432
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1433
1433
  ...__default__$2,
1434
1434
  props: {
1435
- scopes: null,
1436
- claims: null,
1437
- resourceScopes: null
1435
+ scopes: {},
1436
+ claims: {},
1437
+ resourceScopes: {}
1438
1438
  },
1439
- setup(__props, { expose }) {
1439
+ setup(__props, { expose: __expose }) {
1440
1440
  const $q = useQuasar();
1441
1441
  const lang2 = useLang();
1442
1442
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -1455,7 +1455,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1455
1455
  const functions = ref({
1456
1456
  // submit
1457
1457
  });
1458
- expose({
1458
+ __expose({
1459
1459
  variables,
1460
1460
  functions
1461
1461
  });
@@ -1466,7 +1466,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1466
1466
  const _component_q_list = QList;
1467
1467
  return openBlock(), createBlock(_component_q_list, null, {
1468
1468
  default: withCtx(() => [
1469
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.scopes, (scope) => {
1469
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.scopes, (scope) => {
1470
1470
  return openBlock(), createBlock(_component_q_item, {
1471
1471
  key: scope.name
1472
1472
  }, {
@@ -1490,7 +1490,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1490
1490
  _: 2
1491
1491
  }, 1024);
1492
1492
  }), 128)),
1493
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.claims, (claim) => {
1493
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.claims, (claim) => {
1494
1494
  return openBlock(), createBlock(_component_q_item, {
1495
1495
  key: claim.name
1496
1496
  }, {
@@ -1514,7 +1514,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1514
1514
  _: 2
1515
1515
  }, 1024);
1516
1516
  }), 128)),
1517
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.resourceScopes, (resourceScope) => {
1517
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.resourceScopes, (resourceScope) => {
1518
1518
  return openBlock(), createBlock(_component_q_item, {
1519
1519
  key: resourceScope.name
1520
1520
  }, {
@@ -1550,10 +1550,10 @@ const __default__$1 = {
1550
1550
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1551
1551
  ...__default__$1,
1552
1552
  props: {
1553
- userRoute: null
1553
+ userRoute: {}
1554
1554
  },
1555
1555
  emits: ["signOut"],
1556
- setup(__props, { expose, emit }) {
1556
+ setup(__props, { expose: __expose, emit }) {
1557
1557
  const $q = useQuasar();
1558
1558
  const lang2 = useLang();
1559
1559
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -1567,7 +1567,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1567
1567
  const functions = ref({
1568
1568
  // submit
1569
1569
  });
1570
- expose({
1570
+ __expose({
1571
1571
  variables,
1572
1572
  functions
1573
1573
  });
@@ -1583,7 +1583,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1583
1583
  default: withCtx(() => [
1584
1584
  createVNode(_component_q_list, null, {
1585
1585
  default: withCtx(() => [
1586
- createVNode(_component_q_item, { to: __props.userRoute }, {
1586
+ createVNode(_component_q_item, { to: _ctx.userRoute }, {
1587
1587
  default: withCtx(() => [
1588
1588
  createVNode(_component_q_item_section, null, {
1589
1589
  default: withCtx(() => [
@@ -1629,9 +1629,9 @@ const __default__ = {
1629
1629
  const _sfc_main = /* @__PURE__ */ defineComponent({
1630
1630
  ...__default__,
1631
1631
  props: {
1632
- withNetwork: null
1632
+ withNetwork: {}
1633
1633
  },
1634
- setup(__props, { expose }) {
1634
+ setup(__props, { expose: __expose }) {
1635
1635
  const $q = useQuasar();
1636
1636
  const lang2 = useLang();
1637
1637
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -1645,7 +1645,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1645
1645
  const functions = ref({
1646
1646
  // submit
1647
1647
  });
1648
- expose({
1648
+ __expose({
1649
1649
  variables,
1650
1650
  functions
1651
1651
  });
@@ -1654,7 +1654,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1654
1654
  return openBlock(), createBlock(_component_q_btn, null, {
1655
1655
  default: withCtx(() => [
1656
1656
  renderSlot(_ctx.$slots, "icon"),
1657
- __props.withNetwork ? (openBlock(), createElementBlock("div", _hoisted_1, toDisplayString(unref(lang2).login.loginWith) + " " + toDisplayString(__props.withNetwork), 1)) : (openBlock(), createElementBlock("div", _hoisted_2, toDisplayString(unref(lang2).login.login), 1))
1657
+ _ctx.withNetwork ? (openBlock(), createElementBlock("div", _hoisted_1, toDisplayString(unref(lang2).login.loginWith) + " " + toDisplayString(_ctx.withNetwork), 1)) : (openBlock(), createElementBlock("div", _hoisted_2, toDisplayString(unref(lang2).login.login), 1))
1658
1658
  ]),
1659
1659
  _: 3
1660
1660
  });