@zanichelli/albe-web-components 6.0.4 → 6.1.0-a1
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 +0 -8
- package/dist/cjs/index.cjs.js +346 -302
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-ce225fb3.js → utils-7c92be74.js} +4 -5
- package/dist/cjs/{utils-ebe45309.js → utils-f681590c.js} +10 -11
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +1 -0
- package/dist/cjs/z-app-header.cjs.entry.js +7 -29
- package/dist/cjs/z-app-switcher_9.cjs.entry.js +84 -70
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -3
- package/dist/cjs/z-avatar.cjs.entry.js +6 -8
- package/dist/cjs/z-body_2.cjs.entry.js +4 -2
- package/dist/cjs/z-button-deprecated.cjs.entry.js +6 -12
- package/dist/cjs/z-button-filter.cjs.entry.js +2 -3
- package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
- package/dist/cjs/z-button.cjs.entry.js +8 -9
- package/dist/cjs/z-card.cjs.entry.js +6 -6
- package/dist/cjs/z-carousel.cjs.entry.js +11 -10
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +2 -0
- package/dist/cjs/z-chip.cjs.entry.js +5 -6
- package/dist/cjs/z-combobox.cjs.entry.js +15 -17
- package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -8
- package/dist/cjs/z-cookiebar.cjs.entry.js +4 -2
- package/dist/cjs/z-cover-hero.cjs.entry.js +6 -14
- package/dist/cjs/z-date-picker.cjs.entry.js +16 -17
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +2 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +17 -16
- package/dist/cjs/z-file.cjs.entry.js +3 -2
- package/dist/cjs/z-footer-link_3.cjs.entry.js +5 -0
- package/dist/cjs/z-footer.cjs.entry.js +7 -2
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -6
- package/dist/cjs/z-input-deprecated.cjs.entry.js +28 -29
- package/dist/cjs/z-input-label_2.cjs.entry.js +17 -17
- package/dist/cjs/z-list-group.cjs.entry.js +4 -17
- package/dist/cjs/z-list_2.cjs.entry.js +19 -55
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +7 -3
- package/dist/cjs/z-menu-section.cjs.entry.js +3 -0
- package/dist/cjs/z-menu.cjs.entry.js +3 -10
- package/dist/cjs/z-messages-pocket.cjs.entry.js +6 -6
- package/dist/cjs/z-modal-login.cjs.entry.js +7 -5
- package/dist/cjs/z-modal.cjs.entry.js +3 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +6 -3
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -6
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +8 -6
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -4
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -0
- package/dist/cjs/z-myz-card_4.cjs.entry.js +15 -9
- package/dist/cjs/z-myz-list-item.cjs.entry.js +6 -4
- package/dist/cjs/z-myz-topbar.cjs.entry.js +14 -4
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +8 -16
- package/dist/cjs/z-navigation-tab.cjs.entry.js +7 -17
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +10 -14
- package/dist/cjs/z-notification.cjs.entry.js +3 -6
- package/dist/cjs/z-offcanvas.cjs.entry.js +4 -12
- package/dist/cjs/z-otp.cjs.entry.js +3 -3
- package/dist/cjs/z-pagination-bar.cjs.entry.js +5 -6
- package/dist/cjs/z-pagination-page.cjs.entry.js +2 -4
- package/dist/cjs/z-pagination.cjs.entry.js +7 -15
- package/dist/cjs/z-panel-elem.cjs.entry.js +7 -2
- package/dist/cjs/z-pocket_3.cjs.entry.js +15 -15
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +8 -15
- package/dist/cjs/z-popover.cjs.entry.js +31 -36
- package/dist/cjs/z-section-title.cjs.entry.js +2 -10
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -4
- package/dist/cjs/z-slideshow.cjs.entry.js +6 -4
- package/dist/cjs/z-status-tag.cjs.entry.js +5 -3
- package/dist/cjs/z-stepper-item.cjs.entry.js +4 -0
- package/dist/cjs/z-table-cell.cjs.entry.js +3 -4
- package/dist/cjs/z-table-empty-box.cjs.entry.js +0 -2
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -0
- package/dist/cjs/z-table-header-row.cjs.entry.js +1 -0
- package/dist/cjs/z-table-header.cjs.entry.js +15 -16
- package/dist/cjs/z-table-row.cjs.entry.js +4 -6
- package/dist/cjs/z-table.cjs.entry.js +9 -12
- package/dist/cjs/z-tag.cjs.entry.js +2 -0
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -4
- package/dist/cjs/z-toast-notification.cjs.entry.js +17 -14
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -7
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +32 -27
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -7
- package/dist/cjs/z-user-dropdown.cjs.entry.js +5 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/buttons/z-button/index.js +8 -9
- package/dist/collection/components/buttons/z-button-sort/index.js +4 -4
- package/dist/collection/components/buttons/z-chip/index.js +4 -5
- package/dist/collection/components/buttons/z-toggle-button/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-switch/index.js +1 -6
- package/dist/collection/components/date-picker/utils.js +10 -11
- package/dist/collection/components/date-picker/z-date-picker/index.js +15 -16
- package/dist/collection/components/date-picker/z-range-picker/index.js +15 -12
- package/dist/collection/components/file-upload/z-file/index.js +3 -2
- package/dist/collection/components/file-upload/z-file-upload/index.js +17 -16
- package/dist/collection/components/footer/z-footer/index.js +7 -2
- package/dist/collection/components/footer/z-footer-link/index.js +3 -0
- package/dist/collection/components/footer/z-footer-section/index.js +1 -0
- package/dist/collection/components/footer/z-footer-social/index.js +5 -0
- package/dist/collection/components/icons/z-icon/index.js +7 -0
- package/dist/collection/components/indicators/z-stepper-item/index.js +6 -0
- package/dist/collection/components/inputs/z-combobox/index.js +14 -16
- package/dist/collection/components/inputs/z-input/index.js +40 -37
- package/dist/collection/components/inputs/z-input-message/index.js +2 -0
- package/dist/collection/components/inputs/z-select/index.js +14 -15
- package/dist/collection/components/list/z-list/index.js +1 -5
- package/dist/collection/components/list/z-list-element/index.js +18 -51
- package/dist/collection/components/list/z-list-group/index.js +4 -17
- package/dist/collection/components/list/z-toast-notification-list/index.js +1 -4
- package/dist/collection/components/logo/z-logo/index.js +8 -0
- package/dist/collection/components/modal/z-modal/index.js +3 -1
- package/dist/collection/components/modal/z-modal-login/index.js +7 -5
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +7 -17
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +8 -16
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +10 -14
- package/dist/collection/components/navigation/z-app-header/index.js +7 -29
- package/dist/collection/components/navigation/z-app-switcher/index.js +1 -3
- package/dist/collection/components/navigation/z-app-topbar/index.js +8 -5
- package/dist/collection/components/navigation/z-link/index.js +3 -9
- package/dist/collection/components/navigation/z-menu/index.js +3 -10
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +4 -2
- package/dist/collection/components/navigation/z-menu-section/index.js +5 -0
- package/dist/collection/components/navigation/z-user-dropdown/index.js +5 -1
- package/dist/collection/components/notification/z-cookiebar/index.js +6 -2
- package/dist/collection/components/notification/z-info-box/index.js +1 -1
- package/dist/collection/components/notification/z-notification/index.js +3 -6
- package/dist/collection/components/notification/z-toast-notification/index.js +17 -14
- package/dist/collection/components/notification/z-tooltip/index.js +2 -7
- package/dist/collection/components/panel/z-panel-elem/index.js +7 -2
- package/dist/collection/components/typography/z-body/index.js +2 -1
- package/dist/collection/components/typography/z-heading/index.js +2 -1
- package/dist/collection/components/typography/z-typography/index.js +2 -1
- package/dist/collection/components/z-aria-alert/index.js +1 -3
- package/dist/collection/components/z-avatar/index.js +6 -8
- package/dist/collection/components/z-card/index.js +6 -6
- package/dist/collection/components/z-carousel/index.js +11 -10
- package/dist/collection/components/z-contextual-menu/index.js +2 -8
- package/dist/collection/components/z-cover-hero/index.js +6 -14
- package/dist/collection/components/z-divider/index.js +2 -6
- package/dist/collection/components/z-info-reveal/index.js +2 -6
- package/dist/collection/components/z-offcanvas/index.js +4 -12
- package/dist/collection/components/z-pagination/index.js +7 -15
- package/dist/collection/components/z-popover/index.js +30 -35
- package/dist/collection/components/z-section-title/index.js +2 -10
- package/dist/collection/components/z-skip-to-content/index.js +2 -3
- package/dist/collection/components/z-table/z-table/index.js +9 -12
- package/dist/collection/components/z-table/z-table-cell/index.js +3 -4
- package/dist/collection/components/z-table/z-table-empty-box/index.js +0 -2
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +3 -0
- package/dist/collection/components/z-table/z-table-header/index.js +14 -15
- package/dist/collection/components/z-table/z-table-header-row/index.js +3 -0
- package/dist/collection/components/z-table/z-table-row/index.js +4 -6
- package/dist/collection/components/z-tag/index.js +4 -0
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +4 -4
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +2 -4
- package/dist/collection/deprecated/z-button-deprecated/index.js +6 -12
- package/dist/collection/deprecated/z-button-filter/index.js +2 -3
- package/dist/collection/deprecated/z-chip-deprecated/index.js +4 -0
- package/dist/collection/deprecated/z-input-deprecated/index.js +27 -28
- package/dist/collection/deprecated/z-input-label/index.js +2 -1
- package/dist/collection/deprecated/z-popover-deprecated/index.js +7 -14
- package/dist/collection/deprecated/z-status-tag/index.js +5 -3
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +32 -27
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +5 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +8 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +6 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +3 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +8 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +6 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +2 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +4 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +5 -2
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +6 -6
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +11 -12
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +2 -3
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +1 -0
- package/dist/collection/snowflakes/myz/topbar/index.js +14 -4
- package/dist/collection/snowflakes/myz/z-alert/index.js +3 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +3 -3
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +5 -3
- package/dist/collection/utils/utils.js +4 -5
- package/dist/esm/index.js +347 -3
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{utils-39ca028c.js → utils-420e8552.js} +4 -5
- package/dist/esm/{utils-fbe04cd6.js → utils-ff91a03a.js} +10 -11
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/z-alert.entry.js +1 -0
- package/dist/esm/z-app-header.entry.js +7 -29
- package/dist/esm/z-app-switcher_9.entry.js +84 -70
- package/dist/esm/z-aria-alert.entry.js +1 -3
- package/dist/esm/z-avatar.entry.js +6 -8
- package/dist/esm/z-body_2.entry.js +4 -2
- package/dist/esm/z-button-deprecated.entry.js +6 -12
- package/dist/esm/z-button-filter.entry.js +2 -3
- package/dist/esm/z-button-sort.entry.js +4 -4
- package/dist/esm/z-button.entry.js +8 -9
- package/dist/esm/z-card.entry.js +6 -6
- package/dist/esm/z-carousel.entry.js +11 -10
- package/dist/esm/z-chip-deprecated.entry.js +2 -0
- package/dist/esm/z-chip.entry.js +5 -6
- package/dist/esm/z-combobox.entry.js +15 -17
- package/dist/esm/z-contextual-menu.entry.js +2 -8
- package/dist/esm/z-cookiebar.entry.js +4 -2
- package/dist/esm/z-cover-hero.entry.js +6 -14
- package/dist/esm/z-date-picker.entry.js +16 -17
- package/dist/esm/z-dragdrop-area_2.entry.js +2 -1
- package/dist/esm/z-file-upload.entry.js +17 -16
- package/dist/esm/z-file.entry.js +3 -2
- package/dist/esm/z-footer-link_3.entry.js +5 -0
- package/dist/esm/z-footer.entry.js +7 -2
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +2 -6
- package/dist/esm/z-input-deprecated.entry.js +28 -29
- package/dist/esm/z-input-label_2.entry.js +17 -17
- package/dist/esm/z-list-group.entry.js +4 -17
- package/dist/esm/z-list_2.entry.js +19 -55
- package/dist/esm/z-menu-dropdown_2.entry.js +7 -3
- package/dist/esm/z-menu-section.entry.js +3 -0
- package/dist/esm/z-menu.entry.js +3 -10
- package/dist/esm/z-messages-pocket.entry.js +6 -6
- package/dist/esm/z-modal-login.entry.js +7 -5
- package/dist/esm/z-modal.entry.js +3 -1
- package/dist/esm/z-myz-card-alert.entry.js +6 -3
- package/dist/esm/z-myz-card-dictionary.entry.js +3 -6
- package/dist/esm/z-myz-card-footer.entry.js +8 -6
- package/dist/esm/z-myz-card-icon.entry.js +1 -2
- package/dist/esm/z-myz-card-info.entry.js +3 -4
- package/dist/esm/z-myz-card-list.entry.js +1 -0
- package/dist/esm/z-myz-card_4.entry.js +15 -9
- package/dist/esm/z-myz-list-item.entry.js +6 -4
- package/dist/esm/z-myz-topbar.entry.js +14 -4
- package/dist/esm/z-navigation-tab-link.entry.js +8 -16
- package/dist/esm/z-navigation-tab.entry.js +7 -17
- package/dist/esm/z-navigation-tabs.entry.js +10 -14
- package/dist/esm/z-notification.entry.js +3 -6
- package/dist/esm/z-offcanvas.entry.js +4 -12
- package/dist/esm/z-otp.entry.js +3 -3
- package/dist/esm/z-pagination-bar.entry.js +5 -6
- package/dist/esm/z-pagination-page.entry.js +2 -4
- package/dist/esm/z-pagination.entry.js +7 -15
- package/dist/esm/z-panel-elem.entry.js +7 -2
- package/dist/esm/z-pocket_3.entry.js +15 -15
- package/dist/esm/z-popover-deprecated.entry.js +8 -15
- package/dist/esm/z-popover.entry.js +31 -36
- package/dist/esm/z-section-title.entry.js +2 -10
- package/dist/esm/z-skip-to-content.entry.js +3 -4
- package/dist/esm/z-slideshow.entry.js +6 -4
- package/dist/esm/z-status-tag.entry.js +5 -3
- package/dist/esm/z-stepper-item.entry.js +4 -0
- package/dist/esm/z-table-cell.entry.js +3 -4
- package/dist/esm/z-table-empty-box.entry.js +0 -2
- package/dist/esm/z-table-expanded-row.entry.js +1 -0
- package/dist/esm/z-table-header-row.entry.js +1 -0
- package/dist/esm/z-table-header.entry.js +15 -16
- package/dist/esm/z-table-row.entry.js +4 -6
- package/dist/esm/z-table.entry.js +9 -12
- package/dist/esm/z-tag.entry.js +2 -0
- package/dist/esm/z-toast-notification-list.entry.js +1 -4
- package/dist/esm/z-toast-notification.entry.js +17 -14
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +2 -7
- package/dist/esm/z-tooltip-deprecated.entry.js +32 -27
- package/dist/esm/z-tooltip.entry.js +2 -7
- package/dist/esm/z-user-dropdown.entry.js +5 -1
- package/dist/types/beans/index.d.ts +50 -50
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +5 -0
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-016b2800.entry.js +1 -0
- package/dist/web-components-library/p-04908405.entry.js +1 -0
- package/dist/web-components-library/p-06430481.entry.js +1 -0
- package/dist/web-components-library/p-067bd5da.entry.js +1 -0
- package/dist/web-components-library/p-082d65b1.entry.js +1 -0
- package/dist/web-components-library/p-0cff6cce.entry.js +1 -0
- package/dist/web-components-library/p-0e743002.entry.js +1 -0
- package/dist/web-components-library/p-10b84e8c.entry.js +1 -0
- package/dist/web-components-library/p-12211a48.entry.js +1 -0
- package/dist/web-components-library/p-14233b99.entry.js +1 -0
- package/dist/web-components-library/p-176256ee.js +1 -0
- package/dist/web-components-library/p-1ab0de76.entry.js +1 -0
- package/dist/web-components-library/p-1d2d5232.entry.js +1 -0
- package/dist/web-components-library/p-20109d3a.entry.js +1 -0
- package/dist/web-components-library/{p-f158d205.entry.js → p-2c18a622.entry.js} +1 -1
- package/dist/web-components-library/p-2cf26585.entry.js +1 -0
- package/dist/web-components-library/p-2d506c48.entry.js +1 -0
- package/dist/web-components-library/p-2d5d8e6f.entry.js +1 -0
- package/dist/web-components-library/p-2e7a31ac.entry.js +1 -0
- package/dist/web-components-library/p-2f6f3729.entry.js +1 -0
- package/dist/web-components-library/p-30cbafaf.entry.js +1 -0
- package/dist/web-components-library/p-341ddb5d.entry.js +1 -0
- package/dist/web-components-library/p-34a96008.entry.js +1 -0
- package/dist/web-components-library/p-35b30271.entry.js +1 -0
- package/dist/web-components-library/p-36f4ce3f.entry.js +1 -0
- package/dist/web-components-library/p-3c28f72e.entry.js +1 -0
- package/dist/web-components-library/p-3c7cf41f.entry.js +1 -0
- package/dist/web-components-library/p-3e414cf1.entry.js +1 -0
- package/dist/web-components-library/p-3ecfb7c1.entry.js +1 -0
- package/dist/web-components-library/p-40f96085.entry.js +1 -0
- package/{www/build/p-4d42f224.entry.js → dist/web-components-library/p-48624926.entry.js} +1 -1
- package/dist/web-components-library/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
- package/dist/web-components-library/p-53d22727.entry.js +1 -0
- package/dist/web-components-library/p-563529f8.entry.js +1 -0
- package/dist/web-components-library/p-57faab40.entry.js +1 -0
- package/dist/web-components-library/p-5b2d8a91.entry.js +1 -0
- package/dist/web-components-library/p-6037dce0.entry.js +1 -0
- package/dist/web-components-library/p-670232c4.entry.js +1 -0
- package/dist/web-components-library/p-67f346d9.entry.js +1 -0
- package/dist/web-components-library/p-691678c8.entry.js +1 -0
- package/dist/web-components-library/p-69b27fe9.entry.js +16 -0
- package/dist/web-components-library/p-6fe1bffb.entry.js +1 -0
- package/dist/web-components-library/p-728e7dcd.entry.js +1 -0
- package/dist/web-components-library/p-74e31a32.entry.js +1 -0
- package/dist/web-components-library/p-759fb7c4.entry.js +1 -0
- package/dist/web-components-library/p-79223014.entry.js +1 -0
- package/dist/web-components-library/p-7b22a446.entry.js +1 -0
- package/dist/web-components-library/p-7c40fb15.entry.js +1 -0
- package/dist/web-components-library/p-7cbc1836.entry.js +1 -0
- package/dist/web-components-library/p-830b21a4.entry.js +1 -0
- package/dist/web-components-library/p-87099b68.entry.js +1 -0
- package/dist/web-components-library/p-8cabed58.entry.js +1 -0
- package/dist/web-components-library/p-8cf14a47.entry.js +1 -0
- package/dist/web-components-library/p-8eaa46ac.entry.js +1 -0
- package/dist/web-components-library/p-985c5ed8.entry.js +1 -0
- package/dist/web-components-library/p-9f6b43a0.entry.js +1 -0
- package/dist/web-components-library/p-9f8d0f79.entry.js +1 -0
- package/dist/web-components-library/p-a3b8dd69.entry.js +1 -0
- package/dist/web-components-library/p-aa271ed7.entry.js +1 -0
- package/dist/web-components-library/p-ac1a9d63.entry.js +1 -0
- package/dist/web-components-library/p-af4a9bb7.entry.js +1 -0
- package/dist/web-components-library/p-ba495cad.entry.js +1 -0
- package/dist/web-components-library/p-ba9210e9.entry.js +1 -0
- package/dist/web-components-library/p-bf9348e6.entry.js +1 -0
- package/dist/web-components-library/p-c0df6e96.entry.js +1 -0
- package/dist/web-components-library/p-c2b368ff.entry.js +1 -0
- package/dist/web-components-library/p-c39c68b9.entry.js +1 -0
- package/dist/web-components-library/p-cadba1e5.entry.js +1 -0
- package/dist/web-components-library/p-ccb3764b.entry.js +1 -0
- package/dist/web-components-library/p-d668461a.js +1 -0
- package/dist/web-components-library/p-d767f784.entry.js +1 -0
- package/dist/web-components-library/p-d7e72cec.entry.js +1 -0
- package/dist/web-components-library/p-dbc23998.entry.js +1 -0
- package/dist/web-components-library/p-def721df.entry.js +1 -0
- package/dist/web-components-library/p-e12cd68a.entry.js +1 -0
- package/dist/web-components-library/p-e84d2839.entry.js +1 -0
- package/dist/web-components-library/p-eadb185e.entry.js +1 -0
- package/dist/web-components-library/p-f9f9518a.entry.js +1 -0
- package/dist/web-components-library/p-fd305e08.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +4 -4
- package/www/build/index.esm.js +1 -1
- package/www/build/p-016b2800.entry.js +1 -0
- package/www/build/p-04908405.entry.js +1 -0
- package/www/build/p-06430481.entry.js +1 -0
- package/www/build/p-067bd5da.entry.js +1 -0
- package/www/build/p-082d65b1.entry.js +1 -0
- package/www/build/p-0cff6cce.entry.js +1 -0
- package/www/build/p-0e743002.entry.js +1 -0
- package/www/build/p-10b84e8c.entry.js +1 -0
- package/www/build/p-12211a48.entry.js +1 -0
- package/www/build/p-14233b99.entry.js +1 -0
- package/www/build/p-176256ee.js +1 -0
- package/www/build/p-1ab0de76.entry.js +1 -0
- package/www/build/p-1d2d5232.entry.js +1 -0
- package/www/build/p-20109d3a.entry.js +1 -0
- package/www/build/{p-f158d205.entry.js → p-2c18a622.entry.js} +1 -1
- package/www/build/p-2cf26585.entry.js +1 -0
- package/www/build/p-2d506c48.entry.js +1 -0
- package/www/build/p-2d5d8e6f.entry.js +1 -0
- package/www/build/p-2e7a31ac.entry.js +1 -0
- package/www/build/p-2f6f3729.entry.js +1 -0
- package/www/build/p-30cbafaf.entry.js +1 -0
- package/www/build/p-341ddb5d.entry.js +1 -0
- package/www/build/p-34a96008.entry.js +1 -0
- package/www/build/p-35b30271.entry.js +1 -0
- package/www/build/p-36f4ce3f.entry.js +1 -0
- package/www/build/p-3c28f72e.entry.js +1 -0
- package/www/build/p-3c7cf41f.entry.js +1 -0
- package/www/build/p-3e414cf1.entry.js +1 -0
- package/www/build/p-3ecfb7c1.entry.js +1 -0
- package/www/build/p-40f96085.entry.js +1 -0
- package/{dist/web-components-library/p-4d42f224.entry.js → www/build/p-48624926.entry.js} +1 -1
- package/www/build/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
- package/www/build/p-53d22727.entry.js +1 -0
- package/www/build/p-563529f8.entry.js +1 -0
- package/www/build/p-57faab40.entry.js +1 -0
- package/www/build/p-5b2d8a91.entry.js +1 -0
- package/www/build/p-6037dce0.entry.js +1 -0
- package/www/build/p-60ec44c6.js +1 -0
- package/www/build/p-670232c4.entry.js +1 -0
- package/www/build/p-67f346d9.entry.js +1 -0
- package/www/build/p-691678c8.entry.js +1 -0
- package/www/build/p-69b27fe9.entry.js +16 -0
- package/www/build/p-6fe1bffb.entry.js +1 -0
- package/www/build/p-728e7dcd.entry.js +1 -0
- package/www/build/p-74e31a32.entry.js +1 -0
- package/www/build/p-759fb7c4.entry.js +1 -0
- package/www/build/p-79223014.entry.js +1 -0
- package/www/build/p-7b22a446.entry.js +1 -0
- package/www/build/p-7c40fb15.entry.js +1 -0
- package/www/build/p-7cbc1836.entry.js +1 -0
- package/www/build/p-830b21a4.entry.js +1 -0
- package/www/build/p-87099b68.entry.js +1 -0
- package/www/build/p-8cabed58.entry.js +1 -0
- package/www/build/p-8cf14a47.entry.js +1 -0
- package/www/build/p-8eaa46ac.entry.js +1 -0
- package/www/build/p-985c5ed8.entry.js +1 -0
- package/www/build/p-9f6b43a0.entry.js +1 -0
- package/www/build/p-9f8d0f79.entry.js +1 -0
- package/www/build/p-a3b8dd69.entry.js +1 -0
- package/www/build/p-aa271ed7.entry.js +1 -0
- package/www/build/p-ac1a9d63.entry.js +1 -0
- package/www/build/p-af4a9bb7.entry.js +1 -0
- package/www/build/p-ba495cad.entry.js +1 -0
- package/www/build/p-ba9210e9.entry.js +1 -0
- package/www/build/p-bf9348e6.entry.js +1 -0
- package/www/build/p-c0df6e96.entry.js +1 -0
- package/www/build/p-c2b368ff.entry.js +1 -0
- package/www/build/p-c39c68b9.entry.js +1 -0
- package/www/build/p-cadba1e5.entry.js +1 -0
- package/www/build/p-ccb3764b.entry.js +1 -0
- package/www/build/p-d668461a.js +1 -0
- package/www/build/p-d767f784.entry.js +1 -0
- package/www/build/p-d7e72cec.entry.js +1 -0
- package/www/build/p-dbc23998.entry.js +1 -0
- package/www/build/p-def721df.entry.js +1 -0
- package/www/build/p-e12cd68a.entry.js +1 -0
- package/www/build/p-e84d2839.entry.js +1 -0
- package/www/build/p-eadb185e.entry.js +1 -0
- package/www/build/p-f9f9518a.entry.js +1 -0
- package/www/build/p-fd305e08.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/index-199cd650.js +0 -346
- package/dist/collection/components/index.js +0 -8
- package/dist/esm/index-9d028352.js +0 -346
- package/dist/types/components/index.d.ts +0 -0
- package/dist/web-components-library/p-05ced71c.entry.js +0 -1
- package/dist/web-components-library/p-074ea569.entry.js +0 -1
- package/dist/web-components-library/p-10b46635.entry.js +0 -1
- package/dist/web-components-library/p-1106ead2.entry.js +0 -1
- package/dist/web-components-library/p-15b8a920.entry.js +0 -1
- package/dist/web-components-library/p-15fe7b71.entry.js +0 -1
- package/dist/web-components-library/p-1bd6592f.entry.js +0 -1
- package/dist/web-components-library/p-1e6a2a56.entry.js +0 -1
- package/dist/web-components-library/p-23781e2b.entry.js +0 -1
- package/dist/web-components-library/p-28ff9383.entry.js +0 -1
- package/dist/web-components-library/p-2efedcf4.entry.js +0 -1
- package/dist/web-components-library/p-344e7ae7.entry.js +0 -1
- package/dist/web-components-library/p-35ceae27.entry.js +0 -1
- package/dist/web-components-library/p-3913bff2.entry.js +0 -1
- package/dist/web-components-library/p-3a431f04.entry.js +0 -1
- package/dist/web-components-library/p-3c2d438b.entry.js +0 -1
- package/dist/web-components-library/p-3f55dce6.entry.js +0 -1
- package/dist/web-components-library/p-442b8b35.entry.js +0 -1
- package/dist/web-components-library/p-4cd6c6f4.entry.js +0 -1
- package/dist/web-components-library/p-4d093e07.entry.js +0 -1
- package/dist/web-components-library/p-4e733fbd.entry.js +0 -1
- package/dist/web-components-library/p-4ec9ab53.entry.js +0 -1
- package/dist/web-components-library/p-53a03f2a.entry.js +0 -1
- package/dist/web-components-library/p-562ad563.entry.js +0 -1
- package/dist/web-components-library/p-58650e22.entry.js +0 -1
- package/dist/web-components-library/p-5bec950e.entry.js +0 -1
- package/dist/web-components-library/p-5c9556e3.entry.js +0 -1
- package/dist/web-components-library/p-5cf4a412.entry.js +0 -1
- package/dist/web-components-library/p-5d4a6659.entry.js +0 -1
- package/dist/web-components-library/p-5f3baf14.entry.js +0 -1
- package/dist/web-components-library/p-61424b8a.entry.js +0 -1
- package/dist/web-components-library/p-681e1f5a.entry.js +0 -1
- package/dist/web-components-library/p-686545fa.entry.js +0 -1
- package/dist/web-components-library/p-6f64e8a8.entry.js +0 -1
- package/dist/web-components-library/p-70d16b2c.entry.js +0 -1
- package/dist/web-components-library/p-7688f8ca.entry.js +0 -1
- package/dist/web-components-library/p-77e4774d.entry.js +0 -1
- package/dist/web-components-library/p-79b8d87e.entry.js +0 -1
- package/dist/web-components-library/p-7d696941.entry.js +0 -1
- package/dist/web-components-library/p-7d792297.entry.js +0 -1
- package/dist/web-components-library/p-810bd730.entry.js +0 -1
- package/dist/web-components-library/p-87fdd14f.js +0 -1
- package/dist/web-components-library/p-982254e5.entry.js +0 -1
- package/dist/web-components-library/p-9d03a7d6.entry.js +0 -1
- package/dist/web-components-library/p-9ecc5eba.entry.js +0 -1
- package/dist/web-components-library/p-9f80c0b8.js +0 -1
- package/dist/web-components-library/p-9fe267fc.entry.js +0 -1
- package/dist/web-components-library/p-a6d6178a.entry.js +0 -1
- package/dist/web-components-library/p-a79cc147.entry.js +0 -1
- package/dist/web-components-library/p-a79d1412.entry.js +0 -1
- package/dist/web-components-library/p-aded8a43.entry.js +0 -1
- package/dist/web-components-library/p-b4fbb6e4.entry.js +0 -1
- package/dist/web-components-library/p-b5086d6d.entry.js +0 -1
- package/dist/web-components-library/p-bb0fe7bc.entry.js +0 -1
- package/dist/web-components-library/p-bb15a265.js +0 -1
- package/dist/web-components-library/p-bb95b82f.entry.js +0 -1
- package/dist/web-components-library/p-c2d1785b.entry.js +0 -1
- package/dist/web-components-library/p-c6a662e6.entry.js +0 -1
- package/dist/web-components-library/p-c6aad085.entry.js +0 -1
- package/dist/web-components-library/p-cb5d8a84.entry.js +0 -1
- package/dist/web-components-library/p-cbb3ea13.entry.js +0 -1
- package/dist/web-components-library/p-ccf67abf.entry.js +0 -1
- package/dist/web-components-library/p-ce83ce18.entry.js +0 -1
- package/dist/web-components-library/p-d199b781.entry.js +0 -1
- package/dist/web-components-library/p-d3645ced.entry.js +0 -1
- package/dist/web-components-library/p-d3733579.entry.js +0 -1
- package/dist/web-components-library/p-d531d1d2.entry.js +0 -1
- package/dist/web-components-library/p-e68c18e5.entry.js +0 -1
- package/dist/web-components-library/p-ecc4afa1.entry.js +0 -1
- package/dist/web-components-library/p-ede9fbf5.entry.js +0 -1
- package/dist/web-components-library/p-edf0195b.entry.js +0 -1
- package/dist/web-components-library/p-f2f9a1bc.entry.js +0 -1
- package/dist/web-components-library/p-f2fd1e20.entry.js +0 -1
- package/dist/web-components-library/p-f7c1eb3f.entry.js +0 -16
- package/dist/web-components-library/p-f95cc914.entry.js +0 -1
- package/dist/web-components-library/p-fb7d33f2.entry.js +0 -1
- package/dist/web-components-library/p-ff18690f.entry.js +0 -1
- package/www/build/p-05ced71c.entry.js +0 -1
- package/www/build/p-074ea569.entry.js +0 -1
- package/www/build/p-10b46635.entry.js +0 -1
- package/www/build/p-1106ead2.entry.js +0 -1
- package/www/build/p-15b8a920.entry.js +0 -1
- package/www/build/p-15fe7b71.entry.js +0 -1
- package/www/build/p-1bd6592f.entry.js +0 -1
- package/www/build/p-1e6a2a56.entry.js +0 -1
- package/www/build/p-23781e2b.entry.js +0 -1
- package/www/build/p-28ff9383.entry.js +0 -1
- package/www/build/p-2efedcf4.entry.js +0 -1
- package/www/build/p-344e7ae7.entry.js +0 -1
- package/www/build/p-35ceae27.entry.js +0 -1
- package/www/build/p-36654297.js +0 -1
- package/www/build/p-3913bff2.entry.js +0 -1
- package/www/build/p-3a431f04.entry.js +0 -1
- package/www/build/p-3c2d438b.entry.js +0 -1
- package/www/build/p-3f55dce6.entry.js +0 -1
- package/www/build/p-442b8b35.entry.js +0 -1
- package/www/build/p-4cd6c6f4.entry.js +0 -1
- package/www/build/p-4d093e07.entry.js +0 -1
- package/www/build/p-4e733fbd.entry.js +0 -1
- package/www/build/p-4ec9ab53.entry.js +0 -1
- package/www/build/p-53a03f2a.entry.js +0 -1
- package/www/build/p-562ad563.entry.js +0 -1
- package/www/build/p-58650e22.entry.js +0 -1
- package/www/build/p-5bec950e.entry.js +0 -1
- package/www/build/p-5c9556e3.entry.js +0 -1
- package/www/build/p-5cf4a412.entry.js +0 -1
- package/www/build/p-5d4a6659.entry.js +0 -1
- package/www/build/p-5f3baf14.entry.js +0 -1
- package/www/build/p-61424b8a.entry.js +0 -1
- package/www/build/p-681e1f5a.entry.js +0 -1
- package/www/build/p-686545fa.entry.js +0 -1
- package/www/build/p-6f64e8a8.entry.js +0 -1
- package/www/build/p-70d16b2c.entry.js +0 -1
- package/www/build/p-7688f8ca.entry.js +0 -1
- package/www/build/p-77e4774d.entry.js +0 -1
- package/www/build/p-79b8d87e.entry.js +0 -1
- package/www/build/p-7d696941.entry.js +0 -1
- package/www/build/p-7d792297.entry.js +0 -1
- package/www/build/p-810bd730.entry.js +0 -1
- package/www/build/p-87fdd14f.js +0 -1
- package/www/build/p-982254e5.entry.js +0 -1
- package/www/build/p-9d03a7d6.entry.js +0 -1
- package/www/build/p-9ecc5eba.entry.js +0 -1
- package/www/build/p-9f80c0b8.js +0 -1
- package/www/build/p-9fe267fc.entry.js +0 -1
- package/www/build/p-a6d6178a.entry.js +0 -1
- package/www/build/p-a79cc147.entry.js +0 -1
- package/www/build/p-a79d1412.entry.js +0 -1
- package/www/build/p-aded8a43.entry.js +0 -1
- package/www/build/p-b4fbb6e4.entry.js +0 -1
- package/www/build/p-b5086d6d.entry.js +0 -1
- package/www/build/p-bb0fe7bc.entry.js +0 -1
- package/www/build/p-bb15a265.js +0 -1
- package/www/build/p-bb95b82f.entry.js +0 -1
- package/www/build/p-c2d1785b.entry.js +0 -1
- package/www/build/p-c6a662e6.entry.js +0 -1
- package/www/build/p-c6aad085.entry.js +0 -1
- package/www/build/p-cb5d8a84.entry.js +0 -1
- package/www/build/p-cbb3ea13.entry.js +0 -1
- package/www/build/p-ccf67abf.entry.js +0 -1
- package/www/build/p-ce83ce18.entry.js +0 -1
- package/www/build/p-d199b781.entry.js +0 -1
- package/www/build/p-d3645ced.entry.js +0 -1
- package/www/build/p-d3733579.entry.js +0 -1
- package/www/build/p-d531d1d2.entry.js +0 -1
- package/www/build/p-e68c18e5.entry.js +0 -1
- package/www/build/p-ecc4afa1.entry.js +0 -1
- package/www/build/p-ede9fbf5.entry.js +0 -1
- package/www/build/p-edf0195b.entry.js +0 -1
- package/www/build/p-f2f9a1bc.entry.js +0 -1
- package/www/build/p-f2fd1e20.entry.js +0 -1
- package/www/build/p-f7c1eb3f.entry.js +0 -16
- package/www/build/p-f95cc914.entry.js +0 -1
- package/www/build/p-fb7d33f2.entry.js +0 -1
- package/www/build/p-ff18690f.entry.js +0 -1
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-199cd650.js');
|
|
7
6
|
|
|
8
7
|
const stylesCss = "z-carousel{font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-carousel-gutter:0}z-carousel[single],z-carousel[single=\"true\"]{display:flex;flex-direction:column;align-items:center;justify-content:center}z-carousel[single=\"true\"] .z-carousel-container,z-carousel[single] .z-carousel-container{width:fit-content;max-width:100%}z-carousel .loading-items-container{display:none}.z-carousel-container{display:flex;flex-direction:column}.z-carousel-wrapper{position:relative}.z-carousel-title{margin-bottom:var(--space-unit);color:var(--gray800)}.z-carousel-items-container{display:flex;max-width:100%;flex-direction:row;margin:0;list-style:none;-ms-overflow-style:none;overflow-x:scroll;padding-inline-start:0;scroll-snap-type:x mandatory;scrollbar-width:none;}.z-carousel-items-container::-webkit-scrollbar{display:none}.z-carousel-items-container>*:not(:last-child){margin-right:var(--z-carousel-gutter)}z-carousel[single=\"true\"] .z-carousel-items-container>*:not(:last-child),z-carousel[single] .z-carousel-items-container>*:not(:last-child){margin-right:0}.z-carousel-items-container>li{scroll-snap-align:center}z-button[data-direction]{--z-icon-width:32px;--z-icon-height:32px;position:absolute;bottom:50%;transform:translateY(50%)}z-button[data-direction=\"next\"]{right:0}.z-carousel-footer{display:flex;flex-direction:row;align-items:center;justify-content:center;margin-top:var(--space-unit)}.z-carousel-footer .number-progress,.z-carousel-footer .dots-progress{display:flex;align-items:center;justify-content:center}.z-carousel-footer .dots-progress button{display:flex;align-items:center;padding:0;border:none;margin:0;background-color:transparent}.z-carousel-footer .dots-progress button:not(.current){cursor:pointer}.z-carousel-footer .numbers-progress{margin:0 calc(var(--space-unit) / 2)}.z-carousel-footer .numbers-progress>*{margin-right:calc(var(--space-unit) / 2)}.z-carousel-footer .numbers-progress .current{font-weight:var(--font-sb)}.z-carousel-footer .dots-progress button.current z-icon{fill:var(--gray800)}.z-carousel-footer .dots-progress button:not(.current) z-icon{fill:var(--gray200)}";
|
|
9
8
|
|
|
@@ -11,14 +10,16 @@ const ZCarousel = class {
|
|
|
11
10
|
constructor(hostRef) {
|
|
12
11
|
index.registerInstance(this, hostRef);
|
|
13
12
|
this.indexChange = index.createEvent(this, "indexChange", 7);
|
|
14
|
-
/**
|
|
13
|
+
/** Flag indicating the items container is scrolling programmatically towards the stored index. */
|
|
14
|
+
this.scrollingTo = null;
|
|
15
|
+
this.isLoading = undefined;
|
|
16
|
+
this.label = undefined;
|
|
15
17
|
this.single = false;
|
|
16
|
-
|
|
18
|
+
this.arrowsPosition = undefined;
|
|
19
|
+
this.progressMode = undefined;
|
|
17
20
|
this.ghostLoadingHeight = 100;
|
|
18
|
-
/** Current item index for single mode. */
|
|
19
21
|
this.current = 0;
|
|
20
|
-
|
|
21
|
-
this.scrollingTo = null;
|
|
22
|
+
this.items = undefined;
|
|
22
23
|
}
|
|
23
24
|
onIndexChange() {
|
|
24
25
|
this.scrollingTo = this.current;
|
|
@@ -99,9 +100,9 @@ const ZCarousel = class {
|
|
|
99
100
|
* @returns {boolean}
|
|
100
101
|
*/
|
|
101
102
|
canShowFooter() {
|
|
102
|
-
return (this.arrowsPosition ===
|
|
103
|
-
this.progressMode ===
|
|
104
|
-
this.progressMode ===
|
|
103
|
+
return (this.arrowsPosition === "bottom" /* CarouselArrowsPosition.BOTTOM */ ||
|
|
104
|
+
this.progressMode === "dots" /* CarouselProgressMode.DOTS */ ||
|
|
105
|
+
this.progressMode === "numbers" /* CarouselProgressMode.NUMBERS */);
|
|
105
106
|
}
|
|
106
107
|
/**
|
|
107
108
|
* Set current item to passed index.
|
|
@@ -118,7 +119,7 @@ const ZCarousel = class {
|
|
|
118
119
|
if (this.isLoading) {
|
|
119
120
|
return (index.h(index.Host, null, this.label && index.h("div", { class: "heading-4 z-carousel-title" }, this.label), index.h("div", { style: { height: `${this.ghostLoadingHeight}px` } }, index.h("z-ghost-loading", null), index.h("div", { class: "loading-items-container" }, index.h("slot", null)))));
|
|
120
121
|
}
|
|
121
|
-
return (index.h(index.Host, null, index.h("div", { class: "z-carousel-container" }, this.label && index.h("div", { class: "heading-4 z-carousel-title" }, this.label), index.h("div", { class: "z-carousel-wrapper" }, this.arrowsPosition ===
|
|
122
|
+
return (index.h(index.Host, null, index.h("div", { class: "z-carousel-container" }, this.label && index.h("div", { class: "heading-4 z-carousel-title" }, this.label), index.h("div", { class: "z-carousel-wrapper" }, this.arrowsPosition === "over" /* CarouselArrowsPosition.OVER */ && (index.h("z-button", { size: "small" /* ButtonSize.SMALL */, "data-direction": "prev", icon: "chevron-left", onClick: this.onPrev.bind(this) })), index.h("ul", { class: "z-carousel-items-container" }, index.h("slot", null)), this.arrowsPosition === "over" /* CarouselArrowsPosition.OVER */ && (index.h("z-button", { size: "small" /* ButtonSize.SMALL */, "data-direction": "next", icon: "chevron-right", onClick: this.onNext.bind(this) })))), this.canShowFooter() && (index.h("div", { class: "z-carousel-footer" }, this.arrowsPosition === "bottom" /* CarouselArrowsPosition.BOTTOM */ && (index.h("z-button", { size: "small" /* ButtonSize.SMALL */, variant: "tertiary" /* ButtonVariant.TERTIARY */, icon: "arrow-left-filled", onClick: this.onPrev.bind(this) })), this.progressMode === "dots" /* CarouselProgressMode.DOTS */ && this.single && this.items && (index.h("div", { class: "dots-progress" }, this.items.map((_item, key) => (index.h("button", { type: "button", class: { current: this.current === key }, onClick: () => this.goTo(key) }, index.h("z-icon", { name: this.current === key ? "white-circle-filled" : "black-circle-filled" })))))), this.progressMode === "numbers" /* CarouselProgressMode.NUMBERS */ && this.single && this.items && (index.h("div", { class: "numbers-progress" }, index.h("span", { class: "interactive-3 current" }, this.current + 1), index.h("span", { class: "interactive-3" }, "di"), index.h("span", { class: "interactive-3" }, this.items.length))), this.arrowsPosition === "bottom" /* CarouselArrowsPosition.BOTTOM */ && (index.h("z-button", { size: "small" /* ButtonSize.SMALL */, variant: "tertiary" /* ButtonVariant.TERTIARY */, icon: "arrow-right-filled", onClick: this.onNext.bind(this) }))))));
|
|
122
123
|
}
|
|
123
124
|
get hostElement() { return index.getElement(this); }
|
|
124
125
|
static get watchers() { return {
|
|
@@ -9,6 +9,8 @@ const stylesCss = ":host>div{display:inline-block;min-height:28px;padding:0 calc
|
|
|
9
9
|
const ZChipDeprecated = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
+
this.regulartext = undefined;
|
|
13
|
+
this.boldtext = undefined;
|
|
12
14
|
}
|
|
13
15
|
renderLegacyChip() {
|
|
14
16
|
return (index.h("div", null, index.h("span", { class: "boldtext" }, this.boldtext), " ", this.regulartext));
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const
|
|
7
|
-
const utils = require('./utils-ce225fb3.js');
|
|
6
|
+
const utils = require('./utils-7c92be74.js');
|
|
8
7
|
require('./breakpoints-88c4fd6c.js');
|
|
9
8
|
|
|
10
9
|
const stylesCss = ".sc-z-chip-h>button.sc-z-chip{display:inline-flex;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--gray400);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}.sc-z-chip-h>button.sc-z-chip:not(:disabled)>z-icon.sc-z-chip:last-child:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled)>z-icon.sc-z-chip:first-child{fill:var(--color-icon02)}.sc-z-chip-h>button.sc-z-chip>z-icon.icon-sx.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.sc-z-chip>z-icon.sc-z-chip:last-child{margin-left:var(--space-unit);cursor:pointer;fill:var(--color-primary01)}.sc-z-chip-h>button.sc-z-chip:disabled,.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{color:var(--color-disabled03);fill:var(--color-disabled03)}.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{cursor:auto}.sc-z-chip-h>button.sc-z-chip:disabled{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>button.sc-z-chip:focus:focus-visible,.sc-z-chip-h>div.sc-z-chip:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled):active:hover>z-icon.sc-z-chip:last-child{color:var(--color-primary01);fill:var(--color-primary01)}.sc-z-chip-h>div.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--bg-grey-200);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;line-height:28px}.sc-z-chip-h>div.sc-z-chip>z-icon.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media only screen and (min-width: 1152px){.sc-z-chip-h>button.sc-z-chip{font-size:12px}.sc-z-chip-h>div.sc-z-chip{font-size:12px}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}}";
|
|
@@ -13,16 +12,16 @@ const ZChip = class {
|
|
|
13
12
|
constructor(hostRef) {
|
|
14
13
|
index.registerInstance(this, hostRef);
|
|
15
14
|
this.interactiveIconClick = index.createEvent(this, "interactiveIconClick", 7);
|
|
16
|
-
|
|
17
|
-
this.type =
|
|
18
|
-
|
|
15
|
+
this.icon = undefined;
|
|
16
|
+
this.type = "default" /* ZChipType.DEFAULT */;
|
|
17
|
+
this.interactiveIcon = undefined;
|
|
19
18
|
this.disabled = false;
|
|
20
19
|
}
|
|
21
20
|
emitinteractiveIconClick() {
|
|
22
21
|
this.interactiveIconClick.emit();
|
|
23
22
|
}
|
|
24
23
|
getIconSize() {
|
|
25
|
-
return utils.getDevice() !==
|
|
24
|
+
return utils.getDevice() !== "desktop" /* Device.DESKTOP */ ? 22 : 14;
|
|
26
25
|
}
|
|
27
26
|
render() {
|
|
28
27
|
if (this.interactiveIcon) {
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const
|
|
7
|
-
const utils = require('./utils-ce225fb3.js');
|
|
6
|
+
const utils = require('./utils-7c92be74.js');
|
|
8
7
|
require('./breakpoints-88c4fd6c.js');
|
|
9
8
|
|
|
10
9
|
const stylesCss = ":host{display:block}:host>div.fixed{position:relative}:host>div>.header{position:relative;z-index:10;display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:0 calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--bg-grey-700);margin:0;background-color:var(--bg-white);border-radius:var(--border-radius-small);cursor:pointer}:host>div>.header:focus:focus-visible{border:var(--border-size-small) solid var(--blue500);box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>z-body{padding:var(--space-unit) 0;margin:0;color:var(--text-grey-800)}:host>div>.header>z-body>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--text-grey-800);transform:rotate(360deg);transition:all 200ms linear}:host>div.open>.header{border:var(--border-size-small) solid var(--blue500);border-radius:var(border-radius-small) var(border-radius-small) 0 0}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.open-combo-data{position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--gray200);border-top:0;background-color:var(--bg-white);border-radius:0}:host>div.open>div.open-combo-data>div{overflow:auto;max-height:235px;padding:0;scrollbar-color:var(--myz-blue) var(--gray200);scrollbar-width:thin}:host>div.open>div.open-combo-data>z-input{width:100%;margin-bottom:calc(var(--space-unit) * 2)}:host>div.open>div.open-combo-data>div>ul{max-height:235px;padding:0 3px;margin:0}::-webkit-scrollbar{width:10px;background:linear-gradient(90deg, var(--bg-white) 2px, var(--bg-grey-200) 4px, var(--bg-white) 8px);border-radius:var(--border-radius)}::-webkit-scrollbar-thumb{width:10px;background-color:var(--myz-blue);border-radius:var(--border-radius)}:host>div.open>z-input{position:relative;z-index:1;width:238px;margin:0 calc(var(--space-unit) * 2);color:var(--myz-blue)}:host>div.open>div.open-combo-data>div.search{overflow:hidden;max-height:auto;margin-top:0;box-shadow:1px 1px 4px 2px rgb(217 222 227 / 50%)}:host>div.open>div.open-combo-data>div.search>ul{overflow:auto;max-height:180px;padding:var(--space-unit) calc(var(--space-unit) * 2);scrollbar-color:var(--myz-blue) var(--bg-grey-200);scrollbar-width:thin}:host>div.open>div.open-combo-data>div.search>div{display:flex;justify-content:center}:host>div.open>div.open-combo-data>div.search>div>a{display:inline-block;height:44px;color:var(--myz-blue);cursor:pointer;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.open-combo-data>div.check-all-wrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);text-align:left}";
|
|
@@ -13,27 +12,26 @@ const ZCombobox = class {
|
|
|
13
12
|
constructor(hostRef) {
|
|
14
13
|
index.registerInstance(this, hostRef);
|
|
15
14
|
this.comboboxChange = index.createEvent(this, "comboboxChange", 7);
|
|
16
|
-
|
|
15
|
+
this.itemsList = [];
|
|
16
|
+
this.inputType = "text" /* InputType.TEXT */;
|
|
17
|
+
this.inputid = undefined;
|
|
18
|
+
this.items = undefined;
|
|
19
|
+
this.label = undefined;
|
|
17
20
|
this.hassearch = false;
|
|
18
|
-
|
|
21
|
+
this.searchlabel = undefined;
|
|
22
|
+
this.searchplaceholder = undefined;
|
|
23
|
+
this.searchtitle = undefined;
|
|
19
24
|
this.noresultslabel = "Nessun risultato";
|
|
20
|
-
/** toggle combo list opening flag */
|
|
21
25
|
this.isopen = false;
|
|
22
|
-
/** fixed style flag */
|
|
23
26
|
this.isfixed = false;
|
|
24
|
-
/** close combobox list text */
|
|
25
27
|
this.closesearchtext = "Chiudi";
|
|
26
|
-
/** show "check all" checkbox (optional) */
|
|
27
28
|
this.hascheckall = false;
|
|
28
|
-
/** check all label (optional) */
|
|
29
29
|
this.checkalltext = "Seleziona tutti";
|
|
30
|
-
/** uncheck all label (optional) */
|
|
31
30
|
this.uncheckalltext = "Deseleziona tutti";
|
|
32
|
-
/** max number of checkable items (0 = unlimited) */
|
|
33
31
|
this.maxcheckableitems = 0;
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
32
|
+
this.searchValue = undefined;
|
|
33
|
+
this.selectedCounter = undefined;
|
|
34
|
+
this.renderItemsList = [];
|
|
37
35
|
this.toggleComboBox = this.toggleComboBox.bind(this);
|
|
38
36
|
this.closeFilterItems = this.closeFilterItems.bind(this);
|
|
39
37
|
}
|
|
@@ -110,7 +108,7 @@ const ZCombobox = class {
|
|
|
110
108
|
}
|
|
111
109
|
renderHeader() {
|
|
112
110
|
return (index.h("div", { class: "header", onClick: () => this.toggleComboBox(), onKeyDown: (ev) => {
|
|
113
|
-
if (ev.keyCode ===
|
|
111
|
+
if (ev.keyCode === 32 /* KeyboardKeyCode.SPACE */) {
|
|
114
112
|
ev.preventDefault();
|
|
115
113
|
}
|
|
116
114
|
}, onKeyUp: (ev) => utils.handleKeyboardSubmit(ev, this.toggleComboBox), role: "button", tabindex: 0 }, index.h("z-body", { level: 3, component: "p" }, this.label, index.h("span", null, this.selectedCounter > 0 && ` (${this.selectedCounter})`)), index.h("z-icon", { name: "caret-down", width: 18, height: 18 })));
|
|
@@ -135,7 +133,7 @@ const ZCombobox = class {
|
|
|
135
133
|
return this.renderNoSearchResults();
|
|
136
134
|
}
|
|
137
135
|
return (index.h("ul", null, items.map((item, i) => {
|
|
138
|
-
return (index.h("z-myz-list-item", { id: item.id, listitemid: item.id, action: `combo-li-${this.inputid}`, underlined: i !== items.length - 1 }, index.h("z-input", { type:
|
|
136
|
+
return (index.h("z-myz-list-item", { id: item.id, listitemid: item.id, action: `combo-li-${this.inputid}`, underlined: i !== items.length - 1 }, index.h("z-input", { type: "checkbox" /* InputType.CHECKBOX */, checked: item.checked, htmlid: `combo-checkbox-${this.inputid}-${item.id}`, label: item.name, disabled: !item.checked && this.maxcheckableitems && this.maxcheckableitems === this.selectedCounter })));
|
|
139
137
|
})));
|
|
140
138
|
}
|
|
141
139
|
renderNoSearchResults() {
|
|
@@ -160,7 +158,7 @@ const ZCombobox = class {
|
|
|
160
158
|
return;
|
|
161
159
|
}
|
|
162
160
|
const allChecked = this.selectedCounter === this.itemsList.length;
|
|
163
|
-
return (index.h("div", { class: "check-all-wrapper" }, index.h("z-input", { type:
|
|
161
|
+
return (index.h("div", { class: "check-all-wrapper" }, index.h("z-input", { type: "checkbox" /* InputType.CHECKBOX */, checked: allChecked, htmlid: `combo-checkbox-${this.inputid}-check-all`, label: allChecked ? this.uncheckalltext : this.checkalltext, disabled: this.maxcheckableitems && this.maxcheckableitems < this.itemsList.length })));
|
|
164
162
|
}
|
|
165
163
|
render() {
|
|
166
164
|
return (index.h("div", { "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed }, id: this.inputid }, this.renderHeader(), this.renderContent()));
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-199cd650.js');
|
|
7
6
|
|
|
8
7
|
const stylesCss = ":host{position:relative;display:flex;align-items:center;justify-content:center;font-family:var(--font-family-sans);font-weight:var(--font-rg)}button{width:100%;height:100%;padding:0;border:none;background:transparent;cursor:pointer}z-popover{overflow:hidden}.popover-content-container{position:relative;min-width:112px;max-width:280px;background-color:var(--color-surface02);box-shadow:var(--shadow-2);white-space:nowrap}.element-container:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.element-text{overflow:hidden;font-size:14px;text-overflow:ellipsis}.element-container,.disabled-element-container{display:flex;min-height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:calc(var(--space-unit) / 2) var(--space-unit);fill:var(--color-disabled03);gap:var(--space-unit)}.element-container{fill:var(--color-primary01)}.element-icon{display:flex}";
|
|
9
8
|
|
|
@@ -11,14 +10,9 @@ const ZContextualMenu = class {
|
|
|
11
10
|
constructor(hostRef) {
|
|
12
11
|
index.registerInstance(this, hostRef);
|
|
13
12
|
this.clickContextualMenu = index.createEvent(this, "clickContextualMenu", 7);
|
|
14
|
-
|
|
15
|
-
* [optional] Sets text color of ZContextualMenu's content
|
|
16
|
-
*/
|
|
13
|
+
this.elements = undefined;
|
|
17
14
|
this.color = "color-primary01";
|
|
18
|
-
|
|
19
|
-
* [optional] Sets the position of the popover
|
|
20
|
-
*/
|
|
21
|
-
this.popoverPosition = index$1.PopoverPositions.BOTTOM_RIGHT;
|
|
15
|
+
this.popoverPosition = "bottom_right" /* PopoverPositions.BOTTOM_RIGHT */;
|
|
22
16
|
}
|
|
23
17
|
componentWillRender() {
|
|
24
18
|
if (this.elements) {
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-199cd650.js');
|
|
7
6
|
|
|
8
7
|
const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}z-candybar.hidden{display:none}.content{display:flex;flex-flow:column nowrap;align-content:space-between;align-items:stretch;justify-content:space-between;padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2);border-radius:calc(var(--space-unit) * 0.5);color:var(--text-grey-800);font-size:16px;letter-spacing:0;line-height:24px}.content>div>h2{padding:0;margin:0;border-radius:0;color:var(--text-grey-800);font-size:18px;font-weight:var(--font-sb);letter-spacing:0}.content>div>div{padding:calc(var(--space-unit) * 3) 0;font-size:14px;letter-spacing:0.16px;line-height:20px}.content>div>div>p{margin:0}.content>div>div>p>a{display:inline-flex;height:14px;color:var(--text-grey-800);cursor:pointer;font-weight:var(--font-sb);text-decoration:underline}.content>div>div>p>a:visited{z-index:1000;color:var(--text-grey-800);cursor:pointer}.content>z-button{width:100%;margin:0}@media only screen and (min-width: 768px){.content{width:100%;flex-direction:row;align-items:center;padding:calc(var(--space-unit) * 4) calc(var(--space-unit) * 3);font-size:16px;letter-spacing:0;line-height:24px}.content>div{width:560px}.content>div>h2{height:calc(var(--space-unit) * 3.5)}.content>div>div{padding:0}.content>z-button{width:initial;margin:0}}@media only screen and (min-width: 1152px){.content>div{width:935px}}@media only screen and (min-width: 1366px){.content{padding-right:calc(var(--space-unit) * 4);padding-left:calc(var(--space-unit) * 4)}}";
|
|
9
8
|
|
|
@@ -11,6 +10,9 @@ const ZCookiebar = class {
|
|
|
11
10
|
constructor(hostRef) {
|
|
12
11
|
index.registerInstance(this, hostRef);
|
|
13
12
|
this.accept = index.createEvent(this, "accept", 7);
|
|
13
|
+
this.cookiepolicyurl = undefined;
|
|
14
|
+
this.hide = undefined;
|
|
15
|
+
this.callback = undefined;
|
|
14
16
|
}
|
|
15
17
|
emitAccept(ev) {
|
|
16
18
|
this.accept.emit({ ev });
|
|
@@ -30,7 +32,7 @@ const ZCookiebar = class {
|
|
|
30
32
|
}
|
|
31
33
|
}
|
|
32
34
|
renderContentSlot() {
|
|
33
|
-
return (index.h("div", { class: "content", slot: "content" }, index.h("div", null, index.h("h2", null, "Su questo sito usiamo i cookie."), index.h("div", null, index.h("p", null, "Se continui a navigare ci permetti di farlo secondo le regole spiegate nella nostra informativa sulla privacy relativa ai \u00A0", index.h("a", { href: this.cookiepolicyurl, target: "_blank" }, "cookie"), "."))), index.h("z-button", { variant:
|
|
35
|
+
return (index.h("div", { class: "content", slot: "content" }, index.h("div", null, index.h("h2", null, "Su questo sito usiamo i cookie."), index.h("div", null, index.h("p", null, "Se continui a navigare ci permetti di farlo secondo le regole spiegate nella nostra informativa sulla privacy relativa ai \u00A0", index.h("a", { href: this.cookiepolicyurl, target: "_blank" }, "cookie"), "."))), index.h("z-button", { variant: "primary" /* ButtonVariant.PRIMARY */, onClick: (ev) => this.handleOkButtonClick(ev), onKeyUp: (ev) => this.handleOkButtonKeyUp(ev) }, "ACCETTA")));
|
|
34
36
|
}
|
|
35
37
|
render() {
|
|
36
38
|
return index.h("z-candybar", { class: `${this.hide ? "hidden" : ""}` }, this.renderContentSlot());
|
|
@@ -3,22 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-199cd650.js');
|
|
7
6
|
|
|
8
7
|
const stylesCss = ":host{--cover-hero-height:auto;--cover-hero-overlay:none;--cover-hero-text-color:var(--color-text-inverse);display:block}:host,*{box-sizing:border-box}:host .content-hero{position:relative;width:100%;height:var(--cover-hero-height);min-height:calc(var(--space-unit) * 30);align-items:baseline;background-color:var(--gray600)}:host .content-container{color:var(--cover-hero-text-color);fill:var(--cover-hero-text-color)}:host .content-hero .cover{position:absolute;z-index:0;width:100%;height:100%}::slotted([slot=\"cover\"]){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top center}::slotted(z-info-reveal){position:absolute;z-index:1;right:var(--grid-margin);bottom:var(--grid-margin)}:host([variant=\"overlay\"]) .content-hero .cover::after{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--cover-hero-overlay);content:\"\"}:host([variant=\"overlay\"]) .content-hero .content-container{position:relative;height:100%;padding:var(--grid-margin)}:host([variant=\"stacked\"]){--cover-hero-text-color:var(--color-text01)}:host([variant=\"stacked\"]) .content-container ::slotted(*){padding:var(--grid-margin) 0}";
|
|
9
8
|
|
|
10
9
|
const ZCoverHero = class {
|
|
11
10
|
constructor(hostRef) {
|
|
12
11
|
index.registerInstance(this, hostRef);
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
* Can be one of "OVERLAY", "STACKED".
|
|
16
|
-
*/
|
|
17
|
-
this.variant = index$1.CoverHeroVariant.OVERLAY;
|
|
18
|
-
/**
|
|
19
|
-
* Cover hero content position (only for STACKED variant).
|
|
20
|
-
*/
|
|
21
|
-
this.contentPosition = index$1.CoverHeroContentPosition.TOP;
|
|
12
|
+
this.variant = "overlay" /* CoverHeroVariant.OVERLAY */;
|
|
13
|
+
this.contentPosition = "top" /* CoverHeroContentPosition.TOP */;
|
|
22
14
|
}
|
|
23
15
|
/**
|
|
24
16
|
* Template for the content.
|
|
@@ -27,10 +19,10 @@ const ZCoverHero = class {
|
|
|
27
19
|
return (index.h("div", { class: "content-container" }, index.h("slot", { name: "content" })));
|
|
28
20
|
}
|
|
29
21
|
render() {
|
|
30
|
-
return (index.h(index.Host, null, this.variant ===
|
|
31
|
-
this.contentPosition ===
|
|
32
|
-
this.renderContent(), index.h("div", { class: "content-hero" }, index.h("div", { class: "cover" }, index.h("slot", { name: "cover" })), index.h("slot", { name: "info-reveal" }), this.variant ===
|
|
33
|
-
this.contentPosition ===
|
|
22
|
+
return (index.h(index.Host, null, this.variant === "stacked" /* CoverHeroVariant.STACKED */ &&
|
|
23
|
+
this.contentPosition === "top" /* CoverHeroContentPosition.TOP */ &&
|
|
24
|
+
this.renderContent(), index.h("div", { class: "content-hero" }, index.h("div", { class: "cover" }, index.h("slot", { name: "cover" })), index.h("slot", { name: "info-reveal" }), this.variant === "overlay" /* CoverHeroVariant.OVERLAY */ && this.renderContent()), this.variant === "stacked" /* CoverHeroVariant.STACKED */ &&
|
|
25
|
+
this.contentPosition === "bottom" /* CoverHeroContentPosition.BOTTOM */ &&
|
|
34
26
|
this.renderContent()));
|
|
35
27
|
}
|
|
36
28
|
get el() { return index.getElement(this); }
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-f681590c.js');
|
|
7
7
|
const _commonjsHelpers = require('./_commonjsHelpers-537d719a.js');
|
|
8
|
-
const index$1 = require('./index-199cd650.js');
|
|
9
8
|
|
|
10
9
|
var monthSelect = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
11
10
|
(function (global, factory) {
|
|
@@ -314,11 +313,11 @@ const ZDatePicker = class {
|
|
|
314
313
|
constructor(hostRef) {
|
|
315
314
|
index.registerInstance(this, hostRef);
|
|
316
315
|
this.dateSelect = index.createEvent(this, "dateSelect", 7);
|
|
317
|
-
|
|
316
|
+
this.datePickerId = undefined;
|
|
318
317
|
this.ariaLabel = "";
|
|
319
|
-
|
|
320
|
-
this.mode =
|
|
321
|
-
this.flatpickrPosition =
|
|
318
|
+
this.label = undefined;
|
|
319
|
+
this.mode = "date" /* ZDatePickerMode.DATE */;
|
|
320
|
+
this.flatpickrPosition = "bottom" /* ZDatePickerPosition.BOTTOM */;
|
|
322
321
|
this.inputError = false;
|
|
323
322
|
}
|
|
324
323
|
emitDateSelect(date) {
|
|
@@ -342,7 +341,7 @@ const ZDatePicker = class {
|
|
|
342
341
|
const isNextArrowEntered = document.activeElement.classList.contains("flatpickr-next-month");
|
|
343
342
|
const arrowPressed = isPrevArrowEntered || isNextArrowEntered;
|
|
344
343
|
arrowPressed && ev.key === " " && ev.preventDefault();
|
|
345
|
-
if (this.mode ===
|
|
344
|
+
if (this.mode === "months" /* ZDatePickerMode.MONTHS */) {
|
|
346
345
|
isPrevArrowEntered && ((_d = this.picker) === null || _d === void 0 ? void 0 : _d.changeYear(this.picker.currentYear - 1));
|
|
347
346
|
isNextArrowEntered && ((_e = this.picker) === null || _e === void 0 ? void 0 : _e.changeYear(this.picker.currentYear + 1));
|
|
348
347
|
if (arrowPressed) {
|
|
@@ -387,11 +386,11 @@ const ZDatePicker = class {
|
|
|
387
386
|
const classToAppend = this.hasChildren ? `${this.datePickerId}-hidden` : `${this.datePickerId}-container`;
|
|
388
387
|
this.picker = utils.flatpickr(`.${classToAppend}`, {
|
|
389
388
|
appendTo: this.element.children[0],
|
|
390
|
-
enableTime: this.mode ===
|
|
389
|
+
enableTime: this.mode === "date-time" /* ZDatePickerMode.DATE_TIME */,
|
|
391
390
|
locale: utils.it.Italian,
|
|
392
391
|
allowInput: true,
|
|
393
|
-
dateFormat: this.mode ===
|
|
394
|
-
ariaDateFormat: this.mode ===
|
|
392
|
+
dateFormat: this.mode === "date-time" /* ZDatePickerMode.DATE_TIME */ ? "d-m-Y - H:i" : "d-m-Y",
|
|
393
|
+
ariaDateFormat: this.mode === "months" /* ZDatePickerMode.MONTHS */ ? "F Y" : "d F Y",
|
|
395
394
|
minuteIncrement: 1,
|
|
396
395
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
397
396
|
time_24hr: true,
|
|
@@ -406,7 +405,7 @@ const ZDatePicker = class {
|
|
|
406
405
|
utils.setAriaOptions(this.element, this.mode);
|
|
407
406
|
},
|
|
408
407
|
wrap: true,
|
|
409
|
-
plugins: this.mode ===
|
|
408
|
+
plugins: this.mode === "months" /* ZDatePickerMode.MONTHS */ && [
|
|
410
409
|
monthSelect({
|
|
411
410
|
dateFormat: "m-Y",
|
|
412
411
|
altFormat: "m-Y",
|
|
@@ -418,23 +417,23 @@ const ZDatePicker = class {
|
|
|
418
417
|
});
|
|
419
418
|
}
|
|
420
419
|
formatDate(date) {
|
|
421
|
-
if (this.mode ===
|
|
420
|
+
if (this.mode === "date" /* ZDatePickerMode.DATE */) {
|
|
422
421
|
return `${utils.flatpickr.formatDate(date, "d-m-Y")}`;
|
|
423
422
|
}
|
|
424
|
-
else if (this.mode ===
|
|
423
|
+
else if (this.mode === "months" /* ZDatePickerMode.MONTHS */) {
|
|
425
424
|
return `${utils.flatpickr.formatDate(date, "m-Y")}`;
|
|
426
425
|
}
|
|
427
426
|
return `${utils.flatpickr.formatDate(date, "d-m-Y - H:i")}`;
|
|
428
427
|
}
|
|
429
428
|
onStopTyping(value) {
|
|
430
429
|
let text = value.detail.value;
|
|
431
|
-
if (this.mode ===
|
|
430
|
+
if (this.mode === "months" /* ZDatePickerMode.MONTHS */) {
|
|
432
431
|
text = "01-".concat(value.detail.value);
|
|
433
432
|
}
|
|
434
433
|
const englishData = text.split("-");
|
|
435
|
-
const time = this.mode ===
|
|
434
|
+
const time = this.mode === "date-time" /* ZDatePickerMode.DATE_TIME */ ? `T${englishData[3]}:00` : "";
|
|
436
435
|
const englishParsedData = `${englishData[2]}-${englishData[1]}-${englishData[0]}${time}`.split(" ").join("");
|
|
437
|
-
const isValidDate = utils.validateDate(englishParsedData, this.mode ===
|
|
436
|
+
const isValidDate = utils.validateDate(englishParsedData, this.mode === "date-time" /* ZDatePickerMode.DATE_TIME */);
|
|
438
437
|
if (text === "") {
|
|
439
438
|
this.inputError = false;
|
|
440
439
|
this.picker.setDate([]);
|
|
@@ -454,7 +453,7 @@ const ZDatePicker = class {
|
|
|
454
453
|
return (index.h("div", { class: `${this.datePickerId}-hidden` }, index.h("input", { class: "hidden-input", "data-input": true }), index.h("slot", { name: "toggle" })));
|
|
455
454
|
}
|
|
456
455
|
renderZInput() {
|
|
457
|
-
return (index.h("div", { class: `${this.datePickerId}-container` }, index.h("z-input", { "data-input": "data-input", ariaLabel: this.ariaLabel, label: this.label, class: this.datePickerId, type:
|
|
456
|
+
return (index.h("div", { class: `${this.datePickerId}-container` }, index.h("z-input", { "data-input": "data-input", ariaLabel: this.ariaLabel, label: this.label, class: this.datePickerId, type: "text" /* InputType.TEXT */, icon: "event", message: false, tabindex: "0", value: "", onStopTyping: (value) => {
|
|
458
457
|
this.onStopTyping(value);
|
|
459
458
|
}, onStartTyping: () => {
|
|
460
459
|
this.inputError = false;
|
|
@@ -37,8 +37,9 @@ ZDragdropArea.style = stylesCss;
|
|
|
37
37
|
const ZHeading = class {
|
|
38
38
|
constructor(hostRef) {
|
|
39
39
|
index.registerInstance(this, hostRef);
|
|
40
|
-
|
|
40
|
+
this.level = undefined;
|
|
41
41
|
this.variant = "regular";
|
|
42
|
+
this.component = undefined;
|
|
42
43
|
}
|
|
43
44
|
render() {
|
|
44
45
|
return (index.h("z-typography", { tabIndex: 0, component: this.component || `h${this.level}`, level: `h${this.level}`, variant: this.variant }, index.h("slot", null)));
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const
|
|
7
|
-
const utils = require('./utils-ce225fb3.js');
|
|
6
|
+
const utils = require('./utils-7c92be74.js');
|
|
8
7
|
require('./breakpoints-88c4fd6c.js');
|
|
9
8
|
|
|
10
9
|
const stylesCss = ":host{color:var(--color-text01);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.container{display:flex;flex-direction:column}:host .modal-wrapper{display:flex;align-items:center;justify-content:center}:host .modal-wrapper>.files-wrapper{display:flex;flex-direction:column;margin:calc(var(--space-unit) * 4);gap:var(--space-unit)}:host .text-container{display:flex;flex-direction:column;margin:auto}:host .text-container z-body{text-align:center}:host .text-container .upload-link{color:var(--color-link-primary);cursor:pointer}:host .text-container .upload-link-text{margin-bottom:var(--space-unit)}input#file-elem{display:none}#title{display:inline-block;margin-bottom:var(--space-unit)}:host>.container>z-button{display:inline-block;margin-top:calc(var(--space-unit) * 3)}:host>.container>.files-container.hidden{display:none}:host>.container>.files-container>z-heading{display:inline-block;margin:calc(var(--space-unit) * 3) 0}:host>.container>.files-container>.files-wrapper{display:flex;flex-wrap:wrap;column-gap:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}:host>.container>.files-container>z-divider{margin-top:calc(var(--space-unit) * 3);margin-bottom:0}@media only screen and (min-width: 768px){:host>.container>z-button{align-self:flex-start}}";
|
|
@@ -13,15 +12,19 @@ const ZFileUpload = class {
|
|
|
13
12
|
constructor(hostRef) {
|
|
14
13
|
index.registerInstance(this, hostRef);
|
|
15
14
|
this.fileInput = index.createEvent(this, "fileInput", 7);
|
|
16
|
-
/** Prop indicating the file upload type - can be default or dragdrop */
|
|
17
|
-
this.type = index$1.ZFileUploadType.DEFAULT;
|
|
18
|
-
/** Files added by the user */
|
|
19
|
-
this.files = [];
|
|
20
15
|
this.inputAttributes = {
|
|
21
16
|
type: "file",
|
|
22
17
|
id: "file-elem",
|
|
23
18
|
multiple: true,
|
|
24
19
|
};
|
|
20
|
+
this.type = "default" /* ZFileUploadType.DEFAULT */;
|
|
21
|
+
this.buttonVariant = undefined;
|
|
22
|
+
this.acceptedFormat = undefined;
|
|
23
|
+
this.fileMaxSize = undefined;
|
|
24
|
+
this.mainTitle = undefined;
|
|
25
|
+
this.description = undefined;
|
|
26
|
+
this.files = [];
|
|
27
|
+
this.invalidFiles = undefined;
|
|
25
28
|
}
|
|
26
29
|
/** Listen removeFile event sent from z-file component */
|
|
27
30
|
removeFileListener(e) {
|
|
@@ -47,6 +50,11 @@ const ZFileUpload = class {
|
|
|
47
50
|
componentWillLoad() {
|
|
48
51
|
this.invalidFiles = new Map();
|
|
49
52
|
}
|
|
53
|
+
componentWillRender() {
|
|
54
|
+
if (this.type === "dragdrop" /* ZFileUploadType.DRAGDROP */ && utils.getDevice() !== "desktop" /* Device.DESKTOP */) {
|
|
55
|
+
this.type = "default" /* ZFileUploadType.DEFAULT */;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
50
58
|
fileInputHandler() {
|
|
51
59
|
if (this.input.files.length) {
|
|
52
60
|
this.invalidFiles = this.checkFiles(Array.from(this.input.files));
|
|
@@ -56,20 +64,13 @@ const ZFileUpload = class {
|
|
|
56
64
|
async getFiles() {
|
|
57
65
|
return this.files;
|
|
58
66
|
}
|
|
59
|
-
getType() {
|
|
60
|
-
if (utils.getDevice() !== index$1.Device.DESKTOP)
|
|
61
|
-
return index$1.ZFileUploadType.DEFAULT;
|
|
62
|
-
return this.type;
|
|
63
|
-
}
|
|
64
67
|
handleAccessibility() {
|
|
65
68
|
const lastFile = this.el.querySelector("z-file:last-child z-chip button");
|
|
66
69
|
if (this.files.length > 0 && lastFile) {
|
|
67
70
|
lastFile.focus();
|
|
68
71
|
}
|
|
69
72
|
else {
|
|
70
|
-
this.
|
|
71
|
-
? this.button.querySelector("button").focus()
|
|
72
|
-
: this.uploadLink.focus();
|
|
73
|
+
this.type === "default" /* ZFileUploadType.DEFAULT */ ? this.button.querySelector("button").focus() : this.uploadLink.focus();
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
76
|
checkFiles(files) {
|
|
@@ -123,7 +124,7 @@ const ZFileUpload = class {
|
|
|
123
124
|
return index.h("z-body", { level: 3 }, fileFormatString || fileWeightString ? finalString : null);
|
|
124
125
|
}
|
|
125
126
|
renderFileSection() {
|
|
126
|
-
return (index.h("section", { class: `files-container ${!this.files.length ? "hidden" : ""}` }, index.h("z-heading", { variant: "semibold", level: 4 }, "File appena caricati"), index.h("div", { class: "files-wrapper" }, index.h("slot", { name: "files" })), index.h("z-divider", { size:
|
|
127
|
+
return (index.h("section", { class: `files-container ${!this.files.length ? "hidden" : ""}` }, index.h("z-heading", { variant: "semibold", level: 4 }, "File appena caricati"), index.h("div", { class: "files-wrapper" }, index.h("slot", { name: "files" })), index.h("z-divider", { size: "medium" /* DividerSize.MEDIUM */ })));
|
|
127
128
|
}
|
|
128
129
|
renderInput() {
|
|
129
130
|
return (index.h("input", Object.assign({}, this.inputAttributes, { onChange: () => this.fileInputHandler(), accept: this.acceptedFormat, ref: (val) => (this.input = val) })));
|
|
@@ -175,7 +176,7 @@ const ZFileUpload = class {
|
|
|
175
176
|
})))));
|
|
176
177
|
}
|
|
177
178
|
render() {
|
|
178
|
-
return (index.h(index.Host, null, index.h("div", { tabIndex: 0, class: `container ${this.
|
|
179
|
+
return (index.h(index.Host, null, index.h("div", { tabIndex: 0, class: `container ${this.type}` }, this.renderTitle(), this.type == "default" /* ZFileUploadType.DEFAULT */ ? this.renderDefaultMode() : this.renderDragDropMode()), !!this.invalidFiles.size && (index.h("z-modal", { tabIndex: 0, ref: (val) => (this.errorModal = val), modaltitle: "Attenzione", onModalClose: () => (this.invalidFiles = new Map()), onModalBackgroundClick: () => (this.invalidFiles = new Map()) }, this.handleErrorModalContent()))));
|
|
179
180
|
}
|
|
180
181
|
get el() { return index.getElement(this); }
|
|
181
182
|
};
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-199cd650.js');
|
|
7
6
|
const breakpoints = require('./breakpoints-88c4fd6c.js');
|
|
8
7
|
|
|
9
8
|
const stylesCss = ".sc-z-file-h{position:relative;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-h>z-popover.sc-z-file{z-index:10}.sc-z-file-h>z-popover.sc-z-file>.tooltip-content.sc-z-file{white-space:nowrap}.sc-z-file-h>z-chip.sc-z-file span.sc-z-file{display:block;overflow:hidden;max-width:250px;letter-spacing:0.32px;line-height:1.33;text-overflow:ellipsis;white-space:nowrap}";
|
|
@@ -12,6 +11,8 @@ const ZFile = class {
|
|
|
12
11
|
constructor(hostRef) {
|
|
13
12
|
index.registerInstance(this, hostRef);
|
|
14
13
|
this.removeFile = index.createEvent(this, "removeFile", 7);
|
|
14
|
+
this.fileNumber = undefined;
|
|
15
|
+
this.fileName = undefined;
|
|
15
16
|
this.allowPopover = false;
|
|
16
17
|
this.popoverVisible = false;
|
|
17
18
|
}
|
|
@@ -39,7 +40,7 @@ const ZFile = class {
|
|
|
39
40
|
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
40
41
|
}
|
|
41
42
|
render() {
|
|
42
|
-
return (index.h(index.Host, null, this.allowPopover && (index.h("z-popover", { open: this.popoverVisible, position:
|
|
43
|
+
return (index.h(index.Host, null, this.allowPopover && (index.h("z-popover", { open: this.popoverVisible, position: "auto" /* PopoverPositions.AUTO */, bindTo: this.chip }, index.h("span", { class: "body-5 tooltip-content" }, this.ellipsis.innerText))), index.h("z-chip", { ref: (el) => (this.chip = el), id: `chip-${this.fileNumber}`, interactiveIcon: "multiply-circled", type: "default" /* ZChipType.DEFAULT */ }, index.h("span", { ref: (el) => (this.ellipsis = el), tabIndex: -1 }, this.fileName))));
|
|
43
44
|
}
|
|
44
45
|
get el() { return index.getElement(this); }
|
|
45
46
|
};
|
|
@@ -9,6 +9,7 @@ const stylesCss$2 = ":host{font-family:var(--font-family-sans);font-weight:var(-
|
|
|
9
9
|
const ZFooterLink = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
+
this.href = undefined;
|
|
12
13
|
}
|
|
13
14
|
render() {
|
|
14
15
|
return (index.h("a", { href: this.href, target: "_blank" }, index.h("slot", null)));
|
|
@@ -21,6 +22,7 @@ const stylesCss$1 = ":host{font-family:var(--font-family-sans);font-weight:var(-
|
|
|
21
22
|
const ZFooterSection = class {
|
|
22
23
|
constructor(hostRef) {
|
|
23
24
|
index.registerInstance(this, hostRef);
|
|
25
|
+
this.name = undefined;
|
|
24
26
|
this.isOpen = false;
|
|
25
27
|
}
|
|
26
28
|
renderToggleButton() {
|
|
@@ -37,6 +39,9 @@ const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--f
|
|
|
37
39
|
const ZFooterSocial = class {
|
|
38
40
|
constructor(hostRef) {
|
|
39
41
|
index.registerInstance(this, hostRef);
|
|
42
|
+
this.icon = undefined;
|
|
43
|
+
this.href = undefined;
|
|
44
|
+
this.description = undefined;
|
|
40
45
|
}
|
|
41
46
|
render() {
|
|
42
47
|
return (index.h("a", { href: this.href, target: "_blank" }, index.h("img", { src: this.icon, alt: this.description })));
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-199cd650.js');
|
|
7
6
|
|
|
8
7
|
const stylesCss = ":host{width:100%}footer{width:auto;height:auto;box-sizing:border-box;padding:var(--space-unit) 0;background-color:var(--gray900);color:var(--gray50);font-family:var(--font-family-sans);font-size:13px}footer *{box-sizing:border-box}footer>section>div{display:grid}#top{padding:0 calc(var(--space-unit) * 2)}#bottom{width:auto;height:auto;padding:0 calc(var(--space-unit) * 2);margin:0;font-size:12px;white-space:pre-line}#bottom>div{display:grid;grid-template-columns:1fr}#bottom>div>div.item{display:flex;width:auto;height:auto;flex-direction:column;align-items:flex-start;padding:calc(var(--space-unit) * 2) 0;grid-column:span 1}#bottom>div>div.item:nth-child(1){order:2}#bottom>div>div.item:nth-child(2){order:1;border-bottom:1px solid var(--gray50)}#bottom>div>div.item>div.social{display:grid;padding:0;margin-bottom:0;column-gap:12px;grid-template-columns:repeat(5, 1fr);grid-template-rows:repeat(auto-fill, 24px)}#bottom>div>div.bottom-links{display:none}#bottom>div>div.item>p{padding:var(--space-unit) 0;margin:var(--space-unit) 0}#bottom>div>div.item>p:first-child{margin-top:0}#bottom>div>div.item>p:last-child{margin-bottom:0}#bottom>div>div.logo>p>span{display:block}#extension{padding:0 calc(var(--space-unit) * 2)}#extension>div{display:grid;align-items:center;grid-row-gap:var(--space-unit);grid-template-columns:1fr}#extension z-divider{margin-top:var(--space-unit)}#extension z-button{margin-left:var(--space-unit)}div.limited-width{--mw:none;max-width:var(--mw);margin:auto}z-button{--color-primary01:var(--gray600);--color-hover-primary:var(--gray700)}@media only screen and (min-width: 768px){footer{padding:0}#top{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);background-color:var(--gray800)}#top z-footer-section:last-child{display:none}#bottom{padding:0 calc(var(--space-unit) * 3);background-color:var(--gray900)}#bottom>div{grid-column-gap:var(--grid-tablet-margin);grid-template-columns:repeat(4, 1fr)}#bottom>div>div.item{margin:0}#bottom>div>div.item:nth-child(1){order:1}#bottom>div>div.item:nth-child(2){order:2;border-bottom:none}#bottom>div>div.item>p{padding-top:0}#bottom>div>div.logo>z-logo{width:auto;height:39px}#bottom>div>div.bottom-links{display:grid;order:3;font-size:12px;grid-column:span 2;grid-column-gap:var(--grid-tablet-margin);grid-template-columns:repeat(2, 1fr);grid-template-rows:repeat(auto-fill, 24px)}#extension{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3) 0;margin:auto;background-color:var(--gray800);color:white;grid-template-columns:1fr 1fr}#extension>div>div{text-align:end}#extension z-divider{grid-column:1 / span 2}}@media only screen and (min-width: 1152px){#top{width:100%}#top>div{grid-column-gap:var(--grid-desktop-margin);grid-template-columns:repeat(6, 1fr)}#bottom>div>div.item:nth-child(1)>p:nth-of-type(2){font-size:10px}#bottom>div>div.item>p{padding-bottom:0;margin-bottom:calc(var(--space-unit) * 2)}#bottom>div>div.item>div.social{margin-top:0}#bottom>div>div.bottom-links{padding:calc(var(--space-unit) * 2) 0 0 0;margin:0;grid-column-gap:var(--grid-desktop-margin);grid-template-columns:repeat(3, 1fr)}}@media only screen and (min-width: 1366px){#top{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}#bottom{padding:0 calc(var(--space-unit) * 4)}#extension{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4) 0}}";
|
|
9
8
|
|
|
@@ -13,6 +12,12 @@ const ZFooter = class {
|
|
|
13
12
|
this.creditsLinkClick = index.createEvent(this, "creditsLinkClick", 7);
|
|
14
13
|
this.reportAProblemButtonClick = index.createEvent(this, "reportAProblemButtonClick", 7);
|
|
15
14
|
this.creditsLinkId = "creditsLinkId";
|
|
15
|
+
this.data = undefined;
|
|
16
|
+
this.productName = undefined;
|
|
17
|
+
this.productVersion = undefined;
|
|
18
|
+
this.productCreditsLink = undefined;
|
|
19
|
+
this.showReportAProblemButton = undefined;
|
|
20
|
+
this.contentMaxWidth = undefined;
|
|
16
21
|
this.emitReportAProblemButtonClick = this.emitReportAProblemButtonClick.bind(this);
|
|
17
22
|
}
|
|
18
23
|
componentWillLoad() {
|
|
@@ -61,7 +66,7 @@ const ZFooter = class {
|
|
|
61
66
|
if (this.productName || this.productVersion || this.productCreditsLink != null || this.showReportAProblemButton) {
|
|
62
67
|
const versionString = `${this.productName ? " versione" : "Versione"} ${this.productVersion}`;
|
|
63
68
|
const creditsObject = (index.h("z-body", { level: 5 }, (this.productName || this.productVersion) && " - ", index.h("z-link", { htmlid: this.creditsLinkId, href: (_a = this.productCreditsLink) === null || _a === void 0 ? void 0 : _a.trim(), target: "_blank", textcolor: "white" }, "Credits")));
|
|
64
|
-
return (index.h("div", { id: "extension" }, index.h("div", { class: { "limited-width": !!this.contentMaxWidth }, style: this.contentMaxWidth ? { "--mw": `${this.contentMaxWidth}px` } : {} }, index.h("span", null, this.productName && (index.h("z-body", { level: 5, variant: "semibold" }, this.productName)), this.productVersion && index.h("z-body", { level: 5 }, versionString), this.productCreditsLink != null && creditsObject), this.showReportAProblemButton && (index.h("div", null, index.h("z-body", { level: 5 }, "Hai bisogno di aiuto?"), index.h("z-button", { size:
|
|
69
|
+
return (index.h("div", { id: "extension" }, index.h("div", { class: { "limited-width": !!this.contentMaxWidth }, style: this.contentMaxWidth ? { "--mw": `${this.contentMaxWidth}px` } : {} }, index.h("span", null, this.productName && (index.h("z-body", { level: 5, variant: "semibold" }, this.productName)), this.productVersion && index.h("z-body", { level: 5 }, versionString), this.productCreditsLink != null && creditsObject), this.showReportAProblemButton && (index.h("div", null, index.h("z-body", { level: 5 }, "Hai bisogno di aiuto?"), index.h("z-button", { size: "small" /* ButtonSize.SMALL */, onClick: this.emitReportAProblemButtonClick }, "SEGNALA UN PROBLEMA"))), index.h("z-divider", { color: "gray500" }))));
|
|
65
70
|
}
|
|
66
71
|
}
|
|
67
72
|
// INFO: backward compatibility
|
|
@@ -10,7 +10,7 @@ const ZInfoBox = class {
|
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.infoBoxClose = index.createEvent(this, "infoBoxClose", 7);
|
|
13
|
-
|
|
13
|
+
this.boxid = undefined;
|
|
14
14
|
this.isclosable = true;
|
|
15
15
|
}
|
|
16
16
|
emitInfoBoxClose() {
|
|
@@ -3,20 +3,16 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-199cd650.js');
|
|
7
6
|
|
|
8
7
|
const stylesCss = ":host{--z-info-reveal-theme--surface:var(--color-black);--z-info-reveal-theme--text:var(--color-white);--z-info-reveal-shadow:var(--shadow-2);--z-info-reveal-max-width:375px;position:relative;display:flex;width:fit-content;background-color:var(--z-info-reveal-theme--surface);color:var(--z-info-reveal-theme--text);font-size:var(--font-size-3);font-weight:var(--font-rg);letter-spacing:0;line-height:1.5}button{padding:0;border:none;background-color:transparent;border-radius:0;color:inherit;cursor:pointer;fill:currentcolor;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit}z-icon{--z-icon-width:calc(var(--space-unit) * 3);--z-icon-height:calc(var(--space-unit) * 3);display:flex}.z-info-reveal-trigger{display:flex;width:fit-content;height:100%;align-items:center;padding:calc(var(--space-unit) / 2);box-shadow:var(--z-info-reveal-shadow);column-gap:calc(var(--space-unit) / 2)}:host([position=\"top_left\"]) .z-info-reveal-trigger,:host([position=\"bottom_left\"]) .z-info-reveal-trigger{flex-direction:row-reverse}:host([open]) .z-info-reveal-trigger{box-shadow:none}.info-box{position:absolute;display:flex;max-width:var(--z-info-reveal-max-width);padding:calc(var(--space-unit) / 2);background-color:var(--z-info-reveal-theme--surface);box-shadow:var(--z-info-reveal-shadow);column-gap:calc(var(--space-unit) / 2);cursor:pointer}:host([position=\"bottom_left\"]) .info-box,:host([position=\"bottom_right\"]) .info-box{bottom:0}:host([position=\"top_right\"]) .info-box,:host([position=\"bottom_right\"]) .info-box{right:0}:host([position=\"top_left\"]) .info-box,:host([position=\"bottom_left\"]) .info-box{left:0;flex-direction:row-reverse}::slotted(*){display:none;width:max-content}::slotted([data-current]){display:block}:host([position=\"top_left\"]) .z-info-reveal-close,:host([position=\"top_right\"]) .z-info-reveal-close{align-self:flex-start}:host([position=\"bottom_left\"]) .z-info-reveal-close,:host([position=\"bottom_right\"]) .z-info-reveal-close{align-self:flex-end}";
|
|
9
8
|
|
|
10
9
|
const ZInfoReveal = class {
|
|
11
10
|
constructor(hostRef) {
|
|
12
11
|
index.registerInstance(this, hostRef);
|
|
13
|
-
/** Name of the icon for the open button */
|
|
14
12
|
this.icon = "informationsource";
|
|
15
|
-
|
|
16
|
-
this.
|
|
17
|
-
/** Whether the info panel is open. */
|
|
13
|
+
this.position = "bottom_right" /* InfoRevealPosition.BOTTOM_RIGHT */;
|
|
14
|
+
this.label = undefined;
|
|
18
15
|
this.open = false;
|
|
19
|
-
/** Current index for the info queue. */
|
|
20
16
|
this.currentIndex = null;
|
|
21
17
|
}
|
|
22
18
|
watchItems() {
|