@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.
Files changed (54) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/StandardComponent.vue +19 -24
  3. package/dist/authentication.js +102 -99
  4. package/dist/flags.js +224 -5
  5. package/dist/form.js +66 -58
  6. package/dist/general.js +15 -24
  7. package/dist/types/ui/authentication/ConsentList.vue.d.ts +35 -10
  8. package/dist/types/ui/authentication/EmailChangeForm.vue.d.ts +29 -12
  9. package/dist/types/ui/authentication/EmailChangeStepper.vue.d.ts +15 -12
  10. package/dist/types/ui/authentication/LoginButton.vue.d.ts +10 -11
  11. package/dist/types/ui/authentication/LoginForm.vue.d.ts +33 -12
  12. package/dist/types/ui/authentication/OtpInput.vue.d.ts +12 -15
  13. package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +42 -29
  14. package/dist/types/ui/authentication/PasswordChangeStepper.vue.d.ts +15 -12
  15. package/dist/types/ui/authentication/RegisterForm.vue.d.ts +56 -31
  16. package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +21 -12
  17. package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +13 -12
  18. package/dist/types/ui/authentication/VerificationSlider.vue.d.ts +11 -12
  19. package/dist/types/ui/form/BooleanItem.vue.d.ts +18 -9
  20. package/dist/types/ui/form/BooleanSelect.vue.d.ts +24 -11
  21. package/dist/types/ui/form/DateInput.vue.d.ts +33 -10
  22. package/dist/types/ui/form/EmailInput.vue.d.ts +21 -12
  23. package/dist/types/ui/form/FormInput.vue.d.ts +27 -10
  24. package/dist/types/ui/form/FormItem.vue.d.ts +21 -10
  25. package/dist/types/ui/form/GenderItem.vue.d.ts +10 -9
  26. package/dist/types/ui/form/GenderSelect.vue.d.ts +25 -11
  27. package/dist/types/ui/form/PostalCodeInput.vue.d.ts +26 -11
  28. package/dist/types/ui/form/TelephoneNumberInput.vue.d.ts +18 -11
  29. package/dist/types/ui/general/QLanguageSelect.vue.d.ts +18 -9
  30. package/dist/types/ui/general/QStyledCard.vue.d.ts +10 -11
  31. package/dist/types/ui/general/QStyledLayout.vue.d.ts +12 -11
  32. package/dist/types/ui/general/QSubmitButton.vue.d.ts +1 -1
  33. package/dist/types/ui/general/ResourcePage.vue.d.ts +25 -30
  34. package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +11 -12
  35. package/dist/types/virtualModules.d.ts +0 -1
  36. package/dist/virtualModules.d.ts +0 -1
  37. package/dist/virtualModules.js +34 -1
  38. package/dist/vite-plugin.js +1 -1
  39. package/package.json +21 -21
  40. package/src/ui/form/BooleanItem.vue +1 -1
  41. package/src/ui/form/BooleanSelect.vue +1 -1
  42. package/src/ui/form/DateInput.vue +9 -2
  43. package/src/ui/form/EmailInput.vue +3 -6
  44. package/src/ui/form/FormInput.vue +1 -1
  45. package/src/ui/form/FormItem.vue +1 -1
  46. package/src/ui/form/GenderItem.vue +1 -1
  47. package/src/ui/form/GenderSelect.vue +9 -5
  48. package/src/ui/form/TelephoneNumberInput.vue +1 -1
  49. package/src/ui/general/QLanguageSelect.vue +2 -2
  50. package/src/ui/general/ResourcePage.vue +2 -2
  51. package/src/ui/general/ResponsiveDialog.vue +1 -2
  52. package/src/virtualModules.ts +34 -34
  53. package/src/vite-plugin.ts +1 -1
  54. 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
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <q-card ref="qCardRef"> </q-card>
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 { QCard, useQuasar } from 'quasar'
12
+ import { ref, useAttrs, watch } from 'vue'
13
+ import { useQuasar } from 'quasar'
14
14
  import { useLang, loadLang } from './lang'
15
15
 
16
- // export interface Props {}
17
- // const props = defineProps<Props>();
18
- // const attrs = useAttrs();
19
- // const emit = defineEmits<{
20
- // (
21
- // e: "asyncEmit",
22
- // {
23
- // value,
24
- // done,
25
- // }: {
26
- // value: string;
27
- // done: () => void;
28
- // }
29
- // ): void;
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