@duetds/components 4.33.1 → 4.34.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +438 -191
- 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 +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 +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 +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 +13 -21
- 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-b609a7a5.js → focus-utils-b57facfe.js} +1 -1
- package/lib/cjs/form-search-d61b2843.js +8 -0
- package/lib/cjs/{index-9a57d969.js → index-e2021bf7.js} +2 -9
- 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 +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 +2 -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-icon/icon-utils.js +5 -15
- 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 +422 -114
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-bf9f6d80.system.entry.js → p-00bf3bbb.system.entry.js} +1 -1
- package/lib/duet/{p-75edcaed.entry.js → p-08d1abc7.entry.js} +1 -1
- package/lib/duet/{p-2297d13f.system.entry.js → p-0dc01111.system.entry.js} +1 -1
- package/lib/duet/{p-19d7d9d5.system.entry.js → p-0e742087.system.entry.js} +1 -1
- package/lib/duet/p-12941c46.system.entry.js +4 -0
- package/lib/duet/{p-b314348c.system.js → p-13bc14a6.system.js} +2 -2
- package/lib/duet/{p-cf319832.system.entry.js → p-13d5fe80.system.entry.js} +1 -1
- package/lib/duet/{p-35a3794e.js → p-183726f7.js} +0 -0
- package/lib/duet/{p-323643af.system.entry.js → p-1fff32a9.system.entry.js} +1 -1
- package/lib/duet/{p-b5c7d304.system.entry.js → p-2524481a.system.entry.js} +1 -1
- package/lib/duet/{p-6a5ab3eb.entry.js → p-2862054c.entry.js} +1 -1
- package/lib/duet/{p-e1dc86b5.system.js → p-30d13a27.system.js} +1 -1
- package/lib/duet/p-354bf924.entry.js +4 -0
- package/lib/duet/{p-df6f39a3.entry.js → p-3998eed6.entry.js} +1 -1
- package/lib/duet/{p-079795e5.entry.js → p-3e0a774d.entry.js} +1 -1
- package/lib/duet/{p-fd613733.entry.js → p-3e273d8d.entry.js} +1 -1
- package/lib/duet/{p-2fdcff82.entry.js → p-3e47c910.entry.js} +1 -1
- package/lib/duet/{p-de5ec54e.system.entry.js → p-45a6838d.system.entry.js} +1 -1
- package/lib/duet/p-4836f66d.entry.js +4 -0
- package/lib/duet/{p-af49d4f9.entry.js → p-488addbc.entry.js} +1 -1
- package/lib/duet/{p-ba18b56e.entry.js → p-4a742d83.entry.js} +1 -1
- package/lib/duet/{p-37cda933.entry.js → p-4d5531be.entry.js} +1 -1
- package/lib/duet/{p-00210a63.entry.js → p-4db07868.entry.js} +1 -1
- package/lib/duet/p-50b4fb2c.js +4 -0
- package/lib/duet/{p-987edcd0.js → p-52621211.js} +0 -0
- package/lib/duet/p-582f9135.system.entry.js +4 -0
- package/lib/duet/{p-85e52be8.entry.js → p-58d7f2d1.entry.js} +1 -1
- package/lib/duet/{p-b25edbbe.entry.js → p-5a5e7977.entry.js} +1 -1
- package/lib/duet/{p-85ad012a.system.entry.js → p-5c67bb73.system.entry.js} +1 -1
- package/lib/duet/{p-3013c9bb.system.entry.js → p-5e03b63f.system.entry.js} +1 -1
- package/lib/duet/{p-e8123a53.entry.js → p-5f2fb5db.entry.js} +1 -1
- package/lib/duet/{p-f5a55b3c.entry.js → p-5f813e15.entry.js} +1 -1
- package/lib/duet/p-5f866721.entry.js +4 -0
- package/lib/duet/p-60aa83c0.js +4 -0
- package/lib/duet/{p-bf4596bd.system.entry.js → p-62de4645.system.entry.js} +1 -1
- package/lib/duet/{p-360086f8.entry.js → p-66c35cd2.entry.js} +1 -1
- package/lib/duet/{p-cbdb9e98.system.entry.js → p-69133107.system.entry.js} +1 -1
- package/lib/duet/p-6a8b3cf0.system.entry.js +4 -0
- package/lib/duet/{p-c18a599e.system.js → p-6e4fd6ba.system.js} +0 -0
- package/lib/duet/{p-e2596ea0.entry.js → p-72ad7798.entry.js} +1 -1
- package/lib/duet/{p-32b7397d.entry.js → p-746b3bee.entry.js} +1 -1
- package/lib/duet/p-75261615.system.entry.js +4 -0
- package/lib/duet/{p-8aaf3383.entry.js → p-760d2226.entry.js} +1 -1
- package/lib/duet/{p-7530be48.system.entry.js → p-7a0a375e.system.entry.js} +1 -1
- package/lib/duet/p-8143f3de.js +4 -0
- package/lib/duet/p-8b01f978.system.entry.js +4 -0
- package/lib/duet/{p-6e4b1c0d.entry.js → p-8d42cb7c.entry.js} +1 -1
- package/lib/duet/p-8e16057d.system.entry.js +4 -0
- package/lib/duet/p-8f477bd6.system.js +4 -0
- package/lib/duet/p-90e7e876.entry.js +4 -0
- package/lib/duet/{p-09013a48.system.entry.js → p-939bf739.system.entry.js} +1 -1
- package/lib/duet/{p-0205162d.entry.js → p-9793f3d8.entry.js} +1 -1
- package/lib/duet/p-9849a4ab.system.entry.js +4 -0
- package/lib/duet/{p-5cfc53f9.entry.js → p-9d487a0d.entry.js} +1 -1
- package/lib/duet/p-a16a58c1.system.js +4 -0
- package/lib/duet/p-a52d436c.entry.js +4 -0
- package/lib/duet/{p-e48f3a32.system.entry.js → p-a58f0665.system.entry.js} +1 -1
- package/lib/duet/{p-9e79e033.entry.js → p-a900d55b.entry.js} +1 -1
- package/lib/duet/p-ae46a7d2.system.entry.js +4 -0
- package/lib/duet/{p-6f36f647.system.entry.js → p-ae8401c9.system.entry.js} +1 -1
- package/lib/duet/{p-e60ee8b0.entry.js → p-b70f164d.entry.js} +1 -1
- package/lib/duet/{p-3ba62cf1.system.entry.js → p-b8dde0c8.system.entry.js} +1 -1
- package/lib/duet/{p-e5031543.entry.js → p-baef2241.entry.js} +1 -1
- package/lib/duet/{p-ef7251bf.entry.js → p-c50bbff5.entry.js} +1 -1
- package/lib/duet/{p-3fd9190b.system.entry.js → p-c67a63cc.system.entry.js} +1 -1
- package/lib/duet/p-c6ba80c6.entry.js +4 -0
- package/lib/duet/{p-e7b90769.system.entry.js → p-c92b1af1.system.entry.js} +1 -1
- package/lib/duet/{p-71a77368.system.entry.js → p-cdaa629d.system.entry.js} +1 -1
- package/lib/duet/{p-c1a1ea1b.js → p-ce566b2b.js} +1 -1
- package/lib/duet/p-d004da5f.js +4 -0
- package/lib/duet/{p-e70088d5.entry.js → p-d1adeb76.entry.js} +1 -1
- package/lib/duet/{p-5decc259.system.entry.js → p-d3b5d2ef.system.entry.js} +1 -1
- package/lib/duet/{p-a2a00146.system.entry.js → p-db87c4b1.system.entry.js} +1 -1
- package/lib/duet/{p-9f35d682.entry.js → p-ddbdac54.entry.js} +1 -1
- package/lib/duet/{p-e370c18b.entry.js → p-de23ae41.entry.js} +1 -1
- package/lib/duet/{p-f0cfe033.system.entry.js → p-e0038277.system.entry.js} +1 -1
- package/lib/duet/p-e1c6f74b.entry.js +4 -0
- package/lib/duet/{p-1cbc6269.entry.js → p-e242bf98.entry.js} +1 -1
- package/lib/duet/{p-51955fc0.system.js → p-e3973f41.system.js} +1 -1
- package/lib/duet/{p-0d22396e.system.js → p-e5c1751e.system.js} +0 -0
- package/lib/duet/p-ec5d0cda.entry.js +4 -0
- package/lib/duet/{p-43847557.entry.js → p-ee74ff67.entry.js} +1 -1
- package/lib/duet/{p-6a4d85ed.system.entry.js → p-eed6f9cc.system.entry.js} +1 -1
- package/lib/duet/{p-7a8597c2.system.entry.js → p-f01494f9.system.entry.js} +1 -1
- package/lib/duet/{p-b4111e88.system.entry.js → p-f2c402a9.system.entry.js} +1 -1
- package/lib/duet/{p-4b6e8558.system.entry.js → p-f3c258d8.system.entry.js} +1 -1
- package/lib/duet/{p-2a822e91.system.entry.js → p-f6e1fb0f.system.entry.js} +1 -1
- package/lib/duet/{p-020a2c42.system.entry.js → p-f7f4f98a.system.entry.js} +1 -1
- package/lib/duet/{p-dd76db9b.system.entry.js → p-f9a096a9.system.entry.js} +1 -1
- package/lib/duet/p-fa99eaa4.system.js +4 -0
- package/lib/duet/{p-6024e484.system.entry.js → p-ffd449ef.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 +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 +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 +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 +13 -21
- 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-aeb6ca93.js → focus-utils-fc14cf36.js} +1 -1
- package/lib/esm/form-search-ea8e19ae.js +6 -0
- package/lib/esm/{index-e8c7d36f.js → index-9ef5d3bc.js} +3 -9
- 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 +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 +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 +2 -2
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +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-aeb6ca93.js → focus-utils-fc14cf36.js} +1 -1
- package/lib/esm-es5/form-search-ea8e19ae.js +4 -0
- package/lib/esm-es5/{index-e8c7d36f.js → index-9ef5d3bc.js} +2 -2
- 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 +29 -10
- 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-icon/icon-utils.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 +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 -14
- package/lib/cjs/token-utils-63a9c8dc.js +0 -30
- package/lib/duet/p-0a89315d.entry.js +0 -4
- package/lib/duet/p-0e90f075.system.entry.js +0 -4
- package/lib/duet/p-3212a556.entry.js +0 -4
- package/lib/duet/p-3c1971d8.js +0 -4
- package/lib/duet/p-4c5eedf8.entry.js +0 -4
- package/lib/duet/p-4c827f0d.entry.js +0 -4
- package/lib/duet/p-5e0071d6.js +0 -4
- package/lib/duet/p-5e77432e.system.entry.js +0 -4
- package/lib/duet/p-68008644.entry.js +0 -4
- package/lib/duet/p-69385972.system.entry.js +0 -4
- package/lib/duet/p-6e363557.system.js +0 -4
- package/lib/duet/p-6fa6c4fb.system.entry.js +0 -4
- package/lib/duet/p-73f9db25.system.entry.js +0 -4
- package/lib/duet/p-74f4a0d8.system.entry.js +0 -4
- package/lib/duet/p-a545398c.entry.js +0 -4
- package/lib/duet/p-b6e9860a.entry.js +0 -4
- package/lib/duet/p-c742856b.system.entry.js +0 -4
- package/lib/duet/p-d67fff56.entry.js +0 -4
- package/lib/duet/p-f2a087a8.system.entry.js +0 -4
- package/lib/esm/token-utils-590d9413.js +0 -28
- package/lib/esm-es5/token-utils-590d9413.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):a(e.value).then(i,s)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,a,o,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return l([e,t])}}function l(i){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,a&&(o=i[0]&2?a["return"]:i[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,i[1])).done)return o;if(a=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;a=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){n.label=i[1];break}if(i[0]===6&&n.label<o[1]){n.label=o[1];o=i;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(i);break}if(o[2])n.ops.pop();n.trys.pop();continue}i=t.call(e,n)}catch(s){i=[6,s];a=0}finally{r=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};
|
|
2
2
|
/*!
|
|
3
3
|
* Built with Duet Design System
|
|
4
|
-
*/var NAMESPACE="duet";var Env={cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"2.2.4"};var scopeId;var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var queuePending=false;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};var supportsShadow=function(){return(doc.head.attachShadow+"").indexOf("[native")>-1}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructibleStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var addHostEventListeners=function(e,t,n,r){if(n){n.map((function(n){var r=n[0],a=n[1],o=n[2];var s=getHostListenerTarget(e,r);var i=hostListenerProxy(t,o);var l=hostListenerOpts(r);plt.ael(s,a,i,l);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return plt.rel(s,a,i,l)}))}))}};var hostListenerProxy=function(e,t){return function(n){try{{if(e.$flags$&256){e.$lazyInstance$[t](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}}}catch(r){consoleError(r)}}};var getHostListenerTarget=function(e,t){if(t&4)return doc;if(t&8)return win;if(t&16)return doc.body;return e};var hostListenerOpts=function(e){return(e&2)!==0};var CONTENT_REF_ID="r";var ORG_LOCATION_ID="o";var SLOT_NODE_ID="s";var TEXT_NODE_ID="t";var HYDRATE_ID="s-id";var HYDRATED_STYLE_ID="sty-id";var HYDRATE_CHILD_ID="c-id";var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var XLINK_NS="http://www.w3.org/1999/xlink";var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,n){var r=styles.get(e);if(supportsConstructibleStylesheets&&n){r=r||new CSSStyleSheet;r.replace(t)}else{r=t}styles.set(e,r)};var addStyle=function(e,t,n,r){var a=getScopeId(t);var o=styles.get(a);e=e.nodeType===11?e:doc;if(o){if(typeof o==="string"){e=e.head||e;var s=rootAppliedStyles.get(e);var i=void 0;if(!s){rootAppliedStyles.set(e,s=new Set)}if(!s.has(a)){if(e.host&&(i=e.querySelector("["+HYDRATED_STYLE_ID+'="'+a+'"]'))){i.innerHTML=o}else{{i=doc.createElement("style");i.innerHTML=o}e.insertBefore(i,e.querySelector("link"))}if(s){s.add(a)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[o])}}return a};var attachStyles=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var o=addStyle(supportsShadow&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=o;n.classList.add(o+"-h");if(r&2){n.classList.add(o+"-s")}}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var convertScopedToShadow=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var EMPTY_OBJ={};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var o=null;var s=null;var i=false;var l=false;var c=[];var $=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){$(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(i&&l){c[c.length-1].$text$+=a}else{c.push(i?newVNode(null,a):a)}l=i}}};$(n);if(t){if(t.key){o=t.key}if(t.name){s=t.name}{var f=t.className||t.class;if(f){t.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,c,vdomFnUtils)}var u=newVNode(e,null);u.$attrs$=t;if(c.length>0){u.$children$=c}{u.$key$=o}{u.$name$=s}return u};var newVNode=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{n.$attrs$=null}{n.$key$=null}{n.$name$=null}return n};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[]))}var n=newVNode(e.vtag,e.vtext);n.$attrs$=e.vattrs;n.$children$=e.vchildren;n.$key$=e.vkey;n.$name$=e.vname;return n};var setAccessor=function(e,t,n,r,a,o){if(n!==r){var s=isMemberInElement(e,t);var i=t.toLowerCase();if(t==="class"){var l=e.classList;var c=parseClassList(n);var $=parseClassList(r);l.remove.apply(l,c.filter((function(e){return e&&!$.includes(e)})));l.add.apply(l,$.filter((function(e){return e&&!c.includes(e)})))}else if(t==="style"){{for(var f in n){if(!r||r[f]==null){if(f.includes("-")){e.style.removeProperty(f)}else{e.style[f]=""}}}}for(var f in r){if(!n||r[f]!==n[f]){if(f.includes("-")){e.style.setProperty(f,r[f])}else{e.style[f]=r[f]}}}}else if(t==="key");else if(t==="ref"){if(r){r(e)}}else if(!s&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,i)){t=i.slice(2)}else{t=i[2]+t.slice(3)}if(n){plt.rel(e,t,n,false)}if(r){plt.ael(e,t,r,false)}}else{var u=isComplexType(r);if((s||u&&r!==null)&&!a){try{if(!e.tagName.includes("-")){var d=r==null?"":r;if(t==="list"){s=false}else if(n==null||e[t]!=d){e[t]=d}}else{e[t]=r}}catch(p){}}var v=false;{if(i!==(i=i.replace(/^xlink\:?/,""))){t=i;v=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(v){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!s||o&4||a)&&!u){r=r===true?"":r;if(v){e.setAttributeNS(XLINK_NS,t,r)}else{e.setAttribute(t,r)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,t,n,r){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var o=e&&e.$attrs$||EMPTY_OBJ;var s=t.$attrs$||EMPTY_OBJ;{for(r in o){if(!(r in s)){setAccessor(a,r,o[r],undefined,n,t.$flags$)}}}for(r in s){setAccessor(a,r,o[r],s[r],n,t.$flags$)}};var createElm=function(e,t,n,r){var a=t.$children$[n];var o=0;var s;var i;var l;if(!useNativeShadowDom){checkSlotRelocate=true;if(a.$tag$==="slot"){if(scopeId){r.classList.add(scopeId+"-s")}a.$flags$|=a.$children$?2:1}}if(a.$text$!==null){s=a.$elm$=doc.createTextNode(a.$text$)}else if(a.$flags$&1){s=a.$elm$=doc.createTextNode("")}else{if(!isSvgMode){isSvgMode=a.$tag$==="svg"}s=a.$elm$=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,a.$flags$&2?"slot-fb":a.$tag$);if(isSvgMode&&a.$tag$==="foreignObject"){isSvgMode=false}{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&s["s-si"]!==scopeId){s.classList.add(s["s-si"]=scopeId)}if(a.$children$){for(o=0;o<a.$children$.length;++o){i=createElm(e,a,o,s);if(i){s.appendChild(i)}}}{if(a.$tag$==="svg"){isSvgMode=false}else if(s.tagName==="foreignObject"){isSvgMode=true}}}{s["s-hn"]=hostTagName;if(a.$flags$&(2|1)){s["s-sr"]=true;s["s-cr"]=contentRef;s["s-sn"]=a.$name$||"";l=e&&e.$children$&&e.$children$[n];if(l&&l.$tag$===a.$tag$&&e.$elm$){putBackInOriginalLocation(e.$elm$,false)}}}return s};var putBackInOriginalLocation=function(e,t){plt.$flags$|=1;var n=e.childNodes;for(var r=n.length-1;r>=0;r--){var a=n[r];if(a["s-hn"]!==hostTagName&&a["s-ol"]){parentReferenceNode(a).insertBefore(a,referenceNode(a));a["s-ol"].remove();a["s-ol"]=undefined;checkSlotRelocate=true}if(t){putBackInOriginalLocation(a,t)}}plt.$flags$&=~1};var addVnodes=function(e,t,n,r,a,o){var s=e["s-cr"]&&e["s-cr"].parentNode||e;var i;if(s.shadowRoot&&s.tagName===hostTagName){s=s.shadowRoot}for(;a<=o;++a){if(r[a]){i=createElm(null,n,a,e);if(i){r[a].$elm$=i;s.insertBefore(i,referenceNode(t))}}}};var removeVnodes=function(e,t,n,r,a){for(;t<=n;++t){if(r=e[t]){a=r.$elm$;callNodeRefs(r);{checkSlotFallbackVisibility=true;if(a["s-ol"]){a["s-ol"].remove()}else{putBackInOriginalLocation(a,true)}}a.remove()}}};var updateChildren=function(e,t,n,r){var a=0;var o=0;var s=0;var i=0;var l=t.length-1;var c=t[0];var $=t[l];var f=r.length-1;var u=r[0];var d=r[f];var v;var p;while(a<=l&&o<=f){if(c==null){c=t[++a]}else if($==null){$=t[--l]}else if(u==null){u=r[++o]}else if(d==null){d=r[--f]}else if(isSameVnode(c,u)){patch(c,u);c=t[++a];u=r[++o]}else if(isSameVnode($,d)){patch($,d);$=t[--l];d=r[--f]}else if(isSameVnode(c,d)){if(c.$tag$==="slot"||d.$tag$==="slot"){putBackInOriginalLocation(c.$elm$.parentNode,false)}patch(c,d);e.insertBefore(c.$elm$,$.$elm$.nextSibling);c=t[++a];d=r[--f]}else if(isSameVnode($,u)){if(c.$tag$==="slot"||d.$tag$==="slot"){putBackInOriginalLocation($.$elm$.parentNode,false)}patch($,u);e.insertBefore($.$elm$,c.$elm$);$=t[--l];u=r[++o]}else{s=-1;{for(i=a;i<=l;++i){if(t[i]&&t[i].$key$!==null&&t[i].$key$===u.$key$){s=i;break}}}if(s>=0){p=t[s];if(p.$tag$!==u.$tag$){v=createElm(t&&t[o],n,s,e)}else{patch(p,u);t[s]=undefined;v=p.$elm$}u=r[++o]}else{v=createElm(t&&t[o],n,o,e);u=r[++o]}if(v){{parentReferenceNode(c.$elm$).insertBefore(v,referenceNode(c.$elm$))}}}}if(a>l){addVnodes(e,r[f+1]==null?null:r[f+1].$elm$,n,r,o,f)}else if(o>f){removeVnodes(t,a,l)}};var isSameVnode=function(e,t){if(e.$tag$===t.$tag$){if(e.$tag$==="slot"){return e.$name$===t.$name$}{return e.$key$===t.$key$}}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var a=t.$children$;var o=t.$tag$;var s=t.$text$;var i;if(s===null){{isSvgMode=o==="svg"?true:o==="foreignObject"?false:isSvgMode}{if(o==="slot");else{updateElement(e,t,isSvgMode)}}if(r!==null&&a!==null){updateChildren(n,r,t,a)}else if(a!==null){if(e.$text$!==null){n.textContent=""}addVnodes(n,null,t,a,0,a.length-1)}else if(r!==null){removeVnodes(r,0,r.length-1)}if(isSvgMode&&o==="svg"){isSvgMode=false}}else if(i=n["s-cr"]){i.parentNode.textContent=s}else if(e.$text$!==s){n.data=s}};var updateFallbackSlotVisibility=function(e){var t=e.childNodes;var n;var r;var a;var o;var s;var i;for(r=0,a=t.length;r<a;r++){n=t[r];if(n.nodeType===1){if(n["s-sr"]){s=n["s-sn"];n.hidden=false;for(o=0;o<a;o++){i=t[o].nodeType;if(t[o]["s-hn"]!==n["s-hn"]||s!==""){if(i===1&&s===t[o].getAttribute("slot")){n.hidden=true;break}}else{if(i===1||i===3&&t[o].textContent.trim()!==""){n.hidden=true;break}}}}updateFallbackSlotVisibility(n)}}};var relocateNodes=[];var relocateSlotContent=function(e){var t;var n;var r;var a;var o;var s;var i=0;var l=e.childNodes;var c=l.length;for(;i<c;i++){t=l[i];if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){r=n.parentNode.childNodes;a=t["s-sn"];for(s=r.length-1;s>=0;s--){n=r[s];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]){if(isNodeLocatedInSlot(n,a)){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===n}));checkSlotFallbackVisibility=true;n["s-sn"]=n["s-sn"]||a;if(o){o.$slotRefNode$=t}else{relocateNodes.push({$slotRefNode$:t,$nodeToRelocate$:n})}if(n["s-sr"]){relocateNodes.map((function(e){if(isNodeLocatedInSlot(e.$nodeToRelocate$,n["s-sn"])){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===n}));if(o&&!e.$slotRefNode$){e.$slotRefNode$=o.$slotRefNode$}}}))}}else if(!relocateNodes.some((function(e){return e.$nodeToRelocate$===n}))){relocateNodes.push({$nodeToRelocate$:n})}}}}if(t.nodeType===1){relocateSlotContent(t)}}};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var callNodeRefs=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(callNodeRefs)}};var renderVdom=function(e,t){var n=e.$hostElement$;var r=e.$cmpMeta$;var a=e.$vnode$||newVNode(null,null);var o=isHost(t)?t:h(null,null,t);hostTagName=n.tagName;if(r.$attrsToReflect$){o.$attrs$=o.$attrs$||{};r.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return o.$attrs$[r]=n[t]}))}o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=a.$elm$=n.shadowRoot||n;{scopeId=n["s-sc"]}{contentRef=n["s-cr"];useNativeShadowDom=supportsShadow&&(r.$flags$&1)!==0;checkSlotFallbackVisibility=false}patch(a,o);{plt.$flags$|=1;if(checkSlotRelocate){relocateSlotContent(o.$elm$);var s=void 0;var i=void 0;var l=void 0;var c=void 0;var $=void 0;var f=void 0;var u=0;for(;u<relocateNodes.length;u++){s=relocateNodes[u];i=s.$nodeToRelocate$;if(!i["s-ol"]){l=doc.createTextNode("");l["s-nr"]=i;i.parentNode.insertBefore(i["s-ol"]=l,i)}}for(u=0;u<relocateNodes.length;u++){s=relocateNodes[u];i=s.$nodeToRelocate$;if(s.$slotRefNode$){c=s.$slotRefNode$.parentNode;$=s.$slotRefNode$.nextSibling;l=i["s-ol"];while(l=l.previousSibling){f=l["s-nr"];if(f&&f["s-sn"]===i["s-sn"]&&c===f.parentNode){f=f.nextSibling;if(!f||!f["s-nr"]){$=f;break}}}if(!$&&c!==i.parentNode||i.nextSibling!==$){if(i!==$){if(!i["s-hn"]&&i["s-ol"]){i["s-hn"]=i["s-ol"].parentNode.nodeName}c.insertBefore(i,$)}}}else{if(i.nodeType===1){i.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(o.$elm$)}plt.$flags$&=~1;relocateNodes.length=0}};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,n){var r=getElement(e);return{emit:function(e){return emitEvent(r,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}};var emitEvent=function(e,t,n){var r=plt.ce(t,n);e.dispatchEvent(r);return r};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var n=function(){return dispatchHooks(e,t)};return writeTask(n)};var dispatchHooks=function(e,t){var n=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return safeCall(r,t,n)}));e.$queuedListeners$=null}}{a=safeCall(r,"componentWillLoad")}}{a=then(a,(function(){return safeCall(r,"componentWillRender")}))}n();return then(a,(function(){return updateComponent(e,r,t)}))};var updateComponent=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,a,o,s,i,l;return __generator(this,(function(c){r=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=r["s-rc"];if(n){attachStyles(e)}s=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(o){o.map((function(e){return e()}));r["s-rc"]=undefined}s();a();{i=r["s-p"];l=function(){return postUpdateComponent(e)};if(i.length===0){l()}else{Promise.all(i).then(l);e.$flags$|=4;i.length=0}}return[2]}))}))};var callRender=function(e,t,n){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{renderVdom(e,t)}}}}catch(r){consoleError(r,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=createTime("postUpdate",t);var a=e.$lazyInstance$;var o=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(n)}{safeCall(a,"componentDidLoad")}r();{e.$onReadyResolve$(n);if(!o){appDidLoad()}}}else{{safeCall(a,"componentDidUpdate")}r()}{e.$onInstanceResolve$(n)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(r){consoleError(r)}}return undefined};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var initializeClientHydrate=function(e,t,n,r){var a=createTime("hydrateClient",t);var o=e.shadowRoot;var s=[];var i=[];var l=o?[]:null;var c=r.$vnode$=newVNode(t,null);if(!plt.$orgLocNodes$){initializeDocumentHydrate(doc.body,plt.$orgLocNodes$=new Map)}e[HYDRATE_ID]=n;e.removeAttribute(HYDRATE_ID);clientHydrate(c,s,i,l,e,e,n);s.map((function(e){var n=e.$hostId$+"."+e.$nodeId$;var r=plt.$orgLocNodes$.get(n);var a=e.$elm$;if(r&&supportsShadow&&r["s-en"]===""){r.parentNode.insertBefore(a,r.nextSibling)}if(!o){a["s-hn"]=t;if(r){a["s-ol"]=r;a["s-ol"]["s-nr"]=a}}plt.$orgLocNodes$.delete(n)}));if(o){l.map((function(e){if(e){o.appendChild(e)}}))}a()};var clientHydrate=function(e,t,n,r,a,o,s){var i;var l;var c;var $;if(o.nodeType===1){i=o.getAttribute(HYDRATE_CHILD_ID);if(i){l=i.split(".");if(l[0]===s||l[0]==="0"){c={$flags$:0,$hostId$:l[0],$nodeId$:l[1],$depth$:l[2],$index$:l[3],$tag$:o.tagName.toLowerCase(),$elm$:o,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push(c);o.removeAttribute(HYDRATE_CHILD_ID);if(!e.$children$){e.$children$=[]}e.$children$[c.$index$]=c;e=c;if(r&&c.$depth$==="0"){r[c.$index$]=c.$elm$}}}for($=o.childNodes.length-1;$>=0;$--){clientHydrate(e,t,n,r,a,o.childNodes[$],s)}if(o.shadowRoot){for($=o.shadowRoot.childNodes.length-1;$>=0;$--){clientHydrate(e,t,n,r,a,o.shadowRoot.childNodes[$],s)}}}else if(o.nodeType===8){l=o.nodeValue.split(".");if(l[1]===s||l[1]==="0"){i=l[0];c={$flags$:0,$hostId$:l[1],$nodeId$:l[2],$depth$:l[3],$index$:l[4],$elm$:o,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if(i===TEXT_NODE_ID){c.$elm$=o.nextSibling;if(c.$elm$&&c.$elm$.nodeType===3){c.$text$=c.$elm$.textContent;t.push(c);o.remove();if(!e.$children$){e.$children$=[]}e.$children$[c.$index$]=c;if(r&&c.$depth$==="0"){r[c.$index$]=c.$elm$}}}else if(c.$hostId$===s){if(i===SLOT_NODE_ID){c.$tag$="slot";if(l[5]){o["s-sn"]=c.$name$=l[5]}else{o["s-sn"]=""}o["s-sr"]=true;if(r){c.$elm$=doc.createElement(c.$tag$);if(c.$name$){c.$elm$.setAttribute("name",c.$name$)}o.parentNode.insertBefore(c.$elm$,o);o.remove();if(c.$depth$==="0"){r[c.$index$]=c.$elm$}}n.push(c);if(!e.$children$){e.$children$=[]}e.$children$[c.$index$]=c}else if(i===CONTENT_REF_ID){if(r){o.remove()}else{a["s-cr"]=o;o["s-cn"]=true}}}}}else if(e&&e.$tag$==="style"){var f=newVNode(null,o.textContent);f.$elm$=o;f.$index$="0";e.$children$=[f]}};var initializeDocumentHydrate=function(e,t){if(e.nodeType===1){var n=0;for(;n<e.childNodes.length;n++){initializeDocumentHydrate(e.childNodes[n],t)}if(e.shadowRoot){for(n=0;n<e.shadowRoot.childNodes.length;n++){initializeDocumentHydrate(e.shadowRoot.childNodes[n],t)}}}else if(e.nodeType===8){var r=e.nodeValue.split(".");if(r[0]===ORG_LOCATION_ID){t.set(r[1]+"."+r[2],e);e.nodeValue="";e["s-en"]=r[3]}}};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,n,r){var a=getHostRef(e);var o=a.$hostElement$;var s=a.$instanceValues$.get(t);var i=a.$flags$;var l=a.$lazyInstance$;n=parsePropertyValue(n,r.$members$[t][0]);if((!(i&8)||s===undefined)&&n!==s){a.$instanceValues$.set(t,n);if(l){if(r.$watchers$&&i&128){var c=r.$watchers$[t];if(c){c.map((function(e){try{l[e](n,s,t)}catch(r){consoleError(r,o)}}))}}if((i&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,n){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var r=Object.entries(t.$members$);var a=e.prototype;r.map((function(e){var r=e[0],o=e[1][0];if(o&31||n&2&&o&32){Object.defineProperty(a,r,{get:function(){return getValue(this,r)},set:function(e){setValue(this,r,e,t)},configurable:true,enumerable:true})}else if(n&1&&o&64){Object.defineProperty(a,r,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n=getHostRef(this);return n.$onInstancePromise$.then((function(){var t;return(t=n.$lazyInstance$)[r].apply(t,e)}))}})}}));if(n&1){var o=new Map;a.attributeChangedCallback=function(e,t,n){var r=this;plt.jmp((function(){var t=o.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}else if(a.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var a=r[1]||n;o.set(a,n);if(r[0]&512){t.$attrsToReflect$.push([n,a])}return a}))}}return e};var initializeComponent=function(e,t,n,r,a){return __awaiter(void 0,void 0,void 0,(function(){var e,r,o,s,i,l,c;return __generator(this,(function($){switch($.label){case 0:if(!((t.$flags$&32)===0))return[3,5];t.$flags$|=32;a=loadModule(n);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=$.sent();e();$.label=2;case 2:if(!a.isProxied){{n.$watchers$=a.watchers}proxyComponent(a,n,2);a.isProxied=true}r=createTime("createInstance",n.$tagName$);{t.$flags$|=8}try{new a(t)}catch(f){consoleError(f)}{t.$flags$&=~8}{t.$flags$|=128}r();fireConnectedCallback(t.$lazyInstance$);if(!a.style)return[3,5];o=a.style;s=getScopeId(n);if(!!styles.has(s))return[3,5];i=createTime("registerStyles",n.$tagName$);if(!(n.$flags$&8))return[3,4];return[4,import("./shadow-css-7c726abb.js").then((function(e){return e.scopeCss(o,s,false)}))];case 3:o=$.sent();$.label=4;case 4:registerStyle(s,o,!!(n.$flags$&1));i();$.label=5;case 5:l=t.$ancestorComponent$;c=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(c)}else{c()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$cmpMeta$;var r=createTime("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;var a=void 0;{a=e.getAttribute(HYDRATE_ID);if(a){if(supportsShadow&&n.$flags$&1){var o=addStyle(e.shadowRoot,n);e.classList.remove(o+"-h",o+"-s")}initializeClientHydrate(e,n.$tagName$,a,t)}}if(!a){if(n.$flags$&(4|8)){setContentReference(e)}}{var s=e;while(s=s.parentNode||s.host){if(s.nodeType===1&&s.hasAttribute("s-id")&&s["s-p"]||s["s-p"]){attachToAncestor(t,t.$ancestorComponent$=s);break}}}if(n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{nextTick((function(){return initializeComponent(e,t,n)}))}}else{addHostEventListeners(e,t,n.$listeners$);fireConnectedCallback(t.$lazyInstance$)}r()}};var setContentReference=function(e){var t=e["s-cr"]=doc.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{safeCall(n,"disconnectedCallback")}}};var patchChildSlotNodes=function(e,t){var n=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.item=function(e){return this[e]};return t}(Array);if(t.$flags$&8){var r=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get:function(){return this.childNodes.map((function(e){return e.nodeType===1}))}});Object.defineProperty(e,"childElementCount",{get:function(){return e.children.length}});Object.defineProperty(e,"childNodes",{get:function(){var e=r.call(this);if((plt.$flags$&1)===0&&getHostRef(this).$flags$&2){var t=new n;for(var a=0;a<e.length;a++){var o=e[a]["s-nr"];if(o){t.push(o)}}return t}return n.from(e)}})}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var n=createTime();var r=[];var a=t.exclude||[];var o=win.customElements;var s=doc.head;var i=s.querySelector("meta[charset]");var l=doc.createElement("style");var c=[];var $=doc.querySelectorAll("["+HYDRATED_STYLE_ID+"]");var f;var u=true;var d=0;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;{plt.$flags$|=2}{for(;d<$.length;d++){registerStyle($[d].getAttribute(HYDRATED_STYLE_ID),convertScopedToShadow($[d].innerHTML),true)}}e.map((function(e){e[1].map((function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{n.$members$=t[2]}{n.$listeners$=t[3]}{n.$attrsToReflect$=[]}{n.$watchers$={}}if(!supportsShadow&&n.$flags$&1){n.$flags$|=8}var s=n.$tagName$;var i=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;registerHost(t,n);if(n.$flags$&1){if(supportsShadow){{t.attachShadow({mode:"open",delegatesFocus:!!(n.$flags$&16)})}}else if(!("shadowRoot"in t)){t.shadowRoot=t}}{patchChildSlotNodes(t,n)}return r}t.prototype.connectedCallback=function(){var e=this;if(f){clearTimeout(f);f=null}if(u){c.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!a.includes(s)&&!o.get(s)){r.push(s);o.define(s,proxyComponent(i,n,1))}}))}));{l.innerHTML=r+HYDRATED_CSS;l.setAttribute("data-styles","");s.insertBefore(l,i?i.nextSibling:s.firstChild)}u=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return f=setTimeout(appDidLoad,30)}))}}n()};var Fragment=function(e,t){return t};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onInstancePromise$=new Promise((function(e){return n.$onInstanceResolve$=e}))}{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,n,t.$listeners$);return hostRefs.set(e,n)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,n){var r=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[r]}return import("./"+a+".entry.js"+"").then((function(e){{cmpModules.set(a,e)}return e[r]}),consoleError)};var styles=new Map;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(n){e.push(n);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(n){consoleError(n)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);var Build={isDev:false,isBrowser:true,isServer:false,isTesting:false};export{Build as B,Env as E,Fragment as F,Host as H,NAMESPACE as N,bootstrapLazy as b,createEvent as c,doc as d,getElement as g,h,promiseResolve as p,registerInstance as r,win as w};
|
|
4
|
+
*/var NAMESPACE="duet";var Env={cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"2.2.8"};var scopeId;var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var queuePending=false;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};var supportsShadow=function(){return(doc.head.attachShadow+"").indexOf("[native")>-1}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructibleStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var addHostEventListeners=function(e,t,n,r){if(n){n.map((function(n){var r=n[0],a=n[1],o=n[2];var i=getHostListenerTarget(e,r);var s=hostListenerProxy(t,o);var l=hostListenerOpts(r);plt.ael(i,a,s,l);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return plt.rel(i,a,s,l)}))}))}};var hostListenerProxy=function(e,t){return function(n){try{{if(e.$flags$&256){e.$lazyInstance$[t](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}}}catch(r){consoleError(r)}}};var getHostListenerTarget=function(e,t){if(t&4)return doc;if(t&8)return win;if(t&16)return doc.body;return e};var hostListenerOpts=function(e){return(e&2)!==0};var CONTENT_REF_ID="r";var ORG_LOCATION_ID="o";var SLOT_NODE_ID="s";var TEXT_NODE_ID="t";var HYDRATE_ID="s-id";var HYDRATED_STYLE_ID="sty-id";var HYDRATE_CHILD_ID="c-id";var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var XLINK_NS="http://www.w3.org/1999/xlink";var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,n){var r=styles.get(e);if(supportsConstructibleStylesheets&&n){r=r||new CSSStyleSheet;r.replace(t)}else{r=t}styles.set(e,r)};var addStyle=function(e,t,n,r){var a=getScopeId(t);var o=styles.get(a);e=e.nodeType===11?e:doc;if(o){if(typeof o==="string"){e=e.head||e;var i=rootAppliedStyles.get(e);var s=void 0;if(!i){rootAppliedStyles.set(e,i=new Set)}if(!i.has(a)){if(e.host&&(s=e.querySelector("["+HYDRATED_STYLE_ID+'="'+a+'"]'))){s.innerHTML=o}else{{s=doc.createElement("style");s.innerHTML=o}e.insertBefore(s,e.querySelector("link"))}if(i){i.add(a)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[o])}}return a};var attachStyles=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var o=addStyle(supportsShadow&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=o;n.classList.add(o+"-h");if(r&2){n.classList.add(o+"-s")}}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var convertScopedToShadow=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var EMPTY_OBJ={};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var o=null;var i=null;var s=false;var l=false;var c=[];var $=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){$(a)}else if(a!=null&&typeof a!=="boolean"){if(s=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(s&&l){c[c.length-1].$text$+=a}else{c.push(s?newVNode(null,a):a)}l=s}}};$(n);if(t){if(t.key){o=t.key}if(t.name){i=t.name}{var f=t.className||t.class;if(f){t.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,c,vdomFnUtils)}var u=newVNode(e,null);u.$attrs$=t;if(c.length>0){u.$children$=c}{u.$key$=o}{u.$name$=i}return u};var newVNode=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{n.$attrs$=null}{n.$key$=null}{n.$name$=null}return n};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[]))}var n=newVNode(e.vtag,e.vtext);n.$attrs$=e.vattrs;n.$children$=e.vchildren;n.$key$=e.vkey;n.$name$=e.vname;return n};var setAccessor=function(e,t,n,r,a,o){if(n!==r){var i=isMemberInElement(e,t);var s=t.toLowerCase();if(t==="class"){var l=e.classList;var c=parseClassList(n);var $=parseClassList(r);l.remove.apply(l,c.filter((function(e){return e&&!$.includes(e)})));l.add.apply(l,$.filter((function(e){return e&&!c.includes(e)})))}else if(t==="style"){{for(var f in n){if(!r||r[f]==null){if(f.includes("-")){e.style.removeProperty(f)}else{e.style[f]=""}}}}for(var f in r){if(!n||r[f]!==n[f]){if(f.includes("-")){e.style.setProperty(f,r[f])}else{e.style[f]=r[f]}}}}else if(t==="key");else if(t==="ref"){if(r){r(e)}}else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,s)){t=s.slice(2)}else{t=s[2]+t.slice(3)}if(n){plt.rel(e,t,n,false)}if(r){plt.ael(e,t,r,false)}}else{var u=isComplexType(r);if((i||u&&r!==null)&&!a){try{if(!e.tagName.includes("-")){var d=r==null?"":r;if(t==="list"){i=false}else if(n==null||e[t]!=d){e[t]=d}}else{e[t]=r}}catch(p){}}var v=false;{if(s!==(s=s.replace(/^xlink\:?/,""))){t=s;v=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(v){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!i||o&4||a)&&!u){r=r===true?"":r;if(v){e.setAttributeNS(XLINK_NS,t,r)}else{e.setAttribute(t,r)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,t,n,r){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var o=e&&e.$attrs$||EMPTY_OBJ;var i=t.$attrs$||EMPTY_OBJ;{for(r in o){if(!(r in i)){setAccessor(a,r,o[r],undefined,n,t.$flags$)}}}for(r in i){setAccessor(a,r,o[r],i[r],n,t.$flags$)}};var createElm=function(e,t,n,r){var a=t.$children$[n];var o=0;var i;var s;var l;if(!useNativeShadowDom){checkSlotRelocate=true;if(a.$tag$==="slot"){if(scopeId){r.classList.add(scopeId+"-s")}a.$flags$|=a.$children$?2:1}}if(a.$text$!==null){i=a.$elm$=doc.createTextNode(a.$text$)}else if(a.$flags$&1){i=a.$elm$=doc.createTextNode("")}else{if(!isSvgMode){isSvgMode=a.$tag$==="svg"}i=a.$elm$=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,a.$flags$&2?"slot-fb":a.$tag$);if(isSvgMode&&a.$tag$==="foreignObject"){isSvgMode=false}{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&i["s-si"]!==scopeId){i.classList.add(i["s-si"]=scopeId)}if(a.$children$){for(o=0;o<a.$children$.length;++o){s=createElm(e,a,o,i);if(s){i.appendChild(s)}}}{if(a.$tag$==="svg"){isSvgMode=false}else if(i.tagName==="foreignObject"){isSvgMode=true}}}{i["s-hn"]=hostTagName;if(a.$flags$&(2|1)){i["s-sr"]=true;i["s-cr"]=contentRef;i["s-sn"]=a.$name$||"";l=e&&e.$children$&&e.$children$[n];if(l&&l.$tag$===a.$tag$&&e.$elm$){putBackInOriginalLocation(e.$elm$,false)}}}return i};var putBackInOriginalLocation=function(e,t){plt.$flags$|=1;var n=e.childNodes;for(var r=n.length-1;r>=0;r--){var a=n[r];if(a["s-hn"]!==hostTagName&&a["s-ol"]){parentReferenceNode(a).insertBefore(a,referenceNode(a));a["s-ol"].remove();a["s-ol"]=undefined;checkSlotRelocate=true}if(t){putBackInOriginalLocation(a,t)}}plt.$flags$&=~1};var addVnodes=function(e,t,n,r,a,o){var i=e["s-cr"]&&e["s-cr"].parentNode||e;var s;if(i.shadowRoot&&i.tagName===hostTagName){i=i.shadowRoot}for(;a<=o;++a){if(r[a]){s=createElm(null,n,a,e);if(s){r[a].$elm$=s;i.insertBefore(s,referenceNode(t))}}}};var removeVnodes=function(e,t,n,r,a){for(;t<=n;++t){if(r=e[t]){a=r.$elm$;callNodeRefs(r);{checkSlotFallbackVisibility=true;if(a["s-ol"]){a["s-ol"].remove()}else{putBackInOriginalLocation(a,true)}}a.remove()}}};var updateChildren=function(e,t,n,r){var a=0;var o=0;var i=0;var s=0;var l=t.length-1;var c=t[0];var $=t[l];var f=r.length-1;var u=r[0];var d=r[f];var v;var p;while(a<=l&&o<=f){if(c==null){c=t[++a]}else if($==null){$=t[--l]}else if(u==null){u=r[++o]}else if(d==null){d=r[--f]}else if(isSameVnode(c,u)){patch(c,u);c=t[++a];u=r[++o]}else if(isSameVnode($,d)){patch($,d);$=t[--l];d=r[--f]}else if(isSameVnode(c,d)){if(c.$tag$==="slot"||d.$tag$==="slot"){putBackInOriginalLocation(c.$elm$.parentNode,false)}patch(c,d);e.insertBefore(c.$elm$,$.$elm$.nextSibling);c=t[++a];d=r[--f]}else if(isSameVnode($,u)){if(c.$tag$==="slot"||d.$tag$==="slot"){putBackInOriginalLocation($.$elm$.parentNode,false)}patch($,u);e.insertBefore($.$elm$,c.$elm$);$=t[--l];u=r[++o]}else{i=-1;{for(s=a;s<=l;++s){if(t[s]&&t[s].$key$!==null&&t[s].$key$===u.$key$){i=s;break}}}if(i>=0){p=t[i];if(p.$tag$!==u.$tag$){v=createElm(t&&t[o],n,i,e)}else{patch(p,u);t[i]=undefined;v=p.$elm$}u=r[++o]}else{v=createElm(t&&t[o],n,o,e);u=r[++o]}if(v){{parentReferenceNode(c.$elm$).insertBefore(v,referenceNode(c.$elm$))}}}}if(a>l){addVnodes(e,r[f+1]==null?null:r[f+1].$elm$,n,r,o,f)}else if(o>f){removeVnodes(t,a,l)}};var isSameVnode=function(e,t){if(e.$tag$===t.$tag$){if(e.$tag$==="slot"){return e.$name$===t.$name$}{return e.$key$===t.$key$}}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var a=t.$children$;var o=t.$tag$;var i=t.$text$;var s;if(i===null){{isSvgMode=o==="svg"?true:o==="foreignObject"?false:isSvgMode}{if(o==="slot");else{updateElement(e,t,isSvgMode)}}if(r!==null&&a!==null){updateChildren(n,r,t,a)}else if(a!==null){if(e.$text$!==null){n.textContent=""}addVnodes(n,null,t,a,0,a.length-1)}else if(r!==null){removeVnodes(r,0,r.length-1)}if(isSvgMode&&o==="svg"){isSvgMode=false}}else if(s=n["s-cr"]){s.parentNode.textContent=i}else if(e.$text$!==i){n.data=i}};var updateFallbackSlotVisibility=function(e){var t=e.childNodes;var n;var r;var a;var o;var i;var s;for(r=0,a=t.length;r<a;r++){n=t[r];if(n.nodeType===1){if(n["s-sr"]){i=n["s-sn"];n.hidden=false;for(o=0;o<a;o++){s=t[o].nodeType;if(t[o]["s-hn"]!==n["s-hn"]||i!==""){if(s===1&&i===t[o].getAttribute("slot")){n.hidden=true;break}}else{if(s===1||s===3&&t[o].textContent.trim()!==""){n.hidden=true;break}}}}updateFallbackSlotVisibility(n)}}};var relocateNodes=[];var relocateSlotContent=function(e){var t;var n;var r;var a;var o;var i;var s=0;var l=e.childNodes;var c=l.length;for(;s<c;s++){t=l[s];if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){r=n.parentNode.childNodes;a=t["s-sn"];for(i=r.length-1;i>=0;i--){n=r[i];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]){if(isNodeLocatedInSlot(n,a)){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===n}));checkSlotFallbackVisibility=true;n["s-sn"]=n["s-sn"]||a;if(o){o.$slotRefNode$=t}else{relocateNodes.push({$slotRefNode$:t,$nodeToRelocate$:n})}if(n["s-sr"]){relocateNodes.map((function(e){if(isNodeLocatedInSlot(e.$nodeToRelocate$,n["s-sn"])){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===n}));if(o&&!e.$slotRefNode$){e.$slotRefNode$=o.$slotRefNode$}}}))}}else if(!relocateNodes.some((function(e){return e.$nodeToRelocate$===n}))){relocateNodes.push({$nodeToRelocate$:n})}}}}if(t.nodeType===1){relocateSlotContent(t)}}};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var callNodeRefs=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(callNodeRefs)}};var renderVdom=function(e,t){var n=e.$hostElement$;var r=e.$cmpMeta$;var a=e.$vnode$||newVNode(null,null);var o=isHost(t)?t:h(null,null,t);hostTagName=n.tagName;if(r.$attrsToReflect$){o.$attrs$=o.$attrs$||{};r.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return o.$attrs$[r]=n[t]}))}o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=a.$elm$=n.shadowRoot||n;{scopeId=n["s-sc"]}{contentRef=n["s-cr"];useNativeShadowDom=supportsShadow&&(r.$flags$&1)!==0;checkSlotFallbackVisibility=false}patch(a,o);{plt.$flags$|=1;if(checkSlotRelocate){relocateSlotContent(o.$elm$);var i=void 0;var s=void 0;var l=void 0;var c=void 0;var $=void 0;var f=void 0;var u=0;for(;u<relocateNodes.length;u++){i=relocateNodes[u];s=i.$nodeToRelocate$;if(!s["s-ol"]){l=doc.createTextNode("");l["s-nr"]=s;s.parentNode.insertBefore(s["s-ol"]=l,s)}}for(u=0;u<relocateNodes.length;u++){i=relocateNodes[u];s=i.$nodeToRelocate$;if(i.$slotRefNode$){c=i.$slotRefNode$.parentNode;$=i.$slotRefNode$.nextSibling;l=s["s-ol"];while(l=l.previousSibling){f=l["s-nr"];if(f&&f["s-sn"]===s["s-sn"]&&c===f.parentNode){f=f.nextSibling;if(!f||!f["s-nr"]){$=f;break}}}if(!$&&c!==s.parentNode||s.nextSibling!==$){if(s!==$){if(!s["s-hn"]&&s["s-ol"]){s["s-hn"]=s["s-ol"].parentNode.nodeName}c.insertBefore(s,$)}}}else{if(s.nodeType===1){s.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(o.$elm$)}plt.$flags$&=~1;relocateNodes.length=0}};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,n){var r=getElement(e);return{emit:function(e){return emitEvent(r,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}};var emitEvent=function(e,t,n){var r=plt.ce(t,n);e.dispatchEvent(r);return r};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var n=function(){return dispatchHooks(e,t)};return writeTask(n)};var dispatchHooks=function(e,t){var n=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return safeCall(r,t,n)}));e.$queuedListeners$=null}}{a=safeCall(r,"componentWillLoad")}}{a=then(a,(function(){return safeCall(r,"componentWillRender")}))}n();return then(a,(function(){return updateComponent(e,r,t)}))};var updateComponent=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,a,o,i,s,l;return __generator(this,(function(c){r=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=r["s-rc"];if(n){attachStyles(e)}i=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(o){o.map((function(e){return e()}));r["s-rc"]=undefined}i();a();{s=r["s-p"];l=function(){return postUpdateComponent(e)};if(s.length===0){l()}else{Promise.all(s).then(l);e.$flags$|=4;s.length=0}}return[2]}))}))};var callRender=function(e,t,n){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{renderVdom(e,t)}}}}catch(r){consoleError(r,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=createTime("postUpdate",t);var a=e.$lazyInstance$;var o=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(n)}{safeCall(a,"componentDidLoad")}r();{e.$onReadyResolve$(n);if(!o){appDidLoad()}}}else{{safeCall(a,"componentDidUpdate")}r()}{e.$onInstanceResolve$(n)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(r){consoleError(r)}}return undefined};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var initializeClientHydrate=function(e,t,n,r){var a=createTime("hydrateClient",t);var o=e.shadowRoot;var i=[];var s=[];var l=o?[]:null;var c=r.$vnode$=newVNode(t,null);if(!plt.$orgLocNodes$){initializeDocumentHydrate(doc.body,plt.$orgLocNodes$=new Map)}e[HYDRATE_ID]=n;e.removeAttribute(HYDRATE_ID);clientHydrate(c,i,s,l,e,e,n);i.map((function(e){var n=e.$hostId$+"."+e.$nodeId$;var r=plt.$orgLocNodes$.get(n);var a=e.$elm$;if(r&&supportsShadow&&r["s-en"]===""){r.parentNode.insertBefore(a,r.nextSibling)}if(!o){a["s-hn"]=t;if(r){a["s-ol"]=r;a["s-ol"]["s-nr"]=a}}plt.$orgLocNodes$.delete(n)}));if(o){l.map((function(e){if(e){o.appendChild(e)}}))}a()};var clientHydrate=function(e,t,n,r,a,o,i){var s;var l;var c;var $;if(o.nodeType===1){s=o.getAttribute(HYDRATE_CHILD_ID);if(s){l=s.split(".");if(l[0]===i||l[0]==="0"){c={$flags$:0,$hostId$:l[0],$nodeId$:l[1],$depth$:l[2],$index$:l[3],$tag$:o.tagName.toLowerCase(),$elm$:o,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push(c);o.removeAttribute(HYDRATE_CHILD_ID);if(!e.$children$){e.$children$=[]}e.$children$[c.$index$]=c;e=c;if(r&&c.$depth$==="0"){r[c.$index$]=c.$elm$}}}for($=o.childNodes.length-1;$>=0;$--){clientHydrate(e,t,n,r,a,o.childNodes[$],i)}if(o.shadowRoot){for($=o.shadowRoot.childNodes.length-1;$>=0;$--){clientHydrate(e,t,n,r,a,o.shadowRoot.childNodes[$],i)}}}else if(o.nodeType===8){l=o.nodeValue.split(".");if(l[1]===i||l[1]==="0"){s=l[0];c={$flags$:0,$hostId$:l[1],$nodeId$:l[2],$depth$:l[3],$index$:l[4],$elm$:o,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if(s===TEXT_NODE_ID){c.$elm$=o.nextSibling;if(c.$elm$&&c.$elm$.nodeType===3){c.$text$=c.$elm$.textContent;t.push(c);o.remove();if(!e.$children$){e.$children$=[]}e.$children$[c.$index$]=c;if(r&&c.$depth$==="0"){r[c.$index$]=c.$elm$}}}else if(c.$hostId$===i){if(s===SLOT_NODE_ID){c.$tag$="slot";if(l[5]){o["s-sn"]=c.$name$=l[5]}else{o["s-sn"]=""}o["s-sr"]=true;if(r){c.$elm$=doc.createElement(c.$tag$);if(c.$name$){c.$elm$.setAttribute("name",c.$name$)}o.parentNode.insertBefore(c.$elm$,o);o.remove();if(c.$depth$==="0"){r[c.$index$]=c.$elm$}}n.push(c);if(!e.$children$){e.$children$=[]}e.$children$[c.$index$]=c}else if(s===CONTENT_REF_ID){if(r){o.remove()}else{a["s-cr"]=o;o["s-cn"]=true}}}}}else if(e&&e.$tag$==="style"){var f=newVNode(null,o.textContent);f.$elm$=o;f.$index$="0";e.$children$=[f]}};var initializeDocumentHydrate=function(e,t){if(e.nodeType===1){var n=0;for(;n<e.childNodes.length;n++){initializeDocumentHydrate(e.childNodes[n],t)}if(e.shadowRoot){for(n=0;n<e.shadowRoot.childNodes.length;n++){initializeDocumentHydrate(e.shadowRoot.childNodes[n],t)}}}else if(e.nodeType===8){var r=e.nodeValue.split(".");if(r[0]===ORG_LOCATION_ID){t.set(r[1]+"."+r[2],e);e.nodeValue="";e["s-en"]=r[3]}}};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,n,r){var a=getHostRef(e);var o=a.$hostElement$;var i=a.$instanceValues$.get(t);var s=a.$flags$;var l=a.$lazyInstance$;n=parsePropertyValue(n,r.$members$[t][0]);if((!(s&8)||i===undefined)&&n!==i){a.$instanceValues$.set(t,n);if(l){if(r.$watchers$&&s&128){var c=r.$watchers$[t];if(c){c.map((function(e){try{l[e](n,i,t)}catch(r){consoleError(r,o)}}))}}if((s&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,n){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var r=Object.entries(t.$members$);var a=e.prototype;r.map((function(e){var r=e[0],o=e[1][0];if(o&31||n&2&&o&32){Object.defineProperty(a,r,{get:function(){return getValue(this,r)},set:function(e){setValue(this,r,e,t)},configurable:true,enumerable:true})}else if(n&1&&o&64){Object.defineProperty(a,r,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n=getHostRef(this);return n.$onInstancePromise$.then((function(){var t;return(t=n.$lazyInstance$)[r].apply(t,e)}))}})}}));if(n&1){var o=new Map;a.attributeChangedCallback=function(e,t,n){var r=this;plt.jmp((function(){var t=o.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}else if(a.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var a=r[1]||n;o.set(a,n);if(r[0]&512){t.$attrsToReflect$.push([n,a])}return a}))}}return e};var initializeComponent=function(e,t,n,r,a){return __awaiter(void 0,void 0,void 0,(function(){var e,r,o,i,s,l,c;return __generator(this,(function($){switch($.label){case 0:if(!((t.$flags$&32)===0))return[3,5];t.$flags$|=32;a=loadModule(n);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=$.sent();e();$.label=2;case 2:if(!a.isProxied){{n.$watchers$=a.watchers}proxyComponent(a,n,2);a.isProxied=true}r=createTime("createInstance",n.$tagName$);{t.$flags$|=8}try{new a(t)}catch(f){consoleError(f)}{t.$flags$&=~8}{t.$flags$|=128}r();fireConnectedCallback(t.$lazyInstance$);if(!a.style)return[3,5];o=a.style;i=getScopeId(n);if(!!styles.has(i))return[3,5];s=createTime("registerStyles",n.$tagName$);if(!(n.$flags$&8))return[3,4];return[4,import("./shadow-css-13d024f4.js").then((function(e){return e.scopeCss(o,i,false)}))];case 3:o=$.sent();$.label=4;case 4:registerStyle(i,o,!!(n.$flags$&1));s();$.label=5;case 5:l=t.$ancestorComponent$;c=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(c)}else{c()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$cmpMeta$;var r=createTime("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;var a=void 0;{a=e.getAttribute(HYDRATE_ID);if(a){if(supportsShadow&&n.$flags$&1){var o=addStyle(e.shadowRoot,n);e.classList.remove(o+"-h",o+"-s")}initializeClientHydrate(e,n.$tagName$,a,t)}}if(!a){if(n.$flags$&(4|8)){setContentReference(e)}}{var i=e;while(i=i.parentNode||i.host){if(i.nodeType===1&&i.hasAttribute("s-id")&&i["s-p"]||i["s-p"]){attachToAncestor(t,t.$ancestorComponent$=i);break}}}if(n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{nextTick((function(){return initializeComponent(e,t,n)}))}}else{addHostEventListeners(e,t,n.$listeners$);fireConnectedCallback(t.$lazyInstance$)}r()}};var setContentReference=function(e){var t=e["s-cr"]=doc.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{safeCall(n,"disconnectedCallback")}}};var patchChildSlotNodes=function(e,t){var n=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.item=function(e){return this[e]};return t}(Array);if(t.$flags$&8){var r=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get:function(){return this.childNodes.map((function(e){return e.nodeType===1}))}});Object.defineProperty(e,"childElementCount",{get:function(){return e.children.length}});Object.defineProperty(e,"childNodes",{get:function(){var e=r.call(this);if((plt.$flags$&1)===0&&getHostRef(this).$flags$&2){var t=new n;for(var a=0;a<e.length;a++){var o=e[a]["s-nr"];if(o){t.push(o)}}return t}return n.from(e)}})}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var n=createTime();var r=[];var a=t.exclude||[];var o=win.customElements;var i=doc.head;var s=i.querySelector("meta[charset]");var l=doc.createElement("style");var c=[];var $=doc.querySelectorAll("["+HYDRATED_STYLE_ID+"]");var f;var u=true;var d=0;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;{plt.$flags$|=2}{for(;d<$.length;d++){registerStyle($[d].getAttribute(HYDRATED_STYLE_ID),convertScopedToShadow($[d].innerHTML),true)}}e.map((function(e){e[1].map((function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{n.$members$=t[2]}{n.$listeners$=t[3]}{n.$attrsToReflect$=[]}{n.$watchers$={}}if(!supportsShadow&&n.$flags$&1){n.$flags$|=8}var i=n.$tagName$;var s=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;registerHost(t,n);if(n.$flags$&1){if(supportsShadow){{t.attachShadow({mode:"open",delegatesFocus:!!(n.$flags$&16)})}}else if(!("shadowRoot"in t)){t.shadowRoot=t}}{patchChildSlotNodes(t,n)}return r}t.prototype.connectedCallback=function(){var e=this;if(f){clearTimeout(f);f=null}if(u){c.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!a.includes(i)&&!o.get(i)){r.push(i);o.define(i,proxyComponent(s,n,1))}}))}));{l.innerHTML=r+HYDRATED_CSS;l.setAttribute("data-styles","");i.insertBefore(l,s?s.nextSibling:i.firstChild)}u=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return f=setTimeout(appDidLoad,30)}))}}n()};var Fragment=function(e,t){return t};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onInstancePromise$=new Promise((function(e){return n.$onInstanceResolve$=e}))}{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,n,t.$listeners$);return hostRefs.set(e,n)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,n){var r=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[r]}return import("./"+a+".entry.js"+"").then((function(e){{cmpModules.set(a,e)}return e[r]}),consoleError)};var styles=new Map;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(n){e.push(n);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(n){consoleError(n)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Env as E,Fragment as F,Host as H,NAMESPACE as N,bootstrapLazy as b,createEvent as c,doc as d,getElement as g,h,promiseResolve as p,registerInstance as r,win as w};
|
package/lib/esm-es5/loader.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-e8c7d36f.js";import{g as globalScripts}from"./app-globals-6641e444.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,a){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){globalScripts();return bootstrapLazy(JSON.parse('[["duet-choice_2",[[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",[[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",[[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",[[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",[[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",[[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",[[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",[[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",[[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",[[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",[[1,"duet-layout",{"sticky":[4],"margin":[1],"stickyDistance":[1,"sticky-distance"],"center":[4],"tabs":[4],"middle":[4]}]]],["duet-divider_2",[[1,"duet-divider",{"theme":[1025],"margin":[1]}],[1,"duet-spacer",{"size":[1],"direction":[1],"breakpoint":[1]}]]],["duet-visually-hidden",[[1,"duet-visually-hidden"]]],["duet-icon",[[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",[[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",[[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",[[1,"duet-cookie-consent",{"accessibleLabel":[1,"accessible-label"],"theme":[1025]}]]],["duet-step_2",[[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",[[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",[[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",[[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",[[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",[[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",[[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",[[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",[[1,"duet-empty-state",{"theme":[1025],"icon":[1],"size":[1]}]]],["duet-notification_2",[[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",[[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",[[1,"duet-upload-aria-status",{"statusMessageLabel":[16],"accessibleAriaLive":[1,"accessible-aria-live"],"valid":[2],"total":[2],"invalid":[2],"inprogress":[2],"statusMessage":[32]}]]],["duet-badge",[[1,"duet-badge",{"theme":[1025],"variation":[1],"margin":[1]}]]],["duet-header_2",[[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",[[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",[[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",[[2,"duet-editable-table-button",{"theme":[1025],"actions":[16],"uid":[1],"group":[1],"keyName":[1,"key-name"],"isHovering":[32]}]]],["duet-fieldset",[[1,"duet-fieldset",{"theme":[1025],"margin":[1],"caption":[1],"label":[1],"error":[1],"labelHidden":[4,"label-hidden"],"hasTooltip":[32]}]]],["duet-editable-table_4",[[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",[[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",[[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]}]]]]'),a)}))};export{defineCustomElements};
|
|
4
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-9ef5d3bc.js";import{g as globalScripts}from"./app-globals-6641e444.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,a){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){globalScripts();return bootstrapLazy(JSON.parse('[["duet-choice_2",[[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",[[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",[[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",[[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",[[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",[[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",[[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",[[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",[[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",[[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",[[1,"duet-layout",{"sticky":[4],"margin":[1],"stickyDistance":[1,"sticky-distance"],"center":[4],"tabs":[4],"middle":[4]}]]],["duet-divider_2",[[1,"duet-divider",{"theme":[1025],"margin":[1]}],[1,"duet-spacer",{"size":[1],"direction":[1],"breakpoint":[1]}]]],["duet-visually-hidden",[[1,"duet-visually-hidden"]]],["duet-icon",[[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",[[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",[[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",[[1,"duet-cookie-consent",{"accessibleLabel":[1,"accessible-label"],"theme":[1025]}]]],["duet-step_2",[[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",[[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",[[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",[[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",[[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",[[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",[[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",[[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",[[1,"duet-empty-state",{"theme":[1025],"icon":[1],"size":[1]}]]],["duet-notification_2",[[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",[[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",[[1,"duet-upload-aria-status",{"statusMessageLabel":[16],"accessibleAriaLive":[1,"accessible-aria-live"],"valid":[2],"total":[2],"invalid":[2],"inprogress":[2],"statusMessage":[32]}]]],["duet-badge",[[1,"duet-badge",{"theme":[1025],"variation":[1],"margin":[1]}]]],["duet-header_2",[[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",[[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",[[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",[[2,"duet-editable-table-button",{"theme":[1025],"actions":[16],"uid":[1],"group":[1],"keyName":[1,"key-name"],"isHovering":[32]}]]],["duet-fieldset",[[1,"duet-fieldset",{"theme":[1025],"margin":[1],"caption":[1],"label":[1],"error":[1],"labelHidden":[4,"label-hidden"],"hasTooltip":[32]}]]],["duet-editable-table_4",[[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",[[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",[[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]}]]]]'),a)}))};export{defineCustomElements};
|
|
File without changes
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import{t as tokens}from"./tokens.module-49cbf963.js";var allowedThemes=["turva"];function isDashCase(e){var o=e.includes("-");var r=e.includes(" ")||e.includes("_");var i=e.charAt(0)==="-";return o&&!r&&!i}function capitalize(e){if(e===void 0){e=""}return""+e.charAt(0).toUpperCase()+e.slice(1)}function lowerCaseFirst(e){if(e===void 0){e=""}return""+e.charAt(0).toLowerCase()+e.slice(1)}function camelize(e){if(e===void 0){e=""}var o=e.split("-");o.forEach((function(e,r){o[r]=capitalize(e)}));return o.join("")}function getTheme(e){if(e===void 0){e=""}if(allowedThemes.includes(e.toLowerCase())){return e.toLowerCase()}return""}function hasColor(e){if(e===void 0){e=""}return e.indexOf("Color")===0||e.indexOf("color")===0}function addColor(e){if(e===void 0){e=""}if(e&&!isDashCase(e)&&!hasColor(e)){return"color"+capitalize(e)}return e}function addTheme(e,o){var r=getTheme(o).length;if(r&&e.indexOf(o)===-1){return""+e+capitalize(o)}return e}function getColorByName(e,o){if(o===void 0){o=""}if(!e){return undefined}var r=convertToColorName(e);var i=convertToColorName(e,o);var t=tokens[i];if(!t){t=tokens[r]}return t}function convertToColorName(e,o){if(e===void 0){e=""}if(o===void 0){o=""}var r=e;var i=isDashCase(e);if(i){r=camelize(r)}r=addColor(r);r=addTheme(r,o);r=lowerCaseFirst(r);return r}export{getColorByName as g};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
var color_warning="rgb(247, 178, 40)";var color_gray_darker="rgb(101, 119, 135)";var color_gray_lighter="rgb(245, 248, 250)";var color_category_home="rgb(211, 36, 131)";var color_primary="rgb(0, 119, 179)";var color_category_vehicle="rgb(54, 74, 129)";var color_success="rgb(0, 135, 90)";var color_category_family="rgb(11, 114, 136)";var color_primary_lightest="rgb(243, 249, 252)";var color_primary_lighter="rgb(230, 242, 248)";var color_brand_blue="rgb(0, 161, 212)";var color_primary_dark="rgb(0, 77, 128)";var color_gray_lightest="rgb(255, 255, 255)";var color_category_finance="rgb(122, 1, 196)";var color_gray_dark="rgb(144, 149, 153)";var color_gray_light="rgb(225, 227, 230)";var color_secondary="rgb(0, 41, 77)";var color_category_pet="rgb(168, 1, 78)";var color_primary_light="rgb(205, 229, 241)";var color_category_travel="rgb(213, 66, 3)";var color_gray="rgb(207, 210, 212)";var color_danger="rgb(222, 35, 98)";var color_gray_darker_turva="rgb(68, 68, 69)";var color_gray_lighter_turva="rgb(245, 245, 247)";var color_category_home_turva="rgb(161, 10, 78)";var color_primary_turva="rgb(198, 12, 48)";var color_category_vehicle_turva="rgb(23, 28, 58)";var color_success_turva="rgb(8, 135, 78)";var color_primary_lightest_turva="rgb(252, 243, 244)";var color_category_family_turva="rgb(199, 12, 112)";var color_category_union_turva="rgb(169, 69, 124)";var color_primary_lighter_turva="rgb(249, 230, 234)";var color_primary_dark_turva="rgb(148, 9, 37)";var color_gray_lightest_turva="rgb(255, 255, 255)";var color_gray_dark_turva="rgb(116, 116, 117)";var color_gray_light_turva="rgb(228, 228, 230)";var color_brand_gray_turva="rgb(178, 180, 179)";var color_secondary_turva="rgb(23, 28, 58)";var color_primary_light_turva="rgb(244, 207, 214)";var color_category_travel_turva="rgb(9, 129, 148)";var color_gray_turva="rgb(207, 207, 209)";var color_danger_turva="rgb(224, 42, 13)";var color_warning_turva="rgb(250, 164, 15)";var color_data_07="rgb(192, 101, 247)";var color_data_08="rgb(0, 105, 191)";var color_data_09="rgb(19, 120, 53)";var color_data_10="rgb(179, 60, 24)";var color_data_11="rgb(13, 163, 166)";var color_data_01="rgb(122, 1, 196)";var color_data_12="rgb(11, 114, 136)";var color_data_02="rgb(0, 155, 204)";var color_data_13="rgb(179, 137, 24)";var color_data_03="rgb(27, 171, 75)";var color_data_14="rgb(128, 98, 17)";var color_data_04="rgb(255, 86, 34)";var color_data_15="rgb(0, 41, 77)";var color_data_05="rgb(245, 76, 154)";var color_data_06="rgb(194, 21, 101)";var font_weight_extra_bold="800";var letter_spacing_heading="-0.01rem";var font_family_heading_turva="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var font_family_text_turva="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var font_family_heading="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var font_family_text="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var font_weight_bold="700";var font_weight_normal="400";var font_weight_semi_bold="600";var font_size_xxxx_large="4.5rem";var font_size_xxx_large="3rem";var font_size_xx_large="2.25rem";var font_size_x_large="1.5rem";var font_size_large="1.25rem";var font_size_medium="1rem";var font_size_small="0.875rem";var font_size_x_small="0.75rem";var radius_sharp="0";var radius_default="4px";var radius_circle="50%";var radius_pill="20rem";var shadow_tooltip_turva="0 2px 10px 0 rgba(117, 117, 117, 0.13)";var shadow_default="0 2px 6px 0 rgba(0, 41, 77, 0.07)";var shadow_tooltip="0 2px 10px 0 rgba(0, 41, 77, 0.07)";var shadow_card_turva="0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)";var shadow_modal="0 2px 20px 0 rgba(0, 0, 0, 0.2)";var shadow_card="0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)";var shadow_hover_turva="0 2px 10px 0 rgba(117, 117, 117, 0.15)";var shadow_hover="0 2px 10px 0 rgba(0, 41, 77, 0.1)";var shadow_default_turva="0 2px 6px 0 rgba(117, 117, 117, 0.13)";var space_xx_small="4px";var space_large="20px";var space_x_small="8px";var space_xxx_small="2px";var space_small="12px";var space_medium="16px";var space_xx_large="36px";var space_xxxx_large="72px";var space_xxxxx_large="94px";var space_xxx_large="48px";var space_x_large="28px";var size_icon_xx_large="48px";var size_form_border="1px";var size_step_medium="40px";var size_button_min_width="8rem";var size_header="4rem";var size_icon_xxx_large="72px";var size_icon_x_large="36px";var size_icon_xx_small="10px";var size_step_small="30px";var size_navigation="3rem";var size_icon_large="30px";var size_layout_max_width="1110px";var size_tappable_square="48px";var size_icon_x_small="16px";var size_icon_xxx_small="7px";var size_button_border="2px";var size_button_tiny_border="1px";var size_icon_medium="24px";var size_icon_small="20px";var opacity_85="0.85";var opacity_75="0.75";var opacity_50="0.50";var opacity_30="0.30";var z_index_dropdown="600";var z_index_spinner="800";var z_index_default="1";var z_index_toast="500";var z_index_popup="950";var z_index_modal="900";var z_index_sticky="300";var z_index_masked="100";var z_index_deep="-999999";var z_index_overlay="700";var z_index_mask="200";var z_index_header="400";var line_height_medium="1.5";var line_height_small="1.25";var line_height_x_small="1.1";var transition_quickly="300ms ease";var transition_slowly="600ms ease";var media_query_xx_small="'(max-width: 22.5em)'";var media_query_x_small="'(max-width: 35.9375em)'";var media_query_small="'(min-width: 36em)'";var media_query_medium="'(min-width: 48em)'";var media_query_large="'(min-width: 62em)'";var media_query_x_large="'(min-width: 64.0625em)'";var media_query_xx_large="'(min-width: 76.25em)'";var media_query_xxx_large="'(min-width: 106.25em)'";var tokens={color_warning:color_warning,color_gray_darker:color_gray_darker,color_gray_lighter:color_gray_lighter,color_category_home:color_category_home,color_primary:color_primary,color_category_vehicle:color_category_vehicle,color_success:color_success,color_category_family:color_category_family,color_primary_lightest:color_primary_lightest,color_primary_lighter:color_primary_lighter,color_brand_blue:color_brand_blue,color_primary_dark:color_primary_dark,color_gray_lightest:color_gray_lightest,color_category_finance:color_category_finance,color_gray_dark:color_gray_dark,color_gray_light:color_gray_light,color_secondary:color_secondary,color_category_pet:color_category_pet,color_primary_light:color_primary_light,color_category_travel:color_category_travel,color_gray:color_gray,color_danger:color_danger,color_gray_darker_turva:color_gray_darker_turva,color_gray_lighter_turva:color_gray_lighter_turva,color_category_home_turva:color_category_home_turva,color_primary_turva:color_primary_turva,color_category_vehicle_turva:color_category_vehicle_turva,color_success_turva:color_success_turva,color_primary_lightest_turva:color_primary_lightest_turva,color_category_family_turva:color_category_family_turva,color_category_union_turva:color_category_union_turva,color_primary_lighter_turva:color_primary_lighter_turva,color_primary_dark_turva:color_primary_dark_turva,color_gray_lightest_turva:color_gray_lightest_turva,color_gray_dark_turva:color_gray_dark_turva,color_gray_light_turva:color_gray_light_turva,color_brand_gray_turva:color_brand_gray_turva,color_secondary_turva:color_secondary_turva,color_primary_light_turva:color_primary_light_turva,color_category_travel_turva:color_category_travel_turva,color_gray_turva:color_gray_turva,color_danger_turva:color_danger_turva,color_warning_turva:color_warning_turva,color_data_07:color_data_07,color_data_08:color_data_08,color_data_09:color_data_09,color_data_10:color_data_10,color_data_11:color_data_11,color_data_01:color_data_01,color_data_12:color_data_12,color_data_02:color_data_02,color_data_13:color_data_13,color_data_03:color_data_03,color_data_14:color_data_14,color_data_04:color_data_04,color_data_15:color_data_15,color_data_05:color_data_05,color_data_06:color_data_06,font_weight_extra_bold:font_weight_extra_bold,letter_spacing_heading:letter_spacing_heading,font_family_heading_turva:font_family_heading_turva,font_family_text_turva:font_family_text_turva,font_family_heading:font_family_heading,font_family_text:font_family_text,font_weight_bold:font_weight_bold,font_weight_normal:font_weight_normal,font_weight_semi_bold:font_weight_semi_bold,font_size_xxxx_large:font_size_xxxx_large,font_size_xxx_large:font_size_xxx_large,font_size_xx_large:font_size_xx_large,font_size_x_large:font_size_x_large,font_size_large:font_size_large,font_size_medium:font_size_medium,font_size_small:font_size_small,font_size_x_small:font_size_x_small,radius_sharp:radius_sharp,radius_default:radius_default,radius_circle:radius_circle,radius_pill:radius_pill,shadow_tooltip_turva:shadow_tooltip_turva,shadow_default:shadow_default,shadow_tooltip:shadow_tooltip,shadow_card_turva:shadow_card_turva,shadow_modal:shadow_modal,shadow_card:shadow_card,shadow_hover_turva:shadow_hover_turva,shadow_hover:shadow_hover,shadow_default_turva:shadow_default_turva,space_xx_small:space_xx_small,space_large:space_large,space_x_small:space_x_small,space_xxx_small:space_xxx_small,space_small:space_small,space_medium:space_medium,space_xx_large:space_xx_large,space_xxxx_large:space_xxxx_large,space_xxxxx_large:space_xxxxx_large,space_xxx_large:space_xxx_large,space_x_large:space_x_large,size_icon_xx_large:size_icon_xx_large,size_form_border:size_form_border,size_step_medium:size_step_medium,size_button_min_width:size_button_min_width,size_header:size_header,size_icon_xxx_large:size_icon_xxx_large,size_icon_x_large:size_icon_x_large,size_icon_xx_small:size_icon_xx_small,size_step_small:size_step_small,size_navigation:size_navigation,size_icon_large:size_icon_large,size_layout_max_width:size_layout_max_width,size_tappable_square:size_tappable_square,size_icon_x_small:size_icon_x_small,size_icon_xxx_small:size_icon_xxx_small,size_button_border:size_button_border,size_button_tiny_border:size_button_tiny_border,size_icon_medium:size_icon_medium,size_icon_small:size_icon_small,opacity_85:opacity_85,opacity_75:opacity_75,opacity_50:opacity_50,opacity_30:opacity_30,z_index_dropdown:z_index_dropdown,z_index_spinner:z_index_spinner,z_index_default:z_index_default,z_index_toast:z_index_toast,z_index_popup:z_index_popup,z_index_modal:z_index_modal,z_index_sticky:z_index_sticky,z_index_masked:z_index_masked,z_index_deep:z_index_deep,z_index_overlay:z_index_overlay,z_index_mask:z_index_mask,z_index_header:z_index_header,line_height_medium:line_height_medium,line_height_small:line_height_small,line_height_x_small:line_height_x_small,transition_quickly:transition_quickly,transition_slowly:transition_slowly,media_query_xx_small:media_query_xx_small,media_query_x_small:media_query_x_small,media_query_small:media_query_small,media_query_medium:media_query_medium,media_query_large:media_query_large,media_query_x_large:media_query_x_large,media_query_xx_large:media_query_xx_large,media_query_xxx_large:media_query_xxx_large};var tokens$1=Object.freeze({__proto__:null,color_warning:color_warning,color_gray_darker:color_gray_darker,color_gray_lighter:color_gray_lighter,color_category_home:color_category_home,color_primary:color_primary,color_category_vehicle:color_category_vehicle,color_success:color_success,color_category_family:color_category_family,color_primary_lightest:color_primary_lightest,color_primary_lighter:color_primary_lighter,color_brand_blue:color_brand_blue,color_primary_dark:color_primary_dark,color_gray_lightest:color_gray_lightest,color_category_finance:color_category_finance,color_gray_dark:color_gray_dark,color_gray_light:color_gray_light,color_secondary:color_secondary,color_category_pet:color_category_pet,color_primary_light:color_primary_light,color_category_travel:color_category_travel,color_gray:color_gray,color_danger:color_danger,color_gray_darker_turva:color_gray_darker_turva,color_gray_lighter_turva:color_gray_lighter_turva,color_category_home_turva:color_category_home_turva,color_primary_turva:color_primary_turva,color_category_vehicle_turva:color_category_vehicle_turva,color_success_turva:color_success_turva,color_primary_lightest_turva:color_primary_lightest_turva,color_category_family_turva:color_category_family_turva,color_category_union_turva:color_category_union_turva,color_primary_lighter_turva:color_primary_lighter_turva,color_primary_dark_turva:color_primary_dark_turva,color_gray_lightest_turva:color_gray_lightest_turva,color_gray_dark_turva:color_gray_dark_turva,color_gray_light_turva:color_gray_light_turva,color_brand_gray_turva:color_brand_gray_turva,color_secondary_turva:color_secondary_turva,color_primary_light_turva:color_primary_light_turva,color_category_travel_turva:color_category_travel_turva,color_gray_turva:color_gray_turva,color_danger_turva:color_danger_turva,color_warning_turva:color_warning_turva,color_data_07:color_data_07,color_data_08:color_data_08,color_data_09:color_data_09,color_data_10:color_data_10,color_data_11:color_data_11,color_data_01:color_data_01,color_data_12:color_data_12,color_data_02:color_data_02,color_data_13:color_data_13,color_data_03:color_data_03,color_data_14:color_data_14,color_data_04:color_data_04,color_data_15:color_data_15,color_data_05:color_data_05,color_data_06:color_data_06,font_weight_extra_bold:font_weight_extra_bold,letter_spacing_heading:letter_spacing_heading,font_family_heading_turva:font_family_heading_turva,font_family_text_turva:font_family_text_turva,font_family_heading:font_family_heading,font_family_text:font_family_text,font_weight_bold:font_weight_bold,font_weight_normal:font_weight_normal,font_weight_semi_bold:font_weight_semi_bold,font_size_xxxx_large:font_size_xxxx_large,font_size_xxx_large:font_size_xxx_large,font_size_xx_large:font_size_xx_large,font_size_x_large:font_size_x_large,font_size_large:font_size_large,font_size_medium:font_size_medium,font_size_small:font_size_small,font_size_x_small:font_size_x_small,radius_sharp:radius_sharp,radius_default:radius_default,radius_circle:radius_circle,radius_pill:radius_pill,shadow_tooltip_turva:shadow_tooltip_turva,shadow_default:shadow_default,shadow_tooltip:shadow_tooltip,shadow_card_turva:shadow_card_turva,shadow_modal:shadow_modal,shadow_card:shadow_card,shadow_hover_turva:shadow_hover_turva,shadow_hover:shadow_hover,shadow_default_turva:shadow_default_turva,space_xx_small:space_xx_small,space_large:space_large,space_x_small:space_x_small,space_xxx_small:space_xxx_small,space_small:space_small,space_medium:space_medium,space_xx_large:space_xx_large,space_xxxx_large:space_xxxx_large,space_xxxxx_large:space_xxxxx_large,space_xxx_large:space_xxx_large,space_x_large:space_x_large,size_icon_xx_large:size_icon_xx_large,size_form_border:size_form_border,size_step_medium:size_step_medium,size_button_min_width:size_button_min_width,size_header:size_header,size_icon_xxx_large:size_icon_xxx_large,size_icon_x_large:size_icon_x_large,size_icon_xx_small:size_icon_xx_small,size_step_small:size_step_small,size_navigation:size_navigation,size_icon_large:size_icon_large,size_layout_max_width:size_layout_max_width,size_tappable_square:size_tappable_square,size_icon_x_small:size_icon_x_small,size_icon_xxx_small:size_icon_xxx_small,size_button_border:size_button_border,size_button_tiny_border:size_button_tiny_border,size_icon_medium:size_icon_medium,size_icon_small:size_icon_small,opacity_85:opacity_85,opacity_75:opacity_75,opacity_50:opacity_50,opacity_30:opacity_30,z_index_dropdown:z_index_dropdown,z_index_spinner:z_index_spinner,z_index_default:z_index_default,z_index_toast:z_index_toast,z_index_popup:z_index_popup,z_index_modal:z_index_modal,z_index_sticky:z_index_sticky,z_index_masked:z_index_masked,z_index_deep:z_index_deep,z_index_overlay:z_index_overlay,z_index_mask:z_index_mask,z_index_header:z_index_header,line_height_medium:line_height_medium,line_height_small:line_height_small,line_height_x_small:line_height_x_small,transition_quickly:transition_quickly,transition_slowly:transition_slowly,media_query_xx_small:media_query_xx_small,media_query_x_small:media_query_x_small,media_query_small:media_query_small,media_query_medium:media_query_medium,media_query_large:media_query_large,media_query_x_large:media_query_x_large,media_query_xx_large:media_query_xx_large,media_query_xxx_large:media_query_xxx_large,default:tokens});export{media_query_medium as a,media_query_small as b,font_size_medium as f,media_query_large as m,tokens$1 as t};
|
package/lib/html.html-data.json
CHANGED
|
@@ -901,7 +901,7 @@
|
|
|
901
901
|
"name": "duet-collapsible",
|
|
902
902
|
"description": {
|
|
903
903
|
"kind": "markdown",
|
|
904
|
-
"value": "---\ntitle: Collapsible\nname: duet-collapsible\nstatus: ready\nplatforms: Web only\ninternationalization: Supported\naccessibility: Keyboard, Screen Reader\nreleased: 3.4.13\nssr: Supported\nintro: Collapsible is a disclosure component used to reveal additional content.\n It should contain a heading, followed by any additional content that is\n revealed on click.\ntags:\n - docs-components\nexamples:\n - name: collapsible\n code: This first example creates the actual URL and DOCS, hence it needs to be\n here.\n - name: Basic collapsible usage\n file: fixtures/duet-collapsible_basic_collapsible_usage.html\n - name: Multiple collapsible elements\n file: fixtures/duet-collapsible_multiple_collapsible_elements.html\n - name: Collapsible that is initially open\n file: fixtures/duet-collapsible_collapsible_that_is_initially_open.html\n - name: Collapsible using normal font-weight for heading\n file: fixtures/duet-collapsible_collapsible_using_normal_font-weight_for_heading.html\n - name: Collapsible using sizes\n file: fixtures/duet-collapsible_collapsible_using_sizes.html\n\n---\n\n<!-- usage -->"
|
|
904
|
+
"value": "---\ntitle: Collapsible\nname: duet-collapsible\nstatus: ready\nplatforms: Web only\ninternationalization: Supported\naccessibility: Keyboard, Screen Reader\nreleased: 3.4.13\nssr: Supported\nintro: Collapsible is a disclosure component used to reveal additional content.\n It should contain a heading, followed by any additional content that is\n revealed on click.\ntags:\n - docs-components\nexamples:\n - name: collapsible\n code: This first example creates the actual URL and DOCS, hence it needs to be\n here.\n - name: Basic collapsible usage\n file: fixtures/duet-collapsible_basic_collapsible_usage.html\n - name: Multiple collapsible elements\n file: fixtures/duet-collapsible_multiple_collapsible_elements.html\n - name: Collapsible that is initially open\n file: fixtures/duet-collapsible_collapsible_that_is_initially_open.html\n - name: Collapsible using normal font-weight for heading\n file: fixtures/duet-collapsible_collapsible_using_normal_font-weight_for_heading.html\n - name: Collapsible using sizes\n file: fixtures/duet-collapsible_collapsible_using_sizes.html\n - name: Part usage in collapsible\n file: fixtures/duet-collapsible_part.html\n\n---\n\n<!-- usage -->"
|
|
905
905
|
},
|
|
906
906
|
"attributes": [
|
|
907
907
|
{
|
|
@@ -1263,6 +1263,10 @@
|
|
|
1263
1263
|
"name": "actions",
|
|
1264
1264
|
"description": "Array of actions that are mapped via the map variable to the various groups defined in group."
|
|
1265
1265
|
},
|
|
1266
|
+
{
|
|
1267
|
+
"name": "alignment",
|
|
1268
|
+
"description": "Key used to set vertical alignment of action buttons"
|
|
1269
|
+
},
|
|
1266
1270
|
{
|
|
1267
1271
|
"name": "groups",
|
|
1268
1272
|
"description": "Array of group names that you want the editable table to display (can be used to hide or show groups depending on conditions)."
|
|
@@ -1325,6 +1329,10 @@
|
|
|
1325
1329
|
"value": "---\ntitle: Editable Table\nname: duet-editable-table\nstatus: ready\nplatforms: Web only\ninternationalization: Supported\naccessibility: Keyboard, Screen Reader\nreleased: 3.4.0\nssr: Supported\nintro: Editable Table is a functional component for enhancing tabular\n data with editable possibilities. It is based upon duet-table but is intended to take a \n Javascript Map of Records and map them into grouped sections \ndescription: It’s important to understand that this component only give you the tools to \n represent a map in a visual way, and connect various \"actions\" to each line item. \n What the line item is and which actions you choose to run are your decisions, \n any action given results an event that contains information about what action was \n clicked/pressed and which line item it originated from.\n The rest of any logic will have to be provided by you.\nexample_height: 400px\nexamples:\n - name: Editable table\n code: This first example creates the actual URL and DOCS, hence it needs to be\n here.\n - name: Editable table with custom groups and mappings\n file: fixtures/duet-editable-table_table_with_custom_groups_and_mappings.html\n - name: Editable table with hidden groups\n file: fixtures/duet-editable-table_table_with_hidden_groups.html\ntags:\n - docs-components\n\n---\n\n<!-- usage -->"
|
|
1326
1330
|
},
|
|
1327
1331
|
"attributes": [
|
|
1332
|
+
{
|
|
1333
|
+
"name": "alignment",
|
|
1334
|
+
"description": "Key used to set vertical alignment of action buttons"
|
|
1335
|
+
},
|
|
1328
1336
|
{
|
|
1329
1337
|
"name": "key-name",
|
|
1330
1338
|
"description": "Key used to identify item, when running actions"
|
|
@@ -1703,7 +1711,7 @@
|
|
|
1703
1711
|
"name": "duet-header",
|
|
1704
1712
|
"description": {
|
|
1705
1713
|
"kind": "markdown",
|
|
1706
|
-
"value": "---\ntitle: Header\nname: duet-header\nstatus: ready\nreleased: 3.0.0\ninternationalization: Supported\naccessibility: Keyboard, Screen Reader\nssr: Supported\ncategory: Navigation\nintro: Header is used to display the logo, primary navigation and utility menus.\n It’s always visible at the top of the interface and can be configured to show\n just the logo and a back link.\ndescription: Header contains your application’s primary navigation items that\n perform an action when clicked. Each action in the header should navigate to a\n href or trigger another action like a <a href=\"/components/modal/\">Modal\n overlay</a>.\nplatforms: Web only\ntags:\n - docs-components\nexamples:\n - name: header\n code: This first example creates the actual href and DOCS, hence it needs to be\n here.\n - name: Basic header with different options\n file: fixtures/duet-header_basic_header_with_different_options.html\n - name: Header in English without region and contact menu\n file: fixtures/duet-header_header_in_english_without_region_and_contact_menu.html\n - name: In Swedish with just the main navigation and logout link\n file: fixtures/duet-header_in_swedish_with_just_the_main_navigation_and_logout_link.html\n - name: Header showing only the logo and a back button\n file: fixtures/duet-header_header_showing_only_the_logo_and_a_back_button.html\n - name: Logged out version that only shows the logo and a login link\n file: fixtures/duet-header_logged_out_version_that_only_shows_the_logo_and_a_login_link.html\n - name: Passing arrays and objects to Header as JSON via attributes for SSR support\n file: fixtures/duet-header_passing_arrays_and_objects_to_header_as_json_via_attributes_for_ssr_support.html\n - name: Using the logo-utility slot\n file: fixtures/duet-header_using_the_logo-utility_slot.html\n\n---\n\n<!-- usage -->"
|
|
1714
|
+
"value": "---\ntitle: Header\nname: duet-header\nstatus: ready\nreleased: 3.0.0\ninternationalization: Supported\naccessibility: Keyboard, Screen Reader\nssr: Supported\ncategory: Navigation\nintro: Header is used to display the logo, primary navigation and utility menus.\n It’s always visible at the top of the interface and can be configured to show\n just the logo and a back link.\ndescription: Header contains your application’s primary navigation items that\n perform an action when clicked. Each action in the header should navigate to a\n href or trigger another action like a <a href=\"/components/modal/\">Modal\n overlay</a>.\nplatforms: Web only\ntags:\n - docs-components\nexamples:\n - name: header\n code: This first example creates the actual href and DOCS, hence it needs to be\n here.\n - name: Basic header with different options\n file: fixtures/duet-header_basic_header_with_different_options.html\n - name: Header in English without region and contact menu\n file: fixtures/duet-header_header_in_english_without_region_and_contact_menu.html\n - name: In Swedish with just the main navigation and logout link\n file: fixtures/duet-header_in_swedish_with_just_the_main_navigation_and_logout_link.html\n - name: Header showing only the logo and a back button\n file: fixtures/duet-header_header_showing_only_the_logo_and_a_back_button.html\n - name: Logged out version that only shows the logo and a login link\n file: fixtures/duet-header_logged_out_version_that_only_shows_the_logo_and_a_login_link.html\n - name: Passing arrays and objects to Header as JSON via attributes for SSR support\n file: fixtures/duet-header_passing_arrays_and_objects_to_header_as_json_via_attributes_for_ssr_support.html\n - name: Using the logo-utility slot\n file: fixtures/duet-header_using_the_logo-utility_slot.html\n - name: Multilevel header with different options\n file: fixtures/duet-header_multilevel_header_with_different_options.html\n - name: Multilevel header with different options and utility\n file: fixtures/duet-header_multilevel_header_with_different_options_and_utility.html\n\n---\n\n<!-- usage -->"
|
|
1707
1715
|
},
|
|
1708
1716
|
"attributes": [
|
|
1709
1717
|
{
|
|
@@ -1732,7 +1740,7 @@
|
|
|
1732
1740
|
},
|
|
1733
1741
|
{
|
|
1734
1742
|
"name": "contact",
|
|
1735
|
-
"description": "Label of the contact menu. If empty, contact menu will be hidden."
|
|
1743
|
+
"description": "Label of the contact menu. If empty, contact menu will be hidden.\nNote: not available in multilevel headers."
|
|
1736
1744
|
},
|
|
1737
1745
|
{
|
|
1738
1746
|
"name": "contact-items",
|
|
@@ -1740,11 +1748,11 @@
|
|
|
1740
1748
|
},
|
|
1741
1749
|
{
|
|
1742
1750
|
"name": "current-href",
|
|
1743
|
-
"description": "The href of the current page item that is shown as “active
|
|
1751
|
+
"description": "The href of the current page item that is shown as “active”.\nNote: not available in multilevel headers."
|
|
1744
1752
|
},
|
|
1745
1753
|
{
|
|
1746
1754
|
"name": "items",
|
|
1747
|
-
"description": "An array of items for the main navigation. Items have to include mandatory\n\"label\" and \"href\" fields to work. Additionally, you can pass an \"id\" that is\nadded as an HTML identifier for the element."
|
|
1755
|
+
"description": "An array of items for the main navigation. Items have to include mandatory\n\"label\" and \"href\" fields to work. Additionally, you can pass an \"id\" that is\nadded as an HTML identifier for the element, \"active\" boolean that makes item active,\n\"badge\" boolean to add notification badge next to the item and\n\"items\" array consisting of sub items that are allowed up to three levels."
|
|
1748
1756
|
},
|
|
1749
1757
|
{
|
|
1750
1758
|
"name": "language",
|
|
@@ -1771,11 +1779,15 @@
|
|
|
1771
1779
|
},
|
|
1772
1780
|
{
|
|
1773
1781
|
"name": "region",
|
|
1774
|
-
"description": "Region that is shown next to the logo. If empty, region will be hidden."
|
|
1782
|
+
"description": "Region that is shown next to the logo. If empty, region will be hidden.\nNote: not available in desktop multilevel header."
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"name": "search",
|
|
1786
|
+
"description": "An object that includes mandatory \"label\" and \"href\" fields for the\nsearch link. Additionally, you can pass an \"id\" that is added\nas an HTML identifier for the element. If nothing is passed, this link won’t\nbe shown."
|
|
1775
1787
|
},
|
|
1776
1788
|
{
|
|
1777
1789
|
"name": "session",
|
|
1778
|
-
"description": "An object that includes mandatory \"label\", \"href\" and \"type\" fields for the\nsession login/logout link. Additionally, you can pass an \"id\" that is added\nas an HTML identifier for the element
|
|
1790
|
+
"description": "An object that includes mandatory \"label\", \"href\" and \"type\" fields for the\nsession login/logout link. Additionally, you can pass an \"id\" that is added\nas an HTML identifier for the element.\nIf nothing is passed, this link won’t be shown."
|
|
1779
1791
|
},
|
|
1780
1792
|
{
|
|
1781
1793
|
"name": "skip-to-id",
|
|
@@ -1795,7 +1807,7 @@
|
|
|
1795
1807
|
},
|
|
1796
1808
|
{
|
|
1797
1809
|
"name": "user",
|
|
1798
|
-
"description": "An object that includes mandatory \"label\" and \"href\" fields for the user\nprofile link. Additionally, you can pass an \"id\" that is added as an HTML\nidentifier for the element. If nothing is passed, user won’t be shown."
|
|
1810
|
+
"description": "An object that includes mandatory \"label\" and \"href\" fields for the user\nprofile link. Additionally, you can pass an \"id\" that is added as an HTML\nidentifier for the element. If nothing is passed, user won’t be shown.\nNote: not available in multilevel headers."
|
|
1799
1811
|
}
|
|
1800
1812
|
],
|
|
1801
1813
|
"references": [
|
|
@@ -2513,7 +2525,7 @@
|
|
|
2513
2525
|
"name": "duet-link",
|
|
2514
2526
|
"description": {
|
|
2515
2527
|
"kind": "markdown",
|
|
2516
|
-
"value": "---\ntitle: Link\nname: duet-link\nstatus: ready\nreleased: 1.0.21\nplatforms: Web only\ninternationalization: Supported\naccessibility: Keyboard, Screen Reader\nssr: Supported\ncategory: Navigation\nintro: Links are used in content paragraphs to create pathways from one page to\n another. If you need a link with semi bold font-weight and/or icon, please use\n <a href=\"/components/button/\">Button component</a> instead.\nexamples:\n - name: link\n code: This first example creates the actual URL and DOCS, hence it needs to be\n here.\n - name: Default link\n file: fixtures/duet-link_default_link.html\n - name: Link that opens into new window\n file: fixtures/duet-link_link_that_opens_into_new_window.html\ntags:\n - docs-components\n\n---\n\n<!-- usage -->"
|
|
2528
|
+
"value": "---\ntitle: Link\nname: duet-link\nstatus: ready\nreleased: 1.0.21\nplatforms: Web only\ninternationalization: Supported\naccessibility: Keyboard, Screen Reader\nssr: Supported\ncategory: Navigation\nintro: Links are used in content paragraphs to create pathways from one page to\n another. If you need a link with semi bold font-weight and/or icon, please use\n <a href=\"/components/button/\">Button component</a> instead.\nexamples:\n - name: link\n code: This first example creates the actual URL and DOCS, hence it needs to be\n here.\n - name: Default link\n file: fixtures/duet-link_default_link.html\n - name: Link that opens into new window\n file: fixtures/duet-link_link_that_opens_into_new_window.html\n - name: Part usage in link\n file: fixtures/duet-link_part.html\ntags:\n - docs-components\n\n---\n\n<!-- usage -->"
|
|
2517
2529
|
},
|
|
2518
2530
|
"attributes": [
|
|
2519
2531
|
{
|
|
@@ -3209,7 +3221,7 @@
|
|
|
3209
3221
|
"name": "duet-paragraph",
|
|
3210
3222
|
"description": {
|
|
3211
3223
|
"kind": "markdown",
|
|
3212
|
-
"value": "---\ntitle: Paragraph\nname: duet-paragraph\nstatus: ready\nreleased: 1.3.0\ninternationalization: Supported\nssr: Supported\naccessibility: Keyboard, Screen Reader\ncategory: Text\nintro: Paragraphs are blocks of text separated from adjacent blocks by blank lines.\nplatforms: Web only\ntags:\n - docs-components\nexamples:\n - name: paragraph\n code: This first example creates the actual URL and DOCS, hence it needs to be\n here.\n - name: Default paragraph\n file: fixtures/duet-paragraph_default_paragraph.html\n - name: Intro paragraph\n file: fixtures/duet-paragraph_intro_paragraph.html\n - name: Small paragraph\n file: fixtures/duet-paragraph_small_paragraph.html\n - name: Paragraph using color token\n file: fixtures/duet-paragraph_paragraph_using_color_token.html \n - name: Paragraph using weight attribute\n file: fixtures/duet-paragraph_weights.html\n\n---\n\n<!-- usage -->"
|
|
3224
|
+
"value": "---\ntitle: Paragraph\nname: duet-paragraph\nstatus: ready\nreleased: 1.3.0\ninternationalization: Supported\nssr: Supported\naccessibility: Keyboard, Screen Reader\ncategory: Text\nintro: Paragraphs are blocks of text separated from adjacent blocks by blank lines.\nplatforms: Web only\ntags:\n - docs-components\nexamples:\n - name: paragraph\n code: This first example creates the actual URL and DOCS, hence it needs to be\n here.\n - name: Default paragraph\n file: fixtures/duet-paragraph_default_paragraph.html\n - name: Intro paragraph\n file: fixtures/duet-paragraph_intro_paragraph.html\n - name: Small paragraph\n file: fixtures/duet-paragraph_small_paragraph.html\n - name: Paragraph using color token\n file: fixtures/duet-paragraph_paragraph_using_color_token.html \n - name: Paragraph using weight attribute\n file: fixtures/duet-paragraph_weights.html\n - name: Part usage in paragraph\n file: fixtures/duet-paragraph_part.html\n\n---\n\n<!-- usage -->"
|
|
3213
3225
|
},
|
|
3214
3226
|
"attributes": [
|
|
3215
3227
|
{
|
|
@@ -4231,6 +4243,9 @@
|
|
|
4231
4243
|
"name": "variation",
|
|
4232
4244
|
"description": "Style variation of the table.",
|
|
4233
4245
|
"values": [
|
|
4246
|
+
{
|
|
4247
|
+
"name": "fixed"
|
|
4248
|
+
},
|
|
4234
4249
|
{
|
|
4235
4250
|
"name": "plain"
|
|
4236
4251
|
},
|
|
@@ -4686,6 +4701,10 @@
|
|
|
4686
4701
|
"name": "actions",
|
|
4687
4702
|
"description": "Default actions added to the internally used duet-editable-table"
|
|
4688
4703
|
},
|
|
4704
|
+
{
|
|
4705
|
+
"name": "alignment",
|
|
4706
|
+
"description": "Key used to set vertical alignment of action buttons"
|
|
4707
|
+
},
|
|
4689
4708
|
{
|
|
4690
4709
|
"name": "allowed-extensions",
|
|
4691
4710
|
"description": "A string of commaseperated file type values that are allowed"
|
|
@@ -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
|
}
|