@duetds/components 4.33.0 → 4.34.1
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 +487 -198
- package/lib/cjs/{dom-c850c8d7.js → dom-52a4f07a.js} +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
- package/lib/cjs/duet-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +2 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +5 -453
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table-button.cjs.entry.js +96 -0
- package/lib/cjs/{duet-upload.cjs.entry.js → duet-editable-table_4.cjs.entry.js} +463 -32
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +62 -0
- package/lib/cjs/duet-footer.cjs.entry.js +2 -2
- package/lib/cjs/duet-grid_2.cjs.entry.js +26 -3
- package/lib/cjs/duet-header_2.cjs.entry.js +220 -47
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +8 -6
- package/lib/cjs/duet-input_2.cjs.entry.js +3 -4
- 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 +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-tab_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- 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-a7a1fb8b.js → focus-utils-30f5dc06.js} +1 -1
- package/lib/cjs/form-search-d61b2843.js +8 -0
- package/lib/cjs/{index-b724d698.js → index-1c10bbfb.js} +2 -2
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{shadow-css-e3edeed1.js → shadow-css-e1b62a99.js} +1 -1
- package/lib/cjs/token-utils-05bd23b4.js +77 -0
- package/lib/cjs/tokens-8596cece.js +459 -0
- package/lib/collection/collection-manifest.json +11 -10
- package/lib/collection/components/duet-choice/duet-choice.js +0 -1
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +4 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table-button.js +13 -6
- package/lib/collection/components/duet-editable-table/duet-editable-table-item.js +25 -3
- package/lib/collection/components/duet-editable-table/duet-editable-table-tabledata.js +3 -3
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +58 -2
- package/lib/collection/components/duet-footer/duet-footer.css +1 -0
- package/lib/collection/components/duet-grid/duet-grid.js +25 -2
- package/lib/collection/components/duet-header/duet-header-dropdown.js +27 -0
- package/lib/collection/components/duet-header/duet-header-hamburger.js +9 -0
- package/lib/collection/components/duet-header/duet-header-icon.js +9 -0
- package/lib/collection/components/duet-header/duet-header.css +272 -39
- package/lib/collection/components/duet-header/duet-header.js +316 -122
- package/lib/collection/components/duet-icon/duet-icon.js +11 -5
- package/lib/collection/components/duet-link/duet-link.js +4 -1
- package/lib/collection/components/duet-list-item/duet-list-item.css +1 -1
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +4 -3
- package/lib/collection/components/duet-table/duet-table.css +42 -17
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +98 -51
- package/lib/collection/components/duet-upload/{duet-upload-editable-item-error.js → upload-editable-item-error.js} +0 -0
- package/lib/collection/components/duet-upload/{duet-upload-editable-item-inprogres.js → upload-editable-item-inprogres.js} +0 -0
- package/lib/collection/components/duet-upload/{duet-upload-editable-item-success.js → upload-editable-item-success.js} +0 -0
- package/lib/collection/components/duet-upload/{duet-upload-validators.js → upload-validators.js} +0 -0
- package/lib/collection/components/{duet-upload → duet-upload-aria-status}/duet-upload-aria-status.js +3 -3
- package/lib/collection/utils/template-utils.js +33 -0
- package/lib/collection/utils/token-utils.js +67 -14
- package/lib/custom-elements-bundle/index.js +468 -121
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-060d79be.entry.js → p-08498e46.entry.js} +1 -1
- package/lib/duet/p-0bb75f62.system.entry.js +4 -0
- package/lib/duet/p-0d546cd6.system.entry.js +4 -0
- package/lib/duet/{p-263bc9cd.system.entry.js → p-1164a119.system.entry.js} +1 -1
- package/lib/duet/{p-a890da72.entry.js → p-13f72df0.entry.js} +1 -1
- package/lib/duet/{p-387823af.system.entry.js → p-15945ba7.system.entry.js} +1 -1
- package/lib/duet/{p-35a3794e.js → p-183726f7.js} +0 -0
- package/lib/duet/{p-7fee0d23.system.entry.js → p-1842a4db.system.entry.js} +1 -1
- package/lib/duet/{p-4607af59.entry.js → p-1a4204b7.entry.js} +1 -1
- package/lib/duet/{p-b4e87f02.system.entry.js → p-1d8d319c.system.entry.js} +1 -1
- package/lib/duet/{p-9dca5c22.system.entry.js → p-2b1707bd.system.entry.js} +1 -1
- package/lib/duet/{p-8b5ca0e7.system.entry.js → p-2c89e016.system.entry.js} +1 -1
- package/lib/duet/p-309f9094.entry.js +4 -0
- package/lib/duet/{p-67d9a9a9.system.entry.js → p-30f15c84.system.entry.js} +1 -1
- package/lib/duet/p-39cd816e.entry.js +4 -0
- package/lib/duet/{p-86daec1c.entry.js → p-3d47d6d4.entry.js} +1 -1
- package/lib/duet/{p-d744d188.system.entry.js → p-3e9fe1c7.system.entry.js} +1 -1
- package/lib/duet/{p-a9859a82.entry.js → p-3ff50cee.entry.js} +1 -1
- package/lib/duet/{p-b42d81c3.system.js → p-41938e76.system.js} +1 -1
- package/lib/duet/p-420c000b.entry.js +4 -0
- package/lib/duet/{p-cdd70b93.entry.js → p-477c6c71.entry.js} +1 -1
- package/lib/duet/p-478d2995.entry.js +4 -0
- package/lib/duet/p-4b400f7d.system.entry.js +4 -0
- package/lib/duet/p-4b480fdc.entry.js +4 -0
- package/lib/duet/p-50b4fb2c.js +4 -0
- package/lib/duet/{p-987edcd0.js → p-52621211.js} +0 -0
- package/lib/duet/{p-94169303.entry.js → p-545dcb04.entry.js} +1 -1
- package/lib/duet/{p-8f826843.system.entry.js → p-571015b8.system.entry.js} +1 -1
- package/lib/duet/{p-9481e312.entry.js → p-580c57ea.entry.js} +1 -1
- package/lib/duet/{p-2bb1460c.entry.js → p-5cf1d847.entry.js} +1 -1
- package/lib/duet/{p-c2e77278.entry.js → p-5d2ddf99.entry.js} +1 -1
- package/lib/duet/{p-af41d894.system.entry.js → p-5db0676e.system.entry.js} +1 -1
- package/lib/duet/p-603a61dc.system.entry.js +4 -0
- package/lib/duet/{p-aba68b7b.entry.js → p-6b1b2655.entry.js} +1 -1
- package/lib/duet/{p-597d99c7.entry.js → p-6bb9a991.entry.js} +1 -1
- package/lib/duet/p-6dc026cf.system.entry.js +4 -0
- package/lib/duet/{p-c18a599e.system.js → p-6e4fd6ba.system.js} +0 -0
- package/lib/duet/p-71261eb7.entry.js +4 -0
- package/lib/duet/{p-751542a0.system.entry.js → p-71a94fb9.system.entry.js} +1 -1
- package/lib/duet/{p-e12f2b8b.system.js → p-76b98e4d.system.js} +1 -1
- package/lib/duet/{p-f8ce39fb.entry.js → p-80d40375.entry.js} +1 -1
- package/lib/duet/{p-548d484e.js → p-80f90fef.js} +1 -1
- package/lib/duet/p-8143f3de.js +4 -0
- package/lib/duet/{p-bf93a991.entry.js → p-87703af9.entry.js} +1 -1
- package/lib/duet/p-8ad673ef.entry.js +4 -0
- package/lib/duet/{p-d4118b6e.system.entry.js → p-8adcc2f9.system.entry.js} +1 -1
- package/lib/duet/{p-4a87e9ab.system.entry.js → p-8e478364.system.entry.js} +1 -1
- package/lib/duet/p-8f477bd6.system.js +4 -0
- package/lib/duet/{p-00735436.entry.js → p-8fcaeb1b.entry.js} +1 -1
- package/lib/duet/p-93a51797.entry.js +4 -0
- package/lib/duet/{p-a5b9c192.system.entry.js → p-95edfcb8.system.entry.js} +1 -1
- package/lib/duet/p-97dc72c2.system.entry.js +4 -0
- package/lib/duet/p-99cd16d8.system.entry.js +4 -0
- package/lib/duet/{p-e964d062.entry.js → p-9c3b48fc.entry.js} +1 -1
- package/lib/duet/{p-5826523b.entry.js → p-9dad09a8.entry.js} +1 -1
- package/lib/duet/{p-8cb7416d.entry.js → p-9db71699.entry.js} +1 -1
- package/lib/duet/{p-b32224fe.system.entry.js → p-a0129887.system.entry.js} +1 -1
- package/lib/duet/p-a16a58c1.system.js +4 -0
- package/lib/duet/{p-2443bdca.system.entry.js → p-a4c0ce83.system.entry.js} +1 -1
- package/lib/duet/{p-48d1eb1f.system.entry.js → p-a9dc4dd9.system.entry.js} +1 -1
- package/lib/duet/p-aa5ba0fd.entry.js +4 -0
- package/lib/duet/{p-d3a3c3c7.system.entry.js → p-af7685aa.system.entry.js} +1 -1
- package/lib/duet/{p-6e6e76db.system.entry.js → p-b061516e.system.entry.js} +1 -1
- package/lib/duet/{p-58750bae.system.entry.js → p-b1401fd8.system.entry.js} +1 -1
- package/lib/duet/{p-b3744481.entry.js → p-b71cbe4b.entry.js} +1 -1
- package/lib/duet/p-c0472744.system.entry.js +4 -0
- package/lib/duet/{p-27d80cef.system.entry.js → p-c04ca724.system.entry.js} +1 -1
- package/lib/duet/{p-e2a44156.js → p-c33d1202.js} +1 -1
- package/lib/duet/{p-374fb7e6.system.entry.js → p-c85583d4.system.entry.js} +1 -1
- package/lib/duet/{p-aef1b720.system.entry.js → p-ca2b3f6a.system.entry.js} +1 -1
- package/lib/duet/{p-3af5d66f.entry.js → p-ca68c8f0.entry.js} +1 -1
- package/lib/duet/{p-acc57c77.entry.js → p-cecdebf3.entry.js} +1 -1
- package/lib/duet/p-d004da5f.js +4 -0
- package/lib/duet/{p-984576c9.entry.js → p-d1d6dc7a.entry.js} +1 -1
- package/lib/duet/{p-794659ac.entry.js → p-d9a93e45.entry.js} +1 -1
- package/lib/duet/{p-d1c19f04.system.entry.js → p-dc27e127.system.entry.js} +1 -1
- package/lib/duet/p-df37c5cd.entry.js +4 -0
- package/lib/duet/{p-6a19b5ec.entry.js → p-e10f1828.entry.js} +1 -1
- package/lib/duet/{p-a207b008.entry.js → p-e5120c30.entry.js} +1 -1
- package/lib/duet/p-e54705b2.system.js +4 -0
- package/lib/duet/{p-0d22396e.system.js → p-e5c1751e.system.js} +0 -0
- package/lib/duet/{p-dfe79666.system.entry.js → p-f1c7f166.system.entry.js} +2 -2
- package/lib/duet/p-f1dbb4ec.entry.js +4 -0
- package/lib/duet/{p-aee24388.system.entry.js → p-f3cd9499.system.entry.js} +1 -1
- package/lib/duet/{p-4b6ebe40.system.entry.js → p-f55ea1cc.system.entry.js} +1 -1
- package/lib/duet/{p-e76b722f.entry.js → p-f7700f25.entry.js} +1 -1
- package/lib/duet/p-fa99eaa4.system.js +4 -0
- package/lib/duet/{p-c36b4da0.entry.js → p-fd009368.entry.js} +1 -1
- package/lib/duet/{p-237e47b4.system.entry.js → p-fe1a2f0d.system.entry.js} +1 -1
- package/lib/duet/p-fe3806e2.system.entry.js +4 -0
- package/lib/duet/{p-4e28da18.system.entry.js → p-ffcfbd7a.system.entry.js} +1 -1
- package/lib/esm/{dom-58cd15f6.js → dom-5d060ace.js} +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +2 -2
- package/lib/esm/duet-caption_4.entry.js +3 -3
- package/lib/esm/duet-card.entry.js +2 -2
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +2 -3
- package/lib/esm/duet-collapsible.entry.js +4 -452
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table-button.entry.js +92 -0
- package/lib/esm/{duet-upload.entry.js → duet-editable-table_4.entry.js} +461 -33
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +58 -0
- package/lib/esm/duet-footer.entry.js +2 -2
- package/lib/esm/duet-grid_2.entry.js +26 -3
- package/lib/esm/duet-header_2.entry.js +220 -47
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +8 -6
- package/lib/esm/duet-input_2.entry.js +2 -3
- 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 +2 -2
- package/lib/esm/duet-notification_2.entry.js +2 -2
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-tab_2.entry.js +1 -1
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-tooltip.entry.js +1 -1
- package/lib/esm/duet-tray.entry.js +1 -1
- 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-1fe0dcd0.js → focus-utils-bf7d1e80.js} +1 -1
- package/lib/esm/form-search-ea8e19ae.js +6 -0
- package/lib/esm/{index-84d97bd1.js → index-f813a624.js} +2 -2
- package/lib/esm/loader.js +3 -3
- package/lib/esm/{shadow-css-7c726abb.js → shadow-css-13d024f4.js} +1 -1
- package/lib/esm/token-utils-75f78ca4.js +75 -0
- package/lib/esm/tokens-e110dc89.js +453 -0
- package/lib/esm-es5/{dom-58cd15f6.js → dom-5d060ace.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 +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-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 +4 -0
- 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 +2 -2
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-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 +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-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 +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-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-1fe0dcd0.js → focus-utils-bf7d1e80.js} +1 -1
- package/lib/esm-es5/form-search-ea8e19ae.js +4 -0
- package/lib/esm-es5/{index-84d97bd1.js → index-f813a624.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{shadow-css-7c726abb.js → shadow-css-13d024f4.js} +0 -0
- package/lib/esm-es5/token-utils-75f78ca4.js +4 -0
- package/lib/esm-es5/tokens-e110dc89.js +4 -0
- package/lib/html.html-data.json +4925 -0
- package/lib/types/common-types.d.ts +0 -1
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +3 -0
- package/lib/types/components/duet-editable-table/duet-editable-table-button.d.ts +1 -0
- package/lib/types/components/duet-editable-table/duet-editable-table-item.d.ts +5 -1
- package/lib/types/components/duet-editable-table/duet-editable-table-tabledata.d.ts +1 -0
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +10 -0
- package/lib/types/components/duet-grid/duet-grid.d.ts +1 -0
- package/lib/types/components/duet-header/duet-header-dropdown.d.ts +16 -0
- package/lib/types/components/duet-header/duet-header-hamburger.d.ts +2 -0
- package/lib/types/components/duet-header/duet-header-icon.d.ts +8 -0
- package/lib/types/components/duet-header/duet-header.d.ts +41 -4
- package/lib/types/components/duet-icon/duet-icon.d.ts +1 -1
- package/lib/types/components/duet-link/duet-link.d.ts +3 -0
- package/lib/types/components/duet-table/duet-table.d.ts +1 -1
- package/lib/types/components/duet-upload/duet-upload.d.ts +46 -18
- package/lib/types/components/duet-upload/{duet-upload-editable-item-error.d.ts → upload-editable-item-error.d.ts} +0 -0
- package/lib/types/components/duet-upload/{duet-upload-editable-item-inprogres.d.ts → upload-editable-item-inprogres.d.ts} +0 -0
- package/lib/types/components/duet-upload/{duet-upload-editable-item-success.d.ts → upload-editable-item-success.d.ts} +0 -0
- package/lib/types/components/duet-upload/{duet-upload-validators.d.ts → upload-validators.d.ts} +0 -0
- package/lib/types/components/{duet-upload → duet-upload-aria-status}/duet-upload-aria-status.d.ts +2 -2
- package/lib/types/components.d.ts +71 -35
- package/lib/types/stencil-public-runtime.d.ts +6 -4
- package/lib/types/utils/template-utils.d.ts +13 -0
- package/lib/types/utils/token-utils.d.ts +8 -2
- package/package.json +13 -13
- package/lib/cjs/duet-editable-table-button_3.cjs.entry.js +0 -232
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +0 -336
- package/lib/cjs/js-utils-33a9dbe3.js +0 -16
- package/lib/cjs/token-utils-63a9c8dc.js +0 -30
- package/lib/duet/p-10deead0.system.js +0 -4
- package/lib/duet/p-1208c84f.entry.js +0 -4
- package/lib/duet/p-155ef581.system.entry.js +0 -4
- package/lib/duet/p-16c48c5d.entry.js +0 -4
- package/lib/duet/p-1797df7b.system.entry.js +0 -4
- package/lib/duet/p-1a08fc22.system.entry.js +0 -4
- package/lib/duet/p-28e02c08.entry.js +0 -4
- package/lib/duet/p-33c58756.entry.js +0 -4
- package/lib/duet/p-3c1971d8.js +0 -4
- package/lib/duet/p-5ea0cd19.entry.js +0 -4
- package/lib/duet/p-63d5bf73.system.entry.js +0 -4
- package/lib/duet/p-6cc3be76.system.entry.js +0 -4
- package/lib/duet/p-6e363557.system.js +0 -4
- package/lib/duet/p-7368b14e.system.entry.js +0 -4
- package/lib/duet/p-7e8d5bb9.system.entry.js +0 -4
- package/lib/duet/p-81867417.system.js +0 -4
- package/lib/duet/p-9d73343a.entry.js +0 -4
- package/lib/duet/p-a6a84ec6.entry.js +0 -4
- package/lib/duet/p-b25d3769.js +0 -4
- package/lib/duet/p-c34329f3.entry.js +0 -4
- package/lib/duet/p-de07c7d7.entry.js +0 -4
- package/lib/duet/p-f0a4b68d.system.entry.js +0 -4
- package/lib/duet/p-f364eb96.entry.js +0 -4
- package/lib/esm/duet-editable-table-button_3.entry.js +0 -226
- package/lib/esm/duet-editable-table_3.entry.js +0 -330
- package/lib/esm/js-utils-b69f17df.js +0 -14
- package/lib/esm/token-utils-590d9413.js +0 -28
- package/lib/esm-es5/duet-editable-table-button_3.entry.js +0 -4
- package/lib/esm-es5/duet-editable-table_3.entry.js +0 -4
- package/lib/esm-es5/duet-upload.entry.js +0 -4
- package/lib/esm-es5/js-utils-b69f17df.js +0 -4
- package/lib/esm-es5/token-utils-590d9413.js +0 -4
|
@@ -12,5 +12,4 @@ export type DuetLanguageWithUs = "fi" | "en" | "sv" | "us"
|
|
|
12
12
|
export type DuetStatus = "default" | "success" | "danger" | "warning"
|
|
13
13
|
export type DuetAnalyticsEvent<T extends string> = { analyticsId: string; component: T }
|
|
14
14
|
export type DuetGridBreakpoint = "small" | "medium" | "x-large"
|
|
15
|
-
|
|
16
15
|
export type DuetLocale = "fi-FI" | "sv-SE" | "en-GB" | "en-US"
|
|
@@ -7,6 +7,9 @@ export declare type DuetCollapsibleToggleEvent = {
|
|
|
7
7
|
component: "duet-collapsible";
|
|
8
8
|
originalEvent: KeyboardEvent | MouseEvent;
|
|
9
9
|
};
|
|
10
|
+
/**
|
|
11
|
+
* @part duet-collapsible-heading-content - piercing selector for styling the heading content
|
|
12
|
+
*/
|
|
10
13
|
export declare class DuetCollapsible implements ThemeableComponent {
|
|
11
14
|
/**
|
|
12
15
|
* Own Properties
|
|
@@ -23,7 +23,7 @@ export declare type DuetEditableTableActions = {
|
|
|
23
23
|
}[];
|
|
24
24
|
export declare type DuetEditableTableItemData = {
|
|
25
25
|
uid: string;
|
|
26
|
-
item: string | HTMLElement
|
|
26
|
+
item: string | HTMLElement | Record<string, string>;
|
|
27
27
|
group: string;
|
|
28
28
|
};
|
|
29
29
|
export declare class DuetEditableTableItem implements ThemeableComponent {
|
|
@@ -42,6 +42,10 @@ export declare class DuetEditableTableItem implements ThemeableComponent {
|
|
|
42
42
|
* @internal
|
|
43
43
|
*/
|
|
44
44
|
groupId: string;
|
|
45
|
+
/**
|
|
46
|
+
* Key used to set vertical alignment of action buttons
|
|
47
|
+
*/
|
|
48
|
+
alignment: string;
|
|
45
49
|
/**
|
|
46
50
|
* Key used to identify item, when running actions
|
|
47
51
|
*/
|
|
@@ -11,6 +11,7 @@ export declare type DuetEditableTableItems = Map<any, DuetEditableTableItemData>
|
|
|
11
11
|
export declare class DuetEditableTable implements ThemeableComponent {
|
|
12
12
|
private internalGroupArray;
|
|
13
13
|
private internalActionsArray;
|
|
14
|
+
private template;
|
|
14
15
|
/**
|
|
15
16
|
* Reference to host HTML element.
|
|
16
17
|
*/
|
|
@@ -24,6 +25,10 @@ export declare class DuetEditableTable implements ThemeableComponent {
|
|
|
24
25
|
* Map of items that contain list of things.
|
|
25
26
|
*/
|
|
26
27
|
items: DuetEditableTableItems;
|
|
28
|
+
/**
|
|
29
|
+
* Key used to set vertical alignment of action buttons
|
|
30
|
+
*/
|
|
31
|
+
alignment: string;
|
|
27
32
|
/**
|
|
28
33
|
* Array of internationalized defaults for the default groups labels.
|
|
29
34
|
*/
|
|
@@ -79,6 +84,11 @@ export declare class DuetEditableTable implements ThemeableComponent {
|
|
|
79
84
|
* Private methods.
|
|
80
85
|
*/
|
|
81
86
|
private kick;
|
|
87
|
+
/**
|
|
88
|
+
* If a user defines a template section within editable table, try to read an use it.
|
|
89
|
+
*/
|
|
90
|
+
private getTemplate;
|
|
91
|
+
private getItemData;
|
|
82
92
|
filterMap: (needle: any) => [any, DuetEditableTableItemData][];
|
|
83
93
|
render(): any;
|
|
84
94
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FunctionalComponent } from "../../stencil-public-runtime";
|
|
2
|
+
interface Props {
|
|
3
|
+
id: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
label: string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
accessibleText?: string;
|
|
8
|
+
active: boolean;
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
badge: boolean;
|
|
11
|
+
toggleRef: (el: HTMLButtonElement) => void;
|
|
12
|
+
itemsRef: (el: HTMLDivElement) => void;
|
|
13
|
+
onToggle: (e: Event) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const DuetHeaderDropdown: FunctionalComponent<Props>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FunctionalComponent } from "../../stencil-public-runtime";
|
|
2
|
+
import { DuetIconSize } from "../duet-icon/duet-icon";
|
|
3
|
+
interface Props {
|
|
4
|
+
icon: string;
|
|
5
|
+
iconSize?: DuetIconSize;
|
|
6
|
+
}
|
|
7
|
+
export declare const DuetHeaderIcon: FunctionalComponent<Props>;
|
|
8
|
+
export {};
|
|
@@ -13,6 +13,10 @@ export declare type DuetHeaderContactItem = DuetHeaderItem & {
|
|
|
13
13
|
};
|
|
14
14
|
export declare type DuetHeaderMainItem = DuetHeaderItem & {
|
|
15
15
|
badge?: boolean;
|
|
16
|
+
active?: boolean;
|
|
17
|
+
external: boolean;
|
|
18
|
+
icon?: string;
|
|
19
|
+
items?: DuetHeaderMainItem[];
|
|
16
20
|
};
|
|
17
21
|
export declare type DuetHeaderLanguageItem = DuetHeaderItem & {
|
|
18
22
|
country: DuetLanguage;
|
|
@@ -20,6 +24,7 @@ export declare type DuetHeaderLanguageItem = DuetHeaderItem & {
|
|
|
20
24
|
export declare type DuetHeaderSession = DuetHeaderItem & {
|
|
21
25
|
type: "login" | "logout";
|
|
22
26
|
};
|
|
27
|
+
export declare type DuetHeaderSearch = DuetHeaderItem;
|
|
23
28
|
export declare type DuetHeaderChangeEvent = {
|
|
24
29
|
originalEvent: Event;
|
|
25
30
|
data: DuetHeaderItem | DuetHeaderLanguageItem | DuetHeaderSession;
|
|
@@ -32,20 +37,26 @@ export interface I18nText {
|
|
|
32
37
|
activeLanguage: string;
|
|
33
38
|
}
|
|
34
39
|
/**
|
|
35
|
-
* @slot utility - A slot for utilities, such as a notification drawer
|
|
36
|
-
* @slot logo-utility - A slot to place elements alongside the logo. This takes precedence over the **region** prop.
|
|
40
|
+
* @slot utility - A slot for utilities, such as a notification drawer or shopping basket.
|
|
41
|
+
* @slot logo-utility - A slot to place elements alongside the logo. This takes precedence over the **region** prop. Note: not available in desktop multilevel header.
|
|
37
42
|
*/
|
|
38
43
|
export declare class DuetHeader implements ThemeableComponent {
|
|
39
44
|
/**
|
|
40
45
|
* Own Properties
|
|
41
46
|
*/
|
|
47
|
+
private subMenuItemRefs;
|
|
48
|
+
private subMenuButtonRefs;
|
|
42
49
|
private contactItemsEl;
|
|
43
50
|
private contactItemsButtonEl;
|
|
44
51
|
private hasLanguageChanged;
|
|
45
52
|
private languageItemsEl;
|
|
46
53
|
private languageItemsButtonEl;
|
|
54
|
+
private segmentItemsEl;
|
|
55
|
+
private segmentItemsButtonEl;
|
|
47
56
|
private navigationEl;
|
|
48
57
|
private logoEl;
|
|
58
|
+
private mql;
|
|
59
|
+
private boundMqlFunctions;
|
|
49
60
|
/**
|
|
50
61
|
* Reference to host HTML element.
|
|
51
62
|
*/
|
|
@@ -57,12 +68,17 @@ export declare class DuetHeader implements ThemeableComponent {
|
|
|
57
68
|
isContactOpen: boolean;
|
|
58
69
|
isLanguageOpen: boolean;
|
|
59
70
|
isSlideOutOpen: boolean;
|
|
71
|
+
isSegmentOpen: boolean;
|
|
72
|
+
openMenu: string;
|
|
73
|
+
closedActives: string[];
|
|
60
74
|
processedItems: DuetHeaderMainItem[];
|
|
61
75
|
processedLanguageItems: DuetHeaderLanguageItem[];
|
|
62
76
|
processedContactItems: DuetHeaderContactItem[];
|
|
63
77
|
processedSession: DuetHeaderSession;
|
|
78
|
+
processedSearch: DuetHeaderSearch;
|
|
64
79
|
processedUser: DuetHeaderItem;
|
|
65
80
|
processedBack: DuetHeaderItem;
|
|
81
|
+
renderDesktopNav: boolean;
|
|
66
82
|
/**
|
|
67
83
|
* Theme of the header.
|
|
68
84
|
*/
|
|
@@ -146,6 +162,7 @@ export declare class DuetHeader implements ThemeableComponent {
|
|
|
146
162
|
* An object that includes mandatory "label" and "href" fields for the user
|
|
147
163
|
* profile link. Additionally, you can pass an "id" that is added as an HTML
|
|
148
164
|
* identifier for the element. If nothing is passed, user won’t be shown.
|
|
165
|
+
* Note: not available in multilevel headers.
|
|
149
166
|
*/
|
|
150
167
|
user: any;
|
|
151
168
|
/**
|
|
@@ -154,6 +171,7 @@ export declare class DuetHeader implements ThemeableComponent {
|
|
|
154
171
|
logoHref: string;
|
|
155
172
|
/**
|
|
156
173
|
* The href of the current page item that is shown as “active”.
|
|
174
|
+
* Note: not available in multilevel headers.
|
|
157
175
|
*/
|
|
158
176
|
currentHref: string;
|
|
159
177
|
/**
|
|
@@ -164,20 +182,30 @@ export declare class DuetHeader implements ThemeableComponent {
|
|
|
164
182
|
/**
|
|
165
183
|
* An array of items for the main navigation. Items have to include mandatory
|
|
166
184
|
* "label" and "href" fields to work. Additionally, you can pass an "id" that is
|
|
167
|
-
* added as an HTML identifier for the element
|
|
185
|
+
* added as an HTML identifier for the element, "active" boolean that makes item active,
|
|
186
|
+
* "badge" boolean to add notification badge next to the item and
|
|
187
|
+
* "items" array consisting of sub items that are allowed up to three levels.
|
|
168
188
|
*/
|
|
169
189
|
items: any;
|
|
170
190
|
/**
|
|
171
191
|
* Region that is shown next to the logo. If empty, region will be hidden.
|
|
192
|
+
* Note: not available in desktop multilevel header.
|
|
172
193
|
*/
|
|
173
194
|
region: string;
|
|
174
195
|
/**
|
|
175
196
|
* An object that includes mandatory "label", "href" and "type" fields for the
|
|
176
197
|
* session login/logout link. Additionally, you can pass an "id" that is added
|
|
198
|
+
* as an HTML identifier for the element.
|
|
199
|
+
* If nothing is passed, this link won’t be shown.
|
|
200
|
+
*/
|
|
201
|
+
session: any;
|
|
202
|
+
/**
|
|
203
|
+
* An object that includes mandatory "label" and "href" fields for the
|
|
204
|
+
* search link. Additionally, you can pass an "id" that is added
|
|
177
205
|
* as an HTML identifier for the element. If nothing is passed, this link won’t
|
|
178
206
|
* be shown.
|
|
179
207
|
*/
|
|
180
|
-
|
|
208
|
+
search: any;
|
|
181
209
|
/**
|
|
182
210
|
* An object that includes mandatory "label" and "href" fields for the back link.
|
|
183
211
|
* Additionally, you can pass an "id" that is added as an HTML identifier for the
|
|
@@ -187,6 +215,7 @@ export declare class DuetHeader implements ThemeableComponent {
|
|
|
187
215
|
back: any;
|
|
188
216
|
/**
|
|
189
217
|
* Label of the contact menu. If empty, contact menu will be hidden.
|
|
218
|
+
* Note: not available in multilevel headers.
|
|
190
219
|
*/
|
|
191
220
|
contact: string;
|
|
192
221
|
/**
|
|
@@ -214,6 +243,12 @@ export declare class DuetHeader implements ThemeableComponent {
|
|
|
214
243
|
* inside your listener. Additionally, the passed data is available via **event.detail.data**.
|
|
215
244
|
*/
|
|
216
245
|
duetSessionClick: EventEmitter<DuetHeaderChangeEvent>;
|
|
246
|
+
/**
|
|
247
|
+
* Event for when a user has clicked the search link. You can prevent the
|
|
248
|
+
* default browser functionality by calling **event.detail.originalEvent.preventDefault()**
|
|
249
|
+
* inside your listener. Additionally, the passed data is available via **event.detail.data**.
|
|
250
|
+
*/
|
|
251
|
+
duetSearchClick: EventEmitter<DuetHeaderChangeEvent>;
|
|
217
252
|
/**
|
|
218
253
|
* Event raised when a user has clicked the user link. You can prevent the
|
|
219
254
|
* default browser functionality by calling **event.detail.originalEvent.preventDefault()**
|
|
@@ -265,6 +300,7 @@ export declare class DuetHeader implements ThemeableComponent {
|
|
|
265
300
|
* Component lifecycle events.
|
|
266
301
|
*/
|
|
267
302
|
componentWillLoad(): void;
|
|
303
|
+
connectedCallback(): void;
|
|
268
304
|
disconnectedCallback(): void;
|
|
269
305
|
/**
|
|
270
306
|
* Component event handling.
|
|
@@ -275,6 +311,7 @@ export declare class DuetHeader implements ThemeableComponent {
|
|
|
275
311
|
private handleLanguageClick;
|
|
276
312
|
private handleClick;
|
|
277
313
|
private handleSessionClick;
|
|
314
|
+
private handleSearchClick;
|
|
278
315
|
private handleUserClick;
|
|
279
316
|
private handleBackClick;
|
|
280
317
|
private handleContactClick;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { DuetLanguage, DuetTheme } from "../../common-types";
|
|
2
2
|
import { DuetLangObject } from "../../utils/language-utils";
|
|
3
3
|
import { ThemeableComponent } from "../../utils/themeable-component";
|
|
4
|
+
/**
|
|
5
|
+
* @part duet-link - piercing selector for styling the link
|
|
6
|
+
*/
|
|
4
7
|
export declare class DuetLink implements ThemeableComponent {
|
|
5
8
|
private nativeLink;
|
|
6
9
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DuetMargin, DuetTheme } from "../../common-types";
|
|
2
2
|
import { ThemeableComponent } from "../../utils/themeable-component";
|
|
3
3
|
export declare type DuetTableBreakpoint = keyof typeof breakpointToToken;
|
|
4
|
-
export declare type DuetTableVariant = "striped" | "plain";
|
|
4
|
+
export declare type DuetTableVariant = "striped" | "plain" | "fixed";
|
|
5
5
|
export declare type DuetTableStickyDistance = "with-links" | "without-links" | "none";
|
|
6
6
|
declare const breakpointToToken: {
|
|
7
7
|
none: string;
|
|
@@ -5,7 +5,7 @@ import { DuetLangObject } from "../../utils/language-utils";
|
|
|
5
5
|
import { ThemeableComponent } from "../../utils/themeable-component";
|
|
6
6
|
import { DuetEditableTableGroupNames } from "../duet-editable-table/duet-editable-table";
|
|
7
7
|
import { DuetEditableTableActions } from "../duet-editable-table/duet-editable-table-item";
|
|
8
|
-
import { StatusMessage } from "
|
|
8
|
+
import { StatusMessage } from "../duet-upload-aria-status/duet-upload-aria-status";
|
|
9
9
|
import { DuetUploadErrorCode } from "./errorcodes.utils";
|
|
10
10
|
import { DuetXhrRequest } from "./xhr.helpers";
|
|
11
11
|
export declare type DuetUploadEvent = {
|
|
@@ -36,7 +36,6 @@ export interface StringMap {
|
|
|
36
36
|
/**
|
|
37
37
|
* @slot header - named slot - to place content after description / caption
|
|
38
38
|
* @slot fileheader - named slot - to place content above "filelist" (only displayed when "filelist" contains items)
|
|
39
|
-
* @slot filelist - named slot - should always contain a configurable duet-editable-table or a component that exposes the same functionality
|
|
40
39
|
* @slot filefooter - named slot - to place content below "filelist" (only displayed when "filelist" contains items)
|
|
41
40
|
*/
|
|
42
41
|
export declare class DuetUpload implements ThemeableComponent, FormComponent {
|
|
@@ -50,6 +49,7 @@ export declare class DuetUpload implements ThemeableComponent, FormComponent {
|
|
|
50
49
|
private filesInProgress;
|
|
51
50
|
private fileMaxReached;
|
|
52
51
|
private bytesMaxReached;
|
|
52
|
+
private internalStatusMessageLabel;
|
|
53
53
|
private metaData;
|
|
54
54
|
private nativeInput?;
|
|
55
55
|
/**
|
|
@@ -87,12 +87,12 @@ export declare class DuetUpload implements ThemeableComponent, FormComponent {
|
|
|
87
87
|
*/
|
|
88
88
|
external: boolean;
|
|
89
89
|
/**
|
|
90
|
-
* If set the upload component will not display an upload button, you will have to create
|
|
91
|
-
* and call the exposed
|
|
90
|
+
* If set the upload component will not display an upload button, you will have to create one yourself
|
|
91
|
+
* and call the exposed method startUpload
|
|
92
92
|
*/
|
|
93
93
|
hideButton: boolean;
|
|
94
94
|
/**
|
|
95
|
-
* Default actions added to
|
|
95
|
+
* Default actions added to the internally used duet-editable-table
|
|
96
96
|
*/
|
|
97
97
|
actions: DuetEditableTableActions | string;
|
|
98
98
|
/**
|
|
@@ -100,8 +100,9 @@ export declare class DuetUpload implements ThemeableComponent, FormComponent {
|
|
|
100
100
|
*/
|
|
101
101
|
uri: string;
|
|
102
102
|
/**
|
|
103
|
-
* If enabled the
|
|
103
|
+
* If enabled the editable-table will display links on successfully uploaded items,
|
|
104
104
|
* this requires the server can respond with link URIs in the correct format
|
|
105
|
+
* and that the files are accessible to the user
|
|
105
106
|
*/
|
|
106
107
|
showLinks: boolean;
|
|
107
108
|
/**
|
|
@@ -111,19 +112,43 @@ export declare class DuetUpload implements ThemeableComponent, FormComponent {
|
|
|
111
112
|
/**
|
|
112
113
|
* Property to change the aria upload progress text read aloud by screenreaders
|
|
113
114
|
* @default {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
* fi: {
|
|
116
|
+
* inProgress: "Lähetetään {filesUploaded} lähetettävästä {filesTotal} tiedostosta",
|
|
117
|
+
* inProgressWithErrors:
|
|
118
|
+
* "Lähetetään {filesInProgress} tiedostoa, lähetetty {filesUploaded} lähetettävästä {filesTotal} tiedostosta, {filesWithErrors} tiedostossa on virheitä",
|
|
119
|
+
* done: "Kaikki {filesTotal} tiedostoa lähetetty onnistuneesti",
|
|
120
|
+
* doneWithErrors:
|
|
121
|
+
* "Lähetys valmis, {filesUploaded} tiedostoa on lähetetty onnistuneesti, {filesWithErrors} tiedostossa oli virheitä",
|
|
122
|
+
* files: "tiedostot",
|
|
123
|
+
* file: "tiedosto",
|
|
124
|
+
* },
|
|
125
|
+
* sv: {
|
|
126
|
+
* inProgress: "Adding {filesUploaded} of {filesTotal}",
|
|
127
|
+
* inProgressWithErrors:
|
|
128
|
+
* "Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",
|
|
129
|
+
* done: "Alla {filesTotal} har lagts till",
|
|
130
|
+
* doneWithErrors: "Handling slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",
|
|
131
|
+
* files: "filer",
|
|
132
|
+
* file: "fil",
|
|
133
|
+
* },
|
|
134
|
+
* en: {
|
|
135
|
+
* inProgress: "Adding {filesUploaded} of {filesTotal}",
|
|
136
|
+
* inProgressWithErrors:
|
|
137
|
+
* "Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",
|
|
138
|
+
* done: "All {filesTotal} added successfully",
|
|
139
|
+
* doneWithErrors: "Action completed, {filesUploaded} has been added successfully, {filesWithErrors} had errors",
|
|
140
|
+
* files: "tiedostoa",
|
|
141
|
+
* file: "tiedosto",
|
|
142
|
+
* },
|
|
143
|
+
* }
|
|
118
144
|
*/
|
|
119
145
|
statusLabelDefaults: DuetLangObject | string;
|
|
120
146
|
/**
|
|
121
147
|
* Strings used for the status aria-label
|
|
122
148
|
*/
|
|
123
|
-
statusMessageLabel: StatusMessage;
|
|
149
|
+
statusMessageLabel: StatusMessage | string;
|
|
124
150
|
/**
|
|
125
|
-
* Property to change
|
|
126
|
-
* normally you would handle these strings on an application level and override @label when needed
|
|
151
|
+
* Property to change button label defaults on the component.
|
|
127
152
|
* @default {
|
|
128
153
|
fi: "Lisää liite",
|
|
129
154
|
sv: "Lägg till en bilaga",
|
|
@@ -137,7 +162,7 @@ export declare class DuetUpload implements ThemeableComponent, FormComponent {
|
|
|
137
162
|
*/
|
|
138
163
|
buttonLabel: string;
|
|
139
164
|
/**
|
|
140
|
-
* accessible Label of button
|
|
165
|
+
* accessible aria-Label of button
|
|
141
166
|
*/
|
|
142
167
|
accessibleButtonLabel: string;
|
|
143
168
|
/**
|
|
@@ -165,11 +190,15 @@ export declare class DuetUpload implements ThemeableComponent, FormComponent {
|
|
|
165
190
|
*/
|
|
166
191
|
required: boolean;
|
|
167
192
|
/**
|
|
168
|
-
* Array of group names that you want the editable table
|
|
193
|
+
* Array of group names that you want the editable table to use to display files
|
|
169
194
|
* @required
|
|
170
195
|
* @example [{ id: "success", label: {fi: "Onnistunut", en: "Success", sv: "Alt klart", }}]
|
|
171
196
|
*/
|
|
172
197
|
groups: DuetEditableTableGroupNames | string;
|
|
198
|
+
/**
|
|
199
|
+
* Key used to set vertical alignment of action buttons
|
|
200
|
+
*/
|
|
201
|
+
alignment: string;
|
|
173
202
|
/**
|
|
174
203
|
* Visually hides the groups labels in the editable table list used to display the list of files
|
|
175
204
|
*/
|
|
@@ -179,7 +208,7 @@ export declare class DuetUpload implements ThemeableComponent, FormComponent {
|
|
|
179
208
|
*/
|
|
180
209
|
files: StringMap;
|
|
181
210
|
/**
|
|
182
|
-
* Property to read if
|
|
211
|
+
* Property to read if the internally used editable-table contains errors or not
|
|
183
212
|
*/
|
|
184
213
|
valid: boolean;
|
|
185
214
|
watchValidHandler(newValue: boolean, oldValue: boolean): void;
|
|
@@ -196,7 +225,6 @@ export declare class DuetUpload implements ThemeableComponent, FormComponent {
|
|
|
196
225
|
label: string;
|
|
197
226
|
/**
|
|
198
227
|
* Property to change descriptionDefaults defaults on the component.
|
|
199
|
-
* normally you would handle these strings on an application level and override @label when needed
|
|
200
228
|
* @default {
|
|
201
229
|
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.",
|
|
202
230
|
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.",
|
|
@@ -369,7 +397,7 @@ export declare class DuetUpload implements ThemeableComponent, FormComponent {
|
|
|
369
397
|
invalid: any[];
|
|
370
398
|
}>;
|
|
371
399
|
/**
|
|
372
|
-
* Convenience method for updating
|
|
400
|
+
* Convenience method for updating the value of a key:value inside an item in the files attribute
|
|
373
401
|
*/
|
|
374
402
|
updateValue(item: string, key: string, value: any): Promise<void>;
|
|
375
403
|
/**
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/types/components/duet-upload/{duet-upload-validators.d.ts → upload-validators.d.ts}
RENAMED
|
File without changes
|
package/lib/types/components/{duet-upload → duet-upload-aria-status}/duet-upload-aria-status.d.ts
RENAMED
|
@@ -12,7 +12,7 @@ export declare class DuetUploadAriaStatus {
|
|
|
12
12
|
*/
|
|
13
13
|
statusMessage: string;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Status labels used in the component
|
|
16
16
|
*/
|
|
17
17
|
statusMessageLabel: StatusMessage;
|
|
18
18
|
/**
|
|
@@ -37,7 +37,7 @@ export declare class DuetUploadAriaStatus {
|
|
|
37
37
|
inprogress: number;
|
|
38
38
|
watchHandler(newValue: boolean, oldValue: boolean): void;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Private functions
|
|
41
41
|
*/
|
|
42
42
|
private replacePlaceHolders;
|
|
43
43
|
private getStatusMessage;
|