@zanichelli/albe-web-components 9.1.2 → 9.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/dist/cjs/{breakpoints-ebe1a437.js → breakpoints-0faa0935.js} +2 -2
- package/dist/cjs/{icons-bff00e77.js → icons-f6b0756a.js} +774 -774
- package/dist/cjs/{index-23d8692f.js → index-149b2bb5.js} +13 -13
- package/dist/cjs/{index-9648272b.js → index-1a54d3b4.js} +12 -12
- package/dist/cjs/{index-804d0ec8.js → index-23b07d69.js} +70 -70
- package/dist/cjs/{index-e5daa5a5.js → index-3a67f552.js} +8 -8
- package/dist/cjs/{index-f43320ff.js → index-3a6b2c79.js} +21 -21
- package/dist/cjs/{index-92a9f89e.js → index-3c5fc624.js} +12 -12
- package/dist/cjs/{index-28bcd719.js → index-419ee40f.js} +343 -338
- package/dist/cjs/{index-f438d147.js → index-5df91dd3.js} +61 -61
- package/dist/cjs/{index-06609e4d.js → index-614b08fc.js} +8 -8
- package/dist/cjs/{index-c6b48307.js → index-67bc899f.js} +40 -40
- package/dist/cjs/{index-a9764c98.js → index-6ce8bfd4.js} +8 -8
- package/dist/cjs/{index-ccadf53b.js → index-7ddce77e.js} +25 -25
- package/dist/cjs/{index-bbd48475.js → index-af5982d0.js} +11 -11
- package/dist/cjs/{index-d308b5b5.js → index-b9d9b420.js} +32 -32
- package/dist/cjs/{index-8f188526.js → index-d56eba15.js} +58 -58
- package/dist/cjs/{index-2b53b57b.js → index-dd00eeb6.js} +13 -13
- package/dist/cjs/index-e3299e0a.js +4 -0
- package/dist/cjs/{index-ebbadaf8.js → index-fc66f7fd.js} +12 -12
- package/dist/cjs/index.cjs.js +11 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-1b75af6b.js → utils-3fc57dbb.js} +96 -96
- package/dist/cjs/{utils-36615e1a.js → utils-b1944ce3.js} +75 -75
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-accordion.cjs.entry.js +67 -0
- package/dist/cjs/z-alert.cjs.entry.js +8 -8
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +42 -42
- package/dist/cjs/z-app-header_11.cjs.entry.js +992 -992
- package/dist/cjs/z-aria-alert.cjs.entry.js +10 -10
- package/dist/cjs/z-avatar.cjs.entry.js +33 -33
- package/dist/cjs/z-body.cjs.entry.js +9 -9
- package/dist/cjs/z-book-card.cjs.entry.js +100 -100
- package/dist/cjs/z-breadcrumb.cjs.entry.js +221 -221
- package/dist/cjs/z-button-sort.cjs.entry.js +42 -42
- package/dist/cjs/z-card.cjs.entry.js +42 -42
- package/dist/cjs/z-carousel.cjs.entry.js +135 -135
- package/dist/cjs/z-chip.cjs.entry.js +29 -29
- package/dist/cjs/z-combobox.cjs.entry.js +190 -190
- package/dist/cjs/z-contextual-menu.cjs.entry.js +35 -35
- package/dist/cjs/z-cover-hero.cjs.entry.js +46 -46
- package/dist/cjs/z-date-picker.cjs.entry.js +164 -164
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +129 -129
- package/dist/cjs/z-file-upload.cjs.entry.js +174 -174
- package/dist/cjs/z-file.cjs.entry.js +37 -37
- package/dist/cjs/z-ghost-loading.cjs.entry.js +9 -9
- package/dist/cjs/z-heading.cjs.entry.js +9 -9
- package/dist/cjs/z-info-box.cjs.entry.js +14 -14
- package/dist/cjs/z-info-reveal.cjs.entry.js +54 -54
- package/dist/cjs/z-link.cjs.entry.js +63 -63
- package/dist/cjs/z-logo.cjs.entry.js +15 -15
- package/dist/cjs/z-menu-section.cjs.entry.js +43 -43
- package/dist/cjs/z-menu.cjs.entry.js +108 -108
- package/dist/cjs/z-messages-pocket.cjs.entry.js +36 -36
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +52 -52
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +25 -25
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +8 -8
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +58 -58
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +12 -12
- package/dist/cjs/z-myz-card-info.cjs.entry.js +118 -118
- package/dist/cjs/z-myz-card-list.cjs.entry.js +27 -27
- package/dist/cjs/z-myz-card_4.cjs.entry.js +82 -82
- package/dist/cjs/z-myz-list-item.cjs.entry.js +26 -26
- package/dist/cjs/z-myz-list.cjs.entry.js +24 -24
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +60 -60
- package/dist/cjs/z-navigation-tab.cjs.entry.js +62 -62
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +187 -187
- package/dist/cjs/z-notification.cjs.entry.js +30 -30
- package/dist/cjs/z-otp.cjs.entry.js +30 -30
- package/dist/cjs/z-pagination.cjs.entry.js +219 -219
- package/dist/cjs/z-panel-elem.cjs.entry.js +19 -19
- package/dist/cjs/z-pocket-message.cjs.entry.js +8 -8
- package/dist/cjs/z-pocket_3.cjs.entry.js +102 -102
- package/dist/cjs/z-popover.cjs.entry.js +317 -317
- package/dist/cjs/z-range-picker.cjs.entry.js +331 -331
- package/dist/cjs/z-section-title.cjs.entry.js +22 -22
- package/dist/cjs/z-select.cjs.entry.js +322 -322
- package/dist/cjs/z-skip-to-content.cjs.entry.js +55 -55
- package/dist/cjs/z-slideshow.cjs.entry.js +118 -118
- package/dist/cjs/z-stepper-item.cjs.entry.js +11 -11
- package/dist/cjs/z-stepper.cjs.entry.js +8 -8
- package/dist/cjs/z-table-body.cjs.entry.js +1 -1
- package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/z-table-deprecated.cjs.entry.js +80 -80
- package/dist/cjs/z-table-empty-box.cjs.entry.js +1 -1
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table-head.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header.cjs.entry.js +4 -4
- package/dist/cjs/z-table-row.cjs.entry.js +2 -2
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +47 -47
- package/dist/cjs/z-tag.cjs.entry.js +11 -11
- package/dist/cjs/z-tbody.cjs.entry.js +1 -1
- package/dist/cjs/z-td.cjs.entry.js +2 -2
- package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
- package/dist/cjs/z-th.cjs.entry.js +2 -2
- package/dist/cjs/z-thead.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +45 -45
- package/dist/cjs/z-toast-notification.cjs.entry.js +187 -187
- package/dist/cjs/z-toggle-button.cjs.entry.js +25 -25
- package/dist/cjs/z-toggle-switch.cjs.entry.js +40 -40
- package/dist/cjs/z-tooltip.cjs.entry.js +26 -26
- package/dist/cjs/z-tr.cjs.entry.js +6 -6
- package/dist/cjs/z-typography.cjs.entry.js +19 -19
- package/dist/cjs/z-visually-hidden.cjs.entry.js +8 -8
- package/dist/collection/beans/index.js +343 -338
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/buttons/z-button/index.js +245 -245
- package/dist/collection/components/buttons/z-button/styles.css +149 -149
- package/dist/collection/components/buttons/z-button-sort/index.js +220 -220
- package/dist/collection/components/buttons/z-button-sort/styles.css +101 -101
- package/dist/collection/components/buttons/z-chip/index.js +155 -155
- package/dist/collection/components/buttons/z-chip/styles.css +138 -138
- package/dist/collection/components/buttons/z-toggle-button/index.js +146 -146
- package/dist/collection/components/buttons/z-toggle-button/styles.css +60 -60
- package/dist/collection/components/buttons/z-toggle-switch/index.js +144 -144
- package/dist/collection/components/buttons/z-toggle-switch/styles.css +104 -104
- package/dist/collection/components/date-picker/styles.css +436 -436
- package/dist/collection/components/date-picker/utils.js +76 -76
- package/dist/collection/components/date-picker/z-date-picker/index.js +295 -295
- package/dist/collection/components/date-picker/z-range-picker/index.js +499 -499
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +53 -53
- package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +51 -51
- package/dist/collection/components/file-upload/z-file/index.js +131 -131
- package/dist/collection/components/file-upload/z-file/styles.css +23 -23
- package/dist/collection/components/file-upload/z-file-upload/index.js +363 -363
- package/dist/collection/components/file-upload/z-file-upload/styles.css +84 -84
- package/dist/collection/components/icons/icons.js +775 -775
- package/dist/collection/components/icons/z-icon/index.js +114 -114
- package/dist/collection/components/icons/z-icon/styles.css +14 -14
- package/dist/collection/components/index.js +8 -8
- package/dist/collection/components/indicators/z-stepper/index.js +21 -21
- package/dist/collection/components/indicators/z-stepper/styles.css +19 -19
- package/dist/collection/components/indicators/z-stepper-item/index.js +93 -93
- package/dist/collection/components/indicators/z-stepper-item/styles.css +114 -114
- package/dist/collection/components/inputs/z-combobox/index.js +570 -570
- package/dist/collection/components/inputs/z-combobox/styles.css +197 -197
- package/dist/collection/components/inputs/z-input/index.js +765 -765
- package/dist/collection/components/inputs/z-input/styles.css +402 -402
- package/dist/collection/components/inputs/z-input-message/index.js +89 -89
- package/dist/collection/components/inputs/z-input-message/styles.css +48 -48
- package/dist/collection/components/inputs/z-searchbar/index.js +599 -599
- package/dist/collection/components/inputs/z-searchbar/styles.css +185 -185
- package/dist/collection/components/inputs/z-select/index.js +754 -754
- package/dist/collection/components/inputs/z-select/styles.css +123 -123
- package/dist/collection/components/list/z-list/index.js +91 -91
- package/dist/collection/components/list/z-list/styles.css +6 -6
- package/dist/collection/components/list/z-list-element/index.js +508 -508
- package/dist/collection/components/list/z-list-element/styles.css +121 -121
- package/dist/collection/components/list/z-list-group/index.js +175 -175
- package/dist/collection/components/list/z-list-group/styles.css +21 -21
- package/dist/collection/components/list/z-toast-notification-list/index.js +105 -105
- package/dist/collection/components/list/z-toast-notification-list/styles.css +100 -100
- package/dist/collection/components/logo/z-logo/index.js +131 -131
- package/dist/collection/components/logo/z-logo/styles.css +29 -29
- package/dist/collection/components/modal/z-modal/index.js +319 -319
- package/dist/collection/components/modal/z-modal/styles.css +193 -193
- package/dist/collection/components/navigation/tabs/navigation-tab.css +136 -136
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +276 -276
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +298 -298
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +296 -296
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/styles.css +104 -104
- package/dist/collection/components/navigation/z-app-header/index.js +448 -448
- package/dist/collection/components/navigation/z-app-header/index.stories.js +393 -393
- package/dist/collection/components/navigation/z-app-header/styles.css +429 -429
- package/dist/collection/components/navigation/z-link/index.js +317 -317
- package/dist/collection/components/navigation/z-link/styles.css +167 -167
- package/dist/collection/components/navigation/z-menu/index.js +250 -250
- package/dist/collection/components/navigation/z-menu/styles.css +213 -213
- package/dist/collection/components/navigation/z-menu-section/index.js +125 -125
- package/dist/collection/components/navigation/z-menu-section/styles.css +123 -123
- package/dist/collection/components/notification/z-info-box/index.js +85 -85
- package/dist/collection/components/notification/z-info-box/styles.css +23 -23
- package/dist/collection/components/notification/z-notification/index.js +195 -195
- package/dist/collection/components/notification/z-notification/styles.css +114 -114
- package/dist/collection/components/notification/z-toast-notification/index.js +399 -399
- package/dist/collection/components/notification/z-toast-notification/styles.css +254 -254
- package/dist/collection/components/notification/z-tooltip/index.js +157 -157
- package/dist/collection/components/notification/z-tooltip/styles.css +17 -17
- package/dist/collection/components/panel/z-panel-elem/index.js +193 -193
- package/dist/collection/components/panel/z-panel-elem/styles.css +39 -39
- package/dist/collection/components/table/cells/z-td/index.js +143 -143
- package/dist/collection/components/table/cells/z-td/styles.css +59 -59
- package/dist/collection/components/table/cells/z-th/index.js +187 -187
- package/dist/collection/components/table/cells/z-th/styles.css +88 -88
- package/dist/collection/components/table/z-table/index.js +86 -86
- package/dist/collection/components/table/z-table/styles.css +22 -22
- package/dist/collection/components/table/z-tbody/index.js +22 -22
- package/dist/collection/components/table/z-tbody/styles.css +4 -4
- package/dist/collection/components/table/z-tfoot/index.js +50 -50
- package/dist/collection/components/table/z-tfoot/styles.css +13 -13
- package/dist/collection/components/table/z-thead/index.js +50 -50
- package/dist/collection/components/table/z-thead/styles.css +19 -19
- package/dist/collection/components/table/z-tr/index.js +133 -133
- package/dist/collection/components/table/z-tr/styles.css +87 -87
- package/dist/collection/components/z-accordion/index.js +247 -0
- package/dist/collection/components/z-accordion/styles.css +228 -0
- package/dist/collection/components/z-anchor-navigation/index.js +95 -95
- package/dist/collection/components/z-anchor-navigation/styles.css +128 -128
- package/dist/collection/components/z-aria-alert/index.js +39 -39
- package/dist/collection/components/z-avatar/index.js +142 -142
- package/dist/collection/components/z-avatar/styles.css +32 -32
- package/dist/collection/components/z-book-card/index.js +308 -308
- package/dist/collection/components/z-book-card/styles.css +469 -469
- package/dist/collection/components/z-breadcrumb/index.js +392 -392
- package/dist/collection/components/z-breadcrumb/styles.css +146 -146
- package/dist/collection/components/z-card/index.js +148 -148
- package/dist/collection/components/z-card/styles.css +213 -213
- package/dist/collection/components/z-carousel/index.js +300 -300
- package/dist/collection/components/z-carousel/styles.css +129 -129
- package/dist/collection/components/z-contextual-menu/index.js +126 -126
- package/dist/collection/components/z-contextual-menu/styles.css +60 -60
- package/dist/collection/components/z-cover-hero/index.js +146 -146
- package/dist/collection/components/z-cover-hero/styles.css +93 -93
- package/dist/collection/components/z-divider/index.js +95 -95
- package/dist/collection/components/z-divider/styles.css +37 -37
- package/dist/collection/components/z-ghost-loading/index.js +18 -18
- package/dist/collection/components/z-ghost-loading/styles.css +34 -34
- package/dist/collection/components/z-info-reveal/index.js +147 -147
- package/dist/collection/components/z-info-reveal/styles.css +103 -103
- package/dist/collection/components/z-offcanvas/index.js +162 -162
- package/dist/collection/components/z-offcanvas/styles.css +182 -182
- package/dist/collection/components/z-pagination/index.js +435 -435
- package/dist/collection/components/z-pagination/styles.css +199 -199
- package/dist/collection/components/z-popover/index.js +513 -513
- package/dist/collection/components/z-popover/styles.css +147 -147
- package/dist/collection/components/z-section-title/index.js +88 -88
- package/dist/collection/components/z-section-title/styles.css +45 -45
- package/dist/collection/components/z-skip-to-content/index.js +139 -139
- package/dist/collection/components/z-skip-to-content/styles.css +80 -80
- package/dist/collection/components/z-tag/index.js +65 -65
- package/dist/collection/components/z-tag/styles.css +46 -46
- package/dist/collection/components/z-visually-hidden/index.js +18 -18
- package/dist/collection/components/z-visually-hidden/styles.css +12 -12
- package/dist/collection/constants/breakpoints.js +4 -4
- package/dist/collection/constants/icons.js +6 -6
- package/dist/collection/deprecated/typography/z-body/index.js +68 -68
- package/dist/collection/deprecated/typography/z-heading/index.js +68 -68
- package/dist/collection/deprecated/typography/z-typography/index.js +91 -91
- package/dist/collection/deprecated/typography/z-typography/styles.css +65 -65
- package/dist/collection/deprecated/z-table-deprecated/z-table-body/index.js +26 -26
- package/dist/collection/deprecated/z-table-deprecated/z-table-body/styles.css +9 -9
- package/dist/collection/deprecated/z-table-deprecated/z-table-cell/index.js +84 -84
- package/dist/collection/deprecated/z-table-deprecated/z-table-cell/styles.css +58 -58
- package/dist/collection/deprecated/z-table-deprecated/z-table-deprecated/index.js +363 -363
- package/dist/collection/deprecated/z-table-deprecated/z-table-deprecated/styles.css +115 -115
- package/dist/collection/deprecated/z-table-deprecated/z-table-empty-box/index.js +75 -75
- package/dist/collection/deprecated/z-table-deprecated/z-table-empty-box/styles.css +38 -38
- package/dist/collection/deprecated/z-table-deprecated/z-table-expanded-row/index.js +42 -42
- package/dist/collection/deprecated/z-table-deprecated/z-table-expanded-row/styles.css +9 -9
- package/dist/collection/deprecated/z-table-deprecated/z-table-footer/index.js +25 -25
- package/dist/collection/deprecated/z-table-deprecated/z-table-footer/styles.css +5 -5
- package/dist/collection/deprecated/z-table-deprecated/z-table-head/index.js +25 -25
- package/dist/collection/deprecated/z-table-deprecated/z-table-head/styles.css +5 -5
- package/dist/collection/deprecated/z-table-deprecated/z-table-header/index.js +226 -226
- package/dist/collection/deprecated/z-table-deprecated/z-table-header/styles.css +71 -71
- package/dist/collection/deprecated/z-table-deprecated/z-table-header-row/index.js +44 -44
- package/dist/collection/deprecated/z-table-deprecated/z-table-header-row/styles.css +13 -13
- package/dist/collection/deprecated/z-table-deprecated/z-table-row/index.js +95 -95
- package/dist/collection/deprecated/z-table-deprecated/z-table-row/styles.css +45 -45
- package/dist/collection/deprecated/z-table-deprecated/z-table-sticky-footer/index.js +22 -22
- package/dist/collection/deprecated/z-table-deprecated/z-table-sticky-footer/styles.css +11 -11
- package/dist/collection/index.js +7 -7
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +129 -129
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +44 -44
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +151 -151
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +62 -62
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +22 -22
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +13 -13
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +93 -93
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +11 -11
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +177 -177
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +72 -72
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +219 -219
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +182 -182
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +22 -22
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +20 -20
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +109 -109
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +59 -59
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +81 -81
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +69 -69
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +199 -199
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +93 -93
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +60 -60
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +41 -41
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +78 -78
- package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +4 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +192 -192
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +66 -66
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +120 -120
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +102 -102
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +191 -191
- package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +44 -44
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +84 -84
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +41 -41
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +93 -93
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +27 -27
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +22 -22
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +44 -44
- package/dist/collection/snowflakes/myz/z-alert/index.js +47 -47
- package/dist/collection/snowflakes/myz/z-alert/styles.css +28 -28
- package/dist/collection/snowflakes/myz/z-otp/index.js +120 -120
- package/dist/collection/snowflakes/myz/z-otp/styles.css +47 -47
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +180 -180
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +127 -127
- package/dist/collection/utils/storybook-utils.js +76 -51
- package/dist/collection/utils/utils.js +115 -115
- package/dist/esm/{breakpoints-9b81eb1b.js → breakpoints-572720f6.js} +2 -2
- package/dist/esm/{icons-cc83787f.js → icons-6da784ba.js} +774 -774
- package/dist/esm/{index-8c7b48bc.js → index-06314271.js} +12 -12
- package/dist/esm/{index-1ae1c122.js → index-30b4bebe.js} +8 -8
- package/dist/esm/{index-94139d85.js → index-334ed186.js} +32 -32
- package/dist/esm/{index-f98f4ad3.js → index-33f3f896.js} +12 -12
- package/dist/esm/{index-0e0fa88d.js → index-50c0cb7b.js} +12 -12
- package/dist/esm/{index-f69ab5b1.js → index-66c5b3f9.js} +58 -58
- package/dist/esm/{index-2c800f19.js → index-6d4bf248.js} +13 -13
- package/dist/esm/{index-725a4f41.js → index-742e8d56.js} +61 -61
- package/dist/esm/{index-6d83248c.js → index-77e69f82.js} +13 -13
- package/dist/esm/{index-3f9e265c.js → index-8d78e837.js} +70 -70
- package/dist/esm/{index-2cdac489.js → index-96a7afbc.js} +21 -21
- package/dist/esm/index-a2ca4b97.js +4 -0
- package/dist/esm/{index-fd62a73e.js → index-a8cda90b.js} +344 -339
- package/dist/esm/{index-7112671d.js → index-ae1ae86b.js} +40 -40
- package/dist/esm/{index-a4a55715.js → index-baf19a24.js} +25 -25
- package/dist/esm/{index-f171ca51.js → index-d6436cad.js} +8 -8
- package/dist/esm/{index-e2c8b8b5.js → index-fe569c26.js} +11 -11
- package/dist/esm/{index-83736b34.js → index-ffdc3d9c.js} +8 -8
- package/dist/esm/index.js +5 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/{utils-456f447b.js → utils-2f109041.js} +96 -96
- package/dist/esm/{utils-fb22a1b4.js → utils-3ef75653.js} +75 -75
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-accordion.entry.js +63 -0
- package/dist/esm/z-alert.entry.js +8 -8
- package/dist/esm/z-anchor-navigation.entry.js +42 -42
- package/dist/esm/z-app-header_11.entry.js +992 -992
- package/dist/esm/z-aria-alert.entry.js +10 -10
- package/dist/esm/z-avatar.entry.js +33 -33
- package/dist/esm/z-body.entry.js +9 -9
- package/dist/esm/z-book-card.entry.js +100 -100
- package/dist/esm/z-breadcrumb.entry.js +221 -221
- package/dist/esm/z-button-sort.entry.js +42 -42
- package/dist/esm/z-card.entry.js +42 -42
- package/dist/esm/z-carousel.entry.js +135 -135
- package/dist/esm/z-chip.entry.js +29 -29
- package/dist/esm/z-combobox.entry.js +190 -190
- package/dist/esm/z-contextual-menu.entry.js +35 -35
- package/dist/esm/z-cover-hero.entry.js +46 -46
- package/dist/esm/z-date-picker.entry.js +164 -164
- package/dist/esm/z-dragdrop-area_2.entry.js +129 -129
- package/dist/esm/z-file-upload.entry.js +174 -174
- package/dist/esm/z-file.entry.js +37 -37
- package/dist/esm/z-ghost-loading.entry.js +9 -9
- package/dist/esm/z-heading.entry.js +9 -9
- package/dist/esm/z-info-box.entry.js +14 -14
- package/dist/esm/z-info-reveal.entry.js +54 -54
- package/dist/esm/z-link.entry.js +63 -63
- package/dist/esm/z-logo.entry.js +15 -15
- package/dist/esm/z-menu-section.entry.js +43 -43
- package/dist/esm/z-menu.entry.js +108 -108
- package/dist/esm/z-messages-pocket.entry.js +36 -36
- package/dist/esm/z-myz-card-alert.entry.js +52 -52
- package/dist/esm/z-myz-card-dictionary.entry.js +25 -25
- package/dist/esm/z-myz-card-footer-sections.entry.js +8 -8
- package/dist/esm/z-myz-card-footer.entry.js +58 -58
- package/dist/esm/z-myz-card-icon.entry.js +12 -12
- package/dist/esm/z-myz-card-info.entry.js +118 -118
- package/dist/esm/z-myz-card-list.entry.js +27 -27
- package/dist/esm/z-myz-card_4.entry.js +82 -82
- package/dist/esm/z-myz-list-item.entry.js +26 -26
- package/dist/esm/z-myz-list.entry.js +24 -24
- package/dist/esm/z-navigation-tab-link.entry.js +60 -60
- package/dist/esm/z-navigation-tab.entry.js +62 -62
- package/dist/esm/z-navigation-tabs.entry.js +187 -187
- package/dist/esm/z-notification.entry.js +30 -30
- package/dist/esm/z-otp.entry.js +30 -30
- package/dist/esm/z-pagination.entry.js +219 -219
- package/dist/esm/z-panel-elem.entry.js +19 -19
- package/dist/esm/z-pocket-message.entry.js +8 -8
- package/dist/esm/z-pocket_3.entry.js +102 -102
- package/dist/esm/z-popover.entry.js +317 -317
- package/dist/esm/z-range-picker.entry.js +331 -331
- package/dist/esm/z-section-title.entry.js +22 -22
- package/dist/esm/z-select.entry.js +322 -322
- package/dist/esm/z-skip-to-content.entry.js +55 -55
- package/dist/esm/z-slideshow.entry.js +118 -118
- package/dist/esm/z-stepper-item.entry.js +11 -11
- package/dist/esm/z-stepper.entry.js +8 -8
- package/dist/esm/z-table-body.entry.js +1 -1
- package/dist/esm/z-table-cell.entry.js +2 -2
- package/dist/esm/z-table-deprecated.entry.js +80 -80
- package/dist/esm/z-table-empty-box.entry.js +1 -1
- package/dist/esm/z-table-expanded-row.entry.js +1 -1
- package/dist/esm/z-table-footer.entry.js +1 -1
- package/dist/esm/z-table-head.entry.js +1 -1
- package/dist/esm/z-table-header-row.entry.js +1 -1
- package/dist/esm/z-table-header.entry.js +4 -4
- package/dist/esm/z-table-row.entry.js +2 -2
- package/dist/esm/z-table-sticky-footer.entry.js +1 -1
- package/dist/esm/z-table.entry.js +47 -47
- package/dist/esm/z-tag.entry.js +11 -11
- package/dist/esm/z-tbody.entry.js +1 -1
- package/dist/esm/z-td.entry.js +2 -2
- package/dist/esm/z-tfoot.entry.js +1 -1
- package/dist/esm/z-th.entry.js +2 -2
- package/dist/esm/z-thead.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +45 -45
- package/dist/esm/z-toast-notification.entry.js +187 -187
- package/dist/esm/z-toggle-button.entry.js +25 -25
- package/dist/esm/z-toggle-switch.entry.js +40 -40
- package/dist/esm/z-tooltip.entry.js +26 -26
- package/dist/esm/z-tr.entry.js +6 -6
- package/dist/esm/z-typography.entry.js +19 -19
- package/dist/esm/z-visually-hidden.entry.js +8 -8
- package/dist/types/beans/index.d.ts +399 -395
- package/dist/types/components/buttons/z-button/index.d.ts +29 -29
- package/dist/types/components/buttons/z-button-sort/index.d.ts +28 -28
- package/dist/types/components/buttons/z-chip/index.d.ts +20 -20
- package/dist/types/components/buttons/z-toggle-button/index.d.ts +17 -17
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +17 -17
- package/dist/types/components/date-picker/utils.d.ts +4 -4
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +29 -29
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +42 -42
- package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +9 -9
- package/dist/types/components/file-upload/z-file/index.d.ts +22 -22
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +52 -52
- package/dist/types/components/icons/icons.d.ts +1384 -1384
- package/dist/types/components/icons/z-icon/index.d.ts +14 -14
- package/dist/types/components/index.d.ts +0 -0
- package/dist/types/components/indicators/z-stepper/index.d.ts +6 -6
- package/dist/types/components/indicators/z-stepper-item/index.d.ts +19 -19
- package/dist/types/components/inputs/z-combobox/index.d.ts +71 -71
- package/dist/types/components/inputs/z-input/index.d.ts +86 -86
- package/dist/types/components/inputs/z-input-message/index.d.ts +12 -12
- package/dist/types/components/inputs/z-searchbar/index.d.ts +73 -73
- package/dist/types/components/inputs/z-select/index.d.ts +82 -82
- package/dist/types/components/list/z-list/index.d.ts +15 -15
- package/dist/types/components/list/z-list-element/index.d.ts +95 -95
- package/dist/types/components/list/z-list-group/index.d.ts +28 -28
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +14 -14
- package/dist/types/components/logo/z-logo/index.d.ts +15 -15
- package/dist/types/components/modal/z-modal/index.d.ts +47 -47
- package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +62 -62
- package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +72 -72
- package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +88 -88
- package/dist/types/components/navigation/z-app-header/index.d.ts +148 -148
- package/dist/types/components/navigation/z-link/index.d.ts +40 -40
- package/dist/types/components/navigation/z-menu/index.d.ts +61 -61
- package/dist/types/components/navigation/z-menu-section/index.d.ts +31 -31
- package/dist/types/components/notification/z-info-box/index.d.ts +14 -14
- package/dist/types/components/notification/z-notification/index.d.ts +32 -32
- package/dist/types/components/notification/z-toast-notification/index.d.ts +56 -56
- package/dist/types/components/notification/z-tooltip/index.d.ts +32 -32
- package/dist/types/components/panel/z-panel-elem/index.d.ts +25 -25
- package/dist/types/components/table/cells/z-td/index.d.ts +36 -36
- package/dist/types/components/table/cells/z-th/index.d.ts +52 -52
- package/dist/types/components/table/z-table/index.d.ts +28 -28
- package/dist/types/components/table/z-tbody/index.d.ts +7 -7
- package/dist/types/components/table/z-tfoot/index.d.ts +11 -11
- package/dist/types/components/table/z-thead/index.d.ts +11 -11
- package/dist/types/components/table/z-tr/index.d.ts +41 -41
- package/dist/types/components/z-accordion/index.d.ts +57 -0
- package/dist/types/components/z-anchor-navigation/index.d.ts +39 -39
- package/dist/types/components/z-aria-alert/index.d.ts +6 -6
- package/dist/types/components/z-avatar/index.d.ts +16 -16
- package/dist/types/components/z-book-card/index.d.ts +78 -78
- package/dist/types/components/z-breadcrumb/index.d.ts +56 -56
- package/dist/types/components/z-card/index.d.ts +38 -38
- package/dist/types/components/z-carousel/index.d.ts +63 -63
- package/dist/types/components/z-contextual-menu/index.d.ts +26 -26
- package/dist/types/components/z-cover-hero/index.d.ts +41 -41
- package/dist/types/components/z-divider/index.d.ts +10 -10
- package/dist/types/components/z-ghost-loading/index.d.ts +3 -3
- package/dist/types/components/z-info-reveal/index.d.ts +29 -29
- package/dist/types/components/z-offcanvas/index.d.ts +27 -27
- package/dist/types/components/z-pagination/index.d.ts +109 -109
- package/dist/types/components/z-popover/index.d.ts +69 -69
- package/dist/types/components/z-section-title/index.d.ts +25 -25
- package/dist/types/components/z-skip-to-content/index.d.ts +21 -21
- package/dist/types/components/z-tag/index.d.ts +13 -13
- package/dist/types/components/z-visually-hidden/index.d.ts +3 -3
- package/dist/types/components.d.ts +86 -1
- package/dist/types/constants/breakpoints.d.ts +4 -4
- package/dist/types/constants/icons.d.ts +6 -6
- package/dist/types/deprecated/typography/z-body/index.d.ts +9 -9
- package/dist/types/deprecated/typography/z-heading/index.d.ts +9 -9
- package/dist/types/deprecated/typography/z-typography/index.d.ts +11 -11
- package/dist/types/deprecated/z-table-deprecated/z-table-body/index.d.ts +8 -8
- package/dist/types/deprecated/z-table-deprecated/z-table-cell/index.d.ts +14 -14
- package/dist/types/deprecated/z-table-deprecated/z-table-deprecated/index.d.ts +59 -59
- package/dist/types/deprecated/z-table-deprecated/z-table-empty-box/index.d.ts +15 -15
- package/dist/types/deprecated/z-table-deprecated/z-table-expanded-row/index.d.ts +8 -8
- package/dist/types/deprecated/z-table-deprecated/z-table-footer/index.d.ts +8 -8
- package/dist/types/deprecated/z-table-deprecated/z-table-head/index.d.ts +8 -8
- package/dist/types/deprecated/z-table-deprecated/z-table-header/index.d.ts +31 -31
- package/dist/types/deprecated/z-table-deprecated/z-table-header-row/index.d.ts +9 -9
- package/dist/types/deprecated/z-table-deprecated/z-table-row/index.d.ts +16 -16
- package/dist/types/deprecated/z-table-deprecated/z-table-sticky-footer/index.d.ts +7 -7
- package/dist/types/index.d.ts +7 -7
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +16 -16
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +19 -19
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +7 -7
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +12 -12
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +24 -24
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +34 -34
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +7 -7
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +19 -19
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +9 -9
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +36 -36
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +9 -9
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +11 -11
- package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +25 -25
- package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +16 -16
- package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +25 -25
- package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +12 -12
- package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +18 -18
- package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +7 -7
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +9 -9
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +17 -17
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +30 -30
- package/dist/types/stencil-public-runtime.d.ts +0 -0
- package/dist/types/utils/storybook-utils.d.ts +50 -0
- package/dist/types/utils/utils.d.ts +24 -24
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-4d1bfd27.entry.js → p-0441c402.entry.js} +1 -1
- package/dist/web-components-library/{p-2048f7fd.js → p-0b942ef3.js} +1 -1
- package/dist/web-components-library/{p-5e44e5d6.js → p-0f21c603.js} +1 -1
- package/{www/build/p-56b6bdee.entry.js → dist/web-components-library/p-0fdfb35a.entry.js} +1 -1
- package/dist/web-components-library/p-1286f8d5.entry.js +1 -0
- package/{www/build/p-6471c0c0.entry.js → dist/web-components-library/p-12a80f86.entry.js} +1 -1
- package/dist/web-components-library/p-14f41eb8.entry.js +1 -0
- package/{www/build/p-bf2b7873.entry.js → dist/web-components-library/p-18b15bde.entry.js} +1 -1
- package/dist/web-components-library/{p-41edaef5.entry.js → p-1a0a6e6d.entry.js} +1 -1
- package/dist/web-components-library/p-1f29a72f.entry.js +1 -0
- package/dist/web-components-library/{p-9aa00487.entry.js → p-24920ca3.entry.js} +1 -1
- package/dist/web-components-library/{p-9d57a84c.entry.js → p-25678da1.entry.js} +1 -1
- package/dist/web-components-library/{p-dacd3f1c.entry.js → p-2a124a35.entry.js} +1 -1
- package/dist/web-components-library/{p-154596ad.js → p-2ae405b7.js} +1 -1
- package/dist/web-components-library/p-32c35c74.entry.js +1 -0
- package/dist/web-components-library/{p-d29ea450.entry.js → p-33a922eb.entry.js} +1 -1
- package/dist/web-components-library/{p-64d31483.entry.js → p-355615d0.entry.js} +1 -1
- package/dist/web-components-library/{p-afc6ab06.entry.js → p-3f913141.entry.js} +1 -1
- package/dist/web-components-library/{p-8b569b6d.entry.js → p-416c2676.entry.js} +1 -1
- package/dist/web-components-library/{p-81ddf701.entry.js → p-474e024e.entry.js} +1 -1
- package/dist/web-components-library/{p-ae3e1a0c.entry.js → p-4b9298f9.entry.js} +1 -1
- package/dist/web-components-library/{p-f5d0b23c.entry.js → p-4e6088ef.entry.js} +1 -1
- package/dist/web-components-library/{p-14db3f16.entry.js → p-5012c9d8.entry.js} +1 -1
- package/dist/web-components-library/{p-0f105c93.entry.js → p-639ca520.entry.js} +1 -1
- package/dist/web-components-library/{p-84eae689.entry.js → p-643dfe5f.entry.js} +1 -1
- package/dist/web-components-library/p-660e86f4.entry.js +1 -0
- package/dist/web-components-library/p-6b5e12c3.entry.js +1 -0
- package/dist/web-components-library/p-6bec47c3.entry.js +1 -0
- package/dist/web-components-library/p-6f172f88.entry.js +1 -0
- package/{www/build/p-89ff7737.entry.js → dist/web-components-library/p-6f511d95.entry.js} +1 -1
- package/{www/build/p-dc12178a.entry.js → dist/web-components-library/p-7119bf08.entry.js} +1 -1
- package/dist/web-components-library/p-715c4b12.entry.js +1 -0
- package/dist/web-components-library/p-74a062db.js +1 -0
- package/dist/web-components-library/{p-41a5c5e5.entry.js → p-7591cd84.entry.js} +1 -1
- package/dist/web-components-library/p-766d9faa.js +1 -0
- package/dist/web-components-library/{p-56f60c6a.entry.js → p-7bed3156.entry.js} +1 -1
- package/{www/build/p-ea1da059.entry.js → dist/web-components-library/p-7d9cd5e8.entry.js} +1 -1
- package/dist/web-components-library/{p-f0e77199.entry.js → p-7ef2b6d6.entry.js} +1 -1
- package/dist/web-components-library/{p-113c954a.entry.js → p-837d9c29.entry.js} +1 -1
- package/dist/web-components-library/p-83f1f83e.entry.js +1 -0
- package/dist/web-components-library/{p-7ee11ba1.js → p-8b7c4150.js} +1 -1
- package/dist/web-components-library/p-92323d2d.entry.js +1 -0
- package/{www/build/p-bda1a21d.entry.js → dist/web-components-library/p-924ab522.entry.js} +1 -1
- package/dist/web-components-library/{p-296e588e.js → p-9718b060.js} +1 -1
- package/{www/build/p-67de2116.entry.js → dist/web-components-library/p-989fbd90.entry.js} +1 -1
- package/dist/web-components-library/{p-4b2d6644.entry.js → p-9be87865.entry.js} +1 -1
- package/dist/web-components-library/{p-1c7aba64.js → p-a9b6ecb4.js} +1 -1
- package/dist/web-components-library/{p-2d200dad.entry.js → p-ac5efe28.entry.js} +1 -1
- package/dist/web-components-library/p-b0678fbb.entry.js +1 -0
- package/dist/web-components-library/p-b198f17c.entry.js +1 -0
- package/{www/build/p-c00965c4.entry.js → dist/web-components-library/p-b4d54364.entry.js} +1 -1
- package/dist/web-components-library/{p-f2ea3bb8.entry.js → p-b7ad13c0.entry.js} +1 -1
- package/dist/web-components-library/p-b92e9444.entry.js +1 -0
- package/dist/web-components-library/p-c5e5dd5f.entry.js +1 -0
- package/dist/web-components-library/{p-52eb563a.entry.js → p-c9eac6c5.entry.js} +1 -1
- package/{www/build/p-9ffa2dae.entry.js → dist/web-components-library/p-cae9bff7.entry.js} +1 -1
- package/dist/web-components-library/{p-6e6805d5.entry.js → p-ceeead94.entry.js} +1 -1
- package/dist/web-components-library/p-d24f9faa.entry.js +1 -0
- package/dist/web-components-library/{p-ad65fde5.js → p-d8ef97da.js} +1 -1
- package/dist/web-components-library/p-d94bd52c.js +1 -0
- package/dist/web-components-library/p-db662a47.entry.js +1 -0
- package/{www/build/p-f9b9a421.entry.js → dist/web-components-library/p-dbfffa35.entry.js} +1 -1
- package/dist/web-components-library/{p-44ead284.entry.js → p-dc16d2ae.entry.js} +1 -1
- package/dist/web-components-library/{p-22787002.entry.js → p-ddff6bf7.entry.js} +1 -1
- package/{www/build/p-a9fa12f2.entry.js → dist/web-components-library/p-e052bfbe.entry.js} +1 -1
- package/dist/web-components-library/{p-0b4b3dfc.entry.js → p-e0ba6ee7.entry.js} +1 -1
- package/dist/web-components-library/{p-f4b9b5d9.entry.js → p-e320f343.entry.js} +1 -1
- package/dist/web-components-library/{p-62b22c3c.entry.js → p-e4a7cdaf.entry.js} +1 -1
- package/dist/web-components-library/{p-4106dffc.js → p-ec00fcea.js} +1 -1
- package/dist/web-components-library/p-ef3bdc76.entry.js +1 -0
- package/dist/web-components-library/{p-7609f9d7.entry.js → p-fa7fa70f.entry.js} +1 -1
- package/dist/web-components-library/p-fe02209d.entry.js +1 -0
- package/dist/web-components-library/web-components-library.css +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/loader/cdn.js +0 -0
- package/loader/index.cjs.js +0 -0
- package/loader/index.d.ts +0 -0
- package/loader/index.es2017.js +0 -0
- package/loader/index.js +0 -0
- package/loader/package.json +0 -0
- package/package.json +106 -106
- package/react/components.d.ts +100 -99
- package/react/components.js +106 -105
- package/react/components.js.map +1 -1
- package/react/index.d.ts +1 -1
- package/react/index.js +13 -13
- package/react/react-component-lib/createComponent.d.ts +10 -10
- package/react/react-component-lib/createComponent.js +97 -97
- package/react/react-component-lib/createOverlayComponent.d.ts +21 -21
- package/react/react-component-lib/createOverlayComponent.js +115 -115
- package/react/react-component-lib/index.d.ts +2 -2
- package/react/react-component-lib/index.js +7 -7
- package/react/react-component-lib/interfaces.d.ts +29 -29
- package/react/react-component-lib/interfaces.js +2 -2
- package/react/react-component-lib/utils/attachProps.d.ts +12 -12
- package/react/react-component-lib/utils/attachProps.js +104 -104
- package/react/react-component-lib/utils/case.d.ts +2 -2
- package/react/react-component-lib/utils/case.js +11 -11
- package/react/react-component-lib/utils/dev.d.ts +2 -2
- package/react/react-component-lib/utils/dev.js +17 -17
- package/react/react-component-lib/utils/index.d.ts +10 -10
- package/react/react-component-lib/utils/index.js +53 -53
- package/readme.md +280 -280
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-4d1bfd27.entry.js → p-0441c402.entry.js} +1 -1
- package/www/build/{p-2048f7fd.js → p-0b942ef3.js} +1 -1
- package/www/build/{p-5e44e5d6.js → p-0f21c603.js} +1 -1
- package/{dist/web-components-library/p-56b6bdee.entry.js → www/build/p-0fdfb35a.entry.js} +1 -1
- package/www/build/p-1286f8d5.entry.js +1 -0
- package/{dist/web-components-library/p-6471c0c0.entry.js → www/build/p-12a80f86.entry.js} +1 -1
- package/www/build/p-14f41eb8.entry.js +1 -0
- package/{dist/web-components-library/p-bf2b7873.entry.js → www/build/p-18b15bde.entry.js} +1 -1
- package/www/build/{p-41edaef5.entry.js → p-1a0a6e6d.entry.js} +1 -1
- package/www/build/p-1f29a72f.entry.js +1 -0
- package/www/build/{p-9aa00487.entry.js → p-24920ca3.entry.js} +1 -1
- package/www/build/{p-9d57a84c.entry.js → p-25678da1.entry.js} +1 -1
- package/www/build/{p-dacd3f1c.entry.js → p-2a124a35.entry.js} +1 -1
- package/www/build/{p-154596ad.js → p-2ae405b7.js} +1 -1
- package/www/build/p-32c35c74.entry.js +1 -0
- package/www/build/{p-d29ea450.entry.js → p-33a922eb.entry.js} +1 -1
- package/www/build/{p-64d31483.entry.js → p-355615d0.entry.js} +1 -1
- package/www/build/{p-afc6ab06.entry.js → p-3f913141.entry.js} +1 -1
- package/www/build/{p-8b569b6d.entry.js → p-416c2676.entry.js} +1 -1
- package/www/build/{p-81ddf701.entry.js → p-474e024e.entry.js} +1 -1
- package/www/build/{p-ae3e1a0c.entry.js → p-4b9298f9.entry.js} +1 -1
- package/www/build/{p-f5d0b23c.entry.js → p-4e6088ef.entry.js} +1 -1
- package/www/build/{p-14db3f16.entry.js → p-5012c9d8.entry.js} +1 -1
- package/www/build/{p-0f105c93.entry.js → p-639ca520.entry.js} +1 -1
- package/www/build/{p-84eae689.entry.js → p-643dfe5f.entry.js} +1 -1
- package/www/build/p-660e86f4.entry.js +1 -0
- package/www/build/p-6b5e12c3.entry.js +1 -0
- package/www/build/p-6bec47c3.entry.js +1 -0
- package/www/build/p-6f172f88.entry.js +1 -0
- package/{dist/web-components-library/p-89ff7737.entry.js → www/build/p-6f511d95.entry.js} +1 -1
- package/{dist/web-components-library/p-dc12178a.entry.js → www/build/p-7119bf08.entry.js} +1 -1
- package/www/build/p-715c4b12.entry.js +1 -0
- package/www/build/p-74a062db.js +1 -0
- package/www/build/{p-41a5c5e5.entry.js → p-7591cd84.entry.js} +1 -1
- package/www/build/p-766d9faa.js +1 -0
- package/www/build/{p-56f60c6a.entry.js → p-7bed3156.entry.js} +1 -1
- package/{dist/web-components-library/p-ea1da059.entry.js → www/build/p-7d9cd5e8.entry.js} +1 -1
- package/www/build/{p-f0e77199.entry.js → p-7ef2b6d6.entry.js} +1 -1
- package/www/build/{p-113c954a.entry.js → p-837d9c29.entry.js} +1 -1
- package/www/build/p-83f1f83e.entry.js +1 -0
- package/www/build/{p-7ee11ba1.js → p-8b7c4150.js} +1 -1
- package/www/build/p-92323d2d.entry.js +1 -0
- package/{dist/web-components-library/p-bda1a21d.entry.js → www/build/p-924ab522.entry.js} +1 -1
- package/www/build/{p-296e588e.js → p-9718b060.js} +1 -1
- package/{dist/web-components-library/p-67de2116.entry.js → www/build/p-989fbd90.entry.js} +1 -1
- package/www/build/{p-4b2d6644.entry.js → p-9be87865.entry.js} +1 -1
- package/www/build/{p-f39bb490.css → p-a40d8aad.css} +1 -1
- package/www/build/{p-1c7aba64.js → p-a9b6ecb4.js} +1 -1
- package/www/build/{p-2d200dad.entry.js → p-ac5efe28.entry.js} +1 -1
- package/www/build/p-b0678fbb.entry.js +1 -0
- package/www/build/p-b198f17c.entry.js +1 -0
- package/{dist/web-components-library/p-c00965c4.entry.js → www/build/p-b4d54364.entry.js} +1 -1
- package/www/build/{p-f2ea3bb8.entry.js → p-b7ad13c0.entry.js} +1 -1
- package/www/build/p-b92e9444.entry.js +1 -0
- package/www/build/p-c5e5dd5f.entry.js +1 -0
- package/www/build/{p-52eb563a.entry.js → p-c9eac6c5.entry.js} +1 -1
- package/{dist/web-components-library/p-9ffa2dae.entry.js → www/build/p-cae9bff7.entry.js} +1 -1
- package/www/build/{p-6e6805d5.entry.js → p-ceeead94.entry.js} +1 -1
- package/www/build/p-d24f9faa.entry.js +1 -0
- package/www/build/{p-ad65fde5.js → p-d8ef97da.js} +1 -1
- package/www/build/p-d94bd52c.js +1 -0
- package/www/build/p-db662a47.entry.js +1 -0
- package/{dist/web-components-library/p-f9b9a421.entry.js → www/build/p-dbfffa35.entry.js} +1 -1
- package/www/build/{p-44ead284.entry.js → p-dc16d2ae.entry.js} +1 -1
- package/www/build/{p-22787002.entry.js → p-ddff6bf7.entry.js} +1 -1
- package/{dist/web-components-library/p-a9fa12f2.entry.js → www/build/p-e052bfbe.entry.js} +1 -1
- package/www/build/{p-0b4b3dfc.entry.js → p-e0ba6ee7.entry.js} +1 -1
- package/www/build/{p-f4b9b5d9.entry.js → p-e320f343.entry.js} +1 -1
- package/www/build/{p-62b22c3c.entry.js → p-e4a7cdaf.entry.js} +1 -1
- package/www/build/{p-4106dffc.js → p-ec00fcea.js} +1 -1
- package/www/build/p-ef3bdc76.entry.js +1 -0
- package/www/build/{p-7609f9d7.entry.js → p-fa7fa70f.entry.js} +1 -1
- package/www/build/p-fc889040.js +1 -0
- package/www/build/p-fe02209d.entry.js +1 -0
- package/www/build/web-components-library.css +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/build/web-components-library.js +0 -0
- package/www/host.config.json +0 -0
- package/www/index.html +1 -1
- package/www/pages/book-cards.html +595 -595
- package/www/pages/file-upload.html +258 -258
- package/www/pages/notification.html +299 -299
- package/CHANGELOG.md +0 -2668
- package/dist/web-components-library/p-051b9116.entry.js +0 -1
- package/dist/web-components-library/p-08cc3d1b.entry.js +0 -1
- package/dist/web-components-library/p-13a9791b.entry.js +0 -1
- package/dist/web-components-library/p-1ae044cc.entry.js +0 -1
- package/dist/web-components-library/p-20a2755f.entry.js +0 -1
- package/dist/web-components-library/p-26e27235.entry.js +0 -1
- package/dist/web-components-library/p-2fab41fb.entry.js +0 -1
- package/dist/web-components-library/p-43478f5b.entry.js +0 -1
- package/dist/web-components-library/p-64759e9f.js +0 -1
- package/dist/web-components-library/p-64d902c6.entry.js +0 -1
- package/dist/web-components-library/p-8e334a37.entry.js +0 -1
- package/dist/web-components-library/p-a13b6a71.entry.js +0 -1
- package/dist/web-components-library/p-a4254712.entry.js +0 -1
- package/dist/web-components-library/p-aa5e3e61.js +0 -1
- package/dist/web-components-library/p-ac9881cd.entry.js +0 -1
- package/dist/web-components-library/p-b1fbf330.entry.js +0 -1
- package/dist/web-components-library/p-c76e27b4.entry.js +0 -1
- package/dist/web-components-library/p-cd14f3f5.entry.js +0 -1
- package/dist/web-components-library/p-ceb3d607.entry.js +0 -1
- package/dist/web-components-library/p-e1d9785e.js +0 -1
- package/dist/web-components-library/p-faf0ddeb.entry.js +0 -1
- package/src-react/index.ts +0 -1
- package/www/build/p-051b9116.entry.js +0 -1
- package/www/build/p-08cc3d1b.entry.js +0 -1
- package/www/build/p-0e48a852.js +0 -1
- package/www/build/p-13a9791b.entry.js +0 -1
- package/www/build/p-1ae044cc.entry.js +0 -1
- package/www/build/p-20a2755f.entry.js +0 -1
- package/www/build/p-26e27235.entry.js +0 -1
- package/www/build/p-2fab41fb.entry.js +0 -1
- package/www/build/p-43478f5b.entry.js +0 -1
- package/www/build/p-64759e9f.js +0 -1
- package/www/build/p-64d902c6.entry.js +0 -1
- package/www/build/p-8e334a37.entry.js +0 -1
- package/www/build/p-a13b6a71.entry.js +0 -1
- package/www/build/p-a4254712.entry.js +0 -1
- package/www/build/p-aa5e3e61.js +0 -1
- package/www/build/p-ac9881cd.entry.js +0 -1
- package/www/build/p-b1fbf330.entry.js +0 -1
- package/www/build/p-c76e27b4.entry.js +0 -1
- package/www/build/p-cd14f3f5.entry.js +0 -1
- package/www/build/p-ceb3d607.entry.js +0 -1
- package/www/build/p-e1d9785e.js +0 -1
- package/www/build/p-faf0ddeb.entry.js +0 -1
- /package/dist/web-components-library/{p-2b3cf51a.js → p-01f1bdd5.js} +0 -0
- /package/dist/web-components-library/{p-f6a7b40e.js → p-1b0964b5.js} +0 -0
- /package/dist/web-components-library/{p-b497e33e.js → p-37037d9d.js} +0 -0
- /package/dist/web-components-library/{p-def17ce8.js → p-5aa7a151.js} +0 -0
- /package/dist/web-components-library/{p-62b89a37.js → p-65faafdd.js} +0 -0
- /package/dist/web-components-library/{p-30771d25.js → p-8539a4cf.js} +0 -0
- /package/dist/web-components-library/{p-4ae2fe27.js → p-87f0297b.js} +0 -0
- /package/dist/web-components-library/{p-2773516d.js → p-9fd60dd8.js} +0 -0
- /package/dist/web-components-library/{p-ab4773c6.js → p-b35b3d91.js} +0 -0
- /package/dist/web-components-library/{p-75b94adb.js → p-dcdb2dee.js} +0 -0
- /package/www/build/{p-2b3cf51a.js → p-01f1bdd5.js} +0 -0
- /package/www/build/{p-f6a7b40e.js → p-1b0964b5.js} +0 -0
- /package/www/build/{p-b497e33e.js → p-37037d9d.js} +0 -0
- /package/www/build/{p-def17ce8.js → p-5aa7a151.js} +0 -0
- /package/www/build/{p-62b89a37.js → p-65faafdd.js} +0 -0
- /package/www/build/{p-30771d25.js → p-8539a4cf.js} +0 -0
- /package/www/build/{p-4ae2fe27.js → p-87f0297b.js} +0 -0
- /package/www/build/{p-2773516d.js → p-9fd60dd8.js} +0 -0
- /package/www/build/{p-ab4773c6.js → p-b35b3d91.js} +0 -0
- /package/www/build/{p-75b94adb.js → p-dcdb2dee.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as o,H as a,g as e}from"./p-d17ebc2f.js";import{C as r}from"./p-
|
|
1
|
+
import{r as t,h as o,H as a,g as e}from"./p-d17ebc2f.js";import{C as r}from"./p-74a062db.js";const i=class{constructor(o){t(this,o),this.showShadow=!1,this.clickable=!1}componentWillLoad(){this.hasCoverImage=null!==this.host.querySelector('[slot="cover"]')}renderColorCoverCard(){return[o("div",{class:"cover-container"},o("div",{class:"color-cover"},o("div",{class:"cover-content"},o("slot",{name:"metadata"}),o("slot",{name:"title"})))),o("div",{class:"content"},o("slot",{name:"text"}),o("div",{class:"actions"},o("slot",{name:"action"})))]}renderContentDiv(){return o("div",{class:"content"},o("slot",{name:"metadata"}),o("slot",{name:"title"}),o("slot",{name:"text"}),o("div",{class:"actions"},o("slot",{name:"action"})))}render(){return this.variant===r.TEXT?o(a,null,this.renderContentDiv()):this.variant===r.OVERLAY||this.hasCoverImage?o(a,null,o("div",{class:"cover-container"},this.hasCoverImage&&[o("slot",{name:"cover"}),this.variant!==r.OVERLAY&&this.coverIcon&&o("z-icon",{name:this.coverIcon})],!this.hasCoverImage&&o("div",{class:"color-cover"})),this.renderContentDiv()):o(a,null,this.renderColorCoverCard())}get host(){return e(this)}};i.style=':host{--aspect-ratio:1.62;--z-card--border-color:var(--gray200);--z-card--color-cover-background:var(--color-surface01);--z-card--text-background:var(--color-surface01);--z-card--text-border-radius:none;--z-card--text-border:none;--z-card--text-padding:calc(var(--space-unit) * 2) var(--space-unit);position:relative;display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}*,::slotted(*){box-sizing:border-box}:host(:not([variant="overlay"])) .cover-container{position:relative;width:100%}.cover-container{padding-bottom:calc(100% / var(--aspect-ratio))}::slotted([slot="cover"]),.color-cover{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.cover-container>z-icon{--z-icon-width:calc(var(--space-unit) * 11);--z-icon-height:var(--z-icon-width);position:absolute;top:calc(50% - calc(var(--z-icon-height) / 2));left:calc(50% - calc(var(--z-icon-width) / 2));fill:var(--color-primary01)}.color-cover{background-color:var(--z-card--color-cover-background)}.content{display:flex;flex-direction:column;padding-top:var(--space-unit)}.color-cover .cover-content{display:flex;height:100%;flex-direction:column;justify-content:flex-end;padding:var(--space-unit)}::slotted([slot="metadata"]),::slotted([slot="title"]),::slotted([slot="text"]){display:box;overflow:hidden;-webkit-box-orient:vertical}::slotted([slot="title"]:not(:last-child)),::slotted([slot="text"]:not(:last-child)){margin-bottom:var(--space-unit)}::slotted([slot="title"])::before{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;content:""}::slotted([slot="metadata"]:not(:last-child)){margin:0 0 calc(var(--space-unit) * 0.25);-webkit-line-clamp:1;text-transform:uppercase}::slotted([slot="title"]){margin:0;color:inherit;font-size:inherit;font-weight:var(--font-sb);-webkit-line-clamp:2;text-decoration:none}::slotted([slot="text"]){margin:0;-webkit-line-clamp:3}.actions{position:relative;z-index:2;display:flex;width:fit-content;flex-direction:row;align-items:center}::slotted([slot="action"]:not(:last-child)){margin-right:calc(var(--space-unit) * 2)}:host([clickable]) ::slotted([slot="title"]:focus:focus-visible)::before{box-shadow:var(--shadow-focus-primary)}:host([clickable]) ::slotted([slot="title"]:focus:focus-visible){outline:none}:host([variant="text"]){border:var(--z-card--text-border);background-color:var(--z-card--text-background);border-radius:var(--z-card--text-border-radius)}:host([show-shadow])>.content,:host([variant="border"])>.content,:host([variant="shadow"])>.content{height:100%;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2)}:host([variant="text"])>.content{padding:var(--z-card--text-padding)}:host([variant="border"]) .actions,:host([variant="shadow"]) .actions{margin-top:auto}:host([variant="border"]){border:var(--border-size-small) solid var(--z-card--border-color)}:host([variant="border"][clickable]:hover)>.content{background:var(--color-background)}:host([variant="border"][clickable]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant="border"][clickable]:active){border-color:transparent}:host([variant="shadow"]),:host([show-shadow]){box-shadow:var(--shadow-2)}:host([variant="shadow"][clickable]:hover),:host([clickable][show-shadow]:hover){box-shadow:var(--shadow-4)}:host([variant="shadow"][clickable]:focus:focus-visible),:host([clickable][show-shadow]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant="shadow"][clickable]:active),:host([clickable][show-shadow]:active){box-shadow:none}:host([variant="overlay"]) .content{position:absolute;top:0;right:0;bottom:0;left:0;justify-content:flex-end;padding:var(--space-unit);background-image:linear-gradient(to top, rgb(0 0 0 / 100%), rgb(0 0 0 / 0%));color:var(--color-text-inverse);fill:var(--color-text-inverse)}';export{i as z_card}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{Z as z_tfoot}from"./p-8539a4cf.js";import"./p-d17ebc2f.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,c as t,h as n}from"./p-d17ebc2f.js";import{P as e}from"./p-
|
|
1
|
+
import{r as i,c as t,h as n}from"./p-d17ebc2f.js";import{P as e}from"./p-74a062db.js";import{a as s}from"./p-766d9faa.js";import"./p-37037d9d.js";const o=class{constructor(n){i(this,n),this.flipCard=t(this,"flipCard",7),this.htmltabindex=0,this.hiddenContent=!1,this.tooltip=!1,this.emitFlipCard=this.emitFlipCard.bind(this)}emitFlipCard(i=!1){this.flipCard.emit(i)}componentWillLoad(){this.setStringOrArray()}componentWillUpdate(){this.setStringOrArray()}componentDidRender(){this.handleContentHeight()}handleContentHeight(){if(this.contentWrapper||this.infoWrapper){if(this.contentWrapper.scrollHeight>this.contentWrapper.offsetHeight||this.infoWrapper.scrollHeight>this.infoWrapper.offsetHeight)return this.infoWrapper.style.height=this.contentWrapper.offsetHeight-this.onlineLicenseWrapper.offsetHeight-this.offlineLicenseWrapper.offsetHeight+"px",void(this.hiddenContent=!0);this.hiddenContent=!1}else this.hiddenContent=!1}setStringOrArray(){this.cardData="string"==typeof this.data?JSON.parse(this.data):this.data}renderCloseIcon(){return n("z-icon",{name:"multiply-circled-filled",height:18,width:18,onClick:()=>this.emitFlipCard(!1),tabindex:this.htmltabindex,onKeyUp:i=>{s(i,this.emitFlipCard,!1)}})}renderGeneralSection(){var i,t;const e=null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.title,s=null===(t=null==this?void 0:this.cardData)||void 0===t?void 0:t.description;return n("section",{class:"info-wrapper "+(this.hiddenContent?"hidden":""),onClick:()=>{this.hiddenContent&&(this.tooltip=!this.tooltip)},ref:i=>this.infoWrapper=i},this.renderAuthor(),this.renderYear(),e,n("br",null),s)}renderAuthor(){var i;const t=null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.author;return t?n("span",null,"Autore: ",n("b",null,t),n("br",null)):null}renderYear(){var i;const t=null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.year;return t?n("span",null,"Anno: ",n("b",null,t),n("br",null)):null}renderTooltip(){if(!this.tooltip)return;if(!this.cardData)return;const{title:i,year:t,author:s,description:o}=this.cardData;return n("z-popover",{position:e.RIGHT,onClick:()=>this.tooltip=!1},`${i} ${t} ${s} ${o}`)}setExpirationLicenseMessage(i){return"online"===i&&this.cardData.onlineLicense.expired||"offline"===i&&this.cardData.offlineLicense.expired?n("span",{class:"expired"},"SCADUTA"):"online"===i&&this.cardData.onlineLicense.expiring||"offline"===i&&this.cardData.offlineLicense.expiring?n("span",{class:"expiring"},"IN SCADENZA"):void 0}renderOnlineLicenseSection(){var i;if(null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.onlineLicense)return n("section",{ref:i=>this.onlineLicenseWrapper=i},n("span",{class:"license-heading"},n("span",null,"Licenza online"),this.setExpirationLicenseMessage("online")),"Scadenza il ",n("b",null,this.cardData.onlineLicense.expiration),n("br",null))}renderOfflineLicenseSection(){var i;if(null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.offlineLicense)return n("section",{ref:i=>this.offlineLicenseWrapper=i},n("span",{class:"license-heading"},n("span",null,"Licenza offline"),this.setExpirationLicenseMessage("offline")),"Scadenza il ",n("b",null,this.cardData.offlineLicense.expiration),n("br",null),"Installazioni disponibili: ",n("b",null,this.cardData.offlineLicense.installations))}render(){return n("div",null,this.renderCloseIcon(),n("div",{class:"content-wrapper",ref:i=>this.contentWrapper=i},this.renderGeneralSection(),this.renderTooltip(),this.renderOnlineLicenseSection(),this.renderOfflineLicenseSection()),n("div",{class:"cta-wrapper"},n("slot",null)))}};o.style=':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-secondary02);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)}';export{o as z_myz_card_info}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as a,H as e}from"./p-d17ebc2f.js";const n=class{constructor(a){r(this,a)}render(){return a(e,null)}};n.style=':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%)}}';export{n as z_ghost_loading}
|
|
1
|
+
import{r,h as a,H as e}from"./p-d17ebc2f.js";const n=class{constructor(a){r(this,a)}render(){return a(e,null)}};n.style=':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(\r\n 90deg,\r\n var(--bg-neutral-100) 0%,\r\n var(--bg-neutral-150) 95%,\r\n var(--bg-neutral-100) 100%\r\n );box-shadow:#e8ebee20 0 0 1px;content:" "}@keyframes progress{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}';export{n as z_ghost_loading}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,H as n,g as o}from"./p-d17ebc2f.js";import{d as s,a as
|
|
1
|
+
import{r as t,h as i,H as n,g as o}from"./p-d17ebc2f.js";import{d as s,a as c}from"./p-766d9faa.js";import{T as e}from"./p-74a062db.js";import"./p-37037d9d.js";const l=class{constructor(i){t(this,i),this.links=[],this.visible=!1,this.visibleLink=""}handleFocusOutSkipToContent(t){this.isInSkipToContent(t.target)&&(this.visible=!1)}handleFocusSkipToContent(t){this.isInSkipToContent(t.target)&&(this.visible=!0)}componentDidLoad(){this.showFirstChild()}componentWillRender(){this.links&&(this.links="string"==typeof this.links?JSON.parse(this.links):this.links)}isInSkipToContent(t){return!!s(t).find((t=>"z-skip-to-content"===t.nodeName.toLowerCase()))}showFirstChild(){var t;const i=null===(t=this.hostElement.children)||void 0===t?void 0:t[0];i&&(this.visibleLink=i.id)}handleLinkClick(){this.visible=!1}render(){return i(n,{class:{[this.variant]:!0,"skip-to-content-visible":this.visible}},this.links.map(((t,n)=>{const o=`skip-to-content-${n}`;return i("z-link",{id:o,underline:!0,"aria-label":t.ariaLabel||t.label,class:"body-1-sb "+(o==this.visibleLink?"link-visible":"link-invisible"),href:t.href,textcolor:this.variant===e.DARK?"white":"black",onFocus:()=>this.visibleLink=o,onClick:()=>this.handleLinkClick(),onKeyUp:t=>c(t,this.handleLinkClick.bind(this))},t.label)})))}get hostElement(){return o(this)}};l.style=".sc-z-skip-to-content-h{position:absolute;left:-100%;height:60px;box-sizing:border-box;padding:calc(var(--space-unit) * 1.25) calc(var(--space-unit) * 3);background-color:#24f4ff;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.skip-to-content-visible.sc-z-skip-to-content-h,.sc-z-skip-to-content-h:focus{position:static;display:block}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{display:block;text-align:center}.sc-z-skip-to-content-h>z-link.link-invisible.sc-z-skip-to-content{overflow:hidden;width:0;height:0}.sc-z-skip-to-content-h>z-link.link-visible.sc-z-skip-to-content{width:initial;height:initial}.dark.sc-z-skip-to-content-h{background-color:var(--bg-grey-800);color:var(--color-white)}.light.sc-z-skip-to-content-h{border:2px solid var(--text-grey-800);background-color:var(--bg-white);color:var(--text-grey-800)}@media (min-width: 768px){.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{text-align:left}}@media (min-width: 1152px){.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{display:inline-block;padding:0 calc(var(--space-unit) * 3);border-right:1px solid var(--bg-grey-800)}.sc-z-skip-to-content-h>z-link.link-invisible.sc-z-skip-to-content{overflow:initial;width:initial;height:initial}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:first-child{padding-left:0}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child,.dark.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child,.light.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child{padding-right:0;border-right:none}.dark.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{border-right:1px solid var(--bg-white)}}";export{l as z_skip_to_content}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,h as t,H as c,g as s}from"./p-d17ebc2f.js";const e=class{constructor(t){a(this,t),this.message="Siamo spiacenti, al momento non sono presenti dati da visualizzare.",this.subtitle=""}componentWillLoad(){this.hasCta1Slot=!!this.hostElement.querySelector('[slot="cta1"]'),this.hasCta2Slot=!!this.hostElement.querySelector('[slot="cta2"]')}render(){return t(c,null,t("span",{class:"body-3-sb"},this.message),t("br",null),!!this.subtitle&&t("span",{class:"body-4"},this.subtitle),(!!this.hasCta1Slot||!!this.hasCta2Slot)&&t("div",{class:{cta:!0,"has-2-cta":!!this.hasCta1Slot&&!!this.hasCta2Slot}},t("slot",{name:"cta1"}),t("slot",{name:"cta2"})))}get hostElement(){return s(this)}};e.style=".sc-z-table-empty-box-h{display:block;padding:calc(var(--space-unit)) calc(var(--space-unit) * 3) calc(var(--space-unit) * 3) calc(var(--space-unit) * 3);background-color:var(--bg-white)}.sc-z-table-empty-box-s>*{margin-top:var(--space-unit)}.cta.sc-z-table-empty-box{display:flex;flex-direction:row;margin-top:calc(var(--space-unit) / 2)}.cta.has-2-cta.sc-z-table-empty-box{flex-direction:column}@media only screen and (min-width: 768px){.sc-z-table-empty-box-h{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 7) calc(var(--space-unit) * 3)\n calc(var(--space-unit) * 7)}.sc-z-table-empty-box-s>*{margin-right:calc(var(--space-unit) * 2)}.cta.sc-z-table-empty-box{margin-top:var(--space-unit)}.cta.has-2-cta.sc-z-table-empty-box{flex-direction:row}}";export{e as Z}
|
|
1
|
+
import{r as a,h as t,H as c,g as s}from"./p-d17ebc2f.js";const e=class{constructor(t){a(this,t),this.message="Siamo spiacenti, al momento non sono presenti dati da visualizzare.",this.subtitle=""}componentWillLoad(){this.hasCta1Slot=!!this.hostElement.querySelector('[slot="cta1"]'),this.hasCta2Slot=!!this.hostElement.querySelector('[slot="cta2"]')}render(){return t(c,null,t("span",{class:"body-3-sb"},this.message),t("br",null),!!this.subtitle&&t("span",{class:"body-4"},this.subtitle),(!!this.hasCta1Slot||!!this.hasCta2Slot)&&t("div",{class:{cta:!0,"has-2-cta":!!this.hasCta1Slot&&!!this.hasCta2Slot}},t("slot",{name:"cta1"}),t("slot",{name:"cta2"})))}get hostElement(){return s(this)}};e.style=".sc-z-table-empty-box-h{display:block;padding:calc(var(--space-unit)) calc(var(--space-unit) * 3) calc(var(--space-unit) * 3) calc(var(--space-unit) * 3);background-color:var(--bg-white)}.sc-z-table-empty-box-s>*{margin-top:var(--space-unit)}.cta.sc-z-table-empty-box{display:flex;flex-direction:row;margin-top:calc(var(--space-unit) / 2)}.cta.has-2-cta.sc-z-table-empty-box{flex-direction:column}@media only screen and (min-width: 768px){.sc-z-table-empty-box-h{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 7) calc(var(--space-unit) * 3)\r\n calc(var(--space-unit) * 7)}.sc-z-table-empty-box-s>*{margin-right:calc(var(--space-unit) * 2)}.cta.sc-z-table-empty-box{margin-top:var(--space-unit)}.cta.has-2-cta.sc-z-table-empty-box{flex-direction:row}}";export{e as Z}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{Z as z_table_empty_box}from"./p-2ae405b7.js";import"./p-d17ebc2f.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as s,H as i}from"./p-d17ebc2f.js";import{A as a}from"./p-
|
|
1
|
+
import{r as t,h as s,H as i}from"./p-d17ebc2f.js";import{A as a}from"./p-74a062db.js";const e=class{constructor(s){var i,e;t(this,s),this.size=a.MEDIUM,this.textColor="text-white",this.backgroundColor="bg-grey-700",0===(null===(i=this.text)||void 0===i?void 0:i.length)&&0===(null===(e=this.image)||void 0===e?void 0:e.length)&&console.warn("z-avatar must contain at least one prop between text and image")}getTextSize(){return this.size===a.SMALL?"5":this.size===a.MEDIUM?"4":this.size===a.LARGE?"2":void 0}render(){return s(i,{class:{[this.size]:!0,[`body-${this.getTextSize()}-sb`]:!0},style:{color:`var(--${this.textColor})`,backgroundColor:`var(--${this.backgroundColor})`}},this.text&&!this.image&&s("span",null,this.text.substring(0,2)),this.image&&s("img",{src:this.image,onError:()=>this.image=""}))}};e.style=":host{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;background-color:var(--bg-grey-700);border-radius:50%;font-family:var(--font-family-sans);text-transform:uppercase}:host(.small),:host(.small)>img{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{width:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";export{e as z_avatar}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as o,h as e,g as r}from"./p-d17ebc2f.js";import{P as i,g as s}from"./p-
|
|
1
|
+
import{r as t,c as o,h as e,g as r}from"./p-d17ebc2f.js";import{P as i,g as s}from"./p-74a062db.js";const n=document.documentElement;function a(t){return t.parentNode.host?t.parentNode.host:t.parentNode}function h(t,o){const e=t.getBoundingClientRect(),r=e.width,i=e.height;let s,n,a=0,h=0,p=t;for(;p&&p!=o;){if(h+=p.offsetLeft,p===document.body?a+=p.getBoundingClientRect().top+window.scrollY:a+=p.offsetTop,window.DOMMatrix){const t=window.getComputedStyle(p),o=new DOMMatrix(t.transform||t.webkitTransform);o&&(h+=o.m41,p!==document.body&&(a+=o.m42))}if(!p.offsetParent)break;p=p.offsetParent}return p===document.body?(s=window.innerWidth,n=window.innerHeight):(s=p.offsetWidth,n=p.offsetHeight),{top:a,right:s-h-e.width,bottom:n-a-e.height,left:h,width:r,height:i}}const p=class{constructor(e){t(this,e),this.positionChange=o(this,"positionChange",7),this.openChange=o(this,"openChange",7),this.position=i.AUTO,this.open=!1,this.showArrow=!1,this.center=!1,this.closable=!0}closePopoverWithKeyboard(t){this.closable&&t.key===s.ESC&&(this.open=!1)}handleOutsideClick(t){if(this.closable&&this.open&&!t.composedPath().includes(this.host)){const o=t.target;(this.bindTo instanceof HTMLElement?this.bindTo.contains(o):o.closest(this.bindTo))&&t.stopPropagation(),this.open=!1,this.positionChange.emit({position:this.currentPosition})}}validatePosition(t){t&&!Object.values(i).includes(t)&&(this.position=i.AUTO),this.currentPosition=this.position,this.positionChange.emit({position:this.currentPosition})}onOpen(){if(cancelAnimationFrame(this.animationFrameRequestId),this.open){const t=()=>{this.open&&(this.setPosition(),this.animationFrameRequestId=requestAnimationFrame(t))};t()}else this.host.hasAttribute("current-position")&&(this.host.removeAttribute("current-position"),this.currentPosition=void 0);this.openChange.emit({open:this.open})}disconnectedCallback(){cancelAnimationFrame(this.animationFrameRequestId)}setPosition(){let t;if(t="string"==typeof this.bindTo?this.host.ownerDocument.querySelector(this.bindTo):this.bindTo?this.bindTo:this.host.parentElement,!t)return;const o=function(t){let o=a(t);for(;o&&o!==n;){const{overflow:t,overflowX:e,overflowY:r}=window.getComputedStyle(o);if("hidden"===t||"hidden"===r||"hidden"===e)return o;if(o.scrollHeight>o.clientHeight&&"visible"!==t&&"visible"!==r||o.scrollWidth>o.clientWidth&&"visible"!==t&&"visible"!==e)return o;o=a(o)}return n}(t),e=o.getBoundingClientRect(),r=this.host.offsetParent,s=r?h(r,o):{top:0,right:0,bottom:0,left:0},p=h(t,o),c=p.top-o.scrollTop,f=e.height-(p.top+p.height)+o.scrollTop,u=p.left-o.scrollLeft,l=e.width-(p.left+p.width)+o.scrollLeft,d=Math.max(0,e.top+e.height-window.innerHeight),b=Math.max(0,e.left+e.width-window.innerWidth),v=Math.min(c,c+e.top),w=Math.min(f,f-d),m=Math.min(u,u+e.left),g=Math.min(l,l-b),x=v+w+p.height,$=m+g+p.width;let y=this.currentPosition;const z=[];this.position===i.AUTO&&(m/$>.6?z.push(i.LEFT):m/$<.4&&z.push(i.RIGHT),v/x>.9?z.unshift(i.TOP):v/x>.6?z.push(i.TOP):v/x<.1?z.unshift(i.BOTTOM):z.push(i.BOTTOM),y=z.join("_"));const _=this.host.style;_.position="absolute";const M=p.top-s.top,k=p.right-s.right,O=p.bottom-s.bottom,P=p.left-s.left,j=this.center?.5:0,C=this.center?.5:0;y===i.TOP||y===i.TOP_RIGHT?(_.top="auto",_.right="auto",_.bottom=`${O+p.height}px`,_.left=`${P+p.width*j}px`,_.maxHeight=`${v}px`,y===i.TOP_RIGHT&&(_.maxWidth=`${g+p.width*C}px`)):y===i.TOP_LEFT?(_.top="auto",_.right=`${k+p.width*j}px`,_.bottom=`${O+p.height}px`,_.left="auto",_.maxWidth=`${m}px`,_.maxHeight=`${v}px`):y===i.BOTTOM||y===i.BOTTOM_RIGHT?(_.top=`${M+p.height}px`,_.right="auto",_.bottom="auto",_.left=`${P+p.width*j}px`,_.maxHeight=`${w}px`,y===i.BOTTOM_RIGHT&&(_.maxWidth=`${g+p.width*C}px`)):y===i.BOTTOM_LEFT?(_.top=`${M+p.height}px`,_.right=`${k+p.width*j}px`,_.bottom="auto",_.left="auto",_.maxWidth=`${m}px`,_.maxHeight=`${w}px`):y===i.RIGHT||y===i.RIGHT_BOTTOM?(_.top=`${M+p.height*j}px`,_.right="auto",_.bottom="auto",_.left=`${P+p.width}px`,_.maxWidth=`${g}px`,_.maxHeight=`${w+p.height*C}px`):y===i.RIGHT_TOP?(_.top="auto",_.right="auto",_.bottom=`${O+p.height*j}px`,_.left=`${P+p.width}px`,_.maxWidth=`${g}px`,_.maxHeight=`${v+p.height*C}px`):y===i.LEFT||y===i.LEFT_BOTTOM?(_.top=`${M+p.height*j}px`,_.right=`${k+p.width}px`,_.bottom="auto",_.left="auto",_.maxWidth=`${m}px`,_.maxHeight=`${w+p.height*C}px`):y===i.LEFT_TOP&&(_.top="auto",_.right=`${k+p.width}px`,_.bottom=`${O+p.height*j}px`,_.left="auto",_.maxWidth=`${m}px`,_.maxHeight=`${v+p.height*C}px`),this.currentPosition=y||this.position,this.host.setAttribute("current-position",this.currentPosition)}componentWillLoad(){this.validatePosition(this.position),this.onOpen()}render(){return e("slot",null)}get host(){return r(this)}static get watchers(){return{position:["validatePosition"],open:["onOpen"]}}};p.style=':host{--z-popover-theme--surface:var(--color-surface01);--z-popover-theme--text:var(--color-text01);--z-popover-padding:0;--z-popover-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base));position:relative;display:none;min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);align-items:center;justify-content:center;padding:var(--z-popover-padding);background:var(--z-popover-theme--surface);border-radius:var(--border-radius-small);color:var(--z-popover-theme--text);fill:currentcolor;filter:var(--z-popover-shadow-filter);font-family:var(--font-family-sans);text-align:center}:host([open][current-position]),:host([open="true"][current-position]){display:flex}:host([center][current-position="top"]),:host([center][current-position="bottom"]){transform:translateX(-50%)}:host([center][current-position="right"]),:host([center][current-position="left"]){transform:translateY(-50%)}:host([current-position^="top"]){margin:0 0 var(--space-unit)}:host([current-position^="bottom"]){margin:var(--space-unit) 0 0}:host([current-position^="left"]){margin:0 var(--space-unit) 0 0}:host([current-position^="right"]){margin:0 0 0 var(--space-unit)}:host([current-position])::before{--arrow-size:6px;--arrow-edge-offset:calc(100% - var(--space-unit) - (var(--arrow-size) / 2));--arrow-center-x-offset:calc(50% - (var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - (var(--arrow-size) / 2));position:absolute;display:block;width:var(--arrow-size);height:var(--arrow-size);background:var(--z-popover-theme--surface);content:"";transform:rotate(45deg)}:host([show-arrow="false"])::before,:host(:not([show-arrow]))::before{display:none}:host([current-position^="top"])::before{top:var(--arrow-center-y-offset)}:host([current-position^="bottom"])::before{bottom:var(--arrow-center-y-offset)}:host([current-position="top"])::before,:host([current-position="bottom"])::before{right:var(--arrow-edge-offset)}:host([current-position="right"])::before,:host([current-position="left"])::before{bottom:var(--arrow-edge-offset)}:host([current-position="right"])::before{right:var(--arrow-center-y-offset)}:host([current-position="left"])::before{left:var(--arrow-center-y-offset)}:host([current-position="top_right"])::before,:host([current-position="bottom_right"])::before{right:var(--arrow-edge-offset)}:host([current-position="top_left"])::before,:host([current-position="bottom_left"])::before{left:var(--arrow-edge-offset)}:host([current-position="right_top"])::before,:host([current-position="left_top"])::before{top:var(--arrow-edge-offset)}:host([current-position="right_top"])::before,:host([current-position="right_bottom"])::before{right:var(--arrow-center-y-offset)}:host([current-position="left_top"])::before,:host([current-position="left_bottom"])::before{left:var(--arrow-center-y-offset)}:host([current-position="right_bottom"])::before,:host([current-position="left_bottom"])::before{bottom:var(--arrow-edge-offset)}:host([center][current-position="top"])::before,:host([center][current-position="bottom"])::before{right:auto;left:var(--arrow-center-x-offset)}:host([center][current-position="right"])::before,:host([center][current-position="left"])::before{top:var(--arrow-center-x-offset);bottom:auto}::slotted(*){overflow:auto;flex:1 auto}';export{p as z_popover}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s}from"./p-d17ebc2f.js";import{B as o,d as a}from"./p-
|
|
1
|
+
import{r as t,c as i,h as s}from"./p-d17ebc2f.js";import{B as o,d as a}from"./p-74a062db.js";const e=class{constructor(s){t(this,s),this.cardFlipped=i(this,"cardFlipped",7),this.disabled=!1,this.flipped=!1,this.flipbuttonlabel="INFO",this.hideinfobtn=!1}handleFlipCard(t){this.flipCard(t.detail)}flipCard(t=!0){this.flipped=t,this.cardFlipped.emit(t)}render(){return s("div",null,s("z-myz-card",null,s("z-myz-card-header",{titolo:this.name}),s("div",{class:"content "+(this.flipped?"flipped":"")},s("div",{class:"front"},s("z-myz-card-body",null,s("z-myz-card-cover",{slot:"cover",titolo:this.name,img:this.cover,faded:this.disabled})),s("z-button",{class:{"hide-info":this.hideinfobtn},variant:o.SECONDARY,icon:"informationsource",size:a.X_SMALL,onClick:()=>this.flipCard(!0),disabled:this.flipped},this.flipbuttonlabel)),s("div",{class:"back"},s("slot",{name:"info"}))),s("slot",null)))}};e.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host z-myz-card{--card-overflow:visible}:host>div{position:relative;width:100%;height:522px;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out, -webkit-transform 0.5s ease-out}:host>div .content{position:relative;z-index:2;width:100%;height:522px;transform-style:preserve-3d;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out, -webkit-transform 0.5s ease-out}:host>div .content.flipped{margin-top:-2px;transform:rotateY(180deg)}:host>div .front,:host>div .back{position:absolute;top:0;left:0;width:100%;height:100%;backface-visibility:hidden}:host>div .front{z-index:2;top:0;left:0;transform:rotateY(0deg)}:host>div .front z-button{position:absolute;z-index:3;top:calc(var(--space-unit) * 0.5);left:calc(-1 * var(--space-unit))}:host>div .back{z-index:1;top:0;left:0;display:flex;justify-content:center;padding:0 var(--space-unit);margin-left:calc(-1 * var(--space-unit));transform:rotateY(180deg)}.hide-info{display:none}";export{e as z_myz_card_dictionary}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,c as t,h as a}from"./p-d17ebc2f.js";import{N as n,a as o}from"./p-
|
|
1
|
+
import{r as i,c as t,h as a}from"./p-d17ebc2f.js";import{N as n,a as o}from"./p-74a062db.js";import{I as e}from"./p-5aa7a151.js";const r=class{constructor(a){i(this,a),this.selectedEvent=t(this,"selected",7),this.selected=!1,this.disabled=!1,this.orientation=n.HORIZONTAL,this.size=o.BIG}scrollToTab({target:i}){i.scrollIntoView(Object.assign({behavior:"smooth"},this.orientation===n.HORIZONTAL?{block:"nearest",inline:"center"}:{block:"center",inline:"nearest"}))}onClick(){this.selected=!0}onSelected(){this.selected&&this.selectedEvent.emit()}renderIcon(){let i=this.icon;const t=`${i.replace(/-filled$/,"")}-filled`;return this.selected&&Object.keys(e).includes(t)&&(i=t),a("z-icon",{name:i})}render(){return a("a",{role:"tab",id:this.tabId,href:!this.disabled&&this.href,title:this.htmlTitle,target:this.target,onFocus:this.scrollToTab.bind(this),"aria-selected":this.selected?"true":"false","aria-controls":this.ariaControls,tabindex:this.selected?"0":"-1"},this.icon&&this.renderIcon(),"horizontal"===this.orientation&&this.label)}static get watchers(){return{selected:["onSelected"]}}};r.style='z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{box-shadow:inset var(--shadow-focus-primary)}z-navigation-tab:not([disabled]):hover>*,z-navigation-tab[selected]>*,z-navigation-tab-link:not([disabled]):hover>*,z-navigation-tab-link[selected]>*{color:var(--color-hover-secondary);fill:currentcolor}z-navigation-tab:not([disabled]):hover>*::after,z-navigation-tab[selected]>*::after,z-navigation-tab-link:not([disabled]):hover>*::after,z-navigation-tab-link[selected]>*::after{position:absolute;background-color:var(--color-hover-secondary);content:""}z-navigation-tab[orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab[orientation="horizontal"][selected]>*::after,z-navigation-tab-link[orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation="horizontal"][selected]>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tab z-icon,z-navigation-tab-link z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tab[orientation="horizontal"] z-icon,z-navigation-tab-link[orientation="horizontal"] z-icon{margin-right:var(--space-unit)}z-navigation-tab:not([disabled]):hover>*{background-color:var(--color-background)}z-navigation-tab[disabled]>*{color:var(--gray500);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tab[size="small"]>*,z-navigation-tab-link[size="small"]>*{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}z-navigation-tab[size="small"][orientation="horizontal"]>*,z-navigation-tab-link[size="small"][orientation="horizontal"]>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tab[size="small"][orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab[size="small"][orientation="horizontal"][selected]>*::after,z-navigation-tab-link[size="small"][orientation="horizontal"]:hover>*::after,z-navigation-tab-link[size="small"][orientation="horizontal"][selected]>*::after{height:var(--border-size-medium)}z-navigation-tab[size="small"]:not([orientation="vertical"]) z-icon,z-navigation-tab-link[size="small"]:not([orientation="vertical"]) z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tab[orientation="vertical"]>*,z-navigation-tab-link[orientation="vertical"]>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tab[orientation="vertical"]:hover:not([disabled])>*::after,z-navigation-tab[orientation="vertical"][selected]>*::after,z-navigation-tab-link[orientation="vertical"]:hover>*::after,z-navigation-tab-link[orientation="vertical"][selected]>*::after{top:0;right:0;width:var(--border-size-large);height:100%}';export{r as z_navigation_tab_link}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as
|
|
1
|
+
import{r as o,h as r}from"./p-d17ebc2f.js";import{q as e}from"./p-74a062db.js";const t=class{constructor(r){o(this,r),this.status=e.PREVIEW}handlePocketToggle(o){o.detail.id===this.pocketid&&(this.status=o.detail.status)}renderHeader(){let o,t;switch(this.status){case e.PREVIEW:case e.CLOSED:o=r("span",null,"Messaggi ",r("span",{class:"badge"},this.messages)),t="chevron-up";break;case e.OPEN:o=r("span",null,"Riduci"),t="chevron-down"}return r("z-pocket-header",{pocketid:this.pocketid},o,r("z-icon",{name:t,width:14,height:14}))}renderBody(){return r("z-pocket-body",{pocketid:this.pocketid},r("div",{class:"body"},r("slot",null)),r("div",{class:"gradient"}))}render(){return r("z-pocket",{pocketid:this.pocketid,status:this.status,class:this.status},this.renderHeader(),this.renderBody())}};t.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-pocket{width:100%}:host>z-pocket.closed{width:158px}:host>z-pocket>z-pocket-header{color:var(--color-primary01);fill:var(--color-primary01);font-size:12px;font-weight:var(--font-sb)}:host>z-pocket>z-pocket-header span.badge{display:inline-block;padding:0 calc(var(--space-unit) * 0.5);margin-left:var(--space-unit);background:var(--color-secondary02);border-radius:50%;color:var(--color-surface01)}:host>z-pocket>z-pocket-header>z-icon{margin-left:var(--space-unit)}:host>z-pocket>z-pocket-body>div.body{overflow:hidden;padding:var(--space-unit);margin:0 var(--space-unit)}:host>z-pocket.preview>z-pocket-body{position:relative}:host>z-pocket.preview>z-pocket-body>div.gradient{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(rgb(255 0 0 / 0%), white)}:host>z-pocket.open>z-pocket-body>div.body{overflow:auto;max-height:calc(100vh - 166px);scrollbar-width:none}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>z-pocket{width:768px;margin:0 calc((100% - 768px) / 2)}:host>z-pocket.closed{margin:0 calc((100% - 158px) / 2)}:host>z-pocket.open>z-pocket-body>div.body{max-height:326px}}@media only screen and (min-width: 1152px){:host>z-pocket.open>z-pocket-body>div.body{scrollbar-color:var(--color-primary01) var(--color-surface03);scrollbar-width:thin}:host ::-webkit-scrollbar{width:10px;background:linear-gradient(\r\n 90deg,\r\n var(--color-surface01) 2px,\r\n var(--color-surface03) 4px,\r\n var(--color-surface01) 8px\r\n );border-radius:var(--radius-base)}:host ::-webkit-scrollbar-thumb{width:var(--space-unit);background-color:var(--color-primary01);border-radius:var(--radius-base)}}";export{t as z_messages_pocket}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as t,h as i,H as o}from"./p-d17ebc2f.js";import{P as n}from"./p-
|
|
1
|
+
import{r as e,c as t,h as i,H as o}from"./p-d17ebc2f.js";import{P as n}from"./p-74a062db.js";const l=class{constructor(i){e(this,i),this.clickContextualMenu=t(this,"clickContextualMenu",7),this.color="color-primary01",this.popoverPosition=n.BOTTOM_RIGHT}componentWillRender(){this.elements&&(this.jsonElements=JSON.parse(this.elements.replace(/"/g,'"')))}componentDidLoad(){this.popoverEl.bindTo=this.triggerButton}showIcon(){return!this.jsonElements.some((e=>!e.icon))}togglePopover(){this.popoverEl.open||(this.popoverEl.open=!0)}render(){var e,t;return i(o,null,i("button",{ref:e=>this.triggerButton=e,"aria-label":(null===(e=this.popoverEl)||void 0===e?void 0:e.open)?"chiudi menu contestuale":"apri menu contestuale",onClick:()=>this.togglePopover()},i("z-icon",{name:"contextual-menu",fill:this.color})),i("z-popover",{ref:e=>this.popoverEl=e,position:this.popoverPosition},i("div",{class:"popover-content-container"},i("z-list",null,i("z-list-group",{"divider-type":"element"},null===(t=this.jsonElements)||void 0===t?void 0:t.map(((e,t)=>i("z-list-element",{clickable:!e.disabled,class:"my-z-list-element","align-button":"left","expandable-style":"accordion",color:e.disabled?"color-disabled03":this.color,isContextualMenu:!0,listElementId:t,onClickItem:e=>this.clickContextualMenu.emit(e.detail)},i("div",{class:e.disabled?"disabled-element-container":"element-container"},this.showIcon()&&i("div",{class:"element-icon"},i("z-icon",{name:e.icon,width:16,height:16})),i("div",{class:"element-text"},i("span",null,e.text)))))))))))}};l.style=":host{position:relative;display:flex;align-items:center;justify-content:center;font-family:var(--font-family-sans);font-weight:var(--font-rg)}button{width:100%;height:100%;padding:0;border:none;background:transparent;cursor:pointer}z-popover{overflow:hidden}.popover-content-container{position:relative;min-width:112px;max-width:280px;background-color:var(--color-surface02);box-shadow:var(--shadow-2);white-space:nowrap}.element-container:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.element-text{overflow:hidden;font-size:14px;text-overflow:ellipsis}.element-container,.disabled-element-container{display:flex;min-height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:calc(var(--space-unit) / 2) var(--space-unit);fill:var(--color-disabled03);gap:var(--space-unit)}.element-container{fill:var(--color-primary01)}.element-icon{display:flex}";export{l as z_contextual_menu}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,c,h,g as s}from"./p-d17ebc2f.js";import{x as r,p as a}from"./p-
|
|
1
|
+
import{r as i,c,h,g as s}from"./p-d17ebc2f.js";import{x as r,p as a}from"./p-74a062db.js";import{g as t}from"./p-766d9faa.js";import"./p-37037d9d.js";const e=class{constructor(h){i(this,h),this.interactiveIconClick=c(this,"interactiveIconClick",7),this.type=r.DEFAULT,this.disabled=!1,this.ariaLabel=""}emitinteractiveIconClick(){this.interactiveIconClick.emit()}getIconSize(){return t()!==a.DESKTOP&&t()!==a.DESKTOP_WIDE?22:14}render(){return this.interactiveIcon?h("div",{class:`z-chip-container ${this.type}`,"aria-disabled":this.disabled},this.icon&&h("z-icon",{class:"icon-sx",name:this.icon,width:this.getIconSize(),height:this.getIconSize()}),h("slot",null),h("button",{type:"button",onClick:()=>this.emitinteractiveIconClick(),onKeyUp:()=>{},"aria-label":this.ariaLabel,disabled:this.disabled},h("z-icon",{name:this.interactiveIcon,width:this.getIconSize(),height:this.getIconSize()}))):h("div",{class:`${this.type}`},this.icon&&h("z-icon",{name:this.icon,width:this.getIconSize(),height:this.getIconSize()}),h("slot",null))}get el(){return s(this)}};e.style=".sc-z-chip-h>.z-chip-container.sc-z-chip{display:inline-flex;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--gray400);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}.sc-z-chip-h>.z-chip-container.sc-z-chip:not([aria-disabled]) button.sc-z-chip>z-icon.sc-z-chip:last-child:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>.z-chip-container.sc-z-chip:hover:not([aria-disabled])>z-icon.sc-z-chip:first-child{fill:var(--color-icon02)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip{padding:0;border:none;margin-left:var(--space-unit);background-color:transparent;cursor:pointer}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.icon-sx.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip>z-icon.sc-z-chip:last-child{fill:var(--color-primary01)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip,.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip>button.sc-z-chip>z-icon.sc-z-chip{color:var(--color-disabled03);fill:var(--color-disabled03)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip>button.sc-z-chip>z-icon.sc-z-chip{cursor:auto}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip:focus:focus-visible{border-radius:100%;box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled):active:hover>button.sc-z-chip>z-icon.sc-z-chip:last-child{color:var(--color-primary01);fill:var(--color-primary01)}.sc-z-chip-h>div.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--bg-grey-200);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;line-height:28px}.sc-z-chip-h>div.sc-z-chip>z-icon.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>.z-chip-container.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media only screen and (min-width: 1152px){.sc-z-chip-h>.z-chip-container.sc-z-chip{font-size:12px}.sc-z-chip-h>div.sc-z-chip{font-size:12px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}}";export{e as z_chip}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r,h as i}from"./p-d17ebc2f.js";import{t as o}from"./p-
|
|
1
|
+
import{r as t,c as r,h as i}from"./p-d17ebc2f.js";import{t as o}from"./p-37037d9d.js";const s=class{constructor(i){t(this,i),this.buttonSortClick=r(this,"buttonSortClick",7),this.sortlabelasc="A-Z",this.sortlabeldesc="Z-A",this.isselected=!1,this.sortasc=!0,this.allowTooltip=!1}emitButtonSortClick(){this.isselected?this.sortasc=!this.sortasc:this.isselected=!0,this.buttonSortClick.emit({buttonid:this.buttonid,sortAsc:this.sortasc})}componentDidLoad(){this.elementHasEllipsis()&&window.innerWidth>o&&(this.allowTooltip=!0)}setButtonTitle(){return this.allowTooltip?`${this.sortasc?this.label:this.desclabel}`:""}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return i("button",{title:this.setButtonTitle(),id:this.buttonid,class:this.isselected&&"selected",onClick:()=>this.emitButtonSortClick()},i("label",null,i("span",{ref:t=>this.ellipsis=t,class:"ellipsis"},!this.sortasc&&this.desclabel?this.desclabel:this.label),i("span",{class:"counter"},this.counter&&` (${this.counter})`),i("span",{class:"sort"},this.sortasc?this.sortlabelasc:this.sortlabeldesc),i("z-icon",{name:"caret-up-down",width:16,height:16})))}};s.style=":host,button{max-width:100%}button{height:36px;padding:0 var(--space-unit);border:var(--border-size-medium) solid var(--myz-blue);background-color:var(--bg-white);border-radius:var(--border-radius);color:var(--myz-blue);cursor:pointer;fill:var(--myz-blue);outline:none}button::-moz-focus-inner{border:0}button:hover{border-color:var(--myz-blue-dark);color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);box-shadow:var(--shadow-focus-primary);color:var(--myz-blue);fill:var(--myz-blue)}button:active{border-color:var(--myz-blue-light);box-shadow:0 2px 4px 0 rgb(0 0 0 / 40%);color:var(--myz-blue-light);fill:var(--myz-blue-light)}button.selected{border-color:var(--myz-blue-dark);background-color:var(--myz-blue-dark);color:var(--bg-white);fill:var(--bg-white)}button>label{display:flex;align-items:center;cursor:pointer;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}button>label>span.ellipsis{overflow:hidden;padding:0;margin:0;text-overflow:ellipsis;white-space:nowrap}button>label>span.counter{margin-right:calc(var(--space-unit) * 2);margin-left:calc(var(--space-unit) / 2)}button>label>span.sort{margin-right:var(--half-x1);white-space:nowrap}button>span{margin-right:calc(var(--space-unit) * 0.5);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-rg)}button>z-icon{padding-top:calc(var(--space-unit) * 0.5)}@media only screen and (min-width: 768px){:host,button{max-width:325px}}@media only screen and (min-width: 1025px){:host,button{max-width:490px}}";export{s as z_button_sort}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as
|
|
1
|
+
import{r as t,c as i,h as s,g as e}from"./p-d17ebc2f.js";import{q as o}from"./p-74a062db.js";import{a}from"./p-766d9faa.js";import{h as r}from"./p-e43e61ac.js";import"./p-37037d9d.js";import"./p-112455b1.js";const n=class{constructor(s){t(this,s),this.pocketToggle=i(this,"pocketToggle",7),this.status=o.PREVIEW}async open(){this.status=o.OPEN}async close(){this.status=o.CLOSED}emitPocketToggle(t,i){this.pocketToggle.emit({id:t,status:i})}handlePocketHeaderClick(t){if(t.detail.id&&t.detail.id===this.pocketid)switch(this.status){case o.PREVIEW:case o.CLOSED:this.status=o.OPEN;break;case o.OPEN:this.status=o.CLOSED}}handlePocketHeaderPan(t){t.detail.id&&t.detail.id===this.pocketid&&("up"===t.detail.direction?this.status=o.OPEN:"down"===t.detail.direction&&(this.status=o.CLOSED))}watchStatusHandler(t){this.emitPocketToggle(this.pocketid,t)}componentWillLoad(){this.emitPocketToggle(this.pocketid,this.status)}handleBackgroundClick(t){"pocketBackground"==t.target.dataset.action&&this.close()}render(){return s("div",null,s("div",{"data-action":"pocketBackground","data-pocket":this.pocketid,class:`background ${this.status}`,onClick:t=>this.handleBackgroundClick(t)}),s("div",{id:this.pocketid,class:"content-wrapper"},s("div",null,s("slot",null))))}get hostElement(){return e(this)}static get watchers(){return{status:["watchStatusHandler"]}}};n.style=":host{width:inherit;height:100%;margin:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{width:inherit;height:100%;margin:inherit}:host>div>div.background{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;width:0;height:0}:host>div>div.background.open{width:100%;height:100%}:host>div>div.content-wrapper{position:fixed;z-index:999;bottom:0;left:0;width:inherit;margin:inherit}:host>div>div.content-wrapper>div{margin:calc(var(--space-unit) * 0.5) calc(var(--space-unit) * 0.5) 0 calc(var(--space-unit) * 0.5);border-radius:var(--space-unit) var(--space-unit) 0 0;box-shadow:0 -2px calc(var(--space-unit) * 0.5) 0 rgb(66 69 72 / 40%)}";const h=class{constructor(i){t(this,i),this.status=o.PREVIEW}handlePocketToggle(t){t.detail.id&&t.detail.id===this.pocketid&&(this.status=t.detail.status)}render(){return s("main",{class:this.status},s("slot",null))}};h.style=":host{display:block;width:100%;box-sizing:border-box;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>main{overflow:auto;border-right:var(--border-size-small) solid var(--color-surface03);border-left:var(--border-size-small) solid var(--color-surface03);background:var(--color-surface01);scrollbar-width:none}:host>main.preview{max-height:225px;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.open{max-height:calc(100vh - 48px);transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.closed{height:0;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>main.preview{max-height:157px}}";const c=class{constructor(s){t(this,s),this.pocketHeaderClick=i(this,"pocketHeaderClick",7),this.pocketHeaderPan=i(this,"pocketHeaderPan",7),this.emitPocketHeaderClick=this.emitPocketHeaderClick.bind(this)}emitPocketHeaderClick(){this.pocketHeaderClick.emit({id:this.pocketid})}emitPocketHeaderPan(t){this.pocketHeaderPan.emit({id:this.pocketid,direction:t})}componentDidLoad(){const t=new r(this.swipeWrap);t.get("pan").set({direction:r.DIRECTION_VERTICAL}),t.on("panup",(()=>this.emitPocketHeaderPan("up"))),t.on("pandown",(()=>this.emitPocketHeaderPan("down")))}render(){return s("header",{role:"button",tabindex:0,onClick:()=>this.emitPocketHeaderClick(),onKeyPress:t=>a(t,this.emitPocketHeaderClick),ref:t=>this.swipeWrap=t},s("slot",null))}};c.style=":host{display:block;width:100%;box-sizing:border-box;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>header{display:flex;height:36px;flex-flow:row nowrap;align-items:center;justify-content:center;border:var(--border-size-small) solid var(--color-surface03);background:var(--color-surface01);border-radius:var(--space-unit) var(--space-unit) 0 0;cursor:pointer}:host>header:focus{outline:none}:host>header::-moz-focus-inner{border:0}";export{n as z_pocket,h as z_pocket_body,c as z_pocket_header}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as o,g as e}from"./p-d17ebc2f.js";import{L as i}from"./p-
|
|
1
|
+
import{r as t,h as o,g as e}from"./p-d17ebc2f.js";import{L as i}from"./p-74a062db.js";const n=class{constructor(o){t(this,o),this.opened=!1,this.customContent=!1,this.isOpen=!1,this.allowTooltipAuthors=!1}handleToggle(){if(this.isOpen=!this.isOpen,this.isOpen){const t=this.getFirstListItem();t&&requestAnimationFrame((()=>{t.focus()}))}}getTitleAuthors(){return this.allowTooltipAuthors?this.autori:""}componentWillLoad(){this.opened&&(this.isOpen=!0)}elementsEllipsis(){this.allowTooltipAuthors=!!this.elementAuthorsHasEllipsis()}elementAuthorsHasEllipsis(){return this.ellipsisAuthors.offsetWidth<this.ellipsisAuthors.scrollWidth}retrieveClass(){return{isopen:this.isOpen,real:this.cardtype===i.REAL,trial:this.cardtype===i.TRIAL,temp:this.cardtype===i.TEMP,"custom-content":this.customContent}}footerTransitionHandler(t){["visibility","height"].includes(t.propertyName)&&this.elementsEllipsis()}getFirstListItem(){return this.host.querySelector("[slot=list] > li a")}render(){return o("div",{class:Object.assign(Object.assign({},this.retrieveClass()),{wrapper:!0})},o("footer",{class:this.retrieveClass(),onTransitionEnd:t=>this.footerTransitionHandler(t)},o("span",{class:"toggle"},o("slot",{name:"toggle"})),this.titolo&&o("p",{class:{"custom-content":this.customContent}},this.titolo),o("div",{class:{content:!0,"custom-content":this.customContent}},o("div",null,o("p",{class:"authors",ref:t=>this.ellipsisAuthors=t},o("span",{title:this.getTitleAuthors()},o("span",{"aria-description":"Autori",class:"bold"},this.autori))),o("p",{class:"year-isbn"},o("span",{class:"isbn"},o("span",null,o("span",{"aria-description":"ISBN edizione cartacea",class:"bold"},this.isbn)," ","(ed. cartacea)")))),o("div",{class:"slot-handler "+(this.isOpen?"visible":"hidden")},o("slot",{name:"list"})))),this.customContent&&o("slot",{name:"content"}))}get host(){return e(this)}};n.style='footer{position:relative;z-index:5;top:0;width:auto;height:calc(var(--space-unit) * 6);padding:0;border-top:var(--border-size-medium) solid var(--color-surface03);margin:0;background-color:var(--color-surface01);border-radius:0 0 var(--border-radius) var(--border-radius);color:var(--color-surface05);font-family:var(--font-family-sans);font-weight:var(--font-rg);transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.real,footer.trial,footer.temp{border-top:var(--border-size-medium) solid var(--accent)}footer .bold{font-family:var(--font-family-sans);font-weight:var(--font-sb)}footer>p{overflow:hidden;height:40px;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 2) var(--space-unit) calc(var(--space-unit) * 2);margin:0;background-color:var(--color-surface01);font-family:var(--font-family-sans);font-size:16px;font-weight:var(--font-rg);line-height:22px;transition:all 200ms linear}footer.isopen>p{background-color:var(--bg-neutral-200);font-size:14px;font-weight:var(--font-sb);transition:all 200ms linear}footer.isopen.real>p,footer.isopen.trial>p,footer.isopen.temp>p{background-color:var(--accent)}footer .visible{display:block}footer .hidden{display:none}footer>div.content{overflow:hidden;height:60px}footer>div.content>div:not(.slot-handler){padding:var(--space-unit) calc(var(--space-unit) * 2)}footer>div.content>div>p{overflow:hidden;height:20px;padding:0;margin:0;font-size:14px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}footer>div.content>div>p.year-isbn{display:flex;flex-direction:row;justify-content:space-between;padding-top:var(--space-unit)}footer>div.content>div>p.year-isbn>span.isbn{overflow:hidden;text-overflow:ellipsis}footer.isopen>div.content>div:not(.slot-handler){height:68px}footer.isopen>div.content>div>p.authors{height:40px;text-overflow:initial;white-space:initial}footer.isopen>div.content>div>p.year-isbn{height:50px;flex-direction:column;padding-left:0}footer.isopen>div.content>div>p.year-isbn>span.isbn{display:inline-grid;padding-left:0}footer.isopen{top:-212px;height:295px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.custom-content{top:-292px}footer.isopen>div.content{height:280px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.custom-content>div.content{height:230px}.toggle{position:absolute;z-index:10;top:-24px;left:16px}.faded{opacity:0.3;pointer-events:none}footer>p.custom-content,footer .content.custom-content{display:none}footer.isopen>p.custom-content,footer.isopen .content.custom-content{display:block}div.wrapper{position:relative;height:100%}div.wrapper ::slotted([slot="content"]){position:absolute;z-index:10;top:calc(var(--space-unit) * 2);display:block;width:100%;height:112px;box-sizing:border-box;padding:0 calc(var(--space-unit) * 2);border-top:var(--border-size-medium) solid transparent;background:var(--color-white)}div.wrapper.isopen ::slotted([slot="content"]){top:0;bottom:0;height:128px;padding:calc(var(--space-unit) * 2);border-color:var(--accent)}';export{n as z_myz_card_footer}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{Z as z_td}from"./p-0b942ef3.js";import"./p-d17ebc2f.js";import"./p-74a062db.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{Z as z_tbody}from"./p-65faafdd.js";import"./p-d17ebc2f.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{Z as z_table_cell}from"./p-ec00fcea.js";import"./p-d17ebc2f.js";import"./p-74a062db.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{Z as z_table_body}from"./p-b35b3d91.js";import"./p-d17ebc2f.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,H as s,g as n}from"./p-d17ebc2f.js";import{w as a,p as r,D as o}from"./p-
|
|
1
|
+
import{r as t,c as i,h as e,H as s,g as n}from"./p-d17ebc2f.js";import{w as a,p as r,D as o}from"./p-74a062db.js";import{g as l}from"./p-766d9faa.js";import"./p-37037d9d.js";const c=class{constructor(e){t(this,e),this.fileInput=i(this,"fileInput",7),this.type=a.DEFAULT,this.files=[],this.inputAttributes={type:"file",id:"file-elem",multiple:!0}}removeFileListener(t){const i=this.files,e=i.find((i=>i.name===t.detail.fileName));if(e){const t=i.indexOf(e);t>=0&&(i.splice(t,1),this.files=[...i])}}fileDroppedListener(t){this.input.files=t.detail,this.fileInputHandler()}componentDidUpdate(){this.handleAccessibility(),this.invalidFiles.size&&this.errorModal.focus()}componentWillLoad(){this.invalidFiles=new Map}fileInputHandler(){this.input.files.length&&(this.invalidFiles=this.checkFiles(Array.from(this.input.files)))}async getFiles(){return this.files}getType(){return l()!==r.DESKTOP&&l()!==r.DESKTOP_WIDE?a.DEFAULT:this.type}handleAccessibility(){const t=this.el.querySelector("z-file:last-child z-chip button");this.files.length>0&&t?t.focus():this.getType()===a.DEFAULT?this.button.querySelector("button").focus():this.uploadLink.focus()}checkFiles(t){const i=new Map,e=`supera i ${this.fileMaxSize}MB`;return t.forEach((t=>{const s=t.size/1024/1024,n=this.acceptedFormat.split(",").some((i=>t.name.toLowerCase().endsWith(i.trim()))),a=s<=this.fileMaxSize;a&&n?this.files.find((i=>i.name===t.name))||(this.files.push(t),this.fileInput.emit(t),this.input.value=""):(i.set(t.name,[]),a||i.get(t.name).push(e),n||i.get(t.name).push(" ha un'estensione non prevista"))})),i}renderTitle(){return e("h2",{class:"heading-2-sb",id:"title"},this.mainTitle)}renderDescription(t){return e("span",{class:t},this.description)}renderAllowedFileExtensions(){let t="",i="";return this.acceptedFormat&&(t=` nei formati ${this.acceptedFormat.split(", ").map((t=>t.substring(1).toUpperCase())).join(", ")}`),this.fileMaxSize&&(i=` per un massimo di ${this.fileMaxSize}MB di peso`),e("span",{class:"body-3"},t||i?`Puoi allegare file${t}${i}.`:null)}renderFileSection(){return e("section",{class:"files-container "+(this.files.length?"":"hidden")},e("h4",{class:"heading-4-sb"},"File appena caricati"),e("div",{class:"files-wrapper"},e("slot",{name:"files"})),e("z-divider",{size:o.MEDIUM}))}renderInput(){return e("input",Object.assign({},this.inputAttributes,{onChange:()=>this.fileInputHandler(),accept:this.acceptedFormat,ref:t=>this.input=t}))}renderUploadButton(){return[this.renderInput(),e("z-button",{onClick:()=>this.input.click(),onKeyPress:t=>{"Space"!=t.code&&"Enter"!=t.code||(t.preventDefault(),this.input.click())},id:"fileSelect",variant:this.buttonVariant,icon:"upload",ref:t=>this.button=t},"Allega")]}renderUploadLink(){return[this.renderInput(),e("span",{class:"body-1 upload-link-text"},"Trascinalo qui o"," ",e("span",{tabIndex:0,class:"body-1-sb upload-link",onClick:()=>this.input.click(),onKeyPress:t=>{"Space"!=t.code&&"Enter"!=t.code||(t.preventDefault(),this.input.click())},ref:t=>this.uploadLink=t},"caricalo")," ","dal tuo computer")]}renderDefaultMode(){return[this.renderDescription("body-3-sb"),this.renderAllowedFileExtensions(),this.renderFileSection(),this.renderUploadButton()]}renderDragDropMode(){return[this.renderFileSection(),e("z-dragdrop-area",null,e("div",{class:"text-container"},this.renderDescription("body-1"),this.renderUploadLink(),this.renderAllowedFileExtensions()))]}formatErrorString(t,i){var e,s;return`Il file ${t} ${null!==(e=i[0])&&void 0!==e?e:""}${i[0]&&i[1]?", ":""} ${null!==(s=i[1])&&void 0!==s?s:""} e non può quindi essere caricato.`}handleErrorModalContent(){return e("div",{slot:"modalContent"},e("div",{class:"modal-wrapper"},e("div",{class:"files"},Array.from(this.invalidFiles).map((([t,i])=>e("span",{class:"body-3"},this.formatErrorString(t,i)))))))}render(){return e(s,null,e("div",{tabIndex:0,class:`container ${this.getType()}`},this.renderTitle(),this.getType()==a.DEFAULT?this.renderDefaultMode():this.renderDragDropMode()),!!this.invalidFiles.size&&e("z-modal",{tabIndex:0,ref:t=>this.errorModal=t,modaltitle:"Attenzione",onModalClose:()=>this.invalidFiles=new Map,onModalBackgroundClick:()=>this.invalidFiles=new Map},this.handleErrorModalContent()))}get el(){return n(this)}};c.style=":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 .body-1{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>.heading-4-sb{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}}";export{c as z_file_upload}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,g as i}from"./p-d17ebc2f.js";import{Y as r}from"./p-e1d9785e.js";import{m as a}from"./p-b497e33e.js";import{r as o}from"./p-aa5e3e61.js";const s=class{constructor(e){t(this,e),this.isMobile=!1,this.hasResources=!1,this.showResources=!1}componentWillLoad(){this.id=`id-${o()}`;const t=window.matchMedia(`(max-width: ${a}px)`);this.isMobile=t.matches,t.onchange=t=>this.isMobile=t.matches}componentDidLoad(){this.handleResources()}handleResources(){var t;this.variant===r.EXPANDED&&this.isMobile&&(this.hasResources=(null===(t=this.hostElement.querySelectorAll("[slot=resources]"))||void 0===t?void 0:t.length)>0)}toggleResources(){this.showResources=!this.showResources}renderCard(){switch(this.variant){case r.EXPANDED:return this.isMobile?this.renderMobileExpandedCard():this.renderExpandedCard();case r.COMPACT:return this.renderCompactCard();case r.SEARCH:return this.renderSearchCard()}}renderExpandedCard(){return e("div",{class:"wrapper"},this.renderCover(),e("div",{class:"content"},e("div",{class:"top"},e("div",{class:"info"},e("div",{class:"left"},this.renderAuthors(),this.renderOperaTitle(),this.renderVolumeTitle(),this.renderIsbn()),e("div",{class:"right"},this.renderHeaderCtaSlot())),this.renderTagsSlot()),e("div",{class:"bottom"},this.renderResourcesSlot())))}renderMobileExpandedCard(){return e("div",{class:"wrapper"},e("div",{class:"header"},this.renderOperaTitle(),this.renderHeaderCtaSlot()),this.renderCover(),e("div",{class:"content"},this.renderTagsSlot(),this.renderAuthors(),this.renderVolumeTitle(),this.renderIsbn()),this.hasResources&&e("div",{class:{footer:!0,open:this.showResources,close:!this.showResources}},!this.showResources&&this.renderShowResources(),this.renderResourcesSlot(),this.showResources&&this.renderShowResources()))}renderSearchCard(){return e("div",{class:"wrapper-container"},e("div",{class:"wrapper"},e("div",{class:"header"},this.renderOperaTitle(),this.renderHeaderCtaSlot()),this.renderCover(),e("div",{class:"content"},this.renderTagsSlot(),this.renderAuthors(),this.renderVolumeTitle(),this.renderIsbn())),this.renderFooterCtaSlot())}renderCompactCard(){return e("div",{class:"wrapper"},this.renderCover(),e("div",{class:"content"},this.renderAuthors(),this.renderOperaTitle(),this.renderVolumeTitle(),this.renderIsbn()),this.renderFooterCtaSlot())}renderCover(){return e("div",{class:"cover"},this.ribbon&&this.variant!==r.COMPACT&&e("div",{class:"ribbon"},e("span",null,this.ribbon)),e("div",{class:"img-wrapper"},e("img",{src:this.cover,onError:()=>{this.fallbackCover&&(this.cover=this.fallbackCover)},"aria-hidden":"true"})))}renderOperaTitle(){return e("div",{class:"title",innerHTML:this.operaTitleTag?`<${this.operaTitleTag}>${this.operaTitle}</${this.operaTitleTag}>`:this.operaTitle})}renderVolumeTitle(){return this.volumeTitle?e("div",{class:"subtitle"},this.volumeTitle):null}renderAuthors(){return this.authors?e("div",{class:"authors","aria-description":"Autori"},this.authors):null}renderIsbn(){return this.isbn?e("div",{class:"isbn"},e("span",{class:"code","aria-description":"ISBN edizione cartacea"},this.isbn),e("span",{class:"label"}," (ed. cartacea)")):null}renderShowResources(){return e("button",{class:"show-resources","aria-label":`Risorse del libro ${this.operaTitle}`,"aria-expanded":this.showResources.toString(),"aria-controls":`resources-${this.id}`,onClick:()=>this.toggleResources()},this.showResources?"Chiudi":"Vedi tutto",e("z-icon",{name:this.showResources?"chevron-up":"chevron-down"}))}renderTagsSlot(){return e("div",{class:"tags"},e("slot",{name:"tags"}))}renderHeaderCtaSlot(){return e("slot",{name:"header-cta"})}renderResourcesSlot(){return e("div",{id:`resources-${this.id}`,class:"resources"},e("slot",{name:"resources",onSlotchange:()=>this.handleResources()}))}renderFooterCtaSlot(){return e("div",{class:"action-container"},e("slot",{name:"footer-cta"}))}render(){return e("article",{class:{[this.variant]:!0,borderless:!!this.borderless}},this.renderCard())}get hostElement(){return i(this)}};s.style=':host{--z-book-card-ribbon-background-color:var(--avatar-C08);--z-book-card-ribbon-shadow-color:var(--green950);--z-book-card-compact-width:262px;--z-book-card-compact-height:568px}:host>article{display:block;width:100%;max-width:360px;box-sizing:border-box;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>article div.cover{position:relative}:host>article div.cover div.img-wrapper{display:flex;overflow:hidden;border:var(--border-size-small) solid var(--color-surface03);line-height:0}:host>article div.cover div.img-wrapper img{width:auto;max-width:100%;height:auto;max-height:100%;align-self:flex-end}:host>article div.cover div.ribbon{position:absolute;z-index:10;top:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * -2);display:flex;max-width:100%;height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:0 calc(var(--space-unit) * 2);border:var(--border-size-medium) solid var(--color-surface01);background:var(--z-book-card-ribbon-background-color);border-radius:0 var(--border-radius) var(--border-radius) 0;box-shadow:var(--shadow-2);color:var(--color-text04);font-size:var(--font-size-2);font-weight:var(--font-sb);line-height:initial}:host>article div.cover div.ribbon span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.cover div.ribbon::before{position:absolute;bottom:-12px;left:-2px;width:0;height:0;border-top:10px solid var(--z-book-card-ribbon-shadow-color);border-left:16px solid transparent;content:""}:host>article div.content{margin:var(--space-unit) 0;border-radius:var(--border-radius)}:host>article .title{display:flex;height:100%;align-self:center;color:var(--color-text02);font-size:var(--font-size-4);font-weight:var(--font-sb);line-height:1.5}:host>article .title *{all:unset}:host>article div.subtitle{color:var(--color-text02);font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:1.4}:host>article div.authors{color:var(--color-text02);font-size:var(--font-size-1);font-weight:var(--font-rg);line-height:1.33}:host>article div.isbn{overflow:hidden;color:var(--color-text02);font-size:var(--font-size-2);line-height:1.33;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.isbn>.code{font-weight:var(--font-sb)}:host>article div.tags{display:flex;overflow:hidden;max-height:32px;flex-flow:row wrap;align-content:stretch;align-items:stretch;justify-content:flex-start;gap:calc(var(--space-unit) / 2)}:host>article ::slotted([slot="tags"]){margin-bottom:var(--space-unit)}:host>article ::slotted([slot="header-cta"]){--z-icon-width:20px;--z-icon-height:20px;padding:var(--space-unit);cursor:pointer;fill:var(--color-icon01)}:host>article.expanded{width:100%;min-width:328px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.header{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:top;justify-content:space-between;margin-bottom:var(--space-unit);white-space:nowrap}:host>article.expanded div.cover div.img-wrapper{border-radius:var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:100%}:host>article.expanded .title,:host>article.expanded .subtitle,:host>article.expanded .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}:host>article.expanded div.footer{border-top:var(--border-size-small) solid var(--color-surface03);margin-bottom:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open{padding-top:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open div.resources{display:initial}:host>article.expanded div.footer.close div.resources{display:none}:host>article.expanded button.show-resources{--z-icon-height:16px;--z-icon-width:16px;all:unset;display:flex;width:100%;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 1) 0;color:var(--color-link-primary);cursor:pointer;fill:var(--color-link-primary);font-size:var(--font-size-2);font-weight:var(--font-sb);gap:var(--space-unit)}:host>article.expanded button.show-resources:focus{box-shadow:var(--shadow-focus-primary)}:host>article.search{width:262px;height:536px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.search .wrapper-container{display:flex;height:100%;flex-direction:column;justify-content:space-between}:host>article.search .wrapper-container .wrapper{height:451px}:host>article.search .wrapper-container .action-container{padding-bottom:calc(var(--space-unit) * 2);margin:auto;margin-bottom:0}:host>article.search div.header{display:flex;height:24px;flex-flow:row nowrap;align-content:stretch;align-items:center;justify-content:space-between;margin-bottom:calc(var(--space-unit) * 1.5);white-space:nowrap}:host>article.search div.cover div.img-wrapper{height:314px;border-radius:var(--border-radius)}:host>article.search .title{display:block;height:initial;align-self:unset;font-size:var(--font-size-3)}:host>article.search .title,:host>article.search .subtitle,:host>article.search .authors{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host>article.compact{width:var(--z-book-card-compact-width);height:var(--z-book-card-compact-height)}:host>article.compact.borderless{border:none}:host>article.compact div.cover div.img-wrapper{width:100%;height:calc(var(--z-book-card-compact-width) * 1.36);box-sizing:border-box;border:none;background:var(--color-white);border-radius:var(--border-radius) var(--border-radius) 0 0;box-shadow:var(--shadow-2)}:host>article.compact div.wrapper{display:flex;height:100%;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.compact div.content{display:flex;box-sizing:border-box;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;padding:calc(var(--space-unit) * 2);padding-top:var(--space-unit);margin:0}:host>article.compact div.action-container{padding:calc(var(--space-unit) * 2);padding-top:0;margin-top:auto}:host>article.compact.borderless div.cover div.img-wrapper{width:var(--z-book-card-compact-width)}:host>article.compact.borderless div.content{padding:0;padding-top:var(--space-unit)}:host>article.compact.borderless div.action-container{padding:0;padding-bottom:calc(var(--space-unit) * 2)}:host>article.compact .title{display:block;height:initial;align-self:unset}:host>article.compact .title,:host>article.compact .subtitle,:host>article.compact .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}@media (min-width: 768px){:host>article{width:100%;max-width:initial}:host>article .title{display:block;height:initial;align-self:unset}:host>article.expanded{width:100%;min-width:initial;max-width:initial;height:360px;padding:0;border:0}:host>article.expanded div.wrapper{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.expanded div.cover div.img-wrapper{width:262px;height:356px;border:0;border:var(--border-size-medium) solid var(--color-surface03);border-right:none;background:var(--color-surface01);border-radius:var(--border-radius) 0 0 var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:auto;border-radius:0}:host>article.expanded div.content{display:flex;overflow:hidden;width:100%;height:356px;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;border:var(--border-size-medium) solid var(--color-surface03);border-left:none;margin:0;background:var(--color-surface01);border-radius:0 var(--border-radius) var(--border-radius) 0}:host>article.expanded div.content div.top{padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.content div.top div.info{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;margin-bottom:calc(var(--space-unit) / 2)}:host>article.expanded div.content div.top div.info>div.left{width:100%}:host>article.expanded div.content div.bottom{padding:calc(var(--space-unit) * 2);padding-bottom:0}}@media (min-width: 1152px){:host>article{width:fit-content;max-width:initial}}@media (min-width: 1366px){:host>article.expanded{width:635px}:host>article.expanded div.content{width:369px}}';export{s as z_book_card}
|
|
1
|
+
import{r as t,h as e,g as i}from"./p-d17ebc2f.js";import{Y as r}from"./p-74a062db.js";import{m as a}from"./p-37037d9d.js";import{r as o}from"./p-766d9faa.js";const s=class{constructor(e){t(this,e),this.isMobile=!1,this.hasResources=!1,this.showResources=!1}componentWillLoad(){this.id=`id-${o()}`;const t=window.matchMedia(`(max-width: ${a}px)`);this.isMobile=t.matches,t.onchange=t=>this.isMobile=t.matches}componentDidLoad(){this.handleResources()}handleResources(){var t;this.variant===r.EXPANDED&&this.isMobile&&(this.hasResources=(null===(t=this.hostElement.querySelectorAll("[slot=resources]"))||void 0===t?void 0:t.length)>0)}toggleResources(){this.showResources=!this.showResources}renderCard(){switch(this.variant){case r.EXPANDED:return this.isMobile?this.renderMobileExpandedCard():this.renderExpandedCard();case r.COMPACT:return this.renderCompactCard();case r.SEARCH:return this.renderSearchCard()}}renderExpandedCard(){return e("div",{class:"wrapper"},this.renderCover(),e("div",{class:"content"},e("div",{class:"top"},e("div",{class:"info"},e("div",{class:"left"},this.renderAuthors(),this.renderOperaTitle(),this.renderVolumeTitle(),this.renderIsbn()),e("div",{class:"right"},this.renderHeaderCtaSlot())),this.renderTagsSlot()),e("div",{class:"bottom"},this.renderResourcesSlot())))}renderMobileExpandedCard(){return e("div",{class:"wrapper"},e("div",{class:"header"},this.renderOperaTitle(),this.renderHeaderCtaSlot()),this.renderCover(),e("div",{class:"content"},this.renderTagsSlot(),this.renderAuthors(),this.renderVolumeTitle(),this.renderIsbn()),this.hasResources&&e("div",{class:{footer:!0,open:this.showResources,close:!this.showResources}},!this.showResources&&this.renderShowResources(),this.renderResourcesSlot(),this.showResources&&this.renderShowResources()))}renderSearchCard(){return e("div",{class:"wrapper-container"},e("div",{class:"wrapper"},e("div",{class:"header"},this.renderOperaTitle(),this.renderHeaderCtaSlot()),this.renderCover(),e("div",{class:"content"},this.renderTagsSlot(),this.renderAuthors(),this.renderVolumeTitle(),this.renderIsbn())),this.renderFooterCtaSlot())}renderCompactCard(){return e("div",{class:"wrapper"},this.renderCover(),e("div",{class:"content"},this.renderAuthors(),this.renderOperaTitle(),this.renderVolumeTitle(),this.renderIsbn()),this.renderFooterCtaSlot())}renderCover(){return e("div",{class:"cover"},this.ribbon&&this.variant!==r.COMPACT&&e("div",{class:"ribbon"},e("span",null,this.ribbon)),e("div",{class:"img-wrapper"},e("img",{src:this.cover,onError:()=>{this.fallbackCover&&(this.cover=this.fallbackCover)},"aria-hidden":"true"})))}renderOperaTitle(){return e("div",{class:"title",innerHTML:this.operaTitleTag?`<${this.operaTitleTag}>${this.operaTitle}</${this.operaTitleTag}>`:this.operaTitle})}renderVolumeTitle(){return this.volumeTitle?e("div",{class:"subtitle"},this.volumeTitle):null}renderAuthors(){return this.authors?e("div",{class:"authors","aria-description":"Autori"},this.authors):null}renderIsbn(){return this.isbn?e("div",{class:"isbn"},e("span",{class:"code","aria-description":"ISBN edizione cartacea"},this.isbn),e("span",{class:"label"}," (ed. cartacea)")):null}renderShowResources(){return e("button",{class:"show-resources","aria-label":`Risorse del libro ${this.operaTitle}`,"aria-expanded":this.showResources.toString(),"aria-controls":`resources-${this.id}`,onClick:()=>this.toggleResources()},this.showResources?"Chiudi":"Vedi tutto",e("z-icon",{name:this.showResources?"chevron-up":"chevron-down"}))}renderTagsSlot(){return e("div",{class:"tags"},e("slot",{name:"tags"}))}renderHeaderCtaSlot(){return e("slot",{name:"header-cta"})}renderResourcesSlot(){return e("div",{id:`resources-${this.id}`,class:"resources"},e("slot",{name:"resources",onSlotchange:()=>this.handleResources()}))}renderFooterCtaSlot(){return e("div",{class:"action-container"},e("slot",{name:"footer-cta"}))}render(){return e("article",{class:{[this.variant]:!0,borderless:!!this.borderless}},this.renderCard())}get hostElement(){return i(this)}};s.style=':host{--z-book-card-ribbon-background-color:var(--avatar-C08);--z-book-card-ribbon-shadow-color:var(--green950);--z-book-card-compact-width:262px;--z-book-card-compact-height:568px}:host>article{display:block;width:100%;max-width:360px;box-sizing:border-box;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>article div.cover{position:relative}:host>article div.cover div.img-wrapper{display:flex;overflow:hidden;border:var(--border-size-small) solid var(--color-surface03);line-height:0}:host>article div.cover div.img-wrapper img{width:auto;max-width:100%;height:auto;max-height:100%;align-self:flex-end}:host>article div.cover div.ribbon{position:absolute;z-index:10;top:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * -2);display:flex;max-width:100%;height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:0 calc(var(--space-unit) * 2);border:var(--border-size-medium) solid var(--color-surface01);background:var(--z-book-card-ribbon-background-color);border-radius:0 var(--border-radius) var(--border-radius) 0;box-shadow:var(--shadow-2);color:var(--color-text04);font-size:var(--font-size-2);font-weight:var(--font-sb);line-height:initial}:host>article div.cover div.ribbon span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.cover div.ribbon::before{position:absolute;bottom:-12px;left:-2px;width:0;height:0;border-top:10px solid var(--z-book-card-ribbon-shadow-color);border-left:16px solid transparent;content:""}:host>article div.content{margin:var(--space-unit) 0;border-radius:var(--border-radius)}:host>article .title{display:flex;height:100%;align-self:center;color:var(--color-text02);font-size:var(--font-size-4);font-weight:var(--font-sb);line-height:1.5}:host>article .title *{all:unset}:host>article div.subtitle{color:var(--color-text02);font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:1.4}:host>article div.authors{color:var(--color-text02);font-size:var(--font-size-1);font-weight:var(--font-rg);line-height:1.33}:host>article div.isbn{overflow:hidden;color:var(--color-text02);font-size:var(--font-size-2);line-height:1.33;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.isbn>.code{font-weight:var(--font-sb)}:host>article div.tags{display:flex;overflow:hidden;max-height:32px;flex-flow:row wrap;align-content:stretch;align-items:stretch;justify-content:flex-start;gap:calc(var(--space-unit) / 2)}:host>article ::slotted([slot="tags"]){margin-bottom:var(--space-unit)}:host>article ::slotted([slot="header-cta"]){--z-icon-width:20px;--z-icon-height:20px;padding:var(--space-unit);cursor:pointer;fill:var(--color-icon01)}:host>article.expanded{width:100%;min-width:328px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.header{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:top;justify-content:space-between;margin-bottom:var(--space-unit);white-space:nowrap}:host>article.expanded div.cover div.img-wrapper{border-radius:var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:100%}:host>article.expanded .title,:host>article.expanded .subtitle,:host>article.expanded .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}:host>article.expanded div.footer{border-top:var(--border-size-small) solid var(--color-surface03);margin-bottom:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open{padding-top:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open div.resources{display:initial}:host>article.expanded div.footer.close div.resources{display:none}:host>article.expanded button.show-resources{--z-icon-height:16px;--z-icon-width:16px;all:unset;display:flex;width:100%;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 1) 0;color:var(--color-link-primary);cursor:pointer;fill:var(--color-link-primary);font-size:var(--font-size-2);font-weight:var(--font-sb);gap:var(--space-unit)}:host>article.expanded button.show-resources:focus{box-shadow:var(--shadow-focus-primary)}:host>article.search{width:262px;height:536px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.search .wrapper-container{display:flex;height:100%;flex-direction:column;justify-content:space-between}:host>article.search .wrapper-container .wrapper{height:451px}:host>article.search .wrapper-container .action-container{padding-bottom:calc(var(--space-unit) * 2);margin:auto;margin-bottom:0}:host>article.search div.header{display:flex;height:24px;flex-flow:row nowrap;align-content:stretch;align-items:center;justify-content:space-between;margin-bottom:calc(var(--space-unit) * 1.5);white-space:nowrap}:host>article.search div.cover div.img-wrapper{height:314px;border-radius:var(--border-radius)}:host>article.search .title{display:block;height:initial;align-self:unset;font-size:var(--font-size-3)}:host>article.search .title,:host>article.search .subtitle,:host>article.search .authors{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host>article.compact{width:var(--z-book-card-compact-width);height:var(--z-book-card-compact-height)}:host>article.compact.borderless{border:none}:host>article.compact div.cover div.img-wrapper{width:100%;height:calc(var(--z-book-card-compact-width) * 1.36);box-sizing:border-box;border:none;background:var(--color-white);border-radius:var(--border-radius) var(--border-radius) 0 0;box-shadow:var(--shadow-2)}:host>article.compact div.wrapper{display:flex;height:100%;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.compact div.content{display:flex;box-sizing:border-box;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;padding:calc(var(--space-unit) * 2);padding-top:var(--space-unit);margin:0}:host>article.compact div.action-container{padding:calc(var(--space-unit) * 2);padding-top:0;margin-top:auto}:host>article.compact.borderless div.cover div.img-wrapper{width:var(--z-book-card-compact-width)}:host>article.compact.borderless div.content{padding:0;padding-top:var(--space-unit)}:host>article.compact.borderless div.action-container{padding:0;padding-bottom:calc(var(--space-unit) * 2)}:host>article.compact .title{display:block;height:initial;align-self:unset}:host>article.compact .title,:host>article.compact .subtitle,:host>article.compact .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}@media (min-width: 768px){:host>article{width:100%;max-width:initial}:host>article .title{display:block;height:initial;align-self:unset}:host>article.expanded{width:100%;min-width:initial;max-width:initial;height:360px;padding:0;border:0}:host>article.expanded div.wrapper{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.expanded div.cover div.img-wrapper{width:262px;height:356px;border:0;border:var(--border-size-medium) solid var(--color-surface03);border-right:none;background:var(--color-surface01);border-radius:var(--border-radius) 0 0 var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:auto;border-radius:0}:host>article.expanded div.content{display:flex;overflow:hidden;width:100%;height:356px;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;border:var(--border-size-medium) solid var(--color-surface03);border-left:none;margin:0;background:var(--color-surface01);border-radius:0 var(--border-radius) var(--border-radius) 0}:host>article.expanded div.content div.top{padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.content div.top div.info{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;margin-bottom:calc(var(--space-unit) / 2)}:host>article.expanded div.content div.top div.info>div.left{width:100%}:host>article.expanded div.content div.bottom{padding:calc(var(--space-unit) * 2);padding-bottom:0}}@media (min-width: 1152px){:host>article{width:fit-content;max-width:initial}}@media (min-width: 1366px){:host>article.expanded{width:635px}:host>article.expanded div.content{width:369px}}';export{s as z_book_card}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{Z as z_table_row}from"./p-0f21c603.js";import"./p-d17ebc2f.js";import"./p-74a062db.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t,n,o,e,a,i,s,r,c,u,f,l,d,m,g,p,b,h,w,_,A,E,v,x,k,T,y,D,R,S,C,O,B,N,P,U,W,z,L,M,H,I,K,j,q,F,G,J,Q,V,X,Y,Z;!function(t){t.REAL="reale",t.VIRTUAL="virtuale",t.TRIAL="saggio",t.TEMP="reale_temp"}(t||(t={})),function(t){t.BORDER="border",t.SHADOW="shadow",t.OVERLAY="overlay",t.TEXT="text"}(n||(n={})),function(t){t.HORIZONTAL="horizontal",t.VERTICAL="vertical"}(o||(o={})),function(t){t.BIG="big",t.SMALL="small"}(e||(e={})),function(t){t.LEFT="ArrowLeft",t.RIGHT="ArrowRight",t.UP="ArrowUp",t.DOWN="ArrowDown"}(a||(a={})),function(t){t.PRIMARY="primary",t.SECONDARY="secondary",t.TERTIARY="tertiary",t.DARK_BG="dark-bg"}(i||(i={})),function(t){t.SUBMIT="submit",t.RESET="reset",t.BUTTON="button"}(s||(s={})),function(t){t.BIG="big",t.SMALL="small",t.X_SMALL="x-small"}(r||(r={})),function(t){t.BIG="big",t.SMALL="small",t.X_SMALL="x-small"}(c||(c={})),function(t){t.TEXT="text",t.PASSWORD="password",t.NUMBER="number",t.EMAIL="email",t.TEXTAREA="textarea",t.CHECKBOX="checkbox",t.RADIO="radio",t.TEL="tel",t.URL="url",t.SEARCH="search"}(u||(u={})),function(t){t.SUCCESS="success",t.ERROR="error",t.WARNING="warning"}(f||(f={})),function(t){t.AUTO="auto",t.TOP="top",t.RIGHT="right",t.BOTTOM="bottom",t.LEFT="left",t.TOP_RIGHT="top_right",t.TOP_LEFT="top_left",t.BOTTOM_RIGHT="bottom_right",t.BOTTOM_LEFT="bottom_left",t.RIGHT_TOP="right_top",t.RIGHT_BOTTOM="right_bottom",t.LEFT_TOP="left_top",t.LEFT_BOTTOM="left_bottom"}(l||(l={})),function(t){t[t.TAB=9]="TAB",t[t.SPACE=32]="SPACE",t[t.ESC=27]="ESC",t[t.ENTER=13]="ENTER",t[t.ARROW_UP=38]="ARROW_UP",t[t.ARROW_DOWN=40]="ARROW_DOWN",t[t.BACKSPACE=8]="BACKSPACE",t[t.DELETE=46]="DELETE"}(d||(d={})),function(t){t.TAB="Tab",t.SPACE="Space",t.ESC="Escape",t.ENTER="Enter",t.ARROW_UP="ArrowUp",t.ARROW_DOWN="ArrowDown",t.BACKSPACE="Backspace",t.DELETE="Delete"}(m||(m={})),function(t){t.DARK="dark",t.LIGHT="light"}(g||(g={})),function(t){t.SMALL="small",t.MEDIUM="medium",t.LARGE="large"}(p||(p={})),function(t){t.HORIZONTAL="horizontal",t.VERTICAL="vertical"}(b||(b={})),function(t){t.ASC="asc",t.DESC="desc"}(h||(h={})),function(t){t.SMALL="small",t.MEDIUM="medium",t.LARGE="large"}(w||(w={})),function(t){t.SMALL="small",t.MEDIUM="medium",t.LARGE="large",t.X_LARGE="x-large"}(_||(_={})),function(t){t.ACCORDION="accordion",t.MENU="menu"}(A||(A={})),function(t){t.RIGHT="right",t.LEFT="left"}(E||(E={})),function(t){t.RIGHT="right",t.LEFT="left"}(v||(v={})),function(t){t.NONE="none",t.HEADER="header",t.ELEMENT="element"}(x||(x={})),function(t){t.NONE="none",t.ORDERED="ordered",t.UNORDERED="unordered"}(k||(k={})),function(t){t.SUCCESS="success",t.WARNING="warning",t.ERROR="error"}(T||(T={})),function(t){t.SUCCESS="success",t.WARNING="warning",t.ERROR="error"}(y||(y={})),function(t){t.MOBILE="mobile",t.TABLET="tablet",t.DESKTOP="desktop",t.DESKTOP_WIDE="desktop-wide"}(D||(D={})),function(t){t.PREVIEW="preview",t.OPEN="open",t.CLOSED="closed"}(R||(R={})),function(t){t.DARK="dark",t.LIGHT="light",t.ACCENT="accent",t.ERROR="error",t.SUCCESS="success",t.WARNING="warning"}(S||(S={})),function(t){t.SLIDE_IN_LEFT="slide-in-left",t.SLIDE_IN_RIGHT="slide-in-right",t.SLIDE_IN_DOWN="slide-in-down",t.SLIDE_IN_UP="slide-in-up",t.SLIDE_OUT_LEFT="slide-out-left",t.SLIDE_OUT_RIGHT="slide-out-right",t.SLIDE_OUT_DOWN="slide-out-down",t.SLIDE_OUT_UP="slide-out-up"}(C||(C={})),function(t){t.TOP_RIGHT="top-right",t.TOP_LEFT="top-left",t.TOP_CENTRE="top-centre",t.BOTTOM_RIGHT="bottom-right",t.BOTTOM_LEFT="bottom-left",t.BOTTOM_CENTRE="bottom-centre"}(O||(O={})),function(t){t.EXPANDABLE="expandable",t.PADDING="padding",t.NONE="none"}(B||(B={})),function(t){t.POLITE="polite",t.ASSERTIVE="assertive"}(N||(N={})),function(t){t.LEFT="left",t.RIGHT="right"}(P||(P={})),function(t){t.OVERLAY="overlay",t.PUSHCONTENT="pushcontent"}(U||(U={})),function(t){t.DEFAULT="default",t.DRAGDROP="dragdrop"}(W||(W={})),function(t){t.DEFAULT="default",t.MEDIUM="medium",t.SMALL="small"}(z||(z={})),function(t){t.BEFORE="before",t.AFTER="after"}(L||(L={})),function(t){t.DATE="date",t.DATE_TIME="date-time",t.MONTHS="months"}(M||(M={})),function(t){t[t.DATE=401]="DATE",t[t.DATE_TIME=523]="DATE_TIME",t[t.MONTHS=288]="MONTHS"}(H||(H={})),function(t){t.TOP="top",t.BOTTOM="bottom"}(I||(I={})),function(t){t.DATE="date",t.DATE_TIME="date-time"}(K||(K={})),function(t){t.TOP_RIGHT="top_right",t.TOP_LEFT="top_left",t.BOTTOM_RIGHT="bottom_right",t.BOTTOM_LEFT="bottom_left"}(j||(j={})),function(t){t.OVERLAY="overlay",t.STACKED="stacked"}(q||(q={})),function(t){t.TOP="top",t.BOTTOM="bottom"}(F||(F={})),function(t){t.OVER="over",t.BOTTOM="bottom"}(G||(G={})),function(t){t.DOTS="dots",t.NUMBERS="numbers"}(J||(J={})),function(t){t.SEMIBOLD="semibold",t.UNDERLINED="underlined"}(Q||(Q={})),function(t){t.TEXT="text",t.ICON="icon"}(V||(V={})),function(t){t.HOVER="hover",t.ALWAYS="always"}(X||(X={})),function(t){t.EXPANDED="expanded",t.COMPACT="compact",t.SEARCH="search"}(Y||(Y={})),function(t){t.DEFAULT="default",t.BACKGROUND="background"}(Z||(Z={}));export{w as A,i as B,n as C,p as D,A as E,H as F,I as G,K as H,u as I,j as J,d as K,t as L,q as M,o as N,U as O,l as P,F as Q,G as R,h as S,g as T,J as U,Q as V,V as W,X,Y,B as Z,Z as _,e as a,a as b,s as c,r as d,c as e,f,m as g,b as h,_ as i,E as j,v as k,x as l,k as m,T as n,y as o,D as p,R as q,S as r,C as s,O as t,N as u,P as v,W as w,z as x,L as y,M as z}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as r}from"./p-d17ebc2f.js";import{f as n}from"./p-
|
|
1
|
+
import{r as t,c as i,h as r}from"./p-d17ebc2f.js";import{f as n}from"./p-74a062db.js";const s=class{constructor(r){t(this,r),this.otpChange=i(this,"otpChange",7),this.inputNum=6}emitInputChange(t){this.otpChange.emit({value:t})}componentWillLoad(){this.otp=[...Array(this.inputNum)],this.otpRef=[...Array(this.inputNum)]}render(){return r("div",{class:"otp-container"},r("div",{class:"digits-container"},this.otp.map(((t,i)=>r("input",{class:this.status==n.ERROR?"error":null,onKeyDown:t=>{t.keyCode>47&&(this.otpRef[i].value="")},onKeyUp:t=>{t.keyCode>47&&i<this.inputNum-1&&this.otpRef[i+1].focus()},onInput:t=>{this.otp[i]=t.target.value,this.emitInputChange(this.otp.join(""))},type:"text",minlength:"1",maxlength:"1",autoComplete:"off",ref:t=>this.otpRef[i]=t})))),r("z-input-message",{message:this.message,status:this.status}))}};s.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{width:calc(var(--space-unit) * 5);height:72px;box-sizing:border-box;padding:0;caret-color:transparent;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:32px;font-weight:300;text-align:center}input.error{border:1px solid;border-color:var(--color-error01);background-color:var(--color-error-inverse);border-radius:4px}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";export{s as z_otp}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as a,p as t}from"./p-74a062db.js";import{d as n,t as e,m as s}from"./p-37037d9d.js";function r(a){switch(a){case!0:case"true":case 1:case"1":case"on":case"yes":return!0;case!1:case"false":case 0:case"0":case"off":case"no":return!1;default:return a}}function c(){return Math.random().toString(36).replace("0.","")}function u(t,n,...e){t.code!==a.ENTER&&t.code!==a.SPACE||(t.preventDefault(),n(...e))}function o(t,n,...e){t.code===a.ENTER&&(t.preventDefault(),n(...e))}function f(a=null){return a||(a=document.activeElement),a&&a.shadowRoot&&a.shadowRoot.activeElement?f(a=a.shadowRoot.activeElement):a}function i(a,t=[]){return t.push(a),a.parentElement?i(a=a.parentElement,t):a.parentNode&&a.parentNode.host?i(a=a.parentNode.host,t):t}function d(){switch(!0){case window.innerWidth<=s:return t.MOBILE;case window.innerWidth<=e:return t.TABLET;case window.innerWidth<=n:return t.DESKTOP;default:return t.DESKTOP_WIDE}}function w(a){try{return JSON.parse(a)}catch(a){return!1}}function h(a){const t=Math.ceil(2**31-1)*parseFloat(`0.${a}`);let n=Math.ceil(t%1*19);return 0===n&&(n=1),`avatar-C${n.toString().padStart(2,"0")}`}export{u as a,r as b,h as c,i as d,f as e,w as f,d as g,o as h,c as r}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,c as t,h as
|
|
1
|
+
import{r as s,c as t,h as i,H as c}from"./p-d17ebc2f.js";import{r as e}from"./p-766d9faa.js";import{k as l}from"./p-74a062db.js";import"./p-37037d9d.js";const o=class{constructor(i){s(this,i),this.toggleClick=t(this,"toggleClick",7),this.disabled=!1,this.labelPosition=l.LEFT,this.checked=!1,this.htmlid=`toggle-switch-id-${e()}`}emitToggleClick(){this.toggleClick.emit({id:this.htmlid,checked:this.checked})}handleClick(s){this.disabled||(this.checked=s.target.checked,this.emitToggleClick())}render(){return i(c,null,i("input",{id:this.htmlid,type:"checkbox",checked:this.checked,disabled:this.disabled,onChange:this.handleClick.bind(this)}),i("label",{htmlFor:this.htmlid,class:{[this.labelPosition]:!0,disabled:this.disabled}},i("span",null,i("slot",null)),i("span",{class:{container:!0,disabled:this.disabled,checked:this.checked}},i("span",{class:"circle"},this.checked&&i("z-icon",{width:12,height:12,name:"checkmark"})))))}};o.style='.sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-text01);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--gray500);border-radius:var(--space-unit);color:var(--gray500);cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){box-shadow:var(--shadow-focus-primary);outline:none}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);align-items:center;justify-content:center;margin:0;background-color:var(--color-white);border-radius:7px;box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type="checkbox"].sc-z-toggle-switch{position:absolute;z-index:-1;opacity:0;pointer-events:none}';export{o as z_toggle_switch}
|