@zanichelli/albe-web-components 6.0.3 → 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/dist/cjs/index.cjs.js +346 -302
- package/dist/cjs/loader.cjs.js +1 -1
- 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 +1 -1
- 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 +14 -11
- 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 +13 -10
- 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 +1 -1
- 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 +1 -1
- 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 +14 -11
- 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/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-0134d685.js → p-60ec44c6.js} +1 -1
- 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-2d0cb337.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/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-2d0cb337.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-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
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
|
-
import { c as ButtonSize } from './index-9d028352.js';
|
|
3
2
|
|
|
4
3
|
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}}";
|
|
5
4
|
|
|
@@ -9,6 +8,12 @@ const ZFooter = class {
|
|
|
9
8
|
this.creditsLinkClick = createEvent(this, "creditsLinkClick", 7);
|
|
10
9
|
this.reportAProblemButtonClick = createEvent(this, "reportAProblemButtonClick", 7);
|
|
11
10
|
this.creditsLinkId = "creditsLinkId";
|
|
11
|
+
this.data = undefined;
|
|
12
|
+
this.productName = undefined;
|
|
13
|
+
this.productVersion = undefined;
|
|
14
|
+
this.productCreditsLink = undefined;
|
|
15
|
+
this.showReportAProblemButton = undefined;
|
|
16
|
+
this.contentMaxWidth = undefined;
|
|
12
17
|
this.emitReportAProblemButtonClick = this.emitReportAProblemButtonClick.bind(this);
|
|
13
18
|
}
|
|
14
19
|
componentWillLoad() {
|
|
@@ -57,7 +62,7 @@ const ZFooter = class {
|
|
|
57
62
|
if (this.productName || this.productVersion || this.productCreditsLink != null || this.showReportAProblemButton) {
|
|
58
63
|
const versionString = `${this.productName ? " versione" : "Versione"} ${this.productVersion}`;
|
|
59
64
|
const creditsObject = (h("z-body", { level: 5 }, (this.productName || this.productVersion) && " - ", h("z-link", { htmlid: this.creditsLinkId, href: (_a = this.productCreditsLink) === null || _a === void 0 ? void 0 : _a.trim(), target: "_blank", textcolor: "white" }, "Credits")));
|
|
60
|
-
return (h("div", { id: "extension" }, h("div", { class: { "limited-width": !!this.contentMaxWidth }, style: this.contentMaxWidth ? { "--mw": `${this.contentMaxWidth}px` } : {} }, h("span", null, this.productName && (h("z-body", { level: 5, variant: "semibold" }, this.productName)), this.productVersion && h("z-body", { level: 5 }, versionString), this.productCreditsLink != null && creditsObject), this.showReportAProblemButton && (h("div", null, h("z-body", { level: 5 }, "Hai bisogno di aiuto?"), h("z-button", { size: ButtonSize.SMALL
|
|
65
|
+
return (h("div", { id: "extension" }, h("div", { class: { "limited-width": !!this.contentMaxWidth }, style: this.contentMaxWidth ? { "--mw": `${this.contentMaxWidth}px` } : {} }, h("span", null, this.productName && (h("z-body", { level: 5, variant: "semibold" }, this.productName)), this.productVersion && h("z-body", { level: 5 }, versionString), this.productCreditsLink != null && creditsObject), this.showReportAProblemButton && (h("div", null, h("z-body", { level: 5 }, "Hai bisogno di aiuto?"), h("z-button", { size: "small" /* ButtonSize.SMALL */, onClick: this.emitReportAProblemButtonClick }, "SEGNALA UN PROBLEMA"))), h("z-divider", { color: "gray500" }))));
|
|
61
66
|
}
|
|
62
67
|
}
|
|
63
68
|
// INFO: backward compatibility
|
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import { Q as InfoRevealPosition } from './index-9d028352.js';
|
|
3
2
|
|
|
4
3
|
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}";
|
|
5
4
|
|
|
6
5
|
const ZInfoReveal = class {
|
|
7
6
|
constructor(hostRef) {
|
|
8
7
|
registerInstance(this, hostRef);
|
|
9
|
-
/** Name of the icon for the open button */
|
|
10
8
|
this.icon = "informationsource";
|
|
11
|
-
|
|
12
|
-
this.
|
|
13
|
-
/** Whether the info panel is open. */
|
|
9
|
+
this.position = "bottom_right" /* InfoRevealPosition.BOTTOM_RIGHT */;
|
|
10
|
+
this.label = undefined;
|
|
14
11
|
this.open = false;
|
|
15
|
-
/** Current index for the info queue. */
|
|
16
12
|
this.currentIndex = null;
|
|
17
13
|
}
|
|
18
14
|
watchItems() {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import {
|
|
3
|
-
import { r as randomId } from './utils-39ca028c.js';
|
|
2
|
+
import { r as randomId } from './utils-420e8552.js';
|
|
4
3
|
import './breakpoints-c386984e.js';
|
|
5
4
|
|
|
6
5
|
const stylesCss = ".sc-z-input-deprecated-h{display:inline-block;width:inherit}input.sc-z-input-deprecated::-ms-clear,input.sc-z-input-deprecated::-ms-reveal{display:none}.sc-z-input-deprecated-h input.sc-z-input-deprecated::-ms-clear,.sc-z-input-deprecated-h input.sc-z-input-deprecated::-ms-reveal{display:none}input.sc-z-input-deprecated,textarea.sc-z-input-deprecated,.textarea-wrapper.sc-z-input-deprecated,ul[role=\"listbox\"].sc-z-input-deprecated{box-sizing:border-box;border:var(--border-size-small) solid var(--color-surface04);background:var(--color-input-field01);border-radius:var(--border-radius-small);color:var(--color-text02);fill:var(--color-icon02);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg);outline:none}input.sc-z-input-deprecated:focus:focus-visible,li[role=\"option\"].sc-z-input-deprecated:focus:focus-visible,.focus.sc-z-input-deprecated{box-shadow:var(--shadow-focus-primary)}.filled.sc-z-input-deprecated{border-color:var(--color-surface05)}.input-success.sc-z-input-deprecated,.input-success.sc-z-input-deprecated:hover,.input-success.hover.sc-z-input-deprecated{border-color:var(--color-success01);background:var(--color-success-inverse);fill:var(--color-success01)}.input-error.sc-z-input-deprecated,.input-error.sc-z-input-deprecated:hover,.input-error.hover.sc-z-input-deprecated{border-color:var(--color-error01);background:var(--color-error-inverse);fill:var(--color-error01)}.input-warning.sc-z-input-deprecated,.input-warning.sc-z-input-deprecated:hover,.input-warning.hover.sc-z-input-deprecated{border-color:var(--color-warning01);background:var(--color-warning-inverse);fill:var(--color-warning01)}input[readonly].sc-z-input-deprecated,.readonly.sc-z-input-deprecated{border-color:var(--color-disabled01);fill:var(--color-disabled01);pointer-events:none}input.sc-z-input-deprecated:disabled,.disabled.sc-z-input-deprecated,.filled.sc-z-input-deprecated:disabled{border-color:var(--color-disabled01);box-shadow:none;color:var(--color-disabled02);fill:var(--color-disabled01);pointer-events:none}input.sc-z-input-deprecated::placeholder,textarea.sc-z-input-deprecated::placeholder{color:var(--color-text05)}.sc-z-input-deprecated::-webkit-textarea-placeholder{color:var(--color-text05)}.sc-z-input-deprecated:-ms-textarea-placeholder{color:var(--color-text05)}.sc-z-input-deprecated::placeholder{color:var(--color-text05)}.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated{position:relative;z-index:1;fill:var(--color-icon02)}.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated{width:100%;height:calc(var(--space-unit) * 5.5);box-sizing:border-box;padding:0 calc(var(--space-unit) * 4.5) 0 calc(var(--space-unit) * 1.5);margin:0}.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.has-icon.sc-z-input-deprecated,.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.has-clear-icon.sc-z-input-deprecated{padding-right:calc(var(--space-unit) * 4)}.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.has-icon.has-clear-icon.sc-z-input-deprecated{padding-right:calc(var(--space-unit) * 7)}.text-wrapper.sc-z-input-deprecated .icons-wrapper.sc-z-input-deprecated{position:absolute;z-index:2;right:calc(var(--space-unit) * 1.5);bottom:calc(var(--space-unit) * 1.5);display:flex}.text-wrapper.sc-z-input-deprecated .icons-wrapper.sc-z-input-deprecated>z-icon.sc-z-input-deprecated{--z-icon-width:18px;--z-icon-height:18px;display:block;margin-left:calc(var(--space-unit) * 0.5)}.text-wrapper.sc-z-input-deprecated .icons-wrapper.sc-z-input-deprecated>z-icon.reset-icon.sc-z-input-deprecated,.text-wrapper.sc-z-input-deprecated .icons-wrapper.sc-z-input-deprecated>z-icon.toggle-password-icon.sc-z-input-deprecated{cursor:pointer}.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill,.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill:hover,.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill:focus,.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill:active{background-clip:text !important}.textarea-wrapper.sc-z-input-deprecated{padding:calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}textarea.sc-z-input-deprecated::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}textarea.sc-z-input-deprecated::-webkit-scrollbar-track{background-color:transparent}textarea.sc-z-input-deprecated::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}textarea.sc-z-input-deprecated::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}textarea.sc-z-input-deprecated{width:100%;min-height:132px;padding:0;border:none;margin:0;resize:none}.radio-wrapper.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated{position:relative;display:inline-flex;flex-direction:row;align-items:center;color:var(--color-text01);fill:var(--color-primary01);font-family:var(--font-family-sans)}.radio-wrapper.sc-z-input-deprecated:hover,.checkbox-wrapper.sc-z-input-deprecated:hover{color:var(--color-hover-primary);fill:currentcolor}.radio-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated{position:absolute;z-index:-1;opacity:0;pointer-events:none}.radio-wrapper.sc-z-input-deprecated .radio-label.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.sc-z-input-deprecated{display:inline-flex;align-items:center;margin:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1;text-transform:inherit}.radio-wrapper.sc-z-input-deprecated input.sc-z-input-deprecated:not(:disabled)+.radio-label.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated input.sc-z-input-deprecated:not(:disabled)+.checkbox-label.sc-z-input-deprecated{cursor:pointer}.radio-wrapper.sc-z-input-deprecated .radio-label.sc-z-input-deprecated z-icon.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.sc-z-input-deprecated z-icon.sc-z-input-deprecated{cursor:pointer;fill:inherit}.radio-wrapper.sc-z-input-deprecated .radio-label.after.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.after.sc-z-input-deprecated{flex-direction:row}.radio-wrapper.sc-z-input-deprecated .radio-label.before.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.before.sc-z-input-deprecated{flex-direction:row-reverse}.radio-wrapper.sc-z-input-deprecated .radio-label.after.sc-z-input-deprecated>span.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.after.sc-z-input-deprecated>span.sc-z-input-deprecated{margin-left:var(--space-unit)}.radio-wrapper.sc-z-input-deprecated .radio-label.before.sc-z-input-deprecated>span.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.before.sc-z-input-deprecated>span.sc-z-input-deprecated{margin-right:var(--space-unit)}.radio-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:focus:focus-visible+.radio-label.sc-z-input-deprecated>z-icon.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:focus:focus-visible+.checkbox-label.sc-z-input-deprecated>z-icon.sc-z-input-deprecated{border-radius:var(--border-radius-small);box-shadow:var(--shadow-focus-primary)}.radio-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.radio-label.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.checkbox-label.sc-z-input-deprecated{color:var(--color-disabled02)}.radio-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.radio-label.sc-z-input-deprecated>z-icon.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.checkbox-label.sc-z-input-deprecated>z-icon.sc-z-input-deprecated{cursor:default;fill:var(--color-disabled01)}";
|
|
@@ -13,28 +12,28 @@ const ZInputDeprecated = class {
|
|
|
13
12
|
this.stopTyping = createEvent(this, "stopTyping", 7);
|
|
14
13
|
this.inputCheck = createEvent(this, "inputCheck", 7);
|
|
15
14
|
this.optionSelect = createEvent(this, "optionSelect", 7);
|
|
16
|
-
/** the id of the input element */
|
|
17
15
|
this.htmlid = `id-${randomId()}`;
|
|
18
|
-
|
|
16
|
+
this.type = undefined;
|
|
17
|
+
this.name = undefined;
|
|
18
|
+
this.label = undefined;
|
|
19
19
|
this.ariaLabel = "";
|
|
20
|
-
|
|
20
|
+
this.value = undefined;
|
|
21
21
|
this.disabled = false;
|
|
22
|
-
/** the input is readonly */
|
|
23
22
|
this.readonly = false;
|
|
24
|
-
/** the input is required (optional): available for text, password, number, email, textarea, checkbox */
|
|
25
23
|
this.required = false;
|
|
26
|
-
/** checked: available for checkbox, radio */
|
|
27
24
|
this.checked = false;
|
|
28
|
-
|
|
25
|
+
this.placeholder = undefined;
|
|
26
|
+
this.htmltitle = undefined;
|
|
27
|
+
this.status = undefined;
|
|
29
28
|
this.hasmessage = true;
|
|
30
|
-
|
|
29
|
+
this.message = undefined;
|
|
31
30
|
this.labelafter = true;
|
|
32
|
-
/** timeout setting before trigger `inputChange` event (optional): available for text, textarea */
|
|
33
31
|
this.typingtimeout = 300;
|
|
34
|
-
|
|
32
|
+
this.items = undefined;
|
|
33
|
+
this.autocomplete = undefined;
|
|
35
34
|
this.multiple = false;
|
|
36
|
-
/** render clear icon when typing (optional): available for text */
|
|
37
35
|
this.hasclearicon = true;
|
|
36
|
+
this.icon = undefined;
|
|
38
37
|
this.isTyping = false;
|
|
39
38
|
this.textareaWrapperHover = "";
|
|
40
39
|
this.textareaWrapperFocus = "";
|
|
@@ -43,8 +42,8 @@ const ZInputDeprecated = class {
|
|
|
43
42
|
inputCheckListener(e) {
|
|
44
43
|
const data = e.detail;
|
|
45
44
|
switch (this.type) {
|
|
46
|
-
case InputType.RADIO
|
|
47
|
-
if (data.type === InputType.RADIO && data.name === this.name && data.id !== this.htmlid) {
|
|
45
|
+
case "radio" /* InputType.RADIO */:
|
|
46
|
+
if (data.type === "radio" /* InputType.RADIO */ && data.name === this.name && data.id !== this.htmlid) {
|
|
48
47
|
this.checked = false;
|
|
49
48
|
}
|
|
50
49
|
break;
|
|
@@ -77,8 +76,8 @@ const ZInputDeprecated = class {
|
|
|
77
76
|
/** get checked status */
|
|
78
77
|
async isChecked() {
|
|
79
78
|
switch (this.type) {
|
|
80
|
-
case InputType.CHECKBOX
|
|
81
|
-
case InputType.RADIO
|
|
79
|
+
case "checkbox" /* InputType.CHECKBOX */:
|
|
80
|
+
case "radio" /* InputType.RADIO */:
|
|
82
81
|
return this.checked;
|
|
83
82
|
default:
|
|
84
83
|
return false;
|
|
@@ -89,7 +88,7 @@ const ZInputDeprecated = class {
|
|
|
89
88
|
this.emitStartTyping();
|
|
90
89
|
}
|
|
91
90
|
let validity;
|
|
92
|
-
if (this.type === InputType.TEXTAREA) {
|
|
91
|
+
if (this.type === "textarea" /* InputType.TEXTAREA */) {
|
|
93
92
|
validity = this.getValidity("textarea");
|
|
94
93
|
}
|
|
95
94
|
else {
|
|
@@ -150,15 +149,15 @@ const ZInputDeprecated = class {
|
|
|
150
149
|
}
|
|
151
150
|
return attr;
|
|
152
151
|
}
|
|
153
|
-
renderInputText(type = InputType.TEXT) {
|
|
152
|
+
renderInputText(type = "text" /* InputType.TEXT */) {
|
|
154
153
|
const attr = this.getTextAttributes();
|
|
155
|
-
if (this.icon || type === InputType.PASSWORD) {
|
|
154
|
+
if (this.icon || type === "password" /* InputType.PASSWORD */) {
|
|
156
155
|
Object.assign(attr.class, { "has-icon": true });
|
|
157
156
|
}
|
|
158
157
|
if (this.hasclearicon) {
|
|
159
158
|
Object.assign(attr.class, { "has-clear-icon": true });
|
|
160
159
|
}
|
|
161
|
-
return (h("div", { class: "text-wrapper" }, this.renderLabel(), h("div", null, h("input", Object.assign({ type: type === InputType.PASSWORD && !this.passwordHidden ? InputType.TEXT : type }, attr, { "aria-label": this.ariaLabel || this.label })), this.renderIcons()), this.renderMessage()));
|
|
160
|
+
return (h("div", { class: "text-wrapper" }, this.renderLabel(), h("div", null, h("input", Object.assign({ type: type === "password" /* InputType.PASSWORD */ && !this.passwordHidden ? "text" /* InputType.TEXT */ : type }, attr, { "aria-label": this.ariaLabel || this.label })), this.renderIcons()), this.renderMessage()));
|
|
162
161
|
}
|
|
163
162
|
renderLabel() {
|
|
164
163
|
if (!this.label) {
|
|
@@ -173,7 +172,7 @@ const ZInputDeprecated = class {
|
|
|
173
172
|
} }, this.renderResetIcon(), this.renderIcon()));
|
|
174
173
|
}
|
|
175
174
|
renderIcon() {
|
|
176
|
-
if (this.type === InputType.PASSWORD) {
|
|
175
|
+
if (this.type === "password" /* InputType.PASSWORD */) {
|
|
177
176
|
return this.renderShowHidePassword();
|
|
178
177
|
}
|
|
179
178
|
if (!this.icon) {
|
|
@@ -232,16 +231,16 @@ const ZInputDeprecated = class {
|
|
|
232
231
|
/* END select */
|
|
233
232
|
render() {
|
|
234
233
|
switch (this.type) {
|
|
235
|
-
case InputType.TEXT
|
|
236
|
-
case InputType.PASSWORD
|
|
237
|
-
case InputType.NUMBER
|
|
238
|
-
case InputType.EMAIL
|
|
234
|
+
case "text" /* InputType.TEXT */:
|
|
235
|
+
case "password" /* InputType.PASSWORD */:
|
|
236
|
+
case "number" /* InputType.NUMBER */:
|
|
237
|
+
case "email" /* InputType.EMAIL */:
|
|
239
238
|
return this.renderInputText(this.type);
|
|
240
|
-
case InputType.TEXTAREA
|
|
239
|
+
case "textarea" /* InputType.TEXTAREA */:
|
|
241
240
|
return this.renderTextarea();
|
|
242
|
-
case InputType.CHECKBOX
|
|
241
|
+
case "checkbox" /* InputType.CHECKBOX */:
|
|
243
242
|
return this.renderCheckbox();
|
|
244
|
-
case InputType.RADIO
|
|
243
|
+
case "radio" /* InputType.RADIO */:
|
|
245
244
|
return this.renderRadio();
|
|
246
245
|
// @ts-ignore
|
|
247
246
|
case "select":
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, c as createEvent, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import { h as
|
|
3
|
-
import { r as randomId, b as boolean, a as getElementTree, h as handleKeyboardSubmit, e as getClickedElement } from './utils-39ca028c.js';
|
|
2
|
+
import { r as randomId, b as boolean, a as getElementTree, h as handleKeyboardSubmit, e as getClickedElement } from './utils-420e8552.js';
|
|
4
3
|
import './breakpoints-c386984e.js';
|
|
5
4
|
|
|
6
5
|
const stylesCss$1 = "label{display:block;margin:var(--space-unit) 0;color:var(--color-text02);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:1.33;text-align:left;text-transform:uppercase}label.disabled{color:var(--color-disabled02)}";
|
|
@@ -8,8 +7,9 @@ const stylesCss$1 = "label{display:block;margin:var(--space-unit) 0;color:var(--
|
|
|
8
7
|
const ZInputLabel = class {
|
|
9
8
|
constructor(hostRef) {
|
|
10
9
|
registerInstance(this, hostRef);
|
|
11
|
-
|
|
10
|
+
this.value = undefined;
|
|
12
11
|
this.disabled = false;
|
|
12
|
+
this.htmlfor = undefined;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
return (h("label", { htmlFor: this.htmlfor, class: { disabled: this.disabled } }, this.value));
|
|
@@ -23,23 +23,23 @@ const ZSelect = class {
|
|
|
23
23
|
constructor(hostRef) {
|
|
24
24
|
registerInstance(this, hostRef);
|
|
25
25
|
this.optionSelect = createEvent(this, "optionSelect", 7);
|
|
26
|
-
|
|
26
|
+
this.itemsList = [];
|
|
27
27
|
this.htmlid = `id-${randomId()}`;
|
|
28
|
-
|
|
28
|
+
this.items = undefined;
|
|
29
|
+
this.name = undefined;
|
|
30
|
+
this.label = undefined;
|
|
29
31
|
this.ariaLabel = "";
|
|
30
|
-
/** the input is disabled */
|
|
31
32
|
this.disabled = false;
|
|
32
|
-
/** the input is readonly */
|
|
33
33
|
this.readonly = false;
|
|
34
|
-
|
|
34
|
+
this.placeholder = undefined;
|
|
35
|
+
this.htmltitle = undefined;
|
|
36
|
+
this.status = undefined;
|
|
35
37
|
this.message = true;
|
|
36
|
-
/** the input has autocomplete option */
|
|
37
38
|
this.autocomplete = false;
|
|
38
|
-
/** no result text message */
|
|
39
39
|
this.noresultslabel = "Nessun risultato";
|
|
40
40
|
this.isOpen = false;
|
|
41
41
|
this.selectedItem = null;
|
|
42
|
-
this.
|
|
42
|
+
this.searchString = undefined;
|
|
43
43
|
this.toggleSelectUl = this.toggleSelectUl.bind(this);
|
|
44
44
|
this.selectItem = this.selectItem.bind(this);
|
|
45
45
|
this.handleSelectFocus = this.handleSelectFocus.bind(this);
|
|
@@ -143,7 +143,7 @@ const ZSelect = class {
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
arrowsSelectNav(e, key) {
|
|
146
|
-
const arrows = [KeyboardCode.ARROW_DOWN
|
|
146
|
+
const arrows = ["ArrowDown" /* KeyboardCode.ARROW_DOWN */, "ArrowUp" /* KeyboardCode.ARROW_UP */];
|
|
147
147
|
if (!arrows.includes(e.key)) {
|
|
148
148
|
return;
|
|
149
149
|
}
|
|
@@ -153,10 +153,10 @@ const ZSelect = class {
|
|
|
153
153
|
this.toggleSelectUl();
|
|
154
154
|
}
|
|
155
155
|
let index;
|
|
156
|
-
if (e.key === KeyboardCode.ARROW_DOWN) {
|
|
156
|
+
if (e.key === "ArrowDown" /* KeyboardCode.ARROW_DOWN */) {
|
|
157
157
|
index = key + 1 === this.itemsList.length ? 0 : key + 1;
|
|
158
158
|
}
|
|
159
|
-
else if (e.key === KeyboardCode.ARROW_UP) {
|
|
159
|
+
else if (e.key === "ArrowUp" /* KeyboardCode.ARROW_UP */) {
|
|
160
160
|
index = key <= 0 ? this.itemsList.length - 1 : key - 1;
|
|
161
161
|
}
|
|
162
162
|
this.focusSelectItem(index);
|
|
@@ -194,11 +194,11 @@ const ZSelect = class {
|
|
|
194
194
|
this.toggleSelectUl();
|
|
195
195
|
}
|
|
196
196
|
handleSelectFocus(e) {
|
|
197
|
-
if (e instanceof KeyboardEvent && e.key === KeyboardCode.ESC) {
|
|
197
|
+
if (e instanceof KeyboardEvent && e.key === "Escape" /* KeyboardCode.ESC */) {
|
|
198
198
|
e.stopPropagation();
|
|
199
199
|
return this.toggleSelectUl(true);
|
|
200
200
|
}
|
|
201
|
-
if (e instanceof KeyboardEvent && e.key !== KeyboardCode.TAB && e.key !== KeyboardCode.ENTER) {
|
|
201
|
+
if (e instanceof KeyboardEvent && e.key !== "Tab" /* KeyboardCode.TAB */ && e.key !== "Enter" /* KeyboardCode.ENTER */) {
|
|
202
202
|
return;
|
|
203
203
|
}
|
|
204
204
|
const tree = getElementTree(getClickedElement());
|
|
@@ -248,7 +248,7 @@ const ZSelect = class {
|
|
|
248
248
|
return this.renderNoSearchResults();
|
|
249
249
|
}
|
|
250
250
|
return this.itemsList.map((item, key) => {
|
|
251
|
-
return (h("z-list-element", { clickable: !item.disabled, disabled: item.disabled, dividerType: ListDividerType.ELEMENT
|
|
251
|
+
return (h("z-list-element", { clickable: !item.disabled, disabled: item.disabled, dividerType: "element" /* ListDividerType.ELEMENT */, role: "option", tabindex: item.disabled || !this.isOpen ? -1 : 0, "aria-selected": !!item.selected, id: `${this.htmlid}_${key}`, onClickItem: () => this.selectItem(item, true), onKeyDown: (e) => this.arrowsSelectNav(e, key) }, h("span", { class: { selected: !!item.selected }, innerHTML: item.name })));
|
|
252
252
|
});
|
|
253
253
|
}
|
|
254
254
|
renderNoSearchResults() {
|
|
@@ -1,26 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import { j as ListSize, n as ListDividerType, D as DividerSize } from './index-9d028352.js';
|
|
3
2
|
|
|
4
3
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.z-list-group-header-container{color:var(--gray700);font-size:var(--font-size-2);font-weight:var(--font-sb) !important;letter-spacing:0.16px;line-height:1.4}:host>.z-list-group-header-container.has-header{padding-top:var(--space-unit);padding-bottom:var(--space-unit)}:host>.z-list-group-header-container.has-header>z-divider{margin-top:var(--space-unit)}";
|
|
5
4
|
|
|
6
5
|
const ZListGroup = class {
|
|
7
6
|
constructor(hostRef) {
|
|
8
7
|
registerInstance(this, hostRef);
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
this.size = ListSize.MEDIUM;
|
|
13
|
-
/**
|
|
14
|
-
* [optional] Sets the position where to insert the divider.
|
|
15
|
-
*/
|
|
16
|
-
this.dividerType = ListDividerType.NONE;
|
|
17
|
-
/**
|
|
18
|
-
* [optional] Sets the divider size.
|
|
19
|
-
*/
|
|
20
|
-
this.dividerSize = DividerSize.SMALL;
|
|
21
|
-
/**
|
|
22
|
-
* [optional] Sets the divider color.
|
|
23
|
-
*/
|
|
8
|
+
this.size = "medium" /* ListSize.MEDIUM */;
|
|
9
|
+
this.dividerType = "none" /* ListDividerType.NONE */;
|
|
10
|
+
this.dividerSize = "small" /* DividerSize.SMALL */;
|
|
24
11
|
this.dividerColor = "gray200";
|
|
25
12
|
}
|
|
26
13
|
componentDidLoad() {
|
|
@@ -41,7 +28,7 @@ const ZListGroup = class {
|
|
|
41
28
|
return (h(Host, { role: "group" }, h("div", { class: {
|
|
42
29
|
"z-list-group-header-container": true,
|
|
43
30
|
"has-header": this.hasHeader,
|
|
44
|
-
} }, h("slot", { name: "header-title" }), this.dividerType === ListDividerType.HEADER && (h("z-divider", { color: this.dividerColor, size: this.dividerSize }))), h("slot", null)));
|
|
31
|
+
} }, h("slot", { name: "header-title" }), this.dividerType === "header" /* ListDividerType.HEADER */ && (h("z-divider", { color: this.dividerColor, size: this.dividerSize }))), h("slot", null)));
|
|
45
32
|
}
|
|
46
33
|
get host() { return getElement(this); }
|
|
47
34
|
};
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-a2ca4b97.js';
|
|
2
|
-
import { j as ListSize, l as ExpandableListButtonAlign, n as ListDividerType, D as DividerSize, E as ExpandableListStyle, h as KeyboardCode } from './index-9d028352.js';
|
|
3
2
|
|
|
4
3
|
const stylesCss$1 = ":host{display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}";
|
|
5
4
|
|
|
6
5
|
const ZList = class {
|
|
7
6
|
constructor(hostRef) {
|
|
8
7
|
registerInstance(this, hostRef);
|
|
9
|
-
|
|
10
|
-
* [optional] Sets size of inside elements.
|
|
11
|
-
*/
|
|
12
|
-
this.size = ListSize.MEDIUM;
|
|
8
|
+
this.size = "medium" /* ListSize.MEDIUM */;
|
|
13
9
|
}
|
|
14
10
|
setChildrenSizeType() {
|
|
15
11
|
const children = this.host.children;
|
|
@@ -37,51 +33,6 @@ const ZListElement = class {
|
|
|
37
33
|
registerInstance(this, hostRef);
|
|
38
34
|
this.accessibleFocus = createEvent(this, "accessibleFocus", 7);
|
|
39
35
|
this.clickItem = createEvent(this, "clickItem", 7);
|
|
40
|
-
/**
|
|
41
|
-
* [optional] Align expandable button left or right.
|
|
42
|
-
*/
|
|
43
|
-
this.alignButton = ExpandableListButtonAlign.LEFT;
|
|
44
|
-
/**
|
|
45
|
-
* [optional] Sets element clickable.
|
|
46
|
-
*/
|
|
47
|
-
this.clickable = false;
|
|
48
|
-
/**
|
|
49
|
-
* [optional] Sets the divider color.
|
|
50
|
-
*/
|
|
51
|
-
this.dividerColor = "color-surface03";
|
|
52
|
-
/**
|
|
53
|
-
* [optional] Sets the position where to insert the divider.
|
|
54
|
-
*/
|
|
55
|
-
this.dividerType = ListDividerType.NONE;
|
|
56
|
-
/**
|
|
57
|
-
* [optional] Sets the divider size.
|
|
58
|
-
*/
|
|
59
|
-
this.dividerSize = DividerSize.SMALL;
|
|
60
|
-
/**
|
|
61
|
-
* [optional] Sets element as expandable.
|
|
62
|
-
*/
|
|
63
|
-
this.expandable = false;
|
|
64
|
-
/**
|
|
65
|
-
* [optional] Sets expandable style to element.
|
|
66
|
-
*/
|
|
67
|
-
this.expandableStyle = ExpandableListStyle.ACCORDION;
|
|
68
|
-
/**
|
|
69
|
-
* [optional] Sets size of inside elements.
|
|
70
|
-
*/
|
|
71
|
-
this.size = ListSize.MEDIUM;
|
|
72
|
-
/**
|
|
73
|
-
* [optional] Sets text color of the element.
|
|
74
|
-
*/
|
|
75
|
-
this.color = "none";
|
|
76
|
-
/**
|
|
77
|
-
* [optional] Sets disabled style of the element.
|
|
78
|
-
*/
|
|
79
|
-
this.disabled = false;
|
|
80
|
-
/**
|
|
81
|
-
* [optional] If is used in ZContextualMenu component
|
|
82
|
-
*/
|
|
83
|
-
this.isContextualMenu = false;
|
|
84
|
-
this.showInnerContent = false;
|
|
85
36
|
this.openElementConfig = {
|
|
86
37
|
accordion: {
|
|
87
38
|
open: "minus-circled",
|
|
@@ -92,6 +43,19 @@ const ZListElement = class {
|
|
|
92
43
|
close: "chevron-down",
|
|
93
44
|
},
|
|
94
45
|
};
|
|
46
|
+
this.alignButton = "left" /* ExpandableListButtonAlign.LEFT */;
|
|
47
|
+
this.clickable = false;
|
|
48
|
+
this.dividerColor = "color-surface03";
|
|
49
|
+
this.dividerType = "none" /* ListDividerType.NONE */;
|
|
50
|
+
this.dividerSize = "small" /* DividerSize.SMALL */;
|
|
51
|
+
this.expandable = false;
|
|
52
|
+
this.expandableStyle = "accordion" /* ExpandableListStyle.ACCORDION */;
|
|
53
|
+
this.listElementId = undefined;
|
|
54
|
+
this.size = "medium" /* ListSize.MEDIUM */;
|
|
55
|
+
this.color = "none";
|
|
56
|
+
this.disabled = false;
|
|
57
|
+
this.isContextualMenu = false;
|
|
58
|
+
this.showInnerContent = false;
|
|
95
59
|
this.handleClick = this.handleClick.bind(this);
|
|
96
60
|
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
97
61
|
}
|
|
@@ -119,17 +83,17 @@ const ZListElement = class {
|
|
|
119
83
|
return "container";
|
|
120
84
|
}
|
|
121
85
|
handleKeyDown(event) {
|
|
122
|
-
const expandByKey = event.code === KeyboardCode.ENTER
|
|
86
|
+
const expandByKey = event.code === "Enter" /* KeyboardCode.ENTER */;
|
|
123
87
|
switch (event.code) {
|
|
124
|
-
case KeyboardCode.ARROW_DOWN
|
|
88
|
+
case "ArrowDown" /* KeyboardCode.ARROW_DOWN */:
|
|
125
89
|
event.preventDefault();
|
|
126
90
|
this.accessibleFocus.emit(this.listElementId + 1);
|
|
127
91
|
break;
|
|
128
|
-
case KeyboardCode.ARROW_UP
|
|
92
|
+
case "ArrowUp" /* KeyboardCode.ARROW_UP */:
|
|
129
93
|
event.preventDefault();
|
|
130
94
|
this.accessibleFocus.emit(this.listElementId - 1);
|
|
131
95
|
break;
|
|
132
|
-
case KeyboardCode.ENTER
|
|
96
|
+
case "Enter" /* KeyboardCode.ENTER */:
|
|
133
97
|
event.preventDefault();
|
|
134
98
|
this.clickItem.emit(this.listElementId);
|
|
135
99
|
break;
|
|
@@ -165,7 +129,7 @@ const ZListElement = class {
|
|
|
165
129
|
} }, h("slot", { name: "inner-content" })));
|
|
166
130
|
}
|
|
167
131
|
render() {
|
|
168
|
-
return (h(Host, { role: "listitem", "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: !this.isContextualMenu ? "0" : null }, h("div", { class: `${this.calculateClass()}`, style: { color: `var(--${this.color})` }, tabindex: this.isContextualMenu ? "0" : "-1", id: `z-list-element-id-${this.listElementId}` }, h("div", { class: "z-list-element-container" }, this.renderExpandableButton(), h("slot", null)), this.renderExpandedContent()), this.dividerType === ListDividerType.ELEMENT && (h("z-divider", { color: this.dividerColor, size: this.dividerSize }))));
|
|
132
|
+
return (h(Host, { role: "listitem", "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: !this.isContextualMenu ? "0" : null }, h("div", { class: `${this.calculateClass()}`, style: { color: `var(--${this.color})` }, tabindex: this.isContextualMenu ? "0" : "-1", id: `z-list-element-id-${this.listElementId}` }, h("div", { class: "z-list-element-container" }, this.renderExpandableButton(), h("slot", null)), this.renderExpandedContent()), this.dividerType === "element" /* ListDividerType.ELEMENT */ && (h("z-divider", { color: this.dividerColor, size: this.dividerSize }))));
|
|
169
133
|
}
|
|
170
134
|
get host() { return getElement(this); }
|
|
171
135
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-a2ca4b97.js';
|
|
2
|
-
import {
|
|
3
|
-
import { a as getElementTree, h as handleKeyboardSubmit, e as getClickedElement } from './utils-39ca028c.js';
|
|
2
|
+
import { a as getElementTree, h as handleKeyboardSubmit, e as getClickedElement } from './utils-420e8552.js';
|
|
4
3
|
import './breakpoints-c386984e.js';
|
|
5
4
|
|
|
6
5
|
const stylesCss$1 = ":host{width:inherit;height:32px;font-family:var(--dashboard-font);font-size:12px;font-weight:var(--font-sb);letter-spacing:0.17px}a,a:visited,a:active{color:inherit;text-decoration:none}:host>a{display:block;border:var(--border-size-small) solid transparent;background:var(--bg-grey-050);border-radius:var(--border-radius);color:var(--text-grey-800);outline:none}:host>a::-moz-focus-inner{border:0}:host>a:hover,:host>a.menu-opened:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}:host>a:focus{border:var(--border-size-small) solid var(--myz-blue);box-shadow:0 0 2px 2px var(--myz-blue-light);color:var(--myz-blue);fill:var(--myz-blue)}:host>a:active{border:var(--border-size-small) solid var(--myz-blue-light);box-shadow:0 2px 4px 0 rgb(0 0 0 / 40%);color:var(--myz-blue-light);fill:var(--myz-blue-light)}div.container{position:relative;display:flex;height:32px;align-items:center;justify-content:space-between;padding:0 var(--basex1)}div.container>span.user-wrapper{display:flex}div.container>span.user-wrapper>span.user{overflow:hidden;width:30px;padding:0 var(--basex1);cursor:pointer;text-overflow:ellipsis;white-space:nowrap}div.container>span.arrow{display:flex;align-items:center;justify-content:center}div.container>span.arrow>z-icon{transform:rotate(360deg);transition:all 200ms linear}ul{padding:0 calc(var(--space-unit) * 2);margin:0;list-style:none}li{display:flex;width:max-content;height:var(--basex3);align-items:center;padding:calc(var(--space-unit) / 4) 0}.menu-opened{position:inherit;width:auto !important;min-width:147px;padding-bottom:calc(var(--space-unit) * 2)}.menu-opened a,.menu-opened a:active,.menu-opened a:visited{color:var(--myz-blue);fill:var(--myz-blue)}.menu-opened a:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}.menu-opened>div.container{margin-bottom:var(--basex1)}.menu-opened>div.container>span.user-wrapper>span.user{width:auto}.menu-opened>div.container>span.arrow>z-icon{transform:rotate(180deg);transition:all 200ms linear}@media only screen and (min-width: 1152px){:host>a{width:147px;padding:0 calc(var(--space-unit) / 4)}:host>a.menu-opened{width:147px;padding-bottom:calc(var(--space-unit) * 2)}div.container>span.user-wrapper>span.user{width:80px}}";
|
|
@@ -8,6 +7,9 @@ const stylesCss$1 = ":host{width:inherit;height:32px;font-family:var(--dashboard
|
|
|
8
7
|
const ZMenuDropdown = class {
|
|
9
8
|
constructor(hostRef) {
|
|
10
9
|
registerInstance(this, hostRef);
|
|
10
|
+
this.nomeutente = undefined;
|
|
11
|
+
this.menucontent = undefined;
|
|
12
|
+
this.buttonid = undefined;
|
|
11
13
|
this.ismenuopen = false;
|
|
12
14
|
this.handleToggle = this.handleToggle.bind(this);
|
|
13
15
|
this.handleFocus = this.handleFocus.bind(this);
|
|
@@ -32,7 +34,7 @@ const ZMenuDropdown = class {
|
|
|
32
34
|
this.ismenuopen = !this.ismenuopen;
|
|
33
35
|
}
|
|
34
36
|
handleFocus(e) {
|
|
35
|
-
if (e instanceof KeyboardEvent && e.keyCode !== KeyboardKeyCode.TAB) {
|
|
37
|
+
if (e instanceof KeyboardEvent && e.keyCode !== 9 /* KeyboardKeyCode.TAB */) {
|
|
36
38
|
return;
|
|
37
39
|
}
|
|
38
40
|
const tree = getElementTree(getClickedElement());
|
|
@@ -57,6 +59,8 @@ const stylesCss = "ul{padding:0;margin:0}";
|
|
|
57
59
|
const ZMyzList = class {
|
|
58
60
|
constructor(hostRef) {
|
|
59
61
|
registerInstance(this, hostRef);
|
|
62
|
+
this.inputrawdata = undefined;
|
|
63
|
+
this.list = undefined;
|
|
60
64
|
}
|
|
61
65
|
componentWillLoad() {
|
|
62
66
|
if (this.inputrawdata) {
|
|
@@ -7,6 +7,9 @@ const ZMenuSection = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
this.opened = createEvent(this, "opened", 7);
|
|
9
9
|
this.closed = createEvent(this, "closed", 7);
|
|
10
|
+
this.active = undefined;
|
|
11
|
+
this.open = undefined;
|
|
12
|
+
this.hasContent = undefined;
|
|
10
13
|
}
|
|
11
14
|
toggle() {
|
|
12
15
|
if (!this.hasContent) {
|
package/dist/esm/z-menu.entry.js
CHANGED
|
@@ -7,18 +7,11 @@ const ZMenu = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
this.opened = createEvent(this, "opened", 7);
|
|
9
9
|
this.closed = createEvent(this, "closed", 7);
|
|
10
|
-
|
|
11
|
-
* Flag to set the display mode of the list.
|
|
12
|
-
* If true, the list will be absolutely positioned under the menu label,
|
|
13
|
-
* stacked beneath it otherwise.
|
|
14
|
-
* @default false
|
|
15
|
-
*/
|
|
10
|
+
this.active = undefined;
|
|
16
11
|
this.floating = false;
|
|
17
|
-
/**
|
|
18
|
-
* The opening state of the menu.
|
|
19
|
-
* @default false
|
|
20
|
-
*/
|
|
21
12
|
this.open = false;
|
|
13
|
+
this.hasHeader = undefined;
|
|
14
|
+
this.hasContent = undefined;
|
|
22
15
|
this.toggle = this.toggle.bind(this);
|
|
23
16
|
this.checkContent = this.checkContent.bind(this);
|
|
24
17
|
this.onItemsChange = this.onItemsChange.bind(this);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-a2ca4b97.js';
|
|
2
|
-
import { r as PocketStatus } from './index-9d028352.js';
|
|
3
2
|
|
|
4
3
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-pocket{width:100%}:host>z-pocket.closed{width:158px}:host>z-pocket>z-pocket-header{color:var(--color-primary01);fill:var(--color-primary01);font-size:12px;font-weight:var(--font-sb)}:host>z-pocket>z-pocket-header span.badge{display:inline-block;padding:0 calc(var(--space-unit) * 0.5);margin-left:var(--space-unit);background:var(--color-secondary02);border-radius:50%;color:var(--color-surface01)}:host>z-pocket>z-pocket-header>z-icon{margin-left:var(--space-unit)}:host>z-pocket>z-pocket-body>div.body{overflow:hidden;padding:var(--space-unit);margin:0 var(--space-unit)}:host>z-pocket.preview>z-pocket-body{position:relative}:host>z-pocket.preview>z-pocket-body>div.gradient{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(rgb(255 0 0 / 0%), white)}:host>z-pocket.open>z-pocket-body>div.body{overflow:auto;max-height:calc(100vh - 166px);scrollbar-width:none}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>z-pocket{width:768px;margin:0 calc((100% - 768px) / 2)}:host>z-pocket.closed{margin:0 calc((100% - 158px) / 2)}:host>z-pocket.open>z-pocket-body>div.body{max-height:326px}}@media only screen and (min-width: 1152px){:host>z-pocket.open>z-pocket-body>div.body{scrollbar-color:var(--color-primary01) var(--color-surface03);scrollbar-width:thin}:host ::-webkit-scrollbar{width:10px;background:linear-gradient(\n 90deg,\n var(--color-surface01) 2px,\n var(--color-surface03) 4px,\n var(--color-surface01) 8px\n );border-radius:var(--radius-base)}:host ::-webkit-scrollbar-thumb{width:var(--space-unit);background-color:var(--color-primary01);border-radius:var(--radius-base)}}";
|
|
5
4
|
|
|
6
5
|
const ZMessagesPocket = class {
|
|
7
6
|
constructor(hostRef) {
|
|
8
7
|
registerInstance(this, hostRef);
|
|
9
|
-
|
|
10
|
-
this.
|
|
8
|
+
this.pocketid = undefined;
|
|
9
|
+
this.messages = undefined;
|
|
10
|
+
this.status = "preview" /* PocketStatus.PREVIEW */;
|
|
11
11
|
}
|
|
12
12
|
handlePocketToggle(e) {
|
|
13
13
|
if (e.detail.id === this.pocketid) {
|
|
@@ -18,12 +18,12 @@ const ZMessagesPocket = class {
|
|
|
18
18
|
let message;
|
|
19
19
|
let icon;
|
|
20
20
|
switch (this.status) {
|
|
21
|
-
case PocketStatus.PREVIEW
|
|
22
|
-
case PocketStatus.CLOSED
|
|
21
|
+
case "preview" /* PocketStatus.PREVIEW */:
|
|
22
|
+
case "closed" /* PocketStatus.CLOSED */:
|
|
23
23
|
message = (h("span", null, "Messaggi ", h("span", { class: "badge" }, this.messages)));
|
|
24
24
|
icon = "chevron-up";
|
|
25
25
|
break;
|
|
26
|
-
case PocketStatus.OPEN
|
|
26
|
+
case "open" /* PocketStatus.OPEN */:
|
|
27
27
|
message = h("span", null, "Riduci");
|
|
28
28
|
icon = "chevron-down";
|
|
29
29
|
break;
|