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
|
@@ -42,13 +42,25 @@ export interface BbSelectPopoverPtKeys {
|
|
|
42
42
|
*/
|
|
43
43
|
'pt:clear:open'?: PtValue;
|
|
44
44
|
/**
|
|
45
|
-
* The `role="listbox"` node
|
|
45
|
+
* The `role="listbox"` node holding the options. Virtualised: the list writes its height and places its rows, which limits layout utilities there. A group's box and the chips are not parts.
|
|
46
46
|
*/
|
|
47
47
|
'pt:list'?: PtValue;
|
|
48
48
|
/**
|
|
49
|
-
* The `role="listbox"` node
|
|
49
|
+
* The `role="listbox"` node holding the options. While `open`: the options surface is showing. See `pt:list`.
|
|
50
50
|
*/
|
|
51
51
|
'pt:list:open'?: PtValue;
|
|
52
|
+
/**
|
|
53
|
+
* Every `groupBy` heading (sticky). `#group` replaces its content.
|
|
54
|
+
*/
|
|
55
|
+
'pt:groupHeader'?: PtValue;
|
|
56
|
+
/**
|
|
57
|
+
* Every `groupBy` heading (sticky). While `disabled`: an option that is disabled; on `groupHeader`: every option of its group is. See `pt:groupHeader`.
|
|
58
|
+
*/
|
|
59
|
+
'pt:groupHeader:disabled'?: PtValue;
|
|
60
|
+
/**
|
|
61
|
+
* Every `groupBy` heading (sticky). While `open`: the options surface is showing. See `pt:groupHeader`.
|
|
62
|
+
*/
|
|
63
|
+
'pt:groupHeader:open'?: PtValue;
|
|
52
64
|
/**
|
|
53
65
|
* One listbox option — a broadcast resolved per option. Also takes a per-item function, called with the option's raw item.
|
|
54
66
|
*/
|
|
@@ -58,7 +70,7 @@ export interface BbSelectPopoverPtKeys {
|
|
|
58
70
|
*/
|
|
59
71
|
'pt:option:selected'?: PtValue;
|
|
60
72
|
/**
|
|
61
|
-
* One listbox option — a broadcast resolved per option. While `disabled`: an option that is disabled. See `pt:option`.
|
|
73
|
+
* One listbox option — a broadcast resolved per option. While `disabled`: an option that is disabled; on `groupHeader`: every option of its group is. See `pt:option`.
|
|
62
74
|
*/
|
|
63
75
|
'pt:option:disabled'?: PtValue;
|
|
64
76
|
/**
|
|
@@ -74,7 +86,7 @@ export interface BbSelectPopoverPtKeys {
|
|
|
74
86
|
*/
|
|
75
87
|
'pt:itemText:selected'?: PtValue;
|
|
76
88
|
/**
|
|
77
|
-
* An option's label — resolved with that option's states. While `disabled`: an option that is disabled. See `pt:itemText`.
|
|
89
|
+
* An option's label — resolved with that option's states. While `disabled`: an option that is disabled; on `groupHeader`: every option of its group is. See `pt:itemText`.
|
|
78
90
|
*/
|
|
79
91
|
'pt:itemText:disabled'?: PtValue;
|
|
80
92
|
/**
|
|
@@ -90,7 +102,7 @@ export interface BbSelectPopoverPtKeys {
|
|
|
90
102
|
*/
|
|
91
103
|
'pt:itemIcon:selected'?: PtValue;
|
|
92
104
|
/**
|
|
93
|
-
* An option's prepend / append icons (`itemProps`) — resolved with that option's states. While `disabled`: an option that is disabled. See `pt:itemIcon`.
|
|
105
|
+
* An option's prepend / append icons (`itemProps`) — resolved with that option's states. While `disabled`: an option that is disabled; on `groupHeader`: every option of its group is. See `pt:itemIcon`.
|
|
94
106
|
*/
|
|
95
107
|
'pt:itemIcon:disabled'?: PtValue;
|
|
96
108
|
/**
|
|
@@ -106,7 +118,7 @@ export interface BbSelectPopoverPtKeys {
|
|
|
106
118
|
*/
|
|
107
119
|
'pt:itemDescription:selected'?: PtValue;
|
|
108
120
|
/**
|
|
109
|
-
* An option's second line (its description) — resolved with that option's states. While `disabled`: an option that is disabled. See `pt:itemDescription`.
|
|
121
|
+
* An option's second line (its description) — resolved with that option's states. While `disabled`: an option that is disabled; on `groupHeader`: every option of its group is. See `pt:itemDescription`.
|
|
110
122
|
*/
|
|
111
123
|
'pt:itemDescription:disabled'?: PtValue;
|
|
112
124
|
/**
|
|
@@ -114,19 +126,19 @@ export interface BbSelectPopoverPtKeys {
|
|
|
114
126
|
*/
|
|
115
127
|
'pt:itemDescription:open'?: PtValue;
|
|
116
128
|
/**
|
|
117
|
-
* The tick
|
|
129
|
+
* The tick at a chosen option's end (on every option, drawn on the chosen). A custom `#option` slot keeps it; `pt:check="hidden"` removes it, sparing your slot's glyph. Also takes a per-item function.
|
|
118
130
|
*/
|
|
119
131
|
'pt:check'?: unknown;
|
|
120
132
|
/**
|
|
121
|
-
* The tick
|
|
133
|
+
* The tick at a chosen option's end (on every option, drawn on the chosen). While `selected`: a chosen option. See `pt:check`.
|
|
122
134
|
*/
|
|
123
135
|
'pt:check:selected'?: PtValue;
|
|
124
136
|
/**
|
|
125
|
-
* The tick
|
|
137
|
+
* The tick at a chosen option's end (on every option, drawn on the chosen). While `disabled`: an option that is disabled; on `groupHeader`: every option of its group is. See `pt:check`.
|
|
126
138
|
*/
|
|
127
139
|
'pt:check:disabled'?: PtValue;
|
|
128
140
|
/**
|
|
129
|
-
* The tick
|
|
141
|
+
* The tick at a chosen option's end (on every option, drawn on the chosen). While `open`: the options surface is showing. See `pt:check`.
|
|
130
142
|
*/
|
|
131
143
|
'pt:check:open'?: PtValue;
|
|
132
144
|
/**
|
|
@@ -76,10 +76,11 @@ export type BbSelectResolvedOption<Item = any> = {
|
|
|
76
76
|
* `BbOffCanvas` root) — never the desktop surface. Applied after `panel`, so it wins a conflict there.
|
|
77
77
|
* @part input - The search field.
|
|
78
78
|
* @part clear - The ✕ that empties the search field.
|
|
79
|
-
* @part list - The `role="listbox"` node
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
79
|
+
* @part list - The `role="listbox"` node holding the options. Virtualised:
|
|
80
|
+
* the list writes its height and places its rows, which limits layout
|
|
81
|
+
* utilities there. A group's box and the chips are not parts.
|
|
82
|
+
* @part groupHeader - Every `groupBy` heading (sticky). `#group` replaces its
|
|
83
|
+
* content.
|
|
83
84
|
* @part option - One listbox option — a broadcast resolved per option. Also
|
|
84
85
|
* takes a per-item function, called with the option's raw item.
|
|
85
86
|
* @part itemText - An option's label — resolved with that option's states. A
|
|
@@ -89,16 +90,15 @@ export type BbSelectResolvedOption<Item = any> = {
|
|
|
89
90
|
* @part itemDescription - An option's second line (its description) —
|
|
90
91
|
* resolved with that option's states. A custom `#option` slot replaces it.
|
|
91
92
|
* Also takes a per-item function.
|
|
92
|
-
* @part check - The tick
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
* alone. Also takes a per-item function.
|
|
93
|
+
* @part check - The tick at a chosen option's end (on every option, drawn on
|
|
94
|
+
* the chosen). A custom `#option` slot keeps it; `pt:check="hidden"`
|
|
95
|
+
* removes it, sparing your slot's glyph. Also takes a per-item function.
|
|
96
96
|
* @part header - The flyout's header band.
|
|
97
97
|
* @part footer - The flyout's footer band.
|
|
98
98
|
*/
|
|
99
|
-
export type BbSelectPopoverPtPart = 'root' | 'panel' | 'sheet' | 'input' | 'clear' | 'list' | 'option' | 'itemText' | 'itemIcon' | 'itemDescription' | 'check' | 'header' | 'footer';
|
|
99
|
+
export type BbSelectPopoverPtPart = 'root' | 'panel' | 'sheet' | 'input' | 'clear' | 'list' | 'groupHeader' | 'option' | 'itemText' | 'itemIcon' | 'itemDescription' | 'check' | 'header' | 'footer';
|
|
100
100
|
/** The surface parts — they take a `PtValue` only. Spelled flat (T20). */
|
|
101
|
-
export type BbSelectPopoverSurfacePtPart = 'root' | 'panel' | 'sheet' | 'input' | 'clear' | 'list' | 'header' | 'footer';
|
|
101
|
+
export type BbSelectPopoverSurfacePtPart = 'root' | 'panel' | 'sheet' | 'input' | 'clear' | 'list' | 'groupHeader' | 'header' | 'footer';
|
|
102
102
|
/** The option parts — broadcasts resolved per option; their base key also takes a per-item function. Spelled flat (T20). */
|
|
103
103
|
export type BbSelectPopoverOptionPtPart = 'option' | 'itemText' | 'itemIcon' | 'itemDescription' | 'check';
|
|
104
104
|
/**
|
|
@@ -107,7 +107,7 @@ export type BbSelectPopoverOptionPtPart = 'option' | 'itemText' | 'itemIcon' | '
|
|
|
107
107
|
* @state selected - Per node, on `option`, its `item-*` parts and `check`: a
|
|
108
108
|
* chosen option.
|
|
109
109
|
* @state disabled - Per node, on `option`, its `item-*` parts and `check`: an
|
|
110
|
-
* option that is disabled.
|
|
110
|
+
* option that is disabled; on `groupHeader`: every option of its group is.
|
|
111
111
|
* @state open - Component-wide: the options surface is showing.
|
|
112
112
|
*/
|
|
113
113
|
export type BbSelectPopoverPtState = 'open' | 'selected' | 'disabled';
|
|
@@ -115,10 +115,10 @@ export type BbSelectPopoverPtState = 'open' | 'selected' | 'disabled';
|
|
|
115
115
|
* Every `part` / `part:state` key of `BbSelectPopover` — only the pairs that
|
|
116
116
|
* land: `open` everywhere, an option's `selected` / `disabled` on its parts.
|
|
117
117
|
*/
|
|
118
|
-
export type BbSelectPopoverPtKey = BbSelectPopoverPtPart | `${BbSelectPopoverPtPart}:open` | `${BbSelectPopoverOptionPtPart}:${'selected' | 'disabled'}
|
|
118
|
+
export type BbSelectPopoverPtKey = BbSelectPopoverPtPart | `${BbSelectPopoverPtPart}:open` | `${BbSelectPopoverOptionPtPart}:${'selected' | 'disabled'}` | 'groupHeader:disabled';
|
|
119
119
|
/** The runtime lists the resolver is wired with — kept next to the types so the two cannot drift. */
|
|
120
120
|
export declare const BB_SELECT_POPOVER_PT: {
|
|
121
|
-
readonly parts: readonly ["root", "panel", "sheet", "input", "clear", "list", "option", "itemText", "itemIcon", "itemDescription", "check", "header", "footer"];
|
|
121
|
+
readonly parts: readonly ["root", "panel", "sheet", "input", "clear", "list", "groupHeader", "option", "itemText", "itemIcon", "itemDescription", "check", "header", "footer"];
|
|
122
122
|
readonly states: readonly ["selected", "disabled", "open"];
|
|
123
123
|
/** On every part: what the resolver's `active` map turns on. */
|
|
124
124
|
readonly wide: readonly ["open"];
|
|
@@ -129,6 +129,7 @@ export declare const BB_SELECT_POPOVER_PT: {
|
|
|
129
129
|
readonly itemIcon: readonly ["selected", "disabled"];
|
|
130
130
|
readonly itemDescription: readonly ["selected", "disabled"];
|
|
131
131
|
readonly check: readonly ["selected", "disabled"];
|
|
132
|
+
readonly groupHeader: readonly ["disabled"];
|
|
132
133
|
};
|
|
133
134
|
};
|
|
134
135
|
/**
|
|
@@ -146,6 +147,12 @@ export type BbSelectPopoverProps<Item, Known extends BbSelectKnownItems | undefi
|
|
|
146
147
|
* Bound, the app opens and closes it; unbound, the initial state.
|
|
147
148
|
*/
|
|
148
149
|
open?: boolean;
|
|
150
|
+
/**
|
|
151
|
+
* The search field's text (`v-model:query`): raw per keystroke, `''`
|
|
152
|
+
* when the component empties it; a write searches at once (guide §
|
|
153
|
+
* Reading and restoring the search).
|
|
154
|
+
*/
|
|
155
|
+
query?: string;
|
|
149
156
|
/**
|
|
150
157
|
* Passthrough, object form: the same keys as the `pt:*` attributes
|
|
151
158
|
* without the prefix. See the `pt:<part>` row.
|
|
@@ -461,6 +468,8 @@ export type BbSelectPopoverEvents<V = any> = {
|
|
|
461
468
|
(e: 'hide'): void;
|
|
462
469
|
/** The panel opened or closed (`v-model:open`). */
|
|
463
470
|
(e: 'update:open', value: boolean): void;
|
|
471
|
+
/** `v-model:query`: the search field's text. */
|
|
472
|
+
(e: 'update:query', value: string): void;
|
|
464
473
|
/** Emitted once the options surface has finished closing. */
|
|
465
474
|
(e: 'hidden'): void;
|
|
466
475
|
/**
|
|
@@ -7,6 +7,7 @@ var e = {
|
|
|
7
7
|
"input",
|
|
8
8
|
"clear",
|
|
9
9
|
"list",
|
|
10
|
+
"groupHeader",
|
|
10
11
|
"option",
|
|
11
12
|
"itemText",
|
|
12
13
|
"itemIcon",
|
|
@@ -26,7 +27,8 @@ var e = {
|
|
|
26
27
|
itemText: ["selected", "disabled"],
|
|
27
28
|
itemIcon: ["selected", "disabled"],
|
|
28
29
|
itemDescription: ["selected", "disabled"],
|
|
29
|
-
check: ["selected", "disabled"]
|
|
30
|
+
check: ["selected", "disabled"],
|
|
31
|
+
groupHeader: ["disabled"]
|
|
30
32
|
}
|
|
31
33
|
};
|
|
32
34
|
export { e as BB_SELECT_POPOVER_PT };
|
|
@@ -73,7 +73,7 @@ declare const __VLS_export: <const T = any, A extends string | ((...args: never[
|
|
|
73
73
|
itemValue?: ItemKeyInput<T, A> | ItemGetter<T, any>;
|
|
74
74
|
itemText?: ItemKeyInput<T, Tx> | ItemGetter<T, string>;
|
|
75
75
|
multiple?: MultipleInput<M, true>;
|
|
76
|
-
} & Omit<import('vue').HTMLAttributes, "legend" | "reverse" | `pt:${string}&${string}` | "readonly" | "disabled" | "warnings" | "errors" | "description" | "hint" | "pt" | "block" | "onClick" | "dependencies" | "compact" | "layout" | "inputPosition" | "listLayout" | "itemLayout" | "itemReverse" | "modelValue" | "autofocus" | "labelAlign" | "inputAlign" | "hasErrors" | "hasWarnings" | "hideLabel" | "id" | "name" | "persistentHint" |
|
|
76
|
+
} & Omit<import('vue').HTMLAttributes, "legend" | "reverse" | `pt:${string}&${string}` | "readonly" | "disabled" | "warnings" | "errors" | "description" | "hint" | "pt" | "block" | "onClick" | "dependencies" | "compact" | "layout" | "inputPosition" | "listLayout" | "itemLayout" | "itemReverse" | "modelValue" | "autofocus" | "labelAlign" | "inputAlign" | "hasErrors" | "hasWarnings" | "hideLabel" | "id" | "name" | "persistentHint" | "multiple" | "max" | "selectable" | "itemText" | "enforceCoherence" | "items" | "loadingText" | "emptyText" | "failedText" | "hideLegend" | "legendMode" | "legendPosition" | "depsDebounceTime" | "itemProps" | "itemValue" | "modelValueDebounceTime" | keyof import('../../composables/useFormBinding.js').FormFieldProps<any> | "itemLabelAlign" | "itemInputAlign" | keyof import('./ptKeys.generated.js').BbSwitchGroupPtKeys | "onFocus" | "onBlur" | "onChange" | "onInput" | "onKeydown" | "onMousedown" | "onMouseup"> & {}) & {
|
|
77
77
|
onActive?: (() => any) | undefined;
|
|
78
78
|
onInput?: ((event: Event) => any) | undefined;
|
|
79
79
|
"onUpdate:modelValue"?: ((value: SelectModelOf<OptionValueOf<T, A>, M>) => any) | undefined;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_export: <Item = any, T extends ItemKey<Item> = string & {},
|
|
|
22
22
|
} & {
|
|
23
23
|
itemValue?: ItemKeyInput<Item, A> | ItemGetter<Item, any>;
|
|
24
24
|
multiple?: MultipleInput<M, true>;
|
|
25
|
-
} & Omit<import('vue').HTMLAttributes & import('vue').FieldsetHTMLAttributes, "legend" | "sort" | `pt:${string}&${string}` | "fixed" | "readonly" | "disabled" | "highlighted" | "loading" | "page" | "pt" | "dependencies" | "compact" | "modelValue" | "
|
|
25
|
+
} & Omit<import('vue').HTMLAttributes & import('vue').FieldsetHTMLAttributes, "legend" | "sort" | `pt:${string}&${string}` | "fixed" | "readonly" | "disabled" | "highlighted" | "loading" | "page" | "pt" | "dependencies" | "compact" | "modelValue" | "id" | "name" | "multiple" | "max" | "selectable" | "enforceCoherence" | "items" | "loadingText" | "emptyText" | "failedText" | "interactiveWhileLoading" | "depsDebounceTime" | "itemValue" | "caption" | keyof import('./ptKeys.generated.js').BbTablePtKeys | "accessibleLabel" | "actionsText" | "align" | "columns" | "disableSelectAll" | "displayCaption" | "expandedItems" | "fixedActions" | "fixedFirst" | "fixedHeaders" | "fixedLast" | "fixedSelect" | "headerRowClass" | "highlightable" | "inheritColumnWidths" | "keyboardNavigation" | "multiSort" | "order" | "perPage" | "reorderable" | "reorderableRows" | "resizable" | "rowClass" | "rowMenu" | "selectAll" | "selectAllLabel" | "selectText" | "tdClass" | "thClass" | "totalItems" | "totalPages" | "unselectedItems" | "virtual"> & {} & {
|
|
26
26
|
selectAll?: boolean;
|
|
27
27
|
sort?: BbTableSortEntry[];
|
|
28
28
|
order?: string[];
|