@zanichelli/albe-web-components 2.41.1 → 2.42.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/CHANGELOG.md +43 -0
- package/dist/cjs/{index-ec1433b8.js → index-84b7063a.js} +3 -0
- package/dist/cjs/{index-15dc9f49.js → index-ef6dc2ee.js} +5 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-50477402.js → utils-d3a23e75.js} +3 -3
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header.cjs.entry.js +1 -1
- package/dist/cjs/z-app-switcher_10.cjs.entry.js +2 -2
- package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-avatar.cjs.entry.js +2 -2
- package/dist/cjs/z-body_2.cjs.entry.js +1 -1
- package/dist/cjs/z-button-filter_5.cjs.entry.js +3 -3
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-candybar.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js +3 -3
- package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -2
- package/dist/cjs/z-cookiebar.cjs.entry.js +2 -2
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +49 -0
- package/dist/cjs/z-file-upload.cjs.entry.js +169 -0
- package/dist/cjs/z-file.cjs.entry.js +53 -0
- package/dist/cjs/z-footer-link_3.cjs.entry.js +1 -1
- package/dist/cjs/z-footer.cjs.entry.js +2 -2
- 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-list_3.cjs.entry.js +2 -2
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/cjs/z-modal-login.cjs.entry.js +2 -2
- package/dist/cjs/z-modal.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-topbar.cjs.entry.js +2 -2
- package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
- package/dist/cjs/z-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-otp.cjs.entry.js +2 -2
- package/dist/cjs/z-pagination-bar.cjs.entry.js +3 -3
- package/dist/cjs/z-pagination-page.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 +3 -3
- package/dist/cjs/z-popover.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +3 -3
- package/dist/cjs/z-status-tag.cjs.entry.js +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/cjs/z-table-row.cjs.entry.js +2 -2
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +15 -9
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
- 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/beans/index.js +5 -0
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/buttons/z-toggle-switch/index.js +7 -3
- package/dist/collection/components/buttons/z-toggle-switch/styles.css +5 -1
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +52 -0
- package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +62 -0
- package/dist/collection/components/file-upload/z-file/index.js +109 -0
- package/dist/collection/components/file-upload/z-file/styles.css +61 -0
- package/dist/collection/components/file-upload/z-file-upload/index.js +329 -0
- package/dist/collection/components/file-upload/z-file-upload/styles.css +87 -0
- package/dist/collection/utils/utils.js +2 -2
- package/dist/esm/{index-1877eca4.js → index-90e18641.js} +3 -0
- package/dist/esm/{index-672bd95c.js → index-cda2110a.js} +6 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{utils-c01fe130.js → utils-436360f5.js} +3 -3
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-app-header.entry.js +1 -1
- package/dist/esm/z-app-switcher_10.entry.js +2 -2
- package/dist/esm/z-aria-alert.entry.js +2 -2
- package/dist/esm/z-avatar.entry.js +2 -2
- package/dist/esm/z-body_2.entry.js +1 -1
- package/dist/esm/z-button-filter_5.entry.js +3 -3
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-candybar.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +3 -3
- package/dist/esm/z-contextual-menu.entry.js +2 -2
- package/dist/esm/z-cookiebar.entry.js +2 -2
- package/dist/esm/z-dragdrop-area_2.entry.js +44 -0
- package/dist/esm/z-file-upload.entry.js +165 -0
- package/dist/esm/z-file.entry.js +49 -0
- package/dist/esm/z-footer-link_3.entry.js +1 -1
- package/dist/esm/z-footer.entry.js +2 -2
- 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-list_3.entry.js +2 -2
- package/dist/esm/z-menu-dropdown_2.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/z-modal-login.entry.js +2 -2
- package/dist/esm/z-modal.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +2 -2
- package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +2 -2
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +3 -3
- package/dist/esm/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card_4.entry.js +2 -2
- package/dist/esm/z-myz-list-item.entry.js +3 -3
- package/dist/esm/z-myz-topbar.entry.js +2 -2
- package/dist/esm/z-navigation-tab.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +2 -2
- package/dist/esm/z-notification.entry.js +2 -2
- package/dist/esm/z-otp.entry.js +2 -2
- package/dist/esm/z-pagination-bar.entry.js +3 -3
- package/dist/esm/z-pagination-page.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 +3 -3
- package/dist/esm/z-popover.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +3 -3
- package/dist/esm/z-status-tag.entry.js +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/esm/z-table-row.entry.js +2 -2
- package/dist/esm/z-table-sticky-footer.entry.js +1 -1
- package/dist/esm/z-table.entry.js +2 -2
- package/dist/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/esm/z-toast-notification.entry.js +2 -2
- package/dist/esm/z-toggle-button.entry.js +1 -1
- package/dist/esm/z-toggle-switch.entry.js +15 -9
- package/dist/esm/z-tooltip.entry.js +2 -2
- package/dist/esm/z-user-dropdown.entry.js +1 -1
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/beans/index.d.ts +4 -0
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +1 -1
- package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +9 -0
- package/dist/types/components/file-upload/z-file/index.d.ts +18 -0
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +49 -0
- package/dist/types/components.d.ts +102 -1
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-a56f935f.entry.js → p-02474663.entry.js} +1 -1
- package/{www/build/p-04daa863.entry.js → dist/web-components-library/p-104b70e5.entry.js} +1 -1
- package/dist/web-components-library/{p-a61ea96d.entry.js → p-105b82a6.entry.js} +1 -1
- package/dist/web-components-library/{p-0084ea9f.entry.js → p-21a85d4f.entry.js} +1 -1
- package/dist/web-components-library/{p-02fa9e81.entry.js → p-24d62d5d.entry.js} +1 -1
- package/{www/build/p-8b806916.entry.js → dist/web-components-library/p-26286e79.entry.js} +1 -1
- package/dist/web-components-library/{p-f78ddbf1.entry.js → p-2c836d42.entry.js} +1 -1
- package/dist/web-components-library/{p-1bd60c44.entry.js → p-2c8e542b.entry.js} +1 -1
- package/dist/web-components-library/{p-f9a31c55.entry.js → p-2d74660a.entry.js} +1 -1
- package/dist/web-components-library/{p-4e2763b2.entry.js → p-2edeb36b.entry.js} +1 -1
- package/dist/web-components-library/{p-8b780334.entry.js → p-32fbc96b.entry.js} +1 -1
- package/dist/web-components-library/{p-24a2ecc0.entry.js → p-3371604c.entry.js} +1 -1
- package/dist/web-components-library/{p-0293d6c6.entry.js → p-3fc438b7.entry.js} +1 -1
- package/dist/web-components-library/{p-dbbae18b.entry.js → p-41c5beec.entry.js} +1 -1
- package/dist/web-components-library/{p-61d066ee.entry.js → p-49fd1045.entry.js} +1 -1
- package/dist/web-components-library/{p-d2848d7c.entry.js → p-4aaf3433.entry.js} +1 -1
- package/dist/web-components-library/{p-979882a5.entry.js → p-4d9667dc.entry.js} +1 -1
- package/{www/build/p-c932e698.entry.js → dist/web-components-library/p-5590d187.entry.js} +1 -1
- package/dist/web-components-library/p-5651167f.entry.js +1 -0
- package/dist/web-components-library/{p-56fe8986.entry.js → p-5683fb4a.entry.js} +1 -1
- package/dist/web-components-library/{p-57aaa3d2.entry.js → p-5789bbe7.entry.js} +1 -1
- package/dist/web-components-library/{p-7d57c388.entry.js → p-578a5ad1.entry.js} +1 -1
- package/dist/web-components-library/p-5dfad268.entry.js +1 -0
- package/dist/web-components-library/{p-4b756d6a.entry.js → p-5e41c6c2.entry.js} +1 -1
- package/dist/web-components-library/{p-d1d26026.entry.js → p-6375f662.entry.js} +1 -1
- package/dist/web-components-library/{p-9a764099.entry.js → p-654c1830.entry.js} +1 -1
- package/dist/web-components-library/{p-8aa42057.entry.js → p-6baa8e33.entry.js} +1 -1
- package/dist/web-components-library/{p-2cc0c93f.entry.js → p-6bb8de3e.entry.js} +1 -1
- package/dist/web-components-library/{p-0b6bd214.entry.js → p-71e8c2af.entry.js} +1 -1
- package/dist/web-components-library/{p-b4981c43.entry.js → p-729a98ab.entry.js} +1 -1
- package/dist/web-components-library/{p-cdf09ad7.entry.js → p-78e26102.entry.js} +1 -1
- package/dist/web-components-library/{p-07938fc2.entry.js → p-7a3c0d01.entry.js} +1 -1
- package/dist/web-components-library/{p-40e6d79d.entry.js → p-7ebb03d8.entry.js} +1 -1
- package/dist/web-components-library/{p-b87c4984.entry.js → p-7f2fa336.entry.js} +1 -1
- package/dist/web-components-library/{p-3ea930a5.entry.js → p-83dda293.entry.js} +1 -1
- package/dist/web-components-library/{p-032bfb5c.entry.js → p-8537e37d.entry.js} +1 -1
- package/dist/web-components-library/{p-23c46ff2.entry.js → p-889bcfab.entry.js} +1 -1
- package/dist/web-components-library/{p-77610e66.entry.js → p-8ddeda29.entry.js} +1 -1
- package/dist/web-components-library/{p-761eb0ec.entry.js → p-9260abad.entry.js} +1 -1
- package/dist/web-components-library/{p-09ded8b4.entry.js → p-9352da73.entry.js} +1 -1
- package/{www/build/p-7bbf377b.entry.js → dist/web-components-library/p-9409540b.entry.js} +1 -1
- package/dist/web-components-library/{p-732213f9.entry.js → p-96da0513.entry.js} +1 -1
- package/dist/web-components-library/p-98268a57.js +1 -0
- package/{www/build/p-82b2c47c.entry.js → dist/web-components-library/p-98e15cf2.entry.js} +1 -1
- package/{www/build/p-5fb435ca.entry.js → dist/web-components-library/p-9c7cf598.entry.js} +1 -1
- package/dist/web-components-library/p-9dc8fdb1.entry.js +1 -0
- package/dist/web-components-library/{p-4c7189d2.entry.js → p-a61ee49c.entry.js} +1 -1
- package/dist/web-components-library/{p-779bc51a.entry.js → p-a759ab46.entry.js} +1 -1
- package/dist/web-components-library/p-a785ff38.entry.js +1 -0
- package/dist/web-components-library/p-a90d876c.entry.js +1 -0
- package/dist/web-components-library/{p-b4bc83ea.entry.js → p-a9eea65b.entry.js} +1 -1
- package/dist/web-components-library/{p-e697181c.entry.js → p-b359a48a.entry.js} +1 -1
- package/dist/web-components-library/{p-2c120632.entry.js → p-b48105a4.entry.js} +1 -1
- package/dist/web-components-library/{p-915f59a5.entry.js → p-b68c2b06.entry.js} +1 -1
- package/dist/web-components-library/{p-1584dfb4.entry.js → p-bc4df198.entry.js} +1 -1
- package/dist/web-components-library/{p-5ff60fcd.js → p-c17b64f1.js} +1 -1
- package/dist/web-components-library/{p-bd8a9e22.entry.js → p-c284139b.entry.js} +1 -1
- package/dist/web-components-library/p-c9c7071f.entry.js +1 -0
- package/dist/web-components-library/{p-b33f83f6.entry.js → p-caa452fc.entry.js} +1 -1
- package/dist/web-components-library/{p-bbc60b23.entry.js → p-cb13d050.entry.js} +1 -1
- package/dist/web-components-library/{p-706eb92e.entry.js → p-cf00f379.entry.js} +1 -1
- package/{www/build/p-af9c81d0.entry.js → dist/web-components-library/p-d39c0372.entry.js} +1 -1
- package/dist/web-components-library/{p-7e13c57d.entry.js → p-d4927410.entry.js} +1 -1
- package/dist/web-components-library/{p-8788a24f.entry.js → p-d59d1090.entry.js} +1 -1
- package/dist/web-components-library/p-d64c6f56.entry.js +1 -0
- package/dist/web-components-library/{p-ad105cb1.entry.js → p-d97dd15a.entry.js} +1 -1
- package/dist/web-components-library/{p-45cbf885.entry.js → p-e2560604.entry.js} +1 -1
- package/dist/web-components-library/p-e5602e1b.js +1 -0
- package/dist/web-components-library/p-f6a11970.entry.js +1 -0
- package/dist/web-components-library/{p-0948e843.entry.js → p-fc2043f7.entry.js} +1 -1
- package/{www/build/p-f0913e02.entry.js → dist/web-components-library/p-fc5bb8d5.entry.js} +1 -1
- package/{www/build/p-8680baaf.entry.js → dist/web-components-library/p-fd167bfb.entry.js} +1 -1
- package/dist/web-components-library/p-febe0261.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +2 -2
- package/react/components.d.ts +3 -0
- package/react/components.js +5 -2
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-a56f935f.entry.js → p-02474663.entry.js} +1 -1
- package/{dist/web-components-library/p-04daa863.entry.js → www/build/p-104b70e5.entry.js} +1 -1
- package/www/build/{p-a61ea96d.entry.js → p-105b82a6.entry.js} +1 -1
- package/www/build/{p-0084ea9f.entry.js → p-21a85d4f.entry.js} +1 -1
- package/www/build/{p-02fa9e81.entry.js → p-24d62d5d.entry.js} +1 -1
- package/{dist/web-components-library/p-8b806916.entry.js → www/build/p-26286e79.entry.js} +1 -1
- package/www/build/{p-f78ddbf1.entry.js → p-2c836d42.entry.js} +1 -1
- package/www/build/{p-1bd60c44.entry.js → p-2c8e542b.entry.js} +1 -1
- package/www/build/{p-f9a31c55.entry.js → p-2d74660a.entry.js} +1 -1
- package/www/build/{p-4e2763b2.entry.js → p-2edeb36b.entry.js} +1 -1
- package/www/build/{p-8b780334.entry.js → p-32fbc96b.entry.js} +1 -1
- package/www/build/{p-24a2ecc0.entry.js → p-3371604c.entry.js} +1 -1
- package/www/build/{p-0293d6c6.entry.js → p-3fc438b7.entry.js} +1 -1
- package/www/build/{p-dbbae18b.entry.js → p-41c5beec.entry.js} +1 -1
- package/www/build/{p-61d066ee.entry.js → p-49fd1045.entry.js} +1 -1
- package/www/build/{p-d2848d7c.entry.js → p-4aaf3433.entry.js} +1 -1
- package/www/build/{p-979882a5.entry.js → p-4d9667dc.entry.js} +1 -1
- package/{dist/web-components-library/p-c932e698.entry.js → www/build/p-5590d187.entry.js} +1 -1
- package/www/build/p-5651167f.entry.js +1 -0
- package/www/build/{p-56fe8986.entry.js → p-5683fb4a.entry.js} +1 -1
- package/www/build/{p-57aaa3d2.entry.js → p-5789bbe7.entry.js} +1 -1
- package/www/build/{p-7d57c388.entry.js → p-578a5ad1.entry.js} +1 -1
- package/www/build/p-5dfad268.entry.js +1 -0
- package/www/build/{p-4b756d6a.entry.js → p-5e41c6c2.entry.js} +1 -1
- package/www/build/{p-d1d26026.entry.js → p-6375f662.entry.js} +1 -1
- package/www/build/{p-9a764099.entry.js → p-654c1830.entry.js} +1 -1
- package/www/build/{p-8aa42057.entry.js → p-6baa8e33.entry.js} +1 -1
- package/www/build/{p-2cc0c93f.entry.js → p-6bb8de3e.entry.js} +1 -1
- package/www/build/{p-0b6bd214.entry.js → p-71e8c2af.entry.js} +1 -1
- package/www/build/{p-b4981c43.entry.js → p-729a98ab.entry.js} +1 -1
- package/www/build/{p-cdf09ad7.entry.js → p-78e26102.entry.js} +1 -1
- package/www/build/{p-07938fc2.entry.js → p-7a3c0d01.entry.js} +1 -1
- package/www/build/{p-40e6d79d.entry.js → p-7ebb03d8.entry.js} +1 -1
- package/www/build/{p-b87c4984.entry.js → p-7f2fa336.entry.js} +1 -1
- package/www/build/{p-3ea930a5.entry.js → p-83dda293.entry.js} +1 -1
- package/www/build/{p-032bfb5c.entry.js → p-8537e37d.entry.js} +1 -1
- package/www/build/{p-23c46ff2.entry.js → p-889bcfab.entry.js} +1 -1
- package/www/build/{p-77610e66.entry.js → p-8ddeda29.entry.js} +1 -1
- package/www/build/{p-761eb0ec.entry.js → p-9260abad.entry.js} +1 -1
- package/www/build/{p-09ded8b4.entry.js → p-9352da73.entry.js} +1 -1
- package/{dist/web-components-library/p-7bbf377b.entry.js → www/build/p-9409540b.entry.js} +1 -1
- package/www/build/{p-732213f9.entry.js → p-96da0513.entry.js} +1 -1
- package/www/build/p-98268a57.js +1 -0
- package/{dist/web-components-library/p-82b2c47c.entry.js → www/build/p-98e15cf2.entry.js} +1 -1
- package/{dist/web-components-library/p-5fb435ca.entry.js → www/build/p-9c7cf598.entry.js} +1 -1
- package/www/build/p-9dc8fdb1.entry.js +1 -0
- package/www/build/{p-4c7189d2.entry.js → p-a61ee49c.entry.js} +1 -1
- package/www/build/{p-779bc51a.entry.js → p-a759ab46.entry.js} +1 -1
- package/www/build/p-a785ff38.entry.js +1 -0
- package/www/build/p-a90d876c.entry.js +1 -0
- package/www/build/{p-b4bc83ea.entry.js → p-a9eea65b.entry.js} +1 -1
- package/www/build/{p-e697181c.entry.js → p-b359a48a.entry.js} +1 -1
- package/www/build/{p-2c120632.entry.js → p-b48105a4.entry.js} +1 -1
- package/www/build/{p-915f59a5.entry.js → p-b68c2b06.entry.js} +1 -1
- package/www/build/{p-1584dfb4.entry.js → p-bc4df198.entry.js} +1 -1
- package/www/build/{p-5ff60fcd.js → p-c17b64f1.js} +1 -1
- package/www/build/{p-bd8a9e22.entry.js → p-c284139b.entry.js} +1 -1
- package/www/build/p-c9c7071f.entry.js +1 -0
- package/www/build/{p-b33f83f6.entry.js → p-caa452fc.entry.js} +1 -1
- package/www/build/{p-bbc60b23.entry.js → p-cb13d050.entry.js} +1 -1
- package/www/build/{p-706eb92e.entry.js → p-cf00f379.entry.js} +1 -1
- package/{dist/web-components-library/p-af9c81d0.entry.js → www/build/p-d39c0372.entry.js} +1 -1
- package/www/build/{p-7e13c57d.entry.js → p-d4927410.entry.js} +1 -1
- package/www/build/{p-8788a24f.entry.js → p-d59d1090.entry.js} +1 -1
- package/www/build/p-d64c6f56.entry.js +1 -0
- package/www/build/{p-ad105cb1.entry.js → p-d97dd15a.entry.js} +1 -1
- package/www/build/{p-45cbf885.entry.js → p-e2560604.entry.js} +1 -1
- package/www/build/p-e5602e1b.js +1 -0
- package/www/build/p-f6a11970.entry.js +1 -0
- package/www/build/{p-0948e843.entry.js → p-fc2043f7.entry.js} +1 -1
- package/{dist/web-components-library/p-f0913e02.entry.js → www/build/p-fc5bb8d5.entry.js} +1 -1
- package/{dist/web-components-library/p-8680baaf.entry.js → www/build/p-fd167bfb.entry.js} +1 -1
- package/www/build/p-fe32c7fa.js +129 -0
- package/www/build/p-febe0261.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/www/pages/file-upload.html +236 -0
- package/dist/cjs/z-heading.cjs.entry.js +0 -17
- package/dist/esm/z-heading.entry.js +0 -13
- package/dist/web-components-library/p-3bbf16c8.entry.js +0 -1
- package/dist/web-components-library/p-56640ea6.js +0 -1
- package/dist/web-components-library/p-a321fe03.js +0 -1
- package/dist/web-components-library/p-c273c377.entry.js +0 -1
- package/dist/web-components-library/p-d0de0319.entry.js +0 -1
- package/dist/web-components-library/p-df58b251.entry.js +0 -1
- package/dist/web-components-library/p-e776d206.entry.js +0 -1
- package/dist/web-components-library/p-f52fb47b.entry.js +0 -1
- package/dist/web-components-library/p-f9e401fa.entry.js +0 -1
- package/www/build/p-1ef0dee5.js +0 -129
- package/www/build/p-3bbf16c8.entry.js +0 -1
- package/www/build/p-56640ea6.js +0 -1
- package/www/build/p-a321fe03.js +0 -1
- package/www/build/p-c273c377.entry.js +0 -1
- package/www/build/p-d0de0319.entry.js +0 -1
- package/www/build/p-df58b251.entry.js +0 -1
- package/www/build/p-e776d206.entry.js +0 -1
- package/www/build/p-f52fb47b.entry.js +0 -1
- package/www/build/p-f9e401fa.entry.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-90e18641.js';
|
|
2
|
+
import { q as ToastNotificationPositionsEnum } from './index-cda2110a.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);position:fixed;display:flex;flex-direction:column;flex-wrap:nowrap;z-index:10000;margin-bottom:calc(var(--space-unit) * 2);margin-top:calc(var(--space-unit) * 2)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host(.bottom-centre),:host(.bottom-right),:host(.bottom-left){justify-content:flex-end;align-items:flex-end;bottom:0}:host(.top-left),:host(.top-right),:host(.top-centre){justify-content:flex-start;align-items:flex-start;top:0}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host(.top-centre){justify-content:flex-start;align-items:center;top:0;left:50%;transform:translateX(-50%)}:host(.top-left){justify-content:flex-start;align-items:flex-start;top:0;left:0}:host(.top-right){justify-content:flex-start;align-items:flex-end;top:0;right:0}:host(.bottom-centre){justify-content:flex-end;align-items:center;bottom:0;left:50%;transform:translateX(-50%)}:host(.bottom-right){justify-content:flex-end;align-items:flex-end;bottom:0;right:0}:host(.bottom-left){justify-content:flex-end;align-items:flex-start;bottom:0;left:0}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-90e18641.js';
|
|
2
|
+
import { p as ToastNotificationTransitionsEnum } from './index-cda2110a.js';
|
|
3
3
|
import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
4
4
|
import { h as hammer } from './hammer-501342a9.js';
|
|
5
5
|
import './_commonjsHelpers-8b28c6fa.js';
|
|
@@ -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-90e18641.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = "button{font-family:var(--dashboard-font);font-weight:var(--font-sb);height:36px;border:var(--border-size-medium) solid;border-color:transparent;border-radius:var(--border-radius);color:var(--myz-blue);fill:var(--myz-blue);background-color:var(--bg-white);box-shadow:0px 0px 4px 0px rgba(0, 0, 0, 0.2);text-transform:uppercase;font-size:14px;outline:none;padding-left:0px;padding-right:calc(var(--space-unit) * 2);transition:all 200ms linear;cursor:pointer}button::-moz-focus-inner{border:0}button:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);color:var(--myz-blue);fill:var(--myz-blue);box-shadow:0px 0px 2px 2px var(--accent-dark)}button:active{border-color:var(--myz-blue-light);color:var(--myz-blue-light);fill:var(--myz-blue-light);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}button:disabled{color:var(--text-grey-700);fill:var(--text-grey-700)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";
|
|
4
4
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { r as randomId } from './utils-
|
|
3
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-90e18641.js';
|
|
2
|
+
import { r as randomId } from './utils-436360f5.js';
|
|
3
|
+
import { r as ZtoggleSwitchPositionEnum } from './index-cda2110a.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
|
-
const stylesCss = ".
|
|
6
|
+
const stylesCss = ".sc-z-toggle-switch-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:inline-flex}label.sc-z-toggle-switch{display:flex;align-items:center;flex-direction:row;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{letter-spacing:0;color:var(--color-text01)}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{display:flex;align-items:center}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{top:1px;left:1px;height:18px;width:calc(var(--space-unit) * 4);border-radius:var(--space-unit);color:var(--gray500);background-color:var(--gray500);position:relative;cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){outline:none;box-shadow:var(--shadow-focus-primary)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{top:1px;left:1px;position:absolute;display:flex;align-items:center;justify-content:center;margin:0;height:calc(var(--space-unit) * 2);width:calc(var(--space-unit) * 2);border-radius:7px;background-color:var(--color-white);box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type=\"checkbox\"].sc-z-toggle-switch{position:absolute;opacity:0;z-index:-1;pointer-events:none}";
|
|
7
7
|
|
|
8
8
|
const ZToggleSwitch = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -27,11 +27,17 @@ const ZToggleSwitch = class {
|
|
|
27
27
|
this.emitToggleClick();
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
return [
|
|
31
|
+
h("input", { id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }),
|
|
32
|
+
h("label", { htmlFor: this.htmlid, class: {
|
|
33
|
+
[this.labelPosition]: true,
|
|
34
|
+
disabled: this.disabled,
|
|
35
|
+
} }, h("span", null, h("slot", null)), h("span", { class: {
|
|
36
|
+
container: true,
|
|
37
|
+
disabled: this.disabled,
|
|
38
|
+
checked: this.checked,
|
|
39
|
+
} }, h("span", { class: "circle" }, this.checked && (h("z-icon", { width: 12, height: 12, name: "checkmark" }))))),
|
|
40
|
+
];
|
|
35
41
|
}
|
|
36
42
|
};
|
|
37
43
|
ZToggleSwitch.style = stylesCss;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-90e18641.js';
|
|
2
|
+
import { g as TooltipPosition } from './index-cda2110a.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--arrow-size:6px;--edge-offset:calc(-1 * (var(--arrow-size) + calc(var(--space-unit) * 2)));position:relative;display:none;align-items:center;justify-content:center;padding:var(--space-unit);min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);color:var(--z-tooltip-theme--text);fill:currentColor;font-family:var(--font-family-sans);text-align:center;border-radius:var(--border-radius-small);background:var(--z-tooltip-theme--surface);filter:drop-shadow(0 4px 8px var(--shadow-color-base));will-change:filter}:host(.legacy){display:inline-flex;padding:calc(var(--space-unit) * 2);min-width:auto;min-height:auto;max-width:200px;font-style:italic;line-height:16px;letter-spacing:0.32px;font-size:12px;border:var(--border-size-small) solid var(--gray200);border-radius:var(--border-radius);filter:drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.08))}:host(.legacy)::before{--arrow-size:14px}:host([position])::before{--arrow-edge-offset:calc(100% - var(--arrow-size) - var(--space-unit));--arrow-center-x-offset:calc(50% - calc(var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - calc(var(--arrow-size) / 2));content:'';position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:inherit;transform:rotate(45deg)}:host([open][style*='top:']),:host([open][style*='inset:']){display:inline-flex}:host([position^='top']){margin-bottom:var(--space-unit)}:host([position='right']){margin-left:var(--space-unit)}:host([position='top_right']),:host([position='bottom_right']){margin-left:var(--edge-offset)}:host([position^='bottom']){margin-top:var(--space-unit)}:host([position='left']){margin-right:var(--space-unit)}:host([position='top_left']),:host([position='bottom_left']){margin-right:var(--edge-offset)}:host([position^='top'])::before{top:var(--arrow-center-y-offset)}:host([position^='bottom'])::before{bottom:var(--arrow-center-y-offset)}:host([position='top'])::before,:host([position='bottom'])::before{left:var(--arrow-center-x-offset)}:host([position='right'])::before,:host([position='left'])::before{top:var(--arrow-center-x-offset)}:host([position='right'])::before{right:var(--arrow-center-y-offset)}:host([position='top_right'])::before,:host([position='bottom_right'])::before{right:var(--arrow-edge-offset)}:host([position='left'])::before{left:var(--arrow-center-y-offset)}:host([position='top_left'])::before,:host([position='bottom_left'])::before{left:var(--arrow-edge-offset)}::slotted(*){flex:1 auto;overflow:auto}";
|
|
5
5
|
|
|
@@ -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-90e18641.js';
|
|
2
2
|
import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}button{cursor:pointer;display:flex;flex-direction:column;width:100%;margin:0;background-color:var(--gray900);border:none;padding:0;letter-spacing:0.16px;white-space:nowrap}button.inverse{background-color:var(--color-white)}button div.firstline{display:flex;justify-content:flex-end;align-items:center;max-width:200px}button.open div.firstline{max-width:none}z-icon{padding:0 2px;fill:var(--color-white)}z-icon.inverse{fill:var(--gray900)}ul{box-sizing:border-box;position:absolute;left:0;padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0 calc(var(--space-unit) * 2);width:100%;margin:calc(var(--space-unit) * 1.5) 0 0 0;background-color:var(--gray900);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.3px}ul.inverse{background-color:var(--color-white)}ul>li{display:flex;justify-content:flex-end;white-space:nowrap;padding:calc(var(--space-unit) * 1.5 - 1px) 0;margin:0;border-bottom:var(--border-base) solid var(--gray700)}ul>li.inverse{border-bottom-color:var(--gray400)}ul>li:first-child{border-top:none;padding-top:0;padding-bottom:calc(var(--space-unit) + 6px);flex-direction:column;align-items:end}ul>li:last-child{border-bottom:none;margin-bottom:0}#guestbutton{box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;width:100%;font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:1;letter-spacing:0.3px;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);vertical-align:middle;text-transform:uppercase;text-decoration:none;cursor:pointer;outline:none;fill:currentColor;height:32px;min-width:32px;padding:0 calc(var(--space-unit) * 2);background-color:var(--color-white);border-color:var(--color-white);color:var(--gray800)}#guestbutton.inverse{background-color:var(--gray800);border-color:var(--gray800);color:var(--color-white)}.userfullname{padding:0;overflow:hidden;max-width:250px;text-overflow:ellipsis;width:100%;color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:16px;line-height:24px;letter-spacing:0;text-align:right}.userfullname.inverse{color:var(--gray800)}.useremail{color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:12px;line-height:16px;letter-spacing:0.32px;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:right}.useremail.inverse{color:var(--gray800)}@media only screen and (min-width: 768px){:host{height:calc(var(--space-unit) * 4);background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}:host>div{position:relative;top:50%;transform:translateY(-50%)}:host>div.open{top:auto;transform:none}:host>div>div{padding:0}:host>div>div.open{position:absolute;right:calc(var(--space-unit) * -1);box-shadow:0px 2px calc(var(--space-unit) * .5) 0px rgba(0, 0, 0, 0.5);background-color:var(--color-white);margin-top:calc(var(--space-unit) / 2);padding:calc(var(--space-unit) / 2 + 1px) var(--space-unit) 0 var(--space-unit);transform:translate(0, -4px)}:host>div>div.inverse.open{background-color:var(--gray800)}button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:end;align-content:center}button.open{background-color:var(--color-white);border-top:var(--border-size-small) solid var(--color-white);border-top-left-radius:calc(var(--space-unit) * .5);border-top-right-radius:calc(var(--space-unit) * .5);max-width:initial;margin-left:var(--space-unit);padding-right:var(--space-unit)}button.open.inverse{border-top-color:var(--gray800);background-color:var(--gray800)}button:not(.open) z-icon{fill:var(--color-white)}button:not(.open) z-icon.inverse{fill:var(--gray800)}button.open z-icon{fill:var(--gray800)}button.open z-icon.inverse{fill:var(--color-white)}.userfullname{font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.16px;padding:0 calc(var(--space-unit) - 6px) 0 calc(var(--space-unit) - 2px);width:auto}.userfullname.inverse{color:var(--gray800)}button.open div.userfullname{color:var(--gray800);max-width:none;text-overflow:clip}button.open div.userfullname.inverse{color:var(--color-white)}.useremail{padding-right:calc(var(--space-unit) * 3 - 2px);box-sizing:border-box}button.open div.useremail{color:var(--gray800)}button.open div.useremail.inverse{color:var(--color-white)}ul{position:initial;left:initial;padding:0;width:100%;background-color:var(--color-white)}ul.inverse{border-bottom-color:var(--gray800);background-color:var(--gray800)}ul>li{color:var(--gray800);border-bottom:var(--border-base) solid var(--gray400);margin:0 var(--space-unit)}ul>li.inverse{color:var(--color-white)}ul>li:first-child{border-top:var(--border-base) solid var(--gray400);padding-top:calc(var(--space-unit) + 3px);padding-bottom:calc(var(--space-unit) + 5px)}}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-90e18641.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;margin:0 -1px -1px 0;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}";
|
|
4
4
|
|
|
@@ -349,6 +349,10 @@ export declare enum OffCanvasVariantsEnum {
|
|
|
349
349
|
pushcontent = "pushcontent"
|
|
350
350
|
}
|
|
351
351
|
export declare type ToastNotificationPositionsTypes = ToastNotificationPositionsEnum;
|
|
352
|
+
export declare enum ZFileUploadTypeEnum {
|
|
353
|
+
default = "default",
|
|
354
|
+
dragdrop = "dragdrop"
|
|
355
|
+
}
|
|
352
356
|
export declare enum ZChipType {
|
|
353
357
|
default = "default",
|
|
354
358
|
mini = "mini"
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
export declare class ZDragdropArea {
|
|
3
|
+
/** Emitted when user drop one or more files */
|
|
4
|
+
fileDropped: EventEmitter;
|
|
5
|
+
fileDroppedHandler(files: FileList): void;
|
|
6
|
+
private dragDropContainer;
|
|
7
|
+
renderOnDragOverMessage(): any;
|
|
8
|
+
render(): any;
|
|
9
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
import './index';
|
|
3
|
+
export declare class ZFile {
|
|
4
|
+
private icon;
|
|
5
|
+
private ellipsis?;
|
|
6
|
+
fileNumber: number;
|
|
7
|
+
allowTooltip: boolean;
|
|
8
|
+
tooltipVisible: boolean;
|
|
9
|
+
el: HTMLElement;
|
|
10
|
+
/** Emitted when a z-file component is removed from the DOM */
|
|
11
|
+
removeFile: EventEmitter;
|
|
12
|
+
removeFileHandler(): void;
|
|
13
|
+
onMouseOver(): void;
|
|
14
|
+
onMouseLeave(): void;
|
|
15
|
+
componentDidLoad(): void;
|
|
16
|
+
elementHasEllipsis(): boolean;
|
|
17
|
+
render(): any;
|
|
18
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
import { ButtonVariantEnum, ZFileUploadTypeEnum } from "../../../beans";
|
|
3
|
+
export declare class ZFileUpload {
|
|
4
|
+
/** Prop indicating the file upload type - can be default or dragdrop */
|
|
5
|
+
type: ZFileUploadTypeEnum;
|
|
6
|
+
/** Prop indicating the button variant*/
|
|
7
|
+
buttonVariant?: ButtonVariantEnum;
|
|
8
|
+
/** Prop indicating the accepted file type: ex ".pdf, .doc, .jpg" */
|
|
9
|
+
acceptedFormat?: string;
|
|
10
|
+
/** Max file dimension in Megabyte */
|
|
11
|
+
fileMaxSize?: number;
|
|
12
|
+
/** Title */
|
|
13
|
+
mainTitle?: string;
|
|
14
|
+
/** Description */
|
|
15
|
+
description?: string;
|
|
16
|
+
/** Number of files added by the user */
|
|
17
|
+
filesNumber: number;
|
|
18
|
+
/** List of files not allowed to be uploaded */
|
|
19
|
+
invalidFiles: Map<string, Array<string>>;
|
|
20
|
+
el: HTMLElement;
|
|
21
|
+
private input;
|
|
22
|
+
private button;
|
|
23
|
+
private errorModal;
|
|
24
|
+
private uploadLink;
|
|
25
|
+
private inputAttributes;
|
|
26
|
+
/** Listen removeFile event sent from z-file component */
|
|
27
|
+
removeFileListener(): void;
|
|
28
|
+
/** Listen fileDropped event sent from z-dragdrop-area component */
|
|
29
|
+
fileDroppedListener(e: CustomEvent): void;
|
|
30
|
+
componentDidUpdate(): void;
|
|
31
|
+
componentWillLoad(): void;
|
|
32
|
+
/** Emitted when user select one or more files */
|
|
33
|
+
fileInput: EventEmitter;
|
|
34
|
+
fileInputHandler(): void;
|
|
35
|
+
handleAccessibility(): void;
|
|
36
|
+
checkFiles(files: Array<File>): Map<string, Array<string>>;
|
|
37
|
+
renderTitle(): any;
|
|
38
|
+
renderDescription(variant: any, level: any): any;
|
|
39
|
+
renderAllowedFileExtensions(): any;
|
|
40
|
+
renderFileSection(): any;
|
|
41
|
+
renderInput(): any;
|
|
42
|
+
renderUploadButton(): any[];
|
|
43
|
+
renderUploadLink(): any[];
|
|
44
|
+
renderDefaultMode(): any[];
|
|
45
|
+
renderDragDropMode(): any[];
|
|
46
|
+
formatErrorString(key: any, value: any): string;
|
|
47
|
+
handleErrorModalContent(): any;
|
|
48
|
+
render(): any[];
|
|
49
|
+
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { AlertTypes, LicenseTypeEnum, MenuItem as MenuItem1, TooltipPosition } from "./beans/index";
|
|
9
|
-
import { AvatarSize, ButtonSizeEnum, ButtonVariantBean, CardVariants, ComboItemBean, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InputStatusBean, InputTypeBean, ListDividerType, ListSize, MenuItem, NotificationType, OffCanvasVariantsEnum, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverShadow, SelectItemBean, Size, SortDirection, StatusTagStatus, TabOrientationBean, TabSizeBean, ThemeVariant, ThemeVariantBean, ToastNotificationPositionsTypes, ToastNotificationTransitionTypes, ToastNotificationTypes, TransitionDirectionEnum, ZChipType, ZTableRowExpandedType, ZtoggleSwitchPositionEnum } from "./beans";
|
|
9
|
+
import { AvatarSize, ButtonSizeEnum, ButtonVariantBean, ButtonVariantEnum, CardVariants, ComboItemBean, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InputStatusBean, InputTypeBean, ListDividerType, ListSize, MenuItem, NotificationType, OffCanvasVariantsEnum, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverShadow, SelectItemBean, Size, SortDirection, StatusTagStatus, TabOrientationBean, TabSizeBean, ThemeVariant, ThemeVariantBean, ToastNotificationPositionsTypes, ToastNotificationTransitionTypes, ToastNotificationTypes, TransitionDirectionEnum, ZChipType, ZFileUploadTypeEnum, ZTableRowExpandedType, ZtoggleSwitchPositionEnum } from "./beans";
|
|
10
10
|
import { ListItemBean } from "./beans/index.js";
|
|
11
11
|
import { ZTypographyLevels } from "./components/typography/z-typography/index";
|
|
12
12
|
export namespace Components {
|
|
@@ -324,6 +324,37 @@ export namespace Components {
|
|
|
324
324
|
*/
|
|
325
325
|
"size"?: DividerSize;
|
|
326
326
|
}
|
|
327
|
+
interface ZDragdropArea {
|
|
328
|
+
}
|
|
329
|
+
interface ZFile {
|
|
330
|
+
"fileNumber": number;
|
|
331
|
+
}
|
|
332
|
+
interface ZFileUpload {
|
|
333
|
+
/**
|
|
334
|
+
* Prop indicating the accepted file type: ex ".pdf, .doc, .jpg"
|
|
335
|
+
*/
|
|
336
|
+
"acceptedFormat"?: string;
|
|
337
|
+
/**
|
|
338
|
+
* Prop indicating the button variant
|
|
339
|
+
*/
|
|
340
|
+
"buttonVariant"?: ButtonVariantEnum;
|
|
341
|
+
/**
|
|
342
|
+
* Description
|
|
343
|
+
*/
|
|
344
|
+
"description"?: string;
|
|
345
|
+
/**
|
|
346
|
+
* Max file dimension in Megabyte
|
|
347
|
+
*/
|
|
348
|
+
"fileMaxSize"?: number;
|
|
349
|
+
/**
|
|
350
|
+
* Title
|
|
351
|
+
*/
|
|
352
|
+
"mainTitle"?: string;
|
|
353
|
+
/**
|
|
354
|
+
* Prop indicating the file upload type - can be default or dragdrop
|
|
355
|
+
*/
|
|
356
|
+
"type": ZFileUploadTypeEnum;
|
|
357
|
+
}
|
|
327
358
|
interface ZFooter {
|
|
328
359
|
/**
|
|
329
360
|
* Maximum width of footer content
|
|
@@ -1687,6 +1718,24 @@ declare global {
|
|
|
1687
1718
|
prototype: HTMLZDividerElement;
|
|
1688
1719
|
new (): HTMLZDividerElement;
|
|
1689
1720
|
};
|
|
1721
|
+
interface HTMLZDragdropAreaElement extends Components.ZDragdropArea, HTMLStencilElement {
|
|
1722
|
+
}
|
|
1723
|
+
var HTMLZDragdropAreaElement: {
|
|
1724
|
+
prototype: HTMLZDragdropAreaElement;
|
|
1725
|
+
new (): HTMLZDragdropAreaElement;
|
|
1726
|
+
};
|
|
1727
|
+
interface HTMLZFileElement extends Components.ZFile, HTMLStencilElement {
|
|
1728
|
+
}
|
|
1729
|
+
var HTMLZFileElement: {
|
|
1730
|
+
prototype: HTMLZFileElement;
|
|
1731
|
+
new (): HTMLZFileElement;
|
|
1732
|
+
};
|
|
1733
|
+
interface HTMLZFileUploadElement extends Components.ZFileUpload, HTMLStencilElement {
|
|
1734
|
+
}
|
|
1735
|
+
var HTMLZFileUploadElement: {
|
|
1736
|
+
prototype: HTMLZFileUploadElement;
|
|
1737
|
+
new (): HTMLZFileUploadElement;
|
|
1738
|
+
};
|
|
1690
1739
|
interface HTMLZFooterElement extends Components.ZFooter, HTMLStencilElement {
|
|
1691
1740
|
}
|
|
1692
1741
|
var HTMLZFooterElement: {
|
|
@@ -2150,6 +2199,9 @@ declare global {
|
|
|
2150
2199
|
"z-contextual-menu": HTMLZContextualMenuElement;
|
|
2151
2200
|
"z-cookiebar": HTMLZCookiebarElement;
|
|
2152
2201
|
"z-divider": HTMLZDividerElement;
|
|
2202
|
+
"z-dragdrop-area": HTMLZDragdropAreaElement;
|
|
2203
|
+
"z-file": HTMLZFileElement;
|
|
2204
|
+
"z-file-upload": HTMLZFileUploadElement;
|
|
2153
2205
|
"z-footer": HTMLZFooterElement;
|
|
2154
2206
|
"z-footer-link": HTMLZFooterLinkElement;
|
|
2155
2207
|
"z-footer-section": HTMLZFooterSectionElement;
|
|
@@ -2573,6 +2625,49 @@ declare namespace LocalJSX {
|
|
|
2573
2625
|
*/
|
|
2574
2626
|
"size"?: DividerSize;
|
|
2575
2627
|
}
|
|
2628
|
+
interface ZDragdropArea {
|
|
2629
|
+
/**
|
|
2630
|
+
* Emitted when user drop one or more files
|
|
2631
|
+
*/
|
|
2632
|
+
"onFileDropped"?: (event: CustomEvent<any>) => void;
|
|
2633
|
+
}
|
|
2634
|
+
interface ZFile {
|
|
2635
|
+
"fileNumber"?: number;
|
|
2636
|
+
/**
|
|
2637
|
+
* Emitted when a z-file component is removed from the DOM
|
|
2638
|
+
*/
|
|
2639
|
+
"onRemoveFile"?: (event: CustomEvent<any>) => void;
|
|
2640
|
+
}
|
|
2641
|
+
interface ZFileUpload {
|
|
2642
|
+
/**
|
|
2643
|
+
* Prop indicating the accepted file type: ex ".pdf, .doc, .jpg"
|
|
2644
|
+
*/
|
|
2645
|
+
"acceptedFormat"?: string;
|
|
2646
|
+
/**
|
|
2647
|
+
* Prop indicating the button variant
|
|
2648
|
+
*/
|
|
2649
|
+
"buttonVariant"?: ButtonVariantEnum;
|
|
2650
|
+
/**
|
|
2651
|
+
* Description
|
|
2652
|
+
*/
|
|
2653
|
+
"description"?: string;
|
|
2654
|
+
/**
|
|
2655
|
+
* Max file dimension in Megabyte
|
|
2656
|
+
*/
|
|
2657
|
+
"fileMaxSize"?: number;
|
|
2658
|
+
/**
|
|
2659
|
+
* Title
|
|
2660
|
+
*/
|
|
2661
|
+
"mainTitle"?: string;
|
|
2662
|
+
/**
|
|
2663
|
+
* Emitted when user select one or more files
|
|
2664
|
+
*/
|
|
2665
|
+
"onFileInput"?: (event: CustomEvent<any>) => void;
|
|
2666
|
+
/**
|
|
2667
|
+
* Prop indicating the file upload type - can be default or dragdrop
|
|
2668
|
+
*/
|
|
2669
|
+
"type"?: ZFileUploadTypeEnum;
|
|
2670
|
+
}
|
|
2576
2671
|
interface ZFooter {
|
|
2577
2672
|
/**
|
|
2578
2673
|
* Maximum width of footer content
|
|
@@ -3997,6 +4092,9 @@ declare namespace LocalJSX {
|
|
|
3997
4092
|
"z-contextual-menu": ZContextualMenu;
|
|
3998
4093
|
"z-cookiebar": ZCookiebar;
|
|
3999
4094
|
"z-divider": ZDivider;
|
|
4095
|
+
"z-dragdrop-area": ZDragdropArea;
|
|
4096
|
+
"z-file": ZFile;
|
|
4097
|
+
"z-file-upload": ZFileUpload;
|
|
4000
4098
|
"z-footer": ZFooter;
|
|
4001
4099
|
"z-footer-link": ZFooterLink;
|
|
4002
4100
|
"z-footer-section": ZFooterSection;
|
|
@@ -4095,6 +4193,9 @@ declare module "@stencil/core" {
|
|
|
4095
4193
|
"z-contextual-menu": LocalJSX.ZContextualMenu & JSXBase.HTMLAttributes<HTMLZContextualMenuElement>;
|
|
4096
4194
|
"z-cookiebar": LocalJSX.ZCookiebar & JSXBase.HTMLAttributes<HTMLZCookiebarElement>;
|
|
4097
4195
|
"z-divider": LocalJSX.ZDivider & JSXBase.HTMLAttributes<HTMLZDividerElement>;
|
|
4196
|
+
"z-dragdrop-area": LocalJSX.ZDragdropArea & JSXBase.HTMLAttributes<HTMLZDragdropAreaElement>;
|
|
4197
|
+
"z-file": LocalJSX.ZFile & JSXBase.HTMLAttributes<HTMLZFileElement>;
|
|
4198
|
+
"z-file-upload": LocalJSX.ZFileUpload & JSXBase.HTMLAttributes<HTMLZFileUploadElement>;
|
|
4098
4199
|
"z-footer": LocalJSX.ZFooter & JSXBase.HTMLAttributes<HTMLZFooterElement>;
|
|
4099
4200
|
"z-footer-link": LocalJSX.ZFooterLink & JSXBase.HTMLAttributes<HTMLZFooterLinkElement>;
|
|
4100
4201
|
"z-footer-section": LocalJSX.ZFooterSection & JSXBase.HTMLAttributes<HTMLZFooterSectionElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as o}from"./p-
|
|
1
|
+
import{c as o}from"./p-c17b64f1.js";import"./p-e5602e1b.js";import"./p-d69e14fb.js";const p={colorFromId:o};export{p as Utils}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r,h as o}from"./p-
|
|
1
|
+
import{r as t,c as r,h as o}from"./p-98268a57.js";const i=class{constructor(o){t(this,o),this.toggleClick=r(this,"toggleClick",7),this.isdisabled=!1,this.opened=!1}emitToggleClick(){this.isdisabled||(this.opened=!this.opened,this.toggleClick.emit(this.opened))}retrieveButtonClass(){let t=this.opened&&"isopen";return this.avoidclick&&(t+=" avoid-clicks"),t}render(){return o("button",{tabindex:this.avoidclick?"-1":"0",class:this.retrieveButtonClass(),disabled:this.isdisabled,onClick:()=>this.emitToggleClick()},o("z-icon",{name:this.opened?"chevron-down":"chevron-up",width:16,height:16}),this.label)}};i.style="button{font-family:var(--dashboard-font);font-weight:var(--font-sb);height:36px;border:var(--border-size-medium) solid;border-color:transparent;border-radius:var(--border-radius);color:var(--myz-blue);fill:var(--myz-blue);background-color:var(--bg-white);box-shadow:0px 0px 4px 0px rgba(0, 0, 0, 0.2);text-transform:uppercase;font-size:14px;outline:none;padding-left:0px;padding-right:calc(var(--space-unit) * 2);transition:all 200ms linear;cursor:pointer}button::-moz-focus-inner{border:0}button:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);color:var(--myz-blue);fill:var(--myz-blue);box-shadow:0px 0px 2px 2px var(--accent-dark)}button:active{border-color:var(--myz-blue-light);color:var(--myz-blue-light);fill:var(--myz-blue-light);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}button:disabled{color:var(--text-grey-700);fill:var(--text-grey-700)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";export{i as z_toggle_button}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,c as t,h as r,H as o}from"./p-
|
|
1
|
+
import{r as i,c as t,h as r,H as o}from"./p-98268a57.js";import{m as e}from"./p-d69e14fb.js";const n=class{constructor(r){i(this,r),this.userButtonClick=t(this,"userButtonClick",7),this.dropdownMenuLinkClick=t(this,"dropdownMenuLinkClick",7),this.useInverseColors=!1,this.isMenuOpen=!1,this.handleLoggedButtonClick=this.handleLoggedButtonClick.bind(this),this.emitDropdownMenuLinkClick=this.emitDropdownMenuLinkClick.bind(this)}componentDidLoad(){this.setMobileAndDivToResizeWidth()}componentWillUpdate(){this.setMobileAndDivToResizeWidth()}componentWillRender(){this.menuContent&&(this.linkArray="string"==typeof this.menuContent?JSON.parse(this.menuContent):this.menuContent)}setMobileAndDivToResizeWidth(){var i;this.divToResize&&(this.isMobile=window.screen.width<=e||window.innerWidth<=e,this.logged&&!this.isMobile&&this.isMenuOpen?this.divToResize.style.width=`${null===(i=this.userButton)||void 0===i?void 0:i.offsetWidth}px`:this.divToResize.removeAttribute("style"))}emitUserButtonClick(){this.userButtonClick.emit(this.isMenuOpen)}emitDropdownMenuLinkClick(i){this.isMenuOpen=!1,this.dropdownMenuLinkClick.emit({e:i,linkId:i.detail.linkId})}handleResize(){this.isMobile=window.innerWidth<=e}handleOrientationChange(){this.isMobile=screen.width<=e}handleClickOutside(i){"Z-USER-DROPDOWN"!==i.target.nodeName&&(this.isMenuOpen=!1)}handleLoggedButtonClick(){this.isMenuOpen=!this.isMenuOpen,this.emitUserButtonClick()}renderGuestButton(){return r("button",{id:"guestbutton",class:this.useInverseColors?"inverse":"",onClick:()=>this.emitUserButtonClick()},"ENTRA")}renderLoggedButton(){const i=this.isMenuOpen?"up":"down",t=this.useInverseColors?"inverse":"";return r("button",{ref:i=>this.userButton=i,title:this.userFullName,class:`${t} ${this.isMenuOpen?"open":""}`,onClick:this.handleLoggedButtonClick},r("div",null,r("div",{class:"firstline"},r("z-icon",{class:t,name:"user-avatar-filled",height:16,width:16}),!this.isMobile&&r("div",{class:`userfullname ${t}`},this.userFullName),r("z-icon",{class:t,name:`caret-${i}-filled`,height:16,width:16})),!this.isMobile&&this.isMenuOpen&&r("div",{class:`useremail ${t}`},this.userEmail)))}getZLinkTextcolor(){return this.isMobile?this.useInverseColors?"black":"white":this.useInverseColors?"white":"black"}renderDropdownMenu(){const i=this.useInverseColors?"inverse":"";return this.isMenuOpen&&r("ul",{class:i},this.isMobile&&r("li",{class:i},r("div",{class:`userfullname ${i}`},this.userFullName),r("div",{class:`useremail ${i}`},this.userEmail)),this.linkArray&&this.linkArray.map((t=>r("li",{id:t.id,class:i},r("z-link",{textcolor:this.getZLinkTextcolor(),href:t.link,htmlid:t.id,target:t.target,icon:t.icon,onZLinkClick:this.emitDropdownMenuLinkClick},t.label)))))}render(){const i=this.logged&&this.isMenuOpen?"open":"",t=this.useInverseColors?"inverse":"";return r(o,{class:t},r("div",{ref:i=>this.divToResize=i,class:i},r("div",{class:`${t} ${i}`},this.logged?this.renderLoggedButton():this.renderGuestButton(),this.logged&&this.renderDropdownMenu())))}};n.style=":host{background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}button{cursor:pointer;display:flex;flex-direction:column;width:100%;margin:0;background-color:var(--gray900);border:none;padding:0;letter-spacing:0.16px;white-space:nowrap}button.inverse{background-color:var(--color-white)}button div.firstline{display:flex;justify-content:flex-end;align-items:center;max-width:200px}button.open div.firstline{max-width:none}z-icon{padding:0 2px;fill:var(--color-white)}z-icon.inverse{fill:var(--gray900)}ul{box-sizing:border-box;position:absolute;left:0;padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0 calc(var(--space-unit) * 2);width:100%;margin:calc(var(--space-unit) * 1.5) 0 0 0;background-color:var(--gray900);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.3px}ul.inverse{background-color:var(--color-white)}ul>li{display:flex;justify-content:flex-end;white-space:nowrap;padding:calc(var(--space-unit) * 1.5 - 1px) 0;margin:0;border-bottom:var(--border-base) solid var(--gray700)}ul>li.inverse{border-bottom-color:var(--gray400)}ul>li:first-child{border-top:none;padding-top:0;padding-bottom:calc(var(--space-unit) + 6px);flex-direction:column;align-items:end}ul>li:last-child{border-bottom:none;margin-bottom:0}#guestbutton{box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;width:100%;font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:1;letter-spacing:0.3px;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);vertical-align:middle;text-transform:uppercase;text-decoration:none;cursor:pointer;outline:none;fill:currentColor;height:32px;min-width:32px;padding:0 calc(var(--space-unit) * 2);background-color:var(--color-white);border-color:var(--color-white);color:var(--gray800)}#guestbutton.inverse{background-color:var(--gray800);border-color:var(--gray800);color:var(--color-white)}.userfullname{padding:0;overflow:hidden;max-width:250px;text-overflow:ellipsis;width:100%;color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:16px;line-height:24px;letter-spacing:0;text-align:right}.userfullname.inverse{color:var(--gray800)}.useremail{color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:12px;line-height:16px;letter-spacing:0.32px;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:right}.useremail.inverse{color:var(--gray800)}@media only screen and (min-width: 768px){:host{height:calc(var(--space-unit) * 4);background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}:host>div{position:relative;top:50%;transform:translateY(-50%)}:host>div.open{top:auto;transform:none}:host>div>div{padding:0}:host>div>div.open{position:absolute;right:calc(var(--space-unit) * -1);box-shadow:0px 2px calc(var(--space-unit) * .5) 0px rgba(0, 0, 0, 0.5);background-color:var(--color-white);margin-top:calc(var(--space-unit) / 2);padding:calc(var(--space-unit) / 2 + 1px) var(--space-unit) 0 var(--space-unit);transform:translate(0, -4px)}:host>div>div.inverse.open{background-color:var(--gray800)}button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:end;align-content:center}button.open{background-color:var(--color-white);border-top:var(--border-size-small) solid var(--color-white);border-top-left-radius:calc(var(--space-unit) * .5);border-top-right-radius:calc(var(--space-unit) * .5);max-width:initial;margin-left:var(--space-unit);padding-right:var(--space-unit)}button.open.inverse{border-top-color:var(--gray800);background-color:var(--gray800)}button:not(.open) z-icon{fill:var(--color-white)}button:not(.open) z-icon.inverse{fill:var(--gray800)}button.open z-icon{fill:var(--gray800)}button.open z-icon.inverse{fill:var(--color-white)}.userfullname{font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.16px;padding:0 calc(var(--space-unit) - 6px) 0 calc(var(--space-unit) - 2px);width:auto}.userfullname.inverse{color:var(--gray800)}button.open div.userfullname{color:var(--gray800);max-width:none;text-overflow:clip}button.open div.userfullname.inverse{color:var(--color-white)}.useremail{padding-right:calc(var(--space-unit) * 3 - 2px);box-sizing:border-box}button.open div.useremail{color:var(--gray800)}button.open div.useremail.inverse{color:var(--color-white)}ul{position:initial;left:initial;padding:0;width:100%;background-color:var(--color-white)}ul.inverse{border-bottom-color:var(--gray800);background-color:var(--gray800)}ul>li{color:var(--gray800);border-bottom:var(--border-base) solid var(--gray400);margin:0 var(--space-unit)}ul>li.inverse{color:var(--color-white)}ul>li:first-child{border-top:var(--border-base) solid var(--gray400);padding-top:calc(var(--space-unit) + 3px);padding-bottom:calc(var(--space-unit) + 5px)}}";export{n as z_user_dropdown}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as r,g as t}from"./p-
|
|
1
|
+
import{r as o,h as r,g as t}from"./p-98268a57.js";const a=class{constructor(r){o(this,r)}componentWillRender(){this.host.setAttribute("role","rowgroup"),Array.from(this.host.children).forEach(((o,r)=>o.setAttribute("aria-rowindex",`${r}`)))}render(){return r("slot",null)}get host(){return t(this)}};a.style=".sc-z-table-body-h{display:table-row-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}.sc-z-table-body-h>z-table-row[expanded].sc-z-table-body+z-table-expanded-row.sc-z-table-body{display:table-row}";export{a as z_table_body}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as t,h as a,H as l}from"./p-
|
|
1
|
+
import{r as e,c as t,h as a,H as l}from"./p-98268a57.js";import{o as d}from"./p-e5602e1b.js";const r=class{constructor(a){e(this,a),this.expand=t(this,"expand",7),this.expandedType=d.none,this.expanded=!1}emitOnExpand(){this.expand.emit({expanded:this.expanded})}handleExpand(){this.expanded=!this.expanded,this.emitOnExpand()}renderExpandButton(){return a("z-table-cell",{style:{borderRight:"none"}},this.expandedType==d.expandable?a("z-icon",{name:this.expanded?"minus-circled":"plus-circled"}):a("div",{class:"z-icon-placeholder"}))}render(){return a(l,{role:"row",expanded:this.expanded,onClick:e=>{this.expandedType===d.expandable&&"Z-CONTEXTUAL-MENU"!==e.target.nodeName&&this.handleExpand()}},this.expandedType!==d.none&&this.renderExpandButton(),a("slot",null))}};r.style='z-table-row{display:table-row;font-family:var(--font-family-sans)}z-table-row[expanded-type="expandable"]:hover{cursor:pointer}z-table-row[expanded-type="expandable"]>z-table-cell:first-child,z-table-row[expanded-type="padding"]>z-table-cell:first-child{--z-icon-width:16px;--z-icon-height:16px;width:24px;padding-left:16px;padding-right:0px;box-sizing:border-box;text-align:center;fill:var(--gray800);user-select:none}.z-icon-placeholder{width:24px;padding-right:0px}z-table-row[expanded-type="expandable"]>z-table-cell:nth-child(2),z-table-row[expanded-type="padding"]>z-table-cell:nth-child(2){padding-left:8px}z-table-row[expanded-type]:hover>z-table-cell:first-child{fill:var(--myz-blue-dark)}z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table-row[expanded]+z-table-expanded-row{display:table-row}z-table-row[expanded]>z-table-cell{border-bottom:none}';export{r as z_table_row}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,H as a,g as o}from"./p-
|
|
1
|
+
import{r as t,h as i,H as a,g as o}from"./p-98268a57.js";import{m as e,n as s}from"./p-e5602e1b.js";const r=class{constructor(i){t(this,i),this.orientation=e.horizontal,this.size=s.big,this.direction=this.orientation==e.vertical?"Top":"Left",this.dimension=this.orientation==e.vertical?"Height":"Width"}setChildrenSize(){const t=this.host.children;for(let i=0;i<t.length;i++)t[i].setAttribute("size",this.size)}setChildrenOrientation(){const t=this.host.children;for(let i=0;i<t.length;i++)t[i].setAttribute("orientation",this.orientation)}checkScrollVisible(){this.tabsNav&&(this.canNavigate=this.tabsNav[`scroll${this.dimension}`]>this.tabsNav[`client${this.dimension}`],this.checkScrollEnabled())}checkScrollEnabled(){this.tabsNav&&(this.canNavigateNext=this.tabsNav[`scroll${this.direction}`]+this.tabsNav[`client${this.dimension}`]<this.tabsNav[`scroll${this.dimension}`],this.canNavigatePrev=this.tabsNav[`scroll${this.direction}`]>0)}selectedTabHandler(t){this.select(t.target)}select(t){const i=this.host.children;for(let a=0;a<i.length;a++){const o=i[a];"Z-NAVIGATION-TAB"===o.tagName&&o!==t&&(o.selected=!1)}}navigatePrevious(){this.tabsNav.scrollBy({[this.direction.toLowerCase()]:0-this.tabsNav[`client${this.dimension}`]/2,behavior:"smooth"})}navigateNext(){this.tabsNav.scrollBy({[this.direction.toLowerCase()]:this.tabsNav.scrollTop+this.tabsNav[`client${this.dimension}`]/2,behavior:"smooth"})}componentDidLoad(){this.setChildrenSize(),this.setChildrenOrientation(),this.checkScrollVisible()}render(){return i(a,{class:{"interactive-2":"small"===this.size,"interactive-1":"small"!==this.size},scrollable:this.canNavigate},this.canNavigate&&i("button",{class:"navigation",onClick:()=>this.navigatePrevious(),tabindex:"-1",disabled:!this.canNavigatePrev},i("z-icon",{name:"horizontal"==this.orientation?"chevron-left":"chevron-up",width:16,height:16})),i("nav",{role:"tablist",ref:t=>this.tabsNav=null!=t?t:this.tabsNav,onScroll:this.checkScrollEnabled.bind(this)},i("slot",null)),this.canNavigate&&i("button",{class:"navigation",onClick:()=>{this.navigateNext()},tabindex:"-1",disabled:!this.canNavigateNext},i("z-icon",{name:"horizontal"==this.orientation?"chevron-right":"chevron-down",width:16,height:16})))}get host(){return o(this)}static get watchers(){return{size:["setChildrenSize"],orientation:["setChildrenOrientation"],direction:["checkScrollEnabled"],dimension:["checkScrollEnabled"]}}};r.style=":host{--safe-scroll-area:4px;--negative-safe-scroll-area:calc(-1 * var(--safe-scroll-area));position:relative;display:flex;flex-direction:row;z-index:0;margin:var(--negative-safe-scroll-area);padding:var(--safe-scroll-area);font-family:var(--font-family-sans);font-weight:var(--font-rg);overflow:hidden}:host,:host *,::slotted(*){box-sizing:border-box}::-webkit-scrollbar{display:none}button.navigation{position:absolute;display:flex;align-items:center;justify-content:center;margin:0;padding:0;background:var(--color-white);border:none;outline:none;fill:var(--color-primary01);border-radius:var(--border-no-radius);cursor:pointer;z-index:1}button.navigation:focus{fill:var(--color-primary01);box-shadow:var(--shadow-focus-primary)}button.navigation:disabled{display:none}nav{display:flex;align-items:center;justify-content:flex-start;overflow:auto;margin:var(--negative-safe-scroll-area);padding:var(--safe-scroll-area);scroll-padding:var(--safe-scroll-area);scrollbar-width:none}:host([orientation='horizontal']) nav{width:100%}:host([orientation='horizontal']) button.navigation{top:0;height:100%;width:calc((var(--space-unit) * 4) + var(--safe-scroll-area))}:host([orientation='horizontal']) button.navigation:first-child{left:0;padding-left:var(--safe-scroll-area);box-shadow:5px 0px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='horizontal']) button.navigation:last-child{right:0;padding-right:4px;box-shadow:-5px 0px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='vertical']){flex-direction:column}:host([orientation='vertical']) nav{flex-direction:column;align-items:stretch;height:100%}:host([orientation='vertical']) button.navigation{left:0;width:100%;height:calc((var(--space-unit) * 4) + var(--safe-scroll-area))}:host([orientation='vertical']) button.navigation:first-child{top:0;padding-top:var(--safe-scroll-area);box-shadow:0px 5px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='vertical']) button.navigation:last-child{bottom:0;padding-bottom:var(--safe-scroll-area);box-shadow:0px -5px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([size='small'][orientation='vertical']) button.navigation{height:calc(var(--space-unit) * 4)}";export{r as z_navigation_tabs}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,H as
|
|
1
|
+
import{r as t,c as i,h as e,H as s,g as a}from"./p-98268a57.js";import{p as n}from"./p-e5602e1b.js";import{m as r}from"./p-d69e14fb.js";import{h as o}from"./p-1d371408.js";import"./p-b68038b5.js";const l=class{constructor(e){t(this,e),this.toastClose=i(this,"toastClose",7),this.pauseonfocusloss=!0,this.isdraggable=!0,this.draggablepercentage=80,this.isCloseEventCalled=!1,this.visibilityChangeEventHandler=()=>{"hidden"===document.visibilityState?this.timeoutHandle&&this.onBlur():this.elapsedTime&&this.onFocus()}}watchPropIsdraggable(t){t?this.sliderManager.get("pan").set({enable:!0}):this.sliderManager.get("pan").set({enable:!1})}watchPropAutoclose(t){clearTimeout(this.timeoutHandle),this.startClosingTimeout(t)}watchPropPauseonfocusloss(t){this.autoclose&&(t?document.addEventListener("visibilitychange",this.visibilityChangeEventHandler):document.removeEventListener("visibilitychange",this.visibilityChangeEventHandler))}emitToastClose(t){this.timeoutHandle=null,this.elapsedTime=null,this.hostElement.classList.add(t),this.toastClose.emit()}componentWillLoad(){this.isMobile=window.innerWidth<=r,this.validateAutoclose()}componentDidLoad(){this.isTextLong=this.detectWrap()||this.toastText.offsetHeight>20,this.startTime=Date.now(),this.autoclose&&this.pauseonfocusloss&&document.addEventListener("visibilitychange",this.visibilityChangeEventHandler),this.isdraggable&&this.handleSlideOutDragAnimation(),this.percentage=0}validateAutoclose(){this.autoclose||this.closebutton||console.error("At least one between autoclose and closebutton must be present")}mapSlideOutClass(){switch(this.transition){case n.slideInDown:return n.slideOutUp;case n.slideInUp:return n.slideOutDown;case n.slideInLeft:return n.slideOutRight;case n.slideInRight:return n.slideOutLeft}}calculateDraggedPercentage(t){const i=this.hostElement.getBoundingClientRect();return Math.round(100*t.deltaX/i.width)}handleSlideOutDragAnimation(){this.sliderManager=new o(this.hostElement),this.sliderManager.get("pan").set({direction:o.DIRECTION_HORIZONTAL}),this.sliderManager.on("pan",(t=>{this.percentage=this.calculateDraggedPercentage(t),this.hostElement.style.transition="none",this.hostElement.classList.remove(this.transition);const i={translate:"translateX( "+this.percentage+"% )",translateBack:"translateX(0)"};this.hostElement.style.opacity=100-Math.abs(this.percentage)+"%",t.eventType!==o.DIRECTION_LEFT&&t.eventType!==o.DIRECTION_RIGHT||(this.hostElement.style.transform=i.translate,Math.abs(this.percentage)>this.draggablepercentage&&!this.isCloseEventCalled&&(this.isCloseEventCalled=!0,this.emitToastClose(t.direction===o.DIRECTION_LEFT?"slide-out-left":"slide-out-right"))),t.isFinal&&Math.abs(this.percentage)<this.draggablepercentage&&(this.hostElement.style.transform=i.translateBack,this.hostElement.style.transition="all 1s",this.hostElement.style.opacity="100%",this.percentage=0)}))}onFocus(){let t;t=this.autoclose,this.elapsedTime&&(t=this.autoclose-this.elapsedTime),t>0&&this.startClosingTimeout(t)}onBlur(){this.elapsedTime=Date.now()-this.startTime,clearTimeout(this.timeoutHandle)}startClosingTimeout(t){this.timeoutHandle=setTimeout((()=>this.emitToastClose(this.mapSlideOutClass())),t)}detectWrap(){const t=this.container.offsetWidth,i=this.container.children;let e=0;for(let t=0;t<i.length;t++)e+=i[t].offsetWidth;return e>t}renderText(){return e("div",{id:"text",ref:t=>this.toastText=t},e("span",{class:"title"},this.heading),e("span",{class:"message"},this.message))}renderButton(){return e("div",{id:"button"},e("slot",{name:"button"}))}renderCloseIcon(){return this.closebutton&&e("div",{id:"icon"},e("z-icon",{tabIndex:0,name:"multiply-circled",width:15,height:15,onClick:()=>this.emitToastClose(this.mapSlideOutClass()),onKeyPress:t=>{32!=t.keyCode&&13!=t.keyCode||(t.preventDefault(),this.emitToastClose(this.mapSlideOutClass()))}}))}renderContainer(){return e("div",{tabIndex:0,id:"external-container",class:{[this.type]:!!this.type,"several-lines-padding":this.isTextLong},ref:t=>this.container=t},this.renderText(),this.renderButton(),this.renderCloseIcon())}renderMobileContainer(){return e("div",{id:"external-container",class:{[this.type]:!!this.type,"several-lines-padding":this.isTextLong,"mobile-wrapped":this.isTextLong}},e("div",{id:"flex-container",ref:t=>this.container=t},this.renderText(),this.renderButton()),this.renderCloseIcon())}render(){return e(s,{style:{"--percentuale":`${this.percentage}%`},class:this.transition?this.transition:n.slideInDown,onAnimationEnd:t=>{this.autoclose&&t.animationName.includes("slidein")&&this.startClosingTimeout(this.autoclose),t.animationName.includes("slideout")&&this.hostElement.parentNode.removeChild(this.hostElement)}},this.isMobile?this.renderMobileContainer():this.renderContainer())}get hostElement(){return a(this)}static get watchers(){return{isdraggable:["watchPropIsdraggable"],autoclose:["watchPropAutoclose"],pauseonfocusloss:["watchPropPauseonfocusloss"]}}};l.style=":host{display:inline-block;min-width:200px;width:100vw}:host(.slide-in-left){animation:slideinleft 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-right){animation:slideinright 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-down){animation:slideindown 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-up){animation:slideinup 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-left){animation:slideoutleft 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-right){animation:slideoutright 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-down){animation:slideoutdown 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-up){animation:slideoutup 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}@keyframes slideinleft{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@keyframes slideinright{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slideinup{0%{transform:translateY(100%);opacity:0}100%{transform:translateY(0);opacity:100%}}@keyframes slideindown{0%{transform:translateY(-100%);opacity:0}100%{transform:translateY(0);opacity:100%}}@keyframes slideoutleft{0%{transform:translateX(var(--percentuale));opacity:calc(100-var(--percentuale))}100%{transform:translateX(-100%);opacity:0%}}@keyframes slideoutright{0%{transform:translateX(var(--percentuale));opacity:calc(100-var(--percentuale))}100%{transform:translateX(100%);opacity:0%}}@keyframes slideoutup{0%{transform:translateY(var(--percentuale));opacity:100%}100%{transform:translateY(-100%);opacity:0}}@keyframes slideoutdown{0%{transform:translateY(var(--percentuale));opacity:100%}100%{transform:translateY(100%);opacity:0}}:host>#external-container{font-family:var(--font-family-sans);font-weight:var(--font-rg);border-radius:4px;font-size:14px;letter-spacing:0.16px;box-sizing:border-box;min-height:52px;padding:calc(var(--space-unit) * 1) calc(var(--space-unit) * 2);display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow-3)}:host>#external-container.mobile-wrapped>#icon{align-self:flex-start}:host>#external-container.several-lines-padding{padding:calc(var(--space-unit) * 2)}:host>#external-container>#flex-container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%}:host>#external-container #text{color:var(--color-white);line-height:20px;margin-right:calc(var(--space-unit) * 2);letter-spacing:0.16px;text-align:left}:host>#external-container #text>.title{margin-right:4px;font-weight:600}:host>#external-container.mobile-wrapped #button ::slotted(z-button){margin-top:calc(var(--space-unit) * 2)}:host>#external-container #icon{cursor:pointer;fill:var(--color-white);margin-left:calc(var(--space-unit) * 2)}:host>#external-container.dark{background:var(--gray800)}:host>#external-container.light{background:var(--color-background)}:host>#external-container.light #icon,:host>#external-container.warning #text,:host>#external-container.warning #icon{fill:var(--color-icon01)}:host>#external-container.light #text,:host>#external-container.warning #text{color:var(--grey800)}:host>#external-container.accent{background:var(--color-primary01)}:host>#external-container.error{background:var(--color-error-default)}:host>#external-container.success{background:var(--color-success-default)}:host>#external-container.warning{background:var(--color-warning-default)}@media only screen and (min-width: 768px){:host{width:unset;max-width:50vw}:host>#external-container>#flex-container{flex-wrap:nowrap}:host>#external-container #text{width:100%}}@media only screen and (min-width: 1366px){:host{width:unset;max-width:33vw}}";export{l as z_toast_notification}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as s,g as h,H as e}from"./p-
|
|
1
|
+
import{r as t,h as s,g as h,H as e}from"./p-98268a57.js";const i=class{constructor(s){t(this,s),this.variant="regular"}render(){return s("z-typography",{tabIndex:0,component:this.component||"span",level:`b${this.level}`,variant:this.variant},s("slot",null))}},o=class{constructor(s){t(this,s),this.variant="regular"}render(){const t=document.createElement(this.component||"span");return t.innerHTML="<slot />",this.hostElement.shadowRoot.appendChild(t),s(e,{class:{[this.level]:Boolean(this.level),regular:"regular"===this.variant,semibold:"semibold"===this.variant,light:"light"===this.variant}})}get hostElement(){return h(this)}};o.style=":host>*{font-family:var(--dashboard-font);margin:0}:host(.regular)>*{font-weight:var(--font-rg)}:host(.semibold)>*{font-weight:600}:host(.light)>*{font-weight:300}:host(.h1)>*{font-size:32px;line-height:40px}:host(.h2)>*{font-size:28px;line-height:36px}:host(.h3)>*{font-size:24px;line-height:32px}:host(.h4)>*{font-size:20px;line-height:28px}:host(.b1)>*{font-size:20px;line-height:28px}:host(.b2)>*{font-size:18px;line-height:28px}:host(.b3)>*{font-size:16px;line-height:24px}:host(.b4)>*{font-size:14px;line-height:20px}:host(.b5)>*{font-size:12px;line-height:16px}:host(:focus-visible){outline:none}";export{i as z_body,o as z_typography}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,h as t}from"./p-
|
|
1
|
+
import{r as i,h as t}from"./p-98268a57.js";import{i as a}from"./p-82048c15.js";const s=class{constructor(t){i(this,t)}render(){const i=Object.keys(a);return t("div",null,i.map((i=>t("div",null,t("z-icon",{name:i}),t("label",null,i)))))}};s.style=":host>div{display:flex;flex-flow:row wrap;justify-content:flex-start;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:12px}:host>div>div{width:300px;margin:5px}:host>div>div>label{margin:0 10px}";export{s as z_icon_package}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as a,H as l,g as i}from"./p-
|
|
1
|
+
import{r as t,c as e,h as a,H as l,g as i}from"./p-98268a57.js";import{b as r,c as o}from"./p-e5602e1b.js";import{m as s}from"./p-d69e14fb.js";const d=class{constructor(a){t(this,a),this.callToAction=e(this,"callToAction",7),this.callToActionTwo=e(this,"callToActionTwo",7),this.errorMessage="Siamo spiacenti, non siamo riusciti a caricare il contenuto richiesto",this.bordered=!1,this.columnSticky=!1,this.empty=!1,this.error=!1,this.headerSticky=!1,this.message="Siamo spiacenti, al momento non sono presenti dati da visualizzare",this.subtitle=""}handleResize(){this.isMobile=window.innerWidth<=s}handleOrientationChange(){this.isMobile=screen.width<=s}componentWillLoad(){var t;this.isMobile=window.innerWidth<=s;const e=this.host.querySelector('[slot="table-body"]');this.hasTableBody=!!(null===(t=null==e?void 0:e.children)||void 0===t?void 0:t.length),e&&!this.hasTableBody&&e.remove()}componentWillRender(){this.host.setAttribute("role","table")}renderError(t){const e=this.lines?`calc(40px * ${this.lines})`:"auto";return a(l,null,a("div",{class:t},a("slot",{name:"table-header"})),a("z-table-error",null,a("div",{class:"error-content",style:{minHeight:e}},a("slot",{name:"error-image"}),a("div",{class:"text"},a("z-body",{class:"error-message",level:3,variant:"semibold"},this.errorMessage),a("slot",{name:"error-action"})))))}renderEmpty(t){const e=this.isMobile?o.small:o.big,i=this.hasTableBody?"table-content":"";return this.hasTableBody?a(l,null,a("div",{class:t},a("slot",{name:"table-header"}),a("div",{class:i},a("slot",{name:"table-body"}),a("z-table-empty-box",{class:this.bordered&&"bordered",message:this.message,subtitle:this.subtitle},!!this.callToActionLabel&&a("z-button",{slot:"cta1",variant:r.tertiary,onClick:()=>this.callToAction.emit(),size:e},this.callToActionLabel),!!this.callToActionTwoLabel&&a("z-button",{slot:"cta2",variant:r.tertiary,onClick:()=>this.callToActionTwo.emit(),size:e},this.callToActionTwoLabel))))):a(l,null,a("div",{class:t},a("slot",{name:"table-header"})),a("z-table-empty-box",{class:this.bordered&&"bordered",message:this.message,subtitle:this.subtitle},!!this.callToActionLabel&&a("z-button",{slot:"cta1",variant:r.tertiary,onClick:()=>this.callToAction.emit(),size:e},this.callToActionLabel),!!this.callToActionTwoLabel&&a("z-button",{slot:"cta2",variant:r.tertiary,onClick:()=>this.callToActionTwo.emit(),size:e},this.callToActionTwoLabel)))}render(){const t=`table ${this.empty?"table-empty":""} ${this.bordered?"table-bordered":""}\n ${this.columnSticky?"table-column-sticky":""}\n ${this.headerSticky?"table-header-sticky":""}`;return this.error?this.renderError(t):this.empty?this.renderEmpty(t):a(l,null,a("div",{class:t},a("slot",null)),a("slot",{name:"sticky-footer"}))}static get assetsDirs(){return["assets"]}get host(){return i(this)}};d.style="z-table{overflow-x:auto;display:block;width:100%;font-family:var(--dashboard-font);font-weight:var(--font-rg);background-color:var(--color-white)}z-table>div.table{display:table;width:100%;border-collapse:separate}z-table>div.table-bordered>z-table-body>z-table-row>z-table-cell:not(:last-child),z-table>div.table-bordered>z-table-head>z-table-header-row>z-table-header:not(:last-child){border-right:var(--border-size-small) solid var(--bg-grey-200)}z-table>div>z-table-body>z-table-row[expandable]>z-table-cell:first-child,z-table>div>z-table-head>z-table-header-row[expandable]>z-table-header:first-child{border-right:none}z-table>div>z-table-body>z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table>div>z-table-body>z-table-row[expanded]+z-table-expanded-row{border-bottom:1px solid var(--gray200)}z-table>div.table-column-sticky>z-table-body>z-table-row>z-table-cell:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{position:sticky;left:0;box-shadow:1px 0 4px -1px rgba(66, 69, 72, 0.4);z-index:1}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{position:sticky;top:0;box-shadow:0 2px 3px -3px rgba(66, 69, 72, 0.4)}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{z-index:2}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{z-index:5}z-table-body{width:auto;background-color:var(--color-white)}z-table-empty-box{display:flex;flex-direction:column;flex-grow:1;border-bottom:var(--border-size-small) solid var(--bg-grey-200)}z-table-empty-box.bordered{border-left:var(--border-size-small) solid var(--bg-grey-200)}.error-message{margin-top:calc(var(--space-unit) * 2)}.table-content{display:flex;flex-direction:row;width:100%}.error-content{font-family:var(--dashboard-font);padding:calc(var(--space-unit) * 3);display:flex}.error-content>img{width:244px;height:188px;margin-right:calc(var(--space-unit) * 3)}@media only screen and (max-width: 768px){z-table>div.table-empty{display:none}.error-content{display:flex;flex-direction:column}.error-content>img{width:auto;height:auto}.text{padding:calc(var(--space-unit) * 3) 0}}";export{d as z_table}
|