@simsustech/quasar-components 0.3.4 → 0.3.6

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 +102 -99
  4. package/dist/flags.js +224 -5
  5. package/dist/form.js +66 -58
  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 +25 -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 +9 -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 +9 -5
  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
@@ -142,16 +142,6 @@ function assertString(input) {
142
142
  throw new TypeError("Expected a string but received a ".concat(invalidType));
143
143
  }
144
144
  }
145
- function merge() {
146
- var obj = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
147
- var defaults = arguments.length > 1 ? arguments[1] : void 0;
148
- for (var key in defaults) {
149
- if (typeof obj[key] === "undefined") {
150
- obj[key] = defaults[key];
151
- }
152
- }
153
- return obj;
154
- }
155
145
  function _typeof(obj) {
156
146
  "@babel/helpers - typeof";
157
147
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
@@ -179,6 +169,16 @@ function isByteLength(str, options) {
179
169
  var len = encodeURI(str).split(/%..|./).length - 1;
180
170
  return len >= min && (typeof max === "undefined" || len <= max);
181
171
  }
172
+ function merge() {
173
+ var obj = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
174
+ var defaults = arguments.length > 1 ? arguments[1] : void 0;
175
+ for (var key in defaults) {
176
+ if (typeof obj[key] === "undefined") {
177
+ obj[key] = defaults[key];
178
+ }
179
+ }
180
+ return obj;
181
+ }
182
182
  var default_fqdn_options = {
183
183
  require_tld: true,
184
184
  allow_underscores: false,
@@ -253,6 +253,7 @@ function isIP(str) {
253
253
  }
254
254
  var default_email_options = {
255
255
  allow_display_name: false,
256
+ allow_underscores: false,
256
257
  require_display_name: false,
257
258
  allow_utf8_local_part: true,
258
259
  require_tld: true,
@@ -265,7 +266,7 @@ var splitNameAddress = /^([^\x00-\x1F\x7F-\x9F\cX]+)</i;
265
266
  var emailUserPart = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i;
266
267
  var gmailUserPart = /^[a-z\d]+$/;
267
268
  var quotedEmailUser = /^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i;
268
- var emailUserUtf8Part = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i;
269
+ var emailUserUtf8Part = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i;
269
270
  var quotedEmailUserUtf8 = /^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;
270
271
  var defaultMaxEmailLength = 254;
271
272
  function validateDisplayName(display_name) {
@@ -341,7 +342,8 @@ function isEmail(str, options) {
341
342
  }
342
343
  if (!isFQDN(domain, {
343
344
  require_tld: options.require_tld,
344
- ignore_max_length: options.ignore_max_length
345
+ ignore_max_length: options.ignore_max_length,
346
+ allow_underscores: options.allow_underscores
345
347
  })) {
346
348
  if (!options.allow_ip_domain) {
347
349
  return false;
@@ -379,11 +381,11 @@ const __default__$a = {
379
381
  const _sfc_main$b = /* @__PURE__ */ defineComponent({
380
382
  ...__default__$a,
381
383
  props: {
382
- form: null,
383
- input: null
384
+ form: {},
385
+ input: {}
384
386
  },
385
387
  emits: ["submit"],
386
- setup(__props, { expose, emit }) {
388
+ setup(__props, { expose: __expose, emit }) {
387
389
  const $q = useQuasar();
388
390
  const lang2 = useLang();
389
391
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -416,7 +418,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
416
418
  };
417
419
  const variables = ref({ header });
418
420
  const functions = ref({ submit });
419
- expose({
421
+ __expose({
420
422
  variables,
421
423
  functions
422
424
  });
@@ -425,11 +427,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
425
427
  return openBlock(), createBlock(unref(QForm), mergeProps({
426
428
  ref_key: "formRef",
427
429
  ref: formRef
428
- }, __props.form, {
430
+ }, _ctx.form, {
429
431
  onSubmit: _cache[1] || (_cache[1] = (e) => submit)
430
432
  }), {
431
433
  default: withCtx(() => [
432
- createVNode(_component_q_input, mergeProps(__props.input, {
434
+ createVNode(_component_q_input, mergeProps(_ctx.input, {
433
435
  id: "email",
434
436
  modelValue: email.value,
435
437
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => email.value = $event),
@@ -437,7 +439,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
437
439
  name: "email",
438
440
  type: "text",
439
441
  label: unref(lang2).otp.fields.email,
440
- rules: unref(validations)["email"],
442
+ rules: validations.value["email"],
441
443
  "lazy-rules": "",
442
444
  autofocus: ""
443
445
  }), null, 16, ["modelValue", "label", "rules"]),
@@ -451,7 +453,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
451
453
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
452
454
  __name: "OtpInput",
453
455
  props: {
454
- modelValue: null
456
+ modelValue: {}
455
457
  },
456
458
  emits: ["update:modelValue"],
457
459
  setup(__props) {
@@ -463,11 +465,11 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
463
465
  return openBlock(), createBlock(unref(QInput), {
464
466
  id: "otp",
465
467
  name: "otp",
466
- "model-value": __props.modelValue,
468
+ "model-value": _ctx.modelValue,
467
469
  "bottom-slots": "",
468
470
  "lazy-rules": "",
469
471
  label: unref(lang2).otp.verificationCode,
470
- rules: unref(validations)["otp"],
472
+ rules: validations.value["otp"],
471
473
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event))
472
474
  }, null, 8, ["model-value", "label", "rules"]);
473
475
  };
@@ -479,12 +481,12 @@ const __default__$9 = {
479
481
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
480
482
  ...__default__$9,
481
483
  props: {
482
- email: null,
483
- form: null,
484
- input: null
484
+ email: {},
485
+ form: {},
486
+ input: {}
485
487
  },
486
488
  emits: ["submit"],
487
- setup(__props, { expose, emit }) {
489
+ setup(__props, { expose: __expose, emit }) {
488
490
  const props = __props;
489
491
  const $q = useQuasar();
490
492
  const lang2 = useLang();
@@ -529,7 +531,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
529
531
  const functions = ref({
530
532
  submit
531
533
  });
532
- expose({
534
+ __expose({
533
535
  variables,
534
536
  functions
535
537
  });
@@ -539,32 +541,32 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
539
541
  ref_key: "formRef",
540
542
  ref: formRef,
541
543
  class: "q-gutter-md"
542
- }, __props.form, {
544
+ }, _ctx.form, {
543
545
  onSubmit: _cache[3] || (_cache[3] = (e) => submit)
544
546
  }), {
545
547
  default: withCtx(() => [
546
- createVNode(_sfc_main$a, mergeProps(__props.input, {
548
+ createVNode(_sfc_main$a, mergeProps(_ctx.input, {
547
549
  modelValue: otp.value,
548
550
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => otp.value = $event)
549
551
  }), null, 16, ["modelValue"]),
550
- createVNode(_component_q_input, mergeProps(__props.input, {
552
+ createVNode(_component_q_input, mergeProps(_ctx.input, {
551
553
  id: "newEmail",
552
554
  modelValue: newEmail.value,
553
555
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => newEmail.value = $event),
554
556
  name: "newEmail",
555
557
  label: unref(lang2).email.fields.newEmail,
556
558
  "bottom-slots": "",
557
- rules: unref(validations)["newEmail"],
559
+ rules: validations.value["newEmail"],
558
560
  "lazy-rules": ""
559
561
  }), null, 16, ["modelValue", "label", "rules"]),
560
- createVNode(_component_q_input, mergeProps(__props.input, {
562
+ createVNode(_component_q_input, mergeProps(_ctx.input, {
561
563
  id: "repeatNewEmail",
562
564
  modelValue: repeatNewEmail.value,
563
565
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => repeatNewEmail.value = $event),
564
566
  name: "repeatNewEmail",
565
567
  label: unref(lang2).email.fields.repeatNewEmail,
566
568
  "bottom-slots": "",
567
- rules: unref(validations)["repeatNewEmail"],
569
+ rules: validations.value["repeatNewEmail"],
568
570
  "lazy-rules": ""
569
571
  }), null, 16, ["modelValue", "label", "rules"]),
570
572
  renderSlot(_ctx.$slots, "default", { submit })
@@ -580,10 +582,10 @@ const __default__$8 = {
580
582
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
581
583
  ...__default__$8,
582
584
  props: {
583
- input: null
585
+ input: {}
584
586
  },
585
587
  emits: ["requestOtp", "changeEmail"],
586
- setup(__props, { expose, emit }) {
588
+ setup(__props, { expose: __expose, emit }) {
587
589
  const $q = useQuasar();
588
590
  const lang2 = useLang();
589
591
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -642,7 +644,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
642
644
  const functions = ref({
643
645
  goToStep: (newStep) => step.value = newStep
644
646
  });
645
- expose({
647
+ __expose({
646
648
  variables,
647
649
  functions
648
650
  });
@@ -678,14 +680,14 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
678
680
  default: withCtx(() => [
679
681
  createVNode(_component_q_step, {
680
682
  name: "requestOtp",
681
- title: unref(requestOtpHeader)
683
+ title: requestOtpHeader.value
682
684
  }, {
683
685
  default: withCtx(() => [
684
686
  createVNode(_sfc_main$b, {
685
687
  ref_key: "requestOtpFormRef",
686
688
  ref: requestOtpFormRef,
687
689
  form: { id: "requestOtpForm" },
688
- input: __props.input,
690
+ input: _ctx.input,
689
691
  onSubmit: requestOtp
690
692
  }, null, 8, ["input"])
691
693
  ]),
@@ -693,7 +695,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
693
695
  }, 8, ["title"]),
694
696
  createVNode(_component_q_step, {
695
697
  name: "changeEmail",
696
- title: unref(emailChangeHeader)
698
+ title: emailChangeHeader.value
697
699
  }, {
698
700
  default: withCtx(() => [
699
701
  createVNode(_sfc_main$9, {
@@ -701,7 +703,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
701
703
  ref: emailChangeFormRef,
702
704
  form: { id: "emailChangeForm" },
703
705
  email: email.value,
704
- input: __props.input,
706
+ input: _ctx.input,
705
707
  onSubmit: changeEmail
706
708
  }, null, 8, ["email", "input"])
707
709
  ]),
@@ -723,13 +725,13 @@ const __default__$7 = {
723
725
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
724
726
  ...__default__$7,
725
727
  props: {
726
- email: null,
728
+ email: {},
727
729
  minimumPasswordLength: { default: 8 },
728
730
  form: { default: void 0 },
729
731
  input: { default: void 0 }
730
732
  },
731
733
  emits: ["submit"],
732
- setup(__props, { expose, emit }) {
734
+ setup(__props, { expose: __expose, emit }) {
733
735
  const props = __props;
734
736
  const $q = useQuasar();
735
737
  const lang2 = useLang();
@@ -779,7 +781,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
779
781
  const functions = ref({
780
782
  submit
781
783
  });
782
- expose({
784
+ __expose({
783
785
  variables,
784
786
  functions
785
787
  });
@@ -790,15 +792,15 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
790
792
  ref_key: "formRef",
791
793
  ref: formRef,
792
794
  class: "q-gutter-md"
793
- }, __props.form, {
795
+ }, _ctx.form, {
794
796
  onSubmit: _cache[5] || (_cache[5] = (e) => submit)
795
797
  }), {
796
798
  default: withCtx(() => [
797
- createVNode(_sfc_main$a, mergeProps(__props.input, {
799
+ createVNode(_sfc_main$a, mergeProps(_ctx.input, {
798
800
  modelValue: otp.value,
799
801
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => otp.value = $event)
800
802
  }), null, 16, ["modelValue"]),
801
- createVNode(_component_q_input, mergeProps(__props.input, {
803
+ createVNode(_component_q_input, mergeProps(_ctx.input, {
802
804
  id: "newPassword",
803
805
  modelValue: newPassword.value,
804
806
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => newPassword.value = $event),
@@ -806,7 +808,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
806
808
  type: showPassword.value ? "text" : "password",
807
809
  label: unref(lang2).password.fields.password,
808
810
  "bottom-slots": "",
809
- rules: unref(validations)["newPassword"],
811
+ rules: validations.value["newPassword"],
810
812
  "lazy-rules": ""
811
813
  }), {
812
814
  append: withCtx(() => [
@@ -818,7 +820,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
818
820
  ]),
819
821
  _: 1
820
822
  }, 16, ["modelValue", "type", "label", "rules"]),
821
- createVNode(_component_q_input, mergeProps(__props.input, {
823
+ createVNode(_component_q_input, mergeProps(_ctx.input, {
822
824
  id: "repeatNewPassword",
823
825
  modelValue: repeatNewPassword.value,
824
826
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => repeatNewPassword.value = $event),
@@ -826,7 +828,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
826
828
  type: showRepeatPassword.value ? "text" : "password",
827
829
  label: unref(lang2).password.fields.repeatPassword,
828
830
  "bottom-slots": "",
829
- rules: unref(validations)["repeatNewPassword"],
831
+ rules: validations.value["repeatNewPassword"],
830
832
  "lazy-rules": ""
831
833
  }), {
832
834
  append: withCtx(() => [
@@ -851,10 +853,10 @@ const __default__$6 = {
851
853
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
852
854
  ...__default__$6,
853
855
  props: {
854
- input: null
856
+ input: {}
855
857
  },
856
858
  emits: ["requestOtp", "changePassword"],
857
- setup(__props, { expose, emit }) {
859
+ setup(__props, { expose: __expose, emit }) {
858
860
  const $q = useQuasar();
859
861
  const lang2 = useLang();
860
862
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -913,7 +915,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
913
915
  const functions = ref({
914
916
  goToStep: (newStep) => step.value = newStep
915
917
  });
916
- expose({
918
+ __expose({
917
919
  variables,
918
920
  functions
919
921
  });
@@ -949,14 +951,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
949
951
  default: withCtx(() => [
950
952
  createVNode(_component_q_step, {
951
953
  name: "requestOtp",
952
- title: unref(requestOtpHeader)
954
+ title: requestOtpHeader.value
953
955
  }, {
954
956
  default: withCtx(() => [
955
957
  createVNode(_sfc_main$b, {
956
958
  ref_key: "requestOtpFormRef",
957
959
  ref: requestOtpFormRef,
958
960
  form: { id: "requestOtpForm" },
959
- input: __props.input,
961
+ input: _ctx.input,
960
962
  onSubmit: requestOtp
961
963
  }, null, 8, ["input"])
962
964
  ]),
@@ -964,7 +966,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
964
966
  }, 8, ["title"]),
965
967
  createVNode(_component_q_step, {
966
968
  name: "changePassword",
967
- title: unref(passwordChangeHeader)
969
+ title: passwordChangeHeader.value
968
970
  }, {
969
971
  default: withCtx(() => [
970
972
  createVNode(_sfc_main$7, {
@@ -972,7 +974,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
972
974
  ref: passwordChangeFormRef,
973
975
  form: { id: "passwordChangeForm" },
974
976
  email: email.value,
975
- input: __props.input,
977
+ input: _ctx.input,
976
978
  onSubmit: changePassword
977
979
  }, null, 8, ["email", "input"])
978
980
  ]),
@@ -991,12 +993,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
991
993
  ...__default__$5,
992
994
  props: {
993
995
  useUsername: { type: Boolean },
994
- passwordForgotUrl: null,
995
- form: null,
996
- input: null
996
+ passwordForgotUrl: {},
997
+ form: {},
998
+ input: {}
997
999
  },
998
1000
  emits: ["submit"],
999
- setup(__props, { expose, emit }) {
1001
+ setup(__props, { expose: __expose, emit }) {
1000
1002
  const $q = useQuasar();
1001
1003
  const lang2 = useLang();
1002
1004
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -1044,7 +1046,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1044
1046
  const functions = ref({
1045
1047
  submit
1046
1048
  });
1047
- expose({
1049
+ __expose({
1048
1050
  variables,
1049
1051
  functions
1050
1052
  });
@@ -1056,28 +1058,28 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1056
1058
  ref_key: "formRef",
1057
1059
  ref: formRef,
1058
1060
  class: "q-gutter-md"
1059
- }, __props.form, {
1061
+ }, _ctx.form, {
1060
1062
  onSubmit: _cache[4] || (_cache[4] = (e) => submit)
1061
1063
  }), {
1062
1064
  default: withCtx(() => [
1063
- !__props.useUsername ? (openBlock(), createBlock(_component_q_input, mergeProps({ key: 0 }, __props.input, {
1065
+ !_ctx.useUsername ? (openBlock(), createBlock(_component_q_input, mergeProps({ key: 0 }, _ctx.input, {
1064
1066
  id: "email",
1065
1067
  modelValue: email.value,
1066
1068
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => email.value = $event),
1067
1069
  name: "email",
1068
1070
  label: unref(lang2).login.fields.email,
1069
1071
  "bottom-slots": "",
1070
- rules: unref(validations)["email"],
1072
+ rules: validations.value["email"],
1071
1073
  "lazy-rules": ""
1072
1074
  }), null, 16, ["modelValue", "label", "rules"])) : createCommentVNode("", true),
1073
- __props.useUsername ? (openBlock(), createBlock(_component_q_input, mergeProps({ key: 1 }, __props.input, {
1075
+ _ctx.useUsername ? (openBlock(), createBlock(_component_q_input, mergeProps({ key: 1 }, _ctx.input, {
1074
1076
  id: "username",
1075
1077
  modelValue: username.value,
1076
1078
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => username.value = $event),
1077
1079
  name: "username",
1078
1080
  label: unref(lang2).login.fields.username,
1079
1081
  "bottom-slots": "",
1080
- rules: unref(validations)["username"],
1082
+ rules: validations.value["username"],
1081
1083
  "lazy-rules": ""
1082
1084
  }), null, 16, ["modelValue", "label", "rules"])) : createCommentVNode("", true),
1083
1085
  createVNode(_component_q_input, mergeProps({
@@ -1085,11 +1087,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1085
1087
  modelValue: password.value,
1086
1088
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => password.value = $event),
1087
1089
  class: "q-pt-none"
1088
- }, __props.input, {
1090
+ }, _ctx.input, {
1089
1091
  name: "password",
1090
1092
  type: showPassword.value ? "text" : "password",
1091
1093
  label: unref(lang2).login.fields.password,
1092
- rules: unref(validations)["password"],
1094
+ rules: validations.value["password"],
1093
1095
  "lazy-rules": "",
1094
1096
  "bottom-slots": ""
1095
1097
  }), {
@@ -1102,13 +1104,13 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1102
1104
  ]),
1103
1105
  _: 1
1104
1106
  }, 16, ["modelValue", "type", "label", "rules"]),
1105
- __props.passwordForgotUrl ? (openBlock(), createBlock(_component_q_btn, {
1107
+ _ctx.passwordForgotUrl ? (openBlock(), createBlock(_component_q_btn, {
1106
1108
  key: 2,
1107
1109
  class: "q-pt-none text-primary",
1108
1110
  label: unref(lang2).login.forgotPassword,
1109
1111
  size: "sm",
1110
1112
  flat: "",
1111
- to: __props.passwordForgotUrl
1113
+ to: _ctx.passwordForgotUrl
1112
1114
  }, null, 8, ["label", "to"])) : createCommentVNode("", true),
1113
1115
  renderSlot(_ctx.$slots, "default", { submit })
1114
1116
  ]),
@@ -1137,6 +1139,7 @@ var alphanumeric = {
1137
1139
  "pl-PL": /^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,
1138
1140
  "pt-PT": /^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,
1139
1141
  "ru-RU": /^[0-9А-ЯЁ]+$/i,
1142
+ "kk-KZ": /^[0-9А-ЯЁ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA]+$/i,
1140
1143
  "sl-SI": /^[0-9A-ZČĆĐŠŽ]+$/i,
1141
1144
  "sk-SK": /^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,
1142
1145
  "sr-RS@latin": /^[0-9A-ZČĆŽŠĐ]+$/i,
@@ -1211,7 +1214,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1211
1214
  input: { default: void 0 }
1212
1215
  },
1213
1216
  emits: ["submit"],
1214
- setup(__props, { expose, emit }) {
1217
+ setup(__props, { expose: __expose, emit }) {
1215
1218
  const props = __props;
1216
1219
  const $q = useQuasar();
1217
1220
  const lang2 = useLang();
@@ -1278,7 +1281,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1278
1281
  const functions = ref({
1279
1282
  submit
1280
1283
  });
1281
- expose({
1284
+ __expose({
1282
1285
  variables,
1283
1286
  functions
1284
1287
  });
@@ -1289,31 +1292,31 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1289
1292
  ref_key: "formRef",
1290
1293
  ref: formRef,
1291
1294
  class: "q-gutter-md"
1292
- }, __props.form, {
1295
+ }, _ctx.form, {
1293
1296
  onSubmit: _cache[6] || (_cache[6] = (e) => submit)
1294
1297
  }), {
1295
1298
  default: withCtx(() => [
1296
- !__props.useUsername ? (openBlock(), createBlock(_component_q_input, mergeProps({ key: 0 }, __props.input, {
1299
+ !_ctx.useUsername ? (openBlock(), createBlock(_component_q_input, mergeProps({ key: 0 }, _ctx.input, {
1297
1300
  id: "email",
1298
1301
  modelValue: email.value,
1299
1302
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => email.value = $event),
1300
1303
  name: "email",
1301
1304
  label: unref(lang2).register.fields.email,
1302
1305
  "bottom-slots": "",
1303
- rules: unref(validations)["email"],
1306
+ rules: validations.value["email"],
1304
1307
  "lazy-rules": ""
1305
1308
  }), null, 16, ["modelValue", "label", "rules"])) : createCommentVNode("", true),
1306
- __props.useUsername ? (openBlock(), createBlock(_component_q_input, mergeProps({ key: 1 }, __props.input, {
1309
+ _ctx.useUsername ? (openBlock(), createBlock(_component_q_input, mergeProps({ key: 1 }, _ctx.input, {
1307
1310
  id: "username",
1308
1311
  modelValue: username.value,
1309
1312
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => username.value = $event),
1310
1313
  name: "username",
1311
1314
  label: unref(lang2).register.fields.username,
1312
1315
  "bottom-slots": "",
1313
- rules: unref(validations)["username"],
1316
+ rules: validations.value["username"],
1314
1317
  "lazy-rules": ""
1315
1318
  }), null, 16, ["modelValue", "label", "rules"])) : createCommentVNode("", true),
1316
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.extraFields, (field) => {
1319
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.extraFields, (field) => {
1317
1320
  return openBlock(), createBlock(_component_q_input, {
1318
1321
  key: field.name,
1319
1322
  modelValue: extraFieldValues.value[field.name],
@@ -1325,14 +1328,14 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1325
1328
  "bottom-slots": ""
1326
1329
  }, null, 8, ["modelValue", "onUpdate:modelValue", "name", "label", "rules"]);
1327
1330
  }), 128)),
1328
- createVNode(_component_q_input, mergeProps(__props.input, {
1331
+ createVNode(_component_q_input, mergeProps(_ctx.input, {
1329
1332
  id: "password",
1330
1333
  modelValue: password.value,
1331
1334
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => password.value = $event),
1332
1335
  name: "password",
1333
1336
  type: showPassword.value ? "text" : "password",
1334
1337
  label: unref(lang2).register.fields.password,
1335
- rules: unref(validations)["password"],
1338
+ rules: validations.value["password"],
1336
1339
  "lazy-rules": "",
1337
1340
  "bottom-slots": ""
1338
1341
  }), {
@@ -1353,7 +1356,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1353
1356
  label: unref(lang2).register.fields.repeatPassword,
1354
1357
  "bottom-slots": "",
1355
1358
  required: "",
1356
- rules: unref(validations)["repeatPassword"],
1359
+ rules: validations.value["repeatPassword"],
1357
1360
  "lazy-rules": ""
1358
1361
  }, {
1359
1362
  append: withCtx(() => [
@@ -1381,7 +1384,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
1381
1384
  useVerificationSlider: { type: Boolean }
1382
1385
  },
1383
1386
  emits: ["verified"],
1384
- setup(__props, { expose, emit }) {
1387
+ setup(__props, { expose: __expose, emit }) {
1385
1388
  const $q = useQuasar();
1386
1389
  const lang2 = useLang();
1387
1390
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -1408,7 +1411,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
1408
1411
  const functions = ref({
1409
1412
  // submit
1410
1413
  });
1411
- expose({
1414
+ __expose({
1412
1415
  variables,
1413
1416
  functions
1414
1417
  });
@@ -1432,11 +1435,11 @@ const __default__$2 = {
1432
1435
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1433
1436
  ...__default__$2,
1434
1437
  props: {
1435
- scopes: null,
1436
- claims: null,
1437
- resourceScopes: null
1438
+ scopes: {},
1439
+ claims: {},
1440
+ resourceScopes: {}
1438
1441
  },
1439
- setup(__props, { expose }) {
1442
+ setup(__props, { expose: __expose }) {
1440
1443
  const $q = useQuasar();
1441
1444
  const lang2 = useLang();
1442
1445
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -1455,7 +1458,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1455
1458
  const functions = ref({
1456
1459
  // submit
1457
1460
  });
1458
- expose({
1461
+ __expose({
1459
1462
  variables,
1460
1463
  functions
1461
1464
  });
@@ -1466,7 +1469,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1466
1469
  const _component_q_list = QList;
1467
1470
  return openBlock(), createBlock(_component_q_list, null, {
1468
1471
  default: withCtx(() => [
1469
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.scopes, (scope) => {
1472
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.scopes, (scope) => {
1470
1473
  return openBlock(), createBlock(_component_q_item, {
1471
1474
  key: scope.name
1472
1475
  }, {
@@ -1490,7 +1493,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1490
1493
  _: 2
1491
1494
  }, 1024);
1492
1495
  }), 128)),
1493
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.claims, (claim) => {
1496
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.claims, (claim) => {
1494
1497
  return openBlock(), createBlock(_component_q_item, {
1495
1498
  key: claim.name
1496
1499
  }, {
@@ -1514,7 +1517,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1514
1517
  _: 2
1515
1518
  }, 1024);
1516
1519
  }), 128)),
1517
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.resourceScopes, (resourceScope) => {
1520
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.resourceScopes, (resourceScope) => {
1518
1521
  return openBlock(), createBlock(_component_q_item, {
1519
1522
  key: resourceScope.name
1520
1523
  }, {
@@ -1550,10 +1553,10 @@ const __default__$1 = {
1550
1553
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1551
1554
  ...__default__$1,
1552
1555
  props: {
1553
- userRoute: null
1556
+ userRoute: {}
1554
1557
  },
1555
1558
  emits: ["signOut"],
1556
- setup(__props, { expose, emit }) {
1559
+ setup(__props, { expose: __expose, emit }) {
1557
1560
  const $q = useQuasar();
1558
1561
  const lang2 = useLang();
1559
1562
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -1567,7 +1570,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1567
1570
  const functions = ref({
1568
1571
  // submit
1569
1572
  });
1570
- expose({
1573
+ __expose({
1571
1574
  variables,
1572
1575
  functions
1573
1576
  });
@@ -1583,7 +1586,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1583
1586
  default: withCtx(() => [
1584
1587
  createVNode(_component_q_list, null, {
1585
1588
  default: withCtx(() => [
1586
- createVNode(_component_q_item, { to: __props.userRoute }, {
1589
+ createVNode(_component_q_item, { to: _ctx.userRoute }, {
1587
1590
  default: withCtx(() => [
1588
1591
  createVNode(_component_q_item_section, null, {
1589
1592
  default: withCtx(() => [
@@ -1629,9 +1632,9 @@ const __default__ = {
1629
1632
  const _sfc_main = /* @__PURE__ */ defineComponent({
1630
1633
  ...__default__,
1631
1634
  props: {
1632
- withNetwork: null
1635
+ withNetwork: {}
1633
1636
  },
1634
- setup(__props, { expose }) {
1637
+ setup(__props, { expose: __expose }) {
1635
1638
  const $q = useQuasar();
1636
1639
  const lang2 = useLang();
1637
1640
  if (lang2.value.isoName !== $q.lang.isoName)
@@ -1645,7 +1648,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1645
1648
  const functions = ref({
1646
1649
  // submit
1647
1650
  });
1648
- expose({
1651
+ __expose({
1649
1652
  variables,
1650
1653
  functions
1651
1654
  });
@@ -1654,7 +1657,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1654
1657
  return openBlock(), createBlock(_component_q_btn, null, {
1655
1658
  default: withCtx(() => [
1656
1659
  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))
1660
+ _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
1661
  ]),
1659
1662
  _: 3
1660
1663
  });