@duetds/components 6.2.3 → 6.2.5
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 +1 -1
- package/hydrate/index.js +2257 -4173
- package/lib/cjs/{dom-96576bce.js → dom-bcfa684c.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +14 -77
- package/lib/cjs/duet-alert.cjs.entry.js +10 -42
- package/lib/cjs/duet-badge.cjs.entry.js +1 -10
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -10
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +30 -119
- package/lib/cjs/duet-caption_4.cjs.entry.js +4 -78
- package/lib/cjs/duet-card.cjs.entry.js +16 -55
- package/lib/cjs/duet-checkbox.cjs.entry.js +21 -49
- package/lib/cjs/duet-choice_2.cjs.entry.js +51 -152
- package/lib/cjs/duet-collapsible.cjs.entry.js +8 -41
- package/lib/cjs/duet-combobox.cjs.entry.js +26 -50
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -9
- package/lib/cjs/duet-date-picker.cjs.entry.js +37 -108
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -17
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +163 -404
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -10
- package/lib/cjs/duet-fieldset.cjs.entry.js +7 -13
- package/lib/cjs/duet-footer.cjs.entry.js +13 -42
- package/lib/cjs/duet-grid_2.cjs.entry.js +3 -43
- package/lib/cjs/duet-header_2.cjs.entry.js +56 -163
- package/lib/cjs/duet-hero.cjs.entry.js +15 -90
- package/lib/cjs/duet-icon.cjs.entry.js +4 -35
- package/lib/cjs/duet-input_2.cjs.entry.js +41 -115
- package/lib/cjs/duet-layout.cjs.entry.js +1 -24
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -23
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -10
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +4 -13
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -10
- package/lib/cjs/duet-menu-bar-menu-dropdown-link.cjs.entry.js +1 -16
- package/lib/cjs/duet-menu-bar-menu-dropdown.cjs.entry.js +4 -13
- package/lib/cjs/duet-menu-bar-menu-link.cjs.entry.js +1 -13
- package/lib/cjs/duet-menu-bar-menu.cjs.entry.js +4 -13
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -6
- package/lib/cjs/duet-modal.cjs.entry.js +4 -59
- package/lib/cjs/duet-multiselect.cjs.entry.js +18 -59
- package/lib/cjs/duet-nav.cjs.entry.js +2 -5
- package/lib/cjs/duet-notification_2.cjs.entry.js +15 -74
- package/lib/cjs/duet-number-input.cjs.entry.js +53 -142
- package/lib/cjs/duet-pagination_2.cjs.entry.js +51 -125
- package/lib/cjs/duet-progress.cjs.entry.js +4 -26
- package/lib/cjs/duet-radio_2.cjs.entry.js +36 -84
- package/lib/cjs/duet-range-slider.cjs.entry.js +21 -62
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +25 -88
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -7
- package/lib/cjs/duet-select.cjs.entry.js +25 -65
- package/lib/cjs/duet-step_2.cjs.entry.js +8 -34
- package/lib/cjs/duet-textarea.cjs.entry.js +31 -79
- package/lib/cjs/duet-toggle.cjs.entry.js +15 -38
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -13
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -17
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -13
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -4
- package/lib/cjs/duet-tooltip.cjs.entry.js +25 -78
- package/lib/cjs/duet-tray.cjs.entry.js +11 -53
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +8 -29
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +4 -4
- package/lib/cjs/{focus-utils-53db3623.js → focus-utils-18ea61a6.js} +1 -1
- package/lib/cjs/{index-1420909f.js → index-d2f05eb8.js} +1438 -1235
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{shadow-css-38b9e725.js → shadow-css-1ea48714.js} +1 -1
- package/lib/collection/collection-manifest.json +2 -2
- package/lib/collection/common/a11y-component.js +0 -3
- package/lib/collection/common/form-components.js +0 -3
- package/lib/collection/components/duet-action-button/duet-action-button.js +403 -461
- package/lib/collection/components/duet-alert/duet-alert.js +259 -289
- package/lib/collection/components/duet-badge/duet-badge.js +84 -89
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +96 -101
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +47 -48
- package/lib/collection/components/duet-button/duet-button.js +838 -912
- package/lib/collection/components/duet-caption/duet-caption.js +96 -103
- package/lib/collection/components/duet-card/duet-card.js +381 -431
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +476 -498
- package/lib/collection/components/duet-choice/duet-choice.js +731 -819
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +282 -308
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +208 -237
- package/lib/collection/components/duet-combobox/duet-combobox-select-single.js +1 -5
- package/lib/collection/components/duet-combobox/duet-combobox-select.js +1 -3
- package/lib/collection/components/duet-combobox/duet-combobox.css +47 -14
- package/lib/collection/components/duet-combobox/duet-combobox.js +257 -269
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +77 -82
- package/lib/collection/components/duet-date-picker/date-picker-day.js +1 -3
- package/lib/collection/components/duet-date-picker/date-picker-input.js +1 -12
- package/lib/collection/components/duet-date-picker/date-picker-month.js +6 -12
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +703 -795
- package/lib/collection/components/duet-divider/duet-divider.js +57 -57
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +316 -381
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +83 -90
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +143 -153
- package/lib/collection/components/duet-footer/duet-footer.js +337 -378
- package/lib/collection/components/duet-grid/duet-grid.js +149 -162
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +153 -164
- package/lib/collection/components/duet-header/duet-header-dropdown.js +11 -19
- package/lib/collection/components/duet-header/duet-header-hamburger.js +1 -5
- package/lib/collection/components/duet-header/duet-header-icon.js +1 -2
- package/lib/collection/components/duet-header/duet-header.js +872 -1023
- package/lib/collection/components/duet-heading/duet-heading.js +183 -200
- package/lib/collection/components/duet-hero/duet-hero.js +568 -660
- package/lib/collection/components/duet-icon/duet-icon.js +240 -263
- package/lib/collection/components/duet-input/duet-input.js +937 -1009
- package/lib/collection/components/duet-label/duet-label.js +95 -100
- package/lib/collection/components/duet-layout/duet-layout.js +163 -189
- package/lib/collection/components/duet-link/duet-link.js +204 -223
- package/lib/collection/components/duet-list/duet-list.js +181 -196
- package/lib/collection/components/duet-list-item/duet-list-item.js +12 -12
- package/lib/collection/components/duet-logo/duet-logo.js +171 -190
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +45 -44
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +100 -109
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +75 -81
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +72 -78
- package/lib/collection/components/duet-menu-bar-menu/duet-menu-bar-menu.js +100 -106
- package/lib/collection/components/duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.js +100 -109
- package/lib/collection/components/duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.js +110 -123
- package/lib/collection/components/duet-menu-bar-menu-link/duet-menu-bar-menu-link.js +89 -98
- package/lib/collection/components/duet-modal/duet-modal.js +466 -520
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +411 -454
- package/lib/collection/components/duet-nav/duet-nav.js +78 -75
- package/lib/collection/components/duet-notification/duet-notification.js +201 -231
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +284 -312
- package/lib/collection/components/duet-number-input/duet-number-input.js +851 -944
- package/lib/collection/components/duet-pagination/duet-pagination.js +374 -439
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +140 -154
- package/lib/collection/components/duet-progress/duet-progress.js +223 -253
- package/lib/collection/components/duet-radio/duet-radio.js +519 -531
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +282 -308
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +468 -505
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +187 -204
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +98 -106
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +58 -61
- package/lib/collection/components/duet-select/duet-select.js +565 -606
- package/lib/collection/components/duet-spacer/duet-spacer.js +77 -81
- package/lib/collection/components/duet-spinner/duet-spinner.js +99 -107
- package/lib/collection/components/duet-step/duet-step.js +206 -219
- package/lib/collection/components/duet-stepper/duet-stepper.js +148 -156
- package/lib/collection/components/duet-tab/duet-tab.js +95 -96
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +367 -405
- package/lib/collection/components/duet-table/duet-table.js +144 -160
- package/lib/collection/components/duet-textarea/duet-textarea.js +694 -747
- package/lib/collection/components/duet-toggle/duet-toggle.js +388 -404
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +38 -38
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +123 -135
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +93 -102
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +89 -98
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +349 -402
- package/lib/collection/components/duet-tray/duet-tray.js +235 -276
- package/lib/collection/components/duet-upload/duet-upload.js +1371 -1549
- package/lib/collection/components/duet-upload/upload-editable-item-error.js +1 -6
- package/lib/collection/components/duet-upload/upload-editable-item-inprogres.js +1 -6
- package/lib/collection/components/duet-upload/upload-editable-item-pending.js +1 -4
- package/lib/collection/components/duet-upload/upload-editable-item-success.js +5 -21
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +137 -153
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +12 -9
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -11
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -5
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +19 -58
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +19 -49
- package/lib/dist-custom-elements/duet-choice.js +42 -113
- package/lib/dist-custom-elements/duet-collapsible.js +10 -43
- package/lib/dist-custom-elements/duet-combobox.js +29 -59
- package/lib/dist-custom-elements/duet-cookie-consent.js +8 -14
- package/lib/dist-custom-elements/duet-date-picker.js +45 -116
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +1 -1
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +16 -45
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +65 -152
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +23 -98
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -24
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -11
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +5 -14
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -11
- package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown-link.js +2 -17
- package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown.js +5 -14
- package/lib/dist-custom-elements/duet-menu-bar-menu-link.js +2 -14
- package/lib/dist-custom-elements/duet-menu-bar-menu.js +4 -13
- package/lib/dist-custom-elements/duet-menu-bar.js +5 -8
- package/lib/dist-custom-elements/duet-modal.js +10 -65
- package/lib/dist-custom-elements/duet-multiselect.js +25 -66
- package/lib/dist-custom-elements/duet-nav.js +2 -5
- package/lib/dist-custom-elements/duet-notification-drawer.js +18 -48
- package/lib/dist-custom-elements/duet-notification.js +2 -31
- package/lib/dist-custom-elements/duet-number-input.js +59 -148
- package/lib/dist-custom-elements/duet-pagination.js +51 -101
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-radio-group.js +19 -49
- package/lib/dist-custom-elements/duet-radio.js +23 -41
- package/lib/dist-custom-elements/duet-range-slider.js +23 -64
- package/lib/dist-custom-elements/duet-range-stepper.js +10 -34
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -7
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +11 -20
- package/lib/dist-custom-elements/duet-stepper.js +2 -19
- package/lib/dist-custom-elements/duet-tab-group.js +26 -72
- package/lib/dist-custom-elements/duet-tab.js +3 -9
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +38 -86
- package/lib/dist-custom-elements/duet-toggle.js +16 -39
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -14
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -18
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -14
- package/lib/dist-custom-elements/duet-toolbar.js +1 -4
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +14 -56
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +165 -332
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.d.ts +75 -5
- package/lib/dist-custom-elements/index.js +76 -1
- package/lib/dist-custom-elements/{p-7fca7185.js → p-0cc49790.js} +3 -25
- package/lib/dist-custom-elements/{p-c978c011.js → p-0ef384ca.js} +7 -30
- package/lib/dist-custom-elements/{p-d339505b.js → p-10feffd3.js} +1 -1
- package/lib/dist-custom-elements/{p-e68fe06d.js → p-14a163e6.js} +475 -272
- package/lib/dist-custom-elements/{p-f22c141f.js → p-25d4fffb.js} +1 -11
- package/lib/dist-custom-elements/{p-77e39f63.js → p-354f8a94.js} +3 -16
- package/lib/dist-custom-elements/{p-428f8fe3.js → p-37dd7faf.js} +2 -22
- package/lib/dist-custom-elements/{p-fff89409.js → p-4115062c.js} +2 -25
- package/lib/dist-custom-elements/{p-2481ab53.js → p-4447816d.js} +3 -20
- package/lib/dist-custom-elements/{p-9ed347f9.js → p-535ce3ec.js} +1 -1
- package/lib/dist-custom-elements/{p-33e00967.js → p-55325c49.js} +1 -1
- package/lib/dist-custom-elements/{p-f7d6c7c8.js → p-65ee8608.js} +8 -14
- package/lib/dist-custom-elements/{p-c2d5ef52.js → p-737dd784.js} +45 -111
- package/lib/dist-custom-elements/{p-c4d8cad0.js → p-738bd3c5.js} +1 -1
- package/lib/dist-custom-elements/{p-066e5253.js → p-7958dc0c.js} +30 -70
- package/lib/dist-custom-elements/{p-00d8bf80.js → p-82fec063.js} +2 -21
- package/lib/dist-custom-elements/{p-d01deae4.js → p-88d217a7.js} +2 -11
- package/lib/dist-custom-elements/{p-2320f4a6.js → p-9245c901.js} +2 -10
- package/lib/dist-custom-elements/{p-378842c8.js → p-94eae3e6.js} +1 -7
- package/lib/dist-custom-elements/{p-0b8f16f1.js → p-9986919d.js} +1 -1
- package/lib/dist-custom-elements/{p-d29accfb.js → p-9fef7d37.js} +21 -49
- package/lib/dist-custom-elements/{p-63ec7354.js → p-a1212d29.js} +1 -1
- package/lib/dist-custom-elements/{p-79d893c1.js → p-ad7292b3.js} +5 -26
- package/lib/dist-custom-elements/{p-37b3f58a.js → p-af2e8de4.js} +14 -46
- package/lib/dist-custom-elements/{p-a82f5ca7.js → p-b5ea480c.js} +9 -30
- package/lib/dist-custom-elements/{p-d84c65e4.js → p-bd64a84d.js} +6 -17
- package/lib/dist-custom-elements/{p-8184db82.js → p-cab1e8a0.js} +20 -71
- package/lib/dist-custom-elements/{p-fbcece41.js → p-d2402b45.js} +27 -80
- package/lib/dist-custom-elements/{p-d6e7df61.js → p-d34c42bc.js} +1 -10
- package/lib/dist-custom-elements/{p-204da43b.js → p-d628dd87.js} +17 -80
- package/lib/dist-custom-elements/{p-db21a6ca.js → p-db135ec9.js} +1 -13
- package/lib/{esm/shadow-css-501eda9a.js → dist-custom-elements/p-e2cd1c98.js} +1 -1
- package/lib/dist-custom-elements/{p-b9058029.js → p-e4a60f42.js} +8 -0
- package/lib/dist-custom-elements/{p-321dbb74.js → p-eb6fc032.js} +33 -109
- package/lib/dist-custom-elements/{p-d80f3be0.js → p-f7c0e5bf.js} +1 -23
- package/lib/dist-custom-elements/{p-bd533ea2.js → p-fddad5df.js} +5 -36
- package/lib/dist-custom-elements/{p-c1943ce9.js → p-fed8d27a.js} +5 -27
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +2 -1
- package/lib/duet/{p-8666ba38.system.entry.js → p-00ee31e2.system.entry.js} +1 -1
- package/lib/duet/{p-05a8d445.entry.js → p-0169eb09.entry.js} +1 -1
- package/lib/duet/{p-4e3d3e94.system.entry.js → p-0236fc28.system.entry.js} +1 -1
- package/lib/duet/p-0285e5d3.entry.js +4 -0
- package/lib/duet/{p-77bdfe6e.system.entry.js → p-028da443.system.entry.js} +2 -2
- package/lib/duet/{p-0d0beb65.system.entry.js → p-0426e86f.system.entry.js} +1 -1
- package/lib/duet/{p-c7f47570.system.entry.js → p-06c01b8a.system.entry.js} +1 -1
- package/lib/duet/{p-3b31184e.js → p-07970d29.js} +0 -0
- package/lib/duet/{p-2a493a0e.system.entry.js → p-09e9e6e0.system.entry.js} +2 -2
- package/lib/duet/p-0aae8ebf.entry.js +4 -0
- package/lib/duet/{p-c6df2736.system.entry.js → p-0c519c1f.system.entry.js} +1 -1
- package/lib/duet/p-0d218007.entry.js +4 -0
- package/lib/duet/p-0d6723f5.entry.js +4 -0
- package/lib/duet/p-0e1a3c6d.entry.js +4 -0
- package/lib/duet/{p-f9d7e274.entry.js → p-0f8e4b6a.entry.js} +1 -1
- package/lib/duet/p-0fc0e90e.entry.js +4 -0
- package/lib/duet/{p-8d88fa17.system.entry.js → p-10b1ea3e.system.entry.js} +2 -2
- package/lib/duet/{p-651dcf55.entry.js → p-1184c37e.entry.js} +1 -1
- package/lib/duet/{p-9a47beb4.entry.js → p-11c58a6b.entry.js} +1 -1
- package/lib/duet/p-14cca806.entry.js +4 -0
- package/lib/duet/{p-199f6d43.system.entry.js → p-14e93ad6.system.entry.js} +1 -1
- package/lib/duet/{p-d90afed1.system.entry.js → p-16b61523.system.entry.js} +2 -2
- package/lib/duet/p-16cbd476.entry.js +4 -0
- package/lib/duet/{p-6db3d0a6.entry.js → p-1833941e.entry.js} +1 -1
- package/lib/duet/{p-2b8921d9.system.entry.js → p-1a45eddb.system.entry.js} +1 -1
- package/lib/duet/{p-2fc85d76.entry.js → p-1b63c3bf.entry.js} +1 -1
- package/lib/duet/p-1e442975.entry.js +4 -0
- package/lib/duet/{p-69a5e4b8.entry.js → p-27a1c897.entry.js} +1 -1
- package/lib/duet/{p-f8469405.entry.js → p-2c5b761d.entry.js} +1 -1
- package/lib/duet/{p-70b6f442.entry.js → p-2cbe5fe4.entry.js} +1 -1
- package/lib/duet/{p-ed9b4b98.system.entry.js → p-2f0f8b9e.system.entry.js} +2 -2
- package/lib/duet/{p-28bd21cc.system.entry.js → p-326d3440.system.entry.js} +1 -1
- package/lib/duet/{p-e260059f.system.entry.js → p-394efc25.system.entry.js} +1 -1
- package/lib/duet/{p-8cc1adec.system.entry.js → p-400f8e9d.system.entry.js} +2 -2
- package/lib/duet/{p-87f97244.system.entry.js → p-43750071.system.entry.js} +1 -1
- package/lib/duet/{p-b0c1475a.entry.js → p-45b0469f.entry.js} +1 -1
- package/lib/duet/p-4644616b.entry.js +4 -0
- package/lib/duet/{p-4cbce73e.entry.js → p-4c96e54d.entry.js} +1 -1
- package/lib/duet/{p-bd09268f.system.entry.js → p-4d1a5b9e.system.entry.js} +1 -1
- package/lib/duet/{p-3dbc8279.system.entry.js → p-4e2db855.system.entry.js} +1 -1
- package/lib/duet/{p-bfe342b1.system.entry.js → p-5214682e.system.entry.js} +1 -1
- package/lib/duet/{p-fb35b871.system.entry.js → p-575e4d53.system.entry.js} +1 -1
- package/lib/duet/{p-08366ae7.system.entry.js → p-58de4753.system.entry.js} +1 -1
- package/lib/duet/p-592bcdd4.entry.js +4 -0
- package/lib/duet/{p-865a8528.system.entry.js → p-5b00d0cf.system.entry.js} +1 -1
- package/lib/duet/p-5bffb89f.entry.js +4 -0
- package/lib/duet/{p-b8959b6f.entry.js → p-5e134670.entry.js} +1 -1
- package/lib/duet/p-60c70efa.entry.js +4 -0
- package/lib/duet/p-61f8dd7f.system.entry.js +4 -0
- package/lib/duet/{p-89f143a3.system.entry.js → p-63cb7308.system.entry.js} +1 -1
- package/lib/duet/p-696d99ff.system.entry.js +4 -0
- package/lib/duet/p-6999702a.js +5 -0
- package/lib/duet/p-6db0f8c0.entry.js +4 -0
- package/lib/duet/{p-37cb3159.system.entry.js → p-6f2e72e2.system.entry.js} +2 -2
- package/lib/duet/{p-b668b67c.system.js → p-73900354.system.js} +0 -0
- package/lib/duet/{p-325e4d06.system.entry.js → p-758c0528.system.entry.js} +2 -2
- package/lib/duet/{p-63b28fee.system.entry.js → p-79c8d35c.system.entry.js} +1 -1
- package/lib/duet/{p-1e8f0b15.entry.js → p-7ccf8ef9.entry.js} +1 -1
- package/lib/duet/{p-f71d7d3b.system.entry.js → p-7e67fedc.system.entry.js} +1 -1
- package/lib/duet/{p-f60a660e.system.entry.js → p-7fcbf80a.system.entry.js} +1 -1
- package/lib/duet/{p-d509251c.entry.js → p-81313736.entry.js} +1 -1
- package/lib/duet/{p-2dde5eda.entry.js → p-81e66ef1.entry.js} +1 -1
- package/lib/duet/{p-70473bcc.js → p-8512b463.js} +1 -1
- package/lib/duet/p-855f9e2a.system.entry.js +4 -0
- package/lib/duet/{p-2c9b4b54.entry.js → p-8681c6e0.entry.js} +1 -1
- package/lib/duet/p-89bf7be7.entry.js +4 -0
- package/lib/duet/{p-feec6a21.system.entry.js → p-8a47d599.system.entry.js} +1 -1
- package/lib/duet/{p-e0733d78.entry.js → p-8f6cf5d1.entry.js} +1 -1
- package/lib/duet/{p-01e4ad70.system.entry.js → p-90ea4509.system.entry.js} +2 -2
- package/lib/duet/p-9101f9ed.entry.js +4 -0
- package/lib/duet/{p-15f1db88.system.entry.js → p-914c3280.system.entry.js} +1 -1
- package/lib/duet/{p-c400d01c.system.entry.js → p-948d492d.system.entry.js} +2 -2
- package/lib/duet/{p-17210d14.system.entry.js → p-9a14ca19.system.entry.js} +1 -1
- package/lib/duet/{p-cfa9d7df.system.entry.js → p-9f60735a.system.entry.js} +1 -1
- package/lib/duet/p-a8d942ea.entry.js +4 -0
- package/lib/duet/{p-a0c38881.entry.js → p-ac4c233b.entry.js} +1 -1
- package/lib/duet/p-acea52f5.entry.js +4 -0
- package/lib/duet/{p-0840d514.system.entry.js → p-b180a4e2.system.entry.js} +1 -1
- package/lib/duet/{p-737f77f5.system.entry.js → p-b2688afc.system.entry.js} +1 -1
- package/lib/duet/p-b293c2ff.entry.js +4 -0
- package/lib/duet/{p-0c9c6b33.entry.js → p-b2c913ea.entry.js} +1 -1
- package/lib/duet/p-b3046425.entry.js +4 -0
- package/lib/duet/p-b5dc8a8f.system.entry.js +4 -0
- package/lib/duet/{p-162a19c4.system.entry.js → p-b821b721.system.entry.js} +1 -1
- package/lib/duet/p-bc2c1014.entry.js +4 -0
- package/lib/duet/{p-0de9cdff.system.entry.js → p-bcd4a927.system.entry.js} +1 -1
- package/lib/duet/p-c12ecca9.entry.js +4 -0
- package/lib/duet/p-c17cae49.entry.js +4 -0
- package/lib/duet/p-c2c48bb2.entry.js +4 -0
- package/lib/duet/{p-dd952c1a.system.entry.js → p-c3a0505e.system.entry.js} +1 -1
- package/lib/duet/{p-ea23276d.entry.js → p-c41bfab0.entry.js} +1 -1
- package/lib/duet/{p-08118dc1.entry.js → p-c4932f05.entry.js} +1 -1
- package/lib/duet/{p-f97c3b7c.entry.js → p-c5e54be9.entry.js} +1 -1
- package/lib/duet/p-cf11b05b.entry.js +4 -0
- package/lib/duet/{p-4c6f9fb6.system.entry.js → p-d0f1d25f.system.entry.js} +1 -1
- package/lib/duet/p-d16434dc.entry.js +4 -0
- package/lib/duet/{p-8aea5243.entry.js → p-d2ef832d.entry.js} +1 -1
- package/lib/duet/{p-d31ee0d6.system.js → p-d58991bc.system.js} +1 -1
- package/lib/duet/p-d971be46.entry.js +4 -0
- package/lib/duet/{p-ff46ec81.system.js → p-da0d4ee3.system.js} +0 -0
- package/lib/duet/p-da803459.entry.js +4 -0
- package/lib/duet/{p-06799688.system.entry.js → p-daa20c36.system.entry.js} +1 -1
- package/lib/duet/{p-e3e94989.entry.js → p-dbddb719.entry.js} +1 -1
- package/lib/duet/{p-abb8e55c.system.entry.js → p-dc18b76c.system.entry.js} +1 -1
- package/lib/duet/p-dc51f077.entry.js +4 -0
- package/lib/duet/{p-b3e9368c.system.entry.js → p-dd676f12.system.entry.js} +1 -1
- package/lib/duet/{p-cc2b0098.system.entry.js → p-dfcbf758.system.entry.js} +1 -1
- package/lib/duet/{p-d4c234ed.js → p-e2cd1c98.js} +0 -0
- package/lib/duet/{p-185aae73.system.entry.js → p-e621c31c.system.entry.js} +1 -1
- package/lib/duet/p-e71a6257.system.js +5 -0
- package/lib/duet/{p-14ff22af.system.entry.js → p-ea8e5649.system.entry.js} +2 -2
- package/lib/duet/{p-5b11d0bb.system.entry.js → p-ebc09697.system.entry.js} +1 -1
- package/lib/duet/{p-97dd0fb2.entry.js → p-ec635593.entry.js} +1 -1
- package/lib/duet/p-ef3f4213.entry.js +4 -0
- package/lib/duet/{p-66c5896b.system.entry.js → p-f01d234f.system.entry.js} +1 -1
- package/lib/duet/p-f150740b.entry.js +4 -0
- package/lib/duet/{p-d440608a.system.entry.js → p-f2bcb922.system.entry.js} +1 -1
- package/lib/duet/{p-d31cb05e.entry.js → p-f3d0d889.entry.js} +1 -1
- package/lib/duet/{p-9da8a731.system.entry.js → p-f6712ec8.system.entry.js} +1 -1
- package/lib/duet/{p-6cc95db3.system.entry.js → p-f678edf7.system.entry.js} +1 -1
- package/lib/duet/p-f7453c05.system.entry.js +4 -0
- package/lib/duet/{p-6aa6ec86.system.js → p-f9133dc5.system.js} +1 -1
- package/lib/duet/{p-532dff7f.system.entry.js → p-f9afad76.system.entry.js} +1 -1
- package/lib/esm/{dom-3dbcb0d8.js → dom-4d9c03f4.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +14 -77
- package/lib/esm/duet-alert.entry.js +10 -42
- package/lib/esm/duet-badge.entry.js +1 -10
- package/lib/esm/duet-breadcrumb.entry.js +2 -10
- package/lib/esm/duet-breadcrumbs.entry.js +2 -4
- package/lib/esm/duet-button_2.entry.js +30 -119
- package/lib/esm/duet-caption_4.entry.js +4 -78
- package/lib/esm/duet-card.entry.js +16 -55
- package/lib/esm/duet-checkbox.entry.js +21 -49
- package/lib/esm/duet-choice_2.entry.js +51 -152
- package/lib/esm/duet-collapsible.entry.js +8 -41
- package/lib/esm/duet-combobox.entry.js +26 -50
- package/lib/esm/duet-cookie-consent.entry.js +3 -9
- package/lib/esm/duet-date-picker.entry.js +37 -108
- package/lib/esm/duet-divider_2.entry.js +1 -17
- package/lib/esm/duet-editable-table_3.entry.js +163 -404
- package/lib/esm/duet-empty-state.entry.js +1 -10
- package/lib/esm/duet-fieldset.entry.js +7 -13
- package/lib/esm/duet-footer.entry.js +13 -42
- package/lib/esm/duet-grid_2.entry.js +3 -43
- package/lib/esm/duet-header_2.entry.js +56 -163
- package/lib/esm/duet-hero.entry.js +15 -90
- package/lib/esm/duet-icon.entry.js +4 -35
- package/lib/esm/duet-input_2.entry.js +41 -115
- package/lib/esm/duet-layout.entry.js +1 -24
- package/lib/esm/duet-list_2.entry.js +1 -23
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -10
- package/lib/esm/duet-menu-bar-dropdown.entry.js +4 -13
- package/lib/esm/duet-menu-bar-link.entry.js +1 -10
- package/lib/esm/duet-menu-bar-menu-dropdown-link.entry.js +1 -16
- package/lib/esm/duet-menu-bar-menu-dropdown.entry.js +4 -13
- package/lib/esm/duet-menu-bar-menu-link.entry.js +1 -13
- package/lib/esm/duet-menu-bar-menu.entry.js +4 -13
- package/lib/esm/duet-menu-bar.entry.js +3 -6
- package/lib/esm/duet-modal.entry.js +4 -59
- package/lib/esm/duet-multiselect.entry.js +18 -59
- package/lib/esm/duet-nav.entry.js +2 -5
- package/lib/esm/duet-notification_2.entry.js +15 -74
- package/lib/esm/duet-number-input.entry.js +53 -142
- package/lib/esm/duet-pagination_2.entry.js +51 -125
- package/lib/esm/duet-progress.entry.js +4 -26
- package/lib/esm/duet-radio_2.entry.js +36 -84
- package/lib/esm/duet-range-slider.entry.js +21 -62
- package/lib/esm/duet-scrollable_3.entry.js +25 -88
- package/lib/esm/duet-section-layout.entry.js +1 -7
- package/lib/esm/duet-select.entry.js +25 -65
- package/lib/esm/duet-step_2.entry.js +8 -34
- package/lib/esm/duet-textarea.entry.js +31 -79
- package/lib/esm/duet-toggle.entry.js +15 -38
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -13
- package/lib/esm/duet-toolbar-dropdown.entry.js +5 -17
- package/lib/esm/duet-toolbar-link.entry.js +1 -13
- package/lib/esm/duet-toolbar.entry.js +1 -4
- package/lib/esm/duet-tooltip.entry.js +25 -78
- package/lib/esm/duet-tray.entry.js +11 -53
- package/lib/esm/duet-upload-aria-status.entry.js +8 -29
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{focus-utils-9787b47f.js → focus-utils-abaea1e6.js} +1 -1
- package/lib/esm/{index-8469ee1a.js → index-4df60498.js} +1438 -1235
- package/lib/esm/loader.js +3 -3
- package/lib/esm/polyfills/css-shim.js +1 -1
- package/lib/{dist-custom-elements/p-d4c234ed.js → esm/shadow-css-a011f1fe.js} +1 -1
- package/lib/esm-es5/{dom-3dbcb0d8.js → dom-4d9c03f4.js} +0 -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-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +2 -2
- package/lib/esm-es5/duet-button_2.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +2 -2
- 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 +2 -2
- 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-footer.entry.js +2 -2
- package/lib/esm-es5/duet-grid_2.entry.js +2 -2
- package/lib/esm-es5/duet-header_2.entry.js +2 -2
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- 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-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-menu-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-menu-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-menu-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-menu.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.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 +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- 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.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-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/focus-utils-abaea1e6.js +4 -0
- package/lib/esm-es5/index-4df60498.js +5 -0
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{shadow-css-501eda9a.js → shadow-css-a011f1fe.js} +0 -0
- package/lib/loader/package.json +1 -0
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -2
- package/lib/types/stencil-public-runtime.d.ts +20 -4
- package/package.json +8 -11
- package/lib/duet/p-096f20dc.js +0 -5
- package/lib/duet/p-186f5c04.entry.js +0 -4
- package/lib/duet/p-1a48148d.entry.js +0 -4
- package/lib/duet/p-1a6a0dc6.entry.js +0 -4
- package/lib/duet/p-1f224365.entry.js +0 -4
- package/lib/duet/p-2b2e62d6.entry.js +0 -4
- package/lib/duet/p-2e356385.entry.js +0 -4
- package/lib/duet/p-400766d6.entry.js +0 -4
- package/lib/duet/p-410af698.entry.js +0 -4
- package/lib/duet/p-487f2417.system.entry.js +0 -4
- package/lib/duet/p-5f15acee.system.entry.js +0 -4
- package/lib/duet/p-6d7416bc.entry.js +0 -4
- package/lib/duet/p-71f7a269.entry.js +0 -4
- package/lib/duet/p-74c4587a.system.entry.js +0 -4
- package/lib/duet/p-779adc11.system.entry.js +0 -4
- package/lib/duet/p-7b1ed7b7.entry.js +0 -4
- package/lib/duet/p-7c527761.entry.js +0 -4
- package/lib/duet/p-82ed2eea.entry.js +0 -4
- package/lib/duet/p-8b328e9d.entry.js +0 -4
- package/lib/duet/p-90f9c2b6.entry.js +0 -4
- package/lib/duet/p-92c0d1a1.entry.js +0 -4
- package/lib/duet/p-9c8cd6d0.system.entry.js +0 -4
- package/lib/duet/p-9db96010.entry.js +0 -4
- package/lib/duet/p-a1191c7c.entry.js +0 -4
- package/lib/duet/p-a27830b0.entry.js +0 -4
- package/lib/duet/p-b0d7a24e.entry.js +0 -4
- package/lib/duet/p-b3237285.entry.js +0 -4
- package/lib/duet/p-bc2b6d90.entry.js +0 -4
- package/lib/duet/p-bd1ca1bf.entry.js +0 -4
- package/lib/duet/p-c634ea77.entry.js +0 -4
- package/lib/duet/p-c686bbb6.entry.js +0 -4
- package/lib/duet/p-cfee81ae.system.js +0 -5
- package/lib/duet/p-d1eeb040.entry.js +0 -4
- package/lib/duet/p-d35bb3c7.entry.js +0 -4
- package/lib/duet/p-e6162450.entry.js +0 -4
- package/lib/duet/p-ed0e37f0.entry.js +0 -4
- package/lib/duet/p-f5863365.entry.js +0 -4
- package/lib/duet/p-fcb2e0dc.entry.js +0 -4
- package/lib/esm-es5/focus-utils-9787b47f.js +0 -4
- package/lib/esm-es5/index-8469ee1a.js +0 -5
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h } from './p-14a163e6.js';
|
|
5
5
|
import { d as disableBodyScroll, e as enableBodyScroll } from './p-bd779757.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
7
7
|
import { c as createID } from './p-c1325e35.js';
|
|
8
|
-
import { f as focusElement, F as FocusGuard } from './p-
|
|
8
|
+
import { f as focusElement, F as FocusGuard } from './p-9986919d.js';
|
|
9
9
|
import { b as isEscapeKey } from './p-d8549efe.js';
|
|
10
10
|
import { a as getLanguage, g as getLocaleString } from './p-ede854e1.js';
|
|
11
|
-
import { d as defineCustomElement$7 } from './p-
|
|
12
|
-
import { d as defineCustomElement$6 } from './p-
|
|
13
|
-
import { d as defineCustomElement$5 } from './p-
|
|
14
|
-
import { d as defineCustomElement$4 } from './p-
|
|
15
|
-
import { d as defineCustomElement$3 } from './p-
|
|
16
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
+
import { d as defineCustomElement$7 } from './p-eb6fc032.js';
|
|
12
|
+
import { d as defineCustomElement$6 } from './p-0cc49790.js';
|
|
13
|
+
import { d as defineCustomElement$5 } from './p-fddad5df.js';
|
|
14
|
+
import { d as defineCustomElement$4 } from './p-25d4fffb.js';
|
|
15
|
+
import { d as defineCustomElement$3 } from './p-354f8a94.js';
|
|
16
|
+
import { d as defineCustomElement$2 } from './p-10feffd3.js';
|
|
17
17
|
|
|
18
18
|
const duetModalCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;max-height:100vh;overflow-y:auto;visibility:hidden;background:rgba(0, 41, 77, 0.85);opacity:0;transition:300ms ease;transition-delay:200ms}.duet-modal-overlay.duet-theme-turva{background:rgba(23, 28, 58, 0.85)}.duet-modal-overlay.duet-modal-active{visibility:visible;opacity:1;transition:300ms ease;transition-delay:0s}.duet-modal-overlay.duet-disable-transitions{transition:none}::slotted(img){width:100%}.duet-modal-inner{display:flex;align-items:center;width:100%;min-height:100%;padding:20px 16px}@media (min-width: 36em){.duet-modal-inner{padding:48px 16px}}@media (max-width: 35.9375em){.duet-modal-inner.duet-modal-large{padding-right:0;padding-left:0}}.duet-modal{position:relative;width:100%;max-width:686px;margin:auto;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:#00294d;background:white;border-radius:4px;opacity:0;transition:300ms ease;transition-delay:0ms;transform:scale(0.96)}.duet-theme-turva .duet-modal{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a}.duet-modal-active .duet-modal{opacity:1;transition:300ms ease;transition-delay:200ms;transform:none}.duet-disable-transitions .duet-modal{transition:none}.duet-modal.small{max-width:545px}.duet-modal.large{max-width:100%}@media (min-width: 36em){.duet-modal.large{max-width:1110px}}.duet-modal:focus{outline:0}.duet-modal-body{width:100%;padding:36px 28px}.duet-modal-body.duet-modal-gutter-small{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large{padding:48px 36px}@media (max-width: 22.5em){.duet-modal-body{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large{padding:48px 28px}}@media (max-width: 35.9375em){.duet-modal-body{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large{padding:48px 36px}}@media (min-width: 36em){.duet-modal-body{padding:36px}.duet-modal-body.duet-modal-gutter-large{padding:28px 72px}}@media (min-width: 48em){.duet-modal-body{padding:36px 72px}.duet-modal-body.duet-modal-gutter-large{padding:36px 72px}}@media (min-width: 76.25em){.duet-modal-body{padding:36px 48px 48px}.duet-modal-body.duet-modal-gutter-large{padding:48px 94px}.small .duet-modal-body{padding:36px 48px}}.duet-modal-header{text-align:center}.duet-modal-close{position:absolute;top:12px;right:12px}.duet-modal-heading{width:100%;padding-right:60px;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.25rem;font-style:normal;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.25;color:#00294d;text-decoration:none;text-overflow:ellipsis;letter-spacing:-0.01rem;white-space:nowrap}.duet-modal-heading.duet-p-0{padding:0 !important}.duet-modal-heading.duet-m-0{margin:0 !important}";
|
|
19
19
|
|
|
@@ -51,81 +51,26 @@ const DuetModal$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
51
51
|
}, 100);
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
|
-
/**
|
|
55
|
-
* State() variables
|
|
56
|
-
* Inlined decorator, alphabetical order.
|
|
57
|
-
*/
|
|
58
54
|
this.open = false;
|
|
59
|
-
/**
|
|
60
|
-
* The currently active language. This setting also changes the logo to match
|
|
61
|
-
* the chosen language.
|
|
62
|
-
* @deprecated this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing
|
|
63
|
-
* @default "fi"
|
|
64
|
-
*/
|
|
65
55
|
this.language = getLanguage();
|
|
66
|
-
/**
|
|
67
|
-
* Defaults for accessibleCloseLabel
|
|
68
|
-
* @default {fi: "Sulje ikkuna", sv: "Stäng fönstret", en: "Close the dialog", }
|
|
69
|
-
*/
|
|
70
56
|
this.accessibleCloseLabelDefaults = {
|
|
71
57
|
fi: "Sulje ikkuna",
|
|
72
58
|
sv: "Stäng fönstret",
|
|
73
59
|
en: "Close the dialog",
|
|
74
60
|
};
|
|
75
|
-
/**
|
|
76
|
-
* Adds accessible label for the close icon that is only shown for screen
|
|
77
|
-
* readers. This property is always required to create an accessibly interface!
|
|
78
|
-
* Swedish translation for this property is “Stäng fönstret”.
|
|
79
|
-
* @default {fi: "Sulje ikkuna", sv: "Stäng fönstret", en: "Close the dialog", }
|
|
80
|
-
*/
|
|
81
61
|
this.accessibleCloseLabel = getLocaleString(this.accessibleCloseLabelDefaults, this.language);
|
|
82
|
-
/**
|
|
83
|
-
* Size of the modal window.
|
|
84
|
-
*/
|
|
85
62
|
this.size = "medium";
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
*/
|
|
63
|
+
this.accessibleDescribedBy = undefined;
|
|
64
|
+
this.accessibleLabelledBy = undefined;
|
|
89
65
|
this.accessibleDetails = undefined;
|
|
90
|
-
/**
|
|
91
|
-
* Aria description the button
|
|
92
|
-
*/
|
|
93
66
|
this.accessibleDescription = undefined;
|
|
94
|
-
/**
|
|
95
|
-
* Size of the modal window.
|
|
96
|
-
*/
|
|
97
67
|
this.gutterSize = "medium";
|
|
98
|
-
/**
|
|
99
|
-
* Theme of the modal.
|
|
100
|
-
*/
|
|
101
68
|
this.theme = "";
|
|
102
|
-
/**
|
|
103
|
-
* Accessible heading displayed in the modal. The modal marks this as the
|
|
104
|
-
* label of the modal when used. This helps screen reader users which is
|
|
105
|
-
* why this is a required property.
|
|
106
|
-
*/
|
|
107
69
|
this.heading = "";
|
|
108
|
-
/**
|
|
109
|
-
* Accessible heading size
|
|
110
|
-
*/
|
|
111
70
|
this.headingLevel = "h3";
|
|
112
|
-
/**
|
|
113
|
-
* Icon to display above the heading (from Duet’s icons). Example:
|
|
114
|
-
* "form-location"
|
|
115
|
-
*/
|
|
116
71
|
this.icon = "";
|
|
117
|
-
/**
|
|
118
|
-
* Custom color to be used for the icon, as a design token entered in camelCase
|
|
119
|
-
* or kebab-case. Example: "primary".
|
|
120
|
-
*/
|
|
121
72
|
this.color = "";
|
|
122
|
-
/**
|
|
123
|
-
* Use this property when you need to have the modal dialog initially active.
|
|
124
|
-
*/
|
|
125
73
|
this.active = false;
|
|
126
|
-
/**
|
|
127
|
-
* Use this property when you want the modal to close when clicked outside of modal.
|
|
128
|
-
*/
|
|
129
74
|
this.closeOnBlur = false;
|
|
130
75
|
}
|
|
131
76
|
openChanged() {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-14a163e6.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
import { b as isEscapeKey, d as isTabKey, c as isEnterKey, h as isArrowLeftKey, e as isArrowUpKey, j as isArrowRightKey, f as isArrowDownKey } from './p-d8549efe.js';
|
|
8
8
|
import { g as getLocaleString } from './p-ede854e1.js';
|
|
9
9
|
import { p as parsePossibleJSON } from './p-5a9d75e1.js';
|
|
10
|
-
import { d as defineCustomElement$8 } from './p-
|
|
11
|
-
import { d as defineCustomElement$7 } from './p-
|
|
12
|
-
import { d as defineCustomElement$6 } from './p-
|
|
13
|
-
import { d as defineCustomElement$5 } from './p-
|
|
14
|
-
import { d as defineCustomElement$4 } from './p-
|
|
15
|
-
import { d as defineCustomElement$3 } from './p-
|
|
16
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
+
import { d as defineCustomElement$8 } from './p-d34c42bc.js';
|
|
11
|
+
import { d as defineCustomElement$7 } from './p-db135ec9.js';
|
|
12
|
+
import { d as defineCustomElement$6 } from './p-9fef7d37.js';
|
|
13
|
+
import { d as defineCustomElement$5 } from './p-fddad5df.js';
|
|
14
|
+
import { d as defineCustomElement$4 } from './p-9245c901.js';
|
|
15
|
+
import { d as defineCustomElement$3 } from './p-d2402b45.js';
|
|
16
|
+
import { d as defineCustomElement$2 } from './p-10feffd3.js';
|
|
17
17
|
|
|
18
18
|
const duetMultiselectCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip{position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip{position:relative;top:4px;right:auto}}.duet-multiselect-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:white}.duet-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva .duet-multiselect-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-multiselect{display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:#00294d;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:white;border:1px solid #909599;border-radius:4px;transition:150ms ease}.duet-multiselect:hover{border-color:#909599;box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-multiselect:hover{border-color:#747475;box-shadow:0 0 0 1px #747475}.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #e02a0d}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{border-color:#0077b3;outline:0;box-shadow:0 0 0 1px #0077b3;transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:#171c3a;box-shadow:0 0 0 1px #171c3a}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:focus,.duet-theme-turva.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #e02a0d}.duet-multiselect[disabled]{color:#00294d !important;cursor:default !important;background:#f5f8fa !important;border-color:#f5f8fa !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:#00294d !important}.duet-theme-turva .duet-multiselect[disabled]{color:#171c3a !important;background:#f5f5f7 !important;border-color:#f5f5f7 !important;-webkit-text-fill-color:#171c3a !important}.duet-multiselect>:first-child{flex:1}.duet-multiselect .duet-multiselect-badge{position:absolute;right:3rem}.has-error .duet-multiselect{border-color:#de2362 !important}.has-error .duet-multiselect .duet-multiselect-icon{color:#de2362 !important}.duet-theme-turva.has-error .duet-multiselect{border-color:#e02a0d !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:#e02a0d !important}.duet-theme-turva .duet-multiselect{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a;border-color:#747475}.duet-multiselect svg{width:20px;height:20px;color:#00294d;pointer-events:none}.duet-theme-turva .duet-multiselect svg{color:#171c3a}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;width:100%;padding:16px;margin:8px 0 0;visibility:hidden;background:white;border:1px solid #e1e3e6;border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-theme-turva .duet-multiselect-checkboxes{background:white;border-color:#e4e4e6;box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-multiselect-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:#657787;border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.duet-theme-turva .duet-multiselect-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#747475}.has-error .duet-multiselect-help{color:#de2362}.duet-theme-turva.has-error .duet-multiselect-help{color:#e02a0d}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
19
19
|
|
|
@@ -39,64 +39,6 @@ const DuetMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
39
39
|
fi: "valittu",
|
|
40
40
|
sv: "vald",
|
|
41
41
|
};
|
|
42
|
-
/**
|
|
43
|
-
* State() variables
|
|
44
|
-
* Inlined decorator, alphabetical order.
|
|
45
|
-
*/
|
|
46
|
-
this.processedItems = [];
|
|
47
|
-
this.checkboxesVisible = false;
|
|
48
|
-
this.activeDescendant = "";
|
|
49
|
-
/**
|
|
50
|
-
* Controls the margin of the component.
|
|
51
|
-
*/
|
|
52
|
-
this.margin = "auto";
|
|
53
|
-
/**
|
|
54
|
-
* Display the select in error state along with an error message.
|
|
55
|
-
*/
|
|
56
|
-
this.error = "";
|
|
57
|
-
/**
|
|
58
|
-
* Expands the input to fill 100% of the container width.
|
|
59
|
-
*/
|
|
60
|
-
this.expand = false;
|
|
61
|
-
/**
|
|
62
|
-
* Value of multiselect
|
|
63
|
-
*/
|
|
64
|
-
this.value = [];
|
|
65
|
-
/**
|
|
66
|
-
* Theme of the select.
|
|
67
|
-
*/
|
|
68
|
-
this.theme = "";
|
|
69
|
-
/**
|
|
70
|
-
* Visually hide the label, but still show it to screen readers.
|
|
71
|
-
*/
|
|
72
|
-
this.labelHidden = false;
|
|
73
|
-
/**
|
|
74
|
-
* Adds a unique identifier for the select.
|
|
75
|
-
*/
|
|
76
|
-
this.identifier = createID("DuetMultiselect");
|
|
77
|
-
/**
|
|
78
|
-
* Hint text to display.
|
|
79
|
-
*/
|
|
80
|
-
this.placeholder = "";
|
|
81
|
-
/**
|
|
82
|
-
* Makes the select component disabled. This prevents users from being able
|
|
83
|
-
* to interact with the select, and conveys its inactive state to assistive
|
|
84
|
-
* technologies.
|
|
85
|
-
*/
|
|
86
|
-
this.disabled = false;
|
|
87
|
-
/**
|
|
88
|
-
* Label for the select.
|
|
89
|
-
*/
|
|
90
|
-
this.label = "label";
|
|
91
|
-
/**
|
|
92
|
-
* Tooltip to display next to the label of the input.
|
|
93
|
-
*/
|
|
94
|
-
this.tooltip = "";
|
|
95
|
-
/**
|
|
96
|
-
* With direction setting you can force the tooltip to always open towards left
|
|
97
|
-
* or right instead of automatically determining the direction.
|
|
98
|
-
*/
|
|
99
|
-
this.tooltipDirection = "auto";
|
|
100
42
|
/**
|
|
101
43
|
* Component event handling.
|
|
102
44
|
*/
|
|
@@ -168,6 +110,23 @@ const DuetMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
168
110
|
this.getOptionIdentifier = (key) => {
|
|
169
111
|
return `${this.identifier}-option-${key}`;
|
|
170
112
|
};
|
|
113
|
+
this.processedItems = [];
|
|
114
|
+
this.checkboxesVisible = false;
|
|
115
|
+
this.activeDescendant = "";
|
|
116
|
+
this.margin = "auto";
|
|
117
|
+
this.error = "";
|
|
118
|
+
this.expand = false;
|
|
119
|
+
this.value = [];
|
|
120
|
+
this.theme = "";
|
|
121
|
+
this.labelHidden = false;
|
|
122
|
+
this.identifier = createID("DuetMultiselect");
|
|
123
|
+
this.placeholder = "";
|
|
124
|
+
this.caption = undefined;
|
|
125
|
+
this.items = undefined;
|
|
126
|
+
this.disabled = false;
|
|
127
|
+
this.label = "label";
|
|
128
|
+
this.tooltip = "";
|
|
129
|
+
this.tooltipDirection = "auto";
|
|
171
130
|
}
|
|
172
131
|
handleFocus(e) {
|
|
173
132
|
const isClickOutside = e.composedPath().every(node => node !== this.element);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, b as Host } from './p-14a163e6.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
|
|
7
7
|
const duetNavCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}";
|
|
@@ -11,10 +11,6 @@ const DuetMenuBar = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
11
11
|
super();
|
|
12
12
|
this.__registerHost();
|
|
13
13
|
this.__attachShadow();
|
|
14
|
-
/**
|
|
15
|
-
* Theme.
|
|
16
|
-
*/
|
|
17
|
-
this.theme = "";
|
|
18
14
|
this.getToolbarDropdowns = () => this.element.querySelectorAll("duet-toolbar-dropdown");
|
|
19
15
|
this.getMenuBarMenus = () => this.element.querySelectorAll("duet-menu-bar-menu");
|
|
20
16
|
this.getActiveMenu = () => this.element.querySelector("duet-menu-bar-menu[active]");
|
|
@@ -45,6 +41,7 @@ const DuetMenuBar = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
45
41
|
}
|
|
46
42
|
});
|
|
47
43
|
};
|
|
44
|
+
this.theme = "";
|
|
48
45
|
}
|
|
49
46
|
/**
|
|
50
47
|
* Component lifecycle events.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-14a163e6.js';
|
|
5
5
|
import { a as actionArrowDownSmall } from './p-115c79b6.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
7
7
|
import { a as getLanguage, g as getLocaleString } from './p-ede854e1.js';
|
|
8
|
-
import { d as defineCustomElement$4 } from './p-
|
|
9
|
-
import { d as defineCustomElement$3 } from './p-
|
|
10
|
-
import { d as defineCustomElement$2 } from './p-
|
|
8
|
+
import { d as defineCustomElement$4 } from './p-88d217a7.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-fddad5df.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-82fec063.js';
|
|
11
11
|
|
|
12
12
|
const duetNotificationDrawerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:48px;color:#00294d;text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:white;border-bottom:1px solid #e1e3e6;border-radius:0;-webkit-appearance:none;appearance:none}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a;background-color:white;border-color:#e4e4e6}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-drawer-toggle:hover{color:#004d80}.duet-theme-turva .duet-drawer-toggle:hover{color:#444445}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:\"\";background:#0077b3;transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-drawer-toggle::after{background:#c60c30}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:#004d80;border-bottom:1px solid #f5f8fa;border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:#444445;border-color:#f5f5f7}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-badge{position:absolute;top:0;right:0;display:inline-block;width:6px;height:6px;background:#f7b228;border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-drawer-badge{background:#faa40f}.duet-drawer-content{display:none;background-color:white;border-bottom:1px solid #e1e3e6}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:white;border-color:#e1e3e6}@media (min-width: 62em){.duet-drawer-content{position:absolute;top:100%;z-index:600;display:block;width:450px;max-height:420px;padding-left:0;overflow-y:auto;visibility:hidden;background-color:white;border:1px solid #e1e3e6;border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0;scrollbar-width:none}.duet-drawer-content::-webkit-scrollbar{display:none}.duet-theme-turva .duet-drawer-content{background-color:white}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}";
|
|
13
13
|
|
|
@@ -17,50 +17,6 @@ const DuetNotificationDrawer$1 = /*@__PURE__*/ proxyCustomElement(class extends
|
|
|
17
17
|
super();
|
|
18
18
|
this.__registerHost();
|
|
19
19
|
this.__attachShadow();
|
|
20
|
-
/**
|
|
21
|
-
* State() variables
|
|
22
|
-
* Inlined decorator, alphabetical order.
|
|
23
|
-
*/
|
|
24
|
-
this.isOpen = false;
|
|
25
|
-
/**
|
|
26
|
-
* Icon to display to the left of the drawer button.
|
|
27
|
-
*/
|
|
28
|
-
this.icon = "";
|
|
29
|
-
/**
|
|
30
|
-
* Label for the drawer button.
|
|
31
|
-
*/
|
|
32
|
-
this.label = "Label";
|
|
33
|
-
/**
|
|
34
|
-
* The currently active language.
|
|
35
|
-
* Used to determine the message displayed when there are no notifications.
|
|
36
|
-
*/
|
|
37
|
-
this.language = getLanguage();
|
|
38
|
-
/**
|
|
39
|
-
* Defaults for accessibleLabelNotifications
|
|
40
|
-
* @default {en: "No notifications", fi: "Ei ilmoituksia", sv: "Inga notifikationer"}
|
|
41
|
-
*/
|
|
42
|
-
this.accessibleLabelNotificationsDefaults = {
|
|
43
|
-
en: "No notifications",
|
|
44
|
-
fi: "Ei ilmoituksia",
|
|
45
|
-
sv: "Inga notifikationer",
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* Adds accessible label for tooltip that is shown for notifications
|
|
49
|
-
* @default {en: "No notifications", fi: "Ei ilmoituksia", sv: "Inga notifikationer"}
|
|
50
|
-
*/
|
|
51
|
-
this.accessibleLabelNotifications = getLocaleString(this.accessibleLabelNotificationsDefaults);
|
|
52
|
-
/**
|
|
53
|
-
* Show a badge that indicates something has changed.
|
|
54
|
-
*/
|
|
55
|
-
this.badge = false;
|
|
56
|
-
/**
|
|
57
|
-
* Theme of the notification drawer.
|
|
58
|
-
*/
|
|
59
|
-
this.theme = "";
|
|
60
|
-
/**
|
|
61
|
-
* Which direction should the drawer open in?
|
|
62
|
-
*/
|
|
63
|
-
this.direction = "left";
|
|
64
20
|
/**
|
|
65
21
|
* Component event handling.
|
|
66
22
|
*/
|
|
@@ -77,6 +33,20 @@ const DuetNotificationDrawer$1 = /*@__PURE__*/ proxyCustomElement(class extends
|
|
|
77
33
|
this.updateNotificationState = () => {
|
|
78
34
|
this.hasNotifications = this.element.children.length > 0;
|
|
79
35
|
};
|
|
36
|
+
this.isOpen = false;
|
|
37
|
+
this.hasNotifications = undefined;
|
|
38
|
+
this.icon = "";
|
|
39
|
+
this.label = "Label";
|
|
40
|
+
this.language = getLanguage();
|
|
41
|
+
this.accessibleLabelNotificationsDefaults = {
|
|
42
|
+
en: "No notifications",
|
|
43
|
+
fi: "Ei ilmoituksia",
|
|
44
|
+
sv: "Inga notifikationer",
|
|
45
|
+
};
|
|
46
|
+
this.accessibleLabelNotifications = getLocaleString(this.accessibleLabelNotificationsDefaults);
|
|
47
|
+
this.badge = false;
|
|
48
|
+
this.theme = "";
|
|
49
|
+
this.direction = "left";
|
|
80
50
|
}
|
|
81
51
|
/**
|
|
82
52
|
* Component lifecycle events.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-14a163e6.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { a as getLanguage, g as getLocaleString } from './p-ede854e1.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-10feffd3.js';
|
|
8
8
|
|
|
9
9
|
const duetNotificationCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-notification{display:block;padding:16px;color:#00294d;cursor:pointer;border-bottom:1px solid #e1e3e6;transition:300ms ease}:host(:last-of-type) .duet-notification{border-bottom:0}.duet-notification.duet-theme-turva{color:#171c3a;border-bottom-color:#e4e4e6}.duet-notification.duet-notification-highlight{font-weight:600;background:#f3f9fc}.duet-notification.duet-notification-highlight.duet-theme-turva{background:#fcf3f4}@media (min-width: 62em){.duet-notification:hover{background:#f3f9fc}.duet-notification:hover.duet-theme-turva{background:#fcf3f4}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-notification-container{position:relative;display:flex}.duet-notification-badge-container{position:relative;width:16px}.duet-notification-badge{position:absolute;top:6px;left:-2px;width:8px;height:8px;background:#0077b3;border-radius:50%}.duet-theme-turva .duet-notification-badge{background:#c60c30}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:#657787;text-align:right;text-transform:uppercase}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:#444445}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}";
|
|
10
10
|
|
|
@@ -13,46 +13,17 @@ const DuetNotification$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
13
13
|
super();
|
|
14
14
|
this.__registerHost();
|
|
15
15
|
this.__attachShadow();
|
|
16
|
-
/**
|
|
17
|
-
* The currently active language.
|
|
18
|
-
* Used for announcing unread notifications to screen readers.
|
|
19
|
-
* @deprecated this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing
|
|
20
|
-
* @default "fi"
|
|
21
|
-
*/
|
|
22
16
|
this.language = getLanguage();
|
|
23
|
-
/**
|
|
24
|
-
* Property to change accessibleLabelUnread defaults on the component.
|
|
25
|
-
* normally you would handle these strings on an application level and override @accessibleLabelUnread when needed
|
|
26
|
-
*/
|
|
27
17
|
this.accessibleLabelUnreadDefaults = {
|
|
28
18
|
en: "Unread",
|
|
29
19
|
fi: "Lukematon",
|
|
30
20
|
sv: "Oläst",
|
|
31
21
|
};
|
|
32
|
-
/**
|
|
33
|
-
* Adds accessible label for tooltip that is shown over unread counter
|
|
34
|
-
* @default { en: "Unread", fi: "Lukematon", sv: "Oläst" }
|
|
35
|
-
*/
|
|
36
22
|
this.accessibleLabelUnread = getLocaleString(this.accessibleLabelUnreadDefaults, this.language);
|
|
37
|
-
/**
|
|
38
|
-
* The url to open on notification click.
|
|
39
|
-
*/
|
|
40
23
|
this.url = "#";
|
|
41
|
-
/**
|
|
42
|
-
* The date of the notification.
|
|
43
|
-
*/
|
|
44
24
|
this.date = "";
|
|
45
|
-
/**
|
|
46
|
-
* Should the notification be visually highlighted?
|
|
47
|
-
*/
|
|
48
25
|
this.highlight = false;
|
|
49
|
-
/**
|
|
50
|
-
* Should the link open in a new window?
|
|
51
|
-
*/
|
|
52
26
|
this.external = false;
|
|
53
|
-
/**
|
|
54
|
-
* Theme of the notification.
|
|
55
|
-
*/
|
|
56
27
|
this.theme = "";
|
|
57
28
|
}
|
|
58
29
|
/**
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-14a163e6.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
import { j as isArrowRightKey, e as isArrowUpKey, f as isArrowDownKey, h as isArrowLeftKey, k as isBackspaceKey } from './p-d8549efe.js';
|
|
8
8
|
import { a as getLanguage, b as getLocale, g as getLocaleString } from './p-ede854e1.js';
|
|
9
|
-
import { d as defineCustomElement$7 } from './p-
|
|
10
|
-
import { d as defineCustomElement$6 } from './p-
|
|
11
|
-
import { d as defineCustomElement$5 } from './p-
|
|
12
|
-
import { d as defineCustomElement$4 } from './p-
|
|
13
|
-
import { d as defineCustomElement$3 } from './p-
|
|
14
|
-
import { d as defineCustomElement$2 } from './p-
|
|
9
|
+
import { d as defineCustomElement$7 } from './p-db135ec9.js';
|
|
10
|
+
import { d as defineCustomElement$6 } from './p-fddad5df.js';
|
|
11
|
+
import { d as defineCustomElement$5 } from './p-737dd784.js';
|
|
12
|
+
import { d as defineCustomElement$4 } from './p-9245c901.js';
|
|
13
|
+
import { d as defineCustomElement$3 } from './p-d2402b45.js';
|
|
14
|
+
import { d as defineCustomElement$2 } from './p-10feffd3.js';
|
|
15
15
|
|
|
16
16
|
var actionAdd={"title":"action-add","tags":"action add plus","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z\"/></svg>"};
|
|
17
17
|
|
|
@@ -102,147 +102,6 @@ const DuetNumberInput$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
102
102
|
this.duetBlur = createEvent(this, "duetBlur", 7);
|
|
103
103
|
this.duetFocus = createEvent(this, "duetFocus", 7);
|
|
104
104
|
this.inputId = createID("DuetInput");
|
|
105
|
-
/**
|
|
106
|
-
* The currently active language. This setting changes the accessible labels to match the
|
|
107
|
-
* chosen language.
|
|
108
|
-
* @deprecated this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing
|
|
109
|
-
* @default "fi"
|
|
110
|
-
*/
|
|
111
|
-
this.language = getLanguage();
|
|
112
|
-
/**
|
|
113
|
-
* Locale used to format the entered value.
|
|
114
|
-
*/
|
|
115
|
-
this.locale = getLocale(this.language).locale;
|
|
116
|
-
/**
|
|
117
|
-
* Unit for the number input.
|
|
118
|
-
*/
|
|
119
|
-
this.unit = getLocale(this.language).money;
|
|
120
|
-
/**
|
|
121
|
-
* Details of the component
|
|
122
|
-
*/
|
|
123
|
-
this.accessibleDetails = undefined;
|
|
124
|
-
/**
|
|
125
|
-
* String of id's that indicate alternative labels elements
|
|
126
|
-
*/
|
|
127
|
-
this.accessibleLabelledBy = undefined;
|
|
128
|
-
/**
|
|
129
|
-
* Aria description the button
|
|
130
|
-
*/
|
|
131
|
-
this.accessibleDescription = undefined;
|
|
132
|
-
/**
|
|
133
|
-
* Defaults for accessibleLive
|
|
134
|
-
* @default {fi: "{current} euroa valittuna", en: "{current} euros selected", sv: "{current} valda euro"}
|
|
135
|
-
*/
|
|
136
|
-
this.accessibleLiveDefaults = {
|
|
137
|
-
fi: "{current} euroa valittuna",
|
|
138
|
-
en: "{current} euros selected",
|
|
139
|
-
sv: "{current} euro valt",
|
|
140
|
-
};
|
|
141
|
-
/**
|
|
142
|
-
* Format of message used to announce current amount when switching between amounts.
|
|
143
|
-
* The string {current} is replaced with the current amount.
|
|
144
|
-
* @default {fi: "{current} euroa valittuna", en: "{current} euros selected", sv: "{current} valda euro"}
|
|
145
|
-
*/
|
|
146
|
-
this.accessibleLive = getLocaleString(this.accessibleLiveDefaults, this.language);
|
|
147
|
-
/**
|
|
148
|
-
* Disables the aria-live messaging used internally in this component. This could be useful when you want to use custom aria-live messages instead.
|
|
149
|
-
*/
|
|
150
|
-
this.accessibleLiveEnabled = true;
|
|
151
|
-
/**
|
|
152
|
-
* Defaults for accessibleAdd
|
|
153
|
-
* @default {fi: "Lisää summaan", en: "Add to the amount", sv: "Lägg till beloppet"}
|
|
154
|
-
*/
|
|
155
|
-
this.accessibleAddDefaults = {
|
|
156
|
-
fi: "Lisää summaan",
|
|
157
|
-
en: "Add to the amount",
|
|
158
|
-
sv: "Lägg till beloppet",
|
|
159
|
-
};
|
|
160
|
-
/**
|
|
161
|
-
* Accessible label for the add button that is read for screen reader users.
|
|
162
|
-
* @default {fi: "Lisää summaan", en: "Add to the amount", sv: "Lägg till beloppet"}
|
|
163
|
-
*/
|
|
164
|
-
this.accessibleAdd = getLocaleString(this.accessibleAddDefaults, this.language);
|
|
165
|
-
/**
|
|
166
|
-
* Defaults for accessibleSubtract
|
|
167
|
-
* @default {fi: "Vähennä summasta", en: "Subtract from the amount", sv: "Dra från beloppet"}
|
|
168
|
-
*/
|
|
169
|
-
this.accessibleSubtractDefaults = {
|
|
170
|
-
fi: "Vähennä summasta",
|
|
171
|
-
en: "Subtract from the amount",
|
|
172
|
-
sv: "Dra från beloppet",
|
|
173
|
-
};
|
|
174
|
-
/**
|
|
175
|
-
* Accessible label for the subtract button that is read for screen reader users.
|
|
176
|
-
* @default {fi: "Vähennä summasta", en: "Subtract from the amount", sv: "Dra från beloppet"}
|
|
177
|
-
*/
|
|
178
|
-
this.accessibleSubtract = getLocaleString(this.accessibleSubtractDefaults, this.language);
|
|
179
|
-
/**
|
|
180
|
-
* Theme of the input.
|
|
181
|
-
*/
|
|
182
|
-
this.theme = "";
|
|
183
|
-
/**
|
|
184
|
-
* Controls the margin of the component.
|
|
185
|
-
*/
|
|
186
|
-
this.margin = "auto";
|
|
187
|
-
/**
|
|
188
|
-
* Expands the input to fill 100% of the container width.
|
|
189
|
-
*/
|
|
190
|
-
this.expand = false;
|
|
191
|
-
/**
|
|
192
|
-
* Minimum value.
|
|
193
|
-
*/
|
|
194
|
-
this.min = 0;
|
|
195
|
-
/**
|
|
196
|
-
* Defaults for Label
|
|
197
|
-
* @default {fi: "Etiketti", en: "Label", sv: "Märka"}
|
|
198
|
-
*/
|
|
199
|
-
this.labelDefaults = {
|
|
200
|
-
fi: "Nimilappu",
|
|
201
|
-
en: "Label",
|
|
202
|
-
sv: "Etikett",
|
|
203
|
-
};
|
|
204
|
-
/**
|
|
205
|
-
* Label for the number input.
|
|
206
|
-
* @default {fi: "Etiketti", en: "Label", sv: "Märka"}
|
|
207
|
-
*/
|
|
208
|
-
this.label = getLocaleString(this.labelDefaults, this.language);
|
|
209
|
-
/**
|
|
210
|
-
* Visually hide the label, but still show it to screen readers.
|
|
211
|
-
*/
|
|
212
|
-
this.labelHidden = false;
|
|
213
|
-
/**
|
|
214
|
-
* Maximum value.
|
|
215
|
-
*/
|
|
216
|
-
this.max = 1000000;
|
|
217
|
-
/**
|
|
218
|
-
* Display the input in error state along with an error message.
|
|
219
|
-
*/
|
|
220
|
-
this.error = "";
|
|
221
|
-
/**
|
|
222
|
-
* Tooltip to display next to the label of the input.
|
|
223
|
-
*/
|
|
224
|
-
this.tooltip = "";
|
|
225
|
-
/**
|
|
226
|
-
* Step amount.
|
|
227
|
-
*/
|
|
228
|
-
this.step = 5000;
|
|
229
|
-
/**
|
|
230
|
-
* Controls whether or not value gets rounded to the nearest
|
|
231
|
-
* multiple of a step on blur. Set to "false" to disable this behaviour.
|
|
232
|
-
*/
|
|
233
|
-
this.rounding = true;
|
|
234
|
-
/**
|
|
235
|
-
* Makes the number input component disabled. This prevents users from being able to
|
|
236
|
-
* interact with the input, and conveys its inactive state to assistive technologies.
|
|
237
|
-
*/
|
|
238
|
-
this.disabled = false;
|
|
239
|
-
/**
|
|
240
|
-
* Set whether the input is required or not. Please note that this is required for
|
|
241
|
-
* accessible inputs when the user is required to fill them. When using this property
|
|
242
|
-
* you need to also set “novalidate” attribute to your form element to prevent
|
|
243
|
-
* browser from displaying its own validation errors.
|
|
244
|
-
*/
|
|
245
|
-
this.required = false;
|
|
246
105
|
/**
|
|
247
106
|
* Component event handling.
|
|
248
107
|
*/
|
|
@@ -382,6 +241,58 @@ const DuetNumberInput$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
382
241
|
this.value = this.localizeValue(newValue);
|
|
383
242
|
this.emitChange(ev);
|
|
384
243
|
};
|
|
244
|
+
this.language = getLanguage();
|
|
245
|
+
this.locale = getLocale(this.language).locale;
|
|
246
|
+
this.unit = getLocale(this.language).money;
|
|
247
|
+
this.focusedValue = undefined;
|
|
248
|
+
this.accessibleActiveDescendant = undefined;
|
|
249
|
+
this.accessibleControls = undefined;
|
|
250
|
+
this.accessibleDetails = undefined;
|
|
251
|
+
this.accessibleLabelledBy = undefined;
|
|
252
|
+
this.accessibleDescription = undefined;
|
|
253
|
+
this.accessibleOwns = undefined;
|
|
254
|
+
this.accessibleDescribedBy = undefined;
|
|
255
|
+
this.accessibleLiveDefaults = {
|
|
256
|
+
fi: "{current} euroa valittuna",
|
|
257
|
+
en: "{current} euros selected",
|
|
258
|
+
sv: "{current} euro valt",
|
|
259
|
+
};
|
|
260
|
+
this.accessibleLive = getLocaleString(this.accessibleLiveDefaults, this.language);
|
|
261
|
+
this.accessibleLiveEnabled = true;
|
|
262
|
+
this.accessibleAddDefaults = {
|
|
263
|
+
fi: "Lisää summaan",
|
|
264
|
+
en: "Add to the amount",
|
|
265
|
+
sv: "Lägg till beloppet",
|
|
266
|
+
};
|
|
267
|
+
this.accessibleAdd = getLocaleString(this.accessibleAddDefaults, this.language);
|
|
268
|
+
this.accessibleSubtractDefaults = {
|
|
269
|
+
fi: "Vähennä summasta",
|
|
270
|
+
en: "Subtract from the amount",
|
|
271
|
+
sv: "Dra från beloppet",
|
|
272
|
+
};
|
|
273
|
+
this.accessibleSubtract = getLocaleString(this.accessibleSubtractDefaults, this.language);
|
|
274
|
+
this.theme = "";
|
|
275
|
+
this.margin = "auto";
|
|
276
|
+
this.expand = false;
|
|
277
|
+
this.identifier = undefined;
|
|
278
|
+
this.min = 0;
|
|
279
|
+
this.labelDefaults = {
|
|
280
|
+
fi: "Nimilappu",
|
|
281
|
+
en: "Label",
|
|
282
|
+
sv: "Etikett",
|
|
283
|
+
};
|
|
284
|
+
this.label = getLocaleString(this.labelDefaults, this.language);
|
|
285
|
+
this.labelHidden = false;
|
|
286
|
+
this.max = 1000000;
|
|
287
|
+
this.name = undefined;
|
|
288
|
+
this.error = "";
|
|
289
|
+
this.tooltip = "";
|
|
290
|
+
this.step = 5000;
|
|
291
|
+
this.rounding = true;
|
|
292
|
+
this.role = undefined;
|
|
293
|
+
this.disabled = false;
|
|
294
|
+
this.required = false;
|
|
295
|
+
this.value = undefined;
|
|
385
296
|
}
|
|
386
297
|
/**
|
|
387
298
|
* Component lifecycle events.
|