@simsustech/quasar-components 0.7.1 → 0.8.0

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 (49) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/form.js +167 -27
  3. package/dist/{nl-DF7uv7-9.js → nl-CZsfRA99.js} +5 -0
  4. package/dist/types/ui/authentication/ConsentList.vue.d.ts +3 -3
  5. package/dist/types/ui/authentication/EmailChangeForm.vue.d.ts +8 -8
  6. package/dist/types/ui/authentication/EmailChangeStepper.vue.d.ts +3 -3
  7. package/dist/types/ui/authentication/LoginButton.vue.d.ts +7 -7
  8. package/dist/types/ui/authentication/LoginForm.vue.d.ts +8 -8
  9. package/dist/types/ui/authentication/OtpInput.vue.d.ts +3 -3
  10. package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +12 -12
  11. package/dist/types/ui/authentication/PasswordChangeStepper.vue.d.ts +3 -3
  12. package/dist/types/ui/authentication/RegisterForm.vue.d.ts +12 -12
  13. package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +8 -8
  14. package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +8 -8
  15. package/dist/types/ui/authentication/VerificationSlider.vue.d.ts +3 -3
  16. package/dist/types/ui/form/BooleanItem.vue.d.ts +2 -2
  17. package/dist/types/ui/form/BooleanSelect.vue.d.ts +3 -3
  18. package/dist/types/ui/form/CurrencySelect.vue.d.ts +20 -0
  19. package/dist/types/ui/form/DateInput.vue.d.ts +11 -11
  20. package/dist/types/ui/form/DatePicker.vue.d.ts +3 -3
  21. package/dist/types/ui/form/EmailInput.vue.d.ts +3 -3
  22. package/dist/types/ui/form/FilteredModelSelect.vue.d.ts +7 -3
  23. package/dist/types/ui/form/FormInput.vue.d.ts +2 -2
  24. package/dist/types/ui/form/FormItem.vue.d.ts +7 -7
  25. package/dist/types/ui/form/GenderItem.vue.d.ts +2 -2
  26. package/dist/types/ui/form/GenderSelect.vue.d.ts +3 -3
  27. package/dist/types/ui/form/LocaleSelect.vue.d.ts +14 -0
  28. package/dist/types/ui/form/PostalCodeInput.vue.d.ts +3 -3
  29. package/dist/types/ui/form/TelephoneNumberInput.vue.d.ts +3 -3
  30. package/dist/types/ui/form/index.d.ts +2 -0
  31. package/dist/types/ui/form/lang/index.d.ts +10 -0
  32. package/dist/types/ui/general/QLanguageSelect.vue.d.ts +5 -3
  33. package/dist/types/ui/general/QStyledCard.vue.d.ts +8 -8
  34. package/dist/types/ui/general/QStyledLayout.vue.d.ts +8 -8
  35. package/dist/types/ui/general/ResourcePage.vue.d.ts +11 -11
  36. package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +8 -8
  37. package/eslint.config.js +29 -0
  38. package/package.json +20 -17
  39. package/src/ui/flags/index.ts +2 -1
  40. package/src/ui/form/CurrencySelect.vue +49 -0
  41. package/src/ui/form/LocaleSelect.vue +63 -0
  42. package/src/ui/form/index.ts +2 -0
  43. package/src/ui/form/lang/en-US.ts +5 -0
  44. package/src/ui/form/lang/index.ts +6 -1
  45. package/src/ui/form/lang/nl.ts +5 -0
  46. package/src/ui/general/QLanguageSelect.vue +1 -2
  47. package/src/ui/icons/index.ts +1 -1
  48. package/.eslintignore +0 -2
  49. package/.eslintrc.cjs +0 -19
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @simsustech/quasar-components
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 050612f: Add CurrencySelect and LocaleSelect components
8
+
9
+ ### Patch Changes
10
+
11
+ - d749926: chore: update package.json
12
+ - cba0aa7: chore: update package.json
13
+
3
14
  ## 0.7.1
4
15
 
5
16
  ### Patch Changes
package/dist/form.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { ref, defineComponent, useAttrs, withAsyncContext, watch, openBlock, createBlock, unref, mergeProps, normalizeProps, guardReactiveProps, withCtx, createVNode, createTextVNode, toDisplayString, computed, useSlots, renderSlot, createCommentVNode, toRefs, resolveDirective, createElementBlock, Fragment, renderList, resolveDynamicComponent, createElementVNode, withDirectives, createSlots } from "vue";
2
2
  import { useQuasar, QSelect, QItem, QItemSection, QItemLabel, QInput, QDate, QIcon, QTooltip, QBtn, QPopupProxy, QField, QEditor } from "quasar";
3
+ import { e as enUs, n as nl, u as useLang$1 } from "./en-US-BEeILC7o.js";
3
4
  const lang$1 = {
4
5
  isoName: "en-US",
5
6
  yes: "Yes",
@@ -43,6 +44,11 @@ const lang$1 = {
43
44
  validations: {
44
45
  unavailableRange: "The selected period contains unavailable dates."
45
46
  }
47
+ },
48
+ currency: {
49
+ currency: "Currency",
50
+ EUR: "Euro",
51
+ USD: "USD"
46
52
  }
47
53
  };
48
54
  const enUS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -53,7 +59,7 @@ var define_import_meta_env_default = { BASE_URL: "/", MODE: "production", DEV: f
53
59
  const lang = ref(lang$1);
54
60
  const locales = /* @__PURE__ */ Object.assign({
55
61
  "./en-US.ts": () => Promise.resolve().then(() => enUS),
56
- "./nl.ts": () => import("./nl-DF7uv7-9.js")
62
+ "./nl.ts": () => import("./nl-CZsfRA99.js")
57
63
  });
58
64
  const useLang = () => {
59
65
  return lang;
@@ -77,7 +83,7 @@ const loadLang = async (isoName) => {
77
83
  loadingLanguage = false;
78
84
  }
79
85
  };
80
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
86
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
81
87
  __name: "GenderSelect",
82
88
  props: {
83
89
  modelValue: {},
@@ -130,7 +136,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
130
136
  };
131
137
  }
132
138
  });
133
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
139
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
134
140
  __name: "GenderItem",
135
141
  props: {
136
142
  modelValue: {}
@@ -170,7 +176,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
170
176
  };
171
177
  }
172
178
  });
173
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
179
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
174
180
  __name: "PostalCodeInput",
175
181
  props: {
176
182
  modelValue: {},
@@ -208,7 +214,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
208
214
  };
209
215
  }
210
216
  });
211
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
217
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
212
218
  __name: "FormItem",
213
219
  props: {
214
220
  modelValue: {},
@@ -269,7 +275,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
269
275
  };
270
276
  }
271
277
  });
272
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
278
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
273
279
  __name: "FormInput",
274
280
  props: {
275
281
  modelValue: {},
@@ -302,7 +308,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
302
308
  };
303
309
  }
304
310
  });
305
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
311
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
306
312
  __name: "TelephoneNumberInput",
307
313
  props: {
308
314
  modelValue: {},
@@ -328,12 +334,12 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
328
334
  };
329
335
  }
330
336
  });
331
- const _hoisted_1 = {
337
+ const _hoisted_1$1 = {
332
338
  key: 0,
333
339
  style: { "margin-left": "-0.5em", "margin-top": "0.75em" }
334
340
  };
335
- const _hoisted_2 = { class: "row items-center justify-end" };
336
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
341
+ const _hoisted_2$1 = { class: "row items-center justify-end" };
342
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
337
343
  __name: "DateInput",
338
344
  props: {
339
345
  modelValue: {},
@@ -489,7 +495,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
489
495
  borderless: ""
490
496
  }, dateProps.value[part]), {
491
497
  after: withCtx(() => [
492
- index < 2 ? (openBlock(), createElementBlock("a", _hoisted_1, "-")) : createCommentVNode("", true)
498
+ index < 2 ? (openBlock(), createElementBlock("a", _hoisted_1$1, "-")) : createCommentVNode("", true)
493
499
  ]),
494
500
  _: 2
495
501
  }, 1040);
@@ -526,7 +532,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
526
532
  "onUpdate:modelValue": setDate
527
533
  }), {
528
534
  default: withCtx(() => [
529
- createElementVNode("div", _hoisted_2, [
535
+ createElementVNode("div", _hoisted_2$1, [
530
536
  withDirectives(createVNode(_component_q_btn, {
531
537
  label: unref(lang2).buttons.close,
532
538
  color: "primary",
@@ -551,7 +557,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
551
557
  };
552
558
  }
553
559
  });
554
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
560
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
555
561
  __name: "BooleanSelect",
556
562
  props: {
557
563
  modelValue: { type: [Boolean, null] },
@@ -597,7 +603,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
597
603
  };
598
604
  }
599
605
  });
600
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
606
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
601
607
  __name: "BooleanItem",
602
608
  props: {
603
609
  modelValue: { type: [Boolean, null] },
@@ -641,7 +647,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
641
647
  const __default__$1 = {
642
648
  name: "EmailInput"
643
649
  };
644
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
650
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
645
651
  ...__default__$1,
646
652
  props: {
647
653
  subject: {},
@@ -678,7 +684,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
678
684
  };
679
685
  }
680
686
  });
681
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
687
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
682
688
  __name: "DatePicker",
683
689
  props: {
684
690
  modelValue: {},
@@ -744,6 +750,138 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
744
750
  };
745
751
  }
746
752
  });
753
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
754
+ __name: "CurrencySelect",
755
+ props: {
756
+ modelValue: {},
757
+ required: { type: Boolean }
758
+ },
759
+ emits: ["update:modelValue"],
760
+ setup(__props) {
761
+ const props = __props;
762
+ const attrs = useAttrs();
763
+ const lang2 = useLang();
764
+ const currencyOptions = ref([
765
+ {
766
+ label: lang2.value.currency.EUR,
767
+ value: "EUR"
768
+ },
769
+ {
770
+ label: lang2.value.currency.USD,
771
+ value: "USD"
772
+ }
773
+ ]);
774
+ const validations = ref([]);
775
+ if (props.required)
776
+ validations.value.push(
777
+ (val) => !!val || lang2.value.validations.fieldRequired
778
+ );
779
+ return (_ctx, _cache) => {
780
+ return openBlock(), createBlock(unref(QSelect), mergeProps(unref(attrs), {
781
+ rules: validations.value,
782
+ "model-value": _ctx.modelValue,
783
+ options: currencyOptions.value,
784
+ label: `${unref(lang2).currency.currency}${_ctx.required ? "*" : ""}`,
785
+ "emit-value": "",
786
+ "map-options": "",
787
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event))
788
+ }), null, 16, ["rules", "model-value", "options", "label"]);
789
+ };
790
+ }
791
+ });
792
+ const _hoisted_1 = { key: 0 };
793
+ const _hoisted_2 = { key: 1 };
794
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
795
+ __name: "LocaleSelect",
796
+ props: {
797
+ modelValue: {}
798
+ },
799
+ setup(__props) {
800
+ const props = __props;
801
+ const { modelValue } = toRefs(props);
802
+ const attrs = useAttrs();
803
+ const flagsLang = useLang$1();
804
+ const languageOptions = [
805
+ {
806
+ label: flagsLang.value.languages["en-US"],
807
+ value: "en-US"
808
+ },
809
+ {
810
+ label: flagsLang.value.languages.nl,
811
+ value: "nl"
812
+ }
813
+ ];
814
+ return (_ctx, _cache) => {
815
+ const _component_q_item_section = QItemSection;
816
+ const _component_q_item_label = QItemLabel;
817
+ const _component_q_item = QItem;
818
+ return openBlock(), createBlock(unref(QSelect), mergeProps(unref(attrs), {
819
+ options: languageOptions,
820
+ "model-value": unref(modelValue),
821
+ "emit-value": "",
822
+ "map-options": ""
823
+ }), {
824
+ selected: withCtx(() => [
825
+ unref(modelValue) === "en-US" ? (openBlock(), createElementBlock("div", _hoisted_1, [
826
+ createVNode(unref(enUs)),
827
+ createTextVNode(" " + toDisplayString(unref(flagsLang).languages["en-US"]), 1)
828
+ ])) : createCommentVNode("", true),
829
+ unref(modelValue) === "nl" ? (openBlock(), createElementBlock("div", _hoisted_2, [
830
+ createVNode(unref(nl)),
831
+ createTextVNode(" " + toDisplayString(unref(flagsLang).languages.nl), 1)
832
+ ])) : createCommentVNode("", true)
833
+ ]),
834
+ option: withCtx((scope) => [
835
+ scope.opt.value === "en-US" ? (openBlock(), createBlock(_component_q_item, normalizeProps(mergeProps({ key: 0 }, scope.itemProps)), {
836
+ default: withCtx(() => [
837
+ createVNode(_component_q_item_section, { avatar: "" }, {
838
+ default: withCtx(() => [
839
+ createVNode(unref(enUs))
840
+ ]),
841
+ _: 1
842
+ }),
843
+ createVNode(_component_q_item_section, null, {
844
+ default: withCtx(() => [
845
+ createVNode(_component_q_item_label, null, {
846
+ default: withCtx(() => [
847
+ createTextVNode(toDisplayString(unref(flagsLang).languages["en-US"]), 1)
848
+ ]),
849
+ _: 1
850
+ })
851
+ ]),
852
+ _: 1
853
+ })
854
+ ]),
855
+ _: 2
856
+ }, 1040)) : createCommentVNode("", true),
857
+ scope.opt.value === "nl" ? (openBlock(), createBlock(_component_q_item, normalizeProps(mergeProps({ key: 1 }, scope.itemProps)), {
858
+ default: withCtx(() => [
859
+ createVNode(_component_q_item_section, { avatar: "" }, {
860
+ default: withCtx(() => [
861
+ createVNode(unref(nl))
862
+ ]),
863
+ _: 1
864
+ }),
865
+ createVNode(_component_q_item_section, null, {
866
+ default: withCtx(() => [
867
+ createVNode(_component_q_item_label, null, {
868
+ default: withCtx(() => [
869
+ createTextVNode(toDisplayString(unref(flagsLang).languages.nl), 1)
870
+ ]),
871
+ _: 1
872
+ })
873
+ ]),
874
+ _: 1
875
+ })
876
+ ]),
877
+ _: 2
878
+ }, 1040)) : createCommentVNode("", true)
879
+ ]),
880
+ _: 1
881
+ }, 16, ["model-value"]);
882
+ };
883
+ }
884
+ });
747
885
  const __default__ = {
748
886
  name: "FilteredModelSelect"
749
887
  };
@@ -848,18 +986,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
848
986
  }
849
987
  });
850
988
  export {
851
- _sfc_main$3 as BooleanItem,
852
- _sfc_main$4 as BooleanSelect,
853
- _sfc_main$5 as DateInput,
854
- _sfc_main$1 as DatePicker,
855
- _sfc_main$2 as EmailInput,
989
+ _sfc_main$5 as BooleanItem,
990
+ _sfc_main$6 as BooleanSelect,
991
+ _sfc_main$2 as CurrencySelect,
992
+ _sfc_main$7 as DateInput,
993
+ _sfc_main$3 as DatePicker,
994
+ _sfc_main$4 as EmailInput,
856
995
  _sfc_main as FilteredModelSelect,
857
- _sfc_main$7 as FormInput,
858
- _sfc_main$8 as FormItem,
859
- _sfc_main$a as GenderItem,
860
- _sfc_main$b as GenderSelect,
861
- _sfc_main$9 as PostalCodeInput,
862
- _sfc_main$6 as TelephoneNumberInput,
996
+ _sfc_main$9 as FormInput,
997
+ _sfc_main$a as FormItem,
998
+ _sfc_main$c as GenderItem,
999
+ _sfc_main$d as GenderSelect,
1000
+ _sfc_main$1 as LocaleSelect,
1001
+ _sfc_main$b as PostalCodeInput,
1002
+ _sfc_main$8 as TelephoneNumberInput,
863
1003
  loadLang,
864
1004
  useLang
865
1005
  };
@@ -41,6 +41,11 @@ const lang = {
41
41
  validations: {
42
42
  unavailableRange: "De geselecteerde periode bevat ongeschikbare datums."
43
43
  }
44
+ },
45
+ currency: {
46
+ currency: "Valuta",
47
+ EUR: "Euro",
48
+ USD: "USD"
44
49
  }
45
50
  };
46
51
  export {
@@ -9,17 +9,17 @@ 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<__VLS_TypePropsToOption<Props>, {
13
13
  variables: import("vue").Ref<{
14
14
  message: (name: string) => string;
15
15
  allow: string;
16
16
  deny: string;
17
17
  }>;
18
18
  functions: import("vue").Ref<{}>;
19
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
19
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
20
20
  export default _default;
21
21
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToRuntimeProps<T> = {
22
+ type __VLS_TypePropsToOption<T> = {
23
23
  [K in keyof T]-?: {} extends Pick<T, K> ? {
24
24
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
25
  } : {
@@ -6,7 +6,7 @@ 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<__VLS_TypePropsToOption<Props>, {
10
10
  variables: import("vue").Ref<{
11
11
  header: string;
12
12
  }>;
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
23
23
  otp: string;
24
24
  done: () => void;
25
25
  }) => void;
26
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
26
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
27
27
  onSubmit?: ((args_0: {
28
28
  email: string;
29
29
  newEmail: string;
@@ -39,8 +39,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
39
39
  }): any;
40
40
  }>;
41
41
  export default _default;
42
+ type __VLS_WithTemplateSlots<T, S> = T & {
43
+ new (): {
44
+ $slots: S;
45
+ };
46
+ };
42
47
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
- type __VLS_TypePropsToRuntimeProps<T> = {
48
+ type __VLS_TypePropsToOption<T> = {
44
49
  [K in keyof T]-?: {} extends Pick<T, K> ? {
45
50
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
46
51
  } : {
@@ -48,8 +53,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
48
53
  required: true;
49
54
  };
50
55
  };
51
- type __VLS_WithTemplateSlots<T, S> = T & {
52
- new (): {
53
- $slots: S;
54
- };
55
- };
@@ -4,7 +4,7 @@ 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<__VLS_TypePropsToOption<Props>, {
8
8
  variables: import("vue").Ref<{
9
9
  header: string;
10
10
  emailChanged: string;
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
26
26
  otp: string;
27
27
  done: () => void;
28
28
  }) => void;
29
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
29
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
30
30
  onChangeEmail?: ((args_0: {
31
31
  email: string;
32
32
  newEmail: string;
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
40
40
  }, {}, {}>;
41
41
  export default _default;
42
42
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
- type __VLS_TypePropsToRuntimeProps<T> = {
43
+ type __VLS_TypePropsToOption<T> = {
44
44
  [K in keyof T]-?: {} extends Pick<T, K> ? {
45
45
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
46
46
  } : {
@@ -1,12 +1,17 @@
1
1
  export interface Props {
2
2
  withNetwork?: string;
3
3
  }
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>, {
5
5
  icon?(_: {}): any;
6
6
  }>;
7
7
  export default _default;
8
+ type __VLS_WithTemplateSlots<T, S> = T & {
9
+ new (): {
10
+ $slots: S;
11
+ };
12
+ };
8
13
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
- type __VLS_TypePropsToRuntimeProps<T> = {
14
+ type __VLS_TypePropsToOption<T> = {
10
15
  [K in keyof T]-?: {} extends Pick<T, K> ? {
11
16
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
17
  } : {
@@ -14,8 +19,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
14
19
  required: true;
15
20
  };
16
21
  };
17
- type __VLS_WithTemplateSlots<T, S> = T & {
18
- new (): {
19
- $slots: S;
20
- };
21
- };
@@ -7,7 +7,7 @@ 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<__VLS_TypePropsToOption<Props>, {
11
11
  variables: import("vue").Ref<{
12
12
  header: string;
13
13
  createAccount: string;
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
27
27
  username?: string | undefined;
28
28
  done: () => void;
29
29
  }) => void;
30
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
30
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
31
31
  onSubmit?: ((args_0: {
32
32
  email?: string | undefined;
33
33
  password: string;
@@ -43,8 +43,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
43
43
  }): any;
44
44
  }>;
45
45
  export default _default;
46
+ type __VLS_WithTemplateSlots<T, S> = T & {
47
+ new (): {
48
+ $slots: S;
49
+ };
50
+ };
46
51
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
- type __VLS_TypePropsToRuntimeProps<T> = {
52
+ type __VLS_TypePropsToOption<T> = {
48
53
  [K in keyof T]-?: {} extends Pick<T, K> ? {
49
54
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
50
55
  } : {
@@ -52,8 +57,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
52
57
  required: true;
53
58
  };
54
59
  };
55
- type __VLS_WithTemplateSlots<T, S> = T & {
56
- new (): {
57
- $slots: S;
58
- };
59
- };
@@ -1,15 +1,15 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
2
  modelValue: string;
3
3
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
4
  "update:modelValue": (...args: any[]) => void;
5
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
6
6
  modelValue: string;
7
7
  }>>> & {
8
8
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
9
9
  }, {}, {}>;
10
10
  export default _default;
11
11
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
- type __VLS_TypePropsToRuntimeProps<T> = {
12
+ type __VLS_TypePropsToOption<T> = {
13
13
  [K in keyof T]-?: {} extends Pick<T, K> ? {
14
14
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
15
  } : {
@@ -7,7 +7,7 @@ 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>, {
10
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
11
11
  minimumPasswordLength: number;
12
12
  form: undefined;
13
13
  input: undefined;
@@ -26,7 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
26
26
  otp: string;
27
27
  done: () => void;
28
28
  }) => void;
29
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
29
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
30
30
  minimumPasswordLength: number;
31
31
  form: undefined;
32
32
  input: undefined;
@@ -40,7 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
40
40
  }, {
41
41
  minimumPasswordLength: number;
42
42
  form: QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>;
43
- input: Omit<QInputProps, "name" | "type" | "label" | "modelValue" | "rules" | "autofocus" | "id" | "lazy-rules" | ("label" & {
43
+ input: Omit<QInputProps, "name" | "type" | "id" | "label" | "modelValue" | "rules" | "autofocus" | "lazy-rules" | ("label" & {
44
44
  style?: Partial<CSSStyleDeclaration> | undefined;
45
45
  })>;
46
46
  }, {}>, {
@@ -52,15 +52,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
52
52
  }): any;
53
53
  }>;
54
54
  export default _default;
55
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
56
- type __VLS_TypePropsToRuntimeProps<T> = {
57
- [K in keyof T]-?: {} extends Pick<T, K> ? {
58
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
59
- } : {
60
- type: import('vue').PropType<T[K]>;
61
- required: true;
62
- };
63
- };
64
55
  type __VLS_WithDefaults<P, D> = {
65
56
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
66
57
  default: D[K];
@@ -74,3 +65,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
74
65
  $slots: S;
75
66
  };
76
67
  };
68
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
69
+ type __VLS_TypePropsToOption<T> = {
70
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
71
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
72
+ } : {
73
+ type: import('vue').PropType<T[K]>;
74
+ required: true;
75
+ };
76
+ };
@@ -4,7 +4,7 @@ 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<__VLS_TypePropsToOption<Props>, {
8
8
  variables: import("vue").Ref<{
9
9
  steps: readonly ["requestOtp", "changePassword"];
10
10
  }>;
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
22
22
  otp: string;
23
23
  done: () => void;
24
24
  }) => void;
25
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
25
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
26
26
  onRequestOtp?: ((args_0: {
27
27
  email: string;
28
28
  done: () => void;
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
36
36
  }, {}, {}>;
37
37
  export default _default;
38
38
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
- type __VLS_TypePropsToRuntimeProps<T> = {
39
+ type __VLS_TypePropsToOption<T> = {
40
40
  [K in keyof T]-?: {} extends Pick<T, K> ? {
41
41
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
42
42
  } : {
@@ -12,7 +12,7 @@ export interface Props {
12
12
  style?: Partial<CSSStyleDeclaration>;
13
13
  })>;
14
14
  }
15
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
15
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
16
16
  minimumPasswordLength: number;
17
17
  extraFields: undefined;
18
18
  form: undefined;
@@ -39,7 +39,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
39
39
  extraFields?: Record<string, string> | undefined;
40
40
  done: () => void;
41
41
  }) => void;
42
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
42
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
43
43
  minimumPasswordLength: number;
44
44
  extraFields: undefined;
45
45
  form: undefined;
@@ -55,7 +55,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
55
55
  }, {
56
56
  minimumPasswordLength: number;
57
57
  form: QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>;
58
- input: Omit<QInputProps, "name" | "type" | "label" | "modelValue" | "rules" | "autofocus" | "id" | "lazy-rules" | ("label" & {
58
+ input: Omit<QInputProps, "name" | "type" | "id" | "label" | "modelValue" | "rules" | "autofocus" | "lazy-rules" | ("label" & {
59
59
  style?: Partial<CSSStyleDeclaration> | undefined;
60
60
  })>;
61
61
  extraFields: {
@@ -72,15 +72,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
72
72
  }): any;
73
73
  }>;
74
74
  export default _default;
75
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
76
- type __VLS_TypePropsToRuntimeProps<T> = {
77
- [K in keyof T]-?: {} extends Pick<T, K> ? {
78
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
79
- } : {
80
- type: import('vue').PropType<T[K]>;
81
- required: true;
82
- };
83
- };
84
75
  type __VLS_WithDefaults<P, D> = {
85
76
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
86
77
  default: D[K];
@@ -94,3 +85,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
94
85
  $slots: S;
95
86
  };
96
87
  };
88
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
89
+ type __VLS_TypePropsToOption<T> = {
90
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
91
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
92
+ } : {
93
+ type: import('vue').PropType<T[K]>;
94
+ required: true;
95
+ };
96
+ };