@everymatrix/general-input 1.31.2 → 1.32.4

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 (136) hide show
  1. package/LICENSE +21 -0
  2. package/package.json +3 -2
  3. package/dist/cjs/checkbox-group-input_10.cjs.entry.js +0 -36077
  4. package/dist/cjs/general-input.cjs.entry.js +0 -75
  5. package/dist/cjs/general-input.cjs.js +0 -19
  6. package/dist/cjs/index-132a0774.js +0 -1327
  7. package/dist/cjs/index.cjs.js +0 -18
  8. package/dist/cjs/loader.cjs.js +0 -21
  9. package/dist/cjs/locale.utils-cef1d3b6.js +0 -128
  10. package/dist/cjs/toggle-checkbox-input.cjs.entry.js +0 -85
  11. package/dist/cjs/tooltipIcon-092a795f.js +0 -5
  12. package/dist/collection/collection-manifest.json +0 -23
  13. package/dist/collection/components/checkbox-group-input/checkbox-group-input.css +0 -82
  14. package/dist/collection/components/checkbox-group-input/checkbox-group-input.js +0 -366
  15. package/dist/collection/components/checkbox-input/checkbox-input.css +0 -68
  16. package/dist/collection/components/checkbox-input/checkbox-input.js +0 -324
  17. package/dist/collection/components/date-input/date-input.css +0 -101
  18. package/dist/collection/components/date-input/date-input.js +0 -396
  19. package/dist/collection/components/email-input/email-input.css +0 -95
  20. package/dist/collection/components/email-input/email-input.js +0 -403
  21. package/dist/collection/components/general-input/general-input.css +0 -4
  22. package/dist/collection/components/general-input/general-input.js +0 -373
  23. package/dist/collection/components/number-input/number-input.css +0 -102
  24. package/dist/collection/components/number-input/number-input.js +0 -368
  25. package/dist/collection/components/password-input/password-input.css +0 -182
  26. package/dist/collection/components/password-input/password-input.js +0 -527
  27. package/dist/collection/components/radio-input/radio-input.css +0 -43
  28. package/dist/collection/components/radio-input/radio-input.js +0 -297
  29. package/dist/collection/components/select-input/select-input.css +0 -122
  30. package/dist/collection/components/select-input/select-input.js +0 -429
  31. package/dist/collection/components/tel-input/tel-input.css +0 -145
  32. package/dist/collection/components/tel-input/tel-input.js +0 -440
  33. package/dist/collection/components/text-input/text-input.css +0 -98
  34. package/dist/collection/components/text-input/text-input.js +0 -448
  35. package/dist/collection/components/toggle-checkbox-input/toggle-checkbox-input.css +0 -82
  36. package/dist/collection/components/toggle-checkbox-input/toggle-checkbox-input.js +0 -324
  37. package/dist/collection/index.js +0 -17
  38. package/dist/collection/utils/locale.utils.js +0 -123
  39. package/dist/collection/utils/tooltipIcon.svg +0 -5
  40. package/dist/collection/utils/types.js +0 -1
  41. package/dist/collection/utils/utils.js +0 -5
  42. package/dist/components/active-mixin.js +0 -975
  43. package/dist/components/checkbox-group-input.d.ts +0 -11
  44. package/dist/components/checkbox-group-input.js +0 -6
  45. package/dist/components/checkbox-group-input2.js +0 -1078
  46. package/dist/components/checkbox-input.d.ts +0 -11
  47. package/dist/components/checkbox-input.js +0 -6
  48. package/dist/components/checkbox-input2.js +0 -129
  49. package/dist/components/date-input.d.ts +0 -11
  50. package/dist/components/date-input.js +0 -6
  51. package/dist/components/date-input2.js +0 -11556
  52. package/dist/components/email-input.d.ts +0 -11
  53. package/dist/components/email-input.js +0 -6
  54. package/dist/components/email-input2.js +0 -171
  55. package/dist/components/field-mixin.js +0 -12426
  56. package/dist/components/general-input.d.ts +0 -11
  57. package/dist/components/general-input.js +0 -6
  58. package/dist/components/general-input2.js +0 -341
  59. package/dist/components/index.d.ts +0 -26
  60. package/dist/components/index.js +0 -18
  61. package/dist/components/input-field-shared-styles.js +0 -1211
  62. package/dist/components/number-input.d.ts +0 -11
  63. package/dist/components/number-input.js +0 -6
  64. package/dist/components/number-input2.js +0 -158
  65. package/dist/components/password-input.d.ts +0 -11
  66. package/dist/components/password-input.js +0 -6
  67. package/dist/components/password-input2.js +0 -1041
  68. package/dist/components/radio-input.d.ts +0 -11
  69. package/dist/components/radio-input.js +0 -6
  70. package/dist/components/radio-input2.js +0 -114
  71. package/dist/components/select-input.d.ts +0 -11
  72. package/dist/components/select-input.js +0 -6
  73. package/dist/components/select-input2.js +0 -183
  74. package/dist/components/tel-input.d.ts +0 -11
  75. package/dist/components/tel-input.js +0 -6
  76. package/dist/components/tel-input2.js +0 -197
  77. package/dist/components/text-input.d.ts +0 -11
  78. package/dist/components/text-input.js +0 -6
  79. package/dist/components/text-input2.js +0 -199
  80. package/dist/components/toggle-checkbox-input.d.ts +0 -11
  81. package/dist/components/toggle-checkbox-input.js +0 -6
  82. package/dist/components/tooltipIcon.js +0 -127
  83. package/dist/components/vaadin-button.js +0 -490
  84. package/dist/components/vaadin-combo-box.js +0 -4512
  85. package/dist/components/virtual-keyboard-controller.js +0 -2001
  86. package/dist/esm/checkbox-group-input_10.entry.js +0 -36064
  87. package/dist/esm/general-input.entry.js +0 -71
  88. package/dist/esm/general-input.js +0 -17
  89. package/dist/esm/index-db76d5b5.js +0 -1299
  90. package/dist/esm/index.js +0 -16
  91. package/dist/esm/loader.js +0 -17
  92. package/dist/esm/locale.utils-de759721.js +0 -125
  93. package/dist/esm/polyfills/core-js.js +0 -11
  94. package/dist/esm/polyfills/css-shim.js +0 -1
  95. package/dist/esm/polyfills/dom.js +0 -79
  96. package/dist/esm/polyfills/es5-html-element.js +0 -1
  97. package/dist/esm/polyfills/index.js +0 -34
  98. package/dist/esm/polyfills/system.js +0 -6
  99. package/dist/esm/toggle-checkbox-input.entry.js +0 -81
  100. package/dist/esm/tooltipIcon-99c1c7b7.js +0 -3
  101. package/dist/general-input/general-input.esm.js +0 -1
  102. package/dist/general-input/index.esm.js +0 -1
  103. package/dist/general-input/p-10efdf3f.js +0 -1
  104. package/dist/general-input/p-613c3e00.entry.js +0 -1
  105. package/dist/general-input/p-660bcdd1.entry.js +0 -1
  106. package/dist/general-input/p-9b6b0396.entry.js +0 -3646
  107. package/dist/general-input/p-b408093e.js +0 -1
  108. package/dist/general-input/p-f4f4ccda.js +0 -1
  109. package/dist/index.cjs.js +0 -1
  110. package/dist/index.js +0 -1
  111. package/dist/stencil.config.js +0 -22
  112. package/dist/types/Users/dragos.bodea/Documents/everymatrix-prjs/emfe-widgets/widgets-stencil/packages/general-input/.stencil/packages/general-input/stencil.config.d.ts +0 -2
  113. package/dist/types/components/checkbox-group-input/checkbox-group-input.d.ts +0 -74
  114. package/dist/types/components/checkbox-input/checkbox-input.d.ts +0 -65
  115. package/dist/types/components/date-input/date-input.d.ts +0 -84
  116. package/dist/types/components/email-input/email-input.d.ts +0 -80
  117. package/dist/types/components/general-input/general-input.d.ts +0 -75
  118. package/dist/types/components/number-input/number-input.d.ts +0 -74
  119. package/dist/types/components/password-input/password-input.d.ts +0 -91
  120. package/dist/types/components/radio-input/radio-input.d.ts +0 -59
  121. package/dist/types/components/select-input/select-input.d.ts +0 -83
  122. package/dist/types/components/tel-input/tel-input.d.ts +0 -89
  123. package/dist/types/components/text-input/text-input.d.ts +0 -84
  124. package/dist/types/components/toggle-checkbox-input/toggle-checkbox-input.d.ts +0 -67
  125. package/dist/types/components.d.ts +0 -1268
  126. package/dist/types/index.d.ts +0 -1
  127. package/dist/types/stencil-public-runtime.d.ts +0 -1565
  128. package/dist/types/utils/locale.utils.d.ts +0 -17
  129. package/dist/types/utils/types.d.ts +0 -87
  130. package/dist/types/utils/utils.d.ts +0 -1
  131. package/loader/cdn.js +0 -3
  132. package/loader/index.cjs.js +0 -3
  133. package/loader/index.d.ts +0 -12
  134. package/loader/index.es2017.js +0 -3
  135. package/loader/index.js +0 -4
  136. package/loader/package.json +0 -10
@@ -1,1268 +0,0 @@
1
- /* eslint-disable */
2
- /* tslint:disable */
3
- /**
4
- * This is an autogenerated file created by the Stencil compiler.
5
- * It contains typing information for all components that exist in this project.
6
- */
7
- import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
- import { InputStateEvent, InputValueEvent, Option, RegCfgContentField, ValidationSchema } from "./utils/types";
9
- export namespace Components {
10
- interface CheckboxGroupInput {
11
- /**
12
- * Boolean. Determines if input should be readonly.
13
- */
14
- "autofilled": boolean;
15
- /**
16
- * Client custom styling via inline style
17
- */
18
- "clientStyling": string;
19
- /**
20
- * Default value for the input.
21
- */
22
- "defaultValue": string;
23
- /**
24
- * Name of input to be shown to the user.
25
- */
26
- "displayName": string;
27
- /**
28
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
29
- */
30
- "emitValue": boolean;
31
- /**
32
- * Currently selected language.
33
- */
34
- "language": string;
35
- /**
36
- * Name of the input.
37
- */
38
- "name": string;
39
- /**
40
- * Options of the input.
41
- */
42
- "options": RegCfgContentField[];
43
- /**
44
- * Tooltip text.
45
- */
46
- "tooltip": string;
47
- /**
48
- * Object of validation rules for the input.
49
- */
50
- "validation": ValidationSchema;
51
- }
52
- interface CheckboxInput {
53
- /**
54
- * Boolean. Determines if input should be readonly.
55
- */
56
- "autofilled": boolean;
57
- /**
58
- * Client custom styling via inline style
59
- */
60
- "clientStyling": string;
61
- /**
62
- * Default value for the input.
63
- */
64
- "defaultValue": string;
65
- /**
66
- * Name of input to be shown to the user.
67
- */
68
- "displayName": string;
69
- /**
70
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
71
- */
72
- "emitValue": boolean;
73
- /**
74
- * Currently selected language.
75
- */
76
- "language": string;
77
- /**
78
- * Name of the input.
79
- */
80
- "name": string;
81
- /**
82
- * Tooltip text.
83
- */
84
- "tooltip": string;
85
- /**
86
- * Object of validation rules for the input.
87
- */
88
- "validation": ValidationSchema;
89
- }
90
- interface DateInput {
91
- /**
92
- * Boolean. Determines if input should be readonly.
93
- */
94
- "autofilled": boolean;
95
- /**
96
- * Client custom styling via inline style
97
- */
98
- "clientStyling": string;
99
- /**
100
- * Date format for date picker.
101
- */
102
- "dateFormat": string;
103
- /**
104
- * Default value for the input.
105
- */
106
- "defaultValue": string;
107
- /**
108
- * Name of input to be shown to the user.
109
- */
110
- "displayName": string;
111
- /**
112
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
113
- */
114
- "emitValue": boolean;
115
- /**
116
- * Currently selected language.
117
- */
118
- "language": string;
119
- /**
120
- * Name of the input.
121
- */
122
- "name": string;
123
- /**
124
- * Placeholder text to be shown.
125
- */
126
- "placeholder": string;
127
- /**
128
- * Tooltip text.
129
- */
130
- "tooltip": string;
131
- /**
132
- * Object of validation rules for the input.
133
- */
134
- "validation": ValidationSchema;
135
- }
136
- interface EmailInput {
137
- /**
138
- * Boolean. Determines if input should be readonly.
139
- */
140
- "autofilled": boolean;
141
- /**
142
- * Client custom styling via inline style
143
- */
144
- "clientStyling": string;
145
- /**
146
- * Default value for the input.
147
- */
148
- "defaultValue": string;
149
- /**
150
- * Name of input to be shown to the user.
151
- */
152
- "displayName": string;
153
- /**
154
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
155
- */
156
- "emitValue": boolean;
157
- /**
158
- * Flag for duplicate inputs, it sets up the input for certain validation rules.
159
- */
160
- "isDuplicateInput": boolean;
161
- /**
162
- * Currently selected language.
163
- */
164
- "language": string;
165
- /**
166
- * Name of the input.
167
- */
168
- "name": string;
169
- /**
170
- * Placeholder text to be shown.
171
- */
172
- "placeholder": string;
173
- /**
174
- * Tooltip text.
175
- */
176
- "tooltip": string;
177
- /**
178
- * Object of validation rules for the input.
179
- */
180
- "validation": ValidationSchema;
181
- }
182
- interface GeneralInput {
183
- /**
184
- * Special behaviour an input should have. Can be fetching for data.
185
- */
186
- "action": string;
187
- /**
188
- * Boolean. Determines if input should be readonly.
189
- */
190
- "autofilled": boolean;
191
- /**
192
- * Client custom styling via inline style
193
- */
194
- "clientStyling": any;
195
- /**
196
- * Date format for date picker.
197
- */
198
- "dateFormat": string;
199
- /**
200
- * Default value for the input.
201
- */
202
- "defaultValue": any;
203
- /**
204
- * Name of input to be shown to the user.
205
- */
206
- "displayName": string;
207
- /**
208
- * Emit event on click
209
- */
210
- "emitOnClick": boolean;
211
- /**
212
- * State passed down from the parent element. Will trigger the child specialised input to send it's value through an event.
213
- */
214
- "emitValue": boolean;
215
- /**
216
- * Boolean that triggers certain validation rules, for duplicated inputs.
217
- */
218
- "isDuplicateInput": boolean;
219
- /**
220
- * Currently selected language.
221
- */
222
- "language": string;
223
- /**
224
- * Name of the input.
225
- */
226
- "name": string;
227
- /**
228
- * For input elements that have multiple options or choises.
229
- */
230
- "options": any;
231
- /**
232
- * Placeholder text to be shown.
233
- */
234
- "placeholder": string;
235
- /**
236
- * Tooltip text.
237
- */
238
- "tooltip": string;
239
- /**
240
- * Translations via URL
241
- */
242
- "translationUrl": string;
243
- /**
244
- * Type the general-input should take. Can take the default HTML input values.
245
- */
246
- "type": string;
247
- /**
248
- * Object of validation rules for the input.
249
- */
250
- "validation": ValidationSchema;
251
- }
252
- interface NumberInput {
253
- /**
254
- * Boolean. Determines if input should be readonly.
255
- */
256
- "autofilled": boolean;
257
- /**
258
- * Client custom styling via inline style
259
- */
260
- "clientStyling": string;
261
- /**
262
- * Default value for the input.
263
- */
264
- "defaultValue": string;
265
- /**
266
- * Name of input to be shown to the user.
267
- */
268
- "displayName": string;
269
- /**
270
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
271
- */
272
- "emitValue": boolean;
273
- /**
274
- * Currently selected language.
275
- */
276
- "language": string;
277
- /**
278
- * Name of the input.
279
- */
280
- "name": string;
281
- /**
282
- * Placeholder text to be shown.
283
- */
284
- "placeholder": string;
285
- /**
286
- * Tooltip text.
287
- */
288
- "tooltip": string;
289
- /**
290
- * Object of validation rules for the input.
291
- */
292
- "validation": ValidationSchema;
293
- }
294
- interface PasswordInput {
295
- /**
296
- * Boolean. Determines if input should be readonly.
297
- */
298
- "autofilled": boolean;
299
- /**
300
- * Client custom styling via inline style
301
- */
302
- "clientStyling": string;
303
- /**
304
- * Default value for the input.
305
- */
306
- "defaultValue": string;
307
- /**
308
- * Name of input to be shown to the user.
309
- */
310
- "displayName": string;
311
- /**
312
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
313
- */
314
- "emitValue": boolean;
315
- /**
316
- * Flag for duplicate inputs, it sets up the input for certain validation rules.
317
- */
318
- "isDuplicateInput": boolean;
319
- /**
320
- * Currently selected language.
321
- */
322
- "language": string;
323
- /**
324
- * Name of the input.
325
- */
326
- "name": string;
327
- /**
328
- * Placeholder text to be shown.
329
- */
330
- "placeholder": string;
331
- /**
332
- * Tooltip text.
333
- */
334
- "tooltip": string;
335
- /**
336
- * Object of validation rules for the input.
337
- */
338
- "validation": ValidationSchema;
339
- }
340
- interface RadioInput {
341
- /**
342
- * Client custom styling via inline style
343
- */
344
- "clientStyling": string;
345
- /**
346
- * Name of input to be shown to the user.
347
- */
348
- "displayName": string;
349
- /**
350
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
351
- */
352
- "emitValue": boolean;
353
- /**
354
- * Currently selected language.
355
- */
356
- "language": string;
357
- /**
358
- * Name of the input.
359
- */
360
- "name": string;
361
- /**
362
- * Options of the input.
363
- */
364
- "optionsGroup": Option[];
365
- /**
366
- * Tooltip text.
367
- */
368
- "tooltip": string;
369
- /**
370
- * Object of validation rules for the input.
371
- */
372
- "validation": ValidationSchema;
373
- }
374
- interface SelectInput {
375
- /**
376
- * Special behaviour an input should have. Can be fetching for data.
377
- */
378
- "action": string;
379
- /**
380
- * Boolean. Determines if input should be readonly.
381
- */
382
- "autofilled": boolean;
383
- /**
384
- * Client custom styling via inline style
385
- */
386
- "clientStyling": string;
387
- /**
388
- * Default value for the input.
389
- */
390
- "defaultValue": string;
391
- /**
392
- * Name of input to be shown to the user.
393
- */
394
- "displayName": string;
395
- /**
396
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
397
- */
398
- "emitValue": boolean;
399
- /**
400
- * Currently selected language.
401
- */
402
- "language": string;
403
- /**
404
- * Name of the input.
405
- */
406
- "name": string;
407
- /**
408
- * Options of the input.
409
- */
410
- "options": Option[];
411
- /**
412
- * Placeholder text to be shown.
413
- */
414
- "placeholder": string;
415
- /**
416
- * Tooltip text.
417
- */
418
- "tooltip": string;
419
- /**
420
- * Object of validation rules for the input.
421
- */
422
- "validation": ValidationSchema;
423
- }
424
- interface TelInput {
425
- /**
426
- * Special behaviour an input should have. Can be fetching for data.
427
- */
428
- "action": string;
429
- /**
430
- * Boolean. Determines if input should be readonly.
431
- */
432
- "autofilled": boolean;
433
- /**
434
- * Client custom styling via inline style
435
- */
436
- "clientStyling": string;
437
- /**
438
- * Default value for the input.
439
- */
440
- "defaultValue": string | any;
441
- /**
442
- * Name of input to be shown to the user.
443
- */
444
- "displayName": string;
445
- /**
446
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
447
- */
448
- "emitValue": boolean;
449
- /**
450
- * Currently selected language.
451
- */
452
- "language": string;
453
- /**
454
- * Name of the input.
455
- */
456
- "name": string;
457
- /**
458
- * Placeholder text to be shown.
459
- */
460
- "placeholder": string;
461
- /**
462
- * Boolean that defines if the widget show labels or placeholders.
463
- */
464
- "showLabels": boolean;
465
- /**
466
- * Tooltip text.
467
- */
468
- "tooltip": string;
469
- /**
470
- * Object of validation rules for the input.
471
- */
472
- "validation": ValidationSchema;
473
- }
474
- interface TextInput {
475
- /**
476
- * Boolean. Determines if input should be readonly.
477
- */
478
- "autofilled": boolean;
479
- /**
480
- * State passed down from the parent element. Will trigger the input to check for validity.
481
- */
482
- "checkValidity": boolean;
483
- /**
484
- * Client custom styling via inline style
485
- */
486
- "clientStyling": string;
487
- /**
488
- * Default value for the input.
489
- */
490
- "defaultValue": string;
491
- /**
492
- * Name of input to be shown to the user.
493
- */
494
- "displayName": string;
495
- /**
496
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
497
- */
498
- "emitValue": boolean;
499
- /**
500
- * Boolean that triggers certain validation rules, for duplicated inputs.
501
- */
502
- "isDuplicateInput": boolean;
503
- /**
504
- * Currently selected language.
505
- */
506
- "language": string;
507
- /**
508
- * Name of the input.
509
- */
510
- "name": string;
511
- /**
512
- * Placeholder text to be shown.
513
- */
514
- "placeholder": string;
515
- /**
516
- * Tooltip text.
517
- */
518
- "tooltip": string;
519
- /**
520
- * Object of validation rules for the input.
521
- */
522
- "validation": ValidationSchema;
523
- }
524
- interface ToggleCheckboxInput {
525
- /**
526
- * Boolean. Determines if input should be readonly.
527
- */
528
- "autofilled": boolean;
529
- /**
530
- * Client custom styling via inline style
531
- */
532
- "clientStyling": string;
533
- /**
534
- * Default value for the input.
535
- */
536
- "defaultValue": string;
537
- /**
538
- * Name of input to be shown to the user.
539
- */
540
- "displayName": string;
541
- /**
542
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
543
- */
544
- "emitValue": boolean;
545
- /**
546
- * Currently selected language.
547
- */
548
- "language": string;
549
- /**
550
- * Name of the input.
551
- */
552
- "name": string;
553
- /**
554
- * Options of the input.
555
- */
556
- "options": RegCfgContentField[];
557
- /**
558
- * Tooltip text.
559
- */
560
- "tooltip": string;
561
- /**
562
- * Object of validation rules for the input.
563
- */
564
- "validation": ValidationSchema;
565
- }
566
- }
567
- declare global {
568
- interface HTMLCheckboxGroupInputElement extends Components.CheckboxGroupInput, HTMLStencilElement {
569
- }
570
- var HTMLCheckboxGroupInputElement: {
571
- prototype: HTMLCheckboxGroupInputElement;
572
- new (): HTMLCheckboxGroupInputElement;
573
- };
574
- interface HTMLCheckboxInputElement extends Components.CheckboxInput, HTMLStencilElement {
575
- }
576
- var HTMLCheckboxInputElement: {
577
- prototype: HTMLCheckboxInputElement;
578
- new (): HTMLCheckboxInputElement;
579
- };
580
- interface HTMLDateInputElement extends Components.DateInput, HTMLStencilElement {
581
- }
582
- var HTMLDateInputElement: {
583
- prototype: HTMLDateInputElement;
584
- new (): HTMLDateInputElement;
585
- };
586
- interface HTMLEmailInputElement extends Components.EmailInput, HTMLStencilElement {
587
- }
588
- var HTMLEmailInputElement: {
589
- prototype: HTMLEmailInputElement;
590
- new (): HTMLEmailInputElement;
591
- };
592
- interface HTMLGeneralInputElement extends Components.GeneralInput, HTMLStencilElement {
593
- }
594
- var HTMLGeneralInputElement: {
595
- prototype: HTMLGeneralInputElement;
596
- new (): HTMLGeneralInputElement;
597
- };
598
- interface HTMLNumberInputElement extends Components.NumberInput, HTMLStencilElement {
599
- }
600
- var HTMLNumberInputElement: {
601
- prototype: HTMLNumberInputElement;
602
- new (): HTMLNumberInputElement;
603
- };
604
- interface HTMLPasswordInputElement extends Components.PasswordInput, HTMLStencilElement {
605
- }
606
- var HTMLPasswordInputElement: {
607
- prototype: HTMLPasswordInputElement;
608
- new (): HTMLPasswordInputElement;
609
- };
610
- interface HTMLRadioInputElement extends Components.RadioInput, HTMLStencilElement {
611
- }
612
- var HTMLRadioInputElement: {
613
- prototype: HTMLRadioInputElement;
614
- new (): HTMLRadioInputElement;
615
- };
616
- interface HTMLSelectInputElement extends Components.SelectInput, HTMLStencilElement {
617
- }
618
- var HTMLSelectInputElement: {
619
- prototype: HTMLSelectInputElement;
620
- new (): HTMLSelectInputElement;
621
- };
622
- interface HTMLTelInputElement extends Components.TelInput, HTMLStencilElement {
623
- }
624
- var HTMLTelInputElement: {
625
- prototype: HTMLTelInputElement;
626
- new (): HTMLTelInputElement;
627
- };
628
- interface HTMLTextInputElement extends Components.TextInput, HTMLStencilElement {
629
- }
630
- var HTMLTextInputElement: {
631
- prototype: HTMLTextInputElement;
632
- new (): HTMLTextInputElement;
633
- };
634
- interface HTMLToggleCheckboxInputElement extends Components.ToggleCheckboxInput, HTMLStencilElement {
635
- }
636
- var HTMLToggleCheckboxInputElement: {
637
- prototype: HTMLToggleCheckboxInputElement;
638
- new (): HTMLToggleCheckboxInputElement;
639
- };
640
- interface HTMLElementTagNameMap {
641
- "checkbox-group-input": HTMLCheckboxGroupInputElement;
642
- "checkbox-input": HTMLCheckboxInputElement;
643
- "date-input": HTMLDateInputElement;
644
- "email-input": HTMLEmailInputElement;
645
- "general-input": HTMLGeneralInputElement;
646
- "number-input": HTMLNumberInputElement;
647
- "password-input": HTMLPasswordInputElement;
648
- "radio-input": HTMLRadioInputElement;
649
- "select-input": HTMLSelectInputElement;
650
- "tel-input": HTMLTelInputElement;
651
- "text-input": HTMLTextInputElement;
652
- "toggle-checkbox-input": HTMLToggleCheckboxInputElement;
653
- }
654
- }
655
- declare namespace LocalJSX {
656
- interface CheckboxGroupInput {
657
- /**
658
- * Boolean. Determines if input should be readonly.
659
- */
660
- "autofilled"?: boolean;
661
- /**
662
- * Client custom styling via inline style
663
- */
664
- "clientStyling"?: string;
665
- /**
666
- * Default value for the input.
667
- */
668
- "defaultValue"?: string;
669
- /**
670
- * Name of input to be shown to the user.
671
- */
672
- "displayName"?: string;
673
- /**
674
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
675
- */
676
- "emitValue"?: boolean;
677
- /**
678
- * Currently selected language.
679
- */
680
- "language"?: string;
681
- /**
682
- * Name of the input.
683
- */
684
- "name"?: string;
685
- "onSendInputValue"?: (event: CustomEvent<InputValueEvent>) => void;
686
- "onSendValidityState"?: (event: CustomEvent<InputStateEvent>) => void;
687
- /**
688
- * Options of the input.
689
- */
690
- "options"?: RegCfgContentField[];
691
- /**
692
- * Tooltip text.
693
- */
694
- "tooltip"?: string;
695
- /**
696
- * Object of validation rules for the input.
697
- */
698
- "validation"?: ValidationSchema;
699
- }
700
- interface CheckboxInput {
701
- /**
702
- * Boolean. Determines if input should be readonly.
703
- */
704
- "autofilled"?: boolean;
705
- /**
706
- * Client custom styling via inline style
707
- */
708
- "clientStyling"?: string;
709
- /**
710
- * Default value for the input.
711
- */
712
- "defaultValue"?: string;
713
- /**
714
- * Name of input to be shown to the user.
715
- */
716
- "displayName"?: string;
717
- /**
718
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
719
- */
720
- "emitValue"?: boolean;
721
- /**
722
- * Currently selected language.
723
- */
724
- "language"?: string;
725
- /**
726
- * Name of the input.
727
- */
728
- "name"?: string;
729
- "onSendInputValue"?: (event: CustomEvent<InputValueEvent>) => void;
730
- "onSendValidityState"?: (event: CustomEvent<InputStateEvent>) => void;
731
- /**
732
- * Tooltip text.
733
- */
734
- "tooltip"?: string;
735
- /**
736
- * Object of validation rules for the input.
737
- */
738
- "validation"?: ValidationSchema;
739
- }
740
- interface DateInput {
741
- /**
742
- * Boolean. Determines if input should be readonly.
743
- */
744
- "autofilled"?: boolean;
745
- /**
746
- * Client custom styling via inline style
747
- */
748
- "clientStyling"?: string;
749
- /**
750
- * Date format for date picker.
751
- */
752
- "dateFormat"?: string;
753
- /**
754
- * Default value for the input.
755
- */
756
- "defaultValue"?: string;
757
- /**
758
- * Name of input to be shown to the user.
759
- */
760
- "displayName"?: string;
761
- /**
762
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
763
- */
764
- "emitValue"?: boolean;
765
- /**
766
- * Currently selected language.
767
- */
768
- "language"?: string;
769
- /**
770
- * Name of the input.
771
- */
772
- "name"?: string;
773
- "onSendInputValue"?: (event: CustomEvent<InputValueEvent>) => void;
774
- "onSendValidityState"?: (event: CustomEvent<InputStateEvent>) => void;
775
- /**
776
- * Placeholder text to be shown.
777
- */
778
- "placeholder"?: string;
779
- /**
780
- * Tooltip text.
781
- */
782
- "tooltip"?: string;
783
- /**
784
- * Object of validation rules for the input.
785
- */
786
- "validation"?: ValidationSchema;
787
- }
788
- interface EmailInput {
789
- /**
790
- * Boolean. Determines if input should be readonly.
791
- */
792
- "autofilled"?: boolean;
793
- /**
794
- * Client custom styling via inline style
795
- */
796
- "clientStyling"?: string;
797
- /**
798
- * Default value for the input.
799
- */
800
- "defaultValue"?: string;
801
- /**
802
- * Name of input to be shown to the user.
803
- */
804
- "displayName"?: string;
805
- /**
806
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
807
- */
808
- "emitValue"?: boolean;
809
- /**
810
- * Flag for duplicate inputs, it sets up the input for certain validation rules.
811
- */
812
- "isDuplicateInput"?: boolean;
813
- /**
814
- * Currently selected language.
815
- */
816
- "language"?: string;
817
- /**
818
- * Name of the input.
819
- */
820
- "name"?: string;
821
- "onSendInputValue"?: (event: CustomEvent<InputValueEvent>) => void;
822
- "onSendValidityState"?: (event: CustomEvent<InputStateEvent>) => void;
823
- /**
824
- * Placeholder text to be shown.
825
- */
826
- "placeholder"?: string;
827
- /**
828
- * Tooltip text.
829
- */
830
- "tooltip"?: string;
831
- /**
832
- * Object of validation rules for the input.
833
- */
834
- "validation"?: ValidationSchema;
835
- }
836
- interface GeneralInput {
837
- /**
838
- * Special behaviour an input should have. Can be fetching for data.
839
- */
840
- "action"?: string;
841
- /**
842
- * Boolean. Determines if input should be readonly.
843
- */
844
- "autofilled"?: boolean;
845
- /**
846
- * Client custom styling via inline style
847
- */
848
- "clientStyling"?: any;
849
- /**
850
- * Date format for date picker.
851
- */
852
- "dateFormat"?: string;
853
- /**
854
- * Default value for the input.
855
- */
856
- "defaultValue"?: any;
857
- /**
858
- * Name of input to be shown to the user.
859
- */
860
- "displayName"?: string;
861
- /**
862
- * Emit event on click
863
- */
864
- "emitOnClick"?: boolean;
865
- /**
866
- * State passed down from the parent element. Will trigger the child specialised input to send it's value through an event.
867
- */
868
- "emitValue"?: boolean;
869
- /**
870
- * Boolean that triggers certain validation rules, for duplicated inputs.
871
- */
872
- "isDuplicateInput"?: boolean;
873
- /**
874
- * Currently selected language.
875
- */
876
- "language"?: string;
877
- /**
878
- * Name of the input.
879
- */
880
- "name"?: string;
881
- /**
882
- * For input elements that have multiple options or choises.
883
- */
884
- "options"?: any;
885
- /**
886
- * Placeholder text to be shown.
887
- */
888
- "placeholder"?: string;
889
- /**
890
- * Tooltip text.
891
- */
892
- "tooltip"?: string;
893
- /**
894
- * Translations via URL
895
- */
896
- "translationUrl"?: string;
897
- /**
898
- * Type the general-input should take. Can take the default HTML input values.
899
- */
900
- "type"?: string;
901
- /**
902
- * Object of validation rules for the input.
903
- */
904
- "validation"?: ValidationSchema;
905
- }
906
- interface NumberInput {
907
- /**
908
- * Boolean. Determines if input should be readonly.
909
- */
910
- "autofilled"?: boolean;
911
- /**
912
- * Client custom styling via inline style
913
- */
914
- "clientStyling"?: string;
915
- /**
916
- * Default value for the input.
917
- */
918
- "defaultValue"?: string;
919
- /**
920
- * Name of input to be shown to the user.
921
- */
922
- "displayName"?: string;
923
- /**
924
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
925
- */
926
- "emitValue"?: boolean;
927
- /**
928
- * Currently selected language.
929
- */
930
- "language"?: string;
931
- /**
932
- * Name of the input.
933
- */
934
- "name"?: string;
935
- "onSendInputValue"?: (event: CustomEvent<InputValueEvent>) => void;
936
- "onSendValidityState"?: (event: CustomEvent<InputStateEvent>) => void;
937
- /**
938
- * Placeholder text to be shown.
939
- */
940
- "placeholder"?: string;
941
- /**
942
- * Tooltip text.
943
- */
944
- "tooltip"?: string;
945
- /**
946
- * Object of validation rules for the input.
947
- */
948
- "validation"?: ValidationSchema;
949
- }
950
- interface PasswordInput {
951
- /**
952
- * Boolean. Determines if input should be readonly.
953
- */
954
- "autofilled"?: boolean;
955
- /**
956
- * Client custom styling via inline style
957
- */
958
- "clientStyling"?: string;
959
- /**
960
- * Default value for the input.
961
- */
962
- "defaultValue"?: string;
963
- /**
964
- * Name of input to be shown to the user.
965
- */
966
- "displayName"?: string;
967
- /**
968
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
969
- */
970
- "emitValue"?: boolean;
971
- /**
972
- * Flag for duplicate inputs, it sets up the input for certain validation rules.
973
- */
974
- "isDuplicateInput"?: boolean;
975
- /**
976
- * Currently selected language.
977
- */
978
- "language"?: string;
979
- /**
980
- * Name of the input.
981
- */
982
- "name"?: string;
983
- "onSendInputValue"?: (event: CustomEvent<InputValueEvent>) => void;
984
- "onSendOriginalValidityState"?: (event: CustomEvent<InputStateEvent>) => void;
985
- "onSendValidityState"?: (event: CustomEvent<InputStateEvent>) => void;
986
- /**
987
- * Placeholder text to be shown.
988
- */
989
- "placeholder"?: string;
990
- /**
991
- * Tooltip text.
992
- */
993
- "tooltip"?: string;
994
- /**
995
- * Object of validation rules for the input.
996
- */
997
- "validation"?: ValidationSchema;
998
- }
999
- interface RadioInput {
1000
- /**
1001
- * Client custom styling via inline style
1002
- */
1003
- "clientStyling"?: string;
1004
- /**
1005
- * Name of input to be shown to the user.
1006
- */
1007
- "displayName"?: string;
1008
- /**
1009
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
1010
- */
1011
- "emitValue"?: boolean;
1012
- /**
1013
- * Currently selected language.
1014
- */
1015
- "language"?: string;
1016
- /**
1017
- * Name of the input.
1018
- */
1019
- "name"?: string;
1020
- "onSendInputValue"?: (event: CustomEvent<InputValueEvent>) => void;
1021
- "onSendValidityState"?: (event: CustomEvent<InputStateEvent>) => void;
1022
- /**
1023
- * Options of the input.
1024
- */
1025
- "optionsGroup"?: Option[];
1026
- /**
1027
- * Tooltip text.
1028
- */
1029
- "tooltip"?: string;
1030
- /**
1031
- * Object of validation rules for the input.
1032
- */
1033
- "validation"?: ValidationSchema;
1034
- }
1035
- interface SelectInput {
1036
- /**
1037
- * Special behaviour an input should have. Can be fetching for data.
1038
- */
1039
- "action"?: string;
1040
- /**
1041
- * Boolean. Determines if input should be readonly.
1042
- */
1043
- "autofilled"?: boolean;
1044
- /**
1045
- * Client custom styling via inline style
1046
- */
1047
- "clientStyling"?: string;
1048
- /**
1049
- * Default value for the input.
1050
- */
1051
- "defaultValue"?: string;
1052
- /**
1053
- * Name of input to be shown to the user.
1054
- */
1055
- "displayName"?: string;
1056
- /**
1057
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
1058
- */
1059
- "emitValue"?: boolean;
1060
- /**
1061
- * Currently selected language.
1062
- */
1063
- "language"?: string;
1064
- /**
1065
- * Name of the input.
1066
- */
1067
- "name"?: string;
1068
- "onSendInputValue"?: (event: CustomEvent<InputValueEvent>) => void;
1069
- "onSendValidityState"?: (event: CustomEvent<InputStateEvent>) => void;
1070
- /**
1071
- * Options of the input.
1072
- */
1073
- "options"?: Option[];
1074
- /**
1075
- * Placeholder text to be shown.
1076
- */
1077
- "placeholder"?: string;
1078
- /**
1079
- * Tooltip text.
1080
- */
1081
- "tooltip"?: string;
1082
- /**
1083
- * Object of validation rules for the input.
1084
- */
1085
- "validation"?: ValidationSchema;
1086
- }
1087
- interface TelInput {
1088
- /**
1089
- * Special behaviour an input should have. Can be fetching for data.
1090
- */
1091
- "action"?: string;
1092
- /**
1093
- * Boolean. Determines if input should be readonly.
1094
- */
1095
- "autofilled"?: boolean;
1096
- /**
1097
- * Client custom styling via inline style
1098
- */
1099
- "clientStyling"?: string;
1100
- /**
1101
- * Default value for the input.
1102
- */
1103
- "defaultValue"?: string | any;
1104
- /**
1105
- * Name of input to be shown to the user.
1106
- */
1107
- "displayName"?: string;
1108
- /**
1109
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
1110
- */
1111
- "emitValue"?: boolean;
1112
- /**
1113
- * Currently selected language.
1114
- */
1115
- "language"?: string;
1116
- /**
1117
- * Name of the input.
1118
- */
1119
- "name"?: string;
1120
- "onSendInputValue"?: (event: CustomEvent<InputValueEvent>) => void;
1121
- "onSendValidityState"?: (event: CustomEvent<InputStateEvent>) => void;
1122
- /**
1123
- * Placeholder text to be shown.
1124
- */
1125
- "placeholder"?: string;
1126
- /**
1127
- * Boolean that defines if the widget show labels or placeholders.
1128
- */
1129
- "showLabels"?: boolean;
1130
- /**
1131
- * Tooltip text.
1132
- */
1133
- "tooltip"?: string;
1134
- /**
1135
- * Object of validation rules for the input.
1136
- */
1137
- "validation"?: ValidationSchema;
1138
- }
1139
- interface TextInput {
1140
- /**
1141
- * Boolean. Determines if input should be readonly.
1142
- */
1143
- "autofilled"?: boolean;
1144
- /**
1145
- * State passed down from the parent element. Will trigger the input to check for validity.
1146
- */
1147
- "checkValidity"?: boolean;
1148
- /**
1149
- * Client custom styling via inline style
1150
- */
1151
- "clientStyling"?: string;
1152
- /**
1153
- * Default value for the input.
1154
- */
1155
- "defaultValue"?: string;
1156
- /**
1157
- * Name of input to be shown to the user.
1158
- */
1159
- "displayName"?: string;
1160
- /**
1161
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
1162
- */
1163
- "emitValue"?: boolean;
1164
- /**
1165
- * Boolean that triggers certain validation rules, for duplicated inputs.
1166
- */
1167
- "isDuplicateInput"?: boolean;
1168
- /**
1169
- * Currently selected language.
1170
- */
1171
- "language"?: string;
1172
- /**
1173
- * Name of the input.
1174
- */
1175
- "name"?: string;
1176
- "onSendInputValue"?: (event: CustomEvent<InputValueEvent>) => void;
1177
- "onSendValidityState"?: (event: CustomEvent<InputStateEvent>) => void;
1178
- /**
1179
- * Placeholder text to be shown.
1180
- */
1181
- "placeholder"?: string;
1182
- /**
1183
- * Tooltip text.
1184
- */
1185
- "tooltip"?: string;
1186
- /**
1187
- * Object of validation rules for the input.
1188
- */
1189
- "validation"?: ValidationSchema;
1190
- }
1191
- interface ToggleCheckboxInput {
1192
- /**
1193
- * Boolean. Determines if input should be readonly.
1194
- */
1195
- "autofilled"?: boolean;
1196
- /**
1197
- * Client custom styling via inline style
1198
- */
1199
- "clientStyling"?: string;
1200
- /**
1201
- * Default value for the input.
1202
- */
1203
- "defaultValue"?: string;
1204
- /**
1205
- * Name of input to be shown to the user.
1206
- */
1207
- "displayName"?: string;
1208
- /**
1209
- * State passed down from the parent element. Will trigger the input to send it's value through an event.
1210
- */
1211
- "emitValue"?: boolean;
1212
- /**
1213
- * Currently selected language.
1214
- */
1215
- "language"?: string;
1216
- /**
1217
- * Name of the input.
1218
- */
1219
- "name"?: string;
1220
- "onSendInputValue"?: (event: CustomEvent<InputValueEvent>) => void;
1221
- "onSendValidityState"?: (event: CustomEvent<InputStateEvent>) => void;
1222
- /**
1223
- * Options of the input.
1224
- */
1225
- "options"?: RegCfgContentField[];
1226
- /**
1227
- * Tooltip text.
1228
- */
1229
- "tooltip"?: string;
1230
- /**
1231
- * Object of validation rules for the input.
1232
- */
1233
- "validation"?: ValidationSchema;
1234
- }
1235
- interface IntrinsicElements {
1236
- "checkbox-group-input": CheckboxGroupInput;
1237
- "checkbox-input": CheckboxInput;
1238
- "date-input": DateInput;
1239
- "email-input": EmailInput;
1240
- "general-input": GeneralInput;
1241
- "number-input": NumberInput;
1242
- "password-input": PasswordInput;
1243
- "radio-input": RadioInput;
1244
- "select-input": SelectInput;
1245
- "tel-input": TelInput;
1246
- "text-input": TextInput;
1247
- "toggle-checkbox-input": ToggleCheckboxInput;
1248
- }
1249
- }
1250
- export { LocalJSX as JSX };
1251
- declare module "@stencil/core" {
1252
- export namespace JSX {
1253
- interface IntrinsicElements {
1254
- "checkbox-group-input": LocalJSX.CheckboxGroupInput & JSXBase.HTMLAttributes<HTMLCheckboxGroupInputElement>;
1255
- "checkbox-input": LocalJSX.CheckboxInput & JSXBase.HTMLAttributes<HTMLCheckboxInputElement>;
1256
- "date-input": LocalJSX.DateInput & JSXBase.HTMLAttributes<HTMLDateInputElement>;
1257
- "email-input": LocalJSX.EmailInput & JSXBase.HTMLAttributes<HTMLEmailInputElement>;
1258
- "general-input": LocalJSX.GeneralInput & JSXBase.HTMLAttributes<HTMLGeneralInputElement>;
1259
- "number-input": LocalJSX.NumberInput & JSXBase.HTMLAttributes<HTMLNumberInputElement>;
1260
- "password-input": LocalJSX.PasswordInput & JSXBase.HTMLAttributes<HTMLPasswordInputElement>;
1261
- "radio-input": LocalJSX.RadioInput & JSXBase.HTMLAttributes<HTMLRadioInputElement>;
1262
- "select-input": LocalJSX.SelectInput & JSXBase.HTMLAttributes<HTMLSelectInputElement>;
1263
- "tel-input": LocalJSX.TelInput & JSXBase.HTMLAttributes<HTMLTelInputElement>;
1264
- "text-input": LocalJSX.TextInput & JSXBase.HTMLAttributes<HTMLTextInputElement>;
1265
- "toggle-checkbox-input": LocalJSX.ToggleCheckboxInput & JSXBase.HTMLAttributes<HTMLToggleCheckboxInputElement>;
1266
- }
1267
- }
1268
- }