bitboss-ui 2.0.117 → 2.0.119

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +15 -3
  2. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +29 -367
  3. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +76 -89
  4. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +75 -89
  5. package/dist/components/BbRows/BbRows.vue.d.ts +70 -85
  6. package/dist/components/BbSelect/BbSelect.vue.d.ts +1 -10
  7. package/dist/components/BbTable/BbTable.vue.d.ts +63 -91
  8. package/dist/components/BbTable/types.d.ts +46 -27
  9. package/dist/components/ListBox.vue.d.ts +40 -44
  10. package/dist/index100.js +91 -82
  11. package/dist/index101.js +7 -16
  12. package/dist/index111.js +235 -211
  13. package/dist/index119.js +2 -2
  14. package/dist/index121.js +5 -5
  15. package/dist/index123.js +1 -1
  16. package/dist/index125.js +1 -1
  17. package/dist/index127.js +1 -1
  18. package/dist/index128.js +1 -1
  19. package/dist/index129.js +1 -1
  20. package/dist/index13.js +2 -2
  21. package/dist/index133.js +2 -2
  22. package/dist/index15.js +5 -5
  23. package/dist/index17.js +3 -3
  24. package/dist/index19.js +8 -8
  25. package/dist/index207.js +124 -63
  26. package/dist/index208.js +7 -0
  27. package/dist/index209.js +125 -13
  28. package/dist/index21.js +16 -16
  29. package/dist/index210.js +15 -19
  30. package/dist/index211.js +16 -4
  31. package/dist/index212.js +19 -13
  32. package/dist/index213.js +15 -3
  33. package/dist/index214.js +2 -126
  34. package/dist/index215.js +2 -5
  35. package/dist/index216.js +40 -124
  36. package/dist/index217.js +13 -16
  37. package/dist/index218.js +19 -15
  38. package/dist/index219.js +6 -19
  39. package/dist/index220.js +15 -15
  40. package/dist/index221.js +65 -2
  41. package/dist/index223.js +12 -40
  42. package/dist/index224.js +5 -6
  43. package/dist/index225.js +2 -15
  44. package/dist/index226.js +369 -5
  45. package/dist/index227.js +4 -2
  46. package/dist/index228.js +17 -367
  47. package/dist/index229.js +27 -86
  48. package/dist/index23.js +19 -19
  49. package/dist/index230.js +5 -0
  50. package/dist/index231.js +8 -25
  51. package/dist/index232.js +250 -17
  52. package/dist/index233.js +50 -49
  53. package/dist/index234.js +44 -15
  54. package/dist/index235.js +5 -3
  55. package/dist/index236.js +60 -12
  56. package/dist/index237.js +86 -16
  57. package/dist/index239.js +25 -4
  58. package/dist/index240.js +17 -2
  59. package/dist/index241.js +50 -18
  60. package/dist/index242.js +15 -27
  61. package/dist/index243.js +12 -8
  62. package/dist/index244.js +16 -250
  63. package/dist/index245.js +2 -52
  64. package/dist/index246.js +4 -44
  65. package/dist/index247.js +2 -5
  66. package/dist/index248.js +3 -60
  67. package/dist/index249.js +7 -3
  68. package/dist/index25.js +7 -7
  69. package/dist/index250.js +3 -7
  70. package/dist/index251.js +106 -2
  71. package/dist/index253.js +100 -2
  72. package/dist/index255.js +17 -105
  73. package/dist/index256.js +14 -0
  74. package/dist/index257.js +197 -83
  75. package/dist/index258.js +4 -0
  76. package/dist/index259.js +2 -12
  77. package/dist/index262.js +3 -3
  78. package/dist/index266.js +3 -3
  79. package/dist/index269.js +280 -223
  80. package/dist/index27.js +1 -1
  81. package/dist/index270.js +6 -3
  82. package/dist/index271.js +4 -0
  83. package/dist/index272.js +2 -7
  84. package/dist/index273.js +2 -176
  85. package/dist/index274.js +2 -7
  86. package/dist/index275.js +2 -11
  87. package/dist/index276.js +2 -281
  88. package/dist/index277.js +125 -5
  89. package/dist/index278.js +431 -2
  90. package/dist/index279.js +176 -2
  91. package/dist/index280.js +2 -2
  92. package/dist/index281.js +3 -2
  93. package/dist/index283.js +7 -2
  94. package/dist/index284.js +21 -125
  95. package/dist/index286.js +7 -2
  96. package/dist/index287.js +11 -22
  97. package/dist/index288.js +438 -0
  98. package/dist/index289.js +127 -3
  99. package/dist/index29.js +2 -2
  100. package/dist/index290.js +197 -14
  101. package/dist/index291.js +4 -9
  102. package/dist/index293.js +3 -4
  103. package/dist/index294.js +15 -434
  104. package/dist/index295.js +8 -126
  105. package/dist/index296.js +2 -200
  106. package/dist/index298.js +2 -2
  107. package/dist/index299.js +1 -1
  108. package/dist/index300.js +1 -1
  109. package/dist/index301.js +1 -1
  110. package/dist/index302.js +21 -1
  111. package/dist/index304.js +91 -0
  112. package/dist/index306.js +218 -83
  113. package/dist/index307.js +1 -1
  114. package/dist/index308.js +1 -1
  115. package/dist/index309.js +2 -214
  116. package/dist/index31.js +2 -2
  117. package/dist/index311.js +5 -3
  118. package/dist/index312.js +67 -3
  119. package/dist/index313.js +3 -58
  120. package/dist/index314.js +3 -5
  121. package/dist/index315.js +56 -65
  122. package/dist/index316.js +4 -6
  123. package/dist/index317.js +7 -18
  124. package/dist/index318.js +7 -3
  125. package/dist/index319.js +1 -1
  126. package/dist/index320.js +1 -1
  127. package/dist/index321.js +4 -53
  128. package/dist/index322.js +28 -28
  129. package/dist/index323.js +53 -5
  130. package/dist/index324.js +3 -8
  131. package/dist/index325.js +6 -6
  132. package/dist/index326.js +18 -3
  133. package/dist/index328.js +1 -1
  134. package/dist/index33.js +8 -8
  135. package/dist/index331.js +1 -1
  136. package/dist/index35.js +4 -4
  137. package/dist/index37.js +176 -175
  138. package/dist/index39.js +4 -4
  139. package/dist/index41.js +2 -2
  140. package/dist/index43.js +8 -8
  141. package/dist/index45.js +8 -8
  142. package/dist/index47.js +2 -2
  143. package/dist/index49.js +2 -2
  144. package/dist/index53.js +1 -1
  145. package/dist/index55.js +1 -1
  146. package/dist/index57.js +2 -2
  147. package/dist/index61.js +1 -1
  148. package/dist/index75.js +35 -33
  149. package/dist/index77.js +54 -50
  150. package/dist/index81.js +1 -1
  151. package/dist/index84.js +4 -4
  152. package/dist/index86.js +1 -1
  153. package/dist/index88.js +3 -3
  154. package/dist/types/ColumnName.d.ts +4 -0
  155. package/dist/types/Option.d.ts +2 -2
  156. package/dist/types/PrefixWith.d.ts +1 -0
  157. package/package.json +1 -1
  158. package/dist/index222.js +0 -4
  159. package/dist/index238.js +0 -4
  160. package/dist/index252.js +0 -4
  161. package/dist/index254.js +0 -20
  162. package/dist/index282.js +0 -4
  163. package/dist/index285.js +0 -433
  164. package/dist/index303.js +0 -24
@@ -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 (...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;
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 (...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;
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 (...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;
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 { nextTick, HTMLAttributes, InputHTMLAttributes } from 'vue';
2
- import { Option as BaseOption } from '../../types/Option';
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: any[] | ((query: string, prefill: boolean, modelValue: any) => Promise<any[]>) | ((query: string, prefill: boolean, modelValue: any) => any[]);
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: any) => string) | undefined;
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: any) => string) | undefined;
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: any;
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 function __VLS_template(): {
243
- slots: Readonly<BaseSelectSlots> & BaseSelectSlots;
244
- refs: {
245
- outerContainer: ({
246
- $: import('vue').ComponentInternalInstance;
247
- $data: {};
248
- $props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
249
- $attrs: {
250
- [x: string]: unknown;
251
- };
252
- $refs: {
253
- [x: string]: unknown;
254
- };
255
- $slots: Readonly<{
256
- [name: string]: import('vue').Slot<any> | undefined;
257
- }>;
258
- $root: import('vue').ComponentPublicInstance | null;
259
- $parent: import('vue').ComponentPublicInstance | null;
260
- $host: Element | null;
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 __VLS_WithTemplateSlots<T, S> = T & {
593
- new (): {
594
- $slots: S;
595
- };
596
- };
256
+ type __VLS_PrettifyLocal<T> = {
257
+ [K in keyof T]: T[K];
258
+ } & {};