@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 {
|
|
4
|
+
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common";
|
|
6
6
|
import { createID } from "../../utils/create-id";
|
|
7
7
|
import { debounce } from "../../utils/js-utils";
|
|
@@ -24,280 +24,6 @@ import { makeXhrRequest, } from "./xhr.helpers";
|
|
|
24
24
|
*/
|
|
25
25
|
export class DuetUpload {
|
|
26
26
|
constructor() {
|
|
27
|
-
/**
|
|
28
|
-
* State() variables
|
|
29
|
-
*/
|
|
30
|
-
this.tick = Date.now();
|
|
31
|
-
/**
|
|
32
|
-
* If external is set to true, the upload component will not actually upload the files, but only keep states
|
|
33
|
-
* it will be up to you to handle the upload and return progress information to the upload-component
|
|
34
|
-
*/
|
|
35
|
-
this.external = false;
|
|
36
|
-
/**
|
|
37
|
-
* 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
|
|
38
|
-
*/
|
|
39
|
-
this.middleware = null;
|
|
40
|
-
/**
|
|
41
|
-
* If defer-upload is true, duet-upload will not (as recommended) instantly upload files but await a call to uploadPending()
|
|
42
|
-
*/
|
|
43
|
-
this.deferUpload = false;
|
|
44
|
-
/**
|
|
45
|
-
* If set the upload component will not display an upload button, you will have to create one yourself
|
|
46
|
-
* and call the exposed method startUpload to open the upload dialog
|
|
47
|
-
*/
|
|
48
|
-
this.hideButton = false;
|
|
49
|
-
/**
|
|
50
|
-
* Default actions added to the internally used duet-editable-table
|
|
51
|
-
*/
|
|
52
|
-
this.actions = [
|
|
53
|
-
{
|
|
54
|
-
icon: "action-delete",
|
|
55
|
-
color: "color-danger",
|
|
56
|
-
size: "x-small",
|
|
57
|
-
background: "gray-lightest",
|
|
58
|
-
name: "delete",
|
|
59
|
-
map: ["success", "failure"],
|
|
60
|
-
label: {
|
|
61
|
-
fi: "Poista tiedosto",
|
|
62
|
-
en: "Poista tiedosto",
|
|
63
|
-
sv: "Ta bort filen",
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
icon: "navigation-close",
|
|
68
|
-
color: "primary",
|
|
69
|
-
size: "x-small",
|
|
70
|
-
background: "gray-lightest",
|
|
71
|
-
name: "cancel",
|
|
72
|
-
map: ["inprogress", "pending"],
|
|
73
|
-
label: {
|
|
74
|
-
fi: "Keskeytä lähetys",
|
|
75
|
-
en: "Cancel the upload",
|
|
76
|
-
sv: "Stop överföringen",
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
];
|
|
80
|
-
/**
|
|
81
|
-
* If enabled the editable-table will display links on successfully uploaded items,
|
|
82
|
-
* this requires the server can respond with link URIs in the correct format
|
|
83
|
-
* and that the files are accessible to the user
|
|
84
|
-
*/
|
|
85
|
-
this.showLinks = false;
|
|
86
|
-
/**
|
|
87
|
-
* Property to change the aria upload progress text read aloud by screenreaders
|
|
88
|
-
* @default {
|
|
89
|
-
* fi: {
|
|
90
|
-
* inProgress: "Lähetetään {filesUploaded} lähetettävästä {filesTotal} tiedostosta",
|
|
91
|
-
* inProgressWithErrors:
|
|
92
|
-
* "Lähetetään {filesInProgress} tiedostoa, lähetetty {filesUploaded} lähetettävästä {filesTotal} tiedostosta, {filesWithErrors} tiedostossa on virheitä",
|
|
93
|
-
* done: "Kaikki {filesTotal} tiedostoa lähetetty onnistuneesti",
|
|
94
|
-
* doneWithErrors:
|
|
95
|
-
* "Lähetys valmis, {filesUploaded} tiedostoa on lähetetty onnistuneesti, {filesWithErrors} tiedostossa oli virheitä",
|
|
96
|
-
* files: "tiedostot",
|
|
97
|
-
* file: "tiedosto",
|
|
98
|
-
* },
|
|
99
|
-
* sv: {
|
|
100
|
-
* inProgress: "Adding {filesUploaded} of {filesTotal}",
|
|
101
|
-
* inProgressWithErrors:
|
|
102
|
-
* "Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",
|
|
103
|
-
* done: "Alla {filesTotal} har lagts till",
|
|
104
|
-
* doneWithErrors: "Handling slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",
|
|
105
|
-
* files: "filer",
|
|
106
|
-
* file: "fil",
|
|
107
|
-
* },
|
|
108
|
-
* en: {
|
|
109
|
-
* inProgress: "Adding {filesUploaded} of {filesTotal}",
|
|
110
|
-
* inProgressWithErrors:
|
|
111
|
-
* "Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",
|
|
112
|
-
* done: "All {filesTotal} added successfully",
|
|
113
|
-
* doneWithErrors: "Action completed, {filesUploaded} has been added successfully, {filesWithErrors} had errors",
|
|
114
|
-
* files: "tiedostoa",
|
|
115
|
-
* file: "tiedosto",
|
|
116
|
-
* },
|
|
117
|
-
* }
|
|
118
|
-
*/
|
|
119
|
-
this.statusLabelDefaults = {
|
|
120
|
-
fi: {
|
|
121
|
-
inProgress: "Lähetetään {filesUploaded} lähetettävästä {filesTotal} tiedostosta",
|
|
122
|
-
inProgressWithErrors: "Lähetetään {filesInProgress} tiedostoa, lähetetty {filesUploaded} lähetettävästä {filesTotal} tiedostosta, {filesWithErrors} tiedostossa on virheitä",
|
|
123
|
-
done: "Kaikki {filesTotal} tiedostoa lähetetty onnistuneesti",
|
|
124
|
-
doneWithErrors: "Lähetys valmis, {filesUploaded} tiedostoa on lähetetty onnistuneesti, {filesWithErrors} tiedostossa oli virheitä",
|
|
125
|
-
files: "tiedostot",
|
|
126
|
-
file: "tiedosto",
|
|
127
|
-
},
|
|
128
|
-
sv: {
|
|
129
|
-
inProgress: "Adding {filesUploaded} of {filesTotal}",
|
|
130
|
-
inProgressWithErrors: "Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",
|
|
131
|
-
done: "Alla {filesTotal} har lagts till",
|
|
132
|
-
doneWithErrors: "Handling slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",
|
|
133
|
-
files: "filer",
|
|
134
|
-
file: "fil",
|
|
135
|
-
},
|
|
136
|
-
en: {
|
|
137
|
-
inProgress: "Adding {filesUploaded} of {filesTotal}",
|
|
138
|
-
inProgressWithErrors: "Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",
|
|
139
|
-
done: "All {filesTotal} added successfully",
|
|
140
|
-
doneWithErrors: "Action completed, {filesUploaded} has been added successfully, {filesWithErrors} had errors",
|
|
141
|
-
files: "File",
|
|
142
|
-
file: "file",
|
|
143
|
-
},
|
|
144
|
-
};
|
|
145
|
-
/**
|
|
146
|
-
* Strings used for the status aria-label
|
|
147
|
-
*/
|
|
148
|
-
this.statusMessageLabel = getLocaleString(this.statusLabelDefaults);
|
|
149
|
-
/**
|
|
150
|
-
* Property to change button label defaults on the component.
|
|
151
|
-
* @default {
|
|
152
|
-
fi: "Lisää liite",
|
|
153
|
-
sv: "Lägg till en bilaga",
|
|
154
|
-
en: "Add an attachment",
|
|
155
|
-
}
|
|
156
|
-
*/
|
|
157
|
-
this.buttonLabelDefaults = {
|
|
158
|
-
fi: "Lisää liite",
|
|
159
|
-
sv: "Lägg till en bilaga",
|
|
160
|
-
en: "Add an attachment",
|
|
161
|
-
};
|
|
162
|
-
/**
|
|
163
|
-
* Label of button
|
|
164
|
-
* @default { fi: "Lisää liite", sv: "Lägg till en bilaga", en: "Add an attachment" }
|
|
165
|
-
*/
|
|
166
|
-
this.buttonLabel = getLocaleString(this.buttonLabelDefaults);
|
|
167
|
-
/**
|
|
168
|
-
* accessible aria-Label of button
|
|
169
|
-
*/
|
|
170
|
-
this.accessibleButtonLabel = undefined;
|
|
171
|
-
/**
|
|
172
|
-
* Theme of the input.
|
|
173
|
-
*/
|
|
174
|
-
this.theme = "";
|
|
175
|
-
/**
|
|
176
|
-
* Makes the input component disabled. This prevents users from being able to
|
|
177
|
-
* interact with the upload component, and conveys its inactive state to assistive technologies.
|
|
178
|
-
*/
|
|
179
|
-
this.disabled = false;
|
|
180
|
-
/**
|
|
181
|
-
* Controls the margin of the component.
|
|
182
|
-
*/
|
|
183
|
-
this.margin = "auto";
|
|
184
|
-
/**
|
|
185
|
-
* Set whether the input is required or not. Please note that this is necessary for
|
|
186
|
-
* accessible inputs when the user is required to fill them. When using this property
|
|
187
|
-
* you need to also set “novalidate” attribute to your form element to prevent
|
|
188
|
-
* browser from displaying its own validation errors.
|
|
189
|
-
*/
|
|
190
|
-
this.required = false;
|
|
191
|
-
/**
|
|
192
|
-
* Key used to set vertical alignment of action buttons
|
|
193
|
-
*/
|
|
194
|
-
this.alignment = "middle";
|
|
195
|
-
/**
|
|
196
|
-
* Visually hides the groups labels in the editable table list used to display the list of files
|
|
197
|
-
*/
|
|
198
|
-
this.hideGroups = false;
|
|
199
|
-
/**
|
|
200
|
-
* Map of string that contain list of uploaded files.
|
|
201
|
-
*/
|
|
202
|
-
this.files = new Map();
|
|
203
|
-
/**
|
|
204
|
-
* Property to read if the internally used editable-table contains errors or not
|
|
205
|
-
*/
|
|
206
|
-
this.valid = !this.required;
|
|
207
|
-
/**
|
|
208
|
-
* Property to change labelDefaults defaults on the component.
|
|
209
|
-
* normally you would handle these strings on an application level and override @label when needed
|
|
210
|
-
* @default { fi: "Lisää liite",sv: "Lägg till en bilaga",en: "Add attachments"}
|
|
211
|
-
*/
|
|
212
|
-
this.labelDefaults = {
|
|
213
|
-
fi: "Lisää liite",
|
|
214
|
-
sv: "Lägg till en bilaga",
|
|
215
|
-
en: "Add attachments",
|
|
216
|
-
};
|
|
217
|
-
/**
|
|
218
|
-
* Label for the input.
|
|
219
|
-
* @default { fi: "Lisää liite",sv: "Lägg till en bilaga",en: "Add attachments"}
|
|
220
|
-
*/
|
|
221
|
-
this.label = getLocaleString(this.labelDefaults);
|
|
222
|
-
/**
|
|
223
|
-
* Property to change descriptionDefaults defaults on the component.
|
|
224
|
-
* @default {
|
|
225
|
-
* 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}.",
|
|
226
|
-
* 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}.",
|
|
227
|
-
* 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.",
|
|
228
|
-
* }
|
|
229
|
-
*/
|
|
230
|
-
this.descriptionDefaults = {
|
|
231
|
-
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}.",
|
|
232
|
-
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}.",
|
|
233
|
-
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.",
|
|
234
|
-
};
|
|
235
|
-
/**
|
|
236
|
-
* Description for the upload component.
|
|
237
|
-
* @default {
|
|
238
|
-
* 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}.",
|
|
239
|
-
* 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}.",
|
|
240
|
-
* 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.",
|
|
241
|
-
* }
|
|
242
|
-
*/
|
|
243
|
-
this.description = getLocaleString(this.descriptionDefaults);
|
|
244
|
-
/**
|
|
245
|
-
* Defaults for the filelist's empty state.
|
|
246
|
-
* @default {
|
|
247
|
-
fi: "Ei vielä lisättyjä tiedostoja.",
|
|
248
|
-
sv: "Inga filer har lagts till ännu.",
|
|
249
|
-
en: "No files added yet.",
|
|
250
|
-
}
|
|
251
|
-
*/
|
|
252
|
-
this.fileListEmptyDefaults = {
|
|
253
|
-
fi: "Ei vielä lisättyjä tiedostoja.",
|
|
254
|
-
sv: "Inga filer har lagts till ännu.",
|
|
255
|
-
en: "No files added yet.",
|
|
256
|
-
};
|
|
257
|
-
/**
|
|
258
|
-
* Label for the filelist's empty state.
|
|
259
|
-
* @default { fi: "Ei vielä lisättyjä tiedostoja.",sv: "Inga filer har lagts till ännu.",en: "No files added yet."}
|
|
260
|
-
*/
|
|
261
|
-
this.fileListEmpty = getLocaleString(this.fileListEmptyDefaults);
|
|
262
|
-
/**
|
|
263
|
-
* Display the input in error state along with an error message.
|
|
264
|
-
*/
|
|
265
|
-
this.error = "";
|
|
266
|
-
/**
|
|
267
|
-
* Default errorcodes used by the component, modifiable via javascript
|
|
268
|
-
*/
|
|
269
|
-
this.errorCodes = errorCodes;
|
|
270
|
-
/**
|
|
271
|
-
* Use maxBytes to specify the maximum size in Bytes of a file that can be uploaded.
|
|
272
|
-
*/
|
|
273
|
-
this.maxBytes = 200000000;
|
|
274
|
-
/**
|
|
275
|
-
* Use maxBytesTotal to specify the maximum size in Bytes of All files combined that can be uploaded.
|
|
276
|
-
*/
|
|
277
|
-
this.maxBytesTotal = undefined;
|
|
278
|
-
/**
|
|
279
|
-
* Use maxFiles to specify the maximum amount of files that can be uploaded
|
|
280
|
-
*/
|
|
281
|
-
this.maxFiles = 99;
|
|
282
|
-
/**
|
|
283
|
-
* A string of commaseperated file type values that are allowed
|
|
284
|
-
* @example: .pdf,.doc,.docx
|
|
285
|
-
*/
|
|
286
|
-
this.allowedExtensions = "all";
|
|
287
|
-
/**
|
|
288
|
-
* A string of commaseperated mime type values that are allowed
|
|
289
|
-
* @example: image/*,application/msword,
|
|
290
|
-
*/
|
|
291
|
-
this.allowedMimetypes = "*";
|
|
292
|
-
/**
|
|
293
|
-
* Use multiple to allow the user to select multiple files when uploading
|
|
294
|
-
*/
|
|
295
|
-
this.multiple = true;
|
|
296
|
-
/**
|
|
297
|
-
* Use limitSelection to enforce the value in allowedExtension & allowedMimetypes when selecting files,
|
|
298
|
-
* by default this is off, setting this to true will limit the users choices to what has been explicitly set
|
|
299
|
-
*/
|
|
300
|
-
this.limitSelection = false;
|
|
301
27
|
/**
|
|
302
28
|
* Own Properties
|
|
303
29
|
*/
|
|
@@ -317,45 +43,6 @@ export class DuetUpload {
|
|
|
317
43
|
pending: "pending",
|
|
318
44
|
failure: "failure",
|
|
319
45
|
};
|
|
320
|
-
/**
|
|
321
|
-
* Array of group names that you want the editable table to use to display files
|
|
322
|
-
* @required
|
|
323
|
-
* @example [{ id: "success", label: {fi: "Onnistunut", en: "Success", sv: "Alt klart", }}]
|
|
324
|
-
*/
|
|
325
|
-
this.groups = [
|
|
326
|
-
{
|
|
327
|
-
id: this.DefaultGroups.pending,
|
|
328
|
-
label: {
|
|
329
|
-
en: "Files to upload",
|
|
330
|
-
sv: "Filer att ladda",
|
|
331
|
-
fi: "Ladattavat tiedostot",
|
|
332
|
-
},
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
id: this.DefaultGroups.success,
|
|
336
|
-
label: {
|
|
337
|
-
fi: "Valmiit tiedostot",
|
|
338
|
-
sv: "Files success",
|
|
339
|
-
en: "Files success",
|
|
340
|
-
},
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
id: this.DefaultGroups.failure,
|
|
344
|
-
label: {
|
|
345
|
-
fi: "Tiedostot, joissa on virheitä",
|
|
346
|
-
sv: "Filer med fel",
|
|
347
|
-
en: "Files with errors",
|
|
348
|
-
},
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
id: this.DefaultGroups.inprogress,
|
|
352
|
-
label: {
|
|
353
|
-
fi: "Kesken olevat tiedostot",
|
|
354
|
-
sv: "Filer inprogress",
|
|
355
|
-
en: "Files inprogress",
|
|
356
|
-
},
|
|
357
|
-
},
|
|
358
|
-
];
|
|
359
46
|
this.kick = debounce(() => {
|
|
360
47
|
this.tick = Date.now();
|
|
361
48
|
}, 30); // will trigger re-render
|
|
@@ -763,66 +450,204 @@ export class DuetUpload {
|
|
|
763
450
|
if (!(currentItems === null || currentItems === void 0 ? void 0 : currentItems.length)) {
|
|
764
451
|
return;
|
|
765
452
|
}
|
|
766
|
-
return (h("duet-table", { variation: "plain", breakpoint: "none", role: "log", margin: this.hideGroups ? "none" : "auto" },
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
h("tr", null,
|
|
770
|
-
h("th", { class: {
|
|
771
|
-
"duet-upload-editable-table-header-hidden": this.hideGroups,
|
|
772
|
-
} }, !this.hideGroups ? (getLocaleString(group.label)) : (h("duet-visually-hidden", null, getLocaleString(group.label)))))),
|
|
773
|
-
h("tbody", null,
|
|
774
|
-
h("tr", null,
|
|
775
|
-
h("td", { class: "duet-upload-editable-table-data" },
|
|
776
|
-
h("duet-editable-table", { breakpoint: "none", variation: "plain", groupId: group.id, columns: this.getColumns(group), actions: this.getActions(group.id), margin: "none", rows: currentItems })))))));
|
|
453
|
+
return (h("duet-table", { variation: "plain", breakpoint: "none", role: "log", margin: this.hideGroups ? "none" : "auto" }, h("table", { class: "duet-upload-editable-table" }, h("thead", { class: "duet-upload-editable-table-header" }, h("tr", null, h("th", { class: {
|
|
454
|
+
"duet-upload-editable-table-header-hidden": this.hideGroups,
|
|
455
|
+
} }, !this.hideGroups ? (getLocaleString(group.label)) : (h("duet-visually-hidden", null, getLocaleString(group.label)))))), h("tbody", null, h("tr", null, h("td", { class: "duet-upload-editable-table-data" }, h("duet-editable-table", { breakpoint: "none", variation: "plain", groupId: group.id, columns: this.getColumns(group), actions: this.getActions(group.id), margin: "none", rows: currentItems })))))));
|
|
777
456
|
});
|
|
778
457
|
return EditableTables;
|
|
779
458
|
};
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
this.
|
|
820
|
-
this.
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
459
|
+
this.tick = Date.now();
|
|
460
|
+
this.accessibleActiveDescendant = undefined;
|
|
461
|
+
this.accessibleDescribedBy = undefined;
|
|
462
|
+
this.accessibleControls = undefined;
|
|
463
|
+
this.accessibleOwns = undefined;
|
|
464
|
+
this.external = false;
|
|
465
|
+
this.middleware = null;
|
|
466
|
+
this.deferUpload = false;
|
|
467
|
+
this.hideButton = false;
|
|
468
|
+
this.actions = [
|
|
469
|
+
{
|
|
470
|
+
icon: "action-delete",
|
|
471
|
+
color: "color-danger",
|
|
472
|
+
size: "x-small",
|
|
473
|
+
background: "gray-lightest",
|
|
474
|
+
name: "delete",
|
|
475
|
+
map: ["success", "failure"],
|
|
476
|
+
label: {
|
|
477
|
+
fi: "Poista tiedosto",
|
|
478
|
+
en: "Poista tiedosto",
|
|
479
|
+
sv: "Ta bort filen",
|
|
480
|
+
},
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
icon: "navigation-close",
|
|
484
|
+
color: "primary",
|
|
485
|
+
size: "x-small",
|
|
486
|
+
background: "gray-lightest",
|
|
487
|
+
name: "cancel",
|
|
488
|
+
map: ["inprogress", "pending"],
|
|
489
|
+
label: {
|
|
490
|
+
fi: "Keskeytä lähetys",
|
|
491
|
+
en: "Cancel the upload",
|
|
492
|
+
sv: "Stop överföringen",
|
|
493
|
+
},
|
|
494
|
+
},
|
|
495
|
+
];
|
|
496
|
+
this.uri = undefined;
|
|
497
|
+
this.showLinks = false;
|
|
498
|
+
this.caption = undefined;
|
|
499
|
+
this.statusLabelDefaults = {
|
|
500
|
+
fi: {
|
|
501
|
+
inProgress: "Lähetetään {filesUploaded} lähetettävästä {filesTotal} tiedostosta",
|
|
502
|
+
inProgressWithErrors: "Lähetetään {filesInProgress} tiedostoa, lähetetty {filesUploaded} lähetettävästä {filesTotal} tiedostosta, {filesWithErrors} tiedostossa on virheitä",
|
|
503
|
+
done: "Kaikki {filesTotal} tiedostoa lähetetty onnistuneesti",
|
|
504
|
+
doneWithErrors: "Lähetys valmis, {filesUploaded} tiedostoa on lähetetty onnistuneesti, {filesWithErrors} tiedostossa oli virheitä",
|
|
505
|
+
files: "tiedostot",
|
|
506
|
+
file: "tiedosto",
|
|
507
|
+
},
|
|
508
|
+
sv: {
|
|
509
|
+
inProgress: "Adding {filesUploaded} of {filesTotal}",
|
|
510
|
+
inProgressWithErrors: "Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",
|
|
511
|
+
done: "Alla {filesTotal} har lagts till",
|
|
512
|
+
doneWithErrors: "Handling slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",
|
|
513
|
+
files: "filer",
|
|
514
|
+
file: "fil",
|
|
515
|
+
},
|
|
516
|
+
en: {
|
|
517
|
+
inProgress: "Adding {filesUploaded} of {filesTotal}",
|
|
518
|
+
inProgressWithErrors: "Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",
|
|
519
|
+
done: "All {filesTotal} added successfully",
|
|
520
|
+
doneWithErrors: "Action completed, {filesUploaded} has been added successfully, {filesWithErrors} had errors",
|
|
521
|
+
files: "File",
|
|
522
|
+
file: "file",
|
|
523
|
+
},
|
|
524
|
+
};
|
|
525
|
+
this.statusMessageLabel = getLocaleString(this.statusLabelDefaults);
|
|
526
|
+
this.buttonLabelDefaults = {
|
|
527
|
+
fi: "Lisää liite",
|
|
528
|
+
sv: "Lägg till en bilaga",
|
|
529
|
+
en: "Add an attachment",
|
|
530
|
+
};
|
|
531
|
+
this.buttonLabel = getLocaleString(this.buttonLabelDefaults);
|
|
532
|
+
this.accessibleButtonLabel = undefined;
|
|
533
|
+
this.theme = "";
|
|
534
|
+
this.disabled = false;
|
|
535
|
+
this.identifier = undefined;
|
|
536
|
+
this.margin = "auto";
|
|
537
|
+
this.required = false;
|
|
538
|
+
this.alignment = "middle";
|
|
539
|
+
this.hideGroups = false;
|
|
540
|
+
this.files = new Map();
|
|
541
|
+
this.valid = !this.required;
|
|
542
|
+
this.labelDefaults = {
|
|
543
|
+
fi: "Lisää liite",
|
|
544
|
+
sv: "Lägg till en bilaga",
|
|
545
|
+
en: "Add attachments",
|
|
546
|
+
};
|
|
547
|
+
this.label = getLocaleString(this.labelDefaults);
|
|
548
|
+
this.descriptionDefaults = {
|
|
549
|
+
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}.",
|
|
550
|
+
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}.",
|
|
551
|
+
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.",
|
|
552
|
+
};
|
|
553
|
+
this.description = getLocaleString(this.descriptionDefaults);
|
|
554
|
+
this.fileListEmptyDefaults = {
|
|
555
|
+
fi: "Ei vielä lisättyjä tiedostoja.",
|
|
556
|
+
sv: "Inga filer har lagts till ännu.",
|
|
557
|
+
en: "No files added yet.",
|
|
558
|
+
};
|
|
559
|
+
this.fileListEmpty = getLocaleString(this.fileListEmptyDefaults);
|
|
560
|
+
this.error = "";
|
|
561
|
+
this.errorCodes = errorCodes;
|
|
562
|
+
this.name = undefined;
|
|
563
|
+
this.maxBytes = 200000000;
|
|
564
|
+
this.maxBytesTotal = undefined;
|
|
565
|
+
this.maxFiles = 99;
|
|
566
|
+
this.allowedExtensions = "all";
|
|
567
|
+
this.allowedMimetypes = "*";
|
|
568
|
+
this.multiple = true;
|
|
569
|
+
this.limitSelection = false;
|
|
570
|
+
this.value = undefined;
|
|
571
|
+
this.groups = [
|
|
572
|
+
{
|
|
573
|
+
id: this.DefaultGroups.pending,
|
|
574
|
+
label: {
|
|
575
|
+
en: "Files to upload",
|
|
576
|
+
sv: "Filer att ladda",
|
|
577
|
+
fi: "Ladattavat tiedostot",
|
|
578
|
+
},
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
id: this.DefaultGroups.success,
|
|
582
|
+
label: {
|
|
583
|
+
fi: "Valmiit tiedostot",
|
|
584
|
+
sv: "Files success",
|
|
585
|
+
en: "Files success",
|
|
586
|
+
},
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
id: this.DefaultGroups.failure,
|
|
590
|
+
label: {
|
|
591
|
+
fi: "Tiedostot, joissa on virheitä",
|
|
592
|
+
sv: "Filer med fel",
|
|
593
|
+
en: "Files with errors",
|
|
594
|
+
},
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
id: this.DefaultGroups.inprogress,
|
|
598
|
+
label: {
|
|
599
|
+
fi: "Kesken olevat tiedostot",
|
|
600
|
+
sv: "Filer inprogress",
|
|
601
|
+
en: "Files inprogress",
|
|
602
|
+
},
|
|
603
|
+
},
|
|
604
|
+
];
|
|
605
|
+
}
|
|
606
|
+
watchValidHandler(newValue, oldValue) {
|
|
607
|
+
if (newValue !== oldValue) {
|
|
608
|
+
this.kick();
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
/**
|
|
612
|
+
* Component lifecycle events.
|
|
613
|
+
*/
|
|
614
|
+
componentWillLoad() {
|
|
615
|
+
if (typeof this.statusMessageLabel === "string") {
|
|
616
|
+
this.internalStatusMessageLabel = sanitizeString(this.groups);
|
|
617
|
+
}
|
|
618
|
+
else {
|
|
619
|
+
this.internalStatusMessageLabel = this.statusMessageLabel;
|
|
620
|
+
}
|
|
621
|
+
inheritGlobalTheme(this);
|
|
622
|
+
this.listenForActionEvents();
|
|
623
|
+
this.onReady();
|
|
624
|
+
}
|
|
625
|
+
componentWillRender() {
|
|
626
|
+
// listen to the events from the component
|
|
627
|
+
this.verifyValidity();
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* Sets focus on the specified `duet-input`. Use this method instead of the global
|
|
631
|
+
* `input.focus()`.
|
|
632
|
+
*/
|
|
633
|
+
async setFocus(options) {
|
|
634
|
+
if (this.nativeInput) {
|
|
635
|
+
this.nativeInput.focus(options);
|
|
636
|
+
}
|
|
637
|
+
return;
|
|
638
|
+
}
|
|
639
|
+
/**
|
|
640
|
+
* Method for invoking the upload sequence
|
|
641
|
+
*/
|
|
642
|
+
async upload(metaData = undefined) {
|
|
643
|
+
await this.setFocus();
|
|
644
|
+
this.metaData = metaData;
|
|
645
|
+
this.nativeInput.click();
|
|
646
|
+
return;
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
* Method for uploading pending files
|
|
650
|
+
*/
|
|
826
651
|
async uploadPending() {
|
|
827
652
|
this.uploadPendingFiles();
|
|
828
653
|
}
|
|
@@ -862,34 +687,17 @@ export class DuetUpload {
|
|
|
862
687
|
caption = caption.replace(/{maxbytes}/g, `${maxMegaBytesPrFile.toString()} MB`);
|
|
863
688
|
caption = caption.replace(/{maxbytestotal}/g, `${maxMegaBytesTotal.toString()} MB`);
|
|
864
689
|
caption = caption.replace(/{filetypes}/g, this.allowedExtensions.split(",").join(", "));
|
|
865
|
-
return (h(Host, { class: { "duet-m-0": this.margin === "none" } },
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
!!this.files.size && h("slot", { name: "fileheader" }),
|
|
877
|
-
!!this.files.size && (h("duet-upload-aria-status", { invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })),
|
|
878
|
-
!!this.files.size && this.renderEditableTableGroups(),
|
|
879
|
-
!!this.files.size && h("slot", { name: "filefooter" }),
|
|
880
|
-
h("duet-spacer", { size: "large" }),
|
|
881
|
-
!this.hideButton && (h("duet-button", { id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel)),
|
|
882
|
-
h("duet-spacer", { size: "medium" }),
|
|
883
|
-
(this.fileMaxReached || this.bytesMaxReached) && (h("duet-alert", { part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" },
|
|
884
|
-
this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes),
|
|
885
|
-
this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes))),
|
|
886
|
-
h("duet-spacer", { size: "medium" }),
|
|
887
|
-
h("duet-visually-hidden", null,
|
|
888
|
-
h("input", { ref: input => {
|
|
889
|
-
this.nativeInput = input;
|
|
890
|
-
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
891
|
-
"duet-upload": true,
|
|
892
|
-
}, disabled: this.disabled, "aria-hidden": "true", required: this.required, name: this.name, id: this.identifier, multiple: this.multiple })))));
|
|
690
|
+
return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { label: this.label, caption: caption }, h("slot", { name: "header" }), !this.files.size && (h("duet-label", { part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", theme: this.theme === "turva" ? "turva" : "default", size: "small", class: {
|
|
691
|
+
"duet-upload-filelist-empty": !this.files.size,
|
|
692
|
+
"duet-upload-filelist": true,
|
|
693
|
+
"duet-upload-filelist-filled": this.files.size,
|
|
694
|
+
}, id: this.labelId, for: identifier }, h("span", { class: {
|
|
695
|
+
"duet-upload-filelist-empty-label": !this.files.size,
|
|
696
|
+
} }, this.fileListEmpty))), !!this.files.size && h("slot", { name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderEditableTableGroups(), !!this.files.size && h("slot", { name: "filefooter" }), h("duet-spacer", { size: "large" }), !this.hideButton && (h("duet-button", { id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel)), h("duet-spacer", { size: "medium" }), (this.fileMaxReached || this.bytesMaxReached) && (h("duet-alert", { part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes))), h("duet-spacer", { size: "medium" }), h("duet-visually-hidden", null, h("input", { ref: input => {
|
|
697
|
+
this.nativeInput = input;
|
|
698
|
+
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
699
|
+
"duet-upload": true,
|
|
700
|
+
}, disabled: this.disabled, "aria-hidden": "true", required: this.required, name: this.name, id: this.identifier, multiple: this.multiple })))));
|
|
893
701
|
}
|
|
894
702
|
/**
|
|
895
703
|
* XHR request utilities
|
|
@@ -1018,1201 +826,1215 @@ export class DuetUpload {
|
|
|
1018
826
|
}
|
|
1019
827
|
static get is() { return "duet-upload"; }
|
|
1020
828
|
static get encapsulation() { return "shadow"; }
|
|
1021
|
-
static get originalStyleUrls() {
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
"
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
"
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
"
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
"
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
"
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
"
|
|
1121
|
-
|
|
1122
|
-
|
|
829
|
+
static get originalStyleUrls() {
|
|
830
|
+
return {
|
|
831
|
+
"$": ["duet-upload.scss"]
|
|
832
|
+
};
|
|
833
|
+
}
|
|
834
|
+
static get styleUrls() {
|
|
835
|
+
return {
|
|
836
|
+
"$": ["duet-upload.css"]
|
|
837
|
+
};
|
|
838
|
+
}
|
|
839
|
+
static get properties() {
|
|
840
|
+
return {
|
|
841
|
+
"accessibleActiveDescendant": {
|
|
842
|
+
"type": "string",
|
|
843
|
+
"mutable": false,
|
|
844
|
+
"complexType": {
|
|
845
|
+
"original": "string",
|
|
846
|
+
"resolved": "string",
|
|
847
|
+
"references": {}
|
|
848
|
+
},
|
|
849
|
+
"required": false,
|
|
850
|
+
"optional": false,
|
|
851
|
+
"docs": {
|
|
852
|
+
"tags": [],
|
|
853
|
+
"text": "Indicates the id of a related component\u2019s visually focused element."
|
|
854
|
+
},
|
|
855
|
+
"attribute": "accessible-active-descendant",
|
|
856
|
+
"reflect": false
|
|
857
|
+
},
|
|
858
|
+
"accessibleDescribedBy": {
|
|
859
|
+
"type": "string",
|
|
860
|
+
"mutable": false,
|
|
861
|
+
"complexType": {
|
|
862
|
+
"original": "string",
|
|
863
|
+
"resolved": "string",
|
|
864
|
+
"references": {}
|
|
865
|
+
},
|
|
866
|
+
"required": false,
|
|
867
|
+
"optional": false,
|
|
868
|
+
"docs": {
|
|
869
|
+
"tags": [],
|
|
870
|
+
"text": "Indicates the id of a component that describes the upload component."
|
|
871
|
+
},
|
|
872
|
+
"attribute": "accessible-described-by",
|
|
873
|
+
"reflect": false
|
|
874
|
+
},
|
|
875
|
+
"accessibleControls": {
|
|
876
|
+
"type": "string",
|
|
877
|
+
"mutable": false,
|
|
878
|
+
"complexType": {
|
|
879
|
+
"original": "string",
|
|
880
|
+
"resolved": "string",
|
|
881
|
+
"references": {}
|
|
882
|
+
},
|
|
883
|
+
"required": false,
|
|
884
|
+
"optional": false,
|
|
885
|
+
"docs": {
|
|
886
|
+
"tags": [],
|
|
887
|
+
"text": "Use this prop to add an aria-controls attribute. Use the attribute to\nindicate the id of a component controlled by this component."
|
|
888
|
+
},
|
|
889
|
+
"attribute": "accessible-controls",
|
|
890
|
+
"reflect": false
|
|
891
|
+
},
|
|
892
|
+
"accessibleOwns": {
|
|
893
|
+
"type": "string",
|
|
894
|
+
"mutable": false,
|
|
895
|
+
"complexType": {
|
|
896
|
+
"original": "string",
|
|
897
|
+
"resolved": "string",
|
|
898
|
+
"references": {}
|
|
899
|
+
},
|
|
900
|
+
"required": false,
|
|
901
|
+
"optional": false,
|
|
902
|
+
"docs": {
|
|
903
|
+
"tags": [],
|
|
904
|
+
"text": "Indicates the id of a component owned by the input."
|
|
905
|
+
},
|
|
906
|
+
"attribute": "accessible-owns",
|
|
907
|
+
"reflect": false
|
|
908
|
+
},
|
|
909
|
+
"external": {
|
|
910
|
+
"type": "boolean",
|
|
911
|
+
"mutable": false,
|
|
912
|
+
"complexType": {
|
|
913
|
+
"original": "boolean",
|
|
914
|
+
"resolved": "boolean",
|
|
915
|
+
"references": {}
|
|
916
|
+
},
|
|
917
|
+
"required": false,
|
|
918
|
+
"optional": false,
|
|
919
|
+
"docs": {
|
|
920
|
+
"tags": [],
|
|
921
|
+
"text": "If external is set to true, the upload component will not actually upload the files, but only keep states\nit will be up to you to handle the upload and return progress information to the upload-component"
|
|
922
|
+
},
|
|
923
|
+
"attribute": "external",
|
|
924
|
+
"reflect": false,
|
|
925
|
+
"defaultValue": "false"
|
|
926
|
+
},
|
|
927
|
+
"middleware": {
|
|
928
|
+
"type": "unknown",
|
|
929
|
+
"mutable": false,
|
|
930
|
+
"complexType": {
|
|
931
|
+
"original": "XHRInternalMiddleWare",
|
|
932
|
+
"resolved": "(XHRMiddlewareOptions: any) => XHRMiddlewareOptions",
|
|
933
|
+
"references": {
|
|
934
|
+
"XHRInternalMiddleWare": {
|
|
935
|
+
"location": "local"
|
|
936
|
+
}
|
|
1123
937
|
}
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
938
|
+
},
|
|
939
|
+
"required": false,
|
|
940
|
+
"optional": false,
|
|
941
|
+
"docs": {
|
|
942
|
+
"tags": [],
|
|
943
|
+
"text": "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"
|
|
944
|
+
},
|
|
945
|
+
"defaultValue": "null"
|
|
946
|
+
},
|
|
947
|
+
"deferUpload": {
|
|
948
|
+
"type": "boolean",
|
|
949
|
+
"mutable": false,
|
|
950
|
+
"complexType": {
|
|
951
|
+
"original": "boolean",
|
|
952
|
+
"resolved": "boolean",
|
|
953
|
+
"references": {}
|
|
954
|
+
},
|
|
955
|
+
"required": false,
|
|
956
|
+
"optional": false,
|
|
957
|
+
"docs": {
|
|
958
|
+
"tags": [],
|
|
959
|
+
"text": "If defer-upload is true, duet-upload will not (as recommended) instantly upload files but await a call to uploadPending()"
|
|
960
|
+
},
|
|
961
|
+
"attribute": "defer-upload",
|
|
962
|
+
"reflect": false,
|
|
963
|
+
"defaultValue": "false"
|
|
964
|
+
},
|
|
965
|
+
"hideButton": {
|
|
966
|
+
"type": "boolean",
|
|
967
|
+
"mutable": false,
|
|
968
|
+
"complexType": {
|
|
969
|
+
"original": "boolean",
|
|
970
|
+
"resolved": "boolean",
|
|
971
|
+
"references": {}
|
|
972
|
+
},
|
|
973
|
+
"required": false,
|
|
974
|
+
"optional": false,
|
|
975
|
+
"docs": {
|
|
976
|
+
"tags": [],
|
|
977
|
+
"text": "If set the upload component will not display an upload button, you will have to create one yourself\nand call the exposed method startUpload to open the upload dialog"
|
|
978
|
+
},
|
|
979
|
+
"attribute": "hide-upload-button",
|
|
980
|
+
"reflect": false,
|
|
981
|
+
"defaultValue": "false"
|
|
982
|
+
},
|
|
983
|
+
"actions": {
|
|
984
|
+
"type": "unknown",
|
|
985
|
+
"mutable": false,
|
|
986
|
+
"complexType": {
|
|
987
|
+
"original": "DuetEditableTableActions",
|
|
988
|
+
"resolved": "{ icon: string; color: string; background: string; size: DuetActionButtonIconSize; name: string; map?: string[]; label?: DuetLangObject; }[]",
|
|
989
|
+
"references": {
|
|
990
|
+
"DuetEditableTableActions": {
|
|
991
|
+
"location": "import",
|
|
992
|
+
"path": "../duet-editable-table/duet-editable-table"
|
|
993
|
+
}
|
|
1180
994
|
}
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
},
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
995
|
+
},
|
|
996
|
+
"required": false,
|
|
997
|
+
"optional": false,
|
|
998
|
+
"docs": {
|
|
999
|
+
"tags": [],
|
|
1000
|
+
"text": "Default actions added to the internally used duet-editable-table"
|
|
1001
|
+
},
|
|
1002
|
+
"defaultValue": "[\n {\n icon: \"action-delete\",\n color: \"color-danger\",\n size: \"x-small\",\n background: \"gray-lightest\",\n name: \"delete\",\n map: [\"success\", \"failure\"],\n label: {\n fi: \"Poista tiedosto\",\n en: \"Poista tiedosto\",\n sv: \"Ta bort filen\",\n },\n },\n {\n icon: \"navigation-close\",\n color: \"primary\",\n size: \"x-small\",\n background: \"gray-lightest\",\n name: \"cancel\",\n map: [\"inprogress\", \"pending\"],\n label: {\n fi: \"Keskeyt\u00E4 l\u00E4hetys\",\n en: \"Cancel the upload\",\n sv: \"Stop \u00F6verf\u00F6ringen\",\n },\n },\n ]"
|
|
1003
|
+
},
|
|
1004
|
+
"uri": {
|
|
1005
|
+
"type": "string",
|
|
1006
|
+
"mutable": false,
|
|
1007
|
+
"complexType": {
|
|
1008
|
+
"original": "string",
|
|
1009
|
+
"resolved": "string",
|
|
1010
|
+
"references": {}
|
|
1011
|
+
},
|
|
1012
|
+
"required": false,
|
|
1013
|
+
"optional": false,
|
|
1014
|
+
"docs": {
|
|
1015
|
+
"tags": [],
|
|
1016
|
+
"text": "Endpoint URI that is capable of receiving the files"
|
|
1017
|
+
},
|
|
1018
|
+
"attribute": "uri",
|
|
1019
|
+
"reflect": false
|
|
1020
|
+
},
|
|
1021
|
+
"showLinks": {
|
|
1022
|
+
"type": "boolean",
|
|
1023
|
+
"mutable": false,
|
|
1024
|
+
"complexType": {
|
|
1025
|
+
"original": "boolean",
|
|
1026
|
+
"resolved": "boolean",
|
|
1027
|
+
"references": {}
|
|
1028
|
+
},
|
|
1029
|
+
"required": false,
|
|
1030
|
+
"optional": false,
|
|
1031
|
+
"docs": {
|
|
1032
|
+
"tags": [],
|
|
1033
|
+
"text": "If enabled the editable-table will display links on successfully uploaded items,\nthis requires the server can respond with link URIs in the correct format\nand that the files are accessible to the user"
|
|
1034
|
+
},
|
|
1035
|
+
"attribute": "show-links",
|
|
1036
|
+
"reflect": false,
|
|
1037
|
+
"defaultValue": "false"
|
|
1038
|
+
},
|
|
1039
|
+
"caption": {
|
|
1040
|
+
"type": "string",
|
|
1041
|
+
"mutable": false,
|
|
1042
|
+
"complexType": {
|
|
1043
|
+
"original": "string",
|
|
1044
|
+
"resolved": "string",
|
|
1045
|
+
"references": {}
|
|
1046
|
+
},
|
|
1047
|
+
"required": false,
|
|
1048
|
+
"optional": false,
|
|
1049
|
+
"docs": {
|
|
1050
|
+
"tags": [],
|
|
1051
|
+
"text": "Caption (underneath label) that can be set as a way of adding extra information"
|
|
1052
|
+
},
|
|
1053
|
+
"attribute": "caption",
|
|
1054
|
+
"reflect": false
|
|
1055
|
+
},
|
|
1056
|
+
"statusLabelDefaults": {
|
|
1057
|
+
"type": "string",
|
|
1058
|
+
"mutable": false,
|
|
1059
|
+
"complexType": {
|
|
1060
|
+
"original": "DuetLangObject | string",
|
|
1061
|
+
"resolved": "DuetLangObject | string",
|
|
1062
|
+
"references": {
|
|
1063
|
+
"DuetLangObject": {
|
|
1064
|
+
"location": "import",
|
|
1065
|
+
"path": "../../utils/language-utils"
|
|
1066
|
+
}
|
|
1253
1067
|
}
|
|
1254
|
-
}
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
"
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1068
|
+
},
|
|
1069
|
+
"required": false,
|
|
1070
|
+
"optional": false,
|
|
1071
|
+
"docs": {
|
|
1072
|
+
"tags": [{
|
|
1073
|
+
"name": "default",
|
|
1074
|
+
"text": "{\nfi: {\ninProgress: \"L\u00E4hetet\u00E4\u00E4n {filesUploaded} l\u00E4hetett\u00E4v\u00E4st\u00E4 {filesTotal} tiedostosta\",\ninProgressWithErrors:\n\"L\u00E4hetet\u00E4\u00E4n {filesInProgress} tiedostoa, l\u00E4hetetty {filesUploaded} l\u00E4hetett\u00E4v\u00E4st\u00E4 {filesTotal} tiedostosta, {filesWithErrors} tiedostossa on virheit\u00E4\",\ndone: \"Kaikki {filesTotal} tiedostoa l\u00E4hetetty onnistuneesti\",\ndoneWithErrors:\n\"L\u00E4hetys valmis, {filesUploaded} tiedostoa on l\u00E4hetetty onnistuneesti, {filesWithErrors} tiedostossa oli virheit\u00E4\",\nfiles: \"tiedostot\",\nfile: \"tiedosto\",\n},\nsv: {\ninProgress: \"Adding {filesUploaded} of {filesTotal}\",\ninProgressWithErrors:\n\"Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades\",\ndone: \"Alla {filesTotal} har lagts till\",\ndoneWithErrors: \"Handling slutf\u00F6rd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades\",\nfiles: \"filer\",\nfile: \"fil\",\n},\nen: {\ninProgress: \"Adding {filesUploaded} of {filesTotal}\",\ninProgressWithErrors:\n\"Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed\",\ndone: \"All {filesTotal} added successfully\",\ndoneWithErrors: \"Action completed, {filesUploaded} has been added successfully, {filesWithErrors} had errors\",\nfiles: \"tiedostoa\",\nfile: \"tiedosto\",\n},\n}"
|
|
1075
|
+
}],
|
|
1076
|
+
"text": "Property to change the aria upload progress text read aloud by screenreaders"
|
|
1077
|
+
},
|
|
1078
|
+
"attribute": "status-label-default",
|
|
1079
|
+
"reflect": false,
|
|
1080
|
+
"defaultValue": "{\n fi: {\n inProgress: \"L\u00E4hetet\u00E4\u00E4n {filesUploaded} l\u00E4hetett\u00E4v\u00E4st\u00E4 {filesTotal} tiedostosta\",\n inProgressWithErrors:\n \"L\u00E4hetet\u00E4\u00E4n {filesInProgress} tiedostoa, l\u00E4hetetty {filesUploaded} l\u00E4hetett\u00E4v\u00E4st\u00E4 {filesTotal} tiedostosta, {filesWithErrors} tiedostossa on virheit\u00E4\",\n done: \"Kaikki {filesTotal} tiedostoa l\u00E4hetetty onnistuneesti\",\n doneWithErrors:\n \"L\u00E4hetys valmis, {filesUploaded} tiedostoa on l\u00E4hetetty onnistuneesti, {filesWithErrors} tiedostossa oli virheit\u00E4\",\n files: \"tiedostot\",\n file: \"tiedosto\",\n },\n sv: {\n inProgress: \"Adding {filesUploaded} of {filesTotal}\",\n inProgressWithErrors:\n \"Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades\",\n done: \"Alla {filesTotal} har lagts till\",\n doneWithErrors: \"Handling slutf\u00F6rd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades\",\n files: \"filer\",\n file: \"fil\",\n },\n en: {\n inProgress: \"Adding {filesUploaded} of {filesTotal}\",\n inProgressWithErrors:\n \"Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed\",\n done: \"All {filesTotal} added successfully\",\n doneWithErrors: \"Action completed, {filesUploaded} has been added successfully, {filesWithErrors} had errors\",\n files: \"File\",\n file: \"file\",\n },\n }"
|
|
1081
|
+
},
|
|
1082
|
+
"statusMessageLabel": {
|
|
1083
|
+
"type": "string",
|
|
1084
|
+
"mutable": false,
|
|
1085
|
+
"complexType": {
|
|
1086
|
+
"original": "StatusMessage | string",
|
|
1087
|
+
"resolved": "string | { inProgress: string; inProgressWithErrors: string; done: string; doneWithErrors: string; file: string; files: string; }",
|
|
1088
|
+
"references": {
|
|
1089
|
+
"StatusMessage": {
|
|
1090
|
+
"location": "import",
|
|
1091
|
+
"path": "../duet-upload-aria-status/duet-upload-aria-status"
|
|
1092
|
+
}
|
|
1279
1093
|
}
|
|
1280
|
-
}
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1094
|
+
},
|
|
1095
|
+
"required": false,
|
|
1096
|
+
"optional": false,
|
|
1097
|
+
"docs": {
|
|
1098
|
+
"tags": [],
|
|
1099
|
+
"text": "Strings used for the status aria-label"
|
|
1100
|
+
},
|
|
1101
|
+
"attribute": "status-message-label",
|
|
1102
|
+
"reflect": false,
|
|
1103
|
+
"defaultValue": "getLocaleString(\n this.statusLabelDefaults\n )"
|
|
1104
|
+
},
|
|
1105
|
+
"buttonLabelDefaults": {
|
|
1106
|
+
"type": "string",
|
|
1107
|
+
"mutable": false,
|
|
1108
|
+
"complexType": {
|
|
1109
|
+
"original": "DuetLangObject | string",
|
|
1110
|
+
"resolved": "DuetLangObject | string",
|
|
1111
|
+
"references": {
|
|
1112
|
+
"DuetLangObject": {
|
|
1113
|
+
"location": "import",
|
|
1114
|
+
"path": "../../utils/language-utils"
|
|
1115
|
+
}
|
|
1302
1116
|
}
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1117
|
+
},
|
|
1118
|
+
"required": false,
|
|
1119
|
+
"optional": false,
|
|
1120
|
+
"docs": {
|
|
1121
|
+
"tags": [{
|
|
1122
|
+
"name": "default",
|
|
1123
|
+
"text": "{\nfi: \"Lis\u00E4\u00E4 liite\",\nsv: \"L\u00E4gg till en bilaga\",\nen: \"Add an attachment\",\n}"
|
|
1124
|
+
}],
|
|
1125
|
+
"text": "Property to change button label defaults on the component."
|
|
1126
|
+
},
|
|
1127
|
+
"attribute": "button-label-default",
|
|
1128
|
+
"reflect": false,
|
|
1129
|
+
"defaultValue": "{\n fi: \"Lis\u00E4\u00E4 liite\",\n sv: \"L\u00E4gg till en bilaga\",\n en: \"Add an attachment\",\n }"
|
|
1130
|
+
},
|
|
1131
|
+
"buttonLabel": {
|
|
1132
|
+
"type": "string",
|
|
1133
|
+
"mutable": false,
|
|
1134
|
+
"complexType": {
|
|
1135
|
+
"original": "string",
|
|
1136
|
+
"resolved": "string",
|
|
1137
|
+
"references": {}
|
|
1138
|
+
},
|
|
1139
|
+
"required": false,
|
|
1140
|
+
"optional": false,
|
|
1141
|
+
"docs": {
|
|
1142
|
+
"tags": [{
|
|
1143
|
+
"name": "default",
|
|
1144
|
+
"text": "{ fi: \"Lis\u00E4\u00E4 liite\", sv: \"L\u00E4gg till en bilaga\", en: \"Add an attachment\" }"
|
|
1145
|
+
}],
|
|
1146
|
+
"text": "Label of button"
|
|
1147
|
+
},
|
|
1148
|
+
"attribute": "button-label",
|
|
1149
|
+
"reflect": false,
|
|
1150
|
+
"defaultValue": "getLocaleString(this.buttonLabelDefaults)"
|
|
1151
|
+
},
|
|
1152
|
+
"accessibleButtonLabel": {
|
|
1153
|
+
"type": "string",
|
|
1154
|
+
"mutable": false,
|
|
1155
|
+
"complexType": {
|
|
1156
|
+
"original": "string",
|
|
1157
|
+
"resolved": "string",
|
|
1158
|
+
"references": {}
|
|
1159
|
+
},
|
|
1160
|
+
"required": false,
|
|
1161
|
+
"optional": false,
|
|
1162
|
+
"docs": {
|
|
1163
|
+
"tags": [],
|
|
1164
|
+
"text": "accessible aria-Label of button"
|
|
1165
|
+
},
|
|
1166
|
+
"attribute": "accessible-button-label",
|
|
1167
|
+
"reflect": false,
|
|
1168
|
+
"defaultValue": "undefined"
|
|
1169
|
+
},
|
|
1170
|
+
"theme": {
|
|
1171
|
+
"type": "string",
|
|
1172
|
+
"mutable": true,
|
|
1173
|
+
"complexType": {
|
|
1174
|
+
"original": "DuetTheme",
|
|
1175
|
+
"resolved": "\"\" | \"default\" | \"turva\"",
|
|
1176
|
+
"references": {
|
|
1177
|
+
"DuetTheme": {
|
|
1178
|
+
"location": "import",
|
|
1179
|
+
"path": "../../common-types"
|
|
1180
|
+
}
|
|
1367
1181
|
}
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1182
|
+
},
|
|
1183
|
+
"required": false,
|
|
1184
|
+
"optional": false,
|
|
1185
|
+
"docs": {
|
|
1186
|
+
"tags": [],
|
|
1187
|
+
"text": "Theme of the input."
|
|
1188
|
+
},
|
|
1189
|
+
"attribute": "theme",
|
|
1190
|
+
"reflect": false,
|
|
1191
|
+
"defaultValue": "\"\""
|
|
1192
|
+
},
|
|
1193
|
+
"disabled": {
|
|
1194
|
+
"type": "boolean",
|
|
1195
|
+
"mutable": false,
|
|
1196
|
+
"complexType": {
|
|
1197
|
+
"original": "boolean",
|
|
1198
|
+
"resolved": "boolean",
|
|
1199
|
+
"references": {}
|
|
1200
|
+
},
|
|
1201
|
+
"required": false,
|
|
1202
|
+
"optional": false,
|
|
1203
|
+
"docs": {
|
|
1204
|
+
"tags": [],
|
|
1205
|
+
"text": "Makes the input component disabled. This prevents users from being able to\ninteract with the upload component, and conveys its inactive state to assistive technologies."
|
|
1206
|
+
},
|
|
1207
|
+
"attribute": "disabled",
|
|
1208
|
+
"reflect": true,
|
|
1209
|
+
"defaultValue": "false"
|
|
1210
|
+
},
|
|
1211
|
+
"identifier": {
|
|
1212
|
+
"type": "string",
|
|
1213
|
+
"mutable": false,
|
|
1214
|
+
"complexType": {
|
|
1215
|
+
"original": "string",
|
|
1216
|
+
"resolved": "string",
|
|
1217
|
+
"references": {}
|
|
1218
|
+
},
|
|
1219
|
+
"required": false,
|
|
1220
|
+
"optional": false,
|
|
1221
|
+
"docs": {
|
|
1222
|
+
"tags": [],
|
|
1223
|
+
"text": "Adds a unique identifier for the upload component."
|
|
1224
|
+
},
|
|
1225
|
+
"attribute": "identifier",
|
|
1226
|
+
"reflect": false
|
|
1227
|
+
},
|
|
1228
|
+
"margin": {
|
|
1229
|
+
"type": "string",
|
|
1230
|
+
"mutable": false,
|
|
1231
|
+
"complexType": {
|
|
1232
|
+
"original": "DuetMargin",
|
|
1233
|
+
"resolved": "\"auto\" | \"none\"",
|
|
1234
|
+
"references": {
|
|
1235
|
+
"DuetMargin": {
|
|
1236
|
+
"location": "import",
|
|
1237
|
+
"path": "../../common-types"
|
|
1238
|
+
}
|
|
1425
1239
|
}
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1240
|
+
},
|
|
1241
|
+
"required": false,
|
|
1242
|
+
"optional": false,
|
|
1243
|
+
"docs": {
|
|
1244
|
+
"tags": [],
|
|
1245
|
+
"text": "Controls the margin of the component."
|
|
1246
|
+
},
|
|
1247
|
+
"attribute": "margin",
|
|
1248
|
+
"reflect": false,
|
|
1249
|
+
"defaultValue": "\"auto\""
|
|
1250
|
+
},
|
|
1251
|
+
"required": {
|
|
1252
|
+
"type": "boolean",
|
|
1253
|
+
"mutable": false,
|
|
1254
|
+
"complexType": {
|
|
1255
|
+
"original": "boolean",
|
|
1256
|
+
"resolved": "boolean",
|
|
1257
|
+
"references": {}
|
|
1258
|
+
},
|
|
1259
|
+
"required": false,
|
|
1260
|
+
"optional": false,
|
|
1261
|
+
"docs": {
|
|
1262
|
+
"tags": [],
|
|
1263
|
+
"text": "Set whether the input is required or not. Please note that this is necessary for\naccessible inputs when the user is required to fill them. When using this property\nyou need to also set \u201Cnovalidate\u201D attribute to your form element to prevent\nbrowser from displaying its own validation errors."
|
|
1264
|
+
},
|
|
1265
|
+
"attribute": "required",
|
|
1266
|
+
"reflect": false,
|
|
1267
|
+
"defaultValue": "false"
|
|
1268
|
+
},
|
|
1269
|
+
"alignment": {
|
|
1270
|
+
"type": "string",
|
|
1271
|
+
"mutable": false,
|
|
1272
|
+
"complexType": {
|
|
1273
|
+
"original": "string",
|
|
1274
|
+
"resolved": "string",
|
|
1275
|
+
"references": {}
|
|
1276
|
+
},
|
|
1277
|
+
"required": false,
|
|
1278
|
+
"optional": false,
|
|
1279
|
+
"docs": {
|
|
1280
|
+
"tags": [],
|
|
1281
|
+
"text": "Key used to set vertical alignment of action buttons"
|
|
1282
|
+
},
|
|
1283
|
+
"attribute": "alignment",
|
|
1284
|
+
"reflect": false,
|
|
1285
|
+
"defaultValue": "\"middle\""
|
|
1286
|
+
},
|
|
1287
|
+
"hideGroups": {
|
|
1288
|
+
"type": "boolean",
|
|
1289
|
+
"mutable": false,
|
|
1290
|
+
"complexType": {
|
|
1291
|
+
"original": "boolean",
|
|
1292
|
+
"resolved": "boolean",
|
|
1293
|
+
"references": {}
|
|
1294
|
+
},
|
|
1295
|
+
"required": false,
|
|
1296
|
+
"optional": false,
|
|
1297
|
+
"docs": {
|
|
1298
|
+
"tags": [],
|
|
1299
|
+
"text": "Visually hides the groups labels in the editable table list used to display the list of files"
|
|
1300
|
+
},
|
|
1301
|
+
"attribute": "hide-table-labels",
|
|
1302
|
+
"reflect": false,
|
|
1303
|
+
"defaultValue": "false"
|
|
1304
|
+
},
|
|
1305
|
+
"files": {
|
|
1306
|
+
"type": "unknown",
|
|
1307
|
+
"mutable": true,
|
|
1308
|
+
"complexType": {
|
|
1309
|
+
"original": "StringMap",
|
|
1310
|
+
"resolved": "StringMap",
|
|
1311
|
+
"references": {
|
|
1312
|
+
"StringMap": {
|
|
1313
|
+
"location": "local"
|
|
1314
|
+
}
|
|
1501
1315
|
}
|
|
1502
|
-
}
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1316
|
+
},
|
|
1317
|
+
"required": false,
|
|
1318
|
+
"optional": false,
|
|
1319
|
+
"docs": {
|
|
1320
|
+
"tags": [],
|
|
1321
|
+
"text": "Map of string that contain list of uploaded files."
|
|
1322
|
+
},
|
|
1323
|
+
"defaultValue": "new Map()"
|
|
1324
|
+
},
|
|
1325
|
+
"valid": {
|
|
1326
|
+
"type": "boolean",
|
|
1327
|
+
"mutable": true,
|
|
1328
|
+
"complexType": {
|
|
1329
|
+
"original": "boolean",
|
|
1330
|
+
"resolved": "boolean",
|
|
1331
|
+
"references": {}
|
|
1332
|
+
},
|
|
1333
|
+
"required": false,
|
|
1334
|
+
"optional": false,
|
|
1335
|
+
"docs": {
|
|
1336
|
+
"tags": [],
|
|
1337
|
+
"text": "Property to read if the internally used editable-table contains errors or not"
|
|
1338
|
+
},
|
|
1339
|
+
"attribute": "valid",
|
|
1340
|
+
"reflect": true,
|
|
1341
|
+
"defaultValue": "!this.required"
|
|
1342
|
+
},
|
|
1343
|
+
"labelDefaults": {
|
|
1344
|
+
"type": "string",
|
|
1345
|
+
"mutable": false,
|
|
1346
|
+
"complexType": {
|
|
1347
|
+
"original": "DuetLangObject | string",
|
|
1348
|
+
"resolved": "DuetLangObject | string",
|
|
1349
|
+
"references": {
|
|
1350
|
+
"DuetLangObject": {
|
|
1351
|
+
"location": "import",
|
|
1352
|
+
"path": "../../utils/language-utils"
|
|
1353
|
+
}
|
|
1540
1354
|
}
|
|
1541
|
-
}
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1355
|
+
},
|
|
1356
|
+
"required": false,
|
|
1357
|
+
"optional": false,
|
|
1358
|
+
"docs": {
|
|
1359
|
+
"tags": [{
|
|
1360
|
+
"name": "default",
|
|
1361
|
+
"text": "{ fi: \"Lis\u00E4\u00E4 liite\",sv: \"L\u00E4gg till en bilaga\",en: \"Add attachments\"}"
|
|
1362
|
+
}],
|
|
1363
|
+
"text": "Property to change labelDefaults defaults on the component.\nnormally you would handle these strings on an application level and override @label when needed"
|
|
1364
|
+
},
|
|
1365
|
+
"attribute": "label-default",
|
|
1366
|
+
"reflect": false,
|
|
1367
|
+
"defaultValue": "{\n fi: \"Lis\u00E4\u00E4 liite\",\n sv: \"L\u00E4gg till en bilaga\",\n en: \"Add attachments\",\n }"
|
|
1368
|
+
},
|
|
1369
|
+
"label": {
|
|
1370
|
+
"type": "string",
|
|
1371
|
+
"mutable": false,
|
|
1372
|
+
"complexType": {
|
|
1373
|
+
"original": "string",
|
|
1374
|
+
"resolved": "string",
|
|
1375
|
+
"references": {}
|
|
1376
|
+
},
|
|
1377
|
+
"required": false,
|
|
1378
|
+
"optional": false,
|
|
1379
|
+
"docs": {
|
|
1380
|
+
"tags": [{
|
|
1381
|
+
"name": "default",
|
|
1382
|
+
"text": "{ fi: \"Lis\u00E4\u00E4 liite\",sv: \"L\u00E4gg till en bilaga\",en: \"Add attachments\"}"
|
|
1383
|
+
}],
|
|
1384
|
+
"text": "Label for the input."
|
|
1385
|
+
},
|
|
1386
|
+
"attribute": "label",
|
|
1387
|
+
"reflect": false,
|
|
1388
|
+
"defaultValue": "getLocaleString(this.labelDefaults)"
|
|
1389
|
+
},
|
|
1390
|
+
"descriptionDefaults": {
|
|
1391
|
+
"type": "string",
|
|
1392
|
+
"mutable": false,
|
|
1393
|
+
"complexType": {
|
|
1394
|
+
"original": "DuetLangObject | string",
|
|
1395
|
+
"resolved": "DuetLangObject | string",
|
|
1396
|
+
"references": {
|
|
1397
|
+
"DuetLangObject": {
|
|
1398
|
+
"location": "import",
|
|
1399
|
+
"path": "../../utils/language-utils"
|
|
1400
|
+
}
|
|
1587
1401
|
}
|
|
1588
|
-
}
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1402
|
+
},
|
|
1403
|
+
"required": false,
|
|
1404
|
+
"optional": false,
|
|
1405
|
+
"docs": {
|
|
1406
|
+
"tags": [{
|
|
1407
|
+
"name": "default",
|
|
1408
|
+
"text": "{\nen: \"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}.\",\nsv: \"Du kan bifoga f\u00F6ljande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer \u00E5t g\u00E5ngen, och l\u00E4gga till upp till {maxfiles} bilagor \u00E5t g\u00E5ngen varje inte st\u00F6rre \u00E4n {maxbytes}.\",\nfi: \"Voit liitt\u00E4\u00E4 seuraavat tiedostotyypit: {filetypes} - sek\u00E4 yleisimm\u00E4t videotiedostot. Voit l\u00E4hett\u00E4\u00E4 {maxbytestotal} tiedostoa kerrallaan, ja lis\u00E4t\u00E4 enint\u00E4\u00E4n {maxfiles} liitett\u00E4 kerrallaan, jokainen enint\u00E4\u00E4n {maxbytes} kokoisena.\",\n}"
|
|
1409
|
+
}],
|
|
1410
|
+
"text": "Property to change descriptionDefaults defaults on the component."
|
|
1411
|
+
},
|
|
1412
|
+
"attribute": "description-default",
|
|
1413
|
+
"reflect": false,
|
|
1414
|
+
"defaultValue": "{\n 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}.\",\n sv: \"Du kan bifoga f\u00F6ljande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer \u00E5t g\u00E5ngen, och l\u00E4gga till upp till {maxfiles} bilagor \u00E5t g\u00E5ngen varje inte st\u00F6rre \u00E4n {maxbytes}.\",\n fi: \"Voit liitt\u00E4\u00E4 seuraavat tiedostotyypit: {filetypes} - sek\u00E4 yleisimm\u00E4t videotiedostot. Voit l\u00E4hett\u00E4\u00E4 {maxbytestotal} tiedostoa kerrallaan, ja lis\u00E4t\u00E4 enint\u00E4\u00E4n {maxfiles} liitett\u00E4 kerrallaan, jokainen enint\u00E4\u00E4n {maxbytes} kokoisena.\",\n }"
|
|
1415
|
+
},
|
|
1416
|
+
"description": {
|
|
1417
|
+
"type": "string",
|
|
1418
|
+
"mutable": false,
|
|
1419
|
+
"complexType": {
|
|
1420
|
+
"original": "string",
|
|
1421
|
+
"resolved": "string",
|
|
1422
|
+
"references": {}
|
|
1423
|
+
},
|
|
1424
|
+
"required": false,
|
|
1425
|
+
"optional": false,
|
|
1426
|
+
"docs": {
|
|
1427
|
+
"tags": [{
|
|
1428
|
+
"name": "default",
|
|
1429
|
+
"text": "{\nen: \"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}.\",\nsv: \"Du kan bifoga f\u00F6ljande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer \u00E5t g\u00E5ngen, och l\u00E4gga till upp till {maxfiles} bilagor \u00E5t g\u00E5ngen varje inte st\u00F6rre \u00E4n {maxbytes}.\",\nfi: \"Voit liitt\u00E4\u00E4 seuraavat tiedostotyypit: {filetypes} - sek\u00E4 yleisimm\u00E4t videotiedostot. Voit l\u00E4hett\u00E4\u00E4 {maxbytestotal} tiedostoa kerrallaan, ja lis\u00E4t\u00E4 enint\u00E4\u00E4n {maxfiles} liitett\u00E4 kerrallaan, jokainen enint\u00E4\u00E4n {maxbytes} kokoisena.\",\n}"
|
|
1430
|
+
}],
|
|
1431
|
+
"text": "Description for the upload component."
|
|
1432
|
+
},
|
|
1433
|
+
"attribute": "description",
|
|
1434
|
+
"reflect": false,
|
|
1435
|
+
"defaultValue": "getLocaleString(this.descriptionDefaults)"
|
|
1436
|
+
},
|
|
1437
|
+
"fileListEmptyDefaults": {
|
|
1438
|
+
"type": "string",
|
|
1439
|
+
"mutable": false,
|
|
1440
|
+
"complexType": {
|
|
1441
|
+
"original": "DuetLangObject | string",
|
|
1442
|
+
"resolved": "DuetLangObject | string",
|
|
1443
|
+
"references": {
|
|
1444
|
+
"DuetLangObject": {
|
|
1445
|
+
"location": "import",
|
|
1446
|
+
"path": "../../utils/language-utils"
|
|
1447
|
+
}
|
|
1634
1448
|
}
|
|
1635
|
-
}
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1449
|
+
},
|
|
1450
|
+
"required": false,
|
|
1451
|
+
"optional": false,
|
|
1452
|
+
"docs": {
|
|
1453
|
+
"tags": [{
|
|
1454
|
+
"name": "default",
|
|
1455
|
+
"text": "{\nfi: \"Ei viel\u00E4 lis\u00E4ttyj\u00E4 tiedostoja.\",\nsv: \"Inga filer har lagts till \u00E4nnu.\",\nen: \"No files added yet.\",\n}"
|
|
1456
|
+
}],
|
|
1457
|
+
"text": "Defaults for the filelist's empty state."
|
|
1458
|
+
},
|
|
1459
|
+
"attribute": "list-empty-default",
|
|
1460
|
+
"reflect": false,
|
|
1461
|
+
"defaultValue": "{\n fi: \"Ei viel\u00E4 lis\u00E4ttyj\u00E4 tiedostoja.\",\n sv: \"Inga filer har lagts till \u00E4nnu.\",\n en: \"No files added yet.\",\n }"
|
|
1462
|
+
},
|
|
1463
|
+
"fileListEmpty": {
|
|
1464
|
+
"type": "string",
|
|
1465
|
+
"mutable": false,
|
|
1466
|
+
"complexType": {
|
|
1467
|
+
"original": "string",
|
|
1468
|
+
"resolved": "string",
|
|
1469
|
+
"references": {}
|
|
1470
|
+
},
|
|
1471
|
+
"required": false,
|
|
1472
|
+
"optional": false,
|
|
1473
|
+
"docs": {
|
|
1474
|
+
"tags": [{
|
|
1475
|
+
"name": "default",
|
|
1476
|
+
"text": "{ fi: \"Ei viel\u00E4 lis\u00E4ttyj\u00E4 tiedostoja.\",sv: \"Inga filer har lagts till \u00E4nnu.\",en: \"No files added yet.\"}"
|
|
1477
|
+
}],
|
|
1478
|
+
"text": "Label for the filelist's empty state."
|
|
1479
|
+
},
|
|
1480
|
+
"attribute": "file-list-empty",
|
|
1481
|
+
"reflect": false,
|
|
1482
|
+
"defaultValue": "getLocaleString(this.fileListEmptyDefaults)"
|
|
1483
|
+
},
|
|
1484
|
+
"error": {
|
|
1485
|
+
"type": "string",
|
|
1486
|
+
"mutable": false,
|
|
1487
|
+
"complexType": {
|
|
1488
|
+
"original": "string",
|
|
1489
|
+
"resolved": "string",
|
|
1490
|
+
"references": {}
|
|
1491
|
+
},
|
|
1492
|
+
"required": false,
|
|
1493
|
+
"optional": false,
|
|
1494
|
+
"docs": {
|
|
1495
|
+
"tags": [],
|
|
1496
|
+
"text": "Display the input in error state along with an error message."
|
|
1497
|
+
},
|
|
1498
|
+
"attribute": "error",
|
|
1499
|
+
"reflect": false,
|
|
1500
|
+
"defaultValue": "\"\""
|
|
1501
|
+
},
|
|
1502
|
+
"errorCodes": {
|
|
1503
|
+
"type": "unknown",
|
|
1504
|
+
"mutable": false,
|
|
1505
|
+
"complexType": {
|
|
1506
|
+
"original": "DuetUploadErrorCode[]",
|
|
1507
|
+
"resolved": "DuetUploadErrorCode[]",
|
|
1508
|
+
"references": {
|
|
1509
|
+
"DuetUploadErrorCode": {
|
|
1510
|
+
"location": "import",
|
|
1511
|
+
"path": "./errorcodes.utils"
|
|
1512
|
+
}
|
|
1699
1513
|
}
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1514
|
+
},
|
|
1515
|
+
"required": false,
|
|
1516
|
+
"optional": false,
|
|
1517
|
+
"docs": {
|
|
1518
|
+
"tags": [],
|
|
1519
|
+
"text": "Default errorcodes used by the component, modifiable via javascript"
|
|
1520
|
+
},
|
|
1521
|
+
"defaultValue": "errorCodes"
|
|
1522
|
+
},
|
|
1523
|
+
"name": {
|
|
1524
|
+
"type": "string",
|
|
1525
|
+
"mutable": false,
|
|
1526
|
+
"complexType": {
|
|
1527
|
+
"original": "string",
|
|
1528
|
+
"resolved": "string",
|
|
1529
|
+
"references": {}
|
|
1530
|
+
},
|
|
1531
|
+
"required": false,
|
|
1532
|
+
"optional": false,
|
|
1533
|
+
"docs": {
|
|
1534
|
+
"tags": [],
|
|
1535
|
+
"text": "Name of the upload component."
|
|
1536
|
+
},
|
|
1537
|
+
"attribute": "name",
|
|
1538
|
+
"reflect": false
|
|
1539
|
+
},
|
|
1540
|
+
"maxBytes": {
|
|
1541
|
+
"type": "number",
|
|
1542
|
+
"mutable": false,
|
|
1543
|
+
"complexType": {
|
|
1544
|
+
"original": "number",
|
|
1545
|
+
"resolved": "number",
|
|
1546
|
+
"references": {}
|
|
1547
|
+
},
|
|
1548
|
+
"required": false,
|
|
1549
|
+
"optional": false,
|
|
1550
|
+
"docs": {
|
|
1551
|
+
"tags": [],
|
|
1552
|
+
"text": "Use maxBytes to specify the maximum size in Bytes of a file that can be uploaded."
|
|
1553
|
+
},
|
|
1554
|
+
"attribute": "max-bytes",
|
|
1555
|
+
"reflect": false,
|
|
1556
|
+
"defaultValue": "200000000"
|
|
1557
|
+
},
|
|
1558
|
+
"maxBytesTotal": {
|
|
1559
|
+
"type": "number",
|
|
1560
|
+
"mutable": false,
|
|
1561
|
+
"complexType": {
|
|
1562
|
+
"original": "number",
|
|
1563
|
+
"resolved": "number",
|
|
1564
|
+
"references": {}
|
|
1565
|
+
},
|
|
1566
|
+
"required": false,
|
|
1567
|
+
"optional": false,
|
|
1568
|
+
"docs": {
|
|
1569
|
+
"tags": [],
|
|
1570
|
+
"text": "Use maxBytesTotal to specify the maximum size in Bytes of All files combined that can be uploaded."
|
|
1571
|
+
},
|
|
1572
|
+
"attribute": "max-bytes-total",
|
|
1573
|
+
"reflect": false,
|
|
1574
|
+
"defaultValue": "undefined"
|
|
1575
|
+
},
|
|
1576
|
+
"maxFiles": {
|
|
1577
|
+
"type": "number",
|
|
1578
|
+
"mutable": false,
|
|
1579
|
+
"complexType": {
|
|
1580
|
+
"original": "number",
|
|
1581
|
+
"resolved": "number",
|
|
1582
|
+
"references": {}
|
|
1583
|
+
},
|
|
1584
|
+
"required": false,
|
|
1585
|
+
"optional": false,
|
|
1586
|
+
"docs": {
|
|
1587
|
+
"tags": [],
|
|
1588
|
+
"text": "Use maxFiles to specify the maximum amount of files that can be uploaded"
|
|
1589
|
+
},
|
|
1590
|
+
"attribute": "max-files",
|
|
1591
|
+
"reflect": false,
|
|
1592
|
+
"defaultValue": "99"
|
|
1593
|
+
},
|
|
1594
|
+
"allowedExtensions": {
|
|
1595
|
+
"type": "string",
|
|
1596
|
+
"mutable": false,
|
|
1597
|
+
"complexType": {
|
|
1598
|
+
"original": "string",
|
|
1599
|
+
"resolved": "string",
|
|
1600
|
+
"references": {}
|
|
1601
|
+
},
|
|
1602
|
+
"required": false,
|
|
1603
|
+
"optional": false,
|
|
1604
|
+
"docs": {
|
|
1605
|
+
"tags": [{
|
|
1606
|
+
"name": "example",
|
|
1607
|
+
"text": ": .pdf,.doc,.docx"
|
|
1608
|
+
}],
|
|
1609
|
+
"text": "A string of commaseperated file type values that are allowed"
|
|
1610
|
+
},
|
|
1611
|
+
"attribute": "allowed-extensions",
|
|
1612
|
+
"reflect": false,
|
|
1613
|
+
"defaultValue": "\"all\""
|
|
1614
|
+
},
|
|
1615
|
+
"allowedMimetypes": {
|
|
1616
|
+
"type": "string",
|
|
1617
|
+
"mutable": false,
|
|
1618
|
+
"complexType": {
|
|
1619
|
+
"original": "string",
|
|
1620
|
+
"resolved": "string",
|
|
1621
|
+
"references": {}
|
|
1622
|
+
},
|
|
1623
|
+
"required": false,
|
|
1624
|
+
"optional": false,
|
|
1625
|
+
"docs": {
|
|
1626
|
+
"tags": [{
|
|
1627
|
+
"name": "example",
|
|
1628
|
+
"text": ": image/*,application/msword,"
|
|
1629
|
+
}],
|
|
1630
|
+
"text": "A string of commaseperated mime type values that are allowed"
|
|
1631
|
+
},
|
|
1632
|
+
"attribute": "allowed-mimetypes",
|
|
1633
|
+
"reflect": false,
|
|
1634
|
+
"defaultValue": "\"*\""
|
|
1635
|
+
},
|
|
1636
|
+
"multiple": {
|
|
1637
|
+
"type": "boolean",
|
|
1638
|
+
"mutable": false,
|
|
1639
|
+
"complexType": {
|
|
1640
|
+
"original": "boolean",
|
|
1641
|
+
"resolved": "boolean",
|
|
1642
|
+
"references": {}
|
|
1643
|
+
},
|
|
1644
|
+
"required": false,
|
|
1645
|
+
"optional": false,
|
|
1646
|
+
"docs": {
|
|
1647
|
+
"tags": [],
|
|
1648
|
+
"text": "Use multiple to allow the user to select multiple files when uploading"
|
|
1649
|
+
},
|
|
1650
|
+
"attribute": "multiple",
|
|
1651
|
+
"reflect": false,
|
|
1652
|
+
"defaultValue": "true"
|
|
1653
|
+
},
|
|
1654
|
+
"limitSelection": {
|
|
1655
|
+
"type": "boolean",
|
|
1656
|
+
"mutable": false,
|
|
1657
|
+
"complexType": {
|
|
1658
|
+
"original": "boolean",
|
|
1659
|
+
"resolved": "boolean",
|
|
1660
|
+
"references": {}
|
|
1661
|
+
},
|
|
1662
|
+
"required": false,
|
|
1663
|
+
"optional": false,
|
|
1664
|
+
"docs": {
|
|
1665
|
+
"tags": [],
|
|
1666
|
+
"text": "Use limitSelection to enforce the value in allowedExtension & allowedMimetypes when selecting files,\nby default this is off, setting this to true will limit the users choices to what has been explicitly set"
|
|
1667
|
+
},
|
|
1668
|
+
"attribute": "limit-selection",
|
|
1669
|
+
"reflect": false,
|
|
1670
|
+
"defaultValue": "false"
|
|
1671
|
+
},
|
|
1672
|
+
"value": {
|
|
1673
|
+
"type": "string",
|
|
1674
|
+
"mutable": true,
|
|
1675
|
+
"complexType": {
|
|
1676
|
+
"original": "string",
|
|
1677
|
+
"resolved": "string",
|
|
1678
|
+
"references": {}
|
|
1679
|
+
},
|
|
1680
|
+
"required": false,
|
|
1681
|
+
"optional": false,
|
|
1682
|
+
"docs": {
|
|
1683
|
+
"tags": [],
|
|
1684
|
+
"text": "Value of the input."
|
|
1685
|
+
},
|
|
1686
|
+
"attribute": "value",
|
|
1687
|
+
"reflect": false
|
|
1688
|
+
},
|
|
1689
|
+
"groups": {
|
|
1690
|
+
"type": "unknown",
|
|
1691
|
+
"mutable": false,
|
|
1692
|
+
"complexType": {
|
|
1693
|
+
"original": "DuetUploadTableGroupName[]",
|
|
1694
|
+
"resolved": "DuetUploadTableGroupName[]",
|
|
1695
|
+
"references": {
|
|
1696
|
+
"DuetUploadTableGroupName": {
|
|
1697
|
+
"location": "local"
|
|
1698
|
+
}
|
|
1885
1699
|
}
|
|
1886
|
-
}
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
},
|
|
1900
|
-
|
|
1901
|
-
}
|
|
1902
|
-
}
|
|
1903
|
-
static get states() {
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
"
|
|
1914
|
-
"
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
"
|
|
1920
|
-
"
|
|
1921
|
-
|
|
1700
|
+
},
|
|
1701
|
+
"required": false,
|
|
1702
|
+
"optional": false,
|
|
1703
|
+
"docs": {
|
|
1704
|
+
"tags": [{
|
|
1705
|
+
"name": "required",
|
|
1706
|
+
"text": undefined
|
|
1707
|
+
}, {
|
|
1708
|
+
"name": "example",
|
|
1709
|
+
"text": "[{ id: \"success\", label: {fi: \"Onnistunut\", en: \"Success\", sv: \"Alt klart\", }}]"
|
|
1710
|
+
}],
|
|
1711
|
+
"text": "Array of group names that you want the editable table to use to display files"
|
|
1712
|
+
},
|
|
1713
|
+
"defaultValue": "[\n {\n id: this.DefaultGroups.pending,\n label: {\n en: \"Files to upload\",\n sv: \"Filer att ladda\",\n fi: \"Ladattavat tiedostot\",\n },\n },\n {\n id: this.DefaultGroups.success,\n label: {\n fi: \"Valmiit tiedostot\",\n sv: \"Files success\",\n en: \"Files success\",\n },\n },\n {\n id: this.DefaultGroups.failure,\n label: {\n fi: \"Tiedostot, joissa on virheit\u00E4\",\n sv: \"Filer med fel\",\n en: \"Files with errors\",\n },\n },\n {\n id: this.DefaultGroups.inprogress,\n label: {\n fi: \"Kesken olevat tiedostot\",\n sv: \"Filer inprogress\",\n en: \"Files inprogress\",\n },\n },\n ]"
|
|
1714
|
+
}
|
|
1715
|
+
};
|
|
1716
|
+
}
|
|
1717
|
+
static get states() {
|
|
1718
|
+
return {
|
|
1719
|
+
"tick": {}
|
|
1720
|
+
};
|
|
1721
|
+
}
|
|
1722
|
+
static get events() {
|
|
1723
|
+
return [{
|
|
1724
|
+
"method": "duetChange",
|
|
1725
|
+
"name": "duetChange",
|
|
1726
|
+
"bubbles": false,
|
|
1727
|
+
"cancelable": true,
|
|
1728
|
+
"composed": true,
|
|
1729
|
+
"docs": {
|
|
1730
|
+
"tags": [],
|
|
1731
|
+
"text": "Emitted when the value has changed."
|
|
1732
|
+
},
|
|
1733
|
+
"complexType": {
|
|
1734
|
+
"original": "DuetUploadEvent",
|
|
1735
|
+
"resolved": "{ originalEvent?: Event; data?: Record<string, any>; metaData?: Record<string, any>; component: \"duet-upload\"; }",
|
|
1736
|
+
"references": {
|
|
1737
|
+
"DuetUploadEvent": {
|
|
1738
|
+
"location": "local"
|
|
1739
|
+
}
|
|
1922
1740
|
}
|
|
1923
1741
|
}
|
|
1924
|
-
}
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1742
|
+
}, {
|
|
1743
|
+
"method": "duetBlur",
|
|
1744
|
+
"name": "duetBlur",
|
|
1745
|
+
"bubbles": true,
|
|
1746
|
+
"cancelable": true,
|
|
1747
|
+
"composed": true,
|
|
1748
|
+
"docs": {
|
|
1749
|
+
"tags": [],
|
|
1750
|
+
"text": "Emitted when the input loses focus."
|
|
1751
|
+
},
|
|
1752
|
+
"complexType": {
|
|
1753
|
+
"original": "DuetUploadEvent",
|
|
1754
|
+
"resolved": "{ originalEvent?: Event; data?: Record<string, any>; metaData?: Record<string, any>; component: \"duet-upload\"; }",
|
|
1755
|
+
"references": {
|
|
1756
|
+
"DuetUploadEvent": {
|
|
1757
|
+
"location": "local"
|
|
1758
|
+
}
|
|
1941
1759
|
}
|
|
1942
1760
|
}
|
|
1943
|
-
}
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1761
|
+
}, {
|
|
1762
|
+
"method": "duetFocus",
|
|
1763
|
+
"name": "duetFocus",
|
|
1764
|
+
"bubbles": true,
|
|
1765
|
+
"cancelable": true,
|
|
1766
|
+
"composed": true,
|
|
1767
|
+
"docs": {
|
|
1768
|
+
"tags": [],
|
|
1769
|
+
"text": "Emitted when the input has focus."
|
|
1770
|
+
},
|
|
1771
|
+
"complexType": {
|
|
1772
|
+
"original": "DuetUploadEvent",
|
|
1773
|
+
"resolved": "{ originalEvent?: Event; data?: Record<string, any>; metaData?: Record<string, any>; component: \"duet-upload\"; }",
|
|
1774
|
+
"references": {
|
|
1775
|
+
"DuetUploadEvent": {
|
|
1776
|
+
"location": "local"
|
|
1777
|
+
}
|
|
1960
1778
|
}
|
|
1961
1779
|
}
|
|
1962
|
-
}
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1780
|
+
}, {
|
|
1781
|
+
"method": "duetReady",
|
|
1782
|
+
"name": "duetReady",
|
|
1783
|
+
"bubbles": true,
|
|
1784
|
+
"cancelable": true,
|
|
1785
|
+
"composed": true,
|
|
1786
|
+
"docs": {
|
|
1787
|
+
"tags": [],
|
|
1788
|
+
"text": "Emitted when the component is finished initializing"
|
|
1789
|
+
},
|
|
1790
|
+
"complexType": {
|
|
1791
|
+
"original": "DuetUploadEvent",
|
|
1792
|
+
"resolved": "{ originalEvent?: Event; data?: Record<string, any>; metaData?: Record<string, any>; component: \"duet-upload\"; }",
|
|
1793
|
+
"references": {
|
|
1794
|
+
"DuetUploadEvent": {
|
|
1795
|
+
"location": "local"
|
|
1796
|
+
}
|
|
1979
1797
|
}
|
|
1980
1798
|
}
|
|
1981
|
-
}
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1799
|
+
}, {
|
|
1800
|
+
"method": "duetDone",
|
|
1801
|
+
"name": "duetDone",
|
|
1802
|
+
"bubbles": false,
|
|
1803
|
+
"cancelable": true,
|
|
1804
|
+
"composed": true,
|
|
1805
|
+
"docs": {
|
|
1806
|
+
"tags": [],
|
|
1807
|
+
"text": "Emitted when the current upload batch finishes"
|
|
1808
|
+
},
|
|
1809
|
+
"complexType": {
|
|
1810
|
+
"original": "DuetUploadEvent",
|
|
1811
|
+
"resolved": "{ originalEvent?: Event; data?: Record<string, any>; metaData?: Record<string, any>; component: \"duet-upload\"; }",
|
|
1812
|
+
"references": {
|
|
1813
|
+
"DuetUploadEvent": {
|
|
1814
|
+
"location": "local"
|
|
1815
|
+
}
|
|
1998
1816
|
}
|
|
1999
1817
|
}
|
|
2000
|
-
}
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
1818
|
+
}, {
|
|
1819
|
+
"method": "duetState",
|
|
1820
|
+
"name": "duetState",
|
|
1821
|
+
"bubbles": false,
|
|
1822
|
+
"cancelable": true,
|
|
1823
|
+
"composed": true,
|
|
1824
|
+
"docs": {
|
|
1825
|
+
"tags": [],
|
|
1826
|
+
"text": "Emitted when the current validation state changes internally"
|
|
1827
|
+
},
|
|
1828
|
+
"complexType": {
|
|
1829
|
+
"original": "DuetUploadEvent",
|
|
1830
|
+
"resolved": "{ originalEvent?: Event; data?: Record<string, any>; metaData?: Record<string, any>; component: \"duet-upload\"; }",
|
|
1831
|
+
"references": {
|
|
1832
|
+
"DuetUploadEvent": {
|
|
1833
|
+
"location": "local"
|
|
1834
|
+
}
|
|
2017
1835
|
}
|
|
2018
1836
|
}
|
|
2019
|
-
}
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
1837
|
+
}, {
|
|
1838
|
+
"method": "duetDelete",
|
|
1839
|
+
"name": "duetDelete",
|
|
1840
|
+
"bubbles": false,
|
|
1841
|
+
"cancelable": true,
|
|
1842
|
+
"composed": true,
|
|
1843
|
+
"docs": {
|
|
1844
|
+
"tags": [],
|
|
1845
|
+
"text": "Emitted when a user clicks delete to delete an uploaded file, or a file entry with error"
|
|
1846
|
+
},
|
|
1847
|
+
"complexType": {
|
|
1848
|
+
"original": "DuetUploadEvent",
|
|
1849
|
+
"resolved": "{ originalEvent?: Event; data?: Record<string, any>; metaData?: Record<string, any>; component: \"duet-upload\"; }",
|
|
1850
|
+
"references": {
|
|
1851
|
+
"DuetUploadEvent": {
|
|
1852
|
+
"location": "local"
|
|
1853
|
+
}
|
|
2036
1854
|
}
|
|
2037
1855
|
}
|
|
2038
|
-
}
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
1856
|
+
}, {
|
|
1857
|
+
"method": "duetCancel",
|
|
1858
|
+
"name": "duetCancel",
|
|
1859
|
+
"bubbles": false,
|
|
1860
|
+
"cancelable": true,
|
|
1861
|
+
"composed": true,
|
|
1862
|
+
"docs": {
|
|
1863
|
+
"tags": [],
|
|
1864
|
+
"text": "Emitted when a user clicks cancel on an upload in progress"
|
|
1865
|
+
},
|
|
1866
|
+
"complexType": {
|
|
1867
|
+
"original": "DuetUploadEvent",
|
|
1868
|
+
"resolved": "{ originalEvent?: Event; data?: Record<string, any>; metaData?: Record<string, any>; component: \"duet-upload\"; }",
|
|
1869
|
+
"references": {
|
|
1870
|
+
"DuetUploadEvent": {
|
|
1871
|
+
"location": "local"
|
|
1872
|
+
}
|
|
2055
1873
|
}
|
|
2056
1874
|
}
|
|
2057
|
-
}
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
1875
|
+
}, {
|
|
1876
|
+
"method": "duetProgress",
|
|
1877
|
+
"name": "duetProgress",
|
|
1878
|
+
"bubbles": false,
|
|
1879
|
+
"cancelable": true,
|
|
1880
|
+
"composed": true,
|
|
1881
|
+
"docs": {
|
|
1882
|
+
"tags": [],
|
|
1883
|
+
"text": "Emitted when the file progress is updated."
|
|
1884
|
+
},
|
|
1885
|
+
"complexType": {
|
|
1886
|
+
"original": "DuetUploadEvent",
|
|
1887
|
+
"resolved": "{ originalEvent?: Event; data?: Record<string, any>; metaData?: Record<string, any>; component: \"duet-upload\"; }",
|
|
1888
|
+
"references": {
|
|
1889
|
+
"DuetUploadEvent": {
|
|
1890
|
+
"location": "local"
|
|
1891
|
+
}
|
|
2074
1892
|
}
|
|
2075
1893
|
}
|
|
2076
|
-
}
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
1894
|
+
}, {
|
|
1895
|
+
"method": "duetUpload",
|
|
1896
|
+
"name": "duetUpload",
|
|
1897
|
+
"bubbles": false,
|
|
1898
|
+
"cancelable": true,
|
|
1899
|
+
"composed": true,
|
|
1900
|
+
"docs": {
|
|
1901
|
+
"tags": [],
|
|
1902
|
+
"text": "Emitted when the user clicks the upload button"
|
|
1903
|
+
},
|
|
1904
|
+
"complexType": {
|
|
1905
|
+
"original": "DuetUploadEvent",
|
|
1906
|
+
"resolved": "{ originalEvent?: Event; data?: Record<string, any>; metaData?: Record<string, any>; component: \"duet-upload\"; }",
|
|
1907
|
+
"references": {
|
|
1908
|
+
"DuetUploadEvent": {
|
|
1909
|
+
"location": "local"
|
|
1910
|
+
}
|
|
2093
1911
|
}
|
|
2094
1912
|
}
|
|
2095
|
-
}
|
|
2096
|
-
|
|
2097
|
-
static get methods() {
|
|
2098
|
-
|
|
2099
|
-
"
|
|
2100
|
-
"
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
"
|
|
2107
|
-
"
|
|
1913
|
+
}];
|
|
1914
|
+
}
|
|
1915
|
+
static get methods() {
|
|
1916
|
+
return {
|
|
1917
|
+
"setFocus": {
|
|
1918
|
+
"complexType": {
|
|
1919
|
+
"signature": "(options?: FocusOptions) => Promise<void>",
|
|
1920
|
+
"parameters": [{
|
|
1921
|
+
"tags": [],
|
|
1922
|
+
"text": ""
|
|
1923
|
+
}],
|
|
1924
|
+
"references": {
|
|
1925
|
+
"Promise": {
|
|
1926
|
+
"location": "global"
|
|
1927
|
+
},
|
|
1928
|
+
"FocusOptions": {
|
|
1929
|
+
"location": "global"
|
|
1930
|
+
}
|
|
2108
1931
|
},
|
|
2109
|
-
"
|
|
2110
|
-
"location": "global"
|
|
2111
|
-
}
|
|
1932
|
+
"return": "Promise<void>"
|
|
2112
1933
|
},
|
|
2113
|
-
"
|
|
1934
|
+
"docs": {
|
|
1935
|
+
"text": "Sets focus on the specified `duet-input`. Use this method instead of the global\n`input.focus()`.",
|
|
1936
|
+
"tags": []
|
|
1937
|
+
}
|
|
2114
1938
|
},
|
|
2115
|
-
"
|
|
2116
|
-
"
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
}
|
|
2127
|
-
|
|
2128
|
-
"Promise": {
|
|
2129
|
-
"location": "global"
|
|
2130
|
-
}
|
|
1939
|
+
"upload": {
|
|
1940
|
+
"complexType": {
|
|
1941
|
+
"signature": "(metaData?: any | undefined) => Promise<void>",
|
|
1942
|
+
"parameters": [{
|
|
1943
|
+
"tags": [],
|
|
1944
|
+
"text": ""
|
|
1945
|
+
}],
|
|
1946
|
+
"references": {
|
|
1947
|
+
"Promise": {
|
|
1948
|
+
"location": "global"
|
|
1949
|
+
}
|
|
1950
|
+
},
|
|
1951
|
+
"return": "Promise<void>"
|
|
2131
1952
|
},
|
|
2132
|
-
"
|
|
1953
|
+
"docs": {
|
|
1954
|
+
"text": "Method for invoking the upload sequence",
|
|
1955
|
+
"tags": []
|
|
1956
|
+
}
|
|
2133
1957
|
},
|
|
2134
|
-
"
|
|
2135
|
-
"
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
"Promise": {
|
|
2145
|
-
"location": "global"
|
|
2146
|
-
}
|
|
1958
|
+
"uploadPending": {
|
|
1959
|
+
"complexType": {
|
|
1960
|
+
"signature": "() => Promise<void>",
|
|
1961
|
+
"parameters": [],
|
|
1962
|
+
"references": {
|
|
1963
|
+
"Promise": {
|
|
1964
|
+
"location": "global"
|
|
1965
|
+
}
|
|
1966
|
+
},
|
|
1967
|
+
"return": "Promise<void>"
|
|
2147
1968
|
},
|
|
2148
|
-
"
|
|
1969
|
+
"docs": {
|
|
1970
|
+
"text": "Method for uploading pending files",
|
|
1971
|
+
"tags": []
|
|
1972
|
+
}
|
|
2149
1973
|
},
|
|
2150
|
-
"
|
|
2151
|
-
"
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
"Promise": {
|
|
2161
|
-
"location": "global"
|
|
2162
|
-
}
|
|
1974
|
+
"refresh": {
|
|
1975
|
+
"complexType": {
|
|
1976
|
+
"signature": "() => Promise<void>",
|
|
1977
|
+
"parameters": [],
|
|
1978
|
+
"references": {
|
|
1979
|
+
"Promise": {
|
|
1980
|
+
"location": "global"
|
|
1981
|
+
}
|
|
1982
|
+
},
|
|
1983
|
+
"return": "Promise<void>"
|
|
2163
1984
|
},
|
|
2164
|
-
"
|
|
1985
|
+
"docs": {
|
|
1986
|
+
"text": "Method for forcing a render of the upload list, element.files can be changed externally\nBut it will only rerender on a new Map or a top Level change - this can be used to update\nthe tabular data if the automatic re-render is no sufficient",
|
|
1987
|
+
"tags": []
|
|
1988
|
+
}
|
|
2165
1989
|
},
|
|
2166
|
-
"
|
|
2167
|
-
"
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
"Promise": {
|
|
2177
|
-
"location": "global"
|
|
2178
|
-
}
|
|
1990
|
+
"getFiles": {
|
|
1991
|
+
"complexType": {
|
|
1992
|
+
"signature": "() => Promise<false | { valid: any[]; invalid: any[]; }>",
|
|
1993
|
+
"parameters": [],
|
|
1994
|
+
"references": {
|
|
1995
|
+
"Promise": {
|
|
1996
|
+
"location": "global"
|
|
1997
|
+
}
|
|
1998
|
+
},
|
|
1999
|
+
"return": "Promise<false | { valid: any[]; invalid: any[]; }>"
|
|
2179
2000
|
},
|
|
2180
|
-
"
|
|
2001
|
+
"docs": {
|
|
2002
|
+
"text": "Get list of files, divided in errors and valid sections",
|
|
2003
|
+
"tags": []
|
|
2004
|
+
}
|
|
2181
2005
|
},
|
|
2182
|
-
"
|
|
2183
|
-
"
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
}
|
|
2200
|
-
|
|
2201
|
-
"Promise": {
|
|
2202
|
-
"location": "global"
|
|
2203
|
-
}
|
|
2006
|
+
"updateValue": {
|
|
2007
|
+
"complexType": {
|
|
2008
|
+
"signature": "(item: string, key: string, value: any) => Promise<void>",
|
|
2009
|
+
"parameters": [{
|
|
2010
|
+
"tags": [],
|
|
2011
|
+
"text": ""
|
|
2012
|
+
}, {
|
|
2013
|
+
"tags": [],
|
|
2014
|
+
"text": ""
|
|
2015
|
+
}, {
|
|
2016
|
+
"tags": [],
|
|
2017
|
+
"text": ""
|
|
2018
|
+
}],
|
|
2019
|
+
"references": {
|
|
2020
|
+
"Promise": {
|
|
2021
|
+
"location": "global"
|
|
2022
|
+
}
|
|
2023
|
+
},
|
|
2024
|
+
"return": "Promise<void>"
|
|
2204
2025
|
},
|
|
2205
|
-
"
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
"tags": []
|
|
2026
|
+
"docs": {
|
|
2027
|
+
"text": "Convenience method for updating the value of a key:value inside an item in the files attribute",
|
|
2028
|
+
"tags": []
|
|
2029
|
+
}
|
|
2210
2030
|
}
|
|
2211
|
-
}
|
|
2212
|
-
}
|
|
2031
|
+
};
|
|
2032
|
+
}
|
|
2213
2033
|
static get elementRef() { return "element"; }
|
|
2214
|
-
static get watchers() {
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2034
|
+
static get watchers() {
|
|
2035
|
+
return [{
|
|
2036
|
+
"propName": "valid",
|
|
2037
|
+
"methodName": "watchValidHandler"
|
|
2038
|
+
}];
|
|
2039
|
+
}
|
|
2218
2040
|
}
|