bitboss-ui 3.0.0-beta.75 → 3.0.0-beta.76
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/README.md +5 -5
- package/bin/cli.mjs +16 -10
- package/dist/ai/BbAlert.md +1 -1
- package/dist/ai/BbBreadcrumbs.md +1 -1
- package/dist/ai/BbButton.md +2 -2
- package/dist/ai/BbColorInput.md +1 -1
- package/dist/ai/BbColorPalette.md +1 -1
- package/dist/ai/BbConfirm.md +1 -1
- package/dist/ai/BbDatePicker.md +1 -1
- package/dist/ai/BbDatePickerInput.md +1 -1
- package/dist/ai/BbDialog.md +3 -2
- package/dist/ai/BbDropdown.md +23 -21
- package/dist/ai/BbDropdownButton.md +13 -11
- package/dist/ai/BbGallery.md +3 -2
- package/dist/ai/BbIcon.md +10 -10
- package/dist/ai/BbOffCanvas.md +3 -2
- package/dist/ai/BbPopover.md +1 -1
- package/dist/ai/BbSelect.md +153 -43
- package/dist/ai/BbSelectPopover.md +115 -9
- package/dist/ai/BbTable.md +1 -1
- package/dist/ai/BbTimePicker.md +1 -1
- package/dist/ai/BbTimePickerInput.md +1 -1
- package/dist/ai/GroupedListBox.md +2 -2
- package/dist/ai/ListBox.md +3 -2
- package/dist/ai/changelog.json +153 -7
- package/dist/ai/components.json +12 -12
- package/dist/ai/guides/agent-contract.md +1 -1
- package/dist/ai/guides/calendars-and-digits.md +1 -1
- package/dist/ai/guides/eslint-rules.md +1 -1
- package/dist/ai/guides/icons-policy.md +32 -11
- package/dist/ai/guides/installation-and-plugin-setup.md +24 -23
- package/dist/ai/guides/migration/adoption-checklist.md +1 -1
- package/dist/ai/guides/migration/components/bb-icon.md +4 -4
- package/dist/ai/guides/migration/v2-to-v3.md +48 -19
- package/dist/ai/guides/migration/v3-beta-css-classes.md +18 -3
- package/dist/ai/guides/passthrough.md +58 -58
- package/dist/ai/helpers/inertia/manifest.json +1 -1
- package/dist/ai/manifest/components/BbDialog.tree.json +1 -1
- package/dist/ai/manifest/components/BbDropdown.json +19 -17
- package/dist/ai/manifest/components/BbDropdown.tree.json +9 -9
- package/dist/ai/manifest/components/BbDropdownButton.json +12 -10
- package/dist/ai/manifest/components/BbDropdownButton.tree.json +2 -0
- package/dist/ai/manifest/components/BbGallery.tree.json +1 -1
- package/dist/ai/manifest/components/BbOffCanvas.tree.json +1 -1
- package/dist/ai/manifest/components/BbSelect.json +44 -40
- package/dist/ai/manifest/components/BbSelect.tree.json +2 -1
- package/dist/ai/manifest/components/BbSelectPopover.json +10 -6
- package/dist/ai/manifest/components/BbSelectPopover.tree.json +4 -1
- package/dist/ai/manifest/components/BbTable.tree.json +5 -1
- package/dist/ai/manifest/components/GroupedListBox.json +1 -1
- package/dist/ai/manifest/components/GroupedListBox.tree.json +1 -0
- package/dist/ai/manifest/components/ListBox.json +1 -1
- package/dist/ai/manifest/components/ListBox.tree.json +1 -1
- package/dist/ai/manifest/index.json +2 -2
- package/dist/ai/recipes/inertia/inline-edit-workspace.md +1 -1
- package/dist/ai/recipes/inertia/onboarding.md +1 -1
- package/dist/ai/recipes/nuxt/inline-edit-workspace.md +1 -1
- package/dist/ai/recipes/nuxt/onboarding.md +1 -1
- package/dist/ai/recipes/vue/inline-edit-workspace.md +1 -1
- package/dist/ai/recipes/vue/onboarding.md +2 -2
- package/dist/ai/source/BbAccordion.md +4 -5
- package/dist/ai/source/BbAvatar.md +9 -2
- package/dist/ai/source/BbBadge.md +6 -2
- package/dist/ai/source/BbBreadcrumbs.md +5 -2
- package/dist/ai/source/BbCalendar.md +8 -6
- package/dist/ai/source/BbCarousel.md +10 -6
- package/dist/ai/source/BbColorPalette.md +5 -2
- package/dist/ai/source/BbDatePickerInput.md +7 -2
- package/dist/ai/source/BbDropdown.md +91 -66
- package/dist/ai/source/BbDropdownButton.md +36 -19
- package/dist/ai/source/BbDropdownGroup.md +91 -66
- package/dist/ai/source/BbGallery.md +6 -5
- package/dist/ai/source/BbPagination.md +12 -28
- package/dist/ai/source/BbRating.md +4 -4
- package/dist/ai/source/BbSelect.md +130 -106
- package/dist/ai/source/BbSelectPopover.md +128 -21
- package/dist/ai/source/BbTable.md +42 -9
- package/dist/ai/source/BbTimePickerInput.md +6 -2
- package/dist/ai/source/ClearableButton.md +4 -2
- package/dist/ai/source/ErrorIcon.md +4 -3
- package/dist/ai/source/FlatListBox.md +7 -2
- package/dist/ai/source/GroupedListBox.md +22 -3
- package/dist/ai/source/ListBox.md +7 -1
- package/dist/ai/source/WarningIcon.md +4 -3
- package/dist/assets/svgs/close.svg_raw.js +1 -1
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -1
- package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +35 -34
- package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +48 -47
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +60 -59
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +128 -127
- package/dist/components/BbCalendar/BbCalendar.vue.d.ts +1 -1
- package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +240 -239
- package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +500 -499
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +4 -4
- package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +175 -174
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +1 -1
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +2 -2
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +263 -262
- package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +81 -80
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +4 -0
- package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +318 -312
- package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +47 -46
- package/dist/components/BbDropdown/ptKeys.generated.d.ts +36 -20
- package/dist/components/BbDropdown/types.d.ts +51 -53
- package/dist/components/BbDropdown/types.js +2 -0
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +1 -1
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +74 -59
- package/dist/components/BbDropdownButton/ptKeys.generated.d.ts +111 -63
- package/dist/components/BbDropdownButton/types.d.ts +12 -10
- package/dist/components/BbDropdownButton/types.js +2 -0
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +1 -1
- package/dist/components/BbGallery/BbGallery.vue_vue_type_script_setup_true_lang.js +204 -203
- package/dist/components/BbIcon/iconCache.js +1 -1
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -1
- package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -2
- package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +138 -136
- package/dist/components/BbProgress/BbProgress.vue.d.ts +1 -1
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +4 -4
- package/dist/components/BbRating/BbRating.vue.d.ts +1 -1
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +100 -99
- package/dist/components/BbSelect/BbSelect.vue.d.ts +30 -20
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +201 -184
- package/dist/components/BbSelect/ptKeys.generated.d.ts +128 -96
- package/dist/components/BbSelect/types.d.ts +101 -105
- package/dist/components/BbSelect/types.js +1 -27
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +6 -3
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +617 -585
- package/dist/components/BbSelectPopover/ptKeys.generated.d.ts +22 -10
- package/dist/components/BbSelectPopover/types.d.ts +22 -13
- package/dist/components/BbSelectPopover/types.js +3 -1
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +1 -1
- package/dist/components/BbTable/BbTable.vue.d.ts +1 -1
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1092 -1090
- package/dist/components/BbTable/BbTableDataRow.js +97 -90
- package/dist/components/BbTabs/BbTabs.vue.d.ts +3 -3
- package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +2 -2
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +2 -2
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +225 -224
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +76 -75
- package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +9 -8
- package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
- package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +9 -7
- package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +8 -6
- package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +69 -68
- package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +166 -165
- package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +8 -6
- package/dist/composables/useInternalIcon.js +25 -0
- package/dist/icon-scan.d.ts +1 -1
- package/dist/llms-full.txt +477 -187
- package/dist/llms-medium.txt +25 -24
- package/dist/llms.txt +1 -1
- package/dist/nuxt.js +1 -1
- package/dist/styles.css +2 -2
- package/dist/types/Config.d.ts +8 -1
- package/dist/types/ConfigDefaults.d.ts +10 -2
- package/dist/types/internalIcons.d.ts +89 -0
- package/dist/types/internalIcons.js +158 -0
- package/dist/types/ptComponentMap.d.ts +4 -4
- package/dist/utils/configDefaults.js +75 -64
- package/dist/utils/iconsOption.js +48 -0
- package/dist/utils/versionCheck.js +1 -1
- package/dist/vite-plugin.d.ts +10 -16
- package/dist/vite.js +319 -306
- package/llms.txt +1 -1
- package/package.json +1 -1
- package/scripts/lib/adoption-checklist.json +1 -1
- package/scripts/lib/update-install.mjs +48 -0
- package/scripts/lib/validate-bb-markup.mjs +73 -12
- package/dist/assets/svgs/caret_down.svg_raw.js +0 -3
package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -8,15 +8,16 @@ import { BUTTON_VARIANTS as o } from "../../types/ButtonVariant.js";
|
|
|
8
8
|
import { DROPDOWN_ITEM_VARIANTS as s } from "../../types/DropdownItemVariant.js";
|
|
9
9
|
import { useLocale as c } from "../../composables/useLocale.js";
|
|
10
10
|
import { useOpenProp as l } from "../../composables/useOpenModel.js";
|
|
11
|
-
import { removedPropsFor as
|
|
12
|
-
import { warnRemovedAttrs as
|
|
13
|
-
import "../../assets/svgs/chevron_down.svg_raw.js";
|
|
11
|
+
import { removedPropsFor as ee } from "../../deprecation/removedProps.js";
|
|
12
|
+
import { warnRemovedAttrs as u } from "../../utilities/functions/warnRemovedAttrs.js";
|
|
13
|
+
import d from "../../assets/svgs/chevron_down.svg_raw.js";
|
|
14
14
|
import { BB_DROPDOWN_BUTTON_PT as f } from "./types.js";
|
|
15
15
|
import { registeredVariantNames as p, usePassthrough as m, variantPt as h } from "../../composables/usePassthrough.js";
|
|
16
16
|
import { useConfigDefaults as g } from "../../composables/useConfigDefaults.js";
|
|
17
|
-
import {
|
|
17
|
+
import { useInternalIcon as te } from "../../composables/useInternalIcon.js";
|
|
18
|
+
import { computed as _, createBlock as ne, createCommentVNode as v, createElementBlock as y, createSlots as b, createVNode as x, defineComponent as S, guardReactiveProps as C, mergeProps as w, normalizeProps as T, onMounted as E, openBlock as D, ref as O, renderList as re, renderSlot as k, unref as A, useAttrs as j, useSlots as M, useTemplateRef as N, withCtx as P } from "vue";
|
|
18
19
|
// src/components/BbDropdownButton/BbDropdownButton.vue?vue&type=script&setup=true&lang.ts
|
|
19
|
-
var F = /*@__PURE__*/
|
|
20
|
+
var F = /*@__PURE__*/ S({
|
|
20
21
|
mixins: [h(f)],
|
|
21
22
|
inheritAttrs: !1,
|
|
22
23
|
__name: "BbDropdownButton",
|
|
@@ -135,6 +136,18 @@ var F = /*@__PURE__*/ C({
|
|
|
135
136
|
"pt:list:disabled": {},
|
|
136
137
|
"pt:list:open": {},
|
|
137
138
|
"pt:list:loading": {},
|
|
139
|
+
"pt:groupLabel": {},
|
|
140
|
+
"pt:groupLabel:activeLink": {},
|
|
141
|
+
"pt:groupLabel:exactActiveLink": {},
|
|
142
|
+
"pt:groupLabel:disabled": {},
|
|
143
|
+
"pt:groupLabel:open": {},
|
|
144
|
+
"pt:groupLabel:loading": {},
|
|
145
|
+
"pt:groupHeader": {},
|
|
146
|
+
"pt:groupHeader:activeLink": {},
|
|
147
|
+
"pt:groupHeader:exactActiveLink": {},
|
|
148
|
+
"pt:groupHeader:disabled": {},
|
|
149
|
+
"pt:groupHeader:open": {},
|
|
150
|
+
"pt:groupHeader:loading": {},
|
|
138
151
|
"pt:item": {},
|
|
139
152
|
"pt:item:activeLink": {},
|
|
140
153
|
"pt:item:exactActiveLink": {},
|
|
@@ -278,19 +291,19 @@ var F = /*@__PURE__*/ C({
|
|
|
278
291
|
"item:selected",
|
|
279
292
|
"item:unselected"
|
|
280
293
|
],
|
|
281
|
-
setup(h, { emit:
|
|
282
|
-
let F = h, I =
|
|
294
|
+
setup(h, { emit: S }) {
|
|
295
|
+
let F = h, I = S, L = M(), R = te("expandChevron", d), z = g("BbDropdownButton", F, { block: !1 }), B = g("BbButton", F, {
|
|
283
296
|
size: "md",
|
|
284
297
|
variant: "primary"
|
|
285
|
-
}),
|
|
298
|
+
}), V = /* @__PURE__ */ new Set([
|
|
286
299
|
"activator",
|
|
287
300
|
"default",
|
|
288
301
|
"dropdown",
|
|
289
302
|
"prepend:icon",
|
|
290
303
|
"append:icon"
|
|
291
|
-
]),
|
|
292
|
-
|
|
293
|
-
let
|
|
304
|
+
]), H = () => Object.keys(L).filter((e) => !V.has(e)), U = () => F.items ?? [], W = () => r(U()) || !!L.dropdown, G = O(!1), K = O(!1);
|
|
305
|
+
E(() => K.value = !0);
|
|
306
|
+
let ie = () => W() && (!K.value || G.value), q = /* @__PURE__ */ new Set([
|
|
294
307
|
"adaptive",
|
|
295
308
|
"closeOnSelect",
|
|
296
309
|
"compact",
|
|
@@ -306,16 +319,16 @@ var F = /*@__PURE__*/ C({
|
|
|
306
319
|
"toggle:icon",
|
|
307
320
|
"block",
|
|
308
321
|
"pt"
|
|
309
|
-
]), J = () => Object.fromEntries(Object.entries(F).filter(([e, t]) => t !== void 0 && !q.has(e) && !e.startsWith("pt:"))),
|
|
322
|
+
]), J = () => Object.fromEntries(Object.entries(F).filter(([e, t]) => t !== void 0 && !q.has(e) && !e.startsWith("pt:"))), Y = /^(on[A-Z].*|aria-.*|name|value|autofocus|title|formaction|formenctype|formmethod|formnovalidate|formtarget)$/, X = () => {
|
|
310
323
|
let e = {}, t = {};
|
|
311
|
-
for (let [n, r] of Object.entries(
|
|
324
|
+
for (let [n, r] of Object.entries(Q.rootAttrs)) (Y.test(n) ? e : t)[n] = r;
|
|
312
325
|
return {
|
|
313
326
|
main: e,
|
|
314
327
|
root: t
|
|
315
328
|
};
|
|
316
|
-
},
|
|
329
|
+
}, Z = t(F), Q = m({
|
|
317
330
|
component: "BbDropdownButton",
|
|
318
|
-
attrs:
|
|
331
|
+
attrs: j(),
|
|
319
332
|
props: F,
|
|
320
333
|
parts: f.parts,
|
|
321
334
|
states: f.states,
|
|
@@ -323,15 +336,15 @@ var F = /*@__PURE__*/ C({
|
|
|
323
336
|
loading: () => !!F.loading,
|
|
324
337
|
disabled: () => !!F.disabled,
|
|
325
338
|
open: () => $.value,
|
|
326
|
-
activeLink: () =>
|
|
327
|
-
exactActiveLink: () =>
|
|
339
|
+
activeLink: () => Z.value.activeLink,
|
|
340
|
+
exactActiveLink: () => Z.value.exactActiveLink
|
|
328
341
|
},
|
|
329
342
|
variant: [{
|
|
330
343
|
...f.variant[0],
|
|
331
|
-
current: () =>
|
|
344
|
+
current: () => B.variant
|
|
332
345
|
}, f.variant[1]]
|
|
333
|
-
}),
|
|
334
|
-
...
|
|
346
|
+
}), ae = [...i.states, ...p(o, "buttonVariants")], oe = [...a.states, ...p(s, "dropdownItemVariants")], se = ["activeLink", "exactActiveLink"], ce = () => Q.forward({ toggle: "root" }, ["disabled", ...p(o, "buttonVariants")]), le = () => ({
|
|
347
|
+
...Q.forward([
|
|
335
348
|
"panel",
|
|
336
349
|
"sheet",
|
|
337
350
|
"header",
|
|
@@ -339,80 +352,82 @@ var F = /*@__PURE__*/ C({
|
|
|
339
352
|
"box",
|
|
340
353
|
"input",
|
|
341
354
|
"list",
|
|
355
|
+
"groupLabel",
|
|
356
|
+
"groupHeader",
|
|
342
357
|
"submenu"
|
|
343
|
-
], a.states.filter((e) => e !== "disabled" && !
|
|
344
|
-
...
|
|
358
|
+
], a.states.filter((e) => e !== "disabled" && !se.includes(e))),
|
|
359
|
+
...Q.forward([
|
|
345
360
|
"item",
|
|
346
361
|
"itemText",
|
|
347
362
|
"itemIcon",
|
|
348
363
|
"itemDescription",
|
|
349
364
|
"check"
|
|
350
|
-
],
|
|
365
|
+
], oe)
|
|
351
366
|
});
|
|
352
|
-
process.env.NODE_ENV !== "production" &&
|
|
353
|
-
let
|
|
367
|
+
process.env.NODE_ENV !== "production" && u("BbDropdownButton", ee("BbDropdownButton"));
|
|
368
|
+
let ue = _(() => F["toggle:icon"] ?? R.value), { t: de } = c(), fe = N("root-el"), $ = O(!1), pe = () => {
|
|
354
369
|
$.value = !0, I("show");
|
|
355
|
-
},
|
|
370
|
+
}, me = () => {
|
|
356
371
|
$.value = !1, I("hide");
|
|
357
|
-
},
|
|
358
|
-
return (t, r) => (
|
|
372
|
+
}, he = _(() => de("dropdownButton.open").value), { model: ge, set: _e } = l(F, I);
|
|
373
|
+
return (t, r) => (D(), y("span", w({
|
|
359
374
|
ref: "root-el",
|
|
360
|
-
class: ["bb-dropdown-button", { "bb-dropdown-button--block":
|
|
361
|
-
},
|
|
375
|
+
class: ["bb-dropdown-button", { "bb-dropdown-button--block": A(z).block }]
|
|
376
|
+
}, X().root), [x(e, w({
|
|
362
377
|
...J(),
|
|
363
|
-
...
|
|
378
|
+
...X().main
|
|
364
379
|
}, {
|
|
365
380
|
class: "bb-dropdown-button__main",
|
|
366
|
-
group:
|
|
367
|
-
pt:
|
|
381
|
+
group: ie(),
|
|
382
|
+
pt: A(Q).forward({
|
|
368
383
|
main: "root",
|
|
369
384
|
icon: "icon",
|
|
370
385
|
spinner: "spinner",
|
|
371
386
|
text: "text"
|
|
372
|
-
},
|
|
373
|
-
}),
|
|
387
|
+
}, ae)
|
|
388
|
+
}), b({ _: 2 }, [
|
|
374
389
|
L.default ? {
|
|
375
390
|
name: "default",
|
|
376
|
-
fn: P(() => [
|
|
391
|
+
fn: P(() => [k(t.$slots, "default")]),
|
|
377
392
|
key: "0"
|
|
378
393
|
} : void 0,
|
|
379
394
|
L["prepend:icon"] ? {
|
|
380
395
|
name: "prepend:icon",
|
|
381
|
-
fn: P((e) => [
|
|
396
|
+
fn: P((e) => [k(t.$slots, "prepend:icon", T(C(e)))]),
|
|
382
397
|
key: "1"
|
|
383
398
|
} : void 0,
|
|
384
399
|
L["append:icon"] ? {
|
|
385
400
|
name: "append:icon",
|
|
386
|
-
fn: P((e) => [
|
|
401
|
+
fn: P((e) => [k(t.$slots, "append:icon", T(C(e)))]),
|
|
387
402
|
key: "2"
|
|
388
403
|
} : void 0
|
|
389
|
-
]), 1040, ["group", "pt"]),
|
|
404
|
+
]), 1040, ["group", "pt"]), W() ? (D(), ne(n, {
|
|
390
405
|
key: 0,
|
|
391
406
|
id: h.id,
|
|
392
407
|
adaptive: h.adaptive,
|
|
393
|
-
anchor:
|
|
408
|
+
anchor: fe.value,
|
|
394
409
|
"close-on-select": h.closeOnSelect,
|
|
395
410
|
compact: h.compact,
|
|
396
411
|
disabled: h.disabled,
|
|
397
412
|
eager: h.eager,
|
|
398
|
-
items:
|
|
399
|
-
"model-value":
|
|
413
|
+
items: U(),
|
|
414
|
+
"model-value": A(ge),
|
|
400
415
|
"off-canvas-props": h.offCanvasProps,
|
|
401
416
|
offset: h.offset,
|
|
402
417
|
padding: h.padding,
|
|
403
418
|
placement: h.placement,
|
|
404
|
-
pt:
|
|
419
|
+
pt: le(),
|
|
405
420
|
"transition-duration": h.transitionDuration,
|
|
406
421
|
width: h.width,
|
|
407
422
|
onHidden: r[2] ||= (e) => I("hidden"),
|
|
408
|
-
onHide:
|
|
423
|
+
onHide: me,
|
|
409
424
|
"onItem:selected": r[3] ||= (e) => I("item:selected", e),
|
|
410
425
|
"onItem:unselected": r[4] ||= (e) => I("item:unselected", e),
|
|
411
|
-
onShow:
|
|
426
|
+
onShow: pe,
|
|
412
427
|
onShown: r[5] ||= (e) => I("shown"),
|
|
413
|
-
"onUpdate:modelValue":
|
|
414
|
-
},
|
|
415
|
-
activator: P(({ props: t, loading: n }) => [
|
|
428
|
+
"onUpdate:modelValue": A(_e)
|
|
429
|
+
}, b({
|
|
430
|
+
activator: P(({ props: t, loading: n }) => [x(e, w({
|
|
416
431
|
class: "bb-dropdown-button__toggle",
|
|
417
432
|
"disable-auto-loading": "",
|
|
418
433
|
disabled: h.disabled,
|
|
@@ -420,14 +435,14 @@ var F = /*@__PURE__*/ C({
|
|
|
420
435
|
"icon-only": "",
|
|
421
436
|
"interactive-while-loading": "",
|
|
422
437
|
loading: n,
|
|
423
|
-
"prepend:icon":
|
|
424
|
-
pt:
|
|
425
|
-
size:
|
|
426
|
-
text:
|
|
427
|
-
variant:
|
|
438
|
+
"prepend:icon": ue.value,
|
|
439
|
+
pt: ce(),
|
|
440
|
+
size: A(B).size,
|
|
441
|
+
text: he.value,
|
|
442
|
+
variant: A(B).variant
|
|
428
443
|
}, t, {
|
|
429
|
-
onVnodeMounted: r[0] ||= (e) =>
|
|
430
|
-
onVnodeUnmounted: r[1] ||= (e) =>
|
|
444
|
+
onVnodeMounted: r[0] ||= (e) => G.value = !0,
|
|
445
|
+
onVnodeUnmounted: r[1] ||= (e) => G.value = !1
|
|
431
446
|
}), null, 16, [
|
|
432
447
|
"disabled",
|
|
433
448
|
"loading",
|
|
@@ -437,11 +452,11 @@ var F = /*@__PURE__*/ C({
|
|
|
437
452
|
"text",
|
|
438
453
|
"variant"
|
|
439
454
|
])]),
|
|
440
|
-
default: P(() => [
|
|
455
|
+
default: P(() => [k(t.$slots, "dropdown")]),
|
|
441
456
|
_: 2
|
|
442
|
-
}, [
|
|
457
|
+
}, [re(H(), (e) => ({
|
|
443
458
|
name: e,
|
|
444
|
-
fn: P((n) => [
|
|
459
|
+
fn: P((n) => [k(t.$slots, e, T(C(n)))])
|
|
445
460
|
}))]), 1032, [
|
|
446
461
|
"id",
|
|
447
462
|
"adaptive",
|
|
@@ -460,7 +475,7 @@ var F = /*@__PURE__*/ C({
|
|
|
460
475
|
"transition-duration",
|
|
461
476
|
"width",
|
|
462
477
|
"onUpdate:modelValue"
|
|
463
|
-
])) :
|
|
478
|
+
])) : v("", !0)], 16));
|
|
464
479
|
}
|
|
465
480
|
});
|
|
466
481
|
export { F as default };
|