@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,10 +0,0 @@
|
|
|
1
|
-
export declare const inputTypeArray: readonly ["text", "email", "url", "tel", "password", "search", "number"];
|
|
2
|
-
export declare const inputModeArray: readonly ["text", "tel", "email", "url", "numeric", "decimal", "search", "none"];
|
|
3
|
-
export declare const inputAutocompleteArray: InputAutocomplete[];
|
|
4
|
-
export declare const enterKeyHintArray: readonly ["enter", "done", "go", "next", "previous", "search", "send"];
|
|
5
|
-
export declare const autocapitalizeArray: readonly ["off", "none", "on", "sentences", "words", "characters"];
|
|
6
|
-
export type InputType = typeof inputTypeArray[number];
|
|
7
|
-
export type InputMode = typeof inputModeArray[number];
|
|
8
|
-
export type InputAutocomplete = AutoFill | 'bday' | 'sex' | 'url' | 'photo' | 'language';
|
|
9
|
-
export type EnterKeyHint = typeof enterKeyHintArray[number];
|
|
10
|
-
export type AutocapitalizeType = typeof autocapitalizeArray[number];
|
|
@@ -1,300 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import type { InputAutocomplete, InputMode, InputType, EnterKeyHint, AutocapitalizeType } from './exports';
|
|
3
|
-
export declare class RInput {
|
|
4
|
-
host: HTMLRInputElement;
|
|
5
|
-
/**
|
|
6
|
-
* ID of the form this input is associated with (mirrors native `form` attribute).
|
|
7
|
-
* Use when the input is not a direct descendant of the target form element.
|
|
8
|
-
*/
|
|
9
|
-
form?: string;
|
|
10
|
-
/**
|
|
11
|
-
* If set, the field is skipped by built‑in (Constraint Validation API) validation logic.
|
|
12
|
-
* Does not prevent custom validation you may trigger manually.
|
|
13
|
-
*/
|
|
14
|
-
novalidate?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Input type (e.g. `text`, `email`, `number`, `password`).
|
|
17
|
-
* See HTMLInputElement `type` for supported values.
|
|
18
|
-
*/
|
|
19
|
-
type: InputType;
|
|
20
|
-
/**
|
|
21
|
-
* Name used when contributing the value to form submission (`FormData` / POST body).
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
* Current value. Mutable: can be changed programmatically or through user input.
|
|
26
|
-
*/
|
|
27
|
-
value?: string | null;
|
|
28
|
-
/**
|
|
29
|
-
* Placeholder hint text shown when the field is empty and unfocused.
|
|
30
|
-
*/
|
|
31
|
-
placeholder?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Label text describing the field. Provide for accessibility (or use the `label` slot).
|
|
34
|
-
*/
|
|
35
|
-
label: string;
|
|
36
|
-
/**
|
|
37
|
-
* Small marker string appended to the label (e.g. “Optional”, localized markers, etc.).
|
|
38
|
-
*/
|
|
39
|
-
fieldIndicator?: string;
|
|
40
|
-
/**
|
|
41
|
-
* When true, hides visual label & messages (for internal layout use; accessibility still preserved).
|
|
42
|
-
*/
|
|
43
|
-
internal?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Optional contextual help text displayed beneath the field.
|
|
46
|
-
*/
|
|
47
|
-
hint?: string;
|
|
48
|
-
/**
|
|
49
|
-
* When true, stretches the component horizontally to fill its container.
|
|
50
|
-
*/
|
|
51
|
-
fullWidth?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Explicit valid state override (when set manually).
|
|
54
|
-
*/
|
|
55
|
-
valid?: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Explicit invalid state override (when set manually).
|
|
58
|
-
*/
|
|
59
|
-
invalid?: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Manual error message independent of native validation messages.
|
|
62
|
-
* When set, native validation messages are suppressed.
|
|
63
|
-
*/
|
|
64
|
-
error?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Disables the field (non-interactive, excluded from form submission).
|
|
67
|
-
*/
|
|
68
|
-
disabled?: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Marks the field as required; failing to provide a value triggers `valueMissing`.
|
|
71
|
-
*/
|
|
72
|
-
required?: boolean;
|
|
73
|
-
/** Maximum character length (enforced by native input). */
|
|
74
|
-
maxlength?: number;
|
|
75
|
-
/** Minimum character length (validation only). */
|
|
76
|
-
minlength?: number;
|
|
77
|
-
/** Minimum numeric/date value (for supported types). */
|
|
78
|
-
min?: number;
|
|
79
|
-
/** Maximum numeric/date value (for supported types). */
|
|
80
|
-
max?: number;
|
|
81
|
-
/** Regex pattern the value must match (string form). */
|
|
82
|
-
pattern?: any;
|
|
83
|
-
/** Step interval for numeric/date input types. */
|
|
84
|
-
step?: number;
|
|
85
|
-
/** Custom message for `valueMissing`. */
|
|
86
|
-
valueMissingMessage?: string;
|
|
87
|
-
/** Custom message for `typeMismatch`. */
|
|
88
|
-
typeMismatchMessage?: string;
|
|
89
|
-
/** Custom message for `patternMismatch`. */
|
|
90
|
-
patternMismatchMessage?: string;
|
|
91
|
-
/** Custom message for `tooLong`. */
|
|
92
|
-
tooLongMessage?: string;
|
|
93
|
-
/** Custom message for `tooShort`. */
|
|
94
|
-
tooShortMessage?: string;
|
|
95
|
-
/** Custom message for `rangeOverflow`. */
|
|
96
|
-
rangeOverflowMessage?: string;
|
|
97
|
-
/** Custom message for `rangeUnderflow`. */
|
|
98
|
-
rangeUnderflowMessage?: string;
|
|
99
|
-
/** Custom message for `stepMismatch`. */
|
|
100
|
-
stepMismatchMessage?: string;
|
|
101
|
-
/**
|
|
102
|
-
* Custom message for `badInput` (conversion / parsing failure).
|
|
103
|
-
*/
|
|
104
|
-
badInputMessage?: string;
|
|
105
|
-
/**
|
|
106
|
-
* Custom message for `customError` (applies when set via `setCustomValidity()` logic internally).
|
|
107
|
-
*/
|
|
108
|
-
customErrorMessage?: string;
|
|
109
|
-
/**
|
|
110
|
-
* Native `autocomplete` hint for browsers / password managers.
|
|
111
|
-
*/
|
|
112
|
-
autocomplete?: InputAutocomplete;
|
|
113
|
-
/**
|
|
114
|
-
* Hint for the action label/icon on the virtual keyboard's enter key.
|
|
115
|
-
* Use cases:
|
|
116
|
-
* - `enter`: Default, generic newline/submit action
|
|
117
|
-
* - `done`: Finishes current input session (e.g., last field in a form)
|
|
118
|
-
* - `go`: Navigates to URL input target (e.g., URL bar)
|
|
119
|
-
* - `next`: Advances to next input field in a sequence
|
|
120
|
-
* - `previous`: Goes back to previous input field
|
|
121
|
-
* - `search`: Submits a search query
|
|
122
|
-
* - `send`: Sends a message (e.g., chat, email)
|
|
123
|
-
*/
|
|
124
|
-
enterkeyhint?: EnterKeyHint;
|
|
125
|
-
/**
|
|
126
|
-
* Controls browser spell-checking for text input.
|
|
127
|
-
* When true, enables spell-checking; when false, disables it.
|
|
128
|
-
* Browser default behavior applies when not specified.
|
|
129
|
-
*/
|
|
130
|
-
spellcheck?: boolean;
|
|
131
|
-
/**
|
|
132
|
-
* Controls automatic capitalization of text input on mobile devices.
|
|
133
|
-
* - `off` or `none`: No automatic capitalization
|
|
134
|
-
* - `on` or `sentences`: Capitalize first letter of each sentence (default for most text inputs)
|
|
135
|
-
* - `words`: Capitalize first letter of each word
|
|
136
|
-
* - `characters`: Capitalize all characters
|
|
137
|
-
*/
|
|
138
|
-
autocapitalize?: AutocapitalizeType;
|
|
139
|
-
/**
|
|
140
|
-
* Safari-specific password rules for strong password generation (password inputs only).
|
|
141
|
-
* Format: "minlength: X; required: lower; required: upper; required: digit; required: special;"
|
|
142
|
-
* This attribute is Safari-specific and will be ignored by other browsers.
|
|
143
|
-
* See: https://developer.apple.com/documentation/security/password_autofill/customizing_password_autofill_rules
|
|
144
|
-
*/
|
|
145
|
-
passwordrules?: string;
|
|
146
|
-
/**
|
|
147
|
-
* Automatically focus the input when it is first rendered.
|
|
148
|
-
* Mirrors native `autofocus` attribute behavior. Avoid using multiple times per page.
|
|
149
|
-
*/
|
|
150
|
-
autofocus?: boolean;
|
|
151
|
-
/**
|
|
152
|
-
* Read-only mode (mirrors native `readonly`): value cannot be changed by the user,
|
|
153
|
-
* but the field can still receive focus, be selected, and be submitted with a form.
|
|
154
|
-
*/
|
|
155
|
-
readonly?: boolean;
|
|
156
|
-
/**
|
|
157
|
-
* Hint to the browser about which keyboard to display on mobile devices.
|
|
158
|
-
*/
|
|
159
|
-
inputmode?: InputMode;
|
|
160
|
-
/**
|
|
161
|
-
* When `true` field renders valid/invalid marker within.
|
|
162
|
-
*/
|
|
163
|
-
validityMarker: boolean;
|
|
164
|
-
/** Validity state passed from validateFormElement function after validation */
|
|
165
|
-
validityState: string;
|
|
166
|
-
/** Validity message passed from validateFormElement function after validation */
|
|
167
|
-
validityMessage: string;
|
|
168
|
-
/** Defines if the component has been touched by user */
|
|
169
|
-
touched: boolean;
|
|
170
|
-
/** Defines if the value has been changed by user interaction */
|
|
171
|
-
dirty: boolean;
|
|
172
|
-
/** Private flag to prevent validation during reset */
|
|
173
|
-
private isResetting;
|
|
174
|
-
/**
|
|
175
|
-
* Emitted after each validation attempt (native or triggered logic).
|
|
176
|
-
*/
|
|
177
|
-
rValidate: EventEmitter<{
|
|
178
|
-
state: string;
|
|
179
|
-
message: string;
|
|
180
|
-
}>;
|
|
181
|
-
/**
|
|
182
|
-
* Emitted on each user input (mirrors native `input` semantics).
|
|
183
|
-
*/
|
|
184
|
-
rInput: EventEmitter<{
|
|
185
|
-
element: HTMLRInputElement;
|
|
186
|
-
value: any;
|
|
187
|
-
}>;
|
|
188
|
-
/**
|
|
189
|
-
* Emitted when the input loses focus.
|
|
190
|
-
*/
|
|
191
|
-
rBlur: EventEmitter;
|
|
192
|
-
/**
|
|
193
|
-
* Emitted when the input receives focus.
|
|
194
|
-
*/
|
|
195
|
-
rFocus: EventEmitter;
|
|
196
|
-
/**
|
|
197
|
-
* Emitted when the committed value changes (mirrors native `change` semantics).
|
|
198
|
-
*/
|
|
199
|
-
rChange: EventEmitter<{
|
|
200
|
-
element: HTMLRInputElement;
|
|
201
|
-
value: any;
|
|
202
|
-
}>;
|
|
203
|
-
/**
|
|
204
|
-
* Emitted when a parent form is reset and the field restores its initial value.
|
|
205
|
-
*/
|
|
206
|
-
rReset: EventEmitter<{
|
|
207
|
-
element: HTMLRInputElement;
|
|
208
|
-
value: any;
|
|
209
|
-
}>;
|
|
210
|
-
/**
|
|
211
|
-
* Programmatically focus the native input element.
|
|
212
|
-
*/
|
|
213
|
-
setFocus(): Promise<void>;
|
|
214
|
-
/**
|
|
215
|
-
* Programmatically remove focus from the native input.
|
|
216
|
-
*/
|
|
217
|
-
setBlur(): Promise<void>;
|
|
218
|
-
/**
|
|
219
|
-
* Select (highlight) the entire current input value.
|
|
220
|
-
*/
|
|
221
|
-
select(): Promise<void>;
|
|
222
|
-
/**
|
|
223
|
-
* Get the start index of the current text selection (or null if unavailable).
|
|
224
|
-
*/
|
|
225
|
-
getSelectionStart(): Promise<number | null>;
|
|
226
|
-
/**
|
|
227
|
-
* Get the end index of the current text selection (or null if unavailable).
|
|
228
|
-
*/
|
|
229
|
-
getSelectionEnd(): Promise<number | null>;
|
|
230
|
-
/**
|
|
231
|
-
* Set a selection (or caret) range within the value.
|
|
232
|
-
* @param start Start index (inclusive)
|
|
233
|
-
* @param end End index (exclusive)
|
|
234
|
-
* @param direction Selection direction (browser hint)
|
|
235
|
-
*/
|
|
236
|
-
setSelectionRange(start: number, end: number, direction?: 'forward' | 'backward' | 'none'): Promise<void>;
|
|
237
|
-
/**
|
|
238
|
-
* Retrieve the current value (returns empty string if unset).
|
|
239
|
-
*/
|
|
240
|
-
getValue(): Promise<string>;
|
|
241
|
-
/**
|
|
242
|
-
* Set the current value programmatically (does not fire native input/change automatically).
|
|
243
|
-
*/
|
|
244
|
-
setValue(value: string): Promise<void>;
|
|
245
|
-
/**
|
|
246
|
-
* Validates the input without triggering UI and returns a boolean indicating its validity.
|
|
247
|
-
* @returns A boolean indicating whether the input is valid.
|
|
248
|
-
*/
|
|
249
|
-
checkValidity(): Promise<boolean>;
|
|
250
|
-
/**
|
|
251
|
-
* Gets the touched state (whether user has interacted with the input)
|
|
252
|
-
*/
|
|
253
|
-
isTouched(): Promise<boolean>;
|
|
254
|
-
/**
|
|
255
|
-
* Gets the dirty state (whether value has been changed by user)
|
|
256
|
-
*/
|
|
257
|
-
isDirty(): Promise<boolean>;
|
|
258
|
-
/**
|
|
259
|
-
* Resets touched and dirty states to pristine (untouched/clean)
|
|
260
|
-
*/
|
|
261
|
-
markAsPristine(): Promise<void>;
|
|
262
|
-
private nativeElement;
|
|
263
|
-
private uniqueId;
|
|
264
|
-
/**
|
|
265
|
-
* Initial attributes state
|
|
266
|
-
* */
|
|
267
|
-
private initial;
|
|
268
|
-
/** Identify wrapping form element */
|
|
269
|
-
private get parentFormEl();
|
|
270
|
-
private get ariaDescribedBy();
|
|
271
|
-
private get hasError();
|
|
272
|
-
private get hasValidationError();
|
|
273
|
-
private get hasMessage();
|
|
274
|
-
/**
|
|
275
|
-
* Determine whether this element should be ignored
|
|
276
|
-
* during Constraint Validation API validation.
|
|
277
|
-
* */
|
|
278
|
-
private get isNoValidate();
|
|
279
|
-
private get hasTrailingSlot();
|
|
280
|
-
private getValidityStateData;
|
|
281
|
-
private get validEmailPattern();
|
|
282
|
-
private validateFormElement;
|
|
283
|
-
private onInput;
|
|
284
|
-
private onChange;
|
|
285
|
-
private onBlur;
|
|
286
|
-
private onFocus;
|
|
287
|
-
componentWillLoad(): void;
|
|
288
|
-
private contributeToFormData;
|
|
289
|
-
private connectFormEventListeners;
|
|
290
|
-
private disconnectFormEventListeners;
|
|
291
|
-
connectedCallback(): void;
|
|
292
|
-
disconnectedCallback(): void;
|
|
293
|
-
private onResetForm;
|
|
294
|
-
private onSubmitForm;
|
|
295
|
-
private handleKeyup;
|
|
296
|
-
private handleClick;
|
|
297
|
-
handleValueChange(): void;
|
|
298
|
-
handleTypeChange(): void;
|
|
299
|
-
render(): any;
|
|
300
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const InputCodeInputModeArray: readonly ["none", "text", "tel", "url", "email", "numeric", "decimal", "search"];
|
|
2
|
-
export declare const InputCodeEnterKeyHintArray: readonly ["enter", "done", "go", "next", "previous", "search", "send"];
|
|
3
|
-
export type InputCodeInputMode = typeof InputCodeInputModeArray[number];
|
|
4
|
-
export type InputCodeEnterKeyHint = typeof InputCodeEnterKeyHintArray[number];
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import type { InputCodeInputMode, InputCodeEnterKeyHint } from './exports';
|
|
3
|
-
export declare class InputCode {
|
|
4
|
-
host: HTMLRInputCodeElement;
|
|
5
|
-
/** Specifies the `id` of the `<form>` to which the element belongs. */
|
|
6
|
-
form?: string;
|
|
7
|
-
/** Specifies a name for an input for submission within formData object. */
|
|
8
|
-
name: string;
|
|
9
|
-
/** Number of digits (typically 4–6).
|
|
10
|
-
* @default: 4
|
|
11
|
-
*/
|
|
12
|
-
length: number;
|
|
13
|
-
/** Whether the input is disabled */
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
/** Specifies if element must be ignored during validation of the form elements. */
|
|
16
|
-
novalidate?: boolean;
|
|
17
|
-
/** Whether the input is required */
|
|
18
|
-
required?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Read-only mode (mirrors native `readonly`): value cannot be changed by the user,
|
|
21
|
-
* but the field can still receive focus, be selected, and be submitted with a form.
|
|
22
|
-
*/
|
|
23
|
-
readonly?: boolean;
|
|
24
|
-
/** Label for accessibility.
|
|
25
|
-
* @default: 'Verification code'
|
|
26
|
-
*/
|
|
27
|
-
label: string;
|
|
28
|
-
/** Text of an additional marker in the label */
|
|
29
|
-
fieldIndicator?: string;
|
|
30
|
-
/** Description for accessibility */
|
|
31
|
-
hint?: string;
|
|
32
|
-
/** Validity indicator, serving to change UI of the component */
|
|
33
|
-
invalid?: boolean;
|
|
34
|
-
/** The way to provide error message separately from Constraint Validation API. */
|
|
35
|
-
error?: string;
|
|
36
|
-
/** Visual indication of valid state */
|
|
37
|
-
valid?: boolean;
|
|
38
|
-
/** Set custom message for `tooShort` property of a ValidityState object (set by `minlength`) within Constrain Validation API */
|
|
39
|
-
tooShortMessage?: string;
|
|
40
|
-
/** Set custom message for `customError` property of a ValidityState object indicating whether the element's custom validity message has been set to a non-empty string by calling the element's setCustomValidity() method. */
|
|
41
|
-
customErrorMessage?: string;
|
|
42
|
-
/** Set custom message for `valueMissing` property of a ValidityState object (set by `required`) within Constrain Validation API */
|
|
43
|
-
valueMissingMessage?: string;
|
|
44
|
-
/** Defines if the component suppose to occupy 100% width */
|
|
45
|
-
fullWidth?: boolean;
|
|
46
|
-
/** Defines label for each character's input.
|
|
47
|
-
* Default "Character: ${character number}" */
|
|
48
|
-
ariaCharacterLabel?: string;
|
|
49
|
-
/** Defines initial value */
|
|
50
|
-
value?: string | null;
|
|
51
|
-
/** Specifies the input mode for the virtual keyboard on mobile devices. Default is 'numeric' for OTP codes.
|
|
52
|
-
* @default: 'numeric'
|
|
53
|
-
*/
|
|
54
|
-
inputmode?: InputCodeInputMode;
|
|
55
|
-
/** Specifies the enter key hint for the virtual keyboard. Default is 'done' for OTP completion.
|
|
56
|
-
* @default: 'done'
|
|
57
|
-
*/
|
|
58
|
-
enterkeyhint?: InputCodeEnterKeyHint;
|
|
59
|
-
/** Specifies the autocomplete behavior. Default is 'one-time-code' for SMS OTP autofill.
|
|
60
|
-
* @default: 'one-time-code'
|
|
61
|
-
*/
|
|
62
|
-
autocomplete?: string;
|
|
63
|
-
/** Emits the current code value as it changes */
|
|
64
|
-
rChange: EventEmitter<{
|
|
65
|
-
value: string;
|
|
66
|
-
}>;
|
|
67
|
-
/** Emits event after each validation */
|
|
68
|
-
rValidate: EventEmitter<{
|
|
69
|
-
state: string;
|
|
70
|
-
message: string;
|
|
71
|
-
}>;
|
|
72
|
-
/** Emits 'rReset' event when form containing the component was reset */
|
|
73
|
-
rReset: EventEmitter<{
|
|
74
|
-
element: HTMLRInputCodeElement;
|
|
75
|
-
value: any;
|
|
76
|
-
}>;
|
|
77
|
-
/** Emits when all segments are filled with values */
|
|
78
|
-
rComplete: EventEmitter<{
|
|
79
|
-
value: string;
|
|
80
|
-
isComplete: boolean;
|
|
81
|
-
}>;
|
|
82
|
-
/** Holds the current values of each input box */
|
|
83
|
-
values: string[];
|
|
84
|
-
/** Tracks whether the component was previously in a complete state */
|
|
85
|
-
wasComplete: boolean;
|
|
86
|
-
/** Tracks the last completed value to detect changes */
|
|
87
|
-
lastCompletedValue: string;
|
|
88
|
-
/** Validity state passed from validateFormElement function after validation */
|
|
89
|
-
validityState: string | null;
|
|
90
|
-
/** Validity message passed from validateFormElement function after validation */
|
|
91
|
-
validityMessage: string | null;
|
|
92
|
-
private inputs;
|
|
93
|
-
/**
|
|
94
|
-
* Validates segment index and throws descriptive errors if invalid.
|
|
95
|
-
* @param index - The index to validate
|
|
96
|
-
* @throws Error if index is not an integer or out of bounds
|
|
97
|
-
*/
|
|
98
|
-
private validateSegmentIndex;
|
|
99
|
-
/**
|
|
100
|
-
* Gets the current complete code value by joining all individual digit values.
|
|
101
|
-
* @returns Promise that resolves to the complete code string
|
|
102
|
-
*/
|
|
103
|
-
getValue(): Promise<string>;
|
|
104
|
-
/**
|
|
105
|
-
* Resets the component by clearing all input values and focusing the first input.
|
|
106
|
-
* @returns Promise that resolves when reset is complete
|
|
107
|
-
*/
|
|
108
|
-
reset(): Promise<void>;
|
|
109
|
-
/**
|
|
110
|
-
* Sets provided value.
|
|
111
|
-
* */
|
|
112
|
-
setValue(value: string | null): Promise<void>;
|
|
113
|
-
/**
|
|
114
|
-
* Validates the input code without triggering UI and returns a boolean indicating its validity.
|
|
115
|
-
* @returns A boolean indicating whether the input code is valid.
|
|
116
|
-
*/
|
|
117
|
-
checkValidity(): Promise<boolean>;
|
|
118
|
-
/**
|
|
119
|
-
* Focuses a specific segment (input) by index.
|
|
120
|
-
* @param index - The zero-based index of the segment to focus (0 to length-1)
|
|
121
|
-
* @returns Promise that resolves when focus is set, or rejects if index is invalid
|
|
122
|
-
*/
|
|
123
|
-
focusSegment(index: number): Promise<void>;
|
|
124
|
-
/**
|
|
125
|
-
* Gets the value of a specific segment by index.
|
|
126
|
-
* @param index - The zero-based index of the segment (0 to length-1)
|
|
127
|
-
* @returns Promise that resolves to the segment value (single character string or empty string)
|
|
128
|
-
*/
|
|
129
|
-
getSegmentValue(index: number): Promise<string>;
|
|
130
|
-
/**
|
|
131
|
-
* Sets the value of a specific segment by index.
|
|
132
|
-
* @param index - The zero-based index of the segment (0 to length-1)
|
|
133
|
-
* @param value - The value to set (will be truncated to first character if longer)
|
|
134
|
-
*/
|
|
135
|
-
setSegmentValue(index: number, value: string): Promise<void>;
|
|
136
|
-
handleValuesChange(): void;
|
|
137
|
-
handleLengthChange(newLength: number): void;
|
|
138
|
-
/**
|
|
139
|
-
* Checks if all segments are filled and emits rComplete event when:
|
|
140
|
-
* 1. Transitioning from incomplete to complete
|
|
141
|
-
* 2. Complete and value has changed from previous completed value
|
|
142
|
-
*/
|
|
143
|
-
private checkAndEmitCompletion;
|
|
144
|
-
private handleInput;
|
|
145
|
-
private handleKeyDown;
|
|
146
|
-
private createInputHandler;
|
|
147
|
-
private createKeyDownHandler;
|
|
148
|
-
private handlePaste;
|
|
149
|
-
private get firstEmptyInput();
|
|
150
|
-
private onHostClick;
|
|
151
|
-
private uniqueId;
|
|
152
|
-
private nativeElement;
|
|
153
|
-
private get message();
|
|
154
|
-
private get ariaDescribedBy();
|
|
155
|
-
/** Identify wrapping form element */
|
|
156
|
-
private get parentFormEl();
|
|
157
|
-
/**
|
|
158
|
-
* Determine whether this element should be ignored
|
|
159
|
-
* during Constraint Validation API validation.
|
|
160
|
-
* */
|
|
161
|
-
private get isNoValidate();
|
|
162
|
-
private getValidityStateData;
|
|
163
|
-
private validateFormElement;
|
|
164
|
-
private onResetForm;
|
|
165
|
-
private onSubmitForm;
|
|
166
|
-
private contributeToFormData;
|
|
167
|
-
private connectFormEventListeners;
|
|
168
|
-
private disconnectFormEventListeners;
|
|
169
|
-
connectedCallback(): void;
|
|
170
|
-
disconnectedCallback(): void;
|
|
171
|
-
private get hasMessage();
|
|
172
|
-
private get groupDescribedby();
|
|
173
|
-
componentWillLoad(): void;
|
|
174
|
-
render(): any;
|
|
175
|
-
}
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { DateStructure } from "./exports";
|
|
3
|
-
export declare class InputDate {
|
|
4
|
-
host: HTMLRInputDateElement;
|
|
5
|
-
/** Specifies the `id` of the `<form>` to which the element belongs */
|
|
6
|
-
form?: string;
|
|
7
|
-
/** Specifies if element must be ignored during validation of the form elements */
|
|
8
|
-
novalidate?: boolean;
|
|
9
|
-
/** Specifies a name for a input */
|
|
10
|
-
name: string;
|
|
11
|
-
/** Specifies a date format */
|
|
12
|
-
format: string;
|
|
13
|
-
/** The value of the date input */
|
|
14
|
-
value?: string | null;
|
|
15
|
-
/** The text on the label */
|
|
16
|
-
label: string;
|
|
17
|
-
/** Text of an additional marker in the label */
|
|
18
|
-
fieldIndicator?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Optional hint, visually presented under the input,
|
|
21
|
-
* giving additional context to the user
|
|
22
|
-
*/
|
|
23
|
-
hint?: string;
|
|
24
|
-
/** Defines if the component suppose to occupy 100% width */
|
|
25
|
-
fullWidth?: boolean;
|
|
26
|
-
/** Defines label for the input for the day */
|
|
27
|
-
dayAriaLabel: string;
|
|
28
|
-
/** Defines label for the input for the month */
|
|
29
|
-
monthAriaLabel: string;
|
|
30
|
-
/** Defines label for the input for the year */
|
|
31
|
-
yearAriaLabel: string;
|
|
32
|
-
/** Visual indication of valid state */
|
|
33
|
-
valid?: boolean;
|
|
34
|
-
/** Validity indicator, serving to change UI of the component */
|
|
35
|
-
invalid?: boolean;
|
|
36
|
-
/** The way to provide error message separately from Constraint Validation API. */
|
|
37
|
-
error?: string;
|
|
38
|
-
/** Prevents user interaction and applies disabled style */
|
|
39
|
-
disabled?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Makes the date inputs read-only: users can focus and copy the value,
|
|
42
|
-
* but cannot modify it (value still submitted with the form unlike disabled).
|
|
43
|
-
*/
|
|
44
|
-
readonly?: boolean;
|
|
45
|
-
/** Specifies that an input is required/must be filled out */
|
|
46
|
-
required?: boolean;
|
|
47
|
-
/** Set custom message for `valueMissing` property of a ValidityState object (set by `required`) */
|
|
48
|
-
valueMissingMessage?: string;
|
|
49
|
-
/** Custom error message displayed when date is not valid. */
|
|
50
|
-
invalidDateMessage?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Minimum date value (in the same format as the date input).
|
|
53
|
-
* Note: When changing the `format` prop, ensure `min` is also updated to match the new format.
|
|
54
|
-
*/
|
|
55
|
-
min?: string;
|
|
56
|
-
/**
|
|
57
|
-
* Maximum date value (in the same format as the date input).
|
|
58
|
-
* Note: When changing the `format` prop, ensure `max` is also updated to match the new format.
|
|
59
|
-
*/
|
|
60
|
-
max?: string;
|
|
61
|
-
/** Custom error message displayed when date is before the minimum date. */
|
|
62
|
-
rangeUnderflowMessage?: string;
|
|
63
|
-
/** Custom error message displayed when date is after the maximum date. */
|
|
64
|
-
rangeOverflowMessage?: string;
|
|
65
|
-
/** Custom error message displayed for any validation failures in the input. */
|
|
66
|
-
customErrorMessage?: string;
|
|
67
|
-
/** Save current value */
|
|
68
|
-
currentValues: DateStructure;
|
|
69
|
-
/** Defines date delimiter */
|
|
70
|
-
delimiter: string;
|
|
71
|
-
/** Validity state passed from validateFormElement function after validation */
|
|
72
|
-
validityState: string;
|
|
73
|
-
/** Validity message passed from validateFormElement function after validation */
|
|
74
|
-
validityMessage: string;
|
|
75
|
-
/** Defines if the component has been touched by user */
|
|
76
|
-
touched: boolean;
|
|
77
|
-
/** Defines if the value has been changed by user interaction */
|
|
78
|
-
dirty: boolean;
|
|
79
|
-
/** Emits event after each validation */
|
|
80
|
-
rValidate: EventEmitter<{
|
|
81
|
-
state: string;
|
|
82
|
-
message: string;
|
|
83
|
-
}>;
|
|
84
|
-
/** Emits 'rInput' event when value of the component is changing */
|
|
85
|
-
rInput: EventEmitter<{
|
|
86
|
-
element: HTMLRInputDateElement;
|
|
87
|
-
value: any;
|
|
88
|
-
}>;
|
|
89
|
-
/** Emits 'rChange' event when value of the component has been changed */
|
|
90
|
-
rChange: EventEmitter<{
|
|
91
|
-
element: HTMLRInputDateElement;
|
|
92
|
-
value: any;
|
|
93
|
-
}>;
|
|
94
|
-
/** Emits 'rReset' event when form containing the component was reset */
|
|
95
|
-
rReset: EventEmitter<{
|
|
96
|
-
element: HTMLRInputDateElement;
|
|
97
|
-
value: any;
|
|
98
|
-
}>;
|
|
99
|
-
handleFormatChange(): void;
|
|
100
|
-
handleValueChange(): void;
|
|
101
|
-
/** Get the date value */
|
|
102
|
-
getValue(): Promise<string>;
|
|
103
|
-
/** Sets the date value */
|
|
104
|
-
setValue(value: string): Promise<void>;
|
|
105
|
-
/** Gets the current date format */
|
|
106
|
-
getFormat(): Promise<string>;
|
|
107
|
-
/** Sets the date format */
|
|
108
|
-
setFormat(format: string): Promise<void>;
|
|
109
|
-
/** Gets the touched state (whether user has interacted with the input) */
|
|
110
|
-
isTouched(): Promise<boolean>;
|
|
111
|
-
/** Gets the dirty state (whether value has been changed by user) */
|
|
112
|
-
isDirty(): Promise<boolean>;
|
|
113
|
-
/** Resets touched and dirty states to pristine (untouched/clean) */
|
|
114
|
-
markAsPristine(): Promise<void>;
|
|
115
|
-
/**
|
|
116
|
-
* Resets the component by clearing all input values and focusing the first input.
|
|
117
|
-
* @returns Promise that resolves when reset is complete
|
|
118
|
-
*/
|
|
119
|
-
reset(): Promise<void>;
|
|
120
|
-
/**
|
|
121
|
-
* Validates the input date without triggering UI and returns a boolean indicating its validity.
|
|
122
|
-
* @returns A boolean indicating whether the input date is valid.
|
|
123
|
-
*/
|
|
124
|
-
checkValidity(): Promise<boolean>;
|
|
125
|
-
/**
|
|
126
|
-
* Initial attributes state
|
|
127
|
-
* */
|
|
128
|
-
private initial;
|
|
129
|
-
private uniqueId;
|
|
130
|
-
private nativeElement;
|
|
131
|
-
private get inputs();
|
|
132
|
-
private get inputOrder();
|
|
133
|
-
private get message();
|
|
134
|
-
private get hasMessage();
|
|
135
|
-
private get ariaDescribedBy();
|
|
136
|
-
/** Identify wrapping form element */
|
|
137
|
-
private get parentFormEl();
|
|
138
|
-
/**
|
|
139
|
-
* Determine whether this element should be ignored
|
|
140
|
-
* during Constraint Validation API validation.
|
|
141
|
-
* */
|
|
142
|
-
private get isNoValidate();
|
|
143
|
-
private get firstEmptyInput();
|
|
144
|
-
private get hasTrailingSlot();
|
|
145
|
-
private getDateComponent;
|
|
146
|
-
private setDateComponent;
|
|
147
|
-
private getInputAttrs;
|
|
148
|
-
private getDelimiter;
|
|
149
|
-
private updateValue;
|
|
150
|
-
private onHostClick;
|
|
151
|
-
private onInputClick;
|
|
152
|
-
private createKeyDownHandler;
|
|
153
|
-
private handleKeyDown;
|
|
154
|
-
private handlePaste;
|
|
155
|
-
private createInputHandler;
|
|
156
|
-
private handleInput;
|
|
157
|
-
private createChangeHandler;
|
|
158
|
-
private handleChange;
|
|
159
|
-
private handleBlur;
|
|
160
|
-
private getValidityStateData;
|
|
161
|
-
private validateFormElement;
|
|
162
|
-
private onResetForm;
|
|
163
|
-
private onSubmitForm;
|
|
164
|
-
private contributeToFormData;
|
|
165
|
-
private setCurrentValues;
|
|
166
|
-
componentWillLoad(): void;
|
|
167
|
-
private connectFormEventListeners;
|
|
168
|
-
private disconnectFormEventListeners;
|
|
169
|
-
connectedCallback(): void;
|
|
170
|
-
disconnectedCallback(): void;
|
|
171
|
-
render(): any;
|
|
172
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type PasswordAutocomplete = 'current-password' | 'new-password' | 'off';
|