@aurodesignsystem/auro-formkit 2.0.0-beta.11 → 2.0.0-beta.12

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.
Files changed (114) hide show
  1. package/.turbo/cache/0c8124a987c1cc05-meta.json +1 -1
  2. package/.turbo/cache/0cd512cdf86242c7-meta.json +1 -1
  3. package/.turbo/cache/0cd512cdf86242c7.tar.zst +0 -0
  4. package/.turbo/cache/123c83cd8727dff3-meta.json +1 -1
  5. package/.turbo/cache/18129dba20f51b6b-meta.json +1 -1
  6. package/.turbo/cache/2787020e69f50af2-meta.json +1 -1
  7. package/.turbo/cache/2a5295c8f561ed84-meta.json +1 -1
  8. package/.turbo/cache/2c0d681132c153dd-meta.json +1 -1
  9. package/.turbo/cache/4006a206400d5c7b-meta.json +1 -1
  10. package/.turbo/cache/492dda333b8d15f1-meta.json +1 -1
  11. package/.turbo/cache/4e3619d9dfc86809-meta.json +1 -1
  12. package/.turbo/cache/4e3619d9dfc86809.tar.zst +0 -0
  13. package/.turbo/cache/50993de942ec15a9-meta.json +1 -1
  14. package/.turbo/cache/50cd7dcfc9f820c5-meta.json +1 -1
  15. package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -1
  16. package/.turbo/cache/5a0d3e26da304c62-meta.json +1 -1
  17. package/.turbo/cache/5a0d3e26da304c62.tar.zst +0 -0
  18. package/.turbo/cache/5c960af698582835-meta.json +1 -1
  19. package/.turbo/cache/5c960af698582835.tar.zst +0 -0
  20. package/.turbo/cache/5dbbb71dffc3f542-meta.json +1 -1
  21. package/.turbo/cache/5dbbb71dffc3f542.tar.zst +0 -0
  22. package/.turbo/cache/6081837e8943b62e-meta.json +1 -1
  23. package/.turbo/cache/60ad74320c682a2b-meta.json +1 -1
  24. package/.turbo/cache/61e218aba69cff58-meta.json +1 -1
  25. package/.turbo/cache/77da375a012de9d0-meta.json +1 -1
  26. package/.turbo/cache/7964d1656e9e702a-meta.json +1 -1
  27. package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -1
  28. package/.turbo/cache/7c9ca6163e61285c-meta.json +1 -1
  29. package/.turbo/cache/80aca269cd346fb4-meta.json +1 -1
  30. package/.turbo/cache/80aca269cd346fb4.tar.zst +0 -0
  31. package/.turbo/cache/8602fc2bb737a5cf-meta.json +1 -1
  32. package/.turbo/cache/89e0e7a6148e854f-meta.json +1 -1
  33. package/.turbo/cache/89e0e7a6148e854f.tar.zst +0 -0
  34. package/.turbo/cache/8bb856bd31b5b479-meta.json +1 -1
  35. package/.turbo/cache/93c887fb93a10daa-meta.json +1 -1
  36. package/.turbo/cache/93c887fb93a10daa.tar.zst +0 -0
  37. package/.turbo/cache/94dae2a64e9d8356-meta.json +1 -1
  38. package/.turbo/cache/97f6fe83b54acf09-meta.json +1 -1
  39. package/.turbo/cache/97f6fe83b54acf09.tar.zst +0 -0
  40. package/.turbo/cache/98317b0d14d94df7-meta.json +1 -1
  41. package/.turbo/cache/98317b0d14d94df7.tar.zst +0 -0
  42. package/.turbo/cache/98fc8a56e3e13790-meta.json +1 -0
  43. package/.turbo/cache/98fc8a56e3e13790.tar.zst +0 -0
  44. package/.turbo/cache/9ae99e8e7bd83d06-meta.json +1 -1
  45. package/.turbo/cache/9cbcd13b1d031f63-meta.json +1 -1
  46. package/.turbo/cache/9cbcd13b1d031f63.tar.zst +0 -0
  47. package/.turbo/cache/afbbd49ed1a558b9-meta.json +1 -1
  48. package/.turbo/cache/b353ce8f6da43dea-meta.json +1 -1
  49. package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -1
  50. package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -1
  51. package/.turbo/cache/b8db059a9b9ccb5d-meta.json +1 -1
  52. package/.turbo/cache/bc24a38aa1b1a102-meta.json +1 -1
  53. package/.turbo/cache/be0b95293ea517cc-meta.json +1 -1
  54. package/.turbo/cache/c3a4f7a3565d6706-meta.json +1 -1
  55. package/.turbo/cache/c44efc9e4ddd8a0e-meta.json +1 -1
  56. package/.turbo/cache/c6c6411199b68170-meta.json +1 -1
  57. package/.turbo/cache/c97b043e748e3580-meta.json +1 -1
  58. package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -1
  59. package/.turbo/cache/d775555355d6b8fc-meta.json +1 -1
  60. package/.turbo/cache/d7c3007be148d2a1-meta.json +1 -1
  61. package/.turbo/cache/dad3d78b33edd9e4-meta.json +1 -1
  62. package/.turbo/cache/dc597b3ea4f61ec8-meta.json +1 -1
  63. package/.turbo/cache/df40b180126e5351-meta.json +1 -1
  64. package/.turbo/cache/df40b180126e5351.tar.zst +0 -0
  65. package/.turbo/cache/e5f217f77c32c93b-meta.json +1 -1
  66. package/.turbo/cache/e5f217f77c32c93b.tar.zst +0 -0
  67. package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -1
  68. package/.turbo/cache/e9e36823f6c98f07-meta.json +1 -1
  69. package/.turbo/cache/ee1a3c1fe389da51-meta.json +1 -1
  70. package/.turbo/cache/f3c7b40f2c6a4094-meta.json +1 -1
  71. package/.turbo/cache/f3c7b40f2c6a4094.tar.zst +0 -0
  72. package/.turbo/cache/f5958c3acb889631-meta.json +1 -1
  73. package/.turbo/cache/fb3809ac3f90e3b2-meta.json +1 -1
  74. package/.turbo/cache/fb3809ac3f90e3b2.tar.zst +0 -0
  75. package/.turbo/cache/fd5ddfa43ebd8e5c-meta.json +1 -1
  76. package/.turbo/cache/fd5ddfa43ebd8e5c.tar.zst +0 -0
  77. package/CHANGELOG.md +12 -0
  78. package/components/checkbox/.turbo/turbo-build.log +3 -3
  79. package/components/checkbox/.turbo/turbo-bundler.log +3 -3
  80. package/components/checkbox/README.md +1 -1
  81. package/components/combobox/.turbo/turbo-build.log +3 -3
  82. package/components/combobox/README.md +4 -4
  83. package/components/combobox/demo/api.md +15 -14
  84. package/components/combobox/demo/api.min.js +90 -79
  85. package/components/combobox/demo/index.min.js +90 -79
  86. package/components/combobox/dist/auro-combobox.d.ts +63 -78
  87. package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
  88. package/components/combobox/dist/index.js +90 -79
  89. package/components/combobox/src/auro-combobox.js +90 -79
  90. package/components/counter/.turbo/turbo-build.log +3 -3
  91. package/components/counter/.turbo/turbo-bundler.log +3 -3
  92. package/components/counter/README.md +1 -1
  93. package/components/datepicker/.turbo/turbo-build.log +1 -1
  94. package/components/datepicker/README.md +4 -4
  95. package/components/dropdown/.turbo/turbo-build.log +3 -3
  96. package/components/dropdown/.turbo/turbo-bundler.log +3 -3
  97. package/components/dropdown/README.md +1 -1
  98. package/components/form/.turbo/turbo-build.log +3 -3
  99. package/components/form/.turbo/turbo-bundler.log +3 -3
  100. package/components/form/README.md +1 -1
  101. package/components/input/.turbo/turbo-build.log +3 -3
  102. package/components/input/.turbo/turbo-bundler.log +2 -2
  103. package/components/input/README.md +1 -1
  104. package/components/menu/.turbo/turbo-build.log +3 -3
  105. package/components/menu/.turbo/turbo-bundler.log +3 -3
  106. package/components/menu/README.md +1 -1
  107. package/components/radio/.turbo/turbo-build.log +3 -3
  108. package/components/radio/.turbo/turbo-bundler.log +3 -3
  109. package/components/radio/README.md +1 -1
  110. package/components/select/.turbo/turbo-build.log +3 -3
  111. package/components/select/README.md +3 -3
  112. package/package.json +1 -1
  113. package/.turbo/cache/253e861af7025ed4-meta.json +0 -1
  114. package/.turbo/cache/253e861af7025ed4.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
- error: {
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
- setCustomValidity: {
29
- type: StringConstructor;
30
- };
31
- setCustomValidityCustomError: {
32
- type: StringConstructor;
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
- noFilter: {
46
- type: BooleanConstructor;
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
- optionSelected: {
50
- type: ObjectConstructor;
51
- converter: typeof arrayConverter;
52
- hasChanged: typeof arrayOrUndefinedHasChanged;
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
- triggerIcon: {
45
+ /**
46
+ * If set, disables auto-validation on blur.
47
+ */
48
+ noValidate: {
62
49
  type: BooleanConstructor;
63
- reflect: boolean;
64
50
  };
65
- type: {
66
- type: StringConstructor;
67
- reflect: boolean;
68
- };
69
- value: {
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
- checkmark: {
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
- * @private
67
+ * Sets a custom help text message to display for all validityStates.
79
68
  */
80
- availableOptions: {
81
- type: ArrayConstructor;
69
+ setCustomValidity: {
70
+ type: StringConstructor;
82
71
  };
83
72
  /**
84
- * @private
73
+ * Custom help text message to display when validity = `customError`.
85
74
  */
86
- optionActive: {
87
- type: ObjectConstructor;
75
+ setCustomValidityCustomError: {
76
+ type: StringConstructor;
88
77
  };
89
78
  /**
90
- * @private
79
+ * Custom help text message to display when validity = `valueMissing`.
91
80
  */
92
- msgSelectionMissing: {
81
+ setCustomValidityValueMissing: {
93
82
  type: StringConstructor;
94
83
  };
95
84
  /**
96
- * @private
85
+ * If set, the `icon` attribute will be applied to the trigger `auro-input` element.
97
86
  */
98
- dropdownElementName: {
99
- type: StringConstructor;
87
+ triggerIcon: {
88
+ type: BooleanConstructor;
89
+ reflect: boolean;
100
90
  };
101
91
  /**
102
- * @private
92
+ * Applies the defined value as the type attribute on auro-input.
103
93
  */
104
- dropdownTag: {
105
- type: ObjectConstructor;
94
+ type: {
95
+ type: StringConstructor;
96
+ reflect: boolean;
106
97
  };
107
98
  /**
108
- * @private
99
+ * Specifies the `validityState` this element is in.
109
100
  */
110
- inputElementName: {
101
+ validity: {
111
102
  type: StringConstructor;
103
+ reflect: boolean;
112
104
  };
113
105
  /**
114
- * @private
106
+ * Value selected for the dropdown menu.
115
107
  */
116
- inputTag: {
117
- type: ObjectConstructor;
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;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH;IA+CE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAuDI;;WAEG;;;;QAGH;;WAEG;;;;QAGH;;WAEG;;;;QAGH;;WAEG;;;;QAGH;;WAEG;;;;QAGH;;WAEG;;;;QAGH;;WAEG;;;;MAGN;IAED,+CAEC;IAED;;;;;;;OAOG;IACH,uBANW,MAAM,QAQhB;IArJC,kBAAqB;IACrB,cAAyB;IACzB,aAAsB;IACtB,sBAA+B;IAI/B;;OAEG;IACH,mBAA0C;IAE1C;;OAEG;IACH,qBAAiD;IAEjD;;OAEG;IACH,6BAAiC;IAMjC,iBAAyF;IACzF,cAA6E;IAG/E;;;OAGG;IACH,wBAIC;IAHC,wBAA0B;IAC1B,kBAAwB;IACxB,4BAAqD;IAkHvD;;;;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,0BAqCC;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,4CAmDC;CACF;2BApvB0B,KAAK;+BAgBzB,6BAA6B;2CAA7B,6BAA6B"}
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
- error: {
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
- setCustomValidity: {
9241
- type: String
9242
- },
9243
- setCustomValidityCustomError: {
9244
- type: String
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
- noValidate: { type: Boolean },
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
- * @private
9277
+ * Sets a custom help text message to display for all validityStates.
9290
9278
  */
9291
- availableOptions: { type: Array },
9279
+ setCustomValidity: {
9280
+ type: String
9281
+ },
9292
9282
 
9293
9283
  /**
9294
- * @private
9284
+ * Custom help text message to display when validity = `customError`.
9295
9285
  */
9296
- optionActive: { type: Object },
9286
+ setCustomValidityCustomError: {
9287
+ type: String
9288
+ },
9297
9289
 
9298
9290
  /**
9299
- * @private
9291
+ * Custom help text message to display when validity = `valueMissing`.
9300
9292
  */
9301
- msgSelectionMissing: { type: String },
9293
+ setCustomValidityValueMissing: {
9294
+ type: String
9295
+ },
9302
9296
 
9303
9297
  /**
9304
- * @private
9298
+ * If set, the `icon` attribute will be applied to the trigger `auro-input` element.
9305
9299
  */
9306
- dropdownElementName: { type: String },
9300
+ triggerIcon: {
9301
+ type: Boolean,
9302
+ reflect: true
9303
+ },
9307
9304
 
9308
9305
  /**
9309
- * @private
9306
+ * Applies the defined value as the type attribute on auro-input.
9310
9307
  */
9311
- dropdownTag: { type: Object },
9308
+ type: {
9309
+ type: String,
9310
+ reflect: true
9311
+ },
9312
9312
 
9313
9313
  /**
9314
- * @private
9314
+ * Specifies the `validityState` this element is in.
9315
9315
  */
9316
- inputElementName: { type: String },
9316
+ validity: {
9317
+ type: String,
9318
+ reflect: true
9319
+ },
9317
9320
 
9318
9321
  /**
9319
- * @private
9322
+ * Value selected for the dropdown menu.
9320
9323
  */
9321
- inputTag: { type: Object }
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>