@riverty/web-components 6.2.1 → 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 +24 -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.css +0 -52
- package/dist/collection/components/illustration/illustration.js +0 -540
- 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-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-ff6b1b8f.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,1055 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { appendControlToFormData } from "../../utils/formData";
|
|
3
|
-
export class RTextarea {
|
|
4
|
-
constructor() {
|
|
5
|
-
/** Represents the current value of the `<textarea>`, reflecting the content entered
|
|
6
|
-
* by the user or provided programmatically. */
|
|
7
|
-
this.value = this.textareaSlotValue;
|
|
8
|
-
/** Specifies a short hint that describes the expected value of the `<textarea>`,
|
|
9
|
-
* displayed when it is empty. */
|
|
10
|
-
this.placeholder = 'Provide an input';
|
|
11
|
-
/** Controls the resizability of the `<textarea>`, allowing
|
|
12
|
-
* or preventing the user from resizing it. */
|
|
13
|
-
this.resize = 'none';
|
|
14
|
-
/** Custom message when the character limit is reached to alert screen reader users. */
|
|
15
|
-
this.characterLimitReachedMessage = "You've reached the character limit.";
|
|
16
|
-
/** Custom validity state */
|
|
17
|
-
this.validityState = null;
|
|
18
|
-
/** Custom validity message */
|
|
19
|
-
this.validityMessage = '';
|
|
20
|
-
/**
|
|
21
|
-
* Initial attributes state
|
|
22
|
-
* */
|
|
23
|
-
this.initial = {};
|
|
24
|
-
/** Unique id */
|
|
25
|
-
this.uniqueId = `r-textarea-${Date.now().toString(32)}${Math.random().toString(32)}`.replace(/\./g, '');
|
|
26
|
-
this.onInput = event => {
|
|
27
|
-
if (this.readonly)
|
|
28
|
-
return;
|
|
29
|
-
this.value = event.target.value;
|
|
30
|
-
this.validateFormElement(this.nativeElement);
|
|
31
|
-
const { host, value } = this;
|
|
32
|
-
this.rInput.emit({ element: host, value });
|
|
33
|
-
if (value.length === this.maxlength && this.characterLimitReachedAlert) {
|
|
34
|
-
this.characterLimitReachedAlert.innerText = this.characterLimitReachedMessage;
|
|
35
|
-
setTimeout(() => {
|
|
36
|
-
this.characterLimitReachedAlert.innerText = '';
|
|
37
|
-
}, 2000);
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
this.onChange = event => {
|
|
41
|
-
if (this.readonly)
|
|
42
|
-
return;
|
|
43
|
-
this.value = event.target.value;
|
|
44
|
-
this.validateFormElement(this.nativeElement);
|
|
45
|
-
const { host, value } = this;
|
|
46
|
-
this.rChange.emit({ element: host, value });
|
|
47
|
-
};
|
|
48
|
-
this.onSubmitForm = (event) => {
|
|
49
|
-
if (this.isNoValidate)
|
|
50
|
-
return;
|
|
51
|
-
this.validateFormElement(this.nativeElement);
|
|
52
|
-
if (this.invalid) {
|
|
53
|
-
event.preventDefault();
|
|
54
|
-
event.stopPropagation();
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
this.onResetForm = () => {
|
|
58
|
-
if (this.readonly)
|
|
59
|
-
return;
|
|
60
|
-
// Return to initial state
|
|
61
|
-
this.validityState = null;
|
|
62
|
-
this.validityMessage = null;
|
|
63
|
-
this.value = this.initial['value'];
|
|
64
|
-
this.invalid = this.initial['invalid'];
|
|
65
|
-
this.valid = !this.invalid;
|
|
66
|
-
const { host, value } = this;
|
|
67
|
-
this.rReset.emit({ element: host, value });
|
|
68
|
-
};
|
|
69
|
-
this.getValidityStateData = (element) => {
|
|
70
|
-
let validityState = '';
|
|
71
|
-
let validityMessage = '';
|
|
72
|
-
for (const state in element.validity) {
|
|
73
|
-
if (element.validity[state]) {
|
|
74
|
-
validityState = state;
|
|
75
|
-
if (this[state + 'Message']) {
|
|
76
|
-
validityMessage = this[state + 'Message'];
|
|
77
|
-
return { validityState, validityMessage };
|
|
78
|
-
}
|
|
79
|
-
validityMessage = element.validationMessage;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
return { validityState, validityMessage };
|
|
83
|
-
};
|
|
84
|
-
this.validateFormElement = (element = null) => {
|
|
85
|
-
if (element === null)
|
|
86
|
-
return;
|
|
87
|
-
if (this.isNoValidate)
|
|
88
|
-
return;
|
|
89
|
-
if (this.error)
|
|
90
|
-
return;
|
|
91
|
-
const { validityState, validityMessage } = this.getValidityStateData(element);
|
|
92
|
-
this.validityState = validityState;
|
|
93
|
-
this.validityMessage = validityMessage;
|
|
94
|
-
const isValid = this.validityState === 'valid';
|
|
95
|
-
this.valid = isValid;
|
|
96
|
-
this.invalid = !isValid;
|
|
97
|
-
this.rValidate.emit({
|
|
98
|
-
state: this.validityState,
|
|
99
|
-
message: this.validityMessage
|
|
100
|
-
});
|
|
101
|
-
};
|
|
102
|
-
this.contributeToFormData = (event) => {
|
|
103
|
-
appendControlToFormData(this.nativeElement || this.host, event.formData);
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
/** Sets the value of the element. */
|
|
107
|
-
async setValue(value) {
|
|
108
|
-
if (this.readonly)
|
|
109
|
-
return;
|
|
110
|
-
this.value = value;
|
|
111
|
-
}
|
|
112
|
-
/** Gets the value of the element. */
|
|
113
|
-
async getValue() {
|
|
114
|
-
return this.value;
|
|
115
|
-
}
|
|
116
|
-
/** Resets value and validity state to initial. */
|
|
117
|
-
async reset() {
|
|
118
|
-
if (this.readonly)
|
|
119
|
-
return;
|
|
120
|
-
this.validityState = null;
|
|
121
|
-
this.validityMessage = null;
|
|
122
|
-
this.value = this.initial['value'];
|
|
123
|
-
this.invalid = this.initial['invalid'];
|
|
124
|
-
this.valid = !this.invalid;
|
|
125
|
-
}
|
|
126
|
-
/** Sets focus on the element. */
|
|
127
|
-
async setFocus() {
|
|
128
|
-
this.nativeElement.focus();
|
|
129
|
-
}
|
|
130
|
-
/** Removes focus from the element. */
|
|
131
|
-
async setBlur() {
|
|
132
|
-
this.nativeElement.blur();
|
|
133
|
-
}
|
|
134
|
-
/** Sets the start and end positions of the text selection. */
|
|
135
|
-
async setSelectionRange(start, end, direction) {
|
|
136
|
-
this.nativeElement.setSelectionRange(start, end, direction);
|
|
137
|
-
}
|
|
138
|
-
/** Replaces the current text selection with a new string. */
|
|
139
|
-
async setRangeText(replacement, start, end, selectionMode) {
|
|
140
|
-
this.nativeElement.setRangeText(replacement, start, end, selectionMode);
|
|
141
|
-
}
|
|
142
|
-
/** Validates an element, displays provided message in case value is invalid. */
|
|
143
|
-
async setCustomValidity(message) {
|
|
144
|
-
this.customErrorMessage = message;
|
|
145
|
-
this.validateFormElement(this.nativeElement);
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* Validates the textarea without triggering UI and returns a boolean indicating its validity.
|
|
149
|
-
* @returns A boolean indicating whether the textarea is valid.
|
|
150
|
-
*/
|
|
151
|
-
async checkValidity() {
|
|
152
|
-
const { validityState } = this.getValidityStateData(this.nativeElement);
|
|
153
|
-
return validityState === 'valid';
|
|
154
|
-
}
|
|
155
|
-
/** Validates an element and displays validity state. */
|
|
156
|
-
async reportValidity() {
|
|
157
|
-
this.validateFormElement(this.nativeElement);
|
|
158
|
-
}
|
|
159
|
-
/** Identify wrapping form element. */
|
|
160
|
-
get parentFormEl() {
|
|
161
|
-
return this.host.closest('form') || document.querySelector(`#${this.form}`) || null;
|
|
162
|
-
}
|
|
163
|
-
get ariaDescribedBy() {
|
|
164
|
-
const describedBy = `${this.uniqueId}-message`;
|
|
165
|
-
return this.hint ? `${this.uniqueId}-hint ${describedBy}` : describedBy;
|
|
166
|
-
}
|
|
167
|
-
get hasError() {
|
|
168
|
-
var _a;
|
|
169
|
-
return this.invalid && !!((_a = this.error) === null || _a === void 0 ? void 0 : _a.length);
|
|
170
|
-
}
|
|
171
|
-
get hasValidationError() {
|
|
172
|
-
if (!this.validityState)
|
|
173
|
-
return false;
|
|
174
|
-
const isInvalid = this.validityState !== 'valid';
|
|
175
|
-
const hasMessage = !!(this.customErrorMessage || this.validityMessage);
|
|
176
|
-
return isInvalid && hasMessage;
|
|
177
|
-
}
|
|
178
|
-
get hasMessage() {
|
|
179
|
-
return this.hasError || this.hasValidationError;
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* Determine whether this element should be ignored
|
|
183
|
-
* during Constraint Validation API validation.
|
|
184
|
-
* */
|
|
185
|
-
get isNoValidate() {
|
|
186
|
-
var _a;
|
|
187
|
-
return (((_a = this.parentFormEl) === null || _a === void 0 ? void 0 : _a.hasAttribute('novalidate')) ||
|
|
188
|
-
this.novalidate ||
|
|
189
|
-
false);
|
|
190
|
-
}
|
|
191
|
-
get hasTrailingSlot() {
|
|
192
|
-
return !!this.host.querySelector('[slot="trailing"]');
|
|
193
|
-
}
|
|
194
|
-
get textareaSlotValue() {
|
|
195
|
-
return this.host.textContent;
|
|
196
|
-
}
|
|
197
|
-
connectFormEventListeners() {
|
|
198
|
-
var _a, _b, _c;
|
|
199
|
-
(_a = this.parentFormEl) === null || _a === void 0 ? void 0 : _a.addEventListener('formdata', this.contributeToFormData);
|
|
200
|
-
(_b = this.parentFormEl) === null || _b === void 0 ? void 0 : _b.addEventListener('submit', this.onSubmitForm, { capture: true });
|
|
201
|
-
(_c = this.parentFormEl) === null || _c === void 0 ? void 0 : _c.addEventListener('reset', this.onResetForm);
|
|
202
|
-
}
|
|
203
|
-
disconnectFormEventListeners() {
|
|
204
|
-
var _a, _b, _c;
|
|
205
|
-
(_a = this.parentFormEl) === null || _a === void 0 ? void 0 : _a.removeEventListener('formdata', this.contributeToFormData);
|
|
206
|
-
(_b = this.parentFormEl) === null || _b === void 0 ? void 0 : _b.removeEventListener('submit', this.onSubmitForm);
|
|
207
|
-
(_c = this.parentFormEl) === null || _c === void 0 ? void 0 : _c.removeEventListener('reset', this.onResetForm);
|
|
208
|
-
}
|
|
209
|
-
componentWillLoad() {
|
|
210
|
-
this.initial['value'] = this.value;
|
|
211
|
-
this.initial['invalid'] = this.invalid;
|
|
212
|
-
}
|
|
213
|
-
connectedCallback() {
|
|
214
|
-
this.connectFormEventListeners();
|
|
215
|
-
}
|
|
216
|
-
disconnectedCallback() {
|
|
217
|
-
this.disconnectFormEventListeners();
|
|
218
|
-
}
|
|
219
|
-
render() {
|
|
220
|
-
const { name, rows, cols, placeholder, required, showCounter, maxlength, minlength, form, value, disabled, resize, hint, invalid, label, uniqueId, fieldIndicator, readonly } = this;
|
|
221
|
-
const textareaAttrs = {
|
|
222
|
-
name,
|
|
223
|
-
rows,
|
|
224
|
-
cols,
|
|
225
|
-
placeholder,
|
|
226
|
-
required,
|
|
227
|
-
maxlength,
|
|
228
|
-
minlength,
|
|
229
|
-
form,
|
|
230
|
-
value,
|
|
231
|
-
disabled,
|
|
232
|
-
resize,
|
|
233
|
-
readonly,
|
|
234
|
-
id: uniqueId,
|
|
235
|
-
'aria-describedby': this.ariaDescribedBy,
|
|
236
|
-
'aria-invalid': `${!!invalid}`,
|
|
237
|
-
'aria-required': `${!!required}`
|
|
238
|
-
};
|
|
239
|
-
const labelAttr = label ? {
|
|
240
|
-
label,
|
|
241
|
-
fieldIndicator
|
|
242
|
-
} : {};
|
|
243
|
-
// Filter out event listener properties based on naming convention.
|
|
244
|
-
// Pass them to native element.
|
|
245
|
-
const eventListeners = Object.entries(this).reduce((acc, [key, value]) => {
|
|
246
|
-
if (typeof value === 'function' && key.startsWith('on')) {
|
|
247
|
-
acc[key] = value;
|
|
248
|
-
}
|
|
249
|
-
return acc;
|
|
250
|
-
}, {});
|
|
251
|
-
return (h(Host, null, h("div", { class: "r-textarea--label-container" }, h("label", { htmlFor: uniqueId }, label &&
|
|
252
|
-
h("r-label", Object.assign({ id: `${uniqueId}-label` }, labelAttr), label)), h("slot", { name: "popover" })), hint &&
|
|
253
|
-
h("r-hint", { id: `${uniqueId}-hint`, role: "note" }, hint), h("div", { class: "r-textarea--container", "data-disabled": `${!!disabled}`, "data-readonly": `${!!readonly}` }, h("textarea", Object.assign({ class: "r-textarea--input" }, textareaAttrs, eventListeners, { ref: el => this.nativeElement = el, onChange: this.onChange, onInput: this.onInput })), h("div", { class: "r-textarea--trailing" }, this.readonly && h("r-icon", { class: "r-textarea--readonly-icon", name: "pen-disabled", size: "s" }), this.hasTrailingSlot && h("slot", { name: "trailing" }))), h("div", { class: "r-textarea--messages" }, h("r-hint", { "aria-live": "polite", "aria-atomic": "true", id: `${uniqueId}-message`, class: !this.hasMessage && 'visually-hidden', variant: invalid ? 'error' : 'success' }, this.hasError && this.error, this.hasValidationError && (this.customErrorMessage || this.validityMessage)), showCounter && h("r-hint", { "aria-hidden": true, class: "r-textarea--messages--counter" }, `${value.length}${maxlength ? '/' : ''}${maxlength}`), maxlength &&
|
|
254
|
-
h("div", { class: "visually-hidden", ref: el => this.characterLimitReachedAlert = el, "aria-live": "assertive" }))));
|
|
255
|
-
}
|
|
256
|
-
static get is() { return "r-textarea"; }
|
|
257
|
-
static get encapsulation() { return "shadow"; }
|
|
258
|
-
static get originalStyleUrls() {
|
|
259
|
-
return {
|
|
260
|
-
"$": ["textarea.css"]
|
|
261
|
-
};
|
|
262
|
-
}
|
|
263
|
-
static get styleUrls() {
|
|
264
|
-
return {
|
|
265
|
-
"$": ["textarea.css"]
|
|
266
|
-
};
|
|
267
|
-
}
|
|
268
|
-
static get properties() {
|
|
269
|
-
return {
|
|
270
|
-
"form": {
|
|
271
|
-
"type": "string",
|
|
272
|
-
"attribute": "form",
|
|
273
|
-
"mutable": false,
|
|
274
|
-
"complexType": {
|
|
275
|
-
"original": "string",
|
|
276
|
-
"resolved": "string",
|
|
277
|
-
"references": {}
|
|
278
|
-
},
|
|
279
|
-
"required": false,
|
|
280
|
-
"optional": true,
|
|
281
|
-
"docs": {
|
|
282
|
-
"tags": [],
|
|
283
|
-
"text": "Specifies the `id` of the `<form>` to which the element belongs"
|
|
284
|
-
},
|
|
285
|
-
"getter": false,
|
|
286
|
-
"setter": false,
|
|
287
|
-
"reflect": false
|
|
288
|
-
},
|
|
289
|
-
"novalidate": {
|
|
290
|
-
"type": "boolean",
|
|
291
|
-
"attribute": "novalidate",
|
|
292
|
-
"mutable": false,
|
|
293
|
-
"complexType": {
|
|
294
|
-
"original": "boolean",
|
|
295
|
-
"resolved": "boolean",
|
|
296
|
-
"references": {}
|
|
297
|
-
},
|
|
298
|
-
"required": false,
|
|
299
|
-
"optional": true,
|
|
300
|
-
"docs": {
|
|
301
|
-
"tags": [],
|
|
302
|
-
"text": "Specifies if element must be ignored during validation of the form elements"
|
|
303
|
-
},
|
|
304
|
-
"getter": false,
|
|
305
|
-
"setter": false,
|
|
306
|
-
"reflect": false
|
|
307
|
-
},
|
|
308
|
-
"name": {
|
|
309
|
-
"type": "string",
|
|
310
|
-
"attribute": "name",
|
|
311
|
-
"mutable": false,
|
|
312
|
-
"complexType": {
|
|
313
|
-
"original": "string",
|
|
314
|
-
"resolved": "string",
|
|
315
|
-
"references": {}
|
|
316
|
-
},
|
|
317
|
-
"required": false,
|
|
318
|
-
"optional": false,
|
|
319
|
-
"docs": {
|
|
320
|
-
"tags": [],
|
|
321
|
-
"text": "Sets the `name` attribute on the underlying `<textarea>`, allowing the control \nto be identified during form submission."
|
|
322
|
-
},
|
|
323
|
-
"getter": false,
|
|
324
|
-
"setter": false,
|
|
325
|
-
"reflect": true
|
|
326
|
-
},
|
|
327
|
-
"value": {
|
|
328
|
-
"type": "string",
|
|
329
|
-
"attribute": "value",
|
|
330
|
-
"mutable": true,
|
|
331
|
-
"complexType": {
|
|
332
|
-
"original": "string",
|
|
333
|
-
"resolved": "string",
|
|
334
|
-
"references": {}
|
|
335
|
-
},
|
|
336
|
-
"required": false,
|
|
337
|
-
"optional": true,
|
|
338
|
-
"docs": {
|
|
339
|
-
"tags": [],
|
|
340
|
-
"text": "Represents the current value of the `<textarea>`, reflecting the content entered \nby the user or provided programmatically."
|
|
341
|
-
},
|
|
342
|
-
"getter": false,
|
|
343
|
-
"setter": false,
|
|
344
|
-
"reflect": true,
|
|
345
|
-
"defaultValue": "this.textareaSlotValue"
|
|
346
|
-
},
|
|
347
|
-
"placeholder": {
|
|
348
|
-
"type": "string",
|
|
349
|
-
"attribute": "placeholder",
|
|
350
|
-
"mutable": false,
|
|
351
|
-
"complexType": {
|
|
352
|
-
"original": "string",
|
|
353
|
-
"resolved": "string",
|
|
354
|
-
"references": {}
|
|
355
|
-
},
|
|
356
|
-
"required": false,
|
|
357
|
-
"optional": false,
|
|
358
|
-
"docs": {
|
|
359
|
-
"tags": [],
|
|
360
|
-
"text": "Specifies a short hint that describes the expected value of the `<textarea>`, \ndisplayed when it is empty."
|
|
361
|
-
},
|
|
362
|
-
"getter": false,
|
|
363
|
-
"setter": false,
|
|
364
|
-
"reflect": false,
|
|
365
|
-
"defaultValue": "'Provide an input'"
|
|
366
|
-
},
|
|
367
|
-
"rows": {
|
|
368
|
-
"type": "number",
|
|
369
|
-
"attribute": "rows",
|
|
370
|
-
"mutable": false,
|
|
371
|
-
"complexType": {
|
|
372
|
-
"original": "number",
|
|
373
|
-
"resolved": "number",
|
|
374
|
-
"references": {}
|
|
375
|
-
},
|
|
376
|
-
"required": false,
|
|
377
|
-
"optional": true,
|
|
378
|
-
"docs": {
|
|
379
|
-
"tags": [],
|
|
380
|
-
"text": "Defines the number of visible text lines in the `<textarea>`, \ncontrolling its vertical size."
|
|
381
|
-
},
|
|
382
|
-
"getter": false,
|
|
383
|
-
"setter": false,
|
|
384
|
-
"reflect": false
|
|
385
|
-
},
|
|
386
|
-
"cols": {
|
|
387
|
-
"type": "number",
|
|
388
|
-
"attribute": "cols",
|
|
389
|
-
"mutable": false,
|
|
390
|
-
"complexType": {
|
|
391
|
-
"original": "number",
|
|
392
|
-
"resolved": "number",
|
|
393
|
-
"references": {}
|
|
394
|
-
},
|
|
395
|
-
"required": false,
|
|
396
|
-
"optional": true,
|
|
397
|
-
"docs": {
|
|
398
|
-
"tags": [],
|
|
399
|
-
"text": "Specifies the visible width of the `<textarea>` in terms \nof the number of characters."
|
|
400
|
-
},
|
|
401
|
-
"getter": false,
|
|
402
|
-
"setter": false,
|
|
403
|
-
"reflect": false
|
|
404
|
-
},
|
|
405
|
-
"resize": {
|
|
406
|
-
"type": "string",
|
|
407
|
-
"attribute": "resize",
|
|
408
|
-
"mutable": false,
|
|
409
|
-
"complexType": {
|
|
410
|
-
"original": "TextareaResize",
|
|
411
|
-
"resolved": "\"both\" | \"horizontal\" | \"inherit\" | \"initial\" | \"none\" | \"vertical\"",
|
|
412
|
-
"references": {
|
|
413
|
-
"TextareaResize": {
|
|
414
|
-
"location": "import",
|
|
415
|
-
"path": "./exports",
|
|
416
|
-
"id": "src/components/textarea/exports.ts::TextareaResize"
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
},
|
|
420
|
-
"required": false,
|
|
421
|
-
"optional": false,
|
|
422
|
-
"docs": {
|
|
423
|
-
"tags": [],
|
|
424
|
-
"text": "Controls the resizability of the `<textarea>`, allowing \nor preventing the user from resizing it."
|
|
425
|
-
},
|
|
426
|
-
"getter": false,
|
|
427
|
-
"setter": false,
|
|
428
|
-
"reflect": true,
|
|
429
|
-
"defaultValue": "'none'"
|
|
430
|
-
},
|
|
431
|
-
"disabled": {
|
|
432
|
-
"type": "boolean",
|
|
433
|
-
"attribute": "disabled",
|
|
434
|
-
"mutable": false,
|
|
435
|
-
"complexType": {
|
|
436
|
-
"original": "boolean",
|
|
437
|
-
"resolved": "boolean",
|
|
438
|
-
"references": {}
|
|
439
|
-
},
|
|
440
|
-
"required": false,
|
|
441
|
-
"optional": true,
|
|
442
|
-
"docs": {
|
|
443
|
-
"tags": [],
|
|
444
|
-
"text": "Indicates whether the `<textarea>` is disabled, preventing \nuser interaction and input when set to true."
|
|
445
|
-
},
|
|
446
|
-
"getter": false,
|
|
447
|
-
"setter": false,
|
|
448
|
-
"reflect": false
|
|
449
|
-
},
|
|
450
|
-
"readonly": {
|
|
451
|
-
"type": "boolean",
|
|
452
|
-
"attribute": "readonly",
|
|
453
|
-
"mutable": false,
|
|
454
|
-
"complexType": {
|
|
455
|
-
"original": "boolean",
|
|
456
|
-
"resolved": "boolean",
|
|
457
|
-
"references": {}
|
|
458
|
-
},
|
|
459
|
-
"required": false,
|
|
460
|
-
"optional": true,
|
|
461
|
-
"docs": {
|
|
462
|
-
"tags": [],
|
|
463
|
-
"text": "Indicates whether the `<textarea>` is read-only, allowing focus and text selection\nwhile preventing the user from modifying its value."
|
|
464
|
-
},
|
|
465
|
-
"getter": false,
|
|
466
|
-
"setter": false,
|
|
467
|
-
"reflect": true
|
|
468
|
-
},
|
|
469
|
-
"hint": {
|
|
470
|
-
"type": "string",
|
|
471
|
-
"attribute": "hint",
|
|
472
|
-
"mutable": false,
|
|
473
|
-
"complexType": {
|
|
474
|
-
"original": "string",
|
|
475
|
-
"resolved": "string",
|
|
476
|
-
"references": {}
|
|
477
|
-
},
|
|
478
|
-
"required": false,
|
|
479
|
-
"optional": true,
|
|
480
|
-
"docs": {
|
|
481
|
-
"tags": [],
|
|
482
|
-
"text": "Optional text displayed below the `<textarea>`, providing \nadditional context or guidance to the user."
|
|
483
|
-
},
|
|
484
|
-
"getter": false,
|
|
485
|
-
"setter": false,
|
|
486
|
-
"reflect": false
|
|
487
|
-
},
|
|
488
|
-
"required": {
|
|
489
|
-
"type": "boolean",
|
|
490
|
-
"attribute": "required",
|
|
491
|
-
"mutable": false,
|
|
492
|
-
"complexType": {
|
|
493
|
-
"original": "boolean",
|
|
494
|
-
"resolved": "boolean",
|
|
495
|
-
"references": {}
|
|
496
|
-
},
|
|
497
|
-
"required": false,
|
|
498
|
-
"optional": true,
|
|
499
|
-
"docs": {
|
|
500
|
-
"tags": [],
|
|
501
|
-
"text": "Indicates that the `<textarea>` must be filled out \nbefore submitting the form."
|
|
502
|
-
},
|
|
503
|
-
"getter": false,
|
|
504
|
-
"setter": false,
|
|
505
|
-
"reflect": true
|
|
506
|
-
},
|
|
507
|
-
"valueMissingMessage": {
|
|
508
|
-
"type": "string",
|
|
509
|
-
"attribute": "value-missing-message",
|
|
510
|
-
"mutable": false,
|
|
511
|
-
"complexType": {
|
|
512
|
-
"original": "string",
|
|
513
|
-
"resolved": "string",
|
|
514
|
-
"references": {}
|
|
515
|
-
},
|
|
516
|
-
"required": false,
|
|
517
|
-
"optional": true,
|
|
518
|
-
"docs": {
|
|
519
|
-
"tags": [],
|
|
520
|
-
"text": "Custom message for `valueMissing` property of a ValidityState \nobject (set by `required`) within Constrain Validation API."
|
|
521
|
-
},
|
|
522
|
-
"getter": false,
|
|
523
|
-
"setter": false,
|
|
524
|
-
"reflect": false
|
|
525
|
-
},
|
|
526
|
-
"maxlength": {
|
|
527
|
-
"type": "number",
|
|
528
|
-
"attribute": "maxlength",
|
|
529
|
-
"mutable": false,
|
|
530
|
-
"complexType": {
|
|
531
|
-
"original": "number",
|
|
532
|
-
"resolved": "number",
|
|
533
|
-
"references": {}
|
|
534
|
-
},
|
|
535
|
-
"required": false,
|
|
536
|
-
"optional": true,
|
|
537
|
-
"docs": {
|
|
538
|
-
"tags": [],
|
|
539
|
-
"text": "Specifies the maximum number of characters allowed in the `<textarea>`,\nenforcing input length limits."
|
|
540
|
-
},
|
|
541
|
-
"getter": false,
|
|
542
|
-
"setter": false,
|
|
543
|
-
"reflect": false
|
|
544
|
-
},
|
|
545
|
-
"showCounter": {
|
|
546
|
-
"type": "boolean",
|
|
547
|
-
"attribute": "show-counter",
|
|
548
|
-
"mutable": false,
|
|
549
|
-
"complexType": {
|
|
550
|
-
"original": "boolean",
|
|
551
|
-
"resolved": "boolean",
|
|
552
|
-
"references": {}
|
|
553
|
-
},
|
|
554
|
-
"required": false,
|
|
555
|
-
"optional": true,
|
|
556
|
-
"docs": {
|
|
557
|
-
"tags": [],
|
|
558
|
-
"text": "Specifies if the character counter should be visible.\n\nNote: The counter will only be rendered when a `maxlength` value is provided."
|
|
559
|
-
},
|
|
560
|
-
"getter": false,
|
|
561
|
-
"setter": false,
|
|
562
|
-
"reflect": false
|
|
563
|
-
},
|
|
564
|
-
"characterLimitReachedMessage": {
|
|
565
|
-
"type": "string",
|
|
566
|
-
"attribute": "character-limit-reached-message",
|
|
567
|
-
"mutable": false,
|
|
568
|
-
"complexType": {
|
|
569
|
-
"original": "string",
|
|
570
|
-
"resolved": "string",
|
|
571
|
-
"references": {}
|
|
572
|
-
},
|
|
573
|
-
"required": false,
|
|
574
|
-
"optional": false,
|
|
575
|
-
"docs": {
|
|
576
|
-
"tags": [],
|
|
577
|
-
"text": "Custom message when the character limit is reached to alert screen reader users."
|
|
578
|
-
},
|
|
579
|
-
"getter": false,
|
|
580
|
-
"setter": false,
|
|
581
|
-
"reflect": false,
|
|
582
|
-
"defaultValue": "\"You've reached the character limit.\""
|
|
583
|
-
},
|
|
584
|
-
"tooLongMessage": {
|
|
585
|
-
"type": "string",
|
|
586
|
-
"attribute": "too-long-message",
|
|
587
|
-
"mutable": false,
|
|
588
|
-
"complexType": {
|
|
589
|
-
"original": "string",
|
|
590
|
-
"resolved": "string",
|
|
591
|
-
"references": {}
|
|
592
|
-
},
|
|
593
|
-
"required": false,
|
|
594
|
-
"optional": true,
|
|
595
|
-
"docs": {
|
|
596
|
-
"tags": [],
|
|
597
|
-
"text": "Custom message for `tooLong` property of a ValidityState \nobject (set by `maxlength`) within Constrain Validation API."
|
|
598
|
-
},
|
|
599
|
-
"getter": false,
|
|
600
|
-
"setter": false,
|
|
601
|
-
"reflect": false
|
|
602
|
-
},
|
|
603
|
-
"minlength": {
|
|
604
|
-
"type": "number",
|
|
605
|
-
"attribute": "minlength",
|
|
606
|
-
"mutable": false,
|
|
607
|
-
"complexType": {
|
|
608
|
-
"original": "number",
|
|
609
|
-
"resolved": "number",
|
|
610
|
-
"references": {}
|
|
611
|
-
},
|
|
612
|
-
"required": false,
|
|
613
|
-
"optional": true,
|
|
614
|
-
"docs": {
|
|
615
|
-
"tags": [],
|
|
616
|
-
"text": "Specifies the minimum number of characters required in the `<textarea>`, \nenforcing input length constraints."
|
|
617
|
-
},
|
|
618
|
-
"getter": false,
|
|
619
|
-
"setter": false,
|
|
620
|
-
"reflect": false
|
|
621
|
-
},
|
|
622
|
-
"tooShortMessage": {
|
|
623
|
-
"type": "string",
|
|
624
|
-
"attribute": "too-short-message",
|
|
625
|
-
"mutable": false,
|
|
626
|
-
"complexType": {
|
|
627
|
-
"original": "string",
|
|
628
|
-
"resolved": "string",
|
|
629
|
-
"references": {}
|
|
630
|
-
},
|
|
631
|
-
"required": false,
|
|
632
|
-
"optional": true,
|
|
633
|
-
"docs": {
|
|
634
|
-
"tags": [],
|
|
635
|
-
"text": "Set custom message for `tooShort` property of a ValidityState object \n(set by `minlength`) within Constrain Validation API"
|
|
636
|
-
},
|
|
637
|
-
"getter": false,
|
|
638
|
-
"setter": false,
|
|
639
|
-
"reflect": false
|
|
640
|
-
},
|
|
641
|
-
"customErrorMessage": {
|
|
642
|
-
"type": "string",
|
|
643
|
-
"attribute": "custom-error-message",
|
|
644
|
-
"mutable": false,
|
|
645
|
-
"complexType": {
|
|
646
|
-
"original": "string",
|
|
647
|
-
"resolved": "string",
|
|
648
|
-
"references": {}
|
|
649
|
-
},
|
|
650
|
-
"required": false,
|
|
651
|
-
"optional": true,
|
|
652
|
-
"docs": {
|
|
653
|
-
"tags": [],
|
|
654
|
-
"text": "Custom error message displayed for any validation failures in the `<textarea>`."
|
|
655
|
-
},
|
|
656
|
-
"getter": false,
|
|
657
|
-
"setter": false,
|
|
658
|
-
"reflect": false
|
|
659
|
-
},
|
|
660
|
-
"valid": {
|
|
661
|
-
"type": "boolean",
|
|
662
|
-
"attribute": "valid",
|
|
663
|
-
"mutable": true,
|
|
664
|
-
"complexType": {
|
|
665
|
-
"original": "boolean",
|
|
666
|
-
"resolved": "boolean",
|
|
667
|
-
"references": {}
|
|
668
|
-
},
|
|
669
|
-
"required": false,
|
|
670
|
-
"optional": true,
|
|
671
|
-
"docs": {
|
|
672
|
-
"tags": [],
|
|
673
|
-
"text": "Indicates whether the value of the `<textarea>` \nis valid based on validation rules."
|
|
674
|
-
},
|
|
675
|
-
"getter": false,
|
|
676
|
-
"setter": false,
|
|
677
|
-
"reflect": true
|
|
678
|
-
},
|
|
679
|
-
"invalid": {
|
|
680
|
-
"type": "boolean",
|
|
681
|
-
"attribute": "invalid",
|
|
682
|
-
"mutable": true,
|
|
683
|
-
"complexType": {
|
|
684
|
-
"original": "boolean",
|
|
685
|
-
"resolved": "boolean",
|
|
686
|
-
"references": {}
|
|
687
|
-
},
|
|
688
|
-
"required": false,
|
|
689
|
-
"optional": true,
|
|
690
|
-
"docs": {
|
|
691
|
-
"tags": [],
|
|
692
|
-
"text": "Indicates whether the value of the `<textarea>` \nis invalid based on validation rules."
|
|
693
|
-
},
|
|
694
|
-
"getter": false,
|
|
695
|
-
"setter": false,
|
|
696
|
-
"reflect": true
|
|
697
|
-
},
|
|
698
|
-
"error": {
|
|
699
|
-
"type": "string",
|
|
700
|
-
"attribute": "error",
|
|
701
|
-
"mutable": false,
|
|
702
|
-
"complexType": {
|
|
703
|
-
"original": "string",
|
|
704
|
-
"resolved": "string",
|
|
705
|
-
"references": {}
|
|
706
|
-
},
|
|
707
|
-
"required": false,
|
|
708
|
-
"optional": true,
|
|
709
|
-
"docs": {
|
|
710
|
-
"tags": [],
|
|
711
|
-
"text": "Custom error message provided independently of the \nConstraint Validation API for the `<textarea>`."
|
|
712
|
-
},
|
|
713
|
-
"getter": false,
|
|
714
|
-
"setter": false,
|
|
715
|
-
"reflect": false
|
|
716
|
-
},
|
|
717
|
-
"label": {
|
|
718
|
-
"type": "string",
|
|
719
|
-
"attribute": "label",
|
|
720
|
-
"mutable": false,
|
|
721
|
-
"complexType": {
|
|
722
|
-
"original": "string",
|
|
723
|
-
"resolved": "string",
|
|
724
|
-
"references": {}
|
|
725
|
-
},
|
|
726
|
-
"required": false,
|
|
727
|
-
"optional": true,
|
|
728
|
-
"docs": {
|
|
729
|
-
"tags": [],
|
|
730
|
-
"text": "Text displayed as the label above the `<textarea>`, \nindicating its purpose to the user."
|
|
731
|
-
},
|
|
732
|
-
"getter": false,
|
|
733
|
-
"setter": false,
|
|
734
|
-
"reflect": false
|
|
735
|
-
},
|
|
736
|
-
"fieldIndicator": {
|
|
737
|
-
"type": "string",
|
|
738
|
-
"attribute": "field-indicator",
|
|
739
|
-
"mutable": false,
|
|
740
|
-
"complexType": {
|
|
741
|
-
"original": "string",
|
|
742
|
-
"resolved": "string",
|
|
743
|
-
"references": {}
|
|
744
|
-
},
|
|
745
|
-
"required": false,
|
|
746
|
-
"optional": true,
|
|
747
|
-
"docs": {
|
|
748
|
-
"tags": [],
|
|
749
|
-
"text": "Text of an additional marker in the label"
|
|
750
|
-
},
|
|
751
|
-
"getter": false,
|
|
752
|
-
"setter": false,
|
|
753
|
-
"reflect": false
|
|
754
|
-
}
|
|
755
|
-
};
|
|
756
|
-
}
|
|
757
|
-
static get states() {
|
|
758
|
-
return {
|
|
759
|
-
"validityState": {},
|
|
760
|
-
"validityMessage": {}
|
|
761
|
-
};
|
|
762
|
-
}
|
|
763
|
-
static get events() {
|
|
764
|
-
return [{
|
|
765
|
-
"method": "rChange",
|
|
766
|
-
"name": "rChange",
|
|
767
|
-
"bubbles": true,
|
|
768
|
-
"cancelable": true,
|
|
769
|
-
"composed": true,
|
|
770
|
-
"docs": {
|
|
771
|
-
"tags": [],
|
|
772
|
-
"text": "Emits `rChange` when component's value has been changed"
|
|
773
|
-
},
|
|
774
|
-
"complexType": {
|
|
775
|
-
"original": "{\n element: HTMLRTextareaElement,\n value: any\n }",
|
|
776
|
-
"resolved": "{ element: HTMLRTextareaElement; value: any; }",
|
|
777
|
-
"references": {
|
|
778
|
-
"HTMLRTextareaElement": {
|
|
779
|
-
"location": "global",
|
|
780
|
-
"id": "global::HTMLRTextareaElement"
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
}, {
|
|
785
|
-
"method": "rInput",
|
|
786
|
-
"name": "rInput",
|
|
787
|
-
"bubbles": true,
|
|
788
|
-
"cancelable": true,
|
|
789
|
-
"composed": true,
|
|
790
|
-
"docs": {
|
|
791
|
-
"tags": [],
|
|
792
|
-
"text": "Emits `rInput` when component's value is changing"
|
|
793
|
-
},
|
|
794
|
-
"complexType": {
|
|
795
|
-
"original": "{\n element: HTMLRTextareaElement,\n value: any\n }",
|
|
796
|
-
"resolved": "{ element: HTMLRTextareaElement; value: any; }",
|
|
797
|
-
"references": {
|
|
798
|
-
"HTMLRTextareaElement": {
|
|
799
|
-
"location": "global",
|
|
800
|
-
"id": "global::HTMLRTextareaElement"
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
}, {
|
|
805
|
-
"method": "rReset",
|
|
806
|
-
"name": "rReset",
|
|
807
|
-
"bubbles": true,
|
|
808
|
-
"cancelable": true,
|
|
809
|
-
"composed": true,
|
|
810
|
-
"docs": {
|
|
811
|
-
"tags": [],
|
|
812
|
-
"text": "Emits `rReset` when component was reset to initial state by form reset"
|
|
813
|
-
},
|
|
814
|
-
"complexType": {
|
|
815
|
-
"original": "{\n element: HTMLRTextareaElement,\n value: any\n }",
|
|
816
|
-
"resolved": "{ element: HTMLRTextareaElement; value: any; }",
|
|
817
|
-
"references": {
|
|
818
|
-
"HTMLRTextareaElement": {
|
|
819
|
-
"location": "global",
|
|
820
|
-
"id": "global::HTMLRTextareaElement"
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
}
|
|
824
|
-
}, {
|
|
825
|
-
"method": "rValidate",
|
|
826
|
-
"name": "rValidate",
|
|
827
|
-
"bubbles": true,
|
|
828
|
-
"cancelable": true,
|
|
829
|
-
"composed": true,
|
|
830
|
-
"docs": {
|
|
831
|
-
"tags": [],
|
|
832
|
-
"text": "Emits event after each validation"
|
|
833
|
-
},
|
|
834
|
-
"complexType": {
|
|
835
|
-
"original": "{\n state: string,\n message: string\n }",
|
|
836
|
-
"resolved": "{ state: string; message: string; }",
|
|
837
|
-
"references": {}
|
|
838
|
-
}
|
|
839
|
-
}];
|
|
840
|
-
}
|
|
841
|
-
static get methods() {
|
|
842
|
-
return {
|
|
843
|
-
"setValue": {
|
|
844
|
-
"complexType": {
|
|
845
|
-
"signature": "(value: string) => Promise<void>",
|
|
846
|
-
"parameters": [{
|
|
847
|
-
"name": "value",
|
|
848
|
-
"type": "string",
|
|
849
|
-
"docs": ""
|
|
850
|
-
}],
|
|
851
|
-
"references": {
|
|
852
|
-
"Promise": {
|
|
853
|
-
"location": "global",
|
|
854
|
-
"id": "global::Promise"
|
|
855
|
-
}
|
|
856
|
-
},
|
|
857
|
-
"return": "Promise<void>"
|
|
858
|
-
},
|
|
859
|
-
"docs": {
|
|
860
|
-
"text": "Sets the value of the element.",
|
|
861
|
-
"tags": []
|
|
862
|
-
}
|
|
863
|
-
},
|
|
864
|
-
"getValue": {
|
|
865
|
-
"complexType": {
|
|
866
|
-
"signature": "() => Promise<string>",
|
|
867
|
-
"parameters": [],
|
|
868
|
-
"references": {
|
|
869
|
-
"Promise": {
|
|
870
|
-
"location": "global",
|
|
871
|
-
"id": "global::Promise"
|
|
872
|
-
}
|
|
873
|
-
},
|
|
874
|
-
"return": "Promise<string>"
|
|
875
|
-
},
|
|
876
|
-
"docs": {
|
|
877
|
-
"text": "Gets the value of the element.",
|
|
878
|
-
"tags": []
|
|
879
|
-
}
|
|
880
|
-
},
|
|
881
|
-
"reset": {
|
|
882
|
-
"complexType": {
|
|
883
|
-
"signature": "() => Promise<void>",
|
|
884
|
-
"parameters": [],
|
|
885
|
-
"references": {
|
|
886
|
-
"Promise": {
|
|
887
|
-
"location": "global",
|
|
888
|
-
"id": "global::Promise"
|
|
889
|
-
}
|
|
890
|
-
},
|
|
891
|
-
"return": "Promise<void>"
|
|
892
|
-
},
|
|
893
|
-
"docs": {
|
|
894
|
-
"text": "Resets value and validity state to initial.",
|
|
895
|
-
"tags": []
|
|
896
|
-
}
|
|
897
|
-
},
|
|
898
|
-
"setFocus": {
|
|
899
|
-
"complexType": {
|
|
900
|
-
"signature": "() => Promise<void>",
|
|
901
|
-
"parameters": [],
|
|
902
|
-
"references": {
|
|
903
|
-
"Promise": {
|
|
904
|
-
"location": "global",
|
|
905
|
-
"id": "global::Promise"
|
|
906
|
-
}
|
|
907
|
-
},
|
|
908
|
-
"return": "Promise<void>"
|
|
909
|
-
},
|
|
910
|
-
"docs": {
|
|
911
|
-
"text": "Sets focus on the element.",
|
|
912
|
-
"tags": []
|
|
913
|
-
}
|
|
914
|
-
},
|
|
915
|
-
"setBlur": {
|
|
916
|
-
"complexType": {
|
|
917
|
-
"signature": "() => Promise<void>",
|
|
918
|
-
"parameters": [],
|
|
919
|
-
"references": {
|
|
920
|
-
"Promise": {
|
|
921
|
-
"location": "global",
|
|
922
|
-
"id": "global::Promise"
|
|
923
|
-
}
|
|
924
|
-
},
|
|
925
|
-
"return": "Promise<void>"
|
|
926
|
-
},
|
|
927
|
-
"docs": {
|
|
928
|
-
"text": "Removes focus from the element.",
|
|
929
|
-
"tags": []
|
|
930
|
-
}
|
|
931
|
-
},
|
|
932
|
-
"setSelectionRange": {
|
|
933
|
-
"complexType": {
|
|
934
|
-
"signature": "(start: number, end: number, direction?: \"forward\" | \"backward\" | \"none\") => Promise<void>",
|
|
935
|
-
"parameters": [{
|
|
936
|
-
"name": "start",
|
|
937
|
-
"type": "number",
|
|
938
|
-
"docs": ""
|
|
939
|
-
}, {
|
|
940
|
-
"name": "end",
|
|
941
|
-
"type": "number",
|
|
942
|
-
"docs": ""
|
|
943
|
-
}, {
|
|
944
|
-
"name": "direction",
|
|
945
|
-
"type": "\"none\" | \"forward\" | \"backward\"",
|
|
946
|
-
"docs": ""
|
|
947
|
-
}],
|
|
948
|
-
"references": {
|
|
949
|
-
"Promise": {
|
|
950
|
-
"location": "global",
|
|
951
|
-
"id": "global::Promise"
|
|
952
|
-
}
|
|
953
|
-
},
|
|
954
|
-
"return": "Promise<void>"
|
|
955
|
-
},
|
|
956
|
-
"docs": {
|
|
957
|
-
"text": "Sets the start and end positions of the text selection.",
|
|
958
|
-
"tags": []
|
|
959
|
-
}
|
|
960
|
-
},
|
|
961
|
-
"setRangeText": {
|
|
962
|
-
"complexType": {
|
|
963
|
-
"signature": "(replacement: string, start: number, end: number, selectionMode?: \"select\" | \"start\" | \"end\" | \"preserve\") => Promise<void>",
|
|
964
|
-
"parameters": [{
|
|
965
|
-
"name": "replacement",
|
|
966
|
-
"type": "string",
|
|
967
|
-
"docs": ""
|
|
968
|
-
}, {
|
|
969
|
-
"name": "start",
|
|
970
|
-
"type": "number",
|
|
971
|
-
"docs": ""
|
|
972
|
-
}, {
|
|
973
|
-
"name": "end",
|
|
974
|
-
"type": "number",
|
|
975
|
-
"docs": ""
|
|
976
|
-
}, {
|
|
977
|
-
"name": "selectionMode",
|
|
978
|
-
"type": "\"select\" | \"start\" | \"end\" | \"preserve\"",
|
|
979
|
-
"docs": ""
|
|
980
|
-
}],
|
|
981
|
-
"references": {
|
|
982
|
-
"Promise": {
|
|
983
|
-
"location": "global",
|
|
984
|
-
"id": "global::Promise"
|
|
985
|
-
}
|
|
986
|
-
},
|
|
987
|
-
"return": "Promise<void>"
|
|
988
|
-
},
|
|
989
|
-
"docs": {
|
|
990
|
-
"text": "Replaces the current text selection with a new string.",
|
|
991
|
-
"tags": []
|
|
992
|
-
}
|
|
993
|
-
},
|
|
994
|
-
"setCustomValidity": {
|
|
995
|
-
"complexType": {
|
|
996
|
-
"signature": "(message: string) => Promise<void>",
|
|
997
|
-
"parameters": [{
|
|
998
|
-
"name": "message",
|
|
999
|
-
"type": "string",
|
|
1000
|
-
"docs": ""
|
|
1001
|
-
}],
|
|
1002
|
-
"references": {
|
|
1003
|
-
"Promise": {
|
|
1004
|
-
"location": "global",
|
|
1005
|
-
"id": "global::Promise"
|
|
1006
|
-
}
|
|
1007
|
-
},
|
|
1008
|
-
"return": "Promise<void>"
|
|
1009
|
-
},
|
|
1010
|
-
"docs": {
|
|
1011
|
-
"text": "Validates an element, displays provided message in case value is invalid.",
|
|
1012
|
-
"tags": []
|
|
1013
|
-
}
|
|
1014
|
-
},
|
|
1015
|
-
"checkValidity": {
|
|
1016
|
-
"complexType": {
|
|
1017
|
-
"signature": "() => Promise<boolean>",
|
|
1018
|
-
"parameters": [],
|
|
1019
|
-
"references": {
|
|
1020
|
-
"Promise": {
|
|
1021
|
-
"location": "global",
|
|
1022
|
-
"id": "global::Promise"
|
|
1023
|
-
}
|
|
1024
|
-
},
|
|
1025
|
-
"return": "Promise<boolean>"
|
|
1026
|
-
},
|
|
1027
|
-
"docs": {
|
|
1028
|
-
"text": "Validates the textarea without triggering UI and returns a boolean indicating its validity.",
|
|
1029
|
-
"tags": [{
|
|
1030
|
-
"name": "returns",
|
|
1031
|
-
"text": "A boolean indicating whether the textarea is valid."
|
|
1032
|
-
}]
|
|
1033
|
-
}
|
|
1034
|
-
},
|
|
1035
|
-
"reportValidity": {
|
|
1036
|
-
"complexType": {
|
|
1037
|
-
"signature": "() => Promise<void>",
|
|
1038
|
-
"parameters": [],
|
|
1039
|
-
"references": {
|
|
1040
|
-
"Promise": {
|
|
1041
|
-
"location": "global",
|
|
1042
|
-
"id": "global::Promise"
|
|
1043
|
-
}
|
|
1044
|
-
},
|
|
1045
|
-
"return": "Promise<void>"
|
|
1046
|
-
},
|
|
1047
|
-
"docs": {
|
|
1048
|
-
"text": "Validates an element and displays validity state.",
|
|
1049
|
-
"tags": []
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
};
|
|
1053
|
-
}
|
|
1054
|
-
static get elementRef() { return "host"; }
|
|
1055
|
-
}
|