@zanichelli/albe-web-components 6.6.9 → 6.6.10-test
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 +2209 -0
- package/dist/types/components/inputs/z-combobox/index.d.ts +2 -0
- package/dist/types/components.d.ts +8 -0
- package/dist/web-components-library/_commonjsHelpers-8fe71198.js +44 -0
- package/dist/web-components-library/app-globals-0f993ce5.js +3 -0
- package/dist/{esm → web-components-library}/breakpoints-c386984e.js +0 -0
- package/dist/web-components-library/css-shim-b3f2ee8d.js +4 -0
- package/dist/web-components-library/dom-665d6011.js +73 -0
- package/dist/{esm/hammer-c3266b17.js → web-components-library/hammer-782a2043.js} +3 -2
- package/dist/{esm → web-components-library}/icons-85e529a3.js +0 -0
- package/dist/{cjs/index-e3299e0a.js → web-components-library/index-291c96fb.js} +1473 -521
- package/dist/{esm → web-components-library}/index-968a240f.js +0 -0
- package/dist/web-components-library/index.esm.js +9 -1
- package/dist/web-components-library/shadow-css-b18e99d7.js +387 -0
- package/dist/{esm/utils-6cf7efe2.js → web-components-library/utils-b96780be.js} +18 -0
- package/dist/{esm/utils-151f0ab4.js → web-components-library/utils-d783f6be.js} +26 -4
- package/dist/web-components-library/web-components-library.css +1636 -1
- package/dist/web-components-library/web-components-library.esm.js +129 -1
- package/dist/{esm → web-components-library}/z-alert.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-anchor-navigation.entry.js +1 -1
- package/dist/web-components-library/z-app-header.entry.js +129 -0
- package/dist/{esm → web-components-library}/z-app-switcher.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-aria-alert.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-avatar.entry.js +1 -1
- package/dist/web-components-library/z-body.entry.js +14 -0
- package/dist/{esm → web-components-library}/z-button-sort.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-button.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-card.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-carousel.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-chip.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-combobox.entry.js +6 -4
- package/dist/{esm → web-components-library}/z-contextual-menu.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-cover-hero.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-date-picker.entry.js +12 -6
- package/dist/{esm → web-components-library}/z-divider.entry.js +1 -1
- package/dist/web-components-library/z-dragdrop-area.entry.js +33 -0
- package/dist/{esm → web-components-library}/z-file-upload.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-file.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-ghost-loading.entry.js +1 -1
- package/dist/web-components-library/z-heading.entry.js +14 -0
- package/dist/web-components-library/z-icon.entry.js +22 -0
- package/dist/{esm → web-components-library}/z-info-box.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-info-reveal.entry.js +1 -1
- package/dist/web-components-library/z-input-message.entry.js +20 -0
- package/dist/web-components-library/z-input.entry.js +231 -0
- package/dist/{esm → web-components-library}/z-link.entry.js +1 -1
- package/dist/web-components-library/z-list-element.entry.js +173 -0
- package/dist/web-components-library/z-list-group.entry.js +56 -0
- package/dist/web-components-library/z-list.entry.js +36 -0
- package/dist/{esm → web-components-library}/z-logo.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-menu-section.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-menu.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-messages-pocket.entry.js +1 -1
- package/dist/{esm/z-dragdrop-area_3.entry.js → web-components-library/z-modal.entry.js} +2 -43
- package/dist/{esm → web-components-library}/z-myz-card-alert.entry.js +1 -1
- package/dist/web-components-library/z-myz-card-body.entry.js +15 -0
- package/dist/web-components-library/z-myz-card-cover.entry.js +18 -0
- package/dist/{esm → web-components-library}/z-myz-card-dictionary.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-myz-card-footer.entry.js +1 -1
- package/dist/web-components-library/z-myz-card-header.entry.js +36 -0
- package/dist/{esm → web-components-library}/z-myz-card-icon.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-myz-card-info.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-myz-card-list.entry.js +1 -1
- package/dist/web-components-library/z-myz-card.entry.js +42 -0
- package/dist/{esm → web-components-library}/z-myz-list-item.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-myz-list.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-navigation-tab-link.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-navigation-tab.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-navigation-tabs.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-notification.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-offcanvas.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-otp.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-pagination.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-panel-elem.entry.js +1 -1
- package/dist/web-components-library/z-pocket-body.entry.js +23 -0
- package/dist/web-components-library/z-pocket-header.entry.js +36 -0
- package/dist/{esm → web-components-library}/z-pocket-message.entry.js +1 -1
- package/dist/web-components-library/z-pocket.entry.js +68 -0
- package/dist/{esm → web-components-library}/z-popover.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-range-picker.entry.js +3 -3
- package/dist/{esm → web-components-library}/z-searchbar.entry.js +3 -3
- package/dist/{esm → web-components-library}/z-section-title.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-select.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-skip-to-content.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-slideshow.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-stepper-item.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-stepper.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-table-body.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-table-cell.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-table-empty-box.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-table-expanded-row.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-table-footer.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-table-head.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-table-header-row.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-table-header.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-table-row.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-table-sticky-footer.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-table.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-tag.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-toast-notification-list.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-toast-notification.entry.js +3 -3
- package/dist/{esm → web-components-library}/z-toggle-button.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-toggle-switch.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-tooltip.entry.js +1 -1
- package/dist/{esm/z-body_2.entry.js → web-components-library/z-typography.entry.js} +2 -13
- package/dist/{esm → web-components-library}/z-visually-hidden.entry.js +1 -1
- package/package.json +1 -1
- package/react/components.d.ts +22 -1
- package/react/components.js +25 -3
- package/react/components.js.map +1 -1
- package/src-react/index.ts +1 -0
- package/www/build/_commonjsHelpers-8fe71198.js +44 -0
- package/www/build/app-globals-0f993ce5.js +3 -0
- package/{dist/collection/constants/breakpoints.js → www/build/breakpoints-c386984e.js} +2 -1
- package/www/build/css-shim-b3f2ee8d.js +4 -0
- package/www/build/dom-665d6011.js +73 -0
- package/{dist/cjs/hammer-4f20813e.js → www/build/hammer-782a2043.js} +5 -6
- package/{dist/cjs/icons-9e555ff7.js → www/build/icons-85e529a3.js} +1 -3
- package/{dist/esm/index-a2ca4b97.js → www/build/index-291c96fb.js} +1472 -492
- package/{dist/collection/beans/index.js → www/build/index-968a240f.js} +49 -47
- package/www/build/index.esm.js +9 -1
- package/www/build/shadow-css-b18e99d7.js +387 -0
- package/{dist/collection/utils/utils.js → www/build/utils-b96780be.js} +16 -13
- package/{dist/cjs/utils-8bc9056f.js → www/build/utils-d783f6be.js} +38 -22
- package/www/build/web-components-library.css +1636 -1
- package/www/build/web-components-library.esm.js +129 -1
- package/{dist/cjs/z-alert.cjs.entry.js → www/build/z-alert.entry.js} +4 -8
- package/{dist/cjs/z-anchor-navigation.cjs.entry.js → www/build/z-anchor-navigation.entry.js} +5 -9
- package/www/build/z-app-header.entry.js +129 -0
- package/{dist/cjs/z-app-switcher.cjs.entry.js → www/build/z-app-switcher.entry.js} +7 -11
- package/www/build/z-aria-alert.entry.js +15 -0
- package/{dist/cjs/z-avatar.cjs.entry.js → www/build/z-avatar.entry.js} +10 -14
- package/www/build/z-body.entry.js +14 -0
- package/{dist/cjs/z-button-sort.cjs.entry.js → www/build/z-button-sort.entry.js} +7 -11
- package/{dist/cjs/z-button.cjs.entry.js → www/build/z-button.entry.js} +10 -14
- package/{dist/cjs/z-card.cjs.entry.js → www/build/z-card.entry.js} +17 -21
- package/{dist/cjs/z-carousel.cjs.entry.js → www/build/z-carousel.entry.js} +11 -15
- package/{dist/cjs/z-chip.cjs.entry.js → www/build/z-chip.entry.js} +12 -16
- package/{dist/cjs/z-combobox.cjs.entry.js → www/build/z-combobox.entry.js} +26 -28
- package/{dist/cjs/z-contextual-menu.cjs.entry.js → www/build/z-contextual-menu.entry.js} +7 -11
- package/{dist/cjs/z-cover-hero.cjs.entry.js → www/build/z-cover-hero.entry.js} +12 -16
- package/{dist/cjs/z-date-picker.cjs.entry.js → www/build/z-date-picker.entry.js} +41 -39
- package/{dist/cjs/z-divider.cjs.entry.js → www/build/z-divider.entry.js} +7 -11
- package/www/build/z-dragdrop-area.entry.js +33 -0
- package/{dist/cjs/z-file-upload.cjs.entry.js → www/build/z-file-upload.entry.js} +23 -27
- package/{dist/cjs/z-file.cjs.entry.js → www/build/z-file.entry.js} +9 -13
- package/{dist/cjs/z-ghost-loading.cjs.entry.js → www/build/z-ghost-loading.entry.js} +4 -8
- package/www/build/z-heading.entry.js +14 -0
- package/www/build/z-icon.entry.js +22 -0
- package/{dist/cjs/z-info-box.cjs.entry.js → www/build/z-info-box.entry.js} +5 -9
- package/{dist/cjs/z-info-reveal.cjs.entry.js → www/build/z-info-reveal.entry.js} +7 -11
- package/www/build/z-input-message.entry.js +20 -0
- package/www/build/z-input.entry.js +231 -0
- package/{dist/cjs/z-link.cjs.entry.js → www/build/z-link.entry.js} +8 -12
- package/www/build/z-list-element.entry.js +173 -0
- package/www/build/z-list-group.entry.js +56 -0
- package/www/build/z-list.entry.js +36 -0
- package/{dist/cjs/z-logo.cjs.entry.js → www/build/z-logo.entry.js} +4 -8
- package/{dist/cjs/z-menu-section.cjs.entry.js → www/build/z-menu-section.entry.js} +7 -11
- package/{dist/cjs/z-menu.cjs.entry.js → www/build/z-menu.entry.js} +10 -14
- package/{dist/cjs/z-messages-pocket.cjs.entry.js → www/build/z-messages-pocket.entry.js} +13 -17
- package/www/build/z-modal.entry.js +29 -0
- package/{dist/cjs/z-myz-card-alert.cjs.entry.js → www/build/z-myz-card-alert.entry.js} +8 -12
- package/www/build/z-myz-card-body.entry.js +15 -0
- package/www/build/z-myz-card-cover.entry.js +18 -0
- package/{dist/cjs/z-myz-card-dictionary.cjs.entry.js → www/build/z-myz-card-dictionary.entry.js} +6 -10
- package/{dist/cjs/z-myz-card-footer-sections.cjs.entry.js → www/build/z-myz-card-footer-sections.entry.js} +4 -8
- package/{dist/cjs/z-myz-card-footer.cjs.entry.js → www/build/z-myz-card-footer.entry.js} +8 -12
- package/www/build/z-myz-card-header.entry.js +36 -0
- package/{dist/cjs/z-myz-card-icon.cjs.entry.js → www/build/z-myz-card-icon.entry.js} +4 -8
- package/{dist/cjs/z-myz-card-info.cjs.entry.js → www/build/z-myz-card-info.entry.js} +19 -23
- package/{dist/cjs/z-myz-card-list.cjs.entry.js → www/build/z-myz-card-list.entry.js} +7 -11
- package/www/build/z-myz-card.entry.js +42 -0
- package/{dist/cjs/z-myz-list-item.cjs.entry.js → www/build/z-myz-list-item.entry.js} +9 -13
- package/{dist/cjs/z-myz-list.cjs.entry.js → www/build/z-myz-list.entry.js} +5 -9
- package/{dist/cjs/z-navigation-tab-link.cjs.entry.js → www/build/z-navigation-tab-link.entry.js} +12 -16
- package/{dist/cjs/z-navigation-tab.cjs.entry.js → www/build/z-navigation-tab.entry.js} +12 -16
- package/{dist/cjs/z-navigation-tabs.cjs.entry.js → www/build/z-navigation-tabs.entry.js} +13 -17
- package/{dist/cjs/z-notification.cjs.entry.js → www/build/z-notification.entry.js} +6 -10
- package/{dist/cjs/z-offcanvas.cjs.entry.js → www/build/z-offcanvas.entry.js} +12 -16
- package/{dist/cjs/z-otp.cjs.entry.js → www/build/z-otp.entry.js} +7 -11
- package/{dist/cjs/z-pagination.cjs.entry.js → www/build/z-pagination.entry.js} +19 -23
- package/www/build/z-panel-elem.entry.js +26 -0
- package/www/build/z-pocket-body.entry.js +23 -0
- package/www/build/z-pocket-header.entry.js +36 -0
- package/{dist/cjs/z-pocket-message.cjs.entry.js → www/build/z-pocket-message.entry.js} +4 -8
- package/www/build/z-pocket.entry.js +68 -0
- package/{dist/cjs/z-popover.cjs.entry.js → www/build/z-popover.entry.js} +29 -33
- package/{dist/cjs/z-range-picker.cjs.entry.js → www/build/z-range-picker.entry.js} +28 -32
- package/{dist/cjs/z-searchbar.cjs.entry.js → www/build/z-searchbar.entry.js} +23 -27
- package/{dist/cjs/z-section-title.cjs.entry.js → www/build/z-section-title.entry.js} +7 -11
- package/{dist/cjs/z-select.cjs.entry.js → www/build/z-select.entry.js} +25 -29
- package/{dist/cjs/z-skip-to-content.cjs.entry.js → www/build/z-skip-to-content.entry.js} +10 -14
- package/{dist/cjs/z-slideshow.cjs.entry.js → www/build/z-slideshow.entry.js} +19 -23
- package/{dist/cjs/z-stepper-item.cjs.entry.js → www/build/z-stepper-item.entry.js} +5 -9
- package/{dist/cjs/z-stepper.cjs.entry.js → www/build/z-stepper.entry.js} +4 -8
- package/{dist/cjs/z-table-body.cjs.entry.js → www/build/z-table-body.entry.js} +5 -9
- package/{dist/cjs/z-table-cell.cjs.entry.js → www/build/z-table-cell.entry.js} +9 -13
- package/{dist/cjs/z-table-empty-box.cjs.entry.js → www/build/z-table-empty-box.entry.js} +6 -10
- package/www/build/z-table-expanded-row.entry.js +15 -0
- package/{dist/cjs/z-table-footer.cjs.entry.js → www/build/z-table-footer.entry.js} +5 -9
- package/{dist/cjs/z-table-head.cjs.entry.js → www/build/z-table-head.entry.js} +5 -9
- package/{dist/cjs/z-table-header-row.cjs.entry.js → www/build/z-table-header-row.entry.js} +5 -9
- package/{dist/cjs/z-table-header.cjs.entry.js → www/build/z-table-header.entry.js} +22 -26
- package/{dist/cjs/z-table-row.cjs.entry.js → www/build/z-table-row.entry.js} +12 -16
- package/{dist/cjs/z-table-sticky-footer.cjs.entry.js → www/build/z-table-sticky-footer.entry.js} +4 -8
- package/{dist/cjs/z-table.cjs.entry.js → www/build/z-table.entry.js} +16 -20
- package/{dist/cjs/z-tag.cjs.entry.js → www/build/z-tag.entry.js} +5 -9
- package/{dist/cjs/z-toast-notification-list.cjs.entry.js → www/build/z-toast-notification-list.entry.js} +7 -11
- package/{dist/cjs/z-toast-notification.cjs.entry.js → www/build/z-toast-notification.entry.js} +30 -34
- package/{dist/cjs/z-toggle-button.cjs.entry.js → www/build/z-toggle-button.entry.js} +6 -10
- package/{dist/cjs/z-toggle-switch.cjs.entry.js → www/build/z-toggle-switch.entry.js} +12 -16
- package/{dist/cjs/z-tooltip.cjs.entry.js → www/build/z-tooltip.entry.js} +6 -10
- package/{dist/cjs/z-body_2.cjs.entry.js → www/build/z-typography.entry.js} +5 -21
- package/{dist/cjs/z-visually-hidden.cjs.entry.js → www/build/z-visually-hidden.entry.js} +4 -8
- package/www/index.html +10 -1
- package/dist/cjs/_commonjsHelpers-537d719a.js +0 -20
- package/dist/cjs/breakpoints-88c4fd6c.js +0 -7
- package/dist/cjs/index-fa110f37.js +0 -311
- package/dist/cjs/index.cjs.js +0 -295
- package/dist/cjs/loader.cjs.js +0 -21
- package/dist/cjs/utils-600bad93.js +0 -100
- package/dist/cjs/web-components-library.cjs.js +0 -19
- package/dist/cjs/z-app-header_2.cjs.entry.js +0 -153
- package/dist/cjs/z-aria-alert.cjs.entry.js +0 -19
- package/dist/cjs/z-dragdrop-area_3.cjs.entry.js +0 -76
- package/dist/cjs/z-input_2.cjs.entry.js +0 -253
- package/dist/cjs/z-list_3.cjs.entry.js +0 -261
- package/dist/cjs/z-myz-card_4.cjs.entry.js +0 -108
- package/dist/cjs/z-panel-elem.cjs.entry.js +0 -30
- package/dist/cjs/z-pocket_3.cjs.entry.js +0 -125
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +0 -19
- package/dist/collection/collection-manifest.json +0 -100
- package/dist/collection/components/buttons/z-button/index.js +0 -241
- package/dist/collection/components/buttons/z-button/styles.css +0 -149
- package/dist/collection/components/buttons/z-button-sort/index.js +0 -220
- package/dist/collection/components/buttons/z-button-sort/styles.css +0 -101
- package/dist/collection/components/buttons/z-chip/index.js +0 -133
- package/dist/collection/components/buttons/z-chip/styles.css +0 -131
- package/dist/collection/components/buttons/z-toggle-button/index.js +0 -126
- package/dist/collection/components/buttons/z-toggle-button/styles.css +0 -62
- package/dist/collection/components/buttons/z-toggle-switch/index.js +0 -144
- package/dist/collection/components/buttons/z-toggle-switch/styles.css +0 -104
- package/dist/collection/components/date-picker/styles.css +0 -565
- package/dist/collection/components/date-picker/utils.js +0 -76
- package/dist/collection/components/date-picker/z-date-picker/index.js +0 -295
- package/dist/collection/components/date-picker/z-range-picker/index.js +0 -499
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +0 -53
- package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +0 -51
- package/dist/collection/components/file-upload/z-file/index.js +0 -131
- package/dist/collection/components/file-upload/z-file/styles.css +0 -23
- package/dist/collection/components/file-upload/z-file-upload/index.js +0 -363
- package/dist/collection/components/file-upload/z-file-upload/styles.css +0 -84
- package/dist/collection/components/icons/icons.js +0 -747
- package/dist/collection/components/icons/z-icon/index.js +0 -114
- package/dist/collection/components/icons/z-icon/styles.css +0 -14
- package/dist/collection/components/index.js +0 -8
- package/dist/collection/components/indicators/z-stepper/index.js +0 -21
- package/dist/collection/components/indicators/z-stepper/styles.css +0 -19
- package/dist/collection/components/indicators/z-stepper-item/index.js +0 -93
- package/dist/collection/components/indicators/z-stepper-item/styles.css +0 -114
- package/dist/collection/components/inputs/z-combobox/index.js +0 -525
- package/dist/collection/components/inputs/z-combobox/styles.css +0 -142
- package/dist/collection/components/inputs/z-input/index.js +0 -731
- package/dist/collection/components/inputs/z-input/styles.css +0 -327
- package/dist/collection/components/inputs/z-input-message/index.js +0 -68
- package/dist/collection/components/inputs/z-input-message/styles.css +0 -33
- package/dist/collection/components/inputs/z-searchbar/index.js +0 -516
- package/dist/collection/components/inputs/z-searchbar/styles.css +0 -211
- package/dist/collection/components/inputs/z-select/index.js +0 -633
- package/dist/collection/components/inputs/z-select/styles.css +0 -88
- package/dist/collection/components/list/z-list/index.js +0 -91
- package/dist/collection/components/list/z-list/styles.css +0 -6
- package/dist/collection/components/list/z-list-element/index.js +0 -508
- package/dist/collection/components/list/z-list-element/styles.css +0 -121
- package/dist/collection/components/list/z-list-group/index.js +0 -175
- package/dist/collection/components/list/z-list-group/styles.css +0 -21
- package/dist/collection/components/list/z-toast-notification-list/index.js +0 -105
- package/dist/collection/components/list/z-toast-notification-list/styles.css +0 -100
- package/dist/collection/components/logo/z-logo/index.js +0 -131
- package/dist/collection/components/logo/z-logo/styles.css +0 -29
- package/dist/collection/components/modal/z-modal/index.js +0 -156
- package/dist/collection/components/modal/z-modal/styles.css +0 -179
- package/dist/collection/components/navigation/tabs/navigation-tab.css +0 -136
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +0 -242
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +0 -264
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +0 -200
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/styles.css +0 -104
- package/dist/collection/components/navigation/z-app-header/index.js +0 -306
- package/dist/collection/components/navigation/z-app-header/styles.css +0 -420
- package/dist/collection/components/navigation/z-app-switcher/index.js +0 -79
- package/dist/collection/components/navigation/z-app-switcher/styles.css +0 -23
- package/dist/collection/components/navigation/z-link/index.js +0 -317
- package/dist/collection/components/navigation/z-link/styles.css +0 -167
- package/dist/collection/components/navigation/z-menu/index.js +0 -225
- package/dist/collection/components/navigation/z-menu/styles.css +0 -146
- package/dist/collection/components/navigation/z-menu-section/index.js +0 -116
- package/dist/collection/components/navigation/z-menu-section/styles.css +0 -91
- package/dist/collection/components/notification/z-info-box/index.js +0 -85
- package/dist/collection/components/notification/z-info-box/styles.css +0 -23
- package/dist/collection/components/notification/z-notification/index.js +0 -195
- package/dist/collection/components/notification/z-notification/styles.css +0 -114
- package/dist/collection/components/notification/z-toast-notification/index.js +0 -399
- package/dist/collection/components/notification/z-toast-notification/styles.css +0 -254
- package/dist/collection/components/notification/z-tooltip/index.js +0 -133
- package/dist/collection/components/notification/z-tooltip/styles.css +0 -16
- package/dist/collection/components/panel/z-panel-elem/index.js +0 -193
- package/dist/collection/components/panel/z-panel-elem/styles.css +0 -39
- package/dist/collection/components/typography/z-body/index.js +0 -68
- package/dist/collection/components/typography/z-heading/index.js +0 -68
- package/dist/collection/components/typography/z-typography/index.js +0 -91
- package/dist/collection/components/typography/z-typography/styles.css +0 -65
- package/dist/collection/components/z-anchor-navigation/index.js +0 -95
- package/dist/collection/components/z-anchor-navigation/styles.css +0 -129
- package/dist/collection/components/z-aria-alert/index.js +0 -39
- package/dist/collection/components/z-avatar/index.js +0 -142
- package/dist/collection/components/z-avatar/styles.css +0 -32
- package/dist/collection/components/z-card/index.js +0 -177
- package/dist/collection/components/z-card/styles.css +0 -206
- package/dist/collection/components/z-carousel/index.js +0 -300
- package/dist/collection/components/z-carousel/styles.css +0 -129
- package/dist/collection/components/z-contextual-menu/index.js +0 -126
- package/dist/collection/components/z-contextual-menu/styles.css +0 -60
- package/dist/collection/components/z-cover-hero/index.js +0 -103
- package/dist/collection/components/z-cover-hero/styles.css +0 -78
- package/dist/collection/components/z-divider/index.js +0 -95
- package/dist/collection/components/z-divider/styles.css +0 -37
- package/dist/collection/components/z-ghost-loading/index.js +0 -18
- package/dist/collection/components/z-ghost-loading/styles.css +0 -34
- package/dist/collection/components/z-info-reveal/index.js +0 -147
- package/dist/collection/components/z-info-reveal/styles.css +0 -103
- package/dist/collection/components/z-offcanvas/index.js +0 -162
- package/dist/collection/components/z-offcanvas/styles.css +0 -191
- package/dist/collection/components/z-pagination/index.js +0 -435
- package/dist/collection/components/z-pagination/styles.css +0 -199
- package/dist/collection/components/z-popover/index.js +0 -512
- package/dist/collection/components/z-popover/styles.css +0 -147
- package/dist/collection/components/z-section-title/index.js +0 -88
- package/dist/collection/components/z-section-title/styles.css +0 -44
- package/dist/collection/components/z-skip-to-content/index.js +0 -139
- package/dist/collection/components/z-skip-to-content/styles.css +0 -80
- package/dist/collection/components/z-table/z-table/index.js +0 -352
- package/dist/collection/components/z-table/z-table/styles.css +0 -115
- package/dist/collection/components/z-table/z-table-body/index.js +0 -23
- package/dist/collection/components/z-table/z-table-body/styles.css +0 -9
- package/dist/collection/components/z-table/z-table-cell/index.js +0 -86
- package/dist/collection/components/z-table/z-table-cell/styles.css +0 -58
- package/dist/collection/components/z-table/z-table-empty-box/index.js +0 -72
- package/dist/collection/components/z-table/z-table-empty-box/styles.css +0 -38
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +0 -39
- package/dist/collection/components/z-table/z-table-expanded-row/styles.css +0 -9
- package/dist/collection/components/z-table/z-table-footer/index.js +0 -22
- package/dist/collection/components/z-table/z-table-footer/styles.css +0 -5
- package/dist/collection/components/z-table/z-table-head/index.js +0 -22
- package/dist/collection/components/z-table/z-table-head/styles.css +0 -5
- package/dist/collection/components/z-table/z-table-header/index.js +0 -238
- package/dist/collection/components/z-table/z-table-header/styles.css +0 -71
- package/dist/collection/components/z-table/z-table-header-row/index.js +0 -41
- package/dist/collection/components/z-table/z-table-header-row/styles.css +0 -13
- package/dist/collection/components/z-table/z-table-row/index.js +0 -92
- package/dist/collection/components/z-table/z-table-row/styles.css +0 -45
- package/dist/collection/components/z-table/z-table-sticky-footer/index.js +0 -21
- package/dist/collection/components/z-table/z-table-sticky-footer/styles.css +0 -11
- package/dist/collection/components/z-tag/index.js +0 -65
- package/dist/collection/components/z-tag/styles.css +0 -46
- package/dist/collection/components/z-visually-hidden/index.js +0 -18
- package/dist/collection/components/z-visually-hidden/styles.css +0 -12
- package/dist/collection/constants/icons.js +0 -6
- package/dist/collection/index.js +0 -7
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +0 -129
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +0 -44
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +0 -151
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +0 -62
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +0 -22
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +0 -13
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +0 -93
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +0 -11
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +0 -177
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +0 -72
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +0 -207
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +0 -182
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +0 -22
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +0 -20
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +0 -109
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +0 -47
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +0 -81
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +0 -69
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +0 -199
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +0 -93
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +0 -60
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +0 -41
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +0 -78
- package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +0 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +0 -192
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +0 -47
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +0 -120
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +0 -102
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +0 -191
- package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +0 -44
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +0 -84
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +0 -41
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +0 -93
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +0 -27
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +0 -22
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +0 -44
- package/dist/collection/snowflakes/myz/z-alert/index.js +0 -47
- package/dist/collection/snowflakes/myz/z-alert/styles.css +0 -28
- package/dist/collection/snowflakes/myz/z-otp/index.js +0 -120
- package/dist/collection/snowflakes/myz/z-otp/styles.css +0 -47
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +0 -180
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +0 -127
- package/dist/collection/utils/storybook-utils.js +0 -51
- package/dist/esm/_commonjsHelpers-9943807e.js +0 -17
- package/dist/esm/index.js +0 -9
- package/dist/esm/loader.js +0 -17
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/web-components-library.js +0 -17
- package/dist/esm/z-app-header_2.entry.js +0 -148
- package/dist/esm/z-input_2.entry.js +0 -248
- package/dist/esm/z-list_3.entry.js +0 -255
- package/dist/esm/z-myz-card_4.entry.js +0 -101
- package/dist/esm/z-pocket_3.entry.js +0 -119
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/web-components-library/p-009c9f67.entry.js +0 -1
- package/dist/web-components-library/p-01f001fd.entry.js +0 -1
- package/dist/web-components-library/p-05ced71c.entry.js +0 -1
- package/dist/web-components-library/p-074ea569.entry.js +0 -1
- package/dist/web-components-library/p-07e18572.entry.js +0 -1
- package/dist/web-components-library/p-0843b0e7.entry.js +0 -1
- package/dist/web-components-library/p-0fa4b50b.entry.js +0 -1
- package/dist/web-components-library/p-112455b1.js +0 -1
- package/dist/web-components-library/p-1d66b265.entry.js +0 -1
- package/dist/web-components-library/p-214b6cee.entry.js +0 -1
- package/dist/web-components-library/p-26033729.entry.js +0 -1
- package/dist/web-components-library/p-26f834e5.entry.js +0 -1
- package/dist/web-components-library/p-2acd6a51.entry.js +0 -1
- package/dist/web-components-library/p-2d1b6c3c.entry.js +0 -1
- package/dist/web-components-library/p-2efedcf4.entry.js +0 -1
- package/dist/web-components-library/p-32509af7.entry.js +0 -1
- package/dist/web-components-library/p-33352f9e.entry.js +0 -1
- package/dist/web-components-library/p-344e7ae7.entry.js +0 -1
- package/dist/web-components-library/p-34c26207.entry.js +0 -1
- package/dist/web-components-library/p-37e050bd.entry.js +0 -1
- package/dist/web-components-library/p-38a3cf3b.entry.js +0 -1
- package/dist/web-components-library/p-3a468aa9.entry.js +0 -1
- package/dist/web-components-library/p-3be171d0.entry.js +0 -1
- package/dist/web-components-library/p-3eb60c95.entry.js +0 -1
- package/dist/web-components-library/p-3f55dce6.entry.js +0 -1
- package/dist/web-components-library/p-4423b00c.entry.js +0 -1
- package/dist/web-components-library/p-475ca461.entry.js +0 -1
- package/dist/web-components-library/p-51e308ca.entry.js +0 -1
- package/dist/web-components-library/p-53065788.entry.js +0 -1
- package/dist/web-components-library/p-540c7d73.entry.js +0 -1
- package/dist/web-components-library/p-5624a127.entry.js +0 -1
- package/dist/web-components-library/p-56d2b76d.entry.js +0 -1
- package/dist/web-components-library/p-59cfee8d.entry.js +0 -1
- package/dist/web-components-library/p-5c62387a.entry.js +0 -1
- package/dist/web-components-library/p-5dd9a2c6.entry.js +0 -1
- package/dist/web-components-library/p-61424b8a.entry.js +0 -1
- package/dist/web-components-library/p-6289c4bd.entry.js +0 -1
- package/dist/web-components-library/p-6b1a5309.entry.js +0 -1
- package/dist/web-components-library/p-6c163539.entry.js +0 -1
- package/dist/web-components-library/p-735bdfa3.entry.js +0 -1
- package/dist/web-components-library/p-73c91de3.entry.js +0 -1
- package/dist/web-components-library/p-7b3b99ee.entry.js +0 -1
- package/dist/web-components-library/p-7ea553e9.entry.js +0 -1
- package/dist/web-components-library/p-810bd730.entry.js +0 -1
- package/dist/web-components-library/p-8b15b30c.entry.js +0 -1
- package/dist/web-components-library/p-8c105bd1.entry.js +0 -1
- package/dist/web-components-library/p-8ebe4adf.js +0 -1
- package/dist/web-components-library/p-91a74348.entry.js +0 -1
- package/dist/web-components-library/p-93142fac.entry.js +0 -1
- package/dist/web-components-library/p-95b8f109.entry.js +0 -1
- package/dist/web-components-library/p-9c28b8fc.entry.js +0 -1
- package/dist/web-components-library/p-9c338aeb.entry.js +0 -1
- package/dist/web-components-library/p-9d03a7d6.entry.js +0 -1
- package/dist/web-components-library/p-9d57a84c.entry.js +0 -1
- package/dist/web-components-library/p-9f543b6a.entry.js +0 -1
- package/dist/web-components-library/p-a05ce0a6.entry.js +0 -1
- package/dist/web-components-library/p-a0e2715e.entry.js +0 -1
- package/dist/web-components-library/p-a23e9115.js +0 -1
- package/dist/web-components-library/p-a6c0f149.entry.js +0 -1
- package/dist/web-components-library/p-a79d1412.entry.js +0 -1
- package/dist/web-components-library/p-a82ea410.entry.js +0 -1
- package/dist/web-components-library/p-ae6197f4.entry.js +0 -1
- package/dist/web-components-library/p-ae79573a.entry.js +0 -1
- package/dist/web-components-library/p-af4d1987.entry.js +0 -1
- package/dist/web-components-library/p-b33f5e6a.entry.js +0 -1
- package/dist/web-components-library/p-b3c29822.js +0 -1
- package/dist/web-components-library/p-b6f36170.entry.js +0 -16
- package/dist/web-components-library/p-bb0fe7bc.entry.js +0 -1
- package/dist/web-components-library/p-bdefe224.entry.js +0 -1
- package/dist/web-components-library/p-beba3e67.entry.js +0 -1
- package/dist/web-components-library/p-c4417a91.entry.js +0 -1
- package/dist/web-components-library/p-ce83ce18.entry.js +0 -1
- package/dist/web-components-library/p-d17ebc2f.js +0 -2
- package/dist/web-components-library/p-d2127d84.entry.js +0 -1
- package/dist/web-components-library/p-d69e14fb.js +0 -1
- package/dist/web-components-library/p-de55c171.entry.js +0 -1
- package/dist/web-components-library/p-e40b16fa.entry.js +0 -1
- package/dist/web-components-library/p-e43e61ac.js +0 -7
- package/dist/web-components-library/p-eaa4eba8.entry.js +0 -1
- package/dist/web-components-library/p-ede9fbf5.entry.js +0 -1
- package/dist/web-components-library/p-f0653e72.entry.js +0 -1
- package/dist/web-components-library/p-f158d205.entry.js +0 -1
- package/dist/web-components-library/p-f425f188.js +0 -1
- package/dist/web-components-library/p-f54f63e1.entry.js +0 -1
- package/dist/web-components-library/p-f95cc914.entry.js +0 -1
- package/www/build/p-009c9f67.entry.js +0 -1
- package/www/build/p-01f001fd.entry.js +0 -1
- package/www/build/p-05ced71c.entry.js +0 -1
- package/www/build/p-074ea569.entry.js +0 -1
- package/www/build/p-07e18572.entry.js +0 -1
- package/www/build/p-0843b0e7.entry.js +0 -1
- package/www/build/p-0fa4b50b.entry.js +0 -1
- package/www/build/p-112455b1.js +0 -1
- package/www/build/p-1d66b265.entry.js +0 -1
- package/www/build/p-214b6cee.entry.js +0 -1
- package/www/build/p-26033729.entry.js +0 -1
- package/www/build/p-26f834e5.entry.js +0 -1
- package/www/build/p-275801c6.css +0 -1
- package/www/build/p-2acd6a51.entry.js +0 -1
- package/www/build/p-2d1b6c3c.entry.js +0 -1
- package/www/build/p-2efedcf4.entry.js +0 -1
- package/www/build/p-32509af7.entry.js +0 -1
- package/www/build/p-33352f9e.entry.js +0 -1
- package/www/build/p-344e7ae7.entry.js +0 -1
- package/www/build/p-34c26207.entry.js +0 -1
- package/www/build/p-35ae6f4d.js +0 -1
- package/www/build/p-37e050bd.entry.js +0 -1
- package/www/build/p-38a3cf3b.entry.js +0 -1
- package/www/build/p-3a468aa9.entry.js +0 -1
- package/www/build/p-3be171d0.entry.js +0 -1
- package/www/build/p-3eb60c95.entry.js +0 -1
- package/www/build/p-3f55dce6.entry.js +0 -1
- package/www/build/p-4423b00c.entry.js +0 -1
- package/www/build/p-475ca461.entry.js +0 -1
- package/www/build/p-51e308ca.entry.js +0 -1
- package/www/build/p-53065788.entry.js +0 -1
- package/www/build/p-540c7d73.entry.js +0 -1
- package/www/build/p-5624a127.entry.js +0 -1
- package/www/build/p-56d2b76d.entry.js +0 -1
- package/www/build/p-59cfee8d.entry.js +0 -1
- package/www/build/p-5c62387a.entry.js +0 -1
- package/www/build/p-5dd9a2c6.entry.js +0 -1
- package/www/build/p-61424b8a.entry.js +0 -1
- package/www/build/p-6289c4bd.entry.js +0 -1
- package/www/build/p-6b1a5309.entry.js +0 -1
- package/www/build/p-6c163539.entry.js +0 -1
- package/www/build/p-735bdfa3.entry.js +0 -1
- package/www/build/p-73c91de3.entry.js +0 -1
- package/www/build/p-7b3b99ee.entry.js +0 -1
- package/www/build/p-7ea553e9.entry.js +0 -1
- package/www/build/p-810bd730.entry.js +0 -1
- package/www/build/p-8b15b30c.entry.js +0 -1
- package/www/build/p-8c105bd1.entry.js +0 -1
- package/www/build/p-8ebe4adf.js +0 -1
- package/www/build/p-91a74348.entry.js +0 -1
- package/www/build/p-93142fac.entry.js +0 -1
- package/www/build/p-95b8f109.entry.js +0 -1
- package/www/build/p-9c28b8fc.entry.js +0 -1
- package/www/build/p-9c338aeb.entry.js +0 -1
- package/www/build/p-9d03a7d6.entry.js +0 -1
- package/www/build/p-9d57a84c.entry.js +0 -1
- package/www/build/p-9f543b6a.entry.js +0 -1
- package/www/build/p-a05ce0a6.entry.js +0 -1
- package/www/build/p-a0e2715e.entry.js +0 -1
- package/www/build/p-a23e9115.js +0 -1
- package/www/build/p-a6c0f149.entry.js +0 -1
- package/www/build/p-a79d1412.entry.js +0 -1
- package/www/build/p-a82ea410.entry.js +0 -1
- package/www/build/p-ae6197f4.entry.js +0 -1
- package/www/build/p-ae79573a.entry.js +0 -1
- package/www/build/p-af4d1987.entry.js +0 -1
- package/www/build/p-b33f5e6a.entry.js +0 -1
- package/www/build/p-b3c29822.js +0 -1
- package/www/build/p-b6f36170.entry.js +0 -16
- package/www/build/p-bb0fe7bc.entry.js +0 -1
- package/www/build/p-bdefe224.entry.js +0 -1
- package/www/build/p-beba3e67.entry.js +0 -1
- package/www/build/p-c4417a91.entry.js +0 -1
- package/www/build/p-ce83ce18.entry.js +0 -1
- package/www/build/p-d17ebc2f.js +0 -2
- package/www/build/p-d2127d84.entry.js +0 -1
- package/www/build/p-d69e14fb.js +0 -1
- package/www/build/p-de55c171.entry.js +0 -1
- package/www/build/p-e40b16fa.entry.js +0 -1
- package/www/build/p-e43e61ac.js +0 -7
- package/www/build/p-eaa4eba8.entry.js +0 -1
- package/www/build/p-ede9fbf5.entry.js +0 -1
- package/www/build/p-f0653e72.entry.js +0 -1
- package/www/build/p-f158d205.entry.js +0 -1
- package/www/build/p-f425f188.js +0 -1
- package/www/build/p-f54f63e1.entry.js +0 -1
- package/www/build/p-f95cc914.entry.js +0 -1
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import { r as registerInstance, f as createEvent, h, g as getElement } from './index-291c96fb.js';
|
|
2
|
+
import { f as flatpickr, i as it, s as setAriaOptions, a as setFlatpickrPosition, v as validateDate } from './utils-d783f6be.js';
|
|
3
|
+
import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-8fe71198.js';
|
|
4
|
+
import { y as ZDatePickerMode, F as ZDatePickerPosition, I as InputType } from './index-968a240f.js';
|
|
2
5
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const utils = require('./utils-8bc9056f.js');
|
|
7
|
-
const _commonjsHelpers = require('./_commonjsHelpers-537d719a.js');
|
|
8
|
-
const index$1 = require('./index-fa110f37.js');
|
|
9
|
-
|
|
10
|
-
var monthSelect = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
6
|
+
var monthSelect = createCommonjsModule(function (module, exports) {
|
|
11
7
|
(function (global, factory) {
|
|
12
|
-
module.exports = factory()
|
|
13
|
-
|
|
8
|
+
'object' === 'object' && 'object' !== 'undefined' ? module.exports = factory() :
|
|
9
|
+
typeof undefined === 'function' && undefined.amd ? undefined(factory) :
|
|
10
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.monthSelectPlugin = factory());
|
|
11
|
+
}(commonjsGlobal, (function () { 'use strict';
|
|
12
|
+
|
|
14
13
|
/*! *****************************************************************************
|
|
15
14
|
Copyright (c) Microsoft Corporation.
|
|
16
15
|
|
|
@@ -312,13 +311,13 @@ const stylesCss = ".flatpickr-calendar{background:transparent;opacity:0;display:
|
|
|
312
311
|
|
|
313
312
|
const ZDatePicker = class {
|
|
314
313
|
constructor(hostRef) {
|
|
315
|
-
|
|
316
|
-
this.dateSelect =
|
|
314
|
+
registerInstance(this, hostRef);
|
|
315
|
+
this.dateSelect = createEvent(this, "dateSelect", 7);
|
|
317
316
|
/** z-input aria label */
|
|
318
317
|
this.ariaLabel = "";
|
|
319
318
|
/** [Optional] datepicker mode: date, datetime, only months */
|
|
320
|
-
this.mode =
|
|
321
|
-
this.flatpickrPosition =
|
|
319
|
+
this.mode = ZDatePickerMode.DATE;
|
|
320
|
+
this.flatpickrPosition = ZDatePickerPosition.BOTTOM;
|
|
322
321
|
this.inputError = false;
|
|
323
322
|
}
|
|
324
323
|
emitDateSelect(date) {
|
|
@@ -337,12 +336,15 @@ const ZDatePicker = class {
|
|
|
337
336
|
(_c = this.picker) === null || _c === void 0 ? void 0 : _c.setDate([]);
|
|
338
337
|
this.dateSelect.emit(null);
|
|
339
338
|
}
|
|
340
|
-
document.activeElement.classList.contains("flatpickr-day");
|
|
339
|
+
const flatpickrDayPressed = document.activeElement.classList.contains("flatpickr-day");
|
|
340
|
+
if (flatpickrDayPressed) {
|
|
341
|
+
//Sistemare il toggle
|
|
342
|
+
}
|
|
341
343
|
const isPrevArrowEntered = document.activeElement.classList.contains("flatpickr-prev-month");
|
|
342
344
|
const isNextArrowEntered = document.activeElement.classList.contains("flatpickr-next-month");
|
|
343
345
|
const arrowPressed = isPrevArrowEntered || isNextArrowEntered;
|
|
344
346
|
arrowPressed && ev.key === " " && ev.preventDefault();
|
|
345
|
-
if (this.mode ===
|
|
347
|
+
if (this.mode === ZDatePickerMode.MONTHS) {
|
|
346
348
|
isPrevArrowEntered && ((_d = this.picker) === null || _d === void 0 ? void 0 : _d.changeYear(this.picker.currentYear - 1));
|
|
347
349
|
isNextArrowEntered && ((_e = this.picker) === null || _e === void 0 ? void 0 : _e.changeYear(this.picker.currentYear + 1));
|
|
348
350
|
if (arrowPressed) {
|
|
@@ -385,13 +387,13 @@ const ZDatePicker = class {
|
|
|
385
387
|
}
|
|
386
388
|
setupPickers() {
|
|
387
389
|
const classToAppend = this.hasChildren ? `${this.datePickerId}-hidden` : `${this.datePickerId}-container`;
|
|
388
|
-
this.picker =
|
|
390
|
+
this.picker = flatpickr(`.${classToAppend}`, {
|
|
389
391
|
appendTo: this.element.children[0],
|
|
390
|
-
enableTime: this.mode ===
|
|
391
|
-
locale:
|
|
392
|
+
enableTime: this.mode === ZDatePickerMode.DATE_TIME,
|
|
393
|
+
locale: it.Italian,
|
|
392
394
|
allowInput: true,
|
|
393
|
-
dateFormat: this.mode ===
|
|
394
|
-
ariaDateFormat: this.mode ===
|
|
395
|
+
dateFormat: this.mode === ZDatePickerMode.DATE_TIME ? "d-m-Y - H:i" : "d-m-Y",
|
|
396
|
+
ariaDateFormat: this.mode === ZDatePickerMode.MONTHS ? "F Y" : "d F Y",
|
|
395
397
|
minuteIncrement: 1,
|
|
396
398
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
397
399
|
time_24hr: true,
|
|
@@ -399,14 +401,14 @@ const ZDatePicker = class {
|
|
|
399
401
|
this.emitDateSelect(dateStr);
|
|
400
402
|
},
|
|
401
403
|
onOpen: () => {
|
|
402
|
-
|
|
403
|
-
this.flatpickrPosition =
|
|
404
|
+
setAriaOptions(this.element, this.mode);
|
|
405
|
+
this.flatpickrPosition = setFlatpickrPosition(this.element, this.mode);
|
|
404
406
|
},
|
|
405
407
|
onKeyDown: () => {
|
|
406
|
-
|
|
408
|
+
setAriaOptions(this.element, this.mode);
|
|
407
409
|
},
|
|
408
410
|
wrap: true,
|
|
409
|
-
plugins: this.mode ===
|
|
411
|
+
plugins: this.mode === ZDatePickerMode.MONTHS && [
|
|
410
412
|
monthSelect({
|
|
411
413
|
dateFormat: "m-Y",
|
|
412
414
|
altFormat: "m-Y",
|
|
@@ -418,23 +420,23 @@ const ZDatePicker = class {
|
|
|
418
420
|
});
|
|
419
421
|
}
|
|
420
422
|
formatDate(date) {
|
|
421
|
-
if (this.mode ===
|
|
422
|
-
return `${
|
|
423
|
+
if (this.mode === ZDatePickerMode.DATE) {
|
|
424
|
+
return `${flatpickr.formatDate(date, "d-m-Y")}`;
|
|
423
425
|
}
|
|
424
|
-
else if (this.mode ===
|
|
425
|
-
return `${
|
|
426
|
+
else if (this.mode === ZDatePickerMode.MONTHS) {
|
|
427
|
+
return `${flatpickr.formatDate(date, "m-Y")}`;
|
|
426
428
|
}
|
|
427
|
-
return `${
|
|
429
|
+
return `${flatpickr.formatDate(date, "d-m-Y - H:i")}`;
|
|
428
430
|
}
|
|
429
431
|
onStopTyping(value) {
|
|
430
432
|
let text = value.detail.value;
|
|
431
|
-
if (this.mode ===
|
|
433
|
+
if (this.mode === ZDatePickerMode.MONTHS) {
|
|
432
434
|
text = "01-".concat(value.detail.value);
|
|
433
435
|
}
|
|
434
436
|
const englishData = text.split("-");
|
|
435
|
-
const time = this.mode ===
|
|
437
|
+
const time = this.mode === ZDatePickerMode.DATE_TIME ? `T${englishData[3]}:00` : "";
|
|
436
438
|
const englishParsedData = `${englishData[2]}-${englishData[1]}-${englishData[0]}${time}`.split(" ").join("");
|
|
437
|
-
const isValidDate =
|
|
439
|
+
const isValidDate = validateDate(englishParsedData, this.mode === ZDatePickerMode.DATE_TIME);
|
|
438
440
|
if (text === "") {
|
|
439
441
|
this.inputError = false;
|
|
440
442
|
this.picker.setDate([]);
|
|
@@ -451,27 +453,27 @@ const ZDatePicker = class {
|
|
|
451
453
|
}
|
|
452
454
|
}
|
|
453
455
|
renderSlottedContent() {
|
|
454
|
-
return (
|
|
456
|
+
return (h("div", { class: `${this.datePickerId}-hidden` }, h("input", { class: "hidden-input", "data-input": true }), h("slot", { name: "toggle" })));
|
|
455
457
|
}
|
|
456
458
|
renderZInput() {
|
|
457
|
-
return (
|
|
459
|
+
return (h("div", { class: `${this.datePickerId}-container` }, h("z-input", { "data-input": "data-input", ariaLabel: this.ariaLabel, label: this.label, class: this.datePickerId, type: InputType.TEXT, icon: "event", message: false, tabindex: "0", value: "", onStopTyping: (value) => {
|
|
458
460
|
this.onStopTyping(value);
|
|
459
461
|
}, onStartTyping: () => {
|
|
460
462
|
this.inputError = false;
|
|
461
463
|
} })));
|
|
462
464
|
}
|
|
463
465
|
render() {
|
|
464
|
-
return (
|
|
466
|
+
return (h("div", { class: {
|
|
465
467
|
"flatpickr-toggle-container": true,
|
|
466
468
|
[this.flatpickrPosition]: true,
|
|
467
469
|
[this.mode]: true,
|
|
468
470
|
} }, this.hasChildren ? this.renderSlottedContent() : this.renderZInput()));
|
|
469
471
|
}
|
|
470
|
-
get element() { return
|
|
472
|
+
get element() { return getElement(this); }
|
|
471
473
|
static get watchers() { return {
|
|
472
474
|
"mode": ["setupPickers"]
|
|
473
475
|
}; }
|
|
474
476
|
};
|
|
475
477
|
ZDatePicker.style = stylesCss;
|
|
476
478
|
|
|
477
|
-
|
|
479
|
+
export { ZDatePicker as z_date_picker };
|
|
@@ -1,26 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-fa110f37.js');
|
|
1
|
+
import { r as registerInstance, h, e as Host } from './index-291c96fb.js';
|
|
2
|
+
import { D as DividerSize, f as DividerOrientation } from './index-968a240f.js';
|
|
7
3
|
|
|
8
4
|
const stylesCss = ".sc-z-divider-h{display:block;padding:0;margin:0}.divider-horizontal.sc-z-divider-h{width:100%}.divider-vertical.sc-z-divider-h{height:100%}.divider-small.divider-horizontal.sc-z-divider-h{height:var(--border-size-small)}.divider-medium.divider-horizontal.sc-z-divider-h{height:var(--border-size-medium)}.divider-large.divider-horizontal.sc-z-divider-h{height:var(--border-size-large)}.divider-small.divider-vertical.sc-z-divider-h{width:var(--border-size-small)}.divider-medium.divider-vertical.sc-z-divider-h{width:var(--border-size-medium)}.divider-large.divider-vertical.sc-z-divider-h{width:var(--border-size-large)}";
|
|
9
5
|
|
|
10
6
|
const ZDivider = class {
|
|
11
7
|
constructor(hostRef) {
|
|
12
|
-
|
|
8
|
+
registerInstance(this, hostRef);
|
|
13
9
|
/** [optional] Divider size */
|
|
14
|
-
this.size =
|
|
10
|
+
this.size = DividerSize.SMALL;
|
|
15
11
|
/** [optional] Divider color */
|
|
16
12
|
this.color = "gray200";
|
|
17
13
|
/** [optional] Divider orintation */
|
|
18
|
-
this.orientation =
|
|
14
|
+
this.orientation = DividerOrientation.HORIZONTAL;
|
|
19
15
|
}
|
|
20
16
|
render() {
|
|
21
|
-
return (
|
|
17
|
+
return (h(Host, { class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
|
|
22
18
|
}
|
|
23
19
|
};
|
|
24
20
|
ZDivider.style = stylesCss;
|
|
25
21
|
|
|
26
|
-
|
|
22
|
+
export { ZDivider as z_divider };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { r as registerInstance, f as createEvent, h } from './index-291c96fb.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host{margin-top:calc(var(--space-unit) * 3);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.dragdrop{position:relative;display:flex;height:228px;flex-direction:column;border-color:var(--color-surface04);background-color:var(--color-surface02);background-image:url(\"data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='2' ry='2' stroke='%23CACCCEFF' stroke-width='2' stroke-dasharray='15%2c 10%2c 14%2c 11' stroke-dashoffset='3' stroke-linecap='square'/%3e%3c/svg%3e\");border-radius:2px;color:var(--color-text01)}:host>.dragdrop.dragover *{pointer-events:none}:host>.dragdrop .dragover-container{position:absolute;z-index:10;top:0;left:0;display:none;width:100%;height:100%;background-color:var(--color-primary03);box-shadow:var(--shadow-focus-primary)}:host>.dragdrop .dragover-container .dragover-message{padding:10px 28px;background-color:var(--color-link-primary);color:var(--color-text04)}:host>.dragdrop.dragover .dragover-container{display:flex;align-items:center;justify-content:center}";
|
|
4
|
+
|
|
5
|
+
const ZDragdropArea = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.fileDropped = createEvent(this, "fileDropped", 7);
|
|
9
|
+
}
|
|
10
|
+
fileDroppedHandler(files) {
|
|
11
|
+
this.fileDropped.emit(files);
|
|
12
|
+
}
|
|
13
|
+
renderOnDragOverMessage() {
|
|
14
|
+
return (h("div", { class: "dragover-container" }, h("div", { class: "dragover-message" }, h("z-body", { variant: "semibold", level: 2 }, "Rilascia i file in questa area per allegarli."))));
|
|
15
|
+
}
|
|
16
|
+
render() {
|
|
17
|
+
return (h("div", { tabIndex: 0, ref: (val) => (this.dragDropContainer = val), class: "dragdrop", onDragOver: (e) => {
|
|
18
|
+
e.preventDefault();
|
|
19
|
+
this.dragDropContainer.classList.add("dragover");
|
|
20
|
+
}, onDragLeave: () => {
|
|
21
|
+
this.dragDropContainer.classList.remove("dragover");
|
|
22
|
+
}, onDrop: (e) => {
|
|
23
|
+
e.preventDefault();
|
|
24
|
+
if (e.dataTransfer.files.length) {
|
|
25
|
+
this.dragDropContainer.classList.remove("dragover");
|
|
26
|
+
this.fileDroppedHandler(e.dataTransfer.files);
|
|
27
|
+
}
|
|
28
|
+
} }, this.renderOnDragOverMessage(), h("slot", null)));
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
ZDragdropArea.style = stylesCss;
|
|
32
|
+
|
|
33
|
+
export { ZDragdropArea as z_dragdrop_area };
|
|
@@ -1,20 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-fa110f37.js');
|
|
7
|
-
const utils = require('./utils-600bad93.js');
|
|
8
|
-
require('./breakpoints-88c4fd6c.js');
|
|
1
|
+
import { r as registerInstance, f as createEvent, h, e as Host, g as getElement } from './index-291c96fb.js';
|
|
2
|
+
import { v as ZFileUploadType, o as Device, D as DividerSize } from './index-968a240f.js';
|
|
3
|
+
import { g as getDevice } from './utils-b96780be.js';
|
|
4
|
+
import './breakpoints-c386984e.js';
|
|
9
5
|
|
|
10
6
|
const stylesCss = ":host{color:var(--color-text01);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.container{display:flex;flex-direction:column}:host .modal-wrapper{display:flex;align-items:center;justify-content:center}:host .modal-wrapper>.files-wrapper{display:flex;flex-direction:column;margin:calc(var(--space-unit) * 4);gap:var(--space-unit)}:host .text-container{display:flex;flex-direction:column;margin:auto}:host .text-container z-body{text-align:center}:host .text-container .upload-link{color:var(--color-link-primary);cursor:pointer}:host .text-container .upload-link-text{margin-bottom:var(--space-unit)}input#file-elem{display:none}#title{display:inline-block;margin-bottom:var(--space-unit)}:host>.container>z-button{display:inline-block;margin-top:calc(var(--space-unit) * 3)}:host>.container>.files-container.hidden{display:none}:host>.container>.files-container>z-heading{display:inline-block;margin:calc(var(--space-unit) * 3) 0}:host>.container>.files-container>.files-wrapper{display:flex;flex-wrap:wrap;column-gap:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}:host>.container>.files-container>z-divider{margin-top:calc(var(--space-unit) * 3);margin-bottom:0}@media only screen and (min-width: 768px){:host>.container>z-button{align-self:flex-start}}";
|
|
11
7
|
|
|
12
8
|
const ZFileUpload = class {
|
|
13
9
|
constructor(hostRef) {
|
|
14
|
-
|
|
15
|
-
this.fileInput =
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
this.fileInput = createEvent(this, "fileInput", 7);
|
|
16
12
|
/** Prop indicating the file upload type - can be default or dragdrop */
|
|
17
|
-
this.type =
|
|
13
|
+
this.type = ZFileUploadType.DEFAULT;
|
|
18
14
|
/** Files added by the user */
|
|
19
15
|
this.files = [];
|
|
20
16
|
this.inputAttributes = {
|
|
@@ -57,8 +53,8 @@ const ZFileUpload = class {
|
|
|
57
53
|
return this.files;
|
|
58
54
|
}
|
|
59
55
|
getType() {
|
|
60
|
-
if (
|
|
61
|
-
return
|
|
56
|
+
if (getDevice() !== Device.DESKTOP) {
|
|
57
|
+
return ZFileUploadType.DEFAULT;
|
|
62
58
|
}
|
|
63
59
|
return this.type;
|
|
64
60
|
}
|
|
@@ -68,7 +64,7 @@ const ZFileUpload = class {
|
|
|
68
64
|
lastFile.focus();
|
|
69
65
|
}
|
|
70
66
|
else {
|
|
71
|
-
this.getType() ===
|
|
67
|
+
this.getType() === ZFileUploadType.DEFAULT
|
|
72
68
|
? this.button.querySelector("button").focus()
|
|
73
69
|
: this.uploadLink.focus();
|
|
74
70
|
}
|
|
@@ -102,10 +98,10 @@ const ZFileUpload = class {
|
|
|
102
98
|
return errors;
|
|
103
99
|
}
|
|
104
100
|
renderTitle() {
|
|
105
|
-
return (
|
|
101
|
+
return (h("z-heading", { id: "title", variant: "semibold", level: 2 }, this.mainTitle));
|
|
106
102
|
}
|
|
107
103
|
renderDescription(variant, level) {
|
|
108
|
-
return (
|
|
104
|
+
return (h("z-body", { variant: variant, level: level }, this.description));
|
|
109
105
|
}
|
|
110
106
|
renderAllowedFileExtensions() {
|
|
111
107
|
let fileFormatString = "";
|
|
@@ -121,18 +117,18 @@ const ZFileUpload = class {
|
|
|
121
117
|
fileWeightString = ` per un massimo di ${this.fileMaxSize}MB di peso`;
|
|
122
118
|
}
|
|
123
119
|
const finalString = `Puoi allegare file${fileFormatString}${fileWeightString}.`;
|
|
124
|
-
return
|
|
120
|
+
return h("z-body", { level: 3 }, fileFormatString || fileWeightString ? finalString : null);
|
|
125
121
|
}
|
|
126
122
|
renderFileSection() {
|
|
127
|
-
return (
|
|
123
|
+
return (h("section", { class: `files-container ${!this.files.length ? "hidden" : ""}` }, h("z-heading", { variant: "semibold", level: 4 }, "File appena caricati"), h("div", { class: "files-wrapper" }, h("slot", { name: "files" })), h("z-divider", { size: DividerSize.MEDIUM })));
|
|
128
124
|
}
|
|
129
125
|
renderInput() {
|
|
130
|
-
return (
|
|
126
|
+
return (h("input", Object.assign({}, this.inputAttributes, { onChange: () => this.fileInputHandler(), accept: this.acceptedFormat, ref: (val) => (this.input = val) })));
|
|
131
127
|
}
|
|
132
128
|
renderUploadButton() {
|
|
133
129
|
return [
|
|
134
130
|
this.renderInput(),
|
|
135
|
-
|
|
131
|
+
h("z-button", { onClick: () => this.input.click(), onKeyPress: (e) => {
|
|
136
132
|
if (e.code == "Space" || e.code == "Enter") {
|
|
137
133
|
e.preventDefault();
|
|
138
134
|
this.input.click();
|
|
@@ -143,7 +139,7 @@ const ZFileUpload = class {
|
|
|
143
139
|
renderUploadLink() {
|
|
144
140
|
return [
|
|
145
141
|
this.renderInput(),
|
|
146
|
-
|
|
142
|
+
h("z-body", { class: "upload-link-text", variant: "regular", level: 1 }, "Trascinalo qui o", " ", h("z-body", { tabIndex: 0, class: "upload-link", onClick: () => this.input.click(), onKeyPress: (e) => {
|
|
147
143
|
if (e.code == "Space" || e.code == "Enter") {
|
|
148
144
|
e.preventDefault();
|
|
149
145
|
this.input.click();
|
|
@@ -162,7 +158,7 @@ const ZFileUpload = class {
|
|
|
162
158
|
renderDragDropMode() {
|
|
163
159
|
return [
|
|
164
160
|
this.renderFileSection(),
|
|
165
|
-
|
|
161
|
+
h("z-dragdrop-area", null, h("div", { class: "text-container" }, this.renderDescription("regular", 1), this.renderUploadLink(), this.renderAllowedFileExtensions())),
|
|
166
162
|
];
|
|
167
163
|
}
|
|
168
164
|
formatErrorString(key, value) {
|
|
@@ -171,15 +167,15 @@ const ZFileUpload = class {
|
|
|
171
167
|
return `Il file ${key} ${(_a = value[0]) !== null && _a !== void 0 ? _a : ""}${bothErrors} ${(_b = value[1]) !== null && _b !== void 0 ? _b : ""} e non può quindi essere caricato.`;
|
|
172
168
|
}
|
|
173
169
|
handleErrorModalContent() {
|
|
174
|
-
return (
|
|
175
|
-
return (
|
|
170
|
+
return (h("div", { slot: "modalContent" }, h("div", { class: "modal-wrapper" }, h("div", { class: "files" }, Array.from(this.invalidFiles).map(([key, value]) => {
|
|
171
|
+
return (h("z-body", { variant: "regular", level: 3 }, this.formatErrorString(key, value)));
|
|
176
172
|
})))));
|
|
177
173
|
}
|
|
178
174
|
render() {
|
|
179
|
-
return (
|
|
175
|
+
return (h(Host, null, h("div", { tabIndex: 0, class: `container ${this.getType()}` }, this.renderTitle(), this.getType() == ZFileUploadType.DEFAULT ? this.renderDefaultMode() : this.renderDragDropMode()), !!this.invalidFiles.size && (h("z-modal", { tabIndex: 0, ref: (val) => (this.errorModal = val), modaltitle: "Attenzione", onModalClose: () => (this.invalidFiles = new Map()), onModalBackgroundClick: () => (this.invalidFiles = new Map()) }, this.handleErrorModalContent()))));
|
|
180
176
|
}
|
|
181
|
-
get el() { return
|
|
177
|
+
get el() { return getElement(this); }
|
|
182
178
|
};
|
|
183
179
|
ZFileUpload.style = stylesCss;
|
|
184
180
|
|
|
185
|
-
|
|
181
|
+
export { ZFileUpload as z_file_upload };
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-fa110f37.js');
|
|
7
|
-
const breakpoints = require('./breakpoints-88c4fd6c.js');
|
|
1
|
+
import { r as registerInstance, f as createEvent, h, e as Host, g as getElement } from './index-291c96fb.js';
|
|
2
|
+
import { P as PopoverPosition, w as ZChipType } from './index-968a240f.js';
|
|
3
|
+
import { t as tabletBreakpoint } from './breakpoints-c386984e.js';
|
|
8
4
|
|
|
9
5
|
const stylesCss = ".sc-z-file-h{position:relative;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-h>z-popover.sc-z-file{z-index:10}.sc-z-file-h>z-popover.sc-z-file>.tooltip-content.sc-z-file{white-space:nowrap}.sc-z-file-h>z-chip.sc-z-file span.sc-z-file{display:block;overflow:hidden;max-width:250px;letter-spacing:0.32px;line-height:1.33;text-overflow:ellipsis;white-space:nowrap}";
|
|
10
6
|
|
|
11
7
|
const ZFile = class {
|
|
12
8
|
constructor(hostRef) {
|
|
13
|
-
|
|
14
|
-
this.removeFile =
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
this.removeFile = createEvent(this, "removeFile", 7);
|
|
15
11
|
this.allowPopover = false;
|
|
16
12
|
this.popoverVisible = false;
|
|
17
13
|
}
|
|
@@ -30,7 +26,7 @@ const ZFile = class {
|
|
|
30
26
|
}
|
|
31
27
|
componentDidLoad() {
|
|
32
28
|
var _a, _b;
|
|
33
|
-
if (this.elementHasEllipsis() && window.innerWidth >
|
|
29
|
+
if (this.elementHasEllipsis() && window.innerWidth > tabletBreakpoint) {
|
|
34
30
|
this.allowPopover = true;
|
|
35
31
|
}
|
|
36
32
|
(_b = (_a = this.icon) === null || _a === void 0 ? void 0 : _a.focus) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
@@ -39,10 +35,10 @@ const ZFile = class {
|
|
|
39
35
|
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
40
36
|
}
|
|
41
37
|
render() {
|
|
42
|
-
return (
|
|
38
|
+
return (h(Host, null, this.allowPopover && (h("z-popover", { open: this.popoverVisible, position: PopoverPosition.AUTO, bindTo: this.chip }, h("span", { class: "body-5 tooltip-content" }, this.ellipsis.innerText))), h("z-chip", { ref: (el) => (this.chip = el), id: `chip-${this.fileNumber}`, interactiveIcon: "multiply-circled", type: ZChipType.DEFAULT }, h("span", { ref: (el) => (this.ellipsis = el), tabIndex: -1 }, this.fileName))));
|
|
43
39
|
}
|
|
44
|
-
get el() { return
|
|
40
|
+
get el() { return getElement(this); }
|
|
45
41
|
};
|
|
46
42
|
ZFile.style = stylesCss;
|
|
47
43
|
|
|
48
|
-
|
|
44
|
+
export { ZFile as z_file };
|
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-e3299e0a.js');
|
|
1
|
+
import { r as registerInstance, h, e as Host } from './index-291c96fb.js';
|
|
6
2
|
|
|
7
3
|
const stylesCss = ":host{display:inline-block;overflow:hidden;width:100%;height:100%;background:var(--bg-neutral-100);border-radius:4px;transform:translate3d(0, 0, 0)}:host::after{display:block;width:100%;height:100%;animation:progress 1.6s ease-in-out infinite;background-image:linear-gradient(\n 90deg,\n var(--bg-neutral-100) 0%,\n var(--bg-neutral-150) 95%,\n var(--bg-neutral-100) 100%\n );box-shadow:#e8ebee20 0 0 1px;content:\" \"}@keyframes progress{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}";
|
|
8
4
|
|
|
9
5
|
const ZGhostLoading = class {
|
|
10
6
|
constructor(hostRef) {
|
|
11
|
-
|
|
7
|
+
registerInstance(this, hostRef);
|
|
12
8
|
}
|
|
13
9
|
render() {
|
|
14
|
-
return
|
|
10
|
+
return h(Host, null);
|
|
15
11
|
}
|
|
16
12
|
};
|
|
17
13
|
ZGhostLoading.style = stylesCss;
|
|
18
14
|
|
|
19
|
-
|
|
15
|
+
export { ZGhostLoading as z_ghost_loading };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-291c96fb.js';
|
|
2
|
+
|
|
3
|
+
const ZHeading = class {
|
|
4
|
+
constructor(hostRef) {
|
|
5
|
+
registerInstance(this, hostRef);
|
|
6
|
+
/** Font weight variant */
|
|
7
|
+
this.variant = "regular";
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h("z-typography", { tabIndex: 0, component: this.component || `h${this.level}`, level: `h${this.level}`, variant: this.variant }, h("slot", null)));
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { ZHeading as z_heading };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-291c96fb.js';
|
|
2
|
+
import { I as ICONS } from './icons-85e529a3.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = ":host{margin-right:var(--z-icon-right-margin, 0);margin-left:var(--z-icon-left-margin, 0);line-height:0;vertical-align:middle}:host svg:not([width]){width:var(--z-icon-width, 18px)}:host svg:not([height]){height:var(--z-icon-height, 18px)}";
|
|
5
|
+
|
|
6
|
+
const ZIcon = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
}
|
|
10
|
+
selectPathOrPolygon(iconValue) {
|
|
11
|
+
if (iconValue === null || iconValue === void 0 ? void 0 : iconValue.startsWith("M")) {
|
|
12
|
+
return h("path", { d: ICONS[this.name] });
|
|
13
|
+
}
|
|
14
|
+
return h("polygon", { points: ICONS[this.name] });
|
|
15
|
+
}
|
|
16
|
+
render() {
|
|
17
|
+
return (h("svg", { viewBox: "0 0 1000 1000", width: this.width, height: this.height, id: this.iconid, fill: this.fill ? `var(--${this.fill})` : "" }, this.selectPathOrPolygon(ICONS[this.name])));
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
ZIcon.style = stylesCss;
|
|
21
|
+
|
|
22
|
+
export { ZIcon as z_icon };
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-e3299e0a.js');
|
|
1
|
+
import { r as registerInstance, f as createEvent, h } from './index-291c96fb.js';
|
|
6
2
|
|
|
7
3
|
const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;padding:calc(var(--space-unit) * 2);background:var(--accent-lighter);border-radius:var(--border-radius)}:host>div>slot{color:var(--text-grey-800);font-size:14px}:host>div>z-icon{margin-left:calc(var(--space-unit) * 2);cursor:pointer;fill:var(--myz-blue)}";
|
|
8
4
|
|
|
9
5
|
const ZInfoBox = class {
|
|
10
6
|
constructor(hostRef) {
|
|
11
|
-
|
|
12
|
-
this.infoBoxClose =
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.infoBoxClose = createEvent(this, "infoBoxClose", 7);
|
|
13
9
|
/** render close icon flag */
|
|
14
10
|
this.isclosable = true;
|
|
15
11
|
}
|
|
@@ -17,9 +13,9 @@ const ZInfoBox = class {
|
|
|
17
13
|
this.infoBoxClose.emit({ boxid: this.boxid });
|
|
18
14
|
}
|
|
19
15
|
render() {
|
|
20
|
-
return (
|
|
16
|
+
return (h("div", { id: this.boxid }, h("slot", { name: "content" }), this.isclosable && (h("z-icon", { name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() }))));
|
|
21
17
|
}
|
|
22
18
|
};
|
|
23
19
|
ZInfoBox.style = stylesCss;
|
|
24
20
|
|
|
25
|
-
|
|
21
|
+
export { ZInfoBox as z_info_box };
|
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-fa110f37.js');
|
|
1
|
+
import { r as registerInstance, h, e as Host, g as getElement } from './index-291c96fb.js';
|
|
2
|
+
import { H as InfoRevealPosition } from './index-968a240f.js';
|
|
7
3
|
|
|
8
4
|
const stylesCss = ":host{--z-info-reveal-theme--surface:var(--color-black);--z-info-reveal-theme--text:var(--color-white);--z-info-reveal-shadow:var(--shadow-2);--z-info-reveal-max-width:375px;position:relative;display:flex;width:fit-content;background-color:var(--z-info-reveal-theme--surface);color:var(--z-info-reveal-theme--text);font-size:var(--font-size-3);font-weight:var(--font-rg);letter-spacing:0;line-height:1.5}button{padding:0;border:none;background-color:transparent;border-radius:0;color:inherit;cursor:pointer;fill:currentcolor;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit}z-icon{--z-icon-width:calc(var(--space-unit) * 3);--z-icon-height:calc(var(--space-unit) * 3);display:flex}.z-info-reveal-trigger{display:flex;width:fit-content;height:100%;align-items:center;padding:calc(var(--space-unit) / 2);box-shadow:var(--z-info-reveal-shadow);column-gap:calc(var(--space-unit) / 2)}:host([position=\"top_left\"]) .z-info-reveal-trigger,:host([position=\"bottom_left\"]) .z-info-reveal-trigger{flex-direction:row-reverse}:host([open]) .z-info-reveal-trigger{box-shadow:none}.info-box{position:absolute;display:flex;max-width:var(--z-info-reveal-max-width);padding:calc(var(--space-unit) / 2);background-color:var(--z-info-reveal-theme--surface);box-shadow:var(--z-info-reveal-shadow);column-gap:calc(var(--space-unit) / 2);cursor:pointer}:host([position=\"bottom_left\"]) .info-box,:host([position=\"bottom_right\"]) .info-box{bottom:0}:host([position=\"top_right\"]) .info-box,:host([position=\"bottom_right\"]) .info-box{right:0}:host([position=\"top_left\"]) .info-box,:host([position=\"bottom_left\"]) .info-box{left:0;flex-direction:row-reverse}::slotted(*){display:none;width:max-content}::slotted([data-current]){display:block}:host([position=\"top_left\"]) .z-info-reveal-close,:host([position=\"top_right\"]) .z-info-reveal-close{align-self:flex-start}:host([position=\"bottom_left\"]) .z-info-reveal-close,:host([position=\"bottom_right\"]) .z-info-reveal-close{align-self:flex-end}";
|
|
9
5
|
|
|
10
6
|
const ZInfoReveal = class {
|
|
11
7
|
constructor(hostRef) {
|
|
12
|
-
|
|
8
|
+
registerInstance(this, hostRef);
|
|
13
9
|
/** Name of the icon for the open button */
|
|
14
10
|
this.icon = "informationsource";
|
|
15
11
|
/** Info reveal's position */
|
|
16
|
-
this.position =
|
|
12
|
+
this.position = InfoRevealPosition.BOTTOM_RIGHT;
|
|
17
13
|
/** Whether the info panel is open. */
|
|
18
14
|
this.open = false;
|
|
19
15
|
/** Current index for the info queue. */
|
|
@@ -53,13 +49,13 @@ const ZInfoReveal = class {
|
|
|
53
49
|
}
|
|
54
50
|
}
|
|
55
51
|
render() {
|
|
56
|
-
return (
|
|
52
|
+
return (h(Host, { open: this.open }, h("button", { class: "z-info-reveal-trigger", onClick: this.openInfoBox.bind(this) }, this.label && h("span", { class: "z-info-reveal-label" }, this.label), h("z-icon", { name: this.icon })), this.open && (h("div", { class: "info-box", onClick: this.next.bind(this), tabIndex: 0 }, h("slot", null), h("button", { class: "z-info-reveal-close", onClick: this.closeInfoBox.bind(this) }, h("z-icon", { name: "close" }))))));
|
|
57
53
|
}
|
|
58
|
-
get el() { return
|
|
54
|
+
get el() { return getElement(this); }
|
|
59
55
|
static get watchers() { return {
|
|
60
56
|
"currentIndex": ["watchItems"]
|
|
61
57
|
}; }
|
|
62
58
|
};
|
|
63
59
|
ZInfoReveal.style = stylesCss;
|
|
64
60
|
|
|
65
|
-
|
|
61
|
+
export { ZInfoReveal as z_info_reveal };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { r as registerInstance, h, e as Host } from './index-291c96fb.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host{display:flex;min-height:calc(var(--space-unit) * 2.5);align-items:start;margin-top:var(--space-unit);color:var(--color-text05);fill:currentcolor;font-family:var(--font-family-sans);font-size:var(--font-size-2);letter-spacing:0.16px}:host([status=\"success\"]){color:var(--color-text-success)}:host([status=\"error\"]){color:var(--color-text-error)}:host([status=\"warning\"]){color:var(--color-warning02)}:host(:focus){outline:none}:host>z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);--z-icon-right-margin:var(--space-unit)}";
|
|
4
|
+
|
|
5
|
+
const ZInputMessage = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.statusIcons = {
|
|
9
|
+
success: "checkmark-circle",
|
|
10
|
+
error: "multiply-circled",
|
|
11
|
+
warning: "exclamation-circle",
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
render() {
|
|
15
|
+
return (h(Host, { role: "alert", "aria-label": this.message, tabindex: this.message ? 0 : -1 }, this.statusIcons[this.status] && this.message && h("z-icon", { name: this.statusIcons[this.status] }), h("span", { innerHTML: this.message })));
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
ZInputMessage.style = stylesCss;
|
|
19
|
+
|
|
20
|
+
export { ZInputMessage as z_input_message };
|