@simsustech/quasar-components 0.4.4 → 0.4.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.
- package/CHANGELOG.md +12 -0
- package/dist/{QSubmitButton.vue_vue_type_script_setup_true_lang-b5f452c6.js → QSubmitButton.vue_vue_type_script_setup_true_lang-62670a79.js} +12 -5
- package/dist/authentication.js +21 -23
- package/dist/form.js +11 -4
- package/dist/general.js +5 -3
- package/dist/{nl-022c8c63.js → nl-f499b5cb.js} +1 -1
- package/dist/types/ui/authentication/ConsentList.vue.d.ts +10 -35
- package/dist/types/ui/authentication/EmailChangeForm.vue.d.ts +12 -29
- package/dist/types/ui/authentication/EmailChangeStepper.vue.d.ts +13 -16
- package/dist/types/ui/authentication/LoginButton.vue.d.ts +10 -12
- package/dist/types/ui/authentication/LoginForm.vue.d.ts +12 -33
- package/dist/types/ui/authentication/OtpInput.vue.d.ts +16 -11
- package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +28 -41
- package/dist/types/ui/authentication/PasswordChangeStepper.vue.d.ts +13 -16
- package/dist/types/ui/authentication/RegisterForm.vue.d.ts +30 -55
- package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +12 -21
- package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +11 -12
- package/dist/types/ui/authentication/VerificationSlider.vue.d.ts +11 -10
- package/dist/types/ui/form/BooleanItem.vue.d.ts +9 -18
- package/dist/types/ui/form/BooleanSelect.vue.d.ts +12 -23
- package/dist/types/ui/form/DateInput.vue.d.ts +11 -34
- package/dist/types/ui/form/DatePicker.vue.d.ts +25 -34
- package/dist/types/ui/form/EmailInput.vue.d.ts +11 -20
- package/dist/types/ui/form/FormInput.vue.d.ts +10 -27
- package/dist/types/ui/form/FormItem.vue.d.ts +10 -21
- package/dist/types/ui/form/GenderItem.vue.d.ts +9 -10
- package/dist/types/ui/form/GenderSelect.vue.d.ts +12 -23
- package/dist/types/ui/form/PostalCodeInput.vue.d.ts +12 -25
- package/dist/types/ui/form/TelephoneNumberInput.vue.d.ts +12 -17
- package/dist/types/ui/general/QLanguageSelect.vue.d.ts +9 -18
- package/dist/types/ui/general/QStyledCard.vue.d.ts +11 -10
- package/dist/types/ui/general/QStyledLayout.vue.d.ts +11 -12
- package/dist/types/ui/general/QSubmitButton.vue.d.ts +10 -3
- package/dist/types/ui/general/ResourcePage.vue.d.ts +27 -22
- package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +12 -11
- package/package.json +1 -1
- package/src/ui/authentication/LoginButton.vue +7 -31
- package/src/ui/form/DateInput.vue +4 -1
- package/src/ui/general/QSubmitButton.vue +5 -2
- 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.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 255d957: fix(components): make LoginButton extend QSubmitButton
|
|
8
|
+
|
|
9
|
+
## 0.4.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 65b81d3: chore: change nl submit translation
|
|
14
|
+
|
|
3
15
|
## 0.4.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useQuasar, QBtn } from "quasar";
|
|
2
|
-
import { ref, defineComponent, useAttrs, watch, openBlock, createBlock, mergeProps, unref } from "vue";
|
|
2
|
+
import { ref, defineComponent, useAttrs, watch, openBlock, createBlock, mergeProps, unref, withCtx, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
3
3
|
const lang$1 = {
|
|
4
4
|
isoName: "en-US",
|
|
5
5
|
submit: "Submit",
|
|
@@ -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-
|
|
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)
|
|
@@ -84,12 +85,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
84
85
|
return (_ctx, _cache) => {
|
|
85
86
|
const _component_q_btn = QBtn;
|
|
86
87
|
return openBlock(), createBlock(_component_q_btn, mergeProps(unref(attrs), {
|
|
87
|
-
label: __props.isNextButton ? unref(lang2).next : unref(lang2).submit,
|
|
88
88
|
color: __props.color,
|
|
89
89
|
loading: __props.loading || unref(loadingInternal),
|
|
90
90
|
type: "submit",
|
|
91
91
|
onClick: submit
|
|
92
|
-
}),
|
|
92
|
+
}), {
|
|
93
|
+
default: withCtx(() => [
|
|
94
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
95
|
+
createTextVNode(toDisplayString(__props.isNextButton ? unref(lang2).next : unref(lang2).submit), 1)
|
|
96
|
+
])
|
|
97
|
+
]),
|
|
98
|
+
_: 3
|
|
99
|
+
}, 16, ["color", "loading"]);
|
|
93
100
|
};
|
|
94
101
|
}
|
|
95
102
|
});
|
package/dist/authentication.js
CHANGED
|
@@ -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-
|
|
3
|
+
import { _ as _sfc_main$c } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-62670a79.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)
|
|
@@ -1634,7 +1643,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1634
1643
|
props: {
|
|
1635
1644
|
withNetwork: {}
|
|
1636
1645
|
},
|
|
1637
|
-
setup(__props
|
|
1646
|
+
setup(__props) {
|
|
1638
1647
|
const $q = useQuasar();
|
|
1639
1648
|
const lang2 = useLang();
|
|
1640
1649
|
if (lang2.value.isoName !== $q.lang.isoName)
|
|
@@ -1642,19 +1651,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1642
1651
|
watch($q.lang, (val) => {
|
|
1643
1652
|
loadLang($q.lang.isoName);
|
|
1644
1653
|
});
|
|
1645
|
-
const variables = ref({
|
|
1646
|
-
// header: lang.value.some.nested.prop
|
|
1647
|
-
});
|
|
1648
|
-
const functions = ref({
|
|
1649
|
-
// submit
|
|
1650
|
-
});
|
|
1651
|
-
__expose({
|
|
1652
|
-
variables,
|
|
1653
|
-
functions
|
|
1654
|
-
});
|
|
1655
1654
|
return (_ctx, _cache) => {
|
|
1656
|
-
|
|
1657
|
-
return openBlock(), createBlock(_component_q_btn, null, {
|
|
1655
|
+
return openBlock(), createBlock(_sfc_main$c, null, {
|
|
1658
1656
|
default: withCtx(() => [
|
|
1659
1657
|
renderSlot(_ctx.$slots, "icon"),
|
|
1660
1658
|
_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))
|
package/dist/form.js
CHANGED
|
@@ -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" || val === null)
|
|
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":
|
|
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-
|
|
1
|
+
import { l as loadLang, u as useLang, _ as _sfc_main$4 } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-62670a79.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)
|
|
@@ -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
|
-
|
|
38
|
-
|
|
39
|
-
|
|
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
|
-
|
|
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: (
|
|
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: (
|
|
19
|
+
requestOtp: (args_0: {
|
|
26
20
|
email: string;
|
|
27
21
|
done: () => void;
|
|
28
22
|
}) => void;
|
|
29
|
-
changeEmail: (
|
|
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,19 @@
|
|
|
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
|
-
}, {
|
|
9
|
-
variables: import("vue").Ref<{}>;
|
|
10
|
-
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
|
-
}>>, {}, {}>, {
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, 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
5
|
icon?(_: {}): any;
|
|
17
6
|
}>;
|
|
18
7
|
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
19
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
18
|
new (): {
|
|
21
19
|
$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: (
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
+
};
|