@zanichelli/albe-web-components 6.1.0-a1 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index-199cd650.js +346 -0
- package/dist/cjs/index.cjs.js +302 -346
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-7c92be74.js → utils-ce225fb3.js} +5 -4
- package/dist/cjs/{utils-f681590c.js → utils-ebe45309.js} +11 -10
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +0 -1
- package/dist/cjs/z-app-header.cjs.entry.js +29 -7
- package/dist/cjs/z-app-switcher_9.cjs.entry.js +70 -84
- package/dist/cjs/z-aria-alert.cjs.entry.js +3 -1
- package/dist/cjs/z-avatar.cjs.entry.js +8 -6
- package/dist/cjs/z-body_2.cjs.entry.js +2 -4
- package/dist/cjs/z-button-deprecated.cjs.entry.js +12 -6
- package/dist/cjs/z-button-filter.cjs.entry.js +3 -2
- package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
- package/dist/cjs/z-button.cjs.entry.js +9 -8
- package/dist/cjs/z-card.cjs.entry.js +6 -6
- package/dist/cjs/z-carousel.cjs.entry.js +10 -11
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +0 -2
- package/dist/cjs/z-chip.cjs.entry.js +6 -5
- package/dist/cjs/z-combobox.cjs.entry.js +17 -15
- package/dist/cjs/z-contextual-menu.cjs.entry.js +8 -2
- package/dist/cjs/z-cookiebar.cjs.entry.js +2 -4
- package/dist/cjs/z-cover-hero.cjs.entry.js +14 -6
- package/dist/cjs/z-date-picker.cjs.entry.js +17 -16
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -2
- package/dist/cjs/z-file-upload.cjs.entry.js +16 -17
- package/dist/cjs/z-file.cjs.entry.js +2 -3
- package/dist/cjs/z-footer-link_3.cjs.entry.js +0 -5
- package/dist/cjs/z-footer.cjs.entry.js +2 -7
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +6 -2
- package/dist/cjs/z-input-deprecated.cjs.entry.js +29 -28
- package/dist/cjs/z-input-label_2.cjs.entry.js +17 -17
- package/dist/cjs/z-list-group.cjs.entry.js +17 -4
- package/dist/cjs/z-list_2.cjs.entry.js +55 -19
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +3 -7
- package/dist/cjs/z-menu-section.cjs.entry.js +0 -3
- package/dist/cjs/z-menu.cjs.entry.js +10 -3
- package/dist/cjs/z-messages-pocket.cjs.entry.js +6 -6
- package/dist/cjs/z-modal-login.cjs.entry.js +5 -7
- package/dist/cjs/z-modal.cjs.entry.js +1 -3
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +3 -6
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +6 -3
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +6 -8
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -3
- package/dist/cjs/z-myz-card-list.cjs.entry.js +0 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +9 -15
- package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -6
- package/dist/cjs/z-myz-topbar.cjs.entry.js +4 -14
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +16 -8
- package/dist/cjs/z-navigation-tab.cjs.entry.js +17 -7
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +14 -10
- package/dist/cjs/z-notification.cjs.entry.js +6 -3
- package/dist/cjs/z-offcanvas.cjs.entry.js +12 -4
- package/dist/cjs/z-otp.cjs.entry.js +3 -3
- package/dist/cjs/z-pagination-bar.cjs.entry.js +6 -5
- package/dist/cjs/z-pagination-page.cjs.entry.js +4 -2
- package/dist/cjs/z-pagination.cjs.entry.js +15 -7
- package/dist/cjs/z-panel-elem.cjs.entry.js +2 -7
- package/dist/cjs/z-pocket_3.cjs.entry.js +15 -15
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +15 -8
- package/dist/cjs/z-popover.cjs.entry.js +36 -31
- package/dist/cjs/z-section-title.cjs.entry.js +10 -2
- package/dist/cjs/z-skip-to-content.cjs.entry.js +4 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +4 -6
- package/dist/cjs/z-status-tag.cjs.entry.js +3 -5
- package/dist/cjs/z-stepper-item.cjs.entry.js +0 -4
- package/dist/cjs/z-table-cell.cjs.entry.js +4 -3
- package/dist/cjs/z-table-empty-box.cjs.entry.js +2 -0
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +0 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +0 -1
- package/dist/cjs/z-table-header.cjs.entry.js +16 -15
- package/dist/cjs/z-table-row.cjs.entry.js +6 -4
- package/dist/cjs/z-table.cjs.entry.js +12 -9
- package/dist/cjs/z-tag.cjs.entry.js +0 -2
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +4 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +14 -17
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +7 -2
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +27 -32
- package/dist/cjs/z-tooltip.cjs.entry.js +7 -2
- package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -5
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/buttons/z-button/index.js +9 -8
- package/dist/collection/components/buttons/z-button-sort/index.js +4 -4
- package/dist/collection/components/buttons/z-chip/index.js +5 -4
- package/dist/collection/components/buttons/z-toggle-button/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-switch/index.js +6 -1
- package/dist/collection/components/date-picker/utils.js +11 -10
- package/dist/collection/components/date-picker/z-date-picker/index.js +16 -15
- package/dist/collection/components/date-picker/z-range-picker/index.js +12 -15
- package/dist/collection/components/file-upload/z-file/index.js +2 -3
- package/dist/collection/components/file-upload/z-file-upload/index.js +16 -17
- package/dist/collection/components/footer/z-footer/index.js +2 -7
- package/dist/collection/components/footer/z-footer-link/index.js +0 -3
- package/dist/collection/components/footer/z-footer-section/index.js +0 -1
- package/dist/collection/components/footer/z-footer-social/index.js +0 -5
- package/dist/collection/components/icons/z-icon/index.js +0 -7
- package/dist/collection/components/index.js +8 -0
- package/dist/collection/components/indicators/z-stepper-item/index.js +0 -6
- package/dist/collection/components/inputs/z-combobox/index.js +16 -14
- package/dist/collection/components/inputs/z-input/index.js +37 -40
- package/dist/collection/components/inputs/z-input-message/index.js +0 -2
- package/dist/collection/components/inputs/z-select/index.js +15 -14
- package/dist/collection/components/list/z-list/index.js +5 -1
- package/dist/collection/components/list/z-list-element/index.js +51 -18
- package/dist/collection/components/list/z-list-group/index.js +17 -4
- package/dist/collection/components/list/z-toast-notification-list/index.js +4 -1
- package/dist/collection/components/logo/z-logo/index.js +0 -8
- package/dist/collection/components/modal/z-modal/index.js +1 -3
- package/dist/collection/components/modal/z-modal-login/index.js +5 -7
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +17 -7
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +16 -8
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +14 -10
- package/dist/collection/components/navigation/z-app-header/index.js +29 -7
- package/dist/collection/components/navigation/z-app-switcher/index.js +3 -1
- package/dist/collection/components/navigation/z-app-topbar/index.js +5 -8
- package/dist/collection/components/navigation/z-link/index.js +9 -3
- package/dist/collection/components/navigation/z-menu/index.js +10 -3
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +2 -4
- package/dist/collection/components/navigation/z-menu-section/index.js +0 -5
- package/dist/collection/components/navigation/z-user-dropdown/index.js +1 -5
- package/dist/collection/components/notification/z-cookiebar/index.js +2 -6
- package/dist/collection/components/notification/z-info-box/index.js +1 -1
- package/dist/collection/components/notification/z-notification/index.js +6 -3
- package/dist/collection/components/notification/z-toast-notification/index.js +14 -17
- package/dist/collection/components/notification/z-tooltip/index.js +7 -2
- package/dist/collection/components/panel/z-panel-elem/index.js +2 -7
- package/dist/collection/components/typography/z-body/index.js +1 -2
- package/dist/collection/components/typography/z-heading/index.js +1 -2
- package/dist/collection/components/typography/z-typography/index.js +1 -2
- package/dist/collection/components/z-aria-alert/index.js +3 -1
- package/dist/collection/components/z-avatar/index.js +8 -6
- package/dist/collection/components/z-card/index.js +6 -6
- package/dist/collection/components/z-carousel/index.js +10 -11
- package/dist/collection/components/z-contextual-menu/index.js +8 -2
- package/dist/collection/components/z-cover-hero/index.js +14 -6
- package/dist/collection/components/z-divider/index.js +6 -2
- package/dist/collection/components/z-info-reveal/index.js +6 -2
- package/dist/collection/components/z-offcanvas/index.js +12 -4
- package/dist/collection/components/z-pagination/index.js +15 -7
- package/dist/collection/components/z-popover/index.js +35 -30
- package/dist/collection/components/z-section-title/index.js +10 -2
- package/dist/collection/components/z-skip-to-content/index.js +3 -2
- package/dist/collection/components/z-table/z-table/index.js +12 -9
- package/dist/collection/components/z-table/z-table-cell/index.js +4 -3
- package/dist/collection/components/z-table/z-table-empty-box/index.js +2 -0
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +0 -3
- package/dist/collection/components/z-table/z-table-header/index.js +15 -14
- package/dist/collection/components/z-table/z-table-header-row/index.js +0 -3
- package/dist/collection/components/z-table/z-table-row/index.js +6 -4
- package/dist/collection/components/z-tag/index.js +0 -4
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +4 -4
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +4 -2
- package/dist/collection/deprecated/z-button-deprecated/index.js +12 -6
- package/dist/collection/deprecated/z-button-filter/index.js +3 -2
- package/dist/collection/deprecated/z-chip-deprecated/index.js +0 -4
- package/dist/collection/deprecated/z-input-deprecated/index.js +28 -27
- package/dist/collection/deprecated/z-input-label/index.js +1 -2
- package/dist/collection/deprecated/z-popover-deprecated/index.js +14 -7
- package/dist/collection/deprecated/z-status-tag/index.js +3 -5
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +27 -32
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +6 -5
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +3 -8
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +0 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +6 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +6 -8
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +4 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +2 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +3 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +0 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +0 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +2 -5
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +6 -6
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +12 -11
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +3 -2
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +0 -1
- package/dist/collection/snowflakes/myz/topbar/index.js +4 -14
- package/dist/collection/snowflakes/myz/z-alert/index.js +0 -3
- package/dist/collection/snowflakes/myz/z-otp/index.js +3 -3
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +3 -5
- package/dist/collection/utils/utils.js +5 -4
- package/dist/esm/index-9d028352.js +346 -0
- package/dist/esm/index.js +3 -347
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{utils-420e8552.js → utils-39ca028c.js} +5 -4
- package/dist/esm/{utils-ff91a03a.js → utils-fbe04cd6.js} +11 -10
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/z-alert.entry.js +0 -1
- package/dist/esm/z-app-header.entry.js +29 -7
- package/dist/esm/z-app-switcher_9.entry.js +70 -84
- package/dist/esm/z-aria-alert.entry.js +3 -1
- package/dist/esm/z-avatar.entry.js +8 -6
- package/dist/esm/z-body_2.entry.js +2 -4
- package/dist/esm/z-button-deprecated.entry.js +12 -6
- package/dist/esm/z-button-filter.entry.js +3 -2
- package/dist/esm/z-button-sort.entry.js +4 -4
- package/dist/esm/z-button.entry.js +9 -8
- package/dist/esm/z-card.entry.js +6 -6
- package/dist/esm/z-carousel.entry.js +10 -11
- package/dist/esm/z-chip-deprecated.entry.js +0 -2
- package/dist/esm/z-chip.entry.js +6 -5
- package/dist/esm/z-combobox.entry.js +17 -15
- package/dist/esm/z-contextual-menu.entry.js +8 -2
- package/dist/esm/z-cookiebar.entry.js +2 -4
- package/dist/esm/z-cover-hero.entry.js +14 -6
- package/dist/esm/z-date-picker.entry.js +17 -16
- package/dist/esm/z-dragdrop-area_2.entry.js +1 -2
- package/dist/esm/z-file-upload.entry.js +16 -17
- package/dist/esm/z-file.entry.js +2 -3
- package/dist/esm/z-footer-link_3.entry.js +0 -5
- package/dist/esm/z-footer.entry.js +2 -7
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +6 -2
- package/dist/esm/z-input-deprecated.entry.js +29 -28
- package/dist/esm/z-input-label_2.entry.js +17 -17
- package/dist/esm/z-list-group.entry.js +17 -4
- package/dist/esm/z-list_2.entry.js +55 -19
- package/dist/esm/z-menu-dropdown_2.entry.js +3 -7
- package/dist/esm/z-menu-section.entry.js +0 -3
- package/dist/esm/z-menu.entry.js +10 -3
- package/dist/esm/z-messages-pocket.entry.js +6 -6
- package/dist/esm/z-modal-login.entry.js +5 -7
- package/dist/esm/z-modal.entry.js +1 -3
- package/dist/esm/z-myz-card-alert.entry.js +3 -6
- package/dist/esm/z-myz-card-dictionary.entry.js +6 -3
- package/dist/esm/z-myz-card-footer.entry.js +6 -8
- package/dist/esm/z-myz-card-icon.entry.js +2 -1
- package/dist/esm/z-myz-card-info.entry.js +4 -3
- package/dist/esm/z-myz-card-list.entry.js +0 -1
- package/dist/esm/z-myz-card_4.entry.js +9 -15
- package/dist/esm/z-myz-list-item.entry.js +4 -6
- package/dist/esm/z-myz-topbar.entry.js +4 -14
- package/dist/esm/z-navigation-tab-link.entry.js +16 -8
- package/dist/esm/z-navigation-tab.entry.js +17 -7
- package/dist/esm/z-navigation-tabs.entry.js +14 -10
- package/dist/esm/z-notification.entry.js +6 -3
- package/dist/esm/z-offcanvas.entry.js +12 -4
- package/dist/esm/z-otp.entry.js +3 -3
- package/dist/esm/z-pagination-bar.entry.js +6 -5
- package/dist/esm/z-pagination-page.entry.js +4 -2
- package/dist/esm/z-pagination.entry.js +15 -7
- package/dist/esm/z-panel-elem.entry.js +2 -7
- package/dist/esm/z-pocket_3.entry.js +15 -15
- package/dist/esm/z-popover-deprecated.entry.js +15 -8
- package/dist/esm/z-popover.entry.js +36 -31
- package/dist/esm/z-section-title.entry.js +10 -2
- package/dist/esm/z-skip-to-content.entry.js +4 -3
- package/dist/esm/z-slideshow.entry.js +4 -6
- package/dist/esm/z-status-tag.entry.js +3 -5
- package/dist/esm/z-stepper-item.entry.js +0 -4
- package/dist/esm/z-table-cell.entry.js +4 -3
- package/dist/esm/z-table-empty-box.entry.js +2 -0
- package/dist/esm/z-table-expanded-row.entry.js +0 -1
- package/dist/esm/z-table-header-row.entry.js +0 -1
- package/dist/esm/z-table-header.entry.js +16 -15
- package/dist/esm/z-table-row.entry.js +6 -4
- package/dist/esm/z-table.entry.js +12 -9
- package/dist/esm/z-tag.entry.js +0 -2
- package/dist/esm/z-toast-notification-list.entry.js +4 -1
- package/dist/esm/z-toast-notification.entry.js +14 -17
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +7 -2
- package/dist/esm/z-tooltip-deprecated.entry.js +27 -32
- package/dist/esm/z-tooltip.entry.js +7 -2
- package/dist/esm/z-user-dropdown.entry.js +1 -5
- 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/components/index.d.ts +0 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -5
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-05ced71c.entry.js +1 -0
- package/dist/web-components-library/p-074ea569.entry.js +1 -0
- package/dist/web-components-library/p-10b46635.entry.js +1 -0
- package/dist/web-components-library/p-1106ead2.entry.js +1 -0
- package/dist/web-components-library/p-15b8a920.entry.js +1 -0
- package/dist/web-components-library/p-15fe7b71.entry.js +1 -0
- package/dist/web-components-library/p-1bd6592f.entry.js +1 -0
- package/dist/web-components-library/p-1e6a2a56.entry.js +1 -0
- package/dist/web-components-library/p-23781e2b.entry.js +1 -0
- package/dist/web-components-library/p-28ff9383.entry.js +1 -0
- package/dist/web-components-library/p-2efedcf4.entry.js +1 -0
- package/dist/web-components-library/p-344e7ae7.entry.js +1 -0
- package/dist/web-components-library/p-35ceae27.entry.js +1 -0
- package/dist/web-components-library/p-3913bff2.entry.js +1 -0
- package/dist/web-components-library/p-3a431f04.entry.js +1 -0
- package/dist/web-components-library/p-3c2d438b.entry.js +1 -0
- package/dist/web-components-library/p-3f55dce6.entry.js +1 -0
- package/dist/web-components-library/p-442b8b35.entry.js +1 -0
- package/dist/web-components-library/p-4cd6c6f4.entry.js +1 -0
- package/dist/web-components-library/p-4d093e07.entry.js +1 -0
- package/dist/web-components-library/{p-48624926.entry.js → p-4d42f224.entry.js} +1 -1
- package/dist/web-components-library/p-4e733fbd.entry.js +1 -0
- package/dist/web-components-library/p-4ec9ab53.entry.js +1 -0
- package/dist/web-components-library/p-53a03f2a.entry.js +1 -0
- package/dist/web-components-library/p-562ad563.entry.js +1 -0
- package/dist/web-components-library/p-58650e22.entry.js +1 -0
- package/dist/web-components-library/p-5bec950e.entry.js +1 -0
- package/dist/web-components-library/p-5c9556e3.entry.js +1 -0
- package/dist/web-components-library/p-5cf4a412.entry.js +1 -0
- package/dist/web-components-library/p-5d4a6659.entry.js +1 -0
- package/dist/web-components-library/p-5f3baf14.entry.js +1 -0
- package/dist/web-components-library/p-61424b8a.entry.js +1 -0
- package/dist/web-components-library/p-681e1f5a.entry.js +1 -0
- package/dist/web-components-library/p-686545fa.entry.js +1 -0
- package/dist/web-components-library/p-6f64e8a8.entry.js +1 -0
- package/dist/web-components-library/p-70d16b2c.entry.js +1 -0
- package/dist/web-components-library/p-7688f8ca.entry.js +1 -0
- package/dist/web-components-library/p-77e4774d.entry.js +1 -0
- package/dist/web-components-library/p-79b8d87e.entry.js +1 -0
- package/dist/web-components-library/p-7d696941.entry.js +1 -0
- package/dist/web-components-library/p-7d792297.entry.js +1 -0
- package/dist/web-components-library/p-810bd730.entry.js +1 -0
- package/dist/web-components-library/p-87fdd14f.js +1 -0
- package/dist/web-components-library/p-982254e5.entry.js +1 -0
- package/dist/web-components-library/p-9d03a7d6.entry.js +1 -0
- package/dist/web-components-library/p-9ecc5eba.entry.js +1 -0
- package/dist/web-components-library/p-9f80c0b8.js +1 -0
- package/dist/web-components-library/p-9fe267fc.entry.js +1 -0
- package/dist/web-components-library/p-a6d6178a.entry.js +1 -0
- package/dist/web-components-library/p-a79cc147.entry.js +1 -0
- package/dist/web-components-library/p-a79d1412.entry.js +1 -0
- package/dist/web-components-library/p-aded8a43.entry.js +1 -0
- package/dist/web-components-library/{p-4c7f4a2c.entry.js → p-b17981a4.entry.js} +1 -1
- package/dist/web-components-library/p-b4fbb6e4.entry.js +1 -0
- package/dist/web-components-library/p-b5086d6d.entry.js +1 -0
- package/dist/web-components-library/p-bb0fe7bc.entry.js +1 -0
- package/dist/web-components-library/p-bb15a265.js +1 -0
- package/dist/web-components-library/p-bb95b82f.entry.js +1 -0
- package/dist/web-components-library/p-c2d1785b.entry.js +1 -0
- package/dist/web-components-library/p-c6a662e6.entry.js +1 -0
- package/dist/web-components-library/p-c6aad085.entry.js +1 -0
- package/dist/web-components-library/p-cb5d8a84.entry.js +1 -0
- package/dist/web-components-library/p-cbb3ea13.entry.js +1 -0
- package/dist/web-components-library/p-ccf67abf.entry.js +1 -0
- package/dist/web-components-library/p-ce83ce18.entry.js +1 -0
- package/dist/web-components-library/p-d199b781.entry.js +1 -0
- package/dist/web-components-library/p-d3645ced.entry.js +1 -0
- package/dist/web-components-library/p-d3733579.entry.js +1 -0
- package/dist/web-components-library/p-d531d1d2.entry.js +1 -0
- package/dist/web-components-library/p-e68c18e5.entry.js +1 -0
- package/dist/web-components-library/p-ecc4afa1.entry.js +1 -0
- package/dist/web-components-library/p-ede9fbf5.entry.js +1 -0
- package/dist/web-components-library/p-edf0195b.entry.js +1 -0
- package/dist/web-components-library/{p-2c18a622.entry.js → p-f158d205.entry.js} +1 -1
- package/dist/web-components-library/p-f2f9a1bc.entry.js +1 -0
- package/dist/web-components-library/p-f2fd1e20.entry.js +1 -0
- package/dist/web-components-library/p-f7c1eb3f.entry.js +16 -0
- package/dist/web-components-library/p-f95cc914.entry.js +1 -0
- package/dist/web-components-library/p-fb7d33f2.entry.js +1 -0
- package/dist/web-components-library/p-ff18690f.entry.js +1 -0
- package/dist/web-components-library/web-components-library.css +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +5 -5
- package/www/build/index.esm.js +1 -1
- package/www/build/p-05ced71c.entry.js +1 -0
- package/www/build/p-074ea569.entry.js +1 -0
- package/www/build/p-10b46635.entry.js +1 -0
- package/www/build/p-1106ead2.entry.js +1 -0
- package/www/build/p-15b8a920.entry.js +1 -0
- package/www/build/p-15fe7b71.entry.js +1 -0
- package/www/build/p-1bd6592f.entry.js +1 -0
- package/www/build/p-1e6a2a56.entry.js +1 -0
- package/www/build/p-23781e2b.entry.js +1 -0
- package/www/build/p-28ff9383.entry.js +1 -0
- package/www/build/p-2efedcf4.entry.js +1 -0
- package/www/build/p-344e7ae7.entry.js +1 -0
- package/www/build/p-35ceae27.entry.js +1 -0
- package/www/build/p-36654297.js +1 -0
- package/www/build/p-3913bff2.entry.js +1 -0
- package/www/build/p-3a431f04.entry.js +1 -0
- package/www/build/p-3c2d438b.entry.js +1 -0
- package/www/build/p-3f55dce6.entry.js +1 -0
- package/www/build/p-442b8b35.entry.js +1 -0
- package/www/build/p-4cd6c6f4.entry.js +1 -0
- package/www/build/p-4d093e07.entry.js +1 -0
- package/www/build/{p-48624926.entry.js → p-4d42f224.entry.js} +1 -1
- package/www/build/p-4e733fbd.entry.js +1 -0
- package/www/build/p-4ec9ab53.entry.js +1 -0
- package/www/build/p-53a03f2a.entry.js +1 -0
- package/www/build/p-562ad563.entry.js +1 -0
- package/www/build/p-58650e22.entry.js +1 -0
- package/www/build/p-5bec950e.entry.js +1 -0
- package/www/build/p-5c9556e3.entry.js +1 -0
- package/www/build/p-5cf4a412.entry.js +1 -0
- package/www/build/p-5d4a6659.entry.js +1 -0
- package/www/build/p-5f3baf14.entry.js +1 -0
- package/www/build/p-61424b8a.entry.js +1 -0
- package/www/build/p-681e1f5a.entry.js +1 -0
- package/www/build/p-686545fa.entry.js +1 -0
- package/www/build/p-6f64e8a8.entry.js +1 -0
- package/www/build/p-70d16b2c.entry.js +1 -0
- package/www/build/p-7688f8ca.entry.js +1 -0
- package/www/build/p-77e4774d.entry.js +1 -0
- package/www/build/p-79b8d87e.entry.js +1 -0
- package/www/build/p-7d696941.entry.js +1 -0
- package/www/build/p-7d792297.entry.js +1 -0
- package/www/build/p-810bd730.entry.js +1 -0
- package/www/build/p-87fdd14f.js +1 -0
- package/www/build/p-982254e5.entry.js +1 -0
- package/www/build/p-9d03a7d6.entry.js +1 -0
- package/www/build/p-9ecc5eba.entry.js +1 -0
- package/www/build/p-9f80c0b8.js +1 -0
- package/www/build/p-9fe267fc.entry.js +1 -0
- package/www/build/p-a6d6178a.entry.js +1 -0
- package/www/build/p-a79cc147.entry.js +1 -0
- package/www/build/p-a79d1412.entry.js +1 -0
- package/www/build/p-aded8a43.entry.js +1 -0
- package/www/build/{p-4c7f4a2c.entry.js → p-b17981a4.entry.js} +1 -1
- package/www/build/p-b4fbb6e4.entry.js +1 -0
- package/www/build/p-b5086d6d.entry.js +1 -0
- package/www/build/p-bb0fe7bc.entry.js +1 -0
- package/www/build/p-bb15a265.js +1 -0
- package/www/build/p-bb95b82f.entry.js +1 -0
- package/www/build/p-c2d1785b.entry.js +1 -0
- package/www/build/p-c6a662e6.entry.js +1 -0
- package/www/build/p-c6aad085.entry.js +1 -0
- package/www/build/p-cb5d8a84.entry.js +1 -0
- package/www/build/p-cbb3ea13.entry.js +1 -0
- package/www/build/p-ccf67abf.entry.js +1 -0
- package/www/build/p-ce83ce18.entry.js +1 -0
- package/www/build/p-d199b781.entry.js +1 -0
- package/www/build/p-d3645ced.entry.js +1 -0
- package/www/build/p-d3733579.entry.js +1 -0
- package/www/build/p-d531d1d2.entry.js +1 -0
- package/www/build/p-d70c7670.css +1 -0
- package/www/build/p-e68c18e5.entry.js +1 -0
- package/www/build/p-ecc4afa1.entry.js +1 -0
- package/www/build/p-ede9fbf5.entry.js +1 -0
- package/www/build/p-edf0195b.entry.js +1 -0
- package/www/build/{p-2c18a622.entry.js → p-f158d205.entry.js} +1 -1
- package/www/build/p-f2f9a1bc.entry.js +1 -0
- package/www/build/p-f2fd1e20.entry.js +1 -0
- package/www/build/p-f7c1eb3f.entry.js +16 -0
- package/www/build/p-f95cc914.entry.js +1 -0
- package/www/build/p-fb7d33f2.entry.js +1 -0
- package/www/build/p-ff18690f.entry.js +1 -0
- package/www/build/web-components-library.css +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/CHANGELOG.md +0 -2016
- package/dist/web-components-library/p-016b2800.entry.js +0 -1
- package/dist/web-components-library/p-04908405.entry.js +0 -1
- package/dist/web-components-library/p-06430481.entry.js +0 -1
- package/dist/web-components-library/p-067bd5da.entry.js +0 -1
- package/dist/web-components-library/p-082d65b1.entry.js +0 -1
- package/dist/web-components-library/p-0cff6cce.entry.js +0 -1
- package/dist/web-components-library/p-0e743002.entry.js +0 -1
- package/dist/web-components-library/p-10b84e8c.entry.js +0 -1
- package/dist/web-components-library/p-12211a48.entry.js +0 -1
- package/dist/web-components-library/p-14233b99.entry.js +0 -1
- package/dist/web-components-library/p-176256ee.js +0 -1
- package/dist/web-components-library/p-1ab0de76.entry.js +0 -1
- package/dist/web-components-library/p-1d2d5232.entry.js +0 -1
- package/dist/web-components-library/p-20109d3a.entry.js +0 -1
- package/dist/web-components-library/p-2cf26585.entry.js +0 -1
- package/dist/web-components-library/p-2d506c48.entry.js +0 -1
- package/dist/web-components-library/p-2d5d8e6f.entry.js +0 -1
- package/dist/web-components-library/p-2e7a31ac.entry.js +0 -1
- package/dist/web-components-library/p-2f6f3729.entry.js +0 -1
- package/dist/web-components-library/p-30cbafaf.entry.js +0 -1
- package/dist/web-components-library/p-341ddb5d.entry.js +0 -1
- package/dist/web-components-library/p-34a96008.entry.js +0 -1
- package/dist/web-components-library/p-35b30271.entry.js +0 -1
- package/dist/web-components-library/p-36f4ce3f.entry.js +0 -1
- package/dist/web-components-library/p-3c28f72e.entry.js +0 -1
- package/dist/web-components-library/p-3c7cf41f.entry.js +0 -1
- package/dist/web-components-library/p-3e414cf1.entry.js +0 -1
- package/dist/web-components-library/p-3ecfb7c1.entry.js +0 -1
- package/dist/web-components-library/p-40f96085.entry.js +0 -1
- package/dist/web-components-library/p-53d22727.entry.js +0 -1
- package/dist/web-components-library/p-563529f8.entry.js +0 -1
- package/dist/web-components-library/p-57faab40.entry.js +0 -1
- package/dist/web-components-library/p-5b2d8a91.entry.js +0 -1
- package/dist/web-components-library/p-6037dce0.entry.js +0 -1
- package/dist/web-components-library/p-670232c4.entry.js +0 -1
- package/dist/web-components-library/p-67f346d9.entry.js +0 -1
- package/dist/web-components-library/p-691678c8.entry.js +0 -1
- package/dist/web-components-library/p-69b27fe9.entry.js +0 -16
- package/dist/web-components-library/p-6fe1bffb.entry.js +0 -1
- package/dist/web-components-library/p-728e7dcd.entry.js +0 -1
- package/dist/web-components-library/p-74e31a32.entry.js +0 -1
- package/dist/web-components-library/p-759fb7c4.entry.js +0 -1
- package/dist/web-components-library/p-79223014.entry.js +0 -1
- package/dist/web-components-library/p-7b22a446.entry.js +0 -1
- package/dist/web-components-library/p-7c40fb15.entry.js +0 -1
- package/dist/web-components-library/p-7cbc1836.entry.js +0 -1
- package/dist/web-components-library/p-830b21a4.entry.js +0 -1
- package/dist/web-components-library/p-87099b68.entry.js +0 -1
- package/dist/web-components-library/p-8cabed58.entry.js +0 -1
- package/dist/web-components-library/p-8cf14a47.entry.js +0 -1
- package/dist/web-components-library/p-8eaa46ac.entry.js +0 -1
- package/dist/web-components-library/p-985c5ed8.entry.js +0 -1
- package/dist/web-components-library/p-9f6b43a0.entry.js +0 -1
- package/dist/web-components-library/p-9f8d0f79.entry.js +0 -1
- package/dist/web-components-library/p-a3b8dd69.entry.js +0 -1
- package/dist/web-components-library/p-aa271ed7.entry.js +0 -1
- package/dist/web-components-library/p-ac1a9d63.entry.js +0 -1
- package/dist/web-components-library/p-af4a9bb7.entry.js +0 -1
- package/dist/web-components-library/p-ba495cad.entry.js +0 -1
- package/dist/web-components-library/p-ba9210e9.entry.js +0 -1
- package/dist/web-components-library/p-bf9348e6.entry.js +0 -1
- package/dist/web-components-library/p-c0df6e96.entry.js +0 -1
- package/dist/web-components-library/p-c2b368ff.entry.js +0 -1
- package/dist/web-components-library/p-c39c68b9.entry.js +0 -1
- package/dist/web-components-library/p-cadba1e5.entry.js +0 -1
- package/dist/web-components-library/p-ccb3764b.entry.js +0 -1
- package/dist/web-components-library/p-d668461a.js +0 -1
- package/dist/web-components-library/p-d767f784.entry.js +0 -1
- package/dist/web-components-library/p-d7e72cec.entry.js +0 -1
- package/dist/web-components-library/p-dbc23998.entry.js +0 -1
- package/dist/web-components-library/p-def721df.entry.js +0 -1
- package/dist/web-components-library/p-e12cd68a.entry.js +0 -1
- package/dist/web-components-library/p-e84d2839.entry.js +0 -1
- package/dist/web-components-library/p-eadb185e.entry.js +0 -1
- package/dist/web-components-library/p-f9f9518a.entry.js +0 -1
- package/dist/web-components-library/p-fd305e08.entry.js +0 -1
- package/src-react/index.ts +0 -1
- package/www/build/p-016b2800.entry.js +0 -1
- package/www/build/p-04908405.entry.js +0 -1
- package/www/build/p-06430481.entry.js +0 -1
- package/www/build/p-067bd5da.entry.js +0 -1
- package/www/build/p-082d65b1.entry.js +0 -1
- package/www/build/p-0cff6cce.entry.js +0 -1
- package/www/build/p-0e743002.entry.js +0 -1
- package/www/build/p-10b84e8c.entry.js +0 -1
- package/www/build/p-12211a48.entry.js +0 -1
- package/www/build/p-14233b99.entry.js +0 -1
- package/www/build/p-176256ee.js +0 -1
- package/www/build/p-1ab0de76.entry.js +0 -1
- package/www/build/p-1d2d5232.entry.js +0 -1
- package/www/build/p-20109d3a.entry.js +0 -1
- package/www/build/p-2cf26585.entry.js +0 -1
- package/www/build/p-2d506c48.entry.js +0 -1
- package/www/build/p-2d5d8e6f.entry.js +0 -1
- package/www/build/p-2e7a31ac.entry.js +0 -1
- package/www/build/p-2f6f3729.entry.js +0 -1
- package/www/build/p-30cbafaf.entry.js +0 -1
- package/www/build/p-341ddb5d.entry.js +0 -1
- package/www/build/p-34a96008.entry.js +0 -1
- package/www/build/p-35b30271.entry.js +0 -1
- package/www/build/p-36f4ce3f.entry.js +0 -1
- package/www/build/p-3c28f72e.entry.js +0 -1
- package/www/build/p-3c7cf41f.entry.js +0 -1
- package/www/build/p-3e414cf1.entry.js +0 -1
- package/www/build/p-3ecfb7c1.entry.js +0 -1
- package/www/build/p-40f96085.entry.js +0 -1
- package/www/build/p-4c9c83c0.css +0 -1
- package/www/build/p-53d22727.entry.js +0 -1
- package/www/build/p-563529f8.entry.js +0 -1
- package/www/build/p-57faab40.entry.js +0 -1
- package/www/build/p-5b2d8a91.entry.js +0 -1
- package/www/build/p-6037dce0.entry.js +0 -1
- package/www/build/p-60ec44c6.js +0 -1
- package/www/build/p-670232c4.entry.js +0 -1
- package/www/build/p-67f346d9.entry.js +0 -1
- package/www/build/p-691678c8.entry.js +0 -1
- package/www/build/p-69b27fe9.entry.js +0 -16
- package/www/build/p-6fe1bffb.entry.js +0 -1
- package/www/build/p-728e7dcd.entry.js +0 -1
- package/www/build/p-74e31a32.entry.js +0 -1
- package/www/build/p-759fb7c4.entry.js +0 -1
- package/www/build/p-79223014.entry.js +0 -1
- package/www/build/p-7b22a446.entry.js +0 -1
- package/www/build/p-7c40fb15.entry.js +0 -1
- package/www/build/p-7cbc1836.entry.js +0 -1
- package/www/build/p-830b21a4.entry.js +0 -1
- package/www/build/p-87099b68.entry.js +0 -1
- package/www/build/p-8cabed58.entry.js +0 -1
- package/www/build/p-8cf14a47.entry.js +0 -1
- package/www/build/p-8eaa46ac.entry.js +0 -1
- package/www/build/p-985c5ed8.entry.js +0 -1
- package/www/build/p-9f6b43a0.entry.js +0 -1
- package/www/build/p-9f8d0f79.entry.js +0 -1
- package/www/build/p-a3b8dd69.entry.js +0 -1
- package/www/build/p-aa271ed7.entry.js +0 -1
- package/www/build/p-ac1a9d63.entry.js +0 -1
- package/www/build/p-af4a9bb7.entry.js +0 -1
- package/www/build/p-ba495cad.entry.js +0 -1
- package/www/build/p-ba9210e9.entry.js +0 -1
- package/www/build/p-bf9348e6.entry.js +0 -1
- package/www/build/p-c0df6e96.entry.js +0 -1
- package/www/build/p-c2b368ff.entry.js +0 -1
- package/www/build/p-c39c68b9.entry.js +0 -1
- package/www/build/p-cadba1e5.entry.js +0 -1
- package/www/build/p-ccb3764b.entry.js +0 -1
- package/www/build/p-d668461a.js +0 -1
- package/www/build/p-d767f784.entry.js +0 -1
- package/www/build/p-d7e72cec.entry.js +0 -1
- package/www/build/p-dbc23998.entry.js +0 -1
- package/www/build/p-def721df.entry.js +0 -1
- package/www/build/p-e12cd68a.entry.js +0 -1
- package/www/build/p-e84d2839.entry.js +0 -1
- package/www/build/p-eadb185e.entry.js +0 -1
- package/www/build/p-f9f9518a.entry.js +0 -1
- package/www/build/p-fd305e08.entry.js +0 -1
|
@@ -3,10 +3,11 @@
|
|
|
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');
|
|
6
7
|
const breakpoints = require('./breakpoints-88c4fd6c.js');
|
|
7
8
|
const icons = require('./icons-460f0f1e.js');
|
|
8
|
-
const utils = require('./utils-
|
|
9
|
-
const utils$1 = require('./utils-
|
|
9
|
+
const utils = require('./utils-ce225fb3.js');
|
|
10
|
+
const utils$1 = require('./utils-ebe45309.js');
|
|
10
11
|
require('./_commonjsHelpers-537d719a.js');
|
|
11
12
|
|
|
12
13
|
const stylesCss$8 = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}button{display:flex;align-content:center;justify-content:center;padding:0;border:none;background-color:transparent}button>z-icon{color:var(--bg-white);fill:currentcolor}button>z-icon.light{color:var(--bg-grey-900);fill:currentcolor}";
|
|
@@ -15,7 +16,8 @@ const ZAppSwitcher = class {
|
|
|
15
16
|
constructor(hostRef) {
|
|
16
17
|
index.registerInstance(this, hostRef);
|
|
17
18
|
this.appButtonClick = index.createEvent(this, "appButtonClick", 7);
|
|
18
|
-
|
|
19
|
+
/** theme variant, default 'dark' */
|
|
20
|
+
this.theme = index$1.ThemeVariant.DARK;
|
|
19
21
|
this.isopen = false;
|
|
20
22
|
this.emitAppButtonClick = this.emitAppButtonClick.bind(this);
|
|
21
23
|
}
|
|
@@ -34,13 +36,9 @@ const stylesCss$7 = ":host{position:sticky;z-index:99;top:0;display:block;height
|
|
|
34
36
|
const ZAppTopbar = class {
|
|
35
37
|
constructor(hostRef) {
|
|
36
38
|
index.registerInstance(this, hostRef);
|
|
39
|
+
/** theme variant, default 'dark' */
|
|
40
|
+
this.theme = index$1.ThemeVariant.DARK;
|
|
37
41
|
this.topbarLinks = [];
|
|
38
|
-
this.theme = "dark" /* ThemeVariant.DARK */;
|
|
39
|
-
this.contentMaxWidth = undefined;
|
|
40
|
-
this.topbarContent = undefined;
|
|
41
|
-
this.logoLink = undefined;
|
|
42
|
-
this.showAppSwitcher = undefined;
|
|
43
|
-
this.isMobile = undefined;
|
|
44
42
|
}
|
|
45
43
|
handleResize() {
|
|
46
44
|
this.isMobile = window.innerWidth <= breakpoints.mobileBreakpoint;
|
|
@@ -54,13 +52,13 @@ const ZAppTopbar = class {
|
|
|
54
52
|
}
|
|
55
53
|
}
|
|
56
54
|
renderTopbarLinks() {
|
|
57
|
-
return this.topbarLinks.map((link) => (index.h("z-link", { htmlid: link.id, textcolor: this.theme ===
|
|
55
|
+
return this.topbarLinks.map((link) => (index.h("z-link", { htmlid: link.id, textcolor: this.theme === index$1.ThemeVariant.LIGHT ? "black" : "white", href: link.link, target: link.target, icon: this.isMobile ? link.icon : undefined }, !this.isMobile && link.label)));
|
|
58
56
|
}
|
|
59
57
|
render() {
|
|
60
58
|
return (index.h(index.Host, { class: {
|
|
61
59
|
[this.theme]: true,
|
|
62
60
|
"limited-width": !!this.contentMaxWidth,
|
|
63
|
-
} }, index.h("div", { id: "content-container", style: this.contentMaxWidth ? { "--mw": `${this.contentMaxWidth}px` } : {} }, index.h("div", { id: "left-panel", class: "content-panel" }, index.h("z-logo", { mobileLogo: this.isMobile, width: this.isMobile ? 32 : 128, height: this.isMobile ? 40 : 32, imageAlt: "zanichelli-logo", link: this.logoLink, targetBlank: true }), this.isMobile && this.renderTopbarLinks()), index.h("div", { id: "right-panel", class: "content-panel" }, !this.isMobile && this.renderTopbarLinks(), this.showAppSwitcher && index.h("z-app-switcher", { theme: this.theme }), index.h("div", { id: "divider-container" }, index.h("z-divider", { orientation:
|
|
61
|
+
} }, index.h("div", { id: "content-container", style: this.contentMaxWidth ? { "--mw": `${this.contentMaxWidth}px` } : {} }, index.h("div", { id: "left-panel", class: "content-panel" }, index.h("z-logo", { mobileLogo: this.isMobile, width: this.isMobile ? 32 : 128, height: this.isMobile ? 40 : 32, imageAlt: "zanichelli-logo", link: this.logoLink, targetBlank: true }), this.isMobile && this.renderTopbarLinks()), index.h("div", { id: "right-panel", class: "content-panel" }, !this.isMobile && this.renderTopbarLinks(), this.showAppSwitcher && index.h("z-app-switcher", { theme: this.theme }), index.h("div", { id: "divider-container" }, index.h("z-divider", { orientation: index$1.DividerOrientation.VERTICAL, color: this.theme === index$1.ThemeVariant.LIGHT ? "gray800" : "color-white" })), index.h("slot", { name: "login" })))));
|
|
64
62
|
}
|
|
65
63
|
};
|
|
66
64
|
ZAppTopbar.style = stylesCss$7;
|
|
@@ -70,9 +68,12 @@ const stylesCss$6 = ".sc-z-divider-h{display:block;padding:0;margin:0}.divider-h
|
|
|
70
68
|
const ZDivider = class {
|
|
71
69
|
constructor(hostRef) {
|
|
72
70
|
index.registerInstance(this, hostRef);
|
|
73
|
-
|
|
71
|
+
/** [optional] Divider size */
|
|
72
|
+
this.size = index$1.DividerSize.SMALL;
|
|
73
|
+
/** [optional] Divider color */
|
|
74
74
|
this.color = "gray200";
|
|
75
|
-
|
|
75
|
+
/** [optional] Divider orintation */
|
|
76
|
+
this.orientation = index$1.DividerOrientation.HORIZONTAL;
|
|
76
77
|
}
|
|
77
78
|
render() {
|
|
78
79
|
return (index.h(index.Host, { class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
|
|
@@ -85,11 +86,6 @@ const stylesCss$5 = ":host{margin-right:var(--z-icon-right-margin, 0);margin-lef
|
|
|
85
86
|
const ZIcon = class {
|
|
86
87
|
constructor(hostRef) {
|
|
87
88
|
index.registerInstance(this, hostRef);
|
|
88
|
-
this.name = undefined;
|
|
89
|
-
this.height = undefined;
|
|
90
|
-
this.width = undefined;
|
|
91
|
-
this.iconid = undefined;
|
|
92
|
-
this.fill = undefined;
|
|
93
89
|
}
|
|
94
90
|
selectPathOrPolygon(iconValue) {
|
|
95
91
|
if (iconValue === null || iconValue === void 0 ? void 0 : iconValue.startsWith("M")) {
|
|
@@ -112,37 +108,33 @@ const ZInput = class {
|
|
|
112
108
|
this.startTyping = index.createEvent(this, "startTyping", 7);
|
|
113
109
|
this.stopTyping = index.createEvent(this, "stopTyping", 7);
|
|
114
110
|
this.inputCheck = index.createEvent(this, "inputCheck", 7);
|
|
115
|
-
|
|
111
|
+
/** the id of the input element */
|
|
116
112
|
this.htmlid = `id-${utils.randomId()}`;
|
|
117
|
-
|
|
118
|
-
this.name = undefined;
|
|
119
|
-
this.label = undefined;
|
|
113
|
+
/** the input aria-label */
|
|
120
114
|
this.ariaLabel = "";
|
|
121
|
-
|
|
115
|
+
/** the input is disabled */
|
|
122
116
|
this.disabled = false;
|
|
117
|
+
/** the input is readonly */
|
|
123
118
|
this.readonly = false;
|
|
119
|
+
/** the input is required (optional): available for text, password, number, email, textarea, checkbox */
|
|
124
120
|
this.required = false;
|
|
121
|
+
/** checked: available for checkbox, radio */
|
|
125
122
|
this.checked = false;
|
|
126
|
-
|
|
127
|
-
this.htmltitle = undefined;
|
|
128
|
-
this.status = undefined;
|
|
123
|
+
/** input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed */
|
|
129
124
|
this.message = true;
|
|
130
|
-
|
|
131
|
-
this.
|
|
125
|
+
/** the input label position: available for checkbox, radio */
|
|
126
|
+
this.labelPosition = index$1.LabelPosition.RIGHT;
|
|
127
|
+
/** render clear icon when typing (optional): available for text */
|
|
132
128
|
this.hasclearicon = true;
|
|
133
|
-
this.icon = undefined;
|
|
134
|
-
this.min = undefined;
|
|
135
|
-
this.max = undefined;
|
|
136
|
-
this.step = undefined;
|
|
137
|
-
this.pattern = undefined;
|
|
138
129
|
this.isTyping = false;
|
|
139
130
|
this.passwordHidden = true;
|
|
131
|
+
this.typingtimeout = 300;
|
|
140
132
|
}
|
|
141
133
|
inputCheckListener(e) {
|
|
142
134
|
const data = e.detail;
|
|
143
135
|
switch (this.type) {
|
|
144
|
-
case
|
|
145
|
-
if (data.type ===
|
|
136
|
+
case index$1.InputType.RADIO:
|
|
137
|
+
if (data.type === index$1.InputType.RADIO && data.name === this.name && data.id !== this.htmlid) {
|
|
146
138
|
this.checked = false;
|
|
147
139
|
}
|
|
148
140
|
break;
|
|
@@ -151,8 +143,8 @@ const ZInput = class {
|
|
|
151
143
|
/** get checked status */
|
|
152
144
|
async isChecked() {
|
|
153
145
|
switch (this.type) {
|
|
154
|
-
case
|
|
155
|
-
case
|
|
146
|
+
case index$1.InputType.CHECKBOX:
|
|
147
|
+
case index$1.InputType.RADIO:
|
|
156
148
|
return this.checked;
|
|
157
149
|
default:
|
|
158
150
|
console.warn("`isChecked` method is only available for type `checkbox` and `radio`");
|
|
@@ -164,7 +156,7 @@ const ZInput = class {
|
|
|
164
156
|
this.emitStartTyping();
|
|
165
157
|
}
|
|
166
158
|
let validity;
|
|
167
|
-
if (this.type ===
|
|
159
|
+
if (this.type === index$1.InputType.TEXTAREA) {
|
|
168
160
|
validity = this.getValidity("textarea");
|
|
169
161
|
}
|
|
170
162
|
else {
|
|
@@ -222,7 +214,7 @@ const ZInput = class {
|
|
|
222
214
|
};
|
|
223
215
|
}
|
|
224
216
|
getNumberAttributes(type) {
|
|
225
|
-
if (type !=
|
|
217
|
+
if (type != index$1.InputType.NUMBER) {
|
|
226
218
|
return;
|
|
227
219
|
}
|
|
228
220
|
return {
|
|
@@ -232,27 +224,27 @@ const ZInput = class {
|
|
|
232
224
|
};
|
|
233
225
|
}
|
|
234
226
|
getPatternAttribute(type) {
|
|
235
|
-
if (type !=
|
|
236
|
-
type !=
|
|
237
|
-
type !=
|
|
238
|
-
type !=
|
|
239
|
-
type !=
|
|
240
|
-
type !=
|
|
227
|
+
if (type != index$1.InputType.PASSWORD &&
|
|
228
|
+
type != index$1.InputType.TEXT &&
|
|
229
|
+
type != index$1.InputType.TEL &&
|
|
230
|
+
type != index$1.InputType.SEARCH &&
|
|
231
|
+
type != index$1.InputType.URL &&
|
|
232
|
+
type != index$1.InputType.EMAIL) {
|
|
241
233
|
return;
|
|
242
234
|
}
|
|
243
235
|
return {
|
|
244
236
|
pattern: this.pattern,
|
|
245
237
|
};
|
|
246
238
|
}
|
|
247
|
-
renderInputText(type =
|
|
239
|
+
renderInputText(type = index$1.InputType.TEXT) {
|
|
248
240
|
const attr = Object.assign(Object.assign(Object.assign({}, this.getTextAttributes()), this.getNumberAttributes(type)), this.getPatternAttribute(type));
|
|
249
|
-
if (this.icon || type ===
|
|
241
|
+
if (this.icon || type === index$1.InputType.PASSWORD) {
|
|
250
242
|
Object.assign(attr.class, { "has-icon": true });
|
|
251
243
|
}
|
|
252
|
-
if (this.hasclearicon && type !=
|
|
244
|
+
if (this.hasclearicon && type != index$1.InputType.NUMBER) {
|
|
253
245
|
Object.assign(attr.class, { "has-clear-icon": true });
|
|
254
246
|
}
|
|
255
|
-
return (index.h("div", { class: "text-wrapper" }, this.renderLabel(), index.h("div", null, index.h("input", Object.assign({ type: type ===
|
|
247
|
+
return (index.h("div", { class: "text-wrapper" }, this.renderLabel(), index.h("div", null, index.h("input", Object.assign({ type: type === index$1.InputType.PASSWORD && !this.passwordHidden ? index$1.InputType.TEXT : type }, attr, { "aria-label": this.ariaLabel || this.label })), this.renderIcons()), this.renderMessage()));
|
|
256
248
|
}
|
|
257
249
|
renderLabel() {
|
|
258
250
|
if (!this.label) {
|
|
@@ -264,7 +256,7 @@ const ZInput = class {
|
|
|
264
256
|
return (index.h("span", { class: "icons-wrapper" }, this.renderResetIcon(), this.renderIcon()));
|
|
265
257
|
}
|
|
266
258
|
renderIcon() {
|
|
267
|
-
if (this.type ===
|
|
259
|
+
if (this.type === index$1.InputType.PASSWORD) {
|
|
268
260
|
return this.renderShowHidePassword();
|
|
269
261
|
}
|
|
270
262
|
if (!this.icon) {
|
|
@@ -273,7 +265,7 @@ const ZInput = class {
|
|
|
273
265
|
return (index.h("button", { type: "button", class: "icon-button input-icon", tabIndex: -1 }, index.h("z-icon", { name: this.icon })));
|
|
274
266
|
}
|
|
275
267
|
renderResetIcon() {
|
|
276
|
-
if (!this.hasclearicon || !this.value || this.disabled || this.readonly || this.type ==
|
|
268
|
+
if (!this.hasclearicon || !this.value || this.disabled || this.readonly || this.type == index$1.InputType.NUMBER) {
|
|
277
269
|
return;
|
|
278
270
|
}
|
|
279
271
|
return (index.h("button", { type: "button", class: "icon-button reset-icon", "aria-label": "cancella il contenuto dell'input", onClick: () => this.emitInputChange("") }, index.h("z-icon", { name: "multiply" })));
|
|
@@ -302,8 +294,8 @@ const ZInput = class {
|
|
|
302
294
|
renderCheckbox() {
|
|
303
295
|
return (index.h("div", { class: "checkbox-wrapper" }, index.h("input", { id: this.htmlid, type: "checkbox", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, required: this.required, onChange: this.handleCheck.bind(this), value: this.value }), index.h("label", { htmlFor: this.htmlid, class: {
|
|
304
296
|
"checkbox-label": true,
|
|
305
|
-
"after": this.labelPosition ===
|
|
306
|
-
"before": this.labelPosition ===
|
|
297
|
+
"after": this.labelPosition === index$1.LabelPosition.RIGHT,
|
|
298
|
+
"before": this.labelPosition === index$1.LabelPosition.LEFT,
|
|
307
299
|
} }, index.h("z-icon", { name: this.checked ? "checkbox-checked" : "checkbox", "aria-hidden": "true" }), this.label && index.h("span", { innerHTML: this.label }))));
|
|
308
300
|
}
|
|
309
301
|
/* END checkbox */
|
|
@@ -311,18 +303,18 @@ const ZInput = class {
|
|
|
311
303
|
renderRadio() {
|
|
312
304
|
return (index.h("div", { class: "radio-wrapper" }, index.h("input", { id: this.htmlid, type: "radio", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, onChange: this.handleCheck.bind(this), value: this.value }), index.h("label", { htmlFor: this.htmlid, class: {
|
|
313
305
|
"radio-label": true,
|
|
314
|
-
"after": this.labelPosition ===
|
|
315
|
-
"before": this.labelPosition ===
|
|
306
|
+
"after": this.labelPosition === index$1.LabelPosition.RIGHT,
|
|
307
|
+
"before": this.labelPosition === index$1.LabelPosition.LEFT,
|
|
316
308
|
} }, index.h("z-icon", { name: this.checked ? "radio-button-checked" : "radio-button", "aria-hidden": "true" }), this.label && index.h("span", { innerHTML: this.label }))));
|
|
317
309
|
}
|
|
318
310
|
/* END radio */
|
|
319
311
|
render() {
|
|
320
312
|
switch (this.type) {
|
|
321
|
-
case
|
|
313
|
+
case index$1.InputType.TEXTAREA:
|
|
322
314
|
return this.renderTextarea();
|
|
323
|
-
case
|
|
315
|
+
case index$1.InputType.CHECKBOX:
|
|
324
316
|
return this.renderCheckbox();
|
|
325
|
-
case
|
|
317
|
+
case index$1.InputType.RADIO:
|
|
326
318
|
return this.renderRadio();
|
|
327
319
|
default:
|
|
328
320
|
return this.renderInputText(this.type);
|
|
@@ -342,8 +334,6 @@ const ZInputMessage = class {
|
|
|
342
334
|
error: "multiply-circled",
|
|
343
335
|
warning: "exclamation-circle",
|
|
344
336
|
};
|
|
345
|
-
this.message = undefined;
|
|
346
|
-
this.status = undefined;
|
|
347
337
|
}
|
|
348
338
|
render() {
|
|
349
339
|
return (index.h(index.Host, { role: "alert", "aria-label": this.message, tabindex: this.message ? 0 : -1 }, this.statusIcons[this.status] && this.message && index.h("z-icon", { name: this.statusIcons[this.status] }), index.h("span", { innerHTML: this.message })));
|
|
@@ -357,17 +347,23 @@ const ZLink = class {
|
|
|
357
347
|
constructor(hostRef) {
|
|
358
348
|
index.registerInstance(this, hostRef);
|
|
359
349
|
this.zLinkClick = index.createEvent(this, "zLinkClick", 7);
|
|
360
|
-
|
|
361
|
-
this.href = undefined;
|
|
350
|
+
/** link target (optional) */
|
|
362
351
|
this.target = "_self";
|
|
352
|
+
/** tabindex link attribute (optional) */
|
|
363
353
|
this.htmltabindex = 0;
|
|
354
|
+
/** disable link flag (optional) */
|
|
364
355
|
this.isdisabled = false;
|
|
356
|
+
/** active link flag (optional) */
|
|
365
357
|
this.isactive = false;
|
|
358
|
+
/** white variant flag (optional) */
|
|
366
359
|
this.iswhite = false;
|
|
360
|
+
/** link text variant (optional) */
|
|
367
361
|
this.textcolor = "primary";
|
|
368
|
-
|
|
362
|
+
/** big link version */
|
|
369
363
|
this.big = false;
|
|
364
|
+
/** link icon position (optional) */
|
|
370
365
|
this.iconposition = "left";
|
|
366
|
+
/** draw underline on text (optional) */
|
|
371
367
|
this.underline = false;
|
|
372
368
|
this.iconSize = 18;
|
|
373
369
|
this.emitZLinkClick = this.emitZLinkClick.bind(this);
|
|
@@ -417,12 +413,6 @@ const stylesCss$1 = ":host{display:inline-block;width:255px;height:64px;vertical
|
|
|
417
413
|
const ZLogo = class {
|
|
418
414
|
constructor(hostRef) {
|
|
419
415
|
index.registerInstance(this, hostRef);
|
|
420
|
-
this.width = undefined;
|
|
421
|
-
this.height = undefined;
|
|
422
|
-
this.imageAlt = undefined;
|
|
423
|
-
this.link = undefined;
|
|
424
|
-
this.targetBlank = undefined;
|
|
425
|
-
this.mobileLogo = undefined;
|
|
426
416
|
}
|
|
427
417
|
render() {
|
|
428
418
|
const style = {};
|
|
@@ -443,13 +433,9 @@ const ZRangePicker = class {
|
|
|
443
433
|
constructor(hostRef) {
|
|
444
434
|
index.registerInstance(this, hostRef);
|
|
445
435
|
this.dateSelect = index.createEvent(this, "dateSelect", 7);
|
|
446
|
-
|
|
447
|
-
this.
|
|
448
|
-
this.
|
|
449
|
-
this.secondAriaLabel = undefined;
|
|
450
|
-
this.secondLabel = undefined;
|
|
451
|
-
this.mode = "date" /* ZRangePickerMode.DATE */;
|
|
452
|
-
this.flatpickrPosition = "bottom" /* ZDatePickerPosition.BOTTOM */;
|
|
436
|
+
/** [Optional] datepicker mode: date or datetime */
|
|
437
|
+
this.mode = index$1.ZRangePickerMode.DATE;
|
|
438
|
+
this.flatpickrPosition = index$1.ZDatePickerPosition.BOTTOM;
|
|
453
439
|
this.activeInput = "start-input";
|
|
454
440
|
this.firstInputError = false;
|
|
455
441
|
this.lastInputError = false;
|
|
@@ -496,11 +482,11 @@ const ZRangePicker = class {
|
|
|
496
482
|
}
|
|
497
483
|
setupPickers() {
|
|
498
484
|
const config = {
|
|
499
|
-
enableTime: this.mode ===
|
|
485
|
+
enableTime: this.mode === index$1.ZRangePickerMode.DATE_TIME,
|
|
500
486
|
locale: utils$1.it.Italian,
|
|
501
487
|
allowInput: true,
|
|
502
488
|
wrap: true,
|
|
503
|
-
dateFormat: this.mode ===
|
|
489
|
+
dateFormat: this.mode === index$1.ZRangePickerMode.DATE_TIME ? "d-m-Y - H:i" : "d-m-Y",
|
|
504
490
|
ariaDateFormat: "d F Y",
|
|
505
491
|
minuteIncrement: 1,
|
|
506
492
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
@@ -589,7 +575,7 @@ const ZRangePicker = class {
|
|
|
589
575
|
utils$1.setAriaOptions(this.element, this.mode);
|
|
590
576
|
}
|
|
591
577
|
formatDate(date) {
|
|
592
|
-
if (this.mode ===
|
|
578
|
+
if (this.mode === index$1.ZRangePickerMode.DATE) {
|
|
593
579
|
return `${utils$1.flatpickr.formatDate(date, "d-m-Y")}`;
|
|
594
580
|
}
|
|
595
581
|
return `${utils$1.flatpickr.formatDate(date, "d-m-Y - H:i")}`;
|
|
@@ -685,9 +671,9 @@ const ZRangePicker = class {
|
|
|
685
671
|
onStopTyping(value) {
|
|
686
672
|
const text = value.detail.value.replace("/", "-");
|
|
687
673
|
const englishData = text.split("-");
|
|
688
|
-
const time = this.mode ===
|
|
674
|
+
const time = this.mode === index$1.ZRangePickerMode.DATE_TIME ? `T${englishData[3]}:00` : "";
|
|
689
675
|
const englishParsedData = `${englishData[2]}-${englishData[1]}-${englishData[0]}${time}`.split(" ").join("");
|
|
690
|
-
const isValidDate = utils$1.validateDate(text, this.mode ===
|
|
676
|
+
const isValidDate = utils$1.validateDate(text, this.mode === index$1.ZRangePickerMode.DATE_TIME);
|
|
691
677
|
const date = Date.parse(englishParsedData).toString();
|
|
692
678
|
if (this.activeInput === "start-input") {
|
|
693
679
|
if (text === "") {
|
|
@@ -749,7 +735,7 @@ const ZRangePicker = class {
|
|
|
749
735
|
}
|
|
750
736
|
render() {
|
|
751
737
|
const zInputProps = {
|
|
752
|
-
type:
|
|
738
|
+
type: index$1.InputType.TEXT,
|
|
753
739
|
icon: "event",
|
|
754
740
|
tabindex: "0",
|
|
755
741
|
message: false,
|
|
@@ -761,9 +747,9 @@ const ZRangePicker = class {
|
|
|
761
747
|
[this.mode]: true,
|
|
762
748
|
[this.activeInput]: true,
|
|
763
749
|
[this.flatpickrPosition]: true,
|
|
764
|
-
} }, index.h("div", { class: `${this.rangePickerId}-1-wrapper` }, index.h("div", { class: `${this.rangePickerId}-1-container` }, index.h("z-input", Object.assign({}, zInputProps, { "data-input": "data-input", class: `start-input ${this.rangePickerId}-1`, ariaLabel: this.firstAriaLabel, label: this.firstLabel, status: this.firstInputError &&
|
|
750
|
+
} }, index.h("div", { class: `${this.rangePickerId}-1-wrapper` }, index.h("div", { class: `${this.rangePickerId}-1-container` }, index.h("z-input", Object.assign({}, zInputProps, { "data-input": "data-input", class: `start-input ${this.rangePickerId}-1`, ariaLabel: this.firstAriaLabel, label: this.firstLabel, status: this.firstInputError && index$1.InputStatus.ERROR, onStartTyping: () => {
|
|
765
751
|
this.firstInputError = false;
|
|
766
|
-
} })))), index.h("div", { class: `${this.rangePickerId}-2-wrapper` }, index.h("div", { class: `${this.rangePickerId}-2-container` }, index.h("z-input", Object.assign({}, zInputProps, { "data-input": "data-input", class: `end-input ${this.rangePickerId}-2`, ariaLabel: this.secondAriaLabel, label: this.secondLabel, status: this.lastInputError &&
|
|
752
|
+
} })))), index.h("div", { class: `${this.rangePickerId}-2-wrapper` }, index.h("div", { class: `${this.rangePickerId}-2-container` }, index.h("z-input", Object.assign({}, zInputProps, { "data-input": "data-input", class: `end-input ${this.rangePickerId}-2`, ariaLabel: this.secondAriaLabel, label: this.secondLabel, status: this.lastInputError && index$1.InputStatus.ERROR, onStartTyping: () => {
|
|
767
753
|
this.lastInputError = false;
|
|
768
754
|
} }))))));
|
|
769
755
|
}
|
|
@@ -3,11 +3,13 @@
|
|
|
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');
|
|
6
7
|
|
|
7
8
|
const ZAriaAlert = class {
|
|
8
9
|
constructor(hostRef) {
|
|
9
10
|
index.registerInstance(this, hostRef);
|
|
10
|
-
|
|
11
|
+
/** Aria live mode */
|
|
12
|
+
this.mode = index$1.ZAriaAlertMode.POLITE;
|
|
11
13
|
}
|
|
12
14
|
render() {
|
|
13
15
|
return (index.h(index.Host, { "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, index.h("slot", null)));
|
|
@@ -3,6 +3,7 @@
|
|
|
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');
|
|
6
7
|
|
|
7
8
|
const stylesCss = ":host{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;background-color:var(--bg-grey-700);border-radius:50%;font-family:var(--font-family-sans);text-transform:uppercase}:host(.small),:host(.small)>img{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{width:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";
|
|
8
9
|
|
|
@@ -10,23 +11,24 @@ const ZAvatar = class {
|
|
|
10
11
|
constructor(hostRef) {
|
|
11
12
|
index.registerInstance(this, hostRef);
|
|
12
13
|
var _a, _b;
|
|
13
|
-
|
|
14
|
-
this.
|
|
14
|
+
/** [optional] Avatar size */
|
|
15
|
+
this.size = index$1.AvatarSize.MEDIUM;
|
|
16
|
+
/** [optional] Avatar text color */
|
|
15
17
|
this.textColor = "text-white";
|
|
18
|
+
/** [optional] Avatar background color */
|
|
16
19
|
this.backgroundColor = "bg-grey-700";
|
|
17
|
-
this.image = undefined;
|
|
18
20
|
if (((_a = this.text) === null || _a === void 0 ? void 0 : _a.length) === 0 && ((_b = this.image) === null || _b === void 0 ? void 0 : _b.length) === 0) {
|
|
19
21
|
console.warn("z-avatar must contain at least one prop between text and image");
|
|
20
22
|
}
|
|
21
23
|
}
|
|
22
24
|
getTextSize() {
|
|
23
|
-
if (this.size ===
|
|
25
|
+
if (this.size === index$1.AvatarSize.SMALL) {
|
|
24
26
|
return "5";
|
|
25
27
|
}
|
|
26
|
-
else if (this.size ===
|
|
28
|
+
else if (this.size === index$1.AvatarSize.MEDIUM) {
|
|
27
29
|
return "4";
|
|
28
30
|
}
|
|
29
|
-
else if (this.size ===
|
|
31
|
+
else if (this.size === index$1.AvatarSize.LARGE) {
|
|
30
32
|
return "2";
|
|
31
33
|
}
|
|
32
34
|
}
|
|
@@ -7,9 +7,8 @@ const index = require('./index-e3299e0a.js');
|
|
|
7
7
|
const ZBody = class {
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
|
-
|
|
10
|
+
/** Font weight variant */
|
|
11
11
|
this.variant = "regular";
|
|
12
|
-
this.component = undefined;
|
|
13
12
|
}
|
|
14
13
|
render() {
|
|
15
14
|
return (index.h("z-typography", { tabIndex: 0, component: this.component || "span", level: `b${this.level}`, variant: this.variant }, index.h("slot", null)));
|
|
@@ -21,9 +20,8 @@ const stylesCss = ":host>*{margin:0;font-family:var(--dashboard-font)}:host(.reg
|
|
|
21
20
|
const ZTypography = class {
|
|
22
21
|
constructor(hostRef) {
|
|
23
22
|
index.registerInstance(this, hostRef);
|
|
24
|
-
|
|
23
|
+
/** Font weight variant */
|
|
25
24
|
this.variant = "regular";
|
|
26
|
-
this.component = undefined;
|
|
27
25
|
}
|
|
28
26
|
render() {
|
|
29
27
|
const el = document.createElement(this.component || "span");
|
|
@@ -3,20 +3,26 @@
|
|
|
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');
|
|
6
7
|
|
|
7
8
|
const stylesCss = ":host{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:var(--space-unit);--rgb-white:240, 240, 240}button:disabled,::slotted(button:disabled){pointer-events:none}button,::slotted(button),::slotted(a){display:inline-flex;width:100%;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:center;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);cursor:pointer;fill:currentcolor;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:1;outline:none;text-decoration:none;text-transform:uppercase;vertical-align:middle;white-space:nowrap}button.big,:host([size=\"big\"]) ::slotted(button),:host([size=\"big\"]) ::slotted(a){min-width:44px;height:44px}button.small,:host([size=\"small\"]) ::slotted(button),:host([size=\"small\"]) ::slotted(a){min-width:36px;height:36px}button.issmall,:host([issmall]) ::slotted(button),:host([issmall]) ::slotted(a){min-width:36px;height:36px}button.x-small,:host([size=\"x-small\"]) ::slotted(button),:host([size=\"x-small\"]) ::slotted(a){min-width:32px;height:32px}button:not(.square),:host(:not([square])) ::slotted(button),:host(:not([square])) ::slotted(a){min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}button.square,:host([square]){--z-icon-right-margin:0}button.primary,:host([variant=\"primary\"]) ::slotted(button),:host([variant=\"primary\"]) ::slotted(a){border-color:var(--color-primary01);background-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){button.primary:hover,:host([variant=\"primary\"]) ::slotted(button:hover),:host([variant=\"primary\"]) ::slotted(a:hover){border-color:var(--color-hover-primary);background-color:var(--color-hover-primary);color:var(--color-text-inverse)}}button:focus:focus-visible,::slotted(button:focus:focus-visible),::slotted(a:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}button.primary:active,:host([variant=\"primary\"]) ::slotted(button:active),:host([variant=\"primary\"]) ::slotted(a:active){border-color:var(--color-pressed-primary);background-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-text-inverse)}button.primary:disabled,:host([variant=\"primary\"]) ::slotted(button:disabled){border-color:var(--color-disabled01);background-color:var(--color-disabled01);color:var(--color-disabled02)}button.secondary,:host([variant=\"secondary\"]) ::slotted(button),:host([variant=\"secondary\"]) ::slotted(a){border-color:var(--color-primary01);background-color:var(--color-surface01);color:var(--color-primary01)}@media (hover: hover){button.secondary:hover,:host([variant=\"secondary\"]) ::slotted(button:hover),:host([variant=\"secondary\"]) ::slotted(a:hover){border-color:var(--color-hover-primary);background-color:var(--color-surface01);color:var(--color-hover-primary)}}button.secondary:active,:host([variant=\"secondary\"]) ::slotted(button:active),:host([variant=\"secondary\"]) ::slotted(a:active){border-color:var(--color-pressed-primary);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-pressed-primary)}button.secondary:disabled,:host([variant=\"secondary\"]) ::slotted(button:disabled){border-color:var(--color-disabled01);background-color:var(--color-surface01);color:var(--color-disabled02)}button.tertiary,:host([variant=\"tertiary\"]) ::slotted(button),:host([variant=\"tertiary\"]) ::slotted(a){border-color:transparent;background-color:transparent;color:var(--color-primary01)}button.tertiary.has-content{padding:0 var(--space-unit)}@media (hover: hover){button.tertiary:hover,:host([variant=\"tertiary\"]) ::slotted(button:hover),:host([variant=\"tertiary\"]) ::slotted(a:hover){border-color:var(--color-primary03);background-color:var(--color-primary03);color:var(--color-hover-primary)}}button.tertiary:focus:focus-visible,:host([variant=\"tertiary\"]) ::slotted(button:focus:focus-visible),:host([variant=\"tertiary\"]) ::slotted(a:focus:focus-visible){border-color:var(--color-surface01);background-color:var(--color-surface01);color:var(--color-primary01)}button.tertiary:active,:host([variant=\"tertiary\"]) ::slotted(button:active),:host([variant=\"tertiary\"]) ::slotted(a:active){border-color:var(--color-surface01);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-primary01)}button.tertiary:disabled,:host([variant=\"tertiary\"]) ::slotted(button:disabled){border-color:transparent;background-color:transparent;color:var(--color-disabled02)}button.dark-bg,:host([variant=\"dark-bg\"]) ::slotted(button),:host([variant=\"dark-bg\"]) ::slotted(a){border-color:transparent;background-color:rgb(var(--rgb-white) 0.2);color:var(--color-text04)}button.dark-bg.has-content{padding:0 var(--space-unit)}@media (hover: hover){button.dark-bg:hover,:host([variant=\"dark-bg\"]) ::slotted(button:hover),:host([variant=\"dark-bg\"]) ::slotted(a:hover){background-color:rgb(var(--rgb-white) 0.1)}}button.dark-bg:active,:host([variant=\"dark-bg\"]) ::slotted(button:active),:host([variant=\"dark-bg\"]) ::slotted(a:active){background-color:rgb(var(--rgb-white) 0.3)}button.dark-bg:disabled,:host([variant=\"dark-bg\"]) ::slotted(button:disabled){background-color:rgb(var(--rgb-white) 0.05);color:var(--color-disabled03)}";
|
|
8
9
|
|
|
9
10
|
const ZButtonDeprecated = class {
|
|
10
11
|
constructor(hostRef) {
|
|
11
12
|
index.registerInstance(this, hostRef);
|
|
12
|
-
|
|
13
|
-
this.name = undefined;
|
|
13
|
+
/** HTML button disabled attribute. */
|
|
14
14
|
this.disabled = false;
|
|
15
|
-
|
|
16
|
-
this.
|
|
17
|
-
|
|
18
|
-
this.
|
|
15
|
+
/** HTML button type attribute. */
|
|
16
|
+
this.type = index$1.ButtonType.BUTTON;
|
|
17
|
+
/** Graphical variant: `primary`, `secondary`, `tertiary`, `dark-bg`. Defaults to `primary`. */
|
|
18
|
+
this.variant = index$1.ButtonVariant.PRIMARY;
|
|
19
|
+
/** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */
|
|
20
|
+
this.size = index$1.ButtonSize.BIG;
|
|
21
|
+
/** Reduce button size (deprecated).
|
|
22
|
+
* @deprecated Use `size` prop.
|
|
23
|
+
*/
|
|
19
24
|
this.issmall = false;
|
|
25
|
+
/** Spy to render square button. */
|
|
20
26
|
this.square = false;
|
|
21
27
|
}
|
|
22
28
|
render() {
|
|
@@ -10,10 +10,11 @@ const ZButtonFilter = class {
|
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.removefilter = index.createEvent(this, "removefilter", 7);
|
|
13
|
-
|
|
13
|
+
/** disable action on button */
|
|
14
14
|
this.isfixed = false;
|
|
15
|
+
/** add icon to button */
|
|
15
16
|
this.hasicon = true;
|
|
16
|
-
|
|
17
|
+
/** reduce button size (optional) */
|
|
17
18
|
this.issmall = false;
|
|
18
19
|
this.handleRemovingFilterClick = this.handleRemovingFilterClick.bind(this);
|
|
19
20
|
}
|
|
@@ -11,13 +11,13 @@ const ZButtonSort = class {
|
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.buttonSortClick = index.createEvent(this, "buttonSortClick", 7);
|
|
14
|
-
|
|
15
|
-
this.label = undefined;
|
|
16
|
-
this.desclabel = undefined;
|
|
17
|
-
this.counter = undefined;
|
|
14
|
+
/** sort label content (ascending) (optional) */
|
|
18
15
|
this.sortlabelasc = "A-Z";
|
|
16
|
+
/** sort label content (descending) (optional) */
|
|
19
17
|
this.sortlabeldesc = "Z-A";
|
|
18
|
+
/** selected flag (optional) */
|
|
20
19
|
this.isselected = false;
|
|
20
|
+
/** sortable flag (optional) */
|
|
21
21
|
this.sortasc = true;
|
|
22
22
|
this.allowTooltip = false;
|
|
23
23
|
}
|
|
@@ -3,22 +3,23 @@
|
|
|
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');
|
|
6
7
|
|
|
7
8
|
const stylesCss = ".sc-z-button-h{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:0}[disabled].sc-z-button-h:not([disabled=\"false\"]){pointer-events:none}.sc-z-button-h .z-button--container.sc-z-button{display:inline-flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center;padding:0;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:1;outline:none;text-decoration:none;text-transform:uppercase;white-space:nowrap}.sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-button-h .z-button--container.z-button--has-text.sc-z-button{min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}.sc-z-button-h .z-button--container.z-button--has-text.sc-z-button z-icon.sc-z-button{--z-icon-right-margin:var(--space-unit)}[size=\"big\"].sc-z-button-h .z-button--container.sc-z-button{min-width:44px;height:44px}[size=\"small\"].sc-z-button-h .z-button--container.sc-z-button{min-width:36px;height:36px}[size=\"x-small\"].sc-z-button-h .z-button--container.sc-z-button{min-width:32px;height:32px}[variant=\"primary\"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary01);background-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){[variant=\"primary\"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-hover-primary);background-color:var(--color-hover-primary);color:var(--color-text-inverse)}}[variant=\"primary\"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-pressed-primary);background-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-text-inverse)}[variant=\"primary\"][disabled].sc-z-button-h:not([disabled=\"false\"]) .z-button--container.sc-z-button{border-color:var(--color-disabled01);background-color:var(--color-disabled01);color:var(--color-disabled02)}[variant=\"secondary\"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary01);background-color:var(--color-surface01);color:var(--color-primary01)}@media (hover: hover){[variant=\"secondary\"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-hover-primary);background-color:var(--color-surface01);color:var(--color-hover-primary)}}[variant=\"secondary\"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-pressed-primary);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-pressed-primary)}[variant=\"secondary\"][disabled].sc-z-button-h:not([disabled=\"false\"]) .z-button--container.sc-z-button{border-color:var(--color-disabled01);background-color:var(--color-surface01);color:var(--color-disabled02)}[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button{border-color:transparent;background-color:transparent;color:var(--color-primary01)}@media (hover: hover){[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-primary03);background-color:var(--color-primary03);color:var(--color-hover-primary)}}[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{border-color:var(--color-surface01);background-color:var(--color-surface01);color:var(--color-primary01)}[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-surface01);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-primary01)}[variant=\"tertiary\"][disabled].sc-z-button-h:not([disabled=\"false\"]) .z-button--container.sc-z-button{border-color:transparent;background-color:transparent;color:var(--color-disabled02)}";
|
|
8
9
|
|
|
9
10
|
const ZButton = class {
|
|
10
11
|
constructor(hostRef) {
|
|
11
12
|
index.registerInstance(this, hostRef);
|
|
13
|
+
/** defines a string value that labels an interactive element, used for accessibility. */
|
|
12
14
|
this.ariaLabel = "";
|
|
13
|
-
|
|
14
|
-
this.target = undefined;
|
|
15
|
-
this.htmlid = undefined;
|
|
16
|
-
this.name = undefined;
|
|
15
|
+
/** HTML button disabled attribute. */
|
|
17
16
|
this.disabled = false;
|
|
18
|
-
|
|
19
|
-
this.
|
|
20
|
-
|
|
21
|
-
this.
|
|
17
|
+
/** HTML button type attribute. */
|
|
18
|
+
this.type = index$1.ButtonType.BUTTON;
|
|
19
|
+
/** Graphical variant: `primary`, `secondary`, `tertiary`. Defaults to `primary`. */
|
|
20
|
+
this.variant = index$1.ButtonVariant.PRIMARY;
|
|
21
|
+
/** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */
|
|
22
|
+
this.size = index$1.ButtonSize.BIG;
|
|
22
23
|
}
|
|
23
24
|
getAttributes() {
|
|
24
25
|
return {
|
|
@@ -3,6 +3,7 @@
|
|
|
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');
|
|
6
7
|
|
|
7
8
|
const stylesCss = ":host{--aspect-ratio:1.62;--z-card--border-color:var(--gray200);--z-card--color-cover-background:var(--color-surface01);--z-card--text-background:var(--color-surface01);--z-card--text-border-radius:none;--z-card--text-border:none;position:relative;display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}*,::slotted(*){box-sizing:border-box}:host(:not([variant=\"overlay\"])) .cover-container{position:relative;width:100%}.cover-container{padding-bottom:calc(100% / var(--aspect-ratio))}::slotted([slot=\"cover\"]),.color-cover{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.cover-container>z-icon{--z-icon-width:calc(var(--space-unit) * 11);--z-icon-height:var(--z-icon-width);position:absolute;top:calc(50% - calc(var(--z-icon-height) / 2));left:calc(50% - calc(var(--z-icon-width) / 2));fill:var(--color-primary01)}.color-cover{background-color:var(--z-card--color-cover-background)}.content{display:flex;flex-direction:column;padding-top:var(--space-unit)}.color-cover .cover-content{display:flex;height:100%;flex-direction:column;justify-content:flex-end;padding:var(--space-unit)}::slotted([slot=\"metadata\"]),::slotted([slot=\"title\"]),::slotted([slot=\"text\"]){display:box;overflow:hidden;-webkit-box-orient:vertical}::slotted([slot=\"title\"]:not(:last-child)),::slotted([slot=\"text\"]:not(:last-child)){margin-bottom:var(--space-unit)}::slotted([slot=\"text\"]),::slotted([slot=\"actions\"]){margin:0}::slotted([slot=\"metadata\"]:not(:last-child)){margin:0 0 calc(var(--space-unit) * 0.25);-webkit-line-clamp:1;text-transform:uppercase}::slotted([slot=\"title\"]){margin:0;font-weight:var(--font-sb);-webkit-line-clamp:2}::slotted([slot=\"text\"]){-webkit-line-clamp:3}.actions{display:flex;flex-direction:row;align-items:center}::slotted([slot=\"action\"]:not(:last-child)){margin-right:calc(var(--space-unit) * 1.5)}:host([clickable]){cursor:pointer}:host([clickable]:focus:focus-visible){outline:none}:host(:not([variant])[clickable]:focus:focus-visible){padding:calc(var(--space-unit) * 0.5);box-shadow:var(--shadow-focus-primary)}:host([variant=\"text\"]){border:var(--z-card--text-border);background-color:var(--z-card--text-background);border-radius:var(--z-card--text-border-radius)}:host([showshadow])>.content,:host([variant=\"border\"])>.content,:host([variant=\"shadow\"])>.content{height:100%;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2)}:host([variant=\"text\"])>.content{padding:calc(var(--space-unit) * 2) var(--space-unit)}:host([variant=\"border\"]) .actions,:host([variant=\"shadow\"]) .actions{margin-top:auto}:host([variant=\"border\"]){border:var(--border-size-small) solid var(--z-card--border-color)}:host([variant=\"border\"][clickable]:hover)>.content{background:var(--color-background)}:host([variant=\"border\"][clickable]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant=\"border\"][clickable]:active){border-color:transparent}:host([variant=\"shadow\"]),:host([showshadow]){box-shadow:var(--shadow-2)}:host([variant=\"shadow\"][clickable]:hover),:host([clickable][showshadow]:hover){box-shadow:var(--shadow-4)}:host([variant=\"shadow\"][clickable]:focus:focus-visible),:host([clickable][showshadow]:focus:focus-visible){box-shadow:var(--shadow-4)}:host([variant=\"shadow\"][clickable]:active),:host([clickable][showshadow]:active){box-shadow:none}:host([variant=\"overlay\"]) .content{position:absolute;top:0;right:0;bottom:0;left:0;justify-content:flex-end;padding:var(--space-unit);background-image:linear-gradient(to top, rgb(0 0 0 / 100%), rgb(0 0 0 / 0%));color:var(--color-text-inverse);fill:var(--color-text-inverse)}";
|
|
8
9
|
|
|
@@ -10,11 +11,10 @@ const ZCard = class {
|
|
|
10
11
|
constructor(hostRef) {
|
|
11
12
|
index.registerInstance(this, hostRef);
|
|
12
13
|
this.cardClicked = index.createEvent(this, "cardClicked", 7);
|
|
13
|
-
|
|
14
|
-
this.coverIcon = undefined;
|
|
14
|
+
/** Enable click interactions on the card. Default: false */
|
|
15
15
|
this.clickable = false;
|
|
16
|
+
/** Enable shadow. Default: false. */
|
|
16
17
|
this.showshadow = false;
|
|
17
|
-
this.hasCoverImage = undefined;
|
|
18
18
|
}
|
|
19
19
|
onClick(ev) {
|
|
20
20
|
// Do nothing for clicks on actions.
|
|
@@ -48,13 +48,13 @@ const ZCard = class {
|
|
|
48
48
|
return (index.h("div", { class: "content" }, index.h("slot", { name: "metadata" }), index.h("slot", { name: "title" }), index.h("slot", { name: "text" }), index.h("div", { class: "actions" }, index.h("slot", { name: "action" }))));
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
if (this.variant ===
|
|
51
|
+
if (this.variant === index$1.CardVariant.TEXT) {
|
|
52
52
|
return index.h(index.Host, null, this.renderContentDiv());
|
|
53
53
|
}
|
|
54
|
-
if (this.variant ===
|
|
54
|
+
if (this.variant === index$1.CardVariant.OVERLAY || this.hasCoverImage) {
|
|
55
55
|
return (index.h(index.Host, null, index.h("div", { class: "cover-container" }, this.hasCoverImage && [
|
|
56
56
|
index.h("slot", { name: "cover" }),
|
|
57
|
-
this.variant !==
|
|
57
|
+
this.variant !== index$1.CardVariant.OVERLAY && this.coverIcon && index.h("z-icon", { name: this.coverIcon }),
|
|
58
58
|
], !this.hasCoverImage && index.h("div", { class: "color-cover" })), this.renderContentDiv()));
|
|
59
59
|
}
|
|
60
60
|
return index.h(index.Host, null, this.renderColorCoverCard());
|