@zanichelli/albe-web-components 4.2.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/cjs/{index-0e75c8cc.js → index-5c16dc2b.js} +33 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-97262bbd.js → utils-15c8b978.js} +1 -1
- package/dist/cjs/{utils-155eec04.js → utils-58afb908.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-app-switcher_9.cjs.entry.js +3 -3
- 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-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-button.cjs.entry.js +1 -1
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/z-file.cjs.entry.js +1 -1
- package/dist/cjs/z-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-input-deprecated.cjs.entry.js +2 -2
- package/dist/cjs/z-input-label_2.cjs.entry.js +2 -2
- package/dist/cjs/z-list-group.cjs.entry.js +1 -1
- package/dist/cjs/z-list_2.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 +1 -1
- package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
- package/dist/cjs/z-offcanvas.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +1 -1
- package/dist/cjs/z-pagination-bar.cjs.entry.js +2 -2
- package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +97 -303
- package/dist/cjs/z-popover.cjs.entry.js +2 -2
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -2
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
- package/dist/cjs/z-status-tag.cjs.entry.js +1 -1
- package/dist/cjs/z-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -2
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/collection/beans/index.js +33 -0
- package/dist/collection/deprecated/z-popover-deprecated/index.js +173 -368
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +188 -86
- package/dist/esm/{index-c1ce8cab.js → index-3786a7ff.js} +34 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-fa9f38ec.js → utils-14da09de.js} +1 -1
- package/dist/esm/{utils-99c70c57.js → utils-d49ae9f0.js} +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-app-switcher_9.entry.js +3 -3
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +1 -1
- package/dist/esm/z-button-deprecated.entry.js +1 -1
- package/dist/esm/z-button.entry.js +1 -1
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/z-file-upload.entry.js +2 -2
- package/dist/esm/z-file.entry.js +1 -1
- package/dist/esm/z-footer.entry.js +1 -1
- package/dist/esm/z-input-deprecated.entry.js +2 -2
- package/dist/esm/z-input-label_2.entry.js +2 -2
- package/dist/esm/z-list-group.entry.js +1 -1
- package/dist/esm/z-list_2.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 +1 -1
- package/dist/esm/z-navigation-tab.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +1 -1
- package/dist/esm/z-offcanvas.entry.js +1 -1
- package/dist/esm/z-otp.entry.js +1 -1
- package/dist/esm/z-pagination-bar.entry.js +2 -2
- package/dist/esm/z-pocket_3.entry.js +2 -2
- package/dist/esm/z-popover-deprecated.entry.js +98 -304
- package/dist/esm/z-popover.entry.js +2 -2
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-skip-to-content.entry.js +2 -2
- package/dist/esm/z-slideshow.entry.js +2 -2
- package/dist/esm/z-status-tag.entry.js +1 -1
- package/dist/esm/z-table-cell.entry.js +1 -1
- package/dist/esm/z-table-header.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/z-toggle-switch.entry.js +2 -2
- package/dist/esm/z-tooltip-deprecated.entry.js +1 -1
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/types/beans/index.d.ts +30 -0
- package/dist/types/components.d.ts +28 -24
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +27 -51
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-805af37b.entry.js → p-044edef0.entry.js} +1 -1
- package/dist/web-components-library/{p-897f9491.entry.js → p-0487d5f1.entry.js} +1 -1
- package/dist/web-components-library/{p-28e4abc4.entry.js → p-0610360b.entry.js} +1 -1
- package/{www/build/p-b6cd034b.js → dist/web-components-library/p-0b222589.js} +1 -1
- package/dist/web-components-library/{p-10be0462.entry.js → p-0bcc78d4.entry.js} +1 -1
- package/{www/build/p-91ec5eb4.entry.js → dist/web-components-library/p-0ccda54f.entry.js} +1 -1
- package/dist/web-components-library/{p-514719d2.entry.js → p-10c3285d.entry.js} +1 -1
- package/dist/web-components-library/{p-e007cd0b.entry.js → p-13174553.entry.js} +1 -1
- package/dist/web-components-library/{p-55f09348.entry.js → p-18c0f701.entry.js} +1 -1
- package/dist/web-components-library/{p-41f33f7b.entry.js → p-1c2331a4.entry.js} +1 -1
- package/dist/web-components-library/{p-f61fd81e.entry.js → p-206e5b31.entry.js} +1 -1
- package/dist/web-components-library/{p-e74b3fd9.entry.js → p-248e6c7d.entry.js} +1 -1
- package/dist/web-components-library/{p-8ddbbe24.entry.js → p-24ec049a.entry.js} +1 -1
- package/dist/web-components-library/{p-c8383456.entry.js → p-24f3a39e.entry.js} +1 -1
- package/dist/web-components-library/{p-970bd07c.entry.js → p-25b1a634.entry.js} +1 -1
- package/{www/build/p-870dabdc.entry.js → dist/web-components-library/p-286a2d0e.entry.js} +1 -1
- package/dist/web-components-library/{p-6bbd53ec.entry.js → p-286c4c99.entry.js} +1 -1
- package/dist/web-components-library/{p-f78d6123.entry.js → p-287678e2.entry.js} +1 -1
- package/dist/web-components-library/{p-ff4a0f6f.entry.js → p-2c86d1ea.entry.js} +1 -1
- package/dist/web-components-library/{p-5dcbba4e.entry.js → p-2d93e9e9.entry.js} +1 -1
- package/dist/web-components-library/{p-15fa8ca4.entry.js → p-33120ebd.entry.js} +1 -1
- package/{www/build/p-cd88cead.entry.js → dist/web-components-library/p-35f7cac2.entry.js} +1 -1
- package/dist/web-components-library/{p-46aecb12.entry.js → p-3dc21b58.entry.js} +1 -1
- package/dist/web-components-library/{p-b9cc2dfc.entry.js → p-4906f5a6.entry.js} +1 -1
- package/{www/build/p-1a76a57d.entry.js → dist/web-components-library/p-49602979.entry.js} +1 -1
- package/dist/web-components-library/{p-fdd91263.entry.js → p-49f8c86b.entry.js} +1 -1
- package/dist/web-components-library/{p-92895bce.entry.js → p-4a8fe1e0.entry.js} +1 -1
- package/dist/web-components-library/{p-1d5aa37b.entry.js → p-5553f117.entry.js} +1 -1
- package/dist/web-components-library/{p-053846df.entry.js → p-5a2dd46c.entry.js} +1 -1
- package/dist/web-components-library/{p-4be52491.entry.js → p-5c20338f.entry.js} +1 -1
- package/dist/web-components-library/{p-d04f3cb6.entry.js → p-60e042a0.entry.js} +1 -1
- package/dist/web-components-library/p-6897ca8c.js +1 -0
- package/dist/web-components-library/{p-53dade4b.entry.js → p-6d79baec.entry.js} +1 -1
- package/{www/build/p-78df5dbf.entry.js → dist/web-components-library/p-6db40dac.entry.js} +1 -1
- package/{www/build/p-fbfaa699.entry.js → dist/web-components-library/p-71f19680.entry.js} +1 -1
- package/{www/build/p-d6361790.entry.js → dist/web-components-library/p-7ce57dfd.entry.js} +1 -1
- package/dist/web-components-library/{p-8ce4b2c4.entry.js → p-80044bc0.entry.js} +1 -1
- package/{www/build/p-dd0efdbf.entry.js → dist/web-components-library/p-82217c76.entry.js} +1 -1
- package/dist/web-components-library/{p-0f6edb58.entry.js → p-95414290.entry.js} +1 -1
- package/dist/web-components-library/{p-659fc25e.entry.js → p-987f1f8a.entry.js} +1 -1
- package/dist/web-components-library/{p-1b1717c9.entry.js → p-99a76b4d.entry.js} +1 -1
- package/{www/build/p-4d6f2f01.entry.js → dist/web-components-library/p-9b563575.entry.js} +1 -1
- package/dist/web-components-library/{p-caa21a6f.entry.js → p-9c81ed70.entry.js} +1 -1
- package/dist/web-components-library/{p-c042e745.entry.js → p-a4245c8a.entry.js} +1 -1
- package/dist/web-components-library/{p-990b8236.entry.js → p-a88f4e49.entry.js} +1 -1
- package/dist/web-components-library/{p-bfc78a89.entry.js → p-a98ccf36.entry.js} +1 -1
- package/dist/web-components-library/{p-6c52ed1b.entry.js → p-bf3ea7b5.entry.js} +1 -1
- package/dist/web-components-library/{p-7f1cc90f.js → p-d41ca4c3.js} +1 -1
- package/{www/build/p-eca4cb15.entry.js → dist/web-components-library/p-e30a093f.entry.js} +1 -1
- package/dist/web-components-library/p-e9628876.entry.js +1 -0
- package/dist/web-components-library/p-ec0c7a06.entry.js +1 -0
- package/dist/web-components-library/{p-1eb357e8.entry.js → p-f9f5ab0b.entry.js} +1 -1
- package/dist/web-components-library/{p-99a562cb.entry.js → p-fd404599.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-805af37b.entry.js → p-044edef0.entry.js} +1 -1
- package/www/build/{p-897f9491.entry.js → p-0487d5f1.entry.js} +1 -1
- package/www/build/{p-28e4abc4.entry.js → p-0610360b.entry.js} +1 -1
- package/{dist/web-components-library/p-b6cd034b.js → www/build/p-0b222589.js} +1 -1
- package/www/build/{p-10be0462.entry.js → p-0bcc78d4.entry.js} +1 -1
- package/{dist/web-components-library/p-91ec5eb4.entry.js → www/build/p-0ccda54f.entry.js} +1 -1
- package/www/build/{p-514719d2.entry.js → p-10c3285d.entry.js} +1 -1
- package/www/build/{p-e007cd0b.entry.js → p-13174553.entry.js} +1 -1
- package/www/build/{p-55f09348.entry.js → p-18c0f701.entry.js} +1 -1
- package/www/build/{p-41f33f7b.entry.js → p-1c2331a4.entry.js} +1 -1
- package/www/build/{p-f61fd81e.entry.js → p-206e5b31.entry.js} +1 -1
- package/www/build/{p-e74b3fd9.entry.js → p-248e6c7d.entry.js} +1 -1
- package/www/build/{p-8ddbbe24.entry.js → p-24ec049a.entry.js} +1 -1
- package/www/build/{p-c8383456.entry.js → p-24f3a39e.entry.js} +1 -1
- package/www/build/{p-970bd07c.entry.js → p-25b1a634.entry.js} +1 -1
- package/{dist/web-components-library/p-870dabdc.entry.js → www/build/p-286a2d0e.entry.js} +1 -1
- package/www/build/{p-6bbd53ec.entry.js → p-286c4c99.entry.js} +1 -1
- package/www/build/{p-f78d6123.entry.js → p-287678e2.entry.js} +1 -1
- package/www/build/{p-ff4a0f6f.entry.js → p-2c86d1ea.entry.js} +1 -1
- package/www/build/{p-5dcbba4e.entry.js → p-2d93e9e9.entry.js} +1 -1
- package/www/build/{p-15fa8ca4.entry.js → p-33120ebd.entry.js} +1 -1
- package/{dist/web-components-library/p-cd88cead.entry.js → www/build/p-35f7cac2.entry.js} +1 -1
- package/www/build/{p-46aecb12.entry.js → p-3dc21b58.entry.js} +1 -1
- package/www/build/{p-b9cc2dfc.entry.js → p-4906f5a6.entry.js} +1 -1
- package/{dist/web-components-library/p-1a76a57d.entry.js → www/build/p-49602979.entry.js} +1 -1
- package/www/build/{p-fdd91263.entry.js → p-49f8c86b.entry.js} +1 -1
- package/www/build/{p-92895bce.entry.js → p-4a8fe1e0.entry.js} +1 -1
- package/www/build/{p-1d5aa37b.entry.js → p-5553f117.entry.js} +1 -1
- package/www/build/{p-053846df.entry.js → p-5a2dd46c.entry.js} +1 -1
- package/www/build/{p-4be52491.entry.js → p-5c20338f.entry.js} +1 -1
- package/www/build/{p-d04f3cb6.entry.js → p-60e042a0.entry.js} +1 -1
- package/www/build/p-6897ca8c.js +1 -0
- package/www/build/{p-53dade4b.entry.js → p-6d79baec.entry.js} +1 -1
- package/{dist/web-components-library/p-78df5dbf.entry.js → www/build/p-6db40dac.entry.js} +1 -1
- package/{dist/web-components-library/p-fbfaa699.entry.js → www/build/p-71f19680.entry.js} +1 -1
- package/{dist/web-components-library/p-d6361790.entry.js → www/build/p-7ce57dfd.entry.js} +1 -1
- package/www/build/{p-8ce4b2c4.entry.js → p-80044bc0.entry.js} +1 -1
- package/{dist/web-components-library/p-dd0efdbf.entry.js → www/build/p-82217c76.entry.js} +1 -1
- package/www/build/p-88b56b6e.css +1 -0
- package/www/build/{p-0f6edb58.entry.js → p-95414290.entry.js} +1 -1
- package/www/build/{p-659fc25e.entry.js → p-987f1f8a.entry.js} +1 -1
- package/www/build/{p-1b1717c9.entry.js → p-99a76b4d.entry.js} +1 -1
- package/{dist/web-components-library/p-4d6f2f01.entry.js → www/build/p-9b563575.entry.js} +1 -1
- package/www/build/{p-caa21a6f.entry.js → p-9c81ed70.entry.js} +1 -1
- package/www/build/{p-c042e745.entry.js → p-a4245c8a.entry.js} +1 -1
- package/www/build/{p-990b8236.entry.js → p-a88f4e49.entry.js} +1 -1
- package/www/build/{p-bfc78a89.entry.js → p-a98ccf36.entry.js} +1 -1
- package/www/build/p-ae4eff83.js +1 -0
- package/www/build/{p-6c52ed1b.entry.js → p-bf3ea7b5.entry.js} +1 -1
- package/www/build/{p-7f1cc90f.js → p-d41ca4c3.js} +1 -1
- package/{dist/web-components-library/p-eca4cb15.entry.js → www/build/p-e30a093f.entry.js} +1 -1
- package/www/build/p-e9628876.entry.js +1 -0
- package/www/build/p-ec0c7a06.entry.js +1 -0
- package/www/build/{p-1eb357e8.entry.js → p-f9f5ab0b.entry.js} +1 -1
- package/www/build/{p-99a562cb.entry.js → p-fd404599.entry.js} +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/web-components-library/p-b359a3b4.entry.js +0 -1
- package/dist/web-components-library/p-ed1cd6b1.js +0 -1
- package/dist/web-components-library/p-f26251dd.entry.js +0 -1
- package/www/build/p-975e9d42.js +0 -129
- package/www/build/p-b359a3b4.entry.js +0 -1
- package/www/build/p-ed1cd6b1.js +0 -1
- package/www/build/p-f26251dd.entry.js +0 -1
- package/www/build/p-fcff1237.css +0 -812
package/www/build/p-975e9d42.js
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { B as BUILD, c as consoleDevInfo, p as plt, w as win, H, d as doc, N as NAMESPACE, a as promiseResolve, b as bootstrapLazy } from './index-9f807ae6.js';
|
|
2
|
-
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
3
|
-
|
|
4
|
-
/*
|
|
5
|
-
Stencil Client Patch Browser v2.15.2 | MIT Licensed | https://stenciljs.com
|
|
6
|
-
*/
|
|
7
|
-
const getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\s|-/g, '_')}`;
|
|
8
|
-
const patchBrowser = () => {
|
|
9
|
-
// NOTE!! This fn cannot use async/await!
|
|
10
|
-
if (BUILD.isDev && !BUILD.isTesting) {
|
|
11
|
-
consoleDevInfo('Running in development mode.');
|
|
12
|
-
}
|
|
13
|
-
if (BUILD.cssVarShim) {
|
|
14
|
-
// shim css vars
|
|
15
|
-
plt.$cssShim$ = win.__cssshim;
|
|
16
|
-
}
|
|
17
|
-
if (BUILD.cloneNodeFix) {
|
|
18
|
-
// opted-in to polyfill cloneNode() for slot polyfilled components
|
|
19
|
-
patchCloneNodeFix(H.prototype);
|
|
20
|
-
}
|
|
21
|
-
if (BUILD.profile && !performance.mark) {
|
|
22
|
-
// not all browsers support performance.mark/measure (Safari 10)
|
|
23
|
-
// because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,
|
|
24
|
-
// simply stub the implementations out.
|
|
25
|
-
// TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
performance.mark = performance.measure = () => {
|
|
28
|
-
/*noop*/
|
|
29
|
-
};
|
|
30
|
-
performance.getEntriesByName = () => [];
|
|
31
|
-
}
|
|
32
|
-
// @ts-ignore
|
|
33
|
-
const scriptElm = BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim
|
|
34
|
-
? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\/${NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) ||
|
|
35
|
-
s.getAttribute('data-stencil-namespace') === NAMESPACE)
|
|
36
|
-
: null;
|
|
37
|
-
const importMeta = import.meta.url;
|
|
38
|
-
const opts = BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {};
|
|
39
|
-
if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {
|
|
40
|
-
// Safari < v11 support: This IF is true if it's Safari below v11.
|
|
41
|
-
// This fn cannot use async/await since Safari didn't support it until v11,
|
|
42
|
-
// however, Safari 10 did support modules. Safari 10 also didn't support "nomodule",
|
|
43
|
-
// so both the ESM file and nomodule file would get downloaded. Only Safari
|
|
44
|
-
// has 'onbeforeload' in the script, and "history.scrollRestoration" was added
|
|
45
|
-
// to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.
|
|
46
|
-
// IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.
|
|
47
|
-
return {
|
|
48
|
-
then() {
|
|
49
|
-
/* promise noop */
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
if (!BUILD.safari10 && importMeta !== '') {
|
|
54
|
-
opts.resourcesUrl = new URL('.', importMeta).href;
|
|
55
|
-
}
|
|
56
|
-
else if (BUILD.dynamicImportShim || BUILD.safari10) {
|
|
57
|
-
opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;
|
|
58
|
-
if (BUILD.dynamicImportShim) {
|
|
59
|
-
patchDynamicImport(opts.resourcesUrl, scriptElm);
|
|
60
|
-
}
|
|
61
|
-
if (BUILD.dynamicImportShim && !win.customElements) {
|
|
62
|
-
// module support, but no custom elements support (Old Edge)
|
|
63
|
-
// @ts-ignore
|
|
64
|
-
return import(/* webpackChunkName: "polyfills-dom" */ './dom-7cd9cf71.js').then(() => opts);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
return promiseResolve(opts);
|
|
68
|
-
};
|
|
69
|
-
const patchDynamicImport = (base, orgScriptElm) => {
|
|
70
|
-
const importFunctionName = getDynamicImportFunction(NAMESPACE);
|
|
71
|
-
try {
|
|
72
|
-
// test if this browser supports dynamic imports
|
|
73
|
-
// There is a caching issue in V8, that breaks using import() in Function
|
|
74
|
-
// By generating a random string, we can workaround it
|
|
75
|
-
// Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info
|
|
76
|
-
win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);
|
|
77
|
-
}
|
|
78
|
-
catch (e) {
|
|
79
|
-
// this shim is specifically for browsers that do support "esm" imports
|
|
80
|
-
// however, they do NOT support "dynamic" imports
|
|
81
|
-
// basically this code is for old Edge, v18 and below
|
|
82
|
-
const moduleMap = new Map();
|
|
83
|
-
win[importFunctionName] = (src) => {
|
|
84
|
-
const url = new URL(src, base).href;
|
|
85
|
-
let mod = moduleMap.get(url);
|
|
86
|
-
if (!mod) {
|
|
87
|
-
const script = doc.createElement('script');
|
|
88
|
-
script.type = 'module';
|
|
89
|
-
script.crossOrigin = orgScriptElm.crossOrigin;
|
|
90
|
-
script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {
|
|
91
|
-
type: 'application/javascript',
|
|
92
|
-
}));
|
|
93
|
-
mod = new Promise((resolve) => {
|
|
94
|
-
script.onload = () => {
|
|
95
|
-
resolve(win[importFunctionName].m);
|
|
96
|
-
script.remove();
|
|
97
|
-
};
|
|
98
|
-
});
|
|
99
|
-
moduleMap.set(url, mod);
|
|
100
|
-
doc.head.appendChild(script);
|
|
101
|
-
}
|
|
102
|
-
return mod;
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
const patchCloneNodeFix = (HTMLElementPrototype) => {
|
|
107
|
-
const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;
|
|
108
|
-
HTMLElementPrototype.cloneNode = function (deep) {
|
|
109
|
-
if (this.nodeName === 'TEMPLATE') {
|
|
110
|
-
return nativeCloneNodeFn.call(this, deep);
|
|
111
|
-
}
|
|
112
|
-
const clonedNode = nativeCloneNodeFn.call(this, false);
|
|
113
|
-
const srcChildNodes = this.childNodes;
|
|
114
|
-
if (deep) {
|
|
115
|
-
for (let i = 0; i < srcChildNodes.length; i++) {
|
|
116
|
-
// Node.ATTRIBUTE_NODE === 2, and checking because IE11
|
|
117
|
-
if (srcChildNodes[i].nodeType !== 2) {
|
|
118
|
-
clonedNode.appendChild(srcChildNodes[i].cloneNode(true));
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
return clonedNode;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
patchBrowser().then(options => {
|
|
127
|
-
globalScripts();
|
|
128
|
-
return bootstrapLazy(JSON.parse("[[\"z-footer\",[[1,\"z-footer\",{\"data\":[1],\"productName\":[1,\"product-name\"],\"productVersion\":[1,\"product-version\"],\"productCreditsLink\":[1,\"product-credits-link\"],\"showReportAProblemButton\":[4,\"show-report-a-problem-button\"],\"contentMaxWidth\":[2,\"content-max-width\"]},[[0,\"zLinkClick\",\"zLinkClickListener\"]]]]],[\"z-file-upload\",[[6,\"z-file-upload\",{\"type\":[1537],\"buttonVariant\":[1,\"button-variant\"],\"acceptedFormat\":[1,\"accepted-format\"],\"fileMaxSize\":[2,\"file-max-size\"],\"mainTitle\":[1,\"main-title\"],\"description\":[1],\"filesNumber\":[32],\"invalidFiles\":[32]},[[0,\"removeFile\",\"removeFileListener\"],[0,\"fileDropped\",\"fileDroppedListener\"]]]]],[\"z-input-deprecated\",[[2,\"z-input-deprecated\",{\"htmlid\":[1],\"type\":[1],\"name\":[1],\"label\":[1],\"ariaLabel\":[1,\"aria-label\"],\"value\":[1025],\"disabled\":[4],\"readonly\":[4],\"required\":[4],\"checked\":[1028],\"placeholder\":[1],\"htmltitle\":[1],\"status\":[1],\"hasmessage\":[4],\"message\":[1],\"labelafter\":[4],\"typingtimeout\":[2],\"items\":[1],\"autocomplete\":[8],\"multiple\":[4],\"hasclearicon\":[4],\"icon\":[1],\"isTyping\":[32],\"textareaWrapperHover\":[32],\"textareaWrapperFocus\":[32],\"passwordHidden\":[32],\"getValue\":[64],\"setValue\":[64],\"isChecked\":[64]},[[4,\"inputCheck\",\"inputCheckListener\"]]]]],[\"z-modal-login\",[[6,\"z-modal-login\",{\"forgotPasswordUrl\":[1,\"forgot-password-url\"],\"heading\":[1],\"status\":[1025],\"message\":[1025],\"pwdmessage\":[1025],\"externalProviderCheck\":[32]}]]],[\"z-myz-topbar\",[[1,\"z-myz-topbar\",{\"intlinkdata\":[1],\"extlinkdata\":[1],\"userdata\":[1],\"ismyz\":[4],\"logolink\":[1],\"imagealt\":[1],\"activeintlinkid\":[1],\"activesublinkid\":[1],\"hideloginbutton\":[4],\"activeMenuItem\":[32],\"currentMenuItem\":[32],\"isMobile\":[32],\"isMenuMobileOpen\":[32]},[[9,\"resize\",\"handleResize\"],[2,\"zListItemLinkClick\",\"handleZListItemLinkClick\"],[2,\"zListItemClick\",\"handleZListItemClick\"]]]]],[\"z-combobox\",[[1,\"z-combobox\",{\"inputid\":[1],\"items\":[1],\"label\":[1],\"hassearch\":[4],\"searchlabel\":[1],\"searchplaceholder\":[1],\"searchtitle\":[1],\"noresultslabel\":[1],\"isopen\":[1028],\"isfixed\":[4],\"closesearchtext\":[1],\"hascheckall\":[4],\"checkalltext\":[1],\"uncheckalltext\":[1],\"maxcheckableitems\":[2],\"searchValue\":[32],\"selectedCounter\":[32],\"renderItemsList\":[32]},[[0,\"inputCheck\",\"inputCheckListener\"]]]]],[\"z-contextual-menu\",[[1,\"z-contextual-menu\",{\"elements\":[1],\"color\":[1],\"popoverPosition\":[1,\"popover-position\"]}]]],[\"z-myz-card-dictionary\",[[1,\"z-myz-card-dictionary\",{\"name\":[1],\"cover\":[1],\"disabled\":[4],\"flipped\":[1028],\"flipbuttonlabel\":[1],\"hideinfobtn\":[4]},[[0,\"flipCard\",\"handleFlipCard\"]]]]],[\"z-app-topbar\",[[1,\"z-app-topbar\",{\"theme\":[1],\"contentMaxWidth\":[2,\"content-max-width\"],\"topbarContent\":[1,\"topbar-content\"],\"logoLink\":[1,\"logo-link\"],\"showAppSwitcher\":[4,\"show-app-switcher\"],\"isMobile\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"z-table\",[[4,\"z-table\",{\"lines\":[514],\"errorMessage\":[1,\"error-message\"],\"bordered\":[4],\"callToActionLabel\":[1,\"call-to-action-label\"],\"callToActionTwoLabel\":[1,\"call-to-action-two-label\"],\"columnSticky\":[4,\"column-sticky\"],\"empty\":[4],\"error\":[4],\"errorLink\":[1,\"error-link\"],\"headerSticky\":[4,\"header-sticky\"],\"message\":[1],\"subtitle\":[1],\"hasTableBody\":[32],\"isMobile\":[32]},[[9,\"resize\",\"handleResize\"],[8,\"orientationchange\",\"handleOrientationChange\"]]]]],[\"z-messages-pocket\",[[1,\"z-messages-pocket\",{\"pocketid\":[1],\"messages\":[2],\"status\":[1025]},[[16,\"pocketToggle\",\"handlePocketToggle\"]]]]],[\"z-pagination\",[[0,\"z-pagination\",{\"label\":[1],\"navArrows\":[4,\"nav-arrows\"],\"totalPages\":[2,\"total-pages\"],\"skip\":[2],\"edges\":[4],\"split\":[2],\"visiblePages\":[2,\"visible-pages\"],\"currentPage\":[1026,\"current-page\"],\"goToPage\":[4,\"go-to-page\"],\"_visiblePages\":[32],\"isMobile\":[32],\"goToPageValue\":[32]},[[9,\"resize\",\"onResize\"]]]]],[\"z-table-header-row\",[[4,\"z-table-header-row\",{\"expandable\":[516]}]]],[\"z-cookiebar\",[[1,\"z-cookiebar\",{\"cookiepolicyurl\":[1],\"hide\":[4],\"callback\":[16]}]]],[\"z-date-picker\",[[4,\"z-date-picker\",{\"datePickerId\":[1,\"date-picker-id\"],\"ariaLabel\":[1,\"aria-label\"],\"label\":[1],\"mode\":[1],\"flatpickrPosition\":[32]},[[18,\"keydown\",\"handleKeyDown\"]]]]],[\"z-file\",[[6,\"z-file\",{\"fileNumber\":[2,\"file-number\"],\"allowTooltip\":[32],\"tooltipVisible\":[32]},[[1,\"mouseover\",\"onMouseOver\"],[1,\"mouseleave\",\"onMouseLeave\"],[0,\"interactiveIconClick\",\"onInteractiveIconClick\"]]]]],[\"z-range-picker\",[[0,\"z-range-picker\",{\"rangePickerId\":[1,\"range-picker-id\"],\"mode\":[1],\"flatpickrPosition\":[32],\"activeInput\":[32]},[[18,\"click\",\"handleClick\"],[18,\"keydown\",\"handleKeyDown\"],[1,\"mouseover\",\"onMouseOver\"]]]]],[\"z-table-row\",[[4,\"z-table-row\",{\"expandedType\":[513,\"expanded-type\"],\"expanded\":[32]}]]],[\"z-myz-card-alert\",[[1,\"z-myz-card-alert\",{\"iconname\":[1],\"contenttext\":[1],\"actiontext\":[1],\"type\":[1]}]]],[\"z-myz-card-info\",[[1,\"z-myz-card-info\",{\"data\":[1],\"htmltabindex\":[2],\"hiddenContent\":[32],\"tooltip\":[32]}]]],[\"z-otp\",[[1,\"z-otp\",{\"inputNum\":[2,\"input-num\"],\"status\":[1],\"message\":[1]}]]],[\"z-pagination-bar\",[[1,\"z-pagination-bar\",{\"pages\":[2],\"visiblepages\":[2],\"currentpage\":[1026],\"startpage\":[1026],\"historyraw\":[1],\"listhistoryrow\":[1040],\"currentPages\":[32]}]]],[\"z-panel-elem\",[[1,\"z-panel-elem\",{\"elemid\":[1],\"imgurl\":[1],\"imgalt\":[1],\"linkicon\":[1],\"linklabel\":[1],\"url\":[1],\"target\":[1],\"isdisabled\":[4],\"descr_slot_name\":[1]}]]],[\"z-skip-to-content\",[[2,\"z-skip-to-content\",{\"variant\":[513],\"links\":[1025],\"visible\":[32],\"visibleLink\":[32]},[[4,\"focusout\",\"handleFocusOutSkipToContent\"],[4,\"focusin\",\"handleFocusSkipToContent\"]]]]],[\"z-user-dropdown\",[[1,\"z-user-dropdown\",{\"logged\":[4],\"userFullName\":[1,\"user-full-name\"],\"userEmail\":[1,\"user-email\"],\"menuContent\":[1,\"menu-content\"],\"useInverseColors\":[4,\"use-inverse-colors\"],\"isMenuOpen\":[32],\"isMobile\":[32]},[[9,\"resize\",\"handleResize\"],[8,\"orientationchange\",\"handleOrientationChange\"],[8,\"click\",\"handleClickOutside\"]]]]],[\"z-app-header\",[[1,\"z-app-header\",{\"stuck\":[516],\"hero\":[1],\"overlay\":[516],\"flow\":[513],\"drawerOpen\":[516,\"drawer-open\"],\"stucked\":[32],\"menuLength\":[32]}]]],[\"z-button-deprecated\",[[1,\"z-button-deprecated\",{\"htmlid\":[1],\"name\":[1],\"disabled\":[516],\"type\":[1],\"variant\":[513],\"icon\":[1],\"size\":[513],\"issmall\":[516],\"square\":[516]}]]],[\"z-button-filter\",[[1,\"z-button-filter\",{\"filtername\":[1],\"isfixed\":[4],\"hasicon\":[4],\"filterid\":[1],\"issmall\":[4]}]]],[\"z-button-sort\",[[1,\"z-button-sort\",{\"buttonid\":[1],\"label\":[1],\"desclabel\":[1],\"counter\":[2],\"sortlabelasc\":[1],\"sortlabeldesc\":[1],\"isselected\":[1028],\"sortasc\":[1028],\"allowTooltip\":[32]}]]],[\"z-card\",[[1,\"z-card\",{\"variant\":[513],\"coverIcon\":[1,\"cover-icon\"],\"clickable\":[516],\"showshadow\":[516],\"hasCoverImage\":[32]},[[0,\"click\",\"onClick\"]]]]],[\"z-carousel\",[[4,\"z-carousel\",{\"isLoading\":[4,\"is-loading\"],\"ghostLoadingHeight\":[2,\"ghost-loading-height\"]}]]],[\"z-icon-package\",[[1,\"z-icon-package\"]]],[\"z-info-box\",[[1,\"z-info-box\",{\"boxid\":[1],\"isclosable\":[4]}]]],[\"z-menu\",[[1,\"z-menu\",{\"active\":[516],\"floating\":[516],\"open\":[1540],\"hasHeader\":[32],\"hasContent\":[32]},[[4,\"click\",\"handleClick\"]]]]],[\"z-menu-section\",[[1,\"z-menu-section\",{\"active\":[516],\"open\":[32],\"hasContent\":[32]},[[4,\"click\",\"handleClick\"]]]]],[\"z-myz-card-icon\",[[1,\"z-myz-card-icon\",{\"icon\":[1],\"isdisabled\":[4],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"z-navigation-tab\",[[0,\"z-navigation-tab\",{\"selected\":[1540],\"disabled\":[516],\"orientation\":[513],\"size\":[513],\"icon\":[1],\"label\":[1],\"htmlTitle\":[1,\"html-title\"]},[[0,\"click\",\"onClick\"]]]]],[\"z-navigation-tab-link\",[[0,\"z-navigation-tab-link\",{\"selected\":[1540],\"disabled\":[516],\"orientation\":[513],\"size\":[513],\"htmlTitle\":[1,\"html-title\"],\"target\":[1],\"href\":[1],\"icon\":[1],\"label\":[1]},[[0,\"click\",\"onClick\"]]]]],[\"z-navigation-tabs\",[[1,\"z-navigation-tabs\",{\"orientation\":[513],\"size\":[513],\"canNavigate\":[32],\"canNavigatePrev\":[32],\"canNavigateNext\":[32]},[[9,\"resize\",\"checkScrollVisible\"],[0,\"selected\",\"onTabSelected\"]]]]],[\"z-notification\",[[1,\"z-notification\",{\"contenticonname\":[1],\"actiontext\":[1],\"type\":[513],\"showclose\":[4],\"showshadow\":[516],\"sticky\":[516]}]]],[\"z-pocket-message\",[[1,\"z-pocket-message\"]]],[\"z-section-title\",[[1,\"z-section-title\",{\"dividerPosition\":[1,\"divider-position\"],\"uppercase\":[516]}]]],[\"z-slideshow\",[[1,\"z-slideshow\",{\"slideshowid\":[1],\"data\":[1],\"device\":[32],\"currentSlide\":[32]}]]],[\"z-status-tag\",[[1,\"z-status-tag\",{\"icon\":[1],\"text\":[1],\"expandable\":[4],\"status\":[513],\"variant\":[1]}]]],[\"z-tag\",[[6,\"z-tag\",{\"icon\":[1],\"expandable\":[4]}]]],[\"z-toast-notification\",[[1,\"z-toast-notification\",{\"heading\":[1],\"message\":[1],\"closebutton\":[4],\"autoclose\":[2],\"pauseonfocusloss\":[4],\"type\":[1],\"isdraggable\":[4],\"draggablepercentage\":[2],\"transition\":[1],\"percentage\":[32],\"isTextLong\":[32]}]]],[\"z-toggle-button\",[[1,\"z-toggle-button\",{\"label\":[1],\"isdisabled\":[4],\"avoidclick\":[4],\"opened\":[1028]}]]],[\"z-toggle-switch\",[[6,\"z-toggle-switch\",{\"disabled\":[516],\"labelPosition\":[513,\"label-position\"],\"checked\":[1028],\"htmlid\":[1]}]]],[\"z-aria-alert\",[[4,\"z-aria-alert\",{\"mode\":[1]}]]],[\"z-avatar\",[[1,\"z-avatar\",{\"size\":[1],\"text\":[1],\"textColor\":[1,\"text-color\"],\"backgroundColor\":[1,\"background-color\"],\"image\":[1025]}]]],[\"z-chip-deprecated\",[[1,\"z-chip-deprecated\",{\"regulartext\":[1],\"boldtext\":[2]}]]],[\"z-myz-card-footer\",[[1,\"z-myz-card-footer\",{\"titolo\":[1],\"autori\":[1],\"isbn\":[1],\"faded\":[4],\"cardtype\":[1],\"opened\":[4],\"customContent\":[4,\"custom-content\"],\"isOpen\":[32],\"allowTooltipAuthors\":[32]},[[0,\"toggleClick\",\"handleToggle\"]]]]],[\"z-myz-card-footer-sections\",[[1,\"z-myz-card-footer-sections\"]]],[\"z-myz-card-list\",[[1,\"z-myz-card-list\",{\"listdata\":[1]}]]],[\"z-offcanvas\",[[6,\"z-offcanvas\",{\"variant\":[513],\"open\":[1540],\"transitiondirection\":[513]}]]],[\"z-stepper\",[[1,\"z-stepper\"]]],[\"z-stepper-item\",[[1,\"z-stepper-item\",{\"index\":[2],\"href\":[1],\"pressed\":[4],\"disabled\":[4]}]]],[\"z-table-body\",[[6,\"z-table-body\"]]],[\"z-table-expanded-row\",[[1,\"z-table-expanded-row\",{\"colSpan\":[2,\"col-span\"]}]]],[\"z-table-footer\",[[6,\"z-table-footer\"]]],[\"z-table-head\",[[6,\"z-table-head\"]]],[\"z-table-sticky-footer\",[[6,\"z-table-sticky-footer\"]]],[\"z-toast-notification-list\",[[1,\"z-toast-notification-list\",{\"position\":[1],\"newestontop\":[4]}]]],[\"z-visually-hidden\",[[1,\"z-visually-hidden\"]]],[\"z-select\",[[2,\"z-select\",{\"htmlid\":[1],\"items\":[1],\"name\":[1],\"label\":[1],\"ariaLabel\":[1,\"aria-label\"],\"disabled\":[4],\"readonly\":[4],\"placeholder\":[1],\"htmltitle\":[1],\"status\":[1],\"message\":[8],\"autocomplete\":[4],\"noresultslabel\":[1],\"isOpen\":[32],\"selectedItem\":[32],\"searchString\":[32],\"getSelectedItem\":[64],\"getValue\":[64],\"setValue\":[64]}]]],[\"z-table-header\",[[1,\"z-table-header\",{\"columnId\":[1,\"column-id\"],\"padding\":[513],\"sortable\":[4],\"showButton\":[4,\"show-button\"],\"defaultSortDirection\":[1,\"default-sort-direction\"],\"sortDirection\":[1025,\"sort-direction\"],\"isMenuOpened\":[32]},[[18,\"click\",\"handleOutsideClick\"],[18,\"click\",\"handleClickHeaders\"]]]]],[\"z-dragdrop-area\",[[6,\"z-dragdrop-area\"]]],[\"z-menu-dropdown\",[[1,\"z-menu-dropdown\",{\"nomeutente\":[1],\"menucontent\":[1],\"buttonid\":[1],\"ismenuopen\":[32]}]]],[\"z-myz-list\",[[1,\"z-myz-list\",{\"inputrawdata\":[1025],\"list\":[1040]}]]],[\"z-table-cell\",[[1,\"z-table-cell\",{\"showButton\":[4,\"show-button\"],\"padding\":[513],\"isMenuOpened\":[32]}]]],[\"z-table-empty-box\",[[6,\"z-table-empty-box\",{\"message\":[1],\"subtitle\":[1]}]]],[\"z-app-switcher\",[[1,\"z-app-switcher\",{\"theme\":[1],\"isopen\":[32]}]]],[\"z-chip\",[[6,\"z-chip\",{\"icon\":[1],\"type\":[513],\"interactiveIcon\":[513,\"interactive-icon\"],\"disabled\":[516]}]]],[\"z-footer-section\",[[1,\"z-footer-section\",{\"name\":[1],\"isOpen\":[32]}]]],[\"z-heading\",[[1,\"z-heading\",{\"level\":[2],\"variant\":[1],\"component\":[1]}]]],[\"z-list-group\",[[1,\"z-list-group\",{\"size\":[513],\"dividerType\":[513,\"divider-type\"],\"dividerSize\":[513,\"divider-size\"],\"dividerColor\":[513,\"divider-color\"]}]]],[\"z-alert\",[[1,\"z-alert\",{\"type\":[1]}]]],[\"z-candybar\",[[1,\"z-candybar\"]]],[\"z-footer-link\",[[1,\"z-footer-link\",{\"href\":[1]}]]],[\"z-footer-social\",[[1,\"z-footer-social\",{\"icon\":[1],\"href\":[1],\"description\":[1]}]]],[\"z-ghost-loading\",[[1,\"z-ghost-loading\"]]],[\"z-input-label\",[[1,\"z-input-label\",{\"value\":[1],\"disabled\":[4],\"htmlfor\":[1]}]]],[\"z-myz-card\",[[1,\"z-myz-card\",{\"faded\":[4],\"cardtype\":[1],\"ispressed\":[4],\"ishighlighted\":[4]}]]],[\"z-myz-card-body\",[[1,\"z-myz-card-body\"]]],[\"z-myz-card-cover\",[[1,\"z-myz-card-cover\",{\"img\":[1],\"titolo\":[1],\"faded\":[4],\"defaultimg\":[1]}]]],[\"z-myz-card-header\",[[1,\"z-myz-card-header\",{\"titolo\":[1],\"faded\":[4],\"cardtype\":[1],\"allowTooltip\":[32]}]]],[\"z-pagination-page\",[[1,\"z-pagination-page\",{\"pageid\":[1],\"value\":[2],\"isselected\":[4],\"isdisabled\":[4],\"isvisited\":[4],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"z-pocket\",[[1,\"z-pocket\",{\"pocketid\":[1],\"status\":[1025],\"open\":[64],\"close\":[64]},[[0,\"pocketHeaderClick\",\"handlePocketHeaderClick\"],[0,\"pocketHeaderPan\",\"handlePocketHeaderPan\"]]]]],[\"z-pocket-body\",[[1,\"z-pocket-body\",{\"pocketid\":[1],\"status\":[1025]},[[16,\"pocketToggle\",\"handlePocketToggle\"]]]]],[\"z-pocket-header\",[[1,\"z-pocket-header\",{\"pocketid\":[1]}]]],[\"z-modal\",[[1,\"z-modal\",{\"modalid\":[1],\"modaltitle\":[1],\"modalsubtitle\":[1],\"closeButtonLabel\":[1,\"close-button-label\"]}]]],[\"z-tooltip\",[[1,\"z-tooltip\",{\"content\":[1],\"type\":[1025],\"open\":[1540],\"bindTo\":[1,\"bind-to\"],\"position\":[32]}]]],[\"z-list-element\",[[1,\"z-list-element\",{\"alignButton\":[513,\"align-button\"],\"clickable\":[516],\"dividerColor\":[1,\"divider-color\"],\"dividerType\":[1,\"divider-type\"],\"dividerSize\":[1,\"divider-size\"],\"expandable\":[516],\"expandableStyle\":[1,\"expandable-style\"],\"listElementId\":[514,\"list-element-id\"],\"size\":[513],\"color\":[513],\"disabled\":[516],\"isContextualMenu\":[516,\"is-contextual-menu\"],\"showInnerContent\":[32]},[[4,\"accessibleFocus\",\"accessibleFocusHandler\"]]]]],[\"z-myz-list-item\",[[1,\"z-myz-list-item\",{\"text\":[1],\"link\":[1],\"linktarget\":[1],\"icon\":[1],\"listitemid\":[1],\"action\":[1],\"underlined\":[4]}]]],[\"z-list\",[[1,\"z-list\",{\"size\":[513]}]]],[\"z-logo\",[[1,\"z-logo\",{\"width\":[2],\"height\":[2],\"imageAlt\":[1,\"image-alt\"],\"link\":[1],\"targetBlank\":[4,\"target-blank\"],\"mobileLogo\":[4,\"mobile-logo\"]}]]],[\"z-popover\",[[6,\"z-popover\",{\"position\":[1],\"backgroundColor\":[1,\"background-color\"],\"borderRadius\":[1,\"border-radius\"],\"boxShadow\":[1,\"box-shadow\"],\"showArrow\":[4,\"show-arrow\"],\"padding\":[1],\"isVisible\":[32],\"popoverPosition\":[32]},[[0,\"closePopover\",\"closePopover\"],[8,\"keyup\",\"closePopoverWithKeyboard\"],[18,\"click\",\"handleOutsideClick\"]]]]],[\"z-input\",[[2,\"z-input\",{\"htmlid\":[1],\"type\":[1],\"name\":[1],\"label\":[1],\"ariaLabel\":[1,\"aria-label\"],\"value\":[1025],\"disabled\":[516],\"readonly\":[4],\"required\":[4],\"checked\":[1028],\"placeholder\":[1],\"htmltitle\":[1],\"status\":[1],\"message\":[8],\"labelPosition\":[1,\"label-position\"],\"autocomplete\":[1],\"hasclearicon\":[4],\"icon\":[1],\"isTyping\":[32],\"passwordHidden\":[32],\"isChecked\":[64]},[[4,\"inputCheck\",\"inputCheckListener\"]]]]],[\"z-body\",[[1,\"z-body\",{\"level\":[2],\"variant\":[1],\"component\":[1]}]]],[\"z-link\",[[1,\"z-link\",{\"htmlid\":[1],\"href\":[1],\"target\":[1],\"htmltabindex\":[2],\"isdisabled\":[4],\"isactive\":[4],\"iswhite\":[4],\"textcolor\":[1],\"icon\":[1],\"big\":[4],\"iconposition\":[1],\"underline\":[4],\"iconSize\":[32]}]]],[\"z-input-message\",[[1,\"z-input-message\",{\"message\":[1],\"status\":[513]}]]],[\"z-divider\",[[2,\"z-divider\",{\"size\":[1],\"color\":[1],\"orientation\":[1]}]]],[\"z-typography\",[[1,\"z-typography\",{\"component\":[1],\"variant\":[1],\"level\":[1]}]]],[\"z-icon\",[[1,\"z-icon\",{\"name\":[1],\"height\":[2],\"width\":[2],\"iconid\":[1],\"fill\":[1]}]]],[\"z-button\",[[6,\"z-button\",{\"ariaLabel\":[513,\"aria-label\"],\"href\":[513],\"target\":[513],\"htmlid\":[1],\"name\":[1],\"disabled\":[516],\"type\":[1],\"variant\":[513],\"icon\":[513],\"size\":[513]}]]]]"), options);
|
|
129
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as a,H as t}from"./p-98268a57.js";import{e as s}from"./p-ed1cd6b1.js";const i=class{constructor(a){r(this,a),this.mode=s.polite}render(){return a(t,{"aria-live":this.mode,"aria-atomic":"true","aria-relevant":"additions"},a("slot",null))}};export{i as z_aria_alert}
|
package/www/build/p-ed1cd6b1.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var t,n,o,e,a,i,s,r,c,u,l,f,d,m,g,p,b,h,w,E,A,_,x,v,T,D,k,S,y,C,O,R,B,N,P,z,U,W,I,K,L,M;!function(t){t.real="reale",t.virtual="virtuale",t.trial="saggio",t.temp="reale_temp"}(t||(t={})),function(t){t.border="border",t.shadow="shadow",t.overlay="overlay",t.text="text"}(n||(n={})),function(t){t.horizontal="horizontal",t.vertical="vertical"}(o||(o={})),function(t){t.big="big",t.small="small"}(e||(e={})),function(t){t.primary="primary",t.secondary="secondary",t.tertiary="tertiary",t["dark-bg"]="dark-bg"}(a||(a={})),function(t){t.submit="submit",t.reset="reset",t.button="button"}(i||(i={})),function(t){t.big="big",t.small="small",t["x-small"]="x-small"}(s||(s={})),function(t){t.text="text",t.password="password",t.number="number",t.email="email",t.textarea="textarea",t.checkbox="checkbox",t.radio="radio"}(r||(r={})),function(t){t.success="success",t.error="error",t.warning="warning"}(c||(c={})),function(t){t.AUTO="auto",t.TOP="top",t.RIGHT="right",t.BOTTOM="bottom",t.LEFT="left",t.TOP_RIGHT="top_right",t.TOP_LEFT="top_left",t.BOTTOM_RIGHT="bottom_right",t.BOTTOM_LEFT="bottom_left",t.RIGHT_TOP="right_top",t.RIGHT_BOTTOM="right_bottom",t.LEFT_TOP="left_top",t.LEFT_BOTTOM="left_bottom"}(u||(u={})),function(t){t[t.TAB=9]="TAB",t[t.SPACE=32]="SPACE",t[t.ESC=27]="ESC",t[t.ENTER=13]="ENTER",t[t.ARROW_UP=38]="ARROW_UP",t[t.ARROW_DOWN=40]="ARROW_DOWN",t[t.BACKSPACE=8]="BACKSPACE",t[t.DELETE=46]="DELETE"}(l||(l={})),function(t){t.TAB="Tab",t.SPACE="Space",t.ESC="Escape",t.ENTER="Enter",t.ARROW_UP="ArrowUp",t.ARROW_DOWN="ArrowDown",t.BACKSPACE="Backspace",t.DELETE="Delete"}(f||(f={})),function(t){t.ARROW_DOWN="ArrowDown",t.ARROW_UP="ArrowUp",t.ENTER="Enter",t.ESC="Escape",t.SPACE="Space"}(d||(d={})),function(t){t.dark="dark",t.light="light"}(m||(m={})),function(t){t.small="small",t.medium="medium",t.large="large"}(g||(g={})),function(t){t.horizontal="horizontal",t.vertical="vertical"}(p||(p={})),function(t){t.asc="asc",t.desc="desc",t.none="none"}(b||(b={})),function(t){t.small="small",t.medium="medium",t.large="large"}(h||(h={})),function(t){t.small="small",t.medium="medium",t.large="large",t["x-large"]="x-large"}(w||(w={})),function(t){t["x-small"]="x-small",t.small="small",t.medium="medium",t.large="large",t.special="special"}(E||(E={})),function(t){t.accordion="accordion",t.menu="menu"}(A||(A={})),function(t){t.right="right",t.left="left"}(_||(_={})),function(t){t.right="right",t.left="left"}(x||(x={})),function(t){t.none="none",t.header="header",t.element="element"}(v||(v={})),function(t){t.success="success",t.warning="warning",t.error="error"}(T||(T={})),function(t){t.success="success",t.warning="warning",t.error="error"}(D||(D={})),function(t){t.mobile="mobile",t.tablet="tablet",t.desktop="desktop"}(k||(k={})),function(t){t.preview="preview",t.open="open",t.closed="closed"}(S||(S={})),function(t){t.dark="dark",t.light="light",t.accent="accent",t.error="error",t.success="success",t.warning="warning"}(y||(y={})),function(t){t.slideInLeft="slide-in-left",t.slideInRight="slide-in-right",t.slideInDown="slide-in-down",t.slideInUp="slide-in-up",t.slideOutLeft="slide-out-left",t.slideOutRight="slide-out-right",t.slideOutDown="slide-out-down",t.slideOutUp="slide-out-up"}(C||(C={})),function(t){t.topRight="top-right",t.topLeft="top-left",t.topCentre="top-centre",t.bottomRight="bottom-right",t.bottomLeft="bottom-left",t.bottomCentre="bottom-centre"}(O||(O={})),function(t){t.expandable="expandable",t.padding="padding",t.none="none"}(R||(R={})),function(t){t.polite="polite",t.assertive="assertive"}(B||(B={})),function(t){t.left="left",t.right="right"}(N||(N={})),function(t){t.overlay="overlay",t.pushcontent="pushcontent"}(P||(P={})),function(t){t.default="default",t.dragdrop="dragdrop"}(z||(z={})),function(t){t.default="default",t.medium="medium",t.small="small"}(U||(U={})),function(t){t.before="before",t.after="after"}(W||(W={})),function(t){t.date="date",t.dateTime="date-time",t.months="months"}(I||(I={})),function(t){t[t.DATE=401]="DATE",t[t.DATETIME=523]="DATETIME",t[t.MONTHS=288]="MONTHS"}(K||(K={})),function(t){t.top="top",t.bottom="bottom"}(L||(L={})),function(t){t.warning="warning",t.error="error",t.success="success",t.neutral="neutral",t.default="default"}(M||(M={}));export{h as A,i as B,n as C,k as D,_ as E,r as I,f as K,x as L,o as N,P as O,u as P,M as S,m as T,I as Z,p as a,g as b,L as c,K as d,B as e,a as f,s as g,l as h,U as i,z as j,S as k,c as l,D as m,t as n,e as o,N as p,d as q,W as r,R as s,C as t,O as u,v,w,E as x,b as y,A as z}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as o,h as e,g as r}from"./p-98268a57.js";import{P as i,q as s}from"./p-ed1cd6b1.js";import{a as n}from"./p-7f1cc90f.js";import"./p-d69e14fb.js";const a=document.documentElement;function p(t){return t.parentNode.host?t.parentNode.host:t.parentNode}function h(t,o){const e=t.getBoundingClientRect(),r=e.width,i=e.height;let s,n,a=0,p=0,h=t;for(;h&&h!=o;){if(p+=h.offsetLeft,h===document.body?a+=h.getBoundingClientRect().top+window.scrollY:a+=h.offsetTop,window.DOMMatrix){const t=window.getComputedStyle(h),o=new DOMMatrix(t.transform||t.webkitTransform);o&&(p+=o.m41,h!==document.body&&(a+=o.m42))}if(!h.offsetParent)break;h=h.offsetParent}return h===document.body?(s=window.innerWidth,n=window.innerHeight):(s=h.offsetWidth,n=h.offsetHeight),{top:a,right:s-p-e.width,bottom:n-a-e.height,left:p,width:r,height:i}}const c=class{constructor(e){t(this,e),this.positionChange=o(this,"positionChange",7),this.openChange=o(this,"openChange",7),this.position=i.AUTO,this.open=!1,this.showArrow=!1,this.center=!1}closePopoverWithKeyboard(t){t.key===s.ESC&&(this.open=!1)}handleOutsideClick(t){n(t.target).find((t=>"z-popover"===t.nodeName.toLowerCase()))||(this.open=!1,this.positionChange.emit({position:this.currentPosition}))}validatePosition(t){t&&Object.values(i).every((o=>t!==o))&&(this.position=i.AUTO),this.currentPosition=this.position,this.positionChange.emit({position:this.currentPosition})}onOpen(){if(cancelAnimationFrame(this.animationFrameRequestId),this.open){const t=()=>{this.open&&(this.setPosition(),this.animationFrameRequestId=requestAnimationFrame(t))};t()}else{const t=this.host.style;t.removeProperty("top"),t.removeProperty("right"),t.removeProperty("bottom"),t.removeProperty("left"),t.removeProperty("max-width"),t.removeProperty("max-height"),this.currentPosition=void 0}this.openChange.emit({open:this.open})}disconnectedCallback(){cancelAnimationFrame(this.animationFrameRequestId)}setPosition(){let t;if(t="string"==typeof this.bindTo?this.host.ownerDocument.querySelector(this.bindTo):this.bindTo?this.bindTo:this.host.parentElement,!t)return;const o=function(t){let o=p(t);for(;o&&o!==a;){const{overflow:t,overflowX:e,overflowY:r}=window.getComputedStyle(o);if("hidden"===t||"hidden"===r||"hidden"===e)return o;if(o.scrollHeight>o.clientHeight&&"visible"!==t&&"visible"!==r||o.scrollWidth>o.clientWidth&&"visible"!==t&&"visible"!==e)return o;o=p(o)}return a}(t),e=o.getBoundingClientRect(),r=this.host.offsetParent,s=r?h(r,o):{top:0,right:0,bottom:0,left:0},n=h(t,o),c=n.top-o.scrollTop,f=e.height-(n.top+n.height)+o.scrollTop,l=n.left-o.scrollLeft,u=e.width-(n.left+n.width)+o.scrollLeft,b=Math.max(0,e.top+e.height-window.innerHeight),d=Math.max(0,e.left+e.width-window.innerWidth),v=Math.min(c,c+e.top),w=Math.min(f,f-b),m=Math.min(l,l+e.left),x=Math.min(u,u-d),g=v+w+n.height,$=m+x+n.width;let z=this.currentPosition;const _=[];this.position===i.AUTO&&(m/$>.6?_.push(i.LEFT):m/$<.4&&_.push(i.RIGHT),v/g>.9?_.unshift(i.TOP):v/g>.6?_.push(i.TOP):v/g<.1?_.unshift(i.BOTTOM):_.push(i.BOTTOM),z=_.join("_"));const y=this.host.style;y.position="absolute";const M=n.top-s.top,j=n.right-s.right,k=n.bottom-s.bottom,C=n.left-s.left,O=this.center?.5:0,P=this.center?.5:0;z===i.TOP||z===i.TOP_RIGHT?(y.top="auto",y.right="auto",y.bottom=`${k+n.height}px`,y.left=`${C+n.width*O}px`,y.maxHeight=`${v}px`,z===i.TOP_RIGHT&&(y.maxWidth=`${x+n.width*P}px`)):z===i.TOP_LEFT?(y.top="auto",y.right=`${j+n.width*O}px`,y.bottom=`${k+n.height}px`,y.left="auto",y.maxWidth=`${m}px`,y.maxHeight=`${v}px`):z===i.BOTTOM||z===i.BOTTOM_RIGHT?(y.top=`${M+n.height}px`,y.right="auto",y.bottom="auto",y.left=`${C+n.width*O}px`,y.maxHeight=`${w}px`,z===i.BOTTOM_RIGHT&&(y.maxWidth=`${x+n.width*P}px`)):z===i.BOTTOM_LEFT?(y.top=`${M+n.height}px`,y.right=`${j+n.width*O}px`,y.bottom="auto",y.left="auto",y.maxWidth=`${m}px`,y.maxHeight=`${w}px`):z===i.RIGHT||z===i.RIGHT_BOTTOM?(y.top=`${M+n.height*O}px`,y.right="auto",y.bottom="auto",y.left=`${C+n.width}px`,y.maxWidth=`${x}px`,y.maxHeight=`${w+n.height*P}px`):z===i.RIGHT_TOP?(y.top="auto",y.right="auto",y.bottom=`${k+n.height*O}px`,y.left=`${C+n.width}px`,y.maxWidth=`${x}px`,y.maxHeight=`${v+n.height*P}px`):z===i.LEFT||z===i.LEFT_BOTTOM?(y.top=`${M+n.height*O}px`,y.right=`${j+n.width}px`,y.bottom="auto",y.left="auto",y.maxWidth=`${m}px`,y.maxHeight=`${w+n.height*P}px`):z===i.LEFT_TOP&&(y.top="auto",y.right=`${j+n.width}px`,y.bottom=`${k+n.height*O}px`,y.left="auto",y.maxWidth=`${m}px`,y.maxHeight=`${v+n.height*P}px`),this.currentPosition=z||this.position,this.host.setAttribute("current-position",this.currentPosition)}componentWillLoad(){this.validatePosition(this.position),this.onOpen()}render(){return e("slot",null)}get host(){return r(this)}static get watchers(){return{position:["validatePosition"],open:["onOpen"]}}};c.style=":host{--z-popover-theme--surface:var(--color-surface01);--z-popover-theme--text:var(--color-text01);--z-popover-padding:var(--space-unit);--z-popover-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base));--arrow-size:6px;--edge-offset:calc(-1 * (var(--arrow-size) + calc(var(--space-unit) * 2)));position:relative;display:flex;align-items:center;justify-content:center;padding:var(--z-popover-padding);min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);color:var(--z-popover-theme--text);fill:currentColor;font-family:var(--font-family-sans);text-align:center;border-radius:var(--border-radius-small);background:var(--z-popover-theme--surface);filter:var(--z-popover-shadow-filter)}:host(:not([open])),:host([open=\"false\"]){display:none}:host([center][current-position='top']),:host([center][current-position='bottom']){transform:translateX(-50%)}:host([center][current-position='right']),:host([center][current-position='left']){transform:translateY(-50%)}:host([current-position])::before{--arrow-edge-offset:calc(100% - var(--arrow-size) - var(--space-unit));--arrow-center-x-offset:calc(50% - calc(var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - calc(var(--arrow-size) / 2));display:block;content:'';position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:var(--z-popover-theme--surface);transform:rotate(45deg)}:host([show-arrow=false])::before,:host(:not([show-arrow]))::before{display:none}:host([current-position^='top'])::before{top:var(--arrow-center-y-offset)}:host([current-position^='bottom'])::before{bottom:var(--arrow-center-y-offset)}:host([current-position='top'])::before,:host([current-position='bottom'])::before{left:var(--arrow-center-x-offset)}:host([current-position='right'])::before,:host([current-position='left'])::before{top:var(--arrow-center-x-offset)}:host([current-position='right'])::before{right:var(--arrow-center-y-offset)}:host([current-position='left'])::before{left:var(--arrow-center-y-offset)}:host([current-position='top_right'])::before,:host([current-position='bottom_right'])::before{right:calc(var(--arrow-edge-offset) + var(--arrow-size))}:host([current-position='top_right']:not([center]))::before,:host([current-position='bottom_right']:not([center]))::before,:host([current-position='top_right'][center=\"false\"])::before,:host([current-position='bottom_right'][center=\"false\"])::before{right:calc(var(--arrow-edge-offset) - var(--arrow-size) + 1px)}:host([current-position='top_left'])::before,:host([current-position='bottom_left'])::before{left:calc(var(--arrow-edge-offset) + var(--arrow-size))}:host([current-position='top_left']:not([center]))::before,:host([current-position='bottom_left']:not([center]))::before,:host([current-position='top_left'][center=\"false\"])::before,:host([current-position='bottom_left'][center=\"false\"])::before{left:calc(var(--arrow-edge-offset) - var(--arrow-size) + 1px)}:host([current-position='right_top'])::before,:host([current-position='left_top'])::before{bottom:var(--arrow-size)}:host([current-position='right_top'])::before,:host([current-position='right_bottom'])::before{right:var(--arrow-center-y-offset)}:host([current-position='left_top'])::before,:host([current-position='left_bottom'])::before{left:var(--arrow-center-y-offset)}:host([current-position='right_bottom'])::before,:host([current-position='left_bottom'])::before{top:var(--arrow-size)}::slotted(*){flex:1 auto;overflow:auto}";export{c as z_popover_deprecated}
|