@zanichelli/albe-web-components 2.44.1 → 2.46.1
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/dist/cjs/{_commonjsHelpers-119ffc74.js → _commonjsHelpers-537d719a.js} +3 -0
- package/dist/cjs/{hammer-54230951.js → hammer-4f20813e.js} +1 -1
- package/dist/cjs/{icons-05eba7ee.js → icons-30810e62.js} +5 -1
- package/dist/cjs/{index-93c4c577.js → index-155b2ec5.js} +27 -10
- package/dist/cjs/{index-9651dba8.js → index-1fda0714.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-23a6dee4.js → utils-4bbd782c.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/{z-app-switcher_10.cjs.entry.js → z-app-switcher_11.cjs.entry.js} +34 -16
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +1 -1
- package/dist/cjs/z-button-filter_5.cjs.entry.js +2 -2
- package/dist/cjs/z-chip.cjs.entry.js +1 -1
- package/dist/cjs/z-combobox.cjs.entry.js +2 -2
- package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
- package/dist/cjs/z-cookiebar.cjs.entry.js +1 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +3004 -0
- package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/z-file.cjs.entry.js +2 -2
- package/dist/cjs/z-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
- package/dist/cjs/z-list_3.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +2 -2
- package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
- package/dist/cjs/z-modal-login.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-topbar.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +70 -0
- package/dist/cjs/z-navigation-tab.cjs.entry.js +35 -8
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +76 -48
- package/dist/cjs/z-otp.cjs.entry.js +1 -1
- package/dist/cjs/z-pagination-bar.cjs.entry.js +4 -4
- package/dist/cjs/z-pocket_3.cjs.entry.js +4 -4
- package/dist/cjs/z-popover.cjs.entry.js +4 -4
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
- package/dist/cjs/z-status-tag.cjs.entry.js +3 -3
- package/dist/cjs/z-table-cell.cjs.entry.js +3 -3
- package/dist/cjs/z-table-empty-box.cjs.entry.js +2 -2
- package/dist/cjs/z-table-header.cjs.entry.js +4 -4
- package/dist/cjs/z-table-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +3 -3
- package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -2
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/collection/beans/index.js +27 -10
- package/dist/collection/collection-manifest.json +5 -3
- package/dist/collection/components/icons/icons.js +5 -1
- package/dist/collection/components/navigation/{z-navigation-tab/styles.css → tabs/navigation-tab.css} +39 -35
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +239 -0
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +271 -0
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +207 -0
- package/dist/collection/components/navigation/{z-navigation-tabs → tabs/z-navigation-tabs}/styles.css +11 -10
- package/dist/collection/components/z-carousel/index.js +48 -1
- package/dist/collection/components/z-date-picker/index.js +143 -0
- package/dist/collection/components/z-date-picker/styles.css +515 -0
- package/dist/esm/{_commonjsHelpers-8b28c6fa.js → _commonjsHelpers-9943807e.js} +3 -1
- package/dist/esm/{hammer-501342a9.js → hammer-c3266b17.js} +1 -1
- package/dist/esm/{icons-bceeb196.js → icons-d8a127bf.js} +5 -1
- package/dist/esm/{index-023c206a.js → index-22f4a844.js} +28 -11
- package/dist/esm/{index-aa3a4feb.js → index-abb47b30.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{utils-05b6c600.js → utils-259e2dd9.js} +1 -1
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/{z-app-switcher_10.entry.js → z-app-switcher_11.entry.js} +34 -17
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +1 -1
- package/dist/esm/z-button-filter_5.entry.js +2 -2
- package/dist/esm/z-chip.entry.js +1 -1
- package/dist/esm/z-combobox.entry.js +2 -2
- package/dist/esm/z-contextual-menu.entry.js +1 -1
- package/dist/esm/z-cookiebar.entry.js +1 -1
- package/dist/esm/z-date-picker.entry.js +3000 -0
- package/dist/esm/z-file-upload.entry.js +2 -2
- package/dist/esm/z-file.entry.js +2 -2
- package/dist/esm/z-footer.entry.js +1 -1
- package/dist/esm/z-icon-package.entry.js +1 -1
- package/dist/esm/z-list_3.entry.js +1 -1
- package/dist/esm/z-menu-dropdown_2.entry.js +2 -2
- package/dist/esm/z-messages-pocket.entry.js +1 -1
- package/dist/esm/z-modal-login.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +2 -2
- package/dist/esm/z-myz-card_4.entry.js +1 -1
- package/dist/esm/z-myz-list-item.entry.js +2 -2
- package/dist/esm/z-myz-topbar.entry.js +1 -1
- package/dist/esm/z-navigation-tab-link.entry.js +66 -0
- package/dist/esm/z-navigation-tab.entry.js +35 -8
- package/dist/esm/z-navigation-tabs.entry.js +76 -48
- package/dist/esm/z-otp.entry.js +1 -1
- package/dist/esm/z-pagination-bar.entry.js +4 -4
- package/dist/esm/z-pocket_3.entry.js +4 -4
- package/dist/esm/z-popover.entry.js +4 -4
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-slideshow.entry.js +2 -2
- package/dist/esm/z-status-tag.entry.js +3 -3
- package/dist/esm/z-table-cell.entry.js +3 -3
- package/dist/esm/z-table-empty-box.entry.js +2 -2
- package/dist/esm/z-table-header.entry.js +4 -4
- package/dist/esm/z-table-row.entry.js +1 -1
- package/dist/esm/z-table.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +3 -3
- package/dist/esm/z-toggle-switch.entry.js +2 -2
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/types/beans/index.d.ts +18 -4
- package/dist/types/components/icons/icons.d.ts +4 -0
- package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +48 -0
- package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +56 -0
- package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +68 -0
- package/dist/types/components/z-carousel/index.d.ts +4 -0
- package/dist/types/components/z-date-picker/index.d.ts +20 -0
- package/dist/types/components.d.ts +198 -15
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-2536d492.entry.js → p-0177caf2.entry.js} +1 -1
- package/dist/web-components-library/{p-a9a24ffd.entry.js → p-01a23d8c.entry.js} +1 -1
- package/dist/web-components-library/{p-5d429427.entry.js → p-02145727.entry.js} +1 -1
- package/{www/build/p-98cd95f3.entry.js → dist/web-components-library/p-0b0a358a.entry.js} +1 -1
- package/dist/web-components-library/p-0fc6feaf.entry.js +1 -0
- package/dist/web-components-library/{p-a8ba7c76.entry.js → p-10a2a9fe.entry.js} +1 -1
- package/dist/web-components-library/p-112455b1.js +1 -0
- package/dist/web-components-library/{p-ee229819.entry.js → p-157885b1.entry.js} +1 -1
- package/dist/web-components-library/p-1b34d655.entry.js +1 -0
- package/dist/web-components-library/{p-6b70aaa3.entry.js → p-240561e7.entry.js} +1 -1
- package/dist/web-components-library/{p-3247dee9.js → p-286363e2.js} +1 -1
- package/dist/web-components-library/p-298d324a.entry.js +1 -0
- package/dist/web-components-library/p-2d325b9b.entry.js +1 -0
- package/dist/web-components-library/{p-5651167f.entry.js → p-2de00f19.entry.js} +1 -1
- package/dist/web-components-library/{p-6deeeeff.entry.js → p-30c0f3f2.entry.js} +1 -1
- package/dist/web-components-library/{p-189c9cd3.entry.js → p-35c4d277.entry.js} +1 -1
- package/dist/web-components-library/{p-091b489d.entry.js → p-3bc3f32e.entry.js} +1 -1
- package/dist/web-components-library/{p-800e9669.entry.js → p-4a360730.entry.js} +1 -1
- package/dist/web-components-library/{p-04f7a407.entry.js → p-4c7250a9.entry.js} +1 -1
- package/dist/web-components-library/p-4e270984.entry.js +16 -0
- package/{www/build/p-26410b9b.entry.js → dist/web-components-library/p-4ef4c8ef.entry.js} +1 -1
- package/dist/web-components-library/p-4f64af13.entry.js +1 -0
- package/{www/build/p-82048c15.js → dist/web-components-library/p-571e9db9.js} +1 -1
- package/dist/web-components-library/{p-ead40844.entry.js → p-58091e1c.entry.js} +1 -1
- package/dist/web-components-library/{p-cd0cafe6.entry.js → p-5b2d0ccb.entry.js} +1 -1
- package/dist/web-components-library/{p-7bb69f45.entry.js → p-61ba9cc7.entry.js} +1 -1
- package/dist/web-components-library/{p-2c8e542b.entry.js → p-64b2b415.entry.js} +1 -1
- package/dist/web-components-library/{p-2b551b66.entry.js → p-782d01c1.entry.js} +1 -1
- package/dist/web-components-library/{p-bc168412.entry.js → p-7efeb668.entry.js} +1 -1
- package/{www/build/p-c3bd10ad.entry.js → dist/web-components-library/p-814d6b43.entry.js} +1 -1
- package/dist/web-components-library/{p-3b47835a.entry.js → p-88bc3cf2.entry.js} +1 -1
- package/dist/web-components-library/p-904375ec.entry.js +1 -0
- package/{www/build/p-3ade3fa4.entry.js → dist/web-components-library/p-9777ec0b.entry.js} +1 -1
- package/dist/web-components-library/{p-00265234.entry.js → p-9d279248.entry.js} +1 -1
- package/dist/web-components-library/{p-fae6d22e.entry.js → p-a6c68018.entry.js} +1 -1
- package/dist/web-components-library/{p-e305e1f8.entry.js → p-b260e143.entry.js} +1 -1
- package/dist/web-components-library/{p-94919e28.entry.js → p-c196c340.entry.js} +1 -1
- package/dist/web-components-library/{p-329633be.entry.js → p-c3771cc7.entry.js} +1 -1
- package/dist/web-components-library/{p-f938f1b0.entry.js → p-c5d6450e.entry.js} +1 -1
- package/dist/web-components-library/p-d2da11f4.js +1 -0
- package/dist/web-components-library/{p-26572e05.js → p-d34e101f.js} +1 -1
- package/dist/web-components-library/{p-9207c9ca.entry.js → p-d4440420.entry.js} +1 -1
- package/{www/build/p-33dc73f1.entry.js → dist/web-components-library/p-d502063b.entry.js} +1 -1
- package/dist/web-components-library/{p-1d371408.js → p-e43e61ac.js} +1 -1
- package/dist/web-components-library/{p-e6f63644.entry.js → p-e4dce41a.entry.js} +1 -1
- package/dist/web-components-library/{p-4e7c54ac.entry.js → p-eafa01a1.entry.js} +1 -1
- package/dist/web-components-library/p-ec361ccf.entry.js +1 -0
- package/dist/web-components-library/p-ef22d940.entry.js +1 -0
- package/dist/web-components-library/{p-92f0664e.entry.js → p-feb6ee16.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +2 -1
- package/react/components.d.ts +2 -0
- package/react/components.js +4 -2
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-2536d492.entry.js → p-0177caf2.entry.js} +1 -1
- package/www/build/{p-a9a24ffd.entry.js → p-01a23d8c.entry.js} +1 -1
- package/www/build/{p-5d429427.entry.js → p-02145727.entry.js} +1 -1
- package/{dist/web-components-library/p-98cd95f3.entry.js → www/build/p-0b0a358a.entry.js} +1 -1
- package/www/build/p-0fc6feaf.entry.js +1 -0
- package/www/build/{p-a8ba7c76.entry.js → p-10a2a9fe.entry.js} +1 -1
- package/www/build/p-112455b1.js +1 -0
- package/www/build/{p-ee229819.entry.js → p-157885b1.entry.js} +1 -1
- package/www/build/p-1b34d655.entry.js +1 -0
- package/www/build/{p-6b70aaa3.entry.js → p-240561e7.entry.js} +1 -1
- package/www/build/{p-3247dee9.js → p-286363e2.js} +1 -1
- package/www/build/p-298d324a.entry.js +1 -0
- package/www/build/p-2d325b9b.entry.js +1 -0
- package/www/build/{p-5651167f.entry.js → p-2de00f19.entry.js} +1 -1
- package/www/build/{p-6deeeeff.entry.js → p-30c0f3f2.entry.js} +1 -1
- package/www/build/{p-189c9cd3.entry.js → p-35c4d277.entry.js} +1 -1
- package/www/build/{p-091b489d.entry.js → p-3bc3f32e.entry.js} +1 -1
- package/www/build/{p-800e9669.entry.js → p-4a360730.entry.js} +1 -1
- package/www/build/{p-04f7a407.entry.js → p-4c7250a9.entry.js} +1 -1
- package/www/build/p-4e270984.entry.js +16 -0
- package/{dist/web-components-library/p-26410b9b.entry.js → www/build/p-4ef4c8ef.entry.js} +1 -1
- package/www/build/p-4f64af13.entry.js +1 -0
- package/www/build/p-53add5a8.js +1 -0
- package/{dist/web-components-library/p-82048c15.js → www/build/p-571e9db9.js} +1 -1
- package/www/build/{p-ead40844.entry.js → p-58091e1c.entry.js} +1 -1
- package/www/build/{p-cd0cafe6.entry.js → p-5b2d0ccb.entry.js} +1 -1
- package/www/build/{p-7bb69f45.entry.js → p-61ba9cc7.entry.js} +1 -1
- package/www/build/{p-2c8e542b.entry.js → p-64b2b415.entry.js} +1 -1
- package/www/build/{p-2b551b66.entry.js → p-782d01c1.entry.js} +1 -1
- package/www/build/{p-bc168412.entry.js → p-7efeb668.entry.js} +1 -1
- package/{dist/web-components-library/p-c3bd10ad.entry.js → www/build/p-814d6b43.entry.js} +1 -1
- package/www/build/p-88b56b6e.css +1 -0
- package/www/build/{p-3b47835a.entry.js → p-88bc3cf2.entry.js} +1 -1
- package/www/build/p-904375ec.entry.js +1 -0
- package/{dist/web-components-library/p-3ade3fa4.entry.js → www/build/p-9777ec0b.entry.js} +1 -1
- package/www/build/{p-00265234.entry.js → p-9d279248.entry.js} +1 -1
- package/www/build/{p-fae6d22e.entry.js → p-a6c68018.entry.js} +1 -1
- package/www/build/{p-e305e1f8.entry.js → p-b260e143.entry.js} +1 -1
- package/www/build/{p-94919e28.entry.js → p-c196c340.entry.js} +1 -1
- package/www/build/{p-329633be.entry.js → p-c3771cc7.entry.js} +1 -1
- package/www/build/{p-f938f1b0.entry.js → p-c5d6450e.entry.js} +1 -1
- package/www/build/p-d2da11f4.js +1 -0
- package/www/build/{p-26572e05.js → p-d34e101f.js} +1 -1
- package/www/build/{p-9207c9ca.entry.js → p-d4440420.entry.js} +1 -1
- package/{dist/web-components-library/p-33dc73f1.entry.js → www/build/p-d502063b.entry.js} +1 -1
- package/www/build/{p-1d371408.js → p-e43e61ac.js} +1 -1
- package/www/build/{p-e6f63644.entry.js → p-e4dce41a.entry.js} +1 -1
- package/www/build/{p-4e7c54ac.entry.js → p-eafa01a1.entry.js} +1 -1
- package/www/build/p-ec361ccf.entry.js +1 -0
- package/www/build/p-ef22d940.entry.js +1 -0
- package/www/build/{p-92f0664e.entry.js → p-feb6ee16.entry.js} +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +61 -16
- package/CHANGELOG.md +0 -1486
- package/dist/cjs/z-ghost-loading.cjs.entry.js +0 -19
- package/dist/collection/components/navigation/z-navigation-tab/index.js +0 -151
- package/dist/collection/components/navigation/z-navigation-tabs/index.js +0 -179
- package/dist/esm/z-ghost-loading.entry.js +0 -15
- package/dist/types/components/navigation/z-navigation-tab/index.d.ts +0 -16
- package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +0 -32
- package/dist/web-components-library/p-1242e682.entry.js +0 -1
- package/dist/web-components-library/p-3d99e2b1.entry.js +0 -1
- package/dist/web-components-library/p-5300e675.entry.js +0 -1
- package/dist/web-components-library/p-5789bbe7.entry.js +0 -1
- package/dist/web-components-library/p-5b5d269c.js +0 -1
- package/dist/web-components-library/p-5e41c6c2.entry.js +0 -1
- package/dist/web-components-library/p-99e53bd5.entry.js +0 -1
- package/dist/web-components-library/p-b68038b5.js +0 -1
- package/dist/web-components-library/p-b9d7caa1.entry.js +0 -1
- package/dist/web-components-library/p-e98bb01e.entry.js +0 -1
- package/src-react/index.ts +0 -1
- package/www/build/p-1242e682.entry.js +0 -1
- package/www/build/p-3d99e2b1.entry.js +0 -1
- package/www/build/p-5300e675.entry.js +0 -1
- package/www/build/p-5789bbe7.entry.js +0 -1
- package/www/build/p-5b5d269c.js +0 -1
- package/www/build/p-5e41c6c2.entry.js +0 -1
- package/www/build/p-99e53bd5.entry.js +0 -1
- package/www/build/p-b68038b5.js +0 -1
- package/www/build/p-b9d7caa1.entry.js +0 -1
- package/www/build/p-d96e3b44.js +0 -129
- package/www/build/p-e98bb01e.entry.js +0 -1
- package/www/build/p-fcff1237.css +0 -812
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { AlertTypes, LicenseTypeEnum, MenuItem as MenuItem1, TooltipPosition } from "./beans/index";
|
|
9
|
-
import { AvatarSize, ButtonSizeEnum, ButtonVariantBean, ButtonVariantEnum, CardVariants, ComboItemBean, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InputStatusBean, InputTypeBean, ListDividerType, ListSize, MenuItem, NotificationType, OffCanvasVariantsEnum, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverShadow, SelectItemBean, Size, SortDirection, StatusTagStatus,
|
|
9
|
+
import { AvatarSize, ButtonSizeEnum, ButtonVariantBean, ButtonVariantEnum, CardVariants, ComboItemBean, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InputStatusBean, InputTypeBean, ListDividerType, ListSize, MenuItem, NavigationTabsOrientation, NavigationTabsSize, NotificationType, OffCanvasVariantsEnum, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverShadow, SelectItemBean, Size, SortDirection, StatusTagStatus, ThemeVariant, ThemeVariantBean, ToastNotificationPositionsTypes, ToastNotificationTransitionTypes, ToastNotificationTypes, TransitionDirectionEnum, ZChipType, ZDatePickerMode, ZFileUploadTypeEnum, ZSectionTitleDividerPosition, ZTableRowExpandedType, ZtoggleSwitchPositionEnum } from "./beans";
|
|
10
10
|
import { ListItemBean } from "./beans/index.js";
|
|
11
11
|
import { ZTypographyLevels } from "./components/typography/z-typography/index";
|
|
12
12
|
export namespace Components {
|
|
@@ -212,6 +212,14 @@ export namespace Components {
|
|
|
212
212
|
"variant": CardVariants;
|
|
213
213
|
}
|
|
214
214
|
interface ZCarousel {
|
|
215
|
+
/**
|
|
216
|
+
* sets the height of z-carousel ghost loading, this prop is mandatory when isloading is set to true, as otherwise the component won't show.
|
|
217
|
+
*/
|
|
218
|
+
"ghostloadingheight": string;
|
|
219
|
+
/**
|
|
220
|
+
* sets whether the z-carousel is on loading state
|
|
221
|
+
*/
|
|
222
|
+
"isloading": boolean;
|
|
215
223
|
}
|
|
216
224
|
interface ZChip {
|
|
217
225
|
"boldtext"?: number;
|
|
@@ -310,6 +318,16 @@ export namespace Components {
|
|
|
310
318
|
*/
|
|
311
319
|
"hide"?: boolean;
|
|
312
320
|
}
|
|
321
|
+
interface ZDatePicker {
|
|
322
|
+
/**
|
|
323
|
+
* unique id
|
|
324
|
+
*/
|
|
325
|
+
"datepickerid": string;
|
|
326
|
+
/**
|
|
327
|
+
* [Optional] datepicker mode: date, datetime, only months
|
|
328
|
+
*/
|
|
329
|
+
"mode": ZDatePickerMode;
|
|
330
|
+
}
|
|
313
331
|
interface ZDivider {
|
|
314
332
|
/**
|
|
315
333
|
* [optional] Divider color
|
|
@@ -745,7 +763,7 @@ export namespace Components {
|
|
|
745
763
|
/**
|
|
746
764
|
* Json stringified or array to fill menu dropdown
|
|
747
765
|
*/
|
|
748
|
-
"menucontent": string |
|
|
766
|
+
"menucontent": string | MenuItem1[];
|
|
749
767
|
/**
|
|
750
768
|
* user name text
|
|
751
769
|
*/
|
|
@@ -1041,20 +1059,82 @@ export namespace Components {
|
|
|
1041
1059
|
"userdata"?: string | HeaderUserData;
|
|
1042
1060
|
}
|
|
1043
1061
|
interface ZNavigationTab {
|
|
1062
|
+
/**
|
|
1063
|
+
* Whether the tab is disabled.
|
|
1064
|
+
*/
|
|
1065
|
+
"disabled"?: boolean;
|
|
1066
|
+
/**
|
|
1067
|
+
* Html `title` attribute for the button.
|
|
1068
|
+
*/
|
|
1069
|
+
"htmlTitle": string;
|
|
1070
|
+
/**
|
|
1071
|
+
* Name of the icon to use. Use the slot `icon` for extra customization. The `filled` version will be automatically used (if found) when the tab is `selected`.
|
|
1072
|
+
*/
|
|
1073
|
+
"icon": string;
|
|
1074
|
+
/**
|
|
1075
|
+
* Label to show in the tab.
|
|
1076
|
+
*/
|
|
1077
|
+
"label": string;
|
|
1078
|
+
/**
|
|
1079
|
+
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
1080
|
+
*/
|
|
1081
|
+
"orientation": NavigationTabsOrientation;
|
|
1082
|
+
/**
|
|
1083
|
+
* Whether the tab is selected.
|
|
1084
|
+
*/
|
|
1085
|
+
"selected"?: boolean;
|
|
1086
|
+
/**
|
|
1087
|
+
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
1088
|
+
*/
|
|
1089
|
+
"size": NavigationTabsSize;
|
|
1090
|
+
}
|
|
1091
|
+
interface ZNavigationTabLink {
|
|
1092
|
+
/**
|
|
1093
|
+
* Whether the tab is disabled.
|
|
1094
|
+
*/
|
|
1044
1095
|
"disabled"?: boolean;
|
|
1045
|
-
|
|
1096
|
+
/**
|
|
1097
|
+
* Url to set to the anchor element.
|
|
1098
|
+
*/
|
|
1099
|
+
"href": string;
|
|
1100
|
+
/**
|
|
1101
|
+
* Html title attribute for the anchor element.
|
|
1102
|
+
*/
|
|
1103
|
+
"htmlTitle": string;
|
|
1104
|
+
/**
|
|
1105
|
+
* Name of the icon to use. Use the slot `icon` for extra customization. The `filled` version will be automatically used (if found) when the tab is `selected`.
|
|
1106
|
+
*/
|
|
1107
|
+
"icon": string;
|
|
1108
|
+
/**
|
|
1109
|
+
* Label to show in the tab.
|
|
1110
|
+
*/
|
|
1111
|
+
"label": string;
|
|
1112
|
+
/**
|
|
1113
|
+
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
1114
|
+
*/
|
|
1115
|
+
"orientation": NavigationTabsOrientation;
|
|
1116
|
+
/**
|
|
1117
|
+
* Whether the tab is selected.
|
|
1118
|
+
*/
|
|
1046
1119
|
"selected"?: boolean;
|
|
1047
|
-
|
|
1120
|
+
/**
|
|
1121
|
+
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
1122
|
+
*/
|
|
1123
|
+
"size": NavigationTabsSize;
|
|
1124
|
+
/**
|
|
1125
|
+
* Html `target` attribute for the anchor element.
|
|
1126
|
+
*/
|
|
1127
|
+
"target": string;
|
|
1048
1128
|
}
|
|
1049
1129
|
interface ZNavigationTabs {
|
|
1050
1130
|
/**
|
|
1051
|
-
*
|
|
1131
|
+
* Navigation tabs orientation.
|
|
1052
1132
|
*/
|
|
1053
|
-
"orientation"?:
|
|
1133
|
+
"orientation"?: NavigationTabsOrientation;
|
|
1054
1134
|
/**
|
|
1055
|
-
*
|
|
1135
|
+
* Navigation tabs size.
|
|
1056
1136
|
*/
|
|
1057
|
-
"size"?:
|
|
1137
|
+
"size"?: NavigationTabsSize;
|
|
1058
1138
|
}
|
|
1059
1139
|
interface ZNotification {
|
|
1060
1140
|
/**
|
|
@@ -1727,6 +1807,12 @@ declare global {
|
|
|
1727
1807
|
prototype: HTMLZCookiebarElement;
|
|
1728
1808
|
new (): HTMLZCookiebarElement;
|
|
1729
1809
|
};
|
|
1810
|
+
interface HTMLZDatePickerElement extends Components.ZDatePicker, HTMLStencilElement {
|
|
1811
|
+
}
|
|
1812
|
+
var HTMLZDatePickerElement: {
|
|
1813
|
+
prototype: HTMLZDatePickerElement;
|
|
1814
|
+
new (): HTMLZDatePickerElement;
|
|
1815
|
+
};
|
|
1730
1816
|
interface HTMLZDividerElement extends Components.ZDivider, HTMLStencilElement {
|
|
1731
1817
|
}
|
|
1732
1818
|
var HTMLZDividerElement: {
|
|
@@ -1979,6 +2065,12 @@ declare global {
|
|
|
1979
2065
|
prototype: HTMLZNavigationTabElement;
|
|
1980
2066
|
new (): HTMLZNavigationTabElement;
|
|
1981
2067
|
};
|
|
2068
|
+
interface HTMLZNavigationTabLinkElement extends Components.ZNavigationTabLink, HTMLStencilElement {
|
|
2069
|
+
}
|
|
2070
|
+
var HTMLZNavigationTabLinkElement: {
|
|
2071
|
+
prototype: HTMLZNavigationTabLinkElement;
|
|
2072
|
+
new (): HTMLZNavigationTabLinkElement;
|
|
2073
|
+
};
|
|
1982
2074
|
interface HTMLZNavigationTabsElement extends Components.ZNavigationTabs, HTMLStencilElement {
|
|
1983
2075
|
}
|
|
1984
2076
|
var HTMLZNavigationTabsElement: {
|
|
@@ -2219,6 +2311,7 @@ declare global {
|
|
|
2219
2311
|
"z-combobox": HTMLZComboboxElement;
|
|
2220
2312
|
"z-contextual-menu": HTMLZContextualMenuElement;
|
|
2221
2313
|
"z-cookiebar": HTMLZCookiebarElement;
|
|
2314
|
+
"z-date-picker": HTMLZDatePickerElement;
|
|
2222
2315
|
"z-divider": HTMLZDividerElement;
|
|
2223
2316
|
"z-dragdrop-area": HTMLZDragdropAreaElement;
|
|
2224
2317
|
"z-file": HTMLZFileElement;
|
|
@@ -2261,6 +2354,7 @@ declare global {
|
|
|
2261
2354
|
"z-myz-list-item": HTMLZMyzListItemElement;
|
|
2262
2355
|
"z-myz-topbar": HTMLZMyzTopbarElement;
|
|
2263
2356
|
"z-navigation-tab": HTMLZNavigationTabElement;
|
|
2357
|
+
"z-navigation-tab-link": HTMLZNavigationTabLinkElement;
|
|
2264
2358
|
"z-navigation-tabs": HTMLZNavigationTabsElement;
|
|
2265
2359
|
"z-notification": HTMLZNotificationElement;
|
|
2266
2360
|
"z-offcanvas": HTMLZOffcanvasElement;
|
|
@@ -2523,6 +2617,14 @@ declare namespace LocalJSX {
|
|
|
2523
2617
|
"variant"?: CardVariants;
|
|
2524
2618
|
}
|
|
2525
2619
|
interface ZCarousel {
|
|
2620
|
+
/**
|
|
2621
|
+
* sets the height of z-carousel ghost loading, this prop is mandatory when isloading is set to true, as otherwise the component won't show.
|
|
2622
|
+
*/
|
|
2623
|
+
"ghostloadingheight"?: string;
|
|
2624
|
+
/**
|
|
2625
|
+
* sets whether the z-carousel is on loading state
|
|
2626
|
+
*/
|
|
2627
|
+
"isloading"?: boolean;
|
|
2526
2628
|
}
|
|
2527
2629
|
interface ZChip {
|
|
2528
2630
|
"boldtext"?: number;
|
|
@@ -2633,6 +2735,20 @@ declare namespace LocalJSX {
|
|
|
2633
2735
|
*/
|
|
2634
2736
|
"onAccept"?: (event: CustomEvent<any>) => void;
|
|
2635
2737
|
}
|
|
2738
|
+
interface ZDatePicker {
|
|
2739
|
+
/**
|
|
2740
|
+
* unique id
|
|
2741
|
+
*/
|
|
2742
|
+
"datepickerid"?: string;
|
|
2743
|
+
/**
|
|
2744
|
+
* [Optional] datepicker mode: date, datetime, only months
|
|
2745
|
+
*/
|
|
2746
|
+
"mode"?: ZDatePickerMode;
|
|
2747
|
+
/**
|
|
2748
|
+
* emitted when date changes, returns selected date
|
|
2749
|
+
*/
|
|
2750
|
+
"onDateSelect"?: (event: CustomEvent<any>) => void;
|
|
2751
|
+
}
|
|
2636
2752
|
interface ZDivider {
|
|
2637
2753
|
/**
|
|
2638
2754
|
* [optional] Divider color
|
|
@@ -3120,7 +3236,7 @@ declare namespace LocalJSX {
|
|
|
3120
3236
|
/**
|
|
3121
3237
|
* Json stringified or array to fill menu dropdown
|
|
3122
3238
|
*/
|
|
3123
|
-
"menucontent"?: string |
|
|
3239
|
+
"menucontent"?: string | MenuItem1[];
|
|
3124
3240
|
/**
|
|
3125
3241
|
* user name text
|
|
3126
3242
|
*/
|
|
@@ -3472,21 +3588,84 @@ declare namespace LocalJSX {
|
|
|
3472
3588
|
"userdata"?: string | HeaderUserData;
|
|
3473
3589
|
}
|
|
3474
3590
|
interface ZNavigationTab {
|
|
3591
|
+
/**
|
|
3592
|
+
* Whether the tab is disabled.
|
|
3593
|
+
*/
|
|
3594
|
+
"disabled"?: boolean;
|
|
3595
|
+
/**
|
|
3596
|
+
* Html `title` attribute for the button.
|
|
3597
|
+
*/
|
|
3598
|
+
"htmlTitle"?: string;
|
|
3599
|
+
/**
|
|
3600
|
+
* Name of the icon to use. Use the slot `icon` for extra customization. The `filled` version will be automatically used (if found) when the tab is `selected`.
|
|
3601
|
+
*/
|
|
3602
|
+
"icon"?: string;
|
|
3603
|
+
/**
|
|
3604
|
+
* Label to show in the tab.
|
|
3605
|
+
*/
|
|
3606
|
+
"label"?: string;
|
|
3607
|
+
"onSelected"?: (event: CustomEvent<any>) => void;
|
|
3608
|
+
/**
|
|
3609
|
+
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
3610
|
+
*/
|
|
3611
|
+
"orientation"?: NavigationTabsOrientation;
|
|
3612
|
+
/**
|
|
3613
|
+
* Whether the tab is selected.
|
|
3614
|
+
*/
|
|
3615
|
+
"selected"?: boolean;
|
|
3616
|
+
/**
|
|
3617
|
+
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
3618
|
+
*/
|
|
3619
|
+
"size"?: NavigationTabsSize;
|
|
3620
|
+
}
|
|
3621
|
+
interface ZNavigationTabLink {
|
|
3622
|
+
/**
|
|
3623
|
+
* Whether the tab is disabled.
|
|
3624
|
+
*/
|
|
3475
3625
|
"disabled"?: boolean;
|
|
3626
|
+
/**
|
|
3627
|
+
* Url to set to the anchor element.
|
|
3628
|
+
*/
|
|
3629
|
+
"href"?: string;
|
|
3630
|
+
/**
|
|
3631
|
+
* Html title attribute for the anchor element.
|
|
3632
|
+
*/
|
|
3633
|
+
"htmlTitle"?: string;
|
|
3634
|
+
/**
|
|
3635
|
+
* Name of the icon to use. Use the slot `icon` for extra customization. The `filled` version will be automatically used (if found) when the tab is `selected`.
|
|
3636
|
+
*/
|
|
3637
|
+
"icon"?: string;
|
|
3638
|
+
/**
|
|
3639
|
+
* Label to show in the tab.
|
|
3640
|
+
*/
|
|
3641
|
+
"label"?: string;
|
|
3476
3642
|
"onSelected"?: (event: CustomEvent<any>) => void;
|
|
3477
|
-
|
|
3643
|
+
/**
|
|
3644
|
+
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
3645
|
+
*/
|
|
3646
|
+
"orientation"?: NavigationTabsOrientation;
|
|
3647
|
+
/**
|
|
3648
|
+
* Whether the tab is selected.
|
|
3649
|
+
*/
|
|
3478
3650
|
"selected"?: boolean;
|
|
3479
|
-
|
|
3651
|
+
/**
|
|
3652
|
+
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
3653
|
+
*/
|
|
3654
|
+
"size"?: NavigationTabsSize;
|
|
3655
|
+
/**
|
|
3656
|
+
* Html `target` attribute for the anchor element.
|
|
3657
|
+
*/
|
|
3658
|
+
"target"?: string;
|
|
3480
3659
|
}
|
|
3481
3660
|
interface ZNavigationTabs {
|
|
3482
3661
|
/**
|
|
3483
|
-
*
|
|
3662
|
+
* Navigation tabs orientation.
|
|
3484
3663
|
*/
|
|
3485
|
-
"orientation"?:
|
|
3664
|
+
"orientation"?: NavigationTabsOrientation;
|
|
3486
3665
|
/**
|
|
3487
|
-
*
|
|
3666
|
+
* Navigation tabs size.
|
|
3488
3667
|
*/
|
|
3489
|
-
"size"?:
|
|
3668
|
+
"size"?: NavigationTabsSize;
|
|
3490
3669
|
}
|
|
3491
3670
|
interface ZNotification {
|
|
3492
3671
|
/**
|
|
@@ -4128,6 +4307,7 @@ declare namespace LocalJSX {
|
|
|
4128
4307
|
"z-combobox": ZCombobox;
|
|
4129
4308
|
"z-contextual-menu": ZContextualMenu;
|
|
4130
4309
|
"z-cookiebar": ZCookiebar;
|
|
4310
|
+
"z-date-picker": ZDatePicker;
|
|
4131
4311
|
"z-divider": ZDivider;
|
|
4132
4312
|
"z-dragdrop-area": ZDragdropArea;
|
|
4133
4313
|
"z-file": ZFile;
|
|
@@ -4170,6 +4350,7 @@ declare namespace LocalJSX {
|
|
|
4170
4350
|
"z-myz-list-item": ZMyzListItem;
|
|
4171
4351
|
"z-myz-topbar": ZMyzTopbar;
|
|
4172
4352
|
"z-navigation-tab": ZNavigationTab;
|
|
4353
|
+
"z-navigation-tab-link": ZNavigationTabLink;
|
|
4173
4354
|
"z-navigation-tabs": ZNavigationTabs;
|
|
4174
4355
|
"z-notification": ZNotification;
|
|
4175
4356
|
"z-offcanvas": ZOffcanvas;
|
|
@@ -4230,6 +4411,7 @@ declare module "@stencil/core" {
|
|
|
4230
4411
|
"z-combobox": LocalJSX.ZCombobox & JSXBase.HTMLAttributes<HTMLZComboboxElement>;
|
|
4231
4412
|
"z-contextual-menu": LocalJSX.ZContextualMenu & JSXBase.HTMLAttributes<HTMLZContextualMenuElement>;
|
|
4232
4413
|
"z-cookiebar": LocalJSX.ZCookiebar & JSXBase.HTMLAttributes<HTMLZCookiebarElement>;
|
|
4414
|
+
"z-date-picker": LocalJSX.ZDatePicker & JSXBase.HTMLAttributes<HTMLZDatePickerElement>;
|
|
4233
4415
|
"z-divider": LocalJSX.ZDivider & JSXBase.HTMLAttributes<HTMLZDividerElement>;
|
|
4234
4416
|
"z-dragdrop-area": LocalJSX.ZDragdropArea & JSXBase.HTMLAttributes<HTMLZDragdropAreaElement>;
|
|
4235
4417
|
"z-file": LocalJSX.ZFile & JSXBase.HTMLAttributes<HTMLZFileElement>;
|
|
@@ -4272,6 +4454,7 @@ declare module "@stencil/core" {
|
|
|
4272
4454
|
"z-myz-list-item": LocalJSX.ZMyzListItem & JSXBase.HTMLAttributes<HTMLZMyzListItemElement>;
|
|
4273
4455
|
"z-myz-topbar": LocalJSX.ZMyzTopbar & JSXBase.HTMLAttributes<HTMLZMyzTopbarElement>;
|
|
4274
4456
|
"z-navigation-tab": LocalJSX.ZNavigationTab & JSXBase.HTMLAttributes<HTMLZNavigationTabElement>;
|
|
4457
|
+
"z-navigation-tab-link": LocalJSX.ZNavigationTabLink & JSXBase.HTMLAttributes<HTMLZNavigationTabLinkElement>;
|
|
4275
4458
|
"z-navigation-tabs": LocalJSX.ZNavigationTabs & JSXBase.HTMLAttributes<HTMLZNavigationTabsElement>;
|
|
4276
4459
|
"z-notification": LocalJSX.ZNotification & JSXBase.HTMLAttributes<HTMLZNotificationElement>;
|
|
4277
4460
|
"z-offcanvas": LocalJSX.ZOffcanvas & JSXBase.HTMLAttributes<HTMLZOffcanvasElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as o}from"./p-
|
|
1
|
+
import{c as o}from"./p-d34e101f.js";import"./p-d2da11f4.js";import"./p-d69e14fb.js";const p={colorFromId:o};export{p as Utils}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,c as t,h as o}from"./p-98268a57.js";import{b as e,c as r}from"./p-
|
|
1
|
+
import{r as i,c as t,h as o}from"./p-98268a57.js";import{b as e,c as r}from"./p-d2da11f4.js";const a=class{constructor(o){i(this,o),this.creditsLinkClick=t(this,"creditsLinkClick",7),this.reportAProblemButtonClick=t(this,"reportAProblemButtonClick",7),this.creditsLinkId="creditsLinkId",this.emitReportAProblemButtonClick=this.emitReportAProblemButtonClick.bind(this)}componentWillLoad(){this.data&&(console.warn("z-footer: `data` prop is deprecated and will be removed in a future version. Use slots instead."),this.jsonData=JSON.parse(this.data))}zLinkClickListener(i){i.detail.linkId===this.creditsLinkId&&this.emitCreditsLinkClick()}emitCreditsLinkClick(){this.creditsLinkClick.emit()}emitReportAProblemButtonClick(){this.reportAProblemButtonClick.emit()}renderZLogo(){return o("z-logo",{link:"https://www.zanichelli.it",width:144,height:38,imageAlt:"Home Zanichelli",targetBlank:!0})}renderAddress(){return o("p",null,"Zanichelli editore S.p.A. via Irnerio 34, 40126 Bologna",o("br",null),"Fax 051 - 249.782 / 293.224 | Tel. 051 - 293.111 / 245.024",o("br",null),"Partita IVA 03978000374")}renderSocial(){return o("div",{class:"social"},o("slot",{name:"social"}),this.renderFooterSocialJsonData())}renderCopyright(){return o("p",null,"Copyright – 2018-",(new Date).getFullYear()," Zanichelli",o("span",null,"All rights reserved"))}renderCertification(){return o("p",null,"Zanichelli editore S.p.A. opera con sistema qualità certificato CertiCarGraf n. 477",o("br",null),"secondo la norma UNI EN ISO 9001:2015")}renderBottomLinks(){return o("div",{class:"item bottom-links"},o("slot",{name:"links"}),this.renderFooterBottomJsonData())}renderFooterBottom(){return o("section",{id:"bottom"},o("div",{class:{"limited-width":!!this.contentMaxWidth},style:this.contentMaxWidth?{"--mw":`${this.contentMaxWidth}px`}:{}},o("div",{class:"item logo"},this.renderZLogo(),this.renderCopyright(),this.renderCertification()),o("div",{class:"item"},this.renderAddress(),this.renderSocial()),this.renderBottomLinks()))}renderFooterTop(){return o("section",{id:"top"},o("div",{class:{"limited-width":!!this.contentMaxWidth},style:this.contentMaxWidth?{"--mw":`${this.contentMaxWidth}px`}:{}},o("slot",null),this.renderFooterTopJsonData()))}renderFooterProductInfo(){var i;if(this.productName||this.productVersion||null!=this.productCreditsLink||this.showReportAProblemButton){const t=`${this.productName?" versione":"Versione"} ${this.productVersion}`,a=o("z-body",{level:5},(this.productName||this.productVersion)&&" - ",o("z-link",{htmlid:this.creditsLinkId,href:null===(i=this.productCreditsLink)||void 0===i?void 0:i.trim(),target:"_blank",textcolor:"white"},"Credits"));return o("div",{id:"extension"},o("div",{class:{"limited-width":!!this.contentMaxWidth},style:this.contentMaxWidth?{"--mw":`${this.contentMaxWidth}px`}:{}},o("span",null,this.productName&&o("z-body",{level:5,variant:"semibold"},this.productName),this.productVersion&&o("z-body",{level:5},t),null!=this.productCreditsLink&&a),this.showReportAProblemButton&&o("div",null,o("z-body",{level:5},"Hai bisogno di aiuto?"),o("z-button",{variant:e["dark-bg"],size:r.small,onClick:this.emitReportAProblemButtonClick},"SEGNALA UN PROBLEMA")),o("z-divider",{color:"gray500"})))}}renderFooterTopJsonData(){if(!this.jsonData||!this.jsonData.zanichelliLinks)return null;const i=this.jsonData.zanichelliLinks;return this.jsonData.bottomLinks&&i.push({title:"Altre informazioni",items:this.jsonData.bottomLinks}),i.map((i=>o("z-footer-section",{name:i.title},i.items.map((i=>o("z-footer-link",{href:i.link},i.label))))))}renderFooterBottomJsonData(){return this.jsonData&&this.jsonData.bottomLinks?this.jsonData.bottomLinks.map((i=>o("z-footer-link",{href:i.link},i.label))):null}renderFooterSocialJsonData(){return this.jsonData&&this.jsonData.social?this.jsonData.social.map((i=>o("z-footer-social",{href:i.link,icon:i.icon,description:i.description}))):null}render(){return o("footer",null,this.renderFooterProductInfo(),this.renderFooterTop(),this.renderFooterBottom())}};a.style=":host{width:100%}footer{width:auto;height:auto;box-sizing:border-box;font-family:var(--font-family-sans);font-size:13px;padding:var(--space-unit) 0;background-color:var(--gray900);color:var(--gray50)}footer *{box-sizing:border-box}footer>section>div{display:grid}#top{padding:0 calc(var(--space-unit) * 2)}#bottom{width:auto;height:auto;margin:0;padding:0 calc(var(--space-unit) * 2);white-space:pre-line;font-size:12px}#bottom>div{display:grid;grid-template-columns:1fr}#bottom>div>div.item{display:flex;flex-direction:column;align-items:flex-start;grid-column:span 1;height:auto;width:auto;padding:calc(var(--space-unit) * 2) 0}#bottom>div>div.item:nth-child(1){order:2}#bottom>div>div.item:nth-child(2){order:1;border-bottom:1px solid var(--gray50)}#bottom>div>div.item>div.social{display:grid;grid-template-columns:repeat(5, 1fr);grid-template-rows:repeat(auto-fill, 24px);column-gap:12px;padding:0;margin-bottom:0px}#bottom>div>div.bottom-links{display:none}#bottom>div>div.item>p{margin:var(--space-unit) 0;padding:var(--space-unit) 0}#bottom>div>div.item>p:first-child{margin-top:0}#bottom>div>div.item>p:last-child{margin-bottom:0}#bottom>div>div.logo>p>span{display:block}#extension{padding:0 calc(var(--space-unit) * 2)}#extension>div{display:grid;grid-template-columns:1fr;grid-row-gap:var(--space-unit);align-items:center}#extension z-divider{margin-top:var(--space-unit)}#extension z-button{margin-left:var(--space-unit)}div.limited-width{margin:auto;max-width:var(--mw)}@media only screen and (min-width: 768px){footer{padding:0}#top{background-color:var(--gray800);padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3)}#top z-footer-section:last-child{display:none}#bottom{background-color:var(--gray900);padding:0 calc(var(--space-unit) * 3)}#bottom>div{grid-template-columns:repeat(4, 1fr);grid-column-gap:var(--grid-tablet-margin)}#bottom>div>div.item{margin:0}#bottom>div>div.item:nth-child(1){order:1}#bottom>div>div.item:nth-child(2){order:2;border-bottom:none}#bottom>div>div.item>p{padding-top:0}#bottom>div>div.logo>z-logo{width:auto;height:39px}#bottom>div>div.bottom-links{display:block;grid-column:span 2;order:3}#bottom>div>div.bottom-links{display:grid;grid-template-columns:repeat(2, 1fr);grid-template-rows:repeat(auto-fill, 24px);grid-column-gap:var(--grid-tablet-margin);font-size:12px}#extension{margin:auto;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3) 0;background-color:var(--gray800);color:white;grid-template-columns:1fr 1fr}#extension>div>div{text-align:end}#extension z-divider{grid-column:1 / span 2}}@media only screen and (min-width: 1152px){#top{width:100%}#top>div{grid-template-columns:repeat(6, 1fr);grid-column-gap:var(--grid-desktop-margin)}#bottom>div>div.item:nth-child(1)>p:nth-of-type(2){font-size:10px}#bottom>div>div.item>p{padding-bottom:0;margin-bottom:calc(var(--space-unit) * 2)}#bottom>div>div.item>div.social{margin-top:0}#bottom>div>div.bottom-links{padding:calc(var(--space-unit) * 2) 0 0 0}#bottom>div>div.bottom-links{grid-template-columns:repeat(3, 1fr);grid-column-gap:var(--grid-desktop-margin);margin:0}}@media only screen and (min-width: 1366px){#top{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}#bottom{padding:0 calc(var(--space-unit) * 4)}#extension{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4) 0}}";export{a as z_footer}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e}from"./p-98268a57.js";import{I as s,k as r}from"./p-
|
|
1
|
+
import{r as t,c as i,h as e}from"./p-98268a57.js";import{I as s,k as r}from"./p-d2da11f4.js";import{h as o}from"./p-d34e101f.js";import"./p-d69e14fb.js";const a=class{constructor(e){t(this,e),this.comboboxChange=i(this,"comboboxChange",7),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.renderItemsList=[],this.itemsList=[],this.inputType=s.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((t=>t.checked)).length,this.searchValue?this.filterItems(this.searchValue):this.resetRenderItemsList()}inputCheckListener(t){const i=t.detail.id.replace(`combo-checkbox-${this.inputid}-`,"");if("check-all"===i&&(!this.maxcheckableitems||this.maxcheckableitems>=this.itemsList.length))return this.checkAll(t.detail.checked);this.itemsList=this.itemsList.map((e=>(e.id===i&&(e.checked=t.detail.checked),e))),this.resetRenderItemsList(),this.emitComboboxChange()}emitComboboxChange(){this.comboboxChange.emit({id:this.inputid,items:this.itemsList})}componentWillLoad(){this.watchItems()}componentWillRender(){this.selectedCounter=this.itemsList.filter((t=>t.checked)).length,this.searchValue&&this.filterItems(this.searchValue)}resetRenderItemsList(){const t=[];this.itemsList.forEach((i=>{t.push(Object.assign({},i))})),this.renderItemsList=t}filterItems(t){if(!t)return this.closeFilterItems();this.searchValue=t,this.resetRenderItemsList(),this.renderItemsList=this.renderItemsList.filter((i=>{const e=i.name.toUpperCase().indexOf(t.toUpperCase()),s=e+t.length,r=i.name.substring(0,e)+i.name.substring(e,s).bold()+i.name.substring(s,i.name.length);return i.name=r,e>=0}))}checkAll(t=!0){this.itemsList=this.itemsList.map((i=>Object.assign(Object.assign({},i),{checked:t}))),this.resetRenderItemsList(),this.emitComboboxChange()}closeFilterItems(){this.searchValue="",this.resetRenderItemsList()}toggleComboBox(){this.isopen=!this.isopen}renderHeader(){return e("div",{class:"header",onClick:()=>this.toggleComboBox(),onKeyDown:t=>{t.keyCode===r.SPACE&&t.preventDefault()},onKeyUp:t=>o(t,this.toggleComboBox),role:"button",tabindex:0},e("z-body",{level:3,component:"p"},this.label,e("span",null,this.selectedCounter>0&&` (${this.selectedCounter})`)),e("z-icon",{name:"caret-down",width:18,height:18}))}renderContent(){if(this.isopen)return e("div",{class:"openComboData"},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())}renderList(t){if(t)return!t.length&&this.searchValue?this.renderNoSearchResults():e("ul",null,t.map(((i,r)=>e("z-myz-list-item",{id:i.id,listitemid:i.id,action:`combo-li-${this.inputid}`,underlined:r!==t.length-1},e("z-input",{type:s.checkbox,checked:i.checked,htmlid:`combo-checkbox-${this.inputid}-${i.id}`,label:i.name,disabled:!i.checked&&this.maxcheckableitems&&this.maxcheckableitems===this.selectedCounter})))))}renderNoSearchResults(){return e("ul",null,e("z-myz-list-item",{id:"no-results",text:this.noresultslabel,listitemid:"no-results",icon:"multiply-circle"}))}renderCloseButton(){return e("div",null,e("a",{onClick:()=>this.closeFilterItems(),onKeyUp:t=>o(t,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,hasmessage:!1,onInputChange:t=>{if(27===t.detail.keycode)return this.closeFilterItems();this.filterItems(t.detail.value)}})}renderCheckAll(){if(this.searchValue)return;const t=this.selectedCounter===this.itemsList.length;return e("div",{class:"checkAllWrapper"},e("z-input",{type:s.checkbox,checked:t,htmlid:`combo-checkbox-${this.inputid}-check-all`,label:t?this.uncheckalltext:this.checkalltext,disabled:this.maxcheckableitems&&this.maxcheckableitems<this.itemsList.length}))}render(){return e("div",{"data-action":`combo-${this.inputid}`,class:`${this.isopen?"open":""} ${this.isfixed?"fixed":""}`,id:this.inputid},this.renderHeader(),this.renderContent())}static get watchers(){return{items:["watchItems"]}}};a.style=":host{display:block}:host>div.fixed{position:relative;height:42px}:host>div>.header{background-color:var(--bg-white);border-radius:var(--border-radius-small);border:var(--border-size-small) solid var(--bg-grey-700);position:relative;z-index:10;min-height:42px;margin:0;padding:0 calc(var(--space-unit) * 2);display:flex;justify-content:space-between;align-items:center;cursor:pointer}:host>div>.header:focus:focus-visible{border:var(--border-size-small) solid var(--blue500);box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>z-body{margin:0;padding:var(--space-unit) 0;color:var(--text-grey-800)}:host>div>.header>z-body>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.open>.header{border-radius:var(border-radius-small) var(border-radius-small) 0 0;border:var(--border-size-small) solid var(--blue500)}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.openComboData{background-color:var(--bg-white);border-radius:0;border:var(--border-size-small) solid var(--gray200);border-top:0px;position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2)}:host>div.open>div.openComboData>div{padding:0;max-height:235px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--myz-blue) var(--gray200)}:host>div.open>div.openComboData>z-input{margin-bottom:calc(var(--space-unit) * 2);width:100%}:host>div.open>div.openComboData>div>ul{margin:0;padding:0 3px;max-height:235px}::-webkit-scrollbar{background:linear-gradient(\n 90deg,\n var(--bg-white) 2px,\n var(--bg-grey-200) 4px,\n var(--bg-white) 8px\n );border-radius:var(--border-radius);width:10px}::-webkit-scrollbar-thumb{background-color:var(--myz-blue);border-radius:var(--border-radius);width:10px}:host>div.open>z-input{color:var(--myz-blue);margin:0 calc(var(--space-unit) * 2);width:238px;position:relative;z-index:1}:host>div.open>div.openComboData>div.search{box-shadow:1px 1px 4px 2px rgba(217, 222, 227, 0.5);margin-top:0;max-height:auto;overflow:hidden}:host>div.open>div.openComboData>div.search>ul{padding:var(--space-unit) calc(var(--space-unit) * 2);max-height:180px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--myz-blue) var(--bg-grey-200)}:host>div.open>div.openComboData>div.search>div{display:flex;justify-content:center}:host>div.open>div.openComboData>div.search>div>a{display:inline-block;cursor:pointer;color:var(--myz-blue);font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;height:44px;line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.openComboData>div.checkAllWrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * .5);text-align:left}";export{a as z_combobox}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as t,h as a,H as l}from"./p-98268a57.js";import{
|
|
1
|
+
import{r as e,c as t,h as a,H as l}from"./p-98268a57.js";import{r as d}from"./p-d2da11f4.js";const r=class{constructor(a){e(this,a),this.expand=t(this,"expand",7),this.expandedType=d.none,this.expanded=!1}emitOnExpand(){this.expand.emit({expanded:this.expanded})}handleExpand(){this.expanded=!this.expanded,this.emitOnExpand()}renderExpandButton(){return a("z-table-cell",{style:{borderRight:"none"}},this.expandedType==d.expandable?a("z-icon",{name:this.expanded?"minus-circled":"plus-circled"}):a("div",{class:"z-icon-placeholder"}))}render(){return a(l,{role:"row",expanded:this.expanded,onClick:e=>{this.expandedType===d.expandable&&"Z-CONTEXTUAL-MENU"!==e.target.nodeName&&this.handleExpand()}},this.expandedType!==d.none&&this.renderExpandButton(),a("slot",null))}};r.style='z-table-row{display:table-row;font-family:var(--font-family-sans)}z-table-row[expanded-type="expandable"]:hover{cursor:pointer}z-table-row[expanded-type="expandable"]>z-table-cell:first-child,z-table-row[expanded-type="padding"]>z-table-cell:first-child{--z-icon-width:16px;--z-icon-height:16px;width:24px;padding-left:16px;padding-right:0px;box-sizing:border-box;text-align:center;fill:var(--gray800);user-select:none}.z-icon-placeholder{width:24px;padding-right:0px}z-table-row[expanded-type="expandable"]>z-table-cell:nth-child(2),z-table-row[expanded-type="padding"]>z-table-cell:nth-child(2){padding-left:8px}z-table-row[expanded-type]:hover>z-table-cell:first-child{fill:var(--myz-blue-dark)}z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table-row[expanded]+z-table-expanded-row{display:table-row}z-table-row[expanded]>z-table-cell{border-bottom:none}';export{r as z_table_row}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as n,h as i}from"./p-98268a57.js";import{b as e}from"./p-
|
|
1
|
+
import{r as t,c as n,h as i}from"./p-98268a57.js";import{b as e}from"./p-d2da11f4.js";const a=class{constructor(i){t(this,i),this.accept=n(this,"accept",7)}emitAccept(t){this.accept.emit({ev:t})}handleOkButtonClick(t){this.emitAccept(t),"function"==typeof this.callback&&this.callback()}handleOkButtonKeyUp(t){this.emitAccept(t),"Enter"===t.code&&void 0!==this.callback&&"function"==typeof this.callback&&this.callback()}renderContentSlot(){return i("div",{class:"content",slot:"content"},i("div",null,i("h2",null,"Su questo sito usiamo i cookie."),i("div",null,i("p",null,"Se continui a navigare ci permetti di farlo secondo le regole spiegate nella nostra informativa sulla privacy relativa ai ",i("a",{href:this.cookiepolicyurl,target:"_blank"},"cookie"),"."))),i("z-button",{variant:e.primary,onClick:t=>this.handleOkButtonClick(t),onKeyUp:t=>this.handleOkButtonKeyUp(t)},"ACCETTA"))}render(){return i("z-candybar",{class:this.hide?"hidden":""},this.renderContentSlot())}};a.style=":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}z-candybar.hidden{display:none}.content{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:space-between;color:var(--text-grey-800);border-radius:calc(var(--space-unit) * .5);font-size:16px;letter-spacing:0px;line-height:24px;padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}.content>div>h2{margin:0;padding:0;color:var(--text-grey-800);border-radius:0px;font-size:18px;font-weight:var(--font-sb);letter-spacing:0px}.content>div>div{padding:calc(var(--space-unit) * 3) 0;font-size:14px;letter-spacing:0.16px;line-height:20px}.content>div>div>p{margin:0}.content>div>div>p>a{cursor:pointer;font-weight:var(--font-sb);color:var(--text-grey-800);text-decoration:underline;height:14px;display:inline-flex}.content>div>div>p>a:visited{color:var(--text-grey-800);cursor:pointer;z-index:1000}.content>z-button{margin:0;width:100%}@media only screen and (min-width: 768px){.content{width:100%;flex-direction:row;align-items:center;font-size:16px;letter-spacing:0px;line-height:24px;padding:calc(var(--space-unit) * 4) calc(var(--space-unit) * 3)}.content>div{width:560px}.content>div>h2{height:calc(var(--space-unit) * 3.5)}.content>div>div{padding:0}.content>z-button{margin:0;width:initial}}@media only screen and (min-width: 1152px){.content>div{width:935px}}@media only screen and (min-width: 1366px){.content{padding-left:calc(var(--space-unit) * 4);padding-right:calc(var(--space-unit) * 4)}}";export{a as z_cookiebar}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as o,h as e,g as i}from"./p-98268a57.js";import{N as r,p as a}from"./p-d2da11f4.js";import{i as n}from"./p-571e9db9.js";const s=class{constructor(e){t(this,e),this.emitSelected=o(this,"selected",7),this.selected=!1,this.disabled=!1,this.orientation=r.horizontal,this.size=a.big}onFocus(){this.host.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}onClick(){this.disabled||(this.selected=!0)}onSelected(){this.selected&&this.emitSelected.emit()}renderIcon(){let t=this.icon;const o=`${t.replace(/-filled$/,"")}-filled`;return this.selected&&Object.keys(n).includes(o)&&(t=o),e("z-icon",{name:t})}render(){return e("button",{role:"tab",disabled:this.disabled,title:this.htmlTitle},e("slot",{name:"icon"},this.icon&&this.renderIcon()),"horizontal"===this.orientation&&this.label)}get host(){return i(this)}static get watchers(){return{selected:["onSelected"]}}};s.style="*::before,*::after{box-sizing:border-box}:host>*{position:relative;z-index:0;display:inline-flex;align-items:center;justify-content:center;width:auto;margin:0;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);background-color:unset;text-align:center;font-size:inherit;font-family:var(--font-family-sans);line-height:inherit;letter-spacing:inherit;white-space:nowrap;color:var(--color-primary01);fill:currentColor;border:none;border-radius:var(--border-no-radius);outline:none;cursor:pointer}:host>a{text-decoration:none}:host(:not([disabled]):hover)>*,:host([selected])>*{color:var(--color-hover-secondary);fill:currentColor}:host(:not([disabled]):hover)>*::after,:host([selected])>*::after{content:'';position:absolute;background-color:var(--color-hover-secondary)}:host([orientation='horizontal']:not([disabled]):hover)>*::after,:host([orientation='horizontal'][selected])>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}slot[name=\"icon\"] z-icon,::slotted([slot=\"icon\"]){--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}:host([orientation='horizontal']) slot[name=\"icon\"] z-icon,:host([orientation='horizontal']) ::slotted([slot=\"icon\"]){margin-right:var(--space-unit)}:host(:not([disabled]):hover)>*{background-color:var(--color-background)}>*:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}:host([disabled])>*{pointer-events:all;cursor:not-allowed;color:var(--gray500);fill:currentColor}:host([size='small'])>*{font-size:var(--font-size-2);line-height:1.4;letter-spacing:0.16px}:host([size='small'][orientation='horizontal'])>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}:host([size='small'][orientation='horizontal']:not([disabled]):hover)>*::after,:host([size='small'][orientation='horizontal'][selected])>*::after{height:var(--border-size-medium)}:host([size='small']:not([orientation='vertical'])) slot[name=\"icon\"] z-icon,:host([size='small']:not([orientation='vertical'])) ::slotted([slot=\"icon\"]){--z-icon-width:14px;--z-icon-height:14px}:host([orientation='vertical'])>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}:host([orientation='vertical']:hover:not([disabled]))>*::after,:host([orientation='vertical'][selected])>*::after{width:var(--border-size-large);height:100%;top:0;right:0}";export{s as z_navigation_tab}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as
|
|
1
|
+
import{r as t,c as i,h as e,g as s}from"./p-98268a57.js";import{m as o}from"./p-d2da11f4.js";import{h as a}from"./p-d34e101f.js";import{h as r}from"./p-e43e61ac.js";import"./p-d69e14fb.js";import"./p-112455b1.js";const n=class{constructor(e){t(this,e),this.pocketToggle=i(this,"pocketToggle",7),this.status=o.preview}async open(){this.status=o.open}async close(){this.status=o.closed}emitPocketToggle(t,i){this.pocketToggle.emit({id:t,status:i})}handlePocketHeaderClick(t){if(t.detail.id&&t.detail.id===this.pocketid)switch(this.status){case o.preview:case o.closed:this.status=o.open;break;case o.open:this.status=o.closed}}handlePocketHeaderPan(t){t.detail.id&&t.detail.id===this.pocketid&&("up"===t.detail.direction?this.status=o.open:"down"===t.detail.direction&&(this.status=o.closed))}watchStatusHandler(t){this.emitPocketToggle(this.pocketid,t)}componentWillLoad(){this.emitPocketToggle(this.pocketid,this.status)}handleBackgroundClick(t){"pocketBackground"==t.target.dataset.action&&this.close()}render(){return e("div",null,e("div",{"data-action":"pocketBackground","data-pocket":this.pocketid,class:`background ${this.status}`,onClick:t=>this.handleBackgroundClick(t)}),e("div",{id:this.pocketid,class:"contentWrapper"},e("div",null,e("slot",null))))}get hostElement(){return s(this)}static get watchers(){return{status:["watchStatusHandler"]}}};n.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);width:inherit;height:100%;margin:inherit}:host>div{width:inherit;height:100%;margin:inherit}:host>div>div.background{position:fixed;left:0;right:0;top:0;bottom:0;z-index:998;width:0;height:0}:host>div>div.background.open{height:100%;width:100%}:host>div>div.contentWrapper{position:fixed;z-index:999;bottom:0;left:0;width:inherit;margin:inherit}:host>div>div.contentWrapper>div{border-radius:var(--space-unit) var(--space-unit) 0px 0px;box-shadow:0px -2px calc(var(--space-unit) * 0.5) 0px rgba(66, 69, 72, 0.4);margin:calc(var(--space-unit) * 0.5) calc(var(--space-unit) * 0.5) 0 calc(var(--space-unit) * 0.5)}";const h=class{constructor(i){t(this,i),this.status=o.preview}handlePocketToggle(t){t.detail.id&&t.detail.id===this.pocketid&&(this.status=t.detail.status)}render(){return e("main",{class:this.status},e("slot",null))}};h.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:block;width:100%;box-sizing:border-box}:host>main{background:var(--color-surface01);border-left:var(--border-size-small) solid var(--color-surface03);border-right:var(--border-size-small) solid var(--color-surface03);overflow:auto;scrollbar-width:none}:host>main.preview{max-height:225px;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.open{max-height:calc(100vh - 48px);transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.closed{height:0px;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>main.preview{max-height:157px}}";const c=class{constructor(e){t(this,e),this.pocketHeaderClick=i(this,"pocketHeaderClick",7),this.pocketHeaderPan=i(this,"pocketHeaderPan",7),this.emitPocketHeaderClick=this.emitPocketHeaderClick.bind(this)}emitPocketHeaderClick(){this.pocketHeaderClick.emit({id:this.pocketid})}emitPocketHeaderPan(t){this.pocketHeaderPan.emit({id:this.pocketid,direction:t})}componentDidLoad(){const t=new r(this.swipeWrap);t.get("pan").set({direction:r.DIRECTION_VERTICAL}),t.on("panup",(()=>this.emitPocketHeaderPan("up"))),t.on("pandown",(()=>this.emitPocketHeaderPan("down")))}render(){return e("header",{role:"button",tabindex:0,onClick:()=>this.emitPocketHeaderClick(),onKeyPress:t=>a(t,this.emitPocketHeaderClick),ref:t=>this.swipeWrap=t},e("slot",null))}};c.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:block;width:100%;box-sizing:border-box}:host>header{background:var(--color-surface01);border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--space-unit) var(--space-unit) 0px 0px;height:36px;cursor:pointer;display:flex;flex-wrap:nowrap;flex-direction:row;justify-content:center;align-items:center}:host>header:focus{outline:none}:host>header::-moz-focus-inner{border:0}";export{n as z_pocket,h as z_pocket_body,c as z_pocket_header}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e,n,o){return e(o={path:n,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},o.exports),o.exports}export{e as a,n as c}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as n,H as a,g as i}from"./p-98268a57.js";import{
|
|
1
|
+
import{r as t,h as n,H as a,g as i}from"./p-98268a57.js";import{y as o,b as s,c as e}from"./p-d2da11f4.js";import{c as l}from"./p-286363e2.js";import"./p-112455b1.js";const r=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(a,null,this.showButton&&n("div",{class:l("button-container",{visible:this.isMenuOpened})},n("div",{class:"button-content"},n("z-button",{icon:"contextual-menu",variant:s.tertiary,size:e["x-small"],onClick:()=>this.handleMenu(),square:!0}),n("div",{class:l("contextual-menu-container",{visible:this.isMenuOpened})},n("slot",{name:"contextual-menu"})))),n("slot",null))}get host(){return i(this)}};r.style=':host{display:table-cell;background-color:var(--color-white);border-bottom:var(--border-size-small) solid var(--bg-grey-200);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;right:8px;top:8px;z-index:5}.button-content{position:relative}.contextual-menu-container{display:none;position:absolute;top:calc(100% - var(--space-unit));right:0}.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{r as z_table_cell}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as o,h as e,g as i}from"./p-98268a57.js";import{N as r,p as a}from"./p-d2da11f4.js";import{i as n}from"./p-571e9db9.js";const s=class{constructor(e){t(this,e),this.emitSelected=o(this,"selected",7),this.selected=!1,this.disabled=!1,this.orientation=r.horizontal,this.size=a.big}onFocus(){this.host.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}onClick(){this.selected=!0}onSelected(){this.selected&&this.emitSelected.emit()}renderIcon(){let t=this.icon;const o=`${t.replace(/-filled$/,"")}-filled`;return this.selected&&Object.keys(n).includes(o)&&(t=o),e("z-icon",{name:t})}render(){return e("a",{role:"tab",href:!this.disabled&&this.href,title:this.htmlTitle,target:this.target},e("slot",{name:"icon"},this.icon&&this.renderIcon()),"horizontal"===this.orientation&&this.label)}get host(){return i(this)}static get watchers(){return{selected:["onSelected"]}}};s.style="*::before,*::after{box-sizing:border-box}:host>*{position:relative;z-index:0;display:inline-flex;align-items:center;justify-content:center;width:auto;margin:0;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);background-color:unset;text-align:center;font-size:inherit;font-family:var(--font-family-sans);line-height:inherit;letter-spacing:inherit;white-space:nowrap;color:var(--color-primary01);fill:currentColor;border:none;border-radius:var(--border-no-radius);outline:none;cursor:pointer}:host>a{text-decoration:none}:host(:not([disabled]):hover)>*,:host([selected])>*{color:var(--color-hover-secondary);fill:currentColor}:host(:not([disabled]):hover)>*::after,:host([selected])>*::after{content:'';position:absolute;background-color:var(--color-hover-secondary)}:host([orientation='horizontal']:not([disabled]):hover)>*::after,:host([orientation='horizontal'][selected])>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}slot[name=\"icon\"] z-icon,::slotted([slot=\"icon\"]){--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}:host([orientation='horizontal']) slot[name=\"icon\"] z-icon,:host([orientation='horizontal']) ::slotted([slot=\"icon\"]){margin-right:var(--space-unit)}:host(:not([disabled]):hover)>*{background-color:var(--color-background)}>*:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}:host([disabled])>*{pointer-events:all;cursor:not-allowed;color:var(--gray500);fill:currentColor}:host([size='small'])>*{font-size:var(--font-size-2);line-height:1.4;letter-spacing:0.16px}:host([size='small'][orientation='horizontal'])>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}:host([size='small'][orientation='horizontal']:not([disabled]):hover)>*::after,:host([size='small'][orientation='horizontal'][selected])>*::after{height:var(--border-size-medium)}:host([size='small']:not([orientation='vertical'])) slot[name=\"icon\"] z-icon,:host([size='small']:not([orientation='vertical'])) ::slotted([slot=\"icon\"]){--z-icon-width:14px;--z-icon-height:14px}:host([orientation='vertical'])>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}:host([orientation='vertical']:hover:not([disabled]))>*::after,:host([orientation='vertical'][selected])>*::after{width:var(--border-size-large);height:100%;top:0;right:0}";export{s as z_navigation_tab_link}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as s,H as
|
|
1
|
+
import{r as t,h as s,H as a}from"./p-98268a57.js";import{A as i}from"./p-d2da11f4.js";const e=class{constructor(s){t(this,s),this.size=i.medium,this.textColor="text-white",this.backgroundColor="bg-grey-700",this.text||this.image||console.warn("z-avatar must contain at least one prop between text and image")}getTextSize(){return this.size===i.small?"5":this.size===i.medium?"4":this.size===i.large?"2":void 0}render(){return s(a,{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{font-family:var(--font-family-sans);background-color:var(--bg-grey-700);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;text-transform:uppercase}:host(.small),:host(.small)>img{height:calc(var(--space-unit) * 3);width:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{height:calc(var(--space-unit) * 4);width:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{height:calc(var(--space-unit) * 5);width:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";export{e as z_avatar}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as a,H as i,g as e}from"./p-98268a57.js";import{N as o,p as s}from"./p-d2da11f4.js";const r=class{constructor(a){t(this,a),this.orientation=o.horizontal,this.size=s.big}get direction(){return this.orientation==o.horizontal?"Left":"Top"}get dimension(){return this.orientation==o.horizontal?"Width":"Height"}setChildrenSize(){Array.from(this.host.children).forEach((t=>{t.setAttribute("size",this.size)}))}setChildrenOrientation(){Array.from(this.host.children).forEach((t=>{t.setAttribute("orientation",this.orientation)}))}checkScrollVisible(){this.tabsNav&&(this.canNavigate=this.tabsNav[`scroll${this.dimension}`]>this.tabsNav[`client${this.dimension}`])}checkScrollEnabled(){this.tabsNav&&(this.canNavigateNext=this.tabsNav[`scroll${this.direction}`]+this.tabsNav[`client${this.dimension}`]<this.tabsNav[`scroll${this.dimension}`],this.canNavigatePrev=this.tabsNav[`scroll${this.direction}`]>0)}onTabSelected(t){const a=t.target;Array.from(this.host.children).forEach((t=>{t!==a&&t.removeAttribute("selected")}))}navigateBackwards(){const t=parseFloat(getComputedStyle(this.host).getPropertyValue("--safe-scroll-area"));this.tabsNav.scrollBy({[this.direction.toLowerCase()]:0-this.tabsNav[`client${this.dimension}`]/2-t,behavior:"smooth"})}navigateForward(){const t=parseFloat(getComputedStyle(this.host).getPropertyValue("--safe-scroll-area"));this.tabsNav.scrollBy({[this.direction.toLowerCase()]:this.tabsNav[`scroll${this.direction}`]+this.tabsNav[`client${this.dimension}`]/2+t,behavior:"smooth"})}componentDidRender(){this.setChildrenSize(),this.setChildrenOrientation(),this.checkScrollVisible()}render(){return a(i,{class:{"interactive-2":this.size===s.small,"interactive-1":this.size!==s.small},scrollable:this.canNavigate},this.canNavigate&&a("button",{class:"navigation-button",onClick:this.navigateBackwards.bind(this),tabindex:"-1",disabled:!this.canNavigatePrev},a("z-icon",{name:this.orientation==o.horizontal?"chevron-left":"chevron-up",width:16,height:16})),a("nav",{role:"tablist",ref:t=>this.tabsNav=null!=t?t:this.tabsNav,onScroll:this.checkScrollEnabled.bind(this)},a("slot",null)),this.canNavigate&&a("button",{class:"navigation-button",onClick:this.navigateForward.bind(this),tabindex:"-1",disabled:!this.canNavigateNext},a("z-icon",{name:this.orientation==o.horizontal?"chevron-right":"chevron-down",width:16,height:16})))}get host(){return e(this)}static get watchers(){return{size:["setChildrenSize"],orientation:["setChildrenOrientation"],canNavigate:["checkScrollEnabled"]}}};r.style=":host{--safe-scroll-area:4px;--negative-safe-scroll-area:calc(-1 * var(--safe-scroll-area));position:relative;display:flex;flex-direction:row;z-index:0;margin:var(--negative-safe-scroll-area);padding:var(--safe-scroll-area);font-family:var(--font-family-sans);font-weight:var(--font-rg);overflow:hidden}:host,:host *,::slotted(*){box-sizing:border-box}::-webkit-scrollbar{display:none}.navigation-button{position:absolute;display:flex;align-items:center;justify-content:center;margin:0;padding:0;background:var(--color-white);border:none;outline:none;fill:var(--color-primary01);border-radius:var(--border-no-radius);cursor:pointer;z-index:1}.navigation-button:focus{fill:var(--color-primary01);box-shadow:var(--shadow-focus-primary)}.navigation-button:disabled{display:none}nav{display:flex;align-items:center;justify-content:flex-start;overflow:auto;margin:var(--negative-safe-scroll-area);padding:var(--safe-scroll-area);scroll-padding:var(--safe-scroll-area);scrollbar-width:none}:host([orientation='horizontal']) nav{width:100%}:host([orientation='horizontal']) .navigation-button{top:0;height:100%;width:calc((var(--space-unit) * 4) + var(--safe-scroll-area))}:host([orientation='horizontal']) .navigation-button:first-child{left:0;padding-left:var(--safe-scroll-area);box-shadow:5px 0px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='horizontal']) .navigation-button:last-child{right:0;padding-right:4px;box-shadow:-5px 0px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='vertical']){flex-direction:column;width:fit-content}:host([orientation='vertical']) nav{flex-direction:column;align-items:stretch;height:100%}:host([orientation='vertical']) .navigation-button{left:0;width:100%;height:calc((var(--space-unit) * 4) + var(--safe-scroll-area))}:host([orientation='vertical']) .navigation-button:first-child{top:0;padding-top:var(--safe-scroll-area);box-shadow:0px 5px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='vertical']) .navigation-button:last-child{bottom:0;padding-bottom:var(--safe-scroll-area);box-shadow:0px -5px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([size='small'][orientation='vertical']) .navigation-button{height:calc(var(--space-unit) * 4)}";export{r as z_navigation_tabs}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as r,H as t}from"./p-98268a57.js";import{Z as s}from"./p-d2da11f4.js";const i=class{constructor(r){a(this,r),this.mode=s.polite}render(){return r(t,{"aria-live":this.mode,"aria-atomic":"true","aria-relevant":"additions"},r("slot",null))}};export{i as z_aria_alert}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,h as t,H as s,g as c}from"./p-98268a57.js";import{c as e}from"./p-
|
|
1
|
+
import{r as a,h as t,H as s,g as c}from"./p-98268a57.js";import{c as e}from"./p-286363e2.js";import"./p-112455b1.js";const i=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(s,null,t("z-body",{level:3,variant:"semibold"},this.message),t("br",null),!!this.subtitle&&t("z-body",{level:4,variant:"regular"},this.subtitle),(!!this.hasCta1Slot||!!this.hasCta2Slot)&&t("div",{class:e("cta",{has2Cta:!!this.hasCta1Slot&&!!this.hasCta2Slot})},t("slot",{name:"cta1"}),t("slot",{name:"cta2"})))}get hostElement(){return c(this)}};i.style=".sc-z-table-empty-box-h{display:block;padding:calc(var(--space-unit)) calc(var(--space-unit) * 3)\n 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.has2Cta.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)\n calc(var(--space-unit) * 3) 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.has2Cta.sc-z-table-empty-box{flex-direction:row}}";export{i as z_table_empty_box}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,g as i}from"./p-98268a57.js";import{D as r}from"./p-
|
|
1
|
+
import{r as t,h as e,g as i}from"./p-98268a57.js";import{D as r}from"./p-d2da11f4.js";import{a as s,g as o,h as n}from"./p-d34e101f.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;switch(typeof this.data){case"string":return this.links=null!==(t=s(this.data))&&void 0!==t?t:[];default:return 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:"footerLeft"},e("slot",{name:"footer-left"})),e("div",{class:"footerCenter"},e("div",{class:"bulletContainer"},Object.keys(this.links).map((t=>this.renderBullet(parseInt(t)))))),e("div",{class:"footerRight"},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{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:block;width:inherit}:host>div{display:flex;flex-direction:column;width:inherit}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;top:50%;width:auto;cursor:pointer;transition:0.6s ease;margin:0 var(--space-unit);fill:var(--color-primary01);z-index:10}main .scroll.disabled{opacity:50%;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;transition:all 300ms;line-height:0px;overflow-y:hidden}footer{height:56px;width:100%;align-items:center;display:grid;grid-template-columns:2;grid-template-rows:2;grid-template-areas:"center center" "left right";border-top:var(--border-base) solid var(--color-surface02)}footer>div{align-items:center;width:100%}footer .footerCenter{grid-area:center}footer .footerLeft{grid-area:left}footer .footerRight{grid-area:right}footer .bulletContainer{display:flex;margin:0 auto;justify-content:center;align-items:center;min-height:60px}footer .bulletContainer .bullet{width:8px;height:8px;border-radius:50%;background-color:var(--bg-neutral-150);margin:var(--space-unit) 2px;pointer-events:none}footer .bulletContainer .bullet.selected{background-color:var(--bg-neutral-400)}@media only screen and (min-width: 768px){footer{grid-template-columns:1fr 2fr 1fr;grid-template-rows:1;grid-template-areas:"left center right";height:76px;border-top:var(--border-base) solid var(--color-surface02)}footer .bulletContainer .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 .bulletContainer .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);pointer-events:auto;cursor:pointer}}';export{a as z_slideshow}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as t,h as r}from"./p-98268a57.js";import{
|
|
1
|
+
import{r as e,c as t,h as r}from"./p-98268a57.js";import{o as i}from"./p-d2da11f4.js";const o=class{constructor(r){e(this,r),this.undoAction=t(this,"undoAction",7)}emitUndoAction(){this.undoAction.emit({actionType:this.type})}handleSpaceKeyPress(e){32!=e.keyCode&&13!=e.keyCode||(e.preventDefault(),this.emitUndoAction())}handleActionButtonClick(e){e.preventDefault(),this.emitUndoAction()}retrieveClass(){let e="";switch(this.type){case"add":e="addAlert";break;case"remove":e="removeAlert";break;default:e=""}return e}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:"relativeContainer"},r("z-icon",{name:this.iconname,width:18,height:18,class:this.retrieveClass()}),r("span",{class:"contentText"},this.contenttext),this.actiontext&&!!this.actiontext.trim().length&&r("span",{role:"button",tabindex:"0",class:"contentAction",onClick:e=>{this.handleActionButtonClick(e)},onKeyPress:e=>{this.handleSpaceKeyPress(e)}},this.actiontext))))}};o.style=":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}";export{o as z_myz_card_alert}
|