@riverty/web-components 6.2.0 → 6.3.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 +30 -0
- package/README.md +78 -0
- package/custom-elements.json +4 -0
- package/package.json +3 -2
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
- package/dist/cjs/focusable-Oll_rmtP.js +0 -28
- package/dist/cjs/formData-B2DZyLxP.js +0 -44
- package/dist/cjs/index-BnETQtSf.js +0 -1834
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/loader.cjs.js +0 -13
- package/dist/cjs/r-accordion-panel.cjs.entry.js +0 -24
- package/dist/cjs/r-accordion-section.cjs.entry.js +0 -125
- package/dist/cjs/r-accordion-trigger.cjs.entry.js +0 -93
- package/dist/cjs/r-accordion.cjs.entry.js +0 -20
- package/dist/cjs/r-alert.cjs.entry.js +0 -146
- package/dist/cjs/r-badge.cjs.entry.js +0 -40
- package/dist/cjs/r-button.cjs.entry.js +0 -149
- package/dist/cjs/r-checkbox-group.cjs.entry.js +0 -232
- package/dist/cjs/r-checkbox.cjs.entry.js +0 -269
- package/dist/cjs/r-design-system-devtools.cjs.entry.js +0 -31
- package/dist/cjs/r-dialog.cjs.entry.js +0 -107
- package/dist/cjs/r-hint_2.cjs.entry.js +0 -50
- package/dist/cjs/r-icon-button_2.cjs.entry.js +0 -467
- package/dist/cjs/r-icon.cjs.entry.js +0 -284
- package/dist/cjs/r-illustration.cjs.entry.js +0 -396
- package/dist/cjs/r-input-code.cjs.entry.js +0 -432
- package/dist/cjs/r-input-date.cjs.entry.js +0 -519
- package/dist/cjs/r-input-password.cjs.entry.js +0 -265
- package/dist/cjs/r-input-phone-number.cjs.entry.js +0 -2525
- package/dist/cjs/r-input.cjs.entry.js +0 -402
- package/dist/cjs/r-list-item.cjs.entry.js +0 -109
- package/dist/cjs/r-pagination.cjs.entry.js +0 -314
- package/dist/cjs/r-panel.cjs.entry.js +0 -184
- package/dist/cjs/r-popover-action.cjs.entry.js +0 -80
- package/dist/cjs/r-popover-content.cjs.entry.js +0 -62
- package/dist/cjs/r-popover-headline.cjs.entry.js +0 -28
- package/dist/cjs/r-popover-trigger.cjs.entry.js +0 -70
- package/dist/cjs/r-popover.cjs.entry.js +0 -347
- package/dist/cjs/r-progress-bar.cjs.entry.js +0 -25
- package/dist/cjs/r-radio-button-description.cjs.entry.js +0 -18
- package/dist/cjs/r-radio-button-leading.cjs.entry.js +0 -18
- package/dist/cjs/r-radio-button-title.cjs.entry.js +0 -18
- package/dist/cjs/r-radio-button-trailing.cjs.entry.js +0 -18
- package/dist/cjs/r-radio-button.cjs.entry.js +0 -139
- package/dist/cjs/r-radio-group.cjs.entry.js +0 -425
- package/dist/cjs/r-select-option.cjs.entry.js +0 -130
- package/dist/cjs/r-select.cjs.entry.js +0 -1101
- package/dist/cjs/r-skip-link.cjs.entry.js +0 -19
- package/dist/cjs/r-stepper-item.cjs.entry.js +0 -42
- package/dist/cjs/r-stepper.cjs.entry.js +0 -99
- package/dist/cjs/r-tab-panel.cjs.entry.js +0 -26
- package/dist/cjs/r-tab.cjs.entry.js +0 -62
- package/dist/cjs/r-tabs-list.cjs.entry.js +0 -175
- package/dist/cjs/r-tabs.cjs.entry.js +0 -277
- package/dist/cjs/r-textarea.cjs.entry.js +0 -270
- package/dist/cjs/r-toast-group.cjs.entry.js +0 -46
- package/dist/cjs/r-toast.cjs.entry.js +0 -306
- package/dist/cjs/style-observer-D9zSP9wP.js +0 -1118
- package/dist/cjs/theming-NqxjhVJS.js +0 -109
- package/dist/cjs/web-components.cjs.js +0 -25
- package/dist/collection/collection-manifest.json +0 -60
- package/dist/collection/components/accordion/accordion.css +0 -24
- package/dist/collection/components/accordion/accordion.js +0 -90
- package/dist/collection/components/accordion/exports.js +0 -1
- package/dist/collection/components/accordion-panel/accordion-panel.css +0 -50
- package/dist/collection/components/accordion-panel/accordion-panel.js +0 -86
- package/dist/collection/components/accordion-section/accordion-section.css +0 -27
- package/dist/collection/components/accordion-section/accordion-section.js +0 -235
- package/dist/collection/components/accordion-trigger/accordion-trigger.css +0 -93
- package/dist/collection/components/accordion-trigger/accordion-trigger.js +0 -220
- package/dist/collection/components/alert/alert.css +0 -119
- package/dist/collection/components/alert/alert.js +0 -526
- package/dist/collection/components/alert/exports.js +0 -2
- package/dist/collection/components/badge/badge.css +0 -52
- package/dist/collection/components/badge/badge.js +0 -120
- package/dist/collection/components/badge/exports.js +0 -1
- package/dist/collection/components/button/button.css +0 -180
- package/dist/collection/components/button/button.js +0 -510
- package/dist/collection/components/button/exports.js +0 -5
- package/dist/collection/components/checkbox/checkbox.css +0 -116
- package/dist/collection/components/checkbox/checkbox.js +0 -777
- package/dist/collection/components/checkbox-group/checkbox-group.css +0 -48
- package/dist/collection/components/checkbox-group/checkbox-group.js +0 -718
- package/dist/collection/components/design-system-devtools/design-system-devtools.js +0 -59
- package/dist/collection/components/dialog/dialog.css +0 -125
- package/dist/collection/components/dialog/dialog.js +0 -345
- package/dist/collection/components/dialog/exports.js +0 -9
- package/dist/collection/components/hint/exports.js +0 -1
- package/dist/collection/components/hint/hint.css +0 -63
- package/dist/collection/components/hint/hint.js +0 -114
- package/dist/collection/components/icon/all-kit.js +0 -2
- package/dist/collection/components/icon/data.js +0 -90
- package/dist/collection/components/icon/exports.js +0 -7
- package/dist/collection/components/icon/icon.css +0 -105
- package/dist/collection/components/icon/icon.js +0 -379
- package/dist/collection/components/icon/riverty-kit.js +0 -2
- package/dist/collection/components/icon-button/icon-button.css +0 -105
- package/dist/collection/components/icon-button/icon-button.js +0 -343
- package/dist/collection/components/illustration/data.js +0 -112
- package/dist/collection/components/illustration/exports.js +0 -3
- package/dist/collection/components/illustration/illustration.js +0 -540
- package/dist/collection/components/illustration/illustration.scss +0 -56
- package/dist/collection/components/illustration/illustrations-ui-kit.js +0 -2
- package/dist/collection/components/input/exports.js +0 -16
- package/dist/collection/components/input/input.css +0 -180
- package/dist/collection/components/input/input.js +0 -1572
- package/dist/collection/components/input-code/exports.js +0 -2
- package/dist/collection/components/input-code/input-code.css +0 -127
- package/dist/collection/components/input-code/input-code.js +0 -1139
- package/dist/collection/components/input-date/exports.js +0 -1
- package/dist/collection/components/input-date/input-date.css +0 -148
- package/dist/collection/components/input-date/input-date.js +0 -1228
- package/dist/collection/components/input-password/exports.js +0 -1
- package/dist/collection/components/input-password/input-password.css +0 -25
- package/dist/collection/components/input-password/input-password.js +0 -1051
- package/dist/collection/components/input-phone-number/input-phone-number.css +0 -61
- package/dist/collection/components/input-phone-number/input-phone-number.js +0 -874
- package/dist/collection/components/label/label.css +0 -38
- package/dist/collection/components/label/label.js +0 -47
- package/dist/collection/components/list-item/list-item/exports.js +0 -2
- package/dist/collection/components/list-item/list-item/list-item.css +0 -199
- package/dist/collection/components/list-item/list-item/list-item.js +0 -467
- package/dist/collection/components/pagination/exports.js +0 -3
- package/dist/collection/components/pagination/pagination.css +0 -118
- package/dist/collection/components/pagination/pagination.js +0 -799
- package/dist/collection/components/panel/exports.js +0 -1
- package/dist/collection/components/panel/panel.css +0 -192
- package/dist/collection/components/panel/panel.js +0 -473
- package/dist/collection/components/popover/exports.js +0 -3
- package/dist/collection/components/popover/popover.css +0 -251
- package/dist/collection/components/popover/popover.js +0 -741
- package/dist/collection/components/popover-action/popover-action.css +0 -21
- package/dist/collection/components/popover-action/popover-action.js +0 -150
- package/dist/collection/components/popover-content/popover-content.css +0 -9
- package/dist/collection/components/popover-content/popover-content.js +0 -130
- package/dist/collection/components/popover-headline/popover-headline.css +0 -7
- package/dist/collection/components/popover-headline/popover-headline.js +0 -28
- package/dist/collection/components/popover-trigger/exports.js +0 -1
- package/dist/collection/components/popover-trigger/popover-trigger.css +0 -4
- package/dist/collection/components/popover-trigger/popover-trigger.js +0 -163
- package/dist/collection/components/progress-bar/progress-bar.css +0 -41
- package/dist/collection/components/progress-bar/progress-bar.js +0 -71
- package/dist/collection/components/radio-button/radio-button.css +0 -126
- package/dist/collection/components/radio-button/radio-button.js +0 -559
- package/dist/collection/components/radio-button-description/radio-button-description.css +0 -5
- package/dist/collection/components/radio-button-description/radio-button-description.js +0 -22
- package/dist/collection/components/radio-button-leading/radio-button-leading.css +0 -3
- package/dist/collection/components/radio-button-leading/radio-button-leading.js +0 -22
- package/dist/collection/components/radio-button-title/radio-button-title.css +0 -8
- package/dist/collection/components/radio-button-title/radio-button-title.js +0 -22
- package/dist/collection/components/radio-button-trailing/radio-button-trailing.css +0 -6
- package/dist/collection/components/radio-button-trailing/radio-button-trailing.js +0 -22
- package/dist/collection/components/radio-group/exports.js +0 -1
- package/dist/collection/components/radio-group/radio-group.css +0 -65
- package/dist/collection/components/radio-group/radio-group.js +0 -1020
- package/dist/collection/components/select/exports.js +0 -1
- package/dist/collection/components/select/select.css +0 -247
- package/dist/collection/components/select/select.js +0 -2011
- package/dist/collection/components/select-option/select-option.css +0 -93
- package/dist/collection/components/select-option/select-option.js +0 -459
- package/dist/collection/components/skip-link/exports.js +0 -1
- package/dist/collection/components/skip-link/skip-link.css +0 -37
- package/dist/collection/components/skip-link/skip-link.js +0 -52
- package/dist/collection/components/stepper/stepper.css +0 -25
- package/dist/collection/components/stepper/stepper.js +0 -216
- package/dist/collection/components/stepper-item/stepper-item.css +0 -62
- package/dist/collection/components/stepper-item/stepper-item.js +0 -171
- package/dist/collection/components/tab/tab.css +0 -81
- package/dist/collection/components/tab/tab.js +0 -169
- package/dist/collection/components/tab-panel/tab-panel.css +0 -19
- package/dist/collection/components/tab-panel/tab-panel.js +0 -72
- package/dist/collection/components/tabs/tabs.css +0 -4
- package/dist/collection/components/tabs/tabs.js +0 -345
- package/dist/collection/components/tabs-list/exports.js +0 -2
- package/dist/collection/components/tabs-list/tabs-list.css +0 -58
- package/dist/collection/components/tabs-list/tabs-list.js +0 -294
- package/dist/collection/components/textarea/exports.js +0 -8
- package/dist/collection/components/textarea/textarea.css +0 -148
- package/dist/collection/components/textarea/textarea.js +0 -1055
- package/dist/collection/components/toast/exports.js +0 -3
- package/dist/collection/components/toast/toast.css +0 -179
- package/dist/collection/components/toast/toast.js +0 -812
- package/dist/collection/components/toast-group/exports.js +0 -1
- package/dist/collection/components/toast-group/toast-group.css +0 -37
- package/dist/collection/components/toast-group/toast-group.js +0 -49
- package/dist/collection/components/tooltip/exports.js +0 -3
- package/dist/collection/components/tooltip/tooltip.css +0 -106
- package/dist/collection/components/tooltip/tooltip.js +0 -500
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/focusable.js +0 -24
- package/dist/collection/utils/formData.js +0 -40
- package/dist/collection/utils/theming.js +0 -103
- package/dist/esm/app-globals-DQuL1Twl.js +0 -3
- package/dist/esm/focusable-ky1yonnS.js +0 -26
- package/dist/esm/formData-DvLT8-y3.js +0 -42
- package/dist/esm/index-CTxpqopm.js +0 -1806
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +0 -11
- package/dist/esm/r-accordion-panel.entry.js +0 -22
- package/dist/esm/r-accordion-section.entry.js +0 -123
- package/dist/esm/r-accordion-trigger.entry.js +0 -91
- package/dist/esm/r-accordion.entry.js +0 -18
- package/dist/esm/r-alert.entry.js +0 -144
- package/dist/esm/r-badge.entry.js +0 -38
- package/dist/esm/r-button.entry.js +0 -147
- package/dist/esm/r-checkbox-group.entry.js +0 -230
- package/dist/esm/r-checkbox.entry.js +0 -267
- package/dist/esm/r-design-system-devtools.entry.js +0 -29
- package/dist/esm/r-dialog.entry.js +0 -105
- package/dist/esm/r-hint_2.entry.js +0 -47
- package/dist/esm/r-icon-button_2.entry.js +0 -464
- package/dist/esm/r-icon.entry.js +0 -282
- package/dist/esm/r-illustration.entry.js +0 -394
- package/dist/esm/r-input-code.entry.js +0 -430
- package/dist/esm/r-input-date.entry.js +0 -517
- package/dist/esm/r-input-password.entry.js +0 -263
- package/dist/esm/r-input-phone-number.entry.js +0 -2523
- package/dist/esm/r-input.entry.js +0 -400
- package/dist/esm/r-list-item.entry.js +0 -107
- package/dist/esm/r-pagination.entry.js +0 -312
- package/dist/esm/r-panel.entry.js +0 -182
- package/dist/esm/r-popover-action.entry.js +0 -78
- package/dist/esm/r-popover-content.entry.js +0 -60
- package/dist/esm/r-popover-headline.entry.js +0 -26
- package/dist/esm/r-popover-trigger.entry.js +0 -68
- package/dist/esm/r-popover.entry.js +0 -345
- package/dist/esm/r-progress-bar.entry.js +0 -23
- package/dist/esm/r-radio-button-description.entry.js +0 -16
- package/dist/esm/r-radio-button-leading.entry.js +0 -16
- package/dist/esm/r-radio-button-title.entry.js +0 -16
- package/dist/esm/r-radio-button-trailing.entry.js +0 -16
- package/dist/esm/r-radio-button.entry.js +0 -137
- package/dist/esm/r-radio-group.entry.js +0 -423
- package/dist/esm/r-select-option.entry.js +0 -128
- package/dist/esm/r-select.entry.js +0 -1099
- package/dist/esm/r-skip-link.entry.js +0 -17
- package/dist/esm/r-stepper-item.entry.js +0 -40
- package/dist/esm/r-stepper.entry.js +0 -97
- package/dist/esm/r-tab-panel.entry.js +0 -24
- package/dist/esm/r-tab.entry.js +0 -60
- package/dist/esm/r-tabs-list.entry.js +0 -173
- package/dist/esm/r-tabs.entry.js +0 -275
- package/dist/esm/r-textarea.entry.js +0 -268
- package/dist/esm/r-toast-group.entry.js +0 -44
- package/dist/esm/r-toast.entry.js +0 -304
- package/dist/esm/style-observer-4Uv3PpKT.js +0 -1116
- package/dist/esm/theming-DD2IrjpG.js +0 -106
- package/dist/esm/web-components.js +0 -21
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/types/components/accordion/accordion.d.ts +0 -27
- package/dist/types/components/accordion/exports.d.ts +0 -2
- package/dist/types/components/accordion-panel/accordion-panel.d.ts +0 -10
- package/dist/types/components/accordion-section/accordion-section.d.ts +0 -36
- package/dist/types/components/accordion-trigger/accordion-trigger.d.ts +0 -33
- package/dist/types/components/alert/alert.d.ts +0 -67
- package/dist/types/components/alert/exports.d.ts +0 -4
- package/dist/types/components/badge/badge.d.ts +0 -23
- package/dist/types/components/badge/exports.d.ts +0 -2
- package/dist/types/components/button/button.d.ts +0 -89
- package/dist/types/components/button/exports.d.ts +0 -10
- package/dist/types/components/checkbox/checkbox.d.ts +0 -136
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -122
- package/dist/types/components/design-system-devtools/design-system-devtools.d.ts +0 -15
- package/dist/types/components/dialog/dialog.d.ts +0 -69
- package/dist/types/components/dialog/exports.d.ts +0 -10
- package/dist/types/components/hint/exports.d.ts +0 -2
- package/dist/types/components/hint/hint.d.ts +0 -20
- package/dist/types/components/icon/all-kit.d.ts +0 -2890
- package/dist/types/components/icon/data.d.ts +0 -145
- package/dist/types/components/icon/exports.d.ts +0 -152
- package/dist/types/components/icon/icon.d.ts +0 -37
- package/dist/types/components/icon/riverty-kit.d.ts +0 -139
- package/dist/types/components/icon-button/icon-button.d.ts +0 -69
- package/dist/types/components/illustration/data.d.ts +0 -52
- package/dist/types/components/illustration/exports.d.ts +0 -23
- package/dist/types/components/illustration/illustration.d.ts +0 -51
- package/dist/types/components/illustration/illustrations-ui-kit.d.ts +0 -21
- package/dist/types/components/input/exports.d.ts +0 -10
- package/dist/types/components/input/input.d.ts +0 -300
- package/dist/types/components/input-code/exports.d.ts +0 -4
- package/dist/types/components/input-code/input-code.d.ts +0 -175
- package/dist/types/components/input-date/exports.d.ts +0 -5
- package/dist/types/components/input-date/input-date.d.ts +0 -172
- package/dist/types/components/input-password/exports.d.ts +0 -1
- package/dist/types/components/input-password/input-password.d.ts +0 -184
- package/dist/types/components/input-phone-number/input-phone-number.d.ts +0 -128
- package/dist/types/components/label/label.d.ts +0 -9
- package/dist/types/components/list-item/list-item/exports.d.ts +0 -4
- package/dist/types/components/list-item/list-item/list-item.d.ts +0 -61
- package/dist/types/components/pagination/exports.d.ts +0 -6
- package/dist/types/components/pagination/pagination.d.ts +0 -140
- package/dist/types/components/panel/exports.d.ts +0 -2
- package/dist/types/components/panel/panel.d.ts +0 -56
- package/dist/types/components/popover/exports.d.ts +0 -6
- package/dist/types/components/popover/popover.d.ts +0 -131
- package/dist/types/components/popover-action/popover-action.d.ts +0 -24
- package/dist/types/components/popover-content/popover-content.d.ts +0 -22
- package/dist/types/components/popover-headline/popover-headline.d.ts +0 -6
- package/dist/types/components/popover-trigger/exports.d.ts +0 -2
- package/dist/types/components/popover-trigger/popover-trigger.d.ts +0 -31
- package/dist/types/components/progress-bar/progress-bar.d.ts +0 -10
- package/dist/types/components/radio-button/radio-button.d.ts +0 -92
- package/dist/types/components/radio-button-description/radio-button-description.d.ts +0 -8
- package/dist/types/components/radio-button-leading/radio-button-leading.d.ts +0 -8
- package/dist/types/components/radio-button-title/radio-button-title.d.ts +0 -8
- package/dist/types/components/radio-button-trailing/radio-button-trailing.d.ts +0 -8
- package/dist/types/components/radio-group/exports.d.ts +0 -2
- package/dist/types/components/radio-group/radio-group.d.ts +0 -178
- package/dist/types/components/select/exports.d.ts +0 -2
- package/dist/types/components/select/select.d.ts +0 -317
- package/dist/types/components/select-option/select-option.d.ts +0 -113
- package/dist/types/components/skip-link/exports.d.ts +0 -2
- package/dist/types/components/skip-link/skip-link.d.ts +0 -6
- package/dist/types/components/stepper/stepper.d.ts +0 -22
- package/dist/types/components/stepper-item/stepper-item.d.ts +0 -23
- package/dist/types/components/tab/tab.d.ts +0 -23
- package/dist/types/components/tab-panel/tab-panel.d.ts +0 -7
- package/dist/types/components/tabs/tabs.d.ts +0 -49
- package/dist/types/components/tabs-list/exports.d.ts +0 -4
- package/dist/types/components/tabs-list/tabs-list.d.ts +0 -41
- package/dist/types/components/textarea/exports.d.ts +0 -2
- package/dist/types/components/textarea/textarea.d.ts +0 -158
- package/dist/types/components/toast/exports.d.ts +0 -6
- package/dist/types/components/toast/toast.d.ts +0 -146
- package/dist/types/components/toast-group/exports.d.ts +0 -2
- package/dist/types/components/toast-group/toast-group.d.ts +0 -9
- package/dist/types/components/tooltip/exports.d.ts +0 -6
- package/dist/types/components/tooltip/tooltip.d.ts +0 -131
- package/dist/types/components.d.ts +0 -6286
- package/dist/types/index.d.ts +0 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -1732
- package/dist/types/types/jsx-shim.d.ts +0 -13
- package/dist/types/types/style-observer.d.ts +0 -20
- package/dist/types/utils/focusable.d.ts +0 -1
- package/dist/types/utils/formData.d.ts +0 -1
- package/dist/types/utils/theming.d.ts +0 -15
- package/dist/web-components/index.esm.js +0 -0
- package/dist/web-components/p-02b22f8e.entry.js +0 -1
- package/dist/web-components/p-075a8dc8.entry.js +0 -1
- package/dist/web-components/p-0a34d33b.entry.js +0 -1
- package/dist/web-components/p-10cc9983.entry.js +0 -1
- package/dist/web-components/p-253068b9.entry.js +0 -1
- package/dist/web-components/p-3b8c8951.entry.js +0 -1
- package/dist/web-components/p-3beacdab.entry.js +0 -1
- package/dist/web-components/p-4214867d.entry.js +0 -1
- package/dist/web-components/p-42c857e9.entry.js +0 -1
- package/dist/web-components/p-44f87e16.entry.js +0 -1
- package/dist/web-components/p-477614c5.entry.js +0 -1
- package/dist/web-components/p-495ba3d2.entry.js +0 -1
- package/dist/web-components/p-4Uv3PpKT.js +0 -1
- package/dist/web-components/p-4de76291.entry.js +0 -1
- package/dist/web-components/p-55600d47.entry.js +0 -1
- package/dist/web-components/p-562051aa.entry.js +0 -1
- package/dist/web-components/p-5b850e0f.entry.js +0 -1
- package/dist/web-components/p-6013dfc8.entry.js +0 -1
- package/dist/web-components/p-62e7ae04.entry.js +0 -1
- package/dist/web-components/p-71519d37.entry.js +0 -1
- package/dist/web-components/p-88f7b47f.entry.js +0 -1
- package/dist/web-components/p-8975a6a3.entry.js +0 -1
- package/dist/web-components/p-8e125826.entry.js +0 -1
- package/dist/web-components/p-91cc0bde.entry.js +0 -1
- package/dist/web-components/p-93435fcd.entry.js +0 -1
- package/dist/web-components/p-947969d7.entry.js +0 -1
- package/dist/web-components/p-95396b5c.entry.js +0 -1
- package/dist/web-components/p-9de3a1a5.entry.js +0 -1
- package/dist/web-components/p-9f583ed1.entry.js +0 -1
- package/dist/web-components/p-B9rsR6cQ.js +0 -1
- package/dist/web-components/p-CTxpqopm.js +0 -2
- package/dist/web-components/p-DQuL1Twl.js +0 -1
- package/dist/web-components/p-DvLT8-y3.js +0 -1
- package/dist/web-components/p-a1086abe.entry.js +0 -1
- package/dist/web-components/p-bbba6d79.entry.js +0 -1
- package/dist/web-components/p-bde44ec4.entry.js +0 -1
- package/dist/web-components/p-bfc7e6c0.entry.js +0 -1
- package/dist/web-components/p-c1030394.entry.js +0 -1
- package/dist/web-components/p-c1f59ed1.entry.js +0 -1
- package/dist/web-components/p-c80a5541.entry.js +0 -1
- package/dist/web-components/p-c96ee61a.entry.js +0 -1
- package/dist/web-components/p-caf8f067.entry.js +0 -1
- package/dist/web-components/p-cc363c3d.entry.js +0 -1
- package/dist/web-components/p-cf4ff357.entry.js +0 -1
- package/dist/web-components/p-d0310ed4.entry.js +0 -1
- package/dist/web-components/p-d1412932.entry.js +0 -1
- package/dist/web-components/p-d2447e30.entry.js +0 -1
- package/dist/web-components/p-dc9cca06.entry.js +0 -1
- package/dist/web-components/p-e5b943a2.entry.js +0 -1
- package/dist/web-components/p-e67b13df.entry.js +0 -1
- package/dist/web-components/p-efec231a.entry.js +0 -1
- package/dist/web-components/p-f867e4c3.entry.js +0 -1
- package/dist/web-components/p-ky1yonnS.js +0 -1
- package/dist/web-components/web-components.esm.js +0 -1
- package/loader/cdn.js +0 -1
- package/loader/index.cjs.js +0 -1
- package/loader/index.d.ts +0 -24
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +0 -2
|
@@ -1,1051 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { appendControlToFormData } from "../../utils/formData";
|
|
3
|
-
export class InputPassword {
|
|
4
|
-
constructor() {
|
|
5
|
-
/** The value of the password input */
|
|
6
|
-
this.value = '';
|
|
7
|
-
/**
|
|
8
|
-
* Defines label for characters show button.
|
|
9
|
-
* */
|
|
10
|
-
this.showPasswordAriaLabel = 'Show password.';
|
|
11
|
-
/**
|
|
12
|
-
* Defines label for characters hide button.
|
|
13
|
-
* */
|
|
14
|
-
this.hidePasswordAriaLabel = 'Hide password.';
|
|
15
|
-
/** Custom message when the password is shown to alert screen reader users. */
|
|
16
|
-
this.shownPasswordMessage = "Your password is shown.";
|
|
17
|
-
/** Custom message when the password is hidden to alert screen reader users. */
|
|
18
|
-
this.hiddenPasswordMessage = "Your password is hidden.";
|
|
19
|
-
this.showed = false;
|
|
20
|
-
/** Validity state passed from validateFormElement function after validation */
|
|
21
|
-
this.validityState = '';
|
|
22
|
-
/** Validity message passed from validateFormElement function after validation */
|
|
23
|
-
this.validityMessage = '';
|
|
24
|
-
/**
|
|
25
|
-
* Initial attributes state
|
|
26
|
-
* */
|
|
27
|
-
this.initial = {};
|
|
28
|
-
this.onShowClick = (event) => {
|
|
29
|
-
event.stopPropagation();
|
|
30
|
-
this.toggleShow();
|
|
31
|
-
};
|
|
32
|
-
this.alertOnPasswordVisibilityChange = () => {
|
|
33
|
-
this.passwordVisibilityChangeAlertContainer.innerText = this.showed ? this.shownPasswordMessage : this.hiddenPasswordMessage;
|
|
34
|
-
this.passwordVisibilityTimer = setTimeout(() => {
|
|
35
|
-
this.passwordVisibilityChangeAlertContainer.innerText = '';
|
|
36
|
-
clearTimeout(this.passwordVisibilityTimer);
|
|
37
|
-
}, 2000);
|
|
38
|
-
};
|
|
39
|
-
this.onInput = (event) => {
|
|
40
|
-
if (this.readonly)
|
|
41
|
-
return;
|
|
42
|
-
this.value = event.detail.value;
|
|
43
|
-
const { host, value } = this;
|
|
44
|
-
this.rInput.emit({ element: host, value });
|
|
45
|
-
};
|
|
46
|
-
this.onChange = (event) => {
|
|
47
|
-
if (this.readonly)
|
|
48
|
-
return;
|
|
49
|
-
this.value = event.detail.value;
|
|
50
|
-
const { host, value } = this;
|
|
51
|
-
this.rChange.emit({ element: host, value });
|
|
52
|
-
};
|
|
53
|
-
this.getValidityStateData = (element) => {
|
|
54
|
-
let validityState = '';
|
|
55
|
-
let validityMessage = '';
|
|
56
|
-
for (const state in element.validity) {
|
|
57
|
-
if (element.validity[state]) {
|
|
58
|
-
validityState = state;
|
|
59
|
-
if (this[state + 'Message']) {
|
|
60
|
-
validityMessage = this[state + 'Message'];
|
|
61
|
-
return { validityState, validityMessage };
|
|
62
|
-
}
|
|
63
|
-
validityMessage = element.validationMessage;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
return { validityState, validityMessage };
|
|
67
|
-
};
|
|
68
|
-
this.validateFormElement = (element) => {
|
|
69
|
-
if (element === null)
|
|
70
|
-
return;
|
|
71
|
-
if (this.isNoValidate)
|
|
72
|
-
return;
|
|
73
|
-
if (this.error)
|
|
74
|
-
return;
|
|
75
|
-
const { validityState, validityMessage } = this.getValidityStateData(element.shadowRoot.querySelector('input'));
|
|
76
|
-
this.validityState = validityState;
|
|
77
|
-
this.validityMessage = validityMessage;
|
|
78
|
-
const isValid = this.validityState === 'valid';
|
|
79
|
-
this.valid = isValid;
|
|
80
|
-
this.invalid = !isValid;
|
|
81
|
-
this.rValidate.emit({
|
|
82
|
-
state: this.validityState,
|
|
83
|
-
message: this.validityMessage
|
|
84
|
-
});
|
|
85
|
-
};
|
|
86
|
-
this.contributeToFormData = (event) => {
|
|
87
|
-
appendControlToFormData(this.nativeElement || this.host, event.formData);
|
|
88
|
-
};
|
|
89
|
-
this.onResetForm = () => {
|
|
90
|
-
if (this.readonly)
|
|
91
|
-
return;
|
|
92
|
-
this.validityState = null;
|
|
93
|
-
this.validityMessage = null;
|
|
94
|
-
this.value = this.initial['value'];
|
|
95
|
-
this.invalid = this.initial['invalid'];
|
|
96
|
-
this.valid = !this.invalid;
|
|
97
|
-
const { host, value } = this;
|
|
98
|
-
this.rReset.emit({ element: host, value });
|
|
99
|
-
};
|
|
100
|
-
this.onSubmitForm = async (event) => {
|
|
101
|
-
if (this.isNoValidate)
|
|
102
|
-
return;
|
|
103
|
-
this.validateFormElement(this.nativeElement);
|
|
104
|
-
if (this.invalid) {
|
|
105
|
-
event.preventDefault();
|
|
106
|
-
event.stopPropagation();
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
this.handleKeyup = async (event) => {
|
|
110
|
-
var _a, _b;
|
|
111
|
-
if (this.readonly)
|
|
112
|
-
return;
|
|
113
|
-
if (event.code !== 'Enter')
|
|
114
|
-
return;
|
|
115
|
-
this.validateFormElement(this.nativeElement);
|
|
116
|
-
if (this.invalid && !this.isNoValidate)
|
|
117
|
-
return;
|
|
118
|
-
const submitEl = this.host.querySelector('[type="submit"]') ||
|
|
119
|
-
((_a = this.parentFormEl) === null || _a === void 0 ? void 0 : _a.querySelector('[type="submit"]'));
|
|
120
|
-
if (submitEl && 'triggerClick' in submitEl) {
|
|
121
|
-
submitEl === null || submitEl === void 0 ? void 0 : submitEl.triggerClick();
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
(_b = this.parentFormEl) === null || _b === void 0 ? void 0 : _b.requestSubmit();
|
|
125
|
-
}
|
|
126
|
-
};
|
|
127
|
-
this.handleBlur = () => {
|
|
128
|
-
if (this.readonly)
|
|
129
|
-
return;
|
|
130
|
-
this.validateFormElement(this.nativeElement);
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* Toggle password text visibility.
|
|
135
|
-
* */
|
|
136
|
-
async toggleShow() {
|
|
137
|
-
this.showed ? await this.hidePassword() : await this.showPassword();
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* Show password text.
|
|
141
|
-
* */
|
|
142
|
-
async showPassword() {
|
|
143
|
-
this.showed = true;
|
|
144
|
-
this.alertOnPasswordVisibilityChange();
|
|
145
|
-
this.rVisibilityChange.emit({ element: this.host, visible: true });
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* Hide password text.
|
|
149
|
-
* */
|
|
150
|
-
async hidePassword() {
|
|
151
|
-
this.showed = false;
|
|
152
|
-
this.alertOnPasswordVisibilityChange();
|
|
153
|
-
this.rVisibilityChange.emit({ element: this.host, visible: false });
|
|
154
|
-
}
|
|
155
|
-
/** Get the input value */
|
|
156
|
-
async getValue() {
|
|
157
|
-
return this.value || '';
|
|
158
|
-
}
|
|
159
|
-
/** Set the input value */
|
|
160
|
-
async setValue(value) {
|
|
161
|
-
if (this.readonly)
|
|
162
|
-
return;
|
|
163
|
-
this.value = value;
|
|
164
|
-
this.validateFormElement(this.nativeElement);
|
|
165
|
-
}
|
|
166
|
-
/**
|
|
167
|
-
* Validates the input password without triggering UI and returns a boolean indicating its validity.
|
|
168
|
-
* @returns A boolean indicating whether the input password is valid.
|
|
169
|
-
*/
|
|
170
|
-
async checkValidity() {
|
|
171
|
-
const { validityState } = this.getValidityStateData(this.nativeElement.shadowRoot.querySelector('input'));
|
|
172
|
-
return validityState === 'valid';
|
|
173
|
-
}
|
|
174
|
-
/** Identify wrapping form element */
|
|
175
|
-
get parentFormEl() {
|
|
176
|
-
return this.host.closest('form') || document.querySelector(`#${this.form}`) || null;
|
|
177
|
-
}
|
|
178
|
-
/**
|
|
179
|
-
* Determine whether this element should be ignored
|
|
180
|
-
* during Constraint Validation API validation.
|
|
181
|
-
* */
|
|
182
|
-
get isNoValidate() {
|
|
183
|
-
var _a;
|
|
184
|
-
return (((_a = this.parentFormEl) === null || _a === void 0 ? void 0 : _a.hasAttribute('novalidate')) ||
|
|
185
|
-
this.novalidate ||
|
|
186
|
-
false);
|
|
187
|
-
}
|
|
188
|
-
get hasError() {
|
|
189
|
-
var _a;
|
|
190
|
-
return this.invalid && !!((_a = this.error) === null || _a === void 0 ? void 0 : _a.length);
|
|
191
|
-
}
|
|
192
|
-
get hasValidationError() {
|
|
193
|
-
var _a, _b;
|
|
194
|
-
return this.validityState !== 'valid' && (!!((_a = this.customErrorMessage) === null || _a === void 0 ? void 0 : _a.length) || !!((_b = this.validityMessage) === null || _b === void 0 ? void 0 : _b.length));
|
|
195
|
-
}
|
|
196
|
-
get hasMessage() {
|
|
197
|
-
return this.hasError || this.hasValidationError;
|
|
198
|
-
}
|
|
199
|
-
componentWillLoad() {
|
|
200
|
-
this.initial['value'] = this.value;
|
|
201
|
-
this.initial['invalid'] = this.invalid;
|
|
202
|
-
}
|
|
203
|
-
connectFormEventListeners() {
|
|
204
|
-
var _a, _b, _c;
|
|
205
|
-
(_a = this.parentFormEl) === null || _a === void 0 ? void 0 : _a.addEventListener('formdata', this.contributeToFormData);
|
|
206
|
-
(_b = this.parentFormEl) === null || _b === void 0 ? void 0 : _b.addEventListener('submit', this.onSubmitForm, { capture: true });
|
|
207
|
-
(_c = this.parentFormEl) === null || _c === void 0 ? void 0 : _c.addEventListener('reset', this.onResetForm);
|
|
208
|
-
}
|
|
209
|
-
disconnectFormEventListeners() {
|
|
210
|
-
var _a, _b, _c;
|
|
211
|
-
(_a = this.parentFormEl) === null || _a === void 0 ? void 0 : _a.removeEventListener('formdata', this.contributeToFormData);
|
|
212
|
-
(_b = this.parentFormEl) === null || _b === void 0 ? void 0 : _b.removeEventListener('submit', this.onSubmitForm);
|
|
213
|
-
(_c = this.parentFormEl) === null || _c === void 0 ? void 0 : _c.removeEventListener('reset', this.onResetForm);
|
|
214
|
-
}
|
|
215
|
-
connectedCallback() {
|
|
216
|
-
this.connectFormEventListeners();
|
|
217
|
-
}
|
|
218
|
-
disconnectedCallback() {
|
|
219
|
-
this.disconnectFormEventListeners();
|
|
220
|
-
}
|
|
221
|
-
render() {
|
|
222
|
-
const { name, placeholder, required, minlength, maxlength, pattern, fieldIndicator, value, disabled, form, invalid, valid, hint, label, fullWidth, showPasswordAriaLabel, hidePasswordAriaLabel, showed, readonly, passwordrules, autocomplete, tooLongMessage, tooShortMessage, patternMismatchMessage } = this;
|
|
223
|
-
const inputAttrs = {
|
|
224
|
-
name,
|
|
225
|
-
placeholder,
|
|
226
|
-
required,
|
|
227
|
-
minlength,
|
|
228
|
-
maxlength,
|
|
229
|
-
pattern,
|
|
230
|
-
fieldIndicator,
|
|
231
|
-
value,
|
|
232
|
-
disabled,
|
|
233
|
-
form,
|
|
234
|
-
invalid,
|
|
235
|
-
valid,
|
|
236
|
-
hint,
|
|
237
|
-
label,
|
|
238
|
-
fullWidth,
|
|
239
|
-
novalidate: true,
|
|
240
|
-
readonly,
|
|
241
|
-
passwordrules,
|
|
242
|
-
autocomplete,
|
|
243
|
-
tooLongMessage,
|
|
244
|
-
tooShortMessage,
|
|
245
|
-
patternMismatchMessage
|
|
246
|
-
};
|
|
247
|
-
return (h(Host, { key: 'c4f877854375e558677df5f33682e37e048382be' }, h("r-input", Object.assign({ key: '97941b514a5f4f48b7c043ea0641cc5f26ab2ced' }, inputAttrs, { ref: (el) => this.nativeElement = el, type: showed ? 'text' : 'password', onRInput: this.onInput, onRChange: this.onChange, onKeyUp: this.handleKeyup, onRBlur: this.handleBlur }), h("r-icon", { key: '6c59c76305a41bcd4c0bfc109f7e207a871118e5', name: "padlock-closed", size: "s", slot: "leading" }), h("slot", { key: '921c7c3309a362a0e1d273e382bc43fe9a627257', name: "popover", slot: "popover" }), h("r-icon-button", { key: 'cd258b86fec5b52818fe711b078514feee825866', slot: "trailing", name: showed ? 'eye-crossed-out' : 'eye', size: "s", disabled: disabled, label: showed ? hidePasswordAriaLabel : showPasswordAriaLabel, onClick: this.onShowClick }), this.hasMessage &&
|
|
248
|
-
h("r-hint", { key: '667984f03375ec43be01732309020c45c81d9306', slot: "message", variant: "error" }, this.hasError && this.error, this.hasValidationError && (this.customErrorMessage || this.validityMessage))), h("div", { key: '6d950d7eb59905342e328047f45f9b5ae3f6f8cb', class: "visually-hidden", ref: el => this.passwordVisibilityChangeAlertContainer = el, "aria-live": "polite" })));
|
|
249
|
-
}
|
|
250
|
-
static get is() { return "r-input-password"; }
|
|
251
|
-
static get encapsulation() { return "shadow"; }
|
|
252
|
-
static get originalStyleUrls() {
|
|
253
|
-
return {
|
|
254
|
-
"$": ["input-password.css"]
|
|
255
|
-
};
|
|
256
|
-
}
|
|
257
|
-
static get styleUrls() {
|
|
258
|
-
return {
|
|
259
|
-
"$": ["input-password.css"]
|
|
260
|
-
};
|
|
261
|
-
}
|
|
262
|
-
static get properties() {
|
|
263
|
-
return {
|
|
264
|
-
"form": {
|
|
265
|
-
"type": "string",
|
|
266
|
-
"attribute": "form",
|
|
267
|
-
"mutable": false,
|
|
268
|
-
"complexType": {
|
|
269
|
-
"original": "string",
|
|
270
|
-
"resolved": "string",
|
|
271
|
-
"references": {}
|
|
272
|
-
},
|
|
273
|
-
"required": false,
|
|
274
|
-
"optional": true,
|
|
275
|
-
"docs": {
|
|
276
|
-
"tags": [],
|
|
277
|
-
"text": "Specifies the `id` of the `<form>` to which the element belongs"
|
|
278
|
-
},
|
|
279
|
-
"getter": false,
|
|
280
|
-
"setter": false,
|
|
281
|
-
"reflect": false
|
|
282
|
-
},
|
|
283
|
-
"novalidate": {
|
|
284
|
-
"type": "boolean",
|
|
285
|
-
"attribute": "novalidate",
|
|
286
|
-
"mutable": false,
|
|
287
|
-
"complexType": {
|
|
288
|
-
"original": "boolean",
|
|
289
|
-
"resolved": "boolean",
|
|
290
|
-
"references": {}
|
|
291
|
-
},
|
|
292
|
-
"required": false,
|
|
293
|
-
"optional": true,
|
|
294
|
-
"docs": {
|
|
295
|
-
"tags": [],
|
|
296
|
-
"text": "Specifies if element must be ignored during validation of the form elements"
|
|
297
|
-
},
|
|
298
|
-
"getter": false,
|
|
299
|
-
"setter": false,
|
|
300
|
-
"reflect": false
|
|
301
|
-
},
|
|
302
|
-
"name": {
|
|
303
|
-
"type": "string",
|
|
304
|
-
"attribute": "name",
|
|
305
|
-
"mutable": false,
|
|
306
|
-
"complexType": {
|
|
307
|
-
"original": "string",
|
|
308
|
-
"resolved": "string",
|
|
309
|
-
"references": {}
|
|
310
|
-
},
|
|
311
|
-
"required": false,
|
|
312
|
-
"optional": false,
|
|
313
|
-
"docs": {
|
|
314
|
-
"tags": [],
|
|
315
|
-
"text": "Specifies a name for a input"
|
|
316
|
-
},
|
|
317
|
-
"getter": false,
|
|
318
|
-
"setter": false,
|
|
319
|
-
"reflect": true
|
|
320
|
-
},
|
|
321
|
-
"value": {
|
|
322
|
-
"type": "string",
|
|
323
|
-
"attribute": "value",
|
|
324
|
-
"mutable": true,
|
|
325
|
-
"complexType": {
|
|
326
|
-
"original": "string | null",
|
|
327
|
-
"resolved": "string",
|
|
328
|
-
"references": {}
|
|
329
|
-
},
|
|
330
|
-
"required": false,
|
|
331
|
-
"optional": true,
|
|
332
|
-
"docs": {
|
|
333
|
-
"tags": [],
|
|
334
|
-
"text": "The value of the password input"
|
|
335
|
-
},
|
|
336
|
-
"getter": false,
|
|
337
|
-
"setter": false,
|
|
338
|
-
"reflect": true,
|
|
339
|
-
"defaultValue": "''"
|
|
340
|
-
},
|
|
341
|
-
"placeholder": {
|
|
342
|
-
"type": "string",
|
|
343
|
-
"attribute": "placeholder",
|
|
344
|
-
"mutable": false,
|
|
345
|
-
"complexType": {
|
|
346
|
-
"original": "string",
|
|
347
|
-
"resolved": "string",
|
|
348
|
-
"references": {}
|
|
349
|
-
},
|
|
350
|
-
"required": false,
|
|
351
|
-
"optional": true,
|
|
352
|
-
"docs": {
|
|
353
|
-
"tags": [],
|
|
354
|
-
"text": "Specifies a short hint that describes the expected value of a input"
|
|
355
|
-
},
|
|
356
|
-
"getter": false,
|
|
357
|
-
"setter": false,
|
|
358
|
-
"reflect": false
|
|
359
|
-
},
|
|
360
|
-
"label": {
|
|
361
|
-
"type": "string",
|
|
362
|
-
"attribute": "label",
|
|
363
|
-
"mutable": false,
|
|
364
|
-
"complexType": {
|
|
365
|
-
"original": "string",
|
|
366
|
-
"resolved": "string",
|
|
367
|
-
"references": {}
|
|
368
|
-
},
|
|
369
|
-
"required": true,
|
|
370
|
-
"optional": false,
|
|
371
|
-
"docs": {
|
|
372
|
-
"tags": [],
|
|
373
|
-
"text": "The text on the label"
|
|
374
|
-
},
|
|
375
|
-
"getter": false,
|
|
376
|
-
"setter": false,
|
|
377
|
-
"reflect": true
|
|
378
|
-
},
|
|
379
|
-
"fieldIndicator": {
|
|
380
|
-
"type": "string",
|
|
381
|
-
"attribute": "field-indicator",
|
|
382
|
-
"mutable": false,
|
|
383
|
-
"complexType": {
|
|
384
|
-
"original": "string",
|
|
385
|
-
"resolved": "string",
|
|
386
|
-
"references": {}
|
|
387
|
-
},
|
|
388
|
-
"required": false,
|
|
389
|
-
"optional": true,
|
|
390
|
-
"docs": {
|
|
391
|
-
"tags": [],
|
|
392
|
-
"text": "Text of an additional marker in the label"
|
|
393
|
-
},
|
|
394
|
-
"getter": false,
|
|
395
|
-
"setter": false,
|
|
396
|
-
"reflect": false
|
|
397
|
-
},
|
|
398
|
-
"hint": {
|
|
399
|
-
"type": "string",
|
|
400
|
-
"attribute": "hint",
|
|
401
|
-
"mutable": false,
|
|
402
|
-
"complexType": {
|
|
403
|
-
"original": "string",
|
|
404
|
-
"resolved": "string",
|
|
405
|
-
"references": {}
|
|
406
|
-
},
|
|
407
|
-
"required": false,
|
|
408
|
-
"optional": true,
|
|
409
|
-
"docs": {
|
|
410
|
-
"tags": [],
|
|
411
|
-
"text": "Optional hint, visually presented under the input,\ngiving additional context to the user"
|
|
412
|
-
},
|
|
413
|
-
"getter": false,
|
|
414
|
-
"setter": false,
|
|
415
|
-
"reflect": false
|
|
416
|
-
},
|
|
417
|
-
"fullWidth": {
|
|
418
|
-
"type": "boolean",
|
|
419
|
-
"attribute": "full-width",
|
|
420
|
-
"mutable": false,
|
|
421
|
-
"complexType": {
|
|
422
|
-
"original": "boolean",
|
|
423
|
-
"resolved": "boolean",
|
|
424
|
-
"references": {}
|
|
425
|
-
},
|
|
426
|
-
"required": false,
|
|
427
|
-
"optional": true,
|
|
428
|
-
"docs": {
|
|
429
|
-
"tags": [],
|
|
430
|
-
"text": "Defines if the component suppose to occupy 100% width"
|
|
431
|
-
},
|
|
432
|
-
"getter": false,
|
|
433
|
-
"setter": false,
|
|
434
|
-
"reflect": true
|
|
435
|
-
},
|
|
436
|
-
"valid": {
|
|
437
|
-
"type": "boolean",
|
|
438
|
-
"attribute": "valid",
|
|
439
|
-
"mutable": true,
|
|
440
|
-
"complexType": {
|
|
441
|
-
"original": "boolean",
|
|
442
|
-
"resolved": "boolean",
|
|
443
|
-
"references": {}
|
|
444
|
-
},
|
|
445
|
-
"required": false,
|
|
446
|
-
"optional": true,
|
|
447
|
-
"docs": {
|
|
448
|
-
"tags": [],
|
|
449
|
-
"text": "Visual indication of valid state"
|
|
450
|
-
},
|
|
451
|
-
"getter": false,
|
|
452
|
-
"setter": false,
|
|
453
|
-
"reflect": true
|
|
454
|
-
},
|
|
455
|
-
"invalid": {
|
|
456
|
-
"type": "boolean",
|
|
457
|
-
"attribute": "invalid",
|
|
458
|
-
"mutable": true,
|
|
459
|
-
"complexType": {
|
|
460
|
-
"original": "boolean",
|
|
461
|
-
"resolved": "boolean",
|
|
462
|
-
"references": {}
|
|
463
|
-
},
|
|
464
|
-
"required": false,
|
|
465
|
-
"optional": true,
|
|
466
|
-
"docs": {
|
|
467
|
-
"tags": [],
|
|
468
|
-
"text": "Validity indicator, serving to change UI of the component"
|
|
469
|
-
},
|
|
470
|
-
"getter": false,
|
|
471
|
-
"setter": false,
|
|
472
|
-
"reflect": true
|
|
473
|
-
},
|
|
474
|
-
"error": {
|
|
475
|
-
"type": "string",
|
|
476
|
-
"attribute": "error",
|
|
477
|
-
"mutable": false,
|
|
478
|
-
"complexType": {
|
|
479
|
-
"original": "string",
|
|
480
|
-
"resolved": "string",
|
|
481
|
-
"references": {}
|
|
482
|
-
},
|
|
483
|
-
"required": false,
|
|
484
|
-
"optional": true,
|
|
485
|
-
"docs": {
|
|
486
|
-
"tags": [],
|
|
487
|
-
"text": "The way to provide error message separately from Constraint Validation API."
|
|
488
|
-
},
|
|
489
|
-
"getter": false,
|
|
490
|
-
"setter": false,
|
|
491
|
-
"reflect": false
|
|
492
|
-
},
|
|
493
|
-
"disabled": {
|
|
494
|
-
"type": "boolean",
|
|
495
|
-
"attribute": "disabled",
|
|
496
|
-
"mutable": false,
|
|
497
|
-
"complexType": {
|
|
498
|
-
"original": "boolean",
|
|
499
|
-
"resolved": "boolean",
|
|
500
|
-
"references": {}
|
|
501
|
-
},
|
|
502
|
-
"required": false,
|
|
503
|
-
"optional": true,
|
|
504
|
-
"docs": {
|
|
505
|
-
"tags": [],
|
|
506
|
-
"text": "Prevents user interaction and applies disabled style"
|
|
507
|
-
},
|
|
508
|
-
"getter": false,
|
|
509
|
-
"setter": false,
|
|
510
|
-
"reflect": true
|
|
511
|
-
},
|
|
512
|
-
"readonly": {
|
|
513
|
-
"type": "boolean",
|
|
514
|
-
"attribute": "readonly",
|
|
515
|
-
"mutable": false,
|
|
516
|
-
"complexType": {
|
|
517
|
-
"original": "boolean",
|
|
518
|
-
"resolved": "boolean",
|
|
519
|
-
"references": {}
|
|
520
|
-
},
|
|
521
|
-
"required": false,
|
|
522
|
-
"optional": true,
|
|
523
|
-
"docs": {
|
|
524
|
-
"tags": [],
|
|
525
|
-
"text": "Makes the input read-only: users can focus and copy the value,\nbut cannot modify it (value still submitted with the form unlike disabled)."
|
|
526
|
-
},
|
|
527
|
-
"getter": false,
|
|
528
|
-
"setter": false,
|
|
529
|
-
"reflect": true
|
|
530
|
-
},
|
|
531
|
-
"required": {
|
|
532
|
-
"type": "boolean",
|
|
533
|
-
"attribute": "required",
|
|
534
|
-
"mutable": false,
|
|
535
|
-
"complexType": {
|
|
536
|
-
"original": "boolean",
|
|
537
|
-
"resolved": "boolean",
|
|
538
|
-
"references": {}
|
|
539
|
-
},
|
|
540
|
-
"required": false,
|
|
541
|
-
"optional": true,
|
|
542
|
-
"docs": {
|
|
543
|
-
"tags": [],
|
|
544
|
-
"text": "Specifies that an input is required/must be filled out"
|
|
545
|
-
},
|
|
546
|
-
"getter": false,
|
|
547
|
-
"setter": false,
|
|
548
|
-
"reflect": true
|
|
549
|
-
},
|
|
550
|
-
"maxlength": {
|
|
551
|
-
"type": "number",
|
|
552
|
-
"attribute": "maxlength",
|
|
553
|
-
"mutable": false,
|
|
554
|
-
"complexType": {
|
|
555
|
-
"original": "number",
|
|
556
|
-
"resolved": "number",
|
|
557
|
-
"references": {}
|
|
558
|
-
},
|
|
559
|
-
"required": false,
|
|
560
|
-
"optional": true,
|
|
561
|
-
"docs": {
|
|
562
|
-
"tags": [],
|
|
563
|
-
"text": "Maximum character length (enforced by native input)."
|
|
564
|
-
},
|
|
565
|
-
"getter": false,
|
|
566
|
-
"setter": false,
|
|
567
|
-
"reflect": false
|
|
568
|
-
},
|
|
569
|
-
"minlength": {
|
|
570
|
-
"type": "number",
|
|
571
|
-
"attribute": "minlength",
|
|
572
|
-
"mutable": false,
|
|
573
|
-
"complexType": {
|
|
574
|
-
"original": "number",
|
|
575
|
-
"resolved": "number",
|
|
576
|
-
"references": {}
|
|
577
|
-
},
|
|
578
|
-
"required": false,
|
|
579
|
-
"optional": true,
|
|
580
|
-
"docs": {
|
|
581
|
-
"tags": [],
|
|
582
|
-
"text": "Minimum character length (validation only)."
|
|
583
|
-
},
|
|
584
|
-
"getter": false,
|
|
585
|
-
"setter": false,
|
|
586
|
-
"reflect": false
|
|
587
|
-
},
|
|
588
|
-
"pattern": {
|
|
589
|
-
"type": "string",
|
|
590
|
-
"attribute": "pattern",
|
|
591
|
-
"mutable": false,
|
|
592
|
-
"complexType": {
|
|
593
|
-
"original": "string",
|
|
594
|
-
"resolved": "string",
|
|
595
|
-
"references": {}
|
|
596
|
-
},
|
|
597
|
-
"required": false,
|
|
598
|
-
"optional": true,
|
|
599
|
-
"docs": {
|
|
600
|
-
"tags": [],
|
|
601
|
-
"text": "Regex pattern the value must match (string form)."
|
|
602
|
-
},
|
|
603
|
-
"getter": false,
|
|
604
|
-
"setter": false,
|
|
605
|
-
"reflect": false
|
|
606
|
-
},
|
|
607
|
-
"valueMissingMessage": {
|
|
608
|
-
"type": "string",
|
|
609
|
-
"attribute": "value-missing-message",
|
|
610
|
-
"mutable": false,
|
|
611
|
-
"complexType": {
|
|
612
|
-
"original": "string",
|
|
613
|
-
"resolved": "string",
|
|
614
|
-
"references": {}
|
|
615
|
-
},
|
|
616
|
-
"required": false,
|
|
617
|
-
"optional": true,
|
|
618
|
-
"docs": {
|
|
619
|
-
"tags": [],
|
|
620
|
-
"text": "Set custom message for `valueMissing` property of a ValidityState object (set by `required`) within Constrain Validation API"
|
|
621
|
-
},
|
|
622
|
-
"getter": false,
|
|
623
|
-
"setter": false,
|
|
624
|
-
"reflect": false
|
|
625
|
-
},
|
|
626
|
-
"tooLongMessage": {
|
|
627
|
-
"type": "string",
|
|
628
|
-
"attribute": "too-long-message",
|
|
629
|
-
"mutable": false,
|
|
630
|
-
"complexType": {
|
|
631
|
-
"original": "string",
|
|
632
|
-
"resolved": "string",
|
|
633
|
-
"references": {}
|
|
634
|
-
},
|
|
635
|
-
"required": false,
|
|
636
|
-
"optional": true,
|
|
637
|
-
"docs": {
|
|
638
|
-
"tags": [],
|
|
639
|
-
"text": "Custom message for `tooLong`."
|
|
640
|
-
},
|
|
641
|
-
"getter": false,
|
|
642
|
-
"setter": false,
|
|
643
|
-
"reflect": false
|
|
644
|
-
},
|
|
645
|
-
"tooShortMessage": {
|
|
646
|
-
"type": "string",
|
|
647
|
-
"attribute": "too-short-message",
|
|
648
|
-
"mutable": false,
|
|
649
|
-
"complexType": {
|
|
650
|
-
"original": "string",
|
|
651
|
-
"resolved": "string",
|
|
652
|
-
"references": {}
|
|
653
|
-
},
|
|
654
|
-
"required": false,
|
|
655
|
-
"optional": true,
|
|
656
|
-
"docs": {
|
|
657
|
-
"tags": [],
|
|
658
|
-
"text": "Custom message for `tooShort`."
|
|
659
|
-
},
|
|
660
|
-
"getter": false,
|
|
661
|
-
"setter": false,
|
|
662
|
-
"reflect": false
|
|
663
|
-
},
|
|
664
|
-
"patternMismatchMessage": {
|
|
665
|
-
"type": "string",
|
|
666
|
-
"attribute": "pattern-mismatch-message",
|
|
667
|
-
"mutable": false,
|
|
668
|
-
"complexType": {
|
|
669
|
-
"original": "string",
|
|
670
|
-
"resolved": "string",
|
|
671
|
-
"references": {}
|
|
672
|
-
},
|
|
673
|
-
"required": false,
|
|
674
|
-
"optional": true,
|
|
675
|
-
"docs": {
|
|
676
|
-
"tags": [],
|
|
677
|
-
"text": "Custom message for `patternMismatch`."
|
|
678
|
-
},
|
|
679
|
-
"getter": false,
|
|
680
|
-
"setter": false,
|
|
681
|
-
"reflect": false
|
|
682
|
-
},
|
|
683
|
-
"customErrorMessage": {
|
|
684
|
-
"type": "string",
|
|
685
|
-
"attribute": "custom-error-message",
|
|
686
|
-
"mutable": false,
|
|
687
|
-
"complexType": {
|
|
688
|
-
"original": "string",
|
|
689
|
-
"resolved": "string",
|
|
690
|
-
"references": {}
|
|
691
|
-
},
|
|
692
|
-
"required": false,
|
|
693
|
-
"optional": true,
|
|
694
|
-
"docs": {
|
|
695
|
-
"tags": [],
|
|
696
|
-
"text": "Custom error message displayed for any validation failures in the input."
|
|
697
|
-
},
|
|
698
|
-
"getter": false,
|
|
699
|
-
"setter": false,
|
|
700
|
-
"reflect": false
|
|
701
|
-
},
|
|
702
|
-
"showPasswordAriaLabel": {
|
|
703
|
-
"type": "string",
|
|
704
|
-
"attribute": "show-password-aria-label",
|
|
705
|
-
"mutable": false,
|
|
706
|
-
"complexType": {
|
|
707
|
-
"original": "string",
|
|
708
|
-
"resolved": "string",
|
|
709
|
-
"references": {}
|
|
710
|
-
},
|
|
711
|
-
"required": false,
|
|
712
|
-
"optional": false,
|
|
713
|
-
"docs": {
|
|
714
|
-
"tags": [],
|
|
715
|
-
"text": "Defines label for characters show button."
|
|
716
|
-
},
|
|
717
|
-
"getter": false,
|
|
718
|
-
"setter": false,
|
|
719
|
-
"reflect": false,
|
|
720
|
-
"defaultValue": "'Show password.'"
|
|
721
|
-
},
|
|
722
|
-
"hidePasswordAriaLabel": {
|
|
723
|
-
"type": "string",
|
|
724
|
-
"attribute": "hide-password-aria-label",
|
|
725
|
-
"mutable": false,
|
|
726
|
-
"complexType": {
|
|
727
|
-
"original": "string",
|
|
728
|
-
"resolved": "string",
|
|
729
|
-
"references": {}
|
|
730
|
-
},
|
|
731
|
-
"required": false,
|
|
732
|
-
"optional": false,
|
|
733
|
-
"docs": {
|
|
734
|
-
"tags": [],
|
|
735
|
-
"text": "Defines label for characters hide button."
|
|
736
|
-
},
|
|
737
|
-
"getter": false,
|
|
738
|
-
"setter": false,
|
|
739
|
-
"reflect": false,
|
|
740
|
-
"defaultValue": "'Hide password.'"
|
|
741
|
-
},
|
|
742
|
-
"shownPasswordMessage": {
|
|
743
|
-
"type": "string",
|
|
744
|
-
"attribute": "shown-password-message",
|
|
745
|
-
"mutable": false,
|
|
746
|
-
"complexType": {
|
|
747
|
-
"original": "string",
|
|
748
|
-
"resolved": "string",
|
|
749
|
-
"references": {}
|
|
750
|
-
},
|
|
751
|
-
"required": false,
|
|
752
|
-
"optional": false,
|
|
753
|
-
"docs": {
|
|
754
|
-
"tags": [],
|
|
755
|
-
"text": "Custom message when the password is shown to alert screen reader users."
|
|
756
|
-
},
|
|
757
|
-
"getter": false,
|
|
758
|
-
"setter": false,
|
|
759
|
-
"reflect": false,
|
|
760
|
-
"defaultValue": "\"Your password is shown.\""
|
|
761
|
-
},
|
|
762
|
-
"hiddenPasswordMessage": {
|
|
763
|
-
"type": "string",
|
|
764
|
-
"attribute": "hidden-password-message",
|
|
765
|
-
"mutable": false,
|
|
766
|
-
"complexType": {
|
|
767
|
-
"original": "string",
|
|
768
|
-
"resolved": "string",
|
|
769
|
-
"references": {}
|
|
770
|
-
},
|
|
771
|
-
"required": false,
|
|
772
|
-
"optional": false,
|
|
773
|
-
"docs": {
|
|
774
|
-
"tags": [],
|
|
775
|
-
"text": "Custom message when the password is hidden to alert screen reader users."
|
|
776
|
-
},
|
|
777
|
-
"getter": false,
|
|
778
|
-
"setter": false,
|
|
779
|
-
"reflect": false,
|
|
780
|
-
"defaultValue": "\"Your password is hidden.\""
|
|
781
|
-
},
|
|
782
|
-
"passwordrules": {
|
|
783
|
-
"type": "string",
|
|
784
|
-
"attribute": "passwordrules",
|
|
785
|
-
"mutable": false,
|
|
786
|
-
"complexType": {
|
|
787
|
-
"original": "string",
|
|
788
|
-
"resolved": "string",
|
|
789
|
-
"references": {}
|
|
790
|
-
},
|
|
791
|
-
"required": false,
|
|
792
|
-
"optional": true,
|
|
793
|
-
"docs": {
|
|
794
|
-
"tags": [],
|
|
795
|
-
"text": "Safari-specific password rules for strong password generation.\nFormat: \"minlength: X; required: lower; required: upper; required: digit; required: special;\"\nExample: \"minlength: 8; required: lower; required: upper; required: digit; required: special;\"\nNote: This attribute is Safari-specific and will be ignored by other browsers.\nSee: https://developer.apple.com/documentation/security/password_autofill/customizing_password_autofill_rules"
|
|
796
|
-
},
|
|
797
|
-
"getter": false,
|
|
798
|
-
"setter": false,
|
|
799
|
-
"reflect": false
|
|
800
|
-
},
|
|
801
|
-
"autocomplete": {
|
|
802
|
-
"type": "string",
|
|
803
|
-
"attribute": "autocomplete",
|
|
804
|
-
"mutable": false,
|
|
805
|
-
"complexType": {
|
|
806
|
-
"original": "PasswordAutocomplete",
|
|
807
|
-
"resolved": "\"current-password\" | \"new-password\" | \"off\"",
|
|
808
|
-
"references": {
|
|
809
|
-
"PasswordAutocomplete": {
|
|
810
|
-
"location": "import",
|
|
811
|
-
"path": "./exports",
|
|
812
|
-
"id": "src/components/input-password/exports.ts::PasswordAutocomplete"
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
},
|
|
816
|
-
"required": false,
|
|
817
|
-
"optional": true,
|
|
818
|
-
"docs": {
|
|
819
|
-
"tags": [{
|
|
820
|
-
"name": "example",
|
|
821
|
-
"text": "**Usage Guidelines:**\n- `'current-password'`: Use in login forms where users enter their existing password\n- `'new-password'`: Use in registration forms or password change forms for the new password field\n- `'off'`: Disable autofill in sensitive contexts where password managers should not suggest values\n\n**Common Patterns:**\n```tsx\n// Login form\n<r-input-password autocomplete=\"current-password\" />\n\n// Registration form\n<r-input-password autocomplete=\"new-password\" />\n\n// Sensitive form (e.g., admin panel)\n<r-input-password autocomplete=\"off\" />\n```"
|
|
822
|
-
}],
|
|
823
|
-
"text": "Password-specific autocomplete behavior for browser password managers."
|
|
824
|
-
},
|
|
825
|
-
"getter": false,
|
|
826
|
-
"setter": false,
|
|
827
|
-
"reflect": false
|
|
828
|
-
}
|
|
829
|
-
};
|
|
830
|
-
}
|
|
831
|
-
static get states() {
|
|
832
|
-
return {
|
|
833
|
-
"showed": {},
|
|
834
|
-
"validityState": {},
|
|
835
|
-
"validityMessage": {},
|
|
836
|
-
"passwordVisibilityTimer": {}
|
|
837
|
-
};
|
|
838
|
-
}
|
|
839
|
-
static get events() {
|
|
840
|
-
return [{
|
|
841
|
-
"method": "rValidate",
|
|
842
|
-
"name": "rValidate",
|
|
843
|
-
"bubbles": true,
|
|
844
|
-
"cancelable": true,
|
|
845
|
-
"composed": true,
|
|
846
|
-
"docs": {
|
|
847
|
-
"tags": [],
|
|
848
|
-
"text": "Emits event after each validation"
|
|
849
|
-
},
|
|
850
|
-
"complexType": {
|
|
851
|
-
"original": "{\n state: string,\n message: string\n }",
|
|
852
|
-
"resolved": "{ state: string; message: string; }",
|
|
853
|
-
"references": {}
|
|
854
|
-
}
|
|
855
|
-
}, {
|
|
856
|
-
"method": "rInput",
|
|
857
|
-
"name": "rInput",
|
|
858
|
-
"bubbles": true,
|
|
859
|
-
"cancelable": true,
|
|
860
|
-
"composed": true,
|
|
861
|
-
"docs": {
|
|
862
|
-
"tags": [],
|
|
863
|
-
"text": "Emits 'rInput' event when value of the component is changing"
|
|
864
|
-
},
|
|
865
|
-
"complexType": {
|
|
866
|
-
"original": "{\n element: HTMLRInputPasswordElement,\n value: any\n }",
|
|
867
|
-
"resolved": "{ element: HTMLRInputPasswordElement; value: any; }",
|
|
868
|
-
"references": {
|
|
869
|
-
"HTMLRInputPasswordElement": {
|
|
870
|
-
"location": "global",
|
|
871
|
-
"id": "global::HTMLRInputPasswordElement"
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
}, {
|
|
876
|
-
"method": "rChange",
|
|
877
|
-
"name": "rChange",
|
|
878
|
-
"bubbles": true,
|
|
879
|
-
"cancelable": true,
|
|
880
|
-
"composed": true,
|
|
881
|
-
"docs": {
|
|
882
|
-
"tags": [],
|
|
883
|
-
"text": "Emits 'rChange' event when value of the component has been changed"
|
|
884
|
-
},
|
|
885
|
-
"complexType": {
|
|
886
|
-
"original": "{\n element: HTMLRInputPasswordElement,\n value: any\n }",
|
|
887
|
-
"resolved": "{ element: HTMLRInputPasswordElement; value: any; }",
|
|
888
|
-
"references": {
|
|
889
|
-
"HTMLRInputPasswordElement": {
|
|
890
|
-
"location": "global",
|
|
891
|
-
"id": "global::HTMLRInputPasswordElement"
|
|
892
|
-
}
|
|
893
|
-
}
|
|
894
|
-
}
|
|
895
|
-
}, {
|
|
896
|
-
"method": "rReset",
|
|
897
|
-
"name": "rReset",
|
|
898
|
-
"bubbles": true,
|
|
899
|
-
"cancelable": true,
|
|
900
|
-
"composed": true,
|
|
901
|
-
"docs": {
|
|
902
|
-
"tags": [],
|
|
903
|
-
"text": "Emits 'rReset' event when form containing the component was reset"
|
|
904
|
-
},
|
|
905
|
-
"complexType": {
|
|
906
|
-
"original": "{\n element: HTMLRInputPasswordElement,\n value: any\n }",
|
|
907
|
-
"resolved": "{ element: HTMLRInputPasswordElement; value: any; }",
|
|
908
|
-
"references": {
|
|
909
|
-
"HTMLRInputPasswordElement": {
|
|
910
|
-
"location": "global",
|
|
911
|
-
"id": "global::HTMLRInputPasswordElement"
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
}, {
|
|
916
|
-
"method": "rVisibilityChange",
|
|
917
|
-
"name": "rVisibilityChange",
|
|
918
|
-
"bubbles": true,
|
|
919
|
-
"cancelable": true,
|
|
920
|
-
"composed": true,
|
|
921
|
-
"docs": {
|
|
922
|
-
"tags": [],
|
|
923
|
-
"text": "Emits 'rVisibilityChange' event when password visibility is toggled"
|
|
924
|
-
},
|
|
925
|
-
"complexType": {
|
|
926
|
-
"original": "{\n element: HTMLRInputPasswordElement,\n visible: boolean\n }",
|
|
927
|
-
"resolved": "{ element: HTMLRInputPasswordElement; visible: boolean; }",
|
|
928
|
-
"references": {
|
|
929
|
-
"HTMLRInputPasswordElement": {
|
|
930
|
-
"location": "global",
|
|
931
|
-
"id": "global::HTMLRInputPasswordElement"
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
}];
|
|
936
|
-
}
|
|
937
|
-
static get methods() {
|
|
938
|
-
return {
|
|
939
|
-
"toggleShow": {
|
|
940
|
-
"complexType": {
|
|
941
|
-
"signature": "() => Promise<void>",
|
|
942
|
-
"parameters": [],
|
|
943
|
-
"references": {
|
|
944
|
-
"Promise": {
|
|
945
|
-
"location": "global",
|
|
946
|
-
"id": "global::Promise"
|
|
947
|
-
}
|
|
948
|
-
},
|
|
949
|
-
"return": "Promise<void>"
|
|
950
|
-
},
|
|
951
|
-
"docs": {
|
|
952
|
-
"text": "Toggle password text visibility.",
|
|
953
|
-
"tags": []
|
|
954
|
-
}
|
|
955
|
-
},
|
|
956
|
-
"showPassword": {
|
|
957
|
-
"complexType": {
|
|
958
|
-
"signature": "() => Promise<void>",
|
|
959
|
-
"parameters": [],
|
|
960
|
-
"references": {
|
|
961
|
-
"Promise": {
|
|
962
|
-
"location": "global",
|
|
963
|
-
"id": "global::Promise"
|
|
964
|
-
}
|
|
965
|
-
},
|
|
966
|
-
"return": "Promise<void>"
|
|
967
|
-
},
|
|
968
|
-
"docs": {
|
|
969
|
-
"text": "Show password text.",
|
|
970
|
-
"tags": []
|
|
971
|
-
}
|
|
972
|
-
},
|
|
973
|
-
"hidePassword": {
|
|
974
|
-
"complexType": {
|
|
975
|
-
"signature": "() => Promise<void>",
|
|
976
|
-
"parameters": [],
|
|
977
|
-
"references": {
|
|
978
|
-
"Promise": {
|
|
979
|
-
"location": "global",
|
|
980
|
-
"id": "global::Promise"
|
|
981
|
-
}
|
|
982
|
-
},
|
|
983
|
-
"return": "Promise<void>"
|
|
984
|
-
},
|
|
985
|
-
"docs": {
|
|
986
|
-
"text": "Hide password text.",
|
|
987
|
-
"tags": []
|
|
988
|
-
}
|
|
989
|
-
},
|
|
990
|
-
"getValue": {
|
|
991
|
-
"complexType": {
|
|
992
|
-
"signature": "() => Promise<string>",
|
|
993
|
-
"parameters": [],
|
|
994
|
-
"references": {
|
|
995
|
-
"Promise": {
|
|
996
|
-
"location": "global",
|
|
997
|
-
"id": "global::Promise"
|
|
998
|
-
}
|
|
999
|
-
},
|
|
1000
|
-
"return": "Promise<string>"
|
|
1001
|
-
},
|
|
1002
|
-
"docs": {
|
|
1003
|
-
"text": "Get the input value",
|
|
1004
|
-
"tags": []
|
|
1005
|
-
}
|
|
1006
|
-
},
|
|
1007
|
-
"setValue": {
|
|
1008
|
-
"complexType": {
|
|
1009
|
-
"signature": "(value: string) => Promise<void>",
|
|
1010
|
-
"parameters": [{
|
|
1011
|
-
"name": "value",
|
|
1012
|
-
"type": "string",
|
|
1013
|
-
"docs": ""
|
|
1014
|
-
}],
|
|
1015
|
-
"references": {
|
|
1016
|
-
"Promise": {
|
|
1017
|
-
"location": "global",
|
|
1018
|
-
"id": "global::Promise"
|
|
1019
|
-
}
|
|
1020
|
-
},
|
|
1021
|
-
"return": "Promise<void>"
|
|
1022
|
-
},
|
|
1023
|
-
"docs": {
|
|
1024
|
-
"text": "Set the input value",
|
|
1025
|
-
"tags": []
|
|
1026
|
-
}
|
|
1027
|
-
},
|
|
1028
|
-
"checkValidity": {
|
|
1029
|
-
"complexType": {
|
|
1030
|
-
"signature": "() => Promise<boolean>",
|
|
1031
|
-
"parameters": [],
|
|
1032
|
-
"references": {
|
|
1033
|
-
"Promise": {
|
|
1034
|
-
"location": "global",
|
|
1035
|
-
"id": "global::Promise"
|
|
1036
|
-
}
|
|
1037
|
-
},
|
|
1038
|
-
"return": "Promise<boolean>"
|
|
1039
|
-
},
|
|
1040
|
-
"docs": {
|
|
1041
|
-
"text": "Validates the input password without triggering UI and returns a boolean indicating its validity.",
|
|
1042
|
-
"tags": [{
|
|
1043
|
-
"name": "returns",
|
|
1044
|
-
"text": "A boolean indicating whether the input password is valid."
|
|
1045
|
-
}]
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
};
|
|
1049
|
-
}
|
|
1050
|
-
static get elementRef() { return "host"; }
|
|
1051
|
-
}
|