@duetds/components 4.31.0 → 4.33.2
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.js +1895 -77
- package/lib/cjs/{dom-e89ebf90.js → dom-c850c8d7.js} +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +2 -2
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +17 -10
- package/lib/cjs/duet-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-choice_2.cjs.entry.js +53 -24
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -449
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +7 -7
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table-button.cjs.entry.js +89 -0
- package/lib/cjs/duet-editable-table_4.cjs.entry.js +1445 -0
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +2 -2
- package/lib/cjs/duet-grid_2.cjs.entry.js +69 -4
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +2 -2
- package/lib/cjs/duet-icon.cjs.entry.js +5 -13
- package/lib/cjs/duet-input_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-modal.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-number-input.cjs.entry.js +2 -2
- package/lib/cjs/duet-progress.cjs.entry.js +75 -0
- package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-select.cjs.entry.js +5 -5
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-tab_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-textarea.cjs.entry.js +5 -5
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
- package/lib/cjs/duet-tray.cjs.entry.js +3 -3
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +100 -0
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +4 -4
- package/lib/cjs/{focus-utils-bd331feb.js → focus-utils-27c696bb.js} +1 -1
- package/lib/cjs/{index-113c2add.js → index-18b0f43a.js} +91 -77
- package/lib/cjs/{language-utils-48b8860b.js → language-utils-aa282901.js} +6 -2
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{shadow-css-0c8c175b.js → shadow-css-e3edeed1.js} +9 -10
- package/lib/cjs/{token-utils-13e5d13e.js → token-utils-63a9c8dc.js} +1 -1
- package/lib/cjs/tokens-8596cece.js +459 -0
- package/lib/cjs/{tokens.module-53b3bd92.js → tokens.module-6b2df1c2.js} +2 -0
- package/lib/cjs/{watch-options-3877c082.js → watch-options-d88afac0.js} +29 -6
- package/lib/collection/collection-manifest.json +17 -3
- package/lib/collection/components/duet-alert/duet-alert.js +4 -4
- package/lib/collection/components/duet-button/duet-button.js +10 -10
- package/lib/collection/components/duet-card/duet-card.css +20 -0
- package/lib/collection/components/duet-card/duet-card.js +4 -1
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +1 -1
- package/lib/collection/components/duet-choice/duet-choice.css +16 -3
- package/lib/collection/components/duet-choice/duet-choice.js +117 -33
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +4 -4
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +16 -16
- package/lib/collection/components/duet-editable-table/duet-editable-table-button.css +32 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table-button.js +218 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table-item.css +36 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table-item.js +203 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table-tabledata.js +13 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table.css +16 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +348 -0
- package/lib/collection/components/duet-footer/duet-footer.js +10 -10
- package/lib/collection/components/duet-grid/duet-grid.js +74 -6
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +4 -4
- package/lib/collection/components/duet-header/duet-header.js +16 -16
- package/lib/collection/components/duet-heading/duet-heading.css +3 -0
- package/lib/collection/components/duet-heading/duet-heading.js +7 -6
- package/lib/collection/components/duet-hero/duet-hero.js +8 -8
- package/lib/collection/components/duet-icon/icon-utils.js +5 -8
- package/lib/collection/components/duet-input/duet-input.css +15 -0
- package/lib/collection/components/duet-input/duet-input.js +4 -4
- package/lib/collection/components/duet-link/duet-link.js +8 -8
- package/lib/collection/components/duet-logo/duet-logo.js +4 -4
- package/lib/collection/components/duet-modal/duet-modal.js +8 -8
- package/lib/collection/components/duet-notification/duet-notification.js +8 -8
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +8 -8
- package/lib/collection/components/duet-number-input/duet-number-input.js +20 -20
- package/lib/collection/components/duet-paragraph/duet-paragraph.css +6 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +34 -3
- package/lib/collection/components/duet-progress/duet-progress.css +103 -0
- package/lib/collection/components/duet-progress/duet-progress.js +240 -0
- package/lib/collection/components/duet-radio/duet-radio.js +6 -6
- package/lib/collection/components/duet-select/duet-select.css +15 -0
- package/lib/collection/components/duet-select/duet-select.js +3 -3
- package/lib/collection/components/duet-step/duet-step.js +8 -8
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +10 -10
- package/lib/collection/components/duet-textarea/duet-textarea.css +19 -0
- package/lib/collection/components/duet-textarea/duet-textarea.js +5 -4
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +14 -14
- package/lib/collection/components/duet-tray/duet-tray.js +12 -12
- package/lib/collection/components/duet-upload/duet-upload.css +64 -0
- package/lib/collection/components/duet-upload/duet-upload.js +1863 -0
- package/lib/collection/components/duet-upload/errorcodes.utils.js +32 -0
- package/lib/collection/components/duet-upload/mock.helpers.js +91 -0
- package/lib/collection/components/duet-upload/upload-editable-item-error.js +16 -0
- package/lib/collection/components/duet-upload/upload-editable-item-inprogres.js +8 -0
- package/lib/collection/components/duet-upload/upload-editable-item-success.js +30 -0
- package/lib/collection/components/duet-upload/upload-validators.js +93 -0
- package/lib/collection/components/duet-upload/upload.helpers.js +13 -0
- package/lib/collection/components/duet-upload/xhr.helpers.js +30 -0
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +217 -0
- package/lib/collection/utils/js-utils.js +12 -0
- package/lib/collection/utils/language-utils.js +6 -3
- package/lib/collection/utils/watch-options.js +35 -6
- package/lib/custom-elements-bundle/index.d.ts +36 -0
- package/lib/custom-elements-bundle/index.js +2014 -322
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-60ab57d4.entry.js → p-042ec8b1.entry.js} +1 -1
- package/lib/duet/{p-bcae23fc.system.entry.js → p-0435b54a.system.entry.js} +1 -1
- package/lib/duet/{p-dc85d2a4.entry.js → p-04b3e682.entry.js} +1 -1
- package/lib/duet/p-0ac2e60d.system.entry.js +4 -0
- package/lib/duet/p-0d22396e.system.js +16 -0
- package/lib/duet/p-1082d9f2.system.entry.js +4 -0
- package/lib/duet/p-12721178.js +4 -0
- package/lib/duet/{p-7d080785.system.entry.js → p-12fc4849.system.entry.js} +1 -1
- package/lib/duet/{p-c4737f88.entry.js → p-15fae689.entry.js} +1 -1
- package/lib/duet/p-1ad58142.entry.js +4 -0
- package/lib/duet/{p-c5f10483.system.entry.js → p-1c7d7cdd.system.entry.js} +1 -1
- package/lib/duet/p-1cf8dbc7.system.js +4 -0
- package/lib/duet/p-1dcbd837.system.entry.js +4 -0
- package/lib/duet/{p-fdecaf46.entry.js → p-1ecddc1d.entry.js} +1 -1
- package/lib/duet/p-2764f081.js +4 -0
- package/lib/duet/p-2b4bd1b2.system.entry.js +4 -0
- package/lib/duet/p-2d8e0faa.system.entry.js +4 -0
- package/lib/duet/{p-453955cc.system.entry.js → p-33538e90.system.entry.js} +1 -1
- package/lib/duet/{p-b1b8e510.entry.js → p-3364cfd2.entry.js} +1 -1
- package/lib/duet/p-350cea4e.system.entry.js +4 -0
- package/lib/duet/{p-bd9a7d8f.js → p-35a3794e.js} +0 -0
- package/lib/duet/p-39e9d638.entry.js +4 -0
- package/lib/duet/{p-1e7222c2.entry.js → p-3a7e519e.entry.js} +1 -1
- package/lib/duet/{p-9ce1baab.system.entry.js → p-3bcf2054.system.entry.js} +1 -1
- package/lib/duet/{p-322d1c38.js → p-3c1971d8.js} +1 -1
- package/lib/duet/{p-ef45cfe9.system.entry.js → p-3cad13af.system.entry.js} +1 -1
- package/lib/duet/p-408e8cdb.system.js +4 -0
- package/lib/duet/p-4a14da52.entry.js +4 -0
- package/lib/duet/{p-f96c4093.system.entry.js → p-4e17a6cb.system.entry.js} +1 -1
- package/lib/duet/{p-fbd83d67.entry.js → p-50b796eb.entry.js} +1 -1
- package/lib/duet/{p-22f56356.system.entry.js → p-5727cd82.system.entry.js} +1 -1
- package/lib/duet/{p-9c94be45.entry.js → p-582f3a2c.entry.js} +1 -1
- package/lib/duet/{p-e39471b6.entry.js → p-5b9621e2.entry.js} +1 -1
- package/lib/duet/{p-3e1ef509.system.entry.js → p-5f79eff8.system.entry.js} +1 -1
- package/lib/duet/{p-95626e7e.system.entry.js → p-60e721aa.system.entry.js} +1 -1
- package/lib/duet/{p-b03a46b6.entry.js → p-60ef3d05.entry.js} +1 -1
- package/lib/duet/{p-57ea2576.system.js → p-61fc3872.system.js} +1 -1
- package/lib/duet/{p-1cd7177f.entry.js → p-637df820.entry.js} +1 -1
- package/lib/duet/{p-07263910.system.entry.js → p-6402041d.system.entry.js} +1 -1
- package/lib/duet/p-64c0aa2a.entry.js +4 -0
- package/lib/duet/{p-28b67b94.entry.js → p-65451003.entry.js} +1 -1
- package/lib/duet/{p-1bfbc988.entry.js → p-659d6cb7.entry.js} +1 -1
- package/lib/duet/{p-91fa68a5.js → p-66fdebc5.js} +1 -1
- package/lib/duet/p-6708db8a.entry.js +4 -0
- package/lib/duet/{p-e08b8909.entry.js → p-68635a1c.entry.js} +1 -1
- package/lib/duet/p-6e363557.system.js +4 -0
- package/lib/duet/p-70fafc98.system.js +4 -0
- package/lib/duet/p-720a36f2.entry.js +4 -0
- package/lib/duet/{p-f53c8019.entry.js → p-72629304.entry.js} +1 -1
- package/lib/duet/p-75a104e3.entry.js +4 -0
- package/lib/duet/{p-02ad46a0.system.entry.js → p-75e5d4d1.system.entry.js} +1 -1
- package/lib/duet/{p-33cf6ed1.entry.js → p-7ab0bad8.entry.js} +1 -1
- package/lib/duet/{p-e834c8d5.system.entry.js → p-7ceaf4ef.system.entry.js} +1 -1
- package/lib/duet/{p-a1d12e94.system.entry.js → p-7f8cce41.system.entry.js} +1 -1
- package/lib/duet/{p-6d2da245.entry.js → p-7fed7f57.entry.js} +1 -1
- package/lib/duet/p-8143f3de.js +4 -0
- package/lib/duet/p-8c2f14d8.system.entry.js +4 -0
- package/lib/duet/{p-4670a654.entry.js → p-8c730326.entry.js} +1 -1
- package/lib/duet/{p-de093c16.entry.js → p-9125ed25.entry.js} +1 -1
- package/lib/duet/p-933c2774.system.entry.js +4 -0
- package/lib/duet/{p-b7e50cfa.entry.js → p-9584411c.entry.js} +1 -1
- package/lib/duet/p-987edcd0.js +15 -0
- package/lib/duet/p-9930e52e.entry.js +4 -0
- package/lib/duet/p-9a09ac2b.system.entry.js +4 -0
- package/lib/duet/{p-64109493.entry.js → p-a09ddd8f.entry.js} +1 -1
- package/lib/duet/{p-504dbf8f.system.entry.js → p-a2b2fa13.system.entry.js} +1 -1
- package/lib/duet/{p-2826f987.js → p-ad07f399.js} +1 -1
- package/lib/duet/{p-605bc214.system.entry.js → p-b1ad7a52.system.entry.js} +1 -1
- package/lib/duet/{p-f0b1850a.system.entry.js → p-b5dc29b8.system.entry.js} +1 -1
- package/lib/duet/p-ba6214be.entry.js +4 -0
- package/lib/duet/{p-92d38668.system.entry.js → p-be349a3d.system.entry.js} +1 -1
- package/lib/duet/{p-56e172f5.system.entry.js → p-c0f3f60f.system.entry.js} +1 -1
- package/lib/duet/{p-fd98468a.system.js → p-c18a599e.system.js} +0 -0
- package/lib/duet/p-c3c95a34.system.entry.js +4 -0
- package/lib/duet/{p-d4b4bfa6.entry.js → p-c506017d.entry.js} +1 -1
- package/lib/duet/p-c74cecf2.system.entry.js +4 -0
- package/lib/duet/p-c9a11360.entry.js +4 -0
- package/lib/duet/p-cd21755b.entry.js +4 -0
- package/lib/duet/p-cd597d62.system.entry.js +4 -0
- package/lib/duet/p-cff461b6.entry.js +4 -0
- package/lib/duet/{p-7b6db837.system.entry.js → p-d0fb19f7.system.entry.js} +1 -1
- package/lib/duet/{p-69a5dc6b.entry.js → p-d1dfa30e.entry.js} +1 -1
- package/lib/duet/{p-1cec5a70.system.entry.js → p-d4e706ac.system.entry.js} +1 -1
- package/lib/duet/{p-8cb47a70.system.entry.js → p-d5e2bb48.system.entry.js} +1 -1
- package/lib/duet/p-dd79932a.entry.js +4 -0
- package/lib/duet/p-dd9b8fcb.system.entry.js +4 -0
- package/lib/duet/p-ddb6344c.system.js +4 -0
- package/lib/duet/{p-47645ea8.system.entry.js → p-de43620d.system.entry.js} +1 -1
- package/lib/duet/p-e038da47.system.entry.js +4 -0
- package/lib/duet/p-eb55ccd2.system.js +4 -0
- package/lib/duet/p-ebc4e334.js +4 -0
- package/lib/duet/{p-5fc7e1f7.system.entry.js → p-f37ffb6f.system.entry.js} +1 -1
- package/lib/duet/p-f8744611.entry.js +4 -0
- package/lib/duet/p-fa99eaa4.system.js +4 -0
- package/lib/duet/{p-746655ba.entry.js → p-fd00b025.entry.js} +1 -1
- package/lib/esm/{dom-21034390.js → dom-58cd15f6.js} +1 -1
- package/lib/esm/duet-alert.entry.js +2 -2
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +17 -10
- package/lib/esm/duet-card.entry.js +5 -5
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-choice_2.entry.js +54 -25
- package/lib/esm/duet-collapsible.entry.js +3 -448
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +7 -7
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table-button.entry.js +85 -0
- package/lib/esm/duet-editable-table_4.entry.js +1438 -0
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +2 -2
- package/lib/esm/duet-grid_2.entry.js +69 -4
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +2 -2
- package/lib/esm/duet-icon.entry.js +5 -13
- package/lib/esm/duet-input_2.entry.js +6 -6
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +2 -2
- package/lib/esm/duet-modal.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +2 -2
- package/lib/esm/duet-number-input.entry.js +2 -2
- package/lib/esm/duet-progress.entry.js +71 -0
- package/lib/esm/duet-radio_2.entry.js +2 -2
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-select.entry.js +5 -5
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-tab_2.entry.js +3 -3
- package/lib/esm/duet-textarea.entry.js +5 -5
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-tooltip.entry.js +2 -2
- package/lib/esm/duet-tray.entry.js +3 -3
- package/lib/esm/duet-upload-aria-status.entry.js +96 -0
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{focus-utils-1995e5a9.js → focus-utils-c1fa24c4.js} +1 -1
- package/lib/esm/{index-6e246691.js → index-05e43a37.js} +91 -78
- package/lib/esm/{language-utils-d5c38f65.js → language-utils-344d894c.js} +6 -3
- package/lib/esm/loader.js +3 -3
- package/lib/esm/{shadow-css-31e2d504.js → shadow-css-7c726abb.js} +9 -10
- package/lib/esm/{token-utils-5a35377f.js → token-utils-590d9413.js} +1 -1
- package/lib/esm/tokens-e110dc89.js +453 -0
- package/lib/esm/{tokens.module-edb66c04.js → tokens.module-49cbf963.js} +3 -1
- package/lib/esm/watch-options-dd55bce8.js +57 -0
- package/lib/esm-es5/{dom-21034390.js → dom-58cd15f6.js} +0 -0
- 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-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.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-button.entry.js +4 -0
- package/lib/esm-es5/duet-editable-table_4.entry.js +4 -0
- 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 +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +2 -2
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +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-modal.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-progress.entry.js +4 -0
- 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-select.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-tab_2.entry.js +2 -2
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +4 -0
- 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-1995e5a9.js → focus-utils-c1fa24c4.js} +1 -1
- package/lib/esm-es5/index-05e43a37.js +4 -0
- package/lib/esm-es5/{language-utils-d5c38f65.js → language-utils-344d894c.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/shadow-css-7c726abb.js +15 -0
- package/lib/esm-es5/{token-utils-5a35377f.js → token-utils-590d9413.js} +1 -1
- package/lib/esm-es5/tokens-e110dc89.js +4 -0
- package/lib/esm-es5/tokens.module-49cbf963.js +4 -0
- package/lib/esm-es5/watch-options-dd55bce8.js +4 -0
- package/lib/html.html-data.json +427 -10
- package/lib/types/components/duet-choice/duet-choice.d.ts +23 -4
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +5 -5
- package/lib/types/components/duet-editable-table/duet-editable-table-button.d.ts +72 -0
- package/lib/types/components/duet-editable-table/duet-editable-table-item.d.ts +72 -0
- package/lib/types/components/duet-editable-table/duet-editable-table-tabledata.d.ts +7 -0
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +84 -0
- package/lib/types/components/duet-grid/duet-grid.d.ts +17 -2
- package/lib/types/components/duet-heading/duet-heading.d.ts +2 -2
- package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +9 -1
- package/lib/types/components/duet-progress/duet-progress.d.ts +64 -0
- package/lib/types/components/duet-upload/duet-upload.d.ts +404 -0
- package/lib/types/components/duet-upload/errorcodes.utils.d.ts +8 -0
- package/lib/types/components/duet-upload/mock.helpers.d.ts +2 -0
- package/lib/types/components/duet-upload/upload-editable-item-error.d.ts +7 -0
- package/lib/types/components/duet-upload/upload-editable-item-inprogres.d.ts +7 -0
- package/lib/types/components/duet-upload/upload-editable-item-success.d.ts +8 -0
- package/lib/types/components/duet-upload/upload-validators.d.ts +12 -0
- package/lib/types/components/duet-upload/upload.helpers.d.ts +1 -0
- package/lib/types/components/duet-upload/xhr.helpers.d.ts +18 -0
- package/lib/types/components/duet-upload-aria-status/duet-upload-aria-status.d.ts +49 -0
- package/lib/types/components.d.ts +791 -21
- package/lib/types/utils/js-utils.d.ts +1 -0
- package/lib/types/utils/language-utils.d.ts +5 -1
- package/lib/types/utils/watch-options.d.ts +2 -0
- package/package.json +6 -6
- package/lib/cjs/duet-table.cjs.entry.js +0 -132
- package/lib/duet/p-0058512b.js +0 -4
- package/lib/duet/p-0224db45.entry.js +0 -4
- package/lib/duet/p-15c15c6a.js +0 -15
- package/lib/duet/p-202bbd70.entry.js +0 -4
- package/lib/duet/p-33426ddc.entry.js +0 -4
- package/lib/duet/p-3d3f773d.system.entry.js +0 -4
- package/lib/duet/p-3f78a826.system.js +0 -4
- package/lib/duet/p-418b2ce7.system.js +0 -4
- package/lib/duet/p-43e39d98.system.js +0 -4
- package/lib/duet/p-44ffb960.entry.js +0 -4
- package/lib/duet/p-5230ee3c.system.entry.js +0 -4
- package/lib/duet/p-5aa0d34d.entry.js +0 -4
- package/lib/duet/p-6a230911.system.entry.js +0 -4
- package/lib/duet/p-6a356ab1.system.js +0 -4
- package/lib/duet/p-6a760b8a.entry.js +0 -4
- package/lib/duet/p-712e7dde.system.entry.js +0 -4
- package/lib/duet/p-82dc2e0b.entry.js +0 -4
- package/lib/duet/p-8c8e82aa.system.js +0 -4
- package/lib/duet/p-8c980350.system.entry.js +0 -4
- package/lib/duet/p-8f03c3eb.entry.js +0 -4
- package/lib/duet/p-96808a2e.system.entry.js +0 -4
- package/lib/duet/p-96c103b2.system.entry.js +0 -4
- package/lib/duet/p-9a89ec39.js +0 -4
- package/lib/duet/p-9ff25646.entry.js +0 -4
- package/lib/duet/p-b694cbf5.system.js +0 -4
- package/lib/duet/p-b82927b0.system.entry.js +0 -4
- package/lib/duet/p-ba205dca.entry.js +0 -4
- package/lib/duet/p-be19c57b.system.entry.js +0 -4
- package/lib/duet/p-c5beceed.js +0 -4
- package/lib/duet/p-d35fd913.system.entry.js +0 -4
- package/lib/duet/p-d7623eb8.system.entry.js +0 -4
- package/lib/duet/p-de842863.entry.js +0 -4
- package/lib/duet/p-e58ca7af.system.js +0 -16
- package/lib/esm/duet-table.entry.js +0 -128
- package/lib/esm/watch-options-de55ea78.js +0 -35
- package/lib/esm-es5/duet-table.entry.js +0 -4
- package/lib/esm-es5/index-6e246691.js +0 -4
- package/lib/esm-es5/shadow-css-31e2d504.js +0 -15
- package/lib/esm-es5/tokens.module-edb66c04.js +0 -4
- package/lib/esm-es5/watch-options-de55ea78.js +0 -4
|
@@ -17,6 +17,10 @@ import { DuetCollapsibleHeadingFontSize, DuetCollapsibleToggleEvent, DuetCollaps
|
|
|
17
17
|
import { DuetCookieConsentEvent } from "./components/duet-cookie-consent/duet-cookie-consent";
|
|
18
18
|
import { DuetDatePickerChangeEvent, DuetDatePickerDirection, DuetDatePickerFocusEvent } from "./components/duet-date-picker/duet-date-picker";
|
|
19
19
|
import { DuetDividerMargin } from "./components/duet-divider/duet-divider";
|
|
20
|
+
import { DuetEditableTableGroupNames, DuetEditableTableItems } from "./components/duet-editable-table/duet-editable-table";
|
|
21
|
+
import { DuetEditableTableActions } from "./components/duet-editable-table/duet-editable-table-item";
|
|
22
|
+
import { DuetEditableTableActionButtonItems, DuetEditableTableItemEvent } from "./components/duet-editable-table/duet-editable-table-button";
|
|
23
|
+
import { DuetEditableTableActions as DuetEditableTableActions1, DuetEditableTableItemData, DuetEditableTableItemEvent as DuetEditableTableItemEvent1 } from "./components/duet-editable-table/duet-editable-table-item";
|
|
20
24
|
import { DuetEmptyStateSize } from "./components/duet-empty-state/duet-empty-state";
|
|
21
25
|
import { DuetFooterAnalyticsEvent, DuetFooterChangeEvent, DuetFooterVariation } from "./components/duet-footer/duet-footer";
|
|
22
26
|
import { DuetGridAlignment, DuetGridDistribution, DuetGridMobileAlignment } from "./components/duet-grid/duet-grid";
|
|
@@ -32,7 +36,7 @@ import { DuetLogoSize } from "./components/duet-logo/duet-logo";
|
|
|
32
36
|
import { DuetModalCloseEvent, DuetModalSize } from "./components/duet-modal/duet-modal";
|
|
33
37
|
import { DuetNotificationDrawerDirection } from "./components/duet-notification-drawer/duet-notification-drawer";
|
|
34
38
|
import { DuetNumberInputEvent } from "./components/duet-number-input/duet-number-input";
|
|
35
|
-
import { DuetParagraphSize, DuetParagraphVariation } from "./components/duet-paragraph/duet-paragraph";
|
|
39
|
+
import { DuetParagraphSize, DuetParagraphVariation, DuetParagraphWeight } from "./components/duet-paragraph/duet-paragraph";
|
|
36
40
|
import { DuetRadioEvent } from "./components/duet-radio/duet-radio";
|
|
37
41
|
import { DuetRangeChangeEvent } from "./components/duet-range-slider/duet-range-slider";
|
|
38
42
|
import { DuetSelectEvent, DuetSelectItems } from "./components/duet-select/duet-select";
|
|
@@ -45,6 +49,10 @@ import { DuetTableBreakpoint, DuetTableStickyDistance, DuetTableVariant } from "
|
|
|
45
49
|
import { DuetTextareaEvent } from "./components/duet-textarea/duet-textarea";
|
|
46
50
|
import { DuetToggleChangeEvent } from "./components/duet-toggle/duet-toggle";
|
|
47
51
|
import { DuetTooltipBreakpoint } from "./components/duet-tooltip/duet-tooltip";
|
|
52
|
+
import { StatusMessage } from "./components/duet-upload-aria-status/duet-upload-aria-status";
|
|
53
|
+
import { DuetEditableTableGroupNames as DuetEditableTableGroupNames1 } from "./components/duet-editable-table/duet-editable-table";
|
|
54
|
+
import { DuetUploadEvent, StringMap } from "./components/duet-upload/duet-upload";
|
|
55
|
+
import { StatusMessage as StatusMessage1 } from "./components/duet-upload-aria-status/duet-upload-aria-status";
|
|
48
56
|
export namespace Components {
|
|
49
57
|
interface DuetAlert {
|
|
50
58
|
/**
|
|
@@ -402,7 +410,7 @@ export namespace Components {
|
|
|
402
410
|
*/
|
|
403
411
|
"accessibleControls": string;
|
|
404
412
|
/**
|
|
405
|
-
* Indicates the id of a component that describes the choice.
|
|
413
|
+
* Indicates the id of a component that describes the choice. if this is set to an empty string it will prevent screenreaders from flowing to a collapsible content and can be used as an escape hatch if that behaviour is undesired.
|
|
406
414
|
*/
|
|
407
415
|
"accessibleDescribedBy": string;
|
|
408
416
|
/**
|
|
@@ -449,6 +457,16 @@ export namespace Components {
|
|
|
449
457
|
* Adds a unique identifier for the choice button.
|
|
450
458
|
*/
|
|
451
459
|
"identifier": string;
|
|
460
|
+
/**
|
|
461
|
+
* Hint text to display before the user types into the date picker input.
|
|
462
|
+
* @default { fi: "Lisätietoja", en: "More information about", sv: "Mera information om", }
|
|
463
|
+
*/
|
|
464
|
+
"infoLabel": string;
|
|
465
|
+
/**
|
|
466
|
+
* Placeholder defaults
|
|
467
|
+
* @default { fi: "pp.kk.vvvv", en: "dd.mm.yyyy", sv: "dd.mm.åååå" }
|
|
468
|
+
*/
|
|
469
|
+
"infoLabelDefaults": DuetLangObject | string;
|
|
452
470
|
/**
|
|
453
471
|
* Label for the choice button.
|
|
454
472
|
*/
|
|
@@ -602,7 +620,7 @@ export namespace Components {
|
|
|
602
620
|
*/
|
|
603
621
|
"accessibleOwns": string;
|
|
604
622
|
/**
|
|
605
|
-
* Caption (underneath label) that can be set as a way of adding extra information
|
|
623
|
+
* Caption (underneath label) that can be set as a way of adding extra information.
|
|
606
624
|
*/
|
|
607
625
|
"caption": string;
|
|
608
626
|
/**
|
|
@@ -642,8 +660,8 @@ export namespace Components {
|
|
|
642
660
|
*/
|
|
643
661
|
"labelHidden": boolean;
|
|
644
662
|
/**
|
|
645
|
-
* The currently active language. This setting changes the month/year/day names and button labels as well as all screen reader labels.
|
|
646
|
-
* @deprecated this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing
|
|
663
|
+
* The currently active language. This setting changes the month/year/day. names and button labels as well as all screen reader labels.
|
|
664
|
+
* @deprecated this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing.
|
|
647
665
|
* @default "fi"
|
|
648
666
|
*/
|
|
649
667
|
"language": DuetLanguage;
|
|
@@ -652,7 +670,7 @@ export namespace Components {
|
|
|
652
670
|
*/
|
|
653
671
|
"margin": DuetMargin;
|
|
654
672
|
/**
|
|
655
|
-
* Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD This setting can be used alone or together with the min property.
|
|
673
|
+
* Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD. This setting can be used alone or together with the min property.
|
|
656
674
|
*/
|
|
657
675
|
"max": string;
|
|
658
676
|
/**
|
|
@@ -669,7 +687,7 @@ export namespace Components {
|
|
|
669
687
|
*/
|
|
670
688
|
"placeholder": string;
|
|
671
689
|
/**
|
|
672
|
-
* Placeholder defaults
|
|
690
|
+
* Placeholder defaults.
|
|
673
691
|
* @default { fi: "pp.kk.vvvv", en: "dd.mm.yyyy", sv: "dd.mm.åååå" }
|
|
674
692
|
*/
|
|
675
693
|
"placeholderDefaults": DuetLangObject | string;
|
|
@@ -720,6 +738,92 @@ export namespace Components {
|
|
|
720
738
|
*/
|
|
721
739
|
"theme": DuetTheme;
|
|
722
740
|
}
|
|
741
|
+
interface DuetEditableTable {
|
|
742
|
+
/**
|
|
743
|
+
* Exposes the aria role for optimizing accessibility.
|
|
744
|
+
*/
|
|
745
|
+
"accessibleRole": string;
|
|
746
|
+
/**
|
|
747
|
+
* Array of internationalized defaults for the default action labels.
|
|
748
|
+
*/
|
|
749
|
+
"actionLabelDefaults": DuetLangObject;
|
|
750
|
+
/**
|
|
751
|
+
* Array of actions that are mapped via the map variable to the various groups defined in group.
|
|
752
|
+
* @default undefined
|
|
753
|
+
* @example [{ variation: "default", icon: "action-edit-2", id: "edit", map: ["success"], label: { fi: " Label", en: " Label", sv: " Label", } }]
|
|
754
|
+
*/
|
|
755
|
+
"actions": DuetEditableTableActions | string;
|
|
756
|
+
/**
|
|
757
|
+
* Array of group names that you want the editable table to display (can be used to hide or show groups depending on conditions).
|
|
758
|
+
* @default { id: "all", label: this.groupsLabelDefaults, actionLabel: this.actionLabelDefaults }.
|
|
759
|
+
* @example [{ id: "success", label: {fi: "Onnistunut", en: "Success", sv: "Alt klart", }}].
|
|
760
|
+
*/
|
|
761
|
+
"groups": DuetEditableTableGroupNames | string;
|
|
762
|
+
/**
|
|
763
|
+
* Array of internationalized defaults for the default groups labels.
|
|
764
|
+
*/
|
|
765
|
+
"groupsLabelDefaults": DuetLangObject;
|
|
766
|
+
/**
|
|
767
|
+
* Shows or hides the table labels.
|
|
768
|
+
*/
|
|
769
|
+
"hideGroups": boolean;
|
|
770
|
+
/**
|
|
771
|
+
* Map of items that contain list of things.
|
|
772
|
+
*/
|
|
773
|
+
"items": DuetEditableTableItems;
|
|
774
|
+
/**
|
|
775
|
+
* Theme of the table.
|
|
776
|
+
*/
|
|
777
|
+
"theme": DuetTheme;
|
|
778
|
+
/**
|
|
779
|
+
* Method to force an update of a tabular data array. when called the method will rerender the entire tabular structure.
|
|
780
|
+
*/
|
|
781
|
+
"updateTable": (passedItems?: DuetEditableTableItems) => Promise<void>;
|
|
782
|
+
}
|
|
783
|
+
interface DuetEditableTableButton {
|
|
784
|
+
/**
|
|
785
|
+
* action items passed from host component
|
|
786
|
+
*/
|
|
787
|
+
"actions": DuetEditableTableActionButtonItems;
|
|
788
|
+
/**
|
|
789
|
+
* group associated with action
|
|
790
|
+
*/
|
|
791
|
+
"group": string;
|
|
792
|
+
/**
|
|
793
|
+
* key of the item in the map
|
|
794
|
+
*/
|
|
795
|
+
"keyName": string;
|
|
796
|
+
/**
|
|
797
|
+
* Theme of the empty state component.
|
|
798
|
+
*/
|
|
799
|
+
"theme": DuetTheme;
|
|
800
|
+
/**
|
|
801
|
+
* uid that gets passed along when the action is emitted
|
|
802
|
+
*/
|
|
803
|
+
"uid": string;
|
|
804
|
+
}
|
|
805
|
+
interface DuetEditableTableItem {
|
|
806
|
+
/**
|
|
807
|
+
* Actions that can be performed on the element
|
|
808
|
+
*/
|
|
809
|
+
"actions": DuetEditableTableActions;
|
|
810
|
+
/**
|
|
811
|
+
* Object of data itemsused to render the entire row
|
|
812
|
+
*/
|
|
813
|
+
"data": DuetEditableTableItemData;
|
|
814
|
+
/**
|
|
815
|
+
* GroupId used to pierce the shadowdom - gets concatenated with "content & actions" and used as part="groupIDcontent/actions" to pierce the content/Action item
|
|
816
|
+
*/
|
|
817
|
+
"groupId": string;
|
|
818
|
+
/**
|
|
819
|
+
* Key used to identify item, when running actions
|
|
820
|
+
*/
|
|
821
|
+
"keyName": string;
|
|
822
|
+
/**
|
|
823
|
+
* Theme of the empty state component.
|
|
824
|
+
*/
|
|
825
|
+
"theme": DuetTheme;
|
|
826
|
+
}
|
|
723
827
|
interface DuetEmptyState {
|
|
724
828
|
/**
|
|
725
829
|
* Icon shown in the empty state component.
|
|
@@ -804,7 +908,7 @@ export namespace Components {
|
|
|
804
908
|
}
|
|
805
909
|
interface DuetGrid {
|
|
806
910
|
/**
|
|
807
|
-
* Adjusts the vertical alignment of the grid items.
|
|
911
|
+
* Adjusts the vertical alignment of the grid items, if set to "form_distribute" the grid will try to calculate correct paddings for any duet-input fields inside duet-grid-items, so that they align even when displaying errors.
|
|
808
912
|
*/
|
|
809
913
|
"alignment": DuetGridAlignment;
|
|
810
914
|
/**
|
|
@@ -948,9 +1052,9 @@ export namespace Components {
|
|
|
948
1052
|
}
|
|
949
1053
|
interface DuetHeading {
|
|
950
1054
|
/**
|
|
951
|
-
* Enable or disable the border underneath the heading
|
|
1055
|
+
* Enable or disable the border underneath the heading, solid will darken the border
|
|
952
1056
|
*/
|
|
953
|
-
"border": boolean;
|
|
1057
|
+
"border": boolean | "solid";
|
|
954
1058
|
/**
|
|
955
1059
|
* Custom color for the heading as a design token entered in camelCase or kebab-case. Example: "color-primary".
|
|
956
1060
|
*/
|
|
@@ -1717,13 +1821,52 @@ export namespace Components {
|
|
|
1717
1821
|
*/
|
|
1718
1822
|
"size": DuetParagraphSize;
|
|
1719
1823
|
/**
|
|
1720
|
-
* Theme of the
|
|
1824
|
+
* Theme of the paragraph.
|
|
1721
1825
|
*/
|
|
1722
1826
|
"theme": DuetTheme;
|
|
1723
1827
|
/**
|
|
1724
1828
|
* Style variation of the paragraph.
|
|
1725
1829
|
*/
|
|
1726
1830
|
"variation": DuetParagraphVariation;
|
|
1831
|
+
/**
|
|
1832
|
+
* Controls the Font-Weight of the paragraph.
|
|
1833
|
+
*/
|
|
1834
|
+
"weight": DuetParagraphWeight;
|
|
1835
|
+
}
|
|
1836
|
+
interface DuetProgress {
|
|
1837
|
+
/**
|
|
1838
|
+
* Indicates the id of a component that describes the upload component.
|
|
1839
|
+
*/
|
|
1840
|
+
"accessibleDescribedBy": string;
|
|
1841
|
+
/**
|
|
1842
|
+
* Indicates the aria-label of the component - this will get combined with an label+uploading when uploading, and label+upload complete when upload is complete
|
|
1843
|
+
*/
|
|
1844
|
+
"accessibleLabel": string;
|
|
1845
|
+
/**
|
|
1846
|
+
* Adds accessible label for upload in progress and upload complete states
|
|
1847
|
+
* @default {fi: ["lähetys valmis", "lähetys käynnissä"],sv: ["Uppladdningen är klar", "Uppladdning pågår"], en: ["completed", "in progress"]}
|
|
1848
|
+
*/
|
|
1849
|
+
"accessibleLabelUpload": string;
|
|
1850
|
+
/**
|
|
1851
|
+
* Defaults for accessibleLabel
|
|
1852
|
+
*/
|
|
1853
|
+
"accessibleLabelUploadDefaults": DuetLangObject | string;
|
|
1854
|
+
/**
|
|
1855
|
+
* Caption (underneath label) that can be set as a way of adding extra information
|
|
1856
|
+
*/
|
|
1857
|
+
"caption": string;
|
|
1858
|
+
/**
|
|
1859
|
+
* Height of progressbar
|
|
1860
|
+
*/
|
|
1861
|
+
"height": string;
|
|
1862
|
+
/**
|
|
1863
|
+
* Progress of the bar, a value from 0-100
|
|
1864
|
+
*/
|
|
1865
|
+
"progress": number;
|
|
1866
|
+
/**
|
|
1867
|
+
* Theme of the input.
|
|
1868
|
+
*/
|
|
1869
|
+
"theme": DuetTheme;
|
|
1727
1870
|
}
|
|
1728
1871
|
interface DuetRadio {
|
|
1729
1872
|
/**
|
|
@@ -2468,6 +2611,223 @@ export namespace Components {
|
|
|
2468
2611
|
*/
|
|
2469
2612
|
"theme": DuetTheme;
|
|
2470
2613
|
}
|
|
2614
|
+
interface DuetUpload {
|
|
2615
|
+
/**
|
|
2616
|
+
* Indicates the id of a related component’s visually focused element.
|
|
2617
|
+
*/
|
|
2618
|
+
"accessibleActiveDescendant": string;
|
|
2619
|
+
/**
|
|
2620
|
+
* accessible aria-Label of button
|
|
2621
|
+
*/
|
|
2622
|
+
"accessibleButtonLabel": string;
|
|
2623
|
+
/**
|
|
2624
|
+
* Use this prop to add an aria-controls attribute. Use the attribute to indicate the id of a component controlled by this component.
|
|
2625
|
+
*/
|
|
2626
|
+
"accessibleControls": string;
|
|
2627
|
+
/**
|
|
2628
|
+
* Indicates the id of a component that describes the upload component.
|
|
2629
|
+
*/
|
|
2630
|
+
"accessibleDescribedBy": string;
|
|
2631
|
+
/**
|
|
2632
|
+
* Indicates the id of a component owned by the input.
|
|
2633
|
+
*/
|
|
2634
|
+
"accessibleOwns": string;
|
|
2635
|
+
/**
|
|
2636
|
+
* Default actions added to the internally used duet-editable-table
|
|
2637
|
+
*/
|
|
2638
|
+
"actions": DuetEditableTableActions | string;
|
|
2639
|
+
/**
|
|
2640
|
+
* A string of commaseperated file type values that are allowed
|
|
2641
|
+
* @example : .pdf,.doc,.docx
|
|
2642
|
+
*/
|
|
2643
|
+
"allowedExtensions": string;
|
|
2644
|
+
/**
|
|
2645
|
+
* A string of commaseperated mime type values that are allowed
|
|
2646
|
+
* @example : image/*,application/msword,
|
|
2647
|
+
*/
|
|
2648
|
+
"allowedMimetypes": string;
|
|
2649
|
+
/**
|
|
2650
|
+
* Label of button
|
|
2651
|
+
* @default { fi: "Lisää liite", sv: "Lägg till en bilaga", en: "Add an attachment" }
|
|
2652
|
+
*/
|
|
2653
|
+
"buttonLabel": string;
|
|
2654
|
+
/**
|
|
2655
|
+
* Property to change button label defaults on the component.
|
|
2656
|
+
* @default { fi: "Lisää liite", sv: "Lägg till en bilaga", en: "Add an attachment", }
|
|
2657
|
+
*/
|
|
2658
|
+
"buttonLabelDefaults": DuetLangObject | string;
|
|
2659
|
+
/**
|
|
2660
|
+
* Caption (underneath label) that can be set as a way of adding extra information
|
|
2661
|
+
*/
|
|
2662
|
+
"caption": string;
|
|
2663
|
+
/**
|
|
2664
|
+
* Description for the upload component.
|
|
2665
|
+
* @default { fi: "Voit liittää {filetypes}-muotoisia tiedostoja sekä yleisimpiä videotiedostoja. Voit lähettää {maxbytes} verran tiedostoja yhdellä kertaa, ja lisätä enintään {maxfiles} liitettä kerrallaan.", sv: "Du kan bifoga filer i flg. formater {filetypes} samt de vanligaste videofilerna. Du kan ladda upp {maxbytes} filer åt gången och lägga till upp till {maxfiles} bilagor åt gången.", en: "You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytes} of files at a time, and add up to {maxfiles} attachments at a time.", }
|
|
2666
|
+
*/
|
|
2667
|
+
"description": string;
|
|
2668
|
+
/**
|
|
2669
|
+
* Property to change descriptionDefaults defaults on the component.
|
|
2670
|
+
* @default { fi: "Voit liittää {filetypes}-muotoisia tiedostoja sekä yleisimpiä videotiedostoja. Voit lähettää {maxbytes} verran tiedostoja yhdellä kertaa, ja lisätä enintään {maxfiles} liitettä kerrallaan.", sv: "Du kan bifoga filer i flg. formater {filetypes} samt de vanligaste videofilerna. Du kan ladda upp {maxbytes} filer åt gången och lägga till upp till {maxfiles} bilagor åt gången.", en: "You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytes} of files at a time, and add up to {maxfiles} attachments at a time.", }
|
|
2671
|
+
*/
|
|
2672
|
+
"descriptionDefaults": DuetLangObject | string;
|
|
2673
|
+
/**
|
|
2674
|
+
* Makes the input component disabled. This prevents users from being able to interact with the upload component, and conveys its inactive state to assistive technologies.
|
|
2675
|
+
*/
|
|
2676
|
+
"disabled": boolean;
|
|
2677
|
+
/**
|
|
2678
|
+
* Display the input in error state along with an error message.
|
|
2679
|
+
*/
|
|
2680
|
+
"error": string;
|
|
2681
|
+
/**
|
|
2682
|
+
* If external is set to true, the upload component will not actually upload the files, but only keep states it will be up to you to handle the upload and return progress information to the upload-component
|
|
2683
|
+
*/
|
|
2684
|
+
"external": boolean;
|
|
2685
|
+
/**
|
|
2686
|
+
* Label for the filelist's empty state.
|
|
2687
|
+
* @default { fi: "Ei vielä lisättyjä tiedostoja.",sv: "Inga filer har lagts till ännu.",en: "No files added yet."}
|
|
2688
|
+
*/
|
|
2689
|
+
"fileListEmpty": string;
|
|
2690
|
+
/**
|
|
2691
|
+
* Defaults for the filelist's empty state.
|
|
2692
|
+
* @default { fi: "Ei vielä lisättyjä tiedostoja.", sv: "Inga filer har lagts till ännu.", en: "No files added yet.", }
|
|
2693
|
+
*/
|
|
2694
|
+
"fileListEmptyDefaults": DuetLangObject | string;
|
|
2695
|
+
/**
|
|
2696
|
+
* Map of string that contain list of uploaded files.
|
|
2697
|
+
*/
|
|
2698
|
+
"files": StringMap;
|
|
2699
|
+
/**
|
|
2700
|
+
* Get list of files, divided in errors and valid sections
|
|
2701
|
+
*/
|
|
2702
|
+
"getFiles": () => Promise<false | { valid: any[]; invalid: any[]; }>;
|
|
2703
|
+
/**
|
|
2704
|
+
* Array of group names that you want the editable table to use to display files
|
|
2705
|
+
* @required
|
|
2706
|
+
* @example [{ id: "success", label: {fi: "Onnistunut", en: "Success", sv: "Alt klart", }}]
|
|
2707
|
+
*/
|
|
2708
|
+
"groups": DuetEditableTableGroupNames | string;
|
|
2709
|
+
/**
|
|
2710
|
+
* If set the upload component will not display an upload button, you will have to create one yourself and call the exposed method startUpload
|
|
2711
|
+
*/
|
|
2712
|
+
"hideButton": boolean;
|
|
2713
|
+
/**
|
|
2714
|
+
* Visually hides the groups labels in the editable table list used to display the list of files
|
|
2715
|
+
*/
|
|
2716
|
+
"hideGroups": boolean;
|
|
2717
|
+
/**
|
|
2718
|
+
* Adds a unique identifier for the upload component.
|
|
2719
|
+
*/
|
|
2720
|
+
"identifier": string;
|
|
2721
|
+
/**
|
|
2722
|
+
* Label for the input.
|
|
2723
|
+
* @default { fi: "Lisää liite",sv: "Lägg till en bilaga",en: "Add attachments"}
|
|
2724
|
+
*/
|
|
2725
|
+
"label": string;
|
|
2726
|
+
/**
|
|
2727
|
+
* Property to change labelDefaults defaults on the component. normally you would handle these strings on an application level and override @label when needed
|
|
2728
|
+
* @default { fi: "Lisää liite",sv: "Lägg till en bilaga",en: "Add attachments"}
|
|
2729
|
+
*/
|
|
2730
|
+
"labelDefaults": DuetLangObject | string;
|
|
2731
|
+
/**
|
|
2732
|
+
* Use limitSelection to enforce the value in allowedExtension & allowedMimetypes when selecting files, by default this is off, setting this to true will limit the users choices to what has been explicitly set
|
|
2733
|
+
*/
|
|
2734
|
+
"limitSelection": boolean;
|
|
2735
|
+
/**
|
|
2736
|
+
* Controls the margin of the component.
|
|
2737
|
+
*/
|
|
2738
|
+
"margin": DuetMargin;
|
|
2739
|
+
/**
|
|
2740
|
+
* Use maxBytes to specify the maximum size in Bytes of a file that can be uploaded.
|
|
2741
|
+
*/
|
|
2742
|
+
"maxBytes": number;
|
|
2743
|
+
/**
|
|
2744
|
+
* Use maxBytesTotal to specify the maximum size in Bytes of All files combined that can be uploaded.
|
|
2745
|
+
*/
|
|
2746
|
+
"maxBytesTotal": number;
|
|
2747
|
+
/**
|
|
2748
|
+
* Use maxFiles to specify the maximum amount of files that can be uploaded
|
|
2749
|
+
*/
|
|
2750
|
+
"maxFiles": number;
|
|
2751
|
+
/**
|
|
2752
|
+
* Use multiple to allow the user to select multiple files when uploading
|
|
2753
|
+
*/
|
|
2754
|
+
"multiple": boolean;
|
|
2755
|
+
/**
|
|
2756
|
+
* Name of the upload component.
|
|
2757
|
+
*/
|
|
2758
|
+
"name": string;
|
|
2759
|
+
/**
|
|
2760
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
2761
|
+
*/
|
|
2762
|
+
"required": boolean;
|
|
2763
|
+
/**
|
|
2764
|
+
* Sets focus on the specified `duet-input`. Use this method instead of the global `input.focus()`.
|
|
2765
|
+
*/
|
|
2766
|
+
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
2767
|
+
/**
|
|
2768
|
+
* If enabled the editable-table will display links on successfully uploaded items, this requires the server can respond with link URIs in the correct format and that the files are accessible to the user
|
|
2769
|
+
*/
|
|
2770
|
+
"showLinks": boolean;
|
|
2771
|
+
/**
|
|
2772
|
+
* Property to change the aria upload progress text read aloud by screenreaders
|
|
2773
|
+
* @default { fi: { inProgress: "Lähetetään {filesUploaded} lähetettävästä {filesTotal} tiedostosta", inProgressWithErrors: "Lähetetään {filesInProgress} tiedostoa, lähetetty {filesUploaded} lähetettävästä {filesTotal} tiedostosta, {filesWithErrors} tiedostossa on virheitä", done: "Kaikki {filesTotal} tiedostoa lähetetty onnistuneesti", doneWithErrors: "Lähetys valmis, {filesUploaded} tiedostoa on lähetetty onnistuneesti, {filesWithErrors} tiedostossa oli virheitä", files: "tiedostot", file: "tiedosto", }, sv: { inProgress: "Adding {filesUploaded} of {filesTotal}", inProgressWithErrors: "Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades", done: "Alla {filesTotal} har lagts till", doneWithErrors: "Handling slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades", files: "filer", file: "fil", }, en: { inProgress: "Adding {filesUploaded} of {filesTotal}", inProgressWithErrors: "Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed", done: "All {filesTotal} added successfully", doneWithErrors: "Action completed, {filesUploaded} has been added successfully, {filesWithErrors} had errors", files: "tiedostoa", file: "tiedosto", }, }
|
|
2774
|
+
*/
|
|
2775
|
+
"statusLabelDefaults": DuetLangObject | string;
|
|
2776
|
+
/**
|
|
2777
|
+
* Strings used for the status aria-label
|
|
2778
|
+
*/
|
|
2779
|
+
"statusMessageLabel": StatusMessage | string;
|
|
2780
|
+
/**
|
|
2781
|
+
* Theme of the input.
|
|
2782
|
+
*/
|
|
2783
|
+
"theme": DuetTheme;
|
|
2784
|
+
/**
|
|
2785
|
+
* Convenience method for updating the value of a key:value inside an item in the files attribute
|
|
2786
|
+
*/
|
|
2787
|
+
"updateValue": (item: string, key: string, value: any) => Promise<void>;
|
|
2788
|
+
/**
|
|
2789
|
+
* Method for invoking the upload sequence
|
|
2790
|
+
*/
|
|
2791
|
+
"upload": (metaData?: any | undefined) => Promise<void>;
|
|
2792
|
+
/**
|
|
2793
|
+
* Endpoint URI that is capable of receiving the files
|
|
2794
|
+
*/
|
|
2795
|
+
"uri": string;
|
|
2796
|
+
/**
|
|
2797
|
+
* Property to read if the internally used editable-table contains errors or not
|
|
2798
|
+
*/
|
|
2799
|
+
"valid": boolean;
|
|
2800
|
+
/**
|
|
2801
|
+
* Value of the input.
|
|
2802
|
+
*/
|
|
2803
|
+
"value": string;
|
|
2804
|
+
}
|
|
2805
|
+
interface DuetUploadAriaStatus {
|
|
2806
|
+
/**
|
|
2807
|
+
* Adds accessible label that is read aloud
|
|
2808
|
+
*/
|
|
2809
|
+
"accessibleAriaLive": "off" | "polite" | "assertive";
|
|
2810
|
+
/**
|
|
2811
|
+
* valid file amount
|
|
2812
|
+
*/
|
|
2813
|
+
"inprogress": number;
|
|
2814
|
+
/**
|
|
2815
|
+
* invalid file amount
|
|
2816
|
+
*/
|
|
2817
|
+
"invalid": number;
|
|
2818
|
+
/**
|
|
2819
|
+
* Status labels used in the component
|
|
2820
|
+
*/
|
|
2821
|
+
"statusMessageLabel": StatusMessage;
|
|
2822
|
+
/**
|
|
2823
|
+
* total files
|
|
2824
|
+
*/
|
|
2825
|
+
"total": number;
|
|
2826
|
+
/**
|
|
2827
|
+
* valid file amount
|
|
2828
|
+
*/
|
|
2829
|
+
"valid": number;
|
|
2830
|
+
}
|
|
2471
2831
|
interface DuetVisuallyHidden {
|
|
2472
2832
|
}
|
|
2473
2833
|
}
|
|
@@ -2544,6 +2904,24 @@ declare global {
|
|
|
2544
2904
|
prototype: HTMLDuetDividerElement;
|
|
2545
2905
|
new (): HTMLDuetDividerElement;
|
|
2546
2906
|
};
|
|
2907
|
+
interface HTMLDuetEditableTableElement extends Components.DuetEditableTable, HTMLStencilElement {
|
|
2908
|
+
}
|
|
2909
|
+
var HTMLDuetEditableTableElement: {
|
|
2910
|
+
prototype: HTMLDuetEditableTableElement;
|
|
2911
|
+
new (): HTMLDuetEditableTableElement;
|
|
2912
|
+
};
|
|
2913
|
+
interface HTMLDuetEditableTableButtonElement extends Components.DuetEditableTableButton, HTMLStencilElement {
|
|
2914
|
+
}
|
|
2915
|
+
var HTMLDuetEditableTableButtonElement: {
|
|
2916
|
+
prototype: HTMLDuetEditableTableButtonElement;
|
|
2917
|
+
new (): HTMLDuetEditableTableButtonElement;
|
|
2918
|
+
};
|
|
2919
|
+
interface HTMLDuetEditableTableItemElement extends Components.DuetEditableTableItem, HTMLStencilElement {
|
|
2920
|
+
}
|
|
2921
|
+
var HTMLDuetEditableTableItemElement: {
|
|
2922
|
+
prototype: HTMLDuetEditableTableItemElement;
|
|
2923
|
+
new (): HTMLDuetEditableTableItemElement;
|
|
2924
|
+
};
|
|
2547
2925
|
interface HTMLDuetEmptyStateElement extends Components.DuetEmptyState, HTMLStencilElement {
|
|
2548
2926
|
}
|
|
2549
2927
|
var HTMLDuetEmptyStateElement: {
|
|
@@ -2670,6 +3048,12 @@ declare global {
|
|
|
2670
3048
|
prototype: HTMLDuetParagraphElement;
|
|
2671
3049
|
new (): HTMLDuetParagraphElement;
|
|
2672
3050
|
};
|
|
3051
|
+
interface HTMLDuetProgressElement extends Components.DuetProgress, HTMLStencilElement {
|
|
3052
|
+
}
|
|
3053
|
+
var HTMLDuetProgressElement: {
|
|
3054
|
+
prototype: HTMLDuetProgressElement;
|
|
3055
|
+
new (): HTMLDuetProgressElement;
|
|
3056
|
+
};
|
|
2673
3057
|
interface HTMLDuetRadioElement extends Components.DuetRadio, HTMLStencilElement {
|
|
2674
3058
|
}
|
|
2675
3059
|
var HTMLDuetRadioElement: {
|
|
@@ -2760,6 +3144,18 @@ declare global {
|
|
|
2760
3144
|
prototype: HTMLDuetTrayElement;
|
|
2761
3145
|
new (): HTMLDuetTrayElement;
|
|
2762
3146
|
};
|
|
3147
|
+
interface HTMLDuetUploadElement extends Components.DuetUpload, HTMLStencilElement {
|
|
3148
|
+
}
|
|
3149
|
+
var HTMLDuetUploadElement: {
|
|
3150
|
+
prototype: HTMLDuetUploadElement;
|
|
3151
|
+
new (): HTMLDuetUploadElement;
|
|
3152
|
+
};
|
|
3153
|
+
interface HTMLDuetUploadAriaStatusElement extends Components.DuetUploadAriaStatus, HTMLStencilElement {
|
|
3154
|
+
}
|
|
3155
|
+
var HTMLDuetUploadAriaStatusElement: {
|
|
3156
|
+
prototype: HTMLDuetUploadAriaStatusElement;
|
|
3157
|
+
new (): HTMLDuetUploadAriaStatusElement;
|
|
3158
|
+
};
|
|
2763
3159
|
interface HTMLDuetVisuallyHiddenElement extends Components.DuetVisuallyHidden, HTMLStencilElement {
|
|
2764
3160
|
}
|
|
2765
3161
|
var HTMLDuetVisuallyHiddenElement: {
|
|
@@ -2779,6 +3175,9 @@ declare global {
|
|
|
2779
3175
|
"duet-cookie-consent": HTMLDuetCookieConsentElement;
|
|
2780
3176
|
"duet-date-picker": HTMLDuetDatePickerElement;
|
|
2781
3177
|
"duet-divider": HTMLDuetDividerElement;
|
|
3178
|
+
"duet-editable-table": HTMLDuetEditableTableElement;
|
|
3179
|
+
"duet-editable-table-button": HTMLDuetEditableTableButtonElement;
|
|
3180
|
+
"duet-editable-table-item": HTMLDuetEditableTableItemElement;
|
|
2782
3181
|
"duet-empty-state": HTMLDuetEmptyStateElement;
|
|
2783
3182
|
"duet-fieldset": HTMLDuetFieldsetElement;
|
|
2784
3183
|
"duet-footer": HTMLDuetFooterElement;
|
|
@@ -2800,6 +3199,7 @@ declare global {
|
|
|
2800
3199
|
"duet-notification-drawer": HTMLDuetNotificationDrawerElement;
|
|
2801
3200
|
"duet-number-input": HTMLDuetNumberInputElement;
|
|
2802
3201
|
"duet-paragraph": HTMLDuetParagraphElement;
|
|
3202
|
+
"duet-progress": HTMLDuetProgressElement;
|
|
2803
3203
|
"duet-radio": HTMLDuetRadioElement;
|
|
2804
3204
|
"duet-radio-group": HTMLDuetRadioGroupElement;
|
|
2805
3205
|
"duet-range-slider": HTMLDuetRangeSliderElement;
|
|
@@ -2815,6 +3215,8 @@ declare global {
|
|
|
2815
3215
|
"duet-toggle": HTMLDuetToggleElement;
|
|
2816
3216
|
"duet-tooltip": HTMLDuetTooltipElement;
|
|
2817
3217
|
"duet-tray": HTMLDuetTrayElement;
|
|
3218
|
+
"duet-upload": HTMLDuetUploadElement;
|
|
3219
|
+
"duet-upload-aria-status": HTMLDuetUploadAriaStatusElement;
|
|
2818
3220
|
"duet-visually-hidden": HTMLDuetVisuallyHiddenElement;
|
|
2819
3221
|
}
|
|
2820
3222
|
}
|
|
@@ -3191,7 +3593,7 @@ declare namespace LocalJSX {
|
|
|
3191
3593
|
*/
|
|
3192
3594
|
"accessibleControls"?: string;
|
|
3193
3595
|
/**
|
|
3194
|
-
* Indicates the id of a component that describes the choice.
|
|
3596
|
+
* Indicates the id of a component that describes the choice. if this is set to an empty string it will prevent screenreaders from flowing to a collapsible content and can be used as an escape hatch if that behaviour is undesired.
|
|
3195
3597
|
*/
|
|
3196
3598
|
"accessibleDescribedBy"?: string;
|
|
3197
3599
|
/**
|
|
@@ -3235,6 +3637,16 @@ declare namespace LocalJSX {
|
|
|
3235
3637
|
* Adds a unique identifier for the choice button.
|
|
3236
3638
|
*/
|
|
3237
3639
|
"identifier"?: string;
|
|
3640
|
+
/**
|
|
3641
|
+
* Hint text to display before the user types into the date picker input.
|
|
3642
|
+
* @default { fi: "Lisätietoja", en: "More information about", sv: "Mera information om", }
|
|
3643
|
+
*/
|
|
3644
|
+
"infoLabel"?: string;
|
|
3645
|
+
/**
|
|
3646
|
+
* Placeholder defaults
|
|
3647
|
+
* @default { fi: "pp.kk.vvvv", en: "dd.mm.yyyy", sv: "dd.mm.åååå" }
|
|
3648
|
+
*/
|
|
3649
|
+
"infoLabelDefaults"?: DuetLangObject | string;
|
|
3238
3650
|
/**
|
|
3239
3651
|
* Label for the choice button.
|
|
3240
3652
|
*/
|
|
@@ -3400,7 +3812,7 @@ declare namespace LocalJSX {
|
|
|
3400
3812
|
*/
|
|
3401
3813
|
"accessibleOwns"?: string;
|
|
3402
3814
|
/**
|
|
3403
|
-
* Caption (underneath label) that can be set as a way of adding extra information
|
|
3815
|
+
* Caption (underneath label) that can be set as a way of adding extra information.
|
|
3404
3816
|
*/
|
|
3405
3817
|
"caption"?: string;
|
|
3406
3818
|
/**
|
|
@@ -3436,8 +3848,8 @@ declare namespace LocalJSX {
|
|
|
3436
3848
|
*/
|
|
3437
3849
|
"labelHidden"?: boolean;
|
|
3438
3850
|
/**
|
|
3439
|
-
* The currently active language. This setting changes the month/year/day names and button labels as well as all screen reader labels.
|
|
3440
|
-
* @deprecated this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing
|
|
3851
|
+
* The currently active language. This setting changes the month/year/day. names and button labels as well as all screen reader labels.
|
|
3852
|
+
* @deprecated this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing.
|
|
3441
3853
|
* @default "fi"
|
|
3442
3854
|
*/
|
|
3443
3855
|
"language"?: DuetLanguage;
|
|
@@ -3446,7 +3858,7 @@ declare namespace LocalJSX {
|
|
|
3446
3858
|
*/
|
|
3447
3859
|
"margin"?: DuetMargin;
|
|
3448
3860
|
/**
|
|
3449
|
-
* Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD This setting can be used alone or together with the min property.
|
|
3861
|
+
* Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD. This setting can be used alone or together with the min property.
|
|
3450
3862
|
*/
|
|
3451
3863
|
"max"?: string;
|
|
3452
3864
|
/**
|
|
@@ -3475,7 +3887,7 @@ declare namespace LocalJSX {
|
|
|
3475
3887
|
*/
|
|
3476
3888
|
"placeholder"?: string;
|
|
3477
3889
|
/**
|
|
3478
|
-
* Placeholder defaults
|
|
3890
|
+
* Placeholder defaults.
|
|
3479
3891
|
* @default { fi: "pp.kk.vvvv", en: "dd.mm.yyyy", sv: "dd.mm.åååå" }
|
|
3480
3892
|
*/
|
|
3481
3893
|
"placeholderDefaults"?: DuetLangObject | string;
|
|
@@ -3518,6 +3930,76 @@ declare namespace LocalJSX {
|
|
|
3518
3930
|
*/
|
|
3519
3931
|
"theme"?: DuetTheme;
|
|
3520
3932
|
}
|
|
3933
|
+
interface DuetEditableTable {
|
|
3934
|
+
/**
|
|
3935
|
+
* Exposes the aria role for optimizing accessibility.
|
|
3936
|
+
*/
|
|
3937
|
+
"accessibleRole"?: string;
|
|
3938
|
+
/**
|
|
3939
|
+
* Array of internationalized defaults for the default action labels.
|
|
3940
|
+
*/
|
|
3941
|
+
"actionLabelDefaults"?: DuetLangObject;
|
|
3942
|
+
/**
|
|
3943
|
+
* Array of actions that are mapped via the map variable to the various groups defined in group.
|
|
3944
|
+
* @default undefined
|
|
3945
|
+
* @example [{ variation: "default", icon: "action-edit-2", id: "edit", map: ["success"], label: { fi: " Label", en: " Label", sv: " Label", } }]
|
|
3946
|
+
*/
|
|
3947
|
+
"actions"?: DuetEditableTableActions | string;
|
|
3948
|
+
/**
|
|
3949
|
+
* Array of group names that you want the editable table to display (can be used to hide or show groups depending on conditions).
|
|
3950
|
+
* @default { id: "all", label: this.groupsLabelDefaults, actionLabel: this.actionLabelDefaults }.
|
|
3951
|
+
* @example [{ id: "success", label: {fi: "Onnistunut", en: "Success", sv: "Alt klart", }}].
|
|
3952
|
+
*/
|
|
3953
|
+
"groups"?: DuetEditableTableGroupNames | string;
|
|
3954
|
+
/**
|
|
3955
|
+
* Array of internationalized defaults for the default groups labels.
|
|
3956
|
+
*/
|
|
3957
|
+
"groupsLabelDefaults"?: DuetLangObject;
|
|
3958
|
+
/**
|
|
3959
|
+
* Shows or hides the table labels.
|
|
3960
|
+
*/
|
|
3961
|
+
"hideGroups"?: boolean;
|
|
3962
|
+
/**
|
|
3963
|
+
* Map of items that contain list of things.
|
|
3964
|
+
*/
|
|
3965
|
+
"items"?: DuetEditableTableItems;
|
|
3966
|
+
/**
|
|
3967
|
+
* Theme of the table.
|
|
3968
|
+
*/
|
|
3969
|
+
"theme"?: DuetTheme;
|
|
3970
|
+
}
|
|
3971
|
+
interface DuetEditableTableButton {
|
|
3972
|
+
/**
|
|
3973
|
+
* Emitted when any action is clicked
|
|
3974
|
+
*/
|
|
3975
|
+
"onDuetEditableItemAction"?: (event: CustomEvent<DuetEditableTableItemEvent>) => void;
|
|
3976
|
+
/**
|
|
3977
|
+
* Theme of the empty state component.
|
|
3978
|
+
*/
|
|
3979
|
+
"theme"?: DuetTheme;
|
|
3980
|
+
}
|
|
3981
|
+
interface DuetEditableTableItem {
|
|
3982
|
+
/**
|
|
3983
|
+
* Actions that can be performed on the element
|
|
3984
|
+
*/
|
|
3985
|
+
"actions"?: DuetEditableTableActions;
|
|
3986
|
+
/**
|
|
3987
|
+
* Object of data itemsused to render the entire row
|
|
3988
|
+
*/
|
|
3989
|
+
"data"?: DuetEditableTableItemData;
|
|
3990
|
+
/**
|
|
3991
|
+
* Key used to identify item, when running actions
|
|
3992
|
+
*/
|
|
3993
|
+
"keyName"?: string;
|
|
3994
|
+
/**
|
|
3995
|
+
* Emitted when any action is clicked
|
|
3996
|
+
*/
|
|
3997
|
+
"onDuetEditableItemAction"?: (event: CustomEvent<DuetEditableTableItemEvent>) => void;
|
|
3998
|
+
/**
|
|
3999
|
+
* Theme of the empty state component.
|
|
4000
|
+
*/
|
|
4001
|
+
"theme"?: DuetTheme;
|
|
4002
|
+
}
|
|
3521
4003
|
interface DuetEmptyState {
|
|
3522
4004
|
/**
|
|
3523
4005
|
* Icon shown in the empty state component.
|
|
@@ -3622,7 +4104,7 @@ declare namespace LocalJSX {
|
|
|
3622
4104
|
}
|
|
3623
4105
|
interface DuetGrid {
|
|
3624
4106
|
/**
|
|
3625
|
-
* Adjusts the vertical alignment of the grid items.
|
|
4107
|
+
* Adjusts the vertical alignment of the grid items, if set to "form_distribute" the grid will try to calculate correct paddings for any duet-input fields inside duet-grid-items, so that they align even when displaying errors.
|
|
3626
4108
|
*/
|
|
3627
4109
|
"alignment"?: DuetGridAlignment;
|
|
3628
4110
|
/**
|
|
@@ -3796,9 +4278,9 @@ declare namespace LocalJSX {
|
|
|
3796
4278
|
}
|
|
3797
4279
|
interface DuetHeading {
|
|
3798
4280
|
/**
|
|
3799
|
-
* Enable or disable the border underneath the heading
|
|
4281
|
+
* Enable or disable the border underneath the heading, solid will darken the border
|
|
3800
4282
|
*/
|
|
3801
|
-
"border"?: boolean;
|
|
4283
|
+
"border"?: boolean | "solid";
|
|
3802
4284
|
/**
|
|
3803
4285
|
* Custom color for the heading as a design token entered in camelCase or kebab-case. Example: "color-primary".
|
|
3804
4286
|
*/
|
|
@@ -4574,13 +5056,52 @@ declare namespace LocalJSX {
|
|
|
4574
5056
|
*/
|
|
4575
5057
|
"size"?: DuetParagraphSize;
|
|
4576
5058
|
/**
|
|
4577
|
-
* Theme of the
|
|
5059
|
+
* Theme of the paragraph.
|
|
4578
5060
|
*/
|
|
4579
5061
|
"theme"?: DuetTheme;
|
|
4580
5062
|
/**
|
|
4581
5063
|
* Style variation of the paragraph.
|
|
4582
5064
|
*/
|
|
4583
5065
|
"variation"?: DuetParagraphVariation;
|
|
5066
|
+
/**
|
|
5067
|
+
* Controls the Font-Weight of the paragraph.
|
|
5068
|
+
*/
|
|
5069
|
+
"weight"?: DuetParagraphWeight;
|
|
5070
|
+
}
|
|
5071
|
+
interface DuetProgress {
|
|
5072
|
+
/**
|
|
5073
|
+
* Indicates the id of a component that describes the upload component.
|
|
5074
|
+
*/
|
|
5075
|
+
"accessibleDescribedBy"?: string;
|
|
5076
|
+
/**
|
|
5077
|
+
* Indicates the aria-label of the component - this will get combined with an label+uploading when uploading, and label+upload complete when upload is complete
|
|
5078
|
+
*/
|
|
5079
|
+
"accessibleLabel"?: string;
|
|
5080
|
+
/**
|
|
5081
|
+
* Adds accessible label for upload in progress and upload complete states
|
|
5082
|
+
* @default {fi: ["lähetys valmis", "lähetys käynnissä"],sv: ["Uppladdningen är klar", "Uppladdning pågår"], en: ["completed", "in progress"]}
|
|
5083
|
+
*/
|
|
5084
|
+
"accessibleLabelUpload"?: string;
|
|
5085
|
+
/**
|
|
5086
|
+
* Defaults for accessibleLabel
|
|
5087
|
+
*/
|
|
5088
|
+
"accessibleLabelUploadDefaults"?: DuetLangObject | string;
|
|
5089
|
+
/**
|
|
5090
|
+
* Caption (underneath label) that can be set as a way of adding extra information
|
|
5091
|
+
*/
|
|
5092
|
+
"caption"?: string;
|
|
5093
|
+
/**
|
|
5094
|
+
* Height of progressbar
|
|
5095
|
+
*/
|
|
5096
|
+
"height"?: string;
|
|
5097
|
+
/**
|
|
5098
|
+
* Progress of the bar, a value from 0-100
|
|
5099
|
+
*/
|
|
5100
|
+
"progress"?: number;
|
|
5101
|
+
/**
|
|
5102
|
+
* Theme of the input.
|
|
5103
|
+
*/
|
|
5104
|
+
"theme"?: DuetTheme;
|
|
4584
5105
|
}
|
|
4585
5106
|
interface DuetRadio {
|
|
4586
5107
|
/**
|
|
@@ -5352,6 +5873,243 @@ declare namespace LocalJSX {
|
|
|
5352
5873
|
*/
|
|
5353
5874
|
"theme"?: DuetTheme;
|
|
5354
5875
|
}
|
|
5876
|
+
interface DuetUpload {
|
|
5877
|
+
/**
|
|
5878
|
+
* Indicates the id of a related component’s visually focused element.
|
|
5879
|
+
*/
|
|
5880
|
+
"accessibleActiveDescendant"?: string;
|
|
5881
|
+
/**
|
|
5882
|
+
* accessible aria-Label of button
|
|
5883
|
+
*/
|
|
5884
|
+
"accessibleButtonLabel"?: string;
|
|
5885
|
+
/**
|
|
5886
|
+
* Use this prop to add an aria-controls attribute. Use the attribute to indicate the id of a component controlled by this component.
|
|
5887
|
+
*/
|
|
5888
|
+
"accessibleControls"?: string;
|
|
5889
|
+
/**
|
|
5890
|
+
* Indicates the id of a component that describes the upload component.
|
|
5891
|
+
*/
|
|
5892
|
+
"accessibleDescribedBy"?: string;
|
|
5893
|
+
/**
|
|
5894
|
+
* Indicates the id of a component owned by the input.
|
|
5895
|
+
*/
|
|
5896
|
+
"accessibleOwns"?: string;
|
|
5897
|
+
/**
|
|
5898
|
+
* Default actions added to the internally used duet-editable-table
|
|
5899
|
+
*/
|
|
5900
|
+
"actions"?: DuetEditableTableActions | string;
|
|
5901
|
+
/**
|
|
5902
|
+
* A string of commaseperated file type values that are allowed
|
|
5903
|
+
* @example : .pdf,.doc,.docx
|
|
5904
|
+
*/
|
|
5905
|
+
"allowedExtensions"?: string;
|
|
5906
|
+
/**
|
|
5907
|
+
* A string of commaseperated mime type values that are allowed
|
|
5908
|
+
* @example : image/*,application/msword,
|
|
5909
|
+
*/
|
|
5910
|
+
"allowedMimetypes"?: string;
|
|
5911
|
+
/**
|
|
5912
|
+
* Label of button
|
|
5913
|
+
* @default { fi: "Lisää liite", sv: "Lägg till en bilaga", en: "Add an attachment" }
|
|
5914
|
+
*/
|
|
5915
|
+
"buttonLabel"?: string;
|
|
5916
|
+
/**
|
|
5917
|
+
* Property to change button label defaults on the component.
|
|
5918
|
+
* @default { fi: "Lisää liite", sv: "Lägg till en bilaga", en: "Add an attachment", }
|
|
5919
|
+
*/
|
|
5920
|
+
"buttonLabelDefaults"?: DuetLangObject | string;
|
|
5921
|
+
/**
|
|
5922
|
+
* Caption (underneath label) that can be set as a way of adding extra information
|
|
5923
|
+
*/
|
|
5924
|
+
"caption"?: string;
|
|
5925
|
+
/**
|
|
5926
|
+
* Description for the upload component.
|
|
5927
|
+
* @default { fi: "Voit liittää {filetypes}-muotoisia tiedostoja sekä yleisimpiä videotiedostoja. Voit lähettää {maxbytes} verran tiedostoja yhdellä kertaa, ja lisätä enintään {maxfiles} liitettä kerrallaan.", sv: "Du kan bifoga filer i flg. formater {filetypes} samt de vanligaste videofilerna. Du kan ladda upp {maxbytes} filer åt gången och lägga till upp till {maxfiles} bilagor åt gången.", en: "You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytes} of files at a time, and add up to {maxfiles} attachments at a time.", }
|
|
5928
|
+
*/
|
|
5929
|
+
"description"?: string;
|
|
5930
|
+
/**
|
|
5931
|
+
* Property to change descriptionDefaults defaults on the component.
|
|
5932
|
+
* @default { fi: "Voit liittää {filetypes}-muotoisia tiedostoja sekä yleisimpiä videotiedostoja. Voit lähettää {maxbytes} verran tiedostoja yhdellä kertaa, ja lisätä enintään {maxfiles} liitettä kerrallaan.", sv: "Du kan bifoga filer i flg. formater {filetypes} samt de vanligaste videofilerna. Du kan ladda upp {maxbytes} filer åt gången och lägga till upp till {maxfiles} bilagor åt gången.", en: "You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytes} of files at a time, and add up to {maxfiles} attachments at a time.", }
|
|
5933
|
+
*/
|
|
5934
|
+
"descriptionDefaults"?: DuetLangObject | string;
|
|
5935
|
+
/**
|
|
5936
|
+
* Makes the input component disabled. This prevents users from being able to interact with the upload component, and conveys its inactive state to assistive technologies.
|
|
5937
|
+
*/
|
|
5938
|
+
"disabled"?: boolean;
|
|
5939
|
+
/**
|
|
5940
|
+
* Display the input in error state along with an error message.
|
|
5941
|
+
*/
|
|
5942
|
+
"error"?: string;
|
|
5943
|
+
/**
|
|
5944
|
+
* If external is set to true, the upload component will not actually upload the files, but only keep states it will be up to you to handle the upload and return progress information to the upload-component
|
|
5945
|
+
*/
|
|
5946
|
+
"external"?: boolean;
|
|
5947
|
+
/**
|
|
5948
|
+
* Label for the filelist's empty state.
|
|
5949
|
+
* @default { fi: "Ei vielä lisättyjä tiedostoja.",sv: "Inga filer har lagts till ännu.",en: "No files added yet."}
|
|
5950
|
+
*/
|
|
5951
|
+
"fileListEmpty"?: string;
|
|
5952
|
+
/**
|
|
5953
|
+
* Defaults for the filelist's empty state.
|
|
5954
|
+
* @default { fi: "Ei vielä lisättyjä tiedostoja.", sv: "Inga filer har lagts till ännu.", en: "No files added yet.", }
|
|
5955
|
+
*/
|
|
5956
|
+
"fileListEmptyDefaults"?: DuetLangObject | string;
|
|
5957
|
+
/**
|
|
5958
|
+
* Map of string that contain list of uploaded files.
|
|
5959
|
+
*/
|
|
5960
|
+
"files"?: StringMap;
|
|
5961
|
+
/**
|
|
5962
|
+
* Array of group names that you want the editable table to use to display files
|
|
5963
|
+
* @required
|
|
5964
|
+
* @example [{ id: "success", label: {fi: "Onnistunut", en: "Success", sv: "Alt klart", }}]
|
|
5965
|
+
*/
|
|
5966
|
+
"groups"?: DuetEditableTableGroupNames | string;
|
|
5967
|
+
/**
|
|
5968
|
+
* If set the upload component will not display an upload button, you will have to create one yourself and call the exposed method startUpload
|
|
5969
|
+
*/
|
|
5970
|
+
"hideButton"?: boolean;
|
|
5971
|
+
/**
|
|
5972
|
+
* Visually hides the groups labels in the editable table list used to display the list of files
|
|
5973
|
+
*/
|
|
5974
|
+
"hideGroups"?: boolean;
|
|
5975
|
+
/**
|
|
5976
|
+
* Adds a unique identifier for the upload component.
|
|
5977
|
+
*/
|
|
5978
|
+
"identifier"?: string;
|
|
5979
|
+
/**
|
|
5980
|
+
* Label for the input.
|
|
5981
|
+
* @default { fi: "Lisää liite",sv: "Lägg till en bilaga",en: "Add attachments"}
|
|
5982
|
+
*/
|
|
5983
|
+
"label"?: string;
|
|
5984
|
+
/**
|
|
5985
|
+
* Property to change labelDefaults defaults on the component. normally you would handle these strings on an application level and override @label when needed
|
|
5986
|
+
* @default { fi: "Lisää liite",sv: "Lägg till en bilaga",en: "Add attachments"}
|
|
5987
|
+
*/
|
|
5988
|
+
"labelDefaults"?: DuetLangObject | string;
|
|
5989
|
+
/**
|
|
5990
|
+
* Use limitSelection to enforce the value in allowedExtension & allowedMimetypes when selecting files, by default this is off, setting this to true will limit the users choices to what has been explicitly set
|
|
5991
|
+
*/
|
|
5992
|
+
"limitSelection"?: boolean;
|
|
5993
|
+
/**
|
|
5994
|
+
* Controls the margin of the component.
|
|
5995
|
+
*/
|
|
5996
|
+
"margin"?: DuetMargin;
|
|
5997
|
+
/**
|
|
5998
|
+
* Use maxBytes to specify the maximum size in Bytes of a file that can be uploaded.
|
|
5999
|
+
*/
|
|
6000
|
+
"maxBytes"?: number;
|
|
6001
|
+
/**
|
|
6002
|
+
* Use maxBytesTotal to specify the maximum size in Bytes of All files combined that can be uploaded.
|
|
6003
|
+
*/
|
|
6004
|
+
"maxBytesTotal"?: number;
|
|
6005
|
+
/**
|
|
6006
|
+
* Use maxFiles to specify the maximum amount of files that can be uploaded
|
|
6007
|
+
*/
|
|
6008
|
+
"maxFiles"?: number;
|
|
6009
|
+
/**
|
|
6010
|
+
* Use multiple to allow the user to select multiple files when uploading
|
|
6011
|
+
*/
|
|
6012
|
+
"multiple"?: boolean;
|
|
6013
|
+
/**
|
|
6014
|
+
* Name of the upload component.
|
|
6015
|
+
*/
|
|
6016
|
+
"name"?: string;
|
|
6017
|
+
/**
|
|
6018
|
+
* Emitted when the input loses focus.
|
|
6019
|
+
*/
|
|
6020
|
+
"onDuetBlur"?: (event: CustomEvent<DuetUploadEvent>) => void;
|
|
6021
|
+
/**
|
|
6022
|
+
* Emitted when a user clicks cancel on an upload in progress
|
|
6023
|
+
*/
|
|
6024
|
+
"onDuetCancel"?: (event: CustomEvent<DuetUploadEvent>) => void;
|
|
6025
|
+
/**
|
|
6026
|
+
* Emitted when the value has changed.
|
|
6027
|
+
*/
|
|
6028
|
+
"onDuetChange"?: (event: CustomEvent<DuetUploadEvent>) => void;
|
|
6029
|
+
/**
|
|
6030
|
+
* Emitted when a user clicks delete to delete an uploaded file, or a file entry with error
|
|
6031
|
+
*/
|
|
6032
|
+
"onDuetDelete"?: (event: CustomEvent<DuetUploadEvent>) => void;
|
|
6033
|
+
/**
|
|
6034
|
+
* Emitted when the current upload batch finishes
|
|
6035
|
+
*/
|
|
6036
|
+
"onDuetDone"?: (event: CustomEvent<DuetUploadEvent>) => void;
|
|
6037
|
+
/**
|
|
6038
|
+
* Emitted when the input has focus.
|
|
6039
|
+
*/
|
|
6040
|
+
"onDuetFocus"?: (event: CustomEvent<DuetUploadEvent>) => void;
|
|
6041
|
+
/**
|
|
6042
|
+
* Emitted when the file progress is updated.
|
|
6043
|
+
*/
|
|
6044
|
+
"onDuetProgress"?: (event: CustomEvent<DuetUploadEvent>) => void;
|
|
6045
|
+
/**
|
|
6046
|
+
* Emitted when the current validation state changes internally
|
|
6047
|
+
*/
|
|
6048
|
+
"onDuetState"?: (event: CustomEvent<DuetUploadEvent>) => void;
|
|
6049
|
+
/**
|
|
6050
|
+
* Emitted when the user clicks the upload button
|
|
6051
|
+
*/
|
|
6052
|
+
"onDuetUpload"?: (event: CustomEvent<DuetUploadEvent>) => void;
|
|
6053
|
+
/**
|
|
6054
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
6055
|
+
*/
|
|
6056
|
+
"required"?: boolean;
|
|
6057
|
+
/**
|
|
6058
|
+
* If enabled the editable-table will display links on successfully uploaded items, this requires the server can respond with link URIs in the correct format and that the files are accessible to the user
|
|
6059
|
+
*/
|
|
6060
|
+
"showLinks"?: boolean;
|
|
6061
|
+
/**
|
|
6062
|
+
* Property to change the aria upload progress text read aloud by screenreaders
|
|
6063
|
+
* @default { fi: { inProgress: "Lähetetään {filesUploaded} lähetettävästä {filesTotal} tiedostosta", inProgressWithErrors: "Lähetetään {filesInProgress} tiedostoa, lähetetty {filesUploaded} lähetettävästä {filesTotal} tiedostosta, {filesWithErrors} tiedostossa on virheitä", done: "Kaikki {filesTotal} tiedostoa lähetetty onnistuneesti", doneWithErrors: "Lähetys valmis, {filesUploaded} tiedostoa on lähetetty onnistuneesti, {filesWithErrors} tiedostossa oli virheitä", files: "tiedostot", file: "tiedosto", }, sv: { inProgress: "Adding {filesUploaded} of {filesTotal}", inProgressWithErrors: "Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades", done: "Alla {filesTotal} har lagts till", doneWithErrors: "Handling slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades", files: "filer", file: "fil", }, en: { inProgress: "Adding {filesUploaded} of {filesTotal}", inProgressWithErrors: "Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed", done: "All {filesTotal} added successfully", doneWithErrors: "Action completed, {filesUploaded} has been added successfully, {filesWithErrors} had errors", files: "tiedostoa", file: "tiedosto", }, }
|
|
6064
|
+
*/
|
|
6065
|
+
"statusLabelDefaults"?: DuetLangObject | string;
|
|
6066
|
+
/**
|
|
6067
|
+
* Strings used for the status aria-label
|
|
6068
|
+
*/
|
|
6069
|
+
"statusMessageLabel"?: StatusMessage | string;
|
|
6070
|
+
/**
|
|
6071
|
+
* Theme of the input.
|
|
6072
|
+
*/
|
|
6073
|
+
"theme"?: DuetTheme;
|
|
6074
|
+
/**
|
|
6075
|
+
* Endpoint URI that is capable of receiving the files
|
|
6076
|
+
*/
|
|
6077
|
+
"uri"?: string;
|
|
6078
|
+
/**
|
|
6079
|
+
* Property to read if the internally used editable-table contains errors or not
|
|
6080
|
+
*/
|
|
6081
|
+
"valid"?: boolean;
|
|
6082
|
+
/**
|
|
6083
|
+
* Value of the input.
|
|
6084
|
+
*/
|
|
6085
|
+
"value"?: string;
|
|
6086
|
+
}
|
|
6087
|
+
interface DuetUploadAriaStatus {
|
|
6088
|
+
/**
|
|
6089
|
+
* Adds accessible label that is read aloud
|
|
6090
|
+
*/
|
|
6091
|
+
"accessibleAriaLive"?: "off" | "polite" | "assertive";
|
|
6092
|
+
/**
|
|
6093
|
+
* valid file amount
|
|
6094
|
+
*/
|
|
6095
|
+
"inprogress"?: number;
|
|
6096
|
+
/**
|
|
6097
|
+
* invalid file amount
|
|
6098
|
+
*/
|
|
6099
|
+
"invalid"?: number;
|
|
6100
|
+
/**
|
|
6101
|
+
* Status labels used in the component
|
|
6102
|
+
*/
|
|
6103
|
+
"statusMessageLabel"?: StatusMessage;
|
|
6104
|
+
/**
|
|
6105
|
+
* total files
|
|
6106
|
+
*/
|
|
6107
|
+
"total"?: number;
|
|
6108
|
+
/**
|
|
6109
|
+
* valid file amount
|
|
6110
|
+
*/
|
|
6111
|
+
"valid"?: number;
|
|
6112
|
+
}
|
|
5355
6113
|
interface DuetVisuallyHidden {
|
|
5356
6114
|
}
|
|
5357
6115
|
interface IntrinsicElements {
|
|
@@ -5367,6 +6125,9 @@ declare namespace LocalJSX {
|
|
|
5367
6125
|
"duet-cookie-consent": DuetCookieConsent;
|
|
5368
6126
|
"duet-date-picker": DuetDatePicker;
|
|
5369
6127
|
"duet-divider": DuetDivider;
|
|
6128
|
+
"duet-editable-table": DuetEditableTable;
|
|
6129
|
+
"duet-editable-table-button": DuetEditableTableButton;
|
|
6130
|
+
"duet-editable-table-item": DuetEditableTableItem;
|
|
5370
6131
|
"duet-empty-state": DuetEmptyState;
|
|
5371
6132
|
"duet-fieldset": DuetFieldset;
|
|
5372
6133
|
"duet-footer": DuetFooter;
|
|
@@ -5388,6 +6149,7 @@ declare namespace LocalJSX {
|
|
|
5388
6149
|
"duet-notification-drawer": DuetNotificationDrawer;
|
|
5389
6150
|
"duet-number-input": DuetNumberInput;
|
|
5390
6151
|
"duet-paragraph": DuetParagraph;
|
|
6152
|
+
"duet-progress": DuetProgress;
|
|
5391
6153
|
"duet-radio": DuetRadio;
|
|
5392
6154
|
"duet-radio-group": DuetRadioGroup;
|
|
5393
6155
|
"duet-range-slider": DuetRangeSlider;
|
|
@@ -5403,6 +6165,8 @@ declare namespace LocalJSX {
|
|
|
5403
6165
|
"duet-toggle": DuetToggle;
|
|
5404
6166
|
"duet-tooltip": DuetTooltip;
|
|
5405
6167
|
"duet-tray": DuetTray;
|
|
6168
|
+
"duet-upload": DuetUpload;
|
|
6169
|
+
"duet-upload-aria-status": DuetUploadAriaStatus;
|
|
5406
6170
|
"duet-visually-hidden": DuetVisuallyHidden;
|
|
5407
6171
|
}
|
|
5408
6172
|
}
|
|
@@ -5422,6 +6186,9 @@ declare module "@stencil/core" {
|
|
|
5422
6186
|
"duet-cookie-consent": LocalJSX.DuetCookieConsent & JSXBase.HTMLAttributes<HTMLDuetCookieConsentElement>;
|
|
5423
6187
|
"duet-date-picker": LocalJSX.DuetDatePicker & JSXBase.HTMLAttributes<HTMLDuetDatePickerElement>;
|
|
5424
6188
|
"duet-divider": LocalJSX.DuetDivider & JSXBase.HTMLAttributes<HTMLDuetDividerElement>;
|
|
6189
|
+
"duet-editable-table": LocalJSX.DuetEditableTable & JSXBase.HTMLAttributes<HTMLDuetEditableTableElement>;
|
|
6190
|
+
"duet-editable-table-button": LocalJSX.DuetEditableTableButton & JSXBase.HTMLAttributes<HTMLDuetEditableTableButtonElement>;
|
|
6191
|
+
"duet-editable-table-item": LocalJSX.DuetEditableTableItem & JSXBase.HTMLAttributes<HTMLDuetEditableTableItemElement>;
|
|
5425
6192
|
"duet-empty-state": LocalJSX.DuetEmptyState & JSXBase.HTMLAttributes<HTMLDuetEmptyStateElement>;
|
|
5426
6193
|
"duet-fieldset": LocalJSX.DuetFieldset & JSXBase.HTMLAttributes<HTMLDuetFieldsetElement>;
|
|
5427
6194
|
"duet-footer": LocalJSX.DuetFooter & JSXBase.HTMLAttributes<HTMLDuetFooterElement>;
|
|
@@ -5443,6 +6210,7 @@ declare module "@stencil/core" {
|
|
|
5443
6210
|
"duet-notification-drawer": LocalJSX.DuetNotificationDrawer & JSXBase.HTMLAttributes<HTMLDuetNotificationDrawerElement>;
|
|
5444
6211
|
"duet-number-input": LocalJSX.DuetNumberInput & JSXBase.HTMLAttributes<HTMLDuetNumberInputElement>;
|
|
5445
6212
|
"duet-paragraph": LocalJSX.DuetParagraph & JSXBase.HTMLAttributes<HTMLDuetParagraphElement>;
|
|
6213
|
+
"duet-progress": LocalJSX.DuetProgress & JSXBase.HTMLAttributes<HTMLDuetProgressElement>;
|
|
5446
6214
|
"duet-radio": LocalJSX.DuetRadio & JSXBase.HTMLAttributes<HTMLDuetRadioElement>;
|
|
5447
6215
|
"duet-radio-group": LocalJSX.DuetRadioGroup & JSXBase.HTMLAttributes<HTMLDuetRadioGroupElement>;
|
|
5448
6216
|
"duet-range-slider": LocalJSX.DuetRangeSlider & JSXBase.HTMLAttributes<HTMLDuetRangeSliderElement>;
|
|
@@ -5458,6 +6226,8 @@ declare module "@stencil/core" {
|
|
|
5458
6226
|
"duet-toggle": LocalJSX.DuetToggle & JSXBase.HTMLAttributes<HTMLDuetToggleElement>;
|
|
5459
6227
|
"duet-tooltip": LocalJSX.DuetTooltip & JSXBase.HTMLAttributes<HTMLDuetTooltipElement>;
|
|
5460
6228
|
"duet-tray": LocalJSX.DuetTray & JSXBase.HTMLAttributes<HTMLDuetTrayElement>;
|
|
6229
|
+
"duet-upload": LocalJSX.DuetUpload & JSXBase.HTMLAttributes<HTMLDuetUploadElement>;
|
|
6230
|
+
"duet-upload-aria-status": LocalJSX.DuetUploadAriaStatus & JSXBase.HTMLAttributes<HTMLDuetUploadAriaStatusElement>;
|
|
5461
6231
|
"duet-visually-hidden": LocalJSX.DuetVisuallyHidden & JSXBase.HTMLAttributes<HTMLDuetVisuallyHiddenElement>;
|
|
5462
6232
|
}
|
|
5463
6233
|
}
|