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
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { vAutofocus as e } from "../../utilities/misc/autofocus.js";
|
|
2
2
|
import t from "../BbIcon/BbIcon.vue.js";
|
|
3
3
|
import n from "../CommonField/CommonField.vue.js";
|
|
4
|
-
import
|
|
5
|
-
import { aliasParts as
|
|
6
|
-
import { useActiveInactiveState as
|
|
7
|
-
import { useConfigDefaults as
|
|
8
|
-
import { ICON_SIZES as
|
|
9
|
-
import { useFormBinding as
|
|
10
|
-
import { useId as
|
|
11
|
-
import { useLocale as
|
|
12
|
-
import { useLogger as
|
|
4
|
+
import r from "../../assets/svgs/star.svg_raw.js";
|
|
5
|
+
import { aliasParts as i, formControlPtActive as a, pickActive as o, usePassthrough as s } from "../../composables/usePassthrough.js";
|
|
6
|
+
import { useActiveInactiveState as ee } from "../../composables/useActiveInactiveState.js";
|
|
7
|
+
import { useConfigDefaults as te, useSizeMap as ne } from "../../composables/useConfigDefaults.js";
|
|
8
|
+
import { ICON_SIZES as re } from "../../types/SizeScale.js";
|
|
9
|
+
import { useFormBinding as ie } from "../../composables/useFormBinding.js";
|
|
10
|
+
import { useId as c } from "../../composables/useId.js";
|
|
11
|
+
import { useLocale as l } from "../../composables/useLocale.js";
|
|
12
|
+
import { useLogger as u } from "../../composables/useLogger.js";
|
|
13
13
|
import { useOnFalsy as ae } from "../../composables/useOnFalsy.js";
|
|
14
14
|
import { useOnTruthy as oe } from "../../composables/useOnTruthy.js";
|
|
15
15
|
import { removedPropsFor as se } from "../../deprecation/removedProps.js";
|
|
@@ -17,14 +17,15 @@ import { parseSize as ce } from "../../utilities/functions/parseSize.js";
|
|
|
17
17
|
import { createClickCount as le } from "../../utilities/functions/clickCount.js";
|
|
18
18
|
import { warnRemovedAttrs as ue } from "../../utilities/functions/warnRemovedAttrs.js";
|
|
19
19
|
import { BB_RATING_PT as d } from "./types.js";
|
|
20
|
-
import {
|
|
20
|
+
import { useInternalIcon as de } from "../../composables/useInternalIcon.js";
|
|
21
|
+
import { Fragment as fe, computed as f, createBlock as pe, createCommentVNode as me, createElementBlock as p, createElementVNode as m, createSlots as he, createVNode as ge, defineComponent as h, guardReactiveProps as g, mergeProps as _, normalizeClass as v, normalizeProps as y, normalizeStyle as _e, openBlock as b, ref as x, renderList as ve, renderSlot as S, toDisplayString as C, unref as w, useAttrs as ye, useSlots as T, useTemplateRef as E, withCtx as D, withDirectives as O } from "vue";
|
|
21
22
|
// src/components/BbRating/BbRating.vue?vue&type=script&setup=true&lang.ts
|
|
22
|
-
var
|
|
23
|
+
var k = [
|
|
23
24
|
"aria-labelledby",
|
|
24
25
|
"aria-readonly",
|
|
25
26
|
"aria-required",
|
|
26
27
|
"role"
|
|
27
|
-
],
|
|
28
|
+
], A = ["id"], j = { class: "bb-rating__label-text bb-sr-only" }, M = [
|
|
28
29
|
"id",
|
|
29
30
|
"aria-describedby",
|
|
30
31
|
"autofocus",
|
|
@@ -33,7 +34,7 @@ var O = [
|
|
|
33
34
|
"name",
|
|
34
35
|
"required",
|
|
35
36
|
"value"
|
|
36
|
-
],
|
|
37
|
+
], N = /*@__PURE__*/ h({
|
|
37
38
|
inheritAttrs: !1,
|
|
38
39
|
__name: "BbRating",
|
|
39
40
|
props: {
|
|
@@ -129,57 +130,57 @@ var O = [
|
|
|
129
130
|
"mouseup",
|
|
130
131
|
"update:modelValue"
|
|
131
132
|
],
|
|
132
|
-
setup(
|
|
133
|
-
let
|
|
133
|
+
setup(h, { emit: N }) {
|
|
134
|
+
let P = h, be = N, xe = T(), Se = de("star", r), F = te("BbRating", P, {
|
|
134
135
|
inputPosition: "start",
|
|
135
136
|
compact: !1,
|
|
136
137
|
reverse: !1
|
|
137
|
-
}), { props: I, emit: L, showAsterisk:
|
|
138
|
+
}), { props: I, emit: L, showAsterisk: Ce, errors: we, required: Te, ariaRequired: R, model: Ee, readonly: z } = ie(P, be, {
|
|
138
139
|
componentName: "BbRating",
|
|
139
|
-
identifierFallback: () =>
|
|
140
|
+
identifierFallback: () => P.legend,
|
|
140
141
|
leaveOn: "inactive"
|
|
141
|
-
}),
|
|
142
|
+
}), De = ne("BbRating", re), { t: B } = l(), Oe = u(), V = () => !!I.legend || !!xe.legend;
|
|
142
143
|
process.env.NODE_ENV !== "production" && ue("BbRating", se("BbRating"));
|
|
143
|
-
let
|
|
144
|
+
let H = x(!1), ke = f(() => I.persistentHint || H.value), Ae = c().id, U = f(() => I.name || Ae.value), W = c().id, G = s({
|
|
144
145
|
component: "BbRating",
|
|
145
|
-
attrs:
|
|
146
|
+
attrs: ye(),
|
|
146
147
|
props: I,
|
|
147
148
|
parts: d.parts,
|
|
148
149
|
states: d.states,
|
|
149
|
-
active: a(
|
|
150
|
+
active: o(a(I, () => !!I.modelValue), [
|
|
150
151
|
"errors",
|
|
151
152
|
"warnings",
|
|
152
153
|
"disabled",
|
|
153
154
|
"readonly",
|
|
154
155
|
"hasValue"
|
|
155
156
|
])
|
|
156
|
-
}),
|
|
157
|
-
ae(
|
|
158
|
-
|
|
159
|
-
}), oe(
|
|
160
|
-
|
|
157
|
+
}), je = i(G, { label: "legend" }), Me = E("container-el"), { active: K } = ee(Me);
|
|
158
|
+
ae(K, () => {
|
|
159
|
+
H.value = !1, L("inactive");
|
|
160
|
+
}), oe(K, () => {
|
|
161
|
+
H.value = !0, L("active");
|
|
161
162
|
});
|
|
162
|
-
let
|
|
163
|
-
let t = [e,
|
|
163
|
+
let q = x(!1), J = () => V() ? "radiogroup" : void 0, Y = f(() => I.clearable && !I.disabled && !I.readonly), Ne = B("rating.clearHint"), X = (e, t) => `${e}_${t}`, Pe = (e) => {
|
|
164
|
+
let t = [e, Y.value ? W.value : void 0].filter(Boolean);
|
|
164
165
|
return t.length ? t.join(" ") : void 0;
|
|
165
|
-
},
|
|
166
|
+
}, Fe = (e) => {
|
|
166
167
|
I.readonly ? e.target instanceof HTMLInputElement && (e.target.checked = +e.target.value === I.modelValue) : (L("change", e), e.target instanceof HTMLInputElement && e.target.checked && L("update:modelValue", +e.target.value));
|
|
167
168
|
}, Z = le(), Q = (e) => {
|
|
168
169
|
if (I.readonly || !I.clearable) return !1;
|
|
169
170
|
let t = e.target;
|
|
170
|
-
return !(t instanceof HTMLInputElement) || !t.checked || +t.value !== I.modelValue ? !1 : (
|
|
171
|
-
},
|
|
171
|
+
return !(t instanceof HTMLInputElement) || !t.checked || +t.value !== I.modelValue ? !1 : (q.value = !0, L("update:modelValue", null), !0);
|
|
172
|
+
}, Ie = (e) => {
|
|
172
173
|
I.readonly && e.preventDefault(), L("click", e), Z.count(e) <= 1 && Q(e);
|
|
173
|
-
},
|
|
174
|
+
}, Le = (e) => {
|
|
174
175
|
e.key === " " && Q(e) && e.preventDefault();
|
|
175
|
-
},
|
|
176
|
-
|
|
177
|
-
},
|
|
176
|
+
}, Re = () => {
|
|
177
|
+
q.value &&= !1;
|
|
178
|
+
}, ze = {
|
|
178
179
|
onBlur: (e) => L("blur", e),
|
|
179
|
-
onChange:
|
|
180
|
-
onClick:
|
|
180
|
+
onChange: Fe,
|
|
181
|
+
onClick: Ie,
|
|
181
182
|
onFocus: (e) => {
|
|
182
|
-
|
|
183
|
+
H.value = !0, L("focus", e);
|
|
183
184
|
},
|
|
184
185
|
onInput: (e) => L("input", e),
|
|
185
186
|
onKeydown: (e) => {
|
|
@@ -197,128 +198,128 @@ var O = [
|
|
|
197
198
|
"End"
|
|
198
199
|
].includes(e.key) && e.preventDefault(), L("keydown", e);
|
|
199
200
|
},
|
|
200
|
-
onKeyup:
|
|
201
|
+
onKeyup: Le,
|
|
201
202
|
onMousedown: (e) => L("mousedown", e),
|
|
202
203
|
onMouseup: (e) => L("mouseup", e)
|
|
203
|
-
}, $ =
|
|
204
|
+
}, $ = f(() => {
|
|
204
205
|
if (I.size != null) try {
|
|
205
|
-
return ce(I.size,
|
|
206
|
+
return ce(I.size, De.value);
|
|
206
207
|
} catch {
|
|
207
|
-
|
|
208
|
+
Oe.warn(`Invalid size: "${I.size}" in BbRating. Falling back to the default star size.`);
|
|
208
209
|
return;
|
|
209
210
|
}
|
|
210
|
-
}),
|
|
211
|
+
}), Be = f(() => Array.from({ length: I.stars }, (e, t) => t + 1).map((e) => {
|
|
211
212
|
let t = e === I.modelValue, n = e <= (I.modelValue ?? 0);
|
|
212
213
|
return {
|
|
213
214
|
checked: t,
|
|
214
215
|
disabled: !!I.disabled,
|
|
215
216
|
filled: n,
|
|
216
|
-
name:
|
|
217
|
+
name: U.value,
|
|
217
218
|
size: $.value,
|
|
218
219
|
value: e
|
|
219
220
|
};
|
|
220
|
-
})),
|
|
221
|
+
})), Ve = f(() => {
|
|
221
222
|
let e = {};
|
|
222
223
|
return $.value && (e["--size"] = $.value), e;
|
|
223
224
|
});
|
|
224
|
-
return (r, i) => (b(),
|
|
225
|
-
id:
|
|
225
|
+
return (r, i) => (b(), pe(n, _({
|
|
226
|
+
id: h.id,
|
|
226
227
|
class: "bb-rating",
|
|
227
228
|
compact: w(F).compact,
|
|
228
|
-
description:
|
|
229
|
-
disabled:
|
|
230
|
-
errors: w(
|
|
231
|
-
"has-errors":
|
|
232
|
-
"has-warnings":
|
|
233
|
-
"hide-label":
|
|
234
|
-
hint:
|
|
235
|
-
"input-align":
|
|
229
|
+
description: h.description,
|
|
230
|
+
disabled: h.disabled,
|
|
231
|
+
errors: w(we),
|
|
232
|
+
"has-errors": h.hasErrors,
|
|
233
|
+
"has-warnings": h.hasWarnings,
|
|
234
|
+
"hide-label": h.hideLegend,
|
|
235
|
+
hint: h.hint,
|
|
236
|
+
"input-align": h.inputAlign,
|
|
236
237
|
"input-position": w(F).inputPosition,
|
|
237
|
-
label:
|
|
238
|
-
"label-align":
|
|
239
|
-
"label-mode":
|
|
240
|
-
"label-position":
|
|
238
|
+
label: h.legend,
|
|
239
|
+
"label-align": h.labelAlign,
|
|
240
|
+
"label-mode": h.legendMode,
|
|
241
|
+
"label-position": h.legendPosition,
|
|
241
242
|
"label-tag": "legend",
|
|
242
243
|
layout: w(F).layout,
|
|
243
|
-
name:
|
|
244
|
-
passthrough: w(
|
|
245
|
-
readonly: w(
|
|
244
|
+
name: U.value,
|
|
245
|
+
passthrough: w(je),
|
|
246
|
+
readonly: w(z),
|
|
246
247
|
reverse: w(F).reverse,
|
|
247
|
-
"show-asterisk": w(
|
|
248
|
-
"show-hint":
|
|
248
|
+
"show-asterisk": w(Ce),
|
|
249
|
+
"show-hint": ke.value,
|
|
249
250
|
tag: "fieldset",
|
|
250
|
-
warnings:
|
|
251
|
-
}, w(
|
|
252
|
-
label:
|
|
253
|
-
input:
|
|
251
|
+
warnings: h.warnings
|
|
252
|
+
}, w(G).forwardAttrs), he({
|
|
253
|
+
label: D((e) => [S(r.$slots, "legend", y(g(e)))]),
|
|
254
|
+
input: D(({ id: n, hasErrors: a, hasWarnings: o, ariaDescribedby: s }) => [m("span", {
|
|
254
255
|
ref: "container-el",
|
|
255
|
-
class:
|
|
256
|
-
"bb-rating__stars--has-value": w(
|
|
257
|
-
"bb-rating__stars--disabled":
|
|
256
|
+
class: v(["bb-rating__stars", {
|
|
257
|
+
"bb-rating__stars--has-value": w(Ee),
|
|
258
|
+
"bb-rating__stars--disabled": h.disabled,
|
|
258
259
|
"bb-rating__stars--errors": a,
|
|
259
260
|
"bb-rating__stars--warnings": !!o && !a,
|
|
260
|
-
"bb-rating__stars--readonly": w(
|
|
261
|
-
"bb-rating__stars--forced-clear":
|
|
261
|
+
"bb-rating__stars--readonly": w(z),
|
|
262
|
+
"bb-rating__stars--forced-clear": q.value
|
|
262
263
|
}]),
|
|
263
264
|
"data-bb-no-drag": "",
|
|
264
|
-
style:
|
|
265
|
+
style: _e(Ve.value),
|
|
265
266
|
onMousedownCapture: i[0] ||= (...e) => w(Z).onPress && w(Z).onPress(...e),
|
|
266
|
-
onPointermove:
|
|
267
|
-
}, [
|
|
268
|
-
"aria-labelledby":
|
|
269
|
-
"aria-readonly":
|
|
270
|
-
"aria-required":
|
|
267
|
+
onPointermove: Re
|
|
268
|
+
}, [m("span", {
|
|
269
|
+
"aria-labelledby": V() ? `${n}__label` : void 0,
|
|
270
|
+
"aria-readonly": J() && w(z) ? !0 : void 0,
|
|
271
|
+
"aria-required": J() ? w(R) : void 0,
|
|
271
272
|
class: "bb-rating__options",
|
|
272
|
-
role:
|
|
273
|
+
role: J()
|
|
273
274
|
}, [
|
|
274
275
|
S(r.$slots, "prepend"),
|
|
275
|
-
|
|
276
|
+
Y.value ? (b(), p("span", {
|
|
276
277
|
key: 0,
|
|
277
|
-
id: w(
|
|
278
|
+
id: w(W),
|
|
278
279
|
hidden: ""
|
|
279
|
-
}, C(w(
|
|
280
|
-
(b(!0),
|
|
280
|
+
}, C(w(Ne)), 9, A)) : me("", !0),
|
|
281
|
+
(b(!0), p(fe, null, ve(Be.value, (i, a) => (b(), p("label", _({
|
|
281
282
|
key: i.value,
|
|
282
283
|
class: ["bb-rating__item", {
|
|
283
284
|
"bb-rating__item--filled": i.filled,
|
|
284
285
|
"bb-rating__item--empty": !i.filled,
|
|
285
286
|
"bb-rating__item--disabled": i.disabled,
|
|
286
|
-
"bb-rating__item--readonly": w(
|
|
287
|
+
"bb-rating__item--readonly": w(z)
|
|
287
288
|
}]
|
|
288
|
-
}, { ref_for: !0 }, w(
|
|
289
|
+
}, { ref_for: !0 }, w(G).part("item", {
|
|
289
290
|
selected: i.filled,
|
|
290
291
|
disabled: i.disabled || void 0
|
|
291
292
|
})), [
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
id:
|
|
295
|
-
"aria-describedby":
|
|
296
|
-
autofocus:
|
|
293
|
+
m("span", j, C(i.value == 1 ? w(B)("rating.singleStar", i.value, w(I).stars).value : w(B)("rating.multipleStars", i.value, w(I).stars).value), 1),
|
|
294
|
+
O(m("input", _({
|
|
295
|
+
id: X(n, i.value),
|
|
296
|
+
"aria-describedby": Pe(s),
|
|
297
|
+
autofocus: h.autofocus && !a,
|
|
297
298
|
checked: i.checked,
|
|
298
299
|
class: "bb-sr-only",
|
|
299
300
|
disabled: i.disabled,
|
|
300
301
|
name: i.name,
|
|
301
|
-
required: w(
|
|
302
|
+
required: w(z) ? void 0 : w(Te) || void 0,
|
|
302
303
|
type: "radio",
|
|
303
304
|
value: i.value
|
|
304
|
-
}, { ref_for: !0 },
|
|
305
|
+
}, { ref_for: !0 }, ze), null, 16, M), [[w(e)]]),
|
|
305
306
|
S(r.$slots, "icon", {
|
|
306
|
-
id:
|
|
307
|
+
id: X(n, i.value),
|
|
307
308
|
checked: i.filled,
|
|
308
309
|
disabled: i.disabled,
|
|
309
310
|
size: i.size,
|
|
310
311
|
value: i.value
|
|
311
|
-
}, () => [
|
|
312
|
+
}, () => [ge(t, {
|
|
312
313
|
class: "bb-rating__icon",
|
|
313
|
-
icon: w(
|
|
314
|
+
icon: w(Se)
|
|
314
315
|
}, null, 8, ["icon"])])
|
|
315
316
|
], 16))), 128)),
|
|
316
317
|
S(r.$slots, "append")
|
|
317
|
-
], 8,
|
|
318
|
+
], 8, k)], 38)]),
|
|
318
319
|
_: 2
|
|
319
320
|
}, [r.$slots.description ? {
|
|
320
321
|
name: "description",
|
|
321
|
-
fn:
|
|
322
|
+
fn: D((e) => [S(r.$slots, "description", y(g(e)))]),
|
|
322
323
|
key: "0"
|
|
323
324
|
} : void 0]), 1040, [
|
|
324
325
|
"id",
|
|
@@ -347,4 +348,4 @@ var O = [
|
|
|
347
348
|
]));
|
|
348
349
|
}
|
|
349
350
|
});
|
|
350
|
-
export {
|
|
351
|
+
export { N as default };
|
|
@@ -8,7 +8,7 @@ declare const __VLS_export: <const T = any, Known extends BbSelectKnownItems | u
|
|
|
8
8
|
[x: `pt:${string}&${string}`]: unknown;
|
|
9
9
|
} & {
|
|
10
10
|
pt?: import('../../types/passthrough.js').PtCompoundOf<"", {
|
|
11
|
-
readonly parts: readonly ["root", "label", "description", "message", "hint", "box", "activator", "input", "icon", "spinner", "prefix", "suffix", "clear", "panel", "sheet", "header", "footer", "list", "option", "itemText", "itemIcon", "itemDescription", "check", "badge", "comma"];
|
|
11
|
+
readonly parts: readonly ["root", "label", "description", "message", "hint", "box", "activator", "input", "icon", "spinner", "prefix", "suffix", "clear", "panel", "sheet", "header", "footer", "list", "groupHeader", "option", "itemText", "itemIcon", "itemDescription", "check", "badge", "comma"];
|
|
12
12
|
readonly states: readonly ["hasValue", "selected", "readonly", "disabled", "warnings", "errors", "open", "loading"];
|
|
13
13
|
readonly wide: readonly ["hasValue", "readonly", "disabled", "warnings", "errors", "open", "loading"];
|
|
14
14
|
readonly node: {
|
|
@@ -29,14 +29,15 @@ declare const __VLS_export: <const T = any, Known extends BbSelectKnownItems | u
|
|
|
29
29
|
}> | undefined;
|
|
30
30
|
} & import('../../types/passthrough.js').PtVariantAttrs<import('./types.js').BbSelectVariantPtPart, keyof import('../../index.js').SelectVariantRegistry> & import('./ptKeys.generated.js').BbSelectPtKeys & {
|
|
31
31
|
"pt:itemDescription"?: import('../../types/passthrough.js').PtValue | ((ctx: import('../../types/passthrough.js').PtItemCtx<import('../../types/passthrough.js').PtNoInfer<T>, import('./types.js').BbSelectPtState, never, BbSelectSlotRow<import('../../types/passthrough.js').PtNoInfer<T>, import('../../types/passthrough.js').PtNoInfer<Known>>>) => import('../../types/passthrough.js').PtItemResult) | undefined;
|
|
32
|
+
"pt:check"?: import('../../types/passthrough.js').PtValue | ((ctx: import('../../types/passthrough.js').PtItemCtx<import('../../types/passthrough.js').PtNoInfer<T>, import('./types.js').BbSelectPtState, never, BbSelectSlotRow<import('../../types/passthrough.js').PtNoInfer<T>, import('../../types/passthrough.js').PtNoInfer<Known>>>) => import('../../types/passthrough.js').PtItemResult) | undefined;
|
|
32
33
|
"pt:itemText"?: import('../../types/passthrough.js').PtValue | ((ctx: import('../../types/passthrough.js').PtItemCtx<import('../../types/passthrough.js').PtNoInfer<T>, import('./types.js').BbSelectPtState, never, BbSelectSlotRow<import('../../types/passthrough.js').PtNoInfer<T>, import('../../types/passthrough.js').PtNoInfer<Known>>>) => import('../../types/passthrough.js').PtItemResult) | undefined;
|
|
33
34
|
"pt:itemIcon"?: import('../../types/passthrough.js').PtValue | ((ctx: import('../../types/passthrough.js').PtItemCtx<import('../../types/passthrough.js').PtNoInfer<T>, import('./types.js').BbSelectPtState, never, BbSelectSlotRow<import('../../types/passthrough.js').PtNoInfer<T>, import('../../types/passthrough.js').PtNoInfer<Known>>>) => import('../../types/passthrough.js').PtItemResult) | undefined;
|
|
34
|
-
"pt:check"?: import('../../types/passthrough.js').PtValue | ((ctx: import('../../types/passthrough.js').PtItemCtx<import('../../types/passthrough.js').PtNoInfer<T>, import('./types.js').BbSelectPtState, never, BbSelectSlotRow<import('../../types/passthrough.js').PtNoInfer<T>, import('../../types/passthrough.js').PtNoInfer<Known>>>) => import('../../types/passthrough.js').PtItemResult) | undefined;
|
|
35
35
|
"pt:option"?: import('../../types/passthrough.js').PtValue | ((ctx: import('../../types/passthrough.js').PtItemCtx<import('../../types/passthrough.js').PtNoInfer<T>, import('./types.js').BbSelectPtState, never, BbSelectSlotRow<import('../../types/passthrough.js').PtNoInfer<T>, import('../../types/passthrough.js').PtNoInfer<Known>>>) => import('../../types/passthrough.js').PtItemResult) | undefined;
|
|
36
36
|
"pt:badge"?: import('../../types/passthrough.js').PtValue | ((ctx: import('../../types/passthrough.js').PtItemCtx<import('../../types/passthrough.js').PtNoInfer<T>, import('./types.js').BbSelectPtState, never, BbSelectSlotRow<import('../../types/passthrough.js').PtNoInfer<T>, import('../../types/passthrough.js').PtNoInfer<Known>>>) => import('../../types/passthrough.js').PtItemResult) | undefined;
|
|
37
37
|
"pt:comma"?: import('../../types/passthrough.js').PtValue | ((ctx: import('../../types/passthrough.js').PtItemCtx<import('../../types/passthrough.js').PtNoInfer<T>, import('./types.js').BbSelectPtState, never, BbSelectSlotRow<import('../../types/passthrough.js').PtNoInfer<T>, import('../../types/passthrough.js').PtNoInfer<Known>>>) => import('../../types/passthrough.js').PtItemResult) | undefined;
|
|
38
38
|
} & {
|
|
39
39
|
open?: boolean;
|
|
40
|
+
query?: string;
|
|
40
41
|
pt?: ({
|
|
41
42
|
label?: import('../../types/passthrough.js').PtValue | undefined;
|
|
42
43
|
root?: import('../../types/passthrough.js').PtValue | undefined;
|
|
@@ -179,39 +180,47 @@ declare const __VLS_export: <const T = any, Known extends BbSelectKnownItems | u
|
|
|
179
180
|
"activator:loading"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
180
181
|
footer?: import('../../types/passthrough.js').PtValue | undefined;
|
|
181
182
|
"footer:open"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
183
|
+
groupHeader?: import('../../types/passthrough.js').PtValue | undefined;
|
|
182
184
|
"list:open"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
183
185
|
"itemDescription:open"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
186
|
+
"check:open"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
187
|
+
"groupHeader:open"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
184
188
|
"itemText:open"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
185
189
|
"itemIcon:open"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
186
|
-
"check:open"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
187
190
|
"itemDescription:selected"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
191
|
+
"check:selected"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
192
|
+
"check:disabled"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
188
193
|
"itemText:selected"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
189
194
|
"itemText:disabled"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
190
195
|
"itemIcon:selected"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
191
196
|
"itemIcon:disabled"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
192
|
-
"check:
|
|
193
|
-
"check:disabled"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
194
|
-
"itemText:loading"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
197
|
+
"check:loading"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
195
198
|
"footer:disabled"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
196
199
|
"footer:loading"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
200
|
+
"groupHeader:disabled"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
201
|
+
"groupHeader:loading"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
202
|
+
"itemText:loading"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
197
203
|
"itemIcon:loading"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
198
|
-
"check:
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
"
|
|
202
|
-
"itemText:errors"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
204
|
+
"check:hasValue"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
205
|
+
"check:readonly"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
206
|
+
"check:warnings"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
207
|
+
"check:errors"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
203
208
|
"footer:hasValue"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
204
209
|
"footer:readonly"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
205
210
|
"footer:warnings"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
206
211
|
"footer:errors"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
212
|
+
"groupHeader:hasValue"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
213
|
+
"groupHeader:readonly"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
214
|
+
"groupHeader:warnings"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
215
|
+
"groupHeader:errors"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
216
|
+
"itemText:hasValue"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
217
|
+
"itemText:readonly"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
218
|
+
"itemText:warnings"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
219
|
+
"itemText:errors"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
207
220
|
"itemIcon:hasValue"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
208
221
|
"itemIcon:readonly"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
209
222
|
"itemIcon:warnings"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
210
223
|
"itemIcon:errors"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
211
|
-
"check:hasValue"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
212
|
-
"check:readonly"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
213
|
-
"check:warnings"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
214
|
-
"check:errors"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
215
224
|
"option:open"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
216
225
|
"option:hasValue"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
217
226
|
"option:readonly"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
@@ -236,9 +245,9 @@ declare const __VLS_export: <const T = any, Known extends BbSelectKnownItems | u
|
|
|
236
245
|
"option:selected"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
237
246
|
} & {
|
|
238
247
|
itemDescription?: import('../../types/passthrough.js').PtValue | import('../../types/passthrough.js').PtItemFn<import('../../types/passthrough.js').PtNoInfer<T>, import('./types.js').BbSelectPtState, never, BbSelectSlotRow<import('../../types/passthrough.js').PtNoInfer<T>, import('../../types/passthrough.js').PtNoInfer<Known>>> | undefined;
|
|
248
|
+
check?: import('../../types/passthrough.js').PtValue | import('../../types/passthrough.js').PtItemFn<import('../../types/passthrough.js').PtNoInfer<T>, import('./types.js').BbSelectPtState, never, BbSelectSlotRow<import('../../types/passthrough.js').PtNoInfer<T>, import('../../types/passthrough.js').PtNoInfer<Known>>> | undefined;
|
|
239
249
|
itemText?: import('../../types/passthrough.js').PtValue | import('../../types/passthrough.js').PtItemFn<import('../../types/passthrough.js').PtNoInfer<T>, import('./types.js').BbSelectPtState, never, BbSelectSlotRow<import('../../types/passthrough.js').PtNoInfer<T>, import('../../types/passthrough.js').PtNoInfer<Known>>> | undefined;
|
|
240
250
|
itemIcon?: import('../../types/passthrough.js').PtValue | import('../../types/passthrough.js').PtItemFn<import('../../types/passthrough.js').PtNoInfer<T>, import('./types.js').BbSelectPtState, never, BbSelectSlotRow<import('../../types/passthrough.js').PtNoInfer<T>, import('../../types/passthrough.js').PtNoInfer<Known>>> | undefined;
|
|
241
|
-
check?: import('../../types/passthrough.js').PtValue | import('../../types/passthrough.js').PtItemFn<import('../../types/passthrough.js').PtNoInfer<T>, import('./types.js').BbSelectPtState, never, BbSelectSlotRow<import('../../types/passthrough.js').PtNoInfer<T>, import('../../types/passthrough.js').PtNoInfer<Known>>> | undefined;
|
|
242
251
|
option?: import('../../types/passthrough.js').PtValue | import('../../types/passthrough.js').PtItemFn<import('../../types/passthrough.js').PtNoInfer<T>, import('./types.js').BbSelectPtState, never, BbSelectSlotRow<import('../../types/passthrough.js').PtNoInfer<T>, import('../../types/passthrough.js').PtNoInfer<Known>>> | undefined;
|
|
243
252
|
badge?: import('../../types/passthrough.js').PtValue | import('../../types/passthrough.js').PtItemFn<import('../../types/passthrough.js').PtNoInfer<T>, import('./types.js').BbSelectPtState, never, BbSelectSlotRow<import('../../types/passthrough.js').PtNoInfer<T>, import('../../types/passthrough.js').PtNoInfer<Known>>> | undefined;
|
|
244
253
|
comma?: import('../../types/passthrough.js').PtValue | import('../../types/passthrough.js').PtItemFn<import('../../types/passthrough.js').PtNoInfer<T>, import('./types.js').BbSelectPtState, never, BbSelectSlotRow<import('../../types/passthrough.js').PtNoInfer<T>, import('../../types/passthrough.js').PtNoInfer<Known>>> | undefined;
|
|
@@ -255,15 +264,15 @@ declare const __VLS_export: <const T = any, Known extends BbSelectKnownItems | u
|
|
|
255
264
|
"clear:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
256
265
|
"clear:secondary"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
257
266
|
"label:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
258
|
-
"description:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
259
|
-
"message:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
260
|
-
"hint:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
261
267
|
"label:secondary"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
262
268
|
"label:ghost"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
269
|
+
"description:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
263
270
|
"description:secondary"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
264
271
|
"description:ghost"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
272
|
+
"message:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
265
273
|
"message:secondary"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
266
274
|
"message:ghost"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
275
|
+
"hint:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
267
276
|
"hint:secondary"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
268
277
|
"hint:ghost"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
269
278
|
"box:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
@@ -344,7 +353,7 @@ declare const __VLS_export: <const T = any, Known extends BbSelectKnownItems | u
|
|
|
344
353
|
itemValue?: ItemKeyInput<T, A> | ItemGetter<T, any>;
|
|
345
354
|
itemText?: ItemKeyInput<T, Tx> | ItemGetter<T, string>;
|
|
346
355
|
multiple?: MultipleInput<M>;
|
|
347
|
-
} & Omit<import('vue').HTMLAttributes, "label" | "reverse" | `pt:${string}&${string}` | "placeholder" | "readonly" | "disabled" | "warnings" | "errors" | "open" | "loading" | "description" | "hint" | "pt" | "onClick" | "variant" | "prepend:icon" | "append:icon" | "dependencies" | "compact" | "layout" | "labelMode" | "autocomplete" | "adaptive" | "transitionDuration" | "modelValue" | "clearable" | "autofocus" | "labelAlign" | "inputAlign" | "hasErrors" | "hasWarnings" | "hideLabel" | "id" | "labelPosition" | "name" | "persistentHint" | "required" |
|
|
356
|
+
} & Omit<import('vue').HTMLAttributes, "label" | "reverse" | `pt:${string}&${string}` | "placeholder" | "readonly" | "disabled" | "warnings" | "errors" | "open" | "loading" | "description" | "hint" | "pt" | "onClick" | "variant" | "prepend:icon" | "append:icon" | "dependencies" | "query" | "compact" | "layout" | "labelMode" | "autocomplete" | "adaptive" | "transitionDuration" | "modelValue" | "clearable" | "offCanvasProps" | "autofocus" | "labelAlign" | "inputAlign" | "hasErrors" | "hasWarnings" | "hideLabel" | "id" | "labelPosition" | "name" | "persistentHint" | "required" | "multiple" | "max" | "selectable" | "disableWriting" | "itemText" | "enforceCoherence" | "items" | "loadingText" | "emptyText" | "failedText" | "queryDebounceTime" | "comma" | keyof import('./ptKeys.generated.js').BbSelectPtKeys | "depsDebounceTime" | "filterBy" | "groupBy" | "headerHeight" | "itemHeight" | "itemProps" | "itemValue" | "knownItems" | "maxSelectedLabels" | "minQueryLength" | "modelValueDebounceTime" | "prefill" | "selectedLabelsFn" | "stash" | keyof import('../../composables/useFormBinding.js').FormFieldProps<any> | "onFocus" | "onBlur" | "onChange" | "onInput"> & {} & ControlAttrs<"input", "form">) & {
|
|
348
357
|
onActive?: (() => any) | undefined;
|
|
349
358
|
onInput?: ((event: Event) => any) | undefined;
|
|
350
359
|
"onUpdate:modelValue"?: ((value: SelectModelOf<OptionValueOf<T, A>, M>) => any) | undefined;
|
|
@@ -358,6 +367,7 @@ declare const __VLS_export: <const T = any, Known extends BbSelectKnownItems | u
|
|
|
358
367
|
onShown?: (() => any) | undefined;
|
|
359
368
|
onHidden?: (() => any) | undefined;
|
|
360
369
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
370
|
+
"onUpdate:query"?: ((value: string) => any) | undefined;
|
|
361
371
|
"onOption:add"?: ((text: string) => any) | undefined;
|
|
362
372
|
}> & (typeof globalThis extends {
|
|
363
373
|
__VLS_PROPS_FALLBACK: infer P;
|