@zanichelli/delta_share 2.0.13 → 2.0.15
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/wc/cjs/delta_share.cjs.js +1 -1
- package/dist/wc/cjs/icons-9d7fe21e.js +751 -0
- package/dist/wc/cjs/index-1112cdb1.js +311 -0
- package/dist/wc/cjs/{license-activation_13.cjs.entry.js → license-activation_11.cjs.entry.js} +193 -143
- package/dist/wc/cjs/loader.cjs.js +1 -1
- package/dist/wc/cjs/utils-2bfaab77.js +2706 -0
- package/dist/wc/cjs/{utils-8a10bba9.js → utils-3ac19501.js} +9 -10
- package/dist/wc/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-anchor-navigation.cjs.entry.js +53 -0
- package/dist/wc/cjs/z-app-header.cjs.entry.js +21 -19
- package/dist/wc/cjs/z-app-switcher.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-aria-alert.cjs.entry.js +3 -2
- package/dist/wc/cjs/z-avatar.cjs.entry.js +8 -7
- package/dist/wc/cjs/z-body.cjs.entry.js +18 -0
- package/dist/wc/cjs/z-button-sort.cjs.entry.js +4 -5
- package/dist/wc/cjs/z-card.cjs.entry.js +15 -18
- package/dist/wc/cjs/z-carousel.cjs.entry.js +126 -4
- package/dist/wc/cjs/z-chip.cjs.entry.js +6 -6
- package/dist/wc/cjs/z-combobox.cjs.entry.js +66 -37
- package/dist/wc/cjs/z-contextual-menu.cjs.entry.js +13 -7
- package/dist/wc/cjs/z-cover-hero.cjs.entry.js +40 -0
- package/dist/wc/cjs/z-date-picker.cjs.entry.js +104 -2731
- package/dist/wc/cjs/z-divider.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-dragdrop-area.cjs.entry.js +37 -0
- package/dist/wc/cjs/z-file-upload.cjs.entry.js +50 -37
- package/dist/wc/cjs/z-file.cjs.entry.js +11 -10
- package/dist/wc/cjs/z-ghost-loading.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-heading.cjs.entry.js +18 -0
- package/dist/wc/cjs/z-info-reveal.cjs.entry.js +65 -0
- package/dist/wc/cjs/z-list_3.cjs.entry.js +261 -0
- package/dist/wc/cjs/z-logo.cjs.entry.js +2 -4
- package/dist/wc/cjs/z-menu-section.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-menu.cjs.entry.js +9 -12
- package/dist/wc/cjs/z-messages-pocket.cjs.entry.js +6 -6
- package/dist/wc/cjs/z-myz-card-alert.cjs.entry.js +7 -7
- package/dist/wc/cjs/z-myz-card-dictionary.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-myz-card-footer.cjs.entry.js +10 -9
- package/dist/wc/cjs/z-myz-card-icon.cjs.entry.js +3 -1
- package/dist/wc/cjs/z-myz-card-info.cjs.entry.js +26 -16
- package/dist/wc/cjs/z-myz-card-list.cjs.entry.js +3 -2
- package/dist/wc/cjs/z-myz-card_4.cjs.entry.js +17 -13
- package/dist/wc/cjs/z-myz-list-item.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-myz-list.cjs.entry.js +35 -0
- package/dist/wc/cjs/z-navigation-tab-link.cjs.entry.js +10 -10
- package/dist/wc/cjs/z-navigation-tab.cjs.entry.js +11 -11
- package/dist/wc/cjs/z-navigation-tabs.cjs.entry.js +20 -20
- package/dist/wc/cjs/z-notification.cjs.entry.js +2 -7
- package/dist/wc/cjs/z-offcanvas.cjs.entry.js +21 -14
- package/dist/wc/cjs/z-otp.cjs.entry.js +17 -17
- package/dist/wc/cjs/z-pagination.cjs.entry.js +14 -14
- package/dist/wc/cjs/z-panel-elem.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-pocket-message.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-pocket_3.cjs.entry.js +18 -18
- package/dist/wc/cjs/z-popover.cjs.entry.js +293 -98
- package/dist/wc/cjs/z-range-picker.cjs.entry.js +343 -0
- package/dist/wc/cjs/z-searchbar.cjs.entry.js +235 -0
- package/dist/wc/cjs/z-section-title.cjs.entry.js +4 -13
- package/dist/wc/cjs/z-select.cjs.entry.js +325 -0
- package/dist/wc/cjs/z-skip-to-content.cjs.entry.js +18 -20
- package/dist/wc/cjs/z-slideshow.cjs.entry.js +28 -11
- package/dist/wc/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-stepper.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table-cell.cjs.entry.js +10 -10
- package/dist/wc/cjs/z-table-empty-box.cjs.entry.js +5 -6
- package/dist/wc/cjs/z-table-expanded-row.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-table-header-row.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-table-header.cjs.entry.js +20 -26
- package/dist/wc/cjs/z-table-row.cjs.entry.js +9 -9
- package/dist/wc/cjs/z-table-sticky-footer.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table.cjs.entry.js +7 -9
- package/dist/wc/cjs/z-tag.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-toast-notification-list.cjs.entry.js +16 -16
- package/dist/wc/cjs/z-toast-notification.cjs.entry.js +37 -40
- package/dist/wc/cjs/z-toggle-button.cjs.entry.js +7 -9
- package/dist/wc/cjs/z-toggle-switch.cjs.entry.js +18 -16
- package/dist/wc/cjs/z-tooltip.cjs.entry.js +8 -251
- package/dist/wc/cjs/z-typography.cjs.entry.js +30 -0
- package/dist/wc/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/wc/collection/collection-manifest.json +5 -20
- package/dist/wc/collection/components/license-activation-form/license-activation-form.css +2 -1
- package/dist/wc/collection/components/license-activation-form/license-activation-form.js +11 -6
- package/dist/wc/collection/components/license-activation-modal/license-activation-modal.js +4 -13
- package/dist/wc/custom-elements/index.js +3401 -3332
- package/dist/wc/delta_share/delta_share.esm.js +1 -1
- package/dist/wc/delta_share/{p-cfc122de.entry.js → p-0434c900.entry.js} +1 -1
- package/dist/wc/delta_share/p-063881e2.entry.js +1 -0
- package/dist/wc/delta_share/p-0667e9cd.entry.js +1 -0
- package/dist/wc/delta_share/p-0aa553ea.entry.js +1 -0
- package/dist/wc/delta_share/p-0bb97b61.js +1 -0
- package/dist/wc/delta_share/p-0bff6d57.entry.js +1 -0
- package/dist/wc/delta_share/p-1009b417.entry.js +1 -0
- package/dist/wc/delta_share/p-1c2d7c30.entry.js +1 -0
- package/dist/wc/delta_share/p-1d2cb6f9.entry.js +1 -0
- package/dist/wc/delta_share/p-23905d08.entry.js +1 -0
- package/dist/wc/delta_share/p-29310a24.entry.js +1 -0
- package/dist/wc/delta_share/p-2f289949.entry.js +1 -0
- package/dist/wc/delta_share/p-3cf0c6a5.entry.js +1 -0
- package/dist/wc/delta_share/p-3fa29874.entry.js +1 -0
- package/dist/wc/delta_share/p-42dd4f36.entry.js +1 -0
- package/dist/wc/delta_share/p-42e9c740.entry.js +1 -0
- package/dist/wc/delta_share/p-45dcece4.entry.js +1 -0
- package/dist/wc/delta_share/p-4eb940ca.entry.js +1 -0
- package/dist/wc/delta_share/p-500ff0dd.entry.js +1 -0
- package/dist/wc/delta_share/p-5530ca81.entry.js +1 -0
- package/dist/wc/delta_share/p-578f4d61.entry.js +1 -0
- package/dist/wc/delta_share/p-57f2b8d8.entry.js +1 -0
- package/dist/wc/delta_share/p-5e503d5f.entry.js +1 -0
- package/dist/wc/delta_share/{p-43ae8e0a.entry.js → p-61264c72.entry.js} +1 -1
- package/dist/wc/delta_share/p-64decd7d.entry.js +1 -0
- package/dist/wc/delta_share/p-65be6de6.entry.js +1 -0
- package/dist/wc/delta_share/p-6c54d53f.entry.js +1 -0
- package/dist/wc/delta_share/p-6cb8def6.entry.js +1 -0
- package/dist/wc/delta_share/p-6d853df0.entry.js +1 -0
- package/dist/wc/delta_share/{p-6a39042b.entry.js → p-702dd7b4.entry.js} +1 -1
- package/dist/wc/delta_share/p-74b71f61.entry.js +1 -0
- package/dist/wc/delta_share/p-7546c464.entry.js +1 -0
- package/dist/wc/delta_share/p-78d71789.js +1 -0
- package/dist/wc/delta_share/{p-91a4ef35.js → p-7ae0c21f.js} +1 -1
- package/dist/wc/delta_share/p-81ddcb87.entry.js +1 -0
- package/dist/wc/delta_share/p-829539a5.entry.js +1 -0
- package/dist/wc/delta_share/p-8710e686.entry.js +1 -0
- package/dist/wc/delta_share/p-8794c0c7.entry.js +1 -0
- package/dist/wc/delta_share/p-8825d8e4.entry.js +1 -0
- package/dist/wc/delta_share/p-8876b438.entry.js +16 -0
- package/dist/wc/delta_share/p-8cc7c2c7.entry.js +1 -0
- package/dist/wc/delta_share/{p-06543221.entry.js → p-8d532866.entry.js} +1 -1
- package/dist/wc/delta_share/{p-cccef23b.entry.js → p-8d91a5b7.entry.js} +1 -1
- package/dist/wc/delta_share/p-90fdd23f.entry.js +1 -0
- package/dist/wc/delta_share/p-925fc6c3.entry.js +1 -0
- package/dist/wc/delta_share/p-950aa417.entry.js +1 -0
- package/dist/wc/delta_share/p-963999a8.entry.js +1 -0
- package/dist/wc/delta_share/p-963f64a8.entry.js +1 -0
- package/dist/wc/delta_share/p-99ffd017.entry.js +1 -0
- package/dist/wc/delta_share/{p-94df01a9.entry.js → p-9ad5616e.entry.js} +1 -1
- package/dist/wc/delta_share/p-9e5596cd.entry.js +1 -0
- package/dist/wc/delta_share/p-a2b564ef.entry.js +1 -0
- package/dist/wc/delta_share/{p-06b89fb4.entry.js → p-a64544de.entry.js} +1 -1
- package/dist/wc/delta_share/p-a6b403f9.entry.js +1 -0
- package/dist/wc/delta_share/p-a77930ad.entry.js +3 -0
- package/dist/wc/delta_share/{p-e7932e20.entry.js → p-a815651c.entry.js} +1 -1
- package/dist/wc/delta_share/p-afb5bfe5.entry.js +1 -0
- package/dist/wc/delta_share/p-b16fd965.entry.js +1 -0
- package/dist/wc/delta_share/p-b38b27f2.entry.js +1 -0
- package/dist/wc/delta_share/{p-dec6ab35.entry.js → p-bc10cf1a.entry.js} +1 -1
- package/dist/wc/delta_share/p-bcb29c7a.entry.js +1 -0
- package/dist/wc/delta_share/p-be7f8da0.entry.js +1 -0
- package/dist/wc/delta_share/p-c229c90e.entry.js +1 -0
- package/dist/wc/delta_share/p-c31b160e.entry.js +1 -0
- package/dist/wc/delta_share/p-c436e1af.entry.js +1 -0
- package/dist/wc/delta_share/p-c51ebb01.entry.js +1 -0
- package/dist/wc/delta_share/p-c885d25c.entry.js +1 -0
- package/dist/wc/delta_share/p-c9df8e5d.entry.js +1 -0
- package/dist/wc/delta_share/p-cb16715b.entry.js +1 -0
- package/dist/wc/delta_share/p-cf58d833.js +1 -0
- package/dist/wc/delta_share/p-d586adfc.entry.js +1 -0
- package/dist/wc/delta_share/{p-91af6142.entry.js → p-d69c3b08.entry.js} +1 -1
- package/dist/wc/delta_share/p-d8e80ee8.entry.js +1 -0
- package/dist/wc/delta_share/p-ddab353c.entry.js +1 -0
- package/dist/wc/delta_share/p-ea6c67f2.entry.js +1 -0
- package/dist/wc/delta_share/p-ee0a8f1f.entry.js +1 -0
- package/dist/wc/delta_share/p-fc49c455.entry.js +1 -0
- package/dist/wc/esm/delta_share.js +1 -1
- package/dist/wc/esm/icons-7a34b033.js +749 -0
- package/dist/wc/esm/index-4f1e2705.js +311 -0
- package/dist/wc/esm/{license-activation_13.entry.js → license-activation_11.entry.js} +194 -142
- package/dist/wc/esm/loader.js +1 -1
- package/dist/wc/esm/{utils-417652d9.js → utils-5a24a17b.js} +10 -11
- package/dist/wc/esm/utils-711517a4.js +2700 -0
- package/dist/wc/esm/z-alert.entry.js +1 -1
- package/dist/wc/esm/z-anchor-navigation.entry.js +49 -0
- package/dist/wc/esm/z-app-header.entry.js +21 -19
- package/dist/wc/esm/z-app-switcher.entry.js +3 -3
- package/dist/wc/esm/z-aria-alert.entry.js +3 -2
- package/dist/wc/esm/z-avatar.entry.js +8 -7
- package/dist/wc/esm/z-body.entry.js +14 -0
- package/dist/wc/esm/z-button-sort.entry.js +4 -5
- package/dist/wc/esm/z-card.entry.js +16 -19
- package/dist/wc/esm/z-carousel.entry.js +127 -5
- package/dist/wc/esm/z-chip.entry.js +6 -6
- package/dist/wc/esm/z-combobox.entry.js +66 -37
- package/dist/wc/esm/z-contextual-menu.entry.js +13 -7
- package/dist/wc/esm/z-cover-hero.entry.js +36 -0
- package/dist/wc/esm/z-date-picker.entry.js +103 -2730
- package/dist/wc/esm/z-divider.entry.js +3 -3
- package/dist/wc/esm/z-dragdrop-area.entry.js +33 -0
- package/dist/wc/esm/z-file-upload.entry.js +51 -38
- package/dist/wc/esm/z-file.entry.js +11 -10
- package/dist/wc/esm/z-ghost-loading.entry.js +2 -2
- package/dist/wc/esm/z-heading.entry.js +14 -0
- package/dist/wc/esm/z-info-reveal.entry.js +61 -0
- package/dist/wc/esm/z-list_3.entry.js +255 -0
- package/dist/wc/esm/z-logo.entry.js +2 -4
- package/dist/wc/esm/z-menu-section.entry.js +2 -2
- package/dist/wc/esm/z-menu.entry.js +10 -13
- package/dist/wc/esm/z-messages-pocket.entry.js +6 -6
- package/dist/wc/esm/z-myz-card-alert.entry.js +7 -7
- package/dist/wc/esm/z-myz-card-dictionary.entry.js +3 -3
- package/dist/wc/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/wc/esm/z-myz-card-footer.entry.js +10 -9
- package/dist/wc/esm/z-myz-card-icon.entry.js +3 -1
- package/dist/wc/esm/z-myz-card-info.entry.js +26 -16
- package/dist/wc/esm/z-myz-card-list.entry.js +3 -2
- package/dist/wc/esm/z-myz-card_4.entry.js +17 -13
- package/dist/wc/esm/z-myz-list-item.entry.js +3 -3
- package/dist/wc/esm/z-myz-list.entry.js +31 -0
- package/dist/wc/esm/z-navigation-tab-link.entry.js +10 -10
- package/dist/wc/esm/z-navigation-tab.entry.js +11 -11
- package/dist/wc/esm/z-navigation-tabs.entry.js +20 -20
- package/dist/wc/esm/z-notification.entry.js +3 -8
- package/dist/wc/esm/z-offcanvas.entry.js +22 -15
- package/dist/wc/esm/z-otp.entry.js +17 -17
- package/dist/wc/esm/z-pagination.entry.js +15 -15
- package/dist/wc/esm/z-panel-elem.entry.js +3 -3
- package/dist/wc/esm/z-pocket-message.entry.js +2 -2
- package/dist/wc/esm/z-pocket_3.entry.js +18 -18
- package/dist/wc/esm/z-popover.entry.js +294 -99
- package/dist/wc/esm/z-range-picker.entry.js +339 -0
- package/dist/wc/esm/z-searchbar.entry.js +231 -0
- package/dist/wc/esm/z-section-title.entry.js +5 -14
- package/dist/wc/esm/z-select.entry.js +321 -0
- package/dist/wc/esm/z-skip-to-content.entry.js +18 -20
- package/dist/wc/esm/z-slideshow.entry.js +28 -11
- package/dist/wc/esm/z-stepper-item.entry.js +1 -1
- package/dist/wc/esm/z-stepper.entry.js +2 -2
- package/dist/wc/esm/z-table-cell.entry.js +10 -10
- package/dist/wc/esm/z-table-empty-box.entry.js +5 -6
- package/dist/wc/esm/z-table-expanded-row.entry.js +1 -1
- package/dist/wc/esm/z-table-header-row.entry.js +3 -3
- package/dist/wc/esm/z-table-header.entry.js +20 -26
- package/dist/wc/esm/z-table-row.entry.js +9 -9
- package/dist/wc/esm/z-table-sticky-footer.entry.js +2 -2
- package/dist/wc/esm/z-table.entry.js +7 -9
- package/dist/wc/esm/z-tag.entry.js +2 -2
- package/dist/wc/esm/z-toast-notification-list.entry.js +17 -17
- package/dist/wc/esm/z-toast-notification.entry.js +37 -40
- package/dist/wc/esm/z-toggle-button.entry.js +7 -9
- package/dist/wc/esm/z-toggle-switch.entry.js +19 -17
- package/dist/wc/esm/z-tooltip.entry.js +9 -252
- package/dist/wc/esm/z-typography.entry.js +26 -0
- package/dist/wc/esm/z-visually-hidden.entry.js +1 -1
- package/dist/wc/types/components/license-activation-form/license-activation-form.d.ts +2 -2
- package/dist/wc/types/components/license-activation-modal/license-activation-modal.d.ts +2 -3
- package/package.json +1 -1
- package/dist/wc/cjs/icons-2aca6c75.js +0 -513
- package/dist/wc/cjs/index-1fda0714.js +0 -60
- package/dist/wc/cjs/index-9c6fd1db.js +0 -315
- package/dist/wc/cjs/z-app-topbar.cjs.entry.js +0 -41
- package/dist/wc/cjs/z-button-deprecated.cjs.entry.js +0 -38
- package/dist/wc/cjs/z-button-filter.cjs.entry.js +0 -49
- package/dist/wc/cjs/z-candybar.cjs.entry.js +0 -19
- package/dist/wc/cjs/z-chip-deprecated.cjs.entry.js +0 -24
- package/dist/wc/cjs/z-cookiebar.cjs.entry.js +0 -42
- package/dist/wc/cjs/z-dragdrop-area_2.cjs.entry.js +0 -48
- package/dist/wc/cjs/z-footer-link_3.cjs.entry.js +0 -49
- package/dist/wc/cjs/z-footer.cjs.entry.js +0 -107
- package/dist/wc/cjs/z-icon-package.cjs.entry.js +0 -23
- package/dist/wc/cjs/z-input-deprecated.cjs.entry.js +0 -271
- package/dist/wc/cjs/z-input-label_2.cjs.entry.js +0 -272
- package/dist/wc/cjs/z-list-group.cjs.entry.js +0 -54
- package/dist/wc/cjs/z-list_2.cjs.entry.js +0 -179
- package/dist/wc/cjs/z-menu-dropdown_2.cjs.entry.js +0 -89
- package/dist/wc/cjs/z-modal-login.cjs.entry.js +0 -82
- package/dist/wc/cjs/z-myz-topbar.cjs.entry.js +0 -194
- package/dist/wc/cjs/z-pagination-bar.cjs.entry.js +0 -128
- package/dist/wc/cjs/z-pagination-page.cjs.entry.js +0 -25
- package/dist/wc/cjs/z-status-tag.cjs.entry.js +0 -29
- package/dist/wc/cjs/z-user-dropdown.cjs.entry.js +0 -95
- package/dist/wc/delta_share/p-0b0179c7.js +0 -1
- package/dist/wc/delta_share/p-103f926c.entry.js +0 -1
- package/dist/wc/delta_share/p-11b446d7.entry.js +0 -1
- package/dist/wc/delta_share/p-13093633.entry.js +0 -1
- package/dist/wc/delta_share/p-20c14e4e.entry.js +0 -1
- package/dist/wc/delta_share/p-243df9e5.entry.js +0 -1
- package/dist/wc/delta_share/p-244accd2.entry.js +0 -1
- package/dist/wc/delta_share/p-261611b1.js +0 -1
- package/dist/wc/delta_share/p-286363e2.js +0 -7
- package/dist/wc/delta_share/p-29729c73.entry.js +0 -1
- package/dist/wc/delta_share/p-29cb5018.entry.js +0 -1
- package/dist/wc/delta_share/p-29d111de.entry.js +0 -1
- package/dist/wc/delta_share/p-2b05751b.entry.js +0 -1
- package/dist/wc/delta_share/p-32975e01.entry.js +0 -1
- package/dist/wc/delta_share/p-32d34db1.entry.js +0 -1
- package/dist/wc/delta_share/p-3341f25e.entry.js +0 -1
- package/dist/wc/delta_share/p-33fb12fc.entry.js +0 -1
- package/dist/wc/delta_share/p-36955fc5.entry.js +0 -1
- package/dist/wc/delta_share/p-39440988.entry.js +0 -1
- package/dist/wc/delta_share/p-3bb7f110.entry.js +0 -1
- package/dist/wc/delta_share/p-3f61bc0d.entry.js +0 -1
- package/dist/wc/delta_share/p-422f29e8.entry.js +0 -1
- package/dist/wc/delta_share/p-44eba966.entry.js +0 -1
- package/dist/wc/delta_share/p-464dc49d.entry.js +0 -1
- package/dist/wc/delta_share/p-5374191c.entry.js +0 -16
- package/dist/wc/delta_share/p-5559856c.entry.js +0 -1
- package/dist/wc/delta_share/p-55ecb7aa.entry.js +0 -1
- package/dist/wc/delta_share/p-5af0e3cd.entry.js +0 -1
- package/dist/wc/delta_share/p-5b320481.entry.js +0 -1
- package/dist/wc/delta_share/p-5d085d01.entry.js +0 -1
- package/dist/wc/delta_share/p-5e9898dd.entry.js +0 -1
- package/dist/wc/delta_share/p-6422731e.entry.js +0 -1
- package/dist/wc/delta_share/p-64ffaf7b.entry.js +0 -1
- package/dist/wc/delta_share/p-6613eeee.entry.js +0 -1
- package/dist/wc/delta_share/p-6a9fb59c.entry.js +0 -1
- package/dist/wc/delta_share/p-6f7064dc.entry.js +0 -1
- package/dist/wc/delta_share/p-767a8d6e.entry.js +0 -1
- package/dist/wc/delta_share/p-76cfb0be.entry.js +0 -1
- package/dist/wc/delta_share/p-7f71c41e.entry.js +0 -1
- package/dist/wc/delta_share/p-8b6617d8.entry.js +0 -1
- package/dist/wc/delta_share/p-8fb4a4ea.entry.js +0 -1
- package/dist/wc/delta_share/p-94b8f342.entry.js +0 -1
- package/dist/wc/delta_share/p-9656b290.entry.js +0 -1
- package/dist/wc/delta_share/p-97e4d621.entry.js +0 -1
- package/dist/wc/delta_share/p-98853ba5.entry.js +0 -1
- package/dist/wc/delta_share/p-9c147330.entry.js +0 -1
- package/dist/wc/delta_share/p-9d35fb61.entry.js +0 -1
- package/dist/wc/delta_share/p-a0663266.entry.js +0 -1
- package/dist/wc/delta_share/p-a823768b.entry.js +0 -1
- package/dist/wc/delta_share/p-b1b05625.entry.js +0 -1
- package/dist/wc/delta_share/p-b1c1f030.entry.js +0 -1
- package/dist/wc/delta_share/p-bb38e604.entry.js +0 -1
- package/dist/wc/delta_share/p-bcb49d1a.entry.js +0 -1
- package/dist/wc/delta_share/p-c2dde3b3.entry.js +0 -1
- package/dist/wc/delta_share/p-c750a121.entry.js +0 -3
- package/dist/wc/delta_share/p-cd42e0b5.entry.js +0 -1
- package/dist/wc/delta_share/p-d282ce22.entry.js +0 -1
- package/dist/wc/delta_share/p-d610565d.entry.js +0 -1
- package/dist/wc/delta_share/p-da0b941f.entry.js +0 -1
- package/dist/wc/delta_share/p-da8144e5.entry.js +0 -1
- package/dist/wc/delta_share/p-dafefe1f.entry.js +0 -1
- package/dist/wc/delta_share/p-dc148f92.entry.js +0 -1
- package/dist/wc/delta_share/p-dd50dd54.entry.js +0 -1
- package/dist/wc/delta_share/p-de117646.entry.js +0 -1
- package/dist/wc/delta_share/p-e37c7b62.entry.js +0 -1
- package/dist/wc/delta_share/p-e9412ef0.entry.js +0 -1
- package/dist/wc/delta_share/p-ea6c7be0.entry.js +0 -1
- package/dist/wc/delta_share/p-ebb9a3f9.entry.js +0 -1
- package/dist/wc/delta_share/p-ee76ecea.entry.js +0 -1
- package/dist/wc/delta_share/p-f2323f2a.entry.js +0 -1
- package/dist/wc/delta_share/p-f441efc3.entry.js +0 -1
- package/dist/wc/delta_share/p-f531a563.entry.js +0 -1
- package/dist/wc/delta_share/p-fa3d96ab.entry.js +0 -1
- package/dist/wc/delta_share/p-fd83d815.entry.js +0 -1
- package/dist/wc/delta_share/p-ff2508eb.entry.js +0 -1
- package/dist/wc/esm/icons-74713b55.js +0 -511
- package/dist/wc/esm/index-654849a7.js +0 -315
- package/dist/wc/esm/index-abb47b30.js +0 -58
- package/dist/wc/esm/z-app-topbar.entry.js +0 -37
- package/dist/wc/esm/z-button-deprecated.entry.js +0 -34
- package/dist/wc/esm/z-button-filter.entry.js +0 -45
- package/dist/wc/esm/z-candybar.entry.js +0 -15
- package/dist/wc/esm/z-chip-deprecated.entry.js +0 -20
- package/dist/wc/esm/z-cookiebar.entry.js +0 -38
- package/dist/wc/esm/z-dragdrop-area_2.entry.js +0 -43
- package/dist/wc/esm/z-footer-link_3.entry.js +0 -43
- package/dist/wc/esm/z-footer.entry.js +0 -103
- package/dist/wc/esm/z-icon-package.entry.js +0 -19
- package/dist/wc/esm/z-input-deprecated.entry.js +0 -267
- package/dist/wc/esm/z-input-label_2.entry.js +0 -267
- package/dist/wc/esm/z-list-group.entry.js +0 -50
- package/dist/wc/esm/z-list_2.entry.js +0 -174
- package/dist/wc/esm/z-menu-dropdown_2.entry.js +0 -84
- package/dist/wc/esm/z-modal-login.entry.js +0 -78
- package/dist/wc/esm/z-myz-topbar.entry.js +0 -190
- package/dist/wc/esm/z-pagination-bar.entry.js +0 -124
- package/dist/wc/esm/z-pagination-page.entry.js +0 -21
- package/dist/wc/esm/z-status-tag.entry.js +0 -25
- package/dist/wc/esm/z-user-dropdown.entry.js +0 -91
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-b3a91e19.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = "ul{padding:0;margin:0}";
|
|
4
|
+
|
|
5
|
+
const ZMyzList = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
componentWillLoad() {
|
|
10
|
+
if (this.inputrawdata) {
|
|
11
|
+
this.parseinputrawdata(this.inputrawdata);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
parseinputrawdata(inputrawdata) {
|
|
15
|
+
this.list = [...JSON.parse(inputrawdata)];
|
|
16
|
+
}
|
|
17
|
+
oninputrawdataChange(newValue) {
|
|
18
|
+
this.parseinputrawdata(newValue);
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
const lastElem = this.list ? this.list.length - 1 : -1;
|
|
22
|
+
return (h("ul", null, this.list &&
|
|
23
|
+
this.list.map((bean, i) => (h("z-myz-list-item", { listitemid: bean.listitemid, text: bean.text, link: bean.link, linktarget: bean.linktarget, icon: bean.icon, underlined: lastElem != i })))));
|
|
24
|
+
}
|
|
25
|
+
static get watchers() { return {
|
|
26
|
+
"inputrawdata": ["oninputrawdataChange"]
|
|
27
|
+
}; }
|
|
28
|
+
};
|
|
29
|
+
ZMyzList.style = stylesCss;
|
|
30
|
+
|
|
31
|
+
export { ZMyzList as z_myz_list };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-b3a91e19.js';
|
|
2
|
-
import { N as
|
|
3
|
-
import {
|
|
2
|
+
import { N as NavigationTabsOrientation, s as NavigationTabsSize } from './index-4f1e2705.js';
|
|
3
|
+
import { I as ICONS } from './icons-7a34b033.js';
|
|
4
4
|
|
|
5
|
-
const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;align-items:center;justify-content:center;
|
|
5
|
+
const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{box-shadow:inset var(--shadow-focus-primary)}z-navigation-tab:not([disabled]):hover>*,z-navigation-tab[selected]>*,z-navigation-tab-link:not([disabled]):hover>*,z-navigation-tab-link[selected]>*{color:var(--color-hover-secondary);fill:currentcolor}z-navigation-tab:not([disabled]):hover>*::after,z-navigation-tab[selected]>*::after,z-navigation-tab-link:not([disabled]):hover>*::after,z-navigation-tab-link[selected]>*::after{position:absolute;background-color:var(--color-hover-secondary);content:\"\"}z-navigation-tab[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation=\"horizontal\"][selected]>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tab z-icon,z-navigation-tab-link z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tab[orientation=\"horizontal\"] z-icon,z-navigation-tab-link[orientation=\"horizontal\"] z-icon{margin-right:var(--space-unit)}z-navigation-tab:not([disabled]):hover>*{background-color:var(--color-background)}z-navigation-tab[disabled]>*{color:var(--gray500);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tab[size=\"small\"]>*,z-navigation-tab-link[size=\"small\"]>*{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]>*,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[size=\"small\"][orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]:hover>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"][selected]>*::after{height:var(--border-size-medium)}z-navigation-tab[size=\"small\"]:not([orientation=\"vertical\"]) z-icon,z-navigation-tab-link[size=\"small\"]:not([orientation=\"vertical\"]) z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tab[orientation=\"vertical\"]>*,z-navigation-tab-link[orientation=\"vertical\"]>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tab[orientation=\"vertical\"]:hover:not([disabled])>*::after,z-navigation-tab[orientation=\"vertical\"][selected]>*::after,z-navigation-tab-link[orientation=\"vertical\"]:hover>*::after,z-navigation-tab-link[orientation=\"vertical\"][selected]>*::after{top:0;right:0;width:var(--border-size-large);height:100%}";
|
|
6
6
|
|
|
7
7
|
const ZNavigationTabLink = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -19,19 +19,19 @@ const ZNavigationTabLink = class {
|
|
|
19
19
|
/**
|
|
20
20
|
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
21
21
|
*/
|
|
22
|
-
this.orientation =
|
|
22
|
+
this.orientation = NavigationTabsOrientation.HORIZONTAL;
|
|
23
23
|
/**
|
|
24
24
|
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
25
25
|
*/
|
|
26
|
-
this.size =
|
|
26
|
+
this.size = NavigationTabsSize.BIG;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Scroll into view to center the tab.
|
|
30
30
|
*/
|
|
31
31
|
scrollToTab({ target: button }) {
|
|
32
|
-
const scrollOptions = this.orientation ===
|
|
33
|
-
{ block: "nearest", inline: "center" }
|
|
34
|
-
{ block: "center", inline: "nearest" };
|
|
32
|
+
const scrollOptions = this.orientation === NavigationTabsOrientation.HORIZONTAL
|
|
33
|
+
? { block: "nearest", inline: "center" }
|
|
34
|
+
: { block: "center", inline: "nearest" };
|
|
35
35
|
button.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
|
|
36
36
|
}
|
|
37
37
|
onClick() {
|
|
@@ -49,8 +49,8 @@ const ZNavigationTabLink = class {
|
|
|
49
49
|
*/
|
|
50
50
|
renderIcon() {
|
|
51
51
|
let icon = this.icon;
|
|
52
|
-
const iconFilled = `${icon.replace(/-filled$/,
|
|
53
|
-
if (this.selected && Object.keys(
|
|
52
|
+
const iconFilled = `${icon.replace(/-filled$/, "")}-filled`;
|
|
53
|
+
if (this.selected && Object.keys(ICONS).includes(iconFilled)) {
|
|
54
54
|
icon = iconFilled;
|
|
55
55
|
}
|
|
56
56
|
return h("z-icon", { name: icon });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-b3a91e19.js';
|
|
2
|
-
import { N as
|
|
3
|
-
import {
|
|
2
|
+
import { N as NavigationTabsOrientation, s as NavigationTabsSize } from './index-4f1e2705.js';
|
|
3
|
+
import { I as ICONS } from './icons-7a34b033.js';
|
|
4
4
|
|
|
5
|
-
const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;align-items:center;justify-content:center;
|
|
5
|
+
const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{box-shadow:inset var(--shadow-focus-primary)}z-navigation-tab:not([disabled]):hover>*,z-navigation-tab[selected]>*,z-navigation-tab-link:not([disabled]):hover>*,z-navigation-tab-link[selected]>*{color:var(--color-hover-secondary);fill:currentcolor}z-navigation-tab:not([disabled]):hover>*::after,z-navigation-tab[selected]>*::after,z-navigation-tab-link:not([disabled]):hover>*::after,z-navigation-tab-link[selected]>*::after{position:absolute;background-color:var(--color-hover-secondary);content:\"\"}z-navigation-tab[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation=\"horizontal\"][selected]>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tab z-icon,z-navigation-tab-link z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tab[orientation=\"horizontal\"] z-icon,z-navigation-tab-link[orientation=\"horizontal\"] z-icon{margin-right:var(--space-unit)}z-navigation-tab:not([disabled]):hover>*{background-color:var(--color-background)}z-navigation-tab[disabled]>*{color:var(--gray500);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tab[size=\"small\"]>*,z-navigation-tab-link[size=\"small\"]>*{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]>*,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[size=\"small\"][orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]:hover>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"][selected]>*::after{height:var(--border-size-medium)}z-navigation-tab[size=\"small\"]:not([orientation=\"vertical\"]) z-icon,z-navigation-tab-link[size=\"small\"]:not([orientation=\"vertical\"]) z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tab[orientation=\"vertical\"]>*,z-navigation-tab-link[orientation=\"vertical\"]>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tab[orientation=\"vertical\"]:hover:not([disabled])>*::after,z-navigation-tab[orientation=\"vertical\"][selected]>*::after,z-navigation-tab-link[orientation=\"vertical\"]:hover>*::after,z-navigation-tab-link[orientation=\"vertical\"][selected]>*::after{top:0;right:0;width:var(--border-size-large);height:100%}";
|
|
6
6
|
|
|
7
7
|
const ZNavigationTab = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -19,19 +19,19 @@ const ZNavigationTab = class {
|
|
|
19
19
|
/**
|
|
20
20
|
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
21
21
|
*/
|
|
22
|
-
this.orientation =
|
|
22
|
+
this.orientation = NavigationTabsOrientation.HORIZONTAL;
|
|
23
23
|
/**
|
|
24
24
|
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
25
25
|
*/
|
|
26
|
-
this.size =
|
|
26
|
+
this.size = NavigationTabsSize.BIG;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Scroll into view to center the tab.
|
|
30
30
|
*/
|
|
31
31
|
scrollToTab({ target: button }) {
|
|
32
|
-
const scrollOptions = this.orientation ===
|
|
33
|
-
{ block: "nearest", inline: "center" }
|
|
34
|
-
{ block: "center", inline: "nearest" };
|
|
32
|
+
const scrollOptions = this.orientation === NavigationTabsOrientation.HORIZONTAL
|
|
33
|
+
? { block: "nearest", inline: "center" }
|
|
34
|
+
: { block: "center", inline: "nearest" };
|
|
35
35
|
button.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
|
|
36
36
|
}
|
|
37
37
|
onClick() {
|
|
@@ -51,14 +51,14 @@ const ZNavigationTab = class {
|
|
|
51
51
|
*/
|
|
52
52
|
renderIcon() {
|
|
53
53
|
let icon = this.icon;
|
|
54
|
-
const iconFilled = `${icon.replace(/-filled$/,
|
|
55
|
-
if (this.selected && Object.keys(
|
|
54
|
+
const iconFilled = `${icon.replace(/-filled$/, "")}-filled`;
|
|
55
|
+
if (this.selected && Object.keys(ICONS).includes(iconFilled)) {
|
|
56
56
|
icon = iconFilled;
|
|
57
57
|
}
|
|
58
58
|
return h("z-icon", { name: icon });
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h("button", { role: "tab", disabled: this.disabled, title: this.htmlTitle, onFocus: this.scrollToTab.bind(this) }, this.icon && this.renderIcon(), this.orientation ===
|
|
61
|
+
return (h("button", { role: "tab", disabled: this.disabled, title: this.htmlTitle, onFocus: this.scrollToTab.bind(this) }, this.icon && this.renderIcon(), this.orientation === NavigationTabsOrientation.HORIZONTAL && this.label));
|
|
62
62
|
}
|
|
63
63
|
static get watchers() { return {
|
|
64
64
|
"selected": ["onSelected"]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, a as getElement } from './index-b3a91e19.js';
|
|
2
|
-
import { N as
|
|
2
|
+
import { N as NavigationTabsOrientation, s as NavigationTabsSize } from './index-4f1e2705.js';
|
|
3
3
|
|
|
4
|
-
const stylesCss = ":host{position:relative;display:flex;flex-direction:row;
|
|
4
|
+
const stylesCss = ":host{position:relative;z-index:0;display:flex;overflow:hidden;flex-direction:row;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,:host *,::slotted(*){box-sizing:border-box}::-webkit-scrollbar{display:none}.navigation-button{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:0;background:var(--color-white);border-radius:var(--border-no-radius);box-shadow:0 0 4px 1px rgb(66 69 72 / 40%);cursor:pointer;fill:var(--color-primary01);outline:none}.navigation-button:focus:focus-visible{box-shadow:inset var(--shadow-focus-primary);fill:var(--color-primary01)}.navigation-button:disabled{display:none}nav{display:flex;overflow:auto;align-items:center;justify-content:flex-start;scroll-behavior:smooth;scrollbar-width:none}:host([orientation=\"horizontal\"]) nav{width:100%}:host([orientation=\"horizontal\"]) .navigation-button{top:0;width:calc(var(--space-unit) * 4);height:100%}:host([orientation=\"horizontal\"]) .navigation-button:first-child{left:0}:host([orientation=\"horizontal\"]) .navigation-button:last-child{right:0}:host([orientation=\"vertical\"]){width:fit-content;flex-direction:column}:host([orientation=\"vertical\"]) nav{height:100%;flex-direction:column;align-items:stretch}:host([orientation=\"vertical\"]) .navigation-button{left:0;width:100%;height:calc(var(--space-unit) * 4)}:host([orientation=\"vertical\"]) .navigation-button:first-child{top:0}:host([orientation=\"vertical\"]) .navigation-button:last-child{bottom:0}:host([size=\"small\"][orientation=\"vertical\"]) .navigation-button{height:calc(var(--space-unit) * 4)}";
|
|
5
5
|
|
|
6
6
|
const ZNavigationTabs = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -9,23 +9,23 @@ const ZNavigationTabs = class {
|
|
|
9
9
|
/**
|
|
10
10
|
* Navigation tabs orientation.
|
|
11
11
|
*/
|
|
12
|
-
this.orientation =
|
|
12
|
+
this.orientation = NavigationTabsOrientation.HORIZONTAL;
|
|
13
13
|
/**
|
|
14
14
|
* Navigation tabs size.
|
|
15
15
|
*/
|
|
16
|
-
this.size =
|
|
16
|
+
this.size = NavigationTabsSize.BIG;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* Getter for the direction to check based on current orientation.
|
|
20
20
|
*/
|
|
21
21
|
get direction() {
|
|
22
|
-
return this.orientation ==
|
|
22
|
+
return this.orientation == NavigationTabsOrientation.HORIZONTAL ? "Left" : "Top";
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Getter for the dimension to check based on current orientation.
|
|
26
26
|
*/
|
|
27
27
|
get dimension() {
|
|
28
|
-
return this.orientation ==
|
|
28
|
+
return this.orientation == NavigationTabsOrientation.HORIZONTAL ? "Width" : "Height";
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Set the `size` prop to all `z-navigation-tab` children.
|
|
@@ -33,7 +33,7 @@ const ZNavigationTabs = class {
|
|
|
33
33
|
setChildrenSize() {
|
|
34
34
|
const children = Array.from(this.host.children);
|
|
35
35
|
children.forEach((child) => {
|
|
36
|
-
child.setAttribute(
|
|
36
|
+
child.setAttribute("size", this.size);
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
@@ -42,7 +42,7 @@ const ZNavigationTabs = class {
|
|
|
42
42
|
setChildrenOrientation() {
|
|
43
43
|
const children = Array.from(this.host.children);
|
|
44
44
|
children.forEach((child) => {
|
|
45
|
-
child.setAttribute(
|
|
45
|
+
child.setAttribute("orientation", this.orientation);
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
@@ -61,8 +61,9 @@ const ZNavigationTabs = class {
|
|
|
61
61
|
if (!this.tabsNav) {
|
|
62
62
|
return;
|
|
63
63
|
}
|
|
64
|
-
this.canNavigateNext =
|
|
65
|
-
this.tabsNav[`scroll${this.dimension}`]
|
|
64
|
+
this.canNavigateNext =
|
|
65
|
+
this.tabsNav[`scroll${this.direction}`] + this.tabsNav[`client${this.dimension}`] <
|
|
66
|
+
this.tabsNav[`scroll${this.dimension}`];
|
|
66
67
|
this.canNavigatePrev = this.tabsNav[`scroll${this.direction}`] > 0;
|
|
67
68
|
}
|
|
68
69
|
/**
|
|
@@ -76,7 +77,7 @@ const ZNavigationTabs = class {
|
|
|
76
77
|
const children = Array.from(this.host.children);
|
|
77
78
|
children.forEach((child) => {
|
|
78
79
|
if (child !== tab) {
|
|
79
|
-
child.removeAttribute(
|
|
80
|
+
child.removeAttribute("selected");
|
|
80
81
|
}
|
|
81
82
|
});
|
|
82
83
|
}
|
|
@@ -85,8 +86,8 @@ const ZNavigationTabs = class {
|
|
|
85
86
|
*/
|
|
86
87
|
navigateBackwards() {
|
|
87
88
|
this.tabsNav.scrollBy({
|
|
88
|
-
[this.direction.toLowerCase()]: 0 -
|
|
89
|
-
behavior:
|
|
89
|
+
[this.direction.toLowerCase()]: 0 - this.tabsNav[`client${this.dimension}`] / 2,
|
|
90
|
+
behavior: "smooth",
|
|
90
91
|
});
|
|
91
92
|
}
|
|
92
93
|
/**
|
|
@@ -94,9 +95,8 @@ const ZNavigationTabs = class {
|
|
|
94
95
|
*/
|
|
95
96
|
navigateForward() {
|
|
96
97
|
this.tabsNav.scrollBy({
|
|
97
|
-
[this.direction.toLowerCase()]: this.tabsNav[`scroll${this.direction}`] +
|
|
98
|
-
|
|
99
|
-
behavior: 'smooth',
|
|
98
|
+
[this.direction.toLowerCase()]: this.tabsNav[`scroll${this.direction}`] + this.tabsNav[`client${this.dimension}`] / 2,
|
|
99
|
+
behavior: "smooth",
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
102
|
componentDidRender() {
|
|
@@ -105,10 +105,10 @@ const ZNavigationTabs = class {
|
|
|
105
105
|
this.checkScrollVisible();
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
return h(Host, { class: {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}, scrollable: this.canNavigate }, this.canNavigate && h("button", { class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabindex: "-1", disabled: !this.canNavigatePrev }, h("z-icon", { name: this.orientation
|
|
108
|
+
return (h(Host, { class: {
|
|
109
|
+
"interactive-2": this.size === NavigationTabsSize.SMALL,
|
|
110
|
+
"interactive-1": this.size !== NavigationTabsSize.SMALL,
|
|
111
|
+
}, scrollable: this.canNavigate }, this.canNavigate && (h("button", { class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabindex: "-1", disabled: !this.canNavigatePrev }, h("z-icon", { name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 }))), h("nav", { role: "tablist", ref: (el) => (this.tabsNav = el !== null && el !== void 0 ? el : this.tabsNav), onScroll: this.checkScrollEnabled.bind(this) }, h("slot", null)), this.canNavigate && (h("button", { class: "navigation-button", onClick: this.navigateForward.bind(this), tabindex: "-1", disabled: !this.canNavigateNext }, h("z-icon", { name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 })))));
|
|
112
112
|
}
|
|
113
113
|
get host() { return getElement(this); }
|
|
114
114
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-b3a91e19.js';
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-b3a91e19.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = ":host{--z-notification--top-offset:0;display:flex;align-items:flex-start;
|
|
3
|
+
const stylesCss = ":host{--z-notification--top-offset:0;display:flex;width:100%;box-sizing:border-box;align-items:flex-start;padding:calc(var(--space-unit) * 2);border-bottom:var(--border-size-medium) solid var(--color-surface03);font-family:var(--font-family-sans);outline:none}:host[sticky]{position:sticky;top:var(--z-notification--top-offset)}:host[sticky],:host([showshadow]){box-shadow:var(--shadow-3)}:host([type=\"success\"]){background:var(--color-success-inverse)}:host([type=\"warning\"]){background:var(--color-warning-inverse)}:host([type=\"error\"]){background:var(--color-error-inverse)}.status-icon,.close-button{display:flex;height:20px;align-items:center}:host([type=\"success\"]) .status-icon{fill:var(--color-success01)}:host([type=\"warning\"]) .status-icon{fill:var(--color-warning02)}:host([type=\"error\"]) .status-icon{fill:var(--color-error01)}:host>button,.content-container>button{padding:0;border:none;margin:0;background:transparent;cursor:pointer;font-family:inherit}.status-icon+.content-container{margin-left:var(--space-unit)}.content-container{display:flex;flex:1 auto;flex-wrap:wrap;align-items:baseline;justify-content:space-between;row-gap:calc(var(--space-unit) * 2)}.content-text{max-width:800px;color:var(--color-text01);font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:20px}.action-button{color:var(--color-primary01);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:16px}.content-container+.close-button{margin-left:calc(var(--space-unit) * 2)}.close-button z-icon{fill:var(--color-primary01)}@media and (min-width: 768px){.content-container{flex-wrap:nowrap}.content-text+.action-button{margin-left:calc(var(--space-unit) * 5)}}";
|
|
4
4
|
|
|
5
5
|
const ZNotification = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -29,12 +29,7 @@ const ZNotification = class {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
var _a;
|
|
32
|
-
return
|
|
33
|
-
this.contenticonname && h("z-icon", { class: "status-icon", name: this.contenticonname, width: 16, height: 16 }),
|
|
34
|
-
h("div", { class: "content-container" }, h("div", { class: "content-text" }, h("slot", null)), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) &&
|
|
35
|
-
h("button", { class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext)),
|
|
36
|
-
this.showclose && h("button", { class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { name: "multiply-circle", width: 16, height: 16 }))
|
|
37
|
-
];
|
|
32
|
+
return (h(Host, null, this.contenticonname && (h("z-icon", { class: "status-icon", name: this.contenticonname, width: 16, height: 16 })), h("div", { class: "content-container" }, h("div", { class: "content-text" }, h("slot", null)), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) && (h("button", { class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext))), this.showclose && (h("button", { class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { name: "multiply-circle", width: 16, height: 16 })))));
|
|
38
33
|
}
|
|
39
34
|
};
|
|
40
35
|
ZNotification.style = stylesCss;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-b3a91e19.js';
|
|
2
|
-
import { O as
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-b3a91e19.js';
|
|
2
|
+
import { O as OffCanvasVariant, t as TransitionDirection } from './index-4f1e2705.js';
|
|
3
3
|
|
|
4
|
-
const stylesCss = ".sc-z-offcanvas-h{--z-offcanvas--container-width:375px;--z-offcanvas--top-space:
|
|
4
|
+
const stylesCss = ".sc-z-offcanvas-h{--z-offcanvas--container-width:375px;--z-offcanvas--top-space:0;display:none;min-width:100%;height:100%;justify-content:end;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.canvas-container.sc-z-offcanvas{display:flex;overflow:-moz-scrollbars-none;overflow:hidden;min-width:100%;height:100%;flex-direction:column;background:var(--color-surface01);transform:translateX(100%)}@keyframes enter-right{from{transform:translateX(100%)}to{transform:translateX(0)}}[open].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{animation-duration:0.4s;animation-name:enter-right;animation-timing-function:ease-out;transform:translateX(0)}@keyframes exit-right{from{transform:translateX(0)}to{transform:translateX(100%)}}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"]>.canvas-container.sc-z-offcanvas{animation-duration:0.4s;animation-name:exit-right;animation-timing-function:ease-out;transform:translateX(100%)}[variant=\"overlay\"].sc-z-offcanvas-h{position:fixed;z-index:1000;top:var(--z-offcanvas--top-space);right:0;bottom:0;left:0;height:calc(100% - var(--z-offcanvas--top-space))}[variant=\"overlay\"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{z-index:1010}[variant=\"overlay\"].sc-z-offcanvas-h .canvas-background.sc-z-offcanvas{position:absolute;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}[transitiondirection=\"right\"].sc-z-offcanvas-h{justify-content:start}[transitiondirection=\"right\"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateX(-100%)}@keyframes enter-left{from{transform:translateX(-100%)}to{transform:translateX(0)}}[transitiondirection=\"right\"][open].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{animation-duration:0.4s;animation-name:enter-left;animation-timing-function:ease-out;transform:translateX(0)}@keyframes exit-left{from{transform:translateX(0)}to{transform:translateX(-100%)}}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"][transitiondirection=\"right\"]>.canvas-container.sc-z-offcanvas{animation-duration:0.4s;animation-name:exit-left;animation-timing-function:ease-out;transform:translateX(-100%)}.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{overflow:auto;flex:1 auto;padding:0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0;overflow-x:hidden}[variant=\"overlay\"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{padding:0 calc(var(--space-unit) * 2) calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) 0 0}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-track{background-color:transparent}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas{scrollbar-color:var(--color-primary01) transparent}@media only screen and (min-width: 768px){.sc-z-offcanvas-h{min-width:auto}.canvas-container.sc-z-offcanvas{width:auto;min-width:max(var(--z-offcanvas--container-width), 375px);max-width:max(var(--z-offcanvas--container-width), 375px);height:auto;min-height:calc(var(--space-unit) * 40)}@keyframes grow{from{width:0}to{width:max(var(--z-offcanvas--container-width), 375px)}}.sc-z-offcanvas-h:not([variant=\"overlay\"])[open]{width:auto;animation-duration:0.4s;animation-name:grow;animation-timing-function:ease-out}}";
|
|
5
5
|
|
|
6
6
|
const ZOffcanvas = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.canvasOpenStatusChanged = createEvent(this, "canvasOpenStatusChanged", 7);
|
|
10
10
|
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
this.variant =
|
|
11
|
+
* Offcanvas variant.
|
|
12
|
+
* Can be one of "overlay", "pushcontent"
|
|
13
|
+
* Default variant: pushcontent
|
|
14
|
+
*/
|
|
15
|
+
this.variant = OffCanvasVariant.PUSHCONTENT;
|
|
16
16
|
/** open component. Default: false */
|
|
17
17
|
this.open = false;
|
|
18
18
|
/** open content transitioning in a specified direction left | right. Default: left */
|
|
19
|
-
this.transitiondirection =
|
|
19
|
+
this.transitiondirection = TransitionDirection.LEFT;
|
|
20
20
|
}
|
|
21
21
|
componentWillLoad() {
|
|
22
22
|
this.handleOpenStatus();
|
|
@@ -27,9 +27,13 @@ const ZOffcanvas = class {
|
|
|
27
27
|
}
|
|
28
28
|
handleOpenStatus() {
|
|
29
29
|
if (this.open) {
|
|
30
|
+
this.hostElement.style.opacity = "0";
|
|
30
31
|
this.hostElement.style.display = "flex";
|
|
32
|
+
if (this.variant === OffCanvasVariant.OVERLAY) {
|
|
33
|
+
document.body.style.overflowY = "hidden";
|
|
34
|
+
}
|
|
31
35
|
}
|
|
32
|
-
else if (this.variant ===
|
|
36
|
+
else if (this.variant === OffCanvasVariant.PUSHCONTENT) {
|
|
33
37
|
this.hostElement.style.display = "none";
|
|
34
38
|
document.body.style.overflowX = "hidden";
|
|
35
39
|
}
|
|
@@ -38,16 +42,19 @@ const ZOffcanvas = class {
|
|
|
38
42
|
if (this.hostElement.hasAttribute("open")) {
|
|
39
43
|
this.hostElement.querySelector(`.canvas-content`).focus();
|
|
40
44
|
}
|
|
41
|
-
else if (this.variant ===
|
|
45
|
+
else if (this.variant === OffCanvasVariant.OVERLAY) {
|
|
42
46
|
this.hostElement.style.display = "none";
|
|
43
47
|
document.body.style.overflowX = "initial";
|
|
48
|
+
document.body.style.overflowY = "initial";
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
handleAnimationStart() {
|
|
52
|
+
if (this.hostElement.hasAttribute("open")) {
|
|
53
|
+
this.hostElement.style.opacity = "1";
|
|
44
54
|
}
|
|
45
55
|
}
|
|
46
56
|
render() {
|
|
47
|
-
return
|
|
48
|
-
h("div", { class: "canvas-container", onAnimationEnd: () => this.handleAnimationEnd() }, h("div", { class: "canvas-content", tabindex: "0" }, h("slot", { name: "canvasContent" }))),
|
|
49
|
-
h("div", { class: "canvas-background", "data-action": "canvasBackground", onClick: () => this.open = false })
|
|
50
|
-
];
|
|
57
|
+
return (h(Host, null, h("div", { class: "canvas-container", onAnimationEnd: () => this.handleAnimationEnd(), onAnimationStart: () => this.handleAnimationStart() }, h("div", { class: "canvas-content" }, h("slot", { name: "canvasContent" }))), h("div", { class: "canvas-background", "data-action": "canvasBackground", onClick: () => (this.open = false) })));
|
|
51
58
|
}
|
|
52
59
|
get hostElement() { return getElement(this); }
|
|
53
60
|
static get watchers() { return {
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-b3a91e19.js';
|
|
2
|
-
import {
|
|
2
|
+
import { u as InputStatus } from './index-4f1e2705.js';
|
|
3
3
|
|
|
4
|
-
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{
|
|
4
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{width:calc(var(--space-unit) * 5);height:72px;box-sizing:border-box;padding:0;caret-color:transparent;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:32px;font-weight:300;text-align:center}input.error{border:1px solid;border-color:var(--color-error01);background-color:var(--color-error-inverse);border-radius:4px}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";
|
|
5
5
|
|
|
6
6
|
const ZOtp = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.otpChange = createEvent(this, "otpChange", 7);
|
|
10
|
+
/** Input number */
|
|
10
11
|
this.inputNum = 6;
|
|
11
12
|
}
|
|
12
13
|
emitInputChange(value) {
|
|
13
14
|
this.otpChange.emit({ value });
|
|
14
15
|
}
|
|
15
16
|
componentWillLoad() {
|
|
16
|
-
this.otp = Array
|
|
17
|
-
this.otpRef = Array
|
|
17
|
+
this.otp = [...Array(this.inputNum)];
|
|
18
|
+
this.otpRef = [...Array(this.inputNum)];
|
|
18
19
|
}
|
|
19
20
|
render() {
|
|
20
|
-
return (h("div", { class: "otp-container" }, h("div", { class: "digits-container" }, this.otp.map((
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
})), h("z-input-message", { message: this.message, status: this.status })));
|
|
21
|
+
return (h("div", { class: "otp-container" }, h("div", { class: "digits-container" }, this.otp.map((_val, i) => (h("input", { class: this.status == InputStatus.ERROR ? "error" : null, onKeyDown: (e) => {
|
|
22
|
+
if (e.keyCode > 47) {
|
|
23
|
+
this.otpRef[i].value = "";
|
|
24
|
+
}
|
|
25
|
+
}, onKeyUp: (e) => {
|
|
26
|
+
if (e.keyCode > 47) {
|
|
27
|
+
i < this.inputNum - 1 && this.otpRef[i + 1].focus();
|
|
28
|
+
}
|
|
29
|
+
}, onInput: (e) => {
|
|
30
|
+
this.otp[i] = e.target.value;
|
|
31
|
+
this.emitInputChange(this.otp.join(""));
|
|
32
|
+
}, type: "text", minlength: "1", maxlength: "1", autoComplete: "off", ref: (el) => (this.otpRef[i] = el) })))), h("z-input-message", { message: this.message, status: this.status })));
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
ZOtp.style = stylesCss;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-b3a91e19.js';
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-b3a91e19.js';
|
|
2
|
+
import { I as InputType } from './index-4f1e2705.js';
|
|
2
3
|
|
|
3
|
-
const stylesCss = "z-pagination{--z-pagination--page-button-width:64px;--z-pagination--pages-container-max-width:100%;display:flex;flex-
|
|
4
|
+
const stylesCss = "z-pagination{--z-pagination--page-button-width:64px;--z-pagination--pages-container-max-width:100%;display:flex;max-width:100%;flex-flow:column wrap;font-family:var(--font-family-sans);font-weight:var(--font-rg);gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}z-pagination,z-pagination *{box-sizing:border-box}z-pagination button{height:100%}z-pagination z-icon{fill:var(--color-icon01)}z-pagination *:disabled z-icon{fill:var(--color-disabled02)}z-pagination .page-label{margin-right:calc(var(--space-unit) * 3);color:var(--color-text02)}z-pagination .pagination-bar{display:flex;max-width:100%;height:48px;align-items:center}z-pagination .pagination-bar button{display:flex;align-items:center;justify-content:center;border:none;margin:0;background-color:var(--color-surface03);color:var(--color-primary01);cursor:pointer;font-family:inherit;font-weight:inherit;transition:background-color 0.15s ease-out, color 0.15s ease-out, border-bottom-color 0.15s ease-out,\n font-size 0.15s ease-in-out, font-weight 0.15s ease-in-out}z-pagination .pagination-bar button:focus-visible{background-color:var(--color-hover-surface);box-shadow:inset var(--shadow-focus-primary);outline:none}z-pagination .pagination-bar .pagination-button{padding:calc(var(--space-unit) * 2);font-weight:var(--font-sb);text-transform:uppercase;white-space:nowrap}z-pagination .pagination-bar .navigation-button{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 1.5)}z-pagination .pagination-bar .pagination-button:disabled,z-pagination .pagination-bar .navigation-button:disabled{background-color:var(--color-disabled01);color:var(--color-disabled02);cursor:default;pointer-events:none}z-pagination .pagination-bar .page-button,z-pagination .pagination-bar .ellipsis-button{width:var(--z-pagination--page-button-width)}z-pagination .pages-container{position:relative;display:inline-flex;max-width:100%;height:100%;overflow-x:auto;scroll-behavior:smooth;scroll-snap-align:center;scrollbar-width:none}z-pagination .pages-container::-webkit-scrollbar{display:none}z-pagination .pages-chunk{display:flex;scroll-snap-align:center}z-pagination .pagination-bar .page-button{padding-top:var(--border-size-large) solid transparent;border-bottom:var(--border-size-large) solid transparent;font-size:var(--font-size-2);font-weight:var(--font-sb)}z-pagination .pagination-bar .page-button:focus-visible{border-bottom-color:var(--color-hover-light)}z-pagination .pagination-bar .page-button[data-current]{border-bottom-color:var(--color-primary01);font-size:var(--font-size-7)}z-pagination .go-to-page{display:flex;flex-direction:column;row-gap:var(--space-unit)}z-pagination .go-to-page .label{color:var(--color-text02);text-transform:uppercase}z-pagination .go-to-page .inputs{display:flex;column-gap:var(--space-unit)}z-pagination .go-to-page .inputs z-input{width:calc(var(--space-unit) * 11)}z-pagination .go-to-page .inputs z-input input,z-pagination .mobile-go-to-page z-input input{padding:0 calc(var(--space-unit) * 1.5) !important;appearance:none}z-pagination .mobile-go-to-page{display:flex;height:100%;flex:1 auto;align-items:center;justify-content:center;background-color:var(--color-surface03)}z-pagination .mobile-go-to-page z-input{width:var(--z-pagination--page-button-width);margin-right:var(--space-unit)}z-pagination .mobile-go-to-page z-input input{text-align:center}z-pagination .mobile-go-to-page z-input input::-webkit-outer-spin-button,z-pagination .mobile-go-to-page z-input input::-webkit-inner-spin-button{appearance:none}z-pagination .mobile-go-to-page>span{font-size:var(--font-size-2)}@media (hover: hover){z-pagination .pagination-bar button:hover{background-color:var(--color-hover-surface)}z-pagination .pagination-bar .page-button:hover{border-bottom-color:var(--color-hover-light)}}@media (min-width: 768px){z-pagination{--z-pagination--page-button-width:88px;flex-direction:row;align-items:flex-end}z-pagination .pages-container{max-width:var(--z-pagination--pages-container-max-width)}}";
|
|
4
5
|
|
|
5
6
|
const ZPagination = class {
|
|
6
7
|
constructor(hostRef) {
|
|
@@ -83,7 +84,7 @@ const ZPagination = class {
|
|
|
83
84
|
getPagesChunks() {
|
|
84
85
|
// array of numbers from 1 to `totalPages`
|
|
85
86
|
const pages = Array.from({ length: this.totalPages }, (_, i) => i + 1);
|
|
86
|
-
|
|
87
|
+
const chunks = [];
|
|
87
88
|
const chunksCount = Math.ceil(pages.length / this._visiblePages);
|
|
88
89
|
for (let index = 0; index < chunksCount; index++) {
|
|
89
90
|
chunks.push(pages.slice(index * this._visiblePages, (index + 1) * this._visiblePages));
|
|
@@ -130,14 +131,14 @@ const ZPagination = class {
|
|
|
130
131
|
}
|
|
131
132
|
/**
|
|
132
133
|
* Render chunked page buttons.
|
|
133
|
-
* @returns {HTMLDivElement}
|
|
134
|
+
* @returns {HTMLDivElement[]}
|
|
134
135
|
*/
|
|
135
136
|
renderPages() {
|
|
136
137
|
const pagesChunks = this.getPagesChunks();
|
|
137
138
|
if (pagesChunks.length <= 0) {
|
|
138
139
|
return;
|
|
139
140
|
}
|
|
140
|
-
return pagesChunks.map((chunk) =>
|
|
141
|
+
return pagesChunks.map((chunk) => h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page))));
|
|
141
142
|
}
|
|
142
143
|
/**
|
|
143
144
|
* Render page buttons when split feature is enabled.
|
|
@@ -185,17 +186,19 @@ const ZPagination = class {
|
|
|
185
186
|
return [
|
|
186
187
|
this.label && h("span", { class: "page-label body-1-sb" }, this.label),
|
|
187
188
|
h("div", { class: "pagination-bar" }, this.renderBackButton(), !this.goToPage && (h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, pagesChunks.length > 0 &&
|
|
188
|
-
pagesChunks.map((chunk) =>
|
|
189
|
+
pagesChunks.map((chunk) => h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page)))))), this.goToPage && (h("form", { class: "mobile-go-to-page", onSubmit: (ev) => {
|
|
189
190
|
ev.preventDefault();
|
|
190
191
|
this.selectPage(this.goToPageValue);
|
|
191
|
-
} }, h("z-input", { class: "go-to-page-input", type:
|
|
192
|
+
} }, h("z-input", { class: "go-to-page-input", type: InputType.NUMBER, min: 1, max: this.totalPages, message: false, onInput: (ev) => {
|
|
193
|
+
this.goToPageValue = ev.target.value;
|
|
194
|
+
}, placeholder: this.currentPage.toString(), hasclearicon: false }), h("span", null, `/${this.totalPages}`))), this.renderForwardButton()),
|
|
192
195
|
];
|
|
193
196
|
}
|
|
194
197
|
componentDidLoad() {
|
|
195
198
|
this.setVisiblePages();
|
|
196
199
|
}
|
|
197
200
|
componentDidRender() {
|
|
198
|
-
if (this.split) {
|
|
201
|
+
if (this.split !== 0) {
|
|
199
202
|
this.edges = false;
|
|
200
203
|
}
|
|
201
204
|
this.setPagesContainerWidth();
|
|
@@ -203,14 +206,11 @@ const ZPagination = class {
|
|
|
203
206
|
}
|
|
204
207
|
render() {
|
|
205
208
|
if (this.isMobile) {
|
|
206
|
-
return this.renderMobile();
|
|
209
|
+
return h(Host, null, this.renderMobile());
|
|
207
210
|
}
|
|
208
|
-
return
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
this.renderPages()), this.navArrows && this.renderForwardButton(), this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage + this.skip}`, disabled: this.currentPage > this.totalPages - this.skip, onClick: () => this.selectPage(this.currentPage + this.skip) }, "+", this.skip)), this.edges && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.totalPages}`, disabled: this.currentPage === this.totalPages, onClick: () => this.selectPage(this.totalPages) }, "Pagina ", this.totalPages))),
|
|
212
|
-
this.goToPage && (h("div", { class: "go-to-page" }, h("span", { class: "label body-5-sb" }, "Vai a pagina:"), h("div", { class: "inputs" }, h("z-input", { class: "go-to-page-input", type: "number", message: false, placeholder: "2", hasclearicon: false, onInput: (ev) => { this.goToPageValue = ev.target.value; }, onKeyDown: (ev) => ev.key === "Enter" && this.selectPage(this.goToPageValue) }), h("z-button", { disabled: !this.goToPageValue, title: "Vai alla pagina inserita", onClick: () => this.selectPage(this.goToPageValue) }, "vai")))),
|
|
213
|
-
];
|
|
211
|
+
return (h(Host, null, h("div", { class: "pagination-bar" }, this.label && h("span", { class: "page-label body-1-sb" }, this.label), this.edges && (h("button", { class: "pagination-button", type: "button", title: "Vai alla pagina 1", disabled: this.currentPage === 1, onClick: () => this.selectPage(1) }, "Pagina 1")), this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage - this.skip}`, disabled: this.currentPage <= this.skip, onClick: () => this.selectPage(this.currentPage - this.skip) }, "-", this.skip)), this.navArrows && this.renderBackButton(), h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, this.split ? this.renderSplitPages() : this.renderPages()), this.navArrows && this.renderForwardButton(), this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage + this.skip}`, disabled: this.currentPage > this.totalPages - this.skip, onClick: () => this.selectPage(this.currentPage + this.skip) }, "+", this.skip)), this.edges && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.totalPages}`, disabled: this.currentPage === this.totalPages, onClick: () => this.selectPage(this.totalPages) }, "Pagina ", this.totalPages))), this.goToPage && (h("div", { class: "go-to-page" }, h("span", { class: "label body-5-sb" }, "Vai a pagina:"), h("div", { class: "inputs" }, h("z-input", { class: "go-to-page-input", type: InputType.NUMBER, min: 1, max: this.totalPages, message: false, placeholder: "2", hasclearicon: false, onInput: (ev) => {
|
|
212
|
+
this.goToPageValue = ev.target.value;
|
|
213
|
+
}, onKeyDown: (ev) => ev.key === "Enter" && this.selectPage(this.goToPageValue) }), h("z-button", { disabled: !this.goToPageValue, title: "Vai alla pagina inserita", onClick: () => this.selectPage(this.goToPageValue) }, "vai"))))));
|
|
214
214
|
}
|
|
215
215
|
get host() { return getElement(this); }
|
|
216
216
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-b3a91e19.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)
|
|
3
|
+
const stylesCss = ":host{width:inherit;font-family:var(--dashboard-font);font-weight:var(--font-rg)}.panel-elem-container{width:100%}.panel-elem-icon{margin:auto calc(var(--space-unit) * 3)}.panel-elem-icon img{display:block;max-width:96px;height:32px;margin:auto;object-fit:contain}.panel-elem-link{margin:var(--space-unit) auto 0;border-radius:var(--border-no-radius);font-size:12px;text-align:center}.panel-elem-link>z-link{font-weight:var(--font-sb)}.panel-elem-desc{padding-top:var(--space-unit);margin:0;letter-spacing:0.16px;text-align:center}";
|
|
4
4
|
|
|
5
5
|
const ZPanelElem = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -12,13 +12,13 @@ const ZPanelElem = class {
|
|
|
12
12
|
}
|
|
13
13
|
renderIcon() {
|
|
14
14
|
if (this.isdisabled) {
|
|
15
|
-
return h("img", { src: this.imgurl, alt: this.imgalt });
|
|
15
|
+
return (h("img", { src: this.imgurl, alt: this.imgalt }));
|
|
16
16
|
}
|
|
17
17
|
return (h("a", { class: "elem-icon", href: this.url, target: this.target }, h("img", { src: this.imgurl, alt: this.imgalt })));
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
20
|
const elemId = this.elemid ? this.elemid : "";
|
|
21
|
-
return (h("div", { class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { class: "panel-elem-icon" }, this.renderIcon())), h("div", { class: "panel-elem-link" }, h("z-link", { href: this.url, icon: this.linkicon, isdisabled: this.isdisabled, target: this.target, htmlid: elemId + "link_id" }, this.linklabel)), this.
|
|
21
|
+
return (h("div", { class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { "aria-hidden": "true", class: "panel-elem-icon" }, this.renderIcon())), h("div", { class: "panel-elem-link" }, h("z-link", { href: this.url, icon: this.linkicon, isdisabled: this.isdisabled, target: this.target, htmlid: elemId + "link_id" }, this.linklabel)), this.descrSlotName && (h("div", { class: "panel-elem-desc body-long-01" }, h("slot", { name: this.descrSlotName })))));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
ZPanelElem.style = stylesCss;
|