@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.
- package/CHANGELOG.md +13 -0
- package/StandardComponent.vue +19 -24
- package/dist/authentication.js +102 -99
- package/dist/flags.js +224 -5
- package/dist/form.js +66 -58
- package/dist/general.js +15 -24
- package/dist/types/ui/authentication/ConsentList.vue.d.ts +35 -10
- package/dist/types/ui/authentication/EmailChangeForm.vue.d.ts +29 -12
- package/dist/types/ui/authentication/EmailChangeStepper.vue.d.ts +15 -12
- package/dist/types/ui/authentication/LoginButton.vue.d.ts +10 -11
- package/dist/types/ui/authentication/LoginForm.vue.d.ts +33 -12
- package/dist/types/ui/authentication/OtpInput.vue.d.ts +12 -15
- package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +42 -29
- package/dist/types/ui/authentication/PasswordChangeStepper.vue.d.ts +15 -12
- package/dist/types/ui/authentication/RegisterForm.vue.d.ts +56 -31
- package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +21 -12
- package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +13 -12
- package/dist/types/ui/authentication/VerificationSlider.vue.d.ts +11 -12
- package/dist/types/ui/form/BooleanItem.vue.d.ts +18 -9
- package/dist/types/ui/form/BooleanSelect.vue.d.ts +24 -11
- package/dist/types/ui/form/DateInput.vue.d.ts +33 -10
- package/dist/types/ui/form/EmailInput.vue.d.ts +21 -12
- package/dist/types/ui/form/FormInput.vue.d.ts +27 -10
- package/dist/types/ui/form/FormItem.vue.d.ts +21 -10
- package/dist/types/ui/form/GenderItem.vue.d.ts +10 -9
- package/dist/types/ui/form/GenderSelect.vue.d.ts +25 -11
- package/dist/types/ui/form/PostalCodeInput.vue.d.ts +26 -11
- package/dist/types/ui/form/TelephoneNumberInput.vue.d.ts +18 -11
- package/dist/types/ui/general/QLanguageSelect.vue.d.ts +18 -9
- package/dist/types/ui/general/QStyledCard.vue.d.ts +10 -11
- package/dist/types/ui/general/QStyledLayout.vue.d.ts +12 -11
- package/dist/types/ui/general/QSubmitButton.vue.d.ts +1 -1
- package/dist/types/ui/general/ResourcePage.vue.d.ts +25 -30
- package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +11 -12
- package/dist/types/virtualModules.d.ts +0 -1
- package/dist/virtualModules.d.ts +0 -1
- package/dist/virtualModules.js +34 -1
- package/dist/vite-plugin.js +1 -1
- package/package.json +21 -21
- package/src/ui/form/BooleanItem.vue +1 -1
- package/src/ui/form/BooleanSelect.vue +1 -1
- package/src/ui/form/DateInput.vue +9 -2
- package/src/ui/form/EmailInput.vue +3 -6
- package/src/ui/form/FormInput.vue +1 -1
- package/src/ui/form/FormItem.vue +1 -1
- package/src/ui/form/GenderItem.vue +1 -1
- package/src/ui/form/GenderSelect.vue +9 -5
- package/src/ui/form/TelephoneNumberInput.vue +1 -1
- package/src/ui/general/QLanguageSelect.vue +2 -2
- package/src/ui/general/ResourcePage.vue +2 -2
- package/src/ui/general/ResponsiveDialog.vue +1 -2
- package/src/virtualModules.ts +34 -34
- package/src/vite-plugin.ts +1 -1
- package/dist/en-US-6cc72154.js +0 -226
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @simsustech/quasar-components
|
|
2
2
|
|
|
3
|
+
## 0.3.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4a79340: feat(components): add disableOther prop to GenderSelect; fix(components): fix null date validation in DateInput
|
|
8
|
+
|
|
9
|
+
## 0.3.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- b18d3a5: Update dependencies
|
|
14
|
+
- ff2ee82: fix(components): fix date input validation
|
|
15
|
+
|
|
3
16
|
## 0.3.4
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/StandardComponent.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
2
|
+
<!-- -->
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script lang="ts">
|
|
@@ -9,33 +9,28 @@ export default {
|
|
|
9
9
|
</script>
|
|
10
10
|
|
|
11
11
|
<script setup lang="ts">
|
|
12
|
-
import { ref, watch } from 'vue'
|
|
13
|
-
import {
|
|
12
|
+
import { ref, useAttrs, watch } from 'vue'
|
|
13
|
+
import { useQuasar } from 'quasar'
|
|
14
14
|
import { useLang, loadLang } from './lang'
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
16
|
+
export interface Props {}
|
|
17
|
+
const props = defineProps<Props>()
|
|
18
|
+
const attrs = useAttrs()
|
|
19
|
+
const emit = defineEmits<{
|
|
20
|
+
(
|
|
21
|
+
e: 'asyncEmit',
|
|
22
|
+
{
|
|
23
|
+
data,
|
|
24
|
+
done
|
|
25
|
+
}: {
|
|
26
|
+
data: string
|
|
27
|
+
done: () => void
|
|
28
|
+
}
|
|
29
|
+
): void
|
|
30
|
+
}>()
|
|
31
|
+
|
|
31
32
|
const $q = useQuasar()
|
|
32
33
|
const lang = useLang()
|
|
33
|
-
if (lang.value.isoName !== $q.lang.isoName) loadLang($q.lang.isoName)
|
|
34
|
-
watch($q.lang, (val) => {
|
|
35
|
-
loadLang($q.lang.isoName)
|
|
36
|
-
})
|
|
37
|
-
|
|
38
|
-
const qCardRef = ref<QCard>()
|
|
39
34
|
|
|
40
35
|
const variables = ref({
|
|
41
36
|
// header: lang.value.some.nested.prop
|