bitboss-ui 2.0.95 → 2.0.96
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/BaseCheckbox/BaseCheckbox.vue.d.ts +1 -1
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +1 -1
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +5 -1
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +9 -4
- package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +2 -0
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +4 -0
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +4 -0
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +5 -1
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +1 -1
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +1 -1
- package/dist/components/BaseRating/BaseRating.vue.d.ts +1 -1
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +7 -0
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +1 -1
- package/dist/components/BaseTag/BaseTag.vue.d.ts +6 -1
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +5 -1
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +5 -1
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +1 -1
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +5 -1
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +5 -1
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -0
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +7 -2
- package/dist/components/BbRadio/BbRadio.vue.d.ts +1 -1
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +5 -1
- package/dist/components/BbRating/BbRating.vue.d.ts +5 -1
- package/dist/components/BbSelect/BbSelect.vue.d.ts +4 -0
- package/dist/components/BbSlider/BbSlider.vue.d.ts +5 -1
- package/dist/components/BbTable/types.d.ts +1 -1
- package/dist/components/BbTag/BbTag.vue.d.ts +5 -1
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +5 -1
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +5 -1
- package/dist/components/ListBox.vue.d.ts +4 -0
- package/dist/index100.js +4 -4
- package/dist/index101.js +18 -15
- package/dist/index103.js +11 -9
- package/dist/index105.js +10 -10
- package/dist/index107.js +16 -14
- package/dist/index111.js +7 -7
- package/dist/index113.js +12 -9
- package/dist/index115.js +27 -24
- package/dist/index117.js +27 -24
- package/dist/index119.js +2 -2
- package/dist/index121.js +4 -4
- package/dist/index123.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index129.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index131.js +1 -1
- package/dist/index133.js +2 -2
- package/dist/index134.js +2 -2
- package/dist/index15.js +24 -22
- package/dist/index17.js +15 -16
- package/dist/index19.js +57 -51
- package/dist/index206.js +81 -2
- package/dist/index207.js +2 -81
- package/dist/index208.js +6 -51
- package/dist/index209.js +128 -0
- package/dist/index21.js +77 -72
- package/dist/index210.js +5 -13
- package/dist/index211.js +124 -19
- package/dist/index212.js +19 -4
- package/dist/index213.js +16 -5
- package/dist/index214.js +10 -10
- package/dist/index215.js +2 -16
- package/dist/index216.js +2 -19
- package/dist/index217.js +40 -18
- package/dist/index218.js +19 -26
- package/dist/index219.js +6 -3
- package/dist/index220.js +53 -2
- package/dist/index222.js +13 -249
- package/dist/index223.js +5 -52
- package/dist/index224.js +10 -42
- package/dist/index225.js +369 -5
- package/dist/index226.js +18 -59
- package/dist/index227.js +27 -2
- package/dist/index228.js +3 -4
- package/dist/index229.js +250 -2
- package/dist/index23.js +28 -26
- package/dist/index230.js +52 -3
- package/dist/index231.js +44 -41
- package/dist/index232.js +5 -6
- package/dist/index233.js +60 -7
- package/dist/index234.js +164 -12
- package/dist/index235.js +84 -164
- package/dist/index237.js +5 -0
- package/dist/index238.js +7 -126
- package/dist/index239.js +2 -125
- package/dist/index240.js +4 -2
- package/dist/index241.js +2 -5
- package/dist/index242.js +3 -368
- package/dist/index243.js +1 -1
- package/dist/index244.js +2 -2
- package/dist/index245.js +17 -105
- package/dist/index246.js +108 -0
- package/dist/{index247.js → index248.js} +1 -1
- package/dist/index25.js +6 -6
- package/dist/index250.js +2 -18
- package/dist/index255.js +4 -4
- package/dist/index257.js +6 -9
- package/dist/index258.js +16 -6
- package/dist/index259.js +9 -16
- package/dist/index260.js +9 -3
- package/dist/index261.js +10 -0
- package/dist/index262.js +3 -7
- package/dist/index263.js +11 -175
- package/dist/index264.js +8 -280
- package/dist/index265.js +17 -6
- package/dist/index266.js +4 -2
- package/dist/index267.js +281 -2
- package/dist/index268.js +6 -2
- package/dist/index269.js +2 -2
- package/dist/index27.js +8 -6
- package/dist/index272.js +2 -2
- package/dist/index273.js +2 -2
- package/dist/index274.js +2 -2
- package/dist/index275.js +1 -1
- package/dist/index276.js +2 -28
- package/dist/index277.js +1 -21
- package/dist/index278.js +4 -0
- package/dist/index279.js +28 -4
- package/dist/index280.js +20 -429
- package/dist/index282.js +6 -88
- package/dist/index283.js +2 -3
- package/dist/index284.js +126 -12
- package/dist/index285.js +429 -7
- package/dist/index286.js +176 -9
- package/dist/index287.js +3 -17
- package/dist/index289.js +21 -199
- package/dist/index29.js +11 -9
- package/dist/index291.js +2 -126
- package/dist/index292.js +4 -22
- package/dist/index293.js +202 -0
- package/dist/index294.js +436 -8
- package/dist/index295.js +121 -218
- package/dist/index296.js +81 -428
- package/dist/index297.js +218 -121
- package/dist/index298.js +1 -1
- package/dist/index299.js +1 -1
- package/dist/index300.js +23 -21
- package/dist/index301.js +65 -2
- package/dist/index302.js +5 -33
- package/dist/index303.js +2 -5
- package/dist/index304.js +3 -8
- package/dist/index308.js +11 -2
- package/dist/index309.js +6 -6
- package/dist/index31.js +6 -6
- package/dist/index310.js +18 -65
- package/dist/index311.js +7 -5
- package/dist/index312.js +32 -6
- package/dist/index313.js +45 -17
- package/dist/index314.js +4 -10
- package/dist/index315.js +7 -3
- package/dist/index316.js +2 -47
- package/dist/index317.js +4 -480
- package/dist/index318.js +482 -0
- package/dist/index33.js +12 -12
- package/dist/index35.js +35 -35
- package/dist/index37.js +58 -54
- package/dist/index39.js +5 -5
- package/dist/index41.js +3 -3
- package/dist/index43.js +3 -3
- package/dist/index45.js +46 -44
- package/dist/index47.js +31 -29
- package/dist/index49.js +18 -16
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index63.js +9 -9
- package/dist/index65.js +11 -9
- package/dist/index67.js +24 -21
- package/dist/index71.js +8 -5
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index82.js +24 -21
- package/dist/index84.js +3 -3
- package/dist/index86.js +1 -1
- package/dist/index88.js +3 -3
- package/dist/index90.js +1 -1
- package/dist/index92.js +6 -6
- package/dist/index94.js +11 -9
- package/dist/index96.js +13 -11
- package/dist/style.css +1 -1
- package/dist/types/CommonProps.d.ts +1 -1
- package/package.json +2 -2
- package/dist/index221.js +0 -10
- package/dist/index236.js +0 -86
- package/dist/index249.js +0 -4
- package/dist/index281.js +0 -4
- package/dist/index288.js +0 -6
- package/dist/index290.js +0 -4
- package/dist/index319.js +0 -4
@@ -16,6 +16,10 @@ export type BaseColorInputProps = {
|
|
16
16
|
* Sets autofocus on page load.
|
17
17
|
*/
|
18
18
|
autofocus?: InputHTMLAttributes['autofocus'];
|
19
|
+
/**
|
20
|
+
* Displays the component in a compact version.
|
21
|
+
*/
|
22
|
+
compact?: boolean;
|
19
23
|
/**
|
20
24
|
* Disables the component
|
21
25
|
*/
|
@@ -52,7 +56,7 @@ export type BaseColorInputProps = {
|
|
52
56
|
/**
|
53
57
|
* Sets the input in a readonly state.
|
54
58
|
*/
|
55
|
-
readonly?:
|
59
|
+
readonly?: boolean;
|
56
60
|
/**
|
57
61
|
* Sets the input as required.
|
58
62
|
*/
|
@@ -1,17 +1,22 @@
|
|
1
1
|
import { default as it } from 'dayjs/locale/it';
|
2
|
+
import { HTMLAttributes } from 'vue';
|
2
3
|
export type BaseDatePickerProps = {
|
3
4
|
/**
|
4
5
|
* Disables the component
|
5
6
|
*/
|
6
7
|
disabled?: boolean;
|
7
|
-
/**
|
8
|
-
* Shows or hides the header of the component
|
9
|
-
*/
|
10
|
-
header?: boolean;
|
11
8
|
/**
|
12
9
|
* Defines the first day of the week with `0` meaning Sunday and `6` meaning Saturday
|
13
10
|
*/
|
14
11
|
firstDayOfWeek?: (typeof it)['weekStart'];
|
12
|
+
/**
|
13
|
+
* The identifier of the component.
|
14
|
+
*/
|
15
|
+
id?: HTMLAttributes['id'];
|
16
|
+
/**
|
17
|
+
* Shows or hides the header of the component
|
18
|
+
*/
|
19
|
+
header?: boolean;
|
15
20
|
/**
|
16
21
|
* Maximum selectable date
|
17
22
|
*/
|
@@ -1,9 +1,11 @@
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
1
2
|
import { default as dayjs, Dayjs } from 'dayjs';
|
2
3
|
type Props = {
|
3
4
|
cursor: Dayjs;
|
4
5
|
current: boolean;
|
5
6
|
disabled: boolean;
|
6
7
|
firstDayOfWeek: number;
|
8
|
+
id?: HTMLAttributes['id'];
|
7
9
|
/**
|
8
10
|
* Used by v-model. Can be null, a single string, or an array of strings based on whether a range or single date is needed
|
9
11
|
*/
|
@@ -1,5 +1,9 @@
|
|
1
1
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
2
2
|
export type BaseInputContainerProps = {
|
3
|
+
/**
|
4
|
+
* Displays the component in a compact version.
|
5
|
+
*/
|
6
|
+
compact?: boolean;
|
3
7
|
/**
|
4
8
|
* Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
|
5
9
|
*/
|
@@ -16,6 +16,10 @@ export type BaseNumberInputProps = {
|
|
16
16
|
* Sets autofocus on page load.
|
17
17
|
*/
|
18
18
|
autofocus?: InputHTMLAttributes['autofocus'];
|
19
|
+
/**
|
20
|
+
* Sets the component in a compact state.
|
21
|
+
*/
|
22
|
+
compact?: boolean;
|
19
23
|
/**
|
20
24
|
* Disables the component
|
21
25
|
*/
|
@@ -60,7 +64,7 @@ export type BaseNumberInputProps = {
|
|
60
64
|
/**
|
61
65
|
* Sets the input in a readonly state.
|
62
66
|
*/
|
63
|
-
readonly?:
|
67
|
+
readonly?: boolean;
|
64
68
|
/**
|
65
69
|
* Sets the input as required.
|
66
70
|
*/
|
@@ -34,6 +34,10 @@ export type BaseSelectProps = {
|
|
34
34
|
* cannot deselect an option by pressing the close button.
|
35
35
|
*/
|
36
36
|
comma?: boolean;
|
37
|
+
/**
|
38
|
+
* Sets the component in a compact mode.
|
39
|
+
*/
|
40
|
+
compact?: boolean;
|
37
41
|
/**
|
38
42
|
* Defines an array of dependencies that will trigger actions in the component upon change.
|
39
43
|
*/
|
@@ -428,6 +432,7 @@ declare function __VLS_template(): {
|
|
428
432
|
$: import('vue').ComponentInternalInstance;
|
429
433
|
$data: {};
|
430
434
|
$props: {
|
435
|
+
readonly compact?: boolean | undefined;
|
431
436
|
readonly options: BaseOption[];
|
432
437
|
readonly open?: boolean | undefined;
|
433
438
|
readonly loading?: boolean | undefined;
|
@@ -452,6 +457,7 @@ declare function __VLS_template(): {
|
|
452
457
|
$emit: ((event: "option:unselected", option: BaseOption) => void) & ((event: "option:selected", option: BaseOption) => void);
|
453
458
|
$el: any;
|
454
459
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
460
|
+
compact?: boolean;
|
455
461
|
options: BaseOption[];
|
456
462
|
open?: boolean;
|
457
463
|
loading?: boolean;
|
@@ -504,6 +510,7 @@ declare function __VLS_template(): {
|
|
504
510
|
loadingText: string;
|
505
511
|
noDataText: string;
|
506
512
|
}> & Omit<Readonly<{
|
513
|
+
compact?: boolean;
|
507
514
|
options: BaseOption[];
|
508
515
|
open?: boolean;
|
509
516
|
loading?: boolean;
|
@@ -23,6 +23,10 @@ export type BaseTagProps = {
|
|
23
23
|
* cannot deselect an option by pressing the close button.
|
24
24
|
*/
|
25
25
|
comma?: boolean;
|
26
|
+
/**
|
27
|
+
* Sets the component in a compact mode.
|
28
|
+
*/
|
29
|
+
compact?: boolean;
|
26
30
|
/**
|
27
31
|
* Disables the component
|
28
32
|
*/
|
@@ -71,7 +75,7 @@ export type BaseTagProps = {
|
|
71
75
|
/**
|
72
76
|
* Sets the input in a readonly state.
|
73
77
|
*/
|
74
|
-
readonly?:
|
78
|
+
readonly?: boolean;
|
75
79
|
/**
|
76
80
|
* Sets the input as required.
|
77
81
|
*/
|
@@ -296,6 +300,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseTagProps, {}, {
|
|
296
300
|
}, string, import('vue').PublicProps, Readonly<BaseTagProps> & Readonly<{
|
297
301
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
298
302
|
}>, {
|
303
|
+
autocomplete: string;
|
299
304
|
multiple: boolean;
|
300
305
|
divider: KeyboardEvent["key"];
|
301
306
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
@@ -16,6 +16,10 @@ export type BaseTextInputProps = {
|
|
16
16
|
* Sets autofocus on page load.
|
17
17
|
*/
|
18
18
|
autofocus?: InputHTMLAttributes['autofocus'];
|
19
|
+
/**
|
20
|
+
* Displays the component in a compact version.
|
21
|
+
*/
|
22
|
+
compact?: boolean;
|
19
23
|
/**
|
20
24
|
* Disables the component
|
21
25
|
*/
|
@@ -52,7 +56,7 @@ export type BaseTextInputProps = {
|
|
52
56
|
/**
|
53
57
|
* Sets the input in a readonly state.
|
54
58
|
*/
|
55
|
-
readonly?:
|
59
|
+
readonly?: boolean;
|
56
60
|
/**
|
57
61
|
* Sets the input as required.
|
58
62
|
*/
|
@@ -20,6 +20,10 @@ export type BaseTextareaProps = {
|
|
20
20
|
* Sets autofocus on page load.
|
21
21
|
*/
|
22
22
|
autofocus?: InputHTMLAttributes['autofocus'];
|
23
|
+
/**
|
24
|
+
* Sets the component in a compact state.
|
25
|
+
*/
|
26
|
+
compact?: boolean;
|
23
27
|
/**
|
24
28
|
* Disables the component
|
25
29
|
*/
|
@@ -56,7 +60,7 @@ export type BaseTextareaProps = {
|
|
56
60
|
/**
|
57
61
|
* Sets the input in a readonly state.
|
58
62
|
*/
|
59
|
-
readonly?:
|
63
|
+
readonly?: boolean;
|
60
64
|
/**
|
61
65
|
* Sets the input as required.
|
62
66
|
*/
|
@@ -13,6 +13,10 @@ export type BbCheckboxGroupProps<T> = {
|
|
13
13
|
* Either a custom color or a coded color in common HEX, RGB, etc... format.
|
14
14
|
*/
|
15
15
|
color?: string;
|
16
|
+
/**
|
17
|
+
* Displays the component in a compact version.
|
18
|
+
*/
|
19
|
+
compact?: boolean;
|
16
20
|
/**
|
17
21
|
* Defines an array of dependencies that will trigger actions in the component upon change.
|
18
22
|
*/
|
@@ -109,7 +113,7 @@ export type BbCheckboxGroupProps<T> = {
|
|
109
113
|
/**
|
110
114
|
* Sets the input in a readonly state.
|
111
115
|
*/
|
112
|
-
readonly?:
|
116
|
+
readonly?: boolean;
|
113
117
|
/**
|
114
118
|
* Reverses the layout. Applicable in every direction the order of the label and the input is swapped.
|
115
119
|
*/
|
@@ -13,6 +13,10 @@ export type BbColorInputProps = {
|
|
13
13
|
* Sets autofocus on page load.
|
14
14
|
*/
|
15
15
|
autofocus?: InputHTMLAttributes['autofocus'];
|
16
|
+
/**
|
17
|
+
* Displays the component in a compact version.
|
18
|
+
*/
|
19
|
+
compact?: boolean;
|
16
20
|
/**
|
17
21
|
* Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
|
18
22
|
*/
|
@@ -77,7 +81,7 @@ export type BbColorInputProps = {
|
|
77
81
|
/**
|
78
82
|
* Sets the input in a readonly state.
|
79
83
|
*/
|
80
|
-
readonly?:
|
84
|
+
readonly?: boolean;
|
81
85
|
/**
|
82
86
|
* Sets the input as required.
|
83
87
|
*/
|
@@ -18,6 +18,10 @@ export type BbDatePickerInputProps = {
|
|
18
18
|
* Sets autofocus on page load.
|
19
19
|
*/
|
20
20
|
autofocus?: InputHTMLAttributes['autofocus'];
|
21
|
+
/**
|
22
|
+
* Sets the component in a compact state.
|
23
|
+
*/
|
24
|
+
compact?: boolean;
|
21
25
|
/**
|
22
26
|
* Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
|
23
27
|
*/
|
@@ -13,6 +13,10 @@ export type BbNumberInputProps = {
|
|
13
13
|
* Sets autofocus on page load.
|
14
14
|
*/
|
15
15
|
autofocus?: InputHTMLAttributes['autofocus'];
|
16
|
+
/**
|
17
|
+
* Sets the component in a compact state.
|
18
|
+
*/
|
19
|
+
compact?: boolean;
|
16
20
|
/**
|
17
21
|
* Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
|
18
22
|
*/
|
@@ -85,7 +89,7 @@ export type BbNumberInputProps = {
|
|
85
89
|
/**
|
86
90
|
* Sets the input in a readonly state.
|
87
91
|
*/
|
88
|
-
readonly?:
|
92
|
+
readonly?: boolean;
|
89
93
|
/**
|
90
94
|
* Sets the input as required.
|
91
95
|
*/
|
@@ -124,6 +128,7 @@ declare function __VLS_template(): {
|
|
124
128
|
readonly ariaDescribedby?: InputHTMLAttributes["aria-describedby"];
|
125
129
|
readonly autocomplete?: InputHTMLAttributes["autocomplete"];
|
126
130
|
readonly autofocus?: InputHTMLAttributes["autofocus"];
|
131
|
+
readonly compact?: boolean | undefined;
|
127
132
|
readonly disabled?: boolean | undefined;
|
128
133
|
readonly hasErrors?: boolean | undefined;
|
129
134
|
readonly id?: HTMLAttributes["id"];
|
@@ -134,7 +139,7 @@ declare function __VLS_template(): {
|
|
134
139
|
readonly name?: InputHTMLAttributes["name"];
|
135
140
|
readonly placeholder?: InputHTMLAttributes["placeholder"];
|
136
141
|
readonly 'prepend:icon'?: string | undefined;
|
137
|
-
readonly readonly?:
|
142
|
+
readonly readonly?: boolean | undefined;
|
138
143
|
readonly required?: boolean | undefined;
|
139
144
|
readonly step?: number | undefined;
|
140
145
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
@@ -14,6 +14,10 @@ export type BbRadioGroupProps<T> = {
|
|
14
14
|
* Either a custom color or a coded color in common HEX, RGB, etc... format.
|
15
15
|
*/
|
16
16
|
color?: string;
|
17
|
+
/**
|
18
|
+
* Sets the component in a compact state.
|
19
|
+
*/
|
20
|
+
compact?: boolean;
|
17
21
|
/**
|
18
22
|
* Defines an array of dependencies that will trigger actions in the component upon change.
|
19
23
|
*/
|
@@ -106,7 +110,7 @@ export type BbRadioGroupProps<T> = {
|
|
106
110
|
/**
|
107
111
|
* Sets the input in a readonly state.
|
108
112
|
*/
|
109
|
-
readonly?:
|
113
|
+
readonly?: boolean;
|
110
114
|
/**
|
111
115
|
* Sets the input as required.
|
112
116
|
*/
|
@@ -12,6 +12,10 @@ export type BbRatingProps = {
|
|
12
12
|
* Either a custom color or a coded color in common HEX, RGB, etc... format.
|
13
13
|
*/
|
14
14
|
color?: string;
|
15
|
+
/**
|
16
|
+
* Sets the component in a compact state.
|
17
|
+
*/
|
18
|
+
compact?: boolean;
|
15
19
|
/**
|
16
20
|
* Disables the component
|
17
21
|
*/
|
@@ -64,7 +68,7 @@ export type BbRatingProps = {
|
|
64
68
|
/**
|
65
69
|
* Sets the input in a readonly state.
|
66
70
|
*/
|
67
|
-
readonly?:
|
71
|
+
readonly?: boolean;
|
68
72
|
/**
|
69
73
|
* Reverses the layout. Applicable in every direction the order of the label and the input is swapped.
|
70
74
|
*/
|
@@ -31,6 +31,10 @@ export type BbSelectProps<T> = {
|
|
31
31
|
* cannot deselect an option by pressing the close button.
|
32
32
|
*/
|
33
33
|
comma?: boolean;
|
34
|
+
/**
|
35
|
+
* Sets the component in a compact mode.
|
36
|
+
*/
|
37
|
+
compact?: boolean;
|
34
38
|
/**
|
35
39
|
* Defines an array of dependencies that will trigger actions in the component upon change.
|
36
40
|
*/
|
@@ -11,6 +11,10 @@ export type BbSliderProps = {
|
|
11
11
|
* Either a custom color or a coded color in common HEX, RGB, etc... format.
|
12
12
|
*/
|
13
13
|
color?: string;
|
14
|
+
/**
|
15
|
+
* Set the component in compact mode.
|
16
|
+
*/
|
17
|
+
compact?: boolean;
|
14
18
|
/**
|
15
19
|
* Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
|
16
20
|
*/
|
@@ -76,7 +80,7 @@ export type BbSliderProps = {
|
|
76
80
|
/**
|
77
81
|
* Sets the input in a readonly state.
|
78
82
|
*/
|
79
|
-
readonly?:
|
83
|
+
readonly?: boolean;
|
80
84
|
/**
|
81
85
|
* Sets the input as required.
|
82
86
|
*/
|
@@ -153,7 +153,7 @@ export type BbTableProps = {
|
|
153
153
|
/**
|
154
154
|
* Sets the input in a readonly state.
|
155
155
|
*/
|
156
|
-
readonly?:
|
156
|
+
readonly?: boolean;
|
157
157
|
/**
|
158
158
|
* Defines whether the table is selectable.
|
159
159
|
* Can be a global boolean that affects all rows or a function
|
@@ -19,6 +19,10 @@ export type BbTagProps = {
|
|
19
19
|
* cannot deselect an option by pressing the close button.
|
20
20
|
*/
|
21
21
|
comma?: boolean;
|
22
|
+
/**
|
23
|
+
* Sets the component in a compact mode.
|
24
|
+
*/
|
25
|
+
compact?: boolean;
|
22
26
|
/**
|
23
27
|
* Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
|
24
28
|
*/
|
@@ -95,7 +99,7 @@ export type BbTagProps = {
|
|
95
99
|
/**
|
96
100
|
* Sets the input in a readonly state.
|
97
101
|
*/
|
98
|
-
readonly?:
|
102
|
+
readonly?: boolean;
|
99
103
|
/**
|
100
104
|
* Sets the input as required.
|
101
105
|
*/
|
@@ -13,6 +13,10 @@ export type BbTextInputProps = {
|
|
13
13
|
* Sets autofocus on page load.
|
14
14
|
*/
|
15
15
|
autofocus?: InputHTMLAttributes['autofocus'];
|
16
|
+
/**
|
17
|
+
* Displays the component in a compact version.
|
18
|
+
*/
|
19
|
+
compact?: boolean;
|
16
20
|
/**
|
17
21
|
* Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
|
18
22
|
*/
|
@@ -77,7 +81,7 @@ export type BbTextInputProps = {
|
|
77
81
|
/**
|
78
82
|
* Sets the input in a readonly state.
|
79
83
|
*/
|
80
|
-
readonly?:
|
84
|
+
readonly?: boolean;
|
81
85
|
/**
|
82
86
|
* Sets the input as required.
|
83
87
|
*/
|
@@ -17,6 +17,10 @@ export type BbTextareaProps = {
|
|
17
17
|
* Expands the textarea to match its content
|
18
18
|
*/
|
19
19
|
autoGrow?: boolean;
|
20
|
+
/**
|
21
|
+
* Sets the component in a compact state.
|
22
|
+
*/
|
23
|
+
compact?: boolean;
|
20
24
|
/**
|
21
25
|
* Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
|
22
26
|
*/
|
@@ -81,7 +85,7 @@ export type BbTextareaProps = {
|
|
81
85
|
/**
|
82
86
|
* Sets the input in a readonly state.
|
83
87
|
*/
|
84
|
-
readonly?:
|
88
|
+
readonly?: boolean;
|
85
89
|
/**
|
86
90
|
* Sets the input as required.
|
87
91
|
*/
|
package/dist/index100.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as S, mergeModels as v, computed as y, toRef as u, reactive as $, useModel as b, watch as A, openBlock as h, createElementBlock as V, Fragment as k, renderSlot as r, unref as L, createCommentVNode as R, renderList as q } from "vue";
|
2
|
-
import { useOptions as E } from "./
|
3
|
-
import { useItemValue as Q } from "./
|
2
|
+
import { useOptions as E } from "./index234.js";
|
3
|
+
import { useItemValue as Q } from "./index260.js";
|
4
4
|
import { isNil as g } from "./index130.js";
|
5
|
-
import { indexBy as j } from "./
|
6
|
-
import { hash as B } from "./
|
5
|
+
import { indexBy as j } from "./index261.js";
|
6
|
+
import { hash as B } from "./index228.js";
|
7
7
|
const X = /* @__PURE__ */ S({
|
8
8
|
__name: "BbRows",
|
9
9
|
props: /* @__PURE__ */ v({
|
package/dist/index101.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as h, ref as y, computed as
|
1
|
+
import { defineComponent as h, ref as y, computed as B, openBlock as v, createBlock as g, withCtx as n, renderSlot as a, normalizeProps as i, guardReactiveProps as l, createVNode as $, mergeProps as T } from "vue";
|
2
2
|
import V from "./index27.js";
|
3
3
|
/* empty css */
|
4
4
|
import q from "./index37.js";
|
@@ -12,6 +12,7 @@ const L = /* @__PURE__ */ h({
|
|
12
12
|
autocomplete: {},
|
13
13
|
autofocus: {},
|
14
14
|
comma: { type: Boolean },
|
15
|
+
compact: { type: Boolean },
|
15
16
|
dependencies: {},
|
16
17
|
depsDebounceTime: {},
|
17
18
|
direction: {},
|
@@ -51,23 +52,24 @@ const L = /* @__PURE__ */ h({
|
|
51
52
|
updateOnAnimationFrame: { type: Boolean }
|
52
53
|
},
|
53
54
|
emits: ["blur", "change", "click", "focus", "inactive", "input", "update:modelValue"],
|
54
|
-
setup(d, { emit:
|
55
|
-
const r = d, t =
|
55
|
+
setup(d, { emit: m }) {
|
56
|
+
const r = d, t = m, p = y(!1), u = B(() => r.persistentHint || p.value), c = {
|
56
57
|
onBlur: (e) => t("blur", e),
|
57
58
|
onChange: (e) => t("change", e),
|
58
59
|
onClick: (e) => t("click", e),
|
59
60
|
onFocus: (e) => {
|
60
|
-
|
61
|
+
p.value = !0, t("focus", e);
|
61
62
|
},
|
62
63
|
onInactive: () => {
|
63
|
-
|
64
|
+
p.value = !1, t("inactive");
|
64
65
|
},
|
65
66
|
onInput: (e) => t("input", e),
|
66
67
|
"onUpdate:modelValue": (e) => t("update:modelValue", e)
|
67
68
|
};
|
68
|
-
return (e, w) => (
|
69
|
+
return (e, w) => (v(), g(V, {
|
69
70
|
id: e.id,
|
70
71
|
class: "bb-select",
|
72
|
+
compact: e.compact,
|
71
73
|
direction: e.direction,
|
72
74
|
errors: e.errors,
|
73
75
|
"has-errors": e.hasErrors,
|
@@ -78,14 +80,14 @@ const L = /* @__PURE__ */ h({
|
|
78
80
|
"model-value": e.modelValue,
|
79
81
|
name: e.name,
|
80
82
|
reverse: e.reverse,
|
81
|
-
"show-hint":
|
83
|
+
"show-hint": u.value
|
82
84
|
}, {
|
83
|
-
label: n((
|
84
|
-
a(e.$slots, "label", i(l(
|
85
|
+
label: n((s) => [
|
86
|
+
a(e.$slots, "label", i(l(s)))
|
85
87
|
]),
|
86
|
-
input: n(({ id:
|
88
|
+
input: n(({ id: s, hasErrors: b, ariaDescribedby: f }) => [
|
87
89
|
$(q, T({
|
88
|
-
id:
|
90
|
+
id: s,
|
89
91
|
"add-options": e.addOptions,
|
90
92
|
"allow-writing": e.allowWriting,
|
91
93
|
"append:icon": r["append:icon"],
|
@@ -93,12 +95,13 @@ const L = /* @__PURE__ */ h({
|
|
93
95
|
autocomplete: e.autocomplete,
|
94
96
|
autofocus: e.autofocus,
|
95
97
|
comma: e.comma,
|
98
|
+
compact: e.compact,
|
96
99
|
dependencies: e.dependencies,
|
97
100
|
"deps-debounce-time": e.depsDebounceTime,
|
98
101
|
disabled: e.disabled,
|
99
102
|
"enforce-coherence": e.enforceCoherence,
|
100
103
|
"filter-by": e.filterBy,
|
101
|
-
"has-errors":
|
104
|
+
"has-errors": b,
|
102
105
|
"item-text": e.itemText,
|
103
106
|
"item-value": e.itemValue,
|
104
107
|
items: e.items,
|
@@ -121,7 +124,7 @@ const L = /* @__PURE__ */ h({
|
|
121
124
|
stash: e.stash,
|
122
125
|
"transition-duration": e.transitionDuration,
|
123
126
|
"update-on-animation-frame": e.updateOnAnimationFrame
|
124
|
-
},
|
127
|
+
}, c), {
|
125
128
|
"append-outer": n((o) => [
|
126
129
|
a(e.$slots, "append-outer", i(l(o)))
|
127
130
|
]),
|
@@ -168,10 +171,10 @@ const L = /* @__PURE__ */ h({
|
|
168
171
|
a(e.$slots, "spinner", i(l(o)))
|
169
172
|
]),
|
170
173
|
_: 2
|
171
|
-
}, 1040, ["id", "add-options", "allow-writing", "append:icon", "aria-describedby", "autocomplete", "autofocus", "comma", "dependencies", "deps-debounce-time", "disabled", "enforce-coherence", "filter-by", "has-errors", "item-text", "item-value", "items", "loading", "loading-text", "max", "max-selected-labels", "model-value", "model-value-debounce-time", "multiple", "name", "no-data-text", "placeholder", "prefill", "prepend:icon", "query-debounce-time", "readonly", "required", "reset-query-on-option-selected", "stash", "transition-duration", "update-on-animation-frame"])
|
174
|
+
}, 1040, ["id", "add-options", "allow-writing", "append:icon", "aria-describedby", "autocomplete", "autofocus", "comma", "compact", "dependencies", "deps-debounce-time", "disabled", "enforce-coherence", "filter-by", "has-errors", "item-text", "item-value", "items", "loading", "loading-text", "max", "max-selected-labels", "model-value", "model-value-debounce-time", "multiple", "name", "no-data-text", "placeholder", "prefill", "prepend:icon", "query-debounce-time", "readonly", "required", "reset-query-on-option-selected", "stash", "transition-duration", "update-on-animation-frame"])
|
172
175
|
]),
|
173
176
|
_: 3
|
174
|
-
}, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
177
|
+
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
175
178
|
}
|
176
179
|
});
|
177
180
|
export {
|