@simsustech/quasar-components 0.11.10 → 0.11.11

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 (68) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/LocaleSelect.vue_vue_type_script_setup_true_lang-Du4fNbTV.js +573 -0
  3. package/dist/authentication.js +148 -65
  4. package/dist/form.js +155 -300
  5. package/dist/general.js +44 -195
  6. package/dist/md3.js +435 -0
  7. package/dist/{nl-BTgHOvpQ.js → nl-BJwNz421.js} +70 -0
  8. package/dist/{nl-jHKPHlmh.js → nl-CneFq5NZ.js} +4 -0
  9. package/dist/nl-NLgZUAKl.js +6 -0
  10. package/dist/types/ui/authentication/EmailChangeForm.vue.d.ts +2 -2
  11. package/dist/types/ui/authentication/LoginButton.vue.d.ts +1 -1
  12. package/dist/types/ui/authentication/LoginForm.vue.d.ts +2 -2
  13. package/dist/types/ui/authentication/LogoutButton.vue.d.ts +12 -0
  14. package/dist/types/ui/authentication/LogoutForm.vue.d.ts +18 -0
  15. package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +2 -2
  16. package/dist/types/ui/authentication/RegisterForm.vue.d.ts +2 -2
  17. package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +2 -2
  18. package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +1 -1
  19. package/dist/types/ui/authentication/index.d.ts +2 -0
  20. package/dist/types/ui/authentication/lang/index.d.ts +12 -0
  21. package/dist/types/ui/form/DateInput.vue.d.ts +11 -1
  22. package/dist/types/ui/form/FormInput.vue.d.ts +2 -15
  23. package/dist/types/ui/form/FormItem.vue.d.ts +2 -19
  24. package/dist/types/ui/form/LocaleSelect.vue.d.ts +6 -4
  25. package/dist/types/ui/form/lang/index.d.ts +1131 -0
  26. package/dist/types/ui/general/QDrawerList.vue.d.ts +2 -7
  27. package/dist/types/ui/general/QLanguageSelect.vue.d.ts +7 -4
  28. package/dist/types/ui/general/QStyledCard.vue.d.ts +9 -5
  29. package/dist/types/ui/general/QStyledLayout.vue.d.ts +1 -1
  30. package/dist/types/ui/general/QSubmitButton.vue.d.ts +1 -1
  31. package/dist/types/ui/general/ResourcePage.vue.d.ts +9 -5
  32. package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +3 -2
  33. package/dist/types/ui/general/index.d.ts +0 -1
  34. package/dist/types/ui/md3/Md3Layout.vue.d.ts +31 -0
  35. package/dist/types/ui/md3/NavigationRailFabs.vue.d.ts +14 -0
  36. package/dist/types/ui/md3/index.d.ts +3 -0
  37. package/dist/types/ui/md3/lang/en-US.d.ts +3 -0
  38. package/dist/types/ui/md3/lang/index.d.ts +12 -0
  39. package/dist/types/ui/md3/lang/nl.d.ts +3 -0
  40. package/package.json +21 -14
  41. package/src/ui/authentication/LogoutButton.vue +31 -0
  42. package/src/ui/authentication/LogoutForm.vue +49 -0
  43. package/src/ui/authentication/index.ts +2 -0
  44. package/src/ui/authentication/lang/en-US.ts +4 -0
  45. package/src/ui/authentication/lang/index.ts +4 -0
  46. package/src/ui/authentication/lang/nl.ts +4 -0
  47. package/src/ui/form/DateInput.vue +42 -23
  48. package/src/ui/form/LocaleSelect.vue +29 -43
  49. package/src/ui/form/lang/en-US.ts +377 -0
  50. package/src/ui/form/lang/index.ts +377 -0
  51. package/src/ui/form/lang/nl.ts +377 -0
  52. package/src/ui/general/QLanguageSelect.vue +30 -106
  53. package/src/ui/general/{QLanguageSelectBtn.vue → QLanguageSelectBtn.vue.bak} +1 -1
  54. package/src/ui/general/QStyledCard.vue +2 -2
  55. package/src/ui/general/ResponsiveDialog.vue +14 -4
  56. package/src/ui/general/index.ts +1 -1
  57. package/src/ui/md3/Md3Layout.vue +139 -0
  58. package/src/ui/md3/NavigationRailFabs.vue +68 -0
  59. package/src/ui/md3/index.ts +3 -0
  60. package/src/ui/md3/lang/en-US.ts +7 -0
  61. package/src/ui/md3/lang/index.ts +41 -0
  62. package/src/ui/md3/lang/nl.ts +7 -0
  63. package/vite.config.ts +4 -3
  64. package/dist/flags.js +0 -255
  65. package/dist/icons.js +0 -25
  66. package/dist/index-DnmJt2wP.js +0 -7921
  67. package/dist/nl-BL9hHEHL.js +0 -76
  68. package/dist/types/ui/general/QLanguageSelectBtn.vue.d.ts +0 -11
@@ -106,6 +106,10 @@ export interface Language {
106
106
  }) => string;
107
107
  };
108
108
  };
109
+ logout: {
110
+ confirmation: string;
111
+ logout: string;
112
+ };
109
113
  }
110
114
  import type { Ref } from 'vue';
111
115
  export declare const lang: Ref<{
@@ -216,6 +220,10 @@ export declare const lang: Ref<{
216
220
  }) => string;
217
221
  };
218
222
  };
223
+ logout: {
224
+ confirmation: string;
225
+ logout: string;
226
+ };
219
227
  }, Language | {
220
228
  isoName: string;
221
229
  unprocessableRequest: string;
@@ -324,6 +332,10 @@ export declare const lang: Ref<{
324
332
  }) => string;
325
333
  };
326
334
  };
335
+ logout: {
336
+ confirmation: string;
337
+ logout: string;
338
+ };
327
339
  }>;
328
340
  export declare const defineLang: (lang: Language) => Language;
329
341
  export declare const useLang: () => Ref<Language>;
@@ -12,7 +12,11 @@ export interface Props {
12
12
  clear: string;
13
13
  };
14
14
  }
15
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
15
+ declare var __VLS_43: string | number, __VLS_44: any;
16
+ type __VLS_Slots = {} & {
17
+ [K in NonNullable<typeof __VLS_43>]?: (props: typeof __VLS_44) => any;
18
+ };
19
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
16
20
  "update:modelValue": (val: string | null) => any;
17
21
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
18
22
  "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
@@ -26,4 +30,10 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
26
30
  date: Partial<QDateProps>;
27
31
  locale: QuasarLanguageCodes[number];
28
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
29
34
  export default _default;
35
+ type __VLS_WithSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -1,4 +1,3 @@
1
- import { QInput, ValidationRule } from 'quasar';
2
1
  export type FormItems = 'name' | 'firstName' | 'lastName' | 'address' | 'city' | 'postalCode' | 'telephoneNumber';
3
2
  export interface Props {
4
3
  modelValue?: string | null;
@@ -6,22 +5,10 @@ export interface Props {
6
5
  label?: string;
7
6
  required?: boolean;
8
7
  }
9
- declare const attrs: {
10
- [x: string]: unknown;
11
- };
12
- declare const lang: import("vue").Ref<import("./lang").Language, import("./lang").Language>;
13
- declare const validations: import("vue").Ref<ValidationRule[], ValidationRule[]>;
14
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
15
8
  declare var __VLS_11: string | number, __VLS_12: any;
16
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
9
+ type __VLS_Slots = {} & {
17
10
  [K in NonNullable<typeof __VLS_11>]?: (props: typeof __VLS_12) => any;
18
- }>;
19
- declare const __VLS_self: import("vue").DefineComponent<Props, {
20
- QInput: typeof QInput;
21
- attrs: typeof attrs;
22
- lang: typeof lang;
23
- validations: typeof validations;
24
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ };
25
12
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
13
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
27
14
  export default _default;
@@ -1,32 +1,15 @@
1
- import { QItem, QItemLabel, QItemSection } from 'quasar';
2
1
  export type FormItems = 'name' | 'firstName' | 'lastName' | 'address' | 'city' | 'postalCode';
3
2
  export interface Props {
4
3
  modelValue?: string;
5
4
  label?: string;
6
5
  field?: FormItems;
7
6
  }
8
- declare const attrs: {
9
- [x: string]: unknown;
10
- };
11
- declare const slots: Readonly<{
12
- [name: string]: import("vue").Slot<any> | undefined;
13
- }>;
14
- declare const lang: import("vue").Ref<import("./lang").Language, import("./lang").Language>;
15
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
16
7
  declare var __VLS_10: {}, __VLS_28: {};
17
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
8
+ type __VLS_Slots = {} & {
18
9
  avatar?: (props: typeof __VLS_10) => any;
19
10
  } & {
20
11
  side?: (props: typeof __VLS_28) => any;
21
- }>;
22
- declare const __VLS_self: import("vue").DefineComponent<Props, {
23
- QItem: typeof QItem;
24
- QItemLabel: typeof QItemLabel;
25
- QItemSection: typeof QItemSection;
26
- attrs: typeof attrs;
27
- slots: typeof slots;
28
- lang: typeof lang;
29
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ };
30
13
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
14
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
32
15
  export default _default;
@@ -1,8 +1,10 @@
1
- import { useLang as useFlagsLang } from '../flags/lang/index.js';
1
+ import { Language } from './lang/index.js';
2
2
  export interface Props {
3
- modelValue?: string | null;
4
- required?: boolean;
5
- allowedCodes?: [keyof ReturnType<typeof useFlagsLang>['value']['languages']];
3
+ modelValue: keyof Language['countries'];
4
+ locales: {
5
+ icon: string;
6
+ isoName: keyof Language['languages'];
7
+ }[];
6
8
  }
7
9
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
10
  export default _default;