@duetds/components 8.0.6 → 8.1.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/hydrate/index.d.ts +2 -2
- package/hydrate/index.js +19099 -17881
- package/lib/cjs/app-globals-cd75f624.js +54 -0
- package/lib/cjs/{common-strings-86913e94.js → common-strings-22c70ef0.js} +6 -6
- package/lib/cjs/create-id-1f8c438f.js +13 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +133 -133
- package/lib/cjs/duet-alert.cjs.entry.js +106 -106
- package/lib/cjs/duet-badge.cjs.entry.js +29 -29
- package/lib/cjs/duet-banner.cjs.entry.js +52 -52
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +41 -41
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +51 -51
- package/lib/cjs/duet-button_2.cjs.entry.js +229 -229
- package/lib/cjs/duet-callout.cjs.entry.js +28 -28
- package/lib/cjs/duet-caption_4.cjs.entry.js +187 -187
- package/lib/cjs/duet-card.cjs.entry.js +93 -93
- package/lib/cjs/duet-checkbox.cjs.entry.js +85 -85
- package/lib/cjs/duet-checkmark.cjs.entry.js +23 -23
- package/lib/cjs/duet-chip.cjs.entry.js +182 -182
- package/lib/cjs/duet-choice_2.cjs.entry.js +392 -392
- package/lib/cjs/duet-collapsible.cjs.entry.js +98 -98
- package/lib/cjs/duet-combobox.cjs.entry.js +362 -362
- package/lib/cjs/duet-contact-card.cjs.entry.js +49 -49
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +35 -35
- package/lib/cjs/duet-date-picker.cjs.entry.js +610 -610
- package/lib/cjs/duet-divider_2.cjs.entry.js +53 -53
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +1247 -1247
- package/lib/cjs/duet-empty-state.cjs.entry.js +26 -26
- package/lib/cjs/duet-fieldset.cjs.entry.js +50 -50
- package/lib/cjs/duet-file-chooser.cjs.entry.js +44 -44
- package/lib/cjs/duet-footer.cjs.entry.js +118 -118
- package/lib/cjs/duet-grid_2.cjs.entry.js +185 -185
- package/lib/cjs/duet-header_2.cjs.entry.js +610 -610
- package/lib/cjs/duet-hero.cjs.entry.js +172 -172
- package/lib/cjs/duet-icon.cjs.entry.js +141 -141
- package/lib/cjs/duet-input_2.cjs.entry.js +346 -346
- package/lib/cjs/duet-layout.cjs.entry.js +51 -51
- package/lib/cjs/duet-list_2.cjs.entry.js +99 -99
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +70 -70
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +44 -44
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +93 -93
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +58 -58
- package/lib/cjs/duet-menu-bar.cjs.entry.js +116 -116
- package/lib/cjs/duet-modal.cjs.entry.js +188 -188
- package/lib/cjs/duet-multiselect.cjs.entry.js +206 -206
- package/lib/cjs/duet-nav.cjs.entry.js +20 -20
- package/lib/cjs/duet-notification_2.cjs.entry.js +140 -140
- package/lib/cjs/duet-number-input.cjs.entry.js +337 -337
- package/lib/cjs/duet-page-heading.cjs.entry.js +26 -26
- package/lib/cjs/duet-pagination_2.cjs.entry.js +511 -511
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +62 -62
- package/lib/cjs/duet-popup-menu.cjs.entry.js +147 -147
- package/lib/cjs/duet-progress.cjs.entry.js +54 -54
- package/lib/cjs/duet-promo-card.cjs.entry.js +40 -40
- package/lib/cjs/duet-radio_2.cjs.entry.js +197 -197
- package/lib/cjs/duet-range-slider.cjs.entry.js +105 -105
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +384 -386
- package/lib/cjs/duet-section-layout.cjs.entry.js +21 -21
- package/lib/cjs/duet-select.cjs.entry.js +156 -156
- package/lib/cjs/duet-shaped-image.cjs.entry.js +28 -28
- package/lib/cjs/duet-show-more.cjs.entry.js +98 -98
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +36 -36
- package/lib/cjs/duet-slideout-link.cjs.entry.js +33 -33
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +50 -50
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +120 -120
- package/lib/cjs/duet-slideout.cjs.entry.js +194 -194
- package/lib/cjs/duet-step_2.cjs.entry.js +182 -184
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +36 -36
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +103 -103
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +59 -59
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +110 -110
- package/lib/cjs/duet-textarea.cjs.entry.js +160 -160
- package/lib/cjs/duet-toggle.cjs.entry.js +72 -72
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +35 -35
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +59 -59
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +31 -31
- package/lib/cjs/duet-toolbar.cjs.entry.js +34 -34
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +98 -80
- package/lib/cjs/duet-tooltip.cjs.entry.js +185 -187
- package/lib/cjs/duet-tray.cjs.entry.js +82 -82
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +65 -65
- package/lib/cjs/duet-upload-item.cjs.entry.js +81 -81
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +12 -12
- package/lib/cjs/duet.cjs.js +4 -4
- package/lib/cjs/errorcodes.utils-a86b1f94.js +39 -0
- package/lib/cjs/focus-utils-9b549956.js +21 -0
- package/lib/cjs/{index-2cce7b13.js → index-ce232ed8.js} +106 -45
- package/lib/cjs/input-utils-1096a2c5.js +56 -0
- package/lib/cjs/{is-internet-explorer-76c3b538.js → is-internet-explorer-e7f58ebc.js} +2 -2
- package/lib/cjs/{js-utils-b20cfc79.js → js-utils-92e24ba1.js} +27 -27
- package/lib/cjs/{language-utils-dc19e8b6.js → language-utils-e8a527e5.js} +74 -74
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-query-b7555763.js → slot-query-3259af5b.js} +1 -1
- package/lib/cjs/string-utils-053749ff.js +59 -0
- package/lib/cjs/teleport-e9d05bca.js +99 -0
- package/lib/cjs/themeable-component-83a2a0d4.js +15 -0
- package/lib/cjs/token-utils-84b3bca6.js +124 -0
- package/lib/cjs/watch-options-30a12622.js +61 -0
- package/lib/collection/collection-manifest.json +2 -2
- package/lib/collection/common/slot-query.js +3 -3
- package/lib/collection/common/themeable-component.js +6 -6
- package/lib/collection/common-strings.js +6 -6
- package/lib/collection/components/duet-action-button/duet-action-button.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-action-button/duet-action-button.js +570 -569
- package/lib/collection/components/duet-alert/duet-alert.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-alert/duet-alert.e2e.js +47 -47
- package/lib/collection/components/duet-alert/duet-alert.js +442 -441
- package/lib/collection/components/duet-badge/duet-badge.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-badge/duet-badge.e2e.js +21 -21
- package/lib/collection/components/duet-badge/duet-badge.js +134 -134
- package/lib/collection/components/duet-banner/duet-banner.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-banner/duet-banner.e2e.js +16 -16
- package/lib/collection/components/duet-banner/duet-banner.js +309 -309
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +139 -139
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.e2e.js +6 -6
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +112 -112
- package/lib/collection/components/duet-button/duet-button.a11y.e2e.js +30 -30
- package/lib/collection/components/duet-button/duet-button.e2e.js +187 -187
- package/lib/collection/components/duet-button/duet-button.js +1068 -1067
- package/lib/collection/components/duet-callout/duet-callout.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-callout/duet-callout.e2e.js +15 -15
- package/lib/collection/components/duet-callout/duet-callout.js +88 -88
- package/lib/collection/components/duet-caption/duet-caption.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-caption/duet-caption.e2e.js +20 -20
- package/lib/collection/components/duet-caption/duet-caption.js +131 -131
- package/lib/collection/components/duet-card/duet-card.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-card/duet-card.e2e.js +85 -85
- package/lib/collection/components/duet-card/duet-card.js +492 -491
- package/lib/collection/components/duet-checkbox/duet-checkbox.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-checkbox/duet-checkbox.e2e.js +103 -103
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +553 -549
- package/lib/collection/components/duet-chip/duet-chip.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-chip/duet-chip.e2e.js +40 -40
- package/lib/collection/components/duet-chip/duet-chip.js +487 -486
- package/lib/collection/components/duet-choice/duet-checkmark.js +136 -136
- package/lib/collection/components/duet-choice/duet-choice.a11y.e2e.js +25 -25
- package/lib/collection/components/duet-choice/duet-choice.e2e.js +171 -171
- package/lib/collection/components/duet-choice/duet-choice.js +1092 -1088
- package/lib/collection/components/duet-choice-group/duet-choice-group.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-choice-group/duet-choice-group.e2e.js +63 -63
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +456 -453
- package/lib/collection/components/duet-collapsible/duet-collapsible.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-collapsible/duet-collapsible.e2e.js +87 -87
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +363 -362
- package/lib/collection/components/duet-combobox/duet-combobox-select-single.js +2 -2
- package/lib/collection/components/duet-combobox/duet-combobox-select.js +8 -8
- package/lib/collection/components/duet-combobox/duet-combobox.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-combobox/duet-combobox.e2e.js +115 -115
- package/lib/collection/components/duet-combobox/duet-combobox.js +670 -669
- package/lib/collection/components/duet-contact-card/duet-contact-card.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +255 -255
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.e2e.js +16 -16
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +127 -127
- package/lib/collection/components/duet-date-picker/date-i18n.js +97 -97
- package/lib/collection/components/duet-date-picker/date-picker-day.js +9 -9
- package/lib/collection/components/duet-date-picker/date-picker-input.js +5 -5
- package/lib/collection/components/duet-date-picker/date-picker-month.js +16 -16
- package/lib/collection/components/duet-date-picker/date-utils.js +95 -95
- package/lib/collection/components/duet-date-picker/date-utils.spec.js +323 -323
- package/lib/collection/components/duet-date-picker/duet-date-picker.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-date-picker/duet-date-picker.e2e.js +618 -618
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +1049 -1044
- package/lib/collection/components/duet-date-picker/utils.js +29 -29
- package/lib/collection/components/duet-divider/duet-divider.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-divider/duet-divider.e2e.js +24 -24
- package/lib/collection/components/duet-divider/duet-divider.js +112 -112
- package/lib/collection/components/duet-editable-table/duet-editable-table-tabledata.js +7 -7
- package/lib/collection/components/duet-editable-table/duet-editable-table.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-editable-table/duet-editable-table.e2e.js +19 -19
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +501 -498
- package/lib/collection/components/duet-empty-state/duet-empty-state.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.e2e.js +10 -10
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +110 -110
- package/lib/collection/components/duet-fieldset/duet-fieldset.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-fieldset/duet-fieldset.e2e.js +5 -5
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +245 -245
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +179 -179
- package/lib/collection/components/duet-footer/duet-footer.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-footer/duet-footer.e2e.js +163 -163
- package/lib/collection/components/duet-footer/duet-footer.js +485 -485
- package/lib/collection/components/duet-grid/duet-grid.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-grid/duet-grid.e2e.js +36 -36
- package/lib/collection/components/duet-grid/duet-grid.js +345 -342
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +233 -230
- package/lib/collection/components/duet-header/duet-header-dropdown.js +12 -12
- package/lib/collection/components/duet-header/duet-header-icon.js +2 -2
- package/lib/collection/components/duet-header/duet-header.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-header/duet-header.e2e.js +430 -430
- package/lib/collection/components/duet-header/duet-header.js +1297 -1295
- package/lib/collection/components/duet-heading/duet-heading.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-heading/duet-heading.e2e.js +21 -21
- package/lib/collection/components/duet-heading/duet-heading.js +230 -230
- package/lib/collection/components/duet-hero/duet-hero.a11y.e2e.js +15 -15
- package/lib/collection/components/duet-hero/duet-hero.e2e.js +166 -166
- package/lib/collection/components/duet-hero/duet-hero.js +814 -814
- package/lib/collection/components/duet-icon/duet-icon.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.e2e.js +26 -26
- package/lib/collection/components/duet-icon/duet-icon.js +392 -392
- package/lib/collection/components/duet-icon/icon-utils.js +59 -59
- package/lib/collection/components/duet-icon/icon-utils.spec.js +76 -76
- package/lib/collection/components/duet-input/duet-input.a11y.e2e.js +20 -20
- package/lib/collection/components/duet-input/duet-input.e2e.js +195 -195
- package/lib/collection/components/duet-input/duet-input.js +1249 -1245
- package/lib/collection/components/duet-label/duet-label.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-label/duet-label.e2e.js +26 -26
- package/lib/collection/components/duet-label/duet-label.js +134 -131
- package/lib/collection/components/duet-layout/duet-layout.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-layout/duet-layout.e2e.js +26 -26
- package/lib/collection/components/duet-layout/duet-layout.js +207 -207
- package/lib/collection/components/duet-link/duet-link.a11y.e2e.js +15 -15
- package/lib/collection/components/duet-link/duet-link.e2e.js +47 -47
- package/lib/collection/components/duet-link/duet-link.js +436 -435
- package/lib/collection/components/duet-list/duet-list.a11y.e2e.js +11 -11
- package/lib/collection/components/duet-list/duet-list.e2e.js +50 -50
- package/lib/collection/components/duet-list/duet-list.js +292 -292
- package/lib/collection/components/duet-list-item/duet-list-item.js +81 -81
- package/lib/collection/components/duet-logo/duet-logo.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-logo/duet-logo.e2e.js +36 -36
- package/lib/collection/components/duet-logo/duet-logo.js +293 -292
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +261 -261
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +347 -346
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +224 -223
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +133 -133
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +170 -170
- package/lib/collection/components/duet-modal/duet-modal.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-modal/duet-modal.e2e.js +78 -78
- package/lib/collection/components/duet-modal/duet-modal.js +687 -687
- package/lib/collection/components/duet-multiselect/duet-multiselect.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-multiselect/duet-multiselect.e2e.js +87 -87
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +654 -653
- package/lib/collection/components/duet-nav/duet-nav.js +56 -56
- package/lib/collection/components/duet-notification/duet-notification.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-notification/duet-notification.e2e.js +6 -6
- package/lib/collection/components/duet-notification/duet-notification.js +257 -259
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.e2e.js +141 -141
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +379 -383
- package/lib/collection/components/duet-number-input/duet-number-input-negative.e2e.js +26 -26
- package/lib/collection/components/duet-number-input/duet-number-input.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-number-input/duet-number-input.e2e.js +232 -232
- package/lib/collection/components/duet-number-input/duet-number-input.js +1117 -1113
- package/lib/collection/components/duet-page-heading/duet-page-heading.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +104 -104
- package/lib/collection/components/duet-pagination/duet-pagination-utils.js +4 -4
- package/lib/collection/components/duet-pagination/duet-pagination.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-pagination/duet-pagination.e2e.js +79 -79
- package/lib/collection/components/duet-pagination/duet-pagination.js +677 -677
- package/lib/collection/components/duet-paragraph/duet-paragraph.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-paragraph/duet-paragraph.e2e.js +21 -21
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +190 -190
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +407 -407
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +344 -343
- package/lib/collection/components/duet-progress/duet-progress.a11y.e2e.js +7 -7
- package/lib/collection/components/duet-progress/duet-progress.e2e.js +6 -6
- package/lib/collection/components/duet-progress/duet-progress.js +276 -273
- package/lib/collection/components/duet-promo-card/duet-promo-card.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-promo-card/duet-promo-card.e2e.js +16 -16
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +206 -206
- package/lib/collection/components/duet-radio/duet-radio.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-radio/duet-radio.e2e.js +126 -126
- package/lib/collection/components/duet-radio/duet-radio.js +609 -605
- package/lib/collection/components/duet-radio-group/duet-radio-group.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-radio-group/duet-radio-group.e2e.js +39 -39
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +423 -420
- package/lib/collection/components/duet-range-slider/duet-range-slider.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-range-slider/duet-range-slider.e2e.js +51 -51
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +561 -557
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.e2e.js +46 -46
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +341 -341
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.spec.js +17 -17
- package/lib/collection/components/duet-scrollable/duet-scrollable.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-scrollable/duet-scrollable.e2e.js +6 -6
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +294 -294
- package/lib/collection/components/duet-section-layout/duet-section-layout.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.e2e.js +16 -16
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +75 -75
- package/lib/collection/components/duet-select/duet-select.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-select/duet-select.e2e.js +201 -201
- package/lib/collection/components/duet-select/duet-select.js +722 -718
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +143 -143
- package/lib/collection/components/duet-show-more/duet-show-more.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-show-more/duet-show-more.js +436 -436
- package/lib/collection/components/duet-slideout/duet-slideout.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-slideout/duet-slideout.js +408 -407
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +75 -75
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +215 -215
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +282 -281
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +177 -176
- package/lib/collection/components/duet-spacer/duet-spacer.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-spacer/duet-spacer.e2e.js +21 -21
- package/lib/collection/components/duet-spacer/duet-spacer.js +110 -110
- package/lib/collection/components/duet-spinner/duet-spinner.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-spinner/duet-spinner.e2e.js +23 -23
- package/lib/collection/components/duet-spinner/duet-spinner.js +131 -131
- package/lib/collection/components/duet-step/duet-step.e2e.js +83 -83
- package/lib/collection/components/duet-step/duet-step.js +292 -290
- package/lib/collection/components/duet-stepper/duet-stepper.a11y.e2e.js +8 -8
- package/lib/collection/components/duet-stepper/duet-stepper.e2e.js +49 -49
- package/lib/collection/components/duet-stepper/duet-stepper.js +243 -243
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +218 -217
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +235 -234
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +162 -162
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +154 -154
- package/lib/collection/components/duet-tab/duet-tab.e2e.js +10 -10
- package/lib/collection/components/duet-tab/duet-tab.js +162 -161
- package/lib/collection/components/duet-tab-group/duet-tab-group.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-tab-group/duet-tab-group.e2e.js +60 -60
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +633 -632
- package/lib/collection/components/duet-table/duet-table.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-table/duet-table.e2e.js +25 -25
- package/lib/collection/components/duet-table/duet-table.js +284 -281
- package/lib/collection/components/duet-textarea/duet-textarea.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-textarea/duet-textarea.e2e.js +193 -193
- package/lib/collection/components/duet-textarea/duet-textarea.js +849 -845
- package/lib/collection/components/duet-toggle/duet-toggle.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-toggle/duet-toggle.e2e.js +66 -66
- package/lib/collection/components/duet-toggle/duet-toggle.js +468 -464
- package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +105 -105
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +221 -220
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +160 -160
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +156 -156
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +194 -164
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +280 -251
- package/lib/collection/components/duet-tooltip/duet-tooltip.a11y.e2e.js +14 -14
- package/lib/collection/components/duet-tooltip/duet-tooltip.e2e.js +76 -76
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +533 -529
- package/lib/collection/components/duet-tray/duet-tray.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-tray/duet-tray.e2e.js +67 -67
- package/lib/collection/components/duet-tray/duet-tray.js +315 -315
- package/lib/collection/components/duet-upload/duet-upload.e2e.js +40 -40
- package/lib/collection/components/duet-upload/duet-upload.js +2282 -2276
- package/lib/collection/components/duet-upload/errorcodes.utils.js +22 -22
- package/lib/collection/components/duet-upload/mock.helpers.js +85 -85
- package/lib/collection/components/duet-upload/upload-editable-item-error.js +4 -4
- package/lib/collection/components/duet-upload/upload-editable-item-success.js +15 -15
- package/lib/collection/components/duet-upload/upload-item-category.js +2 -2
- package/lib/collection/components/duet-upload/upload-item-header.js +4 -4
- package/lib/collection/components/duet-upload/upload-validators.js +96 -96
- package/lib/collection/components/duet-upload/upload-validators.spec.js +35 -35
- package/lib/collection/components/duet-upload/upload.helpers.js +8 -8
- package/lib/collection/components/duet-upload/xhr.helpers.js +26 -26
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +194 -194
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +306 -306
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.e2e.js +6 -6
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +20 -20
- package/lib/collection/global/duet-global.js +22 -22
- package/lib/collection/global/log-wrapper.js +29 -29
- package/lib/collection/utils/axe-core-utils.js +24 -24
- package/lib/collection/utils/create-id.js +2 -2
- package/lib/collection/utils/create-id.spec.js +6 -6
- package/lib/collection/utils/fixture-utils.js +25 -25
- package/lib/collection/utils/focus-utils.js +7 -7
- package/lib/collection/utils/group-by.js +9 -9
- package/lib/collection/utils/input-utils.js +25 -25
- package/lib/collection/utils/is-internet-explorer.js +2 -2
- package/lib/collection/utils/js-utils.js +38 -38
- package/lib/collection/utils/js-utils.spec.js +14 -14
- package/lib/collection/utils/language-utils.js +73 -73
- package/lib/collection/utils/language-utils.spec.js +151 -151
- package/lib/collection/utils/math.utils.js +59 -59
- package/lib/collection/utils/math.utils.spec.js +130 -130
- package/lib/collection/utils/picture-utils.js +2 -2
- package/lib/collection/utils/string-utils.js +31 -31
- package/lib/collection/utils/string-utils.spec.js +32 -32
- package/lib/collection/utils/teleport.js +77 -77
- package/lib/collection/utils/template-utils.js +18 -18
- package/lib/collection/utils/template-utils.spec.js +33 -33
- package/lib/collection/utils/test-utils.js +31 -31
- package/lib/collection/utils/token-utils.js +96 -96
- package/lib/collection/utils/token-utils.spec.js +170 -170
- package/lib/collection/utils/watch-options.js +44 -44
- package/lib/dist-custom-elements/duet-action-button.d.ts +2 -2
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.d.ts +2 -2
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.d.ts +2 -2
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.d.ts +2 -2
- package/lib/dist-custom-elements/duet-banner.js +96 -96
- package/lib/dist-custom-elements/duet-breadcrumb.d.ts +2 -2
- package/lib/dist-custom-elements/duet-breadcrumb.js +66 -66
- package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +2 -2
- package/lib/dist-custom-elements/duet-breadcrumbs.js +68 -68
- package/lib/dist-custom-elements/duet-button.d.ts +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.d.ts +2 -2
- package/lib/dist-custom-elements/duet-callout.js +57 -57
- package/lib/dist-custom-elements/duet-caption.d.ts +2 -2
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.d.ts +2 -2
- package/lib/dist-custom-elements/duet-card.js +137 -137
- package/lib/dist-custom-elements/duet-checkbox.d.ts +2 -2
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.d.ts +2 -2
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.d.ts +2 -2
- package/lib/dist-custom-elements/duet-chip.js +219 -219
- package/lib/dist-custom-elements/duet-choice-group.d.ts +2 -2
- package/lib/dist-custom-elements/duet-choice-group.js +189 -189
- package/lib/dist-custom-elements/duet-choice.d.ts +2 -2
- package/lib/dist-custom-elements/duet-choice.js +357 -357
- package/lib/dist-custom-elements/duet-collapsible.d.ts +2 -2
- package/lib/dist-custom-elements/duet-collapsible.js +130 -130
- package/lib/dist-custom-elements/duet-combobox.d.ts +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +405 -405
- package/lib/dist-custom-elements/duet-contact-card.d.ts +2 -2
- package/lib/dist-custom-elements/duet-contact-card.js +116 -116
- package/lib/dist-custom-elements/duet-cookie-consent.d.ts +2 -2
- package/lib/dist-custom-elements/duet-cookie-consent.js +82 -82
- package/lib/dist-custom-elements/duet-date-picker.d.ts +2 -2
- package/lib/dist-custom-elements/duet-date-picker.js +728 -728
- package/lib/dist-custom-elements/duet-divider.d.ts +2 -2
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.d.ts +2 -2
- package/lib/dist-custom-elements/duet-editable-table.js +230 -230
- package/lib/dist-custom-elements/duet-empty-state.d.ts +2 -2
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.d.ts +2 -2
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.d.ts +2 -2
- package/lib/dist-custom-elements/duet-file-chooser.js +70 -70
- package/lib/dist-custom-elements/duet-footer.d.ts +2 -2
- package/lib/dist-custom-elements/duet-footer.js +167 -167
- package/lib/dist-custom-elements/duet-grid-item.d.ts +2 -2
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.d.ts +2 -2
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.d.ts +2 -2
- package/lib/dist-custom-elements/duet-header.js +637 -637
- package/lib/dist-custom-elements/duet-heading.d.ts +2 -2
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.d.ts +2 -2
- package/lib/dist-custom-elements/duet-hero.js +270 -270
- package/lib/dist-custom-elements/duet-icon.d.ts +2 -2
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.d.ts +2 -2
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.d.ts +2 -2
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.d.ts +2 -2
- package/lib/dist-custom-elements/duet-layout.js +73 -73
- package/lib/dist-custom-elements/duet-link.d.ts +2 -2
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.d.ts +2 -2
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.d.ts +2 -2
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.d.ts +2 -2
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-button.js +106 -106
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +69 -69
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +120 -120
- package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +85 -85
- package/lib/dist-custom-elements/duet-menu-bar.d.ts +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +145 -145
- package/lib/dist-custom-elements/duet-modal.d.ts +2 -2
- package/lib/dist-custom-elements/duet-modal.js +262 -262
- package/lib/dist-custom-elements/duet-multiselect.d.ts +2 -2
- package/lib/dist-custom-elements/duet-multiselect.js +299 -299
- package/lib/dist-custom-elements/duet-nav.d.ts +2 -2
- package/lib/dist-custom-elements/duet-nav.js +36 -36
- package/lib/dist-custom-elements/duet-notification-drawer.d.ts +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +142 -142
- package/lib/dist-custom-elements/duet-notification.d.ts +2 -2
- package/lib/dist-custom-elements/duet-notification.js +76 -76
- package/lib/dist-custom-elements/duet-number-input.d.ts +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +448 -448
- package/lib/dist-custom-elements/duet-page-heading.d.ts +2 -2
- package/lib/dist-custom-elements/duet-page-heading.js +50 -50
- package/lib/dist-custom-elements/duet-pagination.d.ts +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +449 -449
- package/lib/dist-custom-elements/duet-paragraph.d.ts +2 -2
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +2 -2
- package/lib/dist-custom-elements/duet-popup-menu-item.js +95 -95
- package/lib/dist-custom-elements/duet-popup-menu.d.ts +2 -2
- package/lib/dist-custom-elements/duet-popup-menu.js +176 -176
- package/lib/dist-custom-elements/duet-progress.d.ts +2 -2
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.d.ts +2 -2
- package/lib/dist-custom-elements/duet-promo-card.js +74 -74
- package/lib/dist-custom-elements/duet-radio-group.d.ts +2 -2
- package/lib/dist-custom-elements/duet-radio-group.js +183 -183
- package/lib/dist-custom-elements/duet-radio.d.ts +2 -2
- package/lib/dist-custom-elements/duet-radio.js +130 -130
- package/lib/dist-custom-elements/duet-range-slider.d.ts +2 -2
- package/lib/dist-custom-elements/duet-range-slider.js +146 -146
- package/lib/dist-custom-elements/duet-range-stepper.d.ts +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +206 -206
- package/lib/dist-custom-elements/duet-scrollable.d.ts +2 -2
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.d.ts +2 -2
- package/lib/dist-custom-elements/duet-section-layout.js +38 -38
- package/lib/dist-custom-elements/duet-select.d.ts +2 -2
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.d.ts +2 -2
- package/lib/dist-custom-elements/duet-shaped-image.js +48 -48
- package/lib/dist-custom-elements/duet-show-more.d.ts +2 -2
- package/lib/dist-custom-elements/duet-show-more.js +151 -151
- package/lib/dist-custom-elements/duet-slideout-lang.d.ts +2 -2
- package/lib/dist-custom-elements/duet-slideout-lang.js +58 -58
- package/lib/dist-custom-elements/duet-slideout-link.d.ts +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +63 -63
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.d.ts +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +76 -76
- package/lib/dist-custom-elements/duet-slideout-panel.d.ts +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +149 -149
- package/lib/dist-custom-elements/duet-slideout.d.ts +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +225 -225
- package/lib/dist-custom-elements/duet-spacer.d.ts +2 -2
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.d.ts +2 -2
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.d.ts +2 -2
- package/lib/dist-custom-elements/duet-step.js +116 -118
- package/lib/dist-custom-elements/duet-stepper.d.ts +2 -2
- package/lib/dist-custom-elements/duet-stepper.js +129 -129
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +63 -63
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +131 -131
- package/lib/dist-custom-elements/duet-submenu-bar-link.d.ts +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +85 -85
- package/lib/dist-custom-elements/duet-submenu-bar.d.ts +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +139 -139
- package/lib/dist-custom-elements/duet-tab-group.d.ts +2 -2
- package/lib/dist-custom-elements/duet-tab-group.js +309 -309
- package/lib/dist-custom-elements/duet-tab.d.ts +2 -2
- package/lib/dist-custom-elements/duet-tab.js +50 -52
- package/lib/dist-custom-elements/duet-table.d.ts +2 -2
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.d.ts +2 -2
- package/lib/dist-custom-elements/duet-textarea.js +262 -262
- package/lib/dist-custom-elements/duet-toggle.d.ts +2 -2
- package/lib/dist-custom-elements/duet-toggle.js +113 -113
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +62 -62
- package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +87 -87
- package/lib/dist-custom-elements/duet-toolbar-link.d.ts +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +58 -58
- package/lib/dist-custom-elements/duet-toolbar.d.ts +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +52 -52
- package/lib/dist-custom-elements/duet-tooltip-button.d.ts +2 -2
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +2 -2
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.d.ts +2 -2
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.d.ts +2 -2
- package/lib/dist-custom-elements/duet-tray.js +119 -119
- package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +2 -2
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.d.ts +2 -2
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.d.ts +2 -2
- package/lib/dist-custom-elements/duet-upload.js +1163 -1163
- package/lib/dist-custom-elements/duet-visually-hidden.d.ts +2 -2
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +36 -36
- package/lib/dist-custom-elements/p-02eb68f2.js +123 -0
- package/lib/dist-custom-elements/p-0825cbc5.js +82 -0
- package/lib/dist-custom-elements/p-0a7c0d3d.js +205 -0
- package/lib/dist-custom-elements/p-0e052642.js +55 -0
- package/lib/{esm/slot-query-7877f18f.js → dist-custom-elements/p-11230037.js} +1 -1
- package/lib/dist-custom-elements/{p-52014bb2.js → p-1cd7077a.js} +37 -37
- package/lib/dist-custom-elements/p-247a9d01.js +174 -0
- package/lib/dist-custom-elements/p-257f2e82.js +147 -0
- package/lib/dist-custom-elements/p-2605a78e.js +62 -0
- package/lib/dist-custom-elements/{p-4883df66.js → p-2e36d5bf.js} +74 -74
- package/lib/dist-custom-elements/p-38b35e69.js +265 -0
- package/lib/dist-custom-elements/{p-d49389d2.js → p-39827833.js} +171 -171
- package/lib/dist-custom-elements/p-3a17ba0c.js +226 -0
- package/lib/dist-custom-elements/p-402e81c0.js +206 -0
- package/lib/dist-custom-elements/p-43b89e38.js +9 -0
- package/lib/dist-custom-elements/{p-274d11e3.js → p-4ab776f4.js} +6 -6
- package/lib/dist-custom-elements/p-4f43c247.js +126 -0
- package/lib/dist-custom-elements/p-57a1cba9.js +117 -0
- package/lib/dist-custom-elements/p-598731b0.js +110 -0
- package/lib/dist-custom-elements/p-5e59e970.js +11 -0
- package/lib/dist-custom-elements/{p-2b1a35cd.js → p-5fe36e8b.js} +278 -278
- package/lib/dist-custom-elements/{p-7247d0b2.js → p-6f7dcc4d.js} +65 -43
- package/lib/dist-custom-elements/{p-9dd26401.js → p-6fbb1970.js} +128 -128
- package/lib/dist-custom-elements/{p-21b815ae.js → p-70a66e96.js} +42 -42
- package/lib/dist-custom-elements/{p-180c0d2d.js → p-76b345c8.js} +174 -174
- package/lib/dist-custom-elements/p-7d8a2628.js +57 -0
- package/lib/dist-custom-elements/p-86649f25.js +465 -0
- package/lib/dist-custom-elements/p-872a2adb.js +93 -0
- package/lib/dist-custom-elements/p-98746766.js +60 -0
- package/lib/dist-custom-elements/p-9b5f8ba4.js +98 -0
- package/lib/{esm/js-utils-a35dcc8c.js → dist-custom-elements/p-9e371678.js} +27 -27
- package/lib/dist-custom-elements/{p-6c2e13f0.js → p-a45d0398.js} +56 -56
- package/lib/dist-custom-elements/p-a58bd561.js +13 -0
- package/lib/dist-custom-elements/{p-d0987122.js → p-a6e6f578.js} +48 -48
- package/lib/dist-custom-elements/p-b2e550a3.js +97 -0
- package/lib/dist-custom-elements/{p-c0af301d.js → p-ba0f907f.js} +64 -64
- package/lib/dist-custom-elements/{p-ba870310.js → p-ba9ad148.js} +47 -47
- package/lib/dist-custom-elements/p-bc3fa417.js +76 -0
- package/lib/dist-custom-elements/{p-e4355989.js → p-ce1cc5ab.js} +98 -88
- package/lib/dist-custom-elements/p-d5f3b174.js +38 -0
- package/lib/dist-custom-elements/{p-bcfb9e03.js → p-d5fc2405.js} +50 -50
- package/lib/dist-custom-elements/p-df7874f9.js +53 -0
- package/lib/dist-custom-elements/{p-3ccd454b.js → p-dfd29738.js} +43 -43
- package/lib/dist-custom-elements/p-eef66341.js +18 -0
- package/lib/dist-custom-elements/p-f91cddd9.js +269 -0
- package/lib/dist-custom-elements/p-ff387a2f.js +59 -0
- package/lib/dist-custom-elements/p-ffc7f083.js +137 -0
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +15 -15
- package/lib/duet/p-07af14f1.js +4 -0
- package/lib/duet/{p-dc63462c.entry.js → p-0a7c3ecf.entry.js} +1 -1
- package/lib/duet/{p-57afa4b8.system.entry.js → p-0aa1b1cd.system.entry.js} +2 -2
- package/lib/duet/{p-76b68b44.entry.js → p-105a1448.entry.js} +1 -1
- package/lib/duet/{p-4aa91f55.entry.js → p-132ea5e6.entry.js} +1 -1
- package/lib/duet/{p-33765ffd.entry.js → p-13876bc6.entry.js} +1 -1
- package/lib/duet/{p-ff7a57a9.entry.js → p-13f7d993.entry.js} +1 -1
- package/lib/duet/{p-1dadf501.entry.js → p-16db7b1e.entry.js} +1 -1
- package/lib/duet/{p-3fd4c411.entry.js → p-191959c7.entry.js} +1 -1
- package/lib/duet/p-1b11541f.entry.js +4 -0
- package/lib/duet/{p-faa6ea94.system.entry.js → p-1e587bcc.system.entry.js} +1 -1
- package/lib/duet/{p-e95d09bb.system.entry.js → p-1ea5e7e8.system.entry.js} +1 -1
- package/lib/duet/{p-566668e1.entry.js → p-1fbbf69f.entry.js} +1 -1
- package/lib/duet/{p-ded28a6e.system.entry.js → p-200089a6.system.entry.js} +1 -1
- package/lib/duet/{p-8972381a.system.js → p-224f6c46.system.js} +1 -1
- package/lib/duet/{p-604175d2.entry.js → p-226489c4.entry.js} +1 -1
- package/lib/duet/p-2349e838.entry.js +4 -0
- package/lib/duet/{p-05e3a2cc.entry.js → p-246db04a.entry.js} +1 -1
- package/lib/duet/p-24f7d6bf.entry.js +4 -0
- package/lib/duet/p-258b8732.entry.js +4 -0
- package/lib/duet/{p-6da7b933.entry.js → p-25bde810.entry.js} +1 -1
- package/lib/duet/{p-177c55aa.entry.js → p-26c85bab.entry.js} +1 -1
- package/lib/duet/{p-2b70d58a.system.entry.js → p-26f7d1b9.system.entry.js} +1 -1
- package/lib/duet/{p-8aa7771f.entry.js → p-2b9499f1.entry.js} +1 -1
- package/lib/duet/{p-afd00506.entry.js → p-2c730d40.entry.js} +1 -1
- package/lib/duet/{p-4883df66.js → p-2e36d5bf.js} +1 -1
- package/lib/duet/{p-d9353709.entry.js → p-2f0a23ae.entry.js} +1 -1
- package/lib/duet/{p-89b82e5a.entry.js → p-338ba4d2.entry.js} +1 -1
- package/lib/duet/{p-445523a8.entry.js → p-33d6e5ef.entry.js} +1 -1
- package/lib/duet/{p-089043d5.entry.js → p-342527a4.entry.js} +1 -1
- package/lib/duet/{p-fd1fb3f9.system.entry.js → p-3aa3fb24.system.entry.js} +1 -1
- package/lib/duet/{p-789365cb.system.entry.js → p-3cafacc3.system.entry.js} +1 -1
- package/lib/duet/{p-c36a1bb7.entry.js → p-3e1248d8.entry.js} +1 -1
- package/lib/duet/{p-8ba72fa0.system.entry.js → p-40ee5f5e.system.entry.js} +1 -1
- package/lib/duet/p-4212bab8.js +5 -0
- package/lib/duet/{p-80013513.system.entry.js → p-42b49430.system.entry.js} +1 -1
- package/lib/duet/{p-c3289020.system.entry.js → p-42b9c6f9.system.entry.js} +1 -1
- package/lib/duet/{p-6ae7579a.system.entry.js → p-464adc60.system.entry.js} +1 -1
- package/lib/duet/{p-18e2e6c8.system.entry.js → p-48d6a81d.system.entry.js} +1 -1
- package/lib/duet/p-4911c778.system.entry.js +4 -0
- package/lib/duet/{p-d02e3fe0.system.entry.js → p-4b272eca.system.entry.js} +1 -1
- package/lib/duet/p-4c650a9e.entry.js +4 -0
- package/lib/duet/{p-ac367891.entry.js → p-502f43bb.entry.js} +1 -1
- package/lib/duet/{p-7e1f37e2.entry.js → p-513dfe01.entry.js} +1 -1
- package/lib/duet/{p-b8db6e02.system.entry.js → p-51bdb5fd.system.entry.js} +1 -1
- package/lib/duet/{p-3b0969dc.entry.js → p-51d53e57.entry.js} +1 -1
- package/lib/duet/{p-59b9c68b.entry.js → p-542d792f.entry.js} +1 -1
- package/lib/duet/{p-07401f31.entry.js → p-55f98dc4.entry.js} +1 -1
- package/lib/duet/{p-77b43a95.entry.js → p-57a63204.entry.js} +1 -1
- package/lib/duet/{p-1e9f1c45.entry.js → p-580a7bae.entry.js} +1 -1
- package/lib/duet/{p-aa6d7d97.entry.js → p-5b86c564.entry.js} +1 -1
- package/lib/duet/{p-038ac494.system.entry.js → p-5c94249e.system.entry.js} +1 -1
- package/lib/duet/{p-4630d3cb.entry.js → p-5dccd17b.entry.js} +1 -1
- package/lib/duet/{p-0fd024c9.system.js → p-5ed00370.system.js} +1 -1
- package/lib/duet/{p-e1e89fd5.entry.js → p-5f43dbcf.entry.js} +1 -1
- package/lib/duet/{p-0d0101d9.system.entry.js → p-60cee508.system.entry.js} +1 -1
- package/lib/duet/{p-501f62eb.system.entry.js → p-61fe1543.system.entry.js} +1 -1
- package/lib/duet/{p-a7e7c277.system.entry.js → p-625f750f.system.entry.js} +1 -1
- package/lib/duet/{p-6f3f2e66.entry.js → p-6576401a.entry.js} +1 -1
- package/lib/duet/{p-3b147393.entry.js → p-65e434a5.entry.js} +1 -1
- package/lib/duet/{p-113d90cb.system.entry.js → p-69fba9fe.system.entry.js} +1 -1
- package/lib/duet/{p-9a613a25.system.entry.js → p-6a972453.system.entry.js} +1 -1
- package/lib/duet/{p-0f1ec9c0.entry.js → p-6b2876f1.entry.js} +1 -1
- package/lib/duet/{p-08f2114a.entry.js → p-6cae9d4b.entry.js} +1 -1
- package/lib/duet/{p-e90b5865.system.entry.js → p-6e6ececd.system.entry.js} +1 -1
- package/lib/duet/{p-35990684.entry.js → p-6f891451.entry.js} +1 -1
- package/lib/duet/{p-ed961bc6.system.entry.js → p-71ef1651.system.entry.js} +1 -1
- package/lib/duet/{p-5eb2a31f.system.entry.js → p-73f176dc.system.entry.js} +1 -1
- package/lib/duet/{p-56bdad28.system.entry.js → p-75243a15.system.entry.js} +1 -1
- package/lib/duet/{p-c801ebee.entry.js → p-785ff4f2.entry.js} +1 -1
- package/lib/duet/{p-3639371a.system.entry.js → p-793d7e04.system.entry.js} +1 -1
- package/lib/duet/{p-a91c8a42.system.entry.js → p-7a085479.system.entry.js} +1 -1
- package/lib/duet/{p-54fbdedf.entry.js → p-7a832531.entry.js} +1 -1
- package/lib/duet/p-7a91a53e.system.entry.js +4 -0
- package/lib/duet/{p-2c78c637.system.entry.js → p-7b5cd54a.system.entry.js} +1 -1
- package/lib/duet/{p-9cba7f04.system.entry.js → p-7b847e11.system.entry.js} +1 -1
- package/lib/duet/{p-b0ab2ead.system.entry.js → p-7bbc5a65.system.entry.js} +1 -1
- package/lib/duet/{p-9f835123.system.entry.js → p-7e833901.system.entry.js} +1 -1
- package/lib/duet/{p-4f770f51.system.entry.js → p-81230084.system.entry.js} +1 -1
- package/lib/duet/{p-f75a1805.system.entry.js → p-8920edb7.system.entry.js} +1 -1
- package/lib/duet/{p-0606cea3.entry.js → p-8a16fb3c.entry.js} +1 -1
- package/lib/duet/{p-0c702d36.entry.js → p-8bc5df74.entry.js} +1 -1
- package/lib/duet/{p-c79a0641.entry.js → p-8cf2feaa.entry.js} +1 -1
- package/lib/duet/{p-fcbb30e1.entry.js → p-8d69624a.entry.js} +1 -1
- package/lib/duet/{p-39078c27.system.entry.js → p-8d8bdf90.system.entry.js} +2 -2
- package/lib/duet/{p-301ddafe.entry.js → p-8e414050.entry.js} +1 -1
- package/lib/duet/{p-0e89cbae.system.entry.js → p-8eb82556.system.entry.js} +1 -1
- package/lib/duet/{p-e6168195.entry.js → p-903efe1d.entry.js} +1 -1
- package/lib/duet/{p-79faf440.system.entry.js → p-9192de69.system.entry.js} +1 -1
- package/lib/duet/{p-e9be64de.system.entry.js → p-9308c47c.system.entry.js} +1 -1
- package/lib/duet/{p-61d39730.entry.js → p-97488cc9.entry.js} +1 -1
- package/lib/duet/{p-a0ecfa13.system.entry.js → p-97d72f16.system.entry.js} +1 -1
- package/lib/duet/{p-a8878fd3.entry.js → p-9aa0ebba.entry.js} +1 -1
- package/lib/duet/{p-30bd8807.entry.js → p-9de9d3eb.entry.js} +1 -1
- package/lib/duet/{p-8bf363f4.system.entry.js → p-9ec69dbc.system.entry.js} +1 -1
- package/lib/duet/{p-ccef6554.system.entry.js → p-9f39d6de.system.entry.js} +1 -1
- package/lib/duet/{p-c08928e1.system.entry.js → p-9fb3e7b4.system.entry.js} +1 -1
- package/lib/duet/{p-9e2a2cf7.entry.js → p-a4dd147b.entry.js} +1 -1
- package/lib/duet/{p-fab7c1ed.entry.js → p-a5504252.entry.js} +1 -1
- package/lib/duet/{p-50ec2074.entry.js → p-a59b5059.entry.js} +1 -1
- package/lib/duet/{p-716329a7.system.entry.js → p-aa6ad573.system.entry.js} +1 -1
- package/lib/duet/{p-8855bd51.entry.js → p-ab2da6f9.entry.js} +1 -1
- package/lib/duet/{p-032a613f.system.entry.js → p-ad0179fa.system.entry.js} +1 -1
- package/lib/duet/{p-ed011021.system.entry.js → p-ad3021d3.system.entry.js} +1 -1
- package/lib/duet/{p-1a877bd1.system.entry.js → p-ad5e3c9c.system.entry.js} +1 -1
- package/lib/duet/{p-bfeeee67.system.entry.js → p-b022a3d5.system.entry.js} +2 -2
- package/lib/duet/{p-50f4319b.system.entry.js → p-b036d4f0.system.entry.js} +1 -1
- package/lib/duet/{p-98d01f1c.system.entry.js → p-b27b1902.system.entry.js} +1 -1
- package/lib/duet/{p-1b3fde48.entry.js → p-b54be005.entry.js} +1 -1
- package/lib/duet/{p-37af6296.system.entry.js → p-b5831260.system.entry.js} +1 -1
- package/lib/duet/p-b5ffa156.entry.js +4 -0
- package/lib/duet/{p-b46fa994.system.entry.js → p-b62108c8.system.entry.js} +2 -2
- package/lib/duet/{p-6205bcb4.entry.js → p-b62ed1f0.entry.js} +1 -1
- package/lib/duet/{p-bdc59646.entry.js → p-b6af2626.entry.js} +1 -1
- package/lib/duet/{p-0558a17e.system.entry.js → p-b868bb09.system.entry.js} +1 -1
- package/lib/duet/{p-ff09528c.system.entry.js → p-b8b0249f.system.entry.js} +1 -1
- package/lib/duet/{p-def3df7d.entry.js → p-bc16a555.entry.js} +1 -1
- package/lib/duet/p-bcd1e9d8.system.entry.js +4 -0
- package/lib/duet/{p-ee796d5e.system.entry.js → p-bd97fff1.system.entry.js} +1 -1
- package/lib/duet/{p-e1d3c21e.entry.js → p-bf0e9413.entry.js} +1 -1
- package/lib/duet/{p-e3ffb537.system.entry.js → p-bf3bf531.system.entry.js} +1 -1
- package/lib/duet/{p-58a08a7b.system.entry.js → p-c0152624.system.entry.js} +1 -1
- package/lib/duet/{p-6da4db52.system.entry.js → p-c0c9acd9.system.entry.js} +1 -1
- package/lib/duet/{p-7a46b4ef.system.entry.js → p-c565698d.system.entry.js} +1 -1
- package/lib/duet/p-cb69ce4a.entry.js +4 -0
- package/lib/duet/{p-64b323bf.entry.js → p-cd8177fe.entry.js} +1 -1
- package/lib/duet/{p-68f3526e.entry.js → p-cfb85117.entry.js} +1 -1
- package/lib/duet/{p-c5725fee.system.entry.js → p-d13cb6f4.system.entry.js} +1 -1
- package/lib/duet/{p-efa6152d.entry.js → p-d2681203.entry.js} +1 -1
- package/lib/duet/{p-bf3331ed.entry.js → p-d3069a7b.entry.js} +1 -1
- package/lib/duet/{p-c23bf76f.system.entry.js → p-d32e9ae1.system.entry.js} +1 -1
- package/lib/duet/{p-13915ce0.entry.js → p-d41e819d.entry.js} +1 -1
- package/lib/duet/{p-463ddc2c.system.entry.js → p-d5d57b8f.system.entry.js} +1 -1
- package/lib/duet/{p-95df823b.entry.js → p-d73f7574.entry.js} +1 -1
- package/lib/duet/{p-ed8f7cac.entry.js → p-d8104d1b.entry.js} +1 -1
- package/lib/duet/{p-d5a9cfac.entry.js → p-d8ee9cc9.entry.js} +1 -1
- package/lib/duet/{p-7671b7b7.system.js → p-da20db91.system.js} +1 -1
- package/lib/duet/{p-5311f96e.system.entry.js → p-db14fdfd.system.entry.js} +1 -1
- package/lib/duet/{p-c4e79927.entry.js → p-dce5a6f9.entry.js} +1 -1
- package/lib/duet/p-dcfe6e27.system.entry.js +4 -0
- package/lib/duet/{p-8eff5e91.system.entry.js → p-e1f6b6f3.system.entry.js} +2 -2
- package/lib/duet/p-e3574b05.entry.js +4 -0
- package/lib/duet/{p-051488a0.system.entry.js → p-e3a8dcb3.system.entry.js} +1 -1
- package/lib/duet/{p-d02b92fa.entry.js → p-e3c5663f.entry.js} +1 -1
- package/lib/duet/{p-e4aa049f.system.entry.js → p-e6bd0e51.system.entry.js} +1 -1
- package/lib/duet/p-e79bf1c2.entry.js +4 -0
- package/lib/duet/{p-995e1b11.system.entry.js → p-e96a5f8b.system.entry.js} +1 -1
- package/lib/duet/{p-cef36d14.system.entry.js → p-ebe22b98.system.entry.js} +1 -1
- package/lib/duet/{p-5c0de81a.system.entry.js → p-ec98691e.system.entry.js} +1 -1
- package/lib/duet/p-f009e108.entry.js +4 -0
- package/lib/duet/{p-5ae9b74f.entry.js → p-f0dc0a5b.entry.js} +1 -1
- package/lib/duet/{p-da9fe13c.system.entry.js → p-f1d894da.system.entry.js} +1 -1
- package/lib/duet/{p-96f66e14.system.entry.js → p-f25e57fe.system.entry.js} +1 -1
- package/lib/duet/{p-efdbddb5.system.js → p-f3bf4d40.system.js} +1 -1
- package/lib/duet/{p-80d1a5d3.entry.js → p-f4493cb6.entry.js} +1 -1
- package/lib/duet/p-f7b58d72.system.js +5 -0
- package/lib/duet/{p-e7a22d84.system.entry.js → p-f8c64564.system.entry.js} +1 -1
- package/lib/duet/p-fabb616b.js +4 -0
- package/lib/duet/{p-5c5012f6.system.entry.js → p-fb30fcb0.system.entry.js} +1 -1
- package/lib/duet/{p-d4d7d607.system.entry.js → p-fb8a5b68.system.entry.js} +1 -1
- package/lib/duet/{p-34b5285b.system.entry.js → p-fc0fe631.system.entry.js} +2 -2
- package/lib/duet/{p-e491c098.system.entry.js → p-fc4f175f.system.entry.js} +1 -1
- package/lib/duet/{p-7de467b8.entry.js → p-ff815e47.entry.js} +1 -1
- package/lib/esm/app-globals-41b37f11.js +52 -0
- package/lib/esm/{common-strings-c0ac5a0b.js → common-strings-59db6973.js} +6 -6
- package/lib/esm/create-id-149a1b6d.js +11 -0
- package/lib/esm/duet-action-button.entry.js +133 -133
- package/lib/esm/duet-alert.entry.js +106 -106
- package/lib/esm/duet-badge.entry.js +29 -29
- package/lib/esm/duet-banner.entry.js +52 -52
- package/lib/esm/duet-breadcrumb.entry.js +41 -41
- package/lib/esm/duet-breadcrumbs.entry.js +51 -51
- package/lib/esm/duet-button_2.entry.js +229 -229
- package/lib/esm/duet-callout.entry.js +28 -28
- package/lib/esm/duet-caption_4.entry.js +187 -187
- package/lib/esm/duet-card.entry.js +93 -93
- package/lib/esm/duet-checkbox.entry.js +85 -85
- package/lib/esm/duet-checkmark.entry.js +23 -23
- package/lib/esm/duet-chip.entry.js +182 -182
- package/lib/esm/duet-choice_2.entry.js +392 -392
- package/lib/esm/duet-collapsible.entry.js +98 -98
- package/lib/esm/duet-combobox.entry.js +362 -362
- package/lib/esm/duet-contact-card.entry.js +49 -49
- package/lib/esm/duet-cookie-consent.entry.js +35 -35
- package/lib/esm/duet-date-picker.entry.js +610 -610
- package/lib/esm/duet-divider_2.entry.js +53 -53
- package/lib/esm/duet-editable-table_3.entry.js +1247 -1247
- package/lib/esm/duet-empty-state.entry.js +26 -26
- package/lib/esm/duet-fieldset.entry.js +50 -50
- package/lib/esm/duet-file-chooser.entry.js +44 -44
- package/lib/esm/duet-footer.entry.js +118 -118
- package/lib/esm/duet-grid_2.entry.js +185 -185
- package/lib/esm/duet-header_2.entry.js +610 -610
- package/lib/esm/duet-hero.entry.js +172 -172
- package/lib/esm/duet-icon.entry.js +141 -141
- package/lib/esm/duet-input_2.entry.js +346 -346
- package/lib/esm/duet-layout.entry.js +51 -51
- package/lib/esm/duet-list_2.entry.js +99 -99
- package/lib/esm/duet-menu-bar-button.entry.js +70 -70
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +44 -44
- package/lib/esm/duet-menu-bar-dropdown.entry.js +93 -93
- package/lib/esm/duet-menu-bar-link.entry.js +58 -58
- package/lib/esm/duet-menu-bar.entry.js +116 -116
- package/lib/esm/duet-modal.entry.js +188 -188
- package/lib/esm/duet-multiselect.entry.js +206 -206
- package/lib/esm/duet-nav.entry.js +20 -20
- package/lib/esm/duet-notification_2.entry.js +140 -140
- package/lib/esm/duet-number-input.entry.js +337 -337
- package/lib/esm/duet-page-heading.entry.js +26 -26
- package/lib/esm/duet-pagination_2.entry.js +511 -511
- package/lib/esm/duet-popup-menu-item.entry.js +62 -62
- package/lib/esm/duet-popup-menu.entry.js +147 -147
- package/lib/esm/duet-progress.entry.js +54 -54
- package/lib/esm/duet-promo-card.entry.js +40 -40
- package/lib/esm/duet-radio_2.entry.js +197 -197
- package/lib/esm/duet-range-slider.entry.js +105 -105
- package/lib/esm/duet-scrollable_3.entry.js +384 -386
- package/lib/esm/duet-section-layout.entry.js +21 -21
- package/lib/esm/duet-select.entry.js +156 -156
- package/lib/esm/duet-shaped-image.entry.js +28 -28
- package/lib/esm/duet-show-more.entry.js +98 -98
- package/lib/esm/duet-slideout-lang.entry.js +36 -36
- package/lib/esm/duet-slideout-link.entry.js +33 -33
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +50 -50
- package/lib/esm/duet-slideout-panel.entry.js +120 -120
- package/lib/esm/duet-slideout.entry.js +194 -194
- package/lib/esm/duet-step_2.entry.js +182 -184
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +36 -36
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +103 -103
- package/lib/esm/duet-submenu-bar-link.entry.js +59 -59
- package/lib/esm/duet-submenu-bar.entry.js +110 -110
- package/lib/esm/duet-textarea.entry.js +160 -160
- package/lib/esm/duet-toggle.entry.js +72 -72
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +35 -35
- package/lib/esm/duet-toolbar-dropdown.entry.js +59 -59
- package/lib/esm/duet-toolbar-link.entry.js +31 -31
- package/lib/esm/duet-toolbar.entry.js +34 -34
- package/lib/esm/duet-tooltip-button_2.entry.js +98 -80
- package/lib/esm/duet-tooltip.entry.js +185 -187
- package/lib/esm/duet-tray.entry.js +82 -82
- package/lib/esm/duet-upload-aria-status.entry.js +65 -65
- package/lib/esm/duet-upload-item.entry.js +81 -81
- package/lib/esm/duet-visually-hidden.entry.js +12 -12
- package/lib/esm/duet.js +5 -5
- package/lib/esm/errorcodes.utils-e681347c.js +36 -0
- package/lib/esm/focus-utils-d54af982.js +18 -0
- package/lib/esm/{index-b3bf9761.js → index-d4489a2e.js} +106 -45
- package/lib/esm/input-utils-85681162.js +53 -0
- package/lib/esm/is-internet-explorer-2c48f686.js +9 -0
- package/lib/{dist-custom-elements/p-3d8d557b.js → esm/js-utils-9b9e0039.js} +27 -27
- package/lib/esm/{language-utils-9ff76444.js → language-utils-00ca4c55.js} +74 -74
- package/lib/esm/loader.js +4 -4
- package/lib/{dist-custom-elements/p-f8c76b25.js → esm/slot-query-022710bb.js} +1 -1
- package/lib/esm/string-utils-ca039233.js +55 -0
- package/lib/esm/teleport-4462e8c1.js +97 -0
- package/lib/esm/themeable-component-724c0f7e.js +13 -0
- package/lib/esm/token-utils-b4bd3ec7.js +117 -0
- package/lib/esm/watch-options-e96ecd92.js +57 -0
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-424b1197.js → errorcodes.utils-e681347c.js} +1 -1
- package/lib/esm-es5/focus-utils-d54af982.js +4 -0
- package/lib/esm-es5/index-d4489a2e.js +5 -0
- package/lib/esm-es5/{language-utils-9ff76444.js → language-utils-00ca4c55.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/common/a11y-component.d.ts +7 -7
- package/lib/types/common/form-components.d.ts +15 -15
- package/lib/types/common/themeable-component.d.ts +4 -4
- package/lib/types/components/duet-action-button/duet-action-button.d.ts +126 -126
- package/lib/types/components/duet-alert/duet-alert.d.ts +100 -100
- package/lib/types/components/duet-badge/duet-badge.d.ts +27 -27
- package/lib/types/components/duet-banner/duet-banner.d.ts +58 -58
- package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +32 -32
- package/lib/types/components/duet-breadcrumbs/duet-breadcrumbs.d.ts +23 -23
- package/lib/types/components/duet-button/duet-button.d.ts +219 -219
- package/lib/types/components/duet-callout/duet-callout.d.ts +19 -19
- package/lib/types/components/duet-caption/duet-caption.d.ts +26 -26
- package/lib/types/components/duet-card/duet-card.d.ts +119 -119
- package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +132 -132
- package/lib/types/components/duet-chip/duet-chip.d.ts +109 -109
- package/lib/types/components/duet-choice/duet-checkmark.d.ts +27 -27
- package/lib/types/components/duet-choice/duet-choice.d.ts +259 -259
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +103 -103
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +88 -88
- package/lib/types/components/duet-combobox/duet-combobox-select-single.d.ts +3 -3
- package/lib/types/components/duet-combobox/duet-combobox-select.d.ts +8 -8
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +135 -135
- package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +60 -60
- package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +29 -29
- package/lib/types/components/duet-date-picker/date-i18n.d.ts +13 -13
- package/lib/types/components/duet-date-picker/date-picker-day.d.ts +9 -9
- package/lib/types/components/duet-date-picker/date-picker-input.d.ts +28 -28
- package/lib/types/components/duet-date-picker/date-picker-month.d.ts +12 -12
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +220 -220
- package/lib/types/components/duet-divider/duet-divider.d.ts +26 -26
- package/lib/types/components/duet-editable-table/duet-editable-table-tabledata.d.ts +3 -3
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +133 -133
- package/lib/types/components/duet-empty-state/duet-empty-state.d.ts +22 -22
- package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +60 -60
- package/lib/types/components/duet-file-chooser/duet-file-chooser.d.ts +35 -35
- package/lib/types/components/duet-footer/duet-footer.d.ts +143 -143
- package/lib/types/components/duet-grid/duet-grid.d.ts +73 -73
- package/lib/types/components/duet-grid-item/duet-grid-item.d.ts +49 -49
- package/lib/types/components/duet-header/duet-header-dropdown.d.ts +11 -11
- package/lib/types/components/duet-header/duet-header-icon.d.ts +3 -3
- package/lib/types/components/duet-header/duet-header.d.ts +347 -347
- package/lib/types/components/duet-heading/duet-heading.d.ts +49 -49
- package/lib/types/components/duet-hero/duet-hero.d.ts +198 -198
- package/lib/types/components/duet-icon/duet-icon.d.ts +79 -79
- package/lib/types/components/duet-input/duet-input.d.ts +279 -279
- package/lib/types/components/duet-label/duet-label.d.ts +26 -26
- package/lib/types/components/duet-layout/duet-layout.d.ts +48 -48
- package/lib/types/components/duet-link/duet-link.d.ts +94 -94
- package/lib/types/components/duet-list/duet-list.d.ts +60 -60
- package/lib/types/components/duet-list-item/duet-list-item.d.ts +17 -17
- package/lib/types/components/duet-logo/duet-logo.d.ts +59 -59
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +68 -68
- package/lib/types/components/duet-menu-bar-button/duet-menu-bar-button.d.ts +84 -84
- package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +49 -49
- package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +36 -36
- package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +44 -44
- package/lib/types/components/duet-modal/duet-modal.d.ts +155 -155
- package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +153 -153
- package/lib/types/components/duet-nav/duet-nav.d.ts +20 -20
- package/lib/types/components/duet-notification/duet-notification.d.ts +55 -55
- package/lib/types/components/duet-notification-drawer/duet-notification-drawer.d.ts +83 -83
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +230 -230
- package/lib/types/components/duet-page-heading/duet-page-heading.d.ts +25 -25
- package/lib/types/components/duet-pagination/duet-pagination.d.ts +129 -129
- package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +38 -38
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +80 -80
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +73 -73
- package/lib/types/components/duet-progress/duet-progress.d.ts +71 -71
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +42 -42
- package/lib/types/components/duet-radio/duet-radio.d.ts +145 -145
- package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +93 -93
- package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +130 -130
- package/lib/types/components/duet-range-stepper/duet-range-stepper.d.ts +68 -68
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +61 -61
- package/lib/types/components/duet-section-layout/duet-section-layout.d.ts +17 -17
- package/lib/types/components/duet-select/duet-select.d.ts +179 -179
- package/lib/types/components/duet-shaped-image/duet-shaped-image.d.ts +30 -30
- package/lib/types/components/duet-show-more/duet-show-more.d.ts +83 -83
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +86 -86
- package/lib/types/components/duet-slideout-lang/duet-slideout-lang.d.ts +24 -24
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +55 -55
- package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +55 -55
- package/lib/types/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.d.ts +39 -39
- package/lib/types/components/duet-spacer/duet-spacer.d.ts +18 -18
- package/lib/types/components/duet-spinner/duet-spinner.d.ts +30 -30
- package/lib/types/components/duet-step/duet-step.d.ts +66 -66
- package/lib/types/components/duet-stepper/duet-stepper.d.ts +47 -47
- package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +50 -50
- package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +47 -47
- package/lib/types/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.d.ts +43 -43
- package/lib/types/components/duet-submenu-bar-link/duet-submenu-bar-link.d.ts +39 -39
- package/lib/types/components/duet-tab/duet-tab.d.ts +37 -37
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +132 -132
- package/lib/types/components/duet-table/duet-table.d.ts +66 -66
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +200 -200
- package/lib/types/components/duet-toggle/duet-toggle.d.ts +113 -113
- package/lib/types/components/duet-toolbar/duet-toolbar.d.ts +30 -30
- package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +50 -50
- package/lib/types/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.d.ts +43 -43
- package/lib/types/components/duet-toolbar-link/duet-toolbar-link.d.ts +42 -42
- package/lib/types/components/duet-tooltip/duet-tooltip-button.d.ts +22 -19
- package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +34 -31
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +122 -122
- package/lib/types/components/duet-tray/duet-tray.d.ts +84 -84
- package/lib/types/components/duet-upload/duet-upload.d.ts +484 -484
- package/lib/types/components/duet-upload/errorcodes.utils.d.ts +3 -3
- package/lib/types/components/duet-upload/upload-editable-item-error.d.ts +2 -2
- package/lib/types/components/duet-upload/upload-editable-item-inprogres.d.ts +2 -2
- package/lib/types/components/duet-upload/upload-editable-item-pending.d.ts +1 -1
- package/lib/types/components/duet-upload/upload-editable-item-success.d.ts +2 -2
- package/lib/types/components/duet-upload/upload-item-header.d.ts +2 -2
- package/lib/types/components/duet-upload/upload-validators.d.ts +4 -4
- package/lib/types/components/duet-upload/xhr.helpers.d.ts +10 -10
- package/lib/types/components/duet-upload-aria-status/duet-upload-aria-status.d.ts +40 -40
- package/lib/types/components/duet-upload-item/duet-upload-item.d.ts +54 -54
- package/lib/types/components/duet-visually-hidden/duet-visually-hidden.d.ts +6 -6
- package/lib/types/stencil-public-runtime.d.ts +8 -0
- package/lib/types/utils/axe-core-utils.d.ts +3 -3
- package/lib/types/utils/fixture-utils.d.ts +2 -2
- package/lib/types/utils/focus-utils.d.ts +2 -2
- package/lib/types/utils/language-utils.d.ts +10 -10
- package/lib/types/utils/picture-utils.d.ts +10 -10
- package/lib/types/utils/teleport.d.ts +20 -20
- package/lib/types/utils/template-utils.d.ts +1 -1
- package/lib/types/utils/test-utils.d.ts +2 -2
- package/lib/types/utils/token-utils.d.ts +9 -9
- package/package.json +6 -6
- package/lib/cjs/app-globals-4ab83f59.js +0 -54
- package/lib/cjs/create-id-167cd350.js +0 -13
- package/lib/cjs/errorcodes.utils-8e928de5.js +0 -39
- package/lib/cjs/focus-utils-aea9f4e1.js +0 -21
- package/lib/cjs/input-utils-b4615782.js +0 -56
- package/lib/cjs/string-utils-51a2f59f.js +0 -59
- package/lib/cjs/teleport-af825e04.js +0 -99
- package/lib/cjs/themeable-component-0be6d1f4.js +0 -15
- package/lib/cjs/token-utils-dbfeff2e.js +0 -124
- package/lib/cjs/watch-options-1773d69f.js +0 -61
- package/lib/dist-custom-elements/p-03ac3eb3.js +0 -137
- package/lib/dist-custom-elements/p-1a395a8d.js +0 -55
- package/lib/dist-custom-elements/p-1ce55654.js +0 -265
- package/lib/dist-custom-elements/p-1f56e02f.js +0 -174
- package/lib/dist-custom-elements/p-24853ebf.js +0 -97
- package/lib/dist-custom-elements/p-268171f7.js +0 -9
- package/lib/dist-custom-elements/p-3049dfd5.js +0 -147
- package/lib/dist-custom-elements/p-45f71a69.js +0 -11
- package/lib/dist-custom-elements/p-4687ca41.js +0 -465
- package/lib/dist-custom-elements/p-5d8d9a52.js +0 -98
- package/lib/dist-custom-elements/p-62e68de8.js +0 -38
- package/lib/dist-custom-elements/p-64cd1abb.js +0 -93
- package/lib/dist-custom-elements/p-665418f0.js +0 -205
- package/lib/dist-custom-elements/p-759c725f.js +0 -226
- package/lib/dist-custom-elements/p-77f2dbee.js +0 -53
- package/lib/dist-custom-elements/p-80ec4336.js +0 -123
- package/lib/dist-custom-elements/p-8be301dd.js +0 -62
- package/lib/dist-custom-elements/p-9541f0b6.js +0 -59
- package/lib/dist-custom-elements/p-a1371eee.js +0 -57
- package/lib/dist-custom-elements/p-a3923b18.js +0 -126
- package/lib/dist-custom-elements/p-c5032d3a.js +0 -18
- package/lib/dist-custom-elements/p-d48735b6.js +0 -13
- package/lib/dist-custom-elements/p-e19d1e27.js +0 -117
- package/lib/dist-custom-elements/p-e6b07569.js +0 -271
- package/lib/dist-custom-elements/p-e77f7fff.js +0 -60
- package/lib/dist-custom-elements/p-f27e355b.js +0 -76
- package/lib/dist-custom-elements/p-f46be918.js +0 -110
- package/lib/dist-custom-elements/p-fd4877d1.js +0 -72
- package/lib/dist-custom-elements/p-fe8a2205.js +0 -206
- package/lib/duet/p-08764d71.entry.js +0 -4
- package/lib/duet/p-0a664ebb.entry.js +0 -4
- package/lib/duet/p-11571ab9.entry.js +0 -4
- package/lib/duet/p-4669b0af.js +0 -4
- package/lib/duet/p-486eec2d.entry.js +0 -4
- package/lib/duet/p-4dc0fff9.entry.js +0 -4
- package/lib/duet/p-52806dad.system.entry.js +0 -4
- package/lib/duet/p-6c4c0279.js +0 -5
- package/lib/duet/p-7bca584a.entry.js +0 -4
- package/lib/duet/p-7c36b779.entry.js +0 -4
- package/lib/duet/p-821c350f.system.entry.js +0 -4
- package/lib/duet/p-a0660ffa.system.js +0 -5
- package/lib/duet/p-ac9f6601.entry.js +0 -4
- package/lib/duet/p-b3ae5641.system.entry.js +0 -4
- package/lib/duet/p-c1bc9249.entry.js +0 -4
- package/lib/duet/p-d098d59c.system.entry.js +0 -4
- package/lib/duet/p-f58eb425.js +0 -4
- package/lib/duet/p-fab6160a.entry.js +0 -4
- package/lib/esm/app-globals-de2a5510.js +0 -52
- package/lib/esm/create-id-2b0cd46d.js +0 -11
- package/lib/esm/errorcodes.utils-424b1197.js +0 -36
- package/lib/esm/focus-utils-74961919.js +0 -18
- package/lib/esm/input-utils-a0225b92.js +0 -53
- package/lib/esm/is-internet-explorer-032d4dae.js +0 -9
- package/lib/esm/string-utils-59ad4cb2.js +0 -55
- package/lib/esm/teleport-15747328.js +0 -97
- package/lib/esm/themeable-component-fdce4fd7.js +0 -13
- package/lib/esm/token-utils-46c8fe31.js +0 -117
- package/lib/esm/watch-options-f189118b.js +0 -57
- package/lib/esm-es5/focus-utils-74961919.js +0 -4
- package/lib/esm-es5/index-b3bf9761.js +0 -5
- /package/lib/duet/{p-b1db3006.js → p-0782a6e5.js} +0 -0
- /package/lib/duet/{p-1a395a8d.js → p-0e052642.js} +0 -0
- /package/lib/duet/{p-f8c76b25.js → p-11230037.js} +0 -0
- /package/lib/duet/{p-0b31864f.js → p-38320af8.js} +0 -0
- /package/lib/duet/{p-c30a5f7c.system.js → p-41982d26.system.js} +0 -0
- /package/lib/duet/{p-268171f7.js → p-43b89e38.js} +0 -0
- /package/lib/duet/{p-274d11e3.js → p-4ab776f4.js} +0 -0
- /package/lib/duet/{p-77b6e4ba.system.js → p-50f4bca2.system.js} +0 -0
- /package/lib/duet/{p-45f71a69.js → p-5e59e970.js} +0 -0
- /package/lib/duet/{p-75daef16.system.js → p-634e8787.system.js} +0 -0
- /package/lib/duet/{p-719b38fe.system.js → p-67c653f9.system.js} +0 -0
- /package/lib/duet/{p-b99c00fa.system.js → p-6ef75455.system.js} +0 -0
- /package/lib/duet/{p-a1371eee.js → p-7d8a2628.js} +0 -0
- /package/lib/duet/{p-21f3a17a.system.js → p-81a6df68.system.js} +0 -0
- /package/lib/duet/{p-ecf1f6cd.system.js → p-9e36548d.system.js} +0 -0
- /package/lib/duet/{p-3d8d557b.js → p-9e371678.js} +0 -0
- /package/lib/duet/{p-d48735b6.js → p-a58bd561.js} +0 -0
- /package/lib/duet/{p-8e1da663.system.js → p-afad5fd3.system.js} +0 -0
- /package/lib/duet/{p-24853ebf.js → p-b2e550a3.js} +0 -0
- /package/lib/duet/{p-7c29d36a.system.js → p-b864159a.system.js} +0 -0
- /package/lib/duet/{p-88a50491.system.js → p-d1cedaa1.system.js} +0 -0
- /package/lib/duet/{p-77f2dbee.js → p-df7874f9.js} +0 -0
- /package/lib/duet/{p-87dd7bf3.system.js → p-e12066c8.system.js} +0 -0
- /package/lib/duet/{p-1a91e22a.system.js → p-e6b5a1c7.system.js} +0 -0
- /package/lib/esm-es5/{app-globals-de2a5510.js → app-globals-41b37f11.js} +0 -0
- /package/lib/esm-es5/{common-strings-c0ac5a0b.js → common-strings-59db6973.js} +0 -0
- /package/lib/esm-es5/{create-id-2b0cd46d.js → create-id-149a1b6d.js} +0 -0
- /package/lib/esm-es5/{input-utils-a0225b92.js → input-utils-85681162.js} +0 -0
- /package/lib/esm-es5/{is-internet-explorer-032d4dae.js → is-internet-explorer-2c48f686.js} +0 -0
- /package/lib/esm-es5/{js-utils-a35dcc8c.js → js-utils-9b9e0039.js} +0 -0
- /package/lib/esm-es5/{slot-query-7877f18f.js → slot-query-022710bb.js} +0 -0
- /package/lib/esm-es5/{string-utils-59ad4cb2.js → string-utils-ca039233.js} +0 -0
- /package/lib/esm-es5/{teleport-15747328.js → teleport-4462e8c1.js} +0 -0
- /package/lib/esm-es5/{themeable-component-fdce4fd7.js → themeable-component-724c0f7e.js} +0 -0
- /package/lib/esm-es5/{token-utils-46c8fe31.js → token-utils-b4bd3ec7.js} +0 -0
- /package/lib/esm-es5/{watch-options-f189118b.js → watch-options-e96ecd92.js} +0 -0
|
@@ -3,1277 +3,1281 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import emailIcon from "@duetds/icons/lib/assets/form-email";
|
|
5
5
|
import searchIcon from "@duetds/icons/lib/assets/form-search";
|
|
6
|
-
import { h, Host } from "@stencil/core";
|
|
6
|
+
import { Build, h, Host } from "@stencil/core";
|
|
7
7
|
import { inheritGlobalTheme } from "../../common";
|
|
8
8
|
import { createID } from "../../utils/create-id";
|
|
9
9
|
import { cleanValue, resetCursor } from "../../utils/input-utils";
|
|
10
10
|
import { isEnterKey, isEscapeKey } from "../../utils/keyboard-utils";
|
|
11
11
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, } from "../../utils/language-utils";
|
|
12
12
|
const icons = {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
search: searchIcon,
|
|
14
|
+
email: emailIcon,
|
|
15
15
|
};
|
|
16
16
|
export class DuetInput {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
17
|
+
constructor() {
|
|
18
|
+
/**
|
|
19
|
+
* Own Properties
|
|
20
|
+
*/
|
|
21
|
+
this.inputId = createID("DuetInput");
|
|
22
|
+
this.clearId = createID("DuetInputClear");
|
|
23
|
+
this.labelId = createID("DuetLabel");
|
|
24
|
+
this.topCaptionId = createID("DuetCaptionTop");
|
|
25
|
+
this.topCaptionPlaceholderId = createID("DuetCaptionPlaceholderTop");
|
|
26
|
+
this.errorId = createID("DuetError");
|
|
27
|
+
this.disallowPatternRegex = null;
|
|
28
|
+
this.clearLabel = {
|
|
29
|
+
en: "Clear",
|
|
30
|
+
fi: "Tyhjennä",
|
|
31
|
+
sv: "Rensa",
|
|
32
|
+
};
|
|
33
|
+
this.timeAnnouncement = {
|
|
34
|
+
en: "Time",
|
|
35
|
+
fi: "Aika",
|
|
36
|
+
sv: "Tid",
|
|
37
|
+
};
|
|
38
|
+
this.showPasswordLabel = {
|
|
39
|
+
en: "Show password",
|
|
40
|
+
fi: "Näytä salasana",
|
|
41
|
+
sv: "Visa lösenord",
|
|
42
|
+
};
|
|
43
|
+
this.hidePasswordLabel = {
|
|
44
|
+
en: "Hide password",
|
|
45
|
+
fi: "Piilota salasana",
|
|
46
|
+
sv: "Dölj lösenord",
|
|
47
|
+
};
|
|
48
|
+
this.passwordShownAriaAnnouncement = {
|
|
49
|
+
en: "Password is shown",
|
|
50
|
+
fi: "Salasana näytetään",
|
|
51
|
+
sv: "Lösenordet visas",
|
|
52
|
+
};
|
|
53
|
+
this.passwordHiddenAriaAnnouncement = {
|
|
54
|
+
en: "Password is hidden",
|
|
55
|
+
fi: "Salasana on piilotettu",
|
|
56
|
+
sv: "Lösenordet är dolt",
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Component event handling.
|
|
60
|
+
*/
|
|
61
|
+
this.onInput = (ev) => {
|
|
62
|
+
if (this.disallowPatternRegex) {
|
|
63
|
+
cleanValue(this.nativeInput, this.disallowPatternRegex);
|
|
64
|
+
}
|
|
65
|
+
this.value = this.nativeInput.value || "";
|
|
66
|
+
this.duetInput.emit({
|
|
67
|
+
originalEvent: ev,
|
|
68
|
+
value: this.value,
|
|
69
|
+
component: "duet-input",
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
this.onBlur = (ev) => {
|
|
73
|
+
// prevent blur event when focus moves to the reveal password button or the input itself
|
|
74
|
+
if (ev.relatedTarget === this.nativeInput || ev.relatedTarget === this.togglePasswordRevealedButton) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
if (this.variation === "revealable" && this.isPasswordRevealed) {
|
|
78
|
+
this.isPasswordRevealed = false;
|
|
79
|
+
}
|
|
80
|
+
this.isFocused = false;
|
|
81
|
+
this.duetBlur.emit({
|
|
82
|
+
originalEvent: ev,
|
|
83
|
+
value: this.value,
|
|
84
|
+
component: "duet-input",
|
|
85
|
+
});
|
|
86
|
+
};
|
|
87
|
+
this.onFocus = (ev) => {
|
|
88
|
+
this.isFocused = true;
|
|
89
|
+
this.duetFocus.emit({
|
|
90
|
+
originalEvent: ev,
|
|
91
|
+
value: this.value,
|
|
92
|
+
component: "duet-input",
|
|
93
|
+
});
|
|
94
|
+
};
|
|
95
|
+
this.onClear = (ev) => {
|
|
96
|
+
this.duetClear.emit({
|
|
97
|
+
originalEvent: ev,
|
|
98
|
+
value: this.value,
|
|
99
|
+
component: "duet-input",
|
|
100
|
+
});
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* Private functions
|
|
104
|
+
*/
|
|
105
|
+
this.getDescribedBy = () => {
|
|
106
|
+
const describedBy = [];
|
|
107
|
+
if (this.isCaptionVisible && this.topCaptionId) {
|
|
108
|
+
describedBy.push(this.topCaptionId);
|
|
109
|
+
}
|
|
110
|
+
if (this.accessibleDescribedBy) {
|
|
111
|
+
describedBy.push(this.accessibleDescribedBy);
|
|
112
|
+
}
|
|
113
|
+
if (this.error) {
|
|
114
|
+
describedBy.push(this.errorId);
|
|
115
|
+
}
|
|
116
|
+
return describedBy.length > 0 ? describedBy.join(" ") : null;
|
|
117
|
+
};
|
|
118
|
+
this.handleClearClick = event => {
|
|
119
|
+
const clearing = this.clearInput();
|
|
120
|
+
this.onClear(event);
|
|
121
|
+
return clearing;
|
|
122
|
+
};
|
|
123
|
+
this.keyHandler = event => {
|
|
124
|
+
if (isEscapeKey(event) && this.clear) {
|
|
125
|
+
this.handleClearClick(event);
|
|
126
|
+
}
|
|
127
|
+
if (isEnterKey(event) && this.variation === "revealable") {
|
|
128
|
+
if (event.target === this.togglePasswordRevealedButton) {
|
|
129
|
+
event.stopPropagation();
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
this.isPasswordRevealed = false;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
return event;
|
|
136
|
+
};
|
|
137
|
+
this.togglePasswordRevealed = () => {
|
|
138
|
+
this.isPasswordRevealed = !this.isPasswordRevealed;
|
|
139
|
+
};
|
|
140
|
+
this.getInputType = () => {
|
|
141
|
+
if (this.variation === "revealable") {
|
|
142
|
+
return this.isPasswordRevealed ? "text" : "password";
|
|
143
|
+
}
|
|
144
|
+
return this.type;
|
|
145
|
+
};
|
|
146
|
+
this.language = getLanguage();
|
|
147
|
+
this.isPasswordRevealed = undefined;
|
|
148
|
+
this.isFocused = false;
|
|
149
|
+
this.accessibleActiveDescendant = undefined;
|
|
150
|
+
this.accessibleAutocomplete = undefined;
|
|
151
|
+
this.accessibleControls = undefined;
|
|
152
|
+
this.accessibleOwns = undefined;
|
|
153
|
+
this.accessibleExpanded = undefined;
|
|
154
|
+
this.accessibleDescribedBy = "";
|
|
155
|
+
this.accessibleHasPopup = undefined;
|
|
156
|
+
this.accessibleDetails = undefined;
|
|
157
|
+
this.accessibleLabelledBy = undefined;
|
|
158
|
+
this.accessibleDescription = undefined;
|
|
159
|
+
this.accessibleLiveError = "polite";
|
|
160
|
+
this.debounce = 0;
|
|
161
|
+
this.clear = false;
|
|
162
|
+
this.caption = undefined;
|
|
163
|
+
this.echoPlaceholder = false;
|
|
164
|
+
this.theme = "";
|
|
165
|
+
this.expand = false;
|
|
166
|
+
this.disabled = false;
|
|
167
|
+
this.identifier = undefined;
|
|
168
|
+
this.margin = "auto";
|
|
169
|
+
this.required = false;
|
|
170
|
+
this.type = "text";
|
|
171
|
+
this.variation = "default";
|
|
172
|
+
this.label = "Label";
|
|
173
|
+
this.error = "";
|
|
174
|
+
this.labelHidden = false;
|
|
175
|
+
this.numericKeyboard = false;
|
|
176
|
+
this.name = undefined;
|
|
177
|
+
this.pattern = undefined;
|
|
178
|
+
this.maxlength = undefined;
|
|
179
|
+
this.minlength = undefined;
|
|
180
|
+
this.placeholder = undefined;
|
|
181
|
+
this.component = "input";
|
|
182
|
+
this.role = undefined;
|
|
183
|
+
this.icon = undefined;
|
|
184
|
+
this.autoComplete = "on";
|
|
185
|
+
this.disallowPattern = null;
|
|
186
|
+
this.value = undefined;
|
|
187
|
+
this.tooltip = "";
|
|
188
|
+
this.tooltipDirection = "auto";
|
|
189
|
+
}
|
|
190
|
+
disallowedPatternChange() {
|
|
191
|
+
this.disallowPatternRegex = this.disallowPattern ? new RegExp(this.disallowPattern, "gu") : null;
|
|
192
|
+
}
|
|
193
|
+
valueChanged() {
|
|
194
|
+
var _a;
|
|
195
|
+
if (((_a = this === null || this === void 0 ? void 0 : this.nativeInput) === null || _a === void 0 ? void 0 : _a.value) !== this.value) {
|
|
196
|
+
const restoreCursor = resetCursor(this.nativeInput);
|
|
197
|
+
this.nativeInput.value = this.value;
|
|
198
|
+
// restore selection position after having set value
|
|
199
|
+
// (in webkit based browsers settings value trigger cursor position and will set it to EndOfText)
|
|
200
|
+
restoreCursor();
|
|
201
|
+
}
|
|
202
|
+
this.isCaptionVisible = !!this.caption;
|
|
203
|
+
const emitEvent = () => this.duetChange.emit({
|
|
204
|
+
value: this.value,
|
|
205
|
+
component: "duet-input",
|
|
206
|
+
});
|
|
207
|
+
if (this.debounce === 0) {
|
|
208
|
+
emitEvent();
|
|
130
209
|
}
|
|
131
210
|
else {
|
|
132
|
-
|
|
211
|
+
clearTimeout(this.timeoutId);
|
|
212
|
+
this.timeoutId = setTimeout(emitEvent, this.debounce);
|
|
133
213
|
}
|
|
134
|
-
}
|
|
135
|
-
return event;
|
|
136
|
-
};
|
|
137
|
-
this.togglePasswordRevealed = () => {
|
|
138
|
-
this.isPasswordRevealed = !this.isPasswordRevealed;
|
|
139
|
-
};
|
|
140
|
-
this.getInputType = () => {
|
|
141
|
-
if (this.variation === "revealable") {
|
|
142
|
-
return this.isPasswordRevealed ? "text" : "password";
|
|
143
|
-
}
|
|
144
|
-
return this.type;
|
|
145
|
-
};
|
|
146
|
-
this.language = getLanguage();
|
|
147
|
-
this.isPasswordRevealed = undefined;
|
|
148
|
-
this.isFocused = false;
|
|
149
|
-
this.accessibleActiveDescendant = undefined;
|
|
150
|
-
this.accessibleAutocomplete = undefined;
|
|
151
|
-
this.accessibleControls = undefined;
|
|
152
|
-
this.accessibleOwns = undefined;
|
|
153
|
-
this.accessibleExpanded = undefined;
|
|
154
|
-
this.accessibleDescribedBy = "";
|
|
155
|
-
this.accessibleHasPopup = undefined;
|
|
156
|
-
this.accessibleDetails = undefined;
|
|
157
|
-
this.accessibleLabelledBy = undefined;
|
|
158
|
-
this.accessibleDescription = undefined;
|
|
159
|
-
this.accessibleLiveError = "polite";
|
|
160
|
-
this.debounce = 0;
|
|
161
|
-
this.clear = false;
|
|
162
|
-
this.caption = undefined;
|
|
163
|
-
this.echoPlaceholder = false;
|
|
164
|
-
this.theme = "";
|
|
165
|
-
this.expand = false;
|
|
166
|
-
this.disabled = false;
|
|
167
|
-
this.identifier = undefined;
|
|
168
|
-
this.margin = "auto";
|
|
169
|
-
this.required = false;
|
|
170
|
-
this.type = "text";
|
|
171
|
-
this.variation = "default";
|
|
172
|
-
this.label = "Label";
|
|
173
|
-
this.error = "";
|
|
174
|
-
this.labelHidden = false;
|
|
175
|
-
this.numericKeyboard = false;
|
|
176
|
-
this.name = undefined;
|
|
177
|
-
this.pattern = undefined;
|
|
178
|
-
this.maxlength = undefined;
|
|
179
|
-
this.minlength = undefined;
|
|
180
|
-
this.placeholder = undefined;
|
|
181
|
-
this.component = "input";
|
|
182
|
-
this.role = undefined;
|
|
183
|
-
this.icon = undefined;
|
|
184
|
-
this.autoComplete = "on";
|
|
185
|
-
this.disallowPattern = null;
|
|
186
|
-
this.value = undefined;
|
|
187
|
-
this.tooltip = "";
|
|
188
|
-
this.tooltipDirection = "auto";
|
|
189
|
-
}
|
|
190
|
-
disallowedPatternChange() {
|
|
191
|
-
this.disallowPatternRegex = this.disallowPattern ? new RegExp(this.disallowPattern, "gu") : null;
|
|
192
|
-
}
|
|
193
|
-
valueChanged() {
|
|
194
|
-
var _a;
|
|
195
|
-
if (((_a = this === null || this === void 0 ? void 0 : this.nativeInput) === null || _a === void 0 ? void 0 : _a.value) !== this.value) {
|
|
196
|
-
const restoreCursor = resetCursor(this.nativeInput);
|
|
197
|
-
this.nativeInput.value = this.value;
|
|
198
|
-
// restore selection position after having set value
|
|
199
|
-
// (in webkit based browsers settings value trigger cursor position and will set it to EndOfText)
|
|
200
|
-
restoreCursor();
|
|
201
|
-
}
|
|
202
|
-
this.isCaptionVisible = !!this.caption;
|
|
203
|
-
const emitEvent = () => this.duetChange.emit({
|
|
204
|
-
value: this.value,
|
|
205
|
-
component: "duet-input",
|
|
206
|
-
});
|
|
207
|
-
if (this.debounce === 0) {
|
|
208
|
-
emitEvent();
|
|
209
214
|
}
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
*/
|
|
218
|
-
componentWillLoad() {
|
|
219
|
-
inheritGlobalTheme(this);
|
|
220
|
-
this.disallowedPatternChange();
|
|
221
|
-
this.isCaptionVisible = !!this.caption;
|
|
222
|
-
}
|
|
223
|
-
componentDidLoad() {
|
|
224
|
-
if (this.variation === "revealable" && this.nativeInput.form) {
|
|
225
|
-
this.nativeInput.form.addEventListener("submit", () => {
|
|
226
|
-
this.isPasswordRevealed = false;
|
|
227
|
-
});
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
connectedCallback() {
|
|
231
|
-
connectLanguageChangeObserver(this);
|
|
232
|
-
}
|
|
233
|
-
disconnectedCallback() {
|
|
234
|
-
disconnectLanguageChangeObserver(this);
|
|
235
|
-
}
|
|
236
|
-
/**
|
|
237
|
-
* Sets focus on the specified `duet-input`. Use this method instead of the global
|
|
238
|
-
* `input.focus()`.
|
|
239
|
-
*/
|
|
240
|
-
async setFocus(options) {
|
|
241
|
-
if (this.nativeInput) {
|
|
242
|
-
this.nativeInput.focus(options);
|
|
215
|
+
/**
|
|
216
|
+
* Component lifecycle events.
|
|
217
|
+
*/
|
|
218
|
+
componentWillLoad() {
|
|
219
|
+
inheritGlobalTheme(this);
|
|
220
|
+
this.disallowedPatternChange();
|
|
221
|
+
this.isCaptionVisible = !!this.caption;
|
|
243
222
|
}
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
if (this.nativeInput) {
|
|
251
|
-
const restoreCursor = resetCursor(this.nativeInput);
|
|
252
|
-
this.nativeInput.value = this.value;
|
|
253
|
-
restoreCursor();
|
|
223
|
+
componentDidLoad() {
|
|
224
|
+
if (this.variation === "revealable" && this.nativeInput.form) {
|
|
225
|
+
this.nativeInput.form.addEventListener("submit", () => {
|
|
226
|
+
this.isPasswordRevealed = false;
|
|
227
|
+
});
|
|
228
|
+
}
|
|
254
229
|
}
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
* Reset the cursor position on the native element
|
|
258
|
-
* `input.resetCursor()`.
|
|
259
|
-
*/
|
|
260
|
-
async clearInput() {
|
|
261
|
-
if (this.nativeInput) {
|
|
262
|
-
this.nativeInput.value = "";
|
|
263
|
-
this.nativeInput.focus();
|
|
264
|
-
this.value = "";
|
|
230
|
+
connectedCallback() {
|
|
231
|
+
connectLanguageChangeObserver(this);
|
|
265
232
|
}
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
* render() function
|
|
269
|
-
* Always the last one in the class.
|
|
270
|
-
*/
|
|
271
|
-
render() {
|
|
272
|
-
const identifier = this.identifier || this.inputId;
|
|
273
|
-
const inputProps = {};
|
|
274
|
-
if (this.numericKeyboard) {
|
|
275
|
-
inputProps.inputmode = "numeric";
|
|
233
|
+
disconnectedCallback() {
|
|
234
|
+
disconnectLanguageChangeObserver(this);
|
|
276
235
|
}
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
236
|
+
/**
|
|
237
|
+
* Sets focus on the specified `duet-input`. Use this method instead of the global
|
|
238
|
+
* `input.focus()`.
|
|
239
|
+
*/
|
|
240
|
+
async setFocus(options) {
|
|
241
|
+
if (this.nativeInput) {
|
|
242
|
+
this.nativeInput.focus(options);
|
|
243
|
+
}
|
|
280
244
|
}
|
|
281
|
-
|
|
282
|
-
|
|
245
|
+
/**
|
|
246
|
+
* Reset the cursor position on the native element
|
|
247
|
+
* `input.resetCursor()`.
|
|
248
|
+
*/
|
|
249
|
+
async resetCursor() {
|
|
250
|
+
if (this.nativeInput) {
|
|
251
|
+
const restoreCursor = resetCursor(this.nativeInput);
|
|
252
|
+
this.nativeInput.value = this.value;
|
|
253
|
+
restoreCursor();
|
|
254
|
+
}
|
|
283
255
|
}
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
256
|
+
/**
|
|
257
|
+
* Reset the cursor position on the native element
|
|
258
|
+
* `input.resetCursor()`.
|
|
259
|
+
*/
|
|
260
|
+
async clearInput() {
|
|
261
|
+
if (this.nativeInput) {
|
|
262
|
+
this.nativeInput.value = "";
|
|
263
|
+
this.nativeInput.focus();
|
|
264
|
+
this.value = "";
|
|
265
|
+
}
|
|
293
266
|
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
"duet-input-container": true,
|
|
302
|
-
"duet-theme-turva": this.theme === "turva",
|
|
303
|
-
[`duet-input-variation-${this.variation}`]: true,
|
|
304
|
-
"duet-label-hidden": this.labelHidden,
|
|
305
|
-
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
306
|
-
"has-icon": this.variation !== "button" &&
|
|
307
|
-
(!!this.icon ||
|
|
308
|
-
(this.type !== "text" && this.type !== "tel" && this.type !== "password" && this.type !== "time")),
|
|
309
|
-
"has-error": !!this.error,
|
|
310
|
-
"has-clear": this.clear,
|
|
311
|
-
"has-focus": this.isFocused,
|
|
312
|
-
disabled: this.disabled,
|
|
313
|
-
} }, h("div", { class: "duet-input-label-container" }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip))), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), h("input", Object.assign({ ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
314
|
-
"duet-input": true,
|
|
315
|
-
disabled: this.disabled,
|
|
316
|
-
"is-number": this.component === "number",
|
|
317
|
-
"is-date": this.component === "date",
|
|
318
|
-
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { class: {
|
|
319
|
-
"duet-input-clear-icon": true,
|
|
320
|
-
"duet-input-clear-icon-single": !hasInputIcon,
|
|
321
|
-
"duet-input-clear-icon-double": !!this.icon,
|
|
322
|
-
"duet-input-clear-icon-button": this.variation === "button",
|
|
323
|
-
} }, h("button", { onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, h("duet-icon", { margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { name: "button" }), this.variation === "revealable" && (h("duet-button", { ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
324
|
-
? this.hidePasswordLabel[this.language]
|
|
325
|
-
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", null, h("span", { "aria-live": "polite" }, this.isPasswordRevealed
|
|
326
|
-
? this.passwordShownAriaAnnouncement[this.language]
|
|
327
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", null)), h("span", { class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { class: "duet-input-error" }, this.error)))));
|
|
328
|
-
}
|
|
329
|
-
static get is() { return "duet-input"; }
|
|
330
|
-
static get encapsulation() { return "scoped"; }
|
|
331
|
-
static get originalStyleUrls() {
|
|
332
|
-
return {
|
|
333
|
-
"$": ["duet-input.scss"]
|
|
334
|
-
};
|
|
335
|
-
}
|
|
336
|
-
static get styleUrls() {
|
|
337
|
-
return {
|
|
338
|
-
"$": ["duet-input.css"]
|
|
339
|
-
};
|
|
340
|
-
}
|
|
341
|
-
static get properties() {
|
|
342
|
-
return {
|
|
343
|
-
"accessibleActiveDescendant": {
|
|
344
|
-
"type": "string",
|
|
345
|
-
"mutable": false,
|
|
346
|
-
"complexType": {
|
|
347
|
-
"original": "string",
|
|
348
|
-
"resolved": "string",
|
|
349
|
-
"references": {}
|
|
350
|
-
},
|
|
351
|
-
"required": false,
|
|
352
|
-
"optional": false,
|
|
353
|
-
"docs": {
|
|
354
|
-
"tags": [],
|
|
355
|
-
"text": "Indicates the id of a related component\u2019s visually focused element."
|
|
356
|
-
},
|
|
357
|
-
"attribute": "accessible-active-descendant",
|
|
358
|
-
"reflect": false
|
|
359
|
-
},
|
|
360
|
-
"accessibleAutocomplete": {
|
|
361
|
-
"type": "string",
|
|
362
|
-
"mutable": false,
|
|
363
|
-
"complexType": {
|
|
364
|
-
"original": "string",
|
|
365
|
-
"resolved": "string",
|
|
366
|
-
"references": {}
|
|
367
|
-
},
|
|
368
|
-
"required": false,
|
|
369
|
-
"optional": false,
|
|
370
|
-
"docs": {
|
|
371
|
-
"tags": [],
|
|
372
|
-
"text": "Indicates what kind of user input completion suggestions are provided."
|
|
373
|
-
},
|
|
374
|
-
"attribute": "accessible-autocomplete",
|
|
375
|
-
"reflect": false
|
|
376
|
-
},
|
|
377
|
-
"accessibleControls": {
|
|
378
|
-
"type": "string",
|
|
379
|
-
"mutable": false,
|
|
380
|
-
"complexType": {
|
|
381
|
-
"original": "string",
|
|
382
|
-
"resolved": "string",
|
|
383
|
-
"references": {}
|
|
384
|
-
},
|
|
385
|
-
"required": false,
|
|
386
|
-
"optional": false,
|
|
387
|
-
"docs": {
|
|
388
|
-
"tags": [],
|
|
389
|
-
"text": "Use this prop to add an aria-controls attribute. Use the attribute to\nindicate the id of a component controlled by this component."
|
|
390
|
-
},
|
|
391
|
-
"attribute": "accessible-controls",
|
|
392
|
-
"reflect": false
|
|
393
|
-
},
|
|
394
|
-
"accessibleOwns": {
|
|
395
|
-
"type": "string",
|
|
396
|
-
"mutable": false,
|
|
397
|
-
"complexType": {
|
|
398
|
-
"original": "string",
|
|
399
|
-
"resolved": "string",
|
|
400
|
-
"references": {}
|
|
401
|
-
},
|
|
402
|
-
"required": false,
|
|
403
|
-
"optional": false,
|
|
404
|
-
"docs": {
|
|
405
|
-
"tags": [],
|
|
406
|
-
"text": "Indicates the id of a component owned by the input."
|
|
407
|
-
},
|
|
408
|
-
"attribute": "accessible-owns",
|
|
409
|
-
"reflect": false
|
|
410
|
-
},
|
|
411
|
-
"accessibleExpanded": {
|
|
412
|
-
"type": "string",
|
|
413
|
-
"mutable": false,
|
|
414
|
-
"complexType": {
|
|
415
|
-
"original": "string",
|
|
416
|
-
"resolved": "string",
|
|
417
|
-
"references": {}
|
|
418
|
-
},
|
|
419
|
-
"required": false,
|
|
420
|
-
"optional": false,
|
|
421
|
-
"docs": {
|
|
422
|
-
"tags": [],
|
|
423
|
-
"text": "Expanded state of the element, if needed"
|
|
424
|
-
},
|
|
425
|
-
"attribute": "accessible-expanded",
|
|
426
|
-
"reflect": false
|
|
427
|
-
},
|
|
428
|
-
"accessibleDescribedBy": {
|
|
429
|
-
"type": "string",
|
|
430
|
-
"mutable": false,
|
|
431
|
-
"complexType": {
|
|
432
|
-
"original": "string",
|
|
433
|
-
"resolved": "string",
|
|
434
|
-
"references": {}
|
|
435
|
-
},
|
|
436
|
-
"required": false,
|
|
437
|
-
"optional": false,
|
|
438
|
-
"docs": {
|
|
439
|
-
"tags": [],
|
|
440
|
-
"text": "Indicates the id or a string of space seperated ids of a component(s) that describes the input."
|
|
441
|
-
},
|
|
442
|
-
"attribute": "accessible-described-by",
|
|
443
|
-
"reflect": false,
|
|
444
|
-
"defaultValue": "\"\""
|
|
445
|
-
},
|
|
446
|
-
"accessibleHasPopup": {
|
|
447
|
-
"type": "string",
|
|
448
|
-
"mutable": false,
|
|
449
|
-
"complexType": {
|
|
450
|
-
"original": "string",
|
|
451
|
-
"resolved": "string",
|
|
452
|
-
"references": {}
|
|
453
|
-
},
|
|
454
|
-
"required": false,
|
|
455
|
-
"optional": false,
|
|
456
|
-
"docs": {
|
|
457
|
-
"tags": [],
|
|
458
|
-
"text": "Indicates value of any popup element associated with the input."
|
|
459
|
-
},
|
|
460
|
-
"attribute": "accessible-has-popup",
|
|
461
|
-
"reflect": false,
|
|
462
|
-
"defaultValue": "undefined"
|
|
463
|
-
},
|
|
464
|
-
"accessibleDetails": {
|
|
465
|
-
"type": "string",
|
|
466
|
-
"mutable": false,
|
|
467
|
-
"complexType": {
|
|
468
|
-
"original": "string",
|
|
469
|
-
"resolved": "string",
|
|
470
|
-
"references": {}
|
|
471
|
-
},
|
|
472
|
-
"required": false,
|
|
473
|
-
"optional": false,
|
|
474
|
-
"docs": {
|
|
475
|
-
"tags": [],
|
|
476
|
-
"text": "Aria Details of the component"
|
|
477
|
-
},
|
|
478
|
-
"attribute": "accessible-details",
|
|
479
|
-
"reflect": false,
|
|
480
|
-
"defaultValue": "undefined"
|
|
481
|
-
},
|
|
482
|
-
"accessibleLabelledBy": {
|
|
483
|
-
"type": "string",
|
|
484
|
-
"mutable": false,
|
|
485
|
-
"complexType": {
|
|
486
|
-
"original": "string",
|
|
487
|
-
"resolved": "string",
|
|
488
|
-
"references": {}
|
|
489
|
-
},
|
|
490
|
-
"required": false,
|
|
491
|
-
"optional": false,
|
|
492
|
-
"docs": {
|
|
493
|
-
"tags": [],
|
|
494
|
-
"text": "String of id's that indicate alternative labels elements"
|
|
495
|
-
},
|
|
496
|
-
"attribute": "accessible-labelled-by",
|
|
497
|
-
"reflect": false,
|
|
498
|
-
"defaultValue": "undefined"
|
|
499
|
-
},
|
|
500
|
-
"accessibleDescription": {
|
|
501
|
-
"type": "string",
|
|
502
|
-
"mutable": false,
|
|
503
|
-
"complexType": {
|
|
504
|
-
"original": "string",
|
|
505
|
-
"resolved": "string",
|
|
506
|
-
"references": {}
|
|
507
|
-
},
|
|
508
|
-
"required": false,
|
|
509
|
-
"optional": false,
|
|
510
|
-
"docs": {
|
|
511
|
-
"tags": [],
|
|
512
|
-
"text": "Aria description the button"
|
|
513
|
-
},
|
|
514
|
-
"attribute": "accessible-description",
|
|
515
|
-
"reflect": false,
|
|
516
|
-
"defaultValue": "undefined"
|
|
517
|
-
},
|
|
518
|
-
"accessibleLiveError": {
|
|
519
|
-
"type": "string",
|
|
520
|
-
"mutable": false,
|
|
521
|
-
"complexType": {
|
|
522
|
-
"original": "\"off\" | \"polite\" | \"assertive\"",
|
|
523
|
-
"resolved": "\"assertive\" | \"off\" | \"polite\"",
|
|
524
|
-
"references": {}
|
|
525
|
-
},
|
|
526
|
-
"required": false,
|
|
527
|
-
"optional": false,
|
|
528
|
-
"docs": {
|
|
529
|
-
"tags": [],
|
|
530
|
-
"text": "The aria-live attribute for the error message. When the input is validated on blur, use \"off\", as using \"polite\" or \"assertive\"\nmakes the screen reader read the error message twice. When the input is validated on submit, use \"polite\", as \"off\" would leave\nthe messages unread by screen readers. Use \"assertive\" only in those rare cases when \"polite\" would leave the error message\nunread by screen readers."
|
|
531
|
-
},
|
|
532
|
-
"attribute": "accessible-live-error",
|
|
533
|
-
"reflect": false,
|
|
534
|
-
"defaultValue": "\"polite\""
|
|
535
|
-
},
|
|
536
|
-
"debounce": {
|
|
537
|
-
"type": "number",
|
|
538
|
-
"mutable": false,
|
|
539
|
-
"complexType": {
|
|
540
|
-
"original": "number",
|
|
541
|
-
"resolved": "number",
|
|
542
|
-
"references": {}
|
|
543
|
-
},
|
|
544
|
-
"required": false,
|
|
545
|
-
"optional": false,
|
|
546
|
-
"docs": {
|
|
547
|
-
"tags": [],
|
|
548
|
-
"text": "Set the amount of time, in milliseconds, to wait to trigger the duetChange\nevent after each keystroke."
|
|
549
|
-
},
|
|
550
|
-
"attribute": "debounce",
|
|
551
|
-
"reflect": false,
|
|
552
|
-
"defaultValue": "0"
|
|
553
|
-
},
|
|
554
|
-
"clear": {
|
|
555
|
-
"type": "boolean",
|
|
556
|
-
"mutable": false,
|
|
557
|
-
"complexType": {
|
|
558
|
-
"original": "boolean",
|
|
559
|
-
"resolved": "boolean",
|
|
560
|
-
"references": {}
|
|
561
|
-
},
|
|
562
|
-
"required": false,
|
|
563
|
-
"optional": false,
|
|
564
|
-
"docs": {
|
|
565
|
-
"tags": [],
|
|
566
|
-
"text": "If set, the input field will display a clear button that can be accessed with tabbing."
|
|
567
|
-
},
|
|
568
|
-
"attribute": "clear",
|
|
569
|
-
"reflect": false,
|
|
570
|
-
"defaultValue": "false"
|
|
571
|
-
},
|
|
572
|
-
"caption": {
|
|
573
|
-
"type": "string",
|
|
574
|
-
"mutable": false,
|
|
575
|
-
"complexType": {
|
|
576
|
-
"original": "string",
|
|
577
|
-
"resolved": "string",
|
|
578
|
-
"references": {}
|
|
579
|
-
},
|
|
580
|
-
"required": false,
|
|
581
|
-
"optional": false,
|
|
582
|
-
"docs": {
|
|
583
|
-
"tags": [],
|
|
584
|
-
"text": "Caption (underneath label) that can be set as a way of adding extra information"
|
|
585
|
-
},
|
|
586
|
-
"attribute": "caption",
|
|
587
|
-
"reflect": false
|
|
588
|
-
},
|
|
589
|
-
"echoPlaceholder": {
|
|
590
|
-
"type": "boolean",
|
|
591
|
-
"mutable": false,
|
|
592
|
-
"complexType": {
|
|
593
|
-
"original": "boolean",
|
|
594
|
-
"resolved": "boolean",
|
|
595
|
-
"references": {}
|
|
596
|
-
},
|
|
597
|
-
"required": false,
|
|
598
|
-
"optional": false,
|
|
599
|
-
"docs": {
|
|
600
|
-
"tags": [],
|
|
601
|
-
"text": "If form input field has a placeholder text, and user types anything (causing the placeholder text to disappear),\nsettings this to true will \"echo\" it into the caption slot - this option will be false by default for the next few versions, but will eventually be true by default (scheduled for 4.30.0)"
|
|
602
|
-
},
|
|
603
|
-
"attribute": "echo-placeholder",
|
|
604
|
-
"reflect": false,
|
|
605
|
-
"defaultValue": "false"
|
|
606
|
-
},
|
|
607
|
-
"theme": {
|
|
608
|
-
"type": "string",
|
|
609
|
-
"mutable": true,
|
|
610
|
-
"complexType": {
|
|
611
|
-
"original": "DuetTheme",
|
|
612
|
-
"resolved": "\"\" | \"default\" | \"turva\"",
|
|
613
|
-
"references": {
|
|
614
|
-
"DuetTheme": {
|
|
615
|
-
"location": "import",
|
|
616
|
-
"path": "../../common-types",
|
|
617
|
-
"id": "src/common-types.d.ts::DuetTheme"
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
},
|
|
621
|
-
"required": false,
|
|
622
|
-
"optional": false,
|
|
623
|
-
"docs": {
|
|
624
|
-
"tags": [],
|
|
625
|
-
"text": "Theme of the input."
|
|
626
|
-
},
|
|
627
|
-
"attribute": "theme",
|
|
628
|
-
"reflect": false,
|
|
629
|
-
"defaultValue": "\"\""
|
|
630
|
-
},
|
|
631
|
-
"expand": {
|
|
632
|
-
"type": "boolean",
|
|
633
|
-
"mutable": false,
|
|
634
|
-
"complexType": {
|
|
635
|
-
"original": "boolean",
|
|
636
|
-
"resolved": "boolean",
|
|
637
|
-
"references": {}
|
|
638
|
-
},
|
|
639
|
-
"required": false,
|
|
640
|
-
"optional": false,
|
|
641
|
-
"docs": {
|
|
642
|
-
"tags": [],
|
|
643
|
-
"text": "Expands the input to fill 100% of the container width."
|
|
644
|
-
},
|
|
645
|
-
"attribute": "expand",
|
|
646
|
-
"reflect": false,
|
|
647
|
-
"defaultValue": "false"
|
|
648
|
-
},
|
|
649
|
-
"disabled": {
|
|
650
|
-
"type": "boolean",
|
|
651
|
-
"mutable": false,
|
|
652
|
-
"complexType": {
|
|
653
|
-
"original": "boolean",
|
|
654
|
-
"resolved": "boolean",
|
|
655
|
-
"references": {}
|
|
656
|
-
},
|
|
657
|
-
"required": false,
|
|
658
|
-
"optional": false,
|
|
659
|
-
"docs": {
|
|
660
|
-
"tags": [],
|
|
661
|
-
"text": "Makes the input component disabled. This prevents users from being able to\ninteract with the input, and conveys its inactive state to assistive technologies."
|
|
662
|
-
},
|
|
663
|
-
"attribute": "disabled",
|
|
664
|
-
"reflect": true,
|
|
665
|
-
"defaultValue": "false"
|
|
666
|
-
},
|
|
667
|
-
"identifier": {
|
|
668
|
-
"type": "string",
|
|
669
|
-
"mutable": false,
|
|
670
|
-
"complexType": {
|
|
671
|
-
"original": "string",
|
|
672
|
-
"resolved": "string",
|
|
673
|
-
"references": {}
|
|
674
|
-
},
|
|
675
|
-
"required": false,
|
|
676
|
-
"optional": false,
|
|
677
|
-
"docs": {
|
|
678
|
-
"tags": [],
|
|
679
|
-
"text": "Adds a unique identifier for the input."
|
|
680
|
-
},
|
|
681
|
-
"attribute": "identifier",
|
|
682
|
-
"reflect": false
|
|
683
|
-
},
|
|
684
|
-
"margin": {
|
|
685
|
-
"type": "string",
|
|
686
|
-
"mutable": false,
|
|
687
|
-
"complexType": {
|
|
688
|
-
"original": "DuetMargin",
|
|
689
|
-
"resolved": "\"auto\" | \"none\"",
|
|
690
|
-
"references": {
|
|
691
|
-
"DuetMargin": {
|
|
692
|
-
"location": "import",
|
|
693
|
-
"path": "../../common-types",
|
|
694
|
-
"id": "src/common-types.d.ts::DuetMargin"
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
},
|
|
698
|
-
"required": false,
|
|
699
|
-
"optional": false,
|
|
700
|
-
"docs": {
|
|
701
|
-
"tags": [],
|
|
702
|
-
"text": "Controls the margin of the component."
|
|
703
|
-
},
|
|
704
|
-
"attribute": "margin",
|
|
705
|
-
"reflect": false,
|
|
706
|
-
"defaultValue": "\"auto\""
|
|
707
|
-
},
|
|
708
|
-
"required": {
|
|
709
|
-
"type": "boolean",
|
|
710
|
-
"mutable": false,
|
|
711
|
-
"complexType": {
|
|
712
|
-
"original": "boolean",
|
|
713
|
-
"resolved": "boolean",
|
|
714
|
-
"references": {}
|
|
715
|
-
},
|
|
716
|
-
"required": false,
|
|
717
|
-
"optional": false,
|
|
718
|
-
"docs": {
|
|
719
|
-
"tags": [],
|
|
720
|
-
"text": "Set whether the input is required or not. Please note that this is necessary for\naccessible inputs when the user is required to fill them. When using this property\nyou need to also set \u201Cnovalidate\u201D attribute to your form element to prevent\nbrowser from displaying its own validation errors."
|
|
721
|
-
},
|
|
722
|
-
"attribute": "required",
|
|
723
|
-
"reflect": false,
|
|
724
|
-
"defaultValue": "false"
|
|
725
|
-
},
|
|
726
|
-
"type": {
|
|
727
|
-
"type": "string",
|
|
728
|
-
"mutable": false,
|
|
729
|
-
"complexType": {
|
|
730
|
-
"original": "DuetInputType",
|
|
731
|
-
"resolved": "\"email\" | \"password\" | \"search\" | \"tel\" | \"text\" | \"time\"",
|
|
732
|
-
"references": {
|
|
733
|
-
"DuetInputType": {
|
|
734
|
-
"location": "local",
|
|
735
|
-
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-input/duet-input.tsx",
|
|
736
|
-
"id": "src/components/duet-input/duet-input.tsx::DuetInputType"
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
},
|
|
740
|
-
"required": false,
|
|
741
|
-
"optional": false,
|
|
742
|
-
"docs": {
|
|
743
|
-
"tags": [],
|
|
744
|
-
"text": "Type of the input."
|
|
745
|
-
},
|
|
746
|
-
"attribute": "type",
|
|
747
|
-
"reflect": false,
|
|
748
|
-
"defaultValue": "\"text\""
|
|
749
|
-
},
|
|
750
|
-
"variation": {
|
|
751
|
-
"type": "string",
|
|
752
|
-
"mutable": false,
|
|
753
|
-
"complexType": {
|
|
754
|
-
"original": "DuetVariationType",
|
|
755
|
-
"resolved": "\"button\" | \"default\" | \"revealable\"",
|
|
756
|
-
"references": {
|
|
757
|
-
"DuetVariationType": {
|
|
758
|
-
"location": "local",
|
|
759
|
-
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-input/duet-input.tsx",
|
|
760
|
-
"id": "src/components/duet-input/duet-input.tsx::DuetVariationType"
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
},
|
|
764
|
-
"required": false,
|
|
765
|
-
"optional": false,
|
|
766
|
-
"docs": {
|
|
767
|
-
"tags": [],
|
|
768
|
-
"text": "Variation of button. Use \"button\" to render a button element next to the input. Use \"revealable\" to render a button that reveals the password."
|
|
769
|
-
},
|
|
770
|
-
"attribute": "variation",
|
|
771
|
-
"reflect": false,
|
|
772
|
-
"defaultValue": "\"default\""
|
|
773
|
-
},
|
|
774
|
-
"label": {
|
|
775
|
-
"type": "string",
|
|
776
|
-
"mutable": true,
|
|
777
|
-
"complexType": {
|
|
778
|
-
"original": "string",
|
|
779
|
-
"resolved": "string",
|
|
780
|
-
"references": {}
|
|
781
|
-
},
|
|
782
|
-
"required": false,
|
|
783
|
-
"optional": false,
|
|
784
|
-
"docs": {
|
|
785
|
-
"tags": [],
|
|
786
|
-
"text": "Label for the input."
|
|
787
|
-
},
|
|
788
|
-
"attribute": "label",
|
|
789
|
-
"reflect": false,
|
|
790
|
-
"defaultValue": "\"Label\""
|
|
791
|
-
},
|
|
792
|
-
"error": {
|
|
793
|
-
"type": "string",
|
|
794
|
-
"mutable": false,
|
|
795
|
-
"complexType": {
|
|
796
|
-
"original": "string",
|
|
797
|
-
"resolved": "string",
|
|
798
|
-
"references": {}
|
|
799
|
-
},
|
|
800
|
-
"required": false,
|
|
801
|
-
"optional": false,
|
|
802
|
-
"docs": {
|
|
803
|
-
"tags": [],
|
|
804
|
-
"text": "Display the input in error state along with an error message."
|
|
805
|
-
},
|
|
806
|
-
"attribute": "error",
|
|
807
|
-
"reflect": false,
|
|
808
|
-
"defaultValue": "\"\""
|
|
809
|
-
},
|
|
810
|
-
"labelHidden": {
|
|
811
|
-
"type": "boolean",
|
|
812
|
-
"mutable": false,
|
|
813
|
-
"complexType": {
|
|
814
|
-
"original": "boolean",
|
|
815
|
-
"resolved": "boolean",
|
|
816
|
-
"references": {}
|
|
817
|
-
},
|
|
818
|
-
"required": false,
|
|
819
|
-
"optional": false,
|
|
820
|
-
"docs": {
|
|
821
|
-
"tags": [],
|
|
822
|
-
"text": "Visually hide the label, but still show it to screen readers."
|
|
823
|
-
},
|
|
824
|
-
"attribute": "label-hidden",
|
|
825
|
-
"reflect": false,
|
|
826
|
-
"defaultValue": "false"
|
|
827
|
-
},
|
|
828
|
-
"numericKeyboard": {
|
|
829
|
-
"type": "boolean",
|
|
830
|
-
"mutable": false,
|
|
831
|
-
"complexType": {
|
|
832
|
-
"original": "boolean",
|
|
833
|
-
"resolved": "boolean",
|
|
834
|
-
"references": {}
|
|
835
|
-
},
|
|
836
|
-
"required": false,
|
|
837
|
-
"optional": false,
|
|
838
|
-
"docs": {
|
|
839
|
-
"tags": [],
|
|
840
|
-
"text": "Enable numeric keyboard for the input."
|
|
841
|
-
},
|
|
842
|
-
"attribute": "numeric-keyboard",
|
|
843
|
-
"reflect": false,
|
|
844
|
-
"defaultValue": "false"
|
|
845
|
-
},
|
|
846
|
-
"name": {
|
|
847
|
-
"type": "string",
|
|
848
|
-
"mutable": false,
|
|
849
|
-
"complexType": {
|
|
850
|
-
"original": "string",
|
|
851
|
-
"resolved": "string",
|
|
852
|
-
"references": {}
|
|
853
|
-
},
|
|
854
|
-
"required": false,
|
|
855
|
-
"optional": false,
|
|
856
|
-
"docs": {
|
|
857
|
-
"tags": [],
|
|
858
|
-
"text": "Name of the input."
|
|
859
|
-
},
|
|
860
|
-
"attribute": "name",
|
|
861
|
-
"reflect": false
|
|
862
|
-
},
|
|
863
|
-
"pattern": {
|
|
864
|
-
"type": "string",
|
|
865
|
-
"mutable": false,
|
|
866
|
-
"complexType": {
|
|
867
|
-
"original": "string",
|
|
868
|
-
"resolved": "string",
|
|
869
|
-
"references": {}
|
|
870
|
-
},
|
|
871
|
-
"required": false,
|
|
872
|
-
"optional": false,
|
|
873
|
-
"docs": {
|
|
874
|
-
"tags": [],
|
|
875
|
-
"text": "A regular expression to check the value against. Please note that this\nuses native HTML5 pattern validation."
|
|
876
|
-
},
|
|
877
|
-
"attribute": "pattern",
|
|
878
|
-
"reflect": false
|
|
879
|
-
},
|
|
880
|
-
"maxlength": {
|
|
881
|
-
"type": "number",
|
|
882
|
-
"mutable": false,
|
|
883
|
-
"complexType": {
|
|
884
|
-
"original": "number",
|
|
885
|
-
"resolved": "number",
|
|
886
|
-
"references": {}
|
|
887
|
-
},
|
|
888
|
-
"required": false,
|
|
889
|
-
"optional": false,
|
|
890
|
-
"docs": {
|
|
891
|
-
"tags": [],
|
|
892
|
-
"text": "Use maxlength to specify the maximum length of the value that can be entered.\nPlease note that this uses native HTML5 pattern validation."
|
|
893
|
-
},
|
|
894
|
-
"attribute": "maxlength",
|
|
895
|
-
"reflect": false
|
|
896
|
-
},
|
|
897
|
-
"minlength": {
|
|
898
|
-
"type": "number",
|
|
899
|
-
"mutable": false,
|
|
900
|
-
"complexType": {
|
|
901
|
-
"original": "number",
|
|
902
|
-
"resolved": "number",
|
|
903
|
-
"references": {}
|
|
904
|
-
},
|
|
905
|
-
"required": false,
|
|
906
|
-
"optional": false,
|
|
907
|
-
"docs": {
|
|
908
|
-
"tags": [],
|
|
909
|
-
"text": "Use minlength to specify the minimum length of the value that can be entered.\nPlease note that this uses native HTML5 pattern validation."
|
|
910
|
-
},
|
|
911
|
-
"attribute": "minlength",
|
|
912
|
-
"reflect": false
|
|
913
|
-
},
|
|
914
|
-
"placeholder": {
|
|
915
|
-
"type": "string",
|
|
916
|
-
"mutable": false,
|
|
917
|
-
"complexType": {
|
|
918
|
-
"original": "string",
|
|
919
|
-
"resolved": "string",
|
|
920
|
-
"references": {}
|
|
921
|
-
},
|
|
922
|
-
"required": false,
|
|
923
|
-
"optional": false,
|
|
924
|
-
"docs": {
|
|
925
|
-
"tags": [],
|
|
926
|
-
"text": "Hint text to display."
|
|
927
|
-
},
|
|
928
|
-
"attribute": "placeholder",
|
|
929
|
-
"reflect": false
|
|
930
|
-
},
|
|
931
|
-
"component": {
|
|
932
|
-
"type": "string",
|
|
933
|
-
"mutable": false,
|
|
934
|
-
"complexType": {
|
|
935
|
-
"original": "DuetInputComponentType",
|
|
936
|
-
"resolved": "\"date\" | \"input\" | \"number\"",
|
|
937
|
-
"references": {
|
|
938
|
-
"DuetInputComponentType": {
|
|
939
|
-
"location": "local",
|
|
940
|
-
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-input/duet-input.tsx",
|
|
941
|
-
"id": "src/components/duet-input/duet-input.tsx::DuetInputComponentType"
|
|
942
|
-
}
|
|
943
|
-
}
|
|
944
|
-
},
|
|
945
|
-
"required": false,
|
|
946
|
-
"optional": false,
|
|
947
|
-
"docs": {
|
|
948
|
-
"tags": [],
|
|
949
|
-
"text": "Used internally in Duet to adjust whether this component acts as e.g. number input."
|
|
950
|
-
},
|
|
951
|
-
"attribute": "component",
|
|
952
|
-
"reflect": false,
|
|
953
|
-
"defaultValue": "\"input\""
|
|
954
|
-
},
|
|
955
|
-
"role": {
|
|
956
|
-
"type": "string",
|
|
957
|
-
"mutable": false,
|
|
958
|
-
"complexType": {
|
|
959
|
-
"original": "string | null",
|
|
960
|
-
"resolved": "string",
|
|
961
|
-
"references": {}
|
|
962
|
-
},
|
|
963
|
-
"required": false,
|
|
964
|
-
"optional": false,
|
|
965
|
-
"docs": {
|
|
966
|
-
"tags": [],
|
|
967
|
-
"text": "Defines a specific role attribute for the input."
|
|
968
|
-
},
|
|
969
|
-
"attribute": "role",
|
|
970
|
-
"reflect": false
|
|
971
|
-
},
|
|
972
|
-
"icon": {
|
|
973
|
-
"type": "string",
|
|
974
|
-
"mutable": false,
|
|
975
|
-
"complexType": {
|
|
976
|
-
"original": "DuetIconName",
|
|
977
|
-
"resolved": "string",
|
|
978
|
-
"references": {
|
|
979
|
-
"DuetIconName": {
|
|
980
|
-
"location": "import",
|
|
981
|
-
"path": "../../common-types",
|
|
982
|
-
"id": "src/common-types.d.ts::DuetIconName"
|
|
983
|
-
}
|
|
984
|
-
}
|
|
985
|
-
},
|
|
986
|
-
"required": false,
|
|
987
|
-
"optional": false,
|
|
988
|
-
"docs": {
|
|
989
|
-
"tags": [],
|
|
990
|
-
"text": "Icon to display on the right side (from Duet\u2019s icons). Example: \"form-location\""
|
|
991
|
-
},
|
|
992
|
-
"attribute": "icon",
|
|
993
|
-
"reflect": false
|
|
994
|
-
},
|
|
995
|
-
"autoComplete": {
|
|
996
|
-
"type": "string",
|
|
997
|
-
"mutable": false,
|
|
998
|
-
"complexType": {
|
|
999
|
-
"original": "string",
|
|
1000
|
-
"resolved": "string",
|
|
1001
|
-
"references": {}
|
|
1002
|
-
},
|
|
1003
|
-
"required": false,
|
|
1004
|
-
"optional": false,
|
|
1005
|
-
"docs": {
|
|
1006
|
-
"tags": [],
|
|
1007
|
-
"text": "Enable or disable automatic completion by the browser"
|
|
1008
|
-
},
|
|
1009
|
-
"attribute": "auto-complete",
|
|
1010
|
-
"reflect": false,
|
|
1011
|
-
"defaultValue": "\"on\""
|
|
1012
|
-
},
|
|
1013
|
-
"disallowPattern": {
|
|
1014
|
-
"type": "string",
|
|
1015
|
-
"mutable": false,
|
|
1016
|
-
"complexType": {
|
|
1017
|
-
"original": "string",
|
|
1018
|
-
"resolved": "string",
|
|
1019
|
-
"references": {}
|
|
1020
|
-
},
|
|
1021
|
-
"required": false,
|
|
1022
|
-
"optional": false,
|
|
1023
|
-
"docs": {
|
|
1024
|
-
"tags": [],
|
|
1025
|
-
"text": "A regular expression that matches any characters which should be *disallowed*.\nThis differs from `pattern`, as it actively prevents users entering any characters which match the regular expression.\ne.g. the following will disallow any non-numeric characters `[^0-9]`"
|
|
1026
|
-
},
|
|
1027
|
-
"attribute": "disallow-pattern",
|
|
1028
|
-
"reflect": false,
|
|
1029
|
-
"defaultValue": "null"
|
|
1030
|
-
},
|
|
1031
|
-
"value": {
|
|
1032
|
-
"type": "string",
|
|
1033
|
-
"mutable": true,
|
|
1034
|
-
"complexType": {
|
|
1035
|
-
"original": "string",
|
|
1036
|
-
"resolved": "string",
|
|
1037
|
-
"references": {}
|
|
1038
|
-
},
|
|
1039
|
-
"required": false,
|
|
1040
|
-
"optional": false,
|
|
1041
|
-
"docs": {
|
|
1042
|
-
"tags": [],
|
|
1043
|
-
"text": "Value of the input."
|
|
1044
|
-
},
|
|
1045
|
-
"attribute": "value",
|
|
1046
|
-
"reflect": false
|
|
1047
|
-
},
|
|
1048
|
-
"tooltip": {
|
|
1049
|
-
"type": "string",
|
|
1050
|
-
"mutable": false,
|
|
1051
|
-
"complexType": {
|
|
1052
|
-
"original": "string",
|
|
1053
|
-
"resolved": "string",
|
|
1054
|
-
"references": {}
|
|
1055
|
-
},
|
|
1056
|
-
"required": false,
|
|
1057
|
-
"optional": false,
|
|
1058
|
-
"docs": {
|
|
1059
|
-
"tags": [],
|
|
1060
|
-
"text": "Tooltip to display next to the label of the input."
|
|
1061
|
-
},
|
|
1062
|
-
"attribute": "tooltip",
|
|
1063
|
-
"reflect": false,
|
|
1064
|
-
"defaultValue": "\"\""
|
|
1065
|
-
},
|
|
1066
|
-
"tooltipDirection": {
|
|
1067
|
-
"type": "string",
|
|
1068
|
-
"mutable": false,
|
|
1069
|
-
"complexType": {
|
|
1070
|
-
"original": "DuetTooltipDirection",
|
|
1071
|
-
"resolved": "\"auto\" | \"left\" | \"right\"",
|
|
1072
|
-
"references": {
|
|
1073
|
-
"DuetTooltipDirection": {
|
|
1074
|
-
"location": "import",
|
|
1075
|
-
"path": "../../common-types",
|
|
1076
|
-
"id": "src/common-types.d.ts::DuetTooltipDirection"
|
|
1077
|
-
}
|
|
1078
|
-
}
|
|
1079
|
-
},
|
|
1080
|
-
"required": false,
|
|
1081
|
-
"optional": false,
|
|
1082
|
-
"docs": {
|
|
1083
|
-
"tags": [],
|
|
1084
|
-
"text": "With direction setting you can force the tooltip to always open towards left\nor right instead of automatically determining the direction."
|
|
1085
|
-
},
|
|
1086
|
-
"attribute": "tooltip-direction",
|
|
1087
|
-
"reflect": false,
|
|
1088
|
-
"defaultValue": "\"auto\""
|
|
1089
|
-
}
|
|
1090
|
-
};
|
|
1091
|
-
}
|
|
1092
|
-
static get states() {
|
|
1093
|
-
return {
|
|
1094
|
-
"language": {},
|
|
1095
|
-
"isPasswordRevealed": {},
|
|
1096
|
-
"isFocused": {}
|
|
1097
|
-
};
|
|
1098
|
-
}
|
|
1099
|
-
static get events() {
|
|
1100
|
-
return [{
|
|
1101
|
-
"method": "duetInput",
|
|
1102
|
-
"name": "duetInput",
|
|
1103
|
-
"bubbles": true,
|
|
1104
|
-
"cancelable": true,
|
|
1105
|
-
"composed": true,
|
|
1106
|
-
"docs": {
|
|
1107
|
-
"tags": [],
|
|
1108
|
-
"text": "Emitted when a keyboard input ocurred."
|
|
1109
|
-
},
|
|
1110
|
-
"complexType": {
|
|
1111
|
-
"original": "DuetInputEvent",
|
|
1112
|
-
"resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
|
|
1113
|
-
"references": {
|
|
1114
|
-
"DuetInputEvent": {
|
|
1115
|
-
"location": "local",
|
|
1116
|
-
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-input/duet-input.tsx",
|
|
1117
|
-
"id": "src/components/duet-input/duet-input.tsx::DuetInputEvent"
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
267
|
+
/**
|
|
268
|
+
* render() function
|
|
269
|
+
* Always the last one in the class.
|
|
270
|
+
*/
|
|
271
|
+
render() {
|
|
272
|
+
if (Build.isServer) {
|
|
273
|
+
return;
|
|
1120
274
|
}
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
"cancelable": true,
|
|
1126
|
-
"composed": true,
|
|
1127
|
-
"docs": {
|
|
1128
|
-
"tags": [],
|
|
1129
|
-
"text": "Emitted when the value has changed."
|
|
1130
|
-
},
|
|
1131
|
-
"complexType": {
|
|
1132
|
-
"original": "DuetInputEvent",
|
|
1133
|
-
"resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
|
|
1134
|
-
"references": {
|
|
1135
|
-
"DuetInputEvent": {
|
|
1136
|
-
"location": "local",
|
|
1137
|
-
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-input/duet-input.tsx",
|
|
1138
|
-
"id": "src/components/duet-input/duet-input.tsx::DuetInputEvent"
|
|
1139
|
-
}
|
|
1140
|
-
}
|
|
275
|
+
const identifier = this.identifier || this.inputId;
|
|
276
|
+
const inputProps = {};
|
|
277
|
+
if (this.numericKeyboard) {
|
|
278
|
+
inputProps.inputmode = "numeric";
|
|
1141
279
|
}
|
|
1142
|
-
|
|
1143
|
-
"
|
|
1144
|
-
|
|
1145
|
-
"bubbles": true,
|
|
1146
|
-
"cancelable": true,
|
|
1147
|
-
"composed": true,
|
|
1148
|
-
"docs": {
|
|
1149
|
-
"tags": [],
|
|
1150
|
-
"text": "Emitted when the input loses focus."
|
|
1151
|
-
},
|
|
1152
|
-
"complexType": {
|
|
1153
|
-
"original": "DuetInputEvent",
|
|
1154
|
-
"resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
|
|
1155
|
-
"references": {
|
|
1156
|
-
"DuetInputEvent": {
|
|
1157
|
-
"location": "local",
|
|
1158
|
-
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-input/duet-input.tsx",
|
|
1159
|
-
"id": "src/components/duet-input/duet-input.tsx::DuetInputEvent"
|
|
1160
|
-
}
|
|
1161
|
-
}
|
|
280
|
+
// Set validation regexes
|
|
281
|
+
if (this.pattern && this.type !== "tel") {
|
|
282
|
+
inputProps.pattern = this.pattern;
|
|
1162
283
|
}
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
"name": "duetClear",
|
|
1166
|
-
"bubbles": true,
|
|
1167
|
-
"cancelable": true,
|
|
1168
|
-
"composed": true,
|
|
1169
|
-
"docs": {
|
|
1170
|
-
"tags": [],
|
|
1171
|
-
"text": "Emitted when the input is cleared."
|
|
1172
|
-
},
|
|
1173
|
-
"complexType": {
|
|
1174
|
-
"original": "DuetInputEvent",
|
|
1175
|
-
"resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
|
|
1176
|
-
"references": {
|
|
1177
|
-
"DuetInputEvent": {
|
|
1178
|
-
"location": "local",
|
|
1179
|
-
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-input/duet-input.tsx",
|
|
1180
|
-
"id": "src/components/duet-input/duet-input.tsx::DuetInputEvent"
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
284
|
+
else if (!this.pattern && this.type === "tel") {
|
|
285
|
+
inputProps.pattern = "[0-9+ ]+";
|
|
1183
286
|
}
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
"composed": true,
|
|
1190
|
-
"docs": {
|
|
1191
|
-
"tags": [],
|
|
1192
|
-
"text": "Emitted when the input has focus."
|
|
1193
|
-
},
|
|
1194
|
-
"complexType": {
|
|
1195
|
-
"original": "DuetInputEvent",
|
|
1196
|
-
"resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
|
|
1197
|
-
"references": {
|
|
1198
|
-
"DuetInputEvent": {
|
|
1199
|
-
"location": "local",
|
|
1200
|
-
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-input/duet-input.tsx",
|
|
1201
|
-
"id": "src/components/duet-input/duet-input.tsx::DuetInputEvent"
|
|
287
|
+
let selectedTime;
|
|
288
|
+
if (this.value) {
|
|
289
|
+
selectedTime = new Date();
|
|
290
|
+
try {
|
|
291
|
+
selectedTime.setHours(Number(this.value.slice(0, 2)), Number(this.value.slice(3, 5)), 0, 0);
|
|
1202
292
|
}
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
}];
|
|
1206
|
-
}
|
|
1207
|
-
static get methods() {
|
|
1208
|
-
return {
|
|
1209
|
-
"setFocus": {
|
|
1210
|
-
"complexType": {
|
|
1211
|
-
"signature": "(options?: FocusOptions) => Promise<void>",
|
|
1212
|
-
"parameters": [{
|
|
1213
|
-
"tags": [],
|
|
1214
|
-
"text": ""
|
|
1215
|
-
}],
|
|
1216
|
-
"references": {
|
|
1217
|
-
"Promise": {
|
|
1218
|
-
"location": "global",
|
|
1219
|
-
"id": "global::Promise"
|
|
1220
|
-
},
|
|
1221
|
-
"FocusOptions": {
|
|
1222
|
-
"location": "global",
|
|
1223
|
-
"id": "global::FocusOptions"
|
|
293
|
+
catch (e) {
|
|
294
|
+
selectedTime = undefined;
|
|
1224
295
|
}
|
|
1225
|
-
},
|
|
1226
|
-
"return": "Promise<void>"
|
|
1227
|
-
},
|
|
1228
|
-
"docs": {
|
|
1229
|
-
"text": "Sets focus on the specified `duet-input`. Use this method instead of the global\n`input.focus()`.",
|
|
1230
|
-
"tags": []
|
|
1231
296
|
}
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
297
|
+
const hasInputIcon = !this.icon &&
|
|
298
|
+
this.type !== "text" &&
|
|
299
|
+
this.type !== "tel" &&
|
|
300
|
+
this.type !== "password" &&
|
|
301
|
+
this.type !== "time" &&
|
|
302
|
+
this.variation !== "button";
|
|
303
|
+
return (h(Host, { class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (h("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), h("div", { class: {
|
|
304
|
+
"duet-input-container": true,
|
|
305
|
+
"duet-theme-turva": this.theme === "turva",
|
|
306
|
+
[`duet-input-variation-${this.variation}`]: true,
|
|
307
|
+
"duet-label-hidden": this.labelHidden,
|
|
308
|
+
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
309
|
+
"has-icon": this.variation !== "button" &&
|
|
310
|
+
(!!this.icon ||
|
|
311
|
+
(this.type !== "text" && this.type !== "tel" && this.type !== "password" && this.type !== "time")),
|
|
312
|
+
"has-error": !!this.error,
|
|
313
|
+
"has-clear": this.clear,
|
|
314
|
+
"has-focus": this.isFocused,
|
|
315
|
+
disabled: this.disabled,
|
|
316
|
+
} }, h("div", { class: "duet-input-label-container" }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip))), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), h("input", Object.assign({ ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
317
|
+
"duet-input": true,
|
|
318
|
+
disabled: this.disabled,
|
|
319
|
+
"is-number": this.component === "number",
|
|
320
|
+
"is-date": this.component === "date",
|
|
321
|
+
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { class: {
|
|
322
|
+
"duet-input-clear-icon": true,
|
|
323
|
+
"duet-input-clear-icon-single": !hasInputIcon,
|
|
324
|
+
"duet-input-clear-icon-double": !!this.icon,
|
|
325
|
+
"duet-input-clear-icon-button": this.variation === "button",
|
|
326
|
+
} }, h("button", { onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, h("duet-icon", { margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { name: "button" }), this.variation === "revealable" && (h("duet-button", { ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
327
|
+
? this.hidePasswordLabel[this.language]
|
|
328
|
+
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", null, h("span", { "aria-live": "polite" }, this.isPasswordRevealed
|
|
329
|
+
? this.passwordShownAriaAnnouncement[this.language]
|
|
330
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", null)), h("span", { class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { class: "duet-input-error" }, this.error)))));
|
|
331
|
+
}
|
|
332
|
+
static get is() { return "duet-input"; }
|
|
333
|
+
static get encapsulation() { return "scoped"; }
|
|
334
|
+
static get originalStyleUrls() {
|
|
335
|
+
return {
|
|
336
|
+
"$": ["duet-input.scss"]
|
|
337
|
+
};
|
|
338
|
+
}
|
|
339
|
+
static get styleUrls() {
|
|
340
|
+
return {
|
|
341
|
+
"$": ["duet-input.css"]
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
static get properties() {
|
|
345
|
+
return {
|
|
346
|
+
"accessibleActiveDescendant": {
|
|
347
|
+
"type": "string",
|
|
348
|
+
"mutable": false,
|
|
349
|
+
"complexType": {
|
|
350
|
+
"original": "string",
|
|
351
|
+
"resolved": "string",
|
|
352
|
+
"references": {}
|
|
353
|
+
},
|
|
354
|
+
"required": false,
|
|
355
|
+
"optional": false,
|
|
356
|
+
"docs": {
|
|
357
|
+
"tags": [],
|
|
358
|
+
"text": "Indicates the id of a related component\u2019s visually focused element."
|
|
359
|
+
},
|
|
360
|
+
"attribute": "accessible-active-descendant",
|
|
361
|
+
"reflect": false
|
|
362
|
+
},
|
|
363
|
+
"accessibleAutocomplete": {
|
|
364
|
+
"type": "string",
|
|
365
|
+
"mutable": false,
|
|
366
|
+
"complexType": {
|
|
367
|
+
"original": "string",
|
|
368
|
+
"resolved": "string",
|
|
369
|
+
"references": {}
|
|
370
|
+
},
|
|
371
|
+
"required": false,
|
|
372
|
+
"optional": false,
|
|
373
|
+
"docs": {
|
|
374
|
+
"tags": [],
|
|
375
|
+
"text": "Indicates what kind of user input completion suggestions are provided."
|
|
376
|
+
},
|
|
377
|
+
"attribute": "accessible-autocomplete",
|
|
378
|
+
"reflect": false
|
|
379
|
+
},
|
|
380
|
+
"accessibleControls": {
|
|
381
|
+
"type": "string",
|
|
382
|
+
"mutable": false,
|
|
383
|
+
"complexType": {
|
|
384
|
+
"original": "string",
|
|
385
|
+
"resolved": "string",
|
|
386
|
+
"references": {}
|
|
387
|
+
},
|
|
388
|
+
"required": false,
|
|
389
|
+
"optional": false,
|
|
390
|
+
"docs": {
|
|
391
|
+
"tags": [],
|
|
392
|
+
"text": "Use this prop to add an aria-controls attribute. Use the attribute to\nindicate the id of a component controlled by this component."
|
|
393
|
+
},
|
|
394
|
+
"attribute": "accessible-controls",
|
|
395
|
+
"reflect": false
|
|
396
|
+
},
|
|
397
|
+
"accessibleOwns": {
|
|
398
|
+
"type": "string",
|
|
399
|
+
"mutable": false,
|
|
400
|
+
"complexType": {
|
|
401
|
+
"original": "string",
|
|
402
|
+
"resolved": "string",
|
|
403
|
+
"references": {}
|
|
404
|
+
},
|
|
405
|
+
"required": false,
|
|
406
|
+
"optional": false,
|
|
407
|
+
"docs": {
|
|
408
|
+
"tags": [],
|
|
409
|
+
"text": "Indicates the id of a component owned by the input."
|
|
410
|
+
},
|
|
411
|
+
"attribute": "accessible-owns",
|
|
412
|
+
"reflect": false
|
|
413
|
+
},
|
|
414
|
+
"accessibleExpanded": {
|
|
415
|
+
"type": "string",
|
|
416
|
+
"mutable": false,
|
|
417
|
+
"complexType": {
|
|
418
|
+
"original": "string",
|
|
419
|
+
"resolved": "string",
|
|
420
|
+
"references": {}
|
|
421
|
+
},
|
|
422
|
+
"required": false,
|
|
423
|
+
"optional": false,
|
|
424
|
+
"docs": {
|
|
425
|
+
"tags": [],
|
|
426
|
+
"text": "Expanded state of the element, if needed"
|
|
427
|
+
},
|
|
428
|
+
"attribute": "accessible-expanded",
|
|
429
|
+
"reflect": false
|
|
430
|
+
},
|
|
431
|
+
"accessibleDescribedBy": {
|
|
432
|
+
"type": "string",
|
|
433
|
+
"mutable": false,
|
|
434
|
+
"complexType": {
|
|
435
|
+
"original": "string",
|
|
436
|
+
"resolved": "string",
|
|
437
|
+
"references": {}
|
|
438
|
+
},
|
|
439
|
+
"required": false,
|
|
440
|
+
"optional": false,
|
|
441
|
+
"docs": {
|
|
442
|
+
"tags": [],
|
|
443
|
+
"text": "Indicates the id or a string of space seperated ids of a component(s) that describes the input."
|
|
444
|
+
},
|
|
445
|
+
"attribute": "accessible-described-by",
|
|
446
|
+
"reflect": false,
|
|
447
|
+
"defaultValue": "\"\""
|
|
448
|
+
},
|
|
449
|
+
"accessibleHasPopup": {
|
|
450
|
+
"type": "string",
|
|
451
|
+
"mutable": false,
|
|
452
|
+
"complexType": {
|
|
453
|
+
"original": "string",
|
|
454
|
+
"resolved": "string",
|
|
455
|
+
"references": {}
|
|
456
|
+
},
|
|
457
|
+
"required": false,
|
|
458
|
+
"optional": false,
|
|
459
|
+
"docs": {
|
|
460
|
+
"tags": [],
|
|
461
|
+
"text": "Indicates value of any popup element associated with the input."
|
|
462
|
+
},
|
|
463
|
+
"attribute": "accessible-has-popup",
|
|
464
|
+
"reflect": false,
|
|
465
|
+
"defaultValue": "undefined"
|
|
466
|
+
},
|
|
467
|
+
"accessibleDetails": {
|
|
468
|
+
"type": "string",
|
|
469
|
+
"mutable": false,
|
|
470
|
+
"complexType": {
|
|
471
|
+
"original": "string",
|
|
472
|
+
"resolved": "string",
|
|
473
|
+
"references": {}
|
|
474
|
+
},
|
|
475
|
+
"required": false,
|
|
476
|
+
"optional": false,
|
|
477
|
+
"docs": {
|
|
478
|
+
"tags": [],
|
|
479
|
+
"text": "Aria Details of the component"
|
|
480
|
+
},
|
|
481
|
+
"attribute": "accessible-details",
|
|
482
|
+
"reflect": false,
|
|
483
|
+
"defaultValue": "undefined"
|
|
484
|
+
},
|
|
485
|
+
"accessibleLabelledBy": {
|
|
486
|
+
"type": "string",
|
|
487
|
+
"mutable": false,
|
|
488
|
+
"complexType": {
|
|
489
|
+
"original": "string",
|
|
490
|
+
"resolved": "string",
|
|
491
|
+
"references": {}
|
|
492
|
+
},
|
|
493
|
+
"required": false,
|
|
494
|
+
"optional": false,
|
|
495
|
+
"docs": {
|
|
496
|
+
"tags": [],
|
|
497
|
+
"text": "String of id's that indicate alternative labels elements"
|
|
498
|
+
},
|
|
499
|
+
"attribute": "accessible-labelled-by",
|
|
500
|
+
"reflect": false,
|
|
501
|
+
"defaultValue": "undefined"
|
|
502
|
+
},
|
|
503
|
+
"accessibleDescription": {
|
|
504
|
+
"type": "string",
|
|
505
|
+
"mutable": false,
|
|
506
|
+
"complexType": {
|
|
507
|
+
"original": "string",
|
|
508
|
+
"resolved": "string",
|
|
509
|
+
"references": {}
|
|
510
|
+
},
|
|
511
|
+
"required": false,
|
|
512
|
+
"optional": false,
|
|
513
|
+
"docs": {
|
|
514
|
+
"tags": [],
|
|
515
|
+
"text": "Aria description the button"
|
|
516
|
+
},
|
|
517
|
+
"attribute": "accessible-description",
|
|
518
|
+
"reflect": false,
|
|
519
|
+
"defaultValue": "undefined"
|
|
520
|
+
},
|
|
521
|
+
"accessibleLiveError": {
|
|
522
|
+
"type": "string",
|
|
523
|
+
"mutable": false,
|
|
524
|
+
"complexType": {
|
|
525
|
+
"original": "\"off\" | \"polite\" | \"assertive\"",
|
|
526
|
+
"resolved": "\"assertive\" | \"off\" | \"polite\"",
|
|
527
|
+
"references": {}
|
|
528
|
+
},
|
|
529
|
+
"required": false,
|
|
530
|
+
"optional": false,
|
|
531
|
+
"docs": {
|
|
532
|
+
"tags": [],
|
|
533
|
+
"text": "The aria-live attribute for the error message. When the input is validated on blur, use \"off\", as using \"polite\" or \"assertive\"\nmakes the screen reader read the error message twice. When the input is validated on submit, use \"polite\", as \"off\" would leave\nthe messages unread by screen readers. Use \"assertive\" only in those rare cases when \"polite\" would leave the error message\nunread by screen readers."
|
|
534
|
+
},
|
|
535
|
+
"attribute": "accessible-live-error",
|
|
536
|
+
"reflect": false,
|
|
537
|
+
"defaultValue": "\"polite\""
|
|
538
|
+
},
|
|
539
|
+
"debounce": {
|
|
540
|
+
"type": "number",
|
|
541
|
+
"mutable": false,
|
|
542
|
+
"complexType": {
|
|
543
|
+
"original": "number",
|
|
544
|
+
"resolved": "number",
|
|
545
|
+
"references": {}
|
|
546
|
+
},
|
|
547
|
+
"required": false,
|
|
548
|
+
"optional": false,
|
|
549
|
+
"docs": {
|
|
550
|
+
"tags": [],
|
|
551
|
+
"text": "Set the amount of time, in milliseconds, to wait to trigger the duetChange\nevent after each keystroke."
|
|
552
|
+
},
|
|
553
|
+
"attribute": "debounce",
|
|
554
|
+
"reflect": false,
|
|
555
|
+
"defaultValue": "0"
|
|
556
|
+
},
|
|
557
|
+
"clear": {
|
|
558
|
+
"type": "boolean",
|
|
559
|
+
"mutable": false,
|
|
560
|
+
"complexType": {
|
|
561
|
+
"original": "boolean",
|
|
562
|
+
"resolved": "boolean",
|
|
563
|
+
"references": {}
|
|
564
|
+
},
|
|
565
|
+
"required": false,
|
|
566
|
+
"optional": false,
|
|
567
|
+
"docs": {
|
|
568
|
+
"tags": [],
|
|
569
|
+
"text": "If set, the input field will display a clear button that can be accessed with tabbing."
|
|
570
|
+
},
|
|
571
|
+
"attribute": "clear",
|
|
572
|
+
"reflect": false,
|
|
573
|
+
"defaultValue": "false"
|
|
574
|
+
},
|
|
575
|
+
"caption": {
|
|
576
|
+
"type": "string",
|
|
577
|
+
"mutable": false,
|
|
578
|
+
"complexType": {
|
|
579
|
+
"original": "string",
|
|
580
|
+
"resolved": "string",
|
|
581
|
+
"references": {}
|
|
582
|
+
},
|
|
583
|
+
"required": false,
|
|
584
|
+
"optional": false,
|
|
585
|
+
"docs": {
|
|
586
|
+
"tags": [],
|
|
587
|
+
"text": "Caption (underneath label) that can be set as a way of adding extra information"
|
|
588
|
+
},
|
|
589
|
+
"attribute": "caption",
|
|
590
|
+
"reflect": false
|
|
591
|
+
},
|
|
592
|
+
"echoPlaceholder": {
|
|
593
|
+
"type": "boolean",
|
|
594
|
+
"mutable": false,
|
|
595
|
+
"complexType": {
|
|
596
|
+
"original": "boolean",
|
|
597
|
+
"resolved": "boolean",
|
|
598
|
+
"references": {}
|
|
599
|
+
},
|
|
600
|
+
"required": false,
|
|
601
|
+
"optional": false,
|
|
602
|
+
"docs": {
|
|
603
|
+
"tags": [],
|
|
604
|
+
"text": "If form input field has a placeholder text, and user types anything (causing the placeholder text to disappear),\nsettings this to true will \"echo\" it into the caption slot - this option will be false by default for the next few versions, but will eventually be true by default (scheduled for 4.30.0)"
|
|
605
|
+
},
|
|
606
|
+
"attribute": "echo-placeholder",
|
|
607
|
+
"reflect": false,
|
|
608
|
+
"defaultValue": "false"
|
|
609
|
+
},
|
|
610
|
+
"theme": {
|
|
611
|
+
"type": "string",
|
|
612
|
+
"mutable": true,
|
|
613
|
+
"complexType": {
|
|
614
|
+
"original": "DuetTheme",
|
|
615
|
+
"resolved": "\"\" | \"default\" | \"turva\"",
|
|
616
|
+
"references": {
|
|
617
|
+
"DuetTheme": {
|
|
618
|
+
"location": "import",
|
|
619
|
+
"path": "../../common-types",
|
|
620
|
+
"id": "src/common-types.d.ts::DuetTheme"
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
},
|
|
624
|
+
"required": false,
|
|
625
|
+
"optional": false,
|
|
626
|
+
"docs": {
|
|
627
|
+
"tags": [],
|
|
628
|
+
"text": "Theme of the input."
|
|
629
|
+
},
|
|
630
|
+
"attribute": "theme",
|
|
631
|
+
"reflect": false,
|
|
632
|
+
"defaultValue": "\"\""
|
|
633
|
+
},
|
|
634
|
+
"expand": {
|
|
635
|
+
"type": "boolean",
|
|
636
|
+
"mutable": false,
|
|
637
|
+
"complexType": {
|
|
638
|
+
"original": "boolean",
|
|
639
|
+
"resolved": "boolean",
|
|
640
|
+
"references": {}
|
|
641
|
+
},
|
|
642
|
+
"required": false,
|
|
643
|
+
"optional": false,
|
|
644
|
+
"docs": {
|
|
645
|
+
"tags": [],
|
|
646
|
+
"text": "Expands the input to fill 100% of the container width."
|
|
647
|
+
},
|
|
648
|
+
"attribute": "expand",
|
|
649
|
+
"reflect": false,
|
|
650
|
+
"defaultValue": "false"
|
|
651
|
+
},
|
|
652
|
+
"disabled": {
|
|
653
|
+
"type": "boolean",
|
|
654
|
+
"mutable": false,
|
|
655
|
+
"complexType": {
|
|
656
|
+
"original": "boolean",
|
|
657
|
+
"resolved": "boolean",
|
|
658
|
+
"references": {}
|
|
659
|
+
},
|
|
660
|
+
"required": false,
|
|
661
|
+
"optional": false,
|
|
662
|
+
"docs": {
|
|
663
|
+
"tags": [],
|
|
664
|
+
"text": "Makes the input component disabled. This prevents users from being able to\ninteract with the input, and conveys its inactive state to assistive technologies."
|
|
665
|
+
},
|
|
666
|
+
"attribute": "disabled",
|
|
667
|
+
"reflect": true,
|
|
668
|
+
"defaultValue": "false"
|
|
669
|
+
},
|
|
670
|
+
"identifier": {
|
|
671
|
+
"type": "string",
|
|
672
|
+
"mutable": false,
|
|
673
|
+
"complexType": {
|
|
674
|
+
"original": "string",
|
|
675
|
+
"resolved": "string",
|
|
676
|
+
"references": {}
|
|
677
|
+
},
|
|
678
|
+
"required": false,
|
|
679
|
+
"optional": false,
|
|
680
|
+
"docs": {
|
|
681
|
+
"tags": [],
|
|
682
|
+
"text": "Adds a unique identifier for the input."
|
|
683
|
+
},
|
|
684
|
+
"attribute": "identifier",
|
|
685
|
+
"reflect": false
|
|
686
|
+
},
|
|
687
|
+
"margin": {
|
|
688
|
+
"type": "string",
|
|
689
|
+
"mutable": false,
|
|
690
|
+
"complexType": {
|
|
691
|
+
"original": "DuetMargin",
|
|
692
|
+
"resolved": "\"auto\" | \"none\"",
|
|
693
|
+
"references": {
|
|
694
|
+
"DuetMargin": {
|
|
695
|
+
"location": "import",
|
|
696
|
+
"path": "../../common-types",
|
|
697
|
+
"id": "src/common-types.d.ts::DuetMargin"
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
"required": false,
|
|
702
|
+
"optional": false,
|
|
703
|
+
"docs": {
|
|
704
|
+
"tags": [],
|
|
705
|
+
"text": "Controls the margin of the component."
|
|
706
|
+
},
|
|
707
|
+
"attribute": "margin",
|
|
708
|
+
"reflect": false,
|
|
709
|
+
"defaultValue": "\"auto\""
|
|
710
|
+
},
|
|
711
|
+
"required": {
|
|
712
|
+
"type": "boolean",
|
|
713
|
+
"mutable": false,
|
|
714
|
+
"complexType": {
|
|
715
|
+
"original": "boolean",
|
|
716
|
+
"resolved": "boolean",
|
|
717
|
+
"references": {}
|
|
718
|
+
},
|
|
719
|
+
"required": false,
|
|
720
|
+
"optional": false,
|
|
721
|
+
"docs": {
|
|
722
|
+
"tags": [],
|
|
723
|
+
"text": "Set whether the input is required or not. Please note that this is necessary for\naccessible inputs when the user is required to fill them. When using this property\nyou need to also set \u201Cnovalidate\u201D attribute to your form element to prevent\nbrowser from displaying its own validation errors."
|
|
724
|
+
},
|
|
725
|
+
"attribute": "required",
|
|
726
|
+
"reflect": false,
|
|
727
|
+
"defaultValue": "false"
|
|
728
|
+
},
|
|
729
|
+
"type": {
|
|
730
|
+
"type": "string",
|
|
731
|
+
"mutable": false,
|
|
732
|
+
"complexType": {
|
|
733
|
+
"original": "DuetInputType",
|
|
734
|
+
"resolved": "\"email\" | \"password\" | \"search\" | \"tel\" | \"text\" | \"time\"",
|
|
735
|
+
"references": {
|
|
736
|
+
"DuetInputType": {
|
|
737
|
+
"location": "local",
|
|
738
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-input/duet-input.tsx",
|
|
739
|
+
"id": "src/components/duet-input/duet-input.tsx::DuetInputType"
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
"required": false,
|
|
744
|
+
"optional": false,
|
|
745
|
+
"docs": {
|
|
746
|
+
"tags": [],
|
|
747
|
+
"text": "Type of the input."
|
|
748
|
+
},
|
|
749
|
+
"attribute": "type",
|
|
750
|
+
"reflect": false,
|
|
751
|
+
"defaultValue": "\"text\""
|
|
752
|
+
},
|
|
753
|
+
"variation": {
|
|
754
|
+
"type": "string",
|
|
755
|
+
"mutable": false,
|
|
756
|
+
"complexType": {
|
|
757
|
+
"original": "DuetVariationType",
|
|
758
|
+
"resolved": "\"button\" | \"default\" | \"revealable\"",
|
|
759
|
+
"references": {
|
|
760
|
+
"DuetVariationType": {
|
|
761
|
+
"location": "local",
|
|
762
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-input/duet-input.tsx",
|
|
763
|
+
"id": "src/components/duet-input/duet-input.tsx::DuetVariationType"
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
"required": false,
|
|
768
|
+
"optional": false,
|
|
769
|
+
"docs": {
|
|
770
|
+
"tags": [],
|
|
771
|
+
"text": "Variation of button. Use \"button\" to render a button element next to the input. Use \"revealable\" to render a button that reveals the password."
|
|
772
|
+
},
|
|
773
|
+
"attribute": "variation",
|
|
774
|
+
"reflect": false,
|
|
775
|
+
"defaultValue": "\"default\""
|
|
776
|
+
},
|
|
777
|
+
"label": {
|
|
778
|
+
"type": "string",
|
|
779
|
+
"mutable": true,
|
|
780
|
+
"complexType": {
|
|
781
|
+
"original": "string",
|
|
782
|
+
"resolved": "string",
|
|
783
|
+
"references": {}
|
|
784
|
+
},
|
|
785
|
+
"required": false,
|
|
786
|
+
"optional": false,
|
|
787
|
+
"docs": {
|
|
788
|
+
"tags": [],
|
|
789
|
+
"text": "Label for the input."
|
|
790
|
+
},
|
|
791
|
+
"attribute": "label",
|
|
792
|
+
"reflect": false,
|
|
793
|
+
"defaultValue": "\"Label\""
|
|
794
|
+
},
|
|
795
|
+
"error": {
|
|
796
|
+
"type": "string",
|
|
797
|
+
"mutable": false,
|
|
798
|
+
"complexType": {
|
|
799
|
+
"original": "string",
|
|
800
|
+
"resolved": "string",
|
|
801
|
+
"references": {}
|
|
802
|
+
},
|
|
803
|
+
"required": false,
|
|
804
|
+
"optional": false,
|
|
805
|
+
"docs": {
|
|
806
|
+
"tags": [],
|
|
807
|
+
"text": "Display the input in error state along with an error message."
|
|
808
|
+
},
|
|
809
|
+
"attribute": "error",
|
|
810
|
+
"reflect": false,
|
|
811
|
+
"defaultValue": "\"\""
|
|
812
|
+
},
|
|
813
|
+
"labelHidden": {
|
|
814
|
+
"type": "boolean",
|
|
815
|
+
"mutable": false,
|
|
816
|
+
"complexType": {
|
|
817
|
+
"original": "boolean",
|
|
818
|
+
"resolved": "boolean",
|
|
819
|
+
"references": {}
|
|
820
|
+
},
|
|
821
|
+
"required": false,
|
|
822
|
+
"optional": false,
|
|
823
|
+
"docs": {
|
|
824
|
+
"tags": [],
|
|
825
|
+
"text": "Visually hide the label, but still show it to screen readers."
|
|
826
|
+
},
|
|
827
|
+
"attribute": "label-hidden",
|
|
828
|
+
"reflect": false,
|
|
829
|
+
"defaultValue": "false"
|
|
830
|
+
},
|
|
831
|
+
"numericKeyboard": {
|
|
832
|
+
"type": "boolean",
|
|
833
|
+
"mutable": false,
|
|
834
|
+
"complexType": {
|
|
835
|
+
"original": "boolean",
|
|
836
|
+
"resolved": "boolean",
|
|
837
|
+
"references": {}
|
|
838
|
+
},
|
|
839
|
+
"required": false,
|
|
840
|
+
"optional": false,
|
|
841
|
+
"docs": {
|
|
842
|
+
"tags": [],
|
|
843
|
+
"text": "Enable numeric keyboard for the input."
|
|
844
|
+
},
|
|
845
|
+
"attribute": "numeric-keyboard",
|
|
846
|
+
"reflect": false,
|
|
847
|
+
"defaultValue": "false"
|
|
848
|
+
},
|
|
849
|
+
"name": {
|
|
850
|
+
"type": "string",
|
|
851
|
+
"mutable": false,
|
|
852
|
+
"complexType": {
|
|
853
|
+
"original": "string",
|
|
854
|
+
"resolved": "string",
|
|
855
|
+
"references": {}
|
|
856
|
+
},
|
|
857
|
+
"required": false,
|
|
858
|
+
"optional": false,
|
|
859
|
+
"docs": {
|
|
860
|
+
"tags": [],
|
|
861
|
+
"text": "Name of the input."
|
|
862
|
+
},
|
|
863
|
+
"attribute": "name",
|
|
864
|
+
"reflect": false
|
|
865
|
+
},
|
|
866
|
+
"pattern": {
|
|
867
|
+
"type": "string",
|
|
868
|
+
"mutable": false,
|
|
869
|
+
"complexType": {
|
|
870
|
+
"original": "string",
|
|
871
|
+
"resolved": "string",
|
|
872
|
+
"references": {}
|
|
873
|
+
},
|
|
874
|
+
"required": false,
|
|
875
|
+
"optional": false,
|
|
876
|
+
"docs": {
|
|
877
|
+
"tags": [],
|
|
878
|
+
"text": "A regular expression to check the value against. Please note that this\nuses native HTML5 pattern validation."
|
|
879
|
+
},
|
|
880
|
+
"attribute": "pattern",
|
|
881
|
+
"reflect": false
|
|
882
|
+
},
|
|
883
|
+
"maxlength": {
|
|
884
|
+
"type": "number",
|
|
885
|
+
"mutable": false,
|
|
886
|
+
"complexType": {
|
|
887
|
+
"original": "number",
|
|
888
|
+
"resolved": "number",
|
|
889
|
+
"references": {}
|
|
890
|
+
},
|
|
891
|
+
"required": false,
|
|
892
|
+
"optional": false,
|
|
893
|
+
"docs": {
|
|
894
|
+
"tags": [],
|
|
895
|
+
"text": "Use maxlength to specify the maximum length of the value that can be entered.\nPlease note that this uses native HTML5 pattern validation."
|
|
896
|
+
},
|
|
897
|
+
"attribute": "maxlength",
|
|
898
|
+
"reflect": false
|
|
899
|
+
},
|
|
900
|
+
"minlength": {
|
|
901
|
+
"type": "number",
|
|
902
|
+
"mutable": false,
|
|
903
|
+
"complexType": {
|
|
904
|
+
"original": "number",
|
|
905
|
+
"resolved": "number",
|
|
906
|
+
"references": {}
|
|
907
|
+
},
|
|
908
|
+
"required": false,
|
|
909
|
+
"optional": false,
|
|
910
|
+
"docs": {
|
|
911
|
+
"tags": [],
|
|
912
|
+
"text": "Use minlength to specify the minimum length of the value that can be entered.\nPlease note that this uses native HTML5 pattern validation."
|
|
913
|
+
},
|
|
914
|
+
"attribute": "minlength",
|
|
915
|
+
"reflect": false
|
|
916
|
+
},
|
|
917
|
+
"placeholder": {
|
|
918
|
+
"type": "string",
|
|
919
|
+
"mutable": false,
|
|
920
|
+
"complexType": {
|
|
921
|
+
"original": "string",
|
|
922
|
+
"resolved": "string",
|
|
923
|
+
"references": {}
|
|
924
|
+
},
|
|
925
|
+
"required": false,
|
|
926
|
+
"optional": false,
|
|
927
|
+
"docs": {
|
|
928
|
+
"tags": [],
|
|
929
|
+
"text": "Hint text to display."
|
|
930
|
+
},
|
|
931
|
+
"attribute": "placeholder",
|
|
932
|
+
"reflect": false
|
|
933
|
+
},
|
|
934
|
+
"component": {
|
|
935
|
+
"type": "string",
|
|
936
|
+
"mutable": false,
|
|
937
|
+
"complexType": {
|
|
938
|
+
"original": "DuetInputComponentType",
|
|
939
|
+
"resolved": "\"date\" | \"input\" | \"number\"",
|
|
940
|
+
"references": {
|
|
941
|
+
"DuetInputComponentType": {
|
|
942
|
+
"location": "local",
|
|
943
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-input/duet-input.tsx",
|
|
944
|
+
"id": "src/components/duet-input/duet-input.tsx::DuetInputComponentType"
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
},
|
|
948
|
+
"required": false,
|
|
949
|
+
"optional": false,
|
|
950
|
+
"docs": {
|
|
951
|
+
"tags": [],
|
|
952
|
+
"text": "Used internally in Duet to adjust whether this component acts as e.g. number input."
|
|
953
|
+
},
|
|
954
|
+
"attribute": "component",
|
|
955
|
+
"reflect": false,
|
|
956
|
+
"defaultValue": "\"input\""
|
|
957
|
+
},
|
|
958
|
+
"role": {
|
|
959
|
+
"type": "string",
|
|
960
|
+
"mutable": false,
|
|
961
|
+
"complexType": {
|
|
962
|
+
"original": "string | null",
|
|
963
|
+
"resolved": "string",
|
|
964
|
+
"references": {}
|
|
965
|
+
},
|
|
966
|
+
"required": false,
|
|
967
|
+
"optional": false,
|
|
968
|
+
"docs": {
|
|
969
|
+
"tags": [],
|
|
970
|
+
"text": "Defines a specific role attribute for the input."
|
|
971
|
+
},
|
|
972
|
+
"attribute": "role",
|
|
973
|
+
"reflect": false
|
|
974
|
+
},
|
|
975
|
+
"icon": {
|
|
976
|
+
"type": "string",
|
|
977
|
+
"mutable": false,
|
|
978
|
+
"complexType": {
|
|
979
|
+
"original": "DuetIconName",
|
|
980
|
+
"resolved": "string",
|
|
981
|
+
"references": {
|
|
982
|
+
"DuetIconName": {
|
|
983
|
+
"location": "import",
|
|
984
|
+
"path": "../../common-types",
|
|
985
|
+
"id": "src/common-types.d.ts::DuetIconName"
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
},
|
|
989
|
+
"required": false,
|
|
990
|
+
"optional": false,
|
|
991
|
+
"docs": {
|
|
992
|
+
"tags": [],
|
|
993
|
+
"text": "Icon to display on the right side (from Duet\u2019s icons). Example: \"form-location\""
|
|
994
|
+
},
|
|
995
|
+
"attribute": "icon",
|
|
996
|
+
"reflect": false
|
|
997
|
+
},
|
|
998
|
+
"autoComplete": {
|
|
999
|
+
"type": "string",
|
|
1000
|
+
"mutable": false,
|
|
1001
|
+
"complexType": {
|
|
1002
|
+
"original": "string",
|
|
1003
|
+
"resolved": "string",
|
|
1004
|
+
"references": {}
|
|
1005
|
+
},
|
|
1006
|
+
"required": false,
|
|
1007
|
+
"optional": false,
|
|
1008
|
+
"docs": {
|
|
1009
|
+
"tags": [],
|
|
1010
|
+
"text": "Enable or disable automatic completion by the browser"
|
|
1011
|
+
},
|
|
1012
|
+
"attribute": "auto-complete",
|
|
1013
|
+
"reflect": false,
|
|
1014
|
+
"defaultValue": "\"on\""
|
|
1015
|
+
},
|
|
1016
|
+
"disallowPattern": {
|
|
1017
|
+
"type": "string",
|
|
1018
|
+
"mutable": false,
|
|
1019
|
+
"complexType": {
|
|
1020
|
+
"original": "string",
|
|
1021
|
+
"resolved": "string",
|
|
1022
|
+
"references": {}
|
|
1023
|
+
},
|
|
1024
|
+
"required": false,
|
|
1025
|
+
"optional": false,
|
|
1026
|
+
"docs": {
|
|
1027
|
+
"tags": [],
|
|
1028
|
+
"text": "A regular expression that matches any characters which should be *disallowed*.\nThis differs from `pattern`, as it actively prevents users entering any characters which match the regular expression.\ne.g. the following will disallow any non-numeric characters `[^0-9]`"
|
|
1029
|
+
},
|
|
1030
|
+
"attribute": "disallow-pattern",
|
|
1031
|
+
"reflect": false,
|
|
1032
|
+
"defaultValue": "null"
|
|
1033
|
+
},
|
|
1034
|
+
"value": {
|
|
1035
|
+
"type": "string",
|
|
1036
|
+
"mutable": true,
|
|
1037
|
+
"complexType": {
|
|
1038
|
+
"original": "string",
|
|
1039
|
+
"resolved": "string",
|
|
1040
|
+
"references": {}
|
|
1041
|
+
},
|
|
1042
|
+
"required": false,
|
|
1043
|
+
"optional": false,
|
|
1044
|
+
"docs": {
|
|
1045
|
+
"tags": [],
|
|
1046
|
+
"text": "Value of the input."
|
|
1047
|
+
},
|
|
1048
|
+
"attribute": "value",
|
|
1049
|
+
"reflect": false
|
|
1050
|
+
},
|
|
1051
|
+
"tooltip": {
|
|
1052
|
+
"type": "string",
|
|
1053
|
+
"mutable": false,
|
|
1054
|
+
"complexType": {
|
|
1055
|
+
"original": "string",
|
|
1056
|
+
"resolved": "string",
|
|
1057
|
+
"references": {}
|
|
1058
|
+
},
|
|
1059
|
+
"required": false,
|
|
1060
|
+
"optional": false,
|
|
1061
|
+
"docs": {
|
|
1062
|
+
"tags": [],
|
|
1063
|
+
"text": "Tooltip to display next to the label of the input."
|
|
1064
|
+
},
|
|
1065
|
+
"attribute": "tooltip",
|
|
1066
|
+
"reflect": false,
|
|
1067
|
+
"defaultValue": "\"\""
|
|
1068
|
+
},
|
|
1069
|
+
"tooltipDirection": {
|
|
1070
|
+
"type": "string",
|
|
1071
|
+
"mutable": false,
|
|
1072
|
+
"complexType": {
|
|
1073
|
+
"original": "DuetTooltipDirection",
|
|
1074
|
+
"resolved": "\"auto\" | \"left\" | \"right\"",
|
|
1075
|
+
"references": {
|
|
1076
|
+
"DuetTooltipDirection": {
|
|
1077
|
+
"location": "import",
|
|
1078
|
+
"path": "../../common-types",
|
|
1079
|
+
"id": "src/common-types.d.ts::DuetTooltipDirection"
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
},
|
|
1083
|
+
"required": false,
|
|
1084
|
+
"optional": false,
|
|
1085
|
+
"docs": {
|
|
1086
|
+
"tags": [],
|
|
1087
|
+
"text": "With direction setting you can force the tooltip to always open towards left\nor right instead of automatically determining the direction."
|
|
1088
|
+
},
|
|
1089
|
+
"attribute": "tooltip-direction",
|
|
1090
|
+
"reflect": false,
|
|
1091
|
+
"defaultValue": "\"auto\""
|
|
1241
1092
|
}
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1093
|
+
};
|
|
1094
|
+
}
|
|
1095
|
+
static get states() {
|
|
1096
|
+
return {
|
|
1097
|
+
"language": {},
|
|
1098
|
+
"isPasswordRevealed": {},
|
|
1099
|
+
"isFocused": {}
|
|
1100
|
+
};
|
|
1101
|
+
}
|
|
1102
|
+
static get events() {
|
|
1103
|
+
return [{
|
|
1104
|
+
"method": "duetInput",
|
|
1105
|
+
"name": "duetInput",
|
|
1106
|
+
"bubbles": true,
|
|
1107
|
+
"cancelable": true,
|
|
1108
|
+
"composed": true,
|
|
1109
|
+
"docs": {
|
|
1110
|
+
"tags": [],
|
|
1111
|
+
"text": "Emitted when a keyboard input ocurred."
|
|
1112
|
+
},
|
|
1113
|
+
"complexType": {
|
|
1114
|
+
"original": "DuetInputEvent",
|
|
1115
|
+
"resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
|
|
1116
|
+
"references": {
|
|
1117
|
+
"DuetInputEvent": {
|
|
1118
|
+
"location": "local",
|
|
1119
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-input/duet-input.tsx",
|
|
1120
|
+
"id": "src/components/duet-input/duet-input.tsx::DuetInputEvent"
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
}, {
|
|
1125
|
+
"method": "duetChange",
|
|
1126
|
+
"name": "duetChange",
|
|
1127
|
+
"bubbles": false,
|
|
1128
|
+
"cancelable": true,
|
|
1129
|
+
"composed": true,
|
|
1130
|
+
"docs": {
|
|
1131
|
+
"tags": [],
|
|
1132
|
+
"text": "Emitted when the value has changed."
|
|
1133
|
+
},
|
|
1134
|
+
"complexType": {
|
|
1135
|
+
"original": "DuetInputEvent",
|
|
1136
|
+
"resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
|
|
1137
|
+
"references": {
|
|
1138
|
+
"DuetInputEvent": {
|
|
1139
|
+
"location": "local",
|
|
1140
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-input/duet-input.tsx",
|
|
1141
|
+
"id": "src/components/duet-input/duet-input.tsx::DuetInputEvent"
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
}, {
|
|
1146
|
+
"method": "duetBlur",
|
|
1147
|
+
"name": "duetBlur",
|
|
1148
|
+
"bubbles": true,
|
|
1149
|
+
"cancelable": true,
|
|
1150
|
+
"composed": true,
|
|
1151
|
+
"docs": {
|
|
1152
|
+
"tags": [],
|
|
1153
|
+
"text": "Emitted when the input loses focus."
|
|
1154
|
+
},
|
|
1155
|
+
"complexType": {
|
|
1156
|
+
"original": "DuetInputEvent",
|
|
1157
|
+
"resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
|
|
1158
|
+
"references": {
|
|
1159
|
+
"DuetInputEvent": {
|
|
1160
|
+
"location": "local",
|
|
1161
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-input/duet-input.tsx",
|
|
1162
|
+
"id": "src/components/duet-input/duet-input.tsx::DuetInputEvent"
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
}, {
|
|
1167
|
+
"method": "duetClear",
|
|
1168
|
+
"name": "duetClear",
|
|
1169
|
+
"bubbles": true,
|
|
1170
|
+
"cancelable": true,
|
|
1171
|
+
"composed": true,
|
|
1172
|
+
"docs": {
|
|
1173
|
+
"tags": [],
|
|
1174
|
+
"text": "Emitted when the input is cleared."
|
|
1175
|
+
},
|
|
1176
|
+
"complexType": {
|
|
1177
|
+
"original": "DuetInputEvent",
|
|
1178
|
+
"resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
|
|
1179
|
+
"references": {
|
|
1180
|
+
"DuetInputEvent": {
|
|
1181
|
+
"location": "local",
|
|
1182
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-input/duet-input.tsx",
|
|
1183
|
+
"id": "src/components/duet-input/duet-input.tsx::DuetInputEvent"
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
}, {
|
|
1188
|
+
"method": "duetFocus",
|
|
1189
|
+
"name": "duetFocus",
|
|
1190
|
+
"bubbles": true,
|
|
1191
|
+
"cancelable": true,
|
|
1192
|
+
"composed": true,
|
|
1193
|
+
"docs": {
|
|
1194
|
+
"tags": [],
|
|
1195
|
+
"text": "Emitted when the input has focus."
|
|
1196
|
+
},
|
|
1197
|
+
"complexType": {
|
|
1198
|
+
"original": "DuetInputEvent",
|
|
1199
|
+
"resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
|
|
1200
|
+
"references": {
|
|
1201
|
+
"DuetInputEvent": {
|
|
1202
|
+
"location": "local",
|
|
1203
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-input/duet-input.tsx",
|
|
1204
|
+
"id": "src/components/duet-input/duet-input.tsx::DuetInputEvent"
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
}];
|
|
1209
|
+
}
|
|
1210
|
+
static get methods() {
|
|
1211
|
+
return {
|
|
1212
|
+
"setFocus": {
|
|
1213
|
+
"complexType": {
|
|
1214
|
+
"signature": "(options?: FocusOptions) => Promise<void>",
|
|
1215
|
+
"parameters": [{
|
|
1216
|
+
"name": "options",
|
|
1217
|
+
"type": "FocusOptions",
|
|
1218
|
+
"docs": ""
|
|
1219
|
+
}],
|
|
1220
|
+
"references": {
|
|
1221
|
+
"Promise": {
|
|
1222
|
+
"location": "global",
|
|
1223
|
+
"id": "global::Promise"
|
|
1224
|
+
},
|
|
1225
|
+
"FocusOptions": {
|
|
1226
|
+
"location": "global",
|
|
1227
|
+
"id": "global::FocusOptions"
|
|
1228
|
+
}
|
|
1229
|
+
},
|
|
1230
|
+
"return": "Promise<void>"
|
|
1231
|
+
},
|
|
1232
|
+
"docs": {
|
|
1233
|
+
"text": "Sets focus on the specified `duet-input`. Use this method instead of the global\n`input.focus()`.",
|
|
1234
|
+
"tags": []
|
|
1235
|
+
}
|
|
1236
|
+
},
|
|
1237
|
+
"resetCursor": {
|
|
1238
|
+
"complexType": {
|
|
1239
|
+
"signature": "() => Promise<void>",
|
|
1240
|
+
"parameters": [],
|
|
1241
|
+
"references": {
|
|
1242
|
+
"Promise": {
|
|
1243
|
+
"location": "global",
|
|
1244
|
+
"id": "global::Promise"
|
|
1245
|
+
}
|
|
1246
|
+
},
|
|
1247
|
+
"return": "Promise<void>"
|
|
1248
|
+
},
|
|
1249
|
+
"docs": {
|
|
1250
|
+
"text": "Reset the cursor position on the native element\n`input.resetCursor()`.",
|
|
1251
|
+
"tags": []
|
|
1252
|
+
}
|
|
1253
|
+
},
|
|
1254
|
+
"clearInput": {
|
|
1255
|
+
"complexType": {
|
|
1256
|
+
"signature": "() => Promise<void>",
|
|
1257
|
+
"parameters": [],
|
|
1258
|
+
"references": {
|
|
1259
|
+
"Promise": {
|
|
1260
|
+
"location": "global",
|
|
1261
|
+
"id": "global::Promise"
|
|
1262
|
+
}
|
|
1263
|
+
},
|
|
1264
|
+
"return": "Promise<void>"
|
|
1265
|
+
},
|
|
1266
|
+
"docs": {
|
|
1267
|
+
"text": "Reset the cursor position on the native element\n`input.resetCursor()`.",
|
|
1268
|
+
"tags": []
|
|
1269
|
+
}
|
|
1258
1270
|
}
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
return [{
|
|
1272
|
-
"propName": "disallowPattern",
|
|
1273
|
-
"methodName": "disallowedPatternChange"
|
|
1274
|
-
}, {
|
|
1275
|
-
"propName": "value",
|
|
1276
|
-
"methodName": "valueChanged"
|
|
1277
|
-
}];
|
|
1278
|
-
}
|
|
1271
|
+
};
|
|
1272
|
+
}
|
|
1273
|
+
static get elementRef() { return "element"; }
|
|
1274
|
+
static get watchers() {
|
|
1275
|
+
return [{
|
|
1276
|
+
"propName": "disallowPattern",
|
|
1277
|
+
"methodName": "disallowedPatternChange"
|
|
1278
|
+
}, {
|
|
1279
|
+
"propName": "value",
|
|
1280
|
+
"methodName": "valueChanged"
|
|
1281
|
+
}];
|
|
1282
|
+
}
|
|
1279
1283
|
}
|