@rotki/ui-library 2.11.1 → 2.12.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.
- package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +82 -16
- package/dist/components/forms/auto-complete/RuiAutoComplete.vue2.js +21 -14
- package/dist/components/forms/auto-complete/RuiAutoComplete.vue2.js.map +1 -1
- package/dist/style.css +4 -1
- package/dist/web-types.json +25 -5
- package/package.json +1 -1
|
@@ -35,6 +35,8 @@ export interface AutoCompleteProps<TValue, TItem> {
|
|
|
35
35
|
customValue?: boolean;
|
|
36
36
|
hideCustomValue?: boolean;
|
|
37
37
|
required?: boolean;
|
|
38
|
+
hideSearchInput?: boolean;
|
|
39
|
+
hideSelectionWrapper?: boolean;
|
|
38
40
|
}
|
|
39
41
|
declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
40
42
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<(AutoCompleteProps<TValue, TItem> & {
|
|
@@ -88,7 +90,9 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
88
90
|
readonly customValue: boolean;
|
|
89
91
|
readonly hideCustomValue: boolean;
|
|
90
92
|
readonly required: boolean;
|
|
91
|
-
|
|
93
|
+
readonly hideSearchInput: boolean;
|
|
94
|
+
readonly hideSelectionWrapper: boolean;
|
|
95
|
+
} & ("disabled" | "returnObject" | "autoSelectFirst" | "dense" | "hideSelected" | "loading" | "required" | "hideDetails" | "clearable" | "readOnly" | "chips" | "noFilter" | "hideNoData" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" | (KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : "keyAttr" : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : "textAttr" : never) extends infer T extends keyof T_1 ? { readonly [K in T]-?: K extends "options" | "label" | "disabled" | "keyAttr" | "returnObject" | "textAttr" | "appendWidth" | "autoSelectFirst" | "dense" | "hideSelected" | "itemHeight" | "prependWidth" | "variant" | "loading" | "errorMessages" | "successMessages" | "hint" | "required" | "hideDetails" | "placeholder" | "clearable" | "readOnly" | "menuOptions" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" ? {
|
|
92
96
|
options: () => never[];
|
|
93
97
|
disabled: false;
|
|
94
98
|
loading: false;
|
|
@@ -118,6 +122,8 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
118
122
|
customValue: false;
|
|
119
123
|
hideCustomValue: false;
|
|
120
124
|
required: false;
|
|
125
|
+
hideSearchInput: false;
|
|
126
|
+
hideSelectionWrapper: false;
|
|
121
127
|
}[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]] extends [globalThis.Ref<any, any>] ? (Readonly<{
|
|
122
128
|
labelClass: string;
|
|
123
129
|
menuClass: string;
|
|
@@ -153,7 +159,9 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
153
159
|
readonly customValue: boolean;
|
|
154
160
|
readonly hideCustomValue: boolean;
|
|
155
161
|
readonly required: boolean;
|
|
156
|
-
|
|
162
|
+
readonly hideSearchInput: boolean;
|
|
163
|
+
readonly hideSelectionWrapper: boolean;
|
|
164
|
+
} & ("disabled" | "returnObject" | "autoSelectFirst" | "dense" | "hideSelected" | "loading" | "required" | "hideDetails" | "clearable" | "readOnly" | "chips" | "noFilter" | "hideNoData" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" | (KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : "keyAttr" : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : "textAttr" : never) extends infer T_2 extends keyof T_1 ? { readonly [K in T_2]-?: K extends "options" | "label" | "disabled" | "keyAttr" | "returnObject" | "textAttr" | "appendWidth" | "autoSelectFirst" | "dense" | "hideSelected" | "itemHeight" | "prependWidth" | "variant" | "loading" | "errorMessages" | "successMessages" | "hint" | "required" | "hideDetails" | "placeholder" | "clearable" | "readOnly" | "menuOptions" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" ? {
|
|
157
165
|
options: () => never[];
|
|
158
166
|
disabled: false;
|
|
159
167
|
loading: false;
|
|
@@ -183,6 +191,8 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
183
191
|
customValue: false;
|
|
184
192
|
hideCustomValue: false;
|
|
185
193
|
required: false;
|
|
194
|
+
hideSearchInput: false;
|
|
195
|
+
hideSelectionWrapper: false;
|
|
186
196
|
}[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"] : globalThis.Ref<(Readonly<{
|
|
187
197
|
labelClass: string;
|
|
188
198
|
menuClass: string;
|
|
@@ -218,7 +228,9 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
218
228
|
readonly customValue: boolean;
|
|
219
229
|
readonly hideCustomValue: boolean;
|
|
220
230
|
readonly required: boolean;
|
|
221
|
-
|
|
231
|
+
readonly hideSearchInput: boolean;
|
|
232
|
+
readonly hideSelectionWrapper: boolean;
|
|
233
|
+
} & ("disabled" | "returnObject" | "autoSelectFirst" | "dense" | "hideSelected" | "loading" | "required" | "hideDetails" | "clearable" | "readOnly" | "chips" | "noFilter" | "hideNoData" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" | (KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : "keyAttr" : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : "textAttr" : never) extends infer T_3 extends keyof T_1 ? { readonly [K in T_3]-?: K extends "options" | "label" | "disabled" | "keyAttr" | "returnObject" | "textAttr" | "appendWidth" | "autoSelectFirst" | "dense" | "hideSelected" | "itemHeight" | "prependWidth" | "variant" | "loading" | "errorMessages" | "successMessages" | "hint" | "required" | "hideDetails" | "placeholder" | "clearable" | "readOnly" | "menuOptions" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" ? {
|
|
222
234
|
options: () => never[];
|
|
223
235
|
disabled: false;
|
|
224
236
|
loading: false;
|
|
@@ -248,6 +260,8 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
248
260
|
customValue: false;
|
|
249
261
|
hideCustomValue: false;
|
|
250
262
|
required: false;
|
|
263
|
+
hideSearchInput: false;
|
|
264
|
+
hideSelectionWrapper: false;
|
|
251
265
|
}[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"], (Readonly<{
|
|
252
266
|
labelClass: string;
|
|
253
267
|
menuClass: string;
|
|
@@ -283,7 +297,9 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
283
297
|
readonly customValue: boolean;
|
|
284
298
|
readonly hideCustomValue: boolean;
|
|
285
299
|
readonly required: boolean;
|
|
286
|
-
|
|
300
|
+
readonly hideSearchInput: boolean;
|
|
301
|
+
readonly hideSelectionWrapper: boolean;
|
|
302
|
+
} & ("disabled" | "returnObject" | "autoSelectFirst" | "dense" | "hideSelected" | "loading" | "required" | "hideDetails" | "clearable" | "readOnly" | "chips" | "noFilter" | "hideNoData" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" | (KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : "keyAttr" : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : "textAttr" : never) extends infer T_4 extends keyof T_1 ? { readonly [K in T_4]-?: K extends "options" | "label" | "disabled" | "keyAttr" | "returnObject" | "textAttr" | "appendWidth" | "autoSelectFirst" | "dense" | "hideSelected" | "itemHeight" | "prependWidth" | "variant" | "loading" | "errorMessages" | "successMessages" | "hint" | "required" | "hideDetails" | "placeholder" | "clearable" | "readOnly" | "menuOptions" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" ? {
|
|
287
303
|
options: () => never[];
|
|
288
304
|
disabled: false;
|
|
289
305
|
loading: false;
|
|
@@ -313,6 +329,8 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
313
329
|
customValue: false;
|
|
314
330
|
hideCustomValue: false;
|
|
315
331
|
required: false;
|
|
332
|
+
hideSearchInput: false;
|
|
333
|
+
hideSelectionWrapper: false;
|
|
316
334
|
}[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]>>;
|
|
317
335
|
value: TItem[];
|
|
318
336
|
variant: "default" | "outlined" | "filled";
|
|
@@ -390,7 +408,9 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
390
408
|
readonly customValue: boolean;
|
|
391
409
|
readonly hideCustomValue: boolean;
|
|
392
410
|
readonly required: boolean;
|
|
393
|
-
|
|
411
|
+
readonly hideSearchInput: boolean;
|
|
412
|
+
readonly hideSelectionWrapper: boolean;
|
|
413
|
+
} & ("disabled" | "returnObject" | "autoSelectFirst" | "dense" | "hideSelected" | "loading" | "required" | "hideDetails" | "clearable" | "readOnly" | "chips" | "noFilter" | "hideNoData" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" | (KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : "keyAttr" : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : "textAttr" : never) extends infer T extends keyof T_1 ? { readonly [K in T]-?: K extends "options" | "label" | "disabled" | "keyAttr" | "returnObject" | "textAttr" | "appendWidth" | "autoSelectFirst" | "dense" | "hideSelected" | "itemHeight" | "prependWidth" | "variant" | "loading" | "errorMessages" | "successMessages" | "hint" | "required" | "hideDetails" | "placeholder" | "clearable" | "readOnly" | "menuOptions" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" ? {
|
|
394
414
|
options: () => never[];
|
|
395
415
|
disabled: false;
|
|
396
416
|
loading: false;
|
|
@@ -420,6 +440,8 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
420
440
|
customValue: false;
|
|
421
441
|
hideCustomValue: false;
|
|
422
442
|
required: false;
|
|
443
|
+
hideSearchInput: false;
|
|
444
|
+
hideSelectionWrapper: false;
|
|
423
445
|
}[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]] extends [globalThis.Ref<any, any>] ? (Readonly<{
|
|
424
446
|
labelClass: string;
|
|
425
447
|
menuClass: string;
|
|
@@ -455,7 +477,9 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
455
477
|
readonly customValue: boolean;
|
|
456
478
|
readonly hideCustomValue: boolean;
|
|
457
479
|
readonly required: boolean;
|
|
458
|
-
|
|
480
|
+
readonly hideSearchInput: boolean;
|
|
481
|
+
readonly hideSelectionWrapper: boolean;
|
|
482
|
+
} & ("disabled" | "returnObject" | "autoSelectFirst" | "dense" | "hideSelected" | "loading" | "required" | "hideDetails" | "clearable" | "readOnly" | "chips" | "noFilter" | "hideNoData" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" | (KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : "keyAttr" : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : "textAttr" : never) extends infer T_2 extends keyof T_1 ? { readonly [K in T_2]-?: K extends "options" | "label" | "disabled" | "keyAttr" | "returnObject" | "textAttr" | "appendWidth" | "autoSelectFirst" | "dense" | "hideSelected" | "itemHeight" | "prependWidth" | "variant" | "loading" | "errorMessages" | "successMessages" | "hint" | "required" | "hideDetails" | "placeholder" | "clearable" | "readOnly" | "menuOptions" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" ? {
|
|
459
483
|
options: () => never[];
|
|
460
484
|
disabled: false;
|
|
461
485
|
loading: false;
|
|
@@ -485,6 +509,8 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
485
509
|
customValue: false;
|
|
486
510
|
hideCustomValue: false;
|
|
487
511
|
required: false;
|
|
512
|
+
hideSearchInput: false;
|
|
513
|
+
hideSelectionWrapper: false;
|
|
488
514
|
}[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"] : globalThis.Ref<(Readonly<{
|
|
489
515
|
labelClass: string;
|
|
490
516
|
menuClass: string;
|
|
@@ -520,7 +546,9 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
520
546
|
readonly customValue: boolean;
|
|
521
547
|
readonly hideCustomValue: boolean;
|
|
522
548
|
readonly required: boolean;
|
|
523
|
-
|
|
549
|
+
readonly hideSearchInput: boolean;
|
|
550
|
+
readonly hideSelectionWrapper: boolean;
|
|
551
|
+
} & ("disabled" | "returnObject" | "autoSelectFirst" | "dense" | "hideSelected" | "loading" | "required" | "hideDetails" | "clearable" | "readOnly" | "chips" | "noFilter" | "hideNoData" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" | (KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : "keyAttr" : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : "textAttr" : never) extends infer T_3 extends keyof T_1 ? { readonly [K in T_3]-?: K extends "options" | "label" | "disabled" | "keyAttr" | "returnObject" | "textAttr" | "appendWidth" | "autoSelectFirst" | "dense" | "hideSelected" | "itemHeight" | "prependWidth" | "variant" | "loading" | "errorMessages" | "successMessages" | "hint" | "required" | "hideDetails" | "placeholder" | "clearable" | "readOnly" | "menuOptions" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" ? {
|
|
524
552
|
options: () => never[];
|
|
525
553
|
disabled: false;
|
|
526
554
|
loading: false;
|
|
@@ -550,6 +578,8 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
550
578
|
customValue: false;
|
|
551
579
|
hideCustomValue: false;
|
|
552
580
|
required: false;
|
|
581
|
+
hideSearchInput: false;
|
|
582
|
+
hideSelectionWrapper: false;
|
|
553
583
|
}[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"], (Readonly<{
|
|
554
584
|
labelClass: string;
|
|
555
585
|
menuClass: string;
|
|
@@ -585,7 +615,9 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
585
615
|
readonly customValue: boolean;
|
|
586
616
|
readonly hideCustomValue: boolean;
|
|
587
617
|
readonly required: boolean;
|
|
588
|
-
|
|
618
|
+
readonly hideSearchInput: boolean;
|
|
619
|
+
readonly hideSelectionWrapper: boolean;
|
|
620
|
+
} & ("disabled" | "returnObject" | "autoSelectFirst" | "dense" | "hideSelected" | "loading" | "required" | "hideDetails" | "clearable" | "readOnly" | "chips" | "noFilter" | "hideNoData" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" | (KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : "keyAttr" : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : "textAttr" : never) extends infer T_4 extends keyof T_1 ? { readonly [K in T_4]-?: K extends "options" | "label" | "disabled" | "keyAttr" | "returnObject" | "textAttr" | "appendWidth" | "autoSelectFirst" | "dense" | "hideSelected" | "itemHeight" | "prependWidth" | "variant" | "loading" | "errorMessages" | "successMessages" | "hint" | "required" | "hideDetails" | "placeholder" | "clearable" | "readOnly" | "menuOptions" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" ? {
|
|
589
621
|
options: () => never[];
|
|
590
622
|
disabled: false;
|
|
591
623
|
loading: false;
|
|
@@ -615,6 +647,8 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
615
647
|
customValue: false;
|
|
616
648
|
hideCustomValue: false;
|
|
617
649
|
required: false;
|
|
650
|
+
hideSearchInput: false;
|
|
651
|
+
hideSelectionWrapper: false;
|
|
618
652
|
}[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]>>;
|
|
619
653
|
item: TItem;
|
|
620
654
|
active: boolean;
|
|
@@ -656,7 +690,9 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
656
690
|
readonly customValue: boolean;
|
|
657
691
|
readonly hideCustomValue: boolean;
|
|
658
692
|
readonly required: boolean;
|
|
659
|
-
|
|
693
|
+
readonly hideSearchInput: boolean;
|
|
694
|
+
readonly hideSelectionWrapper: boolean;
|
|
695
|
+
} & ("disabled" | "returnObject" | "autoSelectFirst" | "dense" | "hideSelected" | "loading" | "required" | "hideDetails" | "clearable" | "readOnly" | "chips" | "noFilter" | "hideNoData" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" | (KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : "keyAttr" : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : "textAttr" : never) extends infer T extends keyof T_1 ? { readonly [K in T]-?: K extends "options" | "label" | "disabled" | "keyAttr" | "returnObject" | "textAttr" | "appendWidth" | "autoSelectFirst" | "dense" | "hideSelected" | "itemHeight" | "prependWidth" | "variant" | "loading" | "errorMessages" | "successMessages" | "hint" | "required" | "hideDetails" | "placeholder" | "clearable" | "readOnly" | "menuOptions" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" ? {
|
|
660
696
|
options: () => never[];
|
|
661
697
|
disabled: false;
|
|
662
698
|
loading: false;
|
|
@@ -686,6 +722,8 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
686
722
|
customValue: false;
|
|
687
723
|
hideCustomValue: false;
|
|
688
724
|
required: false;
|
|
725
|
+
hideSearchInput: false;
|
|
726
|
+
hideSelectionWrapper: false;
|
|
689
727
|
}[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]] extends [globalThis.Ref<any, any>] ? (Readonly<{
|
|
690
728
|
labelClass: string;
|
|
691
729
|
menuClass: string;
|
|
@@ -721,7 +759,9 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
721
759
|
readonly customValue: boolean;
|
|
722
760
|
readonly hideCustomValue: boolean;
|
|
723
761
|
readonly required: boolean;
|
|
724
|
-
|
|
762
|
+
readonly hideSearchInput: boolean;
|
|
763
|
+
readonly hideSelectionWrapper: boolean;
|
|
764
|
+
} & ("disabled" | "returnObject" | "autoSelectFirst" | "dense" | "hideSelected" | "loading" | "required" | "hideDetails" | "clearable" | "readOnly" | "chips" | "noFilter" | "hideNoData" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" | (KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : "keyAttr" : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : "textAttr" : never) extends infer T_2 extends keyof T_1 ? { readonly [K in T_2]-?: K extends "options" | "label" | "disabled" | "keyAttr" | "returnObject" | "textAttr" | "appendWidth" | "autoSelectFirst" | "dense" | "hideSelected" | "itemHeight" | "prependWidth" | "variant" | "loading" | "errorMessages" | "successMessages" | "hint" | "required" | "hideDetails" | "placeholder" | "clearable" | "readOnly" | "menuOptions" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" ? {
|
|
725
765
|
options: () => never[];
|
|
726
766
|
disabled: false;
|
|
727
767
|
loading: false;
|
|
@@ -751,6 +791,8 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
751
791
|
customValue: false;
|
|
752
792
|
hideCustomValue: false;
|
|
753
793
|
required: false;
|
|
794
|
+
hideSearchInput: false;
|
|
795
|
+
hideSelectionWrapper: false;
|
|
754
796
|
}[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"] : globalThis.Ref<(Readonly<{
|
|
755
797
|
labelClass: string;
|
|
756
798
|
menuClass: string;
|
|
@@ -786,7 +828,9 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
786
828
|
readonly customValue: boolean;
|
|
787
829
|
readonly hideCustomValue: boolean;
|
|
788
830
|
readonly required: boolean;
|
|
789
|
-
|
|
831
|
+
readonly hideSearchInput: boolean;
|
|
832
|
+
readonly hideSelectionWrapper: boolean;
|
|
833
|
+
} & ("disabled" | "returnObject" | "autoSelectFirst" | "dense" | "hideSelected" | "loading" | "required" | "hideDetails" | "clearable" | "readOnly" | "chips" | "noFilter" | "hideNoData" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" | (KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : "keyAttr" : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : "textAttr" : never) extends infer T_3 extends keyof T_1 ? { readonly [K in T_3]-?: K extends "options" | "label" | "disabled" | "keyAttr" | "returnObject" | "textAttr" | "appendWidth" | "autoSelectFirst" | "dense" | "hideSelected" | "itemHeight" | "prependWidth" | "variant" | "loading" | "errorMessages" | "successMessages" | "hint" | "required" | "hideDetails" | "placeholder" | "clearable" | "readOnly" | "menuOptions" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" ? {
|
|
790
834
|
options: () => never[];
|
|
791
835
|
disabled: false;
|
|
792
836
|
loading: false;
|
|
@@ -816,6 +860,8 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
816
860
|
customValue: false;
|
|
817
861
|
hideCustomValue: false;
|
|
818
862
|
required: false;
|
|
863
|
+
hideSearchInput: false;
|
|
864
|
+
hideSelectionWrapper: false;
|
|
819
865
|
}[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"], (Readonly<{
|
|
820
866
|
labelClass: string;
|
|
821
867
|
menuClass: string;
|
|
@@ -851,7 +897,9 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
851
897
|
readonly customValue: boolean;
|
|
852
898
|
readonly hideCustomValue: boolean;
|
|
853
899
|
readonly required: boolean;
|
|
854
|
-
|
|
900
|
+
readonly hideSearchInput: boolean;
|
|
901
|
+
readonly hideSelectionWrapper: boolean;
|
|
902
|
+
} & ("disabled" | "returnObject" | "autoSelectFirst" | "dense" | "hideSelected" | "loading" | "required" | "hideDetails" | "clearable" | "readOnly" | "chips" | "noFilter" | "hideNoData" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" | (KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : "keyAttr" : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : "textAttr" : never) extends infer T_4 extends keyof T_1 ? { readonly [K in T_4]-?: K extends "options" | "label" | "disabled" | "keyAttr" | "returnObject" | "textAttr" | "appendWidth" | "autoSelectFirst" | "dense" | "hideSelected" | "itemHeight" | "prependWidth" | "variant" | "loading" | "errorMessages" | "successMessages" | "hint" | "required" | "hideDetails" | "placeholder" | "clearable" | "readOnly" | "menuOptions" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" ? {
|
|
855
903
|
options: () => never[];
|
|
856
904
|
disabled: false;
|
|
857
905
|
loading: false;
|
|
@@ -881,6 +929,8 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
881
929
|
customValue: false;
|
|
882
930
|
hideCustomValue: false;
|
|
883
931
|
required: false;
|
|
932
|
+
hideSearchInput: false;
|
|
933
|
+
hideSelectionWrapper: false;
|
|
884
934
|
}[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]>>;
|
|
885
935
|
item: TItem;
|
|
886
936
|
active: boolean;
|
|
@@ -922,7 +972,9 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
922
972
|
readonly customValue: boolean;
|
|
923
973
|
readonly hideCustomValue: boolean;
|
|
924
974
|
readonly required: boolean;
|
|
925
|
-
|
|
975
|
+
readonly hideSearchInput: boolean;
|
|
976
|
+
readonly hideSelectionWrapper: boolean;
|
|
977
|
+
} & ("disabled" | "returnObject" | "autoSelectFirst" | "dense" | "hideSelected" | "loading" | "required" | "hideDetails" | "clearable" | "readOnly" | "chips" | "noFilter" | "hideNoData" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" | (KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : "keyAttr" : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : "textAttr" : never) extends infer T extends keyof T_1 ? { readonly [K in T]-?: K extends "options" | "label" | "disabled" | "keyAttr" | "returnObject" | "textAttr" | "appendWidth" | "autoSelectFirst" | "dense" | "hideSelected" | "itemHeight" | "prependWidth" | "variant" | "loading" | "errorMessages" | "successMessages" | "hint" | "required" | "hideDetails" | "placeholder" | "clearable" | "readOnly" | "menuOptions" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" ? {
|
|
926
978
|
options: () => never[];
|
|
927
979
|
disabled: false;
|
|
928
980
|
loading: false;
|
|
@@ -952,6 +1004,8 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
952
1004
|
customValue: false;
|
|
953
1005
|
hideCustomValue: false;
|
|
954
1006
|
required: false;
|
|
1007
|
+
hideSearchInput: false;
|
|
1008
|
+
hideSelectionWrapper: false;
|
|
955
1009
|
}[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]] extends [globalThis.Ref<any, any>] ? (Readonly<{
|
|
956
1010
|
labelClass: string;
|
|
957
1011
|
menuClass: string;
|
|
@@ -987,7 +1041,9 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
987
1041
|
readonly customValue: boolean;
|
|
988
1042
|
readonly hideCustomValue: boolean;
|
|
989
1043
|
readonly required: boolean;
|
|
990
|
-
|
|
1044
|
+
readonly hideSearchInput: boolean;
|
|
1045
|
+
readonly hideSelectionWrapper: boolean;
|
|
1046
|
+
} & ("disabled" | "returnObject" | "autoSelectFirst" | "dense" | "hideSelected" | "loading" | "required" | "hideDetails" | "clearable" | "readOnly" | "chips" | "noFilter" | "hideNoData" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" | (KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : "keyAttr" : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : "textAttr" : never) extends infer T_2 extends keyof T_1 ? { readonly [K in T_2]-?: K extends "options" | "label" | "disabled" | "keyAttr" | "returnObject" | "textAttr" | "appendWidth" | "autoSelectFirst" | "dense" | "hideSelected" | "itemHeight" | "prependWidth" | "variant" | "loading" | "errorMessages" | "successMessages" | "hint" | "required" | "hideDetails" | "placeholder" | "clearable" | "readOnly" | "menuOptions" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" ? {
|
|
991
1047
|
options: () => never[];
|
|
992
1048
|
disabled: false;
|
|
993
1049
|
loading: false;
|
|
@@ -1017,6 +1073,8 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
1017
1073
|
customValue: false;
|
|
1018
1074
|
hideCustomValue: false;
|
|
1019
1075
|
required: false;
|
|
1076
|
+
hideSearchInput: false;
|
|
1077
|
+
hideSelectionWrapper: false;
|
|
1020
1078
|
}[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"] : globalThis.Ref<(Readonly<{
|
|
1021
1079
|
labelClass: string;
|
|
1022
1080
|
menuClass: string;
|
|
@@ -1052,7 +1110,9 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
1052
1110
|
readonly customValue: boolean;
|
|
1053
1111
|
readonly hideCustomValue: boolean;
|
|
1054
1112
|
readonly required: boolean;
|
|
1055
|
-
|
|
1113
|
+
readonly hideSearchInput: boolean;
|
|
1114
|
+
readonly hideSelectionWrapper: boolean;
|
|
1115
|
+
} & ("disabled" | "returnObject" | "autoSelectFirst" | "dense" | "hideSelected" | "loading" | "required" | "hideDetails" | "clearable" | "readOnly" | "chips" | "noFilter" | "hideNoData" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" | (KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : "keyAttr" : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : "textAttr" : never) extends infer T_3 extends keyof T_1 ? { readonly [K in T_3]-?: K extends "options" | "label" | "disabled" | "keyAttr" | "returnObject" | "textAttr" | "appendWidth" | "autoSelectFirst" | "dense" | "hideSelected" | "itemHeight" | "prependWidth" | "variant" | "loading" | "errorMessages" | "successMessages" | "hint" | "required" | "hideDetails" | "placeholder" | "clearable" | "readOnly" | "menuOptions" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" ? {
|
|
1056
1116
|
options: () => never[];
|
|
1057
1117
|
disabled: false;
|
|
1058
1118
|
loading: false;
|
|
@@ -1082,6 +1142,8 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
1082
1142
|
customValue: false;
|
|
1083
1143
|
hideCustomValue: false;
|
|
1084
1144
|
required: false;
|
|
1145
|
+
hideSearchInput: false;
|
|
1146
|
+
hideSelectionWrapper: false;
|
|
1085
1147
|
}[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"], (Readonly<{
|
|
1086
1148
|
labelClass: string;
|
|
1087
1149
|
menuClass: string;
|
|
@@ -1117,7 +1179,9 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
1117
1179
|
readonly customValue: boolean;
|
|
1118
1180
|
readonly hideCustomValue: boolean;
|
|
1119
1181
|
readonly required: boolean;
|
|
1120
|
-
|
|
1182
|
+
readonly hideSearchInput: boolean;
|
|
1183
|
+
readonly hideSelectionWrapper: boolean;
|
|
1184
|
+
} & ("disabled" | "returnObject" | "autoSelectFirst" | "dense" | "hideSelected" | "loading" | "required" | "hideDetails" | "clearable" | "readOnly" | "chips" | "noFilter" | "hideNoData" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" | (KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : "keyAttr" : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : "textAttr" : never) extends infer T_4 extends keyof T_1 ? { readonly [K in T_4]-?: K extends "options" | "label" | "disabled" | "keyAttr" | "returnObject" | "textAttr" | "appendWidth" | "autoSelectFirst" | "dense" | "hideSelected" | "itemHeight" | "prependWidth" | "variant" | "loading" | "errorMessages" | "successMessages" | "hint" | "required" | "hideDetails" | "placeholder" | "clearable" | "readOnly" | "menuOptions" | "chips" | "noFilter" | "hideNoData" | "noDataText" | "customValue" | "hideCustomValue" | "hideSearchInput" | "hideSelectionWrapper" ? {
|
|
1121
1185
|
options: () => never[];
|
|
1122
1186
|
disabled: false;
|
|
1123
1187
|
loading: false;
|
|
@@ -1147,6 +1211,8 @@ declare const __VLS_export: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typ
|
|
|
1147
1211
|
customValue: false;
|
|
1148
1212
|
hideCustomValue: false;
|
|
1149
1213
|
required: false;
|
|
1214
|
+
hideSearchInput: false;
|
|
1215
|
+
hideSelectionWrapper: false;
|
|
1150
1216
|
}[K] extends undefined ? boolean | undefined : boolean : boolean; } : never))["disabled"]>>;
|
|
1151
1217
|
item: TItem;
|
|
1152
1218
|
active: boolean;
|
|
@@ -20,12 +20,8 @@ const _hoisted_2 = {
|
|
|
20
20
|
class: "text-rui-error"
|
|
21
21
|
};
|
|
22
22
|
const _hoisted_3 = { class: "flex" };
|
|
23
|
-
const _hoisted_4 =
|
|
24
|
-
|
|
25
|
-
class: "flex"
|
|
26
|
-
};
|
|
27
|
-
const _hoisted_5 = ["disabled", "value", "placeholder", "aria-invalid"];
|
|
28
|
-
const _hoisted_6 = {
|
|
23
|
+
const _hoisted_4 = ["disabled", "value", "placeholder", "aria-invalid"];
|
|
24
|
+
const _hoisted_5 = {
|
|
29
25
|
key: 0,
|
|
30
26
|
class: "p-4"
|
|
31
27
|
};
|
|
@@ -68,7 +64,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
68
64
|
returnObject: { type: Boolean, default: false },
|
|
69
65
|
customValue: { type: Boolean, default: false },
|
|
70
66
|
hideCustomValue: { type: Boolean, default: false },
|
|
71
|
-
required: { type: Boolean, default: false }
|
|
67
|
+
required: { type: Boolean, default: false },
|
|
68
|
+
hideSearchInput: { type: Boolean, default: false },
|
|
69
|
+
hideSelectionWrapper: { type: Boolean, default: false }
|
|
72
70
|
}, {
|
|
73
71
|
"modelValue": { required: true },
|
|
74
72
|
"modelModifiers": {},
|
|
@@ -78,7 +76,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
78
76
|
emits: ["update:modelValue", "update:searchInput"],
|
|
79
77
|
setup(__props, { expose: __expose }) {
|
|
80
78
|
useCssVars((_ctx) => ({
|
|
81
|
-
"
|
|
79
|
+
"v12e602de": unref(labelWithQuote)
|
|
82
80
|
}));
|
|
83
81
|
const modelValue = useModel(__props, "modelValue");
|
|
84
82
|
const searchInputModel = useModel(__props, "searchInput");
|
|
@@ -225,6 +223,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
225
223
|
const asterisk = props.required ? "﹡" : "";
|
|
226
224
|
return `' ${props.label}${asterisk} '`;
|
|
227
225
|
});
|
|
226
|
+
const usedPlaceholder = computed(() => {
|
|
227
|
+
if (get(searchInputFocused)) {
|
|
228
|
+
return props.placeholder;
|
|
229
|
+
}
|
|
230
|
+
return "";
|
|
231
|
+
});
|
|
228
232
|
const menuMinHeight = ref(0);
|
|
229
233
|
watch(renderedData, async () => {
|
|
230
234
|
await nextTick();
|
|
@@ -445,7 +449,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
445
449
|
])
|
|
446
450
|
]),
|
|
447
451
|
_: 2
|
|
448
|
-
}, 1040, ["size", "class"])) : unref(multiple) || !unref(searchInputFocused) && (unref(slots)["selection.prepend"] || unref(slots).selection) ? (openBlock(), createElementBlock("div",
|
|
452
|
+
}, 1040, ["size", "class"])) : unref(multiple) || !unref(searchInputFocused) && (unref(slots)["selection.prepend"] || unref(slots).selection) ? (openBlock(), createElementBlock("div", {
|
|
453
|
+
key: 1,
|
|
454
|
+
class: normalizeClass(__props.hideSelectionWrapper ? "contents" : "flex")
|
|
455
|
+
}, [
|
|
449
456
|
renderSlot(_ctx.$slots, "selection.prepend", mergeProps({ index: i }, { ref_for: true }, { item })),
|
|
450
457
|
unref(multiple) || unref(slots).selection ? renderSlot(_ctx.$slots, "selection", mergeProps({
|
|
451
458
|
key: 0,
|
|
@@ -453,7 +460,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
453
460
|
}, { ref_for: true }, { item, chipAttrs: chipAttrs(item, i) }), () => [
|
|
454
461
|
createTextVNode(toDisplayString(unref(getText)(item)), 1)
|
|
455
462
|
]) : createCommentVNode("", true)
|
|
456
|
-
])) : createCommentVNode("", true)
|
|
463
|
+
], 2)) : createCommentVNode("", true)
|
|
457
464
|
], 64);
|
|
458
465
|
}), 128)),
|
|
459
466
|
createElementVNode("input", {
|
|
@@ -461,14 +468,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
461
468
|
ref: textInput,
|
|
462
469
|
disabled: unref(disabled),
|
|
463
470
|
value: unref(internalSearch),
|
|
464
|
-
class: normalizeClass(["bg-transparent outline-none", unref(focusInputClass)]),
|
|
471
|
+
class: normalizeClass(["bg-transparent outline-none", [unref(focusInputClass), { hidden: __props.hideSearchInput }]]),
|
|
465
472
|
type: "text",
|
|
466
|
-
placeholder:
|
|
473
|
+
placeholder: unref(usedPlaceholder),
|
|
467
474
|
"aria-invalid": hasError,
|
|
468
475
|
onKeydown: _cache[0] || (_cache[0] = withKeys(($event) => unref(onInputDeletePressed)(), ["delete"])),
|
|
469
476
|
onInput: _cache[1] || (_cache[1] = withModifiers(($event) => updateSearchInput($event), ["stop"])),
|
|
470
477
|
onFocus: _cache[2] || (_cache[2] = ($event) => unref(focusOnInputFocused)())
|
|
471
|
-
}, null, 42,
|
|
478
|
+
}, null, 42, _hoisted_4)
|
|
472
479
|
], 2),
|
|
473
480
|
__props.clearable && unref(valueSet) && !unref(disabled) ? (openBlock(), createBlock(RuiButton, {
|
|
474
481
|
key: 1,
|
|
@@ -578,7 +585,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
578
585
|
class: normalizeClass(__props.menuClass)
|
|
579
586
|
}, [
|
|
580
587
|
renderSlot(_ctx.$slots, "no-data", {}, () => [
|
|
581
|
-
!__props.customValue ? (openBlock(), createElementBlock("div",
|
|
588
|
+
!__props.customValue ? (openBlock(), createElementBlock("div", _hoisted_5, toDisplayString(__props.noDataText), 1)) : createCommentVNode("", true)
|
|
582
589
|
])
|
|
583
590
|
], 6)) : createCommentVNode("", true)
|
|
584
591
|
], 512)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RuiAutoComplete.vue2.js","sources":["../../../../src/components/forms/auto-complete/RuiAutoComplete.vue"],"sourcesContent":["<script lang=\"ts\" setup generic='TValue, TItem'>\nimport type { ComponentPublicInstance, ComputedRef } from 'vue';\nimport { syncRef } from '@vueuse/core';\nimport { logicAnd, logicOr } from '@vueuse/math';\nimport RuiButton from '@/components/buttons/button/RuiButton.vue';\nimport RuiChip from '@/components/chips/RuiChip.vue';\nimport RuiIcon from '@/components/icons/RuiIcon.vue';\nimport RuiMenu, { type MenuProps } from '@/components/overlays/menu/RuiMenu.vue';\nimport RuiProgress from '@/components/progress/RuiProgress.vue';\nimport { type KeyOfType, useDropdownMenu, useDropdownOptionProperty } from '@/composables/dropdown-menu';\nimport { useAutoCompleteFocus, useAutoCompleteKeyboardNavigation, useAutoCompleteSearch, useAutoCompleteValue } from '@/composables/forms/auto-complete';\nimport { getTextToken } from '@/utils/helpers';\nimport { isEqual } from '@/utils/is-equal';\n\nexport type AutoCompleteModelValue<TValue> = TValue extends Array<infer U> ? U[] : TValue | undefined;\n\nexport interface AutoCompleteProps<TValue, TItem> {\n options?: TItem[];\n keyAttr?: KeyOfType<TItem, TValue extends Array<infer U> ? U : TValue>;\n textAttr?: keyof TItem;\n disabled?: boolean;\n loading?: boolean;\n readOnly?: boolean;\n dense?: boolean;\n clearable?: boolean;\n label?: string;\n menuOptions?: MenuProps;\n labelClass?: string;\n menuClass?: string;\n itemClass?: string;\n prependWidth?: number; // in rem\n appendWidth?: number; // in rem\n itemHeight?: number; // in px\n variant?: 'default' | 'filled' | 'outlined';\n hint?: string;\n errorMessages?: string | string[];\n successMessages?: string | string[];\n hideDetails?: boolean;\n autoSelectFirst?: boolean;\n chips?: boolean;\n noFilter?: boolean;\n hideNoData?: boolean;\n noDataText?: string;\n filter?: (item: TItem, queryText: string) => boolean;\n hideSelected?: boolean;\n placeholder?: string;\n returnObject?: boolean;\n customValue?: boolean;\n hideCustomValue?: boolean;\n required?: boolean;\n}\n\ndefineOptions({\n name: 'RuiAutoComplete',\n inheritAttrs: false,\n});\n\nconst modelValue = defineModel<AutoCompleteModelValue<TValue>>({ required: true });\n\nconst searchInputModel = defineModel<string>('searchInput', { default: '' });\n\nconst props = withDefaults(defineProps<AutoCompleteProps<TValue, TItem>>(), {\n options: () => [],\n disabled: false,\n loading: false,\n readOnly: false,\n dense: false,\n clearable: false,\n hideDetails: false,\n chips: false,\n label: 'Select',\n menuOptions: undefined,\n prependWidth: 0,\n appendWidth: 0,\n variant: 'default',\n hint: undefined,\n keyAttr: undefined,\n textAttr: undefined,\n itemHeight: undefined,\n errorMessages: () => [],\n successMessages: () => [],\n autoSelectFirst: false,\n noFilter: false,\n hideNoData: false,\n noDataText: 'No data available',\n hideSelected: false,\n placeholder: '',\n returnObject: false,\n customValue: false,\n hideCustomValue: false,\n required: false,\n});\n\nconst slots = useSlots();\n\nconst { dense, disabled, options } = toRefs(props);\n\nconst { getText, getIdentifier } = useDropdownOptionProperty<TValue, TItem>({\n keyAttr: props.keyAttr,\n textAttr: props.textAttr,\n});\n\nconst textInput = ref();\nconst activator = ref();\nconst menuRef = ref();\nconst menuWrapperRef = ref();\n\nconst { focused: activatorFocusedWithin } = useFocusWithin(activator);\nconst { focused: menuWrapperFocusedWithin } = useFocusWithin(menuWrapperRef);\nconst { focused: searchInputFocused } = useFocus(textInput);\nconst { focused: activatorFocused } = useFocus(activator);\n\nconst renderedOptions = ref<ComponentPublicInstance[]>([]);\n\nconst {\n internalSearch,\n filteredOptions,\n justOpened,\n updateInternalSearch,\n textValueToProperValue,\n} = useAutoCompleteSearch<TItem>(\n options,\n searchInputModel,\n {\n keyAttr: toRef(props, 'keyAttr'),\n textAttr: toRef(props, 'textAttr'),\n noFilter: toRef(props, 'noFilter'),\n filter: toRef(props, 'filter'),\n customValue: toRef(props, 'customValue'),\n hideCustomValue: toRef(props, 'hideCustomValue'),\n returnObject: toRef(props, 'returnObject'),\n },\n);\n\n// Calculate multiple from modelValue directly to avoid circular dependency\nconst multiple = computed<boolean>(() => Array.isArray(get(modelValue)));\n\nconst shouldApplyValueAsSearch = computed<boolean>(() => !(slots.selection || get(multiple) || props.chips));\n\n// Create a temporary isOpen ref that we'll sync with useDropdownMenu's isOpen\nconst tempIsOpen = ref<boolean>(false);\n\nconst {\n value,\n setSelected,\n} = useAutoCompleteValue<AutoCompleteModelValue<TValue>, TItem>(\n modelValue,\n options,\n {\n keyAttr: toRef(props, 'keyAttr'),\n returnObject: toRef(props, 'returnObject'),\n customValue: toRef(props, 'customValue'),\n },\n {\n getIdentifier,\n getText,\n textValueToProperValue,\n shouldApplyValueAsSearch,\n isOpen: tempIsOpen,\n updateInternalSearch,\n },\n);\n\nconst {\n containerProps,\n wrapperProps,\n renderedData,\n isOpen,\n menuWidth,\n isActiveItem,\n itemIndexInValue,\n highlightedIndex,\n moveHighlight,\n applyHighlighted,\n optionsWithSelectedHidden,\n} = useDropdownMenu<TValue, TItem>({\n itemHeight: props.itemHeight ?? (props.dense ? 30 : 48),\n keyAttr: props.keyAttr,\n textAttr: props.textAttr,\n options: filteredOptions,\n dense,\n value,\n menuRef,\n setValue,\n autoSelectFirst: props.autoSelectFirst,\n hideSelected: props.hideSelected,\n});\n\n// Sync the isOpen states\nsyncRef(isOpen, tempIsOpen);\n\nconst {\n focusedValueIndex,\n moveSelectedValueHighlight,\n onEnter,\n onInputDeletePressed,\n onTab,\n setValueFocus,\n} = useAutoCompleteKeyboardNavigation<TItem>(\n {\n customValue: toRef(props, 'customValue'),\n multiple,\n },\n {\n activator,\n applyHighlighted,\n clear,\n filteredOptions,\n highlightedIndex,\n internalSearch,\n isOpen,\n options,\n searchInputFocused,\n setSearchAsValue,\n value,\n },\n);\n\nconst {\n anyFocused: focusAnyFocused,\n inputClass: focusInputClass,\n onActivatorFocused: focusOnActivatorFocused,\n onInputFocused: focusOnInputFocused,\n setInputFocus: focusSetInputFocus,\n} = useAutoCompleteFocus<TItem>(\n {\n customValue: toRef(props, 'customValue'),\n disabled,\n shouldApplyValueAsSearch,\n },\n {\n activatorFocused,\n activatorFocusedWithin,\n filteredOptions,\n focusedValueIndex,\n internalSearch,\n isOpen,\n justOpened,\n menuWrapperFocusedWithin,\n searchInputFocused,\n setSearchAsValue,\n textInput,\n updateInternalSearch,\n },\n);\n\nconst valueSet = computed<boolean>(() => get(value).length > 0);\n\nconst labelWithQuote = computed<string>(() => {\n if (!props.label)\n return '\"\\\\200B\"';\n\n const asterisk = props.required ? '﹡' : '';\n return `' ${props.label}${asterisk} '`;\n});\n\nconst menuMinHeight = ref<number>(0);\n\n// Update menu min height only when rendered data changes\nwatch(renderedData, async () => {\n await nextTick();\n const renderedOptionsData = get(renderedOptions).slice(0, Math.min(5, get(renderedData).length));\n let height = 0;\n for (const item of renderedOptionsData) {\n if (item.$el) {\n height += item.$el.offsetHeight;\n }\n }\n set(menuMinHeight, height);\n}, { immediate: true });\n\nconst outlined = computed<boolean>(() => props.variant === 'outlined');\n\nconst float: ComputedRef<boolean> = logicAnd(\n logicOr(\n isOpen,\n valueSet,\n searchInputFocused,\n ),\n outlined,\n);\n\nconst virtualContainerProps = computed(() => ({\n style: containerProps.style as any,\n ref: containerProps.ref as any,\n}));\n\nfunction updateSearchInput(event: any) {\n const value = event.target.value;\n set(isOpen, true);\n updateInternalSearch(value);\n set(justOpened, false);\n}\n\nasync function setValue(val: TItem, index?: number, skipRefocused = false): Promise<void> {\n if (isDefined(index))\n set(highlightedIndex, index);\n\n const isMultiple = get(multiple);\n\n if (isMultiple) {\n const newValue = [...get(value)];\n const indexInValue = itemIndexInValue(val);\n if (indexInValue === -1) {\n updateInternalSearch();\n newValue.push(val);\n }\n\n else { newValue.splice(indexInValue, 1); }\n set(value, newValue);\n }\n else {\n if (get(shouldApplyValueAsSearch))\n updateInternalSearch(getText(val));\n else\n updateInternalSearch();\n\n set(value, [val]);\n }\n\n if (!isMultiple) {\n if (!skipRefocused) {\n set(activatorFocused, true);\n get(activator)?.focus();\n await nextTick(() => {\n set(isOpen, false);\n });\n }\n else {\n set(isOpen, false);\n }\n }\n else if (!skipRefocused) {\n set(searchInputFocused, true);\n }\n}\n\nfunction setSearchAsValue() {\n const searchToBeValue = get(internalSearch);\n if (!searchToBeValue)\n return;\n\n const newValue: TItem = textValueToProperValue(searchToBeValue);\n setValue(newValue, undefined, true);\n}\n\nfunction clear(): void {\n updateInternalSearch();\n set(modelValue, (Array.isArray(get(modelValue)) ? [] : undefined) as AutoCompleteModelValue<TValue>);\n}\n\nfunction chipAttrs(item: TItem, index: number) {\n return {\n 'data-index': index,\n 'data-value': getIdentifier(item),\n 'onKeydown': (event: KeyboardEvent): void => {\n const { key } = event;\n if (['Backspace', 'Delete'].includes(key))\n setValue(item);\n },\n 'onClick.stop': (): void => {\n setValueFocus(index);\n },\n 'onClick:close': (): void => {\n setValue(item);\n },\n };\n}\n\nfunction setSelectionRange(start: number, end: number): void {\n set(searchInputFocused, true);\n get(textInput)?.setSelectionRange?.(start, end);\n}\n\n// Optimize options watcher with shallow comparison first\nwatch(options, (curr, old) => {\n if (curr === old || props.customValue)\n return;\n\n // Only do deep comparison if reference changed\n if (isEqual(curr, old))\n return;\n\n setSelected(get(value));\n});\n\nfunction arrowClicked(event: any): void {\n if (get(isOpen)) {\n set(isOpen, false);\n event.stopPropagation();\n }\n}\n\ndefineExpose({\n focus: focusSetInputFocus,\n setSelectionRange,\n});\n</script>\n\n<template>\n <RuiMenu\n v-model=\"isOpen\"\n :class=\"$style.wrapper\"\n disable-auto-focus\n v-bind=\"{\n ...getRootAttrs($attrs),\n placement: 'bottom-start',\n closeOnContentClick: false,\n fullWidth: true,\n persistOnActivatorClick: true,\n ...menuOptions,\n menuClass: [\n { hidden: (optionsWithSelectedHidden.length === 0 && customValue && !slots['no-data']) },\n menuOptions?.menuClass,\n ],\n errorMessages,\n successMessages,\n hint,\n dense,\n showDetails: !hideDetails,\n disabled,\n }\"\n >\n <template #activator=\"{ attrs, open, hasError, hasSuccess }\">\n <slot\n name=\"activator\"\n v-bind=\"{ disabled, value, variant, readOnly, attrs, open, hasError, hasSuccess }\"\n >\n <div\n ref=\"activator\"\n class=\"group\"\n :class=\"[\n $style.activator,\n labelClass,\n {\n [$style.disabled]: disabled,\n [$style.readonly]: readOnly,\n [$style.outlined]: outlined,\n [$style.dense]: dense,\n [$style.float]: float,\n [$style.opened]: open,\n [$style['with-value']]: valueSet,\n [$style['with-error']]: hasError,\n [$style['with-success']]: hasSuccess && !hasError,\n },\n ]\"\n v-bind=\"{\n ...getNonRootAttrs($attrs, ['onClick', 'class']),\n ...(readOnly ? {} : attrs) }\n \"\n data-id=\"activator\"\n :data-error=\"hasError ? '' : undefined\"\n :tabindex=\"disabled || readOnly ? -1 : 0\"\n @click=\"focusSetInputFocus()\"\n @focus=\"focusOnActivatorFocused()\"\n @keydown.enter=\"onEnter($event)\"\n @keydown.tab=\"onTab($event)\"\n @keydown.left=\"moveSelectedValueHighlight($event, false)\"\n @keydown.right=\"moveSelectedValueHighlight($event, true)\"\n @keydown.up.prevent=\"moveHighlight(true)\"\n @keydown.down.prevent=\"moveHighlight(false)\"\n >\n <span\n v-if=\"outlined || (!valueSet && !searchInputFocused)\"\n :class=\"[\n $style.label,\n {\n 'absolute': outlined,\n 'pr-2': !valueSet && !open && outlined,\n },\n ]\"\n >\n <slot\n name=\"activator.label\"\n v-bind=\"{ value }\"\n >\n {{ label }}\n </slot>\n <span\n v-if=\"required\"\n class=\"text-rui-error\"\n >\n ﹡\n </span>\n </span>\n <div :class=\"$style.value\">\n <template\n v-for=\"(item, i) in value\"\n :key=\"getIdentifier(item)\"\n >\n <RuiChip\n v-if=\"chips\"\n :key=\"getTextToken(getIdentifier(item))\"\n tabindex=\"-1\"\n :size=\"dense ? 'sm' : 'md'\"\n closeable\n :class=\"{ 'leading-3': dense }\"\n clickable\n v-bind=\"chipAttrs(item, i)\"\n >\n <div class=\"flex\">\n <slot\n name=\"selection.prepend\"\n :index=\"i\"\n v-bind=\"{ item }\"\n />\n <slot\n :index=\"i\"\n name=\"selection\"\n v-bind=\"{ item }\"\n >\n {{ getText(item) }}\n </slot>\n </div>\n </RuiChip>\n <div\n v-else-if=\"multiple || ((!searchInputFocused) && (slots['selection.prepend'] || slots.selection))\"\n class=\"flex\"\n >\n <slot\n name=\"selection.prepend\"\n :index=\"i\"\n v-bind=\"{ item }\"\n />\n <slot\n v-if=\"multiple || slots.selection\"\n :index=\"i\"\n name=\"selection\"\n v-bind=\"{ item, chipAttrs: chipAttrs(item, i) }\"\n >\n {{ getText(item) }}\n </slot>\n </div>\n </template>\n <input\n ref=\"textInput\"\n :disabled=\"disabled\"\n :value=\"internalSearch\"\n class=\"bg-transparent outline-none\"\n type=\"text\"\n :placeholder=\"placeholder\"\n :class=\"focusInputClass\"\n :aria-invalid=\"hasError\"\n @keydown.delete=\"onInputDeletePressed()\"\n @input.stop=\"updateSearchInput($event)\"\n @focus=\"focusOnInputFocused()\"\n />\n </div>\n\n <RuiButton\n v-if=\"clearable && valueSet && !disabled\"\n variant=\"text\"\n icon\n size=\"sm\"\n tabindex=\"-1\"\n color=\"error\"\n class=\"group-hover:!visible\"\n :class=\"[$style.clear, focusAnyFocused && '!visible', {\n 'mr-2': !dense,\n }]\"\n @click.stop.prevent=\"clear()\"\n >\n <RuiIcon\n name=\"lu-x\"\n size=\"18\"\n />\n </RuiButton>\n\n <span\n :class=\"$style.icon__wrapper\"\n @click=\"arrowClicked($event)\"\n >\n <RuiIcon\n :class=\"[$style.icon, { 'rotate-180': open }]\"\n :size=\"dense ? 16 : 24\"\n name=\"lu-chevron-down\"\n />\n </span>\n\n <RuiProgress\n v-if=\"loading\"\n class=\"absolute left-0 bottom-0 w-full\"\n color=\"primary\"\n thickness=\"3\"\n variant=\"indeterminate\"\n />\n </div>\n <fieldset\n v-if=\"outlined\"\n :class=\"$style.fieldset\"\n >\n <legend :class=\"{ 'px-2': float }\" />\n </fieldset>\n </slot>\n </template>\n <template #default=\"{ width }\">\n <div ref=\"menuWrapperRef\">\n <div\n v-if=\"optionsWithSelectedHidden.length > 0\"\n :class=\"[$style.menu, menuClass]\"\n :style=\"{ width: `${width}px`, minWidth: menuWidth, minHeight: `${menuMinHeight}px` }\"\n v-bind=\"virtualContainerProps\"\n @scroll=\"containerProps.onScroll\"\n @keydown.up.prevent=\"moveHighlight(true)\"\n @keydown.down.prevent=\"moveHighlight(false)\"\n >\n <div\n v-bind=\"wrapperProps\"\n ref=\"menuRef\"\n >\n <RuiButton\n v-for=\"({ item, _index }) in renderedData\"\n ref=\"renderedOptions\"\n :key=\"getIdentifier(item)?.toString()\"\n :active=\"isActiveItem(item)\"\n :size=\"dense ? 'sm' : undefined\"\n tabindex=\"0\"\n variant=\"list\"\n :class=\"{\n highlighted: highlightedIndex === _index,\n [$style.highlighted]: highlightedIndex === _index,\n [$style.active]: isActiveItem(item),\n }\"\n @click=\"setValue(item, _index)\"\n @mousedown=\"highlightedIndex = _index\"\n >\n <template #prepend>\n <slot\n name=\"item.prepend\"\n v-bind=\"{ disabled, item, active: isActiveItem(item) }\"\n />\n </template>\n <slot\n name=\"item\"\n v-bind=\"{ disabled, item, active: isActiveItem(item) }\"\n >\n {{ getText(item) }}\n </slot>\n <template #append>\n <slot\n name=\"item.append\"\n v-bind=\"{ disabled, item, active: isActiveItem(item) }\"\n />\n </template>\n </RuiButton>\n </div>\n </div>\n\n <div\n v-else-if=\"!hideNoData\"\n :style=\"{ width: `${width}px`, minWidth: menuWidth }\"\n :class=\"menuClass\"\n >\n <slot name=\"no-data\">\n <div\n v-if=\"!customValue\"\n class=\"p-4\"\n >\n {{ noDataText }}\n </div>\n </slot>\n </div>\n </div>\n </template>\n </RuiMenu>\n</template>\n\n<style lang=\"scss\" module>\n.wrapper {\n @apply w-full inline-flex flex-col;\n\n .activator {\n @apply relative inline-flex items-center w-full;\n @apply outline-none focus-within:outline-none cursor-pointer min-h-14 pl-3 py-2 pr-8 rounded;\n @apply m-0 bg-white transition-all text-body-1 text-left hover:border-black;\n\n &:not(.outlined) {\n @apply hover:bg-gray-100 focus-within:bg-gray-100;\n }\n\n &.dense {\n @apply py-1.5 min-h-10;\n\n ~ .fieldset {\n @apply px-2;\n }\n }\n\n &.disabled {\n @apply opacity-65 text-rui-text-disabled active:text-rui-text-disabled cursor-default pointer-events-none;\n }\n\n &.readonly {\n @apply opacity-80 pointer-events-none cursor-default bg-gray-50;\n }\n\n &.outlined {\n @apply border-none hover:border-none;\n\n &:not(.disabled):not(.with-error):not(.with-success) {\n &.opened,\n &:focus,\n &:focus-within {\n @apply border-rui-primary;\n\n ~ .fieldset {\n @apply border-rui-primary #{!important};\n @apply border-2 #{!important};\n }\n }\n }\n\n ~ .fieldset {\n @apply border border-black/[0.23];\n }\n\n &:hover {\n ~ .fieldset {\n @apply border-black;\n }\n }\n\n &.disabled {\n ~ .fieldset {\n @apply border-dotted;\n @apply border border-black/[0.23] #{!important};\n }\n }\n\n &.with-success {\n .label {\n @apply text-rui-success #{!important};\n }\n\n ~ .fieldset {\n @apply border-rui-success #{!important};\n }\n }\n\n &.with-error {\n .label {\n @apply text-rui-error #{!important};\n }\n\n ~ .fieldset {\n @apply border-rui-error #{!important};\n }\n }\n }\n\n .label {\n @apply text-rui-text-secondary;\n max-width: calc(100% - 2.5rem);\n }\n\n .label,\n .value {\n @apply block truncate transition-all duration-75;\n }\n\n .value {\n @apply flex gap-1 flex-wrap flex-1;\n }\n\n .clear {\n @apply ml-auto shrink-0 invisible;\n }\n\n .icon {\n @apply text-rui-text transition;\n\n &__wrapper {\n @apply flex items-center justify-end;\n @apply absolute right-3 top-px bottom-0;\n }\n }\n\n &.float {\n .label {\n @apply -translate-y-2 top-0 text-xs px-1;\n }\n\n ~ .fieldset {\n legend {\n &:after {\n content: v-bind(labelWithQuote);\n }\n }\n }\n\n &:not(.disabled) {\n &.opened,\n &.opened.with-value,\n &:focus,\n &:focus.with-value,\n &:focus-within,\n &:focus-within.with-value {\n .label {\n @apply text-rui-primary;\n }\n\n ~ .fieldset {\n @apply border-rui-primary;\n @apply border-2 #{!important};\n }\n }\n }\n }\n }\n\n .fieldset {\n @apply absolute w-full min-w-0 h-[calc(100%+0.5rem)] top-0 left-0 rounded pointer-events-none px-2 transition-all -mt-2;\n\n legend {\n @apply opacity-0 text-xs truncate;\n max-width: calc(100% - 1rem);\n\n &:before {\n content: ' ';\n }\n\n &:after {\n @apply truncate max-w-full leading-[0];\n content: '\\200B';\n }\n }\n }\n}\n\n.menu {\n @apply overflow-y-auto max-h-60 min-w-[2.5rem];\n}\n\n.highlighted {\n @apply bg-rui-grey-200 #{!important};\n\n &.active {\n @apply bg-rui-grey-300 #{!important};\n }\n}\n\n:global(.dark) {\n .wrapper {\n .activator {\n @apply bg-transparent text-rui-text;\n\n &:not(.outlined) {\n @apply hover:bg-white/10 focus-within:bg-white/10;\n\n &.disabled {\n @apply bg-white/10;\n }\n }\n\n &.readonly {\n @apply bg-white/10;\n }\n\n &.outlined {\n ~ .fieldset {\n @apply border-white/[0.23];\n }\n\n &.disabled {\n ~ .fieldset {\n @apply border-white/[0.23] #{!important};\n }\n }\n\n &:hover {\n ~ .fieldset {\n @apply border-white;\n }\n }\n }\n }\n }\n\n .highlighted {\n @apply bg-rui-grey-800 #{!important};\n\n &.active {\n @apply bg-rui-grey-700 #{!important};\n }\n }\n}\n</style>\n"],"names":["_useModel","value","_openBlock","_createBlock","_mergeProps","_unref","$style","getRootAttrs","$attrs","_withCtx","_renderSlot","_createElementVNode","getNonRootAttrs","_withKeys","_createElementBlock","_normalizeClass","_normalizeProps","_guardReactiveProps","_Fragment","_renderList","_createTextVNode","_toDisplayString","_withModifiers","_createVNode","_normalizeStyle"],"mappings":";;;;;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A,EAAQ,IAAI,CAAA,GAAA,CAAA;AAAA,sBAAA;;;;;;uBAaT,QAAA,2BADdS,mBAaM,OAAA;AAAA;cAXH,OAAKU,eAAA,EAAA,OAAA,GAAc,KAAK,MAAA,UAAgBnB,MAAA,SAAA,EAAA,CAAS;AAAA,cACjD,sBAAO,QAAA,SAAS;AAAA,YAAA;cAEjBK,WAOO,4BAPP,MAOO;AAAA,iBALI,QAAA,4BADTI,mBAKM,OALN,YAKMO,gBADD,QAAA,UAAU,GAAA,CAAA;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"RuiAutoComplete.vue2.js","sources":["../../../../src/components/forms/auto-complete/RuiAutoComplete.vue"],"sourcesContent":["<script lang=\"ts\" setup generic='TValue, TItem'>\nimport type { ComponentPublicInstance, ComputedRef } from 'vue';\nimport { syncRef } from '@vueuse/core';\nimport { logicAnd, logicOr } from '@vueuse/math';\nimport RuiButton from '@/components/buttons/button/RuiButton.vue';\nimport RuiChip from '@/components/chips/RuiChip.vue';\nimport RuiIcon from '@/components/icons/RuiIcon.vue';\nimport RuiMenu, { type MenuProps } from '@/components/overlays/menu/RuiMenu.vue';\nimport RuiProgress from '@/components/progress/RuiProgress.vue';\nimport { type KeyOfType, useDropdownMenu, useDropdownOptionProperty } from '@/composables/dropdown-menu';\nimport { useAutoCompleteFocus, useAutoCompleteKeyboardNavigation, useAutoCompleteSearch, useAutoCompleteValue } from '@/composables/forms/auto-complete';\nimport { getTextToken } from '@/utils/helpers';\nimport { isEqual } from '@/utils/is-equal';\n\nexport type AutoCompleteModelValue<TValue> = TValue extends Array<infer U> ? U[] : TValue | undefined;\n\nexport interface AutoCompleteProps<TValue, TItem> {\n options?: TItem[];\n keyAttr?: KeyOfType<TItem, TValue extends Array<infer U> ? U : TValue>;\n textAttr?: keyof TItem;\n disabled?: boolean;\n loading?: boolean;\n readOnly?: boolean;\n dense?: boolean;\n clearable?: boolean;\n label?: string;\n menuOptions?: MenuProps;\n labelClass?: string;\n menuClass?: string;\n itemClass?: string;\n prependWidth?: number; // in rem\n appendWidth?: number; // in rem\n itemHeight?: number; // in px\n variant?: 'default' | 'filled' | 'outlined';\n hint?: string;\n errorMessages?: string | string[];\n successMessages?: string | string[];\n hideDetails?: boolean;\n autoSelectFirst?: boolean;\n chips?: boolean;\n noFilter?: boolean;\n hideNoData?: boolean;\n noDataText?: string;\n filter?: (item: TItem, queryText: string) => boolean;\n hideSelected?: boolean;\n placeholder?: string;\n returnObject?: boolean;\n customValue?: boolean;\n hideCustomValue?: boolean;\n required?: boolean;\n hideSearchInput?: boolean;\n hideSelectionWrapper?: boolean;\n}\n\ndefineOptions({\n name: 'RuiAutoComplete',\n inheritAttrs: false,\n});\n\nconst modelValue = defineModel<AutoCompleteModelValue<TValue>>({ required: true });\n\nconst searchInputModel = defineModel<string>('searchInput', { default: '' });\n\nconst props = withDefaults(defineProps<AutoCompleteProps<TValue, TItem>>(), {\n options: () => [],\n disabled: false,\n loading: false,\n readOnly: false,\n dense: false,\n clearable: false,\n hideDetails: false,\n chips: false,\n label: 'Select',\n menuOptions: undefined,\n prependWidth: 0,\n appendWidth: 0,\n variant: 'default',\n hint: undefined,\n keyAttr: undefined,\n textAttr: undefined,\n itemHeight: undefined,\n errorMessages: () => [],\n successMessages: () => [],\n autoSelectFirst: false,\n noFilter: false,\n hideNoData: false,\n noDataText: 'No data available',\n hideSelected: false,\n placeholder: '',\n returnObject: false,\n customValue: false,\n hideCustomValue: false,\n required: false,\n hideSearchInput: false,\n hideSelectionWrapper: false,\n});\n\nconst slots = useSlots();\n\nconst { dense, disabled, options } = toRefs(props);\n\nconst { getText, getIdentifier } = useDropdownOptionProperty<TValue, TItem>({\n keyAttr: props.keyAttr,\n textAttr: props.textAttr,\n});\n\nconst textInput = ref();\nconst activator = ref();\nconst menuRef = ref();\nconst menuWrapperRef = ref();\n\nconst { focused: activatorFocusedWithin } = useFocusWithin(activator);\nconst { focused: menuWrapperFocusedWithin } = useFocusWithin(menuWrapperRef);\nconst { focused: searchInputFocused } = useFocus(textInput);\nconst { focused: activatorFocused } = useFocus(activator);\n\nconst renderedOptions = ref<ComponentPublicInstance[]>([]);\n\nconst {\n internalSearch,\n filteredOptions,\n justOpened,\n updateInternalSearch,\n textValueToProperValue,\n} = useAutoCompleteSearch<TItem>(\n options,\n searchInputModel,\n {\n keyAttr: toRef(props, 'keyAttr'),\n textAttr: toRef(props, 'textAttr'),\n noFilter: toRef(props, 'noFilter'),\n filter: toRef(props, 'filter'),\n customValue: toRef(props, 'customValue'),\n hideCustomValue: toRef(props, 'hideCustomValue'),\n returnObject: toRef(props, 'returnObject'),\n },\n);\n\n// Calculate multiple from modelValue directly to avoid circular dependency\nconst multiple = computed<boolean>(() => Array.isArray(get(modelValue)));\n\nconst shouldApplyValueAsSearch = computed<boolean>(() => !(slots.selection || get(multiple) || props.chips));\n\n// Create a temporary isOpen ref that we'll sync with useDropdownMenu's isOpen\nconst tempIsOpen = ref<boolean>(false);\n\nconst {\n value,\n setSelected,\n} = useAutoCompleteValue<AutoCompleteModelValue<TValue>, TItem>(\n modelValue,\n options,\n {\n keyAttr: toRef(props, 'keyAttr'),\n returnObject: toRef(props, 'returnObject'),\n customValue: toRef(props, 'customValue'),\n },\n {\n getIdentifier,\n getText,\n textValueToProperValue,\n shouldApplyValueAsSearch,\n isOpen: tempIsOpen,\n updateInternalSearch,\n },\n);\n\nconst {\n containerProps,\n wrapperProps,\n renderedData,\n isOpen,\n menuWidth,\n isActiveItem,\n itemIndexInValue,\n highlightedIndex,\n moveHighlight,\n applyHighlighted,\n optionsWithSelectedHidden,\n} = useDropdownMenu<TValue, TItem>({\n itemHeight: props.itemHeight ?? (props.dense ? 30 : 48),\n keyAttr: props.keyAttr,\n textAttr: props.textAttr,\n options: filteredOptions,\n dense,\n value,\n menuRef,\n setValue,\n autoSelectFirst: props.autoSelectFirst,\n hideSelected: props.hideSelected,\n});\n\n// Sync the isOpen states\nsyncRef(isOpen, tempIsOpen);\n\nconst {\n focusedValueIndex,\n moveSelectedValueHighlight,\n onEnter,\n onInputDeletePressed,\n onTab,\n setValueFocus,\n} = useAutoCompleteKeyboardNavigation<TItem>(\n {\n customValue: toRef(props, 'customValue'),\n multiple,\n },\n {\n activator,\n applyHighlighted,\n clear,\n filteredOptions,\n highlightedIndex,\n internalSearch,\n isOpen,\n options,\n searchInputFocused,\n setSearchAsValue,\n value,\n },\n);\n\nconst {\n anyFocused: focusAnyFocused,\n inputClass: focusInputClass,\n onActivatorFocused: focusOnActivatorFocused,\n onInputFocused: focusOnInputFocused,\n setInputFocus: focusSetInputFocus,\n} = useAutoCompleteFocus<TItem>(\n {\n customValue: toRef(props, 'customValue'),\n disabled,\n shouldApplyValueAsSearch,\n },\n {\n activatorFocused,\n activatorFocusedWithin,\n filteredOptions,\n focusedValueIndex,\n internalSearch,\n isOpen,\n justOpened,\n menuWrapperFocusedWithin,\n searchInputFocused,\n setSearchAsValue,\n textInput,\n updateInternalSearch,\n },\n);\n\nconst valueSet = computed<boolean>(() => get(value).length > 0);\n\nconst labelWithQuote = computed<string>(() => {\n if (!props.label)\n return '\"\\\\200B\"';\n\n const asterisk = props.required ? '﹡' : '';\n return `' ${props.label}${asterisk} '`;\n});\n\nconst usedPlaceholder = computed<string>(() => {\n if (get(searchInputFocused)) {\n return props.placeholder;\n }\n return '';\n});\n\nconst menuMinHeight = ref<number>(0);\n\n// Update menu min height only when rendered data changes\nwatch(renderedData, async () => {\n await nextTick();\n const renderedOptionsData = get(renderedOptions).slice(0, Math.min(5, get(renderedData).length));\n let height = 0;\n for (const item of renderedOptionsData) {\n if (item.$el) {\n height += item.$el.offsetHeight;\n }\n }\n set(menuMinHeight, height);\n}, { immediate: true });\n\nconst outlined = computed<boolean>(() => props.variant === 'outlined');\n\nconst float: ComputedRef<boolean> = logicAnd(\n logicOr(\n isOpen,\n valueSet,\n searchInputFocused,\n ),\n outlined,\n);\n\nconst virtualContainerProps = computed(() => ({\n style: containerProps.style as any,\n ref: containerProps.ref as any,\n}));\n\nfunction updateSearchInput(event: any) {\n const value = event.target.value;\n set(isOpen, true);\n updateInternalSearch(value);\n set(justOpened, false);\n}\n\nasync function setValue(val: TItem, index?: number, skipRefocused = false): Promise<void> {\n if (isDefined(index))\n set(highlightedIndex, index);\n\n const isMultiple = get(multiple);\n\n if (isMultiple) {\n const newValue = [...get(value)];\n const indexInValue = itemIndexInValue(val);\n if (indexInValue === -1) {\n updateInternalSearch();\n newValue.push(val);\n }\n\n else { newValue.splice(indexInValue, 1); }\n set(value, newValue);\n }\n else {\n if (get(shouldApplyValueAsSearch))\n updateInternalSearch(getText(val));\n else\n updateInternalSearch();\n\n set(value, [val]);\n }\n\n if (!isMultiple) {\n if (!skipRefocused) {\n set(activatorFocused, true);\n get(activator)?.focus();\n await nextTick(() => {\n set(isOpen, false);\n });\n }\n else {\n set(isOpen, false);\n }\n }\n else if (!skipRefocused) {\n set(searchInputFocused, true);\n }\n}\n\nfunction setSearchAsValue() {\n const searchToBeValue = get(internalSearch);\n if (!searchToBeValue)\n return;\n\n const newValue: TItem = textValueToProperValue(searchToBeValue);\n setValue(newValue, undefined, true);\n}\n\nfunction clear(): void {\n updateInternalSearch();\n set(modelValue, (Array.isArray(get(modelValue)) ? [] : undefined) as AutoCompleteModelValue<TValue>);\n}\n\nfunction chipAttrs(item: TItem, index: number) {\n return {\n 'data-index': index,\n 'data-value': getIdentifier(item),\n 'onKeydown': (event: KeyboardEvent): void => {\n const { key } = event;\n if (['Backspace', 'Delete'].includes(key))\n setValue(item);\n },\n 'onClick.stop': (): void => {\n setValueFocus(index);\n },\n 'onClick:close': (): void => {\n setValue(item);\n },\n };\n}\n\nfunction setSelectionRange(start: number, end: number): void {\n set(searchInputFocused, true);\n get(textInput)?.setSelectionRange?.(start, end);\n}\n\n// Optimize options watcher with shallow comparison first\nwatch(options, (curr, old) => {\n if (curr === old || props.customValue)\n return;\n\n // Only do deep comparison if reference changed\n if (isEqual(curr, old))\n return;\n\n setSelected(get(value));\n});\n\nfunction arrowClicked(event: any): void {\n if (get(isOpen)) {\n set(isOpen, false);\n event.stopPropagation();\n }\n}\n\ndefineExpose({\n focus: focusSetInputFocus,\n setSelectionRange,\n});\n</script>\n\n<template>\n <RuiMenu\n v-model=\"isOpen\"\n :class=\"$style.wrapper\"\n disable-auto-focus\n v-bind=\"{\n ...getRootAttrs($attrs),\n placement: 'bottom-start',\n closeOnContentClick: false,\n fullWidth: true,\n persistOnActivatorClick: true,\n ...menuOptions,\n menuClass: [\n { hidden: (optionsWithSelectedHidden.length === 0 && customValue && !slots['no-data']) },\n menuOptions?.menuClass,\n ],\n errorMessages,\n successMessages,\n hint,\n dense,\n showDetails: !hideDetails,\n disabled,\n }\"\n >\n <template #activator=\"{ attrs, open, hasError, hasSuccess }\">\n <slot\n name=\"activator\"\n v-bind=\"{ disabled, value, variant, readOnly, attrs, open, hasError, hasSuccess }\"\n >\n <div\n ref=\"activator\"\n class=\"group\"\n :class=\"[\n $style.activator,\n labelClass,\n {\n [$style.disabled]: disabled,\n [$style.readonly]: readOnly,\n [$style.outlined]: outlined,\n [$style.dense]: dense,\n [$style.float]: float,\n [$style.opened]: open,\n [$style['with-value']]: valueSet,\n [$style['with-error']]: hasError,\n [$style['with-success']]: hasSuccess && !hasError,\n },\n ]\"\n v-bind=\"{\n ...getNonRootAttrs($attrs, ['onClick', 'class']),\n ...(readOnly ? {} : attrs) }\n \"\n data-id=\"activator\"\n :data-error=\"hasError ? '' : undefined\"\n :tabindex=\"disabled || readOnly ? -1 : 0\"\n @click=\"focusSetInputFocus()\"\n @focus=\"focusOnActivatorFocused()\"\n @keydown.enter=\"onEnter($event)\"\n @keydown.tab=\"onTab($event)\"\n @keydown.left=\"moveSelectedValueHighlight($event, false)\"\n @keydown.right=\"moveSelectedValueHighlight($event, true)\"\n @keydown.up.prevent=\"moveHighlight(true)\"\n @keydown.down.prevent=\"moveHighlight(false)\"\n >\n <span\n v-if=\"outlined || (!valueSet && !searchInputFocused)\"\n :class=\"[\n $style.label,\n {\n 'absolute': outlined,\n 'pr-2': !valueSet && !open && outlined,\n },\n ]\"\n >\n <slot\n name=\"activator.label\"\n v-bind=\"{ value }\"\n >\n {{ label }}\n </slot>\n <span\n v-if=\"required\"\n class=\"text-rui-error\"\n >\n ﹡\n </span>\n </span>\n <div :class=\"$style.value\">\n <template\n v-for=\"(item, i) in value\"\n :key=\"getIdentifier(item)\"\n >\n <RuiChip\n v-if=\"chips\"\n :key=\"getTextToken(getIdentifier(item))\"\n tabindex=\"-1\"\n :size=\"dense ? 'sm' : 'md'\"\n closeable\n :class=\"{ 'leading-3': dense }\"\n clickable\n v-bind=\"chipAttrs(item, i)\"\n >\n <div class=\"flex\">\n <slot\n name=\"selection.prepend\"\n :index=\"i\"\n v-bind=\"{ item }\"\n />\n <slot\n :index=\"i\"\n name=\"selection\"\n v-bind=\"{ item }\"\n >\n {{ getText(item) }}\n </slot>\n </div>\n </RuiChip>\n <div\n v-else-if=\"multiple || ((!searchInputFocused) && (slots['selection.prepend'] || slots.selection))\"\n :class=\"hideSelectionWrapper ? 'contents' : 'flex'\"\n >\n <slot\n name=\"selection.prepend\"\n :index=\"i\"\n v-bind=\"{ item }\"\n />\n <slot\n v-if=\"multiple || slots.selection\"\n :index=\"i\"\n name=\"selection\"\n v-bind=\"{ item, chipAttrs: chipAttrs(item, i) }\"\n >\n {{ getText(item) }}\n </slot>\n </div>\n </template>\n <input\n ref=\"textInput\"\n :disabled=\"disabled\"\n :value=\"internalSearch\"\n class=\"bg-transparent outline-none\"\n type=\"text\"\n :placeholder=\"usedPlaceholder\"\n :class=\"[focusInputClass, { hidden: hideSearchInput }]\"\n :aria-invalid=\"hasError\"\n @keydown.delete=\"onInputDeletePressed()\"\n @input.stop=\"updateSearchInput($event)\"\n @focus=\"focusOnInputFocused()\"\n />\n </div>\n\n <RuiButton\n v-if=\"clearable && valueSet && !disabled\"\n variant=\"text\"\n icon\n size=\"sm\"\n tabindex=\"-1\"\n color=\"error\"\n class=\"group-hover:!visible\"\n :class=\"[$style.clear, focusAnyFocused && '!visible', {\n 'mr-2': !dense,\n }]\"\n @click.stop.prevent=\"clear()\"\n >\n <RuiIcon\n name=\"lu-x\"\n size=\"18\"\n />\n </RuiButton>\n\n <span\n :class=\"$style.icon__wrapper\"\n @click=\"arrowClicked($event)\"\n >\n <RuiIcon\n :class=\"[$style.icon, { 'rotate-180': open }]\"\n :size=\"dense ? 16 : 24\"\n name=\"lu-chevron-down\"\n />\n </span>\n\n <RuiProgress\n v-if=\"loading\"\n class=\"absolute left-0 bottom-0 w-full\"\n color=\"primary\"\n thickness=\"3\"\n variant=\"indeterminate\"\n />\n </div>\n <fieldset\n v-if=\"outlined\"\n :class=\"$style.fieldset\"\n >\n <legend :class=\"{ 'px-2': float }\" />\n </fieldset>\n </slot>\n </template>\n <template #default=\"{ width }\">\n <div ref=\"menuWrapperRef\">\n <div\n v-if=\"optionsWithSelectedHidden.length > 0\"\n :class=\"[$style.menu, menuClass]\"\n :style=\"{ width: `${width}px`, minWidth: menuWidth, minHeight: `${menuMinHeight}px` }\"\n v-bind=\"virtualContainerProps\"\n @scroll=\"containerProps.onScroll\"\n @keydown.up.prevent=\"moveHighlight(true)\"\n @keydown.down.prevent=\"moveHighlight(false)\"\n >\n <div\n v-bind=\"wrapperProps\"\n ref=\"menuRef\"\n >\n <RuiButton\n v-for=\"({ item, _index }) in renderedData\"\n ref=\"renderedOptions\"\n :key=\"getIdentifier(item)?.toString()\"\n :active=\"isActiveItem(item)\"\n :size=\"dense ? 'sm' : undefined\"\n tabindex=\"0\"\n variant=\"list\"\n :class=\"{\n highlighted: highlightedIndex === _index,\n [$style.highlighted]: highlightedIndex === _index,\n [$style.active]: isActiveItem(item),\n }\"\n @click=\"setValue(item, _index)\"\n @mousedown=\"highlightedIndex = _index\"\n >\n <template #prepend>\n <slot\n name=\"item.prepend\"\n v-bind=\"{ disabled, item, active: isActiveItem(item) }\"\n />\n </template>\n <slot\n name=\"item\"\n v-bind=\"{ disabled, item, active: isActiveItem(item) }\"\n >\n {{ getText(item) }}\n </slot>\n <template #append>\n <slot\n name=\"item.append\"\n v-bind=\"{ disabled, item, active: isActiveItem(item) }\"\n />\n </template>\n </RuiButton>\n </div>\n </div>\n\n <div\n v-else-if=\"!hideNoData\"\n :style=\"{ width: `${width}px`, minWidth: menuWidth }\"\n :class=\"menuClass\"\n >\n <slot name=\"no-data\">\n <div\n v-if=\"!customValue\"\n class=\"p-4\"\n >\n {{ noDataText }}\n </div>\n </slot>\n </div>\n </div>\n </template>\n </RuiMenu>\n</template>\n\n<style lang=\"scss\" module>\n.wrapper {\n @apply w-full inline-flex flex-col;\n\n .activator {\n @apply relative inline-flex items-center w-full;\n @apply outline-none focus-within:outline-none cursor-pointer min-h-14 pl-3 py-2 pr-8 rounded;\n @apply m-0 bg-white transition-all text-body-1 text-left hover:border-black;\n\n &:not(.outlined) {\n @apply hover:bg-gray-100 focus-within:bg-gray-100;\n }\n\n &.dense {\n @apply py-1.5 min-h-10;\n\n ~ .fieldset {\n @apply px-2;\n }\n }\n\n &.disabled {\n @apply opacity-65 text-rui-text-disabled active:text-rui-text-disabled cursor-default pointer-events-none;\n }\n\n &.readonly {\n @apply opacity-80 pointer-events-none cursor-default bg-gray-50;\n }\n\n &.outlined {\n @apply border-none hover:border-none;\n\n &:not(.disabled):not(.with-error):not(.with-success) {\n &.opened,\n &:focus,\n &:focus-within {\n @apply border-rui-primary;\n\n ~ .fieldset {\n @apply border-rui-primary #{!important};\n @apply border-2 #{!important};\n }\n }\n }\n\n ~ .fieldset {\n @apply border border-black/[0.23];\n }\n\n &:hover {\n ~ .fieldset {\n @apply border-black;\n }\n }\n\n &.disabled {\n ~ .fieldset {\n @apply border-dotted;\n @apply border border-black/[0.23] #{!important};\n }\n }\n\n &.with-success {\n .label {\n @apply text-rui-success #{!important};\n }\n\n ~ .fieldset {\n @apply border-rui-success #{!important};\n }\n }\n\n &.with-error {\n .label {\n @apply text-rui-error #{!important};\n }\n\n ~ .fieldset {\n @apply border-rui-error #{!important};\n }\n }\n }\n\n .label {\n @apply text-rui-text-secondary;\n max-width: calc(100% - 2.5rem);\n }\n\n .label,\n .value {\n @apply block truncate transition-all duration-75;\n }\n\n .value {\n @apply flex gap-1 flex-wrap flex-1;\n }\n\n .clear {\n @apply ml-auto shrink-0 invisible;\n }\n\n .icon {\n @apply text-rui-text transition;\n\n &__wrapper {\n @apply flex items-center justify-end;\n @apply absolute right-3 top-px bottom-0;\n }\n }\n\n &.float {\n .label {\n @apply -translate-y-2 top-0 text-xs px-1;\n }\n\n ~ .fieldset {\n legend {\n &:after {\n content: v-bind(labelWithQuote);\n }\n }\n }\n\n &:not(.disabled) {\n &.opened,\n &.opened.with-value,\n &:focus,\n &:focus.with-value,\n &:focus-within,\n &:focus-within.with-value {\n .label {\n @apply text-rui-primary;\n }\n\n ~ .fieldset {\n @apply border-rui-primary;\n @apply border-2 #{!important};\n }\n }\n }\n }\n }\n\n .fieldset {\n @apply absolute w-full min-w-0 h-[calc(100%+0.5rem)] top-0 left-0 rounded pointer-events-none px-2 transition-all -mt-2;\n\n legend {\n @apply opacity-0 text-xs truncate;\n max-width: calc(100% - 1rem);\n\n &:before {\n content: ' ';\n }\n\n &:after {\n @apply truncate max-w-full leading-[0];\n content: '\\200B';\n }\n }\n }\n}\n\n.menu {\n @apply overflow-y-auto max-h-60 min-w-[2.5rem];\n}\n\n.highlighted {\n @apply bg-rui-grey-200 #{!important};\n\n &.active {\n @apply bg-rui-grey-300 #{!important};\n }\n}\n\n:global(.dark) {\n .wrapper {\n .activator {\n @apply bg-transparent text-rui-text;\n\n &:not(.outlined) {\n @apply hover:bg-white/10 focus-within:bg-white/10;\n\n &.disabled {\n @apply bg-white/10;\n }\n }\n\n &.readonly {\n @apply bg-white/10;\n }\n\n &.outlined {\n ~ .fieldset {\n @apply border-white/[0.23];\n }\n\n &.disabled {\n ~ .fieldset {\n @apply border-white/[0.23] #{!important};\n }\n }\n\n &:hover {\n ~ .fieldset {\n @apply border-white;\n }\n }\n }\n }\n }\n\n .highlighted {\n @apply bg-rui-grey-800 #{!important};\n\n &.active {\n @apply bg-rui-grey-700 #{!important};\n }\n }\n}\n</style>\n"],"names":["_useModel","value","_openBlock","_createBlock","_mergeProps","_unref","$style","getRootAttrs","$attrs","_withCtx","_renderSlot","_createElementVNode","getNonRootAttrs","_withKeys","_createElementBlock","_normalizeClass","_normalizeProps","_guardReactiveProps","_Fragment","_renderList","_createTextVNode","_toDisplayString","_withModifiers","_createVNode","_normalizeStyle"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DA,UAAM,aAAaA,SAA2C,SAAA,YAAmB;AAEjF,UAAM,mBAAmBA,SAAmB,SAAC,aAA8B;AAE3E,UAAM,QAAQ;AAkCd,UAAM,QAAQ,SAAA;AAEd,UAAM,EAAE,OAAO,UAAU,QAAA,IAAY,OAAO,KAAK;AAEjD,UAAM,EAAE,SAAS,cAAA,IAAkB,0BAAyC;AAAA,MAC1E,SAAS,MAAM;AAAA,MACf,UAAU,MAAM;AAAA,IAAA,CACjB;AAED,UAAM,YAAY,IAAA;AAClB,UAAM,YAAY,IAAA;AAClB,UAAM,UAAU,IAAA;AAChB,UAAM,iBAAiB,IAAA;AAEvB,UAAM,EAAE,SAAS,2BAA2B,eAAe,SAAS;AACpE,UAAM,EAAE,SAAS,6BAA6B,eAAe,cAAc;AAC3E,UAAM,EAAE,SAAS,uBAAuB,SAAS,SAAS;AAC1D,UAAM,EAAE,SAAS,qBAAqB,SAAS,SAAS;AAExD,UAAM,kBAAkB,IAA+B,EAAE;AAEzD,UAAM;AAAA,MACJ;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA,IACE;AAAA,MACF;AAAA,MACA;AAAA,MACA;AAAA,QACE,SAAS,MAAM,OAAO,SAAS;AAAA,QAC/B,UAAU,MAAM,OAAO,UAAU;AAAA,QACjC,UAAU,MAAM,OAAO,UAAU;A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AAA,GAAA,EAAA,UADUC,MAAA,QAAA,GAAU,MAAI,QAAUA,MAAA,YAAA,EAAa,IAAI,GAAA,CAAA;AAAA,oBAAA;oBAS5C,gBACT,MAGE;AAAA,sBAHFK,WAGE,KAAA,QAAA,eAHFN,WAGE,EAAA,SAAA,KAAA,GAAA,EAAA,UADUC,MAAA,QAAA,GAAU,MAAI,QAAUA,MAAA,YAAA,EAAa,IAAI,GAAA,CAAA;AAAA,oBAAA;qCATvD,MAKO;AAAA,sBALPK,WAKO,KAAA,QAAA,QALPN,WAKO,EAAA,SAAA,KAAA,GAAA,EAAA,UAHKC,MAAA,QAAA,GAAU,MAAI,QAAUA,MAAA,YAAA,EAAa,IAAI,EAAA,CAAA,GAFrD,MAKO;AAAA,wBADFe,gBAAAC,gBAAAhB,MAAA,OAAA,EAAQ,IAAI,CAAA,GAAA,CAAA;AAAA,sBAAA;;;;;;uBAaT,QAAA,2BADdS,mBAaM,OAAA;AAAA;cAXH,OAAKU,eAAA,EAAA,OAAA,GAAc,KAAK,MAAA,UAAgBnB,MAAA,SAAA,EAAA,CAAS;AAAA,cACjD,sBAAO,QAAA,SAAS;AAAA,YAAA;cAEjBK,WAOO,4BAPP,MAOO;AAAA,iBALI,QAAA,4BADTI,mBAKM,OALN,YAKMO,gBADD,QAAA,UAAU,GAAA,CAAA;;;;;;;;;;"}
|
package/dist/style.css
CHANGED
|
@@ -984,6 +984,9 @@ video {
|
|
|
984
984
|
.grid {
|
|
985
985
|
display: grid;
|
|
986
986
|
}
|
|
987
|
+
.contents {
|
|
988
|
+
display: contents;
|
|
989
|
+
}
|
|
987
990
|
.\!hidden {
|
|
988
991
|
display: none !important;
|
|
989
992
|
}
|
|
@@ -7594,7 +7597,7 @@ to {
|
|
|
7594
7597
|
line-height: 1rem;
|
|
7595
7598
|
}
|
|
7596
7599
|
._wrapper_xauli_2 ._activator_xauli_5._float_xauli_78 ~ ._fieldset_xauli_16 legend:after {
|
|
7597
|
-
content: var(--
|
|
7600
|
+
content: var(--v12e602de);
|
|
7598
7601
|
}
|
|
7599
7602
|
._wrapper_xauli_2 ._activator_xauli_5._float_xauli_78:not(._disabled_xauli_19)._opened_xauli_28 ._label_xauli_45, ._wrapper_xauli_2 ._activator_xauli_5._float_xauli_78:not(._disabled_xauli_19)._opened_xauli_28._with-value_xauli_84 ._label_xauli_45, ._wrapper_xauli_2 ._activator_xauli_5._float_xauli_78:not(._disabled_xauli_19):focus ._label_xauli_45, ._wrapper_xauli_2 ._activator_xauli_5._float_xauli_78:not(._disabled_xauli_19):focus._with-value_xauli_84 ._label_xauli_45, ._wrapper_xauli_2 ._activator_xauli_5._float_xauli_78:not(._disabled_xauli_19):focus-within ._label_xauli_45, ._wrapper_xauli_2 ._activator_xauli_5._float_xauli_78:not(._disabled_xauli_19):focus-within._with-value_xauli_84 ._label_xauli_45{
|
|
7600
7603
|
--tw-text-opacity: 1;
|
package/dist/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json.schemastore.org/web-types",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@rotki/ui-library",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.12.0",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"description-markup": "markdown",
|
|
8
8
|
"contributions": {
|
|
@@ -3562,6 +3562,26 @@
|
|
|
3562
3562
|
"type": "boolean | undefined"
|
|
3563
3563
|
}
|
|
3564
3564
|
},
|
|
3565
|
+
{
|
|
3566
|
+
"name": "hide-search-input",
|
|
3567
|
+
"description": "",
|
|
3568
|
+
"required": false,
|
|
3569
|
+
"default": "false",
|
|
3570
|
+
"value": {
|
|
3571
|
+
"kind": "expression",
|
|
3572
|
+
"type": "boolean | undefined"
|
|
3573
|
+
}
|
|
3574
|
+
},
|
|
3575
|
+
{
|
|
3576
|
+
"name": "hide-selection-wrapper",
|
|
3577
|
+
"description": "",
|
|
3578
|
+
"required": false,
|
|
3579
|
+
"default": "false",
|
|
3580
|
+
"value": {
|
|
3581
|
+
"kind": "expression",
|
|
3582
|
+
"type": "boolean | undefined"
|
|
3583
|
+
}
|
|
3584
|
+
},
|
|
3565
3585
|
{
|
|
3566
3586
|
"name": "model-value",
|
|
3567
3587
|
"description": "",
|
|
@@ -3588,7 +3608,7 @@
|
|
|
3588
3608
|
"vue-properties": [
|
|
3589
3609
|
{
|
|
3590
3610
|
"name": "disabled",
|
|
3591
|
-
"type": "boolean & DistributeRef<[(Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled']] extends [globalThis.Ref<any, any>] ? (Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled'] : globalThis.Ref<(Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled'], (Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled']>>"
|
|
3611
|
+
"type": "boolean & DistributeRef<[(Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; readonly hideSearchInput: boolean; readonly hideSelectionWrapper: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; hideSearchInput: false; hideSelectionWrapper: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled']] extends [globalThis.Ref<any, any>] ? (Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; readonly hideSearchInput: boolean; readonly hideSelectionWrapper: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; hideSearchInput: false; hideSelectionWrapper: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled'] : globalThis.Ref<(Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; readonly hideSearchInput: boolean; readonly hideSelectionWrapper: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; hideSearchInput: false; hideSelectionWrapper: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled'], (Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; readonly hideSearchInput: boolean; readonly hideSelectionWrapper: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; hideSearchInput: false; hideSelectionWrapper: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled']>>"
|
|
3592
3612
|
},
|
|
3593
3613
|
{
|
|
3594
3614
|
"name": "value",
|
|
@@ -3660,7 +3680,7 @@
|
|
|
3660
3680
|
"vue-properties": [
|
|
3661
3681
|
{
|
|
3662
3682
|
"name": "disabled",
|
|
3663
|
-
"type": "boolean & DistributeRef<[(Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled']] extends [globalThis.Ref<any, any>] ? (Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled'] : globalThis.Ref<(Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled'], (Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled']>>"
|
|
3683
|
+
"type": "boolean & DistributeRef<[(Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; readonly hideSearchInput: boolean; readonly hideSelectionWrapper: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; hideSearchInput: false; hideSelectionWrapper: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled']] extends [globalThis.Ref<any, any>] ? (Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; readonly hideSearchInput: boolean; readonly hideSelectionWrapper: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; hideSearchInput: false; hideSelectionWrapper: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled'] : globalThis.Ref<(Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; readonly hideSearchInput: boolean; readonly hideSelectionWrapper: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; hideSearchInput: false; hideSelectionWrapper: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled'], (Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; readonly hideSearchInput: boolean; readonly hideSelectionWrapper: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; hideSearchInput: false; hideSelectionWrapper: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled']>>"
|
|
3664
3684
|
},
|
|
3665
3685
|
{
|
|
3666
3686
|
"name": "item",
|
|
@@ -3677,7 +3697,7 @@
|
|
|
3677
3697
|
"vue-properties": [
|
|
3678
3698
|
{
|
|
3679
3699
|
"name": "disabled",
|
|
3680
|
-
"type": "boolean & DistributeRef<[(Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled']] extends [globalThis.Ref<any, any>] ? (Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled'] : globalThis.Ref<(Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled'], (Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled']>>"
|
|
3700
|
+
"type": "boolean & DistributeRef<[(Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; readonly hideSearchInput: boolean; readonly hideSelectionWrapper: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; hideSearchInput: false; hideSelectionWrapper: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled']] extends [globalThis.Ref<any, any>] ? (Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; readonly hideSearchInput: boolean; readonly hideSelectionWrapper: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; hideSearchInput: false; hideSelectionWrapper: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled'] : globalThis.Ref<(Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; readonly hideSearchInput: boolean; readonly hideSelectionWrapper: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; hideSearchInput: false; hideSelectionWrapper: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled'], (Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; readonly hideSearchInput: boolean; readonly hideSelectionWrapper: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; hideSearchInput: false; hideSelectionWrapper: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled']>>"
|
|
3681
3701
|
},
|
|
3682
3702
|
{
|
|
3683
3703
|
"name": "item",
|
|
@@ -3694,7 +3714,7 @@
|
|
|
3694
3714
|
"vue-properties": [
|
|
3695
3715
|
{
|
|
3696
3716
|
"name": "disabled",
|
|
3697
|
-
"type": "boolean & DistributeRef<[(Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled']] extends [globalThis.Ref<any, any>] ? (Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled'] : globalThis.Ref<(Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled'], (Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled']>>"
|
|
3717
|
+
"type": "boolean & DistributeRef<[(Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; readonly hideSearchInput: boolean; readonly hideSelectionWrapper: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; hideSearchInput: false; hideSelectionWrapper: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled']] extends [globalThis.Ref<any, any>] ? (Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; readonly hideSearchInput: boolean; readonly hideSelectionWrapper: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; hideSearchInput: false; hideSelectionWrapper: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled'] : globalThis.Ref<(Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; readonly hideSearchInput: boolean; readonly hideSelectionWrapper: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; hideSearchInput: false; hideSelectionWrapper: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled'], (Readonly<MappedOmit<LooseRequired<__VLS_Props>, 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper'>> & { readonly options: TItem[]; readonly disabled: boolean; readonly loading: boolean; readonly readOnly: boolean; readonly dense: boolean; readonly clearable: boolean; readonly hideDetails: boolean; readonly chips: boolean; readonly label: string; readonly menuOptions: MenuProps | undefined; readonly prependWidth: number; readonly appendWidth: number; readonly variant: 'default' | 'filled' | 'outlined'; readonly hint: string | undefined; readonly keyAttr: globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined; readonly textAttr: keyof TItem | undefined; readonly itemHeight: number | undefined; readonly errorMessages: string | string[]; readonly successMessages: string | string[]; readonly autoSelectFirst: boolean; readonly noFilter: boolean; readonly hideNoData: boolean; readonly noDataText: string; readonly hideSelected: boolean; readonly placeholder: string; readonly returnObject: boolean; readonly customValue: boolean; readonly hideCustomValue: boolean; readonly required: boolean; readonly hideSearchInput: boolean; readonly hideSelectionWrapper: boolean; } & { readonly [K in 'dense' | 'disabled' | 'hideDetails' | 'required' | 'loading' | 'readOnly' | 'clearable' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'hideSelected' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' | (globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue> | undefined extends boolean | undefined ? (boolean & globalThis.KeyOfType<TItem, TValue extends (infer U)[] ? U : TValue>) | undefined extends undefined ? never : 'keyAttr' : never) | (keyof TItem | undefined extends boolean | undefined ? (boolean & keyof TItem) | undefined extends undefined ? never : 'textAttr' : never)]-?: K extends 'variant' | 'dense' | 'disabled' | 'label' | 'hint' | 'errorMessages' | 'successMessages' | 'hideDetails' | 'required' | 'loading' | 'options' | 'keyAttr' | 'textAttr' | 'readOnly' | 'clearable' | 'menuOptions' | 'prependWidth' | 'appendWidth' | 'itemHeight' | 'autoSelectFirst' | 'chips' | 'noFilter' | 'hideNoData' | 'noDataText' | 'hideSelected' | 'placeholder' | 'returnObject' | 'customValue' | 'hideCustomValue' | 'hideSearchInput' | 'hideSelectionWrapper' ? { options: () => never[]; disabled: false; loading: false; readOnly: false; dense: false; clearable: false; hideDetails: false; chips: false; label: 'Select'; menuOptions: undefined; prependWidth: 0; appendWidth: 0; variant: 'default'; hint: undefined; keyAttr: undefined; textAttr: undefined; itemHeight: undefined; errorMessages: () => never[]; successMessages: () => never[]; autoSelectFirst: false; noFilter: false; hideNoData: false; noDataText: 'No data available'; hideSelected: false; placeholder: ''; returnObject: false; customValue: false; hideCustomValue: false; required: false; hideSearchInput: false; hideSelectionWrapper: false; }[K] extends undefined ? boolean | undefined : boolean : boolean; })['disabled']>>"
|
|
3698
3718
|
},
|
|
3699
3719
|
{
|
|
3700
3720
|
"name": "item",
|