@zanichelli/albe-web-components 6.5.0 → 6.5.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/CHANGELOG.md +2146 -0
- package/dist/cjs/index-e3299e0a.js +14 -30
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-app-switcher.cjs.entry.js +29 -0
- package/dist/cjs/{z-modal.cjs.entry.js → z-dragdrop-area_3.cjs.entry.js} +43 -0
- package/dist/cjs/z-input_2.cjs.entry.js +1 -1
- package/dist/cjs/{z-app-switcher_2.cjs.entry.js → z-logo.cjs.entry.js} +0 -23
- package/dist/cjs/z-offcanvas.cjs.entry.js +7 -1
- package/dist/cjs/z-table-row.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +0 -4
- package/dist/collection/components/inputs/z-input/styles.css +3 -0
- package/dist/collection/components/z-offcanvas/index.js +7 -1
- package/dist/collection/components/z-table/z-table-row/index.js +2 -2
- package/dist/esm/index-a2ca4b97.js +14 -30
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-ccb4d66f.js → utils-6cf7efe2.js} +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-app-switcher.entry.js +25 -0
- package/dist/esm/z-chip.entry.js +1 -1
- package/dist/esm/z-combobox.entry.js +1 -1
- package/dist/esm/{z-modal.entry.js → z-dragdrop-area_3.entry.js} +42 -1
- package/dist/esm/z-file-upload.entry.js +1 -1
- package/dist/esm/z-input_2.entry.js +2 -2
- package/dist/esm/{z-app-switcher_2.entry.js → z-logo.entry.js} +2 -24
- package/dist/esm/z-myz-card-info.entry.js +1 -1
- package/dist/esm/z-myz-list-item.entry.js +1 -1
- package/dist/esm/z-offcanvas.entry.js +7 -1
- package/dist/esm/z-pocket_3.entry.js +1 -1
- package/dist/esm/z-popover.entry.js +1 -1
- package/dist/esm/z-select.entry.js +1 -1
- package/dist/esm/z-skip-to-content.entry.js +1 -1
- package/dist/esm/z-slideshow.entry.js +1 -1
- package/dist/esm/z-table-header.entry.js +1 -1
- package/dist/esm/z-table-row.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +1 -1
- package/dist/types/components/z-offcanvas/index.d.ts +1 -0
- package/dist/types/components.d.ts +2 -230
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-1d66b265.entry.js +1 -0
- package/{www/build/p-9965827d.entry.js → dist/web-components-library/p-26033729.entry.js} +1 -1
- package/dist/web-components-library/{p-8bf0844b.entry.js → p-53065788.entry.js} +1 -1
- package/dist/web-components-library/{p-1b6279a6.entry.js → p-5c62387a.entry.js} +1 -1
- package/dist/web-components-library/{p-20a3247c.entry.js → p-6c163539.entry.js} +1 -1
- package/dist/web-components-library/{p-279655eb.entry.js → p-7b3b99ee.entry.js} +1 -1
- package/{www/build/p-3d9ecc23.entry.js → dist/web-components-library/p-7ea553e9.entry.js} +1 -1
- package/dist/web-components-library/{p-547d3b1f.entry.js → p-8305bbcc.entry.js} +1 -1
- package/dist/web-components-library/{p-cd43f80d.js → p-8ebe4adf.js} +1 -1
- package/{www/build/p-98c94e81.entry.js → dist/web-components-library/p-91a74348.entry.js} +1 -1
- package/dist/web-components-library/{p-c25b0b2a.entry.js → p-93142fac.entry.js} +1 -1
- package/dist/web-components-library/p-9a613586.entry.js +1 -0
- package/dist/web-components-library/{p-411cbcd6.entry.js → p-a05ce0a6.entry.js} +1 -1
- package/{www/build/p-bdc6f2e5.entry.js → dist/web-components-library/p-a6c0f149.entry.js} +1 -1
- package/dist/web-components-library/p-ae79573a.entry.js +1 -0
- package/dist/web-components-library/p-bdefe224.entry.js +1 -0
- package/dist/web-components-library/{p-8980398c.entry.js → p-d2127d84.entry.js} +1 -1
- package/dist/web-components-library/{p-8b960526.entry.js → p-dd000757.entry.js} +1 -1
- package/dist/web-components-library/p-de55c171.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/react/components.d.ts +0 -4
- package/react/components.js +2 -6
- package/react/components.js.map +1 -1
- package/src-react/index.ts +1 -0
- package/www/build/index.esm.js +1 -1
- package/www/build/p-1d66b265.entry.js +1 -0
- package/{dist/web-components-library/p-9965827d.entry.js → www/build/p-26033729.entry.js} +1 -1
- package/www/build/{p-8bf0844b.entry.js → p-53065788.entry.js} +1 -1
- package/www/build/{p-1b6279a6.entry.js → p-5c62387a.entry.js} +1 -1
- package/www/build/{p-20a3247c.entry.js → p-6c163539.entry.js} +1 -1
- package/www/build/{p-279655eb.entry.js → p-7b3b99ee.entry.js} +1 -1
- package/{dist/web-components-library/p-3d9ecc23.entry.js → www/build/p-7ea553e9.entry.js} +1 -1
- package/www/build/{p-547d3b1f.entry.js → p-8305bbcc.entry.js} +1 -1
- package/www/build/{p-cd43f80d.js → p-8ebe4adf.js} +1 -1
- package/{dist/web-components-library/p-98c94e81.entry.js → www/build/p-91a74348.entry.js} +1 -1
- package/www/build/{p-c25b0b2a.entry.js → p-93142fac.entry.js} +1 -1
- package/www/build/p-9a613586.entry.js +1 -0
- package/www/build/{p-411cbcd6.entry.js → p-a05ce0a6.entry.js} +1 -1
- package/{dist/web-components-library/p-bdc6f2e5.entry.js → www/build/p-a6c0f149.entry.js} +1 -1
- package/www/build/p-ae79573a.entry.js +1 -0
- package/www/build/p-bdefe224.entry.js +1 -0
- package/www/build/{p-8980398c.entry.js → p-d2127d84.entry.js} +1 -1
- package/www/build/p-dbb8bcb2.js +1 -0
- package/www/build/{p-8b960526.entry.js → p-dd000757.entry.js} +1 -1
- package/www/build/p-de55c171.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/www/pages/file-upload.html +0 -33
- package/www/pages/notification.html +0 -33
- package/dist/cjs/z-app-topbar.cjs.entry.js +0 -41
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +0 -49
- package/dist/cjs/z-menu-dropdown.cjs.entry.js +0 -59
- package/dist/cjs/z-modal-login.cjs.entry.js +0 -84
- package/dist/cjs/z-user-dropdown.cjs.entry.js +0 -93
- package/dist/collection/components/modal/z-modal-login/index.js +0 -251
- package/dist/collection/components/modal/z-modal-login/styles.css +0 -150
- package/dist/collection/components/navigation/z-app-topbar/index.js +0 -156
- package/dist/collection/components/navigation/z-app-topbar/styles.css +0 -65
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +0 -124
- package/dist/collection/components/navigation/z-menu-dropdown/styles.css +0 -146
- package/dist/collection/components/navigation/z-user-dropdown/index.js +0 -247
- package/dist/collection/components/navigation/z-user-dropdown/styles.css +0 -306
- package/dist/esm/z-app-topbar.entry.js +0 -37
- package/dist/esm/z-dragdrop-area_2.entry.js +0 -44
- package/dist/esm/z-menu-dropdown.entry.js +0 -55
- package/dist/esm/z-modal-login.entry.js +0 -80
- package/dist/esm/z-user-dropdown.entry.js +0 -89
- package/dist/types/components/modal/z-modal-login/index.d.ts +0 -41
- package/dist/types/components/navigation/z-app-topbar/index.d.ts +0 -20
- package/dist/types/components/navigation/z-menu-dropdown/index.d.ts +0 -19
- package/dist/types/components/navigation/z-user-dropdown/index.d.ts +0 -39
- package/dist/web-components-library/p-1ba8d432.entry.js +0 -1
- package/dist/web-components-library/p-3c2d438b.entry.js +0 -1
- package/dist/web-components-library/p-4cd6c6f4.entry.js +0 -1
- package/dist/web-components-library/p-4e8fd5be.entry.js +0 -1
- package/dist/web-components-library/p-682528b2.entry.js +0 -1
- package/dist/web-components-library/p-9ed27651.entry.js +0 -1
- package/dist/web-components-library/p-a2b67e2d.entry.js +0 -1
- package/dist/web-components-library/p-b17981a4.entry.js +0 -1
- package/dist/web-components-library/p-f20d1242.entry.js +0 -1
- package/www/build/p-13cf5e67.js +0 -1
- package/www/build/p-1ba8d432.entry.js +0 -1
- package/www/build/p-3c2d438b.entry.js +0 -1
- package/www/build/p-4cd6c6f4.entry.js +0 -1
- package/www/build/p-4e8fd5be.entry.js +0 -1
- package/www/build/p-682528b2.entry.js +0 -1
- package/www/build/p-9ed27651.entry.js +0 -1
- package/www/build/p-a2b67e2d.entry.js +0 -1
- package/www/build/p-b17981a4.entry.js +0 -1
- package/www/build/p-f20d1242.entry.js +0 -1
|
@@ -27,6 +27,7 @@ const ZOffcanvas = class {
|
|
|
27
27
|
}
|
|
28
28
|
handleOpenStatus() {
|
|
29
29
|
if (this.open) {
|
|
30
|
+
this.hostElement.style.opacity = "0";
|
|
30
31
|
this.hostElement.style.display = "flex";
|
|
31
32
|
}
|
|
32
33
|
else if (this.variant === OffCanvasVariant.PUSHCONTENT) {
|
|
@@ -43,8 +44,13 @@ const ZOffcanvas = class {
|
|
|
43
44
|
document.body.style.overflowX = "initial";
|
|
44
45
|
}
|
|
45
46
|
}
|
|
47
|
+
handleAnimationStart() {
|
|
48
|
+
if (this.hostElement.hasAttribute("open")) {
|
|
49
|
+
this.hostElement.style.opacity = "1";
|
|
50
|
+
}
|
|
51
|
+
}
|
|
46
52
|
render() {
|
|
47
|
-
return (h(Host, null, h("div", { class: "canvas-container", onAnimationEnd: () => this.handleAnimationEnd() }, h("div", { class: "canvas-content" }, h("slot", { name: "canvasContent" }))), h("div", { class: "canvas-background", "data-action": "canvasBackground", onClick: () => (this.open = false) })));
|
|
53
|
+
return (h(Host, null, h("div", { class: "canvas-container", onAnimationEnd: () => this.handleAnimationEnd(), onAnimationStart: () => this.handleAnimationStart() }, h("div", { class: "canvas-content" }, h("slot", { name: "canvasContent" }))), h("div", { class: "canvas-background", "data-action": "canvasBackground", onClick: () => (this.open = false) })));
|
|
48
54
|
}
|
|
49
55
|
get hostElement() { return getElement(this); }
|
|
50
56
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-a2ca4b97.js';
|
|
2
2
|
import { p as PocketStatus } from './index-968a240f.js';
|
|
3
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-6cf7efe2.js';
|
|
4
4
|
import { h as hammer } from './hammer-c3266b17.js';
|
|
5
5
|
import './breakpoints-c386984e.js';
|
|
6
6
|
import './_commonjsHelpers-9943807e.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-a2ca4b97.js';
|
|
2
2
|
import { P as PopoverPosition, e as KeyboardCode } from './index-968a240f.js';
|
|
3
|
-
import { a as getElementTree } from './utils-
|
|
3
|
+
import { a as getElementTree } from './utils-6cf7efe2.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ":host{--z-popover-theme--surface:var(--color-surface01);--z-popover-theme--text:var(--color-text01);--z-popover-padding:0;--z-popover-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base));position:relative;display:none;min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);align-items:center;justify-content:center;padding:var(--z-popover-padding);background:var(--z-popover-theme--surface);border-radius:var(--border-radius-small);color:var(--z-popover-theme--text);fill:currentcolor;filter:var(--z-popover-shadow-filter);font-family:var(--font-family-sans);text-align:center}:host([open][current-position]),:host([open=\"true\"][current-position]){display:flex}:host([center][current-position=\"top\"]),:host([center][current-position=\"bottom\"]){transform:translateX(-50%)}:host([center][current-position=\"right\"]),:host([center][current-position=\"left\"]){transform:translateY(-50%)}:host([current-position^=\"top\"]){margin:0 0 var(--space-unit)}:host([current-position^=\"bottom\"]){margin:var(--space-unit) 0 0}:host([current-position^=\"left\"]){margin:0 var(--space-unit) 0 0}:host([current-position^=\"right\"]){margin:0 0 0 var(--space-unit)}:host([current-position])::before{--arrow-size:6px;--arrow-edge-offset:calc(100% - var(--space-unit) - (var(--arrow-size) / 2));--arrow-center-x-offset:calc(50% - (var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - (var(--arrow-size) / 2));position:absolute;display:block;width:var(--arrow-size);height:var(--arrow-size);background:var(--z-popover-theme--surface);content:\"\";transform:rotate(45deg)}:host([show-arrow=\"false\"])::before,:host(:not([show-arrow]))::before{display:none}:host([current-position^=\"top\"])::before{top:var(--arrow-center-y-offset)}:host([current-position^=\"bottom\"])::before{bottom:var(--arrow-center-y-offset)}:host([current-position=\"top\"])::before,:host([current-position=\"bottom\"])::before{right:var(--arrow-edge-offset)}:host([current-position=\"right\"])::before,:host([current-position=\"left\"])::before{bottom:var(--arrow-edge-offset)}:host([current-position=\"right\"])::before{right:var(--arrow-center-y-offset)}:host([current-position=\"left\"])::before{left:var(--arrow-center-y-offset)}:host([current-position=\"top_right\"])::before,:host([current-position=\"bottom_right\"])::before{right:var(--arrow-edge-offset)}:host([current-position=\"top_left\"])::before,:host([current-position=\"bottom_left\"])::before{left:var(--arrow-edge-offset)}:host([current-position=\"right_top\"])::before,:host([current-position=\"left_top\"])::before{top:var(--arrow-edge-offset)}:host([current-position=\"right_top\"])::before,:host([current-position=\"right_bottom\"])::before{right:var(--arrow-center-y-offset)}:host([current-position=\"left_top\"])::before,:host([current-position=\"left_bottom\"])::before{left:var(--arrow-center-y-offset)}:host([current-position=\"right_bottom\"])::before,:host([current-position=\"left_bottom\"])::before{bottom:var(--arrow-edge-offset)}:host([center][current-position=\"top\"])::before,:host([center][current-position=\"bottom\"])::before{right:auto;left:var(--arrow-center-x-offset)}:host([center][current-position=\"right\"])::before,:host([center][current-position=\"left\"])::before{top:var(--arrow-center-x-offset);bottom:auto}::slotted(*){overflow:auto;flex:1 auto}";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-a2ca4b97.js';
|
|
2
2
|
import { e as KeyboardCode, k as ListDividerType } from './index-968a240f.js';
|
|
3
|
-
import { r as randomId,
|
|
3
|
+
import { r as randomId, b as boolean, a as getElementTree, h as handleKeyboardSubmit, d as getClickedElement } from './utils-6cf7efe2.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ".sc-z-select-h{display:inline-block;width:inherit;color:var(--color-text02);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg)}.select-wrapper.sc-z-select>z-input.sc-z-select{width:100%}.select-wrapper.sc-z-select>div.sc-z-select{position:relative}.select-wrapper.sc-z-select>div.closed.sc-z-select{overflow:hidden;height:0}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select{position:absolute;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) * 0.5) var(--space-unit);border:var(--border-size-small) solid var(--gray200);border-top:none;background:var(--color-surface01);outline:none}.select-wrapper.sc-z-select .closed.sc-z-select .ul-scroll-wrapper.sc-z-select{z-index:10}.select-wrapper.sc-z-select .open.sc-z-select .ul-scroll-wrapper.sc-z-select{z-index:20}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select{position:relative;overflow:auto;max-height:240px;padding:calc(var(--space-unit) * 0.5);outline:none;scrollbar-color:var(--color-primary01) transparent}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-track{background-color:transparent}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select span.sc-z-select{display:block;padding:0 calc(var(--space-unit) * 1.5)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select span.selected.sc-z-select{font-weight:bold}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select .no-results.sc-z-select z-icon.sc-z-select{margin-right:var(--space-unit)}.z-list-group-title.sc-z-select{color:var(--gray800)}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import { a as getElementTree, h as handleKeyboardSubmit } from './utils-
|
|
2
|
+
import { a as getElementTree, h as handleKeyboardSubmit } from './utils-6cf7efe2.js';
|
|
3
3
|
import { T as ThemeVariant } from './index-968a240f.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-a2ca4b97.js';
|
|
2
2
|
import { o as Device } from './index-968a240f.js';
|
|
3
|
-
import { e as convertJson, g as getDevice, h as handleKeyboardSubmit } from './utils-
|
|
3
|
+
import { e as convertJson, g as getDevice, h as handleKeyboardSubmit } from './utils-6cf7efe2.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ":host{display:block;width:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;flex-direction:column}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;z-index:10;top:50%;width:auto;margin:0 var(--space-unit);cursor:pointer;fill:var(--color-primary01);transition:0.6s ease}main .scroll.disabled{opacity:0.5;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;line-height:0px;overflow-y:hidden;transition:all 300ms}footer{display:grid;width:100%;height:56px;align-items:center;border-top:var(--border-base) solid var(--color-surface02);grid-template:2 / 2;grid-template-areas:\"center center\" \"left right\"}footer>div{width:100%;align-items:center}footer .footer-center{grid-area:center}footer .footer-left{grid-area:left}footer .footer-right{grid-area:right}footer .bullet-container{display:flex;min-height:60px;align-items:center;justify-content:center;margin:0 auto}footer .bullet-container .bullet{width:8px;height:8px;margin:var(--space-unit) 2px;background-color:var(--bg-neutral-150);border-radius:50%;pointer-events:none}footer .bullet-container .bullet.selected{background-color:var(--bg-neutral-400)}@media only screen and (min-width: 768px){footer{height:76px;border-top:var(--border-base) solid var(--color-surface02);grid-template:1 / 1fr 2fr 1fr;grid-template-areas:\"left center right\"}footer .bullet-container .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bullet-container .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);cursor:pointer;pointer-events:auto}}";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
2
|
import { h as Size, S as SortDirection, B as ButtonVariant, c as ButtonSize, P as PopoverPosition } from './index-968a240f.js';
|
|
3
|
-
import { a as getElementTree } from './utils-
|
|
3
|
+
import { a as getElementTree } from './utils-6cf7efe2.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ":host{position:relative;display:table-cell;border-bottom:var(--border-size-medium) solid var(--gray200);background-color:var(--gray50);font-family:var(--dashboard-font);font-weight:var(--font-sb);text-align:start}.container{display:flex;align-items:flex-end}:host(.sortable){cursor:pointer}:host([padding=\"x-small\"]){padding:calc(var(--space-unit) * 0.5)}:host([padding=\"small\"]){padding:calc(var(--space-unit))}:host([padding=\"medium\"]){padding:calc(var(--space-unit) * 2)}:host([padding=\"large\"]){padding:calc(var(--space-unit) * 2.5)}:host([padding=\"special\"]){padding:0}.arrow{padding-left:var(--space-unit);opacity:1}.popover-container{position:absolute;top:var(--space-unit);right:var(--space-unit);display:none}.popover-container z-popover{--z-popover-theme--surface:var(--gray200);position:relative;z-index:1}.popover-container.visible{display:block}:host(:hover) .popover-container{display:block}";
|
|
@@ -26,9 +26,9 @@ const ZTableRow = class {
|
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
28
|
return (h(Host, { role: "row", expanded: this.expanded, onClick: (event) => {
|
|
29
|
-
const
|
|
29
|
+
const preventExpand = event.target.classList.contains("prevent-expand");
|
|
30
30
|
const isExpandable = this.expandedType === ZTableRowExpandedType.EXPANDABLE;
|
|
31
|
-
if (isExpandable && !
|
|
31
|
+
if (isExpandable && !preventExpand) {
|
|
32
32
|
this.handleExpand();
|
|
33
33
|
}
|
|
34
34
|
} }, this.expandedType !== ZTableRowExpandedType.NONE && this.renderExpandButton(), h("slot", null)));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-a2ca4b97.js';
|
|
2
|
-
import { r as randomId } from './utils-
|
|
2
|
+
import { r as randomId } from './utils-6cf7efe2.js';
|
|
3
3
|
import { j as LabelPosition } from './index-968a240f.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import { AlertType, LicenseType
|
|
9
|
-
import { AvatarSize, ButtonSize, ButtonType, ButtonVariant, CardVariant, CarouselArrowsPosition, CarouselProgressMode, ComboItem, CoverHeroContentPosition, CoverHeroVariant, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, InfoRevealPosition, InputStatus, InputType, LabelPosition, ListDividerType, ListSize, ListType,
|
|
8
|
+
import { AlertType, LicenseType } from "./beans/index";
|
|
9
|
+
import { AvatarSize, ButtonSize, ButtonType, ButtonVariant, CardVariant, CarouselArrowsPosition, CarouselProgressMode, ComboItem, CoverHeroContentPosition, CoverHeroVariant, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, InfoRevealPosition, InputStatus, InputType, LabelPosition, ListDividerType, ListSize, ListType, NavigationTabsOrientation, NavigationTabsSize, NotificationType, OffCanvasVariant, PocketStatus, PopoverPosition, SelectItem, Size, SkipToContentLink, SortDirection, ThemeVariant, ToastNotification, ToastNotificationPosition, ToastNotificationTransition, TransitionDirection, ZAriaAlertMode, ZChipType, ZDatePickerMode, ZFileUploadType, ZRangePickerMode, ZSectionTitleDividerPosition, ZTableRowExpandedType } from "./beans";
|
|
10
10
|
import { ListItem } from "./beans/index.js";
|
|
11
11
|
import { ZTypographyLevels } from "./components/typography/z-typography/index";
|
|
12
12
|
export namespace Components {
|
|
@@ -50,28 +50,6 @@ export namespace Components {
|
|
|
50
50
|
*/
|
|
51
51
|
"theme"?: ThemeVariant;
|
|
52
52
|
}
|
|
53
|
-
interface ZAppTopbar {
|
|
54
|
-
/**
|
|
55
|
-
* maximum width of topbar content
|
|
56
|
-
*/
|
|
57
|
-
"contentMaxWidth"?: number;
|
|
58
|
-
/**
|
|
59
|
-
* link URL used by z-logo
|
|
60
|
-
*/
|
|
61
|
-
"logoLink"?: string;
|
|
62
|
-
/**
|
|
63
|
-
* add app-switcher
|
|
64
|
-
*/
|
|
65
|
-
"showAppSwitcher": boolean;
|
|
66
|
-
/**
|
|
67
|
-
* theme variant, default 'dark'
|
|
68
|
-
*/
|
|
69
|
-
"theme"?: ThemeVariant;
|
|
70
|
-
/**
|
|
71
|
-
* JSON string or MenuItem array to define topbar links
|
|
72
|
-
*/
|
|
73
|
-
"topbarContent"?: string | MenuItem[];
|
|
74
|
-
}
|
|
75
53
|
interface ZAriaAlert {
|
|
76
54
|
/**
|
|
77
55
|
* Aria live mode
|
|
@@ -766,20 +744,6 @@ export namespace Components {
|
|
|
766
744
|
*/
|
|
767
745
|
"open": boolean;
|
|
768
746
|
}
|
|
769
|
-
interface ZMenuDropdown {
|
|
770
|
-
/**
|
|
771
|
-
* unique button id
|
|
772
|
-
*/
|
|
773
|
-
"buttonid": string;
|
|
774
|
-
/**
|
|
775
|
-
* Json stringified or array to fill menu dropdown
|
|
776
|
-
*/
|
|
777
|
-
"menucontent": string | MenuItem1[];
|
|
778
|
-
/**
|
|
779
|
-
* user name text
|
|
780
|
-
*/
|
|
781
|
-
"nomeutente": string;
|
|
782
|
-
}
|
|
783
747
|
interface ZMenuSection {
|
|
784
748
|
/**
|
|
785
749
|
* Active state
|
|
@@ -818,28 +782,6 @@ export namespace Components {
|
|
|
818
782
|
*/
|
|
819
783
|
"modaltitle"?: string;
|
|
820
784
|
}
|
|
821
|
-
interface ZModalLogin {
|
|
822
|
-
/**
|
|
823
|
-
* Forgot Password Url
|
|
824
|
-
*/
|
|
825
|
-
"forgotPasswordUrl": string;
|
|
826
|
-
/**
|
|
827
|
-
* Login modal title
|
|
828
|
-
*/
|
|
829
|
-
"heading"?: string;
|
|
830
|
-
/**
|
|
831
|
-
* Username helper message
|
|
832
|
-
*/
|
|
833
|
-
"message"?: string;
|
|
834
|
-
/**
|
|
835
|
-
* Password helper message
|
|
836
|
-
*/
|
|
837
|
-
"pwdmessage"?: string;
|
|
838
|
-
/**
|
|
839
|
-
* Username/password input status
|
|
840
|
-
*/
|
|
841
|
-
"status"?: InputStatus;
|
|
842
|
-
}
|
|
843
785
|
interface ZMyzCard {
|
|
844
786
|
/**
|
|
845
787
|
* graphic variant (optional)
|
|
@@ -1700,28 +1642,6 @@ export namespace Components {
|
|
|
1700
1642
|
*/
|
|
1701
1643
|
"variant": "regular" | "semibold" | "light";
|
|
1702
1644
|
}
|
|
1703
|
-
interface ZUserDropdown {
|
|
1704
|
-
/**
|
|
1705
|
-
* logged status flag
|
|
1706
|
-
*/
|
|
1707
|
-
"logged"?: boolean;
|
|
1708
|
-
/**
|
|
1709
|
-
* Json stringified or array to fill menu dropdown
|
|
1710
|
-
*/
|
|
1711
|
-
"menuContent"?: string | MenuItem[];
|
|
1712
|
-
/**
|
|
1713
|
-
* if inner components colors are inverted, or not, default false
|
|
1714
|
-
*/
|
|
1715
|
-
"useInverseColors"?: boolean;
|
|
1716
|
-
/**
|
|
1717
|
-
* user email
|
|
1718
|
-
*/
|
|
1719
|
-
"userEmail"?: string;
|
|
1720
|
-
/**
|
|
1721
|
-
* user full name
|
|
1722
|
-
*/
|
|
1723
|
-
"userFullName"?: string;
|
|
1724
|
-
}
|
|
1725
1645
|
interface ZVisuallyHidden {
|
|
1726
1646
|
}
|
|
1727
1647
|
}
|
|
@@ -1801,10 +1721,6 @@ export interface ZModalCustomEvent<T> extends CustomEvent<T> {
|
|
|
1801
1721
|
detail: T;
|
|
1802
1722
|
target: HTMLZModalElement;
|
|
1803
1723
|
}
|
|
1804
|
-
export interface ZModalLoginCustomEvent<T> extends CustomEvent<T> {
|
|
1805
|
-
detail: T;
|
|
1806
|
-
target: HTMLZModalLoginElement;
|
|
1807
|
-
}
|
|
1808
1724
|
export interface ZMyzCardAlertCustomEvent<T> extends CustomEvent<T> {
|
|
1809
1725
|
detail: T;
|
|
1810
1726
|
target: HTMLZMyzCardAlertElement;
|
|
@@ -1889,10 +1805,6 @@ export interface ZToggleSwitchCustomEvent<T> extends CustomEvent<T> {
|
|
|
1889
1805
|
detail: T;
|
|
1890
1806
|
target: HTMLZToggleSwitchElement;
|
|
1891
1807
|
}
|
|
1892
|
-
export interface ZUserDropdownCustomEvent<T> extends CustomEvent<T> {
|
|
1893
|
-
detail: T;
|
|
1894
|
-
target: HTMLZUserDropdownElement;
|
|
1895
|
-
}
|
|
1896
1808
|
declare global {
|
|
1897
1809
|
interface HTMLZAlertElement extends Components.ZAlert, HTMLStencilElement {
|
|
1898
1810
|
}
|
|
@@ -1918,12 +1830,6 @@ declare global {
|
|
|
1918
1830
|
prototype: HTMLZAppSwitcherElement;
|
|
1919
1831
|
new (): HTMLZAppSwitcherElement;
|
|
1920
1832
|
};
|
|
1921
|
-
interface HTMLZAppTopbarElement extends Components.ZAppTopbar, HTMLStencilElement {
|
|
1922
|
-
}
|
|
1923
|
-
var HTMLZAppTopbarElement: {
|
|
1924
|
-
prototype: HTMLZAppTopbarElement;
|
|
1925
|
-
new (): HTMLZAppTopbarElement;
|
|
1926
|
-
};
|
|
1927
1833
|
interface HTMLZAriaAlertElement extends Components.ZAriaAlert, HTMLStencilElement {
|
|
1928
1834
|
}
|
|
1929
1835
|
var HTMLZAriaAlertElement: {
|
|
@@ -2104,12 +2010,6 @@ declare global {
|
|
|
2104
2010
|
prototype: HTMLZMenuElement;
|
|
2105
2011
|
new (): HTMLZMenuElement;
|
|
2106
2012
|
};
|
|
2107
|
-
interface HTMLZMenuDropdownElement extends Components.ZMenuDropdown, HTMLStencilElement {
|
|
2108
|
-
}
|
|
2109
|
-
var HTMLZMenuDropdownElement: {
|
|
2110
|
-
prototype: HTMLZMenuDropdownElement;
|
|
2111
|
-
new (): HTMLZMenuDropdownElement;
|
|
2112
|
-
};
|
|
2113
2013
|
interface HTMLZMenuSectionElement extends Components.ZMenuSection, HTMLStencilElement {
|
|
2114
2014
|
}
|
|
2115
2015
|
var HTMLZMenuSectionElement: {
|
|
@@ -2128,12 +2028,6 @@ declare global {
|
|
|
2128
2028
|
prototype: HTMLZModalElement;
|
|
2129
2029
|
new (): HTMLZModalElement;
|
|
2130
2030
|
};
|
|
2131
|
-
interface HTMLZModalLoginElement extends Components.ZModalLogin, HTMLStencilElement {
|
|
2132
|
-
}
|
|
2133
|
-
var HTMLZModalLoginElement: {
|
|
2134
|
-
prototype: HTMLZModalLoginElement;
|
|
2135
|
-
new (): HTMLZModalLoginElement;
|
|
2136
|
-
};
|
|
2137
2031
|
interface HTMLZMyzCardElement extends Components.ZMyzCard, HTMLStencilElement {
|
|
2138
2032
|
}
|
|
2139
2033
|
var HTMLZMyzCardElement: {
|
|
@@ -2440,12 +2334,6 @@ declare global {
|
|
|
2440
2334
|
prototype: HTMLZTypographyElement;
|
|
2441
2335
|
new (): HTMLZTypographyElement;
|
|
2442
2336
|
};
|
|
2443
|
-
interface HTMLZUserDropdownElement extends Components.ZUserDropdown, HTMLStencilElement {
|
|
2444
|
-
}
|
|
2445
|
-
var HTMLZUserDropdownElement: {
|
|
2446
|
-
prototype: HTMLZUserDropdownElement;
|
|
2447
|
-
new (): HTMLZUserDropdownElement;
|
|
2448
|
-
};
|
|
2449
2337
|
interface HTMLZVisuallyHiddenElement extends Components.ZVisuallyHidden, HTMLStencilElement {
|
|
2450
2338
|
}
|
|
2451
2339
|
var HTMLZVisuallyHiddenElement: {
|
|
@@ -2457,7 +2345,6 @@ declare global {
|
|
|
2457
2345
|
"z-anchor-navigation": HTMLZAnchorNavigationElement;
|
|
2458
2346
|
"z-app-header": HTMLZAppHeaderElement;
|
|
2459
2347
|
"z-app-switcher": HTMLZAppSwitcherElement;
|
|
2460
|
-
"z-app-topbar": HTMLZAppTopbarElement;
|
|
2461
2348
|
"z-aria-alert": HTMLZAriaAlertElement;
|
|
2462
2349
|
"z-avatar": HTMLZAvatarElement;
|
|
2463
2350
|
"z-body": HTMLZBodyElement;
|
|
@@ -2488,11 +2375,9 @@ declare global {
|
|
|
2488
2375
|
"z-list-group": HTMLZListGroupElement;
|
|
2489
2376
|
"z-logo": HTMLZLogoElement;
|
|
2490
2377
|
"z-menu": HTMLZMenuElement;
|
|
2491
|
-
"z-menu-dropdown": HTMLZMenuDropdownElement;
|
|
2492
2378
|
"z-menu-section": HTMLZMenuSectionElement;
|
|
2493
2379
|
"z-messages-pocket": HTMLZMessagesPocketElement;
|
|
2494
2380
|
"z-modal": HTMLZModalElement;
|
|
2495
|
-
"z-modal-login": HTMLZModalLoginElement;
|
|
2496
2381
|
"z-myz-card": HTMLZMyzCardElement;
|
|
2497
2382
|
"z-myz-card-alert": HTMLZMyzCardAlertElement;
|
|
2498
2383
|
"z-myz-card-body": HTMLZMyzCardBodyElement;
|
|
@@ -2544,7 +2429,6 @@ declare global {
|
|
|
2544
2429
|
"z-toggle-switch": HTMLZToggleSwitchElement;
|
|
2545
2430
|
"z-tooltip": HTMLZTooltipElement;
|
|
2546
2431
|
"z-typography": HTMLZTypographyElement;
|
|
2547
|
-
"z-user-dropdown": HTMLZUserDropdownElement;
|
|
2548
2432
|
"z-visually-hidden": HTMLZVisuallyHiddenElement;
|
|
2549
2433
|
}
|
|
2550
2434
|
}
|
|
@@ -2597,28 +2481,6 @@ declare namespace LocalJSX {
|
|
|
2597
2481
|
*/
|
|
2598
2482
|
"theme"?: ThemeVariant;
|
|
2599
2483
|
}
|
|
2600
|
-
interface ZAppTopbar {
|
|
2601
|
-
/**
|
|
2602
|
-
* maximum width of topbar content
|
|
2603
|
-
*/
|
|
2604
|
-
"contentMaxWidth"?: number;
|
|
2605
|
-
/**
|
|
2606
|
-
* link URL used by z-logo
|
|
2607
|
-
*/
|
|
2608
|
-
"logoLink"?: string;
|
|
2609
|
-
/**
|
|
2610
|
-
* add app-switcher
|
|
2611
|
-
*/
|
|
2612
|
-
"showAppSwitcher"?: boolean;
|
|
2613
|
-
/**
|
|
2614
|
-
* theme variant, default 'dark'
|
|
2615
|
-
*/
|
|
2616
|
-
"theme"?: ThemeVariant;
|
|
2617
|
-
/**
|
|
2618
|
-
* JSON string or MenuItem array to define topbar links
|
|
2619
|
-
*/
|
|
2620
|
-
"topbarContent"?: string | MenuItem[];
|
|
2621
|
-
}
|
|
2622
2484
|
interface ZAriaAlert {
|
|
2623
2485
|
/**
|
|
2624
2486
|
* Aria live mode
|
|
@@ -3385,20 +3247,6 @@ declare namespace LocalJSX {
|
|
|
3385
3247
|
*/
|
|
3386
3248
|
"open"?: boolean;
|
|
3387
3249
|
}
|
|
3388
|
-
interface ZMenuDropdown {
|
|
3389
|
-
/**
|
|
3390
|
-
* unique button id
|
|
3391
|
-
*/
|
|
3392
|
-
"buttonid"?: string;
|
|
3393
|
-
/**
|
|
3394
|
-
* Json stringified or array to fill menu dropdown
|
|
3395
|
-
*/
|
|
3396
|
-
"menucontent"?: string | MenuItem1[];
|
|
3397
|
-
/**
|
|
3398
|
-
* user name text
|
|
3399
|
-
*/
|
|
3400
|
-
"nomeutente"?: string;
|
|
3401
|
-
}
|
|
3402
3250
|
interface ZMenuSection {
|
|
3403
3251
|
/**
|
|
3404
3252
|
* Active state
|
|
@@ -3457,44 +3305,6 @@ declare namespace LocalJSX {
|
|
|
3457
3305
|
*/
|
|
3458
3306
|
"onModalHeaderActive"?: (event: ZModalCustomEvent<any>) => void;
|
|
3459
3307
|
}
|
|
3460
|
-
interface ZModalLogin {
|
|
3461
|
-
/**
|
|
3462
|
-
* Forgot Password Url
|
|
3463
|
-
*/
|
|
3464
|
-
"forgotPasswordUrl"?: string;
|
|
3465
|
-
/**
|
|
3466
|
-
* Login modal title
|
|
3467
|
-
*/
|
|
3468
|
-
"heading"?: string;
|
|
3469
|
-
/**
|
|
3470
|
-
* Username helper message
|
|
3471
|
-
*/
|
|
3472
|
-
"message"?: string;
|
|
3473
|
-
/**
|
|
3474
|
-
* Emitted on login submit
|
|
3475
|
-
*/
|
|
3476
|
-
"onLoginSubmit"?: (event: ZModalLoginCustomEvent<any>) => void;
|
|
3477
|
-
/**
|
|
3478
|
-
* Emitted on signup button click
|
|
3479
|
-
*/
|
|
3480
|
-
"onSignupClick"?: (event: ZModalLoginCustomEvent<any>) => void;
|
|
3481
|
-
/**
|
|
3482
|
-
* Emitted on status update
|
|
3483
|
-
*/
|
|
3484
|
-
"onStatusUpdate"?: (event: ZModalLoginCustomEvent<any>) => void;
|
|
3485
|
-
/**
|
|
3486
|
-
* Emitted on zaino digitale button click
|
|
3487
|
-
*/
|
|
3488
|
-
"onZainoDigitaleClick"?: (event: ZModalLoginCustomEvent<any>) => void;
|
|
3489
|
-
/**
|
|
3490
|
-
* Password helper message
|
|
3491
|
-
*/
|
|
3492
|
-
"pwdmessage"?: string;
|
|
3493
|
-
/**
|
|
3494
|
-
* Username/password input status
|
|
3495
|
-
*/
|
|
3496
|
-
"status"?: InputStatus;
|
|
3497
|
-
}
|
|
3498
3308
|
interface ZMyzCard {
|
|
3499
3309
|
/**
|
|
3500
3310
|
* graphic variant (optional)
|
|
@@ -4439,36 +4249,6 @@ declare namespace LocalJSX {
|
|
|
4439
4249
|
*/
|
|
4440
4250
|
"variant"?: "regular" | "semibold" | "light";
|
|
4441
4251
|
}
|
|
4442
|
-
interface ZUserDropdown {
|
|
4443
|
-
/**
|
|
4444
|
-
* logged status flag
|
|
4445
|
-
*/
|
|
4446
|
-
"logged"?: boolean;
|
|
4447
|
-
/**
|
|
4448
|
-
* Json stringified or array to fill menu dropdown
|
|
4449
|
-
*/
|
|
4450
|
-
"menuContent"?: string | MenuItem[];
|
|
4451
|
-
/**
|
|
4452
|
-
* Emitted on dropdown menu zlink click, returns event
|
|
4453
|
-
*/
|
|
4454
|
-
"onDropdownMenuLinkClick"?: (event: ZUserDropdownCustomEvent<any>) => void;
|
|
4455
|
-
/**
|
|
4456
|
-
* Emitted on enter or user Button click, returns isMenuOpen (bool)
|
|
4457
|
-
*/
|
|
4458
|
-
"onUserButtonClick"?: (event: ZUserDropdownCustomEvent<any>) => void;
|
|
4459
|
-
/**
|
|
4460
|
-
* if inner components colors are inverted, or not, default false
|
|
4461
|
-
*/
|
|
4462
|
-
"useInverseColors"?: boolean;
|
|
4463
|
-
/**
|
|
4464
|
-
* user email
|
|
4465
|
-
*/
|
|
4466
|
-
"userEmail"?: string;
|
|
4467
|
-
/**
|
|
4468
|
-
* user full name
|
|
4469
|
-
*/
|
|
4470
|
-
"userFullName"?: string;
|
|
4471
|
-
}
|
|
4472
4252
|
interface ZVisuallyHidden {
|
|
4473
4253
|
}
|
|
4474
4254
|
interface IntrinsicElements {
|
|
@@ -4476,7 +4256,6 @@ declare namespace LocalJSX {
|
|
|
4476
4256
|
"z-anchor-navigation": ZAnchorNavigation;
|
|
4477
4257
|
"z-app-header": ZAppHeader;
|
|
4478
4258
|
"z-app-switcher": ZAppSwitcher;
|
|
4479
|
-
"z-app-topbar": ZAppTopbar;
|
|
4480
4259
|
"z-aria-alert": ZAriaAlert;
|
|
4481
4260
|
"z-avatar": ZAvatar;
|
|
4482
4261
|
"z-body": ZBody;
|
|
@@ -4507,11 +4286,9 @@ declare namespace LocalJSX {
|
|
|
4507
4286
|
"z-list-group": ZListGroup;
|
|
4508
4287
|
"z-logo": ZLogo;
|
|
4509
4288
|
"z-menu": ZMenu;
|
|
4510
|
-
"z-menu-dropdown": ZMenuDropdown;
|
|
4511
4289
|
"z-menu-section": ZMenuSection;
|
|
4512
4290
|
"z-messages-pocket": ZMessagesPocket;
|
|
4513
4291
|
"z-modal": ZModal;
|
|
4514
|
-
"z-modal-login": ZModalLogin;
|
|
4515
4292
|
"z-myz-card": ZMyzCard;
|
|
4516
4293
|
"z-myz-card-alert": ZMyzCardAlert;
|
|
4517
4294
|
"z-myz-card-body": ZMyzCardBody;
|
|
@@ -4563,7 +4340,6 @@ declare namespace LocalJSX {
|
|
|
4563
4340
|
"z-toggle-switch": ZToggleSwitch;
|
|
4564
4341
|
"z-tooltip": ZTooltip;
|
|
4565
4342
|
"z-typography": ZTypography;
|
|
4566
|
-
"z-user-dropdown": ZUserDropdown;
|
|
4567
4343
|
"z-visually-hidden": ZVisuallyHidden;
|
|
4568
4344
|
}
|
|
4569
4345
|
}
|
|
@@ -4575,7 +4351,6 @@ declare module "@stencil/core" {
|
|
|
4575
4351
|
"z-anchor-navigation": LocalJSX.ZAnchorNavigation & JSXBase.HTMLAttributes<HTMLZAnchorNavigationElement>;
|
|
4576
4352
|
"z-app-header": LocalJSX.ZAppHeader & JSXBase.HTMLAttributes<HTMLZAppHeaderElement>;
|
|
4577
4353
|
"z-app-switcher": LocalJSX.ZAppSwitcher & JSXBase.HTMLAttributes<HTMLZAppSwitcherElement>;
|
|
4578
|
-
"z-app-topbar": LocalJSX.ZAppTopbar & JSXBase.HTMLAttributes<HTMLZAppTopbarElement>;
|
|
4579
4354
|
"z-aria-alert": LocalJSX.ZAriaAlert & JSXBase.HTMLAttributes<HTMLZAriaAlertElement>;
|
|
4580
4355
|
"z-avatar": LocalJSX.ZAvatar & JSXBase.HTMLAttributes<HTMLZAvatarElement>;
|
|
4581
4356
|
"z-body": LocalJSX.ZBody & JSXBase.HTMLAttributes<HTMLZBodyElement>;
|
|
@@ -4606,11 +4381,9 @@ declare module "@stencil/core" {
|
|
|
4606
4381
|
"z-list-group": LocalJSX.ZListGroup & JSXBase.HTMLAttributes<HTMLZListGroupElement>;
|
|
4607
4382
|
"z-logo": LocalJSX.ZLogo & JSXBase.HTMLAttributes<HTMLZLogoElement>;
|
|
4608
4383
|
"z-menu": LocalJSX.ZMenu & JSXBase.HTMLAttributes<HTMLZMenuElement>;
|
|
4609
|
-
"z-menu-dropdown": LocalJSX.ZMenuDropdown & JSXBase.HTMLAttributes<HTMLZMenuDropdownElement>;
|
|
4610
4384
|
"z-menu-section": LocalJSX.ZMenuSection & JSXBase.HTMLAttributes<HTMLZMenuSectionElement>;
|
|
4611
4385
|
"z-messages-pocket": LocalJSX.ZMessagesPocket & JSXBase.HTMLAttributes<HTMLZMessagesPocketElement>;
|
|
4612
4386
|
"z-modal": LocalJSX.ZModal & JSXBase.HTMLAttributes<HTMLZModalElement>;
|
|
4613
|
-
"z-modal-login": LocalJSX.ZModalLogin & JSXBase.HTMLAttributes<HTMLZModalLoginElement>;
|
|
4614
4387
|
"z-myz-card": LocalJSX.ZMyzCard & JSXBase.HTMLAttributes<HTMLZMyzCardElement>;
|
|
4615
4388
|
"z-myz-card-alert": LocalJSX.ZMyzCardAlert & JSXBase.HTMLAttributes<HTMLZMyzCardAlertElement>;
|
|
4616
4389
|
"z-myz-card-body": LocalJSX.ZMyzCardBody & JSXBase.HTMLAttributes<HTMLZMyzCardBodyElement>;
|
|
@@ -4662,7 +4435,6 @@ declare module "@stencil/core" {
|
|
|
4662
4435
|
"z-toggle-switch": LocalJSX.ZToggleSwitch & JSXBase.HTMLAttributes<HTMLZToggleSwitchElement>;
|
|
4663
4436
|
"z-tooltip": LocalJSX.ZTooltip & JSXBase.HTMLAttributes<HTMLZTooltipElement>;
|
|
4664
4437
|
"z-typography": LocalJSX.ZTypography & JSXBase.HTMLAttributes<HTMLZTypographyElement>;
|
|
4665
|
-
"z-user-dropdown": LocalJSX.ZUserDropdown & JSXBase.HTMLAttributes<HTMLZUserDropdownElement>;
|
|
4666
4438
|
"z-visually-hidden": LocalJSX.ZVisuallyHidden & JSXBase.HTMLAttributes<HTMLZVisuallyHiddenElement>;
|
|
4667
4439
|
}
|
|
4668
4440
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as V}from"./p-
|
|
1
|
+
import{c as V}from"./p-8ebe4adf.js";export{n as AlertType,A as AvatarSize,c as ButtonSize,b as ButtonType,B as ButtonVariant,C as CardVariant,Q as CarouselArrowsPosition,R as CarouselProgressMode,M as CoverHeroContentPosition,J as CoverHeroVariant,o as Device,f as DividerOrientation,D as DividerSize,i as ExpandableListButtonAlign,E as ExpandableListStyle,H as InfoRevealPosition,d as InputStatus,I as InputType,e as KeyboardCode,K as KeyboardKeyCode,j as LabelPosition,L as LicenseType,k as ListDividerType,g as ListSize,l as ListType,N as NavigationTabsOrientation,a as NavigationTabsSize,m as NotificationType,O as OffCanvasVariant,p as PocketStatus,P as PopoverPosition,h as Size,S as SortDirection,T as ThemeVariant,q as ToastNotification,s as ToastNotificationPosition,r as ToastNotificationTransition,u as TransitionDirection,t as ZAriaAlertMode,w as ZChipType,y as ZDatePickerMode,z as ZDatePickerModeValue,F as ZDatePickerPosition,v as ZFileUploadType,G as ZRangePickerMode,x as ZSectionTitleDividerPosition,Z as ZTableRowExpandedType}from"./p-a23e9115.js";import"./p-d69e14fb.js";const U={colorFromId:V};export{U as Utils}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as a,H as l}from"./p-d17ebc2f.js";import{Z as d}from"./p-a23e9115.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=>{const t=e.target.classList.contains("prevent-expand");this.expandedType===d.EXPANDABLE&&!t&&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;box-sizing:border-box;padding-right:0;padding-left:16px;fill:var(--gray800);text-align:center;user-select:none}.z-icon-placeholder{width:24px;padding-right:0}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{border-bottom:none;background-color:var(--gray50)}z-table-row[expanded]+z-table-expanded-row{display:table-row}';export{r as z_table_row}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,c as t,h as e,H as i}from"./p-d17ebc2f.js";import{r as c}from"./p-
|
|
1
|
+
import{r as s,c as t,h as e,H as i}from"./p-d17ebc2f.js";import{r as c}from"./p-8ebe4adf.js";import{j as l}from"./p-a23e9115.js";import"./p-d69e14fb.js";const o=class{constructor(e){s(this,e),this.toggleClick=t(this,"toggleClick",7),this.disabled=!1,this.labelPosition=l.LEFT,this.checked=!1,this.htmlid=`toggle-switch-id-${c()}`}emitToggleClick(){this.toggleClick.emit({id:this.htmlid,checked:this.checked})}handleClick(s){this.disabled||(this.checked=s.target.checked,this.emitToggleClick())}render(){return e(i,null,e("input",{id:this.htmlid,type:"checkbox",checked:this.checked,disabled:this.disabled,onChange:this.handleClick.bind(this)}),e("label",{htmlFor:this.htmlid,class:{[this.labelPosition]:!0,disabled:this.disabled}},e("span",null,e("slot",null)),e("span",{class:{container:!0,disabled:this.disabled,checked:this.checked}},e("span",{class:"circle"},this.checked&&e("z-icon",{width:12,height:12,name:"checkmark"})))))}};o.style='.sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-text01);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--gray500);border-radius:var(--space-unit);color:var(--gray500);cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){box-shadow:var(--shadow-focus-primary);outline:none}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);align-items:center;justify-content:center;margin:0;background-color:var(--color-white);border-radius:7px;box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type="checkbox"].sc-z-toggle-switch{position:absolute;z-index:-1;opacity:0;pointer-events:none}';export{o as z_toggle_switch}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,H as a,g as
|
|
1
|
+
import{r as t,c as s,h as i,H as a,g as e}from"./p-d17ebc2f.js";import{h as o,S as r,B as n,c as l,P as c}from"./p-a23e9115.js";import{a as p}from"./p-8ebe4adf.js";import"./p-d69e14fb.js";const d=class{constructor(i){t(this,i),this.sort=s(this,"sort",7),this.padding=o.MEDIUM,this.defaultSortDirection=r.ASC,this.sortDirection=r.NONE,this.emitOnSort=this.emitOnSort.bind(this)}emitOnSort(){this.sort.emit({columnId:this.columnId,sortDirection:this.sortDirection})}handleSort(){this.sortable&&(this.sortDirection=(()=>{switch(this.sortDirection){case r.ASC:return r.DESC;case r.DESC:return r.ASC;case r.NONE:return this.defaultSortDirection;default:return r.NONE}})(),this.emitOnSort())}handleMenuClick(){this.popover.open=!this.popover.open}handleOutsideClick(t){!p(t.target).find((t=>"z-popover"===t.nodeName.toLowerCase()))&&this.popover&&(this.popover.open=!1)}handleClickHeaders(t){const s=t.target,i=p(s).find((t=>"z-table-header"===t.nodeName.toLowerCase()));this.sortable&&i&&i.attributes.getNamedItem("column-id").value!==this.columnId&&(s.parentNode.sortable||s.sortable)&&(this.sortDirection=r.NONE)}componentWillRender(){this.host.setAttribute("role","columnheader")}render(){return i(a,{class:{sortable:this.sortable},onClick:()=>this.handleSort()},i("div",{class:"container"},i("slot",null),this.sortable&&this.sortDirection!==r.NONE&&i("z-icon",{name:this.sortDirection===r.ASC?"arrow-up":"arrow-down",class:"arrow"})),this.showButton&&i("div",{class:"popover-container"},i("z-button",{ref:t=>this.triggerButton=t,class:"contextual-popover-button",icon:"contextual-menu",variant:n.TERTIARY,size:l.X_SMALL,onClick:()=>this.handleMenuClick()}),i("z-popover",{ref:t=>this.popover=t,position:c.BOTTOM,center:!0,bindTo:this.triggerButton},i("div",null,i("slot",{name:"contextual-menu"})))))}get host(){return e(this)}};d.style=':host{position:relative;display:table-cell;border-bottom:var(--border-size-medium) solid var(--gray200);background-color:var(--gray50);font-family:var(--dashboard-font);font-weight:var(--font-sb);text-align:start}.container{display:flex;align-items:flex-end}:host(.sortable){cursor:pointer}:host([padding="x-small"]){padding:calc(var(--space-unit) * 0.5)}:host([padding="small"]){padding:calc(var(--space-unit))}:host([padding="medium"]){padding:calc(var(--space-unit) * 2)}:host([padding="large"]){padding:calc(var(--space-unit) * 2.5)}:host([padding="special"]){padding:0}.arrow{padding-left:var(--space-unit);opacity:1}.popover-container{position:absolute;top:var(--space-unit);right:var(--space-unit);display:none}.popover-container z-popover{--z-popover-theme--surface:var(--gray200);position:relative;z-index:1}.popover-container.visible{display:block}:host(:hover) .popover-container{display:block}';export{d as z_table_header}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s}from"./p-d17ebc2f.js";import{h as e}from"./p-
|
|
1
|
+
import{r as t,c as i,h as s}from"./p-d17ebc2f.js";import{h as e}from"./p-8ebe4adf.js";import"./p-a23e9115.js";import"./p-d69e14fb.js";const a=class{constructor(s){t(this,s),this.zListItemLinkClick=i(this,"zListItemLinkClick",7),this.zListItemClick=i(this,"zListItemClick",7),this.linktarget="_self",this.underlined=!0,this.emitZListItemLinkClick=this.emitZListItemLinkClick.bind(this),this.emitZListItemClick=this.emitZListItemClick.bind(this)}emitZListItemLinkClick(t,i){this.zListItemLinkClick.emit({e:t,linkId:i})}emitZListItemClick(t,i){this.zListItemClick.emit({e:t,listitemid:i})}render(){const t=this.listitemid?`link_${this.listitemid}`:"";return s("li",{role:"button",id:this.listitemid,"data-action":this.action,onClick:t=>this.emitZListItemClick(t,this.listitemid),onKeyPress:t=>e(t,this.emitZListItemClick,this.listitemid)},s("span",{class:this.underlined&&"border"},this.icon&&s("z-icon",{name:this.icon}),this.link?s("a",{href:this.link?this.link:null,target:this.linktarget,id:t,onClick:i=>this.emitZListItemLinkClick(i,t),onKeyPress:i=>e(i,this.emitZListItemLinkClick,t),role:this.link?"link":"button",tabindex:"0"},this.text):s("span",{innerHTML:this.text}),s("slot",null)))}};a.style=":host li{all:unset;all:reset;width:100%;line-height:14px;list-style-type:none}:host li>span{display:flex;padding:calc(var(--space-unit) * 2) 0;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:16px;font-weight:var(--font-rg);letter-spacing:0.23px;line-height:14px}:host li>span.border{border-bottom:2px solid var(--bg-grey-200)}:host li span:hover,a:hover{color:var(--myz-blue);fill:var(--myz-blue)}a,a:visited,a:active{color:inherit;fill:inherit;text-decoration:none}:host li span z-icon{width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-repeat:no-repeat;background-size:contain;color:var(--myz-blue);fill:var(--myz-blue)}";export{a as z_myz_list_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,g as s}from"./p-d17ebc2f.js";import{p as o}from"./p-a23e9115.js";import{h as a}from"./p-
|
|
1
|
+
import{r as t,c as i,h as e,g as s}from"./p-d17ebc2f.js";import{p as o}from"./p-a23e9115.js";import{h as a}from"./p-8ebe4adf.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:"content-wrapper"},e("div",null,e("slot",null))))}get hostElement(){return s(this)}static get watchers(){return{status:["watchStatusHandler"]}}};n.style=":host{width:inherit;height:100%;margin:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{width:inherit;height:100%;margin:inherit}:host>div>div.background{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;width:0;height:0}:host>div>div.background.open{width:100%;height:100%}:host>div>div.content-wrapper{position:fixed;z-index:999;bottom:0;left:0;width:inherit;margin:inherit}:host>div>div.content-wrapper>div{margin:calc(var(--space-unit) * 0.5) calc(var(--space-unit) * 0.5) 0 calc(var(--space-unit) * 0.5);border-radius:var(--space-unit) var(--space-unit) 0 0;box-shadow:0 -2px calc(var(--space-unit) * 0.5) 0 rgb(66 69 72 / 40%)}";const h=class{constructor(i){t(this,i),this.status=o.PREVIEW}handlePocketToggle(t){t.detail.id&&t.detail.id===this.pocketid&&(this.status=t.detail.status)}render(){return e("main",{class:this.status},e("slot",null))}};h.style=":host{display:block;width:100%;box-sizing:border-box;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>main{overflow:auto;border-right:var(--border-size-small) solid var(--color-surface03);border-left:var(--border-size-small) solid var(--color-surface03);background:var(--color-surface01);scrollbar-width:none}:host>main.preview{max-height:225px;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.open{max-height:calc(100vh - 48px);transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.closed{height:0;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>main.preview{max-height:157px}}";const c=class{constructor(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{display:block;width:100%;box-sizing:border-box;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>header{display:flex;height:36px;flex-flow:row nowrap;align-items:center;justify-content:center;border:var(--border-size-small) solid var(--color-surface03);background:var(--color-surface01);border-radius:var(--space-unit) var(--space-unit) 0 0;cursor:pointer}:host>header:focus{outline:none}:host>header::-moz-focus-inner{border:0}";export{n as z_pocket,h as z_pocket_body,c as z_pocket_header}
|