bitboss-ui 0.1.80 → 0.1.82
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 +5 -2
- package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +3 -0
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +10 -2
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +3 -0
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +3 -0
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +3 -0
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +3 -0
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +4 -1
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +4 -1
- package/dist/components/BaseRating/BaseRating.vue.d.ts +4 -1
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +16 -2
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +3 -0
- package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +3 -0
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +3 -0
- package/dist/components/BaseTag/BaseTag.vue.d.ts +4 -1
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +4 -1
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +2 -2
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +5 -2
- package/dist/components/BbAlert/BbAlert.vue.d.ts +3 -0
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +7 -58
- package/dist/components/BbBadge/BbBadge.vue.d.ts +4 -1
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +3 -0
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +3 -0
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +3 -0
- package/dist/components/BbChip/BbChip.vue.d.ts +7 -1
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +4 -1
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +3 -0
- package/dist/components/BbDialog/BbDialog.vue.d.ts +3 -0
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +15 -3
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +4 -1
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +6 -7
- package/dist/components/BbIcon/BbIcon.vue.d.ts +3 -0
- package/dist/components/BbIntersection/BbIntersection.vue.d.ts +4 -1
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +3 -0
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +3 -0
- package/dist/components/BbPagination/BbPagination.vue.d.ts +4 -1
- package/dist/components/BbPopover/BbPopover.vue.d.ts +14 -7
- package/dist/components/BbProgress/BbProgress.vue.d.ts +3 -0
- package/dist/components/BbRadio/BbRadio.vue.d.ts +3 -0
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +1 -6
- package/dist/components/BbRating/BbRating.vue.d.ts +3 -0
- package/dist/components/BbRatio/BbRatio.vue.d.ts +4 -1
- package/dist/components/BbSelect/BbSelect.vue.d.ts +14 -3
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +5 -2
- package/dist/components/BbSpinner/BbSpinner.vue.d.ts +3 -0
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +3 -0
- package/dist/components/BbTab/BbTab.vue.d.ts +4 -1
- package/dist/components/BbTable/BbTable.vue.d.ts +258 -295
- package/dist/components/BbTable/types.d.ts +214 -0
- package/dist/components/BbTag/BbTag.vue.d.ts +3 -0
- package/dist/components/BbToast/BbToast.vue.d.ts +3 -0
- package/dist/components/BbToast/BbToastMessage.vue.d.ts +3 -0
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +8 -7
- package/dist/components/BbTree/BbTree.vue.d.ts +9 -1
- package/dist/composables/useItemText.d.ts +6 -1
- package/dist/index.d.ts +1 -1
- package/dist/index10.js +2 -2
- package/dist/index10.js.map +1 -1
- package/dist/index100.js +2 -2
- package/dist/index102.js +4 -3
- package/dist/index102.js.map +1 -1
- package/dist/index106.js +1 -1
- package/dist/index108.js +85 -57
- package/dist/index108.js.map +1 -1
- package/dist/index110.js +77 -55
- package/dist/index110.js.map +1 -1
- package/dist/index112.js +5 -5
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +1 -1
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +1 -1
- package/dist/index115.js +1 -1
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +1 -1
- package/dist/index118.js +1 -1
- package/dist/index12.js +8 -8
- package/dist/index120.js +1 -1
- package/dist/index121.js +11 -11
- package/dist/index121.js.map +1 -1
- package/dist/index14.js +9 -9
- package/dist/index16.js +3 -3
- package/dist/index18.js +2 -2
- package/dist/index189.js +2 -2
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +2 -4
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +2 -2
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +3 -2
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +3 -2
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +4 -3
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +3 -35
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +35 -6
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +6 -350
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +5 -134
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +16 -5
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +1 -1
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +15 -18
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +19 -2
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +18 -184
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +29 -23
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +8 -331
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +2 -2
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +351 -2
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +131 -13
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +2 -16
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +184 -18
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +23 -29
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +369 -8
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +2 -3
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +2 -3
- package/dist/index213.js.map +1 -1
- package/dist/index216.js +73 -53
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +3 -3
- package/dist/index22.js +2 -2
- package/dist/index221.js +223 -10
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +252 -429
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +10 -8
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +428 -82
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +9 -8
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +88 -5
- package/dist/index226.js.map +1 -1
- package/dist/index235.js +2 -69
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +2 -162
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +2 -2
- package/dist/index238.js +2 -2
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +9 -2
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +6 -2
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +162 -2
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +2 -2
- package/dist/index243.js +2 -224
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +68 -257
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +2 -38
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +38 -2
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +2 -2
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +2 -2
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +2 -2
- package/dist/index250.js +2 -2
- package/dist/index251.js +2 -2
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +5 -0
- package/dist/index252.js.map +1 -0
- package/dist/index26.js +3 -3
- package/dist/index26.js.map +1 -1
- package/dist/index28.js +172 -155
- package/dist/index28.js.map +1 -1
- package/dist/index30.js +2 -2
- package/dist/index32.js +2 -2
- package/dist/index34.js +2 -2
- package/dist/index34.js.map +1 -1
- package/dist/index36.js +21 -19
- package/dist/index36.js.map +1 -1
- package/dist/index38.js.map +1 -1
- package/dist/index44.js +1 -1
- package/dist/index44.js.map +1 -1
- package/dist/index46.js +1 -1
- package/dist/index46.js.map +1 -1
- package/dist/index6.js.map +1 -1
- package/dist/index62.js +168 -137
- package/dist/index62.js.map +1 -1
- package/dist/index64.js +38 -30
- package/dist/index64.js.map +1 -1
- package/dist/index66.js.map +1 -1
- package/dist/index69.js +1 -1
- package/dist/index72.js +1 -1
- package/dist/index74.js.map +1 -1
- package/dist/index76.js +96 -66
- package/dist/index76.js.map +1 -1
- package/dist/index78.js +1 -1
- package/dist/index8.js +2 -2
- package/dist/index82.js +2 -2
- package/dist/index82.js.map +1 -1
- package/dist/index84.js.map +1 -1
- package/dist/index88.js +7 -4
- package/dist/index88.js.map +1 -1
- package/dist/index96.js +2 -2
- package/dist/index96.js.map +1 -1
- package/dist/index98.js +35 -30
- package/dist/index98.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/CommonProps.d.ts +15 -8
- package/package.json +1 -1
@@ -3,7 +3,7 @@ import type { InertiaLinkProps } from "@inertiajs/vue3";
|
|
3
3
|
import type { RouterLinkProps } from "vue-router";
|
4
4
|
export type BaseButtonProps = Pick<CommonProps, "block" | "disabled" | "text"> & NonVoidElementTag & Partial<Pick<RouterLinkProps, "activeClass" | "ariaCurrentValue" | "exactActiveClass" | "replace" | "to">> & Partial<Pick<InertiaLinkProps, "data" | "headers" | "method" | "onBefore" | "onCancel" | "onCancelToken" | "onFinish" | "only" | "onProgress" | "onStart" | "onSuccess" | "preserveScroll" | "preserveState" | "queryStringArrayFormat">> & Partial<{
|
5
5
|
/**
|
6
|
-
* Gets the classification and default behavior of the button
|
6
|
+
* Gets the classification and default behavior of the button.
|
7
7
|
*/
|
8
8
|
type: HTMLButtonElement["type"];
|
9
9
|
/**
|
@@ -25,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
25
25
|
type: string;
|
26
26
|
}>>>, {
|
27
27
|
type: "button" | "submit" | "reset";
|
28
|
-
tag: "
|
28
|
+
tag: "object" | "a" | "abbr" | "address" | "article" | "aside" | "audio" | "b" | "bdi" | "bdo" | "blockquote" | "body" | "button" | "canvas" | "caption" | "cite" | "code" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "html" | "i" | "iframe" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "menu" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "search" | "section" | "select" | "slot" | "small" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video";
|
29
29
|
}, {}>, Readonly<{
|
30
30
|
default?: ((props: {}) => any) | undefined;
|
31
31
|
}>>;
|
@@ -44,6 +44,9 @@ type __VLS_WithDefaults<P, D> = {
|
|
44
44
|
default: D[K];
|
45
45
|
}> : P[K];
|
46
46
|
};
|
47
|
+
type __VLS_Prettify<T> = {
|
48
|
+
[K in keyof T]: T[K];
|
49
|
+
} & {};
|
47
50
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
48
51
|
new (): {
|
49
52
|
$slots: S;
|
@@ -1,6 +1,11 @@
|
|
1
1
|
import { BaseCheckboxProps } from "../BaseCheckbox/BaseCheckbox.vue";
|
2
|
-
import type { CommonProps,
|
3
|
-
export type BaseCheckboxGroupProps = Pick<BaseCheckboxProps, "autofocus" | "color" | "disabled" | "id" | "name" | "readonly"> & Pick<CommonProps, "dependencies" | "depsDebounceTime" | "enforceCoherence" | "hasErrors" | "hideLabel" | "itemText" | "itemValue" | "loadingText" | "matchStrategy" | "modelValueDebounceTime" | "noDataText"> &
|
2
|
+
import type { CommonProps, OptionItems, GenericModelValueArray } from '../../types/CommonProps';
|
3
|
+
export type BaseCheckboxGroupProps = Pick<BaseCheckboxProps, "autofocus" | "color" | "disabled" | "id" | "name" | "readonly"> & Pick<CommonProps, "dependencies" | "depsDebounceTime" | "enforceCoherence" | "hasErrors" | "hideLabel" | "itemText" | "itemValue" | "loadingText" | "matchStrategy" | "modelValueDebounceTime" | "noDataText"> & Required<GenericModelValueArray> & OptionItems & {
|
4
|
+
/**
|
5
|
+
* Direction of the layout of the inputs inside the fieldset. It can be either `horizontal` or `vertical`
|
6
|
+
*/
|
7
|
+
direction?: "horizontal" | "vertical";
|
8
|
+
};
|
4
9
|
export type BaseCheckboxGroupEvents = {
|
5
10
|
(e: "blur", event: FocusEvent): void;
|
6
11
|
(e: "change", event: Event): void;
|
@@ -106,6 +111,9 @@ type __VLS_WithDefaults<P, D> = {
|
|
106
111
|
default: D[K];
|
107
112
|
}> : P[K];
|
108
113
|
};
|
114
|
+
type __VLS_Prettify<T> = {
|
115
|
+
[K in keyof T]: T[K];
|
116
|
+
} & {};
|
109
117
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
110
118
|
new (): {
|
111
119
|
$slots: S;
|
@@ -11,7 +11,7 @@ export type BaseNumberInputProps = Pick<CommonProps, "autocomplete" | "autofocus
|
|
11
11
|
/**
|
12
12
|
* Used by v-model
|
13
13
|
*/
|
14
|
-
modelValue
|
14
|
+
modelValue: number | string | null;
|
15
15
|
/**
|
16
16
|
* Incremental unit used in the exposed `increase`
|
17
17
|
* and `decrease` function. It's NOT APPLIED to manual input as a step of 5
|
@@ -87,6 +87,9 @@ type __VLS_WithDefaults<P, D> = {
|
|
87
87
|
default: D[K];
|
88
88
|
}> : P[K];
|
89
89
|
};
|
90
|
+
type __VLS_Prettify<T> = {
|
91
|
+
[K in keyof T]: T[K];
|
92
|
+
} & {};
|
90
93
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
91
94
|
new (): {
|
92
95
|
$slots: S;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { BaseRadioEvents } from "../BaseRadio/BaseRadio.vue";
|
2
2
|
import type { BaseRadioProps } from "../BaseRadio/BaseRadio.vue";
|
3
3
|
import type { CommonProps, GenericModelValue, OptionItems } from '../../types/CommonProps';
|
4
|
-
export type BaseRadioGroupProps = Pick<BaseRadioProps, "autofocus" | "color" | "disabled" | "hasErrors" | "id" | "name" | "readonly"> & Pick<CommonProps, "dependencies" | "depsDebounceTime" | "enforceCoherence" | "hideLabel" | "itemText" | "itemValue" | "loadingText" | "
|
4
|
+
export type BaseRadioGroupProps = Pick<BaseRadioProps, "autofocus" | "color" | "disabled" | "hasErrors" | "id" | "name" | "readonly"> & Pick<CommonProps, "dependencies" | "depsDebounceTime" | "enforceCoherence" | "hideLabel" | "itemText" | "itemValue" | "loadingText" | "matchStrategy" | "modelValueDebounceTime" | "noDataText"> & OptionItems & Required<GenericModelValue> & {
|
5
5
|
/**
|
6
6
|
* Direction of the layout of the inputs inside the fieldset. It can be either `horizontal` or `vertical`
|
7
7
|
*/
|
@@ -101,6 +101,9 @@ type __VLS_WithDefaults<P, D> = {
|
|
101
101
|
default: D[K];
|
102
102
|
}> : P[K];
|
103
103
|
};
|
104
|
+
type __VLS_Prettify<T> = {
|
105
|
+
[K in keyof T]: T[K];
|
106
|
+
} & {};
|
104
107
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
105
108
|
new (): {
|
106
109
|
$slots: S;
|
@@ -4,7 +4,7 @@ export type BaseRatingProps = Pick<CommonProps, "autofocus" | "color" | "disable
|
|
4
4
|
/**
|
5
5
|
* Used by v-model
|
6
6
|
*/
|
7
|
-
modelValue
|
7
|
+
modelValue: null | number;
|
8
8
|
/**
|
9
9
|
* Maximum number of stars to render and maximum value of the component
|
10
10
|
*/
|
@@ -80,6 +80,9 @@ type __VLS_WithDefaults<P, D> = {
|
|
80
80
|
default: D[K];
|
81
81
|
}> : P[K];
|
82
82
|
};
|
83
|
+
type __VLS_Prettify<T> = {
|
84
|
+
[K in keyof T]: T[K];
|
85
|
+
} & {};
|
83
86
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
84
87
|
new (): {
|
85
88
|
$slots: S;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { CommonProps, OptionItemsWithQuery, GenericModelValue } from '../../types/CommonProps';
|
2
|
-
export type BaseSelectProps = Pick<CommonProps, "allowWriting" | "autofocus" | "dependencies" | "depsDebounceTime" | "disabled" | "enforceCoherence" | "hasErrors" | "id" | "itemText" | "itemValue" | "loadingText" | "
|
2
|
+
export type BaseSelectProps = Pick<CommonProps, "allowWriting" | "autofocus" | "dependencies" | "depsDebounceTime" | "disabled" | "enforceCoherence" | "hasErrors" | "id" | "itemText" | "itemValue" | "loadingText" | "matchStrategy" | "modelValueDebounceTime" | "multiple" | "name" | "noDataText" | "placeholder" | "readonly" | "transitionDuration"> & OptionItemsWithQuery & Required<GenericModelValue> & {
|
3
3
|
/**
|
4
4
|
* Allows the user to add options to the list by
|
5
5
|
* inserting text in the input and pressing ENTER.
|
@@ -52,7 +52,7 @@ export type BaseSelectProps = Pick<CommonProps, "allowWriting" | "autofocus" | "
|
|
52
52
|
* Pass `true` if the dropdown is not updating following movement in the UI, like in modals. Very expensive so use with care.
|
53
53
|
*/
|
54
54
|
updateOnAnimationFrame?: boolean;
|
55
|
-
}
|
55
|
+
};
|
56
56
|
type BaseOption = {
|
57
57
|
id: string;
|
58
58
|
jsonValue: string;
|
@@ -91,6 +91,17 @@ export type BaseSelectSlots = {
|
|
91
91
|
"option:prepend"?: (props: {
|
92
92
|
item: any;
|
93
93
|
}) => any;
|
94
|
+
chip?: (props: {
|
95
|
+
disabled: FilteredOption["disabled"];
|
96
|
+
hasErrors?: boolean;
|
97
|
+
index: FilteredOption["index"];
|
98
|
+
item: FilteredOption["original"];
|
99
|
+
loading: boolean;
|
100
|
+
manual: FilteredOption["manual"];
|
101
|
+
selected: FilteredOption["selected"];
|
102
|
+
text: FilteredOption["text"];
|
103
|
+
value: FilteredOption["value"];
|
104
|
+
}) => any;
|
94
105
|
option?: (props: {
|
95
106
|
disabled: FilteredOption["disabled"];
|
96
107
|
focused: FilteredOption["focused"];
|
@@ -185,6 +196,9 @@ type __VLS_WithDefaults<P, D> = {
|
|
185
196
|
default: D[K];
|
186
197
|
}> : P[K];
|
187
198
|
};
|
199
|
+
type __VLS_Prettify<T> = {
|
200
|
+
[K in keyof T]: T[K];
|
201
|
+
} & {};
|
188
202
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
189
203
|
new (): {
|
190
204
|
$slots: S;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { CommonProps, GenericModelValue } from '../../types/CommonProps';
|
2
|
-
export type BaseTagProps = Pick<CommonProps, "autocomplete" | "autofocus" | "disabled" | "hasErrors" | "id" | "multiple" | "name" | "placeholder" | "readonly"> & GenericModelValue & {
|
2
|
+
export type BaseTagProps = Pick<CommonProps, "autocomplete" | "autofocus" | "disabled" | "hasErrors" | "id" | "multiple" | "name" | "placeholder" | "readonly"> & Required<GenericModelValue> & {
|
3
3
|
/**
|
4
4
|
* Sets the display model for selected values to a list
|
5
5
|
* of comma separated string. In this mode the user
|
@@ -76,6 +76,9 @@ type __VLS_WithDefaults<P, D> = {
|
|
76
76
|
default: D[K];
|
77
77
|
}> : P[K];
|
78
78
|
};
|
79
|
+
type __VLS_Prettify<T> = {
|
80
|
+
[K in keyof T]: T[K];
|
81
|
+
} & {};
|
79
82
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
80
83
|
new (): {
|
81
84
|
$slots: S;
|
@@ -3,7 +3,7 @@ export type BaseTextInputProps = Pick<CommonProps, 'autocomplete' | 'autofocus'
|
|
3
3
|
/**
|
4
4
|
* Used my v-model
|
5
5
|
*/
|
6
|
-
modelValue
|
6
|
+
modelValue: string | null;
|
7
7
|
/**
|
8
8
|
* Type of the input. Returns the content type of the object.
|
9
9
|
*/
|
@@ -68,6 +68,9 @@ type __VLS_WithDefaults<P, D> = {
|
|
68
68
|
default: D[K];
|
69
69
|
}> : P[K];
|
70
70
|
};
|
71
|
+
type __VLS_Prettify<T> = {
|
72
|
+
[K in keyof T]: T[K];
|
73
|
+
} & {};
|
71
74
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
72
75
|
new (): {
|
73
76
|
$slots: S;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { CommonProps } from '../../types/CommonProps';
|
2
|
-
export type BaseTextareaProps = Pick<CommonProps, "autofocus" | "disabled" | "hasErrors" | "id" | "name" | "placeholder" | "readonly"> & {
|
2
|
+
export type BaseTextareaProps = Pick<CommonProps, "autocomplete" | "autofocus" | "disabled" | "hasErrors" | "id" | "name" | "placeholder" | "readonly"> & {
|
3
3
|
/**
|
4
4
|
* Expands the textarea to match its content
|
5
5
|
*/
|
@@ -7,7 +7,7 @@ export type BaseTextareaProps = Pick<CommonProps, "autofocus" | "disabled" | "ha
|
|
7
7
|
/**
|
8
8
|
* Used by v-model
|
9
9
|
*/
|
10
|
-
modelValue
|
10
|
+
modelValue: string | null;
|
11
11
|
};
|
12
12
|
export type BaseTextareaEvents = {
|
13
13
|
(e: "blur", event: FocusEvent): void;
|
@@ -16,11 +16,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
16
16
|
transitionDuration: number;
|
17
17
|
}, {}>, Readonly<{
|
18
18
|
header?: ((props: {
|
19
|
-
value: boolean
|
19
|
+
value: boolean;
|
20
20
|
toggle: () => void;
|
21
21
|
}) => any) | undefined;
|
22
22
|
default?: ((props: {
|
23
|
-
value: boolean
|
23
|
+
value: boolean;
|
24
24
|
toggle: () => void;
|
25
25
|
}) => any) | undefined;
|
26
26
|
}>>;
|
@@ -39,6 +39,9 @@ type __VLS_WithDefaults<P, D> = {
|
|
39
39
|
default: D[K];
|
40
40
|
}> : P[K];
|
41
41
|
};
|
42
|
+
type __VLS_Prettify<T> = {
|
43
|
+
[K in keyof T]: T[K];
|
44
|
+
} & {};
|
42
45
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
43
46
|
new (): {
|
44
47
|
$slots: S;
|
@@ -1,19 +1,15 @@
|
|
1
1
|
import type { CommonProps } from '../../types/CommonProps';
|
2
|
-
import type {
|
3
|
-
export type BbAvatarProps = Pick<CommonProps, "color"> & {
|
4
|
-
/**
|
5
|
-
* Size of the avatar as a predefined string or as a number in pixels
|
6
|
-
*/
|
7
|
-
size?: Size;
|
2
|
+
import type { BbIconProps } from "../BbIcon/BbIcon.vue";
|
3
|
+
export type BbAvatarProps = Pick<CommonProps, "color"> & Pick<BbIconProps, "size"> & {
|
8
4
|
/**
|
9
5
|
* Attribute `sizes` for the `img` tag
|
10
6
|
*/
|
11
7
|
sizes?: HTMLImageElement["sizes"];
|
12
|
-
} & ({
|
13
8
|
/**
|
14
9
|
* Attribute `alt` for the `img` tag
|
15
10
|
*/
|
16
11
|
alt: HTMLImageElement["alt"];
|
12
|
+
} & ({
|
17
13
|
/**
|
18
14
|
* Attribute `src` for the `img` tag
|
19
15
|
*/
|
@@ -23,23 +19,6 @@ export type BbAvatarProps = Pick<CommonProps, "color"> & {
|
|
23
19
|
*/
|
24
20
|
srcset?: HTMLImageElement["srcset"];
|
25
21
|
} | {
|
26
|
-
/**
|
27
|
-
* Attribute `alt` for the `img` tag
|
28
|
-
*/
|
29
|
-
alt: HTMLImageElement["alt"];
|
30
|
-
/**
|
31
|
-
* Attribute `src` for the `img` tag
|
32
|
-
*/
|
33
|
-
src?: HTMLImageElement["src"];
|
34
|
-
/**
|
35
|
-
* Attribute `srcset` for the `img` tag
|
36
|
-
*/
|
37
|
-
srcset: HTMLImageElement["srcset"];
|
38
|
-
} | {
|
39
|
-
/**
|
40
|
-
* Attribute `alt` for the `img` tag
|
41
|
-
*/
|
42
|
-
alt?: HTMLImageElement["alt"];
|
43
22
|
/**
|
44
23
|
* Attribute `src` for the `img` tag
|
45
24
|
*/
|
@@ -49,20 +28,16 @@ export type BbAvatarProps = Pick<CommonProps, "color"> & {
|
|
49
28
|
*/
|
50
29
|
srcset: HTMLImageElement["srcset"];
|
51
30
|
});
|
52
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<BbAvatarProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Pick<CommonProps, "color"> & {
|
53
|
-
/**
|
54
|
-
* Size of the avatar as a predefined string or as a number in pixels
|
55
|
-
*/
|
56
|
-
size?: Size | undefined;
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<BbAvatarProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Pick<CommonProps, "color"> & Pick<BbIconProps, "size"> & {
|
57
32
|
/**
|
58
33
|
* Attribute `sizes` for the `img` tag
|
59
34
|
*/
|
60
35
|
sizes?: string | undefined;
|
61
|
-
} & {
|
62
36
|
/**
|
63
37
|
* Attribute `alt` for the `img` tag
|
64
38
|
*/
|
65
39
|
alt: string;
|
40
|
+
} & {
|
66
41
|
/**
|
67
42
|
* Attribute `src` for the `img` tag
|
68
43
|
*/
|
@@ -71,42 +46,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
71
46
|
* Attribute `srcset` for the `img` tag
|
72
47
|
*/
|
73
48
|
srcset?: string | undefined;
|
74
|
-
}>>> | Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Pick<CommonProps, "color"> & {
|
75
|
-
/**
|
76
|
-
* Size of the avatar as a predefined string or as a number in pixels
|
77
|
-
*/
|
78
|
-
size?: Size | undefined;
|
49
|
+
}>>> | Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Pick<CommonProps, "color"> & Pick<BbIconProps, "size"> & {
|
79
50
|
/**
|
80
51
|
* Attribute `sizes` for the `img` tag
|
81
52
|
*/
|
82
53
|
sizes?: string | undefined;
|
83
|
-
} & {
|
84
54
|
/**
|
85
55
|
* Attribute `alt` for the `img` tag
|
86
56
|
*/
|
87
57
|
alt: string;
|
88
|
-
/**
|
89
|
-
* Attribute `src` for the `img` tag
|
90
|
-
*/
|
91
|
-
src?: string | undefined;
|
92
|
-
/**
|
93
|
-
* Attribute `srcset` for the `img` tag
|
94
|
-
*/
|
95
|
-
srcset: string;
|
96
|
-
}>>> | Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Pick<CommonProps, "color"> & {
|
97
|
-
/**
|
98
|
-
* Size of the avatar as a predefined string or as a number in pixels
|
99
|
-
*/
|
100
|
-
size?: Size | undefined;
|
101
|
-
/**
|
102
|
-
* Attribute `sizes` for the `img` tag
|
103
|
-
*/
|
104
|
-
sizes?: string | undefined;
|
105
58
|
} & {
|
106
|
-
/**
|
107
|
-
* Attribute `alt` for the `img` tag
|
108
|
-
*/
|
109
|
-
alt?: string | undefined;
|
110
59
|
/**
|
111
60
|
* Attribute `src` for the `img` tag
|
112
61
|
*/
|
@@ -115,7 +64,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
115
64
|
* Attribute `srcset` for the `img` tag
|
116
65
|
*/
|
117
66
|
srcset: string;
|
118
|
-
}>>>, {} | {}
|
67
|
+
}>>>, {} | {}, {}>, Readonly<{
|
119
68
|
default?: ((props: {}) => any) | undefined;
|
120
69
|
}>>;
|
121
70
|
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { CommonProps } from '../../types/CommonProps';
|
2
|
-
export type BbBadgeProps = Pick<CommonProps,
|
2
|
+
export type BbBadgeProps = Pick<CommonProps, "color"> & {
|
3
3
|
/**
|
4
4
|
* Displays the badge on the bottom of the wrapped component.
|
5
5
|
*/
|
@@ -38,6 +38,9 @@ type __VLS_WithDefaults<P, D> = {
|
|
38
38
|
default: D[K];
|
39
39
|
}> : P[K];
|
40
40
|
};
|
41
|
+
type __VLS_Prettify<T> = {
|
42
|
+
[K in keyof T]: T[K];
|
43
|
+
} & {};
|
41
44
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
42
45
|
new (): {
|
43
46
|
$slots: S;
|
@@ -3,7 +3,7 @@ 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
|
*/
|
6
|
-
clearable?:
|
6
|
+
clearable?: boolean;
|
7
7
|
/**
|
8
8
|
* The label the clearing button must have
|
9
9
|
*/
|
@@ -13,14 +13,17 @@ export type BbChipEvents = {
|
|
13
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
|
+
clearable: boolean;
|
16
17
|
clearableLabel: string;
|
17
18
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
18
19
|
"click:clear": (...args: any[]) => void;
|
19
20
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbChipProps>, {
|
21
|
+
clearable: boolean;
|
20
22
|
clearableLabel: string;
|
21
23
|
}>>> & {
|
22
24
|
"onClick:clear"?: ((...args: any[]) => any) | undefined;
|
23
25
|
}, {
|
26
|
+
clearable: boolean;
|
24
27
|
clearableLabel: string;
|
25
28
|
}, {}>, Readonly<{
|
26
29
|
default?: ((props: {}) => any) | undefined;
|
@@ -40,6 +43,9 @@ type __VLS_WithDefaults<P, D> = {
|
|
40
43
|
default: D[K];
|
41
44
|
}> : P[K];
|
42
45
|
};
|
46
|
+
type __VLS_Prettify<T> = {
|
47
|
+
[K in keyof T]: T[K];
|
48
|
+
} & {};
|
43
49
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
44
50
|
new (): {
|
45
51
|
$slots: S;
|
@@ -3,7 +3,7 @@ export type BbCollapsibleProps = Pick<CommonProps, 'eager' | 'transitionDuration
|
|
3
3
|
/**
|
4
4
|
* Used by v-model to trigger opening / closing the collapsible
|
5
5
|
*/
|
6
|
-
modelValue
|
6
|
+
modelValue: boolean;
|
7
7
|
};
|
8
8
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbCollapsibleProps>, {
|
9
9
|
transitionDuration: number;
|
@@ -29,6 +29,9 @@ type __VLS_WithDefaults<P, D> = {
|
|
29
29
|
default: D[K];
|
30
30
|
}> : P[K];
|
31
31
|
};
|
32
|
+
type __VLS_Prettify<T> = {
|
33
|
+
[K in keyof T]: T[K];
|
34
|
+
} & {};
|
32
35
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
33
36
|
new (): {
|
34
37
|
$slots: S;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { BaseButtonProps } from "../BaseButton/BaseButton.vue";
|
2
2
|
import type { CommonProps } from '../../types/CommonProps';
|
3
|
-
export type BbDropdownProps = Pick<CommonProps, "block" | "disabled" | "id" | "placement" | "theme" | "transitionDuration"> & {
|
3
|
+
export type BbDropdownProps = Pick<CommonProps, "arrowPadding" | "block" | "disabled" | "eager" | "id" | "offset" | "padding" | "placement" | "theme" | "transitionDuration"> & {
|
4
4
|
/**
|
5
5
|
* Array used to render each dropdown button.
|
6
6
|
* They can act as `button`, as `a`, or as `router-link`
|
@@ -34,16 +34,25 @@ export type MappedItem = Item & {
|
|
34
34
|
onKeydown: (event: KeyboardEvent) => void;
|
35
35
|
};
|
36
36
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbDropdownProps>, {
|
37
|
+
arrowPadding: number;
|
37
38
|
placement: string;
|
38
|
-
transitionDuration: number;
|
39
39
|
theme: string;
|
40
|
+
transitionDuration: number;
|
40
41
|
width: number;
|
42
|
+
padding: number;
|
43
|
+
offset: number;
|
41
44
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbDropdownProps>, {
|
45
|
+
arrowPadding: number;
|
42
46
|
placement: string;
|
43
|
-
transitionDuration: number;
|
44
47
|
theme: string;
|
48
|
+
transitionDuration: number;
|
45
49
|
width: number;
|
50
|
+
padding: number;
|
51
|
+
offset: number;
|
46
52
|
}>>>, {
|
53
|
+
arrowPadding: number;
|
54
|
+
offset: number;
|
55
|
+
padding: number;
|
47
56
|
placement: "left" | "right" | "top" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
48
57
|
theme: string;
|
49
58
|
transitionDuration: number;
|
@@ -142,6 +151,9 @@ type __VLS_WithDefaults<P, D> = {
|
|
142
151
|
default: D[K];
|
143
152
|
}> : P[K];
|
144
153
|
};
|
154
|
+
type __VLS_Prettify<T> = {
|
155
|
+
[K in keyof T]: T[K];
|
156
|
+
} & {};
|
145
157
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
146
158
|
new (): {
|
147
159
|
$slots: S;
|