bitboss-ui 2.1.33 → 2.1.35
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/BaseColorInput/BaseColorInput.vue.d.ts +7 -6
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +7 -6
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +3 -2
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +3 -2
- package/dist/components/BaseTag/BaseTag.vue.d.ts +11 -10
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +3 -2
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +3 -2
- package/dist/components/BbButton/BbButton.vue.d.ts +5 -5
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +3 -2
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +3 -2
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +3 -2
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +3 -2
- package/dist/components/BbIcon/BbIcon.vue.d.ts +4 -3
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +7 -6
- package/dist/components/BbRating/BbRating.vue.d.ts +8 -0
- package/dist/components/BbSelect/BbSelect.vue.d.ts +3 -2
- package/dist/components/BbTag/BbTag.vue.d.ts +3 -2
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +3 -2
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +3 -2
- package/dist/components/CommonInputInnerContainer.vue.d.ts +3 -2
- package/dist/composables/useToast.d.ts +4 -3
- package/dist/index.css +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index102.js +7 -5
- package/dist/index106.js +7 -7
- package/dist/index111.js +1 -1
- package/dist/index113.js +1 -1
- package/dist/index121.js +11 -11
- package/dist/index129.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index131.js +6 -6
- package/dist/index133.js +1 -1
- package/dist/index135.js +2 -2
- package/dist/index139.js +1 -1
- package/dist/index141.js +1 -1
- package/dist/index142.js +2 -2
- package/dist/index15.js +5 -5
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index21.js +16 -16
- package/dist/index213.js +2 -2
- package/dist/index214.js +2 -2
- package/dist/index215.js +5 -13
- package/dist/index216.js +5 -13
- package/dist/index217.js +5 -13
- package/dist/index218.js +5 -3
- package/dist/index219.js +5 -86
- package/dist/index220.js +7 -0
- package/dist/index221.js +5 -29
- package/dist/index222.js +3 -17
- package/dist/index223.js +2 -51
- package/dist/index224.js +8 -15
- package/dist/index225.js +250 -3
- package/dist/index226.js +52 -12
- package/dist/index227.js +44 -16
- package/dist/index228.js +5 -2
- package/dist/index229.js +60 -2
- package/dist/index23.js +12 -12
- package/dist/index230.js +13 -6
- package/dist/index231.js +85 -15
- package/dist/index233.js +28 -2
- package/dist/index234.js +16 -8
- package/dist/index235.js +49 -119
- package/dist/index236.js +17 -0
- package/dist/index237.js +12 -23
- package/dist/index238.js +16 -4
- package/dist/index239.js +33 -22
- package/dist/index240.js +4 -5
- package/dist/index241.js +20 -5
- package/dist/index242.js +197 -5
- package/dist/index244.js +121 -5
- package/dist/index246.js +2 -5
- package/dist/index247.js +4 -2
- package/dist/index248.js +182 -7
- package/dist/index249.js +12 -249
- package/dist/index25.js +3 -3
- package/dist/index250.js +13 -52
- package/dist/index251.js +2 -44
- package/dist/index252.js +2 -5
- package/dist/index253.js +7 -60
- package/dist/index254.js +7 -106
- package/dist/index255.js +9 -0
- package/dist/index256.js +53 -47
- package/dist/index258.js +100 -2
- package/dist/index260.js +2 -5
- package/dist/index261.js +3 -2
- package/dist/index262.js +2 -20
- package/dist/index263.js +2 -2
- package/dist/index264.js +5 -7
- package/dist/index265.js +18 -7
- package/dist/index266.js +12 -34
- package/dist/index267.js +229 -2
- package/dist/index268.js +9 -17
- package/dist/index269.js +2 -11
- package/dist/index27.js +1 -1
- package/dist/index270.js +8 -228
- package/dist/index271.js +23 -3
- package/dist/index272.js +3 -3
- package/dist/index273.js +20 -194
- package/dist/index274.js +8 -0
- package/dist/index275.js +15 -182
- package/dist/index276.js +3 -7
- package/dist/index278.js +1 -1
- package/dist/index280.js +2 -33
- package/dist/index281.js +65 -26
- package/dist/index282.js +7 -0
- package/dist/index283.js +33 -2
- package/dist/index284.js +28 -5
- package/dist/index286.js +5 -7
- package/dist/index287.js +7 -10
- package/dist/index288.js +280 -5
- package/dist/index289.js +2 -3
- package/dist/index29.js +3 -3
- package/dist/index290.js +16 -17
- package/dist/index291.js +2 -28
- package/dist/index292.js +16 -718
- package/dist/index293.js +2 -366
- package/dist/index294.js +17 -56
- package/dist/index295.js +2 -3
- package/dist/index296.js +13 -278
- package/dist/index297.js +2 -2
- package/dist/index298.js +14 -11
- package/dist/index300.js +23 -12
- package/dist/index302.js +2 -19
- package/dist/index303.js +2 -2
- package/dist/index304.js +2 -15
- package/dist/index305.js +2 -2
- package/dist/index306.js +27 -18
- package/dist/index307.js +22 -2
- package/dist/index309.js +7 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +11 -2
- package/dist/index311.js +3 -2
- package/dist/index312.js +17 -2
- package/dist/index313.js +1 -1
- package/dist/index314.js +4 -22
- package/dist/index315.js +8 -0
- package/dist/index316.js +1 -1
- package/dist/index317.js +1 -1
- package/dist/index318.js +3 -5
- package/dist/index319.js +3 -4
- package/dist/index320.js +3 -125
- package/dist/index321.js +5 -2
- package/dist/index322.js +125 -2
- package/dist/index323.js +4 -0
- package/dist/index324.js +2 -3
- package/dist/index325.js +718 -5
- package/dist/index326.js +366 -8
- package/dist/index327.js +58 -2
- package/dist/index328.js +4 -4
- package/dist/index329.js +2 -3
- package/dist/index33.js +8 -8
- package/dist/index331.js +3 -93
- package/dist/index332.js +6 -34
- package/dist/index333.js +19 -6
- package/dist/index334.js +6 -128
- package/dist/index335.js +30 -364
- package/dist/index336.js +6 -58
- package/dist/index337.js +128 -57
- package/dist/index338.js +369 -2
- package/dist/index339.js +46 -6
- package/dist/index340.js +7 -6
- package/dist/index341.js +5 -18
- package/dist/index342.js +8 -47
- package/dist/index343.js +227 -7
- package/dist/index344.js +58 -6
- package/dist/index345.js +57 -7
- package/dist/index346.js +86 -221
- package/dist/index348.js +473 -421
- package/dist/index349.js +422 -113
- package/dist/index35.js +4 -4
- package/dist/index350.js +123 -484
- package/dist/index37.js +57 -59
- package/dist/index39.js +7 -7
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +60 -62
- package/dist/index49.js +1 -1
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +6 -6
- package/dist/index67.js +1 -1
- package/dist/index79.js +6 -6
- package/dist/index81.js +1 -1
- package/dist/index83.js +2 -2
- package/dist/index85.js +3 -3
- package/dist/index87.js +1 -1
- package/dist/index90.js +3 -3
- package/dist/index92.js +1 -1
- package/dist/index94.js +5 -5
- package/dist/index96.js +1 -1
- package/dist/types/Icon.d.ts +9 -0
- package/package.json +2 -2
- package/dist/index232.js +0 -12
- package/dist/index243.js +0 -7
- package/dist/index245.js +0 -7
- package/dist/index259.js +0 -6
- package/dist/index285.js +0 -69
- package/dist/index308.js +0 -29
- package/dist/index330.js +0 -6
@@ -1,9 +1,10 @@
|
|
1
1
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
2
|
+
import { IconType } from '../../types/Icon';
|
2
3
|
export type BaseColorInputProps = {
|
3
4
|
/**
|
4
5
|
* Name of the icon to be added at the end of the input.
|
5
6
|
*/
|
6
|
-
'append:icon'?:
|
7
|
+
'append:icon'?: IconType;
|
7
8
|
/**
|
8
9
|
* Guides to the browser as to the type of information expected in the field.
|
9
10
|
*/
|
@@ -56,7 +57,7 @@ export type BaseColorInputProps = {
|
|
56
57
|
/**
|
57
58
|
* Name of the icon to be added at the start of the input.
|
58
59
|
*/
|
59
|
-
'prepend:icon'?:
|
60
|
+
'prepend:icon'?: IconType;
|
60
61
|
/**
|
61
62
|
* Sets the input in a readonly state.
|
62
63
|
*/
|
@@ -142,9 +143,9 @@ declare function __VLS_template(): {
|
|
142
143
|
$: import('vue').ComponentInternalInstance;
|
143
144
|
$data: {};
|
144
145
|
$props: {
|
145
|
-
readonly 'append:icon'?:
|
146
|
+
readonly 'append:icon'?: IconType | undefined;
|
146
147
|
readonly clearable?: boolean | undefined;
|
147
|
-
readonly 'prepend:icon'?:
|
148
|
+
readonly 'prepend:icon'?: IconType | undefined;
|
148
149
|
readonly preventFocus?: boolean | undefined;
|
149
150
|
readonly "onClick:clear"?: (() => any) | undefined;
|
150
151
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
@@ -285,9 +286,9 @@ declare const __VLS_component: import('vue').DefineComponent<BaseColorInputProps
|
|
285
286
|
$: import('vue').ComponentInternalInstance;
|
286
287
|
$data: {};
|
287
288
|
$props: {
|
288
|
-
readonly 'append:icon'?:
|
289
|
+
readonly 'append:icon'?: IconType | undefined;
|
289
290
|
readonly clearable?: boolean | undefined;
|
290
|
-
readonly 'prepend:icon'?:
|
291
|
+
readonly 'prepend:icon'?: IconType | undefined;
|
291
292
|
readonly preventFocus?: boolean | undefined;
|
292
293
|
readonly "onClick:clear"?: (() => any) | undefined;
|
293
294
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { default as it } from 'dayjs/locale/it';
|
2
2
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
3
|
+
import { IconType } from '../../types/Icon';
|
3
4
|
export type BaseDatePickerInputProps = {
|
4
5
|
/**
|
5
6
|
* Allows typing into the input.
|
@@ -8,7 +9,7 @@ export type BaseDatePickerInputProps = {
|
|
8
9
|
/**
|
9
10
|
* Name of the icon to be added at the end of the input.
|
10
11
|
*/
|
11
|
-
'append:icon'?:
|
12
|
+
'append:icon'?: IconType;
|
12
13
|
/**
|
13
14
|
* Guides to the browser as to the type of information expected in the field.
|
14
15
|
*/
|
@@ -69,7 +70,7 @@ export type BaseDatePickerInputProps = {
|
|
69
70
|
/**
|
70
71
|
* Name of the icon to be added at the start of the input.
|
71
72
|
*/
|
72
|
-
'prepend:icon'?:
|
73
|
+
'prepend:icon'?: IconType;
|
73
74
|
/**
|
74
75
|
* Selects a range of dates between two dates. It selects all of the days between start and end
|
75
76
|
*/
|
@@ -166,9 +167,9 @@ declare function __VLS_template(): {
|
|
166
167
|
$: import('vue').ComponentInternalInstance;
|
167
168
|
$data: {};
|
168
169
|
$props: {
|
169
|
-
readonly 'append:icon'?:
|
170
|
+
readonly 'append:icon'?: IconType | undefined;
|
170
171
|
readonly clearable?: boolean | undefined;
|
171
|
-
readonly 'prepend:icon'?:
|
172
|
+
readonly 'prepend:icon'?: IconType | undefined;
|
172
173
|
readonly preventFocus?: boolean | undefined;
|
173
174
|
readonly "onClick:clear"?: (() => any) | undefined;
|
174
175
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
@@ -362,9 +363,9 @@ declare const __VLS_component: import('vue').DefineComponent<BaseDatePickerInput
|
|
362
363
|
$: import('vue').ComponentInternalInstance;
|
363
364
|
$data: {};
|
364
365
|
$props: {
|
365
|
-
readonly 'append:icon'?:
|
366
|
+
readonly 'append:icon'?: IconType | undefined;
|
366
367
|
readonly clearable?: boolean | undefined;
|
367
|
-
readonly 'prepend:icon'?:
|
368
|
+
readonly 'prepend:icon'?: IconType | undefined;
|
368
369
|
readonly preventFocus?: boolean | undefined;
|
369
370
|
readonly "onClick:clear"?: (() => any) | undefined;
|
370
371
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
2
|
+
import { IconType } from '../../types/Icon';
|
2
3
|
export type BaseNumberInputProps = {
|
3
4
|
/**
|
4
5
|
* Name of the icon to be added at the end of the input.
|
5
6
|
*/
|
6
|
-
'append:icon'?:
|
7
|
+
'append:icon'?: IconType;
|
7
8
|
/**
|
8
9
|
* Guides to the browser as to the type of information expected in the field.
|
9
10
|
*/
|
@@ -68,7 +69,7 @@ export type BaseNumberInputProps = {
|
|
68
69
|
/**
|
69
70
|
* Name of the icon to be added at the start of the input.
|
70
71
|
*/
|
71
|
-
'prepend:icon'?:
|
72
|
+
'prepend:icon'?: IconType;
|
72
73
|
/**
|
73
74
|
* Sets the input in a readonly state.
|
74
75
|
*/
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { IconType } from '../../types/Icon';
|
1
2
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
2
3
|
export type BaseSelectProps<Item> = {
|
3
4
|
/**
|
@@ -7,7 +8,7 @@ export type BaseSelectProps<Item> = {
|
|
7
8
|
/**
|
8
9
|
* Name of the icon to be added at the end of the input.
|
9
10
|
*/
|
10
|
-
'append:icon'?:
|
11
|
+
'append:icon'?: IconType;
|
11
12
|
/**
|
12
13
|
* Guides to the browser as to the type of information expected in the field.
|
13
14
|
*/
|
@@ -133,7 +134,7 @@ export type BaseSelectProps<Item> = {
|
|
133
134
|
/**
|
134
135
|
* Name of the icon to be added at the start of the input.
|
135
136
|
*/
|
136
|
-
'prepend:icon'?:
|
137
|
+
'prepend:icon'?: IconType;
|
137
138
|
/**
|
138
139
|
* Time to wait when the users stops writing in the input before querying data.
|
139
140
|
* Especially useful when searching live data on big datasets.
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { nextTick, InputHTMLAttributes, HTMLAttributes } from 'vue';
|
2
2
|
import { Option as BaseOption } from '../../types/Option';
|
3
|
+
import { IconType } from '../../types/Icon';
|
3
4
|
export type BaseTagProps = {
|
4
5
|
/**
|
5
6
|
* Name of the icon to be added at the end of the input.
|
6
7
|
*/
|
7
|
-
'append:icon'?:
|
8
|
+
'append:icon'?: IconType;
|
8
9
|
/**
|
9
10
|
* Guides to the browser as to the type of information expected in the field.
|
10
11
|
*/
|
@@ -75,7 +76,7 @@ export type BaseTagProps = {
|
|
75
76
|
/**
|
76
77
|
* Name of the icon to be added at the start of the input.
|
77
78
|
*/
|
78
|
-
'prepend:icon'?:
|
79
|
+
'prepend:icon'?: IconType;
|
79
80
|
/**
|
80
81
|
* Sets the input in a readonly state.
|
81
82
|
*/
|
@@ -158,9 +159,9 @@ declare function __VLS_template(): {
|
|
158
159
|
$: import('vue').ComponentInternalInstance;
|
159
160
|
$data: {};
|
160
161
|
$props: {
|
161
|
-
readonly 'append:icon'?:
|
162
|
+
readonly 'append:icon'?: IconType | undefined;
|
162
163
|
readonly clearable?: boolean | undefined;
|
163
|
-
readonly 'prepend:icon'?:
|
164
|
+
readonly 'prepend:icon'?: IconType | undefined;
|
164
165
|
readonly preventFocus?: boolean | undefined;
|
165
166
|
readonly "onClick:clear"?: (() => any) | undefined;
|
166
167
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
@@ -180,7 +181,7 @@ declare function __VLS_template(): {
|
|
180
181
|
$host: Element | null;
|
181
182
|
$emit: (event: "click:clear") => void;
|
182
183
|
$el: HTMLSpanElement;
|
183
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('
|
184
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
184
185
|
"onClick:clear"?: (() => any) | undefined;
|
185
186
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
186
187
|
"click:clear": () => any;
|
@@ -204,7 +205,7 @@ declare function __VLS_template(): {
|
|
204
205
|
$forceUpdate: () => void;
|
205
206
|
$nextTick: typeof nextTick;
|
206
207
|
$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;
|
207
|
-
} & Readonly<{}> & Omit<Readonly<import('
|
208
|
+
} & Readonly<{}> & Omit<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
208
209
|
"onClick:clear"?: (() => any) | undefined;
|
209
210
|
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
210
211
|
$slots: {
|
@@ -360,9 +361,9 @@ declare const __VLS_component: import('vue').DefineComponent<BaseTagProps, {}, {
|
|
360
361
|
$: import('vue').ComponentInternalInstance;
|
361
362
|
$data: {};
|
362
363
|
$props: {
|
363
|
-
readonly 'append:icon'?:
|
364
|
+
readonly 'append:icon'?: IconType | undefined;
|
364
365
|
readonly clearable?: boolean | undefined;
|
365
|
-
readonly 'prepend:icon'?:
|
366
|
+
readonly 'prepend:icon'?: IconType | undefined;
|
366
367
|
readonly preventFocus?: boolean | undefined;
|
367
368
|
readonly "onClick:clear"?: (() => any) | undefined;
|
368
369
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
@@ -382,7 +383,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseTagProps, {}, {
|
|
382
383
|
$host: Element | null;
|
383
384
|
$emit: (event: "click:clear") => void;
|
384
385
|
$el: HTMLSpanElement;
|
385
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('
|
386
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
386
387
|
"onClick:clear"?: (() => any) | undefined;
|
387
388
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
388
389
|
"click:clear": () => any;
|
@@ -406,7 +407,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseTagProps, {}, {
|
|
406
407
|
$forceUpdate: () => void;
|
407
408
|
$nextTick: typeof nextTick;
|
408
409
|
$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;
|
409
|
-
} & Readonly<{}> & Omit<Readonly<import('
|
410
|
+
} & Readonly<{}> & Omit<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
410
411
|
"onClick:clear"?: (() => any) | undefined;
|
411
412
|
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
412
413
|
$slots: {
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
2
2
|
import { MaskInputOptions } from 'maska';
|
3
|
+
import { IconType } from '../../types/Icon';
|
3
4
|
export type BaseTextInputProps = {
|
4
5
|
/**
|
5
6
|
* Name of the icon to be added at the end of the input.
|
6
7
|
*/
|
7
|
-
'append:icon'?:
|
8
|
+
'append:icon'?: IconType;
|
8
9
|
/**
|
9
10
|
* Guides to the browser as to the type of information expected in the field.
|
10
11
|
*/
|
@@ -69,7 +70,7 @@ export type BaseTextInputProps = {
|
|
69
70
|
/**
|
70
71
|
* Name of the icon to be added at the start of the input.
|
71
72
|
*/
|
72
|
-
'prepend:icon'?:
|
73
|
+
'prepend:icon'?: IconType;
|
73
74
|
/**
|
74
75
|
* Sets the input in a readonly state.
|
75
76
|
*/
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
2
|
+
import { IconType } from '../../types/Icon';
|
2
3
|
export type BaseTextareaProps = {
|
3
4
|
/**
|
4
5
|
* Name of the icon to be added at the end of the input.
|
5
6
|
*/
|
6
|
-
'append:icon'?:
|
7
|
+
'append:icon'?: IconType;
|
7
8
|
/**
|
8
9
|
* Guides to the browser as to the type of information expected in the field.
|
9
10
|
*/
|
@@ -60,7 +61,7 @@ export type BaseTextareaProps = {
|
|
60
61
|
/**
|
61
62
|
* Name of the icon to be added at the start of the input.
|
62
63
|
*/
|
63
|
-
'prepend:icon'?:
|
64
|
+
'prepend:icon'?: IconType;
|
64
65
|
/**
|
65
66
|
* Sets the input in a readonly state.
|
66
67
|
*/
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { RouteLocationRaw } from 'vue-router';
|
2
|
+
import { IconType } from '../../types/Icon';
|
2
3
|
type Sizes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
3
4
|
export type BbButtonProps = {
|
4
5
|
/**
|
@@ -18,7 +19,7 @@ export type BbButtonProps = {
|
|
18
19
|
/**
|
19
20
|
* Icon to be added on the right of the text
|
20
21
|
*/
|
21
|
-
'append:icon'?:
|
22
|
+
'append:icon'?: IconType;
|
22
23
|
/**
|
23
24
|
* Displays the component as full width.
|
24
25
|
*/
|
@@ -31,7 +32,7 @@ export type BbButtonProps = {
|
|
31
32
|
/**
|
32
33
|
* Disables the click handler while the component is loading.
|
33
34
|
*/
|
34
|
-
|
35
|
+
enabledWhileLoading?: boolean;
|
35
36
|
/**
|
36
37
|
* Class to apply when the link is exact active
|
37
38
|
*/
|
@@ -50,7 +51,7 @@ export type BbButtonProps = {
|
|
50
51
|
/**
|
51
52
|
* Used when only an icon with no text should be displayed
|
52
53
|
*/
|
53
|
-
icon?:
|
54
|
+
icon?: IconType;
|
54
55
|
/**
|
55
56
|
* Triggers a loading indicator
|
56
57
|
*/
|
@@ -69,7 +70,7 @@ export type BbButtonProps = {
|
|
69
70
|
/**
|
70
71
|
* Icon to be added on the left of the text
|
71
72
|
*/
|
72
|
-
'prepend:icon'?:
|
73
|
+
'prepend:icon'?: IconType;
|
73
74
|
preserveScroll?: boolean | ((props: {
|
74
75
|
[key: string]: unknown;
|
75
76
|
}) => boolean);
|
@@ -120,7 +121,6 @@ declare function __VLS_template(): {
|
|
120
121
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
121
122
|
declare const __VLS_component: import('vue').DefineComponent<BbButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BbButtonProps> & Readonly<{}>, {
|
122
123
|
size: Sizes | Partial<Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "default", Sizes>>;
|
123
|
-
disabledWhileLoading: boolean;
|
124
124
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
125
125
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
126
126
|
export default _default;
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { BaseColorInputEvents, BaseColorInputSlots } from '../BaseColorInput/BaseColorInput.vue';
|
2
2
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
3
|
+
import { IconType } from '../../types/Icon';
|
3
4
|
export type BbColorInputProps = {
|
4
5
|
/**
|
5
6
|
* Name of the icon to be added at the end of the input.
|
6
7
|
*/
|
7
|
-
'append:icon'?:
|
8
|
+
'append:icon'?: IconType;
|
8
9
|
/**
|
9
10
|
* Guides to the browser as to the type of information expected in the field.
|
10
11
|
*/
|
@@ -81,7 +82,7 @@ export type BbColorInputProps = {
|
|
81
82
|
/**
|
82
83
|
* Name of the icon to be added at the start of the input.
|
83
84
|
*/
|
84
|
-
'prepend:icon'?:
|
85
|
+
'prepend:icon'?: IconType;
|
85
86
|
/**
|
86
87
|
* Sets the input in a readonly state.
|
87
88
|
*/
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { BaseDatePickerInputEvents } from '../BaseDatePickerInput/BaseDatePickerInput.vue';
|
2
2
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
3
3
|
import { Locale } from 'dayjs/locale/it';
|
4
|
+
import { IconType } from '../../types/Icon';
|
4
5
|
export type BbDatePickerInputProps = {
|
5
6
|
/**
|
6
7
|
* Allows typing into the input.
|
@@ -9,7 +10,7 @@ export type BbDatePickerInputProps = {
|
|
9
10
|
/**
|
10
11
|
* Name of the icon to be added at the end of the input.
|
11
12
|
*/
|
12
|
-
'append:icon'?:
|
13
|
+
'append:icon'?: IconType;
|
13
14
|
/**
|
14
15
|
* Guides to the browser as to the type of information expected in the field.
|
15
16
|
*/
|
@@ -98,7 +99,7 @@ export type BbDatePickerInputProps = {
|
|
98
99
|
/**
|
99
100
|
* Name of the icon to be added at the start of the input.
|
100
101
|
*/
|
101
|
-
'prepend:icon'?:
|
102
|
+
'prepend:icon'?: IconType;
|
102
103
|
/**
|
103
104
|
* Selects a range of dates between two dates. It selects all of the days between start and end
|
104
105
|
*/
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { BaseButtonProps } from '../BaseButton/BaseButton.vue';
|
2
2
|
import { CommonProps } from '../../types/CommonProps';
|
3
|
+
import { IconType } from '../../types/Icon';
|
3
4
|
export type BbDropdownProps = Pick<CommonProps, 'arrowPadding' | 'disabled' | 'eager' | 'id' | 'offset' | 'padding' | 'placement' | 'transitionDuration'> & {
|
4
5
|
/**
|
5
6
|
* Array used to render each dropdown button.
|
@@ -30,11 +31,11 @@ export type Item = Omit<BaseButtonProps, 'block' | 'tag' | 'type'> & {
|
|
30
31
|
/**
|
31
32
|
* Icon to be displayed before the text.
|
32
33
|
*/
|
33
|
-
'prepend:icon'?:
|
34
|
+
'prepend:icon'?: IconType;
|
34
35
|
/**
|
35
36
|
* Icon to be displayed after the text.
|
36
37
|
*/
|
37
|
-
'append:icon'?:
|
38
|
+
'append:icon'?: IconType;
|
38
39
|
};
|
39
40
|
export type MappedItem = Item & {
|
40
41
|
/**
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { BbDropdownProps, MappedItem } from '../BbDropdown/BbDropdown.vue';
|
2
|
+
import { IconType } from '../../types/Icon';
|
2
3
|
export type BbDropdownButtonProps = Pick<BbDropdownProps, 'arrowPadding' | 'disabled' | 'eager' | 'id' | 'items' | 'offset' | 'padding' | 'placement' | 'theme' | 'transitionDuration' | 'width'> & {
|
3
4
|
/**
|
4
5
|
* Tracks tha loading status internally.
|
@@ -7,7 +8,7 @@ export type BbDropdownButtonProps = Pick<BbDropdownProps, 'arrowPadding' | 'disa
|
|
7
8
|
/**
|
8
9
|
* Icon to be added on the right of the text
|
9
10
|
*/
|
10
|
-
'append:icon'?:
|
11
|
+
'append:icon'?: IconType;
|
11
12
|
/**
|
12
13
|
* Displays the component as full width.
|
13
14
|
*/
|
@@ -23,7 +24,7 @@ export type BbDropdownButtonProps = Pick<BbDropdownProps, 'arrowPadding' | 'disa
|
|
23
24
|
/**
|
24
25
|
* Icon to be added on the right of the text
|
25
26
|
*/
|
26
|
-
'prepend:icon'?:
|
27
|
+
'prepend:icon'?: IconType;
|
27
28
|
/**
|
28
29
|
* Sets the size of the button. When the value is a string, it will be applied to all screen sizes.
|
29
30
|
* Otherwise, it will be applied to the screen size specified by the object.
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { Size as S } from '../../types/CommonProps';
|
2
|
+
import { IconType } from '../../types/Icon';
|
2
3
|
export type Size = {
|
3
4
|
xs: number;
|
4
5
|
sm: number;
|
@@ -7,7 +8,7 @@ export type Size = {
|
|
7
8
|
xl: number;
|
8
9
|
xxl: number;
|
9
10
|
};
|
10
|
-
export
|
11
|
+
export interface BbIconProps extends S<Size> {
|
11
12
|
/**
|
12
13
|
* Define a color for the component.
|
13
14
|
*
|
@@ -17,8 +18,8 @@ export type BbIconProps = S<Size> & {
|
|
17
18
|
/**
|
18
19
|
* Name of the icon to use
|
19
20
|
*/
|
20
|
-
type:
|
21
|
-
}
|
21
|
+
type: IconType;
|
22
|
+
}
|
22
23
|
declare const _default: import('vue').DefineComponent<BbIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BbIconProps> & Readonly<{}>, {
|
23
24
|
size: number | ({
|
24
25
|
size?: any;
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { BaseNumberInputEvents, BaseNumberInputSlots } from '../BaseNumberInput/BaseNumberInput.vue';
|
2
2
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
3
|
+
import { IconType } from '../../types/Icon';
|
3
4
|
export type BbNumberInputProps = {
|
4
5
|
/**
|
5
6
|
* Name of the icon to be added at the end of the input.
|
6
7
|
*/
|
7
|
-
'append:icon'?:
|
8
|
+
'append:icon'?: IconType;
|
8
9
|
/**
|
9
10
|
* Guides to the browser as to the type of information expected in the field.
|
10
11
|
*/
|
@@ -93,7 +94,7 @@ export type BbNumberInputProps = {
|
|
93
94
|
/**
|
94
95
|
* Name of the icon to be added at the start of the input.
|
95
96
|
*/
|
96
|
-
'prepend:icon'?:
|
97
|
+
'prepend:icon'?: IconType;
|
97
98
|
/**
|
98
99
|
* Sets the input in a readonly state.
|
99
100
|
*/
|
@@ -133,7 +134,7 @@ declare function __VLS_template(): {
|
|
133
134
|
$data: {};
|
134
135
|
$props: {
|
135
136
|
readonly [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
136
|
-
readonly 'append:icon'?:
|
137
|
+
readonly 'append:icon'?: IconType | undefined;
|
137
138
|
readonly ariaDescribedby?: string | undefined;
|
138
139
|
readonly autocomplete?: string | undefined;
|
139
140
|
readonly autofocus?: (boolean | "true" | "false") | undefined;
|
@@ -149,7 +150,7 @@ declare function __VLS_template(): {
|
|
149
150
|
readonly modelValue: number | string | null;
|
150
151
|
readonly name?: string | undefined;
|
151
152
|
readonly placeholder?: string | undefined;
|
152
|
-
readonly 'prepend:icon'?:
|
153
|
+
readonly 'prepend:icon'?: IconType | undefined;
|
153
154
|
readonly readonly?: boolean | undefined;
|
154
155
|
readonly required?: boolean | undefined;
|
155
156
|
readonly step?: number | undefined;
|
@@ -238,7 +239,7 @@ declare const __VLS_component: import('vue').DefineComponent<BbNumberInputProps,
|
|
238
239
|
$data: {};
|
239
240
|
$props: {
|
240
241
|
readonly [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
241
|
-
readonly 'append:icon'?:
|
242
|
+
readonly 'append:icon'?: IconType | undefined;
|
242
243
|
readonly ariaDescribedby?: string | undefined;
|
243
244
|
readonly autocomplete?: string | undefined;
|
244
245
|
readonly autofocus?: (boolean | "true" | "false") | undefined;
|
@@ -254,7 +255,7 @@ declare const __VLS_component: import('vue').DefineComponent<BbNumberInputProps,
|
|
254
255
|
readonly modelValue: number | string | null;
|
255
256
|
readonly name?: string | undefined;
|
256
257
|
readonly placeholder?: string | undefined;
|
257
|
-
readonly 'prepend:icon'?:
|
258
|
+
readonly 'prepend:icon'?: IconType | undefined;
|
258
259
|
readonly readonly?: boolean | undefined;
|
259
260
|
readonly required?: boolean | undefined;
|
260
261
|
readonly step?: number | undefined;
|
@@ -20,6 +20,10 @@ export type BbRatingProps = {
|
|
20
20
|
* Disables the component
|
21
21
|
*/
|
22
22
|
disabled?: boolean;
|
23
|
+
/**
|
24
|
+
* Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
|
25
|
+
*/
|
26
|
+
direction?: 'horizontal' | 'vertical' | 'auto' | string;
|
23
27
|
/**
|
24
28
|
* Can be a string or an array of string containing the messages to display.
|
25
29
|
*/
|
@@ -69,6 +73,10 @@ export type BbRatingProps = {
|
|
69
73
|
* Sets the input in a readonly state.
|
70
74
|
*/
|
71
75
|
readonly?: boolean;
|
76
|
+
/**
|
77
|
+
* Sets the input as required.
|
78
|
+
*/
|
79
|
+
required?: boolean;
|
72
80
|
/**
|
73
81
|
* Reverses the layout. Applicable in every direction the order of the label and the input is swapped.
|
74
82
|
*/
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { BaseSelectEvents } from '../BaseSelect/BaseSelect.vue';
|
2
2
|
import { NestedKeyOf } from '../../types/NestedKeyOf';
|
3
3
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
4
|
+
import { IconType } from '../../types/Icon';
|
4
5
|
export type BbSelectProps<T> = {
|
5
6
|
/**
|
6
7
|
* Allows typing into the input.
|
@@ -9,7 +10,7 @@ export type BbSelectProps<T> = {
|
|
9
10
|
/**
|
10
11
|
* Name of the icon to be added at the end of the input.
|
11
12
|
*/
|
12
|
-
'append:icon'?:
|
13
|
+
'append:icon'?: IconType;
|
13
14
|
/**
|
14
15
|
* Guides to the browser as to the type of information expected in the field.
|
15
16
|
*/
|
@@ -159,7 +160,7 @@ export type BbSelectProps<T> = {
|
|
159
160
|
/**
|
160
161
|
* Name of the icon to be added at the start of the input.
|
161
162
|
*/
|
162
|
-
'prepend:icon'?:
|
163
|
+
'prepend:icon'?: IconType;
|
163
164
|
/**
|
164
165
|
* Sets the input as required.
|
165
166
|
*/
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { BaseTagEvents } from '../BaseTag/BaseTag.vue';
|
2
2
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
3
|
+
import { IconType } from '../../types/Icon';
|
3
4
|
export type BbTagProps = {
|
4
5
|
/**
|
5
6
|
* Name of the icon to be added at the end of the input.
|
6
7
|
*/
|
7
|
-
'append:icon'?:
|
8
|
+
'append:icon'?: IconType;
|
8
9
|
/**
|
9
10
|
* Guides to the browser as to the type of information expected in the field.
|
10
11
|
*/
|
@@ -99,7 +100,7 @@ export type BbTagProps = {
|
|
99
100
|
/**
|
100
101
|
* Name of the icon to be added at the start of the input.
|
101
102
|
*/
|
102
|
-
'prepend:icon'?:
|
103
|
+
'prepend:icon'?: IconType;
|
103
104
|
/**
|
104
105
|
* Sets the input in a readonly state.
|
105
106
|
*/
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import { BaseTextInputEvents, BaseTextInputSlots } from '../BaseTextInput/BaseTextInput.vue';
|
2
2
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
3
3
|
import { MaskInputOptions } from 'maska';
|
4
|
+
import { IconType } from '../../types/Icon';
|
4
5
|
export type BbTextInputProps = {
|
5
6
|
/**
|
6
7
|
* Name of the icon to be added at the end of the input.
|
7
8
|
*/
|
8
|
-
'append:icon'?:
|
9
|
+
'append:icon'?: IconType;
|
9
10
|
/**
|
10
11
|
* Guides to the browser as to the type of information expected in the field.
|
11
12
|
*/
|
@@ -95,7 +96,7 @@ export type BbTextInputProps = {
|
|
95
96
|
/**
|
96
97
|
* Name of the icon to be added at the start of the input.
|
97
98
|
*/
|
98
|
-
'prepend:icon'?:
|
99
|
+
'prepend:icon'?: IconType;
|
99
100
|
/**
|
100
101
|
* Sets the input in a readonly state.
|
101
102
|
*/
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { BaseTextareaEvents, BaseTextareaSlots } from '../BaseTextarea/BaseTextarea.vue';
|
2
2
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
3
|
+
import { IconType } from '../../types/Icon';
|
3
4
|
export type BbTextareaProps = {
|
4
5
|
/**
|
5
6
|
* Name of the icon to be added at the end of the input.
|
6
7
|
*/
|
7
|
-
'append:icon'?:
|
8
|
+
'append:icon'?: IconType;
|
8
9
|
/**
|
9
10
|
* Guides to the browser as to the type of information expected in the field.
|
10
11
|
*/
|
@@ -85,7 +86,7 @@ export type BbTextareaProps = {
|
|
85
86
|
/**
|
86
87
|
* Name of the icon to be added at the start of the input.
|
87
88
|
*/
|
88
|
-
'prepend:icon'?:
|
89
|
+
'prepend:icon'?: IconType;
|
89
90
|
/**
|
90
91
|
* Sets the input in a readonly state.
|
91
92
|
*/
|
@@ -1,8 +1,9 @@
|
|
1
|
+
import { IconType } from '../index';
|
1
2
|
export type CommonInputInnerContainerProps = {
|
2
3
|
/**
|
3
4
|
* Name of the icon to be added at the end of the input.
|
4
5
|
*/
|
5
|
-
'append:icon'?:
|
6
|
+
'append:icon'?: IconType;
|
6
7
|
/**
|
7
8
|
* Whether the input is clearable.
|
8
9
|
*/
|
@@ -10,7 +11,7 @@ export type CommonInputInnerContainerProps = {
|
|
10
11
|
/**
|
11
12
|
* Name of the icon to be added at the start of the input.
|
12
13
|
*/
|
13
|
-
'prepend:icon'?:
|
14
|
+
'prepend:icon'?: IconType;
|
14
15
|
preventFocus?: boolean;
|
15
16
|
};
|
16
17
|
declare function __VLS_template(): {
|