@duetds/components 4.33.2 → 4.34.0
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 +401 -87
- 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 -2
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- 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 +14 -7
- package/lib/cjs/duet-editable-table_4.cjs.entry.js +86 -11
- 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 +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +214 -47
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +7 -5
- 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 +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +4 -4
- package/lib/cjs/{focus-utils-27c696bb.js → focus-utils-480ea4e0.js} +1 -1
- package/lib/cjs/form-search-d61b2843.js +8 -0
- package/lib/cjs/{index-18b0f43a.js → index-6966a494.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/collection/collection-manifest.json +2 -2
- 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-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 +310 -122
- package/lib/collection/components/duet-icon/duet-icon.js +5 -3
- 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 +26 -4
- 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 +386 -90
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-b5dc29b8.system.entry.js → p-07f43530.system.entry.js} +1 -1
- package/lib/duet/{p-0435b54a.system.entry.js → p-093bca2f.system.entry.js} +1 -1
- package/lib/duet/{p-60ef3d05.entry.js → p-0aaf86ba.entry.js} +1 -1
- package/lib/duet/{p-4e17a6cb.system.entry.js → p-0b0a05ed.system.entry.js} +1 -1
- package/lib/duet/{p-6402041d.system.entry.js → p-0be1c660.system.entry.js} +1 -1
- package/lib/duet/{p-de43620d.system.entry.js → p-0d66e11b.system.entry.js} +1 -1
- package/lib/duet/{p-3cad13af.system.entry.js → p-0de430e1.system.entry.js} +1 -1
- package/lib/duet/{p-1ecddc1d.entry.js → p-0ef8d711.entry.js} +1 -1
- package/lib/duet/{p-68635a1c.entry.js → p-12a08d77.entry.js} +1 -1
- package/lib/duet/{p-ba6214be.entry.js → p-15c9a17c.entry.js} +1 -1
- package/lib/duet/{p-35a3794e.js → p-183726f7.js} +0 -0
- package/lib/duet/{p-5b9621e2.entry.js → p-18c3eb54.entry.js} +1 -1
- package/lib/duet/{p-50b796eb.entry.js → p-1b591fa4.entry.js} +1 -1
- package/lib/duet/{p-d5e2bb48.system.entry.js → p-1bd0f4eb.system.entry.js} +1 -1
- package/lib/duet/{p-dd9b8fcb.system.entry.js → p-27bd8744.system.entry.js} +1 -1
- package/lib/duet/p-289a31cb.entry.js +4 -0
- package/lib/duet/{p-c0f3f60f.system.entry.js → p-29b352db.system.entry.js} +1 -1
- package/lib/duet/p-2a00f231.system.entry.js +4 -0
- package/lib/duet/{p-9a09ac2b.system.entry.js → p-3215e07e.system.entry.js} +1 -1
- package/lib/duet/{p-1c7d7cdd.system.entry.js → p-338b9955.system.entry.js} +1 -1
- package/lib/duet/{p-65451003.entry.js → p-33de1029.entry.js} +1 -1
- package/lib/duet/p-34ebff3b.entry.js +4 -0
- package/lib/duet/{p-5727cd82.system.entry.js → p-379d416f.system.entry.js} +1 -1
- package/lib/duet/{p-9584411c.entry.js → p-39a12eb9.entry.js} +1 -1
- package/lib/duet/{p-be349a3d.system.entry.js → p-39fd8b43.system.entry.js} +1 -1
- package/lib/duet/{p-8c730326.entry.js → p-3bafdf7c.entry.js} +1 -1
- package/lib/duet/{p-d4e706ac.system.entry.js → p-3c1ce7e2.system.entry.js} +1 -1
- package/lib/duet/p-3da6b84e.entry.js +4 -0
- package/lib/duet/{p-39e9d638.entry.js → p-43c49a72.entry.js} +1 -1
- package/lib/duet/{p-582f3a2c.entry.js → p-44f4b8ff.entry.js} +1 -1
- package/lib/duet/{p-a2b2fa13.system.entry.js → p-4c5ac0c2.system.entry.js} +1 -1
- package/lib/duet/p-50b4fb2c.js +4 -0
- package/lib/duet/{p-cff461b6.entry.js → p-51f7ae72.entry.js} +1 -1
- package/lib/duet/{p-987edcd0.js → p-52621211.js} +0 -0
- package/lib/duet/{p-7ceaf4ef.system.entry.js → p-5443c9ca.system.entry.js} +1 -1
- package/lib/duet/{p-b1ad7a52.system.entry.js → p-5610db77.system.entry.js} +1 -1
- package/lib/duet/{p-d0fb19f7.system.entry.js → p-5b409bfb.system.entry.js} +1 -1
- package/lib/duet/{p-04b3e682.entry.js → p-6353407f.entry.js} +1 -1
- package/lib/duet/{p-66fdebc5.js → p-64bf94ee.js} +1 -1
- package/lib/duet/{p-c506017d.entry.js → p-64e915ae.entry.js} +1 -1
- package/lib/duet/{p-933c2774.system.entry.js → p-6c237f21.system.entry.js} +1 -1
- package/lib/duet/p-6c8521f6.system.entry.js +4 -0
- package/lib/duet/{p-c18a599e.system.js → p-6e4fd6ba.system.js} +0 -0
- package/lib/duet/{p-15fae689.entry.js → p-7347f4ac.entry.js} +1 -1
- package/lib/duet/{p-d1dfa30e.entry.js → p-781bd6db.entry.js} +1 -1
- package/lib/duet/{p-f37ffb6f.system.entry.js → p-78e8a689.system.entry.js} +1 -1
- package/lib/duet/{p-408e8cdb.system.js → p-81e855e4.system.js} +1 -1
- package/lib/duet/{p-637df820.entry.js → p-8224d768.entry.js} +1 -1
- package/lib/duet/{p-33538e90.system.entry.js → p-848bb1c2.system.entry.js} +1 -1
- package/lib/duet/{p-042ec8b1.entry.js → p-880a4afe.entry.js} +1 -1
- package/lib/duet/{p-4a14da52.entry.js → p-8c375429.entry.js} +1 -1
- package/lib/duet/p-8cb71174.system.entry.js +4 -0
- package/lib/duet/{p-cd21755b.entry.js → p-8d7b68c4.entry.js} +1 -1
- package/lib/duet/p-8f477bd6.system.js +4 -0
- package/lib/duet/{p-0ac2e60d.system.entry.js → p-969c6395.system.entry.js} +1 -1
- package/lib/duet/{p-2d8e0faa.system.entry.js → p-9c234242.system.entry.js} +1 -1
- package/lib/duet/{p-3a7e519e.entry.js → p-9d7b9084.entry.js} +1 -1
- package/lib/duet/{p-c3c95a34.system.entry.js → p-a0544097.system.entry.js} +1 -1
- package/lib/duet/p-a16a58c1.system.js +4 -0
- package/lib/duet/{p-5f79eff8.system.entry.js → p-a4a16d03.system.entry.js} +1 -1
- package/lib/duet/p-a4e3b44b.entry.js +4 -0
- package/lib/duet/{p-659d6cb7.entry.js → p-a91673cf.entry.js} +1 -1
- package/lib/duet/{p-c9a11360.entry.js → p-a926944f.entry.js} +1 -1
- package/lib/duet/p-b08bce4c.entry.js +4 -0
- package/lib/duet/{p-7fed7f57.entry.js → p-b48a5f80.entry.js} +1 -1
- package/lib/duet/p-bb3e3777.entry.js +4 -0
- package/lib/duet/{p-3364cfd2.entry.js → p-bbe33d02.entry.js} +1 -1
- package/lib/duet/{p-2b4bd1b2.system.entry.js → p-be8e1c48.system.entry.js} +1 -1
- package/lib/duet/{p-3bcf2054.system.entry.js → p-c56c73ee.system.entry.js} +1 -1
- package/lib/duet/p-c63bdc6a.system.entry.js +4 -0
- package/lib/duet/{p-1cf8dbc7.system.js → p-c83685a6.system.js} +1 -1
- package/lib/duet/{p-c74cecf2.system.entry.js → p-c8dfc958.system.entry.js} +1 -1
- package/lib/duet/{p-7f8cce41.system.entry.js → p-c92f601f.system.entry.js} +1 -1
- package/lib/duet/p-d004da5f.js +4 -0
- package/lib/duet/p-d49416f8.entry.js +4 -0
- package/lib/duet/{p-720a36f2.entry.js → p-d581d82d.entry.js} +1 -1
- package/lib/duet/{p-f8744611.entry.js → p-d6bb4301.entry.js} +1 -1
- package/lib/duet/p-d9aadc15.entry.js +4 -0
- package/lib/duet/{p-7ab0bad8.entry.js → p-dde63979.entry.js} +1 -1
- package/lib/duet/{p-1dcbd837.system.entry.js → p-e15ccddc.system.entry.js} +1 -1
- package/lib/duet/{p-9125ed25.entry.js → p-e1be37a6.entry.js} +1 -1
- package/lib/duet/{p-0d22396e.system.js → p-e5c1751e.system.js} +0 -0
- package/lib/duet/{p-fd00b025.entry.js → p-e9209e9f.entry.js} +1 -1
- package/lib/duet/{p-61fc3872.system.js → p-ee1ba0d4.system.js} +1 -1
- package/lib/duet/{p-350cea4e.system.entry.js → p-f4a29a8a.system.entry.js} +2 -2
- package/lib/duet/{p-8c2f14d8.system.entry.js → p-f8a0bd32.system.entry.js} +1 -1
- package/lib/duet/p-f9599dd9.system.entry.js +4 -0
- package/lib/duet/{p-ebc4e334.js → p-fd7018e9.js} +1 -1
- package/lib/duet/{p-75e5d4d1.system.entry.js → p-fe0cca67.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 -2
- package/lib/esm/duet-collapsible.entry.js +2 -2
- 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 +14 -7
- package/lib/esm/duet-editable-table_4.entry.js +86 -11
- 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 +1 -1
- package/lib/esm/duet-header_2.entry.js +214 -47
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +7 -5
- 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 +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{focus-utils-c1fa24c4.js → focus-utils-48837cfa.js} +1 -1
- package/lib/esm/form-search-ea8e19ae.js +6 -0
- package/lib/esm/{index-05e43a37.js → index-80be4170.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-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 +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-editable-table_4.entry.js +2 -2
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +2 -2
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +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 +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{focus-utils-c1fa24c4.js → focus-utils-48837cfa.js} +1 -1
- package/lib/esm-es5/form-search-ea8e19ae.js +4 -0
- package/lib/esm-es5/{index-05e43a37.js → index-80be4170.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/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-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-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 +4 -0
- package/lib/types/components.d.ts +46 -10
- 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/token-utils-63a9c8dc.js +0 -30
- package/lib/duet/p-1082d9f2.system.entry.js +0 -4
- package/lib/duet/p-12fc4849.system.entry.js +0 -4
- package/lib/duet/p-1ad58142.entry.js +0 -4
- package/lib/duet/p-3c1971d8.js +0 -4
- package/lib/duet/p-60e721aa.system.entry.js +0 -4
- package/lib/duet/p-64c0aa2a.entry.js +0 -4
- package/lib/duet/p-6708db8a.entry.js +0 -4
- package/lib/duet/p-6e363557.system.js +0 -4
- package/lib/duet/p-72629304.entry.js +0 -4
- package/lib/duet/p-75a104e3.entry.js +0 -4
- package/lib/duet/p-9930e52e.entry.js +0 -4
- package/lib/duet/p-a09ddd8f.entry.js +0 -4
- package/lib/duet/p-cd597d62.system.entry.js +0 -4
- package/lib/duet/p-dd79932a.entry.js +0 -4
- package/lib/duet/p-e038da47.system.entry.js +0 -4
- package/lib/esm/token-utils-590d9413.js +0 -28
- package/lib/esm-es5/token-utils-590d9413.js +0 -4
- package/lib/html.html-data.json +0 -4906
package/lib/cjs/loader.cjs.js
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-6966a494.js');
|
|
9
9
|
const appGlobals = require('./app-globals-a032b236.js');
|
|
10
10
|
|
|
11
11
|
/*
|
|
12
|
-
Stencil Client Patch Esm v2.
|
|
12
|
+
Stencil Client Patch Esm v2.12.1 | MIT Licensed | https://stenciljs.com
|
|
13
13
|
*/
|
|
14
14
|
const patchEsm = () => {
|
|
15
15
|
return index.promiseResolve();
|
|
@@ -19,7 +19,7 @@ const defineCustomElements = (win, options) => {
|
|
|
19
19
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
20
20
|
return patchEsm().then(() => {
|
|
21
21
|
appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy(JSON.parse("[[\"duet-choice_2.cjs\",[[6,\"duet-choice-group\",{\"direction\":[1],\"margin\":[1],\"theme\":[1025],\"error\":[1],\"name\":[1],\"label\":[1],\"labelHidden\":[4,\"label-hidden\"],\"caption\":[1],\"tooltip\":[1],\"tooltipDirection\":[1,\"tooltip-direction\"],\"responsive\":[4],\"value\":[1537],\"disabled\":[4]}],[6,\"duet-choice\",{\"theme\":[1025],\"label\":[1],\"accessibleLabelInfoButtonDefaults\":[1,\"accessible-label-info-default\"],\"accessibleLabelInfoButton\":[1,\"accessible-label-info-button\"],\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"caption\":[1],\"value\":[1537],\"type\":[513],\"name\":[1],\"checked\":[1540],\"collapsible\":[4],\"margin\":[1],\"icon\":[1],\"expand\":[4],\"padding\":[1],\"identifier\":[1],\"groupDirection\":[1,\"group-direction\"],\"groupDisabled\":[4,\"group-disabled\"],\"groupResponsive\":[4,\"group-responsive\"],\"disabled\":[516],\"required\":[4],\"infoLabelDefaults\":[1,\"accessible-label-info-default\"],\"infoLabel\":[1,\"info-label\"],\"isHovering\":[32],\"isInfoOpen\":[32],\"isBlurred\":[32],\"setFocus\":[64]},[[2,\"blur\",\"handleHostBlur\"],[2,\"keydown\",\"handleHostKeyDown\"],[2,\"keyup\",\"handleHostKeyUp\"]]]]],[\"duet-hero.cjs\",[[1,\"duet-hero\",{\"theme\":[1025],\"heading\":[1],\"preHeading\":[1,\"pre-heading\"],\"level\":[1],\"description\":[1],\"icon\":[1],\"iconSize\":[1,\"icon-size\"],\"iconRight\":[4,\"icon-right\"],\"categoryIcon\":[1,\"category-icon\"],\"categoryIconColor\":[1,\"category-icon-color\"],\"buttonLabel\":[1,\"button-label\"],\"language\":[1025],\"accessibleLabelExternalDefaults\":[1,\"accessible-label-external-default\"],\"accessibleLabelExternal\":[1,\"accessible-label-external\"],\"buttonUrl\":[1,\"button-url\"],\"buttonId\":[1,\"button-id\"],\"buttonData\":[16],\"textCenter\":[4,\"text-center\"],\"leftAlign\":[4,\"left-align\"],\"image\":[1],\"variation\":[1],\"back\":[8],\"listItems\":[8,\"list-items\"],\"actions\":[8],\"processedListItems\":[32],\"processedActions\":[32],\"processedBack\":[32]}]]],[\"duet-tab_2.cjs\",[[6,\"duet-tab-group\",{\"theme\":[1025],\"variation\":[1],\"language\":[1025],\"labelDefaults\":[1,\"label-default\"],\"label\":[1],\"labelHidden\":[4,\"label-hidden\"],\"margin\":[1],\"padding\":[1],\"tabs\":[32],\"selected\":[32],\"openTab\":[64],\"refresh\":[64]}],[6,\"duet-tab\",{\"label\":[513],\"selected\":[516]}]]],[\"duet-date-picker.cjs\",[[2,\"duet-date-picker\",{\"theme\":[1025],\"expand\":[4],\"name\":[1],\"identifier\":[1],\"label\":[1],\"caption\":[1],\"margin\":[1],\"language\":[1],\"placeholderDefaults\":[1,\"placeholder-default\"],\"placeholder\":[1],\"echoPlaceholder\":[1540,\"echo-placeholder\"],\"disabled\":[516],\"error\":[1],\"labelHidden\":[4,\"label-hidden\"],\"role\":[1],\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"required\":[4],\"direction\":[1],\"tooltip\":[1],\"tooltipDirection\":[1,\"tooltip-direction\"],\"value\":[1537],\"min\":[1],\"max\":[1],\"validity\":[1040],\"open\":[32],\"focusedDay\":[32],\"inputValue\":[32],\"setFocus\":[64],\"show\":[64],\"hide\":[64]},[[4,\"click\",\"handleDocumentClick\"]]]]],[\"duet-number-input.cjs\",[[2,\"duet-number-input\",{\"language\":[1025],\"locale\":[1],\"unit\":[1],\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"accessibleLiveDefaults\":[1,\"accessible-live-default\"],\"accessibleLive\":[1,\"accessible-live\"],\"accessibleLiveEnabled\":[4,\"accessible-live-enabled\"],\"accessibleAddDefaults\":[1,\"accessible-add-default\"],\"accessibleAdd\":[1,\"accessible-add\"],\"accessibleSubtractDefaults\":[1,\"accessible-subtract-defaults\"],\"accessibleSubtract\":[1,\"accessible-subtract\"],\"theme\":[1025],\"margin\":[1],\"expand\":[4],\"identifier\":[1],\"min\":[2],\"labelDefaults\":[1,\"label-default\"],\"label\":[1],\"labelHidden\":[4,\"label-hidden\"],\"max\":[2],\"name\":[1],\"error\":[1],\"tooltip\":[1],\"step\":[2],\"rounding\":[4],\"role\":[1],\"disabled\":[516],\"required\":[4],\"value\":[1025],\"focusedValue\":[32],\"setFocus\":[64]}]]],[\"duet-radio_2.cjs\",[[6,\"duet-radio-group\",{\"direction\":[1],\"margin\":[1],\"theme\":[1025],\"error\":[1],\"tooltip\":[1],\"tooltipDirection\":[1,\"tooltip-direction\"],\"name\":[1],\"label\":[1],\"labelHidden\":[4,\"label-hidden\"],\"caption\":[1],\"responsive\":[4],\"value\":[1537],\"disabled\":[4]}],[2,\"duet-radio\",{\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleIndex\":[1,\"accessible-index\"],\"margin\":[1],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"theme\":[1025],\"disabled\":[516],\"required\":[4],\"blockEvents\":[4,\"block-events\"],\"identifier\":[1],\"label\":[1],\"name\":[1],\"role\":[1],\"groupDisabled\":[4,\"group-disabled\"],\"groupDirection\":[1,\"group-direction\"],\"groupResponsive\":[4,\"group-responsive\"],\"checked\":[1540],\"value\":[1537],\"setFocus\":[64]}]]],[\"duet-card.cjs\",[[1,\"duet-card\",{\"accessibleLabel\":[1,\"accessible-label\"],\"heading\":[1],\"secondaryHeading\":[1,\"secondary-heading\"],\"variation\":[1],\"collapsible\":[4],\"open\":[1540],\"headingLevel\":[1,\"heading-level\"],\"icon\":[1],\"image\":[1],\"background\":[1],\"padding\":[1],\"margin\":[1],\"theme\":[1025],\"url\":[1],\"setFocus\":[64]}]]],[\"duet-range-slider.cjs\",[[2,\"duet-range-slider\",{\"theme\":[1025],\"margin\":[1],\"expand\":[4],\"identifier\":[1],\"name\":[1],\"required\":[4],\"disabled\":[516],\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"min\":[2],\"label\":[1],\"labelHidden\":[4,\"label-hidden\"],\"unit\":[1],\"max\":[2],\"step\":[2],\"locale\":[1],\"value\":[1026],\"debounce\":[2],\"setFocus\":[64]}]]],[\"duet-toggle.cjs\",[[2,\"duet-toggle\",{\"theme\":[1025],\"margin\":[1],\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"label\":[1],\"required\":[4],\"disabled\":[516],\"checked\":[1540],\"value\":[1537],\"identifier\":[1],\"name\":[1],\"role\":[1],\"setFocus\":[64]}]]],[\"duet-checkbox.cjs\",[[2,\"duet-checkbox\",{\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"margin\":[1],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleIndex\":[1,\"accessible-index\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"required\":[4],\"theme\":[1025],\"disabled\":[516],\"identifier\":[1],\"label\":[1],\"labelHidden\":[4,\"label-hidden\"],\"name\":[1],\"role\":[1],\"checked\":[1540],\"value\":[1537],\"setFocus\":[64]}]]],[\"duet-layout.cjs\",[[1,\"duet-layout\",{\"sticky\":[4],\"margin\":[1],\"stickyDistance\":[1,\"sticky-distance\"],\"center\":[4],\"tabs\":[4],\"middle\":[4]}]]],[\"duet-divider_2.cjs\",[[1,\"duet-divider\",{\"theme\":[1025],\"margin\":[1]}],[1,\"duet-spacer\",{\"size\":[1],\"direction\":[1],\"breakpoint\":[1]}]]],[\"duet-visually-hidden.cjs\",[[1,\"duet-visually-hidden\"]]],[\"duet-icon.cjs\",[[1,\"duet-icon\",{\"theme\":[1025],\"icon\":[1],\"src\":[1],\"name\":[1],\"margin\":[1],\"responsive\":[4],\"color\":[513],\"background\":[1],\"size\":[1],\"outline\":[1],\"svgContent\":[32]}]]],[\"duet-textarea.cjs\",[[2,\"duet-textarea\",{\"margin\":[1],\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleAutocomplete\":[1,\"accessible-autocomplete\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"theme\":[1025],\"expand\":[4],\"disabled\":[516],\"identifier\":[1],\"required\":[4],\"label\":[1],\"labelHidden\":[4,\"label-hidden\"],\"name\":[1],\"placeholder\":[1],\"caption\":[1],\"echoPlaceholder\":[4,\"echo-placeholder\"],\"maxlength\":[2],\"minlength\":[2],\"error\":[1],\"role\":[1],\"tooltip\":[1],\"tooltipDirection\":[1,\"tooltip-direction\"],\"value\":[1025],\"disallowPattern\":[1,\"disallow-pattern\"],\"counter\":[4],\"counterLabel\":[1,\"counter-label\"],\"setFocus\":[64]}]]],[\"duet-modal.cjs\",[[1,\"duet-modal\",{\"language\":[1025],\"accessibleCloseLabelDefaults\":[1,\"accessible-close-label-default\"],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"size\":[1],\"gutterSize\":[1,\"gutter-size\"],\"theme\":[1025],\"heading\":[1],\"headingLevel\":[1,\"heading-level\"],\"icon\":[1],\"color\":[1],\"active\":[1540],\"open\":[32],\"show\":[64],\"hide\":[64]},[[8,\"keyup\",\"handleKeyUp\"]]]]],[\"duet-cookie-consent.cjs\",[[1,\"duet-cookie-consent\",{\"accessibleLabel\":[1,\"accessible-label\"],\"theme\":[1025]}]]],[\"duet-step_2.cjs\",[[6,\"duet-step\",{\"theme\":[1025],\"heading\":[1],\"headingLevel\":[1,\"heading-level\"],\"stepIndex\":[2,\"step-index\"],\"state\":[1],\"roundedTop\":[4,\"rounded-top\"],\"roundedBottom\":[4,\"rounded-bottom\"],\"setFocus\":[64]}],[1,\"duet-stepper\",{\"theme\":[1025],\"accessibleLive\":[1,\"accessible-live\"],\"margin\":[1],\"backDisabled\":[4,\"back-disabled\"],\"selected\":[514]},[[0,\"duetStepClick\",\"onDuetStepClick\"]]]]],[\"duet-footer.cjs\",[[1,\"duet-footer\",{\"theme\":[1025],\"variation\":[1],\"margin\":[1],\"logoHref\":[1,\"logo-href\"],\"language\":[1025],\"items\":[8],\"accessibleLabelExternalDefaults\":[1,\"accessible-label-external-default\"],\"accessibleLabelExternal\":[1,\"accessible-label-external\"],\"menu\":[8],\"processedItems\":[32],\"processedMenu\":[32]}]]],[\"duet-tray.cjs\",[[1,\"duet-tray\",{\"language\":[1025],\"accessibleCloseLabelDefaults\":[1,\"accessible-close-label-default\"],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"accessibleOpenLabelDefaults\":[1,\"accessible-open-label-default\"],\"accessibleOpenLabel\":[1,\"accessible-open-label\"],\"theme\":[1025],\"active\":[516],\"autoHide\":[4,\"auto-hide\"],\"responsive\":[4],\"expanded\":[32],\"hiddenState\":[32]},[[9,\"scroll\",\"getFrame\"],[16,\"click\",\"handleBodyClick\"]]]]],[\"duet-collapsible.cjs\",[[1,\"duet-collapsible\",{\"theme\":[1025],\"heading\":[1],\"headingWeight\":[1,\"heading-weight\"],\"headingSize\":[1,\"heading-size\"],\"headingLevel\":[1,\"heading-level\"],\"margin\":[1],\"open\":[1540],\"setFocus\":[64]}]]],[\"duet-caption_4.cjs\",[[17,\"duet-link\",{\"accessibleLabel\":[1,\"accessible-label\"],\"language\":[1025],\"accessibleLabelExternalDefaults\":[1,\"accessible-label-external-default\"],\"accessibleLabelExternal\":[1,\"accessible-label-external\"],\"identifier\":[1],\"theme\":[1025],\"url\":[513],\"external\":[4],\"setFocus\":[64]}],[1,\"duet-heading\",{\"level\":[513],\"margin\":[1],\"visualLevel\":[1,\"visual-level\"],\"border\":[8],\"weight\":[1],\"color\":[1],\"theme\":[1025],\"hyphenate\":[4]}],[1,\"duet-paragraph\",{\"theme\":[1025],\"margin\":[1],\"size\":[1],\"weight\":[1],\"variation\":[1],\"color\":[1]}],[1,\"duet-caption\",{\"theme\":[1025],\"margin\":[1],\"selected\":[4],\"size\":[1]}]]],[\"duet-select.cjs\",[[2,\"duet-select\",{\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"margin\":[1],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"error\":[1],\"expand\":[4],\"value\":[1537],\"theme\":[1025],\"labelHidden\":[4,\"label-hidden\"],\"identifier\":[1],\"name\":[1],\"placeholder\":[1],\"caption\":[1],\"echoPlaceholder\":[4,\"echo-placeholder\"],\"items\":[1],\"disabled\":[516],\"required\":[4],\"label\":[1],\"role\":[1],\"tooltip\":[1],\"tooltipDirection\":[1,\"tooltip-direction\"],\"processedItems\":[32],\"setFocus\":[64]}]]],[\"duet-button_2.cjs\",[[1,\"duet-button\",{\"accessibleLabel\":[1,\"accessible-label\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"accessibleExpanded\":[4,\"accessible-expanded\"],\"accessiblePressed\":[4,\"accessible-pressed\"],\"loading\":[4],\"variation\":[1],\"negative\":[4],\"theme\":[1025],\"margin\":[1],\"padding\":[1],\"wrapping\":[1],\"expand\":[4],\"fixed\":[4],\"disabled\":[516],\"name\":[1],\"value\":[1],\"identifier\":[1],\"submit\":[516],\"external\":[4],\"language\":[1],\"accessibleLabelExternalDefaults\":[1,\"accessible-label-external-default\"],\"accessibleLabelExternal\":[1,\"accessible-label-external\"],\"icon\":[1],\"color\":[1],\"iconRight\":[4,\"icon-right\"],\"iconSize\":[1,\"icon-size\"],\"size\":[1],\"iconOnly\":[4,\"icon-only\"],\"url\":[513],\"setFocus\":[64]}],[1,\"duet-spinner\",{\"accessibleLabel\":[1,\"accessible-label\"],\"color\":[1],\"size\":[1],\"theme\":[1025]}]]],[\"duet-alert.cjs\",[[1,\"duet-alert\",{\"theme\":[1025],\"accessibleLabelDefaults\":[1,\"accessible-label-default\"],\"accessibleLabel\":[1,\"accessible-label\"],\"announcements\":[4],\"icon\":[1],\"autoDismiss\":[2,\"auto-dismiss\"],\"margin\":[1],\"padding\":[1],\"variation\":[1],\"dismissible\":[4],\"isDismissed\":[32],\"timeoutID\":[32]}]]],[\"duet-empty-state.cjs\",[[1,\"duet-empty-state\",{\"theme\":[1025],\"icon\":[1],\"size\":[1]}]]],[\"duet-notification_2.cjs\",[[1,\"duet-notification-drawer\",{\"icon\":[1],\"label\":[1],\"language\":[1],\"accessibleLabelNotificationsDefaults\":[1,\"accessible-label-notification-default\"],\"accessibleLabelNotifications\":[1,\"accessible-label-notifications\"],\"badge\":[4],\"theme\":[1025],\"direction\":[1],\"isOpen\":[32],\"hasNotifications\":[32],\"setFocus\":[64],\"open\":[64],\"close\":[64]},[[6,\"focus\",\"handleClickFocusOutside\"],[6,\"click\",\"handleClickFocusOutside\"]]],[1,\"duet-notification\",{\"language\":[1],\"accessibleLabelUnreadDefaults\":[16],\"accessibleLabelUnread\":[1,\"accessible-label-unread\"],\"url\":[1],\"date\":[1],\"highlight\":[4],\"external\":[4],\"theme\":[1025],\"setFocus\":[64]}]]],[\"duet-progress.cjs\",[[0,\"duet-progress\",{\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"accessibleLabel\":[1,\"accessible-label\"],\"accessibleLabelUploadDefaults\":[1,\"accessible-label-upload-defaults\"],\"accessibleLabelUpload\":[1,\"accessible-label-upload\"],\"progress\":[1538],\"caption\":[1],\"height\":[1],\"theme\":[1025]}]]],[\"duet-upload-aria-status.cjs\",[[1,\"duet-upload-aria-status\",{\"statusMessageLabel\":[16],\"accessibleAriaLive\":[1,\"accessible-aria-live\"],\"valid\":[2],\"total\":[2],\"invalid\":[2],\"inprogress\":[2],\"statusMessage\":[32]}]]],[\"duet-badge.cjs\",[[1,\"duet-badge\",{\"theme\":[1025],\"variation\":[1],\"margin\":[1]}]]],[\"duet-header_2.cjs\",[[1,\"duet-header\",{\"theme\":[1025],\"language\":[1025],\"accessibleI18nLabelsDefaults\":[1,\"accessible-labels-default\"],\"accessibleI18nLabels\":[16],\"accessibleLabelExternalDefaults\":[1,\"accessible-label-external-default\"],\"accessibleLabelExternal\":[1,\"accessible-label-external\"],\"accessibleLabelDefaults\":[1,\"accessible-label-default\"],\"accessibleLabel\":[1,\"accessible-label\"],\"user\":[8],\"logoHref\":[1,\"logo-href\"],\"currentHref\":[1025,\"current-href\"],\"skipToId\":[1,\"skip-to-id\"],\"items\":[8],\"region\":[1],\"session\":[8],\"back\":[8],\"contact\":[1],\"contactItems\":[8,\"contact-items\"],\"languageItems\":[8,\"language-items\"],\"isContactOpen\":[32],\"isLanguageOpen\":[32],\"isSlideOutOpen\":[32],\"processedItems\":[32],\"processedLanguageItems\":[32],\"processedContactItems\":[32],\"processedSession\":[32],\"processedUser\":[32],\"processedBack\":[32],\"closeMenus\":[64],\"setFocus\":[64]},[[8,\"keyup\",\"handleKeyUp\"],[8,\"keydown\",\"handleKeyDown\"],[4,\"focus\",\"handleDocumentClick\"],[4,\"click\",\"handleDocumentClick\"]]],[1,\"duet-logo\",{\"theme\":[1025],\"margin\":[1],\"inverse\":[4],\"size\":[1],\"href\":[1537],\"language\":[1537],\"setFocus\":[64]}]]],[\"duet-grid_2.cjs\",[[2,\"duet-grid\",{\"responsive\":[4],\"breakpoint\":[1],\"direction\":[1],\"alignment\":[1],\"distribution\":[1],\"mobile\":[1],\"distributeFormElement\":[32]}],[2,\"duet-grid-item\",{\"fill\":[4],\"maxWidth\":[1,\"max-width\"],\"minWidth\":[1,\"min-width\"],\"theme\":[1025],\"margin\":[1],\"responsive\":[4],\"breakpoint\":[1]}]]],[\"duet-list_2.cjs\",[[1,\"duet-list\",{\"theme\":[1025],\"margin\":[1],\"padding\":[1],\"mobile\":[1],\"breakpoint\":[1],\"variation\":[1],\"labelWidth\":[1,\"label-width\"]}],[1,\"duet-list-item\"]]],[\"duet-editable-table-button.cjs\",[[2,\"duet-editable-table-button\",{\"theme\":[1025],\"actions\":[16],\"uid\":[1],\"group\":[1],\"keyName\":[1,\"key-name\"],\"isHovering\":[32]}]]],[\"duet-fieldset.cjs\",[[1,\"duet-fieldset\",{\"theme\":[1025],\"margin\":[1],\"caption\":[1],\"label\":[1],\"error\":[1],\"labelHidden\":[4,\"label-hidden\"],\"hasTooltip\":[32]}]]],[\"duet-editable-table_4.cjs\",[[1,\"duet-upload\",{\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"external\":[4],\"hideButton\":[4,\"hide-upload-button\"],\"actions\":[1],\"uri\":[1],\"showLinks\":[4,\"show-links\"],\"caption\":[1],\"statusLabelDefaults\":[1,\"status-label-default\"],\"statusMessageLabel\":[1,\"status-message-label\"],\"buttonLabelDefaults\":[1,\"button-label-default\"],\"buttonLabel\":[1,\"button-label\"],\"accessibleButtonLabel\":[1,\"accessible-button-label\"],\"theme\":[1025],\"disabled\":[516],\"identifier\":[1],\"margin\":[1],\"required\":[4],\"groups\":[1],\"hideGroups\":[4,\"hide-table-labels\"],\"files\":[1040],\"valid\":[1540],\"labelDefaults\":[1,\"label-default\"],\"label\":[1],\"descriptionDefaults\":[1,\"description-default\"],\"description\":[1],\"fileListEmptyDefaults\":[1,\"list-empty-default\"],\"fileListEmpty\":[1,\"file-list-empty\"],\"error\":[1],\"name\":[1],\"maxBytes\":[2,\"max-bytes\"],\"maxBytesTotal\":[2,\"max-bytes-total\"],\"maxFiles\":[2,\"max-files\"],\"allowedExtensions\":[1,\"allowed-extensions\"],\"allowedMimetypes\":[1,\"allowed-mimetypes\"],\"multiple\":[4],\"limitSelection\":[4,\"limit-selection\"],\"value\":[1025],\"tick\":[32],\"setFocus\":[64],\"upload\":[64],\"getFiles\":[64],\"updateValue\":[64]}],[1,\"duet-editable-table\",{\"items\":[1040],\"groupsLabelDefaults\":[16],\"actionLabelDefaults\":[16],\"groups\":[1],\"actions\":[1],\"hideGroups\":[4,\"hide-table-labels\"],\"accessibleRole\":[1,\"accessible-role\"],\"theme\":[1025],\"tick\":[32],\"updateTable\":[64]}],[1,\"duet-editable-table-item\",{\"theme\":[1025],\"actions\":[16],\"groupId\":[1,\"group-id\"],\"keyName\":[1,\"key-name\"],\"data\":[1040],\"isHovering\":[32]}],[4,\"duet-table\",{\"theme\":[1025],\"margin\":[1],\"variation\":[1],\"sticky\":[4],\"stickyDistance\":[1,\"sticky-distance\"],\"breakpoint\":[1],\"matchesBreakpoint\":[32]}]]],[\"duet-tooltip.cjs\",[[1,\"duet-tooltip\",{\"theme\":[1025],\"language\":[1025],\"accessibleLabelDefault\":[1,\"accessible-label-default\"],\"accessibleLabel\":[1,\"accessible-label\"],\"accessibleInputLabel\":[1,\"accessible-input-label\"],\"accessibleCloseLabelDefault\":[1,\"accessible-close-label-default\"],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"label\":[1],\"breakpoint\":[1],\"direction\":[1],\"positionVertical\":[513,\"position-vertical\"],\"positionHorizontal\":[513,\"position-horizontal\"],\"active\":[1540],\"openDown\":[32]},[[9,\"scroll\",\"onScroll\"],[4,\"click\",\"handleDocumentClick\"]]]]],[\"duet-input_2.cjs\",[[6,\"duet-input\",{\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleAutocomplete\":[1,\"accessible-autocomplete\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"debounce\":[2],\"caption\":[1],\"echoPlaceholder\":[4,\"echo-placeholder\"],\"theme\":[1025],\"expand\":[4],\"disabled\":[516],\"identifier\":[1],\"margin\":[1],\"required\":[4],\"type\":[1],\"label\":[1],\"error\":[1],\"labelHidden\":[4,\"label-hidden\"],\"numericKeyboard\":[4,\"numeric-keyboard\"],\"name\":[1],\"pattern\":[1],\"maxlength\":[2],\"minlength\":[2],\"placeholder\":[1],\"component\":[1],\"role\":[1],\"icon\":[1],\"autoComplete\":[1,\"auto-complete\"],\"disallowPattern\":[1,\"disallow-pattern\"],\"value\":[1025],\"tooltip\":[1],\"tooltipDirection\":[1,\"tooltip-direction\"],\"setFocus\":[64]}],[6,\"duet-label\",{\"theme\":[1025],\"for\":[1],\"margin\":[1],\"size\":[1]}]]]]"), options);
|
|
22
|
+
return index.bootstrapLazy(JSON.parse("[[\"duet-choice_2.cjs\",[[6,\"duet-choice-group\",{\"direction\":[1],\"margin\":[1],\"theme\":[1025],\"error\":[1],\"name\":[1],\"label\":[1],\"labelHidden\":[4,\"label-hidden\"],\"caption\":[1],\"tooltip\":[1],\"tooltipDirection\":[1,\"tooltip-direction\"],\"responsive\":[4],\"value\":[1537],\"disabled\":[4]}],[6,\"duet-choice\",{\"theme\":[1025],\"label\":[1],\"accessibleLabelInfoButtonDefaults\":[1,\"accessible-label-info-default\"],\"accessibleLabelInfoButton\":[1,\"accessible-label-info-button\"],\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"caption\":[1],\"value\":[1537],\"type\":[513],\"name\":[1],\"checked\":[1540],\"collapsible\":[4],\"margin\":[1],\"icon\":[1],\"expand\":[4],\"padding\":[1],\"identifier\":[1],\"groupDirection\":[1,\"group-direction\"],\"groupDisabled\":[4,\"group-disabled\"],\"groupResponsive\":[4,\"group-responsive\"],\"disabled\":[516],\"required\":[4],\"infoLabelDefaults\":[1,\"accessible-label-info-default\"],\"infoLabel\":[1,\"info-label\"],\"isHovering\":[32],\"isInfoOpen\":[32],\"isBlurred\":[32],\"setFocus\":[64]},[[2,\"blur\",\"handleHostBlur\"],[2,\"keydown\",\"handleHostKeyDown\"],[2,\"keyup\",\"handleHostKeyUp\"]]]]],[\"duet-hero.cjs\",[[1,\"duet-hero\",{\"theme\":[1025],\"heading\":[1],\"preHeading\":[1,\"pre-heading\"],\"level\":[1],\"description\":[1],\"icon\":[1],\"iconSize\":[1,\"icon-size\"],\"iconRight\":[4,\"icon-right\"],\"categoryIcon\":[1,\"category-icon\"],\"categoryIconColor\":[1,\"category-icon-color\"],\"buttonLabel\":[1,\"button-label\"],\"language\":[1025],\"accessibleLabelExternalDefaults\":[1,\"accessible-label-external-default\"],\"accessibleLabelExternal\":[1,\"accessible-label-external\"],\"buttonUrl\":[1,\"button-url\"],\"buttonId\":[1,\"button-id\"],\"buttonData\":[16],\"textCenter\":[4,\"text-center\"],\"leftAlign\":[4,\"left-align\"],\"image\":[1],\"variation\":[1],\"back\":[8],\"listItems\":[8,\"list-items\"],\"actions\":[8],\"processedListItems\":[32],\"processedActions\":[32],\"processedBack\":[32]}]]],[\"duet-tab_2.cjs\",[[6,\"duet-tab-group\",{\"theme\":[1025],\"variation\":[1],\"language\":[1025],\"labelDefaults\":[1,\"label-default\"],\"label\":[1],\"labelHidden\":[4,\"label-hidden\"],\"margin\":[1],\"padding\":[1],\"tabs\":[32],\"selected\":[32],\"openTab\":[64],\"refresh\":[64]}],[6,\"duet-tab\",{\"label\":[513],\"selected\":[516]}]]],[\"duet-date-picker.cjs\",[[2,\"duet-date-picker\",{\"theme\":[1025],\"expand\":[4],\"name\":[1],\"identifier\":[1],\"label\":[1],\"caption\":[1],\"margin\":[1],\"language\":[1],\"placeholderDefaults\":[1,\"placeholder-default\"],\"placeholder\":[1],\"echoPlaceholder\":[1540,\"echo-placeholder\"],\"disabled\":[516],\"error\":[1],\"labelHidden\":[4,\"label-hidden\"],\"role\":[1],\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"required\":[4],\"direction\":[1],\"tooltip\":[1],\"tooltipDirection\":[1,\"tooltip-direction\"],\"value\":[1537],\"min\":[1],\"max\":[1],\"validity\":[1040],\"open\":[32],\"focusedDay\":[32],\"inputValue\":[32],\"setFocus\":[64],\"show\":[64],\"hide\":[64]},[[4,\"click\",\"handleDocumentClick\"]]]]],[\"duet-number-input.cjs\",[[2,\"duet-number-input\",{\"language\":[1025],\"locale\":[1],\"unit\":[1],\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"accessibleLiveDefaults\":[1,\"accessible-live-default\"],\"accessibleLive\":[1,\"accessible-live\"],\"accessibleLiveEnabled\":[4,\"accessible-live-enabled\"],\"accessibleAddDefaults\":[1,\"accessible-add-default\"],\"accessibleAdd\":[1,\"accessible-add\"],\"accessibleSubtractDefaults\":[1,\"accessible-subtract-defaults\"],\"accessibleSubtract\":[1,\"accessible-subtract\"],\"theme\":[1025],\"margin\":[1],\"expand\":[4],\"identifier\":[1],\"min\":[2],\"labelDefaults\":[1,\"label-default\"],\"label\":[1],\"labelHidden\":[4,\"label-hidden\"],\"max\":[2],\"name\":[1],\"error\":[1],\"tooltip\":[1],\"step\":[2],\"rounding\":[4],\"role\":[1],\"disabled\":[516],\"required\":[4],\"value\":[1025],\"focusedValue\":[32],\"setFocus\":[64]}]]],[\"duet-radio_2.cjs\",[[6,\"duet-radio-group\",{\"direction\":[1],\"margin\":[1],\"theme\":[1025],\"error\":[1],\"tooltip\":[1],\"tooltipDirection\":[1,\"tooltip-direction\"],\"name\":[1],\"label\":[1],\"labelHidden\":[4,\"label-hidden\"],\"caption\":[1],\"responsive\":[4],\"value\":[1537],\"disabled\":[4]}],[2,\"duet-radio\",{\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleIndex\":[1,\"accessible-index\"],\"margin\":[1],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"theme\":[1025],\"disabled\":[516],\"required\":[4],\"blockEvents\":[4,\"block-events\"],\"identifier\":[1],\"label\":[1],\"name\":[1],\"role\":[1],\"groupDisabled\":[4,\"group-disabled\"],\"groupDirection\":[1,\"group-direction\"],\"groupResponsive\":[4,\"group-responsive\"],\"checked\":[1540],\"value\":[1537],\"setFocus\":[64]}]]],[\"duet-card.cjs\",[[1,\"duet-card\",{\"accessibleLabel\":[1,\"accessible-label\"],\"heading\":[1],\"secondaryHeading\":[1,\"secondary-heading\"],\"variation\":[1],\"collapsible\":[4],\"open\":[1540],\"headingLevel\":[1,\"heading-level\"],\"icon\":[1],\"image\":[1],\"background\":[1],\"padding\":[1],\"margin\":[1],\"theme\":[1025],\"url\":[1],\"setFocus\":[64]}]]],[\"duet-range-slider.cjs\",[[2,\"duet-range-slider\",{\"theme\":[1025],\"margin\":[1],\"expand\":[4],\"identifier\":[1],\"name\":[1],\"required\":[4],\"disabled\":[516],\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"min\":[2],\"label\":[1],\"labelHidden\":[4,\"label-hidden\"],\"unit\":[1],\"max\":[2],\"step\":[2],\"locale\":[1],\"value\":[1026],\"debounce\":[2],\"setFocus\":[64]}]]],[\"duet-toggle.cjs\",[[2,\"duet-toggle\",{\"theme\":[1025],\"margin\":[1],\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"label\":[1],\"required\":[4],\"disabled\":[516],\"checked\":[1540],\"value\":[1537],\"identifier\":[1],\"name\":[1],\"role\":[1],\"setFocus\":[64]}]]],[\"duet-checkbox.cjs\",[[2,\"duet-checkbox\",{\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"margin\":[1],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleIndex\":[1,\"accessible-index\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"required\":[4],\"theme\":[1025],\"disabled\":[516],\"identifier\":[1],\"label\":[1],\"labelHidden\":[4,\"label-hidden\"],\"name\":[1],\"role\":[1],\"checked\":[1540],\"value\":[1537],\"setFocus\":[64]}]]],[\"duet-layout.cjs\",[[1,\"duet-layout\",{\"sticky\":[4],\"margin\":[1],\"stickyDistance\":[1,\"sticky-distance\"],\"center\":[4],\"tabs\":[4],\"middle\":[4]}]]],[\"duet-divider_2.cjs\",[[1,\"duet-divider\",{\"theme\":[1025],\"margin\":[1]}],[1,\"duet-spacer\",{\"size\":[1],\"direction\":[1],\"breakpoint\":[1]}]]],[\"duet-visually-hidden.cjs\",[[1,\"duet-visually-hidden\"]]],[\"duet-icon.cjs\",[[1,\"duet-icon\",{\"theme\":[1025],\"icon\":[1],\"src\":[1],\"name\":[1],\"margin\":[1],\"responsive\":[4],\"color\":[513],\"background\":[1],\"size\":[1],\"outline\":[1],\"svgContent\":[32]}]]],[\"duet-textarea.cjs\",[[2,\"duet-textarea\",{\"margin\":[1],\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleAutocomplete\":[1,\"accessible-autocomplete\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"theme\":[1025],\"expand\":[4],\"disabled\":[516],\"identifier\":[1],\"required\":[4],\"label\":[1],\"labelHidden\":[4,\"label-hidden\"],\"name\":[1],\"placeholder\":[1],\"caption\":[1],\"echoPlaceholder\":[4,\"echo-placeholder\"],\"maxlength\":[2],\"minlength\":[2],\"error\":[1],\"role\":[1],\"tooltip\":[1],\"tooltipDirection\":[1,\"tooltip-direction\"],\"value\":[1025],\"disallowPattern\":[1,\"disallow-pattern\"],\"counter\":[4],\"counterLabel\":[1,\"counter-label\"],\"setFocus\":[64]}]]],[\"duet-modal.cjs\",[[1,\"duet-modal\",{\"language\":[1025],\"accessibleCloseLabelDefaults\":[1,\"accessible-close-label-default\"],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"size\":[1],\"gutterSize\":[1,\"gutter-size\"],\"theme\":[1025],\"heading\":[1],\"headingLevel\":[1,\"heading-level\"],\"icon\":[1],\"color\":[1],\"active\":[1540],\"open\":[32],\"show\":[64],\"hide\":[64]},[[8,\"keyup\",\"handleKeyUp\"]]]]],[\"duet-cookie-consent.cjs\",[[1,\"duet-cookie-consent\",{\"accessibleLabel\":[1,\"accessible-label\"],\"theme\":[1025]}]]],[\"duet-step_2.cjs\",[[6,\"duet-step\",{\"theme\":[1025],\"heading\":[1],\"headingLevel\":[1,\"heading-level\"],\"stepIndex\":[2,\"step-index\"],\"state\":[1],\"roundedTop\":[4,\"rounded-top\"],\"roundedBottom\":[4,\"rounded-bottom\"],\"setFocus\":[64]}],[1,\"duet-stepper\",{\"theme\":[1025],\"accessibleLive\":[1,\"accessible-live\"],\"margin\":[1],\"backDisabled\":[4,\"back-disabled\"],\"selected\":[514]},[[0,\"duetStepClick\",\"onDuetStepClick\"]]]]],[\"duet-footer.cjs\",[[1,\"duet-footer\",{\"theme\":[1025],\"variation\":[1],\"margin\":[1],\"logoHref\":[1,\"logo-href\"],\"language\":[1025],\"items\":[8],\"accessibleLabelExternalDefaults\":[1,\"accessible-label-external-default\"],\"accessibleLabelExternal\":[1,\"accessible-label-external\"],\"menu\":[8],\"processedItems\":[32],\"processedMenu\":[32]}]]],[\"duet-tray.cjs\",[[1,\"duet-tray\",{\"language\":[1025],\"accessibleCloseLabelDefaults\":[1,\"accessible-close-label-default\"],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"accessibleOpenLabelDefaults\":[1,\"accessible-open-label-default\"],\"accessibleOpenLabel\":[1,\"accessible-open-label\"],\"theme\":[1025],\"active\":[516],\"autoHide\":[4,\"auto-hide\"],\"responsive\":[4],\"expanded\":[32],\"hiddenState\":[32]},[[9,\"scroll\",\"getFrame\"],[16,\"click\",\"handleBodyClick\"]]]]],[\"duet-collapsible.cjs\",[[1,\"duet-collapsible\",{\"theme\":[1025],\"heading\":[1],\"headingWeight\":[1,\"heading-weight\"],\"headingSize\":[1,\"heading-size\"],\"headingLevel\":[1,\"heading-level\"],\"margin\":[1],\"open\":[1540],\"setFocus\":[64]}]]],[\"duet-caption_4.cjs\",[[17,\"duet-link\",{\"accessibleLabel\":[1,\"accessible-label\"],\"language\":[1025],\"accessibleLabelExternalDefaults\":[1,\"accessible-label-external-default\"],\"accessibleLabelExternal\":[1,\"accessible-label-external\"],\"identifier\":[1],\"theme\":[1025],\"url\":[513],\"external\":[4],\"setFocus\":[64]}],[1,\"duet-heading\",{\"level\":[513],\"margin\":[1],\"visualLevel\":[1,\"visual-level\"],\"border\":[8],\"weight\":[1],\"color\":[1],\"theme\":[1025],\"hyphenate\":[4]}],[1,\"duet-paragraph\",{\"theme\":[1025],\"margin\":[1],\"size\":[1],\"weight\":[1],\"variation\":[1],\"color\":[1]}],[1,\"duet-caption\",{\"theme\":[1025],\"margin\":[1],\"selected\":[4],\"size\":[1]}]]],[\"duet-select.cjs\",[[2,\"duet-select\",{\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"margin\":[1],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"error\":[1],\"expand\":[4],\"value\":[1537],\"theme\":[1025],\"labelHidden\":[4,\"label-hidden\"],\"identifier\":[1],\"name\":[1],\"placeholder\":[1],\"caption\":[1],\"echoPlaceholder\":[4,\"echo-placeholder\"],\"items\":[1],\"disabled\":[516],\"required\":[4],\"label\":[1],\"role\":[1],\"tooltip\":[1],\"tooltipDirection\":[1,\"tooltip-direction\"],\"processedItems\":[32],\"setFocus\":[64]}]]],[\"duet-button_2.cjs\",[[1,\"duet-button\",{\"accessibleLabel\":[1,\"accessible-label\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"accessibleExpanded\":[4,\"accessible-expanded\"],\"accessiblePressed\":[4,\"accessible-pressed\"],\"loading\":[4],\"variation\":[1],\"negative\":[4],\"theme\":[1025],\"margin\":[1],\"padding\":[1],\"wrapping\":[1],\"expand\":[4],\"fixed\":[4],\"disabled\":[516],\"name\":[1],\"value\":[1],\"identifier\":[1],\"submit\":[516],\"external\":[4],\"language\":[1],\"accessibleLabelExternalDefaults\":[1,\"accessible-label-external-default\"],\"accessibleLabelExternal\":[1,\"accessible-label-external\"],\"icon\":[1],\"color\":[1],\"iconRight\":[4,\"icon-right\"],\"iconSize\":[1,\"icon-size\"],\"size\":[1],\"iconOnly\":[4,\"icon-only\"],\"url\":[513],\"setFocus\":[64]}],[1,\"duet-spinner\",{\"accessibleLabel\":[1,\"accessible-label\"],\"color\":[1],\"size\":[1],\"theme\":[1025]}]]],[\"duet-alert.cjs\",[[1,\"duet-alert\",{\"theme\":[1025],\"accessibleLabelDefaults\":[1,\"accessible-label-default\"],\"accessibleLabel\":[1,\"accessible-label\"],\"announcements\":[4],\"icon\":[1],\"autoDismiss\":[2,\"auto-dismiss\"],\"margin\":[1],\"padding\":[1],\"variation\":[1],\"dismissible\":[4],\"isDismissed\":[32],\"timeoutID\":[32]}]]],[\"duet-empty-state.cjs\",[[1,\"duet-empty-state\",{\"theme\":[1025],\"icon\":[1],\"size\":[1]}]]],[\"duet-notification_2.cjs\",[[1,\"duet-notification-drawer\",{\"icon\":[1],\"label\":[1],\"language\":[1],\"accessibleLabelNotificationsDefaults\":[1,\"accessible-label-notification-default\"],\"accessibleLabelNotifications\":[1,\"accessible-label-notifications\"],\"badge\":[4],\"theme\":[1025],\"direction\":[1],\"isOpen\":[32],\"hasNotifications\":[32],\"setFocus\":[64],\"open\":[64],\"close\":[64]},[[6,\"focus\",\"handleClickFocusOutside\"],[6,\"click\",\"handleClickFocusOutside\"]]],[1,\"duet-notification\",{\"language\":[1],\"accessibleLabelUnreadDefaults\":[16],\"accessibleLabelUnread\":[1,\"accessible-label-unread\"],\"url\":[1],\"date\":[1],\"highlight\":[4],\"external\":[4],\"theme\":[1025],\"setFocus\":[64]}]]],[\"duet-progress.cjs\",[[0,\"duet-progress\",{\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"accessibleLabel\":[1,\"accessible-label\"],\"accessibleLabelUploadDefaults\":[1,\"accessible-label-upload-defaults\"],\"accessibleLabelUpload\":[1,\"accessible-label-upload\"],\"progress\":[1538],\"caption\":[1],\"height\":[1],\"theme\":[1025]}]]],[\"duet-upload-aria-status.cjs\",[[1,\"duet-upload-aria-status\",{\"statusMessageLabel\":[16],\"accessibleAriaLive\":[1,\"accessible-aria-live\"],\"valid\":[2],\"total\":[2],\"invalid\":[2],\"inprogress\":[2],\"statusMessage\":[32]}]]],[\"duet-badge.cjs\",[[1,\"duet-badge\",{\"theme\":[1025],\"variation\":[1],\"margin\":[1]}]]],[\"duet-header_2.cjs\",[[1,\"duet-header\",{\"theme\":[1025],\"language\":[1025],\"accessibleI18nLabelsDefaults\":[1,\"accessible-labels-default\"],\"accessibleI18nLabels\":[16],\"accessibleLabelExternalDefaults\":[1,\"accessible-label-external-default\"],\"accessibleLabelExternal\":[1,\"accessible-label-external\"],\"accessibleLabelDefaults\":[1,\"accessible-label-default\"],\"accessibleLabel\":[1,\"accessible-label\"],\"user\":[8],\"logoHref\":[1,\"logo-href\"],\"currentHref\":[1025,\"current-href\"],\"skipToId\":[1,\"skip-to-id\"],\"items\":[8],\"region\":[1],\"session\":[8],\"search\":[8],\"back\":[8],\"contact\":[1],\"contactItems\":[8,\"contact-items\"],\"languageItems\":[8,\"language-items\"],\"isContactOpen\":[32],\"isLanguageOpen\":[32],\"isSlideOutOpen\":[32],\"isSegmentOpen\":[32],\"openMenu\":[32],\"closedActives\":[32],\"processedItems\":[32],\"processedLanguageItems\":[32],\"processedContactItems\":[32],\"processedSession\":[32],\"processedSearch\":[32],\"processedUser\":[32],\"processedBack\":[32],\"renderDesktopNav\":[32],\"closeMenus\":[64],\"setFocus\":[64]},[[8,\"keyup\",\"handleKeyUp\"],[8,\"keydown\",\"handleKeyDown\"],[4,\"focus\",\"handleDocumentClick\"],[4,\"click\",\"handleDocumentClick\"]]],[1,\"duet-logo\",{\"theme\":[1025],\"margin\":[1],\"inverse\":[4],\"size\":[1],\"href\":[1537],\"language\":[1537],\"setFocus\":[64]}]]],[\"duet-grid_2.cjs\",[[2,\"duet-grid\",{\"responsive\":[4],\"breakpoint\":[1],\"direction\":[1],\"alignment\":[1],\"distribution\":[1],\"mobile\":[1],\"distributeFormElement\":[32]}],[2,\"duet-grid-item\",{\"fill\":[4],\"maxWidth\":[1,\"max-width\"],\"minWidth\":[1,\"min-width\"],\"theme\":[1025],\"margin\":[1],\"responsive\":[4],\"breakpoint\":[1]}]]],[\"duet-list_2.cjs\",[[1,\"duet-list\",{\"theme\":[1025],\"margin\":[1],\"padding\":[1],\"mobile\":[1],\"breakpoint\":[1],\"variation\":[1],\"labelWidth\":[1,\"label-width\"]}],[1,\"duet-list-item\"]]],[\"duet-editable-table-button.cjs\",[[2,\"duet-editable-table-button\",{\"theme\":[1025],\"actions\":[16],\"uid\":[1],\"group\":[1],\"keyName\":[1,\"key-name\"],\"isHovering\":[32]}]]],[\"duet-fieldset.cjs\",[[1,\"duet-fieldset\",{\"theme\":[1025],\"margin\":[1],\"caption\":[1],\"label\":[1],\"error\":[1],\"labelHidden\":[4,\"label-hidden\"],\"hasTooltip\":[32]}]]],[\"duet-editable-table_4.cjs\",[[1,\"duet-upload\",{\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"external\":[4],\"hideButton\":[4,\"hide-upload-button\"],\"actions\":[1],\"uri\":[1],\"showLinks\":[4,\"show-links\"],\"caption\":[1],\"statusLabelDefaults\":[1,\"status-label-default\"],\"statusMessageLabel\":[1,\"status-message-label\"],\"buttonLabelDefaults\":[1,\"button-label-default\"],\"buttonLabel\":[1,\"button-label\"],\"accessibleButtonLabel\":[1,\"accessible-button-label\"],\"theme\":[1025],\"disabled\":[516],\"identifier\":[1],\"margin\":[1],\"required\":[4],\"groups\":[1],\"alignment\":[1],\"hideGroups\":[4,\"hide-table-labels\"],\"files\":[1040],\"valid\":[1540],\"labelDefaults\":[1,\"label-default\"],\"label\":[1],\"descriptionDefaults\":[1,\"description-default\"],\"description\":[1],\"fileListEmptyDefaults\":[1,\"list-empty-default\"],\"fileListEmpty\":[1,\"file-list-empty\"],\"error\":[1],\"name\":[1],\"maxBytes\":[2,\"max-bytes\"],\"maxBytesTotal\":[2,\"max-bytes-total\"],\"maxFiles\":[2,\"max-files\"],\"allowedExtensions\":[1,\"allowed-extensions\"],\"allowedMimetypes\":[1,\"allowed-mimetypes\"],\"multiple\":[4],\"limitSelection\":[4,\"limit-selection\"],\"value\":[1025],\"tick\":[32],\"setFocus\":[64],\"upload\":[64],\"getFiles\":[64],\"updateValue\":[64]}],[1,\"duet-editable-table\",{\"items\":[1040],\"alignment\":[1],\"groupsLabelDefaults\":[16],\"actionLabelDefaults\":[16],\"groups\":[1],\"actions\":[1],\"hideGroups\":[4,\"hide-table-labels\"],\"accessibleRole\":[1,\"accessible-role\"],\"theme\":[1025],\"tick\":[32],\"updateTable\":[64]}],[1,\"duet-editable-table-item\",{\"theme\":[1025],\"actions\":[16],\"groupId\":[1,\"group-id\"],\"alignment\":[1],\"keyName\":[1,\"key-name\"],\"data\":[1040],\"isHovering\":[32]}],[4,\"duet-table\",{\"theme\":[1025],\"margin\":[1],\"variation\":[1],\"sticky\":[4],\"stickyDistance\":[1,\"sticky-distance\"],\"breakpoint\":[1],\"matchesBreakpoint\":[32]}]]],[\"duet-tooltip.cjs\",[[1,\"duet-tooltip\",{\"theme\":[1025],\"language\":[1025],\"accessibleLabelDefault\":[1,\"accessible-label-default\"],\"accessibleLabel\":[1,\"accessible-label\"],\"accessibleInputLabel\":[1,\"accessible-input-label\"],\"accessibleCloseLabelDefault\":[1,\"accessible-close-label-default\"],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"label\":[1],\"breakpoint\":[1],\"direction\":[1],\"positionVertical\":[513,\"position-vertical\"],\"positionHorizontal\":[513,\"position-horizontal\"],\"active\":[1540],\"openDown\":[32]},[[9,\"scroll\",\"onScroll\"],[4,\"click\",\"handleDocumentClick\"]]]]],[\"duet-input_2.cjs\",[[6,\"duet-input\",{\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleAutocomplete\":[1,\"accessible-autocomplete\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"debounce\":[2],\"caption\":[1],\"echoPlaceholder\":[4,\"echo-placeholder\"],\"theme\":[1025],\"expand\":[4],\"disabled\":[516],\"identifier\":[1],\"margin\":[1],\"required\":[4],\"type\":[1],\"label\":[1],\"error\":[1],\"labelHidden\":[4,\"label-hidden\"],\"numericKeyboard\":[4,\"numeric-keyboard\"],\"name\":[1],\"pattern\":[1],\"maxlength\":[2],\"minlength\":[2],\"placeholder\":[1],\"component\":[1],\"role\":[1],\"icon\":[1],\"autoComplete\":[1,\"auto-complete\"],\"disallowPattern\":[1,\"disallow-pattern\"],\"value\":[1025],\"tooltip\":[1],\"tooltipDirection\":[1,\"tooltip-direction\"],\"setFocus\":[64]}],[6,\"duet-label\",{\"theme\":[1025],\"for\":[1],\"margin\":[1],\"size\":[1]}]]]]"), options);
|
|
23
23
|
});
|
|
24
24
|
};
|
|
25
25
|
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
'use strict';
|
|
5
|
+
|
|
6
|
+
const tokens_module = require('./tokens.module-6b2df1c2.js');
|
|
7
|
+
|
|
8
|
+
const allowedThemes = ["turva"];
|
|
9
|
+
function isDashCase(str) {
|
|
10
|
+
const dash = str.includes("-");
|
|
11
|
+
const barredString = str.includes(" ") || str.includes("_");
|
|
12
|
+
const barredStartingString = str.charAt(0) === "-";
|
|
13
|
+
return dash && !barredString && !barredStartingString;
|
|
14
|
+
}
|
|
15
|
+
function capitalize(str = "") {
|
|
16
|
+
return `${str.charAt(0).toUpperCase()}${str.slice(1)}`;
|
|
17
|
+
}
|
|
18
|
+
function lowerCaseFirst(str = "") {
|
|
19
|
+
return `${str.charAt(0).toLowerCase()}${str.slice(1)}`;
|
|
20
|
+
}
|
|
21
|
+
function camelize(str = "") {
|
|
22
|
+
const arr = str.split("-");
|
|
23
|
+
//loop through each element of the array and capitalize the first letter.'
|
|
24
|
+
arr.forEach((string, index) => {
|
|
25
|
+
arr[index] = capitalize(string);
|
|
26
|
+
});
|
|
27
|
+
return arr.join("");
|
|
28
|
+
}
|
|
29
|
+
function getTheme(theme = "") {
|
|
30
|
+
if (allowedThemes.includes(theme.toLowerCase())) {
|
|
31
|
+
return theme.toLowerCase();
|
|
32
|
+
}
|
|
33
|
+
return "";
|
|
34
|
+
}
|
|
35
|
+
function hasColor(str = "") {
|
|
36
|
+
return str.indexOf("Color") === 0 || str.indexOf("color") === 0;
|
|
37
|
+
}
|
|
38
|
+
function addColor(str = "") {
|
|
39
|
+
if (str && !isDashCase(str) && !hasColor(str)) {
|
|
40
|
+
return `color${capitalize(str)}`;
|
|
41
|
+
}
|
|
42
|
+
return str;
|
|
43
|
+
}
|
|
44
|
+
function addTheme(str, theme) {
|
|
45
|
+
const hasTheme = getTheme(theme).length;
|
|
46
|
+
if (hasTheme && str.indexOf(theme) === -1) {
|
|
47
|
+
return `${str}${capitalize(theme)}`;
|
|
48
|
+
}
|
|
49
|
+
return str;
|
|
50
|
+
}
|
|
51
|
+
function getColorByName(name, theme = "") {
|
|
52
|
+
if (!name) {
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
const defaultColor = convertToColorName(name);
|
|
56
|
+
const themedColor = convertToColorName(name, theme);
|
|
57
|
+
// lets just try to get the color first to save some cycles
|
|
58
|
+
let resolvedToken = tokens_module.tokens[themedColor];
|
|
59
|
+
if (!resolvedToken) {
|
|
60
|
+
resolvedToken = tokens_module.tokens[defaultColor];
|
|
61
|
+
}
|
|
62
|
+
return resolvedToken;
|
|
63
|
+
}
|
|
64
|
+
function convertToColorName(name = "", theme = "") {
|
|
65
|
+
let colorResolution = name;
|
|
66
|
+
const dash = isDashCase(name);
|
|
67
|
+
if (dash) {
|
|
68
|
+
colorResolution = camelize(colorResolution);
|
|
69
|
+
}
|
|
70
|
+
colorResolution = addColor(colorResolution);
|
|
71
|
+
colorResolution = addTheme(colorResolution, theme);
|
|
72
|
+
// takes care of the case where colorPrimaryDark ends up with ColorPrimaryDark
|
|
73
|
+
colorResolution = lowerCaseFirst(colorResolution);
|
|
74
|
+
return colorResolution;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
exports.getColorByName = getColorByName;
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"./components/duet-empty-state/duet-empty-state.js",
|
|
18
18
|
"./components/duet-footer/duet-footer.js",
|
|
19
19
|
"./components/duet-grid/duet-grid.js",
|
|
20
|
+
"./components/duet-icon/duet-icon.js",
|
|
20
21
|
"./components/duet-header/duet-header.js",
|
|
21
22
|
"./components/duet-heading/duet-heading.js",
|
|
22
23
|
"./components/duet-hero/duet-hero.js",
|
|
23
|
-
"./components/duet-icon/duet-icon.js",
|
|
24
24
|
"./components/duet-label/duet-label.js",
|
|
25
25
|
"./components/duet-layout/duet-layout.js",
|
|
26
26
|
"./components/duet-list/duet-list.js",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
],
|
|
59
59
|
"compiler": {
|
|
60
60
|
"name": "@stencil/core",
|
|
61
|
-
"version": "2.
|
|
61
|
+
"version": "2.12.1",
|
|
62
62
|
"typescriptVersion": "4.3.5"
|
|
63
63
|
},
|
|
64
64
|
"collections": [],
|
|
@@ -8,6 +8,9 @@ import { createID } from "../../utils/create-id";
|
|
|
8
8
|
import { isKeyboardClick } from "../../utils/keyboard-utils";
|
|
9
9
|
import { sanitizeString } from "../../utils/string-utils";
|
|
10
10
|
import { inheritGlobalTheme } from "../../utils/themeable-component";
|
|
11
|
+
/**
|
|
12
|
+
* @part duet-collapsible-heading-content - piercing selector for styling the heading content
|
|
13
|
+
*/
|
|
11
14
|
export class DuetCollapsible {
|
|
12
15
|
constructor() {
|
|
13
16
|
this.id = createID("DuetCollapsible");
|
|
@@ -128,7 +131,7 @@ export class DuetCollapsible {
|
|
|
128
131
|
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", tabindex: "0", ref: button => (this.nativeButton = button), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown },
|
|
129
132
|
h("div", { class: "duet-collapsible-heading-icon" },
|
|
130
133
|
h("duet-icon", { margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary", size: this.getEquivalentIconSize(), icon: icon.svg })),
|
|
131
|
-
h("div", { class: "duet-collapsible-heading-content" }, this.heading)),
|
|
134
|
+
h("div", { class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading)),
|
|
132
135
|
h("div", { id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" } },
|
|
133
136
|
h("slot", null))));
|
|
134
137
|
}
|
|
@@ -11,7 +11,7 @@ export class DuetEditableTableButton {
|
|
|
11
11
|
/**
|
|
12
12
|
* Theme of the empty state component.
|
|
13
13
|
*/
|
|
14
|
-
this.theme =
|
|
14
|
+
this.theme = undefined;
|
|
15
15
|
/**
|
|
16
16
|
* action items passed from host component
|
|
17
17
|
* @internal
|
|
@@ -38,6 +38,15 @@ export class DuetEditableTableButton {
|
|
|
38
38
|
this.onMouseLeave = () => {
|
|
39
39
|
this.isHovering = false;
|
|
40
40
|
};
|
|
41
|
+
this.getColours = (byName = false) => {
|
|
42
|
+
let colorHover = this.actions.color_hover;
|
|
43
|
+
let colorBlur = this.actions.color;
|
|
44
|
+
if (byName) {
|
|
45
|
+
colorHover = getColorByName(this.actions.color_hover, this.theme);
|
|
46
|
+
colorBlur = getColorByName(this.actions.color, this.theme);
|
|
47
|
+
}
|
|
48
|
+
return this.isHovering ? colorHover : colorBlur;
|
|
49
|
+
};
|
|
41
50
|
}
|
|
42
51
|
/**
|
|
43
52
|
/**
|
|
@@ -66,11 +75,9 @@ export class DuetEditableTableButton {
|
|
|
66
75
|
*/
|
|
67
76
|
render() {
|
|
68
77
|
return (h("button", { style: {
|
|
69
|
-
"border-color": this.
|
|
70
|
-
? getColorByName(this.actions.color_hover)
|
|
71
|
-
: getColorByName(this.actions.color),
|
|
78
|
+
"border-color": this.getColours(true),
|
|
72
79
|
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, role: "menuitem", class: "duet-editable-table-actions-items-button", "aria-label": this.actions.label ? getLocaleString(this.actions.label) : undefined, onClick: ev => this.emitActionEvent(ev) },
|
|
73
|
-
h("duet-icon", { class: "duet-editable-table-actions-items-icon", size: "x-small", name: this.actions.icon, color: this.
|
|
80
|
+
h("duet-icon", { class: "duet-editable-table-actions-items-icon", size: "x-small", name: this.actions.icon, color: this.getColours(), margin: "none" })));
|
|
74
81
|
}
|
|
75
82
|
static get is() { return "duet-editable-table-button"; }
|
|
76
83
|
static get encapsulation() { return "scoped"; }
|
|
@@ -102,7 +109,7 @@ export class DuetEditableTableButton {
|
|
|
102
109
|
},
|
|
103
110
|
"attribute": "theme",
|
|
104
111
|
"reflect": false,
|
|
105
|
-
"defaultValue": "
|
|
112
|
+
"defaultValue": "undefined"
|
|
106
113
|
},
|
|
107
114
|
"actions": {
|
|
108
115
|
"type": "unknown",
|
|
@@ -20,6 +20,10 @@ export class DuetEditableTableItem {
|
|
|
20
20
|
* @internal
|
|
21
21
|
*/
|
|
22
22
|
this.groupId = "";
|
|
23
|
+
/**
|
|
24
|
+
* Key used to set vertical alignment of action buttons
|
|
25
|
+
*/
|
|
26
|
+
this.alignment = "middle";
|
|
23
27
|
/**
|
|
24
28
|
* Key used to identify item, when running actions
|
|
25
29
|
*/
|
|
@@ -49,8 +53,8 @@ export class DuetEditableTableItem {
|
|
|
49
53
|
*/
|
|
50
54
|
render() {
|
|
51
55
|
return (h(Host, { role: "row" },
|
|
52
|
-
h(TableData, { data: this.data.item, groupId: this.groupId }),
|
|
53
|
-
h("td", { class: "duet-editable-table-actions" },
|
|
56
|
+
h(TableData, { data: this.data.item, alignment: this.alignment, groupId: this.groupId }),
|
|
57
|
+
h("td", { class: "duet-editable-table-actions", style: { verticalAlign: this.alignment } },
|
|
54
58
|
h("div", { class: "duet-editable-table-actions-items", part: `${this.groupId}actions` }, this.actions.map(result => {
|
|
55
59
|
const { map = undefined } = result;
|
|
56
60
|
// if map has been specified, only show the current action if groupID matches the map array
|
|
@@ -133,6 +137,24 @@ export class DuetEditableTableItem {
|
|
|
133
137
|
"reflect": false,
|
|
134
138
|
"defaultValue": "\"\""
|
|
135
139
|
},
|
|
140
|
+
"alignment": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"mutable": false,
|
|
143
|
+
"complexType": {
|
|
144
|
+
"original": "string",
|
|
145
|
+
"resolved": "string",
|
|
146
|
+
"references": {}
|
|
147
|
+
},
|
|
148
|
+
"required": false,
|
|
149
|
+
"optional": false,
|
|
150
|
+
"docs": {
|
|
151
|
+
"tags": [],
|
|
152
|
+
"text": "Key used to set vertical alignment of action buttons"
|
|
153
|
+
},
|
|
154
|
+
"attribute": "alignment",
|
|
155
|
+
"reflect": false,
|
|
156
|
+
"defaultValue": "\"middle\""
|
|
157
|
+
},
|
|
136
158
|
"keyName": {
|
|
137
159
|
"type": "string",
|
|
138
160
|
"mutable": false,
|
|
@@ -156,7 +178,7 @@ export class DuetEditableTableItem {
|
|
|
156
178
|
"mutable": true,
|
|
157
179
|
"complexType": {
|
|
158
180
|
"original": "DuetEditableTableItemData",
|
|
159
|
-
"resolved": "{ uid: string; item: string | HTMLElement
|
|
181
|
+
"resolved": "{ uid: string; item: string | HTMLElement | Record<string, string>; group: string; }",
|
|
160
182
|
"references": {
|
|
161
183
|
"DuetEditableTableItemData": {
|
|
162
184
|
"location": "local"
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { h } from "@stencil/core";
|
|
5
5
|
//simple functional component that renders the data in the table
|
|
6
|
-
export const TableData = ({ data, groupId }, _children) => {
|
|
6
|
+
export const TableData = ({ data, groupId, alignment }, _children) => {
|
|
7
7
|
if (typeof data === "string") {
|
|
8
|
-
return h("td", { innerHTML: data, class: "duet-editable-table-content", part: `${groupId}content
|
|
8
|
+
return (h("td", { innerHTML: data, class: "duet-editable-table-content", part: `${groupId}content`, style: { verticalAlign: alignment } }));
|
|
9
9
|
}
|
|
10
10
|
else {
|
|
11
|
-
return (h("td", { class: "duet-editable-table-content", part: `${groupId}content
|
|
11
|
+
return (h("td", { class: "duet-editable-table-content", part: `${groupId}content`, style: { verticalAlign: alignment } }, data));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
import { Component, Element, h, Host, Method, Prop, State } from "@stencil/core";
|
|
5
5
|
import { debounce } from "../../utils/js-utils";
|
|
6
6
|
import { getLocaleString, sanitizeString } from "../../utils/language-utils";
|
|
7
|
+
import { generateTemplateFn } from "../../utils/template-utils";
|
|
7
8
|
import { inheritGlobalTheme } from "../../utils/themeable-component";
|
|
8
9
|
export class DuetEditableTable {
|
|
9
10
|
constructor() {
|
|
11
|
+
this.template = undefined;
|
|
10
12
|
/**
|
|
11
13
|
* State() variables
|
|
12
14
|
* @internal
|
|
@@ -16,6 +18,10 @@ export class DuetEditableTable {
|
|
|
16
18
|
* Map of items that contain list of things.
|
|
17
19
|
*/
|
|
18
20
|
this.items = new Map();
|
|
21
|
+
/**
|
|
22
|
+
* Key used to set vertical alignment of action buttons
|
|
23
|
+
*/
|
|
24
|
+
this.alignment = "middle";
|
|
19
25
|
/**
|
|
20
26
|
* Array of internationalized defaults for the default groups labels.
|
|
21
27
|
*/
|
|
@@ -64,12 +70,40 @@ export class DuetEditableTable {
|
|
|
64
70
|
* Exposes the aria role for optimizing accessibility.
|
|
65
71
|
*/
|
|
66
72
|
this.accessibleRole = undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Theme of the table.
|
|
75
|
+
*/
|
|
76
|
+
this.theme = "";
|
|
67
77
|
/**
|
|
68
78
|
* Private methods.
|
|
69
79
|
*/
|
|
70
80
|
this.kick = debounce(() => {
|
|
71
81
|
this.tick = Date.now();
|
|
72
82
|
}, 100); // will trigger re-render
|
|
83
|
+
/**
|
|
84
|
+
* If a user defines a template section within editable table, try to read an use it.
|
|
85
|
+
*/
|
|
86
|
+
this.getTemplate = () => {
|
|
87
|
+
const templateDom = this.element.getElementsByTagName("template");
|
|
88
|
+
if (templateDom === null || templateDom === void 0 ? void 0 : templateDom.length) {
|
|
89
|
+
const templateString = templateDom[0].content.firstElementChild.outerHTML;
|
|
90
|
+
return generateTemplateFn(templateString);
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
this.getItemData = (data) => {
|
|
97
|
+
const { item, group, uid } = data;
|
|
98
|
+
if (this.template) {
|
|
99
|
+
return {
|
|
100
|
+
group,
|
|
101
|
+
uid,
|
|
102
|
+
item: this.template(item),
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
return { item, group, uid };
|
|
106
|
+
};
|
|
73
107
|
this.filterMap = needle => {
|
|
74
108
|
if (needle === "all") {
|
|
75
109
|
return Array.from(this.items);
|
|
@@ -81,6 +115,9 @@ export class DuetEditableTable {
|
|
|
81
115
|
* Component lifecycle events.
|
|
82
116
|
*/
|
|
83
117
|
componentWillLoad() {
|
|
118
|
+
// look for a <template> region in the duet-editable-table
|
|
119
|
+
this.template = this.getTemplate();
|
|
120
|
+
// take care of the case where groups and actions are defined as html properties instead of javascript objects
|
|
84
121
|
if (typeof this.groups === "string") {
|
|
85
122
|
this.internalGroupArray = sanitizeString(this.groups);
|
|
86
123
|
}
|
|
@@ -126,7 +163,7 @@ export class DuetEditableTable {
|
|
|
126
163
|
: getLocaleString(this.actionLabelDefaults))))),
|
|
127
164
|
h("tbody", null, currentGroup.map(dataAsArray => {
|
|
128
165
|
const [key, value] = dataAsArray;
|
|
129
|
-
return (h("duet-editable-table-item", { keyName: key, data:
|
|
166
|
+
return (h("duet-editable-table-item", { theme: this.theme, keyName: key, data: this.getItemData(value), groupId: group.id, part: group.id, alignment: this.alignment, actions: this.internalActionsArray }));
|
|
130
167
|
})))));
|
|
131
168
|
})));
|
|
132
169
|
}
|
|
@@ -159,6 +196,24 @@ export class DuetEditableTable {
|
|
|
159
196
|
},
|
|
160
197
|
"defaultValue": "new Map()"
|
|
161
198
|
},
|
|
199
|
+
"alignment": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"mutable": false,
|
|
202
|
+
"complexType": {
|
|
203
|
+
"original": "string",
|
|
204
|
+
"resolved": "string",
|
|
205
|
+
"references": {}
|
|
206
|
+
},
|
|
207
|
+
"required": false,
|
|
208
|
+
"optional": false,
|
|
209
|
+
"docs": {
|
|
210
|
+
"tags": [],
|
|
211
|
+
"text": "Key used to set vertical alignment of action buttons"
|
|
212
|
+
},
|
|
213
|
+
"attribute": "alignment",
|
|
214
|
+
"reflect": false,
|
|
215
|
+
"defaultValue": "\"middle\""
|
|
216
|
+
},
|
|
162
217
|
"groupsLabelDefaults": {
|
|
163
218
|
"type": "unknown",
|
|
164
219
|
"mutable": false,
|
|
@@ -314,7 +369,8 @@ export class DuetEditableTable {
|
|
|
314
369
|
"text": "Theme of the table."
|
|
315
370
|
},
|
|
316
371
|
"attribute": "theme",
|
|
317
|
-
"reflect": false
|
|
372
|
+
"reflect": false,
|
|
373
|
+
"defaultValue": "\"\""
|
|
318
374
|
}
|
|
319
375
|
}; }
|
|
320
376
|
static get states() { return {
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import arrowDownIcon from "@duetds/icons/lib/assets/action-arrow-down-small";
|
|
5
|
+
import { h } from "@stencil/core";
|
|
6
|
+
import { DuetHeaderIcon } from "./duet-header-icon";
|
|
7
|
+
export const DuetHeaderDropdown = (props, _children) => {
|
|
8
|
+
const accessibleLabel = props.accessibleText ? props.accessibleText : props.label;
|
|
9
|
+
return (h("div", { class: { ["duet-header-dropdown"]: true, [props.className]: !!props.className } },
|
|
10
|
+
h("button", { ref: props.toggleRef, "aria-haspopup": "listbox", "aria-controls": props.id, "aria-expanded": props.isOpen ? "true" : "false", "aria-labelledby": `${props.id}-accessible-label`, id: `${props.id}-button`, type: "button", class: {
|
|
11
|
+
[props.id]: true,
|
|
12
|
+
"duet-header-dropdown-toggle": true,
|
|
13
|
+
"duet-header-button": true,
|
|
14
|
+
active: props.active,
|
|
15
|
+
}, onClick: props.onToggle },
|
|
16
|
+
props.icon && h(DuetHeaderIcon, { icon: props.icon }),
|
|
17
|
+
h("span", { "aria-hidden": "true", id: `${props.id}-label`, class: "duet-header-dropdown-label" }, props.label),
|
|
18
|
+
props.badge && h("div", { class: "duet-header-badge" }),
|
|
19
|
+
h("div", { class: "duet-header-caret", "aria-hidden": "true" },
|
|
20
|
+
h("duet-icon", { margin: "none", size: "auto", icon: arrowDownIcon.svg, color: "currentColor" })),
|
|
21
|
+
h("duet-visually-hidden", { id: `${props.id}-accessible-label` }, accessibleLabel)),
|
|
22
|
+
h("div", { ref: props.itemsRef, tabindex: "-1", role: "menu", id: props.id, "aria-labelledby": `${props.id}-button`, class: {
|
|
23
|
+
"duet-header-dropdown-content": true,
|
|
24
|
+
[`${props.id}-items`]: true,
|
|
25
|
+
active: props.isOpen,
|
|
26
|
+
} }, _children)));
|
|
27
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { h } from "@stencil/core";
|
|
5
|
+
export const DuetHeaderHamburger = () => (h("div", { class: "duet-header-hamburger" },
|
|
6
|
+
h("span", { class: "duet-header-bar" }),
|
|
7
|
+
h("span", { class: "duet-header-bar" }),
|
|
8
|
+
h("span", { class: "duet-header-bar" }),
|
|
9
|
+
h("span", { class: "duet-header-bar" })));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { h } from "@stencil/core";
|
|
5
|
+
export const DuetHeaderIcon = (props, _children) => {
|
|
6
|
+
const iconSize = props.iconSize ? props.iconSize : "x-small";
|
|
7
|
+
return (h("span", { class: "duet-header-icon" },
|
|
8
|
+
h("duet-icon", { margin: "none", size: iconSize, icon: props.icon, color: "currentColor" })));
|
|
9
|
+
};
|