@orangelogic/design-system 2.19.0-pr77233.3 → 2.19.0-pr77234.3
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/library/components/popup.js +84 -71
- package/library/components/types.js +24 -37
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/popup/popup.d.ts +8 -1
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { r as
|
|
1
|
+
import { a as ze, i as Vt, r as Be, x as j, n as v, C as Ie, c as Me } from "../chunks/custom-element.fmLrnDZr.js";
|
|
2
|
+
import { r as ye } from "../chunks/state.Dt9F_SuS.js";
|
|
3
3
|
import { e as ut } from "../chunks/query.BBf1UFkC.js";
|
|
4
4
|
import { e as He } from "../chunks/base.D76d76ww.js";
|
|
5
5
|
import { o as Tt } from "../chunks/if-defined.CKupVaWs.js";
|
|
6
6
|
import { o as se } from "../chunks/style-map.lEJHEwk3.js";
|
|
7
7
|
import { i as Lt, p as ne, f as We, a as qe } from "../chunks/browser.Va59Ix3P.js";
|
|
8
|
-
import { c as
|
|
8
|
+
import { c as ve } from "../chunks/component.styles.DtouHn2g.js";
|
|
9
9
|
import { L as Ve } from "../chunks/i18n.C6c6_pqI.js";
|
|
10
10
|
import { e as Dt } from "../chunks/class-map.DqNfBvJI.js";
|
|
11
11
|
import { n as Ue } from "../chunks/when.Dr1es41R.js";
|
|
@@ -77,7 +77,7 @@ function Ke(e) {
|
|
|
77
77
|
}
|
|
78
78
|
return t;
|
|
79
79
|
}
|
|
80
|
-
class Xe extends Ke(
|
|
80
|
+
class Xe extends Ke(ze) {
|
|
81
81
|
}
|
|
82
82
|
function Ge(e, t, o) {
|
|
83
83
|
const i = e.getAttribute(t);
|
|
@@ -305,7 +305,7 @@ class ht extends Xe {
|
|
|
305
305
|
document.dispatchEvent(t);
|
|
306
306
|
}
|
|
307
307
|
static async open(t, o, i, s) {
|
|
308
|
-
await Promise.resolve().then(() =>
|
|
308
|
+
await Promise.resolve().then(() => $e);
|
|
309
309
|
const r = arguments.length === 2, n = i || t, a = new this();
|
|
310
310
|
let l = !1;
|
|
311
311
|
a.dispose = () => {
|
|
@@ -345,7 +345,7 @@ class ht extends Xe {
|
|
|
345
345
|
t.delayed = !!o.delayed, t.receivesFocus = o.receivesFocus ?? "auto", t.triggerElement = o.trigger || null, t.type = o.type || "modal", t.offset = o.offset ?? 0, t.placement = o.placement, t.willPreventClose = !!o.notImmediatelyClosable;
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
const
|
|
348
|
+
const be = Symbol("element resolver updated");
|
|
349
349
|
class hi {
|
|
350
350
|
constructor(t, { selector: o } = { selector: "" }) {
|
|
351
351
|
this._element = null, this._selector = "", this.mutationCallback = (i) => {
|
|
@@ -373,7 +373,7 @@ class hi {
|
|
|
373
373
|
if (t === this.element)
|
|
374
374
|
return;
|
|
375
375
|
const o = this.element;
|
|
376
|
-
this._element = t, this.host.requestUpdate(
|
|
376
|
+
this._element = t, this.host.requestUpdate(be, o);
|
|
377
377
|
}
|
|
378
378
|
get selector() {
|
|
379
379
|
return this._selector;
|
|
@@ -877,7 +877,7 @@ function Z(e) {
|
|
|
877
877
|
function at(e) {
|
|
878
878
|
return e.split("-")[1];
|
|
879
879
|
}
|
|
880
|
-
function
|
|
880
|
+
function we(e) {
|
|
881
881
|
return e === "x" ? "y" : "x";
|
|
882
882
|
}
|
|
883
883
|
function Jt(e) {
|
|
@@ -888,7 +888,7 @@ function Y(e) {
|
|
|
888
888
|
return wi.has(Z(e)) ? "y" : "x";
|
|
889
889
|
}
|
|
890
890
|
function Zt(e) {
|
|
891
|
-
return
|
|
891
|
+
return we(Y(e));
|
|
892
892
|
}
|
|
893
893
|
function xi(e, t, o) {
|
|
894
894
|
o === void 0 && (o = !1);
|
|
@@ -933,7 +933,7 @@ function Si(e) {
|
|
|
933
933
|
...e
|
|
934
934
|
};
|
|
935
935
|
}
|
|
936
|
-
function
|
|
936
|
+
function xe(e) {
|
|
937
937
|
return typeof e != "number" ? Si(e) : {
|
|
938
938
|
top: e,
|
|
939
939
|
right: e,
|
|
@@ -1084,7 +1084,7 @@ async function dt(e, t) {
|
|
|
1084
1084
|
elementContext: d = "floating",
|
|
1085
1085
|
altBoundary: u = !1,
|
|
1086
1086
|
padding: p = 0
|
|
1087
|
-
} = st(t, e), f =
|
|
1087
|
+
} = st(t, e), f = xe(p), m = a[u ? d === "floating" ? "reference" : "floating" : d], y = Et(await r.getClippingRect({
|
|
1088
1088
|
element: (o = await (r.isElement == null ? void 0 : r.isElement(m))) == null || o ? m : m.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(a.floating)),
|
|
1089
1089
|
boundary: c,
|
|
1090
1090
|
rootBoundary: h,
|
|
@@ -1131,7 +1131,7 @@ const Ti = (e) => ({
|
|
|
1131
1131
|
} = st(e, t) || {};
|
|
1132
1132
|
if (c == null)
|
|
1133
1133
|
return {};
|
|
1134
|
-
const d =
|
|
1134
|
+
const d = xe(h), u = {
|
|
1135
1135
|
x: o,
|
|
1136
1136
|
y: i
|
|
1137
1137
|
}, p = Zt(s), f = Jt(p), g = await n.getDimensions(c), m = p === "y", y = m ? "top" : "left", x = m ? "bottom" : "right", E = m ? "clientHeight" : "clientWidth", C = r.reference[f] + r.reference[p] - u[p] - r.floating[f], P = u[p] - r.reference[p], F = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(c));
|
|
@@ -1213,7 +1213,7 @@ const Ti = (e) => ({
|
|
|
1213
1213
|
Q === "y";
|
|
1214
1214
|
}
|
|
1215
1215
|
return !0;
|
|
1216
|
-
}).map(($) => [$.placement, $.overflows.filter((Q) => Q > 0).reduce((Q,
|
|
1216
|
+
}).map(($) => [$.placement, $.overflows.filter((Q) => Q > 0).reduce((Q, _e) => Q + _e, 0)]).sort(($, Q) => $[1] - Q[1])[0]) == null ? void 0 : G[0];
|
|
1217
1217
|
N && (U = N);
|
|
1218
1218
|
break;
|
|
1219
1219
|
}
|
|
@@ -1362,7 +1362,7 @@ const Ni = function(e) {
|
|
|
1362
1362
|
} = st(e, t), c = {
|
|
1363
1363
|
x: o,
|
|
1364
1364
|
y: i
|
|
1365
|
-
}, h = await dt(t, l), d = Y(Z(s)), u =
|
|
1365
|
+
}, h = await dt(t, l), d = Y(Z(s)), u = we(d);
|
|
1366
1366
|
let p = c[u], f = c[d];
|
|
1367
1367
|
if (r) {
|
|
1368
1368
|
const m = u === "y" ? "top" : "left", y = u === "y" ? "bottom" : "right", x = p + h[m], E = p - h[y];
|
|
@@ -1435,7 +1435,7 @@ function Ct() {
|
|
|
1435
1435
|
return typeof window < "u";
|
|
1436
1436
|
}
|
|
1437
1437
|
function lt(e) {
|
|
1438
|
-
return
|
|
1438
|
+
return Ee(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
1439
1439
|
}
|
|
1440
1440
|
function L(e) {
|
|
1441
1441
|
var t;
|
|
@@ -1443,9 +1443,9 @@ function L(e) {
|
|
|
1443
1443
|
}
|
|
1444
1444
|
function q(e) {
|
|
1445
1445
|
var t;
|
|
1446
|
-
return (t = (
|
|
1446
|
+
return (t = (Ee(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
1447
1447
|
}
|
|
1448
|
-
function
|
|
1448
|
+
function Ee(e) {
|
|
1449
1449
|
return Ct() ? e instanceof Node || e instanceof L(e).Node : !1;
|
|
1450
1450
|
}
|
|
1451
1451
|
function z(e) {
|
|
@@ -1528,14 +1528,14 @@ function tt(e) {
|
|
|
1528
1528
|
);
|
|
1529
1529
|
return fe(t) ? t.host : t;
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1531
|
+
function Pe(e) {
|
|
1532
1532
|
const t = tt(e);
|
|
1533
|
-
return rt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : W(t) && gt(t) ? t :
|
|
1533
|
+
return rt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : W(t) && gt(t) ? t : Pe(t);
|
|
1534
1534
|
}
|
|
1535
1535
|
function pt(e, t, o) {
|
|
1536
1536
|
var i;
|
|
1537
1537
|
t === void 0 && (t = []), o === void 0 && (o = !0);
|
|
1538
|
-
const s =
|
|
1538
|
+
const s = Pe(e), r = s === ((i = e.ownerDocument) == null ? void 0 : i.body), n = L(s);
|
|
1539
1539
|
if (r) {
|
|
1540
1540
|
const a = Bt(n);
|
|
1541
1541
|
return t.concat(n, n.visualViewport || [], gt(s) ? s : [], a && o ? pt(a) : []);
|
|
@@ -1545,7 +1545,7 @@ function pt(e, t, o) {
|
|
|
1545
1545
|
function Bt(e) {
|
|
1546
1546
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
1547
1547
|
}
|
|
1548
|
-
function
|
|
1548
|
+
function Ce(e) {
|
|
1549
1549
|
const t = B(e);
|
|
1550
1550
|
let o = parseFloat(t.width) || 0, i = parseFloat(t.height) || 0;
|
|
1551
1551
|
const s = W(e), r = s ? e.offsetWidth : o, n = s ? e.offsetHeight : i, a = wt(o) !== r || wt(i) !== n;
|
|
@@ -1566,7 +1566,7 @@ function nt(e) {
|
|
|
1566
1566
|
width: i,
|
|
1567
1567
|
height: s,
|
|
1568
1568
|
$: r
|
|
1569
|
-
} =
|
|
1569
|
+
} = Ce(t);
|
|
1570
1570
|
let n = (r ? wt(o.width) : o.width) / i, a = (r ? wt(o.height) : o.height) / s;
|
|
1571
1571
|
return (!n || !Number.isFinite(n)) && (n = 1), (!a || !Number.isFinite(a)) && (a = 1), {
|
|
1572
1572
|
x: n,
|
|
@@ -1574,7 +1574,7 @@ function nt(e) {
|
|
|
1574
1574
|
};
|
|
1575
1575
|
}
|
|
1576
1576
|
const ji = /* @__PURE__ */ H(0);
|
|
1577
|
-
function
|
|
1577
|
+
function Oe(e) {
|
|
1578
1578
|
const t = L(e);
|
|
1579
1579
|
return !te() || !t.visualViewport ? ji : {
|
|
1580
1580
|
x: t.visualViewport.offsetLeft,
|
|
@@ -1589,7 +1589,7 @@ function ot(e, t, o, i) {
|
|
|
1589
1589
|
const s = e.getBoundingClientRect(), r = ee(e);
|
|
1590
1590
|
let n = H(1);
|
|
1591
1591
|
t && (i ? z(i) && (n = nt(i)) : n = nt(e));
|
|
1592
|
-
const a = Yi(r, o, i) ?
|
|
1592
|
+
const a = Yi(r, o, i) ? Oe(r) : H(0);
|
|
1593
1593
|
let l = (s.left + a.x) / n.x, c = (s.top + a.y) / n.y, h = s.width / n.x, d = s.height / n.y;
|
|
1594
1594
|
if (r) {
|
|
1595
1595
|
const u = L(r), p = i && z(i) ? L(i) : i;
|
|
@@ -1610,7 +1610,7 @@ function ie(e, t) {
|
|
|
1610
1610
|
const o = St(e).scrollLeft;
|
|
1611
1611
|
return t ? t.left + o : ot(q(e)).left + o;
|
|
1612
1612
|
}
|
|
1613
|
-
function
|
|
1613
|
+
function Ae(e, t, o) {
|
|
1614
1614
|
o === void 0 && (o = !1);
|
|
1615
1615
|
const i = e.getBoundingClientRect(), s = i.left + t.scrollLeft - (o ? 0 : (
|
|
1616
1616
|
// RTL <body> scrollbar.
|
|
@@ -1640,7 +1640,7 @@ function Ki(e) {
|
|
|
1640
1640
|
const p = ot(i);
|
|
1641
1641
|
c = nt(i), h.x = p.x + i.clientLeft, h.y = p.y + i.clientTop;
|
|
1642
1642
|
}
|
|
1643
|
-
const u = n && !d && !r ?
|
|
1643
|
+
const u = n && !d && !r ? Ae(n, l, !0) : H(0);
|
|
1644
1644
|
return {
|
|
1645
1645
|
width: o.width * c.x,
|
|
1646
1646
|
height: o.height * c.y,
|
|
@@ -1696,7 +1696,7 @@ function ge(e, t, o) {
|
|
|
1696
1696
|
else if (z(t))
|
|
1697
1697
|
i = Zi(t, o);
|
|
1698
1698
|
else {
|
|
1699
|
-
const s =
|
|
1699
|
+
const s = Oe(e);
|
|
1700
1700
|
i = {
|
|
1701
1701
|
x: t.x - s.x,
|
|
1702
1702
|
y: t.y - s.y,
|
|
@@ -1706,9 +1706,9 @@ function ge(e, t, o) {
|
|
|
1706
1706
|
}
|
|
1707
1707
|
return Et(i);
|
|
1708
1708
|
}
|
|
1709
|
-
function
|
|
1709
|
+
function Se(e, t) {
|
|
1710
1710
|
const o = tt(e);
|
|
1711
|
-
return o === t || !z(o) || rt(o) ? !1 : B(o).position === "fixed" ||
|
|
1711
|
+
return o === t || !z(o) || rt(o) ? !1 : B(o).position === "fixed" || Se(o, t);
|
|
1712
1712
|
}
|
|
1713
1713
|
function to(e, t) {
|
|
1714
1714
|
const o = t.get(e);
|
|
@@ -1719,7 +1719,7 @@ function to(e, t) {
|
|
|
1719
1719
|
let n = r ? tt(e) : e;
|
|
1720
1720
|
for (; z(n) && !rt(n); ) {
|
|
1721
1721
|
const a = B(n), l = At(n);
|
|
1722
|
-
!l && a.position === "fixed" && (s = null), (r ? !l && !s : !l && a.position === "static" && !!s && Ji.has(s.position) || gt(n) && !l &&
|
|
1722
|
+
!l && a.position === "fixed" && (s = null), (r ? !l && !s : !l && a.position === "static" && !!s && Ji.has(s.position) || gt(n) && !l && Se(e, n)) ? i = i.filter((h) => h !== n) : s = a, n = tt(n);
|
|
1723
1723
|
}
|
|
1724
1724
|
return t.set(e, i), i;
|
|
1725
1725
|
}
|
|
@@ -1745,7 +1745,7 @@ function io(e) {
|
|
|
1745
1745
|
const {
|
|
1746
1746
|
width: t,
|
|
1747
1747
|
height: o
|
|
1748
|
-
} =
|
|
1748
|
+
} = Ce(e);
|
|
1749
1749
|
return {
|
|
1750
1750
|
width: t,
|
|
1751
1751
|
height: o
|
|
@@ -1767,7 +1767,7 @@ function oo(e, t, o) {
|
|
|
1767
1767
|
l.x = p.x + t.clientLeft, l.y = p.y + t.clientTop;
|
|
1768
1768
|
} else s && c();
|
|
1769
1769
|
r && !i && s && c();
|
|
1770
|
-
const h = s && !i && !r ?
|
|
1770
|
+
const h = s && !i && !r ? Ae(s, a) : H(0), d = n.left + a.scrollLeft - l.x - h.x, u = n.top + a.scrollTop - l.y - h.y;
|
|
1771
1771
|
return {
|
|
1772
1772
|
x: d,
|
|
1773
1773
|
y: u,
|
|
@@ -1786,7 +1786,7 @@ function me(e, t) {
|
|
|
1786
1786
|
let o = e.offsetParent;
|
|
1787
1787
|
return q(e) === o && (o = o.ownerDocument.body), o;
|
|
1788
1788
|
}
|
|
1789
|
-
function
|
|
1789
|
+
function Re(e, t) {
|
|
1790
1790
|
const o = L(e);
|
|
1791
1791
|
if (Ot(e))
|
|
1792
1792
|
return o;
|
|
@@ -1805,7 +1805,7 @@ function Se(e, t) {
|
|
|
1805
1805
|
return i && rt(i) && Ft(i) && !At(i) ? o : i || Vi(e) || o;
|
|
1806
1806
|
}
|
|
1807
1807
|
const so = async function(e) {
|
|
1808
|
-
const t = this.getOffsetParent ||
|
|
1808
|
+
const t = this.getOffsetParent || Re, o = this.getDimensions, i = await o(e.floating);
|
|
1809
1809
|
return {
|
|
1810
1810
|
reference: oo(e.reference, await t(e.floating), e.strategy),
|
|
1811
1811
|
floating: {
|
|
@@ -1823,7 +1823,7 @@ const It = {
|
|
|
1823
1823
|
convertOffsetParentRelativeRectToViewportRelativeRect: Ki,
|
|
1824
1824
|
getDocumentElement: q,
|
|
1825
1825
|
getClippingRect: eo,
|
|
1826
|
-
getOffsetParent:
|
|
1826
|
+
getOffsetParent: Re,
|
|
1827
1827
|
getElementRects: so,
|
|
1828
1828
|
getClientRects: Xi,
|
|
1829
1829
|
getDimensions: io,
|
|
@@ -1831,7 +1831,7 @@ const It = {
|
|
|
1831
1831
|
isElement: z,
|
|
1832
1832
|
isRTL: no
|
|
1833
1833
|
};
|
|
1834
|
-
function
|
|
1834
|
+
function Te(e, t) {
|
|
1835
1835
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
1836
1836
|
}
|
|
1837
1837
|
function ro(e, t) {
|
|
@@ -1865,7 +1865,7 @@ function ro(e, t) {
|
|
|
1865
1865
|
n(!1, 1e-7);
|
|
1866
1866
|
}, 1e3);
|
|
1867
1867
|
}
|
|
1868
|
-
O === 1 && !
|
|
1868
|
+
O === 1 && !Te(c, e.getBoundingClientRect()) && n(), C = !1;
|
|
1869
1869
|
}
|
|
1870
1870
|
try {
|
|
1871
1871
|
o = new IntersectionObserver(P, {
|
|
@@ -1907,7 +1907,7 @@ function Mt(e, t, o, i) {
|
|
|
1907
1907
|
l && m();
|
|
1908
1908
|
function m() {
|
|
1909
1909
|
const y = ot(e);
|
|
1910
|
-
g && !
|
|
1910
|
+
g && !Te(g, y) && o(), g = y, f = requestAnimationFrame(m);
|
|
1911
1911
|
}
|
|
1912
1912
|
return o(), () => {
|
|
1913
1913
|
var y;
|
|
@@ -1916,7 +1916,7 @@ function Mt(e, t, o, i) {
|
|
|
1916
1916
|
}), d?.(), (y = p) == null || y.disconnect(), p = null, l && cancelAnimationFrame(f);
|
|
1917
1917
|
};
|
|
1918
1918
|
}
|
|
1919
|
-
const Ht = Ni,
|
|
1919
|
+
const Ht = Ni, Le = $i, Wt = Li, qt = _i, ao = Di, De = Ti, ke = (e, t, o) => {
|
|
1920
1920
|
const i = /* @__PURE__ */ new Map(), s = {
|
|
1921
1921
|
platform: It,
|
|
1922
1922
|
...o
|
|
@@ -2005,7 +2005,7 @@ class ho {
|
|
|
2005
2005
|
crossAxis: r,
|
|
2006
2006
|
mainAxis: s
|
|
2007
2007
|
}),
|
|
2008
|
-
|
|
2008
|
+
Le({ padding: vt }),
|
|
2009
2009
|
i,
|
|
2010
2010
|
qt({
|
|
2011
2011
|
apply: ({ availableHeight: u, availableWidth: p, rects: { floating: f } }) => {
|
|
@@ -2023,12 +2023,12 @@ class ho {
|
|
|
2023
2023
|
padding: vt
|
|
2024
2024
|
}),
|
|
2025
2025
|
...n ? [
|
|
2026
|
-
|
|
2026
|
+
De({
|
|
2027
2027
|
element: n,
|
|
2028
2028
|
padding: t.tipPadding || vt
|
|
2029
2029
|
})
|
|
2030
2030
|
] : []
|
|
2031
|
-
], { middlewareData: l, placement: c, x: h, y: d } = await
|
|
2031
|
+
], { middlewareData: l, placement: c, x: h, y: d } = await ke(
|
|
2032
2032
|
t.trigger,
|
|
2033
2033
|
o,
|
|
2034
2034
|
{
|
|
@@ -2094,7 +2094,7 @@ class oe {
|
|
|
2094
2094
|
t && (customElements.whenDefined("cx-overlay").then(async () => {
|
|
2095
2095
|
const { Overlay: o } = await Promise.resolve().then(() => Co);
|
|
2096
2096
|
this.overlay = new o(), this.overlay.open = !0;
|
|
2097
|
-
}), Promise.resolve().then(() =>
|
|
2097
|
+
}), Promise.resolve().then(() => $e));
|
|
2098
2098
|
}
|
|
2099
2099
|
}
|
|
2100
2100
|
get overlay() {
|
|
@@ -2126,7 +2126,7 @@ class oe {
|
|
|
2126
2126
|
this.isPersistent || this.abort();
|
|
2127
2127
|
}
|
|
2128
2128
|
}
|
|
2129
|
-
const po = 300,
|
|
2129
|
+
const po = 300, Fe = {
|
|
2130
2130
|
keyboard: "Press Space or Alt+Down Arrow for additional options",
|
|
2131
2131
|
mouse: "Click and hold for additional options",
|
|
2132
2132
|
touch: "Double tap and long press for additional options"
|
|
@@ -2188,7 +2188,7 @@ class uo extends oe {
|
|
|
2188
2188
|
const o = document.createElement("div");
|
|
2189
2189
|
o.id = `longpress-describedby-descriptor-${Ut()}`;
|
|
2190
2190
|
const i = ni() || ri() ? "touch" : "keyboard";
|
|
2191
|
-
o.textContent =
|
|
2191
|
+
o.textContent = Fe[i], o.slot = "longpress-describedby-descriptor";
|
|
2192
2192
|
const s = t.getRootNode(), r = this.overlay.getRootNode();
|
|
2193
2193
|
s === r ? this.overlay.append(o) : (o.hidden = !("host" in s), t.insertAdjacentElement("afterend", o));
|
|
2194
2194
|
const n = $t(
|
|
@@ -2719,7 +2719,7 @@ const A = (K = class extends ct {
|
|
|
2719
2719
|
this.elementResolver.selector = i ? `#${i}` : "", this.triggerInteraction = s;
|
|
2720
2720
|
}
|
|
2721
2721
|
let o = !1;
|
|
2722
|
-
t.has(
|
|
2722
|
+
t.has(be) && (o = this.triggerElement, this.triggerElement = this.elementResolver.element), t.has("triggerElement") && (o = t.get("triggerElement")), o !== !1 && this.bindEvents();
|
|
2723
2723
|
}
|
|
2724
2724
|
updated(t) {
|
|
2725
2725
|
super.updated(t), t.has("placement") && (this.placement ? this.dialogEl.setAttribute("actual-placement", this.placement) : this.dialogEl.removeAttribute("actual-placement"), this.open && typeof t.get("placement") < "u" && this.placementController.resetOverlayPosition()), t.has("state") && this.state === "closed" && typeof t.get("state") < "u" && this.placementController.clearOverlayPosition();
|
|
@@ -2785,9 +2785,9 @@ const A = (K = class extends ct {
|
|
|
2785
2785
|
super.disconnectedCallback(), this.removeEventListener("close", this.handleClose), this.strategy?.releaseDescription(), this.open = !1;
|
|
2786
2786
|
}
|
|
2787
2787
|
}, K.styles = [
|
|
2788
|
-
|
|
2788
|
+
ve,
|
|
2789
2789
|
Vt`
|
|
2790
|
-
${
|
|
2790
|
+
${Be(fo)}
|
|
2791
2791
|
`
|
|
2792
2792
|
], K.openCount = 1, K);
|
|
2793
2793
|
R([
|
|
@@ -2822,7 +2822,7 @@ R([
|
|
|
2822
2822
|
ut("slot")
|
|
2823
2823
|
], A.prototype, "slotEl", 2);
|
|
2824
2824
|
R([
|
|
2825
|
-
|
|
2825
|
+
ye()
|
|
2826
2826
|
], A.prototype, "state", 1);
|
|
2827
2827
|
R([
|
|
2828
2828
|
v({ attribute: "tip-padding", type: Number })
|
|
@@ -2839,14 +2839,14 @@ R([
|
|
|
2839
2839
|
R([
|
|
2840
2840
|
v()
|
|
2841
2841
|
], A.prototype, "type", 2);
|
|
2842
|
-
let
|
|
2842
|
+
let Ne = A;
|
|
2843
2843
|
const Co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2844
2844
|
__proto__: null,
|
|
2845
|
-
LONGPRESS_INSTRUCTIONS:
|
|
2846
|
-
Overlay:
|
|
2845
|
+
LONGPRESS_INSTRUCTIONS: Fe,
|
|
2846
|
+
Overlay: Ne
|
|
2847
2847
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2848
|
-
Qe("cx-overlay",
|
|
2849
|
-
const
|
|
2848
|
+
Qe("cx-overlay", Ne);
|
|
2849
|
+
const $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2850
2850
|
__proto__: null
|
|
2851
2851
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2852
2852
|
function Oo(e) {
|
|
@@ -2902,7 +2902,7 @@ const So = Vt`
|
|
|
2902
2902
|
width: max-content;
|
|
2903
2903
|
}
|
|
2904
2904
|
|
|
2905
|
-
.popup--fixed {
|
|
2905
|
+
.popup--fixed, .popup--overlay {
|
|
2906
2906
|
position: fixed;
|
|
2907
2907
|
z-index: var(--cx-z-index-dialog);
|
|
2908
2908
|
}
|
|
@@ -2911,6 +2911,12 @@ const So = Vt`
|
|
|
2911
2911
|
display: none;
|
|
2912
2912
|
}
|
|
2913
2913
|
|
|
2914
|
+
.popup--overlay.popup:not(.popup--active) {
|
|
2915
|
+
display: unset;
|
|
2916
|
+
visibility: hidden;
|
|
2917
|
+
opacity: 0;
|
|
2918
|
+
}
|
|
2919
|
+
|
|
2914
2920
|
.popup__arrow {
|
|
2915
2921
|
position: absolute;
|
|
2916
2922
|
width: calc(var(--arrow-size-diagonal) * 2);
|
|
@@ -2952,9 +2958,9 @@ function Lo(e) {
|
|
|
2952
2958
|
const t = "contextElement" in e ? e.contextElement.ownerDocument.defaultView : null;
|
|
2953
2959
|
return "getBoundingClientRect" in e && ("contextElement" in e ? e.contextElement instanceof (t?.Element ?? Element) : !0);
|
|
2954
2960
|
}
|
|
2955
|
-
let b = class extends
|
|
2961
|
+
let b = class extends Ie {
|
|
2956
2962
|
constructor() {
|
|
2957
|
-
super(...arguments), this.localize = new Ve(this), this.active = !1, this.placement = "top", this.strategy = "absolute", this.distance = 0, this.skidding = 0, this.arrow = !1, this.arrowPlacement = "anchor", this.arrowPadding = 10, this.flip = !1, this.hide = !1, this.hideBoundaryStrategy = "escaped", this.flipFallbackPlacements = "", this.flipFallbackStrategy = "best-fit", this.flipPadding = 0, this.shift = !1, this.shiftPadding = 0, this.autoSizePadding = 0, this.hoverBridge = !1, this.autoWidthFactor = 1, this.updateHoverBridge = () => {
|
|
2963
|
+
super(...arguments), this.localize = new Ve(this), this.active = !1, this.placement = "top", this.strategy = "absolute", this.distance = 0, this.skidding = 0, this.arrow = !1, this.arrowPlacement = "anchor", this.arrowPadding = 10, this.flip = !1, this.hide = !1, this.hideBoundaryStrategy = "escaped", this.flipFallbackPlacements = "", this.flipFallbackStrategy = "best-fit", this.flipPadding = 0, this.shift = !1, this.shiftPadding = 0, this.autoSizePadding = 0, this.hoverBridge = !1, this.autoWidthFactor = 1, this.overlayOpened = !1, this.updateHoverBridge = () => {
|
|
2958
2964
|
if (this.hoverBridge && this.anchorEl) {
|
|
2959
2965
|
const e = this.anchorEl.getBoundingClientRect(), t = this.popup.getBoundingClientRect(), o = this.placement.includes("top") || this.placement.includes("bottom") || this.placement === "center";
|
|
2960
2966
|
let i = 0, s = 0, r = 0, n = 0, a = 0, l = 0, c = 0, h = 0;
|
|
@@ -2984,14 +2990,18 @@ let b = class extends Be {
|
|
|
2984
2990
|
disconnectedCallback() {
|
|
2985
2991
|
super.disconnectedCallback(), this.stop();
|
|
2986
2992
|
}
|
|
2987
|
-
|
|
2988
|
-
if (this.
|
|
2993
|
+
runFirstUpdated() {
|
|
2994
|
+
if (this.strategy !== "overlay") {
|
|
2995
|
+
this.start();
|
|
2996
|
+
return;
|
|
2997
|
+
}
|
|
2998
|
+
if (this.overlayOpened && this.start(), !ne) {
|
|
2989
2999
|
const e = We(this);
|
|
2990
3000
|
e && (this.autoSizeBoundary = e, this.flipBoundary = e, this.shiftBoundary = e);
|
|
2991
3001
|
}
|
|
2992
3002
|
}
|
|
2993
3003
|
async updated(e) {
|
|
2994
|
-
super.updated(e), e.has("active") && (this.active ? (this.start(), this.emit("cx-opened")) : this.stop()), e.has("anchor") && this.handleAnchorChange(), this.active && (await this.updateComplete, this.reposition());
|
|
3004
|
+
super.updated(e), e.has("active") && (this.active ? this.strategy !== "overlay" && (this.start(), this.emit("cx-opened"), this.overlayOpened = !0) : this.stop()), e.has("anchor") && this.handleAnchorChange(), this.active && this.overlayOpened && (await this.updateComplete, this.reposition());
|
|
2995
3005
|
}
|
|
2996
3006
|
async handleAnchorChange() {
|
|
2997
3007
|
if (await this.stop(), this.anchor && typeof this.anchor == "string") {
|
|
@@ -3002,10 +3012,10 @@ let b = class extends Be {
|
|
|
3002
3012
|
flatten: !0
|
|
3003
3013
|
})[0]), this.anchorEl instanceof Element && this.anchorEl.tagName.toLowerCase() === "cx-dialog" && (this.anchorEl = this.anchorEl?.shadowRoot?.querySelector(
|
|
3004
3014
|
'[part="panel"]'
|
|
3005
|
-
)), this.anchorEl && this.start();
|
|
3015
|
+
)), this.anchorEl && this.strategy !== "overlay" && this.start();
|
|
3006
3016
|
}
|
|
3007
3017
|
async handleOverlayOpened(e) {
|
|
3008
|
-
e.target === this.overlay && (this.
|
|
3018
|
+
e.target === this.overlay && (this.start(), await this.updateComplete, this.emit("cx-opened"), this.overlayOpened = !0);
|
|
3009
3019
|
}
|
|
3010
3020
|
start() {
|
|
3011
3021
|
this.anchorEl && (this.cleanup = Mt(this.anchorEl, this.popup, () => {
|
|
@@ -3013,7 +3023,7 @@ let b = class extends Be {
|
|
|
3013
3023
|
}));
|
|
3014
3024
|
}
|
|
3015
3025
|
async stop() {
|
|
3016
|
-
return new Promise((e) => {
|
|
3026
|
+
return this.active || (this.overlayOpened = !1), new Promise((e) => {
|
|
3017
3027
|
this.cleanup ? (this.cleanup(), this.cleanup = void 0, this.removeAttribute("data-current-placement"), this.style.removeProperty("--auto-size-available-width"), this.style.removeProperty("--auto-size-available-height"), requestAnimationFrame(() => e())) : e();
|
|
3018
3028
|
});
|
|
3019
3029
|
}
|
|
@@ -3049,7 +3059,7 @@ let b = class extends Be {
|
|
|
3049
3059
|
if (this.shift) {
|
|
3050
3060
|
let t = this.shiftBoundary;
|
|
3051
3061
|
!t && ["fixed", "overlay"].includes(this.strategy) && (t = document.body), e.push(
|
|
3052
|
-
|
|
3062
|
+
Le({
|
|
3053
3063
|
boundary: t,
|
|
3054
3064
|
padding: this.shiftPadding
|
|
3055
3065
|
})
|
|
@@ -3075,7 +3085,7 @@ let b = class extends Be {
|
|
|
3075
3085
|
} else
|
|
3076
3086
|
this.style.removeProperty("--auto-size-available-width"), this.style.removeProperty("--auto-size-available-height");
|
|
3077
3087
|
this.arrow && e.push(
|
|
3078
|
-
|
|
3088
|
+
De({
|
|
3079
3089
|
element: this.arrowEl,
|
|
3080
3090
|
padding: this.arrowPadding
|
|
3081
3091
|
})
|
|
@@ -3084,7 +3094,7 @@ let b = class extends Be {
|
|
|
3084
3094
|
boundary: this.hideBoundary,
|
|
3085
3095
|
strategy: this.hideBoundaryStrategy
|
|
3086
3096
|
})
|
|
3087
|
-
),
|
|
3097
|
+
), ke(this.anchorEl, this.popup, {
|
|
3088
3098
|
middleware: e,
|
|
3089
3099
|
placement: this.placement === "center" ? "bottom" : this.placement,
|
|
3090
3100
|
platform: {
|
|
@@ -3136,7 +3146,7 @@ let b = class extends Be {
|
|
|
3136
3146
|
}
|
|
3137
3147
|
render() {
|
|
3138
3148
|
const e = j`<cx-overlay
|
|
3139
|
-
open
|
|
3149
|
+
?open=${this.active}
|
|
3140
3150
|
placement="bottom"
|
|
3141
3151
|
type="manual"
|
|
3142
3152
|
@cx-opened=${this.handleOverlayOpened}
|
|
@@ -3145,9 +3155,9 @@ let b = class extends Be {
|
|
|
3145
3155
|
part="popup"
|
|
3146
3156
|
class=${Dt({
|
|
3147
3157
|
popup: !0,
|
|
3148
|
-
"popup--active": this.
|
|
3149
|
-
"popup--fixed": !0,
|
|
3158
|
+
"popup--active": this.overlayOpened,
|
|
3150
3159
|
"popup--has-arrow": this.arrow,
|
|
3160
|
+
"popup--overlay": !0,
|
|
3151
3161
|
"popup--use-size-middleware": this.isSizeMiddleWareUsed
|
|
3152
3162
|
})}
|
|
3153
3163
|
>
|
|
@@ -3194,7 +3204,7 @@ let b = class extends Be {
|
|
|
3194
3204
|
`;
|
|
3195
3205
|
}
|
|
3196
3206
|
};
|
|
3197
|
-
b.styles = [
|
|
3207
|
+
b.styles = [ve, So];
|
|
3198
3208
|
w([
|
|
3199
3209
|
ut(".popup")
|
|
3200
3210
|
], b.prototype, "popup", 2);
|
|
@@ -3291,8 +3301,11 @@ w([
|
|
|
3291
3301
|
w([
|
|
3292
3302
|
v({ attribute: "auto-width-factor" })
|
|
3293
3303
|
], b.prototype, "autoWidthFactor", 2);
|
|
3304
|
+
w([
|
|
3305
|
+
ye()
|
|
3306
|
+
], b.prototype, "overlayOpened", 2);
|
|
3294
3307
|
b = w([
|
|
3295
|
-
|
|
3308
|
+
Me("cx-popup")
|
|
3296
3309
|
], b);
|
|
3297
3310
|
export {
|
|
3298
3311
|
b as default
|
|
@@ -142036,7 +142036,7 @@ var zVt = Object.defineProperty, FVt = Object.getOwnPropertyDescriptor, Ur = (n,
|
|
|
142036
142036
|
};
|
|
142037
142037
|
let Ar = class extends Fn {
|
|
142038
142038
|
constructor() {
|
|
142039
|
-
super(), this.localize = new nr(this), this.configsController = new ca(this.localize), this.initialData = "", this.device = "desktop", this.devices = HQ, this.autoInit = !1, this.pageId = "", this.allowDuplicateBlocks = !1, this.mode = qd.Template, this.contentBuilder = null, this.ready = !1, this.editingComponent = null, this.isGalleryConfigOpen = !1, this.hoveredComponent = void 0, this.hoveredComponentPlacement = "top", this.defaultRowGap = 0, this.containerDropdowns = [], this.containerDropdownStateMap = {}, this.distance = void 0, this.toolbar = [], this.toolbarActive = !1, this.childSelected = void 0, this.mousePosition = { x: 0, y: 0 }, this._teamSpaceRoles = [], this.canvasDocument = null, this._dsm = null, this.hasBoundUpdate = !1, this.newlyAddedComponentTimeout = null, this.initializeCustomFrame = eLt(), this.containerDropdownObservers = [], this.nextMapHoveredBadgeState = null, this.deselectAll = this.deselectAll.bind(this), this.handleCanvasClick = this.handleCanvasClick.bind(this), this.
|
|
142039
|
+
super(), this.localize = new nr(this), this.configsController = new ca(this.localize), this.initialData = "", this.device = "desktop", this.devices = HQ, this.autoInit = !1, this.pageId = "", this.allowDuplicateBlocks = !1, this.mode = qd.Template, this.contentBuilder = null, this.ready = !1, this.editingComponent = null, this.isGalleryConfigOpen = !1, this.hoveredComponent = void 0, this.hoveredComponentPlacement = "top", this.defaultRowGap = 0, this.containerDropdowns = [], this.containerDropdownStateMap = {}, this.distance = void 0, this.toolbar = [], this.toolbarActive = !1, this.childSelected = void 0, this.mousePosition = { x: 0, y: 0 }, this._teamSpaceRoles = [], this.canvasDocument = null, this._dsm = null, this.hasBoundUpdate = !1, this.newlyAddedComponentTimeout = null, this.initializeCustomFrame = eLt(), this.containerDropdownObservers = [], this.nextMapHoveredBadgeState = null, this.deselectAll = this.deselectAll.bind(this), this.handleCanvasClick = this.handleCanvasClick.bind(this), this.handleCanvasKeydown = this.handleCanvasKeydown.bind(this), this.handleDataSourceChange = this.handleDataSourceChange.bind(this), this.handleCanvasMouseMove = this.handleCanvasMouseMove.bind(this), this.handleTemplateManagerUpdated = this.handleTemplateManagerUpdated.bind(this), this.handleCanvasScroll = this.handleCanvasScroll.bind(this);
|
|
142040
142040
|
}
|
|
142041
142041
|
get teamSpaceRoles() {
|
|
142042
142042
|
return this._teamSpaceRoles;
|
|
@@ -142340,10 +142340,6 @@ let Ar = class extends Fn {
|
|
|
142340
142340
|
const n = this.contentBuilder?.getSelected(), e = this.childSelected;
|
|
142341
142341
|
n && !e && this.contentBuilder?.trigger("component:selected", n), this.toggleToolbarAndBadge();
|
|
142342
142342
|
}
|
|
142343
|
-
handleRootToolbarRightClick(n) {
|
|
142344
|
-
const e = n.target;
|
|
142345
|
-
n.button === 2 && e instanceof Element && e.closest(".gjs-toolbar") && (n.preventDefault(), n.stopImmediatePropagation());
|
|
142346
|
-
}
|
|
142347
142343
|
handleCanvasClick(n) {
|
|
142348
142344
|
n.target.closest("[data-cms5-page-viewer__page-content]") || this.deselectAll();
|
|
142349
142345
|
}
|
|
@@ -142508,31 +142504,27 @@ let Ar = class extends Fn {
|
|
|
142508
142504
|
return;
|
|
142509
142505
|
this.contentBuilder.Canvas.getFrameEl().setAttribute("title", "content-builder-frame"), this.updateFrameSize(), this._teamSpaceRoles = await this.fetchTeamSpaceRoles();
|
|
142510
142506
|
}), this.contentBuilder?.on("load", async (t) => {
|
|
142511
|
-
|
|
142512
|
-
|
|
142513
|
-
|
|
142514
|
-
!0
|
|
142515
|
-
), t.UndoManager.stop();
|
|
142516
|
-
const i = this.canvasDocument?.getElementById("Form1");
|
|
142517
|
-
i && i.addEventListener("scroll", this.handleCanvasScroll);
|
|
142507
|
+
t.UndoManager.stop();
|
|
142508
|
+
const r = this.canvasDocument?.getElementById("Form1");
|
|
142509
|
+
r && r.addEventListener("scroll", this.handleCanvasScroll);
|
|
142518
142510
|
try {
|
|
142519
142511
|
t.getWrapper()?.set({
|
|
142520
142512
|
highlightable: !1,
|
|
142521
142513
|
hoverable: !1,
|
|
142522
142514
|
selectable: !1
|
|
142523
142515
|
});
|
|
142524
|
-
const
|
|
142516
|
+
const i = t.getWrapper(), o = t.Canvas.getBody().querySelector(
|
|
142525
142517
|
"[data-cms5-page-viewer]"
|
|
142526
142518
|
);
|
|
142527
|
-
if (!
|
|
142519
|
+
if (!i)
|
|
142528
142520
|
return;
|
|
142529
|
-
let
|
|
142530
|
-
if (
|
|
142531
|
-
const
|
|
142532
|
-
|
|
142521
|
+
let a = "12px";
|
|
142522
|
+
if (o) {
|
|
142523
|
+
const l = getComputedStyle(o).getPropertyValue("--row-gap").trim();
|
|
142524
|
+
l && (a = l);
|
|
142533
142525
|
}
|
|
142534
|
-
const
|
|
142535
|
-
this.defaultRowGap = Number.isFinite(
|
|
142526
|
+
const s = Number.parseFloat(a || "12px");
|
|
142527
|
+
this.defaultRowGap = Number.isFinite(s) ? s : 12, i.findType(ot.Column).length === 0 ? t.addComponents({
|
|
142536
142528
|
copyable: !1,
|
|
142537
142529
|
editable: !1,
|
|
142538
142530
|
highlightable: !1,
|
|
@@ -142542,12 +142534,12 @@ let Ar = class extends Fn {
|
|
|
142542
142534
|
style: {
|
|
142543
142535
|
"--flex-content": "none",
|
|
142544
142536
|
"--padding": "4px",
|
|
142545
|
-
"--row-gap":
|
|
142537
|
+
"--row-gap": a
|
|
142546
142538
|
},
|
|
142547
142539
|
toolbar: [],
|
|
142548
142540
|
type: ot.Column
|
|
142549
|
-
}) :
|
|
142550
|
-
|
|
142541
|
+
}) : i.findType(ot.Column)?.forEach((l, c) => {
|
|
142542
|
+
c === 0 && l.set({
|
|
142551
142543
|
copyable: !1,
|
|
142552
142544
|
editable: !1,
|
|
142553
142545
|
highlightable: !1,
|
|
@@ -142557,14 +142549,14 @@ let Ar = class extends Fn {
|
|
|
142557
142549
|
style: {
|
|
142558
142550
|
"--flex-content": "none",
|
|
142559
142551
|
"--padding": "4px",
|
|
142560
|
-
"--row-gap":
|
|
142552
|
+
"--row-gap": a
|
|
142561
142553
|
}
|
|
142562
|
-
}),
|
|
142554
|
+
}), l.set({
|
|
142563
142555
|
draggable: '[data-gjs-type="BlockColumns"]',
|
|
142564
142556
|
droppable: '[data-gjs-type="BlockButton"], [data-gjs-type="BlockColumns"], [data-gjs-type="BlockDivider"], [data-gjs-type="BlockHeader"], [data-gjs-type="BlockImage"], [data-gjs-type="BlockText"], [data-gjs-type="BlockVideo"], [data-gjs-type="BlockFontKit"], [data-gjs-type="BlockCarousel"], [data-gjs-type="BlockGallery"], [data-gjs-type="BlockTabs"], [data-gjs-type="BlockAccordion"], [data-gjs-type="BlockSearchBox"], [data-gjs-type="BlockColorSwatches"]'
|
|
142565
142557
|
});
|
|
142566
|
-
}), this.dsm?.getAll().forEach((
|
|
142567
|
-
|
|
142558
|
+
}), this.dsm?.getAll().forEach((l) => {
|
|
142559
|
+
l.records.on("add", this.handleDataSourceChange);
|
|
142568
142560
|
}), this.updateDataSourceEntries(), this.resetDirtyCount();
|
|
142569
142561
|
} finally {
|
|
142570
142562
|
t.UndoManager.start();
|
|
@@ -142739,17 +142731,12 @@ let Ar = class extends Fn {
|
|
|
142739
142731
|
"cx-template-manager-updated",
|
|
142740
142732
|
this.handleTemplateManagerUpdated
|
|
142741
142733
|
);
|
|
142742
|
-
const
|
|
142743
|
-
|
|
142734
|
+
const n = this.canvasDocument?.getElementById("Form1");
|
|
142735
|
+
n && n.removeEventListener("scroll", this.handleCanvasScroll);
|
|
142744
142736
|
}
|
|
142745
|
-
|
|
142746
|
-
n
|
|
142747
|
-
|
|
142748
|
-
this.handleRootToolbarRightClick,
|
|
142749
|
-
!0
|
|
142750
|
-
), this.contentBuilder?.destroy(), this.hasBoundUpdate = !1, this.newlyAddedComponentTimeout && clearTimeout(this.newlyAddedComponentTimeout);
|
|
142751
|
-
for (const e of this.containerDropdownObservers)
|
|
142752
|
-
e.disconnect?.();
|
|
142737
|
+
this.contentBuilder?.destroy(), this.hasBoundUpdate = !1, this.newlyAddedComponentTimeout && clearTimeout(this.newlyAddedComponentTimeout);
|
|
142738
|
+
for (const n of this.containerDropdownObservers)
|
|
142739
|
+
n.disconnect?.();
|
|
142753
142740
|
this.containerDropdownObservers = [];
|
|
142754
142741
|
}
|
|
142755
142742
|
handleBuilderPropsChange() {
|
package/library/package.json
CHANGED
|
@@ -164,9 +164,16 @@ export default class CxPopup extends CortexElement {
|
|
|
164
164
|
* make the popup half the width of the available space.
|
|
165
165
|
*/
|
|
166
166
|
autoWidthFactor: number;
|
|
167
|
+
/**
|
|
168
|
+
* After `active` changes, cx-overlay takes some time to open.
|
|
169
|
+
* Until then, the positioning is not accurate, so we use this
|
|
170
|
+
* state to hide the popup until the overlay is opened.
|
|
171
|
+
* (Only for fixed strategy)
|
|
172
|
+
*/
|
|
173
|
+
overlayOpened: boolean;
|
|
167
174
|
private get isSizeMiddleWareUsed();
|
|
168
175
|
disconnectedCallback(): void;
|
|
169
|
-
protected runFirstUpdated():
|
|
176
|
+
protected runFirstUpdated(): void;
|
|
170
177
|
updated(changedProps: Map<string, unknown>): Promise<void>;
|
|
171
178
|
private handleAnchorChange;
|
|
172
179
|
private handleOverlayOpened;
|
|
@@ -210,7 +210,6 @@ export default class CxContentBuilder extends CortexElement {
|
|
|
210
210
|
private handleCanvasMouseMove;
|
|
211
211
|
private handleCanvasScroll;
|
|
212
212
|
private handleHorizontalScroll;
|
|
213
|
-
private handleRootToolbarRightClick;
|
|
214
213
|
private handleCanvasClick;
|
|
215
214
|
private handleCanvasKeydown;
|
|
216
215
|
private handleTemplateManagerUpdated;
|