@3t-transform/threeteeui 0.1.37 → 0.1.41

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 (125) hide show
  1. package/dist/cjs/domsanitiser.options-277161b9.js +1667 -0
  2. package/dist/cjs/{index-457ca775.js → index-76f14107.js} +2 -88
  3. package/dist/cjs/loader.cjs.js +2 -3
  4. package/dist/cjs/tttx-button.cjs.entry.js +25 -25
  5. package/dist/cjs/tttx-filter.cjs.entry.js +159 -159
  6. package/dist/cjs/tttx-form.cjs.entry.js +457 -373
  7. package/dist/cjs/tttx-icon.cjs.entry.js +11 -11
  8. package/dist/cjs/tttx-keyvalue-block.cjs.entry.js +59 -59
  9. package/dist/cjs/tttx-list.cjs.entry.js +32 -1694
  10. package/dist/cjs/tttx-loading-spinner.cjs.entry.js +16 -16
  11. package/dist/cjs/tttx-sorter.cjs.entry.js +102 -102
  12. package/dist/cjs/tttx-standalone-input.cjs.entry.js +79 -79
  13. package/dist/cjs/tttx-toolbar.cjs.entry.js +10 -10
  14. package/dist/cjs/tttx.cjs.js +2 -6
  15. package/dist/collection/collection-manifest.json +2 -2
  16. package/dist/collection/components/atoms/tttx-button/tttx-button.css +4 -4
  17. package/dist/collection/components/atoms/tttx-button/tttx-button.js +110 -110
  18. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +14 -14
  19. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +62 -62
  20. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +22 -22
  21. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +109 -109
  22. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +38 -38
  23. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +67 -67
  24. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +17 -17
  25. package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +334 -334
  26. package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +62 -62
  27. package/dist/collection/components/molecules/tttx-form/lib/setErrorState.js +37 -37
  28. package/dist/collection/components/molecules/tttx-form/lib/validityCheck.js +61 -58
  29. package/dist/collection/components/molecules/tttx-form/tttx-form.css +98 -2
  30. package/dist/collection/components/molecules/tttx-form/tttx-form.js +477 -393
  31. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +274 -218
  32. package/dist/collection/components/molecules/tttx-list/tttx-list.js +105 -105
  33. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +43 -43
  34. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +224 -224
  35. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +42 -42
  36. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +759 -759
  37. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +172 -172
  38. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +44 -44
  39. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +14 -14
  40. package/dist/collection/components/palette.stories.js +7 -7
  41. package/dist/collection/docs/gettingstarted-developer.stories.js +5 -5
  42. package/dist/collection/icons.js +2838 -2838
  43. package/dist/collection/index.js +1 -1
  44. package/dist/collection/shared/domsanitiser.options.js +14 -14
  45. package/dist/components/domsanitiser.options.js +1664 -0
  46. package/dist/components/index.d.ts +0 -9
  47. package/dist/components/index.js +1 -1
  48. package/dist/components/tttx-button.js +49 -49
  49. package/dist/components/tttx-filter.js +191 -191
  50. package/dist/components/tttx-form.js +475 -391
  51. package/dist/components/tttx-icon2.js +28 -28
  52. package/dist/components/tttx-keyvalue-block.js +76 -76
  53. package/dist/components/tttx-list.js +54 -1716
  54. package/dist/components/tttx-loading-spinner.js +33 -33
  55. package/dist/components/tttx-sorter.js +130 -130
  56. package/dist/components/tttx-standalone-input.js +130 -130
  57. package/dist/components/tttx-toolbar.js +26 -26
  58. package/dist/esm/domsanitiser.options-cc420431.js +1664 -0
  59. package/dist/esm/{index-d784fb3e.js → index-9cde46a5.js} +3 -88
  60. package/dist/esm/loader.js +2 -3
  61. package/dist/esm/polyfills/core-js.js +0 -0
  62. package/dist/esm/polyfills/css-shim.js +1 -1
  63. package/dist/esm/polyfills/dom.js +0 -0
  64. package/dist/esm/polyfills/es5-html-element.js +0 -0
  65. package/dist/esm/polyfills/index.js +0 -0
  66. package/dist/esm/polyfills/system.js +0 -0
  67. package/dist/esm/tttx-button.entry.js +25 -25
  68. package/dist/esm/tttx-filter.entry.js +159 -159
  69. package/dist/esm/tttx-form.entry.js +457 -373
  70. package/dist/esm/tttx-icon.entry.js +11 -11
  71. package/dist/esm/tttx-keyvalue-block.entry.js +59 -59
  72. package/dist/esm/tttx-list.entry.js +32 -1694
  73. package/dist/esm/tttx-loading-spinner.entry.js +16 -16
  74. package/dist/esm/tttx-sorter.entry.js +102 -102
  75. package/dist/esm/tttx-standalone-input.entry.js +79 -79
  76. package/dist/esm/tttx-toolbar.entry.js +10 -10
  77. package/dist/esm/tttx.js +2 -3
  78. package/dist/tttx/{p-400868f1.entry.js → p-3b1be372.entry.js} +1 -1
  79. package/dist/tttx/{p-563605b2.entry.js → p-561224f5.entry.js} +1 -1
  80. package/dist/tttx/{p-b720c4ad.entry.js → p-9f1e9cc1.entry.js} +1 -1
  81. package/dist/tttx/{p-798a098a.entry.js → p-aef96333.entry.js} +1 -1
  82. package/dist/tttx/p-b4290a5b.js +3 -0
  83. package/dist/tttx/p-bd1edaed.entry.js +1 -0
  84. package/dist/tttx/p-d0ff9ad0.entry.js +1 -0
  85. package/dist/tttx/{p-cac26a1b.entry.js → p-d2f1aa8e.entry.js} +1 -1
  86. package/dist/tttx/p-db059a69.js +2 -0
  87. package/dist/tttx/p-dc2a37b0.entry.js +1 -0
  88. package/dist/tttx/{p-ab6ce9f6.entry.js → p-e53c7f9d.entry.js} +1 -1
  89. package/dist/tttx/{p-92cade7f.entry.js → p-f885f17a.entry.js} +1 -1
  90. package/dist/tttx/tttx.esm.js +1 -1
  91. package/dist/types/components/atoms/tttx-button/tttx-button.d.ts +10 -10
  92. package/dist/types/components/atoms/tttx-button/tttx-button.stories.d.ts +10 -10
  93. package/dist/types/components/atoms/tttx-icon/tttx-icon.d.ts +5 -5
  94. package/dist/types/components/atoms/tttx-icon/tttx-icon.stories.d.ts +20 -20
  95. package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.d.ts +7 -7
  96. package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.d.ts +9 -9
  97. package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.d.ts +6 -6
  98. package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.d.ts +17 -17
  99. package/dist/types/components/molecules/tttx-filter/tttx-filter.d.ts +39 -39
  100. package/dist/types/components/molecules/tttx-filter/tttx-filter.stories.d.ts +68 -68
  101. package/dist/types/components/molecules/tttx-form/lib/setErrorState.d.ts +13 -13
  102. package/dist/types/components/molecules/tttx-form/lib/validityCheck.d.ts +17 -17
  103. package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +133 -111
  104. package/dist/types/components/molecules/tttx-form/tttx-form.stories.d.ts +278 -13
  105. package/dist/types/components/molecules/tttx-list/tttx-list.d.ts +11 -11
  106. package/dist/types/components/molecules/tttx-list/tttx-list.stories.d.ts +14 -14
  107. package/dist/types/components/molecules/tttx-sorter/tttx-sorter.d.ts +19 -19
  108. package/dist/types/components/molecules/tttx-sorter/tttx-sorter.stories.d.ts +30 -30
  109. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +69 -69
  110. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.d.ts +143 -143
  111. package/dist/types/components/molecules/tttx-toolbar/tttx-toolbar.d.ts +4 -4
  112. package/dist/types/components/molecules/tttx-toolbar/tttx-toolbar.stories.d.ts +13 -13
  113. package/dist/types/components/palette.stories.d.ts +6 -6
  114. package/dist/types/components.d.ts +1 -1
  115. package/dist/types/docs/gettingstarted-developer.stories.d.ts +5 -5
  116. package/dist/types/icons.d.ts +2 -2
  117. package/dist/types/index.d.ts +1 -1
  118. package/dist/types/shared/domsanitiser.options.d.ts +10 -10
  119. package/dist/types/stencil-public-runtime.d.ts +3 -59
  120. package/loader/index.d.ts +0 -9
  121. package/package.json +1 -1
  122. package/dist/tttx/p-0ebffdfc.js +0 -2
  123. package/dist/tttx/p-72e7f7dd.entry.js +0 -3
  124. package/dist/tttx/p-c4162029.entry.js +0 -1
  125. package/dist/tttx/p-eb126fd0.entry.js +0 -1
@@ -1,759 +1,759 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import { Host, h } from '@stencil/core';
3
- export class TttxInput {
4
- constructor() {
5
- this.label = undefined;
6
- this.secondarylabel = undefined;
7
- this.showerrormsg = undefined;
8
- this.showerrorbubble = true;
9
- this.errormsg = undefined;
10
- this.iconleft = undefined;
11
- this.iconleftcolor = 'grey';
12
- this.iconright = undefined;
13
- this.iconrightcolor = 'grey';
14
- this.inputicon = undefined;
15
- this.inputiconcolor = 'grey';
16
- this.inline = undefined;
17
- this.inputautocapitalize = undefined;
18
- this.inputautofocus = undefined;
19
- this.inputkeyhint = undefined;
20
- this.inputindex = undefined;
21
- this.inputtitle = undefined;
22
- this.autocomplete = undefined;
23
- this.checked = undefined;
24
- this.disabled = undefined;
25
- this.max = undefined;
26
- this.maxlength = undefined;
27
- this.min = undefined;
28
- this.minlength = undefined;
29
- this.name = undefined;
30
- this.pattern = undefined;
31
- this.placeholder = undefined;
32
- this.readonly = undefined;
33
- this.required = undefined;
34
- this.step = undefined;
35
- this.type = 'text';
36
- this.value = undefined;
37
- }
38
- handleChange(event) {
39
- const target = event.target;
40
- this.value = target.value;
41
- this.valueChanged.emit(target.value);
42
- }
43
- handleFocus(event) {
44
- const target = event.target;
45
- this.focusChanged.emit(target.value);
46
- }
47
- handleBlur(event) {
48
- const target = event.target;
49
- this.blurChanged.emit(target.value);
50
- }
51
- handleInvalid(event) {
52
- event.preventDefault();
53
- const target = event.target;
54
- this.invalidChanged.emit(target.value);
55
- }
56
- handleInputIconClick(event) {
57
- event.preventDefault();
58
- this.inputIconClick.emit();
59
- }
60
- handleLeftIconClick(event) {
61
- event.preventDefault();
62
- this.leftIconClick.emit();
63
- }
64
- handleRightIconClick(event) {
65
- event.preventDefault();
66
- this.rightIconClick.emit();
67
- }
68
- render() {
69
- const classNames = ['standalone', this.showerrormsg ? 'invalid' : ''].join(' ');
70
- return (h(Host, null, h("label", { class: this.inline ? 'inputInline' : 'inputBlock' }, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: "input-container" }, this.inputicon && (h("tttx-icon", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon", { id: "icon-left", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })), this.iconright && (h("tttx-icon", { id: "icon-right", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })), h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), this.secondarylabel && h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, h("span", { class: "material-symbols-rounded validationicon" }, "warning"), " ", this.errormsg))))));
71
- }
72
- static get is() { return "tttx-standalone-input"; }
73
- static get encapsulation() { return "scoped"; }
74
- static get originalStyleUrls() {
75
- return {
76
- "$": ["./tttx-standalone-input.scss"]
77
- };
78
- }
79
- static get styleUrls() {
80
- return {
81
- "$": ["tttx-standalone-input.css"]
82
- };
83
- }
84
- static get properties() {
85
- return {
86
- "label": {
87
- "type": "string",
88
- "mutable": false,
89
- "complexType": {
90
- "original": "string",
91
- "resolved": "string",
92
- "references": {}
93
- },
94
- "required": false,
95
- "optional": false,
96
- "docs": {
97
- "tags": [],
98
- "text": ""
99
- },
100
- "attribute": "label",
101
- "reflect": false
102
- },
103
- "secondarylabel": {
104
- "type": "string",
105
- "mutable": false,
106
- "complexType": {
107
- "original": "string",
108
- "resolved": "string",
109
- "references": {}
110
- },
111
- "required": false,
112
- "optional": false,
113
- "docs": {
114
- "tags": [],
115
- "text": "Footnote under the input field"
116
- },
117
- "attribute": "secondarylabel",
118
- "reflect": false
119
- },
120
- "showerrormsg": {
121
- "type": "boolean",
122
- "mutable": false,
123
- "complexType": {
124
- "original": "boolean",
125
- "resolved": "boolean",
126
- "references": {}
127
- },
128
- "required": false,
129
- "optional": false,
130
- "docs": {
131
- "tags": [],
132
- "text": ""
133
- },
134
- "attribute": "showerrormsg",
135
- "reflect": false
136
- },
137
- "showerrorbubble": {
138
- "type": "boolean",
139
- "mutable": false,
140
- "complexType": {
141
- "original": "boolean",
142
- "resolved": "boolean",
143
- "references": {}
144
- },
145
- "required": false,
146
- "optional": false,
147
- "docs": {
148
- "tags": [],
149
- "text": ""
150
- },
151
- "attribute": "showerrorbubble",
152
- "reflect": false,
153
- "defaultValue": "true"
154
- },
155
- "errormsg": {
156
- "type": "string",
157
- "mutable": false,
158
- "complexType": {
159
- "original": "string",
160
- "resolved": "string",
161
- "references": {}
162
- },
163
- "required": false,
164
- "optional": false,
165
- "docs": {
166
- "tags": [],
167
- "text": ""
168
- },
169
- "attribute": "errormsg",
170
- "reflect": false
171
- },
172
- "iconleft": {
173
- "type": "string",
174
- "mutable": false,
175
- "complexType": {
176
- "original": "string",
177
- "resolved": "string",
178
- "references": {}
179
- },
180
- "required": false,
181
- "optional": false,
182
- "docs": {
183
- "tags": [],
184
- "text": ""
185
- },
186
- "attribute": "iconleft",
187
- "reflect": false
188
- },
189
- "iconleftcolor": {
190
- "type": "string",
191
- "mutable": false,
192
- "complexType": {
193
- "original": "string",
194
- "resolved": "string",
195
- "references": {}
196
- },
197
- "required": false,
198
- "optional": false,
199
- "docs": {
200
- "tags": [],
201
- "text": ""
202
- },
203
- "attribute": "iconleftcolor",
204
- "reflect": false,
205
- "defaultValue": "'grey'"
206
- },
207
- "iconright": {
208
- "type": "string",
209
- "mutable": false,
210
- "complexType": {
211
- "original": "string",
212
- "resolved": "string",
213
- "references": {}
214
- },
215
- "required": false,
216
- "optional": false,
217
- "docs": {
218
- "tags": [],
219
- "text": ""
220
- },
221
- "attribute": "iconright",
222
- "reflect": false
223
- },
224
- "iconrightcolor": {
225
- "type": "string",
226
- "mutable": false,
227
- "complexType": {
228
- "original": "string",
229
- "resolved": "string",
230
- "references": {}
231
- },
232
- "required": false,
233
- "optional": false,
234
- "docs": {
235
- "tags": [],
236
- "text": ""
237
- },
238
- "attribute": "iconrightcolor",
239
- "reflect": false,
240
- "defaultValue": "'grey'"
241
- },
242
- "inputicon": {
243
- "type": "string",
244
- "mutable": false,
245
- "complexType": {
246
- "original": "string",
247
- "resolved": "string",
248
- "references": {}
249
- },
250
- "required": false,
251
- "optional": false,
252
- "docs": {
253
- "tags": [],
254
- "text": ""
255
- },
256
- "attribute": "inputicon",
257
- "reflect": false
258
- },
259
- "inputiconcolor": {
260
- "type": "string",
261
- "mutable": false,
262
- "complexType": {
263
- "original": "string",
264
- "resolved": "string",
265
- "references": {}
266
- },
267
- "required": false,
268
- "optional": false,
269
- "docs": {
270
- "tags": [],
271
- "text": ""
272
- },
273
- "attribute": "inputiconcolor",
274
- "reflect": false,
275
- "defaultValue": "'grey'"
276
- },
277
- "inline": {
278
- "type": "boolean",
279
- "mutable": false,
280
- "complexType": {
281
- "original": "boolean",
282
- "resolved": "boolean",
283
- "references": {}
284
- },
285
- "required": false,
286
- "optional": false,
287
- "docs": {
288
- "tags": [],
289
- "text": ""
290
- },
291
- "attribute": "inline",
292
- "reflect": false
293
- },
294
- "inputautocapitalize": {
295
- "type": "string",
296
- "mutable": false,
297
- "complexType": {
298
- "original": "'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'",
299
- "resolved": "\"characters\" | \"none\" | \"off\" | \"on\" | \"sentences\" | \"words\"",
300
- "references": {}
301
- },
302
- "required": false,
303
- "optional": false,
304
- "docs": {
305
- "tags": [],
306
- "text": ""
307
- },
308
- "attribute": "inputautocapitalize",
309
- "reflect": false
310
- },
311
- "inputautofocus": {
312
- "type": "boolean",
313
- "mutable": false,
314
- "complexType": {
315
- "original": "boolean",
316
- "resolved": "boolean",
317
- "references": {}
318
- },
319
- "required": false,
320
- "optional": false,
321
- "docs": {
322
- "tags": [],
323
- "text": ""
324
- },
325
- "attribute": "inputautofocus",
326
- "reflect": false
327
- },
328
- "inputkeyhint": {
329
- "type": "string",
330
- "mutable": false,
331
- "complexType": {
332
- "original": "'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'",
333
- "resolved": "\"done\" | \"enter\" | \"go\" | \"next\" | \"previous\" | \"search\" | \"send\"",
334
- "references": {}
335
- },
336
- "required": false,
337
- "optional": false,
338
- "docs": {
339
- "tags": [],
340
- "text": "Defines what action to present for the enter key on virtual keyboards"
341
- },
342
- "attribute": "inputkeyhint",
343
- "reflect": false
344
- },
345
- "inputindex": {
346
- "type": "any",
347
- "mutable": false,
348
- "complexType": {
349
- "original": "string | number",
350
- "resolved": "number | string",
351
- "references": {}
352
- },
353
- "required": false,
354
- "optional": false,
355
- "docs": {
356
- "tags": [{
357
- "name": "example",
358
- "text": "<caption>In HTML (like `index.html`)</caption>\n<tttx-standalone-input input-index=\"1\" />"
359
- }, {
360
- "name": "example",
361
- "text": "<caption>In TSX files</caption>\n<tttx-standalone-input inputindex={1} />"
362
- }],
363
- "text": "tabindex - Allows the HTML elements to be focusable"
364
- },
365
- "attribute": "inputindex",
366
- "reflect": false
367
- },
368
- "inputtitle": {
369
- "type": "string",
370
- "mutable": false,
371
- "complexType": {
372
- "original": "string",
373
- "resolved": "string",
374
- "references": {}
375
- },
376
- "required": false,
377
- "optional": false,
378
- "docs": {
379
- "tags": [],
380
- "text": ""
381
- },
382
- "attribute": "inputtitle",
383
- "reflect": false
384
- },
385
- "autocomplete": {
386
- "type": "string",
387
- "mutable": false,
388
- "complexType": {
389
- "original": "'off' | 'on'",
390
- "resolved": "\"off\" | \"on\"",
391
- "references": {}
392
- },
393
- "required": false,
394
- "optional": false,
395
- "docs": {
396
- "tags": [],
397
- "text": ""
398
- },
399
- "attribute": "autocomplete",
400
- "reflect": false
401
- },
402
- "checked": {
403
- "type": "boolean",
404
- "mutable": false,
405
- "complexType": {
406
- "original": "boolean",
407
- "resolved": "boolean",
408
- "references": {}
409
- },
410
- "required": false,
411
- "optional": false,
412
- "docs": {
413
- "tags": [],
414
- "text": ""
415
- },
416
- "attribute": "checked",
417
- "reflect": false
418
- },
419
- "disabled": {
420
- "type": "boolean",
421
- "mutable": false,
422
- "complexType": {
423
- "original": "boolean",
424
- "resolved": "boolean",
425
- "references": {}
426
- },
427
- "required": false,
428
- "optional": false,
429
- "docs": {
430
- "tags": [],
431
- "text": ""
432
- },
433
- "attribute": "disabled",
434
- "reflect": false
435
- },
436
- "max": {
437
- "type": "any",
438
- "mutable": false,
439
- "complexType": {
440
- "original": "MinMaxDates | number",
441
- "resolved": "`${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}` | `${number}${number}${number}${number}-${number}${number}-${number}${number}` | `${number}${number}${number}${number}-${number}${number}` | `${number}${number}${number}${number}-W${number}${number}` | `${number}${number}:${number}${number}` | number",
442
- "references": {
443
- "MinMaxDates": {
444
- "location": "local"
445
- }
446
- }
447
- },
448
- "required": false,
449
- "optional": false,
450
- "docs": {
451
- "tags": [],
452
- "text": ""
453
- },
454
- "attribute": "max",
455
- "reflect": false
456
- },
457
- "maxlength": {
458
- "type": "any",
459
- "mutable": false,
460
- "complexType": {
461
- "original": "string | number",
462
- "resolved": "number | string",
463
- "references": {}
464
- },
465
- "required": false,
466
- "optional": false,
467
- "docs": {
468
- "tags": [],
469
- "text": ""
470
- },
471
- "attribute": "maxlength",
472
- "reflect": false
473
- },
474
- "min": {
475
- "type": "any",
476
- "mutable": false,
477
- "complexType": {
478
- "original": "MinMaxDates | number",
479
- "resolved": "`${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}` | `${number}${number}${number}${number}-${number}${number}-${number}${number}` | `${number}${number}${number}${number}-${number}${number}` | `${number}${number}${number}${number}-W${number}${number}` | `${number}${number}:${number}${number}` | number",
480
- "references": {
481
- "MinMaxDates": {
482
- "location": "local"
483
- }
484
- }
485
- },
486
- "required": false,
487
- "optional": false,
488
- "docs": {
489
- "tags": [],
490
- "text": ""
491
- },
492
- "attribute": "min",
493
- "reflect": false
494
- },
495
- "minlength": {
496
- "type": "any",
497
- "mutable": false,
498
- "complexType": {
499
- "original": "string | number",
500
- "resolved": "number | string",
501
- "references": {}
502
- },
503
- "required": false,
504
- "optional": false,
505
- "docs": {
506
- "tags": [],
507
- "text": ""
508
- },
509
- "attribute": "minlength",
510
- "reflect": false
511
- },
512
- "name": {
513
- "type": "string",
514
- "mutable": false,
515
- "complexType": {
516
- "original": "string",
517
- "resolved": "string",
518
- "references": {}
519
- },
520
- "required": false,
521
- "optional": false,
522
- "docs": {
523
- "tags": [],
524
- "text": ""
525
- },
526
- "attribute": "name",
527
- "reflect": false
528
- },
529
- "pattern": {
530
- "type": "string",
531
- "mutable": false,
532
- "complexType": {
533
- "original": "string",
534
- "resolved": "string",
535
- "references": {}
536
- },
537
- "required": false,
538
- "optional": false,
539
- "docs": {
540
- "tags": [],
541
- "text": ""
542
- },
543
- "attribute": "pattern",
544
- "reflect": false
545
- },
546
- "placeholder": {
547
- "type": "string",
548
- "mutable": false,
549
- "complexType": {
550
- "original": "string",
551
- "resolved": "string",
552
- "references": {}
553
- },
554
- "required": false,
555
- "optional": false,
556
- "docs": {
557
- "tags": [],
558
- "text": ""
559
- },
560
- "attribute": "placeholder",
561
- "reflect": false
562
- },
563
- "readonly": {
564
- "type": "any",
565
- "mutable": false,
566
- "complexType": {
567
- "original": "string | boolean",
568
- "resolved": "boolean | string",
569
- "references": {}
570
- },
571
- "required": false,
572
- "optional": false,
573
- "docs": {
574
- "tags": [],
575
- "text": ""
576
- },
577
- "attribute": "readonly",
578
- "reflect": false
579
- },
580
- "required": {
581
- "type": "boolean",
582
- "mutable": false,
583
- "complexType": {
584
- "original": "boolean",
585
- "resolved": "boolean",
586
- "references": {}
587
- },
588
- "required": false,
589
- "optional": false,
590
- "docs": {
591
- "tags": [],
592
- "text": ""
593
- },
594
- "attribute": "required",
595
- "reflect": false
596
- },
597
- "step": {
598
- "type": "any",
599
- "mutable": false,
600
- "complexType": {
601
- "original": "string | number",
602
- "resolved": "number | string",
603
- "references": {}
604
- },
605
- "required": false,
606
- "optional": false,
607
- "docs": {
608
- "tags": [],
609
- "text": ""
610
- },
611
- "attribute": "step",
612
- "reflect": false
613
- },
614
- "type": {
615
- "type": "string",
616
- "mutable": false,
617
- "complexType": {
618
- "original": "string",
619
- "resolved": "string",
620
- "references": {}
621
- },
622
- "required": false,
623
- "optional": false,
624
- "docs": {
625
- "tags": [],
626
- "text": ""
627
- },
628
- "attribute": "type",
629
- "reflect": false,
630
- "defaultValue": "'text'"
631
- },
632
- "value": {
633
- "type": "any",
634
- "mutable": true,
635
- "complexType": {
636
- "original": "string | number",
637
- "resolved": "number | string",
638
- "references": {}
639
- },
640
- "required": false,
641
- "optional": false,
642
- "docs": {
643
- "tags": [],
644
- "text": ""
645
- },
646
- "attribute": "value",
647
- "reflect": false
648
- }
649
- };
650
- }
651
- static get events() {
652
- return [{
653
- "method": "valueChanged",
654
- "name": "valueChanged",
655
- "bubbles": true,
656
- "cancelable": true,
657
- "composed": true,
658
- "docs": {
659
- "tags": [],
660
- "text": ""
661
- },
662
- "complexType": {
663
- "original": "string",
664
- "resolved": "string",
665
- "references": {}
666
- }
667
- }, {
668
- "method": "focusChanged",
669
- "name": "focusChanged",
670
- "bubbles": true,
671
- "cancelable": true,
672
- "composed": true,
673
- "docs": {
674
- "tags": [],
675
- "text": ""
676
- },
677
- "complexType": {
678
- "original": "string",
679
- "resolved": "string",
680
- "references": {}
681
- }
682
- }, {
683
- "method": "blurChanged",
684
- "name": "blurChanged",
685
- "bubbles": true,
686
- "cancelable": true,
687
- "composed": true,
688
- "docs": {
689
- "tags": [],
690
- "text": ""
691
- },
692
- "complexType": {
693
- "original": "string",
694
- "resolved": "string",
695
- "references": {}
696
- }
697
- }, {
698
- "method": "invalidChanged",
699
- "name": "invalidChanged",
700
- "bubbles": true,
701
- "cancelable": true,
702
- "composed": true,
703
- "docs": {
704
- "tags": [],
705
- "text": ""
706
- },
707
- "complexType": {
708
- "original": "string",
709
- "resolved": "string",
710
- "references": {}
711
- }
712
- }, {
713
- "method": "inputIconClick",
714
- "name": "inputIconClick",
715
- "bubbles": true,
716
- "cancelable": true,
717
- "composed": true,
718
- "docs": {
719
- "tags": [],
720
- "text": ""
721
- },
722
- "complexType": {
723
- "original": "void",
724
- "resolved": "void",
725
- "references": {}
726
- }
727
- }, {
728
- "method": "leftIconClick",
729
- "name": "leftIconClick",
730
- "bubbles": true,
731
- "cancelable": true,
732
- "composed": true,
733
- "docs": {
734
- "tags": [],
735
- "text": ""
736
- },
737
- "complexType": {
738
- "original": "void",
739
- "resolved": "void",
740
- "references": {}
741
- }
742
- }, {
743
- "method": "rightIconClick",
744
- "name": "rightIconClick",
745
- "bubbles": true,
746
- "cancelable": true,
747
- "composed": true,
748
- "docs": {
749
- "tags": [],
750
- "text": ""
751
- },
752
- "complexType": {
753
- "original": "void",
754
- "resolved": "void",
755
- "references": {}
756
- }
757
- }];
758
- }
759
- }
1
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
+ import { Host, h } from '@stencil/core';
3
+ export class TttxInput {
4
+ constructor() {
5
+ this.label = undefined;
6
+ this.secondarylabel = undefined;
7
+ this.showerrormsg = undefined;
8
+ this.showerrorbubble = true;
9
+ this.errormsg = undefined;
10
+ this.iconleft = undefined;
11
+ this.iconleftcolor = 'grey';
12
+ this.iconright = undefined;
13
+ this.iconrightcolor = 'grey';
14
+ this.inputicon = undefined;
15
+ this.inputiconcolor = 'grey';
16
+ this.inline = undefined;
17
+ this.inputautocapitalize = undefined;
18
+ this.inputautofocus = undefined;
19
+ this.inputkeyhint = undefined;
20
+ this.inputindex = undefined;
21
+ this.inputtitle = undefined;
22
+ this.autocomplete = undefined;
23
+ this.checked = undefined;
24
+ this.disabled = undefined;
25
+ this.max = undefined;
26
+ this.maxlength = undefined;
27
+ this.min = undefined;
28
+ this.minlength = undefined;
29
+ this.name = undefined;
30
+ this.pattern = undefined;
31
+ this.placeholder = undefined;
32
+ this.readonly = undefined;
33
+ this.required = undefined;
34
+ this.step = undefined;
35
+ this.type = 'text';
36
+ this.value = undefined;
37
+ }
38
+ handleChange(event) {
39
+ const target = event.target;
40
+ this.value = target.value;
41
+ this.valueChanged.emit(target.value);
42
+ }
43
+ handleFocus(event) {
44
+ const target = event.target;
45
+ this.focusChanged.emit(target.value);
46
+ }
47
+ handleBlur(event) {
48
+ const target = event.target;
49
+ this.blurChanged.emit(target.value);
50
+ }
51
+ handleInvalid(event) {
52
+ event.preventDefault();
53
+ const target = event.target;
54
+ this.invalidChanged.emit(target.value);
55
+ }
56
+ handleInputIconClick(event) {
57
+ event.preventDefault();
58
+ this.inputIconClick.emit();
59
+ }
60
+ handleLeftIconClick(event) {
61
+ event.preventDefault();
62
+ this.leftIconClick.emit();
63
+ }
64
+ handleRightIconClick(event) {
65
+ event.preventDefault();
66
+ this.rightIconClick.emit();
67
+ }
68
+ render() {
69
+ const classNames = ['standalone', this.showerrormsg ? 'invalid' : ''].join(' ');
70
+ return (h(Host, null, h("label", { class: this.inline ? 'inputInline' : 'inputBlock' }, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: "input-container" }, this.inputicon && (h("tttx-icon", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon", { id: "icon-left", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })), this.iconright && (h("tttx-icon", { id: "icon-right", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })), h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), this.secondarylabel && h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, h("span", { class: "material-symbols-rounded validationicon" }, "warning"), " ", this.errormsg))))));
71
+ }
72
+ static get is() { return "tttx-standalone-input"; }
73
+ static get encapsulation() { return "scoped"; }
74
+ static get originalStyleUrls() {
75
+ return {
76
+ "$": ["./tttx-standalone-input.scss"]
77
+ };
78
+ }
79
+ static get styleUrls() {
80
+ return {
81
+ "$": ["tttx-standalone-input.css"]
82
+ };
83
+ }
84
+ static get properties() {
85
+ return {
86
+ "label": {
87
+ "type": "string",
88
+ "mutable": false,
89
+ "complexType": {
90
+ "original": "string",
91
+ "resolved": "string",
92
+ "references": {}
93
+ },
94
+ "required": false,
95
+ "optional": false,
96
+ "docs": {
97
+ "tags": [],
98
+ "text": ""
99
+ },
100
+ "attribute": "label",
101
+ "reflect": false
102
+ },
103
+ "secondarylabel": {
104
+ "type": "string",
105
+ "mutable": false,
106
+ "complexType": {
107
+ "original": "string",
108
+ "resolved": "string",
109
+ "references": {}
110
+ },
111
+ "required": false,
112
+ "optional": false,
113
+ "docs": {
114
+ "tags": [],
115
+ "text": "Footnote under the input field"
116
+ },
117
+ "attribute": "secondarylabel",
118
+ "reflect": false
119
+ },
120
+ "showerrormsg": {
121
+ "type": "boolean",
122
+ "mutable": false,
123
+ "complexType": {
124
+ "original": "boolean",
125
+ "resolved": "boolean",
126
+ "references": {}
127
+ },
128
+ "required": false,
129
+ "optional": false,
130
+ "docs": {
131
+ "tags": [],
132
+ "text": ""
133
+ },
134
+ "attribute": "showerrormsg",
135
+ "reflect": false
136
+ },
137
+ "showerrorbubble": {
138
+ "type": "boolean",
139
+ "mutable": false,
140
+ "complexType": {
141
+ "original": "boolean",
142
+ "resolved": "boolean",
143
+ "references": {}
144
+ },
145
+ "required": false,
146
+ "optional": false,
147
+ "docs": {
148
+ "tags": [],
149
+ "text": ""
150
+ },
151
+ "attribute": "showerrorbubble",
152
+ "reflect": false,
153
+ "defaultValue": "true"
154
+ },
155
+ "errormsg": {
156
+ "type": "string",
157
+ "mutable": false,
158
+ "complexType": {
159
+ "original": "string",
160
+ "resolved": "string",
161
+ "references": {}
162
+ },
163
+ "required": false,
164
+ "optional": false,
165
+ "docs": {
166
+ "tags": [],
167
+ "text": ""
168
+ },
169
+ "attribute": "errormsg",
170
+ "reflect": false
171
+ },
172
+ "iconleft": {
173
+ "type": "string",
174
+ "mutable": false,
175
+ "complexType": {
176
+ "original": "string",
177
+ "resolved": "string",
178
+ "references": {}
179
+ },
180
+ "required": false,
181
+ "optional": false,
182
+ "docs": {
183
+ "tags": [],
184
+ "text": ""
185
+ },
186
+ "attribute": "iconleft",
187
+ "reflect": false
188
+ },
189
+ "iconleftcolor": {
190
+ "type": "string",
191
+ "mutable": false,
192
+ "complexType": {
193
+ "original": "string",
194
+ "resolved": "string",
195
+ "references": {}
196
+ },
197
+ "required": false,
198
+ "optional": false,
199
+ "docs": {
200
+ "tags": [],
201
+ "text": ""
202
+ },
203
+ "attribute": "iconleftcolor",
204
+ "reflect": false,
205
+ "defaultValue": "'grey'"
206
+ },
207
+ "iconright": {
208
+ "type": "string",
209
+ "mutable": false,
210
+ "complexType": {
211
+ "original": "string",
212
+ "resolved": "string",
213
+ "references": {}
214
+ },
215
+ "required": false,
216
+ "optional": false,
217
+ "docs": {
218
+ "tags": [],
219
+ "text": ""
220
+ },
221
+ "attribute": "iconright",
222
+ "reflect": false
223
+ },
224
+ "iconrightcolor": {
225
+ "type": "string",
226
+ "mutable": false,
227
+ "complexType": {
228
+ "original": "string",
229
+ "resolved": "string",
230
+ "references": {}
231
+ },
232
+ "required": false,
233
+ "optional": false,
234
+ "docs": {
235
+ "tags": [],
236
+ "text": ""
237
+ },
238
+ "attribute": "iconrightcolor",
239
+ "reflect": false,
240
+ "defaultValue": "'grey'"
241
+ },
242
+ "inputicon": {
243
+ "type": "string",
244
+ "mutable": false,
245
+ "complexType": {
246
+ "original": "string",
247
+ "resolved": "string",
248
+ "references": {}
249
+ },
250
+ "required": false,
251
+ "optional": false,
252
+ "docs": {
253
+ "tags": [],
254
+ "text": ""
255
+ },
256
+ "attribute": "inputicon",
257
+ "reflect": false
258
+ },
259
+ "inputiconcolor": {
260
+ "type": "string",
261
+ "mutable": false,
262
+ "complexType": {
263
+ "original": "string",
264
+ "resolved": "string",
265
+ "references": {}
266
+ },
267
+ "required": false,
268
+ "optional": false,
269
+ "docs": {
270
+ "tags": [],
271
+ "text": ""
272
+ },
273
+ "attribute": "inputiconcolor",
274
+ "reflect": false,
275
+ "defaultValue": "'grey'"
276
+ },
277
+ "inline": {
278
+ "type": "boolean",
279
+ "mutable": false,
280
+ "complexType": {
281
+ "original": "boolean",
282
+ "resolved": "boolean",
283
+ "references": {}
284
+ },
285
+ "required": false,
286
+ "optional": false,
287
+ "docs": {
288
+ "tags": [],
289
+ "text": ""
290
+ },
291
+ "attribute": "inline",
292
+ "reflect": false
293
+ },
294
+ "inputautocapitalize": {
295
+ "type": "string",
296
+ "mutable": false,
297
+ "complexType": {
298
+ "original": "'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'",
299
+ "resolved": "\"characters\" | \"none\" | \"off\" | \"on\" | \"sentences\" | \"words\"",
300
+ "references": {}
301
+ },
302
+ "required": false,
303
+ "optional": false,
304
+ "docs": {
305
+ "tags": [],
306
+ "text": ""
307
+ },
308
+ "attribute": "inputautocapitalize",
309
+ "reflect": false
310
+ },
311
+ "inputautofocus": {
312
+ "type": "boolean",
313
+ "mutable": false,
314
+ "complexType": {
315
+ "original": "boolean",
316
+ "resolved": "boolean",
317
+ "references": {}
318
+ },
319
+ "required": false,
320
+ "optional": false,
321
+ "docs": {
322
+ "tags": [],
323
+ "text": ""
324
+ },
325
+ "attribute": "inputautofocus",
326
+ "reflect": false
327
+ },
328
+ "inputkeyhint": {
329
+ "type": "string",
330
+ "mutable": false,
331
+ "complexType": {
332
+ "original": "'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'",
333
+ "resolved": "\"done\" | \"enter\" | \"go\" | \"next\" | \"previous\" | \"search\" | \"send\"",
334
+ "references": {}
335
+ },
336
+ "required": false,
337
+ "optional": false,
338
+ "docs": {
339
+ "tags": [],
340
+ "text": "Defines what action to present for the enter key on virtual keyboards"
341
+ },
342
+ "attribute": "inputkeyhint",
343
+ "reflect": false
344
+ },
345
+ "inputindex": {
346
+ "type": "any",
347
+ "mutable": false,
348
+ "complexType": {
349
+ "original": "string | number",
350
+ "resolved": "number | string",
351
+ "references": {}
352
+ },
353
+ "required": false,
354
+ "optional": false,
355
+ "docs": {
356
+ "tags": [{
357
+ "name": "example",
358
+ "text": "<caption>In HTML (like `index.html`)</caption>\n<tttx-standalone-input input-index=\"1\" />"
359
+ }, {
360
+ "name": "example",
361
+ "text": "<caption>In TSX files</caption>\n<tttx-standalone-input inputindex={1} />"
362
+ }],
363
+ "text": "tabindex - Allows the HTML elements to be focusable"
364
+ },
365
+ "attribute": "inputindex",
366
+ "reflect": false
367
+ },
368
+ "inputtitle": {
369
+ "type": "string",
370
+ "mutable": false,
371
+ "complexType": {
372
+ "original": "string",
373
+ "resolved": "string",
374
+ "references": {}
375
+ },
376
+ "required": false,
377
+ "optional": false,
378
+ "docs": {
379
+ "tags": [],
380
+ "text": ""
381
+ },
382
+ "attribute": "inputtitle",
383
+ "reflect": false
384
+ },
385
+ "autocomplete": {
386
+ "type": "string",
387
+ "mutable": false,
388
+ "complexType": {
389
+ "original": "'off' | 'on'",
390
+ "resolved": "\"off\" | \"on\"",
391
+ "references": {}
392
+ },
393
+ "required": false,
394
+ "optional": false,
395
+ "docs": {
396
+ "tags": [],
397
+ "text": ""
398
+ },
399
+ "attribute": "autocomplete",
400
+ "reflect": false
401
+ },
402
+ "checked": {
403
+ "type": "boolean",
404
+ "mutable": false,
405
+ "complexType": {
406
+ "original": "boolean",
407
+ "resolved": "boolean",
408
+ "references": {}
409
+ },
410
+ "required": false,
411
+ "optional": false,
412
+ "docs": {
413
+ "tags": [],
414
+ "text": ""
415
+ },
416
+ "attribute": "checked",
417
+ "reflect": false
418
+ },
419
+ "disabled": {
420
+ "type": "boolean",
421
+ "mutable": false,
422
+ "complexType": {
423
+ "original": "boolean",
424
+ "resolved": "boolean",
425
+ "references": {}
426
+ },
427
+ "required": false,
428
+ "optional": false,
429
+ "docs": {
430
+ "tags": [],
431
+ "text": ""
432
+ },
433
+ "attribute": "disabled",
434
+ "reflect": false
435
+ },
436
+ "max": {
437
+ "type": "any",
438
+ "mutable": false,
439
+ "complexType": {
440
+ "original": "MinMaxDates | number",
441
+ "resolved": "`${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}` | `${number}${number}${number}${number}-${number}${number}-${number}${number}` | `${number}${number}${number}${number}-${number}${number}` | `${number}${number}${number}${number}-W${number}${number}` | `${number}${number}:${number}${number}` | number",
442
+ "references": {
443
+ "MinMaxDates": {
444
+ "location": "local"
445
+ }
446
+ }
447
+ },
448
+ "required": false,
449
+ "optional": false,
450
+ "docs": {
451
+ "tags": [],
452
+ "text": ""
453
+ },
454
+ "attribute": "max",
455
+ "reflect": false
456
+ },
457
+ "maxlength": {
458
+ "type": "any",
459
+ "mutable": false,
460
+ "complexType": {
461
+ "original": "string | number",
462
+ "resolved": "number | string",
463
+ "references": {}
464
+ },
465
+ "required": false,
466
+ "optional": false,
467
+ "docs": {
468
+ "tags": [],
469
+ "text": ""
470
+ },
471
+ "attribute": "maxlength",
472
+ "reflect": false
473
+ },
474
+ "min": {
475
+ "type": "any",
476
+ "mutable": false,
477
+ "complexType": {
478
+ "original": "MinMaxDates | number",
479
+ "resolved": "`${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}` | `${number}${number}${number}${number}-${number}${number}-${number}${number}` | `${number}${number}${number}${number}-${number}${number}` | `${number}${number}${number}${number}-W${number}${number}` | `${number}${number}:${number}${number}` | number",
480
+ "references": {
481
+ "MinMaxDates": {
482
+ "location": "local"
483
+ }
484
+ }
485
+ },
486
+ "required": false,
487
+ "optional": false,
488
+ "docs": {
489
+ "tags": [],
490
+ "text": ""
491
+ },
492
+ "attribute": "min",
493
+ "reflect": false
494
+ },
495
+ "minlength": {
496
+ "type": "any",
497
+ "mutable": false,
498
+ "complexType": {
499
+ "original": "string | number",
500
+ "resolved": "number | string",
501
+ "references": {}
502
+ },
503
+ "required": false,
504
+ "optional": false,
505
+ "docs": {
506
+ "tags": [],
507
+ "text": ""
508
+ },
509
+ "attribute": "minlength",
510
+ "reflect": false
511
+ },
512
+ "name": {
513
+ "type": "string",
514
+ "mutable": false,
515
+ "complexType": {
516
+ "original": "string",
517
+ "resolved": "string",
518
+ "references": {}
519
+ },
520
+ "required": false,
521
+ "optional": false,
522
+ "docs": {
523
+ "tags": [],
524
+ "text": ""
525
+ },
526
+ "attribute": "name",
527
+ "reflect": false
528
+ },
529
+ "pattern": {
530
+ "type": "string",
531
+ "mutable": false,
532
+ "complexType": {
533
+ "original": "string",
534
+ "resolved": "string",
535
+ "references": {}
536
+ },
537
+ "required": false,
538
+ "optional": false,
539
+ "docs": {
540
+ "tags": [],
541
+ "text": ""
542
+ },
543
+ "attribute": "pattern",
544
+ "reflect": false
545
+ },
546
+ "placeholder": {
547
+ "type": "string",
548
+ "mutable": false,
549
+ "complexType": {
550
+ "original": "string",
551
+ "resolved": "string",
552
+ "references": {}
553
+ },
554
+ "required": false,
555
+ "optional": false,
556
+ "docs": {
557
+ "tags": [],
558
+ "text": ""
559
+ },
560
+ "attribute": "placeholder",
561
+ "reflect": false
562
+ },
563
+ "readonly": {
564
+ "type": "any",
565
+ "mutable": false,
566
+ "complexType": {
567
+ "original": "string | boolean",
568
+ "resolved": "boolean | string",
569
+ "references": {}
570
+ },
571
+ "required": false,
572
+ "optional": false,
573
+ "docs": {
574
+ "tags": [],
575
+ "text": ""
576
+ },
577
+ "attribute": "readonly",
578
+ "reflect": false
579
+ },
580
+ "required": {
581
+ "type": "boolean",
582
+ "mutable": false,
583
+ "complexType": {
584
+ "original": "boolean",
585
+ "resolved": "boolean",
586
+ "references": {}
587
+ },
588
+ "required": false,
589
+ "optional": false,
590
+ "docs": {
591
+ "tags": [],
592
+ "text": ""
593
+ },
594
+ "attribute": "required",
595
+ "reflect": false
596
+ },
597
+ "step": {
598
+ "type": "any",
599
+ "mutable": false,
600
+ "complexType": {
601
+ "original": "string | number",
602
+ "resolved": "number | string",
603
+ "references": {}
604
+ },
605
+ "required": false,
606
+ "optional": false,
607
+ "docs": {
608
+ "tags": [],
609
+ "text": ""
610
+ },
611
+ "attribute": "step",
612
+ "reflect": false
613
+ },
614
+ "type": {
615
+ "type": "string",
616
+ "mutable": false,
617
+ "complexType": {
618
+ "original": "string",
619
+ "resolved": "string",
620
+ "references": {}
621
+ },
622
+ "required": false,
623
+ "optional": false,
624
+ "docs": {
625
+ "tags": [],
626
+ "text": ""
627
+ },
628
+ "attribute": "type",
629
+ "reflect": false,
630
+ "defaultValue": "'text'"
631
+ },
632
+ "value": {
633
+ "type": "any",
634
+ "mutable": true,
635
+ "complexType": {
636
+ "original": "string | number",
637
+ "resolved": "number | string",
638
+ "references": {}
639
+ },
640
+ "required": false,
641
+ "optional": false,
642
+ "docs": {
643
+ "tags": [],
644
+ "text": ""
645
+ },
646
+ "attribute": "value",
647
+ "reflect": false
648
+ }
649
+ };
650
+ }
651
+ static get events() {
652
+ return [{
653
+ "method": "valueChanged",
654
+ "name": "valueChanged",
655
+ "bubbles": true,
656
+ "cancelable": true,
657
+ "composed": true,
658
+ "docs": {
659
+ "tags": [],
660
+ "text": ""
661
+ },
662
+ "complexType": {
663
+ "original": "string",
664
+ "resolved": "string",
665
+ "references": {}
666
+ }
667
+ }, {
668
+ "method": "focusChanged",
669
+ "name": "focusChanged",
670
+ "bubbles": true,
671
+ "cancelable": true,
672
+ "composed": true,
673
+ "docs": {
674
+ "tags": [],
675
+ "text": ""
676
+ },
677
+ "complexType": {
678
+ "original": "string",
679
+ "resolved": "string",
680
+ "references": {}
681
+ }
682
+ }, {
683
+ "method": "blurChanged",
684
+ "name": "blurChanged",
685
+ "bubbles": true,
686
+ "cancelable": true,
687
+ "composed": true,
688
+ "docs": {
689
+ "tags": [],
690
+ "text": ""
691
+ },
692
+ "complexType": {
693
+ "original": "string",
694
+ "resolved": "string",
695
+ "references": {}
696
+ }
697
+ }, {
698
+ "method": "invalidChanged",
699
+ "name": "invalidChanged",
700
+ "bubbles": true,
701
+ "cancelable": true,
702
+ "composed": true,
703
+ "docs": {
704
+ "tags": [],
705
+ "text": ""
706
+ },
707
+ "complexType": {
708
+ "original": "string",
709
+ "resolved": "string",
710
+ "references": {}
711
+ }
712
+ }, {
713
+ "method": "inputIconClick",
714
+ "name": "inputIconClick",
715
+ "bubbles": true,
716
+ "cancelable": true,
717
+ "composed": true,
718
+ "docs": {
719
+ "tags": [],
720
+ "text": ""
721
+ },
722
+ "complexType": {
723
+ "original": "void",
724
+ "resolved": "void",
725
+ "references": {}
726
+ }
727
+ }, {
728
+ "method": "leftIconClick",
729
+ "name": "leftIconClick",
730
+ "bubbles": true,
731
+ "cancelable": true,
732
+ "composed": true,
733
+ "docs": {
734
+ "tags": [],
735
+ "text": ""
736
+ },
737
+ "complexType": {
738
+ "original": "void",
739
+ "resolved": "void",
740
+ "references": {}
741
+ }
742
+ }, {
743
+ "method": "rightIconClick",
744
+ "name": "rightIconClick",
745
+ "bubbles": true,
746
+ "cancelable": true,
747
+ "composed": true,
748
+ "docs": {
749
+ "tags": [],
750
+ "text": ""
751
+ },
752
+ "complexType": {
753
+ "original": "void",
754
+ "resolved": "void",
755
+ "references": {}
756
+ }
757
+ }];
758
+ }
759
+ }