@zanichelli/albe-web-components 2.33.5-rc2 → 2.34.2
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 +1238 -1221
- package/LICENSE +21 -21
- package/dist/cjs/{breakpoints-776c8868.js → breakpoints-88c4fd6c.js} +1 -1
- package/dist/cjs/{icons-8ecf1231.js → icons-05eba7ee.js} +473 -472
- package/dist/cjs/{index-21817092.js → index-3735f277.js} +253 -253
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-c3cf6ba2.js → utils-6a2c0eab.js} +63 -63
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-alert.cjs.entry.js +8 -8
- package/dist/cjs/z-app-header.cjs.entry.js +133 -133
- package/dist/cjs/z-app-switcher.cjs.entry.js +18 -18
- package/dist/cjs/z-app-topbar.cjs.entry.js +30 -30
- package/dist/cjs/z-aria-alert.cjs.entry.js +9 -9
- package/dist/cjs/z-avatar.cjs.entry.js +32 -32
- package/dist/cjs/z-body_2.cjs.entry.js +40 -0
- package/dist/cjs/z-button-filter_5.cjs.entry.js +591 -591
- package/dist/cjs/z-button-sort.cjs.entry.js +43 -43
- package/dist/cjs/z-button.cjs.entry.js +39 -0
- package/dist/cjs/z-candybar.cjs.entry.js +8 -8
- package/dist/cjs/z-card.cjs.entry.js +47 -47
- package/dist/cjs/z-chip.cjs.entry.js +13 -13
- package/dist/cjs/z-combobox.cjs.entry.js +160 -160
- package/dist/cjs/z-contextual-menu.cjs.entry.js +29 -29
- package/dist/cjs/z-cookiebar.cjs.entry.js +31 -31
- package/dist/cjs/z-divider.cjs.entry.js +15 -15
- package/dist/cjs/z-footer-link_3.cjs.entry.js +28 -28
- package/dist/cjs/z-footer.cjs.entry.js +91 -91
- package/dist/cjs/z-ghost-loading.cjs.entry.js +9 -9
- package/dist/cjs/z-heading.cjs.entry.js +8 -8
- package/dist/cjs/z-icon-package.cjs.entry.js +12 -12
- package/dist/cjs/z-icon.cjs.entry.js +28 -0
- package/dist/cjs/z-info-box.cjs.entry.js +14 -14
- package/dist/cjs/z-link.cjs.entry.js +60 -60
- package/dist/cjs/z-list_3.cjs.entry.js +205 -205
- package/dist/cjs/z-logo.cjs.entry.js +17 -17
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +73 -73
- package/dist/cjs/z-menu-section.cjs.entry.js +35 -35
- package/dist/cjs/z-menu.cjs.entry.js +99 -99
- package/dist/cjs/z-messages-pocket.cjs.entry.js +36 -36
- package/dist/cjs/z-modal-login.cjs.entry.js +71 -71
- package/dist/cjs/z-modal.cjs.entry.js +26 -26
- 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 +42 -42
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +10 -10
- package/dist/cjs/z-myz-card-info.cjs.entry.js +109 -109
- package/dist/cjs/z-myz-card-list.cjs.entry.js +26 -26
- package/dist/cjs/z-myz-card_4.cjs.entry.js +76 -76
- package/dist/cjs/z-myz-list-item.cjs.entry.js +26 -26
- package/dist/cjs/z-myz-topbar.cjs.entry.js +183 -183
- package/dist/cjs/z-navigation-tab.cjs.entry.js +34 -34
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +90 -90
- package/dist/cjs/z-notification.cjs.entry.js +31 -31
- package/dist/cjs/z-otp.cjs.entry.js +30 -30
- package/dist/cjs/z-pagination-bar.cjs.entry.js +115 -115
- package/dist/cjs/z-pagination-page.cjs.entry.js +14 -14
- 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 +127 -0
- package/dist/cjs/z-slideshow.cjs.entry.js +101 -101
- package/dist/cjs/z-status-tag.cjs.entry.js +16 -16
- 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 +24 -0
- package/dist/cjs/z-table-cell.cjs.entry.js +36 -0
- package/dist/cjs/z-table-empty-box.cjs.entry.js +28 -0
- package/dist/cjs/{z-registro-table-expanded-row.cjs.entry.js → z-table-expanded-row.cjs.entry.js} +10 -10
- package/dist/cjs/{z-registro-table-footer.cjs.entry.js → z-table-footer.cjs.entry.js} +15 -15
- package/dist/cjs/z-table-head.cjs.entry.js +23 -0
- package/dist/cjs/z-table-header-row.cjs.entry.js +22 -0
- package/dist/cjs/z-table-header.cjs.entry.js +88 -0
- package/dist/cjs/z-table-row.cjs.entry.js +43 -0
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +19 -0
- package/dist/cjs/z-table.cjs.entry.js +82 -0
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +45 -45
- package/dist/cjs/z-toast-notification.cjs.entry.js +190 -190
- package/dist/cjs/z-toggle-button.cjs.entry.js +25 -25
- package/dist/cjs/z-tooltip.cjs.entry.js +263 -263
- package/dist/cjs/z-user-dropdown.cjs.entry.js +84 -84
- package/dist/cjs/z-visually-hidden.cjs.entry.js +8 -8
- package/dist/collection/beans/index.js +254 -254
- package/dist/collection/collection-manifest.json +12 -12
- package/dist/collection/components/buttons/z-button/index.js +219 -219
- package/dist/collection/components/buttons/z-button/styles.css +231 -231
- package/dist/collection/components/buttons/z-button-filter/index.js +155 -155
- package/dist/collection/components/buttons/z-button-filter/styles.css +74 -74
- package/dist/collection/components/buttons/z-button-sort/index.js +216 -216
- package/dist/collection/components/buttons/z-button-sort/styles.css +101 -101
- package/dist/collection/components/buttons/z-chip/index.js +59 -59
- package/dist/collection/components/buttons/z-chip/styles.css +17 -17
- package/dist/collection/components/buttons/z-toggle-button/index.js +122 -122
- package/dist/collection/components/buttons/z-toggle-button/styles.css +62 -62
- package/dist/collection/components/footer/z-footer/index.js +286 -286
- package/dist/collection/components/footer/z-footer/styles.css +241 -241
- package/dist/collection/components/footer/z-footer-link/index.js +37 -37
- package/dist/collection/components/footer/z-footer-link/styles.css +33 -33
- package/dist/collection/components/footer/z-footer-section/index.js +51 -51
- package/dist/collection/components/footer/z-footer-section/styles.css +163 -163
- package/dist/collection/components/footer/z-footer-social/index.js +68 -68
- package/dist/collection/components/footer/z-footer-social/styles.css +23 -23
- package/dist/collection/components/icons/icons.js +474 -473
- package/dist/collection/components/icons/z-icon/index.js +110 -110
- package/dist/collection/components/icons/z-icon/styles.css +14 -14
- package/dist/collection/components/icons/z-icon-package/index.js +20 -20
- package/dist/collection/components/icons/z-icon-package/styles.css +16 -16
- package/dist/collection/components/indicators/z-stepper/index.js +17 -17
- 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 +115 -115
- package/dist/collection/components/inputs/z-combobox/index.js +480 -480
- package/dist/collection/components/inputs/z-combobox/styles.css +148 -148
- package/dist/collection/components/inputs/z-input/index.js +821 -821
- package/dist/collection/components/inputs/z-input/styles.css +304 -304
- package/dist/collection/components/inputs/z-input-label/index.js +72 -72
- package/dist/collection/components/inputs/z-input-label/styles.css +16 -16
- package/dist/collection/components/inputs/z-input-message/index.js +64 -64
- package/dist/collection/components/inputs/z-input-message/styles.css +33 -33
- package/dist/collection/components/inputs/z-select/index.js +647 -647
- package/dist/collection/components/inputs/z-select/styles.css +131 -131
- package/dist/collection/components/list/z-list/index.js +57 -57
- package/dist/collection/components/list/z-list/styles.css +7 -7
- package/dist/collection/components/list/z-list-element/index.js +439 -439
- package/dist/collection/components/list/z-list-element/styles.css +133 -133
- package/dist/collection/components/list/z-list-group/index.js +144 -144
- package/dist/collection/components/list/z-list-group/styles.css +22 -22
- package/dist/collection/components/list/z-toast-notification-list/index.js +97 -97
- package/dist/collection/components/list/z-toast-notification-list/styles.css +107 -107
- package/dist/collection/components/logo/z-logo/index.js +128 -128
- package/dist/collection/components/logo/z-logo/styles.css +28 -28
- package/dist/collection/components/modal/z-modal/index.js +160 -160
- package/dist/collection/components/modal/z-modal/styles.css +185 -185
- package/dist/collection/components/modal/z-modal-login/index.js +272 -272
- package/dist/collection/components/modal/z-modal-login/styles.css +159 -159
- package/dist/collection/components/navigation/z-app-header/index.js +267 -267
- package/dist/collection/components/navigation/z-app-header/styles.css +445 -445
- package/dist/collection/components/navigation/z-app-switcher/index.js +70 -70
- package/dist/collection/components/navigation/z-app-switcher/styles.css +35 -35
- package/dist/collection/components/navigation/z-app-topbar/index.js +156 -156
- package/dist/collection/components/navigation/z-app-topbar/styles.css +71 -71
- package/dist/collection/components/navigation/z-link/index.js +309 -309
- package/dist/collection/components/navigation/z-link/styles.css +164 -164
- package/dist/collection/components/navigation/z-menu/index.js +223 -223
- package/dist/collection/components/navigation/z-menu/styles.css +149 -149
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +125 -125
- package/dist/collection/components/navigation/z-menu-dropdown/styles.css +146 -146
- package/dist/collection/components/navigation/z-menu-section/index.js +109 -109
- package/dist/collection/components/navigation/z-menu-section/styles.css +91 -91
- package/dist/collection/components/navigation/z-navigation-tab/index.js +151 -151
- package/dist/collection/components/navigation/z-navigation-tab/styles.css +113 -113
- package/dist/collection/components/navigation/z-navigation-tabs/index.js +179 -179
- package/dist/collection/components/navigation/z-navigation-tabs/styles.css +117 -117
- package/dist/collection/components/navigation/z-user-dropdown/index.js +252 -252
- package/dist/collection/components/navigation/z-user-dropdown/styles.css +315 -315
- package/dist/collection/components/notification/z-candybar/index.js +18 -18
- package/dist/collection/components/notification/z-candybar/styles.css +61 -61
- package/dist/collection/components/notification/z-cookiebar/index.js +111 -111
- package/dist/collection/components/notification/z-cookiebar/styles.css +109 -109
- package/dist/collection/components/notification/z-info-box/index.js +79 -79
- package/dist/collection/components/notification/z-info-box/styles.css +23 -23
- package/dist/collection/components/notification/z-notification/index.js +171 -171
- package/dist/collection/components/notification/z-notification/styles.css +93 -93
- package/dist/collection/components/notification/z-toast-notification/index.js +402 -402
- package/dist/collection/components/notification/z-toast-notification/styles.css +247 -247
- package/dist/collection/components/notification/z-tooltip/index.js +379 -379
- package/dist/collection/components/notification/z-tooltip/styles.css +128 -128
- package/dist/collection/components/pagination/z-pagination-bar/index.js +278 -278
- package/dist/collection/components/pagination/z-pagination-bar/styles.css +23 -23
- package/dist/collection/components/pagination/z-pagination-page/index.js +129 -129
- package/dist/collection/components/pagination/z-pagination-page/styles.css +57 -57
- 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/typography/z-body/index.js +66 -66
- package/dist/collection/components/typography/z-heading/index.js +66 -66
- package/dist/collection/components/typography/z-typography/index.js +84 -84
- package/dist/collection/components/typography/z-typography/styles.css +61 -61
- package/dist/collection/components/z-aria-alert/index.js +32 -32
- package/dist/collection/components/z-avatar/index.js +137 -137
- package/dist/collection/components/z-avatar/styles.css +35 -35
- package/dist/collection/components/z-card/index.js +153 -153
- package/dist/collection/components/z-card/styles.css +188 -188
- package/dist/collection/components/z-contextual-menu/index.js +122 -122
- package/dist/collection/components/z-contextual-menu/styles.css +45 -45
- package/dist/collection/components/z-divider/index.js +89 -89
- package/dist/collection/components/z-divider/styles.css +37 -37
- package/dist/collection/components/z-ghost-loading/index.js +14 -14
- package/dist/collection/components/z-ghost-loading/styles.css +34 -34
- package/dist/collection/components/z-popover/index.js +273 -273
- package/dist/collection/components/z-popover/styles.css +236 -236
- package/dist/collection/components/z-status-tag/index.js +125 -125
- package/dist/collection/components/z-status-tag/styles.css +133 -133
- package/dist/collection/{snowflakes/registro-table/z-registro-table → components/z-table/z-table}/index.js +365 -365
- package/dist/collection/{snowflakes/registro-table/z-registro-table → components/z-table/z-table}/styles.css +166 -166
- package/dist/collection/{snowflakes/registro-table/z-registro-table-body → components/z-table/z-table-body}/index.js +19 -19
- package/dist/collection/{snowflakes/registro-table/z-registro-table-body → components/z-table/z-table-body}/styles.css +9 -9
- package/dist/collection/{snowflakes/registro-table/z-registro-table-cell → components/z-table/z-table-cell}/index.js +83 -83
- package/dist/collection/{snowflakes/registro-table/z-registro-table-cell → components/z-table/z-table-cell}/styles.css +57 -57
- package/dist/collection/{snowflakes/registro-table/z-registro-table-empty-box → components/z-table/z-table-empty-box}/index.js +69 -69
- package/dist/collection/{snowflakes/registro-table/z-registro-table-empty-box → components/z-table/z-table-empty-box}/styles.css +24 -24
- package/dist/collection/{snowflakes/registro-table/z-registro-table-expanded-row → components/z-table/z-table-expanded-row}/index.js +35 -52
- package/dist/collection/{snowflakes/registro-table/z-registro-table-expanded-row → components/z-table/z-table-expanded-row}/styles.css +9 -9
- package/dist/collection/{snowflakes/registro-table/z-registro-table-head → components/z-table/z-table-footer}/index.js +18 -18
- package/dist/collection/{snowflakes/registro-table/z-registro-table-footer → components/z-table/z-table-footer}/styles.css +5 -5
- package/dist/collection/{snowflakes/registro-table/z-registro-table-footer → components/z-table/z-table-head}/index.js +18 -18
- package/dist/collection/{snowflakes/registro-table/z-registro-table-head → components/z-table/z-table-head}/styles.css +5 -5
- package/dist/collection/{snowflakes/registro-table/z-registro-table-header → components/z-table/z-table-header}/index.js +244 -244
- package/dist/collection/{snowflakes/registro-table/z-registro-table-header → components/z-table/z-table-header}/styles.css +63 -63
- package/dist/collection/{snowflakes/registro-table/z-registro-table-header-row → components/z-table/z-table-header-row}/index.js +37 -37
- package/dist/collection/components/z-table/z-table-header-row/styles.css +13 -0
- package/dist/collection/{snowflakes/registro-table/z-registro-table-row → components/z-table/z-table-row}/index.js +86 -86
- package/dist/collection/components/z-table/z-table-row/styles.css +54 -0
- package/dist/collection/{snowflakes/registro-table/z-registro-table-sticky-footer → components/z-table/z-table-sticky-footer}/index.js +17 -17
- package/dist/collection/{snowflakes/registro-table/z-registro-table-sticky-footer → components/z-table/z-table-sticky-footer}/styles.css +10 -10
- package/dist/collection/components/z-visually-hidden/index.js +14 -14
- 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/index.js +5 -5
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +119 -119
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +38 -38
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +148 -148
- 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 +20 -20
- 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 +87 -87
- 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 +85 -85
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +190 -190
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +137 -137
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +23 -23
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +32 -32
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +101 -101
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +46 -46
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +74 -74
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +70 -70
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +213 -213
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +124 -124
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +53 -53
- 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 +70 -70
- 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 +188 -188
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +48 -48
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +121 -121
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +106 -106
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +181 -181
- package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +56 -56
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +77 -77
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +49 -49
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +86 -86
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +40 -40
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +23 -23
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +53 -53
- package/dist/collection/snowflakes/myz/topbar/index.js +428 -428
- package/dist/collection/snowflakes/myz/topbar/styles.css +594 -594
- package/dist/collection/snowflakes/myz/z-alert/index.js +42 -42
- package/dist/collection/snowflakes/myz/z-alert/styles.css +28 -28
- package/dist/collection/snowflakes/myz/z-otp/index.js +114 -114
- package/dist/collection/snowflakes/myz/z-otp/styles.css +47 -47
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +165 -165
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +128 -128
- package/dist/collection/themes/index.story.js +18 -18
- package/dist/collection/utils/utils.js +82 -82
- package/dist/esm/{breakpoints-14432d05.js → breakpoints-c386984e.js} +1 -1
- package/dist/esm/{icons-c51b7576.js → icons-bceeb196.js} +473 -472
- package/dist/esm/{index-0821f9c7.js → index-56ab7a69.js} +254 -254
- 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-81743fd3.js → utils-cde16cf3.js} +64 -64
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-alert.entry.js +8 -8
- package/dist/esm/z-app-header.entry.js +133 -133
- package/dist/esm/z-app-switcher.entry.js +18 -18
- package/dist/esm/z-app-topbar.entry.js +30 -30
- package/dist/esm/z-aria-alert.entry.js +9 -9
- package/dist/esm/z-avatar.entry.js +32 -32
- package/dist/esm/z-body_2.entry.js +35 -0
- package/dist/esm/z-button-filter_5.entry.js +591 -591
- package/dist/esm/z-button-sort.entry.js +43 -43
- package/dist/esm/z-button.entry.js +35 -0
- package/dist/esm/z-candybar.entry.js +8 -8
- package/dist/esm/z-card.entry.js +47 -47
- package/dist/esm/z-chip.entry.js +13 -13
- package/dist/esm/z-combobox.entry.js +160 -160
- package/dist/esm/z-contextual-menu.entry.js +29 -29
- package/dist/esm/z-cookiebar.entry.js +31 -31
- package/dist/esm/z-divider.entry.js +15 -15
- package/dist/esm/z-footer-link_3.entry.js +28 -28
- package/dist/esm/z-footer.entry.js +91 -91
- package/dist/esm/z-ghost-loading.entry.js +9 -9
- package/dist/esm/z-heading.entry.js +8 -8
- package/dist/esm/z-icon-package.entry.js +12 -12
- package/dist/esm/z-icon.entry.js +24 -0
- package/dist/esm/z-info-box.entry.js +14 -14
- package/dist/esm/z-link.entry.js +60 -60
- package/dist/esm/z-list_3.entry.js +205 -205
- package/dist/esm/z-logo.entry.js +17 -17
- package/dist/esm/z-menu-dropdown_2.entry.js +73 -73
- package/dist/esm/z-menu-section.entry.js +35 -35
- package/dist/esm/z-menu.entry.js +99 -99
- package/dist/esm/z-messages-pocket.entry.js +36 -36
- package/dist/esm/z-modal-login.entry.js +71 -71
- package/dist/esm/z-modal.entry.js +26 -26
- 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 +42 -42
- package/dist/esm/z-myz-card-icon.entry.js +10 -10
- package/dist/esm/z-myz-card-info.entry.js +109 -109
- package/dist/esm/z-myz-card-list.entry.js +26 -26
- package/dist/esm/z-myz-card_4.entry.js +76 -76
- package/dist/esm/z-myz-list-item.entry.js +26 -26
- package/dist/esm/z-myz-topbar.entry.js +183 -183
- package/dist/esm/z-navigation-tab.entry.js +34 -34
- package/dist/esm/z-navigation-tabs.entry.js +90 -90
- package/dist/esm/z-notification.entry.js +31 -31
- package/dist/esm/z-otp.entry.js +30 -30
- package/dist/esm/z-pagination-bar.entry.js +115 -115
- package/dist/esm/z-pagination-page.entry.js +14 -14
- 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 +123 -0
- package/dist/esm/z-slideshow.entry.js +101 -101
- package/dist/esm/z-status-tag.entry.js +16 -16
- 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 +20 -0
- package/dist/esm/z-table-cell.entry.js +32 -0
- package/dist/esm/z-table-empty-box.entry.js +24 -0
- package/dist/esm/{z-registro-table-expanded-row.entry.js → z-table-expanded-row.entry.js} +10 -10
- package/dist/esm/{z-registro-table-footer.entry.js → z-table-footer.entry.js} +15 -15
- package/dist/esm/z-table-head.entry.js +19 -0
- package/dist/esm/z-table-header-row.entry.js +18 -0
- package/dist/esm/z-table-header.entry.js +84 -0
- package/dist/esm/z-table-row.entry.js +39 -0
- package/dist/esm/z-table-sticky-footer.entry.js +15 -0
- package/dist/esm/z-table.entry.js +78 -0
- package/dist/esm/z-toast-notification-list.entry.js +45 -45
- package/dist/esm/z-toast-notification.entry.js +190 -190
- package/dist/esm/z-toggle-button.entry.js +25 -25
- package/dist/esm/z-tooltip.entry.js +263 -263
- package/dist/esm/z-user-dropdown.entry.js +84 -84
- package/dist/esm/z-visually-hidden.entry.js +8 -8
- package/dist/types/beans/index.d.ts +338 -338
- package/dist/types/components/buttons/z-button/index.d.ts +29 -29
- package/dist/types/components/buttons/z-button-filter/index.d.ts +22 -22
- package/dist/types/components/buttons/z-button-sort/index.d.ts +28 -28
- package/dist/types/components/buttons/z-chip/index.d.ts +6 -6
- package/dist/types/components/buttons/z-toggle-button/index.d.ts +16 -16
- package/dist/types/components/footer/z-footer/index.d.ts +46 -46
- package/dist/types/components/footer/z-footer-link/index.d.ts +8 -8
- package/dist/types/components/footer/z-footer-section/index.d.ts +10 -10
- package/dist/types/components/footer/z-footer-social/index.d.ts +9 -9
- package/dist/types/components/icons/icons.d.ts +444 -443
- package/dist/types/components/icons/z-icon/index.d.ts +14 -14
- package/dist/types/components/icons/z-icon-package/index.d.ts +3 -3
- 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 +62 -62
- package/dist/types/components/inputs/z-input/index.d.ts +102 -102
- package/dist/types/components/inputs/z-input-label/index.d.ts +9 -9
- package/dist/types/components/inputs/z-input-message/index.d.ts +9 -9
- package/dist/types/components/inputs/z-select/index.d.ts +73 -73
- package/dist/types/components/list/z-list/index.d.ts +11 -11
- package/dist/types/components/list/z-list-element/index.d.ts +79 -79
- package/dist/types/components/list/z-list-group/index.d.ts +24 -24
- 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 +25 -25
- package/dist/types/components/modal/z-modal-login/index.d.ts +42 -42
- package/dist/types/components/navigation/z-app-header/index.d.ts +67 -67
- package/dist/types/components/navigation/z-app-switcher/index.d.ts +12 -12
- package/dist/types/components/navigation/z-app-topbar/index.d.ts +20 -20
- package/dist/types/components/navigation/z-link/index.d.ts +41 -41
- package/dist/types/components/navigation/z-menu/index.d.ts +52 -52
- package/dist/types/components/navigation/z-menu-dropdown/index.d.ts +19 -19
- package/dist/types/components/navigation/z-menu-section/index.d.ts +24 -24
- package/dist/types/components/navigation/z-navigation-tab/index.d.ts +16 -16
- package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +32 -32
- package/dist/types/components/navigation/z-user-dropdown/index.d.ts +39 -39
- package/dist/types/components/notification/z-candybar/index.d.ts +6 -6
- package/dist/types/components/notification/z-cookiebar/index.d.ts +16 -16
- package/dist/types/components/notification/z-info-box/index.d.ts +14 -14
- package/dist/types/components/notification/z-notification/index.d.ts +24 -24
- package/dist/types/components/notification/z-toast-notification/index.d.ts +56 -56
- package/dist/types/components/notification/z-tooltip/index.d.ts +41 -41
- package/dist/types/components/pagination/z-pagination-bar/index.d.ts +42 -42
- package/dist/types/components/pagination/z-pagination-page/index.d.ts +15 -15
- package/dist/types/components/panel/z-panel-elem/index.d.ts +25 -25
- package/dist/types/components/typography/z-body/index.d.ts +6 -6
- package/dist/types/components/typography/z-heading/index.d.ts +6 -6
- package/dist/types/components/typography/z-typography/index.d.ts +8 -8
- package/dist/types/components/z-aria-alert/index.d.ts +4 -4
- package/dist/types/components/z-avatar/index.d.ts +16 -16
- package/dist/types/components/z-card/index.d.ts +29 -29
- package/dist/types/components/z-contextual-menu/index.d.ts +22 -22
- 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-popover/index.d.ts +29 -29
- package/dist/types/components/z-status-tag/index.d.ts +15 -15
- package/dist/types/{snowflakes/registro-table/z-registro-table → components/z-table/z-table}/index.d.ts +48 -48
- package/dist/types/{snowflakes/registro-table/z-registro-table-head → components/z-table/z-table-body}/index.d.ts +5 -5
- package/dist/types/{snowflakes/registro-table/z-registro-table-cell → components/z-table/z-table-cell}/index.d.ts +12 -12
- package/dist/types/{snowflakes/registro-table/z-registro-table-empty-box → 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 -0
- package/dist/types/{snowflakes/registro-table/z-registro-table-body → components/z-table/z-table-footer}/index.d.ts +5 -5
- package/dist/types/{snowflakes/registro-table/z-registro-table-footer → components/z-table/z-table-head}/index.d.ts +5 -5
- package/dist/types/{snowflakes/registro-table/z-registro-table-header → components/z-table/z-table-header}/index.d.ts +27 -27
- package/dist/types/{snowflakes/registro-table/z-registro-table-header-row → components/z-table/z-table-header-row}/index.d.ts +5 -5
- package/dist/types/{snowflakes/registro-table/z-registro-table-row → components/z-table/z-table-row}/index.d.ts +11 -11
- package/dist/types/{snowflakes/registro-table/z-registro-table-sticky-footer → components/z-table/z-table-sticky-footer}/index.d.ts +6 -6
- package/dist/types/components/z-visually-hidden/index.d.ts +3 -3
- package/dist/types/components.d.ts +337 -339
- package/dist/types/constants/breakpoints.d.ts +3 -3
- package/dist/types/constants/icons.d.ts +6 -6
- package/dist/types/index.d.ts +5 -5
- 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 +20 -20
- 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 +23 -23
- 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 +10 -10
- 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/topbar/index.d.ts +61 -61
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +9 -9
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +13 -13
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +30 -30
- package/dist/types/utils/utils.d.ts +11 -11
- package/dist/web-components-library/index.esm.js +1 -1
- package/{www/build/p-9fdb83ea.entry.js → dist/web-components-library/p-0ba3401a.entry.js} +1 -1
- package/dist/web-components-library/p-0f197b8e.entry.js +1 -0
- package/dist/web-components-library/p-1094e4de.entry.js +1 -0
- package/dist/web-components-library/p-1cf2c6f6.entry.js +1 -0
- package/dist/web-components-library/{p-2119ed80.entry.js → p-21f3b77f.entry.js} +1 -1
- package/{www/build/p-08bc9807.entry.js → dist/web-components-library/p-2b361a53.entry.js} +1 -1
- package/dist/web-components-library/{p-2ce4a266.entry.js → p-38091d2a.entry.js} +1 -1
- package/dist/web-components-library/{p-015af05a.entry.js → p-3a5fc4ef.entry.js} +1 -1
- package/dist/web-components-library/{p-f7516af7.entry.js → p-3ece97c0.entry.js} +1 -1
- package/{www/build/p-a73e7e46.js → dist/web-components-library/p-45261bde.js} +1 -1
- package/dist/web-components-library/p-4665d79f.entry.js +1 -0
- package/dist/web-components-library/p-4a1404e2.entry.js +1 -0
- package/dist/web-components-library/{p-a6d50680.entry.js → p-4a414eb2.entry.js} +1 -1
- package/dist/web-components-library/p-4c1dc891.entry.js +1 -0
- package/dist/web-components-library/p-568b3728.entry.js +1 -0
- package/dist/web-components-library/{p-1d19c88d.entry.js → p-5f8b1594.entry.js} +1 -1
- package/dist/web-components-library/p-6384d72c.entry.js +1 -0
- package/dist/web-components-library/p-662b29d0.entry.js +1 -0
- package/dist/web-components-library/{p-02006641.entry.js → p-698e18cf.entry.js} +1 -1
- package/dist/web-components-library/{p-b1542657.entry.js → p-7c8a52e0.entry.js} +1 -1
- package/dist/web-components-library/{p-6041fb4f.entry.js → p-7d7aee65.entry.js} +1 -1
- package/dist/web-components-library/{p-110cb323.entry.js → p-80d6185c.entry.js} +1 -1
- package/dist/web-components-library/{p-2c8ec11d.js → p-82048c15.js} +1 -1
- package/dist/web-components-library/{p-c2fddaea.entry.js → p-8a12e2cd.entry.js} +1 -1
- package/dist/web-components-library/{p-ea4c57b6.entry.js → p-8a9199e8.entry.js} +1 -1
- package/dist/web-components-library/{p-30bd0f04.entry.js → p-8ad12683.entry.js} +1 -1
- package/dist/web-components-library/p-8ccf136e.entry.js +1 -0
- package/dist/web-components-library/p-8deddec7.entry.js +1 -0
- package/dist/web-components-library/p-8edb6b65.entry.js +1 -0
- package/dist/web-components-library/{p-297ca258.entry.js → p-9621d591.entry.js} +1 -1
- package/dist/web-components-library/p-a762915b.entry.js +1 -0
- package/dist/web-components-library/{p-e4578ccd.entry.js → p-a93086bc.entry.js} +1 -1
- package/dist/web-components-library/p-aa77d746.entry.js +1 -0
- package/dist/web-components-library/{p-9a57e8d0.entry.js → p-ac229c9e.entry.js} +1 -1
- package/dist/web-components-library/{p-90cbf584.entry.js → p-b78fb152.entry.js} +1 -1
- package/dist/web-components-library/{p-8e43775e.entry.js → p-bc7e836a.entry.js} +1 -1
- package/dist/web-components-library/{p-d6e756ad.entry.js → p-be3eeede.entry.js} +1 -1
- package/dist/web-components-library/{p-16a1a17c.entry.js → p-cf899f93.entry.js} +1 -1
- package/dist/web-components-library/{p-4aa82030.entry.js → p-d0c3eac6.entry.js} +1 -1
- package/dist/web-components-library/{p-ff0d54da.entry.js → p-d1896fdb.entry.js} +1 -1
- package/dist/web-components-library/p-d4c4b90a.entry.js +1 -0
- package/dist/web-components-library/{p-e35d3552.js → p-d69e14fb.js} +0 -0
- package/dist/web-components-library/{p-7f4d03e8.entry.js → p-d8bc4e21.entry.js} +1 -1
- package/{www/build/p-68946b44.entry.js → dist/web-components-library/p-db8f3039.entry.js} +1 -1
- package/dist/web-components-library/p-ddc5aae2.entry.js +1 -0
- package/dist/web-components-library/{p-33e2c404.entry.js → p-de5f9244.entry.js} +1 -1
- package/dist/web-components-library/{p-676f8160.entry.js → p-df4cf5b2.entry.js} +1 -1
- package/dist/web-components-library/{p-2381edd3.entry.js → p-e1f1f39e.entry.js} +1 -1
- package/dist/web-components-library/{p-c5d41e22.entry.js → p-e6aac31c.entry.js} +1 -1
- package/dist/web-components-library/{p-71b134e2.entry.js → p-e8615a83.entry.js} +1 -1
- package/dist/web-components-library/{p-c81058ce.entry.js → p-ebcad010.entry.js} +1 -1
- package/dist/web-components-library/p-ec13a382.entry.js +1 -0
- package/{www/build/p-bda07a88.entry.js → dist/web-components-library/p-ee4fa9a8.entry.js} +1 -1
- package/dist/web-components-library/{p-4bdbeee9.entry.js → p-ee645fca.entry.js} +1 -1
- package/dist/web-components-library/{p-8d62e6e4.entry.js → p-eface1ff.entry.js} +1 -1
- package/dist/web-components-library/p-f5e1d5a9.entry.js +1 -0
- package/dist/web-components-library/{p-391760fd.js → p-fcfb7e03.js} +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +90 -90
- package/react/components.d.ts +91 -91
- package/react/components.js +97 -97
- package/react/components.js.map +1 -1
- package/react/index.d.ts +1 -1
- package/react/index.js +13 -13
- package/react/react-component-lib/createComponent.d.ts +10 -10
- package/react/react-component-lib/createComponent.js +65 -65
- package/react/react-component-lib/createOverlayComponent.d.ts +20 -20
- package/react/react-component-lib/createOverlayComponent.js +95 -95
- 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 +102 -102
- 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 +7 -7
- package/react/react-component-lib/utils/index.js +38 -38
- package/readme.md +236 -236
- package/src-react/index.ts +1 -0
- package/www/build/index.esm.js +1 -1
- package/{dist/web-components-library/p-9fdb83ea.entry.js → www/build/p-0ba3401a.entry.js} +1 -1
- package/www/build/p-0f197b8e.entry.js +1 -0
- package/www/build/p-1094e4de.entry.js +1 -0
- package/www/build/p-1cf2c6f6.entry.js +1 -0
- package/www/build/{p-2119ed80.entry.js → p-21f3b77f.entry.js} +1 -1
- package/{dist/web-components-library/p-08bc9807.entry.js → www/build/p-2b361a53.entry.js} +1 -1
- package/www/build/p-331e0cc6.js +1 -0
- package/www/build/{p-2ce4a266.entry.js → p-38091d2a.entry.js} +1 -1
- package/www/build/{p-015af05a.entry.js → p-3a5fc4ef.entry.js} +1 -1
- package/www/build/{p-f7516af7.entry.js → p-3ece97c0.entry.js} +1 -1
- package/{dist/web-components-library/p-a73e7e46.js → www/build/p-45261bde.js} +1 -1
- package/www/build/p-4665d79f.entry.js +1 -0
- package/www/build/p-4a1404e2.entry.js +1 -0
- package/www/build/{p-a6d50680.entry.js → p-4a414eb2.entry.js} +1 -1
- package/www/build/p-4c1dc891.entry.js +1 -0
- package/www/build/p-568b3728.entry.js +1 -0
- package/www/build/{p-1d19c88d.entry.js → p-5f8b1594.entry.js} +1 -1
- package/www/build/p-6384d72c.entry.js +1 -0
- package/www/build/p-662b29d0.entry.js +1 -0
- package/www/build/{p-02006641.entry.js → p-698e18cf.entry.js} +1 -1
- package/www/build/{p-b1542657.entry.js → p-7c8a52e0.entry.js} +1 -1
- package/www/build/{p-6041fb4f.entry.js → p-7d7aee65.entry.js} +1 -1
- package/www/build/{p-110cb323.entry.js → p-80d6185c.entry.js} +1 -1
- package/www/build/{p-2c8ec11d.js → p-82048c15.js} +1 -1
- package/www/build/{p-c2fddaea.entry.js → p-8a12e2cd.entry.js} +1 -1
- package/www/build/{p-ea4c57b6.entry.js → p-8a9199e8.entry.js} +1 -1
- package/www/build/{p-30bd0f04.entry.js → p-8ad12683.entry.js} +1 -1
- package/www/build/p-8ccf136e.entry.js +1 -0
- package/www/build/p-8deddec7.entry.js +1 -0
- package/www/build/p-8edb6b65.entry.js +1 -0
- package/www/build/{p-297ca258.entry.js → p-9621d591.entry.js} +1 -1
- package/www/build/p-a762915b.entry.js +1 -0
- package/www/build/{p-e4578ccd.entry.js → p-a93086bc.entry.js} +1 -1
- package/www/build/p-aa77d746.entry.js +1 -0
- package/www/build/{p-9a57e8d0.entry.js → p-ac229c9e.entry.js} +1 -1
- package/www/build/{p-90cbf584.entry.js → p-b78fb152.entry.js} +1 -1
- package/www/build/{p-8e43775e.entry.js → p-bc7e836a.entry.js} +1 -1
- package/www/build/{p-d6e756ad.entry.js → p-be3eeede.entry.js} +1 -1
- package/www/build/{p-16a1a17c.entry.js → p-cf899f93.entry.js} +1 -1
- package/www/build/{p-4aa82030.entry.js → p-d0c3eac6.entry.js} +1 -1
- package/www/build/{p-ff0d54da.entry.js → p-d1896fdb.entry.js} +1 -1
- package/www/build/p-d4c4b90a.entry.js +1 -0
- package/www/build/{p-e35d3552.js → p-d69e14fb.js} +0 -0
- package/www/build/{p-7f4d03e8.entry.js → p-d8bc4e21.entry.js} +1 -1
- package/{dist/web-components-library/p-68946b44.entry.js → www/build/p-db8f3039.entry.js} +1 -1
- package/www/build/p-ddc5aae2.entry.js +1 -0
- package/www/build/{p-33e2c404.entry.js → p-de5f9244.entry.js} +1 -1
- package/www/build/{p-676f8160.entry.js → p-df4cf5b2.entry.js} +1 -1
- package/www/build/{p-2381edd3.entry.js → p-e1f1f39e.entry.js} +1 -1
- package/www/build/{p-c5d41e22.entry.js → p-e6aac31c.entry.js} +1 -1
- package/www/build/{p-71b134e2.entry.js → p-e8615a83.entry.js} +1 -1
- package/www/build/p-ea943cbd.css +1 -0
- package/www/build/{p-c81058ce.entry.js → p-ebcad010.entry.js} +1 -1
- package/www/build/p-ec13a382.entry.js +1 -0
- package/{dist/web-components-library/p-bda07a88.entry.js → www/build/p-ee4fa9a8.entry.js} +1 -1
- package/www/build/{p-4bdbeee9.entry.js → p-ee645fca.entry.js} +1 -1
- package/www/build/{p-8d62e6e4.entry.js → p-eface1ff.entry.js} +1 -1
- package/www/build/p-f5e1d5a9.entry.js +1 -0
- package/www/build/{p-391760fd.js → p-fcfb7e03.js} +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/www/pages/notification.html +244 -244
- package/dist/cjs/z-body_14.cjs.entry.js +0 -513
- package/dist/collection/snowflakes/registro-table/z-registro-table-header-row/styles.css +0 -13
- package/dist/collection/snowflakes/registro-table/z-registro-table-row/styles.css +0 -54
- package/dist/esm/z-body_14.entry.js +0 -496
- package/dist/types/snowflakes/registro-table/z-registro-table-expanded-row/index.d.ts +0 -6
- package/dist/web-components-library/p-017370c7.entry.js +0 -1
- package/dist/web-components-library/p-0b347583.entry.js +0 -1
- package/dist/web-components-library/p-0fe60379.entry.js +0 -1
- package/dist/web-components-library/p-519e2237.entry.js +0 -1
- package/dist/web-components-library/p-7c866bef.entry.js +0 -1
- package/dist/web-components-library/p-8743724e.entry.js +0 -1
- package/www/build/p-017370c7.entry.js +0 -1
- package/www/build/p-0b347583.entry.js +0 -1
- package/www/build/p-0fe60379.entry.js +0 -1
- package/www/build/p-1505df3a.js +0 -122
- package/www/build/p-519e2237.entry.js +0 -1
- package/www/build/p-7c866bef.entry.js +0 -1
- package/www/build/p-8743724e.entry.js +0 -1
- package/www/build/p-c6932a85.css +0 -789
|
@@ -3,61 +3,61 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-3735f277.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{position:absolute;font-family:var(--font-family-sans);font-weight:var(--font-rg);width:100%;top:0px;left:0px;z-index:2}:host>z-alert{height:calc(var(--space-unit) * 6)}.relativeContainer{position:relative;display:grid;grid-template-columns:18px auto 46px;grid-template-rows:1fr;grid-column-gap:var(--space-unit);align-items:center;padding:0;outline:none}.relativeContainer::-moz-focus-inner{border:0}.alert-external-wrapper.removeAlert{border:var(--border-size-medium) solid var(--color-surface02);border-top:none}:host div.addAlert{background:var(--color-success-inverse)}:host div.removeAlert{background:var(--color-warning-inverse)}:host div>.contentText{color:var(--color-surface05);font-size:14px;letter-spacing:0.16px;line-height:20px}:host div>.contentAction{color:var(--color-primary01);font-size:12px;font-weight:var(--font-sb);height:20px;letter-spacing:0.32px;line-height:20px;cursor:pointer}:host div>z-icon{justify-self:center}";
|
|
9
9
|
|
|
10
|
-
const ZMyzCardAlert = class {
|
|
11
|
-
constructor(hostRef) {
|
|
12
|
-
index.registerInstance(this, hostRef);
|
|
13
|
-
this.undoAction = index.createEvent(this, "undoAction", 7);
|
|
14
|
-
}
|
|
15
|
-
emitUndoAction() {
|
|
16
|
-
this.undoAction.emit({ actionType: this.type });
|
|
17
|
-
}
|
|
18
|
-
handleSpaceKeyPress(e) {
|
|
19
|
-
if (e.keyCode == 32 || e.keyCode == 13) {
|
|
20
|
-
e.preventDefault();
|
|
21
|
-
this.emitUndoAction();
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
handleActionButtonClick(e) {
|
|
25
|
-
e.preventDefault();
|
|
26
|
-
this.emitUndoAction();
|
|
27
|
-
}
|
|
28
|
-
retrieveClass() {
|
|
29
|
-
let className = "";
|
|
30
|
-
switch (this.type) {
|
|
31
|
-
case "add":
|
|
32
|
-
className = "addAlert";
|
|
33
|
-
break;
|
|
34
|
-
case "remove":
|
|
35
|
-
className = "removeAlert";
|
|
36
|
-
break;
|
|
37
|
-
default:
|
|
38
|
-
className = "";
|
|
39
|
-
break;
|
|
40
|
-
}
|
|
41
|
-
return className;
|
|
42
|
-
}
|
|
43
|
-
getAlertType() {
|
|
44
|
-
switch (this.type) {
|
|
45
|
-
case "add":
|
|
46
|
-
return index$1.AlertTypesEnum.success;
|
|
47
|
-
case "remove":
|
|
48
|
-
return index$1.AlertTypesEnum.warning;
|
|
49
|
-
default:
|
|
50
|
-
return null;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
render() {
|
|
54
|
-
return (index.h("div", { class: "alert-external-wrapper " + this.retrieveClass() }, index.h("z-alert", { type: this.getAlertType() }, index.h("div", { class: "relativeContainer" }, index.h("z-icon", { name: this.iconname, width: 18, height: 18, class: this.retrieveClass() }), index.h("span", { class: "contentText" }, this.contenttext), this.actiontext && !!this.actiontext.trim().length && (index.h("span", { role: "button", tabindex: "0", class: "contentAction", onClick: (e) => {
|
|
55
|
-
this.handleActionButtonClick(e);
|
|
56
|
-
}, onKeyPress: (e) => {
|
|
57
|
-
this.handleSpaceKeyPress(e);
|
|
58
|
-
} }, this.actiontext))))));
|
|
59
|
-
}
|
|
60
|
-
};
|
|
10
|
+
const ZMyzCardAlert = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.undoAction = index.createEvent(this, "undoAction", 7);
|
|
14
|
+
}
|
|
15
|
+
emitUndoAction() {
|
|
16
|
+
this.undoAction.emit({ actionType: this.type });
|
|
17
|
+
}
|
|
18
|
+
handleSpaceKeyPress(e) {
|
|
19
|
+
if (e.keyCode == 32 || e.keyCode == 13) {
|
|
20
|
+
e.preventDefault();
|
|
21
|
+
this.emitUndoAction();
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
handleActionButtonClick(e) {
|
|
25
|
+
e.preventDefault();
|
|
26
|
+
this.emitUndoAction();
|
|
27
|
+
}
|
|
28
|
+
retrieveClass() {
|
|
29
|
+
let className = "";
|
|
30
|
+
switch (this.type) {
|
|
31
|
+
case "add":
|
|
32
|
+
className = "addAlert";
|
|
33
|
+
break;
|
|
34
|
+
case "remove":
|
|
35
|
+
className = "removeAlert";
|
|
36
|
+
break;
|
|
37
|
+
default:
|
|
38
|
+
className = "";
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
return className;
|
|
42
|
+
}
|
|
43
|
+
getAlertType() {
|
|
44
|
+
switch (this.type) {
|
|
45
|
+
case "add":
|
|
46
|
+
return index$1.AlertTypesEnum.success;
|
|
47
|
+
case "remove":
|
|
48
|
+
return index$1.AlertTypesEnum.warning;
|
|
49
|
+
default:
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
render() {
|
|
54
|
+
return (index.h("div", { class: "alert-external-wrapper " + this.retrieveClass() }, index.h("z-alert", { type: this.getAlertType() }, index.h("div", { class: "relativeContainer" }, index.h("z-icon", { name: this.iconname, width: 18, height: 18, class: this.retrieveClass() }), index.h("span", { class: "contentText" }, this.contenttext), this.actiontext && !!this.actiontext.trim().length && (index.h("span", { role: "button", tabindex: "0", class: "contentAction", onClick: (e) => {
|
|
55
|
+
this.handleActionButtonClick(e);
|
|
56
|
+
}, onKeyPress: (e) => {
|
|
57
|
+
this.handleSpaceKeyPress(e);
|
|
58
|
+
} }, this.actiontext))))));
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
61
|
ZMyzCardAlert.style = stylesCss;
|
|
62
62
|
|
|
63
63
|
exports.z_myz_card_alert = ZMyzCardAlert;
|
|
@@ -3,34 +3,34 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-3735f277.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{position:relative;height:522px;width:100%;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;height:522px;width:100%;-webkit-transform-style:preserve-3d;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;z-index:2}:host>div .content.flipped{-webkit-transform:rotateY(180deg);transform:rotateY(180deg);margin-top:-2px}:host>div .front,:host>div .back{position:absolute;height:100%;width:100%;top:0;left:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}:host>div .front{z-index:2;top:0;left:0;-webkit-transform:rotateY(0deg);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{padding:0 var(--space-unit);margin-left:calc(-1 * var(--space-unit));z-index:1;top:0;left:0;-webkit-transform:rotateY(180deg);transform:rotateY(180deg);display:flex;justify-content:center}.hideInfo{display:none}";
|
|
9
9
|
|
|
10
|
-
const ZMyzCardDictionary = class {
|
|
11
|
-
constructor(hostRef) {
|
|
12
|
-
index.registerInstance(this, hostRef);
|
|
13
|
-
this.cardFlipped = index.createEvent(this, "cardFlipped", 7);
|
|
14
|
-
/** card is disabled */
|
|
15
|
-
this.disabled = false;
|
|
16
|
-
/** card is flipped */
|
|
17
|
-
this.flipped = false;
|
|
18
|
-
/** flip button label */
|
|
19
|
-
this.flipbuttonlabel = "INFO";
|
|
20
|
-
/** hide info button */
|
|
21
|
-
this.hideinfobtn = false;
|
|
22
|
-
}
|
|
23
|
-
handleFlipCard(e) {
|
|
24
|
-
this.flipCard(e.detail);
|
|
25
|
-
}
|
|
26
|
-
flipCard(showBack = true) {
|
|
27
|
-
this.flipped = showBack;
|
|
28
|
-
this.cardFlipped.emit(showBack);
|
|
29
|
-
}
|
|
30
|
-
render() {
|
|
31
|
-
return (index.h("div", null, index.h("z-myz-card", null, index.h("z-myz-card-header", { titolo: this.name }), index.h("div", { class: `content ${this.flipped ? "flipped" : ""}` }, index.h("div", { class: "front" }, index.h("z-myz-card-body", null, index.h("z-myz-card-cover", { slot: "cover", titolo: this.name, img: this.cover, faded: this.disabled })), index.h("z-button", { class: this.hideinfobtn ? "hideInfo" : "", variant: index$1.ButtonVariantEnum.secondary, icon: "informationsource", issmall: true, onClick: () => this.flipCard(true), disabled: this.flipped }, this.flipbuttonlabel)), index.h("div", { class: "back" }, index.h("slot", { name: "info" }))), index.h("slot", null))));
|
|
32
|
-
}
|
|
33
|
-
};
|
|
10
|
+
const ZMyzCardDictionary = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.cardFlipped = index.createEvent(this, "cardFlipped", 7);
|
|
14
|
+
/** card is disabled */
|
|
15
|
+
this.disabled = false;
|
|
16
|
+
/** card is flipped */
|
|
17
|
+
this.flipped = false;
|
|
18
|
+
/** flip button label */
|
|
19
|
+
this.flipbuttonlabel = "INFO";
|
|
20
|
+
/** hide info button */
|
|
21
|
+
this.hideinfobtn = false;
|
|
22
|
+
}
|
|
23
|
+
handleFlipCard(e) {
|
|
24
|
+
this.flipCard(e.detail);
|
|
25
|
+
}
|
|
26
|
+
flipCard(showBack = true) {
|
|
27
|
+
this.flipped = showBack;
|
|
28
|
+
this.cardFlipped.emit(showBack);
|
|
29
|
+
}
|
|
30
|
+
render() {
|
|
31
|
+
return (index.h("div", null, index.h("z-myz-card", null, index.h("z-myz-card-header", { titolo: this.name }), index.h("div", { class: `content ${this.flipped ? "flipped" : ""}` }, index.h("div", { class: "front" }, index.h("z-myz-card-body", null, index.h("z-myz-card-cover", { slot: "cover", titolo: this.name, img: this.cover, faded: this.disabled })), index.h("z-button", { class: this.hideinfobtn ? "hideInfo" : "", variant: index$1.ButtonVariantEnum.secondary, icon: "informationsource", issmall: true, onClick: () => this.flipCard(true), disabled: this.flipped }, this.flipbuttonlabel)), index.h("div", { class: "back" }, index.h("slot", { name: "info" }))), index.h("slot", null))));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
34
|
ZMyzCardDictionary.style = stylesCss;
|
|
35
35
|
|
|
36
36
|
exports.z_myz_card_dictionary = ZMyzCardDictionary;
|
|
@@ -6,14 +6,14 @@ const index = require('./index-dee3e21d.js');
|
|
|
6
6
|
|
|
7
7
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div>footer{box-sizing:border-box;border-radius:0px 0px var(--radius-base) var(--radius-base);border-top:var(--border-base) solid var(--color-surface03);padding:var(--space-unit) calc(var(--space-unit) * 2) 0;height:128px;color:var(--color-surface05);font-size:16px;line-height:24px}:host>div>footer>div.top,:host>div>footer>div.bottom{height:60px}";
|
|
8
8
|
|
|
9
|
-
const ZMyzCardFooterSections = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
}
|
|
13
|
-
render() {
|
|
14
|
-
return (index.h("div", null, index.h("footer", null, index.h("div", { class: "top" }, index.h("slot", { name: "top" })), index.h("div", { class: "bottom" }, index.h("slot", { name: "bottom" })))));
|
|
15
|
-
}
|
|
16
|
-
};
|
|
9
|
+
const ZMyzCardFooterSections = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (index.h("div", null, index.h("footer", null, index.h("div", { class: "top" }, index.h("slot", { name: "top" })), index.h("div", { class: "bottom" }, index.h("slot", { name: "bottom" })))));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
17
|
ZMyzCardFooterSections.style = stylesCss;
|
|
18
18
|
|
|
19
19
|
exports.z_myz_card_footer_sections = ZMyzCardFooterSections;
|
|
@@ -3,50 +3,50 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-3735f277.js');
|
|
7
7
|
|
|
8
|
-
const stylesCss = "footer{font-family:var(--font-family-sans);font-weight:var(--font-rg);color:var(--color-surface05);background-color:var(--color-surface01);margin:0px;padding:0px;position:relative;z-index:5;height:calc(var(--space-unit) * 6);width:auto;top:0px;transition:height 500ms ease-in-out, top 500ms ease-in-out;border-radius:0px 0px var(--border-radius) var(--border-radius);border-top:var(--border-size-medium) solid var(--color-surface03)}footer.real,footer.trial{border-top:var(--border-size-medium) solid var(--accent)}footer .bold{font-family:var(--font-family-sans);font-weight:var(--font-sb)}footer>p{font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:16px;line-height:22px;height:40px;margin:0px;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 2)\
|
|
8
|
+
const stylesCss = "footer{font-family:var(--font-family-sans);font-weight:var(--font-rg);color:var(--color-surface05);background-color:var(--color-surface01);margin:0px;padding:0px;position:relative;z-index:5;height:calc(var(--space-unit) * 6);width:auto;top:0px;transition:height 500ms ease-in-out, top 500ms ease-in-out;border-radius:0px 0px var(--border-radius) var(--border-radius);border-top:var(--border-size-medium) solid var(--color-surface03)}footer.real,footer.trial{border-top:var(--border-size-medium) solid var(--accent)}footer .bold{font-family:var(--font-family-sans);font-weight:var(--font-sb)}footer>p{font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:16px;line-height:22px;height:40px;margin:0px;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 2)\n var(--space-unit) calc(var(--space-unit) * 2);overflow:hidden;background-color:var(--color-surface01);transition:all 200ms linear}footer.isopen>p{font-size:14px;font-weight:var(--font-sb);transition:all 200ms linear;background-color:var(--bg-neutral-200)}footer.isopen.real>p,footer.isopen.trial>p{background-color:var(--accent)}footer .visible{display:block}footer .hidden{display:none}footer>div.content{height:60px;overflow:hidden}footer>div.content>div:not(.slot-handler){padding:var(--space-unit) calc(var(--space-unit) * 2)}footer>div.content>div>p{font-size:14px;height:20px;line-height:20px;margin:0px;padding:0px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}footer>div.content>div>p.year_isbn{padding-top:var(--space-unit);display:flex;flex-direction:row;justify-content:space-between}footer>div.content>div>p.year_isbn>span.isbn{text-overflow:ellipsis;overflow:hidden}footer.isopen>div.content>div:not(.slot-handler){height:68px}footer.isopen>div.content>div>p.authors{height:40px;white-space:initial;text-overflow:initial}footer.isopen>div.content>div>p.year_isbn{flex-direction:column;height:50px;padding-left:0px}footer.isopen>div.content>div>p.year_isbn>span.isbn{display:inline-grid;padding-left:0px}footer.isopen{height:295px;top:-212px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen>div.content{height:280px;transition:height 500ms ease-in-out, top 500ms ease-in-out}.toggle{position:absolute;top:-24px;left:16px;z-index:10}.faded{opacity:0.3;pointer-events:none}";
|
|
9
9
|
|
|
10
|
-
const ZMyzCardFooter = class {
|
|
11
|
-
constructor(hostRef) {
|
|
12
|
-
index.registerInstance(this, hostRef);
|
|
13
|
-
/** footer opened by default (optional) */
|
|
14
|
-
this.opened = false;
|
|
15
|
-
this.isOpen = false;
|
|
16
|
-
this.allowTooltipAuthors = false;
|
|
17
|
-
}
|
|
18
|
-
handleToggle() {
|
|
19
|
-
this.isOpen = !this.isOpen;
|
|
20
|
-
}
|
|
21
|
-
getTitleAuthors() {
|
|
22
|
-
return this.allowTooltipAuthors ? this.autori : "";
|
|
23
|
-
}
|
|
24
|
-
componentWillLoad() {
|
|
25
|
-
if (this.opened)
|
|
26
|
-
this.isOpen = true;
|
|
27
|
-
}
|
|
28
|
-
elementsEllipsis() {
|
|
29
|
-
this.allowTooltipAuthors = this.elementAuthorsHasEllipsis() ? true : false;
|
|
30
|
-
}
|
|
31
|
-
elementAuthorsHasEllipsis() {
|
|
32
|
-
return this.ellipsisAuthors.offsetWidth < this.ellipsisAuthors.scrollWidth;
|
|
33
|
-
}
|
|
34
|
-
retrieveClass() {
|
|
35
|
-
return {
|
|
36
|
-
isopen: this.isOpen,
|
|
37
|
-
real: this.cardtype === index$1.LicenseTypeEnum.real,
|
|
38
|
-
trial: this.cardtype === index$1.LicenseTypeEnum.trial,
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
footerTransitionHandler(e) {
|
|
42
|
-
if (["visibility", "height"].includes(e.propertyName)) {
|
|
43
|
-
this.elementsEllipsis();
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
render() {
|
|
47
|
-
return (index.h("div", { class: this.faded && "faded" }, index.h("footer", { class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, index.h("span", { class: "toggle" }, index.h("slot", { name: "toggle" })), this.titolo && index.h("p", null, this.titolo), index.h("div", { class: "content" }, index.h("div", null, index.h("p", { class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, index.h("span", { title: this.getTitleAuthors() }, index.h("span", { class: "bold" }, this.autori))), index.h("p", { class: "year_isbn" }, index.h("span", { class: "isbn" }, index.h("span", null, index.h("span", { class: "bold" }, this.isbn), " (ed. cartacea)")))), index.h("div", { class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, index.h("slot", { name: "list" }))))));
|
|
48
|
-
}
|
|
49
|
-
};
|
|
10
|
+
const ZMyzCardFooter = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
/** footer opened by default (optional) */
|
|
14
|
+
this.opened = false;
|
|
15
|
+
this.isOpen = false;
|
|
16
|
+
this.allowTooltipAuthors = false;
|
|
17
|
+
}
|
|
18
|
+
handleToggle() {
|
|
19
|
+
this.isOpen = !this.isOpen;
|
|
20
|
+
}
|
|
21
|
+
getTitleAuthors() {
|
|
22
|
+
return this.allowTooltipAuthors ? this.autori : "";
|
|
23
|
+
}
|
|
24
|
+
componentWillLoad() {
|
|
25
|
+
if (this.opened)
|
|
26
|
+
this.isOpen = true;
|
|
27
|
+
}
|
|
28
|
+
elementsEllipsis() {
|
|
29
|
+
this.allowTooltipAuthors = this.elementAuthorsHasEllipsis() ? true : false;
|
|
30
|
+
}
|
|
31
|
+
elementAuthorsHasEllipsis() {
|
|
32
|
+
return this.ellipsisAuthors.offsetWidth < this.ellipsisAuthors.scrollWidth;
|
|
33
|
+
}
|
|
34
|
+
retrieveClass() {
|
|
35
|
+
return {
|
|
36
|
+
isopen: this.isOpen,
|
|
37
|
+
real: this.cardtype === index$1.LicenseTypeEnum.real,
|
|
38
|
+
trial: this.cardtype === index$1.LicenseTypeEnum.trial,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
footerTransitionHandler(e) {
|
|
42
|
+
if (["visibility", "height"].includes(e.propertyName)) {
|
|
43
|
+
this.elementsEllipsis();
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
render() {
|
|
47
|
+
return (index.h("div", { class: this.faded && "faded" }, index.h("footer", { class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, index.h("span", { class: "toggle" }, index.h("slot", { name: "toggle" })), this.titolo && index.h("p", null, this.titolo), index.h("div", { class: "content" }, index.h("div", null, index.h("p", { class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, index.h("span", { title: this.getTitleAuthors() }, index.h("span", { class: "bold" }, this.autori))), index.h("p", { class: "year_isbn" }, index.h("span", { class: "isbn" }, index.h("span", null, index.h("span", { class: "bold" }, this.isbn), " (ed. cartacea)")))), index.h("div", { class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, index.h("slot", { name: "list" }))))));
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
50
|
ZMyzCardFooter.style = stylesCss;
|
|
51
51
|
|
|
52
52
|
exports.z_myz_card_footer = ZMyzCardFooter;
|
|
@@ -6,16 +6,16 @@ const index = require('./index-dee3e21d.js');
|
|
|
6
6
|
|
|
7
7
|
const stylesCss = "button{width:42px;height:calc(var(--space-unit) * 5);display:flex;align-items:center;justify-content:center;color:var(--color-primary01);fill:var(--color-primary01);cursor:pointer;outline:none;background:none;border:none;border-left:var(--border-size-medium) solid var(--color-surface03);border-radius:0px var(--border-radius) 0px 0px;margin:0;padding:0px;width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6)}button:active,button:focus{color:var(--blue700);fill:var(--blue700)}button>span{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--border-radius);border:0px}button:hover>span{background:var(--color-primary03)}button:focus>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:0px 0px 2px 2px var(--accent-dark)}button:active>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2)}button:disabled{cursor:not-allowed}button:disabled>span{background:none;box-shadow:var(--shadow-0);pointer-events:none}button:disabled>span>z-icon{fill:var(--color-surface03)}button::-moz-focus-inner{border:0}";
|
|
8
8
|
|
|
9
|
-
const ZMyzCardIcon = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
/** disabled status flag */
|
|
13
|
-
this.isdisabled = false;
|
|
14
|
-
}
|
|
15
|
-
render() {
|
|
16
|
-
return (index.h("button", { disabled: this.isdisabled, "aria-label": this.ariaLabel }, index.h("span", null, index.h("z-icon", { name: this.icon, width: 16, height: 16 }))));
|
|
17
|
-
}
|
|
18
|
-
};
|
|
9
|
+
const ZMyzCardIcon = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
/** disabled status flag */
|
|
13
|
+
this.isdisabled = false;
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
return (index.h("button", { disabled: this.isdisabled, "aria-label": this.ariaLabel }, index.h("span", null, index.h("z-icon", { name: this.icon, width: 16, height: 16 }))));
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
19
|
ZMyzCardIcon.style = stylesCss;
|
|
20
20
|
|
|
21
21
|
exports.z_myz_card_icon = ZMyzCardIcon;
|
|
@@ -3,117 +3,117 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const utils = require('./utils-
|
|
8
|
-
require('./breakpoints-
|
|
6
|
+
const index$1 = require('./index-3735f277.js');
|
|
7
|
+
const utils = require('./utils-6a2c0eab.js');
|
|
8
|
+
require('./breakpoints-88c4fd6c.js');
|
|
9
9
|
|
|
10
|
-
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);width:100%}:host>div{background:var(--color-surface01);width:calc(100% + calc(var(--space-unit) * 2));margin-left:calc(-1 * var(--space-unit));height:402px;border:var(--border-size-small) solid var(--color-primary01);box-shadow:0px 2px 4px 0px rgba(66, 69, 72, 0.35);border-radius:0px;box-sizing:border-box;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);position:relative}:host>div>z-icon{fill:var(--color-primary01);cursor:pointer;position:absolute;top:var(--space-unit);right:var(--space-unit)}:host>div{display:grid}:host>div>div.cta-wrapper{align-self:end;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between}:host>div>div.content-wrapper{overflow:hidden;position:relative;align-self:stretch}:host>div>div.content-wrapper>section{border-bottom:var(--border-size-small) solid var(--color-surface04);color:var(--color-surface05);padding:var(--space-unit) 0;font-size:14px;line-height:20px;box-sizing:border-box}: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{background:linear-gradient(\
|
|
10
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);width:100%}:host>div{background:var(--color-surface01);width:calc(100% + calc(var(--space-unit) * 2));margin-left:calc(-1 * var(--space-unit));height:402px;border:var(--border-size-small) solid var(--color-primary01);box-shadow:0px 2px 4px 0px rgba(66, 69, 72, 0.35);border-radius:0px;box-sizing:border-box;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);position:relative}:host>div>z-icon{fill:var(--color-primary01);cursor:pointer;position:absolute;top:var(--space-unit);right:var(--space-unit)}:host>div{display:grid}:host>div>div.cta-wrapper{align-self:end;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between}:host>div>div.content-wrapper{overflow:hidden;position:relative;align-self:stretch}:host>div>div.content-wrapper>section{border-bottom:var(--border-size-small) solid var(--color-surface04);color:var(--color-surface05);padding:var(--space-unit) 0;font-size:14px;line-height:20px;box-sizing:border-box}: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{background:linear-gradient(\n 180deg,\n rgba(255, 0, 0, 0),\n rgba(255, 0, 0, 0) 60%,\n white\n );content:\"\";position:absolute;pointer-events:none;top:0;left:0;right:0;bottom:0}: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-tooltip{position:absolute;top:0px;left:calc(var(--space-unit) * 4)}";
|
|
11
11
|
|
|
12
|
-
const ZMyzCardInfo = class {
|
|
13
|
-
constructor(hostRef) {
|
|
14
|
-
index.registerInstance(this, hostRef);
|
|
15
|
-
this.flipCard = index.createEvent(this, "flipCard", 7);
|
|
16
|
-
/** tabindex link attribute (optional) */
|
|
17
|
-
this.htmltabindex = 0;
|
|
18
|
-
this.hiddenContent = false;
|
|
19
|
-
this.tooltip = false;
|
|
20
|
-
this.emitFlipCard = this.emitFlipCard.bind(this);
|
|
21
|
-
}
|
|
22
|
-
emitFlipCard(showBack = false) {
|
|
23
|
-
this.flipCard.emit(showBack);
|
|
24
|
-
}
|
|
25
|
-
componentWillLoad() {
|
|
26
|
-
this.setStringOrArray();
|
|
27
|
-
}
|
|
28
|
-
componentWillUpdate() {
|
|
29
|
-
this.setStringOrArray();
|
|
30
|
-
}
|
|
31
|
-
componentDidRender() {
|
|
32
|
-
this.handleContentHeight();
|
|
33
|
-
}
|
|
34
|
-
handleContentHeight() {
|
|
35
|
-
if (!this.contentWrapper && !this.infoWrapper)
|
|
36
|
-
return (this.hiddenContent = false);
|
|
37
|
-
if (this.contentWrapper.scrollHeight > this.contentWrapper.offsetHeight ||
|
|
38
|
-
this.infoWrapper.scrollHeight > this.infoWrapper.offsetHeight) {
|
|
39
|
-
const height = this.contentWrapper.offsetHeight -
|
|
40
|
-
this.onlineLicenseWrapper.offsetHeight -
|
|
41
|
-
this.offlineLicenseWrapper.offsetHeight;
|
|
42
|
-
this.infoWrapper.style.height = `${height}px`;
|
|
43
|
-
return (this.hiddenContent = true);
|
|
44
|
-
}
|
|
45
|
-
return (this.hiddenContent = false);
|
|
46
|
-
}
|
|
47
|
-
setStringOrArray() {
|
|
48
|
-
if (typeof this.data === "string") {
|
|
49
|
-
this.cardData = JSON.parse(this.data);
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
this.cardData = this.data;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
renderCloseIcon() {
|
|
56
|
-
return (index.h("z-icon", { name: "multiply-circled-filled", height: 18, width: 18, onClick: () => this.emitFlipCard(false), tabindex: this.htmltabindex, onKeyUp: (e) => {
|
|
57
|
-
utils.handleKeyboardSubmit(e, this.emitFlipCard, false);
|
|
58
|
-
} }));
|
|
59
|
-
}
|
|
60
|
-
renderGeneralSection() {
|
|
61
|
-
var _a, _b;
|
|
62
|
-
const title = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.title;
|
|
63
|
-
const description = (_b = this === null || this === void 0 ? void 0 : this.cardData) === null || _b === void 0 ? void 0 : _b.description;
|
|
64
|
-
return (index.h("section", { class: `info-wrapper ${this.hiddenContent ? "hidden" : ""}`, onClick: () => {
|
|
65
|
-
if (this.hiddenContent)
|
|
66
|
-
this.tooltip = !this.tooltip;
|
|
67
|
-
}, ref: (el) => (this.infoWrapper = el) }, this.renderAuthor(), this.renderYear(), title, index.h("br", null), description));
|
|
68
|
-
}
|
|
69
|
-
renderAuthor() {
|
|
70
|
-
var _a;
|
|
71
|
-
const author = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.author;
|
|
72
|
-
if (!author)
|
|
73
|
-
return null;
|
|
74
|
-
return (index.h("span", null, "Autore: ", index.h("b", null, author), index.h("br", null)));
|
|
75
|
-
}
|
|
76
|
-
renderYear() {
|
|
77
|
-
var _a;
|
|
78
|
-
const year = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.year;
|
|
79
|
-
if (!year)
|
|
80
|
-
return null;
|
|
81
|
-
return (index.h("span", null, "Anno: ", index.h("b", null, year), index.h("br", null)));
|
|
82
|
-
}
|
|
83
|
-
renderTooltip() {
|
|
84
|
-
if (!this.tooltip)
|
|
85
|
-
return;
|
|
86
|
-
if (!this.cardData)
|
|
87
|
-
return;
|
|
88
|
-
const { title, year, author, description } = this.cardData;
|
|
89
|
-
return (index.h("z-tooltip", { content: `${title} ${year} ${author} ${description}`, type: index$1.TooltipPosition.RIGHT, onClick: () => (this.tooltip = false) }));
|
|
90
|
-
}
|
|
91
|
-
setExpirationLicenseMessage(type) {
|
|
92
|
-
if ((type === "online" && this.cardData.onlineLicense.expired) ||
|
|
93
|
-
(type === "offline" && this.cardData.offlineLicense.expired)) {
|
|
94
|
-
return index.h("span", { class: "expired" }, "SCADUTA");
|
|
95
|
-
}
|
|
96
|
-
if ((type === "online" && this.cardData.onlineLicense.expiring) ||
|
|
97
|
-
(type === "offline" && this.cardData.offlineLicense.expiring)) {
|
|
98
|
-
return index.h("span", { class: "expiring" }, "IN SCADENZA");
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
renderOnlineLicenseSection() {
|
|
102
|
-
var _a;
|
|
103
|
-
if (!((_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.onlineLicense))
|
|
104
|
-
return;
|
|
105
|
-
return (index.h("section", { ref: (el) => (this.onlineLicenseWrapper = el) }, index.h("span", { class: "license-heading" }, index.h("span", null, "Licenza online"), this.setExpirationLicenseMessage("online")), "Scadenza il ", index.h("b", null, this.cardData.onlineLicense.expiration), index.h("br", null)));
|
|
106
|
-
}
|
|
107
|
-
renderOfflineLicenseSection() {
|
|
108
|
-
var _a;
|
|
109
|
-
if (!((_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.offlineLicense))
|
|
110
|
-
return;
|
|
111
|
-
return (index.h("section", { ref: (el) => (this.offlineLicenseWrapper = el) }, index.h("span", { class: "license-heading" }, index.h("span", null, "Licenza offline"), this.setExpirationLicenseMessage("offline")), "Scadenza il ", index.h("b", null, this.cardData.offlineLicense.expiration), index.h("br", null), "Installazioni disponibili:", " ", index.h("b", null, this.cardData.offlineLicense.installations)));
|
|
112
|
-
}
|
|
113
|
-
render() {
|
|
114
|
-
return (index.h("div", null, this.renderCloseIcon(), index.h("div", { class: "content-wrapper", ref: (el) => (this.contentWrapper = el) }, this.renderGeneralSection(), this.renderTooltip(), this.renderOnlineLicenseSection(), this.renderOfflineLicenseSection()), index.h("div", { class: "cta-wrapper" }, index.h("slot", null))));
|
|
115
|
-
}
|
|
116
|
-
};
|
|
12
|
+
const ZMyzCardInfo = class {
|
|
13
|
+
constructor(hostRef) {
|
|
14
|
+
index.registerInstance(this, hostRef);
|
|
15
|
+
this.flipCard = index.createEvent(this, "flipCard", 7);
|
|
16
|
+
/** tabindex link attribute (optional) */
|
|
17
|
+
this.htmltabindex = 0;
|
|
18
|
+
this.hiddenContent = false;
|
|
19
|
+
this.tooltip = false;
|
|
20
|
+
this.emitFlipCard = this.emitFlipCard.bind(this);
|
|
21
|
+
}
|
|
22
|
+
emitFlipCard(showBack = false) {
|
|
23
|
+
this.flipCard.emit(showBack);
|
|
24
|
+
}
|
|
25
|
+
componentWillLoad() {
|
|
26
|
+
this.setStringOrArray();
|
|
27
|
+
}
|
|
28
|
+
componentWillUpdate() {
|
|
29
|
+
this.setStringOrArray();
|
|
30
|
+
}
|
|
31
|
+
componentDidRender() {
|
|
32
|
+
this.handleContentHeight();
|
|
33
|
+
}
|
|
34
|
+
handleContentHeight() {
|
|
35
|
+
if (!this.contentWrapper && !this.infoWrapper)
|
|
36
|
+
return (this.hiddenContent = false);
|
|
37
|
+
if (this.contentWrapper.scrollHeight > this.contentWrapper.offsetHeight ||
|
|
38
|
+
this.infoWrapper.scrollHeight > this.infoWrapper.offsetHeight) {
|
|
39
|
+
const height = this.contentWrapper.offsetHeight -
|
|
40
|
+
this.onlineLicenseWrapper.offsetHeight -
|
|
41
|
+
this.offlineLicenseWrapper.offsetHeight;
|
|
42
|
+
this.infoWrapper.style.height = `${height}px`;
|
|
43
|
+
return (this.hiddenContent = true);
|
|
44
|
+
}
|
|
45
|
+
return (this.hiddenContent = false);
|
|
46
|
+
}
|
|
47
|
+
setStringOrArray() {
|
|
48
|
+
if (typeof this.data === "string") {
|
|
49
|
+
this.cardData = JSON.parse(this.data);
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
this.cardData = this.data;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
renderCloseIcon() {
|
|
56
|
+
return (index.h("z-icon", { name: "multiply-circled-filled", height: 18, width: 18, onClick: () => this.emitFlipCard(false), tabindex: this.htmltabindex, onKeyUp: (e) => {
|
|
57
|
+
utils.handleKeyboardSubmit(e, this.emitFlipCard, false);
|
|
58
|
+
} }));
|
|
59
|
+
}
|
|
60
|
+
renderGeneralSection() {
|
|
61
|
+
var _a, _b;
|
|
62
|
+
const title = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.title;
|
|
63
|
+
const description = (_b = this === null || this === void 0 ? void 0 : this.cardData) === null || _b === void 0 ? void 0 : _b.description;
|
|
64
|
+
return (index.h("section", { class: `info-wrapper ${this.hiddenContent ? "hidden" : ""}`, onClick: () => {
|
|
65
|
+
if (this.hiddenContent)
|
|
66
|
+
this.tooltip = !this.tooltip;
|
|
67
|
+
}, ref: (el) => (this.infoWrapper = el) }, this.renderAuthor(), this.renderYear(), title, index.h("br", null), description));
|
|
68
|
+
}
|
|
69
|
+
renderAuthor() {
|
|
70
|
+
var _a;
|
|
71
|
+
const author = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.author;
|
|
72
|
+
if (!author)
|
|
73
|
+
return null;
|
|
74
|
+
return (index.h("span", null, "Autore: ", index.h("b", null, author), index.h("br", null)));
|
|
75
|
+
}
|
|
76
|
+
renderYear() {
|
|
77
|
+
var _a;
|
|
78
|
+
const year = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.year;
|
|
79
|
+
if (!year)
|
|
80
|
+
return null;
|
|
81
|
+
return (index.h("span", null, "Anno: ", index.h("b", null, year), index.h("br", null)));
|
|
82
|
+
}
|
|
83
|
+
renderTooltip() {
|
|
84
|
+
if (!this.tooltip)
|
|
85
|
+
return;
|
|
86
|
+
if (!this.cardData)
|
|
87
|
+
return;
|
|
88
|
+
const { title, year, author, description } = this.cardData;
|
|
89
|
+
return (index.h("z-tooltip", { content: `${title} ${year} ${author} ${description}`, type: index$1.TooltipPosition.RIGHT, onClick: () => (this.tooltip = false) }));
|
|
90
|
+
}
|
|
91
|
+
setExpirationLicenseMessage(type) {
|
|
92
|
+
if ((type === "online" && this.cardData.onlineLicense.expired) ||
|
|
93
|
+
(type === "offline" && this.cardData.offlineLicense.expired)) {
|
|
94
|
+
return index.h("span", { class: "expired" }, "SCADUTA");
|
|
95
|
+
}
|
|
96
|
+
if ((type === "online" && this.cardData.onlineLicense.expiring) ||
|
|
97
|
+
(type === "offline" && this.cardData.offlineLicense.expiring)) {
|
|
98
|
+
return index.h("span", { class: "expiring" }, "IN SCADENZA");
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
renderOnlineLicenseSection() {
|
|
102
|
+
var _a;
|
|
103
|
+
if (!((_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.onlineLicense))
|
|
104
|
+
return;
|
|
105
|
+
return (index.h("section", { ref: (el) => (this.onlineLicenseWrapper = el) }, index.h("span", { class: "license-heading" }, index.h("span", null, "Licenza online"), this.setExpirationLicenseMessage("online")), "Scadenza il ", index.h("b", null, this.cardData.onlineLicense.expiration), index.h("br", null)));
|
|
106
|
+
}
|
|
107
|
+
renderOfflineLicenseSection() {
|
|
108
|
+
var _a;
|
|
109
|
+
if (!((_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.offlineLicense))
|
|
110
|
+
return;
|
|
111
|
+
return (index.h("section", { ref: (el) => (this.offlineLicenseWrapper = el) }, index.h("span", { class: "license-heading" }, index.h("span", null, "Licenza offline"), this.setExpirationLicenseMessage("offline")), "Scadenza il ", index.h("b", null, this.cardData.offlineLicense.expiration), index.h("br", null), "Installazioni disponibili:", " ", index.h("b", null, this.cardData.offlineLicense.installations)));
|
|
112
|
+
}
|
|
113
|
+
render() {
|
|
114
|
+
return (index.h("div", null, this.renderCloseIcon(), index.h("div", { class: "content-wrapper", ref: (el) => (this.contentWrapper = el) }, this.renderGeneralSection(), this.renderTooltip(), this.renderOnlineLicenseSection(), this.renderOfflineLicenseSection()), index.h("div", { class: "cta-wrapper" }, index.h("slot", null))));
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
117
|
ZMyzCardInfo.style = stylesCss;
|
|
118
118
|
|
|
119
119
|
exports.z_myz_card_info = ZMyzCardInfo;
|
|
@@ -6,32 +6,32 @@ const index = require('./index-dee3e21d.js');
|
|
|
6
6
|
|
|
7
7
|
const stylesCss = "ul{font-family:var(--font-family-sans);color:var(--color-primary02);margin:0 calc(var(--space-unit) * 2);padding:0px;overflow:hidden;list-style:none;width:auto;height:auto}ul>li{padding-left:10px;text-indent:-10px}ul>li>a{display:block;font-size:14px;font-weight:var(--font-sb);text-decoration:none;color:var(--color-primary01);letter-spacing:0.16px;line-height:calc(var(--space-unit) * 2.5);padding-top:calc(var(--space-unit) * .5)}ul>li>a:before{content:\"•\";padding-right:5px}ul>li>span{font-size:14px;font-weight:var(--font-rg);text-decoration:none;color:var(--color-surface04);padding:0 calc(var(--space-unit) * 2);letter-spacing:0.16px;line-height:calc(var(--space-unit) * 2.5)}";
|
|
8
8
|
|
|
9
|
-
const ZMyzCardList = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.renderList = this.renderList.bind(this);
|
|
13
|
-
}
|
|
14
|
-
handleSpaceKeyPress(e, url) {
|
|
15
|
-
if (e.keyCode == 32 || e.keyCode == 13) {
|
|
16
|
-
e.preventDefault();
|
|
17
|
-
window.open(url, "_blank");
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
formatListContent(data) {
|
|
21
|
-
const { value, isLink, url } = data;
|
|
22
|
-
if (!isLink)
|
|
23
|
-
return index.h("span", null, value);
|
|
24
|
-
return (index.h("a", { role: "button", onKeyPress: (e) => this.handleSpaceKeyPress(e, url), href: url, target: "_blank" }, value));
|
|
25
|
-
}
|
|
26
|
-
renderList(dataArray) {
|
|
27
|
-
return dataArray.map((data) => {
|
|
28
|
-
return index.h("li", null, this.formatListContent(data));
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
render() {
|
|
32
|
-
return index.h("ul", null, this.renderList(JSON.parse(this.listdata)));
|
|
33
|
-
}
|
|
34
|
-
};
|
|
9
|
+
const ZMyzCardList = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.renderList = this.renderList.bind(this);
|
|
13
|
+
}
|
|
14
|
+
handleSpaceKeyPress(e, url) {
|
|
15
|
+
if (e.keyCode == 32 || e.keyCode == 13) {
|
|
16
|
+
e.preventDefault();
|
|
17
|
+
window.open(url, "_blank");
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
formatListContent(data) {
|
|
21
|
+
const { value, isLink, url } = data;
|
|
22
|
+
if (!isLink)
|
|
23
|
+
return index.h("span", null, value);
|
|
24
|
+
return (index.h("a", { role: "button", onKeyPress: (e) => this.handleSpaceKeyPress(e, url), href: url, target: "_blank" }, value));
|
|
25
|
+
}
|
|
26
|
+
renderList(dataArray) {
|
|
27
|
+
return dataArray.map((data) => {
|
|
28
|
+
return index.h("li", null, this.formatListContent(data));
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
render() {
|
|
32
|
+
return index.h("ul", null, this.renderList(JSON.parse(this.listdata)));
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
35
|
ZMyzCardList.style = stylesCss;
|
|
36
36
|
|
|
37
37
|
exports.z_myz_card_list = ZMyzCardList;
|