@rotki/ui-library 1.3.0 → 1.4.0

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 (62) hide show
  1. package/dist/RuiNavigationDrawer-Boq-RcMw.js +7959 -0
  2. package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +26 -19
  3. package/dist/components/accordions/accordions/RuiAccordions.vue.d.ts +9 -9
  4. package/dist/components/alerts/RuiAlert.vue.d.ts +23 -19
  5. package/dist/components/buttons/button/RuiButton.vue.d.ts +8 -10
  6. package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +7 -9
  7. package/dist/components/cards/RuiCard.vue.d.ts +26 -21
  8. package/dist/components/cards/RuiCardHeader.vue.d.ts +22 -17
  9. package/dist/components/chips/RuiChip.vue.d.ts +22 -17
  10. package/dist/components/color-picker/RuiColorBoard.vue.d.ts +4 -4
  11. package/dist/components/color-picker/RuiColorDisplay.vue.d.ts +3 -3
  12. package/dist/components/color-picker/RuiColorHue.vue.d.ts +3 -3
  13. package/dist/components/color-picker/RuiColorInput.vue.d.ts +3 -3
  14. package/dist/components/color-picker/RuiColorPicker.vue.d.ts +9 -9
  15. package/dist/components/divider/RuiDivider.vue.d.ts +8 -8
  16. package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +260 -19
  17. package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +23 -16
  18. package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +7 -9
  19. package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +6 -8
  20. package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +29 -18
  21. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +7 -9
  22. package/dist/components/forms/select/RuiSimpleSelect.vue.d.ts +9 -9
  23. package/dist/components/forms/slider/RuiSlider.vue.d.ts +10 -10
  24. package/dist/components/forms/switch/RuiSwitch.vue.d.ts +21 -16
  25. package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +28 -18
  26. package/dist/components/forms/text-field/RuiTextField.vue.d.ts +29 -19
  27. package/dist/components/helpers/RuiFormTextDetail.vue.d.ts +8 -8
  28. package/dist/components/icons/RuiIcon.vue.d.ts +8 -8
  29. package/dist/components/index.es.js +1 -1
  30. package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +8 -8
  31. package/dist/components/loaders/RuiSkeletonLoader.vue.d.ts +8 -8
  32. package/dist/components/logos/RuiLogo.vue.d.ts +8 -8
  33. package/dist/components/overlays/badge/RuiBadge.vue.d.ts +23 -18
  34. package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +20 -15
  35. package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +32 -25
  36. package/dist/components/overlays/menu/RuiMenu.vue.d.ts +41 -33
  37. package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +34 -27
  38. package/dist/components/overlays/notification/RuiNotification.vue.d.ts +21 -16
  39. package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +28 -20
  40. package/dist/components/progress/RuiProgress.vue.d.ts +8 -8
  41. package/dist/components/steppers/RuiFooterStepper.vue.d.ts +9 -9
  42. package/dist/components/steppers/RuiStepper.vue.d.ts +25 -18
  43. package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +8 -8
  44. package/dist/components/steppers/RuiStepperIcon.vue.d.ts +8 -8
  45. package/dist/components/tables/RuiDataTable.vue.d.ts +15 -24
  46. package/dist/components/tables/RuiExpandButton.vue.d.ts +20 -15
  47. package/dist/components/tables/RuiTableHead.vue.d.ts +9 -15
  48. package/dist/components/tables/RuiTablePagination.vue.d.ts +9 -9
  49. package/dist/components/tabs/tab/RuiTab.vue.d.ts +28 -23
  50. package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +21 -16
  51. package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +6 -8
  52. package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +9 -9
  53. package/dist/composables/dropdown-menu.d.ts +2 -2
  54. package/dist/composables/icons.d.ts +1 -1
  55. package/dist/composables/popper.d.ts +6 -6
  56. package/dist/composables/sticky-header.d.ts +3 -3
  57. package/dist/index.es.js +2 -2
  58. package/dist/style.css +1 -1
  59. package/dist/utils/generate-id.d.ts +1 -1
  60. package/dist/web-types.json +73 -50
  61. package/package.json +33 -33
  62. package/dist/RuiNavigationDrawer-DGs1QHIz.js +0 -7951
@@ -34,14 +34,11 @@ export interface AutoCompleteProps<TValue, TItem> {
34
34
  returnObject?: boolean;
35
35
  customValue?: boolean;
36
36
  }
37
- declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
38
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
39
- "onUpdate:modelValue"?: ((modelValue: AutoCompleteModelValue<TValue>) => any) | undefined;
40
- "onUpdate:searchInput"?: ((searchInput: string) => any) | undefined;
41
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{}>> & {
42
- "onUpdate:modelValue"?: ((modelValue: AutoCompleteModelValue<TValue>) => any) | undefined;
43
- "onUpdate:searchInput"?: ((searchInput: string) => any) | undefined;
44
- }, never>, "onUpdate:modelValue" | "onUpdate:searchInput"> & ({
37
+ declare const _default: <TValue, TItem>(__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<{
38
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
39
+ readonly "onUpdate:modelValue"?: ((modelValue: AutoCompleteModelValue<TValue>) => any) | undefined;
40
+ readonly "onUpdate:searchInput"?: ((searchInput: string) => any) | undefined;
41
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:searchInput"> & ({
45
42
  modelValue: AutoCompleteModelValue<TValue>;
46
43
  searchInput?: string;
47
44
  } & AutoCompleteProps<TValue, TItem>)> & import("vue").PublicProps;
@@ -50,9 +47,9 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
50
47
  setSelectionRange: (start: number, end: number) => void;
51
48
  }>): void;
52
49
  attrs: any;
53
- slots: ReturnType<() => {
50
+ slots: {
54
51
  activator?(_: {
55
- disabled: import("@vue/reactivity").DistributeRef<[(Readonly<{
52
+ disabled: boolean & import("@vue/reactivity").DistributeRef<[(Readonly<{
56
53
  labelClass: string;
57
54
  menuClass: string;
58
55
  itemClass: string;
@@ -113,7 +110,7 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
113
110
  placeholder: "";
114
111
  returnObject: false;
115
112
  customValue: false;
116
- }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]] extends [globalThis.Ref<any>] ? (Readonly<{
113
+ }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]] extends [globalThis.Ref<any, any>] ? (Readonly<{
117
114
  labelClass: string;
118
115
  menuClass: string;
119
116
  itemClass: string;
@@ -235,6 +232,67 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
235
232
  placeholder: "";
236
233
  returnObject: false;
237
234
  customValue: false;
235
+ }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"], (Readonly<{
236
+ labelClass: string;
237
+ menuClass: string;
238
+ itemClass: string;
239
+ filter: ((item: TItem, queryText: string) => boolean) | undefined;
240
+ }> & {
241
+ readonly options: TItem[];
242
+ readonly disabled: boolean;
243
+ readonly loading: boolean;
244
+ readonly readOnly: boolean;
245
+ readonly dense: boolean;
246
+ readonly clearable: boolean;
247
+ readonly hideDetails: boolean;
248
+ readonly chips: boolean;
249
+ readonly label: string;
250
+ readonly menuOptions: MenuProps | undefined;
251
+ readonly prependWidth: number;
252
+ readonly appendWidth: number;
253
+ readonly variant: "default" | "outlined" | "filled";
254
+ readonly hint: string | undefined;
255
+ readonly keyAttr: KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined;
256
+ readonly textAttr: keyof TItem | undefined;
257
+ readonly itemHeight: number | undefined;
258
+ readonly errorMessages: string | string[];
259
+ readonly successMessages: string | string[];
260
+ readonly autoSelectFirst: boolean;
261
+ readonly noFilter: boolean;
262
+ readonly hideNoData: boolean;
263
+ readonly noDataText: string;
264
+ readonly hideSelected: boolean;
265
+ readonly placeholder: string;
266
+ readonly returnObject: boolean;
267
+ readonly customValue: boolean;
268
+ } & ("disabled" | "loading" | "dense" | "autoSelectFirst" | "hideSelected" | "readOnly" | "clearable" | "hideDetails" | "chips" | "noFilter" | "hideNoData" | "returnObject" | "customValue" | ([KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined] extends [boolean | undefined] ? "keyAttr" : never) | ([keyof TItem | undefined] extends [boolean | undefined] ? "textAttr" : never) extends infer T extends keyof T_1 ? { readonly [K in T]-?: K extends "label" | "variant" | "disabled" | "loading" | "dense" | "options" | "errorMessages" | "successMessages" | "hint" | "keyAttr" | "textAttr" | "appendWidth" | "autoSelectFirst" | "hideSelected" | "itemHeight" | "prependWidth" | "readOnly" | "clearable" | "menuOptions" | "hideDetails" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "placeholder" | "returnObject" | "customValue" ? {
269
+ options: () => never[];
270
+ disabled: false;
271
+ loading: false;
272
+ readOnly: false;
273
+ dense: false;
274
+ clearable: false;
275
+ hideDetails: false;
276
+ chips: false;
277
+ label: "Select";
278
+ menuOptions: undefined;
279
+ prependWidth: 0;
280
+ appendWidth: 0;
281
+ variant: "default";
282
+ hint: undefined;
283
+ keyAttr: undefined;
284
+ textAttr: undefined;
285
+ itemHeight: undefined;
286
+ errorMessages: () => never[];
287
+ successMessages: () => never[];
288
+ autoSelectFirst: false;
289
+ noFilter: false;
290
+ hideNoData: false;
291
+ noDataText: "No data available";
292
+ hideSelected: false;
293
+ placeholder: "";
294
+ returnObject: false;
295
+ customValue: false;
238
296
  }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]>>;
239
297
  value: TItem[];
240
298
  variant: "default" | "outlined" | "filled";
@@ -279,7 +337,7 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
279
337
  index: number;
280
338
  }): any;
281
339
  "item.prepend"?(_: {
282
- disabled: import("@vue/reactivity").DistributeRef<[(Readonly<{
340
+ disabled: boolean & import("@vue/reactivity").DistributeRef<[(Readonly<{
283
341
  labelClass: string;
284
342
  menuClass: string;
285
343
  itemClass: string;
@@ -340,7 +398,7 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
340
398
  placeholder: "";
341
399
  returnObject: false;
342
400
  customValue: false;
343
- }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]] extends [globalThis.Ref<any>] ? (Readonly<{
401
+ }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]] extends [globalThis.Ref<any, any>] ? (Readonly<{
344
402
  labelClass: string;
345
403
  menuClass: string;
346
404
  itemClass: string;
@@ -462,12 +520,73 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
462
520
  placeholder: "";
463
521
  returnObject: false;
464
522
  customValue: false;
523
+ }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"], (Readonly<{
524
+ labelClass: string;
525
+ menuClass: string;
526
+ itemClass: string;
527
+ filter: ((item: TItem, queryText: string) => boolean) | undefined;
528
+ }> & {
529
+ readonly options: TItem[];
530
+ readonly disabled: boolean;
531
+ readonly loading: boolean;
532
+ readonly readOnly: boolean;
533
+ readonly dense: boolean;
534
+ readonly clearable: boolean;
535
+ readonly hideDetails: boolean;
536
+ readonly chips: boolean;
537
+ readonly label: string;
538
+ readonly menuOptions: MenuProps | undefined;
539
+ readonly prependWidth: number;
540
+ readonly appendWidth: number;
541
+ readonly variant: "default" | "outlined" | "filled";
542
+ readonly hint: string | undefined;
543
+ readonly keyAttr: KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined;
544
+ readonly textAttr: keyof TItem | undefined;
545
+ readonly itemHeight: number | undefined;
546
+ readonly errorMessages: string | string[];
547
+ readonly successMessages: string | string[];
548
+ readonly autoSelectFirst: boolean;
549
+ readonly noFilter: boolean;
550
+ readonly hideNoData: boolean;
551
+ readonly noDataText: string;
552
+ readonly hideSelected: boolean;
553
+ readonly placeholder: string;
554
+ readonly returnObject: boolean;
555
+ readonly customValue: boolean;
556
+ } & ("disabled" | "loading" | "dense" | "autoSelectFirst" | "hideSelected" | "readOnly" | "clearable" | "hideDetails" | "chips" | "noFilter" | "hideNoData" | "returnObject" | "customValue" | ([KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined] extends [boolean | undefined] ? "keyAttr" : never) | ([keyof TItem | undefined] extends [boolean | undefined] ? "textAttr" : never) extends infer T extends keyof T_1 ? { readonly [K in T]-?: K extends "label" | "variant" | "disabled" | "loading" | "dense" | "options" | "errorMessages" | "successMessages" | "hint" | "keyAttr" | "textAttr" | "appendWidth" | "autoSelectFirst" | "hideSelected" | "itemHeight" | "prependWidth" | "readOnly" | "clearable" | "menuOptions" | "hideDetails" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "placeholder" | "returnObject" | "customValue" ? {
557
+ options: () => never[];
558
+ disabled: false;
559
+ loading: false;
560
+ readOnly: false;
561
+ dense: false;
562
+ clearable: false;
563
+ hideDetails: false;
564
+ chips: false;
565
+ label: "Select";
566
+ menuOptions: undefined;
567
+ prependWidth: 0;
568
+ appendWidth: 0;
569
+ variant: "default";
570
+ hint: undefined;
571
+ keyAttr: undefined;
572
+ textAttr: undefined;
573
+ itemHeight: undefined;
574
+ errorMessages: () => never[];
575
+ successMessages: () => never[];
576
+ autoSelectFirst: false;
577
+ noFilter: false;
578
+ hideNoData: false;
579
+ noDataText: "No data available";
580
+ hideSelected: false;
581
+ placeholder: "";
582
+ returnObject: false;
583
+ customValue: false;
465
584
  }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]>>;
466
585
  item: TItem;
467
586
  active: boolean;
468
587
  }): any;
469
588
  item?(_: {
470
- disabled: import("@vue/reactivity").DistributeRef<[(Readonly<{
589
+ disabled: boolean & import("@vue/reactivity").DistributeRef<[(Readonly<{
471
590
  labelClass: string;
472
591
  menuClass: string;
473
592
  itemClass: string;
@@ -528,7 +647,7 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
528
647
  placeholder: "";
529
648
  returnObject: false;
530
649
  customValue: false;
531
- }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]] extends [globalThis.Ref<any>] ? (Readonly<{
650
+ }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]] extends [globalThis.Ref<any, any>] ? (Readonly<{
532
651
  labelClass: string;
533
652
  menuClass: string;
534
653
  itemClass: string;
@@ -650,12 +769,73 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
650
769
  placeholder: "";
651
770
  returnObject: false;
652
771
  customValue: false;
772
+ }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"], (Readonly<{
773
+ labelClass: string;
774
+ menuClass: string;
775
+ itemClass: string;
776
+ filter: ((item: TItem, queryText: string) => boolean) | undefined;
777
+ }> & {
778
+ readonly options: TItem[];
779
+ readonly disabled: boolean;
780
+ readonly loading: boolean;
781
+ readonly readOnly: boolean;
782
+ readonly dense: boolean;
783
+ readonly clearable: boolean;
784
+ readonly hideDetails: boolean;
785
+ readonly chips: boolean;
786
+ readonly label: string;
787
+ readonly menuOptions: MenuProps | undefined;
788
+ readonly prependWidth: number;
789
+ readonly appendWidth: number;
790
+ readonly variant: "default" | "outlined" | "filled";
791
+ readonly hint: string | undefined;
792
+ readonly keyAttr: KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined;
793
+ readonly textAttr: keyof TItem | undefined;
794
+ readonly itemHeight: number | undefined;
795
+ readonly errorMessages: string | string[];
796
+ readonly successMessages: string | string[];
797
+ readonly autoSelectFirst: boolean;
798
+ readonly noFilter: boolean;
799
+ readonly hideNoData: boolean;
800
+ readonly noDataText: string;
801
+ readonly hideSelected: boolean;
802
+ readonly placeholder: string;
803
+ readonly returnObject: boolean;
804
+ readonly customValue: boolean;
805
+ } & ("disabled" | "loading" | "dense" | "autoSelectFirst" | "hideSelected" | "readOnly" | "clearable" | "hideDetails" | "chips" | "noFilter" | "hideNoData" | "returnObject" | "customValue" | ([KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined] extends [boolean | undefined] ? "keyAttr" : never) | ([keyof TItem | undefined] extends [boolean | undefined] ? "textAttr" : never) extends infer T extends keyof T_1 ? { readonly [K in T]-?: K extends "label" | "variant" | "disabled" | "loading" | "dense" | "options" | "errorMessages" | "successMessages" | "hint" | "keyAttr" | "textAttr" | "appendWidth" | "autoSelectFirst" | "hideSelected" | "itemHeight" | "prependWidth" | "readOnly" | "clearable" | "menuOptions" | "hideDetails" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "placeholder" | "returnObject" | "customValue" ? {
806
+ options: () => never[];
807
+ disabled: false;
808
+ loading: false;
809
+ readOnly: false;
810
+ dense: false;
811
+ clearable: false;
812
+ hideDetails: false;
813
+ chips: false;
814
+ label: "Select";
815
+ menuOptions: undefined;
816
+ prependWidth: 0;
817
+ appendWidth: 0;
818
+ variant: "default";
819
+ hint: undefined;
820
+ keyAttr: undefined;
821
+ textAttr: undefined;
822
+ itemHeight: undefined;
823
+ errorMessages: () => never[];
824
+ successMessages: () => never[];
825
+ autoSelectFirst: false;
826
+ noFilter: false;
827
+ hideNoData: false;
828
+ noDataText: "No data available";
829
+ hideSelected: false;
830
+ placeholder: "";
831
+ returnObject: false;
832
+ customValue: false;
653
833
  }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]>>;
654
834
  item: TItem;
655
835
  active: boolean;
656
836
  }): any;
657
837
  "item.append"?(_: {
658
- disabled: import("@vue/reactivity").DistributeRef<[(Readonly<{
838
+ disabled: boolean & import("@vue/reactivity").DistributeRef<[(Readonly<{
659
839
  labelClass: string;
660
840
  menuClass: string;
661
841
  itemClass: string;
@@ -716,7 +896,7 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
716
896
  placeholder: "";
717
897
  returnObject: false;
718
898
  customValue: false;
719
- }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]] extends [globalThis.Ref<any>] ? (Readonly<{
899
+ }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]] extends [globalThis.Ref<any, any>] ? (Readonly<{
720
900
  labelClass: string;
721
901
  menuClass: string;
722
902
  itemClass: string;
@@ -838,12 +1018,73 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
838
1018
  placeholder: "";
839
1019
  returnObject: false;
840
1020
  customValue: false;
1021
+ }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"], (Readonly<{
1022
+ labelClass: string;
1023
+ menuClass: string;
1024
+ itemClass: string;
1025
+ filter: ((item: TItem, queryText: string) => boolean) | undefined;
1026
+ }> & {
1027
+ readonly options: TItem[];
1028
+ readonly disabled: boolean;
1029
+ readonly loading: boolean;
1030
+ readonly readOnly: boolean;
1031
+ readonly dense: boolean;
1032
+ readonly clearable: boolean;
1033
+ readonly hideDetails: boolean;
1034
+ readonly chips: boolean;
1035
+ readonly label: string;
1036
+ readonly menuOptions: MenuProps | undefined;
1037
+ readonly prependWidth: number;
1038
+ readonly appendWidth: number;
1039
+ readonly variant: "default" | "outlined" | "filled";
1040
+ readonly hint: string | undefined;
1041
+ readonly keyAttr: KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined;
1042
+ readonly textAttr: keyof TItem | undefined;
1043
+ readonly itemHeight: number | undefined;
1044
+ readonly errorMessages: string | string[];
1045
+ readonly successMessages: string | string[];
1046
+ readonly autoSelectFirst: boolean;
1047
+ readonly noFilter: boolean;
1048
+ readonly hideNoData: boolean;
1049
+ readonly noDataText: string;
1050
+ readonly hideSelected: boolean;
1051
+ readonly placeholder: string;
1052
+ readonly returnObject: boolean;
1053
+ readonly customValue: boolean;
1054
+ } & ("disabled" | "loading" | "dense" | "autoSelectFirst" | "hideSelected" | "readOnly" | "clearable" | "hideDetails" | "chips" | "noFilter" | "hideNoData" | "returnObject" | "customValue" | ([KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined] extends [boolean | undefined] ? "keyAttr" : never) | ([keyof TItem | undefined] extends [boolean | undefined] ? "textAttr" : never) extends infer T extends keyof T_1 ? { readonly [K in T]-?: K extends "label" | "variant" | "disabled" | "loading" | "dense" | "options" | "errorMessages" | "successMessages" | "hint" | "keyAttr" | "textAttr" | "appendWidth" | "autoSelectFirst" | "hideSelected" | "itemHeight" | "prependWidth" | "readOnly" | "clearable" | "menuOptions" | "hideDetails" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "placeholder" | "returnObject" | "customValue" ? {
1055
+ options: () => never[];
1056
+ disabled: false;
1057
+ loading: false;
1058
+ readOnly: false;
1059
+ dense: false;
1060
+ clearable: false;
1061
+ hideDetails: false;
1062
+ chips: false;
1063
+ label: "Select";
1064
+ menuOptions: undefined;
1065
+ prependWidth: 0;
1066
+ appendWidth: 0;
1067
+ variant: "default";
1068
+ hint: undefined;
1069
+ keyAttr: undefined;
1070
+ textAttr: undefined;
1071
+ itemHeight: undefined;
1072
+ errorMessages: () => never[];
1073
+ successMessages: () => never[];
1074
+ autoSelectFirst: false;
1075
+ noFilter: false;
1076
+ hideNoData: false;
1077
+ noDataText: "No data available";
1078
+ hideSelected: false;
1079
+ placeholder: "";
1080
+ returnObject: false;
1081
+ customValue: false;
841
1082
  }[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]>>;
842
1083
  item: TItem;
843
1084
  active: boolean;
844
1085
  }): any;
845
1086
  "no-data"?(_: {}): any;
846
- }>;
1087
+ };
847
1088
  emit: ((evt: "update:modelValue", modelValue: AutoCompleteModelValue<TValue>) => void) & ((evt: "update:searchInput", searchInput: string) => void);
848
1089
  }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
849
1090
  [key: string]: any;
@@ -851,6 +1092,6 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
851
1092
  __ctx?: Awaited<typeof __VLS_setup>;
852
1093
  };
853
1094
  export default _default;
854
- type __VLS_Prettify<T> = {
1095
+ type __VLS_PrettifyLocal<T> = {
855
1096
  [K in keyof T]: T[K];
856
1097
  } & {};
@@ -12,9 +12,16 @@ export interface Props {
12
12
  hideDetails?: boolean;
13
13
  }
14
14
  declare function __VLS_template(): {
15
- default?(_: {}): any;
15
+ slots: {
16
+ default?(_: {}): any;
17
+ };
18
+ refs: {
19
+ el: HTMLInputElement;
20
+ };
21
+ attrs: Partial<{}>;
16
22
  };
17
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
23
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
+ declare const __VLS_component: import("vue").DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
18
25
  modelValue: boolean;
19
26
  indeterminate: boolean;
20
27
  disabled: boolean;
@@ -25,7 +32,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
25
32
  errorMessages: () => never[];
26
33
  successMessages: () => never[];
27
34
  hideDetails: boolean;
28
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
35
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
36
  "update:modelValue": (modelValue: boolean) => void;
30
37
  "update:indeterminate": (indeterminate: boolean) => void;
31
38
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
@@ -39,10 +46,10 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
39
46
  errorMessages: () => never[];
40
47
  successMessages: () => never[];
41
48
  hideDetails: boolean;
42
- }>>> & {
49
+ }>>> & Readonly<{
43
50
  "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
44
51
  "onUpdate:indeterminate"?: ((indeterminate: boolean) => any) | undefined;
45
- }, {
52
+ }>, {
46
53
  size: "sm" | "lg";
47
54
  color: ContextColorsType;
48
55
  label: string;
@@ -53,22 +60,14 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
53
60
  successMessages: string | string[];
54
61
  hint: string;
55
62
  hideDetails: boolean;
56
- }, {}>;
57
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
63
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
64
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
58
65
  export default _default;
59
66
  type __VLS_WithDefaults<P, D> = {
60
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
67
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
61
68
  default: D[K];
62
69
  }> : P[K];
63
70
  };
64
- type __VLS_Prettify<T> = {
65
- [K in keyof T]: T[K];
66
- } & {};
67
- type __VLS_WithTemplateSlots<T, S> = T & {
68
- new (): {
69
- $slots: S;
70
- };
71
- };
72
71
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
73
72
  type __VLS_TypePropsToOption<T> = {
74
73
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -78,3 +77,11 @@ type __VLS_TypePropsToOption<T> = {
78
77
  required: true;
79
78
  };
80
79
  };
80
+ type __VLS_WithTemplateSlots<T, S> = T & {
81
+ new (): {
82
+ $slots: S;
83
+ };
84
+ };
85
+ type __VLS_PrettifyLocal<T> = {
86
+ [K in keyof T]: T[K];
87
+ } & {};
@@ -10,19 +10,17 @@ export interface RadioProps<TValue> {
10
10
  successMessages?: string | string[];
11
11
  hideDetails?: boolean;
12
12
  }
13
- declare const _default: <TValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
14
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
15
- "onUpdate:modelValue"?: ((modelValue: TValue) => any) | undefined;
16
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{}>> & {
17
- "onUpdate:modelValue"?: ((modelValue: TValue) => any) | undefined;
18
- }, never>, "onUpdate:modelValue"> & ({
13
+ declare const _default: <TValue>(__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<{
14
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
15
+ readonly "onUpdate:modelValue"?: ((modelValue: TValue) => any) | undefined;
16
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
19
17
  modelValue?: TValue;
20
18
  } & RadioProps<TValue>)> & import("vue").PublicProps;
21
19
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
22
20
  attrs: any;
23
- slots: ReturnType<() => {
21
+ slots: {
24
22
  default?(_: {}): any;
25
- }>;
23
+ };
26
24
  emit: (evt: "update:modelValue", modelValue: TValue) => void;
27
25
  }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
28
26
  [key: string]: any;
@@ -30,6 +28,6 @@ declare const _default: <TValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_s
30
28
  __ctx?: Awaited<typeof __VLS_setup>;
31
29
  };
32
30
  export default _default;
33
- type __VLS_Prettify<T> = {
31
+ type __VLS_PrettifyLocal<T> = {
34
32
  [K in keyof T]: T[K];
35
33
  } & {};
@@ -10,17 +10,15 @@ export interface Props {
10
10
  color?: ContextColorsType;
11
11
  size?: 'sm' | 'lg';
12
12
  }
13
- declare const _default: <TValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
14
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
15
- "onUpdate:modelValue"?: ((modelValue: TValue) => any) | undefined;
16
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{}>> & {
17
- "onUpdate:modelValue"?: ((modelValue: TValue) => any) | undefined;
18
- }, never>, "onUpdate:modelValue"> & ({
13
+ declare const _default: <TValue>(__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<{
14
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
15
+ readonly "onUpdate:modelValue"?: ((modelValue: TValue) => any) | undefined;
16
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
19
17
  modelValue?: TValue;
20
18
  } & Props)> & import("vue").PublicProps;
21
19
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
22
20
  attrs: any;
23
- slots: ReturnType<() => {}>;
21
+ slots: {};
24
22
  emit: (evt: "update:modelValue", modelValue: TValue) => void;
25
23
  }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
26
24
  [key: string]: any;
@@ -28,6 +26,6 @@ declare const _default: <TValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_s
28
26
  __ctx?: Awaited<typeof __VLS_setup>;
29
27
  };
30
28
  export default _default;
31
- type __VLS_Prettify<T> = {
29
+ type __VLS_PrettifyLocal<T> = {
32
30
  [K in keyof T]: T[K];
33
31
  } & {};
@@ -1,12 +1,20 @@
1
1
  import { type TextFieldProps } from '../../../components/forms/text-field/RuiTextField.vue';
2
2
  export interface Props extends TextFieldProps {
3
3
  }
4
+ declare let __VLS_typeProps: Props;
5
+ type __VLS_PublicProps = {
6
+ modelValue: string;
7
+ } & typeof __VLS_typeProps;
4
8
  declare function __VLS_template(): {
5
- prepend?(_: {}): any;
6
- append?(_: {}): any;
9
+ slots: {
10
+ prepend?(_: {}): any;
11
+ append?(_: {}): any;
12
+ };
13
+ refs: {};
14
+ attrs: Partial<{}>;
7
15
  };
8
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
- modelValue: string;
16
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
+ declare const __VLS_component: import("vue").DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
10
18
  label: string;
11
19
  placeholder: string;
12
20
  disabled: boolean;
@@ -23,8 +31,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
23
31
  appendIcon: undefined;
24
32
  readonly: boolean;
25
33
  clearable: boolean;
26
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
27
- modelValue: string;
34
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
35
+ "update:modelValue": (modelValue: string) => void;
36
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
28
37
  label: string;
29
38
  placeholder: string;
30
39
  disabled: boolean;
@@ -41,7 +50,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
41
50
  appendIcon: undefined;
42
51
  readonly: boolean;
43
52
  clearable: boolean;
44
- }>>>, {
53
+ }>>> & Readonly<{
54
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
55
+ }>, {
45
56
  readonly: boolean;
46
57
  color: import("../../..").ContextColorsType;
47
58
  label: string;
@@ -58,22 +69,14 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
58
69
  prependIcon: import("../../..").RuiIcons;
59
70
  appendIcon: import("../../..").RuiIcons;
60
71
  as: string | object;
61
- }, {}>;
62
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
72
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
73
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
63
74
  export default _default;
64
75
  type __VLS_WithDefaults<P, D> = {
65
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
76
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
66
77
  default: D[K];
67
78
  }> : P[K];
68
79
  };
69
- type __VLS_Prettify<T> = {
70
- [K in keyof T]: T[K];
71
- } & {};
72
- type __VLS_WithTemplateSlots<T, S> = T & {
73
- new (): {
74
- $slots: S;
75
- };
76
- };
77
80
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
78
81
  type __VLS_TypePropsToOption<T> = {
79
82
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -83,3 +86,11 @@ type __VLS_TypePropsToOption<T> = {
83
86
  required: true;
84
87
  };
85
88
  };
89
+ type __VLS_WithTemplateSlots<T, S> = T & {
90
+ new (): {
91
+ $slots: S;
92
+ };
93
+ };
94
+ type __VLS_PrettifyLocal<T> = {
95
+ [K in keyof T]: T[K];
96
+ } & {};
@@ -26,17 +26,15 @@ export interface Props<TValue, TItem> {
26
26
  hideNoData?: boolean;
27
27
  noDataText?: string;
28
28
  }
29
- declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
30
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
31
- "onUpdate:modelValue"?: ((modelValue: TValue | undefined) => any) | undefined;
32
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{}>> & {
33
- "onUpdate:modelValue"?: ((modelValue: TValue | undefined) => any) | undefined;
34
- }, never>, "onUpdate:modelValue"> & ({
29
+ declare const _default: <TValue, TItem>(__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<{
30
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
31
+ readonly "onUpdate:modelValue"?: ((modelValue: TValue | undefined) => any) | undefined;
32
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
35
33
  modelValue: TValue | undefined;
36
34
  } & Props<TValue, TItem>)> & import("vue").PublicProps;
37
35
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
38
36
  attrs: any;
39
- slots: ReturnType<() => {
37
+ slots: {
40
38
  activator?(_: {
41
39
  disabled: boolean;
42
40
  value: TItem | undefined;
@@ -80,7 +78,7 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
80
78
  active: boolean;
81
79
  }): any;
82
80
  "no-data"?(_: {}): any;
83
- }>;
81
+ };
84
82
  emit: (evt: "update:modelValue", modelValue: TValue | undefined) => void;
85
83
  }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
86
84
  [key: string]: any;
@@ -88,6 +86,6 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
88
86
  __ctx?: Awaited<typeof __VLS_setup>;
89
87
  };
90
88
  export default _default;
91
- type __VLS_Prettify<T> = {
89
+ type __VLS_PrettifyLocal<T> = {
92
90
  [K in keyof T]: T[K];
93
91
  } & {};