bitboss-ui 2.0.87 → 2.0.88

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 (213) hide show
  1. package/dist/components/BaseButton/BaseButton.vue.d.ts +14 -7
  2. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +17 -6
  3. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +27 -224
  4. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +14 -2
  5. package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +1 -1
  6. package/dist/components/BaseDatePicker/BaseDatePickerHeader.vue.d.ts +1 -1
  7. package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +27 -18
  8. package/dist/components/BaseDatePicker/BaseDatePickerMonthSelector.vue.d.ts +1 -1
  9. package/dist/components/BaseDatePicker/BaseDatePickerYearSelector.vue.d.ts +1 -1
  10. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +155 -19
  11. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +16 -2
  12. package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +10 -3
  13. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +13 -2
  14. package/dist/components/BaseRadio/BaseRadio.vue.d.ts +15 -6
  15. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +27 -224
  16. package/dist/components/BaseRating/BaseRating.vue.d.ts +13 -2
  17. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +315 -6
  18. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +17 -3
  19. package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +13 -2
  20. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +28 -217
  21. package/dist/components/BaseTag/BaseTag.vue.d.ts +200 -4
  22. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +14 -3
  23. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +13 -2
  24. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +28 -20
  25. package/dist/components/BbAlert/BbAlert.vue.d.ts +23 -16
  26. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +15 -6
  27. package/dist/components/BbBadge/BbBadge.vue.d.ts +14 -7
  28. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +51 -44
  29. package/dist/components/BbButton/BbButton.vue.d.ts +13 -6
  30. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +28 -19
  31. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +32 -252
  32. package/dist/components/BbChip/BbChip.vue.d.ts +13 -6
  33. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +13 -6
  34. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +21 -12
  35. package/dist/components/BbConfirm/BbConfirm.vue.d.ts +24 -17
  36. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +29 -22
  37. package/dist/components/BbDialog/BbDialog.vue.d.ts +9 -2
  38. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +169 -159
  39. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +190 -183
  40. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +26 -17
  41. package/dist/components/BbIntersection/BbIntersection.vue.d.ts +24 -15
  42. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +102 -12
  43. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +17 -3
  44. package/dist/components/BbPagination/BbPagination.vue.d.ts +33 -23
  45. package/dist/components/BbPopover/BbPopover.vue.d.ts +66 -54
  46. package/dist/components/BbRadio/BbRadio.vue.d.ts +28 -19
  47. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +32 -252
  48. package/dist/components/BbRating/BbRating.vue.d.ts +21 -12
  49. package/dist/components/BbRatio/BbRatio.vue.d.ts +14 -7
  50. package/dist/components/BbSelect/BbSelect.vue.d.ts +7 -162
  51. package/dist/components/BbSlider/BbSlider.vue.d.ts +21 -12
  52. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +13 -3
  53. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +28 -19
  54. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +32 -252
  55. package/dist/components/BbTab/BbTab.vue.d.ts +89 -78
  56. package/dist/components/BbTable/BbTable.vue.d.ts +95 -78
  57. package/dist/components/BbTable/types.d.ts +0 -4
  58. package/dist/components/BbTag/BbTag.vue.d.ts +11 -2
  59. package/dist/components/BbTeleport.vue.d.ts +10 -3
  60. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +21 -12
  61. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +21 -12
  62. package/dist/components/BbToast/BbToast.vue.d.ts +1 -1
  63. package/dist/components/BbToast/BbToastMessage.vue.d.ts +1 -1
  64. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +13 -3
  65. package/dist/components/BbTree/BbTree.vue.d.ts +9 -2
  66. package/dist/components/ChipsBox.vue.d.ts +2 -2
  67. package/dist/components/CommaBox.vue.d.ts +2 -2
  68. package/dist/components/CommonFloating.vue.d.ts +14 -4
  69. package/dist/components/CommonInputInnerContainer.vue.d.ts +16 -7
  70. package/dist/components/CommonInputOuterContainer.vue.d.ts +12 -5
  71. package/dist/components/ListBox.vue.d.ts +25 -16
  72. package/dist/components/OptionsContainer.vue.d.ts +26 -88
  73. package/dist/components/Transitions/Slide.vue.d.ts +12 -5
  74. package/dist/components/Transitions/SlideBack.vue.d.ts +12 -5
  75. package/dist/composables/useBroadcastChannelInstance.d.ts +2 -2
  76. package/dist/composables/useToast.d.ts +1 -1
  77. package/dist/composables/useWizard.d.ts +1 -1
  78. package/dist/index110.js +143 -135
  79. package/dist/index120.js +1 -1
  80. package/dist/index122.js +1 -1
  81. package/dist/index126.js +1 -1
  82. package/dist/index127.js +1 -1
  83. package/dist/index128.js +1 -1
  84. package/dist/index13.js +1 -1
  85. package/dist/index130.js +1 -1
  86. package/dist/index132.js +6 -6
  87. package/dist/index133.js +2 -2
  88. package/dist/index15.js +1 -1
  89. package/dist/index17.js +3 -3
  90. package/dist/index19.js +2 -2
  91. package/dist/index204.js +2 -81
  92. package/dist/index205.js +81 -2
  93. package/dist/index206.js +164 -2
  94. package/dist/index207.js +84 -4
  95. package/dist/index209.js +2 -2
  96. package/dist/index21.js +9 -9
  97. package/dist/index210.js +2 -2
  98. package/dist/index211.js +2 -2
  99. package/dist/index212.js +3 -3
  100. package/dist/index213.js +2 -2
  101. package/dist/index214.js +2 -2
  102. package/dist/index217.js +2 -2
  103. package/dist/index218.js +1 -1
  104. package/dist/index220.js +1 -1
  105. package/dist/index222.js +1 -1
  106. package/dist/index223.js +2 -2
  107. package/dist/index225.js +3 -3
  108. package/dist/index226.js +3 -4
  109. package/dist/index227.js +7 -164
  110. package/dist/index228.js +6 -82
  111. package/dist/index229.js +21 -0
  112. package/dist/index230.js +22 -14
  113. package/dist/index231.js +3 -27
  114. package/dist/index232.js +249 -3
  115. package/dist/index233.js +50 -6
  116. package/dist/index234.js +36 -241
  117. package/dist/index235.js +5 -52
  118. package/dist/index236.js +47 -31
  119. package/dist/index237.js +4 -5
  120. package/dist/index238.js +2 -60
  121. package/dist/index239.js +4 -3
  122. package/dist/index240.js +2 -7
  123. package/dist/index244.js +1 -1
  124. package/dist/index246.js +1 -1
  125. package/dist/index248.js +10 -2
  126. package/dist/index249.js +2 -9
  127. package/dist/index25.js +3 -3
  128. package/dist/index250.js +2 -3
  129. package/dist/index251.js +5 -5
  130. package/dist/index255.js +1 -1
  131. package/dist/index257.js +3 -9
  132. package/dist/index258.js +11 -3
  133. package/dist/index259.js +8 -280
  134. package/dist/index260.js +9 -6
  135. package/dist/index261.js +17 -2
  136. package/dist/index262.js +4 -2
  137. package/dist/index263.js +281 -2
  138. package/dist/index264.js +6 -2
  139. package/dist/index265.js +2 -2
  140. package/dist/index266.js +2 -126
  141. package/dist/index267.js +2 -431
  142. package/dist/index268.js +2 -176
  143. package/dist/index269.js +2 -3
  144. package/dist/index270.js +128 -0
  145. package/dist/index271.js +429 -5
  146. package/dist/index272.js +176 -22
  147. package/dist/index273.js +5 -0
  148. package/dist/index275.js +7 -3
  149. package/dist/index276.js +22 -12
  150. package/dist/index278.js +2 -9
  151. package/dist/index279.js +87 -15
  152. package/dist/index280.js +2 -4
  153. package/dist/index281.js +2 -436
  154. package/dist/index282.js +2 -127
  155. package/dist/index283.js +2 -200
  156. package/dist/index284.js +2 -2
  157. package/dist/index285.js +2 -2
  158. package/dist/index286.js +28 -2
  159. package/dist/index287.js +21 -1
  160. package/dist/index289.js +9 -2
  161. package/dist/index29.js +1 -1
  162. package/dist/index290.js +197 -25
  163. package/dist/index291.js +435 -21
  164. package/dist/index292.js +129 -0
  165. package/dist/index293.js +3 -88
  166. package/dist/index294.js +1 -1
  167. package/dist/index297.js +1 -1
  168. package/dist/index298.js +5 -2
  169. package/dist/index299.js +2 -5
  170. package/dist/index301.js +5 -4
  171. package/dist/index302.js +8 -4
  172. package/dist/index303.js +3 -59
  173. package/dist/index304.js +3 -3
  174. package/dist/index305.js +57 -32
  175. package/dist/index306.js +3 -7
  176. package/dist/index307.js +32 -4
  177. package/dist/index308.js +3 -7
  178. package/dist/index309.js +10 -6
  179. package/dist/index31.js +2 -2
  180. package/dist/index310.js +6 -18
  181. package/dist/index311.js +18 -3
  182. package/dist/index312.js +6 -10
  183. package/dist/{index316.js → index315.js} +1 -1
  184. package/dist/index33.js +2 -2
  185. package/dist/index35.js +2 -2
  186. package/dist/index37.js +3 -3
  187. package/dist/index39.js +4 -4
  188. package/dist/index41.js +2 -2
  189. package/dist/index43.js +2 -2
  190. package/dist/index45.js +1 -1
  191. package/dist/index55.js +1 -1
  192. package/dist/index57.js +1 -1
  193. package/dist/index61.js +2 -2
  194. package/dist/index81.js +1 -1
  195. package/dist/index84.js +1 -1
  196. package/dist/index86.js +1 -1
  197. package/dist/index88.js +1 -1
  198. package/dist/index90.js +1 -1
  199. package/dist/utilities/functions/booleanishToBoolean.d.ts +1 -1
  200. package/dist/utilities/functions/deburr.d.ts +1 -1
  201. package/dist/utilities/functions/flattenTree.d.ts +1 -1
  202. package/dist/utilities/functions/groupBy.d.ts +1 -1
  203. package/dist/utilities/functions/indexBy.d.ts +1 -1
  204. package/dist/utilities/functions/mapValues.d.ts +1 -1
  205. package/dist/utilities/functions/millisecondsTo.d.ts +1 -1
  206. package/dist/utilities/functions/replace.d.ts +1 -1
  207. package/dist/utilities/functions/retry.d.ts +1 -1
  208. package/dist/utilities/functions/throttle.d.ts +2 -2
  209. package/package.json +3 -3
  210. package/dist/index208.js +0 -4
  211. package/dist/index274.js +0 -4
  212. package/dist/index277.js +0 -11
  213. package/dist/index288.js +0 -4
@@ -2,302 +2,82 @@ import { SlotAttributes } from '../BaseCheckbox/BaseCheckbox.vue';
2
2
  import { BbCheckboxGroupEvents, BbCheckboxGroupProps } from '../BbCheckboxGroup/BbCheckboxGroup.vue';
3
3
  export type BbSwitchGroupProps<T> = BbCheckboxGroupProps<T>;
4
4
  export type BbSwitchGroupEvents = BbCheckboxGroupEvents;
5
- declare const _default: <T = any>(__VLS_props: {
6
- readonly [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
7
- autofocus?: (boolean | "true" | "false") | undefined;
8
- color?: string | undefined;
9
- dependencies?: any[] | undefined;
10
- depsDebounceTime?: number | undefined;
11
- disabled?: boolean | undefined;
12
- enforceCoherence?: boolean | undefined;
13
- errors?: string | string[] | undefined;
14
- hasErrors?: boolean | undefined;
15
- hideLabel?: boolean | undefined;
16
- hideLegend?: boolean | undefined;
17
- hint?: string | undefined;
18
- id?: string | undefined;
19
- inputDirection?: "horizontal" | "vertical" | undefined;
20
- items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
21
- itemText?: (T extends object ? import('../../types/NestedKeyOf').NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
22
- itemValue?: (T extends object ? import('../../types/NestedKeyOf').NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
23
- legend: string;
24
- loadingText?: string | undefined;
25
- max?: number | undefined;
26
- modelValue: any[];
27
- modelValueDebounceTime?: number | undefined;
28
- name?: string | undefined;
29
- noDataText?: string | undefined;
30
- persistentHint?: boolean | undefined;
31
- readonly?: (boolean | "true" | "false") | undefined;
32
- reverse?: boolean | undefined;
33
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
34
- slots: Readonly<{
35
- prepend?: ((props: object) => any) | undefined;
36
- loading?: ((props: object) => any) | undefined;
37
- 'no-data'?: ((props: object) => any) | undefined;
38
- 'option:prepend'?: ((props: {
39
- checked: boolean;
40
- disabled: boolean;
41
- id?: string;
42
- item: T;
43
- text: string;
44
- }) => any) | undefined;
45
- icon?: ((props: SlotAttributes & {
46
- item: T;
47
- text: string;
48
- }) => any) | undefined;
49
- label?: ((props: {
50
- item: T;
51
- text: string;
52
- checked: boolean;
53
- }) => any) | undefined;
54
- 'option:append'?: ((props: {
55
- checked: boolean;
56
- disabled: boolean;
57
- id?: string;
58
- item: T;
59
- text: string;
60
- }) => any) | undefined;
61
- append?: ((props: object) => any) | undefined;
62
- legend?: ((props: {
63
- text: string;
64
- hasErrors: boolean;
65
- }) => any) | undefined;
66
- }> & {
67
- prepend?: ((props: object) => any) | undefined;
68
- loading?: ((props: object) => any) | undefined;
69
- 'no-data'?: ((props: object) => any) | undefined;
70
- 'option:prepend'?: ((props: {
71
- checked: boolean;
72
- disabled: boolean;
73
- id?: string;
74
- item: T;
75
- text: string;
76
- }) => any) | undefined;
77
- icon?: ((props: SlotAttributes & {
78
- item: T;
79
- text: string;
80
- }) => any) | undefined;
81
- label?: ((props: {
82
- item: T;
83
- text: string;
84
- checked: boolean;
85
- }) => any) | undefined;
86
- 'option:append'?: ((props: {
87
- checked: boolean;
88
- disabled: boolean;
89
- id?: string;
90
- item: T;
91
- text: string;
92
- }) => any) | undefined;
93
- append?: ((props: object) => any) | undefined;
94
- legend?: ((props: {
95
- text: string;
96
- hasErrors: boolean;
97
- }) => any) | undefined;
98
- };
99
- attrs: any;
100
- emit: import('../..').BaseCheckboxGroupEvents;
101
- } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
102
- props: {
5
+ declare const _default: <T = 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<{
6
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
103
7
  readonly [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
104
- autofocus?: (boolean | "true" | "false") | undefined;
105
- color?: string | undefined;
106
- dependencies?: any[] | undefined;
107
- depsDebounceTime?: number | undefined;
108
- disabled?: boolean | undefined;
109
- enforceCoherence?: boolean | undefined;
110
- errors?: string | string[] | undefined;
111
- hasErrors?: boolean | undefined;
112
- hideLabel?: boolean | undefined;
113
- hideLegend?: boolean | undefined;
114
- hint?: string | undefined;
115
- id?: string | undefined;
116
- inputDirection?: "horizontal" | "vertical" | undefined;
117
- items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
118
- itemText?: (T extends object ? import('../../types/NestedKeyOf').NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
119
- itemValue?: (T extends object ? import('../../types/NestedKeyOf').NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
120
- legend: string;
121
- loadingText?: string | undefined;
122
- max?: number | undefined;
123
- modelValue: any[];
124
- modelValueDebounceTime?: number | undefined;
125
- name?: string | undefined;
126
- noDataText?: string | undefined;
127
- persistentHint?: boolean | undefined;
128
- readonly?: (boolean | "true" | "false") | undefined;
129
- reverse?: boolean | undefined;
130
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
8
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, `on${Capitalize<any>}`> & BbSwitchGroupProps<T>> & import('vue').PublicProps;
131
9
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
132
10
  attrs: any;
133
11
  slots: Readonly<{
134
- prepend?: ((props: object) => any) | undefined;
135
- loading?: ((props: object) => any) | undefined;
136
- 'no-data'?: ((props: object) => any) | undefined;
137
- 'option:prepend'?: ((props: {
12
+ prepend?: (props: object) => any;
13
+ loading?: (props: object) => any;
14
+ 'no-data'?: (props: object) => any;
15
+ 'option:prepend'?: (props: {
138
16
  checked: boolean;
139
17
  disabled: boolean;
140
18
  id?: string;
141
19
  item: T;
142
20
  text: string;
143
- }) => any) | undefined;
144
- icon?: ((props: SlotAttributes & {
21
+ }) => any;
22
+ icon?: (props: SlotAttributes & {
145
23
  item: T;
146
24
  text: string;
147
- }) => any) | undefined;
148
- label?: ((props: {
25
+ }) => any;
26
+ label?: (props: {
149
27
  item: T;
150
28
  text: string;
151
29
  checked: boolean;
152
- }) => any) | undefined;
153
- 'option:append'?: ((props: {
30
+ }) => any;
31
+ 'option:append'?: (props: {
154
32
  checked: boolean;
155
33
  disabled: boolean;
156
34
  id?: string;
157
35
  item: T;
158
36
  text: string;
159
- }) => any) | undefined;
160
- append?: ((props: object) => any) | undefined;
161
- legend?: ((props: {
37
+ }) => any;
38
+ append?: (props: object) => any;
39
+ legend?: (props: {
162
40
  text: string;
163
41
  hasErrors: boolean;
164
- }) => any) | undefined;
42
+ }) => any;
165
43
  }> & {
166
- prepend?: ((props: object) => any) | undefined;
167
- loading?: ((props: object) => any) | undefined;
168
- 'no-data'?: ((props: object) => any) | undefined;
169
- 'option:prepend'?: ((props: {
44
+ prepend?: (props: object) => any;
45
+ loading?: (props: object) => any;
46
+ 'no-data'?: (props: object) => any;
47
+ 'option:prepend'?: (props: {
170
48
  checked: boolean;
171
49
  disabled: boolean;
172
50
  id?: string;
173
51
  item: T;
174
52
  text: string;
175
- }) => any) | undefined;
176
- icon?: ((props: SlotAttributes & {
53
+ }) => any;
54
+ icon?: (props: SlotAttributes & {
177
55
  item: T;
178
56
  text: string;
179
- }) => any) | undefined;
180
- label?: ((props: {
57
+ }) => any;
58
+ label?: (props: {
181
59
  item: T;
182
60
  text: string;
183
61
  checked: boolean;
184
- }) => any) | undefined;
185
- 'option:append'?: ((props: {
62
+ }) => any;
63
+ 'option:append'?: (props: {
186
64
  checked: boolean;
187
65
  disabled: boolean;
188
66
  id?: string;
189
67
  item: T;
190
68
  text: string;
191
- }) => any) | undefined;
192
- append?: ((props: object) => any) | undefined;
193
- legend?: ((props: {
69
+ }) => any;
70
+ append?: (props: object) => any;
71
+ legend?: (props: {
194
72
  text: string;
195
73
  hasErrors: boolean;
196
- }) => any) | undefined;
74
+ }) => any;
197
75
  };
198
76
  emit: import('../..').BaseCheckboxGroupEvents;
199
77
  }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
200
78
  [key: string]: any;
201
79
  }> & {
202
- __ctx?: {
203
- props: {
204
- readonly [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
205
- autofocus?: (boolean | "true" | "false") | undefined;
206
- color?: string | undefined;
207
- dependencies?: any[] | undefined;
208
- depsDebounceTime?: number | undefined;
209
- disabled?: boolean | undefined;
210
- enforceCoherence?: boolean | undefined;
211
- errors?: string | string[] | undefined;
212
- hasErrors?: boolean | undefined;
213
- hideLabel?: boolean | undefined;
214
- hideLegend?: boolean | undefined;
215
- hint?: string | undefined;
216
- id?: string | undefined;
217
- inputDirection?: "horizontal" | "vertical" | undefined;
218
- items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
219
- itemText?: (T extends object ? import('../../types/NestedKeyOf').NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
220
- itemValue?: (T extends object ? import('../../types/NestedKeyOf').NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
221
- legend: string;
222
- loadingText?: string | undefined;
223
- max?: number | undefined;
224
- modelValue: any[];
225
- modelValueDebounceTime?: number | undefined;
226
- name?: string | undefined;
227
- noDataText?: string | undefined;
228
- persistentHint?: boolean | undefined;
229
- readonly?: (boolean | "true" | "false") | undefined;
230
- reverse?: boolean | undefined;
231
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
232
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
233
- attrs: any;
234
- slots: Readonly<{
235
- prepend?: ((props: object) => any) | undefined;
236
- loading?: ((props: object) => any) | undefined;
237
- 'no-data'?: ((props: object) => any) | undefined;
238
- 'option:prepend'?: ((props: {
239
- checked: boolean;
240
- disabled: boolean;
241
- id?: string;
242
- item: T;
243
- text: string;
244
- }) => any) | undefined;
245
- icon?: ((props: SlotAttributes & {
246
- item: T;
247
- text: string;
248
- }) => any) | undefined;
249
- label?: ((props: {
250
- item: T;
251
- text: string;
252
- checked: boolean;
253
- }) => any) | undefined;
254
- 'option:append'?: ((props: {
255
- checked: boolean;
256
- disabled: boolean;
257
- id?: string;
258
- item: T;
259
- text: string;
260
- }) => any) | undefined;
261
- append?: ((props: object) => any) | undefined;
262
- legend?: ((props: {
263
- text: string;
264
- hasErrors: boolean;
265
- }) => any) | undefined;
266
- }> & {
267
- prepend?: ((props: object) => any) | undefined;
268
- loading?: ((props: object) => any) | undefined;
269
- 'no-data'?: ((props: object) => any) | undefined;
270
- 'option:prepend'?: ((props: {
271
- checked: boolean;
272
- disabled: boolean;
273
- id?: string;
274
- item: T;
275
- text: string;
276
- }) => any) | undefined;
277
- icon?: ((props: SlotAttributes & {
278
- item: T;
279
- text: string;
280
- }) => any) | undefined;
281
- label?: ((props: {
282
- item: T;
283
- text: string;
284
- checked: boolean;
285
- }) => any) | undefined;
286
- 'option:append'?: ((props: {
287
- checked: boolean;
288
- disabled: boolean;
289
- id?: string;
290
- item: T;
291
- text: string;
292
- }) => any) | undefined;
293
- append?: ((props: object) => any) | undefined;
294
- legend?: ((props: {
295
- text: string;
296
- hasErrors: boolean;
297
- }) => any) | undefined;
298
- };
299
- emit: import('../..').BaseCheckboxGroupEvents;
300
- } | undefined;
80
+ __ctx?: Awaited<typeof __VLS_setup>;
301
81
  };
302
82
  export default _default;
303
83
  type __VLS_PrettifyLocal<T> = {
@@ -47,13 +47,13 @@ export type BbTabProps = Pick<CommonProps, 'disabled' | 'eager' | 'id'> & {
47
47
  replace?: boolean;
48
48
  };
49
49
  declare const props: Readonly<{
50
- id: string | undefined;
51
- disabled: boolean | undefined;
52
- eager: boolean | undefined;
50
+ id: import('vue').HTMLAttributes["id"];
51
+ disabled: boolean;
52
+ eager: boolean;
53
53
  items: BbTabItem[];
54
- modelValue: string | null | undefined;
55
- navigation: boolean | undefined;
56
- replace: boolean | undefined;
54
+ modelValue: null | BbTabItem["key"];
55
+ navigation: boolean;
56
+ replace: boolean;
57
57
  }> & {
58
58
  readonly animate: boolean;
59
59
  readonly direction: "horizontal" | "vertical";
@@ -68,13 +68,91 @@ declare const props: Readonly<{
68
68
  export type BbTabEvents = {
69
69
  (e: 'update:modelValue', value: (typeof props.items)[number]['key']): void;
70
70
  };
71
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BbTabProps, {
71
+ declare const goTo: (target: "first" | "previous" | "next" | "last") => void;
72
+ declare function __VLS_template(): {
73
+ slots: Readonly<{
74
+ 'header:prepend'?: (props: {
75
+ isScrolling: boolean;
76
+ left: boolean;
77
+ right: boolean;
78
+ }) => any;
79
+ 'header:append'?: (props: {
80
+ isScrolling: boolean;
81
+ left: boolean;
82
+ right: boolean;
83
+ }) => any;
84
+ label?: (props: {
85
+ current: string | null;
86
+ currentIndex: number;
87
+ disabled: boolean;
88
+ isFirst: boolean;
89
+ isLast: boolean;
90
+ selected: boolean;
91
+ text: BbTabItem["label"];
92
+ value: string;
93
+ goTo: typeof goTo;
94
+ }) => any;
95
+ } & {
96
+ [key: string]: (props: {
97
+ current: string | null;
98
+ currentIndex: number;
99
+ disabled: boolean;
100
+ isFirst: boolean;
101
+ isLast: boolean;
102
+ selected: boolean;
103
+ text: BbTabItem["label"];
104
+ value: string;
105
+ goTo: typeof goTo;
106
+ }) => any;
107
+ }> & {
108
+ 'header:prepend'?: (props: {
109
+ isScrolling: boolean;
110
+ left: boolean;
111
+ right: boolean;
112
+ }) => any;
113
+ 'header:append'?: (props: {
114
+ isScrolling: boolean;
115
+ left: boolean;
116
+ right: boolean;
117
+ }) => any;
118
+ label?: (props: {
119
+ current: string | null;
120
+ currentIndex: number;
121
+ disabled: boolean;
122
+ isFirst: boolean;
123
+ isLast: boolean;
124
+ selected: boolean;
125
+ text: BbTabItem["label"];
126
+ value: string;
127
+ goTo: typeof goTo;
128
+ }) => any;
129
+ } & {
130
+ [key: string]: (props: {
131
+ current: string | null;
132
+ currentIndex: number;
133
+ disabled: boolean;
134
+ isFirst: boolean;
135
+ isLast: boolean;
136
+ selected: boolean;
137
+ text: BbTabItem["label"];
138
+ value: string;
139
+ goTo: typeof goTo;
140
+ }) => any;
141
+ };
142
+ refs: {
143
+ tabs: HTMLDivElement;
144
+ tablist: HTMLUListElement;
145
+ };
146
+ attrs: Partial<{}>;
147
+ };
148
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
149
+ declare const __VLS_component: import('vue').DefineComponent<BbTabProps, {
72
150
  isFirst: import('vue').ComputedRef<boolean>;
73
151
  isLast: import('vue').ComputedRef<boolean>;
74
152
  current: import('vue').Ref<string | null, string | null>;
75
153
  currentIndex: import('vue').ComputedRef<number>;
76
- goTo: (target: "next" | "previous" | "first" | "last") => void;
77
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
154
+ goTo: (target: "first" | "previous" | "next" | "last") => void;
155
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
78
156
  "update:modelValue": (value: string) => any;
79
157
  }, string, import('vue').PublicProps, Readonly<BbTabProps> & Readonly<{
80
158
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
@@ -82,75 +160,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Bb
82
160
  direction: "horizontal" | "vertical";
83
161
  animate: boolean;
84
162
  querykey: string;
85
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<{
86
- 'header:prepend'?: ((props: {
87
- isScrolling: boolean;
88
- left: boolean;
89
- right: boolean;
90
- }) => any) | undefined;
91
- 'header:append'?: ((props: {
92
- isScrolling: boolean;
93
- left: boolean;
94
- right: boolean;
95
- }) => any) | undefined;
96
- label?: ((props: {
97
- current: string | null;
98
- currentIndex: number;
99
- disabled: boolean;
100
- isFirst: boolean;
101
- isLast: boolean;
102
- selected: boolean;
103
- text: string | undefined;
104
- value: string;
105
- goTo: (target: "next" | "previous" | "first" | "last") => void;
106
- }) => any) | undefined;
107
- } & {
108
- [key: string]: (props: {
109
- current: string | null;
110
- currentIndex: number;
111
- disabled: boolean;
112
- isFirst: boolean;
113
- isLast: boolean;
114
- selected: boolean;
115
- text: string | undefined;
116
- value: string;
117
- goTo: (target: "next" | "previous" | "first" | "last") => void;
118
- }) => any;
119
- }> & {
120
- 'header:prepend'?: ((props: {
121
- isScrolling: boolean;
122
- left: boolean;
123
- right: boolean;
124
- }) => any) | undefined;
125
- 'header:append'?: ((props: {
126
- isScrolling: boolean;
127
- left: boolean;
128
- right: boolean;
129
- }) => any) | undefined;
130
- label?: ((props: {
131
- current: string | null;
132
- currentIndex: number;
133
- disabled: boolean;
134
- isFirst: boolean;
135
- isLast: boolean;
136
- selected: boolean;
137
- text: string | undefined;
138
- value: string;
139
- goTo: (target: "next" | "previous" | "first" | "last") => void;
140
- }) => any) | undefined;
141
- } & {
142
- [key: string]: (props: {
143
- current: string | null;
144
- currentIndex: number;
145
- disabled: boolean;
146
- isFirst: boolean;
147
- isLast: boolean;
148
- selected: boolean;
149
- text: string | undefined;
150
- value: string;
151
- goTo: (target: "next" | "previous" | "first" | "last") => void;
152
- }) => any;
153
- }>;
163
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
164
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
154
165
  export default _default;
155
166
  type __VLS_WithTemplateSlots<T, S> = T & {
156
167
  new (): {