@simsustech/quasar-components 0.5.4 → 0.5.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/authentication.js +3 -1
- package/dist/{en-US-Duo_j_eL.js → en-US-BEeILC7o.js} +3 -1
- package/dist/flags.js +4 -2
- package/dist/form.js +4 -2
- package/dist/general.js +4 -2
- package/dist/types/ui/authentication/index.d.ts +1 -0
- package/dist/types/ui/flags/index.d.ts +1 -0
- package/dist/types/ui/form/index.d.ts +1 -0
- package/dist/types/ui/general/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/ui/authentication/index.ts +1 -0
- package/src/ui/flags/index.ts +1 -0
- package/src/ui/form/DateInput.vue +1 -1
- package/src/ui/form/index.ts +1 -0
- package/src/ui/general/index.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @simsustech/quasar-components
|
|
2
2
|
|
|
3
|
+
## 0.5.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8cd7bb8: fix(DateInput): do not emit invalid date
|
|
8
|
+
|
|
9
|
+
## 0.5.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 6f8d9b9: feat: export useLang and loadLang
|
|
14
|
+
|
|
3
15
|
## 0.5.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/authentication.js
CHANGED
package/dist/flags.js
CHANGED
package/dist/form.js
CHANGED
|
@@ -388,7 +388,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
388
388
|
};
|
|
389
389
|
watch([year, month, day], () => {
|
|
390
390
|
const date = `${year.value}-${String(month.value).padStart(2, "0")}-${String(day.value).padStart(2, "0")}`;
|
|
391
|
-
if (Date.parse(date)) {
|
|
391
|
+
if (year.value && month.value && day.value && !isNaN(Date.parse(date))) {
|
|
392
392
|
emit("update:modelValue", date);
|
|
393
393
|
} else {
|
|
394
394
|
emit("update:modelValue", "");
|
|
@@ -754,5 +754,7 @@ export {
|
|
|
754
754
|
_sfc_main$9 as GenderItem,
|
|
755
755
|
_sfc_main$a as GenderSelect,
|
|
756
756
|
_sfc_main$8 as PostalCodeInput,
|
|
757
|
-
_sfc_main$5 as TelephoneNumberInput
|
|
757
|
+
_sfc_main$5 as TelephoneNumberInput,
|
|
758
|
+
loadLang,
|
|
759
|
+
useLang
|
|
758
760
|
};
|
package/dist/general.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { l as loadLang, u as useLang, _ as _sfc_main$4 } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-DAnZaTMl.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
|
-
import { e as enUs, n as nl } from "./en-US-
|
|
4
|
+
import { e as enUs, n as nl } from "./en-US-BEeILC7o.js";
|
|
5
5
|
const _hoisted_1$1 = { class: "text-h6" };
|
|
6
6
|
const _hoisted_2 = { class: "text-subtitle2" };
|
|
7
7
|
const __default__$2 = {
|
|
@@ -419,5 +419,7 @@ export {
|
|
|
419
419
|
QStyledCard,
|
|
420
420
|
_sfc_main$4 as QSubmitButton,
|
|
421
421
|
_sfc_main$1 as ResourcePage,
|
|
422
|
-
_sfc_main$2 as ResponsiveDialog
|
|
422
|
+
_sfc_main$2 as ResponsiveDialog,
|
|
423
|
+
loadLang,
|
|
424
|
+
useLang
|
|
423
425
|
};
|
|
@@ -10,3 +10,4 @@ export { default as VerificationSlider } from './VerificationSlider.vue';
|
|
|
10
10
|
export { default as ConsentList } from './ConsentList.vue';
|
|
11
11
|
export { default as UserMenuButton } from './UserMenuButton.vue';
|
|
12
12
|
export { default as LoginButton } from './LoginButton.vue';
|
|
13
|
+
export { useLang, loadLang } from './lang/index.js';
|
|
@@ -9,3 +9,4 @@ export { default as BooleanSelect } from './BooleanSelect.vue';
|
|
|
9
9
|
export { default as BooleanItem } from './BooleanItem.vue';
|
|
10
10
|
export { default as EmailInput } from './EmailInput.vue';
|
|
11
11
|
export { default as DatePicker } from './DatePicker.vue';
|
|
12
|
+
export { useLang, loadLang } from './lang/index.js';
|
|
@@ -3,3 +3,4 @@ export { default as QStyledCard } from './QStyledCard.vue';
|
|
|
3
3
|
export { default as ResponsiveDialog } from './ResponsiveDialog.vue';
|
|
4
4
|
export { default as ResourcePage } from './ResourcePage.vue';
|
|
5
5
|
export { default as QLanguageSelect } from './QLanguageSelect.vue';
|
|
6
|
+
export { useLang, loadLang } from './lang/index.js';
|
package/package.json
CHANGED
|
@@ -10,3 +10,4 @@ export { default as VerificationSlider } from './VerificationSlider.vue'
|
|
|
10
10
|
export { default as ConsentList } from './ConsentList.vue'
|
|
11
11
|
export { default as UserMenuButton } from './UserMenuButton.vue'
|
|
12
12
|
export { default as LoginButton } from './LoginButton.vue'
|
|
13
|
+
export { useLang, loadLang } from './lang/index.js'
|
package/src/ui/flags/index.ts
CHANGED
|
@@ -139,7 +139,7 @@ const setDate: InstanceType<typeof QDate>['$props']['onUpdate:modelValue'] = (
|
|
|
139
139
|
|
|
140
140
|
watch([year, month, day], () => {
|
|
141
141
|
const date = `${year.value}-${String(month.value).padStart(2, '0')}-${String(day.value).padStart(2, '0')}`
|
|
142
|
-
if (Date.parse(date)) {
|
|
142
|
+
if (year.value && month.value && day.value && !isNaN(Date.parse(date))) {
|
|
143
143
|
emit('update:modelValue', date)
|
|
144
144
|
} else {
|
|
145
145
|
emit('update:modelValue', '')
|
package/src/ui/form/index.ts
CHANGED
|
@@ -9,3 +9,4 @@ export { default as BooleanSelect } from './BooleanSelect.vue'
|
|
|
9
9
|
export { default as BooleanItem } from './BooleanItem.vue'
|
|
10
10
|
export { default as EmailInput } from './EmailInput.vue'
|
|
11
11
|
export { default as DatePicker } from './DatePicker.vue'
|
|
12
|
+
export { useLang, loadLang } from './lang/index.js'
|
package/src/ui/general/index.ts
CHANGED
|
@@ -3,3 +3,4 @@ export { default as QStyledCard } from './QStyledCard.vue'
|
|
|
3
3
|
export { default as ResponsiveDialog } from './ResponsiveDialog.vue'
|
|
4
4
|
export { default as ResourcePage } from './ResourcePage.vue'
|
|
5
5
|
export { default as QLanguageSelect } from './QLanguageSelect.vue'
|
|
6
|
+
export { useLang, loadLang } from './lang/index.js'
|