bitboss-ui 0.2.31 → 0.2.32
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 -6
- package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +16 -16
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +36 -36
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +20 -20
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +21 -21
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +8 -8
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +6 -6
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +20 -20
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +20 -20
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +36 -36
- package/dist/components/BaseRating/BaseRating.vue.d.ts +17 -17
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +23 -23
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +15 -15
- package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +1 -1
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +20 -20
- package/dist/components/BaseTag/BaseTag.vue.d.ts +20 -20
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +19 -19
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +18 -18
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +3 -3
- package/dist/components/BbAlert/BbAlert.vue.d.ts +3 -3
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +8 -8
- package/dist/components/BbBadge/BbBadge.vue.d.ts +1 -1
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +6 -6
- package/dist/components/BbButton/BbButton.vue.d.ts +1 -1
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +11 -11
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +27 -27
- package/dist/components/BbChip/BbChip.vue.d.ts +2 -2
- package/dist/components/BbConfirm/BbConfirm.vue.d.ts +4 -4
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +16 -24
- package/dist/components/BbDialog/BbDialog.vue.d.ts +2 -2
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +11 -11
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +14 -14
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +4 -4
- package/dist/components/BbIntersection/BbIntersection.vue.d.ts +3 -3
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +10 -10
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +9 -9
- package/dist/components/BbPagination/BbPagination.vue.d.ts +1 -1
- package/dist/components/BbPopover/BbPopover.vue.d.ts +8 -8
- package/dist/components/BbRadio/BbRadio.vue.d.ts +10 -10
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +27 -27
- package/dist/components/BbRating/BbRating.vue.d.ts +10 -10
- package/dist/components/BbSelect/BbSelect.vue.d.ts +19 -19
- package/dist/components/BbSlider/BbSlider.vue.d.ts +8 -8
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +1 -1
- package/dist/components/BbSpinner/BbSpinner.vue.d.ts +2 -2
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +2 -2
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +20 -20
- package/dist/components/BbTab/BbTab.vue.d.ts +5 -5
- package/dist/components/BbTable/BbTable.vue.d.ts +11 -11
- package/dist/components/BbTable/types.d.ts +107 -107
- package/dist/components/BbTag/BbTag.vue.d.ts +13 -13
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +11 -11
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +10 -10
- package/dist/components/BbToast/BbToast.vue.d.ts +1 -1
- package/dist/components/BbToast/BbToastMessage.vue.d.ts +1 -1
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +3 -3
- package/dist/components/BbTree/BbTree.vue.d.ts +1 -1
- package/dist/composables/useConfirm.d.ts +10 -10
- package/dist/composables/useOptions.d.ts +2 -2
- package/dist/composables/useRoute.d.ts +2 -2
- package/dist/composables/useRouter.d.ts +1 -1
- package/dist/composables/useToast.d.ts +5 -5
- package/dist/composables/useWizard.d.ts +1 -1
- package/dist/index.d.ts +126 -126
- package/dist/index101.js +32 -37
- package/dist/index101.js.map +1 -1
- package/dist/index103.js +19 -19
- package/dist/index103.js.map +1 -1
- package/dist/index105.js +16 -16
- package/dist/index105.js.map +1 -1
- package/dist/index107.js +15 -15
- package/dist/index107.js.map +1 -1
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +7 -7
- package/dist/index11.js.map +1 -1
- package/dist/index111.js +16 -16
- package/dist/index111.js.map +1 -1
- package/dist/index113.js +3 -3
- package/dist/index113.js.map +1 -1
- package/dist/index115.js +6 -6
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +1 -1
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +1 -1
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +4 -4
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +5 -5
- package/dist/index119.js.map +1 -1
- package/dist/index120.js.map +1 -1
- package/dist/index121.js.map +1 -1
- package/dist/index122.js.map +1 -1
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +4 -4
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +1 -1
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +4 -1
- package/dist/index128.js.map +1 -1
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +11 -11
- package/dist/index13.js.map +1 -1
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +2 -2
- package/dist/index15.js +226 -224
- package/dist/index15.js.map +1 -1
- package/dist/index17.js +61 -62
- package/dist/index17.js.map +1 -1
- package/dist/index19.js +22 -22
- package/dist/index19.js.map +1 -1
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +2 -5
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +4 -16
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +293 -14
- package/dist/index199.js.map +1 -1
- package/dist/index2.js +23 -23
- package/dist/index2.js.map +1 -1
- package/dist/index200.js +15 -18
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +13 -17
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +18 -28
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +20 -8
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +29 -2
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +8 -378
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +2 -134
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +235 -2
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +3 -174
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +35 -23
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +4 -4
- package/dist/index21.js.map +1 -1
- package/dist/index210.js +6 -373
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +10 -2
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +378 -4
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +134 -3
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +2 -3
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +172 -8
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +23 -3
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +369 -31
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +3 -6
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +3 -2
- package/dist/index219.js.map +1 -1
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +26 -233
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +16 -8
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +2 -121
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +8 -27
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +120 -12
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +1 -1
- package/dist/index227.js +4 -295
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +2 -6
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +6 -2
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +14 -16
- package/dist/index23.js.map +1 -1
- package/dist/index230.js +2 -2
- package/dist/index235.js +2 -2
- package/dist/index236.js +428 -110
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +88 -105
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +199 -3
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +1 -1
- package/dist/index240.js +1 -1
- package/dist/index241.js +2 -435
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +115 -87
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +104 -198
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +160 -2
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +2 -2
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +9 -9
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +5 -162
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +1 -1
- package/dist/index249.js +37 -14
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +4 -4
- package/dist/index25.js.map +1 -1
- package/dist/index250.js +2 -38
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +2 -2
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +15 -2
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +3 -2
- package/dist/index253.js.map +1 -1
- package/dist/index255.js +2 -3
- package/dist/index255.js.map +1 -1
- package/dist/index27.js +7 -7
- package/dist/index27.js.map +1 -1
- package/dist/index29.js +15 -15
- package/dist/index29.js.map +1 -1
- package/dist/index3.js +2 -1
- package/dist/index3.js.map +1 -1
- package/dist/index31.js +28 -28
- package/dist/index31.js.map +1 -1
- package/dist/index33.js +10 -11
- package/dist/index33.js.map +1 -1
- package/dist/index35.js +2 -2
- package/dist/index35.js.map +1 -1
- package/dist/index37.js +12 -12
- package/dist/index37.js.map +1 -1
- package/dist/index39.js +5 -7
- package/dist/index39.js.map +1 -1
- package/dist/index4.js.map +1 -1
- package/dist/index41.js +5 -5
- package/dist/index41.js.map +1 -1
- package/dist/index43.js +19 -16
- package/dist/index43.js.map +1 -1
- package/dist/index45.js +9 -9
- package/dist/index45.js.map +1 -1
- package/dist/index47.js +4 -4
- package/dist/index47.js.map +1 -1
- package/dist/index49.js +1 -1
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +7 -6
- package/dist/index5.js.map +1 -1
- package/dist/index51.js +6 -6
- package/dist/index51.js.map +1 -1
- package/dist/index53.js.map +1 -1
- package/dist/index55.js +20 -20
- package/dist/index55.js.map +1 -1
- package/dist/index57.js +35 -35
- package/dist/index57.js.map +1 -1
- package/dist/index59.js +8 -8
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +38 -38
- package/dist/index6.js.map +1 -1
- package/dist/index61.js +27 -27
- package/dist/index61.js.map +1 -1
- package/dist/index63.js +4 -4
- package/dist/index63.js.map +1 -1
- package/dist/index65.js +20 -20
- package/dist/index65.js.map +1 -1
- package/dist/index67.js +26 -26
- package/dist/index67.js.map +1 -1
- package/dist/index69.js +21 -19
- package/dist/index69.js.map +1 -1
- package/dist/index7.js.map +1 -1
- package/dist/index71.js +2 -2
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +3 -3
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +14 -14
- package/dist/index73.js.map +1 -1
- package/dist/index75.js +18 -18
- package/dist/index75.js.map +1 -1
- package/dist/index77.js +11 -11
- package/dist/index77.js.map +1 -1
- package/dist/index79.js +15 -15
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +10 -7
- package/dist/index8.js.map +1 -1
- package/dist/index81.js.map +1 -1
- package/dist/index83.js +20 -20
- package/dist/index83.js.map +1 -1
- package/dist/index85.js +34 -34
- package/dist/index85.js.map +1 -1
- package/dist/index87.js +18 -18
- package/dist/index87.js.map +1 -1
- package/dist/index89.js.map +1 -1
- package/dist/index9.js.map +1 -1
- package/dist/index91.js +53 -53
- package/dist/index91.js.map +1 -1
- package/dist/index93.js +16 -16
- package/dist/index93.js.map +1 -1
- package/dist/index95.js +21 -21
- package/dist/index95.js.map +1 -1
- package/dist/index97.js +37 -37
- package/dist/index97.js.map +1 -1
- package/dist/index99.js +18 -18
- package/dist/index99.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/CommonProps.d.ts +18 -18
- package/dist/types/ExtractGenericFromComputedRef.d.ts +1 -1
- package/dist/types/ExtractGenericFromRef.d.ts +1 -1
- package/dist/types/VoidHtmlElements.d.ts +1 -1
- package/dist/utilities/functions/cloneDeep.d.ts +1 -1
- package/dist/utilities/functions/debounce.d.ts +1 -1
- package/dist/utilities/functions/flow.d.ts +1 -1
- package/dist/utilities/functions/get.d.ts +1 -1
- package/dist/utilities/functions/isNotNil.d.ts +1 -1
- package/dist/utilities/functions/mapValues.d.ts +1 -1
- package/dist/utilities/functions/merge.d.ts +1 -1
- package/dist/utilities/functions/millisecondsTo.d.ts +1 -1
- package/dist/utilities/functions/overEvery.d.ts +1 -1
- package/dist/utilities/functions/percentage.d.ts +4 -4
- package/dist/utilities/functions/pick.d.ts +1 -1
- package/dist/utilities/functions/pickBy.d.ts +1 -1
- package/dist/utilities/functions/roundToTheNearest.d.ts +1 -1
- package/package.json +93 -77
- package/dist/index256.js +0 -5
- package/dist/index256.js.map +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { InputHTMLAttributes, HTMLAttributes } from
|
|
1
|
+
import type { InputHTMLAttributes, HTMLAttributes } from 'vue';
|
|
2
2
|
export type BaseTagProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Guides to the browser as to the type of information expected in the field.
|
|
5
5
|
*/
|
|
6
|
-
autocomplete?: InputHTMLAttributes[
|
|
6
|
+
autocomplete?: InputHTMLAttributes['autocomplete'];
|
|
7
7
|
/**
|
|
8
8
|
* Sets autofocus on page load.
|
|
9
9
|
*/
|
|
10
|
-
autofocus?: InputHTMLAttributes[
|
|
10
|
+
autofocus?: InputHTMLAttributes['autofocus'];
|
|
11
11
|
/**
|
|
12
12
|
* Sets the display model for selected values to a list
|
|
13
13
|
* of comma separated string. In this mode the user
|
|
@@ -21,7 +21,7 @@ export type BaseTagProps = {
|
|
|
21
21
|
/**
|
|
22
22
|
* The divider key used to separate values from one another. By default it is "Enter"
|
|
23
23
|
*/
|
|
24
|
-
divider?: KeyboardEvent[
|
|
24
|
+
divider?: KeyboardEvent['key'];
|
|
25
25
|
/**
|
|
26
26
|
* Define if the component should be in an error state.
|
|
27
27
|
* It usually attaches a CSS class for styling purposes.
|
|
@@ -30,7 +30,7 @@ export type BaseTagProps = {
|
|
|
30
30
|
/**
|
|
31
31
|
* The identifier of the component.
|
|
32
32
|
*/
|
|
33
|
-
id?: HTMLAttributes[
|
|
33
|
+
id?: HTMLAttributes['id'];
|
|
34
34
|
/**
|
|
35
35
|
* Used by v-model. Can be any serializable type.
|
|
36
36
|
*/
|
|
@@ -42,33 +42,33 @@ export type BaseTagProps = {
|
|
|
42
42
|
/**
|
|
43
43
|
* Defines the name of the input.
|
|
44
44
|
*/
|
|
45
|
-
name?: InputHTMLAttributes[
|
|
45
|
+
name?: InputHTMLAttributes['name'];
|
|
46
46
|
/**
|
|
47
47
|
* String displayed when there's no data.
|
|
48
48
|
*/
|
|
49
|
-
placeholder?: InputHTMLAttributes[
|
|
49
|
+
placeholder?: InputHTMLAttributes['placeholder'];
|
|
50
50
|
/**
|
|
51
51
|
* Sets the input in a readonly state.
|
|
52
52
|
*/
|
|
53
|
-
readonly?: InputHTMLAttributes[
|
|
53
|
+
readonly?: InputHTMLAttributes['readonly'];
|
|
54
54
|
};
|
|
55
55
|
export type BaseTagEvents = {
|
|
56
|
-
(e:
|
|
57
|
-
(e:
|
|
58
|
-
(e:
|
|
59
|
-
(e:
|
|
60
|
-
(e:
|
|
61
|
-
(e:
|
|
62
|
-
(e:
|
|
63
|
-
(e:
|
|
64
|
-
(e:
|
|
65
|
-
(e:
|
|
56
|
+
(e: 'blur', event: FocusEvent): void;
|
|
57
|
+
(e: 'change', event: Event): void;
|
|
58
|
+
(e: 'click', event: MouseEvent): void;
|
|
59
|
+
(e: 'duplicate', string: string): void;
|
|
60
|
+
(e: 'focus', event: FocusEvent): void;
|
|
61
|
+
(e: 'inactive'): void;
|
|
62
|
+
(e: 'input', event: Event): void;
|
|
63
|
+
(e: 'keydown', event: KeyboardEvent): void;
|
|
64
|
+
(e: 'keyup', event: KeyboardEvent): void;
|
|
65
|
+
(e: 'update:modelValue', value: any): void;
|
|
66
66
|
};
|
|
67
67
|
export type BaseTagSlots = {
|
|
68
68
|
append?: (props: {}) => any;
|
|
69
|
-
|
|
69
|
+
'append-outer'?: (props: {}) => any;
|
|
70
70
|
prepend?: (props: {}) => any;
|
|
71
|
-
|
|
71
|
+
'prepend-outer'?: (props: {}) => any;
|
|
72
72
|
};
|
|
73
73
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BaseTagProps>, {
|
|
74
74
|
divider: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { HTMLAttributes, InputHTMLAttributes } from
|
|
1
|
+
import type { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
|
2
2
|
export type BaseTextInputProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Guides to the browser as to the type of information expected in the field.
|
|
5
5
|
*/
|
|
6
|
-
autocomplete?: InputHTMLAttributes[
|
|
6
|
+
autocomplete?: InputHTMLAttributes['autocomplete'];
|
|
7
7
|
/**
|
|
8
8
|
* Sets autofocus on page load.
|
|
9
9
|
*/
|
|
10
|
-
autofocus?: InputHTMLAttributes[
|
|
10
|
+
autofocus?: InputHTMLAttributes['autofocus'];
|
|
11
11
|
/**
|
|
12
12
|
* Disables the component
|
|
13
13
|
*/
|
|
@@ -20,19 +20,19 @@ export type BaseTextInputProps = {
|
|
|
20
20
|
/**
|
|
21
21
|
* The identifier of the component.
|
|
22
22
|
*/
|
|
23
|
-
id?: HTMLAttributes[
|
|
23
|
+
id?: HTMLAttributes['id'];
|
|
24
24
|
/**
|
|
25
25
|
* Defines the name of the input.
|
|
26
26
|
*/
|
|
27
|
-
name?: InputHTMLAttributes[
|
|
27
|
+
name?: InputHTMLAttributes['name'];
|
|
28
28
|
/**
|
|
29
29
|
* String displayed when there's no data.
|
|
30
30
|
*/
|
|
31
|
-
placeholder?: InputHTMLAttributes[
|
|
31
|
+
placeholder?: InputHTMLAttributes['placeholder'];
|
|
32
32
|
/**
|
|
33
33
|
* Sets the input in a readonly state.
|
|
34
34
|
*/
|
|
35
|
-
readonly?: InputHTMLAttributes[
|
|
35
|
+
readonly?: InputHTMLAttributes['readonly'];
|
|
36
36
|
/**
|
|
37
37
|
* Used my v-model
|
|
38
38
|
*/
|
|
@@ -40,24 +40,24 @@ export type BaseTextInputProps = {
|
|
|
40
40
|
/**
|
|
41
41
|
* Type of the input. Returns the content type of the object.
|
|
42
42
|
*/
|
|
43
|
-
type?: HTMLInputElement[
|
|
43
|
+
type?: HTMLInputElement['type'];
|
|
44
44
|
};
|
|
45
45
|
export type BaseTextInputEvents = {
|
|
46
|
-
(e:
|
|
47
|
-
(e:
|
|
48
|
-
(e:
|
|
49
|
-
(e:
|
|
50
|
-
(e:
|
|
51
|
-
(e:
|
|
52
|
-
(e:
|
|
53
|
-
(e:
|
|
54
|
-
(e:
|
|
46
|
+
(e: 'blur', event: FocusEvent): void;
|
|
47
|
+
(e: 'change', event: Event): void;
|
|
48
|
+
(e: 'click', event: MouseEvent): void;
|
|
49
|
+
(e: 'focus', event: FocusEvent): void;
|
|
50
|
+
(e: 'input', event: Event): void;
|
|
51
|
+
(e: 'keydown', event: KeyboardEvent): void;
|
|
52
|
+
(e: 'mousedown', event: MouseEvent): void;
|
|
53
|
+
(e: 'mouseup', event: MouseEvent): void;
|
|
54
|
+
(e: 'update:modelValue', value: string | null): void;
|
|
55
55
|
};
|
|
56
56
|
export type BaseTextInputSlots = {
|
|
57
|
-
|
|
57
|
+
'prepend-outer'?: (props: {}) => any;
|
|
58
58
|
prepend?: (props: {}) => any;
|
|
59
59
|
append?: (props: {}) => any;
|
|
60
|
-
|
|
60
|
+
'append-outer'?: (props: {}) => any;
|
|
61
61
|
};
|
|
62
62
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BaseTextInputProps>, {
|
|
63
63
|
type: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { HTMLAttributes, InputHTMLAttributes } from
|
|
1
|
+
import type { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
|
2
2
|
export type BaseTextareaProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Guides to the browser as to the type of information expected in the field.
|
|
5
5
|
*/
|
|
6
|
-
autocomplete?: InputHTMLAttributes[
|
|
6
|
+
autocomplete?: InputHTMLAttributes['autocomplete'];
|
|
7
7
|
/**
|
|
8
8
|
* Sets autofocus on page load.
|
|
9
9
|
*/
|
|
10
|
-
autofocus?: InputHTMLAttributes[
|
|
10
|
+
autofocus?: InputHTMLAttributes['autofocus'];
|
|
11
11
|
/**
|
|
12
12
|
* Disables the component
|
|
13
13
|
*/
|
|
@@ -20,19 +20,19 @@ export type BaseTextareaProps = {
|
|
|
20
20
|
/**
|
|
21
21
|
* The identifier of the component.
|
|
22
22
|
*/
|
|
23
|
-
id?: HTMLAttributes[
|
|
23
|
+
id?: HTMLAttributes['id'];
|
|
24
24
|
/**
|
|
25
25
|
* Defines the name of the input.
|
|
26
26
|
*/
|
|
27
|
-
name?: InputHTMLAttributes[
|
|
27
|
+
name?: InputHTMLAttributes['name'];
|
|
28
28
|
/**
|
|
29
29
|
* String displayed when there's no data.
|
|
30
30
|
*/
|
|
31
|
-
placeholder?: InputHTMLAttributes[
|
|
31
|
+
placeholder?: InputHTMLAttributes['placeholder'];
|
|
32
32
|
/**
|
|
33
33
|
* Sets the input in a readonly state.
|
|
34
34
|
*/
|
|
35
|
-
readonly?: InputHTMLAttributes[
|
|
35
|
+
readonly?: InputHTMLAttributes['readonly'];
|
|
36
36
|
/**
|
|
37
37
|
* Expands the textarea to match its content
|
|
38
38
|
*/
|
|
@@ -43,21 +43,21 @@ export type BaseTextareaProps = {
|
|
|
43
43
|
modelValue: string | null;
|
|
44
44
|
};
|
|
45
45
|
export type BaseTextareaEvents = {
|
|
46
|
-
(e:
|
|
47
|
-
(e:
|
|
48
|
-
(e:
|
|
49
|
-
(e:
|
|
50
|
-
(e:
|
|
51
|
-
(e:
|
|
52
|
-
(e:
|
|
53
|
-
(e:
|
|
54
|
-
(e:
|
|
46
|
+
(e: 'blur', event: FocusEvent): void;
|
|
47
|
+
(e: 'change', event: Event): void;
|
|
48
|
+
(e: 'click', event: MouseEvent): void;
|
|
49
|
+
(e: 'focus', event: FocusEvent): void;
|
|
50
|
+
(e: 'input', event: Event): void;
|
|
51
|
+
(e: 'keydown', event: KeyboardEvent): void;
|
|
52
|
+
(e: 'mousedown', event: MouseEvent): void;
|
|
53
|
+
(e: 'mouseup', event: MouseEvent): void;
|
|
54
|
+
(e: 'update:modelValue', value: string | null): void;
|
|
55
55
|
};
|
|
56
56
|
export type BaseTextareaSlots = {
|
|
57
|
-
|
|
57
|
+
'prepend-outer'?: (props: {}) => any;
|
|
58
58
|
prepend?: (props: {}) => any;
|
|
59
59
|
append?: (props: {}) => any;
|
|
60
|
-
|
|
60
|
+
'append-outer'?: (props: {}) => any;
|
|
61
61
|
};
|
|
62
62
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<BaseTextareaProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
63
63
|
blur: (event: FocusEvent) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { BbCollapsibleProps } from
|
|
1
|
+
import type { BbCollapsibleProps } from '../BbCollapsible/BbCollapsible.vue';
|
|
2
2
|
import type { CommonProps } from '../../types/CommonProps';
|
|
3
|
-
export type BbAccordionProps = Partial<BbCollapsibleProps> & Pick<CommonProps,
|
|
3
|
+
export type BbAccordionProps = Partial<BbCollapsibleProps> & Pick<CommonProps, 'id'>;
|
|
4
4
|
export type BbAccordionEvents = {
|
|
5
|
-
(e:
|
|
5
|
+
(e: 'update:modelValue', value: boolean): void;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbAccordionProps>, {
|
|
8
8
|
transitionDuration: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BbIconProps } from
|
|
1
|
+
import type { BbIconProps } from '../BbIcon/BbIcon.vue';
|
|
2
2
|
import type { CommonProps } from '../../types/CommonProps';
|
|
3
3
|
export type BbAlertProps = Pick<CommonProps, 'closeLabel' | 'showClose' | 'text' | 'theme' | 'title'> & {
|
|
4
4
|
/**
|
|
@@ -8,14 +8,14 @@ export type BbAlertProps = Pick<CommonProps, 'closeLabel' | 'showClose' | 'text'
|
|
|
8
8
|
/**
|
|
9
9
|
* Size of the icon to use
|
|
10
10
|
*/
|
|
11
|
-
iconSize?: BbIconProps[
|
|
11
|
+
iconSize?: BbIconProps['size'];
|
|
12
12
|
/**
|
|
13
13
|
* Used by v-model, set type to any to avoid Vue casting it as false
|
|
14
14
|
*/
|
|
15
15
|
modelValue?: any;
|
|
16
16
|
};
|
|
17
17
|
export type BbAlertEvents = {
|
|
18
|
-
(e:
|
|
18
|
+
(e: 'update:modelValue', value: boolean): void;
|
|
19
19
|
};
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbAlertProps>, {
|
|
21
21
|
closeLabel: string;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import type { CommonProps } from '../../types/CommonProps';
|
|
2
|
-
import type { BbIconProps } from
|
|
3
|
-
export type BbAvatarProps = Pick<CommonProps,
|
|
2
|
+
import type { BbIconProps } from '../BbIcon/BbIcon.vue';
|
|
3
|
+
export type BbAvatarProps = Pick<CommonProps, 'color'> & Pick<BbIconProps, 'size'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Attribute `sizes` for the `img` tag
|
|
6
6
|
*/
|
|
7
|
-
sizes?: HTMLImageElement[
|
|
7
|
+
sizes?: HTMLImageElement['sizes'];
|
|
8
8
|
/**
|
|
9
9
|
* Attribute `alt` for the `img` tag
|
|
10
10
|
*/
|
|
11
|
-
alt: HTMLImageElement[
|
|
11
|
+
alt: HTMLImageElement['alt'];
|
|
12
12
|
} & ({
|
|
13
13
|
/**
|
|
14
14
|
* Attribute `src` for the `img` tag
|
|
15
15
|
*/
|
|
16
|
-
src: HTMLImageElement[
|
|
16
|
+
src: HTMLImageElement['src'];
|
|
17
17
|
/**
|
|
18
18
|
* Attribute `srcset` for the `img` tag
|
|
19
19
|
*/
|
|
20
|
-
srcset?: HTMLImageElement[
|
|
20
|
+
srcset?: HTMLImageElement['srcset'];
|
|
21
21
|
} | {
|
|
22
22
|
/**
|
|
23
23
|
* Attribute `src` for the `img` tag
|
|
24
24
|
*/
|
|
25
|
-
src?: HTMLImageElement[
|
|
25
|
+
src?: HTMLImageElement['src'];
|
|
26
26
|
/**
|
|
27
27
|
* Attribute `srcset` for the `img` tag
|
|
28
28
|
*/
|
|
29
|
-
srcset: HTMLImageElement[
|
|
29
|
+
srcset: HTMLImageElement['srcset'];
|
|
30
30
|
});
|
|
31
31
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<BbAvatarProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Pick<CommonProps, "color"> & Pick<BbIconProps, "size"> & {
|
|
32
32
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CommonProps } from '../../types/CommonProps';
|
|
2
|
-
import type { BaseButtonProps } from
|
|
3
|
-
export type Item = Omit<BaseButtonProps,
|
|
2
|
+
import type { BaseButtonProps } from '../BaseButton/BaseButton.vue';
|
|
3
|
+
export type Item = Omit<BaseButtonProps, 'block' | 'tag' | 'type'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Click handler of the button
|
|
6
6
|
*/
|
|
@@ -29,13 +29,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
29
|
}>>>, {
|
|
30
30
|
divider: string;
|
|
31
31
|
}, {}>, Readonly<{
|
|
32
|
-
|
|
32
|
+
'item:prepend'?: ((props: {
|
|
33
33
|
disabled: boolean;
|
|
34
34
|
index: number;
|
|
35
35
|
item: Item;
|
|
36
36
|
text?: string | undefined;
|
|
37
37
|
}) => any) | undefined;
|
|
38
|
-
|
|
38
|
+
'item:append'?: ((props: {
|
|
39
39
|
disabled: boolean;
|
|
40
40
|
index: number;
|
|
41
41
|
item: Item;
|
|
@@ -50,13 +50,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
50
50
|
text?: string | undefined;
|
|
51
51
|
}) => any;
|
|
52
52
|
}> & {
|
|
53
|
-
|
|
53
|
+
'item:prepend'?: ((props: {
|
|
54
54
|
disabled: boolean;
|
|
55
55
|
index: number;
|
|
56
56
|
item: Item;
|
|
57
57
|
text?: string | undefined;
|
|
58
58
|
}) => any) | undefined;
|
|
59
|
-
|
|
59
|
+
'item:append'?: ((props: {
|
|
60
60
|
disabled: boolean;
|
|
61
61
|
index: number;
|
|
62
62
|
item: Item;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BaseButtonProps } from
|
|
1
|
+
import type { BaseButtonProps } from '../BaseButton/BaseButton.vue';
|
|
2
2
|
export type BbButtonProps = BaseButtonProps;
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<BaseButtonProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<BaseButtonProps>>>, {}, {}>, Readonly<{
|
|
4
4
|
default?: ((props: {}) => any) | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type { BaseCheckboxEvents, SlotAttributes } from
|
|
2
|
-
import type { HTMLAttributes, InputHTMLAttributes } from
|
|
1
|
+
import type { BaseCheckboxEvents, SlotAttributes } from '../BaseCheckbox/BaseCheckbox.vue';
|
|
2
|
+
import type { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
|
3
3
|
export type BbCheckboxProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Sets autofocus on page load.
|
|
6
6
|
*/
|
|
7
|
-
autofocus?: InputHTMLAttributes[
|
|
7
|
+
autofocus?: InputHTMLAttributes['autofocus'];
|
|
8
8
|
/**
|
|
9
9
|
* Defines the input as checked
|
|
10
10
|
*/
|
|
11
|
-
checked?: InputHTMLAttributes[
|
|
11
|
+
checked?: InputHTMLAttributes['checked'];
|
|
12
12
|
/**
|
|
13
13
|
* Define a color for the component.
|
|
14
14
|
*
|
|
@@ -31,19 +31,19 @@ export type BbCheckboxProps = {
|
|
|
31
31
|
/**
|
|
32
32
|
* The identifier of the component.
|
|
33
33
|
*/
|
|
34
|
-
id?: HTMLAttributes[
|
|
34
|
+
id?: HTMLAttributes['id'];
|
|
35
35
|
/**
|
|
36
36
|
* Sets the input in an indeterminate state.
|
|
37
37
|
*/
|
|
38
|
-
indeterminate?: InputHTMLAttributes[
|
|
38
|
+
indeterminate?: InputHTMLAttributes['indeterminate'];
|
|
39
39
|
/**
|
|
40
40
|
* Defines the name of the input.
|
|
41
41
|
*/
|
|
42
|
-
name?: InputHTMLAttributes[
|
|
42
|
+
name?: InputHTMLAttributes['name'];
|
|
43
43
|
/**
|
|
44
44
|
* Sets the input in a readonly state.
|
|
45
45
|
*/
|
|
46
|
-
readonly?: InputHTMLAttributes[
|
|
46
|
+
readonly?: InputHTMLAttributes['readonly'];
|
|
47
47
|
/**
|
|
48
48
|
* Will submit "falseValue" if the input is not checked. Otherwise "trueValue" will be submitted.
|
|
49
49
|
*/
|
|
@@ -59,7 +59,7 @@ export type BbCheckboxProps = {
|
|
|
59
59
|
/**
|
|
60
60
|
* Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
|
|
61
61
|
*/
|
|
62
|
-
direction?:
|
|
62
|
+
direction?: 'horizontal' | 'vertical' | 'auto' | string;
|
|
63
63
|
/**
|
|
64
64
|
* Can be a string or an array of string containing the messages to display.
|
|
65
65
|
*/
|
|
@@ -71,7 +71,7 @@ export type BbCheckboxProps = {
|
|
|
71
71
|
/**
|
|
72
72
|
* Sets the slignment of the input. Since inputs are inline block they can be aligned just as text can.
|
|
73
73
|
*/
|
|
74
|
-
inputPosition?:
|
|
74
|
+
inputPosition?: 'left' | 'center' | 'right';
|
|
75
75
|
/**
|
|
76
76
|
* Text content of the label of the element.
|
|
77
77
|
*/
|
|
@@ -79,7 +79,7 @@ export type BbCheckboxProps = {
|
|
|
79
79
|
/**
|
|
80
80
|
* Sets the text alignment of the label.
|
|
81
81
|
*/
|
|
82
|
-
labelPosition?:
|
|
82
|
+
labelPosition?: 'left' | 'center' | 'right';
|
|
83
83
|
/**
|
|
84
84
|
* Reverses the layout. Applicable in every direction the order of the label and the input is swapped.
|
|
85
85
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { BaseCheckboxGroupEvents } from
|
|
2
|
-
import type { HTMLAttributes, InputHTMLAttributes } from
|
|
1
|
+
import type { BaseCheckboxGroupEvents } from '../BaseCheckboxGroup/BaseCheckboxGroup.vue';
|
|
2
|
+
import type { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
|
3
3
|
import type { NestedKeyOf } from '../../types/NestedKeyOf';
|
|
4
|
-
import type { SlotAttributes } from
|
|
4
|
+
import type { SlotAttributes } from '../BaseCheckbox/BaseCheckbox.vue';
|
|
5
5
|
export type BbCheckboxGroupProps<T> = {
|
|
6
6
|
/**
|
|
7
7
|
* Sets autofocus on page load.
|
|
8
8
|
*/
|
|
9
|
-
autofocus?: InputHTMLAttributes[
|
|
9
|
+
autofocus?: InputHTMLAttributes['autofocus'];
|
|
10
10
|
/**
|
|
11
11
|
* Define a color for the component.
|
|
12
12
|
*
|
|
@@ -41,7 +41,7 @@ export type BbCheckboxGroupProps<T> = {
|
|
|
41
41
|
/**
|
|
42
42
|
* The identifier of the component.
|
|
43
43
|
*/
|
|
44
|
-
id?: HTMLAttributes[
|
|
44
|
+
id?: HTMLAttributes['id'];
|
|
45
45
|
/**
|
|
46
46
|
* Used to retrieve items can be an array or a function.
|
|
47
47
|
*/
|
|
@@ -63,7 +63,7 @@ export type BbCheckboxGroupProps<T> = {
|
|
|
63
63
|
* `string` is 40% faster but relies on property order.
|
|
64
64
|
* `equality` is more reliable but is slower.
|
|
65
65
|
*/
|
|
66
|
-
matchStrategy?:
|
|
66
|
+
matchStrategy?: 'string' | 'equality';
|
|
67
67
|
/**
|
|
68
68
|
* Used by v-model. Can be an array of any serializable type.
|
|
69
69
|
*/
|
|
@@ -75,7 +75,7 @@ export type BbCheckboxGroupProps<T> = {
|
|
|
75
75
|
/**
|
|
76
76
|
* Defines the name of the input.
|
|
77
77
|
*/
|
|
78
|
-
name?: InputHTMLAttributes[
|
|
78
|
+
name?: InputHTMLAttributes['name'];
|
|
79
79
|
/**
|
|
80
80
|
* String displayed when there are no items to display.
|
|
81
81
|
*/
|
|
@@ -83,7 +83,7 @@ export type BbCheckboxGroupProps<T> = {
|
|
|
83
83
|
/**
|
|
84
84
|
* Sets the input in a readonly state.
|
|
85
85
|
*/
|
|
86
|
-
readonly?: InputHTMLAttributes[
|
|
86
|
+
readonly?: InputHTMLAttributes['readonly'];
|
|
87
87
|
/**
|
|
88
88
|
* Can be a string or an array of string containing the messages to display.
|
|
89
89
|
*/
|
|
@@ -103,7 +103,7 @@ export type BbCheckboxGroupProps<T> = {
|
|
|
103
103
|
/**
|
|
104
104
|
* Defines the direction of the inputs in the fieldset
|
|
105
105
|
*/
|
|
106
|
-
inputDirection?:
|
|
106
|
+
inputDirection?: 'horizontal' | 'vertical';
|
|
107
107
|
/**
|
|
108
108
|
* Text content of the legend.
|
|
109
109
|
*/
|
|
@@ -150,8 +150,8 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
150
150
|
slots: Readonly<{
|
|
151
151
|
prepend?: ((props: {}) => any) | undefined;
|
|
152
152
|
loading?: ((props: {}) => any) | undefined;
|
|
153
|
-
|
|
154
|
-
|
|
153
|
+
'no-data'?: ((props: {}) => any) | undefined;
|
|
154
|
+
'option:prepend'?: ((props: {
|
|
155
155
|
item: T;
|
|
156
156
|
}) => any) | undefined;
|
|
157
157
|
icon?: ((props: SlotAttributes & {
|
|
@@ -163,7 +163,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
163
163
|
text: string;
|
|
164
164
|
checked: boolean;
|
|
165
165
|
}) => any) | undefined;
|
|
166
|
-
|
|
166
|
+
'option:append'?: ((props: {
|
|
167
167
|
item: T;
|
|
168
168
|
}) => any) | undefined;
|
|
169
169
|
append?: ((props: {}) => any) | undefined;
|
|
@@ -174,8 +174,8 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
174
174
|
}> & {
|
|
175
175
|
prepend?: ((props: {}) => any) | undefined;
|
|
176
176
|
loading?: ((props: {}) => any) | undefined;
|
|
177
|
-
|
|
178
|
-
|
|
177
|
+
'no-data'?: ((props: {}) => any) | undefined;
|
|
178
|
+
'option:prepend'?: ((props: {
|
|
179
179
|
item: T;
|
|
180
180
|
}) => any) | undefined;
|
|
181
181
|
icon?: ((props: SlotAttributes & {
|
|
@@ -187,7 +187,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
187
187
|
text: string;
|
|
188
188
|
checked: boolean;
|
|
189
189
|
}) => any) | undefined;
|
|
190
|
-
|
|
190
|
+
'option:append'?: ((props: {
|
|
191
191
|
item: T;
|
|
192
192
|
}) => any) | undefined;
|
|
193
193
|
append?: ((props: {}) => any) | undefined;
|
|
@@ -239,8 +239,8 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
239
239
|
slots: Readonly<{
|
|
240
240
|
prepend?: ((props: {}) => any) | undefined;
|
|
241
241
|
loading?: ((props: {}) => any) | undefined;
|
|
242
|
-
|
|
243
|
-
|
|
242
|
+
'no-data'?: ((props: {}) => any) | undefined;
|
|
243
|
+
'option:prepend'?: ((props: {
|
|
244
244
|
item: T;
|
|
245
245
|
}) => any) | undefined;
|
|
246
246
|
icon?: ((props: SlotAttributes & {
|
|
@@ -252,7 +252,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
252
252
|
text: string;
|
|
253
253
|
checked: boolean;
|
|
254
254
|
}) => any) | undefined;
|
|
255
|
-
|
|
255
|
+
'option:append'?: ((props: {
|
|
256
256
|
item: T;
|
|
257
257
|
}) => any) | undefined;
|
|
258
258
|
append?: ((props: {}) => any) | undefined;
|
|
@@ -263,8 +263,8 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
263
263
|
}> & {
|
|
264
264
|
prepend?: ((props: {}) => any) | undefined;
|
|
265
265
|
loading?: ((props: {}) => any) | undefined;
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
'no-data'?: ((props: {}) => any) | undefined;
|
|
267
|
+
'option:prepend'?: ((props: {
|
|
268
268
|
item: T;
|
|
269
269
|
}) => any) | undefined;
|
|
270
270
|
icon?: ((props: SlotAttributes & {
|
|
@@ -276,7 +276,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
276
276
|
text: string;
|
|
277
277
|
checked: boolean;
|
|
278
278
|
}) => any) | undefined;
|
|
279
|
-
|
|
279
|
+
'option:append'?: ((props: {
|
|
280
280
|
item: T;
|
|
281
281
|
}) => any) | undefined;
|
|
282
282
|
append?: ((props: {}) => any) | undefined;
|
|
@@ -331,8 +331,8 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
331
331
|
slots: Readonly<{
|
|
332
332
|
prepend?: ((props: {}) => any) | undefined;
|
|
333
333
|
loading?: ((props: {}) => any) | undefined;
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
'no-data'?: ((props: {}) => any) | undefined;
|
|
335
|
+
'option:prepend'?: ((props: {
|
|
336
336
|
item: T;
|
|
337
337
|
}) => any) | undefined;
|
|
338
338
|
icon?: ((props: SlotAttributes & {
|
|
@@ -344,7 +344,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
344
344
|
text: string;
|
|
345
345
|
checked: boolean;
|
|
346
346
|
}) => any) | undefined;
|
|
347
|
-
|
|
347
|
+
'option:append'?: ((props: {
|
|
348
348
|
item: T;
|
|
349
349
|
}) => any) | undefined;
|
|
350
350
|
append?: ((props: {}) => any) | undefined;
|
|
@@ -355,8 +355,8 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
355
355
|
}> & {
|
|
356
356
|
prepend?: ((props: {}) => any) | undefined;
|
|
357
357
|
loading?: ((props: {}) => any) | undefined;
|
|
358
|
-
|
|
359
|
-
|
|
358
|
+
'no-data'?: ((props: {}) => any) | undefined;
|
|
359
|
+
'option:prepend'?: ((props: {
|
|
360
360
|
item: T;
|
|
361
361
|
}) => any) | undefined;
|
|
362
362
|
icon?: ((props: SlotAttributes & {
|
|
@@ -368,7 +368,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
368
368
|
text: string;
|
|
369
369
|
checked: boolean;
|
|
370
370
|
}) => any) | undefined;
|
|
371
|
-
|
|
371
|
+
'option:append'?: ((props: {
|
|
372
372
|
item: T;
|
|
373
373
|
}) => any) | undefined;
|
|
374
374
|
append?: ((props: {}) => any) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CommonProps } from '../../types/CommonProps';
|
|
2
|
-
export type BbChipProps = Pick<CommonProps,
|
|
2
|
+
export type BbChipProps = Pick<CommonProps, 'text'> & {
|
|
3
3
|
/**
|
|
4
4
|
* Renders a button with a close icon. Used to indicate the possibility of deleting the item.
|
|
5
5
|
*/
|
|
@@ -10,7 +10,7 @@ export type BbChipProps = Pick<CommonProps, "text"> & {
|
|
|
10
10
|
clearableLabel?: string;
|
|
11
11
|
};
|
|
12
12
|
export type BbChipEvents = {
|
|
13
|
-
(e:
|
|
13
|
+
(e: 'click:clear', event: MouseEvent): void;
|
|
14
14
|
};
|
|
15
15
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbChipProps>, {
|
|
16
16
|
clearable: boolean;
|