@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,1572 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { appendControlToFormData } from "../../utils/formData";
|
|
3
|
-
export class RInput {
|
|
4
|
-
constructor() {
|
|
5
|
-
/**
|
|
6
|
-
* Input type (e.g. `text`, `email`, `number`, `password`).
|
|
7
|
-
* See HTMLInputElement `type` for supported values.
|
|
8
|
-
*/
|
|
9
|
-
this.type = 'text';
|
|
10
|
-
/**
|
|
11
|
-
* Current value. Mutable: can be changed programmatically or through user input.
|
|
12
|
-
*/
|
|
13
|
-
this.value = '';
|
|
14
|
-
/**
|
|
15
|
-
* When `true` field renders valid/invalid marker within.
|
|
16
|
-
*/
|
|
17
|
-
this.validityMarker = true;
|
|
18
|
-
/** Validity state passed from validateFormElement function after validation */
|
|
19
|
-
this.validityState = '';
|
|
20
|
-
/** Validity message passed from validateFormElement function after validation */
|
|
21
|
-
this.validityMessage = '';
|
|
22
|
-
/** Defines if the component has been touched by user */
|
|
23
|
-
this.touched = false;
|
|
24
|
-
/** Defines if the value has been changed by user interaction */
|
|
25
|
-
this.dirty = false;
|
|
26
|
-
/** Private flag to prevent validation during reset */
|
|
27
|
-
this.isResetting = false;
|
|
28
|
-
this.nativeElement = null;
|
|
29
|
-
this.uniqueId = `r-input-${Date.now().toString(32)}${Math.random().toString(32)}`.replace(/\./g, '');
|
|
30
|
-
/**
|
|
31
|
-
* Initial attributes state
|
|
32
|
-
* */
|
|
33
|
-
this.initial = {};
|
|
34
|
-
this.getValidityStateData = (element) => {
|
|
35
|
-
let validityState = '';
|
|
36
|
-
let validityMessage = '';
|
|
37
|
-
if (this.type === 'email' && this.pattern) {
|
|
38
|
-
element.setCustomValidity('');
|
|
39
|
-
validityState = this.validEmailPattern ? 'valid' : 'patternMismatch';
|
|
40
|
-
validityMessage = this.validEmailPattern ? '' : this.patternMismatchMessage;
|
|
41
|
-
return { validityState, validityMessage };
|
|
42
|
-
}
|
|
43
|
-
for (const state in element.validity) {
|
|
44
|
-
if (element.validity[state]) {
|
|
45
|
-
validityState = state;
|
|
46
|
-
const customMessage = this[state + 'Message'];
|
|
47
|
-
if (customMessage) {
|
|
48
|
-
validityMessage = customMessage;
|
|
49
|
-
return { validityState, validityMessage };
|
|
50
|
-
}
|
|
51
|
-
validityMessage = element.validationMessage;
|
|
52
|
-
// Found an error, use it even if no custom message
|
|
53
|
-
return { validityState, validityMessage };
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
// No errors found, field is valid
|
|
57
|
-
return { validityState: 'valid', validityMessage: '' };
|
|
58
|
-
};
|
|
59
|
-
this.validateFormElement = (element) => {
|
|
60
|
-
if (element === null)
|
|
61
|
-
return;
|
|
62
|
-
if (this.isNoValidate)
|
|
63
|
-
return;
|
|
64
|
-
if (this.error)
|
|
65
|
-
return;
|
|
66
|
-
// Trigger browser validation to populate validity states
|
|
67
|
-
if (element.checkValidity) {
|
|
68
|
-
element.checkValidity();
|
|
69
|
-
}
|
|
70
|
-
const { validityState, validityMessage } = this.getValidityStateData(element);
|
|
71
|
-
this.validityState = validityState;
|
|
72
|
-
this.validityMessage = validityMessage;
|
|
73
|
-
const isValid = this.validityState === 'valid';
|
|
74
|
-
this.valid = isValid;
|
|
75
|
-
this.invalid = !isValid;
|
|
76
|
-
this.rValidate.emit({
|
|
77
|
-
state: this.validityState,
|
|
78
|
-
message: this.validityMessage
|
|
79
|
-
});
|
|
80
|
-
};
|
|
81
|
-
this.onInput = (event) => {
|
|
82
|
-
if (this.readonly)
|
|
83
|
-
return;
|
|
84
|
-
this.value = event.target.value;
|
|
85
|
-
this.touched = true;
|
|
86
|
-
this.dirty = true;
|
|
87
|
-
const { host, value } = this;
|
|
88
|
-
this.rInput.emit({ element: host, value });
|
|
89
|
-
};
|
|
90
|
-
this.onChange = event => {
|
|
91
|
-
if (this.readonly)
|
|
92
|
-
return;
|
|
93
|
-
this.value = event.target.value;
|
|
94
|
-
this.touched = true;
|
|
95
|
-
this.dirty = true;
|
|
96
|
-
const { host, value } = this;
|
|
97
|
-
this.rChange.emit({ element: host, value });
|
|
98
|
-
};
|
|
99
|
-
this.onBlur = () => {
|
|
100
|
-
this.host.classList.remove('focused');
|
|
101
|
-
this.touched = true;
|
|
102
|
-
this.validateFormElement(this.nativeElement);
|
|
103
|
-
this.rBlur.emit();
|
|
104
|
-
};
|
|
105
|
-
this.onFocus = () => {
|
|
106
|
-
this.host.classList.add('focused');
|
|
107
|
-
this.rFocus.emit();
|
|
108
|
-
};
|
|
109
|
-
this.contributeToFormData = (event) => {
|
|
110
|
-
appendControlToFormData(this.nativeElement || this.host, event.formData);
|
|
111
|
-
};
|
|
112
|
-
this.onResetForm = () => {
|
|
113
|
-
if (this.readonly)
|
|
114
|
-
return;
|
|
115
|
-
this.isResetting = true;
|
|
116
|
-
this.markAsPristine();
|
|
117
|
-
this.validityState = null;
|
|
118
|
-
this.validityMessage = null;
|
|
119
|
-
// Restore initial value without triggering validation
|
|
120
|
-
if (this.nativeElement) {
|
|
121
|
-
this.nativeElement.value = this.initial['value'] || '';
|
|
122
|
-
}
|
|
123
|
-
this.value = this.initial['value'];
|
|
124
|
-
this.invalid = this.initial['invalid'];
|
|
125
|
-
this.valid = !this.invalid;
|
|
126
|
-
this.isResetting = false;
|
|
127
|
-
const { host, value } = this;
|
|
128
|
-
this.rReset.emit({ element: host, value });
|
|
129
|
-
};
|
|
130
|
-
this.onSubmitForm = (event) => {
|
|
131
|
-
if (this.isNoValidate)
|
|
132
|
-
return;
|
|
133
|
-
this.touched = true;
|
|
134
|
-
this.validateFormElement(this.nativeElement);
|
|
135
|
-
if (this.invalid) {
|
|
136
|
-
event.preventDefault();
|
|
137
|
-
event.stopPropagation();
|
|
138
|
-
}
|
|
139
|
-
};
|
|
140
|
-
this.handleKeyup = (event) => {
|
|
141
|
-
var _a, _b;
|
|
142
|
-
this.validateFormElement(this.nativeElement);
|
|
143
|
-
if (this.invalid && !this.isNoValidate)
|
|
144
|
-
return;
|
|
145
|
-
if (event.code === 'Enter') {
|
|
146
|
-
const submitEl = this.host.querySelector('[type="submit"]') ||
|
|
147
|
-
((_a = this.parentFormEl) === null || _a === void 0 ? void 0 : _a.querySelector('[type="submit"]'));
|
|
148
|
-
if (submitEl && 'triggerClick' in submitEl) {
|
|
149
|
-
submitEl === null || submitEl === void 0 ? void 0 : submitEl.triggerClick();
|
|
150
|
-
}
|
|
151
|
-
else {
|
|
152
|
-
(_b = this.parentFormEl) === null || _b === void 0 ? void 0 : _b.requestSubmit();
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
};
|
|
156
|
-
this.handleClick = () => {
|
|
157
|
-
this.host.shadowRoot.querySelector('input').focus();
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* Programmatically focus the native input element.
|
|
162
|
-
*/
|
|
163
|
-
async setFocus() {
|
|
164
|
-
var _a;
|
|
165
|
-
(_a = this.nativeElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* Programmatically remove focus from the native input.
|
|
169
|
-
*/
|
|
170
|
-
async setBlur() {
|
|
171
|
-
var _a;
|
|
172
|
-
(_a = this.nativeElement) === null || _a === void 0 ? void 0 : _a.blur();
|
|
173
|
-
}
|
|
174
|
-
/**
|
|
175
|
-
* Select (highlight) the entire current input value.
|
|
176
|
-
*/
|
|
177
|
-
async select() {
|
|
178
|
-
var _a;
|
|
179
|
-
(_a = this.nativeElement) === null || _a === void 0 ? void 0 : _a.select();
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* Get the start index of the current text selection (or null if unavailable).
|
|
183
|
-
*/
|
|
184
|
-
async getSelectionStart() {
|
|
185
|
-
var _a, _b;
|
|
186
|
-
return (_b = (_a = this.nativeElement) === null || _a === void 0 ? void 0 : _a.selectionStart) !== null && _b !== void 0 ? _b : null;
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Get the end index of the current text selection (or null if unavailable).
|
|
190
|
-
*/
|
|
191
|
-
async getSelectionEnd() {
|
|
192
|
-
var _a, _b;
|
|
193
|
-
return (_b = (_a = this.nativeElement) === null || _a === void 0 ? void 0 : _a.selectionEnd) !== null && _b !== void 0 ? _b : null;
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* Set a selection (or caret) range within the value.
|
|
197
|
-
* @param start Start index (inclusive)
|
|
198
|
-
* @param end End index (exclusive)
|
|
199
|
-
* @param direction Selection direction (browser hint)
|
|
200
|
-
*/
|
|
201
|
-
async setSelectionRange(start, end, direction = 'none') {
|
|
202
|
-
if (this.nativeElement) {
|
|
203
|
-
this.nativeElement.setSelectionRange(start, end, direction);
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
/**
|
|
207
|
-
* Retrieve the current value (returns empty string if unset).
|
|
208
|
-
*/
|
|
209
|
-
async getValue() {
|
|
210
|
-
var _a;
|
|
211
|
-
return ((_a = this.nativeElement) === null || _a === void 0 ? void 0 : _a.value) || '';
|
|
212
|
-
}
|
|
213
|
-
/**
|
|
214
|
-
* Set the current value programmatically (does not fire native input/change automatically).
|
|
215
|
-
*/
|
|
216
|
-
async setValue(value) {
|
|
217
|
-
if (this.nativeElement) {
|
|
218
|
-
this.nativeElement.value = value;
|
|
219
|
-
}
|
|
220
|
-
this.value = value;
|
|
221
|
-
this.validateFormElement(this.nativeElement);
|
|
222
|
-
}
|
|
223
|
-
/**
|
|
224
|
-
* Validates the input without triggering UI and returns a boolean indicating its validity.
|
|
225
|
-
* @returns A boolean indicating whether the input is valid.
|
|
226
|
-
*/
|
|
227
|
-
async checkValidity() {
|
|
228
|
-
const { validityState } = this.getValidityStateData(this.nativeElement);
|
|
229
|
-
return validityState === 'valid';
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* Gets the touched state (whether user has interacted with the input)
|
|
233
|
-
*/
|
|
234
|
-
async isTouched() {
|
|
235
|
-
return this.touched;
|
|
236
|
-
}
|
|
237
|
-
/**
|
|
238
|
-
* Gets the dirty state (whether value has been changed by user)
|
|
239
|
-
*/
|
|
240
|
-
async isDirty() {
|
|
241
|
-
return this.dirty;
|
|
242
|
-
}
|
|
243
|
-
/**
|
|
244
|
-
* Resets touched and dirty states to pristine (untouched/clean)
|
|
245
|
-
*/
|
|
246
|
-
async markAsPristine() {
|
|
247
|
-
this.touched = false;
|
|
248
|
-
this.dirty = false;
|
|
249
|
-
}
|
|
250
|
-
/** Identify wrapping form element */
|
|
251
|
-
get parentFormEl() {
|
|
252
|
-
return this.host.closest('form') || document.querySelector(`#${this.form}`) || null;
|
|
253
|
-
}
|
|
254
|
-
get ariaDescribedBy() {
|
|
255
|
-
const describedBy = `${this.uniqueId}-message`;
|
|
256
|
-
return this.hint ? `${this.uniqueId}-hint ${describedBy}` : describedBy;
|
|
257
|
-
}
|
|
258
|
-
get hasError() {
|
|
259
|
-
var _a;
|
|
260
|
-
return this.invalid && !!((_a = this.error) === null || _a === void 0 ? void 0 : _a.length);
|
|
261
|
-
}
|
|
262
|
-
get hasValidationError() {
|
|
263
|
-
return (this.validityState !== 'valid' || this.invalid) && !!(this.validityMessage || this.customErrorMessage);
|
|
264
|
-
}
|
|
265
|
-
get hasMessage() {
|
|
266
|
-
return this.hasError || this.hasValidationError;
|
|
267
|
-
}
|
|
268
|
-
/**
|
|
269
|
-
* Determine whether this element should be ignored
|
|
270
|
-
* during Constraint Validation API validation.
|
|
271
|
-
* */
|
|
272
|
-
get isNoValidate() {
|
|
273
|
-
var _a;
|
|
274
|
-
return (((_a = this.parentFormEl) === null || _a === void 0 ? void 0 : _a.hasAttribute('novalidate')) ||
|
|
275
|
-
this.novalidate ||
|
|
276
|
-
false);
|
|
277
|
-
}
|
|
278
|
-
get hasTrailingSlot() {
|
|
279
|
-
return !!this.host.querySelector('[slot="trailing"]');
|
|
280
|
-
}
|
|
281
|
-
get validEmailPattern() {
|
|
282
|
-
const regex = new RegExp(this.pattern, 'u');
|
|
283
|
-
return regex.test(this.value);
|
|
284
|
-
}
|
|
285
|
-
componentWillLoad() {
|
|
286
|
-
this.initial['value'] = this.value;
|
|
287
|
-
this.initial['invalid'] = this.invalid;
|
|
288
|
-
}
|
|
289
|
-
connectFormEventListeners() {
|
|
290
|
-
var _a, _b, _c;
|
|
291
|
-
(_a = this.parentFormEl) === null || _a === void 0 ? void 0 : _a.addEventListener('formdata', this.contributeToFormData);
|
|
292
|
-
(_b = this.parentFormEl) === null || _b === void 0 ? void 0 : _b.addEventListener('submit', this.onSubmitForm, { capture: true });
|
|
293
|
-
(_c = this.parentFormEl) === null || _c === void 0 ? void 0 : _c.addEventListener('reset', this.onResetForm);
|
|
294
|
-
}
|
|
295
|
-
disconnectFormEventListeners() {
|
|
296
|
-
var _a, _b, _c;
|
|
297
|
-
(_a = this.parentFormEl) === null || _a === void 0 ? void 0 : _a.removeEventListener('formdata', this.contributeToFormData);
|
|
298
|
-
(_b = this.parentFormEl) === null || _b === void 0 ? void 0 : _b.removeEventListener('submit', this.onSubmitForm);
|
|
299
|
-
(_c = this.parentFormEl) === null || _c === void 0 ? void 0 : _c.removeEventListener('reset', this.onResetForm);
|
|
300
|
-
}
|
|
301
|
-
connectedCallback() {
|
|
302
|
-
this.connectFormEventListeners();
|
|
303
|
-
!!this.autofocus && queueMicrotask(() => { var _a; return (_a = this.host.querySelector('input[autofocus]')) === null || _a === void 0 ? void 0 : _a.focus({ preventScroll: true }); });
|
|
304
|
-
}
|
|
305
|
-
disconnectedCallback() {
|
|
306
|
-
this.disconnectFormEventListeners();
|
|
307
|
-
}
|
|
308
|
-
handleValueChange() {
|
|
309
|
-
if (!this.isResetting) {
|
|
310
|
-
this.validateFormElement(this.nativeElement);
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
handleTypeChange() {
|
|
314
|
-
this.setValue(this.nativeElement.value);
|
|
315
|
-
}
|
|
316
|
-
render() {
|
|
317
|
-
const { name, placeholder, required, fieldIndicator, maxlength, minlength, min, max, value, disabled, form, pattern, invalid, valid, hint, label, internal, uniqueId, autocomplete, readonly, autofocus, passwordrules, enterkeyhint, spellcheck, autocapitalize, validityMarker } = this;
|
|
318
|
-
const inputAttrs = {
|
|
319
|
-
disabled,
|
|
320
|
-
readonly,
|
|
321
|
-
required,
|
|
322
|
-
label,
|
|
323
|
-
name,
|
|
324
|
-
placeholder,
|
|
325
|
-
maxlength,
|
|
326
|
-
minlength,
|
|
327
|
-
min,
|
|
328
|
-
max,
|
|
329
|
-
form,
|
|
330
|
-
pattern,
|
|
331
|
-
autocomplete,
|
|
332
|
-
autofocus: autofocus || null,
|
|
333
|
-
passwordrules,
|
|
334
|
-
enterkeyhint,
|
|
335
|
-
autocapitalize,
|
|
336
|
-
spellcheck,
|
|
337
|
-
inputmode: this.inputmode || null,
|
|
338
|
-
id: uniqueId,
|
|
339
|
-
'data-value': value,
|
|
340
|
-
'aria-placeholder': placeholder,
|
|
341
|
-
'aria-invalid': `${invalid || false}`,
|
|
342
|
-
'aria-required': `${required || false}`,
|
|
343
|
-
'aria-describedby': this.ariaDescribedBy
|
|
344
|
-
};
|
|
345
|
-
const labelAttr = label ? {
|
|
346
|
-
id: `${uniqueId}-label`,
|
|
347
|
-
fieldIndicator
|
|
348
|
-
} : {};
|
|
349
|
-
const renderValidationMarker = () => {
|
|
350
|
-
const icons = {
|
|
351
|
-
valid: 'circled-check',
|
|
352
|
-
invalid: 'circled-exclamation-mark'
|
|
353
|
-
};
|
|
354
|
-
const colors = {
|
|
355
|
-
valid: '--r-status-success-regular',
|
|
356
|
-
invalid: '--r-status-error-regular'
|
|
357
|
-
};
|
|
358
|
-
const shouldShowValidMarker = !!validityMarker && !!valid && !!value;
|
|
359
|
-
const shouldShowInvalidMarker = !!validityMarker && !!invalid;
|
|
360
|
-
if (!shouldShowValidMarker && !shouldShowInvalidMarker)
|
|
361
|
-
return null;
|
|
362
|
-
const iconName = shouldShowInvalidMarker ? icons.invalid : icons.valid;
|
|
363
|
-
const iconColor = shouldShowInvalidMarker ? colors.invalid : colors.valid;
|
|
364
|
-
return h("r-icon", { class: "r-input--validation-icon", "aria-hidden": "true", size: "s", name: iconName, color: iconColor });
|
|
365
|
-
};
|
|
366
|
-
// Filter out event listener properties based on naming convention.
|
|
367
|
-
// Pass them to native element.
|
|
368
|
-
const eventListeners = Object.entries(this).reduce((acc, [key, value]) => {
|
|
369
|
-
if (typeof value === 'function' && key.startsWith('on')) {
|
|
370
|
-
acc[key] = value;
|
|
371
|
-
}
|
|
372
|
-
return acc;
|
|
373
|
-
}, {});
|
|
374
|
-
return (h(Host, { onClick: this.handleClick, onKeyup: this.handleKeyup, "data-touched": `${this.touched}`, "data-dirty": `${this.dirty}` }, h("div", { class: internal ? 'visually-hidden' : 'r-input--label-container' }, h("label", { htmlFor: uniqueId }, label ?
|
|
375
|
-
h("r-label", Object.assign({ class: "r-input--label" }, labelAttr), label)
|
|
376
|
-
:
|
|
377
|
-
h("slot", { name: "label" })), h("slot", { name: "popover" })), hint &&
|
|
378
|
-
h("r-hint", { id: `${uniqueId}-hint`, role: "note" }, hint), h("div", { class: "r-input--container" }, h("slot", { name: "leading" }), h("input", Object.assign({ class: "r-input--input", type: this.type }, inputAttrs, eventListeners, { ref: el => this.nativeElement = el, value: this.value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus })), h("div", { class: "r-input--trailing" }, this.readonly &&
|
|
379
|
-
h("r-icon", { class: "r-input--readonly-icon", name: "pen-disabled", size: "s" }), renderValidationMarker(), this.hasTrailingSlot &&
|
|
380
|
-
h("slot", { name: "trailing" }))), h("div", { id: `${uniqueId}-message`, "aria-live": !internal ? 'polite' : null, class: !internal ? 'r-input--message' : 'visually-hidden' }, h("slot", { name: "message" }, this.hasMessage && h("r-hint", { variant: valid ? 'success' : 'error' }, this.hasError && this.error, this.hasValidationError && (this.customErrorMessage || this.validityMessage))))));
|
|
381
|
-
}
|
|
382
|
-
static get is() { return "r-input"; }
|
|
383
|
-
static get encapsulation() { return "shadow"; }
|
|
384
|
-
static get originalStyleUrls() {
|
|
385
|
-
return {
|
|
386
|
-
"$": ["input.css"]
|
|
387
|
-
};
|
|
388
|
-
}
|
|
389
|
-
static get styleUrls() {
|
|
390
|
-
return {
|
|
391
|
-
"$": ["input.css"]
|
|
392
|
-
};
|
|
393
|
-
}
|
|
394
|
-
static get properties() {
|
|
395
|
-
return {
|
|
396
|
-
"form": {
|
|
397
|
-
"type": "string",
|
|
398
|
-
"attribute": "form",
|
|
399
|
-
"mutable": false,
|
|
400
|
-
"complexType": {
|
|
401
|
-
"original": "string",
|
|
402
|
-
"resolved": "string",
|
|
403
|
-
"references": {}
|
|
404
|
-
},
|
|
405
|
-
"required": false,
|
|
406
|
-
"optional": true,
|
|
407
|
-
"docs": {
|
|
408
|
-
"tags": [],
|
|
409
|
-
"text": "ID of the form this input is associated with (mirrors native `form` attribute).\nUse when the input is not a direct descendant of the target form element."
|
|
410
|
-
},
|
|
411
|
-
"getter": false,
|
|
412
|
-
"setter": false,
|
|
413
|
-
"reflect": false
|
|
414
|
-
},
|
|
415
|
-
"novalidate": {
|
|
416
|
-
"type": "boolean",
|
|
417
|
-
"attribute": "novalidate",
|
|
418
|
-
"mutable": false,
|
|
419
|
-
"complexType": {
|
|
420
|
-
"original": "boolean",
|
|
421
|
-
"resolved": "boolean",
|
|
422
|
-
"references": {}
|
|
423
|
-
},
|
|
424
|
-
"required": false,
|
|
425
|
-
"optional": true,
|
|
426
|
-
"docs": {
|
|
427
|
-
"tags": [],
|
|
428
|
-
"text": "If set, the field is skipped by built\u2011in (Constraint Validation API) validation logic.\nDoes not prevent custom validation you may trigger manually."
|
|
429
|
-
},
|
|
430
|
-
"getter": false,
|
|
431
|
-
"setter": false,
|
|
432
|
-
"reflect": false
|
|
433
|
-
},
|
|
434
|
-
"type": {
|
|
435
|
-
"type": "string",
|
|
436
|
-
"attribute": "type",
|
|
437
|
-
"mutable": false,
|
|
438
|
-
"complexType": {
|
|
439
|
-
"original": "InputType",
|
|
440
|
-
"resolved": "\"email\" | \"number\" | \"password\" | \"search\" | \"tel\" | \"text\" | \"url\"",
|
|
441
|
-
"references": {
|
|
442
|
-
"InputType": {
|
|
443
|
-
"location": "import",
|
|
444
|
-
"path": "./exports",
|
|
445
|
-
"id": "src/components/input/exports.ts::InputType"
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
},
|
|
449
|
-
"required": false,
|
|
450
|
-
"optional": false,
|
|
451
|
-
"docs": {
|
|
452
|
-
"tags": [],
|
|
453
|
-
"text": "Input type (e.g. `text`, `email`, `number`, `password`).\nSee HTMLInputElement `type` for supported values."
|
|
454
|
-
},
|
|
455
|
-
"getter": false,
|
|
456
|
-
"setter": false,
|
|
457
|
-
"reflect": true,
|
|
458
|
-
"defaultValue": "'text'"
|
|
459
|
-
},
|
|
460
|
-
"name": {
|
|
461
|
-
"type": "string",
|
|
462
|
-
"attribute": "name",
|
|
463
|
-
"mutable": false,
|
|
464
|
-
"complexType": {
|
|
465
|
-
"original": "string",
|
|
466
|
-
"resolved": "string",
|
|
467
|
-
"references": {}
|
|
468
|
-
},
|
|
469
|
-
"required": false,
|
|
470
|
-
"optional": false,
|
|
471
|
-
"docs": {
|
|
472
|
-
"tags": [],
|
|
473
|
-
"text": "Name used when contributing the value to form submission (`FormData` / POST body)."
|
|
474
|
-
},
|
|
475
|
-
"getter": false,
|
|
476
|
-
"setter": false,
|
|
477
|
-
"reflect": true
|
|
478
|
-
},
|
|
479
|
-
"value": {
|
|
480
|
-
"type": "string",
|
|
481
|
-
"attribute": "value",
|
|
482
|
-
"mutable": true,
|
|
483
|
-
"complexType": {
|
|
484
|
-
"original": "string | null",
|
|
485
|
-
"resolved": "string",
|
|
486
|
-
"references": {}
|
|
487
|
-
},
|
|
488
|
-
"required": false,
|
|
489
|
-
"optional": true,
|
|
490
|
-
"docs": {
|
|
491
|
-
"tags": [],
|
|
492
|
-
"text": "Current value. Mutable: can be changed programmatically or through user input."
|
|
493
|
-
},
|
|
494
|
-
"getter": false,
|
|
495
|
-
"setter": false,
|
|
496
|
-
"reflect": true,
|
|
497
|
-
"defaultValue": "''"
|
|
498
|
-
},
|
|
499
|
-
"placeholder": {
|
|
500
|
-
"type": "string",
|
|
501
|
-
"attribute": "placeholder",
|
|
502
|
-
"mutable": false,
|
|
503
|
-
"complexType": {
|
|
504
|
-
"original": "string",
|
|
505
|
-
"resolved": "string",
|
|
506
|
-
"references": {}
|
|
507
|
-
},
|
|
508
|
-
"required": false,
|
|
509
|
-
"optional": true,
|
|
510
|
-
"docs": {
|
|
511
|
-
"tags": [],
|
|
512
|
-
"text": "Placeholder hint text shown when the field is empty and unfocused."
|
|
513
|
-
},
|
|
514
|
-
"getter": false,
|
|
515
|
-
"setter": false,
|
|
516
|
-
"reflect": false
|
|
517
|
-
},
|
|
518
|
-
"label": {
|
|
519
|
-
"type": "string",
|
|
520
|
-
"attribute": "label",
|
|
521
|
-
"mutable": false,
|
|
522
|
-
"complexType": {
|
|
523
|
-
"original": "string",
|
|
524
|
-
"resolved": "string",
|
|
525
|
-
"references": {}
|
|
526
|
-
},
|
|
527
|
-
"required": true,
|
|
528
|
-
"optional": false,
|
|
529
|
-
"docs": {
|
|
530
|
-
"tags": [],
|
|
531
|
-
"text": "Label text describing the field. Provide for accessibility (or use the `label` slot)."
|
|
532
|
-
},
|
|
533
|
-
"getter": false,
|
|
534
|
-
"setter": false,
|
|
535
|
-
"reflect": true
|
|
536
|
-
},
|
|
537
|
-
"fieldIndicator": {
|
|
538
|
-
"type": "string",
|
|
539
|
-
"attribute": "field-indicator",
|
|
540
|
-
"mutable": false,
|
|
541
|
-
"complexType": {
|
|
542
|
-
"original": "string",
|
|
543
|
-
"resolved": "string",
|
|
544
|
-
"references": {}
|
|
545
|
-
},
|
|
546
|
-
"required": false,
|
|
547
|
-
"optional": true,
|
|
548
|
-
"docs": {
|
|
549
|
-
"tags": [],
|
|
550
|
-
"text": "Small marker string appended to the label (e.g. \u201COptional\u201D, localized markers, etc.)."
|
|
551
|
-
},
|
|
552
|
-
"getter": false,
|
|
553
|
-
"setter": false,
|
|
554
|
-
"reflect": false
|
|
555
|
-
},
|
|
556
|
-
"internal": {
|
|
557
|
-
"type": "boolean",
|
|
558
|
-
"attribute": "internal",
|
|
559
|
-
"mutable": false,
|
|
560
|
-
"complexType": {
|
|
561
|
-
"original": "boolean",
|
|
562
|
-
"resolved": "boolean",
|
|
563
|
-
"references": {}
|
|
564
|
-
},
|
|
565
|
-
"required": false,
|
|
566
|
-
"optional": true,
|
|
567
|
-
"docs": {
|
|
568
|
-
"tags": [],
|
|
569
|
-
"text": "When true, hides visual label & messages (for internal layout use; accessibility still preserved)."
|
|
570
|
-
},
|
|
571
|
-
"getter": false,
|
|
572
|
-
"setter": false,
|
|
573
|
-
"reflect": true
|
|
574
|
-
},
|
|
575
|
-
"hint": {
|
|
576
|
-
"type": "string",
|
|
577
|
-
"attribute": "hint",
|
|
578
|
-
"mutable": false,
|
|
579
|
-
"complexType": {
|
|
580
|
-
"original": "string",
|
|
581
|
-
"resolved": "string",
|
|
582
|
-
"references": {}
|
|
583
|
-
},
|
|
584
|
-
"required": false,
|
|
585
|
-
"optional": true,
|
|
586
|
-
"docs": {
|
|
587
|
-
"tags": [],
|
|
588
|
-
"text": "Optional contextual help text displayed beneath the field."
|
|
589
|
-
},
|
|
590
|
-
"getter": false,
|
|
591
|
-
"setter": false,
|
|
592
|
-
"reflect": false
|
|
593
|
-
},
|
|
594
|
-
"fullWidth": {
|
|
595
|
-
"type": "boolean",
|
|
596
|
-
"attribute": "full-width",
|
|
597
|
-
"mutable": false,
|
|
598
|
-
"complexType": {
|
|
599
|
-
"original": "boolean",
|
|
600
|
-
"resolved": "boolean",
|
|
601
|
-
"references": {}
|
|
602
|
-
},
|
|
603
|
-
"required": false,
|
|
604
|
-
"optional": true,
|
|
605
|
-
"docs": {
|
|
606
|
-
"tags": [],
|
|
607
|
-
"text": "When true, stretches the component horizontally to fill its container."
|
|
608
|
-
},
|
|
609
|
-
"getter": false,
|
|
610
|
-
"setter": false,
|
|
611
|
-
"reflect": true
|
|
612
|
-
},
|
|
613
|
-
"valid": {
|
|
614
|
-
"type": "boolean",
|
|
615
|
-
"attribute": "valid",
|
|
616
|
-
"mutable": true,
|
|
617
|
-
"complexType": {
|
|
618
|
-
"original": "boolean",
|
|
619
|
-
"resolved": "boolean",
|
|
620
|
-
"references": {}
|
|
621
|
-
},
|
|
622
|
-
"required": false,
|
|
623
|
-
"optional": true,
|
|
624
|
-
"docs": {
|
|
625
|
-
"tags": [],
|
|
626
|
-
"text": "Explicit valid state override (when set manually)."
|
|
627
|
-
},
|
|
628
|
-
"getter": false,
|
|
629
|
-
"setter": false,
|
|
630
|
-
"reflect": true
|
|
631
|
-
},
|
|
632
|
-
"invalid": {
|
|
633
|
-
"type": "boolean",
|
|
634
|
-
"attribute": "invalid",
|
|
635
|
-
"mutable": true,
|
|
636
|
-
"complexType": {
|
|
637
|
-
"original": "boolean",
|
|
638
|
-
"resolved": "boolean",
|
|
639
|
-
"references": {}
|
|
640
|
-
},
|
|
641
|
-
"required": false,
|
|
642
|
-
"optional": true,
|
|
643
|
-
"docs": {
|
|
644
|
-
"tags": [],
|
|
645
|
-
"text": "Explicit invalid state override (when set manually)."
|
|
646
|
-
},
|
|
647
|
-
"getter": false,
|
|
648
|
-
"setter": false,
|
|
649
|
-
"reflect": true
|
|
650
|
-
},
|
|
651
|
-
"error": {
|
|
652
|
-
"type": "string",
|
|
653
|
-
"attribute": "error",
|
|
654
|
-
"mutable": false,
|
|
655
|
-
"complexType": {
|
|
656
|
-
"original": "string",
|
|
657
|
-
"resolved": "string",
|
|
658
|
-
"references": {}
|
|
659
|
-
},
|
|
660
|
-
"required": false,
|
|
661
|
-
"optional": true,
|
|
662
|
-
"docs": {
|
|
663
|
-
"tags": [],
|
|
664
|
-
"text": "Manual error message independent of native validation messages.\nWhen set, native validation messages are suppressed."
|
|
665
|
-
},
|
|
666
|
-
"getter": false,
|
|
667
|
-
"setter": false,
|
|
668
|
-
"reflect": false
|
|
669
|
-
},
|
|
670
|
-
"disabled": {
|
|
671
|
-
"type": "boolean",
|
|
672
|
-
"attribute": "disabled",
|
|
673
|
-
"mutable": false,
|
|
674
|
-
"complexType": {
|
|
675
|
-
"original": "boolean",
|
|
676
|
-
"resolved": "boolean",
|
|
677
|
-
"references": {}
|
|
678
|
-
},
|
|
679
|
-
"required": false,
|
|
680
|
-
"optional": true,
|
|
681
|
-
"docs": {
|
|
682
|
-
"tags": [],
|
|
683
|
-
"text": "Disables the field (non-interactive, excluded from form submission)."
|
|
684
|
-
},
|
|
685
|
-
"getter": false,
|
|
686
|
-
"setter": false,
|
|
687
|
-
"reflect": true
|
|
688
|
-
},
|
|
689
|
-
"required": {
|
|
690
|
-
"type": "boolean",
|
|
691
|
-
"attribute": "required",
|
|
692
|
-
"mutable": false,
|
|
693
|
-
"complexType": {
|
|
694
|
-
"original": "boolean",
|
|
695
|
-
"resolved": "boolean",
|
|
696
|
-
"references": {}
|
|
697
|
-
},
|
|
698
|
-
"required": false,
|
|
699
|
-
"optional": true,
|
|
700
|
-
"docs": {
|
|
701
|
-
"tags": [],
|
|
702
|
-
"text": "Marks the field as required; failing to provide a value triggers `valueMissing`."
|
|
703
|
-
},
|
|
704
|
-
"getter": false,
|
|
705
|
-
"setter": false,
|
|
706
|
-
"reflect": true
|
|
707
|
-
},
|
|
708
|
-
"maxlength": {
|
|
709
|
-
"type": "number",
|
|
710
|
-
"attribute": "maxlength",
|
|
711
|
-
"mutable": false,
|
|
712
|
-
"complexType": {
|
|
713
|
-
"original": "number",
|
|
714
|
-
"resolved": "number",
|
|
715
|
-
"references": {}
|
|
716
|
-
},
|
|
717
|
-
"required": false,
|
|
718
|
-
"optional": true,
|
|
719
|
-
"docs": {
|
|
720
|
-
"tags": [],
|
|
721
|
-
"text": "Maximum character length (enforced by native input)."
|
|
722
|
-
},
|
|
723
|
-
"getter": false,
|
|
724
|
-
"setter": false,
|
|
725
|
-
"reflect": false
|
|
726
|
-
},
|
|
727
|
-
"minlength": {
|
|
728
|
-
"type": "number",
|
|
729
|
-
"attribute": "minlength",
|
|
730
|
-
"mutable": false,
|
|
731
|
-
"complexType": {
|
|
732
|
-
"original": "number",
|
|
733
|
-
"resolved": "number",
|
|
734
|
-
"references": {}
|
|
735
|
-
},
|
|
736
|
-
"required": false,
|
|
737
|
-
"optional": true,
|
|
738
|
-
"docs": {
|
|
739
|
-
"tags": [],
|
|
740
|
-
"text": "Minimum character length (validation only)."
|
|
741
|
-
},
|
|
742
|
-
"getter": false,
|
|
743
|
-
"setter": false,
|
|
744
|
-
"reflect": false
|
|
745
|
-
},
|
|
746
|
-
"min": {
|
|
747
|
-
"type": "number",
|
|
748
|
-
"attribute": "min",
|
|
749
|
-
"mutable": false,
|
|
750
|
-
"complexType": {
|
|
751
|
-
"original": "number",
|
|
752
|
-
"resolved": "number",
|
|
753
|
-
"references": {}
|
|
754
|
-
},
|
|
755
|
-
"required": false,
|
|
756
|
-
"optional": true,
|
|
757
|
-
"docs": {
|
|
758
|
-
"tags": [],
|
|
759
|
-
"text": "Minimum numeric/date value (for supported types)."
|
|
760
|
-
},
|
|
761
|
-
"getter": false,
|
|
762
|
-
"setter": false,
|
|
763
|
-
"reflect": false
|
|
764
|
-
},
|
|
765
|
-
"max": {
|
|
766
|
-
"type": "number",
|
|
767
|
-
"attribute": "max",
|
|
768
|
-
"mutable": false,
|
|
769
|
-
"complexType": {
|
|
770
|
-
"original": "number",
|
|
771
|
-
"resolved": "number",
|
|
772
|
-
"references": {}
|
|
773
|
-
},
|
|
774
|
-
"required": false,
|
|
775
|
-
"optional": true,
|
|
776
|
-
"docs": {
|
|
777
|
-
"tags": [],
|
|
778
|
-
"text": "Maximum numeric/date value (for supported types)."
|
|
779
|
-
},
|
|
780
|
-
"getter": false,
|
|
781
|
-
"setter": false,
|
|
782
|
-
"reflect": false
|
|
783
|
-
},
|
|
784
|
-
"pattern": {
|
|
785
|
-
"type": "any",
|
|
786
|
-
"attribute": "pattern",
|
|
787
|
-
"mutable": false,
|
|
788
|
-
"complexType": {
|
|
789
|
-
"original": "any",
|
|
790
|
-
"resolved": "any",
|
|
791
|
-
"references": {}
|
|
792
|
-
},
|
|
793
|
-
"required": false,
|
|
794
|
-
"optional": true,
|
|
795
|
-
"docs": {
|
|
796
|
-
"tags": [],
|
|
797
|
-
"text": "Regex pattern the value must match (string form)."
|
|
798
|
-
},
|
|
799
|
-
"getter": false,
|
|
800
|
-
"setter": false,
|
|
801
|
-
"reflect": false
|
|
802
|
-
},
|
|
803
|
-
"step": {
|
|
804
|
-
"type": "number",
|
|
805
|
-
"attribute": "step",
|
|
806
|
-
"mutable": false,
|
|
807
|
-
"complexType": {
|
|
808
|
-
"original": "number",
|
|
809
|
-
"resolved": "number",
|
|
810
|
-
"references": {}
|
|
811
|
-
},
|
|
812
|
-
"required": false,
|
|
813
|
-
"optional": true,
|
|
814
|
-
"docs": {
|
|
815
|
-
"tags": [],
|
|
816
|
-
"text": "Step interval for numeric/date input types."
|
|
817
|
-
},
|
|
818
|
-
"getter": false,
|
|
819
|
-
"setter": false,
|
|
820
|
-
"reflect": false
|
|
821
|
-
},
|
|
822
|
-
"valueMissingMessage": {
|
|
823
|
-
"type": "string",
|
|
824
|
-
"attribute": "value-missing-message",
|
|
825
|
-
"mutable": false,
|
|
826
|
-
"complexType": {
|
|
827
|
-
"original": "string",
|
|
828
|
-
"resolved": "string",
|
|
829
|
-
"references": {}
|
|
830
|
-
},
|
|
831
|
-
"required": false,
|
|
832
|
-
"optional": true,
|
|
833
|
-
"docs": {
|
|
834
|
-
"tags": [],
|
|
835
|
-
"text": "Custom message for `valueMissing`."
|
|
836
|
-
},
|
|
837
|
-
"getter": false,
|
|
838
|
-
"setter": false,
|
|
839
|
-
"reflect": false
|
|
840
|
-
},
|
|
841
|
-
"typeMismatchMessage": {
|
|
842
|
-
"type": "string",
|
|
843
|
-
"attribute": "type-mismatch-message",
|
|
844
|
-
"mutable": false,
|
|
845
|
-
"complexType": {
|
|
846
|
-
"original": "string",
|
|
847
|
-
"resolved": "string",
|
|
848
|
-
"references": {}
|
|
849
|
-
},
|
|
850
|
-
"required": false,
|
|
851
|
-
"optional": true,
|
|
852
|
-
"docs": {
|
|
853
|
-
"tags": [],
|
|
854
|
-
"text": "Custom message for `typeMismatch`."
|
|
855
|
-
},
|
|
856
|
-
"getter": false,
|
|
857
|
-
"setter": false,
|
|
858
|
-
"reflect": false
|
|
859
|
-
},
|
|
860
|
-
"patternMismatchMessage": {
|
|
861
|
-
"type": "string",
|
|
862
|
-
"attribute": "pattern-mismatch-message",
|
|
863
|
-
"mutable": false,
|
|
864
|
-
"complexType": {
|
|
865
|
-
"original": "string",
|
|
866
|
-
"resolved": "string",
|
|
867
|
-
"references": {}
|
|
868
|
-
},
|
|
869
|
-
"required": false,
|
|
870
|
-
"optional": true,
|
|
871
|
-
"docs": {
|
|
872
|
-
"tags": [],
|
|
873
|
-
"text": "Custom message for `patternMismatch`."
|
|
874
|
-
},
|
|
875
|
-
"getter": false,
|
|
876
|
-
"setter": false,
|
|
877
|
-
"reflect": false
|
|
878
|
-
},
|
|
879
|
-
"tooLongMessage": {
|
|
880
|
-
"type": "string",
|
|
881
|
-
"attribute": "too-long-message",
|
|
882
|
-
"mutable": false,
|
|
883
|
-
"complexType": {
|
|
884
|
-
"original": "string",
|
|
885
|
-
"resolved": "string",
|
|
886
|
-
"references": {}
|
|
887
|
-
},
|
|
888
|
-
"required": false,
|
|
889
|
-
"optional": true,
|
|
890
|
-
"docs": {
|
|
891
|
-
"tags": [],
|
|
892
|
-
"text": "Custom message for `tooLong`."
|
|
893
|
-
},
|
|
894
|
-
"getter": false,
|
|
895
|
-
"setter": false,
|
|
896
|
-
"reflect": false
|
|
897
|
-
},
|
|
898
|
-
"tooShortMessage": {
|
|
899
|
-
"type": "string",
|
|
900
|
-
"attribute": "too-short-message",
|
|
901
|
-
"mutable": false,
|
|
902
|
-
"complexType": {
|
|
903
|
-
"original": "string",
|
|
904
|
-
"resolved": "string",
|
|
905
|
-
"references": {}
|
|
906
|
-
},
|
|
907
|
-
"required": false,
|
|
908
|
-
"optional": true,
|
|
909
|
-
"docs": {
|
|
910
|
-
"tags": [],
|
|
911
|
-
"text": "Custom message for `tooShort`."
|
|
912
|
-
},
|
|
913
|
-
"getter": false,
|
|
914
|
-
"setter": false,
|
|
915
|
-
"reflect": false
|
|
916
|
-
},
|
|
917
|
-
"rangeOverflowMessage": {
|
|
918
|
-
"type": "string",
|
|
919
|
-
"attribute": "range-overflow-message",
|
|
920
|
-
"mutable": false,
|
|
921
|
-
"complexType": {
|
|
922
|
-
"original": "string",
|
|
923
|
-
"resolved": "string",
|
|
924
|
-
"references": {}
|
|
925
|
-
},
|
|
926
|
-
"required": false,
|
|
927
|
-
"optional": true,
|
|
928
|
-
"docs": {
|
|
929
|
-
"tags": [],
|
|
930
|
-
"text": "Custom message for `rangeOverflow`."
|
|
931
|
-
},
|
|
932
|
-
"getter": false,
|
|
933
|
-
"setter": false,
|
|
934
|
-
"reflect": false
|
|
935
|
-
},
|
|
936
|
-
"rangeUnderflowMessage": {
|
|
937
|
-
"type": "string",
|
|
938
|
-
"attribute": "range-underflow-message",
|
|
939
|
-
"mutable": false,
|
|
940
|
-
"complexType": {
|
|
941
|
-
"original": "string",
|
|
942
|
-
"resolved": "string",
|
|
943
|
-
"references": {}
|
|
944
|
-
},
|
|
945
|
-
"required": false,
|
|
946
|
-
"optional": true,
|
|
947
|
-
"docs": {
|
|
948
|
-
"tags": [],
|
|
949
|
-
"text": "Custom message for `rangeUnderflow`."
|
|
950
|
-
},
|
|
951
|
-
"getter": false,
|
|
952
|
-
"setter": false,
|
|
953
|
-
"reflect": false
|
|
954
|
-
},
|
|
955
|
-
"stepMismatchMessage": {
|
|
956
|
-
"type": "string",
|
|
957
|
-
"attribute": "step-mismatch-message",
|
|
958
|
-
"mutable": false,
|
|
959
|
-
"complexType": {
|
|
960
|
-
"original": "string",
|
|
961
|
-
"resolved": "string",
|
|
962
|
-
"references": {}
|
|
963
|
-
},
|
|
964
|
-
"required": false,
|
|
965
|
-
"optional": true,
|
|
966
|
-
"docs": {
|
|
967
|
-
"tags": [],
|
|
968
|
-
"text": "Custom message for `stepMismatch`."
|
|
969
|
-
},
|
|
970
|
-
"getter": false,
|
|
971
|
-
"setter": false,
|
|
972
|
-
"reflect": false
|
|
973
|
-
},
|
|
974
|
-
"badInputMessage": {
|
|
975
|
-
"type": "string",
|
|
976
|
-
"attribute": "bad-input-message",
|
|
977
|
-
"mutable": false,
|
|
978
|
-
"complexType": {
|
|
979
|
-
"original": "string",
|
|
980
|
-
"resolved": "string",
|
|
981
|
-
"references": {}
|
|
982
|
-
},
|
|
983
|
-
"required": false,
|
|
984
|
-
"optional": true,
|
|
985
|
-
"docs": {
|
|
986
|
-
"tags": [],
|
|
987
|
-
"text": "Custom message for `badInput` (conversion / parsing failure)."
|
|
988
|
-
},
|
|
989
|
-
"getter": false,
|
|
990
|
-
"setter": false,
|
|
991
|
-
"reflect": false
|
|
992
|
-
},
|
|
993
|
-
"customErrorMessage": {
|
|
994
|
-
"type": "string",
|
|
995
|
-
"attribute": "custom-error-message",
|
|
996
|
-
"mutable": false,
|
|
997
|
-
"complexType": {
|
|
998
|
-
"original": "string",
|
|
999
|
-
"resolved": "string",
|
|
1000
|
-
"references": {}
|
|
1001
|
-
},
|
|
1002
|
-
"required": false,
|
|
1003
|
-
"optional": true,
|
|
1004
|
-
"docs": {
|
|
1005
|
-
"tags": [],
|
|
1006
|
-
"text": "Custom message for `customError` (applies when set via `setCustomValidity()` logic internally)."
|
|
1007
|
-
},
|
|
1008
|
-
"getter": false,
|
|
1009
|
-
"setter": false,
|
|
1010
|
-
"reflect": false
|
|
1011
|
-
},
|
|
1012
|
-
"autocomplete": {
|
|
1013
|
-
"type": "string",
|
|
1014
|
-
"attribute": "autocomplete",
|
|
1015
|
-
"mutable": false,
|
|
1016
|
-
"complexType": {
|
|
1017
|
-
"original": "InputAutocomplete",
|
|
1018
|
-
"resolved": "\"url\" | AutoFill | \"bday\" | \"sex\" | \"photo\" | \"language\"",
|
|
1019
|
-
"references": {
|
|
1020
|
-
"InputAutocomplete": {
|
|
1021
|
-
"location": "import",
|
|
1022
|
-
"path": "./exports",
|
|
1023
|
-
"id": "src/components/input/exports.ts::InputAutocomplete"
|
|
1024
|
-
}
|
|
1025
|
-
}
|
|
1026
|
-
},
|
|
1027
|
-
"required": false,
|
|
1028
|
-
"optional": true,
|
|
1029
|
-
"docs": {
|
|
1030
|
-
"tags": [],
|
|
1031
|
-
"text": "Native `autocomplete` hint for browsers / password managers."
|
|
1032
|
-
},
|
|
1033
|
-
"getter": false,
|
|
1034
|
-
"setter": false,
|
|
1035
|
-
"reflect": false
|
|
1036
|
-
},
|
|
1037
|
-
"enterkeyhint": {
|
|
1038
|
-
"type": "string",
|
|
1039
|
-
"attribute": "enterkeyhint",
|
|
1040
|
-
"mutable": false,
|
|
1041
|
-
"complexType": {
|
|
1042
|
-
"original": "EnterKeyHint",
|
|
1043
|
-
"resolved": "\"done\" | \"enter\" | \"go\" | \"next\" | \"previous\" | \"search\" | \"send\"",
|
|
1044
|
-
"references": {
|
|
1045
|
-
"EnterKeyHint": {
|
|
1046
|
-
"location": "import",
|
|
1047
|
-
"path": "./exports",
|
|
1048
|
-
"id": "src/components/input/exports.ts::EnterKeyHint"
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
},
|
|
1052
|
-
"required": false,
|
|
1053
|
-
"optional": true,
|
|
1054
|
-
"docs": {
|
|
1055
|
-
"tags": [],
|
|
1056
|
-
"text": "Hint for the action label/icon on the virtual keyboard's enter key.\nUse cases:\n- `enter`: Default, generic newline/submit action\n- `done`: Finishes current input session (e.g., last field in a form)\n- `go`: Navigates to URL input target (e.g., URL bar)\n- `next`: Advances to next input field in a sequence\n- `previous`: Goes back to previous input field\n- `search`: Submits a search query\n- `send`: Sends a message (e.g., chat, email)"
|
|
1057
|
-
},
|
|
1058
|
-
"getter": false,
|
|
1059
|
-
"setter": false,
|
|
1060
|
-
"reflect": false
|
|
1061
|
-
},
|
|
1062
|
-
"spellcheck": {
|
|
1063
|
-
"type": "boolean",
|
|
1064
|
-
"attribute": "spellcheck",
|
|
1065
|
-
"mutable": true,
|
|
1066
|
-
"complexType": {
|
|
1067
|
-
"original": "boolean",
|
|
1068
|
-
"resolved": "boolean",
|
|
1069
|
-
"references": {}
|
|
1070
|
-
},
|
|
1071
|
-
"required": false,
|
|
1072
|
-
"optional": true,
|
|
1073
|
-
"docs": {
|
|
1074
|
-
"tags": [],
|
|
1075
|
-
"text": "Controls browser spell-checking for text input.\nWhen true, enables spell-checking; when false, disables it.\nBrowser default behavior applies when not specified."
|
|
1076
|
-
},
|
|
1077
|
-
"getter": false,
|
|
1078
|
-
"setter": false,
|
|
1079
|
-
"reflect": true
|
|
1080
|
-
},
|
|
1081
|
-
"autocapitalize": {
|
|
1082
|
-
"type": "string",
|
|
1083
|
-
"attribute": "autocapitalize",
|
|
1084
|
-
"mutable": false,
|
|
1085
|
-
"complexType": {
|
|
1086
|
-
"original": "AutocapitalizeType",
|
|
1087
|
-
"resolved": "\"characters\" | \"none\" | \"off\" | \"on\" | \"sentences\" | \"words\"",
|
|
1088
|
-
"references": {
|
|
1089
|
-
"AutocapitalizeType": {
|
|
1090
|
-
"location": "import",
|
|
1091
|
-
"path": "./exports",
|
|
1092
|
-
"id": "src/components/input/exports.ts::AutocapitalizeType"
|
|
1093
|
-
}
|
|
1094
|
-
}
|
|
1095
|
-
},
|
|
1096
|
-
"required": false,
|
|
1097
|
-
"optional": true,
|
|
1098
|
-
"docs": {
|
|
1099
|
-
"tags": [],
|
|
1100
|
-
"text": "Controls automatic capitalization of text input on mobile devices.\n- `off` or `none`: No automatic capitalization\n- `on` or `sentences`: Capitalize first letter of each sentence (default for most text inputs)\n- `words`: Capitalize first letter of each word\n- `characters`: Capitalize all characters"
|
|
1101
|
-
},
|
|
1102
|
-
"getter": false,
|
|
1103
|
-
"setter": false,
|
|
1104
|
-
"reflect": false
|
|
1105
|
-
},
|
|
1106
|
-
"passwordrules": {
|
|
1107
|
-
"type": "string",
|
|
1108
|
-
"attribute": "passwordrules",
|
|
1109
|
-
"mutable": false,
|
|
1110
|
-
"complexType": {
|
|
1111
|
-
"original": "string",
|
|
1112
|
-
"resolved": "string",
|
|
1113
|
-
"references": {}
|
|
1114
|
-
},
|
|
1115
|
-
"required": false,
|
|
1116
|
-
"optional": true,
|
|
1117
|
-
"docs": {
|
|
1118
|
-
"tags": [],
|
|
1119
|
-
"text": "Safari-specific password rules for strong password generation (password inputs only).\nFormat: \"minlength: X; required: lower; required: upper; required: digit; required: special;\"\nThis attribute is Safari-specific and will be ignored by other browsers.\nSee: https://developer.apple.com/documentation/security/password_autofill/customizing_password_autofill_rules"
|
|
1120
|
-
},
|
|
1121
|
-
"getter": false,
|
|
1122
|
-
"setter": false,
|
|
1123
|
-
"reflect": false
|
|
1124
|
-
},
|
|
1125
|
-
"autofocus": {
|
|
1126
|
-
"type": "boolean",
|
|
1127
|
-
"attribute": "autofocus",
|
|
1128
|
-
"mutable": false,
|
|
1129
|
-
"complexType": {
|
|
1130
|
-
"original": "boolean",
|
|
1131
|
-
"resolved": "boolean",
|
|
1132
|
-
"references": {}
|
|
1133
|
-
},
|
|
1134
|
-
"required": false,
|
|
1135
|
-
"optional": true,
|
|
1136
|
-
"docs": {
|
|
1137
|
-
"tags": [],
|
|
1138
|
-
"text": "Automatically focus the input when it is first rendered.\nMirrors native `autofocus` attribute behavior. Avoid using multiple times per page."
|
|
1139
|
-
},
|
|
1140
|
-
"getter": false,
|
|
1141
|
-
"setter": false,
|
|
1142
|
-
"reflect": true
|
|
1143
|
-
},
|
|
1144
|
-
"readonly": {
|
|
1145
|
-
"type": "boolean",
|
|
1146
|
-
"attribute": "readonly",
|
|
1147
|
-
"mutable": false,
|
|
1148
|
-
"complexType": {
|
|
1149
|
-
"original": "boolean",
|
|
1150
|
-
"resolved": "boolean",
|
|
1151
|
-
"references": {}
|
|
1152
|
-
},
|
|
1153
|
-
"required": false,
|
|
1154
|
-
"optional": true,
|
|
1155
|
-
"docs": {
|
|
1156
|
-
"tags": [],
|
|
1157
|
-
"text": "Read-only mode (mirrors native `readonly`): value cannot be changed by the user,\nbut the field can still receive focus, be selected, and be submitted with a form."
|
|
1158
|
-
},
|
|
1159
|
-
"getter": false,
|
|
1160
|
-
"setter": false,
|
|
1161
|
-
"reflect": true
|
|
1162
|
-
},
|
|
1163
|
-
"inputmode": {
|
|
1164
|
-
"type": "string",
|
|
1165
|
-
"attribute": "inputmode",
|
|
1166
|
-
"mutable": false,
|
|
1167
|
-
"complexType": {
|
|
1168
|
-
"original": "InputMode",
|
|
1169
|
-
"resolved": "\"decimal\" | \"email\" | \"none\" | \"numeric\" | \"search\" | \"tel\" | \"text\" | \"url\"",
|
|
1170
|
-
"references": {
|
|
1171
|
-
"InputMode": {
|
|
1172
|
-
"location": "import",
|
|
1173
|
-
"path": "./exports",
|
|
1174
|
-
"id": "src/components/input/exports.ts::InputMode"
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
},
|
|
1178
|
-
"required": false,
|
|
1179
|
-
"optional": true,
|
|
1180
|
-
"docs": {
|
|
1181
|
-
"tags": [],
|
|
1182
|
-
"text": "Hint to the browser about which keyboard to display on mobile devices."
|
|
1183
|
-
},
|
|
1184
|
-
"getter": false,
|
|
1185
|
-
"setter": false,
|
|
1186
|
-
"reflect": false
|
|
1187
|
-
},
|
|
1188
|
-
"validityMarker": {
|
|
1189
|
-
"type": "boolean",
|
|
1190
|
-
"attribute": "validity-marker",
|
|
1191
|
-
"mutable": false,
|
|
1192
|
-
"complexType": {
|
|
1193
|
-
"original": "boolean",
|
|
1194
|
-
"resolved": "boolean",
|
|
1195
|
-
"references": {}
|
|
1196
|
-
},
|
|
1197
|
-
"required": false,
|
|
1198
|
-
"optional": false,
|
|
1199
|
-
"docs": {
|
|
1200
|
-
"tags": [],
|
|
1201
|
-
"text": "When `true` field renders valid/invalid marker within."
|
|
1202
|
-
},
|
|
1203
|
-
"getter": false,
|
|
1204
|
-
"setter": false,
|
|
1205
|
-
"reflect": true,
|
|
1206
|
-
"defaultValue": "true"
|
|
1207
|
-
}
|
|
1208
|
-
};
|
|
1209
|
-
}
|
|
1210
|
-
static get states() {
|
|
1211
|
-
return {
|
|
1212
|
-
"validityState": {},
|
|
1213
|
-
"validityMessage": {},
|
|
1214
|
-
"touched": {},
|
|
1215
|
-
"dirty": {}
|
|
1216
|
-
};
|
|
1217
|
-
}
|
|
1218
|
-
static get events() {
|
|
1219
|
-
return [{
|
|
1220
|
-
"method": "rValidate",
|
|
1221
|
-
"name": "rValidate",
|
|
1222
|
-
"bubbles": true,
|
|
1223
|
-
"cancelable": true,
|
|
1224
|
-
"composed": true,
|
|
1225
|
-
"docs": {
|
|
1226
|
-
"tags": [],
|
|
1227
|
-
"text": "Emitted after each validation attempt (native or triggered logic)."
|
|
1228
|
-
},
|
|
1229
|
-
"complexType": {
|
|
1230
|
-
"original": "{\n state: string,\n message: string\n }",
|
|
1231
|
-
"resolved": "{ state: string; message: string; }",
|
|
1232
|
-
"references": {}
|
|
1233
|
-
}
|
|
1234
|
-
}, {
|
|
1235
|
-
"method": "rInput",
|
|
1236
|
-
"name": "rInput",
|
|
1237
|
-
"bubbles": true,
|
|
1238
|
-
"cancelable": true,
|
|
1239
|
-
"composed": true,
|
|
1240
|
-
"docs": {
|
|
1241
|
-
"tags": [],
|
|
1242
|
-
"text": "Emitted on each user input (mirrors native `input` semantics)."
|
|
1243
|
-
},
|
|
1244
|
-
"complexType": {
|
|
1245
|
-
"original": "{\n element: HTMLRInputElement,\n value: any\n }",
|
|
1246
|
-
"resolved": "{ element: HTMLRInputElement; value: any; }",
|
|
1247
|
-
"references": {
|
|
1248
|
-
"HTMLRInputElement": {
|
|
1249
|
-
"location": "global",
|
|
1250
|
-
"id": "global::HTMLRInputElement"
|
|
1251
|
-
}
|
|
1252
|
-
}
|
|
1253
|
-
}
|
|
1254
|
-
}, {
|
|
1255
|
-
"method": "rBlur",
|
|
1256
|
-
"name": "rBlur",
|
|
1257
|
-
"bubbles": true,
|
|
1258
|
-
"cancelable": true,
|
|
1259
|
-
"composed": true,
|
|
1260
|
-
"docs": {
|
|
1261
|
-
"tags": [],
|
|
1262
|
-
"text": "Emitted when the input loses focus."
|
|
1263
|
-
},
|
|
1264
|
-
"complexType": {
|
|
1265
|
-
"original": "any",
|
|
1266
|
-
"resolved": "any",
|
|
1267
|
-
"references": {}
|
|
1268
|
-
}
|
|
1269
|
-
}, {
|
|
1270
|
-
"method": "rFocus",
|
|
1271
|
-
"name": "rFocus",
|
|
1272
|
-
"bubbles": true,
|
|
1273
|
-
"cancelable": true,
|
|
1274
|
-
"composed": true,
|
|
1275
|
-
"docs": {
|
|
1276
|
-
"tags": [],
|
|
1277
|
-
"text": "Emitted when the input receives focus."
|
|
1278
|
-
},
|
|
1279
|
-
"complexType": {
|
|
1280
|
-
"original": "any",
|
|
1281
|
-
"resolved": "any",
|
|
1282
|
-
"references": {}
|
|
1283
|
-
}
|
|
1284
|
-
}, {
|
|
1285
|
-
"method": "rChange",
|
|
1286
|
-
"name": "rChange",
|
|
1287
|
-
"bubbles": true,
|
|
1288
|
-
"cancelable": true,
|
|
1289
|
-
"composed": true,
|
|
1290
|
-
"docs": {
|
|
1291
|
-
"tags": [],
|
|
1292
|
-
"text": "Emitted when the committed value changes (mirrors native `change` semantics)."
|
|
1293
|
-
},
|
|
1294
|
-
"complexType": {
|
|
1295
|
-
"original": "{\n element: HTMLRInputElement,\n value: any\n }",
|
|
1296
|
-
"resolved": "{ element: HTMLRInputElement; value: any; }",
|
|
1297
|
-
"references": {
|
|
1298
|
-
"HTMLRInputElement": {
|
|
1299
|
-
"location": "global",
|
|
1300
|
-
"id": "global::HTMLRInputElement"
|
|
1301
|
-
}
|
|
1302
|
-
}
|
|
1303
|
-
}
|
|
1304
|
-
}, {
|
|
1305
|
-
"method": "rReset",
|
|
1306
|
-
"name": "rReset",
|
|
1307
|
-
"bubbles": true,
|
|
1308
|
-
"cancelable": true,
|
|
1309
|
-
"composed": true,
|
|
1310
|
-
"docs": {
|
|
1311
|
-
"tags": [],
|
|
1312
|
-
"text": "Emitted when a parent form is reset and the field restores its initial value."
|
|
1313
|
-
},
|
|
1314
|
-
"complexType": {
|
|
1315
|
-
"original": "{\n element: HTMLRInputElement,\n value: any\n }",
|
|
1316
|
-
"resolved": "{ element: HTMLRInputElement; value: any; }",
|
|
1317
|
-
"references": {
|
|
1318
|
-
"HTMLRInputElement": {
|
|
1319
|
-
"location": "global",
|
|
1320
|
-
"id": "global::HTMLRInputElement"
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
}
|
|
1324
|
-
}];
|
|
1325
|
-
}
|
|
1326
|
-
static get methods() {
|
|
1327
|
-
return {
|
|
1328
|
-
"setFocus": {
|
|
1329
|
-
"complexType": {
|
|
1330
|
-
"signature": "() => Promise<void>",
|
|
1331
|
-
"parameters": [],
|
|
1332
|
-
"references": {
|
|
1333
|
-
"Promise": {
|
|
1334
|
-
"location": "global",
|
|
1335
|
-
"id": "global::Promise"
|
|
1336
|
-
}
|
|
1337
|
-
},
|
|
1338
|
-
"return": "Promise<void>"
|
|
1339
|
-
},
|
|
1340
|
-
"docs": {
|
|
1341
|
-
"text": "Programmatically focus the native input element.",
|
|
1342
|
-
"tags": []
|
|
1343
|
-
}
|
|
1344
|
-
},
|
|
1345
|
-
"setBlur": {
|
|
1346
|
-
"complexType": {
|
|
1347
|
-
"signature": "() => Promise<void>",
|
|
1348
|
-
"parameters": [],
|
|
1349
|
-
"references": {
|
|
1350
|
-
"Promise": {
|
|
1351
|
-
"location": "global",
|
|
1352
|
-
"id": "global::Promise"
|
|
1353
|
-
}
|
|
1354
|
-
},
|
|
1355
|
-
"return": "Promise<void>"
|
|
1356
|
-
},
|
|
1357
|
-
"docs": {
|
|
1358
|
-
"text": "Programmatically remove focus from the native input.",
|
|
1359
|
-
"tags": []
|
|
1360
|
-
}
|
|
1361
|
-
},
|
|
1362
|
-
"select": {
|
|
1363
|
-
"complexType": {
|
|
1364
|
-
"signature": "() => Promise<void>",
|
|
1365
|
-
"parameters": [],
|
|
1366
|
-
"references": {
|
|
1367
|
-
"Promise": {
|
|
1368
|
-
"location": "global",
|
|
1369
|
-
"id": "global::Promise"
|
|
1370
|
-
}
|
|
1371
|
-
},
|
|
1372
|
-
"return": "Promise<void>"
|
|
1373
|
-
},
|
|
1374
|
-
"docs": {
|
|
1375
|
-
"text": "Select (highlight) the entire current input value.",
|
|
1376
|
-
"tags": []
|
|
1377
|
-
}
|
|
1378
|
-
},
|
|
1379
|
-
"getSelectionStart": {
|
|
1380
|
-
"complexType": {
|
|
1381
|
-
"signature": "() => Promise<number | null>",
|
|
1382
|
-
"parameters": [],
|
|
1383
|
-
"references": {
|
|
1384
|
-
"Promise": {
|
|
1385
|
-
"location": "global",
|
|
1386
|
-
"id": "global::Promise"
|
|
1387
|
-
}
|
|
1388
|
-
},
|
|
1389
|
-
"return": "Promise<number>"
|
|
1390
|
-
},
|
|
1391
|
-
"docs": {
|
|
1392
|
-
"text": "Get the start index of the current text selection (or null if unavailable).",
|
|
1393
|
-
"tags": []
|
|
1394
|
-
}
|
|
1395
|
-
},
|
|
1396
|
-
"getSelectionEnd": {
|
|
1397
|
-
"complexType": {
|
|
1398
|
-
"signature": "() => Promise<number | null>",
|
|
1399
|
-
"parameters": [],
|
|
1400
|
-
"references": {
|
|
1401
|
-
"Promise": {
|
|
1402
|
-
"location": "global",
|
|
1403
|
-
"id": "global::Promise"
|
|
1404
|
-
}
|
|
1405
|
-
},
|
|
1406
|
-
"return": "Promise<number>"
|
|
1407
|
-
},
|
|
1408
|
-
"docs": {
|
|
1409
|
-
"text": "Get the end index of the current text selection (or null if unavailable).",
|
|
1410
|
-
"tags": []
|
|
1411
|
-
}
|
|
1412
|
-
},
|
|
1413
|
-
"setSelectionRange": {
|
|
1414
|
-
"complexType": {
|
|
1415
|
-
"signature": "(start: number, end: number, direction?: \"forward\" | \"backward\" | \"none\") => Promise<void>",
|
|
1416
|
-
"parameters": [{
|
|
1417
|
-
"name": "start",
|
|
1418
|
-
"type": "number",
|
|
1419
|
-
"docs": "Start index (inclusive)"
|
|
1420
|
-
}, {
|
|
1421
|
-
"name": "end",
|
|
1422
|
-
"type": "number",
|
|
1423
|
-
"docs": "End index (exclusive)"
|
|
1424
|
-
}, {
|
|
1425
|
-
"name": "direction",
|
|
1426
|
-
"type": "\"none\" | \"forward\" | \"backward\"",
|
|
1427
|
-
"docs": "Selection direction (browser hint)"
|
|
1428
|
-
}],
|
|
1429
|
-
"references": {
|
|
1430
|
-
"Promise": {
|
|
1431
|
-
"location": "global",
|
|
1432
|
-
"id": "global::Promise"
|
|
1433
|
-
}
|
|
1434
|
-
},
|
|
1435
|
-
"return": "Promise<void>"
|
|
1436
|
-
},
|
|
1437
|
-
"docs": {
|
|
1438
|
-
"text": "Set a selection (or caret) range within the value.",
|
|
1439
|
-
"tags": [{
|
|
1440
|
-
"name": "param",
|
|
1441
|
-
"text": "start Start index (inclusive)"
|
|
1442
|
-
}, {
|
|
1443
|
-
"name": "param",
|
|
1444
|
-
"text": "end End index (exclusive)"
|
|
1445
|
-
}, {
|
|
1446
|
-
"name": "param",
|
|
1447
|
-
"text": "direction Selection direction (browser hint)"
|
|
1448
|
-
}]
|
|
1449
|
-
}
|
|
1450
|
-
},
|
|
1451
|
-
"getValue": {
|
|
1452
|
-
"complexType": {
|
|
1453
|
-
"signature": "() => Promise<string>",
|
|
1454
|
-
"parameters": [],
|
|
1455
|
-
"references": {
|
|
1456
|
-
"Promise": {
|
|
1457
|
-
"location": "global",
|
|
1458
|
-
"id": "global::Promise"
|
|
1459
|
-
}
|
|
1460
|
-
},
|
|
1461
|
-
"return": "Promise<string>"
|
|
1462
|
-
},
|
|
1463
|
-
"docs": {
|
|
1464
|
-
"text": "Retrieve the current value (returns empty string if unset).",
|
|
1465
|
-
"tags": []
|
|
1466
|
-
}
|
|
1467
|
-
},
|
|
1468
|
-
"setValue": {
|
|
1469
|
-
"complexType": {
|
|
1470
|
-
"signature": "(value: string) => Promise<void>",
|
|
1471
|
-
"parameters": [{
|
|
1472
|
-
"name": "value",
|
|
1473
|
-
"type": "string",
|
|
1474
|
-
"docs": ""
|
|
1475
|
-
}],
|
|
1476
|
-
"references": {
|
|
1477
|
-
"Promise": {
|
|
1478
|
-
"location": "global",
|
|
1479
|
-
"id": "global::Promise"
|
|
1480
|
-
}
|
|
1481
|
-
},
|
|
1482
|
-
"return": "Promise<void>"
|
|
1483
|
-
},
|
|
1484
|
-
"docs": {
|
|
1485
|
-
"text": "Set the current value programmatically (does not fire native input/change automatically).",
|
|
1486
|
-
"tags": []
|
|
1487
|
-
}
|
|
1488
|
-
},
|
|
1489
|
-
"checkValidity": {
|
|
1490
|
-
"complexType": {
|
|
1491
|
-
"signature": "() => Promise<boolean>",
|
|
1492
|
-
"parameters": [],
|
|
1493
|
-
"references": {
|
|
1494
|
-
"Promise": {
|
|
1495
|
-
"location": "global",
|
|
1496
|
-
"id": "global::Promise"
|
|
1497
|
-
}
|
|
1498
|
-
},
|
|
1499
|
-
"return": "Promise<boolean>"
|
|
1500
|
-
},
|
|
1501
|
-
"docs": {
|
|
1502
|
-
"text": "Validates the input without triggering UI and returns a boolean indicating its validity.",
|
|
1503
|
-
"tags": [{
|
|
1504
|
-
"name": "returns",
|
|
1505
|
-
"text": "A boolean indicating whether the input is valid."
|
|
1506
|
-
}]
|
|
1507
|
-
}
|
|
1508
|
-
},
|
|
1509
|
-
"isTouched": {
|
|
1510
|
-
"complexType": {
|
|
1511
|
-
"signature": "() => Promise<boolean>",
|
|
1512
|
-
"parameters": [],
|
|
1513
|
-
"references": {
|
|
1514
|
-
"Promise": {
|
|
1515
|
-
"location": "global",
|
|
1516
|
-
"id": "global::Promise"
|
|
1517
|
-
}
|
|
1518
|
-
},
|
|
1519
|
-
"return": "Promise<boolean>"
|
|
1520
|
-
},
|
|
1521
|
-
"docs": {
|
|
1522
|
-
"text": "Gets the touched state (whether user has interacted with the input)",
|
|
1523
|
-
"tags": []
|
|
1524
|
-
}
|
|
1525
|
-
},
|
|
1526
|
-
"isDirty": {
|
|
1527
|
-
"complexType": {
|
|
1528
|
-
"signature": "() => Promise<boolean>",
|
|
1529
|
-
"parameters": [],
|
|
1530
|
-
"references": {
|
|
1531
|
-
"Promise": {
|
|
1532
|
-
"location": "global",
|
|
1533
|
-
"id": "global::Promise"
|
|
1534
|
-
}
|
|
1535
|
-
},
|
|
1536
|
-
"return": "Promise<boolean>"
|
|
1537
|
-
},
|
|
1538
|
-
"docs": {
|
|
1539
|
-
"text": "Gets the dirty state (whether value has been changed by user)",
|
|
1540
|
-
"tags": []
|
|
1541
|
-
}
|
|
1542
|
-
},
|
|
1543
|
-
"markAsPristine": {
|
|
1544
|
-
"complexType": {
|
|
1545
|
-
"signature": "() => Promise<void>",
|
|
1546
|
-
"parameters": [],
|
|
1547
|
-
"references": {
|
|
1548
|
-
"Promise": {
|
|
1549
|
-
"location": "global",
|
|
1550
|
-
"id": "global::Promise"
|
|
1551
|
-
}
|
|
1552
|
-
},
|
|
1553
|
-
"return": "Promise<void>"
|
|
1554
|
-
},
|
|
1555
|
-
"docs": {
|
|
1556
|
-
"text": "Resets touched and dirty states to pristine (untouched/clean)",
|
|
1557
|
-
"tags": []
|
|
1558
|
-
}
|
|
1559
|
-
}
|
|
1560
|
-
};
|
|
1561
|
-
}
|
|
1562
|
-
static get elementRef() { return "host"; }
|
|
1563
|
-
static get watchers() {
|
|
1564
|
-
return [{
|
|
1565
|
-
"propName": "value",
|
|
1566
|
-
"methodName": "handleValueChange"
|
|
1567
|
-
}, {
|
|
1568
|
-
"propName": "type",
|
|
1569
|
-
"methodName": "handleTypeChange"
|
|
1570
|
-
}];
|
|
1571
|
-
}
|
|
1572
|
-
}
|