@duetds/components 6.2.4 → 6.2.6
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 +2385 -4366
- 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 +52 -153
- 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 +8 -14
- 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 +15 -11
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +28 -26
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +22 -12
- package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -8
- 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 -83
- 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-submenu-bar-dropdown-link.cjs.entry.js +43 -0
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +51 -0
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +37 -0
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +35 -0
- 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 +11 -28
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -14
- package/lib/cjs/duet-toolbar.cjs.entry.js +2 -5
- package/lib/cjs/duet-tooltip.cjs.entry.js +25 -77
- 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-25247ce1.js → focus-utils-0d18f24e.js} +1 -1
- package/lib/cjs/{index-e009343b.js → index-14a34a4b.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 +8 -8
- 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.css +6 -1
- 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.css +2 -0
- 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.css +8 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +62 -43
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +4 -3
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +110 -120
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +10 -2
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +105 -80
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +47 -7
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +108 -77
- 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.css +5 -0
- package/lib/collection/components/duet-nav/duet-nav.js +38 -152
- 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-submenu-bar/duet-submenu-bar.css +37 -0
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +63 -0
- package/lib/collection/components/{duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.css → duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css} +28 -18
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +124 -0
- package/lib/collection/components/{duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.css → duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css} +6 -6
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +143 -0
- package/lib/collection/components/{duet-menu-bar-menu-link/duet-menu-bar-menu-link.css → duet-submenu-bar-link/duet-submenu-bar-link.css} +5 -17
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +101 -0
- 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.css +1 -0
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +38 -38
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +2 -3
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +116 -145
- 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 -401
- 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 +43 -114
- 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 +18 -13
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +30 -28
- package/lib/dist-custom-elements/duet-menu-bar-link.js +24 -13
- package/lib/dist-custom-elements/duet-menu-bar.js +9 -10
- 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 +3 -84
- 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-submenu-bar-dropdown-link.d.ts +11 -0
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +69 -0
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +11 -0
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +75 -0
- package/lib/dist-custom-elements/{duet-menu-bar-menu-link.d.ts → duet-submenu-bar-link.d.ts} +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +61 -0
- package/lib/dist-custom-elements/{duet-menu-bar-menu.d.ts → duet-submenu-bar.d.ts} +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +51 -0
- 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 +13 -30
- package/lib/dist-custom-elements/duet-toolbar-link.js +3 -15
- package/lib/dist-custom-elements/duet-toolbar.js +2 -5
- 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-dcffd5be.js → p-0145dc9f.js} +1 -7
- package/lib/dist-custom-elements/{p-0938933e.js → p-029208b5.js} +20 -71
- package/lib/dist-custom-elements/{p-f674e164.js → p-076044f7.js} +17 -80
- package/lib/dist-custom-elements/{p-c5d74817.js → p-0bc5bea3.js} +2 -22
- package/lib/dist-custom-elements/{p-b4b809ff.js → p-11621a52.js} +33 -109
- package/lib/dist-custom-elements/{p-bd4ab88c.js → p-1c5a0ab0.js} +21 -49
- package/lib/dist-custom-elements/{p-70d1ca9f.js → p-2d3fc462.js} +1 -1
- package/lib/dist-custom-elements/{p-396cb7a5.js → p-2f9f54eb.js} +9 -30
- package/lib/dist-custom-elements/{p-8c0cf877.js → p-31b3a82e.js} +27 -79
- package/lib/dist-custom-elements/{p-29b4f008.js → p-3b1bc8f3.js} +5 -26
- package/lib/dist-custom-elements/{p-c4165359.js → p-4905133d.js} +1 -13
- package/lib/dist-custom-elements/{p-0347f9ec.js → p-49d5f105.js} +1 -1
- package/lib/dist-custom-elements/{p-1302f6e8.js → p-52471a7a.js} +5 -27
- 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-279dedcd.js → p-5846a06a.js} +2 -11
- package/lib/dist-custom-elements/{p-e57df145.js → p-626f0ed7.js} +2 -25
- package/lib/dist-custom-elements/{p-c4d8cad0.js → p-738bd3c5.js} +1 -1
- package/lib/dist-custom-elements/{p-862c60cc.js → p-7b1b2eef.js} +3 -16
- package/lib/dist-custom-elements/{p-6e81048c.js → p-88b72658.js} +30 -70
- package/lib/dist-custom-elements/{p-908c1151.js → p-91098fd5.js} +5 -36
- package/lib/dist-custom-elements/{p-0b8f16f1.js → p-9986919d.js} +1 -1
- package/lib/dist-custom-elements/{p-3fa8edce.js → p-9d08c707.js} +45 -111
- package/lib/dist-custom-elements/{p-4367369a.js → p-a1724291.js} +475 -272
- package/lib/dist-custom-elements/{p-b89983b2.js → p-a5f24f49.js} +1 -10
- package/lib/dist-custom-elements/{p-ed503468.js → p-ab04760e.js} +3 -20
- package/lib/dist-custom-elements/{p-2a509b17.js → p-becb3aa3.js} +2 -21
- package/lib/dist-custom-elements/{p-1fef1f90.js → p-cc5bc0c6.js} +9 -15
- package/lib/dist-custom-elements/{p-464a80f2.js → p-ce42be86.js} +1 -23
- package/lib/dist-custom-elements/{p-e987e04b.js → p-d188f26e.js} +1 -11
- package/lib/dist-custom-elements/{p-4bb2e37b.js → p-db985827.js} +6 -17
- package/lib/dist-custom-elements/{p-d4c234ed.js → p-e2cd1c98.js} +1 -1
- package/lib/dist-custom-elements/{p-b9058029.js → p-e4a60f42.js} +8 -0
- package/lib/dist-custom-elements/{p-9cfc3bee.js → p-e4c2e7eb.js} +14 -46
- package/lib/dist-custom-elements/{p-1f03397c.js → p-f079cc55.js} +7 -30
- package/lib/dist-custom-elements/{p-f51d88cc.js → p-f4d2face.js} +2 -10
- package/lib/dist-custom-elements/{p-ca2b02bc.js → p-fe5341bf.js} +3 -25
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +2 -1
- package/lib/duet/{p-61baccc6.system.entry.js → p-01a95d2f.system.entry.js} +1 -1
- package/lib/duet/p-06a4aee0.system.entry.js +4 -0
- package/lib/duet/{p-3b31184e.js → p-07970d29.js} +0 -0
- package/lib/duet/p-07a46bc0.entry.js +4 -0
- package/lib/duet/p-0818ae38.entry.js +4 -0
- package/lib/duet/{p-a5dcf047.entry.js → p-08f88403.entry.js} +1 -1
- package/lib/duet/{p-2cf9ce9f.system.entry.js → p-140c2b23.system.entry.js} +2 -2
- package/lib/duet/{p-e60b3dc2.entry.js → p-16665db1.entry.js} +1 -1
- package/lib/duet/{p-a585455c.system.entry.js → p-16803126.system.entry.js} +1 -1
- package/lib/duet/{p-71f1a210.system.entry.js → p-18bdd586.system.entry.js} +1 -1
- package/lib/duet/p-1bde084c.entry.js +4 -0
- package/lib/duet/p-1c8bd070.system.entry.js +4 -0
- package/lib/duet/p-1d75f8c8.system.entry.js +4 -0
- package/lib/duet/{p-eb94a92c.system.entry.js → p-1f1ce7cb.system.entry.js} +1 -1
- package/lib/duet/{p-21e8b3cb.system.entry.js → p-250c73cb.system.entry.js} +1 -1
- package/lib/duet/p-25bbc964.system.entry.js +4 -0
- package/lib/duet/p-2821969c.system.entry.js +4 -0
- package/lib/duet/{p-a5f977bc.system.entry.js → p-2ddfb202.system.entry.js} +2 -2
- package/lib/duet/{p-995fe7b5.entry.js → p-2e21973b.entry.js} +1 -1
- package/lib/duet/p-321b7e1b.entry.js +4 -0
- package/lib/duet/{p-71e54f66.system.entry.js → p-38c7c72f.system.entry.js} +1 -1
- package/lib/duet/{p-ace82109.system.entry.js → p-3d2b34f3.system.entry.js} +2 -2
- package/lib/duet/{p-4c7ae11f.system.entry.js → p-3e4a074c.system.entry.js} +1 -1
- package/lib/duet/p-3e4cfd2d.entry.js +4 -0
- package/lib/duet/p-428f4378.entry.js +4 -0
- package/lib/duet/p-44fb0cd4.entry.js +4 -0
- package/lib/duet/{p-15b79ed1.entry.js → p-453bb082.entry.js} +1 -1
- package/lib/duet/{p-465c7f64.system.entry.js → p-476affb5.system.entry.js} +1 -1
- package/lib/duet/p-498a337c.entry.js +4 -0
- package/lib/duet/p-49f74a78.system.entry.js +4 -0
- package/lib/duet/p-4afc265b.entry.js +4 -0
- package/lib/duet/p-4bf9ce5d.entry.js +4 -0
- package/lib/duet/{p-14e5b2e7.system.entry.js → p-4d7701cf.system.entry.js} +1 -1
- package/lib/duet/p-4e5a7d50.entry.js +4 -0
- package/lib/duet/{p-32c587da.entry.js → p-4e669043.entry.js} +1 -1
- package/lib/duet/p-52b1ae9c.entry.js +4 -0
- package/lib/duet/{p-870e88b7.system.entry.js → p-589d18c0.system.entry.js} +1 -1
- package/lib/duet/{p-daa920e3.system.entry.js → p-5be0eb10.system.entry.js} +1 -1
- package/lib/duet/p-5d2799c7.system.entry.js +4 -0
- package/lib/duet/p-5d3d3ef4.entry.js +4 -0
- package/lib/duet/p-5ffa7084.entry.js +4 -0
- package/lib/duet/p-61208b24.system.entry.js +4 -0
- package/lib/duet/p-665fc09a.entry.js +4 -0
- package/lib/duet/{p-fe87f458.system.entry.js → p-6801edc9.system.entry.js} +1 -1
- package/lib/duet/{p-fc200674.system.entry.js → p-68802a44.system.entry.js} +2 -2
- package/lib/duet/p-6ba131a6.entry.js +4 -0
- package/lib/duet/{p-d164cdeb.system.entry.js → p-6dcb5ddf.system.entry.js} +1 -1
- package/lib/duet/{p-2bcf54bb.entry.js → p-71669602.entry.js} +1 -1
- package/lib/duet/p-71b48d4c.entry.js +4 -0
- package/lib/duet/{p-b668b67c.system.js → p-73900354.system.js} +0 -0
- package/lib/duet/p-73b840aa.entry.js +4 -0
- package/lib/duet/{p-caf8cc5f.system.entry.js → p-7758cfac.system.entry.js} +2 -2
- package/lib/duet/p-79740f92.entry.js +4 -0
- package/lib/duet/p-7aa97a75.js +5 -0
- package/lib/duet/{p-66f1bdce.entry.js → p-7c171bac.entry.js} +1 -1
- package/lib/duet/p-7d6c1aee.entry.js +4 -0
- package/lib/duet/p-7e2dd844.system.entry.js +4 -0
- package/lib/duet/p-7e3dd6a8.system.entry.js +4 -0
- package/lib/duet/p-80b2336e.entry.js +4 -0
- package/lib/duet/p-80e9768b.entry.js +4 -0
- package/lib/duet/p-80ee2e1e.entry.js +4 -0
- package/lib/duet/p-821b780e.entry.js +4 -0
- package/lib/duet/{p-f8133fe1.system.entry.js → p-86cc218e.system.entry.js} +2 -2
- package/lib/duet/{p-7ea15c5c.system.entry.js → p-882e9987.system.entry.js} +1 -1
- package/lib/duet/p-88cd99ba.entry.js +4 -0
- package/lib/duet/{p-eb168145.system.js → p-8b50f74e.system.js} +1 -1
- package/lib/duet/p-8bf3f0e9.js +4 -0
- package/lib/duet/p-92867eb0.entry.js +4 -0
- package/lib/duet/{p-e1dc6e7f.system.entry.js → p-93825b5f.system.entry.js} +1 -1
- package/lib/duet/p-9663117c.entry.js +4 -0
- package/lib/duet/{p-93138df9.entry.js → p-96c274ff.entry.js} +1 -1
- package/lib/duet/p-98821736.entry.js +4 -0
- package/lib/duet/{p-1c2bc99b.system.entry.js → p-99577e5e.system.entry.js} +1 -1
- package/lib/duet/{p-9ea3b585.system.entry.js → p-9ab64b1c.system.entry.js} +2 -2
- package/lib/duet/{p-5a61c374.system.entry.js → p-9adf9ec0.system.entry.js} +1 -1
- package/lib/duet/p-9b946c8f.system.entry.js +4 -0
- package/lib/duet/p-9ba30a52.system.entry.js +4 -0
- package/lib/duet/p-9c0ae091.system.js +5 -0
- package/lib/duet/{p-a2d89ed8.system.entry.js → p-9f02fd3a.system.entry.js} +1 -1
- package/lib/duet/p-a03ec953.system.entry.js +4 -0
- package/lib/duet/{p-aa10446f.system.entry.js → p-a238f10c.system.entry.js} +1 -1
- package/lib/duet/p-a259e3da.system.entry.js +4 -0
- package/lib/duet/p-a345635b.system.entry.js +4 -0
- package/lib/duet/p-a5a7be5e.entry.js +4 -0
- package/lib/duet/{p-b09e3f47.system.entry.js → p-a5af4cc5.system.entry.js} +1 -1
- package/lib/duet/{p-c8ba8ed5.system.entry.js → p-b20f40db.system.entry.js} +1 -1
- package/lib/duet/p-b21e895c.entry.js +4 -0
- package/lib/duet/{p-0734bdd5.system.entry.js → p-b31232db.system.entry.js} +1 -1
- package/lib/duet/{p-5d9ec5ef.entry.js → p-b3fd554a.entry.js} +1 -1
- package/lib/duet/p-b5ee9c33.system.entry.js +4 -0
- package/lib/duet/{p-ed024bd6.entry.js → p-b624c8ec.entry.js} +1 -1
- package/lib/duet/{p-617872b5.system.entry.js → p-b68e7921.system.entry.js} +1 -1
- package/lib/duet/p-b8adb02e.entry.js +4 -0
- package/lib/duet/{p-37b5759b.entry.js → p-bb33769c.entry.js} +1 -1
- package/lib/duet/p-bfab9d81.entry.js +4 -0
- package/lib/duet/{p-fc2cda87.system.entry.js → p-c33cfdf4.system.entry.js} +2 -2
- package/lib/duet/p-c346b2c2.system.entry.js +4 -0
- package/lib/duet/{p-fe0cb2a5.entry.js → p-ccae1572.entry.js} +1 -1
- package/lib/duet/p-cdbad668.system.js +4 -0
- package/lib/duet/{p-41110e9b.system.entry.js → p-ce6d729c.system.entry.js} +1 -1
- package/lib/duet/{p-ce3fc2bd.entry.js → p-cf202e49.entry.js} +1 -1
- package/lib/duet/p-d3a8e2e6.entry.js +4 -0
- package/lib/duet/{p-176c64c4.system.entry.js → p-d3b1d4dc.system.entry.js} +1 -1
- package/lib/duet/p-d6045a19.entry.js +4 -0
- package/lib/duet/{p-a629e72a.system.entry.js → p-d64a3684.system.entry.js} +1 -1
- package/lib/duet/{p-ff46ec81.system.js → p-da0d4ee3.system.js} +0 -0
- package/lib/duet/p-daa9f332.system.entry.js +4 -0
- package/lib/duet/{p-436b415a.system.entry.js → p-dd594b0c.system.entry.js} +1 -1
- package/lib/duet/{p-15743dbe.system.entry.js → p-df2f8d6d.system.entry.js} +1 -1
- package/lib/duet/{p-d4c234ed.js → p-e2cd1c98.js} +0 -0
- package/lib/duet/p-e2f77664.entry.js +4 -0
- package/lib/duet/p-e651e225.entry.js +4 -0
- package/lib/duet/p-e6f8fb38.entry.js +4 -0
- package/lib/duet/p-e78f9d3b.entry.js +4 -0
- package/lib/duet/p-e8da082b.entry.js +4 -0
- package/lib/duet/{p-fc34b8a0.system.entry.js → p-e9259242.system.entry.js} +1 -1
- package/lib/duet/p-ea769354.entry.js +4 -0
- package/lib/duet/{p-67a7ac4f.entry.js → p-efbe9082.entry.js} +1 -1
- package/lib/duet/{p-8755500b.entry.js → p-f17dd3be.entry.js} +1 -1
- package/lib/duet/{p-ad0cf0f5.system.entry.js → p-f1d8bc66.system.entry.js} +2 -2
- package/lib/duet/p-f3f652cb.entry.js +4 -0
- package/lib/duet/{p-db64d031.system.entry.js → p-f6665a9b.system.entry.js} +1 -1
- package/lib/duet/p-fb7e3c61.entry.js +4 -0
- 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 +52 -153
- 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 +8 -14
- 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 +15 -11
- package/lib/esm/duet-menu-bar-dropdown.entry.js +28 -26
- package/lib/esm/duet-menu-bar-link.entry.js +22 -12
- package/lib/esm/duet-menu-bar.entry.js +6 -8
- 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 -83
- 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-submenu-bar-dropdown-link.entry.js +39 -0
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +47 -0
- package/lib/esm/duet-submenu-bar-link.entry.js +33 -0
- package/lib/esm/duet-submenu-bar.entry.js +31 -0
- 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 +11 -28
- package/lib/esm/duet-toolbar-link.entry.js +2 -14
- package/lib/esm/duet-toolbar.entry.js +2 -5
- package/lib/esm/duet-tooltip.entry.js +25 -77
- 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-c6e25a2b.js → focus-utils-25584abb.js} +1 -1
- package/lib/esm/{index-adbabdb3.js → index-f74e4d6a.js} +1438 -1235
- package/lib/esm/loader.js +3 -3
- package/lib/esm/polyfills/css-shim.js +1 -1
- package/lib/esm/{shadow-css-501eda9a.js → 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 +2 -2
- 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 +1 -1
- 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.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 +1 -1
- 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-submenu-bar-dropdown-link.entry.js +4 -0
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +4 -0
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +4 -0
- package/lib/esm-es5/duet-submenu-bar.entry.js +4 -0
- 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 +2 -2
- 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-25584abb.js +4 -0
- package/lib/esm-es5/index-f74e4d6a.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/components/duet-menu-bar/duet-menu-bar.d.ts +4 -0
- package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +2 -16
- package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +5 -0
- package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +5 -0
- package/lib/types/components/duet-nav/duet-nav.d.ts +0 -18
- package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +24 -0
- package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +34 -0
- package/lib/types/components/{duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.d.ts → duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.d.ts} +1 -1
- package/lib/types/components/{duet-menu-bar-menu-link/duet-menu-bar-menu-link.d.ts → duet-submenu-bar-link/duet-submenu-bar-link.d.ts} +1 -5
- package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +1 -16
- package/lib/types/components.d.ts +158 -194
- package/lib/types/stencil-public-runtime.d.ts +20 -4
- package/package.json +8 -10
- package/lib/cjs/duet-menu-bar-menu-dropdown-link.cjs.entry.js +0 -58
- package/lib/cjs/duet-menu-bar-menu-dropdown.cjs.entry.js +0 -65
- package/lib/cjs/duet-menu-bar-menu-link.cjs.entry.js +0 -50
- package/lib/cjs/duet-menu-bar-menu.cjs.entry.js +0 -65
- package/lib/collection/components/duet-menu-bar-menu/duet-menu-bar-menu.css +0 -113
- package/lib/collection/components/duet-menu-bar-menu/duet-menu-bar-menu.js +0 -147
- package/lib/collection/components/duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.js +0 -150
- package/lib/collection/components/duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.js +0 -156
- package/lib/collection/components/duet-menu-bar-menu-link/duet-menu-bar-menu-link.js +0 -129
- package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown-link.js +0 -84
- package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown.js +0 -89
- package/lib/dist-custom-elements/duet-menu-bar-menu-link.js +0 -75
- package/lib/dist-custom-elements/duet-menu-bar-menu.js +0 -83
- package/lib/duet/p-03ac8c12.entry.js +0 -4
- package/lib/duet/p-0b0b1a31.js +0 -4
- package/lib/duet/p-1b3fc470.system.entry.js +0 -4
- package/lib/duet/p-1b4da2a6.entry.js +0 -4
- package/lib/duet/p-22793750.entry.js +0 -4
- package/lib/duet/p-2482298d.entry.js +0 -4
- package/lib/duet/p-2be7affe.system.entry.js +0 -4
- package/lib/duet/p-2e2eca0e.entry.js +0 -4
- package/lib/duet/p-2e71b284.system.js +0 -4
- package/lib/duet/p-3198246d.system.entry.js +0 -4
- package/lib/duet/p-31a8380d.entry.js +0 -4
- package/lib/duet/p-3d96bd35.entry.js +0 -4
- package/lib/duet/p-48d5c614.entry.js +0 -4
- package/lib/duet/p-4fd9fab5.entry.js +0 -4
- package/lib/duet/p-526c88d9.system.entry.js +0 -4
- package/lib/duet/p-570786a7.system.entry.js +0 -4
- package/lib/duet/p-5bbac6e9.system.entry.js +0 -4
- package/lib/duet/p-5be11a3f.entry.js +0 -4
- package/lib/duet/p-6198dd87.entry.js +0 -4
- package/lib/duet/p-6226ebc9.entry.js +0 -4
- package/lib/duet/p-6ef4c26f.system.entry.js +0 -4
- package/lib/duet/p-73b1bfff.system.js +0 -5
- package/lib/duet/p-74a85e06.entry.js +0 -4
- package/lib/duet/p-74edab4b.system.entry.js +0 -4
- package/lib/duet/p-7ac15184.system.entry.js +0 -4
- package/lib/duet/p-7e0d3659.entry.js +0 -4
- package/lib/duet/p-8e12f166.entry.js +0 -4
- package/lib/duet/p-8e83ab80.entry.js +0 -4
- package/lib/duet/p-925f5739.entry.js +0 -4
- package/lib/duet/p-9e5192fd.entry.js +0 -4
- package/lib/duet/p-a4575910.entry.js +0 -4
- package/lib/duet/p-a57f8242.entry.js +0 -4
- package/lib/duet/p-aeee20b5.system.entry.js +0 -4
- package/lib/duet/p-b0fa24ea.system.entry.js +0 -4
- package/lib/duet/p-b252c6c7.entry.js +0 -4
- package/lib/duet/p-b28b7458.entry.js +0 -4
- package/lib/duet/p-bb2dab53.system.entry.js +0 -4
- package/lib/duet/p-bbc7c22c.js +0 -5
- package/lib/duet/p-bce4669c.entry.js +0 -4
- package/lib/duet/p-bf165746.entry.js +0 -4
- package/lib/duet/p-bf4e00b1.system.entry.js +0 -4
- package/lib/duet/p-c0732300.system.entry.js +0 -4
- package/lib/duet/p-c4375ca3.entry.js +0 -4
- package/lib/duet/p-c4f57811.entry.js +0 -4
- package/lib/duet/p-cd5358ce.entry.js +0 -4
- package/lib/duet/p-d1da9fe1.system.entry.js +0 -4
- package/lib/duet/p-d448c7fc.system.entry.js +0 -4
- package/lib/duet/p-d770b87e.entry.js +0 -4
- package/lib/duet/p-d7d944f5.entry.js +0 -4
- package/lib/duet/p-d7fa0c7c.entry.js +0 -4
- package/lib/duet/p-d83f8247.entry.js +0 -4
- package/lib/duet/p-dc9b21ad.entry.js +0 -4
- package/lib/duet/p-dcf2df11.entry.js +0 -4
- package/lib/duet/p-de024983.entry.js +0 -4
- package/lib/duet/p-e01e9f71.entry.js +0 -4
- package/lib/duet/p-e7196c1b.system.entry.js +0 -4
- package/lib/duet/p-e7808045.entry.js +0 -4
- package/lib/duet/p-e9cf0568.entry.js +0 -4
- package/lib/duet/p-ebbe496d.entry.js +0 -4
- package/lib/duet/p-f015180c.entry.js +0 -4
- package/lib/duet/p-f084d355.system.entry.js +0 -4
- package/lib/duet/p-f0e4ccb6.entry.js +0 -4
- package/lib/duet/p-f0f8a1fd.entry.js +0 -4
- package/lib/duet/p-f5149c67.entry.js +0 -4
- package/lib/esm/duet-menu-bar-menu-dropdown-link.entry.js +0 -54
- package/lib/esm/duet-menu-bar-menu-dropdown.entry.js +0 -61
- package/lib/esm/duet-menu-bar-menu-link.entry.js +0 -46
- package/lib/esm/duet-menu-bar-menu.entry.js +0 -61
- package/lib/esm-es5/duet-menu-bar-menu-dropdown-link.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-menu-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-menu-link.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-menu.entry.js +0 -4
- package/lib/esm-es5/focus-utils-c6e25a2b.js +0 -4
- package/lib/esm-es5/index-adbabdb3.js +0 -5
- package/lib/types/components/duet-menu-bar-menu/duet-menu-bar-menu.d.ts +0 -49
- package/lib/types/components/duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.d.ts +0 -49
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-
|
|
4
|
+
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-f74e4d6a.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
6
|
import { f as fieldSorter, d as debounce } from './js-utils-fa98b8cd.js';
|
|
7
7
|
import { i as isKeyboardClick } from './keyboard-utils-88ea1007.js';
|
|
@@ -29,69 +29,6 @@ const DuetEditableTable = class {
|
|
|
29
29
|
registerInstance(this, hostRef);
|
|
30
30
|
this.duetTableToggle = createEvent(this, "duetTableToggle", 7);
|
|
31
31
|
this.duetMenuClick = createEvent(this, "duetMenuClick", 7);
|
|
32
|
-
/**
|
|
33
|
-
* Duet-table: margin of the component.
|
|
34
|
-
*/
|
|
35
|
-
this.margin = "auto";
|
|
36
|
-
/**
|
|
37
|
-
* Duet-table: Style variation of the table.
|
|
38
|
-
*/
|
|
39
|
-
this.variation = "striped";
|
|
40
|
-
/**
|
|
41
|
-
* Duet-table: Controls whether the table has a sticky header.
|
|
42
|
-
* Sticky headers are not compatible with breakpoint="none-scrollable".
|
|
43
|
-
*/
|
|
44
|
-
this.sticky = false;
|
|
45
|
-
/**
|
|
46
|
-
* Duet-table: Adjust the distance from top of the viewport (in pixels) when the
|
|
47
|
-
* table header becomes sticky.
|
|
48
|
-
*/
|
|
49
|
-
this.stickyDistance = "with-links";
|
|
50
|
-
/**
|
|
51
|
-
* Duet-table: By default the table is responsive - it will be flattened at narrow viewport widths.
|
|
52
|
-
* This prop controls the breakpoint at which the table should be rendered as a _regular_ table.
|
|
53
|
-
* Set to "none" to disable the responsive functionality.
|
|
54
|
-
* Set to "none-scrollable" to disable responsive functionality _and_ allow horizontal scrolling -
|
|
55
|
-
* this is useful for comparison tables where it's important to maintain column and row layout.
|
|
56
|
-
*/
|
|
57
|
-
this.breakpoint = "small";
|
|
58
|
-
/**
|
|
59
|
-
* Define actions for all items in a table
|
|
60
|
-
* An alternative to inline HTML table.
|
|
61
|
-
* required for Sortable tables
|
|
62
|
-
* @default undefined
|
|
63
|
-
*/
|
|
64
|
-
this.actions = undefined;
|
|
65
|
-
/**
|
|
66
|
-
* Define columns for a table
|
|
67
|
-
* An alternative to inline HTML table.
|
|
68
|
-
* required for Sortable tables
|
|
69
|
-
* @default undefined
|
|
70
|
-
*/
|
|
71
|
-
this.columns = undefined;
|
|
72
|
-
/**
|
|
73
|
-
* Define rows for a table
|
|
74
|
-
* An alternative to inline HTML table.
|
|
75
|
-
* required for Sortable tables
|
|
76
|
-
* @default undefined
|
|
77
|
-
*/
|
|
78
|
-
this.rows = undefined;
|
|
79
|
-
/**
|
|
80
|
-
* Controls whether the table is sortable by headers
|
|
81
|
-
*/
|
|
82
|
-
this.sortable = false;
|
|
83
|
-
/**
|
|
84
|
-
* Optional id that get passed to the table and used to setup ::parts
|
|
85
|
-
*/
|
|
86
|
-
this.groupId = "";
|
|
87
|
-
/**
|
|
88
|
-
* Theme of the table.
|
|
89
|
-
*/
|
|
90
|
-
this.theme = "";
|
|
91
|
-
/**
|
|
92
|
-
* Exposes the aria role for optimizing accessibility.
|
|
93
|
-
*/
|
|
94
|
-
this.accessibleRole = undefined;
|
|
95
32
|
this.sortableDefaultLabel = {
|
|
96
33
|
fi: "Järjestä",
|
|
97
34
|
en: "Click to sort",
|
|
@@ -122,6 +59,18 @@ const DuetEditableTable = class {
|
|
|
122
59
|
this.toggleColumn(column, e);
|
|
123
60
|
}
|
|
124
61
|
};
|
|
62
|
+
this.margin = "auto";
|
|
63
|
+
this.variation = "striped";
|
|
64
|
+
this.sticky = false;
|
|
65
|
+
this.stickyDistance = "with-links";
|
|
66
|
+
this.breakpoint = "small";
|
|
67
|
+
this.actions = undefined;
|
|
68
|
+
this.columns = undefined;
|
|
69
|
+
this.rows = undefined;
|
|
70
|
+
this.sortable = false;
|
|
71
|
+
this.groupId = "";
|
|
72
|
+
this.theme = "";
|
|
73
|
+
this.accessibleRole = undefined;
|
|
125
74
|
}
|
|
126
75
|
/**
|
|
127
76
|
* Component lifecycle events.
|
|
@@ -235,39 +184,16 @@ const stickyTopValues = {
|
|
|
235
184
|
const DuetTable = class {
|
|
236
185
|
constructor(hostRef) {
|
|
237
186
|
registerInstance(this, hostRef);
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
187
|
+
this.handleMediaQueryChange = (mq) => {
|
|
188
|
+
this.matchesBreakpoint = mq.matches;
|
|
189
|
+
};
|
|
241
190
|
this.matchesBreakpoint = true;
|
|
242
|
-
|
|
243
|
-
* Controls the margin of the component.
|
|
244
|
-
*/
|
|
191
|
+
this.theme = undefined;
|
|
245
192
|
this.margin = "auto";
|
|
246
|
-
/**
|
|
247
|
-
* Style variation of the table.
|
|
248
|
-
*/
|
|
249
193
|
this.variation = "striped";
|
|
250
|
-
/**
|
|
251
|
-
* Controls whether the table has a sticky header.
|
|
252
|
-
* Sticky headers are not compatible with breakpoint="none-scrollable".
|
|
253
|
-
*/
|
|
254
194
|
this.sticky = false;
|
|
255
|
-
/**
|
|
256
|
-
* Adjust the distance from top of the viewport (in pixels) when the
|
|
257
|
-
* table header becomes sticky.
|
|
258
|
-
*/
|
|
259
195
|
this.stickyDistance = "with-links";
|
|
260
|
-
/**
|
|
261
|
-
* By default the table is responsive - it will be flattened at narrow viewport widths.
|
|
262
|
-
* This prop controls the breakpoint at which the table should be rendered as a _regular_ table.
|
|
263
|
-
* Set to "none" to disable the responsive functionality.
|
|
264
|
-
* Set to "none-scrollable" to disable responsive functionality _and_ allow horizontal scrolling -
|
|
265
|
-
* this is useful for comparison tables where it's important to maintain column and row layout.
|
|
266
|
-
*/
|
|
267
196
|
this.breakpoint = "small";
|
|
268
|
-
this.handleMediaQueryChange = (mq) => {
|
|
269
|
-
this.matchesBreakpoint = mq.matches;
|
|
270
|
-
};
|
|
271
197
|
}
|
|
272
198
|
connectedCallback() {
|
|
273
199
|
const token = this.breakpoint === "none" || this.breakpoint === "none-scrollable" ? "all" : breakpointToToken[this.breakpoint];
|
|
@@ -692,280 +618,6 @@ const DuetUpload = class {
|
|
|
692
618
|
this.duetCancel = createEvent(this, "duetCancel", 3);
|
|
693
619
|
this.duetProgress = createEvent(this, "duetProgress", 3);
|
|
694
620
|
this.duetUpload = createEvent(this, "duetUpload", 3);
|
|
695
|
-
/**
|
|
696
|
-
* State() variables
|
|
697
|
-
*/
|
|
698
|
-
this.tick = Date.now();
|
|
699
|
-
/**
|
|
700
|
-
* If external is set to true, the upload component will not actually upload the files, but only keep states
|
|
701
|
-
* it will be up to you to handle the upload and return progress information to the upload-component
|
|
702
|
-
*/
|
|
703
|
-
this.external = false;
|
|
704
|
-
/**
|
|
705
|
-
* If internal upload method is used, and this has been set to a function - it will be called with the XHR options before the reqeust is sent, return an updated XHR options object in order to manipulate the request
|
|
706
|
-
*/
|
|
707
|
-
this.middleware = null;
|
|
708
|
-
/**
|
|
709
|
-
* If defer-upload is true, duet-upload will not (as recommended) instantly upload files but await a call to uploadPending()
|
|
710
|
-
*/
|
|
711
|
-
this.deferUpload = false;
|
|
712
|
-
/**
|
|
713
|
-
* If set the upload component will not display an upload button, you will have to create one yourself
|
|
714
|
-
* and call the exposed method startUpload to open the upload dialog
|
|
715
|
-
*/
|
|
716
|
-
this.hideButton = false;
|
|
717
|
-
/**
|
|
718
|
-
* Default actions added to the internally used duet-editable-table
|
|
719
|
-
*/
|
|
720
|
-
this.actions = [
|
|
721
|
-
{
|
|
722
|
-
icon: "action-delete",
|
|
723
|
-
color: "color-danger",
|
|
724
|
-
size: "x-small",
|
|
725
|
-
background: "gray-lightest",
|
|
726
|
-
name: "delete",
|
|
727
|
-
map: ["success", "failure"],
|
|
728
|
-
label: {
|
|
729
|
-
fi: "Poista tiedosto",
|
|
730
|
-
en: "Poista tiedosto",
|
|
731
|
-
sv: "Ta bort filen",
|
|
732
|
-
},
|
|
733
|
-
},
|
|
734
|
-
{
|
|
735
|
-
icon: "navigation-close",
|
|
736
|
-
color: "primary",
|
|
737
|
-
size: "x-small",
|
|
738
|
-
background: "gray-lightest",
|
|
739
|
-
name: "cancel",
|
|
740
|
-
map: ["inprogress", "pending"],
|
|
741
|
-
label: {
|
|
742
|
-
fi: "Keskeytä lähetys",
|
|
743
|
-
en: "Cancel the upload",
|
|
744
|
-
sv: "Stop överföringen",
|
|
745
|
-
},
|
|
746
|
-
},
|
|
747
|
-
];
|
|
748
|
-
/**
|
|
749
|
-
* If enabled the editable-table will display links on successfully uploaded items,
|
|
750
|
-
* this requires the server can respond with link URIs in the correct format
|
|
751
|
-
* and that the files are accessible to the user
|
|
752
|
-
*/
|
|
753
|
-
this.showLinks = false;
|
|
754
|
-
/**
|
|
755
|
-
* Property to change the aria upload progress text read aloud by screenreaders
|
|
756
|
-
* @default {
|
|
757
|
-
* fi: {
|
|
758
|
-
* inProgress: "Lähetetään {filesUploaded} lähetettävästä {filesTotal} tiedostosta",
|
|
759
|
-
* inProgressWithErrors:
|
|
760
|
-
* "Lähetetään {filesInProgress} tiedostoa, lähetetty {filesUploaded} lähetettävästä {filesTotal} tiedostosta, {filesWithErrors} tiedostossa on virheitä",
|
|
761
|
-
* done: "Kaikki {filesTotal} tiedostoa lähetetty onnistuneesti",
|
|
762
|
-
* doneWithErrors:
|
|
763
|
-
* "Lähetys valmis, {filesUploaded} tiedostoa on lähetetty onnistuneesti, {filesWithErrors} tiedostossa oli virheitä",
|
|
764
|
-
* files: "tiedostot",
|
|
765
|
-
* file: "tiedosto",
|
|
766
|
-
* },
|
|
767
|
-
* sv: {
|
|
768
|
-
* inProgress: "Adding {filesUploaded} of {filesTotal}",
|
|
769
|
-
* inProgressWithErrors:
|
|
770
|
-
* "Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",
|
|
771
|
-
* done: "Alla {filesTotal} har lagts till",
|
|
772
|
-
* doneWithErrors: "Handling slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",
|
|
773
|
-
* files: "filer",
|
|
774
|
-
* file: "fil",
|
|
775
|
-
* },
|
|
776
|
-
* en: {
|
|
777
|
-
* inProgress: "Adding {filesUploaded} of {filesTotal}",
|
|
778
|
-
* inProgressWithErrors:
|
|
779
|
-
* "Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",
|
|
780
|
-
* done: "All {filesTotal} added successfully",
|
|
781
|
-
* doneWithErrors: "Action completed, {filesUploaded} has been added successfully, {filesWithErrors} had errors",
|
|
782
|
-
* files: "tiedostoa",
|
|
783
|
-
* file: "tiedosto",
|
|
784
|
-
* },
|
|
785
|
-
* }
|
|
786
|
-
*/
|
|
787
|
-
this.statusLabelDefaults = {
|
|
788
|
-
fi: {
|
|
789
|
-
inProgress: "Lähetetään {filesUploaded} lähetettävästä {filesTotal} tiedostosta",
|
|
790
|
-
inProgressWithErrors: "Lähetetään {filesInProgress} tiedostoa, lähetetty {filesUploaded} lähetettävästä {filesTotal} tiedostosta, {filesWithErrors} tiedostossa on virheitä",
|
|
791
|
-
done: "Kaikki {filesTotal} tiedostoa lähetetty onnistuneesti",
|
|
792
|
-
doneWithErrors: "Lähetys valmis, {filesUploaded} tiedostoa on lähetetty onnistuneesti, {filesWithErrors} tiedostossa oli virheitä",
|
|
793
|
-
files: "tiedostot",
|
|
794
|
-
file: "tiedosto",
|
|
795
|
-
},
|
|
796
|
-
sv: {
|
|
797
|
-
inProgress: "Adding {filesUploaded} of {filesTotal}",
|
|
798
|
-
inProgressWithErrors: "Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",
|
|
799
|
-
done: "Alla {filesTotal} har lagts till",
|
|
800
|
-
doneWithErrors: "Handling slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",
|
|
801
|
-
files: "filer",
|
|
802
|
-
file: "fil",
|
|
803
|
-
},
|
|
804
|
-
en: {
|
|
805
|
-
inProgress: "Adding {filesUploaded} of {filesTotal}",
|
|
806
|
-
inProgressWithErrors: "Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",
|
|
807
|
-
done: "All {filesTotal} added successfully",
|
|
808
|
-
doneWithErrors: "Action completed, {filesUploaded} has been added successfully, {filesWithErrors} had errors",
|
|
809
|
-
files: "File",
|
|
810
|
-
file: "file",
|
|
811
|
-
},
|
|
812
|
-
};
|
|
813
|
-
/**
|
|
814
|
-
* Strings used for the status aria-label
|
|
815
|
-
*/
|
|
816
|
-
this.statusMessageLabel = getLocaleString(this.statusLabelDefaults);
|
|
817
|
-
/**
|
|
818
|
-
* Property to change button label defaults on the component.
|
|
819
|
-
* @default {
|
|
820
|
-
fi: "Lisää liite",
|
|
821
|
-
sv: "Lägg till en bilaga",
|
|
822
|
-
en: "Add an attachment",
|
|
823
|
-
}
|
|
824
|
-
*/
|
|
825
|
-
this.buttonLabelDefaults = {
|
|
826
|
-
fi: "Lisää liite",
|
|
827
|
-
sv: "Lägg till en bilaga",
|
|
828
|
-
en: "Add an attachment",
|
|
829
|
-
};
|
|
830
|
-
/**
|
|
831
|
-
* Label of button
|
|
832
|
-
* @default { fi: "Lisää liite", sv: "Lägg till en bilaga", en: "Add an attachment" }
|
|
833
|
-
*/
|
|
834
|
-
this.buttonLabel = getLocaleString(this.buttonLabelDefaults);
|
|
835
|
-
/**
|
|
836
|
-
* accessible aria-Label of button
|
|
837
|
-
*/
|
|
838
|
-
this.accessibleButtonLabel = undefined;
|
|
839
|
-
/**
|
|
840
|
-
* Theme of the input.
|
|
841
|
-
*/
|
|
842
|
-
this.theme = "";
|
|
843
|
-
/**
|
|
844
|
-
* Makes the input component disabled. This prevents users from being able to
|
|
845
|
-
* interact with the upload component, and conveys its inactive state to assistive technologies.
|
|
846
|
-
*/
|
|
847
|
-
this.disabled = false;
|
|
848
|
-
/**
|
|
849
|
-
* Controls the margin of the component.
|
|
850
|
-
*/
|
|
851
|
-
this.margin = "auto";
|
|
852
|
-
/**
|
|
853
|
-
* Set whether the input is required or not. Please note that this is necessary for
|
|
854
|
-
* accessible inputs when the user is required to fill them. When using this property
|
|
855
|
-
* you need to also set “novalidate” attribute to your form element to prevent
|
|
856
|
-
* browser from displaying its own validation errors.
|
|
857
|
-
*/
|
|
858
|
-
this.required = false;
|
|
859
|
-
/**
|
|
860
|
-
* Key used to set vertical alignment of action buttons
|
|
861
|
-
*/
|
|
862
|
-
this.alignment = "middle";
|
|
863
|
-
/**
|
|
864
|
-
* Visually hides the groups labels in the editable table list used to display the list of files
|
|
865
|
-
*/
|
|
866
|
-
this.hideGroups = false;
|
|
867
|
-
/**
|
|
868
|
-
* Map of string that contain list of uploaded files.
|
|
869
|
-
*/
|
|
870
|
-
this.files = new Map();
|
|
871
|
-
/**
|
|
872
|
-
* Property to read if the internally used editable-table contains errors or not
|
|
873
|
-
*/
|
|
874
|
-
this.valid = !this.required;
|
|
875
|
-
/**
|
|
876
|
-
* Property to change labelDefaults defaults on the component.
|
|
877
|
-
* normally you would handle these strings on an application level and override @label when needed
|
|
878
|
-
* @default { fi: "Lisää liite",sv: "Lägg till en bilaga",en: "Add attachments"}
|
|
879
|
-
*/
|
|
880
|
-
this.labelDefaults = {
|
|
881
|
-
fi: "Lisää liite",
|
|
882
|
-
sv: "Lägg till en bilaga",
|
|
883
|
-
en: "Add attachments",
|
|
884
|
-
};
|
|
885
|
-
/**
|
|
886
|
-
* Label for the input.
|
|
887
|
-
* @default { fi: "Lisää liite",sv: "Lägg till en bilaga",en: "Add attachments"}
|
|
888
|
-
*/
|
|
889
|
-
this.label = getLocaleString(this.labelDefaults);
|
|
890
|
-
/**
|
|
891
|
-
* Property to change descriptionDefaults defaults on the component.
|
|
892
|
-
* @default {
|
|
893
|
-
* en: "You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytestotal} of files at a time, and add up to {maxfiles} attachments at a time each no larger than {maxbytes}.",
|
|
894
|
-
* sv: "Du kan bifoga följande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer åt gången, och lägga till upp till {maxfiles} bilagor åt gången varje inte större än {maxbytes}.",
|
|
895
|
-
* fi: "Voit liittää seuraavat tiedostotyypit: {filetypes} - sekä yleisimmät videotiedostot. Voit lähettää {maxbytestotal} tiedostoa kerrallaan, ja lisätä enintään {maxfiles} liitettä kerrallaan, jokainen enintään {maxbytes} kokoisena.",
|
|
896
|
-
* }
|
|
897
|
-
*/
|
|
898
|
-
this.descriptionDefaults = {
|
|
899
|
-
en: "You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytestotal} of files at a time, and add up to {maxfiles} attachments at a time each no larger than {maxbytes}.",
|
|
900
|
-
sv: "Du kan bifoga följande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer åt gången, och lägga till upp till {maxfiles} bilagor åt gången varje inte större än {maxbytes}.",
|
|
901
|
-
fi: "Voit liittää seuraavat tiedostotyypit: {filetypes} - sekä yleisimmät videotiedostot. Voit lähettää {maxbytestotal} tiedostoa kerrallaan, ja lisätä enintään {maxfiles} liitettä kerrallaan, jokainen enintään {maxbytes} kokoisena.",
|
|
902
|
-
};
|
|
903
|
-
/**
|
|
904
|
-
* Description for the upload component.
|
|
905
|
-
* @default {
|
|
906
|
-
* en: "You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytestotal} of files at a time, and add up to {maxfiles} attachments at a time each no larger than {maxbytes}.",
|
|
907
|
-
* sv: "Du kan bifoga följande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer åt gången, och lägga till upp till {maxfiles} bilagor åt gången varje inte större än {maxbytes}.",
|
|
908
|
-
* fi: "Voit liittää seuraavat tiedostotyypit: {filetypes} - sekä yleisimmät videotiedostot. Voit lähettää {maxbytestotal} tiedostoa kerrallaan, ja lisätä enintään {maxfiles} liitettä kerrallaan, jokainen enintään {maxbytes} kokoisena.",
|
|
909
|
-
* }
|
|
910
|
-
*/
|
|
911
|
-
this.description = getLocaleString(this.descriptionDefaults);
|
|
912
|
-
/**
|
|
913
|
-
* Defaults for the filelist's empty state.
|
|
914
|
-
* @default {
|
|
915
|
-
fi: "Ei vielä lisättyjä tiedostoja.",
|
|
916
|
-
sv: "Inga filer har lagts till ännu.",
|
|
917
|
-
en: "No files added yet.",
|
|
918
|
-
}
|
|
919
|
-
*/
|
|
920
|
-
this.fileListEmptyDefaults = {
|
|
921
|
-
fi: "Ei vielä lisättyjä tiedostoja.",
|
|
922
|
-
sv: "Inga filer har lagts till ännu.",
|
|
923
|
-
en: "No files added yet.",
|
|
924
|
-
};
|
|
925
|
-
/**
|
|
926
|
-
* Label for the filelist's empty state.
|
|
927
|
-
* @default { fi: "Ei vielä lisättyjä tiedostoja.",sv: "Inga filer har lagts till ännu.",en: "No files added yet."}
|
|
928
|
-
*/
|
|
929
|
-
this.fileListEmpty = getLocaleString(this.fileListEmptyDefaults);
|
|
930
|
-
/**
|
|
931
|
-
* Display the input in error state along with an error message.
|
|
932
|
-
*/
|
|
933
|
-
this.error = "";
|
|
934
|
-
/**
|
|
935
|
-
* Default errorcodes used by the component, modifiable via javascript
|
|
936
|
-
*/
|
|
937
|
-
this.errorCodes = errorCodes;
|
|
938
|
-
/**
|
|
939
|
-
* Use maxBytes to specify the maximum size in Bytes of a file that can be uploaded.
|
|
940
|
-
*/
|
|
941
|
-
this.maxBytes = 200000000;
|
|
942
|
-
/**
|
|
943
|
-
* Use maxBytesTotal to specify the maximum size in Bytes of All files combined that can be uploaded.
|
|
944
|
-
*/
|
|
945
|
-
this.maxBytesTotal = undefined;
|
|
946
|
-
/**
|
|
947
|
-
* Use maxFiles to specify the maximum amount of files that can be uploaded
|
|
948
|
-
*/
|
|
949
|
-
this.maxFiles = 99;
|
|
950
|
-
/**
|
|
951
|
-
* A string of commaseperated file type values that are allowed
|
|
952
|
-
* @example: .pdf,.doc,.docx
|
|
953
|
-
*/
|
|
954
|
-
this.allowedExtensions = "all";
|
|
955
|
-
/**
|
|
956
|
-
* A string of commaseperated mime type values that are allowed
|
|
957
|
-
* @example: image/*,application/msword,
|
|
958
|
-
*/
|
|
959
|
-
this.allowedMimetypes = "*";
|
|
960
|
-
/**
|
|
961
|
-
* Use multiple to allow the user to select multiple files when uploading
|
|
962
|
-
*/
|
|
963
|
-
this.multiple = true;
|
|
964
|
-
/**
|
|
965
|
-
* Use limitSelection to enforce the value in allowedExtension & allowedMimetypes when selecting files,
|
|
966
|
-
* by default this is off, setting this to true will limit the users choices to what has been explicitly set
|
|
967
|
-
*/
|
|
968
|
-
this.limitSelection = false;
|
|
969
621
|
/**
|
|
970
622
|
* Own Properties
|
|
971
623
|
*/
|
|
@@ -985,45 +637,6 @@ const DuetUpload = class {
|
|
|
985
637
|
pending: "pending",
|
|
986
638
|
failure: "failure",
|
|
987
639
|
};
|
|
988
|
-
/**
|
|
989
|
-
* Array of group names that you want the editable table to use to display files
|
|
990
|
-
* @required
|
|
991
|
-
* @example [{ id: "success", label: {fi: "Onnistunut", en: "Success", sv: "Alt klart", }}]
|
|
992
|
-
*/
|
|
993
|
-
this.groups = [
|
|
994
|
-
{
|
|
995
|
-
id: this.DefaultGroups.pending,
|
|
996
|
-
label: {
|
|
997
|
-
en: "Files to upload",
|
|
998
|
-
sv: "Filer att ladda",
|
|
999
|
-
fi: "Ladattavat tiedostot",
|
|
1000
|
-
},
|
|
1001
|
-
},
|
|
1002
|
-
{
|
|
1003
|
-
id: this.DefaultGroups.success,
|
|
1004
|
-
label: {
|
|
1005
|
-
fi: "Valmiit tiedostot",
|
|
1006
|
-
sv: "Files success",
|
|
1007
|
-
en: "Files success",
|
|
1008
|
-
},
|
|
1009
|
-
},
|
|
1010
|
-
{
|
|
1011
|
-
id: this.DefaultGroups.failure,
|
|
1012
|
-
label: {
|
|
1013
|
-
fi: "Tiedostot, joissa on virheitä",
|
|
1014
|
-
sv: "Filer med fel",
|
|
1015
|
-
en: "Files with errors",
|
|
1016
|
-
},
|
|
1017
|
-
},
|
|
1018
|
-
{
|
|
1019
|
-
id: this.DefaultGroups.inprogress,
|
|
1020
|
-
label: {
|
|
1021
|
-
fi: "Kesken olevat tiedostot",
|
|
1022
|
-
sv: "Filer inprogress",
|
|
1023
|
-
en: "Files inprogress",
|
|
1024
|
-
},
|
|
1025
|
-
},
|
|
1026
|
-
];
|
|
1027
640
|
this.kick = debounce(() => {
|
|
1028
641
|
this.tick = Date.now();
|
|
1029
642
|
}, 30); // will trigger re-render
|
|
@@ -1436,6 +1049,152 @@ const DuetUpload = class {
|
|
|
1436
1049
|
});
|
|
1437
1050
|
return EditableTables;
|
|
1438
1051
|
};
|
|
1052
|
+
this.tick = Date.now();
|
|
1053
|
+
this.accessibleActiveDescendant = undefined;
|
|
1054
|
+
this.accessibleDescribedBy = undefined;
|
|
1055
|
+
this.accessibleControls = undefined;
|
|
1056
|
+
this.accessibleOwns = undefined;
|
|
1057
|
+
this.external = false;
|
|
1058
|
+
this.middleware = null;
|
|
1059
|
+
this.deferUpload = false;
|
|
1060
|
+
this.hideButton = false;
|
|
1061
|
+
this.actions = [
|
|
1062
|
+
{
|
|
1063
|
+
icon: "action-delete",
|
|
1064
|
+
color: "color-danger",
|
|
1065
|
+
size: "x-small",
|
|
1066
|
+
background: "gray-lightest",
|
|
1067
|
+
name: "delete",
|
|
1068
|
+
map: ["success", "failure"],
|
|
1069
|
+
label: {
|
|
1070
|
+
fi: "Poista tiedosto",
|
|
1071
|
+
en: "Poista tiedosto",
|
|
1072
|
+
sv: "Ta bort filen",
|
|
1073
|
+
},
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
icon: "navigation-close",
|
|
1077
|
+
color: "primary",
|
|
1078
|
+
size: "x-small",
|
|
1079
|
+
background: "gray-lightest",
|
|
1080
|
+
name: "cancel",
|
|
1081
|
+
map: ["inprogress", "pending"],
|
|
1082
|
+
label: {
|
|
1083
|
+
fi: "Keskeytä lähetys",
|
|
1084
|
+
en: "Cancel the upload",
|
|
1085
|
+
sv: "Stop överföringen",
|
|
1086
|
+
},
|
|
1087
|
+
},
|
|
1088
|
+
];
|
|
1089
|
+
this.uri = undefined;
|
|
1090
|
+
this.showLinks = false;
|
|
1091
|
+
this.caption = undefined;
|
|
1092
|
+
this.statusLabelDefaults = {
|
|
1093
|
+
fi: {
|
|
1094
|
+
inProgress: "Lähetetään {filesUploaded} lähetettävästä {filesTotal} tiedostosta",
|
|
1095
|
+
inProgressWithErrors: "Lähetetään {filesInProgress} tiedostoa, lähetetty {filesUploaded} lähetettävästä {filesTotal} tiedostosta, {filesWithErrors} tiedostossa on virheitä",
|
|
1096
|
+
done: "Kaikki {filesTotal} tiedostoa lähetetty onnistuneesti",
|
|
1097
|
+
doneWithErrors: "Lähetys valmis, {filesUploaded} tiedostoa on lähetetty onnistuneesti, {filesWithErrors} tiedostossa oli virheitä",
|
|
1098
|
+
files: "tiedostot",
|
|
1099
|
+
file: "tiedosto",
|
|
1100
|
+
},
|
|
1101
|
+
sv: {
|
|
1102
|
+
inProgress: "Adding {filesUploaded} of {filesTotal}",
|
|
1103
|
+
inProgressWithErrors: "Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",
|
|
1104
|
+
done: "Alla {filesTotal} har lagts till",
|
|
1105
|
+
doneWithErrors: "Handling slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",
|
|
1106
|
+
files: "filer",
|
|
1107
|
+
file: "fil",
|
|
1108
|
+
},
|
|
1109
|
+
en: {
|
|
1110
|
+
inProgress: "Adding {filesUploaded} of {filesTotal}",
|
|
1111
|
+
inProgressWithErrors: "Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",
|
|
1112
|
+
done: "All {filesTotal} added successfully",
|
|
1113
|
+
doneWithErrors: "Action completed, {filesUploaded} has been added successfully, {filesWithErrors} had errors",
|
|
1114
|
+
files: "File",
|
|
1115
|
+
file: "file",
|
|
1116
|
+
},
|
|
1117
|
+
};
|
|
1118
|
+
this.statusMessageLabel = getLocaleString(this.statusLabelDefaults);
|
|
1119
|
+
this.buttonLabelDefaults = {
|
|
1120
|
+
fi: "Lisää liite",
|
|
1121
|
+
sv: "Lägg till en bilaga",
|
|
1122
|
+
en: "Add an attachment",
|
|
1123
|
+
};
|
|
1124
|
+
this.buttonLabel = getLocaleString(this.buttonLabelDefaults);
|
|
1125
|
+
this.accessibleButtonLabel = undefined;
|
|
1126
|
+
this.theme = "";
|
|
1127
|
+
this.disabled = false;
|
|
1128
|
+
this.identifier = undefined;
|
|
1129
|
+
this.margin = "auto";
|
|
1130
|
+
this.required = false;
|
|
1131
|
+
this.alignment = "middle";
|
|
1132
|
+
this.hideGroups = false;
|
|
1133
|
+
this.files = new Map();
|
|
1134
|
+
this.valid = !this.required;
|
|
1135
|
+
this.labelDefaults = {
|
|
1136
|
+
fi: "Lisää liite",
|
|
1137
|
+
sv: "Lägg till en bilaga",
|
|
1138
|
+
en: "Add attachments",
|
|
1139
|
+
};
|
|
1140
|
+
this.label = getLocaleString(this.labelDefaults);
|
|
1141
|
+
this.descriptionDefaults = {
|
|
1142
|
+
en: "You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytestotal} of files at a time, and add up to {maxfiles} attachments at a time each no larger than {maxbytes}.",
|
|
1143
|
+
sv: "Du kan bifoga följande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer åt gången, och lägga till upp till {maxfiles} bilagor åt gången varje inte större än {maxbytes}.",
|
|
1144
|
+
fi: "Voit liittää seuraavat tiedostotyypit: {filetypes} - sekä yleisimmät videotiedostot. Voit lähettää {maxbytestotal} tiedostoa kerrallaan, ja lisätä enintään {maxfiles} liitettä kerrallaan, jokainen enintään {maxbytes} kokoisena.",
|
|
1145
|
+
};
|
|
1146
|
+
this.description = getLocaleString(this.descriptionDefaults);
|
|
1147
|
+
this.fileListEmptyDefaults = {
|
|
1148
|
+
fi: "Ei vielä lisättyjä tiedostoja.",
|
|
1149
|
+
sv: "Inga filer har lagts till ännu.",
|
|
1150
|
+
en: "No files added yet.",
|
|
1151
|
+
};
|
|
1152
|
+
this.fileListEmpty = getLocaleString(this.fileListEmptyDefaults);
|
|
1153
|
+
this.error = "";
|
|
1154
|
+
this.errorCodes = errorCodes;
|
|
1155
|
+
this.name = undefined;
|
|
1156
|
+
this.maxBytes = 200000000;
|
|
1157
|
+
this.maxBytesTotal = undefined;
|
|
1158
|
+
this.maxFiles = 99;
|
|
1159
|
+
this.allowedExtensions = "all";
|
|
1160
|
+
this.allowedMimetypes = "*";
|
|
1161
|
+
this.multiple = true;
|
|
1162
|
+
this.limitSelection = false;
|
|
1163
|
+
this.value = undefined;
|
|
1164
|
+
this.groups = [
|
|
1165
|
+
{
|
|
1166
|
+
id: this.DefaultGroups.pending,
|
|
1167
|
+
label: {
|
|
1168
|
+
en: "Files to upload",
|
|
1169
|
+
sv: "Filer att ladda",
|
|
1170
|
+
fi: "Ladattavat tiedostot",
|
|
1171
|
+
},
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
id: this.DefaultGroups.success,
|
|
1175
|
+
label: {
|
|
1176
|
+
fi: "Valmiit tiedostot",
|
|
1177
|
+
sv: "Files success",
|
|
1178
|
+
en: "Files success",
|
|
1179
|
+
},
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
id: this.DefaultGroups.failure,
|
|
1183
|
+
label: {
|
|
1184
|
+
fi: "Tiedostot, joissa on virheitä",
|
|
1185
|
+
sv: "Filer med fel",
|
|
1186
|
+
en: "Files with errors",
|
|
1187
|
+
},
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
id: this.DefaultGroups.inprogress,
|
|
1191
|
+
label: {
|
|
1192
|
+
fi: "Kesken olevat tiedostot",
|
|
1193
|
+
sv: "Filer inprogress",
|
|
1194
|
+
en: "Files inprogress",
|
|
1195
|
+
},
|
|
1196
|
+
},
|
|
1197
|
+
];
|
|
1439
1198
|
}
|
|
1440
1199
|
watchValidHandler(newValue, oldValue) {
|
|
1441
1200
|
if (newValue !== oldValue) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-f74e4d6a.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
6
|
|
|
7
7
|
const duetEmptyStateCss = "*,*::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%;height:100%}.duet-empty-state{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%;padding:48px;color:#00294d;text-align:center;background:#f5f8fa;border-radius:4px}.duet-empty-state.duet-theme-turva{color:#171c3a;background:#f5f5f7}";
|
|
@@ -9,17 +9,8 @@ const duetEmptyStateCss = "*,*::after,*::before{box-sizing:border-box;padding:0;
|
|
|
9
9
|
const DuetEmptyState = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
registerInstance(this, hostRef);
|
|
12
|
-
/**
|
|
13
|
-
* Theme of the empty state component.
|
|
14
|
-
*/
|
|
15
12
|
this.theme = "";
|
|
16
|
-
/**
|
|
17
|
-
* Icon shown in the empty state component.
|
|
18
|
-
*/
|
|
19
13
|
this.icon = "messaging-question";
|
|
20
|
-
/**
|
|
21
|
-
* The size of the empty state message.
|
|
22
|
-
*/
|
|
23
14
|
this.size = "medium";
|
|
24
15
|
}
|
|
25
16
|
/**
|