bitboss-ui 2.1.111 → 2.1.113
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/components/BaseButton/BaseButton.vue.d.ts +6 -0
- package/dist/components/BaseButton/RouterComponent.vue.d.ts +6 -2
- package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +9 -117
- package/dist/components/BaseCheckbox/types.d.ts +213 -0
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +1 -170
- package/dist/components/BaseCheckboxGroup/types.d.ts +275 -0
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +45 -151
- package/dist/components/BaseColorInput/ColorPalette.vue.d.ts +1 -17
- package/dist/components/BaseColorInput/types.d.ts +233 -0
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +21 -1
- package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +21 -17
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +118 -22
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +26 -0
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +13 -0
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +27 -0
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +26 -0
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +100 -0
- package/dist/components/BaseRating/BaseRating.vue.d.ts +14 -0
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +86 -0
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +34 -0
- package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +17 -2
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +1 -1
- package/dist/components/BaseTag/BaseTag.vue.d.ts +58 -20
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +18 -0
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +18 -0
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +20 -0
- package/dist/components/BbAlert/BbAlert.vue.d.ts +16 -0
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +8 -0
- package/dist/components/BbBadge/BbBadge.vue.d.ts +12 -0
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +66 -0
- package/dist/components/BbButton/BbButton.vue.d.ts +8 -0
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +47 -3
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +116 -4
- package/dist/components/BbChip/BbChip.vue.d.ts +6 -0
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +8 -0
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +16 -1
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +4 -4
- package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +20 -5
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +46 -0
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +82 -4
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +86 -0
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +12 -0
- package/dist/components/BbIntersection/BbIntersection.vue.d.ts +12 -0
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +10 -0
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +24 -0
- package/dist/components/BbPagination/BbPagination.vue.d.ts +30 -0
- package/dist/components/BbPopover/BbPopover.vue.d.ts +36 -4
- package/dist/components/BbRadio/BbRadio.vue.d.ts +40 -0
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +110 -0
- package/dist/components/BbRating/BbRating.vue.d.ts +10 -0
- package/dist/components/BbRatio/BbRatio.vue.d.ts +6 -0
- package/dist/components/BbRows/BbRows.vue.d.ts +70 -12
- package/dist/components/BbSelect/BbSelect.vue.d.ts +79 -0
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +57 -0
- package/dist/components/BbSlider/BbSlider.vue.d.ts +10 -0
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +3 -0
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +41 -3
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +111 -3
- package/dist/components/BbTab/BbTab.vue.d.ts +48 -0
- package/dist/components/BbTable/types.d.ts +63 -0
- package/dist/components/BbTag/BbTag.vue.d.ts +23 -0
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +15 -0
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +15 -0
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +18 -4
- package/dist/components/BbTree/BbTree.vue.d.ts +13 -0
- package/dist/components/CommonInputInnerContainer.vue.d.ts +42 -6
- package/dist/components/CommonInputOuterContainer.vue.d.ts +26 -4
- package/dist/components/CommonPopover.vue.d.ts +10 -2
- package/dist/components/FlatListBox.vue.d.ts +65 -5
- package/dist/components/GroupedListBox.vue.d.ts +92 -9
- package/dist/components/ListBox.vue.d.ts +85 -17
- package/dist/components/OptionsContainer.vue.d.ts +121 -13
- package/dist/components/Transitions/ScaleFade.vue.d.ts +6 -2
- package/dist/components/Transitions/Slide.vue.d.ts +6 -2
- package/dist/composables/useToast.d.ts +3 -3
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +156 -155
- package/dist/index109.js +9 -9
- package/dist/index11.js +1 -1
- package/dist/index110.js +20 -20
- package/dist/index118.js +1 -1
- package/dist/index12.js +2 -2
- package/dist/index124.js +9 -9
- package/dist/index126.js +13 -13
- package/dist/index13.js +6 -6
- package/dist/index134.js +1 -1
- package/dist/index136.js +6 -6
- package/dist/index138.js +1 -1
- package/dist/index14.js +2 -2
- package/dist/index140.js +2 -2
- package/dist/index142.js +12 -13
- package/dist/index144.js +11 -2
- package/dist/index145.js +2 -419
- package/dist/index146.js +417 -7
- package/dist/index147.js +8 -8
- package/dist/index148.js +9 -25
- package/dist/index149.js +25 -2
- package/dist/index150.js +2 -5
- package/dist/index151.js +5 -6
- package/dist/index152.js +5 -4
- package/dist/index153.js +5 -3
- package/dist/index154.js +1 -1
- package/dist/index155.js +1 -1
- package/dist/index156.js +1 -1
- package/dist/index157.js +1 -1
- package/dist/index158.js +1 -1
- package/dist/index159.js +1 -1
- package/dist/index16.js +16 -15
- package/dist/index160.js +1 -1
- package/dist/index161.js +1 -1
- package/dist/index162.js +1 -1
- package/dist/index163.js +1 -1
- package/dist/index164.js +1 -1
- package/dist/index165.js +1 -1
- package/dist/index166.js +1 -1
- package/dist/index167.js +1 -1
- package/dist/index168.js +1 -1
- package/dist/index169.js +1 -1
- package/dist/index170.js +1 -1
- package/dist/index171.js +1 -1
- package/dist/index172.js +1 -1
- package/dist/index173.js +1 -1
- package/dist/index174.js +1 -1
- package/dist/index175.js +1 -1
- package/dist/index176.js +1 -1
- package/dist/index177.js +1 -1
- package/dist/index178.js +1 -1
- package/dist/index179.js +1 -1
- package/dist/index18.js +6 -6
- package/dist/index180.js +1 -1
- package/dist/index181.js +1 -1
- package/dist/index182.js +1 -1
- package/dist/index183.js +3 -2
- package/dist/index184.js +2 -3
- package/dist/index185.js +3 -2
- package/dist/index186.js +2 -3
- package/dist/index187.js +1 -1
- package/dist/index188.js +1 -1
- package/dist/index189.js +1 -1
- package/dist/index190.js +1 -1
- package/dist/index191.js +1 -1
- package/dist/index192.js +3 -2
- package/dist/index193.js +2 -3
- package/dist/index194.js +1 -1
- package/dist/index195.js +1 -1
- package/dist/index196.js +1 -1
- package/dist/index197.js +2 -2
- package/dist/index198.js +1 -1
- package/dist/index199.js +1 -1
- package/dist/index20.js +8 -8
- package/dist/index200.js +1 -1
- package/dist/index201.js +1 -1
- package/dist/index202.js +3 -2
- package/dist/index203.js +2 -3
- package/dist/index204.js +1 -1
- package/dist/index205.js +1 -1
- package/dist/index206.js +1 -1
- package/dist/index207.js +1 -1
- package/dist/index208.js +1 -1
- package/dist/index209.js +1 -1
- package/dist/index210.js +1 -1
- package/dist/index211.js +1 -1
- package/dist/index212.js +1 -1
- package/dist/index213.js +1 -1
- package/dist/index214.js +1 -1
- package/dist/index215.js +1 -1
- package/dist/index216.js +1 -1
- package/dist/index217.js +1 -1
- package/dist/index218.js +1 -1
- package/dist/index219.js +5 -0
- package/dist/index22.js +14 -14
- package/dist/index220.js +3 -7
- package/dist/index221.js +2 -138
- package/dist/index222.js +138 -2
- package/dist/index224.js +34 -5
- package/dist/index225.js +32 -7
- package/dist/index226.js +28 -33
- package/dist/index228.js +7 -0
- package/dist/index229.js +8 -7
- package/dist/index230.js +7 -2
- package/dist/index231.js +2 -2
- package/dist/index232.js +9 -4
- package/dist/index233.js +13 -2
- package/dist/index234.js +3 -2
- package/dist/index235.js +2 -13
- package/dist/index236.js +11 -33
- package/dist/index237.js +8 -3
- package/dist/index238.js +3 -8
- package/dist/index239.js +3 -6
- package/dist/index24.js +56 -55
- package/dist/index240.js +2 -16
- package/dist/index241.js +18 -3
- package/dist/index242.js +11 -12
- package/dist/index243.js +49 -133
- package/dist/index244.js +20 -0
- package/dist/index245.js +12 -4
- package/dist/index246.js +16 -22
- package/dist/index247.js +30 -5
- package/dist/index248.js +18 -5
- package/dist/index249.js +4 -5
- package/dist/index250.js +106 -5
- package/dist/index252.js +100 -6
- package/dist/index254.js +130 -47
- package/dist/index256.js +99 -24
- package/dist/index257.js +13 -60
- package/dist/index258.js +2 -9
- package/dist/index259.js +7 -21
- package/dist/index26.js +4 -4
- package/dist/index260.js +7 -30
- package/dist/index261.js +86 -18
- package/dist/index263.js +5 -51
- package/dist/index264.js +5 -12
- package/dist/index265.js +5 -53
- package/dist/index266.js +5 -10
- package/dist/index267.js +5 -3
- package/dist/index268.js +5 -3
- package/dist/index269.js +58 -77
- package/dist/index270.js +35 -0
- package/dist/index271.js +2 -18
- package/dist/index272.js +2 -373
- package/dist/index273.js +5 -0
- package/dist/index274.js +3 -3
- package/dist/index275.js +21 -18
- package/dist/index276.js +6 -5
- package/dist/index277.js +13 -5
- package/dist/index278.js +5 -5
- package/dist/index279.js +6 -3
- package/dist/index28.js +2 -2
- package/dist/index280.js +268 -5
- package/dist/index281.js +52 -11
- package/dist/index282.js +51 -17
- package/dist/index283.js +32 -12
- package/dist/index284.js +56 -103
- package/dist/index285.js +4 -6
- package/dist/index286.js +19 -105
- package/dist/index287.js +7 -0
- package/dist/index288.js +367 -94
- package/dist/index290.js +6 -188
- package/dist/index291.js +16 -3
- package/dist/index292.js +9 -8
- package/dist/index293.js +3 -23
- package/dist/index294.js +7 -32
- package/dist/index295.js +21 -3
- package/dist/index296.js +9 -2
- package/dist/index297.js +23 -7
- package/dist/index298.js +25 -7
- package/dist/index299.js +187 -8
- package/dist/index30.js +23 -22
- package/dist/index300.js +3 -67
- package/dist/index301.js +3 -13
- package/dist/index302.js +52 -24
- package/dist/index304.js +7 -3
- package/dist/index305.js +3 -4
- package/dist/index306.js +2 -719
- package/dist/index307.js +5 -366
- package/dist/index308.js +7 -57
- package/dist/index309.js +3 -280
- package/dist/index310.js +3 -2
- package/dist/index311.js +3 -16
- package/dist/index312.js +2 -2
- package/dist/index313.js +27 -15
- package/dist/index314.js +17 -2
- package/dist/index315.js +4 -27
- package/dist/index316.js +2 -2
- package/dist/index317.js +3 -2
- package/dist/index318.js +280 -2
- package/dist/index319.js +2 -2
- package/dist/index32.js +2 -2
- package/dist/index320.js +125 -2
- package/dist/index321.js +2 -28
- package/dist/index322.js +15 -2
- package/dist/index323.js +2 -7
- package/dist/index324.js +16 -5
- package/dist/index325.js +2 -3
- package/dist/index326.js +16 -17
- package/dist/index327.js +2 -3
- package/dist/index328.js +19 -3
- package/dist/index329.js +2 -2
- package/dist/index330.js +26 -3
- package/dist/index331.js +2 -125
- package/dist/index332.js +2 -2
- package/dist/index333.js +2 -15
- package/dist/index334.js +2 -2
- package/dist/index335.js +2 -19
- package/dist/index336.js +2 -2
- package/dist/index337.js +1 -1
- package/dist/index338.js +4 -3
- package/dist/index339.js +719 -2
- package/dist/index34.js +8 -8
- package/dist/index340.js +366 -2
- package/dist/index341.js +57 -5
- package/dist/index343.js +5 -7
- package/dist/index344.js +35 -5
- package/dist/index345.js +125 -31
- package/dist/index346.js +382 -113
- package/dist/index347.js +198 -396
- package/dist/index348.js +259 -7
- package/dist/index349.js +226 -17
- package/dist/index350.js +67 -9
- package/dist/index351.js +66 -14
- package/dist/index352.js +2 -228
- package/dist/index353.js +2 -67
- package/dist/index354.js +133 -66
- package/dist/index355.js +7 -200
- package/dist/index356.js +17 -257
- package/dist/index357.js +9 -22
- package/dist/index358.js +17 -0
- package/dist/index359.js +5 -134
- package/dist/index36.js +5 -5
- package/dist/index360.js +7 -2
- package/dist/index361.js +21 -1
- package/dist/index363.js +87 -435
- package/dist/index364.js +427 -114
- package/dist/index365.js +127 -46
- package/dist/index366.js +44 -67
- package/dist/index367.js +66 -516
- package/dist/index368.js +515 -45
- package/dist/index369.js +52 -0
- package/dist/index38.js +55 -54
- package/dist/index40.js +8 -8
- package/dist/index42.js +2 -2
- package/dist/index44.js +8 -8
- package/dist/index46.js +35 -34
- package/dist/index48.js +15 -14
- package/dist/index50.js +38 -37
- package/dist/index54.js +1 -1
- package/dist/index56.js +2 -2
- package/dist/index58.js +2 -2
- package/dist/index60.js +3 -3
- package/dist/index62.js +6 -6
- package/dist/index68.js +1 -1
- package/dist/index7.js +2 -2
- package/dist/index74.js +4 -4
- package/dist/index82.js +8 -8
- package/dist/index84.js +1 -1
- package/dist/index86.js +2 -2
- package/dist/index88.js +3 -3
- package/dist/index9.js +1 -1
- package/dist/index90.js +1 -1
- package/dist/index93.js +4 -4
- package/dist/index95.js +3 -3
- package/dist/index97.js +6 -6
- package/dist/index99.js +2 -2
- package/package.json +2 -2
- package/dist/index143.js +0 -13
- package/dist/index227.js +0 -30
- package/dist/index251.js +0 -4
- package/dist/index253.js +0 -270
- package/dist/index255.js +0 -54
- package/dist/index262.js +0 -19
- package/dist/index362.js +0 -95
|
@@ -129,9 +129,26 @@ declare const _default: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_
|
|
|
129
129
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
130
130
|
attrs: any;
|
|
131
131
|
slots: Readonly<{
|
|
132
|
+
/**
|
|
133
|
+
* Content rendered before the first option, inside the options container.
|
|
134
|
+
*/
|
|
132
135
|
prepend?: (props: object) => any;
|
|
136
|
+
/**
|
|
137
|
+
* Content shown while options are loading (replaces the default loading text).
|
|
138
|
+
*/
|
|
133
139
|
loading?: (props: object) => any;
|
|
140
|
+
/**
|
|
141
|
+
* Content shown when no options are available (replaces the default "no data" text).
|
|
142
|
+
*/
|
|
134
143
|
'no-data'?: (props: object) => any;
|
|
144
|
+
/**
|
|
145
|
+
* Content rendered before each option's radio button.
|
|
146
|
+
* @param checked - Whether this option is currently selected.
|
|
147
|
+
* @param disabled - Whether this option is disabled.
|
|
148
|
+
* @param id - The `id` of this option's input, if set.
|
|
149
|
+
* @param item - The raw item from the `items` prop.
|
|
150
|
+
* @param text - The display text for this option.
|
|
151
|
+
*/
|
|
135
152
|
'option:prepend'?: (props: {
|
|
136
153
|
checked: boolean;
|
|
137
154
|
disabled: boolean;
|
|
@@ -139,15 +156,45 @@ declare const _default: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_
|
|
|
139
156
|
item: T;
|
|
140
157
|
text: string;
|
|
141
158
|
}) => any;
|
|
159
|
+
/**
|
|
160
|
+
* Replaces the default radio dot icon for each option. Receives all `BaseRadio`
|
|
161
|
+
* slot attributes plus the source item and its display text.
|
|
162
|
+
* @param checked - Whether this option is currently selected.
|
|
163
|
+
* @param disabled - Whether this option is disabled.
|
|
164
|
+
* @param focused - Whether this option's input currently has focus.
|
|
165
|
+
* @param focusVisible - Whether focus is keyboard-visible (`:focus-visible`).
|
|
166
|
+
* @param hasErrors - Whether the group is in an error state.
|
|
167
|
+
* @param id - The `id` of this option's input.
|
|
168
|
+
* @param name - The `name` of this option's input.
|
|
169
|
+
* @param parsedValue - The option value serialized for form submission.
|
|
170
|
+
* @param readonly - Whether this option is read-only.
|
|
171
|
+
* @param value - The current effective value for this option.
|
|
172
|
+
* @param item - The raw item from the `items` prop.
|
|
173
|
+
* @param text - The display text resolved for this option.
|
|
174
|
+
*/
|
|
142
175
|
icon?: (props: SlotAttributes & {
|
|
143
176
|
item: T;
|
|
144
177
|
text: string;
|
|
145
178
|
}) => any;
|
|
179
|
+
/**
|
|
180
|
+
* Replaces the default label text for each option.
|
|
181
|
+
* @param item - The raw item from the `items` prop.
|
|
182
|
+
* @param text - The resolved display text for this option.
|
|
183
|
+
* @param checked - Whether this option is currently selected.
|
|
184
|
+
*/
|
|
146
185
|
label?: (props: {
|
|
147
186
|
item: T;
|
|
148
187
|
text: string;
|
|
149
188
|
checked: boolean;
|
|
150
189
|
}) => any;
|
|
190
|
+
/**
|
|
191
|
+
* Content rendered after each option's radio button and label.
|
|
192
|
+
* @param checked - Whether this option is currently selected.
|
|
193
|
+
* @param disabled - Whether this option is disabled.
|
|
194
|
+
* @param id - The `id` of this option's input, if set.
|
|
195
|
+
* @param item - The raw item from the `items` prop.
|
|
196
|
+
* @param text - The display text for this option.
|
|
197
|
+
*/
|
|
151
198
|
'option:append'?: (props: {
|
|
152
199
|
checked: boolean;
|
|
153
200
|
disabled: boolean;
|
|
@@ -155,11 +202,31 @@ declare const _default: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_
|
|
|
155
202
|
item: T;
|
|
156
203
|
text: string;
|
|
157
204
|
}) => any;
|
|
205
|
+
/**
|
|
206
|
+
* Content rendered after the last option, inside the options container.
|
|
207
|
+
*/
|
|
158
208
|
append?: (props: object) => any;
|
|
159
209
|
}> & {
|
|
210
|
+
/**
|
|
211
|
+
* Content rendered before the first option, inside the options container.
|
|
212
|
+
*/
|
|
160
213
|
prepend?: (props: object) => any;
|
|
214
|
+
/**
|
|
215
|
+
* Content shown while options are loading (replaces the default loading text).
|
|
216
|
+
*/
|
|
161
217
|
loading?: (props: object) => any;
|
|
218
|
+
/**
|
|
219
|
+
* Content shown when no options are available (replaces the default "no data" text).
|
|
220
|
+
*/
|
|
162
221
|
'no-data'?: (props: object) => any;
|
|
222
|
+
/**
|
|
223
|
+
* Content rendered before each option's radio button.
|
|
224
|
+
* @param checked - Whether this option is currently selected.
|
|
225
|
+
* @param disabled - Whether this option is disabled.
|
|
226
|
+
* @param id - The `id` of this option's input, if set.
|
|
227
|
+
* @param item - The raw item from the `items` prop.
|
|
228
|
+
* @param text - The display text for this option.
|
|
229
|
+
*/
|
|
163
230
|
'option:prepend'?: (props: {
|
|
164
231
|
checked: boolean;
|
|
165
232
|
disabled: boolean;
|
|
@@ -167,15 +234,45 @@ declare const _default: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_
|
|
|
167
234
|
item: T;
|
|
168
235
|
text: string;
|
|
169
236
|
}) => any;
|
|
237
|
+
/**
|
|
238
|
+
* Replaces the default radio dot icon for each option. Receives all `BaseRadio`
|
|
239
|
+
* slot attributes plus the source item and its display text.
|
|
240
|
+
* @param checked - Whether this option is currently selected.
|
|
241
|
+
* @param disabled - Whether this option is disabled.
|
|
242
|
+
* @param focused - Whether this option's input currently has focus.
|
|
243
|
+
* @param focusVisible - Whether focus is keyboard-visible (`:focus-visible`).
|
|
244
|
+
* @param hasErrors - Whether the group is in an error state.
|
|
245
|
+
* @param id - The `id` of this option's input.
|
|
246
|
+
* @param name - The `name` of this option's input.
|
|
247
|
+
* @param parsedValue - The option value serialized for form submission.
|
|
248
|
+
* @param readonly - Whether this option is read-only.
|
|
249
|
+
* @param value - The current effective value for this option.
|
|
250
|
+
* @param item - The raw item from the `items` prop.
|
|
251
|
+
* @param text - The display text resolved for this option.
|
|
252
|
+
*/
|
|
170
253
|
icon?: (props: SlotAttributes & {
|
|
171
254
|
item: T;
|
|
172
255
|
text: string;
|
|
173
256
|
}) => any;
|
|
257
|
+
/**
|
|
258
|
+
* Replaces the default label text for each option.
|
|
259
|
+
* @param item - The raw item from the `items` prop.
|
|
260
|
+
* @param text - The resolved display text for this option.
|
|
261
|
+
* @param checked - Whether this option is currently selected.
|
|
262
|
+
*/
|
|
174
263
|
label?: (props: {
|
|
175
264
|
item: T;
|
|
176
265
|
text: string;
|
|
177
266
|
checked: boolean;
|
|
178
267
|
}) => any;
|
|
268
|
+
/**
|
|
269
|
+
* Content rendered after each option's radio button and label.
|
|
270
|
+
* @param checked - Whether this option is currently selected.
|
|
271
|
+
* @param disabled - Whether this option is disabled.
|
|
272
|
+
* @param id - The `id` of this option's input, if set.
|
|
273
|
+
* @param item - The raw item from the `items` prop.
|
|
274
|
+
* @param text - The display text for this option.
|
|
275
|
+
*/
|
|
179
276
|
'option:append'?: (props: {
|
|
180
277
|
checked: boolean;
|
|
181
278
|
disabled: boolean;
|
|
@@ -183,6 +280,9 @@ declare const _default: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_
|
|
|
183
280
|
item: T;
|
|
184
281
|
text: string;
|
|
185
282
|
}) => any;
|
|
283
|
+
/**
|
|
284
|
+
* Content rendered after the last option, inside the options container.
|
|
285
|
+
*/
|
|
186
286
|
append?: (props: object) => any;
|
|
187
287
|
};
|
|
188
288
|
emit: BaseRadioGroupEvents;
|
|
@@ -76,6 +76,14 @@ export type BaseRatingEvents = {
|
|
|
76
76
|
* - `prepend` / `append`: wrap the entire rating with additional content.
|
|
77
77
|
*/
|
|
78
78
|
export type BaseRatingSlots = {
|
|
79
|
+
/**
|
|
80
|
+
* Replaces the default star SVG for each rating option.
|
|
81
|
+
* @param checked - Whether this star is filled (i.e. the rating value is ≥ this star's value).
|
|
82
|
+
* @param disabled - Whether the rating is disabled.
|
|
83
|
+
* @param id - The `id` of this star's underlying radio input.
|
|
84
|
+
* @param size - The rendered size of the icon in pixels, from the `size` prop.
|
|
85
|
+
* @param value - The numeric value this star represents (1-based).
|
|
86
|
+
*/
|
|
79
87
|
icon?: (props: {
|
|
80
88
|
checked: boolean;
|
|
81
89
|
disabled: boolean;
|
|
@@ -83,7 +91,13 @@ export type BaseRatingSlots = {
|
|
|
83
91
|
size: number | undefined;
|
|
84
92
|
value: number;
|
|
85
93
|
}) => any;
|
|
94
|
+
/**
|
|
95
|
+
* Content rendered before the row of rating stars.
|
|
96
|
+
*/
|
|
86
97
|
prepend?: (props: object) => any;
|
|
98
|
+
/**
|
|
99
|
+
* Content rendered after the row of rating stars.
|
|
100
|
+
*/
|
|
87
101
|
append?: (props: object) => any;
|
|
88
102
|
};
|
|
89
103
|
declare function __VLS_template(): {
|
|
@@ -205,17 +205,43 @@ export type BaseSelectEvents = {
|
|
|
205
205
|
(e: 'option:add', text: string): void;
|
|
206
206
|
};
|
|
207
207
|
export type BaseSelectSlots<Item> = {
|
|
208
|
+
/**
|
|
209
|
+
* Content rendered after the input area, at the end of the inner container.
|
|
210
|
+
* @param query - The current text typed in the search input.
|
|
211
|
+
* @param focus - Focuses the search input.
|
|
212
|
+
*/
|
|
208
213
|
append?: (props: {
|
|
209
214
|
query: string;
|
|
210
215
|
focus: () => void;
|
|
211
216
|
}) => any;
|
|
217
|
+
/**
|
|
218
|
+
* Content rendered after the entire select control, outside the input chrome.
|
|
219
|
+
* @param query - The current text typed in the search input.
|
|
220
|
+
*/
|
|
212
221
|
'append-outer'?: (props: {
|
|
213
222
|
query: string;
|
|
214
223
|
}) => any;
|
|
224
|
+
/**
|
|
225
|
+
* Replaces the default dropdown chevron/arrow icon.
|
|
226
|
+
* @param loading - Whether the component is currently loading options.
|
|
227
|
+
* @param shown - Whether the dropdown panel is currently open.
|
|
228
|
+
*/
|
|
215
229
|
chevron?: (props: {
|
|
216
230
|
loading: boolean;
|
|
217
231
|
shown: boolean;
|
|
218
232
|
}) => any;
|
|
233
|
+
/**
|
|
234
|
+
* Replaces the chip rendered for each selected item when `multiple` is true.
|
|
235
|
+
* @param disabled - Whether this chip's remove action is disabled.
|
|
236
|
+
* @param hasErrors - Whether the select is in an error state.
|
|
237
|
+
* @param index - The zero-based index of this chip among the selected items.
|
|
238
|
+
* @param item - The raw selected item from the `items` prop.
|
|
239
|
+
* @param loading - Whether the component is currently loading.
|
|
240
|
+
* @param manual - Whether the item was added manually (typed by the user).
|
|
241
|
+
* @param selected - Whether this chip is in a selected state.
|
|
242
|
+
* @param text - The resolved display text for this selected item.
|
|
243
|
+
* @param value - The resolved value for this selected item.
|
|
244
|
+
*/
|
|
219
245
|
chip?: (props: {
|
|
220
246
|
disabled: boolean | undefined;
|
|
221
247
|
hasErrors?: boolean;
|
|
@@ -227,13 +253,34 @@ export type BaseSelectSlots<Item> = {
|
|
|
227
253
|
text: string;
|
|
228
254
|
value: any;
|
|
229
255
|
}) => any;
|
|
256
|
+
/**
|
|
257
|
+
* Replaces the default loading indicator rendered inside the dropdown while options are fetching.
|
|
258
|
+
* @param query - The current text typed in the search input.
|
|
259
|
+
*/
|
|
230
260
|
loading?: (props: {
|
|
231
261
|
query: string;
|
|
232
262
|
}) => any;
|
|
263
|
+
/**
|
|
264
|
+
* Replaces the default "no data" message rendered inside the dropdown when no options match.
|
|
265
|
+
* @param query - The current text typed in the search input.
|
|
266
|
+
* @param focus - Focuses the search input.
|
|
267
|
+
*/
|
|
233
268
|
'no-data'?: (props: {
|
|
234
269
|
query: string;
|
|
235
270
|
focus: () => void;
|
|
236
271
|
}) => any;
|
|
272
|
+
/**
|
|
273
|
+
* Replaces the default option row rendered for each item in the dropdown list.
|
|
274
|
+
* @param disabled - Whether this option is disabled.
|
|
275
|
+
* @param focused - Whether this option is currently keyboard-focused.
|
|
276
|
+
* @param index - The zero-based index of this option in the list.
|
|
277
|
+
* @param hasErrors - Whether the select is in an error state.
|
|
278
|
+
* @param item - The raw item from the `items` prop.
|
|
279
|
+
* @param loading - Whether the component is currently loading.
|
|
280
|
+
* @param selected - Whether this option is currently selected.
|
|
281
|
+
* @param text - The resolved display text for this option.
|
|
282
|
+
* @param value - The resolved value for this option.
|
|
283
|
+
*/
|
|
237
284
|
option?: (props: {
|
|
238
285
|
disabled: boolean;
|
|
239
286
|
focused: boolean;
|
|
@@ -245,6 +292,14 @@ export type BaseSelectSlots<Item> = {
|
|
|
245
292
|
text: string;
|
|
246
293
|
value: any;
|
|
247
294
|
}) => any;
|
|
295
|
+
/**
|
|
296
|
+
* Replaces the default group header row rendered above options that belong to a group.
|
|
297
|
+
* @param text - The display text for this group.
|
|
298
|
+
* @param item - The raw group item from the `items` prop.
|
|
299
|
+
* @param index - The zero-based index of this group in the list.
|
|
300
|
+
* @param length - The number of options in this group.
|
|
301
|
+
* @param disabled - Whether this group is disabled.
|
|
302
|
+
*/
|
|
248
303
|
group?: (props: {
|
|
249
304
|
text: string;
|
|
250
305
|
item: Item;
|
|
@@ -252,26 +307,57 @@ export type BaseSelectSlots<Item> = {
|
|
|
252
307
|
length: number;
|
|
253
308
|
disabled: boolean;
|
|
254
309
|
}) => any;
|
|
310
|
+
/**
|
|
311
|
+
* Content rendered after the option list, inside the dropdown panel.
|
|
312
|
+
* @param focus - Focuses the search input.
|
|
313
|
+
*/
|
|
255
314
|
'options:append'?: (props: {
|
|
256
315
|
focus: () => void;
|
|
257
316
|
}) => any;
|
|
317
|
+
/**
|
|
318
|
+
* Content rendered after the dropdown panel, outside the scrollable options area.
|
|
319
|
+
* @param focus - Focuses the search input.
|
|
320
|
+
*/
|
|
258
321
|
'options:append:outer'?: (props: {
|
|
259
322
|
focus: () => void;
|
|
260
323
|
}) => any;
|
|
324
|
+
/**
|
|
325
|
+
* Content rendered before the option list, inside the dropdown panel.
|
|
326
|
+
* @param focus - Focuses the search input.
|
|
327
|
+
*/
|
|
261
328
|
'options:prepend'?: (props: {
|
|
262
329
|
focus: () => void;
|
|
263
330
|
}) => any;
|
|
331
|
+
/**
|
|
332
|
+
* Content rendered before the dropdown panel, outside the scrollable options area.
|
|
333
|
+
* @param focus - Focuses the search input.
|
|
334
|
+
*/
|
|
264
335
|
'options:prepend:outer'?: (props: {
|
|
265
336
|
focus: () => void;
|
|
266
337
|
}) => any;
|
|
338
|
+
/**
|
|
339
|
+
* Inline content rendered at the start of the input field area, before the selected value text.
|
|
340
|
+
*/
|
|
267
341
|
prefix?: (props: object) => any;
|
|
342
|
+
/**
|
|
343
|
+
* Content rendered before the input area, at the start of the inner container.
|
|
344
|
+
* @param query - The current text typed in the search input.
|
|
345
|
+
* @param focus - Focuses the search input.
|
|
346
|
+
*/
|
|
268
347
|
prepend?: (props: {
|
|
269
348
|
query: string;
|
|
270
349
|
focus: () => void;
|
|
271
350
|
}) => any;
|
|
351
|
+
/**
|
|
352
|
+
* Content rendered before the entire select control, outside the input chrome.
|
|
353
|
+
* @param query - The current text typed in the search input.
|
|
354
|
+
*/
|
|
272
355
|
'prepend-outer'?: (props: {
|
|
273
356
|
query: string;
|
|
274
357
|
}) => any;
|
|
358
|
+
/**
|
|
359
|
+
* Inline content rendered at the end of the input field area, after the selected value text.
|
|
360
|
+
*/
|
|
275
361
|
suffix?: (props: object) => any;
|
|
276
362
|
};
|
|
277
363
|
declare const _default: <Item = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
@@ -106,29 +106,63 @@ export type BaseSliderEvents = {
|
|
|
106
106
|
* - `tick`: customize individual tick marks when ticks are enabled.
|
|
107
107
|
*/
|
|
108
108
|
export type BaseSliderSlots = {
|
|
109
|
+
/**
|
|
110
|
+
* Replaces the default higher-value thumb in range mode (`range: true`).
|
|
111
|
+
* @param value - The current value controlled by this thumb, or `undefined` if unset.
|
|
112
|
+
* @param percent - The thumb's horizontal position as a percentage (0–100) along the track.
|
|
113
|
+
* @param focused - Whether this thumb currently has keyboard focus.
|
|
114
|
+
*/
|
|
109
115
|
'thumb:higher': (props: {
|
|
110
116
|
value: number | undefined;
|
|
111
117
|
percent: number;
|
|
112
118
|
focused: boolean;
|
|
113
119
|
}) => any;
|
|
120
|
+
/**
|
|
121
|
+
* Replaces the default lower-value thumb in range mode (`range: true`).
|
|
122
|
+
* @param value - The current value controlled by this thumb, or `undefined` if unset.
|
|
123
|
+
* @param percent - The thumb's horizontal position as a percentage (0–100) along the track.
|
|
124
|
+
* @param focused - Whether this thumb currently has keyboard focus.
|
|
125
|
+
*/
|
|
114
126
|
'thumb:lower': (props: {
|
|
115
127
|
value: number | undefined;
|
|
116
128
|
percent: number;
|
|
117
129
|
focused: boolean;
|
|
118
130
|
}) => any;
|
|
131
|
+
/**
|
|
132
|
+
* Content rendered after the slider track, typically used to add a max-value label or button.
|
|
133
|
+
* @param increase - Increments the value by one `step`.
|
|
134
|
+
* @param decrease - Decrements the value by one `step`.
|
|
135
|
+
*/
|
|
119
136
|
append: (props: {
|
|
120
137
|
increase: typeof increase;
|
|
121
138
|
decrease: typeof decrease;
|
|
122
139
|
}) => any;
|
|
140
|
+
/**
|
|
141
|
+
* Content rendered before the slider track, typically used to add a min-value label or button.
|
|
142
|
+
* @param increase - Increments the value by one `step`.
|
|
143
|
+
* @param decrease - Decrements the value by one `step`.
|
|
144
|
+
*/
|
|
123
145
|
prepend: (props: {
|
|
124
146
|
increase: typeof increase;
|
|
125
147
|
decrease: typeof decrease;
|
|
126
148
|
}) => any;
|
|
149
|
+
/**
|
|
150
|
+
* Fallback thumb used for non-range sliders (or inside `thumb:higher`/`thumb:lower` when not overridden separately).
|
|
151
|
+
* @param value - The current slider value, or `undefined` if unset.
|
|
152
|
+
* @param percent - The thumb's horizontal position as a percentage (0–100) along the track.
|
|
153
|
+
* @param focused - Whether this thumb currently has keyboard focus.
|
|
154
|
+
*/
|
|
127
155
|
thumb: (props: {
|
|
128
156
|
value: number | undefined;
|
|
129
157
|
percent: number;
|
|
130
158
|
focused: boolean;
|
|
131
159
|
}) => any;
|
|
160
|
+
/**
|
|
161
|
+
* Replaces the default tick mark rendered at each step when ticks are enabled.
|
|
162
|
+
* @param value - The numeric value this tick represents.
|
|
163
|
+
* @param percent - The tick's horizontal position as a percentage (0–100) along the track.
|
|
164
|
+
* @param active - Whether the tick falls within the currently selected range/value.
|
|
165
|
+
*/
|
|
132
166
|
tick: (props: {
|
|
133
167
|
value: number;
|
|
134
168
|
percent: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseCheckboxEvents, BaseCheckboxProps,
|
|
1
|
+
import { BaseCheckboxEvents, BaseCheckboxProps, BaseCheckboxIconSlotProps } from '../BaseCheckbox/types';
|
|
2
2
|
/**
|
|
3
3
|
* Props for the switch component, extending BaseCheckbox with toggle-specific styling.
|
|
4
4
|
* Inherits all BaseCheckbox props with different default values for trueValue/falseValue.
|
|
@@ -10,7 +10,22 @@ export type BaseSwitchEvents = BaseCheckboxEvents;
|
|
|
10
10
|
* Receives state information including checked status, focus, and values.
|
|
11
11
|
*/
|
|
12
12
|
export type BaseSwitchSlots = {
|
|
13
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Replaces the default toggle thumb rendered inside the switch track.
|
|
15
|
+
* @param checked - Whether the switch is currently on.
|
|
16
|
+
* @param disabled - Whether the switch is disabled.
|
|
17
|
+
* @param falseValue - The value emitted when the switch is off.
|
|
18
|
+
* @param focused - Whether the underlying input currently has focus.
|
|
19
|
+
* @param focusVisible - Whether focus is keyboard-visible (`:focus-visible`).
|
|
20
|
+
* @param hasErrors - Whether the switch is in an error state.
|
|
21
|
+
* @param id - The `id` attribute of the underlying input.
|
|
22
|
+
* @param name - The `name` attribute of the underlying input.
|
|
23
|
+
* @param parsedValue - The `trueValue` serialized to a string for form submission.
|
|
24
|
+
* @param readonly - Whether the switch is read-only.
|
|
25
|
+
* @param trueValue - The value emitted when the switch is on.
|
|
26
|
+
* @param value - The current effective value (`trueValue` when on, `falseValue` when off).
|
|
27
|
+
*/
|
|
28
|
+
icon?: (props: BaseCheckboxIconSlotProps) => any;
|
|
14
29
|
};
|
|
15
30
|
declare function __VLS_template(): {
|
|
16
31
|
attrs: Partial<{}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseCheckboxGroupEvents, BaseCheckboxGroupProps, BaseCheckboxGroupSlots } from '../BaseCheckboxGroup/
|
|
1
|
+
import { BaseCheckboxGroupEvents, BaseCheckboxGroupProps, BaseCheckboxGroupSlots } from '../BaseCheckboxGroup/types';
|
|
2
2
|
/**
|
|
3
3
|
* Props for the switch group component that renders a list of switches from items.
|
|
4
4
|
* Extends BaseCheckboxGroup with switch-specific visuals instead of checkboxes.
|
|
@@ -116,11 +116,29 @@ export type BaseTagEvents = {
|
|
|
116
116
|
* - `prefix` / `suffix`: add inline content within the input.
|
|
117
117
|
*/
|
|
118
118
|
export type BaseTagSlots = {
|
|
119
|
+
/**
|
|
120
|
+
* Content rendered after the tag input, at the end of the inner container.
|
|
121
|
+
*/
|
|
119
122
|
append?: (props: object) => any;
|
|
123
|
+
/**
|
|
124
|
+
* Content rendered after the entire tag input control, outside the input chrome.
|
|
125
|
+
*/
|
|
120
126
|
'append-outer'?: (props: object) => any;
|
|
127
|
+
/**
|
|
128
|
+
* Content rendered before the tag input, at the start of the inner container.
|
|
129
|
+
*/
|
|
121
130
|
prepend?: (props: object) => any;
|
|
131
|
+
/**
|
|
132
|
+
* Content rendered before the entire tag input control, outside the input chrome.
|
|
133
|
+
*/
|
|
122
134
|
'prepend-outer'?: (props: object) => any;
|
|
135
|
+
/**
|
|
136
|
+
* Inline content rendered at the start of the input field area, before the typed text.
|
|
137
|
+
*/
|
|
123
138
|
prefix?: (props: object) => any;
|
|
139
|
+
/**
|
|
140
|
+
* Inline content rendered at the end of the input field area, after the typed text.
|
|
141
|
+
*/
|
|
124
142
|
suffix?: (props: object) => any;
|
|
125
143
|
};
|
|
126
144
|
declare function __VLS_template(): {
|
|
@@ -166,10 +184,14 @@ declare function __VLS_template(): {
|
|
|
166
184
|
$nextTick: typeof nextTick;
|
|
167
185
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
168
186
|
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
169
|
-
$slots: {
|
|
170
|
-
'prepend-outer'
|
|
171
|
-
default
|
|
172
|
-
'append-outer'
|
|
187
|
+
$slots: Readonly<{
|
|
188
|
+
'prepend-outer'?: (props: object) => any;
|
|
189
|
+
default?: (props: object) => any;
|
|
190
|
+
'append-outer'?: (props: object) => any;
|
|
191
|
+
}> & {
|
|
192
|
+
'prepend-outer'?: (props: object) => any;
|
|
193
|
+
default?: (props: object) => any;
|
|
194
|
+
'append-outer'?: (props: object) => any;
|
|
173
195
|
};
|
|
174
196
|
}) | null;
|
|
175
197
|
innerContainer: ({
|
|
@@ -225,12 +247,18 @@ declare function __VLS_template(): {
|
|
|
225
247
|
} & Readonly<{}> & Omit<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
|
226
248
|
"onClick:clear"?: (() => any) | undefined;
|
|
227
249
|
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
228
|
-
$slots: {
|
|
229
|
-
prepend
|
|
230
|
-
prefix
|
|
231
|
-
default
|
|
232
|
-
append
|
|
233
|
-
suffix
|
|
250
|
+
$slots: Readonly<{
|
|
251
|
+
prepend?: (props: object) => any;
|
|
252
|
+
prefix?: (props: object) => any;
|
|
253
|
+
default?: (props: object) => any;
|
|
254
|
+
append?: (props: object) => any;
|
|
255
|
+
suffix?: (props: object) => any;
|
|
256
|
+
}> & {
|
|
257
|
+
prepend?: (props: object) => any;
|
|
258
|
+
prefix?: (props: object) => any;
|
|
259
|
+
default?: (props: object) => any;
|
|
260
|
+
append?: (props: object) => any;
|
|
261
|
+
suffix?: (props: object) => any;
|
|
234
262
|
};
|
|
235
263
|
}) | null;
|
|
236
264
|
commaBox: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
@@ -384,10 +412,14 @@ declare const __VLS_component: import('vue').DefineComponent<BaseTagProps, {}, {
|
|
|
384
412
|
$nextTick: typeof nextTick;
|
|
385
413
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
386
414
|
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
387
|
-
$slots: {
|
|
388
|
-
'prepend-outer'
|
|
389
|
-
default
|
|
390
|
-
'append-outer'
|
|
415
|
+
$slots: Readonly<{
|
|
416
|
+
'prepend-outer'?: (props: object) => any;
|
|
417
|
+
default?: (props: object) => any;
|
|
418
|
+
'append-outer'?: (props: object) => any;
|
|
419
|
+
}> & {
|
|
420
|
+
'prepend-outer'?: (props: object) => any;
|
|
421
|
+
default?: (props: object) => any;
|
|
422
|
+
'append-outer'?: (props: object) => any;
|
|
391
423
|
};
|
|
392
424
|
}) | null;
|
|
393
425
|
innerContainer: ({
|
|
@@ -443,12 +475,18 @@ declare const __VLS_component: import('vue').DefineComponent<BaseTagProps, {}, {
|
|
|
443
475
|
} & Readonly<{}> & Omit<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
|
444
476
|
"onClick:clear"?: (() => any) | undefined;
|
|
445
477
|
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
446
|
-
$slots: {
|
|
447
|
-
prepend
|
|
448
|
-
prefix
|
|
449
|
-
default
|
|
450
|
-
append
|
|
451
|
-
suffix
|
|
478
|
+
$slots: Readonly<{
|
|
479
|
+
prepend?: (props: object) => any;
|
|
480
|
+
prefix?: (props: object) => any;
|
|
481
|
+
default?: (props: object) => any;
|
|
482
|
+
append?: (props: object) => any;
|
|
483
|
+
suffix?: (props: object) => any;
|
|
484
|
+
}> & {
|
|
485
|
+
prepend?: (props: object) => any;
|
|
486
|
+
prefix?: (props: object) => any;
|
|
487
|
+
default?: (props: object) => any;
|
|
488
|
+
append?: (props: object) => any;
|
|
489
|
+
suffix?: (props: object) => any;
|
|
452
490
|
};
|
|
453
491
|
}) | null;
|
|
454
492
|
commaBox: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
@@ -110,11 +110,29 @@ export type BaseTextInputEvents = {
|
|
|
110
110
|
* - `prefix` / `suffix`: add inline content within the input area.
|
|
111
111
|
*/
|
|
112
112
|
export type BaseTextInputSlots = {
|
|
113
|
+
/**
|
|
114
|
+
* Content rendered after the entire text input control, outside the input chrome.
|
|
115
|
+
*/
|
|
113
116
|
'append-outer'?: (props: object) => any;
|
|
117
|
+
/**
|
|
118
|
+
* Content rendered after the text input, at the end of the inner container.
|
|
119
|
+
*/
|
|
114
120
|
append?: (props: object) => any;
|
|
121
|
+
/**
|
|
122
|
+
* Inline content rendered at the start of the input field area, before the typed text.
|
|
123
|
+
*/
|
|
115
124
|
prefix?: (props: object) => any;
|
|
125
|
+
/**
|
|
126
|
+
* Content rendered before the text input, at the start of the inner container.
|
|
127
|
+
*/
|
|
116
128
|
prepend?: (props: object) => any;
|
|
129
|
+
/**
|
|
130
|
+
* Content rendered before the entire text input control, outside the input chrome.
|
|
131
|
+
*/
|
|
117
132
|
'prepend-outer'?: (props: object) => any;
|
|
133
|
+
/**
|
|
134
|
+
* Inline content rendered at the end of the input field area, after the typed text.
|
|
135
|
+
*/
|
|
118
136
|
suffix?: (props: object) => any;
|
|
119
137
|
};
|
|
120
138
|
declare function __VLS_template(): {
|
|
@@ -100,11 +100,29 @@ export type BaseTextareaEvents = {
|
|
|
100
100
|
* - `prefix` / `suffix`: add inline content within the input area.
|
|
101
101
|
*/
|
|
102
102
|
export type BaseTextareaSlots = {
|
|
103
|
+
/**
|
|
104
|
+
* Content rendered before the entire textarea control, outside the input chrome.
|
|
105
|
+
*/
|
|
103
106
|
'prepend-outer'?: (props: object) => any;
|
|
107
|
+
/**
|
|
108
|
+
* Content rendered before the textarea, at the start of the inner container.
|
|
109
|
+
*/
|
|
104
110
|
prepend?: (props: object) => any;
|
|
111
|
+
/**
|
|
112
|
+
* Content rendered after the textarea, at the end of the inner container.
|
|
113
|
+
*/
|
|
105
114
|
append?: (props: object) => any;
|
|
115
|
+
/**
|
|
116
|
+
* Content rendered after the entire textarea control, outside the input chrome.
|
|
117
|
+
*/
|
|
106
118
|
'append-outer'?: (props: object) => any;
|
|
119
|
+
/**
|
|
120
|
+
* Inline content rendered at the start of the textarea field area, before the text.
|
|
121
|
+
*/
|
|
107
122
|
prefix?: (props: object) => any;
|
|
123
|
+
/**
|
|
124
|
+
* Inline content rendered at the end of the textarea field area, after the text.
|
|
125
|
+
*/
|
|
108
126
|
suffix?: (props: object) => any;
|
|
109
127
|
};
|
|
110
128
|
declare function __VLS_template(): {
|
|
@@ -13,19 +13,39 @@ declare const toggle: () => void;
|
|
|
13
13
|
declare function __VLS_template(): {
|
|
14
14
|
attrs: Partial<{}>;
|
|
15
15
|
slots: Readonly<{
|
|
16
|
+
/**
|
|
17
|
+
* Content rendered inside the accordion header button.
|
|
18
|
+
* @param value - Whether the accordion panel is currently open.
|
|
19
|
+
* @param toggle - Toggles the open/closed state.
|
|
20
|
+
*/
|
|
16
21
|
header?: (props: {
|
|
17
22
|
value: BbAccordionProps["modelValue"];
|
|
18
23
|
toggle: typeof toggle;
|
|
19
24
|
}) => any;
|
|
25
|
+
/**
|
|
26
|
+
* The collapsible body content shown when the accordion is open.
|
|
27
|
+
* @param value - Whether the accordion panel is currently open.
|
|
28
|
+
* @param toggle - Toggles the open/closed state.
|
|
29
|
+
*/
|
|
20
30
|
default?: (props: {
|
|
21
31
|
value: BbAccordionProps["modelValue"];
|
|
22
32
|
toggle: typeof toggle;
|
|
23
33
|
}) => any;
|
|
24
34
|
}> & {
|
|
35
|
+
/**
|
|
36
|
+
* Content rendered inside the accordion header button.
|
|
37
|
+
* @param value - Whether the accordion panel is currently open.
|
|
38
|
+
* @param toggle - Toggles the open/closed state.
|
|
39
|
+
*/
|
|
25
40
|
header?: (props: {
|
|
26
41
|
value: BbAccordionProps["modelValue"];
|
|
27
42
|
toggle: typeof toggle;
|
|
28
43
|
}) => any;
|
|
44
|
+
/**
|
|
45
|
+
* The collapsible body content shown when the accordion is open.
|
|
46
|
+
* @param value - Whether the accordion panel is currently open.
|
|
47
|
+
* @param toggle - Toggles the open/closed state.
|
|
48
|
+
*/
|
|
29
49
|
default?: (props: {
|
|
30
50
|
value: BbAccordionProps["modelValue"];
|
|
31
51
|
toggle: typeof toggle;
|