@ds-autonomie/web-components 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/cdn/chunks/{chunk.ZDLDKWEM.js → chunk.2APAO2OW.js} +1 -1
- package/cdn/chunks/{chunk.JTHUYIYP.js → chunk.2DJERWBI.js} +5 -5
- package/cdn/chunks/{chunk.QCSRN6TI.js → chunk.3JMBGIZN.js} +1 -1
- package/cdn/chunks/{chunk.Z2IR3WWE.js → chunk.4NC4QO64.js} +1 -1
- package/cdn/chunks/{chunk.OZEY33RC.js → chunk.5LXQ3RKQ.js} +2 -22
- package/cdn/chunks/{chunk.JSVJ7J76.js → chunk.6QTMZJGH.js} +1 -1
- package/cdn/chunks/{chunk.6E6G25TQ.js → chunk.A33BZOMA.js} +1 -1
- package/cdn/chunks/{chunk.LRMXGBIU.js → chunk.ATHAYO6A.js} +155 -4
- package/cdn/chunks/{chunk.Z6DEWBVS.js → chunk.C62MMBV4.js} +10 -0
- package/cdn/chunks/{chunk.5AFQZ4HE.js → chunk.CYMM2ZAV.js} +6 -0
- package/cdn/chunks/chunk.F7NUIVDV.js +10 -0
- package/cdn/chunks/{chunk.OVD3Q2LV.js → chunk.FHOCNAJ4.js} +5 -2
- package/cdn/chunks/{chunk.KTAPO27T.js → chunk.HYTYRM6S.js} +1 -1
- package/cdn/chunks/{chunk.S4BW7KNM.js → chunk.J73YJOU4.js} +1 -1
- package/cdn/chunks/chunk.KELDA33H.js +198 -0
- package/cdn/chunks/{chunk.R6BGXKHX.js → chunk.LNBAAP45.js} +1 -1
- package/cdn/chunks/{chunk.MEYHIAQ5.js → chunk.M7QHADJH.js} +5 -1
- package/cdn/chunks/chunk.MJLKYERJ.js +348 -0
- package/cdn/chunks/chunk.PWL7QCVG.js +9 -0
- package/cdn/chunks/{chunk.Y5CXRULD.js → chunk.UAQ7MMLI.js} +1 -1
- package/cdn/chunks/{chunk.PMMQ5QVY.js → chunk.XQAKSW3W.js} +12 -1
- package/cdn/chunks/{chunk.NPJ5ZOJ4.js → chunk.YQQNMFZF.js} +20 -85
- package/cdn/chunks/{chunk.E4GNTJPS.js → chunk.YS6XV3LD.js} +1 -1
- package/cdn/components/checkbox/checkbox.d.ts +1 -0
- package/cdn/components/checkbox/checkbox.js +6 -1
- package/cdn/components/checkbox-button/checkbox-button.d.ts +1 -0
- package/cdn/components/checkbox-button/checkbox-button.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.d.ts +5 -8
- package/cdn/components/checkbox-group/checkbox-group.js +3 -5
- package/cdn/components/checkbox-group/checkbox-group.styles.js +1 -1
- package/cdn/components/combobox/combobox.d.ts +3 -2
- package/cdn/components/combobox/combobox.js +3 -2
- package/cdn/components/file-upload/file-upload.d.ts +3 -2
- package/cdn/components/filter-base/filter-base-stories.js +1 -1
- package/cdn/components/filter-counter/filter-counter.js +5 -4
- package/cdn/components/filter-date/filter-date.js +1 -1
- package/cdn/components/filter-range/filter-range.js +5 -4
- package/cdn/components/filter-select/filter-select.d.ts +5 -3
- package/cdn/components/filter-select/filter-select.js +8 -7
- package/cdn/components/input/input.js +5 -4
- package/cdn/components/input-date/input-date.js +4 -3
- package/cdn/components/input-mask/input-mask.js +3 -2
- package/cdn/components/input-otp/input-otp.d.ts +90 -0
- package/cdn/components/input-otp/input-otp.js +38 -0
- package/cdn/components/input-otp/input-otp.styles.d.ts +2 -0
- package/cdn/components/input-otp/input-otp.styles.js +11 -0
- package/cdn/components/input-otp/input-otp.utils.d.ts +3 -0
- package/cdn/components/input-otp/input-otp.utils.js +11 -0
- package/cdn/components/input-phone/input-phone.js +7 -6
- package/cdn/components/navbar-link/navbar-link.js +1 -1
- package/cdn/components/pagination/pagination.js +8 -7
- package/cdn/components/radio-button/radio-button.js +4 -4
- package/cdn/components/radio-group/radio-group.d.ts +3 -2
- package/cdn/components/radio-group/radio-group.js +3 -3
- package/cdn/components/select/select.d.ts +4 -2
- package/cdn/components/select/select.js +3 -2
- package/cdn/components/step/step.js +2 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/table-body/table-body.js +2 -2
- package/cdn/components/table-header-row/table-header-row.js +8 -5
- package/cdn/components/table-row/table-row.js +6 -1
- package/cdn/components/textarea/textarea.js +3 -2
- package/cdn/components/tree/tree.js +8 -3
- package/cdn/components/tree-item/tree-item.js +6 -1
- package/cdn/custom-elements.json +517 -41
- package/cdn/design-system.d.ts +2 -0
- package/cdn/design-system.js +111 -98
- package/cdn/internal/a11y-warning.d.ts +2 -0
- package/cdn/internal/a11y-warning.js +4 -0
- package/cdn/internal/components/date-field/date-field.js +6 -1
- package/cdn/internal/components/form-control/form-control-layout.js +6 -1
- package/cdn/themes/dsa-wc-theme.css +14 -0
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +14 -0
- package/cdn/utilities/storybook.js +1 -1
- package/cdn/vscode.html-custom-data.json +76 -7
- package/cdn/web-types.json +314 -35
- package/dist/chunks/chunk.5P2EEOC5.js +196 -0
- package/dist/chunks/{chunk.VOOE2BQV.js → chunk.6HR34L7E.js} +2 -22
- package/dist/chunks/{chunk.Y72CHU6D.js → chunk.6JHM36KH.js} +5 -1
- package/dist/chunks/{chunk.LKCPAJMF.js → chunk.B6LMEZTV.js} +5 -2
- package/dist/chunks/{chunk.OHPSPLZO.js → chunk.DDDHV2NU.js} +5 -5
- package/dist/chunks/{chunk.P4HRQ2D7.js → chunk.DHDRABMZ.js} +1 -1
- package/dist/chunks/chunk.F7NUIVDV.js +10 -0
- package/dist/chunks/{chunk.D3SHMAJT.js → chunk.H3FSR35C.js} +1 -1
- package/dist/chunks/{chunk.T4BUHP4L.js → chunk.I5HR7JYK.js} +10 -1
- package/dist/chunks/{chunk.NCECJWN7.js → chunk.KN6RQWYN.js} +1 -1
- package/dist/chunks/{chunk.JX7OISYA.js → chunk.KUYI27GJ.js} +186 -30
- package/dist/chunks/{chunk.ZGQUBAEK.js → chunk.L3LZ4MKX.js} +1 -1
- package/dist/chunks/{chunk.BXOGG3JO.js → chunk.LTCZARVI.js} +1 -1
- package/dist/chunks/{chunk.AF5WMYR2.js → chunk.MYSJOWY5.js} +1 -1
- package/dist/chunks/chunk.PWL7QCVG.js +9 -0
- package/dist/chunks/chunk.UDJJFUZ3.js +335 -0
- package/dist/chunks/{chunk.YXXLXJPE.js → chunk.UEWG3G4R.js} +6 -0
- package/dist/chunks/{chunk.WWANVBI5.js → chunk.UWGAOHHQ.js} +1 -1
- package/dist/chunks/{chunk.EGH3AVD7.js → chunk.VBW5RZBM.js} +1 -1
- package/dist/chunks/{chunk.XXHMFUD7.js → chunk.WRPRKCVY.js} +1 -1
- package/dist/chunks/{chunk.G422H4DZ.js → chunk.WUOMKASN.js} +10 -0
- package/dist/chunks/{chunk.ZYTDWH4E.js → chunk.XJMGXWLM.js} +20 -85
- package/dist/chunks/{chunk.6GN2WDDT.js → chunk.Y52TCF24.js} +1 -1
- package/dist/components/checkbox/checkbox.d.ts +1 -0
- package/dist/components/checkbox/checkbox.js +6 -1
- package/dist/components/checkbox-button/checkbox-button.d.ts +1 -0
- package/dist/components/checkbox-button/checkbox-button.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.d.ts +5 -8
- package/dist/components/checkbox-group/checkbox-group.js +3 -4
- package/dist/components/checkbox-group/checkbox-group.styles.js +1 -1
- package/dist/components/combobox/combobox.d.ts +3 -2
- package/dist/components/combobox/combobox.js +3 -2
- package/dist/components/file-upload/file-upload.d.ts +3 -2
- package/dist/components/filter-base/filter-base-stories.js +1 -1
- package/dist/components/filter-counter/filter-counter.js +5 -4
- package/dist/components/filter-date/filter-date.js +1 -1
- package/dist/components/filter-range/filter-range.js +5 -4
- package/dist/components/filter-select/filter-select.d.ts +5 -3
- package/dist/components/filter-select/filter-select.js +8 -7
- package/dist/components/input/input.js +5 -4
- package/dist/components/input-date/input-date.js +4 -3
- package/dist/components/input-mask/input-mask.js +3 -2
- package/dist/components/input-otp/input-otp.d.ts +90 -0
- package/dist/components/input-otp/input-otp.js +31 -0
- package/dist/components/input-otp/input-otp.styles.d.ts +2 -0
- package/dist/components/input-otp/input-otp.styles.js +9 -0
- package/dist/components/input-otp/input-otp.utils.d.ts +3 -0
- package/dist/components/input-otp/input-otp.utils.js +11 -0
- package/dist/components/input-phone/input-phone.js +7 -6
- package/dist/components/navbar-link/navbar-link.js +1 -1
- package/dist/components/pagination/pagination.js +8 -7
- package/dist/components/radio-button/radio-button.js +4 -4
- package/dist/components/radio-group/radio-group.d.ts +3 -2
- package/dist/components/radio-group/radio-group.js +3 -3
- package/dist/components/select/select.d.ts +4 -2
- package/dist/components/select/select.js +3 -2
- package/dist/components/step/step.js +2 -1
- package/dist/components/tab/tab.js +1 -1
- package/dist/components/table-body/table-body.js +2 -2
- package/dist/components/table-header-row/table-header-row.js +7 -4
- package/dist/components/table-row/table-row.js +6 -1
- package/dist/components/textarea/textarea.js +3 -2
- package/dist/components/tree/tree.js +8 -3
- package/dist/components/tree-item/tree-item.js +6 -1
- package/dist/custom-elements.json +517 -41
- package/dist/design-system.d.ts +2 -0
- package/dist/design-system.js +111 -98
- package/dist/internal/a11y-warning.d.ts +2 -0
- package/dist/internal/a11y-warning.js +4 -0
- package/dist/internal/components/date-field/date-field.js +6 -1
- package/dist/internal/components/form-control/form-control-layout.js +6 -1
- package/dist/themes/dsa-wc-theme.css +14 -0
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +14 -0
- package/dist/utilities/storybook.js +1 -1
- package/dist/vscode.html-custom-data.json +76 -7
- package/dist/web-types.json +314 -35
- package/package.json +1 -1
- package/cdn/chunks/chunk.PS4PM6DJ.js +0 -164
- package/cdn/internal/test/disable-a11y-warnings.d.ts +0 -2
- package/cdn/internal/test/disable-a11y-warnings.js +0 -10
- package/dist/chunks/chunk.AYDVF4T3.js +0 -157
- package/dist/internal/test/disable-a11y-warnings.d.ts +0 -2
- package/dist/internal/test/disable-a11y-warnings.js +0 -10
- package/cdn/chunks/{chunk.PGT2WHXR.js → chunk.BCLU5KXE.js} +3 -3
- package/cdn/chunks/{chunk.COR7P3QG.js → chunk.NSE76EM5.js} +3 -3
- package/cdn/chunks/{chunk.P33HFS7T.js → chunk.V2UYRTUC.js} +3 -3
- package/dist/chunks/{chunk.WOV5QN3O.js → chunk.3OHVWJYG.js} +3 -3
- package/dist/chunks/{chunk.7BFH35RV.js → chunk.63MNXWSY.js} +3 -3
- package/dist/chunks/{chunk.MEPTPSE5.js → chunk.DUTPVTUZ.js} +3 -3
package/cdn/custom-elements.json
CHANGED
|
@@ -3509,14 +3509,6 @@
|
|
|
3509
3509
|
},
|
|
3510
3510
|
"privacy": "private"
|
|
3511
3511
|
},
|
|
3512
|
-
{
|
|
3513
|
-
"kind": "field",
|
|
3514
|
-
"name": "slottedElementsObserver",
|
|
3515
|
-
"type": {
|
|
3516
|
-
"text": "MutationObserver"
|
|
3517
|
-
},
|
|
3518
|
-
"privacy": "private"
|
|
3519
|
-
},
|
|
3520
3512
|
{
|
|
3521
3513
|
"kind": "field",
|
|
3522
3514
|
"name": "defaultSlot",
|
|
@@ -3548,14 +3540,6 @@
|
|
|
3548
3540
|
},
|
|
3549
3541
|
"default": "[]"
|
|
3550
3542
|
},
|
|
3551
|
-
{
|
|
3552
|
-
"kind": "field",
|
|
3553
|
-
"name": "allCheckboxes",
|
|
3554
|
-
"type": {
|
|
3555
|
-
"text": "(DSACheckbox | DSACheckboxButton)[]"
|
|
3556
|
-
},
|
|
3557
|
-
"default": "[]"
|
|
3558
|
-
},
|
|
3559
3543
|
{
|
|
3560
3544
|
"kind": "field",
|
|
3561
3545
|
"name": "label",
|
|
@@ -3593,7 +3577,7 @@
|
|
|
3593
3577
|
"text": "string[]"
|
|
3594
3578
|
},
|
|
3595
3579
|
"default": "[]",
|
|
3596
|
-
"description": "The current value of the checkbox group,
|
|
3580
|
+
"description": "The current value of the checkbox group, representing a list of the checked children checkbox items (designated\nby their “value” and separated by a comma). It can be used as a way to define which items are checked by default,\nand is submitted as name/value pairs with form data.",
|
|
3597
3581
|
"attribute": "value"
|
|
3598
3582
|
},
|
|
3599
3583
|
{
|
|
@@ -3692,11 +3676,6 @@
|
|
|
3692
3676
|
"description": "Gets the validation message",
|
|
3693
3677
|
"readonly": true
|
|
3694
3678
|
},
|
|
3695
|
-
{
|
|
3696
|
-
"kind": "method",
|
|
3697
|
-
"name": "observeSlottedElements",
|
|
3698
|
-
"privacy": "private"
|
|
3699
|
-
},
|
|
3700
3679
|
{
|
|
3701
3680
|
"kind": "method",
|
|
3702
3681
|
"name": "getAllCheckboxes",
|
|
@@ -3756,11 +3735,6 @@
|
|
|
3756
3735
|
}
|
|
3757
3736
|
]
|
|
3758
3737
|
},
|
|
3759
|
-
{
|
|
3760
|
-
"kind": "method",
|
|
3761
|
-
"name": "updateCheckedCheckbox",
|
|
3762
|
-
"privacy": "private"
|
|
3763
|
-
},
|
|
3764
3738
|
{
|
|
3765
3739
|
"kind": "method",
|
|
3766
3740
|
"name": "handleValueChange"
|
|
@@ -3854,7 +3828,7 @@
|
|
|
3854
3828
|
"text": "string[]"
|
|
3855
3829
|
},
|
|
3856
3830
|
"default": "[]",
|
|
3857
|
-
"description": "The current value of the checkbox group,
|
|
3831
|
+
"description": "The current value of the checkbox group, representing a list of the checked children checkbox items (designated\nby their “value” and separated by a comma). It can be used as a way to define which items are checked by default,\nand is submitted as name/value pairs with form data.",
|
|
3858
3832
|
"fieldName": "value"
|
|
3859
3833
|
},
|
|
3860
3834
|
{
|
|
@@ -4118,7 +4092,7 @@
|
|
|
4118
4092
|
"text": "string | string[]"
|
|
4119
4093
|
},
|
|
4120
4094
|
"default": "''",
|
|
4121
|
-
"description": "The current value of the
|
|
4095
|
+
"description": "The current value of the combobox, representing a list of the selected options (or single option if “multiple” is\ndisabled). Selected options are designated by their value, and separated by a space. It can be used as a way to\ndefine which options are selected by default, and will be sent as name/value pairs with form data.",
|
|
4122
4096
|
"attribute": "value"
|
|
4123
4097
|
},
|
|
4124
4098
|
{
|
|
@@ -4720,7 +4694,7 @@
|
|
|
4720
4694
|
"text": "string | string[]"
|
|
4721
4695
|
},
|
|
4722
4696
|
"default": "''",
|
|
4723
|
-
"description": "The current value of the
|
|
4697
|
+
"description": "The current value of the combobox, representing a list of the selected options (or single option if “multiple” is\ndisabled). Selected options are designated by their value, and separated by a space. It can be used as a way to\ndefine which options are selected by default, and will be sent as name/value pairs with form data.",
|
|
4724
4698
|
"fieldName": "value"
|
|
4725
4699
|
},
|
|
4726
4700
|
{
|
|
@@ -6528,7 +6502,7 @@
|
|
|
6528
6502
|
"text": "string | string[]"
|
|
6529
6503
|
},
|
|
6530
6504
|
"default": "''",
|
|
6531
|
-
"description": "
|
|
6505
|
+
"description": "The error message or messages that are shown when “error” is set to “true”. To display several\nmessages, they must be separated by a pipe character, e.g. \"Error 1|Error 2|Error 3”.",
|
|
6532
6506
|
"attribute": "error-message"
|
|
6533
6507
|
},
|
|
6534
6508
|
{
|
|
@@ -6720,7 +6694,7 @@
|
|
|
6720
6694
|
"text": "string | string[]"
|
|
6721
6695
|
},
|
|
6722
6696
|
"default": "''",
|
|
6723
|
-
"description": "
|
|
6697
|
+
"description": "The error message or messages that are shown when “error” is set to “true”. To display several\nmessages, they must be separated by a pipe character, e.g. \"Error 1|Error 2|Error 3”.",
|
|
6724
6698
|
"fieldName": "errorMessage"
|
|
6725
6699
|
}
|
|
6726
6700
|
],
|
|
@@ -9895,7 +9869,7 @@
|
|
|
9895
9869
|
"default": "''",
|
|
9896
9870
|
"attribute": "value",
|
|
9897
9871
|
"reflects": true,
|
|
9898
|
-
"description": "The current value of the filter
|
|
9872
|
+
"description": "The current value of the filter, representing a list of the selected options (or single option if “multiple”\nis disabled). It can be used as a way to define which options are selected by default. Selected options are\ndesignated by their value, and separated by a space.",
|
|
9899
9873
|
"inheritedFrom": {
|
|
9900
9874
|
"name": "FilterBase",
|
|
9901
9875
|
"module": "components/filter-base/filter-base.js"
|
|
@@ -9919,7 +9893,7 @@
|
|
|
9919
9893
|
"text": "number"
|
|
9920
9894
|
},
|
|
9921
9895
|
"default": "5",
|
|
9922
|
-
"description": "The maximum number of options that will be displayed by default. The user will then have to press \"See All\" to
|
|
9896
|
+
"description": "The maximum number of options that will be displayed by default. The user will then have to press \"See All\" to\ndisplay the complete list. Set to 0 to remove the limit.",
|
|
9923
9897
|
"attribute": "max-visible-list-length"
|
|
9924
9898
|
},
|
|
9925
9899
|
{
|
|
@@ -10492,7 +10466,7 @@
|
|
|
10492
10466
|
},
|
|
10493
10467
|
"default": "''",
|
|
10494
10468
|
"fieldName": "value",
|
|
10495
|
-
"description": "The current value of the filter
|
|
10469
|
+
"description": "The current value of the filter, representing a list of the selected options (or single option if “multiple”\nis disabled). It can be used as a way to define which options are selected by default. Selected options are\ndesignated by their value, and separated by a space.",
|
|
10496
10470
|
"inheritedFrom": {
|
|
10497
10471
|
"name": "FilterBase",
|
|
10498
10472
|
"module": "src/components/filter-base/filter-base.ts"
|
|
@@ -10513,7 +10487,7 @@
|
|
|
10513
10487
|
"text": "number"
|
|
10514
10488
|
},
|
|
10515
10489
|
"default": "5",
|
|
10516
|
-
"description": "The maximum number of options that will be displayed by default. The user will then have to press \"See All\" to
|
|
10490
|
+
"description": "The maximum number of options that will be displayed by default. The user will then have to press \"See All\" to\ndisplay the complete list. Set to 0 to remove the limit.",
|
|
10517
10491
|
"fieldName": "maxVisibleListLength"
|
|
10518
10492
|
},
|
|
10519
10493
|
{
|
|
@@ -15352,6 +15326,508 @@
|
|
|
15352
15326
|
}
|
|
15353
15327
|
]
|
|
15354
15328
|
},
|
|
15329
|
+
{
|
|
15330
|
+
"kind": "javascript-module",
|
|
15331
|
+
"path": "components/input-otp/input-otp.js",
|
|
15332
|
+
"declarations": [
|
|
15333
|
+
{
|
|
15334
|
+
"kind": "class",
|
|
15335
|
+
"description": "",
|
|
15336
|
+
"name": "DSAInputOTP",
|
|
15337
|
+
"slots": [
|
|
15338
|
+
{
|
|
15339
|
+
"description": "The input's label. Alternatively, you can use the `label` attribute.",
|
|
15340
|
+
"name": "label"
|
|
15341
|
+
},
|
|
15342
|
+
{
|
|
15343
|
+
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
15344
|
+
"name": "help-text"
|
|
15345
|
+
},
|
|
15346
|
+
{
|
|
15347
|
+
"description": "The tooltip slot allows additional information to be passed along the label.",
|
|
15348
|
+
"name": "tooltip"
|
|
15349
|
+
}
|
|
15350
|
+
],
|
|
15351
|
+
"members": [
|
|
15352
|
+
{
|
|
15353
|
+
"kind": "field",
|
|
15354
|
+
"name": "formControlController",
|
|
15355
|
+
"privacy": "private",
|
|
15356
|
+
"readonly": true,
|
|
15357
|
+
"default": "new FormControlController(this, { assumeInteractionOn: ['dsa-blur', 'dsa-input'], })"
|
|
15358
|
+
},
|
|
15359
|
+
{
|
|
15360
|
+
"kind": "field",
|
|
15361
|
+
"name": "input",
|
|
15362
|
+
"type": {
|
|
15363
|
+
"text": "HTMLInputElement"
|
|
15364
|
+
},
|
|
15365
|
+
"privacy": "private"
|
|
15366
|
+
},
|
|
15367
|
+
{
|
|
15368
|
+
"kind": "field",
|
|
15369
|
+
"name": "hasFocus",
|
|
15370
|
+
"type": {
|
|
15371
|
+
"text": "boolean"
|
|
15372
|
+
},
|
|
15373
|
+
"privacy": "private",
|
|
15374
|
+
"default": "false"
|
|
15375
|
+
},
|
|
15376
|
+
{
|
|
15377
|
+
"kind": "field",
|
|
15378
|
+
"name": "currentIndex",
|
|
15379
|
+
"type": {
|
|
15380
|
+
"text": "number"
|
|
15381
|
+
},
|
|
15382
|
+
"privacy": "private",
|
|
15383
|
+
"default": "0"
|
|
15384
|
+
},
|
|
15385
|
+
{
|
|
15386
|
+
"kind": "field",
|
|
15387
|
+
"name": "patternRegexp",
|
|
15388
|
+
"type": {
|
|
15389
|
+
"text": "RegExp"
|
|
15390
|
+
},
|
|
15391
|
+
"privacy": "private"
|
|
15392
|
+
},
|
|
15393
|
+
{
|
|
15394
|
+
"kind": "field",
|
|
15395
|
+
"name": "value",
|
|
15396
|
+
"type": {
|
|
15397
|
+
"text": "string"
|
|
15398
|
+
},
|
|
15399
|
+
"default": "''",
|
|
15400
|
+
"description": "The current value of the input, submitted as a name/value pair with form data.",
|
|
15401
|
+
"attribute": "value"
|
|
15402
|
+
},
|
|
15403
|
+
{
|
|
15404
|
+
"kind": "field",
|
|
15405
|
+
"name": "defaultValue",
|
|
15406
|
+
"type": {
|
|
15407
|
+
"text": "string"
|
|
15408
|
+
},
|
|
15409
|
+
"default": "''",
|
|
15410
|
+
"description": "The default value of the form control. Primarily used for resetting the form control."
|
|
15411
|
+
},
|
|
15412
|
+
{
|
|
15413
|
+
"kind": "field",
|
|
15414
|
+
"name": "pattern",
|
|
15415
|
+
"type": {
|
|
15416
|
+
"text": "string"
|
|
15417
|
+
},
|
|
15418
|
+
"description": "A regular expression pattern to validate input against.",
|
|
15419
|
+
"attribute": "pattern"
|
|
15420
|
+
},
|
|
15421
|
+
{
|
|
15422
|
+
"kind": "field",
|
|
15423
|
+
"name": "length",
|
|
15424
|
+
"type": {
|
|
15425
|
+
"text": "number"
|
|
15426
|
+
},
|
|
15427
|
+
"default": "6",
|
|
15428
|
+
"description": "The length of input that will be considered valid.",
|
|
15429
|
+
"attribute": "length"
|
|
15430
|
+
},
|
|
15431
|
+
{
|
|
15432
|
+
"kind": "field",
|
|
15433
|
+
"name": "autocapitalize",
|
|
15434
|
+
"type": {
|
|
15435
|
+
"text": "| 'off'\n | 'none'\n | 'on'\n | 'sentences'\n | 'words'\n | 'characters'"
|
|
15436
|
+
},
|
|
15437
|
+
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
15438
|
+
"attribute": "autocapitalize"
|
|
15439
|
+
},
|
|
15440
|
+
{
|
|
15441
|
+
"kind": "field",
|
|
15442
|
+
"name": "autofocus",
|
|
15443
|
+
"type": {
|
|
15444
|
+
"text": "boolean"
|
|
15445
|
+
},
|
|
15446
|
+
"description": "Indicates that the input should receive focus on page load.",
|
|
15447
|
+
"attribute": "autofocus"
|
|
15448
|
+
},
|
|
15449
|
+
{
|
|
15450
|
+
"kind": "field",
|
|
15451
|
+
"name": "enterkeyhint",
|
|
15452
|
+
"type": {
|
|
15453
|
+
"text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
|
|
15454
|
+
},
|
|
15455
|
+
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
15456
|
+
"attribute": "enterkeyhint"
|
|
15457
|
+
},
|
|
15458
|
+
{
|
|
15459
|
+
"kind": "field",
|
|
15460
|
+
"name": "inputmode",
|
|
15461
|
+
"type": {
|
|
15462
|
+
"text": "| 'none'\n | 'text'\n | 'decimal'\n | 'numeric'\n | 'tel'\n | 'search'\n | 'email'\n | 'url'"
|
|
15463
|
+
},
|
|
15464
|
+
"description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
|
|
15465
|
+
"attribute": "inputmode"
|
|
15466
|
+
},
|
|
15467
|
+
{
|
|
15468
|
+
"kind": "field",
|
|
15469
|
+
"name": "validity",
|
|
15470
|
+
"description": "Gets the validity state object",
|
|
15471
|
+
"readonly": true
|
|
15472
|
+
},
|
|
15473
|
+
{
|
|
15474
|
+
"kind": "field",
|
|
15475
|
+
"name": "validationMessage",
|
|
15476
|
+
"description": "Gets the validation message",
|
|
15477
|
+
"readonly": true
|
|
15478
|
+
},
|
|
15479
|
+
{
|
|
15480
|
+
"kind": "method",
|
|
15481
|
+
"name": "handleBlur",
|
|
15482
|
+
"privacy": "private"
|
|
15483
|
+
},
|
|
15484
|
+
{
|
|
15485
|
+
"kind": "method",
|
|
15486
|
+
"name": "handleChange",
|
|
15487
|
+
"privacy": "private"
|
|
15488
|
+
},
|
|
15489
|
+
{
|
|
15490
|
+
"kind": "method",
|
|
15491
|
+
"name": "handleFocus",
|
|
15492
|
+
"privacy": "private"
|
|
15493
|
+
},
|
|
15494
|
+
{
|
|
15495
|
+
"kind": "method",
|
|
15496
|
+
"name": "handleInput",
|
|
15497
|
+
"privacy": "private",
|
|
15498
|
+
"parameters": [
|
|
15499
|
+
{
|
|
15500
|
+
"name": "event",
|
|
15501
|
+
"type": {
|
|
15502
|
+
"text": "InputEvent"
|
|
15503
|
+
}
|
|
15504
|
+
}
|
|
15505
|
+
]
|
|
15506
|
+
},
|
|
15507
|
+
{
|
|
15508
|
+
"kind": "method",
|
|
15509
|
+
"name": "handleSelect",
|
|
15510
|
+
"privacy": "private"
|
|
15511
|
+
},
|
|
15512
|
+
{
|
|
15513
|
+
"kind": "method",
|
|
15514
|
+
"name": "handleInvalid",
|
|
15515
|
+
"privacy": "private",
|
|
15516
|
+
"parameters": [
|
|
15517
|
+
{
|
|
15518
|
+
"name": "event",
|
|
15519
|
+
"type": {
|
|
15520
|
+
"text": "Event"
|
|
15521
|
+
}
|
|
15522
|
+
}
|
|
15523
|
+
]
|
|
15524
|
+
},
|
|
15525
|
+
{
|
|
15526
|
+
"kind": "method",
|
|
15527
|
+
"name": "handleKeyDown",
|
|
15528
|
+
"privacy": "private",
|
|
15529
|
+
"parameters": [
|
|
15530
|
+
{
|
|
15531
|
+
"name": "event",
|
|
15532
|
+
"type": {
|
|
15533
|
+
"text": "KeyboardEvent"
|
|
15534
|
+
}
|
|
15535
|
+
}
|
|
15536
|
+
]
|
|
15537
|
+
},
|
|
15538
|
+
{
|
|
15539
|
+
"kind": "method",
|
|
15540
|
+
"name": "handleSingleFieldClick",
|
|
15541
|
+
"privacy": "private",
|
|
15542
|
+
"parameters": [
|
|
15543
|
+
{
|
|
15544
|
+
"name": "event",
|
|
15545
|
+
"type": {
|
|
15546
|
+
"text": "MouseEvent"
|
|
15547
|
+
}
|
|
15548
|
+
}
|
|
15549
|
+
]
|
|
15550
|
+
},
|
|
15551
|
+
{
|
|
15552
|
+
"kind": "method",
|
|
15553
|
+
"name": "getLastIndex",
|
|
15554
|
+
"privacy": "private"
|
|
15555
|
+
},
|
|
15556
|
+
{
|
|
15557
|
+
"kind": "method",
|
|
15558
|
+
"name": "getDescriptionIds",
|
|
15559
|
+
"privacy": "private"
|
|
15560
|
+
},
|
|
15561
|
+
{
|
|
15562
|
+
"kind": "method",
|
|
15563
|
+
"name": "handleCurrentIndexChange"
|
|
15564
|
+
},
|
|
15565
|
+
{
|
|
15566
|
+
"kind": "method",
|
|
15567
|
+
"name": "handleDisabledChange"
|
|
15568
|
+
},
|
|
15569
|
+
{
|
|
15570
|
+
"kind": "method",
|
|
15571
|
+
"name": "handleValueChange"
|
|
15572
|
+
},
|
|
15573
|
+
{
|
|
15574
|
+
"kind": "method",
|
|
15575
|
+
"name": "handlePatterChange"
|
|
15576
|
+
},
|
|
15577
|
+
{
|
|
15578
|
+
"kind": "method",
|
|
15579
|
+
"name": "blur",
|
|
15580
|
+
"description": "Removes focus from the input."
|
|
15581
|
+
},
|
|
15582
|
+
{
|
|
15583
|
+
"kind": "method",
|
|
15584
|
+
"name": "checkValidity",
|
|
15585
|
+
"description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
15586
|
+
},
|
|
15587
|
+
{
|
|
15588
|
+
"kind": "method",
|
|
15589
|
+
"name": "focus",
|
|
15590
|
+
"parameters": [
|
|
15591
|
+
{
|
|
15592
|
+
"name": "options",
|
|
15593
|
+
"optional": true,
|
|
15594
|
+
"type": {
|
|
15595
|
+
"text": "FocusOptions"
|
|
15596
|
+
}
|
|
15597
|
+
}
|
|
15598
|
+
],
|
|
15599
|
+
"description": "Sets focus on the input."
|
|
15600
|
+
},
|
|
15601
|
+
{
|
|
15602
|
+
"kind": "method",
|
|
15603
|
+
"name": "getForm",
|
|
15604
|
+
"return": {
|
|
15605
|
+
"type": {
|
|
15606
|
+
"text": "HTMLFormElement | null"
|
|
15607
|
+
}
|
|
15608
|
+
},
|
|
15609
|
+
"description": "Gets the associated form, if one exists."
|
|
15610
|
+
},
|
|
15611
|
+
{
|
|
15612
|
+
"kind": "method",
|
|
15613
|
+
"name": "reportValidity",
|
|
15614
|
+
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
15615
|
+
},
|
|
15616
|
+
{
|
|
15617
|
+
"kind": "method",
|
|
15618
|
+
"name": "select",
|
|
15619
|
+
"description": "Selects all the text in the input."
|
|
15620
|
+
},
|
|
15621
|
+
{
|
|
15622
|
+
"kind": "method",
|
|
15623
|
+
"name": "setCustomValidity",
|
|
15624
|
+
"parameters": [
|
|
15625
|
+
{
|
|
15626
|
+
"name": "message",
|
|
15627
|
+
"type": {
|
|
15628
|
+
"text": "string"
|
|
15629
|
+
}
|
|
15630
|
+
}
|
|
15631
|
+
],
|
|
15632
|
+
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
15633
|
+
},
|
|
15634
|
+
{
|
|
15635
|
+
"kind": "method",
|
|
15636
|
+
"name": "getUpdateComplete",
|
|
15637
|
+
"return": {
|
|
15638
|
+
"type": {
|
|
15639
|
+
"text": "Promise<boolean>"
|
|
15640
|
+
}
|
|
15641
|
+
}
|
|
15642
|
+
},
|
|
15643
|
+
{
|
|
15644
|
+
"kind": "method",
|
|
15645
|
+
"name": "renderSingleField",
|
|
15646
|
+
"privacy": "private",
|
|
15647
|
+
"parameters": [
|
|
15648
|
+
{
|
|
15649
|
+
"name": "index",
|
|
15650
|
+
"type": {
|
|
15651
|
+
"text": "number"
|
|
15652
|
+
}
|
|
15653
|
+
}
|
|
15654
|
+
]
|
|
15655
|
+
},
|
|
15656
|
+
{
|
|
15657
|
+
"kind": "method",
|
|
15658
|
+
"name": "renderInput"
|
|
15659
|
+
}
|
|
15660
|
+
],
|
|
15661
|
+
"events": [
|
|
15662
|
+
{
|
|
15663
|
+
"description": "Emitted when the control loses focus.",
|
|
15664
|
+
"name": "dsa-blur"
|
|
15665
|
+
},
|
|
15666
|
+
{
|
|
15667
|
+
"description": "Emitted when an alteration to the control's value is committed by the user.",
|
|
15668
|
+
"name": "dsa-change"
|
|
15669
|
+
},
|
|
15670
|
+
{
|
|
15671
|
+
"description": "Emitted when the control gains focus.",
|
|
15672
|
+
"name": "dsa-focus"
|
|
15673
|
+
},
|
|
15674
|
+
{
|
|
15675
|
+
"description": "Emitted when the control receives input.",
|
|
15676
|
+
"name": "dsa-input"
|
|
15677
|
+
},
|
|
15678
|
+
{
|
|
15679
|
+
"description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied.",
|
|
15680
|
+
"name": "dsa-invalid"
|
|
15681
|
+
}
|
|
15682
|
+
],
|
|
15683
|
+
"attributes": [
|
|
15684
|
+
{
|
|
15685
|
+
"name": "value",
|
|
15686
|
+
"type": {
|
|
15687
|
+
"text": "string"
|
|
15688
|
+
},
|
|
15689
|
+
"default": "''",
|
|
15690
|
+
"description": "The current value of the input, submitted as a name/value pair with form data.",
|
|
15691
|
+
"fieldName": "value"
|
|
15692
|
+
},
|
|
15693
|
+
{
|
|
15694
|
+
"name": "pattern",
|
|
15695
|
+
"type": {
|
|
15696
|
+
"text": "string"
|
|
15697
|
+
},
|
|
15698
|
+
"description": "A regular expression pattern to validate input against.",
|
|
15699
|
+
"fieldName": "pattern"
|
|
15700
|
+
},
|
|
15701
|
+
{
|
|
15702
|
+
"name": "length",
|
|
15703
|
+
"type": {
|
|
15704
|
+
"text": "number"
|
|
15705
|
+
},
|
|
15706
|
+
"default": "6",
|
|
15707
|
+
"description": "The length of input that will be considered valid.",
|
|
15708
|
+
"fieldName": "length"
|
|
15709
|
+
},
|
|
15710
|
+
{
|
|
15711
|
+
"name": "autocapitalize",
|
|
15712
|
+
"type": {
|
|
15713
|
+
"text": "| 'off'\n | 'none'\n | 'on'\n | 'sentences'\n | 'words'\n | 'characters'"
|
|
15714
|
+
},
|
|
15715
|
+
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
15716
|
+
"fieldName": "autocapitalize"
|
|
15717
|
+
},
|
|
15718
|
+
{
|
|
15719
|
+
"name": "autofocus",
|
|
15720
|
+
"type": {
|
|
15721
|
+
"text": "boolean"
|
|
15722
|
+
},
|
|
15723
|
+
"description": "Indicates that the input should receive focus on page load.",
|
|
15724
|
+
"fieldName": "autofocus"
|
|
15725
|
+
},
|
|
15726
|
+
{
|
|
15727
|
+
"name": "enterkeyhint",
|
|
15728
|
+
"type": {
|
|
15729
|
+
"text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
|
|
15730
|
+
},
|
|
15731
|
+
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
15732
|
+
"fieldName": "enterkeyhint"
|
|
15733
|
+
},
|
|
15734
|
+
{
|
|
15735
|
+
"name": "inputmode",
|
|
15736
|
+
"type": {
|
|
15737
|
+
"text": "| 'none'\n | 'text'\n | 'decimal'\n | 'numeric'\n | 'tel'\n | 'search'\n | 'email'\n | 'url'"
|
|
15738
|
+
},
|
|
15739
|
+
"description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
|
|
15740
|
+
"fieldName": "inputmode"
|
|
15741
|
+
}
|
|
15742
|
+
],
|
|
15743
|
+
"superclass": {
|
|
15744
|
+
"name": "FormControlLayout",
|
|
15745
|
+
"module": "/src/internal/components/form-control/form-control-layout"
|
|
15746
|
+
},
|
|
15747
|
+
"summary": "The OTP input is used for MFA procedure of authenticating users by a one-time password.",
|
|
15748
|
+
"documentation": "undefined",
|
|
15749
|
+
"dependencies": [
|
|
15750
|
+
"dsa-error-text"
|
|
15751
|
+
],
|
|
15752
|
+
"tagName": "dsa-input-otp",
|
|
15753
|
+
"customElement": true
|
|
15754
|
+
}
|
|
15755
|
+
],
|
|
15756
|
+
"exports": [
|
|
15757
|
+
{
|
|
15758
|
+
"kind": "js",
|
|
15759
|
+
"name": "default",
|
|
15760
|
+
"declaration": {
|
|
15761
|
+
"name": "DSAInputOTP",
|
|
15762
|
+
"module": "components/input-otp/input-otp.js"
|
|
15763
|
+
}
|
|
15764
|
+
},
|
|
15765
|
+
{
|
|
15766
|
+
"kind": "custom-element-definition",
|
|
15767
|
+
"name": "dsa-input-otp",
|
|
15768
|
+
"declaration": {
|
|
15769
|
+
"name": "DSAInputOTP",
|
|
15770
|
+
"module": "components/input-otp/input-otp.js"
|
|
15771
|
+
}
|
|
15772
|
+
}
|
|
15773
|
+
]
|
|
15774
|
+
},
|
|
15775
|
+
{
|
|
15776
|
+
"kind": "javascript-module",
|
|
15777
|
+
"path": "components/input-otp/input-otp.utils.js",
|
|
15778
|
+
"declarations": [
|
|
15779
|
+
{
|
|
15780
|
+
"kind": "variable",
|
|
15781
|
+
"name": "REGEXP_ONLY_DIGITS",
|
|
15782
|
+
"type": {
|
|
15783
|
+
"text": "string"
|
|
15784
|
+
},
|
|
15785
|
+
"default": "'^\\\\d*$'"
|
|
15786
|
+
},
|
|
15787
|
+
{
|
|
15788
|
+
"kind": "variable",
|
|
15789
|
+
"name": "REGEXP_ONLY_LETTERS",
|
|
15790
|
+
"type": {
|
|
15791
|
+
"text": "string"
|
|
15792
|
+
},
|
|
15793
|
+
"default": "'^[a-zA-Z]*$'"
|
|
15794
|
+
},
|
|
15795
|
+
{
|
|
15796
|
+
"kind": "variable",
|
|
15797
|
+
"name": "REGEXP_ONLY_DIGITS_AND_LETTERS",
|
|
15798
|
+
"type": {
|
|
15799
|
+
"text": "string"
|
|
15800
|
+
},
|
|
15801
|
+
"default": "'^[a-zA-Z0-9]*$'"
|
|
15802
|
+
}
|
|
15803
|
+
],
|
|
15804
|
+
"exports": [
|
|
15805
|
+
{
|
|
15806
|
+
"kind": "js",
|
|
15807
|
+
"name": "REGEXP_ONLY_DIGITS",
|
|
15808
|
+
"declaration": {
|
|
15809
|
+
"name": "REGEXP_ONLY_DIGITS",
|
|
15810
|
+
"module": "components/input-otp/input-otp.utils.js"
|
|
15811
|
+
}
|
|
15812
|
+
},
|
|
15813
|
+
{
|
|
15814
|
+
"kind": "js",
|
|
15815
|
+
"name": "REGEXP_ONLY_LETTERS",
|
|
15816
|
+
"declaration": {
|
|
15817
|
+
"name": "REGEXP_ONLY_LETTERS",
|
|
15818
|
+
"module": "components/input-otp/input-otp.utils.js"
|
|
15819
|
+
}
|
|
15820
|
+
},
|
|
15821
|
+
{
|
|
15822
|
+
"kind": "js",
|
|
15823
|
+
"name": "REGEXP_ONLY_DIGITS_AND_LETTERS",
|
|
15824
|
+
"declaration": {
|
|
15825
|
+
"name": "REGEXP_ONLY_DIGITS_AND_LETTERS",
|
|
15826
|
+
"module": "components/input-otp/input-otp.utils.js"
|
|
15827
|
+
}
|
|
15828
|
+
}
|
|
15829
|
+
]
|
|
15830
|
+
},
|
|
15355
15831
|
{
|
|
15356
15832
|
"kind": "javascript-module",
|
|
15357
15833
|
"path": "components/input-phone/input-phone.configs.js",
|
|
@@ -19737,7 +20213,7 @@
|
|
|
19737
20213
|
"text": "string | string[]"
|
|
19738
20214
|
},
|
|
19739
20215
|
"default": "''",
|
|
19740
|
-
"description": "
|
|
20216
|
+
"description": "The error message or messages that are shown when “error” is set to “true”. To display several messages,\nthey must be separated by a pipe character, e.g. \"Error 1|Error 2|Error 3”",
|
|
19741
20217
|
"attribute": "error-message"
|
|
19742
20218
|
},
|
|
19743
20219
|
{
|
|
@@ -19998,7 +20474,7 @@
|
|
|
19998
20474
|
"text": "string | string[]"
|
|
19999
20475
|
},
|
|
20000
20476
|
"default": "''",
|
|
20001
|
-
"description": "
|
|
20477
|
+
"description": "The error message or messages that are shown when “error” is set to “true”. To display several messages,\nthey must be separated by a pipe character, e.g. \"Error 1|Error 2|Error 3”",
|
|
20002
20478
|
"fieldName": "errorMessage"
|
|
20003
20479
|
},
|
|
20004
20480
|
{
|
|
@@ -20820,7 +21296,7 @@
|
|
|
20820
21296
|
"text": "string | string[]"
|
|
20821
21297
|
},
|
|
20822
21298
|
"default": "''",
|
|
20823
|
-
"description": "The current value of the select,
|
|
21299
|
+
"description": "The current value of the select component, representing a list of the selected options (or single option if\n“multiple” is disabled). It can be used to define which options are selected by default. Selected options\nare designated by their value and separated by a space, and will\nbe submitted as name/value pairs with form data.",
|
|
20824
21300
|
"attribute": "value"
|
|
20825
21301
|
},
|
|
20826
21302
|
{
|
|
@@ -21292,7 +21768,7 @@
|
|
|
21292
21768
|
"text": "string | string[]"
|
|
21293
21769
|
},
|
|
21294
21770
|
"default": "''",
|
|
21295
|
-
"description": "The current value of the select,
|
|
21771
|
+
"description": "The current value of the select component, representing a list of the selected options (or single option if\n“multiple” is disabled). It can be used to define which options are selected by default. Selected options\nare designated by their value and separated by a space, and will\nbe submitted as name/value pairs with form data.",
|
|
21296
21772
|
"fieldName": "value"
|
|
21297
21773
|
},
|
|
21298
21774
|
{
|
|
@@ -27246,7 +27722,7 @@
|
|
|
27246
27722
|
],
|
|
27247
27723
|
"package": {
|
|
27248
27724
|
"name": "@ds-autonomie/web-components",
|
|
27249
|
-
"version": "2.
|
|
27725
|
+
"version": "2.2.0",
|
|
27250
27726
|
"author": "CNSA",
|
|
27251
27727
|
"homepage": "https://dsa.service-public-autonomie.fr",
|
|
27252
27728
|
"license": "MIT"
|