@vaadin/password-field 25.1.2 → 25.2.0-alpha10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +280 -0
- package/package.json +12 -12
- package/web-types.json +53 -155
- package/web-types.lit.json +50 -50
package/custom-elements.json
CHANGED
|
@@ -26,6 +26,29 @@
|
|
|
26
26
|
"description": "",
|
|
27
27
|
"name": "PasswordFieldMixin",
|
|
28
28
|
"members": [
|
|
29
|
+
{
|
|
30
|
+
"kind": "method",
|
|
31
|
+
"name": "clear",
|
|
32
|
+
"description": "Clear the value of the field.",
|
|
33
|
+
"inheritedFrom": {
|
|
34
|
+
"name": "InputMixin",
|
|
35
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"kind": "field",
|
|
40
|
+
"name": "disabled",
|
|
41
|
+
"privacy": "public",
|
|
42
|
+
"type": {
|
|
43
|
+
"text": "boolean"
|
|
44
|
+
},
|
|
45
|
+
"description": "If true, the user cannot interact with this element.",
|
|
46
|
+
"attribute": "disabled",
|
|
47
|
+
"inheritedFrom": {
|
|
48
|
+
"name": "DisabledMixin",
|
|
49
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
29
52
|
{
|
|
30
53
|
"kind": "field",
|
|
31
54
|
"name": "i18n",
|
|
@@ -56,6 +79,20 @@
|
|
|
56
79
|
},
|
|
57
80
|
"description": "Set to true to hide the eye icon which toggles the password visibility.",
|
|
58
81
|
"attribute": "reveal-button-hidden"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"kind": "field",
|
|
85
|
+
"name": "value",
|
|
86
|
+
"privacy": "public",
|
|
87
|
+
"type": {
|
|
88
|
+
"text": "string"
|
|
89
|
+
},
|
|
90
|
+
"description": "The value of the field.",
|
|
91
|
+
"attribute": "value",
|
|
92
|
+
"inheritedFrom": {
|
|
93
|
+
"name": "InputMixin",
|
|
94
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
95
|
+
}
|
|
59
96
|
}
|
|
60
97
|
],
|
|
61
98
|
"events": [
|
|
@@ -67,6 +104,18 @@
|
|
|
67
104
|
}
|
|
68
105
|
],
|
|
69
106
|
"attributes": [
|
|
107
|
+
{
|
|
108
|
+
"name": "disabled",
|
|
109
|
+
"type": {
|
|
110
|
+
"text": "boolean"
|
|
111
|
+
},
|
|
112
|
+
"description": "If true, the user cannot interact with this element.",
|
|
113
|
+
"fieldName": "disabled",
|
|
114
|
+
"inheritedFrom": {
|
|
115
|
+
"name": "DisabledMixin",
|
|
116
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
70
119
|
{
|
|
71
120
|
"name": "password-visible",
|
|
72
121
|
"type": {
|
|
@@ -82,6 +131,18 @@
|
|
|
82
131
|
},
|
|
83
132
|
"description": "Set to true to hide the eye icon which toggles the password visibility.",
|
|
84
133
|
"fieldName": "revealButtonHidden"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "value",
|
|
137
|
+
"type": {
|
|
138
|
+
"text": "string"
|
|
139
|
+
},
|
|
140
|
+
"description": "The value of the field.",
|
|
141
|
+
"fieldName": "value",
|
|
142
|
+
"inheritedFrom": {
|
|
143
|
+
"name": "InputMixin",
|
|
144
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
145
|
+
}
|
|
85
146
|
}
|
|
86
147
|
],
|
|
87
148
|
"mixins": [
|
|
@@ -213,6 +274,20 @@
|
|
|
213
274
|
"package": "@vaadin/field-base/src/input-field-mixin.js"
|
|
214
275
|
}
|
|
215
276
|
},
|
|
277
|
+
{
|
|
278
|
+
"kind": "field",
|
|
279
|
+
"name": "autofocus",
|
|
280
|
+
"privacy": "public",
|
|
281
|
+
"type": {
|
|
282
|
+
"text": "boolean"
|
|
283
|
+
},
|
|
284
|
+
"description": "Specify that this control should have input focus when the page loads.",
|
|
285
|
+
"attribute": "autofocus",
|
|
286
|
+
"inheritedFrom": {
|
|
287
|
+
"name": "DelegateFocusMixin",
|
|
288
|
+
"package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
|
|
289
|
+
}
|
|
290
|
+
},
|
|
216
291
|
{
|
|
217
292
|
"kind": "field",
|
|
218
293
|
"name": "autoselect",
|
|
@@ -227,6 +302,29 @@
|
|
|
227
302
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
228
303
|
}
|
|
229
304
|
},
|
|
305
|
+
{
|
|
306
|
+
"kind": "method",
|
|
307
|
+
"name": "checkValidity",
|
|
308
|
+
"description": "Returns true if the current input value satisfies all constraints (if any).",
|
|
309
|
+
"return": {
|
|
310
|
+
"type": {
|
|
311
|
+
"text": "boolean"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"inheritedFrom": {
|
|
315
|
+
"name": "InputConstraintsMixin",
|
|
316
|
+
"package": "@vaadin/field-base/src/input-constraints-mixin.js"
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"kind": "method",
|
|
321
|
+
"name": "clear",
|
|
322
|
+
"description": "Clear the value of the field.",
|
|
323
|
+
"inheritedFrom": {
|
|
324
|
+
"name": "InputMixin",
|
|
325
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
230
328
|
{
|
|
231
329
|
"kind": "field",
|
|
232
330
|
"name": "clearButtonVisible",
|
|
@@ -241,6 +339,20 @@
|
|
|
241
339
|
"package": "@vaadin/field-base/src/clear-button-mixin.js"
|
|
242
340
|
}
|
|
243
341
|
},
|
|
342
|
+
{
|
|
343
|
+
"kind": "field",
|
|
344
|
+
"name": "disabled",
|
|
345
|
+
"privacy": "public",
|
|
346
|
+
"type": {
|
|
347
|
+
"text": "boolean"
|
|
348
|
+
},
|
|
349
|
+
"description": "If true, the user cannot interact with this element.",
|
|
350
|
+
"attribute": "disabled",
|
|
351
|
+
"inheritedFrom": {
|
|
352
|
+
"name": "DisabledMixin",
|
|
353
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
244
356
|
{
|
|
245
357
|
"kind": "field",
|
|
246
358
|
"name": "errorMessage",
|
|
@@ -283,6 +395,48 @@
|
|
|
283
395
|
"module": "src/vaadin-password-field-mixin.js"
|
|
284
396
|
}
|
|
285
397
|
},
|
|
398
|
+
{
|
|
399
|
+
"kind": "field",
|
|
400
|
+
"name": "invalid",
|
|
401
|
+
"privacy": "public",
|
|
402
|
+
"type": {
|
|
403
|
+
"text": "boolean"
|
|
404
|
+
},
|
|
405
|
+
"description": "Set to true when the field is invalid.",
|
|
406
|
+
"attribute": "invalid",
|
|
407
|
+
"inheritedFrom": {
|
|
408
|
+
"name": "FieldMixin",
|
|
409
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"kind": "field",
|
|
414
|
+
"name": "label",
|
|
415
|
+
"privacy": "public",
|
|
416
|
+
"type": {
|
|
417
|
+
"text": "string"
|
|
418
|
+
},
|
|
419
|
+
"description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
|
|
420
|
+
"attribute": "label",
|
|
421
|
+
"inheritedFrom": {
|
|
422
|
+
"name": "FieldMixin",
|
|
423
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"kind": "field",
|
|
428
|
+
"name": "manualValidation",
|
|
429
|
+
"privacy": "public",
|
|
430
|
+
"type": {
|
|
431
|
+
"text": "boolean"
|
|
432
|
+
},
|
|
433
|
+
"description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
|
|
434
|
+
"attribute": "manual-validation",
|
|
435
|
+
"inheritedFrom": {
|
|
436
|
+
"name": "FieldMixin",
|
|
437
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
438
|
+
}
|
|
439
|
+
},
|
|
286
440
|
{
|
|
287
441
|
"kind": "field",
|
|
288
442
|
"name": "maxlength",
|
|
@@ -382,6 +536,20 @@
|
|
|
382
536
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
383
537
|
}
|
|
384
538
|
},
|
|
539
|
+
{
|
|
540
|
+
"kind": "field",
|
|
541
|
+
"name": "required",
|
|
542
|
+
"privacy": "public",
|
|
543
|
+
"type": {
|
|
544
|
+
"text": "boolean"
|
|
545
|
+
},
|
|
546
|
+
"description": "Specifies that the user must fill in a value.",
|
|
547
|
+
"attribute": "required",
|
|
548
|
+
"inheritedFrom": {
|
|
549
|
+
"name": "FieldMixin",
|
|
550
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
551
|
+
}
|
|
552
|
+
},
|
|
385
553
|
{
|
|
386
554
|
"kind": "field",
|
|
387
555
|
"name": "revealButtonHidden",
|
|
@@ -409,6 +577,34 @@
|
|
|
409
577
|
"name": "InputControlMixin",
|
|
410
578
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
411
579
|
}
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"kind": "method",
|
|
583
|
+
"name": "validate",
|
|
584
|
+
"description": "Validates the field and sets the `invalid` property based on the result.\n\nThe method fires a `validated` event with the result of the validation.",
|
|
585
|
+
"return": {
|
|
586
|
+
"type": {
|
|
587
|
+
"text": "boolean"
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
"inheritedFrom": {
|
|
591
|
+
"name": "FieldMixin",
|
|
592
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
593
|
+
}
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"kind": "field",
|
|
597
|
+
"name": "value",
|
|
598
|
+
"privacy": "public",
|
|
599
|
+
"type": {
|
|
600
|
+
"text": "string"
|
|
601
|
+
},
|
|
602
|
+
"description": "The value of the field.",
|
|
603
|
+
"attribute": "value",
|
|
604
|
+
"inheritedFrom": {
|
|
605
|
+
"name": "InputMixin",
|
|
606
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
607
|
+
}
|
|
412
608
|
}
|
|
413
609
|
],
|
|
414
610
|
"events": [
|
|
@@ -553,6 +749,18 @@
|
|
|
553
749
|
"package": "@vaadin/field-base/src/input-field-mixin.js"
|
|
554
750
|
}
|
|
555
751
|
},
|
|
752
|
+
{
|
|
753
|
+
"name": "autofocus",
|
|
754
|
+
"type": {
|
|
755
|
+
"text": "boolean"
|
|
756
|
+
},
|
|
757
|
+
"description": "Specify that this control should have input focus when the page loads.",
|
|
758
|
+
"fieldName": "autofocus",
|
|
759
|
+
"inheritedFrom": {
|
|
760
|
+
"name": "DelegateFocusMixin",
|
|
761
|
+
"package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
|
|
762
|
+
}
|
|
763
|
+
},
|
|
556
764
|
{
|
|
557
765
|
"name": "autoselect",
|
|
558
766
|
"type": {
|
|
@@ -577,6 +785,18 @@
|
|
|
577
785
|
"package": "@vaadin/field-base/src/clear-button-mixin.js"
|
|
578
786
|
}
|
|
579
787
|
},
|
|
788
|
+
{
|
|
789
|
+
"name": "disabled",
|
|
790
|
+
"type": {
|
|
791
|
+
"text": "boolean"
|
|
792
|
+
},
|
|
793
|
+
"description": "If true, the user cannot interact with this element.",
|
|
794
|
+
"fieldName": "disabled",
|
|
795
|
+
"inheritedFrom": {
|
|
796
|
+
"name": "DisabledMixin",
|
|
797
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
798
|
+
}
|
|
799
|
+
},
|
|
580
800
|
{
|
|
581
801
|
"name": "error-message",
|
|
582
802
|
"type": {
|
|
@@ -601,6 +821,42 @@
|
|
|
601
821
|
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
602
822
|
}
|
|
603
823
|
},
|
|
824
|
+
{
|
|
825
|
+
"name": "invalid",
|
|
826
|
+
"type": {
|
|
827
|
+
"text": "boolean"
|
|
828
|
+
},
|
|
829
|
+
"description": "Set to true when the field is invalid.",
|
|
830
|
+
"fieldName": "invalid",
|
|
831
|
+
"inheritedFrom": {
|
|
832
|
+
"name": "FieldMixin",
|
|
833
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
834
|
+
}
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"name": "label",
|
|
838
|
+
"type": {
|
|
839
|
+
"text": "string"
|
|
840
|
+
},
|
|
841
|
+
"description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
|
|
842
|
+
"fieldName": "label",
|
|
843
|
+
"inheritedFrom": {
|
|
844
|
+
"name": "FieldMixin",
|
|
845
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
846
|
+
}
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
"name": "manual-validation",
|
|
850
|
+
"type": {
|
|
851
|
+
"text": "boolean"
|
|
852
|
+
},
|
|
853
|
+
"description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
|
|
854
|
+
"fieldName": "manualValidation",
|
|
855
|
+
"inheritedFrom": {
|
|
856
|
+
"name": "FieldMixin",
|
|
857
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
858
|
+
}
|
|
859
|
+
},
|
|
604
860
|
{
|
|
605
861
|
"name": "maxlength",
|
|
606
862
|
"type": {
|
|
@@ -685,6 +941,18 @@
|
|
|
685
941
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
686
942
|
}
|
|
687
943
|
},
|
|
944
|
+
{
|
|
945
|
+
"name": "required",
|
|
946
|
+
"type": {
|
|
947
|
+
"text": "boolean"
|
|
948
|
+
},
|
|
949
|
+
"description": "Specifies that the user must fill in a value.",
|
|
950
|
+
"fieldName": "required",
|
|
951
|
+
"inheritedFrom": {
|
|
952
|
+
"name": "FieldMixin",
|
|
953
|
+
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
954
|
+
}
|
|
955
|
+
},
|
|
688
956
|
{
|
|
689
957
|
"name": "reveal-button-hidden",
|
|
690
958
|
"type": {
|
|
@@ -708,6 +976,18 @@
|
|
|
708
976
|
"name": "InputControlMixin",
|
|
709
977
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
710
978
|
}
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"name": "value",
|
|
982
|
+
"type": {
|
|
983
|
+
"text": "string"
|
|
984
|
+
},
|
|
985
|
+
"description": "The value of the field.",
|
|
986
|
+
"fieldName": "value",
|
|
987
|
+
"inheritedFrom": {
|
|
988
|
+
"name": "InputMixin",
|
|
989
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
990
|
+
}
|
|
711
991
|
}
|
|
712
992
|
]
|
|
713
993
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/password-field",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.2.0-alpha10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,20 +35,20 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
|
-
"@vaadin/a11y-base": "
|
|
39
|
-
"@vaadin/button": "
|
|
40
|
-
"@vaadin/component-base": "
|
|
41
|
-
"@vaadin/field-base": "
|
|
42
|
-
"@vaadin/text-field": "
|
|
43
|
-
"@vaadin/vaadin-themable-mixin": "
|
|
38
|
+
"@vaadin/a11y-base": "25.2.0-alpha10",
|
|
39
|
+
"@vaadin/button": "25.2.0-alpha10",
|
|
40
|
+
"@vaadin/component-base": "25.2.0-alpha10",
|
|
41
|
+
"@vaadin/field-base": "25.2.0-alpha10",
|
|
42
|
+
"@vaadin/text-field": "25.2.0-alpha10",
|
|
43
|
+
"@vaadin/vaadin-themable-mixin": "25.2.0-alpha10",
|
|
44
44
|
"lit": "^3.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@vaadin/aura": "
|
|
48
|
-
"@vaadin/chai-plugins": "
|
|
49
|
-
"@vaadin/test-runner-commands": "
|
|
47
|
+
"@vaadin/aura": "25.2.0-alpha10",
|
|
48
|
+
"@vaadin/chai-plugins": "25.2.0-alpha10",
|
|
49
|
+
"@vaadin/test-runner-commands": "25.2.0-alpha10",
|
|
50
50
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
51
|
-
"@vaadin/vaadin-lumo-styles": "
|
|
51
|
+
"@vaadin/vaadin-lumo-styles": "25.2.0-alpha10",
|
|
52
52
|
"sinon": "^21.0.2"
|
|
53
53
|
},
|
|
54
54
|
"customElements": "custom-elements.json",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"web-types.json",
|
|
57
57
|
"web-types.lit.json"
|
|
58
58
|
],
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "1303b6a3eeecb44a9d26f2b53cb56d9e906febdf"
|
|
60
60
|
}
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/password-field",
|
|
4
|
-
"version": "25.
|
|
4
|
+
"version": "25.2.0-alpha10",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -15,9 +15,7 @@
|
|
|
15
15
|
"description": "String used to label the component to screen reader users.",
|
|
16
16
|
"value": {
|
|
17
17
|
"type": [
|
|
18
|
-
"string"
|
|
19
|
-
"null",
|
|
20
|
-
"undefined"
|
|
18
|
+
"string"
|
|
21
19
|
]
|
|
22
20
|
}
|
|
23
21
|
},
|
|
@@ -26,9 +24,7 @@
|
|
|
26
24
|
"description": "Id of the element used as label of the component to screen reader users.",
|
|
27
25
|
"value": {
|
|
28
26
|
"type": [
|
|
29
|
-
"string"
|
|
30
|
-
"null",
|
|
31
|
-
"undefined"
|
|
27
|
+
"string"
|
|
32
28
|
]
|
|
33
29
|
}
|
|
34
30
|
},
|
|
@@ -37,9 +33,7 @@
|
|
|
37
33
|
"description": "A pattern matched against individual characters the user inputs.\n\nWhen set, the field will prevent:\n- `keydown` events if the entered key doesn't match `/^allowedCharPattern$/`\n- `paste` events if the pasted text doesn't match `/^allowedCharPattern*$/`\n- `drop` events if the dropped text doesn't match `/^allowedCharPattern*$/`\n\nFor example, to allow entering only numbers and minus signs, use:\n`allowedCharPattern = \"[\\\\d-]\"`",
|
|
38
34
|
"value": {
|
|
39
35
|
"type": [
|
|
40
|
-
"string"
|
|
41
|
-
"null",
|
|
42
|
-
"undefined"
|
|
36
|
+
"string"
|
|
43
37
|
]
|
|
44
38
|
}
|
|
45
39
|
},
|
|
@@ -48,9 +42,7 @@
|
|
|
48
42
|
"description": "This is a property supported by Safari and Chrome that is used to control whether\nautocapitalization should be enabled when the user is entering/editing the text.\nPossible values are:\ncharacters: Characters capitalization.\nwords: Words capitalization.\nsentences: Sentences capitalization.\nnone: No capitalization.",
|
|
49
43
|
"value": {
|
|
50
44
|
"type": [
|
|
51
|
-
"string"
|
|
52
|
-
"null",
|
|
53
|
-
"undefined"
|
|
45
|
+
"string"
|
|
54
46
|
]
|
|
55
47
|
}
|
|
56
48
|
},
|
|
@@ -59,9 +51,7 @@
|
|
|
59
51
|
"description": "Whether the value of the control can be automatically completed by the browser.\nList of available options at:\nhttps://developer.mozilla.org/en/docs/Web/HTML/Element/input#attr-autocomplete",
|
|
60
52
|
"value": {
|
|
61
53
|
"type": [
|
|
62
|
-
"string"
|
|
63
|
-
"null",
|
|
64
|
-
"undefined"
|
|
54
|
+
"string"
|
|
65
55
|
]
|
|
66
56
|
}
|
|
67
57
|
},
|
|
@@ -70,9 +60,7 @@
|
|
|
70
60
|
"description": "This is a property supported by Safari that is used to control whether\nautocorrection should be enabled when the user is entering/editing the text.\nPossible values are:\non: Enable autocorrection.\noff: Disable autocorrection.",
|
|
71
61
|
"value": {
|
|
72
62
|
"type": [
|
|
73
|
-
"string"
|
|
74
|
-
"null",
|
|
75
|
-
"undefined"
|
|
63
|
+
"string"
|
|
76
64
|
]
|
|
77
65
|
}
|
|
78
66
|
},
|
|
@@ -81,9 +69,7 @@
|
|
|
81
69
|
"description": "Specify that this control should have input focus when the page loads.",
|
|
82
70
|
"value": {
|
|
83
71
|
"type": [
|
|
84
|
-
"boolean"
|
|
85
|
-
"null",
|
|
86
|
-
"undefined"
|
|
72
|
+
"boolean"
|
|
87
73
|
]
|
|
88
74
|
}
|
|
89
75
|
},
|
|
@@ -92,9 +78,7 @@
|
|
|
92
78
|
"description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
|
|
93
79
|
"value": {
|
|
94
80
|
"type": [
|
|
95
|
-
"boolean"
|
|
96
|
-
"null",
|
|
97
|
-
"undefined"
|
|
81
|
+
"boolean"
|
|
98
82
|
]
|
|
99
83
|
}
|
|
100
84
|
},
|
|
@@ -103,9 +87,7 @@
|
|
|
103
87
|
"description": "Set to true to display the clear icon which clears the input.\n\nIt is up to the component to choose where to place the clear icon:\nin the Shadow DOM or in the light DOM. In any way, a reference to\nthe clear icon element should be provided via the `clearElement` getter.",
|
|
104
88
|
"value": {
|
|
105
89
|
"type": [
|
|
106
|
-
"boolean"
|
|
107
|
-
"null",
|
|
108
|
-
"undefined"
|
|
90
|
+
"boolean"
|
|
109
91
|
]
|
|
110
92
|
}
|
|
111
93
|
},
|
|
@@ -114,9 +96,7 @@
|
|
|
114
96
|
"description": "If true, the user cannot interact with this element.",
|
|
115
97
|
"value": {
|
|
116
98
|
"type": [
|
|
117
|
-
"boolean"
|
|
118
|
-
"null",
|
|
119
|
-
"undefined"
|
|
99
|
+
"boolean"
|
|
120
100
|
]
|
|
121
101
|
}
|
|
122
102
|
},
|
|
@@ -125,9 +105,7 @@
|
|
|
125
105
|
"description": "Error to show when the field is invalid.",
|
|
126
106
|
"value": {
|
|
127
107
|
"type": [
|
|
128
|
-
"string"
|
|
129
|
-
"null",
|
|
130
|
-
"undefined"
|
|
108
|
+
"string"
|
|
131
109
|
]
|
|
132
110
|
}
|
|
133
111
|
},
|
|
@@ -136,9 +114,7 @@
|
|
|
136
114
|
"description": "String used for the helper text.",
|
|
137
115
|
"value": {
|
|
138
116
|
"type": [
|
|
139
|
-
"string"
|
|
140
|
-
"null",
|
|
141
|
-
"undefined"
|
|
117
|
+
"string"
|
|
142
118
|
]
|
|
143
119
|
}
|
|
144
120
|
},
|
|
@@ -147,9 +123,7 @@
|
|
|
147
123
|
"description": "Set to true when the field is invalid.",
|
|
148
124
|
"value": {
|
|
149
125
|
"type": [
|
|
150
|
-
"boolean"
|
|
151
|
-
"null",
|
|
152
|
-
"undefined"
|
|
126
|
+
"boolean"
|
|
153
127
|
]
|
|
154
128
|
}
|
|
155
129
|
},
|
|
@@ -158,9 +132,7 @@
|
|
|
158
132
|
"description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
|
|
159
133
|
"value": {
|
|
160
134
|
"type": [
|
|
161
|
-
"string"
|
|
162
|
-
"null",
|
|
163
|
-
"undefined"
|
|
135
|
+
"string"
|
|
164
136
|
]
|
|
165
137
|
}
|
|
166
138
|
},
|
|
@@ -169,9 +141,7 @@
|
|
|
169
141
|
"description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
|
|
170
142
|
"value": {
|
|
171
143
|
"type": [
|
|
172
|
-
"boolean"
|
|
173
|
-
"null",
|
|
174
|
-
"undefined"
|
|
144
|
+
"boolean"
|
|
175
145
|
]
|
|
176
146
|
}
|
|
177
147
|
},
|
|
@@ -180,9 +150,7 @@
|
|
|
180
150
|
"description": "Maximum number of characters (in Unicode code points) that the user can enter.",
|
|
181
151
|
"value": {
|
|
182
152
|
"type": [
|
|
183
|
-
"number"
|
|
184
|
-
"null",
|
|
185
|
-
"undefined"
|
|
153
|
+
"number"
|
|
186
154
|
]
|
|
187
155
|
}
|
|
188
156
|
},
|
|
@@ -191,9 +159,7 @@
|
|
|
191
159
|
"description": "Minimum number of characters (in Unicode code points) that the user can enter.",
|
|
192
160
|
"value": {
|
|
193
161
|
"type": [
|
|
194
|
-
"number"
|
|
195
|
-
"null",
|
|
196
|
-
"undefined"
|
|
162
|
+
"number"
|
|
197
163
|
]
|
|
198
164
|
}
|
|
199
165
|
},
|
|
@@ -202,9 +168,7 @@
|
|
|
202
168
|
"description": "The name of this field.",
|
|
203
169
|
"value": {
|
|
204
170
|
"type": [
|
|
205
|
-
"string"
|
|
206
|
-
"null",
|
|
207
|
-
"undefined"
|
|
171
|
+
"string"
|
|
208
172
|
]
|
|
209
173
|
}
|
|
210
174
|
},
|
|
@@ -213,9 +177,7 @@
|
|
|
213
177
|
"description": "A regular expression that the value is checked against.\nThe pattern must match the entire value, not just some subset.",
|
|
214
178
|
"value": {
|
|
215
179
|
"type": [
|
|
216
|
-
"string"
|
|
217
|
-
"null",
|
|
218
|
-
"undefined"
|
|
180
|
+
"string"
|
|
219
181
|
]
|
|
220
182
|
}
|
|
221
183
|
},
|
|
@@ -224,9 +186,7 @@
|
|
|
224
186
|
"description": "A hint to the user of what can be entered in the field.",
|
|
225
187
|
"value": {
|
|
226
188
|
"type": [
|
|
227
|
-
"string"
|
|
228
|
-
"null",
|
|
229
|
-
"undefined"
|
|
189
|
+
"string"
|
|
230
190
|
]
|
|
231
191
|
}
|
|
232
192
|
},
|
|
@@ -235,9 +195,7 @@
|
|
|
235
195
|
"description": "When present, it specifies that the field is read-only.",
|
|
236
196
|
"value": {
|
|
237
197
|
"type": [
|
|
238
|
-
"boolean"
|
|
239
|
-
"null",
|
|
240
|
-
"undefined"
|
|
198
|
+
"boolean"
|
|
241
199
|
]
|
|
242
200
|
}
|
|
243
201
|
},
|
|
@@ -246,9 +204,7 @@
|
|
|
246
204
|
"description": "Specifies that the user must fill in a value.",
|
|
247
205
|
"value": {
|
|
248
206
|
"type": [
|
|
249
|
-
"boolean"
|
|
250
|
-
"null",
|
|
251
|
-
"undefined"
|
|
207
|
+
"boolean"
|
|
252
208
|
]
|
|
253
209
|
}
|
|
254
210
|
},
|
|
@@ -257,9 +213,7 @@
|
|
|
257
213
|
"description": "Set to true to hide the eye icon which toggles the password visibility.",
|
|
258
214
|
"value": {
|
|
259
215
|
"type": [
|
|
260
|
-
"boolean"
|
|
261
|
-
"null",
|
|
262
|
-
"undefined"
|
|
216
|
+
"boolean"
|
|
263
217
|
]
|
|
264
218
|
}
|
|
265
219
|
},
|
|
@@ -279,9 +233,7 @@
|
|
|
279
233
|
"description": "The text usually displayed in a tooltip popup when the mouse is over the field.",
|
|
280
234
|
"value": {
|
|
281
235
|
"type": [
|
|
282
|
-
"string"
|
|
283
|
-
"null",
|
|
284
|
-
"undefined"
|
|
236
|
+
"string"
|
|
285
237
|
]
|
|
286
238
|
}
|
|
287
239
|
},
|
|
@@ -290,9 +242,7 @@
|
|
|
290
242
|
"description": "The value of the field.",
|
|
291
243
|
"value": {
|
|
292
244
|
"type": [
|
|
293
|
-
"string"
|
|
294
|
-
"null",
|
|
295
|
-
"undefined"
|
|
245
|
+
"string"
|
|
296
246
|
]
|
|
297
247
|
}
|
|
298
248
|
}
|
|
@@ -304,9 +254,7 @@
|
|
|
304
254
|
"description": "String used to label the component to screen reader users.",
|
|
305
255
|
"value": {
|
|
306
256
|
"type": [
|
|
307
|
-
"string"
|
|
308
|
-
"null",
|
|
309
|
-
"undefined"
|
|
257
|
+
"string"
|
|
310
258
|
]
|
|
311
259
|
}
|
|
312
260
|
},
|
|
@@ -315,9 +263,7 @@
|
|
|
315
263
|
"description": "Id of the element used as label of the component to screen reader users.",
|
|
316
264
|
"value": {
|
|
317
265
|
"type": [
|
|
318
|
-
"string"
|
|
319
|
-
"null",
|
|
320
|
-
"undefined"
|
|
266
|
+
"string"
|
|
321
267
|
]
|
|
322
268
|
}
|
|
323
269
|
},
|
|
@@ -326,9 +272,7 @@
|
|
|
326
272
|
"description": "A pattern matched against individual characters the user inputs.\n\nWhen set, the field will prevent:\n- `keydown` events if the entered key doesn't match `/^allowedCharPattern$/`\n- `paste` events if the pasted text doesn't match `/^allowedCharPattern*$/`\n- `drop` events if the dropped text doesn't match `/^allowedCharPattern*$/`\n\nFor example, to allow entering only numbers and minus signs, use:\n`allowedCharPattern = \"[\\\\d-]\"`",
|
|
327
273
|
"value": {
|
|
328
274
|
"type": [
|
|
329
|
-
"string"
|
|
330
|
-
"null",
|
|
331
|
-
"undefined"
|
|
275
|
+
"string"
|
|
332
276
|
]
|
|
333
277
|
}
|
|
334
278
|
},
|
|
@@ -337,9 +281,7 @@
|
|
|
337
281
|
"description": "This is a property supported by Safari and Chrome that is used to control whether\nautocapitalization should be enabled when the user is entering/editing the text.\nPossible values are:\ncharacters: Characters capitalization.\nwords: Words capitalization.\nsentences: Sentences capitalization.\nnone: No capitalization.",
|
|
338
282
|
"value": {
|
|
339
283
|
"type": [
|
|
340
|
-
"string"
|
|
341
|
-
"null",
|
|
342
|
-
"undefined"
|
|
284
|
+
"string"
|
|
343
285
|
]
|
|
344
286
|
}
|
|
345
287
|
},
|
|
@@ -348,9 +290,7 @@
|
|
|
348
290
|
"description": "Whether the value of the control can be automatically completed by the browser.\nList of available options at:\nhttps://developer.mozilla.org/en/docs/Web/HTML/Element/input#attr-autocomplete",
|
|
349
291
|
"value": {
|
|
350
292
|
"type": [
|
|
351
|
-
"string"
|
|
352
|
-
"null",
|
|
353
|
-
"undefined"
|
|
293
|
+
"string"
|
|
354
294
|
]
|
|
355
295
|
}
|
|
356
296
|
},
|
|
@@ -359,9 +299,7 @@
|
|
|
359
299
|
"description": "This is a property supported by Safari that is used to control whether\nautocorrection should be enabled when the user is entering/editing the text.\nPossible values are:\non: Enable autocorrection.\noff: Disable autocorrection.",
|
|
360
300
|
"value": {
|
|
361
301
|
"type": [
|
|
362
|
-
"string"
|
|
363
|
-
"null",
|
|
364
|
-
"undefined"
|
|
302
|
+
"string"
|
|
365
303
|
]
|
|
366
304
|
}
|
|
367
305
|
},
|
|
@@ -370,9 +308,7 @@
|
|
|
370
308
|
"description": "Specify that this control should have input focus when the page loads.",
|
|
371
309
|
"value": {
|
|
372
310
|
"type": [
|
|
373
|
-
"boolean"
|
|
374
|
-
"null",
|
|
375
|
-
"undefined"
|
|
311
|
+
"boolean"
|
|
376
312
|
]
|
|
377
313
|
}
|
|
378
314
|
},
|
|
@@ -381,9 +317,7 @@
|
|
|
381
317
|
"description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
|
|
382
318
|
"value": {
|
|
383
319
|
"type": [
|
|
384
|
-
"boolean"
|
|
385
|
-
"null",
|
|
386
|
-
"undefined"
|
|
320
|
+
"boolean"
|
|
387
321
|
]
|
|
388
322
|
}
|
|
389
323
|
},
|
|
@@ -392,9 +326,7 @@
|
|
|
392
326
|
"description": "Set to true to display the clear icon which clears the input.\n\nIt is up to the component to choose where to place the clear icon:\nin the Shadow DOM or in the light DOM. In any way, a reference to\nthe clear icon element should be provided via the `clearElement` getter.",
|
|
393
327
|
"value": {
|
|
394
328
|
"type": [
|
|
395
|
-
"boolean"
|
|
396
|
-
"null",
|
|
397
|
-
"undefined"
|
|
329
|
+
"boolean"
|
|
398
330
|
]
|
|
399
331
|
}
|
|
400
332
|
},
|
|
@@ -403,9 +335,7 @@
|
|
|
403
335
|
"description": "If true, the user cannot interact with this element.",
|
|
404
336
|
"value": {
|
|
405
337
|
"type": [
|
|
406
|
-
"boolean"
|
|
407
|
-
"null",
|
|
408
|
-
"undefined"
|
|
338
|
+
"boolean"
|
|
409
339
|
]
|
|
410
340
|
}
|
|
411
341
|
},
|
|
@@ -414,9 +344,7 @@
|
|
|
414
344
|
"description": "Error to show when the field is invalid.",
|
|
415
345
|
"value": {
|
|
416
346
|
"type": [
|
|
417
|
-
"string"
|
|
418
|
-
"null",
|
|
419
|
-
"undefined"
|
|
347
|
+
"string"
|
|
420
348
|
]
|
|
421
349
|
}
|
|
422
350
|
},
|
|
@@ -425,9 +353,7 @@
|
|
|
425
353
|
"description": "String used for the helper text.",
|
|
426
354
|
"value": {
|
|
427
355
|
"type": [
|
|
428
|
-
"string"
|
|
429
|
-
"null",
|
|
430
|
-
"undefined"
|
|
356
|
+
"string"
|
|
431
357
|
]
|
|
432
358
|
}
|
|
433
359
|
},
|
|
@@ -436,9 +362,7 @@
|
|
|
436
362
|
"description": "An object with translated strings used for localization.\nIt has the following structure and default values:\n\n```js\n{\n // Translation of the reveal icon button accessible label\n reveal: 'Show password'\n}\n```",
|
|
437
363
|
"value": {
|
|
438
364
|
"type": [
|
|
439
|
-
"
|
|
440
|
-
"null",
|
|
441
|
-
"undefined"
|
|
365
|
+
"object"
|
|
442
366
|
]
|
|
443
367
|
}
|
|
444
368
|
},
|
|
@@ -447,9 +371,7 @@
|
|
|
447
371
|
"description": "Set to true when the field is invalid.",
|
|
448
372
|
"value": {
|
|
449
373
|
"type": [
|
|
450
|
-
"boolean"
|
|
451
|
-
"null",
|
|
452
|
-
"undefined"
|
|
374
|
+
"boolean"
|
|
453
375
|
]
|
|
454
376
|
}
|
|
455
377
|
},
|
|
@@ -458,9 +380,7 @@
|
|
|
458
380
|
"description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
|
|
459
381
|
"value": {
|
|
460
382
|
"type": [
|
|
461
|
-
"string"
|
|
462
|
-
"null",
|
|
463
|
-
"undefined"
|
|
383
|
+
"string"
|
|
464
384
|
]
|
|
465
385
|
}
|
|
466
386
|
},
|
|
@@ -469,9 +389,7 @@
|
|
|
469
389
|
"description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
|
|
470
390
|
"value": {
|
|
471
391
|
"type": [
|
|
472
|
-
"boolean"
|
|
473
|
-
"null",
|
|
474
|
-
"undefined"
|
|
392
|
+
"boolean"
|
|
475
393
|
]
|
|
476
394
|
}
|
|
477
395
|
},
|
|
@@ -480,9 +398,7 @@
|
|
|
480
398
|
"description": "Maximum number of characters (in Unicode code points) that the user can enter.",
|
|
481
399
|
"value": {
|
|
482
400
|
"type": [
|
|
483
|
-
"number"
|
|
484
|
-
"null",
|
|
485
|
-
"undefined"
|
|
401
|
+
"number"
|
|
486
402
|
]
|
|
487
403
|
}
|
|
488
404
|
},
|
|
@@ -491,9 +407,7 @@
|
|
|
491
407
|
"description": "Minimum number of characters (in Unicode code points) that the user can enter.",
|
|
492
408
|
"value": {
|
|
493
409
|
"type": [
|
|
494
|
-
"number"
|
|
495
|
-
"null",
|
|
496
|
-
"undefined"
|
|
410
|
+
"number"
|
|
497
411
|
]
|
|
498
412
|
}
|
|
499
413
|
},
|
|
@@ -502,9 +416,7 @@
|
|
|
502
416
|
"description": "The name of this field.",
|
|
503
417
|
"value": {
|
|
504
418
|
"type": [
|
|
505
|
-
"string"
|
|
506
|
-
"null",
|
|
507
|
-
"undefined"
|
|
419
|
+
"string"
|
|
508
420
|
]
|
|
509
421
|
}
|
|
510
422
|
},
|
|
@@ -513,9 +425,7 @@
|
|
|
513
425
|
"description": "A regular expression that the value is checked against.\nThe pattern must match the entire value, not just some subset.",
|
|
514
426
|
"value": {
|
|
515
427
|
"type": [
|
|
516
|
-
"string"
|
|
517
|
-
"null",
|
|
518
|
-
"undefined"
|
|
428
|
+
"string"
|
|
519
429
|
]
|
|
520
430
|
}
|
|
521
431
|
},
|
|
@@ -524,9 +434,7 @@
|
|
|
524
434
|
"description": "A hint to the user of what can be entered in the field.",
|
|
525
435
|
"value": {
|
|
526
436
|
"type": [
|
|
527
|
-
"string"
|
|
528
|
-
"null",
|
|
529
|
-
"undefined"
|
|
437
|
+
"string"
|
|
530
438
|
]
|
|
531
439
|
}
|
|
532
440
|
},
|
|
@@ -535,9 +443,7 @@
|
|
|
535
443
|
"description": "When present, it specifies that the field is read-only.",
|
|
536
444
|
"value": {
|
|
537
445
|
"type": [
|
|
538
|
-
"boolean"
|
|
539
|
-
"null",
|
|
540
|
-
"undefined"
|
|
446
|
+
"boolean"
|
|
541
447
|
]
|
|
542
448
|
}
|
|
543
449
|
},
|
|
@@ -546,9 +452,7 @@
|
|
|
546
452
|
"description": "Specifies that the user must fill in a value.",
|
|
547
453
|
"value": {
|
|
548
454
|
"type": [
|
|
549
|
-
"boolean"
|
|
550
|
-
"null",
|
|
551
|
-
"undefined"
|
|
455
|
+
"boolean"
|
|
552
456
|
]
|
|
553
457
|
}
|
|
554
458
|
},
|
|
@@ -557,9 +461,7 @@
|
|
|
557
461
|
"description": "Set to true to hide the eye icon which toggles the password visibility.",
|
|
558
462
|
"value": {
|
|
559
463
|
"type": [
|
|
560
|
-
"boolean"
|
|
561
|
-
"null",
|
|
562
|
-
"undefined"
|
|
464
|
+
"boolean"
|
|
563
465
|
]
|
|
564
466
|
}
|
|
565
467
|
},
|
|
@@ -568,9 +470,7 @@
|
|
|
568
470
|
"description": "The text usually displayed in a tooltip popup when the mouse is over the field.",
|
|
569
471
|
"value": {
|
|
570
472
|
"type": [
|
|
571
|
-
"string"
|
|
572
|
-
"null",
|
|
573
|
-
"undefined"
|
|
473
|
+
"string"
|
|
574
474
|
]
|
|
575
475
|
}
|
|
576
476
|
},
|
|
@@ -579,9 +479,7 @@
|
|
|
579
479
|
"description": "The value of the field.",
|
|
580
480
|
"value": {
|
|
581
481
|
"type": [
|
|
582
|
-
"string"
|
|
583
|
-
"null",
|
|
584
|
-
"undefined"
|
|
482
|
+
"string"
|
|
585
483
|
]
|
|
586
484
|
}
|
|
587
485
|
}
|
|
@@ -593,7 +491,7 @@
|
|
|
593
491
|
},
|
|
594
492
|
{
|
|
595
493
|
"name": "input",
|
|
596
|
-
"description": "Fired when the value is changed by the user: on every typing keystroke
|
|
494
|
+
"description": "Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button."
|
|
597
495
|
},
|
|
598
496
|
{
|
|
599
497
|
"name": "invalid-changed",
|
package/web-types.lit.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/password-field",
|
|
4
|
-
"version": "25.
|
|
4
|
+
"version": "25.2.0-alpha10",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -20,169 +20,169 @@
|
|
|
20
20
|
"extension": true,
|
|
21
21
|
"attributes": [
|
|
22
22
|
{
|
|
23
|
-
"name": "
|
|
24
|
-
"description": "
|
|
23
|
+
"name": ".accessibleName",
|
|
24
|
+
"description": "String used to label the component to screen reader users.",
|
|
25
25
|
"value": {
|
|
26
26
|
"kind": "expression"
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
|
-
"name": "
|
|
31
|
-
"description": "
|
|
30
|
+
"name": ".accessibleNameRef",
|
|
31
|
+
"description": "Id of the element used as label of the component to screen reader users.",
|
|
32
32
|
"value": {
|
|
33
33
|
"kind": "expression"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
"name": "
|
|
38
|
-
"description": "
|
|
37
|
+
"name": ".allowedCharPattern",
|
|
38
|
+
"description": "A pattern matched against individual characters the user inputs.\n\nWhen set, the field will prevent:\n- `keydown` events if the entered key doesn't match `/^allowedCharPattern$/`\n- `paste` events if the pasted text doesn't match `/^allowedCharPattern*$/`\n- `drop` events if the dropped text doesn't match `/^allowedCharPattern*$/`\n\nFor example, to allow entering only numbers and minus signs, use:\n`allowedCharPattern = \"[\\\\d-]\"`",
|
|
39
39
|
"value": {
|
|
40
40
|
"kind": "expression"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
|
-
"name": "
|
|
45
|
-
"description": "
|
|
44
|
+
"name": ".autocapitalize",
|
|
45
|
+
"description": "This is a property supported by Safari and Chrome that is used to control whether\nautocapitalization should be enabled when the user is entering/editing the text.\nPossible values are:\ncharacters: Characters capitalization.\nwords: Words capitalization.\nsentences: Sentences capitalization.\nnone: No capitalization.",
|
|
46
46
|
"value": {
|
|
47
47
|
"kind": "expression"
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
|
-
"name": "
|
|
52
|
-
"description": "
|
|
51
|
+
"name": ".autocomplete",
|
|
52
|
+
"description": "Whether the value of the control can be automatically completed by the browser.\nList of available options at:\nhttps://developer.mozilla.org/en/docs/Web/HTML/Element/input#attr-autocomplete",
|
|
53
53
|
"value": {
|
|
54
54
|
"kind": "expression"
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
|
-
"name": "
|
|
59
|
-
"description": "
|
|
58
|
+
"name": ".autocorrect",
|
|
59
|
+
"description": "This is a property supported by Safari that is used to control whether\nautocorrection should be enabled when the user is entering/editing the text.\nPossible values are:\non: Enable autocorrection.\noff: Disable autocorrection.",
|
|
60
60
|
"value": {
|
|
61
61
|
"kind": "expression"
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
|
-
"name": "?
|
|
66
|
-
"description": "
|
|
65
|
+
"name": "?autofocus",
|
|
66
|
+
"description": "Specify that this control should have input focus when the page loads.",
|
|
67
67
|
"value": {
|
|
68
68
|
"kind": "expression"
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
|
-
"name": "?
|
|
73
|
-
"description": "
|
|
72
|
+
"name": "?autoselect",
|
|
73
|
+
"description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
|
|
74
74
|
"value": {
|
|
75
75
|
"kind": "expression"
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
|
-
"name": "?
|
|
80
|
-
"description": "Set to true to
|
|
79
|
+
"name": "?clearButtonVisible",
|
|
80
|
+
"description": "Set to true to display the clear icon which clears the input.\n\nIt is up to the component to choose where to place the clear icon:\nin the Shadow DOM or in the light DOM. In any way, a reference to\nthe clear icon element should be provided via the `clearElement` getter.",
|
|
81
81
|
"value": {
|
|
82
82
|
"kind": "expression"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
|
-
"name": "
|
|
87
|
-
"description": "
|
|
86
|
+
"name": "?disabled",
|
|
87
|
+
"description": "If true, the user cannot interact with this element.",
|
|
88
88
|
"value": {
|
|
89
89
|
"kind": "expression"
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
|
-
"name": ".
|
|
94
|
-
"description": "
|
|
93
|
+
"name": ".errorMessage",
|
|
94
|
+
"description": "Error to show when the field is invalid.",
|
|
95
95
|
"value": {
|
|
96
96
|
"kind": "expression"
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
|
-
"name": ".
|
|
101
|
-
"description": "
|
|
100
|
+
"name": ".helperText",
|
|
101
|
+
"description": "String used for the helper text.",
|
|
102
102
|
"value": {
|
|
103
103
|
"kind": "expression"
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
|
-
"name": ".
|
|
108
|
-
"description": "
|
|
107
|
+
"name": ".i18n",
|
|
108
|
+
"description": "An object with translated strings used for localization.\nIt has the following structure and default values:\n\n```js\n{\n // Translation of the reveal icon button accessible label\n reveal: 'Show password'\n}\n```",
|
|
109
109
|
"value": {
|
|
110
110
|
"kind": "expression"
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
|
-
"name": "
|
|
115
|
-
"description": "
|
|
114
|
+
"name": "?invalid",
|
|
115
|
+
"description": "Set to true when the field is invalid.",
|
|
116
116
|
"value": {
|
|
117
117
|
"kind": "expression"
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
|
-
"name": ".
|
|
122
|
-
"description": "
|
|
121
|
+
"name": ".label",
|
|
122
|
+
"description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
|
|
123
123
|
"value": {
|
|
124
124
|
"kind": "expression"
|
|
125
125
|
}
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
|
-
"name": "
|
|
129
|
-
"description": "
|
|
128
|
+
"name": "?manualValidation",
|
|
129
|
+
"description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
|
|
130
130
|
"value": {
|
|
131
131
|
"kind": "expression"
|
|
132
132
|
}
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
|
-
"name": ".
|
|
136
|
-
"description": "
|
|
135
|
+
"name": ".maxlength",
|
|
136
|
+
"description": "Maximum number of characters (in Unicode code points) that the user can enter.",
|
|
137
137
|
"value": {
|
|
138
138
|
"kind": "expression"
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
|
-
"name": ".
|
|
143
|
-
"description": "
|
|
142
|
+
"name": ".minlength",
|
|
143
|
+
"description": "Minimum number of characters (in Unicode code points) that the user can enter.",
|
|
144
144
|
"value": {
|
|
145
145
|
"kind": "expression"
|
|
146
146
|
}
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
|
-
"name": ".
|
|
150
|
-
"description": "The
|
|
149
|
+
"name": ".name",
|
|
150
|
+
"description": "The name of this field.",
|
|
151
151
|
"value": {
|
|
152
152
|
"kind": "expression"
|
|
153
153
|
}
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
|
-
"name": ".
|
|
157
|
-
"description": "
|
|
156
|
+
"name": ".pattern",
|
|
157
|
+
"description": "A regular expression that the value is checked against.\nThe pattern must match the entire value, not just some subset.",
|
|
158
158
|
"value": {
|
|
159
159
|
"kind": "expression"
|
|
160
160
|
}
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
|
-
"name": ".
|
|
164
|
-
"description": "
|
|
163
|
+
"name": ".placeholder",
|
|
164
|
+
"description": "A hint to the user of what can be entered in the field.",
|
|
165
165
|
"value": {
|
|
166
166
|
"kind": "expression"
|
|
167
167
|
}
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
|
-
"name": "
|
|
171
|
-
"description": "
|
|
170
|
+
"name": "?readonly",
|
|
171
|
+
"description": "When present, it specifies that the field is read-only.",
|
|
172
172
|
"value": {
|
|
173
173
|
"kind": "expression"
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
176
|
{
|
|
177
|
-
"name": "
|
|
178
|
-
"description": "
|
|
177
|
+
"name": "?required",
|
|
178
|
+
"description": "Specifies that the user must fill in a value.",
|
|
179
179
|
"value": {
|
|
180
180
|
"kind": "expression"
|
|
181
181
|
}
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
|
-
"name": "
|
|
185
|
-
"description": "
|
|
184
|
+
"name": "?revealButtonHidden",
|
|
185
|
+
"description": "Set to true to hide the eye icon which toggles the password visibility.",
|
|
186
186
|
"value": {
|
|
187
187
|
"kind": "expression"
|
|
188
188
|
}
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
"name": "@input",
|
|
213
|
-
"description": "Fired when the value is changed by the user: on every typing keystroke
|
|
213
|
+
"description": "Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button.",
|
|
214
214
|
"value": {
|
|
215
215
|
"kind": "expression"
|
|
216
216
|
}
|