@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
@@ -2,14 +2,14 @@ import type { RouteLocationRaw } from 'vue-router';
2
2
  export interface Props {
3
3
  userRoute: RouteLocationRaw;
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, {
9
- signOut: () => void;
10
- }, 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, {} & {
9
+ signOut: () => any;
10
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
11
11
  onSignOut?: (() => any) | undefined;
12
- }, {}, {}>, {
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
13
13
  default?(_: {}): any;
14
14
  }>;
15
15
  export default _default;
@@ -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,21 +1,12 @@
1
1
  export interface Props {
2
2
  useVerificationSlider?: boolean;
3
3
  }
4
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {
5
- variables: import("vue").Ref<{}>;
6
- functions: import("vue").Ref<{}>;
7
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- verified: () => void;
9
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
4
+ declare const _default: import("vue").DefineComponent<Props, {
5
+ variables: import("vue").Ref<{}, {}>;
6
+ functions: import("vue").Ref<{}, {}>;
7
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
8
+ verified: () => any;
9
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
10
10
  onVerified?: (() => 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
- };
@@ -216,6 +216,114 @@ export declare const lang: Ref<{
216
216
  }) => string;
217
217
  };
218
218
  };
219
+ }, Language | {
220
+ isoName: string;
221
+ unprocessableRequest: string;
222
+ myAccount: string;
223
+ signOut: string;
224
+ consent: {
225
+ message: (name: string) => string;
226
+ deny: string;
227
+ allow: string;
228
+ };
229
+ email: {
230
+ fields: {
231
+ email: string;
232
+ newEmail: string;
233
+ repeatNewEmail: string;
234
+ };
235
+ validations: {
236
+ fieldRequired: string;
237
+ invalidEmail: string;
238
+ emailsDoNotMatch: string;
239
+ };
240
+ changeEmail: string;
241
+ emailChanged: string;
242
+ };
243
+ login: {
244
+ fields: {
245
+ email: string;
246
+ password: string;
247
+ username: string;
248
+ };
249
+ validations: {
250
+ fieldRequired: string;
251
+ invalidEmail: string;
252
+ };
253
+ login: string;
254
+ loginWith: string;
255
+ forgotPassword: string;
256
+ createAccount: string;
257
+ invalidCredentials: string;
258
+ };
259
+ otp: {
260
+ fields: {
261
+ email: string;
262
+ };
263
+ validations: {
264
+ fieldRequired: string;
265
+ invalidEmail: string;
266
+ };
267
+ messages: {
268
+ unknownEmail: string;
269
+ };
270
+ request: string;
271
+ checkEmail: string;
272
+ verificationCode: string;
273
+ };
274
+ password: {
275
+ fields: {
276
+ password: string;
277
+ repeatPassword: string;
278
+ };
279
+ validations: {
280
+ fieldRequired: string;
281
+ minimumPasswordLength: (minimumPasswordLength: number) => string;
282
+ passwordsDoNotMatch: string;
283
+ };
284
+ changePassword: string;
285
+ passwordChanged: string;
286
+ };
287
+ register: {
288
+ fields: {
289
+ email: string;
290
+ password: string;
291
+ repeatPassword: string;
292
+ username: string;
293
+ };
294
+ validations: {
295
+ fieldRequired: string;
296
+ invalidEmail: string;
297
+ notAlphaNumeric: string;
298
+ };
299
+ register: string;
300
+ forgotPassword: string;
301
+ accountCreated: string;
302
+ alreadyRegistered: string;
303
+ };
304
+ verification: {
305
+ slider: string;
306
+ };
307
+ account: {
308
+ title: string;
309
+ fields: {
310
+ name: string;
311
+ email: string;
312
+ roles: string;
313
+ };
314
+ labels: {
315
+ addRole: string;
316
+ removeRole: string;
317
+ };
318
+ messages: {
319
+ addRole: ({ email }: {
320
+ email: string;
321
+ }) => string;
322
+ removeRole: ({ email }: {
323
+ email: string;
324
+ }) => string;
325
+ };
326
+ };
219
327
  }>;
220
328
  export declare const defineLang: (lang: Language) => Language;
221
329
  export declare const useLang: () => Ref<Language>;
@@ -260,6 +260,136 @@ export declare const lang: Ref<{
260
260
  'zh-CN': string;
261
261
  'zh-TW': string;
262
262
  };
263
+ }, Language | {
264
+ isoName: string;
265
+ countries: {
266
+ 'ar-TN': string;
267
+ ar: string;
268
+ 'az-Latn': string;
269
+ bg: string;
270
+ bn: string;
271
+ ca: string;
272
+ cs: string;
273
+ da: string;
274
+ de: string;
275
+ el: string;
276
+ 'en-GB': string;
277
+ 'en-US': string;
278
+ eo: string;
279
+ es: string;
280
+ et: string;
281
+ eu: string;
282
+ 'fa-IR': string;
283
+ fa: string;
284
+ fi: string;
285
+ fr: string;
286
+ gn: string;
287
+ he: string;
288
+ hr: string;
289
+ hu: string;
290
+ id: string;
291
+ is: string;
292
+ it: string;
293
+ ja: string;
294
+ km: string;
295
+ 'ko-KR': string;
296
+ 'kur-CKB': string;
297
+ kz: string;
298
+ lt: string;
299
+ lu: string;
300
+ lv: string;
301
+ ml: string;
302
+ mm: string;
303
+ ms: string;
304
+ my: string;
305
+ 'nb-NO': string;
306
+ nl: string;
307
+ pl: string;
308
+ 'pt-BR': string;
309
+ pt: string;
310
+ ro: string;
311
+ ru: string;
312
+ sk: string;
313
+ sl: string;
314
+ sm: string;
315
+ 'sr-CYR': string;
316
+ sr: string;
317
+ sv: string;
318
+ ta: string;
319
+ th: string;
320
+ tr: string;
321
+ ug: string;
322
+ uk: string;
323
+ 'uz-Cyrl': string;
324
+ 'uz-Latn': string;
325
+ vi: string;
326
+ 'zh-CN': string;
327
+ 'zh-TW': string;
328
+ };
329
+ languages: {
330
+ 'ar-TN': string;
331
+ ar: string;
332
+ 'az-Latn': string;
333
+ bg: string;
334
+ bn: string;
335
+ ca: string;
336
+ cs: string;
337
+ da: string;
338
+ de: string;
339
+ el: string;
340
+ 'en-GB': string;
341
+ 'en-US': string;
342
+ eo: string;
343
+ es: string;
344
+ et: string;
345
+ eu: string;
346
+ 'fa-IR': string;
347
+ fa: string;
348
+ fi: string;
349
+ fr: string;
350
+ gn: string;
351
+ he: string;
352
+ hr: string;
353
+ hu: string;
354
+ id: string;
355
+ is: string;
356
+ it: string;
357
+ ja: string;
358
+ km: string;
359
+ 'ko-KR': string;
360
+ 'kur-CKB': string;
361
+ kz: string;
362
+ lt: string;
363
+ lu: string;
364
+ lv: string;
365
+ ml: string;
366
+ mm: string;
367
+ ms: string;
368
+ my: string;
369
+ 'nb-NO': string;
370
+ nl: string;
371
+ pl: string;
372
+ 'pt-BR': string;
373
+ pt: string;
374
+ ro: string;
375
+ ru: string;
376
+ sk: string;
377
+ sl: string;
378
+ sm: string;
379
+ 'sr-CYR': string;
380
+ sr: string;
381
+ sv: string;
382
+ ta: string;
383
+ th: string;
384
+ tr: string;
385
+ ug: string;
386
+ uk: string;
387
+ 'uz-Cyrl': string;
388
+ 'uz-Latn': string;
389
+ vi: string;
390
+ 'zh-CN': string;
391
+ 'zh-TW': string;
392
+ };
263
393
  }>;
264
394
  export declare const defineLang: (lang: Language) => Language;
265
395
  export declare const useLang: () => Ref<Language>;
@@ -2,14 +2,5 @@ export interface Props {
2
2
  modelValue: boolean | null;
3
3
  label: string;
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
- };
@@ -3,18 +3,9 @@ export interface Props {
3
3
  label?: string;
4
4
  required?: boolean;
5
5
  }
6
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
7
  "update:modelValue": (...args: any[]) => void;
8
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
8
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
9
9
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
10
- }, {}, {}>;
10
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  export default _default;
12
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
- type __VLS_TypePropsToOption<T> = {
14
- [K in keyof T]-?: {} extends Pick<T, K> ? {
15
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
- } : {
17
- type: import('vue').PropType<T[K]>;
18
- required: true;
19
- };
20
- };
@@ -5,18 +5,9 @@ export interface Props {
5
5
  showHour?: boolean;
6
6
  showDayOfWeek?: boolean;
7
7
  }
8
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
- "update:modelValue": (val: string) => void;
10
- }, 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, {} & {
9
+ "update:modelValue": (val: string) => any;
10
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
11
11
  "onUpdate:modelValue"?: ((val: string) => any) | undefined;
12
- }, {}, {}>;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
13
  export default _default;
14
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
- type __VLS_TypePropsToOption<T> = {
16
- [K in keyof T]-?: {} extends Pick<T, K> ? {
17
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
- } : {
19
- type: import('vue').PropType<T[K]>;
20
- required: true;
21
- };
22
- };
@@ -3,18 +3,9 @@ export interface Props {
3
3
  modelValue: Currency | null;
4
4
  required?: boolean;
5
5
  }
6
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
7
  "update:modelValue": (...args: any[]) => void;
8
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
8
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
9
9
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
10
- }, {}, {}>;
10
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  export default _default;
12
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
- type __VLS_TypePropsToOption<T> = {
14
- [K in keyof T]-?: {} extends Pick<T, K> ? {
15
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
- } : {
17
- type: import('vue').PropType<T[K]>;
18
- required: true;
19
- };
20
- };
@@ -8,41 +8,14 @@ export interface Props {
8
8
  clearable?: boolean;
9
9
  date?: Partial<QDateProps>;
10
10
  }
11
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
12
- format: string;
13
- locale: string;
14
- label: string;
15
- date: () => {};
16
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
- "update:modelValue": (val: string | null) => void;
18
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
19
- format: string;
20
- locale: string;
21
- label: string;
22
- date: () => {};
23
- }>>> & {
11
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
+ "update:modelValue": (val: string | null) => any;
13
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
24
14
  "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
25
- }, {
15
+ }>, {
26
16
  label: string;
27
17
  format: "YYYY-MM-DD" | "DD-MM-YYYY" | "MM-DD-YYYY";
28
18
  date: Partial<QDateProps>;
29
- locale: string;
30
- }, {}>;
19
+ locale: QuasarLanguageCodes[number];
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
21
  export default _default;
32
- type __VLS_WithDefaults<P, D> = {
33
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
34
- default: D[K];
35
- }> : P[K];
36
- };
37
- type __VLS_Prettify<T> = {
38
- [K in keyof T]: T[K];
39
- } & {};
40
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
41
- type __VLS_TypePropsToOption<T> = {
42
- [K in keyof T]-?: {} extends Pick<T, K> ? {
43
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
44
- } : {
45
- type: import('vue').PropType<T[K]>;
46
- required: true;
47
- };
48
- };
@@ -3,40 +3,31 @@ export interface Period {
3
3
  endDate: string;
4
4
  type: 'unavailable';
5
5
  }
6
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
7
- modelValue: string | {
6
+ declare const _default: import("vue").DefineComponent<{
7
+ modelValue: string | null | undefined | {
8
8
  from: string;
9
9
  to: string;
10
- } | null | undefined;
11
- periods?: Period[] | undefined;
12
- range?: boolean | undefined;
13
- options?: ((date: string) => boolean) | undefined;
14
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ };
11
+ periods?: Period[];
12
+ range?: boolean;
13
+ options?: (date: string) => boolean;
14
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
15
15
  "update:modelValue": (val: string | {
16
16
  from: string;
17
17
  to: string;
18
- }) => void;
19
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
20
- modelValue: string | {
18
+ }) => any;
19
+ }, string, import("vue").PublicProps, Readonly<{
20
+ modelValue: string | null | undefined | {
21
21
  from: string;
22
22
  to: string;
23
- } | null | undefined;
24
- periods?: Period[] | undefined;
25
- range?: boolean | undefined;
26
- options?: ((date: string) => boolean) | undefined;
27
- }>>> & {
23
+ };
24
+ periods?: Period[];
25
+ range?: boolean;
26
+ options?: (date: string) => boolean;
27
+ }> & Readonly<{
28
28
  "onUpdate:modelValue"?: ((val: string | {
29
29
  from: string;
30
30
  to: string;
31
31
  }) => any) | undefined;
32
- }, {}, {}>;
32
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
33
  export default _default;
34
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
- type __VLS_TypePropsToOption<T> = {
36
- [K in keyof T]-?: {} extends Pick<T, K> ? {
37
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
38
- } : {
39
- type: import('vue').PropType<T[K]>;
40
- required: true;
41
- };
42
- };
@@ -2,23 +2,14 @@ export interface Props {
2
2
  subject: string;
3
3
  body: string;
4
4
  }
5
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {
6
- variables: import("vue").Ref<{}>;
7
- functions: import("vue").Ref<{}>;
8
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
- "update:subject": (value: string | number | null) => void;
10
- "update:body": (value: string | null) => void;
11
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
5
+ declare const _default: import("vue").DefineComponent<Props, {
6
+ variables: import("vue").Ref<{}, {}>;
7
+ functions: import("vue").Ref<{}, {}>;
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ "update:subject": (value: string | number | null) => any;
10
+ "update:body": (value: string | null) => any;
11
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
12
12
  "onUpdate:subject"?: ((value: string | number | null) => any) | undefined;
13
13
  "onUpdate:body"?: ((value: string | null) => any) | undefined;
14
- }, {}, {}>;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
15
  export default _default;
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
- };
@@ -1,59 +1,33 @@
1
1
  declare const _default: <T extends {
2
- [key: string]: unknown;
3
2
  id: number;
4
- }>(__VLS_props: {
5
- onFilter?: ((args_0: {
6
- ids: number[];
7
- searchPhrase: string;
8
- done: (success?: boolean) => void;
9
- }) => any) | undefined;
10
- "onUpdate:model-value"?: ((id: number) => any) | undefined;
11
- modelValue?: number | number[] | null | undefined;
12
- labelKey: string;
13
- labelFunction?: ((option: unknown) => string) | undefined;
14
- valueKey?: string | undefined;
15
- extraFields?: string[] | undefined;
16
- filteredOptions: T[];
17
- required?: boolean | undefined;
18
- multiple?: boolean | undefined;
19
- label?: string | undefined;
20
- hint?: string | undefined;
21
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
22
- attrs: any;
23
- emit: {
24
- (e: 'update:model-value', id: number): void;
25
- (e: 'filter', { ids, searchPhrase, done }: {
26
- ids: number[];
27
- searchPhrase: string;
28
- done: (success?: boolean) => void;
29
- }): void;
30
- };
31
- slots: Partial<Record<NonNullable<string | number>, (_: any) => any>>;
32
- } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
33
- props: {
34
- onFilter?: ((args_0: {
3
+ [key: string]: unknown;
4
+ }>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
+ readonly onFilter?: ((args_0: {
35
7
  ids: number[];
36
8
  searchPhrase: string;
37
9
  done: (success?: boolean) => void;
38
10
  }) => any) | undefined;
39
- "onUpdate:model-value"?: ((id: number) => any) | undefined;
40
- modelValue?: number | number[] | null | undefined;
11
+ readonly "onUpdate:model-value"?: ((id: number) => any) | undefined;
12
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFilter" | "onUpdate:model-value"> & {
13
+ modelValue?: number | number[] | null;
41
14
  labelKey: string;
42
- labelFunction?: ((option: unknown) => string) | undefined;
43
- valueKey?: string | undefined;
44
- extraFields?: string[] | undefined;
15
+ labelFunction?: (option: unknown) => string;
16
+ valueKey?: string;
17
+ extraFields?: string[];
45
18
  filteredOptions: T[];
46
- required?: boolean | undefined;
47
- multiple?: boolean | undefined;
48
- label?: string | undefined;
49
- hint?: string | undefined;
50
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
51
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
19
+ required?: boolean;
20
+ onFilter?: unknown;
21
+ multiple?: boolean;
22
+ label?: string;
23
+ hint?: string;
24
+ }> & import("vue").PublicProps;
25
+ expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
52
26
  attrs: any;
53
27
  slots: Partial<Record<NonNullable<string | number>, (_: any) => any>>;
54
28
  emit: {
55
- (e: 'update:model-value', id: number): void;
56
- (e: 'filter', { ids, searchPhrase, done }: {
29
+ (e: "update:model-value", id: number): void;
30
+ (e: "filter", { ids, searchPhrase, done }: {
57
31
  ids: number[];
58
32
  searchPhrase: string;
59
33
  done: (success?: boolean) => void;
@@ -62,39 +36,9 @@ declare const _default: <T extends {
62
36
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
63
37
  [key: string]: any;
64
38
  }> & {
65
- __ctx?: {
66
- props: {
67
- onFilter?: ((args_0: {
68
- ids: number[];
69
- searchPhrase: string;
70
- done: (success?: boolean) => void;
71
- }) => any) | undefined;
72
- "onUpdate:model-value"?: ((id: number) => any) | undefined;
73
- modelValue?: number | number[] | null | undefined;
74
- labelKey: string;
75
- labelFunction?: ((option: unknown) => string) | undefined;
76
- valueKey?: string | undefined;
77
- extraFields?: string[] | undefined;
78
- filteredOptions: T[];
79
- required?: boolean | undefined;
80
- multiple?: boolean | undefined;
81
- label?: string | undefined;
82
- hint?: string | undefined;
83
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
84
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
85
- attrs: any;
86
- slots: Partial<Record<NonNullable<string | number>, (_: any) => any>>;
87
- emit: {
88
- (e: 'update:model-value', id: number): void;
89
- (e: 'filter', { ids, searchPhrase, done }: {
90
- ids: number[];
91
- searchPhrase: string;
92
- done: (success?: boolean) => void;
93
- }): void;
94
- };
95
- } | undefined;
39
+ __ctx?: Awaited<typeof __VLS_setup>;
96
40
  };
97
41
  export default _default;
98
- type __VLS_Prettify<T> = {
42
+ type __VLS_PrettifyLocal<T> = {
99
43
  [K in keyof T]: T[K];
100
44
  } & {};