@zanichelli/albe-web-components 17.0.3 → 17.0.5-RC1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/cjs/index-0b836780.js +21 -0
- package/dist/cjs/index-0b836780.js.map +1 -0
- package/dist/cjs/index-32d5273a.js +21 -0
- package/dist/cjs/index-32d5273a.js.map +1 -0
- package/dist/cjs/index-6c84c7e8.js +47 -0
- package/dist/cjs/index-6c84c7e8.js.map +1 -0
- package/dist/cjs/index-72dcc0c1.js +67 -0
- package/dist/cjs/index-72dcc0c1.js.map +1 -0
- package/dist/cjs/index-b69475c3.js +20 -0
- package/dist/cjs/index-b69475c3.js.map +1 -0
- package/dist/cjs/index-c286015f.js +59 -0
- package/dist/cjs/index-c286015f.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-accordion.cjs.entry.js +1 -1
- package/dist/cjs/z-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +1 -1
- package/dist/cjs/z-app-header_12.cjs.entry.js +19 -20
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/z-book-card-app.cjs.entry.js +2 -2
- package/dist/cjs/z-book-card-app.cjs.entry.js.map +1 -1
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +1 -1
- package/dist/cjs/z-book-card.cjs.entry.js +2 -2
- package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -1
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-card.cjs.entry.js.map +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js.map +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/z-combobox.cjs.entry.js +1 -1
- package/dist/cjs/z-combobox.cjs.entry.js.map +1 -1
- package/dist/cjs/z-cover-hero.cjs.entry.js +1 -1
- package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +6 -4
- package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +2 -2
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
- package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -1
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-box.cjs.entry.js.map +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -1
- package/dist/cjs/z-menu-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +1 -1
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +1 -1
- package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -1
- package/dist/cjs/z-menu.cjs.entry.js +1 -1
- package/dist/cjs/z-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-list.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-card_4.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-notification.cjs.entry.js.map +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.cjs.entry.js.map +1 -1
- package/dist/cjs/z-pagination.cjs.entry.js +1 -1
- package/dist/cjs/z-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
- package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -1
- package/dist/cjs/z-popover.cjs.entry.js +1 -1
- package/dist/cjs/z-popover.cjs.entry.js.map +1 -1
- package/dist/cjs/z-range-picker.cjs.entry.js +1 -1
- package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-section-title.cjs.entry.js.map +1 -1
- package/dist/cjs/z-select.cjs.entry.js +27 -35
- package/dist/cjs/z-select.cjs.entry.js.map +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -1
- package/dist/cjs/z-slideshow.cjs.entry.js +1 -1
- package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -1
- package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -1
- package/dist/cjs/z-stepper.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/z-table.cjs.entry.js +7 -7
- package/dist/cjs/z-table.cjs.entry.js.map +1 -1
- package/dist/cjs/z-tbody.cjs.entry.js +1 -1
- package/dist/cjs/z-td.cjs.entry.js +1 -1
- package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
- package/dist/cjs/z-th.cjs.entry.js +1 -1
- package/dist/cjs/z-thead.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
- package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/z-tr.cjs.entry.js +3 -3
- package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/cjs/z-visually-hidden.cjs.entry.js.map +1 -1
- package/dist/collection/components/date-picker/z-date-picker/index.js +41 -3
- package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -1
- package/dist/collection/components/date-picker/z-date-picker/index.stories.js +17 -5
- package/dist/collection/components/date-picker/z-date-picker/index.stories.js.map +1 -1
- package/dist/collection/components/z-anchor-navigation/index.stories.js +16 -4
- package/dist/collection/components/z-anchor-navigation/index.stories.js.map +1 -1
- package/dist/collection/components/z-anchor-navigation/styles.css +7 -4
- package/dist/collection/components/z-input/index.js +9 -11
- package/dist/collection/components/z-input/index.js.map +1 -1
- package/dist/collection/components/z-input/index.stories.js +21 -21
- package/dist/collection/components/z-input/index.stories.js.map +1 -1
- package/dist/collection/components/z-input/styles.css +97 -75
- package/dist/collection/components/z-input-message/index.js +19 -1
- package/dist/collection/components/z-input-message/index.js.map +1 -1
- package/dist/collection/components/z-input-message/styles.css +9 -4
- package/dist/collection/components/z-pagination/styles.css +7 -11
- package/dist/collection/components/z-select/index.js +27 -35
- package/dist/collection/components/z-select/index.js.map +1 -1
- package/dist/collection/components/z-select/styles.css +18 -17
- package/dist/components/index10.js +1 -1
- package/dist/components/index10.js.map +1 -1
- package/dist/components/index11.js +10 -12
- package/dist/components/index11.js.map +1 -1
- package/dist/components/index12.js +4 -2
- package/dist/components/index12.js.map +1 -1
- package/dist/components/index13.js +1 -1
- package/dist/components/index13.js.map +1 -1
- package/dist/components/index14.js +1 -1
- package/dist/components/index14.js.map +1 -1
- package/dist/components/index16.js +1 -1
- package/dist/components/index16.js.map +1 -1
- package/dist/components/index17.js +1 -1
- package/dist/components/index17.js.map +1 -1
- package/dist/components/index18.js +1 -1
- package/dist/components/index18.js.map +1 -1
- package/dist/components/index19.js +1 -1
- package/dist/components/index19.js.map +1 -1
- package/dist/components/index20.js +1 -1
- package/dist/components/index20.js.map +1 -1
- package/dist/components/index21.js +1 -1
- package/dist/components/index21.js.map +1 -1
- package/dist/components/index22.js +1 -1
- package/dist/components/index22.js.map +1 -1
- package/dist/components/index23.js +1 -1
- package/dist/components/index23.js.map +1 -1
- package/dist/components/index24.js +1 -1
- package/dist/components/index24.js.map +1 -1
- package/dist/components/index25.js +1 -1
- package/dist/components/index25.js.map +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index3.js.map +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/index4.js.map +1 -1
- package/dist/components/index5.js +1 -1
- package/dist/components/index5.js.map +1 -1
- package/dist/components/index7.js +1 -1
- package/dist/components/index7.js.map +1 -1
- package/dist/components/index8.js +1 -1
- package/dist/components/index8.js.map +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/z-accordion.js +1 -1
- package/dist/components/z-accordion.js.map +1 -1
- package/dist/components/z-anchor-navigation.js +1 -1
- package/dist/components/z-anchor-navigation.js.map +1 -1
- package/dist/components/z-app-header-deprecated.js +1 -1
- package/dist/components/z-app-header-deprecated.js.map +1 -1
- package/dist/components/z-app-header.js +1 -1
- package/dist/components/z-app-header.js.map +1 -1
- package/dist/components/z-avatar.js +1 -1
- package/dist/components/z-avatar.js.map +1 -1
- package/dist/components/z-book-card-app.js +2 -2
- package/dist/components/z-book-card-app.js.map +1 -1
- package/dist/components/z-book-card-deprecated.js +1 -1
- package/dist/components/z-book-card-deprecated.js.map +1 -1
- package/dist/components/z-book-card.js +2 -2
- package/dist/components/z-book-card.js.map +1 -1
- package/dist/components/z-breadcrumb.js +1 -1
- package/dist/components/z-breadcrumb.js.map +1 -1
- package/dist/components/z-button-sort.js +1 -1
- package/dist/components/z-button-sort.js.map +1 -1
- package/dist/components/z-card.js +1 -1
- package/dist/components/z-card.js.map +1 -1
- package/dist/components/z-carousel.js +1 -1
- package/dist/components/z-carousel.js.map +1 -1
- package/dist/components/z-combobox.js +1 -1
- package/dist/components/z-combobox.js.map +1 -1
- package/dist/components/z-cover-hero.js +1 -1
- package/dist/components/z-cover-hero.js.map +1 -1
- package/dist/components/z-date-picker.js +8 -4
- package/dist/components/z-date-picker.js.map +1 -1
- package/dist/components/z-file-upload.js +1 -1
- package/dist/components/z-file-upload.js.map +1 -1
- package/dist/components/z-info-box.js +1 -1
- package/dist/components/z-info-box.js.map +1 -1
- package/dist/components/z-menu-deprecated.js +1 -1
- package/dist/components/z-menu-deprecated.js.map +1 -1
- package/dist/components/z-menu-section-deprecated.js +1 -1
- package/dist/components/z-menu-section-deprecated.js.map +1 -1
- package/dist/components/z-menu-section.js +1 -1
- package/dist/components/z-menu-section.js.map +1 -1
- package/dist/components/z-menu.js +1 -1
- package/dist/components/z-menu.js.map +1 -1
- package/dist/components/z-myz-card-alert.js +1 -1
- package/dist/components/z-myz-card-alert.js.map +1 -1
- package/dist/components/z-myz-card-dictionary.js +1 -1
- package/dist/components/z-myz-card-dictionary.js.map +1 -1
- package/dist/components/z-myz-card-footer-sections.js +1 -1
- package/dist/components/z-myz-card-footer-sections.js.map +1 -1
- package/dist/components/z-myz-card-footer.js +1 -1
- package/dist/components/z-myz-card-footer.js.map +1 -1
- package/dist/components/z-myz-card-icon.js +1 -1
- package/dist/components/z-myz-card-icon.js.map +1 -1
- package/dist/components/z-myz-card-info.js +1 -1
- package/dist/components/z-myz-card-info.js.map +1 -1
- package/dist/components/z-myz-card-list.js +1 -1
- package/dist/components/z-myz-card-list.js.map +1 -1
- package/dist/components/z-navigation-tabs.js +1 -1
- package/dist/components/z-navigation-tabs.js.map +1 -1
- package/dist/components/z-notification.js +1 -1
- package/dist/components/z-notification.js.map +1 -1
- package/dist/components/z-otp.js +1 -1
- package/dist/components/z-otp.js.map +1 -1
- package/dist/components/z-pagination.js +1 -1
- package/dist/components/z-pagination.js.map +1 -1
- package/dist/components/z-panel-elem.js +1 -1
- package/dist/components/z-panel-elem.js.map +1 -1
- package/dist/components/z-range-picker.js +1 -1
- package/dist/components/z-range-picker.js.map +1 -1
- package/dist/components/z-section-title.js +1 -1
- package/dist/components/z-section-title.js.map +1 -1
- package/dist/components/z-select.js +28 -36
- package/dist/components/z-select.js.map +1 -1
- package/dist/components/z-skip-to-content.js +2 -2
- package/dist/components/z-skip-to-content.js.map +1 -1
- package/dist/components/z-slideshow.js +1 -1
- package/dist/components/z-slideshow.js.map +1 -1
- package/dist/components/z-stepper-item.js +1 -1
- package/dist/components/z-stepper-item.js.map +1 -1
- package/dist/components/z-stepper.js +1 -1
- package/dist/components/z-stepper.js.map +1 -1
- package/dist/components/z-table.js +1 -1
- package/dist/components/z-table.js.map +1 -1
- package/dist/components/z-tbody.js +1 -1
- package/dist/components/z-tbody.js.map +1 -1
- package/dist/components/z-td.js +1 -1
- package/dist/components/z-td.js.map +1 -1
- package/dist/components/z-tfoot.js +1 -1
- package/dist/components/z-tfoot.js.map +1 -1
- package/dist/components/z-th.js +1 -1
- package/dist/components/z-th.js.map +1 -1
- package/dist/components/z-thead.js +1 -1
- package/dist/components/z-thead.js.map +1 -1
- package/dist/components/z-toast-notification-list.js +1 -1
- package/dist/components/z-toast-notification-list.js.map +1 -1
- package/dist/components/z-toast-notification.js +1 -1
- package/dist/components/z-toast-notification.js.map +1 -1
- package/dist/components/z-toggle-button.js +1 -1
- package/dist/components/z-toggle-button.js.map +1 -1
- package/dist/components/z-toggle-switch.js +1 -1
- package/dist/components/z-toggle-switch.js.map +1 -1
- package/dist/components/z-tr.js +1 -1
- package/dist/components/z-tr.js.map +1 -1
- package/dist/components/z-visually-hidden.js +1 -1
- package/dist/components/z-visually-hidden.js.map +1 -1
- package/dist/esm/index-08bf4c13.js +18 -0
- package/dist/esm/index-08bf4c13.js.map +1 -0
- package/dist/esm/index-2a6f56f8.js +65 -0
- package/dist/esm/index-2a6f56f8.js.map +1 -0
- package/dist/esm/index-2d88cd2a.js +19 -0
- package/dist/esm/index-2d88cd2a.js.map +1 -0
- package/dist/esm/index-72c3946c.js +19 -0
- package/dist/esm/index-72c3946c.js.map +1 -0
- package/dist/esm/index-821e1d1c.js +57 -0
- package/dist/esm/index-821e1d1c.js.map +1 -0
- package/dist/esm/index-fd99721b.js +45 -0
- package/dist/esm/index-fd99721b.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/utils-b924649f.js +115 -0
- package/dist/esm/utils-b924649f.js.map +1 -0
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-accordion.entry.js +1 -1
- package/dist/esm/z-accordion.entry.js.map +1 -1
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-alert.entry.js.map +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/esm/z-anchor-navigation.entry.js.map +1 -1
- package/dist/esm/z-app-header-deprecated.entry.js +1 -1
- package/dist/esm/z-app-header-deprecated.entry.js.map +1 -1
- package/dist/esm/z-app-header_12.entry.js +20 -21
- package/dist/esm/z-app-header_12.entry.js.map +1 -1
- package/dist/esm/z-avatar.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js.map +1 -1
- package/dist/esm/z-book-card-app.entry.js +2 -2
- package/dist/esm/z-book-card-app.entry.js.map +1 -1
- package/dist/esm/z-book-card-deprecated.entry.js +2 -2
- package/dist/esm/z-book-card-deprecated.entry.js.map +1 -1
- package/dist/esm/z-book-card.entry.js +2 -2
- package/dist/esm/z-book-card.entry.js.map +1 -1
- package/dist/esm/z-breadcrumb.entry.js +2 -2
- package/dist/esm/z-breadcrumb.entry.js.map +1 -1
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-button-sort.entry.js.map +1 -1
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-card.entry.js.map +1 -1
- package/dist/esm/z-carousel.entry.js +1 -1
- package/dist/esm/z-carousel.entry.js.map +1 -1
- package/dist/esm/z-chip.entry.js +1 -1
- package/dist/esm/z-chip.entry.js.map +1 -1
- package/dist/esm/z-combobox.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js.map +1 -1
- package/dist/esm/z-cover-hero.entry.js +1 -1
- package/dist/esm/z-cover-hero.entry.js.map +1 -1
- package/dist/esm/z-date-picker.entry.js +6 -4
- package/dist/esm/z-date-picker.entry.js.map +1 -1
- package/dist/esm/z-dragdrop-area_2.entry.js +2 -2
- package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -1
- package/dist/esm/z-file-upload.entry.js +1 -1
- package/dist/esm/z-file-upload.entry.js.map +1 -1
- package/dist/esm/z-ghost-loading.entry.js +1 -1
- package/dist/esm/z-ghost-loading.entry.js.map +1 -1
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-box.entry.js.map +1 -1
- package/dist/esm/z-info-reveal.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js.map +1 -1
- package/dist/esm/z-menu-deprecated.entry.js +1 -1
- package/dist/esm/z-menu-deprecated.entry.js.map +1 -1
- package/dist/esm/z-menu-section-deprecated.entry.js +1 -1
- package/dist/esm/z-menu-section-deprecated.entry.js.map +1 -1
- package/dist/esm/z-menu-section.entry.js +1 -1
- package/dist/esm/z-menu-section.entry.js.map +1 -1
- package/dist/esm/z-menu.entry.js +2 -2
- package/dist/esm/z-menu.entry.js.map +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js.map +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -1
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer-sections.entry.js.map +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js.map +1 -1
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-icon.entry.js.map +1 -1
- package/dist/esm/z-myz-card-info.entry.js +2 -2
- package/dist/esm/z-myz-card-info.entry.js.map +1 -1
- package/dist/esm/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card-list.entry.js.map +1 -1
- package/dist/esm/z-myz-card_4.entry.js +4 -4
- package/dist/esm/z-myz-card_4.entry.js.map +1 -1
- package/dist/esm/z-myz-list-item.entry.js +2 -2
- package/dist/esm/z-myz-list-item.entry.js.map +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
- package/dist/esm/z-notification.entry.js +1 -1
- package/dist/esm/z-notification.entry.js.map +1 -1
- package/dist/esm/z-otp.entry.js +1 -1
- package/dist/esm/z-otp.entry.js.map +1 -1
- package/dist/esm/z-pagination.entry.js +1 -1
- package/dist/esm/z-pagination.entry.js.map +1 -1
- package/dist/esm/z-panel-elem.entry.js +1 -1
- package/dist/esm/z-panel-elem.entry.js.map +1 -1
- package/dist/esm/z-popover.entry.js +1 -1
- package/dist/esm/z-popover.entry.js.map +1 -1
- package/dist/esm/z-range-picker.entry.js +1 -1
- package/dist/esm/z-range-picker.entry.js.map +1 -1
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-section-title.entry.js.map +1 -1
- package/dist/esm/z-select.entry.js +28 -36
- package/dist/esm/z-select.entry.js.map +1 -1
- package/dist/esm/z-skip-to-content.entry.js +2 -2
- package/dist/esm/z-skip-to-content.entry.js.map +1 -1
- package/dist/esm/z-slideshow.entry.js +2 -2
- package/dist/esm/z-slideshow.entry.js.map +1 -1
- package/dist/esm/z-stepper-item.entry.js +1 -1
- package/dist/esm/z-stepper-item.entry.js.map +1 -1
- package/dist/esm/z-stepper.entry.js +1 -1
- package/dist/esm/z-stepper.entry.js.map +1 -1
- package/dist/esm/z-table.entry.js +8 -8
- package/dist/esm/z-table.entry.js.map +1 -1
- package/dist/esm/z-tbody.entry.js +1 -1
- package/dist/esm/z-td.entry.js +1 -1
- package/dist/esm/z-tfoot.entry.js +1 -1
- package/dist/esm/z-th.entry.js +1 -1
- package/dist/esm/z-thead.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js.map +1 -1
- package/dist/esm/z-toast-notification.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js.map +1 -1
- package/dist/esm/z-toggle-button.entry.js +1 -1
- package/dist/esm/z-toggle-button.entry.js.map +1 -1
- package/dist/esm/z-toggle-switch.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js.map +1 -1
- package/dist/esm/z-tr.entry.js +4 -4
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/esm/z-visually-hidden.entry.js.map +1 -1
- package/dist/esm-es5/app-globals-0f993ce5.js +2 -0
- package/dist/esm-es5/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm-es5/breakpoints-d148bfde.js +2 -0
- package/dist/esm-es5/breakpoints-d148bfde.js.map +1 -0
- package/dist/esm-es5/index-08bf4c13.js +2 -0
- package/dist/esm-es5/index-08bf4c13.js.map +1 -0
- package/dist/esm-es5/index-2a6f56f8.js +2 -0
- package/dist/esm-es5/index-2a6f56f8.js.map +1 -0
- package/dist/esm-es5/index-2d88cd2a.js +2 -0
- package/dist/esm-es5/index-2d88cd2a.js.map +1 -0
- package/dist/esm-es5/index-72c3946c.js +2 -0
- package/dist/esm-es5/index-72c3946c.js.map +1 -0
- package/dist/esm-es5/index-821e1d1c.js +2 -0
- package/dist/esm-es5/index-821e1d1c.js.map +1 -0
- package/dist/esm-es5/index-c8ceadeb.js +2 -0
- package/dist/esm-es5/index-c8ceadeb.js.map +1 -0
- package/dist/esm-es5/index-ee40e66b.js +2 -0
- package/dist/esm-es5/index-ee40e66b.js.map +1 -0
- package/dist/esm-es5/index-fd99721b.js +2 -0
- package/dist/esm-es5/index-fd99721b.js.map +1 -0
- package/dist/esm-es5/index.js +2 -0
- package/dist/esm-es5/index.js.map +1 -0
- package/dist/esm-es5/loader.js +2 -0
- package/dist/esm-es5/loader.js.map +1 -0
- package/dist/esm-es5/utils-a31c16d9.js +2 -0
- package/dist/esm-es5/utils-a31c16d9.js.map +1 -0
- package/dist/esm-es5/utils-b924649f.js +2 -0
- package/dist/esm-es5/utils-b924649f.js.map +1 -0
- package/dist/esm-es5/web-components-library.js +2 -0
- package/dist/esm-es5/web-components-library.js.map +1 -0
- package/dist/esm-es5/z-accordion.entry.js +2 -0
- package/dist/esm-es5/z-accordion.entry.js.map +1 -0
- package/dist/esm-es5/z-alert.entry.js +2 -0
- package/dist/esm-es5/z-alert.entry.js.map +1 -0
- package/dist/esm-es5/z-anchor-navigation.entry.js +2 -0
- package/dist/esm-es5/z-anchor-navigation.entry.js.map +1 -0
- package/dist/esm-es5/z-app-header-deprecated.entry.js +2 -0
- package/dist/esm-es5/z-app-header-deprecated.entry.js.map +1 -0
- package/dist/esm-es5/z-app-header_12.entry.js +2 -0
- package/dist/esm-es5/z-app-header_12.entry.js.map +1 -0
- package/dist/esm-es5/z-aria-alert.entry.js +2 -0
- package/dist/esm-es5/z-aria-alert.entry.js.map +1 -0
- package/dist/esm-es5/z-avatar.entry.js +2 -0
- package/dist/esm-es5/z-avatar.entry.js.map +1 -0
- package/dist/esm-es5/z-book-card-app.entry.js +2 -0
- package/dist/esm-es5/z-book-card-app.entry.js.map +1 -0
- package/dist/esm-es5/z-book-card-deprecated.entry.js +2 -0
- package/dist/esm-es5/z-book-card-deprecated.entry.js.map +1 -0
- package/dist/esm-es5/z-book-card.entry.js +2 -0
- package/dist/esm-es5/z-book-card.entry.js.map +1 -0
- package/dist/esm-es5/z-breadcrumb.entry.js +2 -0
- package/dist/esm-es5/z-breadcrumb.entry.js.map +1 -0
- package/dist/esm-es5/z-button-sort.entry.js +2 -0
- package/dist/esm-es5/z-button-sort.entry.js.map +1 -0
- package/dist/esm-es5/z-card.entry.js +2 -0
- package/dist/esm-es5/z-card.entry.js.map +1 -0
- package/dist/esm-es5/z-carousel.entry.js +2 -0
- package/dist/esm-es5/z-carousel.entry.js.map +1 -0
- package/dist/esm-es5/z-chip.entry.js +2 -0
- package/dist/esm-es5/z-chip.entry.js.map +1 -0
- package/dist/esm-es5/z-combobox.entry.js +2 -0
- package/dist/esm-es5/z-combobox.entry.js.map +1 -0
- package/dist/esm-es5/z-cover-hero.entry.js +2 -0
- package/dist/esm-es5/z-cover-hero.entry.js.map +1 -0
- package/dist/esm-es5/z-date-picker.entry.js +17 -0
- package/dist/esm-es5/z-date-picker.entry.js.map +1 -0
- package/dist/esm-es5/z-dragdrop-area_2.entry.js +2 -0
- package/dist/esm-es5/z-dragdrop-area_2.entry.js.map +1 -0
- package/dist/esm-es5/z-file-upload.entry.js +2 -0
- package/dist/esm-es5/z-file-upload.entry.js.map +1 -0
- package/dist/esm-es5/z-file.entry.js +2 -0
- package/dist/esm-es5/z-file.entry.js.map +1 -0
- package/dist/esm-es5/z-ghost-loading.entry.js +2 -0
- package/dist/esm-es5/z-ghost-loading.entry.js.map +1 -0
- package/dist/esm-es5/z-info-box.entry.js +2 -0
- package/dist/esm-es5/z-info-box.entry.js.map +1 -0
- package/dist/esm-es5/z-info-reveal.entry.js +2 -0
- package/dist/esm-es5/z-info-reveal.entry.js.map +1 -0
- package/dist/esm-es5/z-logo.entry.js +2 -0
- package/dist/esm-es5/z-logo.entry.js.map +1 -0
- package/dist/esm-es5/z-menu-deprecated.entry.js +2 -0
- package/dist/esm-es5/z-menu-deprecated.entry.js.map +1 -0
- package/dist/esm-es5/z-menu-section-deprecated.entry.js +2 -0
- package/dist/esm-es5/z-menu-section-deprecated.entry.js.map +1 -0
- package/dist/esm-es5/z-menu-section.entry.js +2 -0
- package/dist/esm-es5/z-menu-section.entry.js.map +1 -0
- package/dist/esm-es5/z-menu.entry.js +2 -0
- package/dist/esm-es5/z-menu.entry.js.map +1 -0
- package/dist/esm-es5/z-myz-card-alert.entry.js +2 -0
- package/dist/esm-es5/z-myz-card-alert.entry.js.map +1 -0
- package/dist/esm-es5/z-myz-card-dictionary.entry.js +2 -0
- package/dist/esm-es5/z-myz-card-dictionary.entry.js.map +1 -0
- package/dist/esm-es5/z-myz-card-footer-sections.entry.js +2 -0
- package/dist/esm-es5/z-myz-card-footer-sections.entry.js.map +1 -0
- package/dist/esm-es5/z-myz-card-footer.entry.js +2 -0
- package/dist/esm-es5/z-myz-card-footer.entry.js.map +1 -0
- package/dist/esm-es5/z-myz-card-icon.entry.js +2 -0
- package/dist/esm-es5/z-myz-card-icon.entry.js.map +1 -0
- package/dist/esm-es5/z-myz-card-info.entry.js +2 -0
- package/dist/esm-es5/z-myz-card-info.entry.js.map +1 -0
- package/dist/esm-es5/z-myz-card-list.entry.js +2 -0
- package/dist/esm-es5/z-myz-card-list.entry.js.map +1 -0
- package/dist/esm-es5/z-myz-card_4.entry.js +2 -0
- package/dist/esm-es5/z-myz-card_4.entry.js.map +1 -0
- package/dist/esm-es5/z-myz-list-item.entry.js +2 -0
- package/dist/esm-es5/z-myz-list-item.entry.js.map +1 -0
- package/dist/esm-es5/z-myz-list.entry.js +2 -0
- package/dist/esm-es5/z-myz-list.entry.js.map +1 -0
- package/dist/esm-es5/z-navigation-tabs.entry.js +2 -0
- package/dist/esm-es5/z-navigation-tabs.entry.js.map +1 -0
- package/dist/esm-es5/z-notification.entry.js +2 -0
- package/dist/esm-es5/z-notification.entry.js.map +1 -0
- package/dist/esm-es5/z-otp.entry.js +2 -0
- package/dist/esm-es5/z-otp.entry.js.map +1 -0
- package/dist/esm-es5/z-pagination.entry.js +2 -0
- package/dist/esm-es5/z-pagination.entry.js.map +1 -0
- package/dist/esm-es5/z-panel-elem.entry.js +2 -0
- package/dist/esm-es5/z-panel-elem.entry.js.map +1 -0
- package/dist/esm-es5/z-popover.entry.js +2 -0
- package/dist/esm-es5/z-popover.entry.js.map +1 -0
- package/dist/esm-es5/z-range-picker.entry.js +2 -0
- package/dist/esm-es5/z-range-picker.entry.js.map +1 -0
- package/dist/esm-es5/z-section-title.entry.js +2 -0
- package/dist/esm-es5/z-section-title.entry.js.map +1 -0
- package/dist/esm-es5/z-select.entry.js +2 -0
- package/dist/esm-es5/z-select.entry.js.map +1 -0
- package/dist/esm-es5/z-skip-to-content.entry.js +2 -0
- package/dist/esm-es5/z-skip-to-content.entry.js.map +1 -0
- package/dist/esm-es5/z-slideshow.entry.js +2 -0
- package/dist/esm-es5/z-slideshow.entry.js.map +1 -0
- package/dist/esm-es5/z-stepper-item.entry.js +2 -0
- package/dist/esm-es5/z-stepper-item.entry.js.map +1 -0
- package/dist/esm-es5/z-stepper.entry.js +2 -0
- package/dist/esm-es5/z-stepper.entry.js.map +1 -0
- package/dist/esm-es5/z-table.entry.js +2 -0
- package/dist/esm-es5/z-table.entry.js.map +1 -0
- package/dist/esm-es5/z-tbody.entry.js +2 -0
- package/dist/esm-es5/z-td.entry.js +2 -0
- package/dist/esm-es5/z-tfoot.entry.js +2 -0
- package/dist/esm-es5/z-th.entry.js +2 -0
- package/dist/esm-es5/z-thead.entry.js +2 -0
- package/dist/esm-es5/z-toast-notification-list.entry.js +2 -0
- package/dist/esm-es5/z-toast-notification-list.entry.js.map +1 -0
- package/dist/esm-es5/z-toast-notification.entry.js +7 -0
- package/dist/esm-es5/z-toast-notification.entry.js.map +1 -0
- package/dist/esm-es5/z-toggle-button.entry.js +2 -0
- package/dist/esm-es5/z-toggle-button.entry.js.map +1 -0
- package/dist/esm-es5/z-toggle-switch.entry.js +2 -0
- package/dist/esm-es5/z-toggle-switch.entry.js.map +1 -0
- package/dist/esm-es5/z-tooltip.entry.js +2 -0
- package/dist/esm-es5/z-tooltip.entry.js.map +1 -0
- package/dist/esm-es5/z-tr.entry.js +2 -0
- package/dist/esm-es5/z-visually-hidden.entry.js +2 -0
- package/dist/esm-es5/z-visually-hidden.entry.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +4 -0
- package/dist/types/components/z-input-message/index.d.ts +2 -0
- package/dist/types/components/z-select/index.d.ts +1 -1
- package/dist/types/components.d.ts +24 -0
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-01faaaa7.system.entry.js +17 -0
- package/dist/web-components-library/p-01faaaa7.system.entry.js.map +1 -0
- package/dist/web-components-library/p-05a8064b.entry.js +2 -0
- package/dist/web-components-library/p-05a8064b.entry.js.map +1 -0
- package/dist/web-components-library/p-063aebfd.entry.js +2 -0
- package/dist/web-components-library/p-063aebfd.entry.js.map +1 -0
- package/dist/web-components-library/p-0a70ea7f.system.entry.js +2 -0
- package/dist/web-components-library/p-0a70ea7f.system.entry.js.map +1 -0
- package/dist/web-components-library/p-0a83d2cf.system.entry.js +2 -0
- package/dist/web-components-library/p-0a83d2cf.system.entry.js.map +1 -0
- package/dist/web-components-library/p-0aa064b4.entry.js +2 -0
- package/dist/web-components-library/p-0aa064b4.entry.js.map +1 -0
- package/dist/web-components-library/p-0ace83e2.entry.js +2 -0
- package/dist/web-components-library/p-0ace83e2.entry.js.map +1 -0
- package/dist/web-components-library/p-0acf5b47.entry.js +2 -0
- package/dist/web-components-library/p-0d6659f0.system.entry.js +2 -0
- package/dist/web-components-library/p-0d6659f0.system.entry.js.map +1 -0
- package/dist/web-components-library/p-0dcf996a.system.entry.js +2 -0
- package/dist/web-components-library/p-0dcf996a.system.entry.js.map +1 -0
- package/dist/web-components-library/p-13eadea8.entry.js +2 -0
- package/dist/web-components-library/p-13eadea8.entry.js.map +1 -0
- package/dist/web-components-library/p-1504b323.system.entry.js +7 -0
- package/dist/web-components-library/p-1504b323.system.entry.js.map +1 -0
- package/dist/web-components-library/p-15b6e0ab.system.entry.js +2 -0
- package/dist/web-components-library/p-15b6e0ab.system.entry.js.map +1 -0
- package/dist/web-components-library/p-1756ee1f.system.js +2 -0
- package/dist/web-components-library/p-1756ee1f.system.js.map +1 -0
- package/dist/web-components-library/p-18451749.entry.js +2 -0
- package/dist/web-components-library/p-1d8d2a3a.entry.js +2 -0
- package/dist/web-components-library/p-1d8d2a3a.entry.js.map +1 -0
- package/dist/web-components-library/p-1dbff73f.system.entry.js +2 -0
- package/dist/web-components-library/p-1dbff73f.system.entry.js.map +1 -0
- package/dist/web-components-library/p-1edba67a.entry.js +2 -0
- package/dist/web-components-library/p-1f9c2ffe.entry.js +2 -0
- package/dist/web-components-library/p-1f9c2ffe.entry.js.map +1 -0
- package/dist/web-components-library/p-1fbedccf.entry.js +2 -0
- package/dist/web-components-library/p-1fbedccf.entry.js.map +1 -0
- package/dist/web-components-library/p-2070676f.system.js +2 -0
- package/dist/web-components-library/p-2070676f.system.js.map +1 -0
- package/dist/web-components-library/p-23845bda.js +2 -0
- package/dist/web-components-library/p-23845bda.js.map +1 -0
- package/dist/web-components-library/p-263656b9.entry.js +2 -0
- package/dist/web-components-library/p-263656b9.entry.js.map +1 -0
- package/dist/web-components-library/p-26f0caa2.entry.js +2 -0
- package/dist/web-components-library/p-26f0caa2.entry.js.map +1 -0
- package/dist/web-components-library/p-2738b33e.system.entry.js +2 -0
- package/dist/web-components-library/p-2738b33e.system.entry.js.map +1 -0
- package/dist/web-components-library/p-290e0806.system.entry.js +2 -0
- package/dist/web-components-library/p-290e0806.system.entry.js.map +1 -0
- package/dist/web-components-library/p-29735d58.system.entry.js +2 -0
- package/dist/web-components-library/p-29735d58.system.entry.js.map +1 -0
- package/dist/web-components-library/p-2e0c2a2e.system.entry.js +2 -0
- package/dist/web-components-library/p-2e0c2a2e.system.entry.js.map +1 -0
- package/dist/web-components-library/p-328b5a16.system.entry.js +2 -0
- package/dist/web-components-library/p-328b5a16.system.entry.js.map +1 -0
- package/dist/web-components-library/p-33650038.system.entry.js +2 -0
- package/dist/web-components-library/p-33650038.system.entry.js.map +1 -0
- package/dist/web-components-library/p-338d42fa.system.entry.js +2 -0
- package/dist/web-components-library/p-338d42fa.system.entry.js.map +1 -0
- package/dist/web-components-library/p-343f5b87.system.entry.js +2 -0
- package/dist/web-components-library/p-343f5b87.system.entry.js.map +1 -0
- package/dist/web-components-library/p-34e6e101.entry.js +2 -0
- package/dist/web-components-library/p-34e6e101.entry.js.map +1 -0
- package/dist/web-components-library/p-3a17cca0.entry.js +2 -0
- package/dist/web-components-library/p-3a17cca0.entry.js.map +1 -0
- package/dist/web-components-library/p-3a9cd12d.system.entry.js +2 -0
- package/dist/web-components-library/p-3b1f8c43.system.entry.js +2 -0
- package/dist/web-components-library/p-3b1f8c43.system.entry.js.map +1 -0
- package/dist/web-components-library/p-3b4f4d89.entry.js +2 -0
- package/dist/web-components-library/p-3b4f4d89.entry.js.map +1 -0
- package/dist/web-components-library/p-3ea11fb6.entry.js +2 -0
- package/dist/web-components-library/p-3ea11fb6.entry.js.map +1 -0
- package/dist/web-components-library/p-3f28e4b3.entry.js +2 -0
- package/dist/web-components-library/p-3f28e4b3.entry.js.map +1 -0
- package/dist/web-components-library/p-40f7fb7f.system.entry.js +2 -0
- package/dist/web-components-library/p-40f7fb7f.system.entry.js.map +1 -0
- package/dist/web-components-library/p-41c7a946.entry.js +2 -0
- package/dist/web-components-library/p-41c7a946.entry.js.map +1 -0
- package/dist/web-components-library/p-430213e0.system.entry.js +2 -0
- package/dist/web-components-library/p-430213e0.system.entry.js.map +1 -0
- package/dist/web-components-library/p-48690a96.system.entry.js +2 -0
- package/dist/web-components-library/p-48690a96.system.entry.js.map +1 -0
- package/dist/web-components-library/p-4c168e46.system.entry.js +2 -0
- package/dist/web-components-library/p-4c168e46.system.entry.js.map +1 -0
- package/dist/web-components-library/p-4e93c427.system.js +2 -0
- package/dist/web-components-library/p-4e93c427.system.js.map +1 -0
- package/dist/web-components-library/p-501d2d46.entry.js +2 -0
- package/dist/web-components-library/p-501d2d46.entry.js.map +1 -0
- package/dist/web-components-library/p-53385a6e.system.entry.js +2 -0
- package/dist/web-components-library/p-53385a6e.system.entry.js.map +1 -0
- package/dist/web-components-library/p-56ba5cbf.system.js +2 -0
- package/dist/web-components-library/p-56ba5cbf.system.js.map +1 -0
- package/dist/web-components-library/p-56ec1eba.entry.js +17 -0
- package/dist/web-components-library/p-56ec1eba.entry.js.map +1 -0
- package/dist/web-components-library/p-598b3b9b.js +2 -0
- package/dist/web-components-library/p-598b3b9b.js.map +1 -0
- package/dist/web-components-library/p-5d3f0716.system.entry.js +2 -0
- package/dist/web-components-library/p-5d3f0716.system.entry.js.map +1 -0
- package/dist/web-components-library/p-5f8bc3bf.entry.js +2 -0
- package/dist/web-components-library/p-5f8bc3bf.entry.js.map +1 -0
- package/dist/web-components-library/p-5fd6c3e8.entry.js +2 -0
- package/dist/web-components-library/p-5fd6c3e8.entry.js.map +1 -0
- package/dist/web-components-library/p-6091d82b.entry.js +2 -0
- package/dist/web-components-library/p-6091d82b.entry.js.map +1 -0
- package/dist/web-components-library/p-61ac7fad.entry.js +2 -0
- package/dist/web-components-library/p-626dceda.system.entry.js +2 -0
- package/dist/web-components-library/p-626dceda.system.entry.js.map +1 -0
- package/dist/web-components-library/p-672b4e09.system.js +2 -0
- package/dist/web-components-library/p-672b4e09.system.js.map +1 -0
- package/dist/web-components-library/p-67dc61ac.entry.js +2 -0
- package/dist/web-components-library/p-67dc61ac.entry.js.map +1 -0
- package/dist/web-components-library/p-6a5bd1ca.system.entry.js +2 -0
- package/dist/web-components-library/p-6b7ad4a6.system.entry.js +2 -0
- package/dist/web-components-library/p-6b7ad4a6.system.entry.js.map +1 -0
- package/dist/web-components-library/p-6c8761c6.system.js +2 -0
- package/dist/web-components-library/p-6c8761c6.system.js.map +1 -0
- package/dist/web-components-library/p-6cb70123.js +2 -0
- package/dist/web-components-library/p-6cb70123.js.map +1 -0
- package/dist/web-components-library/p-6ec93872.system.entry.js +2 -0
- package/dist/web-components-library/p-6ec93872.system.entry.js.map +1 -0
- package/dist/web-components-library/p-6f00cc14.entry.js +2 -0
- package/dist/web-components-library/p-6f00cc14.entry.js.map +1 -0
- package/dist/web-components-library/p-6f87ae17.system.entry.js +2 -0
- package/dist/web-components-library/p-6f87ae17.system.entry.js.map +1 -0
- package/dist/web-components-library/p-70270f39.entry.js +2 -0
- package/dist/web-components-library/p-70270f39.entry.js.map +1 -0
- package/dist/web-components-library/p-73a45e23.system.entry.js +2 -0
- package/dist/web-components-library/p-73a45e23.system.entry.js.map +1 -0
- package/dist/web-components-library/p-77630f04.entry.js +2 -0
- package/dist/web-components-library/p-77630f04.entry.js.map +1 -0
- package/dist/web-components-library/p-78e06322.system.entry.js +2 -0
- package/dist/web-components-library/p-78e06322.system.entry.js.map +1 -0
- package/dist/web-components-library/p-7a0bf87b.system.entry.js +2 -0
- package/dist/web-components-library/p-7a0bf87b.system.entry.js.map +1 -0
- package/dist/web-components-library/p-7b170476.system.entry.js +2 -0
- package/dist/web-components-library/p-7b170476.system.entry.js.map +1 -0
- package/dist/web-components-library/p-7d3cc549.entry.js +2 -0
- package/dist/web-components-library/p-7d3cc549.entry.js.map +1 -0
- package/dist/web-components-library/p-7e3c133b.entry.js +2 -0
- package/dist/web-components-library/p-7e3c133b.entry.js.map +1 -0
- package/dist/web-components-library/p-7ecc7bd5.system.entry.js +2 -0
- package/dist/web-components-library/p-7ecc7bd5.system.entry.js.map +1 -0
- package/dist/web-components-library/p-7ef7fe98.system.js +2 -0
- package/dist/web-components-library/p-7ef7fe98.system.js.map +1 -0
- package/dist/web-components-library/p-832bd78d.system.entry.js +2 -0
- package/dist/web-components-library/p-832bd78d.system.entry.js.map +1 -0
- package/dist/web-components-library/p-897d7c3a.system.entry.js +2 -0
- package/dist/web-components-library/p-897d7c3a.system.entry.js.map +1 -0
- package/dist/web-components-library/p-8ad7f11d.system.entry.js +2 -0
- package/dist/web-components-library/p-8ad7f11d.system.entry.js.map +1 -0
- package/dist/web-components-library/p-8c14e5ba.system.entry.js +2 -0
- package/dist/web-components-library/p-8c14e5ba.system.entry.js.map +1 -0
- package/dist/web-components-library/p-8d0d1234.entry.js +2 -0
- package/dist/web-components-library/p-8d0d1234.entry.js.map +1 -0
- package/dist/web-components-library/p-8e8c7916.system.entry.js +2 -0
- package/dist/web-components-library/p-8e8c7916.system.entry.js.map +1 -0
- package/dist/web-components-library/p-8efb3264.entry.js +2 -0
- package/dist/web-components-library/p-8efb3264.entry.js.map +1 -0
- package/dist/web-components-library/p-8fb9599b.system.entry.js +2 -0
- package/dist/web-components-library/p-8fb9599b.system.entry.js.map +1 -0
- package/dist/web-components-library/p-902d6ead.js +2 -0
- package/dist/web-components-library/p-902d6ead.js.map +1 -0
- package/dist/web-components-library/p-9109c157.system.entry.js +2 -0
- package/dist/web-components-library/p-9109c157.system.entry.js.map +1 -0
- package/dist/web-components-library/p-910a5027.entry.js +2 -0
- package/dist/web-components-library/p-910a5027.entry.js.map +1 -0
- package/dist/web-components-library/p-9249ffcb.system.entry.js +2 -0
- package/dist/web-components-library/p-9249ffcb.system.entry.js.map +1 -0
- package/dist/web-components-library/p-9681e90f.system.entry.js +2 -0
- package/dist/web-components-library/p-9681e90f.system.entry.js.map +1 -0
- package/dist/web-components-library/p-983b47eb.entry.js +2 -0
- package/dist/web-components-library/p-983b47eb.entry.js.map +1 -0
- package/dist/web-components-library/p-9908464a.entry.js +2 -0
- package/dist/web-components-library/p-9908464a.entry.js.map +1 -0
- package/dist/web-components-library/p-9967c6f5.system.entry.js +2 -0
- package/dist/web-components-library/p-9967c6f5.system.entry.js.map +1 -0
- package/dist/web-components-library/p-9a116bc8.system.entry.js +2 -0
- package/dist/web-components-library/p-9a116bc8.system.entry.js.map +1 -0
- package/dist/web-components-library/p-9b5108d9.entry.js +2 -0
- package/dist/web-components-library/p-9b5108d9.entry.js.map +1 -0
- package/dist/web-components-library/p-9ca6b55e.system.entry.js +2 -0
- package/dist/web-components-library/p-9ca6b55e.system.entry.js.map +1 -0
- package/dist/web-components-library/p-9def2eb3.entry.js +2 -0
- package/dist/web-components-library/p-9def2eb3.entry.js.map +1 -0
- package/dist/web-components-library/p-9eeb8788.system.entry.js +2 -0
- package/dist/web-components-library/p-9eeb8788.system.entry.js.map +1 -0
- package/dist/web-components-library/p-9ff4bf4e.entry.js +2 -0
- package/dist/web-components-library/p-9ff4bf4e.entry.js.map +1 -0
- package/dist/web-components-library/p-a0fb12bf.entry.js +2 -0
- package/dist/web-components-library/p-a0fb12bf.entry.js.map +1 -0
- package/dist/web-components-library/p-a10e0cb5.entry.js +2 -0
- package/dist/web-components-library/p-a10e0cb5.entry.js.map +1 -0
- package/dist/web-components-library/p-a12bd05d.system.entry.js +2 -0
- package/dist/web-components-library/p-a12bd05d.system.entry.js.map +1 -0
- package/dist/web-components-library/p-a1f945ac.system.entry.js +2 -0
- package/dist/web-components-library/p-a1f945ac.system.entry.js.map +1 -0
- package/dist/web-components-library/p-a7b5bca5.system.entry.js +2 -0
- package/dist/web-components-library/p-a7b5bca5.system.entry.js.map +1 -0
- package/dist/web-components-library/p-aa0b992c.system.entry.js +2 -0
- package/dist/web-components-library/p-aa0b992c.system.entry.js.map +1 -0
- package/dist/web-components-library/p-b3ea380b.system.js +3 -0
- package/dist/web-components-library/p-b3ea380b.system.js.map +1 -0
- package/dist/web-components-library/p-b5751929.entry.js +2 -0
- package/dist/web-components-library/p-b5751929.entry.js.map +1 -0
- package/dist/web-components-library/p-b7c10157.system.js +2 -0
- package/dist/web-components-library/p-b7c10157.system.js.map +1 -0
- package/dist/web-components-library/p-b8d8a6c5.entry.js +2 -0
- package/dist/web-components-library/p-b8d8a6c5.entry.js.map +1 -0
- package/dist/web-components-library/p-b8fa33e7.entry.js +2 -0
- package/dist/web-components-library/p-b8fa33e7.entry.js.map +1 -0
- package/dist/web-components-library/p-c01ba02c.entry.js +2 -0
- package/dist/web-components-library/p-c01ba02c.entry.js.map +1 -0
- package/dist/web-components-library/p-c276bd00.entry.js +2 -0
- package/dist/web-components-library/p-c276bd00.entry.js.map +1 -0
- package/dist/web-components-library/p-c3663cf8.system.entry.js +2 -0
- package/dist/web-components-library/p-c3663cf8.system.entry.js.map +1 -0
- package/dist/web-components-library/p-c4c0b36f.entry.js +2 -0
- package/dist/web-components-library/p-c4c0b36f.entry.js.map +1 -0
- package/dist/web-components-library/p-ca2e78a1.system.entry.js +2 -0
- package/dist/web-components-library/p-ca2e78a1.system.entry.js.map +1 -0
- package/dist/web-components-library/p-ca4d6aff.js +2 -0
- package/dist/web-components-library/p-ca4d6aff.js.map +1 -0
- package/dist/web-components-library/p-cad14780.system.entry.js +2 -0
- package/dist/web-components-library/p-cad14780.system.entry.js.map +1 -0
- package/dist/web-components-library/p-cd54d9f1.entry.js +2 -0
- package/dist/web-components-library/p-cd54d9f1.entry.js.map +1 -0
- package/dist/web-components-library/p-cfa332f9.system.entry.js +2 -0
- package/dist/web-components-library/p-cfa332f9.system.entry.js.map +1 -0
- package/dist/web-components-library/p-d30a546b.entry.js +2 -0
- package/dist/web-components-library/p-d30a546b.entry.js.map +1 -0
- package/dist/web-components-library/p-d484cdd5.entry.js +2 -0
- package/dist/web-components-library/p-d484cdd5.entry.js.map +1 -0
- package/dist/web-components-library/p-d91b26d9.system.js +2 -0
- package/dist/web-components-library/p-d91b26d9.system.js.map +1 -0
- package/dist/web-components-library/p-da3e9cc5.entry.js +2 -0
- package/dist/web-components-library/p-da3e9cc5.entry.js.map +1 -0
- package/dist/web-components-library/p-daa3d9e5.system.js +2 -0
- package/dist/web-components-library/p-daa3d9e5.system.js.map +1 -0
- package/dist/web-components-library/p-dbfecfaa.system.entry.js +2 -0
- package/dist/web-components-library/p-dbfecfaa.system.entry.js.map +1 -0
- package/dist/web-components-library/p-dc225ede.entry.js +2 -0
- package/dist/web-components-library/p-dc225ede.entry.js.map +1 -0
- package/dist/web-components-library/p-dd2c6f2d.entry.js +2 -0
- package/dist/web-components-library/p-dd2c6f2d.entry.js.map +1 -0
- package/dist/web-components-library/p-de4606c5.system.entry.js +2 -0
- package/dist/web-components-library/p-de4606c5.system.entry.js.map +1 -0
- package/dist/web-components-library/p-dfe7cb73.entry.js +2 -0
- package/dist/web-components-library/p-dfe7cb73.entry.js.map +1 -0
- package/dist/web-components-library/p-e03e6a78.system.entry.js +2 -0
- package/dist/web-components-library/p-e03e6a78.system.entry.js.map +1 -0
- package/dist/web-components-library/p-e2088242.entry.js +2 -0
- package/dist/web-components-library/p-e2088242.entry.js.map +1 -0
- package/dist/web-components-library/p-e37f51fe.entry.js +2 -0
- package/dist/web-components-library/p-e37f51fe.entry.js.map +1 -0
- package/dist/web-components-library/p-e429e855.system.entry.js +2 -0
- package/dist/web-components-library/p-e429e855.system.entry.js.map +1 -0
- package/dist/web-components-library/p-e616adb1.system.entry.js +2 -0
- package/dist/web-components-library/p-e616adb1.system.entry.js.map +1 -0
- package/dist/web-components-library/p-e691c0b8.js +2 -0
- package/dist/web-components-library/p-e7dbba78.system.js +2 -0
- package/dist/web-components-library/p-e7dbba78.system.js.map +1 -0
- package/dist/web-components-library/p-ebbe994e.system.entry.js +2 -0
- package/dist/web-components-library/p-ebbe994e.system.entry.js.map +1 -0
- package/dist/web-components-library/p-ed4197a3.entry.js +2 -0
- package/dist/web-components-library/p-ed4197a3.entry.js.map +1 -0
- package/dist/web-components-library/p-edda3257.entry.js +7 -0
- package/dist/web-components-library/p-edda3257.entry.js.map +1 -0
- package/dist/web-components-library/p-ef09664f.system.js +2 -0
- package/dist/web-components-library/p-ef09664f.system.js.map +1 -0
- package/dist/web-components-library/p-f1c506f4.system.entry.js +2 -0
- package/dist/web-components-library/p-f1c506f4.system.entry.js.map +1 -0
- package/dist/web-components-library/p-f2374b3f.system.entry.js +2 -0
- package/dist/web-components-library/p-f2374b3f.system.entry.js.map +1 -0
- package/dist/web-components-library/p-f675808e.system.js +2 -0
- package/dist/web-components-library/p-f675808e.system.js.map +1 -0
- package/dist/web-components-library/p-f7448d81.system.entry.js +2 -0
- package/dist/web-components-library/p-f7448d81.system.entry.js.map +1 -0
- package/dist/web-components-library/p-f777c4d3.entry.js +2 -0
- package/dist/web-components-library/p-f777c4d3.entry.js.map +1 -0
- package/dist/web-components-library/p-f88ada7f.js +2 -0
- package/dist/web-components-library/p-f88ada7f.js.map +1 -0
- package/dist/web-components-library/p-fc346ca5.entry.js +2 -0
- package/dist/web-components-library/p-fc346ca5.entry.js.map +1 -0
- package/dist/web-components-library/p-ff686d23.system.entry.js +2 -0
- package/dist/web-components-library/p-ff686d23.system.entry.js.map +1 -0
- package/dist/web-components-library/web-components-library.css +151 -72
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/dist/web-components-library/web-components-library.esm.js.map +1 -1
- package/dist/web-components-library/web-components-library.js +127 -0
- package/loader/cdn.js +2 -1
- package/loader/index.cjs.js +2 -1
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -1
- package/package.json +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/p-01faaaa7.system.entry.js +17 -0
- package/www/build/p-01faaaa7.system.entry.js.map +1 -0
- package/www/build/p-05a8064b.entry.js +2 -0
- package/www/build/p-05a8064b.entry.js.map +1 -0
- package/www/build/p-063aebfd.entry.js +2 -0
- package/www/build/p-063aebfd.entry.js.map +1 -0
- package/www/build/p-0a70ea7f.system.entry.js +2 -0
- package/www/build/p-0a70ea7f.system.entry.js.map +1 -0
- package/www/build/p-0a83d2cf.system.entry.js +2 -0
- package/www/build/p-0a83d2cf.system.entry.js.map +1 -0
- package/www/build/p-0aa064b4.entry.js +2 -0
- package/www/build/p-0aa064b4.entry.js.map +1 -0
- package/www/build/p-0ace83e2.entry.js +2 -0
- package/www/build/p-0ace83e2.entry.js.map +1 -0
- package/www/build/p-0acf5b47.entry.js +2 -0
- package/www/build/p-0acf5b47.entry.js.map +1 -0
- package/www/build/p-0c3d324c.css +2534 -0
- package/www/build/p-0d6659f0.system.entry.js +2 -0
- package/www/build/p-0d6659f0.system.entry.js.map +1 -0
- package/www/build/p-0dcf996a.system.entry.js +2 -0
- package/www/build/p-0dcf996a.system.entry.js.map +1 -0
- package/www/build/p-13eadea8.entry.js +2 -0
- package/www/build/p-13eadea8.entry.js.map +1 -0
- package/www/build/p-1504b323.system.entry.js +7 -0
- package/www/build/p-1504b323.system.entry.js.map +1 -0
- package/www/build/p-15b6e0ab.system.entry.js +2 -0
- package/www/build/p-15b6e0ab.system.entry.js.map +1 -0
- package/www/build/p-1756ee1f.system.js +2 -0
- package/www/build/p-1756ee1f.system.js.map +1 -0
- package/www/build/p-18451749.entry.js +2 -0
- package/www/build/p-18451749.entry.js.map +1 -0
- package/www/build/p-1d8d2a3a.entry.js +2 -0
- package/www/build/p-1d8d2a3a.entry.js.map +1 -0
- package/www/build/p-1dbff73f.system.entry.js +2 -0
- package/www/build/p-1dbff73f.system.entry.js.map +1 -0
- package/www/build/p-1edba67a.entry.js +2 -0
- package/www/build/p-1edba67a.entry.js.map +1 -0
- package/www/build/p-1f9c2ffe.entry.js +2 -0
- package/www/build/p-1f9c2ffe.entry.js.map +1 -0
- package/www/build/p-1fbedccf.entry.js +2 -0
- package/www/build/p-1fbedccf.entry.js.map +1 -0
- package/www/build/p-2070676f.system.js +2 -0
- package/www/build/p-2070676f.system.js.map +1 -0
- package/www/build/p-23845bda.js +2 -0
- package/www/build/p-23845bda.js.map +1 -0
- package/www/build/p-263656b9.entry.js +2 -0
- package/www/build/p-263656b9.entry.js.map +1 -0
- package/www/build/p-26f0caa2.entry.js +2 -0
- package/www/build/p-26f0caa2.entry.js.map +1 -0
- package/www/build/p-2738b33e.system.entry.js +2 -0
- package/www/build/p-2738b33e.system.entry.js.map +1 -0
- package/www/build/p-290e0806.system.entry.js +2 -0
- package/www/build/p-290e0806.system.entry.js.map +1 -0
- package/www/build/p-29735d58.system.entry.js +2 -0
- package/www/build/p-29735d58.system.entry.js.map +1 -0
- package/www/build/p-2e0c2a2e.system.entry.js +2 -0
- package/www/build/p-2e0c2a2e.system.entry.js.map +1 -0
- package/www/build/p-328b5a16.system.entry.js +2 -0
- package/www/build/p-328b5a16.system.entry.js.map +1 -0
- package/www/build/p-33650038.system.entry.js +2 -0
- package/www/build/p-33650038.system.entry.js.map +1 -0
- package/www/build/p-338d42fa.system.entry.js +2 -0
- package/www/build/p-338d42fa.system.entry.js.map +1 -0
- package/www/build/p-343f5b87.system.entry.js +2 -0
- package/www/build/p-343f5b87.system.entry.js.map +1 -0
- package/www/build/p-34e6e101.entry.js +2 -0
- package/www/build/p-34e6e101.entry.js.map +1 -0
- package/www/build/p-3a17cca0.entry.js +2 -0
- package/www/build/p-3a17cca0.entry.js.map +1 -0
- package/www/build/p-3a9cd12d.system.entry.js +2 -0
- package/www/build/p-3a9cd12d.system.entry.js.map +1 -0
- package/www/build/p-3b1f8c43.system.entry.js +2 -0
- package/www/build/p-3b1f8c43.system.entry.js.map +1 -0
- package/www/build/p-3b4f4d89.entry.js +2 -0
- package/www/build/p-3b4f4d89.entry.js.map +1 -0
- package/www/build/p-3ea11fb6.entry.js +2 -0
- package/www/build/p-3ea11fb6.entry.js.map +1 -0
- package/www/build/p-3f28e4b3.entry.js +2 -0
- package/www/build/p-3f28e4b3.entry.js.map +1 -0
- package/www/build/p-40f7fb7f.system.entry.js +2 -0
- package/www/build/p-40f7fb7f.system.entry.js.map +1 -0
- package/www/build/p-41c7a946.entry.js +2 -0
- package/www/build/p-41c7a946.entry.js.map +1 -0
- package/www/build/p-430213e0.system.entry.js +2 -0
- package/www/build/p-430213e0.system.entry.js.map +1 -0
- package/www/build/p-48690a96.system.entry.js +2 -0
- package/www/build/p-48690a96.system.entry.js.map +1 -0
- package/www/build/p-4c168e46.system.entry.js +2 -0
- package/www/build/p-4c168e46.system.entry.js.map +1 -0
- package/www/build/p-4e93c427.system.js +2 -0
- package/www/build/p-4e93c427.system.js.map +1 -0
- package/www/build/p-501d2d46.entry.js +2 -0
- package/www/build/p-501d2d46.entry.js.map +1 -0
- package/www/build/p-53385a6e.system.entry.js +2 -0
- package/www/build/p-53385a6e.system.entry.js.map +1 -0
- package/www/build/p-56ba5cbf.system.js +2 -0
- package/www/build/p-56ba5cbf.system.js.map +1 -0
- package/www/build/p-56ec1eba.entry.js +17 -0
- package/www/build/p-56ec1eba.entry.js.map +1 -0
- package/www/build/p-598b3b9b.js +2 -0
- package/www/build/p-598b3b9b.js.map +1 -0
- package/www/build/p-5d3f0716.system.entry.js +2 -0
- package/www/build/p-5d3f0716.system.entry.js.map +1 -0
- package/www/build/p-5f8bc3bf.entry.js +2 -0
- package/www/build/p-5f8bc3bf.entry.js.map +1 -0
- package/www/build/p-5fd6c3e8.entry.js +2 -0
- package/www/build/p-5fd6c3e8.entry.js.map +1 -0
- package/www/build/p-6091d82b.entry.js +2 -0
- package/www/build/p-6091d82b.entry.js.map +1 -0
- package/www/build/p-61ac7fad.entry.js +2 -0
- package/www/build/p-61ac7fad.entry.js.map +1 -0
- package/www/build/p-626dceda.system.entry.js +2 -0
- package/www/build/p-626dceda.system.entry.js.map +1 -0
- package/www/build/p-672b4e09.system.js +2 -0
- package/www/build/p-672b4e09.system.js.map +1 -0
- package/www/build/p-67dc61ac.entry.js +2 -0
- package/www/build/p-67dc61ac.entry.js.map +1 -0
- package/www/build/p-6a5bd1ca.system.entry.js +2 -0
- package/www/build/p-6a5bd1ca.system.entry.js.map +1 -0
- package/www/build/p-6b7ad4a6.system.entry.js +2 -0
- package/www/build/p-6b7ad4a6.system.entry.js.map +1 -0
- package/www/build/p-6c8761c6.system.js +2 -0
- package/www/build/p-6c8761c6.system.js.map +1 -0
- package/www/build/p-6cb70123.js +2 -0
- package/www/build/p-6cb70123.js.map +1 -0
- package/www/build/p-6ec93872.system.entry.js +2 -0
- package/www/build/p-6ec93872.system.entry.js.map +1 -0
- package/www/build/p-6f00cc14.entry.js +2 -0
- package/www/build/p-6f00cc14.entry.js.map +1 -0
- package/www/build/p-6f87ae17.system.entry.js +2 -0
- package/www/build/p-6f87ae17.system.entry.js.map +1 -0
- package/www/build/p-70270f39.entry.js +2 -0
- package/www/build/p-70270f39.entry.js.map +1 -0
- package/www/build/p-73a45e23.system.entry.js +2 -0
- package/www/build/p-73a45e23.system.entry.js.map +1 -0
- package/www/build/p-77630f04.entry.js +2 -0
- package/www/build/p-77630f04.entry.js.map +1 -0
- package/www/build/p-78e06322.system.entry.js +2 -0
- package/www/build/p-78e06322.system.entry.js.map +1 -0
- package/www/build/p-7a0bf87b.system.entry.js +2 -0
- package/www/build/p-7a0bf87b.system.entry.js.map +1 -0
- package/www/build/p-7b170476.system.entry.js +2 -0
- package/www/build/p-7b170476.system.entry.js.map +1 -0
- package/www/build/p-7d3cc549.entry.js +2 -0
- package/www/build/p-7d3cc549.entry.js.map +1 -0
- package/www/build/p-7e3c133b.entry.js +2 -0
- package/www/build/p-7e3c133b.entry.js.map +1 -0
- package/www/build/p-7ecc7bd5.system.entry.js +2 -0
- package/www/build/p-7ecc7bd5.system.entry.js.map +1 -0
- package/www/build/p-7ef7fe98.system.js +2 -0
- package/www/build/p-7ef7fe98.system.js.map +1 -0
- package/www/build/p-832bd78d.system.entry.js +2 -0
- package/www/build/p-832bd78d.system.entry.js.map +1 -0
- package/www/build/p-897d7c3a.system.entry.js +2 -0
- package/www/build/p-897d7c3a.system.entry.js.map +1 -0
- package/www/build/p-8ad7f11d.system.entry.js +2 -0
- package/www/build/p-8ad7f11d.system.entry.js.map +1 -0
- package/www/build/p-8c14e5ba.system.entry.js +2 -0
- package/www/build/p-8c14e5ba.system.entry.js.map +1 -0
- package/www/build/p-8d0d1234.entry.js +2 -0
- package/www/build/p-8d0d1234.entry.js.map +1 -0
- package/www/build/p-8e8c7916.system.entry.js +2 -0
- package/www/build/p-8e8c7916.system.entry.js.map +1 -0
- package/www/build/p-8efb3264.entry.js +2 -0
- package/www/build/p-8efb3264.entry.js.map +1 -0
- package/www/build/p-8fb9599b.system.entry.js +2 -0
- package/www/build/p-8fb9599b.system.entry.js.map +1 -0
- package/www/build/p-902d6ead.js +2 -0
- package/www/build/p-902d6ead.js.map +1 -0
- package/www/build/p-9109c157.system.entry.js +2 -0
- package/www/build/p-9109c157.system.entry.js.map +1 -0
- package/www/build/p-910a5027.entry.js +2 -0
- package/www/build/p-910a5027.entry.js.map +1 -0
- package/www/build/p-9249ffcb.system.entry.js +2 -0
- package/www/build/p-9249ffcb.system.entry.js.map +1 -0
- package/www/build/p-9681e90f.system.entry.js +2 -0
- package/www/build/p-9681e90f.system.entry.js.map +1 -0
- package/www/build/p-983b47eb.entry.js +2 -0
- package/www/build/p-983b47eb.entry.js.map +1 -0
- package/www/build/p-9908464a.entry.js +2 -0
- package/www/build/p-9908464a.entry.js.map +1 -0
- package/www/build/p-9967c6f5.system.entry.js +2 -0
- package/www/build/p-9967c6f5.system.entry.js.map +1 -0
- package/www/build/p-9a116bc8.system.entry.js +2 -0
- package/www/build/p-9a116bc8.system.entry.js.map +1 -0
- package/www/build/p-9b5108d9.entry.js +2 -0
- package/www/build/p-9b5108d9.entry.js.map +1 -0
- package/www/build/p-9ca6b55e.system.entry.js +2 -0
- package/www/build/p-9ca6b55e.system.entry.js.map +1 -0
- package/www/build/p-9def2eb3.entry.js +2 -0
- package/www/build/p-9def2eb3.entry.js.map +1 -0
- package/www/build/p-9eeb8788.system.entry.js +2 -0
- package/www/build/p-9eeb8788.system.entry.js.map +1 -0
- package/www/build/p-9fe1e807.js +2 -0
- package/www/build/p-9ff4bf4e.entry.js +2 -0
- package/www/build/p-9ff4bf4e.entry.js.map +1 -0
- package/www/build/p-a0fb12bf.entry.js +2 -0
- package/www/build/p-a0fb12bf.entry.js.map +1 -0
- package/www/build/p-a10e0cb5.entry.js +2 -0
- package/www/build/p-a10e0cb5.entry.js.map +1 -0
- package/www/build/p-a12bd05d.system.entry.js +2 -0
- package/www/build/p-a12bd05d.system.entry.js.map +1 -0
- package/www/build/p-a1f945ac.system.entry.js +2 -0
- package/www/build/p-a1f945ac.system.entry.js.map +1 -0
- package/www/build/p-a7b5bca5.system.entry.js +2 -0
- package/www/build/p-a7b5bca5.system.entry.js.map +1 -0
- package/www/build/p-aa0b992c.system.entry.js +2 -0
- package/www/build/p-aa0b992c.system.entry.js.map +1 -0
- package/www/build/p-b3ea380b.system.js +3 -0
- package/www/build/p-b3ea380b.system.js.map +1 -0
- package/www/build/p-b5751929.entry.js +2 -0
- package/www/build/p-b5751929.entry.js.map +1 -0
- package/www/build/p-b7c10157.system.js +2 -0
- package/www/build/p-b7c10157.system.js.map +1 -0
- package/www/build/p-b8d8a6c5.entry.js +2 -0
- package/www/build/p-b8d8a6c5.entry.js.map +1 -0
- package/www/build/p-b8fa33e7.entry.js +2 -0
- package/www/build/p-b8fa33e7.entry.js.map +1 -0
- package/www/build/p-c01ba02c.entry.js +2 -0
- package/www/build/p-c01ba02c.entry.js.map +1 -0
- package/www/build/p-c276bd00.entry.js +2 -0
- package/www/build/p-c276bd00.entry.js.map +1 -0
- package/www/build/p-c3663cf8.system.entry.js +2 -0
- package/www/build/p-c3663cf8.system.entry.js.map +1 -0
- package/www/build/p-c4c0b36f.entry.js +2 -0
- package/www/build/p-c4c0b36f.entry.js.map +1 -0
- package/www/build/p-ca2e78a1.system.entry.js +2 -0
- package/www/build/p-ca2e78a1.system.entry.js.map +1 -0
- package/www/build/p-ca4d6aff.js +2 -0
- package/www/build/p-ca4d6aff.js.map +1 -0
- package/www/build/p-cad14780.system.entry.js +2 -0
- package/www/build/p-cad14780.system.entry.js.map +1 -0
- package/www/build/p-cd54d9f1.entry.js +2 -0
- package/www/build/p-cd54d9f1.entry.js.map +1 -0
- package/www/build/p-cfa332f9.system.entry.js +2 -0
- package/www/build/p-cfa332f9.system.entry.js.map +1 -0
- package/www/build/p-d30a546b.entry.js +2 -0
- package/www/build/p-d30a546b.entry.js.map +1 -0
- package/www/build/p-d484cdd5.entry.js +2 -0
- package/www/build/p-d484cdd5.entry.js.map +1 -0
- package/www/build/p-d91b26d9.system.js +2 -0
- package/www/build/p-d91b26d9.system.js.map +1 -0
- package/www/build/p-da3e9cc5.entry.js +2 -0
- package/www/build/p-da3e9cc5.entry.js.map +1 -0
- package/www/build/p-daa3d9e5.system.js +2 -0
- package/www/build/p-daa3d9e5.system.js.map +1 -0
- package/www/build/p-dbfecfaa.system.entry.js +2 -0
- package/www/build/p-dbfecfaa.system.entry.js.map +1 -0
- package/www/build/p-dc225ede.entry.js +2 -0
- package/www/build/p-dc225ede.entry.js.map +1 -0
- package/www/build/p-dd2c6f2d.entry.js +2 -0
- package/www/build/p-dd2c6f2d.entry.js.map +1 -0
- package/www/build/p-de4606c5.system.entry.js +2 -0
- package/www/build/p-de4606c5.system.entry.js.map +1 -0
- package/www/build/p-dfe7cb73.entry.js +2 -0
- package/www/build/p-dfe7cb73.entry.js.map +1 -0
- package/www/build/p-e03e6a78.system.entry.js +2 -0
- package/www/build/p-e03e6a78.system.entry.js.map +1 -0
- package/www/build/p-e2088242.entry.js +2 -0
- package/www/build/p-e2088242.entry.js.map +1 -0
- package/www/build/p-e37f51fe.entry.js +2 -0
- package/www/build/p-e37f51fe.entry.js.map +1 -0
- package/www/build/p-e429e855.system.entry.js +2 -0
- package/www/build/p-e429e855.system.entry.js.map +1 -0
- package/www/build/p-e616adb1.system.entry.js +2 -0
- package/www/build/p-e616adb1.system.entry.js.map +1 -0
- package/www/build/p-e691c0b8.js +2 -0
- package/www/build/p-e7dbba78.system.js +2 -0
- package/www/build/p-e7dbba78.system.js.map +1 -0
- package/www/build/p-ebbe994e.system.entry.js +2 -0
- package/www/build/p-ebbe994e.system.entry.js.map +1 -0
- package/www/build/p-ed4197a3.entry.js +2 -0
- package/www/build/p-ed4197a3.entry.js.map +1 -0
- package/www/build/p-edda3257.entry.js +7 -0
- package/www/build/p-edda3257.entry.js.map +1 -0
- package/www/build/p-ef09664f.system.js +2 -0
- package/www/build/p-ef09664f.system.js.map +1 -0
- package/www/build/p-f1c506f4.system.entry.js +2 -0
- package/www/build/p-f1c506f4.system.entry.js.map +1 -0
- package/www/build/p-f2374b3f.system.entry.js +2 -0
- package/www/build/p-f2374b3f.system.entry.js.map +1 -0
- package/www/build/p-f675808e.system.js +2 -0
- package/www/build/p-f675808e.system.js.map +1 -0
- package/www/build/p-f7448d81.system.entry.js +2 -0
- package/www/build/p-f7448d81.system.entry.js.map +1 -0
- package/www/build/p-f777c4d3.entry.js +2 -0
- package/www/build/p-f777c4d3.entry.js.map +1 -0
- package/www/build/p-f88ada7f.js +2 -0
- package/www/build/p-f88ada7f.js.map +1 -0
- package/www/build/p-fc346ca5.entry.js +2 -0
- package/www/build/p-fc346ca5.entry.js.map +1 -0
- package/www/build/p-ff686d23.system.entry.js +2 -0
- package/www/build/p-ff686d23.system.entry.js.map +1 -0
- package/www/build/web-components-library.css +151 -72
- package/www/build/web-components-library.esm.js +1 -1
- package/www/build/web-components-library.esm.js.map +1 -1
- package/www/build/web-components-library.js +125 -31
- package/www/index.html +1 -1
- package/dist/cjs/index-2a9a328d.js +0 -47
- package/dist/cjs/index-2a9a328d.js.map +0 -1
- package/dist/cjs/index-4e2d222e.js +0 -21
- package/dist/cjs/index-4e2d222e.js.map +0 -1
- package/dist/cjs/index-7191c0cc.js +0 -21
- package/dist/cjs/index-7191c0cc.js.map +0 -1
- package/dist/cjs/index-a6593d82.js +0 -20
- package/dist/cjs/index-a6593d82.js.map +0 -1
- package/dist/cjs/index-aa56c709.js +0 -59
- package/dist/cjs/index-aa56c709.js.map +0 -1
- package/dist/cjs/index-b2f35532.js +0 -67
- package/dist/cjs/index-b2f35532.js.map +0 -1
- package/dist/esm/index-04335eea.js +0 -19
- package/dist/esm/index-04335eea.js.map +0 -1
- package/dist/esm/index-5dff449e.js +0 -19
- package/dist/esm/index-5dff449e.js.map +0 -1
- package/dist/esm/index-735d4f23.js +0 -45
- package/dist/esm/index-735d4f23.js.map +0 -1
- package/dist/esm/index-8df19678.js +0 -57
- package/dist/esm/index-8df19678.js.map +0 -1
- package/dist/esm/index-90f624c1.js +0 -65
- package/dist/esm/index-90f624c1.js.map +0 -1
- package/dist/esm/index-9adfcd0d.js +0 -18
- package/dist/esm/index-9adfcd0d.js.map +0 -1
- package/dist/esm/utils-ed82ce58.js +0 -115
- package/dist/esm/utils-ed82ce58.js.map +0 -1
- package/dist/web-components-library/p-035807e3.entry.js +0 -2
- package/dist/web-components-library/p-035807e3.entry.js.map +0 -1
- package/dist/web-components-library/p-0378c12a.entry.js +0 -2
- package/dist/web-components-library/p-0378c12a.entry.js.map +0 -1
- package/dist/web-components-library/p-037c59b3.js +0 -2
- package/dist/web-components-library/p-037c59b3.js.map +0 -1
- package/dist/web-components-library/p-0565f1b2.entry.js +0 -2
- package/dist/web-components-library/p-0565f1b2.entry.js.map +0 -1
- package/dist/web-components-library/p-08d8f935.entry.js +0 -2
- package/dist/web-components-library/p-08d8f935.entry.js.map +0 -1
- package/dist/web-components-library/p-0df6b405.entry.js +0 -2
- package/dist/web-components-library/p-0df6b405.entry.js.map +0 -1
- package/dist/web-components-library/p-10607a39.js +0 -2
- package/dist/web-components-library/p-107c2635.entry.js +0 -2
- package/dist/web-components-library/p-107c2635.entry.js.map +0 -1
- package/dist/web-components-library/p-11216ee8.entry.js +0 -2
- package/dist/web-components-library/p-11216ee8.entry.js.map +0 -1
- package/dist/web-components-library/p-115fab3e.entry.js +0 -2
- package/dist/web-components-library/p-115fab3e.entry.js.map +0 -1
- package/dist/web-components-library/p-11629dd3.entry.js +0 -2
- package/dist/web-components-library/p-11629dd3.entry.js.map +0 -1
- package/dist/web-components-library/p-123739cb.js +0 -2
- package/dist/web-components-library/p-123739cb.js.map +0 -1
- package/dist/web-components-library/p-14e61df6.js +0 -2
- package/dist/web-components-library/p-14e61df6.js.map +0 -1
- package/dist/web-components-library/p-1630e240.entry.js +0 -2
- package/dist/web-components-library/p-1630e240.entry.js.map +0 -1
- package/dist/web-components-library/p-18d63f0c.entry.js +0 -2
- package/dist/web-components-library/p-18d63f0c.entry.js.map +0 -1
- package/dist/web-components-library/p-1e3ff105.entry.js +0 -2
- package/dist/web-components-library/p-1e3ff105.entry.js.map +0 -1
- package/dist/web-components-library/p-20b628e7.entry.js +0 -2
- package/dist/web-components-library/p-20b628e7.entry.js.map +0 -1
- package/dist/web-components-library/p-22d56699.entry.js +0 -2
- package/dist/web-components-library/p-22d56699.entry.js.map +0 -1
- package/dist/web-components-library/p-2798c0b2.entry.js +0 -2
- package/dist/web-components-library/p-2a0d8ebe.entry.js +0 -2
- package/dist/web-components-library/p-2a0d8ebe.entry.js.map +0 -1
- package/dist/web-components-library/p-2aeb2a94.entry.js +0 -2
- package/dist/web-components-library/p-2c450113.entry.js +0 -2
- package/dist/web-components-library/p-2c450113.entry.js.map +0 -1
- package/dist/web-components-library/p-2dcf53b3.entry.js +0 -2
- package/dist/web-components-library/p-2dcf53b3.entry.js.map +0 -1
- package/dist/web-components-library/p-30170218.entry.js +0 -2
- package/dist/web-components-library/p-30170218.entry.js.map +0 -1
- package/dist/web-components-library/p-34f4f441.entry.js +0 -2
- package/dist/web-components-library/p-34f4f441.entry.js.map +0 -1
- package/dist/web-components-library/p-384baa02.entry.js +0 -2
- package/dist/web-components-library/p-384baa02.entry.js.map +0 -1
- package/dist/web-components-library/p-38e8c15d.entry.js +0 -2
- package/dist/web-components-library/p-38e8c15d.entry.js.map +0 -1
- package/dist/web-components-library/p-395b261e.entry.js +0 -2
- package/dist/web-components-library/p-395b261e.entry.js.map +0 -1
- package/dist/web-components-library/p-3bf02cab.entry.js +0 -2
- package/dist/web-components-library/p-3bf02cab.entry.js.map +0 -1
- package/dist/web-components-library/p-4374d3f3.entry.js +0 -2
- package/dist/web-components-library/p-4374d3f3.entry.js.map +0 -1
- package/dist/web-components-library/p-4c462e7f.js +0 -2
- package/dist/web-components-library/p-4c462e7f.js.map +0 -1
- package/dist/web-components-library/p-4fedcbc2.entry.js +0 -2
- package/dist/web-components-library/p-4fedcbc2.entry.js.map +0 -1
- package/dist/web-components-library/p-50bf57b4.entry.js +0 -2
- package/dist/web-components-library/p-50bf57b4.entry.js.map +0 -1
- package/dist/web-components-library/p-52be7378.entry.js +0 -2
- package/dist/web-components-library/p-52be7378.entry.js.map +0 -1
- package/dist/web-components-library/p-5f04d9eb.entry.js +0 -2
- package/dist/web-components-library/p-5f04d9eb.entry.js.map +0 -1
- package/dist/web-components-library/p-605f6780.entry.js +0 -2
- package/dist/web-components-library/p-605f6780.entry.js.map +0 -1
- package/dist/web-components-library/p-65f1b68b.entry.js +0 -2
- package/dist/web-components-library/p-65f1b68b.entry.js.map +0 -1
- package/dist/web-components-library/p-6e1ba2f0.entry.js +0 -2
- package/dist/web-components-library/p-7095262b.entry.js +0 -2
- package/dist/web-components-library/p-7095262b.entry.js.map +0 -1
- package/dist/web-components-library/p-72dae90b.entry.js +0 -2
- package/dist/web-components-library/p-72dae90b.entry.js.map +0 -1
- package/dist/web-components-library/p-73d686e0.entry.js +0 -2
- package/dist/web-components-library/p-73d686e0.entry.js.map +0 -1
- package/dist/web-components-library/p-75808b47.entry.js +0 -2
- package/dist/web-components-library/p-75808b47.entry.js.map +0 -1
- package/dist/web-components-library/p-9187ce36.entry.js +0 -2
- package/dist/web-components-library/p-9187ce36.entry.js.map +0 -1
- package/dist/web-components-library/p-972098a5.entry.js +0 -2
- package/dist/web-components-library/p-972098a5.entry.js.map +0 -1
- package/dist/web-components-library/p-9f0a3d88.entry.js +0 -2
- package/dist/web-components-library/p-9f0a3d88.entry.js.map +0 -1
- package/dist/web-components-library/p-a90027c2.entry.js +0 -2
- package/dist/web-components-library/p-a90027c2.entry.js.map +0 -1
- package/dist/web-components-library/p-aa0b3e7a.entry.js +0 -2
- package/dist/web-components-library/p-aa0b3e7a.entry.js.map +0 -1
- package/dist/web-components-library/p-aa42f01d.entry.js +0 -2
- package/dist/web-components-library/p-aa42f01d.entry.js.map +0 -1
- package/dist/web-components-library/p-ad825740.entry.js +0 -2
- package/dist/web-components-library/p-b309bd71.entry.js +0 -2
- package/dist/web-components-library/p-b309bd71.entry.js.map +0 -1
- package/dist/web-components-library/p-b38be247.entry.js +0 -2
- package/dist/web-components-library/p-bbd492d3.entry.js +0 -2
- package/dist/web-components-library/p-bbd492d3.entry.js.map +0 -1
- package/dist/web-components-library/p-c13ef624.js +0 -2
- package/dist/web-components-library/p-c13ef624.js.map +0 -1
- package/dist/web-components-library/p-c2af9a71.entry.js +0 -2
- package/dist/web-components-library/p-c2af9a71.entry.js.map +0 -1
- package/dist/web-components-library/p-c7df6a63.entry.js +0 -2
- package/dist/web-components-library/p-c7df6a63.entry.js.map +0 -1
- package/dist/web-components-library/p-caccf490.entry.js +0 -17
- package/dist/web-components-library/p-caccf490.entry.js.map +0 -1
- package/dist/web-components-library/p-cb8aec27.entry.js +0 -2
- package/dist/web-components-library/p-cb8aec27.entry.js.map +0 -1
- package/dist/web-components-library/p-cc8186a9.entry.js +0 -2
- package/dist/web-components-library/p-cc8186a9.entry.js.map +0 -1
- package/dist/web-components-library/p-db0a5f51.entry.js +0 -2
- package/dist/web-components-library/p-db0a5f51.entry.js.map +0 -1
- package/dist/web-components-library/p-deb86b5c.entry.js +0 -2
- package/dist/web-components-library/p-ea36d666.entry.js +0 -2
- package/dist/web-components-library/p-ea36d666.entry.js.map +0 -1
- package/dist/web-components-library/p-ed091723.entry.js +0 -2
- package/dist/web-components-library/p-ed091723.entry.js.map +0 -1
- package/dist/web-components-library/p-f06bd257.entry.js +0 -2
- package/dist/web-components-library/p-f06bd257.entry.js.map +0 -1
- package/dist/web-components-library/p-f075ec62.entry.js +0 -2
- package/dist/web-components-library/p-f075ec62.entry.js.map +0 -1
- package/dist/web-components-library/p-f8915e2e.entry.js +0 -7
- package/dist/web-components-library/p-f8915e2e.entry.js.map +0 -1
- package/dist/web-components-library/p-fb06a5d8.entry.js +0 -2
- package/dist/web-components-library/p-fb06a5d8.entry.js.map +0 -1
- package/dist/web-components-library/p-feb84d36.js +0 -2
- package/dist/web-components-library/p-feb84d36.js.map +0 -1
- package/www/build/p-035807e3.entry.js +0 -2
- package/www/build/p-035807e3.entry.js.map +0 -1
- package/www/build/p-0378c12a.entry.js +0 -2
- package/www/build/p-0378c12a.entry.js.map +0 -1
- package/www/build/p-037c59b3.js +0 -2
- package/www/build/p-037c59b3.js.map +0 -1
- package/www/build/p-0565f1b2.entry.js +0 -2
- package/www/build/p-0565f1b2.entry.js.map +0 -1
- package/www/build/p-08d8f935.entry.js +0 -2
- package/www/build/p-08d8f935.entry.js.map +0 -1
- package/www/build/p-0df6b405.entry.js +0 -2
- package/www/build/p-0df6b405.entry.js.map +0 -1
- package/www/build/p-10607a39.js +0 -2
- package/www/build/p-107c2635.entry.js +0 -2
- package/www/build/p-107c2635.entry.js.map +0 -1
- package/www/build/p-11216ee8.entry.js +0 -2
- package/www/build/p-11216ee8.entry.js.map +0 -1
- package/www/build/p-115fab3e.entry.js +0 -2
- package/www/build/p-115fab3e.entry.js.map +0 -1
- package/www/build/p-11629dd3.entry.js +0 -2
- package/www/build/p-11629dd3.entry.js.map +0 -1
- package/www/build/p-123739cb.js +0 -2
- package/www/build/p-123739cb.js.map +0 -1
- package/www/build/p-14e61df6.js +0 -2
- package/www/build/p-14e61df6.js.map +0 -1
- package/www/build/p-1630e240.entry.js +0 -2
- package/www/build/p-1630e240.entry.js.map +0 -1
- package/www/build/p-18d63f0c.entry.js +0 -2
- package/www/build/p-18d63f0c.entry.js.map +0 -1
- package/www/build/p-1e3ff105.entry.js +0 -2
- package/www/build/p-1e3ff105.entry.js.map +0 -1
- package/www/build/p-20b628e7.entry.js +0 -2
- package/www/build/p-20b628e7.entry.js.map +0 -1
- package/www/build/p-22d56699.entry.js +0 -2
- package/www/build/p-22d56699.entry.js.map +0 -1
- package/www/build/p-2798c0b2.entry.js +0 -2
- package/www/build/p-2a0d8ebe.entry.js +0 -2
- package/www/build/p-2a0d8ebe.entry.js.map +0 -1
- package/www/build/p-2aeb2a94.entry.js +0 -2
- package/www/build/p-2c450113.entry.js +0 -2
- package/www/build/p-2c450113.entry.js.map +0 -1
- package/www/build/p-2dcf53b3.entry.js +0 -2
- package/www/build/p-2dcf53b3.entry.js.map +0 -1
- package/www/build/p-30170218.entry.js +0 -2
- package/www/build/p-30170218.entry.js.map +0 -1
- package/www/build/p-34f4f441.entry.js +0 -2
- package/www/build/p-34f4f441.entry.js.map +0 -1
- package/www/build/p-384baa02.entry.js +0 -2
- package/www/build/p-384baa02.entry.js.map +0 -1
- package/www/build/p-38e8c15d.entry.js +0 -2
- package/www/build/p-38e8c15d.entry.js.map +0 -1
- package/www/build/p-395b261e.entry.js +0 -2
- package/www/build/p-395b261e.entry.js.map +0 -1
- package/www/build/p-3bf02cab.entry.js +0 -2
- package/www/build/p-3bf02cab.entry.js.map +0 -1
- package/www/build/p-4374d3f3.entry.js +0 -2
- package/www/build/p-4374d3f3.entry.js.map +0 -1
- package/www/build/p-4c358c38.css +0 -2455
- package/www/build/p-4c462e7f.js +0 -2
- package/www/build/p-4c462e7f.js.map +0 -1
- package/www/build/p-4fedcbc2.entry.js +0 -2
- package/www/build/p-4fedcbc2.entry.js.map +0 -1
- package/www/build/p-50bf57b4.entry.js +0 -2
- package/www/build/p-50bf57b4.entry.js.map +0 -1
- package/www/build/p-52be7378.entry.js +0 -2
- package/www/build/p-52be7378.entry.js.map +0 -1
- package/www/build/p-5f04d9eb.entry.js +0 -2
- package/www/build/p-5f04d9eb.entry.js.map +0 -1
- package/www/build/p-605f6780.entry.js +0 -2
- package/www/build/p-605f6780.entry.js.map +0 -1
- package/www/build/p-65f1b68b.entry.js +0 -2
- package/www/build/p-65f1b68b.entry.js.map +0 -1
- package/www/build/p-6e1ba2f0.entry.js +0 -2
- package/www/build/p-7095262b.entry.js +0 -2
- package/www/build/p-7095262b.entry.js.map +0 -1
- package/www/build/p-72dae90b.entry.js +0 -2
- package/www/build/p-72dae90b.entry.js.map +0 -1
- package/www/build/p-73d686e0.entry.js +0 -2
- package/www/build/p-73d686e0.entry.js.map +0 -1
- package/www/build/p-75808b47.entry.js +0 -2
- package/www/build/p-75808b47.entry.js.map +0 -1
- package/www/build/p-9187ce36.entry.js +0 -2
- package/www/build/p-9187ce36.entry.js.map +0 -1
- package/www/build/p-972098a5.entry.js +0 -2
- package/www/build/p-972098a5.entry.js.map +0 -1
- package/www/build/p-9f0a3d88.entry.js +0 -2
- package/www/build/p-9f0a3d88.entry.js.map +0 -1
- package/www/build/p-a90027c2.entry.js +0 -2
- package/www/build/p-a90027c2.entry.js.map +0 -1
- package/www/build/p-aa0b3e7a.entry.js +0 -2
- package/www/build/p-aa0b3e7a.entry.js.map +0 -1
- package/www/build/p-aa42f01d.entry.js +0 -2
- package/www/build/p-aa42f01d.entry.js.map +0 -1
- package/www/build/p-ad825740.entry.js +0 -2
- package/www/build/p-b309bd71.entry.js +0 -2
- package/www/build/p-b309bd71.entry.js.map +0 -1
- package/www/build/p-b38be247.entry.js +0 -2
- package/www/build/p-b8da5b69.js +0 -2
- package/www/build/p-bbd492d3.entry.js +0 -2
- package/www/build/p-bbd492d3.entry.js.map +0 -1
- package/www/build/p-c13ef624.js +0 -2
- package/www/build/p-c13ef624.js.map +0 -1
- package/www/build/p-c2af9a71.entry.js +0 -2
- package/www/build/p-c2af9a71.entry.js.map +0 -1
- package/www/build/p-c7df6a63.entry.js +0 -2
- package/www/build/p-c7df6a63.entry.js.map +0 -1
- package/www/build/p-caccf490.entry.js +0 -17
- package/www/build/p-caccf490.entry.js.map +0 -1
- package/www/build/p-cb8aec27.entry.js +0 -2
- package/www/build/p-cb8aec27.entry.js.map +0 -1
- package/www/build/p-cc8186a9.entry.js +0 -2
- package/www/build/p-cc8186a9.entry.js.map +0 -1
- package/www/build/p-db0a5f51.entry.js +0 -2
- package/www/build/p-db0a5f51.entry.js.map +0 -1
- package/www/build/p-deb86b5c.entry.js +0 -2
- package/www/build/p-ea36d666.entry.js +0 -2
- package/www/build/p-ea36d666.entry.js.map +0 -1
- package/www/build/p-ed091723.entry.js +0 -2
- package/www/build/p-ed091723.entry.js.map +0 -1
- package/www/build/p-f06bd257.entry.js +0 -2
- package/www/build/p-f06bd257.entry.js.map +0 -1
- package/www/build/p-f075ec62.entry.js +0 -2
- package/www/build/p-f075ec62.entry.js.map +0 -1
- package/www/build/p-f8915e2e.entry.js +0 -7
- package/www/build/p-f8915e2e.entry.js.map +0 -1
- package/www/build/p-fb06a5d8.entry.js +0 -2
- package/www/build/p-fb06a5d8.entry.js.map +0 -1
- package/www/build/p-feb84d36.js +0 -2
- package/www/build/p-feb84d36.js.map +0 -1
- /package/dist/{web-components-library/p-2798c0b2.entry.js.map → esm-es5/z-tbody.entry.js.map} +0 -0
- /package/dist/{web-components-library/p-2aeb2a94.entry.js.map → esm-es5/z-td.entry.js.map} +0 -0
- /package/dist/{web-components-library/p-6e1ba2f0.entry.js.map → esm-es5/z-tfoot.entry.js.map} +0 -0
- /package/dist/{web-components-library/p-ad825740.entry.js.map → esm-es5/z-th.entry.js.map} +0 -0
- /package/dist/{web-components-library/p-b38be247.entry.js.map → esm-es5/z-thead.entry.js.map} +0 -0
- /package/dist/{web-components-library/p-deb86b5c.entry.js.map → esm-es5/z-tr.entry.js.map} +0 -0
- /package/{www/build/p-2798c0b2.entry.js.map → dist/web-components-library/p-0acf5b47.entry.js.map} +0 -0
- /package/{www/build/p-2aeb2a94.entry.js.map → dist/web-components-library/p-18451749.entry.js.map} +0 -0
- /package/{www/build/p-6e1ba2f0.entry.js.map → dist/web-components-library/p-1edba67a.entry.js.map} +0 -0
- /package/{www/build/p-ad825740.entry.js.map → dist/web-components-library/p-3a9cd12d.system.entry.js.map} +0 -0
- /package/{www/build/p-b38be247.entry.js.map → dist/web-components-library/p-61ac7fad.entry.js.map} +0 -0
- /package/{www/build/p-deb86b5c.entry.js.map → dist/web-components-library/p-6a5bd1ca.system.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-10607a39.js.map → p-e691c0b8.js.map} +0 -0
- /package/www/build/{p-10607a39.js.map → p-e691c0b8.js.map} +0 -0
package/www/build/p-4c462e7f.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as o,h as s,a as r}from"./p-75c4a726.js";const e=":host{--z-table--cells-bottom-border-size:var(\n --border-size-medium\n );--z-table--cells-background:var(\n --color-background\n );display:block;box-sizing:border-box}:host([sticky]){position:sticky;z-index:2;top:0;box-shadow:0 2px 4px -2px var(--shadow-color-base)}";const a=e;const c=class{constructor(s){o(this,s);this.sticky=false}render(){return s(r,{key:"ef0a3c17f7163b6bdb0d43d21cb1ac6607f53e7c",role:"rowgroup"},s("slot",{key:"80b4a406f26e0c637972e663d99707431d39e9a4"}))}};c.style=a;export{c as Z};
|
|
2
|
-
//# sourceMappingURL=p-4c462e7f.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stylesCss","ZTheadStyle0","ZThead","render","h","Host","key","role"],"sources":["src/components/table/z-thead/styles.css?tag=z-thead&encapsulation=shadow","src/components/table/z-thead/index.tsx"],"sourcesContent":[":host {\n --z-table--cells-bottom-border-size: var(\n --border-size-medium\n ); /* Needed to handle the border of the expand button cell */\n\n --z-table--cells-background: var(\n --color-background\n ); /* Needed to handle the background-color of the expand button cell */\n\n display: block;\n box-sizing: border-box;\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 2;\n top: 0;\n box-shadow: 0 2px 4px -2px var(--shadow-color-base);\n}\n","import {Component, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZThead component.\n * @slot - ZThead content (`z-tr`).\n */\n@Component({\n tag: \"z-thead\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZThead {\n /**\n * If true, the header will be stuck to the top of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n render(): HTMLZTheadElement {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAY,sRAClB,MAAAC,EAAeD,E,MCUFE,EAAM,M,qCAKR,K,CAET,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,KAAK,YACTH,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,a,g as s}from"./p-75c4a726.js";import"./p-feb84d36.js";import"./p-c13ef624.js";import"./p-4c462e7f.js";import"./p-037c59b3.js";import"./p-10607a39.js";import"./p-b34993de.js";import"./p-5145a606.js";import"./p-14e61df6.js";import"./p-123739cb.js";const r=":host{--z-table--cells-padding:calc(var(--space-unit) * 2);position:relative;display:block;overflow:auto;max-width:100%;box-sizing:border-box;background-color:var(--color-surface01)}:host([expandable]){--z-table--expand-button-size:40px}:host([bordered]){--z-table--cell-left-border:1px solid var(--color-surface03)}";const o=r;const i=class{constructor(t){e(this,t);this.bordered=false;this.expandable=false}updateExpandable(){this.expandable=this.host.querySelectorAll("z-tr[expandable]").length>0}componentWillLoad(){this.expandableMutationObserver=new MutationObserver((()=>{this.updateExpandable()}));this.expandableMutationObserver.observe(this.host,{childList:true,subtree:true,attributes:true,attributeFilter:["expandable"],attributeOldValue:false})}disconnectedCallback(){var e;(e=this.expandableMutationObserver)===null||e===void 0?void 0:e.disconnect()}render(){return t(a,{key:"8cc330079f36a6c9112ef15dd5bb66f7c0e07db5",expandable:this.expandable},t("div",{key:"5b9783130bb30d5e0dc3e62c132b043900cb746f",class:"table",role:"table"},t("slot",{key:"e339c4892e8c433fb79e054ac47e45c8a6ac40e5"})))}get host(){return s(this)}};i.style=o;export{i as z_table};
|
|
2
|
-
//# sourceMappingURL=p-4fedcbc2.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stylesCss","ZTableStyle0","ZTable","updateExpandable","this","expandable","host","querySelectorAll","length","componentWillLoad","expandableMutationObserver","MutationObserver","observe","childList","subtree","attributes","attributeFilter","attributeOldValue","disconnectedCallback","_a","disconnect","render","h","Host","key","class","role"],"sources":["src/components/table/z-table/styles.css?tag=z-table&encapsulation=shadow","src/components/table/z-table/index.tsx"],"sourcesContent":[":host {\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n\n position: relative;\n display: block;\n overflow: auto;\n max-width: 100%;\n box-sizing: border-box;\n background-color: var(--color-surface01);\n}\n\n:host([expandable]) {\n --z-table--expand-button-size: 40px;\n}\n\n:host([bordered]) {\n --z-table--cell-left-border: 1px solid var(--color-surface03);\n}\n","import {Component, Element, Host, Prop, State, h} from \"@stencil/core\";\nimport \"../z-tbody/index\";\nimport \"../z-tfoot/index\";\nimport \"../z-thead/index\";\nimport \"../z-tr/index\";\n\n/**\n * ZTable component.\n * @slot - Table content (`z-thead`, `z-tbody`, `z-tfoot`, `z-tr`).\n * @cssprop --z-table--cells-padding - Padding of the cells.\n */\n@Component({\n tag: \"z-table\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTable {\n @Element() host: HTMLZTableElement;\n\n /**\n * Whether the table cells should show a border between them.\n */\n @Prop({reflect: true})\n bordered = false;\n\n /**\n * Whether the table contains some expandable rows.\n */\n @State()\n expandable = false;\n\n private updateExpandable(): void {\n this.expandable = this.host.querySelectorAll(\"z-tr[expandable]\").length > 0;\n }\n\n private expandableMutationObserver: MutationObserver;\n\n /**\n * Setup the table creating a mutation observer for the expandable attribute.\n */\n componentWillLoad(): void {\n this.expandableMutationObserver = new MutationObserver(() => {\n this.updateExpandable();\n });\n this.expandableMutationObserver.observe(this.host, {\n childList: true,\n subtree: true,\n attributes: true,\n attributeFilter: [\"expandable\"],\n attributeOldValue: false,\n });\n }\n\n disconnectedCallback(): void {\n this.expandableMutationObserver?.disconnect();\n }\n\n render(): HTMLZTableElement {\n return (\n <Host expandable={this.expandable}>\n <div\n class=\"table\"\n role=\"table\"\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"4QAAA,MAAMA,EAAY,+TAClB,MAAAC,EAAeD,E,MCeFE,EAAM,M,uCAON,M,gBAME,K,CAEL,gBAAAC,GACNC,KAAKC,WAAaD,KAAKE,KAAKC,iBAAiB,oBAAoBC,OAAS,C,CAQ5E,iBAAAC,GACEL,KAAKM,2BAA6B,IAAIC,kBAAiB,KACrDP,KAAKD,kBAAkB,IAEzBC,KAAKM,2BAA2BE,QAAQR,KAAKE,KAAM,CACjDO,UAAW,KACXC,QAAS,KACTC,WAAY,KACZC,gBAAiB,CAAC,cAClBC,kBAAmB,O,CAIvB,oBAAAC,G,OACEC,EAAAf,KAAKM,8BAA0B,MAAAS,SAAA,SAAAA,EAAEC,Y,CAGnC,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACnB,WAAYD,KAAKC,YACrBiB,EAAA,OAAAE,IAAA,2CACEC,MAAM,QACNC,KAAK,SAELJ,EAAA,QAAAE,IAAA,8C","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,h as r}from"./p-75c4a726.js";import{L as a}from"./p-b34993de.js";const i=":host{--card-overflow:hidden}div{display:flex;overflow:var(--card-overflow);width:auto;width:256px;height:522px;box-sizing:border-box;flex-direction:column;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius)}div.real,div.trial,div.temp{border-color:var(--blue100)}div.faded{border:var(--border-size-medium) solid var(--color-background)}div.highlighted{box-shadow:var(--shadow-4);outline:none}div.pressed{box-shadow:var(--shadow-8);outline:none}div:focus{box-shadow:var(--shadow-focus-primary);outline:none}";const t=i;const o=class{constructor(r){e(this,r);this.faded=undefined;this.cardtype=undefined;this.ispressed=false;this.ishighlighted=false}retrieveClass(){let e="";if(this.cardtype===a.REAL){e+="real"}else if(this.cardtype===a.TRIAL){e+="trial"}else if(this.cardtype===a.TEMP){e+="temp"}if(this.faded){e+=" faded"}else if(this.ispressed){e+=" pressed"}else if(this.ishighlighted){e+=" highlighted"}return e}render(){return r("div",{key:"d999d04c93a5a556d397ec0458a8db7b252e4f4c",class:this.retrieveClass(),tabindex:"0"},r("slot",{key:"bebbc05f7f4a7e57a0b0379abc0a5b3d71432309"}))}};o.style=t;const d=":host{width:auto;height:340px}:host>div{position:relative;display:flex;width:auto;height:340px;align-items:center;justify-content:center}";const s=d;const n=class{constructor(r){e(this,r)}render(){return r("div",{key:"87bccb8aa58d306d1dd01960d83b87f6c72916a6"},r("slot",{key:"f30fbd1e1bebda1bab8dffeab7f7f6691eddf487",name:"alert"}),r("slot",{key:"1c12604a64392bea5f30af724bb10ad074336246",name:"cover"}))}};n.style=s;const c="img{display:block;max-width:100%;height:340px;margin:auto;object-fit:cover}img.faded{opacity:0.3}";const l=c;const h=class{constructor(r){e(this,r);this.img=undefined;this.titolo=undefined;this.faded=undefined;this.defaultimg=undefined}hadleOnImageError(){this.img=this.defaultimg}render(){return r("img",{key:"e8bb33422b5ec5cd69aa639b75bac7d36efb7eb0",class:this.faded&&"faded",onError:this.hadleOnImageError.bind(this),alt:this.titolo,src:this.img})}};h.style=l;const b='header{position:relative;display:flex;width:auto;height:calc(var(--space-unit) * 6);flex-direction:row;align-items:flex-start;justify-content:space-between;border-bottom:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius) var(--border-radius) var(--border-no-radius) var(--border-no-radius)}slot[name="aria-heading"]::slotted(*){position:absolute;overflow:hidden !important;width:1px !important;height:1px !important;padding:0 !important;border:0 none !important;margin:-1px !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important}header.real,header.trial,header.temp{border-bottom:var(--border-size-medium) solid var(--blue100);background-color:var(--color-primary03)}.card-title{overflow:hidden;height:calc(var(--space-unit) * 2);padding:calc(var(--space-unit) * 2);margin:0;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:12px;font-weight:var(--font-sb);letter-spacing:0.22px;line-height:calc(var(--space-unit) * 2);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.faded{border-bottom:var(--border-size-medium) solid var(--color-background)}.faded.real,.faded.trial,.faded.temp{border-top:var(--border-size-medium) solid var(--blue100);border-right:var(--border-size-medium) solid var(--blue100);border-left:var(--border-size-medium) solid var(--blue100)}';const f=b;const u=class{constructor(r){e(this,r);this.titolo=undefined;this.faded=undefined;this.cardtype=undefined;this.allowTooltip=false}getTitle(){return this.allowTooltip?this.titolo:""}componentDidLoad(){if(this.elementHasEllipsis()){this.allowTooltip=true}}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}retrieveClass(){return{real:this.cardtype===a.REAL,trial:this.cardtype===a.TRIAL,temp:this.cardtype===a.TEMP,faded:this.faded}}render(){return r("header",{key:"4dd5f09942f07568a180ac4bc2079aa3ebb5caf5",class:this.retrieveClass()},r("slot",{key:"09f9e26d737c37eb81b0f88430baeb731275a118",name:"aria-heading"}),r("span",{key:"a6401d5728990d95a9963ef9feb4496accfb9676",class:"card-title",ref:e=>this.ellipsis=e,title:this.getTitle()},this.titolo),r("slot",{key:"98e8d0b79de7170ac81aceed3fe07275b80f7d08",name:"icon"}))}};u.style=f;export{o as z_myz_card,n as z_myz_card_body,h as z_myz_card_cover,u as z_myz_card_header};
|
|
2
|
-
//# sourceMappingURL=p-50bf57b4.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stylesCss","ZMyzCardStyle0","ZMyzCardComponent","retrieveClass","elemClasses","this","cardtype","LicenseType","REAL","TRIAL","TEMP","faded","ispressed","ishighlighted","render","h","key","class","tabindex","ZMyzCardBodyStyle0","ZMyzCardBody","name","ZMyzCardCoverStyle0","ZMyzCardCover","hadleOnImageError","img","defaultimg","onError","bind","alt","titolo","src","ZMyzCardHeaderStyle0","ZMyzCardHeader","getTitle","allowTooltip","componentDidLoad","elementHasEllipsis","ellipsis","offsetWidth","scrollWidth","real","trial","temp","ref","el","title"],"sources":["src/snowflakes/myz/card/z-myz-card/styles.css?tag=z-myz-card&encapsulation=shadow","src/snowflakes/myz/card/z-myz-card/index.tsx","src/snowflakes/myz/card/z-myz-card-body/styles.css?tag=z-myz-card-body&encapsulation=shadow","src/snowflakes/myz/card/z-myz-card-body/index.tsx","src/snowflakes/myz/card/z-myz-card-cover/styles.css?tag=z-myz-card-cover&encapsulation=shadow","src/snowflakes/myz/card/z-myz-card-cover/index.tsx","src/snowflakes/myz/card/z-myz-card-header/styles.css?tag=z-myz-card-header&encapsulation=shadow","src/snowflakes/myz/card/z-myz-card-header/index.tsx"],"sourcesContent":[":host {\n --card-overflow: hidden;\n}\n\ndiv {\n display: flex;\n overflow: var(--card-overflow);\n width: auto;\n width: 256px; /* TODO: width must be 100% - must be handled in dashboard */\n height: 522px;\n box-sizing: border-box;\n flex-direction: column;\n border: var(--border-size-medium) solid var(--color-surface03);\n background-color: var(--color-surface01);\n border-radius: var(--border-radius);\n}\n\ndiv.real,\ndiv.trial,\ndiv.temp {\n border-color: var(--blue100);\n}\n\n/* HIDDEN status */\ndiv.faded {\n border: var(--border-size-medium) solid var(--color-background);\n}\n\n/* HIGHLIGHTED status */\ndiv.highlighted {\n box-shadow: var(--shadow-4);\n outline: none;\n}\n\n/* PRESSED status */\ndiv.pressed {\n box-shadow: var(--shadow-8);\n outline: none;\n}\n\ndiv:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n","import {Component, h, Prop} from \"@stencil/core\";\nimport {LicenseType} from \"../../../../beans/index\";\n\n/**\n * @slot - generic card slot\n */\n@Component({\n tag: \"z-myz-card\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMyzCardComponent {\n /** faded status */\n @Prop()\n faded: boolean;\n\n /** graphic variant (optional) */\n @Prop()\n cardtype?: LicenseType;\n\n /** pressed status */\n @Prop()\n ispressed = false;\n\n /** highlighted status */\n @Prop()\n ishighlighted = false;\n\n private retrieveClass(): string {\n let elemClasses = \"\";\n\n if (this.cardtype === LicenseType.REAL) {\n elemClasses += \"real\";\n } else if (this.cardtype === LicenseType.TRIAL) {\n elemClasses += \"trial\";\n } else if (this.cardtype === LicenseType.TEMP) {\n elemClasses += \"temp\";\n }\n\n if (this.faded) {\n elemClasses += \" faded\";\n } else if (this.ispressed) {\n elemClasses += \" pressed\";\n } else if (this.ishighlighted) {\n elemClasses += \" highlighted\";\n }\n\n return elemClasses;\n }\n\n render(): HTMLDivElement {\n return (\n <div\n class={this.retrieveClass()}\n tabindex=\"0\"\n >\n <slot />\n </div>\n );\n }\n}\n",":host {\n width: auto;\n height: 340px;\n}\n\n:host > div {\n position: relative;\n display: flex;\n width: auto;\n height: 340px;\n align-items: center;\n justify-content: center;\n}\n","import {Component, h} from \"@stencil/core\";\n\n/**\n * @slot alert - card alert slot\n * @slot cover - book cover slot\n */\n@Component({\n tag: \"z-myz-card-body\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMyzCardBody {\n render(): HTMLDivElement {\n return (\n <div>\n <slot name=\"alert\"></slot>\n <slot name=\"cover\" />\n </div>\n );\n }\n}\n","img {\n display: block;\n max-width: 100%;\n height: 340px;\n margin: auto;\n object-fit: cover;\n}\n\nimg.faded {\n opacity: 0.3;\n}\n","import {Component, Prop, h} from \"@stencil/core\";\n\n@Component({\n tag: \"z-myz-card-cover\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMyzCardCover {\n /** image source */\n @Prop()\n img: string;\n\n /** cover alt title */\n @Prop()\n titolo: string;\n\n /** faded status */\n @Prop()\n faded: boolean;\n\n /** default error image source */\n @Prop()\n defaultimg: string;\n\n private hadleOnImageError(): void {\n this.img = this.defaultimg;\n }\n\n render(): HTMLImageElement {\n return (\n <img\n class={this.faded && \"faded\"}\n onError={this.hadleOnImageError.bind(this)}\n alt={this.titolo}\n src={this.img}\n />\n );\n }\n}\n","header {\n position: relative;\n display: flex;\n width: auto;\n height: calc(var(--space-unit) * 6);\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n background-color: var(--color-surface01);\n border-radius: var(--border-radius) var(--border-radius) var(--border-no-radius) var(--border-no-radius);\n}\n\nslot[name=\"aria-heading\"]::slotted(*) {\n position: absolute;\n overflow: hidden !important;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n border: 0 none !important;\n margin: -1px !important;\n clip: rect(0, 0, 0, 0) !important;\n white-space: nowrap !important;\n}\n\nheader.real,\nheader.trial,\nheader.temp {\n border-bottom: var(--border-size-medium) solid var(--blue100);\n background-color: var(--color-primary03);\n}\n\n.card-title {\n overflow: hidden;\n height: calc(var(--space-unit) * 2);\n padding: calc(var(--space-unit) * 2);\n margin: 0;\n color: var(--color-surface05);\n font-family: var(--font-family-sans);\n font-size: 12px;\n font-weight: var(--font-sb);\n letter-spacing: 0.22px;\n line-height: calc(var(--space-unit) * 2);\n text-overflow: ellipsis;\n text-transform: uppercase;\n white-space: nowrap;\n}\n\n.faded {\n border-bottom: var(--border-size-medium) solid var(--color-background);\n}\n\n.faded.real,\n.faded.trial,\n.faded.temp {\n border-top: var(--border-size-medium) solid var(--blue100);\n border-right: var(--border-size-medium) solid var(--blue100);\n border-left: var(--border-size-medium) solid var(--blue100);\n}\n","import {Component, Prop, State, h} from \"@stencil/core\";\nimport {JSXBase} from \"@stencil/core/internal\";\nimport {LicenseType} from \"../../../../beans/index\";\n\n/**\n * @slot icon - card header icon slot\n */\n@Component({\n tag: \"z-myz-card-header\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMyzCardHeader {\n /** volume title */\n @Prop()\n titolo: string;\n\n /** faded status */\n @Prop()\n faded: boolean;\n\n /** card graphic variant (optional) */\n @Prop()\n cardtype?: LicenseType;\n\n @State()\n allowTooltip = false;\n\n private ellipsis?: HTMLElement;\n\n private getTitle(): string {\n return this.allowTooltip ? this.titolo : \"\";\n }\n\n componentDidLoad(): void {\n if (this.elementHasEllipsis()) {\n this.allowTooltip = true;\n }\n }\n\n private elementHasEllipsis(): boolean {\n return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;\n }\n\n private retrieveClass(): JSXBase.HTMLAttributes[\"class\"] {\n return {\n real: this.cardtype === LicenseType.REAL,\n trial: this.cardtype === LicenseType.TRIAL,\n temp: this.cardtype === LicenseType.TEMP,\n faded: this.faded,\n };\n }\n\n render(): HTMLElement {\n return (\n <header class={this.retrieveClass()}>\n <slot name=\"aria-heading\" />\n <span\n class=\"card-title\"\n ref={(el) => (this.ellipsis = el as HTMLElement)}\n title={this.getTitle()}\n >\n {this.titolo}\n </span>\n <slot name=\"icon\" />\n </header>\n );\n }\n}\n"],"mappings":"+EAAA,MAAMA,EAAY,mlBAClB,MAAAC,EAAeD,E,MCUFE,EAAiB,M,qFAWhB,M,mBAII,K,CAER,aAAAC,GACN,IAAIC,EAA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C,KACpCkC,MAAOrC,KAAKC,WAAaC,EAAYE,MACrCkC,KAAMtC,KAAKC,WAAaC,EAAYG,KACpCC,MAAON,KAAKM,M,CAIhB,MAAAG,GACE,OACEC,EAAA,UAAAC,IAAA,2CAAQC,MAAOZ,KAAKF,iBAClBY,EAAA,QAAAC,IAAA,2CAAMK,KAAK,iBACXN,EAAA,QAAAC,IAAA,2CACEC,MAAM,aACN2B,IAAMC,GAAQxC,KAAKiC,SAAWO,EAC9BC,MAAOzC,KAAK6B,YAEX7B,KAAKyB,QAERf,EAAA,QAAAC,IAAA,2CAAMK,KAAK,S","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,h as i,a as t,g as o}from"./p-75c4a726.js";import{H as r,e as a}from"./p-b34993de.js";const n=':host{--z-info-reveal-panel-width:384px;--trigger-size:44px;position:relative}:host *{box-sizing:border-box}button{--trigger-icon-size:calc(var(--trigger-size) / 2);display:flex;align-items:center;justify-content:center;padding:0;border:none;background-color:transparent;cursor:pointer;font-family:inherit;letter-spacing:inherit}button:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.z-info-reveal-trigger{min-width:var(--trigger-size);height:var(--trigger-size);padding:calc((var(--trigger-size) - var(--trigger-icon-size)) / 2);background-color:var(--color-surface05);border-radius:var(--border-radius);color:var(--color-text-inverse);column-gap:var(--space-unit);font-weight:var(--font-sb);line-height:1rem}:host([size="big"]) .z-info-reveal-trigger{font-size:var(--font-size-2)}:host([size="small"]) .z-info-reveal-trigger{--trigger-size:36px;font-size:var(--font-size-2)}:host([size="x-small"]) .z-info-reveal-trigger{--trigger-size:32px;padding:var(--space-unit);font-size:var(--font-size-1)}:host>.z-info-reveal-trigger z-icon{--z-icon-width:var(--trigger-icon-size);--z-icon-height:var(--trigger-icon-size);display:flex;fill:var(--color-inverse-icon)}:host([size="small"])>.z-info-reveal-trigger z-icon{--trigger-icon-size:18px}:host([size="x-small"])>.z-info-reveal-trigger z-icon{--trigger-icon-size:16px}.z-info-reveal-panel{position:absolute;z-index:99;display:flex;width:var(--z-info-reveal-panel-width);height:fit-content;align-items:flex-start;padding:calc(var(--space-unit) * 1.5);background-color:var(--color-surface05);border-radius:var(--border-radius);box-shadow:var(--shadow-4);color:var(--color-text-inverse);column-gap:var(--space-unit)}.z-info-reveal-panel[hidden]{display:none}:host([position="top_left"]) .z-info-reveal-panel,:host([position="top_right"]) .z-info-reveal-panel{top:0}:host([position="bottom_left"]) .z-info-reveal-panel,:host([position="bottom_right"]) .z-info-reveal-panel{bottom:0}:host([position="top_right"]) .z-info-reveal-panel,:host([position="bottom_right"]) .z-info-reveal-panel{right:0}:host([position="top_left"]) .z-info-reveal-panel,:host([position="bottom_left"]) .z-info-reveal-panel{left:0}.z-info-reveal-panel .z-info-reveal-close{margin-left:auto}.z-info-reveal-panel z-icon{fill:var(--color-inverse-icon)}@media (max-width: 767px){.z-info-reveal-panel{position:fixed;top:auto !important;bottom:auto !important;left:var(--grid-margin) !important;width:calc(100% - (var(--grid-margin) * 2)) !important;max-width:none !important;margin-top:calc(var(--trigger-size) * -1)}}';const s=n;const l=class{constructor(i){e(this,i);this.icon="informationsource";this.position=r.BOTTOM_RIGHT;this.label=undefined;this.ariaLabel="Apri pannello informazioni";this.size=a.BIG;this.open=false}adjustPanelPosition(){if(!this.open||!this.panel){return}const e=this.host.getBoundingClientRect();const i=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--grid-margin"),10);const t=document.documentElement.offsetWidth;const o=Math.round((this.position.includes("left")?t-e.left:e.right)-i);this.panel.style.maxWidth=`${o}px`}togglePanel(){this.open=!this.open}closePanel(){this.open=false}handleEscapeKey(e){if(e.key==="Escape"&&this.open){this.closePanel()}}render(){return i(t,{key:"7098ea723139c78a7ecca1bbc924d5e17925bdc5",open:this.open},i("button",{key:"8f798611b1069939b18ab3bdc9c197bec5fc6d20",class:"z-info-reveal-trigger",type:"button",onClick:this.togglePanel.bind(this),"aria-label":!this.label?this.ariaLabel:undefined,"aria-expanded":this.open?"true":"false","aria-controls":"z-info-reveal-panel"},this.icon&&i("z-icon",{key:"2db6409fe7db09738f83135e58300c235ce988db",name:this.icon}),this.label&&i("span",{key:"71ca110cd12256dcfe5e7b37026537fb5ea324b8",class:"z-info-reveal-label"},this.label)),i("div",{key:"1385b98d28160c1e5578d47f63ba37f26e63eeb8",class:"z-info-reveal-panel",id:"z-info-reveal-panel",ref:e=>this.panel=e,hidden:!this.open},i("slot",{key:"dbbcff160f1dceaa336362f5a43436d57f357e01"}),i("button",{key:"e6f4778d55de1de95fa3d509ed01c3b555ff225b",class:"z-info-reveal-close",type:"button",onClick:this.closePanel.bind(this),"aria-label":"Chiudi pannello informazioni"},i("z-icon",{key:"51b13036bb93efce68db3f0cbf5d9f718ddcb266",name:"multiply"}))))}get host(){return o(this)}static get watchers(){return{position:["adjustPanelPosition"],open:["adjustPanelPosition"]}}};l.style=s;export{l as z_info_reveal};
|
|
2
|
-
//# sourceMappingURL=p-52be7378.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stylesCss","ZInfoRevealStyle0","ZInfoReveal","InfoRevealPosition","BOTTOM_RIGHT","ControlSize","BIG","adjustPanelPosition","this","open","panel","rect","host","getBoundingClientRect","gridMargin","parseInt","getComputedStyle","document","documentElement","getPropertyValue","pageWidth","offsetWidth","availableSpace","Math","round","position","includes","left","right","style","maxWidth","togglePanel","closePanel","handleEscapeKey","event","key","render","h","Host","class","type","onClick","bind","label","ariaLabel","undefined","icon","name","id","ref","el","hidden"],"sources":["src/components/z-info-reveal/styles.css?tag=z-info-reveal&encapsulation=shadow","src/components/z-info-reveal/index.tsx"],"sourcesContent":[":host {\n --z-info-reveal-panel-width: 384px; /* defaults half the size of the mobile breakpoint */\n --trigger-size: 44px;\n\n position: relative;\n}\n\n:host * {\n box-sizing: border-box;\n}\n\nbutton {\n --trigger-icon-size: calc(var(--trigger-size) / 2);\n\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n background-color: transparent;\n cursor: pointer;\n font-family: inherit;\n letter-spacing: inherit;\n}\n\nbutton:focus:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n.z-info-reveal-trigger {\n min-width: var(--trigger-size);\n height: var(--trigger-size);\n padding: calc((var(--trigger-size) - var(--trigger-icon-size)) / 2);\n background-color: var(--color-surface05);\n border-radius: var(--border-radius);\n color: var(--color-text-inverse);\n column-gap: var(--space-unit);\n font-weight: var(--font-sb);\n line-height: 1rem;\n}\n\n:host([size=\"big\"]) .z-info-reveal-trigger {\n font-size: var(--font-size-2);\n}\n\n:host([size=\"small\"]) .z-info-reveal-trigger {\n --trigger-size: 36px;\n\n font-size: var(--font-size-2);\n}\n\n:host([size=\"x-small\"]) .z-info-reveal-trigger {\n --trigger-size: 32px;\n\n padding: var(--space-unit);\n font-size: var(--font-size-1);\n}\n\n:host > .z-info-reveal-trigger z-icon {\n --z-icon-width: var(--trigger-icon-size);\n --z-icon-height: var(--trigger-icon-size);\n\n display: flex;\n fill: var(--color-inverse-icon);\n}\n\n:host([size=\"small\"]) > .z-info-reveal-trigger z-icon {\n --trigger-icon-size: 18px;\n}\n\n:host([size=\"x-small\"]) > .z-info-reveal-trigger z-icon {\n --trigger-icon-size: 16px;\n}\n\n.z-info-reveal-panel {\n position: absolute;\n z-index: 99;\n display: flex;\n width: var(--z-info-reveal-panel-width);\n height: fit-content;\n align-items: flex-start;\n padding: calc(var(--space-unit) * 1.5);\n background-color: var(--color-surface05);\n border-radius: var(--border-radius);\n box-shadow: var(--shadow-4);\n color: var(--color-text-inverse);\n column-gap: var(--space-unit);\n}\n\n.z-info-reveal-panel[hidden] {\n display: none;\n}\n\n:host([position=\"top_left\"]) .z-info-reveal-panel,\n:host([position=\"top_right\"]) .z-info-reveal-panel {\n top: 0;\n}\n\n:host([position=\"bottom_left\"]) .z-info-reveal-panel,\n:host([position=\"bottom_right\"]) .z-info-reveal-panel {\n bottom: 0;\n}\n\n:host([position=\"top_right\"]) .z-info-reveal-panel,\n:host([position=\"bottom_right\"]) .z-info-reveal-panel {\n right: 0;\n}\n\n:host([position=\"top_left\"]) .z-info-reveal-panel,\n:host([position=\"bottom_left\"]) .z-info-reveal-panel {\n left: 0;\n}\n\n.z-info-reveal-panel .z-info-reveal-close {\n margin-left: auto;\n}\n\n.z-info-reveal-panel z-icon {\n fill: var(--color-inverse-icon);\n}\n\n@media (max-width: 767px) {\n .z-info-reveal-panel {\n position: fixed;\n top: auto !important;\n bottom: auto !important;\n left: var(--grid-margin) !important;\n width: calc(100% - (var(--grid-margin) * 2)) !important;\n max-width: none !important;\n margin-top: calc(var(--trigger-size) * -1);\n }\n}\n","import {Component, Element, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ControlSize, InfoRevealPosition} from \"../../beans\";\n\n/**\n * Info reveal component.\n *\n * @slot - content of the info panel.\n * @cssprop --z-info-reveal-panel-width - Width of the info panel.\n */\n@Component({\n tag: \"z-info-reveal\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZInfoReveal {\n /** Name of the icon for the trigger button */\n @Prop()\n icon? = \"informationsource\";\n\n /**\n * The position of the z-info-reveal in the page. This helps to correctly place the info panel.\n * The panel will grow in the opposite direction of the position.\n * For example, with the default position `BOTTOM_RIGHT`, the panel will grow vertically upwards and horizontally to the left.\n */\n @Prop({reflect: true})\n position?: InfoRevealPosition = InfoRevealPosition.BOTTOM_RIGHT;\n\n /** Label of the trigger button. */\n @Prop()\n label?: string;\n\n /** Aria label of the trigger button. It will be only used when `label` prop is empty. */\n @Prop()\n ariaLabel = \"Apri pannello informazioni\";\n\n /** Size of the trigger button */\n @Prop({reflect: true})\n size?: ControlSize = ControlSize.BIG;\n\n /** Whether the info panel is open. */\n @State()\n open = false;\n\n @Element() host: HTMLZInfoRevealElement;\n\n private panel: HTMLDivElement;\n\n /**\n * Adjust the position of the info panel to prevent exiting the viewport.\n */\n @Watch(\"position\")\n @Watch(\"open\")\n @Listen(\"resize\", {target: \"window\", passive: true})\n adjustPanelPosition(): void {\n if (!this.open || !this.panel) {\n return;\n }\n\n const rect = this.host.getBoundingClientRect();\n const gridMargin = parseInt(getComputedStyle(document.documentElement).getPropertyValue(\"--grid-margin\"), 10);\n const pageWidth = document.documentElement.offsetWidth;\n // Available space for the info panel to grow towards the edge of the page, based on the `position` prop.\n const availableSpace = Math.round(\n (this.position.includes(\"left\") ? pageWidth - rect.left : rect.right) - gridMargin\n );\n this.panel.style.maxWidth = `${availableSpace}px`;\n }\n\n /**\n * Toggle the open state of the info panel.\n */\n private togglePanel(): void {\n this.open = !this.open;\n }\n\n /**\n * Close the info panel.\n */\n private closePanel(): void {\n this.open = false;\n }\n\n @Listen(\"keydown\", {target: \"window\", capture: true})\n handleEscapeKey(event: KeyboardEvent): void {\n if (event.key === \"Escape\" && this.open) {\n this.closePanel();\n }\n }\n\n render(): HTMLZInfoRevealElement {\n return (\n <Host open={this.open}>\n <button\n class=\"z-info-reveal-trigger\"\n type=\"button\"\n onClick={this.togglePanel.bind(this)}\n aria-label={!this.label ? this.ariaLabel : undefined}\n aria-expanded={this.open ? \"true\" : \"false\"}\n aria-controls=\"z-info-reveal-panel\"\n >\n {this.icon && <z-icon name={this.icon} />}\n {this.label && <span class=\"z-info-reveal-label\">{this.label}</span>}\n </button>\n <div\n class=\"z-info-reveal-panel\"\n id=\"z-info-reveal-panel\"\n ref={(el) => (this.panel = el)}\n hidden={!this.open}\n >\n <slot></slot>\n <button\n class=\"z-info-reveal-close\"\n type=\"button\"\n onClick={this.closePanel.bind(this)}\n aria-label=\"Chiudi pannello informazioni\"\n >\n <z-icon name=\"multiply\" />\n </button>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"oGAAA,MAAMA,EAAY,8/EAClB,MAAAC,EAAeD,E,MCaFE,EAAW,M,mCAGd,oB,cAQwBC,EAAmBC,a,oCAQvC,6B,UAISC,EAAYC,I,UAI1B,K,CAYP,mBAAAC,GACE,IAAKC,KAAKC,OAASD,KAAK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import{r,c as t,h as o}from"./p-75c4a726.js";import{B as i}from"./p-5145a606.js";const a="button{display:flex;max-width:100%;height:36px;align-items:center;padding:0 var(--space-unit);border:var(--border-size-medium) solid var(--color-primary01);background-color:var(--color-surface01);border-radius:var(--border-radius);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none}button::-moz-focus-inner{border:0}button:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary);fill:var(--color-hover-primary)}button:focus{border-color:var(--color-primary01);box-shadow:var(--shadow-focus-primary);color:var(--color-primary01);fill:var(--color-primary01)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-pressed-primary)}button.selected{border-color:var(--color-active-primary);background-color:var(--color-active-primary);color:var(--color-text-inverse);fill:var(--color-text-inverse)}button>span.ellipsis{overflow:hidden;padding:0;margin:0;text-overflow:ellipsis;white-space:nowrap}button>span.counter{margin-right:calc(var(--space-unit) * 2);margin-left:calc(var(--space-unit) / 2)}button>span.sort{margin-right:calc(var(--space-unit) / 2);white-space:nowrap}button>span{margin-right:calc(var(--space-unit) / 2)}@media (min-width: 768px){button{max-width:325px}}@media (min-width: 1152px){button{max-width:490px}}";const s=a;const e=class{constructor(o){r(this,o);this.buttonSortClick=t(this,"buttonSortClick",7);this.buttonid=undefined;this.label=undefined;this.desclabel=undefined;this.counter=undefined;this.sortlabelasc="A-Z";this.sortlabeldesc="Z-A";this.isselected=false;this.sortasc=true;this.allowTooltip=false}emitButtonSortClick(){if(!this.isselected){this.isselected=true}else{this.sortasc=!this.sortasc}this.buttonSortClick.emit({buttonid:this.buttonid,sortAsc:this.sortasc})}componentDidLoad(){if(this.elementHasEllipsis()&&window.innerWidth>i.TABLET){this.allowTooltip=true}}setButtonTitle(){return this.allowTooltip?`${this.sortasc?this.label:this.desclabel}`:""}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return o("button",{key:"6f2fdeea8f8d8c233d6b06ce6a77a550ca003c43",title:this.setButtonTitle(),id:this.buttonid,class:{selected:this.isselected},onClick:()=>this.emitButtonSortClick()},o("span",{key:"2b73a9480490742c954d9f9319a035092e857313",ref:r=>this.ellipsis=r,class:"ellipsis"},!this.sortasc&&this.desclabel?this.desclabel:this.label),o("span",{key:"ffabdef711dfc8489d816c34fd7c52254ac8c89f",class:"counter"},this.counter&&` (${this.counter})`),o("span",{key:"7086a8caa5146d54b93affa0d901dbb60248d64b",class:"sort"},this.sortasc?this.sortlabelasc:this.sortlabeldesc),o("z-icon",{key:"17d0cce1ca76cc916bf8ff2af67570b755d5a12d",name:"caret-up-down",width:16,height:16}))}};e.style=s;export{e as z_button_sort};
|
|
2
|
-
//# sourceMappingURL=p-5f04d9eb.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stylesCss","ZButtonSortStyle0","ZButtonSort","emitButtonSortClick","this","isselected","sortasc","buttonSortClick","emit","buttonid","sortAsc","componentDidLoad","elementHasEllipsis","window","innerWidth","Breakpoints","TABLET","allowTooltip","setButtonTitle","label","desclabel","ellipsis","offsetWidth","scrollWidth","render","h","key","title","id","class","selected","onClick","ref","el","counter","sortlabelasc","sortlabeldesc","name","width","height"],"sources":["src/components/z-button-sort/styles.css?tag=z-button-sort&encapsulation=shadow","src/components/z-button-sort/index.tsx"],"sourcesContent":["button {\n display: flex;\n max-width: 100%;\n height: 36px;\n align-items: center;\n padding: 0 var(--space-unit);\n border: var(--border-size-medium) solid var(--color-primary01);\n background-color: var(--color-surface01);\n border-radius: var(--border-radius);\n color: var(--color-primary01);\n cursor: pointer;\n fill: var(--color-primary01);\n font-family: var(--font-family-sans);\n font-size: 14px;\n font-weight: var(--font-sb);\n outline: none;\n}\n\nbutton::-moz-focus-inner {\n border: 0;\n}\n\nbutton:hover {\n border-color: var(--color-hover-primary);\n color: var(--color-hover-primary);\n fill: var(--color-hover-primary);\n}\n\nbutton:focus {\n border-color: var(--color-primary01);\n box-shadow: var(--shadow-focus-primary);\n color: var(--color-primary01);\n fill: var(--color-primary01);\n}\n\nbutton:active {\n border-color: var(--color-pressed-primary);\n box-shadow: var(--shadow-2);\n color: var(--color-pressed-primary);\n fill: var(--color-pressed-primary);\n}\n\nbutton.selected {\n border-color: var(--color-active-primary);\n background-color: var(--color-active-primary);\n color: var(--color-text-inverse);\n fill: var(--color-text-inverse);\n}\n\nbutton > span.ellipsis {\n overflow: hidden;\n padding: 0;\n margin: 0;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\nbutton > span.counter {\n margin-right: calc(var(--space-unit) * 2);\n margin-left: calc(var(--space-unit) / 2);\n}\n\nbutton > span.sort {\n margin-right: calc(var(--space-unit) / 2);\n white-space: nowrap;\n}\n\nbutton > span {\n margin-right: calc(var(--space-unit) / 2);\n}\n\n/* Tablet breakpoint */\n@media (min-width: 768px) {\n button {\n max-width: 325px;\n }\n}\n\n/* Desktop breakpoint */\n@media (min-width: 1152px) {\n button {\n max-width: 490px;\n }\n}\n","import {Component, Event, EventEmitter, Prop, State, h} from \"@stencil/core\";\nimport {Breakpoints} from \"../../constants/breakpoints\";\n@Component({\n tag: \"z-button-sort\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZButtonSort {\n /** id, should be unique */\n @Prop()\n buttonid: string;\n\n /** label content (ascending) */\n @Prop()\n label: string;\n\n /** label content (descending) */\n @Prop()\n desclabel?: string;\n\n /** occurrences counter (optional) */\n @Prop()\n counter?: number;\n\n /** sort label content (ascending) (optional) */\n @Prop()\n sortlabelasc?: string = \"A-Z\";\n\n /** sort label content (descending) (optional) */\n @Prop()\n sortlabeldesc?: string = \"Z-A\";\n\n /** selected flag (optional) */\n @Prop({mutable: true})\n isselected?: boolean = false;\n\n /** sortable flag (optional) */\n @Prop({mutable: true})\n sortasc?: boolean = true;\n\n @State()\n allowTooltip = false;\n\n private ellipsis?: HTMLSpanElement;\n\n /** sorting direction click event, returns `buttonid` and `sortAsc` */\n @Event()\n buttonSortClick: EventEmitter;\n\n private emitButtonSortClick(): void {\n if (!this.isselected) {\n this.isselected = true;\n } else {\n this.sortasc = !this.sortasc;\n }\n this.buttonSortClick.emit({\n buttonid: this.buttonid,\n sortAsc: this.sortasc,\n });\n }\n\n componentDidLoad(): void {\n if (this.elementHasEllipsis() && window.innerWidth > Breakpoints.TABLET) {\n this.allowTooltip = true;\n }\n }\n\n private setButtonTitle(): string {\n return this.allowTooltip ? `${this.sortasc ? this.label : this.desclabel}` : \"\";\n }\n\n private elementHasEllipsis(): boolean {\n return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;\n }\n\n render(): HTMLButtonElement {\n return (\n <button\n title={this.setButtonTitle()}\n id={this.buttonid}\n class={{selected: this.isselected}}\n onClick={() => this.emitButtonSortClick()}\n >\n <span\n ref={(el) => (this.ellipsis = el as HTMLSpanElement)}\n class=\"ellipsis\"\n >\n {!this.sortasc && this.desclabel ? this.desclabel : this.label}\n </span>\n <span class=\"counter\">{this.counter && ` (${this.counter})`}</span>\n <span class=\"sort\">{this.sortasc ? this.sortlabelasc : this.sortlabeldesc}</span>\n <z-icon\n name=\"caret-up-down\"\n width={16}\n height={16}\n />\n </button>\n );\n }\n}\n"],"mappings":"iFAAA,MAAMA,EAAY,i6CAClB,MAAAC,EAAeD,E,MCMFE,EAAW,M,yLAmBE,M,mBAIC,M,gBAIF,M,aAIH,K,kBAGL,K,CAQP,mBAAAC,GACN,IAAKC,KAAKC,WAAY,CACpBD,KAAKC,WAAa,I,KACb,CACLD,KAAKE,SAAWF,KAAKE,O,CAEvBF,KAAKG,gBAAgBC,KAAK,CACxBC,SAAUL,KAAKK,SACfC,QAASN,KAAKE,S,CAIlB,gBAAAK,GACE,GAAIP,KAAKQ,sBAAwBC,OAAOC,WAAaC,EAAYC,OAAQ,CACvEZ,KAAKa,aAAe,I,EAIhB,cAAAC,GACN,OAAOd,KAAKa,aAAe,GAAGb,KAAKE,QAAUF,KAAKe,MAAQf,KAAKgB,YAAc,E,CAGvE,kBAAAR,GACN,OAAOR,KAAKiB,SAASC,YAAclB,KAAKiB,SAASE,W,CAGnD,MAAAC,GACE,OACEC,EAAA,UAAAC,IAAA,2CACEC,MAAOvB,KAAKc,iBACZU,GAAIxB,KAAKK,SACToB,MAAO,CAACC,SAAU1B,KAAKC,YACvB0B,QAAS,IAAM3B,KAAKD,uBAEpBsB,EAAA,QAAAC,IAAA,2CACEM,IAAMC,GAAQ7B,KAAKiB,SAAWY,EAC9BJ,MAAM,aAEJzB,KAAKE,SAAWF,KAAKgB,UAAYhB,KAAKgB,UAAYhB,KAAKe,OAE3DM,EAAA,QAAAC,IAAA,2CAAMG,MAAM,WAAWzB,KAAK8B,SAAW,KAAK9B,KAAK8B,YACjDT,EAAA,QAAAC,IAAA,2CAAMG,MAAM,QAAQzB,KAAKE,QAAUF,KAAK+B,aAAe/B,KAAKgC,eAC5DX,EAAA,UAAAC,IAAA,2CACEW,KAAK,gBACLC,MAAO,GACPC,OAAQ,K","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as i,c as t,h as e}from"./p-75c4a726.js";import{P as n}from"./p-b34993de.js";import{d as s}from"./p-10607a39.js";import"./p-5145a606.js";const o=':host{width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{position:relative;display:grid;width:calc(100% + calc(var(--space-unit) * 2));height:402px;box-sizing:border-box;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);border:var(--border-size-small) solid var(--color-primary01);margin-left:calc(-1 * var(--space-unit));background:var(--color-surface01);border-radius:0;box-shadow:0 2px 4px 0 rgb(66 69 72 / 35%)}:host>div>z-icon{position:absolute;top:var(--space-unit);right:var(--space-unit);cursor:pointer;fill:var(--color-primary01)}:host>div>div.cta-wrapper{display:flex;flex-flow:column nowrap;align-self:end;justify-content:space-between}:host>div>div.content-wrapper{position:relative;overflow:hidden;align-self:stretch}:host>div>div.content-wrapper>section{box-sizing:border-box;padding:var(--space-unit) 0;border-bottom:var(--border-size-small) solid var(--color-surface04);color:var(--color-surface05);font-size:14px;line-height:20px}:host>div>div.content-wrapper>section:last-child{border-bottom:none}:host>div>div.content-wrapper>section.info-wrapper{position:relative;overflow:hidden;box-sizing:border-box}:host>div>div.content-wrapper>section.info-wrapper.hidden::after{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg, rgb(255 0 0 / 0%), rgb(255 0 0 / 0%) 60%, white);content:"";pointer-events:none}:host>div>div.content-wrapper>section>span.license-heading{display:flex;justify-content:space-between}:host>div>div.content-wrapper>section>span.license-heading>span.expired{color:var(--color-primary01);font-size:12px;font-weight:600}:host>div>div.content-wrapper>section>span.license-heading>span.expiring{color:var(--color-warning01);font-size:12px;font-weight:600}:host>div>div.content-wrapper>z-popover{position:absolute;top:0;left:calc(var(--space-unit) * 4)}';const r=o;const a=class{emitFlipCard(i=false){this.flipCard.emit(i)}constructor(e){i(this,e);this.flipCard=t(this,"flipCard",7);this.data=undefined;this.htmltabindex=0;this.hiddenContent=false;this.tooltip=false;this.emitFlipCard=this.emitFlipCard.bind(this)}componentWillLoad(){this.setStringOrArray()}componentWillUpdate(){this.setStringOrArray()}componentDidRender(){this.handleContentHeight()}handleContentHeight(){if(!this.contentWrapper&&!this.infoWrapper){this.hiddenContent=false;return}if(this.contentWrapper.scrollHeight>this.contentWrapper.offsetHeight||this.infoWrapper.scrollHeight>this.infoWrapper.offsetHeight){const i=this.contentWrapper.offsetHeight-this.onlineLicenseWrapper.offsetHeight-this.offlineLicenseWrapper.offsetHeight;this.infoWrapper.style.height=`${i}px`;this.hiddenContent=true;return}this.hiddenContent=false}setStringOrArray(){if(typeof this.data==="string"){this.cardData=JSON.parse(this.data)}else{this.cardData=this.data}}renderCloseIcon(){return e("z-icon",{name:"multiply-circled-filled",height:18,width:18,onClick:()=>this.emitFlipCard(false),tabindex:this.htmltabindex,onKeyUp:i=>{s(i,this.emitFlipCard,false)}})}renderGeneralSection(){var i,t;const n=(i=this===null||this===void 0?void 0:this.cardData)===null||i===void 0?void 0:i.title;const s=(t=this===null||this===void 0?void 0:this.cardData)===null||t===void 0?void 0:t.description;return e("section",{class:`info-wrapper ${this.hiddenContent?"hidden":""}`,onClick:()=>{if(this.hiddenContent){this.tooltip=!this.tooltip}},ref:i=>this.infoWrapper=i},this.renderAuthor(),this.renderYear(),n,e("br",null),s)}renderAuthor(){var i;const t=(i=this===null||this===void 0?void 0:this.cardData)===null||i===void 0?void 0:i.author;if(!t){return null}return e("span",null,"Autore: ",e("b",null,t),e("br",null))}renderYear(){var i;const t=(i=this===null||this===void 0?void 0:this.cardData)===null||i===void 0?void 0:i.year;if(!t){return null}return e("span",null,"Anno: ",e("b",null,t),e("br",null))}renderTooltip(){if(!this.tooltip){return}if(!this.cardData){return}const{title:i,year:t,author:s,description:o}=this.cardData;return e("z-popover",{position:n.RIGHT,onClick:()=>this.tooltip=false},`${i} ${t} ${s} ${o}`)}setExpirationLicenseMessage(i){if(i==="online"&&this.cardData.onlineLicense.expired||i==="offline"&&this.cardData.offlineLicense.expired){return e("span",{class:"expired"},"SCADUTA")}if(i==="online"&&this.cardData.onlineLicense.expiring||i==="offline"&&this.cardData.offlineLicense.expiring){return e("span",{class:"expiring"},"IN SCADENZA")}}renderOnlineLicenseSection(){var i;if(!((i=this===null||this===void 0?void 0:this.cardData)===null||i===void 0?void 0:i.onlineLicense)){return}return e("section",{ref:i=>this.onlineLicenseWrapper=i},e("span",{class:"license-heading"},e("span",null,"Licenza online"),this.setExpirationLicenseMessage("online")),"Scadenza il ",e("b",null,this.cardData.onlineLicense.expiration),e("br",null))}renderOfflineLicenseSection(){var i;if(!((i=this===null||this===void 0?void 0:this.cardData)===null||i===void 0?void 0:i.offlineLicense)){return}return e("section",{ref:i=>this.offlineLicenseWrapper=i},e("span",{class:"license-heading"},e("span",null,"Licenza offline"),this.setExpirationLicenseMessage("offline")),"Scadenza il ",e("b",null,this.cardData.offlineLicense.expiration),e("br",null),"Installazioni disponibili: ",e("b",null,this.cardData.offlineLicense.installations))}render(){return e("div",{key:"0f8111d48191f306b232f8b9e167aeffced4674b"},this.renderCloseIcon(),e("div",{key:"57b77f2f3ad645cebb44d6a247d93c1e82b8f281",class:"content-wrapper",ref:i=>this.contentWrapper=i},this.renderGeneralSection(),this.renderTooltip(),this.renderOnlineLicenseSection(),this.renderOfflineLicenseSection()),e("div",{key:"226bd8e804cecfee34ff748a5d1936e68f6b2307",class:"cta-wrapper"},e("slot",{key:"2fc25a5fd61a0a04a44ceabb3372265424708f5f"})))}};a.style=r;export{a as z_myz_card_info};
|
|
2
|
-
//# sourceMappingURL=p-605f6780.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stylesCss","ZMyzCardInfoStyle0","ZMyzCardInfo","emitFlipCard","showBack","this","flipCard","emit","constructor","hostRef","bind","componentWillLoad","setStringOrArray","componentWillUpdate","componentDidRender","handleContentHeight","contentWrapper","infoWrapper","hiddenContent","scrollHeight","offsetHeight","height","onlineLicenseWrapper","offlineLicenseWrapper","style","data","cardData","JSON","parse","renderCloseIcon","h","name","width","onClick","tabindex","htmltabindex","onKeyUp","e","handleKeyboardSubmit","renderGeneralSection","title","_a","description","_b","class","tooltip","ref","el","renderAuthor","renderYear","author","year","renderTooltip","position","PopoverPosition","RIGHT","setExpirationLicenseMessage","type","onlineLicense","expired","offlineLicense","expiring","renderOnlineLicenseSection","expiration","renderOfflineLicenseSection","installations","render","key"],"sources":["src/snowflakes/myz/card/z-myz-card-info/styles.css?tag=z-myz-card-info&encapsulation=shadow","src/snowflakes/myz/card/z-myz-card-info/index.tsx"],"sourcesContent":[":host {\n width: 100%;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host > div {\n position: relative;\n display: grid;\n width: calc(100% + calc(var(--space-unit) * 2));\n height: 402px;\n box-sizing: border-box;\n padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);\n border: var(--border-size-small) solid var(--color-primary01);\n margin-left: calc(-1 * var(--space-unit));\n background: var(--color-surface01);\n border-radius: 0;\n box-shadow: 0 2px 4px 0 rgb(66 69 72 / 35%);\n}\n\n:host > div > z-icon {\n position: absolute;\n top: var(--space-unit);\n right: var(--space-unit);\n cursor: pointer;\n fill: var(--color-primary01);\n}\n\n:host > div > div.cta-wrapper {\n display: flex;\n flex-flow: column nowrap;\n align-self: end;\n justify-content: space-between;\n}\n\n:host > div > div.content-wrapper {\n position: relative;\n overflow: hidden;\n align-self: stretch;\n}\n\n:host > div > div.content-wrapper > section {\n box-sizing: border-box;\n padding: var(--space-unit) 0;\n border-bottom: var(--border-size-small) solid var(--color-surface04);\n color: var(--color-surface05);\n font-size: 14px;\n line-height: 20px;\n}\n\n:host > div > div.content-wrapper > section:last-child {\n border-bottom: none;\n}\n\n:host > div > div.content-wrapper > section.info-wrapper {\n position: relative;\n overflow: hidden;\n box-sizing: border-box;\n}\n\n:host > div > div.content-wrapper > section.info-wrapper.hidden::after {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background: linear-gradient(180deg, rgb(255 0 0 / 0%), rgb(255 0 0 / 0%) 60%, white);\n content: \"\";\n pointer-events: none;\n}\n\n:host > div > div.content-wrapper > section > span.license-heading {\n display: flex;\n justify-content: space-between;\n}\n\n:host > div > div.content-wrapper > section > span.license-heading > span.expired {\n color: var(--color-primary01);\n font-size: 12px;\n font-weight: 600;\n}\n\n:host > div > div.content-wrapper > section > span.license-heading > span.expiring {\n color: var(--color-warning01);\n font-size: 12px;\n font-weight: 600;\n}\n\n:host > div > div.content-wrapper > z-popover {\n position: absolute;\n top: 0;\n left: calc(var(--space-unit) * 4);\n}\n","import {Component, Event, EventEmitter, Prop, State, h} from \"@stencil/core\";\nimport {DictionaryData, PopoverPosition} from \"../../../../beans\";\nimport {handleKeyboardSubmit} from \"../../../../utils/utils\";\n\n/**\n * @slot - content\n */\n@Component({\n tag: \"z-myz-card-info\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMyzCardInfo {\n /** dictionary info */\n @Prop()\n data: string | DictionaryData;\n\n /** tabindex link attribute (optional) */\n @Prop()\n htmltabindex?: number = 0;\n\n @State()\n hiddenContent = false;\n\n @State()\n tooltip = false;\n\n private cardData: DictionaryData;\n\n private contentWrapper: HTMLElement;\n\n private infoWrapper: HTMLElement;\n\n private onlineLicenseWrapper: HTMLElement;\n\n private offlineLicenseWrapper: HTMLElement;\n\n /** flip card to front */\n @Event()\n flipCard: EventEmitter;\n\n private emitFlipCard(showBack = false): void {\n this.flipCard.emit(showBack);\n }\n\n constructor() {\n this.emitFlipCard = this.emitFlipCard.bind(this);\n }\n\n componentWillLoad(): void {\n this.setStringOrArray();\n }\n\n componentWillUpdate(): void {\n this.setStringOrArray();\n }\n\n componentDidRender(): void {\n this.handleContentHeight();\n }\n\n private handleContentHeight(): void {\n if (!this.contentWrapper && !this.infoWrapper) {\n this.hiddenContent = false;\n\n return;\n }\n\n if (\n this.contentWrapper.scrollHeight > this.contentWrapper.offsetHeight ||\n this.infoWrapper.scrollHeight > this.infoWrapper.offsetHeight\n ) {\n const height =\n this.contentWrapper.offsetHeight -\n this.onlineLicenseWrapper.offsetHeight -\n this.offlineLicenseWrapper.offsetHeight;\n this.infoWrapper.style.height = `${height}px`;\n this.hiddenContent = true;\n\n return;\n }\n\n this.hiddenContent = false;\n }\n\n private setStringOrArray(): void {\n if (typeof this.data === \"string\") {\n this.cardData = JSON.parse(this.data);\n } else {\n this.cardData = this.data;\n }\n }\n\n private renderCloseIcon(): HTMLZIconElement {\n return (\n <z-icon\n name=\"multiply-circled-filled\"\n height={18}\n width={18}\n onClick={() => this.emitFlipCard(false)}\n tabindex={this.htmltabindex}\n onKeyUp={(e: KeyboardEvent) => {\n handleKeyboardSubmit(e, this.emitFlipCard, false);\n }}\n />\n );\n }\n\n private renderGeneralSection(): HTMLElement {\n const title = this?.cardData?.title;\n const description = this?.cardData?.description;\n\n return (\n <section\n class={`info-wrapper ${this.hiddenContent ? \"hidden\" : \"\"}`}\n onClick={() => {\n if (this.hiddenContent) {\n this.tooltip = !this.tooltip;\n }\n }}\n ref={(el) => (this.infoWrapper = el)}\n >\n {this.renderAuthor()}\n {this.renderYear()}\n {title}\n <br />\n {description}\n </section>\n );\n }\n\n private renderAuthor(): HTMLSpanElement {\n const author = this?.cardData?.author;\n if (!author) {\n return null;\n }\n\n return (\n <span>\n Autore: <b>{author}</b>\n <br />\n </span>\n );\n }\n\n private renderYear(): HTMLSpanElement {\n const year = this?.cardData?.year;\n if (!year) {\n return null;\n }\n\n return (\n <span>\n Anno: <b>{year}</b>\n <br />\n </span>\n );\n }\n\n private renderTooltip(): HTMLZPopoverElement {\n if (!this.tooltip) {\n return;\n }\n\n if (!this.cardData) {\n return;\n }\n const {title, year, author, description} = this.cardData;\n\n return (\n <z-popover\n position={PopoverPosition.RIGHT}\n onClick={() => (this.tooltip = false)}\n >\n {`${title} ${year} ${author} ${description}`}\n </z-popover>\n );\n }\n\n private setExpirationLicenseMessage(type: string): HTMLSpanElement {\n if (\n (type === \"online\" && this.cardData.onlineLicense.expired) ||\n (type === \"offline\" && this.cardData.offlineLicense.expired)\n ) {\n return <span class=\"expired\">SCADUTA</span>;\n }\n\n if (\n (type === \"online\" && this.cardData.onlineLicense.expiring) ||\n (type === \"offline\" && this.cardData.offlineLicense.expiring)\n ) {\n return <span class=\"expiring\">IN SCADENZA</span>;\n }\n }\n\n private renderOnlineLicenseSection(): HTMLElement {\n if (!this?.cardData?.onlineLicense) {\n return;\n }\n\n return (\n <section ref={(el) => (this.onlineLicenseWrapper = el)}>\n <span class=\"license-heading\">\n <span>Licenza online</span>\n {this.setExpirationLicenseMessage(\"online\")}\n </span>\n Scadenza il <b>{this.cardData.onlineLicense.expiration}</b>\n <br />\n </section>\n );\n }\n\n private renderOfflineLicenseSection(): HTMLElement {\n if (!this?.cardData?.offlineLicense) {\n return;\n }\n\n return (\n <section ref={(el) => (this.offlineLicenseWrapper = el)}>\n <span class=\"license-heading\">\n <span>Licenza offline</span>\n {this.setExpirationLicenseMessage(\"offline\")}\n </span>\n Scadenza il <b>{this.cardData.offlineLicense.expiration}</b>\n <br />\n Installazioni disponibili: <b>{this.cardData.offlineLicense.installations}</b>\n </section>\n );\n }\n\n render(): HTMLDivElement {\n return (\n <div>\n {this.renderCloseIcon()}\n <div\n class=\"content-wrapper\"\n ref={(el) => (this.contentWrapper = el)}\n >\n {this.renderGeneralSection()}\n {this.renderTooltip()}\n {this.renderOnlineLicenseSection()}\n {this.renderOfflineLicenseSection()}\n </div>\n <div class=\"cta-wrapper\">\n <slot />\n </div>\n </div>\n );\n }\n}\n"],"mappings":"kJAAA,MAAMA,EAAY,w0DAClB,MAAAC,EAAeD,E,MCWFE,EAAY,MA6Bf,YAAAC,CAAaC,EAAW,OAC9BC,KAAKC,SAASC,KAAKH,E,CAGrB,WAAAI,CAAAC,G,mFA1BwB,E,mBAGR,M,aAGN,MAqBRJ,KAAKF,aAAeE,KAAKF,aAAaO,KAAKL,K,CAG7C,iBAAAM,GACEN,KAAKO,kB,CAGP,mBAAAC,GACER,KAAKO,kB,CAGP,kBAAAE,GACET,KAAKU,qB,CAGC,mBAAAA,GACN,IAAKV,KAAKW,iBAAmBX,KAAKY,YAAa,CAC7CZ,KAAKa,cAAgB,MAErB,M,CAGF,GACEb,KAAKW,eAAeG,aAAed,KAAKW,eAAeI,cACvDf,KAAKY,YAAYE,aAAed,KAAKY,YAAYG,aACjD,CACA,MAAMC,EACJhB,KAAKW,eAAeI,aACpBf,KAAKiB,qBAAqBF,aAC1Bf,KAAKkB,sBAAsBH,aAC7Bf,KAAKY,YAAYO,MAAMH,OAAS,GAAGA,MACnChB,KAAKa,cAAgB,KAErB,M,CAGFb,KAAKa,cAAgB,K,CAGf,gBAAAN,GACN,UAAWP,KAAKoB,OAAS,SAAU,CACjCpB,KAAKqB,SAAWC,KAAKC,MAAMvB,KAAKoB,K,KAC3B,CACLpB,KAAKqB,SAAWrB,KAAKoB,I,EAIjB,eAAAI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nC1C,KAAKkC,uBACLlC,KAAK+C,gBACL/C,KAAKyD,6BACLzD,KAAK2D,+BAERlC,EAAA,OAAAqC,IAAA,2CAAKvB,MAAM,eACTd,EAAA,QAAAqC,IAAA,8C","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,g as i}from"./p-75c4a726.js";import{p as r}from"./p-b34993de.js";import{i as s,g as o,d as n}from"./p-10607a39.js";import"./p-5145a606.js";const a=':host{display:block;width:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;flex-direction:column}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;z-index:10;top:50%;width:auto;margin:0 var(--space-unit);cursor:pointer;fill:var(--color-primary01);transition:0.6s ease}main .scroll.disabled{opacity:0.5;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;line-height:0px;overflow-y:hidden;transition:all 300ms}footer{display:grid;width:100%;height:56px;align-items:center;border-top:var(--border-size-medium) solid var(--color-background);grid-template:2 / 2;grid-template-areas:"center center" "left right"}footer>div{width:100%;align-items:center}footer .footer-center{grid-area:center}footer .footer-left{grid-area:left}footer .footer-right{grid-area:right}footer .bullet-container{display:flex;min-height:60px;align-items:center;justify-content:center;margin:0 auto}footer .bullet-container .bullet{width:8px;height:8px;margin:var(--space-unit) 2px;background-color:var(--gray200);border-radius:50%;pointer-events:none}footer .bullet-container .bullet.selected{background-color:var(--gray400)}main z-icon:focus,footer .bullet-container .bullet:focus{border-radius:50%;box-shadow:var(--shadow-focus-primary);outline:none !important}@media only screen and (min-width: 768px){footer{height:76px;border-top:var(--border-size-medium) solid var(--color-background);grid-template:1 / 1fr 2fr 1fr;grid-template-areas:"left center right"}footer .bullet-container .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bullet-container .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);cursor:pointer;pointer-events:auto}}';const l=a;function d(t){return Array.isArray(t)&&t.every((t=>typeof t==="string"))}const h=class{constructor(e){t(this,e);this.slideshowid=undefined;this.data=undefined;this.device=undefined;this.currentSlide=0}watchData(){this.parseLinks()}componentWillLoad(){this.parseLinks();this.setDevice();window.addEventListener("resize",this.handleResize.bind(this))}componentDidRender(){this.setStyle()}handleResize(){this.setDevice();this.setStyle()}parseLinks(){var t;switch(typeof this.data){case"string":{const e=(t=s(this.data))!==null&&t!==void 0?t:[];if(!d(e)){throw new Error("Passed data is invalid")}this.links=e;break}default:this.links=this.data;break}}setStyle(){const t=this.el.shadowRoot.querySelector("#slides");if(!t){return}const e=this.el.shadowRoot.querySelectorAll(".slide");const i=this.el.offsetWidth;const r=i*this.links.length;t.style.width=`${r}px`;t.style.transform=`translate(-${i*this.currentSlide}px)`;e.forEach((t=>{const e=t.querySelector("img");e.style.width=`${i}px`}))}setDevice(){this.device=o()}setCurrentSlide(t){this.currentSlide=t}getBulletDimension(){switch(this.device){case r.MOBILE:return 24;case r.TABLET:return 32;default:return 40}}renderSlides(t){return e("div",{id:"slides"},t.map(((t,i)=>e("div",{id:"slide"+i,class:`slide ${this.currentSlide!==i&&"hide"}`},e("img",{src:t})))))}renderScroll(t){let i=false,r=this.currentSlide;if(t==="left"){i=this.currentSlide===0;r--}else if(t==="right"){i=this.currentSlide===this.links.length-1;r++}return e("z-icon",{class:`scroll ${t} ${i&&"disabled"}`,width:this.getBulletDimension(),height:this.getBulletDimension(),name:`chevron-${t}-circle`,onClick:()=>{!i&&this.setCurrentSlide(r)},onKeyUp:t=>!i&&n(t,(()=>{this.setCurrentSlide(r)})),tabindex:0,role:"button"})}renderSlideshowMain(){return e("main",null,this.renderScroll("left"),this.renderSlides(this.links),this.renderScroll("right"))}renderBullet(t){return e("a",{class:`bullet ${this.currentSlide===t&&"selected"}`,onClick:()=>this.setCurrentSlide(t),onKeyUp:e=>n(e,(()=>this.setCurrentSlide(t))),tabindex:0,role:"button"})}renderSlideshowFooter(){return e("footer",null,e("div",{class:"footer-left"},e("slot",{name:"footer-left"})),e("div",{class:"footer-center"},e("div",{class:"bullet-container"},Object.keys(this.links).map((t=>this.renderBullet(parseInt(t)))))),e("div",{class:"footer-right"},e("slot",{name:"footer-right"})))}render(){if(!this.links||!this.links.length){return e("div",null)}return e("div",{id:this.slideshowid},this.renderSlideshowMain(),this.renderSlideshowFooter())}get el(){return i(this)}static get watchers(){return{data:["watchData"]}}};h.style=l;export{h as z_slideshow};
|
|
2
|
-
//# sourceMappingURL=p-65f1b68b.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stylesCss","ZSlideshowStyle0","isStringArray","data","Array","isArray","every","datum","ZSlideshow","watchData","this","parseLinks","componentWillLoad","setDevice","window","addEventListener","handleResize","bind","componentDidRender","setStyle","parsed","_a","convertJson","Error","links","refSlides","el","shadowRoot","querySelector","allImages","querySelectorAll","width","offsetWidth","fullwidth","length","style","transform","currentSlide","forEach","item","img","device","getDevice","setCurrentSlide","index","getBulletDimension","Device","MOBILE","TABLET","renderSlides","items","h","id","map","i","class","src","renderScroll","direction","disabled","nextSlide","height","name","onClick","onKeyUp","e","handleKeyboardSubmit","tabindex","role","renderSlideshowMain","renderBullet","renderSlideshowFooter","Object","keys","parseInt","render","slideshowid"],"sources":["src/snowflakes/myz/z-slideshow/styles.css?tag=z-slideshow&encapsulation=shadow","src/snowflakes/myz/z-slideshow/index.tsx"],"sourcesContent":[":host {\n display: block;\n width: inherit;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host > div {\n display: flex;\n width: inherit;\n flex-direction: column;\n}\n\nmain {\n position: relative;\n overflow: hidden;\n width: 100%;\n}\n\nmain z-icon.scroll {\n position: absolute;\n z-index: 10;\n top: 50%;\n width: auto;\n margin: 0 var(--space-unit);\n cursor: pointer;\n fill: var(--color-primary01);\n transition: 0.6s ease;\n}\n\nmain .scroll.disabled {\n opacity: 0.5;\n pointer-events: none;\n}\n\nmain .scroll.right {\n right: 0;\n}\n\n#slides {\n display: flex;\n flex-wrap: wrap;\n line-height: 0px;\n overflow-y: hidden;\n transition: all 300ms;\n}\n\nfooter {\n display: grid;\n width: 100%;\n height: 56px;\n align-items: center;\n border-top: var(--border-size-medium) solid var(--color-background);\n grid-template: 2 / 2;\n grid-template-areas: \"center center\" \"left right\";\n}\n\nfooter > div {\n width: 100%;\n align-items: center;\n}\n\nfooter .footer-center {\n grid-area: center;\n}\n\nfooter .footer-left {\n grid-area: left;\n}\n\nfooter .footer-right {\n grid-area: right;\n}\n\nfooter .bullet-container {\n display: flex;\n min-height: 60px;\n align-items: center;\n justify-content: center;\n margin: 0 auto;\n}\n\nfooter .bullet-container .bullet {\n width: 8px;\n height: 8px;\n margin: var(--space-unit) 2px;\n background-color: var(--gray200);\n border-radius: 50%;\n pointer-events: none;\n}\n\nfooter .bullet-container .bullet.selected {\n background-color: var(--gray400);\n}\n\nmain z-icon:focus,\nfooter .bullet-container .bullet:focus {\n border-radius: 50%;\n box-shadow: var(--shadow-focus-primary);\n outline: none !important;\n}\n\n/* Tablet breakpoint */\n\n@media only screen and (min-width: 768px) {\n footer {\n height: 76px;\n border-top: var(--border-size-medium) solid var(--color-background);\n grid-template: 1 / 1fr 2fr 1fr;\n grid-template-areas: \"left center right\";\n }\n\n footer .bullet-container .bullet {\n width: 10px;\n height: 10px;\n margin: var(--space-unit) 3px;\n }\n}\n\n/* Desktop breakpoint */\n\n@media only screen and (min-width: 1025px) {\n main z-icon.scroll {\n margin: 0 10px;\n }\n\n footer .bullet-container .bullet {\n width: 16px;\n height: 16px;\n margin: var(--space-unit) calc(var(--space-unit) * 0.5);\n cursor: pointer;\n pointer-events: auto;\n }\n}\n","import {Component, Element, Prop, State, Watch, h} from \"@stencil/core\";\nimport {Device} from \"../../../beans\";\nimport {convertJson, getDevice, handleKeyboardSubmit} from \"../../../utils/utils\";\n\n/**\n * Check if data is an array of strings.\n * @param {unknown} data Data to check\n * @returns {boolean}\n */\nfunction isStringArray(data: unknown): data is string[] {\n return Array.isArray(data) && data.every((datum: unknown): datum is string => typeof datum === \"string\");\n}\n\n/**\n * @slot footer-right - right content slot in footer\n * @slot footer-left - left content slot in footer\n */\n@Component({\n tag: \"z-slideshow\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZSlideshow {\n @Element() el: HTMLZSlideshowElement;\n\n /** slideshow id */\n @Prop()\n slideshowid: string;\n\n /** array or JSON stringified images urls */\n @Prop()\n data: string[] | string;\n\n @State()\n device: Device;\n\n @State()\n currentSlide = 0;\n\n private links: string[];\n\n @Watch(\"data\")\n watchData(): void {\n this.parseLinks();\n }\n\n componentWillLoad(): void {\n this.parseLinks();\n\n this.setDevice();\n window.addEventListener(\"resize\", this.handleResize.bind(this));\n }\n\n componentDidRender(): void {\n this.setStyle();\n }\n\n private handleResize(): void {\n this.setDevice();\n this.setStyle();\n }\n\n private parseLinks(): void {\n switch (typeof this.data) {\n case \"string\": {\n const parsed = convertJson(this.data) ?? [];\n if (!isStringArray(parsed)) {\n throw new Error(\"Passed data is invalid\");\n }\n\n this.links = parsed;\n break;\n }\n default:\n this.links = this.data;\n break;\n }\n }\n\n private setStyle(): void {\n const refSlides = this.el.shadowRoot.querySelector(\"#slides\") as HTMLElement;\n if (!refSlides) {\n return;\n }\n\n const allImages = this.el.shadowRoot.querySelectorAll(\".slide\");\n const width = this.el.offsetWidth;\n const fullwidth = width * this.links.length;\n\n refSlides.style.width = `${fullwidth}px`;\n refSlides.style.transform = `translate(-${width * this.currentSlide}px)`;\n allImages.forEach((item: HTMLElement) => {\n const img = item.querySelector(\"img\");\n img.style.width = `${width}px`;\n });\n }\n\n private setDevice(): void {\n this.device = getDevice();\n }\n\n private setCurrentSlide(index: number): void {\n this.currentSlide = index;\n }\n\n private getBulletDimension(): number {\n switch (this.device) {\n case Device.MOBILE:\n return 24;\n case Device.TABLET:\n return 32;\n default:\n return 40;\n }\n }\n\n private renderSlides(items: string[]): HTMLElement {\n return (\n <div id=\"slides\">\n {items.map((item: string, i: number) => (\n <div\n id={\"slide\" + i}\n class={`slide ${this.currentSlide !== i && \"hide\"}`}\n >\n <img src={item} />\n </div>\n ))}\n </div>\n );\n }\n\n private renderScroll(direction: \"left\" | \"right\"): HTMLZIconElement {\n let disabled = false,\n nextSlide = this.currentSlide;\n\n if (direction === \"left\") {\n disabled = this.currentSlide === 0;\n nextSlide--;\n } else if (direction === \"right\") {\n disabled = this.currentSlide === this.links.length - 1;\n nextSlide++;\n }\n\n return (\n <z-icon\n class={`scroll ${direction} ${disabled && \"disabled\"}`}\n width={this.getBulletDimension()}\n height={this.getBulletDimension()}\n name={`chevron-${direction}-circle`}\n onClick={() => {\n !disabled && this.setCurrentSlide(nextSlide);\n }}\n onKeyUp={(e: KeyboardEvent) =>\n !disabled &&\n handleKeyboardSubmit(e, () => {\n this.setCurrentSlide(nextSlide);\n })\n }\n tabindex={0}\n role=\"button\"\n />\n );\n }\n\n private renderSlideshowMain(): HTMLElement {\n return (\n <main>\n {this.renderScroll(\"left\")}\n {this.renderSlides(this.links)}\n {this.renderScroll(\"right\")}\n </main>\n );\n }\n\n private renderBullet(i: number): HTMLElement {\n return (\n <a\n class={`bullet ${this.currentSlide === i && \"selected\"}`}\n onClick={() => this.setCurrentSlide(i)}\n onKeyUp={(e: KeyboardEvent) => handleKeyboardSubmit(e, () => this.setCurrentSlide(i))}\n tabindex={0}\n role=\"button\"\n ></a>\n );\n }\n\n private renderSlideshowFooter(): HTMLElement {\n return (\n <footer>\n <div class=\"footer-left\">\n <slot name=\"footer-left\" />\n </div>\n <div class=\"footer-center\">\n <div class=\"bullet-container\">{Object.keys(this.links).map((i) => this.renderBullet(parseInt(i)))}</div>\n </div>\n <div class=\"footer-right\">\n <slot name=\"footer-right\" />\n </div>\n </footer>\n );\n }\n\n render(): HTMLElement {\n if (!this.links || !this.links.length) {\n return <div />;\n }\n\n return (\n <div id={this.slideshowid}>\n {this.renderSlideshowMain()}\n {this.renderSlidesh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c,OAAO6B,KAAKC,GAAM5C,KAAK4D,aAAaI,SAASpB,QAE/FH,EAAA,OAAKI,MAAM,gBACTJ,EAAA,QAAMW,KAAK,kB,CAMnB,MAAAa,GACE,IAAKjE,KAAKc,QAAUd,KAAKc,MAAMU,OAAQ,CACrC,OAAOiB,EAAA,W,CAGT,OACEA,EAAA,OAAKC,GAAI1C,KAAKkE,aACXlE,KAAK2D,sBACL3D,KAAK6D,wB","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r,c as o,h as i}from"./p-75c4a726.js";const t="button{display:flex;height:36px;align-items:center;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--color-surface01);border-radius:var(--border-radius);box-shadow:0 0 4px 0 rgb(0 0 0 / 20%);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase}button::-moz-focus-inner{border:0}button:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}button:focus{box-shadow:var(--shadow-focus-primary)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-pressed-primary)}button:disabled{color:var(--color-disabled03);fill:var(--color-disabled03)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";const a=t;const e=class{constructor(i){r(this,i);this.toggleClick=o(this,"toggleClick",7);this.label=undefined;this.isdisabled=false;this.avoidclick=undefined;this.opened=false;this.ariaLabel=""}emitToggleClick(){if(this.isdisabled){return}this.opened=!this.opened;this.toggleClick.emit(this.opened)}render(){return i("button",{key:"6df0aee8dfd4785cd9787b2940c12cc3d680ef0c",tabindex:this.avoidclick?"-1":"0",class:{isopen:this.opened,"avoid-clicks":this.avoidclick},disabled:this.isdisabled,"aria-expanded":this.opened?"true":"false","aria-label":this.ariaLabel,onClick:()=>this.emitToggleClick()},i("z-icon",{key:"ab52cd6023b492b5bba8086fd189112e5329c3ad",name:this.opened?"chevron-down":"chevron-up",width:16,height:16}),this.label)}};e.style=a;export{e as z_toggle_button};
|
|
2
|
-
//# sourceMappingURL=p-7095262b.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stylesCss","ZToggleButtonStyle0","ZToggleButton","emitToggleClick","this","isdisabled","opened","toggleClick","emit","render","h","key","tabindex","avoidclick","class","isopen","disabled","ariaLabel","onClick","name","width","height","label"],"sources":["src/components/z-toggle-button/styles.css?tag=z-toggle-button&encapsulation=shadow","src/components/z-toggle-button/index.tsx"],"sourcesContent":["button {\n display: flex;\n height: 36px;\n align-items: center;\n padding-right: calc(var(--space-unit) * 2);\n padding-left: 0;\n border: var(--border-size-medium) solid;\n border-color: transparent;\n background-color: var(--color-surface01);\n border-radius: var(--border-radius);\n box-shadow: 0 0 4px 0 rgb(0 0 0 / 20%);\n color: var(--color-primary01);\n cursor: pointer;\n fill: var(--color-primary01);\n font-family: var(--font-family-sans);\n font-size: 14px;\n font-weight: var(--font-sb);\n outline: none;\n text-transform: uppercase;\n}\n\nbutton::-moz-focus-inner {\n border: 0;\n}\n\nbutton:hover {\n color: var(--color-hover-primary);\n fill: var(--color-hover-primary);\n}\n\nbutton:focus {\n box-shadow: var(--shadow-focus-primary);\n}\n\nbutton:active {\n border-color: var(--color-pressed-primary);\n box-shadow: var(--shadow-2);\n color: var(--color-pressed-primary);\n fill: var(--color-pressed-primary);\n}\n\nbutton:disabled {\n color: var(--color-disabled03);\n fill: var(--color-disabled03);\n}\n\nz-icon {\n display: inline-block;\n margin: 0 var(--space-unit) 0 calc(var(--space-unit) * 2);\n transform: rotate(360deg);\n transition: all 200ms linear;\n}\n\nbutton.isopen {\n top: -20px;\n}\n\nbutton.avoid-clicks {\n pointer-events: none;\n}\n","import {Component, Event, EventEmitter, Prop, h} from \"@stencil/core\";\n\n@Component({\n tag: \"z-toggle-button\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZToggleButton {\n /** label text */\n @Prop()\n label: string;\n\n /** disabled status flag (optional) */\n @Prop()\n isdisabled?: boolean = false;\n\n /** avoidclick status flag */\n @Prop()\n avoidclick: boolean;\n\n /** open by default (optional) */\n @Prop({mutable: true})\n opened?: boolean = false;\n\n /** aria-label for the button */\n @Prop()\n ariaLabel = \"\";\n\n /** emitted on toggle button click, returns isOpen */\n @Event()\n toggleClick: EventEmitter;\n\n private emitToggleClick(): void {\n if (this.isdisabled) {\n return;\n }\n\n this.opened = !this.opened;\n this.toggleClick.emit(this.opened);\n }\n\n render(): HTMLButtonElement {\n return (\n <button\n tabindex={this.avoidclick ? \"-1\" : \"0\"}\n class={{\n \"isopen\": this.opened,\n \"avoid-clicks\": this.avoidclick,\n }}\n disabled={this.isdisabled}\n aria-expanded={this.opened ? \"true\" : \"false\"}\n aria-label={this.ariaLabel}\n onClick={() => this.emitToggleClick()}\n >\n <z-icon\n name={this.opened ? \"chevron-down\" : \"chevron-up\"}\n width={16}\n height={16}\n />\n {this.label}\n </button>\n );\n }\n}\n"],"mappings":"6CAAA,MAAMA,EAAY,6iCAClB,MAAAC,EAAeD,E,MCMFE,EAAa,M,uGAOD,M,sCAQJ,M,eAIP,E,CAMJ,eAAAC,GACN,GAAIC,KAAKC,WAAY,CACnB,M,CAGFD,KAAKE,QAAUF,KAAKE,OACpBF,KAAKG,YAAYC,KAAKJ,KAAKE,O,CAG7B,MAAAG,GACE,OACEC,EAAA,UAAAC,IAAA,2CACEC,SAAUR,KAAKS,WAAa,KAAO,IACnCC,MAAO,CACLC,OAAUX,KAAKE,OACf,eAAgBF,KAAKS,YAEvBG,SAAUZ,KAAKC,WAAU,gBACVD,KAAKE,OAAS,OAAS,QAAO,aACjCF,KAAKa,UACjBC,QAAS,IAAMd,KAAKD,mBAEpBO,EAAA,UAAAC,IAAA,2CACEQ,KAAMf,KAAKE,OAAS,eAAiB,aACrCc,MAAO,GACPC,OAAQ,KAETjB,KAAKkB,M","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,a as i,g as o}from"./p-75c4a726.js";import{x as s,D as r}from"./p-b34993de.js";const a=':host{--z-section-title--divider-color:var(--red500);display:flex;width:fit-content;flex-direction:column;align-items:flex-start;font-family:var(--font-family-sans)}:host,:host ::slotted(*){box-sizing:border-box}::slotted(*){margin:0}::slotted([slot="secondary-title"]){padding-bottom:calc(var(--space-unit) / 2);border-bottom:var(--border-size-large) solid var(--z-section-title--divider-color);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5rem;text-transform:uppercase}::slotted([slot="primary-title"]){font-size:var(--font-size-6);font-weight:var(--font-sb);line-height:2rem}:host([uppercase]:not([uppercase="false"])) ::slotted([slot="primary-title"]){text-transform:uppercase}@media (min-width: 1152px){::slotted([slot="primary-title"]){font-size:var(--font-size-7);line-height:2.25rem}}';const l=a;const n=class{constructor(e){t(this,e);this.dividerPosition=s.BEFORE;this.uppercase=true}componentWillRender(){this.hasSecondaryTitle=!!this.host.querySelector("[slot=secondary-title]")}render(){return e(i,{key:"cc1204e8c23b71671a14fbaedd761f748f277cfa"},e("slot",{key:"8272a7661bda0190963225a5ffaa192e22601363",name:"secondary-title"}),!this.hasSecondaryTitle&&this.dividerPosition===s.BEFORE&&e("z-divider",{key:"7eae53ac6122253f61d985c79549ff65b85e10ff",size:r.LARGE,color:"z-section-title--divider-color"}),e("slot",{key:"9b86031ca0776ac5faae2393e62ad8104d5e804e",name:"primary-title"}),!this.hasSecondaryTitle&&this.dividerPosition===s.AFTER&&e("z-divider",{key:"6d3de14737fc2187f8a32d5e27aeae12ab9e83c5",size:r.LARGE,color:"z-section-title--divider-color"}))}get host(){return o(this)}};n.style=l;export{n as z_section_title};
|
|
2
|
-
//# sourceMappingURL=p-72dae90b.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stylesCss","ZSectionTitleStyle0","ZSectionTitle","ZSectionTitleDividerPosition","BEFORE","componentWillRender","this","hasSecondaryTitle","host","querySelector","render","h","Host","key","name","dividerPosition","size","DividerSize","LARGE","color","AFTER"],"sources":["src/components/z-section-title/styles.css?tag=z-section-title&encapsulation=shadow","src/components/z-section-title/index.tsx"],"sourcesContent":[":host {\n --z-section-title--divider-color: var(--red500);\n\n display: flex;\n width: fit-content;\n flex-direction: column;\n align-items: flex-start;\n font-family: var(--font-family-sans);\n}\n\n:host,\n:host ::slotted(*) {\n box-sizing: border-box;\n}\n\n::slotted(*) {\n margin: 0;\n}\n\n::slotted([slot=\"secondary-title\"]) {\n padding-bottom: calc(var(--space-unit) / 2);\n border-bottom: var(--border-size-large) solid var(--z-section-title--divider-color);\n font-size: var(--font-size-3);\n font-weight: var(--font-sb);\n line-height: 1.5rem;\n text-transform: uppercase;\n}\n\n::slotted([slot=\"primary-title\"]) {\n font-size: var(--font-size-6);\n font-weight: var(--font-sb);\n line-height: 2rem;\n}\n\n:host([uppercase]:not([uppercase=\"false\"])) ::slotted([slot=\"primary-title\"]) {\n text-transform: uppercase;\n}\n\n/* Desktop breakpoint */\n@media (min-width: 1152px) {\n ::slotted([slot=\"primary-title\"]) {\n font-size: var(--font-size-7);\n line-height: 2.25rem;\n }\n}\n","import {Component, Element, h, Host, Prop} from \"@stencil/core\";\nimport {DividerSize, ZSectionTitleDividerPosition} from \"../../beans\";\n\n/**\n * Section title component.\n * An optional secondary title can be put over the primary one.\n *\n * @slot secondary-title - Slot for the secondary title. When present, the divider is always displayed under it,\n * following its width and removing the one for the primary title.\n * @slot primary-title - Slot for the primary title.\n * @cssprop --z-section-title--divider-color - Color of the divider. Use a CSS prop string like `\"--red500\"`. Default is `\"--red500\"`.\n */\n@Component({\n tag: \"z-section-title\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZSectionTitle {\n /**\n * Divider position for the primary title.\n * This prop only works if the secondary title is not set.\n */\n @Prop()\n dividerPosition: ZSectionTitleDividerPosition = ZSectionTitleDividerPosition.BEFORE;\n\n /**\n * Whether the primary title text is uppercase.\n */\n @Prop({reflect: true})\n uppercase = true;\n\n @Element() host: HTMLZSectionTitleElement;\n\n private hasSecondaryTitle: boolean;\n\n componentWillRender(): void {\n this.hasSecondaryTitle = !!this.host.querySelector(\"[slot=secondary-title]\");\n }\n\n render(): HTMLZSectionTitleElement {\n return (\n <Host>\n <slot name=\"secondary-title\" />\n {!this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.BEFORE && (\n <z-divider\n size={DividerSize.LARGE}\n color=\"z-section-title--divider-color\"\n />\n )}\n <slot name=\"primary-title\" />\n {!this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.AFTER && (\n <z-divider\n size={DividerSize.LARGE}\n color=\"z-section-title--divider-color\"\n />\n )}\n </Host>\n );\n }\n}\n"],"mappings":"oGAAA,MAAMA,EAAY,ozBAClB,MAAAC,EAAeD,E,MCgBFE,EAAa,M,8CAMwBC,EAA6BC,O,eAMjE,I,CAMZ,mBAAAC,GACEC,KAAKC,oBAAsBD,KAAKE,KAAKC,cAAc,yB,CAGrD,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,QAAAE,IAAA,2CAAMC,KAAK,qBACTR,KAAKC,mBAAqBD,KAAKS,kBAAoBZ,EAA6BC,QAChFO,EAAA,aAAAE,IAAA,2CACEG,KAAMC,EAAYC,MAClBC,MAAM,mCAGVR,EAAA,QAAAE,IAAA,2CAAMC,KAAK,mBACTR,KAAKC,mBAAqBD,KAAKS,kBAAoBZ,EAA6BiB,OAChFT,EAAA,aAAAE,IAAA,2CACEG,KAAMC,EAAYC,MAClBC,MAAM,mC","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as a,c as o,h as r}from"./p-75c4a726.js";import{e as i,$ as t}from"./p-b34993de.js";const e=':host,:host *,:host ::slotted(*){box-sizing:border-box}:host{--z-accordion-highlight-color:transparent;--z-accordion-bg:var(--color-surface01);--z-accordion-label-color:var(--color-default-text);--z-accordion-disabled-label-color:var(--color-text03);--z-accordion-content-bg:var(--color-surface01);--z-accordion-content-fg:var(--color-default-text);--z-accordion-hover-color:var(--color-surface03);--z-accordion-left-padding:calc(var(--space-unit) * 2);--z-accordion-right-padding:var(--space-unit);--z-accordion-label-font-weight:var(--font-sb);display:block;border-top:var(--border-size-small) solid var(--color-surface03);border-bottom:var(--border-size-small) solid var(--color-surface03);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host([variant="background"]){border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--border-radius)}:host([variant="background"][shadow]){box-shadow:var(--shadow-2)}details{background-color:transparent}summary{--summary-x-small-height:32px;--summary-small-height:36px;--summary-big-height:44px;--summary-height:var(--summary-big-height);--summary-y-padding:var(--space-unit);position:relative;display:flex;min-height:var(--summary-height);align-items:center;padding:var(--summary-y-padding) var(--z-accordion-right-padding) var(--summary-y-padding)\n var(--z-accordion-left-padding);background-color:var(--z-accordion-bg);column-gap:var(--space-unit);cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}:host([size="x-small"]) summary{--summary-height:var(--summary-x-small-height)}:host([size="small"]) summary{--summary-height:var(--summary-small-height)}:host(:is([size="x-small"],[size="small"])) summary{--summary-y-padding:calc(var(--space-unit) / 2)}:host([variant="background"]) summary{padding-right:calc(var(--space-unit) * 2);border-radius:calc(var(--border-radius) - var(--border-size-small))}:host([variant="background"][open]) summary{border-bottom-left-radius:0;border-bottom-right-radius:0}:host([is-disabled]) summary{cursor:default}summary:focus:focus-visible{background-color:var(--z-accordion-hover-color);box-shadow:var(--shadow-focus-primary);outline:none}summary::before,:host([highlight][variant="background"]) .z-accordion-content::before{position:absolute;top:0;left:0;display:block;width:var(--space-unit);height:100%;content:""}:host([highlight][variant="background"]) summary::before{border-top-left-radius:calc(var(--border-radius) - var(--border-size-small))}:host([highlight][variant="background"]:not([open])) summary::before,:host([highlight][variant="background"][open]) .z-accordion-content::before{border-bottom-left-radius:calc(var(--border-radius) - var(--border-size-small))}:host([highlight]) summary::before,:host([highlight][variant="background"]) .z-accordion-content::before{background-color:var(--z-accordion-highlight-color, transparent)}:host([is-disabled][highlight]) summary::before,:host([is-disabled][highlight][variant="background"]) .z-accordion-content::before{background-color:var(--z-accordion-disabled-label-color)}summary>z-icon{fill:var(--z-accordion-label-color)}:host([is-disabled]) summary>z-icon{fill:var(--z-accordion-disabled-label-color)}.z-accordion-label{color:var(--z-accordion-label-color);font-size:var(--font-size-3);font-weight:var(--z-accordion-label-font-weight)}:host([size="x-small"]) .z-accordion-label{font-size:var(--font-size-2)}:host([size="x-small"]) :is(.z-accordion-label-icon,.z-accordion-chevron){--z-icon-width:16px;--z-icon-height:16px}.z-accordion-tags{display:flex;align-items:center;column-gap:calc(var(--space-unit) / 2)}summary z-icon.z-accordion-chevron{margin-left:auto}.z-accordion-content{position:relative;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);background-color:var(--z-accordion-content-bg);color:var(--z-accordion-content-fg);font-size:var(--font-size-2);}:host(:is([size="x-small"],[size="small"])) .z-accordion-content{padding-bottom:var(--space-unit)}:host([size="x-small"]) .z-accordion-content{font-size:var(--font-size-1)}:host([variant="background"]) .z-accordion-content{padding-right:calc(var(--space-unit) * 2)}:host([is-disabled]) .z-accordion-label{color:var(--z-accordion-disabled-label-color)}:host([is-disabled]) .z-accordion-tags ::slotted(z-tag[slot="tag"]){--z-tag-bg:var(--z-accordion-disabled-label-color) !important;--z-tag-text-color:var(--color-text-inverse) !important}@media (hover: hover){summary:focus:focus-visible{position:relative;z-index:1}:host(:not([is-disabled])) summary:hover{background-color:var(--z-accordion-hover-color)}:host(:not([is-disabled])) summary:hover .z-accordion-label{text-decoration:underline}}@media (hover: none){:host([size]) summary{--summary-height:var(--summary-big-height);--summary-y-padding:var(--space-unit)}:host([size]) .z-accordion-label{font-size:var(--font-size-3)}:host([size]) .z-accordion-content{font-size:var(--font-size-2)}:host([size]) :is(.z-accordion-label-icon,.z-accordion-chevron){--z-icon-width:18px;--z-icon-height:18px}}z-accordion+z-accordion{border-top:none}z-accordion[variant="background"]+z-accordion[variant="background"]{border-radius:0}z-accordion[variant="background"]:first-of-type:not(:last-of-type){border-bottom-left-radius:0;border-bottom-right-radius:0}z-accordion[variant="background"]+z-accordion[variant="background"]:last-of-type{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}z-accordion[variant="background"]:first-of-type:not(:last-of-type)::part(summary){border-bottom-left-radius:0;border-bottom-right-radius:0}z-accordion[variant="background"]+z-accordion[variant="background"]::part(summary){border-radius:0}z-accordion[variant="background"]+z-accordion[variant="background"]:last-of-type:not([open])::part(summary){border-bottom-left-radius:calc(var(--border-radius) - var(--border-size-small));border-bottom-right-radius:calc(var(--border-radius) - var(--border-size-small))}';const s=e;const c=class{constructor(r){a(this,r);this.toggled=o(this,"toggled",7);this.label=undefined;this.icon=undefined;this.size=i.BIG;this.isDisabled=false;this.open=false;this.highlight=false;this.variant=t.DEFAULT;this.shadow=true}onDisabledChange(){if(this.isDisabled){this.open=false}}onDetailsToggle(){if(this.isDisabled){this.open=false;this.detailsElm.open=false;return}this.open=this.detailsElm.open;this.toggled.emit(this.open)}render(){return r("details",{key:"91b7f482ab659db2ce2c194d6c0e000a474b8fbc",ref:a=>this.detailsElm=a,onToggle:this.onDetailsToggle.bind(this),open:this.open},r("summary",{key:"dec93f741b0bf720f2e3ca27d80721924f7e96c0",tabIndex:this.isDisabled?-1:null,part:"summary"},this.icon&&r("z-icon",{key:"8943eca3e953b29025e17c15b9092538d2246442",class:"z-accordion-label-icon",name:this.icon}),r("span",{key:"2e6ba1c7a24fc12e07b159004f09d43e8f7938ae",class:"z-accordion-label"},this.label),r("span",{key:"165e5f2d9ca85454017ca9a93e672c9a31aa0951",class:"z-accordion-tags"},r("slot",{key:"5793cda10680845f990c279e8f4987b93a5d3b95",name:"tag"})),r("z-icon",{key:"e2fd79cf10045f11006eb6a5a996dba0b85fdc08",class:"z-accordion-chevron",name:this.open?"chevron-up":"chevron-down"})),!this.isDisabled&&r("div",{key:"98aff9373f60e83162ac5e13c92041c97f24803a",class:"z-accordion-content",part:"content"},r("slot",{key:"d663ae67768932cbdfce8b3e01d6d9ad5f37c41d"})))}static get watchers(){return{isDisabled:["onDisabledChange"]}}};c.style=s;export{c as z_accordion};
|
|
2
|
-
//# sourceMappingURL=p-73d686e0.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stylesCss","ZAccordionStyle0","ZAccordion","ControlSize","BIG","AccordionVariant","DEFAULT","onDisabledChange","this","isDisabled","open","onDetailsToggle","detailsElm","toggled","emit","render","h","key","ref","elm","onToggle","bind","tabIndex","part","icon","class","name","label"],"sources":["src/components/z-accordion/styles.css?tag=z-accordion&encapsulation=shadow","src/components/z-accordion/index.tsx"],"sourcesContent":[":host,\n:host *,\n:host ::slotted(*) {\n box-sizing: border-box;\n}\n\n:host {\n --z-accordion-highlight-color: transparent;\n --z-accordion-bg: var(--color-surface01);\n --z-accordion-label-color: var(--color-default-text);\n --z-accordion-disabled-label-color: var(--color-text03);\n --z-accordion-content-bg: var(--color-surface01);\n --z-accordion-content-fg: var(--color-default-text);\n --z-accordion-hover-color: var(--color-surface03);\n --z-accordion-left-padding: calc(var(--space-unit) * 2);\n --z-accordion-right-padding: var(--space-unit);\n --z-accordion-label-font-weight: var(--font-sb);\n\n display: block;\n border-top: var(--border-size-small) solid var(--color-surface03);\n border-bottom: var(--border-size-small) solid var(--color-surface03);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host([variant=\"background\"]) {\n border: var(--border-size-small) solid var(--color-surface03);\n border-radius: var(--border-radius);\n}\n\n:host([variant=\"background\"][shadow]) {\n box-shadow: var(--shadow-2);\n}\n\ndetails {\n background-color: transparent;\n}\n\nsummary {\n --summary-x-small-height: 32px;\n --summary-small-height: 36px;\n --summary-big-height: 44px;\n --summary-height: var(--summary-big-height);\n --summary-y-padding: var(--space-unit);\n\n position: relative;\n display: flex;\n min-height: var(--summary-height);\n align-items: center;\n padding: var(--summary-y-padding) var(--z-accordion-right-padding) var(--summary-y-padding)\n var(--z-accordion-left-padding);\n background-color: var(--z-accordion-bg);\n column-gap: var(--space-unit);\n cursor: pointer;\n list-style: none;\n}\n\n/* remove marker on safari */\nsummary::-webkit-details-marker {\n display: none;\n}\n\n:host([size=\"x-small\"]) summary {\n --summary-height: var(--summary-x-small-height);\n}\n\n:host([size=\"small\"]) summary {\n --summary-height: var(--summary-small-height);\n}\n\n:host(:is([size=\"x-small\"], [size=\"small\"])) summary {\n --summary-y-padding: calc(var(--space-unit) / 2);\n}\n\n:host([variant=\"background\"]) summary {\n padding-right: calc(var(--space-unit) * 2);\n\n /* border-radius of the accordion - width of the accordion's border */\n border-radius: calc(var(--border-radius) - var(--border-size-small));\n}\n\n:host([variant=\"background\"][open]) summary {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n:host([is-disabled]) summary {\n cursor: default;\n}\n\nsummary:focus:focus-visible {\n background-color: var(--z-accordion-hover-color);\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\nsummary::before,\n:host([highlight][variant=\"background\"]) .z-accordion-content::before {\n position: absolute;\n top: 0;\n left: 0;\n display: block;\n width: var(--space-unit);\n height: 100%;\n content: \"\";\n}\n\n:host([highlight][variant=\"background\"]) summary::before {\n /* border-radius of the accordion - width of the accordion's border */\n border-top-left-radius: calc(var(--border-radius) - var(--border-size-small));\n}\n\n:host([highlight][variant=\"background\"]:not([open])) summary::before,\n:host([highlight][variant=\"background\"][open]) .z-accordion-content::before {\n /* border-radius of the accordion - width of the accordion's border */\n border-bottom-left-radius: calc(var(--border-radius) - var(--border-size-small));\n}\n\n:host([highlight]) summary::before,\n:host([highlight][variant=\"background\"]) .z-accordion-content::before {\n background-color: var(--z-accordion-highlight-color, transparent);\n}\n\n:host([is-disabled][highlight]) summary::before,\n:host([is-disabled][highlight][variant=\"background\"]) .z-accordion-content::before {\n background-color: var(--z-accordion-disabled-label-color);\n}\n\nsummary > z-icon {\n fill: var(--z-accordion-label-color);\n}\n\n:host([is-disabled]) summary > z-icon {\n fill: var(--z-accordion-disabled-label-color);\n}\n\n.z-accordion-label {\n color: var(--z-accordion-label-color);\n font-size: var(--font-size-3); /* for \"small\" and \"big\" sizes */\n font-weight: var(--z-accordion-label-font-weight);\n}\n\n:host([size=\"x-small\"]) .z-accordion-label {\n font-size: var(--font-size-2);\n}\n\n:host([size=\"x-small\"]) :is(.z-accordion-label-icon, .z-accordion-chevron) {\n --z-icon-width: 16px;\n --z-icon-height: 16px;\n}\n\n.z-accordion-tags {\n display: flex;\n align-items: center;\n column-gap: calc(var(--space-unit) / 2);\n}\n\nsummary z-icon.z-accordion-chevron {\n margin-left: auto;\n}\n\n.z-accordion-content {\n position: relative;\n padding: var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);\n background-color: var(--z-accordion-content-bg);\n color: var(--z-accordion-content-fg);\n font-size: var(--font-size-2); /* for \"small\" and \"big\" sizes */\n}\n\n:host(:is([size=\"x-small\"], [size=\"small\"])) .z-accordion-content {\n padding-bottom: var(--space-unit);\n}\n\n:host([size=\"x-small\"]) .z-accordion-content {\n font-size: var(--font-size-1);\n}\n\n:host([variant=\"background\"]) .z-accordion-content {\n padding-right: calc(var(--space-unit) * 2);\n}\n\n:host([is-disabled]) .z-accordion-label {\n color: var(--z-accordion-disabled-label-color);\n}\n\n:host([is-disabled]) .z-accordion-tags ::slotted(z-tag[slot=\"tag\"]) {\n --z-tag-bg: var(--z-accordion-disabled-label-color) !important;\n --z-tag-text-color: var(--color-text-inverse) !important;\n}\n\n@media (hover: hover) {\n summary:focus:focus-visible {\n /* prevents the focus shadow to be covered by the background of an hovered sibling accordion */\n position: relative;\n z-index: 1;\n }\n\n :host(:not([is-disabled])) summary:hover {\n background-color: var(--z-accordion-hover-color);\n }\n\n :host(:not([is-disabled])) summary:hover .z-accordion-label {\n text-decoration: underline;\n }\n}\n\n/* force \"big\" variant on touch devices */\n@media (hover: none) {\n :host([size]) summary {\n --summary-height: var(--summary-big-height);\n --summary-y-padding: var(--space-unit);\n }\n\n :host([size]) .z-accordion-label {\n font-size: var(--font-size-3);\n }\n\n :host([size]) .z-accordion-content {\n font-size: var(--font-size-2);\n }\n\n :host([size]) :is(.z-accordion-label-icon, .z-accordion-chevron) {\n --z-icon-width: 18px;\n --z-icon-height: 18px;\n }\n}\n\n/* Style for sibling accordions in a stack context */\n\nz-accordion + z-accordion {\n border-top: none;\n}\n\nz-accordion[variant=\"background\"] + z-accordion[variant=\"background\"] {\n border-radius: 0;\n}\n\nz-accordion[variant=\"background\"]:first-of-type:not(:last-of-type) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\nz-accordion[variant=\"background\"] + z-accordion[variant=\"background\"]:last-of-type {\n border-bottom-left-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n}\n\nz-accordion[variant=\"background\"]:first-of-type:not(:last-of-type)::part(summary) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\nz-accordion[variant=\"background\"] + z-accordion[variant=\"background\"]::part(summary) {\n border-radius: 0;\n}\n\nz-accordion[variant=\"background\"] + z-accordion[variant=\"background\"]:last-of-type:not([open])::part(summary) {\n border-bottom-left-radius: calc(var(--border-radius) - var(--border-size-small));\n border-bottom-right-radius: calc(var(--border-radius) - var(--border-size-small));\n}\n","import {Component, Event, EventEmitter, Prop, Watch, h} from \"@stencil/core\";\nimport {AccordionVariant, ControlSize} from \"../../beans\";\n\n/**\n * Accordion component.\n *\n * @slot - Slot for the main content.\n * @slot tag - Slot for tags.\n * @cssprop --z-accordion-highlight-color - Color of the highlight band on the summary's left edge. Only applies when `highlight` is true. Default: `transparent`.\n * @cssprop --z-accordion-bg - Background color of the summary. Default: `--color-surface02`.\n * @cssprop --z-accordion-label-color - Label color. Default: `--color-default-text`.\n * @cssprop --z-accordion-disabled-label-color - Label color when disabled. Default: `--color-text03`.\n * @cssprop --z-accordion-content-bg - Background color of the accordion. Default: `--color-surface02`.\n * @cssprop --z-accordion-content-fg - Content text color. Default: `--color-default-text`.\n * @cssprop --z-accordion-hover-color - Hover color of the summary. Default: `--color-surface03`.\n * @cssprop --z-accordion-left-padding - Left padding of the summary. Default: `--space-unit` * 2.\n * @cssprop --z-accordion-right-padding - Right padding of the summary. Default: `--space-unit`.\n * @cssprop --z-accordion-label-font-weight - Font weight of the summary label. Default: `--font-sb`.\n */\n@Component({\n tag: \"z-accordion\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZAccordion {\n /**\n * Text label.\n */\n @Prop()\n label: string;\n\n /**\n * Name of the z-icon to display before the label's text.\n */\n @Prop()\n icon: string;\n\n /**\n * Size of the component.\n */\n @Prop({reflect: true})\n size = ControlSize.BIG;\n\n /**\n * Disabled state of the accordion.\n */\n @Prop({reflect: true})\n isDisabled = false;\n\n /**\n * The open state of the accordion.\n */\n @Prop({reflect: true, mutable: true})\n open = false;\n\n /**\n * Enable highlight band on the `summary`'s left edge.\n */\n @Prop({reflect: true})\n highlight = false;\n\n /**\n * Accordion variant.\n */\n @Prop({reflect: true})\n variant: AccordionVariant = AccordionVariant.DEFAULT;\n\n /**\n * Enable box-shadow on the accordion. Only applies when `variant` is `BACKGROUND`.\n */\n @Prop({reflect: true})\n shadow = true;\n\n /**\n * Event fired when the accordion is toggled.\n */\n @Event()\n toggled: EventEmitter<boolean>;\n\n @Watch(\"isDisabled\")\n protected onDisabledChange(): void {\n if (this.isDisabled) {\n this.open = false;\n }\n }\n\n private detailsElm: HTMLDetailsElement;\n\n /**\n * Handle `details` element toggle.\n * If currently disabled, prevent toggling by forcing the `open` state to `false`.\n * Unfortunately the \"toggle\" event is not cancelable and when catched, the `open` state is already changed.\n */\n private onDetailsToggle(): void {\n if (this.isDisabled) {\n this.open = false;\n this.detailsElm.open = false;\n\n return;\n }\n\n this.open = this.detailsElm.open;\n this.toggled.emit(this.open);\n }\n\n render(): HTMLDetailsElement {\n return (\n <details\n ref={(elm: HTMLDetailsElement) => (this.detailsElm = elm)}\n onToggle={this.onDetailsToggle.bind(this)}\n open={this.open}\n >\n <summary\n tabIndex={this.isDisabled ? -1 : null}\n part=\"summary\"\n >\n {this.icon && (\n <z-icon\n class=\"z-accordion-label-icon\"\n name={this.icon}\n />\n )}\n <span class=\"z-accordion-label\">{this.label}</span>\n <span class=\"z-accordion-tags\">\n <slot name=\"tag\" />\n </span>\n <z-icon\n class=\"z-accordion-chevron\"\n name={this.open ? \"chevron-up\" : \"chevron-down\"}\n />\n </summary>\n {!this.isDisabled && (\n <div\n class=\"z-accordion-content\"\n part=\"content\"\n >\n <slot />\n </div>\n )}\n </details>\n );\n }\n}\n"],"mappings":"6FAAA,MAAMA,EAAY,y3LAClB,MAAAC,EAAeD,E,MCuBFE,EAAU,M,6GAiBdC,EAAYC,I,gBAMN,M,UAMN,M,eAMK,M,aAMgBC,EAAiBC,Q,YAMpC,I,CASC,gBAAAC,GACR,GAAIC,KAAKC,WAAY,CACnBD,KAAKE,KAAO,K,EAWR,eAAAC,GACN,GAAIH,KAAKC,WAAY,CACnBD,KAAKE,KAAO,MACZF,KAAKI,WAAWF,KAAO,MAEvB,M,CAGFF,KAAKE,KAAOF,KAAKI,WAAWF,KAC5BF,KAAKK,QAAQC,KAAKN,KAAKE,K,CAGzB,MAAAK,GACE,OACEC,EAAA,WAAAC,IAAA,2CACEC,IAAMC,GAA6BX,KAAKI,WAAaO,EACrDC,SAAUZ,KAAKG,gBAAgBU,KAAKb,MACpCE,KAAMF,KAAKE,MAEXM,EAAA,WAAAC,IAAA,2CACEK,SAAUd,KAAKC,YAAc,EAAI,KACjCc,KAAK,WAEJf,KAAKgB,MACJR,EAAA,UAAAC,IAAA,2CACEQ,MAAM,yBACNC,KAAMlB,KAAKgB,OAGfR,EAAA,QAAAC,IAAA,2CAAMQ,MAAM,qBAAqBjB,KAAKmB,OACtCX,EAAA,QAAAC,IAAA,2CAAMQ,MAAM,oBACVT,EAAA,QAAAC,IAAA,2CAAMS,KAAK,SAEbV,EAAA,UAAAC,IAAA,2CACEQ,MAAM,sBACNC,KAAMlB,KAAKE,KAAO,aAAe,mBAGnCF,KAAKC,YACLO,EAAA,OAAAC,IAAA,2CACEQ,MAAM,sBACNF,KAAK,WAELP,EAAA,QAAAC,IAAA,8C","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as i,c as e,h as s,a as t,g as a}from"./p-75c4a726.js";import{v as l}from"./p-b34993de.js";const o='.sc-z-file-upload-h{display:flex;flex-direction:column;align-items:flex-start;color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{display:flex;flex-direction:column;justify-content:center;padding:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload>.files-wrapper.sc-z-file-upload{display:flex;flex-direction:column;margin:calc(var(--space-unit) * 4);gap:var(--space-unit)}.sc-z-file-upload-h .text-container.sc-z-file-upload{display:flex;flex-direction:column;margin:auto;text-align:center}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link.sc-z-file-upload{color:var(--color-text-link-blue);cursor:pointer;text-decoration:underline}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link.sc-z-file-upload:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none !important}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link-text.sc-z-file-upload{margin-bottom:var(--space-unit)}.sc-z-file-upload-h input[type="file"].sc-z-file-upload{display:none}.sc-z-file-upload-h #title.sc-z-file-upload+#description.sc-z-file-upload{margin-top:var(--space-unit)}.sc-z-file-upload-h>*.sc-z-file-upload+z-button.sc-z-file-upload,.sc-z-file-upload-h>.files-container.sc-z-file-upload+*.sc-z-file-upload,.sc-z-file-upload-h>.files-container.sc-z-file-upload:not(:first-child){margin-top:calc(var(--space-unit) * 3)}.sc-z-file-upload-h>.files-container.hidden.sc-z-file-upload{display:none}.sc-z-file-upload-h>.files-container.sc-z-file-upload>.uploaded-files-label.sc-z-file-upload{margin-bottom:calc(var(--space-unit) * 2)}.sc-z-file-upload-h>.files-container.sc-z-file-upload>.files-wrapper.sc-z-file-upload{display:flex;flex-wrap:wrap;column-gap:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}@media (min-width: 768px){.sc-z-file-upload-h>.container.sc-z-file-upload>z-button.sc-z-file-upload{align-self:flex-start}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{padding:calc(var(--space-unit) * 3)}}@media (min-width: 1152px){.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{padding:calc(var(--space-unit) * 4)}}';const n=o;const r=class{constructor(s){i(this,s);this.fileInput=e(this,"fileInput",7);this.fileError=e(this,"fileError",7);this.type=l.DEFAULT;this.buttonVariant=undefined;this.acceptedFormat=undefined;this.fileMaxSize=undefined;this.mainTitle=undefined;this.description=undefined;this.uploadBtnLabel="allega";this.dragAndDropLabel="Rilascia i file in questa area per allegarli.";this.allowedFilesMessage=undefined;this.uploadClickableMessage="Carica";this.uploadMessage="o trascina dal tuo computer";this.errorModalTitle="Errore di caricamento";this.errorModalMessage=undefined;this.uploadedFilesLabel="File appena caricati";this.hasFileSection=true;this.inputName="z-file-upload";this.showErrors=true;this._type=this.type;this.files=[];this.invalidFiles=new Map}onFileRemoved(i){this.removeFile(i.detail)}fileDroppedListener(i){this.input.files=i.detail;this.checkFilesValidity(this.input.files)}async getFiles(){return this.files}async removeFile(i){const e=this.files;const s=e.findIndex((e=>e.name===i));if(s>=0){e.splice(s,1);this.files=[...e]}}checkFilesValidity(i){if(!i.length){return}Array.from(i).forEach((i=>{const e=i.size/1024/1024;const s=this.acceptedFormat.split(",").some((e=>i.name.toLowerCase().endsWith(e.trim())));const t=e<=this.fileMaxSize;if(t&&s&&!this.files.find((e=>e.name===i.name))){this.files=[...this.files,i];this.fileInput.emit(i);this.input.value="";return}const a=`Il file ${i.name} supera il limite di ${this.fileMaxSize}MB`;const l=`Il file ${i.name} ha un formato non supportato`;const o=[!t&&{cause:"size",message:a},!s&&{cause:"format",message:l}].filter(Boolean);this.invalidFiles.set(i.name,o);this.invalidFiles=new Map(this.invalidFiles);this.fileError.emit({file:i.name,errors:o})}))}resetErrors(){this.invalidFiles=new Map}onFilesChange(i){this.checkFilesValidity(i.target.files)}componentWillLoad(){const i=window.matchMedia("(max-width: 1151px)");this._type=i.matches?l.DEFAULT:this.type;i.addEventListener("change",(i=>{this._type=i.matches?l.DEFAULT:this.type}))}componentDidUpdate(){if(!this.showErrors||!this.invalidFiles.size){return}this.errorModal.open()}renderDescription(i){if(!this.description){return}return s("span",{id:"description",class:i},this.description)}renderAllowedFilesMessage(){let i="";let e="";if(this.acceptedFormat){const e=this.acceptedFormat.split(", ").map((i=>i.substring(1).toUpperCase())).join(", ");i=` nei formati ${e}`}if(this.fileMaxSize){e=` per un massimo di ${this.fileMaxSize}MB di peso`}const t=i||e?`Puoi allegare file${i}${e}.`:undefined;if(!this.allowedFilesMessage&&!t){return}return s("span",{class:"allowed-files-message body-3"},this.allowedFilesMessage||t)}renderFileSection(){if(!this.hasFileSection){return}return s("section",{class:{"files-container":true,hidden:!this.files.length}},s("div",{class:"uploaded-files-label heading-3-sb"},this.uploadedFilesLabel),s("div",{class:"files-wrapper"},s("slot",{name:"files"})))}renderInput(){return s("input",{type:"file",name:this.inputName,multiple:true,onChange:i=>this.onFilesChange(i),accept:this.acceptedFormat,ref:i=>this.input=i})}renderUploadButton(){return[s("z-button",{onClick:()=>this.input.click(),onKeyPress:i=>{if(i.code=="Space"||i.code=="Enter"){i.preventDefault();this.input.click()}},id:"fileSelect",variant:this.buttonVariant,icon:"upload"},this.uploadBtnLabel),this.renderInput()]}renderUploadLink(){return[this.renderInput(),s("span",{class:"body-1 upload-link-text"},s("span",{tabIndex:0,class:"body-1-sb upload-link",onClick:()=>this.input.click(),onKeyPress:i=>{if(i.code=="Space"||i.code=="Enter"){i.preventDefault();this.input.click()}}},this.uploadClickableMessage)," ",this.uploadMessage)]}renderDefaultMode(){return[this.renderDescription("body-3-sb"),this.renderAllowedFilesMessage(),this.renderFileSection(),this.renderUploadButton()]}renderDragDropMode(){return[this.renderFileSection(),s("z-dragdrop-area",{"drag-and-drop-label":this.dragAndDropLabel},s("div",{class:"text-container"},this.renderDescription("body-1"),this.renderUploadLink(),this.renderAllowedFilesMessage()))]}renderFileErrors(){return Array.from(this.invalidFiles).map((([i,e])=>{const t=`Il file ${i}`;return s("span",{class:"error-message"},"Il file ",s("span",{class:"body-3-sb"},i),e.map((({message:i})=>i.replace(t,""))).join(" e "),".")}))}render(){return s(t,{key:"ea57cc0462e4358d04bfc8f5709b61be50947e7a"},this.mainTitle&&s("div",{key:"59e23f66172333b963922832782a8ac89611acb9",id:"title",class:"heading-3-sb"},this.mainTitle),this._type==l.DEFAULT?this.renderDefaultMode():this.renderDragDropMode(),!!this.invalidFiles.size&&this.showErrors&&s("z-modal",{key:"64cb55a1c0fb491a9dd5b414a309b284e4f2d24e",modalid:`file-upload-${this.type}-error-modal`,ref:i=>this.errorModal=i,modaltitle:this.errorModalTitle,onModalClose:()=>this.resetErrors(),onModalBackgroundClick:()=>this.resetErrors()},s("div",{key:"255cf2140f1ca881f90df6952965abc8f364f4d0",slot:"modalContent"},s("div",{key:"03638b6b970c72c73ac7014f0c7848a032029963",class:"modal-wrapper body-3"},this.errorModalMessage?this.errorModalMessage:this.renderFileErrors()))))}get host(){return a(this)}};r.style=n;export{r as z_file_upload};
|
|
2
|
-
//# sourceMappingURL=p-75808b47.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stylesCss","ZFileUploadStyle0","ZFileUpload","ZFileUploadType","DEFAULT","this","type","Map","onFileRemoved","e","removeFile","detail","fileDroppedListener","input","files","checkFilesValidity","getFiles","fileName","index","findIndex","file","name","splice","length","Array","from","forEach","fileSize","size","fileFormatOk","acceptedFormat","split","some","ext","toLowerCase","endsWith","trim","fileSizeOk","fileMaxSize","find","f","fileInput","emit","value","sizeError","formatError","errors","cause","message","filter","Boolean","invalidFiles","set","fileError","resetErrors","onFilesChange","target","componentWillLoad","mql","window","matchMedia","_type","matches","addEventListener","componentDidUpdate","showErrors","errorModal","open","renderDescription","cssClass","description","h","id","class","renderAllowedFilesMessage","fileFormatString","fileWeightString","fileFormat","map","string","substring","toUpperCase","join","defaultMessage","undefined","allowedFilesMessage","renderFileSection","hasFileSection","hidden","uploadedFilesLabel","renderInput","inputName","multiple","onChange","accept","ref","val","renderUploadButton","onClick","click","onKeyPress","code","preventDefault","variant","buttonVariant","icon","uploadBtnLabel","renderUploadLink","tabIndex","uploadClickableMessage","uploadMessage","renderDefaultMode","renderDragDropMode","dragAndDropLabel","renderFileErrors","prefix","replace","render","Host","key","mainTitle","modalid","modaltitle","errorModalTitle","onModalClose","onModalBackgroundClick","slot","errorModalMessage"],"sources":["src/components/file-upload/z-file-upload/styles.css?tag=z-file-upload&encapsulation=scoped","src/components/file-upload/z-file-upload/index.tsx"],"sourcesContent":[":host {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host .modal-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: calc(var(--space-unit) * 2);\n row-gap: calc(var(--space-unit) * 2);\n}\n\n:host .modal-wrapper > .files-wrapper {\n display: flex;\n flex-direction: column;\n margin: calc(var(--space-unit) * 4);\n gap: var(--space-unit);\n}\n\n:host .text-container {\n display: flex;\n flex-direction: column;\n margin: auto;\n text-align: center;\n}\n\n:host .text-container .upload-link {\n color: var(--color-text-link-blue);\n cursor: pointer;\n text-decoration: underline;\n}\n\n:host .text-container .upload-link:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none !important;\n}\n\n:host .text-container .upload-link-text {\n margin-bottom: var(--space-unit);\n}\n\n:host input[type=\"file\"] {\n display: none;\n}\n\n:host #title + #description {\n margin-top: var(--space-unit);\n}\n\n:host > * + z-button,\n:host > .files-container + *,\n:host > .files-container:not(:first-child) {\n margin-top: calc(var(--space-unit) * 3);\n}\n\n:host > .files-container.hidden {\n display: none;\n}\n\n:host > .files-container > .uploaded-files-label {\n margin-bottom: calc(var(--space-unit) * 2);\n}\n\n:host > .files-container > .files-wrapper {\n display: flex;\n flex-wrap: wrap;\n column-gap: calc(var(--space-unit) * 2);\n row-gap: calc(var(--space-unit) * 2);\n}\n\n/* Tablet breakpoint */\n@media (min-width: 768px) {\n :host > .container > z-button {\n align-self: flex-start;\n }\n\n :host .modal-wrapper {\n padding: calc(var(--space-unit) * 3);\n }\n}\n\n@media (min-width: 1152px) {\n :host .modal-wrapper {\n padding: calc(var(--space-unit) * 4);\n }\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, State, h} from \"@stencil/core\";\nimport {ButtonVariant, ZFileUploadType} from \"../../../beans\";\n\nexport type ZFileUploadError = {cause: \"format\" | \"size\"; message: string};\n\n@Component({\n tag: \"z-file-upload\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZFileUpload {\n /** Prop indicating the file upload type - can be default or dragdrop */\n @Prop({reflect: true})\n type: ZFileUploadType = ZFileUploadType.DEFAULT;\n\n /** Prop indicating the button variant*/\n @Prop()\n buttonVariant?: ButtonVariant;\n\n /** Prop indicating the accepted file type: ex \".pdf, .doc, .jpg\" */\n @Prop()\n acceptedFormat?: string;\n\n /** Max file dimension in Megabyte */\n @Prop()\n fileMaxSize?: number;\n\n /** Title */\n @Prop()\n mainTitle?: string;\n\n /** Description */\n @Prop()\n description?: string;\n\n /** upoload button label */\n @Prop()\n uploadBtnLabel?: string = \"allega\";\n\n /** drag & drop button label */\n @Prop()\n dragAndDropLabel?: string = \"Rilascia i file in questa area per allegarli.\";\n\n /** allowed file message */\n @Prop()\n allowedFilesMessage?: string;\n\n /** upload clickable message */\n @Prop()\n uploadClickableMessage?: string = \"Carica\";\n\n /** upload message */\n @Prop()\n uploadMessage?: string = \"o trascina dal tuo computer\";\n\n /** error modal title */\n @Prop()\n errorModalTitle?: string = \"Errore di caricamento\";\n\n /** error modal message */\n @Prop()\n errorModalMessage?: string;\n\n /** loaded files label */\n @Prop()\n uploadedFilesLabel?: string = \"File appena caricati\";\n\n /** uploaded files history rendering */\n @Prop()\n hasFileSection?: boolean = true;\n\n /** Value to set on the file input's `name` attribute (for use with forms) */\n @Prop()\n inputName? = \"z-file-upload\";\n\n /**\n * Whether to show errors in the internal modal or leave the handling to the app.\n * Errors will still be emitted.\n */\n @Prop()\n showErrors = true;\n\n /** Internal store of the component type. It will change when viewport goes from desktop to tablet/mobile and vice versa */\n @State()\n private _type: ZFileUploadType = this.type;\n\n /** Files added by the user */\n @State()\n files: File[] = [];\n\n /** Map of files whose upload caused an error and the relative errors, with the cause and a message */\n @State()\n invalidFiles: Map<string, ZFileUploadError[]> = new Map<string, ZFileUploadError[]>();\n\n /** Emitted when user select one or more files */\n @Event()\n fileInput: EventEmitter<File>;\n\n /**\n * Emits an array of error messages related to one or more files not allowed.\n * Emitted when some file is dropped or selected.\n */\n @Event()\n fileError: EventEmitter<{file: string; errors: ZFileUploadError[]}>;\n\n @Element() host: HTMLZFileUploadElement;\n\n private input: HTMLInputElement;\n\n private errorModal: HTMLZModalElement;\n\n /** Listen `removeFile` event sent from z-file component */\n @Listen(\"removeFile\")\n onFileRemoved(e: CustomEvent): void {\n this.removeFile(e.detail);\n }\n\n /** Listen fileDropped event sent from z-dragdrop-area component */\n @Listen(\"fileDropped\")\n fileDroppedListener(e: CustomEvent): void {\n this.input.files = e.detail;\n this.checkFilesValidity(this.input.files);\n }\n\n /** Get the list of uploaded files */\n @Method()\n async getFiles(): Promise<File[]> {\n return this.files;\n }\n\n /** Remove a previously uploaded file */\n @Method()\n async removeFile(fileName: string): Promise<void> {\n const files = this.files;\n const index = files.findIndex((file) => file.name === fileName);\n if (index >= 0) {\n files.splice(index, 1);\n this.files = [...files];\n }\n }\n\n private checkFilesValidity(files: FileList): Map<string, string[]> {\n if (!files.length) {\n return;\n }\n\n Array.from(files).forEach((file: File) => {\n const fileSize = file.size / 1024 / 1024;\n const fileFormatOk = this.acceptedFormat\n .split(\",\")\n .some((ext: string) => file.name.toLowerCase().endsWith(ext.trim()));\n const fileSizeOk = fileSize <= this.fileMaxSize;\n if (fileSizeOk && fileFormatOk && !this.files.find((f) => f.name === file.name)) {\n this.files = [...this.files, file];\n this.fileInput.emit(file);\n this.input.value = \"\";\n\n return;\n }\n\n const sizeError = `Il file ${file.name} supera il limite di ${this.fileMaxSize}MB`;\n const formatError = `Il file ${file.name} ha un formato non supportato`;\n const errors = [\n !fileSizeOk && {cause: \"size\" as const, message: sizeError},\n !fileFormatOk && {cause: \"format\" as const, message: formatError},\n ].filter(Boolean);\n this.invalidFiles.set(file.name, errors);\n this.invalidFiles = new Map(this.invalidFiles); // trigger state update\n this.fileError.emit({file: file.name, errors});\n });\n }\n\n private resetErrors(): void {\n this.invalidFiles = new Map<string, ZFileUploadError[]>();\n }\n\n private onFilesChange(e: Event): void {\n this.checkFilesValidity((e.target as HTMLInputElement).files);\n }\n\n componentWillLoad(): void {\n // force default type on mobile and tablet viewport\n const mql = window.matchMedia(\"(max-width: 1151px)\");\n this._type = mql.matches ? ZFileUploadType.DEFAULT : this.type;\n mql.addEventListener(\"change\", (e) => {\n this._type = e.matches ? ZFileUploadType.DEFAULT : this.type;\n });\n }\n\n componentDidUpdate(): void {\n if (!this.showErrors || !this.invalidFiles.size) {\n return;\n }\n\n this.errorModal.open();\n }\n\n private renderDescription(cssClass): HTMLElement | undefined {\n if (!this.description) {\n return;\n }\n\n return (\n <span\n id=\"description\"\n class={cssClass}\n >\n {this.description}\n </span>\n );\n }\n\n private renderAllowedFilesMessage(): HTMLElement {\n let fileFormatString = \"\";\n let fileWeightString = \"\";\n\n if (this.acceptedFormat) {\n const fileFormat = this.acceptedFormat\n .split(\", \")\n .map((string) => string.substring(1).toUpperCase())\n .join(\", \");\n fileFormatString = ` nei formati ${fileFormat}`;\n }\n\n if (this.fileMaxSize) {\n fileWeightString = ` per un massimo di ${this.fileMaxSize}MB di peso`;\n }\n\n const defaultMessage =\n fileFormatString || fileWeightString ? `Puoi allegare file${fileFormatString}${fileWeightString}.` : undefined;\n\n if (!this.allowedFilesMessage && !defaultMessage) {\n return;\n }\n\n return <span class=\"allowed-files-message body-3\">{this.allowedFilesMessage || defaultMessage}</span>;\n }\n\n private renderFileSection(): HTMLElement {\n if (!this.hasFileSection) {\n return;\n }\n\n return (\n <section class={{\"files-container\": true, \"hidden\": !this.files.length}}>\n <div class=\"uploaded-files-label heading-3-sb\">{this.uploadedFilesLabel}</div>\n <div class=\"files-wrapper\">\n <slot name=\"files\" />\n </div>\n </section>\n );\n }\n\n private renderInput(): HTMLInputElement {\n return (\n <input\n type=\"file\"\n name={this.inputName}\n multiple\n onChange={(e) => this.onFilesChange(e)}\n accept={this.acceptedFormat}\n ref={(val) => (this.input = val)}\n />\n );\n }\n\n private renderUploadButton(): unknown[] {\n return [\n <z-button\n onClick={() => this.input.click()}\n onKeyPress={(e) => {\n if (e.code == \"Space\" || e.code == \"Enter\") {\n e.preventDefault();\n this.input.click();\n }\n }}\n id=\"fileSelect\"\n variant={this.buttonVariant}\n icon=\"upload\"\n >\n {this.uploadBtnLabel}\n </z-button>,\n this.renderInput(),\n ];\n }\n\n private renderUploadLink(): unknown[] {\n return [\n this.renderInput(),\n <span class=\"body-1 upload-link-text\">\n <span\n tabIndex={0}\n class=\"body-1-sb upload-link\"\n onClick={() => this.input.click()}\n onKeyPress={(e) => {\n if (e.code == \"Space\" || e.code == \"Enter\") {\n e.preventDefault();\n this.input.click();\n }\n }}\n >\n {this.uploadClickableMessage}\n </span>{\" \"}\n {this.uploadMessage}\n </span>,\n ];\n }\n\n private renderDefaultMode(): unknown[] {\n return [\n this.renderDescription(\"body-3-sb\"),\n this.renderAllowedFilesMessage(),\n this.renderFileSection(),\n this.renderUploadButton(),\n ];\n }\n\n private renderDragDropMode(): unknown[] {\n return [\n this.renderFileSection(),\n <z-dragdrop-area drag-and-drop-label={this.dragAndDropLabel}>\n <div class=\"text-container\">\n {this.renderDescription(\"body-1\")}\n {this.renderUploadLink()}\n {this.renderAllowedFilesMessage()}\n </div>\n </z-dragdrop-area>,\n ];\n }\n\n private renderFileErrors(): HTMLElement[] {\n return Array.from(this.invalidFiles).map(([fileName, errors]) => {\n const prefix = `Il file ${fileName}`;\n\n return (\n <span class=\"error-message\">\n Il file <span class=\"body-3-sb\">{fileName}</span>\n {errors.map(({message}) => message.replace(prefix, \"\")).join(\" e \")}.\n </span>\n );\n });\n }\n\n render(): HTMLZFileUploadElement {\n return (\n <Host>\n {this.mainTitle && (\n <div\n id=\"title\"\n class=\"heading-3-sb\"\n >\n {this.mainTitle}\n </div>\n )}\n {this._type == ZFileUploadType.DEFAULT ? this.renderDefaultMode() : this.renderDragDropMode()}\n {!!this.invalidFiles.size && this.showErrors && (\n <z-modal\n modalid={`file-upload-${this.type}-error-modal`}\n ref={(val) => (this.errorModal = val)}\n modaltitle={this.errorModalTitle}\n onModalClose={() => this.resetErrors()}\n onModalBackgroundClick={() => this.resetErrors()}\n >\n <div slot=\"modalContent\">\n <div class=\"modal-wrapper body-3\">\n {this.errorModalMessage ? this.errorModalMessage : this.renderFileErrors()}\n </div>\n </div>\n </z-modal>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"oGAAA,MAAMA,EAAY,4rEAClB,MAAAC,EAAeD,E,MCUFE,EAAW,M,6GAGEC,EAAgBC,Q,8JAwBd,S,sBAIE,gD,+DAQM,S,mBAIT,8B,qBAIE,wB,yDAQG,uB,oBAIH,K,eAId,gB,gBAOA,K,WAIoBC,KAAKC,K,WAItB,G,kBAIgC,IAAIC,G,CAqBpD,aAAAC,CAAcC,GACZJ,KAAKK,WAAWD,EAAEE,O,CAKpB,mBA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E9B,aAAaA,EAAQoE,QAAQD,EAAQ,MAAKjC,KAAK,OAAM,IAC9D,G,CAKb,MAAAmC,GACE,OACE9C,EAAC+C,EAAI,CAAAC,IAAA,4CACFlH,KAAKmH,WACJjD,EAAA,OAAAgD,IAAA,2CACE/C,GAAG,QACHC,MAAM,gBAELpE,KAAKmH,WAGTnH,KAAKwD,OAAS1D,EAAgBC,QAAUC,KAAK0G,oBAAsB1G,KAAK2G,uBACtE3G,KAAK8C,aAAavB,MAAQvB,KAAK4D,YAChCM,EAAA,WAAAgD,IAAA,2CACEE,QAAS,eAAepH,KAAKC,mBAC7ByF,IAAMC,GAAS3F,KAAK6D,WAAa8B,EACjC0B,WAAYrH,KAAKsH,gBACjBC,aAAc,IAAMvH,KAAKiD,cACzBuE,uBAAwB,IAAMxH,KAAKiD,eAEnCiB,EAAA,OAAAgD,IAAA,2CAAKO,KAAK,gBACRvD,EAAA,OAAAgD,IAAA,2CAAK9C,MAAM,wBACRpE,KAAK0H,kBAAoB1H,KAAK0H,kBAAoB1H,KAAK6G,sB","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r,h as a}from"./p-75c4a726.js";const o="button{display:flex;width:42px;width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 6);align-items:center;justify-content:center;padding:0;border:none;border-left:var(--border-size-medium) solid var(--color-surface03);margin:0;background:none;border-radius:0 var(--border-radius) 0 0;color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);outline:none}button:active,button:focus{color:var(--blue700);fill:var(--blue700)}button>span{display:flex;width:28px;height:28px;align-items:center;justify-content:center;border:0;border-radius:var(--border-radius)}button:hover>span{background:var(--color-primary03)}button:focus>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-focus-primary)}button:active>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2)}button:disabled{cursor:not-allowed}button:disabled>span{background:none;box-shadow:var(--shadow-0);pointer-events:none}button:disabled>span>z-icon{fill:var(--color-surface03)}button::-moz-focus-inner{border:0}";const e=o;const t=class{constructor(a){r(this,a);this.icon=undefined;this.isdisabled=false;this.ariaLabel=""}render(){return a("button",{key:"976b2aee8131d78cb106eded23053f49f1feae3a",disabled:this.isdisabled,"aria-label":this.ariaLabel},a("span",{key:"ee919ad9fb6abc7a15fff984a5f46395354ed2b2"},a("z-icon",{key:"d0ff29cd1398bbfb0b0e68652c0b30b764f91398",name:this.icon,width:16,height:16})))}};t.style=e;export{t as z_myz_card_icon};
|
|
2
|
-
//# sourceMappingURL=p-9187ce36.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stylesCss","ZMyzCardIconStyle0","ZMyzCardIcon","render","h","key","disabled","this","isdisabled","ariaLabel","name","icon","width","height"],"sources":["src/snowflakes/myz/card/z-myz-card-icon/styles.css?tag=z-myz-card-icon&encapsulation=shadow","src/snowflakes/myz/card/z-myz-card-icon/index.tsx"],"sourcesContent":["button {\n display: flex;\n width: 42px;\n width: calc(var(--space-unit) * 6);\n height: calc(var(--space-unit) * 5);\n height: calc(var(--space-unit) * 6);\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n border-left: var(--border-size-medium) solid var(--color-surface03);\n margin: 0;\n background: none;\n border-radius: 0 var(--border-radius) 0 0;\n color: var(--color-primary01);\n cursor: pointer;\n fill: var(--color-primary01);\n outline: none;\n}\n\nbutton:active,\nbutton:focus {\n color: var(--blue700);\n fill: var(--blue700);\n}\n\nbutton > span {\n display: flex;\n width: 28px;\n height: 28px;\n align-items: center;\n justify-content: center;\n border: 0;\n border-radius: var(--border-radius);\n}\n\nbutton:hover > span {\n background: var(--color-primary03);\n}\n\nbutton:focus > span {\n background: var(--color-surface01);\n border-radius: var(--border-radius);\n box-shadow: var(--shadow-focus-primary);\n}\n\nbutton:active > span {\n background: var(--color-surface01);\n border-radius: var(--border-radius);\n box-shadow: var(--shadow-2);\n}\n\nbutton:disabled {\n cursor: not-allowed;\n}\n\nbutton:disabled > span {\n background: none;\n box-shadow: var(--shadow-0);\n pointer-events: none;\n}\n\nbutton:disabled > span > z-icon {\n fill: var(--color-surface03);\n}\n\nbutton::-moz-focus-inner {\n border: 0;\n}\n","import {Component, Prop, h} from \"@stencil/core\";\n\n@Component({\n tag: \"z-myz-card-icon\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMyzCardIcon {\n /** icon name */\n @Prop()\n icon: string;\n\n /** disabled status flag */\n @Prop()\n isdisabled = false;\n\n /** description of the icon*/\n @Prop()\n ariaLabel = \"\";\n\n render(): HTMLButtonElement {\n return (\n <button\n disabled={this.isdisabled}\n aria-label={this.ariaLabel}\n >\n <span>\n <z-icon\n name={this.icon}\n width={16}\n height={16}\n />\n </span>\n </button>\n );\n }\n}\n"],"mappings":"sCAAA,MAAMA,EAAY,omCAClB,MAAAC,EAAeD,E,MCMFE,EAAY,M,6DAOV,M,eAID,E,CAEZ,MAAAC,GACE,OACEC,EAAA,UAAAC,IAAA,2CACEC,SAAUC,KAAKC,WAAU,aACbD,KAAKE,WAEjBL,EAAA,QAAAC,IAAA,4CACED,EAAA,UAAAC,IAAA,2CACEK,KAAMH,KAAKI,KACXC,MAAO,GACPC,OAAQ,M","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as s,g as i}from"./p-75c4a726.js";import{e as l,g as c,l as r,i as n}from"./p-b34993de.js";import{r as a,b as o,e as h,d as p,f as z}from"./p-10607a39.js";import"./p-5145a606.js";const d='.sc-z-select-h{display:inline-block;width:inherit;color:var(--color-default-text);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg)}[size="small"].sc-z-select-h,[size="x-small"].sc-z-select-h{font-size:var(--font-size-2)}.select-wrapper.sc-z-select>z-input.sc-z-select{width:100%}.select-wrapper.sc-z-select>div.sc-z-select{position:relative}.select-wrapper.sc-z-select>div.closed.sc-z-select{overflow:hidden;height:0}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select{position:absolute;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) * 0.5) var(--space-unit);border:var(--border-size-small) solid var(--gray200);border-top:none;background:var(--color-surface01);outline:none}.select-wrapper.sc-z-select .closed.sc-z-select .ul-scroll-wrapper.sc-z-select{z-index:10}.select-wrapper.sc-z-select .open.sc-z-select .ul-scroll-wrapper.sc-z-select{z-index:20}.select-wrapper.sc-z-select .ul-scroll-wrapper.fixed.sc-z-select{position:static}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select{position:relative;overflow:auto;max-height:240px;padding:calc(var(--space-unit) * 0.5);outline:none;scrollbar-color:var(--color-primary01) transparent}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-track{background-color:transparent}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.sc-z-select{display:flex;align-items:center;justify-content:space-between;padding-left:calc(var(--space-unit) * 1.5)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.sc-z-select .list-element-content.sc-z-select{display:block;padding:calc(var(--space-unit) * 0.5) 0}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.sc-z-select>z-tag.sc-z-select{margin-right:calc(var(--space-unit))}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.sc-z-select>z-icon.sc-z-select+.list-element-content.sc-z-select{display:block;padding:calc(var(--space-unit) * 0.5) var(--space-unit)}[size="x-small"].sc-z-select-h .select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.sc-z-select .list-element-content.sc-z-select{padding:0}[size="small"].sc-z-select-h .select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.sc-z-select>z-icon.sc-z-select{--z-icon-width:16px;--z-icon-height:16px}[size="x-small"].sc-z-select-h .select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.sc-z-select>z-icon.sc-z-select{--z-icon-width:14px;--z-icon-height:14px}[size="x-small"].sc-z-select-h .select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.sc-z-select>z-icon.sc-z-select+.list-element-content.sc-z-select{padding:0 var(--space-unit)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.sc-z-select .list-element-content.selected.sc-z-select{font-weight:bold}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select .no-results.sc-z-select z-icon.sc-z-select{margin-right:var(--space-unit)}.z-list-group-title.sc-z-select{color:var(--gray800)}.reset-item.sc-z-select{color:var(--color-primary01);fill:var(--color-primary01)}.reset-item-content.sc-z-select{display:flex;align-items:center}.reset-item.reset-item-margin.sc-z-select .reset-item-content.sc-z-select{margin-left:calc(var(--space-unit))}.reset-item.sc-z-select .reset-item-content.sc-z-select>z-icon.sc-z-select{margin-right:var(--space-unit)}.reset-item.hide.sc-z-select{display:none}';const u=d;const m=class{constructor(s){e(this,s);this.optionSelect=t(this,"optionSelect",7);this.resetSelect=t(this,"resetSelect",7);this.itemsList=[];this.htmlid=`id-${a()}`;this.items=undefined;this.name=undefined;this.label=undefined;this.ariaLabel="";this.disabled=false;this.readonly=false;this.placeholder=undefined;this.htmltitle=undefined;this.status=undefined;this.message=true;this.autocomplete=false;this.noresultslabel="Nessun risultato";this.hasGroupItems=undefined;this.isfixed=false;this.resetItem=undefined;this.size=l.BIG;this.isOpen=false;this.selectedItem=null;this.focusedItemId=undefined;this.searchString=undefined;this.toggleSelectUl=this.toggleSelectUl.bind(this);this.selectItem=this.selectItem.bind(this);this.handleSelectFocus=this.handleSelectFocus.bind(this)}watchItems(){this.itemsList=this.getInitialItemsArray();this.selectedItem=this.itemsList.find((e=>e.selected))}getFocusedItemHandler(e){this.focusedItemId=e.target.id}async getSelectedItem(){return this.selectedItem}async getValue(){return this.getSelectedValue()}async setValue(e){let t=[];if(typeof e==="string"){t.push(e)}else{t=e}this.selectedItem=this.itemsList.find((e=>t.includes(e.id)))}emitOptionSelect(){this.optionSelect.emit({id:this.htmlid,selected:this.getSelectedValue()})}emitResetSelect(){this.resetSelect.emit({id:this.htmlid})}componentWillLoad(){this.watchItems()}componentWillRender(){this.filterItems(this.searchString)}getInitialItemsArray(){return typeof this.items==="string"?JSON.parse(this.items):this.items}mapSelectedItemToItemsArray(){const e=this.getInitialItemsArray();return e.map((e=>{var t;e.selected=e.id===((t=this.selectedItem)===null||t===void 0?void 0:t.id);return e}))}getSelectedValue(){var e;return(e=this.selectedItem)===null||e===void 0?void 0:e.id}filterItems(e){const t=this.mapSelectedItemToItemsArray();if(!(e===null||e===void 0?void 0:e.length)){this.itemsList=t}else{this.itemsList=t.filter((t=>t.name.toUpperCase().includes(e.toUpperCase()))).map((t=>{const s=t.name.toUpperCase().indexOf(e.toUpperCase());const i=s+e.length;const l=t.name.substring(0,s)+`<strong>${t.name.substring(s,i)}</strong>`+t.name.substring(i,t.name.length);t.name=l;return t}))}}hasAutocomplete(){return o(this.autocomplete)===true}handleInputChange(e){this.searchString=e.detail.value;if(!this.isOpen){this.toggleSelectUl()}}selectItem(e,t){if(e&&e.disabled){return}this.itemsList=this.mapSelectedItemToItemsArray();this.itemsList=this.itemsList.map((s=>{s.selected=false;if(s.id===(e===null||e===void 0?void 0:e.id)){s.selected=t}return s}));this.selectedItem=this.itemsList.find((e=>e.selected));this.emitOptionSelect();if(this.searchString){this.searchString=null}}arrowsSelectNav(e,t){const s=this.resetItem&&!!this.selectedItem;const i=[c.ARROW_DOWN,c.ARROW_UP];if(!i.includes(e.key)){return}e.preventDefault();e.stopPropagation();if(!this.isOpen){this.toggleSelectUl()}let l;if(this.resetItem){if(e.key===c.ARROW_DOWN){l=t+1===this.itemsList.length+1?+!s:t+1}else if(e.key===c.ARROW_UP){l=t<=+!s?this.itemsList.length:t-1}}if(!this.resetItem){if(e.key===c.ARROW_DOWN){l=t+1===this.itemsList.length?0:t+1}else if(e.key===c.ARROW_UP){l=t<=0?this.itemsList.length-1:t-1}}this.focusSelectItem(l)}focusSelectItem(e){const t=this.element.querySelector(`#${this.htmlid}_${e}`);if(t){t.focus()}}toggleSelectUl(e=false){if(this.disabled||this.readonly){return}if(!this.isOpen){document.addEventListener("click",this.handleSelectFocus);document.addEventListener("keyup",this.handleSelectFocus)}else{document.removeEventListener("click",this.handleSelectFocus);document.removeEventListener("keyup",this.handleSelectFocus);if(e){this.element.querySelector(`#${this.htmlid}_input`).focus()}}this.focusedItemId="";this.isOpen=!this.isOpen}handleInputClick(e){const t=e.composedPath();const s=t.find((e=>e.classList&&e.classList.contains("reset-icon")));if(s){e.stopPropagation();return}this.toggleSelectUl()}handleSelectFocus(e){if(e instanceof KeyboardEvent&&e.key===c.ESC){e.stopPropagation();return this.toggleSelectUl(true)}if(e instanceof KeyboardEvent&&e.key!==c.TAB&&e.key!==c.ENTER){return}const t=h(z());const s=t.find((e=>e.nodeName.toLowerCase()==="z-input"&&e.id===`${this.htmlid}_input`));if(!s){this.toggleSelectUl(e instanceof MouseEvent?true:false)}}scrollToLetter(e){const t=this.itemsList.find((t=>t.name.charAt(0)===e));if(t){this.focusSelectItem(this.itemsList.indexOf(t))}}renderInput(){return s("z-input",{class:{"active-select":this.isOpen,"cursor-select":!this.autocomplete},id:`${this.htmlid}_input`,htmlid:`${this.htmlid}_select_input`,placeholder:this.placeholder,value:!this.isOpen&&this.selectedItem?this.selectedItem.name.replace(/<[^>]+>/g,""):null,label:this.label,"aria-expanded":this.isOpen?"true":"false","aria-label":this.ariaLabel,"aria-controls":`${this.htmlid}_list`,"aria-autocomplete":this.hasAutocomplete()?"list":"none","aria-activedescendant":this.isOpen?this.focusedItemId:"",icon:this.isOpen?"caret-up":"caret-down",hasclearicon:this.hasAutocomplete(),message:false,disabled:this.disabled,readonly:this.readonly||!this.hasAutocomplete()&&this.isOpen,status:this.isOpen?undefined:this.status,role:"combobox",size:this.size,onClick:e=>{this.handleInputClick(e)},onKeyUp:e=>{if(e.keyCode!==13){e.preventDefault()}p(e,this.toggleSelectUl)},onKeyDown:e=>this.arrowsSelectNav(e,this.selectedItem?this.itemsList.indexOf(this.selectedItem):this.resetItem?0:-1),onInputChange:e=>{this.handleInputChange(e)},onKeyPress:e=>{if(!this.hasAutocomplete()){e.preventDefault();this.scrollToLetter(String.fromCharCode(e.keyCode))}}})}renderSelectUl(){return s("div",{class:this.isOpen?"open":"closed",tabindex:"-1"},s("div",{class:{"ul-scroll-wrapper":true,fixed:this.isfixed},tabindex:"-1"},s("z-list",{role:"listbox","aria-label":this.ariaLabel||this.label,tabindex:this.disabled||this.readonly||!this.isOpen?-1:0,id:`${this.htmlid}_list`,"aria-multiselectable":false,size:this.listSizeType(),class:{disabled:this.disabled,readonly:this.readonly,filled:!!this.selectedItem,[`input-${this.status}`]:!this.isOpen&&!!this.status}},this.resetItem&&this.renderResetItem(),this.renderSelectUlItems())))}renderResetItem(){return s("z-list-element",{class:{hide:!this.selectedItem||!this.resetItem,"reset-item":true,"reset-item-margin":!this.hasGroupItems},clickable:true,disabled:false,dividerType:r.ELEMENT,role:"option",tabindex:"0","aria-selected":"false",id:`${this.htmlid}_${this.resetItem?"0":"none"}`,size:this.listSizeType(),onClickItem:()=>{this.selectedItem=null;this.searchString=null;this.emitResetSelect()},onKeyDown:e=>this.arrowsSelectNav(e,0)},s("div",{class:"reset-item-content"},s("z-icon",{name:"multiply-circled"}),s("span",null,this.resetItem)))}renderItem(e,t,i){return s("z-list-element",{clickable:!e.disabled,disabled:e.disabled,dividerType:i?r.HEADER:r.ELEMENT,role:"option",tabindex:e.disabled||!this.isOpen?-1:0,"aria-selected":e.selected?"true":"false",id:`${this.htmlid}_${t}`,size:this.listSizeType(),onClickItem:()=>this.selectItem(e,true),onKeyDown:e=>this.arrowsSelectNav(e,t)},s("div",{class:"list-element-container"},s("span",{class:{selected:!!e.selected,"list-element-content":true},innerHTML:e.name}),e.icon&&s("z-tag",{icon:e.icon})))}listSizeType(){if(this.size===l.SMALL||this.size===l.X_SMALL){return n.SMALL}return n.MEDIUM}renderSelectUlItems(){if(!this.itemsList.length){return this.renderNoSearchResults()}if(this.hasGroupItems){return this.renderSelectGroupItems()}return this.itemsList.map(((e,t,s)=>{const i=s.length===t+1;const l=this.resetItem?t+1:t;return this.renderItem(e,l,i)}))}renderSelectGroupItems(){const e=this.itemsList.reduce(((e,t,s,i)=>{var l;const{category:c}=t;const r=i.length===s+1;const n=this.resetItem?s+1:s;const a=this.renderItem(t,n,r);e[c]=(l=e[c])!==null&&l!==void 0?l:[];e[c].push(a);return e}),{});return Object.entries(e).map((([e,t])=>s("z-list-group",{"divider-type":r.ELEMENT},s("span",{class:"body-3-sb z-list-group-title",slot:"header-title"},e),t.map((e=>e)))))}renderNoSearchResults(){return s("z-list-element",{color:"blue500",class:"no-results",size:this.listSizeType()},s("z-icon",{name:"multiply-circle",fill:"blue500"}),this.noresultslabel)}renderMessage(){if(o(this.message)===false){return}return s("z-input-message",{message:o(this.message)===true?undefined:this.message,status:this.status,class:this.size})}render(){return s("div",{key:"1ad24c71d6838f434592d96047388b0fb3886127",class:"select-wrapper"},this.renderInput(),this.renderSelectUl(),this.renderMessage())}get element(){return i(this)}static get watchers(){return{items:["watchItems"]}}};m.style=u;export{m as z_select};
|
|
2
|
-
//# sourceMappingURL=p-972098a5.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stylesCss","ZSelectStyle0","ZSelect","constructor","hostRef","this","itemsList","randomId","ControlSize","BIG","toggleSelectUl","bind","selectItem","handleSelectFocus","watchItems","getInitialItemsArray","selectedItem","find","item","selected","getFocusedItemHandler","e","focusedItemId","target","id","getSelectedItem","getValue","getSelectedValue","setValue","value","values","push","includes","emitOptionSelect","optionSelect","emit","htmlid","emitResetSelect","resetSelect","componentWillLoad","componentWillRender","filterItems","searchString","items","JSON","parse","mapSelectedItemToItemsArray","initialItemsList","map","_a","prevList","length","filter","name","toUpperCase","start","indexOf","end","newName","substring","hasAutocomplete","boolean","autocomplete","handleInputChange","detail","isOpen","disabled","i","arrowsSelectNav","key","showResetIcon","resetItem","arrows","KeyboardCode","ARROW_DOWN","ARROW_UP","preventDefault","stopPropagation","index","focusSelectItem","focusElem","element","querySelector","focus","selfFocusOnClose","readonly","document","addEventListener","removeEventListener","handleInputClick","cp","composedPath","clearIcon","classList","contains","KeyboardEvent","ESC","TAB","ENTER","tree","getElementTree","getClickedElement","parent","elem","nodeName","toLowerCase","MouseEvent","scrollToLetter","letter","foundItem","charAt","renderInput","h","class","placeholder","replace","label","ariaLabel","icon","hasclearicon","message","status","undefined","role","size","onClick","onKeyUp","keyCode","handleKeyboardSubmit","onKeyDown","onInputChange","onKeyPress","String","fromCharCode","renderSelectUl","tabindex","fixed","isfixed","listSizeType","filled","renderResetItem","renderSelectUlItems","hide","hasGroupItems","clickable","dividerType","ListDividerType","ELEMENT","onClickItem","renderItem","lastItem","HEADER","innerHTML","SMALL","X_SMALL","ListSize","MEDIUM","renderNoSearchResults","renderSelectGroupItems","array","itemKey","newData","reduce","group","category","zListItem","Object","entries","slot","color","fill","noresultslabel","renderMessage","render"],"sources":["src/components/z-select/styles.css?tag=z-select&encapsulation=scoped","src/components/z-select/index.tsx"],"sourcesContent":[":host {\n display: inline-block;\n width: inherit;\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n}\n\n:host([size=\"small\"]),\n:host([size=\"x-small\"]) {\n font-size: var(--font-size-2);\n}\n\n.select-wrapper > z-input {\n width: 100%;\n}\n\n.select-wrapper > div {\n position: relative;\n}\n\n.select-wrapper > div.closed {\n overflow: hidden;\n height: 0;\n}\n\n.select-wrapper .ul-scroll-wrapper {\n position: absolute;\n width: 100%;\n box-sizing: border-box;\n padding: calc(var(--space-unit) * 0.5) var(--space-unit);\n border: var(--border-size-small) solid var(--gray200);\n border-top: none;\n background: var(--color-surface01);\n outline: none;\n}\n\n.select-wrapper .closed .ul-scroll-wrapper {\n z-index: 10;\n}\n\n.select-wrapper .open .ul-scroll-wrapper {\n z-index: 20;\n}\n\n.select-wrapper .ul-scroll-wrapper.fixed {\n position: static;\n}\n\n.select-wrapper .ul-scroll-wrapper > z-list {\n position: relative;\n overflow: auto;\n max-height: 240px;\n padding: calc(var(--space-unit) * 0.5);\n outline: none;\n\n /* Firefox scrollbar */\n scrollbar-color: var(--color-primary01) transparent;\n}\n\n.select-wrapper .ul-scroll-wrapper > z-list::-webkit-scrollbar {\n width: 10px;\n background: linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);\n border-radius: var(--border-radius);\n}\n\n.select-wrapper .ul-scroll-wrapper > z-list::-webkit-scrollbar-track {\n background-color: transparent;\n}\n\n.select-wrapper .ul-scroll-wrapper > z-list::-webkit-scrollbar-thumb {\n width: 10px;\n background-color: var(--color-primary01);\n border-radius: var(--border-radius);\n}\n\n.select-wrapper .ul-scroll-wrapper > z-list::-webkit-scrollbar-thumb:hover {\n background-color: var(--color-hover-primary);\n}\n\n.select-wrapper .ul-scroll-wrapper z-list z-list-element .list-element-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding-left: calc(var(--space-unit) * 1.5);\n}\n\n.select-wrapper .ul-scroll-wrapper z-list z-list-element .list-element-container .list-element-content {\n display: block;\n padding: calc(var(--space-unit) * 0.5) 0;\n}\n\n.select-wrapper .ul-scroll-wrapper z-list z-list-element .list-element-container > z-tag {\n margin-right: calc(var(--space-unit));\n}\n\n.select-wrapper .ul-scroll-wrapper z-list z-list-element .list-element-container > z-icon + .list-element-content {\n display: block;\n padding: calc(var(--space-unit) * 0.5) var(--space-unit);\n}\n\n:host([size=\"x-small\"])\n .select-wrapper\n .ul-scroll-wrapper\n z-list\n z-list-element\n .list-element-container\n .list-element-content {\n padding: 0;\n}\n\n:host([size=\"small\"]) .select-wrapper .ul-scroll-wrapper z-list z-list-element .list-element-container > z-icon {\n --z-icon-width: 16px;\n --z-icon-height: 16px;\n}\n\n:host([size=\"x-small\"]) .select-wrapper .ul-scroll-wrapper z-list z-list-element .list-element-container > z-icon {\n --z-icon-width: 14px;\n --z-icon-height: 14px;\n}\n\n:host([size=\"x-small\"])\n .select-wrapper\n .ul-scroll-wrapper\n z-list\n z-list-element\n .list-element-container\n > z-icon\n + .list-element-content {\n padding: 0 var(--space-unit);\n}\n\n.select-wrapper .ul-scroll-wrapper z-list z-list-element .list-element-container .list-element-content.selected {\n font-weight: bold;\n}\n\n.select-wrapper .ul-scroll-wrapper .no-results z-icon {\n margin-right: var(--space-unit);\n}\n\n.z-list-group-title {\n color: var(--gray800);\n}\n\n.reset-item {\n color: var(--color-primary01);\n fill: var(--color-primary01);\n}\n\n.reset-item-content {\n display: flex;\n align-items: center;\n}\n\n.reset-item.reset-item-margin .reset-item-content {\n margin-left: calc(var(--space-unit));\n}\n\n.reset-item .reset-item-content > z-icon {\n margin-right: var(--space-unit);\n}\n\n.reset-item.hide {\n display: none;\n}\n","import {Component, Element, Event, EventEmitter, Listen, Method, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ControlSize, InputStatus, KeyboardCode, ListDividerType, ListSize, SelectItem} from \"../../beans\";\nimport {boolean, getClickedElement, getElementTree, handleKeyboardSubmit, randomId} from \"../../utils/utils\";\n\n@Component({\n tag: \"z-select\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZSelect {\n @Element() element: HTMLZSelectElement;\n\n /** the id of the input element */\n @Prop()\n htmlid = `id-${randomId()}`;\n\n /** the input select options */\n @Prop()\n items: SelectItem[] | string;\n\n /** the input name */\n @Prop()\n name?: string;\n\n /** the input label */\n @Prop()\n label?: string;\n\n /** the input aria-label */\n @Prop()\n ariaLabel = \"\";\n\n /** the input is disabled */\n @Prop()\n disabled?: boolean = false;\n\n /** the input is readonly */\n @Prop()\n readonly?: boolean = false;\n\n /** the input placeholder (optional) */\n @Prop()\n placeholder?: string;\n\n /** the input html title (optional) */\n @Prop()\n htmltitle?: string;\n\n /** the input status (optional) */\n @Prop()\n status?: InputStatus;\n\n /** input helper message (optional) - if set to `false` message won't be displayed */\n @Prop()\n message?: string | boolean = true;\n\n /** the input has autocomplete option */\n @Prop()\n autocomplete?: boolean = false;\n\n /** no result text message */\n @Prop()\n noresultslabel?: string = \"Nessun risultato\";\n\n /** */\n @Prop()\n hasGroupItems?: boolean;\n\n /** When fixed, it occupies space and pushes down next elements. */\n @Prop()\n isfixed?: boolean = false;\n\n /** */\n @Prop()\n resetItem?: string;\n\n /** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */\n @Prop()\n size?: ControlSize = ControlSize.BIG;\n\n @State()\n isOpen = false;\n\n @State()\n selectedItem: null | SelectItem = null;\n\n @State()\n focusedItemId: string;\n\n @State()\n searchString: null | string;\n\n private itemsList: SelectItem[] = [];\n\n constructor() {\n this.toggleSelectUl = this.toggleSelectUl.bind(this);\n this.selectItem = this.selectItem.bind(this);\n this.handleSelectFocus = this.handleSelectFocus.bind(this);\n }\n\n @Watch(\"items\")\n watchItems(): void {\n this.itemsList = this.getInitialItemsArray();\n this.selectedItem = this.itemsList.find((item: SelectItem) => item.selected);\n }\n\n @Listen(\"ariaDescendantFocus\")\n getFocusedItemHandler(e: CustomEvent): void {\n this.focusedItemId = (e.target as Element).id;\n }\n\n /** get the input selected options */\n @Method()\n async getSelectedItem(): Promise<SelectItem> {\n return this.selectedItem;\n }\n\n /** get the input value */\n @Method()\n async getValue(): Promise<string> {\n return this.getSelectedValue();\n }\n\n /** set the input value */\n @Method()\n async setValue(value: string | string[]): Promise<void> {\n let values: string[] = [];\n if (typeof value === \"string\") {\n values.push(value);\n } else {\n values = value;\n }\n\n this.selectedItem = this.itemsList.find((item: SelectItem) => values.includes(item.id));\n }\n\n /** Emitted on select option selection, returns select id, selected item id */\n @Event()\n optionSelect: EventEmitter;\n\n private emitOptionSelect(): void {\n this.optionSelect.emit({\n id: this.htmlid,\n selected: this.getSelectedValue(),\n });\n }\n\n /** Emitted on reset selected item, returns select id, selected item id */\n @Event()\n resetSelect: EventEmitter;\n\n private emitResetSelect(): void {\n this.resetSelect.emit({\n id: this.htmlid,\n });\n }\n\n componentWillLoad(): void {\n this.watchItems();\n }\n\n componentWillRender(): void {\n this.filterItems(this.searchString);\n }\n\n private getInitialItemsArray(): SelectItem[] {\n return typeof this.items === \"string\" ? JSON.parse(this.items) : this.items;\n }\n\n private mapSelectedItemToItemsArray(): SelectItem[] {\n const initialItemsList = this.getInitialItemsArray();\n\n return initialItemsList.map((item: SelectItem) => {\n item.selected = item.id === this.selectedItem?.id;\n\n return item;\n });\n }\n\n private getSelectedValue(): string {\n return this.selectedItem?.id;\n }\n\n private filterItems(searchString: string): void {\n const prevList = this.mapSelectedItemToItemsArray();\n if (!searchString?.length) {\n this.itemsList = prevList;\n } else {\n this.itemsList = prevList\n .filter((item: SelectItem) => {\n return item.name.toUpperCase().includes(searchString.toUpperCase());\n })\n .map((item: SelectItem) => {\n const start = item.name.toUpperCase().indexOf(searchString.toUpperCase());\n const end = start + searchString.length;\n const newName =\n item.name.substring(0, start) +\n `<strong>${item.name.substring(start, end)}</strong>` +\n item.name.substring(end, item.name.length);\n item.name = newName;\n\n return item;\n });\n }\n }\n\n private hasAutocomplete(): boolean {\n return boolean(this.autocomplete) === true;\n }\n\n private handleInputChange(e: CustomEvent): void {\n this.searchString = e.detail.value;\n if (!this.isOpen) {\n this.toggleSelectUl();\n }\n }\n\n private selectItem(item: null | SelectItem, selected: boolean): void {\n if (item && item.disabled) {\n return;\n }\n\n this.itemsList = this.mapSelectedItemToItemsArray();\n this.itemsList = this.itemsList.map((i: SelectItem) => {\n i.selected = false;\n if (i.id === item?.id) {\n i.selected = selected;\n }\n\n return i;\n });\n\n this.selectedItem = this.itemsList.find((item: SelectItem) => item.selected);\n\n this.emitOptionSelect();\n\n if (this.searchString) {\n this.searchString = null;\n }\n }\n\n private arrowsSelectNav(e: KeyboardEvent, key: number): void {\n const showResetIcon = this.resetItem && !!this.selectedItem;\n const arrows = [KeyboardCode.ARROW_DOWN, KeyboardCode.ARROW_UP];\n if (!arrows.includes(e.key as KeyboardCode)) {\n return;\n }\n\n e.preventDefault();\n e.stopPropagation();\n\n if (!this.isOpen) {\n this.toggleSelectUl();\n }\n\n let index: number;\n\n if (this.resetItem) {\n if (e.key === KeyboardCode.ARROW_DOWN) {\n index = key + 1 === this.itemsList.length + 1 ? +!showResetIcon : key + 1;\n } else if (e.key === KeyboardCode.ARROW_UP) {\n index = key <= +!showResetIcon ? this.itemsList.length : key - 1;\n }\n }\n\n if (!this.resetItem) {\n if (e.key === KeyboardCode.ARROW_DOWN) {\n index = key + 1 === this.itemsList.length ? 0 : key + 1;\n } else if (e.key === KeyboardCode.ARROW_UP) {\n index = key <= 0 ? this.itemsList.length - 1 : key - 1;\n }\n }\n\n this.focusSelectItem(index);\n }\n\n private focusSelectItem(index: number): void {\n const focusElem: HTMLLIElement = this.element.querySelector(`#${this.htmlid}_${index}`);\n if (focusElem) {\n focusElem.focus();\n }\n }\n\n private toggleSelectUl(selfFocusOnClose = false): void {\n if (this.disabled || this.readonly) {\n return;\n }\n\n if (!this.isOpen) {\n document.addEventListener(\"click\", this.handleSelectFocus);\n document.addEventListener(\"keyup\", this.handleSelectFocus);\n } else {\n document.removeEventListener(\"click\", this.handleSelectFocus);\n document.removeEventListener(\"keyup\", this.handleSelectFocus);\n if (selfFocusOnClose) {\n (this.element.querySelector(`#${this.htmlid}_input`) as HTMLInputElement).focus();\n }\n }\n\n this.focusedItemId = \"\";\n this.isOpen = !this.isOpen;\n }\n\n private handleInputClick(e: MouseEvent | KeyboardEvent): void {\n const cp = e.composedPath();\n const clearIcon = cp.find((item: HTMLElement) => item.classList && item.classList.contains(\"reset-icon\"));\n if (clearIcon) {\n e.stopPropagation();\n\n return;\n }\n\n this.toggleSelectUl();\n }\n\n private handleSelectFocus(e: MouseEvent | KeyboardEvent): void {\n if (e instanceof KeyboardEvent && e.key === KeyboardCode.ESC) {\n e.stopPropagation();\n\n return this.toggleSelectUl(true);\n }\n\n if (e instanceof KeyboardEvent && e.key !== KeyboardCode.TAB && e.key !== KeyboardCode.ENTER) {\n return;\n }\n\n const tree = getElementTree(getClickedElement());\n const parent = tree.find((elem: HTMLElement) => {\n return elem.nodeName.toLowerCase() === \"z-input\" && elem.id === `${this.htmlid}_input`;\n });\n\n if (!parent) {\n this.toggleSelectUl(e instanceof MouseEvent ? true : false);\n }\n }\n\n private scrollToLetter(letter: string): void {\n const foundItem = this.itemsList.find((item: SelectItem) => item.name.charAt(0) === letter);\n if (foundItem) {\n this.focusSelectItem(this.itemsList.indexOf(foundItem));\n }\n }\n\n private renderInput(): HTMLZInputElement {\n return (\n <z-input\n class={{\n \"active-select\": this.isOpen,\n \"cursor-select\": !this.autocomplete,\n }}\n id={`${this.htmlid}_input`}\n htmlid={`${this.htmlid}_select_input`}\n placeholder={this.placeholder}\n value={!this.isOpen && this.selectedItem ? this.selectedItem.name.replace(/<[^>]+>/g, \"\") : null}\n label={this.label}\n aria-expanded={this.isOpen ? \"true\" : \"false\"}\n aria-label={this.ariaLabel}\n aria-controls={`${this.htmlid}_list`}\n aria-autocomplete={this.hasAutocomplete() ? \"list\" : \"none\"}\n aria-activedescendant={this.isOpen ? this.focusedItemId : \"\"}\n icon={this.isOpen ? \"caret-up\" : \"caret-down\"}\n hasclearicon={this.hasAutocomplete()}\n message={false}\n disabled={this.disabled}\n readonly={this.readonly || (!this.hasAutocomplete() && this.isOpen)}\n status={this.isOpen ? undefined : this.status}\n role=\"combobox\"\n size={this.size}\n onClick={(e: MouseEvent) => {\n this.handleInputClick(e);\n }}\n onKeyUp={(e: KeyboardEvent) => {\n if (e.keyCode !== 13) {\n e.preventDefault();\n }\n handleKeyboardSubmit(e, this.toggleSelectUl);\n }}\n onKeyDown={(e: KeyboardEvent) => {\n return this.arrowsSelectNav(\n e,\n this.selectedItem ? this.itemsList.indexOf(this.selectedItem) : this.resetItem ? 0 : -1\n );\n }}\n onInputChange={(e: CustomEvent) => {\n this.handleInputChange(e);\n }}\n onKeyPress={(e: KeyboardEvent) => {\n if (!this.hasAutocomplete()) {\n e.preventDefault();\n this.scrollToLetter(String.fromCharCode(e.keyCode));\n }\n }}\n />\n );\n }\n\n private renderSelectUl(): HTMLDivElement {\n return (\n <div\n class={this.isOpen ? \"open\" : \"closed\"}\n tabindex=\"-1\"\n >\n <div\n class={{\n \"ul-scroll-wrapper\": true,\n \"fixed\": this.isfixed,\n }}\n tabindex=\"-1\"\n >\n <z-list\n role=\"listbox\"\n aria-label={this.ariaLabel || this.label}\n tabindex={this.disabled || this.readonly || !this.isOpen ? -1 : 0}\n id={`${this.htmlid}_list`}\n aria-multiselectable={false}\n size={this.listSizeType()}\n class={{\n disabled: this.disabled,\n readonly: this.readonly,\n filled: !!this.selectedItem,\n [`input-${this.status}`]: !this.isOpen && !!this.status,\n }}\n >\n {this.resetItem && this.renderResetItem()}\n {this.renderSelectUlItems()}\n </z-list>\n </div>\n </div>\n );\n }\n\n private renderResetItem(): HTMLZListElementElement {\n return (\n <z-list-element\n class={{\n \"hide\": !this.selectedItem || !this.resetItem,\n \"reset-item\": true,\n \"reset-item-margin\": !this.hasGroupItems,\n }}\n clickable={true}\n disabled={false}\n dividerType={ListDividerType.ELEMENT}\n role=\"option\"\n tabindex=\"0\"\n aria-selected=\"false\"\n id={`${this.htmlid}_${this.resetItem ? \"0\" : \"none\"}`}\n size={this.listSizeType()}\n onClickItem={() => {\n this.selectedItem = null;\n this.searchString = null;\n this.emitResetSelect();\n }}\n onKeyDown={(e: KeyboardEvent) => this.arrowsSelectNav(e, 0)}\n >\n <div class=\"reset-item-content\">\n <z-icon name=\"multiply-circled\" />\n <span>{this.resetItem}</span>\n </div>\n </z-list-element>\n );\n }\n\n private renderItem(item: SelectItem, key: number, lastItem: boolean): HTMLZListElementElement {\n return (\n <z-list-element\n clickable={!item.disabled}\n disabled={item.disabled}\n dividerType={lastItem ? ListDividerType.HEADER : ListDividerType.ELEMENT}\n role=\"option\"\n tabindex={item.disabled || !this.isOpen ? -1 : 0}\n aria-selected={item.selected ? \"true\" : \"false\"}\n id={`${this.htmlid}_${key}`}\n size={this.listSizeType()}\n onClickItem={() => this.selectItem(item, true)}\n onKeyDown={(e: KeyboardEvent) => this.arrowsSelectNav(e, key)}\n >\n <div class=\"list-element-container\">\n <span\n class={{\n \"selected\": !!item.selected,\n \"list-element-content\": true,\n }}\n innerHTML={item.name}\n />\n\n {item.icon && <z-tag icon={item.icon}></z-tag>}\n </div>\n </z-list-element>\n );\n }\n\n private listSizeType(): ListSize {\n if (this.size === ControlSize.SMALL || this.size === ControlSize.X_SMALL) {\n return ListSize.SMALL;\n }\n\n return ListSize.MEDIUM;\n }\n\n private renderSelectUlItems(): HTMLZListElementElement | HTMLZListElementElement[] {\n if (!this.itemsList.length) {\n return this.renderNoSearchResults();\n }\n\n if (this.hasGroupItems) {\n return this.renderSelectGroupItems();\n }\n\n return this.itemsList.map((item: SelectItem, key, array) => {\n const lastItem = array.length === key + 1;\n const itemKey = this.resetItem ? key + 1 : key;\n\n return this.renderItem(item, itemKey, lastItem);\n });\n }\n\n private renderSelectGroupItems(): HTMLZListElementElement | HTMLZListElementElement[] {\n const newData = this.itemsList.reduce((group, item, index, array) => {\n const {category} = item;\n const lastItem = array.length === index + 1;\n const itemKey = this.resetItem ? index + 1 : index;\n const zListItem = this.renderItem(item, itemKey, lastItem);\n\n group[category] = group[category] ?? [];\n group[category].push(zListItem);\n\n return group;\n }, {});\n\n return Object.entries(newData as {[key: string]: HTMLZListElementElement[]}).map(([key, value]) => {\n return (\n <z-list-group divider-type={ListDividerType.ELEMENT}>\n <span\n class=\"body-3-sb z-list-group-title\"\n slot=\"header-title\"\n >\n {key}\n </span>\n {value.map((item) => item)}\n </z-list-group>\n );\n });\n }\n\n private renderNoSearchResults(): HTMLZListElementElement {\n return (\n <z-list-element\n color=\"blue500\"\n class=\"no-results\"\n size={this.listSizeType()}\n >\n <z-icon\n name=\"multiply-circle\"\n fill=\"blue500\"\n />\n {this.noresultslabel}\n </z-list-element>\n );\n }\n\n private renderMessage(): HTMLZInputMessageElement {\n if (boolean(this.message) === false) {\n return;\n }\n\n return (\n <z-input-message\n message={boolean(this.message) === true ? undefined : (this.message as string)}\n status={this.status}\n class={this.size}\n />\n );\n }\n\n render(): HTMLDivElement {\n return (\n <div class=\"select-wrapper\">\n {this.renderInput()}\n {this.renderSelectUl()}\n {this.renderMessage()}\n </div>\n );\n }\n}\n"],"mappings":"0MAAA,MAAMA,EAAY,ggJAClB,MAAAC,EAAeD,E,MCSFE,EAAO,MAqFlB,WAAAC,CAAAC,G,8FAFQC,KAAAC,UAA0B,G,YA9EzB,MAAMC,M,6EAgBH,G,cAIS,M,cAIA,M,uFAgBQ,K,kBAIJ,M,oBAIC,mB,0CAQN,M,mCAQCC,EAAYC,I,YAGxB,M,kBAGyB,K,yDAWhCJ,KAAKK,eAAiBL,KAAKK,eAAeC,KAAKN,MAC/CA,KAAKO,WAAaP,KAAKO,WAAWD,KAAKN,MACvCA,KAAKQ,kBAAoBR,KAAKQ,kBAAkBF,KAAKN,K,CAIvD,U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AAAiD,GACE,OACE7D,EAAA,OAAA3C,IAAA,2CAAK4C,MAAM,kBACR5G,KAAK0G,cACL1G,KAAKiI,iBACLjI,KAAKuK,gB","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as i,c as t,h as s}from"./p-75c4a726.js";import{d as e}from"./p-10607a39.js";import"./p-b34993de.js";import"./p-5145a606.js";const a=":host li{all:unset;all:reset;width:100%;line-height:14px;list-style-type:none}:host li>span{display:flex;padding:calc(var(--space-unit) * 2) 0;color:var(--color-default-text);fill:var(--color-default-icon);font-family:var(--font-family-sans);font-size:16px;font-weight:var(--font-rg);letter-spacing:0.23px;line-height:14px}:host(.small) li>span{padding:calc(var(--space-unit) * 1.5) 0;font-size:var(--font-size-2)}:host(.x-small) li>span{padding:var(--space-unit) 0;font-size:var(--font-size-2)}:host(.small) li>span>z-icon,:host(.x-small) li>span>z-icon{--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:calc(var(--space-unit) * 0.5);padding:0}:host li>span.border{border-bottom:2px solid var(--color-surface03)}:host li span:hover,a:hover{color:var(--color-primary01);fill:var(--color-primary01)}a,a:visited,a:active{color:inherit;fill:inherit;text-decoration:none}:host li span z-icon{width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-repeat:no-repeat;background-size:contain;color:var(--color-primary01);fill:var(--color-primary01)}";const n=a;const o=class{emitZListItemLinkClick(i,t){this.zListItemLinkClick.emit({e:i,linkId:t})}emitZListItemClick(i,t){this.zListItemClick.emit({e:i,listitemid:t})}constructor(s){i(this,s);this.zListItemLinkClick=t(this,"zListItemLinkClick",7);this.zListItemClick=t(this,"zListItemClick",7);this.text=undefined;this.link=undefined;this.linktarget="_self";this.icon=undefined;this.listitemid=undefined;this.action=undefined;this.underlined=true;this.emitZListItemLinkClick=this.emitZListItemLinkClick.bind(this);this.emitZListItemClick=this.emitZListItemClick.bind(this)}render(){const i=this.listitemid?`link_${this.listitemid}`:"";return s("li",{key:"b96b5f850ed4f955ef40eafdedfabe71c942e886",role:"button",id:this.listitemid,"data-action":this.action,onClick:i=>this.emitZListItemClick(i,this.listitemid),onKeyPress:i=>e(i,this.emitZListItemClick,this.listitemid)},s("span",{key:"2ca05ec788e9ff591ad7b1cdbb5517b32d5681a9",class:this.underlined&&"border"},this.icon&&s("z-icon",{key:"e573f22f4797e9420e9a460a4aa4c793be06c14f",name:this.icon}),this.link?s("a",{href:this.link?this.link:null,target:this.linktarget,id:i,onClick:t=>this.emitZListItemLinkClick(t,i),onKeyPress:t=>e(t,this.emitZListItemLinkClick,i),role:this.link?"link":"button",tabindex:"0"},this.text):s("span",{innerHTML:this.text}),s("slot",{key:"6efed7b8ca33c2dcb7402555330443244340bae5"})))}};o.style=n;export{o as z_myz_list_item};
|
|
2
|
-
//# sourceMappingURL=p-9f0a3d88.entry.js.map
|