@simsustech/quasar-components 0.3.1 → 0.3.3
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/authentication.js +1 -1
- package/dist/form.js +9 -9
- package/dist/{nl-ea9ab282.js → nl-a44ac91a.js} +2 -2
- package/package.json +1 -1
- package/src/ui/authentication/LoginForm.vue +1 -1
- package/src/ui/form/BooleanSelect.vue +2 -2
- package/src/ui/form/GenderSelect.vue +2 -2
- package/src/ui/form/lang/nl.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @simsustech/quasar-components
|
|
2
2
|
|
|
3
|
+
## 0.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e1538f5: fix(components): make genderOptions reactive; fix(components): make booleanOptions reactive
|
|
8
|
+
|
|
9
|
+
## 0.3.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- cb84832: fix(components): LoginComponent: set text color of password forgot and create account buttons to primary
|
|
14
|
+
|
|
3
15
|
## 0.3.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/authentication.js
CHANGED
|
@@ -1104,7 +1104,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
1104
1104
|
}, 16, ["modelValue", "type", "label", "rules"]),
|
|
1105
1105
|
__props.passwordForgotUrl ? (openBlock(), createBlock(_component_q_btn, {
|
|
1106
1106
|
key: 2,
|
|
1107
|
-
class: "q-pt-none",
|
|
1107
|
+
class: "q-pt-none text-primary",
|
|
1108
1108
|
label: unref(lang2).login.forgotPassword,
|
|
1109
1109
|
size: "sm",
|
|
1110
1110
|
flat: "",
|
package/dist/form.js
CHANGED
|
@@ -42,7 +42,7 @@ const enUS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
|
|
|
42
42
|
const lang = ref(lang$1);
|
|
43
43
|
const locales = /* @__PURE__ */ Object.assign({
|
|
44
44
|
"./en-US.ts": () => Promise.resolve().then(() => enUS),
|
|
45
|
-
"./nl.ts": () => import("./nl-
|
|
45
|
+
"./nl.ts": () => import("./nl-a44ac91a.js")
|
|
46
46
|
});
|
|
47
47
|
const useLang = () => {
|
|
48
48
|
return lang;
|
|
@@ -83,7 +83,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
83
83
|
watch($q.lang, (val) => {
|
|
84
84
|
loadLang($q.lang.isoName);
|
|
85
85
|
});
|
|
86
|
-
const genderOptions = [
|
|
86
|
+
const genderOptions = ref([
|
|
87
87
|
{
|
|
88
88
|
label: lang2.value.gender.male,
|
|
89
89
|
value: "male"
|
|
@@ -96,7 +96,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
96
96
|
label: lang2.value.gender.other,
|
|
97
97
|
value: "other"
|
|
98
98
|
}
|
|
99
|
-
];
|
|
99
|
+
]);
|
|
100
100
|
const validations = ref([]);
|
|
101
101
|
if (props.required)
|
|
102
102
|
validations.value.push(
|
|
@@ -106,12 +106,12 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
106
106
|
return openBlock(), createBlock(unref(QSelect), mergeProps(unref(attrs), {
|
|
107
107
|
rules: validations.value,
|
|
108
108
|
"model-value": __props.modelValue,
|
|
109
|
-
options: genderOptions,
|
|
109
|
+
options: genderOptions.value,
|
|
110
110
|
label: `${unref(lang2).gender.gender}${__props.required ? "*" : ""}`,
|
|
111
111
|
"emit-value": "",
|
|
112
112
|
"map-options": "",
|
|
113
113
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event))
|
|
114
|
-
}), null, 16, ["rules", "model-value", "label"]);
|
|
114
|
+
}), null, 16, ["rules", "model-value", "options", "label"]);
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -417,7 +417,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
417
417
|
watch($q.lang, (val) => {
|
|
418
418
|
loadLang($q.lang.isoName);
|
|
419
419
|
});
|
|
420
|
-
const booleanOptions = [
|
|
420
|
+
const booleanOptions = ref([
|
|
421
421
|
{
|
|
422
422
|
label: lang2.value.yes,
|
|
423
423
|
value: true
|
|
@@ -426,7 +426,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
426
426
|
label: lang2.value.no,
|
|
427
427
|
value: false
|
|
428
428
|
}
|
|
429
|
-
];
|
|
429
|
+
]);
|
|
430
430
|
const validations = ref([]);
|
|
431
431
|
if (props.required)
|
|
432
432
|
validations.value.push(
|
|
@@ -436,12 +436,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
436
436
|
return openBlock(), createBlock(unref(QSelect), mergeProps(unref(attrs), {
|
|
437
437
|
rules: validations.value,
|
|
438
438
|
"model-value": __props.modelValue,
|
|
439
|
-
options: booleanOptions,
|
|
439
|
+
options: booleanOptions.value,
|
|
440
440
|
label: `${__props.label}${__props.required ? "*" : ""}`,
|
|
441
441
|
"emit-value": "",
|
|
442
442
|
"map-options": "",
|
|
443
443
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event))
|
|
444
|
-
}), null, 16, ["rules", "model-value", "label"]);
|
|
444
|
+
}), null, 16, ["rules", "model-value", "options", "label"]);
|
|
445
445
|
};
|
|
446
446
|
}
|
|
447
447
|
});
|
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@ watch($q.lang, (val) => {
|
|
|
33
33
|
loadLang($q.lang.isoName)
|
|
34
34
|
})
|
|
35
35
|
|
|
36
|
-
const booleanOptions = [
|
|
36
|
+
const booleanOptions = ref([
|
|
37
37
|
{
|
|
38
38
|
label: lang.value.yes,
|
|
39
39
|
value: true
|
|
@@ -42,7 +42,7 @@ const booleanOptions = [
|
|
|
42
42
|
label: lang.value.no,
|
|
43
43
|
value: false
|
|
44
44
|
}
|
|
45
|
-
]
|
|
45
|
+
])
|
|
46
46
|
|
|
47
47
|
const validations = ref<ValidationRule[]>([])
|
|
48
48
|
|
|
@@ -33,7 +33,7 @@ watch($q.lang, (val) => {
|
|
|
33
33
|
loadLang($q.lang.isoName)
|
|
34
34
|
})
|
|
35
35
|
|
|
36
|
-
const genderOptions = [
|
|
36
|
+
const genderOptions = ref([
|
|
37
37
|
{
|
|
38
38
|
label: lang.value.gender.male,
|
|
39
39
|
value: 'male'
|
|
@@ -46,7 +46,7 @@ const genderOptions = [
|
|
|
46
46
|
label: lang.value.gender.other,
|
|
47
47
|
value: 'other'
|
|
48
48
|
}
|
|
49
|
-
]
|
|
49
|
+
])
|
|
50
50
|
|
|
51
51
|
const validations = ref<ValidationRule[]>([])
|
|
52
52
|
|