@zanichelli/albe-web-components 7.3.4 → 7.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2479 -0
- package/LICENSE +21 -21
- package/dist/cjs/{breakpoints-776c8868.js → breakpoints-88c4fd6c.js} +1 -1
- package/dist/cjs/{icons-dea2e345.js → icons-a9849a41.js} +763 -763
- package/dist/cjs/{index-677bbad4.js → index-2dfdb7e2.js} +324 -317
- package/dist/cjs/index.cjs.js +11 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-3b7e4fdf.js → utils-b447f1da.js} +94 -94
- package/dist/cjs/{utils-49853b30.js → utils-f21f9a4f.js} +75 -75
- package/dist/cjs/web-components-library.cjs.js +1 -1
- 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 +989 -989
- 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-button-sort.cjs.entry.js +42 -42
- package/dist/cjs/z-card.cjs.entry.js +55 -55
- 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 -115
- 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 +13 -13
- package/dist/cjs/z-table-cell.cjs.entry.js +25 -25
- package/dist/cjs/z-table-empty-box.cjs.entry.js +21 -21
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +8 -8
- package/dist/cjs/z-table-footer.cjs.entry.js +12 -12
- package/dist/cjs/z-table-head.cjs.entry.js +12 -12
- package/dist/cjs/z-table-header-row.cjs.entry.js +11 -11
- package/dist/cjs/z-table-header.cjs.entry.js +71 -71
- package/dist/cjs/z-table-row.cjs.entry.js +32 -32
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +8 -8
- package/dist/cjs/z-table.cjs.entry.js +69 -69
- package/dist/cjs/z-tag.cjs.entry.js +11 -11
- 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-typography.cjs.entry.js +19 -19
- package/dist/cjs/z-visually-hidden.cjs.entry.js +8 -8
- package/dist/collection/beans/index.js +325 -318
- 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 +764 -764
- 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 +764 -764
- package/dist/collection/components/inputs/z-input/styles.css +398 -398
- 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 +198 -198
- package/dist/collection/components/navigation/tabs/navigation-tab.css +136 -136
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +276 -242
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +298 -264
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +296 -200
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/styles.css +104 -104
- package/dist/collection/components/navigation/z-app-header/index.js +428 -428
- package/dist/collection/components/navigation/z-app-header/index.stories.js +393 -393
- package/dist/collection/components/navigation/z-app-header/styles.css +420 -420
- 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/z-anchor-navigation/index.js +95 -95
- package/dist/collection/components/z-anchor-navigation/styles.css +129 -129
- 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-card/index.js +186 -186
- package/dist/collection/components/z-card/styles.css +206 -206
- 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 +44 -44
- 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-table/z-table/index.js +352 -352
- package/dist/collection/components/z-table/z-table/styles.css +115 -115
- package/dist/collection/components/z-table/z-table-body/index.js +23 -23
- package/dist/collection/components/z-table/z-table-body/styles.css +9 -9
- package/dist/collection/components/z-table/z-table-cell/index.js +86 -86
- package/dist/collection/components/z-table/z-table-cell/styles.css +58 -58
- package/dist/collection/components/z-table/z-table-empty-box/index.js +72 -72
- package/dist/collection/components/z-table/z-table-empty-box/styles.css +38 -38
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +39 -39
- package/dist/collection/components/z-table/z-table-expanded-row/styles.css +9 -9
- package/dist/collection/components/z-table/z-table-footer/index.js +22 -22
- package/dist/collection/components/z-table/z-table-footer/styles.css +5 -5
- package/dist/collection/components/z-table/z-table-head/index.js +22 -22
- package/dist/collection/components/z-table/z-table-head/styles.css +5 -5
- package/dist/collection/components/z-table/z-table-header/index.js +238 -238
- package/dist/collection/components/z-table/z-table-header/styles.css +71 -71
- package/dist/collection/components/z-table/z-table-header-row/index.js +41 -41
- package/dist/collection/components/z-table/z-table-header-row/styles.css +13 -13
- package/dist/collection/components/z-table/z-table-row/index.js +92 -92
- package/dist/collection/components/z-table/z-table-row/styles.css +45 -45
- package/dist/collection/components/z-table/z-table-sticky-footer/index.js +21 -21
- package/dist/collection/components/z-table/z-table-sticky-footer/styles.css +11 -11
- 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 +3 -3
- 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/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 +51 -51
- package/dist/collection/utils/utils.js +113 -113
- package/dist/esm/{breakpoints-14432d05.js → breakpoints-c386984e.js} +1 -1
- package/dist/esm/{icons-55b0b113.js → icons-6cd265c6.js} +763 -763
- package/dist/esm/{index-03c01696.js → index-f3202f58.js} +325 -318
- 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-f8eb3944.js → utils-0cfc97ad.js} +94 -94
- package/dist/esm/{utils-a7846d0f.js → utils-930405dd.js} +75 -75
- package/dist/esm/web-components-library.js +1 -1
- 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 +989 -989
- 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-button-sort.entry.js +42 -42
- package/dist/esm/z-card.entry.js +55 -55
- 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 -115
- 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 +13 -13
- package/dist/esm/z-table-cell.entry.js +25 -25
- package/dist/esm/z-table-empty-box.entry.js +21 -21
- package/dist/esm/z-table-expanded-row.entry.js +8 -8
- package/dist/esm/z-table-footer.entry.js +12 -12
- package/dist/esm/z-table-head.entry.js +12 -12
- package/dist/esm/z-table-header-row.entry.js +11 -11
- package/dist/esm/z-table-header.entry.js +71 -71
- package/dist/esm/z-table-row.entry.js +32 -32
- package/dist/esm/z-table-sticky-footer.entry.js +8 -8
- package/dist/esm/z-table.entry.js +69 -69
- package/dist/esm/z-tag.entry.js +11 -11
- 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-typography.entry.js +19 -19
- package/dist/esm/z-visually-hidden.entry.js +8 -8
- package/dist/types/beans/index.d.ts +380 -374
- 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 +1362 -1362
- package/dist/types/components/icons/z-icon/index.d.ts +14 -14
- 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 +64 -52
- package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +72 -60
- package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +88 -70
- package/dist/types/components/navigation/z-app-header/index.d.ts +143 -143
- 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/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-card/index.d.ts +44 -44
- 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-table/z-table/index.d.ts +48 -48
- package/dist/types/components/z-table/z-table-body/index.d.ts +5 -5
- package/dist/types/components/z-table/z-table-cell/index.d.ts +12 -12
- package/dist/types/components/z-table/z-table-empty-box/index.d.ts +12 -12
- package/dist/types/components/z-table/z-table-expanded-row/index.d.ts +5 -5
- package/dist/types/components/z-table/z-table-footer/index.d.ts +5 -5
- package/dist/types/components/z-table/z-table-head/index.d.ts +5 -5
- package/dist/types/components/z-table/z-table-header/index.d.ts +29 -29
- package/dist/types/components/z-table/z-table-header-row/index.d.ts +6 -6
- package/dist/types/components/z-table/z-table-row/index.d.ts +13 -13
- package/dist/types/components/z-table/z-table-sticky-footer/index.d.ts +6 -6
- 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 +40 -0
- package/dist/types/constants/breakpoints.d.ts +3 -3
- 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/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/utils/utils.d.ts +24 -24
- package/dist/web-components-library/index.esm.js +1 -1
- package/{www/build/p-c47ec900.entry.js → dist/web-components-library/p-01278f82.entry.js} +1 -1
- package/{www/build/p-c655b1c8.entry.js → dist/web-components-library/p-06de959d.entry.js} +1 -1
- package/dist/web-components-library/p-0c07b4f9.entry.js +1 -0
- package/dist/web-components-library/{p-d2fb8d30.entry.js → p-1505703f.entry.js} +1 -1
- package/dist/web-components-library/p-1b4d5a24.entry.js +1 -0
- package/dist/web-components-library/{p-9c3e91fd.entry.js → p-2c871e12.entry.js} +1 -1
- package/dist/web-components-library/{p-baabfd0d.entry.js → p-32c36f6c.entry.js} +1 -1
- package/dist/web-components-library/{p-d1c86e77.entry.js → p-33251591.entry.js} +1 -1
- package/dist/web-components-library/{p-0c3f4eed.entry.js → p-39c52a0d.entry.js} +1 -1
- package/dist/web-components-library/{p-b10a244b.entry.js → p-3bd60dc8.entry.js} +1 -1
- package/dist/web-components-library/{p-0afb1436.entry.js → p-4367f978.entry.js} +1 -1
- package/dist/web-components-library/{p-d152fcef.entry.js → p-4c85652a.entry.js} +1 -1
- package/dist/web-components-library/p-515b46d9.entry.js +1 -0
- package/dist/web-components-library/p-562eb005.entry.js +1 -0
- package/dist/web-components-library/p-5d651052.entry.js +1 -0
- package/dist/web-components-library/{p-50d1f5a4.entry.js → p-642d6be4.entry.js} +1 -1
- package/{www/build/p-cf34dfa1.entry.js → dist/web-components-library/p-66c4eda8.entry.js} +1 -1
- package/dist/web-components-library/{p-968d9b80.entry.js → p-6736e894.entry.js} +1 -1
- package/dist/web-components-library/{p-a8df4340.entry.js → p-6816cba3.entry.js} +1 -1
- package/dist/web-components-library/p-6b454593.js +1 -0
- package/dist/web-components-library/{p-da923c76.entry.js → p-74c27fc5.entry.js} +1 -1
- package/dist/web-components-library/{p-70e71580.entry.js → p-7a276150.entry.js} +1 -1
- package/dist/web-components-library/{p-8153e216.entry.js → p-7c94ae08.entry.js} +1 -1
- package/dist/web-components-library/{p-802723a9.entry.js → p-7d8711d1.entry.js} +1 -1
- package/dist/web-components-library/{p-0164ca54.entry.js → p-82291408.entry.js} +1 -1
- package/dist/web-components-library/{p-ad664ac3.entry.js → p-84116d2d.entry.js} +1 -1
- package/dist/web-components-library/{p-04631bc5.entry.js → p-8539c6f2.entry.js} +1 -1
- package/{www/build/p-72c76071.entry.js → dist/web-components-library/p-8d4b2131.entry.js} +1 -1
- package/dist/web-components-library/{p-560116ec.entry.js → p-93191e1d.entry.js} +1 -1
- package/dist/web-components-library/p-9566edeb.entry.js +1 -0
- package/dist/web-components-library/p-98eac308.entry.js +1 -0
- package/dist/web-components-library/{p-2415d4d8.entry.js → p-9c3f4437.entry.js} +1 -1
- package/dist/web-components-library/{p-25678da1.entry.js → p-9d57a84c.entry.js} +1 -1
- package/dist/web-components-library/p-a4e68d80.entry.js +1 -0
- package/dist/web-components-library/{p-50bc8152.entry.js → p-a93e5cad.entry.js} +1 -1
- package/dist/web-components-library/{p-32eec10f.entry.js → p-adce9752.entry.js} +1 -1
- package/dist/web-components-library/{p-b301e6e1.js → p-b1068026.js} +1 -1
- package/dist/web-components-library/{p-f0eb6020.entry.js → p-b85be817.entry.js} +1 -1
- package/dist/web-components-library/{p-8272a099.entry.js → p-c085be1d.entry.js} +1 -1
- package/dist/web-components-library/{p-356b2fc1.entry.js → p-c64c5cbb.entry.js} +1 -1
- package/dist/web-components-library/{p-75883172.entry.js → p-c736b92c.entry.js} +1 -1
- package/dist/web-components-library/p-c75451cc.entry.js +1 -0
- package/{www/build/p-6c9421c6.entry.js → dist/web-components-library/p-cf53ce51.entry.js} +1 -1
- package/dist/web-components-library/{p-e02ecf4c.entry.js → p-daf06f6f.entry.js} +1 -1
- package/dist/web-components-library/{p-9665df65.entry.js → p-dcea357f.entry.js} +1 -1
- package/{www/build/p-ad48bdb5.js → dist/web-components-library/p-e9bf5f75.js} +1 -1
- package/dist/web-components-library/{p-0b1de3ce.entry.js → p-eb293bba.entry.js} +1 -1
- package/dist/web-components-library/{p-1d19e382.entry.js → p-ffc56e80.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +106 -106
- package/react/components.d.ts +90 -90
- package/react/components.js +96 -96
- 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/src-react/index.ts +1 -0
- package/www/build/index.esm.js +1 -1
- package/{dist/web-components-library/p-c47ec900.entry.js → www/build/p-01278f82.entry.js} +1 -1
- package/{dist/web-components-library/p-c655b1c8.entry.js → www/build/p-06de959d.entry.js} +1 -1
- package/www/build/p-0c07b4f9.entry.js +1 -0
- package/www/build/{p-d2fb8d30.entry.js → p-1505703f.entry.js} +1 -1
- package/www/build/p-18076d34.js +129 -0
- package/www/build/p-1b4d5a24.entry.js +1 -0
- package/www/build/{p-9c3e91fd.entry.js → p-2c871e12.entry.js} +1 -1
- package/www/build/{p-baabfd0d.entry.js → p-32c36f6c.entry.js} +1 -1
- package/www/build/{p-d1c86e77.entry.js → p-33251591.entry.js} +1 -1
- package/www/build/{p-0c3f4eed.entry.js → p-39c52a0d.entry.js} +1 -1
- package/www/build/{p-b10a244b.entry.js → p-3bd60dc8.entry.js} +1 -1
- package/www/build/{p-0afb1436.entry.js → p-4367f978.entry.js} +1 -1
- package/www/build/{p-d152fcef.entry.js → p-4c85652a.entry.js} +1 -1
- package/www/build/p-515b46d9.entry.js +1 -0
- package/www/build/p-562eb005.entry.js +1 -0
- package/www/build/p-5d651052.entry.js +1 -0
- package/www/build/{p-50d1f5a4.entry.js → p-642d6be4.entry.js} +1 -1
- package/{dist/web-components-library/p-cf34dfa1.entry.js → www/build/p-66c4eda8.entry.js} +1 -1
- package/www/build/{p-968d9b80.entry.js → p-6736e894.entry.js} +1 -1
- package/www/build/{p-a8df4340.entry.js → p-6816cba3.entry.js} +1 -1
- package/www/build/p-6b454593.js +1 -0
- package/www/build/{p-da923c76.entry.js → p-74c27fc5.entry.js} +1 -1
- package/www/build/{p-70e71580.entry.js → p-7a276150.entry.js} +1 -1
- package/www/build/{p-8153e216.entry.js → p-7c94ae08.entry.js} +1 -1
- package/www/build/{p-802723a9.entry.js → p-7d8711d1.entry.js} +1 -1
- package/www/build/{p-0164ca54.entry.js → p-82291408.entry.js} +1 -1
- package/www/build/{p-ad664ac3.entry.js → p-84116d2d.entry.js} +1 -1
- package/www/build/{p-04631bc5.entry.js → p-8539c6f2.entry.js} +1 -1
- package/{dist/web-components-library/p-72c76071.entry.js → www/build/p-8d4b2131.entry.js} +1 -1
- package/www/build/{p-560116ec.entry.js → p-93191e1d.entry.js} +1 -1
- package/www/build/p-9566edeb.entry.js +1 -0
- package/www/build/p-98eac308.entry.js +1 -0
- package/www/build/{p-2415d4d8.entry.js → p-9c3f4437.entry.js} +1 -1
- package/www/build/{p-25678da1.entry.js → p-9d57a84c.entry.js} +1 -1
- package/www/build/p-a4e68d80.entry.js +1 -0
- package/www/build/{p-50bc8152.entry.js → p-a93e5cad.entry.js} +1 -1
- package/www/build/{p-32eec10f.entry.js → p-adce9752.entry.js} +1 -1
- package/www/build/{p-b301e6e1.js → p-b1068026.js} +1 -1
- package/www/build/{p-f0eb6020.entry.js → p-b85be817.entry.js} +1 -1
- package/www/build/p-bc2bd463.css +1617 -0
- package/www/build/{p-8272a099.entry.js → p-c085be1d.entry.js} +1 -1
- package/www/build/{p-356b2fc1.entry.js → p-c64c5cbb.entry.js} +1 -1
- package/www/build/{p-75883172.entry.js → p-c736b92c.entry.js} +1 -1
- package/www/build/p-c75451cc.entry.js +1 -0
- package/{dist/web-components-library/p-6c9421c6.entry.js → www/build/p-cf53ce51.entry.js} +1 -1
- package/www/build/{p-e02ecf4c.entry.js → p-daf06f6f.entry.js} +1 -1
- package/www/build/{p-9665df65.entry.js → p-dcea357f.entry.js} +1 -1
- package/{dist/web-components-library/p-ad48bdb5.js → www/build/p-e9bf5f75.js} +1 -1
- package/www/build/{p-0b1de3ce.entry.js → p-eb293bba.entry.js} +1 -1
- package/www/build/{p-1d19e382.entry.js → p-ffc56e80.entry.js} +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/www/pages/file-upload.html +258 -258
- package/www/pages/notification.html +299 -299
- package/dist/web-components-library/p-15bb0526.entry.js +0 -1
- package/dist/web-components-library/p-3d4b8a34.entry.js +0 -1
- package/dist/web-components-library/p-79919c84.entry.js +0 -1
- package/dist/web-components-library/p-825b4767.entry.js +0 -1
- package/dist/web-components-library/p-b6b122a3.entry.js +0 -1
- package/dist/web-components-library/p-bfd78f08.entry.js +0 -1
- package/dist/web-components-library/p-dfed050d.js +0 -1
- package/dist/web-components-library/p-e09f95c9.entry.js +0 -1
- package/dist/web-components-library/p-e5410351.entry.js +0 -1
- package/dist/web-components-library/p-f9d29371.entry.js +0 -1
- package/www/build/p-15bb0526.entry.js +0 -1
- package/www/build/p-3d4b8a34.entry.js +0 -1
- package/www/build/p-79919c84.entry.js +0 -1
- package/www/build/p-825b4767.entry.js +0 -1
- package/www/build/p-b6b122a3.entry.js +0 -1
- package/www/build/p-bfd78f08.entry.js +0 -1
- package/www/build/p-d20434c3.js +0 -1
- package/www/build/p-dfed050d.js +0 -1
- package/www/build/p-e09f95c9.entry.js +0 -1
- package/www/build/p-e5410351.entry.js +0 -1
- package/www/build/p-f39bb490.css +0 -2
- package/www/build/p-f9d29371.entry.js +0 -1
- /package/dist/web-components-library/{p-21c3aea0.js → p-bb85c467.js} +0 -0
- /package/dist/web-components-library/{p-e35d3552.js → p-d69e14fb.js} +0 -0
- /package/www/build/{p-21c3aea0.js → p-bb85c467.js} +0 -0
- /package/www/build/{p-e35d3552.js → p-d69e14fb.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import { InputStatus } from "../../../beans";
|
|
3
|
-
export declare class ZOtp {
|
|
4
|
-
/** Input number */
|
|
5
|
-
inputNum?: number;
|
|
6
|
-
/** Input status */
|
|
7
|
-
status?: InputStatus;
|
|
8
|
-
/** Input message */
|
|
9
|
-
message?: string;
|
|
10
|
-
private otp;
|
|
11
|
-
private otpRef;
|
|
12
|
-
/** Otp change event */
|
|
13
|
-
otpChange: EventEmitter;
|
|
14
|
-
private emitInputChange;
|
|
15
|
-
componentWillLoad(): void;
|
|
16
|
-
render(): HTMLDivElement;
|
|
17
|
-
}
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
import { InputStatus } from "../../../beans";
|
|
3
|
+
export declare class ZOtp {
|
|
4
|
+
/** Input number */
|
|
5
|
+
inputNum?: number;
|
|
6
|
+
/** Input status */
|
|
7
|
+
status?: InputStatus;
|
|
8
|
+
/** Input message */
|
|
9
|
+
message?: string;
|
|
10
|
+
private otp;
|
|
11
|
+
private otpRef;
|
|
12
|
+
/** Otp change event */
|
|
13
|
+
otpChange: EventEmitter;
|
|
14
|
+
private emitInputChange;
|
|
15
|
+
componentWillLoad(): void;
|
|
16
|
+
render(): HTMLDivElement;
|
|
17
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { Device } from "../../../beans";
|
|
2
|
-
/**
|
|
3
|
-
* @slot footer-right - right content slot in footer
|
|
4
|
-
* @slot footer-left - left content slot in footer
|
|
5
|
-
*/
|
|
6
|
-
export declare class ZSlideshow {
|
|
7
|
-
el: HTMLZSlideshowElement;
|
|
8
|
-
/** slideshow id */
|
|
9
|
-
slideshowid: string;
|
|
10
|
-
/** array or JSON stringified images urls */
|
|
11
|
-
data: string[] | string;
|
|
12
|
-
device: Device;
|
|
13
|
-
currentSlide: number;
|
|
14
|
-
private links;
|
|
15
|
-
watchData(): void;
|
|
16
|
-
componentWillLoad(): void;
|
|
17
|
-
componentDidRender(): void;
|
|
18
|
-
private handleResize;
|
|
19
|
-
private parseLinks;
|
|
20
|
-
private setStyle;
|
|
21
|
-
private setDevice;
|
|
22
|
-
private setCurrentSlide;
|
|
23
|
-
private getBulletDimension;
|
|
24
|
-
private renderSlides;
|
|
25
|
-
private renderScroll;
|
|
26
|
-
private renderSlideshowMain;
|
|
27
|
-
private renderBullet;
|
|
28
|
-
private renderSlideshowFooter;
|
|
29
|
-
render(): HTMLElement;
|
|
30
|
-
}
|
|
1
|
+
import { Device } from "../../../beans";
|
|
2
|
+
/**
|
|
3
|
+
* @slot footer-right - right content slot in footer
|
|
4
|
+
* @slot footer-left - left content slot in footer
|
|
5
|
+
*/
|
|
6
|
+
export declare class ZSlideshow {
|
|
7
|
+
el: HTMLZSlideshowElement;
|
|
8
|
+
/** slideshow id */
|
|
9
|
+
slideshowid: string;
|
|
10
|
+
/** array or JSON stringified images urls */
|
|
11
|
+
data: string[] | string;
|
|
12
|
+
device: Device;
|
|
13
|
+
currentSlide: number;
|
|
14
|
+
private links;
|
|
15
|
+
watchData(): void;
|
|
16
|
+
componentWillLoad(): void;
|
|
17
|
+
componentDidRender(): void;
|
|
18
|
+
private handleResize;
|
|
19
|
+
private parseLinks;
|
|
20
|
+
private setStyle;
|
|
21
|
+
private setDevice;
|
|
22
|
+
private setCurrentSlide;
|
|
23
|
+
private getBulletDimension;
|
|
24
|
+
private renderSlides;
|
|
25
|
+
private renderScroll;
|
|
26
|
+
private renderSlideshowMain;
|
|
27
|
+
private renderBullet;
|
|
28
|
+
private renderSlideshowFooter;
|
|
29
|
+
render(): HTMLElement;
|
|
30
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { ChildNode } from "../stencil-public-runtime";
|
|
2
|
-
import { Device } from "../beans/index";
|
|
3
|
-
export declare function format(first: string, middle: string, last: string): string;
|
|
4
|
-
/**
|
|
5
|
-
* Return boolean value for passed value if a boolean corresponding value is found
|
|
6
|
-
* Return passed value otherwise
|
|
7
|
-
*/
|
|
8
|
-
export declare function boolean(value: string | number | boolean): boolean | string | number;
|
|
9
|
-
export declare function retrieveAsset(assetName: string): string;
|
|
10
|
-
export declare function randomId(): string;
|
|
11
|
-
export declare function handleKeyboardSubmit(ev: KeyboardEvent, callback: (...args: any[]) => void, ...args: any[]): void;
|
|
12
|
-
export declare function handleEnterKeydSubmit(ev: KeyboardEvent, callback: (...args: any[]) => void, ...args: any[]): void;
|
|
13
|
-
export declare function getClickedElement(elem?: null | Element): null | Element;
|
|
14
|
-
export declare function getElementTree(elem: Element, tree?: Element[]): null | Element[];
|
|
15
|
-
export declare function getSiblings(elem: HTMLElement): ChildNode[];
|
|
16
|
-
export declare function getDevice(): Device;
|
|
17
|
-
declare type JSONValue = string | number | boolean | JSONObject | JSONArray;
|
|
18
|
-
interface JSONObject {
|
|
19
|
-
[x: string]: JSONValue;
|
|
20
|
-
}
|
|
21
|
-
declare type JSONArray = JSONValue[];
|
|
22
|
-
export declare function convertJson(data: string): JSONValue;
|
|
23
|
-
export declare function colorFromId(id: number): string;
|
|
24
|
-
export {};
|
|
1
|
+
import { ChildNode } from "../stencil-public-runtime";
|
|
2
|
+
import { Device } from "../beans/index";
|
|
3
|
+
export declare function format(first: string, middle: string, last: string): string;
|
|
4
|
+
/**
|
|
5
|
+
* Return boolean value for passed value if a boolean corresponding value is found
|
|
6
|
+
* Return passed value otherwise
|
|
7
|
+
*/
|
|
8
|
+
export declare function boolean(value: string | number | boolean): boolean | string | number;
|
|
9
|
+
export declare function retrieveAsset(assetName: string): string;
|
|
10
|
+
export declare function randomId(): string;
|
|
11
|
+
export declare function handleKeyboardSubmit(ev: KeyboardEvent, callback: (...args: any[]) => void, ...args: any[]): void;
|
|
12
|
+
export declare function handleEnterKeydSubmit(ev: KeyboardEvent, callback: (...args: any[]) => void, ...args: any[]): void;
|
|
13
|
+
export declare function getClickedElement(elem?: null | Element): null | Element;
|
|
14
|
+
export declare function getElementTree(elem: Element, tree?: Element[]): null | Element[];
|
|
15
|
+
export declare function getSiblings(elem: HTMLElement): ChildNode[];
|
|
16
|
+
export declare function getDevice(): Device;
|
|
17
|
+
declare type JSONValue = string | number | boolean | JSONObject | JSONArray;
|
|
18
|
+
interface JSONObject {
|
|
19
|
+
[x: string]: JSONValue;
|
|
20
|
+
}
|
|
21
|
+
declare type JSONArray = JSONValue[];
|
|
22
|
+
export declare function convertJson(data: string): JSONValue;
|
|
23
|
+
export declare function colorFromId(id: number): string;
|
|
24
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as
|
|
1
|
+
import{c as W}from"./p-b1068026.js";export{p as AlertType,A as AvatarSize,d as ButtonSize,c as ButtonType,B as ButtonVariant,C as CardVariant,U as CarouselArrowsPosition,V as CarouselProgressMode,e as ControlSize,R as CoverHeroContentPosition,Q as CoverHeroVariant,q as Device,h as DividerOrientation,D as DividerSize,k as ExpandableListButtonAlign,E as ExpandableListStyle,M as InfoRevealPosition,f as InputStatus,I as InputType,g as KeyboardCode,K as KeyboardKeyCode,l as LabelPosition,L as LicenseType,m as ListDividerType,i as ListSize,n as ListType,b as NavigationTabsKeyboardEvents,N as NavigationTabsOrientation,a as NavigationTabsSize,o as NotificationType,O as OffCanvasVariant,r as PocketStatus,P as PopoverPosition,j as Size,S as SortDirection,T as ThemeVariant,s as ToastNotification,u as ToastNotificationPosition,t as ToastNotificationTransition,w as TransitionDirection,v as ZAriaAlertMode,y as ZChipType,F as ZDatePickerMode,G as ZDatePickerModeValue,H as ZDatePickerPosition,x as ZFileUploadType,J as ZRangePickerMode,z as ZSectionTitleDividerPosition,Z as ZTableRowExpandedType}from"./p-6b454593.js";import"./p-d69e14fb.js";const X={colorFromId:W};export{X as Utils}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as o,h as a,H as r,g as e}from"./p-d17ebc2f.js";import{C as i}from"./p-
|
|
1
|
+
import{r as t,c as o,h as a,H as r,g as e}from"./p-d17ebc2f.js";import{C as i}from"./p-6b454593.js";const s=class{constructor(a){t(this,a),this.cardClicked=o(this,"cardClicked",7),this.clickable=!1,this.showshadow=!1}onClick(t){if("action"!==t.target.getAttribute("slot"))return this.clickable?void this.cardClicked.emit():(t.preventDefault(),void t.stopPropagation())}componentWillLoad(){this.hasCoverImage=null!==this.host.querySelector('[slot="cover"]')}renderColorCoverCard(){return[a("div",{class:"cover-container"},a("div",{class:"color-cover"},a("div",{class:"cover-content"},a("slot",{name:"metadata"}),a("slot",{name:"title"})))),a("div",{class:"content"},a("slot",{name:"text"}),a("div",{class:"actions"},a("slot",{name:"action"})))]}renderContentDiv(){return a("div",{class:"content"},a("slot",{name:"metadata"}),a("slot",{name:"title"}),a("slot",{name:"text"}),a("div",{class:"actions"},a("slot",{name:"action"})))}render(){return this.variant===i.TEXT?a(r,null,this.renderContentDiv()):this.variant===i.OVERLAY||this.hasCoverImage?a(r,null,a("div",{class:"cover-container"},this.hasCoverImage&&[a("slot",{name:"cover"}),this.variant!==i.OVERLAY&&this.coverIcon&&a("z-icon",{name:this.coverIcon})],!this.hasCoverImage&&a("div",{class:"color-cover"})),this.renderContentDiv()):a(r,null,this.renderColorCoverCard())}get host(){return e(this)}};s.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;position:relative;display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}*,::slotted(*){box-sizing:border-box}:host(:not([variant="overlay"])) .cover-container{position:relative;width:100%}.cover-container{padding-bottom:calc(100% / var(--aspect-ratio))}::slotted([slot="cover"]),.color-cover{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.cover-container>z-icon{--z-icon-width:calc(var(--space-unit) * 11);--z-icon-height:var(--z-icon-width);position:absolute;top:calc(50% - calc(var(--z-icon-height) / 2));left:calc(50% - calc(var(--z-icon-width) / 2));fill:var(--color-primary01)}.color-cover{background-color:var(--z-card--color-cover-background)}.content{display:flex;flex-direction:column;padding-top:var(--space-unit)}.color-cover .cover-content{display:flex;height:100%;flex-direction:column;justify-content:flex-end;padding:var(--space-unit)}::slotted([slot="metadata"]),::slotted([slot="title"]),::slotted([slot="text"]){display:box;overflow:hidden;-webkit-box-orient:vertical}::slotted([slot="title"]:not(:last-child)),::slotted([slot="text"]:not(:last-child)){margin-bottom:var(--space-unit)}::slotted([slot="text"]),::slotted([slot="actions"]){margin:0}::slotted([slot="metadata"]:not(:last-child)){margin:0 0 calc(var(--space-unit) * 0.25);-webkit-line-clamp:1;text-transform:uppercase}::slotted([slot="title"]){margin:0;font-weight:var(--font-sb);-webkit-line-clamp:2}::slotted([slot="text"]){-webkit-line-clamp:3}.actions{display:flex;flex-direction:row;align-items:center}::slotted([slot="action"]:not(:last-child)){margin-right:calc(var(--space-unit) * 1.5)}:host([clickable]){cursor:pointer}:host([clickable]:focus:focus-visible){outline:none}:host(:not([variant])[clickable]:focus:focus-visible){padding:calc(var(--space-unit) * 0.5);box-shadow:var(--shadow-focus-primary)}:host([variant="text"]){border:var(--z-card--text-border);background-color:var(--z-card--text-background);border-radius:var(--z-card--text-border-radius)}:host([showshadow])>.content,:host([variant="border"])>.content,:host([variant="shadow"])>.content{height:100%;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2)}:host([variant="text"])>.content{padding:calc(var(--space-unit) * 2) var(--space-unit)}:host([variant="border"]) .actions,:host([variant="shadow"]) .actions{margin-top:auto}:host([variant="border"]){border:var(--border-size-small) solid var(--z-card--border-color)}:host([variant="border"][clickable]:hover)>.content{background:var(--color-background)}:host([variant="border"][clickable]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant="border"][clickable]:active){border-color:transparent}:host([variant="shadow"]),:host([showshadow]){box-shadow:var(--shadow-2)}:host([variant="shadow"][clickable]:hover),:host([clickable][showshadow]:hover){box-shadow:var(--shadow-4)}:host([variant="shadow"][clickable]:focus:focus-visible),:host([clickable][showshadow]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant="shadow"][clickable]:active),:host([clickable][showshadow]:active){box-shadow:none}:host([variant="overlay"]) .content{position:absolute;top:0;right:0;bottom:0;left:0;justify-content:flex-end;padding:var(--space-unit);background-image:linear-gradient(to top, rgb(0 0 0 / 100%), rgb(0 0 0 / 0%));color:var(--color-text-inverse);fill:var(--color-text-inverse)}';export{s as z_card}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,c as t,h as e}from"./p-d17ebc2f.js";import{
|
|
1
|
+
import{r as i,c as t,h as e}from"./p-d17ebc2f.js";import{e as s,I as r,K as a,m as o}from"./p-6b454593.js";import{a as h}from"./p-b1068026.js";import"./p-d69e14fb.js";const d=class{constructor(e){i(this,e),this.comboboxChange=t(this,"comboboxChange",7),this.disabled=!1,this.hassearch=!1,this.noresultslabel="Nessun risultato",this.isopen=!1,this.isfixed=!1,this.closesearchtext="Chiudi",this.hascheckall=!1,this.checkalltext="Seleziona tutti",this.uncheckalltext="Deseleziona tutti",this.maxcheckableitems=0,this.size=s.BIG,this.renderItemsList=[],this.itemsList=[],this.inputType=r.TEXT,this.toggleComboBox=this.toggleComboBox.bind(this),this.closeFilterItems=this.closeFilterItems.bind(this)}watchItems(){this.itemsList="string"==typeof this.items?JSON.parse(this.items):this.items,this.selectedCounter=this.itemsList.filter((i=>i.checked)).length,this.updateRenderItemsList()}watchSearchValue(){this.filterItems(this.searchValue)}inputCheckListener(i){const t=i.detail.id.replace(`combo-checkbox-${this.inputid}-`,"");if("check-all"===t&&(!this.maxcheckableitems||this.maxcheckableitems>=this.itemsList.length))return this.checkAll(i.detail.checked);this.itemsList=this.itemsList.map((e=>(e.id===t&&(e.checked=i.detail.checked),e))),this.updateRenderItemsList(),this.emitComboboxChange()}emitComboboxChange(){this.comboboxChange.emit({id:this.inputid,items:this.itemsList})}componentWillLoad(){this.watchItems()}componentWillRender(){this.selectedCounter=this.itemsList.filter((i=>i.checked)).length}updateRenderItemsList(){this.searchValue?this.filterItems(this.searchValue):this.resetRenderItemsList()}resetRenderItemsList(){const i=[];this.itemsList.forEach((t=>{i.push(Object.assign({},t))})),this.renderItemsList=i}filterItems(i){if(!i)return this.closeFilterItems();this.resetRenderItemsList(),this.renderItemsList=this.renderItemsList.filter((t=>{const e=t.name.toUpperCase().indexOf(i.toUpperCase()),s=e+i.length,r=t.name.substring(0,e)+t.name.substring(e,s).bold()+t.name.substring(s,t.name.length);return t.name=r,e>=0}))}checkAll(i=!0){this.itemsList=this.itemsList.map((t=>Object.assign(Object.assign({},t),{checked:i}))),this.resetRenderItemsList(),this.emitComboboxChange()}closeFilterItems(){this.searchValue="",this.resetRenderItemsList()}toggleComboBox(){this.isopen=!this.isopen}renderHeader(){return e("div",{class:"header",onClick:()=>this.toggleComboBox(),onKeyDown:i=>{i.keyCode===a.SPACE&&i.preventDefault()},onKeyUp:i=>h(i,this.toggleComboBox),role:"button",tabindex:0},e("p",{class:"body-3"},this.label,e("span",null,this.selectedCounter>0&&` (${this.selectedCounter})`)),e("z-icon",{name:"caret-down",class:this.size}))}renderContent(){if(this.isopen)return e("div",{class:"open-combo-data"},this.hassearch&&this.renderSearchInput(),this.hascheckall&&this.renderCheckAll(),this.renderItems())}renderItems(){if(this.isopen)return e("div",{class:this.searchValue&&"search",tabindex:-1},this.renderList(this.renderItemsList),this.searchValue&&this.renderCloseButton())}renderItem(i,t,a){return e("z-myz-list-item",{id:i.id,listitemid:i.id,action:`combo-li-${this.inputid}`,underlined:t!==a-1,class:this.size},e("z-input",{type:r.CHECKBOX,checked:i.checked,htmlid:`combo-checkbox-${this.inputid}-${i.id}`,label:i.name,disabled:!i.checked&&this.maxcheckableitems&&this.maxcheckableitems===this.selectedCounter,size:this.size===s.X_SMALL?s.SMALL:this.size}))}renderList(i){if(i)return!i.length&&this.searchValue?this.renderNoSearchResults():this.hasgroupitems?this.renderGroups(this.itemsList):e("ul",null,i.map(((t,e)=>this.renderItem(t,e,i.length))))}renderGroups(i){const t=i.reduce(((t,e,s)=>{var r;const{category:a}=e,o=this.renderItem(e,s,i.length);return t[a]=null!==(r=t[a])&&void 0!==r?r:[],t[a].push(o),t}),{}),s=Object.entries(t).map((([i,t])=>e("z-list-group",{"divider-type":o.ELEMENT},e("span",{class:"body-3-sb z-list-group-title",slot:"header-title"},i),t.map((i=>i)))));return e("ul",null,s)}renderNoSearchResults(){return e("ul",null,e("z-myz-list-item",{id:"no-results",text:this.noresultslabel,listitemid:"no-results",icon:"multiply-circle",class:this.size}))}renderCloseButton(){return e("div",null,e("a",{onClick:()=>this.closeFilterItems(),onKeyUp:i=>h(i,this.closeFilterItems),role:"button",tabindex:0},this.closesearchtext))}renderSearchInput(){if(this.isopen)return e("z-input",{htmlid:`${this.inputid}_search`,label:this.searchlabel,placeholder:this.searchplaceholder,htmltitle:this.searchtitle,type:this.inputType,value:this.searchValue,message:!1,size:this.size,onInputChange:i=>{if(27===i.detail.keycode)return this.closeFilterItems();this.searchValue=i.detail.value}})}renderCheckAll(){if(this.searchValue)return;const i=this.selectedCounter===this.itemsList.length;return e("div",{class:"check-all-wrapper"},e("z-input",{type:r.CHECKBOX,checked:i,htmlid:`combo-checkbox-${this.inputid}-check-all`,label:i?this.uncheckalltext:this.checkalltext,disabled:this.maxcheckableitems&&this.maxcheckableitems<this.itemsList.length,size:this.size===s.X_SMALL?s.SMALL:this.size}))}render(){return e("div",{"data-action":`combo-${this.inputid}`,class:{open:this.isopen,fixed:this.isfixed,disabled:this.disabled},id:this.inputid},this.renderHeader(),!this.disabled&&this.renderContent())}static get watchers(){return{items:["watchItems"],searchValue:["watchSearchValue"]}}};d.style=':host{display:block}:host>div.fixed{position:relative}:host>div>.header{position:relative;z-index:10;display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--bg-grey-700);margin:0;background-color:var(--bg-white);border-radius:var(--border-radius-small);cursor:pointer}:host([size="small"])>div>.header{min-height:34px;font-size:var(--font-size-2)}:host([size="x-small"])>div>.header{min-height:30px;font-size:var(--font-size-2)}:host([size="x-small"])>div>.header p.body-3{padding:calc(var(--space-unit) * 0.5) 0}:host>div>.header:hover{outline:var(--border-size-medium) solid var(--gray700);outline-offset:-2px}:host>div.open>div.header:focus:focus-visible{box-shadow:none}:host>div>div.header:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>p.body-3{padding:var(--space-unit) 0;margin:0;color:var(--text-grey-800)}:host>div>.header>p.body-3>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--text-grey-800);transform:rotate(360deg);transition:all 200ms linear}:host>div>.header>z-icon.small,:host>div>.header>z-icon.x-small{--z-icon-width:16px;--z-icon-height:16px}:host>div.open>.header{border:var(--border-size-small) solid var(--blue500);border-radius:var(--border-radius-small) var(--border-radius-small) 0 0}:host>div.disabled{pointer-events:none}:host>div.disabled .header{border-color:var(--color-disabled01);fill:var(--color-disabled01)}:host>div.disabled .header>p.body-3{color:var(--text-grey-700)}:host>div.disabled .header>z-icon:last-child{fill:var(--color-disabled01)}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.open-combo-data{position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--gray200);border-top:0;background-color:var(--bg-white);border-radius:0}:host>div.open>div.open-combo-data>div{overflow:auto;max-height:235px;padding:0;scrollbar-color:var(--myz-blue) var(--gray200);scrollbar-width:thin}:host>div.open>div.open-combo-data>z-input{width:100%;margin-bottom:calc(var(--space-unit) * 2)}:host>div.open>div.open-combo-data>div>ul{max-height:235px;padding:0 3px;margin:0}::-webkit-scrollbar{width:10px;background:linear-gradient(90deg, var(--bg-white) 2px, var(--bg-grey-200) 4px, var(--bg-white) 8px);border-radius:var(--border-radius)}::-webkit-scrollbar-thumb{width:10px;background-color:var(--myz-blue);border-radius:var(--border-radius)}:host>div.open>z-input{position:relative;z-index:1;width:238px;margin:0 calc(var(--space-unit) * 2);color:var(--myz-blue)}:host>div.open>div.open-combo-data>div.search{overflow:hidden;max-height:auto;margin-top:0;box-shadow:1px 1px 4px 2px rgb(217 222 227 / 50%)}:host>div.open>div.open-combo-data>div.search>ul{overflow:auto;max-height:180px;padding:var(--space-unit) calc(var(--space-unit) * 2);scrollbar-color:var(--myz-blue) var(--bg-grey-200);scrollbar-width:thin}:host>div.open>div.open-combo-data>div.search>div{display:flex;justify-content:center}:host>div.open>div.open-combo-data>div.search>div>a{display:inline-block;height:44px;color:var(--myz-blue);cursor:pointer;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.open-combo-data>div.check-all-wrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);border-bottom:var(--border-size-small) solid var(--gray800);margin-bottom:var(--space-unit);text-align:left}:host([size="small"])>div.open>div.open-combo-data>div.check-all-wrapper{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 0.5)}:host([size="x-small"])>div.open>div.open-combo-data>div.check-all-wrapper{padding:var(--space-unit) calc(var(--space-unit) * 0.5)}';export{d as z_combobox}
|
|
@@ -0,0 +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-6b454593.js";import{I as e}from"./p-bb85c467.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.disabled||(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("button",{role:"tab",id:this.tabId,disabled:this.disabled,title:this.htmlTitle,onFocus:this.scrollToTab.bind(this),"aria-selected":this.selected?"true":"false","aria-controls":this.ariaControls,tabindex:this.selected?"0":"-1"},this.icon&&this.renderIcon(),this.orientation===n.HORIZONTAL&&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}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,g as i}from"./p-d17ebc2f.js";import{
|
|
1
|
+
import{r as t,h as e,g as i}from"./p-d17ebc2f.js";import{q as r}from"./p-6b454593.js";import{f as s,g as o,a as n}from"./p-b1068026.js";import"./p-d69e14fb.js";const a=class{constructor(e){t(this,e),this.currentSlide=0}watchData(){this.parseLinks()}componentWillLoad(){this.parseLinks(),this.setDevice(),window.addEventListener("resize",this.handleResize.bind(this))}componentDidRender(){this.setStyle()}handleResize(){this.setDevice(),this.setStyle()}parseLinks(){var t,e;switch(typeof this.data){case"string":{const i=null!==(t=s(this.data))&&void 0!==t?t:[];if(e=i,!Array.isArray(e)||!e.every((t=>"string"==typeof t)))throw new Error("Passed data is invalid");this.links=i;break}default:this.links=this.data}}setStyle(){const t=this.el.shadowRoot.querySelector("#slides");if(!t)return;const e=this.el.shadowRoot.querySelectorAll(".slide"),i=this.el.offsetWidth;t.style.width=i*this.links.length+"px",t.style.transform=`translate(-${i*this.currentSlide}px)`,e.forEach((t=>{t.querySelector("img").style.width=`${i}px`}))}setDevice(){this.device=o()}setCurrentSlide(t){this.currentSlide=t}getBulletDimension(){switch(this.device){case r.MOBILE:return 24;case r.TABLET:return 32;default:return 40}}renderSlides(t){return e("div",{id:"slides"},t.map(((t,i)=>e("div",{id:"slide"+i,class:`slide ${this.currentSlide!==i&&"hide"}`},e("img",{src:t})))))}renderScroll(t){let i=!1,r=this.currentSlide;return"left"===t?(i=0===this.currentSlide,r--):"right"===t&&(i=this.currentSlide===this.links.length-1,r++),e("z-icon",{class:`scroll ${t} ${i&&"disabled"}`,width:this.getBulletDimension(),height:this.getBulletDimension(),name:`chevron-${t}-circle`,onClick:()=>{!i&&this.setCurrentSlide(r)},onKeyUp:t=>!i&&n(t,(()=>{this.setCurrentSlide(r)})),tabindex:0,role:"button"})}renderSlideshowMain(){return e("main",null,this.renderScroll("left"),this.renderSlides(this.links),this.renderScroll("right"))}renderBullet(t){return e("a",{class:`bullet ${this.currentSlide===t&&"selected"}`,onClick:()=>this.setCurrentSlide(t),onKeyUp:e=>n(e,(()=>this.setCurrentSlide(t))),tabindex:0,role:"button"})}renderSlideshowFooter(){return e("footer",null,e("div",{class:"footer-left"},e("slot",{name:"footer-left"})),e("div",{class:"footer-center"},e("div",{class:"bullet-container"},Object.keys(this.links).map((t=>this.renderBullet(parseInt(t)))))),e("div",{class:"footer-right"},e("slot",{name:"footer-right"})))}render(){return this.links&&this.links.length?e("div",{id:this.slideshowid},this.renderSlideshowMain(),this.renderSlideshowFooter()):e("div",null)}get el(){return i(this)}static get watchers(){return{data:["watchData"]}}};a.style=':host{display:block;width:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;flex-direction:column}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;z-index:10;top:50%;width:auto;margin:0 var(--space-unit);cursor:pointer;fill:var(--color-primary01);transition:0.6s ease}main .scroll.disabled{opacity:0.5;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;line-height:0px;overflow-y:hidden;transition:all 300ms}footer{display:grid;width:100%;height:56px;align-items:center;border-top:var(--border-base) solid var(--color-surface02);grid-template:2 / 2;grid-template-areas:"center center" "left right"}footer>div{width:100%;align-items:center}footer .footer-center{grid-area:center}footer .footer-left{grid-area:left}footer .footer-right{grid-area:right}footer .bullet-container{display:flex;min-height:60px;align-items:center;justify-content:center;margin:0 auto}footer .bullet-container .bullet{width:8px;height:8px;margin:var(--space-unit) 2px;background-color:var(--bg-neutral-150);border-radius:50%;pointer-events:none}footer .bullet-container .bullet.selected{background-color:var(--bg-neutral-400)}@media only screen and (min-width: 768px){footer{height:76px;border-top:var(--border-base) solid var(--color-surface02);grid-template:1 / 1fr 2fr 1fr;grid-template-areas:"left center right"}footer .bullet-container .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bullet-container .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);cursor:pointer;pointer-events:auto}}';export{a as z_slideshow}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as e,H as a,g as r}from"./p-d17ebc2f.js";import{e as s,B as n,O as o,w as c,c as l,D as h,h as p,l as u,I as d,i as v,n as z,k as b,m as g,E as m,g as f}from"./p-6b454593.js";import{I as x}from"./p-bb85c467.js";import{r as w,b as y,h as k}from"./p-b1068026.js";import"./p-d69e14fb.js";const C="undefined"!=typeof IntersectionObserver,S=class{constructor(e){t(this,e),this.sticking=i(this,"sticking",7),this.stuck=!1,this.overlay=!1,this.flow="auto",this.drawerOpen=!1,this.enableSearch=!1,this.searchPlaceholder="Cerca",this._stuck=!1,this.currentViewport="mobile",this.observer=C&&new IntersectionObserver((([t])=>{this._stuck=!t.isIntersecting}),{threshold:.5}),this.openDrawer=this.openDrawer.bind(this),this.closeDrawer=this.closeDrawer.bind(this),this.collectMenuElements=this.collectMenuElements.bind(this)}evaluateViewport(){this.currentViewport=window.innerWidth<768?"mobile":window.innerWidth>=768&&window.innerWidth<1152?"tablet":"desktop"}onStuck(){this.scrollParent&&this.sticking.emit(this._stuck)}setMenuFloatingMode(){0!==this.menuElements.length&&this.menuElements.forEach((t=>{t.open=!1,t.floating=!this.drawerOpen,t.verticalContext=this.drawerOpen}))}get title(){const t=this.hostElement.querySelector('[slot="title"]');return null===t?"":t.textContent.trim()}get scrollParent(){const t=this.hostElement.offsetParent;return t===document.body||t===document.documentElement?window:t}get canShowMenu(){return this.menuLength>0&&"offcanvas"!==this.flow&&"mobile"!==this.currentViewport&&!this.drawerOpen}get canShowSearchbar(){return!(!this.enableSearch||this.searchPageUrl&&"desktop"!==this.currentViewport)}get hasHero(){return!!this.hero||null!==this.hostElement.querySelector("[slot=hero]")}openDrawer(){this.drawerOpen=!0}closeDrawer(){this.drawerOpen=!1}collectMenuElements(){const t=this.menuElements=this.hostElement.querySelectorAll('[slot="menu"]');this.menuLength=t.length,this.setMenuFloatingMode()}enableStuckObserver(){this.observer&&this.observer.observe(this.container)}disableStuckMode(){this._stuck=!1,this.observer&&this.observer.unobserve(this.container)}onStuckMode(){this.stuck?this.enableStuckObserver():this.disableStuckMode()}renderSearchLinkButton(){return this.enableSearch&&this.searchPageUrl&&"desktop"!==this.currentViewport?e("z-button",{class:"search-page-button",variant:n.SECONDARY,href:this.searchPageUrl,icon:"search",size:s.X_SMALL}):null}componentDidLoad(){this.collectMenuElements(),this.onStuckMode(),this.evaluateViewport()}render(){return e(a,{"menu-length":this.menuLength},this.hasHero&&e("div",{class:"hero-container"},e("slot",{name:"hero"},this.hero&&e("img",{alt:"",src:this.hero}))),e("div",{class:"heading-panel",ref:t=>this.container=t},e("div",{class:"heading-container"},e("div",{class:"heading-title"},this.menuLength>0&&e("button",{class:"drawer-trigger","aria-label":"Apri menu",onClick:this.openDrawer},e("z-icon",{name:"burger-menu"})),e("slot",{name:"title"}),this.renderSearchLinkButton()),e("div",{class:"heading-subtitle"},e("slot",{name:"subtitle"}))),(this.canShowMenu||this.canShowSearchbar)&&e("div",{class:"menu-container"},this.canShowMenu&&e("slot",{name:"menu",onSlotchange:this.collectMenuElements}),this.canShowSearchbar&&e("z-searchbar",{placeholder:this.searchPlaceholder,showSearchButton:!0,searchButtonIconOnly:"desktop"!==this.currentViewport,size:s.X_SMALL,variant:n.SECONDARY,preventSubmit:!0,onSearchTyping:t=>{t.target.preventSubmit=!t.detail||t.detail.length<3}}))),e("z-offcanvas",{variant:o.OVERLAY,transitiondirection:c.RIGHT,open:this.drawerOpen,onCanvasOpenStatusChanged:t=>this.drawerOpen=t.detail},e("button",{class:"drawer-close","aria-label":"Chiudi menu",onClick:this.closeDrawer,slot:"canvasContent"},e("z-icon",{name:"close"})),this.drawerOpen&&e("div",{class:"drawer-content",slot:"canvasContent"},e("slot",{name:"menu",onSlotchange:this.collectMenuElements}))),this._stuck&&e("div",{class:"heading-stuck"},e("div",{class:"heading-stuck-content"},this.menuLength>0&&e("button",{class:"drawer-trigger","aria-label":"Apri menu",onClick:this.openDrawer},e("z-icon",{name:"burger-menu"})),e("div",{class:"heading-title"},e("slot",{name:"stucked-title"},this.title)),this.renderSearchLinkButton(),this.canShowSearchbar&&"desktop"===this.currentViewport&&e("z-searchbar",{placeholder:this.searchPlaceholder,showSearchButton:!0,searchButtonIconOnly:!1,size:s.X_SMALL,variant:n.SECONDARY,preventSubmit:!0,onSearchTyping:t=>{var i;t.target.preventSubmit=(null===(i=t.detail)||void 0===i?void 0:i.length)<3}}))))}get hostElement(){return r(this)}static get watchers(){return{_stuck:["onStuck"],drawerOpen:["setMenuFloatingMode"],stuck:["onStuckMode"]}}};S.style=':host{--app-header-typography-1-size:24px;--app-header-typography-2-size:28px;--app-header-typography-3-size:32px;--app-header-typography-4-size:36px;--app-header-typography-5-size:42px;--app-header-typography-6-size:48px;--app-header-typography-7-size:54px;--app-header-typography-8-size:60px;--app-header-typography-9-size:68px;--app-header-typography-10-size:76px;--app-header-typography-11-size:84px;--app-header-typography-12-size:92px;--app-header-typography-1-lineheight:1.33;--app-header-typography-2-lineheight:1.29;--app-header-typography-3-lineheight:1.25;--app-header-typography-4-lineheight:1.24;--app-header-typography-5-lineheight:1.24;--app-header-typography-6-lineheight:1.25;--app-header-typography-7-lineheight:1.2;--app-header-typography-8-lineheight:1.26;--app-header-typography-9-lineheight:1.24;--app-header-typography-10-lineheight:1.26;--app-header-typography-11-lineheight:1.2;--app-header-typography-12-lineheight:1.2;--app-header-typography-1-tracking:calc(-0.2 / 1em);--app-header-typography-2-tracking:calc(-0.4 / 1em);--app-header-typography-3-tracking:calc(-0.6 / 1em);--app-header-typography-4-tracking:calc(-0.8 / 1em);--app-header-typography-5-tracking:calc(-1 / 1em);--app-header-typography-6-tracking:calc(-1.2 / 1em);--app-header-typography-7-tracking:calc(-1.4 / 1em);--app-header-typography-8-tracking:calc(-1.6 / 1em);--app-header-typography-9-tracking:calc(-1.8 / 1em);--app-header-typography-10-tracking:calc(-2 / 1em);--app-header-typography-11-tracking:calc(-2.2 / 1em);--app-header-typography-12-tracking:calc(-2.4 / 1em);--app-header-content-max-width:100%;--app-header-height:auto;--app-header-top-offset:48px;--app-header-drawer-trigger-size:calc(var(--space-unit) * 4);--app-header-bg:var(--color-surface01);--app-header-stucked-bg:var(--color-surface01);--app-header-text-color:var(--color-text01);--app-header-title-font-size:var(--app-header-typography-3-size);--app-header-title-lineheight:var(--app-header-typography-3-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-3-tracking);--app-header-stucked-text-color:var(--color-text01);position:relative;display:block;height:var(--app-header-height);color:var(--app-header-text-color)}:host,*{box-sizing:border-box}.heading-panel{position:relative;display:flex;width:100%;max-width:var(--app-header-content-max-width);flex-direction:column;flex-grow:0;flex-shrink:0;align-items:baseline;padding:var(--grid-margin);margin:0 auto;background:var(--app-header-bg);gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5)}.hero-container+.heading-panel{background:transparent}:host(:empty) .heading-panel{padding:0}.heading-container{position:relative;z-index:1;display:flex;width:100%;max-width:100%;flex:1 auto;flex-direction:column;justify-content:flex-start}.heading-title{display:flex;max-width:100%;flex-direction:row;align-items:flex-start;column-gap:calc(var(--space-unit) * 2)}::slotted([slot="title"]),.heading-stuck .heading-title>*,::slotted([slot="stucked-title"]){margin:0;font-family:"IBM Plex Serif", serif;font-weight:var(--font-bd)}::slotted([slot="title"]){font-size:var(--app-header-title-font-size);letter-spacing:var(--app-header-title-letter-spacing);line-height:var(--app-header-title-lineheight)}.heading-stuck .heading-title>*,::slotted([slot="stucked-title"]){font-size:var(--app-header-typography-3-size);letter-spacing:var(--app-header-typography-3-tracking);line-height:var(--app-header-typography-3-lineheight)}:host(:not([menu-length="0"])) .heading-subtitle{padding-left:calc(var(--app-header-drawer-trigger-size) + (var(--space-unit) * 2))}::slotted([slot="subtitle"]){margin:0;font-family:var(--font-family-sans);font-size:20px;font-style:italic;font-weight:500;line-height:26px}.menu-container{display:flex;width:100%;flex:1 auto;flex-flow:row wrap}.menu-container ::slotted([open]){position:relative;z-index:3}z-searchbar{z-index:0;display:flex;width:auto;min-width:calc(var(--space-unit) * 32);flex:1 auto;align-items:center;margin-left:auto}.heading-stuck{position:fixed;z-index:20;top:var(--app-header-top-offset);left:0;width:100%;max-width:100%;animation:slide-stuck-heading-in 250ms ease-out;background:var(--app-header-stucked-bg);box-shadow:var(--shadow-2);color:var(--app-header-stucked-text-color)}.heading-stuck-content{display:flex;max-width:var(--app-header-content-max-width);align-items:center;padding:var(--space-unit) var(--grid-margin);margin:0 auto;column-gap:calc(var(--space-unit) * 2)}.heading-stuck .heading-title>*,.heading-stuck .heading-title ::slotted([slot="stucked-title"]){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.heading-stuck-content z-button{margin-left:auto}.drawer-trigger{padding:0;border:0;margin:0;appearance:none;background:none;border-radius:0;color:inherit;cursor:pointer}.drawer-trigger z-icon{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);fill:currentcolor}.heading-container :is(.drawer-trigger,z-button.search-page-button){display:flex;height:calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight));align-items:center}.heading-container z-button.search-page-button{margin-left:auto}.drawer-content{display:flex;width:100%;flex:1 auto;flex-direction:column;row-gap:calc(var(--space-unit) * 2.5)}.drawer-content ::slotted(z-menu){width:100%}.drawer-close{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);padding:0;border:0;margin:var(--space-unit) 0 calc(var(--space-unit) * 2.5);appearance:none;background:transparent;border-radius:0;color:inherit;cursor:pointer;fill:currentcolor;font-size:inherit;outline:none}.drawer-close:focus-visible{box-shadow:var(--shadow-focus-primary)}.hero-container{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%}:host([overlay]) .heading-panel .drawer-trigger z-icon,:host([overlay]) .heading-panel .heading-container,:host([overlay]) .heading-panel .menu-container{color:var(--color-white);fill:var(--color-white)}:host([overlay]) .heading-panel .menu-container ::slotted(z-menu){--z-menu-label-color:var(--color-white)}:host([overlay]) .hero-container::after{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%;background:var(--color-black);content:"";opacity:0.5}.hero-container img,.hero-container ::slotted(*){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top center;-webkit-user-drag:none}@media (min-width: 768px){:host{--app-header-title-font-size:var(--app-header-typography-6-size);--app-header-title-lineheight:var(--app-header-typography-6-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-6-tracking)}.heading-panel{flex-flow:row wrap;align-items:center;padding-bottom:calc(var(--space-unit) * 2)}.heading-container{margin-right:auto}:host(:is([flow="offcanvas"],[menu-length="0"])) :is(.heading-container,.menu-container){width:auto}:host(:not([flow="offcanvas"])) .heading-subtitle{padding-left:0}.menu-container{flex:initial;align-items:center}:host([menu-length="0"]) .menu-container:not(:empty){height:calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight))}:host(:not([flow="offcanvas"])) .menu-container{gap:var(--space-unit) calc(var(--space-unit) * 5)}:host(:not([flow="offcanvas"])) .heading-container .drawer-trigger{display:none}}@media (min-width: 1152px){:host{--app-header-title-font-size:var(--app-header-typography-7-size);--app-header-title-lineheight:var(--app-header-typography-7-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-7-tracking)}.heading-panel{justify-content:flex-start;padding-bottom:calc(var(--space-unit) * 3)}.heading-container,.menu-container{width:auto}:host([flow="stack"]) .heading-panel{flex-flow:column;align-items:flex-start}:host([flow="stack"]) .menu-container{width:100%}:host(:not([flow="offcanvas"],[menu-length="0"])) .heading-panel{row-gap:calc(var(--space-unit) * 3)}z-searchbar{min-width:calc(var(--space-unit) * 45);flex:initial}}@media (min-width: 1366px){:host{--app-header-title-font-size:var(--app-header-typography-9-size);--app-header-title-lineheight:var(--app-header-typography-9-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-9-tracking)}}@keyframes slide-stuck-heading-in{0%{transform:translate3d(0, -100%, 0)}100%{transform:none}}';const O=class{constructor(i){t(this,i),this.ariaLabel="",this.disabled=!1,this.type=l.BUTTON,this.variant=n.PRIMARY,this.size=s.BIG}getAttributes(){return{id:this.htmlid,class:{"z-button--container":!0,"z-button--has-text":!!this.hostElement.textContent.trim()}}}render(){return this.href?e("a",Object.assign({},this.getAttributes(),{"aria-label":this.ariaLabel,href:this.href,target:this.target}),this.icon&&e("z-icon",{name:this.icon,width:16,height:16}),e("slot",null)):e("button",Object.assign({},this.getAttributes(),{"aria-label":this.ariaLabel,name:this.name,type:this.type,disabled:this.disabled}),this.icon&&e("z-icon",{name:this.icon,width:16,height:16}),e("slot",null))}get hostElement(){return r(this)}};O.style='.sc-z-button-h{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:0}[disabled].sc-z-button-h:not([disabled="false"]){pointer-events:none}.sc-z-button-h .z-button--container.sc-z-button{display:inline-flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center;padding:0;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:1;outline:none;text-decoration:none;text-transform:uppercase;white-space:nowrap}.sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-button-h .z-button--container.z-button--has-text.sc-z-button{min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}.sc-z-button-h .z-button--container.z-button--has-text.sc-z-button z-icon.sc-z-button{--z-icon-right-margin:var(--space-unit)}[size="big"].sc-z-button-h .z-button--container.sc-z-button{min-width:44px;height:44px}[size="small"].sc-z-button-h .z-button--container.sc-z-button{min-width:36px;height:36px}[size="x-small"].sc-z-button-h .z-button--container.sc-z-button{min-width:32px;height:32px}[variant="primary"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary01);background-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){[variant="primary"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-hover-primary);background-color:var(--color-hover-primary);color:var(--color-text-inverse)}}[variant="primary"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-pressed-primary);background-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-text-inverse)}[variant="primary"][disabled].sc-z-button-h:not([disabled="false"]) .z-button--container.sc-z-button{border-color:var(--color-disabled01);background-color:var(--color-disabled01);color:var(--color-disabled02)}[variant="secondary"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary01);background-color:var(--color-surface01);color:var(--color-primary01)}@media (hover: hover){[variant="secondary"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-hover-primary);background-color:var(--color-surface01);color:var(--color-hover-primary)}}[variant="secondary"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-pressed-primary);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-pressed-primary)}[variant="secondary"][disabled].sc-z-button-h:not([disabled="false"]) .z-button--container.sc-z-button{border-color:var(--color-disabled01);background-color:var(--color-surface01);color:var(--color-disabled02)}[variant="tertiary"].sc-z-button-h .z-button--container.sc-z-button{border-color:transparent;background-color:transparent;color:var(--color-primary01)}@media (hover: hover){[variant="tertiary"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-primary03);background-color:var(--color-primary03);color:var(--color-hover-primary)}}[variant="tertiary"].sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{border-color:var(--color-surface01);background-color:var(--color-surface01);color:var(--color-primary01)}[variant="tertiary"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-surface01);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-primary01)}[variant="tertiary"][disabled].sc-z-button-h:not([disabled="false"]) .z-button--container.sc-z-button{border-color:transparent;background-color:transparent;color:var(--color-disabled02)}';const j=class{constructor(i){t(this,i),this.size=h.SMALL,this.color="gray200",this.orientation=p.HORIZONTAL}render(){return e(a,{class:`divider-${this.size} divider-${this.orientation}`,style:{backgroundColor:`var(--${this.color})`}})}};j.style=".sc-z-divider-h{display:block;padding:0;margin:0}.divider-horizontal.sc-z-divider-h{width:100%}.divider-vertical.sc-z-divider-h{height:100%}.divider-small.divider-horizontal.sc-z-divider-h{height:var(--border-size-small)}.divider-medium.divider-horizontal.sc-z-divider-h{height:var(--border-size-medium)}.divider-large.divider-horizontal.sc-z-divider-h{height:var(--border-size-large)}.divider-small.divider-vertical.sc-z-divider-h{width:var(--border-size-small)}.divider-medium.divider-vertical.sc-z-divider-h{width:var(--border-size-medium)}.divider-large.divider-vertical.sc-z-divider-h{width:var(--border-size-large)}";const I=class{constructor(i){t(this,i)}selectPathOrPolygon(t){return(null==t?void 0:t.startsWith("M"))?e("path",{d:x[this.name]}):e("polygon",{points:x[this.name]})}render(){return e(a,{"aria-hidden":"true"},e("svg",{viewBox:"0 0 1000 1000",width:this.width,height:this.height,id:this.iconid,fill:this.fill?`var(--${this.fill})`:""},this.selectPathOrPolygon(x[this.name])))}};I.style=":host{margin-right:var(--z-icon-right-margin, 0);margin-left:var(--z-icon-left-margin, 0);line-height:0;vertical-align:middle}:host svg:not([width]){width:var(--z-icon-width, 18px)}:host svg:not([height]){height:var(--z-icon-height, 18px)}";const T=class{constructor(e){t(this,e),this.inputChange=i(this,"inputChange",7),this.startTyping=i(this,"startTyping",7),this.stopTyping=i(this,"stopTyping",7),this.inputCheck=i(this,"inputCheck",7),this.htmlid=`id-${w()}`,this.ariaLabel="",this.disabled=!1,this.readonly=!1,this.required=!1,this.checked=!1,this.message=!0,this.labelPosition=u.RIGHT,this.hasclearicon=!0,this.size=s.BIG,this.isTyping=!1,this.passwordHidden=!0,this.typingtimeout=300}inputCheckListener(t){const i=t.detail;switch(this.type){case d.RADIO:i.type===d.RADIO&&i.name===this.name&&i.id!==this.htmlid&&(this.checked=!1)}}async isChecked(){switch(this.type){case d.CHECKBOX:case d.RADIO:return this.checked;default:return console.warn("`isChecked` method is only available for type `checkbox` and `radio`"),!1}}emitInputChange(t){let i;this.isTyping||this.emitStartTyping(),i=this.getValidity(this.type===d.TEXTAREA?"textarea":"input"),this.value=t,this.inputChange.emit({value:t,validity:i}),clearTimeout(this.timer),this.timer=setTimeout((()=>{this.emitStopTyping(this.value,i)}),this.typingtimeout)}emitStartTyping(){this.isTyping=!0,this.startTyping.emit()}emitStopTyping(t,i){this.isTyping=!1,this.stopTyping.emit({value:t,validity:i})}emitInputCheck(t){this.inputCheck.emit({id:this.htmlid,checked:t,type:this.type,name:this.name,value:this.value,validity:this.getValidity("input")})}getValidity(t){return this.hostElement.querySelector(t).validity}getTextAttributes(){return{id:this.htmlid,name:this.name,placeholder:this.placeholder,value:this.value,disabled:this.disabled,readonly:this.readonly,required:this.required,title:this.htmltitle,class:{[`input-${this.status}`]:!!this.status,filled:!!this.value},autocomplete:this.autocomplete,onInput:t=>this.emitInputChange(t.target.value)}}getNumberAttributes(t){if(t==d.NUMBER)return{min:this.min,max:this.max,step:this.step}}getPatternAttribute(t){if(t==d.PASSWORD||t==d.TEXT||t==d.TEL||t==d.SEARCH||t==d.URL||t==d.EMAIL)return{pattern:this.pattern}}renderInputText(t=d.TEXT){const i=this.ariaLabel?{"aria-label":this.ariaLabel}:{},a=Object.assign(Object.assign(Object.assign(Object.assign({},this.getTextAttributes()),this.getNumberAttributes(t)),this.getPatternAttribute(t)),i);return(this.icon||t===d.PASSWORD)&&Object.assign(a.class,{"has-icon":!0}),this.hasclearicon&&t!=d.NUMBER&&Object.assign(a.class,{"has-clear-icon":!0}),e("div",{class:"text-wrapper"},this.renderLabel(),e("div",null,e("input",Object.assign({type:t!==d.PASSWORD||this.passwordHidden?t:d.TEXT},a)),this.renderIcons()),this.renderMessage())}renderLabel(){if(this.label)return e("label",{class:"input-label body-5-sb",id:`${this.htmlid}_label`,htmlFor:this.htmlid},this.label)}renderIcons(){return e("span",{class:"icons-wrapper"},this.renderResetIcon(),this.renderIcon())}renderIcon(){return this.type===d.PASSWORD?this.renderShowHidePassword():this.icon?e("button",{type:"button",class:"icon-button input-icon",tabIndex:-1},e("z-icon",{name:this.icon,class:this.size})):void 0}renderResetIcon(){if(this.hasclearicon&&this.value&&!this.disabled&&!this.readonly&&this.type!=d.NUMBER)return e("button",{type:"button",class:"icon-button reset-icon","aria-label":"cancella il contenuto dell'input",onClick:()=>this.emitInputChange("")},e("z-icon",{name:"multiply",class:this.size}))}renderShowHidePassword(){return e("button",{type:"button",class:"icon-button toggle-password-icon",disabled:this.disabled,"aria-label":this.passwordHidden?"mostra password":"nascondi password",onClick:()=>this.passwordHidden=!this.passwordHidden},e("z-icon",{name:this.passwordHidden?"view-filled":"view-off-filled",class:this.size}))}renderMessage(){if(!1!==y(this.message))return e("z-input-message",{message:!0===y(this.message)?void 0:this.message,status:this.status,class:this.size})}renderTextarea(){const t=this.getTextAttributes(),i=this.ariaLabel?{"aria-label":this.ariaLabel}:{};return e("div",{class:"text-wrapper"},this.renderLabel(),e("div",{class:Object.assign(Object.assign({},t.class),{"textarea-wrapper":!0,readonly:t.readonly})},e("textarea",Object.assign({},t,i))),this.renderMessage())}handleCheck(t){this.checked=t.target.checked,this.emitInputCheck(this.checked)}renderCheckbox(){return e("div",{class:"checkbox-wrapper"},e("input",{id:this.htmlid,type:"checkbox",name:this.name,checked:this.checked,disabled:this.disabled,readonly:this.readonly,required:this.required,onChange:this.handleCheck.bind(this),value:this.value}),e("label",{htmlFor:this.htmlid,class:{"checkbox-label":!0,after:this.labelPosition===u.RIGHT,before:this.labelPosition===u.LEFT}},e("z-icon",{name:this.checked?"checkbox-checked":"checkbox","aria-hidden":"true",class:this.size}),this.label&&e("span",{innerHTML:this.label})))}renderRadio(){return e("div",{class:"radio-wrapper"},e("input",{id:this.htmlid,type:"radio",name:this.name,checked:this.checked,disabled:this.disabled,readonly:this.readonly,onChange:this.handleCheck.bind(this),value:this.value}),e("label",{htmlFor:this.htmlid,class:{"radio-label":!0,after:this.labelPosition===u.RIGHT,before:this.labelPosition===u.LEFT}},e("z-icon",{name:this.checked?"radio-button-checked":"radio-button","aria-hidden":"true",class:this.size}),this.label&&e("span",{innerHTML:this.label})))}render(){let t;switch(this.type){case d.TEXTAREA:t=this.renderTextarea();break;case d.CHECKBOX:t=this.renderCheckbox();break;case d.RADIO:t=this.renderRadio();break;default:t=this.renderInputText(this.type)}return e(a,null,t)}get hostElement(){return r(this)}};T.style='.sc-z-input-h{display:inline-block;width:inherit}input.sc-z-input::-ms-clear,input.sc-z-input::-ms-reveal{display:none}.sc-z-input-h input.sc-z-input::-ms-clear,.sc-z-input-h input.sc-z-input::-ms-reveal{display:none}input.sc-z-input,textarea.sc-z-input,.textarea-wrapper.sc-z-input{box-sizing:border-box;border:var(--border-size-small) solid var(--color-surface04);background:var(--color-input-field01);border-radius:var(--border-radius-small);color:var(--color-text01);fill:var(--color-icon02);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg);outline:none}[size="small"].sc-z-input-h input.sc-z-input,[size="small"].sc-z-input-h textarea.sc-z-input,[size="small"].sc-z-input-h .textarea-wrapper.sc-z-input,[size="x-small"].sc-z-input-h input.sc-z-input,[size="x-small"].sc-z-input-h textarea.sc-z-input,[size="x-small"].sc-z-input-h .textarea-wrapper.sc-z-input{font-size:var(--font-size-2)}.cursor-select.sc-z-input-h input.sc-z-input{cursor:pointer}.sc-z-input-h:not(.active-select) input.sc-z-input:focus:focus-visible,.textarea-wrapper.sc-z-input:focus-within{box-shadow:var(--shadow-focus-primary)}input.sc-z-input:focus:focus-visible,textarea.sc-z-input:focus:focus-visible{color:var(--color-primary02)}.active-select.sc-z-input-h input.sc-z-input{border:var(--border-size-small) solid var(--blue500)}.cursor-select.sc-z-input-h input.sc-z-input:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-input-h input[readonly].sc-z-input:focus:focus-visible{box-shadow:none}.filled.sc-z-input{border-color:var(--color-surface05)}.input-success.sc-z-input{border-color:var(--color-success01);background:var(--color-success-inverse);fill:var(--color-success01)}.input-error.sc-z-input{border-color:var(--color-error01);background:var(--color-error-inverse);fill:var(--color-error01)}.input-warning.sc-z-input{border-color:var(--color-warning01);background:var(--color-warning-inverse);fill:var(--color-warning01)}input.sc-z-input:hover,.textarea-wrapper.sc-z-input:hover{outline:var(--border-size-medium) solid var(--color-surface04);outline-offset:-2px}.sc-z-input-h:not(.active-select) input[readonly].sc-z-input,.readonly.sc-z-input{border-color:var(--color-disabled01);fill:var(--color-disabled01);pointer-events:none}[disabled].sc-z-input-h:not([disabled="false"]) input.sc-z-input,[disabled].sc-z-input-h:not([disabled="false"]) .textarea-wrapper.sc-z-input,[disabled].sc-z-input-h:not([disabled="false"]) z-icon.sc-z-input{border-color:var(--color-disabled01);box-shadow:none;color:var(--color-disabled02);fill:var(--color-disabled01);pointer-events:none}[disabled].sc-z-input-h:not([disabled="false"]) input.sc-z-input:hover{border-width:var(--border-size-small)}input.sc-z-input::placeholder,textarea.sc-z-input::placeholder{color:var(--color-text05)}.sc-z-input::-webkit-textarea-placeholder{color:var(--color-text05)}.sc-z-input:-ms-textarea-placeholder{color:var(--color-text05)}.sc-z-input::placeholder{color:var(--color-text05)}label.input-label.sc-z-input{display:block;padding-bottom:var(--space-unit);color:var(--color-text02);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);text-align:left;text-transform:uppercase}[disabled].sc-z-input-h:not([disabled="false"]) label.input-label.sc-z-input{color:var(--color-disabled02)}.text-wrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1;fill:var(--color-icon02)}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);box-sizing:border-box;padding:0 calc(var(--space-unit) * 1.5);margin:0}[size="small"].sc-z-input-h .text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{height:calc(var(--space-unit) * 4.5)}[size="x-small"].sc-z-input-h .text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{height:calc(var(--space-unit) * 4)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.sc-z-input,.text-wrapper.sc-z-input>div.sc-z-input>input.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 5.25)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 8)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input{position:absolute;z-index:2;top:50%;right:calc(var(--space-unit) * 1.5);display:flex;pointer-events:none;transform:translateY(-50%)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input{padding:0;border:0;background:none;color:inherit;font:inherit;pointer-events:initial}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input+button.icon-button.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.reset-icon.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.toggle-password-icon.sc-z-input{cursor:pointer}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input>z-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input>z-icon.small.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input>z-icon.x-small.sc-z-input{--z-icon-width:16px;--z-icon-height:16px}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill,.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:hover,.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:focus,.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:active{background:var(--color-white) !important;background-clip:text !important;-webkit-transition-delay:99999s !important}.textarea-wrapper.sc-z-input{padding:calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}textarea.sc-z-input::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-track{background-color:transparent}textarea.sc-z-input::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}textarea.sc-z-input{width:100%;min-height:132px;padding:0;border:none;margin:0;resize:none}.radio-wrapper.sc-z-input,.checkbox-wrapper.sc-z-input{position:relative;display:inline-flex;flex-direction:row;align-items:center;color:var(--color-text01);fill:var(--color-primary01);font-family:var(--font-family-sans)}.radio-wrapper.sc-z-input:hover,.checkbox-wrapper.sc-z-input:hover{color:var(--color-hover-primary);fill:currentcolor}.radio-wrapper.sc-z-input>input.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input{position:absolute;z-index:-1;opacity:0;pointer-events:none}.radio-wrapper.sc-z-input .radio-label.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{display:inline-flex;align-items:center;margin:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1;text-transform:inherit}.radio-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkbox-label.sc-z-input{cursor:pointer}.radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{cursor:pointer;fill:inherit}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{--z-icon-width:16px;--z-icon-height:16px}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{font-size:var(--font-size-2)}[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{--z-icon-width:14px;--z-icon-height:14px}[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{font-size:var(--font-size-1)}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input{flex-direction:row}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input{flex-direction:row-reverse}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:calc(var(--space-unit) * 0.5)}.radio-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkbox-label.sc-z-input>z-icon.sc-z-input{border-radius:var(--border-radius-small);box-shadow:var(--shadow-focus-primary)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input{color:var(--color-disabled02)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input>z-icon.sc-z-input{cursor:default;fill:var(--color-disabled01)}';const $=class{constructor(i){t(this,i),this.statusIcons={success:"checkmark-circle",error:"multiply-circled",warning:"exclamation-circle"},this.statusRole={}}onMessageChange(){this.statusRole=this.message&&this.status?{role:"alert"}:{}}componentWillLoad(){this.onMessageChange()}render(){return e(a,Object.assign({},this.statusRole,{"aria-label":this.message}),this.statusIcons[this.status]&&this.message&&e("z-icon",{name:this.statusIcons[this.status]}),e("span",{innerHTML:this.message}))}static get watchers(){return{message:["onMessageChange"],status:["onMessageChange"]}}};$.style=':host{display:flex;min-height:calc(var(--space-unit) * 2.5);align-items:start;margin-top:var(--space-unit);color:var(--color-text05);fill:currentcolor;font-family:var(--font-family-sans);font-size:var(--font-size-2);letter-spacing:0.16px}:host(.small),:host(.x-small){margin-top:calc(var(--space-unit) * 0.5);font-size:var(--font-size-1)}:host([status="success"]){color:var(--color-text-success)}:host([status="error"]){color:var(--color-text-error)}:host([status="warning"]){color:var(--color-warning02)}:host(:focus){outline:none}:host>z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);--z-icon-right-margin:var(--space-unit);margin-top:calc(var(--space-unit) * 0.25)}:host(.small)>z-icon,:host(.x-small)>z-icon{--z-icon-width:14px;--z-icon-height:14px;--z-icon-right-margin:calc(var(--space-unit) * 0.5)}';const M=class{constructor(i){t(this,i),this.size=v.MEDIUM,this.listType=z.NONE}setChildrenSizeType(){const t=this.host.children;for(let i=0;i<t.length;i++)t[i].setAttribute("size",this.size),t[i].setAttribute("list-type",this.listType),t[i].setAttribute("list-element-position",(i+1).toString())}componentDidLoad(){this.setChildrenSizeType()}render(){return e(a,{role:"list"},e("slot",null))}get host(){return r(this)}};M.style=":host{display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}";const L=class{constructor(e){t(this,e),this.accessibleFocus=i(this,"accessibleFocus",7),this.clickItem=i(this,"clickItem",7),this.alignButton=b.LEFT,this.clickable=!1,this.dividerColor="color-surface03",this.dividerType=g.NONE,this.dividerSize=h.SMALL,this.expandable=!1,this.expandableStyle=m.ACCORDION,this.size=v.MEDIUM,this.color="none",this.disabled=!1,this.isContextualMenu=!1,this.listElementPosition="0",this.listType=z.NONE,this.showInnerContent=!1,this.openElementConfig={accordion:{open:"minus-circled",close:"plus-circled"},menu:{open:"chevron-up",close:"chevron-down"}},this.handleClick=this.handleClick.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}accessibleFocusHandler(t){this.listElementId===t.detail&&this.host.shadowRoot.getElementById(`z-list-element-id-${t.detail}`).focus()}handleClick(){this.clickItem.emit(this.listElementId),this.expandable&&(this.showInnerContent=!this.showInnerContent)}calculateClass(){return this.isContextualMenu?"container-contextual-menu":"container"}handleKeyDown(t){const i=t.code===f.ENTER;switch(t.code){case f.ARROW_DOWN:t.preventDefault(),this.accessibleFocus.emit(this.listElementId+1);break;case f.ARROW_UP:t.preventDefault(),this.accessibleFocus.emit(this.listElementId-1);break;case f.ENTER:t.preventDefault(),this.clickItem.emit(this.listElementId)}this.expandable&&i&&(this.showInnerContent=!this.showInnerContent)}renderExpandableButton(){return this.expandable?e("z-icon",{name:this.showInnerContent?this.openElementConfig[this.expandableStyle].open:this.openElementConfig[this.expandableStyle].close}):null}renderExpandedContent(){return this.expandable?e("div",{class:{"z-list-element-inner-container":!0,expanded:this.showInnerContent}},e("slot",{name:"inner-content"})):null}renderContent(){return this.listType===z.NONE?e("slot",null):this.listType===z.ORDERED?e("div",{class:"z-list-content-container"},e("div",null,this.listElementPosition,". "),e("slot",null)):this.listType===z.UNORDERED?e("div",{class:"z-list-content-container"},e("span",null,"• "),e("slot",null)):void 0}render(){return e(a,{role:"listitem","aria-expanded":this.expandable?this.showInnerContent:null,onClick:this.handleClick,onKeyDown:this.handleKeyDown,clickable:this.clickable&&!this.disabled,tabIndex:this.isContextualMenu?null:"0"},e("div",{class:`${this.calculateClass()}`,style:{color:`var(--${this.color})`},tabindex:this.isContextualMenu?"0":"-1",id:`z-list-element-id-${this.listElementId}`,part:"list-item-container"},e("div",{class:"z-list-element-container"},this.renderExpandableButton(),this.renderContent()),this.renderExpandedContent()),this.dividerType===g.ELEMENT&&e("z-divider",{color:this.dividerColor,size:this.dividerSize}))}get host(){return r(this)}};L.style=':host{outline:none}:host>.container,:host>.container-contextual-menu{--background-color-list-element:var(--bg-white);--background-hover-color-list-element:var(--color-surface02);--background-active-color-list-element:var(--color-surface02);display:flex;box-sizing:border-box;flex-direction:column;justify-content:center;font-family:var(--font-family-sans);font-weight:var(--font-rg);outline:none}:host([size="small"])>.container{min-height:calc(var(--space-unit) * 4);padding:calc(var(--space-unit) / 2) 0}:host([size="medium"])>.container{min-height:calc(var(--space-unit) * 5);padding:var(--space-unit) 0}:host([size="large"])>.container{min-height:calc(var(--space-unit) * 7);padding:calc(var(--space-unit) * 2) 0}:host([size="x-large"])>.container{min-height:calc(var(--space-unit) * 9);padding:calc(var(--space-unit) * 3) 0}:host([expandable])>.container,:host([expandable])>.container-contextual-menu,:host([clickable])>.container,:host([clickable])>.container-contextual-menu{cursor:pointer}:host([expandable]:hover)>.container,:host([expandable]:hover)>.container-contextual-menu,:host([clickable]:hover)>.container,:host([clickable]:hover)>.container-contextual-menu{background-color:var(--background-hover-color-list-element)}:host([expandable]:focus:focus-visible)>.container,:host([expandable]:focus:focus-visible)>.container-contextual-menu,:host([clickable]:focus:focus-visible)>.container,:host([clickable]:focus:focus-visible)>.container-contextual-menu{box-shadow:var(--shadow-focus-primary)}:host([clickable]:not([expandable]))>.container.clicked,:host([clickable]:not([expandable]))>.container-contextual-menu.clicked{box-shadow:var(--shadow-focus-primary)}:host([expandable]:active)>.container,:host([expandable]:active)>.container-contextual-menu,:host([clickable]:active)>.container,:host([clickable]:active)>.container-contextual-menu{background-color:var(--background-active-color-list-element)}:host([align-button="left"][expandable])>.container>.z-list-element-container,:host([align-button="left"][expandable])>.container-contextual-menu>.z-list-element-container{display:flex}:host([align-button="right"][expandable])>.container>.z-list-element-container,:host([align-button="right"][expandable])>.container-contextual-menu>.z-list-element-container{display:flex;flex-direction:row-reverse;justify-content:space-between}:host([align-button="left"][expandable])>.container>.z-list-element-container>z-icon,:host([align-button="left"][expandable])>.container-contextual-menu>.z-list-element-container>z-icon{margin-right:var(--space-unit)}:host([align-button="right"][expandable])>.container>.z-list-element-container>z-icon,:host([align-button="right"][expandable])>.container-contextual-menu>.z-list-element-container>z-icon{margin-left:var(--space-unit)}:host>.container>.z-list-element-inner-container,:host>.container-contextual-menu>.z-list-element-inner-container{display:none}:host>.container>.z-list-element-inner-container.expanded,:host>.container-contextual-menu>.z-list-element-inner-container.expanded{display:block}:host([clickable]:hover)>.container-contextual-menu{background-color:var(--color-surface03)}.container-contextual-menu:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.z-list-content-container{display:flex;align-items:center}';const _=class{constructor(i){t(this,i),this.size=v.MEDIUM,this.dividerType=g.NONE,this.dividerSize=h.SMALL,this.dividerColor="gray200",this.listType=z.NONE}componentDidLoad(){const t=this.host.children;for(let i=0;i<t.length;i++)t.length-1>i&&(t[i].setAttribute("divider-type",this.dividerType),t[i].setAttribute("divider-size",this.dividerSize),t[i].setAttribute("divider-color",this.dividerColor)),t[i].setAttribute("size",this.size),t[i].setAttribute("list-type",this.listType),t[i].setAttribute("list-element-position",i.toString())}componentWillLoad(){this.hasHeader=!!this.host.querySelector('[slot="header-title"]')}render(){return e(a,{role:"group"},e("div",{class:{"z-list-group-header-container":!0,"has-header":this.hasHeader}},e("slot",{name:"header-title"}),this.dividerType===g.HEADER&&e("z-divider",{color:this.dividerColor,size:this.dividerSize})),e("slot",null))}get host(){return r(this)}};_.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.z-list-group-header-container{color:var(--gray700);font-size:var(--font-size-2);font-weight:var(--font-sb) !important;letter-spacing:0.16px;line-height:1.4}:host>.z-list-group-header-container.has-header{padding-top:var(--space-unit);padding-bottom:var(--space-unit)}:host>.z-list-group-header-container.has-header>z-divider{margin-top:var(--space-unit)}";const R=class{constructor(e){t(this,e),this.canvasOpenStatusChanged=i(this,"canvasOpenStatusChanged",7),this.variant=o.PUSHCONTENT,this.open=!1,this.transitiondirection=c.LEFT,this.skipLoadAnimation=!1}onOpenChanged(){!this.open&&this.skipLoadAnimation&&(this.skipLoadAnimation=!1),this.open&&this.handlePageOverflow(),this.canvasOpenStatusChanged.emit(this.open)}handlePageOverflow(){document.body.style[this.variant===o.OVERLAY?"overflow-y":"overflow-x"]=this.open?"hidden":""}render(){return e(a,{class:{"skip-animation":this.skipLoadAnimation}},e("div",{role:"presentation",class:"canvas-container",onTransitionEnd:()=>this.handlePageOverflow()},e("div",{role:"presentation",class:"canvas-content"},e("slot",{name:"canvasContent"}))),this.variant==o.OVERLAY&&e("div",{class:"canvas-background","data-action":"canvasBackground",onClick:()=>this.open=!1}))}static get watchers(){return{open:["onOpenChanged"]}}};R.style='.sc-z-offcanvas-h{--z-offcanvas--container-width:375px;--z-offcanvas--top-space:0;min-width:100%;height:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg);visibility:hidden}.canvas-container.sc-z-offcanvas{display:flex;overflow:-moz-scrollbars-none;overflow:hidden;min-width:100%;height:100%;flex-direction:column;background:var(--color-surface01)}[variant="pushcontent"].sc-z-offcanvas-h{display:none}[open].sc-z-offcanvas-h{display:flex;visibility:visible}[variant="overlay"].sc-z-offcanvas-h{position:fixed;z-index:1000;top:var(--z-offcanvas--top-space);right:0;bottom:0;left:0;display:flex;height:calc(100% - var(--z-offcanvas--top-space))}[variant="overlay"][transitiondirection="left"].sc-z-offcanvas-h{justify-content:end}[variant="overlay"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{z-index:1010}[variant="overlay"].sc-z-offcanvas-h .canvas-background.sc-z-offcanvas{position:absolute;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{overflow:auto;flex:1 auto;padding:0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0;overflow-x:hidden}[variant="overlay"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{padding:0 calc(var(--space-unit) * 2) calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) 0 0}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-track{background-color:transparent}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas{scrollbar-color:var(--color-primary01) transparent}@media only screen and (max-width: 768px){[open][transitiondirection="left"].sc-z-offcanvas-h:not(.skip-animation)>.canvas-container.sc-z-offcanvas{animation:enter-right 0.4s ease-out}[open][transitiondirection="right"].sc-z-offcanvas-h:not(.skip-animation)>.canvas-container.sc-z-offcanvas{animation:enter-left 0.4s ease-out}}@media only screen and (min-width: 768px){.sc-z-offcanvas-h{min-width:auto}.canvas-container.sc-z-offcanvas{width:auto;min-width:max(var(--z-offcanvas--container-width), 375px);max-width:max(var(--z-offcanvas--container-width), 375px);height:auto;min-height:calc(var(--space-unit) * 40)}.sc-z-offcanvas-h:not([variant="overlay"])[open]:not(.skip-animation){width:auto;animation:grow 0.4s ease-out}}@keyframes grow{from{width:0}to{width:max(var(--z-offcanvas--container-width), 375px)}}@keyframes enter-left{from{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes enter-right{from{transform:translateX(100%)}to{transform:translateX(0)}}[open][variant="overlay"][transitiondirection="left"].sc-z-offcanvas-h:not(.skip-animation)>.canvas-container.sc-z-offcanvas{animation:enter-right 0.4s ease-out}[open][transitiondirection="right"].sc-z-offcanvas-h:not(.skip-animation)>.canvas-container.sc-z-offcanvas{animation:enter-left 0.4s ease-out}.sc-z-offcanvas-h:not([open])[variant="overlay"][transitiondirection="right"]>.canvas-container.sc-z-offcanvas{transform:translateX(-100%);transition:visibility 0.4s ease-out, transform 0.4s ease-out}.sc-z-offcanvas-h:not([open])[variant="overlay"][transitiondirection="left"]>.canvas-container.sc-z-offcanvas{transform:translateX(100%);transition:visibility 0.4s ease-out, transform 0.4s ease-out}.sc-z-offcanvas-h:not([open])[variant="overlay"] .canvas-background.sc-z-offcanvas{transition:visibility 0.4s ease-out;visibility:hidden}';const B=class{constructor(e){t(this,e),this.searchSubmit=i(this,"searchSubmit",7),this.searchTyping=i(this,"searchTyping",7),this.searchItemClick=i(this,"searchItemClick",7),this.htmlid=`searchbar-${w()}`,this.preventSubmit=!1,this.autocomplete=!1,this.autocompleteMinChars=3,this.resultsEllipsis=!0,this.searchHelperLabel="Cerca {searchString}",this.sortResultsItems=!1,this.showSearchButton=!1,this.searchButtonIconOnly=!1,this.size=s.BIG,this.variant=n.PRIMARY,this.searchString=this.value,this.currResultsCount=0,this.showResults=!1,this.resultsItemsList=null}emitSearchSubmit(){this.searchSubmit.emit(this.inputRef.value)}emitSearchTyping(t){this.searchTyping.emit(t)}emitSearchItemClick(t){this.searchItemClick.emit(t)}watchItems(){this.resultsItemsList=this.getResultsItemsList()}watchResultsCount(){this.currResultsCount=this.resultsCount}watchValue(){this.searchString=this.value}watchSearchString(){this.emitSearchTyping(this.searchString),this.searchString||(this.currResultsCount=this.resultsCount)}componentWillLoad(){this.resultsItemsList=this.getResultsItemsList(),this.currResultsCount=this.resultsCount}getResultsItemsList(){return"string"==typeof this.resultsItems?JSON.parse(this.resultsItems):this.resultsItems}getGroupedItems(t){const i={};return t.forEach((t=>{var e;const a=`${null==t?void 0:t.category}${null==t?void 0:t.subcategory}`;i[a]=null!==(e=i[a])&&void 0!==e?e:{category:null==t?void 0:t.category,subcategory:null==t?void 0:t.subcategory,items:[]},i[a].items.push(t)})),this.sortResultsItems?Object.keys(i).sort().reduce(((t,e)=>(t[e]=Object.assign(Object.assign({},i[e]),{items:i[e].items.sort(((t,i)=>{const e=t.label.toUpperCase(),a=i.label.toUpperCase();return e<a?-1:e>a?1:0}))}),t)),{}):i}checkResultsCount(t){return!this.currResultsCount||t<this.currResultsCount}handleStopTyping(t){t.stopPropagation(),this.searchString=t.detail.value}handleSubmit(){this.preventSubmit||this.emitSearchSubmit()}handleOutsideClick(t){const i=t.composedPath(),e=i.find((t=>"Z-SEARCHBAR"===t.nodeName));this.showResults=!(!e||e.htmlid!==this.htmlid||!i.find((t=>{var i;return"Z-INPUT"===(null==t?void 0:t.nodeName)||(null===(i=null==t?void 0:t.classList)||void 0===i?void 0:i.contains("results"))})))}renderInput(){return e("z-input",{ref:t=>{this.inputRef=t},message:!1,placeholder:this.placeholder,onStopTyping:t=>this.handleStopTyping(t),onKeyUp:t=>k(t,(()=>this.handleSubmit())),value:this.value,size:this.size})}renderButton(){if(!this.showSearchButton)return null;const t=this.searchButtonIconOnly?"":"CERCA",i=Object.assign({disabled:this.preventSubmit,variant:this.variant,size:this.size,onClick:()=>this.handleSubmit()},this.searchButtonIconOnly?{icon:"search"}:null);return e("z-button",Object.assign({},i),t)}renderResults(){return this.showResults&&this.autocomplete&&this.searchString&&!(this.searchString.length<this.autocompleteMinChars)&&this.resultsItemsList?e("div",{class:"results-wrapper"},e("div",{class:"results"},this.renderResultsList())):null}renderResultsList(){var t,i;return this.preventSubmit&&!(null===(t=this.resultsItemsList)||void 0===t?void 0:t.length)?e("span",{class:"item item-no-results"},"Non abbiamo trovato risultati per ",e("b",null,this.searchString),e("br",null),e("br",null),"Cosa puoi fare?",e("ul",null,e("li",null,"Verificare di aver scritto bene"),e("li",null,"Provare a cercare un'altra parola"),e("li",null,"Provare a cercare qualcosa di più generico"))):e("z-list",{role:"listbox",id:`list-${this.htmlid}`},this.renderSearchHelper(!!(null===(i=this.resultsItemsList)||void 0===i?void 0:i.length)),this.renderItems(),this.renderShowAllResults())}renderItems(){var t;if(!(null===(t=this.resultsItemsList)||void 0===t?void 0:t.length))return[];const i=this.getGroupedItems(this.resultsItemsList),a=[];let r=0;return Object.values(i).forEach(((t,i,s)=>{if(this.checkResultsCount(r)){const n=[];t.items.forEach(((t,e,a)=>{this.checkResultsCount(r)&&n.push(this.renderItem(t,e,!(i===s.length-1&&e===a.length-1))),r++})),n.length&&a.push(e("z-list-group",{"divider-type":g.ELEMENT},this.renderItemCategory(t),n))}})),a}renderItem(t,i,a){return e("z-list-element",{id:`list-item-${this.htmlid}-${i}`,role:"option",tabindex:0,dividerType:a?g.ELEMENT:void 0,clickable:!0,onClickItem:()=>this.emitSearchItemClick(t)},e("span",{class:{item:!0,ellipsis:this.resultsEllipsis,"has-category":!!t.category}},(null==t?void 0:t.icon)&&e("z-icon",{class:"item-icon",name:t.icon}),e("span",{class:"item-label",title:t.label,innerHTML:this.renderItemLabel(t.label)})))}renderItemLabel(t){return this.searchString?t.replace(new RegExp(this.searchString.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gmi"),(t=>`<mark>${t}</mark>`)):t}renderItemCategory(t){return(null==t?void 0:t.category)?e("span",{class:"category-heading",slot:"header-title"},e("span",{class:"category"},t.category),(null==t?void 0:t.subcategory)&&e("span",{class:"subcategory"},t.subcategory)):null}renderSearchHelper(t=!0){return this.autocomplete&&!this.preventSubmit&&this.searchString?e("z-list-element",{role:"option",tabindex:0,dividerType:t?g.ELEMENT:void 0,clickable:!0,id:`list-item-${this.htmlid}-search`,onClickItem:()=>this.emitSearchSubmit()},e("span",{class:"item item-search"},e("z-icon",{class:"search-icon",name:"left-magnifying-glass"}),e("span",{class:"item-label",innerHTML:this.searchHelperLabel.replace("{searchString}",`<mark>${this.searchString}</mark>`)}))):null}renderShowAllResults(){var t,i;return!this.currResultsCount||!this.searchString||!(null===(t=this.resultsItemsList)||void 0===t?void 0:t.length)||this.currResultsCount>=(null===(i=this.resultsItemsList)||void 0===i?void 0:i.length)?null:e("z-list-element",{role:"option",tabindex:0,clickable:!0,id:`list-item-${this.htmlid}-show-all`,onClickItem:()=>this.currResultsCount=0,color:"color-primary01"},e("div",{class:"item-show-all"},"Vedi tutti i risultati"))}render(){return e(a,{onFocus:()=>this.showResults=!0,onClick:t=>this.handleOutsideClick(t),class:{"has-submit":this.showSearchButton,"has-results":this.autocomplete}},e("div",{class:"input-container"},this.renderInput(),this.renderResults()),this.renderButton())}static get watchers(){return{resultsItems:["watchItems"],resultsCount:["watchResultsCount"],value:["watchValue"],searchString:["watchSearchString"]}}};B.style=':host{z-index:10;display:flex;column-gap:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,*{box-sizing:border-box}.input-container{position:relative;display:flex;width:100%;flex-direction:column}.results-wrapper{position:absolute;top:calc(100% - 1px);left:0;width:100%;padding:calc(var(--space-unit) / 4);border:var(--border-size-small) solid var(--color-surface03);border-top:none;background:var(--color-surface01)}.results{overflow:auto;max-height:var(--z-searchbar-results-height, 540px);padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}.results::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.results::-webkit-scrollbar-track{background-color:transparent}.results::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.results .category-heading{display:block;font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:var(--font-size-3)}.results .category-heading>*{display:block}.results .category-heading>.category{color:var(--color-text05);font-style:italic}.results .category-heading>.subcategory{margin-top:var(--space-unit);color:var(--color-text01);text-transform:uppercase}.results z-list-element{display:block}.results .item{--z-icon-height:12px;--z-icon-width:12px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-start;color:var(--color-text01);column-gap:calc(var(--space-unit) * 1.5);fill:var(--color-icon02);font-size:var(--font-size-2);line-height:var(--font-size-3)}.results .item.ellipsis>.item-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.results .item>.item-label mark{background:var(--color-primary03)}.results .item.has-category{padding-left:calc(var(--space-unit) * 3)}.results .item.item-search{--z-icon-height:16px;--z-icon-width:16px}.results .item-show-all{text-align:center}.results .item-no-results{display:block;font-size:var(--font-size-2);font-style:italic;line-height:var(--font-size-5)}.results .item-no-results>ul{padding-left:calc(var(--space-unit) * 2);margin:var(--space-unit)}@media (min-width: 768px){.results .category-heading{font-size:var(--font-size-3);line-height:var(--font-size-6)}.results .item{font-size:var(--font-size-3);line-height:var(--font-size-6)}.results .item.item-search{--z-icon-height:18px;--z-icon-width:18px}.results .item.ellipsis>.item-label{height:24px}}@media (min-width: 1152px){.results .item{cursor:pointer}.results .item-no-results{cursor:default;font-size:var(--font-size-3);line-height:var(--font-size-6)}}:host([size="small"]) .results :is(.item,.category-heading),:host([size="x-small"]) .results :is(.item,.category-heading){font-size:var(--font-size-2)}:host([size="small"]) .results .item:not(.has-category),:host([size="x-small"]) .results .item:not(.has-category){--z-icon-height:16px;--z-icon-width:16px}:host([size="small"])::part(list-item-container){min-height:calc(var(--space-unit) * 4.5);padding:0}:host([size="x-small"])::part(list-item-container){min-height:calc(var(--space-unit) * 4);padding:0}';export{S as z_app_header,O as z_button,j as z_divider,I as z_icon,T as z_input,$ as z_input_message,M as z_list,L as z_list_element,_ as z_list_group,R as z_offcanvas,B as z_searchbar}
|
|
@@ -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-6b454593.js";import{a as s}from"./p-b1068026.js";import"./p-d69e14fb.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 as t,h as n,H as i,g as a}from"./p-d17ebc2f.js";import{
|
|
1
|
+
import{r as t,h as n,H as i,g as a}from"./p-d17ebc2f.js";import{j as o,B as s,d as e}from"./p-6b454593.js";const l=class{constructor(n){t(this,n),this.padding=o.MEDIUM,this.isMenuOpened=!1}handleMenu(){this.isMenuOpened=!this.isMenuOpened}componentWillRender(){this.host.setAttribute("role","cell")}render(){return n(i,null,this.showButton&&n("div",{class:{"button-container":!0,visible:this.isMenuOpened}},n("div",{class:"button-content"},n("z-button",{icon:"contextual-menu",variant:s.TERTIARY,size:e.X_SMALL,onClick:()=>this.handleMenu()}),n("div",{class:{"contextual-menu-container":!0,visible:this.isMenuOpened}},n("slot",{name:"contextual-menu"})))),n("slot",null))}get host(){return a(this)}};l.style=':host{display:table-cell;border-bottom:var(--border-size-small) solid var(--bg-grey-200);background-color:var(--color-white);font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>.button-container{display:none}:host:hover>.button-container{display:initial}.button-container{position:absolute;z-index:5;top:8px;right:8px}.button-content{position:relative}.contextual-menu-container{position:absolute;top:calc(100% - var(--space-unit));right:0;display:none}.button-container.visible,.contextual-menu-container.visible{display:initial}:host([padding="x-small"]){padding:calc(var(--space-unit) * 0.5)}:host([padding="small"]){padding:calc(var(--space-unit))}:host([padding="medium"]){padding:calc(var(--space-unit) * 2)}:host([padding="large"]){padding:calc(var(--space-unit) * 2.5)}:host([padding="special"]){padding:0}';export{l as z_table_cell}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as o,H as
|
|
1
|
+
import{r as t,h as o,H as i,g as e}from"./p-d17ebc2f.js";import{M as n}from"./p-6b454593.js";const r=class{constructor(o){t(this,o),this.icon="informationsource",this.position=n.BOTTOM_RIGHT,this.open=!1,this.currentIndex=null}watchItems(){Array.from(this.el.children).forEach(((t,o)=>{this.currentIndex===o?t.setAttribute("data-current",""):t.removeAttribute("data-current")}))}openInfoBox(){this.currentIndex=0,this.open=!0}closeInfoBox(){this.open=!1}next(){this.currentIndex=this.currentIndex+1,this.currentIndex===this.el.children.length&&this.closeInfoBox()}render(){return o(i,{open:this.open},o("button",{class:"z-info-reveal-trigger",onClick:this.openInfoBox.bind(this)},this.label&&o("span",{class:"z-info-reveal-label"},this.label),o("z-icon",{name:this.icon})),this.open&&o("div",{class:"info-box",onClick:this.next.bind(this),tabIndex:0},o("slot",null),o("button",{class:"z-info-reveal-close",onClick:this.closeInfoBox.bind(this)},o("z-icon",{name:"close"}))))}get el(){return e(this)}static get watchers(){return{currentIndex:["watchItems"]}}};r.style=':host{--z-info-reveal-theme--surface:var(--color-black);--z-info-reveal-theme--text:var(--color-white);--z-info-reveal-shadow:var(--shadow-2);--z-info-reveal-max-width:375px;position:relative;display:flex;width:fit-content;background-color:var(--z-info-reveal-theme--surface);color:var(--z-info-reveal-theme--text);font-size:var(--font-size-3);font-weight:var(--font-rg);letter-spacing:0;line-height:1.5}button{padding:0;border:none;background-color:transparent;border-radius:0;color:inherit;cursor:pointer;fill:currentcolor;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit}z-icon{--z-icon-width:calc(var(--space-unit) * 3);--z-icon-height:calc(var(--space-unit) * 3);display:flex}.z-info-reveal-trigger{display:flex;width:fit-content;height:100%;align-items:center;padding:calc(var(--space-unit) / 2);box-shadow:var(--z-info-reveal-shadow);column-gap:calc(var(--space-unit) / 2)}:host([position="top_left"]) .z-info-reveal-trigger,:host([position="bottom_left"]) .z-info-reveal-trigger{flex-direction:row-reverse}:host([open]) .z-info-reveal-trigger{box-shadow:none}.info-box{position:absolute;display:flex;max-width:var(--z-info-reveal-max-width);padding:calc(var(--space-unit) / 2);background-color:var(--z-info-reveal-theme--surface);box-shadow:var(--z-info-reveal-shadow);column-gap:calc(var(--space-unit) / 2);cursor:pointer}:host([position="bottom_left"]) .info-box,:host([position="bottom_right"]) .info-box{bottom:0}:host([position="top_right"]) .info-box,:host([position="bottom_right"]) .info-box{right:0}:host([position="top_left"]) .info-box,:host([position="bottom_left"]) .info-box{left:0;flex-direction:row-reverse}::slotted(*){display:none;width:max-content}::slotted([data-current]){display:block}:host([position="top_left"]) .z-info-reveal-close,:host([position="top_right"]) .z-info-reveal-close{align-self:flex-start}:host([position="bottom_left"]) .z-info-reveal-close,:host([position="bottom_right"]) .z-info-reveal-close{align-self:flex-end}';export{r as z_info_reveal}
|
|
@@ -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-6b454593.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
|
|
1
|
+
import{r as t,c as e,h as r}from"./p-d17ebc2f.js";import{p as i}from"./p-6b454593.js";const o=class{constructor(r){t(this,r),this.undoAction=e(this,"undoAction",7)}emitUndoAction(){this.undoAction.emit({actionType:this.type})}handleSpaceKeyPress(t){32!=t.keyCode&&13!=t.keyCode||(t.preventDefault(),this.emitUndoAction())}handleActionButtonClick(t){t.preventDefault(),this.emitUndoAction()}retrieveClass(){let t="";switch(this.type){case"add":t="add-alert";break;case"remove":t="remove-alert";break;default:t=""}return t}getAlertType(){switch(this.type){case"add":return i.SUCCESS;case"remove":return i.WARNING;default:return null}}render(){return r("div",{class:"alert-external-wrapper "+this.retrieveClass()},r("z-alert",{type:this.getAlertType()},r("div",{class:"relative-container"},r("z-icon",{name:this.iconname,width:18,height:18,class:this.retrieveClass()}),r("span",{class:"content-text"},this.contenttext),this.actiontext&&!!this.actiontext.trim().length&&r("span",{role:"button",tabindex:"0",class:"content-action",onClick:t=>{this.handleActionButtonClick(t)},onKeyPress:t=>{this.handleSpaceKeyPress(t)}},this.actiontext))))}};o.style=":host{position:absolute;z-index:2;top:0;left:0;width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-alert{height:calc(var(--space-unit) * 6)}.relative-container{position:relative;display:grid;align-items:center;padding:0;grid-column-gap:var(--space-unit);grid-template-columns:18px auto 46px;grid-template-rows:1fr;outline:none}.relative-container::-moz-focus-inner{border:0}.alert-external-wrapper.remove-alert{border:var(--border-size-medium) solid var(--color-surface02);border-top:none}:host div.add-alert{background:var(--color-success-inverse)}:host div.remove-alert{background:var(--color-warning-inverse)}:host div>.content-text{color:var(--color-surface05);font-size:14px;letter-spacing:0.16px;line-height:20px}:host div>.content-action{height:20px;color:var(--color-primary01);cursor:pointer;font-size:12px;font-weight:var(--font-sb);letter-spacing:0.32px;line-height:20px}:host div>z-icon{justify-self:center}";export{o as z_myz_card_alert}
|
|
@@ -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)\
|
|
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_table_empty_box}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s}from"./p-d17ebc2f.js";import{B as o,
|
|
1
|
+
import{r as t,c as i,h as s}from"./p-d17ebc2f.js";import{B as o,d as a}from"./p-6b454593.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}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as a,H as t}from"./p-d17ebc2f.js";import{v as s}from"./p-6b454593.js";const i=class{constructor(a){r(this,a),this.mode=s.POLITE}render(){return a(t,{"aria-live":this.mode,"aria-atomic":"true","aria-relevant":"additions"},a("slot",null))}};export{i as z_aria_alert}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as e}from"./p-d17ebc2f.js";import{r}from"./p-6b454593.js";const t=class{constructor(e){o(this,e),this.status=r.PREVIEW}handlePocketToggle(o){o.detail.id===this.pocketid&&(this.status=o.detail.status)}renderHeader(){let o,t;switch(this.status){case r.PREVIEW:case r.CLOSED:o=e("span",null,"Messaggi ",e("span",{class:"badge"},this.messages)),t="chevron-up";break;case r.OPEN:o=e("span",null,"Riduci"),t="chevron-down"}return e("z-pocket-header",{pocketid:this.pocketid},o,e("z-icon",{name:t,width:14,height:14}))}renderBody(){return e("z-pocket-body",{pocketid:this.pocketid},e("div",{class:"body"},e("slot",null)),e("div",{class:"gradient"}))}render(){return e("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(\n 90deg,\n var(--color-surface01) 2px,\n var(--color-surface03) 4px,\n var(--color-surface01) 8px\n );border-radius:var(--radius-base)}:host ::-webkit-scrollbar-thumb{width:var(--space-unit);background-color:var(--color-primary01);border-radius:var(--radius-base)}}";export{t as z_messages_pocket}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i,H as a,g as o}from"./p-d17ebc2f.js";import{j as e,S as r,B as n,d as l,P as c}from"./p-6b454593.js";import{d as p}from"./p-b1068026.js";import"./p-d69e14fb.js";const d=class{constructor(i){t(this,i),this.sort=s(this,"sort",7),this.padding=e.MEDIUM,this.defaultSortDirection=r.ASC,this.sortDirection=r.NONE,this.emitOnSort=this.emitOnSort.bind(this)}emitOnSort(){this.sort.emit({columnId:this.columnId,sortDirection:this.sortDirection})}handleSort(){this.sortable&&(this.sortDirection=(()=>{switch(this.sortDirection){case r.ASC:return r.DESC;case r.DESC:return r.ASC;case r.NONE:return this.defaultSortDirection;default:return r.NONE}})(),this.emitOnSort())}handleMenuClick(){this.popover.open=!this.popover.open}handleOutsideClick(t){!p(t.target).find((t=>"z-popover"===t.nodeName.toLowerCase()))&&this.popover&&(this.popover.open=!1)}handleClickHeaders(t){const s=t.target,i=p(s).find((t=>"z-table-header"===t.nodeName.toLowerCase()));this.sortable&&i&&i.attributes.getNamedItem("column-id").value!==this.columnId&&(s.parentNode.sortable||s.sortable)&&(this.sortDirection=r.NONE)}componentWillRender(){this.host.setAttribute("role","columnheader")}render(){return i(a,{class:{sortable:this.sortable},onClick:()=>this.handleSort()},i("div",{class:"container"},i("slot",null),this.sortable&&this.sortDirection!==r.NONE&&i("z-icon",{name:this.sortDirection===r.ASC?"arrow-up":"arrow-down",class:"arrow"})),this.showButton&&i("div",{class:"popover-container"},i("z-button",{ref:t=>this.triggerButton=t,class:"contextual-popover-button",icon:"contextual-menu",variant:n.TERTIARY,size:l.X_SMALL,onClick:()=>this.handleMenuClick()}),i("z-popover",{ref:t=>this.popover=t,position:c.BOTTOM,center:!0,bindTo:this.triggerButton},i("div",null,i("slot",{name:"contextual-menu"})))))}get host(){return o(this)}};d.style=':host{position:relative;display:table-cell;border-bottom:var(--border-size-medium) solid var(--gray200);background-color:var(--gray50);font-family:var(--dashboard-font);font-weight:var(--font-sb);text-align:start}.container{display:flex;align-items:flex-end}:host(.sortable){cursor:pointer}:host([padding="x-small"]){padding:calc(var(--space-unit) * 0.5)}:host([padding="small"]){padding:calc(var(--space-unit))}:host([padding="medium"]){padding:calc(var(--space-unit) * 2)}:host([padding="large"]){padding:calc(var(--space-unit) * 2.5)}:host([padding="special"]){padding:0}.arrow{padding-left:var(--space-unit);opacity:1}.popover-container{position:absolute;top:var(--space-unit);right:var(--space-unit);display:none}.popover-container z-popover{--z-popover-theme--surface:var(--gray200);position:relative;z-index:1}.popover-container.visible{display:block}:host(:hover) .popover-container{display:block}';export{d as z_table_header}
|