@zanichelli/albe-web-components 6.4.0 → 6.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-0b49c192.js → index-e3299e0a.js} +225 -207
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header_2.cjs.entry.js +1 -1
- package/dist/cjs/z-app-switcher_2.cjs.entry.js +1 -1
- package/dist/cjs/z-app-topbar.cjs.entry.js +1 -1
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +1 -1
- package/dist/cjs/z-body_2.cjs.entry.js +1 -1
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-button.cjs.entry.js +1 -1
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +1 -1
- package/dist/cjs/z-combobox.cjs.entry.js +1 -1
- package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
- package/dist/cjs/z-cover-hero.cjs.entry.js +1 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/z-divider.cjs.entry.js +1 -1
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +3 -2
- package/dist/cjs/z-file.cjs.entry.js +1 -1
- package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
- package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
- package/dist/cjs/z-input_2.cjs.entry.js +2 -2
- package/dist/cjs/z-link.cjs.entry.js +1 -1
- package/dist/cjs/z-list_3.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
- package/dist/cjs/z-menu.cjs.entry.js +1 -1
- package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
- package/dist/cjs/z-modal-login.cjs.entry.js +1 -1
- package/dist/cjs/z-modal.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
- package/dist/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-offcanvas.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +1 -1
- package/dist/cjs/z-pagination.cjs.entry.js +1 -1
- package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket_3.cjs.entry.js +1 -1
- package/dist/cjs/z-popover.cjs.entry.js +1 -1
- package/dist/cjs/z-range-picker.cjs.entry.js +1 -1
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-select.cjs.entry.js +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
- package/dist/cjs/z-slideshow.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper.cjs.entry.js +1 -1
- package/dist/cjs/z-table-body.cjs.entry.js +1 -1
- package/dist/cjs/z-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/z-table-empty-box.cjs.entry.js +1 -1
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table-head.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header.cjs.entry.js +1 -1
- package/dist/cjs/z-table-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +1 -1
- package/dist/cjs/z-tag.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +1 -1
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/file-upload/z-file-upload/index.js +2 -1
- package/dist/collection/components/inputs/z-input/styles.css +2 -2
- package/dist/esm/{index-3517583d.js → index-a2ca4b97.js} +225 -207
- package/dist/esm/loader.js +2 -2
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/esm/z-app-header_2.entry.js +1 -1
- package/dist/esm/z-app-switcher_2.entry.js +1 -1
- package/dist/esm/z-app-topbar.entry.js +1 -1
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +1 -1
- package/dist/esm/z-body_2.entry.js +1 -1
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-button.entry.js +1 -1
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-carousel.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +1 -1
- package/dist/esm/z-combobox.entry.js +1 -1
- package/dist/esm/z-contextual-menu.entry.js +1 -1
- package/dist/esm/z-cover-hero.entry.js +1 -1
- package/dist/esm/z-date-picker.entry.js +1 -1
- package/dist/esm/z-divider.entry.js +1 -1
- package/dist/esm/z-dragdrop-area_2.entry.js +1 -1
- package/dist/esm/z-file-upload.entry.js +3 -2
- package/dist/esm/z-file.entry.js +1 -1
- package/dist/esm/z-ghost-loading.entry.js +1 -1
- package/dist/esm/z-icon-package.entry.js +1 -1
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +1 -1
- package/dist/esm/z-input_2.entry.js +2 -2
- package/dist/esm/z-link.entry.js +1 -1
- package/dist/esm/z-list_3.entry.js +1 -1
- package/dist/esm/z-menu-dropdown.entry.js +1 -1
- package/dist/esm/z-menu-section.entry.js +1 -1
- package/dist/esm/z-menu.entry.js +1 -1
- package/dist/esm/z-messages-pocket.entry.js +1 -1
- package/dist/esm/z-modal-login.entry.js +1 -1
- package/dist/esm/z-modal.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +1 -1
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +1 -1
- package/dist/esm/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card_4.entry.js +1 -1
- package/dist/esm/z-myz-list-item.entry.js +1 -1
- package/dist/esm/z-myz-list.entry.js +1 -1
- package/dist/esm/z-navigation-tab-link.entry.js +1 -1
- package/dist/esm/z-navigation-tab.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +1 -1
- package/dist/esm/z-notification.entry.js +1 -1
- package/dist/esm/z-offcanvas.entry.js +1 -1
- package/dist/esm/z-otp.entry.js +1 -1
- package/dist/esm/z-pagination.entry.js +1 -1
- package/dist/esm/z-panel-elem.entry.js +1 -1
- package/dist/esm/z-pocket-message.entry.js +1 -1
- package/dist/esm/z-pocket_3.entry.js +1 -1
- package/dist/esm/z-popover.entry.js +1 -1
- package/dist/esm/z-range-picker.entry.js +1 -1
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-select.entry.js +1 -1
- package/dist/esm/z-skip-to-content.entry.js +1 -1
- package/dist/esm/z-slideshow.entry.js +1 -1
- package/dist/esm/z-stepper-item.entry.js +1 -1
- package/dist/esm/z-stepper.entry.js +1 -1
- package/dist/esm/z-table-body.entry.js +1 -1
- package/dist/esm/z-table-cell.entry.js +1 -1
- package/dist/esm/z-table-empty-box.entry.js +1 -1
- package/dist/esm/z-table-expanded-row.entry.js +1 -1
- package/dist/esm/z-table-footer.entry.js +1 -1
- package/dist/esm/z-table-head.entry.js +1 -1
- package/dist/esm/z-table-header-row.entry.js +1 -1
- package/dist/esm/z-table-header.entry.js +1 -1
- package/dist/esm/z-table-row.entry.js +1 -1
- package/dist/esm/z-table-sticky-footer.entry.js +1 -1
- package/dist/esm/z-table.entry.js +1 -1
- package/dist/esm/z-tag.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +1 -1
- package/dist/esm/z-toggle-button.entry.js +1 -1
- package/dist/esm/z-toggle-switch.entry.js +1 -1
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/esm/z-user-dropdown.entry.js +1 -1
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/dist/web-components-library/{p-82c03635.entry.js → p-009c9f67.entry.js} +1 -1
- package/dist/web-components-library/{p-b2dc5cee.entry.js → p-01f001fd.entry.js} +1 -1
- package/dist/web-components-library/{p-f2f9134b.entry.js → p-05ced71c.entry.js} +1 -1
- package/dist/web-components-library/{p-348c5ada.entry.js → p-074ea569.entry.js} +1 -1
- package/{www/build/p-852f3031.entry.js → dist/web-components-library/p-07e18572.entry.js} +1 -1
- package/dist/web-components-library/{p-25d2f10b.entry.js → p-0843b0e7.entry.js} +1 -1
- package/dist/web-components-library/{p-d0f719a2.entry.js → p-0fa4b50b.entry.js} +1 -1
- package/dist/web-components-library/{p-11277636.entry.js → p-1b6279a6.entry.js} +1 -1
- package/dist/web-components-library/{p-f6b8bc8d.entry.js → p-1ba8d432.entry.js} +1 -1
- package/{www/build/p-e589999c.entry.js → dist/web-components-library/p-1cb23bbb.entry.js} +1 -1
- package/{www/build/p-29508ba1.entry.js → dist/web-components-library/p-20a3247c.entry.js} +1 -1
- package/dist/web-components-library/{p-c5056ee2.entry.js → p-214b6cee.entry.js} +1 -1
- package/dist/web-components-library/{p-45348cbc.entry.js → p-26f834e5.entry.js} +1 -1
- package/dist/web-components-library/{p-e7990dec.entry.js → p-279655eb.entry.js} +1 -1
- package/dist/web-components-library/{p-146d00a4.entry.js → p-2acd6a51.entry.js} +1 -1
- package/{www/build/p-be4dcede.entry.js → dist/web-components-library/p-2d1b6c3c.entry.js} +1 -1
- package/dist/web-components-library/{p-eb612914.entry.js → p-2efedcf4.entry.js} +1 -1
- package/dist/web-components-library/{p-6c63079c.entry.js → p-33352f9e.entry.js} +1 -1
- package/dist/web-components-library/{p-f0a63044.entry.js → p-344e7ae7.entry.js} +1 -1
- package/dist/web-components-library/{p-98f4fdb5.entry.js → p-34c26207.entry.js} +1 -1
- package/dist/web-components-library/{p-3b974737.entry.js → p-37e050bd.entry.js} +1 -1
- package/dist/web-components-library/{p-9aeb2e7a.entry.js → p-38a3cf3b.entry.js} +1 -1
- package/dist/web-components-library/{p-33a1112a.entry.js → p-3a468aa9.entry.js} +1 -1
- package/dist/web-components-library/{p-ff000765.entry.js → p-3be171d0.entry.js} +1 -1
- package/dist/web-components-library/{p-0617465e.entry.js → p-3c2d438b.entry.js} +1 -1
- package/{www/build/p-dee7b19b.entry.js → dist/web-components-library/p-3d9ecc23.entry.js} +1 -1
- package/dist/web-components-library/{p-4fe96235.entry.js → p-3f55dce6.entry.js} +1 -1
- package/dist/web-components-library/{p-2274996e.entry.js → p-411cbcd6.entry.js} +1 -1
- package/dist/web-components-library/{p-eddaa3ce.entry.js → p-475ca461.entry.js} +1 -1
- package/dist/web-components-library/{p-9c0df331.entry.js → p-4cd6c6f4.entry.js} +1 -1
- package/dist/web-components-library/{p-bffce318.entry.js → p-4e8fd5be.entry.js} +1 -1
- package/dist/web-components-library/{p-ea140c86.entry.js → p-51e308ca.entry.js} +1 -1
- package/dist/web-components-library/{p-79940e8f.entry.js → p-540c7d73.entry.js} +1 -1
- package/dist/web-components-library/{p-481db363.entry.js → p-547d3b1f.entry.js} +1 -1
- package/dist/web-components-library/{p-78ff0efe.entry.js → p-59cfee8d.entry.js} +1 -1
- package/dist/web-components-library/{p-14f11a64.entry.js → p-5b6d2bcf.entry.js} +1 -1
- package/dist/web-components-library/{p-a9cf8d5a.entry.js → p-5dd9a2c6.entry.js} +1 -1
- package/dist/web-components-library/{p-c4b70baa.entry.js → p-61424b8a.entry.js} +1 -1
- package/dist/web-components-library/{p-fb45f2b0.entry.js → p-67d6cfcb.entry.js} +1 -1
- package/dist/web-components-library/{p-dcea5be3.entry.js → p-682528b2.entry.js} +1 -1
- package/dist/web-components-library/{p-8db62c1c.entry.js → p-6b1a5309.entry.js} +1 -1
- package/dist/web-components-library/{p-ffacff3f.entry.js → p-735bdfa3.entry.js} +1 -1
- package/dist/web-components-library/{p-71ff9b83.entry.js → p-73c91de3.entry.js} +1 -1
- package/{www/build/p-04e21cfc.entry.js → dist/web-components-library/p-7af991f5.entry.js} +1 -1
- package/dist/web-components-library/{p-6a53a0d8.entry.js → p-810bd730.entry.js} +1 -1
- package/dist/web-components-library/{p-14088110.entry.js → p-8980398c.entry.js} +1 -1
- package/dist/web-components-library/{p-cb39beff.entry.js → p-8b960526.entry.js} +1 -1
- package/dist/web-components-library/{p-7191be2d.entry.js → p-8bf0844b.entry.js} +1 -1
- package/dist/web-components-library/{p-cc228556.entry.js → p-8c105bd1.entry.js} +1 -1
- package/{www/build/p-cabf67dc.entry.js → dist/web-components-library/p-8ffc17b7.entry.js} +1 -1
- package/dist/web-components-library/{p-309f0d89.entry.js → p-93dc6d51.entry.js} +1 -1
- package/dist/web-components-library/{p-8f8a9683.entry.js → p-95b8f109.entry.js} +1 -1
- package/{www/build/p-d4f61a8f.entry.js → dist/web-components-library/p-98c94e81.entry.js} +1 -1
- package/dist/web-components-library/{p-2808b914.entry.js → p-9965827d.entry.js} +1 -1
- package/dist/web-components-library/{p-bc28797e.entry.js → p-9c28b8fc.entry.js} +1 -1
- package/dist/web-components-library/{p-8a21c30e.entry.js → p-9c338aeb.entry.js} +1 -1
- package/dist/web-components-library/{p-c1c6988e.entry.js → p-9d03a7d6.entry.js} +1 -1
- package/dist/web-components-library/{p-ae2dd723.entry.js → p-9d57a84c.entry.js} +1 -1
- package/dist/web-components-library/{p-90f3dc7f.entry.js → p-9ed27651.entry.js} +1 -1
- package/dist/web-components-library/{p-23cf5ac4.entry.js → p-a2b67e2d.entry.js} +1 -1
- package/dist/web-components-library/{p-88b9d5b4.entry.js → p-a79d1412.entry.js} +1 -1
- package/{www/build/p-7c415bfe.entry.js → dist/web-components-library/p-a82ea410.entry.js} +1 -1
- package/dist/web-components-library/{p-c5ecf36a.entry.js → p-af4d1987.entry.js} +1 -1
- package/dist/web-components-library/{p-ddd1a2f9.entry.js → p-b17981a4.entry.js} +1 -1
- package/dist/web-components-library/{p-8709db71.entry.js → p-b33f5e6a.entry.js} +1 -1
- package/dist/web-components-library/{p-de98b941.entry.js → p-b6f36170.entry.js} +1 -1
- package/dist/web-components-library/{p-c0d382bc.entry.js → p-bb0fe7bc.entry.js} +1 -1
- package/{www/build/p-2bf3dfd8.entry.js → dist/web-components-library/p-bdc6f2e5.entry.js} +1 -1
- package/dist/web-components-library/{p-822a2027.entry.js → p-beba3e67.entry.js} +1 -1
- package/dist/web-components-library/{p-c7fdb1ba.entry.js → p-c25b0b2a.entry.js} +1 -1
- package/dist/web-components-library/{p-363c7e45.entry.js → p-c4417a91.entry.js} +1 -1
- package/dist/web-components-library/p-c6aad085.entry.js +1 -0
- package/dist/web-components-library/{p-48134f75.entry.js → p-ce83ce18.entry.js} +1 -1
- package/dist/web-components-library/p-d17ebc2f.js +2 -0
- package/dist/web-components-library/{p-0a03d96b.entry.js → p-e40b16fa.entry.js} +1 -1
- package/dist/web-components-library/{p-2acf124c.entry.js → p-eaa4eba8.entry.js} +1 -1
- package/dist/web-components-library/{p-a55ef7b5.entry.js → p-ede9fbf5.entry.js} +1 -1
- package/dist/web-components-library/{p-3e597061.entry.js → p-f0653e72.entry.js} +1 -1
- package/dist/web-components-library/{p-25769717.entry.js → p-f158d205.entry.js} +1 -1
- package/dist/web-components-library/{p-406d605a.entry.js → p-f20d1242.entry.js} +1 -1
- package/dist/web-components-library/p-f54f63e1.entry.js +1 -0
- package/dist/web-components-library/{p-3124aed0.entry.js → p-f95cc914.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.css +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +2 -2
- package/www/build/{p-82c03635.entry.js → p-009c9f67.entry.js} +1 -1
- package/www/build/{p-b2dc5cee.entry.js → p-01f001fd.entry.js} +1 -1
- package/www/build/{p-f2f9134b.entry.js → p-05ced71c.entry.js} +1 -1
- package/www/build/{p-348c5ada.entry.js → p-074ea569.entry.js} +1 -1
- package/{dist/web-components-library/p-852f3031.entry.js → www/build/p-07e18572.entry.js} +1 -1
- package/www/build/{p-25d2f10b.entry.js → p-0843b0e7.entry.js} +1 -1
- package/www/build/{p-d0f719a2.entry.js → p-0fa4b50b.entry.js} +1 -1
- package/www/build/{p-e2c6535b.js → p-13cf5e67.js} +1 -1
- package/www/build/{p-11277636.entry.js → p-1b6279a6.entry.js} +1 -1
- package/www/build/{p-f6b8bc8d.entry.js → p-1ba8d432.entry.js} +1 -1
- package/{dist/web-components-library/p-e589999c.entry.js → www/build/p-1cb23bbb.entry.js} +1 -1
- package/{dist/web-components-library/p-29508ba1.entry.js → www/build/p-20a3247c.entry.js} +1 -1
- package/www/build/{p-c5056ee2.entry.js → p-214b6cee.entry.js} +1 -1
- package/www/build/{p-45348cbc.entry.js → p-26f834e5.entry.js} +1 -1
- package/www/build/{p-e7990dec.entry.js → p-279655eb.entry.js} +1 -1
- package/www/build/{p-146d00a4.entry.js → p-2acd6a51.entry.js} +1 -1
- package/{dist/web-components-library/p-be4dcede.entry.js → www/build/p-2d1b6c3c.entry.js} +1 -1
- package/www/build/{p-eb612914.entry.js → p-2efedcf4.entry.js} +1 -1
- package/www/build/{p-6c63079c.entry.js → p-33352f9e.entry.js} +1 -1
- package/www/build/{p-f0a63044.entry.js → p-344e7ae7.entry.js} +1 -1
- package/www/build/{p-98f4fdb5.entry.js → p-34c26207.entry.js} +1 -1
- package/www/build/{p-3b974737.entry.js → p-37e050bd.entry.js} +1 -1
- package/www/build/{p-9aeb2e7a.entry.js → p-38a3cf3b.entry.js} +1 -1
- package/www/build/{p-33a1112a.entry.js → p-3a468aa9.entry.js} +1 -1
- package/www/build/{p-ff000765.entry.js → p-3be171d0.entry.js} +1 -1
- package/www/build/{p-0617465e.entry.js → p-3c2d438b.entry.js} +1 -1
- package/{dist/web-components-library/p-dee7b19b.entry.js → www/build/p-3d9ecc23.entry.js} +1 -1
- package/www/build/{p-4fe96235.entry.js → p-3f55dce6.entry.js} +1 -1
- package/www/build/{p-2274996e.entry.js → p-411cbcd6.entry.js} +1 -1
- package/www/build/{p-eddaa3ce.entry.js → p-475ca461.entry.js} +1 -1
- package/www/build/p-4b159cbd.css +1 -0
- package/www/build/{p-9c0df331.entry.js → p-4cd6c6f4.entry.js} +1 -1
- package/www/build/{p-bffce318.entry.js → p-4e8fd5be.entry.js} +1 -1
- package/www/build/{p-ea140c86.entry.js → p-51e308ca.entry.js} +1 -1
- package/www/build/{p-79940e8f.entry.js → p-540c7d73.entry.js} +1 -1
- package/www/build/{p-481db363.entry.js → p-547d3b1f.entry.js} +1 -1
- package/www/build/{p-78ff0efe.entry.js → p-59cfee8d.entry.js} +1 -1
- package/www/build/{p-14f11a64.entry.js → p-5b6d2bcf.entry.js} +1 -1
- package/www/build/{p-a9cf8d5a.entry.js → p-5dd9a2c6.entry.js} +1 -1
- package/www/build/{p-c4b70baa.entry.js → p-61424b8a.entry.js} +1 -1
- package/www/build/{p-fb45f2b0.entry.js → p-67d6cfcb.entry.js} +1 -1
- package/www/build/{p-dcea5be3.entry.js → p-682528b2.entry.js} +1 -1
- package/www/build/{p-8db62c1c.entry.js → p-6b1a5309.entry.js} +1 -1
- package/www/build/{p-ffacff3f.entry.js → p-735bdfa3.entry.js} +1 -1
- package/www/build/{p-71ff9b83.entry.js → p-73c91de3.entry.js} +1 -1
- package/{dist/web-components-library/p-04e21cfc.entry.js → www/build/p-7af991f5.entry.js} +1 -1
- package/www/build/{p-6a53a0d8.entry.js → p-810bd730.entry.js} +1 -1
- package/www/build/{p-14088110.entry.js → p-8980398c.entry.js} +1 -1
- package/www/build/{p-cb39beff.entry.js → p-8b960526.entry.js} +1 -1
- package/www/build/{p-7191be2d.entry.js → p-8bf0844b.entry.js} +1 -1
- package/www/build/{p-cc228556.entry.js → p-8c105bd1.entry.js} +1 -1
- package/{dist/web-components-library/p-cabf67dc.entry.js → www/build/p-8ffc17b7.entry.js} +1 -1
- package/www/build/{p-309f0d89.entry.js → p-93dc6d51.entry.js} +1 -1
- package/www/build/{p-8f8a9683.entry.js → p-95b8f109.entry.js} +1 -1
- package/{dist/web-components-library/p-d4f61a8f.entry.js → www/build/p-98c94e81.entry.js} +1 -1
- package/www/build/{p-2808b914.entry.js → p-9965827d.entry.js} +1 -1
- package/www/build/{p-bc28797e.entry.js → p-9c28b8fc.entry.js} +1 -1
- package/www/build/{p-8a21c30e.entry.js → p-9c338aeb.entry.js} +1 -1
- package/www/build/{p-c1c6988e.entry.js → p-9d03a7d6.entry.js} +1 -1
- package/www/build/{p-ae2dd723.entry.js → p-9d57a84c.entry.js} +1 -1
- package/www/build/{p-90f3dc7f.entry.js → p-9ed27651.entry.js} +1 -1
- package/www/build/{p-23cf5ac4.entry.js → p-a2b67e2d.entry.js} +1 -1
- package/www/build/{p-88b9d5b4.entry.js → p-a79d1412.entry.js} +1 -1
- package/{dist/web-components-library/p-7c415bfe.entry.js → www/build/p-a82ea410.entry.js} +1 -1
- package/www/build/{p-c5ecf36a.entry.js → p-af4d1987.entry.js} +1 -1
- package/www/build/{p-ddd1a2f9.entry.js → p-b17981a4.entry.js} +1 -1
- package/www/build/{p-8709db71.entry.js → p-b33f5e6a.entry.js} +1 -1
- package/www/build/{p-de98b941.entry.js → p-b6f36170.entry.js} +1 -1
- package/www/build/{p-c0d382bc.entry.js → p-bb0fe7bc.entry.js} +1 -1
- package/{dist/web-components-library/p-2bf3dfd8.entry.js → www/build/p-bdc6f2e5.entry.js} +1 -1
- package/www/build/{p-822a2027.entry.js → p-beba3e67.entry.js} +1 -1
- package/www/build/{p-c7fdb1ba.entry.js → p-c25b0b2a.entry.js} +1 -1
- package/www/build/{p-363c7e45.entry.js → p-c4417a91.entry.js} +1 -1
- package/www/build/p-c6aad085.entry.js +1 -0
- package/www/build/{p-48134f75.entry.js → p-ce83ce18.entry.js} +1 -1
- package/www/build/p-d17ebc2f.js +2 -0
- package/www/build/{p-0a03d96b.entry.js → p-e40b16fa.entry.js} +1 -1
- package/www/build/{p-2acf124c.entry.js → p-eaa4eba8.entry.js} +1 -1
- package/www/build/{p-a55ef7b5.entry.js → p-ede9fbf5.entry.js} +1 -1
- package/www/build/{p-3e597061.entry.js → p-f0653e72.entry.js} +1 -1
- package/www/build/{p-25769717.entry.js → p-f158d205.entry.js} +1 -1
- package/www/build/{p-406d605a.entry.js → p-f20d1242.entry.js} +1 -1
- package/www/build/p-f54f63e1.entry.js +1 -0
- package/www/build/{p-3124aed0.entry.js → p-f95cc914.entry.js} +1 -1
- package/www/build/web-components-library.css +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/CHANGELOG.md +0 -2124
- package/dist/web-components-library/p-87942fb9.entry.js +0 -1
- package/dist/web-components-library/p-b366ef8e.js +0 -2
- package/dist/web-components-library/p-e137a17f.entry.js +0 -1
- package/src-react/index.ts +0 -1
- package/www/build/p-4c9c83c0.css +0 -1
- package/www/build/p-87942fb9.entry.js +0 -1
- package/www/build/p-b366ef8e.js +0 -2
- package/www/build/p-e137a17f.entry.js +0 -1
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
const NAMESPACE = 'web-components-library';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Virtual DOM patching algorithm based on Snabbdom by
|
|
5
|
+
* Simon Friis Vindum (@paldepind)
|
|
6
|
+
* Licensed under the MIT License
|
|
7
|
+
* https://github.com/snabbdom/snabbdom/blob/master/LICENSE
|
|
8
|
+
*
|
|
9
|
+
* Modified for Stencil's renderer and slot projection
|
|
10
|
+
*/
|
|
3
11
|
let scopeId;
|
|
4
12
|
let contentRef;
|
|
5
13
|
let hostTagName;
|
|
@@ -8,67 +16,6 @@ let checkSlotFallbackVisibility = false;
|
|
|
8
16
|
let checkSlotRelocate = false;
|
|
9
17
|
let isSvgMode = false;
|
|
10
18
|
let queuePending = false;
|
|
11
|
-
const win = typeof window !== 'undefined' ? window : {};
|
|
12
|
-
const doc = win.document || { head: {} };
|
|
13
|
-
const plt = {
|
|
14
|
-
$flags$: 0,
|
|
15
|
-
$resourcesUrl$: '',
|
|
16
|
-
jmp: (h) => h(),
|
|
17
|
-
raf: (h) => requestAnimationFrame(h),
|
|
18
|
-
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
19
|
-
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
20
|
-
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
21
|
-
};
|
|
22
|
-
const promiseResolve = (v) => Promise.resolve(v);
|
|
23
|
-
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
24
|
-
try {
|
|
25
|
-
new CSSStyleSheet();
|
|
26
|
-
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
27
|
-
}
|
|
28
|
-
catch (e) { }
|
|
29
|
-
return false;
|
|
30
|
-
})()
|
|
31
|
-
;
|
|
32
|
-
const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
33
|
-
if (listeners) {
|
|
34
|
-
listeners.map(([flags, name, method]) => {
|
|
35
|
-
const target = getHostListenerTarget(elm, flags) ;
|
|
36
|
-
const handler = hostListenerProxy(hostRef, method);
|
|
37
|
-
const opts = hostListenerOpts(flags);
|
|
38
|
-
plt.ael(target, name, handler, opts);
|
|
39
|
-
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
44
|
-
try {
|
|
45
|
-
{
|
|
46
|
-
if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
|
|
47
|
-
// instance is ready, let's call it's member method for this event
|
|
48
|
-
hostRef.$lazyInstance$[methodName](ev);
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
catch (e) {
|
|
56
|
-
consoleError(e);
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
const getHostListenerTarget = (elm, flags) => {
|
|
60
|
-
if (flags & 4 /* LISTENER_FLAGS.TargetDocument */)
|
|
61
|
-
return doc;
|
|
62
|
-
if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
|
|
63
|
-
return win;
|
|
64
|
-
if (flags & 16 /* LISTENER_FLAGS.TargetBody */)
|
|
65
|
-
return doc.body;
|
|
66
|
-
return elm;
|
|
67
|
-
};
|
|
68
|
-
// prettier-ignore
|
|
69
|
-
const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
|
|
70
|
-
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
71
|
-
const XLINK_NS = 'http://www.w3.org/1999/xlink';
|
|
72
19
|
const createTime = (fnName, tagName = '') => {
|
|
73
20
|
{
|
|
74
21
|
return () => {
|
|
@@ -83,79 +30,8 @@ const uniqueTime = (key, measureText) => {
|
|
|
83
30
|
};
|
|
84
31
|
}
|
|
85
32
|
};
|
|
86
|
-
const
|
|
87
|
-
const
|
|
88
|
-
let style = styles.get(scopeId);
|
|
89
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
90
|
-
style = (style || new CSSStyleSheet());
|
|
91
|
-
if (typeof style === 'string') {
|
|
92
|
-
style = cssText;
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
style.replaceSync(cssText);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
style = cssText;
|
|
100
|
-
}
|
|
101
|
-
styles.set(scopeId, style);
|
|
102
|
-
};
|
|
103
|
-
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
104
|
-
let scopeId = getScopeId(cmpMeta);
|
|
105
|
-
const style = styles.get(scopeId);
|
|
106
|
-
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
107
|
-
// so the fallback is to always use the document for the root node in those cases
|
|
108
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
109
|
-
if (style) {
|
|
110
|
-
if (typeof style === 'string') {
|
|
111
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
112
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
113
|
-
let styleElm;
|
|
114
|
-
if (!appliedStyles) {
|
|
115
|
-
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
116
|
-
}
|
|
117
|
-
if (!appliedStyles.has(scopeId)) {
|
|
118
|
-
{
|
|
119
|
-
{
|
|
120
|
-
styleElm = doc.createElement('style');
|
|
121
|
-
styleElm.innerHTML = style;
|
|
122
|
-
}
|
|
123
|
-
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
124
|
-
}
|
|
125
|
-
if (appliedStyles) {
|
|
126
|
-
appliedStyles.add(scopeId);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
131
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
return scopeId;
|
|
135
|
-
};
|
|
136
|
-
const attachStyles = (hostRef) => {
|
|
137
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
138
|
-
const elm = hostRef.$hostElement$;
|
|
139
|
-
const flags = cmpMeta.$flags$;
|
|
140
|
-
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
141
|
-
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
142
|
-
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
143
|
-
// only required when we're NOT using native shadow dom (slot)
|
|
144
|
-
// or this browser doesn't support native shadow dom
|
|
145
|
-
// and this host element was NOT created with SSR
|
|
146
|
-
// let's pick out the inner content for slot projection
|
|
147
|
-
// create a node to represent where the original
|
|
148
|
-
// content was first placed, which is useful later on
|
|
149
|
-
// DOM WRITE!!
|
|
150
|
-
elm['s-sc'] = scopeId;
|
|
151
|
-
elm.classList.add(scopeId + '-h');
|
|
152
|
-
if (flags & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
|
|
153
|
-
elm.classList.add(scopeId + '-s');
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
endAttachStyles();
|
|
157
|
-
};
|
|
158
|
-
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
33
|
+
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
34
|
+
const XLINK_NS = 'http://www.w3.org/1999/xlink';
|
|
159
35
|
/**
|
|
160
36
|
* Default style mode id
|
|
161
37
|
*/
|
|
@@ -270,6 +146,152 @@ const newVNode = (tag, text) => {
|
|
|
270
146
|
};
|
|
271
147
|
const Host = {};
|
|
272
148
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
149
|
+
/**
|
|
150
|
+
* Parse a new property value for a given property type.
|
|
151
|
+
*
|
|
152
|
+
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
153
|
+
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
154
|
+
* 1. `any`, the type given to `propValue` in the function signature
|
|
155
|
+
* 2. the type stored from `propType`.
|
|
156
|
+
*
|
|
157
|
+
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
158
|
+
*
|
|
159
|
+
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
160
|
+
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
161
|
+
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
162
|
+
* ```tsx
|
|
163
|
+
* <my-cmp prop-val={0}></my-cmp>
|
|
164
|
+
* ```
|
|
165
|
+
*
|
|
166
|
+
* HTML prop values on the other hand, will always a string
|
|
167
|
+
*
|
|
168
|
+
* @param propValue the new value to coerce to some type
|
|
169
|
+
* @param propType the type of the prop, expressed as a binary number
|
|
170
|
+
* @returns the parsed/coerced value
|
|
171
|
+
*/
|
|
172
|
+
const parsePropertyValue = (propValue, propType) => {
|
|
173
|
+
// ensure this value is of the correct prop type
|
|
174
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
175
|
+
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
176
|
+
// per the HTML spec, any string value means it is a boolean true value
|
|
177
|
+
// but we'll cheat here and say that the string "false" is the boolean false
|
|
178
|
+
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
179
|
+
}
|
|
180
|
+
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
181
|
+
// force it to be a number
|
|
182
|
+
return parseFloat(propValue);
|
|
183
|
+
}
|
|
184
|
+
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
185
|
+
// could have been passed as a number or boolean
|
|
186
|
+
// but we still want it as a string
|
|
187
|
+
return String(propValue);
|
|
188
|
+
}
|
|
189
|
+
// redundant return here for better minification
|
|
190
|
+
return propValue;
|
|
191
|
+
}
|
|
192
|
+
// not sure exactly what type we want
|
|
193
|
+
// so no need to change to a different type
|
|
194
|
+
return propValue;
|
|
195
|
+
};
|
|
196
|
+
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
197
|
+
const createEvent = (ref, name, flags) => {
|
|
198
|
+
const elm = getElement(ref);
|
|
199
|
+
return {
|
|
200
|
+
emit: (detail) => {
|
|
201
|
+
return emitEvent(elm, name, {
|
|
202
|
+
bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
|
|
203
|
+
composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
|
|
204
|
+
cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
|
|
205
|
+
detail,
|
|
206
|
+
});
|
|
207
|
+
},
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* Helper function to create & dispatch a custom Event on a provided target
|
|
212
|
+
* @param elm the target of the Event
|
|
213
|
+
* @param name the name to give the custom Event
|
|
214
|
+
* @param opts options for configuring a custom Event
|
|
215
|
+
* @returns the custom Event
|
|
216
|
+
*/
|
|
217
|
+
const emitEvent = (elm, name, opts) => {
|
|
218
|
+
const ev = plt.ce(name, opts);
|
|
219
|
+
elm.dispatchEvent(ev);
|
|
220
|
+
return ev;
|
|
221
|
+
};
|
|
222
|
+
const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
|
|
223
|
+
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
224
|
+
let style = styles.get(scopeId);
|
|
225
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
226
|
+
style = (style || new CSSStyleSheet());
|
|
227
|
+
if (typeof style === 'string') {
|
|
228
|
+
style = cssText;
|
|
229
|
+
}
|
|
230
|
+
else {
|
|
231
|
+
style.replaceSync(cssText);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
else {
|
|
235
|
+
style = cssText;
|
|
236
|
+
}
|
|
237
|
+
styles.set(scopeId, style);
|
|
238
|
+
};
|
|
239
|
+
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
240
|
+
let scopeId = getScopeId(cmpMeta);
|
|
241
|
+
const style = styles.get(scopeId);
|
|
242
|
+
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
243
|
+
// so the fallback is to always use the document for the root node in those cases
|
|
244
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
245
|
+
if (style) {
|
|
246
|
+
if (typeof style === 'string') {
|
|
247
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
248
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
249
|
+
let styleElm;
|
|
250
|
+
if (!appliedStyles) {
|
|
251
|
+
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
252
|
+
}
|
|
253
|
+
if (!appliedStyles.has(scopeId)) {
|
|
254
|
+
{
|
|
255
|
+
{
|
|
256
|
+
styleElm = doc.createElement('style');
|
|
257
|
+
styleElm.innerHTML = style;
|
|
258
|
+
}
|
|
259
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
260
|
+
}
|
|
261
|
+
if (appliedStyles) {
|
|
262
|
+
appliedStyles.add(scopeId);
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
267
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
return scopeId;
|
|
271
|
+
};
|
|
272
|
+
const attachStyles = (hostRef) => {
|
|
273
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
274
|
+
const elm = hostRef.$hostElement$;
|
|
275
|
+
const flags = cmpMeta.$flags$;
|
|
276
|
+
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
277
|
+
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
278
|
+
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
279
|
+
// only required when we're NOT using native shadow dom (slot)
|
|
280
|
+
// or this browser doesn't support native shadow dom
|
|
281
|
+
// and this host element was NOT created with SSR
|
|
282
|
+
// let's pick out the inner content for slot projection
|
|
283
|
+
// create a node to represent where the original
|
|
284
|
+
// content was first placed, which is useful later on
|
|
285
|
+
// DOM WRITE!!
|
|
286
|
+
elm['s-sc'] = scopeId;
|
|
287
|
+
elm.classList.add(scopeId + '-h');
|
|
288
|
+
if (flags & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
|
|
289
|
+
elm.classList.add(scopeId + '-s');
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
endAttachStyles();
|
|
293
|
+
};
|
|
294
|
+
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
273
295
|
/**
|
|
274
296
|
* Production setAccessor() function based on Preact by
|
|
275
297
|
* Jason Miller (@developit)
|
|
@@ -1194,32 +1216,6 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
1194
1216
|
relocateNodes.length = 0;
|
|
1195
1217
|
}
|
|
1196
1218
|
};
|
|
1197
|
-
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
1198
|
-
const createEvent = (ref, name, flags) => {
|
|
1199
|
-
const elm = getElement(ref);
|
|
1200
|
-
return {
|
|
1201
|
-
emit: (detail) => {
|
|
1202
|
-
return emitEvent(elm, name, {
|
|
1203
|
-
bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
|
|
1204
|
-
composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
|
|
1205
|
-
cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
|
|
1206
|
-
detail,
|
|
1207
|
-
});
|
|
1208
|
-
},
|
|
1209
|
-
};
|
|
1210
|
-
};
|
|
1211
|
-
/**
|
|
1212
|
-
* Helper function to create & dispatch a custom Event on a provided target
|
|
1213
|
-
* @param elm the target of the Event
|
|
1214
|
-
* @param name the name to give the custom Event
|
|
1215
|
-
* @param opts options for configuring a custom Event
|
|
1216
|
-
* @returns the custom Event
|
|
1217
|
-
*/
|
|
1218
|
-
const emitEvent = (elm, name, opts) => {
|
|
1219
|
-
const ev = plt.ce(name, opts);
|
|
1220
|
-
elm.dispatchEvent(ev);
|
|
1221
|
-
return ev;
|
|
1222
|
-
};
|
|
1223
1219
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
1224
1220
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
1225
1221
|
ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
|
|
@@ -1402,53 +1398,6 @@ const then = (promise, thenFn) => {
|
|
|
1402
1398
|
};
|
|
1403
1399
|
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
1404
1400
|
;
|
|
1405
|
-
/**
|
|
1406
|
-
* Parse a new property value for a given property type.
|
|
1407
|
-
*
|
|
1408
|
-
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
1409
|
-
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
1410
|
-
* 1. `any`, the type given to `propValue` in the function signature
|
|
1411
|
-
* 2. the type stored from `propType`.
|
|
1412
|
-
*
|
|
1413
|
-
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
1414
|
-
*
|
|
1415
|
-
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
1416
|
-
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
1417
|
-
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
1418
|
-
* ```tsx
|
|
1419
|
-
* <my-cmp prop-val={0}></my-cmp>
|
|
1420
|
-
* ```
|
|
1421
|
-
*
|
|
1422
|
-
* HTML prop values on the other hand, will always a string
|
|
1423
|
-
*
|
|
1424
|
-
* @param propValue the new value to coerce to some type
|
|
1425
|
-
* @param propType the type of the prop, expressed as a binary number
|
|
1426
|
-
* @returns the parsed/coerced value
|
|
1427
|
-
*/
|
|
1428
|
-
const parsePropertyValue = (propValue, propType) => {
|
|
1429
|
-
// ensure this value is of the correct prop type
|
|
1430
|
-
if (propValue != null && !isComplexType(propValue)) {
|
|
1431
|
-
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
1432
|
-
// per the HTML spec, any string value means it is a boolean true value
|
|
1433
|
-
// but we'll cheat here and say that the string "false" is the boolean false
|
|
1434
|
-
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
1435
|
-
}
|
|
1436
|
-
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
1437
|
-
// force it to be a number
|
|
1438
|
-
return parseFloat(propValue);
|
|
1439
|
-
}
|
|
1440
|
-
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
1441
|
-
// could have been passed as a number or boolean
|
|
1442
|
-
// but we still want it as a string
|
|
1443
|
-
return String(propValue);
|
|
1444
|
-
}
|
|
1445
|
-
// redundant return here for better minification
|
|
1446
|
-
return propValue;
|
|
1447
|
-
}
|
|
1448
|
-
// not sure exactly what type we want
|
|
1449
|
-
// so no need to change to a different type
|
|
1450
|
-
return propValue;
|
|
1451
|
-
};
|
|
1452
1401
|
const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
1453
1402
|
const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
1454
1403
|
// check our new property value against our internal value
|
|
@@ -1492,6 +1441,16 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1492
1441
|
}
|
|
1493
1442
|
}
|
|
1494
1443
|
};
|
|
1444
|
+
/**
|
|
1445
|
+
* Attach a series of runtime constructs to a compiled Stencil component
|
|
1446
|
+
* constructor, including getters and setters for the `@Prop` and `@State`
|
|
1447
|
+
* decorators, callbacks for when attributes change, and so on.
|
|
1448
|
+
*
|
|
1449
|
+
* @param Cstr the constructor for a component that we need to process
|
|
1450
|
+
* @param cmpMeta metadata collected previously about the component
|
|
1451
|
+
* @param flags a number used to store a series of bit flags
|
|
1452
|
+
* @returns a reference to the same constructor passed in (but now mutated)
|
|
1453
|
+
*/
|
|
1495
1454
|
const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1496
1455
|
if (cmpMeta.$members$) {
|
|
1497
1456
|
if (Cstr.watchers) {
|
|
@@ -1855,6 +1814,44 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1855
1814
|
// Fallback appLoad event
|
|
1856
1815
|
endBootstrap();
|
|
1857
1816
|
};
|
|
1817
|
+
const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
1818
|
+
if (listeners) {
|
|
1819
|
+
listeners.map(([flags, name, method]) => {
|
|
1820
|
+
const target = getHostListenerTarget(elm, flags) ;
|
|
1821
|
+
const handler = hostListenerProxy(hostRef, method);
|
|
1822
|
+
const opts = hostListenerOpts(flags);
|
|
1823
|
+
plt.ael(target, name, handler, opts);
|
|
1824
|
+
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
|
1825
|
+
});
|
|
1826
|
+
}
|
|
1827
|
+
};
|
|
1828
|
+
const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
1829
|
+
try {
|
|
1830
|
+
{
|
|
1831
|
+
if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
|
|
1832
|
+
// instance is ready, let's call it's member method for this event
|
|
1833
|
+
hostRef.$lazyInstance$[methodName](ev);
|
|
1834
|
+
}
|
|
1835
|
+
else {
|
|
1836
|
+
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
|
1837
|
+
}
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1840
|
+
catch (e) {
|
|
1841
|
+
consoleError(e);
|
|
1842
|
+
}
|
|
1843
|
+
};
|
|
1844
|
+
const getHostListenerTarget = (elm, flags) => {
|
|
1845
|
+
if (flags & 4 /* LISTENER_FLAGS.TargetDocument */)
|
|
1846
|
+
return doc;
|
|
1847
|
+
if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
|
|
1848
|
+
return win;
|
|
1849
|
+
if (flags & 16 /* LISTENER_FLAGS.TargetBody */)
|
|
1850
|
+
return doc.body;
|
|
1851
|
+
return elm;
|
|
1852
|
+
};
|
|
1853
|
+
// prettier-ignore
|
|
1854
|
+
const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
|
|
1858
1855
|
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
1859
1856
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
1860
1857
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
@@ -2234,6 +2231,27 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2234
2231
|
}, consoleError);
|
|
2235
2232
|
};
|
|
2236
2233
|
const styles = /*@__PURE__*/ new Map();
|
|
2234
|
+
const win = typeof window !== 'undefined' ? window : {};
|
|
2235
|
+
const doc = win.document || { head: {} };
|
|
2236
|
+
const plt = {
|
|
2237
|
+
$flags$: 0,
|
|
2238
|
+
$resourcesUrl$: '',
|
|
2239
|
+
jmp: (h) => h(),
|
|
2240
|
+
raf: (h) => requestAnimationFrame(h),
|
|
2241
|
+
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
2242
|
+
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
2243
|
+
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
2244
|
+
};
|
|
2245
|
+
const promiseResolve = (v) => Promise.resolve(v);
|
|
2246
|
+
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
2247
|
+
try {
|
|
2248
|
+
new CSSStyleSheet();
|
|
2249
|
+
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
2250
|
+
}
|
|
2251
|
+
catch (e) { }
|
|
2252
|
+
return false;
|
|
2253
|
+
})()
|
|
2254
|
+
;
|
|
2237
2255
|
const queueDomReads = [];
|
|
2238
2256
|
const queueDomWrites = [];
|
|
2239
2257
|
const queueTask = (queue, write) => (cb) => {
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-a2ca4b97.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Patch Esm v2.18.
|
|
4
|
+
Stencil Client Patch Esm v2.18.1 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
const patchEsm = () => {
|
|
7
7
|
return promiseResolve();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@";function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
|
|
1
|
+
var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@",VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-a2ca4b97.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Patch Browser v2.18.
|
|
4
|
+
Stencil Client Patch Browser v2.18.1 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
const patchBrowser = () => {
|
|
7
7
|
const importMeta = import.meta.url;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-a2ca4b97.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{display:block;box-sizing:border-box;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);line-height:calc(var(--space-unit) * 2)}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{background:var(--color-success-inverse);fill:var(--color-success01)}:host>.warning{background:var(--color-warning-inverse);fill:var(--color-warning01)}:host>.error{background:var(--color-error-inverse);fill:var(--color-error01)}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-a2ca4b97.js';
|
|
2
2
|
import { B as ButtonVariant } from './index-968a240f.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = "html{scroll-behavior:smooth}z-anchor-navigation nav{display:none;flex-direction:column;justify-content:flex-start;row-gap:calc(var(--space-unit) / 2)}z-anchor-navigation[collapsed] nav{display:flex;margin-top:var(--space-unit)}z-anchor-navigation nav a{display:-webkit-box;overflow:clip;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);-webkit-box-orient:vertical;color:inherit;font-weight:inherit;-webkit-line-clamp:2;overflow-clip-margin:content-box;text-decoration:none}z-anchor-navigation nav * a:not(:only-child){padding-right:calc(var(--space-unit) * 5)}@supports not (overflow-clip-margin: content-box){z-anchor-navigation nav a{display:inline-block;overflow:hidden;-webkit-line-clamp:none;text-overflow:ellipsis;white-space:nowrap}}z-anchor-navigation nav>*{position:relative;border-left:var(--border-size-large) solid var(--color-surface04);color:var(--color-text01);font-family:var(--font-family-sans);transition:background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out}z-anchor-navigation nav>[current]{border-left-color:var(--color-primary01);color:var(--color-link-primary);font-weight:var(--font-sb)}z-anchor-navigation nav>*>*:is(z-button,button,z-icon){position:absolute;top:50%;right:0;transform:translateY(-50%);transition:opacity 0.3s ease-in-out}z-anchor-navigation nav button{padding:0;border:none;margin:0;background-color:transparent}z-anchor-navigation nav z-icon{--z-icon-width:16px;--z-icon-height:16px;display:flex;padding:calc(var(--space-unit) * 1.5);fill:var(--color-icon02)}@media (min-width: 768px){z-anchor-navigation z-button.toggle{display:none !important}z-anchor-navigation nav{display:flex}z-anchor-navigation nav a{outline:none}@media (hover: hover){z-anchor-navigation nav>*:hover{border-left-color:var(--color-hover-secondary);background-color:var(--color-hover-surface);color:var(--color-hover-link)}}z-anchor-navigation nav>*:is(:focus,:focus-within),z-anchor-navigation nav :is(z-icon,button):focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}z-anchor-navigation[hide-unselected] nav>*:not([current],:hover,:focus,:focus-within){color:transparent}z-anchor-navigation nav>*:not([current],:hover,:focus,:focus-within)>*:is(z-button,button,z-icon):not(:focus:focus-visible){opacity:0;pointer-events:none}@media (hover: none){z-anchor-navigation:not([hide-unselected]) nav>*>*:is(z-button,button,z-icon){opacity:1;pointer-events:all}}}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
2
|
import { I as ICONS } from './icons-56ca282c.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss$1 = ":host{--app-header-height:auto;--app-header-typography-1-size:24px;--app-header-typography-2-size:28px;--app-header-typography-3-size:32px;--app-header-typography-4-size:36px;--app-header-typography-5-size:42px;--app-header-typography-6-size:48px;--app-header-typography-7-size:54px;--app-header-typography-8-size:60px;--app-header-typography-9-size:68px;--app-header-typography-10-size:76px;--app-header-typography-11-size:84px;--app-header-typography-12-size:92px;--app-header-typography-1-lineheight:1.33;--app-header-typography-2-lineheight:1.29;--app-header-typography-3-lineheight:1.25;--app-header-typography-4-lineheight:1.24;--app-header-typography-5-lineheight:1.24;--app-header-typography-6-lineheight:1.25;--app-header-typography-7-lineheight:1.2;--app-header-typography-8-lineheight:1.26;--app-header-typography-9-lineheight:1.24;--app-header-typography-10-lineheight:1.26;--app-header-typography-11-lineheight:1.2;--app-header-typography-12-lineheight:1.2;--app-header-typography-1-tracking:calc(-0.2 / 1em);--app-header-typography-2-tracking:calc(-0.4 / 1em);--app-header-typography-3-tracking:calc(-0.6 / 1em);--app-header-typography-4-tracking:calc(-0.8 / 1em);--app-header-typography-5-tracking:calc(-1 / 1em);--app-header-typography-6-tracking:calc(-1.2 / 1em);--app-header-typography-7-tracking:calc(-1.4 / 1em);--app-header-typography-8-tracking:calc(-1.6 / 1em);--app-header-typography-9-tracking:calc(-1.8 / 1em);--app-header-typography-10-tracking:calc(-2 / 1em);--app-header-typography-11-tracking:calc(-2.2 / 1em);--app-header-typography-12-tracking:calc(-2.4 / 1em);--app-header-top-offset:48px;--app-header-drawer-trigger-size:calc(var(--space-unit) * 4);--app-header-bg:var(--color-white);--app-header-stucked-bg:var(--color-white);--app-header-text-color:var(--gray800);--app-header-stucked-text-color:var(--gray800);display:block;color:var(--app-header-text-color)}:host,*{box-sizing:border-box}.heading-panel{position:relative;display:flex;width:100%;height:var(--app-header-height);flex-direction:column;flex-grow:0;flex-shrink:0;align-items:baseline;justify-content:flex-start;padding:calc(var(--space-unit) * 2) var(--grid-mobile-margin);background:var(--app-header-bg)}:host(:empty) .heading-panel{padding:0}.heading-title{display:flex;max-width:100%;flex-direction:row;align-items:center}:host(:not([menu-length=\"0\"])) .heading-subtitle{padding-left:calc(var(--app-header-drawer-trigger-size) + (var(--space-unit) * 1.5))}.heading-stucked{position:fixed;z-index:20;top:var(--app-header-top-offset);left:0;display:flex;width:100%;max-width:100%;flex-direction:row;padding:var(--space-unit) var(--grid-mobile-margin);animation:slide-stucked-heading-in 250ms ease-out;background:var(--app-header-stucked-bg);box-shadow:var(--shadow-2);color:var(--app-header-stucked-text-color)}.heading-stucked .heading-title,.heading-stucked .heading-title>*,.heading-stucked .heading-title ::slotted([slot=\"stucked-title\"]){display:block;overflow:hidden;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.heading-stucked .heading-title>*,::slotted([slot=\"title\"]),::slotted([slot=\"stucked-title\"]){margin:0;font-family:\"IBM Plex Serif\", serif;font-size:var(--app-header-typography-3-size);font-weight:700;letter-spacing:var(--app-header-typography-3-tracking)}::slotted([slot=\"title\"]){line-height:1}::slotted([slot=\"subtitle\"]){margin:var(--space-unit) 0 0;font-family:var(--font-family-sans);font-size:20px;font-style:italic;font-weight:500;line-height:1.2}.heading-container{position:relative;z-index:1;display:flex;max-width:100%;flex-direction:column;align-items:flex-start;justify-content:flex-start;margin-right:auto}.menu-container{display:none;flex-flow:row wrap;align-items:baseline}.menu-container ::slotted([open]){position:relative;z-index:3}.menu-container ::slotted(*:not(:last-of-type)){margin-right:calc(var(--space-unit) * 4.5)}.drawer-trigger{padding:0;border:0;margin:0 calc(var(--space-unit) * 1.5) 0 0;appearance:none;background:none;border-radius:0;color:inherit;cursor:pointer}.drawer-trigger z-icon{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);fill:currentcolor}.drawer-container{position:fixed;z-index:100;top:var(--app-header-top-offset);left:0;width:100%;height:100%;pointer-events:none}.drawer-container .drawer-overlay{position:absolute;z-index:1;top:0;left:0;display:block;width:100%;height:100%;background:var(--gray900);opacity:0;pointer-events:none;transition:opacity 400ms ease-out}.drawer-panel{position:absolute;z-index:2;top:0;left:0;display:flex;width:375px;max-width:100%;height:100%;flex-direction:column;align-items:flex-start;padding:calc(var(--space-unit) * 2) var(--space-unit);background:var(--color-white);color:var(--gray800);pointer-events:none;transform:translate3d(-100%, 0, 0);transition:transform 400ms ease-out}.drawer-content{display:flex;overflow:auto;width:100%;flex:1 auto;flex-direction:column;padding:calc(var(--space-unit) * 0.5) var(--space-unit)}.drawer-content::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.drawer-content::-webkit-scrollbar-track{background-color:transparent}.drawer-content::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.drawer-content::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.drawer-content ::slotted(z-menu){width:100%}.drawer-content ::slotted(z-menu:not(:last-of-type)){margin-bottom:calc(var(--space-unit) * 2.5)}.drawer-close{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);padding:0;border:0;margin:0 0 calc(var(--space-unit) * 2.5) var(--space-unit);appearance:none;background:transparent;border-radius:0;color:inherit;cursor:pointer;fill:currentcolor;font-size:inherit;outline:none}.drawer-close:focus-visible{box-shadow:var(--shadow-focus-primary)}:host([drawer-open]) .drawer-container .drawer-overlay{opacity:0.7;pointer-events:all}:host([drawer-open]) .drawer-container .drawer-panel{pointer-events:all;transform:none}.hero-container{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%}:host([overlay]) .heading-panel .drawer-trigger z-icon,:host([overlay]) .heading-panel .heading-container,:host([overlay]) .heading-panel .menu-container{color:var(--color-white);fill:var(--color-white)}:host([overlay]) .heading-panel .menu-container ::slotted(z-menu:not([open])){--color-surface05:var(--color-white)}:host([overlay]) .hero-container::after{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%;background:var(--color-black);content:\"\";opacity:0.5}.hero-container img,.hero-container ::slotted(*){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top center;-webkit-user-drag:none}@media only screen and (min-width: 768px){.heading-panel{padding:calc(var(--space-unit) * 3) var(--grid-tablet-margin)}.heading-stucked{padding-right:var(--grid-tablet-margin);padding-left:var(--grid-tablet-margin)}:host(:not([flow=\"offcanvas\"])) .heading-subtitle{padding-left:0}:host(:not([flow=\"offcanvas\"])) .menu-container{display:flex}:host(:not([flow=\"offcanvas\"])) .heading-container .drawer-trigger{display:none}:host(:not([flow=\"offcanvas\"],[menu-length=\"0\"])) .heading-container:not(:last-child){margin-bottom:calc(var(--space-unit) * 3)}::slotted([slot=\"title\"]){font-size:var(--app-header-typography-6-size);letter-spacing:var(--app-header-typography-6-tracking)}::slotted([slot=\"subtitle\"]){margin-top:calc(var(--space-unit) * 1.5)}}@media only screen and (min-width: 1152px){.heading-panel,.heading-stucked{padding-right:var(--grid-desktop-margin);padding-left:var(--grid-desktop-margin)}:host(:not([flow=\"stack\"])) .heading-panel{flex-flow:row wrap}::slotted([slot=\"title\"]){margin-right:var(--grid-desktop-gutter);font-size:var(--app-header-typography-7-size);letter-spacing:var(--app-header-typography-7-tracking)}:host(:not([flow=\"offcanvas\"],[menu-length=\"0\"])) .heading-container:not(:last-child){margin-bottom:calc(var(--space-unit) * 2)}.menu-container{margin-top:var(--space-unit)}}@media only screen and (min-width: 1366px){.heading-panel,.heading-stucked{padding-right:var(--grid-wide-margin);padding-left:var(--grid-wide-margin)}::slotted([slot=\"title\"]){margin-right:var(--grid-wide-gutter);font-size:var(--app-header-typography-9-size);letter-spacing:var(--app-header-typography-9-tracking)}:host(:not([flow=\"offcanvas\"],[menu-length=\"0\"])) .heading-container:not(:last-child){margin-bottom:0}}@keyframes slide-stucked-heading-in{0%{transform:translate3d(0, -100%, 0)}100%{transform:none}}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-a2ca4b97.js';
|
|
2
2
|
import { T as ThemeVariant } from './index-968a240f.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss$1 = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}button{display:flex;align-content:center;justify-content:center;padding:0;border:none;background-color:transparent}button>z-icon{color:var(--bg-white);fill:currentcolor}button>z-icon.light{color:var(--bg-grey-900);fill:currentcolor}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-a2ca4b97.js';
|
|
2
2
|
import { T as ThemeVariant, f as DividerOrientation } from './index-968a240f.js';
|
|
3
3
|
import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-a2ca4b97.js';
|
|
2
2
|
import { A as AvatarSize } from './index-968a240f.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;background-color:var(--bg-grey-700);border-radius:50%;font-family:var(--font-family-sans);text-transform:uppercase}:host(.small),:host(.small)>img{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{width:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
2
|
import { t as tabletBreakpoint } from './breakpoints-c386984e.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host,button{max-width:100%}button{height:36px;padding:0 var(--space-unit);border:var(--border-size-medium) solid var(--myz-blue);background-color:var(--bg-white);border-radius:var(--border-radius);color:var(--myz-blue);cursor:pointer;fill:var(--myz-blue);outline:none}button::-moz-focus-inner{border:0}button:hover{border-color:var(--myz-blue-dark);color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);box-shadow:0 0 2px 2px var(--accent-dark);color:var(--myz-blue);fill:var(--myz-blue)}button:active{border-color:var(--myz-blue-light);box-shadow:0 2px 4px 0 rgb(0 0 0 / 40%);color:var(--myz-blue-light);fill:var(--myz-blue-light)}button.selected{border-color:var(--myz-blue-dark);background-color:var(--myz-blue-dark);color:var(--bg-white);fill:var(--bg-white)}button>label{display:flex;align-items:center;cursor:pointer;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}button>label>span.ellipsis{overflow:hidden;padding:0;margin:0;text-overflow:ellipsis;white-space:nowrap}button>label>span.counter{margin-right:calc(var(--space-unit) * 2);margin-left:calc(var(--space-unit) / 2)}button>label>span.sort{margin-right:var(--half-x1);white-space:nowrap}button>span{margin-right:calc(var(--space-unit) * 0.5);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-rg)}button>z-icon{padding-top:calc(var(--space-unit) * 0.5)}@media only screen and (min-width: 768px){:host,button{max-width:325px}}@media only screen and (min-width: 1025px){:host,button{max-width:490px}}";
|