bitboss-ui 2.0.117 → 2.0.118
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/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +15 -3
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +29 -367
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +76 -89
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +75 -89
- package/dist/components/BbRows/BbRows.vue.d.ts +70 -85
- package/dist/components/BbSelect/BbSelect.vue.d.ts +1 -10
- package/dist/components/BbTable/BbTable.vue.d.ts +63 -91
- package/dist/components/BbTable/types.d.ts +46 -27
- package/dist/components/ListBox.vue.d.ts +40 -44
- package/dist/index100.js +91 -82
- package/dist/index101.js +7 -16
- package/dist/index111.js +235 -211
- package/dist/index119.js +2 -2
- package/dist/index121.js +6 -6
- package/dist/index123.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index129.js +1 -1
- package/dist/index13.js +2 -2
- package/dist/index131.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +5 -5
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index205.js +2 -115
- package/dist/index206.js +126 -2
- package/dist/index207.js +5 -65
- package/dist/index208.js +127 -0
- package/dist/index209.js +16 -13
- package/dist/index21.js +16 -16
- package/dist/index210.js +15 -19
- package/dist/index211.js +19 -4
- package/dist/index212.js +15 -13
- package/dist/index213.js +2 -3
- package/dist/index214.js +2 -126
- package/dist/index215.js +41 -5
- package/dist/index216.js +13 -125
- package/dist/index217.js +19 -15
- package/dist/index218.js +6 -16
- package/dist/index219.js +15 -19
- package/dist/index220.js +65 -15
- package/dist/index222.js +13 -2
- package/dist/index223.js +5 -41
- package/dist/index224.js +2 -6
- package/dist/index225.js +369 -15
- package/dist/index226.js +3 -5
- package/dist/index227.js +7 -2
- package/dist/index228.js +7 -368
- package/dist/index229.js +19 -86
- package/dist/index23.js +19 -19
- package/dist/index230.js +29 -0
- package/dist/index231.js +3 -25
- package/dist/index232.js +250 -17
- package/dist/index233.js +50 -49
- package/dist/index234.js +44 -15
- package/dist/index235.js +5 -3
- package/dist/index236.js +60 -12
- package/dist/index237.js +3 -16
- package/dist/index238.js +115 -2
- package/dist/index239.js +4 -4
- package/dist/index240.js +2 -2
- package/dist/index241.js +4 -19
- package/dist/index242.js +2 -27
- package/dist/index243.js +84 -6
- package/dist/index245.js +24 -51
- package/dist/index246.js +17 -44
- package/dist/index247.js +51 -5
- package/dist/index248.js +15 -60
- package/dist/index249.js +12 -3
- package/dist/index25.js +7 -7
- package/dist/index250.js +16 -7
- package/dist/index253.js +18 -2
- package/dist/index254.js +105 -17
- package/dist/{index257.js → index256.js} +1 -1
- package/dist/index258.js +14 -0
- package/dist/index259.js +214 -12
- package/dist/index262.js +9 -6
- package/dist/index263.js +23 -16
- package/dist/index264.js +89 -8
- package/dist/index266.js +6 -90
- package/dist/index267.js +18 -0
- package/dist/index269.js +9 -224
- package/dist/index27.js +1 -1
- package/dist/index270.js +8 -3
- package/dist/index271.js +283 -0
- package/dist/index272.js +6 -7
- package/dist/index273.js +2 -176
- package/dist/index274.js +2 -7
- package/dist/index275.js +2 -11
- package/dist/index276.js +2 -281
- package/dist/index277.js +2 -6
- package/dist/index278.js +2 -2
- package/dist/index279.js +126 -2
- package/dist/index280.js +431 -2
- package/dist/index281.js +176 -2
- package/dist/index282.js +2 -2
- package/dist/index283.js +3 -2
- package/dist/index285.js +5 -429
- package/dist/index286.js +21 -1
- package/dist/index288.js +9 -0
- package/dist/index289.js +11 -3
- package/dist/index29.js +3 -3
- package/dist/index290.js +87 -15
- package/dist/index291.js +199 -8
- package/dist/index292.js +431 -23
- package/dist/index293.js +126 -3
- package/dist/index294.js +219 -431
- package/dist/index295.js +2 -127
- package/dist/index296.js +2 -200
- package/dist/index297.js +2 -2
- package/dist/index298.js +2 -2
- package/dist/index299.js +1 -1
- package/dist/index300.js +1 -1
- package/dist/index301.js +28 -2
- package/dist/index302.js +21 -1
- package/dist/index304.js +6 -0
- package/dist/index305.js +3 -8
- package/dist/index306.js +15 -87
- package/dist/index307.js +1 -1
- package/dist/index308.js +1 -1
- package/dist/index309.js +2 -214
- package/dist/index31.js +2 -2
- package/dist/index311.js +5 -3
- package/dist/index312.js +67 -3
- package/dist/index313.js +3 -58
- package/dist/index314.js +5 -5
- package/dist/index315.js +8 -67
- package/dist/index316.js +3 -7
- package/dist/index317.js +3 -19
- package/dist/index318.js +58 -3
- package/dist/index319.js +3 -32
- package/dist/index320.js +28 -21
- package/dist/index321.js +25 -52
- package/dist/index322.js +7 -53
- package/dist/index323.js +6 -4
- package/dist/index324.js +18 -7
- package/dist/index325.js +53 -7
- package/dist/index326.js +53 -4
- package/dist/index328.js +480 -2
- package/dist/index329.js +4 -0
- package/dist/index33.js +8 -8
- package/dist/index35.js +4 -4
- package/dist/index37.js +176 -175
- package/dist/index39.js +3 -3
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +8 -8
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index61.js +1 -1
- package/dist/index75.js +37 -35
- package/dist/index77.js +54 -50
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +4 -4
- package/dist/index86.js +1 -1
- package/dist/index88.js +5 -5
- package/dist/index90.js +1 -1
- package/dist/types/ColumnName.d.ts +4 -0
- package/dist/types/Option.d.ts +2 -2
- package/dist/types/PrefixWith.d.ts +1 -0
- package/package.json +1 -1
- package/dist/index221.js +0 -4
- package/dist/index244.js +0 -252
- package/dist/index255.js +0 -108
- package/dist/index265.js +0 -25
- package/dist/index284.js +0 -128
- package/dist/index287.js +0 -24
- package/dist/index303.js +0 -24
- package/dist/index331.js +0 -482
@@ -153,7 +153,11 @@ declare function __VLS_template(): {
|
|
153
153
|
};
|
154
154
|
$forceUpdate: () => void;
|
155
155
|
$nextTick: typeof import('vue').nextTick;
|
156
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (
|
156
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (
|
157
|
+
/**
|
158
|
+
* These events are just propagated
|
159
|
+
*/
|
160
|
+
...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
157
161
|
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
158
162
|
$slots: {
|
159
163
|
"prepend-outer"?(_: {}): any;
|
@@ -213,7 +217,11 @@ declare function __VLS_template(): {
|
|
213
217
|
};
|
214
218
|
$forceUpdate: () => void;
|
215
219
|
$nextTick: typeof import('vue').nextTick;
|
216
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (
|
220
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (
|
221
|
+
/**
|
222
|
+
* These events are just propagated
|
223
|
+
*/
|
224
|
+
...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
217
225
|
} & Readonly<{}> & Omit<Readonly<{
|
218
226
|
'append:icon'?: string;
|
219
227
|
clearable?: boolean;
|
@@ -290,7 +298,11 @@ declare function __VLS_template(): {
|
|
290
298
|
};
|
291
299
|
$forceUpdate: () => void;
|
292
300
|
$nextTick: typeof import('vue').nextTick;
|
293
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (
|
301
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (
|
302
|
+
/**
|
303
|
+
* These events are just propagated
|
304
|
+
*/
|
305
|
+
...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
294
306
|
} & Readonly<{
|
295
307
|
firstDayOfWeek: number;
|
296
308
|
}> & Omit<Readonly<import('../..').BaseDatePickerProps> & Readonly<{
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
export type BaseSelectProps = {
|
1
|
+
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
2
|
+
export type BaseSelectProps<Item> = {
|
4
3
|
/**
|
5
4
|
* Allows typing into the input.
|
6
5
|
*/
|
@@ -77,15 +76,15 @@ export type BaseSelectProps = {
|
|
77
76
|
/**
|
78
77
|
* Used to retrieve items can be an array or a function.
|
79
78
|
*/
|
80
|
-
items:
|
79
|
+
items: Item[] | ((query: string, prefill: boolean, modelValue: any[]) => Promise<Item[]>) | ((query: string, prefill: boolean, modelValue: any[]) => Item[]);
|
81
80
|
/**
|
82
81
|
* Defines a path that returns a property of the object to use as text or a function that returns a string
|
83
82
|
*/
|
84
|
-
itemText?: string | ((item:
|
83
|
+
itemText?: string | ((item: Item) => string) | undefined;
|
85
84
|
/**
|
86
85
|
* Defines a path that returns a property of the object to use as value or a function that returns any value
|
87
86
|
*/
|
88
|
-
itemValue?: string | ((item:
|
87
|
+
itemValue?: string | ((item: Item) => string) | undefined;
|
89
88
|
/**
|
90
89
|
* Sets the component in a loading state, usually triggering some visual styles.
|
91
90
|
*/
|
@@ -183,7 +182,7 @@ export type BaseSelectEvents = {
|
|
183
182
|
(e: 'update:modelValue', value: any): void;
|
184
183
|
(e: 'option:add', text: string): void;
|
185
184
|
};
|
186
|
-
export type BaseSelectSlots = {
|
185
|
+
export type BaseSelectSlots<Item> = {
|
187
186
|
append?: (props: {
|
188
187
|
query: string;
|
189
188
|
}) => any;
|
@@ -216,18 +215,12 @@ export type BaseSelectSlots = {
|
|
216
215
|
focused: boolean;
|
217
216
|
index: number;
|
218
217
|
hasErrors?: boolean;
|
219
|
-
item:
|
218
|
+
item: Item;
|
220
219
|
loading: boolean;
|
221
220
|
selected: boolean;
|
222
221
|
text: string;
|
223
222
|
value: any;
|
224
223
|
}) => any;
|
225
|
-
'option:append'?: (props: {
|
226
|
-
item: any;
|
227
|
-
}) => any;
|
228
|
-
'option:prepend'?: (props: {
|
229
|
-
item: any;
|
230
|
-
}) => any;
|
231
224
|
'options:append'?: (props: object) => any;
|
232
225
|
'options:prepend'?: (props: object) => any;
|
233
226
|
prefix?: (props: object) => any;
|
@@ -239,358 +232,27 @@ export type BaseSelectSlots = {
|
|
239
232
|
}) => any;
|
240
233
|
suffix?: (props: object) => any;
|
241
234
|
};
|
242
|
-
declare
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
$emit: (event: string, ...args: any[]) => void;
|
262
|
-
$el: any;
|
263
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
264
|
-
beforeCreate?: (() => void) | (() => void)[];
|
265
|
-
created?: (() => void) | (() => void)[];
|
266
|
-
beforeMount?: (() => void) | (() => void)[];
|
267
|
-
mounted?: (() => void) | (() => void)[];
|
268
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
269
|
-
updated?: (() => void) | (() => void)[];
|
270
|
-
activated?: (() => void) | (() => void)[];
|
271
|
-
deactivated?: (() => void) | (() => void)[];
|
272
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
273
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
274
|
-
destroyed?: (() => void) | (() => void)[];
|
275
|
-
unmounted?: (() => void) | (() => void)[];
|
276
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
277
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
278
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
279
|
-
};
|
280
|
-
$forceUpdate: () => void;
|
281
|
-
$nextTick: typeof nextTick;
|
282
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
283
|
-
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
284
|
-
$slots: {
|
285
|
-
"prepend-outer"?(_: {}): any;
|
286
|
-
default?(_: {}): any;
|
287
|
-
"append-outer"?(_: {}): any;
|
288
|
-
};
|
289
|
-
}) | null;
|
290
|
-
innerContainer: ({
|
291
|
-
$: import('vue').ComponentInternalInstance;
|
292
|
-
$data: {};
|
293
|
-
$props: {
|
294
|
-
readonly 'append:icon'?: string | undefined;
|
295
|
-
readonly clearable?: boolean | undefined;
|
296
|
-
readonly 'prepend:icon'?: string | undefined;
|
297
|
-
readonly preventFocus?: boolean | undefined;
|
298
|
-
readonly "onClick:clear"?: (() => any) | undefined;
|
299
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
300
|
-
$attrs: {
|
301
|
-
[x: string]: unknown;
|
302
|
-
};
|
303
|
-
$refs: {
|
304
|
-
[x: string]: unknown;
|
305
|
-
};
|
306
|
-
$slots: Readonly<{
|
307
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
308
|
-
}>;
|
309
|
-
$root: import('vue').ComponentPublicInstance | null;
|
310
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
311
|
-
$host: Element | null;
|
312
|
-
$emit: (event: "click:clear") => void;
|
313
|
-
$el: any;
|
314
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
315
|
-
'append:icon'?: string;
|
316
|
-
clearable?: boolean;
|
317
|
-
'prepend:icon'?: string;
|
318
|
-
preventFocus?: boolean;
|
319
|
-
}> & Readonly<{
|
320
|
-
"onClick:clear"?: (() => any) | undefined;
|
321
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
322
|
-
"click:clear": () => any;
|
323
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
324
|
-
beforeCreate?: (() => void) | (() => void)[];
|
325
|
-
created?: (() => void) | (() => void)[];
|
326
|
-
beforeMount?: (() => void) | (() => void)[];
|
327
|
-
mounted?: (() => void) | (() => void)[];
|
328
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
329
|
-
updated?: (() => void) | (() => void)[];
|
330
|
-
activated?: (() => void) | (() => void)[];
|
331
|
-
deactivated?: (() => void) | (() => void)[];
|
332
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
333
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
334
|
-
destroyed?: (() => void) | (() => void)[];
|
335
|
-
unmounted?: (() => void) | (() => void)[];
|
336
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
337
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
338
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
339
|
-
};
|
340
|
-
$forceUpdate: () => void;
|
341
|
-
$nextTick: typeof nextTick;
|
342
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
343
|
-
} & Readonly<{}> & Omit<Readonly<{
|
344
|
-
'append:icon'?: string;
|
345
|
-
clearable?: boolean;
|
346
|
-
'prepend:icon'?: string;
|
347
|
-
preventFocus?: boolean;
|
348
|
-
}> & Readonly<{
|
349
|
-
"onClick:clear"?: (() => any) | undefined;
|
350
|
-
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
351
|
-
$slots: {
|
352
|
-
prepend?(_: {}): any;
|
353
|
-
prefix?(_: {}): any;
|
354
|
-
default?(_: {}): any;
|
355
|
-
append?(_: {}): any;
|
356
|
-
suffix?(_: {}): any;
|
357
|
-
};
|
358
|
-
}) | null;
|
359
|
-
commaBox: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
360
|
-
options: BaseOption[];
|
361
|
-
}> & Readonly<{
|
362
|
-
"onOption:unselected"?: ((option: BaseOption) => any) | undefined;
|
363
|
-
}>, {
|
364
|
-
focusNext: () => void;
|
365
|
-
focusPrevious: () => Promise<void>;
|
366
|
-
focusFirst: () => void;
|
367
|
-
focusFirstSelected: () => void;
|
368
|
-
focusLast: () => void;
|
369
|
-
focusLastSelected: () => void;
|
370
|
-
blur: () => void;
|
371
|
-
confirmOption: () => void;
|
372
|
-
focusByHash: (hash: BaseOption["valueHash"]) => void;
|
373
|
-
getHighlighted: () => BaseOption | undefined;
|
374
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
375
|
-
"option:unselected": (option: BaseOption) => any;
|
376
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
377
|
-
P: {};
|
378
|
-
B: {};
|
379
|
-
D: {};
|
380
|
-
C: {};
|
381
|
-
M: {};
|
382
|
-
Defaults: {};
|
383
|
-
}, Readonly<{
|
384
|
-
options: BaseOption[];
|
385
|
-
}> & Readonly<{
|
386
|
-
"onOption:unselected"?: ((option: BaseOption) => any) | undefined;
|
387
|
-
}>, {
|
388
|
-
focusNext: () => void;
|
389
|
-
focusPrevious: () => Promise<void>;
|
390
|
-
focusFirst: () => void;
|
391
|
-
focusFirstSelected: () => void;
|
392
|
-
focusLast: () => void;
|
393
|
-
focusLastSelected: () => void;
|
394
|
-
blur: () => void;
|
395
|
-
confirmOption: () => void;
|
396
|
-
focusByHash: (hash: BaseOption["valueHash"]) => void;
|
397
|
-
getHighlighted: () => BaseOption | undefined;
|
398
|
-
}, {}, {}, {}, {}> | null;
|
399
|
-
chipsBox: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
400
|
-
options: BaseOption[];
|
401
|
-
}> & Readonly<{
|
402
|
-
"onOption:unselected"?: ((option: BaseOption) => any) | undefined;
|
403
|
-
}>, {
|
404
|
-
focusNext: () => void;
|
405
|
-
focusPrevious: () => Promise<void>;
|
406
|
-
focusFirst: () => void;
|
407
|
-
focusFirstSelected: () => void;
|
408
|
-
focusLast: () => void;
|
409
|
-
focusLastSelected: () => void;
|
410
|
-
blur: () => void;
|
411
|
-
confirmOption: () => void;
|
412
|
-
focusByHash: (hash: BaseOption["valueHash"]) => void;
|
413
|
-
getHighlighted: () => BaseOption | undefined;
|
414
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
415
|
-
"option:unselected": (option: BaseOption) => any;
|
416
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
417
|
-
P: {};
|
418
|
-
B: {};
|
419
|
-
D: {};
|
420
|
-
C: {};
|
421
|
-
M: {};
|
422
|
-
Defaults: {};
|
423
|
-
}, Readonly<{
|
424
|
-
options: BaseOption[];
|
425
|
-
}> & Readonly<{
|
426
|
-
"onOption:unselected"?: ((option: BaseOption) => any) | undefined;
|
427
|
-
}>, {
|
428
|
-
focusNext: () => void;
|
429
|
-
focusPrevious: () => Promise<void>;
|
430
|
-
focusFirst: () => void;
|
431
|
-
focusFirstSelected: () => void;
|
432
|
-
focusLast: () => void;
|
433
|
-
focusLastSelected: () => void;
|
434
|
-
blur: () => void;
|
435
|
-
confirmOption: () => void;
|
436
|
-
focusByHash: (hash: BaseOption["valueHash"]) => void;
|
437
|
-
getHighlighted: () => BaseOption | undefined;
|
438
|
-
}, {}, {}, {}, {}> | null;
|
439
|
-
input: HTMLInputElement;
|
440
|
-
optionsContainer: ({
|
441
|
-
$: import('vue').ComponentInternalInstance;
|
442
|
-
$data: {};
|
443
|
-
$props: {
|
444
|
-
readonly compact?: boolean | undefined;
|
445
|
-
readonly options: BaseOption[];
|
446
|
-
readonly open?: boolean | undefined;
|
447
|
-
readonly loading?: boolean | undefined;
|
448
|
-
readonly transitionDuration?: number | undefined;
|
449
|
-
readonly loadingText?: string | undefined;
|
450
|
-
readonly noDataText?: string | undefined;
|
451
|
-
readonly "onOption:unselected"?: ((option: BaseOption) => any) | undefined;
|
452
|
-
readonly "onOption:selected"?: ((option: BaseOption) => any) | undefined;
|
453
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
454
|
-
$attrs: {
|
455
|
-
[x: string]: unknown;
|
456
|
-
};
|
457
|
-
$refs: {
|
458
|
-
[x: string]: unknown;
|
459
|
-
};
|
460
|
-
$slots: Readonly<{
|
461
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
462
|
-
}>;
|
463
|
-
$root: import('vue').ComponentPublicInstance | null;
|
464
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
465
|
-
$host: Element | null;
|
466
|
-
$emit: ((event: "option:unselected", option: BaseOption) => void) & ((event: "option:selected", option: BaseOption) => void);
|
467
|
-
$el: any;
|
468
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
469
|
-
compact?: boolean;
|
470
|
-
options: BaseOption[];
|
471
|
-
open?: boolean;
|
472
|
-
loading?: boolean;
|
473
|
-
transitionDuration?: number;
|
474
|
-
loadingText?: string;
|
475
|
-
noDataText?: string;
|
476
|
-
}> & Readonly<{
|
477
|
-
"onOption:unselected"?: ((option: BaseOption) => any) | undefined;
|
478
|
-
"onOption:selected"?: ((option: BaseOption) => any) | undefined;
|
479
|
-
}>, {
|
480
|
-
focusNext: () => void;
|
481
|
-
focusPrevious: () => Promise<void>;
|
482
|
-
focusFirst: () => void;
|
483
|
-
focusFirstSelected: () => void;
|
484
|
-
focusLast: () => void;
|
485
|
-
focusLastSelected: () => void;
|
486
|
-
blur: () => void;
|
487
|
-
confirmOption: () => void;
|
488
|
-
focusByHash: (hash: BaseOption["valueHash"]) => void;
|
489
|
-
getHighlighted: () => BaseOption | undefined;
|
490
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
491
|
-
"option:unselected": (option: BaseOption) => any;
|
492
|
-
"option:selected": (option: BaseOption) => any;
|
493
|
-
}, string, {
|
494
|
-
transitionDuration: number;
|
495
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
496
|
-
beforeCreate?: (() => void) | (() => void)[];
|
497
|
-
created?: (() => void) | (() => void)[];
|
498
|
-
beforeMount?: (() => void) | (() => void)[];
|
499
|
-
mounted?: (() => void) | (() => void)[];
|
500
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
501
|
-
updated?: (() => void) | (() => void)[];
|
502
|
-
activated?: (() => void) | (() => void)[];
|
503
|
-
deactivated?: (() => void) | (() => void)[];
|
504
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
505
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
506
|
-
destroyed?: (() => void) | (() => void)[];
|
507
|
-
unmounted?: (() => void) | (() => void)[];
|
508
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
509
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
510
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
511
|
-
};
|
512
|
-
$forceUpdate: () => void;
|
513
|
-
$nextTick: typeof nextTick;
|
514
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
515
|
-
} & Readonly<{
|
516
|
-
transitionDuration: number;
|
517
|
-
}> & Omit<Readonly<{
|
518
|
-
compact?: boolean;
|
519
|
-
options: BaseOption[];
|
520
|
-
open?: boolean;
|
521
|
-
loading?: boolean;
|
522
|
-
transitionDuration?: number;
|
523
|
-
loadingText?: string;
|
524
|
-
noDataText?: string;
|
525
|
-
}> & Readonly<{
|
526
|
-
"onOption:unselected"?: ((option: BaseOption) => any) | undefined;
|
527
|
-
"onOption:selected"?: ((option: BaseOption) => any) | undefined;
|
528
|
-
}>, "transitionDuration" | "blur" | "focusNext" | "focusPrevious" | "focusFirst" | "focusFirstSelected" | "focusLast" | "focusLastSelected" | "confirmOption" | "focusByHash" | "getHighlighted"> & import('vue').ShallowUnwrapRef<{
|
529
|
-
focusNext: () => void;
|
530
|
-
focusPrevious: () => Promise<void>;
|
531
|
-
focusFirst: () => void;
|
532
|
-
focusFirstSelected: () => void;
|
533
|
-
focusLast: () => void;
|
534
|
-
focusLastSelected: () => void;
|
535
|
-
blur: () => void;
|
536
|
-
confirmOption: () => void;
|
537
|
-
focusByHash: (hash: BaseOption["valueHash"]) => void;
|
538
|
-
getHighlighted: () => BaseOption | undefined;
|
539
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
540
|
-
$slots: Partial<Record<"loading", (_: {}) => any>> & Partial<Record<"no-data", (_: {}) => any>> & {
|
541
|
-
"options:prepend"?(_: {}): any;
|
542
|
-
option?(_: {
|
543
|
-
disabled: boolean;
|
544
|
-
focused: boolean;
|
545
|
-
index: number;
|
546
|
-
item: any;
|
547
|
-
selected: boolean;
|
548
|
-
text: string;
|
549
|
-
value: any;
|
550
|
-
}): any;
|
551
|
-
"options:append"?(_: {}): any;
|
552
|
-
};
|
553
|
-
}) | null;
|
554
|
-
};
|
555
|
-
attrs: Partial<{}>;
|
235
|
+
declare const _default: <Item = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
236
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
237
|
+
readonly onInput?: ((event: Event) => any) | undefined;
|
238
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
239
|
+
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
240
|
+
readonly onChange?: ((event: Event) => any) | undefined;
|
241
|
+
readonly onClick?: ((event: MouseEvent) => any) | undefined;
|
242
|
+
readonly onFocus?: ((event: FocusEvent) => any) | undefined;
|
243
|
+
readonly onInactive?: (() => any) | undefined;
|
244
|
+
readonly "onOption:add"?: ((text: string) => any) | undefined;
|
245
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onInput" | "onClick" | "onUpdate:modelValue" | "onInactive" | "onOption:add"> & BaseSelectProps<Item>> & import('vue').PublicProps;
|
246
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
247
|
+
attrs: any;
|
248
|
+
slots: Readonly<BaseSelectSlots<Item>> & BaseSelectSlots<Item>;
|
249
|
+
emit: BaseSelectEvents;
|
250
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
251
|
+
[key: string]: any;
|
252
|
+
}> & {
|
253
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
556
254
|
};
|
557
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
558
|
-
declare const __VLS_component: import('vue').DefineComponent<BaseSelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
559
|
-
input: (event: Event) => any;
|
560
|
-
"update:modelValue": (value: any) => any;
|
561
|
-
blur: (event: FocusEvent) => any;
|
562
|
-
change: (event: Event) => any;
|
563
|
-
click: (event: MouseEvent) => any;
|
564
|
-
focus: (event: FocusEvent) => any;
|
565
|
-
inactive: () => any;
|
566
|
-
"option:add": (text: string) => any;
|
567
|
-
}, string, import('vue').PublicProps, Readonly<BaseSelectProps> & Readonly<{
|
568
|
-
onInput?: ((event: Event) => any) | undefined;
|
569
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
570
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
571
|
-
onChange?: ((event: Event) => any) | undefined;
|
572
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
573
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
574
|
-
onInactive?: (() => any) | undefined;
|
575
|
-
"onOption:add"?: ((text: string) => any) | undefined;
|
576
|
-
}>, {
|
577
|
-
autocomplete: string;
|
578
|
-
transitionDuration: number;
|
579
|
-
allowWriting: boolean | "not-mobile";
|
580
|
-
dependencies: any[];
|
581
|
-
depsDebounceTime: number;
|
582
|
-
modelValueDebounceTime: number;
|
583
|
-
max: number;
|
584
|
-
prefill: boolean | "focus";
|
585
|
-
filterBy: string | string[] | false | ((value: any, item: any) => boolean) | null;
|
586
|
-
maxSelectedLabels: number;
|
587
|
-
queryDebounceTime: number;
|
588
|
-
updateOnAnimationFrame: boolean;
|
589
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
590
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
591
255
|
export default _default;
|
592
|
-
type
|
593
|
-
|
594
|
-
|
595
|
-
};
|
596
|
-
};
|
256
|
+
type __VLS_PrettifyLocal<T> = {
|
257
|
+
[K in keyof T]: T[K];
|
258
|
+
} & {};
|