@aurodesignsystem-dev/auro-formkit 0.0.0-pr593.0

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 (268) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +201 -0
  3. package/NOTICE +2 -0
  4. package/README.md +314 -0
  5. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +39 -0
  6. package/components/bibtemplate/dist/headerVersion.d.ts +2 -0
  7. package/components/bibtemplate/dist/iconVersion.d.ts +2 -0
  8. package/components/bibtemplate/dist/index.d.ts +2 -0
  9. package/components/bibtemplate/dist/index.js +709 -0
  10. package/components/bibtemplate/dist/registered.js +709 -0
  11. package/components/bibtemplate/dist/styles/color-css.d.ts +2 -0
  12. package/components/bibtemplate/dist/styles/style-css.d.ts +2 -0
  13. package/components/bibtemplate/dist/styles/tokens-css.d.ts +2 -0
  14. package/components/checkbox/README.md +142 -0
  15. package/components/checkbox/demo/api.html +55 -0
  16. package/components/checkbox/demo/api.js +17 -0
  17. package/components/checkbox/demo/api.md +401 -0
  18. package/components/checkbox/demo/api.min.js +1833 -0
  19. package/components/checkbox/demo/index.html +51 -0
  20. package/components/checkbox/demo/index.js +8 -0
  21. package/components/checkbox/demo/index.md +327 -0
  22. package/components/checkbox/demo/index.min.js +1808 -0
  23. package/components/checkbox/demo/readme.html +50 -0
  24. package/components/checkbox/demo/readme.md +142 -0
  25. package/components/checkbox/dist/auro-checkbox-group.d.ts +166 -0
  26. package/components/checkbox/dist/auro-checkbox.d.ts +129 -0
  27. package/components/checkbox/dist/helptextVersion.d.ts +2 -0
  28. package/components/checkbox/dist/index.d.ts +3 -0
  29. package/components/checkbox/dist/index.js +1757 -0
  30. package/components/checkbox/dist/registered.js +1758 -0
  31. package/components/checkbox/dist/styles/auro-checkbox-css.d.ts +2 -0
  32. package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts +2 -0
  33. package/components/checkbox/dist/styles/color-css.d.ts +2 -0
  34. package/components/checkbox/dist/styles/colorGroup-css.d.ts +2 -0
  35. package/components/checkbox/dist/styles/tokens-css.d.ts +2 -0
  36. package/components/combobox/README.md +152 -0
  37. package/components/combobox/demo/api.html +57 -0
  38. package/components/combobox/demo/api.js +36 -0
  39. package/components/combobox/demo/api.md +1209 -0
  40. package/components/combobox/demo/api.min.js +15117 -0
  41. package/components/combobox/demo/index.html +56 -0
  42. package/components/combobox/demo/index.js +26 -0
  43. package/components/combobox/demo/index.md +621 -0
  44. package/components/combobox/demo/index.min.js +14971 -0
  45. package/components/combobox/demo/readme.html +50 -0
  46. package/components/combobox/demo/readme.md +152 -0
  47. package/components/combobox/dist/auro-combobox.d.ts +384 -0
  48. package/components/combobox/dist/bibtemplateVersion.d.ts +2 -0
  49. package/components/combobox/dist/dropdownVersion.d.ts +2 -0
  50. package/components/combobox/dist/index.d.ts +2 -0
  51. package/components/combobox/dist/index.js +13554 -0
  52. package/components/combobox/dist/inputVersion.d.ts +2 -0
  53. package/components/combobox/dist/registered.js +13556 -0
  54. package/components/combobox/dist/styles/style-css.d.ts +2 -0
  55. package/components/counter/README.md +146 -0
  56. package/components/counter/demo/api.html +54 -0
  57. package/components/counter/demo/api.js +20 -0
  58. package/components/counter/demo/api.md +584 -0
  59. package/components/counter/demo/api.min.js +7111 -0
  60. package/components/counter/demo/index.html +54 -0
  61. package/components/counter/demo/index.js +21 -0
  62. package/components/counter/demo/index.md +244 -0
  63. package/components/counter/demo/index.min.js +7075 -0
  64. package/components/counter/demo/readme.html +50 -0
  65. package/components/counter/demo/readme.md +146 -0
  66. package/components/counter/dist/auro-counter-button.d.ts +12 -0
  67. package/components/counter/dist/auro-counter-group.d.ts +235 -0
  68. package/components/counter/dist/auro-counter-wrapper.d.ts +22 -0
  69. package/components/counter/dist/auro-counter.d.ts +97 -0
  70. package/components/counter/dist/bibtemplateVersion.d.ts +2 -0
  71. package/components/counter/dist/dropdownVersion.d.ts +2 -0
  72. package/components/counter/dist/iconVersion.d.ts +2 -0
  73. package/components/counter/dist/index.d.ts +3 -0
  74. package/components/counter/dist/index.js +7018 -0
  75. package/components/counter/dist/registered.js +7019 -0
  76. package/components/counter/dist/styles/color-css.d.ts +2 -0
  77. package/components/counter/dist/styles/counter-button-color-css.d.ts +2 -0
  78. package/components/counter/dist/styles/counter-button-css.d.ts +2 -0
  79. package/components/counter/dist/styles/counter-group-css.d.ts +2 -0
  80. package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +2 -0
  81. package/components/counter/dist/styles/counter-wrapper-css.d.ts +2 -0
  82. package/components/counter/dist/styles/style-css.d.ts +2 -0
  83. package/components/counter/dist/styles/tokens-css.d.ts +2 -0
  84. package/components/datepicker/README.md +140 -0
  85. package/components/datepicker/demo/api.html +57 -0
  86. package/components/datepicker/demo/api.js +35 -0
  87. package/components/datepicker/demo/api.md +1479 -0
  88. package/components/datepicker/demo/api.min.js +24534 -0
  89. package/components/datepicker/demo/index.html +56 -0
  90. package/components/datepicker/demo/index.js +19 -0
  91. package/components/datepicker/demo/index.md +112 -0
  92. package/components/datepicker/demo/index.min.js +24255 -0
  93. package/components/datepicker/demo/readme.html +50 -0
  94. package/components/datepicker/demo/readme.md +140 -0
  95. package/components/datepicker/dist/auro-calendar-cell.d.ts +163 -0
  96. package/components/datepicker/dist/auro-calendar-month.d.ts +20 -0
  97. package/components/datepicker/dist/auro-calendar.d.ts +133 -0
  98. package/components/datepicker/dist/auro-datepicker.d.ts +466 -0
  99. package/components/datepicker/dist/bibtemplateVersion.d.ts +2 -0
  100. package/components/datepicker/dist/buttonVersion.d.ts +2 -0
  101. package/components/datepicker/dist/dropdownVersion.d.ts +2 -0
  102. package/components/datepicker/dist/index.d.ts +2 -0
  103. package/components/datepicker/dist/index.js +24185 -0
  104. package/components/datepicker/dist/inputVersion.d.ts +2 -0
  105. package/components/datepicker/dist/popoverVersion.d.ts +2 -0
  106. package/components/datepicker/dist/registered.js +24185 -0
  107. package/components/datepicker/dist/styles/color-calendar-css.d.ts +2 -0
  108. package/components/datepicker/dist/styles/color-cell-css.d.ts +2 -0
  109. package/components/datepicker/dist/styles/color-css.d.ts +2 -0
  110. package/components/datepicker/dist/styles/color-month-css.d.ts +2 -0
  111. package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts +2 -0
  112. package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts +2 -0
  113. package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts +2 -0
  114. package/components/datepicker/dist/styles/style-css.d.ts +2 -0
  115. package/components/datepicker/dist/styles/tokens-css.d.ts +2 -0
  116. package/components/datepicker/dist/utilities.d.ts +78 -0
  117. package/components/datepicker/dist/utilitiesCalendar.d.ts +38 -0
  118. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +50 -0
  119. package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts +5 -0
  120. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +60 -0
  121. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts +1 -0
  122. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +57 -0
  123. package/components/dropdown/README.md +144 -0
  124. package/components/dropdown/demo/api.html +57 -0
  125. package/components/dropdown/demo/api.js +21 -0
  126. package/components/dropdown/demo/api.md +1434 -0
  127. package/components/dropdown/demo/api.min.js +3826 -0
  128. package/components/dropdown/demo/index.html +55 -0
  129. package/components/dropdown/demo/index.js +19 -0
  130. package/components/dropdown/demo/index.md +510 -0
  131. package/components/dropdown/demo/index.min.js +3789 -0
  132. package/components/dropdown/demo/readme.html +50 -0
  133. package/components/dropdown/demo/readme.md +144 -0
  134. package/components/dropdown/dist/auro-dropdown.d.ts +406 -0
  135. package/components/dropdown/dist/auro-dropdownBib.d.ts +46 -0
  136. package/components/dropdown/dist/dropdownVersion.d.ts +2 -0
  137. package/components/dropdown/dist/helptextVersion.d.ts +2 -0
  138. package/components/dropdown/dist/iconVersion.d.ts +2 -0
  139. package/components/dropdown/dist/index.d.ts +2 -0
  140. package/components/dropdown/dist/index.js +3734 -0
  141. package/components/dropdown/dist/registered.js +3734 -0
  142. package/components/dropdown/dist/styles/bibColors-css.d.ts +2 -0
  143. package/components/dropdown/dist/styles/bibStyles-css.d.ts +2 -0
  144. package/components/dropdown/dist/styles/color-css.d.ts +2 -0
  145. package/components/dropdown/dist/styles/style-css.d.ts +2 -0
  146. package/components/dropdown/dist/styles/tokens-css.d.ts +2 -0
  147. package/components/form/README.md +142 -0
  148. package/components/form/demo/api.html +49 -0
  149. package/components/form/demo/api.js +3 -0
  150. package/components/form/demo/api.md +51 -0
  151. package/components/form/demo/api.min.js +638 -0
  152. package/components/form/demo/autocomplete.html +15 -0
  153. package/components/form/demo/index.html +50 -0
  154. package/components/form/demo/index.js +4 -0
  155. package/components/form/demo/index.md +403 -0
  156. package/components/form/demo/index.min.js +639 -0
  157. package/components/form/demo/readme.html +50 -0
  158. package/components/form/demo/readme.md +142 -0
  159. package/components/form/demo/registerDemoDeps.js +23 -0
  160. package/components/form/demo/working.html +118 -0
  161. package/components/form/dist/auro-form.d.ts +223 -0
  162. package/components/form/dist/index.d.ts +2 -0
  163. package/components/form/dist/index.js +614 -0
  164. package/components/form/dist/registered.d.ts +1 -0
  165. package/components/form/dist/registered.js +614 -0
  166. package/components/form/dist/styles/style-css.d.ts +2 -0
  167. package/components/helptext/dist/auro-helptext.d.ts +61 -0
  168. package/components/helptext/dist/index.d.ts +2 -0
  169. package/components/helptext/dist/index.js +209 -0
  170. package/components/helptext/dist/registered.js +209 -0
  171. package/components/helptext/dist/styles/color-css.d.ts +2 -0
  172. package/components/helptext/dist/styles/style-css.d.ts +2 -0
  173. package/components/helptext/dist/styles/tokens-css.d.ts +2 -0
  174. package/components/input/README.md +135 -0
  175. package/components/input/demo/api.html +42 -0
  176. package/components/input/demo/api.js +29 -0
  177. package/components/input/demo/api.md +1252 -0
  178. package/components/input/demo/api.min.js +7238 -0
  179. package/components/input/demo/index.html +43 -0
  180. package/components/input/demo/index.js +20 -0
  181. package/components/input/demo/index.md +202 -0
  182. package/components/input/demo/index.min.js +7157 -0
  183. package/components/input/demo/readme.html +50 -0
  184. package/components/input/demo/readme.md +135 -0
  185. package/components/input/dist/auro-input.d.ts +31 -0
  186. package/components/input/dist/base-input.d.ts +512 -0
  187. package/components/input/dist/buttonVersion.d.ts +2 -0
  188. package/components/input/dist/helptextVersion.d.ts +2 -0
  189. package/components/input/dist/i18n.d.ts +18 -0
  190. package/components/input/dist/iconVersion.d.ts +2 -0
  191. package/components/input/dist/index.d.ts +2 -0
  192. package/components/input/dist/index.js +7063 -0
  193. package/components/input/dist/registered.js +7063 -0
  194. package/components/input/dist/styles/borders-css.d.ts +2 -0
  195. package/components/input/dist/styles/color-css.d.ts +2 -0
  196. package/components/input/dist/styles/input-css.d.ts +2 -0
  197. package/components/input/dist/styles/label-css.d.ts +2 -0
  198. package/components/input/dist/styles/mixins-css.d.ts +2 -0
  199. package/components/input/dist/styles/notificationIcons-css.d.ts +2 -0
  200. package/components/input/dist/styles/style-css.d.ts +2 -0
  201. package/components/input/dist/styles/tokens-css.d.ts +2 -0
  202. package/components/input/dist/utilities.d.ts +25 -0
  203. package/components/menu/README.md +145 -0
  204. package/components/menu/demo/api.html +55 -0
  205. package/components/menu/demo/api.js +27 -0
  206. package/components/menu/demo/api.md +954 -0
  207. package/components/menu/demo/api.min.js +1538 -0
  208. package/components/menu/demo/index.html +52 -0
  209. package/components/menu/demo/index.js +28 -0
  210. package/components/menu/demo/index.md +61 -0
  211. package/components/menu/demo/index.min.js +1484 -0
  212. package/components/menu/demo/readme.html +50 -0
  213. package/components/menu/demo/readme.md +145 -0
  214. package/components/menu/dist/auro-menu-utils.d.ts +42 -0
  215. package/components/menu/dist/auro-menu.d.ts +205 -0
  216. package/components/menu/dist/auro-menuoption.d.ts +63 -0
  217. package/components/menu/dist/dropdownVersion.d.ts +2 -0
  218. package/components/menu/dist/iconVersion.d.ts +2 -0
  219. package/components/menu/dist/index.d.ts +4 -0
  220. package/components/menu/dist/index.js +1426 -0
  221. package/components/menu/dist/registered.js +1427 -0
  222. package/components/menu/dist/styles/color-menu-css.d.ts +2 -0
  223. package/components/menu/dist/styles/color-menuoption-css.d.ts +2 -0
  224. package/components/menu/dist/styles/style-menu-css.d.ts +2 -0
  225. package/components/menu/dist/styles/style-menuoption-css.d.ts +2 -0
  226. package/components/menu/dist/styles/tokens-css.d.ts +2 -0
  227. package/components/radio/README.md +137 -0
  228. package/components/radio/demo/api.html +53 -0
  229. package/components/radio/demo/api.js +19 -0
  230. package/components/radio/demo/api.md +562 -0
  231. package/components/radio/demo/api.min.js +1944 -0
  232. package/components/radio/demo/index.html +50 -0
  233. package/components/radio/demo/index.js +8 -0
  234. package/components/radio/demo/index.md +150 -0
  235. package/components/radio/demo/index.min.js +1901 -0
  236. package/components/radio/demo/readme.html +50 -0
  237. package/components/radio/demo/readme.md +137 -0
  238. package/components/radio/dist/auro-radio-group.d.ts +194 -0
  239. package/components/radio/dist/auro-radio.d.ts +144 -0
  240. package/components/radio/dist/helptextVersion.d.ts +2 -0
  241. package/components/radio/dist/index.d.ts +3 -0
  242. package/components/radio/dist/index.js +1850 -0
  243. package/components/radio/dist/registered.js +1851 -0
  244. package/components/radio/dist/styles/auro-radio-group-css.d.ts +2 -0
  245. package/components/radio/dist/styles/color-css.d.ts +2 -0
  246. package/components/radio/dist/styles/groupColor-css.d.ts +2 -0
  247. package/components/radio/dist/styles/style-css.d.ts +2 -0
  248. package/components/radio/dist/styles/tokens-css.d.ts +2 -0
  249. package/components/select/README.md +144 -0
  250. package/components/select/demo/api.html +71 -0
  251. package/components/select/demo/api.js +35 -0
  252. package/components/select/demo/api.md +1313 -0
  253. package/components/select/demo/api.min.js +7763 -0
  254. package/components/select/demo/index.html +66 -0
  255. package/components/select/demo/index.js +9 -0
  256. package/components/select/demo/index.md +815 -0
  257. package/components/select/demo/index.min.js +7651 -0
  258. package/components/select/demo/readme.html +50 -0
  259. package/components/select/demo/readme.md +144 -0
  260. package/components/select/dist/auro-select.d.ts +359 -0
  261. package/components/select/dist/bibtemplateVersion.d.ts +2 -0
  262. package/components/select/dist/dropdownVersion.d.ts +2 -0
  263. package/components/select/dist/index.d.ts +2 -0
  264. package/components/select/dist/index.js +6300 -0
  265. package/components/select/dist/registered.js +6300 -0
  266. package/components/select/dist/styles/style-css.d.ts +2 -0
  267. package/package.json +217 -0
  268. package/packages/build-tools/src/postinstall.mjs +12 -0
@@ -0,0 +1,512 @@
1
+ /**
2
+ * Auro-input provides users a way to enter data into a text field.
3
+ *
4
+ * @attr {Boolean} bordered - Applies bordered UI variant.
5
+ * @attr {Boolean} borderless - Applies borderless UI variant.
6
+ *
7
+ * @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
8
+ * @attr id
9
+ *
10
+ * @slot helptext - Sets the help text displayed below the input.
11
+ * @slot label - Sets the label text for the input.
12
+ *
13
+ * @csspart wrapper - Use for customizing the style of the root element
14
+ * @csspart label - Use for customizing the style of the label element
15
+ * @csspart helpText - Use for customizing the style of the helpText element
16
+ * @csspart accentIcon - Use for customizing the style of the accentIcon element (e.g. credit card icon, calendar icon)
17
+ * @csspart iconContainer - Use for customizing the style of the iconContainer (e.g. X icon for clearing input value)
18
+ * @event input - Event fires when the value of an `auro-input` has been changed.
19
+ * @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
20
+ */
21
+ export default class BaseInput extends LitElement {
22
+ static get properties(): {
23
+ /**
24
+ * The value for the role attribute.
25
+ */
26
+ a11yRole: {
27
+ type: StringConstructor;
28
+ attribute: boolean;
29
+ reflect: boolean;
30
+ };
31
+ /**
32
+ * The value for the aria-expanded attribute.
33
+ */
34
+ a11yExpanded: {
35
+ type: BooleanConstructor;
36
+ attribute: boolean;
37
+ reflect: boolean;
38
+ };
39
+ /**
40
+ * The value for the aria-controls attribute.
41
+ */
42
+ a11yControls: {
43
+ type: StringConstructor;
44
+ attribute: boolean;
45
+ reflect: boolean;
46
+ };
47
+ /**
48
+ * If set, the label will remain fixed in the active position.
49
+ */
50
+ activeLabel: {
51
+ type: BooleanConstructor;
52
+ reflect: boolean;
53
+ };
54
+ /**
55
+ * An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user. [off/none, on/sentences, words, characters].
56
+ */
57
+ autocapitalize: {
58
+ type: StringConstructor;
59
+ };
60
+ /**
61
+ * An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
62
+ */
63
+ autocomplete: {
64
+ type: StringConstructor;
65
+ reflect: boolean;
66
+ };
67
+ /**
68
+ * When set to `off`, stops iOS from auto-correcting words when typed into a text box.
69
+ */
70
+ autocorrect: {
71
+ type: StringConstructor;
72
+ };
73
+ /**
74
+ * If set, disables the input.
75
+ */
76
+ disabled: {
77
+ type: BooleanConstructor;
78
+ reflect: boolean;
79
+ };
80
+ /**
81
+ * When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
82
+ */
83
+ error: {
84
+ type: StringConstructor;
85
+ reflect: boolean;
86
+ };
87
+ /**
88
+ * Contains the help text message for the current validity error.
89
+ */
90
+ errorMessage: {
91
+ type: StringConstructor;
92
+ };
93
+ /**
94
+ * Specifies the input mask format.
95
+ */
96
+ format: {
97
+ type: StringConstructor;
98
+ reflect: boolean;
99
+ };
100
+ /**
101
+ * If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
102
+ */
103
+ icon: {
104
+ type: BooleanConstructor;
105
+ reflect: boolean;
106
+ };
107
+ /** Exposes inputmode attribute for input. */
108
+ inputmode: {
109
+ type: StringConstructor;
110
+ attribute: boolean;
111
+ reflect: boolean;
112
+ };
113
+ /**
114
+ * Defines the language of an element.
115
+ */
116
+ lang: {
117
+ type: StringConstructor;
118
+ };
119
+ /**
120
+ * The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
121
+ */
122
+ max: {
123
+ type: StringConstructor;
124
+ };
125
+ /**
126
+ * The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
127
+ */
128
+ maxLength: {
129
+ type: NumberConstructor;
130
+ };
131
+ /**
132
+ * The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
133
+ */
134
+ min: {
135
+ type: StringConstructor;
136
+ };
137
+ /**
138
+ * The minimum number of characters the user can enter into the text input. This must be a non-negative integer value smaller than or equal to the value specified by `maxlength`.
139
+ */
140
+ minLength: {
141
+ type: NumberConstructor;
142
+ };
143
+ /**
144
+ * Populates the `name` attribute on the input.
145
+ */
146
+ name: {
147
+ type: StringConstructor;
148
+ };
149
+ /**
150
+ * If set, disables auto-validation on blur.
151
+ */
152
+ noValidate: {
153
+ type: BooleanConstructor;
154
+ reflect: boolean;
155
+ };
156
+ /**
157
+ * Sets onDark styles on input.
158
+ */
159
+ onDark: {
160
+ type: BooleanConstructor;
161
+ reflect: boolean;
162
+ };
163
+ /**
164
+ * Specifies a regular expression the form control's value should match.
165
+ */
166
+ pattern: {
167
+ type: StringConstructor;
168
+ reflect: boolean;
169
+ };
170
+ /**
171
+ * Define custom placeholder text, only supported by date input formats.
172
+ */
173
+ placeholder: {
174
+ type: StringConstructor;
175
+ };
176
+ /**
177
+ * Makes the input read-only, but can be set programmatically.
178
+ */
179
+ readonly: {
180
+ type: BooleanConstructor;
181
+ reflect: boolean;
182
+ };
183
+ /**
184
+ * Populates the `required` attribute on the input. Used for client-side validation.
185
+ */
186
+ required: {
187
+ type: BooleanConstructor;
188
+ reflect: boolean;
189
+ };
190
+ /**
191
+ * @ignore
192
+ */
193
+ showPassword: {
194
+ state: boolean;
195
+ };
196
+ /**
197
+ * Sets a custom help text message to display for all validityStates.
198
+ */
199
+ setCustomValidity: {
200
+ type: StringConstructor;
201
+ };
202
+ /**
203
+ * Custom help text message to display when validity = `badInput`.
204
+ */
205
+ setCustomValidityBadInput: {
206
+ type: StringConstructor;
207
+ };
208
+ /**
209
+ * Custom help text message to display when validity = `customError`.
210
+ */
211
+ setCustomValidityCustomError: {
212
+ type: StringConstructor;
213
+ };
214
+ /**
215
+ * Custom help text message to display for the declared element `type` and type validity fails.
216
+ */
217
+ setCustomValidityForType: {
218
+ type: StringConstructor;
219
+ };
220
+ /**
221
+ * Custom help text message to display when validity = `rangeOverflow`.
222
+ */
223
+ setCustomValidityRangeOverflow: {
224
+ type: StringConstructor;
225
+ };
226
+ /**
227
+ * Custom help text message to display when validity = `rangeUnderflow`.
228
+ */
229
+ setCustomValidityRangeUnderflow: {
230
+ type: StringConstructor;
231
+ };
232
+ /**
233
+ * Custom help text message to display when validity = `tooLong`.
234
+ */
235
+ setCustomValidityTooLong: {
236
+ type: StringConstructor;
237
+ };
238
+ /**
239
+ * Custom help text message to display when validity = `tooShort`.
240
+ */
241
+ setCustomValidityTooShort: {
242
+ type: StringConstructor;
243
+ };
244
+ /**
245
+ * Custom help text message to display when validity = `valueMissing`.
246
+ */
247
+ setCustomValidityValueMissing: {
248
+ type: StringConstructor;
249
+ };
250
+ /**
251
+ * Custom help text message for email type validity.
252
+ */
253
+ customValidityTypeEmail: {
254
+ type: StringConstructor;
255
+ };
256
+ /**
257
+ * An enumerated attribute defines whether the element may be checked for spelling errors. [true, false]. When set to `false` the attribute `autocorrect` is set to `off` and `autocapitalize` is set to `none`.
258
+ */
259
+ spellcheck: {
260
+ type: StringConstructor;
261
+ };
262
+ /**
263
+ * Populates the `type` attribute on the input. Allowed values are `password`, `email`, `credit-card`, `date`, `tel` or `text`. If given value is not allowed or set, defaults to `text`.
264
+ */
265
+ type: {
266
+ type: StringConstructor;
267
+ reflect: boolean;
268
+ };
269
+ /**
270
+ * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
271
+ */
272
+ value: {
273
+ type: StringConstructor;
274
+ };
275
+ /**
276
+ * Sets validation mode to re-eval with each input.
277
+ */
278
+ validateOnInput: {
279
+ type: BooleanConstructor;
280
+ };
281
+ /**
282
+ * Specifies the `validityState` this element is in.
283
+ */
284
+ validity: {
285
+ type: StringConstructor;
286
+ reflect: boolean;
287
+ };
288
+ /**
289
+ * Indicates whether the input is in a dirty state (has been interacted with).
290
+ * @type {boolean}
291
+ * @default false
292
+ * @private
293
+ */
294
+ touched: boolean;
295
+ /**
296
+ * @private
297
+ * id for input node
298
+ */
299
+ inputId: {
300
+ type: StringConstructor;
301
+ reflect: boolean;
302
+ attribute: boolean;
303
+ };
304
+ };
305
+ static get styles(): import("lit").CSSResult[];
306
+ icon: boolean;
307
+ disabled: boolean;
308
+ required: boolean;
309
+ noValidate: boolean;
310
+ max: any;
311
+ min: any;
312
+ maxLength: any;
313
+ minLength: any;
314
+ onDark: boolean;
315
+ activeLabel: boolean;
316
+ setCustomValidityForType: string;
317
+ /**
318
+ * Internal Defaults.
319
+ * @private
320
+ * @returns {void}
321
+ */
322
+ private privateDefaults;
323
+ touched: boolean;
324
+ util: AuroInputUtilities;
325
+ validation: AuroFormValidation;
326
+ inputIconName: any;
327
+ showPassword: any;
328
+ validationCCLength: number;
329
+ hasValue: boolean;
330
+ label: string;
331
+ allowedInputTypes: string[];
332
+ /**
333
+ * Credit Card is not included as this caused cursor placement issues.
334
+ * The Safari issue.
335
+ */
336
+ setSelectionInputTypes: string[];
337
+ dateFormatMap: {
338
+ 'mm/dd/yyyy': string;
339
+ 'dd/mm/yyyy': string;
340
+ 'yyyy/mm/dd': string;
341
+ 'yyyy/dd/mm': string;
342
+ 'mm/yy': string;
343
+ 'yy/mm': string;
344
+ 'mm/yyyy': string;
345
+ 'yyyy/mm': string;
346
+ yy: string;
347
+ yyyy: string;
348
+ mm: string;
349
+ dd: string;
350
+ 'dd/mm': string;
351
+ 'mm/dd': string;
352
+ };
353
+ uniqueId: string;
354
+ firstUpdated(): void;
355
+ inputId: string;
356
+ inputElement: HTMLInputElement;
357
+ labelElement: HTMLLabelElement;
358
+ format: any;
359
+ ValidityMessageOverride: any;
360
+ /**
361
+ * @private
362
+ * @returns {void} Sets the default help text for the input.
363
+ */
364
+ private setCustomHelpTextMessage;
365
+ /**
366
+ * LitElement lifecycle method. Called after the DOM has been updated.
367
+ * @param {Map<string, any>} changedProperties - Keys are the names of changed properties, values are the corresponding previous values.
368
+ * @returns {void}
369
+ */
370
+ updated(changedProperties: Map<string, any>): void;
371
+ autocorrect: any;
372
+ /**
373
+ * @private
374
+ * @returns {void} Notify validity state changed via event.
375
+ */
376
+ private notifyValidityChange;
377
+ /**
378
+ * Sets up IMasks and logic based on auto-formatting requirements.
379
+ * @private
380
+ * @returns {void}
381
+ */
382
+ private configureAutoFormatting;
383
+ maskInstance: import("imask").InputMask<import("imask").FactoryArg>;
384
+ value: string;
385
+ formattedDate: any;
386
+ comparisonDate: any;
387
+ /**
388
+ * @private
389
+ * @returns {string}
390
+ */
391
+ private definePattern;
392
+ /**
393
+ * Function to set element focus.
394
+ * @private
395
+ * @return {void}
396
+ */
397
+ private focus;
398
+ /**
399
+ * Required to convert SVG icons from data to HTML string.
400
+ * @private
401
+ * @param {string} icon HTML string for requested icon.
402
+ * @returns {object} Appended HTML for SVG.
403
+ */
404
+ private getIconAsHtml;
405
+ /**
406
+ * Sends event notifying that the input has changed it's value.
407
+ * @private
408
+ * @returns {void}
409
+ */
410
+ private notifyValueChanged;
411
+ /**
412
+ * Handles event of clearing input content by clicking the X icon.
413
+ * @private
414
+ * @return {void}
415
+ */
416
+ private handleClickClear;
417
+ /**
418
+ * @private
419
+ * @return {void}
420
+ */
421
+ private handleInput;
422
+ /**
423
+ * Function to support @focusin event.
424
+ * @private
425
+ * @return {void}
426
+ */
427
+ private handleFocusin;
428
+ /**
429
+ * Function to support @blur event.
430
+ * @private
431
+ * @return {void}
432
+ */
433
+ private handleBlur;
434
+ /**
435
+ * Returns focused element, even if it's in the shadow DOM.
436
+ * @private
437
+ * @param {Object} root - Element to check for focus.
438
+ * @returns {Object}
439
+ */
440
+ private getActiveElement;
441
+ /**
442
+ * Validates value.
443
+ * @param {boolean} [force=false] - Whether to force validation.
444
+ */
445
+ validate(force?: boolean): void;
446
+ /**
447
+ * Resets component to initial state.
448
+ * @returns {void}
449
+ */
450
+ reset(): void;
451
+ /**
452
+ * Sets configuration data used elsewhere based on the `type` attribute.
453
+ * @private
454
+ * @returns {void}
455
+ */
456
+ private configureDataForType;
457
+ lengthForType: any;
458
+ inputmode: any;
459
+ /**
460
+ * Validates against list of supported this.allowedInputTypes; return type=text if invalid request.
461
+ * @private
462
+ * @param {string} type Value entered into component prop.
463
+ * @returns {string} Iterates over allowed types array.
464
+ */
465
+ private getInputType;
466
+ /**
467
+ * Determines default help text string.
468
+ * @private
469
+ * @returns {string} Evaluates pre-determined help text.
470
+ */
471
+ private getHelpText;
472
+ /**
473
+ * Function to support show-password feature.
474
+ * @private
475
+ * @returns {void}
476
+ */
477
+ private handleClickShowPassword;
478
+ /**
479
+ * Support placeholder text.
480
+ * @private
481
+ * @returns {string}
482
+ */
483
+ private getPlaceholder;
484
+ /**
485
+ * Defines placement of input icon based on type, used with classMap.
486
+ * @private
487
+ * @returns {boolean}
488
+ */
489
+ private defineInputIcon;
490
+ /**
491
+ * Defines padding of input label based on type, used with classMap.
492
+ * @private
493
+ * @returns {boolean}
494
+ */
495
+ private defineLabelPadding;
496
+ /**
497
+ * Function to support credit-card feature type.
498
+ * @private
499
+ * @returns {void}
500
+ */
501
+ private processCreditCard;
502
+ errorMessage: any;
503
+ /**
504
+ * Function to support credit-card feature type.
505
+ * @private
506
+ * @returns {object} JSON with data for credit card formatting.
507
+ */
508
+ private matchInputValueToCreditCard;
509
+ }
510
+ import { LitElement } from "lit";
511
+ import { AuroInputUtilities } from "./utilities.js";
512
+ import AuroFormValidation from '@auro-formkit/form-validation';
@@ -0,0 +1,2 @@
1
+ declare const _default: "9.3.0";
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: "1.0.0";
2
+ export default _default;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Function to support the selected of a string in the set lang.
3
+ * @param {string} lang - Requested lang for content return.
4
+ * @param {string} requestedString - String requested in context.
5
+ * @private
6
+ * @returns {string} Value of string request.
7
+ */
8
+ export default function i18n(lang: string, requestedString: string): string;
9
+ /**
10
+ * @private
11
+ * @param {object} element - Pass in the scope of the element in use.
12
+ */
13
+ export function notifyOnLangChange(element: object): void;
14
+ /**
15
+ * @private
16
+ * @param {object} element - Pass in the scope of the element in use.
17
+ */
18
+ export function stopNotifyingOnLangChange(element: object): void;
@@ -0,0 +1,2 @@
1
+ declare const _default: "8.0.1";
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { AuroInput };
2
+ import { AuroInput } from './auro-input.js';