@simsustech/quasar-components 0.10.4 → 0.10.5

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 (51) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/{QSubmitButton.vue_vue_type_script_setup_true_lang-DWleuHVF.js → QSubmitButton.vue_vue_type_script_setup_true_lang-D133pxTB.js} +3 -9
  3. package/dist/authentication.js +34 -66
  4. package/dist/{en-US-BEeILC7o.js → en-US-BQLrPvIP.js} +2 -7
  5. package/dist/flags.js +1 -1
  6. package/dist/form.js +33 -46
  7. package/dist/general.js +6 -10
  8. package/dist/types/ui/authentication/AccountsTable.vue.d.ts +59 -0
  9. package/dist/types/ui/authentication/ConsentList.vue.d.ts +11 -12
  10. package/dist/types/ui/authentication/EmailChangeForm.vue.d.ts +21 -16
  11. package/dist/types/ui/authentication/EmailChangeStepper.vue.d.ts +25 -18
  12. package/dist/types/ui/authentication/LoginButton.vue.d.ts +1 -10
  13. package/dist/types/ui/authentication/LoginForm.vue.d.ts +31 -20
  14. package/dist/types/ui/authentication/OtpInput.vue.d.ts +5 -14
  15. package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +21 -36
  16. package/dist/types/ui/authentication/PasswordChangeStepper.vue.d.ts +19 -20
  17. package/dist/types/ui/authentication/RegisterForm.vue.d.ts +39 -44
  18. package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +18 -17
  19. package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +7 -16
  20. package/dist/types/ui/authentication/VerificationSlider.vue.d.ts +7 -16
  21. package/dist/types/ui/authentication/lang/index.d.ts +108 -0
  22. package/dist/types/ui/flags/lang/index.d.ts +130 -0
  23. package/dist/types/ui/form/BooleanItem.vue.d.ts +1 -10
  24. package/dist/types/ui/form/BooleanSelect.vue.d.ts +3 -12
  25. package/dist/types/ui/form/CronScheduleInput.vue.d.ts +4 -13
  26. package/dist/types/ui/form/CurrencySelect.vue.d.ts +3 -12
  27. package/dist/types/ui/form/DateInput.vue.d.ts +6 -33
  28. package/dist/types/ui/form/DatePicker.vue.d.ts +16 -25
  29. package/dist/types/ui/form/EmailInput.vue.d.ts +8 -17
  30. package/dist/types/ui/form/FilteredModelSelect.vue.d.ts +21 -77
  31. package/dist/types/ui/form/FormInput.vue.d.ts +11 -8
  32. package/dist/types/ui/form/FormItem.vue.d.ts +11 -13
  33. package/dist/types/ui/form/GenderItem.vue.d.ts +1 -10
  34. package/dist/types/ui/form/GenderSelect.vue.d.ts +3 -12
  35. package/dist/types/ui/form/LocaleSelect.vue.d.ts +1 -10
  36. package/dist/types/ui/form/PostalCodeInput.vue.d.ts +3 -12
  37. package/dist/types/ui/form/TelephoneNumberInput.vue.d.ts +3 -12
  38. package/dist/types/ui/form/lang/index.d.ts +71 -0
  39. package/dist/types/ui/general/QDrawerList.vue.d.ts +10 -3
  40. package/dist/types/ui/general/QLanguageSelect.vue.d.ts +1 -10
  41. package/dist/types/ui/general/QStyledCard.vue.d.ts +4 -13
  42. package/dist/types/ui/general/QStyledLayout.vue.d.ts +4 -13
  43. package/dist/types/ui/general/QSubmitButton.vue.d.ts +8 -33
  44. package/dist/types/ui/general/ResourcePage.vue.d.ts +7 -16
  45. package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +14 -15
  46. package/dist/types/ui/general/lang/index.d.ts +6 -0
  47. package/dist/vite-plugin.js +2 -2
  48. package/package.json +24 -24
  49. package/src/ui/authentication/AccountsTable.vue +5 -6
  50. package/src/ui/form/FilteredModelSelect.vue +4 -11
  51. package/src/ui/form/FormInput.vue +5 -1
@@ -5,14 +5,17 @@ export interface Props {
5
5
  label?: string;
6
6
  required?: boolean;
7
7
  }
8
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
8
+ declare function __VLS_template(): {
9
+ slots: Partial<Record<NonNullable<string | number>, (_: any) => any>>;
10
+ refs: {};
11
+ attrs: Partial<{}>;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ 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>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
9
16
  export default _default;
10
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
- type __VLS_TypePropsToOption<T> = {
12
- [K in keyof T]-?: {} extends Pick<T, K> ? {
13
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
14
- } : {
15
- type: import('vue').PropType<T[K]>;
16
- required: true;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
17
20
  };
18
21
  };
@@ -4,22 +4,20 @@ export interface Props {
4
4
  label?: string;
5
5
  field?: FormItems;
6
6
  }
7
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>, {
8
- avatar?(_: {}): any;
9
- side?(_: {}): any;
10
- }>;
7
+ declare function __VLS_template(): {
8
+ slots: {
9
+ avatar?(_: {}): any;
10
+ side?(_: {}): any;
11
+ };
12
+ refs: {};
13
+ attrs: Partial<{}>;
14
+ };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ 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>;
17
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
11
18
  export default _default;
12
19
  type __VLS_WithTemplateSlots<T, S> = T & {
13
20
  new (): {
14
21
  $slots: S;
15
22
  };
16
23
  };
17
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
- type __VLS_TypePropsToOption<T> = {
19
- [K in keyof T]-?: {} extends Pick<T, K> ? {
20
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
- } : {
22
- type: import('vue').PropType<T[K]>;
23
- required: true;
24
- };
25
- };
@@ -2,14 +2,5 @@ import type { Gender } from './GenderSelect.vue';
2
2
  export interface Props {
3
3
  modelValue: Gender;
4
4
  }
5
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
5
+ 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>;
6
6
  export default _default;
7
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToOption<T> = {
9
- [K in keyof T]-?: {} extends Pick<T, K> ? {
10
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
- } : {
12
- type: import('vue').PropType<T[K]>;
13
- required: true;
14
- };
15
- };
@@ -4,18 +4,9 @@ export interface Props {
4
4
  disableOther?: boolean;
5
5
  required?: boolean;
6
6
  }
7
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  "update:modelValue": (...args: any[]) => void;
9
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
9
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
10
10
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
11
- }, {}, {}>;
11
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
12
  export default _default;
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToOption<T> = {
15
- [K in keyof T]-?: {} extends Pick<T, K> ? {
16
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
- } : {
18
- type: import('vue').PropType<T[K]>;
19
- required: true;
20
- };
21
- };
@@ -2,14 +2,5 @@ export interface Props {
2
2
  modelValue?: string | null;
3
3
  required?: boolean;
4
4
  }
5
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
5
+ 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>;
6
6
  export default _default;
7
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToOption<T> = {
9
- [K in keyof T]-?: {} extends Pick<T, K> ? {
10
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
- } : {
12
- type: import('vue').PropType<T[K]>;
13
- required: true;
14
- };
15
- };
@@ -4,18 +4,9 @@ export interface Props {
4
4
  locale: PostalCodeLocales;
5
5
  required?: boolean;
6
6
  }
7
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  "update:modelValue": (...args: any[]) => void;
9
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
9
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
10
10
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
11
- }, {}, {}>;
11
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
12
  export default _default;
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToOption<T> = {
15
- [K in keyof T]-?: {} extends Pick<T, K> ? {
16
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
- } : {
18
- type: import('vue').PropType<T[K]>;
19
- required: true;
20
- };
21
- };
@@ -2,18 +2,9 @@ export interface Props {
2
2
  modelValue: string;
3
3
  required?: boolean;
4
4
  }
5
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
6
  "update:modelValue": (...args: any[]) => void;
7
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
7
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
8
8
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
9
- }, {}, {}>;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
10
  export default _default;
11
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
- type __VLS_TypePropsToOption<T> = {
13
- [K in keyof T]-?: {} extends Pick<T, K> ? {
14
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
- } : {
16
- type: import('vue').PropType<T[K]>;
17
- required: true;
18
- };
19
- };
@@ -142,6 +142,77 @@ export declare const lang: Ref<{
142
142
  invalidCron: string;
143
143
  };
144
144
  };
145
+ }, Language | {
146
+ isoName: string;
147
+ yes: string;
148
+ no: string;
149
+ selectMultiple: string;
150
+ buttons: {
151
+ close: string;
152
+ };
153
+ email: {
154
+ subject: string;
155
+ };
156
+ fields: {
157
+ name: string;
158
+ firstName: string;
159
+ lastName: string;
160
+ address: string;
161
+ postalCode: string;
162
+ city: string;
163
+ telephoneNumber: string;
164
+ };
165
+ validations: {
166
+ fieldRequired: string;
167
+ };
168
+ gender: {
169
+ gender: string;
170
+ male: string;
171
+ female: string;
172
+ other: string;
173
+ };
174
+ postalCode: {
175
+ postalCode: string;
176
+ validations: {
177
+ invalidPostalCode: string;
178
+ };
179
+ };
180
+ datePicker: {
181
+ date: string;
182
+ placeholder: string;
183
+ YYYY: string;
184
+ MM: string;
185
+ DD: string;
186
+ validations: {
187
+ unavailableRange: string;
188
+ };
189
+ };
190
+ currency: {
191
+ currency: string;
192
+ EUR: string;
193
+ USD: string;
194
+ };
195
+ locale: {
196
+ locale: string;
197
+ };
198
+ cron: {
199
+ name: string;
200
+ minute: string;
201
+ hour: string;
202
+ dayOfMonth: string;
203
+ month: string;
204
+ dayOfWeek: string;
205
+ every: {
206
+ minute: string;
207
+ hour: string;
208
+ dayOfMonth: string;
209
+ month: string;
210
+ dayOfWeek: string;
211
+ };
212
+ validations: {
213
+ invalidCron: string;
214
+ };
215
+ };
145
216
  }>;
146
217
  export declare const defineLang: (lang: Language) => Language;
147
218
  export declare const useLang: () => Ref<Language>;
@@ -1,6 +1,13 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
- default?(_: {}): any;
3
- }>;
1
+ declare function __VLS_template(): {
2
+ slots: {
3
+ default?(_: {}): any;
4
+ };
5
+ refs: {};
6
+ attrs: Partial<{}>;
7
+ };
8
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
4
11
  export default _default;
5
12
  type __VLS_WithTemplateSlots<T, S> = T & {
6
13
  new (): {
@@ -5,14 +5,5 @@ export interface Props {
5
5
  default: QuasarLanguage;
6
6
  }>>;
7
7
  }
8
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
8
+ 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>;
9
9
  export default _default;
10
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
- type __VLS_TypePropsToOption<T> = {
12
- [K in keyof T]-?: {} extends Pick<T, K> ? {
13
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
14
- } : {
15
- type: import('vue').PropType<T[K]>;
16
- required: true;
17
- };
18
- };
@@ -2,10 +2,10 @@ import { QCardActionsProps } from 'quasar';
2
2
  export interface Props {
3
3
  actions?: QCardActionsProps;
4
4
  }
5
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {
6
- variables: import("vue").Ref<{}>;
7
- functions: import("vue").Ref<{}>;
8
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>, {
5
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
6
+ variables: import("vue").Ref<{}, {}>;
7
+ functions: import("vue").Ref<{}, {}>;
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
9
9
  image?(_: {}): any;
10
10
  title?(_: {}): any;
11
11
  subtitle?(_: {}): any;
@@ -18,12 +18,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
18
18
  $slots: S;
19
19
  };
20
20
  };
21
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToOption<T> = {
23
- [K in keyof T]-?: {} extends Pick<T, K> ? {
24
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
- } : {
26
- type: import('vue').PropType<T[K]>;
27
- required: true;
28
- };
29
- };
@@ -1,10 +1,10 @@
1
1
  export interface Props {
2
2
  title: string;
3
3
  }
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {
5
- variables: import("vue").Ref<{}>;
6
- functions: import("vue").Ref<{}>;
7
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>, {
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
5
+ variables: import("vue").Ref<{}, {}>;
6
+ functions: import("vue").Ref<{}, {}>;
7
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
8
8
  leftDrawerItems?(_: {}): any;
9
9
  }>;
10
10
  export default _default;
@@ -13,12 +13,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
13
13
  $slots: S;
14
14
  };
15
15
  };
16
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
- type __VLS_TypePropsToOption<T> = {
18
- [K in keyof T]-?: {} extends Pick<T, K> ? {
19
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
- } : {
21
- type: import('vue').PropType<T[K]>;
22
- required: true;
23
- };
24
- };
@@ -5,51 +5,26 @@ export interface Props {
5
5
  isNextButton?: boolean;
6
6
  color?: string;
7
7
  }
8
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
- type: string;
10
- color: string;
11
- loading: undefined;
12
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
9
  submit: (args_0: {
14
- value?: string | undefined;
10
+ value?: string;
15
11
  done: () => void;
16
- }) => void;
17
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
18
- type: string;
19
- color: string;
20
- loading: undefined;
21
- }>>> & {
12
+ }) => any;
13
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
22
14
  onSubmit?: ((args_0: {
23
- value?: string | undefined;
15
+ value?: string;
24
16
  done: () => void;
25
17
  }) => any) | undefined;
26
- }, {
27
- type: "submit" | "next" | "send";
18
+ }>, {
19
+ type: "submit" | "send" | "next";
28
20
  color: string;
29
21
  loading: boolean;
30
- }, {}>, {
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
31
23
  default?(_: {}): any;
32
24
  }>;
33
25
  export default _default;
34
- type __VLS_WithDefaults<P, D> = {
35
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
- default: D[K];
37
- }> : P[K];
38
- };
39
- type __VLS_Prettify<T> = {
40
- [K in keyof T]: T[K];
41
- } & {};
42
26
  type __VLS_WithTemplateSlots<T, S> = T & {
43
27
  new (): {
44
28
  $slots: S;
45
29
  };
46
30
  };
47
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
48
- type __VLS_TypePropsToOption<T> = {
49
- [K in keyof T]-?: {} extends Pick<T, K> ? {
50
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
51
- } : {
52
- type: import('vue').PropType<T[K]>;
53
- required: true;
54
- };
55
- };
@@ -2,16 +2,16 @@ export interface Props {
2
2
  type?: 'create' | 'update';
3
3
  disabled?: boolean;
4
4
  }
5
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- create: (args_0: {
5
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
+ update: (args_0: {
7
7
  data?: unknown;
8
8
  done: (success?: boolean) => void;
9
- }) => void;
10
- update: (args_0: {
9
+ }) => any;
10
+ create: (args_0: {
11
11
  data?: unknown;
12
12
  done: (success?: boolean) => void;
13
- }) => void;
14
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
13
+ }) => any;
14
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
15
15
  onUpdate?: ((args_0: {
16
16
  data?: unknown;
17
17
  done: (success?: boolean) => void;
@@ -20,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
20
20
  data?: unknown;
21
21
  done: (success?: boolean) => void;
22
22
  }) => any) | undefined;
23
- }, {}, {}>, {
23
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
24
24
  default?(_: {}): any;
25
25
  fab?(_: {}): any;
26
26
  header?(_: {}): any;
@@ -32,12 +32,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
32
32
  $slots: S;
33
33
  };
34
34
  };
35
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
- type __VLS_TypePropsToOption<T> = {
37
- [K in keyof T]-?: {} extends Pick<T, K> ? {
38
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
- } : {
40
- type: import('vue').PropType<T[K]>;
41
- required: true;
42
- };
43
- };
@@ -2,22 +2,30 @@ export interface Props {
2
2
  display?: boolean;
3
3
  buttonType?: 'submit' | 'send';
4
4
  }
5
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {
6
- variables: import("vue").Ref<{}>;
5
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
6
+ variables: import("vue").Ref<{}, {}>;
7
7
  functions: import("vue").Ref<{
8
8
  open: () => void | undefined;
9
9
  close: () => void | undefined;
10
10
  toggle: () => void | undefined;
11
+ }, {
12
+ open: () => void | undefined;
13
+ close: () => void | undefined;
14
+ toggle: () => void | undefined;
15
+ } | {
16
+ open: () => void | undefined;
17
+ close: () => void | undefined;
18
+ toggle: () => void | undefined;
11
19
  }>;
12
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
21
  submit: (args_0: {
14
22
  done: (success?: boolean) => void;
15
- }) => void;
16
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
23
+ }) => any;
24
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
17
25
  onSubmit?: ((args_0: {
18
26
  done: (success?: boolean) => void;
19
27
  }) => any) | undefined;
20
- }, {}, {}>, {
28
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
21
29
  title?(_: {}): any;
22
30
  default?(_: {}): any;
23
31
  }>;
@@ -27,12 +35,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
27
35
  $slots: S;
28
36
  };
29
37
  };
30
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
- type __VLS_TypePropsToOption<T> = {
32
- [K in keyof T]-?: {} extends Pick<T, K> ? {
33
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
34
- } : {
35
- type: import('vue').PropType<T[K]>;
36
- required: true;
37
- };
38
- };
@@ -12,6 +12,12 @@ export declare const lang: Ref<{
12
12
  next: string;
13
13
  back: string;
14
14
  send: string;
15
+ }, Language | {
16
+ isoName: string;
17
+ submit: string;
18
+ next: string;
19
+ back: string;
20
+ send: string;
15
21
  }>;
16
22
  export declare const defineLang: (lang: Language) => Language;
17
23
  export declare const useLang: () => Ref<Language>;
@@ -8,8 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  var __generator = (this && this.__generator) || function (thisArg, body) {
11
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
12
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
11
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
12
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
13
13
  function verb(n) { return function (v) { return step([n, v]); }; }
14
14
  function step(op) {
15
15
  if (f) throw new TypeError("Generator is already executing.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simsustech/quasar-components",
3
- "version": "0.10.4",
3
+ "version": "0.10.5",
4
4
  "author": "Stefan van Herwijnen",
5
5
  "description": "High level components for Quasar Framework",
6
6
  "license": "MIT",
@@ -46,37 +46,37 @@
46
46
  },
47
47
  "bugs": "https://github.com/simsusech/quasar-components/issues",
48
48
  "dependencies": {
49
- "validator": "^13.11.0"
49
+ "validator": "^13.12.0"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "quasar": "^2.15.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@types/node": "^20.12.7",
56
- "@types/validator": "^13.11.9",
57
- "@types/ws": "^8.5.10",
58
- "@typescript-eslint/eslint-plugin": "^7.7.0",
59
- "@typescript-eslint/parser": "^7.7.0",
60
- "@vitejs/plugin-vue": "^5.0.4",
61
- "@vue/server-renderer": "^3.4.23",
62
- "eslint": "^9.0.0",
55
+ "@types/node": "^22.7.5",
56
+ "@types/validator": "^13.12.2",
57
+ "@types/ws": "^8.5.12",
58
+ "@typescript-eslint/eslint-plugin": "^8.8.1",
59
+ "@typescript-eslint/parser": "^8.8.1",
60
+ "@vitejs/plugin-vue": "^5.1.4",
61
+ "@vue/server-renderer": "^3.5.11",
62
+ "eslint": "^9.12.0",
63
63
  "eslint-config-prettier": "^9.1.0",
64
- "eslint-plugin-prettier": "^5.1.3",
64
+ "eslint-plugin-prettier": "^5.2.1",
65
65
  "eslint-plugin-prettier-vue": "^5.0.0",
66
- "eslint-plugin-vue": "^9.25.0",
67
- "glob": "^10.3.12",
66
+ "eslint-plugin-vue": "^9.28.0",
67
+ "glob": "^11.0.0",
68
68
  "local-pkg": "^0.5.0",
69
- "prettier": "^3.2.5",
70
- "quasar": "^2.15.2",
71
- "rimraf": "^5.0.5",
72
- "typescript": "^5.4.5",
73
- "typescript-eslint": "^7.7.0",
74
- "unplugin-vue-components": "^0.26.0",
75
- "vite": "^5.2.9",
76
- "vue": "^3.4.23",
77
- "vue-eslint-parser": "^9.4.2",
78
- "vue-router": "^4.3.2",
79
- "vue-tsc": "^2.0.13"
69
+ "prettier": "^3.3.3",
70
+ "quasar": "^2.17.0",
71
+ "rimraf": "^6.0.1",
72
+ "typescript": "^5.6.3",
73
+ "typescript-eslint": "^8.8.1",
74
+ "unplugin-vue-components": "^0.27.4",
75
+ "vite": "^5.4.8",
76
+ "vue": "^3.5.11",
77
+ "vue-eslint-parser": "^9.4.3",
78
+ "vue-router": "^4.4.5",
79
+ "vue-tsc": "^2.1.6"
80
80
  },
81
81
  "scripts": {
82
82
  "build:plugin": "vite build",
@@ -110,25 +110,24 @@ export interface Account {
110
110
  roles: string[]
111
111
  }
112
112
 
113
- interface Pagination {
113
+ export interface Pagination {
114
114
  limit: number
115
115
  offset: number
116
116
  sortBy: keyof Account
117
117
  descending: boolean
118
118
  }
119
119
 
120
- interface Criteria {
120
+ export interface Criteria {
121
121
  roles: string[]
122
122
  }
123
- interface Props {
123
+
124
+ const props = defineProps<{
124
125
  modelValue: T[]
125
126
  count: number
126
127
  pagination: Pagination
127
128
  mappedRoles: Record<string, string> // value: label
128
129
  columns?: QTableColumn[]
129
- }
130
-
131
- const props = defineProps<Props>()
130
+ }>()
132
131
 
133
132
  const emit = defineEmits<{
134
133
  (e: 'update:pagination', pagination: Pagination): void