bitboss-ui 2.1.32 → 2.1.34
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 +13 -12
- package/dist/components/BaseColorInput/ColorPallette.vue.d.ts +2 -2
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +11 -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 +30 -38
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +8 -3
- package/dist/components/BbIcon/BbIcon.vue.d.ts +4 -3
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +7 -6
- package/dist/components/BbPopover/BbPopover.vue.d.ts +25 -32
- 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/BbTooltip/BbTooltip.vue.d.ts +26 -31
- package/dist/components/CommonInputInnerContainer.vue.d.ts +3 -2
- package/dist/components/{CommonPopover.vue.d.ts → CommonPopover2.vue.d.ts} +2 -7
- package/dist/composables/useCancelableFunction.d.ts +17 -0
- package/dist/composables/useToast.d.ts +4 -3
- package/dist/index.css +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index106.js +9 -9
- 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 +111 -93
- package/dist/index133.js +1 -1
- package/dist/index135.js +2 -2
- package/dist/index140.js +292 -250
- package/dist/index142.js +2 -2
- package/dist/index15.js +72 -74
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index21.js +16 -16
- package/dist/index212.js +3 -3
- package/dist/index215.js +86 -4
- package/dist/index217.js +27 -9
- package/dist/index218.js +16 -19
- package/dist/index219.js +49 -195
- package/dist/index220.js +17 -0
- package/dist/index221.js +3 -117
- package/dist/index222.js +14 -0
- package/dist/index223.js +16 -34
- package/dist/index224.js +2 -86
- package/dist/index225.js +4 -0
- package/dist/index226.js +2 -29
- package/dist/index227.js +106 -17
- package/dist/index229.js +100 -15
- package/dist/index23.js +152 -152
- package/dist/index231.js +2 -12
- package/dist/index232.js +4 -16
- package/dist/index233.js +5 -2
- package/dist/index234.js +5 -2
- package/dist/index235.js +5 -2
- package/dist/index236.js +5 -5
- package/dist/index237.js +4 -4
- package/dist/index238.js +5 -5
- package/dist/index239.js +2 -5
- package/dist/index240.js +13 -5
- package/dist/index241.js +20 -5
- package/dist/index242.js +121 -5
- package/dist/index244.js +17 -7
- package/dist/index245.js +12 -250
- package/dist/index246.js +222 -45
- package/dist/index247.js +13 -44
- package/dist/index248.js +4 -5
- package/dist/index249.js +190 -53
- package/dist/index25.js +3 -3
- package/dist/index251.js +7 -3
- package/dist/index252.js +33 -12
- package/dist/index253.js +2 -106
- package/dist/index254.js +185 -0
- package/dist/index255.js +3 -100
- package/dist/index256.js +4 -0
- package/dist/index257.js +7 -2
- package/dist/index258.js +6 -182
- package/dist/index259.js +12 -6
- package/dist/index260.js +5 -2
- package/dist/index261.js +5 -2
- package/dist/index262.js +8 -7
- package/dist/index263.js +250 -7
- package/dist/index264.js +50 -16
- package/dist/index265.js +44 -12
- package/dist/index266.js +5 -6
- package/dist/index267.js +54 -223
- package/dist/index268.js +6 -5
- package/dist/index269.js +16 -10
- package/dist/index27.js +1 -1
- package/dist/index270.js +9 -3
- package/dist/index271.js +4 -9
- package/dist/index272.js +23 -23
- package/dist/index273.js +9 -3
- package/dist/index274.js +23 -9
- package/dist/index275.js +10 -6
- package/dist/index276.js +3 -16
- package/dist/index277.js +3 -9
- package/dist/index278.js +9 -8
- package/dist/index279.js +8 -33
- package/dist/index280.js +33 -28
- package/dist/index281.js +30 -0
- package/dist/index283.js +2 -5
- package/dist/index284.js +67 -8
- package/dist/index285.js +5 -2
- package/dist/index286.js +5 -5
- package/dist/index287.js +8 -3
- package/dist/index288.js +4 -3
- package/dist/index289.js +3 -7
- package/dist/index29.js +2 -2
- package/dist/index290.js +17 -11
- package/dist/index291.js +28 -2
- package/dist/index292.js +3 -4
- package/dist/index293.js +1 -1
- package/dist/index294.js +4 -17
- package/dist/index295.js +279 -27
- package/dist/index296.js +2 -4
- package/dist/index297.js +125 -5
- package/dist/index298.js +2 -280
- package/dist/index299.js +15 -2
- package/dist/index300.js +2 -16
- package/dist/index301.js +16 -2
- package/dist/index302.js +2 -16
- package/dist/index303.js +16 -2
- package/dist/index304.js +2 -19
- package/dist/index305.js +19 -2
- package/dist/index306.js +2 -15
- package/dist/index307.js +3 -2
- package/dist/index308.js +7 -19
- package/dist/index309.js +11 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +2 -27
- package/dist/index311.js +3 -2
- package/dist/index312.js +6 -2
- package/dist/index313.js +1 -1
- package/dist/index314.js +5 -2
- package/dist/index315.js +19 -2
- package/dist/index316.js +2 -22
- package/dist/index317.js +29 -0
- package/dist/index318.js +2 -3
- package/dist/index319.js +2 -3
- package/dist/index320.js +2 -6
- package/dist/index321.js +1 -1
- package/dist/index322.js +2 -125
- package/dist/index323.js +22 -2
- package/dist/index328.js +7 -0
- package/dist/index33.js +8 -8
- package/dist/index330.js +3 -2
- package/dist/index331.js +2 -8
- package/dist/index332.js +34 -5
- package/dist/index333.js +6 -8
- package/dist/index334.js +128 -57
- package/dist/index335.js +367 -56
- package/dist/index336.js +47 -8
- package/dist/index337.js +57 -128
- package/dist/index338.js +56 -367
- package/dist/index339.js +7 -6
- package/dist/index340.js +5 -18
- package/dist/index341.js +8 -228
- package/dist/index343.js +227 -46
- package/dist/index344.js +6 -92
- package/dist/index345.js +17 -127
- package/dist/index346.js +87 -430
- package/dist/index347.js +123 -121
- package/dist/index348.js +1 -1
- package/dist/index349.js +430 -44
- package/dist/index35.js +4 -4
- package/dist/index350.js +129 -0
- package/dist/index351.js +52 -0
- package/dist/index37.js +261 -271
- package/dist/index39.js +6 -6
- 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 +206 -182
- package/dist/index81.js +2 -2
- 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 +2 -2
- package/dist/index94.js +121 -117
- package/dist/types/Icon.d.ts +9 -0
- package/dist/utilities/functions/extractDomContainer.d.ts +1 -0
- package/dist/utilities/functions/parseWidthString.d.ts +6 -0
- package/package.json +1 -1
- package/dist/index216.js +0 -15
- package/dist/index228.js +0 -53
- package/dist/index230.js +0 -5
- package/dist/index243.js +0 -4
- package/dist/index250.js +0 -6
- package/dist/index282.js +0 -69
- package/dist/index324.js +0 -7
- package/dist/index329.js +0 -5
@@ -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;
|
@@ -199,6 +200,7 @@ declare function __VLS_template(): {
|
|
199
200
|
suffix?(_: {}): any;
|
200
201
|
};
|
201
202
|
}) | null;
|
203
|
+
indicator: HTMLButtonElement;
|
202
204
|
pallette: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
203
205
|
modelValue: string | null;
|
204
206
|
}> & Readonly<{
|
@@ -206,10 +208,10 @@ declare function __VLS_template(): {
|
|
206
208
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
207
209
|
"update:modelValue": (value: string) => any;
|
208
210
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
209
|
-
paletteRef:
|
211
|
+
paletteRef: HTMLSpanElement;
|
210
212
|
mainCanvasRef: HTMLCanvasElement;
|
211
213
|
hueCanvasRef: HTMLCanvasElement;
|
212
|
-
},
|
214
|
+
}, HTMLSpanElement, import('vue').ComponentProvideOptions, {
|
213
215
|
P: {};
|
214
216
|
B: {};
|
215
217
|
D: {};
|
@@ -221,7 +223,6 @@ declare function __VLS_template(): {
|
|
221
223
|
}> & Readonly<{
|
222
224
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
223
225
|
}>, {}, {}, {}, {}, {}> | null;
|
224
|
-
indicator: HTMLButtonElement;
|
225
226
|
};
|
226
227
|
rootEl: HTMLSpanElement;
|
227
228
|
};
|
@@ -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;
|
@@ -342,6 +343,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseColorInputProps
|
|
342
343
|
suffix?(_: {}): any;
|
343
344
|
};
|
344
345
|
}) | null;
|
346
|
+
indicator: HTMLButtonElement;
|
345
347
|
pallette: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
346
348
|
modelValue: string | null;
|
347
349
|
}> & Readonly<{
|
@@ -349,10 +351,10 @@ declare const __VLS_component: import('vue').DefineComponent<BaseColorInputProps
|
|
349
351
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
350
352
|
"update:modelValue": (value: string) => any;
|
351
353
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
352
|
-
paletteRef:
|
354
|
+
paletteRef: HTMLSpanElement;
|
353
355
|
mainCanvasRef: HTMLCanvasElement;
|
354
356
|
hueCanvasRef: HTMLCanvasElement;
|
355
|
-
},
|
357
|
+
}, HTMLSpanElement, import('vue').ComponentProvideOptions, {
|
356
358
|
P: {};
|
357
359
|
B: {};
|
358
360
|
D: {};
|
@@ -364,7 +366,6 @@ declare const __VLS_component: import('vue').DefineComponent<BaseColorInputProps
|
|
364
366
|
}> & Readonly<{
|
365
367
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
366
368
|
}>, {}, {}, {}, {}, {}> | null;
|
367
|
-
indicator: HTMLButtonElement;
|
368
369
|
}, HTMLSpanElement>;
|
369
370
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
370
371
|
export default _default;
|
@@ -6,8 +6,8 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
6
6
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
7
7
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
8
8
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
9
|
-
paletteRef:
|
9
|
+
paletteRef: HTMLSpanElement;
|
10
10
|
mainCanvasRef: HTMLCanvasElement;
|
11
11
|
hueCanvasRef: HTMLCanvasElement;
|
12
|
-
},
|
12
|
+
}, HTMLSpanElement>;
|
13
13
|
export default _default;
|
@@ -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
|
*/
|
@@ -87,6 +88,10 @@ export type BaseDatePickerInputProps = {
|
|
87
88
|
* @param date
|
88
89
|
*/
|
89
90
|
selectable?: (date: Date) => boolean;
|
91
|
+
/**
|
92
|
+
* The transition duration of the floating component.
|
93
|
+
*/
|
94
|
+
transitionDuration?: number;
|
90
95
|
};
|
91
96
|
export type BaseDatePickerInputEvents = {
|
92
97
|
(e: 'active'): void;
|
@@ -162,9 +167,9 @@ declare function __VLS_template(): {
|
|
162
167
|
$: import('vue').ComponentInternalInstance;
|
163
168
|
$data: {};
|
164
169
|
$props: {
|
165
|
-
readonly 'append:icon'?:
|
170
|
+
readonly 'append:icon'?: IconType | undefined;
|
166
171
|
readonly clearable?: boolean | undefined;
|
167
|
-
readonly 'prepend:icon'?:
|
172
|
+
readonly 'prepend:icon'?: IconType | undefined;
|
168
173
|
readonly preventFocus?: boolean | undefined;
|
169
174
|
readonly "onClick:clear"?: (() => any) | undefined;
|
170
175
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
@@ -358,9 +363,9 @@ declare const __VLS_component: import('vue').DefineComponent<BaseDatePickerInput
|
|
358
363
|
$: import('vue').ComponentInternalInstance;
|
359
364
|
$data: {};
|
360
365
|
$props: {
|
361
|
-
readonly 'append:icon'?:
|
366
|
+
readonly 'append:icon'?: IconType | undefined;
|
362
367
|
readonly clearable?: boolean | undefined;
|
363
|
-
readonly 'prepend:icon'?:
|
368
|
+
readonly 'prepend:icon'?: IconType | undefined;
|
364
369
|
readonly preventFocus?: boolean | undefined;
|
365
370
|
readonly "onClick:clear"?: (() => any) | undefined;
|
366
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
|
*/
|