@aurodesignsystem/auro-formkit 2.0.0-beta.11 → 2.0.0-beta.13
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/.turbo/cache/0c8124a987c1cc05-meta.json +1 -1
- package/.turbo/cache/18129dba20f51b6b-meta.json +1 -1
- package/.turbo/cache/1ad033a815d5d141-meta.json +1 -0
- package/.turbo/cache/{98317b0d14d94df7.tar.zst → 1ad033a815d5d141.tar.zst} +0 -0
- package/.turbo/cache/1badd6a7be324316-meta.json +1 -0
- package/.turbo/cache/1d1101e22cfdd7ae-meta.json +1 -0
- package/.turbo/cache/{f3c7b40f2c6a4094.tar.zst → 1d1101e22cfdd7ae.tar.zst} +0 -0
- package/.turbo/cache/2787020e69f50af2-meta.json +1 -1
- package/.turbo/cache/2c0d681132c153dd-meta.json +1 -1
- package/.turbo/cache/32b28967b56d244d-meta.json +1 -0
- package/.turbo/cache/338dc597861e8610-meta.json +1 -0
- package/.turbo/cache/338dc597861e8610.tar.zst +0 -0
- package/.turbo/cache/4006a206400d5c7b-meta.json +1 -1
- package/.turbo/cache/492dda333b8d15f1-meta.json +1 -1
- package/.turbo/cache/50993de942ec15a9-meta.json +1 -1
- package/.turbo/cache/50cd7dcfc9f820c5-meta.json +1 -1
- package/.turbo/cache/515cd0fcaf1be153-meta.json +1 -0
- package/.turbo/cache/{0cd512cdf86242c7.tar.zst → 515cd0fcaf1be153.tar.zst} +0 -0
- package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -1
- package/.turbo/cache/57ef0d09fc16c822-meta.json +1 -0
- package/.turbo/cache/{fd5ddfa43ebd8e5c.tar.zst → 57ef0d09fc16c822.tar.zst} +0 -0
- package/.turbo/cache/6081837e8943b62e-meta.json +1 -1
- package/.turbo/cache/60ad74320c682a2b-meta.json +1 -1
- package/.turbo/cache/61e218aba69cff58-meta.json +1 -1
- package/.turbo/cache/6506de5d561d4b0a-meta.json +1 -0
- package/.turbo/cache/6506de5d561d4b0a.tar.zst +0 -0
- package/.turbo/cache/68f332a76b89207d-meta.json +1 -0
- package/.turbo/cache/68f332a76b89207d.tar.zst +0 -0
- package/.turbo/cache/69709e2757f611ba-meta.json +1 -0
- package/.turbo/cache/71ad64025e29882c-meta.json +1 -0
- package/.turbo/cache/7709f6d0b8e9128c-meta.json +1 -0
- package/.turbo/cache/7709f6d0b8e9128c.tar.zst +0 -0
- package/.turbo/cache/77da375a012de9d0-meta.json +1 -1
- package/.turbo/cache/78fa90dd39b41ad0-meta.json +1 -0
- package/.turbo/cache/7964d1656e9e702a-meta.json +1 -1
- package/.turbo/cache/7a3d3f6c95cc07d0-meta.json +1 -0
- package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -1
- package/.turbo/cache/7c9ca6163e61285c-meta.json +1 -1
- package/.turbo/cache/899511cbbc19575f-meta.json +1 -0
- package/.turbo/cache/899511cbbc19575f.tar.zst +0 -0
- package/.turbo/cache/8bb856bd31b5b479-meta.json +1 -1
- package/.turbo/cache/9ae99e8e7bd83d06-meta.json +1 -1
- package/.turbo/cache/9b39333fcd766d6c-meta.json +1 -0
- package/.turbo/cache/{9cbcd13b1d031f63.tar.zst → 9b39333fcd766d6c.tar.zst} +0 -0
- package/.turbo/cache/a92e41c6c847cf3d-meta.json +1 -0
- package/.turbo/cache/{5a0d3e26da304c62.tar.zst → a92e41c6c847cf3d.tar.zst} +0 -0
- package/.turbo/cache/aeda5fcc7c0a1677-meta.json +1 -0
- package/.turbo/cache/{93c887fb93a10daa.tar.zst → aeda5fcc7c0a1677.tar.zst} +0 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -1
- package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -1
- package/.turbo/cache/bab4eb0eea62ea5a-meta.json +1 -0
- package/.turbo/cache/be0b95293ea517cc-meta.json +1 -1
- package/.turbo/cache/c35b8ad2393cf6dd-meta.json +1 -0
- package/.turbo/cache/{4e3619d9dfc86809.tar.zst → c35b8ad2393cf6dd.tar.zst} +0 -0
- package/.turbo/cache/c4115ce49719f4ed-meta.json +1 -0
- package/.turbo/cache/c44efc9e4ddd8a0e-meta.json +1 -1
- package/.turbo/cache/c60c3e77395a0986-meta.json +1 -0
- package/.turbo/cache/{df40b180126e5351.tar.zst → c60c3e77395a0986.tar.zst} +0 -0
- package/.turbo/cache/c6c6411199b68170-meta.json +1 -1
- package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -1
- package/.turbo/cache/d775555355d6b8fc-meta.json +1 -1
- package/.turbo/cache/d7c3007be148d2a1-meta.json +1 -1
- package/.turbo/cache/d985aeb8931cbd36-meta.json +1 -0
- package/.turbo/cache/dad3d78b33edd9e4-meta.json +1 -1
- package/.turbo/cache/dc597b3ea4f61ec8-meta.json +1 -1
- package/.turbo/cache/e46ab86a358d1bde-meta.json +1 -0
- package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -1
- package/.turbo/cache/e9e36823f6c98f07-meta.json +1 -1
- package/.turbo/cache/ed628dd85d0ad81e-meta.json +1 -0
- package/.turbo/cache/ed628dd85d0ad81e.tar.zst +0 -0
- package/.turbo/cache/ee09a6d843ff0472-meta.json +1 -0
- package/.turbo/cache/eee0dba88fb565a1-meta.json +1 -0
- package/.turbo/cache/f3f8fd561572d247-meta.json +1 -0
- package/.turbo/cache/{fb3809ac3f90e3b2.tar.zst → f3f8fd561572d247.tar.zst} +0 -0
- package/.turbo/cache/fd803ebed54accd1-meta.json +1 -0
- package/.turbo/cache/fd803ebed54accd1.tar.zst +0 -0
- package/CHANGELOG.md +19 -0
- package/components/checkbox/.turbo/turbo-build.log +3 -3
- package/components/checkbox/.turbo/turbo-bundler.log +3 -3
- package/components/checkbox/README.md +1 -1
- package/components/combobox/.turbo/turbo-build.log +3 -3
- package/components/combobox/README.md +4 -4
- package/components/combobox/demo/api.md +15 -14
- package/components/combobox/demo/api.min.js +90 -79
- package/components/combobox/demo/index.min.js +90 -79
- package/components/combobox/dist/auro-combobox.d.ts +63 -78
- package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
- package/components/combobox/dist/index.js +90 -79
- package/components/combobox/src/auro-combobox.js +90 -79
- package/components/counter/.turbo/turbo-build.log +3 -3
- package/components/counter/.turbo/turbo-bundler.log +2 -2
- package/components/counter/README.md +1 -1
- package/components/datepicker/.turbo/turbo-build.log +2 -2
- package/components/datepicker/README.md +4 -4
- package/components/dropdown/.turbo/turbo-build.log +3 -3
- package/components/dropdown/.turbo/turbo-bundler.log +3 -3
- package/components/dropdown/README.md +1 -1
- package/components/form/.turbo/turbo-build.log +3 -3
- package/components/form/.turbo/turbo-bundler.log +3 -3
- package/components/form/README.md +1 -1
- package/components/input/.turbo/turbo-build.log +2 -2
- package/components/input/.turbo/turbo-bundler.log +3 -3
- package/components/input/README.md +1 -1
- package/components/menu/.turbo/turbo-build.log +3 -3
- package/components/menu/.turbo/turbo-bundler.log +3 -3
- package/components/menu/README.md +1 -1
- package/components/radio/.turbo/turbo-build.log +3 -3
- package/components/radio/.turbo/turbo-bundler.log +3 -3
- package/components/radio/README.md +1 -1
- package/components/select/.turbo/turbo-build.log +3 -3
- package/components/select/README.md +3 -3
- package/package.json +1 -1
- package/.turbo/cache/0cd512cdf86242c7-meta.json +0 -1
- package/.turbo/cache/123c83cd8727dff3-meta.json +0 -1
- package/.turbo/cache/253e861af7025ed4-meta.json +0 -1
- package/.turbo/cache/253e861af7025ed4.tar.zst +0 -0
- package/.turbo/cache/2a5295c8f561ed84-meta.json +0 -1
- package/.turbo/cache/4e3619d9dfc86809-meta.json +0 -1
- package/.turbo/cache/5a0d3e26da304c62-meta.json +0 -1
- package/.turbo/cache/5c960af698582835-meta.json +0 -1
- package/.turbo/cache/5c960af698582835.tar.zst +0 -0
- package/.turbo/cache/5dbbb71dffc3f542-meta.json +0 -1
- package/.turbo/cache/5dbbb71dffc3f542.tar.zst +0 -0
- package/.turbo/cache/80aca269cd346fb4-meta.json +0 -1
- package/.turbo/cache/80aca269cd346fb4.tar.zst +0 -0
- package/.turbo/cache/8602fc2bb737a5cf-meta.json +0 -1
- package/.turbo/cache/89e0e7a6148e854f-meta.json +0 -1
- package/.turbo/cache/89e0e7a6148e854f.tar.zst +0 -0
- package/.turbo/cache/93c887fb93a10daa-meta.json +0 -1
- package/.turbo/cache/94dae2a64e9d8356-meta.json +0 -1
- package/.turbo/cache/97f6fe83b54acf09-meta.json +0 -1
- package/.turbo/cache/97f6fe83b54acf09.tar.zst +0 -0
- package/.turbo/cache/98317b0d14d94df7-meta.json +0 -1
- package/.turbo/cache/9cbcd13b1d031f63-meta.json +0 -1
- package/.turbo/cache/afbbd49ed1a558b9-meta.json +0 -1
- package/.turbo/cache/b353ce8f6da43dea-meta.json +0 -1
- package/.turbo/cache/b8db059a9b9ccb5d-meta.json +0 -1
- package/.turbo/cache/bc24a38aa1b1a102-meta.json +0 -1
- package/.turbo/cache/c3a4f7a3565d6706-meta.json +0 -1
- package/.turbo/cache/c97b043e748e3580-meta.json +0 -1
- package/.turbo/cache/df40b180126e5351-meta.json +0 -1
- package/.turbo/cache/e5f217f77c32c93b-meta.json +0 -1
- package/.turbo/cache/e5f217f77c32c93b.tar.zst +0 -0
- package/.turbo/cache/ee1a3c1fe389da51-meta.json +0 -1
- package/.turbo/cache/f3c7b40f2c6a4094-meta.json +0 -1
- package/.turbo/cache/f5958c3acb889631-meta.json +0 -1
- package/.turbo/cache/fb3809ac3f90e3b2-meta.json +0 -1
- package/.turbo/cache/fd5ddfa43ebd8e5c-meta.json +0 -1
- /package/.turbo/cache/{8602fc2bb737a5cf.tar.zst → 1badd6a7be324316.tar.zst} +0 -0
- /package/.turbo/cache/{bc24a38aa1b1a102.tar.zst → 32b28967b56d244d.tar.zst} +0 -0
- /package/.turbo/cache/{f5958c3acb889631.tar.zst → 69709e2757f611ba.tar.zst} +0 -0
- /package/.turbo/cache/{123c83cd8727dff3.tar.zst → 71ad64025e29882c.tar.zst} +0 -0
- /package/.turbo/cache/{c97b043e748e3580.tar.zst → 78fa90dd39b41ad0.tar.zst} +0 -0
- /package/.turbo/cache/{b8db059a9b9ccb5d.tar.zst → 7a3d3f6c95cc07d0.tar.zst} +0 -0
- /package/.turbo/cache/{afbbd49ed1a558b9.tar.zst → bab4eb0eea62ea5a.tar.zst} +0 -0
- /package/.turbo/cache/{ee1a3c1fe389da51.tar.zst → c4115ce49719f4ed.tar.zst} +0 -0
- /package/.turbo/cache/{94dae2a64e9d8356.tar.zst → d985aeb8931cbd36.tar.zst} +0 -0
- /package/.turbo/cache/{2a5295c8f561ed84.tar.zst → e46ab86a358d1bde.tar.zst} +0 -0
- /package/.turbo/cache/{c3a4f7a3565d6706.tar.zst → ee09a6d843ff0472.tar.zst} +0 -0
- /package/.turbo/cache/{b353ce8f6da43dea.tar.zst → eee0dba88fb565a1.tar.zst} +0 -0
|
@@ -1,18 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @prop {Object} optionSelected - Specifies the current selected option.
|
|
3
|
-
* @prop {String} value - Value selected for the dropdown menu.
|
|
4
|
-
* @prop {Boolean} checkmark - When attribute is present auro-menu will apply checkmarks to selected options.
|
|
5
|
-
* @attr {String} error - When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
6
|
-
* @attr {String} validity - Specifies the `validityState` this element is in.
|
|
7
|
-
* @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
|
|
8
|
-
* @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
|
|
9
|
-
* @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
|
|
10
|
-
* @attr {Boolean} disabled - If set, disables the combobox.
|
|
11
|
-
* @attr {Boolean} noFilter - If set, combobox will not filter menuoptions based in input.
|
|
12
|
-
* @attr {Boolean} noValidate - If set, disables auto-validation on blur.
|
|
13
|
-
* @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
|
|
14
|
-
* @attr {Boolean} triggerIcon - If set, the `icon` attribute will be applied to the trigger `auro-input` element.
|
|
15
|
-
* @attr {String} type - Applies the defined value as the type attribute on auro-input.
|
|
16
2
|
* @slot - Default slot for the menu content.
|
|
17
3
|
* @slot label - Defines the content of the label.
|
|
18
4
|
* @slot helpText - Defines the content of the helpText.
|
|
@@ -21,100 +7,107 @@
|
|
|
21
7
|
*/
|
|
22
8
|
export class AuroCombobox extends LitElement {
|
|
23
9
|
static get properties(): {
|
|
24
|
-
|
|
10
|
+
/**
|
|
11
|
+
* An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
12
|
+
*/
|
|
13
|
+
autocomplete: {
|
|
25
14
|
type: StringConstructor;
|
|
26
15
|
reflect: boolean;
|
|
27
16
|
};
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
type:
|
|
33
|
-
};
|
|
34
|
-
setCustomValidityValueMissing: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
};
|
|
37
|
-
validity: {
|
|
38
|
-
type: StringConstructor;
|
|
17
|
+
/**
|
|
18
|
+
* When attribute is present auro-menu will apply checkmarks to selected options.
|
|
19
|
+
*/
|
|
20
|
+
checkmark: {
|
|
21
|
+
type: BooleanConstructor;
|
|
39
22
|
reflect: boolean;
|
|
40
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* If set, disables the combobox.
|
|
26
|
+
*/
|
|
41
27
|
disabled: {
|
|
42
28
|
type: BooleanConstructor;
|
|
43
29
|
reflect: boolean;
|
|
44
30
|
};
|
|
45
|
-
|
|
46
|
-
|
|
31
|
+
/**
|
|
32
|
+
* When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
33
|
+
*/
|
|
34
|
+
error: {
|
|
35
|
+
type: StringConstructor;
|
|
47
36
|
reflect: boolean;
|
|
48
37
|
};
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
};
|
|
54
|
-
noValidate: {
|
|
55
|
-
type: BooleanConstructor;
|
|
56
|
-
};
|
|
57
|
-
required: {
|
|
38
|
+
/**
|
|
39
|
+
* If set, combobox will not filter menuoptions based in input.
|
|
40
|
+
*/
|
|
41
|
+
noFilter: {
|
|
58
42
|
type: BooleanConstructor;
|
|
59
43
|
reflect: boolean;
|
|
60
44
|
};
|
|
61
|
-
|
|
45
|
+
/**
|
|
46
|
+
* If set, disables auto-validation on blur.
|
|
47
|
+
*/
|
|
48
|
+
noValidate: {
|
|
62
49
|
type: BooleanConstructor;
|
|
63
|
-
reflect: boolean;
|
|
64
50
|
};
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
51
|
+
/**
|
|
52
|
+
* Specifies the current selected option.
|
|
53
|
+
*/
|
|
54
|
+
optionSelected: {
|
|
55
|
+
type: ObjectConstructor;
|
|
70
56
|
converter: typeof arrayConverter;
|
|
71
57
|
hasChanged: typeof arrayOrUndefinedHasChanged;
|
|
72
58
|
};
|
|
73
|
-
|
|
59
|
+
/**
|
|
60
|
+
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
61
|
+
*/
|
|
62
|
+
required: {
|
|
74
63
|
type: BooleanConstructor;
|
|
75
64
|
reflect: boolean;
|
|
76
65
|
};
|
|
77
66
|
/**
|
|
78
|
-
*
|
|
67
|
+
* Sets a custom help text message to display for all validityStates.
|
|
79
68
|
*/
|
|
80
|
-
|
|
81
|
-
type:
|
|
69
|
+
setCustomValidity: {
|
|
70
|
+
type: StringConstructor;
|
|
82
71
|
};
|
|
83
72
|
/**
|
|
84
|
-
*
|
|
73
|
+
* Custom help text message to display when validity = `customError`.
|
|
85
74
|
*/
|
|
86
|
-
|
|
87
|
-
type:
|
|
75
|
+
setCustomValidityCustomError: {
|
|
76
|
+
type: StringConstructor;
|
|
88
77
|
};
|
|
89
78
|
/**
|
|
90
|
-
*
|
|
79
|
+
* Custom help text message to display when validity = `valueMissing`.
|
|
91
80
|
*/
|
|
92
|
-
|
|
81
|
+
setCustomValidityValueMissing: {
|
|
93
82
|
type: StringConstructor;
|
|
94
83
|
};
|
|
95
84
|
/**
|
|
96
|
-
*
|
|
85
|
+
* If set, the `icon` attribute will be applied to the trigger `auro-input` element.
|
|
97
86
|
*/
|
|
98
|
-
|
|
99
|
-
type:
|
|
87
|
+
triggerIcon: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
reflect: boolean;
|
|
100
90
|
};
|
|
101
91
|
/**
|
|
102
|
-
*
|
|
92
|
+
* Applies the defined value as the type attribute on auro-input.
|
|
103
93
|
*/
|
|
104
|
-
|
|
105
|
-
type:
|
|
94
|
+
type: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
reflect: boolean;
|
|
106
97
|
};
|
|
107
98
|
/**
|
|
108
|
-
*
|
|
99
|
+
* Specifies the `validityState` this element is in.
|
|
109
100
|
*/
|
|
110
|
-
|
|
101
|
+
validity: {
|
|
111
102
|
type: StringConstructor;
|
|
103
|
+
reflect: boolean;
|
|
112
104
|
};
|
|
113
105
|
/**
|
|
114
|
-
*
|
|
106
|
+
* Value selected for the dropdown menu.
|
|
115
107
|
*/
|
|
116
|
-
|
|
117
|
-
|
|
108
|
+
value: {
|
|
109
|
+
converter: typeof arrayConverter;
|
|
110
|
+
hasChanged: typeof arrayOrUndefinedHasChanged;
|
|
118
111
|
};
|
|
119
112
|
};
|
|
120
113
|
static get styles(): import("lit").CSSResult[];
|
|
@@ -131,20 +124,6 @@ export class AuroCombobox extends LitElement {
|
|
|
131
124
|
validity: any;
|
|
132
125
|
value: any[];
|
|
133
126
|
optionSelected: any[];
|
|
134
|
-
/**
|
|
135
|
-
* @private
|
|
136
|
-
*/
|
|
137
|
-
private validation;
|
|
138
|
-
/**
|
|
139
|
-
* @private
|
|
140
|
-
*/
|
|
141
|
-
private runtimeUtils;
|
|
142
|
-
/**
|
|
143
|
-
* @private
|
|
144
|
-
*/
|
|
145
|
-
private isHiddenWhileLoading;
|
|
146
|
-
dropdownTag: any;
|
|
147
|
-
inputTag: any;
|
|
148
127
|
/**
|
|
149
128
|
* @private
|
|
150
129
|
* @returns {void} Internal defaults.
|
|
@@ -153,6 +132,11 @@ export class AuroCombobox extends LitElement {
|
|
|
153
132
|
availableOptions: any[];
|
|
154
133
|
optionActive: any;
|
|
155
134
|
msgSelectionMissing: string;
|
|
135
|
+
validation: AuroFormValidation;
|
|
136
|
+
runtimeUtils: any;
|
|
137
|
+
isHiddenWhileLoading: boolean;
|
|
138
|
+
dropdownTag: any;
|
|
139
|
+
inputTag: any;
|
|
156
140
|
/**
|
|
157
141
|
* Processes hidden state of all menu options and determines if there are any available options not hidden.
|
|
158
142
|
* @private
|
|
@@ -252,6 +236,7 @@ export class AuroCombobox extends LitElement {
|
|
|
252
236
|
render(): import("lit-html").TemplateResult;
|
|
253
237
|
}
|
|
254
238
|
import { LitElement } from "lit";
|
|
239
|
+
import AuroFormValidation from '@auro-formkit/form-validation';
|
|
255
240
|
import { arrayConverter } from '@aurodesignsystem/auro-menu';
|
|
256
241
|
import { arrayOrUndefinedHasChanged } from '@aurodesignsystem/auro-menu';
|
|
257
242
|
//# sourceMappingURL=auro-combobox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auro-combobox.d.ts","sourceRoot":"","sources":["../src/auro-combobox.js"],"names":[],"mappings":"AA8BA
|
|
1
|
+
{"version":3,"file":"auro-combobox.d.ts","sourceRoot":"","sources":["../src/auro-combobox.js"],"names":[],"mappings":"AA8BA;;;;;;GAMG;AAGH;IAoCE;QAII;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;;;QAOH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;MAMN;IAED,+CAEC;IAED;;;;;;;OAOG;IACH,uBANW,MAAM,QAQhB;IAzKC,kBAAqB;IACrB,cAAyB;IACzB,aAAsB;IACtB,sBAA+B;IAKjC;;;OAGG;IACH,wBAeC;IAdC,wBAA0B;IAC1B,kBAAwB;IACxB,4BAAqD;IAErD,+BAA0C;IAE1C,kBAAiD;IAEjD,8BAAiC;IAIjC,iBAAyF;IACzF,cAA6E;IAiJ/E;;;;OAIG;IACH,0BA4EC;IA1CG,mBAA8B;IA4ClC;;;;OAIG;IACH,6BAMC;IAJG,qCAA+E;IAMnF;;;;OAIG;IACH,gBAIC;IAED;;;;OAIG;IACH,gBAcC;IAED;;;;OAIG;IACH,0BAaC;IAZC,iBAA8D;IAchE;;;;OAIG;IACH,sBA0EC;IAzEC,cAAwD;IA2E1D;;;;OAIG;IACH,uBAwBC;IAFG,kBAAsC;IAI1C;;;;;;;;;;;;;OAaG;IACH,gCAOC;IAED;;;;OAIG;IACH,+BA2DC;IAED;;;;OAIG;IACH,0BAyCC;IAWC,iBAAiE;IAWnE,qBAgBC;IAZC,cAA4E;IAC5E,WAAoE;IAatE;;;OAGG;IACH,SAFa,IAAI,CAIhB;IAED;;;OAGG;IACH,SAFa,IAAI,CAMhB;IAED,sCA8BC;IAED;;;;;OAKG;IACH,yBAcC;IAGD,4CAoDC;CACF;2BA/vB0B,KAAK;+BAKD,+BAA+B;+BAWvD,6BAA6B;2CAA7B,6BAA6B"}
|
|
@@ -9161,20 +9161,6 @@ var styleCss = i$c`.util_displayInline{display:inline}.util_displayInlineBlock{d
|
|
|
9161
9161
|
|
|
9162
9162
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
9163
9163
|
/**
|
|
9164
|
-
* @prop {Object} optionSelected - Specifies the current selected option.
|
|
9165
|
-
* @prop {String} value - Value selected for the dropdown menu.
|
|
9166
|
-
* @prop {Boolean} checkmark - When attribute is present auro-menu will apply checkmarks to selected options.
|
|
9167
|
-
* @attr {String} error - When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
9168
|
-
* @attr {String} validity - Specifies the `validityState` this element is in.
|
|
9169
|
-
* @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
|
|
9170
|
-
* @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
|
|
9171
|
-
* @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
|
|
9172
|
-
* @attr {Boolean} disabled - If set, disables the combobox.
|
|
9173
|
-
* @attr {Boolean} noFilter - If set, combobox will not filter menuoptions based in input.
|
|
9174
|
-
* @attr {Boolean} noValidate - If set, disables auto-validation on blur.
|
|
9175
|
-
* @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
|
|
9176
|
-
* @attr {Boolean} triggerIcon - If set, the `icon` attribute will be applied to the trigger `auro-input` element.
|
|
9177
|
-
* @attr {String} type - Applies the defined value as the type attribute on auro-input.
|
|
9178
9164
|
* @slot - Default slot for the menu content.
|
|
9179
9165
|
* @slot label - Defines the content of the label.
|
|
9180
9166
|
* @slot helpText - Defines the content of the helpText.
|
|
@@ -9193,28 +9179,6 @@ class AuroCombobox extends r$7 {
|
|
|
9193
9179
|
this.optionSelected = undefined;
|
|
9194
9180
|
|
|
9195
9181
|
this.privateDefaults();
|
|
9196
|
-
|
|
9197
|
-
/**
|
|
9198
|
-
* @private
|
|
9199
|
-
*/
|
|
9200
|
-
this.validation = new AuroFormValidation$1();
|
|
9201
|
-
|
|
9202
|
-
/**
|
|
9203
|
-
* @private
|
|
9204
|
-
*/
|
|
9205
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
9206
|
-
|
|
9207
|
-
/**
|
|
9208
|
-
* @private
|
|
9209
|
-
*/
|
|
9210
|
-
this.isHiddenWhileLoading = false;
|
|
9211
|
-
|
|
9212
|
-
/**
|
|
9213
|
-
* Generate unique names for dependency components.
|
|
9214
|
-
*/
|
|
9215
|
-
const versioning = new AuroDependencyVersioning$3();
|
|
9216
|
-
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
9217
|
-
this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
|
|
9218
9182
|
}
|
|
9219
9183
|
|
|
9220
9184
|
/**
|
|
@@ -9225,6 +9189,17 @@ class AuroCombobox extends r$7 {
|
|
|
9225
9189
|
this.availableOptions = [];
|
|
9226
9190
|
this.optionActive = null;
|
|
9227
9191
|
this.msgSelectionMissing = 'Please select an option.';
|
|
9192
|
+
|
|
9193
|
+
this.validation = new AuroFormValidation$1();
|
|
9194
|
+
|
|
9195
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
9196
|
+
|
|
9197
|
+
this.isHiddenWhileLoading = false;
|
|
9198
|
+
|
|
9199
|
+
const versioning = new AuroDependencyVersioning$3();
|
|
9200
|
+
|
|
9201
|
+
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
9202
|
+
this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
|
|
9228
9203
|
}
|
|
9229
9204
|
|
|
9230
9205
|
// This function is to define props used within the scope of this component
|
|
@@ -9233,92 +9208,123 @@ class AuroCombobox extends r$7 {
|
|
|
9233
9208
|
static get properties() {
|
|
9234
9209
|
return {
|
|
9235
9210
|
// ...super.properties,
|
|
9236
|
-
|
|
9211
|
+
|
|
9212
|
+
/**
|
|
9213
|
+
* An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
9214
|
+
*/
|
|
9215
|
+
autocomplete: {
|
|
9237
9216
|
type: String,
|
|
9238
9217
|
reflect: true
|
|
9239
9218
|
},
|
|
9240
|
-
|
|
9241
|
-
|
|
9242
|
-
|
|
9243
|
-
|
|
9244
|
-
|
|
9245
|
-
|
|
9246
|
-
setCustomValidityValueMissing: {
|
|
9247
|
-
type: String
|
|
9248
|
-
},
|
|
9249
|
-
validity: {
|
|
9250
|
-
type: String,
|
|
9219
|
+
|
|
9220
|
+
/**
|
|
9221
|
+
* When attribute is present auro-menu will apply checkmarks to selected options.
|
|
9222
|
+
*/
|
|
9223
|
+
checkmark: {
|
|
9224
|
+
type: Boolean,
|
|
9251
9225
|
reflect: true
|
|
9252
9226
|
},
|
|
9227
|
+
|
|
9228
|
+
/**
|
|
9229
|
+
* If set, disables the combobox.
|
|
9230
|
+
*/
|
|
9253
9231
|
disabled: {
|
|
9254
9232
|
type: Boolean,
|
|
9255
9233
|
reflect: true
|
|
9256
9234
|
},
|
|
9235
|
+
|
|
9236
|
+
/**
|
|
9237
|
+
* When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
9238
|
+
*/
|
|
9239
|
+
error: {
|
|
9240
|
+
type: String,
|
|
9241
|
+
reflect: true
|
|
9242
|
+
},
|
|
9243
|
+
|
|
9244
|
+
/**
|
|
9245
|
+
* If set, combobox will not filter menuoptions based in input.
|
|
9246
|
+
*/
|
|
9257
9247
|
noFilter: {
|
|
9258
9248
|
type: Boolean,
|
|
9259
9249
|
reflect: true
|
|
9260
9250
|
},
|
|
9251
|
+
|
|
9252
|
+
/**
|
|
9253
|
+
* If set, disables auto-validation on blur.
|
|
9254
|
+
*/
|
|
9255
|
+
noValidate: {
|
|
9256
|
+
type: Boolean
|
|
9257
|
+
},
|
|
9258
|
+
|
|
9259
|
+
/**
|
|
9260
|
+
* Specifies the current selected option.
|
|
9261
|
+
*/
|
|
9261
9262
|
optionSelected: {
|
|
9262
9263
|
type: Object,
|
|
9263
9264
|
converter: arrayConverter,
|
|
9264
9265
|
hasChanged: arrayOrUndefinedHasChanged
|
|
9265
9266
|
},
|
|
9266
|
-
|
|
9267
|
+
|
|
9268
|
+
/**
|
|
9269
|
+
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
9270
|
+
*/
|
|
9267
9271
|
required: {
|
|
9268
9272
|
type: Boolean,
|
|
9269
9273
|
reflect: true
|
|
9270
9274
|
},
|
|
9271
|
-
triggerIcon: {
|
|
9272
|
-
type: Boolean,
|
|
9273
|
-
reflect: true
|
|
9274
|
-
},
|
|
9275
|
-
type: {
|
|
9276
|
-
type: String,
|
|
9277
|
-
reflect: true
|
|
9278
|
-
},
|
|
9279
|
-
value: {
|
|
9280
|
-
converter: arrayConverter,
|
|
9281
|
-
hasChanged: arrayOrUndefinedHasChanged
|
|
9282
|
-
},
|
|
9283
|
-
checkmark: {
|
|
9284
|
-
type: Boolean,
|
|
9285
|
-
reflect: true
|
|
9286
|
-
},
|
|
9287
9275
|
|
|
9288
9276
|
/**
|
|
9289
|
-
*
|
|
9277
|
+
* Sets a custom help text message to display for all validityStates.
|
|
9290
9278
|
*/
|
|
9291
|
-
|
|
9279
|
+
setCustomValidity: {
|
|
9280
|
+
type: String
|
|
9281
|
+
},
|
|
9292
9282
|
|
|
9293
9283
|
/**
|
|
9294
|
-
*
|
|
9284
|
+
* Custom help text message to display when validity = `customError`.
|
|
9295
9285
|
*/
|
|
9296
|
-
|
|
9286
|
+
setCustomValidityCustomError: {
|
|
9287
|
+
type: String
|
|
9288
|
+
},
|
|
9297
9289
|
|
|
9298
9290
|
/**
|
|
9299
|
-
*
|
|
9291
|
+
* Custom help text message to display when validity = `valueMissing`.
|
|
9300
9292
|
*/
|
|
9301
|
-
|
|
9293
|
+
setCustomValidityValueMissing: {
|
|
9294
|
+
type: String
|
|
9295
|
+
},
|
|
9302
9296
|
|
|
9303
9297
|
/**
|
|
9304
|
-
*
|
|
9298
|
+
* If set, the `icon` attribute will be applied to the trigger `auro-input` element.
|
|
9305
9299
|
*/
|
|
9306
|
-
|
|
9300
|
+
triggerIcon: {
|
|
9301
|
+
type: Boolean,
|
|
9302
|
+
reflect: true
|
|
9303
|
+
},
|
|
9307
9304
|
|
|
9308
9305
|
/**
|
|
9309
|
-
*
|
|
9306
|
+
* Applies the defined value as the type attribute on auro-input.
|
|
9310
9307
|
*/
|
|
9311
|
-
|
|
9308
|
+
type: {
|
|
9309
|
+
type: String,
|
|
9310
|
+
reflect: true
|
|
9311
|
+
},
|
|
9312
9312
|
|
|
9313
9313
|
/**
|
|
9314
|
-
*
|
|
9314
|
+
* Specifies the `validityState` this element is in.
|
|
9315
9315
|
*/
|
|
9316
|
-
|
|
9316
|
+
validity: {
|
|
9317
|
+
type: String,
|
|
9318
|
+
reflect: true
|
|
9319
|
+
},
|
|
9317
9320
|
|
|
9318
9321
|
/**
|
|
9319
|
-
*
|
|
9322
|
+
* Value selected for the dropdown menu.
|
|
9320
9323
|
*/
|
|
9321
|
-
|
|
9324
|
+
value: {
|
|
9325
|
+
converter: arrayConverter,
|
|
9326
|
+
hasChanged: arrayOrUndefinedHasChanged
|
|
9327
|
+
},
|
|
9322
9328
|
};
|
|
9323
9329
|
}
|
|
9324
9330
|
|
|
@@ -9729,6 +9735,10 @@ class AuroCombobox extends r$7 {
|
|
|
9729
9735
|
}
|
|
9730
9736
|
}
|
|
9731
9737
|
});
|
|
9738
|
+
|
|
9739
|
+
this.addEventListener('focusin', () => {
|
|
9740
|
+
this.focus();
|
|
9741
|
+
});
|
|
9732
9742
|
}
|
|
9733
9743
|
|
|
9734
9744
|
/**
|
|
@@ -9873,6 +9883,7 @@ class AuroCombobox extends r$7 {
|
|
|
9873
9883
|
setCustomValidity="${this.setCustomValidity}"
|
|
9874
9884
|
setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
|
|
9875
9885
|
setCustomValidityCustomError="${this.setCustomValidityCustomError}"
|
|
9886
|
+
.autocomplete="${this.autocomplete}"
|
|
9876
9887
|
.type="${this.type}"
|
|
9877
9888
|
@input="${this.handleInputValueChange}">
|
|
9878
9889
|
<slot name="label" slot="label"></slot>
|