@adyen/bento-vue2 0.1.0 → 0.1.2
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/@types/components/avatar/avatar.vue.d.ts +13 -2
- package/dist/@types/components/button/button.vue.d.ts +1 -1
- package/dist/@types/components/currency/currency.types.d.ts +170 -0
- package/dist/@types/components/currency/currency.vue.d.ts +32 -0
- package/dist/@types/components/currency/index.d.ts +2 -0
- package/dist/@types/components/data-grid/data-grid.vue.d.ts +1 -0
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +53 -0
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +62 -21
- package/dist/@types/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +129 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/{dropdown-option/dropdown-option.vue.d.ts → dropdown-single-select-option/dropdown-single-select-option.vue.d.ts} +18 -4
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-single-select-option/index.d.ts +1 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +22 -13
- package/dist/@types/components/dropdown/components/dropdown-options-container/index.d.ts +1 -1
- package/dist/@types/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +128 -0
- package/dist/@types/components/dropdown/components/index.d.ts +1 -0
- package/dist/@types/components/dropdown/dropdown.types.d.ts +1 -0
- package/dist/@types/components/dropdown/dropdown.vue.d.ts +60 -1
- package/dist/@types/components/filter-bar/components/base-filter/components/filter-button/filter-button.vue.d.ts +32 -0
- package/dist/@types/components/search-bar/search-bar.vue.d.ts +1 -1
- package/dist/@types/components/search-bar/useSearchBarDataFilter.d.ts +2 -2
- package/dist/@types/components/tag/tag.vue.d.ts +10 -1
- package/dist/@types/components/user-profile/index.d.ts +1 -0
- package/dist/@types/components/user-profile/user-profile.vue.d.ts +40 -0
- package/dist/@types/components.d.ts +4 -0
- package/dist/@types/composables/index.d.ts +1 -0
- package/dist/@types/composables/initials.d.ts +3 -0
- package/dist/@types/index.d.ts +2 -0
- package/dist/@types/types/index.d.ts +1 -0
- package/dist/@types/types/prop-types.d.ts +1 -0
- package/dist/@types/utils/ts/currency/countries-list.d.ts +4 -0
- package/dist/@types/utils/ts/currency/currency.d.ts +6 -0
- package/dist/@types/utils/ts/currency/currency.types.d.ts +24 -0
- package/dist/@types/utils/ts/debounce/debounce.d.ts +1 -2
- package/dist/@types/utils/ts/deep-merge/deep-merge.d.ts +1 -0
- package/dist/@types/utils/ts/deep-merge/index.d.ts +1 -0
- package/dist/index.js +2671 -2169
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/@types/components/dropdown/components/dropdown-input-container/dropdown-input-container.vue.d.ts +0 -68
- package/dist/@types/components/dropdown/components/dropdown-input-container/index.d.ts +0 -1
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-option/index.d.ts +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BentoAvatarVariant } from './avatar.types';
|
|
2
|
+
import { BentoAvatarColor, BentoAvatarVariant } from './avatar.types';
|
|
3
3
|
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
src: {
|
|
@@ -15,11 +15,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
default: BentoAvatarVariant;
|
|
16
16
|
validator: (value: BentoAvatarVariant) => boolean;
|
|
17
17
|
};
|
|
18
|
+
color: {
|
|
19
|
+
type: PropType<BentoAvatarColor>;
|
|
20
|
+
default: BentoAvatarColor;
|
|
21
|
+
validator: (value: BentoAvatarColor) => boolean;
|
|
22
|
+
};
|
|
18
23
|
}, {
|
|
19
24
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
20
25
|
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
21
26
|
conditionalClasses: import("vue").ComputedRef<{
|
|
22
|
-
[x: string]:
|
|
27
|
+
[x: string]: boolean | BentoAvatarColor;
|
|
23
28
|
}>;
|
|
24
29
|
initials: import("vue").ComputedRef<string>;
|
|
25
30
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -36,7 +41,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
41
|
default: BentoAvatarVariant;
|
|
37
42
|
validator: (value: BentoAvatarVariant) => boolean;
|
|
38
43
|
};
|
|
44
|
+
color: {
|
|
45
|
+
type: PropType<BentoAvatarColor>;
|
|
46
|
+
default: BentoAvatarColor;
|
|
47
|
+
validator: (value: BentoAvatarColor) => boolean;
|
|
48
|
+
};
|
|
39
49
|
}>>, {
|
|
50
|
+
color: BentoAvatarColor;
|
|
40
51
|
src: string;
|
|
41
52
|
variant: BentoAvatarVariant;
|
|
42
53
|
username: string;
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
conditionalClasses: import("vue").ComputedRef<{
|
|
31
31
|
[x: string]: boolean;
|
|
32
32
|
}>;
|
|
33
|
-
onClickButton: () => void;
|
|
33
|
+
onClickButton: (e: MouseEvent) => void;
|
|
34
34
|
hasSlot: (name: string) => boolean;
|
|
35
35
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("blur" | "click" | "focus" | "keydown.esc")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
36
36
|
disabled: {
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
export declare enum BentoCurrencyISOCode {
|
|
2
|
+
AFA = "AFA",
|
|
3
|
+
ALL = "ALL",
|
|
4
|
+
DZD = "DZD",
|
|
5
|
+
AOA = "AOA",
|
|
6
|
+
ARS = "ARS",
|
|
7
|
+
AMD = "AMD",
|
|
8
|
+
AWG = "AWG",
|
|
9
|
+
AUD = "AUD",
|
|
10
|
+
AZN = "AZN",
|
|
11
|
+
BSD = "BSD",
|
|
12
|
+
BHD = "BHD",
|
|
13
|
+
BDT = "BDT",
|
|
14
|
+
BBD = "BBD",
|
|
15
|
+
BYR = "BYR",
|
|
16
|
+
BEF = "BEF",
|
|
17
|
+
BZD = "BZD",
|
|
18
|
+
BMD = "BMD",
|
|
19
|
+
BTN = "BTN",
|
|
20
|
+
BTC = "BTC",
|
|
21
|
+
BOB = "BOB",
|
|
22
|
+
BAM = "BAM",
|
|
23
|
+
BWP = "BWP",
|
|
24
|
+
BRL = "BRL",
|
|
25
|
+
GBP = "GBP",
|
|
26
|
+
BND = "BND",
|
|
27
|
+
BGN = "BGN",
|
|
28
|
+
BIF = "BIF",
|
|
29
|
+
KHR = "KHR",
|
|
30
|
+
CAD = "CAD",
|
|
31
|
+
CVE = "CVE",
|
|
32
|
+
KYD = "KYD",
|
|
33
|
+
XOF = "XOF",
|
|
34
|
+
XAF = "XAF",
|
|
35
|
+
XPF = "XPF",
|
|
36
|
+
CLP = "CLP",
|
|
37
|
+
CLF = "CLF",
|
|
38
|
+
CNY = "CNY",
|
|
39
|
+
COP = "COP",
|
|
40
|
+
KMF = "KMF",
|
|
41
|
+
CDF = "CDF",
|
|
42
|
+
CRC = "CRC",
|
|
43
|
+
HRK = "HRK",
|
|
44
|
+
CUC = "CUC",
|
|
45
|
+
CZK = "CZK",
|
|
46
|
+
DKK = "DKK",
|
|
47
|
+
DJF = "DJF",
|
|
48
|
+
DOP = "DOP",
|
|
49
|
+
XCD = "XCD",
|
|
50
|
+
EGP = "EGP",
|
|
51
|
+
ERN = "ERN",
|
|
52
|
+
EEK = "EEK",
|
|
53
|
+
ETB = "ETB",
|
|
54
|
+
EUR = "EUR",
|
|
55
|
+
FKP = "FKP",
|
|
56
|
+
FJD = "FJD",
|
|
57
|
+
GMD = "GMD",
|
|
58
|
+
GEL = "GEL",
|
|
59
|
+
DEM = "DEM",
|
|
60
|
+
GHS = "GHS",
|
|
61
|
+
GIP = "GIP",
|
|
62
|
+
GRD = "GRD",
|
|
63
|
+
GTQ = "GTQ",
|
|
64
|
+
GNF = "GNF",
|
|
65
|
+
GYD = "GYD",
|
|
66
|
+
HTG = "HTG",
|
|
67
|
+
HNL = "HNL",
|
|
68
|
+
HKD = "HKD",
|
|
69
|
+
HUF = "HUF",
|
|
70
|
+
ISK = "ISK",
|
|
71
|
+
INR = "INR",
|
|
72
|
+
IDR = "IDR",
|
|
73
|
+
IRR = "IRR",
|
|
74
|
+
IQD = "IQD",
|
|
75
|
+
ILS = "ILS",
|
|
76
|
+
ITL = "ITL",
|
|
77
|
+
JMD = "JMD",
|
|
78
|
+
JPY = "JPY",
|
|
79
|
+
JOD = "JOD",
|
|
80
|
+
KZT = "KZT",
|
|
81
|
+
KES = "KES",
|
|
82
|
+
KWD = "KWD",
|
|
83
|
+
KGS = "KGS",
|
|
84
|
+
LAK = "LAK",
|
|
85
|
+
LVL = "LVL",
|
|
86
|
+
LBP = "LBP",
|
|
87
|
+
LSL = "LSL",
|
|
88
|
+
LRD = "LRD",
|
|
89
|
+
LYD = "LYD",
|
|
90
|
+
LTC = "LTC",
|
|
91
|
+
LTL = "LTL",
|
|
92
|
+
MOP = "MOP",
|
|
93
|
+
MKD = "MKD",
|
|
94
|
+
MGA = "MGA",
|
|
95
|
+
MWK = "MWK",
|
|
96
|
+
MYR = "MYR",
|
|
97
|
+
MVR = "MVR",
|
|
98
|
+
MRO = "MRO",
|
|
99
|
+
MUR = "MUR",
|
|
100
|
+
MXN = "MXN",
|
|
101
|
+
MDL = "MDL",
|
|
102
|
+
MNT = "MNT",
|
|
103
|
+
MAD = "MAD",
|
|
104
|
+
MZM = "MZM",
|
|
105
|
+
MMK = "MMK",
|
|
106
|
+
NAD = "NAD",
|
|
107
|
+
NPR = "NPR",
|
|
108
|
+
ANG = "ANG",
|
|
109
|
+
TWD = "TWD",
|
|
110
|
+
NZD = "NZD",
|
|
111
|
+
NIO = "NIO",
|
|
112
|
+
NGN = "NGN",
|
|
113
|
+
KPW = "KPW",
|
|
114
|
+
NOK = "NOK",
|
|
115
|
+
OMR = "OMR",
|
|
116
|
+
PKR = "PKR",
|
|
117
|
+
PAB = "PAB",
|
|
118
|
+
PGK = "PGK",
|
|
119
|
+
PYG = "PYG",
|
|
120
|
+
PEN = "PEN",
|
|
121
|
+
PHP = "PHP",
|
|
122
|
+
PLN = "PLN",
|
|
123
|
+
QAR = "QAR",
|
|
124
|
+
RON = "RON",
|
|
125
|
+
RUB = "RUB",
|
|
126
|
+
RWF = "RWF",
|
|
127
|
+
SVC = "SVC",
|
|
128
|
+
WST = "WST",
|
|
129
|
+
STD = "STD",
|
|
130
|
+
SAR = "SAR",
|
|
131
|
+
RSD = "RSD",
|
|
132
|
+
SCR = "SCR",
|
|
133
|
+
SLL = "SLL",
|
|
134
|
+
SGD = "SGD",
|
|
135
|
+
SKK = "SKK",
|
|
136
|
+
SBD = "SBD",
|
|
137
|
+
SOS = "SOS",
|
|
138
|
+
ZAR = "ZAR",
|
|
139
|
+
KRW = "KRW",
|
|
140
|
+
SSP = "SSP",
|
|
141
|
+
XDR = "XDR",
|
|
142
|
+
LKR = "LKR",
|
|
143
|
+
SHP = "SHP",
|
|
144
|
+
SDG = "SDG",
|
|
145
|
+
SRD = "SRD",
|
|
146
|
+
SZL = "SZL",
|
|
147
|
+
SEK = "SEK",
|
|
148
|
+
CHF = "CHF",
|
|
149
|
+
SYP = "SYP",
|
|
150
|
+
TJS = "TJS",
|
|
151
|
+
TZS = "TZS",
|
|
152
|
+
THB = "THB",
|
|
153
|
+
TOP = "TOP",
|
|
154
|
+
TTD = "TTD",
|
|
155
|
+
TND = "TND",
|
|
156
|
+
TRY = "TRY",
|
|
157
|
+
TMT = "TMT",
|
|
158
|
+
UGX = "UGX",
|
|
159
|
+
UAH = "UAH",
|
|
160
|
+
AED = "AED",
|
|
161
|
+
UYU = "UYU",
|
|
162
|
+
USD = "USD",
|
|
163
|
+
UZS = "UZS",
|
|
164
|
+
VUV = "VUV",
|
|
165
|
+
VEF = "VEF",
|
|
166
|
+
VND = "VND",
|
|
167
|
+
YER = "YER",
|
|
168
|
+
ZMK = "ZMK",
|
|
169
|
+
ZWL = "ZWL"
|
|
170
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
3
|
+
import { BentoCurrencyISOCode } from '@/components/currency/currency.types';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
currency: {
|
|
6
|
+
type: PropType<BentoCurrencyISOCode>;
|
|
7
|
+
default: BentoCurrencyISOCode;
|
|
8
|
+
validator: (value: BentoCurrencyISOCode) => boolean;
|
|
9
|
+
};
|
|
10
|
+
shorthand: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
formattedCurrency: import("vue").ComputedRef<string>;
|
|
16
|
+
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
17
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
18
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
currency: {
|
|
20
|
+
type: PropType<BentoCurrencyISOCode>;
|
|
21
|
+
default: BentoCurrencyISOCode;
|
|
22
|
+
validator: (value: BentoCurrencyISOCode) => boolean;
|
|
23
|
+
};
|
|
24
|
+
shorthand: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
}>>, {
|
|
29
|
+
currency: BentoCurrencyISOCode;
|
|
30
|
+
shorthand: boolean;
|
|
31
|
+
}>;
|
|
32
|
+
export default _default;
|
|
@@ -133,6 +133,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
133
133
|
}[]>;
|
|
134
134
|
ariaGridHeaderText: import("vue").ComputedRef<string>;
|
|
135
135
|
conditionalTitleAttribute: (column: BentoColumn, content: unknown) => string;
|
|
136
|
+
getRowData: (rowData: unknown) => unknown;
|
|
136
137
|
gridColumnWidthStyle: import("vue").ComputedRef<{
|
|
137
138
|
gridTemplateColumns: string;
|
|
138
139
|
gridColumnEnd: number;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Booleanish } from '../../../../types';
|
|
3
|
+
export declare const DropdownBaseTextboxProps: {
|
|
4
|
+
additionalItemsSelected: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
dynamicFiltering: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
ariaControls: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: boolean;
|
|
15
|
+
};
|
|
16
|
+
ariaExpanded: {
|
|
17
|
+
type: PropType<Booleanish>;
|
|
18
|
+
required: boolean;
|
|
19
|
+
};
|
|
20
|
+
ariaLabelledby: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: any;
|
|
23
|
+
};
|
|
24
|
+
disabled: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
isInvalid: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
displayValue: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: any;
|
|
35
|
+
};
|
|
36
|
+
open: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
placeholder: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: any;
|
|
43
|
+
};
|
|
44
|
+
value: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
debounceTime: {
|
|
49
|
+
type: NumberConstructor;
|
|
50
|
+
default: number;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export default DropdownBaseTextboxProps;
|
|
@@ -1,26 +1,33 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
1
2
|
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
3
|
+
import { Booleanish } from '@/types';
|
|
4
|
+
import type { HTMLAttributes } from 'vue/types/jsx';
|
|
2
5
|
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
|
|
4
|
-
type:
|
|
5
|
-
default:
|
|
6
|
+
additionalItemsSelected: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
6
9
|
};
|
|
7
10
|
ariaControls: {
|
|
8
11
|
type: StringConstructor;
|
|
9
12
|
required: true;
|
|
10
13
|
};
|
|
11
14
|
ariaExpanded: {
|
|
12
|
-
type:
|
|
15
|
+
type: PropType<Booleanish>;
|
|
13
16
|
required: true;
|
|
14
17
|
};
|
|
18
|
+
ariaLabel: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: any;
|
|
21
|
+
};
|
|
15
22
|
ariaLabelledby: {
|
|
16
23
|
type: StringConstructor;
|
|
17
24
|
default: any;
|
|
18
25
|
};
|
|
19
|
-
|
|
20
|
-
type:
|
|
21
|
-
default:
|
|
26
|
+
debounceTime: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
default: number;
|
|
22
29
|
};
|
|
23
|
-
|
|
30
|
+
disabled: {
|
|
24
31
|
type: BooleanConstructor;
|
|
25
32
|
default: boolean;
|
|
26
33
|
};
|
|
@@ -28,6 +35,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
35
|
type: StringConstructor;
|
|
29
36
|
default: any;
|
|
30
37
|
};
|
|
38
|
+
dynamicFiltering: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
isInvalid: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
31
46
|
open: {
|
|
32
47
|
type: BooleanConstructor;
|
|
33
48
|
default: boolean;
|
|
@@ -36,6 +51,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
51
|
type: StringConstructor;
|
|
37
52
|
default: any;
|
|
38
53
|
};
|
|
54
|
+
value: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
39
58
|
}, {
|
|
40
59
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
41
60
|
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
@@ -43,36 +62,42 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
62
|
'b-dropdown-base-textbox--disabled': boolean;
|
|
44
63
|
}>;
|
|
45
64
|
computedDisplayValue: import("vue").ComputedRef<string>;
|
|
46
|
-
computedDropdownTextbox: import("vue").ComputedRef<"div" | "input">;
|
|
47
|
-
isInputField: import("vue").ComputedRef<boolean>;
|
|
48
65
|
shouldShowPlaceholder: import("vue").ComputedRef<boolean>;
|
|
49
66
|
textboxId: string;
|
|
50
67
|
textbox: any;
|
|
68
|
+
isFiltering: import("vue").ComputedRef<boolean>;
|
|
69
|
+
ariaAttributes: import("vue").ComputedRef<HTMLAttributes>;
|
|
51
70
|
onCloseDropdown: () => void;
|
|
52
71
|
onToggleDropdown: () => void;
|
|
72
|
+
onClearSearch: () => void;
|
|
73
|
+
onInputEvent: (event: Event) => void;
|
|
53
74
|
hasSlot: (name: string) => boolean;
|
|
54
|
-
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("open" | "close")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
-
|
|
56
|
-
type:
|
|
57
|
-
default:
|
|
75
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("input" | "open" | "clear" | "close")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
76
|
+
additionalItemsSelected: {
|
|
77
|
+
type: NumberConstructor;
|
|
78
|
+
default: number;
|
|
58
79
|
};
|
|
59
80
|
ariaControls: {
|
|
60
81
|
type: StringConstructor;
|
|
61
82
|
required: true;
|
|
62
83
|
};
|
|
63
84
|
ariaExpanded: {
|
|
64
|
-
type:
|
|
85
|
+
type: PropType<Booleanish>;
|
|
65
86
|
required: true;
|
|
66
87
|
};
|
|
88
|
+
ariaLabel: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: any;
|
|
91
|
+
};
|
|
67
92
|
ariaLabelledby: {
|
|
68
93
|
type: StringConstructor;
|
|
69
94
|
default: any;
|
|
70
95
|
};
|
|
71
|
-
|
|
72
|
-
type:
|
|
73
|
-
default:
|
|
96
|
+
debounceTime: {
|
|
97
|
+
type: NumberConstructor;
|
|
98
|
+
default: number;
|
|
74
99
|
};
|
|
75
|
-
|
|
100
|
+
disabled: {
|
|
76
101
|
type: BooleanConstructor;
|
|
77
102
|
default: boolean;
|
|
78
103
|
};
|
|
@@ -80,6 +105,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
105
|
type: StringConstructor;
|
|
81
106
|
default: any;
|
|
82
107
|
};
|
|
108
|
+
dynamicFiltering: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
isInvalid: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
83
116
|
open: {
|
|
84
117
|
type: BooleanConstructor;
|
|
85
118
|
default: boolean;
|
|
@@ -88,13 +121,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
88
121
|
type: StringConstructor;
|
|
89
122
|
default: any;
|
|
90
123
|
};
|
|
124
|
+
value: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
91
128
|
}>>, {
|
|
92
129
|
open: boolean;
|
|
130
|
+
value: string;
|
|
131
|
+
ariaLabel: string;
|
|
93
132
|
disabled: boolean;
|
|
94
133
|
placeholder: string;
|
|
95
|
-
|
|
96
|
-
|
|
134
|
+
debounceTime: number;
|
|
135
|
+
additionalItemsSelected: number;
|
|
97
136
|
ariaLabelledby: string;
|
|
137
|
+
displayValue: string;
|
|
138
|
+
dynamicFiltering: boolean;
|
|
98
139
|
isInvalid: boolean;
|
|
99
140
|
}>;
|
|
100
141
|
export default _default;
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Booleanish } from '../../../../types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
additionalItemsSelected: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
ariaControls: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
ariaExpanded: {
|
|
13
|
+
type: PropType<Booleanish>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
ariaLabel: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: any;
|
|
19
|
+
};
|
|
20
|
+
ariaLabelledby: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: any;
|
|
23
|
+
};
|
|
24
|
+
debounceTime: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
28
|
+
disabled: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
displayValue: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: any;
|
|
35
|
+
};
|
|
36
|
+
dynamicFiltering: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
isInvalid: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
open: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
placeholder: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: any;
|
|
51
|
+
};
|
|
52
|
+
value: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
}, {
|
|
57
|
+
conditionalClasses: import("vue").ComputedRef<{
|
|
58
|
+
'b-dropdown-default-textbox--error': boolean;
|
|
59
|
+
'b-dropdown-default-textbox--disabled': boolean;
|
|
60
|
+
'b-dropdown-default-textbox--opened': boolean;
|
|
61
|
+
}>;
|
|
62
|
+
isDropdownOpen: import("vue").ComputedRef<boolean>;
|
|
63
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("input" | "open" | "clear" | "close")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
64
|
+
additionalItemsSelected: {
|
|
65
|
+
type: NumberConstructor;
|
|
66
|
+
default: number;
|
|
67
|
+
};
|
|
68
|
+
ariaControls: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
required: true;
|
|
71
|
+
};
|
|
72
|
+
ariaExpanded: {
|
|
73
|
+
type: PropType<Booleanish>;
|
|
74
|
+
required: true;
|
|
75
|
+
};
|
|
76
|
+
ariaLabel: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: any;
|
|
79
|
+
};
|
|
80
|
+
ariaLabelledby: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: any;
|
|
83
|
+
};
|
|
84
|
+
debounceTime: {
|
|
85
|
+
type: NumberConstructor;
|
|
86
|
+
default: number;
|
|
87
|
+
};
|
|
88
|
+
disabled: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
displayValue: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: any;
|
|
95
|
+
};
|
|
96
|
+
dynamicFiltering: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
isInvalid: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
open: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
placeholder: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: any;
|
|
111
|
+
};
|
|
112
|
+
value: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
116
|
+
}>>, {
|
|
117
|
+
open: boolean;
|
|
118
|
+
value: string;
|
|
119
|
+
ariaLabel: string;
|
|
120
|
+
disabled: boolean;
|
|
121
|
+
placeholder: string;
|
|
122
|
+
debounceTime: number;
|
|
123
|
+
additionalItemsSelected: number;
|
|
124
|
+
ariaLabelledby: string;
|
|
125
|
+
displayValue: string;
|
|
126
|
+
dynamicFiltering: boolean;
|
|
127
|
+
isInvalid: boolean;
|
|
128
|
+
}>;
|
|
129
|
+
export default _default;
|
|
@@ -1,23 +1,32 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { BentoTypographyElement } from '@/components/typography';
|
|
3
|
+
import type { AdlDropdownValue as BentoDropdownValue } from '@/components/dropdown/dropdown.types';
|
|
3
4
|
declare const _default: import("vue").DefineComponent<{
|
|
4
5
|
label: {
|
|
5
6
|
type: StringConstructor;
|
|
6
7
|
required: true;
|
|
7
8
|
};
|
|
8
9
|
value: {
|
|
9
|
-
type: PropType<
|
|
10
|
+
type: PropType<BentoDropdownValue>;
|
|
10
11
|
required: true;
|
|
11
12
|
};
|
|
12
13
|
selected: {
|
|
13
14
|
type: BooleanConstructor;
|
|
14
15
|
default: boolean;
|
|
15
16
|
};
|
|
17
|
+
disabled: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
16
21
|
}, {
|
|
17
22
|
conditionalClasses: import("vue").ComputedRef<{
|
|
18
|
-
'
|
|
23
|
+
'b-dropdown-single-select-option--disabled': boolean;
|
|
24
|
+
'b-dropdown-single-select-option--selected': boolean;
|
|
19
25
|
}>;
|
|
26
|
+
ariaDisabled: import("vue").ComputedRef<boolean>;
|
|
20
27
|
ariaSelected: import("vue").ComputedRef<boolean>;
|
|
28
|
+
tabIndex: import("vue").ComputedRef<0 | -1>;
|
|
29
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
21
30
|
onOptionSelected: () => void;
|
|
22
31
|
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, "select"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
23
32
|
label: {
|
|
@@ -25,14 +34,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
34
|
required: true;
|
|
26
35
|
};
|
|
27
36
|
value: {
|
|
28
|
-
type: PropType<
|
|
37
|
+
type: PropType<BentoDropdownValue>;
|
|
29
38
|
required: true;
|
|
30
39
|
};
|
|
31
40
|
selected: {
|
|
32
41
|
type: BooleanConstructor;
|
|
33
42
|
default: boolean;
|
|
34
43
|
};
|
|
44
|
+
disabled: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
35
48
|
}>>, {
|
|
49
|
+
disabled: boolean;
|
|
36
50
|
selected: boolean;
|
|
37
51
|
}>;
|
|
38
52
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BentoDropdownSingleSelectOption } from './dropdown-single-select-option.vue';
|