bitboss-ui 2.1.117 → 2.1.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.
- package/dist/ai/BaseRating.md +2 -2
- package/dist/ai/BaseTag.md +0 -1
- package/dist/ai/BbAccordion.md +1 -2
- package/dist/ai/BbAlert.md +1 -2
- package/dist/ai/BbAvatar.md +0 -1
- package/dist/ai/BbBadge.md +0 -1
- package/dist/ai/BbBreadcrumbs.md +0 -1
- package/dist/ai/BbButton.md +0 -1
- package/dist/ai/BbCheckbox.md +0 -1
- package/dist/ai/BbCheckboxGroup.md +0 -5
- package/dist/ai/BbChip.md +0 -1
- package/dist/ai/BbCollapsible.md +0 -1
- package/dist/ai/BbColorInput.md +0 -1
- package/dist/ai/BbColorPalette.md +0 -1
- package/dist/ai/BbDatePickerInput.md +0 -6
- package/dist/ai/BbDialog.md +0 -6
- package/dist/ai/BbDropdown.md +0 -7
- package/dist/ai/BbDropdownButton.md +0 -1
- package/dist/ai/BbDropzone.md +0 -6
- package/dist/ai/BbIcon.md +0 -1
- package/dist/ai/BbIntersection.md +0 -1
- package/dist/ai/BbNumberInput.md +0 -1
- package/dist/ai/BbOffCanvas.md +0 -1
- package/dist/ai/BbPagination.md +0 -1
- package/dist/ai/BbPopover.md +0 -1
- package/dist/ai/BbProgress.md +0 -1
- package/dist/ai/BbRadio.md +0 -1
- package/dist/ai/BbRadioGroup.md +0 -1
- package/dist/ai/BbRating.md +0 -1
- package/dist/ai/BbRatio.md +0 -1
- package/dist/ai/BbSelect.md +1 -2
- package/dist/ai/BbSelectPopover.md +7 -348
- package/dist/ai/BbSlider.md +0 -1
- package/dist/ai/BbSmoothHeight.md +0 -1
- package/dist/ai/BbSpinner.md +0 -1
- package/dist/ai/BbSwitch.md +0 -1
- package/dist/ai/BbSwitchGroup.md +0 -1
- package/dist/ai/BbTab.md +0 -7
- package/dist/ai/BbTag.md +0 -1
- package/dist/ai/BbTextInput.md +0 -1
- package/dist/ai/BbTextarea.md +0 -1
- package/dist/ai/BbToast.md +0 -1
- package/dist/ai/BbTooltip.md +0 -1
- package/dist/ai/BbTree.md +0 -1
- package/dist/ai/ChipsBox.md +0 -1
- package/dist/ai/ClearableButton.md +0 -10
- package/dist/ai/CommaBox.md +0 -1
- package/dist/ai/CommonInputInnerContainer.md +0 -5
- package/dist/ai/CommonInputOuterContainer.md +0 -1
- package/dist/ai/CommonPopover.md +0 -2
- package/dist/ai/ErrorIcon.md +1 -4
- package/dist/ai/FlatListBox.md +0 -1
- package/dist/ai/GroupedListBox.md +0 -1
- package/dist/ai/ListBox.md +0 -1
- package/dist/ai/OptionsContainer.md +0 -2
- package/dist/components/BaseRating/types.d.ts +1 -1
- package/dist/components/BaseTag/BaseTag.vue.d.ts +1 -2
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -2
- package/dist/components/BbAccordion/types.d.ts +1 -1
- package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -2
- package/dist/components/BbAlert/types.d.ts +1 -1
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +0 -1
- package/dist/components/BbBadge/BbBadge.vue.d.ts +0 -1
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +1 -2
- package/dist/components/BbButton/BbButton.vue.d.ts +0 -1
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +1 -2
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +15 -7
- package/dist/components/BbChip/BbChip.vue.d.ts +1 -2
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +0 -1
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +1 -2
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +1 -2
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -3
- package/dist/components/BbDialog/BbDialog.vue.d.ts +0 -1
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +1 -2
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +1 -2
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +1 -2
- package/dist/components/BbIcon/BbIcon.vue.d.ts +0 -1
- package/dist/components/BbIntersection/BbIntersection.vue.d.ts +1 -2
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -2
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +1 -2
- package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -3
- package/dist/components/BbPopover/BbPopover.vue.d.ts +1 -2
- package/dist/components/BbProgress/BbProgress.vue.d.ts +0 -1
- package/dist/components/BbRadio/BbRadio.vue.d.ts +1 -2
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +15 -7
- package/dist/components/BbRating/BbRating.vue.d.ts +1 -2
- package/dist/components/BbRatio/BbRatio.vue.d.ts +0 -1
- package/dist/components/BbSelect/BbSelect.vue.d.ts +13 -7
- package/dist/components/BbSelect/types.d.ts +1 -1
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +1 -312
- package/dist/components/BbSlider/BbSlider.vue.d.ts +1 -2
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +0 -1
- package/dist/components/BbSpinner/BbSpinner.vue.d.ts +0 -1
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +1 -2
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +15 -7
- package/dist/components/BbTag/BbTag.vue.d.ts +1 -2
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +1 -2
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +1 -2
- package/dist/components/BbToast/BbToast.vue.d.ts +0 -1
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +0 -1
- package/dist/components/BbTree/BbTree.vue.d.ts +0 -1
- package/dist/components/ChipsBox/ChipsBox.vue.d.ts +1 -2
- package/dist/components/ClearableButton/ClearableButton.vue.d.ts +0 -2
- package/dist/components/CommaBox/CommaBox.vue.d.ts +1 -2
- package/dist/components/CommonInputInnerContainer/CommonInputInnerContainer.vue.d.ts +1 -2
- package/dist/components/CommonInputOuterContainer/CommonInputOuterContainer.vue.d.ts +0 -1
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +0 -2
- package/dist/components/ErrorIcon/ErrorIcon.vue.d.ts +0 -2
- package/dist/components/FlatListBox/FlatListBox.vue.d.ts +31 -0
- package/dist/components/GroupedListBox/GroupedListBox.vue.d.ts +31 -0
- package/dist/components/ListBox/ListBox.vue.d.ts +19 -18
- package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +2 -1
- package/dist/index.d.ts +44 -44
- package/dist/index109.js +7 -7
- package/dist/index110.js +179 -178
- package/dist/index118.js +1 -1
- package/dist/index124.js +3 -3
- package/dist/index126.js +12 -12
- package/dist/index134.js +1 -1
- package/dist/index136.js +5 -5
- package/dist/index138.js +1 -1
- package/dist/index14.js +1 -1
- package/dist/index140.js +17 -18
- package/dist/index144.js +1 -1
- package/dist/index148.js +1 -1
- package/dist/index149.js +2 -2
- package/dist/index16.js +3 -3
- package/dist/index18.js +3 -3
- package/dist/index20.js +9 -9
- package/dist/index22.js +14 -14
- package/dist/index221.js +2 -2
- package/dist/index223.js +2 -2
- package/dist/index224.js +34 -5
- package/dist/index225.js +2 -8
- package/dist/index226.js +2 -34
- package/dist/index227.js +2 -7
- package/dist/index228.js +13 -2
- package/dist/index229.js +5 -5
- package/dist/index230.js +8 -5
- package/dist/index231.js +4 -5
- package/dist/index232.js +20 -5
- package/dist/index233.js +10 -3
- package/dist/index234.js +3 -2
- package/dist/index235.js +3 -5
- package/dist/index236.js +3 -8
- package/dist/index237.js +11 -268
- package/dist/index238.js +3 -52
- package/dist/index239.js +2 -52
- package/dist/index24.js +10 -10
- package/dist/index240.js +17 -31
- package/dist/index241.js +21 -58
- package/dist/index242.js +12 -13
- package/dist/index243.js +51 -5
- package/dist/index244.js +18 -5
- package/dist/index245.js +12 -5
- package/dist/index246.js +17 -3
- package/dist/index247.js +30 -135
- package/dist/index248.js +20 -0
- package/dist/index249.js +13 -9
- package/dist/index250.js +135 -2
- package/dist/index252.js +33 -2
- package/dist/index253.js +107 -2
- package/dist/index254.js +6 -13
- package/dist/index255.js +2 -13
- package/dist/index256.js +105 -17
- package/dist/index258.js +99 -50
- package/dist/index26.js +3 -3
- package/dist/index260.js +3 -12
- package/dist/index261.js +3 -17
- package/dist/index262.js +5 -30
- package/dist/index263.js +5 -18
- package/dist/index264.js +5 -106
- package/dist/index265.js +7 -0
- package/dist/index266.js +6 -100
- package/dist/index267.js +10 -0
- package/dist/index268.js +263 -102
- package/dist/index269.js +52 -11
- package/dist/index270.js +46 -80
- package/dist/index271.js +34 -0
- package/dist/index272.js +60 -3
- package/dist/index273.js +25 -4
- package/dist/index274.js +2 -20
- package/dist/index275.js +7 -32
- package/dist/index276.js +9 -0
- package/dist/index277.js +4 -28
- package/dist/index278.js +11 -0
- package/dist/index279.js +1 -1
- package/dist/index28.js +1 -1
- package/dist/index281.js +13 -3
- package/dist/index282.js +85 -52
- package/dist/index284.js +3 -23
- package/dist/index285.js +3 -3
- package/dist/index287.js +373 -10
- package/dist/index289.js +7 -373
- package/dist/index290.js +7 -0
- package/dist/index291.js +5 -3
- package/dist/index292.js +5 -5
- package/dist/index293.js +5 -9
- package/dist/index294.js +53 -23
- package/dist/index295.js +66 -5
- package/dist/index296.js +188 -25
- package/dist/index297.js +3 -67
- package/dist/index298.js +7 -186
- package/dist/index299.js +23 -3
- package/dist/index30.js +3 -3
- package/dist/index300.js +28 -2
- package/dist/index302.js +7 -7
- package/dist/index303.js +1 -1
- package/dist/index304.js +3 -7
- package/dist/index305.js +3 -4
- package/dist/index306.js +3 -280
- package/dist/index307.js +2 -2
- package/dist/index308.js +27 -15
- package/dist/index309.js +17 -2
- package/dist/index310.js +4 -16
- package/dist/index311.js +3 -2
- package/dist/index312.js +276 -23
- package/dist/index313.js +2 -2
- package/dist/index314.js +16 -2
- package/dist/index315.js +2 -2
- package/dist/index316.js +16 -2
- package/dist/index317.js +2 -2
- package/dist/index318.js +26 -27
- package/dist/index319.js +2 -2
- package/dist/index32.js +2 -2
- package/dist/index320.js +2 -3
- package/dist/index321.js +2 -3
- package/dist/index322.js +2 -3
- package/dist/index323.js +2 -3
- package/dist/index324.js +2 -3
- package/dist/index325.js +5 -2
- package/dist/index326.js +5 -17
- package/dist/index327.js +719 -125
- package/dist/index328.js +366 -2
- package/dist/index329.js +56 -14
- package/dist/index331.js +7 -19
- package/dist/index332.js +3 -2
- package/dist/index333.js +125 -3
- package/dist/index334.js +2 -5
- package/dist/index335.js +14 -3
- package/dist/index336.js +2 -6
- package/dist/index337.js +19 -3
- package/dist/index338.js +2 -5
- package/dist/index339.js +2 -719
- package/dist/index34.js +8 -8
- package/dist/index340.js +4 -366
- package/dist/index341.js +66 -56
- package/dist/index342.js +67 -2
- package/dist/index343.js +3 -35
- package/dist/index344.js +5 -128
- package/dist/index345.js +5 -398
- package/dist/index346.js +7 -200
- package/dist/index347.js +7 -259
- package/dist/index348.js +17 -5
- package/dist/index349.js +9 -5
- package/dist/index350.js +14 -6
- package/dist/index351.js +91 -17
- package/dist/index352.js +227 -8
- package/dist/index353.js +199 -14
- package/dist/index354.js +257 -65
- package/dist/index355.js +35 -67
- package/dist/index356.js +128 -21
- package/dist/index357.js +400 -0
- package/dist/index358.js +22 -7
- package/dist/index36.js +4 -4
- package/dist/index360.js +1 -1
- package/dist/index361.js +1 -1
- package/dist/index363.js +435 -87
- package/dist/index364.js +114 -427
- package/dist/index365.js +46 -127
- package/dist/index366.js +67 -44
- package/dist/index367.js +516 -66
- package/dist/index368.js +45 -515
- package/dist/index38.js +21 -21
- package/dist/index40.js +7 -7
- package/dist/index42.js +2 -2
- package/dist/index44.js +8 -8
- package/dist/index46.js +6 -6
- package/dist/index50.js +2 -2
- package/dist/index54.js +1 -1
- package/dist/index56.js +1 -1
- package/dist/index58.js +2 -2
- package/dist/index60.js +2 -2
- package/dist/index62.js +5 -5
- package/dist/index68.js +1 -1
- package/dist/index74.js +4 -4
- package/dist/index82.js +6 -6
- package/dist/index84.js +1 -1
- package/dist/index88.js +3 -3
- package/dist/index90.js +1 -1
- package/dist/index93.js +3 -3
- package/dist/index95.js +2 -2
- package/dist/index97.js +5 -5
- package/dist/index99.js +1 -1
- package/package.json +2 -2
- package/dist/index251.js +0 -6
- package/dist/index257.js +0 -14
- package/dist/index259.js +0 -20
- package/dist/index283.js +0 -6
- package/dist/index288.js +0 -5
- package/dist/index301.js +0 -9
- package/dist/index330.js +0 -4
- package/dist/index359.js +0 -230
- package/dist/index369.js +0 -52
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
/>
|
|
27
27
|
<CommonPopover
|
|
28
28
|
v-model="shown"
|
|
29
|
+
v-bind="$attrs"
|
|
29
30
|
:anchor="activatorEl"
|
|
30
31
|
:arrow-padding="arrowPadding"
|
|
31
32
|
:boundary="boundary"
|
|
@@ -192,354 +193,11 @@ import CommonPopover from '../CommonPopover/CommonPopover.vue';
|
|
|
192
193
|
import ErrorIcon from '../ErrorIcon/ErrorIcon.vue';
|
|
193
194
|
import ListBox from '../ListBox/ListBox.vue';
|
|
194
195
|
import { waitFor } from '@/utilities/functions/waitFor';
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
* are attached programmatically to the referenced element.
|
|
201
|
-
*/
|
|
202
|
-
activator?: HTMLElement | Record<string, any> | null;
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* Controls whether the search input is shown inside the popover panel.
|
|
206
|
-
* Use `'not-mobile'` to hide the search input on mobile.
|
|
207
|
-
* @default false
|
|
208
|
-
*/
|
|
209
|
-
allowWriting?: boolean | 'not-mobile';
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Browser autocomplete hint for the popover search input.
|
|
213
|
-
* @default 'off'
|
|
214
|
-
*/
|
|
215
|
-
autocomplete?: InputHTMLAttributes['autocomplete'];
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* Apply the compact density variant.
|
|
219
|
-
*/
|
|
220
|
-
compact?: boolean;
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Space the arrow keeps from popover edges.
|
|
224
|
-
* Useful with rounded corners.
|
|
225
|
-
* @default 10
|
|
226
|
-
*/
|
|
227
|
-
arrowPadding?: CommonProps['arrowPadding'];
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Constrains the popover to a specific boundary element.
|
|
231
|
-
*/
|
|
232
|
-
boundary?: HTMLElement | Record<string, any> | string | null;
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* Additional dependencies that trigger item reloading when changed.
|
|
236
|
-
* @default []
|
|
237
|
-
*/
|
|
238
|
-
dependencies?: any[];
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* Debounce delay (ms) for dependency-triggered reloads.
|
|
242
|
-
* @default 0
|
|
243
|
-
*/
|
|
244
|
-
depsDebounceTime?: number;
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* Disables the component.
|
|
248
|
-
*/
|
|
249
|
-
disabled?: boolean;
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* Marks the component as being in error state.
|
|
253
|
-
*/
|
|
254
|
-
hasErrors?: boolean;
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* Explicit invalid state for accessibility semantics.
|
|
258
|
-
* Falls back to `hasErrors` when not provided.
|
|
259
|
-
*/
|
|
260
|
-
ariaInvalid?: boolean;
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* Space-separated IDREF(s) that describe this field for assistive technologies.
|
|
264
|
-
* Accepts either a string or array of ids.
|
|
265
|
-
*/
|
|
266
|
-
ariaDescribedby?: string | string[];
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* Enable or disable floating flip behavior.
|
|
270
|
-
* @default true
|
|
271
|
-
*/
|
|
272
|
-
flip?: boolean;
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* Whether the floating arrow is hidden.
|
|
276
|
-
* @default true
|
|
277
|
-
*/
|
|
278
|
-
hideArrow?: boolean;
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* Reset modelValue to `null` or empty array if it no longer matches available items.
|
|
282
|
-
*/
|
|
283
|
-
enforceCoherence?: boolean;
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
* Controls how options are filtered during search.
|
|
287
|
-
* Options are always filtered by display text, but can also match additional properties
|
|
288
|
-
* when set to a string path, array of paths, or custom function.
|
|
289
|
-
* Set to `false` to disable filtering, or `'not_stashed'` to exclude stashed items.
|
|
290
|
-
* @default () => []
|
|
291
|
-
*/
|
|
292
|
-
filterBy?:
|
|
293
|
-
| string
|
|
294
|
-
| string[]
|
|
295
|
-
| false
|
|
296
|
-
| 'not_stashed'
|
|
297
|
-
| ((value: any, item: any, query: string | null) => boolean)
|
|
298
|
-
| null;
|
|
299
|
-
|
|
300
|
-
groupBy?: string | ((item: Item) => string | number | symbol);
|
|
301
|
-
|
|
302
|
-
/**
|
|
303
|
-
* Height of group headers in the listbox (px). Defaults to 24px (compact) or 32px.
|
|
304
|
-
* Only applies when `groupBy` is set.
|
|
305
|
-
*/
|
|
306
|
-
headerHeight?: number;
|
|
307
|
-
|
|
308
|
-
/**
|
|
309
|
-
* Explicit id for the component. Used to generate ids for listbox and options.
|
|
310
|
-
*/
|
|
311
|
-
id?: HTMLAttributes['id'];
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* Array of items or function to load them asynchronously.
|
|
315
|
-
* Functions receive `(query, prefill, modelValue)` and can return a promise.
|
|
316
|
-
* @default []
|
|
317
|
-
*/
|
|
318
|
-
items:
|
|
319
|
-
| Item[]
|
|
320
|
-
| ((query: string, prefill: boolean, modelValue: any[]) => Promise<Item[]>)
|
|
321
|
-
| ((query: string, prefill: boolean, modelValue: any[]) => Item[]);
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* Height of the options in the listbox (px).
|
|
325
|
-
* @default 40
|
|
326
|
-
*/
|
|
327
|
-
itemHeight?: number;
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* Path to item property for display text or function to extract it.
|
|
331
|
-
*/
|
|
332
|
-
itemText?: string | ((item: Item) => string) | undefined;
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* Path to item property for value or function to extract it.
|
|
336
|
-
*/
|
|
337
|
-
itemValue?: string | ((item: Item) => string) | undefined;
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* Display the loading state styles.
|
|
341
|
-
*/
|
|
342
|
-
loading?: boolean;
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* Message shown while items are being loaded.
|
|
346
|
-
*/
|
|
347
|
-
loadingText?: string;
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* Maximum number of selectable items (limits selection when `multiple` is true).
|
|
351
|
-
* @default Infinity
|
|
352
|
-
*/
|
|
353
|
-
max?: number;
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* v-model value. Single value for single select, array for multiple select.
|
|
357
|
-
*/
|
|
358
|
-
modelValue: any;
|
|
359
|
-
|
|
360
|
-
/**
|
|
361
|
-
* Debounce delay (ms) for modelValue change handling.
|
|
362
|
-
* @default 0
|
|
363
|
-
*/
|
|
364
|
-
modelValueDebounceTime?: number;
|
|
365
|
-
|
|
366
|
-
/**
|
|
367
|
-
* Enable multiple item selection. When true, modelValue must be an array.
|
|
368
|
-
*/
|
|
369
|
-
multiple?: boolean;
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* Message displayed when no items are available.
|
|
373
|
-
*/
|
|
374
|
-
noDataText?: string;
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* Distance (px) between the activator and the popover.
|
|
378
|
-
* @default 4
|
|
379
|
-
*/
|
|
380
|
-
offset?: number;
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* Minimum page padding used by floating shift middleware.
|
|
384
|
-
* @default 0
|
|
385
|
-
*/
|
|
386
|
-
padding?: CommonProps['padding'];
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
* Floating placement of the popover.
|
|
390
|
-
* @default 'bottom'
|
|
391
|
-
*/
|
|
392
|
-
placement?: CommonProps['placement'];
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* Controls when items are pre-loaded.
|
|
396
|
-
* `'interaction'` loads on first user interaction (first popover open),
|
|
397
|
-
* `true` loads immediately, `false` loads only on explicit search/open flows.
|
|
398
|
-
* @default 'interaction'
|
|
399
|
-
*/
|
|
400
|
-
prefill?: boolean | 'interaction';
|
|
401
|
-
|
|
402
|
-
/**
|
|
403
|
-
* Debounce delay (ms) before triggering search queries after user input stops.
|
|
404
|
-
* @default 500
|
|
405
|
-
*/
|
|
406
|
-
queryDebounceTime?: number;
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* Prevents opening the popover while keeping the activator accessible.
|
|
410
|
-
*/
|
|
411
|
-
readonly?: boolean;
|
|
412
|
-
|
|
413
|
-
/**
|
|
414
|
-
* Accessible label used by the search input rendered inside the popover.
|
|
415
|
-
* @default 'Search options'
|
|
416
|
-
*/
|
|
417
|
-
searchInputAriaLabel?: string;
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* Accumulate selected items across searches instead of replacing them.
|
|
421
|
-
*/
|
|
422
|
-
stash?: boolean;
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* Transition duration (ms) for popover show/hide animations.
|
|
426
|
-
* @default 300
|
|
427
|
-
*/
|
|
428
|
-
transitionDuration?: number;
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* Width of the popover in pixels, percentage, or `'auto'`.
|
|
432
|
-
*/
|
|
433
|
-
width?: number | string;
|
|
434
|
-
};
|
|
435
|
-
|
|
436
|
-
export type BbSelectPopoverEvents = {
|
|
437
|
-
(e: 'blur', event: FocusEvent): void;
|
|
438
|
-
(e: 'change', event: Event): void;
|
|
439
|
-
(e: 'click', event: MouseEvent): void;
|
|
440
|
-
(e: 'focus', event: FocusEvent): void;
|
|
441
|
-
(e: 'inactive'): void;
|
|
442
|
-
(e: 'input', event: Event): void;
|
|
443
|
-
(e: 'update:modelValue', value: any): void;
|
|
444
|
-
(e: 'option:add', text: string): void;
|
|
445
|
-
};
|
|
446
|
-
|
|
447
|
-
export type BbSelectPopoverSlots<Item> = {
|
|
448
|
-
/**
|
|
449
|
-
* Replaces the default trigger element that opens the select popover.
|
|
450
|
-
* @param props - Bind these onto the activator element with `v-bind="props"` to wire up the popover reference.
|
|
451
|
-
* @param shown - Whether the popover is currently open.
|
|
452
|
-
* @param disabled - Whether the select is disabled.
|
|
453
|
-
* @param readonly - Whether the select is read-only.
|
|
454
|
-
* @param loading - Whether options are currently being fetched.
|
|
455
|
-
* @param query - The current search query string.
|
|
456
|
-
* @param clear - Clears the current selection and query.
|
|
457
|
-
* @param open - Opens the popover.
|
|
458
|
-
* @param close - Closes the popover.
|
|
459
|
-
* @param toggle - Toggles the popover open/closed.
|
|
460
|
-
*/
|
|
461
|
-
activator?: (props: {
|
|
462
|
-
props: {
|
|
463
|
-
ref: (reference: unknown) => void;
|
|
464
|
-
};
|
|
465
|
-
shown: boolean;
|
|
466
|
-
disabled: boolean | undefined;
|
|
467
|
-
readonly: boolean | undefined;
|
|
468
|
-
loading: boolean;
|
|
469
|
-
query: string;
|
|
470
|
-
clear: () => void;
|
|
471
|
-
open: () => Promise<void>;
|
|
472
|
-
close: () => Promise<void>;
|
|
473
|
-
toggle: () => Promise<void>;
|
|
474
|
-
}) => any;
|
|
475
|
-
/**
|
|
476
|
-
* Content shown inside the options dropdown while items are loading.
|
|
477
|
-
* @param query - The current search query string.
|
|
478
|
-
*/
|
|
479
|
-
loading?: (props: { query: string }) => any;
|
|
480
|
-
/**
|
|
481
|
-
* Content shown when no options match the query or the list is empty.
|
|
482
|
-
* @param query - The current search query string.
|
|
483
|
-
* @param focus - Focuses the internal search input.
|
|
484
|
-
*/
|
|
485
|
-
'no-data'?: (props: { query: string; focus: () => void }) => any;
|
|
486
|
-
/**
|
|
487
|
-
* Replaces the default rendering of each option row in the dropdown.
|
|
488
|
-
* @param disabled - Whether this option is disabled.
|
|
489
|
-
* @param focused - Whether this option currently has keyboard focus.
|
|
490
|
-
* @param index - Zero-based index of this option in the list.
|
|
491
|
-
* @param item - The raw item from the `items` prop.
|
|
492
|
-
* @param loading - Whether items are still being fetched.
|
|
493
|
-
* @param selected - Whether this option is currently selected.
|
|
494
|
-
* @param text - The resolved display text for this option.
|
|
495
|
-
* @param value - The resolved value for this option.
|
|
496
|
-
*/
|
|
497
|
-
option?: (props: {
|
|
498
|
-
disabled: boolean;
|
|
499
|
-
focused: boolean;
|
|
500
|
-
index: number;
|
|
501
|
-
item: Item;
|
|
502
|
-
loading: boolean;
|
|
503
|
-
selected: boolean;
|
|
504
|
-
text: string;
|
|
505
|
-
value: any;
|
|
506
|
-
}) => any;
|
|
507
|
-
/**
|
|
508
|
-
* Replaces the default group header rendered above grouped options.
|
|
509
|
-
* @param text - The display text for this group.
|
|
510
|
-
* @param item - The raw group item.
|
|
511
|
-
* @param index - Zero-based index of the first option in this group.
|
|
512
|
-
* @param length - Number of options in this group.
|
|
513
|
-
* @param disabled - Whether all options in this group are disabled.
|
|
514
|
-
*/
|
|
515
|
-
group?: (props: {
|
|
516
|
-
text: string;
|
|
517
|
-
item: Item;
|
|
518
|
-
index: number;
|
|
519
|
-
length: number;
|
|
520
|
-
disabled: boolean;
|
|
521
|
-
}) => any;
|
|
522
|
-
/**
|
|
523
|
-
* Content appended inside the options list, after the last option.
|
|
524
|
-
* @param focus - Focuses the internal search input.
|
|
525
|
-
*/
|
|
526
|
-
'options:append'?: (props: { focus: () => void }) => any;
|
|
527
|
-
/**
|
|
528
|
-
* Content appended outside the options list container.
|
|
529
|
-
* @param focus - Focuses the internal search input.
|
|
530
|
-
*/
|
|
531
|
-
'options:append:outer'?: (props: { focus: () => void }) => any;
|
|
532
|
-
/**
|
|
533
|
-
* Content prepended inside the options list, before the first option.
|
|
534
|
-
* @param focus - Focuses the internal search input.
|
|
535
|
-
*/
|
|
536
|
-
'options:prepend'?: (props: { focus: () => void }) => any;
|
|
537
|
-
/**
|
|
538
|
-
* Content prepended outside the options list container.
|
|
539
|
-
* @param focus - Focuses the internal search input.
|
|
540
|
-
*/
|
|
541
|
-
'options:prepend:outer'?: (props: { focus: () => void }) => any;
|
|
542
|
-
};
|
|
196
|
+
import type {
|
|
197
|
+
BbSelectPopoverEvents,
|
|
198
|
+
BbSelectPopoverProps,
|
|
199
|
+
BbSelectPopoverSlots,
|
|
200
|
+
} from './types';
|
|
543
201
|
|
|
544
202
|
const props = withDefaults(defineProps<BbSelectPopoverProps<Item>>(), {
|
|
545
203
|
allowWriting: true,
|
|
@@ -564,6 +222,7 @@ const props = withDefaults(defineProps<BbSelectPopoverProps<Item>>(), {
|
|
|
564
222
|
const emit = defineEmits<BbSelectPopoverEvents>();
|
|
565
223
|
|
|
566
224
|
defineSlots<BbSelectPopoverSlots<Item>>();
|
|
225
|
+
defineOptions({ inheritAttrs: false });
|
|
567
226
|
|
|
568
227
|
if (props.multiple && !Array.isArray(props.modelValue)) {
|
|
569
228
|
throw new Error('Multiple is set to "true" but modelValue is not an array.');
|
package/dist/ai/BbSlider.md
CHANGED
|
@@ -63,7 +63,6 @@ import BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';
|
|
|
63
63
|
import BaseSlider from '../BaseSlider/BaseSlider.vue';
|
|
64
64
|
import { ref, computed } from 'vue';
|
|
65
65
|
import type { BbSliderProps, BbSliderEvents, BbSliderSlots } from './types';
|
|
66
|
-
export type { BbSliderProps, BbSliderEvents, BbSliderSlots };
|
|
67
66
|
|
|
68
67
|
const props = withDefaults(defineProps<BbSliderProps>(), {
|
|
69
68
|
thumbTranslate: true,
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
|
|
19
19
|
<script setup lang="ts">
|
|
20
20
|
import type { BbSmoothHeightProps, BbSmoothHeightSlots } from './types';
|
|
21
|
-
export type { BbSmoothHeightProps, BbSmoothHeightSlots };
|
|
22
21
|
import { ref, onMounted, onBeforeUnmount } from 'vue';
|
|
23
22
|
|
|
24
23
|
const props = withDefaults(defineProps<BbSmoothHeightProps>(), {
|
package/dist/ai/BbSpinner.md
CHANGED
|
@@ -29,7 +29,6 @@ import { computed } from 'vue';
|
|
|
29
29
|
import { isCssColor } from '@/utilities/functions/isCssColor';
|
|
30
30
|
import type { Classes } from '@/types/Classes';
|
|
31
31
|
import type { BbSpinnerProps, Size as IconSize } from './types';
|
|
32
|
-
export type { BbSpinnerProps, Size } from './types';
|
|
33
32
|
|
|
34
33
|
const props = withDefaults(defineProps<BbSpinnerProps>(), {
|
|
35
34
|
size: 'md',
|
package/dist/ai/BbSwitch.md
CHANGED
|
@@ -54,7 +54,6 @@ import BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';
|
|
|
54
54
|
import BaseSwitch from '../BaseSwitch/BaseSwitch.vue';
|
|
55
55
|
import { computed, ref } from 'vue';
|
|
56
56
|
import type { BbSwitchProps, BbSwitchEvents, BbSwitchSlots } from './types';
|
|
57
|
-
export type { BbSwitchProps, BbSwitchEvents, BbSwitchSlots };
|
|
58
57
|
|
|
59
58
|
const props = withDefaults(defineProps<BbSwitchProps>(), {
|
|
60
59
|
direction: 'auto',
|
package/dist/ai/BbSwitchGroup.md
CHANGED
package/dist/ai/BbTab.md
CHANGED
|
@@ -128,13 +128,6 @@ import type {
|
|
|
128
128
|
BbTabInertiaOptions,
|
|
129
129
|
BbTabSlots,
|
|
130
130
|
} from './types';
|
|
131
|
-
export type {
|
|
132
|
-
BbTabProps,
|
|
133
|
-
BbTabEvents,
|
|
134
|
-
BbTabItem,
|
|
135
|
-
BbTabInertiaOptions,
|
|
136
|
-
BbTabSlots,
|
|
137
|
-
} from './types';
|
|
138
131
|
|
|
139
132
|
const props = withDefaults(defineProps<BbTabProps<K>>(), {
|
|
140
133
|
animateX: true,
|
package/dist/ai/BbTag.md
CHANGED
|
@@ -67,7 +67,6 @@ import BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';
|
|
|
67
67
|
import BaseTag from '../BaseTag/BaseTag.vue';
|
|
68
68
|
import { ref, computed } from 'vue';
|
|
69
69
|
import type { BbTagProps, BbTagEvents, BbTagSlots } from './types';
|
|
70
|
-
export type { BbTagProps, BbTagEvents, BbTagSlots };
|
|
71
70
|
|
|
72
71
|
const props = withDefaults(defineProps<BbTagProps>(), {
|
|
73
72
|
multiple: true,
|
package/dist/ai/BbTextInput.md
CHANGED
package/dist/ai/BbTextarea.md
CHANGED
package/dist/ai/BbToast.md
CHANGED
package/dist/ai/BbTooltip.md
CHANGED
|
@@ -65,7 +65,6 @@ import { useElementSize } from '@vueuse/core';
|
|
|
65
65
|
import { extractDomContainer } from '@/utilities/functions/extractDomContainer';
|
|
66
66
|
import { parseWidthString } from '@/utilities/functions/parseWidthString';
|
|
67
67
|
import type { BbTooltipProps, BbTooltipSlots } from './types';
|
|
68
|
-
export type { BbTooltipProps, BbTooltipSlots };
|
|
69
68
|
|
|
70
69
|
const props = withDefaults(defineProps<BbTooltipProps>(), {
|
|
71
70
|
arrowPadding: 10,
|
package/dist/ai/BbTree.md
CHANGED
|
@@ -100,7 +100,6 @@
|
|
|
100
100
|
import { flattenTree } from '@/utilities/functions/flattenTree';
|
|
101
101
|
import { computed } from 'vue';
|
|
102
102
|
import type { BbTreeProps, TreeItem, BbTreeSlots } from './types';
|
|
103
|
-
export type { BbTreeProps, TreeItem, BbTreeSlots };
|
|
104
103
|
|
|
105
104
|
const props = withDefaults(defineProps<BbTreeProps>(), {
|
|
106
105
|
identifier: 'id',
|
package/dist/ai/ChipsBox.md
CHANGED
|
@@ -27,7 +27,6 @@ import { watch } from 'vue';
|
|
|
27
27
|
import BbChip from '../BbChip/BbChip.vue';
|
|
28
28
|
import type { Option } from '@/types/Option';
|
|
29
29
|
import type { ChipsBoxProps, ChipsBoxEvents } from './types';
|
|
30
|
-
export type { ChipsBoxProps, ChipsBoxEvents };
|
|
31
30
|
|
|
32
31
|
const props = defineProps<ChipsBoxProps>();
|
|
33
32
|
|
|
@@ -24,16 +24,6 @@
|
|
|
24
24
|
|
|
25
25
|
<script setup lang="ts">
|
|
26
26
|
import { useLocale } from '@/composables/useLocale';
|
|
27
|
-
import type {
|
|
28
|
-
ClearableButtonProps,
|
|
29
|
-
ClearableButtonEvents,
|
|
30
|
-
ClearableButtonSlots,
|
|
31
|
-
} from './types';
|
|
32
|
-
export type {
|
|
33
|
-
ClearableButtonProps,
|
|
34
|
-
ClearableButtonEvents,
|
|
35
|
-
ClearableButtonSlots,
|
|
36
|
-
};
|
|
37
27
|
|
|
38
28
|
const { t } = useLocale();
|
|
39
29
|
</script>
|
package/dist/ai/CommaBox.md
CHANGED
|
@@ -27,7 +27,6 @@ import { ref } from 'vue';
|
|
|
27
27
|
import { watch } from 'vue';
|
|
28
28
|
import type { Option } from '@/types/Option';
|
|
29
29
|
import type { CommaBoxProps, CommaBoxEvents } from './types';
|
|
30
|
-
export type { CommaBoxProps, CommaBoxEvents };
|
|
31
30
|
|
|
32
31
|
const props = defineProps<CommaBoxProps>();
|
|
33
32
|
|
|
@@ -54,11 +54,6 @@ import type {
|
|
|
54
54
|
CommonInputInnerContainerEvents,
|
|
55
55
|
CommonInputInnerContainerSlots,
|
|
56
56
|
} from './types';
|
|
57
|
-
export type {
|
|
58
|
-
CommonInputInnerContainerProps,
|
|
59
|
-
CommonInputInnerContainerEvents,
|
|
60
|
-
CommonInputInnerContainerSlots,
|
|
61
|
-
};
|
|
62
57
|
|
|
63
58
|
const props = defineProps<CommonInputInnerContainerProps>();
|
|
64
59
|
|
package/dist/ai/CommonPopover.md
CHANGED
|
@@ -48,8 +48,6 @@ import {
|
|
|
48
48
|
} from '@floating-ui/vue';
|
|
49
49
|
import { computed, nextTick, onMounted, ref, watch } from 'vue';
|
|
50
50
|
import type { CommonPopoverProps, CommonPopoverSlots } from './types';
|
|
51
|
-
export type { CommonPopoverProps, CommonPopoverSlots };
|
|
52
|
-
export type { CommonPopoverProps as BubbleProps } from './types';
|
|
53
51
|
|
|
54
52
|
const props = withDefaults(defineProps<CommonPopoverProps>(), {
|
|
55
53
|
transitionDuration: 250,
|
package/dist/ai/ErrorIcon.md
CHANGED
|
@@ -31,10 +31,7 @@
|
|
|
31
31
|
</svg>
|
|
32
32
|
</template>
|
|
33
33
|
|
|
34
|
-
<script setup lang="ts">
|
|
35
|
-
import type { ErrorIconProps, ErrorIconEvents, ErrorIconSlots } from './types';
|
|
36
|
-
export type { ErrorIconProps, ErrorIconEvents, ErrorIconSlots };
|
|
37
|
-
</script>
|
|
34
|
+
<script setup lang="ts"></script>
|
|
38
35
|
|
|
39
36
|
<style lang="postcss">
|
|
40
37
|
@import './index.css';
|
package/dist/ai/FlatListBox.md
CHANGED
|
@@ -112,7 +112,6 @@ import type {
|
|
|
112
112
|
FlatListBoxEvents,
|
|
113
113
|
FlatListBoxSlots,
|
|
114
114
|
} from './types';
|
|
115
|
-
export type { FlatListBoxProps, FlatListBoxEvents, FlatListBoxSlots };
|
|
116
115
|
import { hash } from '@/utilities/functions/hash';
|
|
117
116
|
import { useLocale } from '@/composables/useLocale';
|
|
118
117
|
import { useListboxFocus } from '@/composables/useListboxFocus';
|
|
@@ -150,7 +150,6 @@ import type {
|
|
|
150
150
|
GroupedListBoxEvents,
|
|
151
151
|
GroupedListBoxSlots,
|
|
152
152
|
} from './types';
|
|
153
|
-
export type { GroupedListBoxProps, GroupedListBoxEvents, GroupedListBoxSlots };
|
|
154
153
|
import { useLocale } from '@/composables/useLocale';
|
|
155
154
|
import { useListboxFocus } from '@/composables/useListboxFocus';
|
|
156
155
|
import { indexBy } from '@/utilities/functions/indexBy';
|
package/dist/ai/ListBox.md
CHANGED
|
@@ -61,7 +61,6 @@ import type {
|
|
|
61
61
|
ListBoxEvents,
|
|
62
62
|
ListBoxSlots,
|
|
63
63
|
} from './types';
|
|
64
|
-
export type { ListBoxExposed, ListBoxProps, ListBoxEvents, ListBoxSlots };
|
|
65
64
|
import FlatListBox from '../FlatListBox/FlatListBox.vue';
|
|
66
65
|
import GroupedListBox from '../GroupedListBox/GroupedListBox.vue';
|
|
67
66
|
|
|
@@ -77,9 +77,7 @@
|
|
|
77
77
|
|
|
78
78
|
<script setup lang="ts" generic="T = any">
|
|
79
79
|
import { useLocale } from '@/composables/useLocale';
|
|
80
|
-
import type { Option } from '@/types/Option';
|
|
81
80
|
import type { OptionsContainerProps, OptionsContainerSlots } from './types';
|
|
82
|
-
export type { OptionsContainerProps, OptionsContainerSlots };
|
|
83
81
|
|
|
84
82
|
const props = defineProps<OptionsContainerProps<T>>();
|
|
85
83
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { nextTick } from 'vue';
|
|
2
2
|
import { Option as BaseOption } from '../../types/Option';
|
|
3
|
-
import { BaseTagProps,
|
|
4
|
-
export type { BaseTagProps, BaseTagEvents, BaseTagSlots };
|
|
3
|
+
import { BaseTagProps, BaseTagSlots } from './types';
|
|
5
4
|
declare function __VLS_template(): {
|
|
6
5
|
attrs: Partial<{}>;
|
|
7
6
|
slots: Readonly<BaseTagSlots> & BaseTagSlots;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { BbAccordionProps,
|
|
2
|
-
export type { BbAccordionProps, BbAccordionEvents, BbAccordionSlots };
|
|
1
|
+
import { BbAccordionProps, BbAccordionSlots } from './types';
|
|
3
2
|
declare function __VLS_template(): {
|
|
4
3
|
attrs: Partial<{}>;
|
|
5
4
|
slots: Readonly<BbAccordionSlots> & BbAccordionSlots;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BbCollapsibleProps } from '../BbCollapsible/
|
|
1
|
+
import { BbCollapsibleProps } from '../BbCollapsible/types';
|
|
2
2
|
import { CommonProps } from '../../types/CommonProps';
|
|
3
3
|
export type BbAccordionProps = Pick<BbCollapsibleProps, 'eager' | 'transitionDuration'> & {
|
|
4
4
|
/**
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { BbAlertProps,
|
|
2
|
-
export type { BbAlertProps, BbAlertEvents, BbAlertSlots };
|
|
1
|
+
import { BbAlertProps, BbAlertSlots } from './types';
|
|
3
2
|
declare function __VLS_template(): {
|
|
4
3
|
attrs: Partial<{}>;
|
|
5
4
|
slots: Readonly<BbAlertSlots> & BbAlertSlots;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonProps } from '../../types/CommonProps';
|
|
2
|
-
import { BbIconProps } from '../BbIcon/
|
|
2
|
+
import { BbIconProps } from '../BbIcon/types';
|
|
3
3
|
export type BbAlertProps = Pick<CommonProps, 'closeLabel' | 'showClose' | 'text' | 'theme' | 'title'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Name of the icon to use.
|